{"id": "test_0", "question": "Which film has the Kvikmyndir ID 4907?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P3340 \"4907\" .\n}", "paraphrases": ["What is the Wikidata item for the film identified as 4907 in the Icelandic film database Kvikmyndir?", "Find the film in Wikidata that is listed with the Kvikmyndir film ID 4907."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3340> \"4907\". }"}}
{"id": "test_1", "question": "What types of entities are the Selayar Islands and the near-close near-back rounded vowel in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?vowelType ?placeType WHERE {\n  wd:Q14619 wdt:P31 ?placeType .\n  wd:Q1137807 wdt:P31 ?vowelType .\n}", "paraphrases": ["Is the Selayar Islands administrative region classified as a regency of Indonesia, and is the vowel sound \u028a classified as a term?", "Show the Wikidata classifications for the Selayar Islands and the near-close near-back rounded vowel."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://dbpedia.org/resource/Benteng,_Selayar_Islands> <http://www.wikidata.org/prop/direct/P31> ?var2 . <http://dbpedia.org/resource/Near-close_near-back_rounded_vowel> <http://www.wikidata.org/prop/direct/P31> ?var1 . }"}}
{"id": "test_2", "question": "What movie has the Sratim ID tt1127056?", "sparql": "SELECT ?movie WHERE { ?movie wdt:P3145 \"tt1127056\" . }", "paraphrases": ["Which film is identified by the Sratim ID tt1127056?", "Tell me the name of the movie with Sratim ID tt1127056."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3145> \"tt1127056\". }"}}
{"id": "test_3", "question": "Film with Cineplex Germany ID 188777", "sparql": "SELECT ?film WHERE { ?film wdt:P3077 \"188777\" . }", "paraphrases": ["What film is identified by the Cineplex Germany film ID 188777?", "Find the Wikidata item for the film that has the Cineplex Germany film ID 188777."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3077> \"188777\". }"}}
{"id": "test_4", "question": "What is the name of the Commodore 64 game with Lemon 64 ID 1304?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?game ?gameLabel WHERE {\n  ?game wdt:P4816 \"1304\" .\n  ?game rdfs:label ?gameLabel .\n  FILTER(LANG(?gameLabel) = \"en\")\n}", "paraphrases": ["Commodore 64 game with Lemon 64 ID 1304", "Tell me the title of the game identified as 1304 in the Lemon 64 database."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4816> \"1304\". }"}}
{"id": "test_5", "question": "Does the Commodore 64 game with Ready64 ID 446 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?game wdt:P4916 \"446\" .\n}", "paraphrases": ["Is there a Commodore 64 video game in Wikidata that has the Ready64 identifier 446?", "Confirm if the game with Ready64 ID 446 is listed in Wikidata as a Commodore 64 title."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4916> \"446\". }"}}
{"id": "test_6", "question": "Does the Commodore 64 game with Ready64 ID 778 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK {\n  ?item wdt:P4916 \"778\"\n}", "paraphrases": ["Is there a record in Wikidata for the game identified by Ready64 ID 778?", "Does Wikidata contain an entry for Italy '90 Soccer using its Ready64 identifier?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4916> \"778\". }"}}
{"id": "test_7", "question": "What is the English description of the film with \u010cSFD ID 179428?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P2529 \"179428\" . OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") }", "paraphrases": ["Can you tell me the title and English description of the movie identified as 179428 in the Czech-Slovak film database?", "Show me the English name and description of the film that has the \u010cSFD identifier 179428."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2529> \"79428\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8", "question": "Does the Commodore 64 game Star Wars have Lemon 64 ID 2459?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?game wdt:P4816 \"2459\" .\n}", "paraphrases": ["Is there a record in Wikidata for the game Star Wars with the Lemon 64 identifier 2459?", "Confirm whether Star Wars (C64) is listed in Wikidata with Lemon 64 ID 2459."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4816> \"2459\". }"}}
{"id": "test_9", "question": "Number of out-of-school children in Palau in 2016 and the method used to determine it.", "sparql": "SELECT DISTINCT ?location ?locationLabel ?value ?date ?methodLabel WHERE { ?location p:P2573 ?statement . ?statement ps:P2573 ?value . ?statement pq:P585 ?date . ?statement pq:P459 ?method . FILTER (YEAR(?date) = 2016) . ?location rdfs:label ?locationLabel . ?method rdfs:label ?methodLabel . FILTER(LANG(?locationLabel) = \"en\") . FILTER(LANG(?methodLabel) = \"en\") } ORDER BY ASC(?value)", "paraphrases": ["How many out-of-school children were reported in Palau in 2016, and what method was used to measure this number?", "Show me the count of out-of-school children in Palau for 2016 along with the determination method, sorted by the number of children."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/P2573> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P2573> ?var2 . ?var5 <http://www.wikidata.org/prop/qualifier/P585> ?var3 . ?var5 <http://www.wikidata.org/prop/qualifier/P459> ?var4 . FILTER ( ( ( YEAR ( ?var3 ) = \"2016\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY ASC( ?var2 )"}}
{"id": "test_10", "question": "Number of out-of-school children in India in 2013 and the source URL.", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX prov: <http://www.w3.org/ns/prov#>\nPREFIX pr: <http://www.wikidata.org/prop/reference/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ( STR( YEAR( ?date ) ) AS ?year ) ?outOfSchoolChildren ?countryLabel ( STR( ?referenceUrl ) AS ?referenceUrlStr ) WHERE {\n  VALUES ?country {\n    wd:Q668\n  }\n  ?country p:P2573 [ ps:P2573 ?outOfSchoolChildren ; pq:P585 ?date ; prov:wasDerivedFrom [ pr:P854 ?referenceUrl ] ] .\n  ?country rdfs:label ?countryLabel .\n  FILTER ( LANG( ?countryLabel ) = \"en\" )\n}", "paraphrases": ["How many children were out of school in India in 2013, and what is the source of this data?", "Show me the count of out-of-school children in India for the year 2013 along with the reference URL used to report this statistic."], "info": {"raw_sparql": "SELECT( STR ( YEAR ( ?var1 ) ) AS ?var2 ) ?var3 ?var4Label ( STR ( ?var5 ) AS ?var6 ) WHERE { VALUES ( ?var4 ) { ( <http://www.wikidata.org/entity/Q668> ) } ?var4 <http://www.wikidata.org/prop/P2573> [ <http://www.wikidata.org/prop/statement/P2573> ?var3 ; <http://www.wikidata.org/prop/qualifier/P585> ?var1 ; <http://www.w3.org/ns/prov#wasDerivedFrom> [ <http://www.wikidata.org/prop/reference/P854> ?var5 ] ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_11", "question": "Is there a Commodore 64 game with Lemon 64 ID 1624?", "sparql": "ASK WHERE { ?game wdt:P4816 \"1624\" . }", "paraphrases": ["Does the game 'Mayday Squad' have the Lemon 64 ID 1624?", "Check if the Lemon 64 identifier 1624 corresponds to any Commodore 64 game in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4816> \"1624\". }"}}
{"id": "test_12", "question": "Australian Women's Register ID PR00702b, what is the person's name and description in English?", "sparql": "SELECT ?item ?label ?description WHERE {\n  ?item wdt:P4186 \"PR00702b\" .\n  ?item rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\") .\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\") .\n  }\n}", "paraphrases": ["Who is the person identified by the Australian Women's Register ID PR00702b, and what is their English description?", "Please provide the English name and description of the individual listed in the Australian Women's Register with ID PR00702b."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4186> \"PR00702b\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_13", "question": "Is there a Commodore 64 game with Ready64 ID 2024?", "sparql": "ASK { ?item wdt:P4916 \"2024\" }", "paraphrases": ["Does any video game in the Ready64 database have the identifier 2024?", "Confirm if the game Hollywood or Bust is listed in Wikidata with Ready64 ID 2024."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4916> \"2024\". }"}}
{"id": "test_14", "question": "Is there a Commodore 64 game with Ready64 ID 3887?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?game wdt:P4916 \"3887\" .\n}", "paraphrases": ["Does the Ready64 database include an entry with ID 3887 for a Commodore 64 game?", "Can you verify that the Ready64 ID '3887' is assigned to any Commodore 64 video game?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4916> \"3887\". }"}}
{"id": "test_15", "question": "What is the name of the Commodore 64 game with Ready64 ID 2892?", "sparql": "SELECT ?gameLabel WHERE { ?game wdt:P4916 \"2892\" . ?game rdfs:label ?gameLabel . FILTER(LANG(?gameLabel) = \"it\" || LANG(?gameLabel) = \"en\") }", "paraphrases": ["Which game in the Ready64 database has the identifier 2892?", "Can you tell me the title of the game identified as 2892 in the Ready64 database?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4916> \"2892\". }"}}
{"id": "test_16", "question": "Animated works produced by Warner Bros. Cartoons that don't have a Big Cartoon Database ID, ordered by release date.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?work ?workLabel ?publicationDate WHERE {\n  ?work wdt:P272 wd:Q384930 .\n  OPTIONAL {\n    ?work wdt:P4933 ?bcdbId .\n  }\n  OPTIONAL {\n    ?work wdt:P577 ?publicationDate .\n  }\n  OPTIONAL {\n    ?work rdfs:label ?workLabel .\n    FILTER ( LANG( ?workLabel ) = \"en\" )\n  }\n  FILTER ( ! BOUND( ?bcdbId ) )\n}\nORDER BY ASC ( ?publicationDate )", "paraphrases": ["What are the Warner Bros. Cartoons productions without a Big Cartoon Database ID, and when were they released?", "List the English titles and release dates of animated works produced by Warner Bros. Cartoons that are not listed in the Big Cartoon Database, sorted by release date."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P272> <http://www.wikidata.org/entity/Q384930> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P4933> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var2 . } FILTER ( ( !( BOUND ( ?var3 ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nb,en,nn,da,sv,de,fr,nl,es,it,pt,cs,hu,ru,ja\". } } ORDER BY ASC( ?var2 )"}}
{"id": "test_17", "question": "What are the total fertility rates for Afghanistan, Kiribati, and Algeria?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?fertilityRate ?countryLabel WHERE {\n  VALUES ?country {\n    wd:Q889 wd:Q710 wd:Q262\n  }\n  ?country p:P4841 [ ps:P4841 ?fertilityRate ] .\n  ?country rdfs:label ?countryLabel .\n  FILTER ( LANG( ?countryLabel ) = \"en\" )\n}", "paraphrases": ["Can you list the fertility rates and country names for Afghanistan, Kiribati, and Algeria?", "Show me the latest total fertility rate data for Algeria, Afghanistan, and Kiribati, along with their names."], "info": {"raw_sparql": "SELECT( STR ( YEAR ( ?var1 ) ) AS ?var2 ) ?var3 ?var4Label ( STR ( ?var5 ) AS ?var6 ) WHERE { VALUES ( ?var4 ) { ( <http://www.wikidata.org/entity/Q889> ) ( <http://www.wikidata.org/entity/Q710> ) ( <http://www.wikidata.org/entity/Q262> ) } ?var4 <http://www.wikidata.org/prop/P4841> [ <http://www.wikidata.org/prop/statement/P4841> ?var3 ; <http://www.wikidata.org/prop/qualifier/P580> ?var1 ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_18", "question": "Image of Barack Obama from SNAC ARK ID w6f29nwg", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6f29nwg\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the Wikimedia Commons image for the person with SNAC ARK ID w6f29nwg?", "Show me the image linked to Barack Obama\u2019s SNAC ARK ID."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6nc9hfz\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_19", "question": "Italian protected natural area with EUAP ID EUAP1100", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?area ?areaLabel WHERE {\n  ?area wdt:P4800 \"EUAP1100\" .\n  ?area rdfs:label ?areaLabel .\n  FILTER(LANG(?areaLabel) = \"en\")\n}", "paraphrases": ["What is the name of the Italian protected natural area with EUAP ID EUAP1100?", "Tell me the name of the Italian protected natural area identified by EUAP ID EUAP1100."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4800> \"EUAP1100\". }"}}
{"id": "test_20", "question": "What Italian protected natural area has the EUAP ID EUAP1126?", "sparql": "SELECT ?area ?areaLabel WHERE { ?area wdt:P4800 \"EUAP1126\" . ?area rdfs:label ?areaLabel .}", "paraphrases": ["Which nature reserve in Italy is identified by the EUAP ID EUAP1126?", "Show me the name of the protected natural area in Italy with EUAP ID EUAP1126."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4800> \"EUAP1126\". }"}}
{"id": "test_21", "question": "Which Italian protected natural area has the EUAP ID EUAP1208?", "sparql": "SELECT ?area ?label WHERE { ?area wdt:P4800 \"EUAP1208\" . ?area rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["Is there a protected natural area in Italy with the identifier EUAP1208, and what is its name?", "Show me the English label of the Italian protected natural area identified by EUAP1208."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4800> \"EUAP1208\". }"}}
{"id": "test_22", "question": "What film has the Cineplex Germany film ID 136184?", "sparql": "SELECT ?film WHERE { ?film wdt:P3077 \"136184\" . }", "paraphrases": ["Which movie in Wikidata is associated with the Cineplex ID 136184?", "I need to find the Wikidata item for the film identified by Cineplex Germany film ID 136184."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3077> \"136184\". }"}}
{"id": "test_23", "question": "Image of Barack Obama from SNAC ARK ID w6f29nwg", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6f29nwg\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Barack Obama\u2019s SNAC ARK ID w6f29nwg?", "Show me the Wikimedia Commons image for the person with SNAC ARK ID w6f29nwg."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6f47mvj\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_24", "question": "What animated film has the Big Cartoon Database ID 166655?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P4933 \"166655\"\n}", "paraphrases": ["Which entity in Wikidata is associated with the BCDB ID 166655?", "Find the animated film identified by the Big Cartoon Database ID 166655."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4933> \"166655\". }"}}
{"id": "test_25", "question": "What Commodore 64 game has the Ready64 ID of 50?", "sparql": "SELECT ?game ?gameLabel WHERE { ?game wdt:P4916 \"50\" . ?game rdfs:label ?gameLabel FILTER(LANG(?gameLabel) = \"en\") }", "paraphrases": ["Which video game for the Commodore 64 is identified by the Ready64 identifier 50?", "Can you tell me the name of the Commodore 64 game with Ready64 ID 50?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4916> \"50\". }"}}
{"id": "test_26", "question": "What is the English label and description of the TV season with \u010cSFD ID 308575?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P2529 \"308575\" .\n  ?item rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) .\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" ) .\n  }\n}", "paraphrases": ["Which TV season has the \u010cSFD film ID 308575, and what is its English name and description?", "Please provide the English name and description of the TV season identified by \u010cSFD ID 308575."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2529> \"308575\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_27", "question": "Does the game with Lemon 64 ID 769 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?game wdt:P4816 \"769\" .\n}", "paraphrases": ["Is there a Commodore 64 game in Wikidata that has the Lemon 64 identifier 769?", "Confirm if Dragon Spirit is listed in Wikidata with the Lemon 64 ID 769."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4816> \"769\". }"}}
{"id": "test_28", "question": "Does the Commodore 64 game with Ready64 ID 2141 exist in Wikidata?", "sparql": "ASK WHERE { ?item wdt:P4916 \"2141\" }", "paraphrases": ["Is there a Wikidata item for the Commodore 64 game 'Aaargh!' with Ready64 ID 2141?", "Confirm if the game 'Aaargh!' is listed in Wikidata with the Ready64 identifier 2141."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4916> \"2141\". }"}}
{"id": "test_29", "question": "Does Wikidata contain the Commodore 64 game with Ready64 ID 4492?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?game wdt:P4916 \"4492\" .\n}", "paraphrases": ["Is there a Commodore 64 game in Wikidata identified by the Ready64 ID 4492?", "Confirm if Motor Mania is listed in Wikidata with Ready64 ID 4492."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4916> \"4492\". }"}}
{"id": "test_30", "question": "What is the Wikidata item for the ZBW press archive folder with ID \"co/019333\"?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P4293 \"co/019333\" .\n  OPTIONAL {\n    ?item rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["What is the English label and description of the entity in Wikidata linked to the PM20 folder ID \"co/019333\"?", "Find the English label for the organization in Wikidata that corresponds to folder \"co/019333\" in the 20th Century Press Archives."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4293> \"co/019333\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_31", "question": "Is Fire Power assigned the Lemon 64 ID 926 in Wikidata?", "sparql": "ASK WHERE { ?game wdt:P4816 \"926\" . }", "paraphrases": ["Does the Commodore 64 game Fire Power have the identifier 926 in the Lemon 64 database?", "Confirm if the game Fire Power is listed in Wikidata with Lemon 64 ID 926."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4816> \"926\". }"}}
{"id": "test_32", "question": "Does the Wikidata database contain an entry for the Italian protected natural area with EUAP ID EUAP0221?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P4800 \"EUAP0221\"\n}", "paraphrases": ["Is there a protected area in Italy identified by the EUAP code EUAP0221?", "Does EUAP0221 correspond to a documented protected natural area in the Wikidata knowledge base?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4800> \"EUAP0221\". }"}}
{"id": "test_33", "question": "What film has the Cineplex Germany film ID 234712?", "sparql": "SELECT ?film WHERE { ?film wdt:P3077 \"234712\" . }", "paraphrases": ["Which movie on Wikidata is identified by the Cineplex ID 234712?", "I need to find the Wikidata item for the film with Cineplex Germany film ID 234712."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3077> \"234712\". }"}}
{"id": "test_34", "question": "Does the film with PORT ID 109450 exist in Wikidata?", "sparql": "ASK WHERE { ?film wdt:P905 \"109450\" . }", "paraphrases": ["Is there a TV show or film in Wikidata that has the PORT film identifier 109450?", "Check if the PORT film ID 109450 is assigned to any film or television program in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P905> \"109450\". }"}}
{"id": "test_35", "question": "Does Wikidata contain a person with PORT person ID 21290?", "sparql": "ASK WHERE { ?x wdt:P2435 \"21290\" . }", "paraphrases": ["Is there a film professional in Wikidata identified by the PORT ID 21290?", "Confirm if the PORT network identifier 21290 is assigned to any person in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2435> \"21290\". }"}}
{"id": "test_36", "question": "What is the English description of the entity with YSO ID 105078?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P2347 \"105078\" .\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Can you find the entity identified by the YSO ID 105078 and its English description?", "Which entity has the YSO ID 105078, and what is its English description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2347> \"201973\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_37", "question": "Is there a protected natural area in Italy with EUAP ID EUAP0172?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?area wdt:P4800 \"EUAP0172\" .\n}", "paraphrases": ["Does Wikidata contain an entry for the Italian protected area identified by EUAP0172?", "Confirm if the Sea Nature Reserve Aegadian Islands is registered in Wikidata with EUAP ID EUAP0172."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4800> \"EUAP0172\". }"}}
{"id": "test_38", "question": "What is the English description of the entity with YSO ID 105078?", "sparql": "SELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P2347 \"105078\" .\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER (LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Find the item in Wikidata with YSO ID 105078 and show its English description.", "Which entity has the YSO ID 105078, and what is its English description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2347> \"113495\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_39", "question": "Does the PORT database have an entry for the person with ID 108386?", "sparql": "ASK WHERE { ?person wdt:P2435 \"108386\" . }", "paraphrases": ["Is there a person in the PORT film database with the identifier 108386?", "Does the PORT person ID 108386 exist in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2435> \"108386\". }"}}
{"id": "test_40", "question": "What film has the Cineplex Germany film ID 11295?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?title WHERE {\n  ?film wdt:P3077 \"11295\" .\n  ?film wdt:P1476 ?title .\n}", "paraphrases": ["Which movie in Wikidata is identified by the Cineplex ID 11295, and what is its title?", "Find the film with Cineplex ID 11295 and return its title."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3077> \"11295\". }"}}
{"id": "test_41", "question": "Who has the Elonet person ID 110151?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person WHERE {\n  ?person wdt:P2387 \"110151\" .\n}", "paraphrases": ["Which person in Wikidata is identified by the Elonet ID 110151?", "Tell me the name of the person with Elonet ID 110151."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2387> \"110151\". } LIMIT 1"}}
{"id": "test_42", "question": "Does the Commodore 64 game with Lemon 64 ID 1069 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?game wdt:P4816 \"1069\" .\n}", "paraphrases": ["Is there a video game in Wikidata that has the Lemon 64 identifier 1069?", "Confirm whether the game \"The Golden Baton\" is linked to Lemon 64 ID 1069 in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4816> \"1069\". }"}}
{"id": "test_43", "question": "Does the game with Lemon 64 ID 169 exist in Wikidata?", "sparql": "ASK WHERE { ?item wdt:P4816 \"169\" . }", "paraphrases": ["Is there a Commodore 64 game in Wikidata that has the Lemon 64 identifier 169?", "Is there a Commodore 64 game in the Wikidata database with the Lemon 64 ID 169?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4816> \"169\". }"}}
{"id": "test_44", "question": "Who is the person with Australian Women's Register ID AWE2553b, and what is their description?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity ?entityLabel ?description WHERE {\n  ?entity wdt:P4186 \"AWE2553b\" .\n  OPTIONAL {\n    ?entity rdfs:label ?entityLabel .\n    FILTER ( LANG( ?entityLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?entity schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["What is the name and English description of the person identified by the Australian Women's Register ID AWE2553b?", "Please provide the English label and description of the individual registered in the Australian Women's Register with ID AWE2553b."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4186> \"AWE2553b\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_45", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0111161?", "sparql": "SELECT ?movie ?wikipedia WHERE { ?movie wdt:P345 \"tt0111161\" . ?wikipedia schema:about ?movie . { ?wikipedia schema:inLanguage \"en\" . } UNION { ?wikipedia schema:inLanguage \"de\" . } }", "paraphrases": ["Can you show me the Wikipedia articles in English or German about the film \"The Shawshank Redemption\"?", "Which language versions of Wikipedia discuss the movie identified by the IMDb code tt0111161?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5585414\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_46", "question": "Does the game with Lemon 64 ID 1666 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P4816 \"1666\" .\n}", "paraphrases": ["Is there a Commodore 64 game in Wikidata that has the identifier 1666 on Lemon64.com?", "Confirm whether Micro Mouse is listed in Wikidata with Lemon 64 ID 1666."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4816> \"1666\". }"}}
{"id": "test_47", "question": "Does the EUAP ID EUAP0990 exist in Wikidata?", "sparql": "ASK WHERE { ?area wdt:P4800 \"EUAP0990\" . }", "paraphrases": ["Is there a protected natural area in Italy with the EUAP ID EUAP0990?", "Check if the Italian protected area with EUAP ID EUAP0990 is listed in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4800> \"EUAP0990\". }"}}
{"id": "test_48", "question": "Does the item with DDB ID \"MQESL2XUAHY2FEVOAN7T3MFB7ITEIAUR\" exist in Wikidata?", "sparql": "ASK WHERE {\n  ?item wdt:P4948 \"MQESL2XUAHY2FEVOAN7T3MFB7ITEIAUR\" .\n}", "paraphrases": ["Is there a Wikidata item linked to the Deutsche Digitale Bibliothek ID MQESL2XUAHY2FEVOAN7T3MFB7ITEIAUR?", "Check if the Deutsche Digitale Bibliothek ID MQESL2XUAHY2FEVOAN7T3MFB7ITEIAUR is assigned to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4948> \"118507893\". }"}}
{"id": "test_49", "question": "What is the Italian protected natural area with EUAP ID EUAP0956?", "sparql": "SELECT ?item ?label WHERE { ?item wdt:P4800 \"EUAP0956\" . ?item rdfs:label ?label . FILTER(LANG(?label) = \"it\") }", "paraphrases": ["Which protected natural area in Italy has the identifier EUAP0956?", "Tell me the name of the Italian protected area identified by EUAP0956."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4800> \"EUAP0956\". }"}}
{"id": "test_50", "question": "Does the EUAP ID EUAP0992 exist in Wikidata?", "sparql": "ASK WHERE { ?area wdt:P4800 \"EUAP0992\" . }", "paraphrases": ["Is there a protected natural area in Italy with the EUAP identifier EUAP0992?", "Confirm if EUAP0992 is a valid EUAP ID for an Italian protected natural area in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4800> \"EUAP0992\". }"}}
{"id": "test_51", "question": "What is the English label and description of the place with YSO ID 94333?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?itemLabel ?desc WHERE {\n  ?item wdt:P2347 \"94333\" .\n  OPTIONAL {\n    ?item schema:description ?desc\n    FILTER(LANG(?desc) = \"en\")\n  }\n  .\n  ?item rdfs:label ?itemLabel\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["Show me the name and English description of the entity identified by YSO ID 94333.", "Which entity has the YSO ID 94333, and what is its English description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2347> \"94336\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_52", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt1552211?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipedia_page WHERE {\n  ?item wdt:P345 \"tt1552211\" .\n  {\n    ?wikipedia_page schema:about ?item ; schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipedia_page schema:about ?item ; schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Can you show me the Wikipedia articles in English and German about the film \"The Last Days of American Crime\"?", "I want to find the Wikipedia links in English and German for the movie identified by IMDb ID tt1552211."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1711507\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_53", "question": "Is there a Wikidata item for the OCLC number 71257314?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P243 \"71257314\" .\n}", "paraphrases": ["Does the OCLC control number 71257314 correspond to a record in Wikidata?", "Check if the journal with OCLC number 71257314 is listed in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P243> \"71257314\". }"}}
{"id": "test_54", "question": "English and German Wikipedia pages for the movie with IMDb ID tt1552211.", "sparql": "SELECT ?item ?wikipediaPage WHERE { ?item wdt:P345 \"tt1552211\" . ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["What are the English and German Wikipedia articles about the film \"The Last Days of American Crime\"?", "Show me the English and German Wikipedia links for the movie \"The Last Days of American Crime\" (IMDb: tt1552211)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2153416\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_55", "question": "What categories do Conservative Judaism and the West Bank belong to?", "sparql": "SELECT ?class1 ?class2\nWHERE {\n  wd:Q205644 wdt:P31 ?class1 .\n  wd:Q36678 wdt:P31 ?class2 .\n}", "paraphrases": ["What are the instance-of classifications for Conservative Judaism and the West Bank?", "Show the top-level types for Conservative Judaism and the West Bank in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q205644> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q36678> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_56", "question": "Does Wikidata contain an Italian protected natural area with EUAP ID EUAP0254?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?area wdt:P4800 \"EUAP0254\" .\n}", "paraphrases": ["Is there a registered Italian protected natural area in Wikidata identified by the code EUAP0254?", "Confirm if the regional nature reserve Foce del fiume Crati is listed in Wikidata using its official EUAP identifier EUAP0254."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4800> \"EUAP0254\". }"}}
{"id": "test_57", "question": "What is the Wikidata item with YSO ID 110114?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P2347 \"110114\" .\n  OPTIONAL {\n    ?item rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Can you find the English label and description for the concept with YSO ID 110114?", "Show me the name and English description of the concept identified by YSO ID 110114."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2347> \"110114\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_58", "question": "What is the English description of the continent with YSO ID 105024?", "sparql": "SELECT ?item ?description WHERE { ?item wdt:P2347 \"105024\" . OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Can you tell me the English description for the concept identified by the YSO identifier 105024?", "What does the YSO entry 105024 describe in English?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2347> \"105024\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_59", "question": "Who is the person with PORT ID 257707?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?label WHERE {\n  ?person wdt:P2435 \"257707\" .\n  ?person rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["What is the name of the individual identified by the PORT network film database as 257707?", "Can you tell me the Wikidata entry for the person whose PORT identifier is 257707?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2435> \"257707\". }"}}
{"id": "test_60", "question": "Who is the richest person with a net worth over $100 million, and what is their net worth?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?personLabel(MAX(?netWorth) AS ?maxNetWorth) WHERE {\n  ?person wdt:P2218 ?netWorth .\n  FILTER(?netWorth > 100000000)\n  .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}\nGROUP BY ?personLabel\nORDER BY DESC(?maxNetWorth)\nLIMIT 1", "paraphrases": ["What is the highest net worth above $100 million among all people in Wikidata, and who has it?", "Show the person with the maximum net worth greater than $100 million, along with their name."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ( MAX ( ?var2 ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2218> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( ( ?var2 > \"100000000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } GROUP BY ?var1Label ORDER BY ASC( ?var2 )"}}
{"id": "test_61", "question": "What is the most specific common category that includes both Arianism and FC Energiya Volzhsky in the Wikidata hierarchy?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonAncestor ?label WHERE {\n  wd:Q1975949 wdt:P31 ?type .\n  wd:Q83922 wdt:P279 * ?commonAncestor .\n  ?type wdt:P279 * ?commonAncestor .\n  ?commonAncestor rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nORDER BY ASC(?commonAncestor)\nLIMIT 1", "paraphrases": ["What do Arianism and FC Energiya Volzhsky have in common in terms of their classification in Wikidata?", "What is the lowest-level shared superclass between the religious doctrine Arianism and the football club FC Energiya Volzhsky?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q83922> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1975949> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_62", "question": "What is the English label and description of the person with Australian Women's Register ID AWE4144b?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?description WHERE {\n  ?person wdt:P4186 \"AWE4144b\" .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) OPTIONAL {\n    ?person schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["Who is listed in the Australian Women's Register with ID AWE4144b, and what is their profession in English?", "Find the English name and description of the Australian woman registered in the Australian Women's Register under ID AWE4144b."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4186> \"AWE4144b\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_63", "question": "Instagram, Twitter, and Facebook usernames of Transfermarkt player ID 148754", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?player ?instagram ?twitter ?facebook WHERE {\n  ?player wdt:P2446 \"148754\" .\n  OPTIONAL {\n    ?player wdt:P2003 ?instagram .\n    ?player wdt:P2002 ?twitter .\n    ?player wdt:P2013 ?facebook .\n  }\n}", "paraphrases": ["What are the Instagram, Twitter, and Facebook usernames for the footballer with Transfermarkt ID 148754?", "Please provide the social media handles (Instagram, Twitter, Facebook) for the player identified by Transfermarkt ID 148754."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2446> \"148754\". OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2003> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P2013> ?var4 . } }"}}
{"id": "test_64", "question": "Is there a cartoon in the Big Cartoon Database with ID 85948?", "sparql": "ASK WHERE { ?item wdt:P4933 \"85948\" . }", "paraphrases": ["Does the Big Cartoon Database ID 85948 correspond to any animated film in Wikidata?", "Confirm if the Big Cartoon Database ID 85948 is registered in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4933> \"85948\". }"}}
{"id": "test_65", "question": "Does the Italian protected natural area with EUAP ID EUAP1084 exist in Wikidata?", "sparql": "ASK WHERE { ?area wdt:P4800 \"EUAP1084\" . }", "paraphrases": ["Is there a protected natural area in Italy identified by the EUAP code EUAP1084?", "Confirm whether EUAP1084 is assigned to any protected natural area in the Italian official list."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4800> \"EUAP1084\". }"}}
{"id": "test_66", "question": "Which film has the \u010cSFD ID 277512?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P2529 \"277512\" .\n}", "paraphrases": ["What is the Wikidata item for the movie identified as 277512 in the \u010cSFD film database?", "Find the movie in Wikidata that corresponds to the \u010cSFD film ID 277512."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2529> \"277512\". }"}}
{"id": "test_67", "question": "Who has the Elonet person ID 901864?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person WHERE {\n  ?person wdt:P2387 \"901864\" .\n}\nLIMIT 1", "paraphrases": ["Which Wikidata entity is associated with the Elonet actor ID 901864?", "Find the person in Wikidata who is identified by the Elonet database with ID 901864."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2387> \"901864\". } LIMIT 1"}}
{"id": "test_68", "question": "Film with exploitation mark number 110652 in France", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P2755 \"110652\" .\n}", "paraphrases": ["Which French film has the exploitation mark number 110652?", "Find the film identified by the French exploitation visa number 110652."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2755> \"110652\". }"}}
{"id": "test_69", "question": "Does any ice hockey player have Elite Prospects ID 418?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?player wdt:P2481 418 .\n}", "paraphrases": ["Is there a hockey player in Wikidata with the Elite Prospects player ID 418?", "Check if the Elite Prospects player ID 418 is assigned to any ice hockey player in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2481> \"418\". }"}}
{"id": "test_70", "question": "What entity in Wikidata has the YSO ID 112910, and what is its description?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P2347 \"112910\" . OPTIONAL { ?item schema:description ?description } }", "paraphrases": ["Can you tell me the name and description of the place identified by the Finnish ontology ID 112910?", "Show me the Wikidata item for Romuvaara in Kuhmo using its YSO identifier."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2347> \"112909\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_71", "question": "Does the OCLC control number 967777480 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P243 \"967777480\" .\n}", "paraphrases": ["Is there a bibliographic record in WorldCat with the ID 967777480 listed in Wikidata?", "Is National Communications Magazine identified by the OCLC number 967777480 in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P243> \"967777480\". }"}}
{"id": "test_72", "question": "Which film has the Elonet movie ID 914988?", "sparql": "SELECT ?film WHERE { ?film wdt:P2346 \"914988\" . }", "paraphrases": ["What is the Wikidata item for the film with Elonet ID 914988?", "Find the film in Wikidata that is identified by the Elonet ID 914988."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2346> \"914988\". }"}}
{"id": "test_73", "question": "English name and description of figure skater with ISU ID 00010967", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P2694 \"00010967\" .\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["Who is the figure skater with ISU ID 00010967, and what is their English description?", "Please provide the English name and description of the figure skater identified by ISU ID 00010967."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2694> \"00003271\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_74", "question": "Is there a village in Kazakhstan with CATO ID 556867200?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?village wdt:P4838 \"556867200\" .\n}", "paraphrases": ["Does the administrative unit with KATO code 556867200 exist in Wikidata?", "Confirm whether the village identified by CATO ID 556867200 is recorded in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4838> \"556867200\". }"}}
{"id": "test_75", "question": "What is the English description of the film \"The Shawshank Redemption\"?", "sparql": "SELECT ?description WHERE { wd:Q172241 schema:description ?description . FILTER(LANG(?description) = \"en\") }", "paraphrases": ["Can you tell me the summary or plot description of The Shawshank Redemption in English?", "What does the Wikipedia-style description say about the 1994 movie The Shawshank Redemption?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q172241> ?var1 ?var2 . } LIMIT 10"}}
{"id": "test_76", "question": "What is the English label and description of the person in the Australian Women's Register with ID AWE0075b?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P4186 \"AWE0075b\" .\n  ?item rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["Who is Margaret Guilfoyle, and what is her description according to Wikidata, given her Australian Women's Register ID is AWE0075b?", "Find the name and English description of the Australian woman registered in the Australian Women's Register with ID AWE0075b."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4186> \"AWE0075b\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_77", "question": "Is there a Wikidata item with DDB ID 118893076?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P4948 \"118893076\" .\n}", "paraphrases": ["Does the Deutsche Digitale Bibliothek ID 118893076 correspond to any item in Wikidata?", "Check if the DDB ID 118893076 is registered in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4948> \"118893076\". }"}}
{"id": "test_78", "question": "What are the historical FIFA rankings and points for the Germany men\u2019s national football team?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT DISTINCT ?ranking ?date ?points WHERE {\n  wd:Q43310 p:P1352 ?statement .\n  ?statement ps:P1352 ?ranking .\n  OPTIONAL {\n    ?statement pq:P585 ?date .\n  }\n  OPTIONAL {\n    ?statement pq:P1358 ?points .\n  }\n}\nORDER BY DESC(?date)", "paraphrases": ["When did Germany\u2019s FIFA ranking change, and what were the corresponding points?", "Show me the ranking history of the German men\u2019s football team, including their FIFA points, sorted from most recent to oldest."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 WHERE { BIND ( STR ( ?var5 ) AS ?var1 ). <http://www.wikidata.org/entity/Q43310> <http://www.wikidata.org/prop/P1352> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P1352> ?var2 . OPTIONAL { ?var5 <http://www.wikidata.org/prop/qualifier/P585> ?var3 . } OPTIONAL { ?var5 <http://www.wikidata.org/prop/qualifier/P1358> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY DESC( ?var3 )"}}
{"id": "test_79", "question": "Czech Olympic Committee athletes without recorded event participation", "sparql": "SELECT DISTINCT ?athlete ?athleteLabel WHERE { ?athlete wdt:P4062 ?\u010dovId . MINUS { ?athlete wdt:P1344 ?event . } ?athlete rdfs:label ?athleteLabel . FILTER(LANG(?athleteLabel) = \"en\") } LIMIT 30", "paraphrases": ["Which athletes registered with the Czech Olympic Committee have not participated in any documented event?", "List athletes who have a Czech Olympic Committee athlete ID but no record of participating in any competition."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4062> ?var2 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P1344> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs,en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 30"}}
{"id": "test_80", "question": "What items were retired or went missing in December 1994?", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item WHERE {\n  ?item ( wdt:P730 | wdt:P746 ) ?date .\n  FILTER ( ?date >= \"1994-12-01T00:00:00Z\" ^^ xsd:dateTime && ?date <= \"1994-12-31T23:59:59Z\" ^^ xsd:dateTime )\n}", "paraphrases": ["Which entities had their service retirement or date of disappearance in December 1994?", "List all things (like trains, ships, or people) that were decommissioned or last seen alive in December 1994."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P730> | <http://www.wikidata.org/prop/direct/P746> ) ?var2 . FILTER ( ( ( ?var2 >= \"1994-12-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1994-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_81", "question": "Which film has the Cineplex Germany film ID 337333?", "sparql": "SELECT ?film WHERE { ?film wdt:P3077 \"337333\" . }", "paraphrases": ["What is the name of the film identified by the Cineplex ID 337333?", "Tell me the film associated with Cineplex Germany film ID 337333."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3077> \"337333\". }"}}
{"id": "test_82", "question": "List Broadway personnel with IBDB IDs and their English descriptions.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P1220 ?id .\n  OPTIONAL {\n    ?item rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}\nLIMIT 10", "paraphrases": ["Who are some people in the Internet Broadway Database, and what are their English descriptions?", "Show me the names and English descriptions of people listed in the Internet Broadway Database."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1220> \"510693\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_83", "question": "Who were the members of the Kobe City Council between 2015 and 2019, what were the start and end dates of their terms, and which electoral districts did they represent?", "sparql": "SELECT ?person ?personLabel ?startDate ?endDate ?electoralDistrictLabel WHERE { ?person p:P39 ?statement . ?statement ps:P39 wd:Q50178404 . OPTIONAL { ?statement pq:P580 ?startDate . ?statement pq:P582 ?endDate . } OPTIONAL { ?statement pq:P768 ?electoralDistrict . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") OPTIONAL { ?electoralDistrict rdfs:label ?electoralDistrictLabel . FILTER(LANG(?electoralDistrictLabel) = \"en\") } }", "paraphrases": ["List Kobe City Council members with their term start/end dates and electoral districts.", "Show me the names of people who served on the Kobe City Council, along with when their terms began and ended, and the electoral districts they represented."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/P39> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q50178404> . OPTIONAL { ?var5 <http://www.wikidata.org/prop/qualifier/P580> ?var2 . ?var5 <http://www.wikidata.org/prop/qualifier/P582> ?var3 . } OPTIONAL { ?var5 <http://www.wikidata.org/prop/qualifier/P768> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja,ja,en\". } }"}}
{"id": "test_84", "question": "Film with Unifrance ID 37996", "sparql": "SELECT ?film WHERE { ?film wdt:P3961 \"37996\" . }", "paraphrases": ["Which film has the Unifrance ID 37996?", "Tell me the film identified by the Unifrance ID 37996."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3961> \"37996\". }"}}
{"id": "test_85", "question": "People with GTAA IDs and the sports they play.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?sportLabel WHERE {\n  ?person wdt:P1741 ?gtaaId .\n  ?person wdt:P641 ?sport .\n  ?sport rdfs:label ?sportLabel .\n  FILTER ( LANG( ?sportLabel ) = \"en\" )\n}", "paraphrases": ["Which sports are associated with individuals who have a GTAA ID?", "List the English names of sports played by people who have a GTAA identifier."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1741> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P641> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl\". } }"}}
{"id": "test_86", "question": "What film has the Cineplex Germany ID 334044?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P3077 \"334044\" .\n}", "paraphrases": ["Which Wikidata item corresponds to the film identified by the Cineplex Germany film ID 334044?", "Find the film in Wikidata that is assigned the Cineplex ID 334044."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3077> \"334044\". }"}}
{"id": "test_87", "question": "Which movie has the \u010cSFD film ID 281766?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie WHERE {\n  ?movie wdt:P2529 \"281766\" .\n}", "paraphrases": ["What is the movie identified by the \u010cSFD film ID 281766?", "Tell me the movie that corresponds to the \u010cSFD film ID 281766."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2529> \"281766\". }"}}
{"id": "test_88", "question": "What is the English label and description of the person in the Australian Women's Register with ID AWE0327b?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P4186 \"AWE0327b\" .\n  ?item rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["Who is Margaret Forrest, and what is her profession according to Wikidata, given her Australian Women's Register ID is AWE0327b?", "Find the name and English description of the individual identified by AWE0327b in the Australian Women's Register."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4186> \"AWE0327b\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_89", "question": "Film with MovieMeter ID 27505", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P1970 \"27505\" .\n}", "paraphrases": ["Which film is identified by the MovieMeter ID 27505?", "Tell me the film that has the MovieMeter film ID 27505."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1970> \"27505\". }"}}
{"id": "test_90", "question": "Wikipedia articles and Wikimedia pages about Jules Ch\u00e9ret using his ULAN ID.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdtn: <http://www.wikidata.org/prop/direct-normalized/>\nSELECT ?page ?artist WHERE {\n  ?artist wdtn:P245 <http://vocab.getty.edu/ulan/500030480> .\n  ?page schema:about ?artist .\n}", "paraphrases": ["What Wikipedia articles and other Wikimedia pages are about the artist Jules Ch\u00e9ret, identified by the Getty ULAN ID 500030480?", "Show me all the Wikimedia pages related to Jules Ch\u00e9ret, linked via his Union List of Artist Names ID."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/direct-normalized/P245> <http://vocab.getty.edu/ulan/500030480> . ?var1 <http://schema.org/about> ?var2 . }"}}
{"id": "test_91", "question": "Who is the person in the Australian Women's Register with ID AWE3117b, and what is their description?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P4186 \"AWE3117b\" .\n  OPTIONAL {\n    ?item rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["What is the name and English description of the individual listed in the Australian Women's Register with the ID AWE3117b?", "Please provide the label and English description of the person identified by AWE3117b in the Australian Women's Register."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4186> \"AWE3117b\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_92", "question": "What is the English label and description of the person with Australian Women's Register ID AWE5247b?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P4186 \"AWE5247b\" . OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") }", "paraphrases": ["Who is the Australian woman with the identifier AWE5247b in the Australian Women's Register, and what is her description in English?", "Please provide the English name and description of the individual listed in the Australian Women's Register with ID AWE5247b."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4186> \"AWE5246b\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_93", "question": "What is the English label and description of the entity with YSO ID 113088?", "sparql": "SELECT ?item ?label ?description WHERE { ?item wdt:P2347 \"113088\" . OPTIONAL { ?item rdfs:label ?label . FILTER(LANG(?label) = \"en\") } OPTIONAL { ?item schema:description ?description . FILTER(LANG(?description) = \"en\") } }", "paraphrases": ["English label and description for YSO ID 113088", "Show me the English name and description of the concept identified by YSO ID 113088."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2347> \"113088\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_94", "question": "What is the English name and description of the Czech athlete with Olympic Committee ID 3806?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?athlete ?athleteLabel ?description WHERE {\n  ?athlete wdt:P4062 \"3806\" .\n  OPTIONAL {\n    ?athlete schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" ) .\n  }\n  ?athlete rdfs:label ?athleteLabel .\n  FILTER ( LANG( ?athleteLabel ) = \"en\" ) .\n}", "paraphrases": ["Who is the Czech athlete with ID 3806 in the Czech Olympic Committee database, and what is their description in English?", "Find the English label and description of the athlete identified by the Czech Olympic Committee ID 3806."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4062> \"3836\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_95", "question": "Film with \u010cSFD ID 408960", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P2529 \"408960\" .\n}", "paraphrases": ["What film is identified by the \u010cSFD ID 408960?", "Show me the Wikidata entry for the film that has the \u010cSFD identifier 408960."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2529> \"408960\". }"}}
{"id": "test_96", "question": "Is there a village in Kazakhstan with CATO ID 395857100?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?administrativeUnit wdt:P4838 \"395857100\" .\n}", "paraphrases": ["Does the village with CATO ID 395857100 exist in Wikidata?", "Confirm if the administrative unit identified by CATO ID 395857100 is in Kazakhstan."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4838> \"395857100\". }"}}
{"id": "test_97", "question": "What Wikidata items are associated with the Twitter usernames 'wikidata', 'avanzabank', 'nightrose', and 'CityOfBoston'?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ( ?username ) { ( \"wikidata\" ) ( \"avanzabank\" ) ( \"nightrose\" ) ( \"CityOfBoston\" ) } }", "paraphrases": ["Can you show me the entities on Wikidata that have these Twitter handles: @wikidata, @avanzabank, @nightrose, and @CityOfBoston?", "Which organizations or people on Wikidata use the Twitter accounts avanzabank, nightrose, wikidata, and CityOfBoston?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"fagerving\" ) ( \"string1\" ) ( \"string2\" ) ( \"avanzabank\" ) ( \"nightrose\" ) ( \"wikidata\" ) ( \"string3\" ) ( \"string4\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_98", "question": "What is the English label and description of the YSO ID 131239?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P2347 \"131239\" .\n  OPTIONAL {\n    ?item rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["What is Roman Britain called in English, and what is its description in English?", "Show me the English name and description of the concept identified by YSO ID 131239."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2347> \"131239\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_99", "question": "What is the Douban ID for the film with IMDb ID tt1630029?", "sparql": "SELECT ?film ?doubanId WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P345 \"tt1630029\" . OPTIONAL { ?film wdt:P4529 ?doubanId . } }", "paraphrases": ["Can you find the Douban film identifier for Avatar: The Way of Water?", "Show me the Douban ID of the movie that has the IMDb ID tt1630029."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1047829\". OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P4529> ?var2 . } }"}}
{"id": "test_100", "question": "List rowing clubs with their countries, administrative regions, and coordinates, sorted by country and club name.", "sparql": "SELECT ?rowingClub ?rowingClubLabel ?countryLabel ?adminLabel ?coordinates WHERE { ?rowingClub wdt:P31 wd:Q7372078 . OPTIONAL { ?rowingClub wdt:P17 ?country . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") } OPTIONAL { ?rowingClub wdt:P131 ?admin . ?admin rdfs:label ?adminLabel . FILTER(LANG(?adminLabel) = \"en\") } OPTIONAL { ?rowingClub wdt:P625 ?coordinates . } ?rowingClub rdfs:label ?rowingClubLabel . FILTER(LANG(?rowingClubLabel) = \"en\") } ORDER BY ASC(?countryLabel) ASC(?rowingClubLabel)", "paraphrases": ["What are the rowing clubs around the world, along with their countries, cities or regions, and geographic coordinates, ordered alphabetically by country and then by club name?", "Please provide a sorted list of all rowing clubs, including their English labels, the countries they are located in, their administrative regions, and their coordinates, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7372078> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,de,es\". } } ORDER BY ASC( ?var2Label )ASC( ?var1Label )"}}
{"id": "test_101", "question": "Is there a Kazakh administrative unit with KATO ID 515259400?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P4838 \"515259400\" .\n}", "paraphrases": ["Does the settlement with CATO ID 515259400 exist in Wikidata?", "Confirm whether the KATO code 515259400 is assigned to any populated place in Kazakhstan."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4838> \"515259400\". }"}}
{"id": "test_102", "question": "Is the Nathan C. Ricker House listed in the National Register of Historic Places with ID 00000682?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P649 \"00000682\" .\n}", "paraphrases": ["Does the National Register of Historic Places have an entry with reference number 00000682?", "Confirm if the NRHP ID 00000682 corresponds to a registered historic place."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P649> \"00000682\". }"}}
{"id": "test_103", "question": "Does Wikidata contain a football player with BDFutbol ID 23150?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?player wdt:P3655 \"23150\" .\n}", "paraphrases": ["Is there a football player in Wikidata identified by the BDFutbol.com ID 23150?", "Check if the BDFutbol player ID 23150 is assigned to any football player in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3655> \"23150\". }"}}
{"id": "test_104", "question": "Female Swedish football players and their birth dates", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?player ?playerLabel ?dateOfBirth WHERE {\n  ?player wdt:P21 wd:Q6581072 .\n  ?player wdt:P27 wd:Q34 .\n  ?player wdt:P106 wd:Q937857 .\n  OPTIONAL {\n    ?player wdt:P569 ?dateOfBirth .\n  }\n  ?player rdfs:label ?playerLabel .\n  FILTER ( LANG( ?playerLabel ) = \"en\" )\n}", "paraphrases": ["Who are the female Swedish association football players, and when were they born?", "List all female Swedish football players along with their dates of birth, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q34> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var3 . } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q937857> . }"}}
{"id": "test_105", "question": "Does the village Birtal in Kazakhstan have the CATO ID 114839300?", "sparql": "ASK WHERE { ?item wdt:P4838 \"114839300\" . }", "paraphrases": ["Is there an administrative unit in Kazakhstan identified by the CATO ID 114839300?", "Confirm if the CATO ID 114839300 corresponds to any location in Kazakhstan."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4838> \"114839300\". }"}}
{"id": "test_106", "question": "What film has the MovieMeter ID 62604?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P1970 \"62604\" .\n}", "paraphrases": ["Which film on Wikidata is associated with the MovieMeter film ID 62604?", "Find the Wikidata item for the film identified by MovieMeter ID 62604."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1970> \"62604\". }"}}
{"id": "test_107", "question": "What film has the Scope.dk ID 8789?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P2518 \"8789\" .\n}", "paraphrases": ["Which movie on Wikidata is identified by the Scope.dk film ID 8789?", "Find the Wikidata item for the film with Scope.dk film ID 8789."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2518> \"8789\". }"}}
{"id": "test_108", "question": "Is there a ship with IMO number 9630432 in Wikidata?", "sparql": "ASK WHERE { ?ship wdt:P458 \"9630432\" . }", "paraphrases": ["Does the ship named Ferry Kizuna have the IMO number 9630432?", "Confirm if the IMO ship number 9630432 is assigned to any vessel in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P458> \"9630432\". }"}}
{"id": "test_109", "question": "List all European Rowing Championships with their host countries and years.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nSELECT ?event ?label ?country ?date ?precision WHERE {\n  ?event wdt:P31 wd:Q80767 ; rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    ?event wdt:P17 ?country .\n  }\n  OPTIONAL {\n    ?event p:P585 ?statement .\n    ?statement psv:P585 [ wikibase:timeValue ?date ; wikibase:timePrecision ?precision ] .\n  }\n}\nORDER BY ASC(?label)", "paraphrases": ["Which countries hosted the European Rowing Championships each year, and when did they take place?", "Show me a chronological list of European Rowing Championships, including where they were held and the exact year, sorted alphabetically by event name."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q80767> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P585> / <http://www.wikidata.org/prop/statement/value/P585> ) [ <http://wikiba.se/ontology#timeValue> ?var4 ; <http://wikiba.se/ontology#timePrecision> ?var5 ] . } } ORDER BY ASC( ?var2Label )"}}
{"id": "test_110", "question": "Lighthouses in Sweden with a color assigned but no qualifier (e.g., no specification of which part the color applies to).", "sparql": "SELECT DISTINCT ?lighthouse ?color WHERE { ?lighthouse wdt:P31 wd:Q39715 . ?lighthouse wdt:P17 wd:Q34 . ?lighthouse wdt:P462 ?color . FILTER NOT EXISTS { ?lighthouse p:P462 ?colorStatement . ?colorStatement ps:P462 ?color ; pq:P518 ?qualifierPart . } } ORDER BY ?lighthouse", "paraphrases": ["Which lighthouses in Sweden have a simple color assignment without any additional qualifiers like \"applies to part\"?", "Show me all lighthouses in Sweden that have a direct color property and no qualifiers attached to it."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q39715> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q34> . ?var1 <http://www.wikidata.org/prop/direct/P462> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/P462> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P462> ?var2 ; <http://www.wikidata.org/prop/qualifier/P518> ?var3 . } FILTER ( ( !( BOUND ( ?var3 ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv,en,fr,nl,de,it,es\". } }"}}
{"id": "test_111", "question": "What film has the Cineplex Germany film ID 265136?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P3077 \"265136\" .\n}", "paraphrases": ["Which movie in Wikidata is identified by the Cineplex ID 265136?", "Find the film that corresponds to the Cineplex Germany film ID 265136."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3077> \"265136\". }"}}
{"id": "test_112", "question": "What film is identified by Cineplex Germany film ID 253721?", "sparql": "SELECT ?film WHERE { ?film wdt:P3077 \"253721\" . }", "paraphrases": ["Which movie corresponds to the Cineplex ID 253721?", "Find the film with the Cineplex Germany film ID 253721."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3077> \"253721\". }"}}
{"id": "test_113", "question": "Czech Olympic Committee athlete ID 2540 \u2014 who is the athlete and what is their description?", "sparql": "SELECT ?athlete ?athleteLabel ?description WHERE { ?athlete wdt:P4062 \"2540\" . OPTIONAL { ?athlete rdfs:label ?athleteLabel . FILTER (LANG(?athleteLabel) = \"en\") } OPTIONAL { ?athlete schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Who is the Czech athlete with the Czech Olympic Committee ID 2540, and what is their English description?", "Please provide the name and English description of the athlete identified by the Czech Olympic Committee ID 2540."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4062> \"2540\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_114", "question": "Who is the person with GTAA ID 96461, and what is their English description?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P1741 \"96461\" . OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Can you find the English description of the individual identified by GTAA ID 96461?", "What entity has the GTAA identifier 96461, and what does its English description say?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1741> \"125876\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_115", "question": "Is there a cartoon in Wikidata with Big Cartoon Database ID 121584?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P4933 \"121584\" .\n}", "paraphrases": ["Does the animated series \"10 + 2\" have a record in Wikidata with the BCDB ID 121584?", "Confirm if the Big Cartoon Database ID 121584 corresponds to any entry in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4933> \"121584\". }"}}
{"id": "test_116", "question": "What is the English label and description of the YSO ID \"109991\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P2347 \"109991\" .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["What is the English name and description of the place identified by YSO ID 109991?", "Show me the English label and description for the entity with YSO ID 109991."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2347> \"109991\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_117", "question": "Image of the person with SNAC ARK ID w6f29nwg", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6f29nwg\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w6f29nwg?", "Show me the Wikimedia Commons image for the entity identified by SNAC ARK ID w6f29nwg."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6vt399r\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_118", "question": "Is there a Wikidata item with the DDB ID 122474457?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P4948 \"122474457\" .\n}", "paraphrases": ["Does the Deutsche Digitale Bibliothek ID 122474457 exist in Wikidata?", "Check if the DDB ID 122474457 is linked to any item in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4948> \"122474457\". }"}}
{"id": "test_119", "question": "What are the color assignments for Algersgrund Lighthouse and which parts of the lighthouse do they apply to?", "sparql": "SELECT ?lighthouseLabel ?colorLabel ?partLabel ?boundStatus WHERE { VALUES (?color ?colorLabel ?part ?partLabel ?boundStatus) { (wd:Q3142 \"red\" wd:Q191360 \"foundation\" \"bound\") (wd:Q23445 \"black\" wd:Q3421342 \"stripe\" \"bound\") (wd:Q23444 \"white\" \"none\" \"none\" \"not bound\") } BIND(\"Algersgrund Lighthouse\" AS ?lighthouseLabel) }", "paraphrases": ["For Algersgrund Lighthouse, what colors are used and on which parts (e.g., foundation, stripe) do those colors appear?", "Show me the color claims for Algersgrund Lighthouse, including whether each color applies to a specific part like the foundation or stripe."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/P462> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P462> ?var2 . OPTIONAL { ?var5 <http://www.wikidata.org/prop/qualifier/P518> ?var3 . } BIND ( IF ( BOUND ( ?var3 ) , \"bound\", \"not bound\" ) AS ?var4 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,sv\". } VALUES ( ?var6 ) { ( <http://www.wikidata.org/entity/Q40125473> ) } FILTER ( ( ( ?var1 = ?var6 ) ) ) . }"}}
{"id": "test_120", "question": "Who is the Chinese person named \"\u9673\u4e16\u5d07\" born before 1900 with the least number of external web pages about them?", "sparql": "SELECT ?person (COUNT(?externalPage) AS ?linkCount) WHERE {  VALUES ?labelProperty { rdfs:label skos:altLabel }  ?person ?labelProperty \"\u9673\u4e16\u5d07\"@zh-hant ;          wdt:P31 wd:Q5 .  OPTIONAL {    ?externalPage schema:about ?person .  }  MINUS {    ?person wdt:P569 ?birthDate .    BIND(YEAR(?birthDate) AS ?birthYear)    FILTER(?birthYear > 1899)  }} GROUP BY ?person ORDER BY DESC(?linkCount) LIMIT 1", "paraphrases": ["Among people named \"\u9673\u4e16\u5d07\" in Chinese who were born in or before 1899, who has the fewest links from external websites like Wikipedia or Commons?", "Show me the person named \"\u9673\u4e16\u5d07\" in Traditional Chinese, born in or before 1899, who has the smallest number of associated external pages."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { VALUES ( ?var4 ) { ( <http://www.w3.org/2000/01/rdf-schema#label> ) ( <http://www.w3.org/2004/02/skos/core#altlabel> ) } ?var1 ?var4 \"\u9673\u4e16\u5d07\"@zh-hant ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var2 <http://schema.org/about> ?var1 . } MINUS { BIND ( YEAR ( ?var5 ) AS ?var6 ). ?var1 <http://www.wikidata.org/prop/direct/P569> ?var5 . FILTER ( ( ( ?var6 > \"1899\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } } GROUP BY ?var1 ORDER BY DESC( ?var3 ) LIMIT 1"}}
{"id": "test_121", "question": "What films and their composers are listed in Wikidata, starting from the 38,201st result?", "sparql": "SELECT ?film ?composer ?composerLabel WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P86 ?composer . ?composer rdfs:label ?composerLabel . FILTER(LANG(?composerLabel) = \"en\") } LIMIT 200 OFFSET 38200", "paraphrases": ["Show me 200 films along with their composers, skipping the first 38,200 entries.", "Can you list the English names of composers for films, starting from the 38,201st film in the database, with up to 200 results?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P86> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE], en\". } } LIMIT 200 OFFSET 38200"}}
{"id": "test_122", "question": "Turkish Wikipedia article about Tales of the Vampires", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?article WHERE {\n  ?article rdf:type schema:Article ; schema:about wd:Q964234 ; schema:inLanguage \"tr\" .\n}", "paraphrases": ["Is there a Turkish-language Wikipedia article about the comic book series \"Tales of the Vampires\"?", "Show me the Turkish Wikipedia page for the comic book series \"Tales of the Vampires\"."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q964234> ; <http://schema.org/inLanguage> \"tr\"; <http://schema.org/isPartOf> ?var2 . ?var2 <http://wikiba.se/ontology#wikiGroup> \"string1\". } LIMIT 1"}}
{"id": "test_123", "question": "Is there a cartoon with BCDB ID 175 in Wikidata?", "sparql": "ASK WHERE { ?cartoon wdt:P4933 \"175\" . }", "paraphrases": ["Does the Big Cartoon Database ID \"175\" correspond to any animated work in Wikidata?", "Can you verify that a cartoon exists with the identifier 175 in the Big Cartoon Database?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4933> \"175\". }"}}
{"id": "test_124", "question": "Chess players with the International Master title but not the Grandmaster title.", "sparql": "SELECT ?player WHERE { ?player wdt:P2962 wd:Q752119 . MINUS { ?player wdt:P2962 wd:Q105269 . } }", "paraphrases": ["Who are the chess players who hold the International Master title but have never been awarded the Grandmaster title?", "List all chess players who are International Masters but not Grandmasters."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2962> <http://www.wikidata.org/entity/Q752119> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P2962> <http://www.wikidata.org/entity/Q105269> . } }"}}
{"id": "test_125", "question": "What sports have Persian labels and descriptions in Wikidata, and which athletes play them?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?sport ?label ?description WHERE {\n  ?athlete wdt:P641 ?sport .\n  ?sport rdfs:label ?label .\n  ?sport schema:description ?description .\n  FILTER(LANG(?label) = \"fa\")\n  FILTER(LANG(?description) = \"fa\")\n}\nLIMIT 100", "paraphrases": ["Show me the Persian names and descriptions of sports that are played by athletes in Wikidata.", "Which sports in Wikidata are associated with Persian-language labels and descriptions?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P641> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"fa\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"fa\" ) ) ) . } LIMIT 100"}}
{"id": "test_126", "question": "Most specific infobox template for Khazar Khaganate-related entities on Russian Wikipedia with least usage", "sparql": "SELECT DISTINCT ?template (COUNT(?template) AS ?count) WHERE { ?template wdt:P31 wd:Q19887878 . ?template wdt:P1423 ?topic . wd:Q2090473 wdt:P31 ?type . ?topic wdt:P279* ?type . ?article schema:about ?entity . ?entity wdt:P31 ?topic . ?article schema:isPartOf <https://ru.wikipedia.org/> . } GROUP BY ?template ORDER BY ASC(?count) LIMIT 1", "paraphrases": ["Which infobox template is used the least number of times on Russian Wikipedia for entities related to the Khazar Khaganate?", "Find the infobox template with the fewest Russian Wikipedia articles for entities that are subclasses of the Khazar Khaganate\u2019s types."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { SELECT DISTINCT ?var1 ?var2 ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19887878> . ?var1 <http://www.wikidata.org/prop/direct/P1423> ?var2 . <http://www.wikidata.org/entity/Q2996606> ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P106> ) ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P279> * ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P279> * ?var2 . } GROUP BY ?var1 ?var2 } FILTER ( ( EXISTS { ?var6 <http://schema.org/about> ?var1 . ?var6 <http://schema.org/isPartOf> <https://ru.wikipedia.org/> . } ) ) . } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_127", "question": "List Pok\u00e9mon-related entities from Bulbapedia with their types, including moves, regions, trainers, and legendary Pok\u00e9mon.", "sparql": "SELECT ?item ?itemLabel ?class ?classLabel WHERE { ?item wdt:P4845 [] . ?item wdt:P31 ?class . VALUES ?class { wd:Q3966183 wd:Q15141195 wd:Q15830 wd:Q25991640 wd:Q26924395 wd:Q2251118 wd:Q15632617 wd:Q1964689 wd:Q15831596 } . ?item rdfs:label ?itemLabel . ?class rdfs:label ?classLabel . FILTER(LANG(?itemLabel) = \"en\") FILTER(LANG(?classLabel) = \"en\") } LIMIT 100", "paraphrases": ["What are the Pok\u00e9mon universe items (like moves, regions, or characters) that have Bulbapedia article IDs, and what categories do they belong to?", "Show me up to 100 Pok\u00e9mon-related entities from Bulbapedia along with their English labels and their classification (e.g., Pok\u00e9mon move, fictional human, etc.)."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4845> [] . MINUS { VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q15141195> ) ( <http://www.wikidata.org/entity/Q11424> ) ( <http://www.wikidata.org/entity/Q7889> ) ( <http://www.wikidata.org/entity/Q3966183> ) ( <http://www.wikidata.org/entity/Q5> ) ( <http://www.wikidata.org/entity/Q35127> ) ( <http://www.wikidata.org/entity/Q8076> ) ( <http://www.wikidata.org/entity/Q21191270> ) ( <http://www.wikidata.org/entity/Q25991640> ) ( <http://www.wikidata.org/entity/Q1964689> ) ( <http://www.wikidata.org/entity/Q26924395> ) ( <http://www.wikidata.org/entity/Q15632617> ) ( <http://www.wikidata.org/entity/Q15830> ) ( <http://www.wikidata.org/entity/Q3895768> ) ( <http://www.wikidata.org/entity/Q2251118> ) ( <http://www.wikidata.org/entity/Q15831596> ) ( <http://www.wikidata.org/entity/Q7397> ) } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } } LIMIT 100 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_128", "question": "What is the English name and description of the Australian geographic region with ASGS 2011 ID NRMR501?", "sparql": "SELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P4014 \"NRMR501\" .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER (LANG(?itemLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER (LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Find the entity in Wikidata with ASGS 2011 ID NRMR501 and show its English label and description if available.", "Which Australian location has the ID NRMR501 in the 2011 Australian Statistical Geography Standard, and what is its English name and description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4014> \"NRMR501\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_129", "question": "What is the geographic location in Finland with YSO ID 138636, and what is its label and description?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P2347 \"138636\" .\n  OPTIONAL {\n    ?item rdfs:label ?label .\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n  }\n}", "paraphrases": ["Can you find the Finnish place identified by the YSO ID 138636 and show its name and description?", "What do we know about the location with YSO ID 138636?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2347> \"138636\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_130", "question": "YSO ID 123290 \u2014 what is the name and description of the entity?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ( SAMPLE( ?itemLabel ) AS ?label ) ( SAMPLE( ?description ) AS ?desc ) WHERE {\n  ?item wdt:P2347 \"123290\" .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n  }\n}\nGROUP BY ?item", "paraphrases": ["What is the name and description of the place with YSO ID 123290?", "Show me the label and description of the entity identified by the YSO ID 123290."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2347> \"123290\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_131", "question": "What is the image associated with the SNAC ARK ID w6f29nwg?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6f29nwg\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Return the Wikimedia Commons image for the entity with SNAC ARK ID w6f29nwg.", "Is there an image available for the item identified by the SNAC ARK ID w6f29nwg?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6x67trq\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_132", "question": "Which Wikidata entities have Twitter usernames: BarackObama, Madonna, CityOfBoston, Russia, or deventergem?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  FILTER(?username = 'BarackObama' || ?username = 'Madonna' || ?username = 'CityOfBoston' || ?username = 'Russia' || ?username = 'deventergem')\n}", "paraphrases": ["Who are the entities on Wikidata that use the Twitter handles @BarackObama, @Madonna, @CityOfBoston, @Russia, or @deventergem?", "List the Wikidata items that are associated with any of these Twitter usernames: BarackObama, Madonna, CityOfBoston, Russia, and deventergem."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"TkshYmzk\" ) ( \"string8\" ) ( \"string9\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_133", "question": "Which film has the MovieMeter ID 52704?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P1970 \"52704\" .\n}", "paraphrases": ["What is the name of the film identified by the MovieMeter ID 52704?", "I'm looking for the film that corresponds to the MovieMeter identifier 52704. Can you tell me its title?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1970> \"52704\". }"}}
{"id": "test_134", "question": "List remarkable trees in \u017d\u010f\u00e1r nad S\u00e1zavou District, Czech Republic, with their designation dates, locations, and images.", "sparql": "SELECT DISTINCT ?tree ?treeLabel ?designationStart ?adminUnitLabel ?coord ?usop ?perimeter ?image WHERE { ?tree wdt:P31 wd:Q811534 . ?tree wdt:P17 wd:Q213 . ?tree wdt:P131 ?adminUnit . ?adminUnit wdt:P131 wd:Q579648 . OPTIONAL { ?tree wdt:P625 ?coord . } OPTIONAL { ?tree wdt:P677 ?usop . } OPTIONAL { ?tree wdt:P2547 ?perimeter . } OPTIONAL { ?tree wdt:P18 ?image . } OPTIONAL { ?tree p:P31 ?statement . ?statement pq:P580 ?designationStart . } ?tree rdfs:label ?treeLabel . ?adminUnit rdfs:label ?adminUnitLabel . FILTER(LANG(?treeLabel) = \"cs\") FILTER(LANG(?adminUnitLabel) = \"cs\") } ORDER BY DESC(?designationStart)", "paraphrases": ["Which remarkable trees are protected in the \u017d\u010f\u00e1r nad S\u00e1zavou District of the Czech Republic, and when were they designated?", "Show me the names, designation dates, administrative units, coordinates, and images of all remarkable trees in the \u017d\u010f\u00e1r nad S\u00e1zavou District, sorted by most recently designated first."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5 ?var6 ?var7 ?var8Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q811534> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q213> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P131> ?var9 . ?var3 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q579648> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P677> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2547> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var7 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/qualifier/P580> ) ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var8 . ?var8 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16521> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } } ORDER BY DESC( ?var2 )"}}
{"id": "test_135", "question": "Does the animated series \"The Bluffers\" have a Big Cartoon Database ID of 57916?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P4933 \"57916\" .\n}", "paraphrases": ["Is there an entry in the Big Cartoon Database with ID 57916?", "Does the Big Cartoon Database contain an entry with the ID 57916?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4933> \"57916\". }"}}
{"id": "test_136", "question": "What is the English label and description of the Wikidata item with YSO ID 108109?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P2347 \"108109\" .\n  OPTIONAL {\n    ?item rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["What is the name and English description of the city in Tanzania identified by the YSO ID 108109?", "Show me the English name and description of the entity that has the YSO ID 108109."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2347> \"108109\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_137", "question": "What is the English label and description of the Wikidata item with YSO ID 108286?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P2347 \"108286\" .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER(LANG(?itemLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Show me the English name and description for the concept identified by YSO ID 108286.", "Does the Finnish ontology concept with ID 108286 have an English label or description in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2347> \"108286\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_138", "question": "What is Elon Musk\u2019s Twitter/X username and how many Wikipedia pages are linked to his Wikidata item?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?user ?handle WHERE {\n  ?user wdt:P2002 ?handle .\n  FILTER(?handle = \"elonmusk\")\n  .\n  ?sitelink schema:about ?user ; schema:isPartOf ?wiki .\n}\nGROUP BY ?user ?handle\nORDER BY ASC(COUNT(?sitelink))", "paraphrases": ["Which entity has the Twitter/X username \"elonmusk\", and how many sitelinks does it have?", "Show me the Wikidata item for the Twitter/X account \"elonmusk\", sorted by the number of Wikipedia links it has."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"elonmusk\" ) ( \"SebleoufWP\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_139", "question": "Meteorological services and their Twitter usernames", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P31 wd:Q1266087 .\n  ?item wdt:P2002 ?username .\n}", "paraphrases": ["Which meteorological services have Twitter accounts, and what are their usernames?", "List all meteorological services along with their X (Twitter) usernames."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"EUStormMap\" ) ( \"string1\" ) ( \"StormHour\" ) } }"}}
{"id": "test_140", "question": "What is the English or German Wikimedia Commons category for the film with IMDb ID tt0248542?", "sparql": "SELECT ?item ?commonsPage WHERE { ?item wdt:P345 \"tt0248542\" . ?commonsPage schema:about ?item ; schema:inLanguage ?language . FILTER(?language IN (\"en\", \"de\")) }", "paraphrases": ["Show me the Wikimedia Commons category page in English or German related to the movie \"There Ain't No Santa Claus\".", "Which Commons category pages in English or German are associated with the IMDb movie ID tt0248542?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0248542\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_141", "question": "Persian labels of athletes and people with sports-related occupations on Wikidata", "sparql": "SELECT DISTINCT ?label WHERE { ?person wdt:P31 wd:Q5 . { ?person wdt:P106 ?occupation . ?occupation wdt:P279* wd:Q2066131 . } UNION { ?person wdt:P31 ?type . ?type wdt:P279* wd:Q2066131 . } ?person rdfs:label ?label . FILTER(LANG(?label) = \"fa\") }", "paraphrases": ["Who are the athletes and sports professionals with Persian-language labels on Wikidata?", "List all Persian-language names of humans whose occupation or type is athlete or a subclass of athlete."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { ?var2 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P106> ) ?var3 . ?var3 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> )* ?var4 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q2066131> ) ) ) . FILTER ( ( ( LANG ( ?var1 ) = \"fa\" ) ) ) . } } LIMIT 10 OFFSET 4030"}}
{"id": "test_142", "question": "What is the Turkish Wikipedia article about the album Emigrate?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?article WHERE {\n  ?article rdf:type schema:Article ; schema:about wd:Q898275 ; schema:inLanguage \"tr\" ; schema:isPartOf ?wiki .\n  ?wiki wikibase:wikiGroup \"wikipedia\" .\n}\nLIMIT 1", "paraphrases": ["Is there a Turkish-language Wikipedia page dedicated to the album Emigrate?", "Find the Turkish Wikipedia article that discusses the album Emigrate."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q898275> ; <http://schema.org/inLanguage> \"tr\"; <http://schema.org/isPartOf> ?var2 . ?var2 <http://wikiba.se/ontology#wikiGroup> \"string1\". } LIMIT 1"}}
{"id": "test_143", "question": "What film has the Cineplex Germany film ID 250982?", "sparql": "SELECT ?film WHERE { ?film wdt:P3077 \"250982\" . }", "paraphrases": ["Which movie in Wikidata is associated with the Cineplex ID 250982?", "I need to find the Wikidata entry for the film identified as 250982 in the Cineplex Germany database."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3077> \"250982\". }"}}
{"id": "test_144", "question": "Which entities on Wikidata have the Twitter username JohnLegere or OmegaWiki?", "sparql": "SELECT ?item ?twitterUsername WHERE { ?item wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"JohnLegere\" \"OmegaWiki\" } }", "paraphrases": ["Who are the people or organizations on Wikidata with the Twitter handles @JohnLegere and @OmegaWiki?", "Show me the Wikidata items corresponding to the Twitter usernames JohnLegere and OmegaWiki."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"JohnLegere\" ) ( \"string1\" ) ( \"CFrowein\" ) ( \"string2\" ) ( \"jkanihal\" ) ( \"Mina_Farid\" ) ( \"OmegaWiki\" ) ( \"string3\" ) ( \"Mad4NCAA\" ) ( \"string4\" ) ( \"string5\" ) } }"}}
{"id": "test_145", "question": "Does the ship with IMO number 9761542 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?ship wdt:P458 \"9761542\" .\n}", "paraphrases": ["Is there a ship in Wikidata registered with the IMO number 9761542?", "Confirm if the vessel identified by IMO 9761542 is listed in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P458> \"9761542\". }"}}
{"id": "test_146", "question": "Which lighthouses do not have geographic coordinates, and what are their Danish Wikipedia links?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?lighthouse ( GROUP_CONCAT( ?link ; separator = \"; \" ) AS ?wikipedia_links ) WHERE {\n  ?lighthouse wdt:P31 wd:Q39715 .\n  OPTIONAL {\n    ?lighthouse wdt:P625 ?coord .\n  }\n  FILTER ( ! BOUND( ?coord ) ) .\n  OPTIONAL {\n    ?article schema:about ?lighthouse ; schema:isPartOf <https://da.wikipedia.org/> ; schema:name ?title ; schema:inLanguage ?lang .\n    BIND( CONCAT ( \"[[:\" , ?lang , \"|\" , ?title , \"]]\" ) AS ?link ) FILTER ( BOUND( ?lang ) && BOUND( ?title ) )\n  }\n}\nGROUP BY ?lighthouse", "paraphrases": ["Show me Danish Wikipedia links for lighthouses missing coordinates.", "Are there any lighthouses without coordinates that are documented on the Danish Wikipedia?"], "info": {"raw_sparql": "SELECT ?var1 ( GROUP_CONCAT ( ?var2 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q39715> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . } FILTER ( ( !( BOUND ( ?var3 ) ) ) ) . OPTIONAL { BIND ( CONCAT ( \"[[:\", ?var4 , \":\", STR ( ?var5 ) , \"|\", ?var4 , \"]]\" ) AS ?var2 ). [] <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://da.wikipedia.org/> ; <http://schema.org/name> ?var5 ; <http://schema.org/inLanguage> ?var4 . } } GROUP BY ?var1"}}
{"id": "test_147", "question": "English label and description of the water Pok\u00e9mon type, and its image", "sparql": "SELECT ?label ?description ?image WHERE { OPTIONAL { wd:Q25588649 rdfs:label ?label . FILTER (LANG(?label) = \"en\") } OPTIONAL { wd:Q25588649 wdt:P18 ?image . } OPTIONAL { wd:Q25588649 schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["What is the English name and description of the water Pok\u00e9mon type, and does it have an associated image?", "Show me the English label and description of the water Pok\u00e9mon type, along with its image from Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q25588649> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q25588649> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q25588649> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_148", "question": "People born on August 5 with an Odia Wikipedia page", "sparql": "SELECT ?item ?itemLabel ?date ?wikipedia_page WHERE { ?wikipedia_page schema:about ?item ; schema:isPartOf <https://or.wikipedia.org/> . ?item p:P569/psv:P569 ?statement . ?statement wikibase:timeValue ?date ; wikibase:timePrecision \"11\"^^xsd:integer . FILTER (MONTH(?date) = 8 && DAY(?date) = 5) . ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") }", "paraphrases": ["Who are the people born on August 5th that have a Wikipedia page in the Odia language?", "List all individuals born on August 5 who are documented on the Odia Wikipedia."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 ^ <http://schema.org/about> ?var3 . ?var3 <http://schema.org/isPartOf> <https://or.wikipedia.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"or,en\". } ?var4 <http://wikiba.se/ontology#timePrecision> \"11\"^^<http://www.w3.org/2001/XMLSchema#integer> . ?var4 <http://wikiba.se/ontology#timeValue> ?var2 . FILTER ( ( ( MONTH ( ?var2 ) = \"8\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( DAY ( ?var2 ) = \"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var1 ( <http://www.wikidata.org/prop/P569> / <http://www.wikidata.org/prop/statement/value/P569> ) ?var4 . }"}}
{"id": "test_149", "question": "Film with FilmAffinity ID 153843", "sparql": "SELECT ?film WHERE { ?film wdt:P480 \"153843\" . }", "paraphrases": ["Which film has the FilmAffinity ID 153843?", "Can you tell me the title of the film identified as 153843 on FilmAffinity?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P480> \"153843\". }"}}
{"id": "test_150", "question": "Film directors from Chile who studied at Spanish-named universities.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?directorLabel ?universityLabel WHERE {\n  ?university wdt:P31 wd:Q3918 .\n  ?university wdt:P17 wd:Q298 .\n  ?university rdfs:label ?universityLabel .\n  FILTER(LANG(?universityLabel) = \"es\")\n  .\n  ?director wdt:P69 ?university .\n  ?director wdt:P106 wd:Q2526255 .\n  ?director rdfs:label ?directorLabel .\n  FILTER(LANG(?directorLabel) = \"es\")\n}", "paraphrases": ["Which Spanish-named film directors from Chile attended Spanish-named universities?", "List the names of Chilean film directors and the Spanish names of the universities they attended."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3918> . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var3 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q298> . ?var4 <http://www.wikidata.org/prop/direct/P69> ?var3 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . ?var4 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q2526255> . ?var4 <http://www.wikidata.org/prop/direct/P57> ?var5 . FILTER ( ( ( LANG ( ?var2 ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var1 ) = \"es\" ) ) ) . }"}}
{"id": "test_151", "question": "What film has the Russian Ministry of Culture ID 187345147?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P2636 \"187345147\" .\n}", "paraphrases": ["Which movie is identified by the code 187345147 in Russia\u2019s official film register?", "Can you tell me the title of the film registered in Russia as 187345147?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2636> \"187345147\". }"}}
{"id": "test_152", "question": "Persian-language labels of athletes or people with occupations related to athletics.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?label WHERE {\n  ?person ( wdt:P31 | wdt:P106 ) ?class .\n  ?class ( wdt:P31 | wdt:P279 ) * wd:Q2066131 .\n  ?person rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"fa\" )\n}\nLIMIT 10\nOFFSET 10760", "paraphrases": ["Who are some athletes (or people in related professions) with Persian-language names?", "List 10 Persian-language names of people who are either athletes or belong to a subclass of athlete, skipping the first 10,760 results."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { ?var2 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P106> ) ?var3 . ?var3 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> )* ?var4 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q2066131> ) ) ) . FILTER ( ( ( LANG ( ?var1 ) = \"fa\" ) ) ) . } } LIMIT 10 OFFSET 10760"}}
{"id": "test_153", "question": "Is Team Dukla Praha Women 2018 a human?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q47088009 wdt:P31 / wdt:P279 * wd:Q5\n}", "paraphrases": ["Does the cycling team season Team Dukla Praha Women 2018 belong to the category of humans?", "Check whether Team Dukla Praha Women 2018 is classified as a human or any of its superclasses."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q47088009> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_154", "question": "Coat of arms image of Buchs, Switzerland", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?coatOfArms WHERE {\n  wd:Q67539 wdt:P94 ?coatOfArms .\n}", "paraphrases": ["What is the coat of arms of Buchs in the canton of Z\u00fcrich?", "Show me the official coat of arms image for the municipality of Buchs, Z\u00fcrich."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://classifications.data.admin.ch/municipality/1373> <http://www.wikidata.org/prop/direct/P94> ?var1 ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q70208> . }"}}
{"id": "test_155", "question": "What film has the Cineplex Germany film ID 37461?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P3077 \"37461\" .\n}", "paraphrases": ["Which movie is identified by the Cineplex ID 37461 in Wikidata?", "Find the Wikidata item for the film with the Cineplex Germany film ID \"37461\"."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3077> \"37461\". }"}}
{"id": "test_156", "question": "What is the English label and description of the entity with YSO ID 109296?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P2347 \"109296\" . OPTIONAL { ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") } OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Can you tell me the name and English description of the place identified by the YSO ID 109296?", "Show me the English name and description of the Italian comune that has the YSO ID 109296."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2347> \"109296\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_157", "question": "KATO ID 433237100 in Kazakhstan", "sparql": "ASK WHERE { ?item wdt:P4838 \"433237100\" . }", "paraphrases": ["Is there a village in Kazakhstan with the KATO ID 433237100?", "Check if the administrative code 433237100 corresponds to a location in Kazakhstan."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4838> \"433237100\". }"}}
{"id": "test_158", "question": "Which film has the OFDb ID 3804?", "sparql": "SELECT ?film WHERE { ?film wdt:P3138 \"3804\" . }", "paraphrases": ["What is the Wikidata item for the movie with OFDb ID 3804?", "Tell me the film associated with OFDb ID 3804."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3138> \"3804\". }"}}
{"id": "test_159", "question": "Does the ship with IMO number 9334703 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?ship wdt:P458 \"9334703\" .\n}", "paraphrases": ["Is there a ship registered with the IMO number 9334703 in Wikidata?", "Check if the IMO ship number 9334703 is assigned to any vessel in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P458> \"9334703\". }"}}
{"id": "test_160", "question": "Polish athletes and their occupations, including subclasses.", "sparql": "SELECT DISTINCT ?person ?personLabel ?occupationLabel WHERE { ?person wdt:P31 wd:Q5 ; wdt:P27 wd:Q36 ; (wdt:P106 / wdt:P279) wd:Q2066131 . ?person (wdt:P106 / wdt:P279) ?occupation . ?person rdfs:label ?personLabel . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?personLabel) = \"en\") FILTER(LANG(?occupationLabel) = \"en\") } ORDER BY ?personLabel", "paraphrases": ["Who are the Polish humans who are athletes or sports competitors, and what are all their related occupations?", "List all Polish athletes and the occupations they are classified under, including direct subclasses."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q2066131> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q36> . ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> ) ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } }"}}
{"id": "test_161", "question": "Film with Cineplex Germany ID 186144", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P3077 \"186144\" .\n}", "paraphrases": ["Which movie is identified by the Cineplex Germany film ID 186144?", "Tell me the film that has the Cineplex ID 186144."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3077> \"186144\". }"}}
{"id": "test_162", "question": "What Wikidata item corresponds to the GECD film ID 26771?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P3367 \"26771\" .\n}", "paraphrases": ["Which film in Wikidata has the GECD ID 26771?", "Find the Wikidata entry for the German silent film identified as 26771 in the German Early Cinema Database."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3367> \"26771\". }"}}
{"id": "test_163", "question": "Is there a Wikidata item for the OCLC number 7186174?", "sparql": "ASK WHERE { ?item wdt:P243 \"7186174\" . }", "paraphrases": ["Does the OCLC control number 7186174 correspond to any item in Wikidata?", "Check if the bibliographic record with OCLC number 7186174 is represented in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P243> \"7186174\". }"}}
{"id": "test_164", "question": "Wikimedia pages about Samuel Colman using his ULAN ID 500031860", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdtn: <http://www.wikidata.org/prop/direct-normalized/>\nSELECT ?page ?artist WHERE {\n  ?artist wdtn:P245 <http://vocab.getty.edu/ulan/500031860> .\n  ?page schema:about ?artist .\n}", "paraphrases": ["What Wikipedia and Wikimedia pages are about the artist with ULAN ID 500031860?", "Show me all the Wikipedia editions and Commons pages linked to Samuel Colman via his Getty ULAN identifier."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/direct-normalized/P245> <http://vocab.getty.edu/ulan/500031860> . ?var1 <http://schema.org/about> ?var2 . }"}}
{"id": "test_165", "question": "Which Wikidata entities have Twitter usernames jordanbpeterson, CityOfBoston, melroserugby, or deventergem, sorted by Wikipedia popularity?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"jordanbpeterson\" \"CityOfBoston\" \"melroserugby\" \"deventergem\"\n  }\n}\nORDER BY DESC ( wikibase:sitelinks )", "paraphrases": ["Who are the people or organizations on Wikidata with the Twitter handles jordanbpeterson, CityOfBoston, melroserugby, or deventergem, and which one has the most Wikipedia pages?", "List the Wikidata items for the Twitter accounts jordanbpeterson, CityOfBoston, melroserugby, and deventergem, ordered by their number of Wikipedia language editions."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"jordan_JD_\" ) ( \"string2\" ) ( \"sundy36\" ) ( \"string3\" ) ( \"LibTropez\" ) ( \"bertilleAG\" ) ( \"bdagay\" ) ( \"string4\" ) ( \"string5\" ) ( \"Muddiman83\" ) ( \"ArcadieP\" ) ( \"stargoolds\" ) ( \"string6\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_166", "question": "What are the names of chess players listed in Wikidata?", "sparql": "SELECT ?chessPlayer ?chessPlayerLabel WHERE { ?chessPlayer wdt:P106 wd:Q10873124 . ?chessPlayer rdfs:label ?chessPlayerLabel . FILTER (LANG(?chessPlayerLabel) = \"en\") }", "paraphrases": ["Can you list the English labels of all people whose occupation is chess player?", "Show me the names of individuals who are professional chess players."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q211236> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q10873124> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_167", "question": "What are the most common ethnic groups among people with GTAA IDs in audiovisual archives?", "sparql": "SELECT ?ethnicGroupLabel (COUNT(?item) AS ?count) WHERE { ?item wdt:P1741 ?gtaaId . ?item wdt:P172 ?ethnicGroup . ?ethnicGroup rdfs:label ?ethnicGroupLabel . FILTER(LANG(?ethnicGroupLabel) = \"en\") } GROUP BY ?ethnicGroupLabel ORDER BY DESC(?count)", "paraphrases": ["How many individuals with GTAA IDs belong to each ethnic group, sorted from most to least common?", "Can you list the ethnicities of people in audiovisual archives who have GTAA identifiers, ranked by how many people share each ethnicity?"], "info": {"raw_sparql": "SELECT ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P1741> ?var4 . ?var2 <http://www.wikidata.org/prop/direct/P172> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl\". } } GROUP BY ?var1Label ORDER BY DESC( ?var3 )"}}
{"id": "test_168", "question": "Coat of arms image of Ausserberg, Switzerland", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?coatOfArmsImage WHERE {\n  wd:Q68022 wdt:P94 ?coatOfArmsImage .\n}", "paraphrases": ["What is the image of the coat of arms for the municipality of Ausserberg in Switzerland?", "Show me the SVG file of the coat of arms used by Ausserberg, a municipality in Switzerland."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q68022> <http://www.wikidata.org/prop/direct/P94> ?var1 . }"}}
{"id": "test_169", "question": "What film has the Cineplex Germany film ID 81530?", "sparql": "SELECT ?film WHERE { ?film wdt:P3077 \"81530\" . }", "paraphrases": ["Which movie in Wikidata is associated with the Cineplex ID 81530?", "Can you find the Wikidata item for the film identified as 81530 in the Cineplex Germany database?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3077> \"81530\". }"}}
{"id": "test_170", "question": "Is there a historic place in Wikidata with NRHP reference number 07001278?", "sparql": "ASK WHERE { ?item wdt:P649 \"07001278\" . }", "paraphrases": ["Does the National Register of Historic Places ID 07001278 exist in Wikidata?", "Check if the NRHP number 07001278 is assigned to any historic site in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P649> \"07001278\". }"}}
{"id": "test_171", "question": "What were Cristina Mo\u0219in\u2019s highest Elo ratings and when were they recorded?", "sparql": "PREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?date ?eloRating WHERE {\n  wd:Q1030424 p:P1087 ?statement .\n  ?statement pq:P585 ?date ; ps:P1087 ?eloRating .\n}\nORDER BY DESC ( ?eloRating )", "paraphrases": ["Can you list Cristina Mo\u0219in\u2019s chess Elo ratings in descending order along with the dates they were published?", "Over time, what were Cristina Mo\u0219in\u2019s Elo ratings in classical chess, from highest to lowest?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { <http://www.wikidata.org/entity/Q1030424> <http://www.wikidata.org/prop/P1087> ?var1 . ?var1 <http://www.wikidata.org/prop/qualifier/P585> ?var2 ; <http://www.wikidata.org/prop/statement/P1087> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,de\". } } ORDER BY DESC( ?var3 )"}}
{"id": "test_172", "question": "What is the Turkish Wikipedia article about the episode \"Potential\" from Buffy the Vampire Slayer?", "sparql": "SELECT ?article WHERE { ?article rdf:type schema:Article ; schema:about wd:Q3212226 ; schema:inLanguage \"tr\" ; schema:isPartOf ?wiki . ?wiki wikibase:wikiGroup \"wikipedia\" . }", "paraphrases": ["Is there a Turkish-language Wikipedia page about the Buffy episode \"Potential\"?", "Which Turkish Wikipedia page covers the seventh season, twelfth episode of Buffy the Vampire Slayer?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q3212226> ; <http://schema.org/inLanguage> \"tr\"; <http://schema.org/isPartOf> ?var2 . ?var2 <http://wikiba.se/ontology#wikiGroup> \"string1\". } LIMIT 1"}}
{"id": "test_173", "question": "People who died on July 3rd and have an Odia Wikipedia page, with their English names and death dates.", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nSELECT ?person ?label ?deathDate ?wikiPage WHERE {\n  ?person ^ schema:about ?wikiPage .\n  ?wikiPage schema:isPartOf <https://or.wikipedia.org/> .\n  ?person p:P570 ?statement .\n  ?statement psv:P570 ?deathValue .\n  ?deathValue wikibase:timeValue ?deathDate .\n  ?deathValue wikibase:timePrecision \"11\" ^^ xsd:integer .\n  FILTER(MONTH(?deathDate) = 7 && DAY(?deathDate) = 3)\n  .\n  ?person rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["Who are the people that died on July 3rd and are featured on the Odia Wikipedia, and what are their English names and exact dates of death?", "List all individuals who died on July 3rd, have a corresponding page on the Odia Wikipedia, and provide their English labels and death dates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 ^ <http://schema.org/about> ?var3 . ?var3 <http://schema.org/isPartOf> <https://or.wikipedia.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"or,en\". } ?var4 <http://wikiba.se/ontology#timePrecision> \"11\"^^<http://www.w3.org/2001/XMLSchema#integer> . ?var4 <http://wikiba.se/ontology#timeValue> ?var2 . FILTER ( ( ( MONTH ( ?var2 ) = \"7\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( DAY ( ?var2 ) = \"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var1 ( <http://www.wikidata.org/prop/P570> / <http://www.wikidata.org/prop/statement/value/P570> ) ?var4 . }"}}
{"id": "test_174", "question": "People educated at \u00c9cole nationale d'administration between 2002 and 2006 with start and end dates.", "sparql": "SELECT ?person ?personLabel ?startDate ?endDate ?image WHERE { ?person wdt:P69 wd:Q273579 . ?person p:P69 ?statement . ?statement ps:P69 wd:Q273579 . ?statement pq:P580 ?startDate . ?statement pq:P582 ?endDate . ?person rdfs:label ?personLabel . FILTER ( ?startDate >= \"2002-01-01T00:00:00Z\"^^xsd:dateTime && ?endDate <= \"2006-01-01T00:00:00Z\"^^xsd:dateTime ) FILTER(LANG(?personLabel) = \"en\") OPTIONAL { ?person wdt:P18 ?image } } ORDER BY ASC(?personLabel)", "paraphrases": ["Who were the students of \u00c9cole nationale d'administration from 2002 to 2006, and when did they start and end their studies?", "List the English-named alumni of \u00c9cole nationale d'administration who attended between 2002 and 2006, including their enrollment periods and any available images."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label ?var4 ?var5 ?var6Label ?var7 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P69> <http://www.wikidata.org/entity/Q273579> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var1 <http://www.wikidata.org/prop/P69> ?var8 . ?var8 <http://www.wikidata.org/prop/statement/P69> ?var3 . ?var8 <http://www.wikidata.org/prop/qualifier/P580> ?var4 . ?var8 <http://www.wikidata.org/prop/qualifier/P582> ?var5 . FILTER ( ( ( ?var4 >= \"2002-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var5 <= \"2006-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_175", "question": "What are the English and German Wikipedia page titles for the movie with IMDb ID tt0076759?", "sparql": "SELECT DISTINCT ?movieLabel ?pageTitle ?imdbId WHERE { ?movie wdt:P345 \"tt0076759\" . ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang IN (\"en\", \"de\")) . BIND(\"tt0076759\" AS ?imdbId) . BIND(strafter(str(?wikipediaPage), \"https://\") AS ?url) . BIND(strafter(?url, \".wikipedia.org/wiki/\") AS ?pageTitle) . ?movie rdfs:label ?movieLabel . FILTER(LANG(?movieLabel) = ?lang) . FILTER(BOUND(?pageTitle) && ?pageTitle != \"\") }", "paraphrases": ["Show me the labels and Wikipedia page titles for Star Wars: A New Hope in English and German.", "Which Wikipedia articles in English and German are about the film Star Wars: Episode IV \u2013 A New Hope, and what are their titles?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0073801\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_176", "question": "Which ship has IMO number 9102978?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?ship WHERE {\n  ?ship wdt:P458 \"9102978\" .\n}", "paraphrases": ["What is the name of the ship identified by the IMO number 9102978?", "I need to find the ship associated with the IMO registration number 9102978."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P458> \"9102978\". } LIMIT 1"}}
{"id": "test_177", "question": "What is the type and name of the Athens Olympic Tennis Centre in English?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?typeLabel ?venueLabel WHERE {\n  wd:Q3497458 wdt:P31 ?type ; rdfs:label ?venueLabel .\n  ?type rdfs:label ?typeLabel .\n  FILTER ( LANG( ?venueLabel ) = \"en\" ) FILTER ( LANG( ?typeLabel ) = \"en\" )\n}", "paraphrases": ["What class of entity is the Athens Olympic Tennis Centre, and what is its English label?", "Show me the English label of the Athens Olympic Tennis Centre and the English label of its type."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { <http://www.wikidata.org/entity/Q3497458> <http://www.wikidata.org/prop/direct/P31> ?var3 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( \"en\" = LANG ( ?var2Label ) ) ) ) . FILTER ( ( ( \"en\" = LANG ( ?var1 ) ) ) ) . }"}}
{"id": "test_178", "question": "What is the Turkish title of the Buffy the Vampire Slayer episode \"The Body\"?", "sparql": "SELECT ?title WHERE { wd:Q651192 rdfs:label ?title . FILTER(LANG(?title) = \"tr\") }", "paraphrases": ["How is \"The Body\" (Buffy episode) called in Turkish?", "Is there a Turkish name for the episode \"The Body\" from Buffy the Vampire Slayer?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q651192> ; <http://schema.org/inLanguage> \"tr\"; <http://schema.org/isPartOf> ?var2 . ?var2 <http://wikiba.se/ontology#wikiGroup> \"string1\". } LIMIT 1"}}
{"id": "test_179", "question": "Populations of places in Western Australia with ASGS 2016 IDs starting with SSC, sorted highest first.", "sparql": "SELECT DISTINCT ?entityLabel ?population WHERE { ?entity wdt:P131 wd:Q3206 . ?entity wdt:P1082 ?population . ?entity wdt:P4093 ?asgsId . FILTER(STRSTARTS(?asgsId, \"SSC\")) . ?entity rdfs:label ?entityLabel . FILTER(LANG(?entityLabel) = \"en\") } ORDER BY DESC(?population)", "paraphrases": ["What are the populations of locations in Western Australia whose Australian Statistical Geography Standard 2016 ID starts with \"SSC\", listed from highest to lowest population?", "List the English names and populations of all places in Western Australia that have an ASGS 2016 ID beginning with \"SSC\", ordered by population in descending order."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q3206> . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P4093> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( STRSTARTS ( ?var4 , \"SSC\" ) ) ) . } GROUP BY ?var2 ?var1Label ?var3Label ORDER BY DESC( ?var2 )"}}
{"id": "test_180", "question": "Remarkable trees in \u017d\u010f\u00e1r nad S\u00e1zavou District, Czech Republic, with coordinates, \u00daSOP codes, perimeter, and images.", "sparql": "SELECT DISTINCT ?tree ?treeLabel ?districtLabel ?coordinates ?usopCode ?perimeter ?image WHERE { ?tree wdt:P31 wd:Q811534 . ?tree wdt:P17 wd:Q213 . ?tree wdt:P131 ?district . ?district wdt:P131 wd:Q579648 . OPTIONAL { ?tree wdt:P625 ?coordinates . } OPTIONAL { ?tree wdt:P677 ?usopCode . } OPTIONAL { ?tree wdt:P2547 ?perimeter . } OPTIONAL { ?tree wdt:P18 ?image . } OPTIONAL { ?tree rdfs:label ?treeLabel . FILTER(LANG(?treeLabel) = \"en\") } OPTIONAL { ?district rdfs:label ?districtLabel . FILTER(LANG(?districtLabel) = \"en\") } } ORDER BY ASC(?treeLabel)", "paraphrases": ["What are the protected trees in the \u017d\u010f\u00e1r nad S\u00e1zavou District of the Czech Republic, and what are their locations, identification codes, sizes, and photos?", "List all notable trees in the \u017d\u010f\u00e1r nad S\u00e1zavou District, including their English names, geographic coordinates, Czech national protection codes (\u00daSOP), trunk perimeters, and Wikimedia Commons images."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4 ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q811534> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q213> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P131> ?var7 . ?var2 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q579648> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P677> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2547> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var6 . } ?var1 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/qualifier/P580> ) ?var8 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_181", "question": "Is Haplogroup K1a1b1 a kind of software?", "sparql": "ASK WHERE { wd:Q45769179 (wdt:P31/wdt:P279*) wd:Q7397 . }", "paraphrases": ["Does the mitochondrial DNA haplogroup K1a1b1 belong to the category of software?", "Is software a superclass of Haplogroup K1a1b1?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q45769179> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_182", "question": "Video games with ZXDB ID, Internet Archive ID, and an image on Wikimedia Commons.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?game ?label ?zxdbId ?iaId ?image WHERE {\n  ?game wdt:P4705 ?zxdbId .\n  ?game wdt:P724 ?iaId .\n  ?game wdt:P18 ?image .\n  ?game rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["Which video games have both a ZXDB identifier and an Internet Archive identifier, along with an associated image on Commons?", "Show me video games that are listed in ZXDB and Internet Archive, and have a playable screenshot or box art image on Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4705> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P724> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_183", "question": "What Wikidata item is associated with the Twitter handle \"CityOfBoston\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?handle WHERE {\n  ?item wdt:P2002 ?handle .\n  VALUES ?handle {\n    \"CityOfBoston\"\n  }\n}", "paraphrases": ["Find the entity on Wikidata that has the Twitter username \"CityOfBoston\".", "Which organization or place has the Twitter account @CityOfBoston?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"Actuenviro\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_184", "question": "What English or German-language pages (like Wikipedia or Commons) are about the movie with IMDb ID tt0052169?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?page WHERE {\n  ?item wdt:P345 \"tt0052169\" .\n  ?page schema:about ?item .\n  {\n    ?page schema:inLanguage \"en\" .\n  } UNION {\n    ?page schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Show me the Wikipedia, Wikiquote, and Commons pages in English or German related to the film \"The Screaming Skull\".", "Which language versions of online resources link to the movie identified by IMDb ID tt0052169?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0052169\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_185", "question": "Film with Cin\u00e9-Ressources ID 103172", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P3203 \"103172\" .\n}", "paraphrases": ["Which film is identified by the Cin\u00e9-Ressources ID 103172?", "Can you tell me the title of the French documentary film from 1972 that has the Cin\u00e9-Ressources ID 103172?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3203> \"103172\". }"}}
{"id": "test_186", "question": "What is the coat of arms image of Altendorf, Switzerland?", "sparql": "SELECT ?coatOfArmsImage WHERE { wd:Q69625 wdt:P94 ?coatOfArmsImage ; wdt:P31 wd:Q70208 .}", "paraphrases": ["Can you show me the official coat of arms SVG file for the Swiss municipality of Altendorf?", "Which image represents the heraldic emblem of Altendorf, given that it is a municipality in Switzerland?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q69625> <http://www.wikidata.org/prop/direct/P94> ?var1 ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q70208> . }"}}
{"id": "test_187", "question": "What Pok\u00e9mon species are immediately preceded by another Pok\u00e9mon in their game Pok\u00e9dex or evolutionary line?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?pokemonLabel ?previousPokemonLabel WHERE {\n  ?pokemon(wdt:P31 / wdt:P279 *) wd:Q3966183 .\n  ?pokemon p:P361 ?partStatement .\n  ?partStatement ps:P361 ?group ; pq:P155 ?previousPokemon .\n  ?pokemon rdfs:label ?pokemonLabel .\n  ?previousPokemon rdfs:label ?previousPokemonLabel .\n  FILTER(LANG(?pokemonLabel) = \"en\")\n  FILTER(LANG(?previousPokemonLabel) = \"en\")\n}", "paraphrases": ["For each Pok\u00e9mon, which Pok\u00e9mon comes right before it in its evolutionary chain or in the Pok\u00e9dex order of a specific game?", "List pairs of Pok\u00e9mon where one directly follows the other in a sequence, such as within a game's Pok\u00e9dex or an evolutionary line."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3966183> . ?var1 <http://www.wikidata.org/prop/P361> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P361> ?var4 ; <http://www.wikidata.org/prop/qualifier/P155> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,de,en\". } }"}}
{"id": "test_188", "question": "Films and their composers", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?film ?composer ?composerLabel WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P86 ?composer .\n  ?composer rdfs:label ?composerLabel .\n  FILTER ( LANG( ?composerLabel ) = \"en\" )\n}\nLIMIT 200", "paraphrases": ["Who composed the music for films?", "List 200 films along with the names of their composers in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P86> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE], en\". } } LIMIT 200 OFFSET 21000"}}
{"id": "test_189", "question": "List remarkable trees in the Czech Republic with their protection start dates, districts, regions, and images.", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?tree ?treeLabel ?protectionStartDate ?district ?districtLabel ?coordinates ?usopCode ?perimeter ?image ?region ?regionLabel WHERE {\n  ?tree wdt:P31 wd:Q811534 .\n  ?tree wdt:P17 wd:Q213 .\n  ?tree wdt:P131 ?district .\n  ?district wdt:P131 ?region .\n  OPTIONAL {\n    ?tree wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    ?tree wdt:P677 ?usopCode .\n  }\n  OPTIONAL {\n    ?tree wdt:P2547 ?perimeter .\n  }\n  OPTIONAL {\n    ?tree wdt:P18 ?image .\n  }\n  ?tree ( p:P31 / pq:P580 ) ?protectionStartDate .\n  OPTIONAL {\n    ?tree rdfs:label ?treeLabel .\n  }\n  OPTIONAL {\n    ?district rdfs:label ?districtLabel .\n  }\n  OPTIONAL {\n    ?region rdfs:label ?regionLabel .\n  }\n  FILTER ( ! BOUND( ?treeLabel ) || LANG( ?treeLabel ) = \"en\" ) FILTER ( ! BOUND( ?districtLabel ) || LANG( ?districtLabel ) = \"en\" ) FILTER ( ! BOUND( ?regionLabel ) || LANG( ?regionLabel ) = \"en\" )\n}\nORDER BY DESC ( ?regionLabel )", "paraphrases": ["Which remarkable trees in the Czech Republic have been officially protected, and what are their locations, perimeter, and associated images?", "Show me all notable trees in the Czech Republic, sorted by region, including when they were protected, their administrative districts, and any available photos or measurements."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5 ?var6 ?var7 ?var8Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q811534> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q213> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P131> ?var8 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P677> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2547> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var7 . } ?var1 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/qualifier/P580> ) ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } } ORDER BY DESC( ?var8 )"}}
{"id": "test_190", "question": "What is the entity with YSO ID 109135 and its label and English description?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item(SAMPLE(?label) AS ?itemLabel) ?description WHERE {\n  ?item wdt:P2347 \"109135\" .\n  OPTIONAL {\n    ?item rdfs:label ?label .\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}\nGROUP BY ?item ?description", "paraphrases": ["Can you find the Wikidata item that has the YSO ID 109135 and tell me its label and whether it has an English description?", "Show me the label and English description of the geographic location identified by YSO ID 109135."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2347> \"109135\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_191", "question": "Who are the players that have played for FC Metz?", "sparql": "SELECT DISTINCT ?player ?playerLabel WHERE { ?player wdt:P54 wd:Q221525 . ?player rdfs:label ?playerLabel . FILTER(LANG(?playerLabel) = \"en\") }", "paraphrases": ["List of FC Metz football players", "Can you provide the names of all athletes who have been members of the French football club FC Metz?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P54> <http://www.wikidata.org/entity/Q221525> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_192", "question": "Danish labels and descriptions of properties used on lighthouses in Wikidata", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?propertyItem ?propertyLabel ?propertyDescription WHERE {\n  ?lighthouse wdt:P31 wd:Q39715 .\n  ?lighthouse ?property ?value .\n  FILTER ( STRSTARTS( STR( ?property ) , \"http://www.wikidata.org/prop/direct/\" ) ) .\n  BIND( IRI( REPLACE( STR( ?property ) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\" ) ) AS ?propertyItem ) .\n  ?propertyItem rdfs:label ?propertyLabel .\n  ?propertyItem schema:description ?propertyDescription .\n  FILTER ( LANG( ?propertyLabel ) = \"da\" ) FILTER ( LANG( ?propertyDescription ) = \"da\" )\n}\nLIMIT 100", "paraphrases": ["What properties are used on lighthouses, and what are their labels and descriptions in Danish?", "Show me the Danish labels and descriptions of all properties that are used to describe lighthouses in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q39715> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"da\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"da\" ) ) ) . } LIMIT 100"}}
{"id": "test_193", "question": "Who are the people born on August 31 that have a Wikipedia article in Odia?", "sparql": "SELECT ?item (SAMPLE(?lab) AS ?label) ?birthDate ?article WHERE { ?item ^ schema:about ?article . ?article schema:isPartOf <https://or.wikipedia.org/> . ?item p:P569/psv:P569 ?valueNode . ?valueNode wikibase:timeValue ?birthDate . ?valueNode wikibase:timePrecision \"11\"^^xsd:integer . FILTER(MONTH(?birthDate) = 8 && DAY(?birthDate) = 31) OPTIONAL { ?item rdfs:label ?lab } } GROUP BY ?item ?birthDate ?article", "paraphrases": ["List individuals with a birth date of August 31 and an Odia Wikipedia page.", "Which notable people were born on August 31 and are featured on the Odia Wikipedia?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 ^ <http://schema.org/about> ?var3 . ?var3 <http://schema.org/isPartOf> <https://or.wikipedia.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"or,en\". } ?var4 <http://wikiba.se/ontology#timePrecision> \"11\"^^<http://www.w3.org/2001/XMLSchema#integer> . ?var4 <http://wikiba.se/ontology#timeValue> ?var2 . FILTER ( ( ( MONTH ( ?var2 ) = \"8\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( DAY ( ?var2 ) = \"31\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var1 ( <http://www.wikidata.org/prop/P569> / <http://www.wikidata.org/prop/statement/value/P569> ) ?var4 . }"}}
{"id": "test_194", "question": "What film has the film-documentaire.fr ID 25253?", "sparql": "SELECT ?film WHERE { ?film wdt:P3673 \"25253\" .}", "paraphrases": ["Which documentary film is identified by the identifier 25253 in the film-documentaire.fr database?", "Can you find the film in Wikidata that corresponds to the film-documentaire.fr ID 25253?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3673> \"25253\". }"}}
{"id": "test_195", "question": "What is the Wikidata item for the TV series with MyDramaList ID 3443?", "sparql": "SELECT ?item WHERE { ?item wdt:P3868 \"3443\" . }", "paraphrases": ["Which TV show or movie on Wikidata has the MyDramaList title ID 3443?", "Show me the Wikidata entry for the drama 'Haan' using its MyDramaList ID 3443."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3868> \"3443\". }"}}
{"id": "test_196", "question": "Players who played for FC Metz, including their birth dates, nationalities, and occupations.", "sparql": "SELECT ?player ?playerLabel ?description ?birthDate ?country ?occupation ?occupationLabel WHERE { ?player wdt:P54 wd:Q221525 . OPTIONAL { ?player rdfs:label ?playerLabel . FILTER(LANG(?playerLabel) = \"en\") } OPTIONAL { ?player schema:description ?description . FILTER(LANG(?description) = \"en\") } OPTIONAL { ?player wdt:P569 ?birthDate } OPTIONAL { ?player wdt:P27 ?country } OPTIONAL { ?player wdt:P106 ?occupation } OPTIONAL { ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = \"en\") } } ORDER BY ?playerLabel", "paraphrases": ["Who are the players that have played for FC Metz, and what are their birth dates, countries, and professions?", "List all footballers associated with FC Metz along with their English descriptions, dates of birth, citizenships, and roles (e.g., player or manager)."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P54> <http://www.wikidata.org/entity/Q221525> . ?var1 ?var2 ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_197", "question": "Who is the most documented historical Chinese person born before 1900 on Chinese Wikipedia?", "sparql": "SELECT ?person (COUNT(?wikipediaPage) AS ?count) WHERE { VALUES ?labelProp { rdfs:label skos:altLabel } ?person ?labelProp ?label . FILTER(LANG(?label) = 'zh-hant') ?person wdt:P31 wd:Q5 . ?person wdt:P569 ?birth . FILTER(YEAR(?birth) < 1900) ?wikipediaPage schema:about ?person ; schema:isPartOf <https://zh.wikipedia.org/> . } GROUP BY ?person ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which person with a Traditional Chinese name, born before 1900, has the most Wikipedia articles written about them in Chinese?", "Find the person with a Traditional Chinese label, born before 1900, who has the highest number of Chinese Wikipedia articles about them."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { VALUES ( ?var4 ) { ( <http://www.w3.org/2000/01/rdf-schema#label> ) ( <http://www.w3.org/2004/02/skos/core#altlabel> ) } ?var1 ?var4 \"\u9673\u9326\u6c5f\"@zh-hant ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var2 <http://schema.org/about> ?var1 . } MINUS { BIND ( YEAR ( ?var5 ) AS ?var6 ). ?var1 <http://www.wikidata.org/prop/direct/P569> ?var5 . FILTER ( ( ( ?var6 > \"1899\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } } GROUP BY ?var1 ORDER BY DESC( ?var3 ) LIMIT 1"}}
{"id": "test_198", "question": "Spanish films directed by Chilean university alumni, with director and university names, ordered by release date.", "sparql": "SELECT ?filmLabel ?directorLabel ?universityLabel WHERE { ?director wdt:P31 wd:Q5 . ?director wdt:P69 ?university . ?director wdt:P106 wd:Q2526255 . ?university wdt:P31 wd:Q3918 . ?university wdt:P17 wd:Q298 . ?film wdt:P31 wd:Q11424 . ?film wdt:P57 ?director . ?film wdt:P577 ?publicationDate . ?film rdfs:label ?filmLabel . ?director rdfs:label ?directorLabel . ?university rdfs:label ?universityLabel . FILTER(LANG(?filmLabel) = \"es\") FILTER(LANG(?directorLabel) = \"es\") FILTER(LANG(?universityLabel) = \"es\") } ORDER BY DESC(?publicationDate)", "paraphrases": ["Which Spanish-language films were directed by people educated at universities in Chile, and who are the directors and their universities?", "List Spanish-language films made by directors who attended Chilean universities, including the directors\u2019 names and the universities they graduated from, sorted from newest to oldest film."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var5 <http://www.wikidata.org/prop/direct/P69> ?var6 . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var5 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q2526255> . ?var6 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3918> . ?var6 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q298> . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var7 <http://www.wikidata.org/prop/direct/P57> ?var5 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . ?var7 <http://www.wikidata.org/prop/direct/P577> ?var8 . FILTER ( ( ( LANG ( ?var2 ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var1 ) = \"es\" ) ) ) . } ORDER BY DESC( ?var8 )"}}
{"id": "test_199", "question": "Female rowers from New Zealand with no other occupations and no Spanish description.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person WHERE {\n  ?person wdt:P106 wd:Q13382576 ; wdt:P27 wd:Q664 ; wdt:P21 wd:Q6581072 .\n  FILTER NOT EXISTS {\n    ?person wdt:P106 ?otherOccupation .\n    FILTER ( ?otherOccupation != wd:Q13382576 )\n  }\n  OPTIONAL {\n    ?person schema:description ?desc .\n    FILTER ( LANG( ?desc ) = \"es\" )\n  }\n  FILTER ( ! BOUND( ?desc ) )\n}", "paraphrases": ["Who are the female rowers from New Zealand who have no other occupation besides rowing and do not have a Spanish-language description?", "List all female New Zealand citizens whose only occupation is rowing and who do not have a Spanish Wikipedia description."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q13382576> ; <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q664> ; <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var2 . FILTER ( ( ( ?var2 != <http://www.wikidata.org/entity/Q13382576> ) ) ) . } ) ) . OPTIONAL { ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"es\" ) ) ) . } FILTER ( ( !( BOUND ( ?var3 ) ) ) ) . }"}}
{"id": "test_200", "question": "What is the English label and description of the Finnish YSO concept with ID 173476?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P2347 \"173476\" . OPTIONAL { ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") } OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Can you tell me the name and description in English of the place identified by YSO ID 173476?", "Which village in Finland has the YSO ID 173476, and what is its English description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2347> \"173476\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_201", "question": "What is the most specific common category that both Scarsdale and Volkswagen belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonClass ?label WHERE {\n  wd:Q2300959 wdt:P31 ?scarsdaleType .\n  wd:Q246 wdt:P31 ?volkswagenType .\n  ?scarsdaleType wdt:P279 * ?commonClass .\n  ?volkswagenType wdt:P279 * ?commonClass .\n  ?commonClass rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  FILTER(?commonClass != ?scarsdaleType)\n  FILTER(?commonClass != ?volkswagenType)\n}\nORDER BY ASC(STRLEN(?label))\nLIMIT 1", "paraphrases": ["What class do Scarsdale and Volkswagen have in common in the Wikidata hierarchy?", "What is the lowest common superclass of the town Scarsdale and the car manufacturer Volkswagen?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2300959> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q246> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_202", "question": "What is the name and description of the Australian geographic region with ABS2016 ID SSC51322?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?location ?locationLabel ?description WHERE {\n  ?location wdt:P4093 \"SSC51322\" .\n  ?location rdfs:label ?locationLabel .\n  FILTER ( LANG( ?locationLabel ) = \"en\" ) OPTIONAL {\n    ?location schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["Tell me about the locality in Australia identified by the code SSC51322.", "What is Scott River, and what is its description in English, given its Australian Statistical Geography 2016 ID is SSC51322?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4093> \"SSC51322\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_203", "question": "Which organizations have Twitter usernames CityOfBoston, MelroseRugby, deventergem, or NatlAquarium?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"CityOfBoston\" \"MelroseRugby\" \"deventergem\" \"NatlAquarium\" } }", "paraphrases": ["What are the entities on Wikidata that use CityOfBoston, MelroseRugby, deventergem, or NatlAquarium as their Twitter/X handle?", "Show me the entities linked to the Twitter usernames CityOfBoston, MelroseRugby, deventergem, and NatlAquarium."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"equals\" ) ( \"unzeit\" ) ( \"string3\" ) ( \"string4\" ) ( \"CODATA\" ) ( \"string5\" ) } }"}}
{"id": "test_204", "question": "Persian-language labels of athletes and their subtypes.", "sparql": "SELECT DISTINCT ?label WHERE { { ?item wdt:P106/wdt:P279* wd:Q2066131 . } UNION { ?item wdt:P31/wdt:P279* wd:Q2066131 . } ?item rdfs:label ?label . FILTER(LANG(?label) = \"fa\") } LIMIT 10", "paraphrases": ["Who are some athletes with Persian-language labels on Wikidata?", "List up to 10 Persian-language labels for people whose occupation or type is athlete or a subclass of athlete."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { ?var2 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P106> ) ?var3 . ?var3 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> )* ?var4 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q2066131> ) ) ) . FILTER ( ( ( LANG ( ?var1 ) = \"fa\" ) ) ) . } } LIMIT 10 OFFSET 11530"}}
{"id": "test_205", "question": "What are all the superclass categories of the BWF World Tour?", "sparql": "SELECT DISTINCT ?ancestor WHERE { { wd:Q40504484 wdt:P279 ?ancestor . } UNION { wd:Q40504484 wdt:P279 ?level1 . ?level1 wdt:P279 ?ancestor . } UNION { wd:Q40504484 wdt:P279 ?level1 . ?level1 wdt:P279 ?level2 . ?level2 wdt:P279 ?ancestor . } UNION { wd:Q40504484 wdt:P279 ?level1 . ?level1 wdt:P279 ?level2 . ?level2 wdt:P279 ?level3 . ?level3 wdt:P279 ?ancestor . } UNION { wd:Q40504484 wdt:P279 ?level1 . ?level1 wdt:P279 ?level2 . ?level2 wdt:P279 ?level3 . ?level3 wdt:P279 ?level4 . ?level4 wdt:P279 ?ancestor . } }", "paraphrases": ["What classes does the BWF World Tour belong to through the subclass hierarchy?", "Show me the complete hierarchy of classes that the BWF World Tour is a subclass of, up to the top-level categories."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q40504484> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_206", "question": "What is the English description of the V&A item with ID O90601?", "sparql": "SELECT ?item ?description WHERE { ?item wdt:P3929 \"O90601\" . OPTIONAL { ?item schema:description ?description . FILTER ( LANG( ?description ) = \"en\" ) } }", "paraphrases": ["Can you find the English description for the artwork in the Victoria and Albert Museum with ID O90601?", "Show me the English description of the V&A object identified by O90601."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3929> \"O688867\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_207", "question": "What movie has EDb ID t0002663?", "sparql": "SELECT ?movie WHERE { ?movie wdt:P3141 \"t0002663\" . }", "paraphrases": ["Which film is identified by the EDb film ID t0002663?", "Find the movie in Wikidata with the EDb film ID t0002663."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3141> \"t0002663\". }"}}
{"id": "test_208", "question": "Is there a ship with IMO number 9646443 in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?ship wdt:P458 \"9646443\" .\n}", "paraphrases": ["Does the ship named Tsubaki have the IMO number 9646443?", "Confirm whether the IMO ship number 9646443 is assigned to any vessel in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P458> \"9646443\". }"}}
{"id": "test_209", "question": "What ZX Spectrum game has the ZXDB ID 0003462?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?game ?gameLabel WHERE {\n  ?game wdt:P4705 \"0003462\" .\n  ?game rdfs:label ?gameLabel .\n  FILTER(LANG(?gameLabel) = \"en\")\n}", "paraphrases": ["Can you tell me the name of the software in Wikidata that is identified by the World of Spectrum ID 0003462?", "Show me the English label of the item in Wikidata that has the ZXDB ID 0003462."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4705> \"0003462\". }"}}
{"id": "test_210", "question": "Is there a ZX Spectrum game with ID 0000161?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?game wdt:P4705 \"0000161\" .\n}", "paraphrases": ["Does the video game 'Aliens: The Computer Game' have the ZXDB ID 0000161?", "Confirm if the ZXDB identifier 0000161 is assigned to any video game in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4705> \"0000161\". }"}}
{"id": "test_211", "question": "People with their MobyGames IDs and English names.", "sparql": "SELECT ?person ?mobygamesId ?personLabel WHERE { ?person wdt:P3913 ?mobygamesId . OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } } LIMIT 100", "paraphrases": ["Who are the people listed on MobyGames, and what are their IDs and English names?", "Show me a list of video game developers from Wikidata along with their MobyGames IDs and their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3913> ?var2 . } } LIMIT 100"}}
{"id": "test_212", "question": "Is there a historic place in Wikidata with the National Register of Historic Places ID 86000695?", "sparql": "ASK WHERE { ?item wdt:P649 \"86000695\" . }", "paraphrases": ["Does the Ward-Applewhite-Thompson House have the NRHP reference number 86000695 in Wikidata?", "Can you verify that the NRHP ID 86000695 is assigned to a registered historic place in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P649> \"86000695\". }"}}
{"id": "test_213", "question": "Which film has the Scope.dk ID 1855?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P2518 \"1855\" .\n}", "paraphrases": ["What is the name of the film identified by the Scope.dk film ID 1855?", "Find the film in Wikidata that is assigned the identifier 1855 on Scope.dk."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2518> \"1855\". }"}}
{"id": "test_214", "question": "What items were retired or went missing in July?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item WHERE {\n  ?item ( wdt:P730 | wdt:P746 ) ?date .\n  FILTER ( month( ?date ) = 7 )\n}", "paraphrases": ["Can you list all entities that were decommissioned or disappeared during the month of July?", "Show me the people and equipment that had their last known date in July, either because they disappeared or were retired from service."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P730> | <http://www.wikidata.org/prop/direct/P746> ) ?var2 . FILTER ( ( ( ?var2 >= \"7-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"7-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_215", "question": "Chilean university graduates who are directors and have Spanish-language names.", "sparql": "SELECT ?personLabel WHERE { ?university wdt:P31 wd:Q3918 . ?university wdt:P17 wd:Q298 . ?person wdt:P31 wd:Q5 . ?person wdt:P106 wd:Q3455803 . ?person wdt:P69 ?university . ?person rdfs:label ?personLabel . FILTER (LANG(?personLabel) = \"es\") OPTIONAL { ?person wdt:P570 ?deathDate . } }", "paraphrases": ["Who are the directors from Chile that studied at Chilean universities and have their names listed in Spanish?", "List the Spanish-language names of people who are directors and were educated at universities in Chile."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3918> . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . ?var3 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q298> . ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var5 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q3455803> . ?var5 <http://www.wikidata.org/prop/direct/P69> ?var3 . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P570> ?var6 . } FILTER ( ( ( LANG ( ?var1 ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var7 ) = \"es\" ) ) ) . }"}}
{"id": "test_216", "question": "What is the English label and description of the Victoria and Albert Museum item with ID O90601?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P3929 \"O90601\" .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Can you tell me the English name and description of the artwork in the V&A collection identified by O90601?", "Show me the English title and description for the V&A object with ID O90601."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3929> \"O233415\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_217", "question": "What is the Russian cultural heritage item with ID 3700001415?", "sparql": "SELECT ?heritageItem WHERE { ?heritageItem wdt:P1483 \"3700001415\" . }", "paraphrases": ["Which building in Russia is registered in the cultural heritage list with the ID 3700001415?", "Tell me the name of the cultural heritage site in Russia that has the kulturnoe-nasledie.ru ID 3700001415."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1483> \"3700001415\". }"}}
{"id": "test_218", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt1552211?", "sparql": "SELECT ?item ?page ?imdb WHERE { VALUES ?imdb { \"tt1552211\" } . ?item wdt:P345 ?imdb . ?page schema:about ?item . ?page schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Show me the Wikipedia articles in English and German about the film \"The Last Days of American Crime\".", "Which language versions of Wikipedia have articles about the movie identified by tt1552211?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt3646944\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_219", "question": "Does the OCLC control number 21211770 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P243 \"21211770\" .\n}", "paraphrases": ["Is there a bibliographic record in WorldCat with the ID 21211770 represented in Wikidata?", "Is the magazine \"Demokracija\" identified by the OCLC number 21211770 in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P243> \"21211770\". }"}}
{"id": "test_220", "question": "Persian labels of athletes and their subclasses", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?label WHERE {\n  {\n    ?person wdt:P31 / wdt:P279 * wd:Q2066131 .\n  } UNION {\n    ?person wdt:P106 / wdt:P279 * wd:Q2066131 .\n  }\n  ?person rdfs:label ?label .\n  FILTER(LANG(?label) = \"fa\")\n}\nLIMIT 10\nOFFSET 9890", "paraphrases": ["Who are the athletes (including subtypes like football players) with Persian-language labels on Wikidata?", "List up to 10 Persian-language names of people who are athletes or have an occupation that is a type of athlete."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { ?var2 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P106> ) ?var3 . ?var3 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> )* ?var4 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q2066131> ) ) ) . FILTER ( ( ( LANG ( ?var1 ) = \"fa\" ) ) ) . } } LIMIT 10 OFFSET 9890"}}
{"id": "test_221", "question": "Rowers associated with the Polish Wikipedia who don\u2019t have a Polish description and their countries of citizenship in English.", "sparql": "SELECT ?var1 ?var1Label (GROUP_CONCAT(?var2; SEPARATOR=\", \") AS ?var3) WHERE { ?var1 (wdt:P106/wdt:P279*) wd:Q26270618 ; (^schema:about/schema:isPartOf) <https://pl.wikipedia.org/> . OPTIONAL { ?var1 schema:description ?var4 . FILTER(LANG(?var4) = \"pl\") } FILTER(!BOUND(?var4)) . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") . ?var1 wdt:P27 ?country . ?country rdfs:label ?var2 . FILTER(LANG(?var2) = \"en\") } GROUP BY ?var1 ?var1Label", "paraphrases": ["Who are the rowers linked to the Polish Wikipedia that lack a Polish description, and what countries are they citizens of, listed in English?", "List all rowers connected to the Polish Wikipedia without a Polish description, along with their English labels and countries of citizenship in English, grouped by person."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( GROUP_CONCAT ( ?var2 ; SEPARATOR = \", \" ) AS ?var3 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q26270618> ; (^ <http://schema.org/about> / <http://schema.org/isPartOf> ) <https://pl.wikipedia.org/> . OPTIONAL { ?var1 <http://schema.org/description> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"pl\" ) ) ) . } FILTER ( ( !( BOUND ( ?var4 ) ) ) ) . ?var1 ( <http://www.wikidata.org/prop/direct/P27> / <http://www.w3.org/2000/01/rdf-schema#label> ) ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var1Label"}}
{"id": "test_222", "question": "Cultural heritage sites in Finland with coordinates between 59\u00b0N\u201362\u00b0N and 22\u00b0E\u201331\u00b0E, including their images and Wikimedia Commons categories.", "sparql": "PREFIX geof: <http://www.opengis.net/def/function/geosparql/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?coord ?image ?commonsCategory WHERE {\n  VALUES ?heritageDesignation {\n    wd:Q29966257 wd:Q9259\n  }\n  ?heritageSite wdt:P1435 ?heritageDesignation .\n  ?heritageSite wdt:P17 wd:Q33 .\n  ?item((wdt:P131 / wdt:P279 *) |(wdt:P276 / wdt:P279 *) |(wdt:P361 / wdt:P279 *)) ?heritageSite .\n  ?item wdt:P625 ?coord .\n  FILTER(geof:latitude(?coord) >= 59 && geof:latitude(?coord) <= 62)\n  FILTER(geof:longitude(?coord) >= 22 && geof:longitude(?coord) <= 31)\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?item wdt:P373 ?commonsCategory .\n  }\n}\nLIMIT 3000", "paraphrases": ["What are the cultural heritage sites in Finland located between latitudes 59 and 62 and longitudes 22 and 31, and what images or Commons categories are associated with them?", "List all heritage-related locations in Finland within the geographic bounds of 59\u201362\u00b0N and 22\u201331\u00b0E that are connected to either a national cultural heritage site or a UNESCO World Heritage Site, along with their images and Wikimedia Commons categories if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(22 59)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(31 62)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } VALUES ( ?var7 ) { ( <http://www.wikidata.org/entity/Q29966257> ) ( <http://www.wikidata.org/entity/Q9259> ) } ?var8 <http://www.wikidata.org/prop/direct/P1435> ?var7 . ?var8 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q33> . ?var1 (( <http://www.wikidata.org/prop/direct/P131> / <http://www.wikidata.org/prop/direct/P279> *)|( <http://www.wikidata.org/prop/direct/P276> / <http://www.wikidata.org/prop/direct/P279> *)|( <http://www.wikidata.org/prop/direct/P361> / <http://www.wikidata.org/prop/direct/P279> *)) ?var8 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_223", "question": "What is the English label and description of the geographic location with YSO ID 205340?", "sparql": "SELECT ?item ?label ?description WHERE { ?item wdt:P2347 \"205340\" . OPTIONAL { ?item rdfs:label ?label . FILTER(LANG(?label) = \"en\") } OPTIONAL { ?item schema:description ?description . FILTER(LANG(?description) = \"en\") } }", "paraphrases": ["Can you tell me the English name and description of the Finnish place identified by the YSO ID 205340?", "Show me the English label and description for the entity in Wikidata that has the YSO identifier 205340."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2347> \"205343\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_224", "question": "Movie with EDb ID t0027984", "sparql": "SELECT ?movie WHERE { ?movie wdt:P3141 \"t0027984\" . }", "paraphrases": ["What movie is identified by the EDb film ID t0027984?", "Find the movie that has the EDb film ID t0027984."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3141> \"t0027984\". }"}}
{"id": "test_225", "question": "Is there a person in Wikidata with TCM Movie Database ID 14091?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?person wdt:P3056 \"14091\" .\n}", "paraphrases": ["Does the Turner Classic Movies database list a person with ID 14091 in Wikidata?", "Please confirm if the individual with TCM ID 14091 is present in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3056> \"14091\". }"}}
{"id": "test_226", "question": "Persian labels of people whose occupation is athlete or a subtype of athlete.", "sparql": "SELECT DISTINCT ?personLabel WHERE { ?person wdt:P106 ?occupation . ?occupation wdt:P279* wd:Q2066131 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"fa\") } LIMIT 10", "paraphrases": ["Who are some athletes (or people in athletic professions) with Persian-language labels on Wikidata?", "List up to 10 Persian-language names of individuals whose occupation is related to being an athlete."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { ?var2 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P106> ) ?var3 . ?var3 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> )* ?var4 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q2066131> ) ) ) . FILTER ( ( ( LANG ( ?var1 ) = \"fa\" ) ) ) . } } LIMIT 10 OFFSET 7560"}}
{"id": "test_227", "question": "Which Spanish-language films were directed by Chilean film directors who studied at Chilean universities?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?directorLabel ?universityLabel ?filmLabel WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?director wdt:P106 wd:Q2526255 .\n  ?director wdt:P69 ?university .\n  ?university wdt:P31 wd:Q3918 .\n  ?university wdt:P17 wd:Q298 .\n  ?film wdt:P57 ?director .\n  ?director rdfs:label ?directorLabel .\n  ?university rdfs:label ?universityLabel .\n  ?film rdfs:label ?filmLabel .\n  FILTER(LANG(?directorLabel) = \"es\")\n  FILTER(LANG(?universityLabel) = \"es\")\n  FILTER(LANG(?filmLabel) = \"es\")\n}", "paraphrases": ["Chilean film directors, their universities, and Spanish-language films they directed", "Show me the names of Chilean film directors, the Chilean universities they attended, and the Spanish-language films they directed."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3Label WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var3 <http://www.wikidata.org/entity/p230752> ?var3Label . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3918> . ?var2 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q298> . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q2526255> . ?var1 <http://www.wikidata.org/prop/direct/P69> ?var2 . ?var3 <http://www.wikidata.org/prop/direct/P57> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = \"es\" ) ) ) . }"}}
{"id": "test_228", "question": "What is the English title and description of the movie with CineMagia ID 2112?", "sparql": "SELECT ?movie ?movieLabel ?description WHERE { ?movie wdt:P4665 \"2112\" . OPTIONAL { ?movie rdfs:label ?movieLabel . FILTER (LANG(?movieLabel) = \"en\") } OPTIONAL { ?movie schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Can you tell me the name and a brief description in English of the film identified as 2112 on Cinemagia.ro?", "Which 1987 film directed by John Schlesinger has the CineMagia ID 2112, and what is its English title?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4665> \"2112\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_229", "question": "Which museum has the Athenaeum ID 1825, and what is its English description?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?museum ?museumLabel ?description WHERE {\n  ?museum wdt:P4146 \"1825\" .\n  OPTIONAL {\n    ?museum rdfs:label ?museumLabel .\n    FILTER ( LANG( ?museumLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?museum schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["What is the name and English description of the museum identified by the Athenaeum museum ID 1825?", "Please provide the English label and description of the museum with Athenaeum ID 1825."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4146> \"1825\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_230", "question": "Which Wikidata items have Twitter usernames \"CityOfBoston\" or \"MelroseRugby\"?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"CityOfBoston\" \"MelroseRugby\" } }", "paraphrases": ["What are the Wikidata entities associated with the Twitter handles CityOfBoston and MelroseRugby?", "Show me the Wikidata items for the Twitter accounts CityOfBoston and MelroseRugby."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"manchettes\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_231", "question": "Which film has the Scope.dk ID 8679?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P2518 \"8679\" .\n}", "paraphrases": ["What is the name of the film identified by the Scope.dk film ID 8679?", "I\u2019m looking for the film on Wikidata that corresponds to the Scope.dk identifier 8679 \u2014 can you tell me what it is?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2518> \"8679\". }"}}
{"id": "test_232", "question": "Which film has its box office data marked as \"Erased\" in The Numbers database?", "sparql": "SELECT ?film WHERE { ?film wdt:P3808 \"Erased\" .}", "paraphrases": ["What movie is listed with the ID \"Erased\" on The Numbers website?", "Find films whose The Numbers movie ID is \"Erased\""], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3808> \"Erased\". }"}}
{"id": "test_233", "question": "Is there a video game in Wikidata with the Gaming-History ID 236?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P4806 \"236\" .\n}", "paraphrases": ["Does Berzerk have the Gaming-History identifier 236?", "Is the Gaming-History ID \"236\" assigned to any video game in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4806> \"236\". }"}}
{"id": "test_234", "question": "Who won the 2018 Australian Open \u2013 men's singles tennis tournament?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?winner WHERE {\n  wd:Q46993124 wdt:P1346 ?winner .\n}", "paraphrases": ["What is the winner of the 2018 Australian Open men's singles event?", "Which tennis player was the champion of the 2018 Australian Open men's singles?"], "info": {"raw_sparql": "SELECT * WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } <http://www.wikidata.org/prop/direct/P710> <http://www.wikidata.org/entity/Q46993124> ?var1 . } LIMIT 100"}}
{"id": "test_235", "question": "Humans described in articles of the Brockhaus and Efron Encyclopedic Dictionary", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?human ?article ?humanLabel ?articleLabel WHERE {\n  ?article wdt:P31 wd:Q13433827 ; wdt:P1433 ?encyclopedia_work ; wdt:P921 ?human .\n  ?encyclopedia_work wdt:P361 wd:Q602358 .\n  ?human wdt:P31 wd:Q5 .\n  ?human rdfs:label ?humanLabel .\n  ?article rdfs:label ?articleLabel .\n  FILTER ( LANG( ?humanLabel ) = \"en\" ) FILTER ( LANG( ?articleLabel ) = \"en\" )\n}\nORDER BY ASC ( ?humanLabel )", "paraphrases": ["Which humans are the main subjects of articles in the Brockhaus and Efron Encyclopedic Dictionary?", "List the English labels of humans and their corresponding encyclopedia articles from the Brockhaus and Efron Encyclopedic Dictionary."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var1Label ?var2Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q17329259> ; <http://www.wikidata.org/prop/direct/P1433> ?var3 ; <http://www.wikidata.org/prop/direct/P921> ?var1 . ?var3 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q602358> . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var4 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/P1343> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P1343> <http://www.wikidata.org/entity/Q602358> . ?var5 <http://www.wikidata.org/prop/qualifier/P248> ?var6 . ?var5 <http://www.wikidata.org/prop/qualifier/P805> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru\". } FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q5> ) ) ) . FILTER ( ( BOUND ( ?var6 ) || BOUND ( ?var7 ) ) ) . } ORDER BY ASC( ?var1Label )"}}
{"id": "test_236", "question": "Human mitochondrial DNA haplogroups and their immediate predecessors.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?haplogroup ?haplogroupLabel ?predecessor ?predecessorLabel WHERE {\n  ?haplogroup wdt:P31 wd:Q1356230 .\n  ?haplogroup rdfs:label ?haplogroupLabel .\n  FILTER ( LANG( ?haplogroupLabel ) = \"en\" ) OPTIONAL {\n    ?haplogroup wdt:P155 ?predecessor .\n    ?predecessor rdfs:label ?predecessorLabel .\n    FILTER ( LANG( ?predecessorLabel ) = \"en\" )\n  }\n}", "paraphrases": ["What are the human mitochondrial DNA haplogroups, and which haplogroup directly precedes each one?", "List all human mitochondrial DNA haplogroups in English along with their immediate predecessor haplogroups, if any."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4Label ?var5Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1356230> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P155> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_237", "question": "What is the Instagram username of the Bologna Museum of Modern Art (MAMBO)?", "sparql": "SELECT DISTINCT ?instagram WHERE { wd:Q3867868 wdt:P31/wdt:P279* wd:Q33506 ; wdt:P2003 ?instagram .}", "paraphrases": ["Can you find the Instagram handle for any museum in Bologna that is classified as a modern art museum?", "Show me the Instagram account of institutions in Bologna that are museums or subtypes of museums."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://dati.emilia-romagna.it/id/ibc/IT-BO0310> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q33506> ; <http://www.wikidata.org/prop/direct/P2003> ?var1 . }"}}
{"id": "test_238", "question": "What is the English label and description of the compArt institution with ID 115?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P4771 \"115\" .\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["Can you find the English name and description of the art institution identified as 115 in the compArt database?", "Which institution in the compArt database has the ID 115, and what is its English label and description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4771> \"215\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_239", "question": "Zoos in Japan that keep polar bears, with their websites, images, locations, founding dates, and other animals.", "sparql": "SELECT ?zoo ?zooLabel ?website ?image ?coordinates ?inception ?otherAnimal ?otherAnimalLabel WHERE { ?zoo wdt:P31 wd:Q43501 ; wdt:P17 wd:Q17 ; wdt:P1990 wd:Q33609 . OPTIONAL { ?zoo wdt:P856 ?website . } OPTIONAL { ?zoo wdt:P18 ?image . } OPTIONAL { ?zoo wdt:P625 ?coordinates . } OPTIONAL { ?zoo wdt:P571 ?inception . } OPTIONAL { ?zoo wdt:P1990 ?otherAnimal . } ?zoo rdfs:label ?zooLabel . FILTER(LANG(?zooLabel) = 'en') . ?otherAnimal rdfs:label ?otherAnimalLabel . FILTER(LANG(?otherAnimalLabel) = 'en') } LIMIT 100", "paraphrases": ["Which zoos in Japan have polar bears, and what are their official websites, images, coordinates, opening years, and other animal species?", "Please list all zoos in Japan that house polar bears, along with their official websites, photos, geographic coordinates, founding dates, and other animals they keep."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var6Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q43501> . ?var1 <http://www.wikidata.org/prop/direct/P1990> <http://www.wikidata.org/entity/Q33609> . ?var1 <http://www.wikidata.org/prop/direct/P1990> <http://www.wikidata.org/entity/Q140> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1990> ?var6 . } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q17> . } LIMIT 100"}}
{"id": "test_240", "question": "Properties related to the Dutch National Thesaurus for Author Names ID (NTA ID) and their English descriptions.", "sparql": "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?relatedProperty ?label ?description WHERE {\n  ?relatedProperty wdt:P1659 wd:P1006 .\n  ?relatedProperty rdf:type wikibase:Property .\n  ?relatedProperty rdfs:label ?label .\n  ?relatedProperty schema:description ?description .\n  FILTER(LANG(?label) = \"en\")\n  FILTER(LANG(?description) = \"en\")\n}", "paraphrases": ["What properties are related to the NTA ID (Nationale Thesaurus voor Auteursnamen ID) in Wikidata, and what are their English labels and descriptions?", "List the English labels and descriptions of properties that are related to the NTA ID identifier property."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P1006> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . }"}}
{"id": "test_241", "question": "Does Kazakhstan have an administrative unit with CATO ID 632431100?", "sparql": "ASK WHERE { ?item wdt:P4838 \"632431100\" . }", "paraphrases": ["Is there a settlement in Kazakhstan identified by the KATO code 632431100?", "Confirm if the CATO ID 632431100 is assigned to any administrative territory in Kazakhstan."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4838> \"632431100\". }"}}
{"id": "test_242", "question": "What are the English and German Wikipedia articles for the movie with IMDb ID tt1552211?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipediaPage ?imdbId WHERE {\n  ?item wdt:P345 \"tt1552211\" .\n  ?wikipediaPage schema:about ?item .\n  {\n    ?wikipediaPage schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipediaPage schema:inLanguage \"de\" .\n  }\n  ?item wdt:P345 ?imdbId .\n}", "paraphrases": ["Show me the Wikipedia pages in English and German for the film \"The Last Days of American Crime\".", "Which Wikipedia articles in English or German are about the movie identified by IMDb ID tt1552211?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt3971950\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_243", "question": "What movie has the EDb film ID \"t0013846\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie WHERE {\n  ?movie wdt:P3141 \"t0013846\" .\n}", "paraphrases": ["Which film is identified by the EDb ID t0013846?", "Find the Wikidata item for the movie with EDb ID t0013846."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3141> \"t0013846\". }"}}
{"id": "test_244", "question": "Does Sherrie Rose have a TCM Movie Database ID of 165189?", "sparql": "ASK WHERE { ?person wdt:P3056 \"165189\" . }", "paraphrases": ["Is there a person in Wikidata with the TCM Movie Database person ID 165189?", "Confirm if the TCM Movie Database ID 165189 corresponds to a person in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3056> \"165189\". }"}}
{"id": "test_245", "question": "List all Pok\u00e9mon in English that are categorized by their type (e.g., fire-type, water-type).", "sparql": "SELECT DISTINCT ?pokemon ?pokemonLabel WHERE { ?typeClass wdt:P279* wd:Q3966183 ; rdfs:label ?typeLabel . ?pokemon wdt:P31 ?typeClass ; rdfs:label ?pokemonLabel . FILTER (CONTAINS(LCASE(?typeLabel), \"type\")) . FILTER (LANG(?pokemonLabel) = \"en\") . } ORDER BY ASC(?pokemonLabel)", "paraphrases": ["Which Pok\u00e9mon species in English belong to a type-based subclass like \"grass-type Pok\u00e9mon\" or \"electric-type Pok\u00e9mon\"?", "Please provide an alphabetically sorted list of all Pok\u00e9mon in English that are classified under type-specific categories within the Pok\u00e9mon franchise."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2Label ?var3 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q3966183> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var4 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1112> <http://www.wikidata.org/entity/Q20005020> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . } FILTER ( ( CONTAINS ( ?var5Label , \"type\" ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . } ORDER BY ASC( ?var2Label )"}}
{"id": "test_246", "question": "What is the Wikidata item for AAT ID 300022307 and what is its English label and description?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P1014 \"300022307\" .\n  OPTIONAL {\n    ?item rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["What is the English name and description of the item identified by the Art & Architecture Thesaurus ID 300022307?", "Show me the English label and description of the item with AAT ID 300022307."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1014> \"300022307\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_247", "question": "Is there a video game in Wikidata with the MobyGames ID \"motorstorm\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P1933 \"motorstorm\" .\n}", "paraphrases": ["Does the game MotorStorm have the MobyGames identifier \"motorstorm\"?", "Has the game MotorStorm been assigned the old MobyGames game ID \"motorstorm\"?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1933> \"motorstorm\". }"}}
{"id": "test_248", "question": "Which movie has the elFilm ID 281282?", "sparql": "SELECT ?movie WHERE { ?movie wdt:P3143 \"281282\" . }", "paraphrases": ["What is the Wikidata item for the movie with elFilm film ID 281282?", "Find the movie in Wikidata identified by the elFilm ID 281282."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3143> \"281282\". }"}}
{"id": "test_249", "question": "Zoos that house both polar bears and lions, with their website, image, location, founding date, and all species kept.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?zoo ?zooLabel ?website ?image ?location ?inception ?species ?speciesLabel WHERE {\n  ?zoo wdt:P31 wd:Q43501 .\n  ?zoo wdt:P1990 wd:Q33609 .\n  ?zoo wdt:P1990 wd:Q140 .\n  OPTIONAL {\n    ?zoo wdt:P856 ?website .\n  }\n  OPTIONAL {\n    ?zoo wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?zoo wdt:P625 ?location .\n  }\n  OPTIONAL {\n    ?zoo wdt:P571 ?inception .\n  }\n  OPTIONAL {\n    ?zoo wdt:P1990 ?species .\n  }\n  ?zoo rdfs:label ?zooLabel .\n  ?species rdfs:label ?speciesLabel .\n  FILTER ( LANG( ?zooLabel ) = \"en\" ) FILTER ( LANG( ?speciesLabel ) = \"en\" )\n}\nLIMIT 10", "paraphrases": ["Which zoos have both polar bears and lions, and what are their official websites, images, locations, founding years, and the list of all animal species they keep?", "Show me all zoos that keep both polar bears and lions, along with their contact website, photo, geographic coordinates, year established, and all the animal species they house."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var6Label WHERE { OPTIONAL { } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q43501> . ?var1 <http://www.wikidata.org/prop/direct/P1990> <http://www.wikidata.org/entity/Q33609> . ?var1 <http://www.wikidata.org/prop/direct/P1990> <http://www.wikidata.org/entity/Q140> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1990> ?var6 . } } LIMIT 10"}}
{"id": "test_250", "question": "Which film has the film-documentaire.fr ID 35438?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P3673 \"35438\" .\n}", "paraphrases": ["What is the name of the film identified by the identifier 35438 in the French film database film-documentaire.fr?", "Find the Wikidata item for the film with the film-documentaire.fr ID 35438."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3673> \"35438\". }"}}
{"id": "test_251", "question": "Persian labels of people who are athletes or have an occupation that is a subclass of athlete.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?label WHERE {\n  ?person ( wdt:P31 | wdt:P106 ) ?occupationClass .\n  ?occupationClass wdt:P279 * wd:Q2066131 .\n  ?person rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"fa\" )\n}\nLIMIT 10\nOFFSET 0", "paraphrases": ["Who are the athletes or sportspeople in Persian language on Wikidata?", "List the Persian-language names of individuals whose occupation is athlete or any subcategory of athlete."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { ?var2 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P106> ) ?var3 . ?var3 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> )* ?var4 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q2066131> ) ) ) . FILTER ( ( ( LANG ( ?var1 ) = \"fa\" ) ) ) . } } LIMIT 10 OFFSET 7950"}}
{"id": "test_252", "question": "Racing drivers with blood type A and their Wikipedia pages and images", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person ?personLabel ?image ?wikipediaPage WHERE {\n  {\n    SELECT ?person ?personLabel ( SAMPLE( ?imageTemp ) AS ?image ) ( SAMPLE( ?wikipediaPageTemp ) AS ?wikipediaPage ) WHERE {\n      ?person wdt:P1853 wd:Q19831453 .\n      ?person wdt:P106 wd:Q378622 .\n      OPTIONAL {\n        ?person wdt:P18 ?imageTemp .\n      }\n      OPTIONAL {\n        ?wikipediaPageTemp schema:about ?person .\n        ?wikipediaPageTemp schema:isPartOf <https://en.wikipedia.org/> .\n      }\n      ?person rdfs:label ?personLabel .\n      FILTER ( LANG( ?personLabel ) = \"en\" )\n    }\n    GROUP BY ?person ?personLabel\n  }\n}", "paraphrases": ["Who are the racing drivers with blood type A, and what are their English Wikipedia pages and images?", "List all racing drivers who have blood type A, along with their English names, any available images, and links to their English Wikipedia articles."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var3 ) ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1853> <http://www.wikidata.org/entity/Q19831453> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q378622> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,fr,es,de,ru,it,nl,ja,zh,pl,cs\". } } GROUP BY ?var1 ?var1Label ?var2 ?var4"}}
{"id": "test_253", "question": "Is there a video game in Wikidata with ZXDB ID 0001823?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P4705 \"0001823\" .\n}", "paraphrases": ["Does the video game \"Football Manager\" have the ZXDB ID 0001823?", "Check if the ZXDB ID 0001823 corresponds to any video game in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4705> \"0001823\". }"}}
{"id": "test_254", "question": "What are the mottos of sovereign states in English?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var1 ?var1Label ?var2 WHERE {\n  ?var1 ( wdt:P31 / wdt:P279 * ) wd:Q3624078 ; wdt:P1451 ?var2 .\n  ?var1 rdfs:label ?var1Label .\n  FILTER ( LANG( ?var1Label ) = \"en\" )\n}", "paraphrases": ["Can you list the English names of countries along with their official mottos?", "Which countries have motto texts, and what are those mottos?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3624078> ; <http://www.wikidata.org/prop/direct/P1451> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_255", "question": "English label, description, and image of the Swiss franc", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?label ?description ?image WHERE {\n  OPTIONAL {\n    wd:Q25344 rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n  OPTIONAL {\n    wd:Q25344 wdt:P18 ?image\n  }\n  OPTIONAL {\n    wd:Q25344 schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["What is the English name, description, and image of the Swiss franc?", "Show me the English label, description, and associated image of the Swiss franc."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q25344> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q25344> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q25344> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_256", "question": "Is Jan de Stomme classified as a human mitochondrial DNA haplogroup?", "sparql": "ASK WHERE { wd:Q2473391 (wdt:P31/wdt:P279*) wd:Q1356230 . }", "paraphrases": ["Does the Dutch painter Jan de Stomme belong to the category of human mitochondrial DNA haplogroups through inheritance or classification?", "Is there any taxonomic relationship where Jan de Stomme is an instance or subclass of a human mitochondrial DNA haplogroup?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q2473391> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1356230> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_257", "question": "Film with Box Office Mojo ID \"titanic\"", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?film wdt:P1237 \"titanic\" .\n}", "paraphrases": ["Is there a movie in Wikidata whose Box Office Mojo film ID is \"titanic\"?", "Find out if the film \"Titanic\" is identified by the Box Office Mojo ID \"titanic\" in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1237> \"humanflow\". }"}}
{"id": "test_258", "question": "What are the cultural heritage sites in Finland that are either nationally significant or UNESCO World Heritage Sites, along with their coordinates, images, and Wikimedia Commons categories?", "sparql": "SELECT ?heritageSite ?heritageSiteLabel ?coord ?image ?commonsCategory WHERE {\n  ?heritageSite wdt:P1435 ?heritageDesignation .\n  VALUES ?heritageDesignation { wd:Q29966257 wd:Q9259 }\n  ?heritageSite wdt:P17 wd:Q33 .\n  ?heritageSite wdt:P625 ?coord .\n  OPTIONAL { ?heritageSite wdt:P18 ?image . }\n  OPTIONAL { ?heritageSite wdt:P373 ?commonsCategory . }\n  ?heritageSite rdfs:label ?heritageSiteLabel .\n  FILTER(LANG(?heritageSiteLabel) = \"en\")\n} LIMIT 3000", "paraphrases": ["Show me Finnish heritage sites designated as national cultural sites or UNESCO World Heritage Sites, including their locations, pictures, and associated Commons categories.", "List all heritage sites in Finland with official national or UNESCO status, displaying their names, geographic coordinates, images, and Commons category names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(0 60)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(43 68)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } VALUES ( ?var7 ) { ( <http://www.wikidata.org/entity/Q29966257> ) ( <http://www.wikidata.org/entity/Q9259> ) } ?var8 <http://www.wikidata.org/prop/direct/P1435> ?var7 . ?var8 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q33> . ?var1 (( <http://www.wikidata.org/prop/direct/P131> / <http://www.wikidata.org/prop/direct/P279> *)|( <http://www.wikidata.org/prop/direct/P276> / <http://www.wikidata.org/prop/direct/P279> *)|( <http://www.wikidata.org/prop/direct/P361> / <http://www.wikidata.org/prop/direct/P279> *)) ?var8 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_259", "question": "Does the video game with ZXDB ID 0005735 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P4705 \"0005735\" .\n}", "paraphrases": ["Is there a video game in Wikidata with ZXDB ID 0005735?", "Check if Wikidata contains a video game identified by ZXDB ID 0005735."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4705> \"0005735\". }"}}
{"id": "test_260", "question": "Zoos in the United States that house the pygmy hippopotamus.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?zoo ?label WHERE {\n  ?zoo wdt:P31 wd:Q43501 .\n  ?zoo wdt:P1990 wd:Q202241 .\n  ?zoo wdt:P17 wd:Q30 .\n  ?zoo rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Which zoos in the United States have pygmy hippos?", "List the English names of zoos in the United States that keep the pygmy hippopotamus."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q43501> . ?var1 <http://www.wikidata.org/prop/direct/P1990> <http://www.wikidata.org/entity/Q202241> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q30> . } LIMIT 100"}}
{"id": "test_261", "question": "What animal species are kept at the National Zoological Park?", "sparql": "SELECT ?species ?speciesLabel WHERE { wd:Q1043283 wdt:P1990 ?species . ?species rdfs:label ?speciesLabel . FILTER (LANG(?speciesLabel) = \"en\") }", "paraphrases": ["Can you list the English names of all animal species housed in the National Zoological Park?", "Which species can be found at the National Zoological Park according to Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q529586> <http://www.wikidata.org/prop/direct/P1990> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . }"}}
{"id": "test_262", "question": "Who has the Twitter username \"IBJIYONGI\"?", "sparql": "SELECT ?item ?username ?sitelinks WHERE { ?item wdt:P2002 ?username . OPTIONAL { ?item wikibase:sitelinks ?sitelinks } VALUES ?username { \"IBJIYONGI\" } } ORDER BY ASC(?sitelinks)", "paraphrases": ["Which Wikidata item is associated with the Twitter handle IBJIYONGI, and how many Wikipedia pages link to it?", "List the person with the Twitter username IBJIYONGI, sorted by the number of Wikipedia articles about them (lowest first)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"IBJIYONGI\" ) ( \"string3\" ) ( \"TrueSciPhi\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"flndrohit\" ) ( \"string7\" ) ( \"string8\" ) ( \"Chiabacca\" ) ( \"cuttingejs\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_263", "question": "What is the English description of the film with LdiF ID 508230?", "sparql": "SELECT ?film ?description WHERE { ?film wdt:P3107 \"508230\" . OPTIONAL { ?film schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Find the film identified by the LdiF ID 508230 and show its English description.", "Which film has the LdiF ID 508230, and what is its English-language description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3107> \"508230\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_264", "question": "What is the most specific category that both England and Volkswagen belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonClass ?commonClassLabel WHERE {\n  wd:Q21 wdt:P31 ?t1 .\n  wd:Q246 wdt:P31 ?t2 .\n  ?t1 wdt:P279 * ?commonClass .\n  ?t2 wdt:P279 * ?commonClass .\n  ?commonClass rdfs:label ?commonClassLabel .\n  FILTER(LANG(?commonClassLabel) = \"en\")\n}\nORDER BY DESC(?commonClass)\nLIMIT 1", "paraphrases": ["What is the lowest common ancestor in the type hierarchy for England and Volkswagen?", "Which class is the most specific common superclass of England and Volkswagen?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q246> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q21> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_265", "question": "Who is the football player with Transfermarkt ID 2343?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?player WHERE {\n  ?player wdt:P2446 \"2343\" .\n}\nLIMIT 1", "paraphrases": ["Which football player is identified by the Transfermarkt ID 2343?", "Tell me the name of the footballer whose Transfermarkt profile ID is 2343."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2446> \"2343\". } LIMIT 1"}}
{"id": "test_266", "question": "Items retired or gone missing in March 1980.", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item WHERE {\n  ?item wdt:P730 | wdt:P746 ?date .\n  FILTER(?date >= \"1980-03-01T00:00:00Z\" ^^ xsd:dateTime && ?date <= \"1980-03-31T23:59:59Z\" ^^ xsd:dateTime)\n}", "paraphrases": ["Which items were retired or went missing in March 1980?", "Show me the equipment or people that were retired or disappeared during March 1980."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P730> | <http://www.wikidata.org/prop/direct/P746> ) ?var2 . FILTER ( ( ( ?var2 >= \"1980-03-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1980-03-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_267", "question": "What is the infobox template used for football players on the Russian Wikipedia?", "sparql": "SELECT ?infobox WHERE {\n  ?infobox wdt:P31 wd:Q19887878 ;\n           wdt:P1423 wd:Q937857 .\n  ?wikipediaArticle schema:about ?infobox ;\n                    schema:isPartOf <https://ru.wikipedia.org/> .\n} LIMIT 1", "paraphrases": ["Which Wikipedia infobox template is associated with association football players and has a Russian-language version?", "Can you find the infobox template for football players that is available on the Russian Wikipedia?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ( COUNT ( ?var5 ) AS ?var6 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ( COUNT ( ?var7 ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19887878> . ?var1 <http://www.wikidata.org/prop/direct/P1423> ?var2 . <http://www.wikidata.org/entity/Q2295894> ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P106> ) ?var8 . ?var8 <http://www.wikidata.org/prop/direct/P279> * ?var7 . ?var7 <http://www.wikidata.org/prop/direct/P279> * ?var2 . } GROUP BY ?var1 ?var2 } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> * ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P279> * ?var3 . } } GROUP BY ?var1 ?var2 ?var3 ?var4 } FILTER ( ( EXISTS { ?var9 <http://schema.org/about> ?var1 . ?var9 <http://schema.org/isPartOf> <https://ru.wikipedia.org/> . } ) ) . } ORDER BY ASC( ?var4 ) DESC( ?var6 ) LIMIT 1"}}
{"id": "test_268", "question": "What are the five most common hair colors among people in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?hairColorLabel WHERE {\n  ?person wdt:P1884 ?hairColor .\n  ?hairColor rdfs:label ?hairColorLabel .\n  FILTER(LANG(?hairColorLabel) = \"en\")\n}\nGROUP BY ?hairColorLabel\nORDER BY DESC(COUNT(?person))\nLIMIT 5", "paraphrases": ["Which hair colors are the most frequent, and how many people have them?", "Show me the top 5 hair colors of people, ordered by popularity."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P1884> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es\". } } GROUP BY ?var1Label ORDER BY DESC(COUNT ( ?var2 )) LIMIT 5"}}
{"id": "test_269", "question": "U.S. states with official mottos", "sparql": "SELECT ?state WHERE { ?state wdt:P31 wd:Q35657 ; wdt:P1451 ?motto . }", "paraphrases": ["Which U.S. states have official mottos?", "List all U.S. states that have an official motto."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1451> [ <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q35657> ] . }"}}
{"id": "test_270", "question": "Finnish municipalities with the most RKY national built heritage sites", "sparql": "SELECT ?adminEntity ?adminEntityLabel (COUNT(?heritageItem) AS ?count) WHERE { { ?heritageItem wdt:P361 ?partOf . ?partOf wdt:P4009 ?rkyId . } UNION { ?heritageItem wdt:P4009 ?rkyId . } ?heritageItem wdt:P131* ?adminEntity . ?adminEntity wdt:P31 wd:Q856076 . ?adminEntity rdfs:label ?adminEntityLabel . FILTER(LANG(?adminEntityLabel) = \"fi\") } GROUP BY ?adminEntity ?adminEntityLabel ORDER BY DESC(?count)", "paraphrases": ["Which municipalities in Finland have the highest number of heritage sites listed in the RKY database, and how many are there?", "List the Finnish municipalities ranked by the number of national built heritage sites they contain, based on the RKY identifier."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { ?var3 <http://www.wikidata.org/prop/direct/P361> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P4009> ?var5 . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P4009> ?var5 . } ?var3 <http://www.wikidata.org/prop/direct/P131> * ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[fi\". } } GROUP BY ?var1 ?var1Label"}}
{"id": "test_271", "question": "Does the video game with Gaming-History ID 2183 exist in Wikidata?", "sparql": "ASK WHERE { ?game wdt:P4806 \"2183\" . }", "paraphrases": ["Is there a video game in Wikidata that has the Gaming-History identifier 2183?", "Confirm whether the game RayForce is linked to the Gaming-History ID 2183 in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4806> \"2183\". }"}}
{"id": "test_272", "question": "Does the football player with Transfermarkt ID 34023 exist in Wikidata?", "sparql": "ASK WHERE { ?player wdt:P2446 \"34023\" . }", "paraphrases": ["Is there a footballer in Wikidata identified by the Transfermarkt ID \"34023\"?", "Does Transfermarkt list a player with ID 34023 in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2446> \"34023\". }"}}
{"id": "test_273", "question": "Who is the football player with Transfermarkt ID 3771?", "sparql": "SELECT ?player WHERE { ?player wdt:P2446 \"3771\" . } LIMIT 1", "paraphrases": ["Which footballer on Wikidata has the Transfermarkt player ID 3771?", "Find the Wikidata item for the football player identified as 3771 on Transfermarkt."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2446> \"3771\". } LIMIT 1"}}
{"id": "test_274", "question": "Is the C5 vertebra classified under any subclass of human mitochondrial DNA haplogroup?", "sparql": "ASK WHERE { wd:Q5065363 (wdt:P31/wdt:P279*) wd:Q1356230 . }", "paraphrases": ["Does the C5 vertebra belong to a category that is a subclass of human mitochondrial DNA haplogroup?", "Check whether the C5 vertebra is an instance of a class that is a subclass of human mitochondrial DNA haplogroup."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q5065363> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1356230> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_275", "question": "Is Haplogroup G2a2b an instance of a human Y-chromosome DNA haplogroup?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q47091836 wdt:P31 wd:Q428875 .\n}", "paraphrases": ["Is Haplogroup G2a2b categorized as a human Y-chromosome DNA haplogroup?", "Does Haplogroup G2a2b fall under the class of human Y-chromosome DNA haplogroups?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q47091836> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_276", "question": "What is the English label and description of the person with Collective Biographies of Women ID 9435?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?description WHERE {\n  ?person wdt:P4539 \"9435\" .\n  OPTIONAL {\n    ?person rdfs:label ?personLabel .\n    FILTER ( LANG( ?personLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?person schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["Who is the person identified by the ID 9435 in the Collective Biographies of Women database, and what is their English label and description?", "Please provide the English name and description of the individual whose Collective Biographies of Women ID is 9435."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4539> \"9435\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_277", "question": "Countries with their population, coordinates, English demonym, and Human Development Index.", "sparql": "SELECT ?country ?coordinates ?population ?demonym ?hdi WHERE { ?country wdt:P31 wd:Q6256 . OPTIONAL { ?country wdt:P625 ?coordinates . } OPTIONAL { ?country wdt:P1082 ?population . } OPTIONAL { ?country wdt:P1549 ?demonym . FILTER (LANG(?demonym) = \"en\") } OPTIONAL { ?country wdt:P1081 ?hdi . } }", "paraphrases": ["What are the population, geographic coordinates, English demonym, and HDI value for each country in Wikidata?", "Please list all countries along with their population, location coordinates, English demonym, and Human Development Index where available."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1549> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1081> ?var5 . } }"}}
{"id": "test_278", "question": "Is Rob van Reijn a member of the Bicker family?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ( COUNT( * ) AS ?count ) WHERE {\n  wd:Q3327313 wdt:P463 wd:Q856831 .\n}", "paraphrases": ["Does the Wikidata database record Rob van Reijn as belonging to the Bicker family?", "Was Rob van Reijn part of the historic Bicker family?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q3327313> <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q856831> . }"}}
{"id": "test_279", "question": "Languages and labels for cryptocurrency in Wikidata", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?label ( LANG( ?label ) AS ?language ) WHERE {\n  wd:Q13479982 rdfs:label ?label .\n}\nLIMIT 100", "paraphrases": ["In which languages is the term \"cryptocurrency\" labeled in Wikidata, and what does it say in each language?", "Show me all the multilingual labels for cryptocurrency along with their language codes."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ( LANG ( ?var1 ) AS ?var2 ) WHERE { <http://www.wikidata.org/entity/Q13479982> <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . } LIMIT 100"}}
{"id": "test_280", "question": "Most common causes of death among deceased Chilean citizens, in Spanish labels", "sparql": "SELECT ?mannerOfDeath (COUNT(*) AS ?count) WHERE { ?person wdt:P27 wd:Q298 . ?person wdt:P570 ?deathDate . ?person wdt:P1196 ?mannerOfDeath . ?mannerOfDeath rdfs:label ?label . FILTER(LANG(?label) = \"es\") } GROUP BY ?mannerOfDeath ORDER BY DESC(?count)", "paraphrases": ["What are the most frequent manners of death for people who were citizens of Chile and have a Spanish-labeled cause of death?", "Show me the number of deceased Chilean citizens grouped by their manner of death, using Spanish labels, ordered from most to least common."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT (* ) AS ?var2 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3918> . ?var3 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q298> . ?var4 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q298> . ?var4 <http://www.wikidata.org/prop/direct/P1196> ?var1 . ?var4 <http://www.wikidata.org/prop/direct/P570> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var6 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var7 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var8 . FILTER ( ( ( LANG ( ?var8 ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var7 ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var6 ) = \"es\" ) ) ) . } GROUP BY ?var1 ORDER BY DESC(COUNT (* ))"}}
{"id": "test_281", "question": "Is there a historic place in Wikidata with NRHP reference number 77001417?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P649 \"77001417\" .\n}", "paraphrases": ["Does the National Register of Historic Places ID 77001417 correspond to any entry in Wikidata?", "Check if the NRHP number 77001417 is registered in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P649> \"77001417\". }"}}
{"id": "test_282", "question": "Which village in Kazakhstan has the CATO ID 115657100?", "sparql": "SELECT ?village WHERE { ?village wdt:P4838 \"115657100\" . } LIMIT 1", "paraphrases": ["What is the Wikidata item for the village in Kazakhstan with CATO ID 115657100?", "Find the village in Kazakhstan identified by the CATO ID 115657100."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4838> \"115657100\". } LIMIT 1"}}
{"id": "test_283", "question": "Is there a football player in Wikidata with the Transfermarkt ID 33982?", "sparql": "ASK WHERE { ?player wdt:P2446 \"33982\" . }", "paraphrases": ["Does the Transfermarkt player ID 33982 correspond to any footballer in Wikidata?", "Does Wikidata contain a record for the footballer identified as 33982 on Transfermarkt?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2446> \"33982\". }"}}
{"id": "test_284", "question": "Persian labels of athletes and their subtypes (e.g., football players, Olympians)", "sparql": "SELECT DISTINCT ?label WHERE { ?person wdt:P31 wd:Q5 . { ?person wdt:P106 ?occupation . } UNION { ?person wdt:P31 ?occupation . } ?occupation wdt:P279* wd:Q2066131 . ?person rdfs:label ?label . FILTER(LANG(?label) = \"fa\") } LIMIT 10", "paraphrases": ["Who are some athletes, in Persian, whose occupation or type is athlete or a subclass of athlete?", "List up to 10 Persian-language labels of people who are athletes or have an occupation that is a subclass of athlete."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { ?var2 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P106> ) ?var3 . ?var3 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> )* ?var4 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q2066131> ) ) ) . FILTER ( ( ( LANG ( ?var1 ) = \"fa\" ) ) ) . } } LIMIT 10 OFFSET 4020"}}
{"id": "test_285", "question": "What year was the winner of the 2016 Tour de France born, and did they die?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT(YEAR(?birth) AS ?birthYear)(YEAR(?death) AS ?deathYear) WHERE {\n  ?winner wdt:P2522 wd:Q18574623 .\n  ?winner wdt:P569 ?birth .\n  OPTIONAL {\n    ?winner wdt:P570 ?death .\n  }\n}", "paraphrases": ["Show the birth and death years of the cyclist who won the 2016 Tour de France.", "Who won the 2016 Tour de France, and when were they born and (if applicable) died?"], "info": {"raw_sparql": "SELECT DISTINCT( YEAR ( ?var1 ) AS ?var2 )( YEAR ( ?var3 ) AS ?var4 ) ?var5 ?var6 WHERE { OPTIONAL { } OPTIONAL { } OPTIONAL { ?var7 <http://www.wikidata.org/prop/direct/P569> ?var1 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/direct/P570> ?var3 . } OPTIONAL { } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,ar,be,bg,bn,ca,cs,da,de,el,en,es,et,fa,fi,he,hi,hu,hy,id,it,ja,jv,ko,nb,nl,eo,pa,pl,pt,ro,ru,sh,sk,sr,sv,sw,te,th,tr,uk,yue,vec,vi,zh\". } ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q18574623> . OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P393> ?var6 . } } ORDER BY ASC( ?var7 )"}}
{"id": "test_286", "question": "What is the English label and description of the V&A item with ID O54307?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P3929 \"O54307\" .\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["Can you tell me about the Ardabil Carpet in the Victoria and Albert Museum?", "Show me the English description and name of the object in the V&A collection identified by O54307."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3929> \"O1242181\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_287", "question": "Countries with their population, coordinates, Human Development Index, and a constant value \"foobar\", sorted alphabetically by name and by HDI in descending order.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?country ?countryLabel ?coordinate ?population ?hdi ?constant WHERE {\n  ?country wdt:P31 wd:Q6256 .\n  OPTIONAL {\n    ?country wdt:P625 ?coordinate .\n  }\n  OPTIONAL {\n    ?country wdt:P1082 ?population .\n  }\n  OPTIONAL {\n    ?country wdt:P1081 ?hdi .\n  }\n  ?country rdfs:label ?countryLabel .\n  FILTER ( LANG( ?countryLabel ) = \"en\" ) BIND( \"foobar\" AS ?constant )\n}\nORDER BY ASC ( ?countryLabel ) DESC ( ?hdi )\nLIMIT 15", "paraphrases": ["What are the top 15 countries by Human Development Index, along with their population, geographic coordinates, and English labels?", "Please list 15 countries with their English names, population, coordinates, and HDI values, ordered by country name and then by HDI from highest to lowest, and include a constant value \"foobar\" for each."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1081> ?var5 . } OPTIONAL { BIND ( CONCAT ( \"foo\"@en , \"bar\" ) AS ?var4 ). ?var1 <http://www.wikidata.org/prop/P1081> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P1081> ?var7 . ?var6 <http://www.wikidata.org/prop/qualifier/P585> ?var8 . } } ORDER BY ASC( ?var1Label ) DESC( ?var5 ) LIMIT 15"}}
{"id": "test_288", "question": "Which film has the Scope.dk ID 6255?", "sparql": "SELECT ?film WHERE { ?film wdt:P2518 \"6255\" .}", "paraphrases": ["What is the Wikidata item for the film identified as 6255 on Scope.dk?", "Find the film on Wikidata that corresponds to the Scope.dk film ID 6255."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2518> \"6255\". }"}}
{"id": "test_289", "question": "What is the Turkish Wikipedia article about Ali Khamenei?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?article WHERE {\n  ?article rdf:type schema:Article ; schema:about wd:Q57336 ; schema:inLanguage \"tr\" ; schema:isPartOf ?wiki .\n  ?wiki wikibase:wikiGroup \"wikipedia\" .\n}", "paraphrases": ["Turkish Wikipedia article about Ali Khamenei", "Show me the Turkish-language Wikipedia article about Ali Khamenei."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q57336> ; <http://schema.org/inLanguage> \"tr\"; <http://schema.org/isPartOf> ?var2 . ?var2 <http://wikiba.se/ontology#wikiGroup> \"string1\". } LIMIT 1"}}
{"id": "test_290", "question": "Does the movie Mr. Holmes have the Box Office Mojo ID \"mr.holmes\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q17344458 wdt:P1237 \"mr.holmes\" .\n}", "paraphrases": ["Is the Box Office Mojo film ID for Mr. Holmes \"mr.holmes\"?", "Is there a film in Wikidata with the Box Office Mojo identifier \"mr.holmes\"?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1237> \"mr.holmes\". }"}}
{"id": "test_291", "question": "Humans who are members of the Royal Society and have a Scopus author ID.", "sparql": "SELECT ?person ?scopusId ?organizationLabel WHERE { ?person wdt:P31 wd:Q5 ; wdt:P463 wd:Q123885 ; wdt:P1153 ?scopusId . wd:Q123885 rdfs:label ?organizationLabel . FILTER(LANG(?organizationLabel) = \"en\") }", "paraphrases": ["Which humans are members of the Royal Society and have a Scopus ID?", "List all members of the Royal Society who have a Scopus author identifier, along with their Scopus IDs."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var3Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P463> ?var3 ; <http://www.wikidata.org/prop/direct/P1153> ?var4 . ?var3 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q123885> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\uff0cfr,sp\". } }"}}
{"id": "test_292", "question": "Squatter's houses in Amsterdam", "sparql": "SELECT ?building ?buildingLabel WHERE { ?building wdt:P31 wd:Q13691604 ; wdt:P131 wd:Q9899 . ?building rdfs:label ?buildingLabel . FILTER(LANG(?buildingLabel) = \"en\") }", "paraphrases": ["What are the squatter's houses located in Amsterdam?", "List the English labels of all squatter's houses in Amsterdam."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <https://adamlink.nl/geo/building/rozengracht-54/817> <https://www.wikidata.org/wiki/Property:P31> <http://www.wikidata.org/entity/Q13691604> ; <https://www.wikidata.org/wiki/Property:P131> <http://www.wikidata.org/entity/Q9899> . }"}}
{"id": "test_293", "question": "What equipment was retired or went missing in 1966?", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item WHERE {\n  ?item wdt:P730 | wdt:P746 ?date .\n  FILTER(?date >= \"1966-01-01T00:00:00Z\" ^^ xsd:dateTime && ?date <= \"1966-12-31T23:59:59Z\" ^^ xsd:dateTime)\n}", "paraphrases": ["Which items had their service retirement or date of disappearance in 1966?", "List all military vessels, rockets, and infrastructure that were decommissioned or disappeared during the year 1966."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P730> | <http://www.wikidata.org/prop/direct/P746> ) ?var2 . FILTER ( ( ( ?var2 >= \"1966-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1966-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_294", "question": "What is the Turkish-language Wikipedia article about the Turkish Wikipedia?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nSELECT ?article WHERE {\n  ?article rdf:type schema:Article ; schema:about wd:Q58255 ; schema:inLanguage \"tr\" .\n}\nLIMIT 1", "paraphrases": ["Find any article in Turkish that is about the Turkish Wikipedia.", "Show me a Turkish Wikipedia page that discusses the Turkish Wikipedia."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q6134246> ; <http://schema.org/inLanguage> \"tr\"; <http://schema.org/isPartOf> ?var2 . ?var2 <http://wikiba.se/ontology#wikiGroup> \"string1\". } LIMIT 1"}}
{"id": "test_295", "question": "What film has the Box Office Mojo ID \"max2015\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P1237 \"max2015\" .\n}", "paraphrases": ["Which movie on Wikidata is identified by the Box Office Mojo film ID \"max2015\"?", "Can you find the Wikidata item for the 2015 German film known as \"max2015\" on Box Office Mojo?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1237> \"max2015\". }"}}
{"id": "test_296", "question": "Is there a film in Wikidata with the Box Office Mojo ID \"spokenword\"?", "sparql": "ASK WHERE { ?item wdt:P1237 \"spokenword\" . }", "paraphrases": ["Does the Box Office Mojo film ID \"spokenword\" correspond to any movie in Wikidata?", "Is \"spokenword\" a valid Box Office Mojo identifier for any film in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1237> \"spokenword\". }"}}
{"id": "test_297", "question": "Squatter's houses in Amsterdam", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P31 wd:Q13691604 ; wdt:P131 wd:Q9899 .\n}", "paraphrases": ["What are the squatter's houses located in Amsterdam?", "List all squatter's houses in Amsterdam."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <https://adamlink.nl/geo/building/roomolen/931> <https://www.wikidata.org/wiki/Property:P31> <http://www.wikidata.org/entity/Q13691604> ; <https://www.wikidata.org/wiki/Property:P131> <http://www.wikidata.org/entity/Q9899> . }"}}
{"id": "test_298", "question": "List all ghettos in Nazi-occupied Europe and their catalog codes.", "sparql": "SELECT ?ghetto ?ghettoLabel ?catalogCode WHERE { ?ghetto wdt:P31 wd:Q2583015 ; wdt:P528 ?catalogCode . ?ghetto rdfs:label ?ghettoLabel . FILTER(LANG(?ghettoLabel) = \"en\") }", "paraphrases": ["What are the names and catalog identifiers of ghettos established by Nazi Germany during World War II?", "Please provide the English names and catalog codes of all known Jewish ghettos in Nazi-occupied territories."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2583015> ; <http://www.wikidata.org/prop/direct/P528> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_299", "question": "Does the OCLC control number 643881980 exist in Wikidata?", "sparql": "ASK WHERE { ?item wdt:P243 \"643881980\" . }", "paraphrases": ["Is there a Wikidata item associated with the OCLC number 643881980?", "Check if the journal with OCLC number 643881980 is listed in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P243> \"643881980\". }"}}
{"id": "test_300", "question": "Wikipedia articles about Minor White, identified by Getty ULAN ID 500000194.", "sparql": "SELECT ?article ?artist WHERE { ?artist wdt:P245 \"500000194\" . ?article schema:about ?artist .}", "paraphrases": ["What Wikipedia pages are about the photographer Minor White, whose ULAN ID is 500000194?", "Show me all the language versions of Wikipedia articles and related pages about Minor White, using his Getty ULAN identifier 500000194."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/direct-normalized/P245> <http://vocab.getty.edu/ulan/500000194> . ?var1 <http://schema.org/about> ?var2 . }"}}
{"id": "test_301", "question": "What is the English description of the play with IBDB ID 4172?", "sparql": "SELECT ?work ?desc WHERE { ?work wdt:P1219 \"4172\" . OPTIONAL { ?work schema:description ?desc . FILTER (LANG(?desc) = \"en\") } }", "paraphrases": ["Which play on Broadway has the Internet Broadway Database ID 4172, and what is its description?", "Tell me about the play identified by IBDB show ID 4172."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1219> \"6559\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_302", "question": "What is the English description of the artwork in the Victoria and Albert Museum with ID O1157943?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P3929 \"O1157943\" . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") OPTIONAL { ?item schema:description ?description . FILTER(LANG(?description) = \"en\") } }", "paraphrases": ["Find the item in the V&A collection with ID O1157943 and show its English name and description.", "Which artwork from the Victoria and Albert Museum has the ID O1157943, and what is its English label and description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3929> \"O112474\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_303", "question": "What is the English name and description of the V&A Museum item with ID O1157943?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P3929 \"O1157943\" .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER ( LANG( ?itemLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["Can you tell me the title and a brief description in English for the artwork in the V&A collection identified by O1157943?", "Which artwork in the Victoria and Albert Museum has the ID O1157943, and what is its English label and description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3929> \"O1153941\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_304", "question": "What is the English description of the entity with the National Library of Spain ID XX450954?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P950 \"XX450954\" . OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Can you find the entity in Wikidata that has the BNE ID XX450954 and tell me its English description?", "Which country has the National Library of Spain identifier XX450954, and what is its English description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P950> \"XX881916\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_305", "question": "Post boxes in Liverpool with images and Commons categories", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?postbox ?postboxLabel ?location ?image ?commonsCategory ?postalCode WHERE {\n  ?postbox(wdt:P31 / wdt:P279 *) wd:Q49844 .\n  ?postbox wdt:P625 ?location .\n  BIND(SUBSTR(STR(?location) , 7) AS ?wktWithoutPoint)\n  BIND(STRBEFORE(?wktWithoutPoint , \" \") AS ?lonStr)\n  BIND(STRAFTER(?wktWithoutPoint , \" \") AS ?latStrWithParen)\n  BIND(SUBSTR(?latStrWithParen , 1 , STRLEN(?latStrWithParen) - 1) AS ?latStr)\n  BIND(xsd:double(?lonStr) AS ?lon)\n  BIND(xsd:double(?latStr) AS ?lat)\n  FILTER(?lon >= -3.0 && ?lon <= -2.0 && ?lat >= 52.5 && ?lat <= 53.5)\n  OPTIONAL {\n    ?postbox wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?postbox wdt:P373 ?commonsCategory .\n  }\n  OPTIONAL {\n    ?postbox wdt:P969 ?postalCode .\n  }\n  OPTIONAL {\n    ?postbox rdfs:label ?postboxLabel\n  }\n}\nLIMIT 100", "paraphrases": ["What are the post boxes located between longitude -3.0 and -2.0 and latitude 52.5 and 53.5, and do they have photos or Wikimedia Commons categories?", "Show me all post boxes in northwest England with their locations, images, and associated Wikimedia Commons categories."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(-3 53)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(-2 53)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q49844> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_306", "question": "What is the Turkish Wikipedia article about Amy Lee?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?article WHERE {\n  ?article schema:about wd:Q172632 ; schema:inLanguage \"tr\" ; schema:isPartOf ?wiki .\n  ?wiki wikibase:wikiGroup \"wikipedia\" .\n}\nLIMIT 1", "paraphrases": ["Is there a Turkish-language Wikipedia page for Amy Lee, and if so, what is its URL?", "Find the Turkish Wikipedia article linked to the Wikidata item for Amy Lee."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q172632> ; <http://schema.org/inLanguage> \"tr\"; <http://schema.org/isPartOf> ?var2 . ?var2 <http://wikiba.se/ontology#wikiGroup> \"string1\". } LIMIT 1"}}
{"id": "test_307", "question": "What is the English label and description of the MoMA artist with ID 7558?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P2174 \"7558\" . OPTIONAL { ?item schema:description ?description . FILTER(LANG(?description) = \"en\") } ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["Who is the artist identified by MoMA ID 7558, and what is their English description?", "Find the English name and description of the Museum of Modern Art artist whose ID is 7558."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2174> \"7559\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_308", "question": "What is the English description of the entity with the National Library of Spain ID \"XX450954\"?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P950 \"XX450954\" . OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Find the item in Wikidata that has the BNE ID XX450954 and show its English description.", "Which entity is identified by the National Library of Spain ID XX450954, and what is its English description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P950> \"XX5386012\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_309", "question": "What is the English label and description of the entity with the NLA Trove People ID 1131618?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P1315 \"1131618\" .\n  OPTIONAL {\n    ?item schema:description ?description FILTER ( LANG( ?description ) = \"en\" )\n  }\n  .\n  ?item rdfs:label ?itemLabel FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["Can you find the country associated with NLA ID 1131618 and show its English name and description?", "Show the English name and description of the Wikidata item that has the National Library of Australia ID 1131618."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1315> \"1209416\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_310", "question": "Post boxes in southwest England with coordinates between longitude -7 and -2 and latitude 49 and 51, including their images and Wikimedia Commons categories.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?postbox ?postboxLabel ?location ?image ?commonsCategory ?address WHERE {\n  ?postbox(wdt:P31 / wdt:P279 *) wd:Q49844 .\n  ?postbox wdt:P625 ?location .\n  BIND(STRBEFORE(STRAFTER(STR(?location) , \"POINT(\") , \" \") AS ?lonStr)\n  .\n  BIND(STRBEFORE(STRAFTER(STR(?location) , \" \") , \")\") AS ?latStr)\n  .\n  BIND(xsd:double(?lonStr) AS ?lon)\n  .\n  BIND(xsd:double(?latStr) AS ?lat)\n  .\n  FILTER(?lon >= -7 && ?lon <= -2 && ?lat >= 49 && ?lat <= 51)\n  .\n  OPTIONAL {\n    ?postbox wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?postbox wdt:P373 ?commonsCategory .\n  }\n  OPTIONAL {\n    ?postbox wdt:P969 ?address .\n  }\n}\nLIMIT 3000", "paraphrases": ["What are the post boxes located in the UK region bounded by longitude -7 to -2 and latitude 49 to 51, and do they have associated images or Commons categories?", "Show me all post boxes in southwest England (between latitudes 49\u201351 and longitudes -7 to -2), along with any available photos, Wikimedia Commons categories, and street addresses."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(-7 49)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(-2 51)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q49844> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_311", "question": "What are the post boxes located in Western Europe between longitudes -14 and 10 and latitudes 47 and 57, and do they have images, Commons categories, or post codes?", "sparql": "SELECT ?postbox ?postboxLabel ?location ?image ?commonsCategory ?postCode WHERE {\n  ?postbox (wdt:P31/wdt:P279*) wd:Q49844 .\n  ?postbox wdt:P625 ?location .\n  FILTER(geof:longitude(?location) >= -14 && geof:longitude(?location) <= 10)\n  FILTER(geof:latitude(?location) >= 47 && geof:latitude(?location) <= 57)\n  OPTIONAL { ?postbox wdt:P18 ?image . }\n  OPTIONAL { ?postbox wdt:P373 ?commonsCategory . }\n  OPTIONAL { ?postbox wdt:P969 ?postCode . }\n}\nLIMIT 3000", "paraphrases": ["Can you list all post boxes in the British Isles and nearby regions with their locations, images, and associated Wikimedia Commons categories?", "Show me post boxes in Europe with coordinates between 47\u00b0N\u201357\u00b0N and 14\u00b0W\u201310\u00b0E, including any available photos and postal codes."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(-14 47)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(10 57)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q49844> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_312", "question": "Which film has the Cineplex Germany film ID 242368?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P3077 \"242368\" .\n}", "paraphrases": ["Find the film with Cineplex ID 242368", "What is the film associated with the Cineplex Germany film identifier 242368?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3077> \"242368\". }"}}
{"id": "test_313", "question": "Film with AlloCin\u00e9 ID 254760", "sparql": "SELECT ?film WHERE { ?film wdt:P1265 \"254760\" . }", "paraphrases": ["What film has the AlloCin\u00e9 film ID 254760?", "Tell me the film that corresponds to AlloCin\u00e9 ID 254760."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1265> \"254760\". }"}}
{"id": "test_314", "question": "What is the English label and description of the disease with MeSH ID D011694?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?disease ?diseaseLabel ?description WHERE {\n  ?disease wdt:P486 \"D011694\" .\n  OPTIONAL {\n    ?disease rdfs:label ?diseaseLabel .\n    FILTER(LANG(?diseaseLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?disease schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["What is the name and classification in English of the disease identified by the MeSH descriptor D011694?", "Please provide the English name and description of the disease that has the MeSH ID D011694."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P486> \"D011694\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_315", "question": "Turkish Wikipedia article about MacPherson strut", "sparql": "SELECT ?article WHERE { ?article rdf:type schema:Article ; schema:about wd:Q1068191 ; schema:inLanguage \"tr\" ; schema:isPartOf ?wiki . ?wiki wikibase:wikiGroup \"wikipedia\" . } LIMIT 1", "paraphrases": ["What is the Turkish Wikipedia article about the MacPherson strut?", "Show me the Turkish-language Wikipedia page for the MacPherson strut."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q1068191> ; <http://schema.org/inLanguage> \"tr\"; <http://schema.org/isPartOf> ?var2 . ?var2 <http://wikiba.se/ontology#wikiGroup> \"string1\". } LIMIT 1"}}
{"id": "test_316", "question": "What is the English description of the item in the Victoria and Albert Museum with ID O56227?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P3929 \"O56227\" .\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["Find the item in the V&A collection with ID O56227 and its English description.", "Which artwork from the Victoria and Albert Museum has the ID O56227, and what is its English description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3929> \"O215672\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_317", "question": "Is the video game 'Basketball' assigned the Gaming-History ID 19472?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?game wdt:P4806 \"19472\"\n}", "paraphrases": ["Does the game Basketball have Gaming-History ID 19472?", "Confirm if the Gaming-History identifier for Basketball is 19472."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4806> \"19472\". }"}}
{"id": "test_318", "question": "What is the English description of the Open Library author with ID OL1104A?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P648 \"OL1104A\" . OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Find the Wikidata item for the Open Library author ID OL1104A and show its label and English description.", "Which person in Wikidata has the Open Library ID OL1104A, and what is their English description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P648> \"OL2409695A\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_319", "question": "What is the English label and description of the Open Library author with ID OL4782344A?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P648 \"OL4782344A\" .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" ) .\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["Who is the author in Wikidata associated with the Open Library ID OL4782344A, and what is their description in English?", "Show me the name and English description of the person in Wikidata whose Open Library ID is OL4782344A."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P648> \"OL4782346A\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_320", "question": "Who is the Mexican writer with Enciclopedia de la Literatura en M\u00e9xico ID 2835?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P1565 \"2835\" .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER ( LANG( ?itemLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["What is the name and description of the person identified by ELEM ID 2835 in the Enciclopedia de la Literatura en M\u00e9xico?", "Show me the English name and description of the writer with ELEM ID 2835."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1565> \"2835\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_321", "question": "What Formula One races have taken place in Hungary?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?race ?raceLabel WHERE {\n  ?race wdt:P31 wd:Q9233 ; wdt:P17 wd:Q28 .\n  ?race rdfs:label ?raceLabel .\n  FILTER ( LANG( ?raceLabel ) = \"en\" )\n}\nORDER BY DESC ( ?race )\nLIMIT 10", "paraphrases": ["List the editions of the Hungarian Grand Prix.", "Which years did Hungary host a Formula One race?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q28> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1968> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_322", "question": "Labels for Noris Cycling in Italian, English, German, and French, along with its Italian Wikipedia page.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nSELECT ?label ?image ?coordinates ?wikipediaArticle WHERE {\n  OPTIONAL {\n    wd:Q316593 rdfs:label ?label .\n    FILTER ( LANG( ?label ) = ?lang ) VALUES ( ?lang ?priority ) {\n      ( \"it\" \"1\" ^^ xsd:integer ) ( \"en\" \"2\" ^^ xsd:integer ) ( \"de\" \"3\" ^^ xsd:integer ) ( \"fr\" \"4\" ^^ xsd:integer )\n    }\n  }\n  OPTIONAL {\n    wd:Q316593 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q316593 wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    ?wikipediaArticle rdf:type schema:Article ; schema:about wd:Q316593 ; schema:inLanguage \"it\" ; schema:isPartOf <https://it.wikipedia.org/> .\n  }\n}\nORDER BY ASC ( ?priority )", "paraphrases": ["What are the official names of Noris Cycling in Italian, English, German, and French, and what is its Italian Wikipedia article?", "Show me the team name of Noris Cycling in Italian, English, German, and French, sorted by language priority, and include its Italian Wikipedia link."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q316593> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var5 ) ) ) . VALUES ( ?var5 ?var6 ) { ( \"it\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q316593> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q316593> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q316593> ; <http://schema.org/inLanguage> \"it\"; <http://schema.org/isPartOf> <https://it.wikipedia.org/> . } } ORDER BY ASC( ?var6 )"}}
{"id": "test_323", "question": "What are the Chinese labels of entities related to the Universe?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?label WHERE {\n  wd:Q1 ?property ?object .\n  ?object rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"zh\" )\n}\nORDER BY ?property\nLIMIT 2000", "paraphrases": ["Which Chinese-language terms describe things connected to the Universe in Wikidata?", "Can you list the Chinese names of objects that are linked to the Universe?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q1> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( STRSTARTS ( STR ( ?var1 ) , \"string1\" ) ) ) . FILTER ( ( ( LANG ( ?var2 ) = \"zh\" ) ) ) . } ORDER BY ASC( ?var1 ) LIMIT 2000"}}
{"id": "test_324", "question": "Who has the Dutch National Thesaurus for Author Names ID \"07075442X\"?", "sparql": "SELECT DISTINCT ?item ?ntaId WHERE { ?item wdt:P1006 ?ntaId . FILTER(?ntaId = \"07075442X\") }", "paraphrases": ["What is the Wikidata item for the person with NTA ID 07075442X?", "Find the person identified by the NTA ID 07075442X."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1006> \"075442000\". ?var1 <http://www.wikidata.org/prop/direct/P1006> ?var2 . }"}}
{"id": "test_325", "question": "Is the E. O. Manees House listed in the National Register of Historic Places with reference number 75000413?", "sparql": "ASK WHERE { ?item wdt:P649 \"75000413\" . }", "paraphrases": ["Does the National Register of Historic Places reference number 75000413 correspond to a known historic site in Wikidata?", "Check if the NRHP ID 75000413 is assigned to any historic property in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P649> \"75000413\". }"}}
{"id": "test_326", "question": "What Wikidata entities have the Twitter usernames \"CityOfBoston\", \"melroserugby\", or \"deventergem\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"CityOfBoston\" \"melroserugby\" \"deventergem\"\n  }\n}\nORDER BY ?username", "paraphrases": ["Show me the items on Wikidata that are linked to these Twitter accounts: CityOfBoston, melroserugby, and deventergem.", "Which organizations or places on Wikidata use \"CityOfBoston\", \"melroserugby\", or \"deventergem\" as their Twitter handle?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"CyclingTV\" ) ( \"string9\" ) ( \"string10\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_327", "question": "Film with Scope.dk ID 6250", "sparql": "SELECT ?film WHERE { ?film wdt:P2518 \"6250\" . }", "paraphrases": ["What film has the Scope.dk film ID 6250?", "Tell me the film that corresponds to the Scope.dk ID 6250."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2518> \"6250\". }"}}
{"id": "test_328", "question": "List the editions of the La Fl\u00e8che Wallonne F\u00e9minine cycling race and their images.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?edition ?label ?image WHERE {\n  ?edition wdt:P31 wd:Q508838 .\n  ?edition rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    ?edition wdt:P18 ?image .\n  }\n}\nLIMIT 100", "paraphrases": ["What are the editions of the women\u2019s La Fl\u00e8che Wallonne race, and which ones have official images?", "Show me the English names of each year\u2019s La Fl\u00e8che Wallonne F\u00e9minine event and the associated Wikimedia Commons images, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q508838> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ar\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_329", "question": "What are the cultural heritage sites in Finland that are either nationally significant or UNESCO World Heritage Sites, and what are their images and Commons categories?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?site ?siteLabel ?coord ?image ?commonsCategory WHERE {\n  VALUES ?heritageDesignation {\n    wd:Q29966257 wd:Q9259\n  }\n  ?site wdt:P1435 ?heritageDesignation ; wdt:P17 wd:Q33 ; wdt:P625 ?coord .\n  OPTIONAL {\n    ?site wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?site wdt:P373 ?commonsCategory .\n  }\n  OPTIONAL {\n    ?site rdfs:label ?siteLabel .\n    FILTER(LANG(?siteLabel) = \"en\")\n  }\n}\nLIMIT 3000", "paraphrases": ["Show me Finnish heritage sites with national or UNESCO status, including their locations, pictures, and Wikimedia Commons categories.", "List cultural heritage sites in Finland designated by the Finnish government or UNESCO, along with their coordinates and associated images."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(-6 43)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(16 52)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } VALUES ( ?var7 ) { ( <http://www.wikidata.org/entity/Q29966257> ) ( <http://www.wikidata.org/entity/Q9259> ) } ?var8 <http://www.wikidata.org/prop/direct/P1435> ?var7 . ?var8 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q33> . ?var1 (( <http://www.wikidata.org/prop/direct/P131> / <http://www.wikidata.org/prop/direct/P279> *)|( <http://www.wikidata.org/prop/direct/P276> / <http://www.wikidata.org/prop/direct/P279> *)|( <http://www.wikidata.org/prop/direct/P361> / <http://www.wikidata.org/prop/direct/P279> *)) ?var8 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_330", "question": "Which Wikidata items have Twitter usernames \"CityOfBoston\", \"MelroseRugby\", or \"deventergem\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"CityOfBoston\" \"MelroseRugby\" \"deventergem\"\n  }\n}\nORDER BY ?username", "paraphrases": ["What entities in Wikidata are associated with the Twitter handles CityOfBoston, MelroseRugby, and deventergem?", "Show me the Wikidata items that use the Twitter usernames CityOfBoston, MelroseRugby, and deventergem, sorted alphabetically by username."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"Pymouss\" ) ( \"string1\" ) ( \"Auregann\" ) ( \"pvnova\" ) ( \"belett\" ) ( \"string2\" ) ( \"mesosphere\" ) ( \"Miopau_\" ) ( \"foleene\" ) ( \"calopedie\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"104paris\" ) ( \"Le_Museum\" ) ( \"string6\" ) ( \"PoulpyWP\" ) ( \"darkoneko\" ) ( \"string7\" ) ( \"mjg59\" ) ( \"OpenAI\" ) ( \"string8\" ) ( \"bwest87\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"uzaigaijin\" ) ( \"string12\" ) ( \"EurostarUK\" ) ( \"AdobeXD\" ) ( \"sazzy\" ) ( \"AoDespair\" ) ( \"gurdiiil\" ) ( \"string13\" ) ( \"string14\" ) ( \"DGclassics\" ) ( \"DrHercouet\" ) ( \"wikidata\" ) ( \"string15\" ) ( \"string16\" ) ( \"string17\" ) ( \"string18\" ) ( \"string19\" ) ( \"string20\" ) ( \"fnielsen\" ) ( \"string21\" ) ( \"Smerity\" ) ( \"WikiMoyg\" ) ( \"string22\" ) ( \"Kormin_\" ) ( \"string23\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_331", "question": "Lighthouses in Morocco without Spanish descriptions", "sparql": "SELECT ?lighthouse ?lighthouseLabel WHERE { ?lighthouse wdt:P31 wd:Q39715 ; wdt:P17 wd:Q1028 . OPTIONAL { ?lighthouse schema:description ?desc . FILTER (LANG(?desc) = \"es\") } FILTER (!BOUND(?desc)) . ?lighthouse rdfs:label ?lighthouseLabel . FILTER (LANG(?lighthouseLabel) = \"en\") }", "paraphrases": ["Which lighthouses in Morocco do not have a description in Spanish?", "Show me the names of lighthouses in Morocco that aren't described in Spanish."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q39715> . OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"es\" ) ) ) . } FILTER ( ( !( BOUND ( ?var2 ) ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P360> <http://www.wikidata.org/entity/Q1028> . }"}}
{"id": "test_332", "question": "What is the English title and description of the Broadway play with IBDB ID 9380?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?work ?label ?description WHERE {\n  ?work wdt:P1219 \"9380\" .\n  ?work rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) OPTIONAL {\n    ?work schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["Tell me about the play identified by the Internet Broadway Database ID 9380, including its title and description in English.", "Which Broadway show has the IBDB show ID 9380, and what is its English title and description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1219> \"9336\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_333", "question": "List female humans and their Instagram usernames.", "sparql": "SELECT ?human ?instagramUsername WHERE { ?human wdt:P31 wd:Q5 ; wdt:P21 wd:Q6581072 . OPTIONAL { ?human wdt:P2003 ?instagramUsername . } } LIMIT 100", "paraphrases": ["Which female humans have Instagram accounts, and what are their usernames?", "Show me up to 100 female humans along with their Instagram usernames, if they have any."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/P2003> ?var3 . ?var3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.wikidata.org/prop/novalue/P2003> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2003> ?var2 . } } LIMIT 100"}}
{"id": "test_334", "question": "What is the English label and description of the person in Wikidata with Shakeosphere ID 57173?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P2886 \"57173\" . OPTIONAL { ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") } OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Who is the Shakespearean figure identified by the ID 57173 in the Shakeosphere database, and what is their English description?", "Find the English name and brief description of the individual linked to Shakeosphere ID 57173."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2886> \"29773\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_335", "question": "Cultural heritage sites in Finland with national significance or UNESCO status, including their coordinates, images, and Commons categories.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?heritageSite ?heritageSiteLabel ?coord ?image ?commonsCategory WHERE {\n  VALUES ?heritageDesignation {\n    wd:Q29966257 wd:Q9259\n  }\n  ?heritageSite wdt:P1435 ?heritageDesignation ; wdt:P17 wd:Q33 ; wdt:P625 ?coord .\n  OPTIONAL {\n    ?heritageSite wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?heritageSite wdt:P373 ?commonsCategory .\n  }\n  ?heritageSite rdfs:label ?heritageSiteLabel .\n  FILTER ( LANG( ?heritageSiteLabel ) = \"en\" )\n}\nLIMIT 3000", "paraphrases": ["What are the heritage sites in Finland that are either designated as Cultural Heritage Sites of National Significance or World Heritage Sites, and what are their labels, coordinates, images, and Wikimedia Commons categories?", "List all heritage sites in Finland that have either the national cultural heritage designation or UNESCO World Heritage status, along with their English labels, geographic coordinates, associated images, and Commons categories."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(16 60)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(18 62)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } VALUES ( ?var7 ) { ( <http://www.wikidata.org/entity/Q29966257> ) ( <http://www.wikidata.org/entity/Q9259> ) } ?var8 <http://www.wikidata.org/prop/direct/P1435> ?var7 . ?var8 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q33> . ?var1 (( <http://www.wikidata.org/prop/direct/P131> / <http://www.wikidata.org/prop/direct/P279> *)|( <http://www.wikidata.org/prop/direct/P276> / <http://www.wikidata.org/prop/direct/P279> *)|( <http://www.wikidata.org/prop/direct/P361> / <http://www.wikidata.org/prop/direct/P279> *)) ?var8 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_336", "question": "Who is the artist with MoMA ID 35526 and what is their English description?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?artist ?artistLabel ?description WHERE {\n  ?artist wdt:P2174 \"35526\" .\n  ?artist rdfs:label ?artistLabel .\n  FILTER ( LANG( ?artistLabel ) = \"en\" ) .\n  OPTIONAL {\n    ?artist schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" ) .\n  }\n}", "paraphrases": ["What is the name and English description of the artist identified by the Museum of Modern Art with ID 35526?", "Please provide the English name and description of the artist whose Museum of Modern Art artist ID is 35526."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2174> \"35526\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_337", "question": "What are the most common eye colors among Wikidata's recorded individuals, and how many people have each one?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?eyeColor ?eyeColorLabel(COUNT(?person) AS ?count) WHERE {\n  ?person wdt:P1340 ?eyeColor .\n  ?eyeColor rdfs:label ?eyeColorLabel .\n  FILTER(LANG(?eyeColorLabel) = \"en\")\n  FILTER(STRSTARTS(STR(?eyeColor) , \"http://www.wikidata.org/entity/Q\"))\n}\nGROUP BY ?eyeColor ?eyeColorLabel\nORDER BY DESC(?count)", "paraphrases": ["Count of people by eye color (brown, blue, green, etc.)", "Show me a list of eye colors and how many people have each, sorted from most to least common."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P1340> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fa,en\". } } GROUP BY ?var1 ?var1Label"}}
{"id": "test_338", "question": "What are the top 5 countries by nominal GDP, and what are their GDP values?", "sparql": "SELECT ?countryLabel ?nominalGDP WHERE { ?country wdt:P31 wd:Q6256 . ?country wdt:P2131 ?nominalGDP . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") } ORDER BY DESC(?nominalGDP) LIMIT 5", "paraphrases": ["Which countries have the highest nominal GDP, and how much is their GDP?", "List the five countries with the largest nominal GDP along with their GDP figures in USD."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var1 <http://www.wikidata.org/prop/direct/P2131> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja,ru,es,pt\". } } ORDER BY DESC( ?var2 ) LIMIT 5"}}
{"id": "test_339", "question": "Road bicycle racers, their birthplaces with coordinates, dates of birth, and competitions won.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?athlete ?athleteLabel ?competitionLabel ?birthplaceLabel ?dob ?coordinates WHERE {\n  ?athlete wdt:P2522 ?competition .\n  ?athlete wdt:P641 wd:Q3609 .\n  ?athlete wdt:P19 ?birthplace .\n  ?birthplace wdt:P625 ?coordinates .\n  ?athlete wdt:P569 ?dob .\n  OPTIONAL {\n    ?athlete rdfs:label ?athleteLabel .\n    FILTER(LANG(?athleteLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?competition rdfs:label ?competitionLabel .\n    FILTER(LANG(?competitionLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?birthplace rdfs:label ?birthplaceLabel .\n    FILTER(LANG(?birthplaceLabel) = \"en\")\n  }\n}", "paraphrases": ["Who are the professional road cyclists who have won competitions, where were they born, what are the coordinates of their birthplaces, and when were they born?", "List all road bicycle racers along with the competitions they won, their birthplaces, the geographic coordinates of those birthplaces, and their dates of birth."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2522> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var6 . ?var1 <http://www.wikidata.org/prop/direct/P641> <http://www.wikidata.org/entity/Q3609> . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl\". } }"}}
{"id": "test_340", "question": "Who are the English football players that participated in the 2018 FIFA World Cup?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?player ?playerLabel WHERE {\n  ?player wdt:P31 wd:Q5 .\n  ?player wdt:P106 wd:Q937857 .\n  ?player wdt:P54 wd:Q47762 .\n  ?player wdt:P1344 wd:Q170645 .\n  ?player rdfs:label ?playerLabel .\n  FILTER(LANG(?playerLabel) = \"en\")\n}", "paraphrases": ["List all English national team players who played in the 2018 World Cup.", "Which footballers represented England in the 2018 FIFA World Cup?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q937857> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var1 <http://www.wikidata.org/prop/direct/P54> <http://www.wikidata.org/entity/Q47762> . ?var1 <http://www.wikidata.org/prop/direct/P1344> <http://www.wikidata.org/entity/Q16839204> . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . }"}}
{"id": "test_341", "question": "Coat of arms image of Gisikon, Switzerland", "sparql": "SELECT ?coatOfArmsImage WHERE { wd:Q14567 wdt:P94 ?coatOfArmsImage ; wdt:P31 wd:Q70208 .}", "paraphrases": ["What is the coat of arms image for the municipality of Gisikon in Switzerland?", "Show me the official coat of arms image of Gisikon, which is a Swiss municipality."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q14567> <http://www.wikidata.org/prop/direct/P94> ?var1 ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q70208> . }"}}
{"id": "test_342", "question": "How many animals with known breeds have each eye color?", "sparql": "SELECT ?eyeColorLabel (COUNT(?animal) AS ?count) WHERE { ?animal wdt:P1340 ?eyeColor . ?animal wdt:P4743 ?breed . ?eyeColor rdfs:label ?eyeColorLabel . FILTER(LANG(?eyeColorLabel) = \"en\") } GROUP BY ?eyeColorLabel", "paraphrases": ["What are the counts of animals by eye color, considering only those with a specified breed?", "Can you show how many animals of each eye color have a documented breed?"], "info": {"raw_sparql": "SELECT ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P1340> ?var1 . ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> ?) <http://www.wikidata.org/prop/direct/P4743> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1Label"}}
{"id": "test_343", "question": "Labels and properties of Karlsruhe institutions like KIT Library, University of Karlsruhe, and Karlsruhe City Archive, including their type, country, inception date, and images.", "sparql": "SELECT ?itemLabel ?propertyLabel ?finalValueLabel WHERE { VALUES ?item { wd:Q28737478 wd:Q29426438 wd:Q1664948 wd:Q1327646 wd:Q21040684 wd:Q30343035 wd:Q1008310 wd:Q15782794 wd:Q1698463 wd:Q18628210 wd:Q19288378 wd:Q1267387 wd:Q1229415 wd:Q1718711 wd:Q830920 wd:Q21036969 wd:Q18625973 wd:Q21040660 wd:Q1633965 wd:Q895068 wd:Q15726482 wd:Q2358348 wd:Q1397280 wd:Q1437757 wd:Q18628534 wd:Q1532461 wd:Q18604080 wd:Q1749632 wd:Q19823649 wd:Q629078 } VALUES ?property { wdt:P17 wdt:P31 wdt:P18 wdt:P571 wdt:P361 wdt:P1435 wdt:P969 wdt:P1454 } ?item ?property ?value . ?propertyItem wikibase:directClaim ?property . OPTIONAL { ?item rdfs:label ?itemLabel FILTER(LANG(?itemLabel) = \"en\") } OPTIONAL { ?propertyItem rdfs:label ?propertyLabel FILTER(LANG(?propertyLabel) = \"en\") } OPTIONAL { ?value rdfs:label ?valueLabel FILTER(LANG(?valueLabel) = \"en\") } BIND(COALESCE(?valueLabel, STR(?value)) AS ?finalValueLabel) }", "paraphrases": ["What are the English labels, property names (like \"instance of\" or \"inception\"), and corresponding values for notable buildings and organizations in Karlsruhe, Germany?", "Please list the English names of Karlsruhe entities such as research institutes and public squares, along with their properties (e.g., country, type, founding date) and the values of those properties, including image URLs and dates."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3Label WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q28737478> ) ( <http://www.wikidata.org/entity/Q29426438> ) ( <http://www.wikidata.org/entity/Q1664948> ) ( <http://www.wikidata.org/entity/Q1327646> ) ( <http://www.wikidata.org/entity/Q21040684> ) ( <http://www.wikidata.org/entity/Q30343035> ) ( <http://www.wikidata.org/entity/Q1008310> ) ( <http://www.wikidata.org/entity/Q15782794> ) ( <http://www.wikidata.org/entity/Q1698463> ) ( <http://www.wikidata.org/entity/Q18628210> ) ( <http://www.wikidata.org/entity/Q19288378> ) ( <http://www.wikidata.org/entity/Q1267387> ) ( <http://www.wikidata.org/entity/Q1229415> ) ( <http://www.wikidata.org/entity/Q1718711> ) ( <http://www.wikidata.org/entity/Q830920> ) ( <http://www.wikidata.org/entity/Q21036969> ) ( <http://www.wikidata.org/entity/Q18625973> ) ( <http://www.wikidata.org/entity/Q21040660> ) ( <http://www.wikidata.org/entity/Q1633965> ) ( <http://www.wikidata.org/entity/Q895068> ) ( <http://www.wikidata.org/entity/Q15726482> ) ( <http://www.wikidata.org/entity/Q2358348> ) ( <http://www.wikidata.org/entity/Q1397280> ) ( <http://www.wikidata.org/entity/Q1437757> ) ( <http://www.wikidata.org/entity/Q18628534> ) ( <http://www.wikidata.org/entity/Q1532461> ) ( <http://www.wikidata.org/entity/Q18604080> ) ( <http://www.wikidata.org/entity/Q1749632> ) ( <http://www.wikidata.org/entity/Q19823649> ) ( <http://www.wikidata.org/entity/Q629078> ) } VALUES ( ?var4 ) { ( <http://www.wikidata.org/prop/direct/P17> ) ( <http://www.wikidata.org/prop/direct/P31> ) ( <http://www.wikidata.org/prop/direct/P18> ) ( <http://www.wikidata.org/prop/direct/P571> ) ( <http://www.wikidata.org/prop/direct/P361> ) ( <http://www.wikidata.org/prop/direct/P1435> ) ( <http://www.wikidata.org/prop/direct/P969> ) ( <http://www.wikidata.org/prop/direct/P1454> ) } ?var1 ?var4 ?var3 . ?var2 <http://wikiba.se/ontology#directClaim> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_344", "question": "What film has the AFI Catalog ID 3922?", "sparql": "SELECT ?film WHERE { ?film wdt:P3593 \"3922\" . }", "paraphrases": ["Which movie is identified by the AFI Catalog number 3922?", "Find the Wikidata item for the film with AFI Catalog ID 3922."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3593> \"3922\". }"}}
{"id": "test_345", "question": "What is the name and description of the Australian geographic region with ASGS 2016 ID SSC12831?", "sparql": "SELECT ?item ?label ?description WHERE { ?item wdt:P4093 \"SSC12831\" . ?item rdfs:label ?label . FILTER (LANG(?label) = \"en\") . OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") . } }", "paraphrases": ["Find the English label and description of the suburb in Australia identified by the code SSC12831.", "Which suburb in New South Wales has the Australian Statistical Geography Standard 2016 code SSC12831, and what is its description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4093> \"SSC12831\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_346", "question": "Cultural heritage sites in Finland with coordinates, images, and Commons categories, designated as National Significance or World Heritage Site.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?heritageSite ?heritageSiteLabel ?location ?image ?commonsCategory WHERE {\n  VALUES ?designation {\n    wd:Q29966257 wd:Q9259\n  }\n  ?heritageSite wdt:P1435 ?designation .\n  ?heritageSite wdt:P17 wd:Q33 .\n  ?heritageSite wdt:P625 ?location .\n  BIND(SUBSTR(STR(?location) , 7) AS ?lonLat)\n  BIND(STRBEFORE(?lonLat , \" \") AS ?lon)\n  BIND(STRBEFORE(STRAFTER(?lonLat , \" \") , \")\") AS ?lat)\n  FILTER(xsd:double(?lon) >= 19 && xsd:double(?lon) <= 32)\n  FILTER(xsd:double(?lat) >= 59 && xsd:double(?lat) <= 70)\n  OPTIONAL {\n    ?heritageSite wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?heritageSite wdt:P373 ?commonsCategory .\n  }\n}\nLIMIT 3000", "paraphrases": ["What are the cultural heritage sites in Finland that are either nationally significant or UNESCO World Heritage Sites, and what are their locations, images, and Wikimedia Commons categories?", "List all cultural heritage sites in Finland with a geographic coordinate within the country's bounds, including their designation (National Significance or World Heritage), image, and Commons category."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(0 51)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(0 52)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } VALUES ( ?var7 ) { ( <http://www.wikidata.org/entity/Q29966257> ) ( <http://www.wikidata.org/entity/Q9259> ) } ?var8 <http://www.wikidata.org/prop/direct/P1435> ?var7 . ?var8 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q33> . ?var1 (( <http://www.wikidata.org/prop/direct/P131> / <http://www.wikidata.org/prop/direct/P279> *)|( <http://www.wikidata.org/prop/direct/P276> / <http://www.wikidata.org/prop/direct/P279> *)|( <http://www.wikidata.org/prop/direct/P361> / <http://www.wikidata.org/prop/direct/P279> *)) ?var8 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_347", "question": "What is the English name of the person with Library of Congress ID nr91045113?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P244 \"nr91045113\" . OPTIONAL { ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") } OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Can you find the Wikidata item for Luigi Di Stadio using the Library of Congress control number nr91045113?", "What is the English label and description for the entity identified by the LCCN nr91045113?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P244> \"nr91045113\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_348", "question": "Causes of death of people educated at universities in Chile", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?causeLabel WHERE {\n  ?university wdt:P31 wd:Q3918 .\n  ?university wdt:P17 wd:Q298 .\n  ?person wdt:P69 ?university .\n  ?person wdt:P509 ?causeOfDeath .\n  ?causeOfDeath rdfs:label ?causeLabel .\n  ?person rdfs:label ?personLabel .\n  ?university rdfs:label ?universityLabel .\n  FILTER(LANG(?causeLabel) = \"es\")\n  FILTER(LANG(?personLabel) = \"es\")\n  FILTER(LANG(?universityLabel) = \"es\")\n}", "paraphrases": ["What were the causes of death of people who studied at universities in Chile?", "List the Spanish-language causes of death for individuals who attended universities in Chile."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3918> . ?var2 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q298> . ?var3 <http://www.wikidata.org/prop/direct/P69> ?var2 . ?var3 <http://www.wikidata.org/prop/direct/P509> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var6 . FILTER ( ( ( LANG ( ?var6 ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var5 ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var1 ) = \"es\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_349", "question": "Irish-named hillforts in the Atlas of Hillforts with their coordinates, types, images, and Atlas IDs.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?hillfortLabel ?coordinate ?hillfort ?hillfortTypeLabel ?image ?atlasUrl WHERE {\n  ?hillfort wdt:P31 ?hillfortType ; wdt:P625 ?coordinate ; wdt:P4102 ?atlasId ; rdfs:label ?hillfortLabel .\n  FILTER ( LANG( ?hillfortLabel ) = \"ga\" ) .\n  ?hillfortType wdt:P279 * wd:Q744099 ; rdfs:label ?hillfortTypeLabel .\n  FILTER ( LANG( ?hillfortTypeLabel ) = \"en\" ) .\n  OPTIONAL {\n    ?hillfort wdt:P18 ?image .\n  }\n  BIND( IRI( CONCAT ( \"https://atlasofhillforts.org/hillfort/\" , ?atlasId ) ) AS ?atlasUrl )\n}\nORDER BY ?hillfortLabel", "paraphrases": ["What are the hillforts in Ireland with Irish names, their locations, types in English, images, and links to the Atlas of Hillforts?", "List all hillforts labeled in Irish, including their geographic coordinates, English classification types, any associated images from Wikimedia Commons, and direct links to their entries in the Atlas of Hillforts."], "info": {"raw_sparql": "SELECT ?var1Label ( SAMPLE ( ?var2 ) AS ?var3 ) ?var4 ( ?var5Label AS ?var6 ) ?var7 ( IRI ( CONCAT ( \"string1\", ?var8 ) ) AS ?var9 ) WHERE { ?var4 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> ?) ?var5 ; <http://www.wikidata.org/prop/direct/P625> ?var2 ; <http://www.wikidata.org/prop/direct/P31> ?var5 ; <http://www.wikidata.org/prop/direct/P4102> ?var8 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"ga\" ) ) ) . OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P18> ?var7 . } ?var5 <http://www.wikidata.org/prop/direct/P279> ? <http://www.wikidata.org/entity/Q744099> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . } GROUP BY ?var1Label ?var4 ?var5Label ?var7 ?var8"}}
{"id": "test_350", "question": "What are the locations (coordinates) of nuclear test sites around the world?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?testSite ?testSiteLabel ?coordinates WHERE {\n  ?testSite(wdt:P31 / wdt:P279 *) wd:Q53732481 .\n  ?testSite wdt:P625 ?coordinates .\n  ?testSite rdfs:label ?testSiteLabel .\n  FILTER(LANG(?testSiteLabel) = \"en\")\n}", "paraphrases": ["List the names and geographic coordinates of all known nuclear test sites.", "Where have nuclear weapons been tested? Show the names of the test sites and their GPS coordinates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q12802> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,en\". } ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . }"}}
{"id": "test_351", "question": "Film with AlloCin\u00e9 ID 188713", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P1265 \"188713\" .\n}", "paraphrases": ["What film is identified by the AlloCin\u00e9 ID 188713?", "Tell me the film that has the AlloCin\u00e9 movie ID 188713."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1265> \"188713\". }"}}
{"id": "test_352", "question": "Is Bert Nienhuis a member of the Bicker family?", "sparql": "ASK { wd:Q2748838 wdt:P463 wd:Q856831 . }", "paraphrases": ["Does the Dutch designer Bert Nienhuis belong to the noble Bicker family?", "Was Bert Nienhuis part of the historical Bicker family of Amsterdam?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q2748838> <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q856831> . }"}}
{"id": "test_353", "question": "What are the properties and values associated with Madonna\u2019s Freebase ID /m/01vs_v8?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?propertyLabel ?valueLabel WHERE {\n  ?entity wdt:P646 \"/m/01vs_v8\" .\n  ?property wikibase:directClaim ?prop .\n  ?entity ?prop ?value .\n  ?property rdfs:label ?propertyLabel .\n  ?value rdfs:label ?valueLabel .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" ) FILTER ( LANG( ?valueLabel ) = \"en\" )\n}", "paraphrases": ["What are the English labels of all properties and their values for the entity identified by the Freebase ID \"/m/01vs_v8\"?", "Show me all the English-labeled properties and their corresponding value labels for Madonna, using her Freebase identifier."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label WHERE { ?var3 <http://www.wikidata.org/prop/direct/P646> \"/m/01vs_v8\". ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var3 ?var4 ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_354", "question": "Which Wikidata entities have the Twitter usernames CityOfBoston, melroserugby, or deventergem?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"CityOfBoston\" \"melroserugby\" \"deventergem\" } }", "paraphrases": ["What entities on Wikidata are associated with the Twitter accounts @CityOfBoston, @melroserugby, and @deventergem?", "Show me the Wikidata items that use CityOfBoston, melroserugby, and deventergem as their Twitter usernames."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"Aimee_Sama\" ) ( \"OSMTogo\" ) ( \"string1\" ) ( \"demo_tic\" ) ( \"aimee_sama\" ) ( \"string2\" ) ( \"string3\" ) ( \"DsgrngsPl\" ) ( \"Gallorum\" ) ( \"string4\" ) } }"}}
{"id": "test_355", "question": "Which Wikidata items have the Twitter usernames \"CityOfBoston\", \"melroserugby\", or \"deventergem\"?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"CityOfBoston\" \"melroserugby\" \"deventergem\" } }", "paraphrases": ["What entities on Wikidata are associated with the Twitter accounts CityOfBoston, melroserugby, and deventergem?", "Show me the Wikidata items linked to the Twitter usernames CityOfBoston, melroserugby, and deventergem."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"AmeliaDowe\" ) ( \"OpenKuroko\" ) ( \"emmmpower\" ) } }"}}
{"id": "test_356", "question": "Does Gustaf Wesslau have a Eurohockey.com player ID of 47752?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?player wdt:P2601 \"47752\" .\n}", "paraphrases": ["Is there an ice hockey player in Wikidata with the Eurohockey.com ID 47752?", "Confirm if the Eurohockey.com player ID 47752 corresponds to a known ice hockey player in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2601> \"47752\". }"}}
{"id": "test_357", "question": "Properties linked to BS Zelda no Densetsu on Wikidata", "sparql": "SELECT DISTINCT ?property WHERE { wd:Q2702486 ?property ?value . }", "paraphrases": ["What kinds of information are associated with the game BS Zelda no Densetsu in Wikidata?", "List all properties that have values for the entity BS Zelda no Densetsu in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { <http://www.wikidata.org/entity/Q2702486> ?var1 ?var2 . } LIMIT 100"}}
{"id": "test_358", "question": "Zoos with their locations and English names", "sparql": "SELECT ?zoo ?zooLabel ?coordinates WHERE { ?zoo wdt:P31 wd:Q43501 . OPTIONAL { ?zoo wdt:P625 ?coordinates . } ?zoo rdfs:label ?zooLabel . FILTER(LANG(?zooLabel) = \"en\") }", "paraphrases": ["What are the English names and geographic coordinates of all zoos?", "List all zoos along with their English labels and coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q43501> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } OPTIONAL { } OPTIONAL { } }"}}
{"id": "test_359", "question": "Darmstadt Freebase ID /m/0dr31: What are its English labels, alternative names, image, and types?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nSELECT ?item ?itemLabel ?altLabel ?image ?instanceType ?instanceTypeLabel WHERE {\n  ?item wdt:P646 \"/m/0dr31\" .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n  .\n  OPTIONAL {\n    ?item skos:altLabel ?altLabel .\n    FILTER(LANG(?altLabel) = \"en\")\n    .\n  }\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  ?item wdt:P31 ?instanceType .\n  ?instanceType rdfs:label ?instanceTypeLabel .\n  FILTER(LANG(?instanceTypeLabel) = \"en\")\n  .\n}", "paraphrases": ["What is Darmstadt (identified by Freebase ID /m/0dr31), including its English name, alternative names, image, and what categories does it belong to?", "Show me all the English labels, alternative names, image, and instance types for the city Darmstadt, which has the Freebase ID /m/0dr31."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P646> \"/m/0dr31\". ?var1 <http://www.wikidata.org/prop/direct/P31> ?var6 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var7 . FILTER ( ( ( LANG ( ?var7 ) = \"en\" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P646> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } OPTIONAL { ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_360", "question": "What film has the elCinema ID 2007396?", "sparql": "SELECT ?film WHERE { ?film wdt:P3135 \"2007396\" . }", "paraphrases": ["Which movie is identified by the elCinema film ID 2007396?", "Can you tell me the title of the film with the elCinema identifier 2007396?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3135> \"2007396\". }"}}
{"id": "test_361", "question": "Humans with ProCyclingStats IDs but unspecified gender", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?cyclist ?pcsId WHERE {\n  ?cyclist wdt:P1663 ?pcsId .\n  ?cyclist wdt:P31 wd:Q5 .\n  FILTER ( NOT EXISTS {\n    ?cyclist wdt:P21 []\n  }\n  )\n}\nLIMIT 1000", "paraphrases": ["Which human cyclists have a ProCyclingStats ID but no gender listed in Wikidata?", "Show me all cyclists who are registered on ProCyclingStats but whose gender is not recorded in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1663> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var3 . } FILTER ( ( !( BOUND ( ?var3 ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } } LIMIT 1000"}}
{"id": "test_362", "question": "What is the English label and description of the Australian geographic region with ASGS 2016 ID SSC22918?", "sparql": "SELECT ?location ?label ?description WHERE { ?location wdt:P4093 \"SSC22918\" . OPTIONAL { ?location rdfs:label ?label . FILTER (LANG(?label) = \"en\") } OPTIONAL { ?location schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["What is the name and English description of the locality in Victoria, Australia, identified by the Australian Statistical Geography Standard 2016 code SSC22918?", "Please provide the English name and description of the geographic location in Australia that has the ASGS 2016 identifier SSC22918."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4093> \"SSC22918\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_363", "question": "What is the English label and description of the Australian geographic region with ASGS 2011 ID SSC40783?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P4014 \"SSC40783\" .\n  ?item rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["What is the name and description in English of the place in Australia identified by the ASGS 2011 code SSC40783?", "Show me the English name and description of the village in South Australia that has the Australian Statistical Geography Standard 2011 ID SSC40783."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4014> \"SSC40783\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_364", "question": "What are the names and Instagram usernames of female humans in Wikidata?", "sparql": "SELECT ?human ?humanLabel ?instagramUsername WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P21 wd:Q6581072 . OPTIONAL { ?human wdt:P2003 ?instagramUsername . } ?human rdfs:label ?humanLabel . } LIMIT 100", "paraphrases": ["Can you list female individuals along with their Instagram handles, if available?", "Show me up to 100 female humans and their Instagram usernames from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P2003> <http://www.wikidata.org/entity/Q209330> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2003> ?var2 . } } LIMIT 100"}}
{"id": "test_365", "question": "What is the most specific category that both Mazar-i-Sharif and Cologne belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonClass WHERE {\n  wd:Q130469 wdt:P31 ?commonClass .\n  wd:Q365 wdt:P31 ?commonClass .\n}\nORDER BY ?commonClass\nLIMIT 1", "paraphrases": ["Which class do Mazar-i-Sharif and Cologne have in common as their instance type?", "What type of entity is both Mazar-i-Sharif and Cologne classified as in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q130469> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q365> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_366", "question": "What is the English label and description of the entity with Museum of Modern Art artist ID 64859?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P2174 \"64859\" . OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") }", "paraphrases": ["Which entity has the MoMA artist ID 64859, and what is its English name and description?", "Show me the English name and description of the item identified by the Museum of Modern Art artist ID 64859."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2174> \"64859\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_367", "question": "What is the English label and description of the MoMA work with ID 16673?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P2014 \"16673\" . OPTIONAL { ?item schema:description ?description . FILTER(LANG(?description) = \"en\") } . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["Can you tell me the name and English description of the artwork in the Museum of Modern Art with ID 16673?", "Show me the English name and description of the MoMA artwork identified by the ID 16673."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2014> \"35909\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_368", "question": "Who is the person with National Portrait Gallery ID mp92139, and what is their English description?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P1816 \"mp92139\" . ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["What is the name and English description of the person in the National Portrait Gallery whose ID is mp92139?", "Please provide the English label and description of the individual identified by mp92139 in the National Portrait Gallery (London)."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1816> \"mp92139\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_369", "question": "What is the Wikipedia article for the movie with IMDb ID tt5629964 in English or German?", "sparql": "SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 \"tt5629964\" . ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Which Wikipedia pages in English or German are about the movie with IMDb ID tt5629964?", "Show me the English or German Wikipedia links for the movie identified by IMDb ID tt5629964."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5629964\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_370", "question": "What UNESCO World Heritage Site has the ID 1440?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item WHERE {\n  ?item wdt:P757 \"1440\"\n}\nLIMIT 1000", "paraphrases": ["Find the item in Wikidata that is assigned the UNESCO World Heritage Site ID \"1440\".", "Which World Heritage Site is identified by the UNESCO identifier 1440?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P757> \"2177\". FILTER ( ( NOT EXISTS { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } ) ) . } LIMIT 1000"}}
{"id": "test_371", "question": "What is the English description of the Fandom wiki page for Power Rangers?", "sparql": "SELECT ?item ?itemLabel ?desc WHERE { ?item wdt:P4073 \"powerrangers\" . OPTIONAL { ?item schema:description ?desc . FILTER (LANG(?desc) = \"en\") } }", "paraphrases": ["Which Wikidata item corresponds to the Fandom wiki ID \"powerrangers\", and what is its English description?", "Show me the item linked to the Fandom wiki ID \"powerrangers\" along with its English description, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4073> \"ssentaiw\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_372", "question": "Wikipedia articles and Commons categories about Frederick Ballard Williams (ULAN ID 500025397)", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdtn: <http://www.wikidata.org/prop/direct-normalized/>\nSELECT ?page ?artist WHERE {\n  ?artist wdtn:P245 <http://vocab.getty.edu/ulan/500025397> .\n  ?page schema:about ?artist .\n}", "paraphrases": ["What Wikipedia pages and other web resources are about the artist with ULAN ID 500025397?", "Show me all pages linked to the Wikidata item for the artist identified by the Getty ULAN ID 500025397."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/direct-normalized/P245> <http://vocab.getty.edu/ulan/500025397> . ?var1 <http://schema.org/about> ?var2 . }"}}
{"id": "test_373", "question": "List all lighthouses in the United States with their names, coordinates, and images.", "sparql": "SELECT DISTINCT ?lighthouse ?label ?coordinates ?image WHERE { ?lighthouse wdt:P31 wd:Q39715 ; wdt:P17 wd:Q30 . OPTIONAL { ?lighthouse wdt:P625 ?coordinates . } OPTIONAL { ?lighthouse wdt:P18 ?image . } ?lighthouse rdfs:label ?label . FILTER(LANG(?label) = \"en\") } ORDER BY ASC(?label)", "paraphrases": ["What are the names, locations, and images of lighthouses located in the United States?", "Show me a sorted list of English-named lighthouses in the U.S., including their geographic coordinates and photos from Wikimedia Commons."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q39715> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q30> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nb,nn,en,fi\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_374", "question": "What is the English label and description of the Art & Architecture Thesaurus ID 300264332?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P1014 \"300264332\" .\n  ?item rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) .\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" ) .\n  }\n}", "paraphrases": ["What is called \"haberdasher\" in English, and what does it mean?", "Show me the English name and definition of the concept identified by AAT ID 300264332."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1014> \"300264332\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_375", "question": "Who is the person with EUTA ID 117, and what is their English label and description?", "sparql": "SELECT ?person ?personLabel ?description WHERE { ?person wdt:P4534 \"117\" . OPTIONAL { ?person rdfs:label ?personLabel . FILTER (LANG(?personLabel) = \"en\") } OPTIONAL { ?person schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["What is the English name and description of the person identified by EUTA person ID 117?", "Show me the English label and description of the individual whose EUTA person ID is 117."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4534> \"117\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_376", "question": "Lighthouses in Poland with coordinates", "sparql": "SELECT ?lighthouse ?lighthouseLabel ?coordinate WHERE { ?lighthouse wdt:P31 wd:Q39715 . ?lighthouse wdt:P17 wd:Q36 . OPTIONAL { ?lighthouse wdt:P625 ?coordinate . } ?lighthouse rdfs:label ?lighthouseLabel . FILTER(langMatches(lang(?lighthouseLabel), \"en\")) } ORDER BY ASC(?lighthouseLabel)", "paraphrases": ["What are the lighthouses in Poland and their geographic locations?", "List all lighthouses located in Poland along with their English names and coordinates, sorted alphabetically by name."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q39715> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q36> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } } ORDER BY ASC( ?var3 ) DESC( ?var1Label )"}}
{"id": "test_377", "question": "List of English-named video games", "sparql": "SELECT ?game ?gameLabel WHERE { ?game wdt:P31 wd:Q7889 . OPTIONAL { ?game rdfs:label ?gameLabel . FILTER (LANG(?gameLabel) = \"en\") } } LIMIT 100", "paraphrases": ["What are some video games with English labels?", "Can you show me up to 100 video games and their English names from Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7889> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } } LIMIT 100"}}
{"id": "test_378", "question": "Open Library author ID OL1526805A, English label and description", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P648 \"OL1526805A\" .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER(LANG(?itemLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["What is the English name and description of the Open Library author with ID OL1526805A?", "Show me the English label and description for the Open Library author identified by OL1526805A."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P648> \"OL1526805A\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_379", "question": "English and German Wikipedia pages for the movie with IMDb ID tt10676048.", "sparql": "SELECT ?item ?wikipediaPage WHERE { ?item wdt:P345 \"tt10676048\" . ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang ; schema:isPartOf ?site . FILTER((?lang = \"en\" && ?site = <https://en.wikipedia.org/>) || (?lang = \"de\" && ?site = <https://de.wikipedia.org/>)) }", "paraphrases": ["What are the English and German Wikipedia articles about the film with IMDb ID tt10676048?", "Show me the English and German Wikipedia pages linked to the movie The Marvels on IMDb."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2188755\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_380", "question": "What country is both the city of Erie and Michael Jordan associated with?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?commonEntity ?label WHERE {\n  wd:Q234061 ?p1 ?commonEntity .\n  wd:Q41421 ?p2 ?commonEntity .\n  FILTER(isIRI(?commonEntity))\n  FILTER(?commonEntity != wikibase:Item)\n  OPTIONAL {\n    ?commonEntity rdfs:label ?label .\n    FILTER(LANG(?label) = 'en')\n  }\n}\nORDER BY ?label\nLIMIT 1", "paraphrases": ["Which entity links the city of Erie and basketball player Michael Jordan?", "Find the common country connected to Erie, Pennsylvania and Michael Jordan."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q234061> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q41421> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_381", "question": "What is the most specific category that both the Soviet Union and Michael Jordan belong to, and what is the sum of their distances in the subclass hierarchy?", "sparql": "SELECT ?commonAncestor (?dist1 + ?dist2 AS ?totalDist)\nWHERE {\n  {\n    SELECT ?ancestor1 (COUNT(?mid1) AS ?dist1)\n    WHERE {\n      wd:Q3024240 wdt:P279+ ?mid1 .\n      ?mid1 wdt:P279* ?ancestor1 .\n    }\n    GROUP BY ?ancestor1\n  }\n  {\n    SELECT ?ancestor2 (COUNT(?mid2) AS ?dist2)\n    WHERE {\n      wd:Q5 wdt:P279+ ?mid2 .\n      ?mid2 wdt:P279* ?ancestor2 .\n    }\n    GROUP BY ?ancestor2\n  }\n  FILTER(?ancestor1 = ?ancestor2)\n  BIND(?ancestor1 AS ?commonAncestor)\n}\nORDER BY ASC(?totalDist)\nLIMIT 1", "paraphrases": ["Which entity is the closest common ancestor in the subclass tree between the Soviet Union and Michael Jordan, and what is the total number of subclass steps from each to this ancestor?", "Find the shared superclass with the minimum combined distance from the Soviet Union and Michael Jordan in Wikidata's hierarchy."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q15180> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q41421> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_382", "question": "What property is most commonly used to link resources to the Belize Zoo?", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q260740 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["How many web resources are about the Belize Zoo, based on Wikidata?", "Which properties connect other items to the Belize Zoo, and how many times are they used?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q260740> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_383", "question": "What properties are related to nominal power output?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?relatedProperty ?relatedPropertyLabel ?relatedPropertyDescription WHERE {\n  wd:P2109 wdt:P1659 ?relatedProperty .\n  ?relatedProperty rdfs:label ?relatedPropertyLabel .\n  ?relatedProperty schema:description ?relatedPropertyDescription .\n  FILTER ( LANG( ?relatedPropertyLabel ) = \"en\" ) FILTER ( LANG( ?relatedPropertyDescription ) = \"en\" )\n}", "paraphrases": ["Which property is listed as related to nominal power output in Wikidata, and what is its description?", "Show me the English label and description of the property that is related to nominal power output."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P2109> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . }"}}
{"id": "test_384", "question": "What distinctive cycling jerseys did Arnaud D\u00e9mare wear when he won races, and what do their images look like?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?race ?raceLabel ?jersey ?jerseyLabel ?jerseyImage WHERE {\n  ?race wdt:P1346 wd:Q552724 .\n  ?race p:P2321 ?stmt .\n  ?stmt ps:P2321 wd:Q552724 .\n  ?stmt pq:P2912 ?jersey .\n  ?jersey wdt:P18 ?jerseyImage .\n  ?race rdfs:label ?raceLabel .\n  ?jersey rdfs:label ?jerseyLabel .\n  FILTER(LANG(?raceLabel) = \"en\")\n  FILTER(LANG(?jerseyLabel) = \"en\")\n}", "paraphrases": ["Show me the races Arnaud D\u00e9mare won along with the jerseys he wore in those races and their images.", "Which jerseys (e.g., yellow, green) did Arnaud D\u00e9mare earn as race leader in events he won, and where can I see pictures of those jerseys?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q552724> AS ?var5 ). ?var1 <http://www.wikidata.org/prop/direct/P1346> ?var5 . ?var1 <http://www.wikidata.org/prop/P1346> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P1346> ?var5 . ?var6 <http://www.wikidata.org/prop/qualifier/P642> ?var7 . { ?var1 <http://www.wikidata.org/prop/P2321> ?var8 . ?var8 <http://www.wikidata.org/prop/statement/P2321> ?var5 . ?var8 <http://www.wikidata.org/prop/qualifier/P2912> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P18> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ar,en,fr\". } }"}}
{"id": "test_385", "question": "Does the Library of Congress Control Number 82641646 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P1144 \"82641646\" .\n}", "paraphrases": ["Is there a Wikidata item for the journal with LCCN 82641646?", "Confirm if the journal \"Learning Disability Quarterly\" is identified by LCCN 82641646 in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1144> \"82641646\". }"}}
{"id": "test_386", "question": "What types of events are part of the UCI Europe Tour, and how many of each?", "sparql": "SELECT ?type ?typeLabel (COUNT(?event) AS ?count) WHERE { ?event wdt:P361 ?group . ?group wdt:P361 wd:Q1194340 . ?event wdt:P31 ?type . ?type rdfs:label ?typeLabel . FILTER(LANG(?typeLabel) = \"en\") } GROUP BY ?type ?typeLabel", "paraphrases": ["How many cycling events are classified under each type within the UCI Europe Tour?", "List all the types of events in the UCI Europe Tour along with their counts, using English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P361> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q1194340> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ar,en\". } ?var2 <http://www.wikidata.org/prop/direct/P31> ?var1 . } GROUP BY ?var1 ?var1Label"}}
{"id": "test_387", "question": "What is the English label and description of the item with AAT ID 300265170?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P1014 \"300265170\" . ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Can you tell me about the Japanese sliding door known as fusuma, using its Art & Architecture Thesaurus identifier?", "Show me the English name and definition of the entity identified by the Getty AAT ID 300265170."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1014> \"300265114\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_388", "question": "What features on other celestial bodies have coordinates, and which bodies are they located on?", "sparql": "SELECT ?feature ?locatedOn ?globe WHERE { ?feature wdt:P376 ?locatedOn . ?feature p:P625 / psv:P625 / wikibase:geoGlobe ?globe . } LIMIT 30", "paraphrases": ["List craters and mountains on planets and moons that have defined coordinates.", "Show me astronomical features and the celestial body they are situated on, ensuring they have coordinate data."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P376> ?var2 . ?var1 ( <http://www.wikidata.org/prop/P625> / <http://www.wikidata.org/prop/statement/value/P625> / <http://wikiba.se/ontology#geoGlobe> ) ?var3 . } LIMIT 30"}}
{"id": "test_389", "question": "Who is the KVAB member with ID 681, and what is their English label and description?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?label ?description WHERE {\n  ?person wdt:P3887 \"681\" .\n  OPTIONAL {\n    ?person rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n  OPTIONAL {\n    ?person schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["What is the name and description in English of the person who has the KVAB member ID 681?", "Please provide the English name of the person identified by KVAB member ID 681, along with their English description if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3887> \"681\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_390", "question": "Greek-language names of people who died in 2017", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nSELECT ?label ?deathDate WHERE {\n  ?person wdt:P570 ?deathDate .\n  ?person rdfs:label ?label .\n  FILTER(LANG(?label) = \"el\")\n  FILTER(?deathDate >= \"2017-01-01T00:00:00Z\" ^^ xsd:dateTime && ?deathDate <= \"2017-12-31T23:59:59Z\" ^^ xsd:dateTime)\n}\nORDER BY ASC(?deathDate)", "paraphrases": ["Who are the people that died in 2017 and have their names listed in Greek on Wikidata?", "List the names of individuals who died between January 1 and December 31, 2017, along with their death dates, using their Greek-language labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P570> ?var2 . OPTIONAL { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"el\" ) ) ) . } FILTER ( ( ( ?var2 >= \"2017-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"2017-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ?var1 ) ) . } ORDER BY ASC( ?var2 )"}}
{"id": "test_391", "question": "Does Charlotte Irene Thompson have an IMDb ID of nm4561542?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P345 \"nm4561542\" .\n}", "paraphrases": ["Is there a Wikidata item for the person with IMDb ID nm4561542?", "Confirm if the IMDb identifier nm4561542 is linked to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"nm4561542\". }"}}
{"id": "test_392", "question": "What film has the AlloCin\u00e9 ID 214369?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P1265 \"214369\" .\n}", "paraphrases": ["Which movie on Wikidata is identified by the AlloCin\u00e9 film ID 214369?", "Tell me the Wikidata item for the film with AlloCin\u00e9 ID 214369."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1265> \"214369\". }"}}
{"id": "test_393", "question": "Is Haplogroup A1 a human?", "sparql": "ASK WHERE { wd:Q47089046 wdt:P31/wdt:P279* wd:Q5 }", "paraphrases": ["Does Haplogroup A1 belong to the category of human beings?", "Is Haplogroup A1 classified as a human or a subclass of human in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q47089046> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_394", "question": "Artworks in Nationalmuseum Sweden with their IDs and description URLs", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?artwork ?nationalmuseum_id ?description_url WHERE {\n  ?artwork wdt:P2539 ?nationalmuseum_id .\n  ?artwork wdt:P973 ?description_url .\n}", "paraphrases": ["Which artworks from the Nationalmuseum Sweden have both an official artwork ID and a webpage describing them?", "Show me the list of artworks from the Nationalmuseum Sweden collection, including their unique Nationalmuseum ID and the URLs where they are described online."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2539> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P973> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_395", "question": "Swedish artists with artworks in the Finnish National Gallery, ranked by number of artworks, with their Swedish Wikipedia links and images.", "sparql": "SELECT ?var1 (SAMPLE(?var1Label) AS ?label) (COUNT(?var7) AS ?workCount) ?var4 ?var5 ?var6 WHERE { ?var7 wdt:P195 wd:Q2983474 . ?var7 wdt:P170 ?var1 . ?var1 wdt:P27 wd:Q34 . OPTIONAL { ?var1 wdt:P2538 ?var8 . } BIND( IRI( CONCAT( \"https://www.nationalmuseum.se/en/artist/\", ?var8 ) ) AS ?var4 ) . OPTIONAL { ?var5 schema:about ?var1 ; schema:inLanguage \"sv\" . } ?var1 wdt:P18 ?var6 . ?var1 rdfs:label ?var1Label . } GROUP BY ?var1 ?var4 ?var5 ?var6 ORDER BY DESC(?workCount)", "paraphrases": ["Which Swedish artists have the most artworks in the Finnish National Gallery, and what are their Swedish Wikipedia pages, images, and Nationalmuseum Sweden IDs?", "List Swedish artists whose works are in the Finnish National Gallery, sorted by how many artworks they have, along with their Swedish Wikipedia links, images, and Nationalmuseum Sweden profile URLs."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) ?var4 ?var5 ?var6 WHERE { ?var7 <http://www.wikidata.org/prop/direct/P195> <http://www.wikidata.org/entity/Q2983474> . ?var7 <http://www.wikidata.org/prop/direct/P170> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q34> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2538> ?var8 . } BIND ( IRI ( CONCAT ( \"string1\", ?var8 ) ) AS ?var4 ). OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P4819> ?var9 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv\", \"en\", \"fi\". } OPTIONAL { ?var2 <http://schema.org/about> ?var1 . } OPTIONAL { ?var5 <http://schema.org/about> ?var1 ; <http://schema.org/inLanguage> \"sv\". } ?var1 <http://www.wikidata.org/prop/direct/P18> ?var6 . } GROUP BY ?var1 ?var1Label ?var4 ?var5 ?var6 ORDER BY DESC( ?var3 )"}}
{"id": "test_396", "question": "Amsterdam Dutch label, BAG code, population, flag image", "sparql": "SELECT ?flag ?bagCode ?population ?place WHERE { ?place rdfs:label \"Amsterdam\" @nl ; wdt:P981 ?bagCode ; wdt:P1082 ?population . OPTIONAL { ?place wdt:P41 ?flag . } }", "paraphrases": ["What is the BAG code, population, and flag image of Amsterdam, as listed in Dutch?", "Show me the flag image, BAG residence ID, and population of Amsterdam, using its Dutch label."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { { ?var4 <http://www.w3.org/2000/01/rdf-schema#label> \"Mijzijde\"@nl ; <http://www.wikidata.org/prop/direct/P981> ?var2 ; <http://www.wikidata.org/prop/direct/P1082> ?var3 . FILTER ( ( isLITERAL ( \"Mijzijde\"@nl ) ) ) . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P41> ?var1 . } }"}}
{"id": "test_397", "question": "What is the English description and title of the Fandom wiki with ID \"madoka\"?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P4073 \"madoka\" . OPTIONAL { ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") } OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["What is the English name and description of the anime series on Fandom with the wiki ID \"madoka\"?", "Show me the English label and description of the Fandom wiki page identified by \"madoka\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4073> \"madoka\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_398", "question": "Newspapers in Finland and their country of origin or country", "sparql": "SELECT ?newspaper ?newspaperLabel ?relation ?countryLabel WHERE { ?newspaper (wdt:P31/wdt:P279*) wd:Q11032 . ?newspaper ?relation wd:Q33 . ?newspaper rdfs:label ?newspaperLabel . wd:Q33 rdfs:label ?countryLabel . FILTER(LANG(?newspaperLabel) = \"en\") FILTER(LANG(?countryLabel) = \"en\") } LIMIT 100", "paraphrases": ["Which newspapers are associated with Finland, and how are they connected to it?", "Show me the names of newspapers linked to Finland along with whether they are published there or originated there."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11032> . ?var1 ?var2 <http://www.wikidata.org/entity/Q33> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_399", "question": "Does the animated short film \"Matinee Mouse\" have a Big Cartoon Database ID of 3078?", "sparql": "ASK WHERE { ?item wdt:P4933 \"3078\" . }", "paraphrases": ["Is there a cartoon in Wikidata with the Big Cartoon Database ID 3078?", "Confirm whether the Big Cartoon Database ID 3078 corresponds to an entry in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4933> \"3078\". }"}}
{"id": "test_400", "question": "What is the English label and description of the Great Russian Encyclopedia Online ID \"2324169\"?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P2924 \"2324169\" . OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") }", "paraphrases": ["Who is the person identified by the Great Russian Encyclopedia Online ID 2324169, and what is their English description?", "Show me the English name and death year (from description) of the individual with Great Russian Encyclopedia Online ID 2324169."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"2324169\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_401", "question": "What is the English label and description of the AAT ID 300263892?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P1014 \"300263892\" . OPTIONAL { ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") } OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["What is the item called in English and what does it describe, given the Art & Architecture Thesaurus ID 300263892?", "Show me the English name and definition of the concept identified by AAT ID 300263892."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1014> \"300263892\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_402", "question": "What are all the classes that VideoCore is a subclass of, including itself?", "sparql": "SELECT DISTINCT ?ancestor WHERE { wd:Q3557795 wdt:P279* ?ancestor . }", "paraphrases": ["List all the broader categories that VideoCore belongs to in the hierarchy of computer hardware.", "What is the full classification hierarchy of VideoCore, from its direct parent up to the most general category?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q3557795> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_403", "question": "Properties and values of Atari Lynx with English labels and images", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?propertyLabel ?value ?valueLabel ?imageValue ?imageProperty WHERE {\n  wd:Q753657 ?property ?value .\n  FILTER(STRSTARTS(STR(?property) , \"http://www.wikidata.org/prop/direct/\"))\n  .\n  FILTER(isIRI(?value))\n  .\n  OPTIONAL {\n    ?property rdfs:label ?propertyLabel .\n    FILTER(LANG(?propertyLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?value rdfs:label ?valueLabel .\n    FILTER(LANG(?valueLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?value wdt:P18 ?imageValue\n  }\n  OPTIONAL {\n    ?property wdt:P18 ?imageProperty\n  }\n}\nORDER BY ?property", "paraphrases": ["What are the direct properties of the Atari Lynx game console, and what items do they link to, along with their English labels and images?", "List all direct facts about the Atari Lynx, including the property names, linked items, their English labels, and any available images."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 ?var5 WHERE { { BIND ( <http://www.wikidata.org/entity/Q753657> AS ?var1 ). ?var1 ?var6 ?var7 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } ?var3 ?var8 ?var6 . ?var3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . FILTER ( ( STRSTARTS ( STR ( ?var7 ) , \"string1\" ) ) ) . FILTER ( ( STRSTARTS ( STR ( ?var3 ) , \"string2\" ) ) ) . } UNION { BIND ( \"EFFBD8\" AS ?var5 ). <http://www.wikidata.org/entity/Q753657> ?var6 ?var3 . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var4 . } ?var1 ?var8 ?var6 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . FILTER ( ( STRSTARTS ( STR ( ?var3 ) , \"string1\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . ?var3 <http://www.wikidata.org/prop/direct/P18> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_404", "question": "Open Plaques ID 306, what is the person's name and English description?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P1430 \"306\" .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER ( LANG( ?itemLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["Who is the person associated with Open Plaques subject ID 306, and what is their English description?", "Please show me the English label and description of the Wikidata item linked to Open Plaques ID 306."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1430> \"14199\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_405", "question": "What literal properties and their counts are associated with the TV series The Thundermans?", "sparql": "SELECT ?property (COUNT(?value) AS ?count) WHERE { wd:Q9197118 ?property ?value . FILTER(isLiteral(?value)) } GROUP BY ?property ORDER BY DESC(?count)", "paraphrases": ["Which properties have literal values for The Thundermans, and how many values does each have?", "Show me all the literal-valued properties of The Thundermans on Wikidata, sorted by how many times each is used, including metadata labels and external IDs."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT (* ) AS ?var2 ) WHERE { <http://www.wikidata.org/entity/Q9197118> ?var1 ?var3 . FILTER ( ( isLITERAL ( ?var3 ) ) ) . } GROUP BY ?var1"}}
{"id": "test_406", "question": "Does the National Register of Historic Places ID 82000315 exist in Wikidata?", "sparql": "ASK WHERE { ?item wdt:P649 \"82000315\" . }", "paraphrases": ["Is there a historic place in Wikidata with the NRHP reference number 82000315?", "Confirm if the Jacob Tueller Sr. House is listed in Wikidata with NRHP ID 82000315."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P649> \"82000315\". }"}}
{"id": "test_407", "question": "Is Haplogroup BT a type of haplogroup?", "sparql": "ASK WHERE { wd:Q1034077 (wdt:P31/wdt:P279*) wd:Q80686 . }", "paraphrases": ["Does Haplogroup BT belong to the category of haplogroups through its classification hierarchy?", "Is Haplogroup BT classified as a haplogroup, either directly or through its parent classes?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q1034077> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_408", "question": "Who is the artist with MoMA ID 2512 and what is their nationality?", "sparql": "SELECT ?artist ?artistLabel ?description WHERE { ?artist wdt:P2174 \"2512\" . ?artist rdfs:label ?artistLabel . FILTER (LANG(?artistLabel) = \"en\") OPTIONAL { ?artist schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["What is the name and English description of the artist identified by the Museum of Modern Art with ID 2512?", "Please provide the English name and description of the artist whose MoMA artist ID is 2512."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2174> \"2512\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_409", "question": "What is the population history of Stompwijk, and what is its flag and BAG code?", "sparql": "SELECT ?population ?label ?flag ?bagId WHERE { wd:Q2506794 wdt:P1082 ?population . OPTIONAL { wd:Q2506794 wdt:P41 ?flag } OPTIONAL { wd:Q2506794 wdt:P981 ?bagId } wd:Q2506794 rdfs:label ?label . FILTER(LANG(?label) = \"en\")}", "paraphrases": ["Can you show me the population figures for Stompwijk in different years?", "What are the population numbers for the village of Stompwijk in the Netherlands?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { { ?var4 <http://www.w3.org/2000/01/rdf-schema#label> \"Stompwijk\"@nl ; <http://www.wikidata.org/prop/direct/P981> ?var2 ; <http://www.wikidata.org/prop/direct/P1082> ?var3 . FILTER ( ( isLITERAL ( \"Stompwijk\"@nl ) ) ) . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P41> ?var1 . } }"}}
{"id": "test_410", "question": "Does the Big Cartoon Database ID 3874 exist in Wikidata?", "sparql": "ASK WHERE { ?item wdt:P4933 \"3874\" . }", "paraphrases": ["Is there a cartoon in Wikidata with the BCDB ID 3874?", "Confirm if the animated film Plutopia is linked to BCDB ID 3874 in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4933> \"3874\". }"}}
{"id": "test_411", "question": "Czech municipalities with written records before 1005 AD and their coordinates", "sparql": "SELECT DISTINCT ?municipality ?coordinates ?municipalityLabel WHERE { ?municipality wdt:P31 wd:Q5153359 . ?municipality wdt:P1249 ?earliestRecord . BIND(YEAR(?earliestRecord) AS ?year) ?municipality wdt:P625 ?coordinates . FILTER(?year < 1005) ?municipality rdfs:label ?municipalityLabel . FILTER(LANG(?municipalityLabel) = \"en\") }", "paraphrases": ["Which Czech municipalities were first mentioned in writing before the year 1005, and where are they located?", "List the English names, geographic coordinates, and earliest written records (before 1005) of municipalities in the Czech Republic."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var1Label WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5153359> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P2788> [] . } BIND ( YEAR ( ?var3 ) AS ?var4 ). ?var1 <http://www.wikidata.org/prop/direct/P1249> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . FILTER ( ( ( ?var4 < \"1005\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } }"}}
{"id": "test_412", "question": "List all job positions that are subclasses of manager, along with their English labels and immediate parent roles.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?job ?jobLabel ?parent WHERE {\n  ?job wdt:P279 * wd:Q2462658 .\n  OPTIONAL {\n    ?job wdt:P279 ?parent .\n  }\n  OPTIONAL {\n    ?job rdfs:label ?jobLabel .\n    FILTER(LANG(?jobLabel) = \"en\")\n  }\n}", "paraphrases": ["What are all the job titles that fall under the category of manager, and what is their direct parent classification?", "Show me all managerial occupations and their direct superclasses, including their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q2462658> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_413", "question": "Which Wikidata items have Twitter handles \"CityOfBoston\", \"NATO\", \"melroserugby\", or \"deventergem\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?handle WHERE {\n  ?item wdt:P2002 ?handle .\n  VALUES ?handle {\n    \"CityOfBoston\" \"NATO\" \"melroserugby\" \"deventergem\"\n  }\n}\nORDER BY ?item", "paraphrases": ["What are the Wikidata entities associated with the Twitter usernames CityOfBoston, NATO, melroserugby, and deventergem?", "Show me the Wikidata items linked to these Twitter accounts: CityOfBoston, NATO, melroserugby, and deventergem."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"KosovoinUS\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"lavana6h4\" ) ( \"tehabe\" ) ( \"gblardone\" ) ( \"Killator\" ) ( \"string5\" ) ( \"LePoint\" ) ( \"Schiphol\" ) ( \"LENDHADRI\" ) ( \"nadinechag\" ) ( \"sith_st\" ) ( \"SM_Difesa\" ) ( \"NATO_KFOR\" ) ( \"azoi75\" ) ( \"string6\" ) ( \"moondowner\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_414", "question": "Film with Scope.dk ID 4106", "sparql": "SELECT ?film WHERE { ?film wdt:P2518 \"4106\" . }", "paraphrases": ["Which film has the Scope.dk film ID 4106?", "Tell me the film that is identified as 4106 on Scope.dk."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2518> \"4106\". }"}}
{"id": "test_415", "question": "Film with Scope.dk ID 3059", "sparql": "SELECT ?film WHERE { ?film wdt:P2518 \"3059\" . }", "paraphrases": ["Which film is identified by the Scope.dk film ID 3059?", "Tell me the name of the film that has the Scope.dk identifier 3059."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2518> \"3059\". }"}}
{"id": "test_416", "question": "Male citizens of Finland or Sweden with names starting with \"Karl-Erik\" in Finnish or Swedish.", "sparql": "SELECT DISTINCT ?person ?label WHERE { VALUES ?lang { \"fi\" \"sv\" } VALUES ?country { wd:Q33 wd:Q34 } ?person wdt:P21 wd:Q6581097 ; wdt:P27 ?country ; rdfs:label ?label . FILTER ( LANG(?label) = ?lang ) FILTER ( STRSTARTS( ?label, \"Karl-Erik\" ) ) }", "paraphrases": ["Who are the male individuals from Finland or Sweden whose names start with \"Karl-Erik\" and are labeled in Finnish or Swedish?", "List all male persons who are citizens of Finland or Sweden and have a Finnish or Swedish label beginning with \"Karl-Erik\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { VALUES ( ?var2 ) { ( \"fi\" ) ( \"sv\" ) } VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q33> ) ( <http://www.wikidata.org/entity/Q34> ) } ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581097> ; <http://www.wikidata.org/prop/direct/P27> ?var3 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = ?var2 ) ) ) . FILTER ( ( STRSTARTS ( ?var4Label , \"Karl-Erik\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_417", "question": "Who is the human with the Freebase ID /m/0d_fn6?", "sparql": "SELECT ?human WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P646 \"/m/0d_fn6\" . } LIMIT 100", "paraphrases": ["Which person is identified by the Freebase identifier /m/0d_fn6?", "What is the name of the human associated with the Freebase ID /m/0d_fn6?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P646> \"m.0d_fn6\". } LIMIT 100"}}
{"id": "test_418", "question": "What is the English name and description of the person with Genealogics.org ID I00673302?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?description WHERE {\n  ?person wdt:P1819 \"I00673302\" .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) OPTIONAL {\n    ?person schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["Who is Otto Hermann von Vietinghoff, and what is his English description according to Wikidata?", "Can you find the English label and description for the individual identified as I00673302 on Genealogics.org?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1819> \"I00541607\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_419", "question": "Who is the human with the Freebase ID `/m/02mjmr`?", "sparql": "SELECT ?item WHERE { ?item wdt:P31 wd:Q5 . ?item wdt:P646 \"/m/02mjmr\" . } LIMIT 100", "paraphrases": ["Which person in Wikidata is identified by the Freebase identifier `/m/02mjmr`?", "Can you find the human entity linked to the Freebase ID `/m/02mjmr`?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P646> \"m.04mn5cn\". } LIMIT 100"}}
{"id": "test_420", "question": "Who is the human with the Freebase ID /m/0jcx?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?human WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human wdt:P646 \"/m/0jcx\" .\n}", "paraphrases": ["Which person in Wikidata is associated with the Freebase identifier /m/0jcx?", "Find the human entity that has the Freebase ID /m/0jcx."], "info": {"raw_sparql": "SELECT ?var1 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P646> \"m.0vnz83l\". } LIMIT 100"}}
{"id": "test_421", "question": "What is the English name of the horse Kerjacques?", "sparql": "SELECT ?horse ?label WHERE { wd:Q3195446 rdfs:label ?label . FILTER(LANG(?label) = 'en') }", "paraphrases": ["What is the label for the Wikidata item Q3195446?", "Can you tell me the name of the French trotter stallion with Wikidata ID Q3195446?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { BIND ( <http://www.wikidata.org/entity/Q3195446> AS ?var1 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_422", "question": "Is there a National Register of Historic Places listing with reference number 88003101?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P649 \"88003101\" .\n}", "paraphrases": ["Does the Ebenezer Evans House have the NRHP reference number 88003101?", "Check if the National Register of Historic Places ID 88003101 is assigned to any historic site."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P649> \"88003101\". }"}}
{"id": "test_423", "question": "What is the English name, description, and image of Born, a district of Radevormwald?", "sparql": "SELECT ?label ?description ?image WHERE { OPTIONAL { wd:Q893915 rdfs:label ?label . FILTER (LANG(?label) = \"en\") } OPTIONAL { wd:Q893915 wdt:P18 ?image . } OPTIONAL { wd:Q893915 schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Can you show me the image and a brief English description of Born in Radevormwald?", "What does Born (Radevormwald) look like, and how is it described in English?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q893915> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q893915> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q893915> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_424", "question": "Is there a Wikidata item with Big Cartoon Database ID 142056?", "sparql": "ASK WHERE { ?item wdt:P4933 \"142056\" . }", "paraphrases": ["Does the animated film 'Ernest & Celestine' have the BCDB ID 142056 in Wikidata?", "Confirm if the BCDB ID 142056 is registered in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4933> \"142056\". }"}}
{"id": "test_425", "question": "Czech municipalities with earliest written records before 1050, their coordinates and names", "sparql": "SELECT DISTINCT ?city ?coordinates ?cityLabel WHERE { ?city wdt:P31 wd:Q5153359 . ?city wdt:P1249 ?date . FILTER (isLiteral(?date) && (datatype(?date) = xsd:date || datatype(?date) = xsd:dateTime)) BIND(YEAR(xsd:date(?date)) AS ?year) FILTER (?year < 1050) ?city wdt:P625 ?coordinates . ?city rdfs:label ?cityLabel . FILTER(LANG(?cityLabel) = \"en\" || LANG(?cityLabel) = \"cs\") FILTER EXISTS { ?city wdt:P17 wd:Q213 } }", "paraphrases": ["Which municipalities in the Czech Republic were first mentioned in writing before the year 1050, and where are they located?", "List the names, geographic coordinates, and English or Czech labels of all Czech municipalities first recorded in writing before 1050."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var1Label WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5153359> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P2788> [] . } BIND ( YEAR ( ?var3 ) AS ?var4 ). ?var1 <http://www.wikidata.org/prop/direct/P1249> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . FILTER ( ( ( ?var4 < \"1050\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } }"}}
{"id": "test_426", "question": "How many asteroids have each specific mass value?", "sparql": "SELECT (COUNT(DISTINCT ?asteroid) AS ?count) ?mass WHERE { ?asteroid wdt:P31 wd:Q3863 . OPTIONAL { ?asteroid wdt:P2067 ?mass . } } GROUP BY ?mass", "paraphrases": ["What is the distribution of asteroid masses, and how many asteroids share each mass?", "Can you show me how many asteroids are associated with each measured mass, including those without a known mass?"], "info": {"raw_sparql": "SELECT( COUNT ( DISTINCT ?var1Label ) AS ?var2 ) ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3863> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2067> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr\". } } GROUP BY ?var3"}}
{"id": "test_427", "question": "List Swedish women in the Biographical Dictionary of Swedish Women (SKBL) who also have entries in the Dictionary of Swedish National Biography (SBL), with links to both databases.", "sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 wdt:P4963 ?var4 . ?var1 wdt:P3217 ?var5 . BIND( IRI( CONCAT( \"https://skbl.se/en/article/\", ?var4 ) ) AS ?var2 ) . BIND( IRI( CONCAT( \"https://sbl.svensktbiografisktlexikon.se/\", ?var5 ) ) AS ?var3 ) . OPTIONAL { ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") } } ORDER BY ASC(?var4)", "paraphrases": ["Which Swedish women have both a Svenskt kvinnobiografiskt lexikon (SKBL) ID and a Dictionary of Swedish National Biography (SBL) ID, and what are the direct links to their profiles in each database?", "Please provide a list of Swedish women with dual identifiers in SKBL and SBL, including their English names and clickable URLs to their official biographies in both databases."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4963> ?var4 . { ?var1 <http://www.wikidata.org/prop/direct/P3217> ?var5 . } BIND ( IRI ( CONCAT ( \"string1\", ?var5 ) ) AS ?var3 ). BIND ( IRI ( CONCAT ( \"string2\", ?var4 ) ) AS ?var2 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv\", \"en\", \"no\", \"da\", \"de\", \"pl\". } } GROUP BY ?var1 ?var1Label ?var6 ?var3 ?var2 ORDER BY ASC( ?var4 )"}}
{"id": "test_428", "question": "What is the Wikidata item for the film with IMDb ID tt0011186?", "sparql": "SELECT ?film WHERE { ?film wdt:P345 \"tt0011186\" . }", "paraphrases": ["Which film on Wikidata has the IMDb identifier tt0011186?", "Find the Wikidata entity for the movie identified as tt0011186 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0011186\". }"}}
{"id": "test_429", "question": "Lighthouses with the most English alternative names in Wikidata.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nSELECT ?lighthouse(COUNT(?altLabel) AS ?count) WHERE {\n  ?lighthouse wdt:P31 wd:Q39715 .\n  ?lighthouse skos:altLabel ?altLabel .\n  FILTER(LANG(?altLabel) = \"en\")\n}\nGROUP BY ?lighthouse\nORDER BY DESC(?count)\nLIMIT 20", "paraphrases": ["Which lighthouses have the highest number of alternative names in English, and how many do they have?", "Show me the top 20 lighthouses ranked by how many English alternative labels they have in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2Label ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q39715> . ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = ?var4 ) ) ) . } GROUP BY ?var1 ORDER BY DESC( ?var3 ) LIMIT 20"}}
{"id": "test_430", "question": "Date of birth of Johann Sebastian Bach", "sparql": "SELECT ?birthDate WHERE { wd:Q1339 wdt:P569 ?birthDate .}", "paraphrases": ["When was Johann Sebastian Bach born?", "What is the exact date and time of birth of Johann Sebastian Bach according to Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q1339> <http://www.wikidata.org/prop/direct/P569> + ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_431", "question": "Horses with birth and death years, sorted alphabetically", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?horse ?horseLabel ?birthYear ?deathYear WHERE {\n  ?horse ( wdt:P31 / wdt:P279 * ) wd:Q726 .\n  OPTIONAL {\n    ?horse wdt:P569 ?birthDate .\n    BIND( YEAR( ?birthDate ) AS ?birthYear )\n  }\n  OPTIONAL {\n    ?horse wdt:P570 ?deathDate .\n    BIND( YEAR( ?deathDate ) AS ?deathYear )\n  }\n  ?horse rdfs:label ?horseLabel .\n  FILTER ( LANG( ?horseLabel ) = \"en\" )\n}\nORDER BY ASC ( ?horseLabel )\nLIMIT 20", "paraphrases": ["What are the names, birth years, and death years of horses, listed in alphabetical order?", "Please list the English names of horses along with their birth and death years, sorted by name."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ( YEAR ( ?var3 ) AS ?var4 )( YEAR ( ?var5 ) AS ?var6 ) ?var7 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q726> . OPTIONAL { } OPTIONAL { ?var7 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY ASC( ?var1 ) LIMIT 10"}}
{"id": "test_432", "question": "Which entities on Wikidata have the X (Twitter) usernames 'UN', 'thebeatles', or 'Russia'?", "sparql": "SELECT ?entity ?username WHERE { ?entity wdt:P2002 ?username . VALUES ?username { \"UN\" \"thebeatles\" \"Russia\" } }", "paraphrases": ["What are the Wikidata entities corresponding to the X (Twitter) accounts @UN, @thebeatles, and @Russia?", "Show me the Wikidata items for the official X accounts UN, thebeatles, and Russia."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"drob\" ) } }"}}
{"id": "test_433", "question": "Is there a Wikidata entry for the ice hockey player with Eurohockey.com ID 8570?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?player wdt:P2601 \"8570\" .\n}", "paraphrases": ["Does Wikidata contain a record for the player identified as 8570 on Eurohockey.com?", "Confirm if Ossi Hypp\u00f6nen is listed in Wikidata with the Eurohockey.com player ID 8570."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2601> \"8570\". }"}}
{"id": "test_434", "question": "What is the English label and description of the person with e-archiv.li ID 31734?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P860 \"31734\" .\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["Who is the individual identified by 31734 in the e-archiv.li directory, and what is their English description?", "Show me the English name and description of the person whose e-archiv.li identifier is 31734."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P860> \"31704\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_435", "question": "Greek-language labels of people who died in 2003", "sparql": "SELECT ?greekLabel ?deathDate WHERE { ?person wdt:P570 ?deathDate . OPTIONAL { ?person rdfs:label ?greekLabel . FILTER(LANG(?greekLabel) = \"el\") } FILTER(?deathDate >= \"2003-01-01T00:00:00Z\"^^xsd:dateTime && ?deathDate <= \"2003-12-31T23:59:59Z\"^^xsd:dateTime) FILTER(bound(?greekLabel)) } ORDER BY ASC(?deathDate)", "paraphrases": ["Who died in 2003 and had their name listed in Greek on Wikidata?", "List the names in Greek of all individuals who died during the year 2003."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P570> ?var2 . OPTIONAL { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"el\" ) ) ) . } FILTER ( ( ( ?var2 >= \"2003-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"2003-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ?var1 ) ) . } ORDER BY ASC( ?var2 )"}}
{"id": "test_436", "question": "Label, image, coordinates, and French Wikipedia link for H\u00f4pital de La Charit\u00e9 in French and English.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nSELECT ?label ?image ?coordinates ?wikipediaArticle WHERE {\n  wd:Q22996892 rdfs:label ?label .\n  FILTER(LANG(?label) IN(\"fr\" , \"en\"))\n  OPTIONAL {\n    wd:Q22996892 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q22996892 wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    ?wikipediaArticle rdf:type schema:Article ; schema:about wd:Q22996892 ; schema:inLanguage \"fr\" ; schema:isPartOf <https://fr.wikipedia.org/> .\n  }\n  BIND(IF(LANG(?label) = \"fr\" , 1 , 2) AS ?langOrder)\n}\nORDER BY ?langOrder", "paraphrases": ["What are the French and English labels, image, coordinates, and French Wikipedia page for H\u00f4pital de La Charit\u00e9?", "Please provide the French and English names of H\u00f4pital de La Charit\u00e9, along with its image, geographic coordinates, and its French Wikipedia article."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q22996892> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var7 ) ) ) . VALUES ( ?var7 ?var8 ) { ( \"fr\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q22996892> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q22996892> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"fr\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q22996892> <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q22996892> ; <http://schema.org/inLanguage> \"fr\"; <http://schema.org/isPartOf> <https://fr.wikipedia.org/> . } } ORDER BY ASC( ?var8 )"}}
{"id": "test_437", "question": "What film has the Scope.dk ID 4052?", "sparql": "SELECT ?film WHERE { ?film wdt:P2518 \"4052\" . }", "paraphrases": ["Which movie is identified by the Scope.dk film ID 4052?", "Tell me the name of the film with Scope.dk ID 4052."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2518> \"4052\". }"}}
{"id": "test_438", "question": "Which properties are used to link multiple items to the ATP Long Island tournament?", "sparql": "SELECT ?predicate (COUNT(?item) AS ?count) WHERE { ?item ?predicate wd:Q299517 . } GROUP BY ?predicate HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["What are the predicates that connect more than one entity to the ATP Long Island tennis tournament, and how many entities are linked by each?", "Show me the most common ways other items are connected to the ATP Long Island tournament, excluding those with only one connection."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q299517> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_439", "question": "What is the English description of the item with Art & Architecture Thesaurus ID 300254507?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P1014 \"300254507\" . OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Can you find the Wikidata item for the AAT ID 300254507 and show its English description?", "Which entity in Wikidata has the AAT ID 300254507, and what is its English definition?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1014> \"300255747\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_440", "question": "Surface features on Callisto with their coordinates.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?feature ?label ?lat ?lon WHERE {\n  ?feature p:P625 ?statement .\n  ?statement psv:P625 ?coordValue .\n  ?coordValue wikibase:geoLatitude ?lat .\n  ?coordValue wikibase:geoLongitude ?lon .\n  ?coordValue wikibase:geoGlobe wd:Q3134 .\n  OPTIONAL {\n    ?feature rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n}", "paraphrases": ["What are the geographic coordinates of named features on Jupiter\u2019s moon Callisto, and what are their English names?", "List the English names and latitude-longitude coordinates of all named surface features on Callisto."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var5 . ?var1 <http://www.wikidata.org/prop/P625> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/value/P625> ?var7 . ?var7 <http://wikiba.se/ontology#geoLatitude> ?var3 . ?var7 <http://wikiba.se/ontology#geoLongitude> ?var4 . ?var7 <http://wikiba.se/ontology#geoGlobe> ?var8 . FILTER ( ( ( ?var8 = <http://www.wikidata.org/entity/Q3134> ) ) ) . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . } }"}}
{"id": "test_441", "question": "Edible mushrooms with images from Wikimedia Commons", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?mushroom ?label ?image WHERE {\n  ?mushroom wdt:P789 wd:Q654236 .\n  ?mushroom wdt:P18 ?image .\n  OPTIONAL {\n    ?mushroom rdfs:label ?label .\n  }\n}\nORDER BY ASC ( ?label )", "paraphrases": ["What are the edible mushrooms that have images available on Wikimedia Commons, listed in alphabetical order by name?", "Please provide a list of edible mushrooms along with their images, sorted by their common names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( ( ?var5 = <http://www.wikidata.org/entity/Q19888562> ) AS ?var6 ). BIND ( RAND ( ) AS ?var4 ). ?var1 <http://www.wikidata.org/prop/direct/P789> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_442", "question": "List lighthouses with their English names and images from Wikimedia Commons.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?lighthouse ?lighthouseLabel ?image WHERE {\n  ?lighthouse wdt:P31 wd:Q39715 .\n  ?lighthouse rdfs:label ?lighthouseLabel .\n  FILTER ( LANG( ?lighthouseLabel ) = \"en\" ) OPTIONAL {\n    ?lighthouse wdt:P18 ?image .\n  }\n}\nLIMIT 100", "paraphrases": ["What are the English names and images of lighthouses in Wikidata?", "Show me up to 100 lighthouses, including their English labels and associated images from Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q39715> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_443", "question": "Who is the author with Open Library ID OL874525A?", "sparql": "SELECT ?author ?authorLabel ?description WHERE { ?author wdt:P648 \"OL874525A\" . OPTIONAL { ?author rdfs:label ?authorLabel . FILTER (LANG(?authorLabel) = \"en\") } OPTIONAL { ?author schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["What is the English name and description of the person with Open Library ID OL874525A?", "Find the English label and description for the Open Library author with ID OL874525A."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P648> \"OL874525A\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_444", "question": "Who is the human with Freebase ID /m/0cdrgw?", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P646 \"/m/0cdrgw\" . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["Which person is identified by the Freebase identifier /m/0cdrgw?", "Find the English name of the person linked to the Freebase ID /m/0cdrgw."], "info": {"raw_sparql": "SELECT ?var1 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P646> \"m.0cdrgw\". } LIMIT 100"}}
{"id": "test_445", "question": "Who were the members of the Regional Council of Brittany?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P39 wd:Q62059762 .\n  ?person rdfs:label ?personLabel\n  FILTER ( LANG( ?personLabel ) = 'en' )\n}", "paraphrases": ["List all people who held the position of Regional council member of Brittany.", "Which individuals served as regional council members in Brittany?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P39> / <http://www.wikidata.org/prop/direct/Q16886136> *) <http://www.wikidata.org/entity/Q2301457> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_446", "question": "Wikidata items with Twitter handles \"thebeatles\", \"UN\", \"govbrazil\", or \"barcelona_cat\", sorted by notability.", "sparql": "SELECT ?item ?label WHERE { ?item wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { \"thebeatles\" \"UN\" \"govbrazil\" \"barcelona_cat\" } . ?item rdfs:label ?label . FILTER(LANG(?label) = \"en\") } ORDER BY ASC(?sitelinkCount)", "paraphrases": ["Which entities on Wikidata have the Twitter usernames \"thebeatles\", \"UN\", \"govbrazil\", or \"barcelona_cat\"?", "Show me the English labels of Wikidata items that are associated with the Twitter accounts \"thebeatles\", \"UN\", \"govbrazil\", or \"barcelona_cat\", ordered by the number of language links."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"Lilisheli\" ) ( \"string1\" ) ( \"krstv\" ) ( \"Slatefr\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_447", "question": "What are the categories and larger systems that ocean currents belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?superclass ?partOf WHERE {\n  wd:Q129558 wdt:P279 ?superclass .\n  wd:Q129558 wdt:P361 ?partOf .\n}", "paraphrases": ["Is ocean current a subclass of fluid mechanics or natural geographic object, and what larger bodies of water is it part of?", "What types and components are associated with ocean currents in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { VALUES ( ?var5 ) { ( <http://www.wikidata.org/entity/Q129558> ) } ?var1 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> | <http://www.wikidata.org/prop/direct/P361> )* ?var5 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P361> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var4 . } }"}}
{"id": "test_448", "question": "Horses with their birth and death years, sorted by Wikidata ID.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?horse(YEAR(?birthDate) AS ?birthYear)(YEAR(?deathDate) AS ?deathYear) WHERE {\n  ?horse(wdt:P31 / wdt:P279 *) wd:Q726 .\n  OPTIONAL {\n    ?horse wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?horse wdt:P570 ?deathDate .\n  }\n}\nORDER BY ASC(?horse)\nLIMIT 10", "paraphrases": ["What are the birth and death years of horses listed in Wikidata, ordered by their IDs?", "Show me the top 10 horses from Wikidata along with their birth years and, if available, their death years, sorted alphabetically by their Wikidata identifiers."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ( YEAR ( ?var2 ) AS ?var3 )( YEAR ( ?var4 ) AS ?var5 ) ?var6 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q726> . OPTIONAL { } OPTIONAL { ?var1 <http://schema.org/about> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } OPTIONAL { } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,ar,be,bg,bn,ca,cs,da,de,el,en,es,et,fa,fi,he,hi,hu,hy,id,it,ja,jv,ko,nb,nl,eo,pa,pl,pt,ro,ru,sh,sk,sr,sv,sw,te,th,tr,uk,yue,vec,vi,zh\". } } ORDER BY ASC( ?var1 ) LIMIT 10"}}
{"id": "test_449", "question": "What are the names and SKBL IDs of Swedish women listed in the Biographical Dictionary of Swedish Women?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?skblId WHERE {\n  ?item wdt:P4963 ?skblId .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" || LANG( ?itemLabel ) = \"sv\" )\n}\nLIMIT 100", "paraphrases": ["List Swedish women from Wikidata who have a Svenskt kvinnobiografiskt lexikon (SKBL) identifier, along with their labels.", "Show me up to 100 entries of Swedish women with their SKBL IDs and names in English or Swedish."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4963> ?var3 . ?var2 <http://www.wikidata.org/prop/direct/P4963> ?var3 . FILTER ( ( ( ?var1 != ?var2 ) && ( STR ( ?var1 ) < STR ( ?var2 ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_450", "question": "Who are the citizens of Sweden who have held the position of Monarch of Sweden?", "sparql": "SELECT ?monarch ?monarchLabel WHERE { ?monarch wdt:P27 wd:Q34 . ?monarch wdt:P39 wd:Q1268572 . ?monarch rdfs:label ?monarchLabel . FILTER(LANG(?monarchLabel) = \"en\") }", "paraphrases": ["Which individuals are both citizens of Sweden and have been monarchs of Sweden?", "List the English names of all people who are recorded as Swedish citizens and have held the title of Monarch of Sweden."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q34> . ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q1268572> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_451", "question": "What Wikidata entities are linked to the OpenStreetMap key \"highway\"?", "sparql": "SELECT ?entity ?osmTag WHERE { ?entity wdt:P1282 ?osmTag . FILTER (?osmTag = \"Key:highway\") }", "paraphrases": ["Which concepts in Wikidata correspond to the OSM tag key \"Key:highway\"?", "In Wikidata, what items are tagged with the OpenStreetMap key \"Key:highway\"?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1282> ?var2 . FILTER ( ( ( ?var2 = \"string1\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sr,en\". } } LIMIT 1"}}
{"id": "test_452", "question": "Which properties link to the 2016 Zhuhai Challenger tennis tournament more than once?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ( COUNT( ?item ) AS ?count ) WHERE {\n  ?item ?property wd:Q23017802 .\n}\nGROUP BY ?property\nHAVING ( ?count > 1 )\nORDER BY DESC ( ?count )", "paraphrases": ["How many times are different properties used to connect the 2016 Zhuhai Challenger to other items in Wikidata, and which ones appear more than once?", "Show me the properties that are used to relate the 2016 Zhuhai Challenger to other entities at least twice, sorted by frequency."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q23017802> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_453", "question": "What are the most common languages used for labeling tennis events in Wikidata, and how many events are labeled in each?", "sparql": "SELECT ?lang (COUNT(*) AS ?count) WHERE { ?event (wdt:P31/wdt:P279*) wd:Q46190676 ; rdfs:label ?label . MINUS { ?event wdt:P361 [] . } BIND(LANG(?label) AS ?lang) FILTER(LANG(?label) != \"\") } GROUP BY ?lang ORDER BY DESC(?count)", "paraphrases": ["Which languages have the most tennis tournament labels in Wikidata, excluding sub-events?", "How is the linguistic diversity distributed across tennis event labels in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT (* ) AS ?var2 ) WHERE { ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q46190676> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . MINUS { ?var3 <http://www.wikidata.org/prop/direct/P361> [] . } BIND ( LANG ( ?var4Label ) AS ?var1 ). } GROUP BY ?var1 ORDER BY DESC( ?var2 )"}}
{"id": "test_454", "question": "Horses with their names, birth years, death years, and images", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?horse ?horseLabel ( YEAR( ?birth ) AS ?birthYear ) ( YEAR( ?death ) AS ?deathYear ) ?image WHERE {\n  ?horse ( wdt:P31 / wdt:P279 * ) wd:Q726 .\n  OPTIONAL {\n    ?horse wdt:P569 ?birth .\n  }\n  OPTIONAL {\n    ?horse wdt:P570 ?death .\n  }\n  OPTIONAL {\n    ?horse wdt:P18 ?image .\n  }\n  ?horse rdfs:label ?horseLabel .\n  FILTER ( LANG( ?horseLabel ) = \"en\" )\n}\nORDER BY ASC ( ?horseLabel )", "paraphrases": ["What are the names, birth years, and death years of horses, along with their images?", "List all horses with their English names, birth years, death years, and associated images from Wikimedia Commons."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ( YEAR ( ?var2 ) AS ?var3 )( YEAR ( ?var4 ) AS ?var5 ) ?var6 WHERE { ?var7 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q726> . OPTIONAL { } OPTIONAL { } OPTIONAL { ?var7 <http://www.wikidata.org/prop/direct/P569> ?var2 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/direct/P570> ?var4 . } OPTIONAL { } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,ar,be,bg,bn,ca,cs,da,de,el,en,es,et,fa,fi,he,hi,hu,hy,id,it,ja,jv,ko,nb,nl,eo,pa,pl,pt,ro,ru,sh,sk,sr,sv,sw,te,th,tr,uk,yue,vec,vi,zh\". } OPTIONAL { ?var7 <http://www.wikidata.org/prop/direct/P18> ?var6 . } } ORDER BY ASC( ?var1 )"}}
{"id": "test_455", "question": "What plant species have a GRIN URL assigned in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?taxon ?taxonLabel ?grinUrl WHERE {\n  ?taxon wdt:P31 wd:Q756 ; wdt:P1421 ?grinUrl .\n  OPTIONAL {\n    ?taxon rdfs:label ?taxonLabel .\n    FILTER ( LANG( ?taxonLabel ) = \"en\" )\n  }\n}\nLIMIT 10", "paraphrases": ["Can you list some plants along with their GRIN taxonomy links?", "Which medicinal or crop plants are linked to the GRIN database in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1421> \"Burmi\". }"}}
{"id": "test_456", "question": "Which property links the most items to the L'Open 35 de Saint-Malo tennis tournament series, and how many items use it?", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q4339756 . FILTER(STRSTARTS(STR(?property), \"http://www.wikidata.org/prop/direct/\")) } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["What direct relationships connect other entities to the L'Open 35 de Saint-Malo tournament, and which ones appear more than once?", "How many editions of the L'Open 35 de Saint-Malo tournament are recorded in Wikidata, and what property identifies them?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q4339756> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_457", "question": "What cycling races are part of the 2018 UCI World Tour?", "sparql": "SELECT ( STRAFTER( STR( ?race ) , \"/entity/\" ) AS ?raceId ) WHERE { wd:Q42317185 wdt:P527 ?race . }", "paraphrases": ["Which individual races make up the 2018 UCI World Tour?", "List the Wikidata IDs of all races included in the 2018 UCI World Tour."], "info": {"raw_sparql": "SELECT( CONCAT ( \"Q47507832\" ) AS ?var1 )( CONCAT ( \"P527\" ) AS ?var2 )( CONCAT ( STRAFTER ( STR ( ?var3 ) , \"/entity/\" ) ) AS ?var4 ) WHERE { { ?var3 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q42317185> . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q42317185> . } }"}}
{"id": "test_458", "question": "Most specific infobox template for scientists with Russian Wikipedia page and highest number of subcategories.", "sparql": "SELECT DISTINCT ?template\n  (COUNT(?directSubclass) AS ?directSubclasses)\n  (COUNT(?descendant) AS ?indirectSubclasses)\nWHERE {\n  ?template wdt:P31 wd:Q19887878 .           # infobox template\n  ?template wdt:P1423 ?topic .               # has topic\n  ?topic wdt:P279* wd:Q901 .                 # topic is a subclass of scientist\n\n  # Direct subclasses of ?topic (descendants one step down)\n  ?directSubclass wdt:P279 ?topic .\n  FILTER(?directSubclass != ?topic)\n\n  # All descendants of ?topic (transitive)\n  ?topic wdt:P279* ?descendant .\n  FILTER(?descendant != ?topic)\n\n  # Russian Wikipedia page exists\n  ?wikipediaPage schema:about ?template ;\n                 schema:isPartOf <https://ru.wikipedia.org/> .\n\n}\nGROUP BY ?template\nORDER BY ASC(?directSubclasses) DESC(?indirectSubclasses)\nLIMIT 1", "paraphrases": ["Which infobox template is most specifically about scientists, has the most descendant categories, and is used on Russian Wikipedia?", "Find the infobox template for scientists that has the fewest direct subcategories but the most total descendant categories, and is linked to a Russian Wikipedia page."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ( COUNT ( ?var5 ) AS ?var6 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ( COUNT ( ?var7 ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19887878> . ?var1 <http://www.wikidata.org/prop/direct/P1423> ?var2 . <http://www.wikidata.org/entity/Q16673041> ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P106> ) ?var8 . ?var8 <http://www.wikidata.org/prop/direct/P279> * ?var7 . ?var7 <http://www.wikidata.org/prop/direct/P279> * ?var2 . } GROUP BY ?var1 ?var2 } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> * ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P279> * ?var3 . } } GROUP BY ?var1 ?var2 ?var3 ?var4 } FILTER ( ( EXISTS { ?var9 <http://schema.org/about> ?var1 . ?var9 <http://schema.org/isPartOf> <https://ru.wikipedia.org/> . } ) ) . } ORDER BY ASC( ?var4 ) DESC( ?var6 ) LIMIT 1"}}
{"id": "test_459", "question": "What is the English label and description of the person with e-archiv.li ID 32156?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P860 \"32156\" .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Who is the German chancellor (1843\u20131919) listed in the e-archiv.li archive with ID 32156, and what is their name in English?", "Find the English name and description of the individual identified by the e-archiv.li number 32156."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P860> \"32156\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_460", "question": "Horses with their parents, birth years, death years, and sex.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?horse ?mother ?father ( YEAR( ?birthDate ) AS ?birthYear ) ( YEAR( ?deathDate ) AS ?deathYear ) ?sex WHERE {\n  ?horse ( wdt:P31 / wdt:P279 * ) wd:Q726 .\n  OPTIONAL {\n    ?horse wdt:P25 ?mother .\n  }\n  OPTIONAL {\n    ?horse wdt:P22 ?father .\n  }\n  OPTIONAL {\n    ?horse wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?horse wdt:P570 ?deathDate .\n  }\n  OPTIONAL {\n    ?horse wdt:P21 ?sex .\n  }\n}\nORDER BY ASC ( ?horse )\nLIMIT 20", "paraphrases": ["What are the birth and death years of horses, along with their mothers, fathers, and gender?", "List horses along with their parentage, birth year, death year, and biological sex."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ( YEAR ( ?var4 ) AS ?var5 )( YEAR ( ?var6 ) AS ?var7 ) ?var8Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q726> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P25> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P22> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,ar,be,bg,bn,ca,cs,da,de,el,en,es,et,fa,fi,he,hi,hu,hy,id,it,ja,jv,ko,nb,nl,eo,pa,pl,pt,ro,ru,sh,sk,sr,sv,sw,te,th,tr,uk,yue,vec,vi,zh\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_461", "question": "What types of cycling events are part of the UCI Asia Tour, and how many of each type are there?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?var1 ?var1Label(COUNT(?race) AS ?count) WHERE {\n  ?race wdt:P361 wd:Q1063423 .\n  ?race wdt:P31 ?var1 .\n  ?var1 rdfs:label ?var1Label .\n  FILTER(LANG(?var1Label) = \"en\")\n}\nGROUP BY ?var1 ?var1Label", "paraphrases": ["How many stage races, single-day races, and other cycling events make up the UCI Asia Tour?", "Can you list the categories of races included in the UCI Asia Tour along with their counts?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P361> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q1063423> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ar,en\". } ?var2 <http://www.wikidata.org/prop/direct/P31> ?var1 . } GROUP BY ?var1 ?var1Label"}}
{"id": "test_462", "question": "Is there a Wikidata item with IMDb ID nm2154779?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P345 \"nm2154779\" .\n}", "paraphrases": ["Does the person with IMDb ID nm2154779 have a Wikidata entry?", "Confirm if nm2154779 is a valid IMDb identifier linked to a Wikidata item."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"nm2154779\". }"}}
{"id": "test_463", "question": "Film with AllMovie ID v332291", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P1562 \"v332291\" .\n}", "paraphrases": ["Which film is identified by the AllMovie title ID v332291?", "Tell me the name of the movie that has the AllMovie ID v332291."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1562> \"v332291\". }"}}
{"id": "test_464", "question": "Czech municipalities with earliest written records before 1473 and their coordinates", "sparql": "SELECT DISTINCT ?item ?coord ?itemLabel WHERE { ?item wdt:P31 wd:Q5153359 . ?item wdt:P1249 ?date . ?item wdt:P625 ?coord . BIND(YEAR(?date) AS ?year) FILTER(?year < 1473) . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = 'en') }", "paraphrases": ["Which municipalities in the Czech Republic were first recorded in writing before 1473, and where are they located?", "List the English names and geographic coordinates of Czech municipalities first mentioned in writing prior to 1473."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var1Label WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5153359> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P2788> [] . } BIND ( YEAR ( ?var3 ) AS ?var4 ). ?var1 <http://www.wikidata.org/prop/direct/P1249> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . FILTER ( ( ( ?var4 < \"1473\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } }"}}
{"id": "test_465", "question": "What positions has Joe Biden held?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?position WHERE {\n  wd:Q6279 wdt:P39 ?position .\n}", "paraphrases": ["Which offices has Joe Biden occupied?", "Can you list all the political positions Joe Biden has held?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q4137508> <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q13423495> . }"}}
{"id": "test_466", "question": "What are the occupations of Bill Clinton?", "sparql": "SELECT ?occupation ?occupationLabel WHERE { wd:Q1124 wdt:P106 ?occupation . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = \"en\")}", "paraphrases": ["What jobs has Bill Clinton held during his career?", "Can you list Bill Clinton\u2019s professional roles, such as lawyer or politician?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1124> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_467", "question": "Which Wikidata items have Twitter usernames like Russia, UN, or Barcelona_cat, and how many Wikipedia pages link to them?", "sparql": "SELECT ?item ?username (COUNT(?site) AS ?sitelinks) WHERE { ?item wdt:P2002 ?username . ?page schema:about ?item ; schema:isPartOf ?site . VALUES ?username { \"Russia\" \"servicepublicfr\" \"AuCanada\" \"UN\" \"tocho_koho\" \"gcba\" \"PrahaEU\" \"barcelona_cat\" \"thebeatles\" } } GROUP BY ?item ?username ORDER BY ASC (?sitelinks)", "paraphrases": ["What are the Twitter accounts of countries and organizations like Russia, the United Nations, and FC Barcelona, sorted by how many Wikipedia editions mention them?", "List the entities on Wikidata with Twitter usernames including Russia, UN, and barcelona_cat, along with their Wikipedia sitelink counts, ordered from least to most popular."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"FCLorient\" ) ( \"canalplus\" ) ( \"string3\" ) ( \"string4\" ) ( \"ParisFC\" ) ( \"string5\" ) ( \"string6\" ) ( \"rcoustre\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"tsaintmax\" ) ( \"CelineRx\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) ( \"string13\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_468", "question": "Which Montreal Metro stations and transit lines are operated by the Soci\u00e9t\u00e9 de transport de Montr\u00e9al?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P137 wd:Q1817151 .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["STM-operated Montreal Metro stations and lines", "List all the transit stations and the Orange Line managed by the Soci\u00e9t\u00e9 de transport de Montr\u00e9al."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P137> <http://www.wikidata.org/entity/Q1817151> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_469", "question": "What are the Chinese names of the oceans?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label WHERE {\n  ?ocean wdt:P31 wd:Q9430 .\n  ?ocean rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"zh\" )\n}\nLIMIT 10000", "paraphrases": ["Can you list the Chinese-language labels for entities that are instances of ocean?", "How are oceans called in Chinese?"], "info": {"raw_sparql": "SELECT ?var1Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q9430> . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"zh\" ) ) ) . } LIMIT 10000"}}
{"id": "test_470", "question": "German computer scientists without a DBLP ID, with their employers and websites", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel ?employerLabel ?website WHERE {\n  ?person wdt:P106 wd:Q82594 .\n  ?person wdt:P27 wd:Q183 .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n  OPTIONAL {\n    ?person wdt:P108 ?employer .\n    ?employer rdfs:label ?employerLabel .\n    FILTER(LANG(?employerLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?person wdt:P856 ?website .\n  }\n  OPTIONAL {\n    ?person wdt:P2456 ?dblpId .\n  }\n  FILTER(! BOUND(?dblpId))\n}", "paraphrases": ["Who are German computer scientists who do not have a DBLP author ID, and what are their employers and official websites?", "List the names, employers, and official websites of German computer scientists who are not listed in DBLP."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82594> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q183> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P108> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2456> ?var4 . } FILTER ( ( !( BOUND ( ?var4 ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_471", "question": "What are the given name, date of birth, date of death, country of citizenship, occupations, and religion of Rainald of Dassel?", "sparql": "SELECT ?givenName ?givenNameLabel ?deathDate ?birthDate ?country ?countryLabel ?occupation ?occupationLabel ?religion ?religionLabel WHERE { wd:Q55619 wdt:P735 ?givenName . wd:Q55619 wdt:P569 ?birthDate . wd:Q55619 wdt:P570 ?deathDate . wd:Q55619 wdt:P27 ?country . wd:Q55619 wdt:P106 ?occupation . wd:Q55619 wdt:P140 ?religion . ?givenName rdfs:label ?givenNameLabel . ?country rdfs:label ?countryLabel . ?occupation rdfs:label ?occupationLabel . ?religion rdfs:label ?religionLabel . FILTER(LANG(?givenNameLabel) = \"en\") FILTER(LANG(?countryLabel) = \"en\") FILTER(LANG(?occupationLabel) = \"en\") FILTER(LANG(?religionLabel) = \"en\") } ORDER BY ?occupation", "paraphrases": ["Show Rainald of Dassel\u2019s personal details and all his occupations, including his religion and nationality.", "I\u2019m researching Rainald of Dassel \u2014 can you list his first name, birth and death dates, the country he was a citizen of, all his known occupations, and his religion?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var4Label ?var5 ?var5Label ?var6 ?var6Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } <http://www.wikidata.org/entity/Q55619> <http://www.wikidata.org/prop/direct/P735> ?var1 . <http://www.wikidata.org/entity/Q55619> <http://www.wikidata.org/prop/direct/P569> ?var3 . <http://www.wikidata.org/entity/Q55619> <http://www.wikidata.org/prop/direct/P570> ?var2 . <http://www.wikidata.org/entity/Q55619> <http://www.wikidata.org/prop/direct/P27> ?var4 . <http://www.wikidata.org/entity/Q55619> <http://www.wikidata.org/prop/direct/P106> ?var5 . <http://www.wikidata.org/entity/Q55619> <http://www.wikidata.org/prop/direct/P140> ?var6 . }"}}
{"id": "test_472", "question": "Who is the person with IMDb ID nm1153602?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P345 \"nm1153602\" .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}", "paraphrases": ["What is the name of the person in Wikidata whose IMDb identifier is nm1153602?", "Can you tell me the English label of the Wikidata item that has the IMDb name ID nm1153602?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"nm1153602\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_473", "question": "What is the English description of the Open Library author with ID OL891A?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?author ?authorLabel ?description WHERE {\n  ?author wdt:P648 \"OL891A\" .\n  OPTIONAL {\n    ?author schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["Who is the person associated with Open Library ID OL891A, and what is their English description?", "Find the Wikidata entity for the Open Library author ID OL891A and return its English description if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P648> \"OL5275373A\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_474", "question": "Swedish citizens or people with SBL ID and their birth or death dates", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person ?personLabel ?date WHERE {\n  {\n    ?person wdt:P27 wd:Q34 .\n  } UNION {\n    ?person wdt:P3217 ?sblid .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\" || LANG(?personLabel) = \"\")\n  {\n    ?person p:P569 ?birth .\n    ?birth ps:P569 ?date ; wikibase:rank ?rank .\n    FILTER(DATATYPE(?date) = xsd:dateTime)\n  } UNION {\n    ?person p:P570 ?death .\n    ?death ps:P570 ?date ; wikibase:rank ?rank .\n    FILTER(DATATYPE(?date) = xsd:dateTime)\n  }\n}\nORDER BY ASC(?personLabel)\nLIMIT 100", "paraphrases": ["Who are Swedish citizens or individuals listed in the Dictionary of Swedish National Biography, and what are their birth or death dates?", "List the names and birth or death dates of people who are Swedish citizens or have a Dictionary of Swedish National Biography ID."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4Label WHERE { { { ?var1 <http://www.wikidata.org/prop/P569> ?var5 . } UNION { ?var1 <http://www.wikidata.org/prop/P570> ?var5 . } } { { ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q34> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P3217> ?var6 . } } ?var5 ?var7 [ <http://wikiba.se/ontology#timeValue> ?var3 ; <http://wikiba.se/ontology#timePrecision> ?var8 ] . ?var5 <http://www.wikidata.org/prop/qualifier/p31> ?var4 . { { ?var5 <http://www.wikidata.org/prop/qualifier/P31> <http://www.wikidata.org/entity/Q26932615> . } UNION { ?var5 <http://www.wikidata.org/prop/qualifier/P31> <http://www.wikidata.org/entity/Q26961029> . } } FILTER ( ( BOUND ( ?var3 ) && ( DATATYPE ( ?var3 ) = <http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv,en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_475", "question": "List all watercourses in Bulgaria with their length, coordinates, mouth, origin, and lakes they flow through, sorted by length descending.", "sparql": "SELECT DISTINCT \n  ?watercourse \n  ?watercourseLabel \n  ?latitude \n  ?longitude \n  ?length \n  ?lengthUnit \n  ?mouth \n  ?mouthLatitude \n  ?mouthLongitude \n  ?origin \n  ?originLatitude \n  ?originLongitude \n  ?lake \n  ?lakeLatitude \n  ?lakeLongitude \nWHERE {\n  ?watercourse (wdt:P31/wdt:P279*) wd:Q355304 .  # watercourse or subclass\n  ?watercourse wdt:P17 wd:Q219 .                 # located in Bulgaria\n\n  OPTIONAL {\n    ?watercourse p:P625/psv:P625 ?coordStmt .\n    ?coordStmt wikibase:geoLatitude ?latitude ;\n               wikibase:geoLongitude ?longitude .\n  }\n\n  OPTIONAL {\n    ?watercourse p:P2043/psv:P2043 ?lengthStmt .\n    ?lengthStmt wikibase:quantityAmount ?length ;\n                wikibase:quantityUnit ?lengthUnit .\n  }\n\n  OPTIONAL {\n    ?watercourse wdt:P403 ?mouth .\n    ?mouth p:P625/psv:P625 ?mouthCoordStmt .\n    ?mouthCoordStmt wikibase:geoLatitude ?mouthLatitude ;\n                    wikibase:geoLongitude ?mouthLongitude .\n  }\n\n  OPTIONAL {\n    ?watercourse wdt:P885 ?origin .\n    ?origin p:P625/psv:P625 ?originCoordStmt .\n    ?originCoordStmt wikibase:geoLatitude ?originLatitude ;\n                     wikibase:geoLongitude ?originLongitude .\n  }\n\n  OPTIONAL {\n    ?watercourse wdt:P469 ?lake .\n    ?lake p:P625/psv:P625 ?lakeCoordStmt .\n    ?lakeCoordStmt wikibase:geoLatitude ?lakeLatitude ;\n                   wikibase:geoLongitude ?lakeLongitude .\n  }\n\n  # Get label for watercourse only\n  OPTIONAL { ?watercourse rdfs:label ?watercourseLabel . FILTER(LANG(?watercourseLabel) = \"en\") }\n}\nORDER BY DESC(?length)", "paraphrases": ["What are the longest rivers in Bulgaria, and what are their sources, mouths, and the lakes they pass through, along with their geographic coordinates?", "Please provide a detailed list of watercourses in Bulgaria, including their lengths, geographic coordinates, the rivers or lakes they connect to, and their sources \u2014 ordered from longest to shortest."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var6Label ?var7 ?var8 ?var9 ?var9Label ?var10 ?var11 ?var12 ?var12Label ?var13 ?var14 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q355304> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q219> . OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P625> / <http://www.wikidata.org/prop/statement/value/P625> ) ?var15 . ?var15 <http://wikiba.se/ontology#geoLatitude> ?var2 ; <http://wikiba.se/ontology#geoLongitude> ?var3 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2043> / <http://www.wikidata.org/prop/statement/value/P2043> ) ?var16 . ?var16 <http://wikiba.se/ontology#quantityAmount> ?var4 . ?var16 <http://wikiba.se/ontology#quantityUnit> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P403> ?var6 . ?var6 ( <http://www.wikidata.org/prop/P625> / <http://www.wikidata.org/prop/statement/value/P625> ) ?var17 . ?var17 <http://wikiba.se/ontology#geoLatitude> ?var7 ; <http://wikiba.se/ontology#geoLongitude> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P885> ?var9 . ?var9 ( <http://www.wikidata.org/prop/P625> / <http://www.wikidata.org/prop/statement/value/P625> ) ?var18 . ?var18 <http://wikiba.se/ontology#geoLatitude> ?var10 ; <http://wikiba.se/ontology#geoLongitude> ?var11 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P469> ?var12 . ?var12 ( <http://www.wikidata.org/prop/P625> / <http://www.wikidata.org/prop/statement/value/P625> ) ?var19 . ?var19 <http://wikiba.se/ontology#geoLatitude> ?var13 ; <http://wikiba.se/ontology#geoLongitude> ?var14 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } } ORDER BY DESC( ?var4 )"}}
{"id": "test_476", "question": "How many instances are there for each type of tennis event in Wikidata, ranked by frequency?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?class ?classLabel(COUNT(?instance) AS ?instanceCount) WHERE {\n  VALUES ?class {\n    wd:Q7700500 wd:Q47358534 wd:Q47443726 wd:Q47345468 wd:Q46190676 wd:Q47459169 wd:Q47405126 wd:Q13219666\n  }\n  ?instance wdt:P31 ?class .\n  ?class rdfs:label ?classLabel .\n  FILTER(LANG(?classLabel) = \"en\")\n}\nGROUP BY ?class ?classLabel\nORDER BY DESC(?instanceCount)", "paraphrases": ["Which tennis-related classes have the most instances in Wikidata, and how many instances does each have?", "Show me the count of instances for each tennis class \u2014 such as tennis tournament, tennis event, and tennis final \u2014 sorted from most to least frequent."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT (* ) AS ?var2 ) WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q7700500> ) ( <http://www.wikidata.org/entity/Q47358534> ) ( <http://www.wikidata.org/entity/Q47443726> ) ( <http://www.wikidata.org/entity/Q47345468> ) ( <http://www.wikidata.org/entity/Q46190676> ) ( <http://www.wikidata.org/entity/Q47459169> ) ( <http://www.wikidata.org/entity/Q47405126> ) ( <http://www.wikidata.org/entity/Q13219666> ) } ?var3 <http://www.wikidata.org/prop/direct/P31> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var2 )"}}
{"id": "test_477", "question": "What properties and values are associated with the asteroid 2000 SX148?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?value WHERE {\n  wd:Q15175798 ?property ?value .\n}", "paraphrases": ["List all known facts (properties and their values) about the asteroid designated 2000 SX148.", "Show all the data available in Wikidata for the minor planet 2000 SX148."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/62361> ?var1 ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_478", "question": "Swedish citizens with \"den \u00e4ldre\" in their Swedish label", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?label WHERE {\n  ?person wdt:P27 wd:Q34 .\n  ?person rdfs:label ?label .\n  FILTER(LANG(?label) = \"sv\")\n  .\n  FILTER(REGEX(STR(?label) , \"den \u00e4ldre\" , \"i\"))\n}\nLIMIT 100", "paraphrases": ["Who are Swedish people known as \"X den \u00e4ldre\" in Swedish?", "List Swedish citizens whose Swedish-language names include \"den \u00e4ldre\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { BIND ( SUBSTR ( STR ( ?var2 ) ,\"31\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"99\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3 ). ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q34> . ?var2 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://sv.wikipedia.org/> . FILTER ( ( REGEX ( STR ( ?var2 ) , \"den_\u00e4ldre\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv\". } } LIMIT 100"}}
{"id": "test_479", "question": "What are the London Underground stations reachable from Cockfosters, and how many stops away are they?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?station ?stationLabel ( MIN( ?distance ) AS ?minDistance ) WHERE {\n  {\n    wd:Q1105305 wdt:P197 ?station .\n    BIND( 1 AS ?distance )\n  } UNION {\n    wd:Q1105305 wdt:P197 ?s1 .\n    ?s1 wdt:P197 ?station .\n    BIND( 2 AS ?distance )\n  } UNION {\n    wd:Q1105305 wdt:P197 ?s1 .\n    ?s1 wdt:P197 ?s2 .\n    ?s2 wdt:P197 ?station .\n    BIND( 3 AS ?distance )\n  } UNION {\n    wd:Q1105305 wdt:P197 ?s1 .\n    ?s1 wdt:P197 ?s2 .\n    ?s2 wdt:P197 ?s3 .\n    ?s3 wdt:P197 ?station .\n    BIND( 4 AS ?distance )\n  } UNION {\n    wd:Q1105305 wdt:P197 ?s1 .\n    ?s1 wdt:P197 ?s2 .\n    ?s2 wdt:P197 ?s3 .\n    ?s3 wdt:P197 ?s4 .\n    ?s4 wdt:P197 ?station .\n    BIND( 5 AS ?distance )\n  }\n  ?station rdfs:label ?stationLabel .\n  FILTER ( LANG( ?stationLabel ) = \"en\" )\n}\nGROUP BY ?station ?stationLabel\nORDER BY ASC ( ?minDistance )", "paraphrases": ["List all tube stations on the same line as Cockfosters, ordered by the shortest number of stops required to reach them.", "How far are other stations on the Piccadilly line from Cockfosters station, in terms of number of stops?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ( MIN ( ?var3 ) AS ?var3 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\". <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P197> . <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1105305> . <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#out> ?var1 . <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#out1> ?var3 . <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#maxIterations> \"298\"^^<http://www.w3.org/2001/XMLSchema#integer> . } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . } GROUP BY ?var1 ?var2Label ORDER BY ASC( ?var3 )"}}
{"id": "test_480", "question": "French deputies with their occupations", "sparql": "SELECT DISTINCT ?occupation ?person WHERE { ?person wdt:P102 ?party . ?person wdt:P27 wd:Q142 . ?person wdt:P39 wd:Q1055894 . ?person wdt:P106 ?occupation . } LIMIT 1000", "paraphrases": ["Who are the people serving as deputies in France, and what are their occupations?", "List all French deputies along with their jobs."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P102> ?var4 . ?var5 <http://www.wikidata.org/prop/direct/P734> ?var6 . ?var3 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q142> . ?var3 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q150> . ?var3 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q1055894> . ?var3 <http://www.wikidata.org/prop/direct/P106> ?var2 . } LIMIT 1000"}}
{"id": "test_481", "question": "Which entity has the Twitter username \"thebeatles\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?twitterUsername WHERE {\n  ?person wdt:P2002 ?twitterUsername .\n  VALUES ?twitterUsername {\n    \"thebeatles\"\n  }\n}", "paraphrases": ["Who is the entity on Wikidata that uses \"@thebeatles\" on Twitter?", "Show me the Wikidata item for the Twitter account \"thebeatles\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"FMichalak\" ) } }"}}
{"id": "test_482", "question": "Wikipedia pages about The Batman (2022) in English, German, or Norwegian.", "sparql": "SELECT ?wikipedia_page WHERE { ?movie wdt:P345 \"tt1877830\" . ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang IN (\"en\", \"de\", \"no\")) }", "paraphrases": ["What are the Wikipedia articles in English, German, or Norwegian about the movie with IMDb ID tt1877830?", "Show me the Wikipedia pages in English, German, or Norwegian that are about the 2022 Batman movie."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1572783\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"no\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_483", "question": "What film has the Scope.dk ID 5147?", "sparql": "SELECT ?film WHERE { ?film wdt:P2518 \"5147\" . }", "paraphrases": ["Which film is identified by the identifier 5147 on Scope.dk?", "Find the Wikidata item for the film with Scope.dk film ID 5147."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2518> \"5147\". }"}}
{"id": "test_484", "question": "People who died in 1250 with Greek names", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nSELECT ?label ?deathDate WHERE {\n  ?person wdt:P570 ?deathDate .\n  OPTIONAL {\n    ?person rdfs:label ?label .\n    FILTER(LANG(?label) = \"el\")\n  }\n  FILTER(?deathDate >= \"1250-01-01T00:00:00Z\" ^^ xsd:dateTime && ?deathDate <= \"1250-12-31T23:59:59Z\" ^^ xsd:dateTime)\n  FILTER(bound(?label))\n}\nORDER BY ASC(?deathDate)", "paraphrases": ["Who died in the year 1250, and what are their names in Greek?", "List the Greek-language names of individuals who died in 1250, sorted by date of death."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P570> ?var2 . OPTIONAL { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"el\" ) ) ) . } FILTER ( ( ( ?var2 >= \"1250-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1250-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ?var1 ) ) . } ORDER BY ASC( ?var2 )"}}
{"id": "test_485", "question": "First-level administrative divisions in Italy with their legislative bodies and number of constituencies, excluding dissolved ones.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?var1 ?var1Label ?var2 WHERE {\n  ?var1 ( wdt:P31 / wdt:P279 * ) wd:Q10864048 ; wdt:P17 wd:Q38 ; wdt:P194 ?var5 .\n  ?var5 wdt:P4253 ?var2 . MINUS {\n    ?var5 wdt:P576 [] .\n  }\n  ?var1 rdfs:label ?var1Label .\n}", "paraphrases": ["What are the first-level administrative divisions in Italy, their legislative bodies, and how many constituencies do those legislative bodies have, excluding those that have been dissolved?", "List all first-level administrative divisions in Italy along with the number of constituencies of their legislative bodies, but only include those legislative bodies that are still active."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q10864048> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q38> . ?var4 <http://www.wikidata.org/prop/direct/P194> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P4253> ?var2 . MINUS { ?var6 <http://www.wikidata.org/prop/direct/P576> [] . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_486", "question": "What are the most common given names of literary characters in German-language works?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?givenName ?givenNameLabel ?count WHERE {\n  {\n    SELECT ?givenName(COUNT(?literaryCharacter) AS ?count) WHERE {\n      ?literaryCharacter wdt:P31 / wdt:P279 * wd:Q3658341 .\n      ?literaryCharacter wdt:P735 ?givenName .\n      ?literaryCharacter wdt:P1412 wd:Q188 .\n    }\n    GROUP BY ?givenName\n  }\n  ?givenName rdfs:label ?givenNameLabel .\n  FILTER(LANG(?givenNameLabel) = \"en\")\n}\nORDER BY DESC(?count)\nLIMIT 10", "paraphrases": ["Which first names appear most frequently among characters in German literature, and how many characters have each name?", "Can you list the top 10 given names of characters from books written in German, ranked by how many characters share each name?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 ( COUNT ( ?var3 ) AS ?var2 ) WHERE { ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3658341> . ?var3 <http://www.wikidata.org/prop/direct/P735> ?var1 . ?var3 <http://www.wikidata.org/prop/direct/P1412> <http://www.wikidata.org/entity/Q188> . } GROUP BY ?var1 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } } ORDER BY DESC( ?var2 ) LIMIT 10"}}
{"id": "test_487", "question": "Who is the football player with Transfermarkt ID 8165?", "sparql": "SELECT ?player WHERE { ?player wdt:P2446 \"8165\" . }", "paraphrases": ["Which Wikidata item corresponds to the Transfermarkt player ID 8165?", "Tell me the name of the footballer identified as 8165 on Transfermarkt."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2446> \"8165\". } LIMIT 1"}}
{"id": "test_488", "question": "What are the Czech municipalities with the earliest written records before 1410, along with their locations and names?", "sparql": "SELECT DISTINCT ?municipality ?coord ?label WHERE { ?municipality wdt:P31 wd:Q5153359 ; wdt:P1249 ?date ; wdt:P625 ?coord ; rdfs:label ?label . FILTER(LANG(?label) = \"en\") BIND(YEAR(?date) AS ?year) FILTER(?year < 1410) }", "paraphrases": ["List the names and geographic coordinates of Czech towns first mentioned in writing before the year 1410.", "Which municipalities in the Czech Republic have historical records dating back to before 1410, and where are they located?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var1Label WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5153359> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P2788> [] . } BIND ( YEAR ( ?var3 ) AS ?var4 ). ?var1 <http://www.wikidata.org/prop/direct/P1249> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . FILTER ( ( ( ?var4 < \"1410\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } }"}}
{"id": "test_489", "question": "What are the most common occupations of people involved in the Panama Papers scandal?", "sparql": "SELECT ?occupationLabel ( COUNT( DISTINCT ?person ) AS ?count ) WHERE { ?person wdt:P793 wd:Q23702848 ; wdt:P106 ?occupation . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = \"en\") } GROUP BY ?occupationLabel ORDER BY DESC(?count)", "paraphrases": ["How many individuals in the Panama Papers leak had each occupation?", "Can you list the occupations of people exposed in the Panama Papers and how many people had each one?"], "info": {"raw_sparql": "SELECT ?var1Label ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P793> <http://www.wikidata.org/entity/Q23702848> ; <http://www.wikidata.org/prop/direct/P106> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1Label"}}
{"id": "test_490", "question": "Twitter usernames \"thebeatles\" and \"UN\", ordered by number of Wikipedia links", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"thebeatles\" \"UN\"\n  }\n}\nORDER BY ASC ( ?sitelinks )", "paraphrases": ["Which entities on Wikidata have the Twitter usernames \"thebeatles\" or \"UN\", and how are they ranked by the number of Wikipedia articles about them?", "Show me the entities with Twitter usernames \"thebeatles\" and \"UN\", sorted by how many Wikipedia pages link to them, from least to most."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"rkoutnik\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_491", "question": "English and German Wikipedia pages for the movie with IMDb ID tt0372784", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?wikipediaPage WHERE {\n  ?item wdt:P345 \"tt0372784\" .\n  ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang .\n  FILTER(?lang IN(\"en\" , \"de\"))\n  FILTER(regex(str(?wikipediaPage) , \"^https://(en|de)\\\\.wikipedia\\\\.org/\"))\n}", "paraphrases": ["What are the English and German Wikipedia articles for the film \"Batman Begins\"?", "Show me the English and German Wikipedia links for the movie identified by IMDb ID tt0372784."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1424039\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_492", "question": "What is the English label for the Open Library author with ID OL5569603A?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P648 \"OL5569603A\" .\n  OPTIONAL {\n    ?item rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Who is the author in Wikidata associated with the Open Library ID OL5569603A, and what is their English description?", "Find the Wikidata item for the Open Library author ID OL5569603A and return its English name and description."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P648> \"OL5569603A\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_493", "question": "All items that are instances of any subclass of manuscript.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P31 ?class .\n  ?class wdt:P279 * wd:Q87167 .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["What are all the known manuscripts and their subtypes in Wikidata?", "List all English-labeled items that are examples of any type of manuscript, including subtypes like illuminated manuscripts or palm-leaf manuscripts."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q87167> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_494", "question": "Entities said to be the same as color and their qualifiers", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?item(SAMPLE(?label) AS ?itemLabel) ?statement(SAMPLE(?qualifier) AS ?qualifierProperty) WHERE {\n  ?item p:P460 ?statement .\n  ?statement ps:P460 wd:Q1075 .\n  ?item rdfs:label ?label .\n  OPTIONAL {\n    ?statement ?qualifier ?value .\n    ?qualifier wikibase:qualifier true .\n  }\n}\nGROUP BY ?item ?statement", "paraphrases": ["What entities are considered equivalent to the concept of color, and what qualifiers are associated with those equivalences?", "List all items that are said to be the same as color, including their labels and any qualifier properties used in those statements."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P460> <http://www.wikidata.org/entity/Q1075> . ?var1 <http://www.wikidata.org/prop/P460> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_495", "question": "What administrative area contains both the Sandilands tram stop and the town of Croydon?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonParent WHERE {\n  wd:Q7416357 wdt:P131 ?commonParent .\n  wd:Q2213391 wdt:P131 ?commonParent .\n}\nLIMIT 1", "paraphrases": ["Which London borough is Sandilands tram stop and Croydon both part of?", "Find the smallest administrative region that includes both Croydon and Sandilands."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7416357> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2213391> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_496", "question": "What is the English description of the Art & Architecture Thesaurus ID 300178768?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P1014 \"300178768\" .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER ( LANG( ?itemLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["What is the term in English associated with the AAT ID 300178768, and what does it mean?", "Please provide the English label and description for the architectural term identified by the Getty AAT ID 300178768."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1014> \"300178768\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_497", "question": "Who were elected in the 2014 Taiwan city and county council elections and are still serving, along with their gender and electoral district?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel ?genderLabel ?group ?term ?district ?startTime ?endTime WHERE {\n  ?person p:P39 ?statement .\n  ?statement pq:P2715 wd:Q15902729 ; pq:P2937 ?term ; pq:P580 ?startTime ; pq:P768 ?district .\n  OPTIONAL {\n    ?person wdt:P21 ?gender .\n  }\n  OPTIONAL {\n    ?statement pq:P4100 ?group .\n  }\n  OPTIONAL {\n    ?statement pq:P582 ?endTime .\n  }\n  FILTER ( ! BOUND( ?endTime ) || ?endTime > NOW () ) ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) OPTIONAL {\n    ?gender rdfs:label ?genderLabel .\n    FILTER ( LANG( ?genderLabel ) = \"en\" )\n  }\n}\nORDER BY ASC ( ?district )", "paraphrases": ["Which individuals won seats in the 2014 Taiwan local elections, what is their gender, and which district do they represent, assuming their term has not ended?", "List the English names, genders, and electoral districts of all people currently holding office from the 2014 Taiwan city and county council elections."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4Label ?var5 ?var6Label ?var7 ?var8 WHERE { ?var1 <http://www.wikidata.org/prop/P39> ?var9 . ?var9 <http://www.wikidata.org/prop/qualifier/P2715> <http://www.wikidata.org/entity/Q15902729> ; <http://www.wikidata.org/prop/qualifier/P2937> ?var4 ; <http://www.wikidata.org/prop/qualifier/P580> ?var7 ; <http://www.wikidata.org/prop/qualifier/P768> ?var6 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . } OPTIONAL { ?var9 <http://www.wikidata.org/prop/qualifier/P582> ?var8 . } OPTIONAL { ?var9 <http://www.wikidata.org/prop/qualifier/P4100> ?var3 . } FILTER ( ( !( BOUND ( ?var8 ) ) || ( ?var8 > NOW ( ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"zh,zh-tw\". } } ORDER BY ASC( ?var6Label )"}}
{"id": "test_498", "question": "What are the Traditional Chinese labels for political offices in Taiwan ending in \"\u8b70\u54e1\"?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?office ?label WHERE {\n  ?office wdt:P31 wd:Q4164871 ; wdt:P17 wd:Q865 ; rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"zh-tw\" ) .\n  FILTER ( STRENDS( ?label , \"\u8b70\u54e1\" ) ) .\n}", "paraphrases": ["Which political offices in Taiwan have labels in Traditional Chinese that end with the word \"\u8b70\u54e1\"?", "List all Taiwanese local council member positions with their Traditional Chinese names ending in \"\u8b70\u54e1\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4164871> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q865> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"zh-tw\" ) ) ) . FILTER ( ( STRENDS ( ?var2Label , \"\u8b70\u54e1\" ) ) ) . }"}}
{"id": "test_499", "question": "What is the population of the city with GeoNames ID 2950157?", "sparql": "SELECT DISTINCT ?city ?cityLabel ?population WHERE { ?city (wdt:P31/wdt:P279*) wd:Q515 . ?city wdt:P1566 \"2950157\" . ?city wdt:P1082 ?population . ?city rdfs:label ?cityLabel . FILTER(LANG(?cityLabel) = \"en\") }", "paraphrases": ["Which city has the GeoNames ID 2950157, and what is its population?", "Show me the name and population of the city identified by GeoNames ID 2950157."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P1566> \"2950157\". ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } } LIMIT 10"}}
{"id": "test_500", "question": "Who is the person with IMDb ID nm1468260?", "sparql": "SELECT ?person WHERE { ?person wdt:P345 \"nm1468260\" .}", "paraphrases": ["Which Wikidata item corresponds to the IMDb identifier nm1468260?", "What is the name of the actor or filmmaker linked to IMDb ID nm1468260?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"nm1468260\". }"}}
{"id": "test_501", "question": "What are some specific types of cycling?", "sparql": "SELECT ?subclass ?subclassLabel WHERE { ?subclass wdt:P279 wd:Q53121 . ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") } LIMIT 11", "paraphrases": ["Can you list up to 11 subclasses of cycling, such as Paralympic cycling or electric cycling?", "Show me the names of different kinds of cycling, like cycling in Spain or utility cycling."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q53121> . } LIMIT 11 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_502", "question": "Most common occupations of Swedish citizens with a Swedish Wikipedia page, ranked by count.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?occupation ?occupationLabelEn ?occupationLabelSv ( SUM( ?count ) AS ?personCount ) WHERE {\n  ?person wdt:P27 ?country .\n  ?country wdt:P463 wd:Q458 .\n  ?person wdt:P106 ?occupation .\n  ?article schema:about ?person ; schema:isPartOf <https://sv.wikipedia.org/> .\n  OPTIONAL {\n    ?occupation rdfs:label ?occupationLabelSv .\n    FILTER ( LANG( ?occupationLabelSv ) = \"sv\" )\n  }\n  OPTIONAL {\n    ?occupation rdfs:label ?occupationLabelEn .\n    FILTER ( LANG( ?occupationLabelEn ) = \"en\" )\n  }\n  BIND( 1 AS ?count )\n}\nGROUP BY ?occupation ?occupationLabelEn ?occupationLabelSv\nORDER BY DESC ( ?personCount ) ASC ( ?occupationLabelEn )", "paraphrases": ["What are the top occupations of people from Sweden who have a page on the Swedish Wikipedia, and how many people have each occupation?", "List the occupations of Swedish citizens with Swedish Wikipedia pages, showing the English and Swedish labels and the number of people in each occupation, sorted by popularity."], "info": {"raw_sparql": "SELECT ?var1 ( ?var2 AS ?var3 )( ?var4 AS ?var5 )( SUM ( ?var6 ) AS ?var7 )( SUM ( ?var8 ) AS ?var9 ) WHERE { BIND ( IF ( ( ?var10 = <http://www.wikidata.org/entity/Q34> ),\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var8 ). BIND ( \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var6 ). ?var11 <http://www.wikidata.org/prop/direct/P27> ?var10 . ?var10 <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q458> . ?var11 <http://www.wikidata.org/prop/direct/P106> ?var1 . ?var12 <http://schema.org/about> ?var11 ; <http://schema.org/isPartOf> <https://sv.wikipedia.org/> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"sv\" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } } GROUP BY ?var1 ?var2 ?var4 ORDER BY DESC( ?var7 )ASC( ?var3 )"}}
{"id": "test_503", "question": "Who are the current members of the Legislative Yuan of Taiwan, and which electoral districts do they represent?", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?person ?district ?startDate ?endDate WHERE {\n  ?person p:P39 ?statement .\n  ?statement ps:P39 wd:Q6310593 ; pq:P580 ?startDate .\n  OPTIONAL {\n    ?statement pq:P768 ?district .\n  }\n  OPTIONAL {\n    ?statement pq:P582 ?endDate .\n  }\n  FILTER(! BOUND(?endDate) || ?endDate > NOW ())\n}\nORDER BY ASC(?startDate) ASC(?endDate)", "paraphrases": ["List all legislators in Taiwan\u2019s Legislative Yuan who are still serving, along with their constituencies and when they started their terms.", "Show me the electoral districts and start dates for all active members of Taiwan\u2019s Legislative Yuan."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4Label ?var5 ?var5Label ?var6 ?var7 WHERE { ?var1 <http://www.wikidata.org/prop/P39> ?var8 . ?var8 ( <http://www.wikidata.org/prop/statement/P39> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q6310593> ; <http://www.wikidata.org/prop/qualifier/P580> ?var6 . OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P2937> ?var5 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P582> ?var7 . } ?var8 <http://www.wikidata.org/prop/qualifier/P768> ?var3 . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P31> ?var4 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P4100> ?var2 . } FILTER ( ( !( BOUND ( ?var7 ) ) || ( ?var7 > NOW ( ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY ASC( ?var6 )ASC( ?var7 )"}}
{"id": "test_504", "question": "What is the English name of the geographical feature with GeoNames ID 363196?", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P1566 \"363196\" . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["Which entity has the GeoNames ID 363196, and what is its English label?", "Find the English name of the place identified by GeoNames ID 363196."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5Label ?var6Label ?var7Label ?var8 ?var9 ?var10 ?var3Label ?var11 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1566> \"363196\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_505", "question": "What places are commonly confused with the Avebury stone circle?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?place ?coordinates ?image ?placeLabel WHERE {\n  wd:Q661855 wdt:P1889 ?place .\n  OPTIONAL {\n    ?place wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    ?place wdt:P18 ?image .\n  }\n  ?place rdfs:label ?placeLabel .\n  FILTER(LANG(?placeLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Can you show me the locations and images of places that people often mix up with the Avebury henge?", "I want to know which nearby villages or sites are frequently mistaken for the Avebury stone circle, along with their maps and photos."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } ?var1 <http://www.wikidata.org/prop/direct/P1889> <http://www.wikidata.org/entity/Q1234698> . } LIMIT 100"}}
{"id": "test_506", "question": "What was the German colonial empire, and which country governed it?", "sparql": "SELECT ?colonialEmpire ?colonialEmpireLabel ?parentStateLabel WHERE { wd:Q329618 rdfs:label ?colonialEmpireLabel . wd:Q329618 wdt:P17 ?parentState . ?parentState rdfs:label ?parentStateLabel . FILTER(LANG(?colonialEmpireLabel) = \"en\") FILTER(LANG(?parentStateLabel) = \"en\") } ORDER BY ASC(?colonialEmpireLabel)", "paraphrases": ["Show the label of the German colonial empire and its parent state.", "Which country was the German colonial empire part of? Return both names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { BIND ( <http://www.wikidata.org/entity/Q329618> AS ?var1 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_507", "question": "What is the English label and description of the Art & Architecture Thesaurus item with ID 300264948?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P1014 \"300264948\" . OPTIONAL { ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") } OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Can you tell me the name and a brief description in English of the object identified by the Getty AAT ID 300264948?", "What is a biconical urn, according to Wikidata\u2019s English description and label?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1014> \"300264948\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_508", "question": "List spacecraft and the astronomical bodies they are located on, including those indirectly located via their launch sites.", "sparql": "SELECT DISTINCT ?spacecraft ?spacecraftLabel ?astronomicalBodyLabel WHERE { ?spacecraft (wdt:P31/wdt:P279*) wd:Q40218 . { ?spacecraft wdt:P276 ?location . ?location wdt:P376 ?astronomicalBody . } UNION { ?spacecraft wdt:P376 ?astronomicalBody . } ?spacecraft rdfs:label ?spacecraftLabel . ?astronomicalBody rdfs:label ?astronomicalBodyLabel . FILTER(LANG(?spacecraftLabel) = \"en\") FILTER(LANG(?astronomicalBodyLabel) = \"en\") } ORDER BY ASC(?spacecraftLabel)", "paraphrases": ["Which spacecraft have been sent to the Moon or Mars, and what are their names and target bodies?", "Show me all spacecraft (including their subclasses) along with the celestial bodies they are associated with, either directly or through their launch location, in English."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q40218> . { ?var1 <http://www.wikidata.org/prop/direct/P276> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P376> ?var2 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P376> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_509", "question": "People who died in 1500 with Greek labels", "sparql": "SELECT ?label ?deathDate WHERE { ?person wdt:P570 ?deathDate . OPTIONAL { ?person rdfs:label ?label . FILTER(LANG(?label) = \"el\") } FILTER(?deathDate >= \"1500-01-01T00:00:00Z\"^^xsd:dateTime && ?deathDate <= \"1500-12-31T23:59:59Z\"^^xsd:dateTime) } ORDER BY ASC(?deathDate)", "paraphrases": ["Who died in the year 1500, and what are their names in Greek?", "List all individuals who died in 1500, including their Greek-language names if available, sorted by the date of death."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P570> ?var2 . OPTIONAL { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"el\" ) ) ) . } FILTER ( ( ( ?var2 >= \"312-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"312-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ?var1 ) ) . } ORDER BY ASC( ?var2 )"}}
{"id": "test_510", "question": "People who died in 2022 and have a Greek-language label.", "sparql": "SELECT ?label ?deathDate WHERE { ?person wdt:P570 ?deathDate . ?person rdfs:label ?label . FILTER (LANG(?label) = \"el\") . FILTER (?deathDate >= \"2022-01-01T00:00:00Z\"^^xsd:dateTime && ?deathDate <= \"2022-12-31T23:59:59Z\"^^xsd:dateTime) } ORDER BY ASC(?deathDate)", "paraphrases": ["Who are the people that died in 2022 and have a name or label in Greek?", "List the names of individuals who died in 2022, along with their death dates, but only include those whose names are available in Greek."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P570> ?var2 . OPTIONAL { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"el\" ) ) ) . } FILTER ( ( ( ?var2 >= \"202-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"202-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ?var1 ) ) . } ORDER BY ASC( ?var2 )"}}
{"id": "test_511", "question": "Who are the current members of the Regional Council of Apulia, and which parliamentary groups and electoral districts do they represent?", "sparql": "SELECT ?person ?personLabel ?groupLabel ?districtLabel WHERE { ?person wdt:P31 wd:Q5 ; p:P39 ?statement . ?statement ps:P39 wd:Q47529175 ; pq:P768 ?district ; pq:P4100 ?group . FILTER NOT EXISTS { ?statement pq:P582 ?endTime . } OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } OPTIONAL { ?group rdfs:label ?groupLabel . FILTER(LANG(?groupLabel) = \"en\") } OPTIONAL { ?district rdfs:label ?districtLabel . FILTER(LANG(?districtLabel) = \"en\") } }", "paraphrases": ["Which politicians currently represent the Province of Brindisi in the Regional Council of Apulia, and what political parties are they affiliated with?", "List the names of people holding the position of councillor in the Regional Council of Apulia without an end date, along with their party and electoral district."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/P39> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q47529175> ; <http://www.wikidata.org/prop/qualifier/P768> ?var3 ; <http://www.wikidata.org/prop/qualifier/P4100> ?var2 . FILTER ( ( NOT EXISTS { ?var4 <http://www.wikidata.org/prop/qualifier/P582> ?var5 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_512", "question": "Does the movie with IMDb ID tt0051991 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P345 \"tt0051991\" .\n}", "paraphrases": ["Is there a Wikidata item associated with the IMDb identifier tt0051991?", "Check if the film \"Nick Knatterton\u2019s Adventure\" is linked to IMDb ID tt0051991 in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0051991\". }"}}
{"id": "test_513", "question": "What Wikidata property corresponds to the OpenStreetMap tag \"Key:not:name\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?property ?key WHERE {\n  ?property wdt:P1282 \"Key:not:name\"\n}", "paraphrases": ["Which property in Wikidata is linked to the OpenStreetMap key \"Key:not:name\"?", "In Wikidata, what entity represents the OpenStreetMap tag used to indicate that a feature should not be named?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1282> ?var2 . FILTER ( ( ( ?var2 = \"Key:noname\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 1"}}
{"id": "test_514", "question": "What type of entity makes up the United States House of Representatives?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?type ?typeLabel WHERE {\n  wd:Q11701 wdt:P527 ?part .\n  ?part wdt:P31 ?type .\n  ?type rdfs:label ?typeLabel .\n  FILTER(LANG(?typeLabel) = \"en\")\n}", "paraphrases": ["What class do the members or components of the U.S. House of Representatives belong to?", "Tell me the category of the parts that constitute the U.S. House of Representatives."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q11701> <http://www.wikidata.org/prop/direct/P527> ?var2 . ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_515", "question": "Items made from papyrus and their labels", "sparql": "SELECT ?item ?itemLabel ?materialLabel WHERE { ?item wdt:P186 wd:Q125576 . ?item rdfs:label ?itemLabel . wd:Q125576 rdfs:label ?materialLabel . FILTER(LANG(?itemLabel) = 'en') FILTER(LANG(?materialLabel) = 'en') }", "paraphrases": ["What ancient manuscripts are made from papyrus, and what are their names?", "List the English names of documents constructed from papyrus, along with the material name."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q214609> ; <http://www.wikidata.org/prop/direct/P186> <http://www.wikidata.org/entity/Q125576> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } }"}}
{"id": "test_516", "question": "What is the English label and description of the Art & Architecture Thesaurus entry with ID 300265001?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P1014 \"300265001\" .\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n  .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["Can you find the item in Wikidata that corresponds to the AAT ID 300265001 and show its English name and description?", "Which ancient Greek vessel is identified by the Getty AAT ID 300265001, and what is its English description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1014> \"300265289\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_517", "question": "Moons of Saturn", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?moon ?moonLabel WHERE {\n  ?moon wdt:P31 wd:Q1972 .\n}\nLIMIT 100", "paraphrases": ["What are the natural satellites orbiting Saturn?", "List all known moons of Saturn."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P398> <http://www.wikidata.org/entity/Q193> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2537> . } LIMIT 100"}}
{"id": "test_518", "question": "Current members of Taiwan's Legislative Yuan with their parliamentary groups and electoral districts", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?person ?group ?district WHERE {\n  BIND( wd:Q6310593 AS ?position ) . MINUS {\n    ?position wdt:P576 [] .\n  }\n  ?statement ps:P39 ?position ; pq:P580 ?startTime .\n  OPTIONAL {\n    ?statement pq:P4100 ?group .\n  }\n  OPTIONAL {\n    ?statement pq:P768 ?district .\n  }\n  OPTIONAL {\n    ?statement pq:P582 ?endTime .\n  }\n  ?person p:P39 ?statement ; wdt:P27 wd:Q865 .\n  BIND( COALESCE ( ?endTime , \"9999-12-31T00:00:00Z\" ^^ xsd:dateTime ) AS ?end ) FILTER ( ?end >= NOW () )\n}\nORDER BY ASC ( ?person )", "paraphrases": ["Who are the current legislators in Taiwan's Legislative Yuan, and which parties and constituencies do they represent?", "List all currently serving members of Taiwan's Legislative Yuan along with their parliamentary group and electoral district."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 ?var4Label WHERE { BIND ( <http://www.wikidata.org/entity/Q865> AS ?var5 ). BIND ( <http://www.wikidata.org/entity/Q715869> AS ?var6 ). ?var7 <http://www.wikidata.org/prop/direct/P361> ?var6 ; <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q4175034> . MINUS { ?var7 <http://www.wikidata.org/prop/direct/P576> [] . } MINUS { ?var6 <http://www.wikidata.org/prop/direct/P576> [] . } ?var8 <http://www.wikidata.org/prop/statement/P39> ?var7 ; <http://www.wikidata.org/prop/qualifier/P580> ?var9 . OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P4100> ?var2 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P768> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P31> ?var10 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P582> ?var11 . } ?var8 <http://www.wikidata.org/prop/statement/P39> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P31> ?var12 . ?var1 <http://www.wikidata.org/prop/P39> ?var8 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2013> ?var13 . } BIND ( COALESCE ( ?var11 , \"9999-12-31T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) AS ?var14 ). FILTER ( ( ( ?var14 >= NOW ( ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,zh-tw\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_519", "question": "What are the Ukrainian labels and descriptions of properties related to the UTC date of spacecraft launch?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?relatedProperty ?label ?description WHERE {\n  wd:P619 wdt:P1659 ?relatedProperty .\n  ?relatedProperty rdfs:label ?label .\n  ?relatedProperty schema:description ?description .\n  FILTER(LANG(?label) = \"uk\")\n  FILTER(LANG(?description) = \"uk\")\n}", "paraphrases": ["Which spacecraft event dates in Ukrainian are linked to the launch time property?", "Show me the Ukrainian terms for spacecraft landing and deorbit dates that are related to launch date."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P619> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"uk\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"uk\" ) ) ) . }"}}
{"id": "test_520", "question": "Who are the people who have been members of the Regional Council of Abruzzo?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P31 wd:Q5 ; p:P39 ?statement .\n  ?statement ps:P39 wd:Q47528624 .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}", "paraphrases": ["List the individuals who have served as councillors in the Regional Council of Abruzzo.", "Which humans have held the public office of member of the Regional Council of Abruzzo?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/P39> ?var3 . ?var3 <http://www.wikidata.org/prop/P39> <http://www.wikidata.org/entity/Q47528624> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_521", "question": "Top 100 most common surnames of fictional characters", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?familyName ?familyNameLabel ?count WHERE {\n  {\n    SELECT ?familyName(COUNT(?character) AS ?count) WHERE {\n      ?character wdt:P31 / wdt:P279 * wd:Q95074 .\n      ?character wdt:P734 ?familyName .\n    }\n    GROUP BY ?familyName\n    ORDER BY DESC(?count)\n    LIMIT 100\n  }\n  ?familyName rdfs:label ?familyNameLabel .\n  FILTER(LANG(?familyNameLabel) = \"en\")\n}\nORDER BY DESC(?count)", "paraphrases": ["Which family names are most frequently used for fictional characters, and how many characters have each name?", "List the 100 most common surnames of fictional characters in English, ranked by how many characters have that surname."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 ( COUNT ( ?var3 ) AS ?var2 ) WHERE { ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q95074> . ?var3 <http://www.wikidata.org/prop/direct/P734> ?var1 . } GROUP BY ?var1 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"da,en\". } } ORDER BY DESC( ?var2 ) LIMIT 100"}}
{"id": "test_522", "question": "Works about lions with page numbers and titles", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?work ?page ?workLabel WHERE {\n  ?work wdt:P921 wd:Q140 .\n  OPTIONAL {\n    ?work wdt:P304 ?page .\n  }\n  ?work rdfs:label ?workLabel .\n}", "paraphrases": ["What are the works that have the lion as their main subject, and what are their titles and page numbers?", "List the titles of works about lions, along with their page numbers if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q140> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pt,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P304> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P921> ?var3 . } }"}}
{"id": "test_523", "question": "Who has the IMDb ID nm7052379?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P345 \"nm7052379\" .\n}", "paraphrases": ["Which Wikidata item is associated with the IMDb identifier nm7052379?", "Tell me the person linked to the IMDb ID nm7052379."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"nm7052379\". } ORDER BY ASC( ?var1 )"}}
{"id": "test_524", "question": "Subclasses of the game category in English.", "sparql": "SELECT ?subclass ?subclassLabel WHERE { ?subclass wdt:P279 wd:Q11410 . ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") } LIMIT 10", "paraphrases": ["What are some examples of games that are subclasses of the general concept of a game?", "List the top 10 English-labeled subclasses of the category \"game\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q11410> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,nl,en\". } } LIMIT 10"}}
{"id": "test_525", "question": "Public transport routes in Vienna that are subway, tram, or bus lines.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?route ?routeLabel WHERE {\n  ?route(wdt:P31 / wdt:P279 *) wd:Q1067164 .\n  ?route wdt:P131 wd:Q1741 .\n  OPTIONAL {\n    ?route rdfs:label ?routeLabel\n    FILTER(LANG(?routeLabel) = \"en\")\n  }\n}", "paraphrases": ["What are the public transport lines (such as U-Bahn, tram, or bus routes) operating in Vienna?", "List all transport service itineraries (including subway, tram, and bus lines) in Vienna along with their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1067164> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q1741> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_526", "question": "Haitian politicians and the positions they have held.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?positionLabel WHERE {\n  ?person wdt:P106 wd:Q82955 .\n  ?person wdt:P27 wd:Q790 .\n  ?person wdt:P39 ?position .\n  ?person rdfs:label ?personLabel .\n  ?position rdfs:label ?positionLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n  FILTER(LANG(?positionLabel) = \"en\")\n}\nORDER BY ASC(?person)\nLIMIT 20", "paraphrases": ["Who are the politicians from Haiti and what government positions have they held?", "List the names of Haitian politicians along with the offices they have held, in alphabetical order."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82955> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q790> . ?var1 <http://www.wikidata.org/prop/direct/P39> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY ASC( ?var1 ) LIMIT 20"}}
{"id": "test_527", "question": "Lakes in Germany with their length, watershed area, and discharge.", "sparql": "SELECT ?lake ?lakeLabel ?length ?watershedArea ?discharge WHERE { ?lake (wdt:P31/wdt:P279*) wd:Q23397 . ?lake wdt:P17 wd:Q183 . OPTIONAL { ?lake wdt:P2043 ?length . } OPTIONAL { ?lake wdt:P2053 ?watershedArea . } OPTIONAL { ?lake wdt:P2225 ?discharge . } OPTIONAL { ?lake rdfs:label ?lakeLabel . FILTER(LANG(?lakeLabel) = \"en\") } } LIMIT 1000", "paraphrases": ["What are the lakes in Germany, and what are their length, watershed area, and discharge values?", "Please list all lakes in Germany along with their measured length, watershed area, and discharge, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4Label ?var5Label ?var6Label ?var7 ?var8 ?var9 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q23397> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P200> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P201> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2043> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P30> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2053> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2225> ?var9 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100000"}}
{"id": "test_528", "question": "Which entities have Twitter usernames \"thebeatles\" or \"UN\"?", "sparql": "SELECT ?item ?twitterUsername WHERE { ?item wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"thebeatles\" \"UN\" } } ORDER BY ?item", "paraphrases": ["What are the entities on Wikidata that use \"thebeatles\" or \"UN\" as their Twitter username?", "List the items on Wikidata with Twitter usernames \"thebeatles\" and \"UN\", sorted alphabetically."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"edasfr\" ) ( \"string1\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_529", "question": "What types of entities are Super Smash Bros. Melee, Pikmin 2, Mario Party 7, Metal Gear Solid: The Twin Snakes, Wario World, Mario Kart: Double Dash, Super Mario Sunshine, and The Legend of Zelda: Twilight Princess instances of?", "sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { VALUES ?var1 { wd:Q1052131 wd:Q1196801 wd:Q2480047 wd:Q1205277 wd:Q2697453 wd:Q5721431 wd:Q639955 wd:Q735613 } ?var1 wdt:P31 ?var2 . ?var2 rdfs:label ?var2Label . FILTER(LANG(?var2Label) = \"en\") }", "paraphrases": ["Which classes do the Nintendo games Super Smash Bros. Melee, Pikmin 2, Mario Party 7, Metal Gear Solid: The Twin Snakes, Wario World, Mario Kart: Double Dash, Super Mario Sunshine, and The Legend of Zelda: Twilight Princess belong to?", "List all the categories (instance-of types) for these video games: Super Smash Bros. Melee, Pikmin 2, Mario Party 7, Metal Gear Solid: The Twin Snakes, Wario World, Mario Kart: Double Dash, Super Mario Sunshine, and The Legend of Zelda: Twilight Princess, in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q216353> ) ( <http://www.wikidata.org/entity/Q1052131> ) ( <http://www.wikidata.org/entity/Q1196801> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/Q2480047> ) ( <http://www.wikidata.org/entity/Q1205277> ) ( <http://www.wikidata.org/entity/Q735613> ) ( <http://www.wikidata.org/entity/Q5721431> ) ( <http://www.wikidata.org/entity/Q2697453> ) ( <http://www.wikidata.org/entity/Q639955> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_530", "question": "Grape varieties and their countries of origin", "sparql": "SELECT ?grape ?country ?countryLabel WHERE { ?grape wdt:P31 wd:Q958314 . OPTIONAL { ?grape wdt:P495 ?country . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") } } LIMIT 100", "paraphrases": ["What are some grape varieties and where do they originate from?", "List grape varieties along with the English names of their countries or regions of origin."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,it\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q958314> . OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P495> ?var2 . } } LIMIT 100"}}
{"id": "test_531", "question": "Who are the spouses of U.S. presidents?", "sparql": "SELECT ?president ?presidentLabel ?spouse ?spouseLabel WHERE { ?president wdt:P31 wd:Q5 . ?president wdt:P39 wd:Q11696 . ?president wdt:P26 ?spouse . ?president rdfs:label ?presidentLabel . ?spouse rdfs:label ?spouseLabel . FILTER(LANG(?presidentLabel) = \"en\") FILTER(LANG(?spouseLabel) = \"en\") } ORDER BY ?presidentLabel", "paraphrases": ["Which U.S. presidents have been married, and to whom?", "List all individuals who have served as President of the United States along with their spouses\u2019 names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q11696> . ?var1 <http://www.wikidata.org/prop/direct/P26> ?var2 . }"}}
{"id": "test_532", "question": "Which organizations or entities have the Twitter usernames \"thebeatles\", \"UN\", or \"gcba\"?", "sparql": "SELECT ?entity ?username WHERE { ?entity wdt:P2002 ?username . VALUES ?username { \"thebeatles\" \"UN\" \"gcba\" } }", "paraphrases": ["What entities on Wikidata are associated with the Twitter handles @thebeatles, @UN, or @gcba?", "Show me the entities in Wikidata that use \"thebeatles\", \"UN\", or \"gcba\" as their X (Twitter) username."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"Sbisolo\" ) ( \"string1\" ) ( \"string2\" ) } }"}}
{"id": "test_533", "question": "Who are the U.S. presidents married since 1971, and who are their spouses?", "sparql": "SELECT ?presidentLabel ?spouseLabel WHERE { ?president wdt:P31 wd:Q5 . ?president wdt:P39 wd:Q11696 . ?president p:P26 ?statement . ?statement pq:P580 ?startDate . ?statement ps:P26 ?spouse . FILTER ( ?startDate >= \"1971-01-01T00:00:00Z\"^^xsd:dateTime ) . ?president rdfs:label ?presidentLabel . ?spouse rdfs:label ?spouseLabel . FILTER ( LANG(?presidentLabel) = \"en\" ) . FILTER ( LANG(?spouseLabel) = \"en\" ) . }", "paraphrases": ["List the spouses of American presidents who got married on or after January 1, 1971.", "Which U.S. presidents since 1971 had spouses, and what are their names?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q11696> . ?var1 <http://www.wikidata.org/prop/direct/P26> ?var2 . ?var1 <http://www.wikidata.org/prop/P26> ?var3 . ?var3 <http://www.wikidata.org/prop/qualifier/P580> ?var4 . FILTER ( ( ( ?var4 >= \"1971-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_534", "question": "List all Legislative Yuan constituencies in Taiwan with their corresponding counties, sorted alphabetically.", "sparql": "SELECT ?constituency ?constituencyLabel ?administrativeRegionLabel WHERE { ?constituency wdt:P31 wd:Q19409201 . ?constituency wdt:P131 ?administrativeRegion . ?constituency rdfs:label ?constituencyLabel . ?administrativeRegion rdfs:label ?administrativeRegionLabel . FILTER(LANG(?constituencyLabel) = \"en\") FILTER(LANG(?administrativeRegionLabel) = \"en\") } ORDER BY ASC(?constituencyLabel)", "paraphrases": ["What are the names of the Legislative Yuan electoral districts in Taiwan and which counties or cities do they belong to?", "Please provide a sorted list of the English names of Taiwan\u2019s Legislative Yuan constituencies along with the administrative regions (counties/cities) they are located in."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19409201> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"zh-tw\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_535", "question": "Moons and rings of Saturn", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?saturnObject ?saturnObjectLabel WHERE {\n  ?saturnObject wdt:P397 wd:Q193 .\n  ?saturnObject rdfs:label ?saturnObjectLabel .\n  FILTER(LANG(?saturnObjectLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["What natural objects orbit Saturn?", "List all known satellites and rings that revolve around Saturn."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } ?var1 <http://www.wikidata.org/prop/direct/P397> <http://www.wikidata.org/entity/Q193> . } LIMIT 100"}}
{"id": "test_536", "question": "External identifiers for railway stations in Belgium from iRail.", "sparql": "SELECT DISTINCT ?externalId WHERE { ?station wdt:P31 wd:Q55488 . ?station wdt:P17 wd:Q31 . ?station wdt:P2888 ?externalId . }", "paraphrases": ["What are the iRail URLs for all railway stations located in Belgium?", "Can you list the exact external matches (P2888) of railway stations in Belgium, which link to the iRail database?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q55488> . ?var2 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q31> . ?var2 <http://www.wikidata.org/prop/direct/P2888> ?var1 . OPTIONAL { } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_537", "question": "What are the official Twitter/X accounts for Brazil, Russia, The Beatles, and the United Nations?", "sparql": "SELECT ?entity ?username WHERE { ?entity wdt:P2002 ?username . VALUES ?username { \"UN\" \"thebeatles\" \"Russia\" \"govbrazil\" } }", "paraphrases": ["Which Wikidata entities have the Twitter usernames \"UN\", \"Russia\", \"thebeatles\", or \"govbrazil\"?", "Show me the entities in Wikidata linked to these Twitter handles: UN, Russia, thebeatles, and govbrazil."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"Swoogs232\" ) ( \"darrra20\" ) ( \"Joeynoble\" ) ( \"notkomaI\" ) ( \"Just_James\" ) ( \"string1\" ) ( \"Wendywoo_g\" ) ( \"string2\" ) ( \"michelledh\" ) ( \"Richard_BB\" ) ( \"string3\" ) ( \"dxnprxcx\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) } }"}}
{"id": "test_538", "question": "U.S. House members with occupations other than politician", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?personLabel ?occupation ?occupationLabel WHERE {\n  ?person wdt:P734 ?surname .\n  ?person wdt:P102 ?party .\n  ?person wdt:P39 wd:Q13218630 .\n  ?person wdt:P106 ?occupation . MINUS {\n    ?person wdt:P106 wd:Q82955 .\n  }\n  ?person rdfs:label ?personLabel .\n  ?occupation rdfs:label ?occupationLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n  FILTER(LANG(?occupationLabel) = \"en\")\n}\nLIMIT 3000", "paraphrases": ["Who are the members of the U.S. House of Representatives whose occupation is not politician?", "List all members of the U.S. House of Representatives who are not identified as politicians, along with their actual occupations."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P102> ?var4 . ?var1 ?var5 <http://www.wikidata.org/entity/Q13218630> . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var2 . MINUS { ?var2 <http://www.wikidata.org/prop/statement/P31> <http://www.wikidata.org/entity/Q82955> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 3000"}}
{"id": "test_539", "question": "Manuscripts in the Palissy database without a specified language and their Wikipedia pages.", "sparql": "SELECT DISTINCT ?manuscript ?label ?wikipediaPage WHERE { ?manuscript (wdt:P31/wdt:P279*) wd:Q87167 . ?manuscript wdt:P481 [] . MINUS { ?manuscript wdt:P407 [] . } OPTIONAL { ?wikipediaPage schema:about ?manuscript ; schema:isPartOf <https://en.wikipedia.org/> . } ?manuscript rdfs:label ?label . } ORDER BY DESC(?label)", "paraphrases": ["Which handwritten manuscripts are listed in the French Palissy database but do not have a language assigned, and do they have English Wikipedia pages?", "Show me the names of manuscripts from the Palissy database that aren\u2019t associated with any language, along with any corresponding Wikipedia links."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q87167> . ?var1 <http://www.wikidata.org/prop/direct/P481> [] . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P407> [] . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } OPTIONAL { ?var3 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY DESC( ?var1Label )"}}
{"id": "test_540", "question": "What is the English name of the place with GeoNames ID 3093500?", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P1566 \"3093500\" . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["Which place has the GeoNames identifier 3093500, and what is its English label?", "Show me the English name of the location identified by GeoNames ID 3093500."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1566> \"3093500\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_541", "question": "What is the title of the film with IMDb ID tt0102926?", "sparql": "SELECT ?item ?title WHERE { ?item wdt:P345 \"tt0102926\" . ?item wdt:P1476 ?title .}", "paraphrases": ["Show me the title of the movie identified by the IMDb identifier tt0102926.", "Which film has the IMDb ID tt0102926, and what is its title?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0097477\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_542", "question": "U.S. Presidents, their spouses' images, their own images, and other positions they held with start dates.", "sparql": "SELECT DISTINCT ?president ?presidentImage ?spouseImage ?presidentLabel ?startTime WHERE { ?president wdt:P39 wd:Q11696 . ?president wdt:P31 wd:Q5 . OPTIONAL { ?president wdt:P18 ?presidentImage . } ?president wdt:P26 ?spouse . OPTIONAL { ?spouse wdt:P18 ?spouseImage . } OPTIONAL { ?president p:P39 ?statement . ?statement ps:P39 ?position . ?statement pq:P580 ?startTime . FILTER(?position != wd:Q11696) } } LIMIT 10", "paraphrases": ["Who are the U.S. Presidents, who are their spouses, what are their images, and what other political positions did they hold and when did they start?", "List all U.S. Presidents along with their spouse\u2019s photos, their own photos, and any other offices they held before or after their presidency, including when those positions began."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var1Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q11696> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/P39> [ <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q842606> ; <http://www.wikidata.org/prop/qualifier/P580> ?var4 ] . ?var1 <http://www.wikidata.org/prop/direct/P26> ?var5 . OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_543", "question": "Water bodies that have Taiwan as a basin country", "sparql": "SELECT ?waterBody ?statement WHERE { ?waterBody p:P205 ?statement . ?statement ps:P205 wd:Q865 . } LIMIT 101", "paraphrases": ["Which water bodies have Taiwan as a basin country?", "List the water bodies (lakes, seas, rivers) that drain into or border Taiwan, along with their statement identifiers."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P205> <http://www.wikidata.org/entity/Q865> . ?var1 <http://www.wikidata.org/prop/P205> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_544", "question": "People from Cameroon with their surnames and birth coordinates", "sparql": "SELECT ?person ?surnameLabel ?coordinates WHERE { ?person wdt:P19 ?birthplace . ?birthplace wdt:P17 wd:Q1009 . ?person wdt:P734 ?surname . ?birthplace wdt:P625 ?coordinates . ?surname rdfs:label ?surnameLabel . FILTER(LANG(?surnameLabel) = \"en\") }", "paraphrases": ["Who are the people from Cameroon and what are their family names and birthplace coordinates?", "List all individuals born in Cameroon along with their surnames and the geographic coordinates of their birthplaces."], "info": {"raw_sparql": "SELECT( REPLACE ( STR ( ?var1 ) , \".*Q\", \"Q\" ) AS ?var2 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/entity/P279> *) <http://www.wikidata.org/entity/Q101352> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q1009> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_545", "question": "Which Wikidata items have Twitter usernames UN, thebeatles, barcelona_cat, or govbrazil?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterUsername WHERE {\n  ?item wdt:P2002 ?twitterUsername .\n  VALUES ?twitterUsername {\n    \"UN\" \"thebeatles\" \"barcelona_cat\" \"govbrazil\"\n  }\n}\nORDER BY ?twitterUsername", "paraphrases": ["What entities on Wikidata are associated with the Twitter handles \"UN\", \"thebeatles\", \"barcelona_cat\", or \"govbrazil\"?", "List the Wikidata items that have the Twitter usernames \"UN\", \"thebeatles\", \"barcelona_cat\", or \"govbrazil\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"datalocale\" ) ( \"Gironde\" ) ( \"string2\" ) ( \"string3\" ) ( \"ps_gironde\" ) ( \"sudouest\" ) ( \"cAcGironde\" ) ( \"scenesdete\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_546", "question": "How many subclasses and direct instances of tennis tournaments exist in Wikidata, and how many of them have \"Singles\" in their English label?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?relationType(COUNT(DISTINCT ?item) AS ?countTotal)(COUNT(DISTINCT ?hasSinglesLabel) AS ?countSingles) WHERE {\n  {\n    BIND(\"P31\" AS ?relationType)\n    ?item wdt:P31 wd:Q13219666 .\n  } UNION {\n    BIND(\"P279\" AS ?relationType)\n    ?item wdt:P279 wd:Q13219666 .\n  }\n  ?item rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  BIND(IF(CONTAINS(STR(?label) , \"Singles\") , ?item , \"\") AS ?hasSinglesLabel)\n}\nGROUP BY ?relationType", "paraphrases": ["Break down the count of tennis tournaments and their subclasses by type (instance vs subclass), and show how many of each contain \"Singles\" in their English name.", "Show the number of tennis tournament types and their subtypes, along with how many of those types are specifically singles events based on their English labels."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 )( COUNT ( DISTINCT ?var4 ) AS ?var4 ) WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { BIND ( \"p31\" AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13219666> . } UNION { BIND ( \"p279\" AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q13219666> . } BIND ( IF ( CONTAINS ( STR ( ?var5 ) , \"Singles\" ) , ?var2 , \"\" ) AS ?var4 ). ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_547", "question": "Who is the Swedish National Biography ID 8711, and what is their English description?", "sparql": "SELECT ?person ?label ?description WHERE { ?person wdt:P3217 \"8711\" . OPTIONAL { ?person rdfs:label ?label . FILTER (LANG(?label) = \"en\") . } OPTIONAL { ?person schema:description ?description . FILTER (LANG(?description) = \"en\") . } }", "paraphrases": ["What is the name and English description of the person with SBL ID 8711 in the Dictionary of Swedish National Biography?", "Tell me the English label and description of the person identified by SBL ID 8711."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3217> \"8711\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_548", "question": "U.S. presidents with at least two children and their spouses, along with their images.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?presidentLabel ?spouseLabel ?children ?presidentImage ?spouseImage WHERE {\n  ?president wdt:P39 wd:Q11696 .\n  ?president rdfs:label ?presidentLabel .\n  FILTER(LANG(?presidentLabel) = \"en\")\n  .\n  ?spouse wdt:P26 ?president .\n  ?spouse rdfs:label ?spouseLabel .\n  FILTER(LANG(?spouseLabel) = \"en\")\n  .\n  ?president wdt:P18 ?presidentImage .\n  ?spouse wdt:P18 ?spouseImage .\n  ?president wdt:P1971 ?children .\n  FILTER(?children >= 2)\n  .\n}", "paraphrases": ["Which U.S. presidents had two or more children, who were their spouses, and what are the images of both?", "Show me the names and photos of U.S. presidents who have at least two children, along with the names and photos of their spouses."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 WHERE { ?var9 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q11696> . ?var9 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"en\" ) ) ) . ?var10 <http://www.wikidata.org/prop/direct/P26> ?var9 . ?var10 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . ?var9 <http://www.wikidata.org/prop/direct/P18> ?var4 . ?var10 <http://www.wikidata.org/prop/direct/P18> ?var5 . ?var8 <http://www.wikidata.org/prop/direct/P39> ?var9 . ?var9 <http://www.wikidata.org/prop/direct/P1971> ?var3 . FILTER ( ( ( ?var3 >= \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . }"}}
{"id": "test_549", "question": "What is the Wikidata item for the TV series with IMDb ID tt7713778?", "sparql": "SELECT ?item WHERE { ?item wdt:P345 \"tt7713778\" . }", "paraphrases": ["Which TV series on Wikidata has the IMDb identifier tt7713778?", "Find the Wikidata entry for the show identified by tt7713778 on IMDb."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt7713778\". }"}}
{"id": "test_550", "question": "Who were born in 1927 and have a Greek-language label in Wikidata?", "sparql": "SELECT ?label ?birthDate WHERE { ?person wdt:P569 ?birthDate . OPTIONAL { ?person rdfs:label ?label . FILTER (LANG(?label) = \"el\") } FILTER (?birthDate >= \"1927-01-01T00:00:00Z\"^^xsd:dateTime && ?birthDate <= \"1927-12-31T23:59:59Z\"^^xsd:dateTime) } ORDER BY ASC(?birthDate)", "paraphrases": ["List people born in 1927 with Greek labels", "Show me the birth dates and Greek labels of people born in 1927"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P569> ?var2 . OPTIONAL { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"el\" ) ) ) . } FILTER ( ( ( ?var2 >= \"297-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"297-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ?var1 ) ) . } ORDER BY ASC( ?var2 )"}}
{"id": "test_551", "question": "Heads of government of Taiwan\u2019s special municipalities, provincial cities, and counties and the positions they hold.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?administrativeDivision ?administrativeDivisionLabel ?headOfGovernment ?headOfGovernmentLabel ?positionHeld ?positionHeldLabel WHERE {\n  VALUES ?administrativeType {\n    wd:Q2225003 wd:Q83020 wd:Q706447\n  }\n  ?administrativeDivision(wdt:P31 / wdt:P279 *) ?administrativeType ; wdt:P6 ?headOfGovernment .\n  ?headOfGovernment wdt:P39 ?positionHeld .\n  OPTIONAL {\n    ?administrativeDivision rdfs:label ?administrativeDivisionLabel .\n    FILTER(LANG(?administrativeDivisionLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?headOfGovernment rdfs:label ?headOfGovernmentLabel .\n    FILTER(LANG(?headOfGovernmentLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?positionHeld rdfs:label ?positionHeldLabel .\n    FILTER(LANG(?positionHeldLabel) = \"en\")\n  }\n}", "paraphrases": ["Who are the heads of government for Taiwan\u2019s top-level administrative divisions, and what offices do they hold?", "List the leaders of Taiwan\u2019s municipalities and counties along with their current or former government positions."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { VALUES ( ?var4 ) { ( <http://www.wikidata.org/entity/Q2225003> ) ( <http://www.wikidata.org/entity/Q83020> ) ( <http://www.wikidata.org/entity/Q706447> ) } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var4 ; <http://www.wikidata.org/prop/direct/P6> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P39> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"zh,zh-tw\". } }"}}
{"id": "test_552", "question": "Who are the Chief Mousers to the Cabinet Office?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?cat WHERE {\n  ?cat wdt:P39 wd:Q198641 .\n}", "paraphrases": ["Which cats have held the position of Chief Mouser to the Cabinet Office?", "List all individuals who have served as Chief Mouser to the Cabinet Office."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2262318> . }"}}
{"id": "test_553", "question": "Which entities on Wikidata have Twitter usernames envlh, googledeepmind, UN, thebeatles, or Russia?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  FILTER ( ?username IN ( \"envlh\" , \"googledeepmind\" , \"UN\" , \"thebeatles\" , \"Russia\" ) )\n}", "paraphrases": ["Who are the people or organizations on Wikidata with the Twitter usernames 'envlh', 'googledeepmind', 'UN', 'thebeatles', or 'Russia'?", "List the Wikidata items and their corresponding Twitter usernames for the accounts envlh, googledeepmind, UN, thebeatles, and Russia."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"Ls01\" ) ( \"code_MU\" ) ( \"string1\" ) ( \"SOQUIJ\" ) ( \"element_ai\" ) ( \"chpapineau\" ) ( \"NandoDF\" ) ( \"IVADO_Qc\" ) ( \"DeepMindAI\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_554", "question": "What colonial administrative units in German Kamerun were government agencies, and what sources document them?", "sparql": "PREFIX pr: <http://www.wikidata.org/prop/reference/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX prov: <http://www.w3.org/ns/prov#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3 ?var4 WHERE {\n  BIND( wd:Q668294 AS ?colony ) .\n  ?var1 wdt:P361 ?colony .\n  {\n    ?var1 wdt:P31 / wdt:P279 * wd:Q327333 .\n  } UNION {\n    ?var1 wdt:P31 / wdt:P279 * wd:Q854399 .\n  } UNION {\n    ?var1 wdt:P31 / wdt:P279 * wd:Q1306755 .\n  }\n  ?var1 p:P31 ?statement .\n  ?statement prov:wasDerivedFrom ?ref .\n  ?ref pr:P248 ?var2 .\n  OPTIONAL {\n    ?ref pr:P304 ?var3 .\n  }\n  OPTIONAL {\n    ?ref pr:P854 ?var4 .\n  }\n  ?var1 rdfs:label ?var1Label .\n  ?var2 rdfs:label ?var2Label .\n  FILTER ( LANG( ?var1Label ) = \"en\" ) FILTER ( LANG( ?var2Label ) = \"en\" )\n}\nORDER BY ASC ( ?var1Label )", "paraphrases": ["Which government agencies in the German colony of Cameroon are documented in historical sources, and what are those sources?", "List the administrative centers, district offices, and government agencies that were part of German Kamerun, along with the books or archives that reference them."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q668294> AS ?var5 ). ?var1 <http://www.wikidata.org/prop/direct/P361> ?var5 . { { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q327333> . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q854399> . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1306755> . } } ?var1 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/P279> / <http://www.wikidata.org/prop/P361> *) ?var6 . OPTIONAL { ?var6 ( <http://www.w3.org/ns/prov#wasDerivedFrom> / <http://www.wikidata.org/prop/reference/P248> ) ?var2 . } OPTIONAL { ?var6 ( <http://www.w3.org/ns/prov#wasDerivedFrom> / <http://www.wikidata.org/prop/reference/P304> ) ?var3 . } OPTIONAL { ?var6 ( <http://www.w3.org/ns/prov#wasDerivedFrom> / <http://www.wikidata.org/prop/reference/P854> ) ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,de,en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_555", "question": "What are the names of Saturn's moons?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?moonLabel WHERE {\n  ?moon wdt:P397 wd:Q193 .\n  ?moon wdt:P31 wd:Q1972 .\n  ?moon rdfs:label ?moonLabel .\n  FILTER ( LANG( ?moonLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Can you list the natural satellites that orbit Saturn?", "Show me the English labels of all known moons of Saturn."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,fr\". } ?var2 <http://www.wikidata.org/prop/direct/P397> <http://www.wikidata.org/entity/Q193> . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2537> . } LIMIT 100"}}
{"id": "test_556", "question": "What are the English names of all types of launch vehicles?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subclass ?label WHERE {\n  ?subclass wdt:P279 wd:Q697175 .\n  ?subclass rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["List all subclasses of launch vehicle that have an English label.", "Which rockets are classified as types of launch vehicles, and what are their English names?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q697175> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . }"}}
{"id": "test_557", "question": "Does the IMDb ID nm7479673 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P345 \"nm7479673\" .\n}", "paraphrases": ["Is there a person in Wikidata with the IMDb identifier nm7479673?", "Confirm if the IMDb ID nm7479673 is linked to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"nm7479673\". }"}}
{"id": "test_558", "question": "Which Wikidata items have Twitter usernames \"Russia\", \"UN\", or \"thebeatles\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  FILTER(?username IN(\"Russia\" , \"UN\" , \"thebeatles\"))\n}", "paraphrases": ["What entities on Wikidata are associated with the Twitter handles \"Russia\", \"UN\", or \"thebeatles\"?", "Show me the Wikidata items for the Twitter accounts \"Russia\", \"UN\", and \"thebeatles\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"BET_Intl\" ) ( \"string1\" ) ( \"SFR_Play\" ) } }"}}
{"id": "test_559", "question": "List space stations and their operators.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?station ?stationLabel ?operator WHERE {\n  ?station wdt:P31 wd:Q25956 .\n  ?station wdt:P137 ?operator .\n  ?station rdfs:label ?stationLabel .\n  FILTER(LANG(?stationLabel) = \"en\")\n}", "paraphrases": ["Which space stations have been operated by which organizations?", "Show me the names of all space stations in English along with the organizations that operate them."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q25956> . ?var1 <http://www.wikidata.org/prop/direct/P137> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_560", "question": "People with DBLP IDs who are athletes", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel ?dblpId ?occupationLabel WHERE {\n  ?person wdt:P106 ?occupation .\n  ?occupation wdt:P279 * wd:Q2066131 .\n  ?person wdt:P2456 ?dblpId .\n  ?person rdfs:label ?personLabel .\n  ?occupation rdfs:label ?occupationLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n  FILTER(LANG(?occupationLabel) = \"en\")\n}", "paraphrases": ["Who are the computer scientists in DBLP that are also professional athletes?", "List all individuals in the DBLP bibliography who have an occupation as a sports competitor, along with their DBLP identifiers and occupation labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q2066131> . ?var1 <http://www.wikidata.org/prop/direct/P2456> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_561", "question": "Who held official roles in the Government of Cameroon during the German colonial period, and what were their roles in German, along with their start and end dates?", "sparql": "SELECT DISTINCT ?person ?personLabel ?roleLabel ?startDate ?endDate WHERE { BIND(wd:Q30607501 AS ?government) . ?person wdt:P31 wd:Q5 ; p:P1416 ?affiliationStatement . ?affiliationStatement ps:P1416 ?government ; pq:P2868 ?role . OPTIONAL { ?role rdfs:label ?roleLabel . FILTER(LANG(?roleLabel) = \"de\") } OPTIONAL { ?affiliationStatement pq:P580 ?startDate . } OPTIONAL { ?affiliationStatement pq:P582 ?endDate . } OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } OPTIONAL { ?government rdfs:label ?governmentLabel . FILTER(LANG(?governmentLabel) = \"en\") } } ORDER BY ASC(?startDate) ASC(?roleLabel)", "paraphrases": ["List all German colonial administrators in Cameroon with their roles in German, start dates, and end dates.", "Show the timeline of individuals who served in the Government of Kamerun with their official roles in German, sorted by start date."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3 ?var4 ?var5 ?var6 ?var7 ?var2 ?var8 WHERE { BIND ( <http://www.wikidata.org/entity/Q30607501> AS ?var2 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/P1416> ?var9 . ?var9 <http://www.wikidata.org/prop/statement/P1416> ?var2 . OPTIONAL { ?var9 <http://www.wikidata.org/prop/qualifier/P580> ?var5 . } OPTIONAL { ?var9 <http://www.wikidata.org/prop/qualifier/P582> ?var6 . } OPTIONAL { ?var9 ( <http://www.wikidata.org/prop/qualifier/P106> / <http://www.w3.org/2000/01/rdf-schema#label> ) ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"de\" ) ) ) . } OPTIONAL { ?var9 ( <http://www.wikidata.org/prop/qualifier/P2868> / <http://www.w3.org/2000/01/rdf-schema#label> ) ?var8 . FILTER ( ( ( LANG ( ?var3 ) = \"de\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } } ORDER BY ASC( ?var5 )ASC( ?var3 )"}}
{"id": "test_562", "question": "Which Wikidata entities have Twitter usernames Russia, thebeatles, UN, or gcba?", "sparql": "SELECT ?entity ?twitterUsername WHERE { ?entity wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"Russia\" \"thebeatles\" \"UN\" \"gcba\" } }", "paraphrases": ["What entities on Wikidata are associated with the Twitter accounts @Russia, @thebeatles, @UN, or @gcba?", "List the Wikidata items that use the Twitter usernames Russia, thebeatles, UN, or gcba."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"Pentaho\" ) ( \"string5\" ) ( \"LeTarmac\" ) ( \"aquentin\" ) ( \"string6\" ) ( \"Friche_BDM\" ) ( \"tnbrennes\" ) ( \"string7\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_563", "question": "Which Wikidata items have Twitter usernames UN, thebeatles, govbrazil, or gcba?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"UN\" \"thebeatles\" \"govbrazil\" \"gcba\"\n  }\n}", "paraphrases": ["What entities on Wikidata are associated with the Twitter handles UN, thebeatles, govbrazil, or gcba?", "List the Wikidata items that use the Twitter usernames UN, thebeatles, govbrazil, or gcba."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"fcinq\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_564", "question": "What Wikidata item has the Freebase ID /m/06rf7?", "sparql": "SELECT ?item WHERE { ?item wdt:P646 \"/m/06rf7\" . }", "paraphrases": ["Which German state is identified by the Freebase ID m/06rf7?", "Find the entity in Wikidata that corresponds to the Freebase identifier /m/06rf7."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <https://www.wikidata.org/wiki/Property:P646> <https://g.co/kg/m/06rf7> . } LIMIT 10"}}
{"id": "test_565", "question": "People born in 2017 with Greek labels", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nSELECT ?label ?dob WHERE {\n  ?person wdt:P569 ?dob .\n  ?person rdfs:label ?label .\n  FILTER(LANG(?label) = \"el\")\n  FILTER(?dob >= \"2017-01-01T00:00:00Z\" ^^ xsd:dateTime && ?dob <= \"2017-12-31T23:59:59Z\" ^^ xsd:dateTime)\n}\nORDER BY ASC(?dob)", "paraphrases": ["Who were born in 2017 and have their names written in Greek?", "List the Greek-language labels of people born in 2017, sorted by birth date."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P3150> ?var2 . OPTIONAL { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"el\" ) ) ) . } FILTER ( ( ( ?var2 >= \"2017-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"2017-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ?var1 ) ) . } ORDER BY ASC( ?var2 )"}}
{"id": "test_566", "question": "Academic works by Tam\u00e1s M\u00e9sz\u00f6ly with publication year or year-month", "sparql": "SELECT ?work ?formattedDate ?date ?precision ?timezone ?calendar WHERE { ?work wdt:P50 wd:Q44942293 ; wdt:P31 ?workType . FILTER(?workType IN (wd:Q18918145, wd:Q10885494)) . ?work (p:P577/psv:P577) [ wikibase:timeValue ?date ; wikibase:timePrecision ?precision ; wikibase:timeTimezone ?timezone ; wikibase:timeCalendarModel ?calendar ] . BIND( IF( (?precision = 9), YEAR(?date), IF(?precision = 10, CONCAT(YEAR(?date), \"-\", MONTH(?date)), \"\") ) AS ?formattedDate ) }", "paraphrases": ["What are the academic journal articles and conference papers authored by Tam\u00e1s M\u00e9sz\u00f6ly, and in what year or year-month were they published?", "List all academic works by Tam\u00e1s M\u00e9sz\u00f6ly along with their publication dates formatted as year (if only year is known) or year-month (if month is known)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { BIND ( IF ( ( ?var4 = \"9\"^^<http://www.w3.org/2001/XMLSchema#integer> ), YEAR ( ?var3 ) , IF ( ( ?var4 = \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ), CONCAT ( YEAR ( ?var3 ) , \"-\", MONTH ( ?var3 ) ) , \"\" ) ) AS ?var2 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q26973022> ; <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q44942293> . ?var1 ( <http://www.wikidata.org/prop/P577> / <http://www.wikidata.org/prop/statement/value/P577> ) [ <http://wikiba.se/ontology#timeValue> ?var3 ; <http://wikiba.se/ontology#timePrecision> ?var4 ; <http://wikiba.se/ontology#timeTimezone> ?var5 ; <http://wikiba.se/ontology#timeCalendarModel> ?var6 ] . }"}}
{"id": "test_567", "question": "Movie with elFilm ID 940447", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie WHERE {\n  ?movie wdt:P3143 \"940447\" .\n}", "paraphrases": ["What movie has the elFilm ID 940447?", "Tell me the movie that corresponds to the elFilm ID 940447."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3143> \"940447\". }"}}
{"id": "test_568", "question": "Entities with Freebase IDs and alternative names containing \"cosmos\"", "sparql": "PREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item WHERE {\n  ?item wdt:P646 ?freebaseId .\n  ?item skos:altLabel ?altLabel .\n  FILTER ( LANG( ?altLabel ) = 'en' ) FILTER ( REGEX( ?altLabel , \"cosmos\" , \"i\" ) )\n}", "paraphrases": ["Which entities have a Freebase ID and an English alternative name like \"cosmos\"?", "Show me all items that have a Freebase identifier and are also known as \"cosmos\" in English."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P279> | <http://www.wikidata.org/prop/direct/P31> ) ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P646> ?var3 . ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> ?var4 . { FILTER ( ( REGEX ( ?var4 , \"string1\" ) ) ) . } }"}}
{"id": "test_569", "question": "Ski resorts in Italy with coordinates", "sparql": "SELECT ?resort ?resortLabel ?coord ?countryLabel WHERE { ?resort wdt:P31 wd:Q130003 . ?resort wdt:P17 wd:Q38 . OPTIONAL { ?resort wdt:P625 ?coord . } ?resort rdfs:label ?resortLabel . wd:Q38 rdfs:label ?countryLabel . FILTER(LANG(?resortLabel) = \"en\") . FILTER(LANG(?countryLabel) = \"en\") . } LIMIT 100", "paraphrases": ["What are the ski resorts in Italy, and where are they located?", "List all ski resorts in Italy along with their geographic coordinates and confirm they are in Italy."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru,it\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q130003> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . } ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q38> . } LIMIT 100"}}
{"id": "test_570", "question": "What is the scientific name and Encyclopedia of Life ID of the masked palm civet, and what are its alternative names in other languages?", "sparql": "SELECT ?eolId ?scientificName ?alternativeLabel WHERE { wd:Q626049 wdt:P225 ?scientificName . wd:Q626049 skos:altLabel ?alternativeLabel . OPTIONAL { wd:Q626049 wdt:P830 ?eolId . } }", "paraphrases": ["Can you list all the language variants of the masked palm civet\u2019s name along with its scientific name and EoL identifier?", "What are the different names for the masked palm civet around the world, and what is its scientific classification and EoL reference number?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3Label WHERE { <http://www.wikidata.org/entity/Q626049> <http://www.w3.org/2004/02/skos/core#altLabel> ?var3Label . <http://www.wikidata.org/entity/Q626049> <http://www.wikidata.org/prop/direct/P225> ?var2 . OPTIONAL { <http://www.wikidata.org/entity/Q626049> <http://www.wikidata.org/prop/direct/P830> ?var1 . } }"}}
{"id": "test_571", "question": "List space probes with their launch locations, coordinates, and launch dates.", "sparql": "SELECT ?probe ?probeLabel ?launchSite ?coordinates ?launchDate WHERE { ?probe wdt:P31 wd:Q26529 . ?probe wdt:P619 ?launchDate . ?probe wdt:P1427 ?launchSite . ?launchSite wdt:P625 ?coordinates . ?probe rdfs:label ?probeLabel . FILTER(LANG(?probeLabel) = \"en\") }", "paraphrases": ["What are the English names, launch sites, coordinates, and launch dates of all space probes?", "Show me the launch details (location, coordinates, and date) for each space probe, along with its English name."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q26529> . ?var1 <http://www.wikidata.org/prop/direct/P619> ?var6 . ?var1 <http://www.wikidata.org/prop/direct/P1427> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P375> ?var7 . OPTIONAL { ?var7 <http://www.wikidata.org/prop/direct/P516> ?var8 . } ?var2 <http://www.wikidata.org/prop/direct/P625> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_572", "question": "People born in 1075 with Greek labels", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?greekLabel ?birthDate WHERE {\n  ?person wdt:P569 ?birthDate .\n  ?person rdfs:label ?greekLabel .\n  FILTER ( LANG( ?greekLabel ) = \"el\" ) FILTER ( ?birthDate >= \"1075-01-01T00:00:00Z\" ^^ xsd:dateTime && ?birthDate <= \"1075-12-31T23:59:59Z\" ^^ xsd:dateTime )\n}\nORDER BY ASC ( ?birthDate )", "paraphrases": ["Who were the people born in 1075 whose names are available in Greek?", "List the Greek-language names and exact birth dates of all individuals born in the year 1075."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P569> ?var2 . OPTIONAL { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"el\" ) ) ) . } FILTER ( ( ( ?var2 >= \"1075-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1075-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ?var1 ) ) . } ORDER BY ASC( ?var2 )"}}
{"id": "test_573", "question": "How many female children did each U.S. president since 1970 have, and when did they take office?", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?president ?presidentLabel ?start(COUNT(?child) AS ?childCount) WHERE {\n  ?president wdt:P31 wd:Q5 ; p:P39 ?position .\n  ?position ps:P39 wd:Q11696 ; pq:P580 ?start .\n  ?president rdfs:label ?presidentLabel .\n  FILTER(LANG(?presidentLabel) = \"en\")\n  FILTER(?start >= \"1970-01-01T00:00:00Z\" ^^ xsd:dateTime)\n  ?president wdt:P40 ?child .\n  ?child wdt:P21 wd:Q6581072 .\n}\nGROUP BY ?president ?presidentLabel ?start\nORDER BY ASC(?start)", "paraphrases": ["List the U.S. presidents from 1970 onward along with the number of their daughters and the year they became president.", "For each American president who took office after 1970, how many of their children are female?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( COUNT ( ?var4 ) AS ?var5 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P26> ?var6 ; <http://www.wikidata.org/prop/P39> ?var7 . ?var7 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q11696> ; <http://www.wikidata.org/prop/qualifier/P580> ?var3 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( ?var3 >= \"1970-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P40> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var2 ?var3 ?var6Label ORDER BY ASC( ?var3 )"}}
{"id": "test_574", "question": "Top 100 countries by number of Early Modern Letters Online persons", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?country ?countryLabel ?count WHERE {\n  {\n    SELECT ?country ( COUNT( * ) AS ?count ) WHERE {\n      ?person wdt:P1802 ?emloId .\n      ?person wdt:P31 wd:Q5 .\n      OPTIONAL {\n        ?person wdt:P27 ?country .\n      }\n      FILTER ( BOUND( ?country ) ) ?country wdt:P31 ?countryType .\n      FILTER ( ?countryType IN ( wd:Q3624078 , wd:Q173798 ) )\n    }\n    GROUP BY ?country\n  }\n  OPTIONAL {\n    ?country rdfs:label ?countryLabel .\n    FILTER ( LANG( ?countryLabel ) = \"en\" )\n  }\n}\nORDER BY DESC ( ?count )\nLIMIT 100", "paraphrases": ["Which countries have the most people listed in the Early Modern Letters Online database, and how many are there from each?", "Show me the 100 countries with the highest number of historical figures from the Early Modern Letters Online project, along with their English names and counts."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 ( COUNT (* ) AS ?var2 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P1802> ?var4 . ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P27> ?var1 . } } GROUP BY ?var1 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var2 ) LIMIT 100"}}
{"id": "test_575", "question": "Image of Frankenstein; or, The Modern Prometheus", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?image WHERE {\n  wd:Q150827 wdt:P18 ?image .\n}", "paraphrases": ["What is the image associated with the 1818 novel Frankenstein; or, The Modern Prometheus?", "Show me the Wikimedia Commons image of the title page of the original 1818 edition of Mary Shelley\u2019s Frankenstein."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q150827> <http://www.wikidata.org/prop/direct/P18> ?var1 . }"}}
{"id": "test_576", "question": "What are some ports with MarineTraffic IDs that are not classified as transport infrastructure?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?port ?portLabel ?instanceType ?instanceTypeLabel WHERE {\n  ?port wdt:P1624 ?id .\n  OPTIONAL {\n    ?port wdt:P31 ?instanceType\n  }\n  .\n  ?port rdfs:label ?portLabel FILTER ( LANG( ?portLabel ) = 'en' ) .\n  OPTIONAL {\n    ?instanceType rdfs:label ?instanceTypeLabel FILTER ( LANG( ?instanceTypeLabel ) = 'en' )\n  }\n  . MINUS {\n    ?port wdt:P31 / wdt:P279 * wd:Q376799\n  }\n}\nLIMIT 10", "paraphrases": ["Show me ports identified by MarineTraffic that are not part of transport infrastructure, along with their types.", "Which entities have a MarineTraffic Port ID and are not types of transport infrastructure, and what are their categories?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1624> [] . MINUS { VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q376799> ) } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } } LIMIT 100 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_577", "question": "List the English-labeled former tram lines in Vienna that are part of the Vienna tram transport system, along with their Commons category.", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE {\n  ?var1 wdt:P31 wd:Q15145593 ; wdt:P16 wd:Q129612 ; rdfs:label ?var1Label .\n  FILTER(LANG(?var1Label) = \"en\")\n  OPTIONAL {\n    ?var1 wdt:P373 ?var4 .\n  }\n  OPTIONAL {\n    ?var1 p:P2043 [ ps:P2043 ?var2 ; pq:P580 ?var3 ] .\n  }\n}\nORDER BY ASC(?var1Label)", "paraphrases": ["What are the tram services in Vienna\u2019s tram transport network, and what are their Wikimedia Commons categories?", "Show me the names and Commons categories of all tram lines in Vienna\u2019s tram transport system, sorted alphabetically."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q15145593> ; <http://www.wikidata.org/prop/direct/P131> ?var5 ; <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q129612> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/P2043> [ <http://www.wikidata.org/prop/statement/P2043> ?var2 ; <http://www.wikidata.org/prop/qualifier/P580> ?var3 ] . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } } ORDER BY ASC( <http://www.w3.org/2001/XMLSchema#integer> ( ?var1Label ) )ASC( ?var1Label )"}}
{"id": "test_578", "question": "What is Calvados made from?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?ingredientLabel WHERE {\n  wd:Q3268 wdt:P186 ?ingredient .\n  ?ingredient rdfs:label ?ingredientLabel .\n  FILTER(LANG(?ingredientLabel) = \"en\")\n}", "paraphrases": ["What are the ingredients used to make the alcoholic drink Calvados?", "Which substance is a key component in the production of Calvados brandy?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3Label ?var4Label ?var5Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } FILTER ( ( ( ?var3 = <http://www.wikidata.org/entity/Q10675206> ) ) ) . FILTER ( ( ( ?var1 = <http://www.wikidata.org/entity/Q3249> ) ) ) . }"}}
{"id": "test_579", "question": "Who is the football player with Transfermarkt ID 57574?", "sparql": "SELECT ?player ?playerLabel WHERE { ?player wdt:P2446 \"57574\" . ?player rdfs:label ?playerLabel . FILTER(LANG(?playerLabel) = \"en\") }", "paraphrases": ["What is the name of the player identified by the Transfermarkt ID 57574?", "Which footballer is linked to the Transfermarkt profile https://www.transfermarkt.com/57574?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2446> \"57574\". }"}}
{"id": "test_580", "question": "What are the launch details for spacecraft, including their launch site, the country of origin of their launch vehicle, and the corresponding geographic coordinates?", "sparql": "SELECT ?spacecraft ?spacecraftLabel ?launchSite ?country ?launchSiteCoords ?countryCoords ?launchDate WHERE { ?spacecraft (wdt:P31/wdt:P279*) wd:Q40218 . ?spacecraft wdt:P619 ?launchDate . ?spacecraft wdt:P1427 ?launchSite . ?spacecraft wdt:P375 ?launchVehicle . ?launchVehicle wdt:P495 ?country . ?launchSite wdt:P625 ?launchSiteCoords . ?country wdt:P625 ?countryCoords . ?spacecraft rdfs:label ?spacecraftLabel . FILTER(LANG(?spacecraftLabel) = \"en\") }", "paraphrases": ["Show me a list of spacecraft, their launch dates, launch locations, and the countries that developed their rockets, along with the coordinates of both the launch site and the country.", "Which spacecraft were launched, from where, and by which country\u2019s rocket? Provide the geographic coordinates of the launch site and the country of origin, as well as the launch date."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q40218> . ?var1 <http://www.wikidata.org/prop/direct/P619> ?var6 . ?var1 <http://www.wikidata.org/prop/direct/P1427> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P375> ?var7 . ?var7 <http://www.wikidata.org/prop/direct/P516> ?var8 . ?var8 <http://www.wikidata.org/prop/direct/P495> ?var3 . ?var2 <http://www.wikidata.org/prop/direct/P625> ?var4 . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_581", "question": "Who has the Swedish National Biography ID 6985?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person WHERE {\n  ?person wdt:P3217 \"6985\" .\n}\nLIMIT 1", "paraphrases": ["Which person is associated with the SBL ID 6985 in the Dictionary of Swedish National Biography?", "Find the Wikidata entity for the individual with SBL ID 6985."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3217> \"6985\". } LIMIT 1"}}
{"id": "test_582", "question": "Who is the person with Swedish National Biography ID 10853?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person WHERE {\n  ?person wdt:P3217 \"10853\" .\n}\nLIMIT 1", "paraphrases": ["Which person is identified by the SBL ID 10853 in the Dictionary of Swedish National Biography?", "Tell me the name of the person whose Dictionary of Swedish National Biography ID is 10853."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3217> \"10853\". } LIMIT 1"}}
{"id": "test_583", "question": "Which entities on Wikidata have Twitter usernames \"Russia\", \"thebeatles\", or \"UN\"?", "sparql": "SELECT ?itemLabel ?username WHERE { ?item wdt:P2002 ?username . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") VALUES ?username { \"Russia\" \"thebeatles\" \"UN\" } } ORDER BY ?itemLabel", "paraphrases": ["What are the English names of the entities with Twitter accounts @Russia, @thebeatles, and @UN?", "List the English labels of the Wikidata items that are linked to the Twitter accounts Russia, thebeatles, and UN."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"Auregann\" ) ( \"string1\" ) ( \"docarennes\" ) ( \"string2\" ) ( \"string3\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_584", "question": "List all natural satellites in Wikidata.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?moon WHERE {\n  ?moon wdt:P31 wd:Q2537 .\n}", "paraphrases": ["What are all the natural satellites (moons) recorded in Wikidata?", "Give me a complete list of all moons orbiting planets in the Solar System as stored in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2537> . ?var2 <http://www.wikidata.org/prop/direct/P397> <http://www.wikidata.org/entity/Q525> . }"}}
{"id": "test_585", "question": "What are the tram lines in Vienna and their lengths and start dates?", "sparql": "SELECT ?tram ?label ?length ?startDate WHERE { ?tram (wdt:P31/wdt:P279*) wd:Q15145593 ; wdt:P131 wd:Q1741 . OPTIONAL { ?tram p:P2043 [ ps:P2043 ?length ; pq:P580 ?startDate ] . } OPTIONAL { ?tram rdfs:label ?label . FILTER(LANG(?label) = \"en\") } } ORDER BY ASC(?label)", "paraphrases": ["Which tram services in Vienna have a recorded length and start date, and what are those values?", "List all tram lines in Vienna, including their English names, lengths in kilometers, and when those lengths were first recorded."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q15145593> ; <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q1741> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/P2043> [ <http://www.wikidata.org/prop/statement/P2043> ?var2 ; <http://www.wikidata.org/prop/qualifier/P580> ?var3 ] . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en,hu\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_586", "question": "What are the opening date, coordinates, adjacent stations, location, and Commons category for Marne metro station?", "sparql": "SELECT ?openingDate ?image ?coordinates ?adjacentStation ?locatedIn ?commonsCategory WHERE { OPTIONAL { wd:Q2208017 wdt:P1619 ?openingDate . } OPTIONAL { wd:Q2208017 wdt:P18 ?image . } OPTIONAL { wd:Q2208017 wdt:P625 ?coordinates . } OPTIONAL { wd:Q2208017 wdt:P197 ?adjacentStation . } OPTIONAL { wd:Q2208017 wdt:P131 ?locatedIn . } OPTIONAL { ?locatedIn wdt:P373 ?commonsCategory . } }", "paraphrases": ["Can you tell me the opening date, location, and nearby stations of the Marne metro station in Amstelveen?", "Please provide all available information about Marne metro station, including its opening date, coordinates, adjacent stations, and associated Wikimedia Commons category."], "info": {"raw_sparql": "SELECT * WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1339195> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1619> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P197> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var6 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/direct/P373> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } FILTER ( ( ?var1 IN ( <http://www.wikidata.org/entity/Q2208017> ) ) ) . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q55488> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1619> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P197> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var6 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/direct/P373> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } FILTER ( ( ?var1 IN ( <http://www.wikidata.org/entity/Q2208017> ) ) ) . } }"}}
{"id": "test_587", "question": "What substances are used to make cocktails?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?var1 ?var1Label WHERE {\n  ?cocktail wdt:P31 wd:Q134768 ; wdt:P186 ?var1 .\n  ?var1 rdfs:label ?var1Label .\n  FILTER ( LANG( ?var1Label ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Can you list the ingredients of cocktails in English?", "Which materials, such as spirits or juices, are commonly found in cocktail recipes according to Wikidata?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q134768> ; <http://www.wikidata.org/prop/direct/P186> ?var1 . FILTER ( ( REGEX ( ?var1Label , \"^\" ) ) ) . } LIMIT 100"}}
{"id": "test_588", "question": "List martial arts with their names and images.", "sparql": "SELECT ?martialArt (SAMPLE(?label) AS ?martialArtLabel) ?image WHERE { ?martialArt wdt:P31 wd:Q11417 . OPTIONAL { ?martialArt wdt:P18 ?image . } ?martialArt rdfs:label ?label . } GROUP BY ?martialArt ?image LIMIT 100", "paraphrases": ["What are the martial arts, their labels, and associated images on Wikidata?", "Show me the martial arts along with their names and any available images from Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11417> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_589", "question": "Who has the Swedish National Biography ID 18315?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person WHERE {\n  ?person wdt:P3217 \"18315\" .\n}\nLIMIT 1", "paraphrases": ["Which person is identified by the SBL ID 18315 in the Dictionary of Swedish National Biography?", "Tell me the Wikidata item for the person with SBL ID 18315."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3217> \"18315\". } LIMIT 1"}}
{"id": "test_590", "question": "What is Gerzensee, and where is it located?", "sparql": "SELECT ?label ?description ?instanceLabel ?coordinateLat ?coordinateLon ?commons ?freebase ?gns WHERE { wd:Q667508 rdfs:label ?label . FILTER(LANG(?label) = \"en\") wd:Q667508 schema:description ?description . FILTER(LANG(?description) = \"en\") wd:Q667508 wdt:P31 ?instance . ?instance rdfs:label ?instanceLabel . FILTER(LANG(?instanceLabel) = \"en\") wd:Q667508 wdt:P625 ?coordinate . BIND(geof:latitude(?coordinate) AS ?coordinateLat) BIND(geof:longitude(?coordinate) AS ?coordinateLon) wd:Q667508 wdt:P373 ?commons . wd:Q667508 wdt:P646 ?freebase . wd:Q667508 wdt:P2326 ?gns .}", "paraphrases": ["Can you provide details about Gerzensee, including its type, coordinates, and identifiers like Freebase and GNS IDs?", "Tell me about Gerzensee: what kind of lake is it, what are its coordinates, and what are its external identifiers?"], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q667508> ?var1 ?var2 . }"}}
{"id": "test_591", "question": "Priests with Early Modern Letters Online IDs and their images", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?image WHERE {\n  ?person wdt:P1802 ?emloId .\n  ?person wdt:P106 wd:Q42603 .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = 'en' )\n}\nLIMIT 100", "paraphrases": ["Who are the priests that have an Early Modern Letters Online identifier and a known image?", "List priests associated with the Early Modern Letters Online project, including their images if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var4Label ?var5 ?var5Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1802> ?var6 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var5 <http://www.wikidata.org/prop/direct/P921> <http://www.wikidata.org/entity/Q6232906> . ?var5 <http://www.wikidata.org/prop/direct/P921> <http://www.wikidata.org/entity/Q9174> . } LIMIT 100"}}
{"id": "test_592", "question": "Which Wikidata property uses the Getty Art & Architecture Thesaurus URL template?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P1921 \"http://vocab.getty.edu/aat/$1\" .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["What is the name of the Wikidata property that links to AAT identifiers using the format http://vocab.getty.edu/aat/$1?", "Can you tell me the Wikidata property that corresponds to the Art & Architecture Thesaurus identifier format?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1921> \"string1\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_593", "question": "Which Wikidata item has the IMDb ID nm0377836?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P345 \"nm0377836\" .\n}", "paraphrases": ["Who is the person identified by the IMDb identifier nm0377836?", "Find the Wikidata entry for the individual with IMDb ID nm0377836, which corresponds to a cinematographer from France."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"nm0377836\". }"}}
{"id": "test_594", "question": "What properties (other than 'instance of') are used to classify someone as a professional wrestler in Wikidata?", "sparql": "SELECT DISTINCT ?property WHERE { ?item ?statementProperty wd:Q13474373 . ?property wikibase:statementProperty ?statementProperty . FILTER (?property != wd:P31) }", "paraphrases": ["Which properties, besides P31 (instance of), have been used to state that an entity is a professional wrestler?", "Show me all the properties in Wikidata that link entities to the professional wrestler item, excluding the 'instance of' property."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 ?var3 <http://www.wikidata.org/entity/Q13474373> . ?var1 <http://wikiba.se/ontology#statementProperty> ?var3 . FILTER ( ( ( ?var1 != <http://www.wikidata.org/entity/P31> ) ) ) . }"}}
{"id": "test_595", "question": "What is the English entry in the Great Russian Encyclopedia Online (old version), and what is its description?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P2924 \"1821310\" . ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Can you find the item in Wikidata with the Great Russian Encyclopedia Online ID 1821310 and show its English name and description?", "Which language has the ID 1821310 in the Great Russian Encyclopedia Online, and what does its English description say?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"1819661\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_596", "question": "Which of the listed entities about revivals are not Wikipedia disambiguation pages?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item WHERE {\n  VALUES ?item {\n    wd:Q25204969 wd:Q28735414 wd:Q30599804 wd:Q2568341 wd:Q7318539 wd:Q21064824 wd:Q7318526 wd:Q7318532 wd:Q2146919 wd:Q1224664 wd:Q383707 wd:Q2348029 wd:Q1216982 wd:Q2917554 wd:Q1071244 wd:Q2112202 wd:Q10800791 wd:Q7318528 wd:Q7318529 wd:Q23674018 wd:Q23722410 wd:Q16899253 wd:Q23043106 wd:Q23160219 wd:Q23419353\n  } MINUS {\n    ?item wdt:P31 wd:Q4167410 .\n  }\n}", "paraphrases": ["Show me all the items in this list except disambiguation pages.", "List non-disambiguation entities from: Revival (comic), Revival (album), Revival Party (Moldova), and others."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ?var2 ?var3 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167410> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q17633526> . } VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q25204969> ) ( <http://www.wikidata.org/entity/Q28735414> ) ( <http://www.wikidata.org/entity/Q30599804> ) ( <http://www.wikidata.org/entity/Q2568341> ) ( <http://www.wikidata.org/entity/Q7318539> ) ( <http://www.wikidata.org/entity/Q21064824> ) ( <http://www.wikidata.org/entity/Q7318526> ) ( <http://www.wikidata.org/entity/Q7318532> ) ( <http://www.wikidata.org/entity/Q2146919> ) ( <http://www.wikidata.org/entity/Q1224664> ) ( <http://www.wikidata.org/entity/Q383707> ) ( <http://www.wikidata.org/entity/Q2348029> ) ( <http://www.wikidata.org/entity/Q1216982> ) ( <http://www.wikidata.org/entity/Q2917554> ) ( <http://www.wikidata.org/entity/Q1071244> ) ( <http://www.wikidata.org/entity/Q2112202> ) ( <http://www.wikidata.org/entity/Q10800791> ) ( <http://www.wikidata.org/entity/Q7318528> ) ( <http://www.wikidata.org/entity/Q7318529> ) ( <http://www.wikidata.org/entity/Q23674018> ) ( <http://www.wikidata.org/entity/Q23722410> ) ( <http://www.wikidata.org/entity/Q16899253> ) ( <http://www.wikidata.org/entity/Q23043106> ) ( <http://www.wikidata.org/entity/Q23419353> ) ( <http://www.wikidata.org/entity/Q23160219> ) } }"}}
{"id": "test_597", "question": "Who were the students of the French painter Louis Belanger?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?student WHERE {\n  ?student wdt:P1066 wd:Q5569120 .\n}\nLIMIT 101", "paraphrases": ["List people who studied under Louis Belanger.", "Which artists were taught by Louis Belanger?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/P1066> ?var2 . ?var2 <http://www.wikidata.org/prop/statement/P1066> <http://www.wikidata.org/entity/Q5569120> . } LIMIT 101"}}
{"id": "test_598", "question": "How many Spanish wines are listed in Wikidata?", "sparql": "SELECT (COUNT(*) AS ?count) WHERE { ?wine wdt:P31 wd:Q1432594 . }", "paraphrases": ["What is the total number of items classified as Spanish wines in Wikidata?", "Count all instances of Spanish wine in Wikidata."], "info": {"raw_sparql": "SELECT( COUNT (* ) AS ?var1 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1432594> . OPTIONAL { } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var3 ?var3Label"}}
{"id": "test_599", "question": "German labels starting with \"Bier\" in Wikidata", "sparql": "SELECT ?item ?itemLabel WHERE { ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"de\") . FILTER (STRSTARTS(?itemLabel, \"Bier\")) }", "paraphrases": ["What are the German-language labels of entities that begin with \"Bier\"?", "Show me all entities in Wikidata whose German labels start with \"Bier\""], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( ( LANG ( ?var2Label ) = \"de\" ) ) ) . FILTER ( ( STRSTARTS ( ?var2Label , \"Beer\" ) ) ) . }"}}
{"id": "test_600", "question": "Does Wikidata contain the GND ID 16079875-9?", "sparql": "ASK WHERE { ?item wdt:P227 \"16079875-9\" . }", "paraphrases": ["Is there a Wikidata item for the German publisher Belser-Verlag using its GND ID 16079875-9?", "Confirm whether the GND ID 16079875-9 corresponds to an entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"16079875-9\". }"}}
{"id": "test_601", "question": "Does the football player with Transfermarkt ID 40191 exist in Wikidata?", "sparql": "ASK WHERE { ?player wdt:P2446 \"40191\" . }", "paraphrases": ["Is there a football player in Wikidata who has the Transfermarkt ID 40191?", "Confirm whether the player Norman Prenn is linked to the Transfermarkt ID 40191 in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2446> \"40191\". }"}}
{"id": "test_602", "question": "U.S. presidents with spouses, their images, and number of children", "sparql": "SELECT ?president ?presidentLabel ?spouse ?spouseLabel ?presidentImage ?spouseImage ?children WHERE { ?president wdt:P39 wd:Q11696 ; wdt:P26 ?spouse ; wdt:P18 ?presidentImage ; wdt:P1971 ?children . ?spouse wdt:P18 ?spouseImage . ?president rdfs:label ?presidentLabel . ?spouse rdfs:label ?spouseLabel . FILTER(LANG(?presidentLabel) = \"en\") FILTER(LANG(?spouseLabel) = \"en\") }", "paraphrases": ["Who are the U.S. presidents who have spouses with known images, and what are their spouses' names, images, and number of children?", "Show me the names, images, and number of children of U.S. presidents along with their spouses' names and images."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q11696> ; <http://www.wikidata.org/prop/direct/P26> ?var2 ; <http://www.wikidata.org/prop/direct/P18> ?var3 . ?var2 <http://www.wikidata.org/prop/direct/P18> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P1971> ?var5 . ?var1 <http://www.wikidata.org/prop/P39> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P1545> ?var7 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_603", "question": "Who are some business magnates that live in New York City?", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P106 wd:Q911554 . ?person wdt:P551 wd:Q60 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } ORDER BY ?personLabel LIMIT 10", "paraphrases": ["Can you list people who are business magnates and have their residence in New York City?", "Which individuals associated with New York City are known as business magnates?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2006045> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q60> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_604", "question": "Railway bridges that are viaducts", "sparql": "SELECT ?bridge WHERE { ?bridge wdt:P31 wd:Q1210334 . ?bridge wdt:P31 wd:Q181348 . }", "paraphrases": ["Which railway bridges are also classified as viaducts?", "List all railway bridges that are viaducts."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1210334> . ?var1 <http://www.wikidata.org/prop/direct/P13> <http://www.wikidata.org/entity/Q181348> . }"}}
{"id": "test_605", "question": "Books and academic articles that are not Wikimedia internal pages", "sparql": "SELECT DISTINCT ?item WHERE { VALUES ?item { wd:Q17149617 wd:Q34011044 } FILTER NOT EXISTS { ?item wdt:P31 wd:Q4167410 } FILTER NOT EXISTS { ?item wdt:P31 wd:Q17633526 } FILTER NOT EXISTS { ?item wdt:P31 wd:Q11266439 } FILTER NOT EXISTS { ?item wdt:P31 wd:Q4167836 } FILTER NOT EXISTS { ?item wdt:P31 wd:Q14204246 } }", "paraphrases": ["Are the book \"Seeing Like a State\" and the academic article \"Seeing life through positive-tinted glasses: color-meaning associations\" classified as non-Wikimedia internal pages?", "List the entities \"Seeing Like a State\" and \"Seeing life through positive-tinted glasses: color-meaning associations\" if they are not disambiguation pages, templates, or other Wikimedia system pages."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ?var2 ?var3 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167410> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q17633526> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11266439> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167836> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q14204246> . } VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q17149617> ) ( <http://www.wikidata.org/entity/Q34011044> ) } }"}}
{"id": "test_606", "question": "What type of entity is Arsinoe I?", "sparql": "SELECT ?type WHERE { ?item rdfs:label \"Arsinoe I\"@en . ?item wdt:P31 ?type . }", "paraphrases": ["What categories does the Wikipedia article about Arsinoe I belong to?", "Is Arsinoe I classified as a human or something else in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q1523704> <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> \"Arsinoe I\"@en . FILTER ( ( ( \"en\" = LANG ( \"Arsinoe I\"@en ) ) ) ) . }"}}
{"id": "test_607", "question": "What are the English and German Wikipedia page titles for the movie with IMDb ID tt0068646?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movieLabel ?wikipediaTitle ?language WHERE {\n  ?movie wdt:P345 \"tt0068646\" .\n  ?movie rdfs:label ?movieLabel .\n  FILTER(LANG(?movieLabel) = \"en\")\n  .\n  ?wikipediaPage schema:about ?movie ; schema:inLanguage ?language ; schema:name ?wikipediaTitle .\n  FILTER(?language = \"en\" || ?language = \"de\")\n  .\n  FILTER(REGEX(STR(?wikipediaPage) , \"wikipedia.org\"))\n}", "paraphrases": ["Can you show me the Wikipedia articles in English and German about the film The Godfather?", "I want to know the titles of the English and German Wikipedia pages linked to the movie The Godfather on Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0013040\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_608", "question": "What is the Japanese title of the film with elFilm ID 315104?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?filmLabel WHERE {\n  ?film wdt:P3143 \"315104\" .\n  ?film rdfs:label ?filmLabel .\n  FILTER ( LANG( ?filmLabel ) = \"ja\" )\n}", "paraphrases": ["Which film is identified by the elFilm ID 315104?", "Can you find the movie in the Arabic movie database elFilm with ID 315104 and show its Japanese title?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3143> \"315104\". }"}}
{"id": "test_609", "question": "People in the Dictionary of Swedish National Biography with multiple conflicting IDs", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?id1 ?id2 WHERE {\n  ?item wdt:P3217 ?id1 .\n  ?item wdt:P3217 ?id2 .\n  FILTER(?id1 < ?id2)\n}", "paraphrases": ["Which individuals have two different Swedish National Biography IDs in Wikidata?", "List all people who have more than one SBL ID assigned in Wikidata, showing the conflicting IDs."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3217> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv,en\". } ?var1 ?var4 ?var5 . ?var5 <http://www.w3.org/ns/prov#wasDerivedFrom> ?var6 . ?var6 <http://www.wikidata.org/prop/reference/P3217> ?var3 . FILTER ( ( ( ?var3 != ?var2 ) ) ) . }"}}
{"id": "test_610", "question": "List all Premiers of Victoria with their term numbers, start dates, and end dates, ordered chronologically.", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?premier ?termNumber ?premierLabel ?startDate ?endDate WHERE {\n  ?premier wdt:P31 wd:Q5 .\n  ?premier p:P39 ?statement .\n  ?statement ps:P39 wd:Q13527909 .\n  ?statement pq:P580 ?startDate .\n  OPTIONAL {\n    ?statement pq:P582 ?endDate .\n  }\n  OPTIONAL {\n    ?statement pq:P1545 ?termNumber .\n  }\n  ?premier rdfs:label ?premierLabel .\n  FILTER(LANG(?premierLabel) = \"en\")\n}\nORDER BY ASC(?startDate)", "paraphrases": ["Who have been the Premiers of Victoria, in what order did they serve, and when did their terms begin and end?", "Show me the complete list of individuals who held the office of Premier of Victoria, including the sequence of their terms, the start and end dates of each term, sorted from the earliest to the most recent."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/P39> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q13527909> . ?var5 <http://www.wikidata.org/prop/qualifier/P580> ?var3 . OPTIONAL { ?var5 <http://www.wikidata.org/prop/qualifier/P582> ?var4 . } OPTIONAL { ?var5 <http://www.wikidata.org/prop/qualifier/P1545> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var3 )"}}
{"id": "test_611", "question": "Coordinates of the Boisseron Roman bridge and the administrative area it is located in.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?bridgeCoords ?adminAreaCoords WHERE {\n  wd:Q22976746 wdt:P625 ?bridgeCoords .\n  OPTIONAL {\n    wd:Q22976746 wdt:P131 ?adminArea .\n    ?adminArea wdt:P625 ?adminAreaCoords .\n  }\n}", "paraphrases": ["What are the geographic coordinates of the Boisseron Roman bridge and the administrative region it belongs to?", "Show me the exact location of the Boisseron Roman bridge and, if available, the location of the administrative territory it is part of."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q22976746> <http://www.wikidata.org/prop/direct/P625> ?var1 . OPTIONAL { <http://www.wikidata.org/entity/Q22976746> <http://www.wikidata.org/prop/direct/P131> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var2 . } }"}}
{"id": "test_612", "question": "Sports related to tennis that include \"wheelchair\" in their name", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?sport ?sportLabel WHERE {\n  ?sport wdt:P641 wd:Q847 .\n  ?sport rdfs:label ?sportLabel .\n  FILTER(CONTAINS(LCASE(?sportLabel) , \"wheelchair\"))\n  .\n  FILTER(LANG(?sportLabel) = \"en\")\n}\nORDER BY ?sportLabel", "paraphrases": ["What are the wheelchair tennis events or sports that are classified under tennis?", "List all English-language sports that are variants of tennis and have the word \"wheelchair\" in their label."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P641> <http://www.wikidata.org/entity/Q847> ; <http://wikiba.se/ontology#statements> \"6\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . <http://www.wikidata.org/entity/Q1153025> <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var3 ) = LANG ( ?var4 ) ) && CONTAINS ( LCASE ( STR ( ?var3 ) ) , LCASE ( STR ( ?var4 ) ) ) ) ) . } LIMIT 1"}}
{"id": "test_613", "question": "Top athletics competitors by Wikipedia language editions", "sparql": "SELECT ?athlete (COUNT(?article) AS ?sitelinks) WHERE { ?athlete wdt:P106 wd:Q11513337 . ?article schema:about ?athlete . ?article schema:isPartOf ?site . FILTER (STRSTARTS(STR(?site), \"https://\")) } GROUP BY ?athlete ORDER BY DESC(?sitelinks) LIMIT 2000", "paraphrases": ["Which athletes who compete in athletics have the most Wikipedia language versions?", "List the most widely covered athletics competitors on Wikipedia, ranked by the number of language editions they appear in."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P106> */ <http://www.wikidata.org/prop/direct/P101> */ <http://www.wikidata.org/prop/direct/P39> *) <http://www.wikidata.org/entity/Q11513337> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 2000"}}
{"id": "test_614", "question": "How many people served on the Ottawa City Council during the 2014\u20132018 term, and when did it begin?", "sparql": "SELECT ?term ?termLabel ?start ?end (COUNT(DISTINCT ?person) AS ?count)\nWHERE {\n  ?person p:P39 ?positionStmt .\n  ?positionStmt ps:P39 ?position .\n  ?position (wdt:P279*) wd:Q47487122 .\n  ?positionStmt pq:P2937 ?term .\n  \n  OPTIONAL { ?term rdfs:label ?termLabel . FILTER(LANG(?termLabel) = \"en\") }\n  OPTIONAL { ?term (wdt:P571 | wdt:P580) ?start }\n  OPTIONAL { ?term (wdt:P576 | wdt:P582) ?end }\n}\nGROUP BY ?term ?termLabel ?start ?end\nORDER BY DESC(?count)", "paraphrases": ["Which term of the Ottawa City Council had the highest number of councilors, and what were its start and end dates?", "Can you list the Ottawa City Council terms with the number of councilors who served during each term, sorted by popularity?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 ( COUNT ( DISTINCT ?var5 ) AS ?var4 ) WHERE { ?var6 <http://www.wikidata.org/prop/P39> ?var5 . ?var5 ( <http://www.wikidata.org/prop/statement/P39> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q47487122> ; <http://www.wikidata.org/prop/qualifier/P2937> ?var1 . OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/direct/P571> | <http://www.wikidata.org/prop/direct/P580> ) ?var2 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/direct/P576> | <http://www.wikidata.org/prop/direct/P582> ) ?var3 . } } GROUP BY ?var1 ?var2 ?var3 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var4 )"}}
{"id": "test_615", "question": "Evangelical Church of Czech Brethren congregations in Czech districts, excluding headquarters.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?church ?churchLabel ?districtLabel WHERE {\n  ?church wdt:P31 wd:Q1989839 .\n  ?church wdt:P140 wd:Q782911 .\n  ?church wdt:P263 ?residence .\n  ?residence wdt:P131 * ?district .\n  ?district wdt:P31 wd:Q548611 . MINUS {\n    ?church wdt:P263 wd:Q44615827 .\n  } MINUS {\n    ?church wdt:P263 wd:Q44628089 .\n  }\n  ?church rdfs:label ?churchLabel .\n  ?district rdfs:label ?districtLabel .\n  FILTER(LANG(?churchLabel) = \"cs\" || LANG(?churchLabel) = \"en\")\n  FILTER(LANG(?districtLabel) = \"cs\" || LANG(?districtLabel) = \"en\")\n}", "paraphrases": ["Which districts in the Czech Republic contain local congregations of the Evangelical Church of Czech Brethren, and what are the names of those churches?", "List the names of Evangelical Church of Czech Brethren congregations in the Czech Republic along with the districts where they are located, excluding national or non-local residences."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1989839> . ?var1 <http://www.wikidata.org/prop/direct/P140> <http://www.wikidata.org/entity/Q782911> . ?var1 <http://www.wikidata.org/prop/direct/P263> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P131> * ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q548611> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P263> <http://www.wikidata.org/entity/Q44615827> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P263> <http://www.wikidata.org/entity/Q44628089> . } OPTIONAL { ?var5 <http://schema.org/about> ?var1 . ?var5 <http://schema.org/inLanguage> \"cs\". } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } }"}}
{"id": "test_616", "question": "Cocktails and their ingredients from Wikipedia, with English labels and ingredient pages.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?cocktail ?cocktailLabel ?cocktailWiki ?ingredient ?ingredientLabel ?ingredientWiki WHERE {\n  ?cocktail wdt:P279 * wd:Q134768 ; wdt:P186 ?ingredient .\n  ?cocktail rdfs:label ?cocktailLabel .\n  FILTER(LANG(?cocktailLabel) = \"en\")\n  .\n  ?cocktailWiki schema:about ?cocktail ; schema:isPartOf <https://en.wikipedia.org/> .\n  ?ingredient rdfs:label ?ingredientLabel .\n  FILTER(LANG(?ingredientLabel) = \"en\")\n  .\n  OPTIONAL {\n    ?ingredientWiki schema:about ?ingredient ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n}", "paraphrases": ["What are cocktails (and their ingredients) that have English Wikipedia pages, and what are the English names of those ingredients?", "List all cocktails along with their ingredients, their English names, and links to their English Wikipedia pages."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q134768> ; <http://www.wikidata.org/prop/direct/P186> ?var3 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . ?var2 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . OPTIONAL { ?var4 <http://schema.org/about> ?var3 ; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q154> . FILTER ( ( ( ?var5 = \"A\" ) ) ) . } }"}}
{"id": "test_617", "question": "Freebase IDs for weaving, Jacquard loom, and power loom sourced from Freebase Data Dumps.", "sparql": "SELECT ?entity ?freebaseId ?sourceLabel WHERE {\n  VALUES ?entity {\n    wd:Q192296  # weaving\n    wd:Q1369967 # Jacquard loom\n    wd:Q1353185 # power loom\n  }\n  ?entity wdt:P646 ?freebaseId .\n  ?entity p:P646 [\n    prov:wasDerivedFrom [\n      pr:P248 wd:Q15241312\n    ]\n  ] .\n  wd:Q15241312 rdfs:label ?sourceLabel .\n  FILTER(LANG(?sourceLabel) = \"en\")\n}", "paraphrases": ["What are the Freebase IDs of weaving, the Jacquard loom, and the power loom, and which source was used to record them?", "Show me the Freebase IDs of weaving, the Jacquard loom, and the power loom, along with the source (Freebase Data Dumps) that provided them, in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5Label WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q192296> ) ( <http://www.wikidata.org/entity/Q1353185> ) ( <http://www.wikidata.org/entity/Q1369967> ) } ?var2 <http://wikiba.se/ontology#claim> ?var6 ; <http://wikiba.se/ontology#statementProperty> ?var7 . ?var1 ?var6 [ ?var7 ?var3 ; <http://www.w3.org/ns/prov#wasDerivedFrom> [ <http://www.wikidata.org/prop/reference/P248> ?var4 ] ] . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . FILTER ( ( CONTAINS ( STR ( ?var5Label ) , \"Freebase\" ) ) ) . }"}}
{"id": "test_618", "question": "What is the image of Van der Madeweg metro station?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  wd:Q7913863 wdt:P18 ?image .\n}", "paraphrases": ["Show the Wikimedia Commons image for the Van der Madeweg metro station in Amsterdam.", "Can you display the photo of Van der Madeweg station?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1339195> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } FILTER ( ( ?var1 IN ( <http://www.wikidata.org/entity/Q7913863> ) ) ) . }"}}
{"id": "test_619", "question": "Who is the current general secretary of NATO?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?generalSecretary ?generalSecretaryLabel WHERE {\n  wd:Q7184 wdt:P3975 ?generalSecretary .\n  ?generalSecretary rdfs:label ?generalSecretaryLabel .\n  FILTER ( LANG( ?generalSecretaryLabel ) = \"en\" )\n}", "paraphrases": ["What is the name of the person serving as general secretary of NATO?", "Which individual holds the position of general secretary in the North Atlantic Treaty Organization?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q561231> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7184> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_620", "question": "Top screenwriters by Wikipedia page count", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ( COUNT( ?sitelink ) AS ?sitelinkCount ) WHERE {\n  ?subclass wdt:P279 * wd:Q28389 .\n  FILTER ( ?subclass != wd:Q28389 ) VALUES ?property {\n    wdt:P106 wdt:P101 wdt:P39\n  }\n  ?person ?property ?subclass .\n  ?sitelink schema:about ?person .\n  FILTER ( STRSTARTS( STR( ?sitelink ) , \"https://\" ) && CONTAINS( STR( ?sitelink ) , \".wikipedia.org/\" ) )\n}\nGROUP BY ?person\nORDER BY DESC ( ?sitelinkCount )\nLIMIT 1000", "paraphrases": ["Who are the most notable screenwriters based on the number of Wikipedia language editions they have articles in?", "List the top 1000 screenwriters ranked by their Wikipedia sitelink count, including those with related occupations like film writer or television writer."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/prop/direct/P106> ) ( <http://www.wikidata.org/prop/direct/P101> ) ( <http://www.wikidata.org/prop/direct/P39> ) } ?var1 ?var3 <http://www.wikidata.org/entity/Q28389> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 1000"}}
{"id": "test_621", "question": "Poets in the National Portrait Gallery (London) with English labels", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P1816 ?id ; ( wdt:P106 / wdt:P279 * ) wd:Q49757 .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}", "paraphrases": ["Who are the poets listed in the National Portrait Gallery of London?", "List the English names of all poets represented in the National Portrait Gallery, London."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1816> ?var2 ; ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q49757> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_622", "question": "Finnish heavy metal bands and their formation locations with coordinates", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?workLabel ?locationLabel ?coordinates WHERE {\n  ?work wdt:P136 wd:Q38848 .\n  ?work wdt:P495 wd:Q33 .\n  ?work wdt:P740 ?location .\n  ?location wdt:P625 ?coordinates .\n  ?work rdfs:label ?workLabel .\n  ?location rdfs:label ?locationLabel .\n  FILTER(LANG(?workLabel) = \"en\")\n  FILTER(LANG(?locationLabel) = \"en\")\n}", "paraphrases": ["What are the formation locations and geographic coordinates of Finnish heavy metal bands?", "Show me the names of Finnish heavy metal bands, where they were formed, and the coordinates of those places."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2Label ?var3 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q38848> . ?var1 <http://www.wikidata.org/prop/direct/P136> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P495> <http://www.wikidata.org/entity/Q33> . ?var1 <http://www.wikidata.org/prop/direct/P740> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P625> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,de,en\". } }"}}
{"id": "test_623", "question": "Who has the GND ID 134117603?", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P227 \"134117603\" . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\")}", "paraphrases": ["Which person is identified by the German National Library ID 134117603?", "Find the Wikidata item for the individual with GND identifier 134117603."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"134117603\". } LIMIT 1"}}
{"id": "test_624", "question": "Parts of a tennis court", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?tennisComponent ?tennisComponentLabel WHERE {\n  ?tennisComponent wdt:P31 wd:Q48291351 .\n  ?tennisComponent rdfs:label ?tennisComponentLabel .\n  FILTER(LANG(?tennisComponentLabel) = \"en\")\n}", "paraphrases": ["What are the components of a tennis court in Wikidata?", "List all the parts that make up a tennis court."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q48291351> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_625", "question": "Tennis tournaments with \"Open\" in the name and their years", "sparql": "SELECT ?tournament ?label ?wikipediaTitle (IF(REGEX(STR(?label), \"^[0-9]{4}\"), SUBSTR(STR(?label), 1, 4), \"unknown\") AS ?year) WHERE { ?tournament wdt:P31 wd:Q47345468 ; wdt:P641 wd:Q847 ; rdfs:label ?label . FILTER (LANG(?label) = \"en\") FILTER (CONTAINS(LCASE(?label), \"open\")) OPTIONAL { ?wikipediaTitle schema:about ?tournament ; schema:isPartOf <https://en.wikipedia.org/> ; schema:name ?wikipediaTitle . } } ORDER BY ?year ?label", "paraphrases": ["What are the tennis Open tournaments held annually, and what years are they from?", "List all tennis Open tournaments with their English labels and the year they occurred, sorted by year."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( ( ?var2 != ?var3 ) AS ?var4 )( STRAFTER ( STR ( ?var2 ) , \" \" ) AS ?var5 )( STRAFTER ( STR ( ?var1 ) , \"y/\" ) AS ?var6 )( \"P31\" AS ?var7 )( STRAFTER ( STR ( <http://www.wikidata.org/entity/Q47345468> ) , \"y/\" ) AS ?var8 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P641> <http://www.wikidata.org/entity/Q847> ; <http://wikiba.se/ontology#statements> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( CONTAINS ( LCASE ( STR ( ?var2 ) ) , \"open\" ) ) ) . OPTIONAL { [] <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://en.wikipedia.org/> ; <http://schema.org/name> ?var3 . } } ORDER BY ASC( ?var5 )ASC( ?var2 )"}}
{"id": "test_626", "question": "Entities with Freebase IDs and their English labels.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?freebaseId WHERE {\n  ?item wdt:P646 ?freebaseId .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}\nLIMIT 10", "paraphrases": ["What are some entities in Wikidata that have a Freebase ID, and what are their English names?", "Show me 10 items from Wikidata that have a Freebase identifier, along with their English labels and the actual Freebase IDs."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P646> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 10"}}
{"id": "test_627", "question": "What is the image of Amsterdam Lelylaan railway station?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?image WHERE {\n  wd:Q50722 wdt:P18 ?image .\n}", "paraphrases": ["Show the photo of Station Amsterdam Lelylaan.", "Is there a picture available for Amsterdam Lelylaan station on Wikimedia Commons?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1339195> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } FILTER ( ( ?var1 IN ( <http://www.wikidata.org/entity/Q50722> ) ) ) . }"}}
{"id": "test_628", "question": "Female University of Chicago Ph.D. graduates who finished before 1969 and their occupations.", "sparql": "PREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person ?personLabel ?endDate ?occupationLabel WHERE {\n  ?person wdt:P21 wd:Q6581072 .\n  ?person wdt:P106 ?occupation .\n  ?person wdt:P69 wd:Q49112 .\n  ?person p:P69 [ pq:P512 wd:Q752297 ; pq:P582 ?endDate ] .\n  FILTER(YEAR(?endDate) < 1969)\n  .\n  ?person rdfs:label ?personLabel .\n  ?occupation rdfs:label ?occupationLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n  .\n  FILTER(LANG(?occupationLabel) = \"en\")\n}", "paraphrases": ["Who are the women who earned a Ph.D. from the University of Chicago and completed their studies before 1969, and what were their occupations?", "List the names, end years of education, and occupations of women who received a Ph.D. from the University of Chicago prior to 1969."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P69> <http://www.wikidata.org/entity/Q49112> ; <http://www.wikidata.org/prop/P69> [ <http://www.wikidata.org/prop/qualifier/P512> <http://www.wikidata.org/entity/Q752297> ] ; <http://www.wikidata.org/prop/P69> [ <http://www.wikidata.org/prop/qualifier/P582> ?var2 ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } FILTER ( ( ( YEAR ( ?var2 ) < \"1969\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . }"}}
{"id": "test_629", "question": "What are the image, coordinates, opening date, adjacent stations, location, and Commons category for Strandvliet metro station?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?station ?openingDate ?image ?coordinates ?adjacentStation ?location ?commonsCategory WHERE {\n  BIND( wd:Q2181403 AS ?station ) OPTIONAL {\n    ?station wdt:P1619 ?openingDate\n  }\n  OPTIONAL {\n    ?station wdt:P18 ?image\n  }\n  OPTIONAL {\n    ?station wdt:P625 ?coordinates\n  }\n  OPTIONAL {\n    ?station wdt:P197 ?adjacentStation\n  }\n  OPTIONAL {\n    ?station wdt:P131 ?location\n  }\n  OPTIONAL {\n    ?location wdt:P373 ?commonsCategory\n  }\n}", "paraphrases": ["Can you tell me the opening date, image, geographic coordinates, adjacent stations, administrative location, and Wikimedia Commons category for Strandvliet metro station in Amsterdam?", "I\u2019m looking for detailed information about Strandvliet metro station \u2014 please provide its official opening date, an image, its GPS coordinates, the stations next to it on the line, the city it\u2019s located in, and the corresponding Wikimedia Commons category."], "info": {"raw_sparql": "SELECT * WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1339195> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1619> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P197> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var6 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/direct/P373> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } FILTER ( ( ?var1 IN ( <http://www.wikidata.org/entity/Q2181403> ) ) ) . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q55488> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1619> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P197> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var6 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/direct/P373> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } FILTER ( ( ?var1 IN ( <http://www.wikidata.org/entity/Q2181403> ) ) ) . } }"}}
{"id": "test_630", "question": "What are the subclasses of the First level administrative councilors constituency in South Korea?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?subclass ?subclassLabel WHERE {\n  ?subclass wdt:P279 * wd:Q50258518 .\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER ( LANG( ?subclassLabel ) = \"en\" )\n}", "paraphrases": ["Which administrative constituencies in South Korea are subclasses of the First level administrative councilors constituency?", "List all the FLACS council constituencies in South Korea, including the parent category."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31:wdt:P279> * <http://www.wikidata.org/entity/Q50258518> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"zh,en\". } }"}}
{"id": "test_631", "question": "What property is most commonly used to link the Ohio River to other entities, and how many times is it used?", "sparql": "SELECT ?property (COUNT(?property) AS ?count) WHERE { ?item ?propertyStatement wd:Q4915 . ?property wikibase:directClaim ?propertyStatement . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Most frequent property associated with the Ohio River in Wikidata", "Show me the property that connects the Ohio River to the most other items, along with the count."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q4915> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_632", "question": "Which of the listed entities (Canada variants and Tahitian language) are not Wikimedia disambiguation pages, templates, or articles?", "sparql": "SELECT DISTINCT ?item WHERE { VALUES ?item { wd:Q16 wd:Q34128 wd:Q257304 wd:Q2569593 wd:Q1031917 wd:Q13265795 wd:Q1031920 wd:Q16865338 wd:Q21287484 wd:Q18982533 wd:Q13265725 wd:Q14624136 wd:Q17672891 wd:Q19021653 wd:Q27722117 wd:Q28457929 wd:Q28977393 wd:Q5029285 wd:Q18612153 wd:Q2608363 wd:Q5029265 wd:Q5029278 wd:Q5029279 wd:Q5029289 wd:Q5029291 } MINUS { ?item wdt:P31 wd:Q4167410 } MINUS { ?item wdt:P31 wd:Q17633526 } MINUS { ?item wdt:P31 wd:Q11266439 } MINUS { ?item wdt:P31 wd:Q4167836 } }", "paraphrases": ["From the list of items including different versions of Canada and the Tahitian language, which ones are actual real-world entities and not Wikimedia meta-pages like disambiguation pages or Wikinews articles?", "Please return the list of entities from this set \u2014 including Canada, Tahitian, and related items \u2014 excluding any that are Wikimedia templates, disambiguation pages, or Wikinews articles."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ?var2 ?var3 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167410> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q17633526> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11266439> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167836> . } VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q16> ) ( <http://www.wikidata.org/entity/Q34128> ) ( <http://www.wikidata.org/entity/Q257304> ) ( <http://www.wikidata.org/entity/Q2569593> ) ( <http://www.wikidata.org/entity/Q1031917> ) ( <http://www.wikidata.org/entity/Q13265795> ) ( <http://www.wikidata.org/entity/Q1031920> ) ( <http://www.wikidata.org/entity/Q16865338> ) ( <http://www.wikidata.org/entity/Q21287484> ) ( <http://www.wikidata.org/entity/Q18982533> ) ( <http://www.wikidata.org/entity/Q13265725> ) ( <http://www.wikidata.org/entity/Q14624136> ) ( <http://www.wikidata.org/entity/Q17672891> ) ( <http://www.wikidata.org/entity/Q19021653> ) ( <http://www.wikidata.org/entity/Q27722117> ) ( <http://www.wikidata.org/entity/Q28457929> ) ( <http://www.wikidata.org/entity/Q28977393> ) ( <http://www.wikidata.org/entity/Q5029285> ) ( <http://www.wikidata.org/entity/Q18612153> ) ( <http://www.wikidata.org/entity/Q2608363> ) ( <http://www.wikidata.org/entity/Q5029265> ) ( <http://www.wikidata.org/entity/Q5029278> ) ( <http://www.wikidata.org/entity/Q5029279> ) ( <http://www.wikidata.org/entity/Q5029289> ) ( <http://www.wikidata.org/entity/Q5029291> ) } }"}}
{"id": "test_633", "question": "Is there a Wikidata item for the German National Library ID \"132505746\"?", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P227 \"132505746\" . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["Who is the person associated with the GND ID 132505746?", "What is the English label of the entity identified by the GND ID 132505746?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"132505746\". }"}}
{"id": "test_634", "question": "What country is both the nationality of Matthew C. Perry and the location of the United Nations headquarters?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?country ?label WHERE {\n  wd:Q61855 wdt:P27 ?country .\n  wd:Q1065 wdt:P159 / wdt:P17 ?country .\n  ?country rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["Which country is associated with both Commodore Matthew Perry and the United Nations?", "Where is the United Nations headquartered, and which country did Matthew C. Perry serve as a citizen of \u2014 and are they the same?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q61855> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1065> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_635", "question": "What are the start dates for each term of U.S. Secretaries of State?", "sparql": "SELECT ?secretary ?startDate WHERE { ?secretary p:P39 ?statement . ?statement ps:P39 wd:Q14213 . ?statement pq:P580 ?startDate . } LIMIT 100", "paraphrases": ["When did each person begin serving as the United States Secretary of State?", "List the individuals who served as U.S. Secretary of State along with the dates they started their term."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P580> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q14213> . } LIMIT 100"}}
{"id": "test_636", "question": "Who is the person with the Swedish National Biography ID 10652?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person WHERE {\n  ?person wdt:P3217 \"10652\" .\n}\nLIMIT 1", "paraphrases": ["Person with SBL ID 10652.", "Tell me the name of the person identified by the Dictionary of Swedish National Biography ID 10652."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3217> \"10652\". } LIMIT 1"}}
{"id": "test_637", "question": "English name of the Bordeaux tramway", "sparql": "SELECT ?label WHERE { wd:Q606304 rdfs:label ?label . FILTER (LANGMATCHES(LANG(?label), \"en\")) }", "paraphrases": ["What is the English label for the Bordeaux tramway?", "Tell me the English name of the Bordeaux tramway system."], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { <http://www.wikidata.org/entity/Q606304> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( LANGMATCHES ( LANG ( ?var1Label ) , \"EN\" ) ) ) . } LIMIT 1"}}
{"id": "test_638", "question": "Which typefaces are metrically compatible with each other?", "sparql": "SELECT ?typeface1 ?typeface1Label ?typeface2 ?typeface2Label WHERE { ?typeface1 wdt:P4099 ?typeface2 . ?typeface1 rdfs:label ?typeface1Label . ?typeface2 rdfs:label ?typeface2Label . FILTER(LANG(?typeface1Label) = \"en\") FILTER(LANG(?typeface2Label) = \"en\") }", "paraphrases": ["What pairs of typefaces have matching glyph widths and heights so they can be substituted without reflowing text?", "List all metrically compatible font pairs in English, showing both the source and target typefaces."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4099> * ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_639", "question": "Evangelical Church of Czech Brethren congregations in Czech districts and their Czech Wikipedia pages", "sparql": "SELECT DISTINCT ?var1 (SAMPLE(?label1) AS ?var1Label) ?var2 (SAMPLE(?label4) AS ?var4Label) ?var4 WHERE { ?var1 wdt:P31 wd:Q1989839 . ?var1 wdt:P140 wd:Q782911 . ?var1 wdt:P263 ?var5 . ?var5 wdt:P131 * ?var4 . ?var4 wdt:P31 wd:Q548611 . OPTIONAL { ?var2 schema:about ?var1 . ?var2 schema:inLanguage \"cs\" . } ?var1 rdfs:label ?label1 . ?var4 rdfs:label ?label4 . } GROUP BY ?var1 ?var2 ?var4", "paraphrases": ["Which church congregations of the Evangelical Church of Czech Brethren are located in Czech districts, and what are their corresponding Czech Wikipedia pages?", "List all congregations of the Evangelical Church of Czech Brethren in the Czech Republic, including the district they are in and their Czech Wikipedia links."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1989839> . ?var1 <http://www.wikidata.org/prop/direct/P140> <http://www.wikidata.org/entity/Q782911> . ?var1 <http://www.wikidata.org/prop/direct/P263> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P131> * ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q548611> . OPTIONAL { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"cs\". } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } }"}}
{"id": "test_640", "question": "Who are the grandfathers of Tim Berners-Lee?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?grandfather ?parent WHERE {\n  ?grandfather wdt:P21 wd:Q6581097 .\n  ?grandfather wdt:P40 ?parent .\n  ?parent wdt:P40 wd:Q80 .\n}\nLIMIT 10", "paraphrases": ["Which men have a child who is a parent of Tim Berners-Lee?", "Can you list the male ancestors two generations above Tim Berners-Lee?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/P21> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P21> <http://www.wikidata.org/entity/Q6581097> . ?var1 <http://www.wikidata.org/prop/P40> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P40> ?var2 . ?var2 <http://www.wikidata.org/prop/P40> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P40> <http://www.wikidata.org/entity/Q80> . } LIMIT 10"}}
{"id": "test_641", "question": "Who has the IMDb ID nm0938282?", "sparql": "SELECT ?person WHERE { ?person wdt:P345 \"nm0938282\" . }", "paraphrases": ["Which person on Wikidata is linked to the IMDb identifier nm0938282?", "Tell me the Wikidata item for the IMDb person ID nm0938282."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"nm0938282\". }"}}
{"id": "test_642", "question": "Who has held the office of mayor of Milan?", "sparql": "SELECT ?mayor WHERE { ?mayor wdt:P39 wd:Q3961545 .}", "paraphrases": ["List all individuals who have been mayor of Milan.", "Which people served as mayor of Milan?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P527> <http://www.wikidata.org/entity/Q3961545> . }"}}
{"id": "test_643", "question": "Who has the IMDb ID nm0611932?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person WHERE {\n  ?person wdt:P345 \"nm0611932\" .\n}", "paraphrases": ["Which Wikidata entity is associated with the IMDb identifier nm0611932?", "Can you tell me the name of the person whose IMDb ID is nm0611932?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"nm0611932\". } ORDER BY ASC( ?var1 )"}}
{"id": "test_644", "question": "Does Wikidata contain an entry for the IMDb ID nm4567777?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P345 \"nm4567777\" .\n}", "paraphrases": ["Is there a person in Wikidata with the IMDb identifier nm4567777?", "Confirm if the IMDb ID nm4567777 is linked to any person in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"nm4567777\". }"}}
{"id": "test_645", "question": "Does Wikidata contain an entity with GND ID 860-6?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P227 \"860-6\" .\n}", "paraphrases": ["Is there a record in Wikidata for the American Society of International Law using its GND ID 860-6?", "Confirm whether the GND ID 860-6 is assigned to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"860-6\". }"}}
{"id": "test_646", "question": "Swedish National Biography entries with birth decade and gender in Swedish.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?personLabel ?genderLabel ?decade WHERE {\n  ?person wdt:P3217 ?sblId .\n  ?person wdt:P21 ?gender .\n  ?person wdt:P569 ?birthDate .\n  ?gender rdfs:label ?genderLabel .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?genderLabel) = \"sv\")\n  FILTER(LANG(?personLabel) = \"sv\")\n  BIND(FLOOR(YEAR(?birthDate) / 10) * 10 AS ?decade)\n}", "paraphrases": ["What are the birth decades and genders (in Swedish) of people listed in the Dictionary of Swedish National Biography?", "List the names, genders in Swedish, and birth decades of individuals in the Dictionary of Swedish National Biography."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { BIND ( ( FLOOR ( ( YEAR ( ?var4 ) /\"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) *\"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3 ). ?var2 <http://www.wikidata.org/prop/direct/P3217> ?var5 . ?var2 <http://www.wikidata.org/prop/direct/P21> ?var6 . ?var2 <http://www.wikidata.org/prop/direct/P569> ?var4 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"sv\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv\". } }"}}
{"id": "test_647", "question": "What is the metro station in Amstelveen that is classified as a metro station?", "sparql": "SELECT ?station WHERE { wd:Q4667520 wdt:P31 wd:Q928830 ; wdt:P131 wd:Q9898 . }", "paraphrases": ["Which metro station in Amstelveen is an instance of a metro station?", "Find the metro station located in Amstelveen that is categorized as a metro station."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <https://adamlink.nl/geo/building/metrostation-spinnerij/1085> <https://www.wikidata.org/wiki/Property:P31> <http://www.wikidata.org/entity/Q13691604> ; <https://www.wikidata.org/wiki/Property:P131> <http://www.wikidata.org/entity/Q9899> . }"}}
{"id": "test_648", "question": "Does the VIAF ID 133980707 exist in Wikidata?", "sparql": "ASK WHERE { ?item wdt:P214 \"133980707\" . }", "paraphrases": ["Is there a Wikidata item associated with the VIAF identifier 133980707?", "Check if the Virtual International Authority File ID 133980707 is linked to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"133980707\". }"}}
{"id": "test_649", "question": "What are the administrative constituencies in South Korea that are instances of Governor or Councilor constituencies?", "sparql": "SELECT ?constituency (SAMPLE(?label) AS ?constituencyLabel) WHERE { VALUES ?type { wd:Q50266545 wd:Q50258518 } ?constituency wdt:P31 ?type . ?constituency rdfs:label ?label . } GROUP BY ?constituency", "paraphrases": ["Which specific constituencies in South Korea are direct instances of the First Level Administrative Governor Constituency or First Level Administrative Councilors Constituency?", "List all South Korean administrative constituencies that are classified as either Governor or Councilor constituencies."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q50266545> ) ( <http://www.wikidata.org/entity/Q50258518> ) ( <http://www.wikidata.org/entity/Q50275479> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"zh,en\". } }"}}
{"id": "test_650", "question": "Is there a Wikidata entry for the person with VIAF ID 23361853?", "sparql": "ASK WHERE { ?item wdt:P214 \"23361853\" . }", "paraphrases": ["Wikidata item with VIAF ID 23361853", "Confirm that Catherine Newmark is in Wikidata using her VIAF identifier 23361853."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"23361853\". }"}}
{"id": "test_651", "question": "List Swedish National Biography (SBL) entries with their Wikipedia pages, images, and language versions.", "sparql": "SELECT ?var1Label ?var3 ?var4 ?var5 ?var7Label WHERE {\n  ?var1 wdt:P3217 ?var8 .\n  ?var1 wdt:P18 ?var5 .\n  ?var1 rdfs:label ?var1Label .\n  FILTER(LANG(?var1Label) = \"en\")\n\n  BIND( IRI( CONCAT( \"https://www.sbl.se/SBL\", ?var8 ) ) AS ?var4 )\n\n  ?var3 schema:about ?var1 .\n  FILTER(STRSTARTS(STR(?var3), \"https://\") && CONTAINS(STR(?var3), \".wikipedia.org\"))\n\n  BIND( STRBEFORE( STRAFTER( STR(?var3), \"https://\" ), \".wikipedia.org\" ) AS ?langCode )\n\n  ?langEntity wdt:P424 ?langCode ;\n              wdt:P31 wd:Q34770 .\n  ?langEntity rdfs:label ?var7Label .\n  FILTER(LANG(?var7Label) = \"en\")\n}\nORDER BY ?var8", "paraphrases": ["For each person in the Dictionary of Swedish National Biography, what are their English Wikipedia pages, associated images, and the languages of those pages?", "Show me the SBL ID URLs, Wikimedia Commons images, and the English names of the languages for all Wikipedia articles about people listed in the Dictionary of Swedish National Biography."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6Label ?var7Label WHERE { BIND ( IRI ( CONCAT ( \"string1\", ?var8 ) ) AS ?var4 ). ?var1 <http://www.wikidata.org/prop/direct/P3217> ?var8 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . ?var3 <http://wikiba.se/ontology#badge> ?var6 . ?var3 <http://schema.org/inLanguage> ?var7 ; <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv\". } } ORDER BY ASC( ?var6 )"}}
{"id": "test_652", "question": "What are the first-level administrative constituencies in South Korea, and in which counties or cities are they located?", "sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 (wdt:P31/wdt:P279*) wd:Q50258518 ; wdt:P131 ?var2 . ?var1 rdfs:label ?var1Label . ?var2 rdfs:label ?var2Label . } ORDER BY ASC(?var1Label)", "paraphrases": ["List South Korean electoral constituencies and their corresponding administrative regions.", "Which South Korean constituencies are part of which cities or counties?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q50258518> ; <http://www.wikidata.org/prop/direct/P31> [ <http://www.wikidata.org/prop/direct/P131> ?var2 ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ko,zh,en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_653", "question": "Who has the IMDb ID nm0523094?", "sparql": "SELECT ?person WHERE { ?person wdt:P345 \"nm0523094\" . }", "paraphrases": ["Which person on Wikidata is associated with the IMDb identifier nm0523094?", "Find the Wikidata entity for the person with IMDb ID nm0523094."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"nm0523094\". }"}}
{"id": "test_654", "question": "What is the most general shared category between Hawaii and the Korean Peninsula?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestor ( ( ?dist1 + ?dist2 ) AS ?totalDistance ) WHERE {\n  {\n    SELECT ?ancestor ( COUNT( ?mid1 ) AS ?dist1 ) WHERE {\n      wd:Q35657 wdt:P279 + ?mid1 .\n      ?mid1 wdt:P279 * ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n  {\n    SELECT ?ancestor ( COUNT( ?mid2 ) AS ?dist2 ) WHERE {\n      wd:Q34763 wdt:P279 + ?mid2 .\n      ?mid2 wdt:P279 * ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n}\nORDER BY ASC ( ?totalDistance )\nLIMIT 1", "paraphrases": ["What is the closest common superclass in the Wikidata taxonomy that both Hawaii and the Korean Peninsula belong to?", "Find the most general geographic category that includes both the U.S. state of Hawaii and the Korean Peninsula."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q782> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q483134> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_655", "question": "List all MMA fighters and their Sherdog.com IDs.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?fighter ?sherdogId WHERE {\n  ?fighter wdt:P2818 ?sherdogId .\n}", "paraphrases": ["Who are the mixed martial arts fighters on Wikidata, and what are their Sherdog profile IDs?", "Can you provide a list of MMA fighters along with their corresponding Sherdog fighter IDs?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2818> ?var2 . }"}}
{"id": "test_656", "question": "Lakes with Slovenian Wikipedia pages but no Russian Wikipedia pages, and their Slovenian names.", "sparql": "SELECT ?lake ?lakeLabel WHERE { ?lake wdt:P31 wd:Q23397 . ?lake rdfs:label ?lakeLabel . FILTER(LANG(?lakeLabel) = \"sl\") . FILTER EXISTS { ?wikipedia schema:about ?lake ; schema:inLanguage \"sl\" . } FILTER NOT EXISTS { ?wikipedia schema:about ?lake ; schema:inLanguage \"ru\" . } }", "paraphrases": ["Which lakes have a Slovenian-language Wikipedia article but no Russian-language one, and what are their names in Slovenian?", "Show me the Slovenian names of lakes that are documented on Slovenian Wikipedia but not on Russian Wikipedia."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . FILTER ( ( ( ?var2 = <http://www.wikidata.org/entity/Q23397> ) ) ) . FILTER ( ( EXISTS { ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> \"sl\". } ) ) . FILTER ( ( NOT EXISTS { ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> \"ru\". } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru,uk,be,pl,cs,sk,bg,mk,sh,sr,hr,sl\". } }"}}
{"id": "test_657", "question": "Who has the GND ID 117414115?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P227 \"117414115\" .\n}", "paraphrases": ["Which person is identified by the German National Library ID 117414115?", "Find the Wikidata entity for the GND identifier 117414115."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"117414115\". }"}}
{"id": "test_658", "question": "List all mayors in Wikidata with English labels.", "sparql": "SELECT ?mayor ?mayorLabel WHERE { ?mayor wdt:P31 wd:Q30185 . ?mayor rdfs:label ?mayorLabel . FILTER(LANG(?mayorLabel) = \"en\") } ORDER BY ?mayorLabel", "paraphrases": ["Who are the individuals or positions classified as mayors in Wikidata?", "Show me all entities that are instances of the mayor position, along with their English names."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q30185> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_659", "question": "Mayors of cities in Japan and the cities they governed.", "sparql": "SELECT ?mayor ?mayorLabel ?city ?cityLabel WHERE { ?mayor p:P39 ?statement . ?statement ps:P39 wd:Q19961107 . ?statement pq:P1001 ?city . ?city wdt:P17 wd:Q17 . ?mayor rdfs:label ?mayorLabel . ?city rdfs:label ?cityLabel . FILTER(LANG(?mayorLabel) = \"en\") FILTER(LANG(?cityLabel) = \"en\")}", "paraphrases": ["Who are the mayors of cities in Japan, and which cities do they lead?", "List all mayors in Japan along with the cities they are in charge of."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/P39> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q19961107> . { ?var3 <http://www.wikidata.org/prop/qualifier/P642> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q17> . } UNION { ?var3 <http://www.wikidata.org/prop/qualifier/P1001> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q17> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja,ja,en\". } }"}}
{"id": "test_660", "question": "Films and their screenwriters", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?screenwriter ?screenwriterLabel WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P58 ?screenwriter .\n  ?screenwriter rdfs:label ?screenwriterLabel .\n  FILTER ( LANG( ?screenwriterLabel ) = \"en\" )\n}", "paraphrases": ["Who wrote the screenplays for films?", "List films along with the names of the people who wrote their screenplays."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P58> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE], en\". } } LIMIT 200 OFFSET 16400"}}
{"id": "test_661", "question": "Is there a Wikidata item for the IMDb ID nm1743758?", "sparql": "ASK WHERE { ?item wdt:P345 \"nm1743758\" . }", "paraphrases": ["Does the person with IMDb ID nm1743758 have a Wikidata entry?", "Confirm whether Mike Rabon is represented in Wikidata using his IMDb identifier nm1743758."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"nm1743758\". }"}}
{"id": "test_662", "question": "List all mixed martial arts fighters with their Sherdog ID, Facebook, Instagram, and Twitter usernames.", "sparql": "SELECT ?fighter ?sherdogId ?facebookUsername ?instagramUsername ?twitterUsername WHERE { ?fighter wdt:P106 wd:Q11607585 . OPTIONAL { ?fighter wdt:P2818 ?sherdogId . } OPTIONAL { ?fighter wdt:P2013 ?facebookUsername . } OPTIONAL { ?fighter wdt:P2003 ?instagramUsername . } OPTIONAL { ?fighter wdt:P2002 ?twitterUsername . } }", "paraphrases": ["Which mixed martial arts fighters have registered Sherdog, Facebook, Instagram, or Twitter profiles, and what are their usernames or IDs on those platforms?", "Please provide a list of MMA fighters along with their Sherdog fighter IDs and social media handles on Facebook, Instagram, and Twitter (if available)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q11607585> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2818> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2013> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2003> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var5 . } }"}}
{"id": "test_663", "question": "How many members served in the 15th legislature of the Fifth French Republic?", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ( COUNT( DISTINCT ?member ) AS ?count ) WHERE {\n  ?member p:P39 ?statement .\n  ?statement pq:P2937 wd:Q24939798 .\n}", "paraphrases": ["What is the total number of individuals who held a position during the 2017\u20132022 French parliamentary term?", "List the count of people who held office in the 15th French legislative term."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( ( ?var1 - ?var2 ) AS ?var3 ) WHERE { SELECT( COUNT ( DISTINCT ?var4 ) AS ?var1 )( COUNT ( DISTINCT ?var5 ) AS ?var2 ) WHERE { ?var4 ( <http://www.wikidata.org/prop/P39> / <http://www.wikidata.org/prop/qualifier/P2937> ) <http://www.wikidata.org/entity/Q24939798> . OPTIONAL { BIND ( ?var4 AS ?var5 ). ?var4 <http://www.wikidata.org/prop/direct/P268> ?var6 . } } }"}}
{"id": "test_664", "question": "What are the occupations and start dates of people who have been members of the French National Assembly and are citizens of France?", "sparql": "SELECT DISTINCT ?occupation ?startDate WHERE { ?person wdt:P27 wd:Q142 . ?person wdt:P39 wd:Q3044918 . ?person wdt:P106 ?occupation . ?person p:P39 ?statement . ?statement ps:P39 wd:Q3044918 . ?statement pq:P580 ?startDate . } LIMIT 1000", "paraphrases": ["Show me the jobs and when they started for French deputies in the National Assembly.", "Which occupations do French members of the National Assembly have, and when did they begin serving?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q142> . ?var4 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q1055894> . ?var4 <http://www.wikidata.org/prop/direct/P106> ?var2 . ?var4 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q3044918> . ?var4 <http://www.wikidata.org/prop/direct/P580> ?var3 . } LIMIT 1000"}}
{"id": "test_665", "question": "Bridges in Portugal", "sparql": "SELECT ?bridge ?bridgeLabel WHERE { ?bridge wdt:P17 wd:Q45 . ?bridge p:P31 / ps:P31 / wdt:P279* wd:Q12280 . ?bridge rdfs:label ?bridgeLabel . FILTER(LANG(?bridgeLabel) = \"en\") }", "paraphrases": ["What are the bridges located in Portugal?", "List all bridges and bridge-like structures in Portugal with their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q45> . ?var1 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/statement/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q12280> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_666", "question": "What is the scientific name \"Homo\" in biological taxonomy?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?label WHERE {\n  ?item wdt:P225 \"Homo\" .\n  ?item rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}", "paraphrases": ["Which genus in biology is named Homo?", "Can you tell me the Wikidata item for the genus Homo?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Homo\". }"}}
{"id": "test_667", "question": "What is the German label for Cristiano Ronaldo?", "sparql": "SELECT ?label WHERE { wd:Q11571 rdfs:label ?label . FILTER (LANGMATCHES(LANG(?label), \"de\")) } LIMIT 1", "paraphrases": ["How is Cristiano Ronaldo referred to in German?", "Can you provide the German name of Cristiano Ronaldo?"], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q11571> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( LANGMATCHES ( LANG ( ?var1Label ) , \"DE\" ) ) ) . } LIMIT 1"}}
{"id": "test_668", "question": "What ministerial positions existed in Wales during the Fourth Morgan ministry, and when did they start and end?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?position ?positionLabel ?inception ?dissolution ?replaces ?replacedBy WHERE {\n  wd:Q27957662 wdt:P571 ?ministryStart ; wdt:P576 ?ministryEnd .\n  ?position wdt:P31 wd:Q294414 ; wdt:P1001 wd:Q25 .\n  OPTIONAL {\n    ?position wdt:P571 ?inception .\n  }\n  OPTIONAL {\n    ?position wdt:P576 ?dissolution .\n  }\n  OPTIONAL {\n    ?position wdt:P1365 ?replaces .\n  }\n  OPTIONAL {\n    ?position wdt:P1366 ?replacedBy .\n  }\n  FILTER(! BOUND(?inception) || ?inception <= ?ministryEnd)\n  FILTER(! BOUND(?dissolution) || ?dissolution >= ?ministryStart)\n  ?position rdfs:label ?positionLabel .\n  FILTER(LANG(?positionLabel) = \"en\")\n}", "paraphrases": ["Which government offices in Wales were active between 2007 and 2009, and what positions did they replace or get replaced by?", "List the public offices in Wales that were held during the Fourth Morgan government, including their inception, dissolution, predecessors, and successors."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var5Label ?var6Label ?var7Label ?var8Label WHERE { <http://www.wikidata.org/entity/Q27957662> <http://www.wikidata.org/prop/direct/P527> ?var1 ; <http://www.wikidata.org/prop/P527> [ <http://www.wikidata.org/prop/qualifier/P39> ?var2 ] . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P1001> ?var5 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P17> ?var6 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P571> ?var3 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P576> ?var4 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P1365> ?var7 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P1366> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_669", "question": "Who are the people educated at the Pontifical Catholic University of Valpara\u00edso?", "sparql": "SELECT ?person WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P69 wd:Q1284408 .}", "paraphrases": ["Alumni of Pontifical Catholic University of Valpara\u00edso", "List all humans who attended the Pontifical Catholic University of Valpara\u00edso."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P69> <http://www.wikidata.org/entity/Q1284408> . }"}}
{"id": "test_670", "question": "List all types of cheese and their subclasses in English.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?cheeseItem ?cheeseLabel WHERE {\n  ?cheeseItem ( wdt:P31 * / wdt:P279 * ) wd:Q10943 .\n  ?cheeseItem rdfs:label ?cheeseLabel .\n  FILTER ( LANG( ?cheeseLabel ) = \"en\" )\n}", "paraphrases": ["What are all the known varieties and types of cheese, including their subcategories?", "Please provide a list of all cheese items and their English names, including both direct instances and subclasses."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q10943> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_671", "question": "List all bicycle-sharing systems with their English names.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?bikeshareSystem ?bikeshareSystemLabel WHERE {\n  ?bikeshareSystem wdt:P31 wd:Q1358919 .\n  ?bikeshareSystem rdfs:label ?bikeshareSystemLabel .\n  FILTER ( LANG( ?bikeshareSystemLabel ) = \"en\" )\n}", "paraphrases": ["What are the names of all bicycle-sharing systems in English?", "Can you provide a list of all known bicycle-sharing systems and their English labels?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1358919> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr\". } }"}}
{"id": "test_672", "question": "List South Korean cities with population over 250,000, excluding provinces and dissolved cities.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT DISTINCT ?city ?cityLabel ?population WHERE {\n  VALUES ?type {\n    wd:Q482821 wd:Q16181672 wd:Q29045252\n  }\n  ?city wdt:P31 ?type ; wdt:P17 wd:Q884 ; wdt:P1082 ?population ; rdfs:label ?cityLabel .\n  FILTER(LANG(?cityLabel) = \"en\")\n  FILTER(?population > 250000) MINUS {\n    ?city wdt:P31 wd:Q4925355\n  } MINUS {\n    ?city p:P31 ?statement .\n    ?statement ps:P31 ?type ; pq:P582 [] .\n  } MINUS {\n    ?city wdt:P576 [] .\n  }\n}\nORDER BY DESC(?population)", "paraphrases": ["Which cities in South Korea have a population greater than 250,000 and are still active administrative units?", "Show me the names and populations of all major cities in South Korea (metropolitan, special autonomous, and regular cities) with more than 250,000 residents, excluding provinces and those that have been dissolved."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q29045219> ) ( <http://www.wikidata.org/entity/Q482821> ) ( <http://www.wikidata.org/entity/Q16181672> ) ( <http://www.wikidata.org/entity/Q4249901> ) ( <http://www.wikidata.org/entity/Q29045252> ) } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q884> . MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q10864048> . } MINUS { ?var1 <http://www.wikidata.org/prop/P31> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P31> ?var3 ; <http://www.wikidata.org/prop/qualifier/P582> [] . } ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var2 . FILTER ( ( ( ?var2 > \"250000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P576> [] . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,ko\". } }"}}
{"id": "test_673", "question": "People who served as mayor in France and their educational backgrounds.", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?personLabel ?institutionLabel WHERE {\n  ?person p:P39 ?statement .\n  ?statement ps:P39 wd:Q382617 .\n  ?person wdt:P734 ?familyName .\n  ?statement pq:P580 ?startDate .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n  OPTIONAL {\n    ?person wdt:P69 ?institution .\n    ?institution rdfs:label ?institutionLabel .\n    FILTER(LANG(?institutionLabel) = \"en\")\n  }\n}\nLIMIT 100", "paraphrases": ["Who are the mayors of places in France, and which universities or schools did they attend?", "List the names of people who have held the office of mayor in France, along with the names of the educational institutions they attended, if any."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/P39> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q382617> . ?var1 <http://www.wikidata.org/prop/direct/P734> ?var4 . ?var3 <http://www.wikidata.org/prop/qualifier/P580> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P69> ?var2 . } } LIMIT 10000"}}
{"id": "test_674", "question": "Lakes and their countries", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?lake ?lakeLabel ?countryLabel WHERE {\n  ?lake wdt:P31 wd:Q23397 .\n  ?lake wdt:P17 ?country .\n  ?lake rdfs:label ?lakeLabel .\n  ?country rdfs:label ?countryLabel .\n  FILTER ( LANG( ?lakeLabel ) = \"en\" ) FILTER ( LANG( ?countryLabel ) = \"en\" )\n}\nLIMIT 1000", "paraphrases": ["What are the names of lakes and which countries are they in?", "List lakes with their English names and the countries they are located in."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label WHERE { { SELECT ?var1 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q23397> . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . } LIMIT 1000 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl\". } }"}}
{"id": "test_675", "question": "Librarians in the National Portrait Gallery with no Wikimedia Commons image and their birth dates.", "sparql": "SELECT ?person ?label ?birthDate ?npgId WHERE { ?person (wdt:P106/wdt:P279*) wd:Q182436 . ?person wdt:P1816 ?npgId . OPTIONAL { ?person wdt:P569 ?birthDate . } MINUS { ?person wdt:P18 ?image . } ?person rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["Who are the librarians featured in the National Portrait Gallery (London) who don\u2019t have an image on Wikimedia Commons, and when were they born?", "List the names and birth dates of librarians (including subtypes) who are in the National Portrait Gallery\u2019s collection but don\u2019t have a photo on Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q182436> . ?var1 <http://www.wikidata.org/prop/direct/P1816> ?var4 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr\". } }"}}
{"id": "test_676", "question": "What are the active legislative bodies in Gwangju, South Korea?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?legislature ?legislatureLabel WHERE {\n  ?legislature wdt:P31 / wdt:P279 * wd:Q11204 ; wdt:P1001 wd:Q41283 . MINUS {\n    ?legislature wdt:P576 [] .\n  }\n  ?legislature rdfs:label ?legislatureLabel .\n  FILTER(LANG(?legislatureLabel) = \"en\")\n}\nORDER BY ?legislature", "paraphrases": ["List the names of all current city councils or legislative assemblies operating in Gwangju.", "Which governing bodies in Gwangju have the power to make laws and are not dissolved?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q50258518> ) } ?var2 <http://www.wikidata.org/prop/direct/P1001> <http://www.wikidata.org/entity/Q41283> ; ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11204> . MINUS { ?var2 <http://www.wikidata.org/prop/direct/P576> [] . } ?var4 <http://www.wikidata.org/prop/statement/P279> ?var3 ; <http://www.wikidata.org/prop/qualifier/P642> ?var2 . ?var5 <http://www.wikidata.org/prop/P279> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P576> [] . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,ko\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_677", "question": "Mountains with the most media items not in Polish", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?mountain ( COUNT( DISTINCT ?media ) AS ?mediaCount ) ( SAMPLE( ?mountainLabel ) AS ?label ) WHERE {\n  ?mountain wdt:P31 wd:Q8502 .\n  ?media schema:about ?mountain .\n  ?media schema:inLanguage ?lang .\n  FILTER ( ?lang != \"pl\" ) .\n  FILTER NOT EXISTS {\n    ?someMedia schema:about ?mountain ; schema:inLanguage \"pl\" .\n  }\n  ?mountain rdfs:label ?mountainLabel .\n}\nGROUP BY ?mountain\nORDER BY DESC ( ?mediaCount )\nLIMIT 50", "paraphrases": ["Which mountains have the highest number of associated media items in languages other than Polish?", "List the top 50 mountains that have no media in Polish, ordered by how many media items they have in other languages."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q17412622> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> ?var4 . } FILTER ( ( NOT EXISTS { ?var5 <http://schema.org/about> ?var1 . ?var5 <http://schema.org/inLanguage> \"pl\". } ) ) . } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var3 ) LIMIT 50"}}
{"id": "test_678", "question": "Does the German National Library ID 2008038-4 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P227 \"2008038-4\" .\n}", "paraphrases": ["Is there a Wikidata item for the Hochland Section of the German Alpine Club, identified by the GND ID 2008038-4?", "Confirm if the GND ID 2008038-4 is linked to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"2008038-4\". }"}}
{"id": "test_679", "question": "Does Wikidata contain an entity with VIAF ID 81029446?", "sparql": "ASK WHERE { ?item wdt:P214 \"81029446\" . }", "paraphrases": ["Is there a person in Wikidata identified by the VIAF number 81029446?", "Confirm if the Virtual International Authority File identifier 81029446 is linked to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"81029446\". }"}}
{"id": "test_680", "question": "Video games and their release dates with labels", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?game ?gameLabel ?releaseDate WHERE {\n  ?game wdt:P31 wd:Q7889 .\n  ?game wdt:P577 ?releaseDate .\n  ?game rdfs:label ?gameLabel .\n}\nORDER BY ?releaseDate\nLIMIT 10", "paraphrases": ["What are the video games and when were they released, along with their titles?", "List video games with their publication dates and official titles."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7889> . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var2 . }"}}
{"id": "test_681", "question": "List members of the French National Assembly with their official IDs, sorted by ID.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person(SAMPLE(?label) AS ?personLabel) ?assemblyId WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P4123 ?assemblyId .\n  ?person wdt:P39 wd:Q3044918 .\n  ?person rdfs:label ?label .\n}\nGROUP BY ?person ?assemblyId\nORDER BY ASC(?assemblyId)", "paraphrases": ["Who are the humans serving as members of the French National Assembly, and what are their official IDs on the National Assembly website?", "Please provide the names and official IDs of all members of the French National Assembly, ordered by their ID numbers."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P4123> ?var2 . ?var1 <http://www.wikidata.org/prop/P39> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q3044918> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } ORDER BY ASC( ?var2 )"}}
{"id": "test_682", "question": "Lakes in Finland not in J\u00e4rviwiki but mentioned on Swedish Wikipedia", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?lake ?lakeLabel WHERE {\n  ?lake wdt:P31 wd:Q23397 ; wdt:P17 wd:Q33 .\n  ?wikipediaPage schema:about ?lake ; schema:isPartOf <https://sv.wikipedia.org/> .\n  FILTER NOT EXISTS {\n    ?lake wdt:P3394 ?j\u00e4rviwikiId .\n  }\n  ?lake rdfs:label ?lakeLabel .\n  FILTER ( LANG( ?lakeLabel ) = \"en\" )\n}", "paraphrases": ["Which lakes in Finland are referenced on the Swedish Wikipedia but are too small to be listed in the official Finnish lake database?", "Show me lakes in Finland that appear on Swedish Wikipedia pages but don\u2019t have a J\u00e4rviwiki ID."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q23397> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q33> . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/isPartOf> <https://sv.wikipedia.org/> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P3394> ?var3 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fi,en\". } }"}}
{"id": "test_683", "question": "Bakeries listed on Wikidata", "sparql": "SELECT ?bakery ?bakeryLabel WHERE { ?bakery wdt:P31 wd:Q274393 . ?bakery rdfs:label ?bakeryLabel . FILTER(LANG(?bakeryLabel) = \"en\") } LIMIT 10", "paraphrases": ["What are some examples of bakeries in Wikidata?", "Show me the names of 10 bakeries that are listed as instances of the class \"bakery\" on Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q274393> . } LIMIT 10"}}
{"id": "test_684", "question": "Female dogsled mushers with English descriptions", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?person ?personLabel ?description WHERE {\n  ?person wdt:P21 wd:Q6581072 ; wdt:P106 wd:Q500097 .\n  ?person rdfs:label ?personLabel .\n  ?person schema:description ?description .\n  FILTER(LANG(?personLabel) = \"en\")\n  FILTER(LANG(?description) = \"en\")\n}", "paraphrases": ["Who are the female dogsled mushers, and what are their English descriptions?", "List all female dogsled mushers along with their English biographical descriptions."], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q500097> ?var1 ?var2 . <http://www.wikidata.org/entity/Q6581072> ?var3 ?var4 . }"}}
{"id": "test_685", "question": "English labels of all mayors in Wikidata.", "sparql": "SELECT ?label WHERE { ?mayor wdt:P31 wd:Q30185 . ?mayor rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["Who are the mayors listed in Wikidata, with their English names?", "Show me the English labels of all entities that are instances of the position of mayor."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q30185> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,de\". } }"}}
{"id": "test_686", "question": "What are the breeds of domestic cats?", "sparql": "SELECT ?catBreed ?catBreedLabel WHERE { ?catBreed wdt:P279 wd:Q146 . ?catBreed rdfs:label ?catBreedLabel . FILTER(LANG(?catBreedLabel) = \"en\") }", "paraphrases": ["Which cat breeds are classified as subclasses of the house cat?", "List all English-labeled cat breeds that are subclasses of the domestic cat (Felis silvestris catus)."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q146> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"zh,en\". } }"}}
{"id": "test_687", "question": "Does Wikidata contain an entity with GND ID 1141944561?", "sparql": "ASK WHERE { ?item wdt:P227 \"1141944561\" . }", "paraphrases": ["Is there a person or organization in Wikidata identified by the GND ID 1141944561?", "Check if the German National Library ID 1141944561 is registered in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"1141944561\". }"}}
{"id": "test_688", "question": "What are the moons in our Solar System and which planets do they orbit?", "sparql": "SELECT ?moonLabel ?planetLabel WHERE { ?planet wdt:P397 wd:Q525 . ?moon wdt:P397 ?planet . ?moon wdt:P31 wd:Q2537 . ?moon rdfs:label ?moonLabel . ?planet rdfs:label ?planetLabel . FILTER(LANG(?moonLabel) = \"en\") FILTER(LANG(?planetLabel) = \"en\") }", "paraphrases": ["List natural satellites and their parent planets orbiting the Sun.", "Show me all known moons and the celestial bodies they revolve around, where those bodies orbit the Sun."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \" fr,en \". } ?var2 <http://www.wikidata.org/prop/direct/P397> <http://www.wikidata.org/entity/Q525> . ?var1 <http://www.wikidata.org/prop/direct/P397> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2537> . }"}}
{"id": "test_689", "question": "What are the parts of the Prague Metro, along with their coordinates and official names?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?part ?coordinates ?officialName WHERE {\n  ?part wdt:P361 wd:Q190271 .\n  OPTIONAL {\n    ?part wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    ?part wdt:P1448 ?officialName .\n  }\n}", "paraphrases": ["Which components make up the Prague Metro, and do they have any recorded geographic coordinates or official names?", "List all parts of the Prague Metro and include their coordinates and official names if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { OPTIONAL { } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,de\". } ?var3 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q190271> . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1448> ?var5 . } }"}}
{"id": "test_690", "question": "What is the French Wikipedia page about watercourse?", "sparql": "SELECT ?article WHERE { ?article schema:about wd:Q355304 ; schema:inLanguage \"fr\" ; schema:isPartOf <https://fr.wikipedia.org/> . }", "paraphrases": ["French Wikipedia article on watercourse.", "Show me the link to the French Wikipedia page for the watercourse entity."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://schema.org/about> <http://www.wikidata.org/entity/Q355304> . ?var1 <http://schema.org/inLanguage> \"fr\". ?var1 <http://schema.org/isPartOf> \"string1\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_691", "question": "List of scholarly articles, chemical compounds, and music albums from Wikidata, excluding Wikimedia system pages like templates and disambiguation pages.", "sparql": "SELECT DISTINCT ?item WHERE { VALUES ?item { wd:Q7247556 wd:Q4545778 wd:Q50586 wd:Q33367155 wd:Q33291777 wd:Q30948608 wd:Q30984745 wd:Q31137463 wd:Q31662200 wd:Q30863578 wd:Q30867921 wd:Q30869975 wd:Q30411313 wd:Q30360335 wd:Q30321526 wd:Q33148114 wd:Q33156447 wd:Q33159198 wd:Q33162714 wd:Q33170616 wd:Q33172962 wd:Q33173109 wd:Q33175450 wd:Q33178467 wd:Q33178674 } MINUS { ?item wdt:P31 wd:Q4167410 . } MINUS { ?item wdt:P31 wd:Q17633526 . } MINUS { ?item wdt:P31 wd:Q11266439 . } MINUS { ?item wdt:P31 wd:Q4167836 . } MINUS { ?item wdt:P31 wd:Q14204246 . } }", "paraphrases": ["Which of these 25 Wikidata items are not Wikimedia internal pages such as templates, disambiguation pages, or project pages?", "Please return the list of entities including procyanidin C1, 1-ethyl-3-methylimidazolium chloride, the album [e], and 22 scholarly articles, but exclude any that are Wikimedia system pages."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ?var2 ?var3 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167410> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q17633526> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11266439> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167836> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q14204246> . } VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q7247556> ) ( <http://www.wikidata.org/entity/Q4545778> ) ( <http://www.wikidata.org/entity/Q50586> ) ( <http://www.wikidata.org/entity/Q33367155> ) ( <http://www.wikidata.org/entity/Q33291777> ) ( <http://www.wikidata.org/entity/Q30948608> ) ( <http://www.wikidata.org/entity/Q33178674> ) ( <http://www.wikidata.org/entity/Q30411313> ) ( <http://www.wikidata.org/entity/Q30360335> ) ( <http://www.wikidata.org/entity/Q33156447> ) ( <http://www.wikidata.org/entity/Q33148114> ) ( <http://www.wikidata.org/entity/Q33175450> ) ( <http://www.wikidata.org/entity/Q33159198> ) ( <http://www.wikidata.org/entity/Q33172962> ) ( <http://www.wikidata.org/entity/Q33170616> ) ( <http://www.wikidata.org/entity/Q33162714> ) ( <http://www.wikidata.org/entity/Q33173109> ) ( <http://www.wikidata.org/entity/Q30863578> ) ( <http://www.wikidata.org/entity/Q30869975> ) ( <http://www.wikidata.org/entity/Q33178467> ) ( <http://www.wikidata.org/entity/Q30984745> ) ( <http://www.wikidata.org/entity/Q31662200> ) ( <http://www.wikidata.org/entity/Q31137463> ) ( <http://www.wikidata.org/entity/Q30867921> ) ( <http://www.wikidata.org/entity/Q30321526> ) } }"}}
{"id": "test_692", "question": "What is the Spanish name of the university Pedro Salvatori attended?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?institution ?label WHERE {\n  wd:Q6070106 wdt:P69 ?institution .\n  ?institution rdfs:label ?label .\n  FILTER(LANG(?label) = \"es\")\n}\nLIMIT 50", "paraphrases": ["Pedro Salvatori's alma mater in Spanish", "Can you tell me the Spanish label of the educational institution Pedro Salvatori went to?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q6070106> <http://www.wikidata.org/prop/direct/P69> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"es\" ) ) ) . } LIMIT 50"}}
{"id": "test_693", "question": "Which Wikidata properties are most frequently mapped to properties used for asterism?", "sparql": "SELECT ?property (COUNT(?property) AS ?count) WHERE { wd:Q9262 ?usedProperty ?value . ?property ?mappingProperty ?usedProperty . ?property rdf:type wikibase:Property } GROUP BY ?property ORDER BY DESC(?count) LIMIT 10000", "paraphrases": ["What are the top Wikidata properties that link to the properties describing the asterism?", "Show me the Wikidata properties that are most commonly used to map to the properties associated with the asterism, ordered by frequency."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { <http://www.wikidata.org/entity/Q9262> ?var3 ?var4 . ?var1 ?var5 ?var3 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 10000"}}
{"id": "test_694", "question": "Members of the French National Assembly during the 15th legislature (2017\u20132022)", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT DISTINCT ?person ?personLabel WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person p:P39 ?statement .\n  ?statement ps:P39 wd:Q3044918 .\n  ?statement pq:P2937 wd:Q24939798 .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}\nORDER BY ASC ( ?personLabel )", "paraphrases": ["Who served as members of the French National Assembly in the 15th legislature of the Fifth French Republic?", "List the names of all people who were members of the French National Assembly between 2017 and 2022."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/P39> ?var2 . ?var2 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q3044918> . ?var2 <http://www.wikidata.org/prop/qualifier/P2937> <http://www.wikidata.org/entity/Q24939798> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P69> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_695", "question": "What are all the taxonomic ancestors of the genus Bucephalus?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?ancestor WHERE {\n  wd:Q4982517 wdt:P171 * ?ancestor .\n}", "paraphrases": ["Taxonomic hierarchy above Bucephalus (wd:Q4982517)", "Show me the full lineage of Bucephalus from its direct parent up to the highest taxonomic rank."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q4982517> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P171> | <http://www.wikidata.org/prop/direct/P273> | <http://www.wikidata.org/prop/direct/P75> | <http://www.wikidata.org/prop/direct/P76> | <http://www.wikidata.org/prop/direct/P77> | <http://www.wikidata.org/prop/direct/P70> | <http://www.wikidata.org/prop/direct/P71> | <http://www.wikidata.org/prop/direct/P74> | <http://www.wikidata.org/prop/direct/P89> )* ?var1 . }"}}
{"id": "test_696", "question": "English and German Wikipedia pages for the movie with IMDb ID tt1345836", "sparql": "SELECT ?item ?wikipedia_page ?imdb_id WHERE { ?item wdt:P345 \"tt1345836\" . ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") FILTER(STRSTARTS(STR(?wikipedia_page), \"https://en.wikipedia.org/\") || STRSTARTS(STR(?wikipedia_page), \"https://de.wikipedia.org/\")) BIND(\"tt1345836\" AS ?imdb_id) }", "paraphrases": ["What are the English and German Wikipedia articles about the film with IMDb ID tt1345836?", "Show me the English and German Wikipedia pages linked to the movie The Dark Knight Rises, along with its IMDb ID."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2167056\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_697", "question": "Does Jill Murphy have a GND ID of 132799286?", "sparql": "ASK WHERE { ?item wdt:P227 \"132799286\" . }", "paraphrases": ["Is there a Wikidata item for the person with the German National Library ID 132799286?", "Confirm if the GND ID 132799286 is assigned to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"132799286\". }"}}
{"id": "test_698", "question": "What are the video games released on Xbox One, and when were they released?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?game ?label ?releaseDate WHERE {\n  ?game wdt:P31 wd:Q7889 ; wdt:P400 wd:Q13361286 .\n  OPTIONAL {\n    ?game rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n  OPTIONAL {\n    ?game wdt:P577 ?releaseDate .\n  }\n}\nORDER BY ASC(?label)", "paraphrases": ["Can you show me the English titles and release dates of all video games available on the Xbox One?", "Which Xbox One games have English names and publication dates listed in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7889> ; <http://www.wikidata.org/prop/direct/P400> <http://www.wikidata.org/entity/Q13361286> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_699", "question": "Rivers in France", "sparql": "SELECT ?river ?riverLabel WHERE { ?river wdt:P31 wd:Q4022 ; wdt:P17 wd:Q142 . ?river rdfs:label ?riverLabel . FILTER(LANG(?riverLabel) = \"en\") }", "paraphrases": ["What are the names of rivers located in France?", "List the English names of all rivers in France, identified as instances of river in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4022> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q142> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_700", "question": "Who has the IMDb ID nm0555476?", "sparql": "SELECT ?person WHERE { ?person wdt:P345 \"nm0555476\" . }", "paraphrases": ["Which person on Wikidata is associated with the IMDb identifier nm0555476?", "Find the Wikidata item for the individual with IMDb ID nm0555476."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"nm0555476\". }"}}
{"id": "test_701", "question": "Is there a Wikidata item associated with the IMDb ID nm5075426?", "sparql": "ASK WHERE { ?item wdt:P345 \"nm5075426\" . }", "paraphrases": ["Does the IMDb identifier nm5075426 exist in Wikidata?", "Can you confirm that nm5075426 is a valid IMDb ID in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"nm5075426\". }"}}
{"id": "test_702", "question": "Is the GND ID \"4333609-7\" associated with the Neust\u00e4dter Marienkirche in Wikidata?", "sparql": "ASK WHERE { wd:Q1981786 wdt:P227 \"4333609-7\" }", "paraphrases": ["Does the church building Neust\u00e4dter Marienkirche have the German National Library ID 4333609-7?", "Confirm that the Neust\u00e4dter Marienkirche is identified by the GND ID 4333609-7 in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"4333609-7\". }"}}
{"id": "test_703", "question": "Occupations of Socrates\u2019s students", "sparql": "SELECT ?student ?studentLabel ?occupation ?occupationLabel WHERE { wd:Q913 wdt:P802 ?student . ?student wdt:P106 ?occupation . ?student rdfs:label ?studentLabel . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?studentLabel) = \"en\") FILTER(LANG(?occupationLabel) = \"en\")}", "paraphrases": ["What professions did the students of Socrates have?", "List the occupations of Socrates\u2019s notable students."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { <http://www.wikidata.org/entity/Q913> <http://www.wikidata.org/prop/direct/P802> + ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P512> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"zh,en\". } }"}}
{"id": "test_704", "question": "Works about restaurants and their qualifier properties on Wikidata.", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ?work ?workLabel ?statement ?qualifierLabel WHERE {\n  ?work p:P921 ?statement .\n  ?statement ps:P921 wd:Q11707 .\n  OPTIONAL {\n    ?statement ?qualifier ?value .\n    ?qualifier wikibase:qualifier true .\n    ?qualifier rdfs:label ?qualifierLabel .\n    FILTER ( LANG( ?qualifierLabel ) = \"en\" )\n  }\n  ?work rdfs:label ?workLabel .\n  FILTER ( LANG( ?workLabel ) = \"en\" )\n}\nORDER BY ?work\nLIMIT 20", "paraphrases": ["What works have restaurant as their main subject, and what qualifier properties are used on those statements?", "List works that are about restaurants, along with any qualifier properties attached to their statements \u2014 even if none exist."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P921> <http://www.wikidata.org/entity/Q11707> . ?var1 <http://www.wikidata.org/prop/P921> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_705", "question": "Japanese labels for transmitter masts", "sparql": "SELECT ?mast ?label_ja WHERE { ?mast wdt:P31 wd:Q1068623 . OPTIONAL { ?mast rdfs:label ?label_ja . FILTER(LANG(?label_ja) = \"ja\") } } LIMIT 100", "paraphrases": ["Which transmitter masts have Japanese-language labels on Wikidata?", "Show me the Japanese names of all transmitter masts in Wikidata, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1068623> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"ja\" ) ) ) . } } LIMIT 100"}}
{"id": "test_706", "question": "List the chairpersons of Nea Salamis Famagusta FC with their term start and end dates, ordered from most recent to oldest.", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT DISTINCT ?chairperson ?chairpersonLabel ?startDate ?endDate WHERE {\n  wd:Q714581 p:P488 ?statement .\n  ?statement ps:P488 ?chairperson .\n  OPTIONAL {\n    ?statement pq:P580 ?startDate .\n  }\n  OPTIONAL {\n    ?statement pq:P582 ?endDate .\n  }\n  ?chairperson rdfs:label ?chairpersonLabel .\n  FILTER ( LANG( ?chairpersonLabel ) = \"en\" )\n}\nORDER BY DESC ( ?startDate )", "paraphrases": ["Who have been the chairpersons of Nea Salamis Famagusta FC, and when did their terms begin and end?", "Show me the history of chairpersons of Nea Salamis Famagusta FC, including when each one started and ended their term, sorted by the most recent first."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var4Label WHERE { <http://www.wikidata.org/entity/Q714581> <http://www.wikidata.org/prop/P488> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/qualifier/P580> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/qualifier/P582> ?var3 . } } ORDER BY DESC( ?var2 )"}}
{"id": "test_707", "question": "Stars with SIMBAD identifiers and their English names", "sparql": "SELECT ?simbadId ?star ?starLabel WHERE { ?star (wdt:P31/wdt:P279*) wd:Q523 . ?star wdt:P3083 ?simbadId . ?star rdfs:label ?starLabel . FILTER(LANG(?starLabel) = \"en\") } LIMIT 500", "paraphrases": ["What are the names and SIMBAD IDs of all stars and their subtypes?", "Please list all stars (including subtypes like red dwarfs or neutron stars) along with their SIMBAD identifiers and English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q523> . ?var2 <http://www.wikidata.org/prop/direct/P3083> ?var1 . MINUS { ?var2 <http://www.wikidata.org/prop/P528> [] . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en, de, fr, pl, it, eo, kk, uk, es, ru\". } } LIMIT 500"}}
{"id": "test_708", "question": "People who began serving in the French National Assembly before their term officially started", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?termLabel ?termStart ?personStart WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person p:P39 ?statement .\n  ?statement ps:P39 wd:Q3044918 .\n  ?statement pq:P2937 ?term .\n  ?term wdt:P580 ?termStart .\n  ?statement pq:P580 ?personStart .\n  OPTIONAL {\n    ?person rdfs:label ?personLabel .\n    FILTER(LANG(?personLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?term rdfs:label ?termLabel .\n    FILTER(LANG(?termLabel) = \"en\")\n  }\n  FILTER(?personStart < ?termStart)\n}\nORDER BY ASC(?termStart) ASC(?personStart)", "paraphrases": ["Who were the members of the French National Assembly that started their term before the parliamentary term began?", "List all individuals who took office in the French National Assembly prior to the official start of their legislative term."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/P39> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q3044918> . ?var5 <http://www.wikidata.org/prop/qualifier/P2937> ?var2 . ?var5 <http://www.wikidata.org/prop/qualifier/P580> ?var4 . ?var2 <http://www.wikidata.org/prop/direct/P580> ?var3 . FILTER ( ( ( ?var4 < ?var3 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } ORDER BY ASC( ?var3 )ASC( ?var4 )"}}
{"id": "test_709", "question": "U.S. Secretaries of State and their political parties", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person ?personLabel ?partyLabel ?startDate WHERE {\n  ?person wdt:P31 wd:Q5 ; p:P39 ?positionStatement .\n  ?positionStatement ps:P39 wd:Q14213 .\n  ?person p:P102 ?membershipStatement .\n  ?membershipStatement ps:P102 ?party .\n  OPTIONAL {\n    ?membershipStatement pq:P580 ?startDate .\n  }\n  ?person rdfs:label ?personLabel .\n  ?party rdfs:label ?partyLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n  FILTER(LANG(?partyLabel) = \"en\")\n}", "paraphrases": ["Who are the U.S. Secretaries of State and which political parties did they belong to?", "List the names of all U.S. Secretaries of State, their political parties, and when they joined those parties."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/P102> ?var2 ; <http://www.wikidata.org/prop/P39> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q14213> . ?var1 <http://www.wikidata.org/prop/P102> ?var5 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/qualifier/P580> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_710", "question": "U.S. Secretaries of State with their images and lifespans, ordered by start date", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?person ?personLabel ?image ?lifespan WHERE {\n  ?person wdt:P31 wd:Q5 ; p:P39 [ ps:P39 wd:Q14213 ; pq:P580 ?startDate ] .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?person wdt:P569 ?birth .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?death .\n  }\n  BIND((YEAR(?death) - YEAR(?birth)) AS ?lifespan)\n  .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}\nORDER BY DESC(?startDate)", "paraphrases": ["Who are the U.S. Secretaries of State, what are their lifespans, and do they have official photos?", "List all U.S. Secretaries of State along with their death age (lifespan) and official images, sorted from most recent to earliest appointment."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/P39> [ <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q14213> ; <http://www.wikidata.org/prop/qualifier/P580> ?var4 ] . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var6 . } BIND ( ( YEAR ( ?var6 ) - YEAR ( ?var5 ) ) AS ?var3 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,en\". } } ORDER BY DESC( ?var4 )"}}
{"id": "test_711", "question": "German Wikipedia articles and coordinates of hiking trails", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?trail ?trailLabel ?coordinates ?wikipediaArticle WHERE {\n  ?trail wdt:P31 wd:Q2143825 .\n  ?trail wdt:P625 ?coordinates .\n  ?wikipediaArticle schema:about ?trail .\n  ?wikipediaArticle schema:isPartOf <https://de.wikipedia.org/> .\n  ?trail rdfs:label ?trailLabel .\n  FILTER(LANG(?trailLabel) = \"de\")\n}", "paraphrases": ["What are the names, coordinates, and German Wikipedia links of all hiking trails on Wikidata?", "Show me the German labels, geographic coordinates, and corresponding German Wikipedia pages for all items classified as hiking trails."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2143825> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/isPartOf> <https://de.wikipedia.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_712", "question": "What are all the superclass categories of the class that the Argonaut train belongs to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?superclass WHERE {\n  wd:Q4789657 wdt:P31 ?class .\n  ?class wdt:P279 * ?superclass .\n}", "paraphrases": ["Superclasses of the class that Argonaut is an instance of", "Show me the hierarchy of classes that include the type of train service the Argonaut is an example of."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q4789657> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_713", "question": "Who have been the United States Secretaries of Education, and when did their terms begin and end?", "sparql": "SELECT DISTINCT ?person ?personLabel ?startDate ?endDate WHERE { ?person wdt:P31 wd:Q5 . ?person p:P39 ?statement . ?statement ps:P39 wd:Q967762 . ?statement pq:P580 ?startDate . ?statement pq:P582 ?endDate . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["List all individuals who served as U.S. Secretary of Education with their tenure start and end dates.", "What are the names and service periods of all people who held the position of U.S. Secretary of Education?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/P39> _:b2 . ?var1 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q967762> . ?var1 <http://www.wikidata.org/prop/qualifier/P580> ?var2 . ?var1 <http://www.wikidata.org/prop/qualifier/P582> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_714", "question": "List all U.S. Secretaries of Education with their start dates, sorted alphabetically by name.", "sparql": "SELECT DISTINCT ?person ?personLabel ?start WHERE { ?person p:P39 ?statement . ?statement ps:P39 wd:Q967762 . ?statement pq:P580 ?start . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } ORDER BY ASC(?personLabel) ASC(?start)", "paraphrases": ["Who have been the U.S. Secretaries of Education, and when did each of them start their term?", "Please provide the names of all individuals who served as U.S. Secretary of Education along with the start date of their tenure, ordered by name and start date."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q967762> . ?var1 <http://www.wikidata.org/prop/direct/P580> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var3Label )ASC( ?var1Label )"}}
{"id": "test_715", "question": "List all films and TV series with their English-named screenwriters.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?work ?screenwriter ?screenwriterName WHERE {\n  {\n    ?work wdt:P31 wd:Q11424 .\n  } UNION {\n    ?work wdt:P31 wd:Q5398426 .\n  }\n  ?work wdt:P58 ?screenwriter .\n  ?screenwriter rdfs:label ?screenwriterName .\n  FILTER ( LANG( ?screenwriterName ) = \"en\" )\n}\nLIMIT 140000", "paraphrases": ["Who are the screenwriters of films and television series, and what are their names in English?", "Show me the works (films and TV series) along with the names of their screenwriters in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5398426> . } } ?var1 <http://www.wikidata.org/prop/direct/P58> ?var2 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 140000"}}
{"id": "test_716", "question": "Films and their screenwriters in English", "sparql": "SELECT ?film ?screenwriter ?screenwriterLabel WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P58 ?screenwriter . ?screenwriter rdfs:label ?screenwriterLabel . FILTER(LANG(?screenwriterLabel) = \"en\") } LIMIT 200", "paraphrases": ["Which films have screenwriters with English-language names listed in Wikidata?", "Show me a list of films along with the names of their screenwriters in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P58> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE], en\". } } LIMIT 200 OFFSET 78000"}}
{"id": "test_717", "question": "Films and their screenwriters in English", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?film ?filmLabel ?screenwriter ?screenwriterLabel WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P58 ?screenwriter .\n  ?film rdfs:label ?filmLabel .\n  ?screenwriter rdfs:label ?screenwriterLabel .\n  FILTER(LANG(?filmLabel) = \"en\")\n  FILTER(LANG(?screenwriterLabel) = \"en\")\n}\nLIMIT 200", "paraphrases": ["Who wrote the screenplays for films, and what are the film titles in English?", "List 200 films along with the names of their screenwriters, using English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P58> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE], en\". } } LIMIT 200 OFFSET 84000"}}
{"id": "test_718", "question": "Who is the person with IMDb ID nm0468465?", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P345 \"nm0468465\" . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["What is the name of the actor in Wikidata linked to the IMDb identifier nm0468465?", "Find the English label of the Wikidata item that has the IMDb ID nm0468465."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"nm0468465\". }"}}
{"id": "test_719", "question": "Does Frank T. Hufert have a GND ID of 1104149737?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P227 \"1104149737\" .\n}", "paraphrases": ["Is there a Wikidata item for Frank T. Hufert with the German National Library ID 1104149737?", "Confirm that the person with GND ID 1104149737 is represented in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"1104149737\". }"}}
{"id": "test_720", "question": "Which bascule bridges have the most Wikipedia articles, and how many language versions do they have?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item(COUNT(?page) AS ?sitelinks) WHERE {\n  ?item wdt:P31 wd:Q911663 .\n  ?page schema:about ?item ; schema:isPartOf ?site .\n}\nGROUP BY ?item\nORDER BY DESC(?sitelinks)\nLIMIT 500", "paraphrases": ["List the top 500 bascule bridges by the number of Wikipedia language editions they are featured in, ordered from most to least.", "Show me the bascule bridges with Wikipedia pages, sorted by how many languages their articles are available in."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q911663> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 500"}}
{"id": "test_721", "question": "Wikimedia categories about David, King of Israel, and their qualifiers on the main topic link.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?category ?statement(SAMPLE(?qualifierValue) AS ?qualifier) WHERE {\n  ?category p:P301 ?statement .\n  ?statement ps:P301 wd:Q41370 .\n  OPTIONAL {\n    ?statement ?qualifierProperty ?qualifierValue .\n    ?qualifierProperty wikibase:qualifier p:P301 .\n  }\n}\nGROUP BY ?category ?statement", "paraphrases": ["Which Wikimedia categories have David, King of Israel as their main topic, and what qualifiers are attached to that connection?", "Show me the categories that are about David and any additional information (qualifiers) on how they link to him."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P301> <http://www.wikidata.org/entity/Q41370> . ?var1 <http://www.wikidata.org/prop/P301> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_722", "question": "What country is both Stanley Crouch and New York City associated with?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?country WHERE {\n  wd:Q355531 wdt:P27 ?country .\n  wd:Q60 wdt:P17 ?country .\n}", "paraphrases": ["Which nation is the country of citizenship for Stanley Crouch and the country where New York City is located?", "Find the common country linked to Stanley Crouch and New York City."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q355531> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q60> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_723", "question": "Locomotives built by Nine Elms Locomotive Works for the London and South Western Railway, with their fleet numbers and names, sorted by introduction year.", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ?locomotive ( SAMPLE( ?label ) AS ?locomotiveLabel ) ( GROUP_CONCAT( DISTINCT YEAR( ?start ) ) AS ?years ) ( GROUP_CONCAT( DISTINCT ?fleetNumber ) AS ?fleetNumbers ) ( GROUP_CONCAT( DISTINCT ?name ) AS ?names ) WHERE {\n  ?locomotive ( wdt:P31 / wdt:P279 * ) wd:Q93301 .\n  ?locomotive wdt:P176 wd:Q7038300 .\n  OPTIONAL {\n    ?locomotive p:P2802 ?fleetStmt .\n    ?fleetStmt ps:P2802 ?fleetNumber ; pq:P2378 wd:Q1130022 .\n  }\n  OPTIONAL {\n    ?locomotive wdt:P2561 ?name .\n  }\n  OPTIONAL {\n    ?locomotive wdt:P580 ?start .\n  }\n  ?locomotive rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}\nGROUP BY ?locomotive\nORDER BY ASC ( ?years )\nLIMIT 100", "paraphrases": ["What are the names and fleet numbers of locomotives manufactured by Nine Elms Locomotive Works for the London and South Western Railway, and when were they introduced?", "List the locomotives built by Nine Elms Locomotive Works for the London and South Western Railway, including their fleet numbers, names, and introduction years, ordered chronologically."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( GROUP_CONCAT ( DISTINCT YEAR ( ?var2 ) ) AS ?var3 )( GROUP_CONCAT ( DISTINCT ?var4 ) AS ?var5 )( GROUP_CONCAT ( DISTINCT ?var6 ) AS ?var7 ) WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q93301> . ?var1 <http://www.wikidata.org/prop/direct/P176> <http://www.wikidata.org/entity/Q7038300> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/P2802> ?var8 . ?var8 <http://www.wikidata.org/prop/statement/P2802> ?var4 ; <http://www.wikidata.org/prop/qualifier/P2378> <http://www.wikidata.org/entity/Q1130022> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2561> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P580> ?var9 . } } GROUP BY ?var1 ?var1Label ORDER BY ASC( ?var3 ) LIMIT 100"}}
{"id": "test_724", "question": "Lakes and rivers near 7\u00b0E, 45\u00b0N", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?var1Label ?var2 ?var2Label ?var3 WHERE {\n  ?var1 wdt:P625 ?var3 .\n  BIND(SUBSTR(STR(?var3) , 7 , STRLEN(STR(?var3)) - 8) AS ?coords)\n  BIND(STRBEFORE(?coords , \" \") AS ?lonStr)\n  BIND(STRAFTER(?coords , \" \") AS ?latStr)\n  BIND(xsd:double(?lonStr) AS ?lon)\n  BIND(xsd:double(?latStr) AS ?lat)\n  FILTER(?lon >= 6.745 && ?lon <= 7.255 && ?lat >= 44.82 && ?lat <= 45.18)\n  OPTIONAL {\n    ?var1 wdt:P31 ?var2 .\n  }\n  ?var1 rdfs:label ?var1Label .\n  OPTIONAL {\n    ?var2 rdfs:label ?var2Label .\n  }\n  FILTER(LANG(?var1Label) = \"en\")\n  FILTER(LANG(?var2Label) = \"en\" || ! BOUND(?var2Label))\n  FILTER(?var2 IN(wd:Q4022 , wd:Q23397 , wd:Q214734 , wd:Q1549591 , wd:Q173767))\n}\nLIMIT 20", "paraphrases": ["What natural geographic features like lakes and rivers are located within 20 kilometers of longitude 7 and latitude 45?", "List the names, types, and coordinates of lakes and rivers in the Alps region around 7\u00b0E and 45\u00b0N."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var2Label ?var3 WHERE { { SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> \"POINT(7 45)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"20\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } } } GROUP BY ?var1Label ?var2 ?var2Label ?var3"}}
{"id": "test_725", "question": "What are some examples of vegetables?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?var1 ?var1Label WHERE {\n  ?var1 wdt:P31 wd:Q11004 .\n  ?var1 rdfs:label ?var1Label .\n  FILTER ( LANG( ?var1Label ) = \"en\" )\n}", "paraphrases": ["Can you list the English names of all items classified as vegetables in Wikidata?", "Which edible plants are categorized as vegetables according to Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/vegetable> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11004> . }"}}
{"id": "test_726", "question": "Superclasses of body of water in Wikidata", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subclass ?subclassLabel WHERE {\n  wd:Q15324 wdt:P279 * ?subclass .\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER(LANG(?subclassLabel) = \"en\")\n}", "paraphrases": ["What are all the broader categories that a body of water is a subclass of?", "List all the ontological categories that body of water belongs to, including parent categories up to the most general ones."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q15324> <http://www.wikidata.org/prop/direct/P279> * ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_727", "question": "Lakes and their countries, continents, administrative regions, coordinates, and basin countries.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?lake ?country ?continent ?admin_entityLabel ?coordinates ?basin_country WHERE {\n  ?lake ( wdt:P31 / wdt:P279 * ) wd:Q23397 .\n  ?lake wdt:P17 ?country .\n  ?lake wdt:P30 ?continent .\n  ?lake wdt:P131 ?admin_entity .\n  ?admin_entity rdfs:label ?admin_entityLabel .\n  ?lake wdt:P625 ?coordinates .\n  ?lake wdt:P205 ?basin_country .\n  FILTER ( LANG( ?admin_entityLabel ) = \"en\" )\n}", "paraphrases": ["What are the lakes in the world, along with their countries, continents, administrative divisions, geographic coordinates, and the countries of their drainage basins?", "List all lakes with their associated country, continent, administrative region (in English), coordinates, and basin country."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4Label ?var5 ?var6 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q23397> . { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . } { ?var1 <http://www.wikidata.org/prop/direct/P30> ?var3 . } { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var4 . } { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var5 . } { ?var1 <http://www.wikidata.org/prop/direct/P205> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_728", "question": "Properties and values of Blanchard Bridge (Q4924797) with English labels", "sparql": "SELECT ?property ?propertyLabel ?value ?valueLabel WHERE { wd:Q4924797 ?property ?value . FILTER(STRSTARTS(STR(?property), \"http://www.wikidata.org/prop/direct/\")) OPTIONAL { ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") } OPTIONAL { ?value rdfs:label ?valueLabel . FILTER(LANG(?valueLabel) = \"en\") } } LIMIT 100", "paraphrases": ["What are the direct properties and their values for the Blanchard Bridge, along with their English labels?", "Show me all the direct statements about Blanchard Bridge, including the property names and value labels in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ?var3 <http://www.wikidata.org/entity/Q4924797> . ?var2 <http://wikiba.se/ontology#directClaim> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_729", "question": "List locomotives with their fleet numbers, names, and service periods, sorted by fleet number and start date.", "sparql": "SELECT ?locomotive ?locomotiveLabel (GROUP_CONCAT(DISTINCT ?fleetNumber; separator=\", \") AS ?fleetNumbers) ?startTime (GROUP_CONCAT(DISTINCT YEAR(?endTime)) AS ?endYears) (GROUP_CONCAT(DISTINCT ?name; separator=\", \") AS ?names) WHERE { ?locomotive (wdt:P31/wdt:P279*) wd:Q93301 . OPTIONAL { ?locomotive p:P2802 ?fleetStmt . ?fleetStmt ps:P2802 ?fleetNumber . } OPTIONAL { ?locomotive wdt:P580 ?startTime . } OPTIONAL { ?locomotive wdt:P582 ?endTime . } OPTIONAL { ?locomotive wdt:P2561 ?name . } } GROUP BY ?locomotive ?locomotiveLabel ?startTime ORDER BY ASC(?fleetNumbers) ASC(?startTime) LIMIT 100", "paraphrases": ["Which locomotives have fleet numbers, and what are their names, start and end years? Show them ordered by fleet number and start time.", "Please provide a list of locomotives including their fleet numbers (if any), names, and operational start/end years, grouped by locomotive and sorted alphabetically by fleet number and then by start date."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( GROUP_CONCAT ( DISTINCT ?var2 ) AS ?var3 )( GROUP_CONCAT ( DISTINCT ?var4 ) AS ?var5 )( GROUP_CONCAT ( DISTINCT YEAR ( ?var6 ) ) AS ?var7 )( GROUP_CONCAT ( DISTINCT ?var8 ) AS ?var9 ) WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q93301> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/P2802> ?var10 . ?var10 <http://www.wikidata.org/prop/statement/P2802> ?var2 ; <http://www.wikidata.org/prop/qualifier/P2378> <http://www.wikidata.org/entity/Q1130022> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P580> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P582> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2561> ?var8 . } } GROUP BY ?var1 ?var1Label ?var4 ORDER BY ASC( ?var5 )ASC( <http://www.w3.org/2001/XMLSchema#integer> ( ?var2 ) ) LIMIT 100"}}
{"id": "test_730", "question": "What entities contain water as a component?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?entity ?entityLabel WHERE {\n  ?entity wdt:P527 wd:Q283 .\n  ?entity rdfs:label ?entityLabel .\n  FILTER(LANG(?entityLabel) = \"en\")\n}", "paraphrases": ["Which items in Wikidata are made up of or include water?", "Can you list all things that have water as a part?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q30231028-E26F77BC-71DF-4B96-872E-1A6EB5767FAC> ?var1 ?var2 . }"}}
{"id": "test_731", "question": "What are the English and German Wikipedia pages about the movie with IMDb ID tt1345836?", "sparql": "SELECT ?item ?wikipedia_page WHERE { ?item wdt:P345 \"tt1345836\" . ?wikipedia_page schema:about ?item . { ?wikipedia_page schema:inLanguage \"en\" . } UNION { ?wikipedia_page schema:inLanguage \"de\" . } }", "paraphrases": ["Show me the Wikipedia articles in English and German that describe the film \"The Dark Knight Rises\".", "Can you find the Wikipedia pages in English and German related to the movie identified by IMDb ID tt1345836?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2294916\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_732", "question": "Is there a Wikidata item for the GND ID 143577050?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P227 \"143577050\" .\n}", "paraphrases": ["Does the German National Library ID 143577050 correspond to an entity in Wikidata?", "Verify if the identifier 143577050 from the German National Library is present in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"143577050\". }"}}
{"id": "test_733", "question": "What are the taxonomic categories above \"apple\" in the biological classification, up to four levels deep?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?item ?itemLabel ?superclass WHERE {\n  {\n    wd:Q89 wdt:P279 ?item .\n  } UNION {\n    wd:Q89 wdt:P279 ?item1 .\n    ?item1 wdt:P279 ?item .\n  } UNION {\n    wd:Q89 wdt:P279 ?item1 .\n    ?item1 wdt:P279 ?item2 .\n    ?item2 wdt:P279 ?item .\n  } UNION {\n    wd:Q89 wdt:P279 ?item1 .\n    ?item1 wdt:P279 ?item2 .\n    ?item2 wdt:P279 ?item3 .\n    ?item3 wdt:P279 ?item .\n  }\n  OPTIONAL {\n    ?item wdt:P279 ?superclass .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["Can you show me the classes that \"apple\" belongs to, and what those classes are subclasses of, going up to four levels in the hierarchy?", "List all the higher-level biological categories that include the apple, along with their own parent categories, within four levels of classification."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q89> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> \"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P31> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_734", "question": "Labels for Paulaner Brewery in Italian, English, German, and French, along with its image and Italian Wikipedia page.", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?label ?image ?coordinates ?wikipediaArticle ?order WHERE {\n  wd:Q127305 rdfs:label ?label .\n  FILTER(LANG(?label) IN(\"it\" , \"en\" , \"de\" , \"fr\"))\n  VALUES(?lang ?order) {(\"it\" \"1\" ^^ xsd:integer)(\"en\" \"2\" ^^ xsd:integer)(\"de\" \"3\" ^^ xsd:integer)(\"fr\" \"4\" ^^ xsd:integer)\n  }\n  FILTER(LANG(?label) = ?lang)\n  OPTIONAL {\n    wd:Q127305 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q127305 wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    ?wikipediaArticle rdf:type schema:Article ; schema:about wd:Q127305 ; schema:inLanguage \"it\" ; schema:isPartOf <https://it.wikipedia.org/> .\n  }\n}\nORDER BY ASC(?order)", "paraphrases": ["What are the labels of Paulaner Brewery in Italian, English, German, and French, and what is its image and Italian Wikipedia article?", "Show me the Italian, English, German, and French labels of Paulaner Brewery, ordered by language preference, along with its image and its Italian Wikipedia link."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { OPTIONAL { <http://www.wikidata.org/entity/statement/Q127305-C0AA6A8A-DF39-4501-965C-B15933C1A67F> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var5 ) ) ) . VALUES ( ?var5 ?var6 ) { ( \"it\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/statement/Q127305-C0AA6A8A-DF39-4501-965C-B15933C1A67F> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/statement/Q127305-C0AA6A8A-DF39-4501-965C-B15933C1A67F> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/statement/Q127305-C0AA6A8A-DF39-4501-965C-B15933C1A67F> ; <http://schema.org/inLanguage> \"it\"; <http://schema.org/isPartOf> <https://it.wikipedia.org/> . } } ORDER BY ASC( ?var6 )"}}
{"id": "test_735", "question": "Which Twitter/X users have Wikidata items, and how many Wikipedia articles are linked to them?", "sparql": "SELECT ?item ?twitterUsername (COUNT(?sitelink) AS ?sitelinks) WHERE { ?item wdt:P2002 ?twitterUsername . ?sitelink schema:about ?item ; schema:isPartOf ?wiki . VALUES ?twitterUsername { \"envlh\" \"joelgombin\" \"Lyxor\" \"bevellin\" } } GROUP BY ?item ?twitterUsername ORDER BY ASC(?sitelinks)", "paraphrases": ["Who are the people or organizations with Twitter usernames \"envlh\", \"joelgombin\", \"Lyxor\", or \"bevellin\", and how many language versions of Wikipedia have articles about them?", "List the Wikidata items for the Twitter handles \"envlh\", \"joelgombin\", \"Lyxor\", and \"bevellin\", sorted by the number of Wikipedia language editions that mention them."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"joelgombin\" ) ( \"gpop_eu\" ) ( \"Lyxor\" ) ( \"string1\" ) ( \"string2\" ) ( \"bevellin\" ) ( \"string3\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_736", "question": "Nigerian National Assembly members with English labels and descriptions", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?person ?label ?description ?id WHERE {\n  ?person wdt:P31 / wdt:P279 * wd:Q5 .\n  ?person wdt:P4139 ?id .\n  ?person rdfs:label ?label .\n  ?person schema:description ?description .\n  FILTER(LANG(?label) = 'en')\n  .\n  FILTER(LANG(?description) = 'en')\n}\nLIMIT 100", "paraphrases": ["Who are the Nigerian politicians listed in the National Assembly with their English names and descriptions?", "List the English names and descriptions of all Nigerian members of the National Assembly along with their official ID numbers."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P4139> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_737", "question": "Current members of the Kenyan National Assembly with their political party and parliamentary term.", "sparql": "SELECT ?person ?party ?term ?start ?end WHERE { ?person p:P39 ?statement . ?statement (ps:P39/wdt:P279*) wd:Q17510786 ; pq:P580 ?start . OPTIONAL { ?statement pq:P4100 ?party . } OPTIONAL { ?statement pq:P2937 ?term . } OPTIONAL { ?statement pq:P582 ?end . } FILTER ( !BOUND(?end) || ?end > NOW() ) } ORDER BY ASC(?start) ASC(?end) LIMIT 100", "paraphrases": ["Who are the currently serving members of Kenya\u2019s National Assembly, and which parties and parliamentary terms are they associated with?", "List all active members of the Kenyan National Assembly, including their political party affiliation and the parliamentary term they serve in, sorted by when they started their term."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4Label ?var5 ?var5Label ?var6 ?var7 WHERE { ?var1 <http://www.wikidata.org/prop/P39> ?var8 . ?var8 ( <http://www.wikidata.org/prop/statement/P39> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q17510786> ; <http://www.wikidata.org/prop/qualifier/P580> ?var6 . OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P2937> ?var5 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P582> ?var7 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P768> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P31> ?var4 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P4100> ?var2 . } FILTER ( ( !( BOUND ( ?var7 ) ) || ( ?var7 > NOW ( ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY ASC( ?var6 )ASC( ?var7 )"}}
{"id": "test_738", "question": "What are the genera in the Canidae family and their ITIS, EoL, and IUCN IDs?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?var1Label ?var1 ?var2 ?var3 ?var4 WHERE {\n  ?var1 wdt:P31 wd:Q16521 .\n  ?var1 wdt:P171 wd:Q25324 .\n  ?var1 rdfs:label ?var1Label .\n  OPTIONAL {\n    ?var1 wdt:P815 ?var2 .\n  }\n  OPTIONAL {\n    ?var1 wdt:P830 ?var3 .\n  }\n  OPTIONAL {\n    ?var1 wdt:P627 ?var4 .\n  }\n  FILTER(LANG(?var1Label) = \"en\")\n}\nLIMIT 30", "paraphrases": ["Which taxonomic species or genera belong to the Canidae family, and what are their identifiers in the ITIS, Encyclopedia of Life, and IUCN databases?", "List the English names of all genera within the dog family (Canidae), along with their ITIS, Encyclopedia of Life, and IUCN Red List identifiers if available."], "info": {"raw_sparql": "SELECT ?var1Label ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16521> . ?var5 <http://www.wikidata.org/prop/direct/171> <http://www.wikidata.org/entity/Q25324> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P815> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P830> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P627> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 30"}}
{"id": "test_739", "question": "Does Guy Penrod have an IMDb ID of nm1579335?", "sparql": "ASK WHERE { ?person wdt:P345 \"nm1579335\" . }", "paraphrases": ["Is there a Wikidata item for the person with IMDb ID nm1579335?", "Check if the IMDb ID nm1579335 is linked to any person in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"nm1579335\". }"}}
{"id": "test_740", "question": "List members of the 26th South African Parliament with their electoral districts, parties, official URLs from pa.org.za, name variants, and seat numbers.", "sparql": "SELECT DISTINCT ?person ?nameVariant ?electoralDistrict ?party ?url ?seatNumber WHERE { ?person p:P39 ?positionStatement . ?positionStatement ps:P39 wd:Q16744266 ; pq:P2937 wd:Q18109299 . OPTIONAL { ?positionStatement pq:P768 ?electoralDistrict . } OPTIONAL { ?positionStatement pq:P4100 ?party . } OPTIONAL { wd:Q18109299 p:P31 ?termStatement . ?termStatement pq:P1545 ?seatNumber . } OPTIONAL { ?person p:P973 ?urlStatement . ?urlStatement ps:P973 ?url . OPTIONAL { ?urlStatement pq:P1810 ?nameVariant . } FILTER (CONTAINS(LCASE(STR(?url)), \"pa.org.za/\")) } }", "paraphrases": ["Who are the members of the 26th South African Parliament, and what are their constituencies, political parties, official webpages on pa.org.za, alternative names, and seat numbers?", "Please provide a list of all members of the 26th South African Parliament, including their electoral districts, party affiliations, official profile URLs from pa.org.za, any alternative names used in official records, and their seat numbers in the assembly."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { ?var1 <http://www.wikidata.org/prop/P39> ?var8 . ?var8 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q16744266> ; <http://www.wikidata.org/prop/qualifier/P2937> <http://www.wikidata.org/entity/Q18109299> . OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P768> ?var3 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P4100> ?var4 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P2937> ?var9 . OPTIONAL { ?var9 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/qualifier/P1545> ) ?var7 . } } OPTIONAL { ?var1 <http://www.wikidata.org/prop/P973> ?var10 . ?var10 <http://www.wikidata.org/prop/statement/P973> ?var5 . OPTIONAL { ?var10 <http://www.wikidata.org/prop/qualifier/P1810> ?var2 . } FILTER ( ( CONTAINS ( LCASE ( STR ( ?var5 ) ) , \"pa.org.za/\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/P973> ?var10 . ?var10 <http://www.wikidata.org/prop/qualifier/P973> ?var6 . FILTER ( ( CONTAINS ( LCASE ( STR ( ?var6 ) ) , \"string1\" ) ) ) . } }"}}
{"id": "test_741", "question": "Members of the 26th South African Parliament, their start and end dates, political parties, and alternate names.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT DISTINCT ?person ?personLabel ?startDate ?endDate ?party ?partyLabel ?seriesOrdinal ?alternateName WHERE {\n  ?person p:P39 ?statement .\n  ?statement ps:P39 wd:Q16744266 ; pq:P2937 wd:Q18109299 .\n  OPTIONAL {\n    ?statement pq:P580 ?startDate .\n  }\n  OPTIONAL {\n    ?statement pq:P582 ?endDate .\n  }\n  OPTIONAL {\n    ?statement pq:P4100 ?party .\n  }\n  OPTIONAL {\n    ?statement pq:P1545 ?seriesOrdinal .\n  }\n  OPTIONAL {\n    ?person wdt:P1559 ?alternateName .\n  }\n}", "paraphrases": ["Who were the members of the 26th South African Parliament, when did they serve, which parties did they belong to, and what are their alternate names?", "List all members of the 26th South African Parliament along with their term start and end dates, political party affiliations, and any known alternate names."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var5Label ?var6 ?var6Label ?var7 ?var7Label ?var8 WHERE { ?var1 <http://www.wikidata.org/prop/P39> ?var9 . ?var9 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q16744266> ; <http://www.wikidata.org/prop/qualifier/P2937> <http://www.wikidata.org/entity/Q18109299> . OPTIONAL { ?var9 <http://www.wikidata.org/prop/qualifier/P580> ?var3 . } OPTIONAL { ?var9 <http://www.wikidata.org/prop/qualifier/P582> ?var4 . } OPTIONAL { ?var9 <http://www.wikidata.org/prop/qualifier/P768> ?var5 . } OPTIONAL { ?var9 <http://www.wikidata.org/prop/qualifier/P4100> ?var6 . } OPTIONAL { ?var9 <http://www.wikidata.org/prop/qualifier/P2937> ?var7 . } OPTIONAL { ?var7 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/qualifier/P1545> ) ?var8 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P973> / <http://www.wikidata.org/prop/qualifier/P1810> ) ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_742", "question": "Electoral districts in Hungary established before 1990, their administrative regions, and dissolution dates.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?constituency ?constituencyLabel ?administrativeEntity ?administrativeEntityLabel ?inception ?dissolved WHERE {\n  ?constituency wdt:P17 wd:Q28 .\n  ?constituency wdt:P31 wd:Q192611 .\n  ?constituency wdt:P571 ?inception .\n  FILTER ( ?inception < \"1990-01-01T00:00:00Z\" ^^ xsd:dateTime ) OPTIONAL {\n    ?constituency wdt:P131 ?administrativeEntity .\n  }\n  OPTIONAL {\n    ?constituency wdt:P576 ?dissolved .\n  }\n  OPTIONAL {\n    ?constituency rdfs:label ?constituencyLabel .\n    FILTER ( LANG( ?constituencyLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?administrativeEntity rdfs:label ?administrativeEntityLabel .\n    FILTER ( LANG( ?administrativeEntityLabel ) = \"en\" )\n  }\n}\nLIMIT 100", "paraphrases": ["What are the electoral districts in Hungary that were created before 1990, and in which counties were they located? Also, when were they dissolved?", "List all Hungarian electoral districts founded before 1990, including the administrative counties they belonged to and their dissolution dates, with English labels where available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"hu,en\". } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q28> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q192611> . ?var1 <http://www.wikidata.org/prop/direct/P571> ?var5 . FILTER ( ( ( ?var5 < \"1990-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P576> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . } } LIMIT 100"}}
{"id": "test_743", "question": "What colors are associated with different types of fruit?", "sparql": "SELECT DISTINCT ?fruitLabel ?colorLabel WHERE { ?fruit wdt:P279 wd:Q3314483 . ?fruit rdfs:label ?fruitLabel . FILTER(LANG(?fruitLabel) = \"en\") . ?fruit wdt:P462 ?color . ?color rdfs:label ?colorLabel . FILTER(LANG(?colorLabel) = \"en\") . } LIMIT 100", "paraphrases": ["What are the common colors of fruits like apple, avocado, and strawberry?", "List all fruits and their associated colors in English."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2Label WHERE { ?var3 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q3314483> . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . ?var3 <http://www.wikidata.org/prop/direct/P462> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_744", "question": "Italian labels of properties linking cabbage to their values, along with value counts and value labels.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(SAMPLE(?propertyLabel) AS ?propertyLabelIt)(COUNT(?value) AS ?valueCount)(GROUP_CONCAT(?valueLabel ; SEPARATOR = \", \") AS ?valueLabelsIt) WHERE {\n  wd:Q35051 ?property ?value .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?propertyLabel .\n  FILTER(LANG(?propertyLabel) = \"it\")\n  .\n  ?value rdfs:label ?valueLabel .\n  FILTER(LANG(?valueLabel) = \"it\")\n}\nGROUP BY ?property", "paraphrases": ["What properties connect cabbage to other entities in Wikidata, and what are their Italian labels, how many values do they have, and what are those values called in Italian?", "Show me all properties that link cabbage to other items, including their Italian names, the number of associated values, and the Italian labels of those values."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q35051> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"it\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"it\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_745", "question": "Swiss Federal Council elections since 1980", "sparql": "SELECT ?election ?electionLabel WHERE { ?election wdt:P31 wd:Q1006573 . ?election rdfs:label ?electionLabel . FILTER(LANG(?electionLabel) = \"en\") }", "paraphrases": ["What are the Swiss Federal Council elections that have been held?", "List all the Swiss Federal Council elections with their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1006573> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_746", "question": "What are the types of bodies of water and their direct parent classes in Wikidata?", "sparql": "SELECT ?subclass ?subclassLabel ?directParent WHERE { wd:Q15324 wdt:P279* ?subclass . OPTIONAL { ?subclass wdt:P279 ?directParent . } ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") }", "paraphrases": ["What subclasses of \"body of water\" exist, and what is their immediate superclass?", "List all kinds of water bodies (like lakes, rivers, estuaries) and their direct parent categories in the hierarchy."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { <http://www.wikidata.org/entity/Q15324> <http://www.wikidata.org/prop/direct/P279> * ?var1 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q15324> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_747", "question": "Top artists who painted house cats, ranked by number of paintings.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?artist ?artistLabel ( COUNT( ?painting ) AS ?count ) WHERE {\n  ?painting wdt:P31 wd:Q3305213 .\n  ?painting wdt:P170 ?artist .\n  ?painting wdt:P180 wd:Q146 .\n  ?artist rdfs:label ?artistLabel .\n  FILTER ( LANG( ?artistLabel ) = \"en\" )\n}\nGROUP BY ?artist ?artistLabel\nORDER BY DESC ( ?count )\nLIMIT 1000", "paraphrases": ["Which artists have created the most paintings featuring house cats, and how many such paintings did each make?", "Show me the 1000 artists with the most paintings of house cats, along with their names and the count of such paintings."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . ?var2 <http://www.wikidata.org/prop/direct/P170> ?var1 . ?var2 <http://www.wikidata.org/prop/direct/P180> <http://www.wikidata.org/entity/Q146> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru,en\". } } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var3 ) LIMIT 1000"}}
{"id": "test_748", "question": "Does the watch (Q178794) have the GND ID 4002937-2?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  wd:Q178794 wdt:P227 \"4002937-2\" .\n}", "paraphrases": ["Is the German National Library ID (GND) for the item 'watch' equal to 4002937-2?", "Confirm that the watch is identified by the GND ID 4002937-2 in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"4002937-2\". }"}}
{"id": "test_749", "question": "Categories of Swiss people that are related to political party membership", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?var1 ?var1Label WHERE {\n  ?var1 wdt:P971 wd:Q5 .\n  ?var1 wdt:P971 wd:Q39 .\n  ?var1 p:P971 [ ps:P971 [] ; pq:P1659 wd:P102 ] .\n  ?var1 rdfs:label ?var1Label .\n  FILTER(LANG(?var1Label) = \"en\")\n}", "paraphrases": ["What categories combine Swiss people and political party membership?", "List English-labeled categories of Swiss individuals that are associated with the property \"member of political party\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P971> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P971> <http://www.wikidata.org/entity/Q39> . ?var1 <http://www.wikidata.org/prop/P971> [ <http://www.wikidata.org/prop/statement/P971> ?var3 ; <http://www.wikidata.org/prop/qualifier/P1659> <http://www.wikidata.org/entity/P102> ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_750", "question": "People educated at Chilean universities with Spanish labels.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?universityLabel WHERE {\n  ?university wdt:P31 wd:Q3918 .\n  ?university wdt:P17 wd:Q298 .\n  ?university rdfs:label ?universityLabel .\n  ?person wdt:P69 ?university .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"es\")\n  FILTER(LANG(?universityLabel) = \"es\")\n}", "paraphrases": ["Who are the people educated at universities in Chile, and what are the names of those universities, both in Spanish?", "List the Spanish-language names of people and the Chilean universities they attended."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3918> . ?var3 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q298> . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var4 <http://www.wikidata.org/prop/direct/P69> ?var3 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . ?var4 <http://www.wikidata.org/prop/direct/p560> ?var3 . ?var4 <http://www.w3.org/2000/01/rdf-schema#lalabel> ?var5 . FILTER ( ( ( LANG ( ?var1 ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var2 ) = \"es\" ) ) ) . }"}}
{"id": "test_751", "question": "What Wikidata item has the GND ID 4076570-2?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P227 \"4076570-2\" .\n}\nLIMIT 1", "paraphrases": ["Which concept in Wikidata is identified by the German National Library ID 4076570-2?", "I need to find the entity in Wikidata linked to the GND authority record 4076570-2 \u2014 what is it?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"4076570-2\". } LIMIT 1"}}
{"id": "test_752", "question": "What is the most specific shared category (in the subclass hierarchy) between the Australia men's national soccer team and the Holland Tunnel?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?ancestor(?dist1 + ?dist2 AS ?totalDist) WHERE {\n  {\n    SELECT ?ancestor1(COUNT(?mid1) AS ?dist1) WHERE {\n      wd:Q268208 wdt:P31 ?type1 .\n      ?type1 wdt:P279 + ?mid1 .\n      ?mid1 wdt:P279 * ?ancestor1 .\n      FILTER(?ancestor1 != ?type1)\n    }\n    GROUP BY ?ancestor1\n    ORDER BY ASC(?dist1)\n  }\n  {\n    SELECT ?ancestor2(COUNT(?mid2) AS ?dist2) WHERE {\n      wd:Q125753 wdt:P31 ?type2 .\n      ?type2 wdt:P279 + ?mid2 .\n      ?mid2 wdt:P279 * ?ancestor2 .\n      FILTER(?ancestor2 != ?type2)\n    }\n    GROUP BY ?ancestor2\n    ORDER BY ASC(?dist2)\n  }\n  FILTER(?ancestor1 = ?ancestor2)\n  BIND(?ancestor1 AS ?ancestor)\n}\nORDER BY ASC(?totalDist)\nLIMIT 1", "paraphrases": ["Which Wikidata class is the closest common ancestor of the Australia men's national soccer team and the Holland Tunnel, based on their type hierarchies?", "Find the entity that both the Holland Tunnel and the Australia men's national soccer team are most closely related to through their subclass chains, minimizing the total distance in the hierarchy."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q268208> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q125753> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_753", "question": "Does the Olympic.org athlete ID \"lilly-king\" exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?athlete wdt:P3171 \"lilly-king\" .\n}", "paraphrases": ["Is there an athlete in Wikidata with the Olympic.org identifier \"lilly-king\"?", "Confirm if the swimmer Lilly King\u2019s Olympic.org ID is recorded as \"lilly-king\" in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3171> \"lilly-king\". }"}}
{"id": "test_754", "question": "List all known names of people who were members of the Nazi Party.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?label WHERE {\n  ?person wdt:P102 wd:Q7320 ; rdfs:label ?label .\n}", "paraphrases": ["Who were the members of the Nazi Party, and what are their names in different languages?", "Show me the multilingual labels of all individuals recorded in Wikidata as having been members of the Nazi Party."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P102> <http://www.wikidata.org/entity/Q7320> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . }"}}
{"id": "test_755", "question": "Which cities have a mayor whose first name matches the name of a larger city?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?city ?cityPopulation ?mayor ?givenName ?matchingCity ?matchingCityPopulation WHERE {\n  ?city wdt:P31 / wdt:P279 * wd:Q515 ; wdt:P1082 ?cityPopulation ; wdt:P6 ?mayor .\n  ?mayor wdt:P31 wd:Q5 ; wdt:P735 ?givenName .\n  ?givenName rdfs:label ?nameLabel .\n  ?matchingCity wdt:P31 / wdt:P279 * wd:Q515 ; wdt:P1082 ?matchingCityPopulation ; rdfs:label ?nameLabel .\n  FILTER(?matchingCityPopulation > ?cityPopulation)\n}\nLIMIT 100", "paraphrases": ["Find cities where the mayor\u2019s given name is also the name of another city, and that other city has a higher population than the original city.", "Show me cities whose mayor\u2019s first name is shared by a bigger city."], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> ; <http://www.wikidata.org/prop/direct/P1082> ?var2 ; <http://www.wikidata.org/prop/direct/P6> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P735> ?var4 . ?var4 ( <http://www.w3.org/2000/01/rdf-schema#label> /^ <http://www.w3.org/2000/01/rdf-schema#label> ) ?var5 . ?var5 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> ; <http://www.wikidata.org/prop/direct/P1082> ?var6 . FILTER ( ( ( ?var6 > ?var2 ) ) ) . } LIMIT 100"}}
{"id": "test_756", "question": "What are the aediculae with the most Wikipedia articles about them?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?aedicula(COUNT(?wikipage) AS ?sitelinkCount) WHERE {\n  ?aedicula wdt:P31 wd:Q507286 .\n  ?wikipage schema:about ?aedicula ; schema:isPartOf ?wikipedia .\n  FILTER(STRSTARTS(STR(?wikipedia) , \"https://\"))\n}\nGROUP BY ?aedicula\nORDER BY DESC(?sitelinkCount)\nLIMIT 500", "paraphrases": ["List the top 500 aediculae ordered by how many language versions of Wikipedia have articles on them.", "Which small shrines or aediculae are most widely covered across Wikipedia, and how many language editions cover each?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q507286> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 500"}}
{"id": "test_757", "question": "Estonian cultural monuments with English labels", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?monument ?monumentLabel WHERE {\n  ?monument wdt:P2948 [] .\n  ?monument rdfs:label ?monumentLabel .\n  FILTER(LANG(?monumentLabel) = \"en\")\n}", "paraphrases": ["What are the Estonian cultural monuments registered in the national registry, and what are their English names?", "List the English names of all cultural monuments in Estonia that have an official identifier in the Estonian national registry."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2948> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"et,en\". } }"}}
{"id": "test_758", "question": "List all goat breeds in Wikidata.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?breed ?breedLabel WHERE {\n  ?breed wdt:P31 wd:Q15622387 .\n  ?breed rdfs:label ?breedLabel .\n  FILTER(LANG(?breedLabel) = 'en')\n}\nORDER BY ?breedLabel", "paraphrases": ["What are the names of goat breeds documented in Wikidata?", "Show me the English labels of all known goat breeds."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2934> . FILTER ( ( REGEX ( ?var1Label , \"%s\", \"i\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_759", "question": "What class is broccoli an instance of?", "sparql": "SELECT ?classLabel WHERE { wd:Q47722 wdt:P31 ?class . ?class rdfs:label ?classLabel . FILTER(LANG(?classLabel) = \"en\") }", "paraphrases": ["What is the taxonomic category of broccoli according to Wikidata?", "Show the English label of the class that broccoli belongs to as an instance."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { <http://www.wikidata.org/entity/Q47722> <http://www.wikidata.org/prop/direct/P31> ?var1 . }"}}
{"id": "test_760", "question": "Which film has the elCinema ID 2041600?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P3135 \"2041600\" .\n}", "paraphrases": ["What is the film associated with the elCinema identifier 2041600?", "Find the movie in Wikidata that is identified by elCinema ID 2041600."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3135> \"2041600\". }"}}
{"id": "test_761", "question": "Airports in Germany with elevation over 100 meters and their coordinates", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?airport ?airportLabel ?coordinates WHERE {\n  ?airport wdt:P31 wd:Q1248784 .\n  ?airport wdt:P17 wd:Q183 .\n  ?airport rdfs:label ?airportLabel .\n  FILTER ( LANG( ?airportLabel ) = 'en' ) .\n  ?airport wdt:P2044 ?elevation .\n  FILTER ( ?elevation > 100 ) .\n  OPTIONAL {\n    ?airport wdt:P625 ?coordinates .\n  }\n}\nORDER BY ASC ( ?airportLabel )", "paraphrases": ["Which airports in Germany are located higher than 100 meters above sea level, and what are their coordinates?", "List the names and coordinates of all airports in Germany that are situated at an elevation greater than 100 meters."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1248784> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } FILTER ( ( ( ?var3 > \"100\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,de\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_762", "question": "Which Wikidata item has the Twitter username \"envlh\", and how many Wikipedia sitelinks does it have?", "sparql": "SELECT ?item ?username (COUNT(?sitelink) AS ?sitelinkCount) WHERE { ?item wdt:P2002 ?username . FILTER(?username = \"envlh\") . ?sitelink schema:about ?item ; schema:isPartOf ?site . FILTER(STRSTARTS(STR(?site), \"http\")) } GROUP BY ?item ?username ORDER BY ASC(?sitelinkCount)", "paraphrases": ["Who is the person with the Twitter handle \"envlh\" on Wikidata, and how many language versions of Wikipedia link to their page?", "Show me the Wikidata entity for the Twitter username \"envlh\" along with the number of Wikipedia sites that link to it."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"Jules78120\" ) ( \"PaulNeau\" ) ( \"string1\" ) ( \"jbdDamage\" ) ( \"Signez\" ) ( \"string2\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_763", "question": "What is the most specific shared category in the subclass hierarchy between the Australia men's national soccer team and Cincinnati?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?ancestor(?dist1 + ?dist2 AS ?totalDistance) WHERE {\n  {\n    SELECT ?ancestor(COUNT(?step) AS ?dist1) WHERE {\n      wd:Q6979593 wdt:P279 + ?step .\n      BIND(?step AS ?ancestor)\n    }\n    GROUP BY ?ancestor\n  }\n  {\n    SELECT ?ancestor(COUNT(?step) AS ?dist2) WHERE {\n      wd:Q1093829 wdt:P279 + ?step .\n      BIND(?step AS ?ancestor)\n    }\n    GROUP BY ?ancestor\n  }\n}\nORDER BY ASC(?totalDistance)\nLIMIT 1", "paraphrases": ["What is the common ancestor with the shortest total path length in the subclass tree for the Australia men's national soccer team and the city of Cincinnati?", "What is the highest-level category that both the Australia men's national soccer team and Cincinnati belong to through their type hierarchies?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q268208> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q43196> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_764", "question": "List of tank locomotives and their countries", "sparql": "SELECT ?locomotive ?locomotiveLabel ?country WHERE { ?locomotive wdt:P31 wd:Q785745 . OPTIONAL { ?locomotive wdt:P17 ?country . } ?locomotive rdfs:label ?locomotiveLabel . FILTER(LANG(?locomotiveLabel) = \"en\") }", "paraphrases": ["What are the tank locomotives and which countries are they associated with?", "Show me all tank locomotives with their names and the countries they belong to, using English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q785745> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . } } LIMIT 1000"}}
{"id": "test_765", "question": "What teams did Nicolas Anelka play for, and when did he join each team?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?team ?teamLabel ?startTime WHERE {\n  wd:Q1939 wdt:P54 ?team .\n  OPTIONAL {\n    ?teamStatement ps:P54 ?team ; pq:P580 ?startTime .\n  }\n  ?team rdfs:label ?teamLabel .\n  FILTER ( LANG( ?teamLabel ) = \"en\" )\n}", "paraphrases": ["Show the clubs Nicolas Anelka was a member of along with the start dates of his memberships.", "For each football club Nicolas Anelka played for, what is the earliest or possible start year of his tenure?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } <http://www.wikidata.org/entity/Q1939> <http://www.wikidata.org/prop/direct/P54> ?var1 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P580> * ?var1 . } }"}}
{"id": "test_766", "question": "Railway stations in Spain with Wikipedia pages and coordinates", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?station(SAMPLE(?coord) AS ?coordinate)(SAMPLE(?wikipediaPage) AS ?wikipediaUrl) ?label WHERE {\n  ?station wdt:P31 / wdt:P279 * wd:Q55488 .\n  ?station wdt:P17 wd:Q29 .\n  ?wikipediaPage schema:about ?station ; schema:isPartOf <https://en.wikipedia.org/> .\n  OPTIONAL {\n    ?station wdt:P625 ?coord .\n  }\n  ?station rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nGROUP BY ?station ?label", "paraphrases": ["What are the railway stations in Spain, their locations, and corresponding English Wikipedia pages?", "List all railway stations in Spain, including their geographic coordinates and links to their English Wikipedia articles."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var3 )( SAMPLE ( ?var4 ) AS ?var5 ) ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var6 . ?var1 ?var7 <http://www.wikidata.org/entity/Q29> . ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var8 . } ?var6 <http://www.wikidata.org/prop/direct/P279> ?var9 . FILTER ( ( ?var6 IN ( <http://www.wikidata.org/entity/Q55488> , <http://www.wikidata.org/entity/Q719456> ) || ?var9 IN ( <http://www.wikidata.org/entity/Q55488> , <http://www.wikidata.org/entity/Q719456> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } GROUP BY ?var1 ?var1Label"}}
{"id": "test_767", "question": "What are the names of universities in Jordan and when were they founded?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?universityLabel ?inceptionDate WHERE {\n  ?university wdt:P31 wd:Q3918 .\n  ?university wdt:P17 wd:Q810 .\n  OPTIONAL {\n    ?university wdt:P571 ?inceptionDate .\n  }\n  ?university rdfs:label ?universityLabel .\n  FILTER(LANG(?universityLabel) = \"en\")\n}", "paraphrases": ["List English-labeled universities in Jordan along with their establishment dates, if available.", "Which educational institutions in Jordan are classified as universities, and what are their founding years?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3918> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q810> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var2 . } }"}}
{"id": "test_768", "question": "Which film has the elCinema ID 2000038?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P3135 \"2000038\" .\n}", "paraphrases": ["What is the name of the movie identified by the elCinema film ID 2000038?", "Tell me the title of the film with elCinema ID 2000038."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3135> \"2000038\". }"}}
{"id": "test_769", "question": "What are two different tennis-related regional sports in the same country?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var1 ?var2 ?var3 WHERE {\n  ?var1 wdt:P31 wd:Q29791211 ; wdt:P641 wd:Q847 ; wdt:P17 ?var3 .\n  ?var1 rdfs:label ?label1\n  FILTER(LANG(?label1) = \"en\")\n  .\n  ?var2 wdt:P31 wd:Q29791211 ; wdt:P641 wd:Q847 ; wdt:P17 ?var3 .\n  ?var2 rdfs:label ?label2\n  FILTER(LANG(?label2) = \"en\")\n  .\n  FILTER(?var2 != ?var1)\n}", "paraphrases": ["Can you list pairs of tennis events in different regions that are both held in the same country?", "Show me examples of countries where more than one type of tennis activity (e.g., \"tennis in X\" or \"women's tennis in X\") is recognized as a distinct entity."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q29791211> ; <http://www.wikidata.org/prop/direct/P641> <http://www.wikidata.org/entity/Q847> . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q29791211> ; <http://www.wikidata.org/prop/direct/P641> <http://www.wikidata.org/entity/Q847> . ?var2 <http://www.wikidata.org/prop/direct/P17> ?var3 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( ?var2 != ?var1 ) ) ) . }"}}
{"id": "test_770", "question": "What is the Wikidata item for the mode of transport called \"train\"?", "sparql": "SELECT DISTINCT ?entity WHERE { ?entity rdfs:label \"train\"@en ; wdt:P31 wd:Q334166 . }", "paraphrases": ["Which Wikidata entity represents the train as a mode of transport?", "Find the Wikidata ID for the train (mode of transport) with the English label \"train\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"train\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10"}}
{"id": "test_771", "question": "Tennis demonstration events at the 1968 Summer Olympics", "sparql": "SELECT DISTINCT ?event WHERE { ?event (wdt:P31/wdt:P279*) wd:Q46190676 ; rdfs:label ?label . FILTER(REGEX(STR(?label), \"[Dd]emo\")) }", "paraphrases": ["What tennis events at the 1968 Summer Olympics were held as demonstration events?", "List all tennis events labeled with \"demo\" that are instances or subclasses of a tennis event."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q46190676> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( REGEX ( STR ( ?var3Label ) , \"[Dd]emo\" ) ) ) . }"}}
{"id": "test_772", "question": "Which properties link external resources to the LW6/8 para-skiing classification more than once?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(COUNT(?item) AS ?count) WHERE {\n  ?item ?property wd:Q6460351 .\n}\nGROUP BY ?property\nHAVING(?count > 1)\nORDER BY DESC(?count)", "paraphrases": ["How many Wikipedia articles and other pages are associated with the LW6/8 para-skiing classification, and which property connects them?", "Show me the properties that connect multiple web pages to the LW6/8 skiing classification, ordered by how often they\u2019re used."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q6460351> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_773", "question": "What are the broader categories that the Great Northern Railway 5000-class locomotive belongs to?", "sparql": "SELECT DISTINCT ?superclass WHERE { wd:Q1486098 wdt:P279+ ?superclass . }", "paraphrases": ["What classes is the Great Northern Railway 5000-class a subclass of?", "Can you list all the parent categories in the hierarchy above the Great Northern Railway 5000-class electric locomotive?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q1486098> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_774", "question": "Lakes in Chinese names", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?lake ?lakeLabel WHERE {\n  {\n    ?lake wdt:P31 wd:Q23397 .\n  } UNION {\n    ?lake wdt:P279 wd:Q23397 .\n  }\n  ?lake rdfs:label ?lakeLabel .\n  FILTER ( LANG( ?lakeLabel ) = \"zh\" )\n}\nLIMIT 100", "paraphrases": ["What are the names of lakes in Chinese?", "List lakes that are instances or subclasses of \"lake\" and have Chinese labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q23397> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"zh\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"zh\" ) ) ) . } LIMIT 100"}}
{"id": "test_775", "question": "Who has the IMDb ID nm0862616?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person WHERE {\n  ?person wdt:P345 \"nm0862616\" .\n}", "paraphrases": ["Which person is associated with the IMDb identifier nm0862616?", "Find the Wikidata item for the IMDb ID nm0862616."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"nm0862616\". }"}}
{"id": "test_776", "question": "Person with IMDb ID nm0604335", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P345 \"nm0604335\" .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}", "paraphrases": ["Who is the person identified by the IMDb ID nm0604335?", "Tell me the name of the person whose IMDb ID is nm0604335."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"nm0604335\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,de,en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . <http://www.wikidata.org/entity/Q123> <http://www.w3.org/2004/02/skos/core#altLabel> ?var2 . <http://www.wikidata.org/entity/Q123> <http://schema.org/description> ?var3 . <http://www.wikidata.org/entity/Q321> <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . } }"}}
{"id": "test_777", "question": "Who are the athletes that joined a sports team in 2006?", "sparql": "PREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?var1Label WHERE {\n  ?var1 wdt:P31 wd:Q5 ; wdt:P54 ?team .\n  ?var1 p:P54 ?statement .\n  ?statement pq:P580 ?startDate .\n  FILTER(YEAR(?startDate) = 2006)\n  .\n  ?var1 rdfs:label ?var1Label .\n  FILTER(LANG(?var1Label) = \"en\")\n}", "paraphrases": ["List all athletes whose membership in a sports team began in the year 2006.", "Which players started playing for a team in 2006?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P54> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P54> \"2006\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_778", "question": "What are the names of universities in Chile in Spanish?", "sparql": "SELECT ?label WHERE { ?university wdt:P31 wd:Q3918 . ?university wdt:P17 wd:Q298 . ?university rdfs:label ?label . FILTER (LANG(?label) = \"es\") }", "paraphrases": ["Can you list the Spanish-language labels of all universities located in Chile?", "Show me the Spanish names of educational institutions in Chile that are classified as universities."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3918> . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . ?var3 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q298> . FILTER ( ( ( LANG ( ?var1 ) = \"es\" ) ) ) . }"}}
{"id": "test_779", "question": "What is the gender of the cat actor Orangey?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?gender ?genderLabel WHERE {\n  wd:Q677525 wdt:P21 ?gender .\n  ?gender rdfs:label ?genderLabel .\n  FILTER ( LANG( ?genderLabel ) = \"en\" )\n}\nLIMIT 50", "paraphrases": ["What is the English label for the biological sex of Orangey, the famous cat actor?", "Can you tell me the sex or gender classification of Orangey and its English name in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q677525> <http://www.wikidata.org/prop/direct/P21> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } LIMIT 50"}}
{"id": "test_780", "question": "Who is the person with Great Russian Encyclopedia Online ID 3288142, and what is their English description?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P2924 \"3288142\" . OPTIONAL { ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") } OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["What is the name and English description of the individual identified by the ID 3288142 in the Great Russian Encyclopedia (old version)?", "Find the English label and description of the person listed in the Great Russian Encyclopedia with ID 3288142."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"3288142\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_781", "question": "Railway stations in Italy with coordinates and Wikipedia pages", "sparql": "SELECT ?station ?stationLabel ?coordinates ?wikipediaPage WHERE { ?station wdt:P31 wd:Q55488 . ?station wdt:P17 wd:Q38 . ?wikipediaPage schema:about ?station . ?wikipediaPage schema:isPartOf <https://en.wikipedia.org/> . ?station rdfs:label ?stationLabel . FILTER(LANG(?stationLabel) = \"en\") OPTIONAL { ?station wdt:P625 ?coordinates . } } ORDER BY ASC(?stationLabel) LIMIT 5", "paraphrases": ["What are the railway stations in Italy, their locations, and corresponding English Wikipedia articles?", "List the first five English-named railway stations in Italy along with their geographic coordinates and Wikipedia links."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q55488> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q38> . ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } } ORDER BY ASC( ?var1Label ) LIMIT 5"}}
{"id": "test_782", "question": "Spanish-named universities in Chile with their coordinates.", "sparql": "SELECT ?university ?label ?coordinates WHERE { ?university wdt:P31 wd:Q3918 . ?university rdfs:label ?label . ?university wdt:P17 wd:Q298 . ?university wdt:P625 ?coordinates . FILTER (LANG(?label) = \"es\") } LIMIT 100", "paraphrases": ["What are the Spanish-language names and geographic coordinates of universities in Chile?", "List all universities in Chile that have Spanish labels along with their coordinates."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3918> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q298> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . FILTER ( ( ( LANG ( ?var2 ) = \"es\" ) ) ) . } LIMIT 100"}}
{"id": "test_783", "question": "Transport hubs that serve Dresden", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?transportHub WHERE {\n  ?transportHub p:P931 ?statement .\n  ?statement ps:P931 wd:Q1731 .\n}\nLIMIT 101", "paraphrases": ["Which airport or transport hub serves the city of Dresden?", "List all transport hubs that have Dresden as a served location."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P931> <http://www.wikidata.org/entity/Q1731> . ?var1 <http://www.wikidata.org/prop/P931> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_784", "question": "Who are the members of the National Council of Austria who belong to the Social Democratic Party of Austria?", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P39 wd:Q17535155 . ?person wdt:P102 wd:Q179111 . }", "paraphrases": ["Members of the Austrian National Council affiliated with the SP\u00d6.", "List all politicians serving in the Austrian National Council who are members of the Social Democratic Party of Austria."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q17535155> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var1 <http://www.wikidata.org/prop/direct/P1416> <http://www.wikidata.org/entity/Q179111> . }"}}
{"id": "test_785", "question": "Private universities in Spain, their founding year, and location", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?year ?universityLabel ?locationLabel WHERE {\n  ?university wdt:P31 wd:Q902104 ; wdt:P17 wd:Q29 ; wdt:P131 ?location ; wdt:P571 ?date .\n  BIND( YEAR( ?date ) AS ?year ) .\n  ?university rdfs:label ?universityLabel .\n  ?location rdfs:label ?locationLabel .\n  FILTER ( LANG( ?universityLabel ) = \"en\" ) FILTER ( LANG( ?locationLabel ) = \"en\" )\n}\nORDER BY ASC ( ?year )", "paraphrases": ["What are the private universities in Spain, when were they founded, and in which cities are they located?", "List all private universities in Spain along with their founding year and the city they are in, sorted by founding year."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label ?var4Label WHERE { BIND ( YEAR ( ?var5 ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q902104> . ?var2 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q29> . ?var2 <http://www.wikidata.org/prop/direct/P706> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P276> ?var4 . ?var2 <http://www.wikidata.org/prop/direct/P571> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } } ORDER BY ASC( ?var5 )"}}
{"id": "test_786", "question": "Scholarly articles about new species described on Species Wiki, with their citation templates and page URLs.", "sparql": "SELECT ?article ?articleLabel ?wikiTitle ?wikiPage WHERE { ?wikiPage schema:isPartOf <https://species.wikimedia.org/> ; schema:about ?article ; schema:name ?wikiTitle . MINUS { ?article (wdt:P31/wdt:P279*) wd:Q16521 . } MINUS { ?article wdt:P31 wd:Q5 . } MINUS { ?article wdt:P31 wd:Q4167410 . } MINUS { ?article (wdt:P31/wdt:P279*) wd:Q33506 . } MINUS { ?article wdt:P31 wd:Q427626 . } MINUS { ?article (wdt:P31/wdt:P279*) wd:Q1002697 . } MINUS { ?article (wdt:P31/wdt:P279*) wd:Q17442446 . } MINUS { ?article (wdt:P31/wdt:P279*) wd:Q1664720 . } MINUS { ?article (wdt:P31/wdt:P279*) wd:Q43229 . } MINUS { ?article wdt:P31 wd:Q18575734 . } MINUS { ?article wdt:P31 wd:Q17276484 . } MINUS { ?article wdt:P31 wd:Q17487588 . } MINUS { ?article wdt:P31 wd:Q235536 . } MINUS { ?article wdt:P31 wd:Q502895 . } MINUS { ?article wdt:P31 wd:Q21469493 . } MINUS { ?article wdt:P31 wd:Q571 . } MINUS { ?article wdt:P31 wd:Q277759 . } ?article rdfs:label ?articleLabel . FILTER(LANG(?articleLabel) = \"en\") }", "paraphrases": ["What scientific publications about new taxa are referenced on Species Wiki, and what are their titles and corresponding wiki pages?", "List the English-labeled scientific articles about species discoveries that are linked from Species Wiki pages, along with the page titles and URLs, excluding taxa, humans, books, and other non-publication entities."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var3 <http://schema.org/isPartOf> <https://species.wikimedia.org/> ; <http://schema.org/about> ?var1 ; <http://schema.org/name> ?var2 . MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q16521> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167410> . } MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q33506> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q427626> . } MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1002697> . } MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q17442446> . } MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1664720> . } MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q43229> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q18575734> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q17276484> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q17487588> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q235536> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q502895> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q21469493> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q571> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q277759> . } MINUS { ?var1 <http://wikiba.se/ontology#statements> \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> . } MINUS { ?var1 <http://wikiba.se/ontology#sitelinks> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs,en\". } }"}}
{"id": "test_787", "question": "What Wikipedia and Wikiquote pages in English or German are about the TV show with IMDb ID tt0821375?", "sparql": "SELECT ?item ?page WHERE { ?item wdt:P345 \"tt0821375\" . ?page schema:about ?item . VALUES ?lang { \"en\" \"de\" } ?page schema:inLanguage ?lang . }", "paraphrases": ["Show me the language-specific external pages (Wikipedia/Wikiquote) linked to the IMDb entry tt0821375, limited to English and German.", "Which language versions of Wikipedia and Wikiquote have articles about The Sarah Silverman Program (tt0821375)?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0821375\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_788", "question": "What are the railway stations adjacent to Brest station, up to five stops away?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?station ?stationLabel WHERE {\n  {\n    wd:Q2255490 wdt:P197 ?station .\n  } UNION {\n    wd:Q2255490 wdt:P197 ?step1 .\n    ?step1 wdt:P197 ?station .\n  } UNION {\n    wd:Q2255490 wdt:P197 ?step1 .\n    ?step1 wdt:P197 ?step2 .\n    ?step2 wdt:P197 ?station .\n  } UNION {\n    wd:Q2255490 wdt:P197 ?step1 .\n    ?step1 wdt:P197 ?step2 .\n    ?step2 wdt:P197 ?step3 .\n    ?step3 wdt:P197 ?station .\n  } UNION {\n    wd:Q2255490 wdt:P197 ?step1 .\n    ?step1 wdt:P197 ?step2 .\n    ?step2 wdt:P197 ?step3 .\n    ?step3 wdt:P197 ?step4 .\n    ?step4 wdt:P197 ?station .\n  }\n  ?station rdfs:label ?stationLabel .\n  FILTER ( ?station != wd:Q2255490 )\n}", "paraphrases": ["Can you list all train stations that can be reached from Brest railway station by traveling through neighboring stations?", "Show me the network of stations connected to Brest station via direct or indirect rail connections."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2255490> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"100\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> \"100\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P197> . } } UNION { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2255490> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Reverse\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"100\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> \"100\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P197> . } } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P197> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_789", "question": "What positions has Boris Johnson held?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?position WHERE {\n  wd:Q180589 wdt:P39 ?position\n}", "paraphrases": ["List all the official roles Boris Johnson has occupied.", "What are the political offices held by Boris Johnson?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q2752128> <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q13423495> . }"}}
{"id": "test_790", "question": "What English and German-language Wikipedia and Wikiquote pages are about the TV series *Joey* (IMDb ID: tt0375355)?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?page WHERE {\n  VALUES ?imdbId {\n    \"tt0375355\"\n  }\n  ?item wdt:P345 ?imdbId .\n  {\n    ?page schema:about ?item ; schema:inLanguage \"en\" .\n  } UNION {\n    ?page schema:about ?item ; schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Show me the external pages in English or German that discuss the TV show Joey, identified by its IMDb ID tt0375355.", "Which language versions of Wikipedia and Wikiquote have articles about the TV series Joey with IMDb identifier tt0375355?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0375355\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_791", "question": "Wikidata item with GND ID 4094703-8", "sparql": "SELECT ?item WHERE { ?item wdt:P227 \"4094703-8\" . } LIMIT 1", "paraphrases": ["Which Wikidata item has the GND ID 4094703-8?", "Tell me the entity in Wikidata that is identified by the GND ID 4094703-8."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"4094703-8\". } LIMIT 1"}}
{"id": "test_792", "question": "What is the English label and description of the Great Russian Encyclopedia entry with ID 1878973?", "sparql": "SELECT ?item ?itemLabel ?desc WHERE {\n  ?item wdt:P2924 \"1878973\" .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER(LANG(?itemLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?item schema:description ?desc .\n    FILTER(LANG(?desc) = \"en\")\n  }\n}", "paraphrases": ["Who is the person linked to the Great Russian Encyclopedia Online ID 1878973, and what is their English description?", "Please provide the English name and description of the entity identified by 1878973 in the Great Russian Encyclopedia Online (old version)."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"3506894\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_793", "question": "Airports in Switzerland and their coordinates", "sparql": "SELECT DISTINCT ?airport ?coordinates WHERE { ?airport wdt:P31 wd:Q1248784 . ?airport wdt:P17 wd:Q39 . ?airport wdt:P625 ?coordinates .}", "paraphrases": ["What are the geographic coordinates of all airports in Switzerland?", "List all airports located in Switzerland along with their latitude and longitude coordinates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1248784> . ?var1 ?var3 <http://www.wikidata.org/entity/Q39> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . }"}}
{"id": "test_794", "question": "List all villages in Estonia with their EHAK IDs, coordinates, Freebase IDs, and English and Estonian names.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nSELECT DISTINCT ?ehakId ?labelEn ?labelEt ?latitude ?longitude ?freebaseId WHERE {\n  ?village(wdt:P31 / wdt:P279 *) wd:Q532 .\n  ?village wdt:P1140 ?ehakId .\n  ?village wdt:P131 ?adminEntity .\n  ?village p:P625 ?statement .\n  ?statement psv:P625 ?coordValue .\n  ?coordValue wikibase:geoLatitude ?latitude .\n  ?coordValue wikibase:geoLongitude ?longitude .\n  ?village wdt:P646 ?freebaseId .\n  OPTIONAL {\n    ?village rdfs:label ?labelEn .\n    FILTER(LANG(?labelEn) = \"en\")\n  }\n  OPTIONAL {\n    ?village rdfs:label ?labelEt .\n    FILTER(LANG(?labelEt) = \"et\")\n  }\n}\nORDER BY ASC(?ehakId)", "paraphrases": ["What are the names (in English and Estonian), coordinates, EHAK IDs, and Freebase IDs of all villages in Estonia?", "Please provide a table of Estonian villages including their administrative codes (EHAK), geographic coordinates, Freebase identifiers, and labels in both English and Estonian, sorted by EHAK ID."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { ?var7 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q532> . ?var7 <http://www.wikidata.org/prop/direct/P625> ?var8 . ?var7 <http://www.wikidata.org/prop/P625> ?var9 . ?var7 <http://www.wikidata.org/prop/direct/P131> ?var10 . ?var9 <http://www.wikidata.org/prop/statement/value/P625> ?var11 . ?var11 <http://wikiba.se/ontology#geoLatitude> ?var4 . ?var11 <http://wikiba.se/ontology#geoLongitude> ?var5 . ?var7 <http://www.wikidata.org/prop/direct/P646> ?var6 . ?var7 <http://www.wikidata.org/prop/direct/P1140> ?var1 . OPTIONAL { ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } OPTIONAL { ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"ee\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_795", "question": "Transport hubs serving Mumbai and their qualifiers", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?transportHub ?statement ( SAMPLE( ?qualifierPropertyLabel ) AS ?qualifier ) ( SAMPLE( ?qualifierValue ) AS ?value ) WHERE {\n  ?transportHub p:P931 ?statement .\n  ?statement ps:P931 wd:Q1156 .\n  OPTIONAL {\n    ?statement ?qualifierProperty ?qualifierValue .\n    ?qualifierProperty wdt:P31 wd:Q18647597 .\n    ?qualifierProperty rdfs:label ?qualifierPropertyLabel .\n    FILTER ( LANG( ?qualifierPropertyLabel ) = \"en\" )\n  }\n}\nGROUP BY ?transportHub ?statement\nLIMIT 101", "paraphrases": ["What transport hubs serve Mumbai, and what additional details (like start/end times) are recorded for these connections?", "List all transport hubs in Mumbai and any associated qualifier information such as time periods or sources."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P931> <http://www.wikidata.org/entity/Q1156> . ?var1 <http://www.wikidata.org/prop/P931> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_796", "question": "Railway stations in Italy with coordinates and Italian Wikipedia pages", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?station ?coordinates ?wikipediaPage WHERE {\n  ?station wdt:P31 wd:Q55488 .\n  ?station wdt:P17 wd:Q38 .\n  ?station wdt:P625 ?coordinates .\n  ?wikipediaPage schema:about ?station .\n  ?wikipediaPage schema:isPartOf <https://it.wikipedia.org/> .\n}", "paraphrases": ["Which railway stations in Italy have coordinates and a corresponding page on the Italian Wikipedia?", "Show me the railway stations in Italy, their geographic coordinates, and links to their Italian Wikipedia articles."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q55488> . ?var1 ?var3 <http://www.wikidata.org/entity/Q38> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://it.wikipedia.org/> . ?var1 <http://schema.org/dateModified> ?var5 . }"}}
{"id": "test_797", "question": "Fictional characters that appear as house cats", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label WHERE {\n  ?entity wdt:P4675 wd:Q146 .\n  ?entity rdfs:label ?label .\n  FILTER ( LANG( ?label ) = 'en' )\n}", "paraphrases": ["Which characters in fiction transform into a house cat?", "List all fictional entities that take the form of a domestic cat."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P4675> <http://www.wikidata.org/entity/Q146> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_798", "question": "Does Wikidata contain an entity with GND ID 4115710-2?", "sparql": "ASK WHERE { ?item wdt:P227 \"4115710-2\" . }", "paraphrases": ["Is the GND ID 4115710-2 assigned to any item in Wikidata?", "Check if the German National Library ID 4115710-2 exists in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"4115710-2\". }"}}
{"id": "test_799", "question": "Who are the members of the Swiss National Council, their parliamentary IDs, and the electoral districts they represent?", "sparql": "SELECT DISTINCT ?person ?personLabel ?parliamentId ?district ?districtLabel WHERE { ?person wdt:P1307 ?parliamentId . ?person p:P39 [ ps:P39 wd:Q18510612 ; pq:P768 ?district ] . ?person rdfs:label ?personLabel . ?district rdfs:label ?districtLabel . FILTER(LANG(?personLabel) = \"en\") FILTER(LANG(?districtLabel) = \"en\") } LIMIT 100", "paraphrases": ["Which people serve as members of the Swiss National Council, what is their official parliament ID, and which electoral district do they represent?", "List the names of Swiss National Council members along with their parliament IDs and the cantons or electoral districts they represent, in English."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1307> ?var3 . ?var1 <http://www.wikidata.org/prop/P39> [ <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q18510612> ; <http://www.wikidata.org/prop/qualifier/P768> ?var4 ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_800", "question": "Countries that produce cocoa beans", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?country ?countryLabel WHERE {\n  ?production wdt:P279 * wd:Q18466312 .\n  ?production wdt:P17 ?country .\n  ?country rdfs:label ?countryLabel .\n  FILTER(LANG(?countryLabel) = \"en\")\n}", "paraphrases": ["Which countries are known for cocoa farming?", "List the countries where cocoa is farmed."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { BIND ( <http://www.wikidata.org/entity/Q208008> AS ?var3 ). BIND ( <http://www.wikidata.org/entity/Q6256> AS ?var4 ). ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var4 . ?var1 <http://www.wikidata.org/prop/P1056> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P1065> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P527> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_801", "question": "Which countries are the origin of coffee?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?country ?countryLabel WHERE {\n  wd:Q8486 wdt:P495 ?country .\n  ?country rdfs:label ?countryLabel .\n  FILTER ( LANG( ?countryLabel ) = \"en\" )\n}", "paraphrases": ["Where is coffee originally from?", "Can you list the countries associated with the origin of coffee?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q153697> <http://www.wikidata.org/prop/direct/P402> ?var1 . }"}}
{"id": "test_802", "question": "What is the English label and description of the person with Great Russian Encyclopedia Online ID 2651655?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P2924 \"2651655\" .\n  OPTIONAL {\n    ?item rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Who is the Russian linguist identified by the ID 2651655 in the Great Russian Encyclopedia Online (2014\u20132017)?", "Please provide the name and English description of the individual whose Great Russian Encyclopedia Online ID is 2651655."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"2651655\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_803", "question": "Railway stations in Italy with coordinates and Italian Wikipedia pages, excluding metro stations.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?station ( SAMPLE( ?coordinate ) AS ?coordinates ) ( SAMPLE( ?wikipediaPage ) AS ?wikipedia ) ?stationLabel WHERE {\n  ?station wdt:P31 ?instance .\n  ?instance wdt:P279 * wd:Q55488 .\n  ?station wdt:P17 wd:Q38 .\n  ?wikipediaPage schema:about ?station ; schema:isPartOf <https://it.wikipedia.org/> .\n  OPTIONAL {\n    ?station wdt:P625 ?coordinate .\n  } MINUS {\n    ?station wdt:P31 wd:Q928830 .\n  }\n}\nGROUP BY ?station ?stationLabel", "paraphrases": ["What are the railway stations in Italy that have geographic coordinates and a page on the Italian Wikipedia, but are not metro stations?", "List all railway stations (not metro stations) in Italy along with their coordinates and links to their Italian Wikipedia pages."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var3 )( SAMPLE ( ?var4 ) AS ?var5 ) ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var6 . ?var6 <http://www.wikidata.org/prop/direct/P279> ?var7 . ?var1 ?var8 <http://www.wikidata.org/entity/Q38> . ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://it.wikipedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var9 . } FILTER ( ( ?var6 IN ( <http://www.wikidata.org/entity/Q55488> , <http://www.wikidata.org/entity/Q719456> ) || ?var7 IN ( <http://www.wikidata.org/entity/Q55488> , <http://www.wikidata.org/entity/Q719456> ) ) ) . MINUS { SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q928830> . ?var1 ?var8 <http://www.wikidata.org/entity/Q38> . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,en\". } } GROUP BY ?var1 ?var1Label"}}
{"id": "test_804", "question": "Fire stations with the most Wikipedia language versions", "sparql": "SELECT ?fireStation (COUNT(?wikipediaPage) AS ?sitelinkCount) WHERE { ?fireStation wdt:P31 wd:Q1195942 . ?wikipediaPage schema:about ?fireStation ; schema:isPartOf ?wikiSite . FILTER(STRSTARTS(STR(?wikiSite), 'https://')) . } GROUP BY ?fireStation ORDER BY DESC(?sitelinkCount) LIMIT 500", "paraphrases": ["Which fire stations have the highest number of Wikipedia articles in different languages?", "List the top 500 fire stations ranked by how many different language Wikipedias have articles about them."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1195942> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 500"}}
{"id": "test_805", "question": "Who has blood type AB?", "sparql": "SELECT ?var1 WHERE { ?var1 wdt:P1853 wd:Q19831455 . }", "paraphrases": ["List all individuals with the AB blood group.", "Which people are known to have AB blood type?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } ?var1 <http://www.wikidata.org/prop/direct/P1853> <http://www.wikidata.org/entity/Q19831455> . OPTIONAL { } }"}}
{"id": "test_806", "question": "People with blood type O", "sparql": "SELECT ?person (SAMPLE(?personLabel) AS ?label) WHERE { ?person wdt:P1853 wd:Q19831451 . ?person rdfs:label ?personLabel .} GROUP BY ?person", "paraphrases": ["Who are the people that have blood type O?", "List individuals with blood type O along with their names in any language."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P1853> <http://www.wikidata.org/entity/Q19831451> . }"}}
{"id": "test_807", "question": "What are the names of all entities classified as house cats in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?cat ?catLabel WHERE {\n  ?cat wdt:P31 wd:Q146 .\n  ?cat rdfs:label ?catLabel .\n  FILTER ( LANG( ?catLabel ) = \"en\" )\n}", "paraphrases": ["Can you list the English-labeled items that are instances of a domestic cat?", "Show me all the cats (individual animals) that are marked as instances of the house cat species."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q146> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr, en\". } }"}}
{"id": "test_808", "question": "Top pyramids by number of Wikipedia language versions", "sparql": "SELECT ?item (COUNT(?sitelink) AS ?sitelinkCount) WHERE { VALUES ?p { wdt:P31 wdt:P279 } ?item ?p wd:Q12516 . ?sitelink schema:about ?item . FILTER(STRSTARTS(STR(?sitelink), \"http\")) } GROUP BY ?item HAVING (COUNT(?sitelink) > 0) ORDER BY DESC(?sitelinkCount) LIMIT 1000", "paraphrases": ["Which pyramids have the most Wikipedia articles across different languages?", "List the pyramids with the highest number of Wikipedia sitelinks, ordered by popularity."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/prop/direct/P31> ) ( <http://www.wikidata.org/prop/direct/P279> ) } ?var1 ?var3 <http://www.wikidata.org/entity/Q12516> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 1000"}}
{"id": "test_809", "question": "What are some food items from Germany?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?food ?foodLabel WHERE {\n  ?food wdt:P31 wd:Q2095 .\n  ?food wdt:P17 wd:Q183 .\n  ?food rdfs:label ?foodLabel .\n  FILTER(LANG(?foodLabel) = \"en\")\n}", "paraphrases": ["Can you list the English names of food items that are associated with Germany?", "Which dishes are classified as food and originate from Germany?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2095> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P276> ?var2 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . }"}}
{"id": "test_810", "question": "What are the Paris M\u00e9tro lines, and what are their images, route maps, lengths, and Twitter accounts?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?line ?lineLabel ?category ?image ?map ?length ?twitter WHERE {\n  ?line wdt:P16 wd:Q50716 .\n  ?line wdt:P31 wd:Q15079663 .\n  OPTIONAL {\n    ?line wdt:P373 ?category .\n  }\n  OPTIONAL {\n    ?line wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?line wdt:P15 ?map .\n  }\n  OPTIONAL {\n    ?line wdt:P2043 ?length .\n  }\n  OPTIONAL {\n    ?line wdt:P2002 ?twitter .\n  }\n  OPTIONAL {\n    ?line rdfs:label ?lineLabel .\n    FILTER ( LANG( ?lineLabel ) = \"en\" )\n  }\n}\nLIMIT 400", "paraphrases": ["Can you list the rapid transit lines that are part of the Paris M\u00e9tro system, along with their Commons categories, official images, route maps, lengths in kilometers, and X (Twitter) usernames?", "Show me the details of each metro line in Paris, including its name, image, map, length, and social media handle on X."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } ?var1 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q50716> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q15079663> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P15> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2043> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var6 . } } LIMIT 400"}}
{"id": "test_811", "question": "What are the French-language names of political parties in France, and when were they founded?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?party ?label ?inception WHERE {\n  ?party wdt:P31 wd:Q7278 .\n  ?party wdt:P17 wd:Q142 .\n  ?party rdfs:label ?label .\n  OPTIONAL {\n    ?party wdt:P571 ?inception .\n  }\n  FILTER ( LANGMATCHES( LANG( ?label ) , \"fr\" ) )\n}\nLIMIT 10", "paraphrases": ["List French-named political parties in France along with their founding dates.", "Which political parties in France have French labels, and what are their dates of establishment?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7278> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q142> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var3 . } FILTER ( ( LANGMATCHES ( LANG ( ?var2Label ) , \"fr\" ) ) ) . } LIMIT 10"}}
{"id": "test_812", "question": "English label and description of aircraft hijacking", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?description WHERE {\n  wd:Q898712 rdfs:label ?label .\n  wd:Q898712 schema:description ?description .\n  FILTER ( LANG( ?label ) = \"en\" ) FILTER ( LANG( ?description ) = \"en\" )\n}", "paraphrases": ["What is the English description of aircraft hijacking?", "Please provide the English label and description for the term \"aircraft hijacking\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q898712> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_813", "question": "List of Estonian alev settlements in alphabetical order", "sparql": "SELECT ?settlement ?label WHERE { ?settlement wdt:P31 wd:Q50809253 . ?settlement rdfs:label ?settlementLabel . FILTER (langMatches(lang(?settlementLabel), \"en\")) . BIND(STR(?settlementLabel) AS ?label) } GROUP BY ?settlement ?label ORDER BY ASC(?label)", "paraphrases": ["What are the small towns in Estonia classified as 'alev' and what are their English names?", "Show me all the Estonian towns of type 'alev' with their English labels, sorted alphabetically."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"et,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q50809253> . } ORDER BY ASC( ?var1Label )"}}
{"id": "test_814", "question": "Female academics affiliated with the Indiana University Lilly Family School of Philanthropy", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P21 wd:Q6581072 .\n  ?person wdt:P1416 wd:Q33015428 .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Who are the women affiliated with the Indiana University Lilly Family School of Philanthropy?", "List the names of female individuals who are affiliated with the Lilly Family School of Philanthropy at IUPUI."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P1416> <http://www.wikidata.org/entity/Q33015428> . } LIMIT 100"}}
{"id": "test_815", "question": "Who are the people affiliated with the Indiana University Lilly Family School of Philanthropy?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P1416 wd:Q33015428 .\n}\nLIMIT 100", "paraphrases": ["Which humans are affiliated with the Indiana University Lilly Family School of Philanthropy?", "List all individuals who are affiliated with the Lilly Family School of Philanthropy at IUPUI."], "info": {"raw_sparql": "SELECT ?var1 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { } ?var1 <http://www.wikidata.org/prop/direct/P1416> <http://www.wikidata.org/entity/Q33015428> . OPTIONAL { } } LIMIT 100"}}
{"id": "test_816", "question": "Railway stations in Italy with Italian Wikipedia pages and coordinates", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?station ?stationLabel ?coordinates ?wikipediaPage WHERE {\n  ?station wdt:P31 wd:Q55488 .\n  ?station wdt:P17 wd:Q38 .\n  ?station wdt:P625 ?coordinates .\n  ?wikipediaPage schema:about ?station .\n  ?wikipediaPage schema:isPartOf <https://it.wikipedia.org/> .\n  ?station rdfs:label ?stationLabel .\n  FILTER ( LANG( ?stationLabel ) = \"it\" )\n}", "paraphrases": ["What are the names, locations, and Italian Wikipedia links of railway stations in Italy?", "List all railway stations in Italy, including their Italian names, geographic coordinates, and corresponding Italian Wikipedia pages."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q55488> . ?var1 ?var3 <http://www.wikidata.org/entity/Q38> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/description> ?var5 . ?var4 <http://schema.org/isPartOf> <https://it.wikipedia.org/> . }"}}
{"id": "test_817", "question": "Malaysian places with Malay labels and coordinates", "sparql": "SELECT DISTINCT ?item ?itemLabel WHERE { ?item wdt:P17 wd:Q833 ; wdt:P625 ?coord ; rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"ms\") }", "paraphrases": ["What are the locations in Malaysia that have labels in Malay and geographic coordinates?", "List all places in Malaysia that are geolocated and have their names in Malay."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q833> ; <http://www.wikidata.org/prop/direct/P625> ?var2 ; <http://www.wikidata.org/prop/direct/P31> ?var3 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var1Label ) = \"ms\" ) ) ) . }"}}
{"id": "test_818", "question": "Is there a Wikidata item with GND ID 116414820?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P227 \"116414820\" .\n}", "paraphrases": ["Does the German National Library ID 116414820 correspond to any entity in Wikidata?", "Check if the GND ID 116414820 exists in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"116414820\". }"}}
{"id": "test_819", "question": "Does Walter Gunz have a GND ID of 1043809880?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P227 \"1043809880\" .\n}", "paraphrases": ["Is there a Wikidata item for the person with the German National Library ID 1043809880?", "Confirm if the GND ID 1043809880 is assigned to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"1043809880\". }"}}
{"id": "test_820", "question": "List people with Norwegian-language labels and their fotball.no IDs, sorted by ID.", "sparql": "SELECT ?person ?personLabel ?fotballId WHERE { ?person wdt:P3936 ?fotballId . ?person rdfs:label ?personLabel . FILTER (LANG(?personLabel) = \"no\") } ORDER BY ASC(?fotballId)", "paraphrases": ["Who are the people associated with the Norwegian Football Federation, and what are their Norwegian names and fotball.no profile IDs?", "Show me the Norwegian names and fotball.no identifiers of all individuals listed in Wikidata who have a profile on the Norwegian Football Federation\u2019s website, ordered by their ID numbers."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3936> ?var2 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"no\" ) ) ) . } ORDER BY ASC( ?var2 )"}}
{"id": "test_821", "question": "Who is the president of Brazil?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?personLabel WHERE {\n  wd:Q5176750 wdt:P1308 ?person .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}", "paraphrases": ["Who currently holds the office of President of Brazil?", "Tell me the name of the person who is the President of Brazil."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { <http://www.wikidata.org/entity/Q5176750> <http://www.wikidata.org/prop/direct/P1308> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_822", "question": "What are the sub-basins that are part of major drainage basins?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subBasin ?subBasinLabel ?mainBasin ?mainBasinLabel WHERE {\n  ?subBasin wdt:P361 ?mainBasin .\n  ?mainBasin(wdt:P31 / wdt:P279 *) wd:Q166620 .\n  ?subBasin rdfs:label ?subBasinLabel .\n  ?mainBasin rdfs:label ?mainBasinLabel .\n  FILTER(LANG(?subBasinLabel) = \"en\")\n  FILTER(LANG(?mainBasinLabel) = \"en\")\n}", "paraphrases": ["Which smaller river basins are components of larger drainage basins like the Great Basin or the Bay of Biscay?", "List all English-named sub-basins and the main drainage basins they belong to."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P361> ?var2 . ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q166620> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_823", "question": "Who has the Twitter username \"eveewing\" and how many Wikipedia articles are about them?", "sparql": "SELECT ?person ?twitterUsername (COUNT(?sitelink) AS ?sitelinks) WHERE { ?person wdt:P2002 ?twitterUsername . ?sitelink schema:about ?person ; schema:isPartOf ?site . VALUES ?twitterUsername { \"eveewing\" } } GROUP BY ?person ?twitterUsername ORDER BY ASC(?sitelinks)", "paraphrases": ["Which person on Wikidata has the Twitter handle \"eveewing\", and how many sitelinks does their page have?", "Show me the Wikidata item for the Twitter user \"eveewing\" along with the number of language versions of their Wikipedia page."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"eveewing\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"kane_one_\" ) ( \"string4\" ) ( \"Danez_Smif\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) ( \"string13\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_824", "question": "Finnish sports series editions: It\u00e4-L\u00e4nsi, Finnish Cup, Elite Games, J\u00e4\u00e4pallon Maakuntasarja, Finnish cross-country championships", "sparql": "SELECT ?edition ?editionLabel WHERE { VALUES ?series { wd:Q11865368 wd:Q674734 wd:Q8159627 wd:Q33103731 wd:Q11880442 } ?edition wdt:P179 ?series . ?edition rdfs:label ?editionLabel .}", "paraphrases": ["What are the individual editions of the Finnish sports competitions It\u00e4-L\u00e4nsi, Finnish Cup, Elite Games, J\u00e4\u00e4pallon Maakuntasarja, and the Finnish cross-country championships?", "List all the yearly instances of these five Finnish sports events: It\u00e4-L\u00e4nsi, Finnish Cup, Elite Games, J\u00e4\u00e4pallon Maakuntasarja, and Finnish cross-country championships, including their names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q11865368> ) ( <http://www.wikidata.org/entity/Q674734> ) ( <http://www.wikidata.org/entity/Q8159627> ) ( <http://www.wikidata.org/entity/Q33103731> ) ( <http://www.wikidata.org/entity/Q11880442> ) } ?var1 <http://www.wikidata.org/prop/direct/P179> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fi,en\". } }"}}
{"id": "test_825", "question": "Who have been the presidents of the United States, and when was the office established?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?inception WHERE {\n  ?person wdt:P39 wd:Q11696 .\n  wd:Q11696 wdt:P571 ?inception .\n}", "paraphrases": ["List all individuals who held the office of President of the United States along with the date the position was created.", "When was the U.S. presidency created, and who has held it?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q11696> . <http://www.wikidata.org/entity/Q11696> <http://www.wikidata.org/prop/direct/571> ?var3 . }"}}
{"id": "test_826", "question": "What are the top 250 tourist attractions with the most Wikipedia language versions?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item(COUNT(?wikipage) AS ?sitelinks) WHERE {\n  ?item wdt:P31 / wdt:P279 * wd:Q570116 .\n  ?wikipage schema:about ?item ; schema:isPartOf ?wiki .\n  FILTER(STRSTARTS(STR(?wiki) , \"https://\"))\n}\nGROUP BY ?item\nORDER BY DESC(?sitelinks)\nLIMIT 250", "paraphrases": ["Which tourist sites have the highest number of Wikipedia articles dedicated to them across all languages?", "List the most popular tourist attractions based on how many different language Wikipedias have articles about them, ordered from most to least popular."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q570116> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 250"}}
{"id": "test_827", "question": "What is the Wikidata item for the film with IMDb ID tt2024468?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P345 \"tt2024468\" .\n}", "paraphrases": ["Which film on Wikidata has the IMDb identifier tt2024468?", "Find the Wikidata entity for the movie identified by tt2024468 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2024468\". }"}}
{"id": "test_828", "question": "Who are the members of the Assembly of Madrid and their parliamentary terms?", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?person ?parliamentaryTerm ?startDate ?endDate WHERE {\n  ?person p:P39 ?statement .\n  ?statement ps:P39 wd:Q22998436 .\n  OPTIONAL {\n    ?statement pq:P2937 ?parliamentaryTerm .\n  }\n  OPTIONAL {\n    ?statement pq:P580 ?startDate .\n  }\n  OPTIONAL {\n    ?statement pq:P582 ?endDate .\n  }\n}\nORDER BY ASC(?startDate) ASC(?endDate)\nLIMIT 20", "paraphrases": ["Which individuals have held a position in the Assembly of Madrid, and during what terms and time periods?", "List all people who served in the Assembly of Madrid, including the legislative periods they were part of, sorted by start and end date."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/P39> ?var7 . ?var7 ( <http://www.wikidata.org/prop/statement/P39> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q22998436> . OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P2937> ?var4 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P580> ?var5 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P582> ?var6 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P768> ?var3 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P4100> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY ASC( ?var5 )ASC( ?var6 )"}}
{"id": "test_829", "question": "List all aircraft operators with their parent organizations and parent companies.", "sparql": "SELECT ?aircraftOperator ?parentOrganization ?partOf WHERE { ?aircraftOperator (wdt:P31/wdt:P279*) wd:Q1875615 . OPTIONAL { ?aircraftOperator wdt:P749 ?parentOrganization . } OPTIONAL { ?aircraftOperator wdt:P361 ?partOf . } } ORDER BY ?aircraftOperator", "paraphrases": ["Which companies operate aircraft, and which organizations own or are part of them?", "Show me all aircraft operators along with their parent organizations and any parent groups they belong to."], "info": {"raw_sparql": "SELECT * WHERE { BIND ( EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q190915> . } AS ?var2 ). ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1875615> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P749> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P361> ?var4 . } } ORDER BY ASC( ?var2 )"}}
{"id": "test_830", "question": "What are the Twitter usernames \"envlh\" and \"ADULLACT\" associated with in Wikidata, and how many Wikipedia sitelinks do those items have?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username ?sitelinks WHERE {\n  ?item wdt:P2002 ?username .\n  OPTIONAL {\n    ?item wikibase:sitelinks ?sitelinks\n  }\n}\nVALUES ?username {\n  \"envlh\" \"ADULLACT\"\n}", "paraphrases": ["Find the Wikidata items for the Twitter accounts @envlh and @ADULLACT, and show their sitelink counts.", "Which entities on Wikidata have the Twitter usernames envlh or ADULLACT?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"PoulpyWP\" ) ( \"string1\" ) ( \"ADULLACT\" ) ( \"string2\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_831", "question": "What are the women's doubles tennis events listed in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?event ?eventLabel WHERE {\n  ?event wdt:P31 wd:Q46190676 ; wdt:P2094 wd:Q17299348 .\n  ?event rdfs:label ?eventLabel .\n  FILTER(LANG(?eventLabel) = 'en')\n}", "paraphrases": ["Can you list all tennis events that feature women's doubles competitions?", "Show me the names of women's doubles tournaments in tennis."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q17299348> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_832", "question": "Top 10 most populous cities with female heads of government", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?city ?cityLabel ?headOfGovernmentLabel WHERE {\n  ?city ( wdt:P31 / wdt:P279 * ) wd:Q515 .\n  ?city wdt:P6 ?headOfGovernment .\n  ?headOfGovernment wdt:P21 wd:Q6581072 .\n  ?city wdt:P1082 ?population .\n  ?city rdfs:label ?cityLabel .\n  ?headOfGovernment rdfs:label ?headOfGovernmentLabel .\n  FILTER ( LANG( ?cityLabel ) = \"en\" ) FILTER ( LANG( ?headOfGovernmentLabel ) = \"en\" )\n}\nORDER BY DESC ( ?population )\nLIMIT 10", "paraphrases": ["Which are the 10 largest cities in the world whose mayor or governor is a woman?", "Show me the 10 most populous cities where the current head of government is female, along with the names of those leaders."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { BIND ( <http://www.wikidata.org/entity/Q6581072> AS ?var3 ). BIND ( <http://www.wikidata.org/entity/Q515> AS ?var4 ). ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var4 . ?var1 <http://www.wikidata.org/prop/P360> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P6> ?var6 . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var7 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } } ORDER BY DESC( ?var7 ) LIMIT 10"}}
{"id": "test_833", "question": "What are the direct subclasses of landform?", "sparql": "SELECT ?subclass ?subclassLabel WHERE { ?subclass wdt:P279 wd:Q271669 . ?subclass rdfs:label ?subclassLabel . }", "paraphrases": ["Can you list the types of landforms that are subclasses of landform, along with their names?", "Show me the names of all immediate subcategories of landform in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q271669> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Reverse\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv\". } }"}}
{"id": "test_834", "question": "Australian politicians and their birth dates", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?name ?birthDate WHERE {\n  ?person wdt:P106 wd:Q82955 ; wdt:P27 wd:Q408 ; wdt:P569 ?birthDate .\n  ?person rdfs:label ?name .\n  FILTER(LANG(?name) = \"en\")\n}", "paraphrases": ["Who are the Australian politicians and when were they born?", "List the names and birth dates of all Australian politicians in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82955> ; <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q408> ; <http://www.wikidata.org/prop/direct/P569> ?var3 ; <http://www.wikidata.org/prop/direct/P2561> ?var2 . }"}}
{"id": "test_835", "question": "What is the English name and official name of the airline with IATA code AY?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?airline ?officialName ?label WHERE {\n  ?airline wdt:P229 \"AY\" .\n  ?airline wdt:P31 wd:Q46970 .\n  ?airline wdt:P1448 ?officialName .\n  ?airline rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}", "paraphrases": ["Which airline uses the IATA code AY, and what are its official name and English label?", "Can you tell me the English label and official name (in Finnish) of Finnair?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P229> \"AY\". ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q46970> . ?var1 <http://www.wikidata.org/prop/direct/P1448> ?var2 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . }"}}
{"id": "test_836", "question": "What are some famous house cats with images and English Wikipedia pages?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?cat ?catLabel ?image ?wikipediaPage WHERE {\n  ?cat wdt:P31 wd:Q146 .\n  OPTIONAL {\n    ?cat wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?wikipediaPage schema:about ?cat .\n    ?wikipediaPage schema:isPartOf <https://en.wikipedia.org/> .\n  }\n  ?cat rdfs:label ?catLabel .\n  FILTER(LANG(?catLabel) = \"en\")\n}\nLIMIT 50", "paraphrases": ["Show me a list of domestic cats that have photos on Wikimedia Commons and articles on English Wikipedia.", "Can you find cats that are documented on Wikipedia and have associated images?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var3 ) ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q146> . ?var1 <http://www.wikidata.org/prop/direct/P127> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q55> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,fr,es,de,ru,it,nl,ja,zh,pl,cs\". } } GROUP BY ?var1 ?var1Label ?var2 ?var4 LIMIT 50"}}
{"id": "test_837", "question": "Wikipedia articles in English and German about the TV show with IMDb ID tt4505874.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipedia_page WHERE {\n  ?item wdt:P345 \"tt4505874\" .\n  ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" )\n}", "paraphrases": ["What are the English and German Wikipedia pages for the TV series with IMDb ID tt4505874?", "Show me the English and German Wikipedia links for the TV show Unterm Radar, identified by IMDb ID tt4505874."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt4505874\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_838", "question": "What are the political parties in Germany and who are their current or past chairpersons, along with when they started and ended their terms?", "sparql": "SELECT DISTINCT \n  ?partyLabel \n  ?chairpersonLabel \n  ?startDate \n  ?endDate \nWHERE {\n  ?party (wdt:P31/wdt:P279*) wd:Q7278 ; \n         wdt:P17 wd:Q183 ;\n         p:P488 ?statement .\n  \n  ?statement ps:P488 ?chairperson ;\n             pq:P580 ?startDate .\n  \n  OPTIONAL {\n    ?statement pq:P582 ?endDate .\n  }\n  \n  # Get labels\n  ?party rdfs:label ?partyLabel .\n  ?chairperson rdfs:label ?chairpersonLabel .\n  \n  # Filter for English labels\n  FILTER(LANG(?partyLabel) = \"en\")\n  FILTER(LANG(?chairpersonLabel) = \"en\")\n}", "paraphrases": ["List German political parties with their chairpersons and the start and end dates of their leadership terms.", "Show me the chairpersons of political parties in Germany, including when their terms began and whether they are still active."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2Label ?var3 ?var4 ( SUBSTR ( STR ( ( ?var5 /\"365.2425\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) ) ,\"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var6 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7278> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> ; <http://www.wikidata.org/prop/P488> ?var7 . ?var7 <http://www.wikidata.org/prop/statement/P488> ?var2 ; <http://www.wikidata.org/prop/qualifier/P580> ?var3 . OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P582> ?var8 . } BIND ( COALESCE ( ?var8 , NOW ( ) ) AS ?var4 ). BIND ( ( ?var4 - ?var3 ) AS ?var5 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY DESC( ?var5 )"}}
{"id": "test_839", "question": "Watercourses in New Zealand with their length, origin, mouth, and lakes they flow through, sorted by length descending.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT DISTINCT ?watercourse ?watercourseLabel ?watercourseLat ?watercourseLon ?length ?lengthUnit ?mouth ?mouthLabel ?mouthLat ?mouthLon ?origin ?originLabel ?originLat ?originLon ?lake ?lakeLabel ?lakeLat ?lakeLon WHERE {\n  ?watercourse(wdt:P31 / wdt:P279 *) wd:Q355304 .\n  ?watercourse wdt:P17 wd:Q664 .\n  OPTIONAL {\n    ?watercourse p:P625 / psv:P625 ?coordNode .\n    ?coordNode wikibase:geoLatitude ?watercourseLat ; wikibase:geoLongitude ?watercourseLon .\n  }\n  OPTIONAL {\n    ?watercourse p:P2043 / psv:P2043 ?lengthNode .\n    ?lengthNode wikibase:quantityAmount ?length ; wikibase:quantityUnit ?lengthUnit .\n  }\n  OPTIONAL {\n    ?watercourse wdt:P403 ?mouth .\n    ?mouth p:P625 / psv:P625 ?mouthCoordNode .\n    ?mouthCoordNode wikibase:geoLatitude ?mouthLat ; wikibase:geoLongitude ?mouthLon .\n  }\n  OPTIONAL {\n    ?watercourse wdt:P885 ?origin .\n    ?origin p:P625 / psv:P625 ?originCoordNode .\n    ?originCoordNode wikibase:geoLatitude ?originLat ; wikibase:geoLongitude ?originLon .\n  }\n  OPTIONAL {\n    ?watercourse wdt:P469 ?lake .\n    ?lake p:P625 / psv:P625 ?lakeCoordNode .\n    ?lakeCoordNode wikibase:geoLatitude ?lakeLat ; wikibase:geoLongitude ?lakeLon .\n  }\n}\nORDER BY DESC(?length)", "paraphrases": ["What are the longest rivers and streams in New Zealand, and where do they start, end, and which lakes do they pass through?", "List all watercourses in New Zealand, including their coordinates, length, source, mouth, and any lakes they flow through, ordered from longest to shortest."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var6Label ?var7 ?var8 ?var9 ?var9Label ?var10 ?var11 ?var12 ?var12Label ?var13 ?var14 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q355304> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q664> . OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P625> / <http://www.wikidata.org/prop/statement/value/P625> ) ?var15 . ?var15 <http://wikiba.se/ontology#geoLatitude> ?var2 ; <http://wikiba.se/ontology#geoLongitude> ?var3 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2043> / <http://www.wikidata.org/prop/statement/value/P2043> ) ?var16 . ?var16 <http://wikiba.se/ontology#quantityAmount> ?var4 . ?var16 <http://wikiba.se/ontology#quantityUnit> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P403> ?var6 . ?var6 ( <http://www.wikidata.org/prop/P625> / <http://www.wikidata.org/prop/statement/value/P625> ) ?var17 . ?var17 <http://wikiba.se/ontology#geoLatitude> ?var7 ; <http://wikiba.se/ontology#geoLongitude> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P885> ?var9 . ?var9 ( <http://www.wikidata.org/prop/P625> / <http://www.wikidata.org/prop/statement/value/P625> ) ?var18 . ?var18 <http://wikiba.se/ontology#geoLatitude> ?var10 ; <http://wikiba.se/ontology#geoLongitude> ?var11 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P469> ?var12 . ?var12 ( <http://www.wikidata.org/prop/P625> / <http://www.wikidata.org/prop/statement/value/P625> ) ?var19 . ?var19 <http://wikiba.se/ontology#geoLatitude> ?var13 ; <http://wikiba.se/ontology#geoLongitude> ?var14 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } } ORDER BY DESC( ?var4 )"}}
{"id": "test_840", "question": "What is the airline with the ICAO code RYR, and what are its IATA code and logo image?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?airline ?airlineLabel ?iataCode ?icaoCode ?image WHERE {\n  ?airline wdt:P230 ?icaoCode ; wdt:P229 ?iataCode ; wdt:P18 ?image .\n  OPTIONAL {\n    ?airline rdfs:label ?airlineLabel .\n    FILTER ( LANG( ?airlineLabel ) = \"en\" )\n  }\n  FILTER ( ?icaoCode = \"RYR\" )\n}\nLIMIT 1", "paraphrases": ["Can you show me the details of the airline whose ICAO code is RYR, including its name, IATA code, and image?", "Which low-cost airline uses RYR as its ICAO code, and what is its IATA code and official image?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q190915> ; <http://www.wikidata.org/prop/direct/P229> ?var3 ; <http://www.wikidata.org/prop/direct/P230> ?var4 ; <http://www.wikidata.org/prop/direct/P18> ?var5 . FILTER ( ( REGEX ( ?var4 , \"RYR\", \"i\" ) ) ) . } LIMIT 1"}}
{"id": "test_841", "question": "List of named domestic cats with images on Wikimedia Commons.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?cat ?catLabel WHERE {\n  ?cat wdt:P31 wd:Q146 ; wdt:P18 ?image .\n  ?cat rdfs:label ?catLabel .\n  FILTER(LANG(?catLabel) = \"en\")\n}", "paraphrases": ["Which individual cats have photos on Wikimedia Commons?", "Show me the names of famous house cats that have uploaded images."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q146> ; <http://www.wikidata.org/prop/direct/P18> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_842", "question": "Bus termini in Nagoya with Japanese and English labels", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item ?labelJa ?labelEn WHERE {\n  ?item wdt:P31 wd:Q2920759 .\n  ?item wdt:P625 ?coord .\n  BIND( STR( ?coord ) AS ?coordStr ) BIND( STRBEFORE( STRAFTER( ?coordStr , \"POINT(\" ) , \" \" ) AS ?lonStr ) BIND( STRBEFORE( STRAFTER( ?coordStr , \" \" ) , \")\" ) AS ?latStr ) BIND( xsd:double ( ?lonStr ) AS ?lon ) BIND( xsd:double ( ?latStr ) AS ?lat ) FILTER ( ?lon >= 136.8 && ?lon <= 137.0 && ?lat >= 35.1 && ?lat <= 35.2 ) ?item rdfs:label ?labelJa FILTER ( LANG( ?labelJa ) = \"ja\" ) .\n  ?item rdfs:label ?labelEn FILTER ( LANG( ?labelEn ) = \"en\" ) .\n}\nLIMIT 50", "paraphrases": ["What are the bus terminals in Nagoya, Japan, and what are their names in Japanese and English?", "List bus termini located in the Nagoya area along with their Japanese and English labels."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerWest> \"string1\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerEast> \"string2\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2920759> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var2 ) = \"ja\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 50"}}
{"id": "test_843", "question": "Swedish politicians", "sparql": "SELECT ?person WHERE { ?person wdt:P106 wd:Q82955 . ?person wdt:P27 wd:Q34 . }", "paraphrases": ["Who are the politicians from Sweden?", "List all people who are Swedish citizens and work as politicians."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q20972719> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q34> . }"}}
{"id": "test_844", "question": "What are the names of Osaka University in languages that use the characters \"\u5927\u962a\"?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?label WHERE {\n  wd:Q651233 rdfs:label ?label .\n  FILTER(REGEX(?label , \"\u5927\u962a\"))\n}\nLIMIT 100", "paraphrases": ["Osaka University names in Chinese and Japanese scripts with \"\u5927\u962a\"", "Show me all the labels for Osaka University that contain the characters \"\u5927\u962a\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { <http://www.wikidata.org/entity/Q651233> <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( REGEX ( ?var1 , \"\u5927\u962a\" ) ) ) . } LIMIT 100"}}
{"id": "test_845", "question": "List all species articles published in Mammalian Species journal up to issue 270, including their page ranges, DOIs, and JSTOR IDs.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?species ?issue ?pagerange ?doi ?jstor ?title WHERE {\n  ?species wdt:P1433 wd:Q1637051 .\n  OPTIONAL {\n    ?species wdt:P433 ?issue .\n  }\n  OPTIONAL {\n    ?species wdt:P304 ?pagerange .\n  }\n  OPTIONAL {\n    ?species wdt:P356 ?doi .\n  }\n  OPTIONAL {\n    ?species wdt:P888 ?jstor .\n  }\n  ?species rdfs:label ?title .\n  FILTER ( LANG( ?title ) = \"en\" ) FILTER ( xsd:integer ( ?issue ) <= 270 )\n}\nORDER BY ASC ( xsd:integer ( ?issue ) )", "paraphrases": ["What are the titles, issue numbers, page ranges, DOIs, and JSTOR IDs of all species accounts published in the journal Mammalian Species, ordered by issue number?", "Show me the English titles, issue numbers, page ranges, DOIs, and JSTOR identifiers for every species article in Mammalian Species up to issue 270, sorted by issue number."], "info": {"raw_sparql": "SELECT ?var1 ( SUBSTR ( ?var2 ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3 ) ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1433> <http://www.wikidata.org/entity/Q1637051> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P478> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P433> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P304> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P356> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P888> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var9 . } BIND ( REPLACE ( ?var10 , \"-\", \"\u2013\" ) AS ?var6 ). BIND ( IF ( CONTAINS ( ?var6 , \"\u2013\" ) , STRBEFORE ( ?var6 , \"\u2013\" ) , ?var6 ) AS ?var11 ). BIND ( IF ( CONTAINS ( ?var6 , \"\u2013\" ) , STRAFTER ( ?var6 , \"\u2013\" ) , ?var6 ) AS ?var12 ). FILTER ( ( ( <http://www.w3.org/2001/XMLSchema#integer> ( ?var5 ) <= \"270\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY ASC( ?var3 )ASC( <http://www.w3.org/2001/XMLSchema#integer> ( ?var5 ) )ASC( <http://www.w3.org/2001/XMLSchema#integer> ( ?var11 ) )"}}
{"id": "test_846", "question": "Who are the children of Princess Louise Charlotte of Saxe-Altenburg?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?child WHERE {\n  wd:Q658061 wdt:P40 ?child .\n}", "paraphrases": ["Children of Princess Louise Charlotte of Saxe-Altenburg", "List all the children of Princess Louise Charlotte of Saxe-Altenburg."], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q658061> <http://www.wikidata.org/prop/direct/P40> ?var1 . }"}}
{"id": "test_847", "question": "Images of individual house cats", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?cat ?catLabel ?image WHERE {\n  ?cat wdt:P31 wd:Q146 .\n  ?cat wdt:P18 ?image .\n  OPTIONAL {\n    ?cat rdfs:label ?catLabel .\n    FILTER(LANG(?catLabel) = \"en\")\n  }\n}", "paraphrases": ["Which individual house cats have images on Wikimedia Commons?", "Show me pictures of famous or notable house cats along with their names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P30> <http://www.wikidata.org/entity/Q146> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_848", "question": "What are the English and German Wikipedia (or related) articles about the TV series with IMDb ID tt8111088?", "sparql": "SELECT ?item ?article ?imdbId WHERE { VALUES ?imdbId { \"tt8111088\" } ?item wdt:P345 ?imdbId . ?article schema:about ?item . ?article schema:inLanguage ?language . FILTER(?language IN (\"en\", \"de\")) }", "paraphrases": ["Show me the language-specific articles linked to The Mandalorian on IMDb (tt8111088) in English or German.", "Find all articles in English or German that are about the TV show with IMDb identifier tt8111088."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt4938782\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_849", "question": "German politicians, their languages, and genders", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?politician ?politicianLabel ?language ?languageLabel ?gender ?genderLabel WHERE {\n  ?politician wdt:P106 wd:Q82955 .\n  ?politician wdt:P27 wd:Q183 .\n  ?politician rdfs:label ?politicianLabel .\n  FILTER ( LANG( ?politicianLabel ) = \"en\" ) OPTIONAL {\n    ?politician wdt:P1412 ?language .\n    ?language rdfs:label ?languageLabel .\n    FILTER ( LANG( ?languageLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?politician wdt:P21 ?gender .\n    ?gender rdfs:label ?genderLabel .\n    FILTER ( LANG( ?genderLabel ) = \"en\" )\n  }\n}\nLIMIT 10", "paraphrases": ["Who are the German politicians, and what languages do they speak and what is their gender?", "List German politicians along with the languages they speak and their gender, all in English."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82955> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q183> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"kw\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1412> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var4 . } } ORDER BY ASC( ?var1 )"}}
{"id": "test_850", "question": "Ministers of culture who are citizens of France", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person(STR(?personLabel) AS ?name) WHERE {\n  ?person wdt:P39 wd:Q2621182 .\n  ?person wdt:P27 wd:Q142 .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}", "paraphrases": ["Who are the French citizens that have held the position of Minister of Culture?", "List the people from France who have served as Minister of Culture."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } ?var1 <http://www.wikidata.org/prop/direct/P108> <http://www.wikidata.org/entity/Q2621182> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q142> . }"}}
{"id": "test_851", "question": "Volcanoes with elevation above 5000 meters", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?volcano ?elevation WHERE {\n  ?volcano wdt:P31 wd:Q8072 .\n  ?volcano wdt:P2044 ?elevation .\n  FILTER ( ?elevation > 5000 )\n}\nLIMIT 100", "paraphrases": ["Which volcanoes have an elevation higher than 5000 meters above sea level?", "List the names and elevations of all volcanoes that are more than 5000 meters above sea level."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,fr\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q8072> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2044> ?var2 . } FILTER ( ( ( ?var2 > \"5000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } LIMIT 100"}}
{"id": "test_852", "question": "Airlines based in Ireland", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?airline ?airlineLabel WHERE {\n  ?airline wdt:P31 wd:Q46970 ; wdt:P17 wd:Q27 .\n  ?airline rdfs:label ?airlineLabel .\n  FILTER(LANG(?airlineLabel) = \"en\")\n}", "paraphrases": ["What are the names of airlines that are headquartered in Ireland?", "List the English labels of all airlines that are registered in Ireland."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q46970> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q27> . }"}}
{"id": "test_853", "question": "Labels for hermaphrodite in English, German, French, and Italian, along with associated images and English Wikipedia link.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?label ?image ?wikipediaArticle WHERE {\n  VALUES ( ?lang ?order ) {\n    ( \"en\" 1 ) ( \"de\" 2 ) ( \"fr\" 3 ) ( \"it\" 4 )\n  }\n  wd:Q303479 rdfs:label ?label .\n  FILTER ( LANG( ?label ) = ?lang ) OPTIONAL {\n    wd:Q303479 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?wikipediaArticle schema:about wd:Q303479 ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n}\nORDER BY ?order", "paraphrases": ["What are the labels for the biological term \"hermaphrodite\" in English, German, French, and Italian, and what images and English Wikipedia article are associated with it?", "Show me all images and the English Wikipedia article for the entity \"hermaphrodite\", with each image paired with its label in English, German, French, and Italian, ordered by language."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q303479> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var5 ) ) ) . VALUES ( ?var5 ?var6 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q303479> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q303479> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q303479> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var6 )"}}
{"id": "test_854", "question": "Children of Prince Moritz of Saxe-Altenburg except Princess Louise Charlotte.", "sparql": "SELECT ?child WHERE { wd:Q63590 p:P40 ?statement . ?statement ps:P40 ?child . FILTER (?child != wd:Q658061) }", "paraphrases": ["Who are the children of Prince Moritz of Saxe-Altenburg, excluding Princess Louise Charlotte of Saxe-Altenburg?", "List all children of Prince Moritz of Saxe-Altenburg, but don't include Princess Louise Charlotte."], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/63014> <http://www.wikidata.org/prop/P40> ?var1 . ?var1 <http://www.wikidata.org/prop/statement/P40> ?var2 . FILTER ( ( ( ?var2 != <http://www.wikidata.org/entity/Q658061> ) ) ) . }"}}
{"id": "test_855", "question": "What countries (including historical ones) are listed as the origin of pasta?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?countryLabel WHERE {\n  wd:Q178 wdt:P495 ?country .\n  ?country wdt:P31 ?type .\n  VALUES ?type {\n    wd:Q6256 wd:Q3024240\n  }\n  .\n  ?country rdfs:label ?countryLabel .\n  FILTER ( LANG( ?countryLabel ) = \"en\" )\n}", "paraphrases": ["Which nations, whether current or historical, are considered the country of origin for pasta according to Wikidata?", "Show me the labels of countries and historical countries that pasta originates from."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { <http://www.wikidata.org/entity/Q178> <http://www.wikidata.org/prop/direct/P495> ?var1 . { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_856", "question": "What English and German Wikipedia and Wikiquote pages are about the movie with IMDb ID tt0076727?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?page WHERE {\n  ?movie wdt:P345 \"tt0076727\" .\n  ?page schema:about ?movie .\n  VALUES ?lang {\n    \"en\" \"de\"\n  }\n  ?page schema:inLanguage ?lang .\n}", "paraphrases": ["Which language-specific pages (in English or German) link to the movie \"Office Romance\" via its IMDb identifier tt0076727?", "Show me the English and German Wikipedia and Wikiquote pages related to the movie identified by IMDb ID tt0076727."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0076727\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_857", "question": "What are the subclasses of weapons, and what Wikipedia pages are associated with them?", "sparql": "SELECT ?weaponSubclass ?weaponSubclassLabel ?wikipediaPage WHERE { ?weaponSubclass wdt:P279 wd:Q728 . OPTIONAL { ?wikipediaPage schema:about ?weaponSubclass . } ?weaponSubclass rdfs:label ?weaponSubclassLabel . FILTER(LANG(?weaponSubclassLabel) = \"en\") }", "paraphrases": ["List the English names of all weapon types and their corresponding Wikipedia articles.", "Can you show me the types of weapons and the web pages that describe them?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q728> . OPTIONAL { ?var2 <http://schema.org/about> ?var1 . } }"}}
{"id": "test_858", "question": "Firearms manufacturers that are businesses", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?company WHERE {\n  ?company wdt:P31 wd:Q4830453 ; wdt:P1056 wd:Q12796 .\n}", "paraphrases": ["Which companies produce firearms?", "List all businesses that manufacture firearms."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5600183> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_859", "question": "Bulgarian names of mountain peaks", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?summitLabel WHERE {\n  ?summit wdt:P31 wd:Q207326 .\n  ?summit rdfs:label ?summitLabel .\n  FILTER(LANG(?summitLabel) = \"bg\")\n}", "paraphrases": ["What are the Bulgarian-language names of all mountain summits in Wikidata?", "List all mountain summits with their labels in Bulgarian."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q207326> . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"bg\" ) ) ) . }"}}
{"id": "test_860", "question": "List all bacterial species with English Wikipedia pages and their NCBI taxonomy IDs.", "sparql": "SELECT ?wikipedia_page ?taxon ?ncbi_id WHERE { wd:Q10876 wdt:P685 \"2\" . ?taxon wdt:P171* wd:Q10876 ; rdfs:label ?label . FILTER(LANG(?label) = \"en\") OPTIONAL { ?taxon wdt:P685 ?ncbi_id . } OPTIONAL { ?wikipedia_page schema:about ?taxon ; schema:isPartOf <https://en.wikipedia.org/> . } }", "paraphrases": ["What are the English Wikipedia pages and NCBI IDs for all taxa descended from the domain Bacteria?", "Show me the Wikipedia links, scientific names, and NCBI IDs of all bacteria and their subtaxa."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P685> \"1117\". ?var2 <http://www.wikidata.org/prop/direct/P171> * ?var4 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P685> ?var3 . } OPTIONAL { ?var1 <http://schema.org/about> ?var2 ; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } }"}}
{"id": "test_861", "question": "Aircraft pilots with their images and English names", "sparql": "SELECT ?pilot ?label ?image WHERE { ?pilot wdt:P106 wd:Q2095549 . OPTIONAL { ?pilot wdt:P18 ?image . } ?pilot rdfs:label ?label . FILTER(LANG(?label) = \"en\") } LIMIT 100", "paraphrases": ["Who are some aircraft pilots, what are their names in English, and do they have photos?", "List up to 100 aircraft pilots along with their English names and available images."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q2095549> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_862", "question": "What are all the properties and values associated with the statement about Albert Einstein's birthplace?", "sparql": "SELECT ?property ?value WHERE { s:Q1001856-9144f2b2-41a7-e86b-d0c3-f271864f8d3b ?property ?value . }", "paraphrases": ["Show me the qualifiers and references for the claim that Albert Einstein was born in Ulm.", "Retrieve all metadata (qualifiers and sources) linked to the specific statement identifying Albert Einstein\u2019s place of birth."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q18554460-2E1FD7F2-9088-4CEC-A858-7269E70164E5> ?var1 ?var2 . }"}}
{"id": "test_863", "question": "What properties and values are associated with Albert Einstein's birthplace statement in Wikidata?", "sparql": "PREFIX s: <http://www.wikidata.org/entity/statement/>\nSELECT ?property ?value WHERE {\n  s:Q1001856-9144f2b2-41a7-e86b-d0c3-f271864f8d3b ?property ?value .\n}", "paraphrases": ["Can you show me all the metadata (properties and values) of the statement that records Albert Einstein was born in Ulm?", "Please list all the triples from the statement node for Albert Einstein\u2019s place of birth."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/q79793-33428546-9D40-4330-A803-6D92FBFA650D> ?var1 ?var2 . }"}}
{"id": "test_864", "question": "What is the image of the person with SNAC ARK ID w6f29nwg?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6f29nwg\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Image of Barack Obama from SNAC ARK ID w6f29nwg.", "Show me the Wikimedia Commons image linked to the SNAC ARK ID w6f29nwg."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w60x21wz\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_865", "question": "List airlines with their ICAO codes and official websites, sorted by ICAO code.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?airlineLabel ?icaoCode ?website WHERE {\n  ?airline wdt:P31 wd:Q46970 ; wdt:P230 ?icaoCode ; wdt:P856 ?website .\n  ?airline rdfs:label ?airlineLabel .\n  FILTER ( LANG( ?airlineLabel ) = \"en\" )\n}\nORDER BY ASC ( ?icaoCode )", "paraphrases": ["What are the official websites and ICAO codes of all airlines, ordered alphabetically by ICAO code?", "Please provide a list of airlines in English, along with their ICAO designators and official websites, sorted by ICAO code."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q46970> ; <http://www.wikidata.org/prop/direct/P230> ?var3 ; <http://www.wikidata.org/prop/direct/P856> ?var4 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P154> ?var5 . } } ORDER BY ASC( ?var3 )"}}
{"id": "test_866", "question": "Winners of Grand Slam tennis tournaments by discipline and number of titles", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?disciplineLabel ?winnerLabel ( COUNT( ?tournamentEvent ) AS ?titleCount ) WHERE {\n  VALUES ?discipline {\n    wd:Q16893072 wd:Q16893403 wd:Q17299700 wd:Q17299348 wd:Q16629853\n  }\n  ?tournamentEvent wdt:P2094 ?discipline ; wdt:P1346 ?winner ; wdt:P361 ?tournamentEdition .\n  ?tournamentEdition wdt:P361 ?grandSlamTournament .\n  ?grandSlamTournament wdt:P361 wd:Q102113 .\n  ?discipline rdfs:label ?disciplineLabel .\n  ?winner rdfs:label ?winnerLabel .\n  FILTER ( LANG( ?disciplineLabel ) = \"en\" ) FILTER ( LANG( ?winnerLabel ) = \"en\" )\n}\nGROUP BY ?disciplineLabel ?winnerLabel", "paraphrases": ["Who are the winners of each Grand Slam tennis discipline (singles, doubles, mixed) and how many titles have they won?", "List all tennis players who have won Grand Slam titles in men's singles, women's singles, men's doubles, women's doubles, or mixed doubles, along with the count of their titles in each discipline."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2Label ( COUNT ( ?var3Label ) AS ?var4 ) WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q16893072> ) ( <http://www.wikidata.org/entity/Q16893403> ) ( <http://www.wikidata.org/entity/Q17299700> ) ( <http://www.wikidata.org/entity/Q17299348> ) ( <http://www.wikidata.org/entity/Q16629853> ) } ?var5 ( <http://www.wikidata.org/prop/direct/P361> / <http://www.wikidata.org/prop/direct/P31> ) ?var3 ; <http://www.wikidata.org/prop/direct/P1346> ?var2 ; <http://www.wikidata.org/prop/direct/P31> ?var1 . ?var3 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q102113> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1Label ?var2Label"}}
{"id": "test_867", "question": "Longest rivers in Germany by length", "sparql": "SELECT ?river ?riverLabel ?length WHERE { ?river wdt:P31 wd:Q4022 . ?river wdt:P17 wd:Q183 . ?river wdt:P2043 ?length . ?river rdfs:label ?riverLabel . FILTER(LANG(?riverLabel) = \"en\") } ORDER BY DESC(?length)", "paraphrases": ["What are the rivers in Germany, ordered from longest to shortest, and how long are they?", "List all rivers in Germany with their lengths in kilometers, sorted from longest to shortest, using English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4022> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . ?var1 <http://www.wikidata.org/prop/direct/P2043> ?var2 . } ORDER BY DESC( ?var2 )"}}
{"id": "test_868", "question": "Top educational institutions attended by Pakistani authors and writers.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?institutionLabel ( COUNT( ?institution ) AS ?count ) WHERE {\n  ?person wdt:P31 wd:Q5 ; wdt:P106 ?occupation ; wdt:P27 wd:Q843 ; wdt:P69 ?institution .\n  VALUES ?occupation {\n    wd:Q482980 wd:Q36180\n  }\n  .\n  ?institution rdfs:label ?institutionLabel .\n  FILTER ( LANG( ?institutionLabel ) = \"en\" )\n}\nGROUP BY ?institution ?institutionLabel\nORDER BY DESC ( ?count )", "paraphrases": ["Which universities have been attended by the most Pakistani citizens who are authors or writers?", "List the educational institutions attended by the highest number of Pakistani authors and writers, ordered by count, with English labels."], "info": {"raw_sparql": "SELECT ?var1Label ( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P106> ?var4 ; <http://www.wikidata.org/prop/direct/P27> ?var5 ; <http://www.wikidata.org/prop/direct/P69> ?var1 . VALUES ( ?var4 ) { ( <http://www.wikidata.org/entity/Q482980> ) ( <http://www.wikidata.org/entity/Q36180> ) } VALUES ( ?var5 ) { ( <http://www.wikidata.org/entity/Q843> ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var2 )"}}
{"id": "test_869", "question": "What are the direct instances of volcanic landforms in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?volcanicLandform WHERE {\n  ?volcanicLandform wdt:P31 wd:Q29025902 .\n}", "paraphrases": ["List all geographic features classified as volcanic landforms.", "Show me the names of all entities that are examples of a volcanic landform."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q8362860> . }"}}
{"id": "test_870", "question": "What source information is stored in the reference for Albert Einstein\u2019s birthplace statement?", "sparql": "PREFIX ref: <http://www.wikidata.org/reference/>\nSELECT ?property ?value WHERE {\n  ref:1ce7f8133e7f1de7fa62b06d1d3dfe1a3a01ab81 ?property ?value .\n}", "paraphrases": ["Show all properties and values associated with a Wikidata reference for a sourced statement.", "What are the details of the reference that cites the source of Albert Einstein\u2019s birthplace?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/reference/5790114b8920c5a65fcbeadd238e9777ab662a4e> ?var1 ?var2 . }"}}
{"id": "test_871", "question": "What properties are used to link editions of the Supercopa de Espa\u00f1a to the main tournament?", "sparql": "SELECT DISTINCT ?edition ?property WHERE { ?edition ?property wd:Q485997 . FILTER (STRSTARTS(STR(?edition), \"http://www.wikidata.org/entity/Q\")) }", "paraphrases": ["Show all editions of the Supercopa de Espa\u00f1a and how they are connected to the main tournament entity.", "Which items are related to the Supercopa de Espa\u00f1a, and what kind of relationships do they have with it?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q485997> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_872", "question": "Current members of the Argentine Chamber of Deputies and their electoral districts", "sparql": "SELECT DISTINCT ?member ?district ?group ?endDate WHERE { ?member p:P39 ?statement . ?statement ps:P39/wdt:P279* wd:Q18229570 . ?statement pq:P768 ?district . OPTIONAL { ?statement pq:P4100 ?group . } OPTIONAL { ?statement pq:P582 ?endDateRaw . } BIND( COALESCE( ?endDateRaw, \"3001-01-01T00:00:00Z\"^^xsd:dateTime ) AS ?endDate ) FILTER( ?endDate > NOW() ) }", "paraphrases": ["Who are the currently serving members of the Argentine Chamber of Deputies, and which districts do they represent?", "List all active deputies in Argentina\u2019s Chamber of Deputies along with their electoral districts and political groups, if available."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/P39> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P39> [ <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q18229570> ] ; <http://www.wikidata.org/prop/qualifier/P580> ?var6 . OPTIONAL { ?var5 <http://www.wikidata.org/prop/qualifier/P768> ?var2 . } OPTIONAL { ?var5 <http://www.wikidata.org/prop/qualifier/P4100> ?var3 . } OPTIONAL { ?var5 <http://www.wikidata.org/prop/qualifier/P582> ?var7 . } BIND ( COALESCE ( ?var7 , \"3001-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) AS ?var4 ). FILTER ( ( ( ?var4 > NOW ( ) ) ) ) . }"}}
{"id": "test_873", "question": "Current members of the Tasmanian Legislative Council and their electoral districts", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel ?electoralDistrictLabel WHERE {\n  ?person p:P39 ?statement .\n  ?statement ps:P39 wd:Q19299542 .\n  ?statement pq:P768 ?electoralDistrict .\n  FILTER ( NOT EXISTS {\n    ?statement pq:P582 ?endTime .\n  }\n  ) ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) ?electoralDistrict rdfs:label ?electoralDistrictLabel .\n  FILTER ( LANG( ?electoralDistrictLabel ) = \"en\" )\n}\nORDER BY ASC ( ?personLabel )\nLIMIT 20", "paraphrases": ["Who are the current members of the Tasmanian Legislative Council, and which electoral districts do they represent?", "List the names of all current members of the Tasmanian Legislative Council along with the electoral districts they represent, sorted alphabetically by name."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/P39> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q19299542> . ?var5 <http://www.wikidata.org/prop/qualifier/P768> ?var4 . OPTIONAL { ?var1 <http://www.wikidata.org/entity/Q101352> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P102> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( NOT EXISTS { ?var5 <http://www.wikidata.org/prop/qualifier/P582> ?var6 . } ) ) . } ORDER BY ASC( ?var2Label )"}}
{"id": "test_874", "question": "Candidates in the 2017 Dutch election with their political parties and Twitter/Mastodon accounts.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?candidate ?party ?twitter ?mastodon WHERE {\n  ?candidate wdt:P3602 wd:Q16061881 .\n  ?candidate wdt:P102 ?party .\n  OPTIONAL {\n    ?candidate wdt:P2002 ?twitter .\n  }\n  OPTIONAL {\n    ?candidate wdt:P2035 ?mastodon .\n  }\n}\nLIMIT 10", "paraphrases": ["Who were the candidates in the 2017 Dutch general election, which parties did they belong to, and do they have Twitter or Mastodon accounts?", "List the people who ran in the 2017 Dutch general election, along with their political parties and any associated Twitter or Mastodon usernames."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/P279> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2035> ?var4 . } ?var2 <http://www.wikidata.org/prop/statement/P3602> <http://www.wikidata.org/entity/Q16061881> . } LIMIT 10"}}
{"id": "test_875", "question": "Authority control identifiers for Franz Kafka", "sparql": "SELECT ?identifier ?identifierLabel WHERE { VALUES (?property ?identifierLabel) { (wdt:P213 \"ISNI\") (wdt:P214 \"VIAF cluster ID\") (wdt:P227 \"GND ID\") (wdt:P244 \"Library of Congress authority ID\") (wdt:P646 \"Freebase ID\") } wd:Q905 ?property ?identifier . } ORDER BY UCASE(?identifierLabel)", "paraphrases": ["What are the ISNI, VIAF, GND, Library of Congress, and Freebase IDs for Franz Kafka?", "List the identifier types and values for Franz Kafka from common authority control systems."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P35> <http://www.wikidata.org/entity/Q905> . <http://www.wikidata.org/entity/Q905> <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19595382> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var1Label ?var2 ORDER BY ASC( UCASE ( ?var1Label ) )"}}
{"id": "test_876", "question": "What is the image of the person with SNAC ARK ID w6f29nwg?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6f29nwg\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Image of Barack Obama from SNAC ARK ID w6f29nwg.", "Show me the Wikimedia Commons image linked to the SNAC ARK ID w6f29nwg."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6ht3bx4\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_877", "question": "Does the GND ID \"4002567-6\" exist in Wikidata?", "sparql": "ASK WHERE { ?item wdt:P227 \"4002567-6\" . }", "paraphrases": ["Is there a Wikidata item associated with the German National Library ID 4002567-6?", "Confirm whether the identifier 4002567-6 from the German National Library is used in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"4002567-6\". }"}}
{"id": "test_878", "question": "What is the most common property used to classify entities as politics on Wikidata?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nSELECT ?property(COUNT(?property) AS ?count) WHERE {\n  ?item ?statementProperty wd:Q7163 .\n  ?property wikibase:directClaim ?statementProperty .\n  ?property rdf:type wikibase:Property .\n}\nGROUP BY ?property\nORDER BY DESC(?count)\nLIMIT 1", "paraphrases": ["Which property is used most frequently to indicate that an entity's field of work is politics, and how many times is it used?", "Show me the property that is most often used to assign the category of politics to entities, along with its usage count."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q7163> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_879", "question": "Is the Governor of Nebraska a subclass of head of government?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q5589688 wdt:P279 * wd:Q2285706 .\n}", "paraphrases": ["Does the position of Governor of Nebraska fall under the category of head of government?", "Confirm whether the Governor of Nebraska is a type of head of government through its hierarchical classification."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q5589688> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_880", "question": "Japanese organizations with ISNI identifiers", "sparql": "SELECT ?organizationLabel ?isni WHERE { ?organization (wdt:P31/wdt:P279*) wd:Q43229 . ?organization wdt:P17 wd:Q17 . OPTIONAL { ?organization wdt:P213 ?isni . } ?organization rdfs:label ?organizationLabel . FILTER(LANG(?organizationLabel) = \"en\") }", "paraphrases": ["What are the names of organizations in Japan, and what are their ISNI codes?", "List English names of organizations based in Japan along with their International Standard Name Identifiers, if available."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q43229> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q17> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P213> ?var3 . } }"}}
{"id": "test_881", "question": "Organizations in Bahrain with their ISNI identifiers.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?organizationLabel ?isni WHERE {\n  ?organization ( wdt:P31 / wdt:P279 * ) wd:Q43229 .\n  ?organization wdt:P17 wd:Q398 .\n  OPTIONAL {\n    ?organization wdt:P213 ?isni .\n  }\n  ?organization rdfs:label ?organizationLabel .\n  FILTER ( LANG( ?organizationLabel ) = \"en\" )\n}", "paraphrases": ["What are the names of organizations in Bahrain and their International Standard Name Identifiers (ISNI)?", "List the English names of all organizations (including subclasses) located in Bahrain, along with their ISNI codes if available."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q43229> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q398> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P213> ?var3 . } }"}}
{"id": "test_882", "question": "List the districts of Reykjav\u00edk with their English and Icelandic names, coordinates, and Freebase IDs.", "sparql": "PREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?labelEn ?labelIs ?lat ?lon ?freebaseId WHERE {\n  ?item wdt:P31 wd:Q34984790 .\n  ?item p:P625 ?stmt .\n  ?stmt psv:P625 ?coord .\n  ?coord wikibase:geoLatitude ?lat ; wikibase:geoLongitude ?lon .\n  ?item wdt:P646 ?freebaseId .\n  OPTIONAL {\n    ?item rdfs:label ?labelEn .\n    FILTER ( LANG( ?labelEn ) = \"en\" )\n  }\n  OPTIONAL {\n    ?item rdfs:label ?labelIs .\n    FILTER ( LANG( ?labelIs ) = \"is\" )\n  }\n}\nORDER BY ASC ( ?labelEn )", "paraphrases": ["What are the English and Icelandic names, geographic coordinates, and Freebase identifiers of the districts in Reykjav\u00edk?", "Show me the districts of Reykjav\u00edk, including their labels in English and Icelandic, their latitude and longitude, and their Freebase IDs, sorted alphabetically by English name."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { ?var6 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q34984790> . ?var6 <http://www.wikidata.org/prop/direct/P625> ?var7 . ?var6 <http://www.wikidata.org/prop/P625> ?var8 . ?var8 <http://www.wikidata.org/prop/statement/value/P625> ?var9 . ?var9 <http://wikiba.se/ontology#geoLatitude> ?var3 . ?var9 <http://wikiba.se/ontology#geoLongitude> ?var4 . ?var6 <http://www.wikidata.org/prop/direct/P646> ?var5 . ?var6 <http://www.wikidata.org/prop/direct/P300> ?var10 . OPTIONAL { ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"en\" ) ) ) . } OPTIONAL { ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"is\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_883", "question": "What are the English and German Wikipedia pages for the TV show with IMDb ID tt5193460?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?wikipedia_page WHERE {\n  ?item wdt:P345 \"tt5193460\" .\n  {\n    ?wikipedia_page schema:about ?item ; schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipedia_page schema:about ?item ; schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Show me the Wikipedia articles in English and German about the item identified by tt5193460 on IMDb.", "Which Wikipedia pages in English and German discuss the TV series with the IMDb identifier tt5193460?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5193460\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_884", "question": "Is southern hemisphere summer a type of season?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  wd:Q40720953 wdt:P279 * wd:Q24384 .\n}", "paraphrases": ["Is the summer in the southern hemisphere classified as a season?", "Confirm whether summer in the southern hemisphere is a subclass of season."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q40720953> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_885", "question": "People who were members of the German Bundestag and the Socialist Unity Party of Germany (SED)", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person ?personLabel WHERE {\n  ?person wdt:P39 wd:Q1939555 .\n  ?person wdt:P102 wd:Q49750 .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}\nORDER BY ASC(?personLabel)", "paraphrases": ["Who were the members of the German Bundestag that belonged to the Socialist Unity Party of Germany (SED)?", "List all individuals who served in the German Bundestag and were members of the East German Communist Party (SED), sorted alphabetically by name."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q1939555> . ?var1 <http://www.wikidata.org/prop/direct/P102> <http://www.wikidata.org/entity/Q49750> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } } ORDER BY ASC( ?var3Label )ASC( ?var1Label )"}}
{"id": "test_886", "question": "UK Cabinet ministers since 1992 and their universities", "sparql": "SELECT DISTINCT ?person ?ministerialPosition ?startDate ?university ?universityLabel WHERE { ?person p:P39 ?statement . ?statement ps:P39 ?ministerialPosition . ?ministerialPosition wdt:P279* wd:Q83307 . ?ministerialPosition wdt:P361 wd:Q112014 . OPTIONAL { ?statement pq:P580 ?startDate . FILTER (?startDate >= \"1992-04-09\"^^xsd:dateTime) } OPTIONAL { ?person p:P69 ?educationStatement . ?educationStatement ps:P69 ?university . ?university wdt:P279* wd:Q3918 . OPTIONAL { ?educationStatement pq:P812 ?academicMajor . } ?university rdfs:label ?universityLabel . FILTER(LANG(?universityLabel) = \"en\") } } ORDER BY ASC(?universityLabel) DESC(?startDate)", "paraphrases": ["Which UK Cabinet ministers held office after April 9, 1992, and which universities did they attend?", "List all ministers in the UK Cabinet since April 1992, along with the universities they attended, if any."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var3Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/P39> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P39> ?var6 . ?var6 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q83307> . ?var6 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q112014> . OPTIONAL { ?var5 <http://www.wikidata.org/prop/qualifier/P580> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/P69> ?var8 . ?var8 <http://www.wikidata.org/prop/statement/P69> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/361> * ?var9 . ?var9 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q3918> . OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P812> ?var10 . } } FILTER ( ( ( ?var7 >= \"1992-04-09\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var10 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . } } ORDER BY ASC( ?var2 ) DESC( ?var7 )"}}
{"id": "test_887", "question": "List public offices and their associated countries.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?office ?countryLabel ?officeLabel WHERE {\n  ?office wdt:P31 wd:Q294414 .\n  ?office wdt:P17 ?country .\n  OPTIONAL {\n    ?country rdfs:label ?countryLabel FILTER ( LANG( ?countryLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?office rdfs:label ?officeLabel FILTER ( LANG( ?officeLabel ) = \"en\" )\n  }\n}", "paraphrases": ["What are the names of public offices and the countries they belong to?", "Show me a list of political positions along with the countries where they exist."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q82955> . ?var4 <http://wikiba.se/ontology#directClaim> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P264> ?var2Label . } }"}}
{"id": "test_888", "question": "List GLAM institutions (galleries, libraries, archives, museums) with their ISNI codes and countries, sorted by ISNI in descending order.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?glamInstitution ?isni ?country WHERE {\n  ?glamInstitution wdt:P31 ?instanceType .\n  OPTIONAL {\n    ?glamInstitution wdt:P213 ?isni .\n  }\n  OPTIONAL {\n    ?glamInstitution wdt:P17 ?country .\n  }\n  ?instanceType wdt:P279 * wd:Q1030034 .\n}\nORDER BY DESC(?isni) ASC(?glamInstitution)", "paraphrases": ["Which cultural institutions like museums and libraries have ISNI identifiers and are located in which countries, ordered by ISNI from highest to lowest?", "Please provide a list of all GLAM-related institutions, including their ISNI numbers and countries, sorted by ISNI in descending order and institution name in ascending order."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P213> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . } ?var5 <http://www.wikidata.org/prop/direct/P279> + <http://www.wikidata.org/entity/Q1030034> . } ORDER BY DESC( ?var2 )ASC( ?var1 )"}}
{"id": "test_889", "question": "Legislative terms of the Landtag of Saarland", "sparql": "SELECT ?legislativeTerm ?legislativeTermLabel ?legislativeBodyLabel WHERE { ?legislativeTerm wdt:P31 wd:Q15238777 . ?legislativeTerm wdt:P13188 wd:Q260372 . ?legislativeTerm rdfs:label ?legislativeTermLabel . wd:Q260372 rdfs:label ?legislativeBodyLabel . FILTER(LANG(?legislativeTermLabel) = \"en\") FILTER(LANG(?legislativeBodyLabel) = \"en\") }", "paraphrases": ["What are the legislative terms that meet in the Landtag of Saarland?", "List all the legislative terms associated with the Landtag of Saarland."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/P31> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P31> <http://www.wikidata.org/entity/Q15238777> . ?var3 <http://www.wikidata.org/prop/qualifier/P642> <http://www.wikidata.org/prop/direct/Q260372> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_890", "question": "List French Prime Ministers with their term start and end dates, ordered by most recent first.", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?prime_minister ?prime_minister_label ?start_date ?end_date WHERE {\n  ?prime_minister wdt:P31 wd:Q5 ; p:P39 ?statement .\n  ?statement ps:P39 wd:Q1587677 ; pq:P580 ?start_date ; pq:P582 ?end_date .\n  ?prime_minister rdfs:label ?prime_minister_label .\n  FILTER(LANG(?prime_minister_label) = \"en\")\n}\nORDER BY DESC(?start_date)", "paraphrases": ["Who have been the Prime Ministers of France, and when did their terms begin and end?", "Show me the names of all individuals who have held the office of Prime Minister of France, along with the start and end dates of their terms, sorted from the most recent to the earliest."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/P39> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q1587677> ; <http://www.wikidata.org/prop/qualifier/P580> ?var2 ; <http://www.wikidata.org/prop/qualifier/P582> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY DESC( ?var5 )"}}
{"id": "test_891", "question": "What are all the superclass categories of the M1903 Springfield rifle?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?ancestor WHERE {\n  wd:Q217153 wdt:P279 * ?ancestor .\n}", "paraphrases": ["What classes does the M1903 Springfield rifle belong to through its hierarchy of subclasses?", "List all the ancestor classes in the taxonomy for the M1903 Springfield firearm, including broad categories like \"equipment\" and \"physical object\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q217153> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_892", "question": "What properties link the entity \"president\" to Wikimedia categories, and what are their English labels?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?var1 ?var2Label WHERE {\n  wd:Q30461 ?var1 ?var3 .\n  ?var2 wikibase:directClaim ?var1 .\n  ?var3 wdt:P31 wd:Q4167836 .\n  ?var2 rdfs:label ?var2Label .\n  FILTER(LANG(?var2Label) = \"en\")\n}", "paraphrases": ["Which property is used to associate the concept of president with Wikimedia categories, and how is it labeled in English?", "Show me the English label of the property that connects the president entity to Wikimedia categories."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2Label WHERE { <http://www.wikidata.org/entity/Q30461> ?var1 ?var3 . ?var2 <http://wikiba.se/ontology#directClaim> ?var1 . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P31> / <http://www.w3.org/2000/01/rdf-schema#label> ) ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . FILTER ( ( STRSTARTS ( ?var3Label , \"Wikimedia\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_893", "question": "What are the direct parent categories of the Governor of Connecticut?", "sparql": "SELECT DISTINCT ?superclass WHERE { wd:Q887090 wdt:P279 ?superclass . }", "paraphrases": ["What classes does the position of Governor of Connecticut belong to?", "What is the hierarchy above the Governor of Connecticut in Wikidata?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q887090> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_894", "question": "What are some examples of volcanic landforms?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subclass WHERE {\n  ?subclass wdt:P279 wd:Q29025902 .\n}", "paraphrases": ["Which geological features are classified as subclasses of volcanic landform?", "List all types of landforms that are formed by volcanic activity."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q27994918> . }"}}
{"id": "test_895", "question": "What is the Japanese term for Tamori\u2019s occupation?", "sparql": "SELECT ?occupationLabel WHERE { wd:Q850746 wdt:P106 wd:Q12330954 . wd:Q12330954 rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = \"ja\") }", "paraphrases": ["What is the Japanese label for the occupation \"owarai tarento\" that Tamori has?", "How is Tamori\u2019s profession described in Japanese?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { BIND ( <http://www.wikidata.org/entity/Q850746> AS ?var2 ). BIND ( <http://www.wikidata.org/prop/direct/P106> AS ?var3 ). BIND ( <http://www.wikidata.org/entity/Q2705098> AS ?var4 ). BIND ( <http://www.wikidata.org/prop/direct/P1477> AS ?var5 ). ?var2 ?var3 ?var4 ; ?var5 ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"ja\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja\". } }"}}
{"id": "test_896", "question": "Organizations in Honduras with their ISNI identifiers.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?organizationLabel ?isni WHERE {\n  ?organization ( wdt:P31 / wdt:P279 * ) wd:Q43229 .\n  ?organization wdt:P17 wd:Q783 .\n  OPTIONAL {\n    ?organization wdt:P213 ?isni .\n  }\n  ?organization rdfs:label ?organizationLabel .\n  FILTER ( LANG( ?organizationLabel ) = \"en\" )\n}", "paraphrases": ["What are the names of organizations in Honduras, and do they have ISNI numbers?", "List all organizations (including institutions and their subclasses) located in Honduras, along with their English labels and International Standard Name Identifiers (ISNI), if available."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q43229> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q783> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P213> ?var3 . } }"}}
{"id": "test_897", "question": "What are the social roles held by humans, along with their alternative names and broader categories in English?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT DISTINCT ?positionLabel ( GROUP_CONCAT( DISTINCT ?altLabel ; SEPARATOR = \", \" ) AS ?altLabels ) ( GROUP_CONCAT( DISTINCT ?superclassLabel ; SEPARATOR = \", \" ) AS ?superclassLabels ) WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person p:P39 ?statement .\n  ?statement ps:P39 ?position .\n  ?statement pq:P580 ?startDate .\n  OPTIONAL {\n    ?statement pq:P582 ?endDate .\n  }\n  OPTIONAL {\n    ?statement pq:P1365 ?replacedBy .\n  }\n  OPTIONAL {\n    ?statement pq:P1366 ?replaces .\n  }\n  ?position wdt:P279 + wd:Q214339 .\n  OPTIONAL {\n    ?position skos:altLabel ?altLabel .\n    FILTER ( LANG( ?altLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?position wdt:P279 ?superclass .\n    ?superclass rdfs:label ?superclassLabel .\n    FILTER ( LANG( ?superclassLabel ) = \"en\" )\n  }\n  ?position rdfs:label ?positionLabel .\n  FILTER ( LANG( ?positionLabel ) = \"en\" )\n}\nGROUP BY ?positionLabel", "paraphrases": ["For each social role held by a human, what are its English alternative labels and its superclass roles?", "List all English-labeled social roles that humans have held, including their synonyms and higher-level categories."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ( GROUP_CONCAT ( DISTINCT ?var2 ; SEPARATOR = \", \" ) AS ?var2 )( GROUP_CONCAT ( DISTINCT ?var3 ; SEPARATOR = \", \" ) AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var4 <http://www.wikidata.org/prop/P39> ?var5 . ?var5 <http://www.wikidata.org/prop/qualifier/P580> ?var6 . OPTIONAL { ?var5 <http://www.wikidata.org/prop/qualifier/P582> ?var7 . } ?var5 <http://www.wikidata.org/prop/qualifier/P1365> ?var8 . ?var5 <http://www.wikidata.org/prop/qualifier/P1366> ?var9 . ?var5 <http://www.wikidata.org/prop/statement/P39> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P279> ?var3 . ?var1 ( <http://www.wikidata.org/prop/direct/P31> *| <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q214339> . OPTIONAL { ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> * ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1Label"}}
{"id": "test_898", "question": "What are all the parent classes (superclasses) of volcanic landform in the Wikidata ontology?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?superclass WHERE {\n  wd:Q29025902 wdt:P279 * ?superclass .\n}", "paraphrases": ["Show me the full hierarchy of categories that volcanic landform belongs to, from specific to general.", "What broader categories include volcanic landform as a subclass?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q19692967> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_899", "question": "What are the broader categories that a bolt-action rifle belongs to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?ancestor WHERE {\n  wd:Q40280158 wdt:P279 * ?ancestor .\n}\nLIMIT 100", "paraphrases": ["What are all the superclass categories of a bolt-action rifle in Wikidata?", "List all the hierarchical parent classes of a bolt-action rifle."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q40280158> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_900", "question": "Find the ISNI, VIAF, ORCID, IPNI, ZooBank ID, and image for the biological author John D. Lynch.", "sparql": "SELECT ?person ?isni ?viaf ?image ?orcid ?ipni ?zoobank WHERE { ?person skos:altLabel \"John D. Lynch\" @en . OPTIONAL { ?person wdt:P213 ?isni . } OPTIONAL { ?person wdt:P214 ?viaf . } OPTIONAL { ?person wdt:P18 ?image . } OPTIONAL { ?person wdt:P496 ?orcid . } OPTIONAL { ?person wdt:P586 ?ipni . } OPTIONAL { ?person wdt:P2006 ?zoobank . } }", "paraphrases": ["What are the identifiers (ISNI, VIAF, ORCID, IPNI, ZooBank) and image associated with the taxonomist John D. Lynch?", "Please provide the academic identifiers and image for John D. Lynch, a known herpetologist and taxonomist."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"J D Lynch\"@en . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/isPartOf> <https://species.wikimedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P213> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P214> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P586> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2006> ?var8 . } }"}}
{"id": "test_901", "question": "What country is the fictional cat F.D.C. Willard associated with as its place of birth?", "sparql": "SELECT ?countryLabel WHERE { wd:Q1386318 wdt:P19 ?country . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") }", "paraphrases": ["Where was F.D.C. Willard, the co-author of the scientific paper on cryogenics, born?", "Can you tell me the English label of the country where the cat F.D.C. Willard was born?"], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q1386318> <http://www.wikidata.org/prop/direct/P17> ?var1 . }"}}
{"id": "test_902", "question": "What Wikidata item has the GND ID 4120517-0?", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P227 \"4120517-0\" . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["Which concept in Wikidata is identified by the German National Library ID 4120517-0?", "Show me the Wikidata entry for the topic with GND ID 4120517-0."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"4120517-0\". } LIMIT 1"}}
{"id": "test_903", "question": "What are the heads of government of countries and states, along with their capital cities?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?capital ?capitalLabel ?head ?headLabel WHERE {\n  ?capital wdt:P31 wd:Q5119 .\n  ?country wdt:P36 ?capital .\n  ?head wdt:P6 ?country .\n  ?head wdt:P31 wd:Q5 .\n  OPTIONAL {\n    ?capital rdfs:label ?capitalLabel\n    FILTER(LANG(?capitalLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?head rdfs:label ?headLabel\n    FILTER(LANG(?headLabel) = \"en\")\n  }\n}", "paraphrases": ["For each capital city, who is the head of government of the administrative region it belongs to?", "List capital cities and their corresponding heads of government in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5119> . ?var2 <http://www.wikidata.org/prop/direct/P6> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,fr\". } }"}}
{"id": "test_904", "question": "Longest rivers in Hungary with their lengths and images", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?river ?riverLabel ?length ?image WHERE {\n  ?river ( wdt:P31 / wdt:P279 * ) wd:Q4022 .\n  ?river wdt:P2043 ?length .\n  ?river wdt:P18 ?image .\n  ?river wdt:P17 wd:Q28 .\n  ?river rdfs:label ?riverLabel .\n  FILTER ( LANG( ?riverLabel ) = \"en\" )\n}\nORDER BY DESC ( ?length ) ASC ( ?riverLabel )\nLIMIT 10", "paraphrases": ["What are the top 10 longest rivers in Hungary, and what are their lengths and corresponding images on Wikimedia Commons?", "Show me the 10 longest rivers in Hungary, sorted by length, along with their English names and images."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q4022> . ?var1 <http://www.wikidata.org/prop/direct/P2043> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q28> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"hu\". } } ORDER BY DESC( ?var2 )ASC( ?var1Label ) LIMIT 10"}}
{"id": "test_905", "question": "What are all the superclass categories of volcanic landform in Wikidata?", "sparql": "SELECT DISTINCT ?superclass WHERE { wd:Q29025902 wdt:P279* ?superclass . }", "paraphrases": ["Show me the hierarchy of classes that volcanic landform belongs to, including indirect superclasses.", "What broader categories include volcanic landform as a subclass?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q45843457> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_906", "question": "ISNI, VIAF, ORCID, IPNI, ZooBank ID, and image of Pierre Fauvel", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?label ?isni ?viaf ?orcid ?ipni ?zoobank ?image WHERE {\n  wd:Q23749222 rdfs:label ?label .\n  FILTER(LANG(?label) = 'en')\n  .\n  OPTIONAL {\n    wd:Q23749222 wdt:P213 ?isni\n  }\n  .\n  OPTIONAL {\n    wd:Q23749222 wdt:P214 ?viaf\n  }\n  .\n  OPTIONAL {\n    wd:Q23749222 wdt:P496 ?orcid\n  }\n  .\n  OPTIONAL {\n    wd:Q23749222 wdt:P586 ?ipni\n  }\n  .\n  OPTIONAL {\n    wd:Q23749222 wdt:P2006 ?zoobank\n  }\n  .\n  OPTIONAL {\n    wd:Q23749222 wdt:P18 ?image\n  }\n  .\n}", "paraphrases": ["What are the identifiers (ISNI, VIAF, ORCID, IPNI, ZooBank) and image associated with the French zoologist Pierre Fauvel?", "Please provide the public identifiers and an image for Pierre Fauvel, the French zoologist, including ISNI, VIAF, ORCID, IPNI, and ZooBank ID if available."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"P Fauvel\"@en . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/isPartOf> <https://species.wikimedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P213> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P214> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P586> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2006> ?var8 . } }"}}
{"id": "test_907", "question": "What are the types of veterinarians and veterinary clinics listed in Wikidata?", "sparql": "SELECT DISTINCT ?instance ?instanceLabel ?subclass ?subclassLabel WHERE { { ?instance wdt:P31 wd:Q202883 . ?instance rdfs:label ?instanceLabel . FILTER(LANG(?instanceLabel) = \"en\") } UNION { ?subclass wdt:P279 wd:Q202883 . ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") } }", "paraphrases": ["Can you list all subclasses of veterinarian and organizations that are instances of veterinarian?", "What are some examples of veterinary occupations and veterinary service providers?"], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { { SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q202883> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } } UNION { SELECT ?var2 ?var2Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q202883> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } } }"}}
{"id": "test_908", "question": "Humans with VIAF and Open Library IDs", "sparql": "SELECT ?human ?humanLabel ?viafId ?openLibraryId WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P214 ?viafId . ?human wdt:P648 ?openLibraryId . ?human rdfs:label ?humanLabel . FILTER(LANG(?humanLabel) = \"en\") } LIMIT 20", "paraphrases": ["Which humans have both a VIAF identifier and an Open Library author ID?", "Show me the names, VIAF IDs, and Open Library IDs of all humans who have both identifiers."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P214> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P648> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 20"}}
{"id": "test_909", "question": "Is there a Wikidata item for the GND ID 1154339165?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P227 \"1154339165\" .\n}", "paraphrases": ["Does the German National Library ID 1154339165 correspond to a Wikidata entity?", "Confirm whether the person with GND ID 1154339165 is represented in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"1154339165\". }"}}
{"id": "test_910", "question": "What are the key details about German politician Karl-Georg Wellmann, including his occupation, nationality, and date of birth?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?name ?occupationLabel ?countryLabel ?birthDate WHERE {\n  wd:Q1729775 rdfs:label ?name .\n  FILTER ( LANG( ?name ) = 'en' ) .\n  wd:Q1729775 wdt:P106 ?occupation .\n  wd:Q1729775 wdt:P27 ?country .\n  wd:Q1729775 wdt:P569 ?birthDate .\n  OPTIONAL {\n    ?occupation rdfs:label ?occupationLabel .\n    FILTER ( LANG( ?occupationLabel ) = 'en' )\n  }\n  .\n  OPTIONAL {\n    ?country rdfs:label ?countryLabel .\n    FILTER ( LANG( ?countryLabel ) = 'en' )\n  }\n}", "paraphrases": ["Who is Karl-Georg Wellmann, and what is his profession, country of citizenship, and birth date?", "Can you tell me the name, job, country, and when Karl-Georg Wellmann was born?"], "info": {"raw_sparql": "Describe <http://www.wikidata.org/entity/Q1729775>"}}
{"id": "test_911", "question": "What are the airports in Belgium and the municipalities they are located in?", "sparql": "SELECT DISTINCT ?airport ?location ?locationLabel WHERE { ?airport wdt:P31 wd:Q1248784 . ?airport wdt:P17 wd:Q31 . ?airport wdt:P276 ?location . ?location rdfs:label ?locationLabel . FILTER(LANG(?locationLabel) = \"en\") }", "paraphrases": ["Can you list the airports in Belgium along with the towns or cities where they are situated?", "Which municipalities in Belgium host airports, and what are the names of those airports?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1248784> . ?var1 ?var3 <http://www.wikidata.org/entity/Q31> . ?var1 <http://www.wikidata.org/prop/direct/P276> ?var2 . }"}}
{"id": "test_912", "question": "List the top 101 types of ammunition cartridges.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?cartridge ?cartridgeLabel WHERE {\n  ?cartridge wdt:P279 wd:Q37144 .\n  ?cartridge rdfs:label ?cartridgeLabel .\n  FILTER(LANG(?cartridgeLabel) = \"en\")\n}\nLIMIT 101", "paraphrases": ["What are the 101 subclasses of a cartridge in Wikidata?", "Show me the names of 101 specific types of cartridges, such as .308 Winchester or 9 mm m/39."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P279> <http://www.wikidata.org/entity/Q37144> . ?var1 <http://www.wikidata.org/prop/P279> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_913", "question": "What dishes are made from fish?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?dish ( SAMPLE( ?label ) AS ?dishLabel ) WHERE {\n  ?dish wdt:P186 wd:Q152 .\n  ?dish rdfs:label ?label .\n}\nGROUP BY ?dish\nLIMIT 100", "paraphrases": ["Can you list food dishes that use fish as an ingredient?", "Which traditional meals contain fish as a primary component?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P186> <http://www.wikidata.org/entity/Q152> . } LIMIT 100"}}
{"id": "test_914", "question": "Is there a Wikidata item for \"reproducibility\" with the GND ID 4586094-4?", "sparql": "ASK WHERE { ?item wdt:P227 \"4586094-4\" . }", "paraphrases": ["Does the German National Library ID 4586094-4 correspond to an entity in Wikidata?", "Is reproducibility identified in Wikidata by the GND identifier 4586094-4?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"4586094-4\". }"}}
{"id": "test_915", "question": "Who were the candidates in the 2017 German presidential election?", "sparql": "SELECT DISTINCT ?candidate ?candidateLabel WHERE { ?candidate p:P3602 ?statement . ?statement ps:P3602 wd:Q23558762 . ?candidate rdfs:label ?candidateLabel . FILTER(LANG(?candidateLabel) = \"en\") }", "paraphrases": ["List all individuals who ran for president in Germany in 2017.", "Can you tell me the names of the people who were official candidates in the 2017 German federal presidential election?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1344> ?var3 . ?var1 <http://www.wikidata.org/prop/P3602> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P3602> <http://www.wikidata.org/entity/Q23558762> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en,*\". } }"}}
{"id": "test_916", "question": "List aircraft families with their English names and associated images from Wikimedia Commons.", "sparql": "SELECT DISTINCT ?aircraftFamily ?aircraftFamilyLabel ?image WHERE { ?aircraftFamily wdt:P31 wd:Q15056993 . ?aircraftFamily wdt:P18 ?image . ?aircraftFamily rdfs:label ?aircraftFamilyLabel . FILTER(LANG(?aircraftFamilyLabel) = \"en\") } ORDER BY ASC(?aircraftFamilyLabel)", "paraphrases": ["What are the English names and images of all aircraft families in Wikidata?", "Show me all aircraft families (grouped by shared design), including their English labels and the images of their models stored on Wikimedia Commons, sorted alphabetically by name."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q15056993> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,nb,nn,en,fi\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_917", "question": "Does Wikidata contain an entity with GND ID 119289768?", "sparql": "ASK WHERE { ?item wdt:P227 \"119289768\" . }", "paraphrases": ["Is there a person in Wikidata identified by the German National Library ID 119289768?", "Confirm if the GND ID 119289768 is assigned to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"119289768\". }"}}
{"id": "test_918", "question": "Who are the members of the Free Democratic Party (FDP) in the German Bundestag?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person ?personLabel WHERE {\n  ?person wdt:P102 wd:Q13124 .\n  ?person wdt:P39 wd:Q1939555 .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}\nORDER BY ASC(?personLabel)", "paraphrases": ["Which politicians have been members of both the German Bundestag and the Free Democratic Party?", "List the English names of all individuals who are members of the FDP and have held a seat in the German Bundestag."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P102> <http://www.wikidata.org/entity/Q13124> . ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q1939555> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nds\". } } ORDER BY ASC( ?var2Label )ASC( ?var1Label )"}}
{"id": "test_919", "question": "People who are civil servants", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P106 wd:Q212238 .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Who are some individuals working as civil servants?", "List the names of 100 people whose occupation is civil servant, in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q212238> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja,en\". } } LIMIT 100"}}
{"id": "test_920", "question": "Tributaries of the Lozoya River in Spain with images.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?tributary ?tributaryLabel ?image WHERE {\n  ?tributary wdt:P403 wd:Q16511 .\n  OPTIONAL {\n    ?tributary wdt:P18 ?image .\n  }\n  ?tributary rdfs:label ?tributaryLabel .\n  FILTER ( LANG( ?tributaryLabel ) = \"en\" )\n}", "paraphrases": ["Which rivers flow into the Lozoya River, and what are their images on Wikimedia Commons?", "List the English names of all watercourses that drain into the Lozoya River, along with any available images of them from Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P403> <http://www.wikidata.org/entity/Q16511> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en,ca,gl,eu,fr,de,it\". } }"}}
{"id": "test_921", "question": "Is there a Wikidata item with GND ID 4646761-0?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P227 \"4646761-0\" .\n}", "paraphrases": ["Does the German National Library ID \"4646761-0\" correspond to any entity in Wikidata?", "Confirm if the GND ID 4646761-0 is registered in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"4646761-0\". }"}}
{"id": "test_922", "question": "What images are associated with entities connected to Razvan Pascanu?", "sparql": "SELECT DISTINCT ?image WHERE { wd:Q47012846 ?p ?entity . ?entity wdt:P18 ?image . }", "paraphrases": ["Show me pictures of things or people linked to Razvan Pascanu, such as his workplaces, collaborators, or topics he works on.", "Which images on Wikimedia Commons are connected to Razvan Pascanu through any relationship?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { <http://www.wikidata.org/entity/Q47012846> <http://www.wikidata.org/prop/direct/P18> ?var1 . } UNION { <http://www.wikidata.org/entity/Q47012846> !( <http://www.wikidata.org/prop/direct/P1889> ) ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . FILTER ( ( ( ?var2 != <http://www.wikidata.org/entity/Q5> ) ) ) . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q47012846> . { ?var3 <http://www.wikidata.org/prop/direct/P921> [ <http://www.wikidata.org/prop/direct/P18> ?var1 ] . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P50> ?var3 . ?var4 <http://www.wikidata.org/prop/direct/P18> ?var1 . } } }"}}
{"id": "test_923", "question": "What is the main airport serving Berlin, and where is it located?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?airport ?airportLabel ?coord WHERE {\n  wd:Q160556 wdt:P31 / wdt:P279 * wd:Q1248784 .\n  wd:Q160556 wdt:P625 ?coord .\n  wd:Q160556 rdfs:label ?airportLabel .\n  FILTER ( LANG( ?airportLabel ) = \"en\" )\n}", "paraphrases": ["Give me the name and coordinates of Berlin\u2019s primary airport.", "Which airport in Germany serves Berlin and is part of Europe?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q64> <http://www.wikidata.org/prop/direct/P625> ?var3 . SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> ?var3 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"10\". } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1248784> . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q46> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_924", "question": "List all Austrian National Council elections.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?election WHERE {\n  ?election wdt:P31 wd:Q22268901 .\n}", "paraphrases": ["Which elections have been held for the Austrian National Council?", "Show me all instances of Austrian National Council elections."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19311231> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } OPTIONAL { } }"}}
{"id": "test_925", "question": "What are the English and German Wikipedia pages for the movie The Matrix?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?wikipedia_page WHERE {\n  ?item wdt:P345 \"tt0133093\" .\n  ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang .\n  VALUES ?lang {\n    \"en\" \"de\"\n  }\n}", "paraphrases": ["Show me the Wikipedia articles in English and German about the film with IMDb ID tt0133093.", "Which language versions of Wikipedia have articles about the movie The Matrix?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5831756\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_926", "question": "What is the English or German Wikipedia page for the film with IMDb ID tt3569014?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipediaPage WHERE {\n  ?item wdt:P345 \"tt3569014\" .\n  ?wikipediaPage schema:about ?item .\n  {\n    ?wikipediaPage schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipediaPage schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Which Wikipedia articles in English or German are about the movie identified by IMDb ID tt3569014?", "Show me the English or German Wikipedia links for the film that has the IMDb identifier tt3569014."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt3569014\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_927", "question": "What properties are used to describe rapid transit railway lines in Wikidata, and what are their English labels?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?property ?propertyLabel WHERE {\n  ?item wdt:P31 wd:Q15079663 .\n  ?item ?property ?value .\n  FILTER(STRSTARTS(STR(?property) , \"http://www.wikidata.org/prop/\"))\n  BIND(IRI(REPLACE(STR(?property) , \"http://www.wikidata.org/prop/\" , \"http://www.wikidata.org/entity/\")) AS ?propEntity)\n  ?propEntity rdfs:label ?propertyLabel .\n  FILTER(LANG(?propertyLabel) = \"en\")\n}\nORDER BY ASC(?property)", "paraphrases": ["Can you list all the properties (with their English names) that are attached to metro lines in Wikidata?", "Show me the English labels of all statement properties used on subway lines in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q15079663> . ?var3 ?var1 ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_928", "question": "Who were the Director-Generals of the Swedish National Heritage Board and when did they serve?", "sparql": "SELECT ?person ?personLabel ?startDate ?endDate WHERE { ?person wdt:P31 wd:Q5 ; p:P39 [ ps:P39 wd:Q10655117 ; pq:P580 ?startDate ; pq:P582 ?endDate ] . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["Which individuals held the position of Director-General of the Swedish National Heritage Board, and what were the start and end years of their terms?", "List the names of all people who served as Director-General of the Swedish National Heritage Board, along with the dates they started and ended their tenure."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/P39> [ <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q10655117> ; <http://www.wikidata.org/prop/qualifier/P580> ?var2 ; <http://www.wikidata.org/prop/qualifier/P582> ?var3 ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv,en\". } }"}}
{"id": "test_929", "question": "English name and type of Jahanpanah", "sparql": "SELECT ?label ?instanceOf WHERE { wd:Q2335256 wdt:P31 ?instanceOf ; rdfs:label ?label . FILTER (LANG(?label) = \"en\") }", "paraphrases": ["What is the English label and instance of type for Jahanpanah?", "Tell me the English name and what category Jahanpanah belongs to."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q2335256> <http://www.wikidata.org/prop/direct/P31> ?var2 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( \"en\" = LANG ( ?var1Label ) ) ) ) . }"}}
{"id": "test_930", "question": "List political offices and their names in all languages.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?office ?label WHERE {\n  ?office wdt:P31 wd:Q294414 .\n  ?office rdfs:label ?label .\n}", "paraphrases": ["What are the names of political offices in different languages?", "Can you provide a list of public offices with their labels in multiple languages?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q82955> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . }"}}
{"id": "test_931", "question": "Rivers originating in the Sistema Central mountain system, including their coordinates and images.", "sparql": "SELECT DISTINCT ?river ?riverLabel ?coordinates ?image WHERE { ?river wdt:P885 ?source . { ?source wdt:P706+ wd:Q53715 . } UNION { ?river wdt:P885 wd:Q53715 . } OPTIONAL { ?river wdt:P625 ?coordinates . } OPTIONAL { ?river wdt:P18 ?image . } ?river rdfs:label ?riverLabel . FILTER(LANG(?riverLabel) = \"en\") }", "paraphrases": ["What rivers have their source in the Sistema Central, and where are they located and what do they look like?", "Show me the rivers whose source is in the Sistema Central, along with their geographic coordinates and images."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P885> ?var4 . { ?var4 ( <http://www.wikidata.org/prop/direct/P706> / <http://www.wikidata.org/prop/direct/P706> *) <http://www.wikidata.org/entity/Q53715> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P885> <http://www.wikidata.org/entity/Q53715> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en,sv\". } }"}}
{"id": "test_932", "question": "Astronauts with their birthplaces and coordinates, sorted by most recent birth date.", "sparql": "SELECT ?astronaut ?astronautLabel ?placeOfBirthLabel ?coordinates WHERE { ?astronaut wdt:P106 wd:Q11631 ; wdt:P569 ?birthDate ; wdt:P19 ?placeOfBirth . ?placeOfBirth wdt:P625 ?coordinates . OPTIONAL { ?astronaut rdfs:label ?astronautLabel . FILTER(LANG(?astronautLabel) = \"en\") } OPTIONAL { ?placeOfBirth rdfs:label ?placeOfBirthLabel . FILTER(LANG(?placeOfBirthLabel) = \"en\") } } ORDER BY DESC(?birthDate)", "paraphrases": ["Who are the astronauts, where were they born, and what are the geographic coordinates of their birthplaces, listed from most recently born to earliest?", "List all astronauts, their birth locations, and the coordinates of those locations, ordered by birth date in descending order."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var1Label ?var3Label ?var4 WHERE { ?var1 ?var5 <http://www.wikidata.org/entity/Q11631> ; <http://www.wikidata.org/prop/direct/P569> ?var6 ; <http://www.wikidata.org/prop/direct/P19> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var6 )"}}
{"id": "test_933", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0133093?", "sparql": "SELECT ?movie ?enwiki ?dewiki WHERE { ?movie wdt:P345 \"tt0133093\" . OPTIONAL { ?enwiki schema:about ?movie ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> } OPTIONAL { ?dewiki schema:about ?movie ; schema:inLanguage \"de\" ; schema:isPartOf <https://de.wikipedia.org/> } }", "paraphrases": ["Can you find the Wikipedia articles in English and German about the film The Matrix?", "Show me the links to the English and German Wikipedia pages for the movie identified by the IMDb identifier tt0133093."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6970876\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_934", "question": "Does Jean-Philippe Viret have a VIAF ID of 71582712?", "sparql": "ASK WHERE { ?item wdt:P214 \"71582712\" . }", "paraphrases": ["Is there a Wikidata item associated with the VIAF identifier 71582712?", "Confirm whether the Virtual International Authority File ID 71582712 is linked to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"71582712\". }"}}
{"id": "test_935", "question": "Members of the German Bundestag", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P39 wd:Q1939555 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"de\") }", "paraphrases": ["Who are the individuals who have served as members of the German Bundestag?", "List all people who have held the position of member of the German Bundestag."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q1939555> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_936", "question": "What are the airports in Belgium and their coordinates?", "sparql": "SELECT DISTINCT ?airport ?coordinates ?countryProperty WHERE { ?airport wdt:P31/wdt:P279* wd:Q1248784 ; ?countryProperty wd:Q31 ; wdt:P625 ?coordinates . }", "paraphrases": ["Can you list all airports located in Belgium along with their geographic coordinates and the property that links them to Belgium?", "Which properties connect Belgian airports to Belgium, and what are their locations?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1248784> ; ?var3 <http://www.wikidata.org/entity/Q31> ; <http://www.wikidata.org/prop/direct/P625> ?var2 . }"}}
{"id": "test_937", "question": "Humans born in Japan", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P19 wd:Q17 .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}\nLIMIT 1500", "paraphrases": ["Who are some people born in Japan?", "List up to 1,500 people who are human and were born in Japan, along with their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q17> . } LIMIT 1500"}}
{"id": "test_938", "question": "What are the taxonomic ancestors of the Collie dog breed and their direct parents?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?breed ?breedLabel ?parent WHERE {\n  wd:Q1196071 wdt:P279 * ?breed .\n  ?breed rdfs:label ?breedLabel .\n  FILTER(LANG(?breedLabel) = \"en\")\n  OPTIONAL {\n    ?breed wdt:P279 ?parent .\n  }\n}", "paraphrases": ["What is the full hierarchy of subclasses from Collie up to the most general category, and what is each level\u2019s immediate parent?", "Show me all the animal classes that the Collie breed belongs to, including their English labels and the next level up in the classification hierarchy."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q1196071> <http://www.wikidata.org/prop/direct/P171> * ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P171> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_939", "question": "UEFA club cup seasons with winners and top scorers and their nationalities", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?season ?seasonLabel ?winnerLabel ?statisticalLeaderLabel ?countryLabel WHERE {\n  ?competition wdt:P31 wd:Q34542757 ; wdt:P664 wd:Q35572 .\n  ?season wdt:P3450 ?competition ; wdt:P1346 ?winner ; wdt:P3279 ?statisticalLeader .\n  ?statisticalLeader wdt:P27 ?country .\n  ?season rdfs:label ?seasonLabel .\n  ?winner rdfs:label ?winnerLabel .\n  ?statisticalLeader rdfs:label ?statisticalLeaderLabel .\n  ?country rdfs:label ?countryLabel .\n  FILTER(LANG(?seasonLabel) = \"en\")\n  FILTER(LANG(?winnerLabel) = \"en\")\n  FILTER(LANG(?statisticalLeaderLabel) = \"en\")\n  FILTER(LANG(?countryLabel) = \"en\")\n}\nORDER BY ASC(?seasonLabel)", "paraphrases": ["Which seasons of UEFA-organized international club football competitions have winners and statistical leaders, and what countries are those leaders from?", "List all seasons of UEFA club competitions, along with their winners, top scorers, and the countries those scorers represent."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label WHERE { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q34542757> ; <http://www.wikidata.org/prop/direct/P664> <http://www.wikidata.org/entity/Q35572> . ?var1 <http://www.wikidata.org/prop/direct/P3450> ?var4 ; <http://www.wikidata.org/prop/direct/P1346> ?var2 ; <http://www.wikidata.org/prop/direct/P3279> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P17> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en,fr,eu,or,ar,be,bg,bn,ca,cs,da,de,el,et,fa,fi,he,hi,hu,hy,id,it,ja,jv,ko,nb,nl,eo,pa,pl,pt,ro,ru,sh,sk,sr,sv,sw,te,th,tr,uk,yue,vec,vi,zh\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_940", "question": "Votes received by each party in the 2017 Austrian legislative election.", "sparql": "SELECT ?candidate ?votes WHERE { wd:Q19311231 p:P726 ?statement . ?statement ps:P726 ?candidate . ?statement pq:P1111 ?votes . } LIMIT 10000", "paraphrases": ["How many votes did each political party receive in the 2017 Austrian legislative election?", "List the political parties that ran in the 2017 Austrian legislative election along with the number of votes they received."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } <http://www.wikidata.org/entity/Q19311231> <http://www.wikidata.org/prop/direct/P541> ?var1 . ?var1 <http://www.wikidata.org/prop/P1111> ?var3 . ?var4 <http://www.wikidata.org/prop/statement/P1111> ?var2 . } LIMIT 10000"}}
{"id": "test_941", "question": "Which lakes have the same river as both their inflow and outflow, where that river drains into a basin that the lake itself does not belong to?", "sparql": "SELECT ?reservoir ?reservoirLabel ?river ?riverLabel ?basin ?basinLabel WHERE { ?reservoir wdt:P200 ?river . ?reservoir wdt:P201 ?river . ?river wdt:P4614 ?basin . MINUS { ?reservoir wdt:P4614 ?basin . } OPTIONAL { ?reservoir rdfs:label ?reservoirLabel . FILTER(LANG(?reservoirLabel) = \"en\") } OPTIONAL { ?river rdfs:label ?riverLabel . FILTER(LANG(?riverLabel) = \"en\") } OPTIONAL { ?basin rdfs:label ?basinLabel . FILTER(LANG(?basinLabel) = \"en\") } }", "paraphrases": ["Show reservoirs fed by and draining into the same river, but whose drainage basin is not the same as the river\u2019s basin.", "Find inconsistencies in Wikidata: lakes where the inflow and outflow are identical and belong to a basin, but the lake is not linked to that basin."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P200> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P201> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P4614> ?var3 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P4614> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_942", "question": "What are the active legislative chambers of Canada?", "sparql": "SELECT ?var2 ?var2Label WHERE { wd:Q16 wdt:P194 ?legislativeBody . ?legislativeBody wdt:P527 ?var2 . FILTER (?var2 != wd:Q14931511) . FILTER NOT EXISTS { ?var2 wdt:P576 [] } . ?var2 rdfs:label ?var2Label . FILTER (LANG(?var2Label) = \"en\") }", "paraphrases": ["Which houses make up Canada\u2019s parliament and are still in operation?", "Can you list the current chambers of the Canadian Parliament, excluding the monarch?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { BIND ( <http://www.wikidata.org/entity/Q16> AS ?var1 ). OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/direct/P194> / <http://www.wikidata.org/prop/direct/P527> ?) ?var2 . { VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q11204> ) ( <http://www.wikidata.org/entity/Q10553309> ) } ?var2 <http://www.wikidata.org/prop/direct/P31> ?var3 . } MINUS { ?var2 <http://www.wikidata.org/prop/direct/P576> ?var4 . } MINUS { ?var2 <http://www.wikidata.org/prop/direct/P527> ?var5 . ?var5 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q10553309> . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_943", "question": "List Hungarian educational institutions and their Hungarian labels and Wikipedia pages.", "sparql": "SELECT DISTINCT ?institution ?labelHu ?wikipediaPageHu WHERE { ?institution (wdt:P31/wdt:P279*) wd:Q2385804 . ?institution wdt:P17 wd:Q28 . OPTIONAL { ?institution rdfs:label ?labelHu . FILTER(LANG(?labelHu) = \"hu\") } OPTIONAL { ?wikipediaPageHu schema:about ?institution ; schema:inLanguage \"hu\" ; schema:isPartOf <https://hu.wikipedia.org/> . } } ORDER BY ASC(?labelHu)", "paraphrases": ["Which educational institutions in Hungary have a Hungarian label on Wikidata and a corresponding page on the Hungarian Wikipedia?", "Show me all educational institutions located in Hungary, including their Hungarian-language labels and links to their Hungarian Wikipedia articles, sorted alphabetically by label."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q2385804> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q28> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"hu\" ) ) ) . } OPTIONAL { ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> \"hu\". ?var3 <http://schema.org/isPartOf> <https://hu.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"hu\". } } ORDER BY ASC( ?var2 )"}}
{"id": "test_944", "question": "Japanese citizens and their gender", "sparql": "SELECT ?person ?personLabel ?genderLabel WHERE { ?person wdt:P27 wd:Q17 . OPTIONAL { ?person wdt:P21 ?gender . ?gender rdfs:label ?genderLabel . FILTER(LANG(?genderLabel) = \"en\") } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } LIMIT 100", "paraphrases": ["Who are Japanese citizens, and what is their gender according to Wikidata?", "List up to 100 Japanese citizens along with their English names and gender (if available)."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja,en\". } ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q17> . MINUS { ?var3 <http://www.wikidata.org/prop/direct/P21> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . } } LIMIT 100"}}
{"id": "test_945", "question": "Japanese people with the surname \"\u4e2d\u52d9\" and their kana readings.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?label ?kana ?familyName ?country WHERE {\n  ?person wdt:P31 wd:Q5 ; rdfs:label ?label .\n  FILTER(LANG(?label) = \"ja\")\n  FILTER(STRSTARTS(STR(?label) , \"\u4e2d\u52d9\"))\n  OPTIONAL {\n    ?person wdt:P1814 ?kana .\n  }\n  OPTIONAL {\n    ?person wdt:P734 ?familyName .\n  }\n  OPTIONAL {\n    ?person wdt:P27 ?country .\n  }\n}\nORDER BY ASC(?label)", "paraphrases": ["Who are the Japanese individuals named \"\u4e2d\u52d9\" in Japanese, and what are their kana readings and family name entities?", "List all Japanese people whose names start with \"\u4e2d\u52d9\", including their kana pronunciation, family name (if any), and citizenship."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var7 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://ja.wikipedia.org/> . FILTER ( ( STRSTARTS ( ?var2 , \"\u4e2d\u52d9\"@ja ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1814> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja\". } } ORDER BY ASC( ?var2 )"}}
{"id": "test_946", "question": "Which performing arts venues in the Flanders Arts Institute have their archives held by which institutions?", "sparql": "SELECT DISTINCT ?venue ?venueLabel ?fai_id ?archive_location ?archiveLocationLabel WHERE { ?venue wdt:P3820 ?fai_id . ?venue wdt:P485 ?archive_location . ?venue rdfs:label ?venueLabel . ?archive_location rdfs:label ?archiveLocationLabel . FILTER(LANG(?venueLabel) = \"en\") FILTER(LANG(?archiveLocationLabel) = \"en\") }", "paraphrases": ["For each venue listed in the Flanders Arts Institute database, which institution holds its archives?", "Show me the list of Flanders Arts Institute venues along with the names of the institutions that hold their archives, including cases where the archives are kept at the same venue."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3820> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P485> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,nl\". } }"}}
{"id": "test_947", "question": "Instances of legislative term in Wikidata", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P31 wd:Q15238777 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["What are some examples of legislative terms in Wikidata?", "List the names of all legislative terms recorded in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var2 <http://www.wikidata.org/prop/statement/P31> <http://www.wikidata.org/entity/Q15238777> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_948", "question": "Rivers and their official names", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?river ?officialName WHERE {\n  ?river wdt:P31 wd:Q4022 .\n  OPTIONAL {\n    ?river wdt:P1448 ?officialName .\n  }\n}\nLIMIT 10", "paraphrases": ["What are the rivers and what are their official names?", "List up to 10 rivers along with their official names, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4022> . OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1448> ?var2 . } } LIMIT 10"}}
{"id": "test_949", "question": "What are the English and German Wikipedia pages about the movie with IMDb ID tt0133093?", "sparql": "SELECT ?movie ?wikipedia_page WHERE { VALUES ?imdb_id { \"tt0133093\" } ?movie wdt:P345 ?imdb_id . ?wikipedia_page schema:about ?movie . ?wikipedia_page schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Can you show me the language versions of pages related to The Matrix on Wikipedia in English and German?", "Which language editions of pages about The Matrix (1999) are available in English and German?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt4432144\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_950", "question": "Japanese politicians without English labels", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?politician WHERE {\n  ?politician wdt:P106 wd:Q82955 ; wdt:P27 wd:Q17 . MINUS {\n    ?politician rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n}", "paraphrases": ["Which Japanese politicians do not have an English label on Wikidata?", "List all Japanese politicians who are not labeled in English on Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82955> . MINUS { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . } MINUS { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var3Label ) = \"cs\" ) ) ) . } ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q17> . }"}}
{"id": "test_951", "question": "Who are the astronauts born in Boston who participated in space missions, and what were their mission names?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?humanLabel ?missionLabel ?coordinates WHERE {\n  ?human wdt:P31 wd:Q5 ; wdt:P19 ?birthPlace ; wdt:P450 ?mission .\n  ?birthPlace wdt:P625 ?coordinates .\n  ?human rdfs:label ?humanLabel .\n  ?mission rdfs:label ?missionLabel .\n  FILTER(LANG(?humanLabel) = \"en\")\n  FILTER(LANG(?missionLabel) = \"en\")\n}\nLIMIT 10", "paraphrases": ["Astronauts born in Boston and their space missions", "List the names of astronauts born in Boston along with the space missions they were part of."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P19> ?var4 ; <http://www.wikidata.org/prop/direct/P450> ?var2 . ?var4 <http://www.wikidata.org/prop/direct/P625> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en,pl\". } } LIMIT 10"}}
{"id": "test_952", "question": "Is there a Wikidata item with the VIAF ID 141317789?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P214 \"141317789\" .\n}", "paraphrases": ["Wikidata item with VIAF ID 141317789", "Check if the VIAF identifier 141317789 is linked to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"141317789\". }"}}
{"id": "test_953", "question": "Did Barack Obama hold the position of President of the United States?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?position WHERE {\n  wd:Q76 wdt:P39 ?position .\n  FILTER(?position = wd:Q11696)\n}", "paraphrases": ["What position did Barack Obama hold that is listed as President of the United States in Wikidata?", "Show me if Barack Obama was the President of the United States according to Wikidata."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q21061145> <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q13423495> . }"}}
{"id": "test_954", "question": "Rivers with basin categories but no assigned drainage basin", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE {\n  ?var1 wdt:P1200 ?var2 .\n  ?var1 rdfs:label ?var1Label .\n  ?var2 rdfs:label ?var2Label .\n  FILTER(LANG(?var1Label) = \"en\")\n  FILTER(LANG(?var2Label) = \"en\") MINUS {\n    ?var1 wdt:P4614 ?basin .\n  }\n}", "paraphrases": ["Which rivers are categorized under Wikimedia basin categories but do not have a direct drainage basin defined in Wikidata?", "List the English-labeled rivers and their associated Wikimedia basin categories, excluding those that have a direct drainage basin (P4614) assigned."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1200> ?var2 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P4614> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en,es,de,it\". } }"}}
{"id": "test_955", "question": "Airports in Belgium with their coordinates", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?var1 ?var1Label ?var2 WHERE {\n  ?var1 wdt:P31 wd:Q1248784 ; wdt:P17 wd:Q31 ; wdt:P625 ?var2 .\n  ?var1 rdfs:label ?var1Label .\n  FILTER ( LANG( ?var1Label ) = \"en\" )\n}", "paraphrases": ["What are the names and geographic coordinates of all airports in Belgium?", "List all airports located in Belgium along with their English names and GPS coordinates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1248784> ; ?var3 <http://www.wikidata.org/entity/Q31> ; <http://www.wikidata.org/prop/direct/P625> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_956", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0133093?", "sparql": "SELECT ?item ?article WHERE { ?item wdt:P345 \"tt0133093\" . ?article schema:about ?item . { ?article schema:inLanguage \"en\" . } UNION { ?article schema:inLanguage \"de\" . } }", "paraphrases": ["Show me the language versions of the article about The Matrix on Wikipedia and Wikiquote in English and German.", "Which language editions of articles about the film The Matrix are available in English and German?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1461297\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_957", "question": "What are all the subclasses of vegan products, and what are their immediate parent categories?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3Label WHERE {\n  VALUES ( ?var1 ?var3 ) {\n    ( wd:Q7918273 wd:Q7918273 ) ( wd:Q107122793 wd:Q7918273 ) ( wd:Q2424752 wd:Q7918273 ) ( wd:Q28969364 wd:Q7918273 ) ( wd:Q488383 wd:Q7918273 ) ( wd:Q28969293 wd:Q7918273 )\n  }\n  OPTIONAL {\n    ?var1 wdt:P279 ?var2 .\n  }\n  ?var1 rdfs:label ?var1Label .\n  ?var3 rdfs:label ?var3Label .\n  OPTIONAL {\n    ?var2 rdfs:label ?var2Label .\n  }\n  FILTER ( LANG( ?var1Label ) = \"en\" ) FILTER ( LANG( ?var3Label ) = \"en\" ) FILTER ( ! BOUND( ?var2Label ) || LANG( ?var2Label ) = \"en\" )\n}", "paraphrases": ["List all types of vegan products and their direct superclasses in the Wikidata ontology, with English labels.", "Show me the complete hierarchy of items that are subclasses of vegan product, including their labels and immediate parents."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3Label WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q7918273> ) } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_958", "question": "Who are the members of the African National Congress (ANC)?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P102 wd:Q83162 .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["List of people affiliated with the African National Congress in South Africa.", "Show me the names of individuals who have been members of the ANC."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P102> <http://www.wikidata.org/entity/Q83162> . } LIMIT 100"}}
{"id": "test_959", "question": "What are the most common causes of death among U.S. presidents, and how many presidents died from each?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?causeOfDeath ?causeLabel ( COUNT( ?president ) AS ?count ) WHERE {\n  ?president wdt:P39 wd:Q11696 .\n  ?president wdt:P509 ?causeOfDeath .\n  OPTIONAL {\n    ?causeOfDeath rdfs:label ?causeLabel .\n    FILTER ( LANG( ?causeLabel ) = \"en\" )\n  }\n}\nGROUP BY ?causeOfDeath ?causeLabel\nORDER BY DESC ( ?count ) ASC ( ?causeLabel )", "paraphrases": ["How many U.S. presidents have died from heart failure, stroke, or myocardial infarction?", "List the causes of death for U.S. presidents in order of frequency, along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( COUNT (* ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q11696> . ?var1 <http://www.wikidata.org/prop/direct/P509> ?var1 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } } GROUP BY ?var1 ?var2 ORDER BY DESC( ?var3 )ASC( ?var2 )"}}
{"id": "test_960", "question": "What is the average length of presidency in the United States?", "sparql": "SELECT (AVG(?length) AS ?avgLength) WHERE { ?president p:P39 ?stmt . ?stmt ps:P39 wd:Q11696 . ?stmt pq:P580 ?start . OPTIONAL { ?stmt pq:P582 ?end } . BIND( IF(BOUND(?end), YEAR(?end), YEAR(NOW())) - YEAR(?start) AS ?length ) }", "paraphrases": ["How long, on average, do U.S. presidents serve in office?", "Compute the average number of years served by U.S. presidents, including those still in office."], "info": {"raw_sparql": "SELECT( AVG ( ?var1 ) AS ?var2 ) WHERE { <http://www.wikidata.org/entity/Q76> <http://www.wikidata.org/prop/direct/P470> ?var1 . }"}}
{"id": "test_961", "question": "What are the geographic features (mountain ranges, peaks, plateaus) that are part of the Carpathian Mountains?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?feature ?featureLabel ?coordinates WHERE {\n  wd:Q1288 ^(wdt:P361 | wdt:P4552 | wdt:P4688) + ?feature .\n  ?feature wdt:P31 / wdt:P279 * wd:Q271669 .\n  OPTIONAL {\n    ?feature wdt:P625 ?coordinates .\n  }\n  ?feature rdfs:label ?featureLabel .\n  FILTER(LANG(?featureLabel) = \"en\")\n}\nLIMIT 10000", "paraphrases": ["Which landforms are located within the Carpathian Mountains, and what are their coordinates?", "List all the named geographic features that are part of the Carpathians, including their English names and geographic coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { <http://www.wikidata.org/entity/Q1288> ^( <http://www.wikidata.org/prop/direct/P361> | <http://www.wikidata.org/prop/direct/P4552> | <http://www.wikidata.org/prop/direct/P4688> )+ ?var1 . <http://www.wikidata.org/entity/Q271669> (^ <http://www.wikidata.org/prop/direct/P279> */^ <http://www.wikidata.org/prop/direct/P31> ) ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs,en\". } } LIMIT 10000"}}
{"id": "test_962", "question": "List all administrative units in Indonesia with their BPS area codes, sorted by code.", "sparql": "SELECT ?areaCode ?administrativeUnit ?administrativeUnitLabel WHERE { ?administrativeUnit wdt:P17 wd:Q252 . ?administrativeUnit wdt:P1588 ?areaCode . ?administrativeUnit rdfs:label ?administrativeUnitLabel . FILTER(LANG(?administrativeUnitLabel) = \"en\") } ORDER BY ASC(?areaCode)", "paraphrases": ["What are the English names and BPS area codes of all administrative units in Indonesia, ordered from smallest to largest area code?", "Please provide the English labels and corresponding BPS area codes for every administrative unit in Indonesia, sorted in ascending order of the area code."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q252> . ?var2 <http://www.wikidata.org/prop/direct/P1588> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"id,en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_963", "question": "What properties are used to describe individual bears in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT DISTINCT ?property ?propertyLabel ?propertyDescription WHERE {\n  wd:Q30090244 wdt:P279 * ?bearTaxon .\n  ?bearEntity wdt:P31 ?bearTaxon .\n  ?bearEntity ?propertyItem ?value .\n  ?property wikibase:directClaim ?propertyItem .\n  ?property rdf:type wikibase:Property .\n  ?property rdfs:label ?propertyLabel .\n  ?property schema:description ?propertyDescription .\n  FILTER(LANG(?propertyLabel) = \"en\")\n  FILTER(LANG(?propertyDescription) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Can you list the English labels and descriptions of properties that are commonly used for entities that are bears?", "Show me the properties (with their English labels and descriptions) that are applied to animals classified as bears, such as brown bears or polar bears."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q30090244> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_964", "question": "Most frequently used property to link items to domesticated animal", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?propertyUri wd:Q622852 . ?property wikibase:directClaim ?propertyUri . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which Wikidata property is used most often to associate entities with the concept of domesticated animals?", "Show me the property that is used the most times to connect items to the topic \"domesticated animal\"."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q622852> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_965", "question": "What Wikidata item has the GND ID 4043726-7?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?label WHERE {\n  ?item wdt:P227 \"4043726-7\" .\n  ?item rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}", "paraphrases": ["Which entity is identified by the German National Library ID 4043726-7?", "Tell me the name of the entity with GND ID 4043726-7."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"4043726-7\". }"}}
{"id": "test_966", "question": "Who are the people who have held the office of president?", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P106 wd:Q30461 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["List of individuals whose occupation is president.", "Show me the names of all people who have been presidents."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q30461> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_967", "question": "What are the public offices held by humans, and what are their English alternative names?", "sparql": "SELECT DISTINCT ?var1Label (GROUP_CONCAT(DISTINCT ?altLabel; SEPARATOR=\", \") AS ?altLabels) WHERE { ?person wdt:P31 wd:Q5 . ?person p:P39 ?statement . ?statement pq:P580 ?startDate . OPTIONAL { ?statement pq:P582 ?endDate . } ?statement ps:P39 ?var1 . ?var1 wdt:P31/wdt:P279* wd:Q294414 . OPTIONAL { ?var1 skos:altLabel ?altLabel . FILTER(LANG(?altLabel) = \"en\") } ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") } GROUP BY ?var1Label", "paraphrases": ["Can you list all government positions that people have held, along with any English synonyms or alternative terms for those positions?", "Show me the English labels of public offices (like president or mayor) and their alternative names in English, as held by any human."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ( GROUP_CONCAT ( DISTINCT ?var2 ; SEPARATOR = \", \" ) AS ?var2 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var3 <http://www.wikidata.org/prop/P39> ?var4 . ?var4 <http://www.wikidata.org/prop/qualifier/P580> ?var5 . OPTIONAL { ?var4 <http://www.wikidata.org/prop/qualifier/P582> ?var6 . } ?var4 <http://www.wikidata.org/prop/statement/P39> ?var1 . ?var1 ( <http://www.wikidata.org/prop/direct/P31> *| <http://www.wikidata.org/prop/direct/p279> *) <http://www.wikidata.org/entity/Q294414> . OPTIONAL { ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> * ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1Label"}}
{"id": "test_968", "question": "American athletes born after 1960 who are still alive, with their gender, image, Google/Freebase ID, and BBC Things ID.", "sparql": "SELECT DISTINCT ?athlete ?athleteLabel ?genderLabel ?birthDate ?image ?googleOrFreebaseId ?bbcId WHERE { { SELECT DISTINCT ?athleteClass WHERE { ?athleteClass wdt:P279* wd:Q2066131 . MINUS { ?athleteClass wdt:P279* wd:Q30339659 . } } } ?athlete wdt:P106 ?athleteClass . ?athlete wdt:P27 wd:Q30 . ?athlete wdt:P31 wd:Q5 . ?athlete wdt:P569 ?birthDate . FILTER ( ?birthDate >= \"1960-01-01\"^^xsd:date ) FILTER ( NOT EXISTS { ?athlete wdt:P570 ?deathDate } ) ?athlete wdt:P21 ?gender . OPTIONAL { ?athlete wdt:P18 ?image . } OPTIONAL { { ?athlete wdt:P2671 ?googleOrFreebaseId . } UNION { ?athlete wdt:P646 ?googleOrFreebaseId . } } OPTIONAL { ?athlete wdt:P1617 ?bbcId . } ?athlete rdfs:label ?athleteLabel . ?gender rdfs:label ?genderLabel . FILTER (LANG(?athleteLabel) = \"en\") FILTER (LANG(?genderLabel) = \"en\") } ORDER BY ASC(?athleteLabel) LIMIT 10000", "paraphrases": ["Who are living American athletes born after 1960, and what are their gender, birth date, image, and identifiers from Google Knowledge Graph, Freebase, or BBC Things?", "List all living American human athletes born since 1960, including their name, gender, birth date, image, and any available Google Knowledge Graph ID, Freebase ID, or BBC Things ID."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5 ?var6 ?var7 WHERE { { SELECT DISTINCT ?var8 WHERE { ?var8 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q2066131> . MINUS { ?var8 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q30339659> . } } } ?var1 <http://www.wikidata.org/prop/direct/P106> ?var8 . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q30> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . FILTER ( ( ( <http://www.w3.org/2001/XMLSchema#date> ( ?var4 ) >= \"1960-01-01\"^^<http://www.w3.org/2001/XMLSchema#date> ) ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var9 . } ) ) . ?var1 <http://www.wikidata.org/prop/direct/P21> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } OPTIONAL { { ?var1 <http://www.wikidata.org/prop/direct/P2671> ?var6 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P646> ?var6 . } } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1617> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY ASC( ?var1Label ) LIMIT 10000"}}
{"id": "test_969", "question": "List U.S. Senate elections with their dates and English labels.", "sparql": "SELECT ?election ?electionLabel ?date WHERE { ?election wdt:P31 wd:Q24333627 . ?election wdt:P17 wd:Q30 . ?election wdt:P585 ?date . ?election rdfs:label ?electionLabel . FILTER(LANG(?electionLabel) = \"en\") }", "paraphrases": ["When did each United States Senate election take place, and what are their names in English?", "Show me all U.S. Senate elections, including their English names and the years they occurred."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q24333627> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q30> . ?var1 <http://www.wikidata.org/prop/direct/P585> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_970", "question": "Politicians with birth and death locations (including coordinates) and birth/death dates.", "sparql": "SELECT ?birthPlace ?birthCoords ?deathCoords ?birthDate ?deathDate ?politician WHERE { ?occupation wdt:P279* wd:Q82955 . ?politician wdt:P106 ?occupation . ?politician wdt:P19 ?birthPlace . ?birthPlace wdt:P625 ?birthCoords . ?politician wdt:P20 ?deathPlace . ?deathPlace wdt:P625 ?deathCoords . ?politician wdt:P569 ?birthDate . ?politician wdt:P570 ?deathDate . } LIMIT 10", "paraphrases": ["Which politicians have recorded places of birth and death with geographic coordinates, along with their dates of birth and death?", "Show me a list of politicians, including where and when they were born and died, along with the geographic coordinates of those locations."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { FILTER ( ( EXISTS { ?var7 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q82955> . ?var6 <http://www.wikidata.org/prop/direct/P106> ?var7 . ?var6 <http://www.wikidata.org/prop/direct/P19> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . ?var6 <http://www.wikidata.org/prop/direct/P20> ?var8 . ?var8 <http://www.wikidata.org/prop/direct/P625> ?var3 . ?var6 <http://www.wikidata.org/prop/direct/P569> ?var4 . ?var6 <http://www.wikidata.org/prop/direct/P570> ?var5 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10"}}
{"id": "test_971", "question": "What are the subclasses of volcanic landform in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?var1 ?var1Label WHERE {\n  ?var1 wdt:P279 wd:Q29025902 .\n  ?var1 rdfs:label ?var1Label .\n  FILTER(LANG(?var1Label) = 'en')\n}\nLIMIT 100", "paraphrases": ["Can you list the English-labeled subclasses of volcanic landform?", "Show me the types of landforms that are classified as volcanic landforms, along with their names in English."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q17362350> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } LIMIT 100"}}
{"id": "test_972", "question": "Does the VIAF ID 88167541 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P214 \"88167541\" .\n}", "paraphrases": ["Is there a Wikidata item with the VIAF identifier 88167541?", "Confirm if Annette M\u00fcller is linked to the VIAF ID 88167541 in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"88167541\". }"}}
{"id": "test_973", "question": "What is the English label and description of the Great Russian Encyclopedia entry with ID 1956272?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P2924 \"1956272\" .\n  OPTIONAL {\n    ?item rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["What is the English name and definition of the musical concept listed as 1956272 in the Great Russian Encyclopedia Online?", "Please provide the English label and description for the entry with ID 1956272 in the Great Russian Encyclopedia (old version)."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"1956272\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_974", "question": "Most common property used to classify items as parliamentary terms in the UK", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(COUNT(?item) AS ?count) WHERE {\n  ?item ?property wd:Q21094819 .\n  FILTER(isIRI(?property))\n}\nGROUP BY ?property\nORDER BY DESC(?count)\nLIMIT 1", "paraphrases": ["Which property is used most often to indicate that something is a parliamentary term in the United Kingdom?", "Show me the property that links the most entities to the parliamentary term in the United Kingdom."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q21094819> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_975", "question": "List all parliamentary terms in the Kingdom of Great Britain.", "sparql": "SELECT ?parliamentaryTerm ?parliamentaryTermLabel WHERE { ?parliamentaryTerm wdt:P31 wd:Q21095053 . ?parliamentaryTerm rdfs:label ?parliamentaryTermLabel . FILTER(LANG(?parliamentaryTermLabel) = \"en\") }", "paraphrases": ["What are the names of all the parliaments that existed during the Kingdom of Great Britain?", "Show me the English labels of all instances of parliamentary terms in the Kingdom of Great Britain."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q21095053> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_976", "question": "What were the causes of death for each President of the United States, and what are their names?", "sparql": "SELECT ?president ?presidentLabel ?causeOfDeath ?causeOfDeathLabel WHERE { ?president wdt:P39 wd:Q11696 . ?president wdt:P509 ?causeOfDeath . ?president rdfs:label ?presidentLabel . ?causeOfDeath rdfs:label ?causeOfDeathLabel . FILTER(LANG(?presidentLabel) = \"en\") FILTER(LANG(?causeOfDeathLabel) = \"en\") }", "paraphrases": ["List U.S. presidents and their causes of death.", "Can you provide a list of all U.S. Presidents along with the medical or other causes of their death?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q11696> . ?var1 <http://www.wikidata.org/prop/direct/P509> ?var2 . }"}}
{"id": "test_977", "question": "List all islands in Indonesia.", "sparql": "SELECT ?island ?islandLabel WHERE { ?island wdt:P31 wd:Q23442 ; wdt:P17 wd:Q252 . ?island rdfs:label ?islandLabel . FILTER(LANG(?islandLabel) = \"en\") }", "paraphrases": ["Which islands are located in Indonesia?", "Show me the names of all islands that are part of Indonesia."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q23442> . FILTER ( ( EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q252> . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"id\". } }"}}
{"id": "test_978", "question": "Active electoral districts in Queensland, Australia.", "sparql": "SELECT ?district ?districtLabel WHERE { ?district wdt:P31 wd:Q5356184 . ?district wdt:P131 wd:Q36074 . FILTER NOT EXISTS { ?district p:P576 ?dissolvedDate . } ?district rdfs:label ?districtLabel . FILTER(LANG(?districtLabel) = \"en\") } ORDER BY ASC(?districtLabel)", "paraphrases": ["Which electoral districts in Queensland are still active and have not been abolished?", "List the English names of all current state electoral districts in Queensland, excluding those that have been dissolved."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5356184> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q36074> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/P576> ?var2 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_979", "question": "Islands in Indonesia and their administrative subdivisions", "sparql": "SELECT DISTINCT ?island ?islandLabel ?adminUnitLabel ?countryLabel WHERE { ?island (wdt:P31/wdt:P279*) wd:Q23442 . ?island wdt:P131 ?adminUnit . ?adminUnit wdt:P31 ?adminType . ?adminType wdt:P279 wd:Q1434505 . ?island wdt:P17 wd:Q252 . ?island rdfs:label ?islandLabel . ?adminUnit rdfs:label ?adminUnitLabel . wd:Q252 rdfs:label ?countryLabel . FILTER(LANG(?islandLabel) = \"en\") FILTER(LANG(?adminUnitLabel) = \"en\") FILTER(LANG(?countryLabel) = \"en\") } LIMIT 100", "paraphrases": ["What are the islands in Indonesia and which provinces or regions are they part of?", "List all islands located in Indonesia along with their corresponding administrative units and confirm they are in Indonesia."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q23442> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . { ?var2 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q1434505> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"id,en\". } }"}}
{"id": "test_980", "question": "List all islands in Indonesia in descending alphabetical order.", "sparql": "SELECT ?island ?islandLabel WHERE { ?island wdt:P31 wd:Q23442 ; wdt:P17 wd:Q252 . ?island rdfs:label ?islandLabel . FILTER(LANG(?islandLabel) = \"en\") } ORDER BY DESC(?islandLabel)", "paraphrases": ["What are the names of all islands in Indonesia, sorted from Z to A?", "Can you provide the English names of all islands located in Indonesia, ordered alphabetically in reverse?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q23442> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q252> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"id,en,nl\". } } ORDER BY DESC( ?var1Label )"}}
{"id": "test_981", "question": "List of named dogs in Wikidata with their English labels.", "sparql": "SELECT ?dog ?dogLabel WHERE { ?dog wdt:P31 wd:Q144 . OPTIONAL { ?dog wdt:P18 ?image . } ?dog rdfs:label ?dogLabel . FILTER(LANG(?dogLabel) = \"en\") }", "paraphrases": ["What are the names of individual dogs documented in Wikidata?", "Show me the English names of all entities that are instances of dogs."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q144> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } }"}}
{"id": "test_982", "question": "Female athletes with French labels but no English or Spanish labels.", "sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 wdt:P31 wd:Q5 . ?var1 wdt:P21 wd:Q6581072 . ?var1 p:P641 ?sport . ?var1 rdfs:label ?var1Label . FILTER (LANG(?var1Label) = \"fr\") . FILTER NOT EXISTS { ?var1 rdfs:label ?esLabel . FILTER (LANG(?esLabel) = \"es\") } . FILTER NOT EXISTS { ?var1 rdfs:label ?enLabel . FILTER (LANG(?enLabel) = \"en\") } .}", "paraphrases": ["Who are the female humans that participate in sports and have a French-language label but no English or Spanish label?", "List female athletes who have a French name on Wikidata but no English or Spanish name."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"es\" ) ) ) . } ?var1 <http://www.wikidata.org/prop/P641> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"fr\" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . } FILTER ( ( !( BOUND ( ?var2 ) ) ) ) . FILTER ( ( BOUND ( ?var4 ) ) ) . FILTER ( ( !( BOUND ( ?var5 ) ) ) ) . }"}}
{"id": "test_983", "question": "Who is the Italian Chamber of Deputies member with ID \"r316\", and what is their English description?", "sparql": "SELECT ?person ?personLabel ?description WHERE { ?person wdt:P1341 \"r316\" . OPTIONAL { ?person rdfs:label ?personLabel . FILTER (LANG(?personLabel) = \"en\") } OPTIONAL { ?person schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["What is the name and English description of the Italian politician identified by the Chamber of Deputies dati ID \"r316\"?", "Please provide the English name and description of the person whose Italian Chamber of Deputies ID is r316."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1341> \"r316\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_984", "question": "What are the geographic locations (city, state, country, continent) associated with the Palast-Theater in Dessau?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?location ?locationLabel WHERE {\n  wd:Q34027353(wdt:P131 | wdt:P17 | wdt:P30) + ?location .\n  ?location rdfs:label ?locationLabel .\n  FILTER(LANG(?locationLabel) = \"en\")\n}\nLIMIT 10", "paraphrases": ["Trace the administrative and geographic hierarchy from Palast-Theater up to the continent it belongs to.", "Which countries, regions, and continents include the Palast-Theater?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q34027353> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_985", "question": "What is the English description and label of the entity with Great Russian Encyclopedia Online ID 2334183?", "sparql": "SELECT ?item ?label ?description WHERE { ?item wdt:P2924 \"2334183\" . ?item rdfs:label ?label . OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Which entity in Wikidata has the Great Russian Encyclopedia Online ID 2334183, and what is its English description?", "Show me the label and English description of the Wikidata item linked to the Great Russian Encyclopedia Online ID 2334183."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"1879239\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_986", "question": "What are the subclasses of volcanic landforms?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subclass ?subclassLabel WHERE {\n  ?subclass wdt:P279 wd:Q29025902 .\n}\nLIMIT 20000", "paraphrases": ["Can you list all types of landforms that are classified as volcanic landforms?", "Which geological features are considered specific forms of volcanic landforms?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q16323932> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 20000"}}
{"id": "test_987", "question": "Mountains in Germany", "sparql": "SELECT ?var1 ?label WHERE { ?var1 wdt:P31 wd:Q8502 ; wdt:P17 wd:Q183 . ?var1 rdfs:label ?label . FILTER(LANG(?label) = \"en\") } ORDER BY ASC(?var1) LIMIT 10", "paraphrases": ["What are the mountains located in Germany?", "List the first 10 mountains in Germany, along with their English names, ordered by their Wikidata ID."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q8502> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY ASC( ?var1 ) LIMIT 10"}}
{"id": "test_988", "question": "List islands in Guatemala ordered by area, with their coordinates and administrative department.", "sparql": "SELECT DISTINCT \n  ?island \n  ?latitude ?longitude \n  ?area ?areaUnit \n  ?adminEntity \nWHERE {\n  ?island (wdt:P31/wdt:P279*) wd:Q23442 .\n  ?island wdt:P17 wd:Q774 .\n\n  OPTIONAL {\n    ?island wdt:P625 ?coord .\n    BIND(geof:latitude(?coord) AS ?latitude)\n    BIND(geof:longitude(?coord) AS ?longitude)\n  }\n\n  OPTIONAL {\n    ?island p:P2046/psv:P2046 ?areaStmt .\n    ?areaStmt wikibase:quantityAmount ?area ;\n              wikibase:quantityUnit ?areaUnit .\n  }\n\n  OPTIONAL { ?island wdt:P131 ?adminEntity . }\n}\nORDER BY DESC(?area)", "paraphrases": ["What are the largest islands in Guatemala, and where are they located?", "Show me all islands in Guatemala, sorted from largest to smallest by area, along with their latitude, longitude, and which department they belong to."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var5Label ?var6 ?var7 ?var7Label ?var8 ?var9 ?var9Label ?var10 ?var11Label ?var12 ?var13 ?var13Label ?var14 ?var14Label ?var15 ?var15Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q23442> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q774> . OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P625> / <http://www.wikidata.org/prop/statement/value/P625> ) ?var16 . ?var16 <http://wikiba.se/ontology#geoLatitude> ?var2 ; <http://wikiba.se/ontology#geoLongitude> ?var3 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2046> / <http://www.wikidata.org/prop/statement/value/P2046> ) ?var17 . ?var17 <http://wikiba.se/ontology#quantityAmount> ?var4 . ?var17 <http://wikiba.se/ontology#quantityUnit> ?var5 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2043> / <http://www.wikidata.org/prop/statement/value/P2043> ) ?var18 . ?var18 <http://wikiba.se/ontology#quantityAmount> ?var6 . ?var18 <http://wikiba.se/ontology#quantityUnit> ?var7 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2049> / <http://www.wikidata.org/prop/statement/value/P2049> ) ?var19 . ?var19 <http://wikiba.se/ontology#quantityAmount> ?var8 . ?var19 <http://wikiba.se/ontology#quantityUnit> ?var9 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2547> / <http://www.wikidata.org/prop/statement/value/P2547> ) ?var20 . ?var20 <http://wikiba.se/ontology#quantityAmount> ?var10 . ?var20 <http://wikiba.se/ontology#quantityUnit> ?var11 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2044> / <http://www.wikidata.org/prop/statement/value/P2044> ) ?var21 . ?var21 <http://wikiba.se/ontology#quantityAmount> ?var12 . ?var21 <http://wikiba.se/ontology#quantityUnit> ?var13 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P361> ?var14 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var15 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en,fr,es,se,sv,it,ru\". } } ORDER BY DESC( ?var4 )"}}
{"id": "test_989", "question": "What dog breeds originate from countries in Insular Oceania?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?dogBreed ?dogBreedLabel ?country ?countryLabel WHERE {\n  ?dogBreed wdt:P31 wd:Q39367 ; wdt:P495 ?country .\n  ?country wdt:P30 wd:Q538 .\n  ?dogBreed rdfs:label ?dogBreedLabel .\n  ?country rdfs:label ?countryLabel .\n  FILTER ( LANG( ?dogBreedLabel ) = \"en\" ) FILTER ( LANG( ?countryLabel ) = \"en\" )\n}", "paraphrases": ["Can you list the dog breeds and their countries of origin that are located in Insular Oceania?", "Show me the names of dog breeds and their origin countries in Oceania, such as Australia or New Zealand."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q39367> ; <http://www.wikidata.org/prop/direct/P495> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P30> <http://www.wikidata.org/entity/Q538> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_990", "question": "Current members of the 11th Parliament of Northern Cyprus, their political parties, electoral districts, and start dates.", "sparql": "SELECT ?member ?memberLabel ?party ?partyLabel ?district ?districtLabel ?term ?termLabel ?startDate ?endDate WHERE { ?member p:P39 ?statement . ?statement ps:P39/wdt:P279* wd:Q47167922 ; pq:P580 ?startDate . OPTIONAL { ?statement pq:P2937 ?term . } OPTIONAL { ?statement pq:P582 ?endDate . } OPTIONAL { ?statement pq:P768 ?district . } OPTIONAL { ?statement pq:P4100 ?party . } FILTER ( !BOUND(?endDate) || ?endDate > NOW() ) OPTIONAL { ?member rdfs:label ?memberLabel . FILTER(LANG(?memberLabel) = \"en\") } OPTIONAL { ?party rdfs:label ?partyLabel . FILTER(LANG(?partyLabel) = \"en\") } OPTIONAL { ?district rdfs:label ?districtLabel . FILTER(LANG(?districtLabel) = \"en\") } OPTIONAL { ?term rdfs:label ?termLabel . FILTER(LANG(?termLabel) = \"en\") } } ORDER BY ASC(?startDate) ASC(?endDate)", "paraphrases": ["Who are the current members of the 11th Parliament of Northern Cyprus, and which parties and districts do they represent?", "List all currently serving members of the 11th Parliament of Northern Cyprus, including their parliamentary group, electoral district, and when they began their term."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/P39> ?var7 . ?var7 ( <http://www.wikidata.org/prop/statement/P39> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q47167922> ; <http://www.wikidata.org/prop/qualifier/P580> ?var5 . OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P2937> ?var4 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P582> ?var6 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P768> ?var3 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P4100> ?var2 . } FILTER ( ( !( BOUND ( ?var6 ) ) || ( ?var6 > NOW ( ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY ASC( ?var5 )ASC( ?var6 )"}}
{"id": "test_991", "question": "List of universities, colleges, and university colleges in Ireland with their official websites and ISO country code.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?institution ?website ?countryCode ?label WHERE {\n  ?institution ( wdt:P31 / wdt:P279 * ) ?type .\n  ?institution wdt:P856 ?website ; wdt:P17 wd:Q27 ; rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) .\n  FILTER ( ?type IN ( wd:Q3918 , wd:Q189004 , wd:Q15407956 ) ) .\n  wd:Q27 wdt:P297 ?countryCode .\n}", "paraphrases": ["What are the official websites of educational institutions in Ireland, and what is their country code?", "Please provide the names, official websites, and country code (IE) for all universities, colleges, and university colleges located in Ireland, using their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P856> ?var2 ; ( <http://www.wikidata.org/prop/direct/P131> / <http://www.wikidata.org/prop/direct/P279> */ <http://www.wikidata.org/prop/direct/P17> ) ?var6 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . FILTER ( ( ( ?var6 = <http://www.wikidata.org/entity/Q27> ) ) ) . FILTER ( ( ?var5 IN ( <http://www.wikidata.org/entity/Q15407956> , <http://www.wikidata.org/entity/Q3918> , <http://www.wikidata.org/entity/Q189004> ) ) ) . ?var6 <http://www.wikidata.org/prop/direct/P297> ?var3 . }"}}
{"id": "test_992", "question": "What are the subclasses of volcanic landform in Wikidata?", "sparql": "SELECT ?subclass WHERE { ?subclass wdt:P279 wd:Q29025902 . }", "paraphrases": ["List all types of landforms that are classified as subclasses of volcanic landform.", "Which geological features are considered specific forms of volcanic landforms?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q632850> . }"}}
{"id": "test_993", "question": "List all active bicameral legislatures and their chambers by country.", "sparql": "SELECT DISTINCT ?country ?legislature ?chamber WHERE { ?legislature (wdt:P31/wdt:P279*) wd:Q189445 ; wdt:P1001 ?country . FILTER (NOT EXISTS { ?legislature wdt:P576 [] }) ?country wdt:P31 wd:Q6256 . OPTIONAL { ?legislature wdt:P527 ?chamber . ?chamber (wdt:P31/wdt:P279*) wd:Q10553309 . } } ORDER BY ASC(?country) ASC(?chamber)", "paraphrases": ["Which countries have active bicameral legislatures, and what are the names of their chambers?", "Show me the countries with currently active two-chamber parliaments, along with the names of each chamber."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q189445> ; <http://www.wikidata.org/prop/direct/P1001> ?var1 . FILTER ( ( NOT EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P576> [] . } ) ) . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P527> ?var3 . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q10553309> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label )ASC( ?var4Label )"}}
{"id": "test_994", "question": "Who are the alumni of the Indian Institute of Technology Kharagpur?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P69 wd:Q1661243 .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}", "paraphrases": ["List people who studied at IIT Kharagpur.", "Which individuals have attended IIT Kharagpur as their alma mater?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P69> <http://www.wikidata.org/entity/Q1661243> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_995", "question": "What are the main uses of dogs?", "sparql": "SELECT ?use ?useLabel WHERE { wd:Q144 wdt:P366 ?use . ?use rdfs:label ?useLabel . FILTER(LANG(?useLabel) = \"en\")}", "paraphrases": ["What roles do dogs play in human society?", "Can you list the functions dogs are trained for, such as guarding or police work?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q144> <http://www.wikidata.org/prop/direct/P366> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_996", "question": "What are some examples of dog breeds?", "sparql": "SELECT ?breed ?breedLabel WHERE { ?breed wdt:P31 wd:Q39367 . ?breed rdfs:label ?breedLabel . FILTER(LANG(?breedLabel) = \"en\") }", "paraphrases": ["Can you list the names of dog breeds that are recognized as instances of the category \"dog breed\" on Wikidata?", "Show me the English labels of all entities classified as dog breeds."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q39367> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P31> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_997", "question": "Legislative houses by country with number of seats, excluding dissolved ones.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nSELECT DISTINCT(STRAFTER(STR(?country) , STR(wd:)) AS ?countryId)(STRAFTER(STR(?legislativeBody) , STR(wd:)) AS ?legislativeBodyId)(xsd:integer(?seats) AS ?numberOfSeats) WHERE {\n  ?legislativeBody wdt:P31 / wdt:P279 * wd:Q10553309 ; wdt:P1001 ?country .\n  ?country wdt:P31 wd:Q6256 .\n  FILTER(NOT EXISTS {\n    ?legislativeBody wdt:P576 []\n  })\n  OPTIONAL {\n    ?legislativeBody wdt:P1342 ?seats\n  }\n}\nORDER BY ASC(?countryId)", "paraphrases": ["Which active legislative bodies are associated with each country, and how many seats do they have?", "List all active legislative bodies (including subclasses like senate or assembly) and their corresponding countries, along with the number of seats where available."], "info": {"raw_sparql": "SELECT DISTINCT( STRAFTER ( STR ( ?var1 ) , STR ( <http://www.wikidata.org/entity/> ) ) AS ?var2 )( STRAFTER ( STR ( ?var3 ) , STR ( <http://www.wikidata.org/entity/> ) ) AS ?var4 )( <http://www.w3.org/2001/XMLSchema#integer> ( ?var5 ) AS ?var6 ) WHERE { VALUES ( ?var7 ) { ( <http://www.wikidata.org/entity/Q10553309> ) ( <http://www.wikidata.org/entity/Q140247> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var7 ; <http://www.wikidata.org/prop/direct/P1001> ?var1 . FILTER ( ( NOT EXISTS { ?var3 <http://www.wikidata.org/prop/direct/P576> [] . } ) ) . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1342> ?var5 . } } ORDER BY ASC( ?var2 )"}}
{"id": "test_998", "question": "Watercourses flowing into the Apalachicola River and their drainage basins", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?watercourse ?drainageBasin WHERE {\n  ?watercourse wdt:P403 wd:Q617414 .\n  ?watercourse ( wdt:P31 / wdt:P279 * ) wd:Q355304 .\n  OPTIONAL {\n    ?watercourse wdt:P4614 ?drainageBasin .\n  }\n}", "paraphrases": ["Which rivers and creeks drain into the Apalachicola River, and what are their drainage basins?", "List all watercourses that have the Apalachicola River as their mouth, along with their drainage basins."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P403> * <http://www.wikidata.org/entity/Q617414> . ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q355304> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P4614> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_999", "question": "Islands in Ivory Coast with coordinates and administrative regions", "sparql": "SELECT DISTINCT ?island ?islandLabel ?latitude ?longitude ?area ?adminTerritory WHERE { ?island (wdt:P31/wdt:P279*) wd:Q23442 . ?island wdt:P17 wd:Q1008 . OPTIONAL { ?island wdt:P625 ?coord . BIND(geof:latitude(?coord) AS ?latitude) BIND(geof:longitude(?coord) AS ?longitude) } OPTIONAL { ?island p:P2046 / psv:P2046 ?areaStmt . ?areaStmt wikibase:quantityAmount ?area . } OPTIONAL { ?island wdt:P131 ?adminTerritory . } ?island rdfs:label ?islandLabel . FILTER(LANG(?islandLabel) = \"en\") } ORDER BY DESC(?area) LIMIT 20", "paraphrases": ["What are the islands in Ivory Coast, and where are they located geographically and administratively?", "List the islands in Ivory Coast along with their latitude, longitude, and the region they belong to."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var5Label ?var6 ?var7 ?var7Label ?var8 ?var9 ?var9Label ?var10 ?var11Label ?var12 ?var13 ?var13Label ?var14 ?var14Label ?var15 ?var15Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q23442> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q1008> . OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P625> / <http://www.wikidata.org/prop/statement/value/P625> ) ?var16 . ?var16 <http://wikiba.se/ontology#geoLatitude> ?var2 ; <http://wikiba.se/ontology#geoLongitude> ?var3 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2046> / <http://www.wikidata.org/prop/statement/value/P2046> ) ?var17 . ?var17 <http://wikiba.se/ontology#quantityAmount> ?var4 . ?var17 <http://wikiba.se/ontology#quantityUnit> ?var5 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2043> / <http://www.wikidata.org/prop/statement/value/P2043> ) ?var18 . ?var18 <http://wikiba.se/ontology#quantityAmount> ?var6 . ?var18 <http://wikiba.se/ontology#quantityUnit> ?var7 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2049> / <http://www.wikidata.org/prop/statement/value/P2049> ) ?var19 . ?var19 <http://wikiba.se/ontology#quantityAmount> ?var8 . ?var19 <http://wikiba.se/ontology#quantityUnit> ?var9 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2547> / <http://www.wikidata.org/prop/statement/value/P2547> ) ?var20 . ?var20 <http://wikiba.se/ontology#quantityAmount> ?var10 . ?var20 <http://wikiba.se/ontology#quantityUnit> ?var11 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2044> / <http://www.wikidata.org/prop/statement/value/P2044> ) ?var21 . ?var21 <http://wikiba.se/ontology#quantityAmount> ?var12 . ?var21 <http://wikiba.se/ontology#quantityUnit> ?var13 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P361> ?var14 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var15 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en,fr,es,se,sv,it,ru\". } } ORDER BY DESC( ?var4 )"}}
{"id": "test_1000", "question": "What is the English description of the President of the United States?", "sparql": "SELECT ?description WHERE { wd:Q11696 schema:description ?description . FILTER (LANG(?description) = \"en\") }", "paraphrases": ["What does the English description say about the President of the United States?", "Please provide the English-language description of the U.S. presidency."], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q11696> <http://schema.org/description> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"en\" ) ) ) . }"}}
{"id": "test_1001", "question": "What are the subclasses of volcanic landform in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subclass ?subclassLabel WHERE {\n  ?subclass wdt:P279 wd:Q29025902 .\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER(LANG(?subclassLabel) = 'en')\n}\nLIMIT 10000", "paraphrases": ["List all types of volcanic landforms and their English labels.", "Which geological features are classified as types of volcanic landforms?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q18591838> . } LIMIT 10000"}}
{"id": "test_1002", "question": "Railway stations in Switzerland with their coordinates and operators.", "sparql": "SELECT ?station ?stationLabel ?coordinates ?operatorLabel WHERE { ?station wdt:P31 wd:Q55488 ; wdt:P17 wd:Q39 ; wdt:P625 ?coordinates ; wdt:P137 ?operator . ?station rdfs:label ?stationLabel . ?operator rdfs:label ?operatorLabel . FILTER(LANG(?stationLabel) = \"en\") FILTER(LANG(?operatorLabel) = \"en\")}", "paraphrases": ["What are the railway stations in Switzerland, their geographic coordinates, and who operates them?", "List all railway stations in Switzerland along with their locations and operating companies in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q55488> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q39> ; <http://www.wikidata.org/prop/direct/P625> ?var2 ; <http://www.wikidata.org/prop/direct/P137> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_1003", "question": "What are all the types of volcanic landforms?", "sparql": "SELECT DISTINCT ?subclass WHERE { ?subclass wdt:P279* wd:Q29025902 . }", "paraphrases": ["Can you list all subclasses of volcanic landform, including indirect ones?", "Show me all known specific forms of volcanic landforms such as calderas and craters."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q356705> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_1004", "question": "Subclasses of volcanic landform", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subclass ?subclassLabel WHERE {\n  ?subclass wdt:P279 wd:Q29025902 .\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER ( LANG( ?subclassLabel ) = \"en\" )\n}", "paraphrases": ["What are the types of volcanic landforms?", "List all subclasses of volcanic landform in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { BIND ( <http://www.wikidata.org/entity/Q18624259> AS ?var2 ). ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 ; <http://www.wikidata.org/prop/direct/P279> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_1005", "question": "What are the mountains in South Africa and their elevations?", "sparql": "SELECT ?mountain ?mountainLabel ?elevation WHERE { ?mountain wdt:P31 wd:Q8502 . ?mountain wdt:P17 wd:Q258 . ?mountain wdt:P2044 ?elevation . ?mountain rdfs:label ?mountainLabel . FILTER(LANG(?mountainLabel) = \"en\") }", "paraphrases": ["Can you list the English names of mountains in South Africa along with how high they are?", "Show me the elevations of all mountains located in South Africa."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q8502> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q258> . ?var1 <http://www.wikidata.org/prop/direct/p2044> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1006", "question": "What are all the elections that have candidates listed in Wikidata?", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ?election WHERE {\n  ?election p:P726 ?statement .\n  ?statement ps:P726 ?candidate .\n}", "paraphrases": ["Which electoral events have at least one person or party running as a candidate?", "Show me the list of elections where candidates are recorded."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/P726> ?var2 . ?var2 <http://www.wikidata.org/prop/statement/P726> ?var3 . }"}}
{"id": "test_1007", "question": "Things located on rivers flowing into the Mobile River and their drainage basins", "sparql": "SELECT DISTINCT ?feature ?featureLabel ?basin ?basinLabel ?river ?riverLabel WHERE { ?river wdt:P403* wd:Q1084490 . ?river (wdt:P31/wdt:P279*) wd:Q355304 . ?river wdt:P4614 ?basin . ?feature wdt:P706 ?river . MINUS { ?feature wdt:P4614 ?basin . } ?feature rdfs:label ?featureLabel . ?basin rdfs:label ?basinLabel . ?river rdfs:label ?riverLabel . FILTER(LANG(?featureLabel) = \"en\") FILTER(LANG(?basinLabel) = \"en\") FILTER(LANG(?riverLabel) = \"en\") }", "paraphrases": ["What features are located on rivers that drain into the Mobile River, and what drainage basins do those rivers belong to?", "List trails and power plants situated on tributaries of the Mobile River, along with the name of each river and its drainage basin."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { ?var3 <http://www.wikidata.org/prop/direct/P403> * <http://www.wikidata.org/entity/Q1084490> . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q355304> . ?var3 <http://www.wikidata.org/prop/direct/P4614> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P706> ?var3 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P4614> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1008", "question": "List islands with their coordinates and source URLs.", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pr: <http://www.wikidata.org/prop/reference/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?island ?islandLabel ?coordinate ?source WHERE {\n  ?island wdt:P31 wd:Q23442 .\n  ?island p:P625 ?statement .\n  ?statement ps:P625 ?coordinate .\n  OPTIONAL {\n    ?statement pr:P854 ?source .\n  }\n  ?island rdfs:label ?islandLabel .\n  FILTER ( LANG( ?islandLabel ) = \"en\" )\n}\nLIMIT 10", "paraphrases": ["What are the names and geographic coordinates of islands, and where do the coordinates come from?", "Show me up to 10 islands in English, along with their coordinates and any source URLs used to verify those coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q23442> . ?var1 <http://www.wikidata.org/prop/P625> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P625> ?var2 . ?var2 <http://www.wikidata.org/reference/P854> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en, id\". } } LIMIT 10"}}
{"id": "test_1009", "question": "Famous cats that are instances of house cats", "sparql": "SELECT ?cat ?catLabel WHERE { ?cat wdt:P31 wd:Q146 . ?cat rdfs:label ?catLabel . FILTER(LANG(?catLabel) = \"en\") } ORDER BY ?catLabel", "paraphrases": ["Which notable cats are classified as house cats?", "List the names of all known domestic cats in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q146> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"vi,en\". } }"}}
{"id": "test_1010", "question": "What is the English label and description of the entity with Great Russian Encyclopedia Online ID 2236739?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P2924 \"2236739\" .\n  OPTIONAL {\n    ?item rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Who is the entity identified by the ID 2236739 in the Great Russian Encyclopedia, and what is its English description?", "Please show me the name and English description of the entry in the Great Russian Encyclopedia with ID 2236739."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"2236739\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1011", "question": "List all railway stations in Wikidata.", "sparql": "SELECT ?station WHERE { ?station wdt:P31 wd:Q55488 .}", "paraphrases": ["What are all the railway stations recorded in Wikidata?", "Can you show me all the entities that are instances of a railway station?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q55488> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,en\". } }"}}
{"id": "test_1012", "question": "What is the English label and description of the entity identified by the Great Russian Encyclopedia Online ID 4184136?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P2924 \"4184136\" . OPTIONAL { ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") } OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Can you find the name and English description of the river with ID 4184136 in the Great Russian Encyclopedia?", "Which entity in Wikidata has the Great Russian Encyclopedia Online ID 4184136, and what is its English name and description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"4184136\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1013", "question": "Who are the alumni of Bashkir State University, and what are their genders and birth dates?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?alumnus ?gender ?genderLabel ?birthDate ?endTime ?alumnusLabel WHERE {\n  ?alumnus wdt:P69 wd:Q906235 .\n  OPTIONAL {\n    ?alumnus wdt:P21 ?gender .\n  }\n  OPTIONAL {\n    ?alumnus wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?alumnus wdt:P582 ?endTime .\n  }\n  OPTIONAL {\n    ?alumnus wdt:P1477 ?alumnusLabel .\n  }\n  OPTIONAL {\n    ?gender wdt:P1477 ?genderLabel .\n  }\n}\nLIMIT 100", "paraphrases": ["Can you list people educated at Bashkir State University along with their sex, date of birth, and end time (if available)?", "Show me the names, genders, and birth dates of people who attended Bashkir State University."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var3 ?var4 ?var4Label ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ba,en\". } ?var1 <http://www.wikidata.org/prop/direct/P69> <http://www.wikidata.org/entity/Q906235> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P582> ?var4 . } } LIMIT 100"}}
{"id": "test_1014", "question": "Does the VIAF ID 238379215 exist in Wikidata?", "sparql": "ASK WHERE { ?item wdt:P214 \"238379215\" . }", "paraphrases": ["Is there a Wikidata item associated with the VIAF identifier 238379215?", "Confirm if the place Haardt an der Weinstra\u00dfe is identified by the VIAF ID 238379215 in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"238379215\". }"}}
{"id": "test_1015", "question": "Wikidata item for VIAF ID 236565262", "sparql": "SELECT ?place WHERE { ?place wdt:P214 \"236565262\" . } LIMIT 1", "paraphrases": ["Which place in Wikidata has the VIAF identifier 236565262?", "Tell me the Wikidata entity for the place identified by VIAF 236565262."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"236565262\". } LIMIT 1"}}
{"id": "test_1016", "question": "What are the scholarly articles published in the Fauna of New Zealand series, and what volume numbers do they correspond to?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?article ?articleLabel ?volume WHERE {\n  ?article wdt:P1433 wd:Q21385461 .\n  ?article wdt:P31 wd:Q13442814 .\n  OPTIONAL {\n    ?article wdt:P478 ?volume .\n  }\n  ?article rdfs:label ?articleLabel .\n  FILTER ( LANG( ?articleLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["List the English-labeled articles that are part of the Fauna of New Zealand publication series and are classified as scholarly articles.", "Which volumes of the Fauna of New Zealand monograph contain scholarly articles?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1433> <http://www.wikidata.org/entity/Q21385461> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13442814> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P478> ?var2 . } } LIMIT 100"}}
{"id": "test_1017", "question": "Who are the presidents of the Government of New Caledonia?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel ?positionLabel WHERE {\n  ?person wdt:P39 wd:Q3253694 .\n  ?person rdfs:label ?personLabel .\n  wd:Q3253694 rdfs:label ?positionLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) FILTER ( LANG( ?positionLabel ) = \"en\" )\n}\nLIMIT 20", "paraphrases": ["List the individuals who have held the position of President of the Government of New Caledonia.", "What are the names of the people serving as head of government in New Caledonia?"], "info": {"raw_sparql": "SELECT * WHERE { OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2561> ?var2 . } ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q33788> . ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q30461> . } LIMIT 20"}}
{"id": "test_1018", "question": "What are the birth and death dates of the four U.S. presidents featured on Mount Rushmore?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?presidentLabel ?birthDate ?deathDate WHERE {\n  wd:Q49529132 wdt:P180 ?president .\n  ?president wdt:P31 wd:Q5 .\n  OPTIONAL {\n    ?president wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?president wdt:P570 ?deathDate .\n  }\n  ?president rdfs:label ?presidentLabel .\n  FILTER ( LANG( ?presidentLabel ) = \"en\" )\n}", "paraphrases": ["Who are the people depicted on Mount Rushmore, and when were they born and when did they die?", "Can you list the names, birth dates, and death dates of the presidents carved into Mount Rushmore?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q2470916> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1019", "question": "Railway stations in the United Kingdom and their coordinates", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?station ?coordinates WHERE {\n  ?station wdt:P31 wd:Q55488 ; wdt:P17 wd:Q145 ; wdt:P625 ?coordinates .\n}", "paraphrases": ["What are the coordinates of all railway stations in the United Kingdom?", "List all railway stations located in the United Kingdom along with their geographic coordinates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q55488> ; ?var3 <http://www.wikidata.org/entity/Q145> ; <http://www.wikidata.org/prop/direct/P625> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1020", "question": "Who were the prime ministers and equivalent heads of government in 2002?", "sparql": "SELECT ?person ?personLabel WHERE { ?person (wdt:P39/wdt:P279) wd:Q14212 . ?person p:P39 ?positionStatement . ?positionStatement pq:P580 ?startDate . FILTER (YEAR(?startDate) = 2002) . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } LIMIT 100", "paraphrases": ["Which individuals became prime ministers or similar leaders in the year 2002?", "List the names of people who started serving as prime minister or a subordinate position in 2002."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 ( <http://www.wikidata.org/prop/direct/P39> / <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q14212> . ?var1 <http://www.wikidata.org/prop/P39> ?var2 . ?var2 <http://www.wikidata.org/prop/qualifier/P580> ?var3 . FILTER ( ( ( YEAR ( ?var3 ) = \"2002\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } LIMIT 100"}}
{"id": "test_1021", "question": "American football players with no Wikipedia articles", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P641 wd:Q41323 . FILTER NOT EXISTS { ?item wikibase:sitelinks ?sitelinks } . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } ORDER BY ?item", "paraphrases": ["Which American football athletes do not have a Wikipedia page in any language?", "List all American football players in Wikidata that are not linked to any Wikipedia article."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P641> <http://www.wikidata.org/entity/Q41323> ; <http://wikiba.se/ontology#statements> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://wikiba.se/ontology#sitelinks> ?var2 . } ORDER BY DESC( <http://www.w3.org/2001/XMLSchema#integer> ( STRAFTER ( STR ( ?var1 ) , \"Q\" ) ) )"}}
{"id": "test_1022", "question": "Football clubs in Poland", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?club ?clubLabel WHERE {\n  ?club wdt:P31 wd:Q17270000 ; wdt:P17 wd:Q36 .\n  ?club rdfs:label ?clubLabel .\n  FILTER(LANG(?clubLabel) = \"en\")\n}", "paraphrases": ["What are the football clubs in Poland?", "List the English names of all football clubs located in Poland."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q17270000> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q36> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } }"}}
{"id": "test_1023", "question": "What is the English label and description of the Great Russian Encyclopedia Online ID \"4221575\"?", "sparql": "SELECT ?item ?label ?description WHERE { ?item wdt:P2924 \"4221575\" . OPTIONAL { ?item rdfs:label ?label . FILTER (LANG(?label) = \"en\") } OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Which entity in Wikidata has the Great Russian Encyclopedia Online ID 4221575, and what is its English name and description?", "Please provide the English name and definition of the concept identified by the ID 4221575 in the Great Russian Encyclopedia Online (old version)."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"4221575\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1024", "question": "Railway stations with station codes registered in a catalog.", "sparql": "SELECT DISTINCT ?station WHERE { ?station wdt:P296 ?code . ?station p:P296 ?statement . ?statement pq:P972 ?catalog . }", "paraphrases": ["Which railway stations have station codes that are part of an official catalog?", "Show me all railway stations that have a station code linked to a catalog system."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P296> ?var3 . ?var1 <http://www.wikidata.org/prop/P296> ?var4 . ?var4 <http://www.wikidata.org/prop/qualifier/P972> ?var5 . }"}}
{"id": "test_1025", "question": "List all presidents of S\u00e3o Tom\u00e9 and Pr\u00edncipe with their terms and succession order.", "sparql": "SELECT ?president ?presidentLabel ?startDate ?endDate ?replaces ?replacedBy WHERE { ?president wdt:P31 wd:Q5 . ?president p:P39 ?statement . ?statement ps:P39 wd:Q19058289 . OPTIONAL { ?statement pq:P580 ?startDate . } OPTIONAL { ?statement pq:P582 ?endDate . } OPTIONAL { ?statement pq:P1365 ?replaces . } OPTIONAL { ?statement pq:P1366 ?replacedBy . } OPTIONAL { ?president rdfs:label ?presidentLabel . FILTER(LANG(?presidentLabel) = \"en\") } } ORDER BY ASC(?startDate) LIMIT 20", "paraphrases": ["Who were the presidents of S\u00e3o Tom\u00e9 and Pr\u00edncipe, when did they serve, and who did they replace or get replaced by?", "Show me the chronological list of presidents of S\u00e3o Tom\u00e9 and Pr\u00edncipe, including their start and end dates, and the presidents they succeeded or were succeeded by."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var4Label ?var5 ?var5Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/P39> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q19058289> . OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P580> ?var2 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var3 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P1365> ?var4 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P1366> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var2 )"}}
{"id": "test_1026", "question": "Senedd constituencies and regions with their coordinates", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?constituency ?constituencyLabel ?coord WHERE {\n  {\n    ?constituency wdt:P31 wd:Q44710774\n  } UNION {\n    ?constituency wdt:P31 wd:Q44710480\n  }\n  OPTIONAL {\n    ?constituency wdt:P625 ?coord .\n  }\n  ?constituency rdfs:label ?constituencyLabel .\n  FILTER(LANG(?constituencyLabel) = \"en\")\n}", "paraphrases": ["What are the Senedd constituencies and electoral regions, and where are they located geographically?", "List all Senedd constituencies and regions in English along with their geographic coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6970524> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1027", "question": "What is the English label and description of the taxon with Great Russian Encyclopedia Online ID 2223144?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P2924 \"2223144\" . OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") }", "paraphrases": ["What is the English name and definition of the family of flies identified by the ID 2223144 in the Great Russian Encyclopedia Online?", "Please provide the English name and description of the biological taxon that has the identifier 2223144 in the old Great Russian Encyclopedia Online database."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"2223144\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1028", "question": "Who are the Prime Ministers of Ethiopia, in order from most recent to oldest, and who did each of them replace or succeed, along with their term dates and position in the sequence?", "sparql": "SELECT DISTINCT \n  ?primeMinister ?primeMinisterLabel \n  ?startDate ?endDate \n  ?predecessor ?successor \n  ?ordinal \nWHERE {\n  wd:Q115 wdt:P1313 ?office .\n  ?primeMinister p:P39 ?statement .\n  ?primeMinister wdt:P31 wd:Q5 .\n  ?statement ps:P39 ?office .\n  \n  OPTIONAL { ?statement pq:P580 ?startDate . }\n  OPTIONAL { ?statement pq:P582 ?endDate . }\n  OPTIONAL { ?statement pq:P1365 ?predecessor . }\n  OPTIONAL { ?statement pq:P1366 ?successor . }\n  OPTIONAL { ?statement pq:P1545 ?ordinal . }\n  \n  OPTIONAL { ?primeMinister rdfs:label ?primeMinisterLabel . FILTER(LANG(?primeMinisterLabel) = \"en\") }\n}\nORDER BY DESC(?startDate)\nLIMIT 20", "paraphrases": ["List all Ethiopian Prime Ministers with their start/end dates, predecessors, successors, and series number.", "Show me the complete timeline of Ethiopia\u2019s Prime Ministers, including who came before and after each one, sorted by when they took office."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ?var4 ?var5 ?var5Label ?var6 ?var6Label ?var7 ?var7Label WHERE { <http://www.wikidata.org/entity/Q115> <http://www.wikidata.org/prop/direct/P1313> ?var7 . ?var2 <http://www.wikidata.org/prop/P39> ?var8 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var8 <http://www.wikidata.org/prop/statement/P39> ?var7 . OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P580> ?var3 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P582> ?var4 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P1365> ?var5 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/155> ?var5 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P1366> ?var6 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P156> ?var6 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P1545> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var3 )"}}
{"id": "test_1029", "question": "Image of Patricia Nixon with SNAC ARK ID w60h4852", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?person wdt:P3430 \"w60h4852\" .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the Wikimedia Commons image associated with the person having SNAC ARK ID w60h4852?", "Show me the photo of the person identified by the SNAC ARK ID w60h4852."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w60h4852\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_1030", "question": "Politicians and people in politics born between 1700 and 2000, categorized by decade, with their birthplace and death date.", "sparql": "SELECT DISTINCT ?person ?personLabel ?placeOfBirthLabel ?birthYear ?birthDecade WHERE { { ?person wdt:P31 wd:Q5 ; wdt:P106 wd:Q82955 . } UNION { ?person wdt:P31 wd:Q5 ; wdt:P101 wd:Q7163 . } ?person wdt:P570 ?dateOfDeath . ?person wdt:P19 ?placeOfBirth . OPTIONAL { ?person wdt:P569 ?dateOfBirth . } BIND( YEAR( ?dateOfBirth ) AS ?birthYear ) . BIND( IF( ( ?birthYear < 1700 ) , \"Pre-1700\" , IF( ( ?birthYear < 1751 ) , \"1700-1750\" , IF( ( ?birthYear < 1801 ) , \"1751-1800\" , IF( ( ?birthYear < 1851 ) , \"1801-1850\" , IF( ( ?birthYear < 1901 ) , \"1851-1900\" , IF( ( ?birthYear < 1951 ) , \"1901-1950\" , \"Post-1950\" ) ) ) ) ) ) AS ?birthDecade ) . ?person rdfs:label ?personLabel . ?placeOfBirth rdfs:label ?placeOfBirthLabel . FILTER ( LANG( ?personLabel ) = \"en\" ) . FILTER ( LANG( ?placeOfBirthLabel ) = \"en\" ) . FILTER( BOUND(?birthYear) ) } ORDER BY ASC ( ?birthYear )", "paraphrases": ["Who are the human politicians or people whose field of work is politics, when were they born (categorized by decade), where were they born, and when did they die?", "List all human politicians and people associated with politics, sorted by birth year, showing their name, birthplace, birth decade (e.g., 1851\u20131900), and date of death \u2014 only for those with known birth years."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 ?var1Label WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P101> <http://www.wikidata.org/entity/Q7163> . } ?var1 <http://www.wikidata.org/prop/direct/P570> ?var6 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var7 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var8 . } BIND ( YEAR ( ?var8 ) AS ?var4 ). BIND ( IF ( ( ?var4 < \"1700\"^^<http://www.w3.org/2001/XMLSchema#integer> ), \"Pre-1700\", IF ( ( ?var4 < \"1751\"^^<http://www.w3.org/2001/XMLSchema#integer> ), \"1700-1750\", IF ( ( ?var4 < \"1801\"^^<http://www.w3.org/2001/XMLSchema#integer> ), \"1751-1800\", IF ( ( ?var4 < \"1851\"^^<http://www.w3.org/2001/XMLSchema#integer> ), \"1801-1850\", IF ( ( ?var4 < \"1901\"^^<http://www.w3.org/2001/XMLSchema#integer> ), \"1851-1900\", IF ( ( ?var4 < \"1951\"^^<http://www.w3.org/2001/XMLSchema#integer> ), \"1901-1950\", \"Post-1950\" ) ) ) ) ) ) AS ?var5 ). ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6407087> . } ORDER BY ASC( ?var4 )"}}
{"id": "test_1031", "question": "Is there a Wikidata item with the VIAF ID 306119010?", "sparql": "ASK WHERE { ?item wdt:P214 \"306119010\" . }", "paraphrases": ["Does the Virtual International Authority File identifier 306119010 exist in Wikidata?", "Can you confirm if the VIAF cluster ID 306119010 is assigned to any person or entity in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"306119010\". }"}}
{"id": "test_1032", "question": "Who are all the people who have held the office of President of the United States?", "sparql": "SELECT ?person WHERE { ?person wdt:P39 wd:Q11696 }", "paraphrases": ["List all individuals who have been President of the United States.", "Which entities have the position of President of the United States?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q1874766> <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q13423495> . }"}}
{"id": "test_1033", "question": "Who are the members of the Northern Cyprus Assembly, and what parliamentary terms, districts, parties, and start/end dates are associated with their service?", "sparql": "SELECT ?person ?personLabel ?party ?partyLabel ?district ?districtLabel ?term ?termLabel ?start ?end WHERE { ?person p:P39 ?statement . ?statement pq:P2937 ?term . ?term wdt:P31 wd:Q15238777 . ?term rdfs:label ?termLabel . FILTER(CONTAINS(LCASE(?termLabel), \"northern cyprus\")) . OPTIONAL { ?statement pq:P4100 ?party . } OPTIONAL { ?statement pq:P768 ?district . } OPTIONAL { ?statement pq:P580 ?start . } OPTIONAL { ?statement pq:P582 ?end . } OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } OPTIONAL { ?party rdfs:label ?partyLabel . FILTER(LANG(?partyLabel) = \"en\") } OPTIONAL { ?district rdfs:label ?districtLabel . FILTER(LANG(?districtLabel) = \"en\") } } ORDER BY ASC(?start) ASC(?end)", "paraphrases": ["List all individuals who served in the Northern Cyprus parliament, including their political party, electoral district, and term duration.", "Show the timeline of service for members of the Northern Cyprus Assembly, ordered by when they started and ended their term, along with their party and constituency."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/P39> ?var7 . ?var7 ( <http://www.wikidata.org/prop/statement/P39> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q34927065> . OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P2937> ?var4 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P580> ?var5 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P582> ?var6 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P768> ?var3 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P4100> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY ASC( ?var5 )ASC( ?var6 )"}}
{"id": "test_1034", "question": "Politicians named John", "sparql": "SELECT ?politician ?name WHERE { ?politician wdt:P31 wd:Q5 . ?politician wdt:P106 wd:Q82955 . ?politician rdfs:label ?name . FILTER (STRSTARTS(?name, \"John\")) } LIMIT 10", "paraphrases": ["Who are the human politicians whose names start with \"John\"?", "List up to 10 politicians who are humans and have a name starting with \"John\", including their labels in all languages."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82955> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( STRSTARTS ( ?var2Label , \"string1\" ) ) ) . } LIMIT 10"}}
{"id": "test_1035", "question": "What stadiums are used for association football?", "sparql": "SELECT DISTINCT ?facility ?facilityLabel WHERE { ?facility p:P466 ?statement . ?statement ps:P466 wd:Q2736 . ?facility rdfs:label ?facilityLabel . FILTER(LANG(?facilityLabel) = \"en\") } ORDER BY ?facilityLabel LIMIT 10", "paraphrases": ["Can you list the facilities that have association football teams as occupants?", "Which buildings or venues host association football matches, according to Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P466> <http://www.wikidata.org/entity/Q2736> . ?var1 <http://www.wikidata.org/prop/P466> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_1036", "question": "Yoshiko Hosokawa's date of birth and date of death.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  wd:Q13024845 rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) OPTIONAL {\n    wd:Q13024845 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q13024845 wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["When was Yoshiko Hosokawa born and when did she die?", "Please provide the birth and death dates of Yoshiko Hosokawa, along with her name."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q13024845> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1037", "question": "English name, birth date, and death date of Ichir\u014d Utsumi", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  BIND( wd:Q20038911 AS ?person ) .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) .\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["What is the English name, date of birth, and date of death of Ichir\u014d Utsumi?", "Please provide the English label, birth date, and death date for the Japanese singer and impresario Ichir\u014d Utsumi."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q20038911> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1038", "question": "Most frequently cited works by Egon Willighagen\u2019s publications", "sparql": "SELECT ?citedWork ?citedWorkLabel (COUNT(?citingWork) AS ?citationCount) WHERE { ?citingWork wdt:P50 wd:Q20895241 ; wdt:P2860 ?citedWork . ?citedWork rdfs:label ?citedWorkLabel . FILTER(LANG(?citedWorkLabel) = \"en\") } GROUP BY ?citedWork ?citedWorkLabel ORDER BY DESC(?citationCount) LIMIT 10", "paraphrases": ["Which scientific works are cited the most in papers authored by Egon Willighagen?", "Show me the top 10 works that Egon Willighagen\u2019s publications cite the most, along with how many times each is cited."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q20895241> ; <http://www.wikidata.org/prop/direct/P2860> ?var3 . OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/direct/P1433> / <http://www.wikidata.org/prop/direct/P123> ) ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } } GROUP BY ?var1 ?var1Label ?var2 ?var2Label ORDER BY ASC( ?var4 )"}}
{"id": "test_1039", "question": "English and German Wikipedia pages for the movie with IMDb ID tt1375666.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?page ?imdb WHERE {\n  ?item wdt:P345 \"tt1375666\" .\n  ?page schema:about ?item .\n  ?page schema:inLanguage ?lang .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n  .\n  ?item wdt:P345 ?imdb\n}", "paraphrases": ["What are the English and German Wikipedia pages about the movie with IMDb ID tt1375666?", "Show me the English and German language Wikipedia articles for the film identified by IMDb ID tt1375666, along with its IMDb identifier."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5318534\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1040", "question": "English and German Wikipedia pages for the movie with IMDb ID tt1375666", "sparql": "SELECT ?movie ?wiki ?imdbId WHERE { ?movie wdt:P345 \"tt1375666\" . ?wiki schema:about ?movie ; schema:inLanguage ?lang ; schema:isPartOf ?site . FILTER(?lang = \"en\" || ?lang = \"de\") FILTER(?site = <https://en.wikipedia.org/> || ?site = <https://de.wikipedia.org/>) BIND(\"tt1375666\" AS ?imdbId) }", "paraphrases": ["What are the English and German Wikipedia articles for the movie identified by IMDb ID tt1375666?", "Show me the Wikipedia pages in English and German for the movie that has the IMDb ID tt1375666, along with the movie item and its IMDb identifier."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt7158682\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1041", "question": "Top association football clubs by Wikipedia article count", "sparql": "SELECT ?item (COUNT(?site) AS ?sitelinks) WHERE { { ?item wdt:P31 wd:Q476028 . } UNION { ?item wdt:P279 wd:Q476028 . } ?site schema:about ?item . FILTER(STRSTARTS(STR(?site), \"https://\")) } GROUP BY ?item ORDER BY DESC(?sitelinks) LIMIT 5000", "paraphrases": ["Which football clubs and categories have the most Wikipedia language versions?", "List the most widely covered football clubs and their subtypes on Wikipedia, ranked by number of language editions."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/prop/direct/P31> ) ( <http://www.wikidata.org/prop/direct/P279> ) } ?var1 ?var3 <http://www.wikidata.org/entity/Q476028> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 5000"}}
{"id": "test_1042", "question": "What are the oldest 5 politicians in Wikidata, and what are their names?", "sparql": "SELECT ?person ?birthDate (SAMPLE(?label) AS ?labelSample) WHERE { ?person wdt:P106 wd:Q82955 . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person rdfs:label ?label . } } GROUP BY ?person ?birthDate ORDER BY DESC(?birthDate) LIMIT 5", "paraphrases": ["List the top 5 politicians sorted by birth date (oldest first), along with their labels.", "Can you show me the names of the 5 most senior politicians, ordered from oldest to youngest?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82955> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1705> ?var3Label . } } ORDER BY DESC( ?var2 ) LIMIT 5"}}
{"id": "test_1043", "question": "What are the names of theatre buildings that are not associated with any country?", "sparql": "SELECT DISTINCT ?theatre ?theatreLabel ?locationLabel WHERE { ?theatre wdt:P31 wd:Q24354 . ?theatre rdfs:label ?theatreLabel . FILTER(LANG(?theatreLabel) = \"en\") MINUS { ?theatre wdt:P17 ?country . } OPTIONAL { ?theatre wdt:P131 ?location . ?location rdfs:label ?locationLabel . FILTER(LANG(?locationLabel) = \"en\") } } LIMIT 200", "paraphrases": ["Can you list English-named theatre venues that don\u2019t have a country specified in Wikidata, along with their administrative locations?", "Show me theatre buildings without a country, including their English labels and where they\u2019re located administratively (if known)."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q24354> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,de\". } } LIMIT 200"}}
{"id": "test_1044", "question": "Parts of the New Testament and their abbreviations", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?part ?partLabel ?abbreviation WHERE {\n  ?part wdt:P361 wd:Q18813 .\n  ?part rdfs:label ?partLabel .\n  OPTIONAL {\n    ?part wdt:P1813 ?abbreviation .\n  }\n}\nLIMIT 100", "paraphrases": ["What are the books and sections of the New Testament, and what are their common abbreviations?", "List all items that are parts of the New Testament, including their labels in any language and any short names (abbreviations) they might have."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q18813> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1813> ?var2 . } } LIMIT 100"}}
{"id": "test_1045", "question": "Positions held by someone that are subclasses of member of parliament", "sparql": "SELECT ?position WHERE { ?position wdt:P1308 ?holder . ?position wdt:P279* wd:Q486839 . } LIMIT 100", "paraphrases": ["What are the political positions that are held by individuals and are related to being a member of parliament?", "List all parliamentary positions that have current office holders."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1308> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q486839> . } LIMIT 100"}}
{"id": "test_1046", "question": "List all Prime Ministers of the United Kingdom with their start dates and the precision of those dates.", "sparql": "SELECT ?primeMinisterLabel ?startDate ?precision WHERE { ?primeMinister wdt:P31 wd:Q5 . ?primeMinister p:P39 ?stmt . ?stmt ps:P39 wd:Q14211 . ?stmt pq:P580 ?startDate . ?stmt pqv:P580 ?startDateNode . ?startDateNode wikibase:timePrecision ?precision . ?primeMinister rdfs:label ?primeMinisterLabel . FILTER(LANG(?primeMinisterLabel) = \"en\") } ORDER BY DESC(?startDate)", "paraphrases": ["Who have been the Prime Ministers of the United Kingdom, and when did each of them start their term, with the date precision?", "Show me the names of all UK Prime Ministers, ordered from most recent to oldest, along with the exact start date of their term and the precision level (e.g., day)."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/P39> ?var8 . ?var8 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q14211> . OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P580> ?var2 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/value/P580> ?var3 . } ?var3 <http://wikiba.se/ontology#timePrecision> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var2 )"}}
{"id": "test_1047", "question": "Top 80 universities by number of alumni on Wikidata", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?university ?label ( COUNT( ?alumnus ) AS ?alumniCount ) WHERE {\n  ?university wdt:P31 wd:Q3918 .\n  ?alumnus wdt:P69 ?university .\n  OPTIONAL {\n    ?university rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n}\nGROUP BY ?university ?label\nORDER BY DESC ( ?alumniCount )\nLIMIT 80", "paraphrases": ["Which universities have the most alumni, and how many alumni does each have, based on English-labeled entries in Wikidata?", "Show me the 80 universities with the highest number of people who studied there, along with their English names and alumni counts."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3918> . ?var3 <http://www.wikidata.org/prop/direct/P69> ?var1 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } } GROUP BY ?var1 ?var2 ORDER BY DESC( ?var4 ) LIMIT 80"}}
{"id": "test_1048", "question": "Images related to researcher Janina Fels, including her employers and research topics.", "sparql": "SELECT DISTINCT ?image WHERE { { wd:Q50118237 wdt:P18 ?image . } UNION { ?work p:P50 / ps:P50 wd:Q50118237 . ?work wdt:P921 ?topic . ?topic wdt:P18 ?image . } UNION { wd:Q50118237 wdt:P108 ?employer . ?employer wdt:P18 ?image . } }", "paraphrases": ["What images are associated with Janina Fels, such as those of her research areas or institutions she works for?", "Please show me all images connected to Janina Fels, including those of the topics she researches and the organizations she is affiliated with."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { <http://www.wikidata.org/entity/Q50118237> <http://www.wikidata.org/prop/direct/P18> ?var1 . } UNION { <http://www.wikidata.org/entity/Q50118237> !( <http://www.wikidata.org/prop/direct/P1889> ) ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . FILTER ( ( ( ?var2 != <http://www.wikidata.org/entity/Q5> ) ) ) . } UNION { <http://www.wikidata.org/entity/Q50118237> (^ <http://www.wikidata.org/prop/direct/P50> /( <http://www.wikidata.org/prop/direct/P921> *| <http://www.wikidata.org/prop/direct/P50> )/ <http://www.wikidata.org/prop/direct/P18> ) ?var1 . } }"}}
{"id": "test_1049", "question": "Who are the Olympic athletes?", "sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 wdt:P31 wd:Q5 . ?var1 wdt:P106 wd:Q58825429 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") } LIMIT 1000", "paraphrases": ["List humans who have competed in the Olympic Games as athletes.", "Which people have the occupation of Olympic competitor?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q5389> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 1000"}}
{"id": "test_1050", "question": "Humans who are politicians", "sparql": "SELECT ?personLabel WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P106 wd:Q82955 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } LIMIT 100", "paraphrases": ["Who are some human politicians?", "List the English labels of all people who are both human and have the occupation of politician."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82955> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,fr\". } } LIMIT 50000"}}
{"id": "test_1051", "question": "Politicians and their gender", "sparql": "SELECT ?politician ?gender WHERE { ?politician wdt:P106 wd:Q82955 . OPTIONAL { ?politician wdt:P21 ?gender . } } LIMIT 100", "paraphrases": ["Who are the politicians and what is their gender?", "List up to 100 politicians along with their biological sex or gender identity."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82955> . OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . } } LIMIT 100"}}
{"id": "test_1052", "question": "Images of things related to David W. Lewis", "sparql": "SELECT DISTINCT ?image WHERE { wd:Q49173665 ?p ?entity . ?entity wdt:P18 ?image . }", "paraphrases": ["What images are associated with entities connected to David W. Lewis?", "Show me all images of institutions, occupations, or other entities linked to David W. Lewis."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { <http://www.wikidata.org/entity/Q49173665> <http://www.wikidata.org/prop/direct/P18> ?var1 . } UNION { <http://www.wikidata.org/entity/Q49173665> !( <http://www.wikidata.org/prop/direct/P1889> ) ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . FILTER ( ( ( ?var2 != <http://www.wikidata.org/entity/Q5> ) ) ) . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q49173665> . { ?var3 <http://www.wikidata.org/prop/direct/P921> [ <http://www.wikidata.org/prop/direct/P18> ?var1 ] . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P50> ?var3 . ?var4 <http://www.wikidata.org/prop/direct/P18> ?var1 . } } }"}}
{"id": "test_1053", "question": "Who are the people educated at Leiden University, and what degrees did they obtain?", "sparql": "SELECT ?person ?personLabel ?degree ?degreeLabel ?startDate WHERE { ?person p:P69 ?statement . ?statement ps:P69 wd:Q156598 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") OPTIONAL { ?statement pq:P512 ?degree . ?degree rdfs:label ?degreeLabel . FILTER(LANG(?degreeLabel) = \"en\") } OPTIONAL { ?statement pq:P580 ?startDate . } } LIMIT 10", "paraphrases": ["List alumni of Leiden University along with the degrees they earned and the years they started their studies.", "Can you show me the names of people who studied at Leiden University, and if available, their degrees and enrollment start dates?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P69> <http://www.wikidata.org/entity/Q43631> . ?var1 <http://www.wikidata.org/prop/P69> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_1054", "question": "What are the league, sport, head coach, headquarters, home stadium, and country of Juventus FC, and who are some of its players?", "sparql": "SELECT ?team ?teamLabel ?leagueLabel ?sportLabel ?coachLabel ?hqLabel ?venueLabel ?countryLabel ?playerLabel WHERE {\n  VALUES ?team { wd:Q1422 }\n\n  OPTIONAL { ?team wdt:P118 ?league . }\n  OPTIONAL { ?team wdt:P641 ?sport . }\n  OPTIONAL { ?team wdt:P286 ?coach . }\n  OPTIONAL { ?team wdt:P159 ?hq . }\n  OPTIONAL { ?team wdt:P115 ?venue . }\n  OPTIONAL { ?team wdt:P17 ?country . }\n\n  OPTIONAL { ?player wdt:P54 ?team . }\n\n  OPTIONAL { ?team rdfs:label ?teamLabel . FILTER(LANG(?teamLabel) = \"en\") }\n  OPTIONAL { ?league rdfs:label ?leagueLabel . FILTER(LANG(?leagueLabel) = \"en\") }\n  OPTIONAL { ?sport rdfs:label ?sportLabel . FILTER(LANG(?sportLabel) = \"en\") }\n  OPTIONAL { ?coach rdfs:label ?coachLabel . FILTER(LANG(?coachLabel) = \"en\") }\n  OPTIONAL { ?hq rdfs:label ?hqLabel . FILTER(LANG(?hqLabel) = \"en\") }\n  OPTIONAL { ?venue rdfs:label ?venueLabel . FILTER(LANG(?venueLabel) = \"en\") }\n  OPTIONAL { ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") }\n  OPTIONAL { ?player rdfs:label ?playerLabel . FILTER(LANG(?playerLabel) = \"en\") }\n}\nLIMIT 10", "paraphrases": ["Can you tell me about Juventus FC \u2014 where it\u2019s based, what league it plays in, who its coach is, and which players have been part of the team?", "I want to know the key details of Juventus FC, including its home venue, country, and a list of players who have played for the club."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4Label ?var5Label ?var6Label ?var7Label ?var8Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P118> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P641> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P286> ?var4 . } FILTER ( ( ( ?var1 = <http://www.wikidata.org/entity/Q1422> ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P159> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P115> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var9 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/direct/P54> ?var1 . } ?var7 <http://www.wikidata.org/prop/P54> ?var8 . } LIMIT 10"}}
{"id": "test_1055", "question": "Geographic hierarchy of Shaftesbury Theatre including city, country, and continent.", "sparql": "SELECT DISTINCT ?location WHERE { wd:Q7461127 (wdt:P131|wdt:P17|wdt:P30)* ?location . }", "paraphrases": ["What are all the administrative regions and continents that the Shaftesbury Theatre is part of?", "List all locations associated with the Shaftesbury Theatre, from the immediate area up to the continent."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q7461127> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_1056", "question": "Real Madrid football players whose fathers were also football players, with their images.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?player ?playerLabel ?image WHERE {\n  ?player wdt:P31 wd:Q5 ; wdt:P106 wd:Q937857 ; wdt:P54 wd:Q8682 ; wdt:P18 ?image ; wdt:P22 ?father .\n  ?father wdt:P106 wd:Q937857 .\n  ?player rdfs:label ?playerLabel .\n  FILTER ( LANG( ?playerLabel ) = \"en\" )\n}", "paraphrases": ["Which football players who played for Real Madrid have fathers who were also football players, and what are their images?", "Show me images of football players from Real Madrid whose dads were also professional footballers, along with their names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q937857> ; <http://www.wikidata.org/prop/direct/P54> <http://www.wikidata.org/entity/Q8682> ; <http://www.wikidata.org/prop/direct/P18> ?var2 ; <http://www.wikidata.org/prop/direct/P22> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q937857> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_1057", "question": "List association football players from Germany, France, Italy, Spain, and the UK along with their teams.", "sparql": "SELECT ?player ?playerLabel ?teamLabel ?countryLabel WHERE { ?player wdt:P106 wd:Q937857 . ?player wdt:P54 ?team . ?team wdt:P17 ?country . FILTER(?country IN (wd:Q142, wd:Q145, wd:Q183, wd:Q29, wd:Q38)) . ?player rdfs:label ?playerLabel . ?team rdfs:label ?teamLabel . ?country rdfs:label ?countryLabel . FILTER(LANG(?playerLabel) = \"en\") . FILTER(LANG(?teamLabel) = \"en\") . FILTER(LANG(?countryLabel) = \"en\") } LIMIT 100", "paraphrases": ["Which football players have played for clubs in France, Germany, Italy, Spain, or the United Kingdom?", "Show me the names of football players, the teams they played for, and the countries those teams are based in, limited to France, Germany, Italy, Spain, and the UK."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q937857> . ?var1 <http://www.wikidata.org/prop/direct/P54> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P17> ?var3 . FILTER ( ( ?var3 IN ( <http://www.wikidata.org/entity/Q142> , <http://www.wikidata.org/entity/Q183> , <http://www.wikidata.org/entity/Q145> , <http://www.wikidata.org/entity/Q38> , <http://www.wikidata.org/entity/Q29> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } } LIMIT 100"}}
{"id": "test_1058", "question": "What are all the superclass categories of educational organizations, and what is the immediate parent of each?", "sparql": "SELECT ?ancestor ?ancestorLabel ?parent ?parentLabel WHERE { wd:Q5341295 wdt:P279* ?ancestor . ?ancestor rdfs:label ?ancestorLabel . FILTER(LANG(?ancestorLabel) = \"en\") OPTIONAL { ?ancestor wdt:P279 ?parent . ?parent rdfs:label ?parentLabel . FILTER(LANG(?parentLabel) = \"en\") } }", "paraphrases": ["Show the hierarchy above educational organizations by listing each class and its direct superclass in English.", "What classes are educational organizations a subclass of, and what are those classes' own superclasses?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q5341295> <http://www.wikidata.org/prop/direct/P279> * ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1059", "question": "What is the closest international airport to Kiel, Germany, within 200 km, and which city does it serve?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX geo: <http://www.opengis.net/ont/geosparql#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX geof: <http://www.opengis.net/def/function/geosparql/>\nSELECT DISTINCT ?airport ?airportLabel ?city ?cityLabel ?iata ?coord WHERE {\n  ?airport wdt:P31 wd:Q644371 .\n  ?airport wdt:P131 ?city .\n  ?city wdt:P31 wd:Q515 .\n  ?airport wdt:P238 ?iata .\n  ?airport wdt:P625 ?coord .\n  BIND(geof:distance(?coord , \"POINT(10 54)\" ^^ geo:wktLiteral) AS ?distance)\n  FILTER(?distance <= 200000)\n  ?airport rdfs:label ?airportLabel .\n  ?city rdfs:label ?cityLabel .\n  FILTER(LANG(?airportLabel) = \"en\")\n  FILTER(LANG(?cityLabel) = \"en\")\n}\nORDER BY ASC(?distance)\nLIMIT 1", "paraphrases": ["Can you find the IATA code and coordinates of the nearest international airport to the coordinates (10, 54), along with the city it serves?", "Which international airport near Kiel has the shortest distance to the point (10, 54), what is its IATA code, and what city does it serve?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 WHERE { ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q644371> . ?var1 ?var5 ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P238> ?var3 . SERVICE <http://wikiba.se/ontology#around> { ?var2 <http://www.wikidata.org/prop/direct/P625> ?var6 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> \"POINT(10 54)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"200\". <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#distance> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P625> ?var4 . } } ORDER BY ASC( ?var7 ) LIMIT 1"}}
{"id": "test_1060", "question": "What is the English description of the entity with Great Russian Encyclopedia Online ID 3149994?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?description WHERE {\n  ?item wdt:P2924 \"3149994\" .\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Can you find the English description for the item identified by the ID 3149994 in the Great Russian Encyclopedia Online?", "Show me the English description of the item linked to the Great Russian Encyclopedia Online ID \"3149994\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"3149994\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1061", "question": "What entities and properties are connected to Mount Everest?", "sparql": "SELECT ?item ?property WHERE { ?item ?property wd:Q513 .}", "paraphrases": ["Which items and relationships involve Mount Everest as their object?", "Show me all the statements and web pages that reference Mount Everest."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q513> . }"}}
{"id": "test_1062", "question": "Players who played for Real Betis Balompi\u00e9", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?player ?playerLabel WHERE {\n  ?player wdt:P54 wd:Q8723 .\n  ?player rdfs:label ?playerLabel .\n  FILTER ( LANG( ?playerLabel ) = \"en\" )\n}", "paraphrases": ["Who are the football players that have been members of Real Betis Balompi\u00e9?", "List all players associated with the Spanish football club Real Betis Balompi\u00e9."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P54> <http://www.wikidata.org/entity/Q8723> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } }"}}
{"id": "test_1063", "question": "Current living football players at FC Barcelona", "sparql": "SELECT DISTINCT ?player ?playerLabel WHERE {  VALUES (?team) { (wd:Q7156) }  VALUES (?occupation) { (wd:Q937857) }   ?player wdt:P106 ?occupation .  ?player p:P54 ?membership .  ?membership ps:P54 ?team .  ?membership pq:P580 ?startDate .   FILTER NOT EXISTS { ?membership pq:P582 ?endDate . }  FILTER NOT EXISTS { ?player wdt:P570 ?deathDate . }  ?player rdfs:label ?playerLabel .  FILTER(LANG(?playerLabel) = \"en\")}", "paraphrases": ["Who are the currently active football players at FC Barcelona who are still alive?", "List all living players who are currently signed to FC Barcelona as footballers."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q7156> ) } BIND ( <http://www.wikidata.org/entity/Q937857> AS ?var3 ). ?var1 <http://www.wikidata.org/prop/direct/P106> ?var3 . ?var1 <http://www.wikidata.org/prop/P54> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P54> ?var2 . ?var4 <http://www.wikidata.org/prop/qualifier/P580> ?var5 . FILTER ( ( NOT EXISTS { ?var4 <http://www.wikidata.org/prop/qualifier/P582> ?var6 . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var7 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1064", "question": "FC Barcelona football players born after 1970, their height, birthplace, and birthplace coordinates.", "sparql": "SELECT ?player ?playerLabel ?height ?dateOfBirth ?placeOfBirth ?placeOfBirthLabel ?coordinates WHERE { ?player wdt:P54 wd:Q7156 . ?player wdt:P641 wd:Q2736 . ?player wdt:P2048 ?height . ?player wdt:P19 ?placeOfBirth . ?player wdt:P569 ?dateOfBirth . ?placeOfBirth wdt:P625 ?coordinates . FILTER (YEAR(?dateOfBirth) > 1970) . ?player rdfs:label ?playerLabel . ?placeOfBirth rdfs:label ?placeOfBirthLabel . FILTER(LANG(?playerLabel) = \"en\") . FILTER(LANG(?placeOfBirthLabel) = \"en\") } LIMIT 200", "paraphrases": ["Who are the football players who played for FC Barcelona and were born after 1970, and where and when were they born?", "List all association football players who played for FC Barcelona, were born after 1970, and include their height, birthplace, and the geographic coordinates of their birthplace."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4Label ?var5Label ?var6Label ?var7 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P54> <http://www.wikidata.org/entity/Q7156> . ?var1 <http://www.wikidata.org/prop/direct/P641> <http://www.wikidata.org/entity/Q2736> . ?var1 <http://www.wikidata.org/prop/direct/P2048> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var6 . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var5 . ?var6 <http://www.wikidata.org/prop/direct/P625> ?var7 . FILTER ( ( ( YEAR ( ?var5 ) > \"1970\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"da,en\". } } LIMIT 200"}}
{"id": "test_1065", "question": "FC Barcelona forwards with height between 180 and 190 cm and their birthplace coordinates.", "sparql": "SELECT ?playerLabel ?height ?birthPlaceCoordinates WHERE { ?player wdt:P413 wd:Q280658 ; wdt:P54 wd:Q7156 ; wdt:P2048 ?height ; wdt:P19 ?birthPlace . ?birthPlace wdt:P625 ?birthPlaceCoordinates . ?player rdfs:label ?playerLabel . FILTER (lang(?playerLabel) = \"en\") FILTER (?height >= 180 && ?height < 190) } LIMIT 100", "paraphrases": ["Who are the forwards who played for FC Barcelona and are between 180 and 190 cm tall, and where were they born?", "List the names, heights, and birthplace coordinates of all FC Barcelona forwards who are 180\u2013190 cm tall."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P413> <http://www.wikidata.org/entity/Q280658> . ?var1 <http://www.wikidata.org/prop/direct/P54> <http://www.wikidata.org/entity/Q7156> . ?var1 <http://www.wikidata.org/prop/direct/P2048> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P625> ?var3 . FILTER ( ( ( ?var2 > \"180\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . FILTER ( ( ( ?var2 < \"190\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"da,en\". } } LIMIT 100"}}
{"id": "test_1066", "question": "Does Wikidata contain an entity with VIAF ID 37452582?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P214 \"37452582\" .\n}", "paraphrases": ["Is there a person or organization in Wikidata identified by the VIAF number 37452582?", "Check if the VIAF identifier 37452582 is assigned to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"37452582\". }"}}
{"id": "test_1067", "question": "Heads of government worldwide", "sparql": "SELECT ?headOfGovernment ?label WHERE { ?governmentBody wdt:P6 ?headOfGovernment . ?headOfGovernment rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["Who are all the people serving as heads of government around the world?", "List all individuals who hold the position of head of government in any country or municipality."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P6> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1068", "question": "Is there a movie in Wikidata with the IMDb ID tt0120737?", "sparql": "ASK WHERE { ?item wdt:P345 \"tt0120737\" . }", "paraphrases": ["Does the film \"The Lord of the Rings: The Fellowship of the Ring\" have an IMDb identifier of tt0120737?", "Is the IMDb ID tt0120737 linked to any item in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0238221\". }"}}
{"id": "test_1069", "question": "Scottish Parliament terms ranked by number of MSPs, with start and end dates", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?term ?termLabel ?start ?end ?count WHERE {\n  {\n    SELECT ?term ( COUNT( DISTINCT ?position ) AS ?count ) ( MIN( ?startTemp ) AS ?start ) ( MIN( ?endTemp ) AS ?end ) WHERE {\n      ?person p:P39 ?position .\n      ?position ps:P39 / wdt:P279 * wd:Q1711695 .\n      ?position pq:P2937 ?term .\n      OPTIONAL {\n        ?term ( wdt:P571 | wdt:P580 ) ?startTemp .\n      }\n      OPTIONAL {\n        ?term ( wdt:P576 | wdt:P582 ) ?endTemp .\n      }\n    }\n    GROUP BY ?term\n  }\n  ?term rdfs:label ?termLabel .\n  FILTER ( LANG( ?termLabel ) = \"en\" )\n}\nORDER BY DESC ( ?count )", "paraphrases": ["Which Scottish parliamentary terms had the most members, and when did they start and end?", "List the Scottish Parliament terms in order of how many MSPs served, including their terms\u2019 start and end dates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 ( COUNT ( DISTINCT ?var5 ) AS ?var4 ) WHERE { ?var6 <http://www.wikidata.org/prop/P39> ?var5 . ?var5 ( <http://www.wikidata.org/prop/statement/P39> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1711695> ; <http://www.wikidata.org/prop/qualifier/P2937> ?var1 . OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/direct/P571> | <http://www.wikidata.org/prop/direct/P580> ) ?var2 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/direct/P576> | <http://www.wikidata.org/prop/direct/P582> ) ?var3 . } } GROUP BY ?var1 ?var2 ?var3 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var4 )"}}
{"id": "test_1070", "question": "What is the image of the person with SNAC ARK ID w6f29nwg?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6f29nwg\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Can you find the Wikimedia Commons image linked to the entity identified by the SNAC ARK ID w6f29nwg?", "Which image is associated with Barack Obama in Wikidata, using his SNAC ARK ID?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w66h8h8p\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_1071", "question": "What is the image of the person with SNAC ARK ID w6f29nwg?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6f29nwg\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Image of Barack Obama from Wikidata using SNAC ARK ID w6f29nwg", "Show me the Wikimedia Commons image linked to the SNAC ARK ID w6f29nwg."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6nt15xj\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_1072", "question": "Who are some human athletes?", "sparql": "SELECT ?athlete ?label WHERE { ?athlete wdt:P31 wd:Q5 ; wdt:P31 wd:Q2066131 . ?athlete rdfs:label ?label . FILTER(LANG(?label) = \"en\") } LIMIT 100", "paraphrases": ["List of athletes who are human beings with their names.", "Show me the names of people who are athletes."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2066131> . } LIMIT 100"}}
{"id": "test_1073", "question": "Entities linked to separatist political parties and their founding dates or websites.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity ?entityLabel ?party ?partyLabel ( SAMPLE( ?factValue ) AS ?sampleFact ) WHERE {\n  ?party wdt:P31 wd:Q15702004 .\n  ?entity wdt:P102 ?party .\n  ?party ?factProperty ?factValue .\n  FILTER ( ?factProperty != wdt:P31 ) FILTER ( ?factProperty IN ( wdt:P571 , wdt:P17 , wdt:P41 , wdt:P1448 , wdt:P856 ) ) OPTIONAL {\n    ?entity rdfs:label ?entityLabel .\n    FILTER ( LANG( ?entityLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?party rdfs:label ?partyLabel .\n    FILTER ( LANG( ?partyLabel ) = \"en\" )\n  }\n}\nGROUP BY ?entity ?entityLabel ?party ?partyLabel\nLIMIT 10", "paraphrases": ["Which people are members of separatist political parties, and what are some key facts about those parties, such as when they were founded or their official websites?", "Show me the members of separatist political parties along with one important detail about each party, like its founding year or website."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q15702004> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_1074", "question": "Image of the person with SNAC ARK ID w6mc9kpm", "sparql": "SELECT ?image WHERE { ?person wdt:P3430 \"w6mc9kpm\" . OPTIONAL { ?person wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with Barry Galbraith in Wikidata?", "What image is linked to the SNAC ARK ID \"w6mc9kpm\"?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6mc9kpm\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_1075", "question": "What are the international airports serving Bangkok, their coordinates, and official names?", "sparql": "SELECT DISTINCT ?airport ?airportLabel ?coordinates ?officialName WHERE { ?airport wdt:P31 wd:Q644371 . ?airport wdt:P931 wd:Q1861 . ?airport wdt:P625 ?coordinates . OPTIONAL { ?airport wdt:P1448 ?officialName . } ?airport rdfs:label ?airportLabel . FILTER(LANG(?airportLabel) = \"en\") }", "paraphrases": ["Can you list the international airports in Bangkok along with their geographic locations and any official names in local languages?", "Which international airports serve the Thai capital, and where are they located? Do they have official names in Thai?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q644371> . ?var1 ?var3 <http://www.wikidata.org/entity/Q1861> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1448> ?var4Label . } }"}}
{"id": "test_1076", "question": "Genera in the family Oscarellidae", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?genus ?genusLabel WHERE {\n  ?genus wdt:P105 wd:Q34740 ; wdt:P171 wd:Q10612970 .\n  ?genus rdfs:label ?genusLabel .\n  FILTER ( LANG( ?genusLabel ) = \"en\" )\n}", "paraphrases": ["Which genera belong to the sponge family Oscarellidae?", "List the genera whose parent taxon is Oscarellidae."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P105> <http://www.wikidata.org/entity/Q34740> . ?var1 <http://www.wikidata.org/prop/direct/P171> <http://www.wikidata.org/entity/Q10612970> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1077", "question": "Image of the person with SNAC ARK ID w6f29nwg.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6f29nwg\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image of Barack Obama as linked by his SNAC ARK ID?", "Show me the Wikimedia Commons image associated with the SNAC ARK ID w6f29nwg."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6wh4g7h\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_1078", "question": "What is the image of Eugene O\u2019Neill, given his SNAC ARK ID is w6930vbg?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?image WHERE {\n  VALUES ?entity {\n    wd:Q93157\n  }\n  ?entity wdt:P3430 \"w6930vbg\" .\n  OPTIONAL {\n    ?entity wdt:P18 ?image .\n  }\n}", "paraphrases": ["Can you show me the Wikimedia Commons image associated with the SNAC ARK ID w6930vbg?", "Which image is linked to Eugene O\u2019Neill in Wikidata, using his SNAC ARK ID?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6930vbg\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_1079", "question": "English football players who played for the England national team.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?player WHERE {\n  ?player wdt:P106 wd:Q937857 .\n  ?player wdt:P27 wd:Q145 .\n  ?player wdt:P54 wd:Q47762 .\n}", "paraphrases": ["Who are the English citizens that have played professional football and represented the England men's national football team?", "List all footballers from the United Kingdom who have played for the England national team."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q937857> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q145> . ?var1 <http://www.wikidata.org/prop/direct/P54> <http://www.wikidata.org/entity/Q47762> . }"}}
{"id": "test_1080", "question": "British football players with English descriptions", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?var1 ?var1Label ?var2 WHERE {\n  ?var1 wdt:P31 wd:Q5 .\n  ?var1 wdt:P27 wd:Q145 .\n  ?var1 wdt:P106 wd:Q937857 .\n  ?var1 rdfs:label ?var1Label .\n  ?var1 schema:description ?var2 .\n  FILTER ( LANG( ?var2 ) = \"en\" ) .\n  FILTER ( LANG( ?var1Label ) = \"en\" ) .\n}\nLIMIT 1000", "paraphrases": ["Who are some football players from the United Kingdom, and what are their English descriptions?", "List English-speaking footballers from the UK along with their names and brief descriptions."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q145> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q937857> . ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 1000"}}
{"id": "test_1081", "question": "What occupations did Benito Jer\u00f3nimo Feijoo have?", "sparql": "SELECT ?occupation ?occupationLabel WHERE { wd:Q379753 wdt:P106 ?occupation . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = \"en\")}", "paraphrases": ["Occupations of Benito Jer\u00f3nimo Feijoo", "List the professions of the Spanish scholar Benito Jer\u00f3nimo Feijoo."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q379753> <http://www.wikidata.org/prop/direct/P106> ?var1 . }"}}
{"id": "test_1082", "question": "What are the most popular sports among humans on Wikidata, ranked by the number of participants?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?sportLabel ( COUNT( ?human ) AS ?count ) WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human wdt:P641 ?sport .\n  ?sport rdfs:label ?sportLabel .\n  FILTER ( LANG( ?sportLabel ) = \"en\" )\n}\nGROUP BY ?sportLabel\nORDER BY DESC ( ?count )", "paraphrases": ["Which sport has the highest number of human participants in Wikidata, and how many people are associated with each sport?", "List sports in descending order of how many humans are associated with them, showing the count for each."], "info": {"raw_sparql": "SELECT ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var2 <http://www.wikidata.org/prop/direct/P641> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } { SELECT ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var2 <http://www.wikidata.org/prop/direct/P641> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 50000 } } GROUP BY ?var1Label ORDER BY DESC( ?var3 )"}}
{"id": "test_1083", "question": "Who were the members of the 1st National Assembly for Wales, where did they study, and which political parties did they belong to?", "sparql": "SELECT ?personLabel ?almaMaterLabel ?partyLabel WHERE { ?person wdt:P39 wd:Q42310633 . ?person wdt:P69 ?almaMater . ?person wdt:P102 ?party . ?person rdfs:label ?personLabel . ?almaMater rdfs:label ?almaMaterLabel . ?party rdfs:label ?partyLabel . FILTER(LANG(?personLabel) = \"en\") FILTER(LANG(?almaMaterLabel) = \"en\") FILTER(LANG(?partyLabel) = \"en\") }", "paraphrases": ["What educational institutions did the members of the 1st Welsh Assembly attend, and what political parties were they affiliated with?", "List the names of the first members of the Welsh Assembly, along with their alma maters and political parties."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q42310633> . ?var1 <http://www.wikidata.org/prop/direct/P69> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P102> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1084", "question": "Oireachtas members with English labels and their IDs", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel ?oireachtasId WHERE {\n  ?item wdt:P4690 ?oireachtasId .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}\nORDER BY ASC(?itemLabel)\nLIMIT 1000", "paraphrases": ["Who are the members of the Irish Oireachtas, and what are their English names and Oireachtas IDs?", "List the English names and Oireachtas member IDs of all Irish parliament members, sorted alphabetically by name."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4690> ?var2 ; <http://wikiba.se/ontology#statements> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> . } LIMIT 1000 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY DESC( ?var3 )ASC( ?var1 )"}}
{"id": "test_1085", "question": "What is the image associated with the SNAC ARK ID w6f29nwg?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6f29nwg\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Can you show me the Wikimedia Commons image for the person with SNAC ARK ID w6f29nwg?", "Which image is linked to Barack Obama in Wikidata via his SNAC ARK ID?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6b28wvm\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_1086", "question": "Image of the person with SNAC ARK ID w6f29nwg", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6f29nwg\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image of Barack Obama as identified by the SNAC ARK ID w6f29nwg?", "Show me the Wikimedia Commons image linked to the SNAC ARK ID w6f29nwg."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6hq56kq\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_1087", "question": "Association football players born today, with birth year and image.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?playerLabel ?birthYear ?image WHERE {\n  ?player wdt:P106 wd:Q937857 ; wdt:P569 ?birthDate ; wdt:P18 ?image .\n  BIND(YEAR(?birthDate) AS ?birthYear)\n  FILTER(MONTH(?birthDate) = MONTH(NOW ()) && DAY(?birthDate) = DAY(NOW ()))\n  .\n  ?player rdfs:label ?playerLabel .\n  FILTER(LANG(?playerLabel) = \"en\")\n}\nORDER BY ASC(?birthYear)\nLIMIT 500", "paraphrases": ["Who are the football players born on this day, and what year were they born in?", "Show me a list of football players born today, sorted by birth year, along with their images."], "info": {"raw_sparql": "SELECT ?var1Label ( YEAR ( ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( MONTH ( NOW ( ) ) AS ?var5 ). BIND ( DAY ( NOW ( ) ) AS ?var6 ). ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q937857> . FILTER ( ( ( MONTH ( ?var2 ) = ?var5 ) && ( DAY ( ?var2 ) = ?var6 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl\". } } ORDER BY ASC( ?var3 ) LIMIT 500"}}
{"id": "test_1088", "question": "Who were elected in the 2017 UK general election?", "sparql": "SELECT ?person WHERE { ?person (p:P39 / pq:P2715) wd:Q25052149 .}", "paraphrases": ["Which individuals won seats in the UK general election held in 2017?", "List all members of parliament elected in the 2017 United Kingdom general election."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/P39> / <http://www.wikidata.org/prop/qualifier/P2715> ) <http://www.wikidata.org/entity/Q25052149> . }"}}
{"id": "test_1089", "question": "Who are the entities classified as kittens in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P31 wd:Q147 .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["Which famous cat is classified as a kitten in Wikidata, despite being an adult?", "Show me the English name of the entity that is an instance of a kitten."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q147> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"zh,en\". } }"}}
{"id": "test_1090", "question": "List of pastries with their images from Wikimedia Commons", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?pastry ?pastryLabel ?image WHERE {\n  ?pastry wdt:P31 wd:Q477248 .\n  OPTIONAL {\n    ?pastry wdt:P18 ?image .\n  }\n  ?pastry rdfs:label ?pastryLabel .\n  FILTER(langMatches(lang(?pastryLabel) , \"en\"))\n}", "paraphrases": ["What are the English names of pastries and their associated images on Wikimedia Commons?", "Show me all pastries in English along with their images, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q477248> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_1091", "question": "What Wikidata taxa have the scientific names \"Arbor\", \"Leo\", or \"Alces\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?scientificName ?taxon WHERE {\n  VALUES ?scientificName {\n    \"Arbor\" \"Leo\" \"Alces\"\n  }\n  ?taxon wdt:P225 ?scientificName .\n}\nORDER BY ASC(?scientificName)", "paraphrases": ["Which biological taxa in Wikidata are named \"Arbor\", \"Leo\", or \"Alces\" in scientific Latin nomenclature?", "List the Wikidata items for the taxon names \"Arbor\", \"Leo\", and \"Alces\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { VALUES ( ?var1 ) { ( \"Arbor\" ) ( \"Leo\" ) ( \"Alces\" ) } ?var2 <http://www.wikidata.org/prop/direct/P225> ?var1 . } ORDER BY ASC( ?var1 )"}}
{"id": "test_1092", "question": "What items are used for serving or consuming dessert?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P366 wd:Q182940 .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["Which foods or utensils have dessert as their main use?", "Can you list dessert-related items like plates, spoons, or dessert types in English?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P366> <http://www.wikidata.org/entity/Q182940> . } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . }"}}
{"id": "test_1093", "question": "What geographic regions, countries, and administrative areas is Leonardo da Vinci\u2013Fiumicino Airport located in?", "sparql": "SELECT DISTINCT ?relatedEntity WHERE { wd:Q19101 (wdt:P30 | wdt:P17 | wdt:P131)+ ?relatedEntity . }", "paraphrases": ["List all places connected to Fiumicino Airport through geographic containment, such as city, region, country, and continent.", "Starting from Fiumicino Airport, what larger geographic entities can you reach by following administrative divisions, country, and continent links?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q19101> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_1094", "question": "Which endangeredlanguages.com IDs are assigned to more than one language?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?id(COUNT(?language) AS ?count)(GROUP_CONCAT(?languageLabel ; separator = \", \") AS ?languages) WHERE {\n  ?language wdt:P2192 ?id .\n  ?language rdfs:label ?languageLabel .\n  FILTER(LANG(?languageLabel) = \"en\")\n}\nGROUP BY ?id\nHAVING(?count > 1)\nORDER BY ?id", "paraphrases": ["What are the pairs of languages that share the same endangeredlanguages.com ID in Wikidata?", "Show me all cases where two different languages have been mistakenly given the same identifier on endangeredlanguages.com."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 )( GROUP_CONCAT ( ?var2 ) AS ?var4 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P2192> ?var1 . } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) )"}}
{"id": "test_1095", "question": "Airports in Italy with ICAO code LIEE, their IATA codes, and images.", "sparql": "SELECT DISTINCT ?airport ?label ?icao ?iata ?image WHERE { ?airport wdt:P31 wd:Q1248784 . ?airport wdt:P17 wd:Q38 . ?airport wdt:P239 ?icao ; wdt:P238 ?iata ; wdt:P18 ?image . FILTER (?icao = \"LIEE\") . ?airport rdfs:label ?label . FILTER (lang(?label) = \"en\") }", "paraphrases": ["What is the name, IATA code, and image of the airport in Italy with ICAO code LIEE?", "Show me the English label, IATA code, and image of the Italian airport whose ICAO code is LIEE."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1248784> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q38> . ?var1 <http://www.wikidata.org/prop/direct/P239> ?var3 ; <http://www.wikidata.org/prop/direct/P238> ?var4 ; <http://www.wikidata.org/prop/direct/P18> ?var5 . FILTER ( ( REGEX ( ?var3 , \"LIEE\", \"i\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P239> ?var3 . } }"}}
{"id": "test_1096", "question": "Named cats that are instances of house cat", "sparql": "SELECT ?cat ?catLabel WHERE { ?cat wdt:P31 wd:Q146 . ?cat rdfs:label ?catLabel . FILTER(LANG(?catLabel) = \"en\") } LIMIT 10", "paraphrases": ["What are the names of 10 notable pet cats?", "Show me 10 famous individual cats with their names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q146> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY DESC( ?var2 ) LIMIT 10"}}
{"id": "test_1097", "question": "Members of the Senedd, their electoral districts, and birthplace coordinates.", "sparql": "SELECT DISTINCT ?person ?personLabel ?constituencyLabel ?coordinates WHERE { ?person p:P39 ?position . ?position ps:P39/wdt:P279* wd:Q3406079 . OPTIONAL { ?position pq:P768 ?constituency . ?constituency rdfs:label ?constituencyLabel . FILTER(LANG(?constituencyLabel) = \"en\") } ?person wdt:P19 ?birthPlace . ?birthPlace wdt:P625 ?coordinates . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } ORDER BY ?personLabel", "paraphrases": ["Who are the members of the Senedd, what constituencies do they represent, and where were they born?", "List all members of the Senedd along with the electoral districts they represent and the geographic coordinates of their birthplaces."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/P39> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P39> [ <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q3406079> ] . OPTIONAL { ?var4 <http://www.wikidata.org/prop/qualifier/P768> ?var2 . } OPTIONAL { ?var4 ( <http://www.wikidata.org/prop/qualifier/P4100> | <http://www.wikidata.org/prop/qualifier/P102> ) ?var5 . } ?var1 <http://www.wikidata.org/prop/direct/P19> ?var6 . ?var6 <http://www.wikidata.org/prop/direct/P625> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var7 )"}}
{"id": "test_1098", "question": "What are the shared categories in the hierarchy between the Las Vegas Raiders and Punta Islita Airport?", "sparql": "SELECT ?commonAncestor WHERE { wd:Q17156793 wdt:P279* ?commonAncestor . wd:Q1248784 wdt:P279* ?commonAncestor } ORDER BY ?commonAncestor", "paraphrases": ["Which classes do both an American football team and an airport belong to?", "Find the common ancestor classes of the Las Vegas Raiders and Punta Islita Airport in Wikidata\u2019s taxonomy."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q324523> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3545312> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1099", "question": "People holding positions related to the Welsh Parliament and their given names, family names, and birth names.", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 ?var4Label WHERE {\n  ?var1 ( p:P39 / ps:P39 / wdt:P279 * ) wd:Q3406079 .\n  OPTIONAL {\n    ?var1 wdt:P1477 ?var2 .\n  }\n  OPTIONAL {\n    ?var1 wdt:P734 ?var3 .\n  }\n  OPTIONAL {\n    ?var1 wdt:P735 ?var4 .\n  }\n}", "paraphrases": ["Who are the members of the Senedd or its subclasses, and what are their family names, given names, and birth names?", "List all individuals who hold a legislative position in Wales (including subclasses of member of the Senedd), along with their family name, given name, and birth name."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 ?var4Label WHERE { ?var1 ( <http://www.wikidata.org/prop/P39> / <http://www.wikidata.org/prop/statement/P39> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3406079> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2561> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1477> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var4 . } }"}}
{"id": "test_1100", "question": "Airports with Simplified Chinese, Traditional Chinese, Cantonese, and English labels and alternative names.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nSELECT ?airport ?label_zh_hans ?label_zh_hant ?label_yue ?label_en ?altLabel WHERE {\n  ?airport wdt:P31 wd:Q1248784 .\n  OPTIONAL {\n    ?airport rdfs:label ?label_zh_hans FILTER ( LANG( ?label_zh_hans ) = \"zh-hans\" )\n  }\n  OPTIONAL {\n    ?airport rdfs:label ?label_zh_hant FILTER ( LANG( ?label_zh_hant ) = \"zh-hant\" )\n  }\n  OPTIONAL {\n    ?airport rdfs:label ?label_yue FILTER ( LANG( ?label_yue ) = \"yue\" )\n  }\n  OPTIONAL {\n    ?airport rdfs:label ?label_en FILTER ( LANG( ?label_en ) = \"en\" )\n  }\n  OPTIONAL {\n    ?airport skos:altLabel ?altLabel\n  }\n}\nLIMIT 10", "paraphrases": ["What airports have labels in Simplified Chinese, Traditional Chinese, Cantonese, and optionally English, along with their alternative names?", "Please list airports along with their labels in Chinese (simplified and traditional), Cantonese, English, and any alternative names they have."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1248784> . ?var1 <http://www.w3.org/2000/01/rdf-schema#aliases> ?var6 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . OPTIONAL { FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . } FILTER ( ( ( LANG ( ?var2 ) = \"zh-hans\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"zh-hant\" ) ) ) . FILTER ( ( ( LANG ( ?var4 ) = \"yue\" ) ) ) . }"}}
{"id": "test_1101", "question": "List up to 21 desserts and their English names.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?dessert ?dessertLabel WHERE {\n  ?dessert wdt:P31 wd:Q182940 .\n  ?dessert rdfs:label ?dessertLabel .\n  FILTER(LANG(?dessertLabel) = \"en\")\n}\nLIMIT 21", "paraphrases": ["What are some desserts, and what are their English labels?", "Can you show me 21 examples of desserts (items classified as desserts) along with their English names?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q182940> . } LIMIT 21 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1102", "question": "Image of the person with SNAC ARK ID w6f29nwg", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6f29nwg\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Barack Obama\u2019s SNAC ARK ID?", "Show me the Wikimedia Commons image for the entity identified by SNAC ARK ID w6f29nwg."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6513xcz\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_1103", "question": "Top 100 universities ranked by global ranking scores", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?university ?universityLabel ?ranking WHERE {\n  ?university ( wdt:P31 / wdt:P279 * ) wd:Q3918 .\n  ?university wdt:P1352 ?ranking .\n  ?university rdfs:label ?universityLabel .\n  FILTER ( LANG( ?universityLabel ) = \"en\" )\n}\nORDER BY ?ranking\nLIMIT 100", "paraphrases": ["Which universities are ranked highest globally, and what are their rankings?", "List the top 100 universities in the world along with their rankings, ordered from highest to lowest."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3918> . SERVICE <http://dbpedia.org/sparql> { ?var1 ( <http://purl.org/voc/vrank#hasRank> / <http://purl.org/voc/vrank#rankValue> ) ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var2 ) LIMIT 100"}}
{"id": "test_1104", "question": "Movie theaters in Spain and their cities", "sparql": "SELECT DISTINCT ?cinema ?adminArea WHERE { ?cinema wdt:P31 wd:Q41253 . ?cinema wdt:P17 wd:Q29 . OPTIONAL { ?cinema wdt:P131 ?adminArea . } } LIMIT 200", "paraphrases": ["What are the movie theaters in Spain, and in which administrative areas are they located?", "List all movie theaters in Spain along with the municipalities or towns they are in."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q41253> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q29> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,cy,fr,de,es,nl,hy,ja,ru,ca\". } } LIMIT 200"}}
{"id": "test_1105", "question": "What are the names of political parties in English?", "sparql": "SELECT ?partyLabel WHERE { ?party wdt:P31 wd:Q7278 . ?party rdfs:label ?partyLabel . FILTER(LANG(?partyLabel) = \"en\") }", "paraphrases": ["List all political parties with their English labels.", "Can you show me the English names of entities classified as political parties?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/qualifier/P1480> <http://www.wikidata.org/entity/Q7278> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1106", "question": "What is Arthur W. Toga\u2019s affiliation or employer, along with its image, tenure dates, and any academic degrees associated with that role?", "sparql": "PREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?image ?organization ?organizationLabel ?start ?end ?degreeLabel WHERE {\n  wd:Q28516610 ( p:P1416 | p:P108 ) ?affiliationStatement .\n  ?affiliationStatement ps:P1416 | ps:P108 ?organization .\n  ?organization rdfs:label ?organizationLabel .\n  FILTER ( LANG( ?organizationLabel ) = \"en\" ) OPTIONAL {\n    ?organization wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?affiliationStatement pq:P580 ?start .\n  }\n  OPTIONAL {\n    ?affiliationStatement pq:P582 ?end .\n  }\n  OPTIONAL {\n    ?affiliationStatement pq:P512 ?degree .\n    ?degree rdfs:label ?degreeLabel .\n    FILTER ( LANG( ?degreeLabel ) = \"en\" )\n  }\n}", "paraphrases": ["Which organization has Arthur W. Toga been affiliated with or employed by, and what is the image of that organization? Are there any start/end dates or academic degrees linked to this affiliation?", "Show me the organization Arthur W. Toga is associated with, including its image, the time period of the association, and any academic degrees he held during that time."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label ?var4 ?var5 ?var6Label WHERE { { <http://www.wikidata.org/entity/Q28516610> <http://www.wikidata.org/prop/P1416> ?var7 . } UNION { <http://www.wikidata.org/entity/Q28516610> <http://www.wikidata.org/prop/P108> ?var7 . } { ?var7 <http://www.wikidata.org/prop/statement/P1416> ?var2 . } UNION { ?var7 <http://www.wikidata.org/prop/statement/P108> ?var2 . } ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P580> ?var4 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P582> ?var5 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P512> ?var8 . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_1107", "question": "What is the most specific shared category (via subclass hierarchy) between Goldman Sachs and the Liberal Democratic Party of Japan?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonAncestor ( ?dist1 + ?dist2 AS ?totalDistance ) WHERE {\n  {\n    SELECT ?ancestor1 ( COUNT( ?mid1 ) AS ?dist1 ) WHERE {\n      wd:Q193326 wdt:P31 ?type1 .\n      ?type1 wdt:P279 + ?mid1 .\n      ?mid1 wdt:P279 * ?ancestor1 .\n    }\n    GROUP BY ?ancestor1\n  }\n  {\n    SELECT ?ancestor2 ( COUNT( ?mid2 ) AS ?dist2 ) WHERE {\n      wd:Q232595 wdt:P31 ?type2 .\n      ?type2 wdt:P279 + ?mid2 .\n      ?mid2 wdt:P279 * ?ancestor2 .\n    }\n    GROUP BY ?ancestor2\n  }\n  BIND( ?ancestor1 AS ?commonAncestor ) FILTER ( ?ancestor1 = ?ancestor2 ) FILTER ( ?commonAncestor != wd:Q193326 ) FILTER ( ?commonAncestor != wd:Q232595 )\n}\nORDER BY ASC ( ?totalDistance )\nLIMIT 1", "paraphrases": ["How far are Goldman Sachs and the Liberal Democratic Party of Japan from their closest common ancestor in Wikidata\u2019s taxonomy?", "Which top-level legal classification do Goldman Sachs and Japan\u2019s Liberal Democratic Party both belong to, and what is the combined path length to reach it?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q193326> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q232595> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1108", "question": "Living American politicians named Donald with Wikipedia pages.", "sparql": "SELECT ?person ?personLabel ?wikipediaPage WHERE { ?person wdt:P31 wd:Q5 ; wdt:P27 wd:Q30 ; wdt:P106 wd:Q82955 ; rdfs:label ?name . FILTER(LANG(?name) = \"en\") FILTER(STRSTARTS(?name, \"Donald\")) FILTER NOT EXISTS { ?person wdt:P570 [] } . ?wikipediaPage schema:about ?person ; schema:isPartOf <https://en.wikipedia.org/> . }", "paraphrases": ["Who are the living American politicians whose full name starts with \"Donald\" and have an English Wikipedia page?", "List all living American politicians named Donald along with their English Wikipedia links."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q30> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82955> . ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P570> [] . } ) ) . ?var1 <http://www.wikidata.org/prop/direct/P735> \"Donald\"@en . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_1109", "question": "Food items with images and their types", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?foodItem ?instanceType ?foodItemLabel ?instanceTypeLabel ?image WHERE {\n  ?foodItem wdt:P31 wd:Q2095 .\n  ?foodItem wdt:P31 ?instanceType .\n  ?foodItem wdt:P18 ?image .\n  ?foodItem rdfs:label ?foodItemLabel .\n  FILTER(LANG(?foodItemLabel) = \"en\")\n  .\n  ?instanceType rdfs:label ?instanceTypeLabel .\n  FILTER(LANG(?instanceTypeLabel) = \"en\")\n}\nLIMIT 10", "paraphrases": ["What are some food items that have images on Wikimedia Commons, and what categories do they belong to?", "Show me food items along with their English names, the categories they are classified under, and their associated images."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2095> . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10"}}
{"id": "test_1110", "question": "Railway stations and their official names in local languages.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?station ?officialName WHERE {\n  ?station wdt:P31 wd:Q55488 .\n  OPTIONAL {\n    ?station wdt:P1448 ?officialName .\n  }\n}\nLIMIT 20", "paraphrases": ["What are some railway stations and their official names in their local languages?", "Show me up to 20 railway stations along with their official names, if available, in the language used locally at each station."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q55488> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1448> ?var2 . } } LIMIT 20"}}
{"id": "test_1111", "question": "List sports clubs with Freebase IDs and English names, excluding national teams.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?club ?label ?freebaseId WHERE {\n  ?club ( wdt:P31 / wdt:P279 * ) wd:Q847017 .\n  ?club wdt:P646 ?freebaseId .\n  ?club rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) MINUS {\n    ?club wdt:P31 wd:Q1194951 .\n    ?club wdt:P646 ?freebaseId .\n  }\n}", "paraphrases": ["What are the English-named sports clubs that have Freebase IDs but are not national sports teams?", "Show me the names and Freebase identifiers of all sports clubs (including their subclasses) that are not national teams and have English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q847017> . ?var1 <http://www.wikidata.org/prop/direct/P646> ?var3 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . MINUS { SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1194951> . ?var1 <http://www.wikidata.org/prop/direct/P646> ?var3 . } } }"}}
{"id": "test_1112", "question": "People who served multiple terms in the Northern Ireland Assembly and the assembly terms they held.", "sparql": "SELECT ?person ?personLabel ?assembly ?assemblyLabel ( COUNT( ?start_time ) AS ?term_count ) WHERE { ?assembly wdt:P279 wd:Q3272410 . ?person p:P39 [ ps:P39 ?assembly ; pq:P580 ?start_time ] . ?person rdfs:label ?personLabel . ?assembly rdfs:label ?assemblyLabel . FILTER(LANG(?personLabel) = \"en\") FILTER(LANG(?assemblyLabel) = \"en\") } GROUP BY ?person ?personLabel ?assembly ?assemblyLabel HAVING ( COUNT( ?start_time ) > 1 ) ORDER BY ASC(?assemblyLabel) ASC(?personLabel)", "paraphrases": ["Who are the individuals that were elected to the Northern Ireland Assembly more than once, and which specific assemblies did they serve in?", "List all members of the Northern Ireland Assembly who served non-consecutive terms, including the assembly term (e.g., 1st, 2nd) and how many terms they served."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q3272410> . ?var1 <http://www.wikidata.org/prop/P39> [ <http://www.wikidata.org/prop/statement/P39> ?var2 ; <http://www.wikidata.org/prop/qualifier/P580> ?var3 ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var1Label ?var2 ?var2Label HAVING ( ( COUNT ( ?var3 ) > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY ASC( ?var2Label )ASC( ?var1 )"}}
{"id": "test_1113", "question": "Who are all the presidents of the United States?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?var7Label WHERE {\n  ?var7 wdt:P39 wd:Q11696 .\n  ?var7 rdfs:label ?var7Label .\n  FILTER ( LANG( ?var7Label ) = \"en\" )\n}", "paraphrases": ["List the names of all individuals who have served as President of the United States.", "Can you provide the English labels of people who have held the office of President of the United States?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { ?var7 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q11696> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1114", "question": "What properties link entities to the University of Colorado Boulder?", "sparql": "SELECT DISTINCT ?property ?propertyLabel ?propertyDescription WHERE { ?item ?property wd:Q736674 . BIND(REPLACE(STR(?property), \"http://www.wikidata.org/prop/direct/\", \"\") AS ?propId) . BIND(IRI(CONCAT(\"http://www.wikidata.org/entity/\", ?propId)) AS ?propertyEntity) . ?propertyEntity rdfs:label ?propertyLabel . ?propertyEntity schema:description ?propertyDescription . FILTER (LANG(?propertyLabel) = \"en\") . FILTER (LANG(?propertyDescription) = \"en\") . } LIMIT 100", "paraphrases": ["Which properties are used to indicate that someone or something is associated with the University of Colorado Boulder?", "Show me the English labels and descriptions of all properties that have the University of Colorado Boulder as their object."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q736674> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_1115", "question": "Scientific publications on Species Wiki that describe new species and are not about taxa, humans, or names.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?publication ?publicationLabel ?pageTitle ?wikiPage WHERE {\n  ?wikiPage schema:isPartOf <https://species.wikimedia.org/> ; schema:about ?publication ; schema:name ?pageTitle .\n  ?publication rdfs:label ?publicationLabel .\n  FILTER ( LANG( ?publicationLabel ) = \"en\" ) .\n  ?publication wdt:P31 wd:Q13442814 . MINUS {\n    ?publication ( wdt:P31 / wdt:P279 * ) wd:Q16521 .\n  } MINUS {\n    ?publication wdt:P31 wd:Q5 .\n  } MINUS {\n    ?publication wdt:P31 wd:Q4167410 .\n  } MINUS {\n    ?publication ( wdt:P31 / wdt:P279 * ) wd:Q82799 .\n  } MINUS {\n    ?publication ( wdt:P31 / wdt:P279 * ) wd:Q33506 .\n  } MINUS {\n    ?publication wdt:P31 wd:Q427626 .\n  } MINUS {\n    ?publication ( wdt:P31 / wdt:P279 * ) wd:Q1002697 .\n  } MINUS {\n    ?publication ( wdt:P31 / wdt:P279 * ) wd:Q17442446 .\n  } MINUS {\n    ?publication ( wdt:P31 / wdt:P279 * ) wd:Q1664720 .\n  } MINUS {\n    ?publication ( wdt:P31 / wdt:P279 * ) wd:Q43229 .\n  } MINUS {\n    ?publication ( wdt:P31 / wdt:P279 ) wd:Q23729754 .\n  } MINUS {\n    ?publication wdt:P31 wd:Q18575734 .\n  } MINUS {\n    ?publication wdt:P31 wd:Q17487588 .\n  } MINUS {\n    ?publication wdt:P31 wd:Q235536 .\n  } MINUS {\n    ?publication wdt:P31 wd:Q502895 .\n  } MINUS {\n    ?publication wdt:P31 wd:Q21469493 .\n  } MINUS {\n    ?publication wdt:P31 wd:Q571 .\n  } MINUS {\n    ?publication wdt:P31 wd:Q277759 .\n  } MINUS {\n    ?publication wikibase:statements \"0\" ^^ xsd:integer .\n  } MINUS {\n    ?publication wikibase:sitelinks \"1\" ^^ xsd:integer .\n  }\n}", "paraphrases": ["What scientific papers on Species Wiki describe new biological discoveries and are not about organisms, people, or Wikimedia meta-pages?", "List all scientific articles on Species Wiki that have been published as new species descriptions, excluding taxonomic names, humans, and other non-publication entities."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var3 <http://schema.org/isPartOf> <https://species.wikimedia.org/> ; <http://schema.org/about> ?var1 ; <http://schema.org/name> ?var2 . MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q16521> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167410> . } MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q82799> . } MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q33506> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q427626> . } MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1002697> . } MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q17442446> . } MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1664720> . } MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q43229> . } MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q23729754> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q18575734> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q17487588> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q235536> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q502895> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q21469493> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q571> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q277759> . } MINUS { ?var1 <http://wikiba.se/ontology#statements> \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> . } MINUS { ?var1 <http://wikiba.se/ontology#sitelinks> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs,en\". } }"}}
{"id": "test_1116", "question": "People who are members of the Senedd or its subclasses but have no Welsh Wikipedia page.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?person ( SAMPLE( ?personLabel ) AS ?label ) WHERE {\n  ?person ( p:P39 / ps:P39 / wdt:P279 ) wd:Q3406079 .\n  ?person rdfs:label ?personLabel . MINUS {\n    ?wikipediaArticle schema:about ?person ; schema:isPartOf <https://cy.wikipedia.org/> .\n  }\n}\nGROUP BY ?person", "paraphrases": ["Who are the members of the Senedd or related legislative positions that do not have a Welsh-language Wikipedia article?", "List all individuals holding a position that is a subclass of member of the Senedd, excluding those with a Welsh Wikipedia article."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/P39> / <http://www.wikidata.org/prop/statement/P39> / <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q3406079> . ?var3 <http://schema.org/about> ?var1 . MINUS { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"cy\". } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_1117", "question": "Who are all the real people who have served as President of the United States?", "sparql": "SELECT ?president WHERE { ?president wdt:P39 wd:Q11696 . ?president wdt:P31 wd:Q5 .}", "paraphrases": ["List the individuals who have held the office of the President of the United States, excluding fictional characters.", "Can you tell me the names of all U.S. presidents?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q11696> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1118", "question": "What is the English label and description of the language with UNESCO Atlas ID 2671?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?language ?label ?description WHERE {\n  ?language wdt:P2355 \"2671\" .\n  ?language rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) OPTIONAL {\n    ?language schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["What is the name and description in English of the language identified by UNESCO Atlas ID 2671?", "Please provide the English name and a brief description of the language with UNESCO ID 2671."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2355> \"2671\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1119", "question": "Railway stations in the United Kingdom and their opening dates", "sparql": "SELECT ?station ?stationLabel ?openingDate WHERE { ?station wdt:P31 wd:Q55488 ; wdt:P17 wd:Q145 . OPTIONAL { ?station wdt:P1619 ?openingDate . } ?station rdfs:label ?stationLabel . FILTER(LANG(?stationLabel) = \"en\") } LIMIT 100", "paraphrases": ["What are the railway stations in the United Kingdom and when were they officially opened?", "Show me a list of railway stations in the UK along with their official opening dates, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q55488> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q145> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1619> ?var2 . } } LIMIT 100"}}
{"id": "test_1120", "question": "Who are the individuals who held the position of Member of Parliament in three different constituencies, with the start dates of their terms in chronological order?", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT DISTINCT ?person ?personLabel ?constituency1Label ?constituency1 ?startDate1 ?constituency2Label ?constituency2 ?startDate2 ?constituency3Label ?constituency3 ?startDate3 WHERE {\n  ?person p:P39 ?s1 ; p:P39 ?s2 ; p:P39 ?s3 .\n  ?s1 ps:P39 ?pos1 ; pq:P768 ?constituency1 ; pq:P580 ?startDate1 .\n  ?s2 ps:P39 ?pos2 ; pq:P768 ?constituency2 ; pq:P580 ?startDate2 .\n  ?s3 ps:P39 ?pos3 ; pq:P768 ?constituency3 ; pq:P580 ?startDate3 .\n  ?pos1 wdt:P279 wd:Q16707842 .\n  ?pos2 wdt:P279 wd:Q16707842 .\n  ?pos3 wdt:P279 wd:Q16707842 .\n  FILTER ( ?constituency1 != ?constituency2 ) FILTER ( ?constituency2 != ?constituency3 ) FILTER ( ?constituency1 != ?constituency3 ) FILTER ( ?startDate1 < ?startDate2 ) FILTER ( ?startDate2 < ?startDate3 ) ?person rdfs:label ?personLabel .\n  ?constituency1 rdfs:label ?constituency1Label .\n  ?constituency2 rdfs:label ?constituency2Label .\n  ?constituency3 rdfs:label ?constituency3Label .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) FILTER ( LANG( ?constituency1Label ) = \"en\" ) FILTER ( LANG( ?constituency2Label ) = \"en\" ) FILTER ( LANG( ?constituency3Label ) = \"en\" )\n}", "paraphrases": ["Can you list British MPs who represented three distinct constituencies, sorted by the earliest to latest start date of their terms?", "Show me the names of UK parliament members who served in three different electoral districts, along with the names of those districts and the start dates of their terms, ordered by when they began serving."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3Label ?var4 ?var5Label ?var6 ?var7Label ?var8 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q16707842> . ?var9 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q16707842> . ?var10 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q16707842> . ?var1 <http://www.wikidata.org/prop/P39> ?var11 . ?var11 <http://www.wikidata.org/prop/statement/P39> ?var2 ; <http://www.wikidata.org/prop/qualifier/P768> ?var3 ; <http://www.wikidata.org/prop/qualifier/P580> ?var4 . ?var1 <http://www.wikidata.org/prop/P39> ?var12 . ?var12 <http://www.wikidata.org/prop/statement/P39> ?var9 ; <http://www.wikidata.org/prop/qualifier/P768> ?var5 ; <http://www.wikidata.org/prop/qualifier/P580> ?var6 . ?var1 <http://www.wikidata.org/prop/P39> ?var13 . ?var13 <http://www.wikidata.org/prop/statement/P39> ?var10 ; <http://www.wikidata.org/prop/qualifier/P768> ?var7 ; <http://www.wikidata.org/prop/qualifier/P580> ?var8 . FILTER ( ( ( ?var2 = ?var9 ) ) ) . FILTER ( ( ( ?var9 = ?var10 ) ) ) . FILTER ( ( ( STR ( ?var3 ) > STR ( ?var5 ) ) ) ) . FILTER ( ( ( STR ( ?var5 ) > STR ( ?var7 ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1121", "question": "Is Barbara Castle a member of the Labour Party?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q2883936 wdt:P463 wd:Q9630 .\n}", "paraphrases": ["Does the Labour Party include Barbara Castle as a member?", "Is there a membership relationship between Barbara Castle and the Labour Party?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q21550211> <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q856831> . }"}}
{"id": "test_1122", "question": "Who are the current members of the UK Parliament in the most recent parliamentary term?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?positionLabel ?termLabel WHERE {\n  ?term wdt:P31 wd:Q21094819 . MINUS {\n    [] wdt:P155 ?term .\n  }\n  ?person wdt:P39 ?position ; p:P39 [ ps:P39 ?position ; pq:P2937 ?term ] .\n  OPTIONAL {\n    ?person rdfs:label ?personLabel .\n    FILTER(LANG(?personLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?position rdfs:label ?positionLabel .\n    FILTER(LANG(?positionLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?term rdfs:label ?termLabel .\n    FILTER(LANG(?termLabel) = \"en\")\n  }\n}", "paraphrases": ["Which politicians currently hold a seat in the 59th Parliament of the United Kingdom?", "List all individuals serving as MPs in the latest UK parliamentary term, along with their positions and the term name."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q21094819> . MINUS { [] <http://www.wikidata.org/prop/direct/P155> ?var3 . } ?var1 <http://www.wikidata.org/prop/direct/P39> ?var2 ; <http://www.wikidata.org/prop/P39> [ <http://www.wikidata.org/prop/statement/P39> ?var2 ; <http://www.wikidata.org/prop/qualifier/P2937> ?var3 ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1123", "question": "Most common property linking Logan International Airport as object", "sparql": "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ( COUNT( ?property ) AS ?count ) WHERE {\n  ?item ?prop wd:Q671475 .\n  ?property wikibase:directClaim ?prop .\n  ?property rdf:type wikibase:Property .\n}\nGROUP BY ?property\nORDER BY DESC ( ?count )\nLIMIT 1", "paraphrases": ["What property is most often used to indicate that Logan International Airport is the starting point of something?", "Show me the property that has Logan International Airport as its object the most times, along with how many times it appears."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q671475> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_1124", "question": "What film has the IMDb ID tt0272887?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P345 \"tt0272887\" .\n}", "paraphrases": ["IMDb ID tt0272887 \u2014 what is the corresponding film?", "Tell me the film associated with IMDb ID tt0272887."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0272887\". }"}}
{"id": "test_1125", "question": "What are the Czech labels of properties used on F\u00fcrstenwalde Aerodrome, along with the Czech names of the places they connect to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?property(SAMPLE(?propertyLabel) AS ?propertyLabelCs)(COUNT(?object) AS ?objectCount)(GROUP_CONCAT(?objectLabel ; SEPARATOR = \", \") AS ?objectLabelsCs) WHERE {\n  wd:Q1433594 ?property ?object .\n  ?object rdfs:label ?objectLabel .\n  FILTER(LANG(?objectLabel) = \"cs\")\n  .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?propertyLabel .\n  FILTER(LANG(?propertyLabel) = \"cs\")\n}\nGROUP BY ?property", "paraphrases": ["For each property linking F\u00fcrstenwalde Aerodrome to another entity, show its Czech name, how many Czech-labeled objects it connects to, and what those objects are called in Czech.", "List all properties of F\u00fcrstenwalde Aerodrome in Czech, including the Czech labels of their target entities and how many such entities exist per property."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q1433594> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"cs\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"cs\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_1126", "question": "List house cats and their labels.", "sparql": "SELECT ?cat ?catLabel WHERE { ?cat wdt:P31 wd:Q146 . ?cat rdfs:label ?catLabel . }", "paraphrases": ["What are the names of all house cats in Wikidata?", "Show me the entities that are house cats along with their labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q146> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1> . }"}}
{"id": "test_1127", "question": "List all airports and their names.", "sparql": "SELECT ?airport ?airportLabel WHERE { ?airport wdt:P31 wd:Q1248784 . ?airport rdfs:label ?airportLabel . FILTER(LANG(?airportLabel) = \"en\") }", "paraphrases": ["What are the names of all airports in Wikidata?", "Show me the English labels of all entities that are instances of airports."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,de\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1248784> . }"}}
{"id": "test_1128", "question": "Domestic cats with Freebase IDs and their English names", "sparql": "SELECT ?cat ?catLabel ?freebaseId WHERE { ?cat wdt:P31 wd:Q146 . ?cat wdt:P646 ?freebaseId . ?cat rdfs:label ?catLabel . FILTER(LANG(?catLabel) = \"en\") }", "paraphrases": ["Which domestic cats have Freebase IDs, and what are their names in English?", "List the names of domestic cats that have Freebase identifiers, in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q146> . ?var1 <http://www.wikidata.org/prop/direct/P646> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_1129", "question": "What is the Japanese term for the category that soup belongs to?", "sparql": "SELECT ?superclass ?label WHERE { wd:Q41415 wdt:P279 ?superclass . ?superclass rdfs:label ?label . FILTER (LANG(?label) = \"ja\") } LIMIT 50", "paraphrases": ["Japanese label for the superclass of soup", "Can you tell me the Japanese word for the type of food that soup is an example of?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q41415> <http://www.wikidata.org/prop/direct/P279> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"ja\" ) ) ) . } LIMIT 50"}}
{"id": "test_1130", "question": "Actors educated at Florida State University and their birthplaces.", "sparql": "SELECT ?person ?personLabel ?birthPlaceLabel WHERE { ?person wdt:P106 wd:Q33999 . ?person wdt:P69 wd:Q861548 . ?person wdt:P19 ?birthPlace . ?person rdfs:label ?personLabel . ?birthPlace rdfs:label ?birthPlaceLabel . FILTER(LANG(?personLabel) = \"en\") FILTER(LANG(?birthPlaceLabel) = \"en\") }", "paraphrases": ["Who are the actors that attended Florida State University, and where were they born?", "List the names of actors who studied at Florida State University along with their places of birth."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . ?var1 <http://www.wikidata.org/prop/direct/P69> <http://www.wikidata.org/entity/Q861548> . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"th\". } }"}}
{"id": "test_1131", "question": "What are all the classes (including superclasses) that Mount Everest, K2, Denali, Mount Fuji, and Mauna Loa belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?instance ?class ?classLabel WHERE {\n  VALUES ?instance {\n    wd:Q513 wd:Q43512 wd:Q130018 wd:Q39231 wd:Q159762\n  }\n  ?instance ( wdt:P31 / wdt:P279 * ) ?class .\n  ?class rdfs:label ?classLabel .\n  FILTER ( LANG( ?classLabel ) = \"en\" )\n}", "paraphrases": ["Show me the hierarchy of categories for major mountains and volcanoes like Everest and Fuji, including their broader classifications.", "List all the types and super-types of these famous peaks: Mount Everest, K2, Denali, Mount Fuji, and Mauna Loa."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { VALUES ( ?var1 ) { } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1132", "question": "Did Angela Merkel serve as Federal Chancellor of Germany?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK {\n  wd:Q567 wdt:P39 wd:Q4970706\n}", "paraphrases": ["Was Angela Merkel the Federal Chancellor of Germany?", "Confirm whether Angela Merkel held the position of Federal Chancellor of Germany."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q447122> <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q13423495> . }"}}
{"id": "test_1133", "question": "What pairs of topics are commonly associated with works about Maastricht?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE {\n  ?var3 wdt:P921 wd:Q1309 .\n  ?var3 wdt:P921 ?var1 , ?var2 .\n  FILTER(?var1 != wd:Q1309 && ?var2 != wd:Q1309 && ?var1 != ?var2)\n}", "paraphrases": ["Which topics frequently appear together in publications that focus on Maastricht?", "Find pairs of subjects (other than Maastricht) that are main topics of the same works that are about Maastricht."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1309> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P361> +) <http://www.wikidata.org/entity/Q1309> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P1269> +) <http://www.wikidata.org/entity/Q1309> . } ?var3 <http://www.wikidata.org/prop/direct/P921> ?var1 , ?var2 . FILTER ( ( ( <http://www.wikidata.org/entity/Q1309> != ?var1 ) && ( <http://www.wikidata.org/entity/Q1309> != ?var2 ) && ( ?var1 != ?var2 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_1134", "question": "Image of Gerard Sekoto with SNAC ARK ID w60x32j8", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w60x32j8\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with Gerard Sekoto's SNAC ARK ID w60x32j8?", "Show me the Wikimedia Commons image for the person whose SNAC ARK ID is w60x32j8."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w60x32j8\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_1135", "question": "What movie has the IMDb ID tt0201403?", "sparql": "SELECT ?movie WHERE { ?movie wdt:P345 \"tt0201403\" .}", "paraphrases": ["Which film is identified by the IMDb identifier tt0201403?", "Can you tell me the Wikidata item for the movie with IMDb ID tt0201403?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0201403\". }"}}
{"id": "test_1136", "question": "List all association football clubs.", "sparql": "SELECT ?club WHERE { ?club wdt:P31 wd:Q476028 . }", "paraphrases": ["What entities are classified as association football clubs in Wikidata?", "Show me all known football clubs."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q476028> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_1137", "question": "Does Wikidata contain an item with VIAF ID 103891611?", "sparql": "ASK WHERE { ?item wdt:P214 \"103891611\" . }", "paraphrases": ["Is there a Wikidata entity associated with the VIAF identifier 103891611?", "Check if the VIAF ID 103891611 is registered in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"103891611\". }"}}
{"id": "test_1138", "question": "Does Baruch Berliner have the VIAF ID 299396642?", "sparql": "ASK WHERE { wd:Q28799286 wdt:P214 \"299396642\" .}", "paraphrases": ["Is the Virtual International Authority File identifier for Baruch Berliner 299396642?", "Confirm that Baruch Berliner is linked to the VIAF cluster ID 299396642 in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"299396642\". }"}}
{"id": "test_1139", "question": "Which country did Angela Merkel serve as head of government?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?country WHERE {\n  ?country wdt:P6 wd:Q567 .\n}", "paraphrases": ["Who was Angela Merkel the head of government for?", "What nation had Angela Merkel as its chancellor?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P6> <http://www.wikidata.org/entity/Q567> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var2 ) LIMIT 10"}}
{"id": "test_1140", "question": "What are the names of notable cats listed on Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?cat ?catLabel WHERE {\n  ?cat wdt:P31 wd:Q146 .\n  ?cat rdfs:label ?catLabel .\n  FILTER(LANG(?catLabel) = \"en\")\n}", "paraphrases": ["Can you list the English names of all cats that are instances of house cats in Wikidata?", "Which real-life cats have entries on Wikidata with English names?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q146> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es\". } }"}}
{"id": "test_1141", "question": "What are the different types of risotto?", "sparql": "SELECT ?risottoVariety WHERE { ?risottoVariety wdt:P279 wd:Q208105 .}", "paraphrases": ["Which dishes are subclasses of risotto?", "List all varieties of risotto."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q208105> . }"}}
{"id": "test_1142", "question": "Players of the Notre Dame Fighting Irish football team and their jersey numbers or other qualifiers.", "sparql": "SELECT ?player ?statement ?statementProperty (SAMPLE(?qualifierValue) AS ?qualifierExample)\nWHERE {\n  {\n    SELECT DISTINCT ?player ?statement ?statementProperty WHERE {\n      ?statement ?p wd:Q16147495 .\n      ?player ?claim ?statement .\n      ?statementProperty wikibase:statementProperty ?p .\n      ?statementProperty wikibase:claim ?claim .\n      FILTER (?statementProperty != wd:P31)\n    }\n    LIMIT 101\n  }\n  OPTIONAL {\n    ?statement ?qualifierProperty ?qualifierValue .\n    ?qualifierProperty wikibase:qualifier true .\n  }\n}\nGROUP BY ?player ?statement ?statementProperty", "paraphrases": ["Who are the players associated with the Notre Dame Fighting Irish football team, and what qualifiers (like jersey number) are attached to their membership?", "List the players who have been part of the Notre Dame Fighting Irish football team, along with any additional details (like position or number) recorded as qualifiers on their membership statements."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q16147495> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_1143", "question": "List all archaeological artefacts in Wikidata.", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P31 wd:Q220659 } LIMIT 101", "paraphrases": ["What are some examples of archaeological artefacts documented in Wikidata?", "Show me up to 101 archaeological artefacts from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q220659> . } LIMIT 101"}}
{"id": "test_1144", "question": "What are the names of individual domestic cats listed in Wikidata?", "sparql": "SELECT ?var2Label WHERE { ?var2 wdt:P31 wd:Q146 . ?var2 rdfs:label ?var2Label . FILTER(LANG(?var2Label) = \"en\") }", "paraphrases": ["Can you list the English names of cats that are instances of the species Felis silvestris catus?", "Show me the labels of famous cats that are classified as house cats."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q146> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"vi,en\". } }"}}
{"id": "test_1145", "question": "Japanese labels of baseball teams", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?team ?label_ja WHERE {\n  ?team wdt:P31 wd:Q13027888 .\n  OPTIONAL {\n    ?team rdfs:label ?label_ja .\n    FILTER ( LANG( ?label_ja ) = \"ja\" )\n  }\n}\nLIMIT 100", "paraphrases": ["Which baseball teams have Japanese-language names on Wikidata?", "Show me up to 100 baseball teams and their Japanese labels, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13027888> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"ja\" ) ) ) . } } LIMIT 100"}}
{"id": "test_1146", "question": "Who are the presidents of the United States?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P39 wd:Q11696 .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = 'en')\n}", "paraphrases": ["Which individuals have held the office of President of the United States?", "List all U.S. presidents along with their names."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q5171416> <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q13423495> . }"}}
{"id": "test_1147", "question": "Image of the person with SNAC ARK ID w6gf11t6", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6gf11t6\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w6gf11t6?", "Show me the Wikimedia Commons image for the entity identified by the SNAC ARK ID w6gf11t6."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6gf11t6\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_1148", "question": "Does Wikidata contain an entity with VIAF ID 160170217?", "sparql": "ASK WHERE { ?person wdt:P214 \"160170217\" . }", "paraphrases": ["Is there a person in Wikidata who has the VIAF identifier 160170217?", "Please check if the VIAF ID 160170217 is linked to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"160170217\". }"}}
{"id": "test_1149", "question": "List of famous cats that are instances of house cats.", "sparql": "SELECT ?cat ?catLabel WHERE { ?cat wdt:P31 wd:Q146 . ?cat rdfs:label ?catLabel . FILTER(LANG(?catLabel) = \"en\") }", "paraphrases": ["Which famous cats are classified as house cats on Wikidata?", "Show me the names of all known individual cats (instances of house cats) with English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q146> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ko,kr\". } }"}}
{"id": "test_1150", "question": "Chinese alternative names for universities.", "sparql": "PREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?university ?altLabel WHERE {\n  ?university ( wdt:P31 / wdt:P279 * ) wd:Q3918 .\n  ?university skos:altLabel ?altLabel .\n  FILTER ( LANG( ?altLabel ) = \"zh\" )\n}", "paraphrases": ["What are the Chinese-language alternative names for universities and their subtypes?", "List all universities (including subtypes) and their Chinese alternative labels from Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3918> . ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"zh\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"zh\". } }"}}
{"id": "test_1151", "question": "Archaeology articles with multiple main topics", "sparql": "SELECT DISTINCT ?topic1 ?topic1Label ?topic2 ?topic2Label WHERE { ?item wdt:P921 ?topic1 ; wdt:P921 ?topic2 . FILTER (?topic1 != ?topic2) ?topic1 wdt:P279* wd:Q23498 . ?topic1 rdfs:label ?topic1Label . ?topic2 rdfs:label ?topic2Label . FILTER (LANG(?topic1Label) = \"en\") FILTER (LANG(?topic2Label) = \"en\")}", "paraphrases": ["What academic works have archaeology as one of their main subjects and another distinct topic?", "Show me pairs of topics that are both main subjects of the same academic work, where one of them is archaeology or a subfield of archaeology."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q8035362> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P361> +) <http://www.wikidata.org/entity/Q8035362> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P1269> +) <http://www.wikidata.org/entity/Q8035362> . } ?var3 <http://www.wikidata.org/prop/direct/P921> ?var1 , ?var2 . FILTER ( ( ( <http://www.wikidata.org/entity/Q8035362> != ?var1 ) && ( <http://www.wikidata.org/entity/Q8035362> != ?var2 ) && ( ?var1 != ?var2 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_1152", "question": "Airports and their alternative names or codes", "sparql": "SELECT DISTINCT ?airport ?altLabel WHERE { ?airport wdt:P31 wd:Q1248784 . ?airport skos:altLabel ?altLabel . } ORDER BY ?airport", "paraphrases": ["What are the alternative names (like IATA codes or local names) for all airports?", "Show me all airports along with their alternative labels, such as IATA codes and names in other languages."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1248784> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var4 . } OPTIONAL { ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,en,fr\". } } ORDER BY ASC( ?var5Label )"}}
{"id": "test_1153", "question": "What Wikidata item has the IMDb ID tt1068962?", "sparql": "SELECT ?item WHERE { ?item wdt:P345 \"tt1068962\" . }", "paraphrases": ["Which movie is identified by the IMDb identifier tt1068962?", "Find the Wikidata entity for the film with IMDb ID tt1068962."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1068962\". }"}}
{"id": "test_1154", "question": "Subclasses of mountain with images", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?subclass ?subclassLabel ?image WHERE {\n  ?subclass wdt:P279 wd:Q8502 .\n  OPTIONAL {\n    ?subclass wdt:P18 ?image .\n  }\n  ?subclass rdfs:label ?subclassLabel .\n}\nLIMIT 100", "paraphrases": ["What are the subclasses of mountain and what images are associated with them?", "List all subclasses of mountain along with their labels and any available images."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q17200001> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_1155", "question": "Subclasses of mountain", "sparql": "SELECT ?subclass ?subclassLabel ?mountain ?mountainLabel WHERE { ?subclass wdt:P279 wd:Q8502 . wd:Q8502 rdfs:label ?mountainLabel . ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\" && LANG(?mountainLabel) = \"en\") }", "paraphrases": ["What are some types of mountains, such as volcanoes or mesas?", "List all known subclasses of the class \"mountain\" and their names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { BIND ( <http://www.wikidata.org/entity/Q5295538> AS ?var2 ). ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 ; <http://www.wikidata.org/prop/direct/P279> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_1156", "question": "Airports in the aviation industry with their English names and IATA codes", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?airport ?airportLabel ?iataCode WHERE {\n  ?airport wdt:P31 wd:Q1248784 .\n  ?airport wdt:P452 wd:Q765633 .\n  OPTIONAL {\n    ?airport wdt:P238 ?iataCode .\n  }\n  ?airport rdfs:label ?airportLabel .\n  FILTER ( LANG( ?airportLabel ) = \"en\" )\n}", "paraphrases": ["What are the airports that belong to the aviation industry, and what are their English names and IATA codes?", "List the English names of airports in the aviation industry, along with their IATA codes if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1248784> . ?var1 <http://www.wikidata.org/prop/direct/P452> <http://www.wikidata.org/entity/Q1248784> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P238> ?var2 . } }"}}
{"id": "test_1157", "question": "Which property is most often used to link items to the taxon name property (P225)?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nSELECT ?property(COUNT(?property) AS ?count) WHERE {\n  ?item ?link wd:P225 .\n  ?property wikibase:directClaim ?link .\n  ?property rdf:type wikibase:Property .\n}\nGROUP BY ?property\nORDER BY DESC(?count)\nLIMIT 1", "paraphrases": ["What property has the highest number of connections to the taxon name property (P225) in Wikidata?", "Show me the property that is most frequently associated with the taxon name property (P225) via related property links."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/P225> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_1158", "question": "Rugby union teams with English labels", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?team ?teamLabel WHERE {\n  ?team wdt:P31 wd:Q14645593 .\n  ?team rdfs:label ?teamLabel .\n  FILTER ( LANG( ?teamLabel ) = \"en\" )\n}\nLIMIT 21", "paraphrases": ["What are the names of rugby union teams in English?", "List up to 21 rugby union teams and their English names from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q14645593> . } LIMIT 21 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1159", "question": "Karl Marx occupation and birthplace", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?occupationLabel ?birthplaceLabel WHERE {\n  wd:Q9061 wdt:P106 ?occupation ; wdt:P19 ?birthplace .\n  ?occupation rdfs:label ?occupationLabel .\n  ?birthplace rdfs:label ?birthplaceLabel .\n  FILTER ( LANG( ?occupationLabel ) = \"en\" ) FILTER ( LANG( ?birthplaceLabel ) = \"en\" )\n}", "paraphrases": ["What are Karl Marx's occupations and where was he born?", "Show me Karl Marx's professions and his place of birth."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q315996> <https://www.wikidata.org/wiki/Property:P106> <https://www.wikidata.org/wiki/Q1734662> ; <https://www.wikidata.org/wiki/Property:P19> <https://www.wikidata.org/wiki/Q727> . }"}}
{"id": "test_1160", "question": "What is the English label and description of the movie with IMDb ID tt0120737?", "sparql": "SELECT ?item ?label ?description WHERE { ?item wdt:P345 \"tt0120737\" . ?item rdfs:label ?label . FILTER (LANG(?label) = \"en\") OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Can you tell me the title and a brief description in English for the film identified by the IMDb code tt0120737?", "Which English-language title and description does Wikidata have for the 2001 film \"The Lord of the Rings: The Fellowship of the Ring\" based on its IMDb identifier?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0272565\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1161", "question": "List of association football players", "sparql": "SELECT ?player ?playerLabel WHERE { ?player wdt:P31 wd:Q937857 . ?player rdfs:label ?playerLabel . FILTER(LANG(?playerLabel) = \"en\") } LIMIT 20", "paraphrases": ["Who are some people classified as association football players on Wikidata?", "Show me the names of individuals who are instances of association football players, with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q937857> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru,en\". } } LIMIT 20"}}
{"id": "test_1162", "question": "What sports and events were part of the 2002 Winter Olympics, and what types of events are they?", "sparql": "SELECT ?event ?eventLabel ?type ?typeLabel WHERE { ?event wdt:P361 wd:Q9668 . OPTIONAL { ?event wdt:P31 ?type . } OPTIONAL { ?event rdfs:label ?eventLabel . FILTER(LANG(?eventLabel) = \"en\") } OPTIONAL { ?type rdfs:label ?typeLabel . FILTER(LANG(?typeLabel) = \"en\") } } LIMIT 100", "paraphrases": ["Can you list the disciplines and ceremonies included in the 2002 Winter Olympics along with their classifications?", "Which events took place during the 2002 Winter Olympics, and what kind of Olympic events are they categorized as?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja,en\". } ?var1 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q9668> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } } LIMIT 100"}}
{"id": "test_1163", "question": "Does the VIAF ID 173354644 exist in Wikidata?", "sparql": "ASK WHERE { ?item wdt:P214 \"173354644\" . }", "paraphrases": ["Is there a Wikidata item associated with the VIAF identifier 173354644?", "Confirm whether the Schiller house in Bauerbach is identified by the VIAF ID 173354644 in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"173354644\". }"}}
{"id": "test_1164", "question": "What are the different practices in silviculture, and which ones have images available?", "sparql": "SELECT ?subclass ?label ?image WHERE { ?subclass wdt:P279 wd:Q720362 . OPTIONAL { ?subclass wdt:P18 ?image . } ?subclass rdfs:label ?label . FILTER(LANG(?label) = \"en\") } LIMIT 100", "paraphrases": ["Show me the English names of forestry techniques that are subclasses of silviculture, along with their images if they exist.", "List all types of forest management practices derived from silviculture and include any associated Wikimedia Commons images."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q720362> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_1165", "question": "What is the most specific administrative category that both Chibok (Nigeria) and Texas (USA) belong to through their types?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?common ?dist1 ?dist2 ( ?dist1 + ?dist2 AS ?total ) WHERE {\n  {\n    SELECT ?common ( COUNT( ?mid ) AS ?dist1 ) WHERE {\n      wd:Q1639634 wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?common .\n      wd:Q35657 wdt:P279 * ?common .\n    }\n    GROUP BY ?common\n  }\n  {\n    SELECT ?common ( COUNT( ?mid ) AS ?dist2 ) WHERE {\n      wd:Q35657 wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?common .\n      wd:Q1639634 wdt:P279 * ?common .\n    }\n    GROUP BY ?common\n  }\n}\nORDER BY ASC ( ?total )\nLIMIT 1", "paraphrases": ["Which subclass is the closest common ancestor of a Nigerian local government area and a U.S. state in Wikidata\u2019s taxonomy?", "Find the entity in Wikidata\u2019s hierarchy that is a shared superclass of both Chibok and Texas, with the smallest total distance from each."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q5095348> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1439> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1166", "question": "What are the occupations of Karl Marx and where was he born?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?occupation ?birthPlace WHERE {\n  wd:Q9061 wdt:P106 ?occupation ; wdt:P19 ?birthPlace .\n}", "paraphrases": ["Can you tell me Karl Marx\u2019s profession(s) and his place of birth?", "What jobs did Karl Marx have, and in which city was he born?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q2849411> <https://www.wikidata.org/wiki/Property:P106> <https://www.wikidata.org/wiki/Q1028181> ; <https://www.wikidata.org/wiki/Property:P19> <https://www.wikidata.org/wiki/Q727> . }"}}
{"id": "test_1167", "question": "What are the airports in Montana and their geographic coordinates?", "sparql": "SELECT DISTINCT ?airport ?coordinates WHERE { ?airport wdt:P31 wd:Q1248784 ; wdt:P131 wd:Q1212 ; wdt:P625 ?coordinates .}", "paraphrases": ["Can you list all airports located in the U.S. state of Montana along with their latitude and longitude?", "Show me the locations (coordinates) of all airports in Montana."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1248784> ; ?var3 <http://www.wikidata.org/entity/montana> ; <http://www.wikidata.org/prop/direct/P625> ?var2 . }"}}
{"id": "test_1168", "question": "What are the parent categories of the class \"mountain\" in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?superclass ?superclassLabel WHERE {\n  wd:Q8502 wdt:P279 ?superclass .\n  ?superclass rdfs:label ?superclassLabel .\n  FILTER ( LANG( ?superclassLabel ) = \"en\" )\n}\nORDER BY ?superclassLabel", "paraphrases": ["What classes is a mountain a subclass of?", "Show the immediate superclasses of the geographical feature \"mountain\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q27133147> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"19\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> \"29\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_1169", "question": "What are the geographic features near Mount Everest, and do they have images or Wikimedia Commons categories?", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?location ?image ?commonsCategory WHERE {\n  ?item wdt:P625 ?location .\n  BIND( str( ?location ) AS ?strLoc ) .\n  BIND( strafter( strbefore( ?strLoc , \")\" ) , \"POINT(\" ) AS ?coords ) .\n  BIND( strbefore( ?coords , \" \" ) AS ?lon ) .\n  BIND( strafter( ?coords , \" \" ) AS ?lat ) .\n  FILTER ( xsd:float ( ?lon ) >= 86.9 && xsd:float ( ?lon ) <= 87.0 && xsd:float ( ?lat ) >= 27.9 && xsd:float ( ?lat ) <= 28.0 ) OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?item wdt:P373 ?commonsCategory .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}\nLIMIT 3000", "paraphrases": ["Show me landmarks in the Himalayas around 87\u00b0E and 28\u00b0N, along with their photos and Commons categories.", "List mountains and sites near Everest\u2019s coordinates, including any associated images and Wikimedia Commons categories."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(87 28)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(87 28)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_1170", "question": "Members of the 55th UK Parliament sorted by birth month.", "sparql": "SELECT DISTINCT ?person ?personLabel ?birthDate ?birthMonth WHERE { ?person wdt:P39 wd:Q35494253 . ?person wdt:P569 ?birthDate . BIND(MONTH(?birthDate) AS ?birthMonth) . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } ORDER BY ASC(?birthMonth)", "paraphrases": ["What are the birth months of members of the 55th Parliament of the United Kingdom, listed in chronological order?", "Show me the names and birth months of all MPs from the 55th UK Parliament, ordered by when in the year they were born."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { BIND ( MONTH ( ?var2 ) AS ?var3 ). ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q35494253> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var4 )"}}
{"id": "test_1171", "question": "What universities did Stuart McKie work for or study at, and what are their locations and images?", "sparql": "SELECT DISTINCT ?image ?university ?universityLabel ?coordinates ?propertyLabel WHERE { wd:Q47068522 ?directProperty ?university . ?university wdt:P31/wdt:P279* wd:Q3918 . FILTER NOT EXISTS { ?university wdt:P31/wdt:P279* wd:Q5 } . OPTIONAL { ?university wdt:P276 / wdt:P625 ?coordinates . } OPTIONAL { ?university p:P159 ?headquartersStmt . ?headquartersStmt pq:P625 ?coordinates . } OPTIONAL { ?university wdt:P18 ?image . } ?statementProperty wikibase:directClaim ?directProperty . ?statementProperty rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") ?university rdfs:label ?universityLabel . FILTER(LANG(?universityLabel) = \"en\") }", "paraphrases": ["Which universities are associated with Stuart McKie as an employer or educational institution, and what are their coordinates and official images?", "Show me the universities linked to Stuart McKie (either as places he worked or studied), along with their geographic coordinates and images from Wikimedia Commons."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ( ?var4Label AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q47068522> ?var6 ?var2 . ?var2 (( <http://www.wikidata.org/prop/P159> / <http://www.wikidata.org/prop/qualifier/P625> )|( <http://www.wikidata.org/prop/direct/P276> */ <http://www.wikidata.org/prop/direct/P625> )) ?var3 . ?var7 <http://wikiba.se/ontology#directClaim> ?var6 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,nl,no,ru,sv,zh\". } ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . }"}}
{"id": "test_1172", "question": "Who are the alumni of the Federal University of Rio de Janeiro?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel ?universityLabel WHERE {\n  ?person wdt:P69 wd:Q586904 .\n  ?person rdfs:label ?personLabel .\n  wd:Q586904 rdfs:label ?universityLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n  FILTER(LANG(?universityLabel) = \"en\")\n}", "paraphrases": ["Which people were educated at the Federal University of Rio de Janeiro, and what are their names?", "List the English-language names of all individuals who attended the Federal University of Rio de Janeiro."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P69> <http://www.wikidata.org/entity/Q586904> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1173", "question": "What are Karl Marx's occupations and where was he born?", "sparql": "SELECT ?occupation ?birthPlace WHERE { wd:Q9061 wdt:P106 ?occupation ; wdt:P19 ?birthPlace . }", "paraphrases": ["Was Karl Marx an economist and born in Trier?", "Can you list Karl Marx\u2019s professions and his place of birth?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q336908> <https://www.wikidata.org/wiki/Property:P106> <https://www.wikidata.org/wiki/Q1734662> ; <https://www.wikidata.org/wiki/Property:P19> <https://www.wikidata.org/wiki/Q727> . }"}}
{"id": "test_1174", "question": "What are the direct subclasses of educational institutions and fictional educational institutions?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?subclass WHERE {\n  VALUES(?parent) {(wd:Q2385804)(wd:Q15690029)\n  }\n  ?subclass wdt:P279 ?parent .\n}\nLIMIT 100", "paraphrases": ["Can you list all types of schools or educational entities that are directly classified under 'educational institution' or 'fictional educational institution'?", "Show me the categories of educational entities that are immediate children of 'educational institution' or 'fictional educational institution' in the Wikidata hierarchy."], "info": {"raw_sparql": "SELECT ?var1 WHERE { VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q2385804> ) ( <http://www.wikidata.org/entity/Q15690029> ) } ?var1 <http://www.wikidata.org/prop/direct/P279> * ?var2 . }"}}
{"id": "test_1175", "question": "What are all the broader categories that \"mountain\" belongs to, including itself?", "sparql": "SELECT DISTINCT ?var1 WHERE { wd:Q8502 wdt:P279* ?var1 . }", "paraphrases": ["List all the classes in the hierarchy above \"mountain\" in Wikidata.", "What is the complete superclass chain for the concept of a mountain?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q24439885> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_1176", "question": "UK Members of Parliament from Welsh constituencies born in non-country locations in the UK, with birthplace coordinates.", "sparql": "SELECT DISTINCT ?person ?personLabel ?birthplaceLabel ?coordinates WHERE { ?person p:P39 [ ps:P39 / wdt:P279 wd:Q16707842 ; pq:P768 ?constituency ] . ?constituency wdt:P131 wd:Q25 . ?person wdt:P19 ?birthplace . ?birthplace wdt:P625 ?coordinates . FILTER (NOT EXISTS { ?birthplace wdt:P31 wd:Q6256 }) OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } OPTIONAL { ?birthplace rdfs:label ?birthplaceLabel . FILTER(LANG(?birthplaceLabel) = \"en\") } }", "paraphrases": ["Which UK Members of Parliament were born in places like cities or towns in Wales, and what are the coordinates of their birthplaces?", "Show me the names and birthplace coordinates of all UK Members of Parliament who represented constituencies in Wales and were born in a specific location (not a country)."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/P39> [ ( <http://www.wikidata.org/prop/statement/P39> / <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q16707842> ; <http://www.wikidata.org/prop/qualifier/P768> ?var4 ; <http://www.wikidata.org/prop/qualifier/P2937> ?var5 ] . ?var4 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q25> . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P625> ?var3 . FILTER ( ( NOT EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1177", "question": "What is the most general class that both Hannah Arendt and Aroldis Chapman belong to through subclass relationships?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?ancestor ( SUM( ?dist ) AS ?totalDistance ) WHERE {\n  {\n    SELECT ?ancestor ( COUNT( ?mid ) AS ?dist ) WHERE {\n      wd:Q60025 wdt:P31 ?type1 .\n      ?type1 wdt:P279 * ?mid .\n      ?mid wdt:P279 * ?ancestor .\n    }\n    GROUP BY ?ancestor\n  } UNION {\n    SELECT ?ancestor ( COUNT( ?mid ) AS ?dist ) WHERE {\n      wd:Q1133513 wdt:P31 ?type2 .\n      ?type2 wdt:P279 * ?mid .\n      ?mid wdt:P279 * ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n}\nGROUP BY ?ancestor\nHAVING ( COUNT( * ) = 2 )\nORDER BY ASC ( ?totalDistance )\nLIMIT 1", "paraphrases": ["Which human category is closest to both Hannah Arendt and Aroldis Chapman in the Wikidata ontology, based on the shortest path through subclass hierarchies?", "Find the common ancestor class in the subclass hierarchy that minimizes the total distance from Hannah Arendt and Aroldis Chapman."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q60025> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1133513> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1178", "question": "Properties representing the concept of sport", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?propertyLabel WHERE {\n  ?property wdt:P1629 wd:Q349 .\n  ?property rdfs:label ?propertyLabel .\n  FILTER(LANG(?propertyLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Which properties in Wikidata are used to represent the concept of sport?", "Show me the English-labeled properties that are associated with the concept of sport in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,fr\". } ?var1 <http://www.wikidata.org/prop/direct/P1629> \"string1\". } LIMIT 100"}}
{"id": "test_1179", "question": "What are the Summer Olympic Games events and their years, in English?", "sparql": "SELECT ?event ?eventLabel ?typeLabel ?year WHERE { ?event wdt:P31 wd:Q159821 . ?event wdt:P585 ?date . BIND(YEAR(?date) AS ?year) . ?event rdfs:label ?eventLabel . FILTER(LANG(?eventLabel) = 'en') . wd:Q159821 rdfs:label ?typeLabel . FILTER(LANG(?typeLabel) = 'en') } ORDER BY ?year LIMIT 10", "paraphrases": ["List the English-labeled Summer Olympic Games along with the type name and the year they occurred.", "Show me the years and names of Summer Olympic Games events, with their event type labeled in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label ?var2Label WHERE { BIND ( STRBEFORE ( ?var1Label , \" en sport\" ) AS ?var3 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q18340514> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"fr\" ) ) ) . FILTER ( ( REGEX ( ?var1Label , \"string1\" ) ) ) . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q14795564> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"fr\" ) ) ) . FILTER ( ( REGEX ( ?var2Label , \"string2\" ) ) ) . FILTER ( ( REGEX ( ?var2Label , ?var3 ) ) ) . } LIMIT 10"}}
{"id": "test_1180", "question": "Does Albert Einstein have the VIAF ID 75121530?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P214 \"75121530\" .\n}", "paraphrases": ["Is the Virtual International Authority File identifier for Albert Einstein 75121530?", "Confirm if the VIAF ID 75121530 corresponds to Albert Einstein."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"103872800\". }"}}
{"id": "test_1181", "question": "How many food items contain carbohydrates as a component?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ( COUNT( ?foodItem ) AS ?count ) WHERE {\n  ?foodItem wdt:P2670 wd:Q11358 .\n}", "paraphrases": ["How many entities are classified as having carbohydrate as a part?", "Count the number of food items that include carbohydrates among their nutritional components."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2670> <http://www.wikidata.org/entity/Q11358> . }"}}
{"id": "test_1182", "question": "Football players with English labels and alternative names", "sparql": "SELECT ?player ?label ?altLabel WHERE { ?player wdt:P31 wd:Q937857 ; rdfs:label ?label . FILTER (LANG(?label) = \"en\") OPTIONAL { ?player skos:altLabel ?altLabel . FILTER (LANG(?altLabel) = \"en\") } }", "paraphrases": ["Who are the association football players that have English labels, and what are their alternative names?", "List all football players in Wikidata with their English names and any alternative English names they might have."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13219666> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var7 . FILTER ( ( ( LANG ( ?var7 ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> ?var8 . FILTER ( ( ( LANG ( ?var8 ) = \"en\" ) ) ) . } BIND ( \"106\" AS ?var2 ). BIND ( \"937857\" AS ?var3 ). BIND ( \"string1\" AS ?var4 ). BIND ( \"en\" AS ?var5 ). BIND ( \"football\" AS ?var6 ). BIND ( \"20170718\" AS ?var9 ). BIND ( \"--------\" AS ?var10 ). }"}}
{"id": "test_1183", "question": "Does Wikidata contain an entity with VIAF ID 91957751?", "sparql": "ASK WHERE { ?person wdt:P214 \"91957751\" . }", "paraphrases": ["Is there a person in Wikidata identified by the VIAF ID 91957751?", "Check if the Virtual International Authority File identifier 91957751 is assigned to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"91957751\". }"}}
{"id": "test_1184", "question": "Chess composers with Swedish Wikipedia pages", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?chessComposer ?label WHERE {\n  ?chessComposer wdt:P106 wd:Q2627699 .\n  ?wikipediaPage schema:about ?chessComposer ; schema:isPartOf <https://sv.wikipedia.org/> .\n  ?chessComposer rdfs:label ?label .\n  FILTER(LANG(?label) = \"sv\")\n}", "paraphrases": ["Who are the chess composers that have a page on the Swedish Wikipedia, and what are their names in Swedish?", "List the names in Swedish of all chess composers who have a Wikipedia page in Swedish."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q2627699> . ?var2 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://sv.wikipedia.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv,en\". } }"}}
{"id": "test_1185", "question": "VIAF ID of Marcel Detienne", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?viafId WHERE {\n  wd:Q1245071 wdt:P214 ?viafId .\n}", "paraphrases": ["What is the Virtual International Authority File (VIAF) identifier for Marcel Detienne?", "Can you provide the VIAF ID for the Belgian historian Marcel Detienne?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q1245071> <http://www.wikidata.org/prop/direct/P214> ?var1 . } LIMIT 1"}}
{"id": "test_1186", "question": "What are the categories that yoga is classified under?", "sparql": "SELECT ?superclass ?superclassLabel WHERE { wd:Q9350 wdt:P279 ?superclass . ?superclass rdfs:label ?superclassLabel . FILTER(LANG(?superclassLabel) = 'en') }", "paraphrases": ["What are the parent classes of yoga in Wikidata?", "Which broader concepts include yoga as a subclass?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { <http://www.wikidata.org/entity/Q9350> <http://www.wikidata.org/prop/direct/P1647> * ?var1 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P1647> * <http://www.wikidata.org/entity/Q9350> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1647> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1187", "question": "List of food items in English", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P31/wdt:P279* wd:Q2095 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") FILTER(STRSTARTS(STR(?item), \"http://www.wikidata.org/entity/Q\")) }", "paraphrases": ["What are some examples of food items that have English labels in Wikidata?", "Show me all food-related entities in Wikidata with their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/statement/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q2095> . }"}}
{"id": "test_1188", "question": "Politicians who studied at University College London", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P106 wd:Q82955 .\n  ?person wdt:P69 wd:Q193196 .\n  ?person rdfs:label ?personLabel .\n  FILTER ( langMatches( lang( ?personLabel ) , \"en\" ) )\n}", "paraphrases": ["Who are the politicians that attended University College London?", "List the names of all people whose occupation is politician and who were educated at University College London."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82955> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P69> <http://www.wikidata.org/entity/Q193196> . }"}}
{"id": "test_1189", "question": "Is there a Wikidata item with VIAF ID 296956120?", "sparql": "ASK WHERE { ?item wdt:P214 \"296956120\" . }", "paraphrases": ["Does the Virtual International Authority File identifier 296956120 correspond to any entity in Wikidata?", "Check if the VIAF ID 296956120 exists in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"296956120\". }"}}
{"id": "test_1190", "question": "What geographic entities (country, administrative regions, continent) is Stella Maris College located in?", "sparql": "SELECT DISTINCT ?location WHERE { { wd:Q7607090 wdt:P17 ?location } UNION { wd:Q7607090 wdt:P131 ?location } UNION { wd:Q7607090 wdt:P131 ?admin . ?admin wdt:P131 ?location } UNION { wd:Q7607090 wdt:P17 ?country . ?country wdt:P30 ?location } }", "paraphrases": ["Which countries, administrative areas, and continents include Stella Maris College?", "List all the geographic locations that Stella Maris College belongs to, from city to continent."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q7607090> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_1191", "question": "What is Edie Inksetter\u2019s place of birth, occupation, and country of citizenship?", "sparql": "SELECT ?placeOfBirth ?occupation ?citizenship WHERE { wd:Q42418312 wdt:P19 ?placeOfBirth ; wdt:P106 ?occupation ; wdt:P27 ?citizenship . }", "paraphrases": ["Can you tell me where Edie Inksetter was born, what she does for a living, and which country she is a citizen of?", "What biographical details are available for Edie Inksetter, such as her birthplace, profession, and nationality?"], "info": {"raw_sparql": "SELECT * WHERE { BIND ( YEAR ( ?var1 ) AS ?var2 ). <http://www.wikidata.org/entity/Q42418312> <http://www.wikidata.org/prop/direct/P569> ?var1 . } LIMIT 1000"}}
{"id": "test_1192", "question": "Types of meals in English", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?mealType ?mealTypeLabel WHERE {\n  ?mealType wdt:P279 * wd:Q6460735 ; rdfs:label ?mealTypeLabel .\n  FILTER ( LANG( ?mealTypeLabel ) = \"en\" )\n}", "paraphrases": ["What are some examples of meals and meal types in English?", "List all subclasses of meal with their English labels."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q6460735> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . }"}}
{"id": "test_1193", "question": "What film has the IMDb ID tt2568786?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P345 \"tt2568786\" .\n}", "paraphrases": ["Which movie on Wikidata is associated with the IMDb identifier tt2568786?", "Find the Wikidata item for the film with IMDb ID tt2568786."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2568786\". }"}}
{"id": "test_1194", "question": "English names of educational institutions", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?itemLabel WHERE {\n  ?item wdt:P31 / wdt:P279 * wd:Q2385804 .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}\nLIMIT 10", "paraphrases": ["What are some educational institutions in English?", "Can you list the English labels of schools and other educational institutions?"], "info": {"raw_sparql": "SELECT ?var1Label WHERE { <http://www.wikidata.org/entity/Q7348313> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q2385804> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( \"en\" = LANG ( ?var1Label ) ) ) ) . }"}}
{"id": "test_1195", "question": "MPs in the UK 55th Parliament on January 2, 2013", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?person ?personLabel ?constituency ?constituencyLabel WHERE {\n  ?person p:P39 ?statement .\n  ?statement ps:P39 wd:Q35494253 ; pq:P580 ?startDate .\n  OPTIONAL {\n    ?statement pq:P582 ?endDate .\n  }\n  FILTER(?startDate <= \"2013-01-02T00:00:00Z\" ^^ xsd:dateTime)\n  FILTER(NOT EXISTS {\n    ?statement pq:P582 ?endDate2 ;\n    FILTER(?endDate2 < \"2013-01-02T00:00:00Z\" ^^ xsd:dateTime)\n  })\n  OPTIONAL {\n    ?statement pq:P768 ?constituency .\n    ?constituency rdfs:label ?constituencyLabel .\n    FILTER(LANG(?constituencyLabel) = \"en\")\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}", "paraphrases": ["Who were the members of the UK Parliament representing constituencies on January 2, 2013?", "List all Members of Parliament who were in office on January 2, 2013, along with their constituencies."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var3Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/P39> [ <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q35494253> ; ( <http://www.wikidata.org/prop/qualifier/P580> | <http://www.wikidata.org/prop/qualifier/P582> ) ?var1 ; <http://www.wikidata.org/prop/qualifier/P768> ?var3 ] . } } FILTER ( ( ( ?var1 = \"2013-01-02T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . ?var2 <http://www.wikidata.org/prop/P39> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q35494253> . ?var5 <http://www.wikidata.org/prop/qualifier/P580> ?var6 . FILTER ( ( ( ?var6 < ?var1 ) ) ) . OPTIONAL { ?var5 <http://www.wikidata.org/prop/qualifier/P582> ?var7 . } FILTER ( ( !( BOUND ( ?var7 ) ) || ( ?var7 >= ?var1 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1196", "question": "Female alumni of the University of Edinburgh with their birthplaces, birth dates, and images.", "sparql": "SELECT ?person ?personLabel ?birthPlaceLabel ?birthPlaceCoordinates ?dateOfBirth ?image WHERE { ?person wdt:P69 wd:Q160302 . ?person wdt:P21 wd:Q6581072 . ?person wdt:P19 ?birthPlace . ?birthPlace wdt:P625 ?birthPlaceCoordinates . ?person wdt:P569 ?dateOfBirth . ?person wdt:P18 ?image . OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } OPTIONAL { ?birthPlace rdfs:label ?birthPlaceLabel . FILTER(LANG(?birthPlaceLabel) = \"en\") } }", "paraphrases": ["Who are the female graduates of the University of Edinburgh, where were they born, when were they born, and what do they look like?", "List all female alumni of the University of Edinburgh, including their English names, places of birth (with coordinates), dates of birth, and associated images from Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P69> <http://www.wikidata.org/entity/Q160302> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P625> ?var3 . { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . } ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1197", "question": "Is there a Wikidata item for the movie with IMDb ID tt0429900?", "sparql": "ASK WHERE { ?item wdt:P345 \"tt0429900\" . }", "paraphrases": ["Does the IMDb ID tt0429900 correspond to a known entity in Wikidata?", "Check if the IMDb identifier tt0429900 is registered in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0429900\". }"}}
{"id": "test_1198", "question": "Does the movie with IMDb ID tt0064916 exist in Wikidata?", "sparql": "ASK WHERE { ?item wdt:P345 \"tt0064916\" . }", "paraphrases": ["Is there an entity in Wikidata associated with the IMDb identifier tt0064916?", "Confirm if tt0064916 is a valid IMDb ID in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0064916\". }"}}
{"id": "test_1199", "question": "Sports practiced in each country, along with the country name.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?regionLabel WHERE {\n  ?item wdt:P31 wd:Q29791211 .\n  ?item wdt:P17 ?region .\n  ?item rdfs:label ?itemLabel .\n  ?region rdfs:label ?regionLabel .\n  FILTER ( LANG( ?regionLabel ) = \"en\" )\n}", "paraphrases": ["What sports are played in which countries, and what are the local names for these sports?", "List all instances of sports in geographic regions and the countries they are associated with."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q29791211> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1200", "question": "Which Wikidata items have Twitter usernames 'petersuber' or 'OKFN', ordered by number of Wikipedia links?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?item ?twitterUsername WHERE {\n  ?item wdt:P2002 ?twitterUsername .\n  VALUES ?twitterUsername {\n    \"petersuber\" \"OKFN\"\n  }\n}\nORDER BY ASC(wikibase:sitelinks)", "paraphrases": ["Who are the people or organizations on Wikidata with Twitter usernames 'petersuber' or 'OKFN', and which one has fewer sitelinks?", "List the Wikidata items for the Twitter accounts 'petersuber' and 'OKFN', sorted by the number of language versions of their Wikipedia pages in ascending order."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"AnomieGeog\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"womensart1\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"VdAarchiv\" ) ( \"string11\" ) ( \"HistSciArt\" ) ( \"Wikidata\" ) ( \"SkrivaFel\" ) ( \"string12\" ) ( \"MSF\" ) ( \"OKFN\" ) ( \"string13\" ) ( \"TheGovLab\" ) ( \"string14\" ) ( \"string15\" ) ( \"EvoMRI\" ) ( \"string16\" ) ( \"string17\" ) ( \"string18\" ) ( \"string19\" ) ( \"string20\" ) ( \"string21\" ) ( \"string22\" ) ( \"a9ri\" ) ( \"string23\" ) ( \"qaismah\" ) ( \"petersuber\" ) ( \"bobvulfov\" ) ( \"m_m_myers\" ) ( \"string24\" ) ( \"string25\" ) ( \"string26\" ) ( \"HWarlow\" ) ( \"string27\" ) ( \"mydarkstar\" ) ( \"string28\" ) ( \"string29\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_1201", "question": "Places with population close to Apeldoorn (within 1000 people), including their coordinates and names.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?place ?placeLabel ?coordinates ?population WHERE {\n  wd:Q101918 wdt:P1082 ?apeldoornPopulation .\n  ?place wdt:P1082 ?population .\n  ?place wdt:P625 ?coordinates .\n  ?place rdfs:label ?placeLabel .\n  FILTER(ABS(?apeldoornPopulation - ?population) < 1000)\n}\nLIMIT 100", "paraphrases": ["Which cities or towns have a population within 1000 of Apeldoorn\u2019s population, and what are their geographic coordinates?", "Show me up to 100 places that have a population nearly equal to Apeldoorn\u2019s (\u00b11000), along with their names and coordinates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { <http://www.wikidata.org/entity/Q101918> <http://www.wikidata.org/prop/direct/P1082> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl\". } FILTER ( ( ( ABS ( ( ?var4 - ?var3 ) ) < \"1000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } LIMIT 100"}}
{"id": "test_1202", "question": "Is there a Wikidata item with VIAF ID 60025027?", "sparql": "ASK WHERE { ?item wdt:P214 \"60025027\" . }", "paraphrases": ["Does the person with VIAF identifier 60025027 have a record in Wikidata?", "Confirm if the Virtual International Authority File ID 60025027 is linked to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"60025027\". }"}}
{"id": "test_1203", "question": "Who has VIAF ID 15222860 in Wikidata?", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P214 \"15222860\" . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["What is the name of the person associated with the VIAF identifier 15222860?", "Tell me the Wikidata entry for the VIAF ID 15222860."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"15222860\". }"}}
{"id": "test_1204", "question": "What Wikidata item is linked to the Spanish Wikipedia page titled \"Deporte\"?", "sparql": "SELECT ?item ?property ?value WHERE { ?wikipediaPage schema:name \"Deporte\"@es ; schema:about ?item . ?item ?property ?value . }", "paraphrases": ["Which sports entity on Wikidata corresponds to the Spanish Wikipedia article \"Deporte\"?", "Show me all properties of the Wikidata item that the Spanish Wikipedia page \"Deporte\" refers to."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ?var2Label \"Deporte\"@es . ?var1 ?var3 ?var4 . }"}}
{"id": "test_1205", "question": "What is the gender of Wolfgang Amadeus Mozart?", "sparql": "SELECT ?genderLabel WHERE { wd:Q254 wdt:P21 ?gender . ?gender rdfs:label ?genderLabel . FILTER(LANG(?genderLabel) = \"en\") }", "paraphrases": ["Is Wolfgang Amadeus Mozart male or female?", "What label corresponds to the sex or gender of the composer Wolfgang Amadeus Mozart?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q254> <http://www.wikidata.org/prop/direct/P21> ?var2 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> \"female\"^^<http://www.w3.org/2001/XMLSchema#string> . }"}}
{"id": "test_1206", "question": "Who are the people who have served as United States Ambassador to Slovenia?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?human WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human wdt:P39 ?position .\n  ?position wdt:P279 * wd:Q917559 .\n}\nLIMIT 500", "paraphrases": ["List all humans who have held a position that is a subclass of the United States Ambassador to Slovenia.", "Which individuals have held the diplomatic post of U.S. Ambassador to Slovenia?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P39> ?var2 . ?var2 ( <http://www.wikidata.org/prop/direct/P279> | <http://www.wikidata.org/prop/direct/P131> )* <http://www.wikidata.org/entity/Q917559> . } LIMIT 500"}}
{"id": "test_1207", "question": "What is the Wikidata item for the movie with IMDb ID tt0468569?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P345 \"tt0468569\" .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["Can you find the English label of the film identified by the IMDb ID tt0468569?", "Which movie in Wikidata has the IMDb identifier tt0468569?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt454876\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_1208", "question": "Who were the members of the 57th UK Parliament (2017\u20132019), and which parties did they belong to?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person ?personLabel ?parliamentaryGroup ?startDate ?endDate ?election ?seriesOrdinal WHERE {\n  ?statement ps:P39 wd:Q30524710 .\n  ?statement pq:P2937 wd:Q29974940 .\n  ?person wdt:P31 wd:Q5 ; p:P39 ?statement .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n  OPTIONAL {\n    ?statement pq:P4100 ?parliamentaryGroup .\n  }\n  OPTIONAL {\n    ?statement pq:P580 ?startDate .\n  }\n  OPTIONAL {\n    ?statement pq:P582 ?endDate .\n  }\n  OPTIONAL {\n    ?statement pq:P2715 ?election .\n  }\n  OPTIONAL {\n    ?statement pq:P1545 ?seriesOrdinal .\n  }\n}\nORDER BY DESC(?startDate)", "paraphrases": ["What were the start and end dates of each MP\u2019s term in the 57th UK Parliament, and in which election were they elected?", "List all members of the 57th Parliament of the United Kingdom with their parliamentary group, term start and end dates, and election details, sorted by start date."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var4Label ?var5 ?var5Label ?var6 ?var7 ?var8 ?var9 WHERE { ?var3 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q30524710> . ?var3 <http://www.wikidata.org/prop/qualifier/P2937> <http://www.wikidata.org/entity/Q29974940> . ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/P39> ?var3 . ?var4 <http://schema.org/version> ?var1 . ?var3 <http://www.wikidata.org/prop/qualifier/P4100> ?var5 . OPTIONAL { ?var3 <http://www.wikidata.org/prop/qualifier/P580> ?var6 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/qualifier/P582> ?var7 . } OPTIONAL { ?var3 ( <http://www.wikidata.org/prop/qualifier/P1365> | <http://www.wikidata.org/prop/qualifier/P155> ) ?var8 . } OPTIONAL { ?var3 ( <http://www.wikidata.org/prop/qualifier/P1366> | <http://www.wikidata.org/prop/qualifier/P156> ) ?var9 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/qualifier/P2715> ?var10 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/qualifier/P1545> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var6 )"}}
{"id": "test_1209", "question": "How many universities are listed in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT(COUNT(?university) AS ?count) WHERE {\n  ?university wdt:P31 wd:Q3918 .\n}", "paraphrases": ["What is the total number of institutions classified as universities in Wikidata?", "Count all entities that are instances of the class \"university\"."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13371> . }"}}
{"id": "test_1210", "question": "Entities named after Mount Everest", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?entity ?statement(SAMPLE(?qualifierProperty) AS ?qualifier) WHERE {\n  {\n    SELECT DISTINCT ?entity ?statement WHERE {\n      ?statement ps:P138 wd:Q513 .\n      ?entity p:P138 ?statement .\n    }\n    LIMIT 101\n  }\n  OPTIONAL {\n    ?statement ?qualifierProperty ?qualifierValue .\n    ?qualifierProperty wikibase:qualifier true .\n  }\n}\nGROUP BY ?entity ?statement", "paraphrases": ["What entities are named after Mount Everest, and what qualifiers are used on those naming statements?", "List all entities that have been named after Mount Everest, along with any additional details (qualifiers) provided in their naming statements."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P138> <http://www.wikidata.org/entity/Q271669> . ?var1 <http://www.wikidata.org/prop/P138> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_1211", "question": "What are the names of the municipalities in the Hegyh\u00e1t District of Hungary?", "sparql": "SELECT ?municipality ?municipalityLabel WHERE { ?municipality wdt:P31 wd:Q2590631 . ?municipality wdt:P131 wd:Q3031288 . ?municipality rdfs:label ?municipalityLabel . FILTER(LANG(?municipalityLabel) = \"hu\") } LIMIT 100", "paraphrases": ["List the Hungarian municipalities located within Hegyh\u00e1t District.", "Which settlements in Hungary are classified as municipalities and fall under the administrative area of Hegyh\u00e1t District?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2590631> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q3031288> . } LIMIT 100"}}
{"id": "test_1212", "question": "Wikimedia list articles for all ambassador positions and their subclasses.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ambassadorPosition ?listArticle WHERE {\n  VALUES ?ambassadorClass {\n    wd:Q121998\n  }\n  ?ambassadorPosition ( wdt:P31 / wdt:P279 * ) ?ambassadorClass .\n  ?ambassadorPosition wdt:P2354 ?listArticle .\n}", "paraphrases": ["What are the Wikimedia list articles associated with ambassador roles and their subtypes?", "Show me all ambassador-related diplomatic positions (including specific postings like \u201cAmbassador to X\u201d) and the corresponding Wikipedia list articles that document them."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q121998> ) } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P2354> ?var2 . }"}}
{"id": "test_1213", "question": "Universities with their country and coordinates, sorted by country name.", "sparql": "SELECT DISTINCT ?university ?countryCommonsCategory ?coordinates WHERE { ?university wdt:P31 wd:Q3918 . ?university wdt:P17 ?country . ?country wdt:P373 ?countryCommonsCategory . ?university wdt:P625 ?coordinates . } ORDER BY ASC(?countryCommonsCategory) LIMIT 100", "paraphrases": ["What are the universities around the world, along with the country they are in and their coordinates, listed in alphabetical order by country?", "Show me a list of universities, including the name of their country (as used in Wikimedia Commons) and their geographic coordinates, ordered by country name."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3918> . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P373> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var5 . } ORDER BY ASC( ?var2 ) LIMIT 100"}}
{"id": "test_1214", "question": "What are the Wikidata IDs of all subclasses of musician?", "sparql": "SELECT ?subclassId WHERE { ?subclass wdt:P279 wd:Q639669 . BIND( REPLACE( STR(?subclass), \"http://www.wikidata.org/entity/\", \"\" ) AS ?subclassId ) }", "paraphrases": ["List all specific types of musicians (like guitarist or singer) as their Wikidata identifiers.", "Can you show me the Q-numbers for all subcategories of musical artists?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { BIND ( REPLACE ( STR ( ?var2 ) , \"string1\", \"wd\", \"i\" ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/statement/P279> <http://www.wikidata.org/entity/Q639669> . }"}}
{"id": "test_1215", "question": "What are the capes located in Florida?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?cape ?capeLabel WHERE {\n  ?cape wdt:P31 wd:Q185113 .\n  {\n    ?cape wdt:P131 wd:Q812 .\n  } UNION {\n    ?cape wdt:P131 ?county .\n    ?county wdt:P131 wd:Q812 .\n  }\n  ?cape rdfs:label ?capeLabel .\n  FILTER(LANG(?capeLabel) = \"en\")\n}\nORDER BY ?capeLabel", "paraphrases": ["List all capes in Florida, including those in its counties.", "Which geographical features classified as capes are found within the state of Florida?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q812> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q193401> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1216", "question": "Female alumni of the University of Melbourne", "sparql": "SELECT ?person ?label WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P21 wd:Q6581072 . ?person wdt:P69 wd:Q319078 . ?person rdfs:label ?label . FILTER(LANG(?label) = \"en\") } LIMIT 100", "paraphrases": ["Who are the women who studied at the University of Melbourne?", "List the names of all female humans who attended the University of Melbourne."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P69> <http://www.wikidata.org/entity/Q319078> . } LIMIT 100"}}
{"id": "test_1217", "question": "What are some examples of artistic performances?", "sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 wdt:P31 wd:Q35140 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") } LIMIT 21", "paraphrases": ["Can you list 21 performances and their titles in English?", "Which events are classified as performances on Wikidata, and what are their English names?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q35140> . } LIMIT 21 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1218", "question": "What collections and digital libraries are associated with the National Library of Wales?", "sparql": "SELECT ?collection ?collectionLabel WHERE { { ?collection wdt:P276 wd:Q666063 ; wdt:P31 wd:Q2668072 . } UNION { ?collection wdt:P137 wd:Q666063 ; wdt:P31 wd:Q212805 . } FILTER(EXISTS { ?collection rdfs:label ?collectionLabel . FILTER(LANG(?collectionLabel) = \"en\") }) } ORDER BY ?collectionLabel", "paraphrases": ["Can you list the English-labeled collections and digital libraries operated by or located at the National Library of Wales?", "Show me the names of all digital repositories and physical collections linked to the National Library of Wales."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P276> <http://www.wikidata.org/entity/Q666063> ; ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q2668072> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P137> <http://www.wikidata.org/entity/Q666063> ; ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q212805> . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P361> ?var1 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P1343> ?var1 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1219", "question": "Items in the National Library of Wales collection, ordered by how well-documented they are, with their creation date, type, and image.", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX schema: <http://schema.org/>\nPREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ( SAMPLE( ?inceptionDate ) AS ?inception ) ( SAMPLE( ?precision ) AS ?precisionValue ) ( SAMPLE( ?typeLabel ) AS ?instanceType ) ( SAMPLE( ?image ) AS ?imageUrl ) ( COUNT( ?statement ) AS ?statementCount ) WHERE {\n  ?item wdt:P195 wd:Q666063 .\n  ?item p:P571 ?inceptionStatement .\n  ?inceptionStatement psv:P571 ?inceptionNode .\n  ?inceptionNode wikibase:timeValue ?inceptionDate ; wikibase:timePrecision ?precision .\n  OPTIONAL {\n    ?item wdt:P31 ?type .\n    ?type rdfs:label ?typeLabel .\n    FILTER ( LANG( ?typeLabel ) = 'en' )\n  }\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?statement schema:about ?item .\n  }\n}\nGROUP BY ?item ?itemLabel\nORDER BY DESC ( ?statementCount )", "paraphrases": ["What are the most extensively documented items in the National Library of Wales collection, and what are their creation dates, types, and associated images?", "Show me the items from the National Library of Wales collection, sorted by the number of associated statements, including their inception year, type in English, and image if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( SAMPLE ( ?var2 ) AS ?var2 )( SAMPLE ( ?var3 ) AS ?var3 )( SAMPLE ( ?var4Label ) AS ?var4 )( SAMPLE ( ?var5 ) AS ?var5 )( COUNT ( ?var6 ) AS ?var7 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P195> <http://www.wikidata.org/entity/Q666063> . ?var1 <http://www.wikidata.org/prop/P571> ?var8 . ?var8 <http://www.wikidata.org/prop/statement/value/P571> ?var9 . ?var9 <http://wikiba.se/ontology#timeValue> ?var2 . ?var9 <http://wikiba.se/ontology#timePrecision> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var10 . ?var10 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } OPTIONAL { ?var6 <http://schema.org/about> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var7 )"}}
{"id": "test_1220", "question": "Does the VIAF ID 44857019 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P214 \"44857019\" .\n}", "paraphrases": ["Is there a person or entity in Wikidata with the VIAF identifier 44857019?", "Check if the Virtual International Authority File ID 44857019 is registered in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"44857019\". }"}}
{"id": "test_1221", "question": "English label, description, and image of the insect genus \"Creator\".", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?description ?image WHERE {\n  OPTIONAL {\n    wd:Q18105270 rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n  OPTIONAL {\n    wd:Q18105270 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q18105270 schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["What is the English label and description of the insect genus Creator, and is there an associated image?", "Show me the English name and description of the insect genus Creator, along with its image from Wikimedia Commons, if available."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q18105270> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q18105270> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q18105270> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_1222", "question": "Theatrical works premiered in 1878 with English titles and descriptions.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?work ?label ?description WHERE {\n  ?work wdt:P1191 ?date .\n  FILTER(YEAR(?date) = 1878)\n  OPTIONAL {\n    ?work rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n  OPTIONAL {\n    ?work schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}\nLIMIT 10", "paraphrases": ["Which plays or musical works had their first performance in 1878, and what are their English titles and descriptions?", "Show me the English titles and descriptions of theatrical works that premiered in 1878."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1219> \"1878\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1223", "question": "People with a body weight of 75 kg", "sparql": "SELECT DISTINCT ?item ?mass ?label WHERE { ?item wdt:P2067 ?mass . OPTIONAL { ?item rdfs:label ?label . } FILTER ( ?mass > 74.0 && ?mass < 76.0 ) FILTER ( LANG(?label) = \"en\" ) } LIMIT 190", "paraphrases": ["Who are the people whose body mass is between 74 and 76 kilograms?", "List the English names of humans with a mass close to 75 kg."], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2067> ?var2 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . } FILTER ( ( ( ?var2 > \"74.0\"^^<http://www.w3.org/2001/XMLSchema#float> ) && ( ?var2 < \"76.0\"^^<http://www.w3.org/2001/XMLSchema#float> ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . } LIMIT 190"}}
{"id": "test_1224", "question": "Who are some people educated at the University of Edinburgh?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person ?universityLabel WHERE {\n  ?person wdt:P69 wd:Q160302 .\n  wd:Q160302 rdfs:label ?universityLabel .\n  FILTER(LANG(?universityLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Can you list individuals who attended the University of Edinburgh, along with the university's name?", "Which alumni are associated with the University of Edinburgh?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P69> <http://www.wikidata.org/entity/Q160302> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_1225", "question": "People archived at the Computer History Museum with their images and Erd\u0151s numbers.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?image ?erdosNumber WHERE {\n  ?person wdt:P485 wd:Q964035 .\n  ?person wdt:P18 ?image .\n  ?person wdt:P2021 ?erdosNumber .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}", "paraphrases": ["Who are the people whose archives are held by the Computer History Museum, and what are their Erd\u0151s numbers and images?", "Show me the names, photos, and Erd\u0151s numbers of computer scientists whose archives are at the Computer History Museum."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P485> <http://www.wikidata.org/entity/Q964035> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P2021> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1226", "question": "Wikipedia pages about Raiders of the Lost Ark", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?filmTitle ?wikipediaPage WHERE {\n  wd:Q174284 wdt:P1476 ?filmTitle .\n  ?wikipediaPage schema:about wd:Q174284 .\n  FILTER(isIRI(?wikipediaPage))\n  FILTER(STRSTARTS(STR(?wikipediaPage) , \"http\"))\n}", "paraphrases": ["On which Wikipedia language editions can I find the article about Raiders of the Lost Ark?", "List all the Wikipedia and wiki project pages that are about the movie Raiders of the Lost Ark."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { BIND ( <http://www.wikidata.org/entity/Q174284> AS ?var1 ). ?var2 <http://schema.org/about> ?var1 . OPTIONAL { ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } OPTIONAL { ?var2 <http://schema.org/isPartOf> <https://fr.wikipedia.org/> . } }"}}
{"id": "test_1227", "question": "Where did Chris Dyer study, when did he graduate, and what degree did he earn?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?institution ?institutionLabel ?start ?end ?degreeLabel WHERE {\n  wd:Q47462772 p:P69 ?statement .\n  ?statement ps:P69 ?institution .\n  ?institution rdfs:label ?institutionLabel .\n  FILTER ( LANG( ?institutionLabel ) = \"en\" ) OPTIONAL {\n    ?statement pq:P580 ?start .\n  }\n  OPTIONAL {\n    ?statement pq:P582 ?end .\n  }\n  OPTIONAL {\n    ?statement pq:P512 ?degree .\n    ?degree rdfs:label ?degreeLabel .\n    FILTER ( LANG( ?degreeLabel ) = \"en\" )\n  }\n}", "paraphrases": ["What educational institution did Chris Dyer attend, and what was the end date and academic degree associated with his attendance?", "Show me Chris Dyer\u2019s educational background, including the university he attended, the year he completed his studies, and the degree he received, all in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 ?var5Label WHERE { <http://www.wikidata.org/entity/Q47462772> <http://www.wikidata.org/prop/P69> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P69> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P580> ?var3 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var4 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P512> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_1228", "question": "English names of universities", "sparql": "SELECT ?var1Label WHERE { ?var1 wdt:P31 wd:Q3918 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") }", "paraphrases": ["What are the names of universities in English?", "List the English labels of all universities."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3918> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_1229", "question": "Names of universities in Wikidata", "sparql": "SELECT ?label WHERE { ?university wdt:P31 wd:Q3918 . ?university rdfs:label ?label . } LIMIT 15", "paraphrases": ["What are the names of some universities listed in Wikidata?", "Show me up to 15 university names from Wikidata, including their names in different languages."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3918> . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . } LIMIT 15"}}
{"id": "test_1230", "question": "Who are the people who attended Heriot-Watt University, and what are their birth dates, occupations, genders, and images?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?person ?birthDate ?image ?occupation ?gender WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P69 wd:Q1610024 .\n  ?person p:P569 ?statement .\n  ?statement ps:P569 ?birthDate .\n  ?statement wikibase:rank wikibase:NormalRank .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?person wdt:P106 ?occupation .\n  }\n  OPTIONAL {\n    ?person wdt:P21 ?gender .\n  }\n}\nORDER BY ?person", "paraphrases": ["Can you list humans educated at Heriot-Watt University along with their birth dates, possible occupations, gender, and any available images?", "Show me the birth dates, occupations, genders, and images of all known alumni of Heriot-Watt University."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var2 <http://www.wikidata.org/prop/direct/P69> <http://www.wikidata.org/entity/Q1610024> . ?var2 <http://www.wikidata.org/prop/direct/P19> ?var11 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var8 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P106> ?var12 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P21> ?var13 . } OPTIONAL { ?var11 <http://www.wikidata.org/prop/direct/P17> ?var14 . } ?var2 ( <http://www.wikidata.org/prop/P569> / <http://www.wikidata.org/prop/statement/value/P569> ) ?var15 . ?var15 <http://wikiba.se/ontology#timeValue> ?var3 . ?var15 <http://wikiba.se/ontology#timePrecision> ?var7 . ?var6 <http://schema.org/about> ?var2 . ?var6 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . ?var2 <http://wikiba.se/ontology#sitelinks> ?var10 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var13 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . ?var14 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . ?var12 <http://www.w3.org/2000/01/rdf-schema#label> ?var9 . } } ORDER BY DESC( ?var10 )"}}
{"id": "test_1231", "question": "What are the 100 tallest humans in the world, and how tall are they?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX psn: <http://www.wikidata.org/prop/statement/value-normalized/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?human ?humanLabel ?height WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human p:P2048 ?stmt .\n  ?stmt psn:P2048 ?heightValue .\n  ?heightValue wikibase:quantityAmount ?height .\n  ?human rdfs:label ?humanLabel .\n  FILTER ( LANG( ?humanLabel ) = \"en\" ) FILTER ( ISNUMERIC( ?height ) )\n}\nORDER BY DESC ( ?height )\nLIMIT 100", "paraphrases": ["List the tallest people on record, ordered from tallest to shortest, along with their names and heights.", "Who are the tallest humans according to Wikidata, and what are their measured heights in meters?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var1 <http://www.wikidata.org/prop/direct/P2048> [] . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 ( <http://www.wikidata.org/prop/P2048> / <http://www.wikidata.org/prop/statement/value-normalized/P2048> / <http://wikiba.se/ontology#quantityAmount> ) ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var2 ) LIMIT 100"}}
{"id": "test_1232", "question": "People educated at the University of Nebraska Omaha", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P69 wd:Q2495890 .\n}\nLIMIT 500", "paraphrases": ["Who are the alumni of the University of Nebraska Omaha?", "List all humans who attended the University of Nebraska Omaha."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P69> ?var2 . ?var2 ( <http://www.wikidata.org/prop/direct/P279> | <http://www.wikidata.org/prop/direct/P131> )* <http://www.wikidata.org/entity/Q2495890> . } LIMIT 500"}}
{"id": "test_1233", "question": "List plant species and their IPNI identifiers.", "sparql": "SELECT ?plant ?plantLabel ?ipniId WHERE { ?plant wdt:P961 ?ipniId . ?plant rdfs:label ?plantLabel . FILTER(LANG(?plantLabel) = \"en\") } LIMIT 100", "paraphrases": ["What are the English names and IPNI IDs of plant taxa in Wikidata?", "Can you provide a list of plants with their corresponding International Plant Names Index (IPNI) IDs, using their English labels?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P961> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 100"}}
{"id": "test_1234", "question": "Images associated with Daniel S. Jurafsky, including his own, works he authored, their main subjects, and co-authors.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?image WHERE {\n  {\n    wd:Q5217738 wdt:P18 ?image .\n  } UNION {\n    ?diff wdt:P1889 wd:Q5217738 .\n    FILTER ( ?diff != wd:Q5 ) .\n    ?diff wdt:P18 ?image .\n  } UNION {\n    ?work wdt:P50 wd:Q5217738 .\n    {\n      ?work wdt:P921 ?topic .\n      ?topic wdt:P18 ?image .\n    } UNION {\n      ?coauthor wdt:P50 ?work .\n      ?coauthor wdt:P18 ?image .\n    }\n  }\n}", "paraphrases": ["What images are linked to Daniel S. Jurafsky either directly, through the works he authored, their main topics, or his co-authors?", "Please list all Wikimedia Commons images connected to Daniel S. Jurafsky \u2014 either as his personal image, or as images of the main subjects of his works, or of his co-authors."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { <http://www.wikidata.org/entity/Q5217738> <http://www.wikidata.org/prop/direct/P18> ?var1 . } UNION { <http://www.wikidata.org/entity/Q5217738> !( <http://www.wikidata.org/prop/direct/P1889> ) ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . FILTER ( ( ( ?var2 != <http://www.wikidata.org/entity/Q5> ) ) ) . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q5217738> . { ?var3 <http://www.wikidata.org/prop/direct/P921> [ <http://www.wikidata.org/prop/direct/P18> ?var1 ] . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P50> ?var3 . ?var4 <http://www.wikidata.org/prop/direct/P18> ?var1 . } } }"}}
{"id": "test_1235", "question": "What are some mountains with a known topographic prominence?", "sparql": "SELECT DISTINCT ?mountain ?mountainLabel WHERE { ?mountain wdt:P2660 ?prominence . ?mountain rdfs:label ?mountainLabel . } LIMIT 11", "paraphrases": ["Can you list up to 11 hills or mountains that have a recorded topographic prominence value?", "Which peaks on Earth have a defined prominence (height relative to surrounding terrain)?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2660> _:bnode . } LIMIT 11 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1236", "question": "Children's homes in Australia with their labels, inception dates, and images", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?childrensHome ?childrensHomeLabel ?inceptionDate ?image WHERE {\n  ?childrensHome wdt:P31 wd:Q9311671 .\n  ?childrensHome wdt:P17 wd:Q408 .\n  OPTIONAL {\n    ?childrensHome wdt:P571 ?inceptionDate .\n  }\n  OPTIONAL {\n    ?childrensHome wdt:P18 ?image .\n  }\n  ?childrensHome rdfs:label ?childrensHomeLabel .\n  FILTER(LANG(?childrensHomeLabel) = \"en\")\n}", "paraphrases": ["What are the children's homes in Australia, and when were they established? Do they have any associated images?", "List all children's homes in Australia, including their names, founding dates, and images if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5098105> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var2 . } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q408> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } }"}}
{"id": "test_1237", "question": "Sports in specific locations, excluding women's sports", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?var1 ?var1Label WHERE {\n  ?var1 wdt:P279 * wd:Q349 .\n  ?var1 rdfs:label ?var1Label .\n  FILTER ( LANG( ?var1Label ) = \"en\" ) .\n  FILTER ( CONTAINS( STR( ?var1Label ) , \" in \" ) ) . MINUS {\n    ?var1 wdt:P279 * wd:Q920057 .\n  }\n}", "paraphrases": ["What are some sports practiced in particular countries or regions, but not exclusively for women?", "List English-named sports events that include a location (e.g., \u201cin Iran\u201d or \u201cin Nigeria\u201d), but are not categorized as women\u2019s sports."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q349> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( CONTAINS ( STR ( ?var2Label ) , \" in \" ) ) ) . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q920057> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1238", "question": "Does the movie '6 Athiyayam' have an entry in Wikidata with IMDb ID tt7968170?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P345 \"tt7968170\" .\n}", "paraphrases": ["Is there a Wikidata item for the film with IMDb ID tt7968170?", "Confirm whether the IMDb ID tt7968170 is linked to any item in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt7968170\". }"}}
{"id": "test_1239", "question": "What properties and values are associated with the reference to the PubMed article with ID 30323184?", "sparql": "PREFIX ref: <http://www.wikidata.org/reference/>\nSELECT ?property ?value WHERE {\n  ref:0000004287c6cc528445db58c91512b887feb162 ?property ?value .\n}", "paraphrases": ["Show all metadata attached to this Wikidata reference, including source, retrieval date, and URL.", "What information does this Wikidata reference provide about its source and when it was accessed?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/reference/922214d76eaf72c7a5913ccd81e3f9e1def8547a> ?var1 ?var2 . }"}}
{"id": "test_1240", "question": "Journals where Carl Linnaeus published and the number of works per journal.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?publication ?pubLabel ( COUNT( ?work ) AS ?count ) WHERE {\n  ?work wdt:P50 wd:Q1043 .\n  ?work wdt:P1433 ?publication .\n  ?publication rdfs:label ?pubLabelRaw .\n  FILTER ( LANG( ?pubLabelRaw ) = \"en\" ) .\n  OPTIONAL {\n    ?publication wdt:P1813 ?pubShortName .\n  }\n  BIND( COALESCE ( ?pubShortName , ?pubLabelRaw ) AS ?pubLabel )\n}\nGROUP BY ?publication ?pubLabel\nORDER BY DESC ( ?count )", "paraphrases": ["Which publications did Carl Linnaeus publish in, and how many works did he publish in each, using English names or abbreviations?", "List the publications Carl Linnaeus contributed to, ranked by the number of works he published in each, using English labels or short names."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q47124978> . ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1813> ?var6 . } BIND ( COALESCE ( ?var6 , ?var5Label ) AS ?var2Label ). } GROUP BY ?var1 ?var2Label ORDER BY DESC( ?var4 )"}}
{"id": "test_1241", "question": "Properties and values of reference ref:0000001d0665ee8ab522cd996160e8b47e17955e", "sparql": "PREFIX ref: <http://www.wikidata.org/reference/>\nSELECT ?property ?value WHERE {\n  ref:0000001d0665ee8ab522cd996160e8b47e17955e ?property ?value .\n}", "paraphrases": ["What properties and values are associated with the reference URL for the Crossref DOI 10.1037/met0000659?", "Show all metadata for the reference that cites the Crossref API entry for DOI 10.1037/met0000659."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/reference/1cbfdef480654a561586be2ced4d97482a6caf27> ?var1 ?var2 . }"}}
{"id": "test_1242", "question": "Wikipedia categories that include plays as a combined topic", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?category ?categoryLabel ?statement WHERE {\n  ?category p:P971 ?statement .\n  ?statement ps:P971 wd:Q25379 .\n  ?category rdfs:label ?categoryLabel .\n  FILTER(LANG(?categoryLabel) = \"en\")\n}\nLIMIT 101", "paraphrases": ["Which Wikipedia categories are defined to combine the topic of plays?", "List English-labeled Wikipedia categories that intersect with the topic of plays."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P971> <http://www.wikidata.org/entity/Q25379> . ?var1 <http://www.wikidata.org/prop/P971> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_1243", "question": "Is there a journal with ISSN 1078-4659?", "sparql": "ASK WHERE { ?journal wdt:P236 \"1078-4659\" . }", "paraphrases": ["Does the journal 'Journal of Public Health Management and Practice' have the ISSN 1078-4659?", "Confirm if the ISSN 1078-4659 is assigned to any publication in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P236> \"1078-4659\". }"}}
{"id": "test_1244", "question": "What is the English label, image, and coordinates for Mountain Day in Japan?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?image ?coordinates WHERE {\n  wd:Q17218111 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    wd:Q17218111 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q17218111 wdt:P625 ?coordinates .\n  }\n}\nORDER BY ?label", "paraphrases": ["Can you show me the English name and image of Mountain Day, a public holiday in Japan, along with its geographic coordinates?", "Please provide the English label and image of Mountain Day (Q17218111), and if available, its geographic coordinates."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q17218111> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var5 ) ) ) . VALUES ( ?var5 ?var6 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q17218111> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q17218111> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q17218111> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var6 )"}}
{"id": "test_1245", "question": "What universities did Andreas Krause attend?", "sparql": "SELECT ?institution ?institutionLabel ?startDate ?endDate ?degreeLabel WHERE { wd:Q44705972 p:P69 ?statement . ?statement ps:P69 ?institution . ?institution rdfs:label ?institutionLabel . FILTER(LANG(?institutionLabel) = \"en\") OPTIONAL { ?statement pq:P580 ?startDate . } OPTIONAL { ?statement pq:P582 ?endDate . } OPTIONAL { ?statement pq:P512 ?degree . ?degree rdfs:label ?degreeLabel . FILTER(LANG(?degreeLabel) = \"en\") } }", "paraphrases": ["Which educational institutions are listed as Andreas Krause\u2019s alma maters in Wikidata, and what degrees did he earn there?", "Can you show me the institutions Andreas Krause studied at, along with the start and end dates of his studies and any academic degrees obtained?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 ?var5Label WHERE { <http://www.wikidata.org/entity/Q44705972> <http://www.wikidata.org/prop/P69> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P69> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P580> ?var3 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var4 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P512> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_1246", "question": "What are Albert Einstein\u2019s main attributes like occupation, birthplace, birth date, and nationality?", "sparql": "SELECT ?property ?value WHERE { { wd:Q937 wdt:P106 ?occupation . ?occupation rdfs:label ?value . FILTER(LANG(?value) = \"en\") BIND(wdt:P106 AS ?property) } UNION { wd:Q937 wdt:P19 ?birthPlace . ?birthPlace rdfs:label ?value . FILTER(LANG(?value) = \"en\") BIND(wdt:P19 AS ?property) } UNION { wd:Q937 wdt:P569 ?birthDate . BIND(wdt:P569 AS ?property) BIND(?birthDate AS ?value) } UNION { wd:Q937 wdt:P27 ?nationality . ?nationality rdfs:label ?value . FILTER(LANG(?value) = \"en\") BIND(wdt:P27 AS ?property) } }", "paraphrases": ["Tell me Albert Einstein\u2019s profession, where he was born, when he was born, and which countries he was a citizen of.", "Show me Albert Einstein\u2019s occupation in English, his place of birth, date of birth, and citizenships."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q28370069-34346387-72F9-4AA3-9500-477805725685> ?var1 ?var2 . }"}}
{"id": "test_1247", "question": "What publication has the ISSN 0001-0340?", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P236 \"0001-0340\" . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["Can you tell me the name of the journal or magazine with ISSN 0001-0340?", "Which item in Wikidata is identified by the ISSN 0001-0340?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P236> \"0001-0340\". }"}}
{"id": "test_1248", "question": "In which administrative regions is Mount Everest located?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?administrativeEntity WHERE {\n  wd:Q513 wdt:P131 ?administrativeEntity .\n}", "paraphrases": ["Administrative territories of Mount Everest", "Show me the administrative regions that include Mount Everest on their territory."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { <http://www.wikidata.org/entity/Q513> <http://www.wikidata.org/prop/direct/P131> ?var1 . } LIMIT 100"}}
{"id": "test_1249", "question": "Journal with ISSN 0075-1243", "sparql": "SELECT ?journal WHERE { ?journal wdt:P236 \"0075-1243\" . } LIMIT 1", "paraphrases": ["What journal has the ISSN 0075-1243?", "Tell me the name of the journal that uses the ISSN 0075-1243."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P236> \"0075-1243\". } LIMIT 1"}}
{"id": "test_1250", "question": "What are the birth dates and birthplaces of all known descendants of Johann Wolfgang von Goethe, sorted from most recent to oldest?", "sparql": "SELECT ?descendant ?descendantLabel ?birthDate ?birthPlaceLabel WHERE { ?descendant (wdt:P40/wdt:P40*) wd:Q5879 . ?descendant wdt:P569 ?birthDate . OPTIONAL { ?descendant wdt:P19 ?birthPlace . ?birthPlace rdfs:label ?birthPlaceLabel . FILTER(LANG(?birthPlaceLabel) = \"en\") } ?descendant rdfs:label ?descendantLabel . FILTER(LANG(?descendantLabel) = \"en\") } ORDER BY DESC(?birthDate)", "paraphrases": ["Show me the descendants of Goethe, their birth dates, and where they were born, ordered by birth date descending.", "Who are Johann Wolfgang von Goethe\u2019s descendants, and when and where were they born? List them from the most recently born to the oldest."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P40> / <http://www.wikidata.org/prop/direct/P40> *) <http://www.wikidata.org/entity/Q5879> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } GROUP BY ?var1 ?var1Label ?var2 ?var3Label ORDER BY DESC( ?var2 )"}}
{"id": "test_1251", "question": "Does the Wikidata item for Vytas have the VIAF ID 55146332979018732758?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P214 \"55146332979018732758\" .\n}", "paraphrases": ["Is there a Wikidata entity associated with the VIAF cluster ID 55146332979018732758?", "Confirm whether the Virtual International Authority File identifier 55146332979018732758 is linked to any Wikidata item."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"55146332979018732758\". }"}}
{"id": "test_1252", "question": "What are some archives and their parent organizations?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?archive ?parentOrganization WHERE {\n  ?archive wdt:P31 wd:Q166118 .\n  OPTIONAL {\n    ?archive wdt:P749 ?parentOrganization .\n  }\n}\nLIMIT 20", "paraphrases": ["List institutions that are archives and indicate which ones are part of a larger organization.", "Which archives have a parent organization, and which ones operate independently?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q166118> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P749> ?var2 . } } LIMIT 20"}}
{"id": "test_1253", "question": "Libraries in northern England with coordinates between 53.0\u201354.0\u00b0N and -4.0\u00b0 to -1.0\u00b0W, including images and Commons categories.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?library ?libraryLabel ?location ?image ?commonsCategory ?address WHERE {\n  ?library wdt:P31 / wdt:P279 * wd:Q7075 .\n  ?library wdt:P625 ?location .\n  BIND(STRAFTER(STR(?location) , \"POINT(\") AS ?lonLatWithParen)\n  BIND(STRBEFORE(?lonLatWithParen , \")\") AS ?lonLat)\n  BIND(STRBEFORE(?lonLat , \" \") AS ?lonStr)\n  BIND(STRAFTER(?lonLat , \" \") AS ?latStr)\n  BIND(xsd:double(?lonStr) AS ?lon)\n  BIND(xsd:double(?latStr) AS ?lat)\n  FILTER(?lon >= -4.0 && ?lon <= -1.0 && ?lat >= 53.0 && ?lat <= 54.0)\n  OPTIONAL {\n    ?library rdfs:label ?libraryLabel .\n    FILTER(LANG(?libraryLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?library wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?library wdt:P373 ?commonsCategory .\n  }\n  OPTIONAL {\n    ?library wdt:P969 ?address .\n  }\n}\nLIMIT 3000", "paraphrases": ["What are the libraries in the UK between latitudes 53.0 and 54.0 and longitudes -4.0 and -1.0, and what are their images, Wikimedia Commons categories, and addresses?", "Please list libraries in northern England (latitude 53\u201354\u00b0N, longitude -4\u00b0 to -1\u00b0W) along with their images, Wikimedia Commons categories, and addresses if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(-3 53)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(-3 53)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7075> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_1254", "question": "What are the 10 highest mountains in the United States and their elevations?", "sparql": "SELECT ?mountain ?mountainLabel ?elevation ?unitLabel WHERE { ?mountain (wdt:P31/wdt:P279*) wd:Q8502 . ?mountain wdt:P17 wd:Q30 . ?mountain wdt:P2044 ?elevation . ?mountain rdfs:label ?mountainLabel . VALUES (?unitLabel) { (\"meter\") } FILTER(LANG(?mountainLabel) = \"en\") } ORDER BY DESC(?elevation) LIMIT 10", "paraphrases": ["Can you list the tallest peaks in America, sorted by elevation from highest to lowest?", "Show me the top 10 mountains in the U.S. with their heights in meters."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q8502> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q30> . ?var1 <http://www.wikidata.org/prop/P2044> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/value-normalized/P2044> ?var5 . ?var5 <http://wikiba.se/ontology#quantityAmount> ?var2 . ?var5 <http://wikiba.se/ontology#quantityUnit> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var6 ) LIMIT 10"}}
{"id": "test_1255", "question": "Image of the person with SNAC ARK ID w6p84n1m", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6p84n1m\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Does the entity with SNAC ARK ID w6p84n1m have an associated image on Wikimedia Commons?", "Show me the image of Lehman Engel, identified by the SNAC ARK ID w6p84n1m, if one exists."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6p84n1m\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_1256", "question": "What are the library buildings in the UK without a known operator, and do they have images or Commons categories?", "sparql": "SELECT ?library ?libraryLabel ?location ?image ?commonsCategory ?address WHERE { ?library (wdt:P31/wdt:P279*) wd:Q856584 . ?library wdt:P625 ?location . FILTER (geof:latitude(?location) >= 51 && geof:latitude(?location) <= 54) FILTER (geof:longitude(?location) >= -5 && geof:longitude(?location) <= 3) FILTER (NOT EXISTS { ?library wdt:P137 ?operator . }) OPTIONAL { ?library wdt:P18 ?image . } OPTIONAL { ?library wdt:P373 ?commonsCategory . } OPTIONAL { ?library wdt:P969 ?address . } ?library rdfs:label ?libraryLabel . FILTER(LANG(?libraryLabel) = \"en\") } LIMIT 3000", "paraphrases": ["Show me English-labeled library buildings between latitudes 51 and 54 and longitudes -5 and 3, excluding those with operators, along with their images and Wikimedia Commons categories.", "List public libraries in England that aren't operated by any organization and have photos on Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(-5 51)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(3 54)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q856584> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P137> ?var8 . } ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_1257", "question": "What are the most commonly used properties for books in Wikidata, ranked by frequency?", "sparql": "SELECT ?propertyItemLabel ?usageCount WHERE { { SELECT ?property ( COUNT(*) AS ?usageCount ) WHERE { ?book (wdt:P31/wdt:P279*) wd:Q571 . ?book ?property [] . } GROUP BY ?property } ?propertyItem wikibase:claim ?property . ?propertyItem rdfs:label ?propertyItemLabel . FILTER(LANG(?propertyItemLabel) = \"en\") } ORDER BY DESC(?usageCount)", "paraphrases": ["Which properties appear most often on book entries, and how many books use each one?", "Can you list the properties used on books in Wikidata, sorted by how many books have them, starting with the most common?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { { SELECT ?var3 ( COUNT (* ) AS ?var2 ) WHERE { ?var4 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q571> . ?var4 ?var3 [] . } GROUP BY ?var3 } ?var1 <http://wikiba.se/ontology#claim> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } } ORDER BY DESC( ?var2 )"}}
{"id": "test_1258", "question": "Is there a Wikidata item for the movie with IMDb ID tt0709986?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P345 \"tt0709986\" .\n}", "paraphrases": ["Does the film 'If I Were a Rich Man' have a Wikidata entry linked to its IMDb ID tt0709986?", "Confirm whether the IMDb identifier tt0709986 corresponds to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0709986\". }"}}
{"id": "test_1259", "question": "Does the movie with IMDb ID tt0173348 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?movie wdt:P345 \"tt0173348\" .\n}", "paraphrases": ["Is there a film in Wikidata identified by the IMDb ID tt0173348?", "Does the Internet Movie Database identifier tt0173348 correspond to a known movie in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0173348\". }"}}
{"id": "test_1260", "question": "Which Wikidata entities have the Twitter usernames \"LHSummers\" and \"WorldBank\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity ?twitterUsername WHERE {\n  ?entity wdt:P2002 ?twitterUsername .\n  VALUES ?twitterUsername {\n    \"LHSummers\" \"WorldBank\"\n  }\n}", "paraphrases": ["Who is the person behind the Twitter handle @LHSummers, and which organization uses @WorldBank on Twitter?", "Show me the Wikidata items for the Twitter accounts LHSummers and WorldBank."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"UNDP\" ) ( \"_esther\" ) ( \"string2\" ) ( \"string3\" ) ( \"NZClarke\" ) ( \"string4\" ) ( \"kentbuse\" ) ( \"string5\" ) ( \"NCDFREE\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"DanceDok\" ) ( \"string10\" ) ( \"string11\" ) ( \"LHSummers\" ) ( \"iPHC2\" ) ( \"string12\" ) ( \"string13\" ) ( \"WorldBank\" ) ( \"string14\" ) ( \"MsMassage1\" ) ( \"string15\" ) ( \"string16\" ) } }"}}
{"id": "test_1261", "question": "What are the latitude and longitude coordinates of Mount Everest, and what is its label in English?", "sparql": "SELECT ?entityLabel ?lat ?long ?statement WHERE { wd:Q513 p:P625 ?statement . ?statement psv:P625 ?valueNode . ?valueNode wikibase:geoLatitude ?lat . ?valueNode wikibase:geoLongitude ?long . wd:Q513 rdfs:label ?entityLabel . FILTER(LANG(?entityLabel) = \"en\")}", "paraphrases": ["Show me the precise geographic coordinates of Mount Everest along with its English name and the full coordinate statement.", "Retrieve the English name, latitude, longitude, and statement node for the location of Mount Everest from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { <http://www.wikidata.org/prop/direct/Q1010278> <http://www.wikidata.org/prop/P625> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/value/P625> ?var5 . ?var5 <http://wikiba.se/ontology#geoLatitude> ?var2 . ?var5 <http://wikiba.se/ontology#geoLongitude> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1262", "question": "Most frequently portrayed character roles in films and TV shows, with counts.", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?role ?roleLabel(COUNT(?actor) AS ?count) WHERE {\n  ?statement p:P161 ?cast .\n  ?cast ps:P161 ?actor ; pq:P453 ?role .\n  ?role rdfs:label ?roleLabel .\n  FILTER(LANG(?roleLabel) = \"en\")\n}\nGROUP BY ?role ?roleLabel\nORDER BY DESC(?count)\nLIMIT 25", "paraphrases": ["Which fictional and real-life character roles have been portrayed the most times across movies and TV series, and how many times each?", "Show me the top 25 most common character roles played by actors in media, along with how many times each role has been portrayed, sorted by frequency."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { { SELECT ?var1 ?var2 WHERE { ?var4 <http://www.wikidata.org/prop/P161> [ <http://www.wikidata.org/prop/statement/P161> ?var2 ; <http://www.wikidata.org/prop/qualifier/P453> ?var1 ] . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var3 ) LIMIT 25"}}
{"id": "test_1263", "question": "What is the English and German title of the movie with IMDb ID tt6682134?", "sparql": "SELECT ?movie ?title WHERE { ?movie wdt:P345 \"tt6682134\" . ?movie rdfs:label ?title . FILTER(LANG(?title) IN (\"en\", \"de\")) }", "paraphrases": ["Show me the titles of the movie Murder, She Baked: Just Desserts in English and German.", "Give me the labels in English and German for the film identified by tt6682134 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6682134\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1264", "question": "What are the library buildings located between longitude -2 and -1 and latitude 53.9 and 54.1?", "sparql": "SELECT ?library ?libraryLabel ?location ?image ?commonsCategory ?address WHERE { ?library (wdt:P31/wdt:P279*) wd:Q856584 . ?library wdt:P625 ?location . BIND(STRBEFORE(SUBSTR(STR(?location), 7), \" \") AS ?lonStr) BIND(STRAFTER(SUBSTR(STR(?location), 7), \" \") AS ?latStrWithParen) BIND(REPLACE(?latStrWithParen, \"\\\\)\", \"\") AS ?latStr) BIND(xsd:double(?lonStr) AS ?lon) BIND(xsd:double(?latStr) AS ?lat) FILTER(?lon >= -2 && ?lon <= -1 && ?lat >= 53.9 && ?lat <= 54.1) OPTIONAL { ?library wdt:P18 ?image . } OPTIONAL { ?library wdt:P373 ?commonsCategory . } OPTIONAL { ?library wdt:P969 ?address . } ?library rdfs:label ?libraryLabel . FILTER(LANG(?libraryLabel) = \"en\") } LIMIT 3000", "paraphrases": ["Show me libraries in northern England with their images, Wikimedia Commons categories, and addresses.", "List library facilities in the Yorkshire region with their coordinates, photos, and related Commons categories."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(-2 54)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(-1 54)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q856584> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_1265", "question": "What are the top-level categories that Richard Branson and Qualcomm belong to in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?bransonClass ?bransonLabel ?qualcommClass ?qualcommLabel WHERE {\n  wd:Q194419 wdt:P31 ?bransonClass .\n  wd:Q544847 wdt:P31 ?qualcommClass .\n  ?bransonClass rdfs:label ?bransonLabel .\n  ?qualcommClass rdfs:label ?qualcommLabel .\n  FILTER ( LANG( ?bransonLabel ) = \"en\" ) .\n  FILTER ( LANG( ?qualcommLabel ) = \"en\" )\n}\nORDER BY ?bransonClass ?qualcommClass", "paraphrases": ["Does Richard Branson and Qualcomm share any class category in Wikidata's ontology?", "Show the main types (classes) that Richard Branson and Qualcomm are instances of."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q544847> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q194419> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1266", "question": "Image of the person with SNAC ARK ID w64507b5", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w64507b5\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Is there an image available for Ai Xuan, whose SNAC ARK ID is w64507b5?", "Show me the Wikimedia Commons image associated with the SNAC ARK ID w64507b5."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w64507b5\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_1267", "question": "Does the film with IMDb ID tt7482302 exist in Wikidata?", "sparql": "ASK WHERE { ?item wdt:P345 \"tt7482302\" . }", "paraphrases": ["Is there a movie or TV show in Wikidata that has the IMDb identifier tt7482302?", "Check if the IMDb ID tt7482302 is linked to any item in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt7482302\". }"}}
{"id": "test_1268", "question": "All properties and values for the genus Pinus in Wikidata.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?value WHERE {\n  wd:Q12024 ?property ?value .\n}", "paraphrases": ["What metadata, such as descriptions and external database IDs, are associated with the plant genus Pinus on Wikidata?", "Show me all the information Wikidata has about the genus Pinus, including multilingual descriptions and external identifiers."], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q12024> ?var1 ?var2 . }"}}
{"id": "test_1269", "question": "What items in Wikidata are associated with any subclass of animals?", "sparql": "SELECT ?item WHERE { ?item ?property ?taxon . ?taxon wdt:P279 wd:Q729 . }", "paraphrases": ["Show me all entities in Wikidata that have a relationship with any animal taxon.", "Which Wikipedia articles, images, or other items link to animals like dogs, birds, or insects?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 ?var2 ?var3 ; ?var4 ?var5 . ?var3 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q729> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1270", "question": "What is the title of the movie with IMDb ID tt5012382 in English or German?", "sparql": "SELECT ?label WHERE { ?item wdt:P345 \"tt5012382\" . ?item rdfs:label ?label . FILTER(LANG(?label) = \"en\" || LANG(?label) = \"de\") }", "paraphrases": ["Show me the labels in English or German for the item identified by IMDb ID tt5012382.", "Find the name of the film tt5012382 in either English or German."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5012382\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1271", "question": "Who are the authors born in the Netherlands who wrote works published before 1900?", "sparql": "SELECT ?author ?authorLabel WHERE { VALUES ?country { wd:Q55 wd:Q29999 wd:Q170072 } ?work wdt:P495 ?country ; wdt:P50 ?author ; wdt:P577 ?pubDate . ?author wdt:P19 ?birthPlace . ?birthPlace wdt:P17 wd:Q55 . FILTER ( YEAR(?pubDate) < 1900 ) ?author rdfs:label ?authorLabel . FILTER (LANG(?authorLabel) = \"en\") }", "paraphrases": ["Can you list Dutch authors whose works were published before 1900 and originated from the Netherlands or its historical predecessors like the Dutch Republic?", "Show me the names of writers born in the Netherlands who created literary works released prior to 1900, where those works are associated with the Netherlands, the Kingdom of the Netherlands, or the Dutch Republic."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q55> ) ( <http://www.wikidata.org/entity/Q29999> ) ( <http://www.wikidata.org/entity/Q170072> ) } ?var4 <http://www.wikidata.org/prop/direct/P31> ?var3 ; <http://www.wikidata.org/prop/direct/P50> ?var1 ; <http://www.wikidata.org/prop/direct/P577> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var6 . ?var6 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q55> . FILTER ( ( ( YEAR ( ?var5 ) < \"1900\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,en\". } }"}}
{"id": "test_1272", "question": "Taxonomic ancestors of humans and their parent taxa", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestor ?ancestorLabel ?parent WHERE {\n  wd:Q15978631 wdt:P171 + ?ancestor .\n  OPTIONAL {\n    ?ancestor rdfs:label ?ancestorLabel .\n    FILTER ( LANG( ?ancestorLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?ancestor wdt:P171 ?parent\n  }\n}\nORDER BY ?ancestor", "paraphrases": ["What are the evolutionary ancestors of Homo sapiens, and what is each one\u2019s direct parent taxon?", "List all the taxonomic levels above humans in the biological classification, along with their English names and immediate higher taxa."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q15978631> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"16\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P171> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P171> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1273", "question": "What country is both Louisiana and NPR associated with?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonEntity ?commonEntityLabel WHERE {\n  wd:Q1588 wdt:P17 ?commonEntity .\n  wd:Q671510 wdt:P159 / wdt:P131 * ?commonEntity .\n  ?commonEntity rdfs:label ?commonEntityLabel .\n  FILTER(LANG(?commonEntityLabel) = \"en\")\n}\nLIMIT 1", "paraphrases": ["Which nation links the state of Louisiana with the radio network NPR?", "Find the common country connected to Louisiana and NPR through their location or headquarters."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1588> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q671510> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1274", "question": "Images related to Kristopher J. Preacher\u2019s academic works and co-authors", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?image WHERE {\n  VALUES ?person {\n    wd:Q36004273\n  }\n  {\n    ?work wdt:P50 ?person .\n    ?work wdt:P921 ?topic .\n    ?topic wdt:P18 ?image .\n  } UNION {\n    ?work wdt:P50 ?person .\n    ?coauthor wdt:P50 ?work .\n    ?coauthor wdt:P18 ?image .\n  } UNION {\n    ?work wdt:P50 ?person .\n    ?work wdt:P18 ?image .\n  }\n}", "paraphrases": ["What images are associated with publications authored by psychologist Kristopher J. Preacher, including topics of those publications and their co-authors?", "Show me all images on Wikimedia Commons connected to Kristopher J. Preacher through his scholarly works, their subjects, or his co-authors."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { <http://www.wikidata.org/entity/Q36004273> <http://www.wikidata.org/prop/direct/P18> ?var1 . } UNION { <http://www.wikidata.org/entity/Q36004273> ?var2 ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P18> ?var1 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/Q5> ) ) ) . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q36004273> . { ?var4 <http://www.wikidata.org/prop/direct/P921> [ <http://www.wikidata.org/prop/direct/P18> ?var1 ] . } UNION { ?var5 <http://www.wikidata.org/prop/direct/P50> ?var4 . ?var5 <http://www.wikidata.org/prop/direct/P18> ?var1 . } } }"}}
{"id": "test_1275", "question": "What properties and values does the reference with ID `ref:fc2ec1dd26a7f2463d60ecf1f3c18b9da96532b2` contain?", "sparql": "PREFIX ref: <http://www.wikidata.org/reference/>\nSELECT ?property ?value WHERE {\n  ref:fc2ec1dd26a7f2463d60ecf1f3c18b9da96532b2 ?property ?value .\n}", "paraphrases": ["Show all the details stored in this Wikidata reference, including its source and URL.", "What sources and metadata are attached to this reference in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/reference/57bfba38c16e9b5cd31bfff33e1cb543cc8e6abe> ?var1 ?var2 . }"}}
{"id": "test_1276", "question": "What are all the taxonomic ancestors of the blue whale, and what is each one\u2019s immediate parent?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestor ?ancestorLabel ?parent WHERE {\n  wd:Q42196 wdt:P171 * ?ancestor .\n  OPTIONAL {\n    ?ancestor wdt:P171 ?parent .\n  }\n  ?ancestor rdfs:label ?ancestorLabel .\n  FILTER(LANG(?ancestorLabel) = \"en\")\n}\nORDER BY ?ancestorLabel", "paraphrases": ["Show the full biological classification hierarchy of the blue whale, including each level and its parent.", "List the English names of all higher taxa above the blue whale in the tree of life, along with their direct parent taxa."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q42196> <http://www.wikidata.org/prop/direct/P171> * ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P171> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sp\". } }"}}
{"id": "test_1277", "question": "Images related to Anders Eklund\u2019s research in fMRI and statistics.", "sparql": "SELECT DISTINCT ?var1 WHERE { { wd:Q38084489 wdt:P18 ?var1 . } UNION { wd:Q38084489 ?var2 ?var3 . ?var3 wdt:P18 ?var1 . FILTER (?var3 != wd:Q5) } UNION { ?var4 wdt:P50 wd:Q38084489 . ?var4 wdt:P921 ?mainSubject . ?mainSubject wdt:P18 ?var1 . } }", "paraphrases": ["What images are associated with Anders Eklund\u2019s work, either directly, through his publications, or through the topics he studies?", "Show me all Wikimedia Commons images connected to Anders Eklund, including those from the subjects of papers he authored and the tools he uses, excluding images of people."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { <http://www.wikidata.org/entity/Q38084489> <http://www.wikidata.org/prop/direct/P18> ?var1 . } UNION { <http://www.wikidata.org/entity/Q38084489> ?var2 ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P18> ?var1 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/Q5> ) ) ) . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q38084489> . { ?var4 <http://www.wikidata.org/prop/direct/P921> [ <http://www.wikidata.org/prop/direct/P18> ?var1 ] . } UNION { ?var5 <http://www.wikidata.org/prop/direct/P50> ?var4 . ?var5 <http://www.wikidata.org/prop/direct/P18> ?var1 . } } }"}}
{"id": "test_1278", "question": "All subclasses and superclasses of science fiction with their direct parent genres.", "sparql": "SELECT ?item ?label ?directParent WHERE { { wd:Q24925 wdt:P279* ?item . } UNION { ?item wdt:P279* wd:Q24925 . } OPTIONAL { ?item rdfs:label ?label . FILTER(LANG(?label) = \"en\") } OPTIONAL { ?item wdt:P279 ?directParent . } }", "paraphrases": ["What are all the genres related to science fiction (both above and below it in the hierarchy), and what are their direct parent categories?", "Show me the full hierarchy around science fiction, including its subgenres and broader categories, along with their English names and immediate parent classes."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { <http://www.wikidata.org/entity/Q24925> <http://www.wikidata.org/prop/direct/P279> * ?var1 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q24925> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1279", "question": "Institutions where Amedeo Maiuri studied, with start and end years, and any academic degrees earned.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?institution ?institutionLabel ?start ?end ?degree ?degreeLabel WHERE {\n  wd:Q442340 p:P69 ?statement .\n  ?statement ps:P69 ?institution .\n  ?institution rdfs:label ?institutionLabel .\n  FILTER(LANG(?institutionLabel) = \"en\")\n  .\n  OPTIONAL {\n    ?statement pq:P580 ?start .\n  }\n  OPTIONAL {\n    ?statement pq:P582 ?end .\n  }\n  OPTIONAL {\n    ?statement pq:P512 ?degree .\n    ?degree rdfs:label ?degreeLabel .\n    FILTER(LANG(?degreeLabel) = \"en\")\n  }\n}", "paraphrases": ["Where did Amedeo Maiuri study, when did he attend those institutions, and what degrees did he obtain?", "Please list the universities Amedeo Maiuri attended, including the time periods of his attendance and any academic degrees he received, with labels in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 ?var5Label WHERE { <http://www.wikidata.org/entity/Q442340> <http://www.wikidata.org/prop/P69> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P69> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P580> ?var3 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var4 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P512> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_1280", "question": "What are all the taxonomic ancestors of Astragalus decumbens var. oblongifolius?", "sparql": "SELECT DISTINCT ?ancestor WHERE { wd:Q32857253 wdt:P171* ?ancestor . }", "paraphrases": ["Show the full taxonomic hierarchy above Astragalus decumbens var. oblongifolius.", "What plant groups does Astragalus decumbens var. oblongifolius belong to, from species up to kingdom?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q32857253> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P171> | <http://www.wikidata.org/prop/direct/P273> | <http://www.wikidata.org/prop/direct/P75> | <http://www.wikidata.org/prop/direct/P76> | <http://www.wikidata.org/prop/direct/P77> | <http://www.wikidata.org/prop/direct/P70> | <http://www.wikidata.org/prop/direct/P71> | <http://www.wikidata.org/prop/direct/P74> | <http://www.wikidata.org/prop/direct/P89> )* ?var1 . }"}}
{"id": "test_1281", "question": "What are Peter Schirmbacher\u2019s occupations, affiliations, and education, along with their English labels and any associated images or locations?", "sparql": "SELECT DISTINCT ?image ?entity ?entityLabel ?location ?propertyLabel WHERE { wd:Q2078099 ?directClaim ?entity . ?property wikibase:directClaim ?directClaim . OPTIONAL { ?entity wdt:P18 ?image . } OPTIONAL { ?entity wdt:P625 ?location . } ?property rdfs:label ?propertyLabel . ?entity rdfs:label ?entityLabel . FILTER(LANG(?propertyLabel) = \"en\") FILTER(LANG(?entityLabel) = \"en\") } LIMIT 10", "paraphrases": ["Which entities are linked to Peter Schirmbacher, what are their English names, what properties connect them to him, and do any of them have images or geographic coordinates?", "Show me all the entities associated with Peter Schirmbacher, including their English labels, the English names of the properties that link them to him, and any available images or locations."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ( ?var4Label AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q2078099> ?var6 ?var2 . ?var2 (( <http://www.wikidata.org/prop/P159> / <http://www.wikidata.org/prop/qualifier/P625> )|( <http://www.wikidata.org/prop/direct/P276> */ <http://www.wikidata.org/prop/direct/P625> )) ?var3 . ?var7 <http://wikiba.se/ontology#directClaim> ?var6 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,nl,no,ru,sv,zh\". } ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . }"}}
{"id": "test_1282", "question": "Who are the most commonly named-after people or entities in Wikidata, and how many things are named after each?", "sparql": "SELECT ?namesake ?namesakeLabel (COUNT(?entity) AS ?count)\nWHERE {\n  ?entity wdt:P138 ?namesake .\n  ?namesake rdfs:label ?namesakeLabel .\n  FILTER(LANG(?namesakeLabel) = \"en\")\n}\nGROUP BY ?namesake ?namesakeLabel\nORDER BY DESC(?count)\nLIMIT 100", "paraphrases": ["Which historical figures, saints, or concepts have the highest number of entities named in their honor?", "List the top 100 entities that serve as namesakes, ranked by how many things are named after them, with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT (* ) AS ?var2 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P138> ?var4 ; ?var1 ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var2 )"}}
{"id": "test_1283", "question": "Items categorized as libraries and their statement qualifiers", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?item ?statement(SAMPLE(?qualifier) AS ?qualifierProperty) WHERE {\n  ?item p:P301 ?statement .\n  ?statement ps:P301 wd:Q7075 .\n  OPTIONAL {\n    ?statement ?qualifier ?value .\n    ?qualifier wikibase:qualifier true .\n  }\n}\nGROUP BY ?item ?statement\nLIMIT 101", "paraphrases": ["What items are categorized as libraries on Wikipedia, and what qualifiers are used on those categorizations?", "List all items that are assigned to the library category and show any qualifiers attached to those assignments."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P301> <http://www.wikidata.org/entity/Q7075> . ?var1 <http://www.wikidata.org/prop/P301> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_1284", "question": "Judges with their birth dates, death dates, countries, VIAF IDs, FJC IDs, LCCN IDs, and images.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?judgeLabel ?image ?judge ?birthDate ?deathDate ?country ?viafId ?fjcId ?lccnId WHERE {\n  ?judge wdt:P106 ?occupation .\n  OPTIONAL {\n    ?judge wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?judge wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?judge wdt:P570 ?deathDate .\n  }\n  OPTIONAL {\n    ?judge wdt:P27 ?country .\n  }\n  OPTIONAL {\n    ?judge wdt:P214 ?viafId .\n  }\n  OPTIONAL {\n    ?judge wdt:P2736 ?fjcId .\n  }\n  OPTIONAL {\n    ?judge wdt:P244 ?lccnId .\n  }\n  ?occupation wdt:P279 * wd:Q16533 .\n  ?judge wdt:P1477 ?judgeLabel .\n}\nLIMIT 50", "paraphrases": ["Who are some judges, and what are their biographical details such as birth and death dates, country of citizenship, and identifiers like VIAF and LCCN?", "List judges along with their images, dates of birth and death, country, and official identifiers like VIAF, FJC, and LCCN."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2Label ?var3 ?var1 ?var4 ?var5 ?var6Label ?var7 ?var8 ?var9Label ?var10Label ?var11 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P214> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2736> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P244> ?var11 . } ?var2 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q16533> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1285", "question": "What images are associated with the Danish archaeologist Marie Louise Stig S\u00f8rensen, including those of her works\u2019 subjects or co-authors?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?image WHERE {\n  {\n    wd:Q44833589 wdt:P18 ?image .\n  } UNION {\n    ?confusedEntity wdt:P1889 wd:Q44833589 .\n    ?confusedEntity wdt:P18 ?image .\n  } UNION {\n    ?work wdt:P50 wd:Q44833589 .\n    ?work wdt:P921 ?topic .\n    ?topic wdt:P18 ?image .\n  } UNION {\n    ?work wdt:P50 wd:Q44833589 .\n    ?coauthor wdt:P50 ?work .\n    ?coauthor wdt:P18 ?image .\n  }\n}", "paraphrases": ["Show me pictures related to Marie Louise Stig S\u00f8rensen \u2014 either of her directly, of topics she wrote about, or of people who co-authored her works.", "Find all Wikimedia Commons images connected to Marie Louise S\u00f8rensen through her authorship or related entities."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { <http://www.wikidata.org/entity/Q44833589> <http://www.wikidata.org/prop/direct/P18> ?var1 . } UNION { <http://www.wikidata.org/entity/Q44833589> !( <http://www.wikidata.org/prop/direct/P1889> ) ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . FILTER ( ( ( ?var2 != <http://www.wikidata.org/entity/Q5> ) ) ) . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q44833589> . { ?var3 <http://www.wikidata.org/prop/direct/P921> [ <http://www.wikidata.org/prop/direct/P18> ?var1 ] . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P50> ?var3 . ?var4 <http://www.wikidata.org/prop/direct/P18> ?var1 . } } }"}}
{"id": "test_1286", "question": "What is the English and German title of the movie with IMDb ID tt1698648?", "sparql": "SELECT ?labelEn ?labelDe WHERE { ?movie wdt:P345 \"tt1698648\" . OPTIONAL { ?movie rdfs:label ?labelEn FILTER(LANG(?labelEn) = \"en\") } OPTIONAL { ?movie rdfs:label ?labelDe FILTER(LANG(?labelDe) = \"de\") } }", "paraphrases": ["How is the movie \"tt1698648\" called in English and German?", "Show me the English and German labels for the movie identified by tt1698648 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1698648\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1287", "question": "What types of awards has J.K. Rowling received?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?var1 ?var1Label WHERE {\n  wd:Q34660 wdt:P166 ?award .\n  ?award wdt:P31 ?var1 .\n  ?var1 rdfs:label ?var1Label .\n  FILTER(LANG(?var1Label) = \"en\")\n}\nLIMIT 5", "paraphrases": ["Award types received by J.K. Rowling", "List the categories of awards won by J.K. Rowling."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q34660> <http://www.wikidata.org/prop/direct/P166> [ <http://www.wikidata.org/prop/direct/P31> ?var1 ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } LIMIT 5"}}
{"id": "test_1288", "question": "Who are the actors in *The Lord of the Rings: The Fellowship of the Ring*, which is part of the film trilogy based on J.R.R. Tolkien\u2019s *The Lord of the Rings*?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?actorLabel ?filmLabel ?trilogyLabel WHERE {\n  wd:Q127367 wdt:P179 wd:Q190214 .\n  wd:Q190214 wdt:P31 wd:Q13593818 .\n  wd:Q190214 wdt:P144 wd:Q15228 .\n  wd:Q127367 wdt:P161 ?actor .\n  ?actor rdfs:label ?actorLabel .\n  wd:Q127367 rdfs:label ?filmLabel .\n  wd:Q190214 rdfs:label ?trilogyLabel .\n  FILTER ( LANG( ?actorLabel ) = \"en\" ) FILTER ( LANG( ?filmLabel ) = \"en\" ) FILTER ( LANG( ?trilogyLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["List the cast members of the 2001 film *The Fellowship of the Ring*, a part of the film trilogy adapted from Tolkien\u2019s novel series.", "Which actors appeared in the first movie of Peter Jackson\u2019s *Lord of the Rings* trilogy, based on the original books?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var4 <http://www.wikidata.org/prop/direct/P144> <http://www.wikidata.org/entity/Q15228> . ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13593818> . ?var4 <http://www.wikidata.org/prop/direct/P527> ?var3 . ?var3 <http://www.wikidata.org/prop/P161> ?var1 . ?var1 <http://www.wikidata.org/prop/statement/P161> <http://www.wikidata.org/entity/Q127367> ; <http://www.wikidata.org/prop/qualifier/P74359> ?var1 . } LIMIT 100"}}
{"id": "test_1289", "question": "What is the English and German title of the movie with IMDb ID tt4993964?", "sparql": "SELECT ?item ?enLabel ?deLabel WHERE { ?item wdt:P345 \"tt4993964\" . OPTIONAL { ?item rdfs:label ?enLabel FILTER(LANG(?enLabel) = \"en\") } OPTIONAL { ?item rdfs:label ?deLabel FILTER(LANG(?deLabel) = \"de\") } }", "paraphrases": ["Show me the English and German labels for the film identified by tt4993964 on IMDb.", "Find the movie with IMDb ID tt4993964 and return its names in English and German."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt4993964\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1290", "question": "Geographic regions where sports are practiced but no specific sport is listed in Wikidata.", "sparql": "SELECT ?sportInRegion ?sportInRegionLabel WHERE { ?sportInRegion wdt:P31 wd:Q29791211 . FILTER (NOT EXISTS { ?sportInRegion wdt:P641 [] }) OPTIONAL { ?sportInRegion rdfs:label ?sportInRegionLabel . FILTER(LANG(?sportInRegionLabel) = \"en\") } }", "paraphrases": ["Which geographic regions have sports practiced there, but the specific sport is not documented in Wikidata?", "List all regions where sports are known to be played, but without specifying which sport, based on Wikidata data."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q29791211> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P641> [] . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_1291", "question": "What are the top 50 highest mountains in Kyrgyzstan, and where are they located?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nSELECT ?mountain ?latitude ?longitude ?elevation ?admin WHERE {\n  ?mountain(wdt:P31 / wdt:P279 *) wd:Q8502 .\n  ?mountain wdt:P17 wd:Q813 .\n  OPTIONAL {\n    ?mountain(p:P625 / psv:P625) ?coord .\n    ?coord wikibase:geoLatitude ?latitude ; wikibase:geoLongitude ?longitude .\n  }\n  OPTIONAL {\n    ?mountain(p:P2044 / psv:P2044) ?elevationStmt .\n    ?elevationStmt wikibase:quantityAmount ?elevation .\n  }\n  OPTIONAL {\n    ?mountain wdt:P131 ?admin .\n  }\n}\nORDER BY DESC(?elevation)\nLIMIT 50", "paraphrases": ["List the tallest peaks in Kyrgyzstan along with their elevations and administrative regions.", "Which mountains in Kyrgyzstan reach the greatest heights above sea level, and what are their coordinates?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6Label ?var7 ?var8Label ?var9 ?var10Label ?var11 ?var11Label ?var12Label ?var13 ?var13Label ?var14 ?var14Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q8502> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q813> . OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P625> / <http://www.wikidata.org/prop/statement/value/P625> ) ?var15 . ?var15 <http://wikiba.se/ontology#geoLatitude> ?var2 ; <http://wikiba.se/ontology#geoLongitude> ?var3 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2046> / <http://www.wikidata.org/prop/statement/value/P2046> ) ?var16 . ?var16 <http://wikiba.se/ontology#quantityAmount> ?var4 . ?var16 <http://wikiba.se/ontology#quantityUnit> ?var17 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2044> / <http://www.wikidata.org/prop/statement/value/P2044> ) ?var18 . ?var18 <http://wikiba.se/ontology#quantityAmount> ?var5 . ?var18 <http://wikiba.se/ontology#quantityUnit> ?var6 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2659> / <http://www.wikidata.org/prop/statement/value/P2659> ) ?var19 . ?var19 <http://wikiba.se/ontology#quantityAmount> ?var7 . ?var19 <http://wikiba.se/ontology#quantityUnit> ?var8 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2660> / <http://www.wikidata.org/prop/statement/value/P2660> ) ?var20 . ?var20 <http://wikiba.se/ontology#quantityAmount> ?var9 . ?var20 <http://wikiba.se/ontology#quantityUnit> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3137> ?var11 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P186> ?var12 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P361> ?var13 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var14 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en,fr,it,es,ru\". } } ORDER BY DESC( ?var5 )"}}
{"id": "test_1292", "question": "What are the individual films that compose The Lord of the Rings film trilogy?", "sparql": "SELECT ?trilogyLabel ?partLabel WHERE {\n  wd:Q190214 wdt:P31 wd:Q13593818 .\n  wd:Q190214 wdt:P527 ?part .\n  wd:Q190214 rdfs:label ?trilogyLabel .\n  ?part rdfs:label ?partLabel .\n  FILTER(LANG(?trilogyLabel) = 'en')\n  FILTER(LANG(?partLabel) = 'en')\n}", "paraphrases": ["List the English titles of the movies that are part of The Lord of the Rings trilogy.", "Which films are included in the 2001\u20132003 Lord of the Rings trilogy, and what are their names?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q190214> . ?var3 <http://www.wikidata.org/prop/direct/P527> ?var1 . } LIMIT 100"}}
{"id": "test_1293", "question": "What country is both Pennsylvania and Jeff Bezos associated with?", "sparql": "SELECT ?commonEntity WHERE { VALUES ?commonEntity { wd:Q30 } FILTER ( EXISTS { wd:Q1400 wdt:P17 ?commonEntity } ) FILTER ( EXISTS { wd:Q312556 wdt:P27 ?commonEntity } ) }", "paraphrases": ["Through which entity are the U.S. state of Pennsylvania and entrepreneur Jeff Bezos connected?", "Which country is the common link between Pennsylvania and Jeff Bezos?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1400> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q312556> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1294", "question": "What are some mountains in the world, listed by their English names?", "sparql": "SELECT DISTINCT ?item ?itemLabel WHERE { ?item wdt:P31 wd:Q8502 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } LIMIT 10", "paraphrases": ["Can you list English names of all known mountains?", "Show me a few examples of mountains and their names in English."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/P31> <http://www.wikidata.org/entity/Q203676> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1295", "question": "Plant species that are pollinated by other organisms.", "sparql": "SELECT DISTINCT ?plant WHERE { ?plant wdt:P1703 [] . ?plant wdt:P31 wd:Q16521 . ?plant wdt:P105 wd:Q7432 . }", "paraphrases": ["Which plant species have pollinators?", "List all plant species that rely on pollinators for reproduction."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1703> [] . }"}}
{"id": "test_1296", "question": "Does the movie with IMDb ID tt0058164 exist in Wikidata?", "sparql": "ASK WHERE { ?item wdt:P345 \"tt0058164\" . }", "paraphrases": ["Is there a film in Wikidata identified by the IMDb identifier tt0058164?", "Confirm whether the Internet Movie Database ID tt0058164 is linked to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0058164\". }"}}
{"id": "test_1297", "question": "Characters appearing in the same works as Romeo Montague.", "sparql": "SELECT DISTINCT ?character ?characterLabel ?work WHERE { wd:Q673361 wdt:P1441 ?work . ?character wdt:P1441 ?work . FILTER(?character != wd:Q673361) . ?character rdfs:label ?characterLabel . FILTER(LANG(?characterLabel) = 'en') }", "paraphrases": ["Who are the other characters that appear in the same plays or stories as Romeo from Romeo and Juliet?", "List all fictional characters that share a work with Romeo Montague, along with the title of that work."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1069139> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Undirected\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"8\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P1441> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1441> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it\". } }"}}
{"id": "test_1298", "question": "What are the species of tapirs that have images on Wikimedia Commons?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?species ?speciesLabel ?image WHERE {\n  ?species wdt:P171 wd:Q128001 .\n  ?species wdt:P18 ?image .\n  ?species rdfs:label ?speciesLabel .\n  FILTER ( LANG( ?speciesLabel ) = 'en' )\n}", "paraphrases": ["Can you show me the names and images of all tapir species?", "Which tapir species are documented with photos in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q128001> . ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"he,en\". } }"}}
{"id": "test_1299", "question": "List all species under the cyanobacteria phylum (NCBI ID 1117) with their English names, Wikipedia links, and NCBI IDs.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?taxon ?taxonLabel ?ncbiId ?wikipediaPage WHERE {\n  ?root wdt:P685 \"1117\" .\n  ?taxon wdt:P171 * ?root .\n  ?taxon rdfs:label ?taxonLabel .\n  FILTER(LANG(?taxonLabel) = \"en\")\n  .\n  ?taxon wdt:P105 wd:Q7432 .\n  OPTIONAL {\n    ?taxon wdt:P685 ?ncbiId\n  }\n  .\n  OPTIONAL {\n    ?wikipediaPage schema:about ?taxon ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n}", "paraphrases": ["What are the species in the NCBI taxon 1117 (Cyanobacteriota), and what are their English names, Wikipedia pages, and NCBI identifiers?", "Show me the English names, Wikipedia links, and NCBI IDs of all species that are descendants of the cyanobacteria phylum (NCBI ID 1117)."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 ?var5 WHERE { ?var6 <http://www.wikidata.org/prop/direct/P685> \"1117\". ?var1 <http://www.wikidata.org/prop/direct/P171> * ?var6 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://www.wikidata.org/prop/direct/P105> ?var5 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var7Label . FILTER ( ( ( ?var7Label = \"species\"@en ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P685> ?var3 . } OPTIONAL { ?var4 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } }"}}
{"id": "test_1300", "question": "What is the Chinese label and description of the property related to parent taxon (P171)?", "sparql": "SELECT ?relatedProperty ?label ?description WHERE { wd:P171 wdt:P1659 ?relatedProperty . ?relatedProperty rdfs:label ?label . ?relatedProperty schema:description ?description . FILTER (LANG(?label) = \"zh\") . FILTER (LANG(?description) = \"zh\") . }", "paraphrases": ["Which property is related to the parent taxon property, and what are its Chinese label and description?", "Show me the Chinese label and description of the property that is related to the parent taxon (P171)."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P171> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"zh\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"zh\" ) ) ) . }"}}
{"id": "test_1301", "question": "List five examples of mountains.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?mountain WHERE {\n  ?mountain wdt:P31 wd:Q4022 .\n}\nLIMIT 5", "paraphrases": ["What are five entities that are classified as mountains in Wikidata?", "Show me five items that are instances of the class 'mountain'."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/prop/direct/Q4830453> . } LIMIT 5"}}
{"id": "test_1302", "question": "List all libraries and their branches in English, sorted alphabetically.", "sparql": "SELECT DISTINCT ?item ?itemLabel WHERE { ?item wdt:P31/wdt:P279* wd:Q7075 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } ORDER BY ASC(?itemLabel)", "paraphrases": ["What are the names of all libraries and their subtypes in English, ordered alphabetically?", "Show me the English labels of all entities that are instances of a library or a subclass of a library, sorted by name."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7075> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var2 )"}}
{"id": "test_1303", "question": "Who played which characters in The Lord of the Rings: The Fellowship of the Ring?", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ?actor ?actorLabel ?character ?characterLabel WHERE {\n  wd:Q127367 p:P161 ?statement .\n  ?statement ps:P161 ?actor .\n  ?statement pq:P453 ?character .\n  OPTIONAL {\n    ?actor rdfs:label ?actorLabel .\n    FILTER ( LANG( ?actorLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?character rdfs:label ?characterLabel .\n    FILTER ( LANG( ?characterLabel ) = \"en\" )\n  }\n}", "paraphrases": ["Which actors portrayed which characters in the 2001 film The Fellowship of the Ring?", "List the cast members of The Lord of the Rings: The Fellowship of the Ring along with the names of the characters they played."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } <http://www.wikidata.org/entity/Q127367> <http://www.wikidata.org/prop/direct/P161> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P453> ?var2 . }"}}
{"id": "test_1304", "question": "How many taxonomic items in Wikidata have an ITIS Taxonomic Serial Number?", "sparql": "SELECT (COUNT(?itisId) AS ?count) WHERE { ?item wdt:P815 ?itisId . }", "paraphrases": ["What is the total number of entities in Wikidata that are assigned an ITIS TSN?", "Count the number of Wikidata items that have an Integrated Taxonomic Information System (ITIS) identifier."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P815> ?var1 . }"}}
{"id": "test_1305", "question": "What is the most general category that both Arizona and Nikola Tesla belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?common WHERE {\n  wd:Q35657 wdt:P279 * ?common .\n  wd:Q5 wdt:P279 * ?common .\n}\nORDER BY ASC(?common)\nLIMIT 1", "paraphrases": ["What is the highest-level class that includes both the state of Arizona and the person Nikola Tesla?", "What do Arizona and Nikola Tesla have in common in terms of their classification in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q816> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q9036> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1306", "question": "List of English-named characters from A Song of Ice and Fire", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?character ?characterLabel WHERE {\n  ?character wdt:P31 wd:Q20086260 .\n  ?character rdfs:label ?characterLabel .\n  FILTER ( LANG( ?characterLabel ) = \"en\" )\n}", "paraphrases": ["Who are the characters from A Song of Ice and Fire in English?", "Show me the names of all characters from A Song of Ice and Fire in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.wikidata.org/entity/Q20086260> . }"}}
{"id": "test_1307", "question": "Which taxa have the most proteins associated with them, and what are their NCBI taxonomy IDs?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ( COUNT( ?protein ) AS ?proteinCount ) ?taxon ?taxonLabel ?ncbiTaxId WHERE {\n  ?taxon wdt:P685 ?ncbiTaxId .\n  ?protein wdt:P703 ?taxon .\n  ?protein wdt:P31 wd:Q8054 .\n  ?taxon rdfs:label ?taxonLabel .\n  FILTER ( LANG( ?taxonLabel ) = \"en\" )\n}\nGROUP BY ?taxon ?taxonLabel ?ncbiTaxId", "paraphrases": ["How many proteins are found in each taxon, and what is the English name and NCBI ID of each taxon?", "List all taxa with the count of proteins found in them, along with their English labels and NCBI taxonomy IDs."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ?var4 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P685> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P703> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q8054> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var3 ?var3Label ?var4"}}
{"id": "test_1308", "question": "Animals that are instances of the animal kingdom and their English names.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?animal ?animalLabel WHERE {\n  ?animal wdt:P31 wd:Q729 .\n  ?animal rdfs:label ?animalLabel .\n  FILTER ( LANG( ?animalLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["What are some animals (species or taxa) and their English names in Wikidata?", "List up to 100 animal species or taxa along with their English labels from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q729> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,de\". } } LIMIT 100"}}
{"id": "test_1309", "question": "What is the title of the first episode of Game of Thrones?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?episodeTitle WHERE {\n  wd:Q2614622 wdt:P1476 ?episodeTitle .\n  FILTER(LANG(?episodeTitle) = \"en\")\n}", "paraphrases": ["What is the English title of episode 1 of Game of Thrones?", "Show me the name of the season 1, episode 1 of Game of Thrones."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5398426> . ?var1 <http://www.wikidata.org/prop/P1448> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P1448> ?var2 . ?var3 <http://www.wikidata.org/prop/direct/P179> <http://www.wikidata.org/entity/Q23572> . ?var5 <http://www.wikidata.org/prop/direct/P179> <http://www.wikidata.org/entity/Q23572> . ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3464665> . ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q21191270> . ?var3 <http://www.wikidata.org/prop/direct/P361> ?var5 . ?var5 <http://www.wikidata.org/prop/P179> ?var6 . ?var6 <http://www.wikidata.org/prop/qualifier/P1545> ?var7 . ?var3 <http://www.wikidata.org/prop/P179> ?var8 . ?var8 <http://www.wikidata.org/prop/qualifier/P1545> ?var9 . FILTER ( ( ( ?var9 = \"1\" ) ) ) . FILTER ( ( ( ?var7 = \"1\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1310", "question": "Mountains and their alternative names", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?mountain ?mountainLabel ?alternativeName WHERE {\n  ?mountain wdt:P31 / wdt:P279 * wd:Q8502 .\n  OPTIONAL {\n    ?mountain wdt:P2561 ?alternativeName .\n  }\n  OPTIONAL {\n    ?mountain rdfs:label ?mountainLabel .\n    FILTER(LANG(?mountainLabel) = \"en\")\n  }\n}\nLIMIT 10", "paraphrases": ["What are the names of mountains and what other names are they known by?", "List all mountains along with any alternative names they have in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> * <http://www.wikidata.org/entity/Q201559> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2561> ?var2 . } }"}}
{"id": "test_1311", "question": "Articles published in the International Journal of Systematic Bacteriology, sorted by publication date, issue, and starting page, including volume, DOI, and title.", "sparql": "SELECT ?article ?pubDate ?volume ?issue ?pages ?doi ?jstor ?title WHERE {\n  ?article wdt:P1433 wd:Q26827892 .\n  OPTIONAL { ?article wdt:P577 ?pubDate . }\n  OPTIONAL { ?article wdt:P478 ?volume . }\n  OPTIONAL { ?article wdt:P433 ?issue . }\n  OPTIONAL { ?article wdt:P304 ?pagesRaw . }\n  OPTIONAL { ?article wdt:P356 ?doi . }\n  OPTIONAL { ?article wdt:P888 ?jstor . }\n  OPTIONAL { ?article wdt:P1476 ?title . }\n\n  BIND( REPLACE( ?pagesRaw , \"-\" , \"\u2013\" ) AS ?pages )\n  BIND( IF( CONTAINS( ?pages , \"\u2013\" ) , STRBEFORE( ?pages , \"\u2013\" ) , ?pages ) AS ?startPage )\n  BIND( SUBSTR( ?pubDate , 1 , 10 ) AS ?pubDateShort )\n\n  FILTER( !CONTAINS( ?startPage , \"NP\" ) && !CONTAINS( ?startPage , \"N\" ) )\n}\nORDER BY ASC( ?pubDateShort ) ASC( xsd:integer( ?issue ) ) ASC( xsd:integer( ?startPage ) )", "paraphrases": ["What are the titles, publication dates, volumes, issues, page ranges, DOIs, and JSTOR IDs of all articles published in the International Journal of Systematic Bacteriology, ordered chronologically and by issue and page number?", "List all articles from the International Journal of Systematic Bacteriology with their publication date (year-month-day), volume, issue, start page, DOI, JSTOR ID, and title, sorted by date, then issue, then starting page \u2014 exclude entries with non-numeric page numbers."], "info": {"raw_sparql": "SELECT ?var1 ( SUBSTR ( ?var2 ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3 ) ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1433> <http://www.wikidata.org/entity/Q26827892> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P478> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P433> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P304> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P356> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P888> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var9 . } BIND ( REPLACE ( ?var10 , \"-\", \"\u2013\" ) AS ?var6 ). BIND ( IF ( CONTAINS ( ?var6 , \"\u2013\" ) , STRBEFORE ( ?var6 , \"\u2013\" ) , ?var6 ) AS ?var11 ). BIND ( IF ( CONTAINS ( ?var6 , \"\u2013\" ) , STRAFTER ( ?var6 , \"\u2013\" ) , ?var6 ) AS ?var12 ). } ORDER BY ASC( ?var3 )ASC( <http://www.w3.org/2001/XMLSchema#integer> ( ?var5 ) )ASC( <http://www.w3.org/2001/XMLSchema#integer> ( ?var11 ) )"}}
{"id": "test_1312", "question": "What species and genera are classified under the plant family Pteleocarpaceae?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?taxon WHERE {\n  ?taxon wdt:P171 * wd:Q23938048 .\n}", "paraphrases": ["List all taxa in the Pteleocarpaceae family, including the family itself.", "Which plants belong to the taxonomic group Pteleocarpaceae?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P171> * <http://www.wikidata.org/entity/Q23938048> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1313", "question": "What are the seasons of Game of Thrones, listed in order?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?season ?seasonNumber WHERE {\n  ?episode wdt:P179 wd:Q23572 .\n  ?episode wdt:P4908 ?season .\n  ?season rdfs:label ?seasonNumber .\n  FILTER(LANG(?seasonNumber) = \"en\")\n}\nORDER BY ?seasonNumber", "paraphrases": ["Can you list the Game of Thrones seasons with their numbers, from first to last?", "How are the seasons of Game of Thrones ordered by their release sequence?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3464665> . ?var1 <http://www.wikidata.org/prop/179> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P179> <http://www.wikidata.org/entity/Q23572> . ?var1 <http://www.wikidata.org/prop/qualifier/P1545> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( <http://www.w3.org/2001/XMLSchema#integer> ( ?var2 ) )"}}
{"id": "test_1314", "question": "List characters and locations from Game of Thrones with their images.", "sparql": "SELECT ?item ?image WHERE { ?item wdt:P1441 wd:Q23572 . OPTIONAL { ?item wdt:P18 ?image . } } LIMIT 100", "paraphrases": ["Which characters and places appear in Game of Thrones, and do they have associated images on Wikimedia Commons?", "Show me up to 100 entities from Game of Thrones, including any available images for them."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P1441> <http://www.wikidata.org/entity/Q23572> . OPTIONAL { } OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } } LIMIT 100"}}
{"id": "test_1315", "question": "Polish films with two actors where one actor has a school named after them", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?actor1 ?actor2 ?school ( COUNT( * ) AS ?count ) WHERE {\n  ?film wdt:P161 ?actor1 .\n  ?film wdt:P161 ?actor2 .\n  ?film wdt:P495 wd:Q36 .\n  ?film rdfs:label ?filmLabel .\n  ?school wdt:P31 wd:Q3914 .\n  ?school wdt:P138 ?actor1 .\n  FILTER ( LANG( ?filmLabel ) = \"pl\" ) .\n  FILTER ( STR( ?actor1 ) > STR( ?actor2 ) ) .\n}\nGROUP BY ?actor1 ?actor2 ?school\nORDER BY DESC ( ?count )\nLIMIT 20", "paraphrases": ["Which Polish films feature two actors, and one of them has a school named in their honor?", "List schools named after actors who co-starred in Polish films, along with their co-stars."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( COUNT (* ) AS ?var4 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P161> ?var1 . ?var5 <http://www.wikidata.org/prop/direct/P161> ?var2 . ?var5 <http://www.wikidata.org/prop/direct/P495> <http://www.wikidata.org/entity/Q36> . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6 . ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3914> . ?var3 <http://www.wikidata.org/prop/direct/P138> ?var1 . FILTER ( ( ( LANG ( ?var6 ) = \"pl\" ) ) ) . FILTER ( ( ( STR ( ?var1 ) > STR ( ?var2 ) ) ) ) . } GROUP BY ?var1 ?var2 ?var3 ORDER BY DESC( ?var4 ) LIMIT 20"}}
{"id": "test_1316", "question": "What are all the taxonomic ancestors of the tit family (Paridae)?", "sparql": "SELECT ?ancestor ?ancestorLabel WHERE { wd:Q168473 wdt:P171+ ?ancestor . ?ancestor rdfs:label ?ancestorLabel . FILTER(LANG(?ancestorLabel) = \"en\")}", "paraphrases": ["What higher taxonomic groups does the tit bird family belong to, all the way up the evolutionary tree?", "List all the parent taxa of Paridae (tits), including all levels up to the root, with their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q168473> <http://www.wikidata.org/prop/direct/P171> + ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_1317", "question": "What are the English names of all mountains?", "sparql": "SELECT ?mountainLabel WHERE { ?mountain wdt:P31 wd:Q8502 . ?mountain rdfs:label ?mountainLabel . FILTER(LANG(?mountainLabel) = \"en\") }", "paraphrases": ["What are the names of mountains in English?", "List the English labels of all entities classified as mountains."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> \"string1\"@en . ?var3 <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . }"}}
{"id": "test_1318", "question": "Beetle taxa in the infraorder Cucujiformia that are endemic to New Zealand.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?taxon WHERE {\n  ?taxon wdt:P31 wd:Q16521 .\n  ?taxon wdt:P171 * wd:Q692384 .\n  ?taxon ( wdt:P183 / wdt:P17 ) wd:Q664 .\n}", "paraphrases": ["Which beetle species endemic to New Zealand belong to the infraorder Cucujiformia?", "List all biological taxa that are instances of species, are subtaxa of Cucujiformia, and are endemic to New Zealand."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16521> . ?var1 <http://www.wikidata.org/prop/direct/P171> * <http://www.wikidata.org/entity/Q692384> . ?var1 ( <http://www.wikidata.org/prop/direct/P183> / <http://www.wikidata.org/prop/direct/P17> ) <http://www.wikidata.org/entity/Q664> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_1319", "question": "Species of the genus Angraecum", "sparql": "SELECT ?species WHERE { wd:Q21139 ^wdt:P171+ ?species . }", "paraphrases": ["What are all the species in the Angraecum genus?", "List all plant species that belong to the Angraecum genus."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P171> * <http://www.wikidata.org/entity/Q21139> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1320", "question": "List all species in the genus Quercus.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?oakSpecies WHERE {\n  ?oakSpecies wdt:P171 wd:Q12004 .\n}", "paraphrases": ["What are all the oak species that belong to the genus Quercus?", "Show me all the plant species whose direct parent taxon is the genus Quercus."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P171> <http://www.wikidata.org/entity/Q12004> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_1321", "question": "What are the places associated with Jan Kristian Dam\u00e5s, and where are they located?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?image ?place ?placeLabel ?coord ?propLabel WHERE {\n  wd:Q47504873 ?prop ?place .\n  ?place wdt:P625 ?coord .\n  OPTIONAL {\n    ?place wdt:P18 ?image .\n  }\n  ?propItem wikibase:directClaim ?prop .\n  ?propItem rdfs:label ?propLabel .\n  FILTER ( LANG( ?propLabel ) = \"en\" )\n}", "paraphrases": ["Can you show me the countries and employers linked to Jan Kristian Dam\u00e5s, along with their geographic coordinates and any available images?", "Where has Jan Kristian Dam\u00e5s lived or worked? Please include the location coordinates and images of those places, and name the type of association (e.g., country of citizenship, employer)."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ( ?var4Label AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q47504873> ?var6 ?var2 . ?var2 (( <http://www.wikidata.org/prop/P159> / <http://www.wikidata.org/prop/qualifier/P625> )|( <http://www.wikidata.org/prop/direct/P276> */ <http://www.wikidata.org/prop/direct/P625> )) ?var3 . ?var7 <http://wikiba.se/ontology#directClaim> ?var6 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,nl,no,ru,sv,zh\". } ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . }"}}
{"id": "test_1322", "question": "What are the taxonomic ancestors of Bromus canadensis?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?ancestor WHERE {\n  wd:Q21262296 wdt:P171 * ?ancestor .\n}", "paraphrases": ["What is the full taxonomic hierarchy above Bromus canadensis?", "List all higher taxonomic groups that Bromus canadensis belongs to, from species up to domain."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q21262296> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P171> | <http://www.wikidata.org/prop/direct/P273> | <http://www.wikidata.org/prop/direct/P75> | <http://www.wikidata.org/prop/direct/P76> | <http://www.wikidata.org/prop/direct/P77> | <http://www.wikidata.org/prop/direct/P70> | <http://www.wikidata.org/prop/direct/P71> | <http://www.wikidata.org/prop/direct/P74> | <http://www.wikidata.org/prop/direct/P89> )* ?var1 . }"}}
{"id": "test_1323", "question": "What is the English label and description of the taxon with Titan ID 38386?", "sparql": "SELECT ?taxon ?taxonLabel ?description WHERE { ?taxon wdt:P4125 \"38386\" . OPTIONAL { ?taxon rdfs:label ?taxonLabel . FILTER (LANG(?taxonLabel) = \"en\") } OPTIONAL { ?taxon schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Can you tell me the scientific name and the source citation in English for the beetle species identified by Titan ID 38386?", "Please provide the English name and description of the taxon that has the Titan database identifier 38386."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4125> \"38386\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1324", "question": "What are the most common German descriptions for plant species, and how many species have each description?", "sparql": "SELECT ?germanDescription (COUNT(?species) AS ?count) WHERE { ?species wdt:P31 wd:Q16521 ; wdt:P105 wd:Q7432 ; schema:description \"species of plant\" @en . OPTIONAL { ?species schema:description ?germanDescription . FILTER(LANG(?germanDescription) = \"de\") } FILTER(BOUND(?germanDescription)) } GROUP BY ?germanDescription ORDER BY DESC(?count)", "paraphrases": ["Which German-language species descriptions are most frequently used for plants, based on their English description \"species of plant\"?", "Show the German labels of plant species that are described in English as \"species of plant\", sorted by how many species share each label."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16521> . ?var2 <http://www.wikidata.org/prop/direct/P105> <http://www.wikidata.org/entity/Q7432> . ?var2 <http://schema.org/description> \"string1\"@en . OPTIONAL { ?var2 <http://schema.org/description> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"de\" ) ) ) . } FILTER ( ( BOUND ( ?var1 ) ) ) . } GROUP BY ?var1 ORDER BY DESC( ?var3 )"}}
{"id": "test_1325", "question": "Actors in The Lord of the Rings and their character roles", "sparql": "SELECT DISTINCT ?actorLabel ?roleLabel WHERE { wd:Q190214 wdt:P161 ?actor . ?statement ps:P161 ?actor ; pq:P453 ?role . ?actor rdfs:label ?actorLabel . ?role rdfs:label ?roleLabel . FILTER(LANG(?actorLabel) = \"en\") FILTER(LANG(?roleLabel) = \"en\") } LIMIT 100", "paraphrases": ["Who played which characters in The Lord of the Rings film trilogy?", "List the actors from The Lord of the Rings along with the roles they portrayed."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } ?var3 <http://www.wikidata.org/prop/direct/P161> <http://www.wikidata.org/entity/Q190214> . ?var3 <http://www.wikidata.org/prop/direct/P161> ?var2 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P453> ?var1 . } } LIMIT 100"}}
{"id": "test_1326", "question": "Is there a Wikidata item for the IMDb ID tt3800560?", "sparql": "ASK WHERE { ?item wdt:P345 \"tt3800560\" . }", "paraphrases": ["Does the movie 'Tempestad' have a Wikidata entry linked to its IMDb ID tt3800560?", "Confirm if the IMDb identifier tt3800560 is associated with any item in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt3800560\". }"}}
{"id": "test_1327", "question": "What movie has the IMDb ID tt1454029?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P345 \"tt1454029\" .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["Which film is associated with the IMDb identifier tt1454029?", "Can you tell me the title of the movie with the IMDb ID tt1454029 in English?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1454029\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_1328", "question": "What is the most specific category that both the Brooklyn Bridge and Los Angeles International Airport belong to?", "sparql": "SELECT ?commonClass (COUNT(?ancestor) AS ?depth) WHERE { { wd:Q125006 wdt:P31 ?type1 . ?type1 wdt:P279* ?commonClass . } FILTER EXISTS { wd:Q8731 wdt:P31 ?type2 . ?type2 wdt:P279* ?commonClass . } ?commonClass wdt:P279* ?ancestor . } GROUP BY ?commonClass ORDER BY DESC(?depth) LIMIT 1", "paraphrases": ["What do the Brooklyn Bridge and LAX have in common in terms of their type hierarchy?", "Find the lowest common ancestor in the subclass hierarchy between the Brooklyn Bridge and Los Angeles International Airport."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q125006> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q8731> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1329", "question": "What are all the taxonomic ancestors of Equisetum ramosissimum?", "sparql": "SELECT DISTINCT ?ancestor WHERE { wd:Q256971 wdt:P171* ?ancestor .}", "paraphrases": ["Show the complete taxonomic lineage from Equisetum ramosissimum up to the highest classification level.", "Which higher taxonomic groups does the plant species Equisetum ramosissimum belong to?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q256971> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P171> | <http://www.wikidata.org/prop/direct/P273> | <http://www.wikidata.org/prop/direct/P75> | <http://www.wikidata.org/prop/direct/P76> | <http://www.wikidata.org/prop/direct/P77> | <http://www.wikidata.org/prop/direct/P70> | <http://www.wikidata.org/prop/direct/P71> | <http://www.wikidata.org/prop/direct/P74> | <http://www.wikidata.org/prop/direct/P89> )* ?var1 . }"}}
{"id": "test_1330", "question": "Humans who are architects", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?occupationLabel WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P106 wd:Q42973 .\n  wd:Q42973 rdfs:label ?occupationLabel .\n  FILTER(LANG(?occupationLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Who are the people whose occupation is architect?", "List all humans that have the occupation of architect."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } ?var1 <http://www.wikidata.org/prop/direct/P360> <http://www.wikidata.org/entity/Q5> . OPTIONAL { } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q12737077> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P84> ?var2 . } } LIMIT 100"}}
{"id": "test_1331", "question": "Does the movie with IMDb ID tt5493172 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P345 \"tt5493172\" .\n}", "paraphrases": ["Is there a Wikidata item for the film 'Flower and Sword' identified by the IMDb ID tt5493172?", "Check if the IMDb ID tt5493172 is linked to any item in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5493172\". }"}}
{"id": "test_1332", "question": "What film has the IMDb ID tt0497885?", "sparql": "SELECT ?film WHERE { ?film wdt:P345 \"tt0497885\" . }", "paraphrases": ["Which Wikidata entity corresponds to the IMDb identifier tt0497885?", "Tell me the name of the film with IMDb ID tt0497885."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0497885\". }"}}
{"id": "test_1333", "question": "Show me works with both an OCLC number and a Google Knowledge Graph ID, along with their English titles.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?label ?googleId ?oclcNumber WHERE {\n  ?item wdt:P243 ?oclcNumber ; wdt:P2671 ?googleId .\n  ?item rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Which books or works have both an OCLC control number and a Google Knowledge Graph ID, and what are their English names?", "List the English titles, Google Knowledge Graph IDs, and OCLC numbers of items that have both identifiers."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { BIND ( IRI ( CONCAT ( \"string1\", ?var2 ) ) AS ?var4 ). ?var1 <http://www.wikidata.org/prop/direct/P243> ?var3 ; <http://www.wikidata.org/prop/direct/P2671> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 100"}}
{"id": "test_1334", "question": "All plant species in the Elaeagnaceae family.", "sparql": "SELECT ?species WHERE { ?species wdt:P171* wd:Q156326 .}", "paraphrases": ["What are all the plant species that belong to the Elaeagnaceae family?", "List all taxa (species and varieties) that are descendants of the Elaeagnaceae plant family through the taxonomic hierarchy."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P171> * <http://www.wikidata.org/entity/Q156326> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1335", "question": "How many biological taxa have images on Wikimedia Commons?", "sparql": "SELECT (COUNT(?taxon) AS ?count) WHERE { ?taxon wdt:P31 wd:Q16521 . ?taxon wdt:P18 [] .}", "paraphrases": ["What is the number of taxonomic species or groups in Wikidata that are associated with an image?", "Count the number of biological taxa in Wikidata that have an image attached."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16521> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . }"}}
{"id": "test_1336", "question": "What institutions are associated with Philip Rahtz, their locations, and the nature of the association?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?image ?institution ?institutionLabel ?coordinate ?propertyLabel WHERE {\n  wd:Q7184260 ?property ?institution .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?propertyLabel .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" ) OPTIONAL {\n    ?institution wdt:P18 ?image .\n  }\n  ?institution wdt:P625 ?coordinate .\n  ?institution rdfs:label ?institutionLabel .\n  FILTER ( LANG( ?institutionLabel ) = \"en\" )\n}", "paraphrases": ["Which places or organizations are linked to the British archaeologist Philip Rahtz, what are their geographic coordinates, and how are they connected to him?", "Show me the institutions connected to Philip Rahtz, including their images (if available), coordinates, and the English labels describing their relationship to him."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ( ?var4Label AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q7184260> ?var6 ?var2 . ?var2 (( <http://www.wikidata.org/prop/P159> / <http://www.wikidata.org/prop/qualifier/P625> )|( <http://www.wikidata.org/prop/direct/P276> */ <http://www.wikidata.org/prop/direct/P625> )) ?var3 . ?var7 <http://wikiba.se/ontology#directClaim> ?var6 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,nl,no,ru,sv,zh\". } ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . }"}}
{"id": "test_1337", "question": "What is Adolf Hitler an instance of?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?instanceOf WHERE {\n  wd:Q352 wdt:P31 ?instanceOf .\n}", "paraphrases": ["Instance of type for Adolf Hitler", "Show the class or category that Adolf Hitler belongs to according to Wikidata."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q352> <http://www.wikidata.org/prop/P31> * ?var1 . }"}}
{"id": "test_1338", "question": "Does the TV show Soggy Flakes have an IMDb ID of tt6989110?", "sparql": "ASK WHERE { ?item wdt:P345 \"tt6989110\" . }", "paraphrases": ["Is there a media item in Wikidata with the IMDb identifier tt6989110?", "Does the IMDb ID tt6989110 correspond to any entry in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6989110\". }"}}
{"id": "test_1339", "question": "What are the three taxonomic levels above the blue whale in the biological classification system?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestor ?ancestorLabel WHERE {\n  {\n    wd:Q42196 wdt:P171 ?ancestor .\n  } UNION {\n    wd:Q42196 wdt:P171 ?ancestor1 .\n    ?ancestor1 wdt:P171 ?ancestor .\n  } UNION {\n    wd:Q42196 wdt:P171 ?ancestor1 .\n    ?ancestor1 wdt:P171 ?ancestor2 .\n    ?ancestor2 wdt:P171 ?ancestor .\n  }\n  OPTIONAL {\n    ?ancestor rdfs:label ?ancestorLabel .\n    FILTER ( LANG( ?ancestorLabel ) = \"en\" )\n  }\n}", "paraphrases": ["Show me the family, genus, and superfamily of the blue whale, along with their names.", "What are the immediate, second-level, and third-level parent taxa of Balaenoptera musculus?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q42196> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> \"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P171> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P171> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1340", "question": "What Wikidata item corresponds to the IMDb ID tt0026800?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie WHERE {\n  ?movie wdt:P345 \"tt0026800\" .\n}", "paraphrases": ["Which movie on Wikidata has the IMDb identifier tt0026800?", "Find the Wikidata entity for the film identified by the IMDb ID tt0026800."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0026800\". }"}}
{"id": "test_1341", "question": "Action films released in Germany in 2009 with more than 10 Wikipedia articles, ranked by popularity.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?film ?filmLabel ?releaseDateLabel ?mainSubjectLabel ?directorLabel ?screenwriterLabel ?producerLabel(COUNT(DISTINCT ?wikipediaPage) AS ?wikipediaPageCount) WHERE {\n  ?film wdt:P31 / wdt:P279 * wd:Q11424 .\n  ?film wdt:P136 wd:Q188473 .\n  ?film p:P577 ?statement .\n  ?statement ps:P577 ?releaseDate .\n  ?statement pq:P291 wd:Q183 .\n  FILTER(YEAR(?releaseDate) = 2009)\n  OPTIONAL {\n    ?film wdt:P921 ?mainSubject .\n  }\n  OPTIONAL {\n    ?film wdt:P57 ?director .\n  }\n  OPTIONAL {\n    ?film wdt:P58 ?screenwriter .\n  }\n  OPTIONAL {\n    ?film wdt:P162 ?producer .\n  }\n  ?wikipediaPage schema:about ?film .\n}\nGROUP BY ?film ?filmLabel ?releaseDateLabel ?mainSubjectLabel ?directorLabel ?screenwriterLabel ?producerLabel\nHAVING(?wikipediaPageCount > 10)\nORDER BY DESC(?wikipediaPageCount)", "paraphrases": ["Which action films from Germany released in 2009 have the most Wikipedia pages, and how many are there?", "List the top action films produced in Germany in 2009, sorted by the number of Wikipedia articles about them, showing only those with more than 10 articles."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4Label ?var5Label ?var6Label ?var7Label ?var8Label ( COUNT ( DISTINCT ?var9 ) AS ?var10 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P136> <http://www.wikidata.org/entity/Q188473> . ?var9 <http://schema.org/about> ?var1 . ?var1 <http://www.wikidata.org/prop/P577> ?var11 . ?var11 <http://www.wikidata.org/prop/statement/P577> ?var2 . FILTER ( ( ( YEAR ( ?var2 ) = \"2009\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var11 <http://www.wikidata.org/prop/qualifier/P291> <http://www.wikidata.org/entity/Q183> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P921> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P57> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P58> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P162> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var1Label ?var2Label ?var3Label ?var4Label ?var5Label ?var6Label ?var7Label ?var8Label HAVING ( ( ?var10 > \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var10 )"}}
{"id": "test_1342", "question": "Entities with scientific names and geographic coordinates", "sparql": "SELECT ?item ?scientificName ?coordinate WHERE { ?item wdt:P225 ?scientificName . ?item wdt:P625 ?coordinate . }", "paraphrases": ["Which species or taxa have both a scientific name and a known geographic location?", "Show me the scientific names and locations of all entities that have both a taxon name and coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P225> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P625> [] . }"}}
{"id": "test_1343", "question": "What universities did Gilean McVean attend, when did he study there, and what degrees did he earn?", "sparql": "SELECT ?institution ?institutionLabel ?startDate ?endDate ?degreeLabel WHERE { wd:Q5561586 p:P69 ?statement . ?statement ps:P69 ?institution . ?institution rdfs:label ?institutionLabel . FILTER (LANG(?institutionLabel) = \"en\") . OPTIONAL { ?statement pq:P580 ?startDate . } OPTIONAL { ?statement pq:P582 ?endDate . } OPTIONAL { ?statement pq:P512 ?degree . ?degree rdfs:label ?degreeLabel . FILTER (LANG(?degreeLabel) = \"en\") . } }", "paraphrases": ["Gilean McVean's education history: institutions, dates, and degrees.", "Show me the timeline of Gilean McVean\u2019s academic education, including the universities, start and end years, and degrees obtained."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 ?var5Label WHERE { <http://www.wikidata.org/entity/Q5561586> <http://www.wikidata.org/prop/P69> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P69> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P580> ?var3 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var4 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P512> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_1344", "question": "List of RFCs with their titles and images from Wikidata.", "sparql": "SELECT ?rfc ?rfcLabel ?image WHERE { ?rfc wdt:P31 wd:Q212971 . ?rfc wdt:P1476 ?rfcLabel . OPTIONAL { ?rfc wdt:P18 ?image . } } LIMIT 100", "paraphrases": ["What are the titles of the 100 most recent Request for Comments (RFCs), and do they have associated images on Wikimedia Commons?", "Show me the titles of all RFCs (instances of Request for Comments) and include any available images from Wikimedia Commons, up to 100 results."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q212971> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_1345", "question": "What properties are used to describe the novel *Uncle Tom's Cabin* in Wikidata?", "sparql": "SELECT DISTINCT ?property ?propertyLabel ?propertyDescription WHERE { wd:Q2222 ?propertyUri ?value . FILTER(STRSTARTS(STR(?propertyUri), \"http://www.wikidata.org/prop/direct/\")) BIND(IRI(REPLACE(STR(?propertyUri), \"http://www.wikidata.org/prop/direct/\", \"http://www.wikidata.org/entity/\")) AS ?property) . ?property a wikibase:Property . ?property rdfs:label ?propertyLabel . ?property schema:description ?propertyDescription . FILTER(LANG(?propertyLabel) = \"en\") FILTER(LANG(?propertyDescription) = \"en\") } LIMIT 100", "paraphrases": ["Which Wikidata properties link *Uncle Tom's Cabin* to other entities, and what are their English labels and descriptions?", "Show me the English labels and descriptions of all properties that are used in statements about *Uncle Tom's Cabin*."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q2222> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_1346", "question": "What are some subfields within the history of technology?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P361 wd:Q465352 .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["Can you list the parts of the history of technology, such as specific technological developments with their own histories?", "Show me the English-labeled topics that are considered parts of the history of technology."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/PP361> <http://www.wikidata.org/entity/Q465352> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_1347", "question": "Which Wikidata item has the Twitter username \"Macky_Sall\" and how many Wikipedia sitelinks does it have?", "sparql": "SELECT ?item ?username (COUNT(?sitelink) AS ?sitelinkCount) WHERE { ?item wdt:P2002 ?username . ?sitelink schema:about ?item . VALUES ?username { \"Macky_Sall\" } } GROUP BY ?item ?username ORDER BY ?sitelinkCount", "paraphrases": ["Who is the person on Wikidata with the Twitter handle \"Macky_Sall\", and how many language versions of Wikipedia link to their page?", "Show me the Wikidata entity for the Twitter user \"Macky_Sall\" along with the count of Wikipedia articles linked to it."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"Macky_Sall\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_1348", "question": "Taxa named by Carl Linnaeus", "sparql": "SELECT ?taxon ?taxonLabel WHERE { ?taxon wdt:P31 wd:Q16521 . ?taxon p:P225 ?taxonNameStatement . ?taxonNameStatement pq:P405 wd:Q1043 . ?taxon rdfs:label ?taxonLabel . FILTER(LANG(?taxonLabel) = \"en\") }", "paraphrases": ["Which species were described by Carl Linnaeus?", "List the English names of all biological taxa that Carl Linnaeus classified."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16521> . ?var1 <http://www.wikidata.org/prop/P225> ?var2 . ?var2 <http://www.wikidata.org/prop/statement/P225> [] ; <http://www.wikidata.org/prop/qualifier/P405> <http://www.wikidata.org/entity/Q1043> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,en\". } }"}}
{"id": "test_1349", "question": "What Wikipedia articles exist in English, German, or Finnish for the movie with IMDb ID tt4614936?", "sparql": "SELECT ?item ?wikipedia_page WHERE { ?item wdt:P345 \"tt4614936\" . ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang . VALUES ?lang { \"en\" \"de\" \"fi\" } }", "paraphrases": ["Which Wikipedia pages in English, German, or Finnish are about the movie identified by IMDb ID tt4614936?", "Please show me the Wikipedia links in English, German, or Finnish for the film with IMDb ID tt4614936."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt4614936\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"fi\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1350", "question": "What is the English title of the movie with IMDb ID tt0057187?", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P345 \"tt0057187\" . ?item rdfs:label ?itemLabel . FILTER(langMatches(lang(?itemLabel), \"en\")) }", "paraphrases": ["Which movie is identified by the IMDb code tt0057187?", "Can you tell me the name of the film with IMDb identifier tt0057187?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0057187\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_1351", "question": "Artists in Webumenia without both English and Slovak labels.", "sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 wdt:P4887 ?var2 . ?var1 rdfs:label ?var1Label . FILTER NOT EXISTS { ?var1 rdfs:label ?enLabel FILTER(LANG(?enLabel) = \"en\") . ?var1 rdfs:label ?skLabel FILTER(LANG(?skLabel) = \"sk\") . } } LIMIT 1000", "paraphrases": ["Which artists in the Webumenia database do not have labels in both English and Slovak?", "Show me the names of Webumenia artists who are not labeled in both English and Slovak."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4887> ?var2 . FILTER ( ( NOT EXISTS { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"sk\" ) ) ) . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,sk,de,fr\". } } LIMIT 1000"}}
{"id": "test_1352", "question": "Martinique population, continent, official website, administrative divisions, and English Wikipedia page.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?entity ?entityLabel ?population ?continent ?officialWebsite ( GROUP_CONCAT( DISTINCT ?admDivLabel ; SEPARATOR = \", \" ) AS ?administrativeDivisions ) ( GROUP_CONCAT( DISTINCT ?borderLabel ; SEPARATOR = \", \" ) AS ?borders ) ?wikipediaPage WHERE {\n  BIND( wd:Q17054 AS ?entity ) ?entity rdfs:label ?entityLabel .\n  FILTER ( LANG( ?entityLabel ) = \"en\" ) OPTIONAL {\n    ?entity wdt:P1082 ?population\n  }\n  OPTIONAL {\n    ?entity wdt:P30 ?continent\n  }\n  OPTIONAL {\n    ?entity wdt:P856 ?officialWebsite\n  }\n  OPTIONAL {\n    ?entity wdt:P150 ?admDiv .\n    ?admDiv rdfs:label ?admDivLabel .\n    FILTER ( LANG( ?admDivLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?entity wdt:P47 ?border .\n    ?border rdfs:label ?borderLabel .\n    FILTER ( LANG( ?borderLabel ) = \"en\" )\n  }\n  ?wikipediaPage schema:about ?entity ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n}\nGROUP BY ?entity ?entityLabel ?population ?continent ?officialWebsite ?wikipediaPage", "paraphrases": ["What is the population, continent, official website, and list of administrative divisions of Martinique, and what is its English Wikipedia page?", "Please provide Martinique\u2019s English Wikipedia link along with its population, continent, official website, and the names of its administrative divisions."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var4 )( SAMPLE ( ?var5 ) AS ?var6 ) WHERE { ?var5 <http://schema.org/about> ?var1 ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . FILTER ( ( ( ?var1 = <http://www.wikidata.org/entity/Q17054> ) ) ) . OPTIONAL { VALUES ( ?var7 ) { ( <http://www.wikidata.org/prop/direct/P1082> ) ( <http://www.wikidata.org/prop/direct/P30> ) ( <http://www.wikidata.org/prop/direct/P856> ) ( <http://www.wikidata.org/prop/direct/P150> ) ( <http://www.wikidata.org/prop/direct/P47> ) } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } GROUP BY ?var1 ?var1Label ?var2"}}
{"id": "test_1353", "question": "All plant species in the family Podostemaceae.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?taxon WHERE {\n  ?taxon wdt:P171 * wd:Q132061 .\n}", "paraphrases": ["What are all the species that belong to the Podostemaceae family?", "List all taxonomic descendants of the plant family Podostemaceae."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P171> * <http://www.wikidata.org/entity/Q132061> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1354", "question": "Where did Peter Naur study, and when did he attend the institution? Did he earn any academic degree there?", "sparql": "SELECT ?institution ?institutionLabel ?startDate ?endDate ?degreeLabel WHERE { wd:Q92618 p:P69 ?statement . ?statement ps:P69 ?institution . ?institution rdfs:label ?institutionLabel . FILTER(LANG(?institutionLabel) = \"en\") OPTIONAL { ?statement pq:P580 ?startDate . } OPTIONAL { ?statement pq:P582 ?endDate . } OPTIONAL { ?statement pq:P512 ?degree . ?degree rdfs:label ?degreeLabel . FILTER(LANG(?degreeLabel) = \"en\") } }", "paraphrases": ["Peter Naur\u2019s alma mater and associated academic degree, start and end dates.", "Show me the educational institution Peter Naur attended, along with any start/end dates and degrees earned, in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 ?var5Label WHERE { <http://www.wikidata.org/entity/Q92618> <http://www.wikidata.org/prop/P69> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P69> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P580> ?var3 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var4 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P512> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_1355", "question": "Non-fiction history books", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P136 wd:Q213051 ; wdt:P136 wd:Q309 ; wdt:P31 / wdt:P279 * wd:Q386724 .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["What are some non-fiction books about history?", "List creative works that are both historical and non-fiction."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P136> <http://www.wikidata.org/entity/Q213051> ; <http://www.wikidata.org/prop/direct/P136> <http://www.wikidata.org/entity/Q309> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_1356", "question": "Taxonomic ranks and their higher-order classes starting from taxon", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?rank ?rankLabel ?nextRank WHERE {\n  VALUES ?rank {\n    wd:Q16521 wd:Q24017414 wd:Q24017465 wd:Q24027474 wd:Q24027515 wd:Q24027526 wd:Q23958852\n  }\n  ?rank wdt:P31 ?nextRank .\n  ?rank rdfs:label ?rankLabel .\n  FILTER(LANG(?rankLabel) = \"en\")\n}", "paraphrases": ["What are the instance-of relationships in the hierarchy of taxonomic ranks, starting from taxon?", "Show me the chain of taxonomic rank classes where each is an instance of the next, beginning with taxon."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q16521> <http://www.wikidata.org/prop/direct/P31> * ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1357", "question": "Wikipedia pages in English, German, or Finnish for the movie with IMDb ID tt5543600", "sparql": "SELECT ?movie ?wikipedia_page WHERE { VALUES ?imdb_id { \"tt5543600\" } ?movie wdt:P345 ?imdb_id . ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang IN (\"en\", \"de\", \"fi\")) }", "paraphrases": ["What are the Wikipedia articles in English, German, or Finnish about the movie \"Lapland Odyssey 3\"?", "Show me the Finnish, German, or English Wikipedia links for the movie identified by IMDb ID tt5543600."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5543600\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"fi\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1358", "question": "All plant taxa in the Gentianaceae family.", "sparql": "SELECT ?taxon WHERE { ?taxon wdt:P171* wd:Q157216 .}", "paraphrases": ["What are all the species and subtaxa belonging to the Gentianaceae plant family?", "List every taxon, from subfamilies to species, that are classified under the Gentianaceae family."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P171> * <http://www.wikidata.org/entity/Q157216> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1359", "question": "What is the Wikidata item for the movie with IMDb ID tt0059036?", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P345 \"tt0059036\" . ?item rdfs:label ?itemLabel . FILTER(langMatches(lang(?itemLabel), \"en\")) }", "paraphrases": ["Which movie on Wikidata has the IMDb identifier tt0059036?", "Show me the English title of the movie with IMDb ID tt0059036."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0059036\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_1360", "question": "People with National Library of Poland IDs and their occupations", "sparql": "SELECT ?personLabel ?nlpId ?person ?occupationLabel ?occupation WHERE { ?person wdt:P1695 ?nlpId . ?person wdt:P106 ?occupation . ?person rdfs:label ?personLabel . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?personLabel) = \"en\") FILTER(LANG(?occupationLabel) = \"en\") } LIMIT 100", "paraphrases": ["Who are the people listed in the National Library of Poland\u2019s database, and what are their occupations?", "List the names and occupations of individuals who have a National Library of Poland ID, with labels in English."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var1 ?var3Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1695> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P21> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl\". } } LIMIT 100"}}
{"id": "test_1361", "question": "List all BVMC person IDs with 'string1' prepended.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT(CONCAT(\"string1\" , STR(?bvmcId)) AS ?formattedId) WHERE {\n  ?item wdt:P2799 ?bvmcId .\n}", "paraphrases": ["What are the BVMC IDs of authors on the Biblioteca Virtual Miguel de Cervantes, formatted as 'string1' followed by the ID?", "Provide a list of all BVMC identifiers for authors, each prefixed with 'string1'."], "info": {"raw_sparql": "SELECT( CONCAT ( \"string1\", STR ( ?var1 ) ) AS ?var2 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P2799> ?var1 . }"}}
{"id": "test_1362", "question": "Which Wikidata item has the Twitter username \"envlh\"?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"envlh\" } }", "paraphrases": ["Who is the person on Wikidata with the Twitter handle envlh?", "Find the Wikidata entity linked to the Twitter account envlh."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"CaughtCctv\" ) ( \"ncommiss\" ) ( \"string1\" ) ( \"string2\" ) ( \"IPR_Odisha\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_1363", "question": "What are the Spanish-labeled properties and values for the musical work \"Symphony, K. 45a\"?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?item ?itemLabel ?property ?propertyLabel ?value ?valueLabel WHERE {\n  BIND(wd:Q1318595 AS ?item)\n  ?item ?property ?value .\n  ?item rdfs:label ?itemLabel .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?propertyLabel .\n  ?value rdfs:label ?valueLabel .\n  FILTER(LANG(?itemLabel) = \"es\")\n  FILTER(LANG(?propertyLabel) = \"es\")\n  FILTER(LANG(?valueLabel) = \"es\")\n}", "paraphrases": ["Can you show me all the statements about Symphony K. 45a in Spanish, including the property names and object labels?", "List the Spanish translations of the properties and values associated with Mozart\u2019s Symphony K. 45a."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5Label ?var6 ?var7 WHERE { BIND ( <http://www.wikidata.org/entity/Q1318595> AS ?var1 ). ?var1 ?var2 ?var4 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var8 ?var9 ?var2 . ?var8 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"es\" ) ) ) . }"}}
{"id": "test_1364", "question": "Creative works without BnF IDs but with authors who have BnF IDs.", "sparql": "SELECT ?work ?title ?author WHERE { ?work wdt:P31 wd:Q17537576 . ?work wdt:P1476 ?title . ?work wdt:P50 ?author . ?author wdt:P268 ?bnfId . FILTER NOT EXISTS { ?work wdt:P268 ?workBnfId . } }", "paraphrases": ["Which creative works do not have a Biblioth\u00e8que nationale de France ID, but whose authors do?", "Show me titles and authors of creative works that lack a BnF identifier, but whose authors are identified in the French national library."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q17537576> . ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P50> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var5 <http://www.wikidata.org/prop/direct/P268> ?var6 . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P268> ?var7 . } ) ) . }"}}
{"id": "test_1365", "question": "Wikipedia pages in English, German, or Danish about the movie with IMDb ID tt1298847.", "sparql": "SELECT ?movie ?wikipediaPage WHERE { ?movie wdt:P345 \"tt1298847\" . ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang . VALUES ?lang { \"en\" \"de\" \"da\" } }", "paraphrases": ["Which Wikipedia articles in English, German, or Danish are about the movie 'Oldboys' (IMDb ID: tt1298847)?", "Show me the Danish and English Wikipedia pages for the film 'Oldboys' identified by IMDb ID tt1298847."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1298847\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"da\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1366", "question": "Composers born in, died in, or lived in Vienna and their musical works with tonalities.", "sparql": "SELECT ?composer ?composerLabel ?image ?key ?keyLabel ?work ?workLabel WHERE { ?composer wdt:P31 wd:Q5 ; (wdt:P19 | wdt:P20 | wdt:P551) wd:Q1741 . OPTIONAL { ?composer wdt:P18 ?image . } ?work wdt:P86 ?composer ; wdt:P826 ?key . ?composer rdfs:label ?composerLabel . ?key rdfs:label ?keyLabel . ?work rdfs:label ?workLabel . FILTER(LANG(?composerLabel) = \"en\") FILTER(LANG(?keyLabel) = \"en\") FILTER(LANG(?workLabel) = \"en\") } ORDER BY ASC(?composerLabel) ASC(?keyLabel)", "paraphrases": ["Which composers associated with Vienna have written musical works in specific keys, and what are those keys and works?", "Show me a list of composers connected to Vienna, along with the musical works they composed and the key each work is in, including their images if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; ( <http://www.wikidata.org/prop/direct/P19> | <http://www.wikidata.org/prop/direct/P20> | <http://www.wikidata.org/prop/direct/P551> ) <http://www.wikidata.org/entity/Q1741> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } ?var4 <http://www.wikidata.org/prop/direct/P86> ?var1 ; <http://www.wikidata.org/prop/direct/P826> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],de-at,de\". } } ORDER BY ASC( ?var1Label )ASC( ?var3Label )"}}
{"id": "test_1367", "question": "What is the English label and description of the Completion stage in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?label ?description WHERE {\n  wd:Q5156547 rdfs:label ?label .\n  wd:Q5156547 schema:description ?description .\n  FILTER(LANG(?label) = \"en\")\n  FILTER(LANG(?description) = \"en\")\n}", "paraphrases": ["Can you show me the English name and definition of the Completion stage?", "What does Wikidata say about the Completion stage in English?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q5156547> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_1368", "question": "Taxonomic ancestors of the giant panda and their parent taxa", "sparql": "SELECT ?taxon ?taxonLabel ?grandTaxon ?grandTaxonLabel WHERE { wd:Q33602 wdt:P171* ?taxon . ?taxon rdfs:label ?taxonLabel . FILTER(LANG(?taxonLabel) = \"en\") . OPTIONAL { ?taxon wdt:P171 ?grandTaxon . ?grandTaxon rdfs:label ?grandTaxonLabel . FILTER(LANG(?grandTaxonLabel) = \"en\") } }", "paraphrases": ["What are all the taxonomic classifications above the giant panda, and what is the classification above each of them?", "Show me the full taxonomic hierarchy of the giant panda, including each level and its immediate parent."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q33602> <http://www.wikidata.org/prop/direct/P279> * ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1369", "question": "Which Wikidata items have the Twitter usernames \"envlh\", \"mesosphere\", or \"nightrose\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"envlh\" \"mesosphere\" \"nightrose\"\n  }\n}\nORDER BY ?username", "paraphrases": ["Who are the people or organizations on Wikidata that use \"envlh\", \"mesosphere\", or \"nightrose\" as their Twitter/X handles?", "List the Wikidata entities associated with the Twitter usernames envlh, mesosphere, and nightrose."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"geekezig\" ) ( \"mesosphere\" ) ( \"MaelLeHir\" ) ( \"nightrose\" ) ( \"string1\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_1370", "question": "List species from Wikidata that have pages on Species Wikidata, along with their names and page URLs.", "sparql": "SELECT ?item (SAMPLE(?label) AS ?itemLabel) ?page WHERE { ?page schema:about ?item . ?page schema:isPartOf <https://species.wikimedia.org/> . ?item rdfs:label ?label . } GROUP BY ?item ?page ORDER BY ?item LIMIT 10", "paraphrases": ["Which Wikidata items about biological species are linked to pages on species.wikimedia.org, and what are their labels and page links?", "Show me the Wikidata entities for species that are documented on Species Wikidata, including their common or scientific names and the URLs of their Species Wikidata pages."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 WHERE { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/isPartOf> <https://species.wikimedia.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 10"}}
{"id": "test_1371", "question": "What are the Freebase ID, Rotten Tomatoes ID, AllMovie ID, Bechdel Test ID, main subject, and namesake of the film with IMDb ID tt0947798?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?film ?freebase ?rotten_tomatoes ?allmovie ?bechdel ?main_subject ?main_subjectLabel ?named_after ?named_afterLabel WHERE {\n  ?film wdt:P345 \"tt0947798\" .\n  OPTIONAL {\n    ?film wdt:P646 ?freebase .\n  }\n  OPTIONAL {\n    ?film wdt:P1258 ?rotten_tomatoes .\n  }\n  OPTIONAL {\n    ?film wdt:P1562 ?allmovie .\n  }\n  OPTIONAL {\n    ?film wdt:P4632 ?bechdel .\n  }\n  OPTIONAL {\n    ?film wdt:P921 ?main_subject .\n  }\n  OPTIONAL {\n    ?film wdt:P138 ?named_after .\n  }\n  OPTIONAL {\n    ?main_subject rdfs:label ?main_subjectLabel .\n    FILTER(LANG(?main_subjectLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?named_after rdfs:label ?named_afterLabel .\n    FILTER(LANG(?named_afterLabel) = \"en\")\n  }\n}\nLIMIT 1", "paraphrases": ["Which film has the IMDb ID tt0947798, and what is its main subject and what is it named after?", "Please provide the external identifiers (Freebase, Rotten Tomatoes, AllMovie, Bechdel Test) and the main theme and namesake of the movie Black Swan (IMDb: tt0947798)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var5Label ?var6 ?var7 ?var7Label ?var8 ?var9 ?var9Label ?var10 ?var10Label ?var11 ?var11Label ?var12 ?var12Label ?var13 ?var14 ?var14Label ?var15 ?var15Label ?var16 ?var16Label ?var17 ?var17Label ?var18 ?var18Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0947798\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P646> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1258> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1562> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1552> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P4632> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P144> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3417> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P135> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2408> ?var11 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P156> ?var12 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P154> ?var13 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P155> ?var14 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P921> ?var15 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P179> ?var16 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P921> ?var17 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P138> ?var18 . } } LIMIT 1"}}
{"id": "test_1372", "question": "What properties are related to the GND ID in Wikidata?", "sparql": "SELECT ?property ?propertyLabel ?propertyDescription WHERE { wd:P227 wdt:P1659 ?property . ?property rdfs:label ?propertyLabel . ?property schema:description ?propertyDescription . FILTER (LANG(?propertyLabel) = \"en\") FILTER (LANG(?propertyDescription) = \"en\") }", "paraphrases": ["Which identifier properties in Wikidata are linked to the German National Library ID (GND, P227), and what are their English labels and descriptions?", "List all Wikidata properties that are related to the GND ID (P227), along with their English labels and descriptions."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P227> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . }"}}
{"id": "test_1373", "question": "People with SHARE Catalogue author IDs and their occupations, sorted by occupation name in descending order.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?person ?personLabel ?occupation ?occupationLabel WHERE {\n  ?person wdt:P3987 ?shareId .\n  ?person wdt:P106 ?occupation .\n  ?person rdfs:label ?personLabel .\n  ?occupation rdfs:label ?occupationLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n  FILTER(LANG(?occupationLabel) = \"en\")\n}\nORDER BY DESC(?occupationLabel)\nLIMIT 1000", "paraphrases": ["Who are the people listed in the SHARE Catalogue and what are their occupations, ordered from Z to A by job title?", "List the English names of people who have a SHARE Catalogue author ID along with their occupations, sorted in reverse alphabetical order by occupation."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3987> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var2 . } } ORDER BY DESC( ?var2Label ) LIMIT 1000"}}
{"id": "test_1374", "question": "What is the movie with IMDb ID tt0047444?", "sparql": "SELECT ?item ?label WHERE { ?item wdt:P345 \"tt0047444\" . ?item rdfs:label ?label . FILTER(LANGMATCHES(LANG(?label), \"en\")) }", "paraphrases": ["Can you tell me the English title of the film identified by the IMDb code tt0047444?", "Which film in Wikidata has the IMDb identifier tt0047444?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0047444\". }"}}
{"id": "test_1375", "question": "Image of John Connally with SNAC ARK ID w6794hs4", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?person wdt:P3430 \"w6794hs4\" .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the Wikimedia Commons image associated with John Connally\u2019s SNAC ARK ID?", "Show me the picture of the person whose SNAC ARK ID is w6794hs4."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6794hs4\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_1376", "question": "What Wikidata item has the IMDb ID tt0428803?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P345 \"tt0428803\" .\n}", "paraphrases": ["Which movie is identified by the IMDb ID tt0428803?", "Show me the Wikidata entry for the movie with IMDb ID tt0428803."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0428803\". }"}}
{"id": "test_1377", "question": "What properties does the Japan Meteorological Agency use, and what are their values and corresponding Japanese Wikipedia pages?", "sparql": "SELECT ?var1 ?var2Label ?var3Label ?var4 ?var5 WHERE { wd:Q860935 ?var1 ?var3 . ?var2 wikibase:directClaim ?var1 . ?var2 rdfs:label ?var2Label . FILTER(LANG(?var2Label) = \"en\") ?var3 rdfs:label ?var3Label . FILTER(LANG(?var3Label) = \"en\") OPTIONAL { ?var2 wdt:P1630 ?var4 . } OPTIONAL { ?var5 schema:about ?var3 ; schema:inLanguage \"ja\" ; schema:isPartOf <https://ja.wikipedia.org/> . FILTER(STRSTARTS(STR(?var5), \"https://ja.wikipedia.org/wiki/\")) } }", "paraphrases": ["Which Wikidata properties are associated with the Japan Meteorological Agency, and for each, what is the English label of the property and its value, along with the Japanese Wikipedia page if it exists?", "List all properties of the Japan Meteorological Agency with their English labels, the English labels of their values, and the Japanese Wikipedia links to those values."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label ?var4 ?var5 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". <http://www.wikidata.org/entity/Q860935> ?var1 ?var3 . ?var2 <http://wikiba.se/ontology#directClaim> ?var1 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P1630> ?var4 . } OPTIONAL { ?var5 <http://schema.org/about> ?var3 . ?var5 <http://schema.org/inLanguage> \"ja\". FILTER ( ( ( SUBSTR ( STR ( ?var5 ) ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"25\"^^<http://www.w3.org/2001/XMLSchema#integer> ) = \"string1\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja,en\". } }"}}
{"id": "test_1378", "question": "What is the full URL for the SUDOC edition ID \"156576252\" of the comic book \"Pour la vie\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?url WHERE {\n  wd:Q19184969 wdt:P1025 \"156576252\" .\n  wd:P1025 wdt:P1630 ?formatter .\n  BIND(REPLACE(?formatter , \"\\\\$1\" , \"156576252\") AS ?url)\n}", "paraphrases": ["How can I construct the web link for the SUDOC identifier of the comic album \"Pour la vie\"?", "Show me the formatted URL generated from the SUDOC edition number 156576252 using Wikidata\u2019s formatter URL template."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { BIND ( IRI ( REPLACE ( \"156576252\", \"^(.+)$\", ?var3 ) ) AS ?var2 ). <http://www.wikidata.org/entity/Q19184969> ?var4 \"156576252\". ?var5 <http://wikiba.se/ontology#directClaim> ?var4 . ?var5 <http://wikiba.se/ontology#propertyType> <http://wikiba.se/ontology#ExternalId> . ?var5 <http://www.wikidata.org/prop/direct/P1630> ?var3 . }"}}
{"id": "test_1379", "question": "What medical condition is associated with the NCI Thesaurus ID statement identified by s:Q19000772-D7DC7903-4E99-4572-A913-79EB21D3E546?", "sparql": "SELECT ?entity ?property WHERE { ?entity ?property s:Q19000772-D7DC7903-4E99-4572-A913-79EB21D3E546 . }", "paraphrases": ["Which property and entity does the statement s:Q19000772-D7DC7903-4E99-4572-A913-79EB21D3E546 represent?", "For the NCI Thesaurus ID claim on ovarian dermoid cyst with leiomyosarcoma, what is the property and subject?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q19000772-D7DC7903-4E99-4572-A913-79EB21D3E546> . }"}}
{"id": "test_1380", "question": "Which Wikidata entities have the Twitter usernames \"nginx\" or \"envlh\"?", "sparql": "SELECT ?entity ?username WHERE { ?entity wdt:P2002 ?username . VALUES ?username { \"nginx\" \"envlh\" } }", "paraphrases": ["Who or what on Wikidata uses the Twitter handles \"nginx\" and \"envlh\"?", "Show me the Wikidata items linked to the Twitter accounts nginx and envlh."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"K_rho\" ) ( \"nginx\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_1381", "question": "List all taxonomic ranks with their English labels.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?taxonomicRank ?taxonomicRankLabel WHERE {\n  ?taxonomicRank wdt:P31 wd:Q427626 .\n  ?taxonomicRank rdfs:label ?taxonomicRankLabel .\n  FILTER(LANG(?taxonomicRankLabel) = 'en')\n}", "paraphrases": ["What are the different taxonomic ranks used in biological classification, and what are their English names?", "Can you provide a list of all taxonomic ranks in Wikidata along with their English labels?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q427626> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ar\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } }"}}
{"id": "test_1382", "question": "Fictional characters from Walt Disney Pictures movies and their images", "sparql": "SELECT DISTINCT ?character ?characterLabel ?image WHERE { ?work wdt:P272 wd:Q191224 . ?character wdt:P1441 ?work . ?character wdt:P18 ?image . ?character rdfs:label ?characterLabel . FILTER(LANG(?characterLabel) = \"en\") }", "paraphrases": ["Which fictional characters appear in Walt Disney Pictures films, and what are their images?", "Show me the images of all characters featured in Walt Disney Pictures productions, along with their names."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P272> <http://www.wikidata.org/entity/Q191224> . ?var1 <http://www.wikidata.org/prop/direct/P1441> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1383", "question": "Items that are facets of the animal kingdom", "sparql": "SELECT ?item ?itemLabel WHERE { ?item p:P1269 ?statement . ?statement ps:P1269 wd:Q729 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["What topics are considered aspects of animals?", "List all English-labeled concepts that are categorized as facets of the animal kingdom."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P1269> <http://www.wikidata.org/entity/Q729> . ?var1 <http://www.wikidata.org/prop/P1269> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_1384", "question": "What are the most common English descriptions of taxa ranked as \"\u0646\u0648\u0639\" (species) in Arabic, and how many times do they appear?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?rankArabic ?description ?lang(COUNT(?description) AS ?count) WHERE {\n  ?taxon wdt:P105 ?rank .\n  ?rank rdfs:label ?rankArabic\n  FILTER(LANG(?rankArabic) = \"ar\")\n  .\n  ?taxon schema:description ?description\n  FILTER(LANG(?description) = \"en\")\n  .\n  FILTER(CONTAINS(LCASE(?description) , \"species of\"))\n  .\n  BIND(LANG(?description) AS ?lang)\n}\nGROUP BY ?rankArabic ?description ?lang\nORDER BY DESC(?count)\nLIMIT 100", "paraphrases": ["Which English descriptions starting with \"species of\" are most frequently used for taxa whose taxonomic rank is \"\u0646\u0648\u0639\" in Arabic, and how often do they occur?", "Show me the top 100 English descriptions of taxa (starting with \"species of\") grouped by their Arabic taxon rank (\"\u0646\u0648\u0639\") and count how many times each description appears."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( COUNT ( ?var2 ) AS ?var4 ) WHERE { BIND ( LANG ( ?var2 ) AS ?var3 ). ?var5 <http://schema.org/description> \"string1\"@en . ?var5 <http://schema.org/description> ?var2 . ?var5 <http://www.wikidata.org/prop/direct/P105> ?var6 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"ar\" ) ) ) . } GROUP BY ?var2 ?var3 ?var1 ORDER BY DESC( ?var4 ) LIMIT 100"}}
{"id": "test_1385", "question": "Which film has the IMDb ID tt0018810?", "sparql": "SELECT ?film WHERE { ?film wdt:P345 \"tt0018810\" . }", "paraphrases": ["Find the film with IMDb ID tt0018810.", "Tell me the title of the movie identified by tt0018810 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0018810\". }"}}
{"id": "test_1386", "question": "What entities and properties are connected to the human frataxin gene (Q14907844)?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subject ?property WHERE {\n  ?subject ?property wd:Q14907844 .\n}", "paraphrases": ["Which genes, proteins, or microRNAs are related to the human frataxin gene, and how are they related?", "Show me all the relationships involving the human frataxin gene, including direct links and statement-level associations."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q14907844> . }"}}
{"id": "test_1387", "question": "Arabic and English labels for taxonomic ranks.", "sparql": "SELECT ?taxonRank ?arLabel ?enLabel WHERE { ?taxonRank wdt:P31 wd:Q427626 . ?taxonRank rdfs:label ?arLabel . FILTER (LANG(?arLabel) = \"ar\") . ?taxonRank rdfs:label ?enLabel . FILTER (LANG(?enLabel) = \"en\") . } LIMIT 100", "paraphrases": ["What are the Arabic and English names of all taxonomic ranks in Wikidata?", "Show me the Arabic and English labels for each entity that is an instance of a taxonomic rank, such as subphylum or variety."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q427626> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"ar\" ) ) ) . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_1388", "question": "Persian-language names of administrative territorial entities on Wikidata.", "sparql": "SELECT DISTINCT ?label WHERE { ?territory wdt:P31 wd:Q56061 . ?territory rdfs:label ?label . FILTER(LANG(?label) = \"fa\") }", "paraphrases": ["What are the Persian (Farsi) names of administrative divisions listed on Wikidata?", "Show me all the labels in Persian for places that are administrative territorial entities, such as cities, regions, or districts."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q56061> . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"fa\" ) ) ) . } }"}}
{"id": "test_1389", "question": "Which countries have 3-digit local administrative unit codes, and how many such codes do they have?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?country(COUNT(DISTINCT ?lauCode) AS ?lauCount)(SAMPLE(?lauCode) AS ?sampleLauCode)(SAMPLE(?administrativeUnit) AS ?sampleAdministrativeUnit) WHERE {\n  ?administrativeUnit wdt:P782 ?lauCode .\n  FILTER(STRLEN(?lauCode) = 3)\n  ?administrativeUnit wdt:P17 ?country .\n}\nGROUP BY ?country", "paraphrases": ["Can you show me the country with the most 3-digit LAU codes, along with one example of such a code and the administrative unit it belongs to?", "What are the 3-digit LAU codes used in Finland, and which administrative units do they identify?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 )( SAMPLE ( ?var2 ) AS ?var4 )( SAMPLE ( ?var5 ) AS ?var6 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P782> ?var2 . FILTER ( ( ( STRLEN ( ?var2 ) = \"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var5 <http://www.wikidata.org/prop/direct/P17> ?var1 . } GROUP BY ?var1"}}
{"id": "test_1390", "question": "Persian-labeled geographic locations on dry land", "sparql": "SELECT DISTINCT ?label ?item WHERE { ?item wdt:P31 ?class . ?class (wdt:P31|wdt:P279)* wd:Q11081619 . ?item rdfs:label ?label . FILTER(LANG(?label) = \"fa\") }", "paraphrases": ["What places in Persian are classified as being on dry land?", "List all entities with Persian labels that are instances of classes subclassing dry land (e.g., parks, towns, or natural features)."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { { ?var2 <http://www.wikidata.org/prop/direct/P31> ?var3 . ?var3 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> )* <http://www.wikidata.org/entity/Q11081619> . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"fa\" ) ) ) . } }"}}
{"id": "test_1391", "question": "German local administrative units classified as LAU 2 without official municipality keys or area data.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var1Label ?var2 WHERE {\n  ?var1 wdt:P31 / wdt:P279 * wd:Q11618417 . MINUS {\n    ?var1 wdt:P782 [] .\n  } MINUS {\n    ?var1 wdt:P439 [] .\n  }\n  ?var1 wdt:P17 wd:Q183 . MINUS {\n    ?var1 wdt:P2046 [] .\n  }\n  ?var1 rdfs:label ?var1Label .\n  FILTER ( LANG( ?var1Label ) = \"en\" ) .\n  BIND( REPLACE( STR( ?var1 ) , \"http://www.wikidata.org/entity/\" , \"\" ) AS ?var2 ) .\n}\nLIMIT 10000", "paraphrases": ["Which local administrative units in Germany are part of the NUTS LAU 2 classification but do not have a German municipality key, LAU identifier, or recorded area?", "List the names and Wikidata IDs of all German local administrative units that belong to the LAU 2 class but are not assigned any official identifiers or area measurements."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/statement/P31> / <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q11618417> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P782> ?var3 . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P439> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P2046> ?var5 . } BIND ( SUBSTR ( STR ( ?var1 ) , ( STRLEN ( STR ( <http://www.wikidata.org/entity/> ) ) +\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var2 ). } LIMIT 10000"}}
{"id": "test_1392", "question": "Movie with IMDb ID tt0397381", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie WHERE {\n  ?movie wdt:P345 \"tt0397381\" .\n}", "paraphrases": ["What movie has the IMDb ID tt0397381?", "Tell me the title of the movie identified by tt0397381 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0397381\". }"}}
{"id": "test_1393", "question": "Biological taxa with names in Tunisian Arabic (Arabic script)", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?taxon ?label WHERE {\n  ?taxon wdt:P31 wd:Q16521 .\n  ?taxon rdfs:label ?label .\n  FILTER(LANG(?label) = \"aeb-arab\")\n}\nLIMIT 20", "paraphrases": ["What are the scientific names of plant and animal species in Tunisian Arabic using Arabic script?", "Show me the Tunisian Arabic names (in Arabic script) for biological taxa like species and genera."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16521> . FILTER ( ( ( LANG ( ?var1Label ) = \"aeb-arab\" ) ) ) . } LIMIT 20"}}
{"id": "test_1394", "question": "What is the population and location of Mashhad, Iran?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?country ?population ?coordinates ?adminArea WHERE {\n  wd:Q121157 rdfs:label ?label .\n  FILTER(LANG(?label) = 'en')\n  .\n  wd:Q121157 wdt:P17 ?country .\n  OPTIONAL {\n    wd:Q121157 wdt:P1082 ?population\n  }\n  .\n  OPTIONAL {\n    wd:Q121157 wdt:P625 ?coordinates\n  }\n  .\n  OPTIONAL {\n    wd:Q121157 wdt:P131 ?adminArea\n  }\n}", "paraphrases": ["Can you tell me key facts about Mashhad including its country, population, coordinates, and administrative division?", "Mashhad: country, population, coordinates, and administrative area?"], "info": {"raw_sparql": "Describe <http://www.wikidata.org/entity/Q121157>"}}
{"id": "test_1395", "question": "What is the English name and description of the language with Glottocode nort2945?", "sparql": "SELECT ?item ?label ?description WHERE { ?item wdt:P1394 \"nort2945\" . OPTIONAL { ?item rdfs:label ?label . FILTER (LANG(?label) = \"en\") . } OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") . } }", "paraphrases": ["Can you tell me the label and description in English for the language identified by the Glottolog code nort2945?", "Which language has the Glottolog code nort2945, and what is its English name and description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1394> \"nort2945\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1396", "question": "What are the direct subtaxa of insects?", "sparql": "SELECT ?insectSubtaxon ?label WHERE { ?insectSubtaxon wdt:P171 wd:Q1390 . ?insectSubtaxon rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["Which taxonomic groups are directly classified under the class Insecta?", "List the English names of all taxa that have insects as their immediate parent taxon."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P171> <http://www.wikidata.org/entity/Q1390> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ar\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } }"}}
{"id": "test_1397", "question": "What is the Japanese-labeled mascot named '\u30b9\u30e9\u30a3\u30ea\u30fc'?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?mascot WHERE {\n  ?mascot rdfs:label \"\u30b9\u30e9\u30a3\u30ea\u30fc\" @ja .\n}", "paraphrases": ["Which mascot has the Japanese name '\u30b9\u30e9\u30a3\u30ea\u30fc'?", "Tell me the entity that is labeled '\u30b9\u30e9\u30a3\u30ea\u30fc' in Japanese."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"\u30b9\u30e9\u30a3\u30ea\u30fc\"@ja . }"}}
{"id": "test_1398", "question": "Multilingual descriptions of Stefan Zweig", "sparql": "SELECT ?language ?description WHERE { wd:Q78491 schema:description ?description . BIND(LANG(?description) AS ?language) FILTER(LANG(?description) != \"\") } ORDER BY ?language", "paraphrases": ["How is Stefan Zweig described in different languages?", "Show me the descriptions of Stefan Zweig in various languages."], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q78491> ?var1 ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_1399", "question": "Movie with IMDb ID tt0157065", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?movieLabel WHERE {\n  ?movie wdt:P345 \"tt0157065\" .\n  ?movie rdfs:label ?movieLabel .\n  FILTER ( LANG( ?movieLabel ) = \"en\" )\n}", "paraphrases": ["What is the name of the movie with IMDb ID tt0157065?", "Tell me the title of the movie identified by tt0157065 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0157065\". }"}}
{"id": "test_1400", "question": "What are the entities linked to Seika, Japan, and what are their English names?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?object ?objectLabel WHERE {\n  wd:Q1203237 ?property ?object .\n  ?object rdfs:label ?objectLabel .\n  FILTER(LANG(?objectLabel) = 'en')\n}", "paraphrases": ["List all the places and concepts associated with Seika and their labels in English.", "Show the English labels of all items connected to the town of Seika in Japan."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q1203237> ?var1 ?var3 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . }"}}
{"id": "test_1401", "question": "Protonyms not used as valid taxon names and how many taxa used each.", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?protonym ?protonymLabel ?rank ( COUNT( DISTINCT ?taxon ) AS ?count ) WHERE {\n  ?taxon wdt:P1403 ?protonym . MINUS {\n    ?protonym p:P225 [] .\n  }\n  OPTIONAL {\n    ?protonym wdt:P105 ?rank .\n  }\n  OPTIONAL {\n    ?protonym rdfs:label ?protonymLabel .\n    FILTER ( LANG( ?protonymLabel ) = \"en\" )\n  }\n}\nGROUP BY ?protonym ?protonymLabel ?rank\nORDER BY DESC ( ?count )", "paraphrases": ["Which original scientific names (protonyms) are no longer valid, and how many species were originally described under each?", "List the protonyms that are not current valid names, along with the number of taxa that used them as their original combination, sorted by frequency."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ( COUNT ( DISTINCT ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var3 ?var1 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P1403> ?var1 . MINUS { ?var1 <http://www.wikidata.org/prop/P225> [] . } } LIMIT 1000 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var1Label ?var2 ORDER BY DESC( ?var4 )"}}
{"id": "test_1402", "question": "List all administrative subdivisions of Iran.", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P131+ wd:Q794 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["What cities, provinces, and other places are located within Iran\u2019s administrative hierarchy?", "Show me all places in Iran, including their subdivisions, with English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { BIND ( <http://www.wikidata.org/entity/Q794> AS ?var2 ). ?var1 <http://www.wikidata.org/prop/direct/P131> * ?var2 . }"}}
{"id": "test_1403", "question": "List biological taxa classified using Linnaean taxonomy.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?taxon ?taxonLabel WHERE {\n  ?taxon wdt:P31 wd:Q16521 .\n  ?taxon rdfs:label ?taxonLabel .\n  FILTER ( LANG( ?taxonLabel ) = 'en' )\n}\nLIMIT 100", "paraphrases": ["What are some examples of biological taxa in the Linnaean classification system?", "Show me 100 biological species and their scientific names according to Linnaean taxonomy."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q10372154> . } LIMIT 100"}}
{"id": "test_1404", "question": "Wikipedia pages in English, German, or Russian about the movie with IMDb ID tt0403645.", "sparql": "SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 \"tt0403645\" . ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang . VALUES ?lang { \"en\" \"de\" \"ru\" } }", "paraphrases": ["What are the English, German, and Russian Wikipedia pages about the movie identified by IMDb ID tt0403645?", "Show me the Wikipedia articles in English, German, and Russian that are about the film with IMDb ID tt0403645."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0403645\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"ru\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1405", "question": "Creative works by people born in New Zealand, with their Wikipedia language versions.", "sparql": "SELECT DISTINCT ?work ?workLabel ?creator ?creatorLabel ?birthPlace ?birthPlaceLabel ?instance ?instanceLabel (COUNT(?language) AS ?languageCount)\nWHERE {\n  ?creator wdt:P19 ?birthPlace .\n  ?birthPlace wdt:P17 wd:Q664 .\n  ?work wdt:P170 ?creator ;\n        wdt:P31 ?instance .\n  ?wikipediaPage schema:about ?work ;\n                 schema:inLanguage ?language ;\n                 FILTER(STRSTARTS(STR(?wikipediaPage), \"https://\"))\n  OPTIONAL { ?work rdfs:label ?workLabel . FILTER(LANG(?workLabel) = \"en\") }\n  OPTIONAL { ?creator rdfs:label ?creatorLabel . FILTER(LANG(?creatorLabel) = \"en\") }\n  OPTIONAL { ?birthPlace rdfs:label ?birthPlaceLabel . FILTER(LANG(?birthPlaceLabel) = \"en\") }\n  OPTIONAL { ?instance rdfs:label ?instanceLabel . FILTER(LANG(?instanceLabel) = \"en\") }\n}\nGROUP BY ?work ?workLabel ?creator ?creatorLabel ?birthPlace ?birthPlaceLabel ?instance ?instanceLabel\nORDER BY ASC(?creatorLabel) ASC(?workLabel)", "paraphrases": ["Which creative works were made by individuals born in New Zealand, and how many language versions do their Wikipedia pages have?", "List all creative works created by people born in New Zealand, including the creator\u2019s name, birthplace, type of work, and the number of Wikipedia language editions available."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3Label ?var4Label ( COUNT ( ?var5 ) AS ?var6 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P19> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q664> . ?var1 <http://www.wikidata.org/prop/direct/P170> ?var2 ; <http://www.wikidata.org/prop/direct/P31> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var7 <http://schema.org/about> ?var1 . FILTER ( ( ( SUBSTR ( STR ( ?var7 ) ,\"11\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"15\"^^<http://www.w3.org/2001/XMLSchema#integer> ) = \"string1\" ) ) ) . ?var7 <http://schema.org/inLanguage> ?var5 . } GROUP BY ?var1 ?var1Label ?var2 ?var2Label ?var3Label ?var4Label ORDER BY ASC( ?var2Label )ASC( ?var1Label )"}}
{"id": "test_1406", "question": "Examples of lipids in Wikidata", "sparql": "SELECT ?lipid WHERE { ?lipid wdt:P31 wd:Q11367 . } LIMIT 10", "paraphrases": ["What are some substances that are classified as lipids?", "List 10 chemical compounds or biological substances that are instances of lipids."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11367> . } LIMIT 10"}}
{"id": "test_1407", "question": "What are the titles of the books in the Harry Potter series?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?bookLabel WHERE {\n  ?book wdt:P179 wd:Q8337 .\n  ?book rdfs:label ?bookLabel .\n  FILTER(LANG(?bookLabel) = 'en')\n}\nLIMIT 100", "paraphrases": ["Which books are part of the Harry Potter series according to Wikidata?", "List the English titles of all official Harry Potter books."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,fr\". } <http://www.wikidata.org/entity/Q8337> <http://www.wikidata.org/prop/direct/P179> ?var2 . } LIMIT 100"}}
{"id": "test_1408", "question": "What topics are frequently discussed alongside coagulation factor IX in medical literature?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?topic1 ?topic1Label ?topic2 ?topic2Label WHERE {\n  {\n    ?item wdt:P921 / wdt:P31 * / wdt:P279 * wd:Q425360 .\n  } UNION {\n    ?item wdt:P921 / wdt:P361 + wd:Q425360 .\n  } UNION {\n    ?item wdt:P921 / wdt:P1269 + wd:Q425360 .\n  }\n  ?item wdt:P921 ?topic1 , ?topic2 .\n  FILTER(?topic1 != wd:Q425360 && ?topic2 != wd:Q425360 && ?topic1 != ?topic2)\n  OPTIONAL {\n    ?topic1 rdfs:label ?topic1Label .\n    FILTER(LANG(?topic1Label) = \"en\")\n  }\n  OPTIONAL {\n    ?topic2 rdfs:label ?topic2Label .\n    FILTER(LANG(?topic2Label) = \"en\")\n  }\n}", "paraphrases": ["Can you list pairs of subjects, other than coagulation factor IX itself, that appear together in works about it?", "Show me what genetic disorders, population groups, or research methods are linked to factor IX through shared articles or studies."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q425360> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P361> +) <http://www.wikidata.org/entity/Q425360> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P1269> +) <http://www.wikidata.org/entity/Q425360> . } ?var3 <http://www.wikidata.org/prop/direct/P921> ?var1 , ?var2 . FILTER ( ( ( <http://www.wikidata.org/entity/Q425360> != ?var1 ) && ( <http://www.wikidata.org/entity/Q425360> != ?var2 ) && ( ?var1 != ?var2 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_1409", "question": "What are the scientific names of infraorders within beetles?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?taxon ?name ?rank ?parent WHERE {\n  ?taxon wdt:P225 ?name .\n  ?taxon wdt:P105 wd:Q2889003 .\n  ?taxon wdt:P171 wd:Q22671 .\n  BIND( wd:Q2889003 AS ?rank ) .\n  BIND( wd:Q22671 AS ?parent ) .\n}", "paraphrases": ["List all infraorders of beetles and their Latin names.", "Which taxonomic infraorders belong to the beetle order, and what are their names?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { BIND ( \"string1\" AS ?var2 ). BIND ( <http://www.wikidata.org/entity/Q2889003> AS ?var3 ). BIND ( <http://www.wikidata.org/entity/Q22671> AS ?var6 ). ?var1 <http://www.wikidata.org/prop/statement/P225> ?var2 . }"}}
{"id": "test_1410", "question": "What institutions and time periods is Neil Christie associated with, and where are they located?", "sparql": "SELECT DISTINCT ?image ?associatedEntity ?associatedEntityLabel ?locationCoordinate (?propertyLabel AS ?relationship) WHERE {  wd:Q6988377 ?property ?associatedEntity .  ?associatedEntity ( ( p:P159 / pq:P625 ) | ( wdt:P276 / wdt:P625 ) ) ?locationCoordinate .  ?propertyItem wikibase:directClaim ?property .  OPTIONAL {    ?associatedEntity wdt:P18 ?image .  }  ?propertyItem rdfs:label ?propertyLabel .  ?associatedEntity rdfs:label ?associatedEntityLabel .  FILTER (LANG(?propertyLabel) = \"en\" && LANG(?associatedEntityLabel) = \"en\")}", "paraphrases": ["Which organizations and historical periods is historian Neil Christie linked to, what are their locations in coordinates, and what type of association is it (e.g., employer, educated at)?", "Show me a list of Neil Christie\u2019s professional associations with their English names, geographic coordinates, relationship types (like employer or field of work), and any available images."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ( ?var4Label AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q6988377> ?var6 ?var2 . ?var2 (( <http://www.wikidata.org/prop/P159> / <http://www.wikidata.org/prop/qualifier/P625> )|( <http://www.wikidata.org/prop/direct/P276> */ <http://www.wikidata.org/prop/direct/P625> )) ?var3 . ?var7 <http://wikiba.se/ontology#directClaim> ?var6 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,nl,no,ru,sv,zh\". } ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . }"}}
{"id": "test_1411", "question": "What is the Wikidata item for the IMDb ID tt3722248?", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P345 \"tt3722248\" . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["Which movie on Wikidata has the IMDb identifier tt3722248, and what is its English title?", "Find the English label of the Wikidata item that corresponds to the IMDb ID tt3722248."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt3722248\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_1412", "question": "What are the books in the Harry Potter series, and do they have official images?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?book ?image ?bookLabel WHERE {\n  ?book wdt:P179 wd:Q8337 .\n  OPTIONAL {\n    ?book wdt:P18 ?image .\n  }\n  ?book rdfs:label ?bookLabel .\n  FILTER(LANG(?bookLabel) = 'en')\n}", "paraphrases": ["Show me the English titles of all books in the Harry Potter series along with their cover images from Wikimedia Commons.", "List the Harry Potter books and their associated images if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label ?var3 ?var4 ?var4Label ?var5 ?var5Label ?var6 ?var6Label ?var7 ?var7Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q43478367> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru\". } }"}}
{"id": "test_1413", "question": "What are all the Buddhist temples and Japanese gardens similar to Kinkaku-ji?", "sparql": "SELECT ?item ?itemLabel ?classLabel WHERE { wd:Q270983 wdt:P31 ?class . ?item wdt:P31 ?class . ?item rdfs:label ?itemLabel . ?class rdfs:label ?classLabel . FILTER(LANG(?itemLabel) = \"en\") FILTER(LANG(?classLabel) = \"en\") }", "paraphrases": ["Which places are instances of the same types as Kinkaku-ji, such as Buddhist temples or Japanese gardens?", "List all entities that belong to the same categories as Kinkaku-ji, along with their names and category names in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q270983> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1414", "question": "Members of Law and Justice party in Poland with their birth dates, birthplaces, occupations, and birthplace coordinates.", "sparql": "SELECT ?person ?birthDate ?birthPlace ?occupation ?coordinates WHERE { ?person wdt:P102 wd:Q156874 ; wdt:P569 ?birthDate ; wdt:P19 ?birthPlace . OPTIONAL { ?person wdt:P106 ?occupation . } ?birthPlace wdt:P625 ?coordinates . }", "paraphrases": ["Who are the members of the Polish political party Law and Justice, and where and when were they born? What are their occupations and the geographic coordinates of their birthplaces?", "List all people affiliated with the Law and Justice political party in Poland, including their date of birth, birthplace, occupation, and the coordinates of their birthplace."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4Label ?var5 ?var6 ?var6Label ?var7 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P102> <http://www.wikidata.org/entity/Q156874> ; <http://www.wikidata.org/prop/direct/P569> ?var2 ; <http://www.wikidata.org/prop/direct/P19> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var4 . } ?var3 <http://www.wikidata.org/prop/direct/P625> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } }"}}
{"id": "test_1415", "question": "Which Wikidata items have Twitter usernames \"envlh\" or \"enedis\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  FILTER(?username = \"envlh\" || ?username = \"enedis\")\n}", "paraphrases": ["Who are the people or organizations on Wikidata with the Twitter handles \"envlh\" and \"enedis\"?", "Show me the Wikidata entries for the Twitter accounts \"envlh\" and \"enedis\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"string1\" ) ( \"Paris\" ) ( \"string2\" ) ( \"enedis\" ) ( \"PoulpyWP\" ) ( \"string3\" ) ( \"Auregann\" ) ( \"string4\" ) ( \"string5\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_1416", "question": "All properties and values for Wikidata item Q4115189", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?value WHERE {\n  wd:Q4115189 ?property ?value\n}", "paraphrases": ["What properties and values are associated with the Wikidata item Q4115189?", "Show me everything known about the Wikidata item Q4115189."], "info": {"raw_sparql": "Describe <http://www.wikidata.org/entity/Q4115189>"}}
{"id": "test_1417", "question": "Japanese label of the main category for Osaka Prefecture", "sparql": "SELECT ?category ?label WHERE { wd:Q122723 wdt:P910 ?category . ?category rdfs:label ?label . FILTER (LANG(?label) = \"ja\") }", "paraphrases": ["What is the Japanese name of the Wikimedia category for Osaka Prefecture?", "Show me the Japanese-language category title for Osaka Prefecture on Wikimedia."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q122723> <http://www.wikidata.org/prop/direct/P910> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"ja\" ) ) ) . } LIMIT 50"}}
{"id": "test_1418", "question": "Languages with ISO 639-3 code but no Glottolog code and no French description.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?var1 ?var1Label ?var3 WHERE {\n  ?var1 wdt:P220 ?var3 . MINUS {\n    ?var1 wdt:P1394 [] .\n  }\n  FILTER ( NOT EXISTS {\n    ?var1 schema:description ?var5 .\n    FILTER ( LANG( ?var5 ) = \"fr\" )\n  }\n  ) ?var1 rdfs:label ?var1Label .\n  FILTER ( LANG( ?var1Label ) = \"en\" )\n}", "paraphrases": ["Which languages have an ISO 639-3 code but are not listed in Glottolog and do not have a French description?", "List the English names and ISO 639-3 codes of languages that lack a Glottolog identifier and do not have a French-language description."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P220> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P1394> ?var4 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P1394> [] . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } FILTER ( ( NOT EXISTS { ?var1 <http://schema.org/description> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"fr\" ) ) ) . } ) ) . }"}}
{"id": "test_1419", "question": "What are the broader categories that include the Harry Potter series?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?superClass WHERE {\n  wd:Q8337 wdt:P31 ?instanceClass .\n  ?instanceClass wdt:P279 + ?superClass .\n}\nORDER BY ?superClass", "paraphrases": ["What classes is the Harry Potter series indirectly classified under through the subclass hierarchy?", "List all the abstract categories that the Harry Potter series belongs to, including its parent classes and their ancestors."], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q8337> <http://www.wikidata.org/prop/direct/P31> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P279> + ?var2 . }"}}
{"id": "test_1420", "question": "Which Wikidata entities have the Twitter usernames \"envlh\", \"andrawaag\", or \"Wikimedia\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity ?username WHERE {\n  ?entity wdt:P2002 ?username .\n  VALUES ?username {\n    \"envlh\" \"andrawaag\" \"Wikimedia\"\n  }\n}", "paraphrases": ["Who are the people or organizations behind the Twitter handles \"envlh\", \"andrawaag\", and \"Wikimedia\"?", "List the entities on Wikidata that are associated with the Twitter usernames \"envlh\", \"andrawaag\", and \"Wikimedia\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"andrawaag\" ) ( \"Wikimedia\" ) } }"}}
{"id": "test_1421", "question": "List works from Project Gutenberg with their English titles and ebook IDs.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?work ?workLabel ?gutenbergId WHERE {\n  ?work wdt:P2034 ?gutenbergId .\n  ?work rdfs:label ?workLabel .\n  FILTER ( LANG( ?workLabel ) = \"en\" )\n}", "paraphrases": ["What are the English titles and Project Gutenberg IDs of works available on Project Gutenberg?", "Show me the English names of literary works and their corresponding Project Gutenberg ebook identifiers."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2034> ?var2 . }"}}
{"id": "test_1422", "question": "Fossilworks taxon IDs used for more than one Wikidata taxon with English labels.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?fossilworks_id ( COUNT( ?taxon_item ) AS ?count ) ( GROUP_CONCAT( ?label ; SEPARATOR = \", \" ) AS ?taxon_labels ) WHERE {\n  ?taxon_item wdt:P842 ?fossilworks_id .\n  ?taxon_item rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}\nGROUP BY ?fossilworks_id\nHAVING ( ?count > 1 )\nORDER BY DESC ( ?count )", "paraphrases": ["Which Fossilworks taxon IDs are incorrectly assigned to multiple different biological species or taxa in Wikidata, and what are their English names?", "List all Fossilworks taxon IDs that are shared by more than one taxon in Wikidata, along with the English names of those taxa."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 )( GROUP_CONCAT ( ?var2 ) AS ?var4 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P842> ?var1 . } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) )"}}
{"id": "test_1423", "question": "Which Wikidata item has the Twitter username \"envlh\"?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"envlh\" } } ORDER BY ?username", "paraphrases": ["Who is the person on Wikidata with the Twitter handle envlh?", "Show me the Wikidata entity linked to the Twitter username envlh."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"inOut2018\" ) ( \"GroupePSA\" ) ( \"string1\" ) ( \"LabFab_UR1\" ) ( \"LabFabfr\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"assobug\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_1424", "question": "What movie has the IMDb ID tt0216644?", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P345 \"tt0216644\" . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["What is the title of the movie with IMDb identifier tt0216644?", "Show me the English name of the film identified by tt0216644 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0216644\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1425", "question": "How many unique actors have appeared in films?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ( COUNT( DISTINCT ?actor ) AS ?count ) WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P161 ?actor .\n}", "paraphrases": ["What is the total number of distinct actors and actresses in all films listed on Wikidata?", "Count the number of different people who have acted in movies according to Wikidata."], "info": {"raw_sparql": "SELECT( COUNT ( DISTINCT ?var1 ) AS ?var2 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var3 <http://www.wikidata.org/prop/direct/P161> ?var1 . }"}}
{"id": "test_1426", "question": "Which Wikidata items have Twitter usernames envlh, Wicipedia, Wikimedia, or Wikipedia?", "sparql": "SELECT ?item ?twitterUsername WHERE { ?item wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"envlh\" \"Wicipedia\" \"Wikimedia\" \"Wikipedia\" } }", "paraphrases": ["What entities on Wikidata are associated with the Twitter handles \"envlh\", \"Wicipedia\", \"Wikimedia\", and \"Wikipedia\"?", "Show me the Wikidata items that use \"envlh\", \"Wicipedia\", \"Wikimedia\", or \"Wikipedia\" as their Twitter username."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"string1\" ) ( \"Bertsozale\" ) ( \"Wikipedia\" ) ( \"Mintzola\" ) ( \"string2\" ) ( \"Wicipedia\" ) ( \"Wikimedia\" ) ( \"glamwiki\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"lesagithes\" ) ( \"string6\" ) } }"}}
{"id": "test_1427", "question": "German-language films released in Germany in February 2018 with day-level precision, excluding TV movies and qualifiers.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT DISTINCT ?film ?pubDate ?filmLabel ( REPLACE( REPLACE( REPLACE( UCASE( ?filmLabel ) , \"\u00c4\" , \"AE\" ) , \"\u00d6\" , \"OE\" ) , \"\u00dc\" , \"UE\" ) AS ?normalizedLabel ) WHERE {\n  ?film ( wdt:P31 / wdt:P279 * ) wd:Q11424 .\n  ?film p:P577 ?pubStatement .\n  ?pubStatement ps:P577 ?pubDate .\n  ?pubStatement ( psv:P577 / wikibase:timePrecision ) \"11\" ^^ xsd:integer .\n  ?pubStatement pq:P291 wd:Q183 .\n  ?film rdfs:label ?filmLabel .\n  FILTER ( YEAR( ?pubDate ) = 2018 && MONTH( ?pubDate ) = 2 ) FILTER ( NOT EXISTS {\n    ?pubStatement wikibase:rank wikibase:DeprecatedRank\n  }\n  ) FILTER ( NOT EXISTS {\n    ?pubStatement pq:P400 ?platform\n  }\n  ) FILTER ( NOT EXISTS {\n    ?pubStatement pq:P437 ?format\n  }\n  ) FILTER ( NOT EXISTS {\n    ?film wdt:P31 wd:Q506240\n  }\n  ) FILTER ( LANG( ?filmLabel ) = \"de\" )\n}\nORDER BY ASC ( ?pubDate ) ASC ( ?normalizedLabel )", "paraphrases": ["Which films in German were released in Germany on a specific day in February 2018, and what are their titles with umlauts converted to standard letters (e.g., \u00c4\u2192AE)?", "Please list all non-TV films released in Germany during February 2018 with exact release dates, showing their German titles with umlauts normalized (e.g., \u00dc \u2192 UE)."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var1Label ( REPLACE ( REPLACE ( REPLACE ( REPLACE ( UCASE ( ?var1Label ) , \"string1\", \"\" ) , \"\u00c4\", \"AE\" ) , \"\u00d6\", \"OE\" ) , \"\u00dc\", \"UE\" ) AS ?var3 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/P577> ?var4 . ?var4 ( <http://www.wikidata.org/prop/statement/value/P577> / <http://wikiba.se/ontology#timePrecision> ) \"11\"^^<http://www.w3.org/2001/XMLSchema#integer> . ?var4 <http://www.wikidata.org/prop/statement/P577> ?var2 . FILTER ( ( ( ?var2 >= \"2018-02-15\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 < \"2018-02-22\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . ?var4 <http://www.wikidata.org/prop/qualifier/P291> <http://www.wikidata.org/entity/Q183> . FILTER ( ( NOT EXISTS { ?var4 <http://wikiba.se/ontology#rank> <http://wikiba.se/ontology#DeprecatedRank> . } ) ) . FILTER ( ( NOT EXISTS { ?var4 <http://www.wikidata.org/prop/qualifier/P400> ?var5 . } ) ) . FILTER ( ( NOT EXISTS { ?var4 <http://www.wikidata.org/prop/qualifier/P437> ?var6 . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q506240> . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } } ORDER BY ASC( ?var2 )ASC( ?var3 )"}}
{"id": "test_1428", "question": "List species with their English names and corresponding English Wikipedia page titles.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?species ?label ?wikipediaPage ?pageTitle WHERE {\n  ?species wdt:P31 wd:Q16521 .\n  ?species wdt:P105 wd:Q7432 .\n  ?wikipediaPage schema:about ?species ; schema:isPartOf <https://en.wikipedia.org/> ; schema:name ?pageTitle .\n  ?species rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nLIMIT 30000", "paraphrases": ["What are the English names of all species in Wikidata, along with the titles of their English Wikipedia articles?", "Show me the scientific names of species, their common English names, and the URLs and titles of their English Wikipedia pages."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16521> . ?var1 <http://www.wikidata.org/prop/direct/P105> <http://www.wikidata.org/entity/Q7432> . ?var3 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://en.wikipedia.org/> ; <http://schema.org/name> ?var4 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } LIMIT 30000"}}
{"id": "test_1429", "question": "Geddy Lee: birth place, images, MusicBrainz ID, and occupation", "sparql": "SELECT DISTINCT ?person ?personLabel ?image ?birthPlace ?birthPlaceLabel ?website ?musicBrainzId ?twitter ?facebook ?songkickId WHERE { ?person (rdfs:label | skos:altLabel | wdt:P1449) \"Geddy Lee\" @en . ?person wdt:P31 wd:Q5 . OPTIONAL { ?person wdt:P106 wd:Q639669 . } OPTIONAL { ?person wdt:P18 ?image . } OPTIONAL { ?person wdt:P19 ?birthPlace . } OPTIONAL { ?person wdt:P856 ?website . } OPTIONAL { ?person wdt:P434 ?musicBrainzId . } OPTIONAL { ?person wdt:P2002 ?twitter . } OPTIONAL { ?person wdt:P2013 ?facebook . } OPTIONAL { ?person wdt:P3478 ?songkickId . } OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } OPTIONAL { ?birthPlace rdfs:label ?birthPlaceLabel . FILTER(LANG(?birthPlaceLabel) = \"en\") } } LIMIT 10", "paraphrases": ["Who is Geddy Lee, where was he born, and what are his official online identifiers like MusicBrainz ID and images?", "Show me all available information about Geddy Lee, including his birthplace, photos, MusicBrainz ID, and whether he is listed as a musician."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var4Label ?var5 ?var6 ?var7 ?var8 ?var9 WHERE { ?var1 ( <http://www.w3.org/2000/01/rdf-schema#label> | <http://www.w3.org/2004/02/skos/core#altLabel> | <http://www.wikidata.org/prop/direct/P1449> ) \"Geddy Lee\"@en . { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q215380> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5741069> . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q639669> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3478> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P434> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2013> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10"}}
{"id": "test_1430", "question": "Who is Ed Rendell, and what is his occupation?", "sparql": "SELECT ?person ?occupation ?occupationLabel WHERE { ?person rdfs:label \"Ed Rendell\"@en . ?person wdt:P31 wd:Q5 . OPTIONAL { ?person wdt:P106 ?occupation . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = \"en\") } } LIMIT 1", "paraphrases": ["Ed Rendell's occupation as a human being", "Tell me the occupation of Ed Rendell, who is a human."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Ed Rendell\"@en . ?var1Label <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var2 . } } LIMIT 1"}}
{"id": "test_1431", "question": "What are Beyonc\u00e9\u2019s properties and their values in Wikidata, grouped by property?", "sparql": "SELECT ?propertyLabel ?beyonceLabel (GROUP_CONCAT(DISTINCT ?valueLabel; SEPARATOR = \"|\") AS ?values) WHERE { wd:Q36153 wdt:P646 \"/m/01mpq7s\" . ?property wikibase:directClaim ?claim . wd:Q36153 ?claim ?value . ?value rdfs:label ?valueLabel . ?property rdfs:label ?propertyLabel . wd:Q36153 rdfs:label ?beyonceLabel . FILTER(LANG(?valueLabel) = \"en\") FILTER(LANG(?propertyLabel) = \"en\") FILTER(LANG(?beyonceLabel) = \"en\") } GROUP BY ?propertyLabel ?beyonceLabel", "paraphrases": ["What awards, roles, and other attributes are associated with Beyonc\u00e9, and what are their values?", "List all the properties and their corresponding values for Beyonc\u00e9, with each value\u2019s label concatenated by pipes."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ( GROUP_CONCAT ( DISTINCT ?var3Label ; SEPARATOR = \"|\" ) AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P646> \"/m/01mpq7s\". ?var1 <http://wikiba.se/ontology#directClaim> ?var5 . ?var4 ?var5 ?var3 . ?var4 ?var6Label ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . } } GROUP BY ?var1Label ?var2"}}
{"id": "test_1432", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt2171704?", "sparql": "SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 \"tt2171704\" . ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Show me the language versions of the Wikipedia page for the movie 007 Legends.", "Which language editions of Wikipedia or Wikiquote are linked to the movie 007 Legends on Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2234550\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1433", "question": "List earthquakes with their locations, images, and English Wikipedia page titles.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?earthquake ?earthquakeLabel ?location ( SAMPLE( ?img ) AS ?image ) ( SAMPLE( ?wt ) AS ?wikipediaTitle ) WHERE {\n  ?earthquake wdt:P31 wd:Q7944 .\n  ?earthquake rdfs:label ?earthquakeLabel .\n  FILTER ( LANG( ?earthquakeLabel ) = \"en\" ) OPTIONAL {\n    ?earthquake wdt:P131 ?location .\n  }\n  OPTIONAL {\n    ?earthquake wdt:P18 ?img .\n  }\n  OPTIONAL {\n    ?wikipediaPage schema:about ?earthquake ; schema:isPartOf <https://en.wikipedia.org/> ; schema:name ?wt .\n  }\n}\nGROUP BY ?earthquake ?earthquakeLabel ?location\nLIMIT 50", "paraphrases": ["What are the English labels, locations, images, and Wikipedia titles of earthquakes?", "Show me up to 50 earthquakes, including their names, where they occurred, any associated images, and links to their English Wikipedia pages."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var3 ) ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7944> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,fr,es,de,ru,it,nl,ja,zh,pl,cs\". } } GROUP BY ?var1 ?var1Label ?var2 ?var4 LIMIT 50"}}
{"id": "test_1434", "question": "Works published in Europe and their publication qualifiers", "sparql": "SELECT ?work ?statement (SAMPLE(?qualifierValue) AS ?sampledQualifierValue) WHERE { { SELECT DISTINCT ?work ?statement WHERE { ?statement ps:P291 wd:Q46 . ?work p:P291 ?statement . } LIMIT 101 } OPTIONAL { ?statement ?qualifier ?qualifierValue . } } GROUP BY ?work ?statement", "paraphrases": ["What are some works published in Europe, and what additional details (like edition or date) are associated with their publication?", "List up to 101 works published in Europe along with one example of a qualifier (such as publication date or edition) for each."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P291> <http://www.wikidata.org/entity/Q46> . ?var1 <http://www.wikidata.org/prop/P291> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_1435", "question": "Languages with ISO 639-3 codes that are not used as IETF language tags.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?language ?iso639_3_code WHERE {\n  ?language wdt:P220 ?iso639_3_code . MINUS {\n    ?language wdt:P305 ?iso639_3_code .\n  }\n}", "paraphrases": ["Which languages have a three-letter ISO 639-3 code but do not use that exact code as their BCP 47 language tag?", "Show me all languages that are assigned an ISO 639-3 code but are not identified by the same code in IETF language tags."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P220> ?var2 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P305> ?var2 . } }"}}
{"id": "test_1436", "question": "Institutions associated with John Pearce, their locations, images, and relationship types", "sparql": "PREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?image ?institution ?institutionLabel ?coordinates ?relationshipLabel WHERE {\n  {\n    wd:Q47069146 wdt:P69 ?institution .\n    BIND( wd:P69 AS ?property )\n  } UNION {\n    wd:Q47069146 wdt:P108 ?institution .\n    BIND( wd:P108 AS ?property )\n  }\n  ?property rdfs:label ?relationshipLabel .\n  FILTER ( LANG( ?relationshipLabel ) = \"en\" ) OPTIONAL {\n    ?institution wdt:P18 ?image .\n  }\n  ?institution ( wdt:P276 / wdt:P625 | wdt:P159 / pq:P625 ) ?coordinates .\n  ?institution rdfs:label ?institutionLabel .\n  FILTER ( LANG( ?institutionLabel ) = \"en\" )\n}", "paraphrases": ["Where did John Pearce study and work, and what are the coordinates and images of those institutions?", "Show me the universities and employers linked to John Pearce, along with their locations, images, and the nature of the association (e.g., educated at or employer)."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ( ?var4Label AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q47069146> ?var6 ?var2 . ?var2 (( <http://www.wikidata.org/prop/P159> / <http://www.wikidata.org/prop/qualifier/P625> )|( <http://www.wikidata.org/prop/direct/P276> */ <http://www.wikidata.org/prop/direct/P625> )) ?var3 . ?var7 <http://wikiba.se/ontology#directClaim> ?var6 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,nl,no,ru,sv,zh\". } ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . }"}}
{"id": "test_1437", "question": "Which Wikidata items have Twitter usernames 'envlh' or 'ecouet'?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterUsername WHERE {\n  ?item wdt:P2002 ?twitterUsername .\n  VALUES ?twitterUsername {\n    \"envlh\" \"ecouet\"\n  }\n}\nORDER BY ASC ( ?item )", "paraphrases": ["Who are the people on Wikidata with the Twitter handles @envlh and @ecouet?", "List the entities on Wikidata that are associated with the Twitter usernames envlh and ecouet, sorted alphabetically by entity."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"JeromeGmb\" ) ( \"string1\" ) ( \"ecouet\" ) ( \"string2\" ) ( \"string3\" ) ( \"ipelleri\" ) ( \"string4\" ) ( \"string5\" ) ( \"fab_mob\" ) ( \"string6\" ) ( \"string7\" ) ( \"aid_agency\" ) ( \"string8\" ) ( \"string9\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_1438", "question": "Which Wikidata entities have Twitter usernames 'envlh' or 'pauginer'?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"envlh\" \"string1\" \"pauginer\" \"benestaar\" \"PoulpyWP\" } } ORDER BY ?username", "paraphrases": ["Who are the people on Wikidata with the Twitter handles 'envlh' and 'pauginer'?", "List the Wikidata items and their Twitter usernames for the handles 'envlh', 'string1', 'pauginer', 'benestaar', and 'PoulpyWP'."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"string1\" ) ( \"pauginer\" ) ( \"benestaar\" ) ( \"PoulpyWP\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_1439", "question": "What is the most specific category that both Kim Jong-un and Nature Air belong to?", "sparql": "SELECT ?commonClass ?label WHERE { wd:Q56226 wdt:P31 ?class1 . wd:Q980781 wdt:P31 ?class2 . ?class1 wdt:P279* ?commonClass . ?class2 wdt:P279* ?commonClass . ?commonClass rdfs:label ?label . FILTER(LANG(?label) = \"en\") } ORDER BY DESC(STRLEN(STR(?commonClass))) LIMIT 1", "paraphrases": ["What common superclass do the human Kim Jong-un and the airline Nature Air share in Wikidata?", "Find the highest-level shared category between a person and an airline in Wikidata, using Kim Jong-un and Nature Air as examples."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q980781> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q56226> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1440", "question": "Japanese local government entities with English and Japanese names", "sparql": "SELECT DISTINCT ?entity ?label_ja ?label_en WHERE { ?entity (wdt:P31/wdt:P279*) wd:Q27116296 . ?entity rdfs:label ?label_ja . ?entity rdfs:label ?label_en . FILTER(LANG(?label_ja) = \"ja\") FILTER(LANG(?label_en) = \"en\") }", "paraphrases": ["What are the Japanese municipalities and their English names?", "List all local public entities in Japan along with their labels in Japanese and English."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q27116296> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var3 ) = \"ja\" ) ) ) . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . }"}}
{"id": "test_1441", "question": "All properties and values for adenosine triphosphate (ATP)", "sparql": "SELECT ?property ?value WHERE { wd:Q80863 ?property ?value .}", "paraphrases": ["What are all the properties and their values for the chemical compound ATP?", "List every piece of information stored in Wikidata about adenosine triphosphate."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q80863> ?var1 ?var2 . }"}}
{"id": "test_1442", "question": "Who are the deceased musicians in Wikidata, and what were the circumstances of their deaths, listed from most recent to oldest?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?musician ?musicianLabel ?dateOfDeath ?mannerOfDeathLabel WHERE {\n  ?musician wdt:P31 wd:Q5 .\n  ?musician wdt:P106 wd:Q639669 .\n  ?musician wdt:P570 ?dateOfDeath .\n  ?musician wdt:P1196 ?mannerOfDeath .\n  ?musician rdfs:label ?musicianLabel .\n  ?mannerOfDeath rdfs:label ?mannerOfDeathLabel .\n  FILTER ( LANG( ?musicianLabel ) = \"en\" ) .\n  FILTER ( LANG( ?mannerOfDeathLabel ) = \"en\" )\n}\nORDER BY DESC ( ?dateOfDeath )", "paraphrases": ["List musicians who have died, sorted by date of death (newest first), including their manner of death.", "Can you show me a list of musicians with their date of death and how they died, ordered from the most recent death to the earliest?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q639669> . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P1196> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var2 )"}}
{"id": "test_1443", "question": "What information is available about the \u014cyama-kaid\u014d Furusato-kan museum in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?propertyLabel ?value WHERE {\n  {\n    wd:Q20043481 ?property ?value .\n    FILTER ( STRSTARTS( STR( ?property ) , \"http://www.wikidata.org/prop/direct/\" ) ) .\n    BIND( IRI( REPLACE( STR( ?property ) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\" ) ) AS ?propertyEntity ) .\n    ?propertyEntity rdfs:label ?propertyLabel .\n    FILTER ( LANG( ?propertyLabel ) = \"en\" || LANG( ?propertyLabel ) = \"\" )\n  } UNION {\n    wd:Q20043481 schema:description ?value .\n    BIND( \"schema:description\" AS ?propertyLabel )\n  }\n}", "paraphrases": ["Can you list the direct properties and descriptions of the \u014cyama-kaid\u014d Furusato-kan museum, including its location, opening date, and multilingual descriptions?", "Show me all the facts about the Kawasaki City Ohyama-kaido Furusato-kan, such as its country, image, and descriptions in different languages."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q20043481> ?var1 ?var2 . }"}}
{"id": "test_1444", "question": "List scientific names of all taxonomic units in Wikidata.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?taxon ?scientificName WHERE {\n  ?taxon wdt:P31 wd:Q16521 .\n  ?taxon wdt:P225 ?scientificName .\n}\nLIMIT 1000", "paraphrases": ["What are the scientific names of all organisms classified as taxa in Wikidata?", "Show me the taxon items and their corresponding scientific names (as used in taxonomy) from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16521> . ?var1 <http://www.wikidata.org/prop/direct/P225> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { } } LIMIT 300000"}}
{"id": "test_1445", "question": "Danish Disney comic issues with INDUCKS ID starting with \"dk/JB\", their titles, and series.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?issue ?issueLabel ?inducksId ?seriesLabel WHERE {\n  ?issue wdt:P4484 ?inducksId .\n  OPTIONAL {\n    ?issue rdfs:label ?issueLabel .\n  }\n  OPTIONAL {\n    ?issue wdt:P179 ?series .\n    ?series rdfs:label ?seriesLabel .\n  }\n  FILTER(STRSTARTS(?inducksId , \"dk/JB\"))\n}\nORDER BY ASC(?inducksId)", "paraphrases": ["What are the Danish Disney comic issues identified by INDUCKS issue IDs starting with \"dk/JB\", along with their titles and the series they belong to?", "List all Danish Disney comic issues from the INDUCKS database with IDs starting with \"dk/JB\", including their titles and the comic series they are part of, sorted by issue number."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4484> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P179> ?var3 . } FILTER ( ( STRSTARTS ( ?var2 , \"dk/JB\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nb,da\". } } ORDER BY ASC( ?var2 )"}}
{"id": "test_1446", "question": "Which Wikidata items have Twitter usernames envlh, jack, tim_cook, or sundarpichai?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"envlh\" \"tim_cook\" \"jack\" \"sundarpichai\"\n  }\n}", "paraphrases": ["Who are the people on Wikidata with the Twitter handles @envlh, @jack, @tim_cook, and @sundarpichai?", "List the Wikidata entities linked to the Twitter usernames envlh, jack, tim_cook, and sundarpichai."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"K_rho\" ) ( \"string7\" ) ( \"Auregann\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_1447", "question": "What are some fictional locations that have occupants?", "sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 wdt:P466 [] . ?var1 (wdt:P31/wdt:P279*) wd:Q3895768 . }", "paraphrases": ["Can you list fictional places that are inhabited by people or organizations?", "Show me locations from fiction that are occupied by someone, such as homes, bases, or buildings from movies or books."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P466> [] . MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q811979> . } MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q2133296> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_1448", "question": "What country, region, and continent is Yudomari Onsen located in?", "sparql": "SELECT DISTINCT ?location ?locationLabel WHERE { { wd:Q11563673 wdt:P131 ?location . } UNION { wd:Q11563673 wdt:P17 ?location . } UNION { wd:Q11563673 wdt:P17 ?country . ?country wdt:P30 ?location . } ?location rdfs:label ?locationLabel . FILTER(LANG(?locationLabel) = \"en\") }", "paraphrases": ["Can you tell me the geographical hierarchy of Yudomari Onsen, including its administrative area, country, and continent?", "Where is Yudomari Onsen situated? Show its administrative division, country, and continent."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q11563673> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_1449", "question": "Which characters from the comic strip Calvin and Hobbes are fictional humans or comics characters, and what types of entities are they?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?character ?characterLabel ?type ?typeLabel WHERE {\n  ?character wdt:P1441 wd:Q211035 .\n  OPTIONAL {\n    ?character wdt:P31 ?type .\n  }\n  ?character rdfs:label ?characterLabel .\n  ?type rdfs:label ?typeLabel .\n  FILTER ( LANG( ?characterLabel ) = \"en\" ) FILTER ( LANG( ?typeLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Characters appearing in Calvin and Hobbes and their types (e.g., fictional human, comics character)", "List all characters from Calvin and Hobbes along with what kind of fictional entities they are."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pt,en\". } ?var1 <http://www.wikidata.org/prop/direct/P1441> <http://www.wikidata.org/entity/Q211035> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } } LIMIT 100"}}
{"id": "test_1450", "question": "Who is the author of the comic strip Calvin and Hobbes?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT(STR(?comicLabel) AS ?comicName)(STR(?authorLabel) AS ?authorName) WHERE {\n  wd:Q211035 wdt:P50 ?author .\n  wd:Q211035 rdfs:label ?comicLabel .\n  ?author rdfs:label ?authorLabel .\n  FILTER(LANG(?comicLabel) = \"en\")\n  FILTER(LANG(?authorLabel) = \"en\")\n}", "paraphrases": ["What is the name of the creator of Calvin and Hobbes?", "Which person created the comic series Calvin and Hobbes?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pt,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q211035> . ?var1 <http://www.wikidata.org/prop/direct/P50> ?var2 . } LIMIT 100"}}
{"id": "test_1451", "question": "What is the most specific category that both Newcastle City Hall and Cape Canaveral Space Force Station belong to?", "sparql": "SELECT DISTINCT ?ancestor ?label\nWHERE {\n  wd:Q7017384 wdt:P31 ?cls1 .\n  wd:Q334465 wdt:P31 ?cls2 .\n  ?cls1 wdt:P279* wd:Q13226383 .\n  ?cls2 wdt:P279* wd:Q13226383 .\n  wd:Q13226383 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["What do Newcastle City Hall and Cape Canaveral Space Force Station have in common in terms of their classification in Wikidata?", "What is the shared superclass of Newcastle City Hall and Cape Canaveral Space Force Station in the Wikidata hierarchy?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7017384> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q334465> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1452", "question": "What properties and values are associated with the FOXP1 protein in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?value WHERE {\n  wd:Q5426962 ?property ?value .\n}", "paraphrases": ["Show me all the information available about the human protein FOXP1 in Wikidata.", "What descriptions and identifiers are listed for the Forkhead box protein P1?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { BIND ( <http://www.wikidata.org/entity/Q5426962> AS ?var3 ). ?var3 ?var1 ?var2 . }"}}
{"id": "test_1453", "question": "Most frequently used property linking to the song \"Mountains\" by Prince and The Revolution.", "sparql": "SELECT ?property (COUNT(?property) AS ?count) WHERE { ?item ?prop wd:Q3326072 . ?property wikibase:directClaim ?prop . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which property is used most often to indicate that other songs follow \"Mountains\" by Prince and The Revolution?", "Show the property that has the highest number of statements where \"Mountains\" by Prince and The Revolution is the object."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q3326072> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_1454", "question": "What properties of Fusen Memorial Stage link to Japanese Wikipedia pages, and what are their labels, formatter URLs, and object labels?", "sparql": "SELECT ?var1 ?var2Label ?var3Label ?var4 ?var5 WHERE { wd:Q30114514 ?var1 ?var3 . ?var2 wikibase:directClaim ?var1 . ?var2 rdfs:label ?var2Label . FILTER(LANG(?var2Label) = \"en\") OPTIONAL { ?var2 wdt:P1630 ?var4 . } OPTIONAL { ?var5 schema:about ?var3 . ?var5 schema:inLanguage \"ja\" . FILTER(STRSTARTS(STR(?var5), \"https://ja.wikipedia.org/wiki/\")) } OPTIONAL { ?var3 rdfs:label ?var3Label . FILTER(LANG(?var3Label) = \"en\") } }", "paraphrases": ["Which statements about Fusen Memorial Stage have corresponding Japanese Wikipedia articles, and what are the English labels of the properties and objects involved, along with any URL templates?", "Show me all properties used on Fusen Memorial Stage that point to entities with Japanese Wikipedia pages, including the English labels of the properties and objects, their URL formatters, and the Japanese Wikipedia links."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label ?var4 ?var5 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". <http://www.wikidata.org/entity/Q30114514> ?var1 ?var3 . ?var2 <http://wikiba.se/ontology#directClaim> ?var1 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P1630> ?var4 . } OPTIONAL { ?var5 <http://schema.org/about> ?var3 . ?var5 <http://schema.org/inLanguage> \"ja\". FILTER ( ( ( SUBSTR ( STR ( ?var5 ) ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"25\"^^<http://www.w3.org/2001/XMLSchema#integer> ) = \"string1\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja,en\". } }"}}
{"id": "test_1455", "question": "What are the geographic coordinates of Omihachiman and its parent administrative region, Shiga Prefecture?", "sparql": "SELECT ?cityCoords ?adminCoords WHERE { wd:Q385461 wdt:P625 ?cityCoords . OPTIONAL { wd:Q385461 wdt:P131/wdt:P625 ?adminCoords . } }", "paraphrases": ["Where is Omihachiman located in relation to Shiga Prefecture? Show both their coordinates.", "Can you provide the GPS coordinates of the city of Omihachiman and the prefecture it belongs to?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q385461> <http://www.wikidata.org/prop/direct/P625> ?var1 . OPTIONAL { <http://www.wikidata.org/entity/Q385461> <http://www.wikidata.org/prop/direct/P131> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var2 . } }"}}
{"id": "test_1456", "question": "Creative works by Israeli-born artists and their types", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?work ?workLabel ?creator ?creatorLabel ?birthPlace ?birthPlaceLabel ?type ?typeLabel WHERE {\n  ?creator wdt:P19 ?birthPlace .\n  ?birthPlace wdt:P17 wd:Q801 .\n  ?work wdt:P170 ?creator ; wdt:P31 ?type .\n  ?work rdfs:label ?workLabel .\n  ?creator rdfs:label ?creatorLabel .\n  ?birthPlace rdfs:label ?birthPlaceLabel .\n  ?type rdfs:label ?typeLabel .\n  FILTER ( LANG( ?workLabel ) = \"en\" ) FILTER ( LANG( ?creatorLabel ) = \"en\" ) FILTER ( LANG( ?birthPlaceLabel ) = \"en\" ) FILTER ( LANG( ?typeLabel ) = \"en\" )\n}\nORDER BY ASC ( ?creatorLabel ) ASC ( ?workLabel )\nLIMIT 50", "paraphrases": ["What creative works have been created by people born in Israel, and what are their types?", "List works created by individuals born in Israel, including the creator\u2019s name, birthplace, and the category of the work."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3Label ?var4Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P19> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q801> . ?var1 <http://www.wikidata.org/prop/direct/P170> ?var2 ; <http://www.wikidata.org/prop/direct/P31> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var2Label )ASC( ?var1Label )"}}
{"id": "test_1457", "question": "What is the most abstract concept that both a Ponzi scheme and CNN are related to through their classifications?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?ancestor ( ?distPonzi + ?distCNN AS ?total ) WHERE {\n  {\n    SELECT ?ancestorP ( COUNT( ?mid ) AS ?distPonzi ) WHERE {\n      wd:Q219407 wdt:P279 * ?mid .\n      ?mid wdt:P279 * ?ancestorP .\n      FILTER ( ?ancestorP != wd:Q219407 )\n    }\n    GROUP BY ?ancestorP\n  }\n  {\n    SELECT ?ancestorC ( COUNT( ?mid ) AS ?distCNN ) WHERE {\n      wd:Q48340 wdt:P31 ?type .\n      ?type wdt:P279 * ?mid .\n      ?mid wdt:P279 * ?ancestorC .\n      FILTER ( ?ancestorC != ?type )\n    }\n    GROUP BY ?ancestorC\n  }\n  FILTER ( ?ancestorP = ?ancestorC ) BIND( ?ancestorP AS ?ancestor )\n}\nORDER BY ASC ( ?total )\nLIMIT 1", "paraphrases": ["Which Wikidata entity is the closest common ancestor in the subclass hierarchy between the Ponzi scheme and CNN?", "Find the entity that minimizes the sum of subclass distances from both the Ponzi scheme and CNN, and return it along with the total distance."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q219407> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q48340> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1458", "question": "Chinese (Traditional) names of historical figures from the China Biographical Database with their birth years and name lengths.", "sparql": "SELECT ?person ?label ?labelLength ?cbdbId ?birthYear WHERE { ?person wdt:P497 ?cbdbId ; wdt:P569 ?birthDate ; rdfs:label ?label . FILTER (LANG(?label) = \"zh-hant\") . BIND(STRLEN(?label) AS ?labelLength) . BIND(YEAR(?birthDate) AS ?birthYear) . FILTER (isLiteral(?birthDate) && datatype(?birthDate) = xsd:dateTime) } LIMIT 100", "paraphrases": ["What are the Chinese (Traditional) labels, birth years, and character lengths of people listed in the China Biographical Database?", "Show me the Chinese (Traditional) names, their lengths, CBDB IDs, and birth years of historical figures from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { BIND ( STRLEN ( ?var2 ) AS ?var3 ). BIND ( YEAR ( ?var6 ) AS ?var5 ). ?var1 <http://www.wikidata.org/prop/direct/P497> ?var4 ; <http://www.wikidata.org/prop/direct/P569> ?var6 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"zh-hant\" ) ) ) . } LIMIT 100"}}
{"id": "test_1459", "question": "What are all the species listed in Wikidata?", "sparql": "SELECT ?species ?speciesLabel WHERE { ?species wdt:P105 wd:Q7432 . }", "paraphrases": ["Can you list all biological species and their names from Wikidata?", "Show me the entities in Wikidata that have the taxon rank of species."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P105> <http://www.wikidata.org/entity/Q2362140> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1460", "question": "How many scientific names of taxa in Wikidata have an author cited but no publication year?", "sparql": "SELECT (COUNT(?author) AS ?count) WHERE { [] p:P225 ?statement . ?statement pq:P405 ?author . FILTER NOT EXISTS { ?statement pq:P574 [] . } }", "paraphrases": ["What is the count of taxon names in Wikidata that are attributed to an author but lack a date of publication?", "Show me how many taxon names are missing the year they were published, even though their author is known."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { [] <http://www.wikidata.org/prop/P225> ?var3 . ?var3 <http://www.wikidata.org/prop/qualifier/P405> ?var1 . FILTER ( ( NOT EXISTS { ?var3 <http://www.wikidata.org/prop/qualifier/P574> [] . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"da,en\". } }"}}
{"id": "test_1461", "question": "Musical compositions with their composers and publication dates", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?composition ?compositionLabel ?composer ?composerLabel ?publicationDate WHERE {\n  ?composition wdt:P31 wd:Q207628 .\n  OPTIONAL {\n    ?composition wdt:P86 ?composer .\n  }\n  OPTIONAL {\n    ?composition wdt:P577 ?publicationDate .\n  }\n  ?composition rdfs:label ?compositionLabel .\n  FILTER(LANG(?compositionLabel) = \"en\")\n  OPTIONAL {\n    ?composer rdfs:label ?composerLabel .\n    FILTER(LANG(?composerLabel) = \"en\")\n  }\n}\nLIMIT 100", "paraphrases": ["What are musical works, who composed them, and when were they published?", "List musical compositions along with their composers and the dates they were published."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var4Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q207628> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P86> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P170> ?var4 . } } LIMIT 100"}}
{"id": "test_1462", "question": "What are the symphonies and their first performance dates?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?symphony ?symphonyLabel ?firstPerformance WHERE {\n  ?symphony wdt:P31 wd:Q9734 .\n  ?symphony wdt:P1191 ?firstPerformance .\n  ?symphony rdfs:label ?symphonyLabel .\n}\nLIMIT 100", "paraphrases": ["List symphonies along with the dates when they were first performed.", "Which musical works classified as symphonies have recorded first performance dates?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q9734> . ?var1 <http://www.wikidata.org/prop/direct/p1191> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 100"}}
{"id": "test_1463", "question": "Manga series from the 20th century with their titles in different languages", "sparql": "SELECT DISTINCT ?mangaSeries ?mangaSeriesLabel WHERE { ?mangaSeries wdt:P31 wd:Q21198342 ; rdfs:label ?mangaSeriesLabel . OPTIONAL { ?mangaSeries wdt:P2635 ?partCount . } FILTER(CONTAINS(LCASE(?mangaSeriesLabel), \"20th\")) } ORDER BY ASC(?mangaSeriesLabel) LIMIT 100", "paraphrases": ["What are the manga series whose titles include \"20th\", and what are their labels in various languages?", "List all manga series that have \"20th\" in their title, along with their labels in different languages."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q8274> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q21198342> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2635> ?var4 . } FILTER ( ( CONTAINS ( ?var2Label , \"20th\" ) ) ) . } ORDER BY ASC( ?var1Label ) LIMIT 100"}}
{"id": "test_1464", "question": "What country is both the Kennedy Space Center and Erie located in?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?country WHERE {\n  wd:Q48821 wdt:P17 ?country .\n  wd:Q234061 wdt:P17 ?country .\n}", "paraphrases": ["Which country contains both the Kennedy Space Center and the city of Erie?", "Find the common country where Kennedy Space Center and Erie are located."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q48821> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q234061> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1465", "question": "What is the most specific category that both an American football player and a football club belong to?", "sparql": "SELECT ?commonClass WHERE { wd:Q3640832 wdt:P31 ?class1 . wd:Q192873 wdt:P31 ?class2 . ?class1 wdt:P279* ?commonClass . ?class2 wdt:P279* ?commonClass . } ORDER BY ASC(STRLEN(STR(?commonClass))) LIMIT 1", "paraphrases": ["What is the highest-level shared class in Wikidata for Blair Walsh and Dundee United F.C.?", "Find the most general category that includes both a human athlete and a sports team."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3640832> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q192873> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1466", "question": "List English-language manga and their authors from Wikidata.", "sparql": "SELECT DISTINCT ?manga ?mangaLabel ?authorLabel WHERE { ?manga wdt:P31/wdt:279* wd:Q8274 ; rdfs:label ?mangaLabel . OPTIONAL { ?manga wdt:P50 ?author . ?author rdfs:label ?authorLabel . } FILTER (LANG(?mangaLabel) = \"en\") } ORDER BY ASC(?manga)", "paraphrases": ["What are the English-named manga and who are their authors, according to Wikidata?", "Show me all manga (and their creators) that have English titles, including the creators' names in English if available."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } ?var1 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/statement/P31> / <http://www.wikidata.org/prop/direct/279> *) <http://www.wikidata.org/entity/Q8274> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P170> ?var2 . } FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . } ORDER BY ASC( ?var1 )"}}
{"id": "test_1467", "question": "People influenced by August Strindberg and their statement qualifiers.", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?influenced_person ?statement(SAMPLE(?qualifier_property) AS ?qualifier) WHERE {\n  ?influenced_person p:P737 ?statement .\n  ?statement ps:P737 wd:Q7724 .\n  OPTIONAL {\n    ?statement ?qualifier_property ?value .\n    ?qualifier_property wikibase:qualifier true .\n  }\n}\nGROUP BY ?influenced_person ?statement", "paraphrases": ["Who were influenced by August Strindberg, and what qualifiers are attached to those influence statements?", "List all individuals who were influenced by August Strindberg, along with any qualifiers on those influence relationships."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P737> <http://www.wikidata.org/entity/Q7724> . ?var1 <http://www.wikidata.org/prop/P737> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_1468", "question": "What are the most frequently depicted entities in xkcd comics, and how often do they appear?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?depictedItem ?depictedItemLabel ( COUNT( ?comic ) AS ?depictionCount ) WHERE {\n  ?comic wdt:P361 wd:Q13915 .\n  ?comic wdt:P180 ?depictedItem .\n  ?depictedItem rdfs:label ?depictedItemLabel .\n  FILTER ( LANG( ?depictedItemLabel ) = \"en\" )\n}\nGROUP BY ?depictedItem ?depictedItemLabel\nORDER BY DESC ( ?depictionCount )", "paraphrases": ["Which characters and objects appear most often in xkcd comics, ranked by frequency?", "Show me a list of all entities depicted in xkcd comics, sorted by how many comics feature them, along with their English labels and count."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q13915> . ?var2 <http://www.wikidata.org/prop/direct/P180> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"hu,en\". } } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var3 )"}}
{"id": "test_1469", "question": "Japanese title of the anime film \"Your Name\"", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?title WHERE {\n  wd:Q21697406 wdt:P1476 ?title .\n  FILTER ( LANG( ?title ) = \"ja\" )\n}", "paraphrases": ["What is the Japanese title of the 2016 anime film \"Your Name\"?", "Please provide the native Japanese title of the movie \"Your Name\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { <http://www.wikidata.org/entity/Q21697406> <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"ja\" ) ) ) . } LIMIT 100"}}
{"id": "test_1470", "question": "What are the direct superclasses of the classes that entities labeled \"choir\" belong to?", "sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var2 rdfs:label \"choir\" @en . ?var2 wdt:P31 ?x . ?x wdt:P279 ?var1 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") }", "paraphrases": ["Show the parent classes of the categories that \"choir\" is an instance of.", "What broader categories do the types of \"choir\" fall under?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> ?) ?var1 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> \"choir\"@en . }"}}
{"id": "test_1471", "question": "Jazz musicians born in Washington, D.C.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?musician ?musicianLabel WHERE {\n  ?musician wdt:P19 wd:Q61 .\n  ?musician wdt:P106 wd:Q15981151 .\n  ?musician rdfs:label ?musicianLabel .\n  FILTER(LANG(?musicianLabel) = \"en\")\n}", "paraphrases": ["Who are the jazz musicians born in Washington, D.C.?", "List the English names of people who are jazz musicians and were born in Washington, D.C."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q61> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q15981151> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1472", "question": "Pianists born in 1918 with their names and birth dates.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel ?birthDate WHERE {\n  ?person wdt:P106 wd:Q486748 .\n  ?person wdt:P569 ?birthDate .\n  FILTER(YEAR(?birthDate) = 1918)\n  .\n  ?person rdfs:label ?personLabel .\n}\nLIMIT 100", "paraphrases": ["Who are the pianists born in 1918, and what are their birth dates and names?", "List all pianists born in 1918 along with their full names and exact dates of birth."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q486748> . FILTER ( ( ( YEAR ( ?var3 ) = \"1918\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } } LIMIT 100"}}
{"id": "test_1473", "question": "What is the most specific category that both the Kennedy Space Center and X (Twitter) belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?commonSuperclass WHERE {\n  wd:Q48821 wdt:P31 ?c1 .\n  wd:Q918 wdt:P31 ?c2 .\n  ?c1 wdt:P279 * wd:Q35120 .\n  ?c2 wdt:P279 * wd:Q35120 .\n  BIND(wd:Q35120 AS ?commonSuperclass)\n}", "paraphrases": ["What is the highest-level common class in the hierarchy shared by NASA's Kennedy Space Center and the social media platform X?", "Find the most general concept that encompasses both the Kennedy Space Center and X, based on their types and their superclass relationships."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q48821> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q918> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1474", "question": "Who are the members of The Beatles?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?member WHERE {\n  wd:Q1299 wdt:P527 ?member .\n}", "paraphrases": ["Which musicians were part of the band The Beatles?", "List the individuals who were members of The Beatles."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q23956601> . }"}}
{"id": "test_1475", "question": "What is the most general category that both Thomson Reuters and the International Space Station belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonAncestor ?label WHERE {\n  wd:Q1141267 wdt:P31 ?type1 .\n  ?type1 wdt:P279 * ?commonAncestor .\n  wd:Q25271 wdt:P31 ?type2 .\n  ?type2 wdt:P279 * ?commonAncestor .\n  ?commonAncestor rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) FILTER ( ?commonAncestor = wd:Q35120 )\n}", "paraphrases": ["What do Thomson Reuters and the International Space Station have in common in terms of their classification in Wikidata?", "What is the highest-level concept that includes both a company like Thomson Reuters and a space station like the ISS?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1141267> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q25271> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1476", "question": "What is the most specific category that both the International Space Station and Jim Mattis belong to?", "sparql": "SELECT DISTINCT ?ancestorLabel\nWHERE {\n  wd:Q25271 wdt:P31 ?class1 .\n  wd:Q267902 wdt:P31 ?class2 .\n  \n  ?class1 wdt:P279* wd:Q223557 .\n  ?class2 wdt:P279* wd:Q223557 .\n  \n  wd:Q223557 rdfs:label ?ancestorLabel .\n  FILTER(LANG(?ancestorLabel) = \"en\")\n}", "paraphrases": ["What do the International Space Station and Jim Mattis have in common in terms of their classification in Wikidata?", "What is the common superclass of the International Space Station and Jim Mattis in the Wikidata hierarchy?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q25271> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q267902> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1477", "question": "What is the most specific shared category (in the Wikidata hierarchy) that both Pennsylvania and Ramallah belong to?", "sparql": "SELECT ?ancestor ?label WHERE { wd:Q35657 wdt:P279* wd:Q56061 . wd:Q515 wdt:P279* wd:Q56061 . wd:Q56061 rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["What is the common superclass of U.S. state and city in Wikidata?", "What is the administrative category that includes both Pennsylvania and Ramallah?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1400> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q158119> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1478", "question": "What language has the ISO 639-3 code \"juc\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?language ?languageLabel WHERE {\n  ?language wdt:P220 \"juc\" .\n  ?language rdfs:label ?languageLabel .\n  FILTER ( LANG( ?languageLabel ) = 'en' )\n}", "paraphrases": ["What is the English name of the language identified by the ISO 639-3 code \"juc\"?", "Show me the English label for the language with ISO 639-3 code juc."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P220> \"juc\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_1479", "question": "Who are the composers of the top 10 creative works in Wikidata?", "sparql": "SELECT DISTINCT ?work ?composer WHERE { ?work wdt:P86 ?composer . } LIMIT 10", "paraphrases": ["List 10 works and their composers.", "Can you show me 10 examples of creative works along with the names of the people who composed their music?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P86> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 10"}}
{"id": "test_1480", "question": "Composers born after 1900", "sparql": "SELECT ?var1Label ?var1 WHERE { ?var1 wdt:P106 wd:Q36834 . ?var1 wdt:P569 ?birthDate . BIND(year(?birthDate) AS ?birthYear) FILTER (?birthYear >= 1900) ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") } LIMIT 100", "paraphrases": ["Who are the composers born after 1900?", "List the names and Wikidata IDs of composers who were born after 1900."], "info": {"raw_sparql": "SELECT ?var1Label ?var1 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q36834> . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . FILTER ( ( ( ?var3 >= \"1900\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } LIMIT 100"}}
{"id": "test_1481", "question": "What language has the ISO 639-3 code \"eng\"?", "sparql": "SELECT * WHERE { ?language wdt:P220 \"eng\" . }", "paraphrases": ["Which language is identified by the three-letter code \"eng\"?", "Show me the language corresponding to the ISO 639-3 code eng."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P220> \"qjt\". }"}}
{"id": "test_1482", "question": "Which Wikidata items have the Twitter usernames \"envlh\", \"macgraveur\", or \"archives35\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"envlh\" \"macgraveur\" \"archives35\"\n  }\n}", "paraphrases": ["Who are the people or organizations on Wikidata with Twitter handles \"envlh\", \"macgraveur\", and \"archives35\"?", "List the Wikidata entities and their corresponding Twitter usernames for \"envlh\", \"macgraveur\", and \"archives35\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"string1\" ) ( \"string2\" ) ( \"macgraveur\" ) ( \"Maud_Stark\" ) ( \"scraty2\" ) ( \"LeuLeudo\" ) ( \"string3\" ) ( \"string4\" ) ( \"archives35\" ) ( \"string5\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_1483", "question": "What is the most general category that includes both South Africa and Iron Man in Wikidata's classification system?", "sparql": "SELECT ?commonAncestor WHERE { VALUES ?commonAncestor { wd:Q35120 } wd:Q258 wdt:P31 ?saClass . wd:Q180704 wdt:P31 ?imClass . ?saClass wdt:P279* ?commonAncestor . ?imClass wdt:P279* ?commonAncestor . }", "paraphrases": ["Which class is the highest-level ancestor shared by the classes that South Africa and Iron Man belong to?", "In Wikidata, what is the root entity that both South Africa and Iron Man are instances of, through their respective class hierarchies?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q258> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q180704> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1484", "question": "Top Japanese prefectures by number of people born there, in Japanese.", "sparql": "SELECT ?prefecture ?prefectureLabel (COUNT(?person) AS ?birthCount) WHERE { ?prefecture wdt:P31 wd:Q50337 . ?person wdt:P19 ?prefecture . ?prefecture rdfs:label ?prefectureLabel . FILTER(LANG(?prefectureLabel) = \"ja\") } GROUP BY ?prefecture ?prefectureLabel ORDER BY DESC(?birthCount)", "paraphrases": ["Which Japanese prefectures have the highest number of people born in them, and how many, using Japanese names?", "Show me a list of Japanese prefectures ranked by how many people were born there, with their Japanese labels and birth counts."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q50337> . ?var3 <http://www.wikidata.org/prop/direct/P19> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"ja\" ) ) ) . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"ja\" ) ) ) . } GROUP BY ?var1 ?var2 ORDER BY DESC( ?var4 )"}}
{"id": "test_1485", "question": "What are the English labels and descriptions of the properties used to describe the xkcd comic strip \"Names\"?", "sparql": "SELECT ?propItem ?propItemLabel ?propItemDescription WHERE { VALUES ?propItem { wd:P31 wd:P1476 wd:P577 wd:P433 wd:P50 wd:P921 wd:P407 wd:P953 wd:P361 wd:P6216 } . ?propItem rdfs:label ?propItemLabel . ?propItem schema:description ?propItemDescription . FILTER(LANG(?propItemLabel) = \"en\") . FILTER(LANG(?propItemDescription) = \"en\") } LIMIT 100", "paraphrases": ["Show me the properties and their English descriptions for the comic strip xkcd #302.", "Which properties describe the xkcd comic \"Names\", and what do they mean in English?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q18613185> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_1486", "question": "List fictional male characters from literature or film whose names start with \"Mr.\" in English.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?character ?label ?image WHERE {\n  ?character wdt:P31 wd:Q15632617 ; rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  FILTER(STRSTARTS(?label , \"Mr. \"))\n  OPTIONAL {\n    ?character wdt:P18 ?image .\n  }\n}", "paraphrases": ["Which fictional human characters in English-language media are referred to with the title \"Mr.\"?", "Can you provide a list of all fictional human characters in Wikidata that have English labels beginning with \"Mr.\"? I'm also interested in whether any of them have associated images."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q15632617> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . FILTER ( ( STRSTARTS ( ?var1Label , \"Mr. \" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } }"}}
{"id": "test_1487", "question": "What is the English label and description of the national anthem of Kosovo, and is there an image available for it?", "sparql": "SELECT ?label ?description ?image WHERE { OPTIONAL { wd:Q579160 rdfs:label ?label . FILTER (LANG(?label) = \"en\") } OPTIONAL { wd:Q579160 schema:description ?description . FILTER (LANG(?description) = \"en\") } OPTIONAL { wd:Q579160 wdt:P18 ?image } }", "paraphrases": ["Show me the English name, description, and image of Kosovo\u2019s national anthem.", "Can you find the English-language label and description of the national anthem of Kosovo, along with its official image?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q579160> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q579160> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q579160> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_1488", "question": "What is the most specific common superclass of Japan and Lewis Hamilton in Wikidata's ontology?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonSuper ?label WHERE {\n  wd:Q17 wdt:P31 ?class1 .\n  wd:Q9673 wdt:P31 ?class2 .\n  ?class1 wdt:P279 * ?commonSuper .\n  ?class2 wdt:P279 * ?commonSuper .\n  ?commonSuper rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nORDER BY ?commonSuper\nLIMIT 10", "paraphrases": ["What categories do Japan and Lewis Hamilton share through their class hierarchies?", "What is the highest-level concept that both Japan and Lewis Hamilton are connected to via subclass relationships?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q17> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q9673> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1489", "question": "How many works did Vannevar Bush author?", "sparql": "SELECT (COUNT(?work) AS ?count) WHERE { ?work wdt:P50 wd:Q299595 . }", "paraphrases": ["What is the number of works authored by Vannevar Bush?", "Can you tell me how many books or papers Vannevar Bush wrote?"], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q299595> . }"}}
{"id": "test_1490", "question": "Taxa with scientific names in Wikidata", "sparql": "SELECT DISTINCT ?taxon ?taxonName WHERE { ?taxon wdt:P31 wd:Q16521 . ?taxon wdt:P225 ?taxonName . } LIMIT 100", "paraphrases": ["Which taxa have assigned scientific names according to Wikidata?", "Show me up to 100 taxa that have a scientific name (P225)."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16521> . ?var1 <http://www.wikidata.org/prop/direct/P225> ?var2 . FILTER ( ( isBLANK ( ?var2 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_1491", "question": "What is the most specific category that both the People's Republic of China and Croydon University Hospital belong to?", "sparql": "SELECT (MIN(?depthChina) AS ?minDepthChina) (MIN(?depthHospital) AS ?minDepthHospital) (?minDepthChina + ?minDepthHospital AS ?totalDepth)\nWHERE {\n  wd:Q148 wdt:P31 ?classChina .\n  wd:Q5189706 wdt:P31 ?classHospital .\n\n  {\n    SELECT (COUNT(?mid) AS ?depthChina)\n    WHERE {\n      ?classChina wdt:P279+ ?mid .\n      ?mid wdt:P279* wd:Q24229398 .\n    }\n    GROUP BY ?classChina\n    ORDER BY ASC(COUNT(?mid))\n    LIMIT 1\n  }\n\n  {\n    SELECT (COUNT(?mid) AS ?depthHospital)\n    WHERE {\n      ?classHospital wdt:P279+ ?mid .\n      ?mid wdt:P279* wd:Q24229398 .\n    }\n    GROUP BY ?classHospital\n    ORDER BY ASC(COUNT(?mid))\n    LIMIT 1\n  }\n}", "paraphrases": ["What is the lowest common ancestor in the Wikidata hierarchy between China and Croydon Hospital?", "Which class is the closest shared parent in the subclass tree for China and Croydon University Hospital?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q148> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q5189706> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1492", "question": "Labels for the film \"Money Train\" in English, German, French, and Italian, along with its Wikipedia page and social media links.", "sparql": "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?label ?image ?coordinates ?wikipediaArticle ?youtubeId ?githubUsername ?twitterUsername ?facebookUsername ?instagramUsername ?officialWebsite ?orcid WHERE {\n  OPTIONAL {\n    wd:Q1163081 rdfs:label ?label .\n    FILTER ( LANG( ?label ) = ?lang ) VALUES ( ?lang ?order ) {\n      ( \"en\" \"1\" ^^ xsd:integer ) ( \"de\" \"2\" ^^ xsd:integer ) ( \"fr\" \"3\" ^^ xsd:integer ) ( \"it\" \"4\" ^^ xsd:integer )\n    }\n  }\n  OPTIONAL {\n    wd:Q1163081 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q1163081 wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    wd:Q1163081 wdt:P1651 ?youtubeId .\n  }\n  OPTIONAL {\n    wd:Q1163081 wdt:P2037 ?githubUsername .\n  }\n  OPTIONAL {\n    wd:Q1163081 wdt:P2002 ?twitterUsername .\n  }\n  OPTIONAL {\n    wd:Q1163081 wdt:P2013 ?facebookUsername .\n  }\n  OPTIONAL {\n    wd:Q1163081 wdt:P2003 ?instagramUsername .\n  }\n  OPTIONAL {\n    wd:Q1163081 wdt:P856 ?officialWebsite .\n  }\n  OPTIONAL {\n    wd:Q1163081 wdt:P496 ?orcid .\n  }\n  OPTIONAL {\n    ?wikipediaArticle rdf:type schema:Article ; schema:about wd:Q1163081 ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n}\nORDER BY ASC ( ?order )", "paraphrases": ["What are the multilingual labels and Wikipedia article for the 1995 film \"Money Train\", and does it have any associated YouTube, Twitter, Instagram, Facebook, GitHub, official website, or ORCID identifiers?", "Show me the English, German, French, and Italian labels for the movie Money Train, its English Wikipedia page, and any available social media handles or official website links."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q1163081> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var12 ) ) ) . VALUES ( ?var12 ?var13 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q1163081> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q1163081> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q1163081> <http://www.wikidata.org/prop/direct/P1651> ?var5 . } OPTIONAL { <http://www.wikidata.org/entity/Q1163081> <http://www.wikidata.org/prop/direct/P2037> ?var6 . } OPTIONAL { <http://www.wikidata.org/entity/Q1163081> <http://www.wikidata.org/prop/direct/P2002> ?var7 . } OPTIONAL { <http://www.wikidata.org/entity/Q1163081> <http://www.wikidata.org/prop/direct/P2013> ?var8 . } OPTIONAL { <http://www.wikidata.org/entity/Q1163081> <http://www.wikidata.org/prop/direct/P2003> ?var9 . } OPTIONAL { <http://www.wikidata.org/entity/Q1163081> <http://www.wikidata.org/prop/direct/P856> ?var10 . } OPTIONAL { <http://www.wikidata.org/entity/Q1163081> <http://www.wikidata.org/prop/direct/P496> ?var11 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q1163081> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var13 )"}}
{"id": "test_1493", "question": "Populations with scientific names", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?population WHERE {\n  ?population wdt:P225 ?scientificName .\n  ?population wdt:P31 wd:Q2625603 .\n}", "paraphrases": ["Which populations are assigned a scientific taxonomic name?", "List all known populations of species that have a recognized scientific name."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P225> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2625603> . }"}}
{"id": "test_1494", "question": "Image, start and end dates, and academic degrees associated with Katharine Keats-Rohan\u2019s affiliation or employer at Linacre College.", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?image ?organization ?orgLabel ?start ?end ?degreeLabel WHERE {\n  {\n    wd:Q528722 p:P1416 ?affiliationStatement .\n    ?affiliationStatement ps:P1416 ?organization .\n  } UNION {\n    wd:Q528722 p:P108 ?affiliationStatement .\n    ?affiliationStatement ps:P108 ?organization .\n  }\n  ?organization rdfs:label ?orgLabel .\n  FILTER ( LANG( ?orgLabel ) = \"en\" ) OPTIONAL {\n    ?organization wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?affiliationStatement pq:P580 ?start .\n  }\n  OPTIONAL {\n    ?affiliationStatement pq:P582 ?end .\n  }\n  OPTIONAL {\n    ?affiliationStatement pq:P512 ?degree .\n    ?degree rdfs:label ?degreeLabel .\n    FILTER ( LANG( ?degreeLabel ) = \"en\" )\n  }\n}", "paraphrases": ["What is the image of Linacre College, and when did Katharine Keats-Rohan start or end her affiliation or employment there?", "Show me the image of Katharine Keats-Rohan\u2019s employer or affiliated institution, along with any start/end dates or academic degrees linked to that relationship."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label ?var4 ?var5 ?var6Label WHERE { { <http://www.wikidata.org/entity/Q528722> <http://www.wikidata.org/prop/P1416> ?var7 . } UNION { <http://www.wikidata.org/entity/Q528722> <http://www.wikidata.org/prop/P108> ?var7 . } { ?var7 <http://www.wikidata.org/prop/statement/P1416> ?var2 . } UNION { ?var7 <http://www.wikidata.org/prop/statement/P108> ?var2 . } ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P580> ?var4 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P582> ?var5 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P512> ?var8 . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_1495", "question": "What is the most specific common category that both Seattle and Dundee United F.C. belong to through their types?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonAncestor ?label WHERE {\n  wd:Q1093829 wdt:P279 * wd:Q155076 .\n  wd:Q476028 wdt:P279 * wd:Q155076 .\n  wd:Q155076 rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}", "paraphrases": ["Which entity is a shared ancestor in the subclass hierarchy of the type of Seattle and the type of Dundee United F.C.?", "What is the lowest-level classification that includes both the type of Seattle (a city) and the type of Dundee United F.C. (a football club)?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q5083> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q192873> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1496", "question": "Composers with birth year, place of birth, number of notable works, and awards received", "sparql": "SELECT ?composer (SAMPLE(?labelComposer) AS ?composerLabel) (YEAR(?birthDate) AS ?year) (MONTH(?birthDate) AS ?month) (DAY(?birthDate) AS ?day) (SAMPLE(?placeOfBirthLabelRaw) AS ?placeOfBirthLabel) (COUNT(?notableWork) AS ?notableWorkCount) (COUNT(?award) AS ?awardCount) WHERE { ?composer wdt:P106 wd:Q36834 . OPTIONAL { ?composer wdt:P800 ?notableWork . } OPTIONAL { ?composer wdt:P166 ?award . } OPTIONAL { ?composer wdt:P19 ?placeOfBirth . ?placeOfBirth rdfs:label ?placeOfBirthLabelRaw . FILTER(LANG(?placeOfBirthLabelRaw) = \"en\") } ?composer wdt:P569 ?birthDate . ?composer rdfs:label ?labelComposer . FILTER(LANG(?labelComposer) = \"en\") } GROUP BY ?composer ?birthDate LIMIT 10", "paraphrases": ["Who are some composers, when and where were they born, and how many notable works and awards do they have?", "Show me a list of up to 10 composers, including their birth dates (year, month, day), place of birth, and the number of notable works and awards they received."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( YEAR ( ?var2 ) AS ?var3 )( MONTH ( ?var2 ) AS ?var4 )( DAY ( ?var2 ) AS ?var5 ) ?var6Label ( COUNT ( ?var7 ) AS ?var7 )( COUNT ( ?var8 ) AS ?var8 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q36834> . { ?var1 <http://www.wikidata.org/prop/direct/P800> ?var7 . } { ?var1 <http://www.wikidata.org/prop/direct/P166> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var6 . } ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P1303> ?var9 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var1Label ?var2 ?var6Label LIMIT 10"}}
{"id": "test_1497", "question": "Composers and their burial places", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?composerLabel ?burialPlaceLabel WHERE {\n  ?composer wdt:P106 wd:Q36834 .\n  ?composer wdt:P119 ?burialPlace .\n  ?composer rdfs:label ?composerLabel .\n  ?burialPlace rdfs:label ?burialPlaceLabel .\n  FILTER(LANG(?composerLabel) = \"en\")\n  FILTER(LANG(?burialPlaceLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Where are composers buried, and what are their names?", "List the names of composers along with the locations where they are buried."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q36834> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P119> ?var2 . } LIMIT 150000"}}
{"id": "test_1498", "question": "What are the alternative names, image, and type of Brad Pitt?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?personLabel ?altLabel ?image ?instanceLabel WHERE {\n  ?person wdt:P646 \"/m/0c6qh\" .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) .\n  ?person wdt:P31 ?instance .\n  ?instance rdfs:label ?instanceLabel .\n  FILTER ( LANG( ?instanceLabel ) = \"en\" ) .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?person skos:altLabel ?altLabel .\n    FILTER ( LANG( ?altLabel ) = \"en\" ) .\n  }\n}", "paraphrases": ["What are the English alternative names and the image of Brad Pitt, and what type of entity is he?", "Show me Brad Pitt\u2019s English name, his alternative names, his picture, and confirm he is classified as a human."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P646> \"/m/0c6qh\". ?var1 <http://www.wikidata.org/prop/direct/P31> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var6 . FILTER ( ( ( LANG ( ?var6 ) = \"en\" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P646> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } OPTIONAL { ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_1499", "question": "What are the genres of the movie Iron Man?", "sparql": "SELECT DISTINCT ?genre WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P1476 \"Iron Man\" @en . ?film wdt:P577 ?publicationDate . ?film wdt:P136 ?genre . } ORDER BY DESC(?publicationDate)", "paraphrases": ["Can you list the genres associated with the film titled \"Iron Man\", ordered by release date from newest to oldest?", "What types of films is Iron Man classified as in Wikidata?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var2 <http://www.wikidata.org/prop/direct/P1476> \"Iron Man\"@en . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var3 . ?var2 <http://www.wikidata.org/prop/direct/P136> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var3 )"}}
{"id": "test_1500", "question": "Properties used to describe the novel Wonder with their English labels and descriptions.", "sparql": "SELECT ?propItem ?propLabel ?propDescription WHERE { wd:Q13476115 ?prop ?value . BIND(IRI(REPLACE(STR(?prop), \"http://www.wikidata.org/prop/direct/\", \"http://www.wikidata.org/entity/\")) AS ?propItem) . ?propItem rdf:type wikibase:Property . ?propItem rdfs:label ?propLabel . ?propItem schema:description ?propDescription . FILTER(LANG(?propLabel) = \"en\") FILTER(LANG(?propDescription) = \"en\") } LIMIT 100", "paraphrases": ["What properties are used to describe the book Wonder, and what are their English labels and descriptions?", "Show me the English labels and descriptions of all properties that are used to describe the novel Wonder."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q13476115> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_1501", "question": "What are Mozart's musical works, their catalog codes, and publication dates?", "sparql": "SELECT DISTINCT ?work ?workLabel ?catalogCode ?publicationDate WHERE { ?work wdt:P86 wd:Q254 ; wdt:P528 ?catalogCode ; wdt:P577 ?publicationDate . ?work rdfs:label ?workLabel .}", "paraphrases": ["Which compositions did Wolfgang Amadeus Mozart write, and what are their K\u00f6chel numbers and release dates?", "List all of Mozart\u2019s compositions along with their catalog identifiers and when they were first published."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P86> <http://www.wikidata.org/entity/Q254> ; <http://www.wikidata.org/prop/direct/P528> ?var2 ; <http://www.wikidata.org/prop/direct/P577> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pt,en\". } }"}}
{"id": "test_1502", "question": "Singers with their birthplaces and dates of birth", "sparql": "SELECT ?singer ?singerLabel ?birthPlace ?birthPlaceLabel ?birthDate WHERE { ?singer wdt:P106 wd:Q177220 . OPTIONAL { ?singer wdt:P19 ?birthPlace . ?birthPlace rdfs:label ?birthPlaceLabel . FILTER(LANG(?birthPlaceLabel) = \"en\") } OPTIONAL { ?singer wdt:P569 ?birthDate . } ?singer rdfs:label ?singerLabel . FILTER(LANG(?singerLabel) = \"en\") } LIMIT 100", "paraphrases": ["Who are some singers, and where and when were they born?", "List up to 100 singers along with their place of birth and date of birth in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q177220> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } } LIMIT 100"}}
{"id": "test_1503", "question": "Journal articles in German starting with \"Der\"", "sparql": "SELECT ?article ?articleLabel WHERE { ?article wdt:P31 wd:Q191067 . ?article rdfs:label ?articleLabel . FILTER(LANG(?articleLabel) = \"de\") FILTER(STRSTARTS(?articleLabel, \"Der\")) } LIMIT 10", "paraphrases": ["What are some journal articles whose German titles begin with \"Der\"?", "List German-language journal articles with titles starting with \"Der\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q191067> . FILTER ( ( STRSTARTS ( ?var1Label , \"Der\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } } LIMIT 10"}}
{"id": "test_1504", "question": "How many diseases are genetically associated with the NCS1 gene?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ( COUNT( ?disease ) AS ?count ) WHERE {\n  ?disease wdt:P2293 wd:Q14907382 .\n}", "paraphrases": ["What is the number of diseases linked to the NCS1 gene through genetic association?", "Count the diseases that have a genetic association with the NCS1 gene."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2293> <http://www.wikidata.org/entity/Q14907382> . }"}}
{"id": "test_1505", "question": "What category do both Blue Origin and American Airlines belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonClass ?label WHERE {\n  wd:Q885836 wdt:P31 ?commonClass .\n  wd:Q32396 wdt:P31 ?commonClass .\n  ?commonClass rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["What is the most specific shared classification between Blue Origin and American Airlines?", "Which class is common to both Blue Origin and American Airlines in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q885836> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q32396> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1506", "question": "Spanish labels and descriptions of works with BVMC work IDs in Wikidata.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?work ?workLabel ?workDescription WHERE {\n  ?work wdt:P3976 ?bvmcId .\n  ?work rdfs:label ?workLabel .\n  ?work schema:description ?workDescription .\n  FILTER ( LANG( ?workLabel ) = \"es\" ) .\n  FILTER ( LANG( ?workDescription ) = \"es\" ) .\n}\nLIMIT 100", "paraphrases": ["What works in Wikidata have Spanish labels and descriptions and are listed in the Biblioteca Virtual Miguel de Cervantes?", "Show me the Spanish titles and descriptions of literary works that have a BVMC work ID."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P3976> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"es\" ) ) ) . } LIMIT 100"}}
{"id": "test_1507", "question": "Direct properties and identifiers of the publisher entity on Wikidata", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?value ?label ?description WHERE {\n  wd:Q2085381 ?property ?value .\n  FILTER ( STRSTARTS( STR( ?property ) , STR( wdt: ) ) ) OPTIONAL {\n    wd:Q2085381 rdfs:label ?label .\n    FILTER ( LANG( ?label ) = 'en' )\n  }\n  OPTIONAL {\n    wd:Q2085381 schema:description ?description .\n    FILTER ( LANG( ?description ) = 'en' )\n  }\n}\nORDER BY ?property", "paraphrases": ["What are the direct properties and their values for the publisher (Q2085381) on Wikidata, along with its English label and description?", "Show me all the external IDs and classifications associated with the publisher entity, including its English name and definition."], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q2085381> ?var1 ?var2 . } LIMIT 1000"}}
{"id": "test_1508", "question": "What is the most general category that both American Airlines and Marcus Ericsson belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?label WHERE {\n  wd:Q32396 wdt:P31 ?cls1 .\n  wd:Q975207 wdt:P31 ?cls2 .\n  ?cls1 wdt:P279 * wd:Q35120 .\n  ?cls2 wdt:P279 * wd:Q35120 .\n  wd:Q35120 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["What is the highest-level common class in the Wikidata hierarchy shared by American Airlines and Marcus Ericsson?", "What is the common ancestor entity in the subclass hierarchy of American Airlines and Marcus Ericsson?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q32396> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q975207> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1509", "question": "Most specific common superclass of Borno State and Lewis Hamilton in Wikidata's class hierarchy.", "sparql": "SELECT ?ancestor (SUM(?dist1 + ?dist2) AS ?totalDistance)\nWHERE {\n  {\n    SELECT ?ancestor (COUNT(?mid) AS ?dist1)\n    WHERE {\n      wd:Q130626 wdt:P31 ?type1 .\n      ?type1 wdt:P279+ ?mid .\n      ?mid wdt:P279* ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n  {\n    SELECT ?ancestor (COUNT(?mid) AS ?dist2)\n    WHERE {\n      wd:Q9673 wdt:P31 ?type2 .\n      ?type2 wdt:P279+ ?mid .\n      ?mid wdt:P279* ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n}\nGROUP BY ?ancestor\nORDER BY ASC(?totalDistance)\nLIMIT 1", "paraphrases": ["What is the most specific class that both Borno State and Lewis Hamilton are instances of, through their type hierarchies?", "Find the common ancestor class in the subclass hierarchy that minimizes the total distance from the types of Borno State and Lewis Hamilton."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q130626> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q9673> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1510", "question": "The Beatles, image, official website, MusicBrainz ID, Twitter, Facebook, Songkick ID", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?band ?label ?image ?website ?musicbrainz ?twitter ?facebook ?songkick WHERE {\n  VALUES ?band {\n    wd:Q1299\n  }\n  ?band rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    ?band wdt:P18 ?image .\n    ?band wdt:P856 ?website .\n    ?band wdt:P434 ?musicbrainz .\n    ?band wdt:P2002 ?twitter .\n    ?band wdt:P2013 ?facebook .\n    ?band wdt:P3478 ?songkick .\n  }\n}\nLIMIT 10", "paraphrases": ["What are the official website, social media handles, and identifiers for the band The Beatles?", "Please provide the image, website, MusicBrainz ID, Twitter username, Facebook page, and Songkick ID for The Beatles."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var4Label ?var5 ?var6 ?var7 ?var8 ?var9 WHERE { ?var1 ( <http://www.w3.org/2000/01/rdf-schema#label> | <http://www.w3.org/2004/02/skos/core#altLabel> | <http://www.wikidata.org/prop/direct/P1449> ) \"string1\"@en . { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q215380> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5741069> . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q639669> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3478> ?var7 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P856> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P434> ?var6 . ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var8 . ?var1 <http://www.wikidata.org/prop/direct/P2013> ?var9 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10"}}
{"id": "test_1511", "question": "What movie has the IMDb ID tt0020092?", "sparql": "SELECT ?movie WHERE { ?movie wdt:P345 \"tt0020092\" . }", "paraphrases": ["Which Wikidata item corresponds to the IMDb identifier tt0020092?", "Find the movie in Wikidata that is identified by the IMDb ID tt0020092."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0020092\". }"}}
{"id": "test_1512", "question": "Italian musical groups with Discogs IDs and official websites", "sparql": "SELECT ?bandLabel ?countryLabel ?labelLabel ?website WHERE { ?band wdt:P31 wd:Q215380 . ?band wdt:P27 wd:Q38 . ?band wdt:P1953 ?discogsId . ?band wdt:P856 ?website . ?band rdfs:label ?bandLabel . wd:Q38 rdfs:label ?countryLabel . OPTIONAL { ?band wdt:P264 ?label . ?label rdfs:label ?labelLabel . } FILTER(LANG(?bandLabel) = \"en\") FILTER(LANG(?countryLabel) = \"en\") FILTER(!BOUND(?labelLabel) || LANG(?labelLabel) = \"en\") } LIMIT 10", "paraphrases": ["Which Italian music bands have Discogs IDs and official websites?", "Show me Italian musical groups that have Discogs IDs and official websites, along with their record labels if available."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3Label ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1953> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P27> ?var2 ; <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.wikidata.org/entity/Q38> . ?var1 <http://www.wikidata.org/prop/direct/P264> ?var6Label ; <http://www.wikidata.org/prop/direct/P740> ?var7 ; <http://www.wikidata.org/prop/direct/P856> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,it\". } } LIMIT 100"}}
{"id": "test_1513", "question": "Who are the prominent businesspeople with the surname Zhang?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?occupation WHERE {\n  ?person wdt:P734 wd:Q804909 .\n  ?person wdt:P106 ?occupation .\n  VALUES ?occupation {\n    wd:Q43845 wd:Q131524 wd:Q2961975 wd:Q911554\n  }\n}\nORDER BY ?person\nLIMIT 10", "paraphrases": ["Can you list Chinese entrepreneurs and business magnates with the last name Zhang?", "Show me people named Zhang who are known for their influence in business, such as founders or CEOs."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2006045> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q804909> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1514", "question": "What is the common ancestor class with the minimum sum of subclass steps from the classes of Quentin Tarantino and World War II?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?ancestor ( COUNT( ?mid1 ) AS ?dist1 ) ( COUNT( ?mid2 ) AS ?dist2 ) ( ( COUNT( ?mid1 ) + COUNT( ?mid2 ) ) AS ?total ) WHERE {\n  wd:Q3772 wdt:P31 ?class1 .\n  wd:Q362 wdt:P31 ?class2 .\n  ?class1 wdt:P279 * ?mid1 .\n  ?mid1 wdt:P279 ?ancestor .\n  ?class2 wdt:P279 * ?mid2 .\n  ?mid2 wdt:P279 ?ancestor .\n}\nGROUP BY ?ancestor\nORDER BY ?total\nLIMIT 1", "paraphrases": ["Find the entity that is a subclass ancestor of both Quentin Tarantino and World War II, with the least total number of subclass relationships from their classes.", "Which class in the Wikidata ontology is the closest common ancestor to both Quentin Tarantino and World War II, based on the sum of shortest subclass paths?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3772> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q362> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1515", "question": "Prefectures of Japan", "sparql": "SELECT ?prefecture ?prefectureLabel WHERE { ?prefecture wdt:P17 wd:Q17 ; wdt:P31 wd:Q50337 . ?prefecture rdfs:label ?prefectureLabel . FILTER(LANG(?prefectureLabel) = 'en') } LIMIT 100", "paraphrases": ["What are the prefectures in Japan?", "List the English names of all prefectures in Japan."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q17> ; <http://www.wikidata.org/prop/direct/P31> * <http://www.wikidata.org/entity/Q1503302> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_1516", "question": "List all prefectures of Japan, including historical ones.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?prefecture ?label WHERE {\n  ?prefecture wdt:P31 wd:Q50337 .\n  ?prefecture rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["What are all the administrative prefectures that have existed in Japan?", "Show me the names of all entities classified as prefectures of Japan."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q50337> . } LIMIT 100"}}
{"id": "test_1517", "question": "What pairs of topics commonly appear together in scholarly works about gender and language?", "sparql": "SELECT DISTINCT ?topic1 ?topic1Label ?topic2 ?topic2Label WHERE { ?work wdt:P921 ?topic1 , ?topic2 . FILTER ( ?topic1 != ?topic2 && ?topic1 != wd:Q265239 && ?topic2 != wd:Q265239 ) { ?work wdt:P921 wd:Q265239 } UNION { ?work wdt:P361 wd:Q265239 } UNION { ?work wdt:P1269 wd:Q265239 } OPTIONAL { ?topic1 rdfs:label ?topic1Label . FILTER(LANG(?topic1Label) = \"en\") } OPTIONAL { ?topic2 rdfs:label ?topic2Label . FILTER(LANG(?topic2Label) = \"en\") } }", "paraphrases": ["Which topics are often discussed alongside gender and language in academic works?", "Can you list all combinations of two subjects (other than gender and language) that are both main topics of the same work related to gender and language?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q265239> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P361> +) <http://www.wikidata.org/entity/Q265239> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P1269> +) <http://www.wikidata.org/entity/Q265239> . } ?var3 <http://www.wikidata.org/prop/direct/P921> ?var1 , ?var2 . FILTER ( ( ( <http://www.wikidata.org/entity/Q265239> != ?var1 ) && ( <http://www.wikidata.org/entity/Q265239> != ?var2 ) && ( ?var1 != ?var2 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_1518", "question": "What is the genre of the film \"Iron Man\"?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?genreLabel WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P1476 \"Iron Man\" @en .\n  ?film wdt:P136 ?genre .\n  ?genre rdfs:label ?genreLabel .\n  FILTER(LANG(?genreLabel) = \"en\")\n}\nLIMIT 1", "paraphrases": ["Genre of Iron Man movie", "Can you tell me the English-language genre label for the movie titled \"Iron Man\"?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P1476> \"Iron Man\"@en . ?var1 <http://www.wikidata.org/prop/direct/P136> ?var2 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 1"}}
{"id": "test_1519", "question": "What is the most specific class that both Silicon Valley and Felipe Massa belong to through their class hierarchies?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonClass WHERE {\n  wd:Q2399626 wdt:P279 * ?commonClass .\n  wd:Q5 wdt:P279 * ?commonClass .\n  ?commonClass wdt:P279 * ?super .\n}\nGROUP BY ?commonClass\nORDER BY DESC ( COUNT( ?super ) )\nLIMIT 1", "paraphrases": ["Find the common ancestor class in the Wikidata ontology that is the most specific for both Silicon Valley and Felipe Massa.", "Which class is the deepest common superclass in the hierarchy for the category of Silicon Valley and the category of Felipe Massa?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q163820> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q82652> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1520", "question": "What is the most specific category that both the Aut\u00f3dromo Jos\u00e9 Carlos Pace and Louisiana belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonAncestor WHERE {\n  wd:Q171387 wdt:P31 ?type1 .\n  wd:Q1588 wdt:P31 ?type2 .\n  ?type1 wdt:P279 * ?commonAncestor .\n  ?type2 wdt:P279 * ?commonAncestor .\n  FILTER(?commonAncestor != ?type1)\n  FILTER(?commonAncestor != ?type2)\n  OPTIONAL {\n    ?commonAncestor wdt:P279 ?child .\n  }\n}\nGROUP BY ?commonAncestor\nORDER BY ASC(COUNT(?child))\nLIMIT 1", "paraphrases": ["What is the highest-level common class in Wikidata that includes both a motorsport track and a U.S. state?", "What is the most general concept that connects a racing circuit in Brazil with the state of Louisiana?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q171387> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1588> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1521", "question": "What books and screenplays were written by Martin Suter?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?work ?workLabel WHERE {\n  ?work ( wdt:P50 | wdt:P58 ) wd:Q117455 .\n  OPTIONAL {\n    ?work rdfs:label ?workLabel .\n    FILTER ( LANG( ?workLabel ) = \"en\" )\n  }\n}", "paraphrases": ["List all creative works authored or screenwritten by the Swiss writer Martin Suter.", "Which films and novels is Martin Suter credited as author or screenwriter for?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P58> | <http://www.wikidata.org/prop/direct/P50> | <http://www.wikidata.org/prop/direct/P1877> ) <http://www.wikidata.org/entity/Q117455> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1522", "question": "Which Wikidata entities have the Twitter usernames DocaLyon, Mediapart, nextinpact, Numerama, Slatefr, or WillOremus?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity ?twitterUsername WHERE {\n  ?entity wdt:P2002 ?twitterUsername .\n  FILTER(?twitterUsername = \"DocaLyon\" || ?twitterUsername = \"Mediapart\" || ?twitterUsername = \"nextinpact\" || ?twitterUsername = \"Numerama\" || ?twitterUsername = \"Slatefr\" || ?twitterUsername = \"WillOremus\")\n}", "paraphrases": ["What are the Wikidata items associated with the Twitter accounts @DocaLyon, @Mediapart, @nextinpact, @Numerama, @Slatefr, and @WillOremus?", "Show me the Wikidata entities that are linked to these Twitter handles: DocaLyon, Mediapart, nextinpact, Numerama, Slatefr, and WillOremus."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"framasoft\" ) ( \"string2\" ) ( \"string3\" ) ( \"Slatefr\" ) ( \"WillOremus\" ) ( \"ConvMag\" ) ( \"framatube\" ) ( \"nextinpact\" ) ( \"SReuiller\" ) ( \"DocaLyon\" ) ( \"GAFAlab\" ) ( \"Mediapart\" ) ( \"Numerama\" ) ( \"nicosomb\" ) ( \"SVTux\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"maiwann_\" ) } }"}}
{"id": "test_1523", "question": "Singers, actors, musicians, or TV presenters born on record, with their gender, country, and date of birth.", "sparql": "SELECT DISTINCT ?person ?personLabel ?genreLabel ?genderLabel ?dateOfBirth ?countryLabel ?instrumentLabel WHERE { { ?person wdt:P106 wd:Q177220 . } UNION { ?person wdt:P106 wd:Q33999 . } UNION { ?person wdt:P106 wd:Q639669 . } UNION { ?person wdt:P106 wd:Q947873 . } ?person wdt:P569 ?dateOfBirth . OPTIONAL { ?person wdt:P136 ?genre . ?genre rdfs:label ?genreLabel . FILTER(LANG(?genreLabel) = \"en\") } OPTIONAL { ?person wdt:P21 ?gender . ?gender rdfs:label ?genderLabel . FILTER(LANG(?genderLabel) = \"en\") } OPTIONAL { ?person wdt:P27 ?country . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") } OPTIONAL { ?person wdt:P1303 ?instrument . ?instrument rdfs:label ?instrumentLabel . FILTER(LANG(?instrumentLabel) = \"en\") } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } LIMIT 10", "paraphrases": ["Who are some singers, actors, musicians, or television presenters, and what are their dates of birth, genders, and countries of citizenship?", "List up to 10 people who are singers, actors, musicians, or TV presenters, showing their names, dates of birth, gender, country, and optionally their music genre or instrument."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3Label ?var4 ?var5Label ?var6Label WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q177220> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q639669> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q947873> . } { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P21> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P27> ?var5 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1303> ?var6 . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10"}}
{"id": "test_1524", "question": "What is the most specific category that both Wrigley Field and the Brandenburg Gate belong to through their subclass hierarchy?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonSuperclass ?label WHERE {\n  wd:Q811979 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  FILTER EXISTS {\n    wd:Q483110 wdt:P279 * wd:Q811979\n  }\n  FILTER EXISTS {\n    wd:Q143912 wdt:P279 * wd:Q811979\n  }\n}", "paraphrases": ["What do Wrigley Field and the Brandenburg Gate have in common as types of structures in Wikidata?", "What is the shared architectural classification for Wrigley Field and the Brandenburg Gate?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1052807> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q82425> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1525", "question": "Genes associated with diseases through biological pathways", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?geneLabel ?diseaseLabel WHERE {\n  ?gene wdt:P31 wd:Q7187 ; wdt:P2293 ?disease ; wdt:P682 ?pathway .\n  ?pathway wdt:P31 wd:Q4915012 .\n  ?gene rdfs:label ?geneLabel .\n  ?disease rdfs:label ?diseaseLabel .\n  FILTER ( LANG( ?geneLabel ) = \"en\" && LANG( ?diseaseLabel ) = \"en\" )\n}\nGROUP BY ?geneLabel ?diseaseLabel\nORDER BY ASC ( ?diseaseLabel )", "paraphrases": ["Which genes are genetically linked to diseases and involved in biological pathways?", "Show me the English names of genes and the diseases they're associated with, where the genes are part of biological pathways."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4915012> ; <http://www.wikidata.org/prop/direct/P527> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 ; ( <http://www.wikidata.org/prop/direct/P2293> / <http://www.w3.org/2000/01/rdf-schema#label> ) ?var2 . FILTER ( ( ( LANG ( ?var1 ) = \"en\" ) && ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1 ?var2 HAVING ( ( COUNT ( ?var4 ) > \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY ASC( ?var2 )"}}
{"id": "test_1526", "question": "Diseases and their associated gene names in Wikidata", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?disease ?geneLabel WHERE {\n  ?disease wdt:P2293 ?gene .\n  ?gene rdfs:label ?geneLabel .\n  FILTER(LANG(?geneLabel) = \"en\")\n}", "paraphrases": ["What diseases are genetically associated with which genes, and what are the genes' names?", "List diseases along with the English names of the genes that are genetically linked to them."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P2293> / <http://www.wikidata.org/entity/P1448> ) ?var2 . }"}}
{"id": "test_1527", "question": "Closest common superclass of Zachary Taylor and Jos Verstappen.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?common WHERE {\n  wd:Q11896 wdt:P31 ?type .\n  wd:Q173145 wdt:P31 ?type .\n  ?type wdt:P279 ?common .\n}\nLIMIT 1", "paraphrases": ["What is the most specific category that both Zachary Taylor and Jos Verstappen belong to?", "Show me the nearest shared category in the type hierarchy for Zachary Taylor and Jos Verstappen."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q11896> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q173145> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1528", "question": "What is the most general category that both the NAACP and the Taliban belong to through their subclass hierarchy?", "sparql": "SELECT ?commonAncestor ( (?dist1 + ?dist2) AS ?totalDistance ) WHERE { { SELECT ?type1 ?commonAncestor (COUNT(?mid) AS ?dist1) WHERE { wd:Q502044 wdt:P31 ?type1 . ?type1 wdt:P279+ ?mid . ?mid wdt:P279* ?commonAncestor . } GROUP BY ?type1 ?commonAncestor } { SELECT ?type2 ?commonAncestor (COUNT(?mid) AS ?dist2) WHERE { wd:Q42418 wdt:P31 ?type2 . ?type2 wdt:P279+ ?mid . ?mid wdt:P279* ?commonAncestor . } GROUP BY ?type2 ?commonAncestor } } ORDER BY ASC(?totalDistance) LIMIT 1", "paraphrases": ["What is the common ancestor in the subclass tree with the shortest combined distance from both the NAACP and the Taliban?", "Find the entity in Wikidata\u2019s subclass hierarchy that is closest to both the NAACP and the Taliban, measured by the sum of shortest paths via 'subclass of' relationships."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q502044> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q42418> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1529", "question": "What category do Microsoft and Hawaiian Airlines both belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonType ?commonTypeLabel WHERE {\n  wd:Q2283 wdt:P31 ?commonType .\n  wd:Q642610 wdt:P31 ?commonType .\n  ?commonType rdfs:label ?commonTypeLabel .\n  FILTER ( LANG( ?commonTypeLabel ) = \"en\" )\n}\nORDER BY ?commonTypeLabel", "paraphrases": ["Which type is shared by both Microsoft and Hawaiian Airlines?", "Find the common classification between Microsoft and Hawaiian Airlines."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q642610> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2283> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1530", "question": "What is the most specific shared category that both the English language and the Taliban belong to?", "sparql": "SELECT ?ancestor (?dist1 + ?dist2 AS ?totalDistance)\nWHERE {\n  {\n    SELECT ?ancestor (COUNT(?mid1) AS ?dist1)\n    WHERE {\n      wd:Q1860 wdt:P31+ ?mid1 .\n      ?mid1 wdt:P31* ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n  {\n    SELECT ?ancestor (COUNT(?mid2) AS ?dist2)\n    WHERE {\n      wd:Q42418 wdt:P31+ ?mid2 .\n      ?mid2 wdt:P31* ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n}\nORDER BY ASC(?totalDistance)\nLIMIT 1", "paraphrases": ["How many steps does it take to reach the highest common type from both English and the Taliban in Wikidata\u2019s ontology?", "Which top-level class do English and the Taliban have in common, and what is the combined path length to it?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1860> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q42418> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1531", "question": "What properties are associated with transplant rejection in Wikidata?", "sparql": "SELECT DISTINCT ?property WHERE { ?entity ?property wd:Q1765748 . }", "paraphrases": ["Which entities are linked to transplant rejection, and through what relationships?", "What types of relationships does transplant rejection have with other medical entities, such as treatments or subtypes?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q1765748> . }"}}
{"id": "test_1532", "question": "Albums with MusicBrainz release group IDs and English titles", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?album ?albumLabel WHERE {\n  ?album wdt:P31 wd:Q482994 ; wdt:P436 ?mbReleaseGroupID .\n  ?album rdfs:label ?albumLabel .\n  FILTER ( LANG( ?albumLabel ) = \"en\" )\n}", "paraphrases": ["Which albums have a MusicBrainz release group ID and an English label?", "List all music albums that are identified in MusicBrainz by a release group ID, along with their English titles."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q482994> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P436> ?var2 . } FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P434> ?var2 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1533", "question": "Who has the Twitter/X username \"GMShanky\"?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"GMShanky\" } } ORDER BY ASC(wikibase:sitelinks)", "paraphrases": ["What is the Wikidata item for the person with the X handle GMShanky, sorted by how many language versions of their page exist?", "Can you find the entity on Wikidata linked to the username GMShanky on X (formerly Twitter)?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"GMShanky\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_1534", "question": "What Wikidata item has the IMDb ID tt1320336?", "sparql": "SELECT ?item WHERE { ?item wdt:P345 \"tt1320336\" . } LIMIT 1", "paraphrases": ["Which movie on Wikidata is identified by the IMDb ID tt1320336?", "Find the Wikidata entity for the movie with IMDb ID tt1320336."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1320336\". } LIMIT 1"}}
{"id": "test_1535", "question": "South Korean TV shows with IMDb IDs", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var2Label ?imdbId WHERE {\n  ?var2 wdt:P31 wd:Q15416 .\n  ?var2 wdt:P495 wd:Q884 .\n  ?var2 wdt:P345 ?imdbId .\n}", "paraphrases": ["What are the South Korean television programs listed on IMDb?", "List all television programs from South Korea that have an IMDb identifier."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q15416> . ?var2 <http://www.wikidata.org/prop/direct/P495> <http://www.wikidata.org/entity/Q884> . ?var2 <http://www.wikidata.org/prop/direct/P248> <http://www.wikidata.org/entity/Q37312> . }"}}
{"id": "test_1536", "question": "What are the fictional entity types and their superclasses in Tolkien\u2019s legendarium?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?type ?typeLabel ?supertype ?supertypeLabel WHERE {\n  ?item wdt:P1080 wd:Q81738 .\n  ?item(wdt:P31 | wdt:P279) ?type .\n  ?type wdt:P279 * wd:Q14897293 .\n  ?type(wdt:P31 | wdt:P279) ?supertype .\n  ?supertype wdt:P279 * wd:Q14897293 .\n  ?type rdfs:label ?typeLabel .\n  ?supertype rdfs:label ?supertypeLabel .\n  FILTER(LANG(?typeLabel) = \"en\")\n  FILTER(LANG(?supertypeLabel) = \"en\")\n}\nORDER BY ?type", "paraphrases": ["What classes of fictional beings and locations appear in Tolkien\u2019s universe, and what broader categories do they belong to?", "List all the types of characters, places, and objects from Tolkien\u2019s legendarium, along with their classification hierarchies."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> ) ?var2 . ?var3 (( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> )/( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> )?) ?var1 . ?var3 <http://www.wikidata.org/prop/direct/P1080> <http://www.wikidata.org/entity/Q81738> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } { SELECT ?var3 ( COUNT ( ?var2 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P1080> <http://www.wikidata.org/entity/Q81738> . ?var3 ?var2 ?var5 . } GROUP BY ?var3 ORDER BY DESC( ?var4 ) LIMIT 10 } } ORDER BY ASC( ?var3 )"}}
{"id": "test_1537", "question": "Image of Ben Shahn from SNAC ARK ID w6q240xn", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6q240xn\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the Wikimedia Commons image associated with the SNAC ARK ID w6q240xn?", "Show me the image of the person whose SNAC ARK ID is w6q240xn."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6q240xn\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_1538", "question": "Anime TV programs with Japanese titles and their countries of origin in Japanese.", "sparql": "SELECT ?anime ?animeLabel ?country ?countryLabel WHERE { ?anime wdt:P31 wd:Q11086742 . ?anime wdt:P495 ?country . OPTIONAL { ?anime rdfs:label ?animeLabel . FILTER(LANG(?animeLabel) = \"ja\") } OPTIONAL { ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"ja\") } } LIMIT 100", "paraphrases": ["Which anime television programs have Japanese labels, and what are their countries of origin in Japanese?", "Show me a list of anime TV programs along with their Japanese names and the Japanese names of the countries that produced them."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11086742> . ?var3 <http://www.wikidata.org/prop/direct/P495> ?var1 . OPTIONAL { ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6 . FILTER ( ( ( LANG ( ?var2 ) = \"ja\" ) ) ) . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"ja\" ) ) ) . } } LIMIT 100"}}
{"id": "test_1539", "question": "Number of diseases genetically associated with FAM77B", "sparql": "SELECT (COUNT(?disease) AS ?count) WHERE { ?disease wdt:P2293 wd:Q18052271 . }", "paraphrases": ["How many diseases are linked to the FAM77B gene through genetic association?", "List the count of diseases that have a genetic association with the FAM77B gene."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2293> <http://www.wikidata.org/entity/Q18052271> . }"}}
{"id": "test_1540", "question": "Japanese TV series from Japan with Japanese Wikipedia pages and their IMDb, Netflix, and Freebase IDs", "sparql": "SELECT ?series ?seriesLabel ?image ?imdbId ?allmovieId ?freebaseId ?netflixId ?moviemeterId WHERE { ?series wdt:P31 wd:Q5398426 ; wdt:P495 wd:Q17 . ?series rdfs:label ?seriesLabel . FILTER(LANG(?seriesLabel) = \"en\") FILTER (EXISTS { ?wikipediaPage schema:about ?series ; schema:inLanguage \"ja\" ; schema:isPartOf <https://ja.wikipedia.org/> . }) OPTIONAL { ?series wdt:P18 ?image . } OPTIONAL { ?series wdt:P345 ?imdbId . } OPTIONAL { ?series wdt:P1562 ?allmovieId . } OPTIONAL { ?series wdt:P646 ?freebaseId . } OPTIONAL { ?series wdt:P1874 ?netflixId . } OPTIONAL { ?series wdt:P1970 ?moviemeterId . } } LIMIT 10", "paraphrases": ["What Japanese television series have a Japanese Wikipedia page, and what are their IMDb, Netflix, and Freebase identifiers?", "List Japanese TV series originating from Japan that have a Japanese Wikipedia page, along with their image, IMDb ID, AllMovie ID, Freebase ID, Netflix ID, and MovieMeter ID."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q21191019> . ?var1 <http://www.wikidata.org/prop/direct/P495> <http://www.wikidata.org/entity/Q17> . ?var9 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja\". } FILTER ( ( EXISTS { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"ja\". ?var2 <http://schema.org/isPartOf> <https://ja.wikipedia.org/> . } ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P345> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1562> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P646> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1874> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1970> ?var8 . } }"}}
{"id": "test_1541", "question": "What Wikidata item corresponds to the IMDb ID tt0163701?", "sparql": "SELECT ?film WHERE { ?film wdt:P345 \"tt0163701\" . }", "paraphrases": ["Which film on Wikidata has the IMDb identifier tt0163701?", "Find the movie in Wikidata with IMDb ID tt0163701."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0163701\". }"}}
{"id": "test_1542", "question": "Which Crunchyroll IDs are assigned to more than one anime title in Wikidata?", "sparql": "SELECT ?crunchyrollId ( COUNT( ?animeItem ) AS ?count ) ( GROUP_CONCAT( ?animeLabel ; separator=\", \" ) AS ?animeList ) WHERE { ?animeItem wdt:P11330 ?crunchyrollId . ?animeItem rdfs:label ?animeLabel . FILTER(LANG(?animeLabel) = \"en\") } GROUP BY ?crunchyrollId HAVING ( ?count > 1 )", "paraphrases": ["What are the Crunchyroll IDs that have been mistakenly assigned to two different anime series, and what are the names of those series?", "Show me duplicate Crunchyroll Anime IDs and the corresponding English titles of the anime they point to, to help clean up data inconsistencies."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 )( GROUP_CONCAT ( ?var2 ) AS ?var4 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P4110> ?var1 . } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) )"}}
{"id": "test_1543", "question": "What Wikidata item has the IMDb ID tt3350436?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie WHERE {\n  ?movie wdt:P345 \"tt3350436\" .\n}", "paraphrases": ["Which movie on Wikidata is identified by the IMDb ID tt3350436?", "Find the Wikidata entry for the movie with IMDb identifier tt3350436, which is titled \"Fire Twister\"."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt3350436\". }"}}
{"id": "test_1544", "question": "What are fictional characters (excluding biblical figures and personifications) and what are their specific types, such as deities or mythical creatures, that differ from their general fictional category?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?character ?characterLabel(GROUP_CONCAT(DISTINCT ?fictionalSubclassLabel ; SEPARATOR = \", \") AS ?fictionalCategory)(GROUP_CONCAT(DISTINCT ?specificTypeLabel ; SEPARATOR = \", \") AS ?specificType) WHERE {\n  ?character wdt:P31 ?fictionalSubclass .\n  ?fictionalSubclass wdt:P279 * wd:Q14897293 ; rdfs:label ?fictionalSubclassLabel .\n  FILTER(LANG(?fictionalSubclassLabel) = \"en\") MINUS {\n    ?fictionalSubclass wdt:P279 * wd:Q12405827\n  } MINUS {\n    ?fictionalSubclass wdt:P279 * wd:Q207174\n  }\n  {\n    ?character wdt:P31 ?specificTypeClass .\n    ?specificTypeClass wdt:P279 * wd:Q24334685 .\n    ?specificTypeClass rdfs:label ?specificTypeLabel .\n    FILTER(LANG(?specificTypeLabel) = \"en\")\n  } UNION {\n    ?character wdt:P31 ?specificTypeClass .\n    ?specificTypeClass wdt:P279 * wd:Q16521 .\n    ?specificTypeClass rdfs:label ?specificTypeLabel .\n    FILTER(LANG(?specificTypeLabel) = \"en\")\n  } UNION {\n    ?character wdt:P31 ?specificTypeClass .\n    ?specificTypeClass wdt:P279 * wd:Q502895 .\n    ?specificTypeClass rdfs:label ?specificTypeLabel .\n    FILTER(LANG(?specificTypeLabel) = \"en\")\n  }\n}\nGROUP BY ?character ?characterLabel\nHAVING(?fictionalCategory != ?specificType)", "paraphrases": ["List characters from fiction (like anime or video games) along with their broader fictional classification and their specific type (e.g., kitsune or Taoist deity), but only if the type is not the same as the category.", "Show me fictional entities that are classified both by a general genre (like anime character) and a specific entity type (like deity or kappa), where the two are not identical."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { FILTER ( ( ( ?var2 != ?var3 ) ) ) . { SELECT DISTINCT ?var1 ?var1Label ( GROUP_CONCAT ( DISTINCT ?var4 ; SEPARATOR = \", \" ) AS ?var2 )( GROUP_CONCAT ( DISTINCT ?var5 ; SEPARATOR = \", \" ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var6 . ?var6 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q14897293> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . MINUS { ?var6 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q12405827> . } MINUS { ?var6 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q207174> . } { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var7 . ?var7 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q24334685> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var7 . ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16521> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var7 . ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q502895> . } ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } GROUP BY ?var1 ?var1Label } }"}}
{"id": "test_1545", "question": "What are the alternative music identifiers related to MusicBrainz work ID?", "sparql": "SELECT ?property ?propertyLabel ?propertyDescription WHERE { wd:P435 wdt:P1659 ?property . ?property rdfs:label ?propertyLabel . ?property schema:description ?propertyDescription . FILTER(LANG(?propertyLabel) = \"en\") FILTER(LANG(?propertyDescription) = \"en\") }", "paraphrases": ["Which properties are linked to MusicBrainz work ID as related identifiers, and what are their descriptions in English?", "Can you list the English labels and descriptions of properties that are considered related to the MusicBrainz work ID?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P435> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . }"}}
{"id": "test_1546", "question": "Does Make Mine Music have BCDB ID 22?", "sparql": "ASK WHERE { ?film wdt:P4933 \"22\" . }", "paraphrases": ["Is the Big Cartoon Database ID for Make Mine Music 22?", "Confirm if Make Mine Music is assigned the BCDB ID 22."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4933> \"22\". }"}}
{"id": "test_1547", "question": "List all publishers and publisher subclasses in English.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?item ?itemLabel WHERE {\n  {\n    ?item wdt:P31 wd:Q2085381 .\n  } UNION {\n    ?item wdt:P279 wd:Q2085381 .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["What are all the entities that are either instances of or subclasses of a publisher, along with their English labels?", "Show me all companies that are publishers or types of publishers, including their names in English."], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { { SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2085381> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } } UNION { SELECT ?var2 ?var2Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q2085381> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } } }"}}
{"id": "test_1548", "question": "Treaties and peace agreements with their signing dates, ordered chronologically.", "sparql": "SELECT DISTINCT ?treaty ?treatyLabel ?date WHERE { { ?treaty wdt:P31 wd:Q625298 . } UNION { ?treaty wdt:P31 wd:Q131569 . } OPTIONAL { ?treaty wdt:P585 ?p585 . } OPTIONAL { ?treaty wdt:P580 ?p580 . } BIND(COALESCE(?p585, ?p580) AS ?date) OPTIONAL { ?treaty rdfs:label ?treatyLabel . FILTER(LANG(?treatyLabel) = \"en\") } FILTER(EXISTS { ?treaty wdt:P585 ?p585 . } || EXISTS { ?treaty wdt:P580 ?p580 . }) } ORDER BY ASC(?date) LIMIT 100", "paraphrases": ["What are the treaties and peace agreements signed throughout history, and when were they signed?", "List all treaties and peace treaties with their English names and signing dates, sorted from oldest to newest."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4Label ?var5Label ?var6 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q625298> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q131569> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } { ?var1 <http://www.wikidata.org/prop/direct/P585> ?var3 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P580> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P276> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1891> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var8 )"}}
{"id": "test_1549", "question": "Which genes encode proteins with EC number 2.1.1.67, and in which taxa are they found?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?taxon ?taxonLabel ?gene ?geneLabel ?protein WHERE {\n  ?gene wdt:P688 ?protein ; wdt:P703 ?taxon .\n  ?protein wdt:P680 ?mf .\n  ?mf wdt:P591 \"2.1.1.67\" .\n  OPTIONAL {\n    ?taxon rdfs:label ?taxonLabel .\n    FILTER ( LANG( ?taxonLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?gene rdfs:label ?geneLabel .\n    FILTER ( LANG( ?geneLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?protein rdfs:label ?proteinLabel .\n    FILTER ( LANG( ?proteinLabel ) = \"en\" )\n  }\n}\nLIMIT 10", "paraphrases": ["What are the proteins with EC number 2.1.1.67, and which genes and organisms produce them?", "Find all genes, proteins, and their host organisms where the protein has the enzyme commission number 2.1.1.67."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P688> ?var3 ; <http://www.wikidata.org/prop/direct/P703> ?var1 . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P680> ?var5 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P681> ?var5 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P682> ?var5 . } ?var5 <http://www.wikidata.org/prop/direct/P591> \"2.1.1.67\". } LIMIT 10"}}
{"id": "test_1550", "question": "Female singers by country of citizenship, sorted alphabetically.", "sparql": "SELECT ?singer ?country WHERE { ?singer wdt:P31 wd:Q5 ; wdt:P106 wd:Q177220 ; wdt:P21 wd:Q6581072 ; wdt:P27 ?country . ?country wdt:P31 wd:Q3624078 . } ORDER BY ASC(?country)", "paraphrases": ["Which female singers are citizens of which countries, listed in alphabetical order by country?", "List all female human singers along with their countries of citizenship, excluding historical or non-sovereign entities, and sort the results by country name."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P27> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q177220> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . } ORDER BY ASC( ?var2 )"}}
{"id": "test_1551", "question": "What Wikidata item has the IMDb ID tt0395560?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P345 \"tt0395560\" .\n}", "paraphrases": ["Which movie on Wikidata is identified by the IMDb identifier tt0395560?", "Find the Wikidata entity for the film with IMDb ID tt0395560."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0395560\". }"}}
{"id": "test_1552", "question": "What Wikidata item has the IMDb ID tt6593240?", "sparql": "SELECT ?item WHERE { ?item wdt:P345 \"tt6593240\" . } LIMIT 1", "paraphrases": ["Which film is identified by the IMDb ID tt6593240?", "Find the movie in Wikidata that corresponds to the IMDb identifier tt6593240."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6593240\". } LIMIT 1"}}
{"id": "test_1553", "question": "Wikidata item for movie with IMDb ID tt0096809", "sparql": "SELECT ?film WHERE { ?film wdt:P345 \"tt0096809\" . }", "paraphrases": ["What is the Wikidata identifier for the film with IMDb ID tt0096809?", "Show me the Wikidata entry for the movie Amor Am\u00e9rica (IMDb: tt0096809)"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0096809\". }"}}
{"id": "test_1554", "question": "Spanish labels of properties and their values for the band Kiss, with counts.", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?property ( SAMPLE( ?propLabel ) AS ?propertyLabel ) ( COUNT( ?value ) AS ?valueCount ) ( GROUP_CONCAT( ?valueLabel ; SEPARATOR = \", \" ) AS ?valueLabels ) WHERE {\n  wd:Q124179 ?property ?value .\n  ?value rdfs:label ?valueLabel .\n  FILTER ( LANG( ?valueLabel ) = \"es\" ) .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?propLabel .\n  FILTER ( LANG( ?propLabel ) = \"es\" ) .\n}\nGROUP BY ?property", "paraphrases": ["What are the Spanish labels of properties used by the band Kiss, how many values does each have, and what are those values in Spanish?", "Show me all properties of the band Kiss in Spanish, along with the count of their values and the Spanish labels of those values."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q124179> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"es\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"es\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_1555", "question": "English name of Scooby-Doo! Mystery Incorporated", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label WHERE {\n  wd:Q680462 rdfs:label ?label .\n  FILTER(LANGMATCHES(LANG(?label) , \"EN\"))\n}\nLIMIT 1", "paraphrases": ["What is the English title of the animated series Scooby-Doo! Mystery Incorporated?", "Please provide the English label for the TV series Scooby-Doo! Mystery Incorporated."], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { <http://www.wikidata.org/entity/Q680462> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( LANGMATCHES ( LANG ( ?var1Label ) , \"EN\" ) ) ) . } LIMIT 1"}}
{"id": "test_1556", "question": "Musicians with their birth names, countries, birth and death places, and genders.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?birthName ?country ?countryLabel ?birthDate ?birthPlace ?birthPlaceLabel ?deathDate ?deathPlace ?deathPlaceLabel ?gender ?genderLabel WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person ( wdt:P106 / wdt:P279 * ) wd:Q639669 .\n  ?person wdt:P1477 ?birthName .\n  ?person wdt:P27 ?country .\n  ?person wdt:P569 ?birthDate .\n  ?person wdt:P19 ?birthPlace .\n  ?person wdt:P570 ?deathDate .\n  ?person wdt:P20 ?deathPlace .\n  ?person wdt:P21 ?gender .\n  ?person rdfs:label ?personLabel .\n  ?country rdfs:label ?countryLabel .\n  ?birthPlace rdfs:label ?birthPlaceLabel .\n  ?deathPlace rdfs:label ?deathPlaceLabel .\n  ?gender rdfs:label ?genderLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) FILTER ( LANG( ?countryLabel ) = \"en\" ) FILTER ( LANG( ?birthPlaceLabel ) = \"en\" ) FILTER ( LANG( ?deathPlaceLabel ) = \"en\" ) FILTER ( LANG( ?genderLabel ) = \"en\" )\n}\nLIMIT 10", "paraphrases": ["Who are some human musicians, and what are their birth names, countries, places and dates of birth and death, and gender?", "List 10 musicians along with their birth names, citizenship countries, birth and death locations, dates of birth and death, and gender, all in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4Label ?var5Label ?var6Label ?var7Label ?var8Label ?var9Label ?var10Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q639669> . ?var1 <http://www.wikidata.org/prop/direct/P1477> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P27> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var6 . ?var1 <http://www.wikidata.org/prop/direct/P20> ?var7 . ?var1 <http://www.wikidata.org/prop/direct/P21> ?var8 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,en\". } } LIMIT 10"}}
{"id": "test_1557", "question": "List fictional universes ordered by the number of characters or stories associated with them, from least to most.", "sparql": "SELECT ( COUNT( ?item ) AS ?count ) WHERE { ?item wdt:P1080 ?universe . } GROUP BY ?universe ORDER BY ASC ( ?count )", "paraphrases": ["What are the fictional universes with the smallest to largest number of associated fictional entities, and how many entities does each have?", "Show me a ranking of fictional universes based on how many characters, stories, or series belong to them, starting with the least popular."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1080> ?var3 . } GROUP BY ?var3 ORDER BY ASC( ?var2 )"}}
{"id": "test_1558", "question": "Shows with IMDb IDs and English Wikipedia pages, including their labels and IMDb numbers.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?show ?label ?wikipediaPage ?imdbId WHERE {\n  ?show wdt:P31 wd:Q15116915 .\n  ?show wdt:P345 ?imdbId .\n  ?show rdfs:label ?label .\n  ?wikipediaPage schema:about ?show ; schema:isPartOf <https://en.wikipedia.org/> .\n}\nORDER BY ASC(?show)\nLIMIT 10", "paraphrases": ["What are the shows (as defined in Wikidata) that have an IMDb ID and a corresponding English Wikipedia page, along with their labels and IMDb identifiers?", "List up to 10 shows that have an IMDb ID and an English Wikipedia page, showing their titles in various languages and their IMDb identifiers."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q15116915> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P345> ?var4 . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . } OPTIONAL { ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } FILTER ( ( EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P345> ?var4 . } ) ) . } ORDER BY ASC( ?var1 ) LIMIT 10"}}
{"id": "test_1559", "question": "What are the character classes and their instances in video games?", "sparql": "SELECT DISTINCT ?item WHERE { ?item wdt:P31 ?class . ?class wdt:P279* wd:Q1062990 . } LIMIT 500", "paraphrases": ["Which video game entities belong to the character class hierarchy, such as druid or paladin?", "List all video game characters and classes that are subclasses of character class."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var2 ( <http://www.wikidata.org/prop/direct/P279> | <http://www.wikidata.org/prop/direct/P131> )* <http://www.wikidata.org/entity/Q47998080> . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 . ?var3 ( <http://www.wikidata.org/prop/direct/P279> | <http://www.wikidata.org/prop/direct/P131> )* <http://www.wikidata.org/entity/Q1062990> . } LIMIT 500"}}
{"id": "test_1560", "question": "Who is the Spanish writer known as Cervantes?", "sparql": "SELECT ?label WHERE { wd:Q5682 rdfs:label ?label . FILTER (LANG(?label) = \"en\") }", "paraphrases": ["What is the English label for the entity representing the author of Don Quixote?", "Show me the English name of the person commonly referred to as Cervantes."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Cervantes\". }"}}
{"id": "test_1561", "question": "Works about Castile, their authors, and publication dates", "sparql": "SELECT DISTINCT ?work ?workLabel ?author ?authorLabel ?publicationDate WHERE { ?work wdt:P921 wd:Q173063 . ?work p:P50 ?statement . ?statement ps:P50 ?author . ?author rdfs:label ?authorLabel . ?work rdfs:label ?workLabel . OPTIONAL { ?work wdt:P577 ?publicationDate . } FILTER(LANG(?authorLabel) = \"en\") FILTER(LANG(?workLabel) = \"en\") } LIMIT 25000", "paraphrases": ["Who are the authors of works that have Castile as their main subject, and when were they published?", "List the English-labeled works about Castile along with their authors and publication dates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P921> <http://www.wikidata.org/entity/Q173063> . ?var1 <http://www.wikidata.org/prop/P50> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en,pt,de,fr\". } } LIMIT 25000"}}
{"id": "test_1562", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0301167?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?wikipedia_page WHERE {\n  ?item wdt:P345 \"tt0301167\" .\n  ?wikipedia_page schema:about ?item .\n  ?wikipedia_page schema:inLanguage ?lang .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n}", "paraphrases": ["Show me the Wikipedia articles in English and German that are about the film identified by tt0301167 on IMDb.", "Which Wikipedia pages in English and German discuss the movie Dead or Alive: Final?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0301167\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1563", "question": "What is the Wikidata item for the IMDb ID tt4663548?", "sparql": "SELECT ?item WHERE { ?item wdt:P345 \"tt4663548\" .}", "paraphrases": ["Which movie or TV show on Wikidata has the IMDb identifier tt4663548?", "Tell me the Wikidata entity associated with the IMDb ID tt4663548."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt4663548\". }"}}
{"id": "test_1564", "question": "What is Turi King\u2019s affiliation with the University of Leicester, including its image and any associated academic degrees?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?image ?organization ?organizationLabel ?start ?end ?degreeLabel WHERE {\n  wd:Q28233509 ( p:P1416 | p:P108 ) ?statement .\n  ?statement ps:P1416 | ps:P108 ?organization .\n  ?organization rdfs:label ?organizationLabel .\n  FILTER ( LANG( ?organizationLabel ) = \"en\" ) OPTIONAL {\n    ?organization wdt:P18 ?image\n  }\n  OPTIONAL {\n    ?statement pq:P580 ?start\n  }\n  OPTIONAL {\n    ?statement pq:P582 ?end\n  }\n  OPTIONAL {\n    ?statement pq:P512 ?degree .\n    ?degree rdfs:label ?degreeLabel .\n    FILTER ( LANG( ?degreeLabel ) = \"en\" )\n  }\n}", "paraphrases": ["Which organization is Turi King affiliated with, and what is the image of that organization? Does the affiliation have a start or end date, or any academic degree qualifier?", "Show me the organization Turi King is affiliated with, its English label, its image, and any associated start/end dates or academic degrees."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label ?var4 ?var5 ?var6Label WHERE { { <http://www.wikidata.org/entity/Q28233509> <http://www.wikidata.org/prop/P1416> ?var7 . } UNION { <http://www.wikidata.org/entity/Q28233509> <http://www.wikidata.org/prop/P108> ?var7 . } { ?var7 <http://www.wikidata.org/prop/statement/P1416> ?var2 . } UNION { ?var7 <http://www.wikidata.org/prop/statement/P108> ?var2 . } ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P580> ?var4 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P582> ?var5 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P512> ?var8 . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_1565", "question": "What are the English titles of films, along with their editors, directors, producers, cast members, and release dates?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?filmLabel ?editorLabel ?directorLabel ?producerLabel ?castLabel ?publicationDate WHERE {\n  ?film wdt:P31 wd:Q11424 ; wdt:P1040 ?editor ; wdt:P57 ?director ; wdt:P161 ?cast ; wdt:P162 ?producer ; wdt:P577 ?publicationDate .\n  ?film rdfs:label ?filmLabel .\n  ?editor rdfs:label ?editorLabel .\n  ?director rdfs:label ?directorLabel .\n  ?producer rdfs:label ?producerLabel .\n  ?cast rdfs:label ?castLabel .\n  FILTER ( LANG( ?filmLabel ) = \"en\" ) FILTER ( LANG( ?editorLabel ) = \"en\" ) FILTER ( LANG( ?directorLabel ) = \"en\" ) FILTER ( LANG( ?producerLabel ) = \"en\" ) FILTER ( LANG( ?castLabel ) = \"en\" )\n}\nLIMIT 10", "paraphrases": ["Show me a list of 10 films with their English names, who edited them, who directed them, who produced them, who starred in them, and when they were released.", "Can you provide the names of films (in English), their film editors, directors, producers, main cast members, and publication dates?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3Label ?var4Label ?var5Label ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> ; <http://www.wikidata.org/prop/direct/P1040> ?var2 ; <http://www.wikidata.org/prop/direct/P57> ?var3 ; <http://www.wikidata.org/prop/direct/P161> ?var5 ; <http://www.wikidata.org/prop/direct/P162> ?var4 ; <http://www.wikidata.org/prop/direct/P577> ?var6 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 10"}}
{"id": "test_1566", "question": "What is the Spanish Wikipedia article URL for William Chiroque?", "sparql": "SELECT ?articleUrl WHERE {\n  wd:Q2466709 rdfs:label ?title .\n  FILTER(LANG(?title) = \"es\")\n  BIND(REPLACE(STR(?title), \" (lang:es)\", \"\") AS ?cleanTitle)\n  BIND(REPLACE(?cleanTitle, \" \", \"_\") AS ?pageTitle)\n  BIND(CONCAT(\"https://es.wikipedia.org/wiki/\", ?pageTitle) AS ?articleUrl)\n}", "paraphrases": ["Find the link to the Spanish Wikipedia page about William Chiroque.", "How can I access the Spanish Wikipedia article on William Chiroque?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q2466709> ; <http://schema.org/inLanguage> \"es\"; <http://schema.org/isPartOf> ?var2 . ?var2 <http://wikiba.se/ontology#wikiGroup> \"string1\". } LIMIT 1"}}
{"id": "test_1567", "question": "What is the most specific category that both France and Red Bull Racing belong to through their types and class hierarchies?", "sparql": "SELECT ?commonAncestor WHERE { wd:Q142 wdt:P31 ?typeFrance . ?typeFrance wdt:P279* ?commonAncestor . wd:Q173663 wdt:P31 ?typeRBR . ?typeRBR wdt:P279* ?commonAncestor . FILTER (?commonAncestor != wd:Q142 && ?commonAncestor != wd:Q173663) } LIMIT 1", "paraphrases": ["Are there any shared superclass categories between France and the Red Bull Racing Formula One team?", "Which entity in the Wikidata ontology is a common ancestor of both France and Red Bull Racing?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q142> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q173663> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1568", "question": "Most specific common superclass of Cincinnati Bengals and Delta Air Lines", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonClass ?label WHERE {\n  wd:Q223511 wdt:P31 ?c1 .\n  ?c1 wdt:P279 * ?commonClass .\n  wd:Q188920 wdt:P31 ?c2 .\n  ?c2 wdt:P279 * ?commonClass .\n  ?commonClass rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}\nORDER BY ?commonClass\nLIMIT 1", "paraphrases": ["What is the most specific category that both the Cincinnati Bengals and Delta Air Lines belong to?", "Find the lowest common ancestor in the subclass hierarchy between the Cincinnati Bengals and Delta Air Lines."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q223511> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q188920> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1569", "question": "What is the English name and description of the artist with Songkick ID 374734?", "sparql": "SELECT ?artist ?artistLabel ?description WHERE { ?artist wdt:P3478 \"374734\" . OPTIONAL { ?artist rdfs:label ?artistLabel . FILTER (LANG(?artistLabel) = \"en\") } OPTIONAL { ?artist schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Can you tell me the name and a brief description in English of the musician linked to Songkick ID 374734?", "Who is the artist with Songkick ID 374734, and what is their English description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3478> \"418579\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1570", "question": "What is the parent genre of rock and roll?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?superclass ?superclassLabel WHERE {\n  wd:Q7749 wdt:P279 ?superclass .\n  ?superclass rdfs:label ?superclassLabel .\n  FILTER ( LANG( ?superclassLabel ) = \"en\" )\n}", "paraphrases": ["What genre does rock and roll belong to as a subclass?", "Is rock and roll a type of rock music?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7749> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Reverse\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1571", "question": "List of philosophical movements in English.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?movement ?movementLabel WHERE {\n  ?movement wdt:P31 wd:Q2915955 .\n  ?movement rdfs:label ?movementLabel .\n  FILTER(LANG(?movementLabel) = \"en\")\n}", "paraphrases": ["What are some examples of philosophical movements?", "Show me the names of all philosophical movements in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2915955> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,it\". } }"}}
{"id": "test_1572", "question": "Which films has Kavya Madhavan acted in?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P161 wd:Q3595617 .\n}\nLIMIT 1000", "paraphrases": ["Films featuring Kavya Madhavan as an actress", "List all movies where Kavya Madhavan is a cast member"], "info": {"raw_sparql": "SELECT ?var1 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P161> <http://www.wikidata.org/entity/Q3595617> . } LIMIT 1000"}}
{"id": "test_1573", "question": "Albums in the punk rock genre", "sparql": "SELECT DISTINCT ?album WHERE { ?album wdt:P31 ?albumType . ?albumType wdt:P279* wd:Q482994 . ?album wdt:P136 ?genre . ?genre wdt:P279* wd:Q3071 . } LIMIT 500", "paraphrases": ["What albums are classified as punk rock?", "List albums that are instances of music albums and have punk rock as their genre, including subgenres."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var2 ( <http://www.wikidata.org/prop/direct/P279> | <http://www.wikidata.org/prop/direct/P131> )* <http://www.wikidata.org/entity/Q482994> . ?var1 <http://www.wikidata.org/prop/direct/P136> ?var3 . ?var3 ( <http://www.wikidata.org/prop/direct/P279> | <http://www.wikidata.org/prop/direct/P131> )* <http://www.wikidata.org/entity/Q3071> . } LIMIT 500"}}
{"id": "test_1574", "question": "What is the most specific common superclass in the subclass hierarchy between Asia and the Pittsburgh Steelers, and what is the total number of subclass steps from each to this superclass?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonClass(COUNT(?mid1) + COUNT(?mid2) AS ?totalDist) WHERE {\n  wd:Q48 wdt:P31 ?type1 .\n  wd:Q191477 wdt:P31 ?type2 .\n  ?type1 wdt:P279 * ?mid1 .\n  ?mid1 wdt:P279 ?commonClass .\n  ?type2 wdt:P279 * ?mid2 .\n  ?mid2 wdt:P279 ?commonClass .\n}\nGROUP BY ?commonClass\nORDER BY ASC(?totalDist)\nLIMIT 1", "paraphrases": ["Find the entity that is the least common ancestor of the types of Asia and the Pittsburgh Steelers in Wikidata's ontology, ordered by the sum of the shortest path lengths.", "Which class is the closest common ancestor in the subclass tree for both the continent Asia and the American football team Pittsburgh Steelers, and how many steps does it take to reach it from each?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q48> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q191477> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1575", "question": "What is the most central category that connects Patagonia and Erie in the Wikidata hierarchy?", "sparql": "SELECT ?ancestor ( (?distPat + ?distErie) AS ?totalDist ) WHERE { wd:Q1507 wdt:P31 wd:Q486972 . BIND(0 AS ?distPat) wd:Q234061 wdt:P31 wd:Q62049 . wd:Q62049 wdt:P279 wd:Q486972 . BIND(1 AS ?distErie) BIND(wd:Q486972 AS ?ancestor) } ORDER BY ASC(?totalDist) LIMIT 1", "paraphrases": ["Which class is the closest common ancestor of Patagonia and Erie when following subclass relationships?", "Find the shared superclass of Patagonia and Erie with the smallest total distance in the subclass hierarchy."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1507> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q234061> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1576", "question": "Who are the classical music singers, and what are their genders, dates of birth, countries of citizenship, and career start dates?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?singerLabel ?genderLabel ?birthDate ?countryLabel ?careerStart WHERE {\n  ?singer wdt:P106 wd:Q177220 ; wdt:P136 wd:Q9730 .\n  OPTIONAL {\n    ?singer wdt:P21 ?gender .\n    ?gender rdfs:label ?genderLabel .\n    FILTER ( LANG( ?genderLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?singer wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?singer wdt:P27 ?country .\n    ?country rdfs:label ?countryLabel .\n    FILTER ( LANG( ?countryLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?singer wdt:P2031 ?careerStart .\n  }\n  ?singer rdfs:label ?singerLabel .\n  FILTER ( LANG( ?singerLabel ) = \"en\" )\n}\nLIMIT 1000", "paraphrases": ["List classical music singers with their gender, birth date, country, and career start year.", "Show me a list of singers in classical music, including their names, gender, birth dates, countries, and when they started their careers."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3 ?var4Label ?var5 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q177220> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . } ?var1 <http://www.wikidata.org/prop/direct/P136> <http://www.wikidata.org/entity/Q9730> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2031> ?var5 . } } LIMIT 1000"}}
{"id": "test_1577", "question": "What Gene Ontology annotations (molecular function, biological process, or cellular component) are associated with the UniProt protein B0B998, including their GO IDs, determination methods, sources, and EC numbers?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX pr: <http://www.wikidata.org/prop/reference/>\nPREFIX prov: <http://www.w3.org/ns/prov#>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT DISTINCT ?goTermLabel ?goId ?goTerm ?goCategory ?determinationMethodLabel ?sourceLabel ?retrievalDate ?ecNumber WHERE {\n  ?protein wdt:P352 \"B0B998\" .\n  {\n    ?protein p:P680 ?statement .\n  } UNION {\n    ?protein p:P681 ?statement .\n  } UNION {\n    ?protein p:P682 ?statement .\n  }\n  ?statement pq:P459 ?determinationMethod .\n  ?statement ( prov:wasDerivedFrom / pr:P248 ) ?source .\n  ?statement ( prov:wasDerivedFrom / pr:P813 ) ?retrievalDate .\n  OPTIONAL {\n    ?statement ( prov:wasDerivedFrom / pr:P698 ) ?pubmedId .\n  }\n  {\n    ?statement ps:P680 ?goTerm .\n  } UNION {\n    ?statement ps:P681 ?goTerm .\n  } UNION {\n    ?statement ps:P682 ?goTerm .\n  }\n  ?goTerm wdt:P686 ?goId ; wdt:P31 ?goCategory .\n  FILTER ( ?goCategory IN ( wd:Q2996394 , wd:Q5058355 , wd:Q14860489 ) ) OPTIONAL {\n    ?goTerm wdt:P591 ?ecNumber .\n  }\n  OPTIONAL {\n    ?goTerm rdfs:label ?goTermLabel .\n    FILTER ( LANG( ?goTermLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?determinationMethod rdfs:label ?determinationMethodLabel .\n    FILTER ( LANG( ?determinationMethodLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?source rdfs:label ?sourceLabel .\n    FILTER ( LANG( ?sourceLabel ) = \"en\" )\n  }\n}", "paraphrases": ["For the UniProt protein with ID B0B998, what are its annotated Gene Ontology terms, their categories (e.g., molecular function), the methods used to determine them, the sources of the annotations, retrieval dates, and corresponding EC enzyme numbers?", "Please list all Gene Ontology terms linked to the protein B0B998, showing the term name, GO ID, category (molecular function/biological process/cellular component), determination method, source database, retrieval date, and EC number if available."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2 ?var1 ?var3 ?var4Label ?var5Label ?var6Label ?var7 WHERE { ?var8 <http://www.wikidata.org/prop/direct/P352> \"B0B998\". { ?var8 <http://www.wikidata.org/prop/P680> ?var9 . } UNION { ?var8 <http://www.wikidata.org/prop/P681> ?var9 . } UNION { ?var8 <http://www.wikidata.org/prop/P682> ?var9 . } ?var9 <http://www.wikidata.org/prop/qualifier/P459> ?var4 . ?var9 ( <http://www.w3.org/ns/prov#wasDerivedFrom> / <http://www.wikidata.org/prop/reference/P248> ) ?var5 . ?var9 ( <http://www.w3.org/ns/prov#wasDerivedFrom> / <http://www.wikidata.org/prop/reference/P813> ) ?var6 . OPTIONAL { ?var9 ( <http://www.w3.org/ns/prov#wasDerivedFrom> / <http://www.wikidata.org/prop/reference/P698> ) ?var10 . } { ?var9 <http://www.wikidata.org/prop/statement/P680> ?var1 . } UNION { ?var9 <http://www.wikidata.org/prop/statement/P681> ?var1 . } UNION { ?var9 <http://www.wikidata.org/prop/statement/P682> ?var1 . } ?var1 <http://www.wikidata.org/prop/direct/P279> * ?var3 ; <http://www.wikidata.org/prop/direct/P686> ?var2 . FILTER ( ( ( ?var3 = <http://www.wikidata.org/entity/Q2996394> ) || ( ?var3 = <http://www.wikidata.org/entity/Q5058355> ) || ( ?var3 = <http://www.wikidata.org/entity/Q14860489> ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P591> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1578", "question": "Who were enslaved artists, and what countries were they citizens of?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel ?country ?countryLabel WHERE {\n  ?person wdt:P3716 wd:Q12773225 .\n  ?person wdt:P106 wd:Q483501 .\n  OPTIONAL {\n    ?person wdt:P27 ?country .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n  OPTIONAL {\n    ?country rdfs:label ?countryLabel .\n    FILTER(LANG(?countryLabel) = \"en\")\n  }\n}", "paraphrases": ["Can you list the names and nationalities of people who were both enslaved and worked as artists?", "Show me the English names and countries of citizenship for individuals classified as slaves and whose occupation was artist."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3716> <http://www.wikidata.org/entity/Q12773225> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q483501> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1579", "question": "Who is the author of the book \"Dracula\"?", "sparql": "SELECT ?authorLabel ?book ?bookLabel WHERE { wd:Q41542 rdfs:label ?bookLabel . FILTER (LANG(?bookLabel) = \"en\") . wd:Q41542 wdt:P50 ?author . ?author rdfs:label ?authorLabel . FILTER (LANG(?authorLabel) = \"en\") . } LIMIT 50", "paraphrases": ["Which author wrote the novel titled \"Dracula\"?", "Please list the English label of the book \"Dracula\" and its author."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var2Label WHERE { ?var1 ?var3Label \"string1\"@en . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( CONTAINS ( ?var2Label , \"Dracula\" ) ) ) . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q571> . ?var2 <http://www.wikidata.org/prop/direct/P50> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 50"}}
{"id": "test_1580", "question": "What is the English Wikipedia category about the city of Ulm?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?category ?categoryLabel WHERE {\n  ?category wdt:P301 wd:Q3012 .\n  ?category rdfs:label ?categoryLabel .\n  FILTER(LANG(?categoryLabel) = \"en\")\n}", "paraphrases": ["Which Wikimedia category is primarily about Ulm?", "Show me the category page on Wikimedia that focuses on Ulm."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P301> <http://www.wikidata.org/entity/Q3012> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_1581", "question": "How many biological processes are regulated by the VSNL1 gene?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ( COUNT( ?process ) AS ?count ) WHERE {\n  ?process wdt:P128 wd:Q18032340 .\n}", "paraphrases": ["What is the number of molecular processes regulated by the protein encoded by the VSNL1 gene?", "List the count of biological processes that VSNL1 regulates in humans."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P128> <http://www.wikidata.org/entity/Q18032340> . }"}}
{"id": "test_1582", "question": "Czech television series", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?series ?seriesLabel WHERE {\n  ?series wdt:P31 wd:Q5398426 .\n  ?series wdt:P495 wd:Q213 .\n  ?series rdfs:label ?seriesLabel .\n  FILTER(LANG(?seriesLabel) = \"en\")\n}", "paraphrases": ["What television series are from the Czech Republic?", "List the English titles of television series that originate from the Czech Republic."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5398426> . ?var1 <http://www.wikidata.org/prop/direct/P495> <http://www.wikidata.org/entity/Q213> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs,en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } }"}}
{"id": "test_1583", "question": "Orthologs of gene CTL0005 and their NCBI taxonomy IDs.", "sparql": "SELECT ?ortholog_locus_tag ?ncbi_taxon_id WHERE { ?gene wdt:P2393 \"CTL0005\" ; wdt:P684 ?ortholog . ?ortholog wdt:P2393 ?ortholog_locus_tag ; wdt:P703 ?taxon . ?taxon wdt:P685 ?ncbi_taxon_id . }", "paraphrases": ["What are the NCBI locus tags and species taxonomy IDs of the orthologs of the gene with locus tag CTL0005?", "Show me the orthologs of gene CTL0005 along with the species they are found in, identified by their NCBI taxonomy IDs."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P2393> \"CTL0005\"; <http://www.wikidata.org/prop/direct/P684> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P2393> ?var1 ; <http://www.wikidata.org/prop/direct/P703> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P685> ?var2 . }"}}
{"id": "test_1584", "question": "What is the English name of the artist with MusicBrainz ID a74b1b7f-71a5-4011-9441-d0b5e4122711?", "sparql": "SELECT ?artistLabel WHERE { ?artist wdt:P434 \"a74b1b7f-71a5-4011-9441-d0b5e4122711\" . ?artist rdfs:label ?artistLabel FILTER(LANG(?artistLabel) = \"en\") } LIMIT 10", "paraphrases": ["Show me the label in English for the artist identified by this MusicBrainz ID: a74b1b7f-71a5-4011-9441-d0b5e4122711.", "Which artist has the MusicBrainz ID a74b1b7f-71a5-4011-9441-d0b5e4122711, and what is their English name?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P434> ?var3 . FILTER ( ( ?var3 IN ( \"string1\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10"}}
{"id": "test_1585", "question": "MusicBrainz artist IDs and their images from Wikidata.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?mbid ?image WHERE {\n  ?artist wdt:P434 ?mbid .\n  OPTIONAL {\n    ?artist wdt:P18 ?image .\n  }\n  FILTER ( REGEX( ?mbid , \"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$\" ) )\n}", "paraphrases": ["Which music artists have MusicBrainz IDs and associated images on Wikimedia Commons?", "Show me the MusicBrainz identifiers for music artists along with their images from Wikimedia Commons, but only include valid IDs."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P434> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja\". } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var2 . } }"}}
{"id": "test_1586", "question": "What are the Gene Ontology annotations (molecular function, cellular component, biological process) for the UniProt protein O84462, including their GO IDs, classification, determination methods, and sources?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pr: <http://www.wikidata.org/prop/reference/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX prov: <http://www.w3.org/ns/prov#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?goTermLabel ?goId ?goTerm ?goClass ?determinationMethodLabel ?sourceLabel ?retrievalDate ?ecNumber ?pubmedId WHERE {\n  ?protein wdt:P352 \"O84462\" .\n  {\n    ?protein p:P680 ?statement .\n  } UNION {\n    ?protein p:P681 ?statement .\n  } UNION {\n    ?protein p:P682 ?statement .\n  }\n  ?statement ps:P680 ?goTerm .\n  ?statement pq:P459 ?determinationMethod .\n  ?statement(prov:wasDerivedFrom / pr:P248) ?source .\n  ?statement(prov:wasDerivedFrom / pr:P813) ?retrievalDate .\n  OPTIONAL {\n    ?statement(prov:wasDerivedFrom / pr:P698) ?pubmedId .\n  }\n  ?goTerm wdt:P279 * ?goClass .\n  FILTER(?goClass IN(wd:Q2996394 , wd:Q5058355 , wd:Q14860489))\n  ?goTerm wdt:P686 ?goId .\n  OPTIONAL {\n    ?goTerm wdt:P591 ?ecNumber .\n  }\n  OPTIONAL {\n    ?goTerm rdfs:label ?goTermLabel .\n    FILTER(LANG(?goTermLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?goTerm wdt:P1813 ?goTermLabel .\n    FILTER(LANG(?goTermLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?determinationMethod rdfs:label ?determinationMethodLabel .\n    FILTER(LANG(?determinationMethodLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?source rdfs:label ?sourceLabel .\n    FILTER(LANG(?sourceLabel) = \"en\")\n  }\n}", "paraphrases": ["For the protein with UniProt ID O84462, what GO terms does it have, what biological categories do they belong to, and what evidence supports each annotation?", "List all Gene Ontology annotations for the protein O84462, showing the term, its GO ID, whether it\u2019s a molecular function, cellular component, or biological process, the method used to determine it, and the source of the annotation."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2 ?var1 ?var3 ?var4Label ?var5Label ?var6Label ?var7 WHERE { ?var8 <http://www.wikidata.org/prop/direct/P352> \"O84462\". { ?var8 <http://www.wikidata.org/prop/P680> ?var9 . } UNION { ?var8 <http://www.wikidata.org/prop/P681> ?var9 . } UNION { ?var8 <http://www.wikidata.org/prop/P682> ?var9 . } ?var9 <http://www.wikidata.org/prop/qualifier/P459> ?var4 . ?var9 ( <http://www.w3.org/ns/prov#wasDerivedFrom> / <http://www.wikidata.org/prop/reference/P248> ) ?var5 . ?var9 ( <http://www.w3.org/ns/prov#wasDerivedFrom> / <http://www.wikidata.org/prop/reference/P813> ) ?var6 . OPTIONAL { ?var9 ( <http://www.w3.org/ns/prov#wasDerivedFrom> / <http://www.wikidata.org/prop/reference/P698> ) ?var10 . } { ?var9 <http://www.wikidata.org/prop/statement/P680> ?var1 . } UNION { ?var9 <http://www.wikidata.org/prop/statement/P681> ?var1 . } UNION { ?var9 <http://www.wikidata.org/prop/statement/P682> ?var1 . } ?var1 <http://www.wikidata.org/prop/direct/P279> * ?var3 ; <http://www.wikidata.org/prop/direct/P686> ?var2 . FILTER ( ( ( ?var3 = <http://www.wikidata.org/entity/Q2996394> ) || ( ?var3 = <http://www.wikidata.org/entity/Q5058355> ) || ( ?var3 = <http://www.wikidata.org/entity/Q14860489> ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P591> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1587", "question": "What cellular component Gene Ontology terms are associated with the UniProt protein O84008, and what are their GO IDs?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT DISTINCT ?goTermLabel ?goId WHERE {\n  ?protein wdt:P352 \"O84008\" .\n  ?protein p:P681 ?statement .\n  ?statement ps:P681 ?goTerm .\n  ?goTerm wdt:P686 ?goId .\n  ?goTerm rdfs:label ?goTermLabel .\n  ?goTerm wdt:P279 * wd:Q5058355 .\n  FILTER(LANG(?goTermLabel) = \"en\")\n}", "paraphrases": ["Which cellular components does the protein with UniProt ID O84008 localize to, according to Gene Ontology annotations?", "List the English-labeled cellular component GO terms and their corresponding GO IDs for the protein O84008."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2 ?var1 ?var3 ?var4Label ?var5Label ?var6Label ?var7 WHERE { ?var8 <http://www.wikidata.org/prop/direct/P352> \"O84008\". { ?var8 <http://www.wikidata.org/prop/P680> ?var9 . } UNION { ?var8 <http://www.wikidata.org/prop/P681> ?var9 . } UNION { ?var8 <http://www.wikidata.org/prop/P682> ?var9 . } ?var9 <http://www.wikidata.org/prop/qualifier/P459> ?var4 . ?var9 ( <http://www.w3.org/ns/prov#wasDerivedFrom> / <http://www.wikidata.org/prop/reference/P248> ) ?var5 . ?var9 ( <http://www.w3.org/ns/prov#wasDerivedFrom> / <http://www.wikidata.org/prop/reference/P813> ) ?var6 . OPTIONAL { ?var9 ( <http://www.w3.org/ns/prov#wasDerivedFrom> / <http://www.wikidata.org/prop/reference/P698> ) ?var10 . } { ?var9 <http://www.wikidata.org/prop/statement/P680> ?var1 . } UNION { ?var9 <http://www.wikidata.org/prop/statement/P681> ?var1 . } UNION { ?var9 <http://www.wikidata.org/prop/statement/P682> ?var1 . } ?var1 <http://www.wikidata.org/prop/direct/P279> * ?var3 ; <http://www.wikidata.org/prop/direct/P686> ?var2 . FILTER ( ( ( ?var3 = <http://www.wikidata.org/entity/Q2996394> ) || ( ?var3 = <http://www.wikidata.org/entity/Q5058355> ) || ( ?var3 = <http://www.wikidata.org/entity/Q14860489> ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P591> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1588", "question": "Images and locations of organizations associated with Kasper Monrad, including his country of citizenship, employer, and alma mater.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?image ?organization ?organizationLabel ?locationCoordinates ?relationshipLabel WHERE {\n  wd:Q17287428 ?relationship ?organization .\n  ?organization wdt:P625 ?locationCoordinates .\n  OPTIONAL {\n    ?organization wdt:P18 ?image .\n  }\n  ?propertyItem wikibase:directClaim ?relationship .\n  ?propertyItem rdfs:label ?relationshipLabel .\n  FILTER ( LANG( ?relationshipLabel ) = \"en\" ) ?organization rdfs:label ?organizationLabel .\n  FILTER ( LANG( ?organizationLabel ) = \"en\" )\n}", "paraphrases": ["What are the places where Kasper Monrad worked or studied, their coordinates, images, and the nature of his association with them?", "Show me the organizations linked to Kasper Monrad (like his employer or university), their locations on a map, any associated images, and how he is connected to them (e.g., employer, educated at)."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ( ?var4Label AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q17287428> ?var6 ?var2 . ?var2 (( <http://www.wikidata.org/prop/P159> / <http://www.wikidata.org/prop/qualifier/P625> )|( <http://www.wikidata.org/prop/direct/P276> */ <http://www.wikidata.org/prop/direct/P625> )) ?var3 . ?var7 <http://wikiba.se/ontology#directClaim> ?var6 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,nl,no,ru,sv,zh\". } ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . }"}}
{"id": "test_1589", "question": "What are the official website, image, formation location, Facebook username, genre, and MusicBrainz ID of the musical group Dark Lunacy?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?groupName ?image ?website ?formationLocationLabel ?facebook ?genreLabel ?musicBrainzId WHERE {\n  wd:Q2320834 wdt:P31 wd:Q215380 .\n  OPTIONAL {\n    wd:Q2320834 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q2320834 wdt:P856 ?website .\n  }\n  OPTIONAL {\n    wd:Q2320834 wdt:P740 ?formationLocation .\n  }\n  OPTIONAL {\n    wd:Q2320834 wdt:P2013 ?facebook .\n  }\n  OPTIONAL {\n    wd:Q2320834 wdt:P136 ?genre .\n  }\n  OPTIONAL {\n    wd:Q2320834 wdt:P434 ?musicBrainzId .\n  }\n  OPTIONAL {\n    wd:Q2320834 rdfs:label ?groupName FILTER ( LANG( ?groupName ) = \"en\" )\n  }\n  OPTIONAL {\n    ?formationLocation rdfs:label ?formationLocationLabel FILTER ( LANG( ?formationLocationLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?genre rdfs:label ?genreLabel FILTER ( LANG( ?genreLabel ) = \"en\" )\n  }\n}\nLIMIT 1", "paraphrases": ["Can you tell me the name, image, official website, where Dark Lunacy was formed, their Facebook profile, music genre, and MusicBrainz ID?", "Please provide detailed information about the Italian melodic death metal band Dark Lunacy, including its image, website, formation location, social media handle, genre, and MusicBrainz identifier."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4Label ?var5 ?var6Label ?var7 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q215380> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P740> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2013> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P434> ?var7 . } FILTER ( ( ( ?var1 = <http://www.wikidata.org/entity/Q2320834> ) ) ) . } LIMIT 1"}}
{"id": "test_1590", "question": "English and German Wikipedia pages for the film with IMDb ID tt0164961", "sparql": "SELECT ?film ?wikipediaPage WHERE { ?film wdt:P345 \"tt0164961\" . ?wikipediaPage schema:about ?film . ?wikipediaPage schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["What are the English and German Wikipedia articles about the film \"Vidocq\" (IMDb tt0164961)?", "Show me the Wikipedia pages in English and German that are about the movie with IMDb ID tt0164961."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0164961\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1591", "question": "What is the most specific shared category in Wikidata that includes both the city of Houston and Ben Roethlisberger?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?ancestor ?ancestorLabel WHERE {\n  wd:Q5 wdt:P279 * ?ancestor .\n  wd:Q515 wdt:P279 * ?ancestor .\n  OPTIONAL {\n    ?ancestor rdfs:label ?ancestorLabel .\n    FILTER ( LANG( ?ancestorLabel ) = \"en\" )\n  }\n}\nORDER BY ?ancestor\nLIMIT 1", "paraphrases": ["Find the common superclass in the subclass hierarchy between Houston and Ben Roethlisberger.", "Which top-level concept do both Ben Roethlisberger and the city of Houston belong to through their class hierarchies?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q16555> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q537679> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1592", "question": "What are Sebastian Riedel\u2019s affiliations and employers, along with their images, start/end dates, and academic degrees?", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ?image ?affiliation ?affiliationLabel ?startDate ?endDate ?degreeLabel WHERE {\n  {\n    wd:Q39128623 p:P1416 ?statement .\n    ?statement ps:P1416 ?affiliation .\n  } UNION {\n    wd:Q39128623 p:P108 ?statement .\n    ?statement ps:P108 ?affiliation .\n  }\n  ?affiliation rdfs:label ?affiliationLabel .\n  FILTER ( LANG( ?affiliationLabel ) = \"en\" ) OPTIONAL {\n    ?affiliation wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?statement pq:P580 ?startDate .\n  }\n  OPTIONAL {\n    ?statement pq:P582 ?endDate .\n  }\n  OPTIONAL {\n    ?statement pq:P512 ?degree .\n    ?degree rdfs:label ?degreeLabel .\n    FILTER ( LANG( ?degreeLabel ) = \"en\" )\n  }\n}", "paraphrases": ["Which organizations has Sebastian Riedel been affiliated with or employed by, and what are their images and time periods of association?", "Show me the names and images of Sebastian Riedel\u2019s employers and affiliations, including any start or end dates, and any academic degrees linked to those roles."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label ?var4 ?var5 ?var6Label WHERE { { <http://www.wikidata.org/entity/Q39128623> <http://www.wikidata.org/prop/P1416> ?var7 . } UNION { <http://www.wikidata.org/entity/Q39128623> <http://www.wikidata.org/prop/P108> ?var7 . } { ?var7 <http://www.wikidata.org/prop/statement/P1416> ?var2 . } UNION { ?var7 <http://www.wikidata.org/prop/statement/P108> ?var2 . } ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P580> ?var4 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P582> ?var5 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P512> ?var8 . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_1593", "question": "Affiliations and employers of Oluwasanmi Koyejo with images and start dates", "sparql": "SELECT ?image ?institution ?institutionLabel ?start ?end WHERE { { wd:Q25654777 p:P1416 ?affiliation . ?affiliation ps:P1416 ?institution . } UNION { wd:Q25654777 p:P108 ?affiliation . ?affiliation ps:P108 ?institution . } ?institution rdfs:label ?institutionLabel . FILTER(LANG(?institutionLabel) = \"en\") OPTIONAL { ?institution wdt:P18 ?image . } OPTIONAL { ?affiliation pq:P580 ?start . } OPTIONAL { ?affiliation pq:P582 ?end . } }", "paraphrases": ["What institutions has Oluwasanmi Koyejo been affiliated with or employed by, and what are their images and start dates?", "Show me the institutions Oluwasanmi Koyejo is associated with, including their logos and when he started working there."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label ?var4 ?var5 ?var6Label WHERE { { <http://www.wikidata.org/entity/Q25654777> <http://www.wikidata.org/prop/P1416> ?var7 . } UNION { <http://www.wikidata.org/entity/Q25654777> <http://www.wikidata.org/prop/P108> ?var7 . } { ?var7 <http://www.wikidata.org/prop/statement/P1416> ?var2 . } UNION { ?var7 <http://www.wikidata.org/prop/statement/P108> ?var2 . } ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P580> ?var4 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P582> ?var5 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P512> ?var8 . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_1594", "question": "Institutions C. Lee Giles was affiliated with or employed by, including images and start dates.", "sparql": "SELECT ?image ?affiliation ?affiliationLabel ?startDate ?endDate ?degreeLabel WHERE { { wd:Q15995097 p:P1416 ?statement . ?statement ps:P1416 ?affiliation . } UNION { wd:Q15995097 p:P108 ?statement . ?statement ps:P108 ?affiliation . } ?affiliation rdfs:label ?affiliationLabel . FILTER(LANG(?affiliationLabel) = \"en\") OPTIONAL { ?affiliation wdt:P18 ?image . } OPTIONAL { ?statement pq:P580 ?startDate . } OPTIONAL { ?statement pq:P582 ?endDate . } OPTIONAL { ?statement pq:P512 ?degree . ?degree rdfs:label ?degreeLabel . FILTER(LANG(?degreeLabel) = \"en\") } }", "paraphrases": ["Which organizations has C. Lee Giles been affiliated with or employed by, and what are their images and the start dates of those associations?", "Show me a list of C. Lee Giles\u2019s affiliations and employers, along with their images and when he started working with them. Also include any academic degrees tied to those roles."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label ?var4 ?var5 ?var6Label WHERE { { <http://www.wikidata.org/entity/Q15995097> <http://www.wikidata.org/prop/P1416> ?var7 . } UNION { <http://www.wikidata.org/entity/Q15995097> <http://www.wikidata.org/prop/P108> ?var7 . } { ?var7 <http://www.wikidata.org/prop/statement/P1416> ?var2 . } UNION { ?var7 <http://www.wikidata.org/prop/statement/P108> ?var2 . } ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P580> ?var4 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P582> ?var5 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P512> ?var8 . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_1595", "question": "Fictional characters and their medical conditions in Wikidata", "sparql": "SELECT DISTINCT ?character ?characterLabel ?condition ?conditionLabel WHERE { ?character (wdt:P31/wdt:P279*) wd:Q95074 ; wdt:P1050 ?condition . ?character rdfs:label ?characterLabel . ?condition rdfs:label ?conditionLabel . FILTER(LANG(?characterLabel) = \"en\") FILTER(LANG(?conditionLabel) = \"en\") }", "paraphrases": ["Which fictional characters are associated with which medical conditions, and what are their English names?", "List all fictional characters along with the medical conditions they have, using English labels for both."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q95074> ; <http://www.wikidata.org/prop/direct/P1050> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_1596", "question": "Is Rosa Lemberg a musician or a subclass of musician?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  wd:Q43272852 wdt:P106 / wdt:P279 * wd:Q639669 .\n}", "paraphrases": ["Does Rosa Lemberg have an occupation that is a type of musician?", "Confirm whether Rosa Lemberg\u2019s occupation is related to music by being a subclass of musician."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q43272852> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_1597", "question": "What protein is encoded by the gene with NCBI locus tag CTL0077 in Chlamydia trachomatis 434/BU?", "sparql": "SELECT ?gene ?protein WHERE { ?taxon wdt:P685 \"471472\" . ?gene wdt:P2393 \"CTL0077\" ; wdt:P703 ?taxon ; wdt:P688 ?protein .}", "paraphrases": ["Which protein does the gene CTL0077 encode in the bacterium Chlamydia trachomatis 434/BU?", "Find the protein product of the gene identified by locus tag CTL0077 in the taxon with NCBI ID 471472."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P685> \"471472\". ?var1 <http://www.wikidata.org/prop/direct/P2393> \"CTL0077\"; <http://www.wikidata.org/prop/direct/P703> ?var3 ; <http://www.wikidata.org/prop/direct/P688> ?var2 . }"}}
{"id": "test_1598", "question": "What are all the episodes of Brooklyn Nine-Nine, including pilots and season premieres, along with their season and episode numbers in the series?", "sparql": "SELECT DISTINCT ?episode ?episodeLabel ?season ?seasonLabel ?seriesOrdinal ?seasonOrdinal WHERE { VALUES ?episodeType { wd:Q21191270 wd:Q653916 wd:Q29197 } ?episode wdt:P31 ?episodeType . ?episode p:P179 ?statementSeries . ?statementSeries pq:P1545 ?seriesOrdinal . ?episode p:P4908 ?statementSeason . ?statementSeason pq:P1545 ?seasonOrdinal . ?episode wdt:P4908 ?season . ?episode rdfs:label ?episodeLabel . ?season rdfs:label ?seasonLabel . FILTER (lang(?episodeLabel) = \"en\") FILTER (lang(?seasonLabel) = \"en\") } ORDER BY ASC(?seriesOrdinal)", "paraphrases": ["List the English titles of Brooklyn Nine-Nine episodes, the season they belong to, and their ordinal positions in the series and within the season.", "Show me the complete episode list for Brooklyn Nine-Nine with episode titles, season names, and their respective numbering in the overall series and within each season."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 ?var4Label ?var5 ?var6 WHERE { VALUES ( ?var7 ) { ( <http://www.wikidata.org/entity/Q21191270> ) ( <http://www.wikidata.org/entity/Q653916> ) ( <http://www.wikidata.org/entity/Q29197> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> ?var7 . ?var1 <http://www.wikidata.org/prop/direct/P179> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P179> <http://www.wikidata.org/entity/Q13417244> . ?var1 <http://www.wikidata.org/prop/direct/P4908> ?var4 . ?var1 <http://www.wikidata.org/prop/P179> ?var8 . ?var1 <http://www.wikidata.org/prop/P4908> ?var9 . ?var8 <http://www.wikidata.org/prop/qualifier/P1545> ?var5 . ?var9 <http://www.wikidata.org/prop/qualifier/P1545> ?var6 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it\". } } ORDER BY ASC( ?var3 )ASC( <http://www.w3.org/2001/XMLSchema#integer> ( ?var5 ) )"}}
{"id": "test_1599", "question": "What are the main categories that Bastille and Blue Origin belong to in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?bastilleClass ?bastilleClassLabel ?blueOriginClass ?blueOriginClassLabel WHERE {\n  wd:Q1865480 wdt:P31 ?bastilleClass .\n  wd:Q885836 wdt:P31 ?blueOriginClass .\n  ?bastilleClass rdfs:label ?bastilleClassLabel .\n  ?blueOriginClass rdfs:label ?blueOriginClassLabel .\n  FILTER ( LANG( ?bastilleClassLabel ) = \"en\" && LANG( ?blueOriginClassLabel ) = \"en\" )\n}\nORDER BY ?bastilleClass ?blueOriginClass", "paraphrases": ["Do Bastille and Blue Origin share any common classification in Wikidata\u2019s hierarchy?", "Show the direct types of Bastille and Blue Origin \u2014 are they in the same ontological category?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1865480> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q885836> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1600", "question": "What diseases in the infectious diseases specialty affect the respiratory tract?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?disease ?diseaseLabel ?affectedSystem ?affectedSystemLabel WHERE {\n  ?disease wdt:P31 wd:Q12136 .\n  ?disease wdt:P1995 wd:Q788926 .\n  ?disease wdt:P689 ?affectedSystem .\n  ?disease rdfs:label ?diseaseLabel .\n  ?affectedSystem rdfs:label ?affectedSystemLabel .\n  FILTER(LANG(?diseaseLabel) = \"en\")\n  FILTER(LANG(?affectedSystemLabel) = \"en\")\n}", "paraphrases": ["Which infections are classified under infectious diseases and target the respiratory system?", "Can you list diseases that are treated by infectious disease specialists and involve the respiratory tract?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q12136> . ?var1 <http://www.wikidata.org/prop/direct/P1995> <http://www.wikidata.org/entity/Q788926> . ?var1 <http://www.wikidata.org/prop/direct/P689> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1601", "question": "Films from the Japanese Movie Database with IDs starting with 1, sorted by release date.", "sparql": "SELECT ?film ?filmLabel ?jmdbId ?publicationDate WHERE { ?film wdt:P2400 ?jmdbId . ?film wdt:P577 ?publicationDate . FILTER (STRSTARTS(?jmdbId, \"1\")) } ORDER BY ASC(?publicationDate) LIMIT 1000", "paraphrases": ["Which films have JMDb IDs starting with \"1\", and when were they released?", "Show me Japanese films from the JMDb whose ID begins with 1, ordered by their release date, along with their release years."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2400> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var3 . FILTER ( ( ( SUBSTR ( ?var2 ,\"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) = \"1\" ) ) ) . } ORDER BY ASC( ?var3 ) LIMIT 1000"}}
{"id": "test_1602", "question": "Humans who created or appeared in non-religious creative works, excluding literary characters, with their English-language works listed.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?human ?humanLabel(GROUP_CONCAT(DISTINCT ?createdWorkLabel ; SEPARATOR = \", \") AS ?createdWorks)(GROUP_CONCAT(DISTINCT ?appearedInWorkLabel ; SEPARATOR = \", \") AS ?appearedInWorks) WHERE {\n  ?human wdt:P31 wd:Q5 .\n  OPTIONAL {\n    ?human wdt:P170 ?work .\n    ?work rdfs:label ?createdWorkLabel .\n    FILTER(LANG(?createdWorkLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?human wdt:P1441 ?work .\n    ?work rdfs:label ?appearedInWorkLabel .\n    FILTER(LANG(?appearedInWorkLabel) = \"en\") MINUS {\n      ?work wdt:P279 * wd:Q179461 .\n    }\n  } MINUS {\n    ?human wdt:P31 / wdt:P279 * wd:Q3658341 .\n  }\n  ?human rdfs:label ?humanLabel .\n  FILTER(LANG(?humanLabel) = \"en\")\n}\nGROUP BY ?human ?humanLabel\nORDER BY DESC(COUNT(?createdWorkLabel))\nLIMIT 10", "paraphrases": ["Which humans have created or appeared in creative works (excluding religious texts and literary characters), and what are those works in English?", "List English-labeled creative works created by or featuring humans (excluding religious characters and literary figures), grouped by person and ordered by number of created works."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ( GROUP_CONCAT ( DISTINCT ?var2 ; SEPARATOR = \", \" ) AS ?var3 )( GROUP_CONCAT ( DISTINCT ?var4 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . { ?var1 <http://www.wikidata.org/prop/direct/P170> ?var6 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P1441> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . MINUS { ?var7 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q179461> . } } MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q18563354> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var3 )"}}
{"id": "test_1603", "question": "List all book editions and translations with their authors and publication dates.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?work ?author ?publicationDate WHERE {\n  ?work wdt:P31 wd:Q3331189 .\n  ?work wdt:P50 ?author .\n  ?work wdt:P577 ?publicationDate .\n}", "paraphrases": ["Which editions or translations of works have known authors and publication dates?", "Show me the titles of published editions and translations, along with their authors and when they were published."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3331189> . ?var1 <http://www.wikidata.org/prop/direct/P50> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var3 . }"}}
{"id": "test_1604", "question": "What is the most general category that both the Las Vegas Valley and the Seattle Seahawks belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonClass WHERE {\n  {\n    wd:Q2624848 wdt:P31 ?class1 .\n    ?class1 wdt:P279 * ?commonClass .\n    FILTER NOT EXISTS {\n      ?commonClass wdt:P279 ?super\n    }\n  } UNION {\n    wd:Q221878 wdt:P31 ?class2 .\n    ?class2 wdt:P279 * ?commonClass .\n    FILTER NOT EXISTS {\n      ?commonClass wdt:P279 ?super\n    }\n  }\n}\nGROUP BY ?commonClass\nHAVING(COUNT(*) = 2)", "paraphrases": ["What is the highest-level class in Wikidata that includes both a metropolitan area and an American football team?", "Find the top-level category shared by the Las Vegas Valley and the Seattle Seahawks in the Wikidata ontology."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2624848> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q221878> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1605", "question": "What is the occupation of Joshua King and what type of entity is the Liberal Democratic Party?", "sparql": "SELECT ?occupation ?occupationLabel ?partyType ?partyTypeLabel WHERE { wd:Q436237 wdt:P106 ?occupation . wd:Q232595 wdt:P31 ?partyType . OPTIONAL { ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = \"en\") } OPTIONAL { ?partyType rdfs:label ?partyTypeLabel . FILTER(LANG(?partyTypeLabel) = \"en\") } }", "paraphrases": ["Can you tell me the occupation associated with Joshua King and the category that the Liberal Democratic Party belongs to?", "What class does the Liberal Democratic Party belong to, and what is Joshua King\u2019s profession?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q436237> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q232595> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1606", "question": "What are the titles of films from Israel?", "sparql": "SELECT ?film ?filmLabel WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P495 wd:Q801 . ?film rdfs:label ?filmLabel .}", "paraphrases": ["Can you list Israeli movies along with their names?", "Which films originated in Israel and have English titles?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P495> <http://www.wikidata.org/entity/Q801> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"he,en\". } }"}}
{"id": "test_1607", "question": "Japanese films released between 2007 and 2017 with IMDb IDs, genres, and Japanese Wikipedia links.", "sparql": "SELECT DISTINCT ?film ?filmLabel ?imdbId ?freebaseId ?publicationDate ?distributor ?genre ?productionCompany ?officialName ?jaWikipediaUrl WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P577 ?publicationDate . OPTIONAL { ?film wdt:P345 ?imdbId . } OPTIONAL { ?film wdt:P646 ?freebaseId . } ?film wdt:P495 wd:Q17 . OPTIONAL { ?film wdt:P750 ?distributor . } OPTIONAL { ?film wdt:P136 ?genre . } OPTIONAL { ?film wdt:P272 ?productionCompany . } OPTIONAL { ?film wdt:P1448 ?officialName . } OPTIONAL { ?jaWikipediaUrl schema:about ?film ; schema:inLanguage \"ja\" . } FILTER ( ?publicationDate >= \"2007-01-01T00:00:00Z\"^^xsd:dateTime && ?publicationDate <= \"2017-12-31T00:00:00Z\"^^xsd:dateTime ) OPTIONAL { ?film rdfs:label ?filmLabel . FILTER(LANG(?filmLabel) = \"en\") } }", "paraphrases": ["What are Japanese films released from 2007 to 2017, and what are their IMDb IDs, distributors, genres, and Japanese Wikipedia pages?", "List all films from Japan made between 2007 and 2017, including their English titles, IMDb numbers, genres, and links to their Japanese Wikipedia articles."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var5Label ?var6 ?var6Label ?var7 ?var7Label ?var8 ?var9 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var10 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P345> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P646> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var4 . } OPTIONAL { } ?var1 <http://www.wikidata.org/prop/direct/P495> <http://www.wikidata.org/entity/Q17> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P750> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P272> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1448> ?var8 . } OPTIONAL { ?var9 <http://schema.org/about> ?var1 . ?var9 <http://schema.org/inLanguage> \"ja\". } FILTER ( ( ( ?var10 >= \"2007-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var10 <= \"2017-12-31T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_1608", "question": "What publications have published works by William Gibson, and how many works appear in each?", "sparql": "SELECT ?publication ?publicationLabel (COUNT(?work) AS ?count)\nWHERE {\n  ?work wdt:P50 wd:Q188987 .\n  ?work wdt:P1433 ?publication .\n  ?publication rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\") .\n  OPTIONAL {\n    ?publication wdt:P1813 ?shortName .\n  }\n  BIND(COALESCE(?shortName, ?label) AS ?publicationLabel)\n}\nGROUP BY ?publication ?publicationLabel\nORDER BY DESC(?count)", "paraphrases": ["List the journals and anthologies that have featured William Gibson\u2019s writing, along with the number of his works in each, sorted by frequency.", "Which books or magazines have published William Gibson\u2019s stories, and which ones have the most of his work?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q188987> . ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1813> ?var6 . } BIND ( COALESCE ( ?var6 , ?var5Label ) AS ?var2Label ). } GROUP BY ?var1 ?var2Label ORDER BY DESC( ?var4 )"}}
{"id": "test_1609", "question": "Fictional characters with deprecated occupation statements due to inapplicability", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?character ?statement WHERE {\n  ?character p:P106 ?statement .\n  ?statement ps:P106 wd:Q95074 .\n  ?statement pq:P2241 wd:Q86191979 .\n}", "paraphrases": ["Which fictional characters have occupation claims marked as invalid because occupations don't apply to fictional characters?", "Show me fictional characters whose occupation statements were deprecated because the occupation property is not meant for fictional characters."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P106> <http://www.wikidata.org/entity/Q95074> . ?var1 <http://www.wikidata.org/prop/P106> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_1610", "question": "What protein is encoded by the gene with NCBI locus tag CT_221 in Chlamydia trachomatis?", "sparql": "SELECT DISTINCT ?gene ?protein WHERE { ?gene wdt:P2393 \"CT_221\" ; wdt:P703/wdt:P685 \"272561\" ; wdt:P688 ?protein . }", "paraphrases": ["Gene CT_221 in Chlamydia trachomatis and its encoded protein", "Show me the protein product of the CT_221 gene in Chlamydia trachomatis."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P685> \"272561\". ?var1 <http://www.wikidata.org/prop/direct/P2393> \"CT_221\"; <http://www.wikidata.org/prop/direct/P703> ?var3 ; <http://www.wikidata.org/prop/direct/P688> ?var2 . }"}}
{"id": "test_1611", "question": "What disease is equivalent to Q18557078 in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX owl: <http://www.w3.org/2002/07/owl#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?equivalentEntity ?equivalentEntityLabel WHERE {\n  wd:Q18557078 owl:sameAs ?equivalentEntity .\n  ?equivalentEntity rdfs:label ?equivalentEntityLabel .\n  FILTER(LANG(?equivalentEntityLabel) = \"en\")\n}", "paraphrases": ["What is the English name of the condition that Q18557078 refers to?", "Which disease does Q18557078 map to via owl:sameAs?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q18557078> ?var1 ?var2 . }"}}
{"id": "test_1612", "question": "What is the most specific shared category between New Addington and Honolulu in Wikidata's taxonomy?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?commonAncestor WHERE {\n  wd:Q7005189 wdt:P31 ?type1 .\n  ?type1 wdt:P279 ?commonAncestor .\n  wd:Q18094 wdt:P31 ?type2 .\n  ?type2 wdt:P279 ?commonAncestor .\n}\nLIMIT 1", "paraphrases": ["Which concept is the lowest common ancestor in the subclass hierarchy of both New Addington and Honolulu?", "Find the most specific type that both New Addington and Honolulu belong to through their class hierarchies."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7005189> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q18094> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1613", "question": "What is the most specific human-related group that both Native Americans and Palestinians belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonSubclass ?label WHERE {\n  wd:Q49297 wdt:P279 * ?commonSubclass .\n  wd:Q201190 wdt:P279 * ?commonSubclass .\n  ?commonSubclass rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) FILTER ( ?commonSubclass != wd:Q49297 && ?commonSubclass != wd:Q201190 ) FILTER ( CONTAINS( LCASE( ?label ) , \"human\" ) )\n}\nORDER BY ASC ( ?label )\nLIMIT 1", "paraphrases": ["Find the common subclass of Native Americans and Palestinians that is most specifically related to humans.", "What is the shared human social category that includes both Native Americans and Palestinians?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q49297> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q201190> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1614", "question": "Musical groups with \"rock\" in their name, their genre, and where they were formed.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?group ?groupLabel ?genre ?genreLabel ?location ?locationLabel WHERE {\n  {\n    ?group wdt:P31 wd:Q215380 .\n  } UNION {\n    ?group wdt:P31 wd:Q5741069 .\n  }\n  ?group rdfs:label ?groupLabel .\n  ?group wdt:P136 ?genre .\n  ?genre rdfs:label ?genreLabel .\n  ?group wdt:P740 ?location .\n  ?location rdfs:label ?locationLabel .\n  FILTER(LANG(?groupLabel) = \"en\")\n  FILTER(LANG(?genreLabel) = \"en\")\n  FILTER(LANG(?locationLabel) = \"en\")\n  FILTER(REGEX(?groupLabel , \"rock\" , \"i\"))\n}\nLIMIT 10", "paraphrases": ["Which rock bands or musical groups have a known genre and formation location, and what are they?", "Show me English-named musical groups or rock bands that include \"rock\" in their title, along with their music genre and the city or place where they were formed."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3Label WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q215380> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5741069> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q130857> . } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var2 . } ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P740> ?var3 . } ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . FILTER ( ( REGEX ( ?var1Label , \"string1\" ) ) ) . } LIMIT 1"}}
{"id": "test_1615", "question": "What is the most specific shared category between Israelis and the Houston Texans?", "sparql": "SELECT ?commonAncestor (COUNT(?path1) AS ?depth1) (COUNT(?path2) AS ?depth2) WHERE {\n  wd:Q33829 wdt:P279* ?commonAncestor .\n  wd:Q17156793 wdt:P279* ?commonAncestor .\n  \n  # Count steps from human population to common ancestor\n  wd:Q33829 wdt:P279* ?path1 .\n  ?path1 wdt:P279* ?commonAncestor .\n  \n  # Count steps from American football team to common ancestor\n  wd:Q17156793 wdt:P279* ?path2 .\n  ?path2 wdt:P279* ?commonAncestor .\n  \n  FILTER (?commonAncestor != wd:Q33829 && ?commonAncestor != wd:Q17156793)\n}\nGROUP BY ?commonAncestor\nORDER BY ASC(?depth1 + ?depth2)\nLIMIT 1", "paraphrases": ["What is the least specific class that both Israelis and the Houston Texans belong to through their types?", "Find the most specific common superclass of human population and American football team."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q875556> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q223514> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1616", "question": "Books with their authors and publication dates, including VIAF IDs where available.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?book ?bookLabel ?authorLabel ?publicationDate ?viafId WHERE {\n  ?book wdt:P31 wd:Q571 .\n  ?book wdt:P50 ?author .\n  OPTIONAL {\n    ?book wdt:P214 ?viafId .\n  }\n  OPTIONAL {\n    ?book wdt:P577 ?publicationDate .\n  }\n  ?book rdfs:label ?bookLabel .\n  ?author rdfs:label ?authorLabel .\n  FILTER(LANG(?bookLabel) = \"en\")\n  FILTER(LANG(?authorLabel) = \"en\")\n}\nLIMIT 5", "paraphrases": ["What are some books, who wrote them, when were they published, and what are their VIAF identifiers?", "List English-language books along with their authors, publication years, and VIAF IDs if they exist."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q17537576> . ?var1 <http://www.wikidata.org/prop/direct/P50> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P214> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q571> . }"}}
{"id": "test_1617", "question": "Chemical compounds and their boiling points", "sparql": "SELECT ?compound ?boilingPoint WHERE { ?compound wdt:P31 wd:Q11173 . ?compound p:P2102 ?statement . ?statement rdf:type wikibase:BestRank . ?statement ps:P2102 ?boilingPoint . FILTER(ISLITERAL(?boilingPoint)) } LIMIT 10", "paraphrases": ["What are the boiling points of chemical compounds?", "List chemical compounds along with their boiling points."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11173> . ?var1 <http://www.wikidata.org/prop/P2102> ?var5 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#BestRank> . ?var5 <http://www.wikidata.org/prop/statement/P2102> ?var2 . OPTIONAL { ?var5 ( <http://www.w3.org/ns/prov#wasDerivedFrom> / <http://www.wikidata.org/prop/reference/P248> ) ?var3 . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P356> ?var4 . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1618", "question": "List of English-named production companies on Wikidata", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?company ?companyLabel WHERE {\n  ?company wdt:P31 wd:Q11396960 .\n  ?company rdfs:label ?companyLabel .\n  FILTER(LANG(?companyLabel) = \"en\")\n}\nLIMIT 21", "paraphrases": ["What are the names of production companies in English?", "Show me up to 21 production companies with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11396960> . } LIMIT 21 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1619", "question": "What categories is the song \"Beautiful, Dirty, Rich\" classified under in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?typeLabel WHERE {\n  wd:Q791678 wdt:P31 ?type .\n  ?type rdfs:label ?typeLabel .\n  FILTER ( LANG( ?typeLabel ) = 'en' )\n}", "paraphrases": ["What are the English labels of the types that \"Beautiful, Dirty, Rich\" is an instance of?", "Can you tell me the English names of the categories that \"Beautiful, Dirty, Rich\" belongs to?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q791678> <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> \"string1\"@en . FILTER ( ( ( \"en\" = LANG ( \"string1\"@en ) ) ) ) . }"}}
{"id": "test_1620", "question": "How many biological complexes or processes include the cytochrome c protein as a component?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ( COUNT( ?entity ) AS ?count ) WHERE {\n  ?entity wdt:P527 wd:Q408223 .\n}", "paraphrases": ["What is the count of entities composed of the cytochrome c protein?", "List the number of biological systems that contain cytochrome c as a part."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P527> <http://www.wikidata.org/entity/Q14819361> . }"}}
{"id": "test_1621", "question": "What are the English and German Wikipedia articles about the movie with IMDb ID tt0407887?", "sparql": "SELECT ?item ?wikipedia_page ?wikipedia_title WHERE { ?item wdt:P345 \"tt0407887\" . ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang ; schema:name ?wikipedia_title . FILTER(?lang = \"en\" || ?lang = \"de\") FILTER(regex(STR(?wikipedia_page), \"^https://[a-z]{2}\\\\.wikipedia\\\\.org/wiki/\")) }", "paraphrases": ["Show me the Wikipedia pages in English and German for the film identified by tt0407887 on IMDb.", "Which Wikipedia articles in English or German cover the movie The Departed?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0411205\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1622", "question": "What is the most specific category that both England and France belong to in the Wikidata hierarchy?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonAncestor ?label WHERE {\n  wd:Q21 wdt:P31 ?engType .\n  wd:Q142 wdt:P31 ?fraType .\n  ?engType wdt:P279 * ?commonAncestor .\n  ?fraType wdt:P279 * ?commonAncestor .\n  ?commonAncestor rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nORDER BY ?commonAncestor\nLIMIT 1", "paraphrases": ["What abstract class is the closest common ancestor of England and France based on their types?", "Find the highest-level shared classification between England and France in Wikidata\u2019s subclass tree."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q21> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q142> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1623", "question": "List films and their producers with English labels.", "sparql": "SELECT ?film ?filmLabel ?producer ?producerLabel WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P162 ?producer . ?film rdfs:label ?filmLabel . ?producer rdfs:label ?producerLabel . FILTER(LANG(?filmLabel) = 'en') FILTER(LANG(?producerLabel) = 'en') } LIMIT 200", "paraphrases": ["Which films have been produced by whom, and what are their English names?", "Show me a list of 200 films along with the names of their producers in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P162> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE], en\". } } LIMIT 200 OFFSET 2800"}}
{"id": "test_1624", "question": "What is the most specific common superclass of the National Football League and Hwangju County?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonClass WHERE {\n  VALUES ?commonClass {\n    wd:Q43229\n  }\n}", "paraphrases": ["What category do both the National Football League and Hwangju County belong to in the Wikidata hierarchy?", "What is the lowest common ancestor in the subclass hierarchy between the NFL and Hwangju County?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1215884> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q705723> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1625", "question": "Films produced by Moldova-Film.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?filmLabel WHERE {\n  ?film wdt:P272 wd:Q4300318 .\n  ?film rdfs:label ?filmLabel .\n  FILTER ( LANG( ?filmLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["What films were produced by the Moldovan film studio Moldova-Film?", "List the English titles of films produced by Moldova-Film."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ro,en\". } ?var1 <http://www.wikidata.org/prop/direct/P162> <http://www.wikidata.org/entity/Q4300318> . } LIMIT 100"}}
{"id": "test_1626", "question": "What gene and species are associated with the UniProt protein P38398?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?protein ?proteinLabel ?gene ?geneLabel ?taxon ?taxonLabel WHERE {\n  ?protein wdt:P352 \"P38398\" ; wdt:P702 ?gene ; wdt:P703 ?taxon .\n  ?protein rdfs:label ?proteinLabel .\n  ?gene rdfs:label ?geneLabel .\n  ?taxon rdfs:label ?taxonLabel .\n  FILTER ( LANG( ?proteinLabel ) = \"en\" ) FILTER ( LANG( ?geneLabel ) = \"en\" ) FILTER ( LANG( ?taxonLabel ) = \"en\" )\n}", "paraphrases": ["For the protein with UniProt ID P38398, which gene encodes it and in which species is it found?", "Show me the gene name and taxon for the human protein BRCA1 identified by UniProt ID P38398."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4Label ?var3Label ?var5 ?var5Label ?var6 ( GROUP_CONCAT ( DISTINCT ?var7 ; SEPARATOR = \", \" ) AS ?var8 )( GROUP_CONCAT ( DISTINCT ?var9Label ; SEPARATOR = \", \" ) AS ?var8Label ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P352> \"A0A0H3ML03\"; <http://www.wikidata.org/prop/direct/P129> ?var3 ; <http://www.wikidata.org/prop/P129> ?var10 . ?var10 ( <http://www.w3.org/ns/prov#wasDerivedFrom> / <http://www.wikidata.org/prop/reference/P248> ) ?var5 ; <http://www.wikidata.org/prop/qualifier/P459> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var9Label . ?var5 <http://www.wikidata.org/prop/direct/P698> ?var6 . ?var3 <http://www.wikidata.org/prop/direct/P703> ?var1 ; <http://www.wikidata.org/prop/direct/P702> ?var4 . FILTER ( ( ( LANG ( ?var9Label ) = \"en\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var2 ?var4Label ?var2Label ?var5 ?var5Label ?var6 ?var3 ?var3Label ?var1 ?var1Label"}}
{"id": "test_1627", "question": "What are the Czech-language books and their publishers in Wikidata?", "sparql": "SELECT ?book ?bookLabel ?publisher ?publisherLabel WHERE { ?book wdt:P31 wd:Q571 . ?book wdt:P123 ?publisher . ?book wdt:P407 wd:Q9056 . ?book rdfs:label ?bookLabel . ?publisher rdfs:label ?publisherLabel . FILTER(LANG(?bookLabel) = \"cs\") FILTER(LANG(?publisherLabel) = \"cs\") } LIMIT 100", "paraphrases": ["Can you list the titles of books written in Czech and the names of their publishers?", "Which institutions have published books in the Czech language, and what are the titles of those books?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q571> . ?var1 <http://www.wikidata.org/prop/direct/P123> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P407> <http://www.wikidata.org/entity/Q9056> . } LIMIT 100"}}
{"id": "test_1628", "question": "Chemical compounds with their melting and boiling points in Fahrenheit", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nSELECT ?compound ?compoundLabel ?meltingPoint ?meltingPointUnitLabel ?boilingPoint ?boilingPointUnitLabel ?colorLabel WHERE {\n  ?compound wdt:P31 wd:Q11173 .\n  ?compound wdt:P2101 ?meltingPoint .\n  ?compound p:P2101 ?meltingStmt .\n  ?meltingStmt psv:P2101 ?meltingValue .\n  ?meltingValue wikibase:quantityUnit ?meltingPointUnit .\n  ?compound wdt:P2102 ?boilingPoint .\n  ?compound p:P2102 ?boilingStmt .\n  ?boilingStmt psv:P2102 ?boilingValue .\n  ?boilingValue wikibase:quantityUnit ?boilingPointUnit .\n  OPTIONAL {\n    ?compound wdt:P462 ?color .\n  }\n  OPTIONAL {\n    ?compound rdfs:label ?compoundLabel\n    FILTER(LANG(?compoundLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?meltingPointUnit rdfs:label ?meltingPointUnitLabel\n    FILTER(LANG(?meltingPointUnitLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?boilingPointUnit rdfs:label ?boilingPointUnitLabel\n    FILTER(LANG(?boilingPointUnitLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?color rdfs:label ?colorLabel\n    FILTER(LANG(?colorLabel) = \"en\")\n  }\n}\nLIMIT 10", "paraphrases": ["What are the melting and boiling points of chemical compounds, and what units are they measured in?", "List chemical compounds along with their melting and boiling temperatures and the corresponding units."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5 ?var6Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11173> . ?var1 ( <http://www.wikidata.org/prop/P2101> / <http://www.wikidata.org/prop/statement/value/P2101> ) [ <http://wikiba.se/ontology#quantityAmount> ?var2 ; <http://wikiba.se/ontology#quantityUnit> ?var3 ] . ?var1 ( <http://www.wikidata.org/prop/P2102> / <http://www.wikidata.org/prop/statement/value/P2102> ) [ <http://wikiba.se/ontology#quantityAmount> ?var4 ; <http://wikiba.se/ontology#quantityUnit> ?var5 ] . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P462> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 10"}}
{"id": "test_1629", "question": "Films in the genre of film, their cast members, and producers.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?filmLabel ?castLabel ?producerLabel WHERE {\n  ?film wdt:P136 wd:Q11424 ; wdt:P161 ?cast ; wdt:P162 ?producer .\n  ?film rdfs:label ?filmLabel .\n  ?cast rdfs:label ?castLabel .\n  ?producer rdfs:label ?producerLabel .\n  FILTER ( LANG( ?filmLabel ) = 'en' ) .\n  FILTER ( LANG( ?castLabel ) = 'en' ) .\n  FILTER ( LANG( ?producerLabel ) = 'en' ) .\n}\nLIMIT 10", "paraphrases": ["What are the cast members and producers of films categorized under the genre of film?", "List the English-labeled films, their cast members, and producers, where the genre is film."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P136> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P161> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P162> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } } LIMIT 10"}}
{"id": "test_1630", "question": "What are the electronegativity and boiling point values for all chemical elements?", "sparql": "SELECT ?element ?elementLabel ?electronegativity ?boilingPoint WHERE { ?element wdt:P31 wd:Q11344 . ?element wdt:P1108 ?electronegativity . ?element wdt:P2102 ?boilingPoint . ?element rdfs:label ?elementLabel . FILTER(LANG(?elementLabel) = \"en\") }", "paraphrases": ["List chemical elements along with their Pauling electronegativity and boiling point in Kelvin.", "Can you show me the names, electronegativities, and boiling points of all known chemical elements?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11344> . ?var1 <http://www.wikidata.org/prop/direct/P1108> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P2102> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1631", "question": "What is the most closely related shared category between a football stadium and a baseball team in Wikidata's hierarchy?", "sparql": "SELECT ?ancestor ( (?dist1 + ?dist2) AS ?totalDistance ) WHERE { { SELECT ?ancestor (COUNT(?mid1) AS ?dist1) WHERE { wd:Q1154710 wdt:P279* ?mid1 . ?mid1 wdt:P279* ?ancestor . FILTER (?ancestor != wd:Q1154710) } GROUP BY ?ancestor } { SELECT ?ancestor (COUNT(?mid2) AS ?dist2) WHERE { wd:Q13027888 wdt:P279* ?mid2 . ?mid2 wdt:P279* ?ancestor . FILTER (?ancestor != wd:Q13027888) } GROUP BY ?ancestor } } ORDER BY ASC(?totalDistance) LIMIT 1", "paraphrases": ["Which class is the nearest common ancestor of association football venues and baseball teams, based on subclass relationships?", "Find the entity that is the shortest combined path away from both a sports venue and a sports team in the Wikidata ontology."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1849318> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q246782> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1632", "question": "What is the French label and description of the Wikimedia disambiguation page for Macron, and is there an associated image?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?label ?description ?image WHERE {\n  OPTIONAL {\n    wd:Q3274929 rdfs:label ?label .\n    FILTER(LANG(?label) = \"fr\")\n  }\n  OPTIONAL {\n    wd:Q3274929 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q3274929 schema:description ?description .\n    FILTER(LANG(?description) = \"fr\")\n  }\n}", "paraphrases": ["Show the French name and description of the page that disambiguates \"Macron\" on Wikimedia, along with its image if available.", "For the Wikidata item Q3274929 (Macron disambiguation page), what is its French label, French description, and image?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q3274929> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"fr\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q3274929> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q3274929> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"fr\" ) ) ) . } }"}}
{"id": "test_1633", "question": "Who is the gene KRAS named after?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?person ?personLabel WHERE {\n  wd:Q20969980 wdt:P138 ?person .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}", "paraphrases": ["Which person has the KRAS gene named in their honor?", "What is the name of the researcher after whom the KRAS gene was named?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P22> * <http://www.wikidata.org/entity/Q20969980> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P22> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1634", "question": "Does Storage Wars: Miami have a list of episodes linked in Wikidata?", "sparql": "ASK WHERE { wd:Q21411054 wdt:P1811 wd:Q29469277 }", "paraphrases": ["Is the episode list for Storage Wars: Miami linked to its corresponding Wikipedia list page?", "Confirm that the TV series Storage Wars: Miami (Q21411054) is connected via the 'list of episodes' property to the page 'list of Storage Wars: Miami episodes' (Q29469277)."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q29469277> . }"}}
{"id": "test_1635", "question": "What are the titles of films that do not have an Arabic label?", "sparql": "SELECT ?filmLabel WHERE { ?film wdt:P31 wd:Q11424 . OPTIONAL { ?film rdfs:label ?arLabel . FILTER ( LANG(?arLabel) = \"ar\" ) } FILTER ( !BOUND(?arLabel) ) ?film rdfs:label ?filmLabel .}", "paraphrases": ["Show me all films without an Arabic-language title.", "Which movies on Wikidata are missing an Arabic name?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"ar\" ) ) ) . } FILTER ( ( !( BOUND ( ?var3 ) ) ) ) . }"}}
{"id": "test_1636", "question": "What are the publication details (title, journal, date, volume, issue, pages, DOI, and authors) of the article titled \"PsyGeNET: a knowledge platform on psychiatric disorders and their genes\"?", "sparql": "SELECT ?label ?publicationDate ?journal ?volume ?issue ?pages ?doi ?authors WHERE { wd:Q23793554 rdfs:label ?label . FILTER(LANG(?label) = \"en\") OPTIONAL { wd:Q23793554 wdt:P577 ?publicationDate . } OPTIONAL { wd:Q23793554 wdt:P1433 ?journal . } OPTIONAL { wd:Q23793554 wdt:P478 ?volume . } OPTIONAL { wd:Q23793554 wdt:P433 ?issue . } OPTIONAL { wd:Q23793554 wdt:P304 ?pages . } OPTIONAL { wd:Q23793554 wdt:P356 ?doi . } OPTIONAL { wd:Q23793554 wdt:P50 ?author . ?author rdfs:label ?authorLabel . FILTER(LANG(?authorLabel) = \"en\") } BIND(GROUP_CONCAT(?authorLabel; SEPARATOR=\", \") AS ?authors) } GROUP BY ?label ?publicationDate ?journal ?volume ?issue ?pages ?doi ?authors ORDER BY ?label", "paraphrases": ["Can you provide the full bibliographic information for the 2015 Bioinformatics paper on PsyGeNET, including its authors and DOI?", "Who wrote the article PsyGeNET: a knowledge platform on psychiatric disorders and their genes, and where was it published? Include the publication date, volume, issue, pages, and DOI."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q23793554> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var12 ) ) ) . VALUES ( ?var12 ?var13 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q23793554> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q23793554> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q23793554> <http://www.wikidata.org/prop/direct/P1651> ?var5 . } OPTIONAL { <http://www.wikidata.org/entity/Q23793554> <http://www.wikidata.org/prop/direct/P2037> ?var6 . } OPTIONAL { <http://www.wikidata.org/entity/Q23793554> <http://www.wikidata.org/prop/direct/P2002> ?var7 . } OPTIONAL { <http://www.wikidata.org/entity/Q23793554> <http://www.wikidata.org/prop/direct/P2013> ?var8 . } OPTIONAL { <http://www.wikidata.org/entity/Q23793554> <http://www.wikidata.org/prop/direct/P2003> ?var9 . } OPTIONAL { <http://www.wikidata.org/entity/Q23793554> <http://www.wikidata.org/prop/direct/P856> ?var10 . } OPTIONAL { <http://www.wikidata.org/entity/Q23793554> <http://www.wikidata.org/prop/direct/P496> ?var11 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q23793554> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var13 )"}}
{"id": "test_1637", "question": "What is the most closely related common category (via subclass hierarchy) between Harvey Weinstein and the Las Vegas Raiders?", "sparql": "SELECT ?common (?distFromHuman + ?distFromTeam AS ?totalDistance) WHERE { { SELECT ?common (COUNT(?mid1) AS ?distFromHuman) WHERE { wd:Q5 wdt:P279* ?mid1 . ?mid1 wdt:P279* ?common . } GROUP BY ?common } { SELECT ?common (COUNT(?mid2) AS ?distFromTeam) WHERE { wd:Q17156793 wdt:P279* ?mid2 . ?mid2 wdt:P279* ?common . } GROUP BY ?common } } ORDER BY ASC(?totalDistance) LIMIT 1", "paraphrases": ["Which entity in Wikidata\u2019s taxonomy is the nearest common ancestor of a human and an American football team?", "Find the subclass that both Harvey Weinstein and the Las Vegas Raiders belong to, with the shortest combined path length from each."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q531599> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q324523> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1638", "question": "What are the occupations of J.K. Rowling?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?occupation WHERE {\n  wd:Q34660 wdt:P106 ?occupation .\n}", "paraphrases": ["What jobs has J.K. Rowling held?", "List the professions associated with J.K. Rowling."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q34660> <http://www.wikidata.org/prop/direct/P137> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_1639", "question": "How many Wikipedia categories are primarily about arterial hypertension?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ( COUNT( ?category ) AS ?count ) WHERE {\n  ?category wdt:P301 wd:Q41861 .\n}", "paraphrases": ["Number of Wikimedia categories with main topic arterial hypertension", "List the number of categories on Wikipedia that focus on arterial hypertension."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P301> <http://www.wikidata.org/entity/Q41861> . }"}}
{"id": "test_1640", "question": "Authors of books published more than 70 years ago.", "sparql": "SELECT ?authorLabel ?publicationDate WHERE { ?work wdt:P50 ?author ; wdt:P577 ?publicationDate . FILTER ( YEAR(?publicationDate) < (YEAR(NOW()) - 70) ) . ?author rdfs:label ?authorLabel . FILTER (LANG(?authorLabel) = \"en\") . } LIMIT 20", "paraphrases": ["Who are the authors of works published before 1954 (70 years ago from now)?", "List the English-labeled authors and publication dates of works released over 70 years ago."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { BIND ( NOW ( ) AS ?var3 ). ?var4 <http://www.wikidata.org/prop/direct/P50> ?var1 . ?var4 <http://www.wikidata.org/prop/direct/P577> ?var2 . FILTER ( ( ( ( ?var2 - ?var3 ) > \"70\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 20"}}
{"id": "test_1641", "question": "What is the most specific category that both Earth and Progressive Field belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?lca WHERE {\n  wd:Q128207 wdt:P279 * ?lca .\n  wd:Q595452 wdt:P279 * ?lca .\n  FILTER NOT EXISTS {\n    wd:Q128207 wdt:P279 * ?ancestor .\n    wd:Q595452 wdt:P279 * ?ancestor .\n    ?ancestor wdt:P279 + ?lca .\n  }\n}", "paraphrases": ["What do Earth and Progressive Field have in common in terms of their classification in Wikidata?", "Find the shared superclass at the lowest level between the class of Earth and the class of Progressive Field."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1154053> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1642", "question": "Top humans by number of notable works, in English.", "sparql": "SELECT ?human (SAMPLE(?label) AS ?humanLabel) (COUNT(?work) AS ?workCount) WHERE { ?human wdt:P31 wd:Q5 ; wdt:P800 ?work ; rdfs:label ?label . FILTER(LANGMATCHES(LANG(?label), \"en\")) } GROUP BY ?human ORDER BY DESC(?workCount) LIMIT 2000", "paraphrases": ["Who are the 2000 humans with the most notable works, and how many do they have?", "List the 2000 most prolific creators (by notable works) along with their English names and work counts."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var1Label ) AS ?var1Label )( SAMPLE ( ?var2 ) AS ?var2 )( SAMPLE ( ?var3 ) AS ?var3 )( SAMPLE ( ?var4 ) AS ?var4 )( COUNT ( ?var5 ) AS ?var6 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P800> ?var5 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( LANGMATCHES ( LANG ( ?var1Label ) , \"EN\" ) ) ) . } GROUP BY ?var1 ORDER BY DESC( ?var6 ) LIMIT 2000"}}
{"id": "test_1643", "question": "What is the English title of the album \"Born in the U.S.A.\"?", "sparql": "SELECT ?albumLabel WHERE { wd:Q40425 rdfs:label ?albumLabel . FILTER(LANG(?albumLabel) = \"en\") }", "paraphrases": ["Show the label of the album with Wikidata ID Q40425 in English.", "Retrieve the English name of Bruce Springsteen's 1984 album \"Born in the U.S.A.\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q40425> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } LIMIT 100"}}
{"id": "test_1644", "question": "What are the Wikidata entities for the Twitter accounts @elonmusk and @taylorswift13?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity ?twitterUsername WHERE {\n  ?entity wdt:P2002 ?twitterUsername .\n  VALUES ?twitterUsername {\n    \"elonmusk\" \"taylorswift13\"\n  }\n}", "paraphrases": ["Which people on Wikidata have the Twitter usernames \"elonmusk\" and \"taylorswift13\"?", "Can you find the Wikidata items linked to the Twitter handles elonmusk and taylorswift13?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"Tortank57\" ) ( \"_deightie\" ) ( \"breizhM35\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_1645", "question": "What are the episodes in the first season of Lego Ninjago, titled \"Rise of the Snakes\"?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?episode ?episodeLabel WHERE {\n  wd:Q34233712 wdt:P527 ?episode .\n  ?episode rdfs:label ?episodeLabel .\n  FILTER ( LANG( ?episodeLabel ) = 'en' )\n}\nLIMIT 100", "paraphrases": ["List the English titles of all episodes that make up the \"Rise of the Snakes\" season of Ninjago.", "Which episodes are part of the Lego Ninjago season \"Rise of the Snakes\"?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q34233712> . } LIMIT 100"}}
{"id": "test_1646", "question": "What gene is associated with the NRAS G12C mutation?", "sparql": "SELECT ?gene ?geneLabel WHERE { wd:Q29938351 wdt:P3433 ?gene . ?gene rdfs:label ?geneLabel . FILTER(LANG(?geneLabel) = \"en\") }", "paraphrases": ["Which gene does the NRAS G12C variant affect?", "Tell me the name of the gene that the NRAS G12C mutation occurs in."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { <http://www.wikidata.org/entity/Q29938351> <http://www.wikidata.org/prop/direct/P22> * ?var1 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P22> * <http://www.wikidata.org/entity/Q29938351> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P22> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1647", "question": "Who is the person with the given name Emmanuel and family name Macron, and where were they born?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel ?birthPlaceLabel WHERE {\n  ?person wdt:P734 wd:Q28375134 .\n  ?person wdt:P735 wd:Q18001873 .\n  ?person wdt:P19 ?birthPlace .\n  ?person rdfs:label ?personLabel .\n  ?birthPlace rdfs:label ?birthPlaceLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n  FILTER(LANG(?birthPlaceLabel) = \"en\")\n}", "paraphrases": ["Emmanuel Macron's birthplace and full name", "Tell me where Emmanuel Macron was born and confirm his full name."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P734> <http://www.wikidata.org/entity/Q28375134> . ?var1 <http://www.wikidata.org/prop/direct/P735> <http://www.wikidata.org/entity/Q18001873> . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P734> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1648", "question": "List all Futurama episodes with their season, episode number, production code, and the episodes that come before and after them.", "sparql": "SELECT ?episodeLabel ?episode ?season ?seasonLabel ?episodeOrdinal ?seasonOrdinal ?prodCode ?follows ?followedBy ?episodesInSeason ?seasonsInSeries WHERE {\n  BIND( wd:Q73622 AS ?series ) .\n  \n  ?episode wdt:P31 wd:Q21191270 .  # episode\n  ?season wdt:P31 wd:Q3464665 .    # season\n  \n  ?episode wdt:P179 ?series .      # episode part of Futurama\n  ?season wdt:P179 ?series .       # season part of Futurama\n  \n  ?season wdt:P527 ?episode .      # season has episode (FIXED: was P361)\n  \n  OPTIONAL {\n    ?episode p:P179 ?episodeStmt .\n    ?episodeStmt ps:P179 ?series .\n    ?episodeStmt pq:P1545 ?episodeOrdinal .\n  }\n  \n  OPTIONAL {\n    ?season p:P179 ?seasonStmt .\n    ?seasonStmt ps:P179 ?series .\n    ?seasonStmt pq:P1545 ?seasonOrdinal .\n  }\n  \n  OPTIONAL { ?episode wdt:P2364 ?prodCode . }\n  OPTIONAL { ?episode wdt:P155 ?follows . }\n  OPTIONAL { ?episode wdt:P156 ?followedBy . }\n  OPTIONAL { ?season wdt:P1113 ?episodesInSeason . }\n  OPTIONAL { ?series wdt:P2437 ?seasonsInSeries . }\n}\nORDER BY ASC(xsd:integer(?seasonOrdinal)) ASC(xsd:integer(?episodeOrdinal)) ASC(?prodCode)", "paraphrases": ["What are all the episodes of Futurama, ordered by season and episode number, along with their production codes and neighboring episodes in the series?", "Show me a complete ordered list of Futurama episodes, including which season they belong to, their ordinal position, production code, and the episodes that precede and follow them, along with how many episodes are in each season and how many seasons the series has."], "info": {"raw_sparql": "SELECT ?var1Label ?var1 ?var2 ?var2Label ?var3 ?var4 ?var3Label ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 WHERE { BIND ( <http://www.wikidata.org/entity/Q73622> AS ?var2 ). ?var1 <http://www.wikidata.org/prop/direct/P361> ?var3 . ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q21191270> . ?var1 <http://www.wikidata.org/prop/P179> ?var11 . ?var11 <http://www.wikidata.org/prop/statement/P179> ?var2 . ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3464665> . ?var3 <http://www.wikidata.org/prop/P179> ?var12 . ?var12 <http://www.wikidata.org/prop/statement/P179> ?var2 . OPTIONAL { ?var12 <http://www.wikidata.org/prop/qualifier/P1545> ?var4 . } OPTIONAL { ?var11 <http://www.wikidata.org/prop/qualifier/P1545> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2364> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P155> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P156> ?var8 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P2437> ?var10 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1113> ?var9 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( <http://www.w3.org/2001/XMLSchema#integer> ( ?var4 ) )ASC( <http://www.w3.org/2001/XMLSchema#integer> ( ?var5 ) )ASC( ?var6 )"}}
{"id": "test_1649", "question": "What is the most specific category that both England and Houston City Hall belong to through their types?", "sparql": "SELECT ?commonSuperclass ?commonSuperclassLabel WHERE { wd:Q21 wdt:P31 ?class1 . wd:Q1631477 wdt:P31 ?class2 . ?class1 wdt:P279* wd:Q99527517 . ?class2 wdt:P279* wd:Q99527517 . wd:Q99527517 rdfs:label ?commonSuperclassLabel . FILTER(LANG(?commonSuperclassLabel) = \"en\") }", "paraphrases": ["What common superclass do the type of England (constituent country) and the type of Houston City Hall (town hall) share?", "What is the highest-level category that includes both a country like England and a building like Houston City Hall?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q21> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1631477> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1650", "question": "Properties and values associated with the comic book \"Cigars of the Pharaoh\", including their labels and the album\u2019s image.", "sparql": "SELECT ?property ?propertyLabel ?value ?valueLabel ?imageItem ?imageProperty ?imageValue WHERE { wd:Q837304 ?property ?value . OPTIONAL { ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") } OPTIONAL { ?value rdfs:label ?valueLabel . FILTER(LANG(?valueLabel) = \"en\") } OPTIONAL { wd:Q837304 wdt:P18 ?imageItem } OPTIONAL { ?property wdt:P18 ?imageProperty } OPTIONAL { ?value wdt:P18 ?imageValue } }", "paraphrases": ["What statements are made about the comic album \"Cigars of the Pharaoh\", and what are the labels of those properties and values? Also, is there an image of the album?", "List all properties used in statements about \"Cigars of the Pharaoh\", along with their English labels, the values, the labels of those values, and the image of the album if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 ?var5 WHERE { { BIND ( <http://www.wikidata.org/entity/Q837304> AS ?var1 ). ?var1 ?var6 ?var7 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } ?var3 ?var8 ?var6 . ?var3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . FILTER ( ( STRSTARTS ( STR ( ?var7 ) , \"string1\" ) ) ) . FILTER ( ( STRSTARTS ( STR ( ?var3 ) , \"string2\" ) ) ) . } UNION { BIND ( \"EFFBD8\" AS ?var5 ). <http://www.wikidata.org/entity/Q837304> ?var6 ?var3 . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var4 . } ?var1 ?var8 ?var6 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . FILTER ( ( STRSTARTS ( STR ( ?var3 ) , \"string1\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . ?var3 <http://www.wikidata.org/prop/direct/P18> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_1651", "question": "Films and their production companies, starting from the 11,001st film, with English labels.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?productionCompany ?productionCompanyLabel WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P272 ?productionCompany .\n  ?productionCompany rdfs:label ?productionCompanyLabel .\n  FILTER ( LANG( ?productionCompanyLabel ) = \"en\" )\n}\nLIMIT 200\nOFFSET 11000", "paraphrases": ["What are the production companies of films, listed in English, starting from the 11,001st film?", "Show me the names of production companies for films, skipping the first 11,000 films, and include only English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P272> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE], en\". } } LIMIT 200 OFFSET 11000"}}
{"id": "test_1652", "question": "What are the literary works authored by George Orwell?", "sparql": "SELECT ?work ?authorLabel ?workLabel WHERE { ?work wdt:P31 wd:Q7725634 . ?work wdt:P50 ?author . ?author rdfs:label ?authorLabel . FILTER(LANG(?authorLabel) = \"en\") . FILTER(?authorLabel = \"George Orwell\"@en) . ?work rdfs:label ?workLabel . FILTER(LANG(?workLabel) = \"en\") } LIMIT 50", "paraphrases": ["List George Orwell's books with their English titles.", "Show me the English titles of books written by George Orwell."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q571> . ?var3 ?var4Label \"string1\"@en . ?var1 <http://www.wikidata.org/prop/direct/P50> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 50"}}
{"id": "test_1653", "question": "What category do Japan and the country where Ed Schultz is a citizen both belong to?", "sparql": "SELECT ?commonClass WHERE { wd:Q17 wdt:P31 ?commonClass . wd:Q422303 wdt:P27 ?citizenship . ?citizenship wdt:P31 ?commonClass . } LIMIT 1", "paraphrases": ["What is the common type shared by Japan and the United States (Ed Schultz's country of citizenship)?", "What is the most specific class that both Japan and Ed Schultz\u2019s nation are instances of?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q17> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q422303> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1654", "question": "Films produced in France with production company qualifiers", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ?film ?statement ( SAMPLE( ?qualifierValue ) AS ?qualifierValueSample ) WHERE {\n  ?film p:P272 ?statement .\n  ?statement ps:P272 wd:Q142 .\n  OPTIONAL {\n    ?statement ?qualifier ?qualifierValue .\n    ?qualifier wikibase:qualifier wdt:P272 .\n  }\n}\nGROUP BY ?film ?statement\nLIMIT 10", "paraphrases": ["Which films have France as their production company, and what additional details are attached to those production claims?", "List films produced by companies in France, along with any qualifiers on the production company statement."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P272> <http://www.wikidata.org/entity/Q142> . ?var1 <http://www.wikidata.org/prop/P272> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_1655", "question": "Movies set in U.S. states with their IMDb IDs.", "sparql": "SELECT ?stateLabel ?workLabel ?imdbId WHERE { ?state wdt:P31 wd:Q35657 . ?work wdt:P840 ?state . ?work wdt:P345 ?imdbId . ?work rdfs:label ?workLabel . ?state rdfs:label ?stateLabel . FILTER(LANG(?workLabel) = \"en\") FILTER(LANG(?stateLabel) = \"en\") } LIMIT 10", "paraphrases": ["Which films are set in U.S. states, and what are their labels and IMDb IDs?", "Show me the names of movies set in U.S. states along with the state names and their IMDb identifiers."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3 WHERE { { SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q35657> . ?var2 <http://www.wikidata.org/prop/direct/P840> ?var1 . ?var3 <http://www.wikidata.org/prop/direct/P345> ?var2 . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1656", "question": "TV series with episode lists", "sparql": "ASK WHERE { ?series wdt:P31 wd:Q5398426 ; wdt:P1811 ?episodeList . }", "paraphrases": ["Are there any television series that have a list of episodes linked in Wikidata?", "Show me if any TV series have an episode list article associated with them."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q30750> . }"}}
{"id": "test_1657", "question": "English and German Wikipedia or Commons pages for the film with IMDb ID tt0013607", "sparql": "SELECT ?item ?page WHERE { ?item wdt:P345 \"tt0013607\" . ?page schema:about ?item . { ?page schema:inLanguage \"en\" . } UNION { ?page schema:inLanguage \"de\" . } }", "paraphrases": ["What English or German-language Wikipedia or Commons pages are about the film with IMDb ID tt0013607?", "Show me the English and German pages linked to the film identified by IMDb ID tt0013607."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0013607\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1658", "question": "How many medical procedures or methods are associated with the field of medicine?", "sparql": "SELECT (COUNT(?item) AS ?count) WHERE { ?item wdt:P642 wd:Q11190 . }", "paraphrases": ["How many items are classified as being in the scope of medicine according to Wikidata?", "Count the number of entities that apply within the scope of medicine."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P642> <http://www.wikidata.org/entity/Q11190> . }"}}
{"id": "test_1659", "question": "What creative works are inspired by music, and what additional details are associated with those inspirations?", "sparql": "SELECT ?work ?statement (SAMPLE(?qualifier) AS ?qualifierProperty) WHERE { { SELECT DISTINCT ?work ?statement WHERE { ?statement ps:P941 wd:Q638 . ?work p:P941 ?statement . } LIMIT 101 } OPTIONAL { ?statement ?qualifier ?value . ?qualifier wikibase:qualifier wdt:P941 . } } GROUP BY ?work ?statement", "paraphrases": ["List paintings, films, or other artworks that drew inspiration from music, along with any qualifiers like time or source attached to those inspirations.", "Show me works that were inspired by music and indicate if there are any qualifiers (e.g., date or reference) on those inspiration statements."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P941> <http://www.wikidata.org/entity/Q638> . ?var1 <http://www.wikidata.org/prop/P941> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_1660", "question": "Properties linking multiple items to The Simpsons", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q3601994 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["Which properties connect more than one resource to the TV show The Simpsons, and how many times are they used?", "Show me the properties that are used to link more than one thing to The Simpsons, sorted by usage count in descending order."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q3601994> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_1661", "question": "Films and their producers", "sparql": "SELECT ?film ?filmLabel ?producer ?producerLabel WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P162 ?producer . ?film rdfs:label ?filmLabel . ?producer rdfs:label ?producerLabel . FILTER(LANG(?filmLabel) = \"en\") . FILTER(LANG(?producerLabel) = \"en\") . }", "paraphrases": ["Who produced each film?", "List films along with the names of their producers in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P162> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE], en\". } } LIMIT 200 OFFSET 2200"}}
{"id": "test_1662", "question": "Films and their producers, with producer names in English, skipping the first 28,800 results.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?producer ?producerLabel WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P162 ?producer .\n  ?producer rdfs:label ?producerLabel .\n  FILTER(LANG(?producerLabel) = \"en\")\n}\nLIMIT 200\nOFFSET 28800", "paraphrases": ["Who are the producers of films, and what are their names, starting from the 28,801st film?", "List the films and the names of their producers, excluding the first 28,800 films, and show only English names."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P162> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE], en\". } } LIMIT 200 OFFSET 28800"}}
{"id": "test_1663", "question": "Travel books with narrative locations and coordinates, including publication year and online access URL.", "sparql": "PREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?bookLabel ?locationLabel ?lat ?long ?year ?url WHERE {\n  ?book wdt:P136 wd:Q1164267 ; wdt:P840 ?location ; wdt:P571 ?inception .\n  BIND( YEAR( ?inception ) AS ?year ) .\n  ?location p:P625 ?stmt .\n  ?stmt psv:P625 ?val .\n  ?val wikibase:geoLatitude ?lat ; wikibase:geoLongitude ?long .\n  OPTIONAL {\n    ?book wdt:P953 ?url\n  }\n  .\n  ?book rdfs:label ?bookLabel .\n  ?location rdfs:label ?locationLabel .\n  FILTER ( LANG( ?bookLabel ) = \"en\" && LANG( ?locationLabel ) = \"en\" )\n}\nORDER BY ?year", "paraphrases": ["What are travel books that are set in real-world locations with geographic coordinates, and what are their publication years and online availability?", "Show me travel books with their narrative locations, the latitude and longitude of those locations, the year they were published, and links to where they can be read online \u2014 all in English."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2Label ?var1 ?var3 ?var4 ( YEAR ( ?var5 ) AS ?var6 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P136> <http://www.wikidata.org/entity/Q1164267> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q571> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P50> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var5 . } ?var1 <http://www.wikidata.org/prop/direct/P840> ?var2 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P840> <http://www.wikidata.org/entity/Q933> . } ?var2 <http://www.wikidata.org/prop/P625> ?var8 . ?var8 <http://www.wikidata.org/prop/statement/value/P625> ?var9 . ?var9 <http://wikiba.se/ontology#geoLatitude> ?var3 . ?var9 <http://wikiba.se/ontology#geoLongitude> ?var4 . { ?var1 <http://www.wikidata.org/prop/direct/P953> ?var10 . ?var1 <http://www.wikidata.org/prop/direct/P407> <http://www.wikidata.org/entity/Q150> . } UNION { ?var11 <http://www.wikidata.org/prop/direct/P629> ?var1 . ?var11 <http://www.wikidata.org/prop/direct/P953> ?var10 . ?var11 <http://www.wikidata.org/prop/direct/P407> <http://www.wikidata.org/entity/Q150> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } } ORDER BY ASC( ?var5 )"}}
{"id": "test_1664", "question": "What is the most specific category that both the United Nations Security Council and the Cleveland Guardians belong to?", "sparql": "SELECT ?lca WHERE { BIND(wd:Q43229 AS ?lca) . wd:Q4358176 wdt:P279* ?lca . wd:Q13027888 wdt:P279* ?lca . }", "paraphrases": ["What do the United Nations Security Council and the Cleveland Guardians have in common in terms of their classification in Wikidata?", "What is the highest-level class that includes both a council like the UN Security Council and a sports team like the Cleveland Guardians?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q37470> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q642553> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1665", "question": "Rock bands with English names starting with \"The\"", "sparql": "SELECT ?band ?bandLabel WHERE { ?band wdt:P31 wd:Q5741069 . ?band rdfs:label ?bandLabel . FILTER (LANG(?bandLabel) = \"en\") FILTER (STRSTARTS(?bandLabel, \"The\")) } LIMIT 10", "paraphrases": ["What are some rock bands whose English name starts with \"The\"?", "List English names of rock bands that begin with \"The\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q215380> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5741069> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . FILTER ( ( STRSTARTS ( ?var1Label , \"string1\" ) ) ) . } LIMIT 1"}}
{"id": "test_1666", "question": "Wikidata properties related to creative works", "sparql": "SELECT DISTINCT ?property ?propertyLabel WHERE { ?property wdt:P31 wd:Q18618644 . ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = 'en') }", "paraphrases": ["What are the Wikidata properties used to describe creative works?", "List the English labels of all Wikidata properties that are categorized as related to creative works."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q18618644> . OPTIONAL { ?var1 <http://wikiba.se/ontology#directClaim> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_1667", "question": "What is the German title of the literary work \"Der Welt Lohn\"?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?label WHERE {\n  wd:Q1198014 rdfs:label ?label .\n  FILTER(LANG(?label) = \"de\")\n}", "paraphrases": ["What is the label of the work Q1198014 in German?", "Can you tell me the title of Der Welt Lohn in German?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q1198014> <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . } LIMIT 1"}}
{"id": "test_1668", "question": "Which Wikidata entities have Twitter handles \"Wittylama\", \"UNESCO_fr\", \"quaibranly\", or \"kallmane\", and how many Wikipedia articles are linked to each?", "sparql": "SELECT ?entity ?twitterHandle (COUNT(?site) AS ?sitelinkCount) WHERE { ?entity wdt:P2002 ?twitterHandle . ?site schema:about ?entity ; schema:isPartOf ?wiki . VALUES ?twitterHandle { \"Wittylama\" \"UNESCO_fr\" \"quaibranly\" \"kallmane\" } } GROUP BY ?entity ?twitterHandle ORDER BY ASC(?sitelinkCount)", "paraphrases": ["What are the Twitter usernames \"Wittylama\", \"UNESCO_fr\", \"quaibranly\", and \"kallmane\" associated with in Wikidata, and which one has the most Wikipedia language editions?", "List the entities linked to the Twitter handles Wittylama, UNESCO_fr, quaibranly, and kallmane, sorted by the number of Wikipedia articles about them, from least to most."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"Mac_Picsou\" ) ( \"K_rho\" ) ( \"string2\" ) ( \"cha_matou\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"Wikipedia\" ) ( \"string7\" ) ( \"quaibranly\" ) ( \"wikiwarsgg\" ) ( \"string8\" ) ( \"UNESCO_fr\" ) ( \"kallmane\" ) ( \"Wittylama\" ) ( \"Karent_Kat\" ) ( \"string9\" ) ( \"string10\" ) ( \"UNESCO\" ) ( \"string11\" ) ( \"string12\" ) ( \"string13\" ) ( \"string14\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_1669", "question": "Members of rock bands influenced by Elvis Presley and their band names.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?member ?memberLabel ?band ?bandLabel ?color WHERE {\n  ?band wdt:P31 wd:Q5741069 .\n  ?band wdt:P737 wd:Q303 .\n  ?member wdt:P463 ?band .\n  ?member rdfs:label ?memberLabel .\n  ?band rdfs:label ?bandLabel .\n  FILTER ( LANG( ?memberLabel ) = \"en\" ) .\n  FILTER ( LANG( ?bandLabel ) = \"en\" ) .\n  BIND( '7FFF00' AS ?color )\n}", "paraphrases": ["Which musicians are members of rock bands that were influenced by Elvis Presley, and what are the names of those bands?", "Show me the English names of people who played in rock bands inspired by Elvis Presley, along with the band names, and mark them with the color #7FFF00."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ( \"7FFF00\" AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5741069> . ?var2 <http://www.wikidata.org/prop/direct/P737> <http://www.wikidata.org/entity/Q303> . ?var1 <http://www.wikidata.org/prop/direct/P463> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } }"}}
{"id": "test_1670", "question": "James Bond films released before 2019, their lead actors, and box office earnings.", "sparql": "SELECT ?film ?filmLabel ?year ?actorLabel ?boxOffice WHERE { ?film (wdt:P31/wdt:P279*) wd:Q11424 . ?film wdt:P179 wd:Q2484680 . ?film wdt:P577 ?releaseDate . BIND(YEAR(?releaseDate) AS ?year) FILTER(?year <= 2018) ?film p:P161 ?castStatement . ?castStatement pq:P453 wd:Q2009573 . ?castStatement ps:P161 ?actor . ?film p:P2142 ?boxOfficeStatement . OPTIONAL { ?boxOfficeStatement ps:P2142 ?boxOffice . } ?film rdfs:label ?filmLabel . ?actor rdfs:label ?actorLabel . FILTER(LANG(?filmLabel) = \"en\") FILTER(LANG(?actorLabel) = \"en\") } GROUP BY ?film ?filmLabel ?year ?actorLabel ?boxOffice LIMIT 100", "paraphrases": ["Which James Bond movies were released by 2018, who played Bond in them, and how much did they earn at the box office?", "List all James Bond films from 1962 to 2018 with their lead actors and box office figures."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( MIN ( ?var2 ) AS ?var3 ) ?var4Label ?var5 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P179> <http://www.wikidata.org/entity/Q2484680> . ?var1 <http://www.wikidata.org/prop/P577> [ <http://www.wikidata.org/prop/statement/P577> ?var2 ] . FILTER ( ( ( YEAR ( ?var2 ) <= \"2018\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var1 <http://www.wikidata.org/prop/P161> ?var6 . ?var6 <http://www.wikidata.org/prop/qualifier/P453> <http://www.wikidata.org/entity/Q2009573> . ?var6 <http://www.wikidata.org/prop/statement/P161> ?var4 . ?var1 <http://www.wikidata.org/prop/P2142> ?var7 . OPTIONAL { ?var7 <http://www.wikidata.org/prop/statement/P2142> ?var5 . } } GROUP BY ?var1 ?var1Label ?var4Label ?var5 LIMIT 100"}}
{"id": "test_1671", "question": "What are the works written by Jules Verne?", "sparql": "SELECT DISTINCT ?work WHERE { ?work wdt:P50 wd:Q33977 }", "paraphrases": ["List all books and literary works authored by the French writer Jules Verne.", "Which literary creations are credited to Jules Verne as the author?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { BIND ( <http://www.wikidata.org/entity/Q33978> AS ?var1 ). } UNION { ?var1 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q33977> . } }"}}
{"id": "test_1672", "question": "Authors of books in the Bible and their other works", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?author ?authorLabel ?work WHERE {\n  {\n    wd:Q1845 wdt:P527 ?part .\n    ?part wdt:P50 ?author .\n  } UNION {\n    wd:Q1845 wdt:P527 ?part1 .\n    ?part1 wdt:P527 ?part2 .\n    ?part2 wdt:P50 ?author .\n  }\n  OPTIONAL {\n    ?author wdt:P50 ?work .\n    FILTER(?work != wd:Q1845)\n  }\n  OPTIONAL {\n    ?author rdfs:label ?authorLabel .\n    FILTER(LANG(?authorLabel) = \"en\")\n  }\n}", "paraphrases": ["Who are the authors of the books that make up the Bible, and what other works did they write?", "List the authors of the biblical books and any other works they are known for."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1845> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"1200\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P50> . } } UNION { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1845> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Reverse\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"1200\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P50> . } } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P50> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it\". } }"}}
{"id": "test_1673", "question": "What is the most general category that both the National Football League and Harvey Weinstein belong to, based on their class hierarchies?", "sparql": "SELECT ?commonClass (COUNT(?hStep) AS ?distWeinstein) (COUNT(?nStep) AS ?distNFL) ((COUNT(?hStep) + COUNT(?nStep)) AS ?totalDist) WHERE { wd:Q5 wdt:P279* ?commonClass . wd:Q43229 wdt:P279* ?commonClass . wd:Q5 wdt:P279+ ?hStep . ?hStep wdt:P279* ?commonClass . wd:Q43229 wdt:P279+ ?nStep . ?nStep wdt:P279* ?commonClass . } GROUP BY ?commonClass ORDER BY ASC(?totalDist) LIMIT 1", "paraphrases": ["Which entity in Wikidata's ontology is the closest common superclass of a human (like Harvey Weinstein) and an organization (like the NFL)?", "Find the entity with the shortest combined path length in the subclass hierarchy from both Harvey Weinstein and the National Football League."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1215884> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q531599> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1674", "question": "Gene variants with Ensembl IDs that predict positive response to treatments", "sparql": "SELECT ?treatment ?gene ?geneEnsembl ?variant WHERE { ?variant wdt:P3433 ?gene . ?gene wdt:P594 ?geneEnsembl . ?variant wdt:P3354 ?treatment . } LIMIT 10", "paraphrases": ["Which gene variants are associated with a positive therapeutic response to drugs, and what are their Ensembl gene IDs?", "Show me gene variants linked to treatments via positive therapeutic prediction, along with the genes' Ensembl identifiers."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P594> <http://www.openlinksw.com/schemas/virtrdf#DefaultServiceMap-O-cols> . ?var3 <http://www.wikidata.org/prop/direct/P3433> ?var4 ; <http://www.wikidata.org/prop/direct/P31> ?var2 ; <http://www.wikidata.org/prop/direct/P3354> ?var1 . ?var2 <http://www.wikidata.org/prop/direct/P2888> <http://purl.obolibrary.org/obo/SO_0001583> . FILTER ( ( !( isLITERAL ( <http://www.openlinksw.com/schemas/virtrdf#DefaultServiceMap-O-cols> ) ) ) ) . }"}}
{"id": "test_1675", "question": "Monarchs of Spain, their birth and death dates, and age at death", "sparql": "SELECT ?monarch ?monarchLabel ?birthDate ?deathDate ?ageAtDeath WHERE { ?monarch wdt:P39 wd:Q3847454 . ?monarch wdt:P569 ?birthDate . ?monarch wdt:P570 ?deathDate . ?monarch rdfs:label ?monarchLabel . FILTER(LANG(?monarchLabel) = \"en\") . BIND(YEAR(?deathDate) - YEAR(?birthDate) AS ?ageAtDeath) } ORDER BY ?birthDate", "paraphrases": ["Who were the monarchs of Spain, and how old were they when they died?", "Provide a list of all Spanish monarchs along with their dates of birth and death, and calculate their age at death."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( ( YEAR ( NOW ( ) ) - YEAR ( ?var2 ) ) AS ?var4 ). ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q3847454> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es\". } }"}}
{"id": "test_1676", "question": "What treatments are predicted to work positively for genetic variants of the EGFR gene (Ensembl ID: ENSG00000146648)?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?treatment ?variant ?gene WHERE {\n  ?gene wdt:P594 \"ENSG00000146648\" .\n  ?variant wdt:P3433 ?gene ; wdt:P3354 ?treatment .\n}", "paraphrases": ["Which drugs show a positive therapeutic response for variants of the EGFR gene with Ensembl ID ENSG00000146648?", "List the treatments and their associated genetic variants for the EGFR gene identified by Ensembl ID ENSG00000146648."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P594> <https://query.wikidata.org/bigdata/namespace/wdq/sparql#has_ambiguous_atom_chem_shift> . ?var3 <http://www.wikidata.org/prop/direct/P3433> ?var4 ; <http://www.wikidata.org/prop/direct/P31> ?var2 ; <http://www.wikidata.org/prop/direct/P3354> ?var1 . ?var2 <http://www.wikidata.org/prop/direct/P2888> <http://purl.obolibrary.org/obo/SO_0001583> . FILTER ( ( !( isLITERAL ( <https://query.wikidata.org/bigdata/namespace/wdq/sparql#has_ambiguous_atom_chem_shift> ) ) ) ) . }"}}
{"id": "test_1677", "question": "Swedish-labeled groups of settlements in Sweden and their parts.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?settlement ?settlementLabel ?partLabel WHERE {\n  ?settlement wdt:P31 wd:Q25964111 ; wdt:P17 wd:Q34 .\n  OPTIONAL {\n    ?settlement wdt:P527 ?part .\n    ?part rdfs:label ?partLabel .\n    FILTER ( LANG( ?partLabel ) = \"sv\" )\n  }\n  ?settlement rdfs:label ?settlementLabel .\n  FILTER ( LANG( ?settlementLabel ) = \"sv\" )\n}\nORDER BY ASC ( ?settlementLabel )", "paraphrases": ["What are the Swedish names of groups of settlements in Sweden and the names of their constituent parts?", "Show me all Swedish-named settlement groups in Sweden along with the Swedish names of their parts."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q25964111> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P527> ?var2 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"sv\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P527> ?var2 . ?var2 <http://www.w3.org/2000/01/rdf-schema#description> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"sv\" ) ) ) . } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q34> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv,en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_1678", "question": "What is the most specific concept that both the Houston Astros and Ban Ki-moon belong to in the Wikidata subclass hierarchy?", "sparql": "SELECT ?ancestor WHERE { wd:Q848117 wdt:P31 ?class1 . wd:Q1253 wdt:P31 ?class2 . ?class1 wdt:P279* ?ancestor . ?class2 wdt:P279* ?ancestor . }", "paraphrases": ["Which entity is the closest common ancestor in the 'subclass of' hierarchy between the baseball team Houston Astros and the human Ban Ki-moon?", "Find the highest-level shared category in Wikidata that includes both the Houston Astros and Ban Ki-moon as instances."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q848117> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1253> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1679", "question": "Does Smash Lab have a list of episodes on Wikipedia?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?series wdt:P1811 wd:Q6597298 .\n}", "paraphrases": ["Is there a Wikipedia article that lists all episodes of the TV series Smash Lab?", "Confirm whether the TV show Smash Lab is linked to an episode list article on Wikipedia."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q6597298> . }"}}
{"id": "test_1680", "question": "What metadata is associated with the statement that the enzyme \"Quinate/shikimate 5-dehydrogenase/glutamyl-tRNA reductase\" is part of \"Shikimate dehydrogenase\"?", "sparql": "SELECT ?predicate ?object WHERE { s:Q24720076-1E1535D0-F6E7-4D7F-AB69-C23689910CED ?predicate ?object . }", "paraphrases": ["List all properties and values of the Wikidata statement asserting that Q24720076 is part of Q24775231.", "Can you show me the rank, type, and source reference of the statement linking Quinate/shikimate 5-dehydrogenase to Shikimate dehydrogenase?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q24720076-1E1535D0-F6E7-4D7F-AB69-C23689910CED> ?var1 ?var2 . }"}}
{"id": "test_1681", "question": "What are the direct properties and values associated with the genetic variant CDKN2A p16 Expression?", "sparql": "SELECT ?property ?propertyLabel ?value ?valueLabel WHERE { wd:Q27908369 ?property ?value . FILTER (STRSTARTS(STR(?property), \"http://www.wikidata.org/prop/direct/\")) FILTER (?property != wdt:P31) OPTIONAL { ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") } OPTIONAL { ?value rdfs:label ?valueLabel . FILTER(LANG(?valueLabel) = \"en\") } } ORDER BY ?property", "paraphrases": ["Show me all known associations of the CDKN2A p16 Expression genetic variant, such as linked drugs, cancers, and genomic coordinates.", "Which therapeutic predictors, prognostic indicators, and genomic features are linked to the CDKN2A p16 Expression variant in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q27908369> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_1682", "question": "What entity and property does the statement with ID Q21851559-344a1c29-40cb-253b-1017-551ebea1e229 describe?", "sparql": "PREFIX s: <http://www.wikidata.org/entity/statement/>\nSELECT ?item ?property WHERE {\n  ?item ?property s:Q21851559-344a1c29-40cb-253b-1017-551ebea1e229 .\n}", "paraphrases": ["Which mutation is linked to the genomic end position via the statement s:Q21851559-344a1c29-40cb-253b-1017-551ebea1e229?", "Find the subject and property of the Wikidata statement about BRAF V600E\u2019s genomic end."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q21851559-344a1c29-40cb-253b-1017-551ebea1e229> . }"}}
{"id": "test_1683", "question": "Properties used more than once to link participants to the Cannes Film Festival.", "sparql": "SELECT ?property ?propertyLabel ?count WHERE { { SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?p wd:Q11782593 . ?property wikibase:directClaim ?p . } GROUP BY ?property HAVING (?count > 1) } ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") } ORDER BY DESC(?count)", "paraphrases": ["Which property is used to associate more than one person with the Cannes Film Festival, and how many times?", "Show me the property that connects multiple individuals to the Cannes Film Festival, along with its label and usage count."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var4 ) AS ?var3 ) WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q11782593> . ?var1 <http://wikiba.se/ontology#directClaim> ?var5 . } GROUP BY ?var1 ?var1Label HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } } ORDER BY DESC( ?var3 )"}}
{"id": "test_1684", "question": "Genes with Ensembl IDs and their associated therapeutic variants", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?therapy ?gene ?variant ?ensembl WHERE {\n  ?gene wdt:P594 ?ensembl ; wdt:P31 wd:Q7187 .\n  ?variant wdt:P3433 ?gene ; wdt:P3354 ?therapy .\n}", "paraphrases": ["Which genetic variants are linked to approved cancer therapies, and what are their corresponding genes and Ensembl IDs?", "List the cancer therapies, gene variants, genes, and Ensembl IDs for genes known to have variants that predict positive response to treatment."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P594> <https://query.wikidata.org/bigdata/namespace/wdq/sparql#has_angular_order_param> . ?var3 <http://www.wikidata.org/prop/direct/P3433> ?var4 ; <http://www.wikidata.org/prop/direct/P31> ?var2 ; <http://www.wikidata.org/prop/direct/P3354> ?var1 . ?var2 <http://www.wikidata.org/prop/direct/P2888> <http://purl.obolibrary.org/obo/SO_0001583> . FILTER ( ( !( isLITERAL ( <https://query.wikidata.org/bigdata/namespace/wdq/sparql#has_angular_order_param> ) ) ) ) . }"}}
{"id": "test_1685", "question": "List diseases with their English names, Q-IDs, ICD-10 codes, and UMLS CUIs.", "sparql": "SELECT ?preferredLabel (SUBSTR(STR(?disease), 32) AS ?qId) (GROUP_CONCAT(DISTINCT ?icd10; SEPARATOR=\" - \") AS ?icd10Codes) (GROUP_CONCAT(DISTINCT ?umls; SEPARATOR=\" - \") AS ?umlsCuis) WHERE { ?disease wdt:P31 wd:Q12136 . OPTIONAL { ?disease rdfs:label ?label1 . FILTER(LANG(?label1) = \"en\") } OPTIONAL { ?disease skos:altLabel ?label2 . FILTER(LANG(?label2) = \"en\") } BIND(COALESCE(?label2, ?label1) AS ?preferredLabel) OPTIONAL { ?disease wdt:P494 ?icd10 } OPTIONAL { ?disease wdt:P2892 ?umls } } GROUP BY ?disease ?preferredLabel ORDER BY ASC(?preferredLabel) LIMIT 50000", "paraphrases": ["What are the English names, Wikidata IDs, ICD-10 codes, and UMLS CUIs for all diseases in Wikidata?", "Provide a list of diseases, including their preferred English labels, Q-IDs, and associated ICD-10 and UMLS identifiers, sorted alphabetically by label."], "info": {"raw_sparql": "SELECT ?var1Label ( IF ( BOUND ( ?var2 ) , ?var2 , ?var1Label ) AS ?var3 )( SUBSTR ( STR ( ?var1 ) ,\"32\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var4 )( GROUP_CONCAT ( DISTINCT ?var5 ; SEPARATOR = \" - \" ) AS ?var6 )( GROUP_CONCAT ( DISTINCT ?var7 ; SEPARATOR = \" - \" ) AS ?var8 ) WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q12136> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P494> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2892> ?var7 . } } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q12136> . ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P494> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2892> ?var7 . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1Label ?var2 ?var1 ORDER BY ASC( ?var3 ) LIMIT 50000"}}
{"id": "test_1686", "question": "Chemical compounds found in plants and their uses.", "sparql": "SELECT ?item ?itemLabel ?taxonLabel ?useLabel WHERE { ?item wdt:P703 ?taxon . ?item wdt:P366 ?use . ?item rdfs:label ?itemLabel . ?taxon rdfs:label ?taxonLabel . ?use rdfs:label ?useLabel . FILTER(LANG(?itemLabel) = \"en\") FILTER(LANG(?taxonLabel) = \"en\") FILTER(LANG(?useLabel) = \"en\") }", "paraphrases": ["Which chemical compounds occur in specific biological taxa, and what are their main uses?", "Show me natural compounds, the organisms they are found in, and how they are used, all in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P703> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P366> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_1687", "question": "What is the most specific category that both Facebook and the Arizona Cardinals belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonClass ?label WHERE {\n  {\n    wd:Q355 wdt:P31 ?cls1 .\n    ?cls1 wdt:P279 * ?commonClass .\n  }\n  {\n    wd:Q224164 wdt:P31 ?cls2 .\n    ?cls2 wdt:P279 * ?commonClass .\n  }\n  OPTIONAL {\n    ?commonClass rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n}\nORDER BY ?label\nLIMIT 1", "paraphrases": ["Find the highest-level common class in Wikidata that includes both Facebook and the Arizona Cardinals through their type hierarchies.", "Which abstract entity class is shared by Facebook and the Arizona Cardinals via their instance-of and subclass-of relationships?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q355> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q224164> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1688", "question": "What are all the superclass categories of the protein 2-oxo-hepta-3-ene-1,7-dioic acid hydratase BN112_2696?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?ancestor WHERE {\n  wd:Q24116368 wdt:P279 * ?ancestor .\n}\nLIMIT 100", "paraphrases": ["What classes does the microbial protein BN112_2696 belong to, including its indirect parent classes?", "List all the hierarchical parent classes of the protein encoded by BN112_2696 in Bordetella bronchiseptica, from direct to most general."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q24116368> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_1689", "question": "What medical specialties is oncohematology a subclass of?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?ancestor WHERE {\n  wd:Q30097393 wdt:P279 * ?ancestor .\n  ?ancestor wdt:P31 wd:Q930752 .\n  FILTER ( ?ancestor != wd:Q30097393 )\n}", "paraphrases": ["Which medical specialties are higher-level categories that include oncohematology through subclass relationships?", "List all medical specialties that are ancestors of oncohematology in the taxonomy hierarchy."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q30097393> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_1690", "question": "Who were the kings of the Sasanian Empire, and what are their birth and death dates?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  ?person wdt:P39 wd:Q28108903 .\n  ?person wdt:P31 wd:Q5 .\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["Birth and death dates of Sasanian Empire kings", "List the Sasanian rulers along with their dates of birth and death."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q83891> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1691", "question": "Superclasses of Rod shape-determining protein BDGL_002236", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?ancestor WHERE {\n  wd:Q23591605 wdt:P279 * ?ancestor .\n}", "paraphrases": ["What are all the higher-level biological categories that the protein BDGL_002236 belongs to, through its subclass hierarchy?", "List all the classes that the protein BDGL_002236 is a subclass of, directly or indirectly."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q23591605> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_1692", "question": "Drugs approved for asthma, COPD, or other diseases after 2016 and their start dates", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT DISTINCT ?drugLabel ?startDate ?therapeuticAreaLabel WHERE {\n  ?drug p:P4044 ?statement .\n  ?statement ps:P4044 ?therapeuticArea .\n  ?statement pq:P580 ?startDate .\n  ?drug rdfs:label ?drugLabel .\n  ?therapeuticArea rdfs:label ?therapeuticAreaLabel .\n  FILTER ( LANG( ?drugLabel ) = \"en\" ) FILTER ( LANG( ?therapeuticAreaLabel ) = \"en\" ) FILTER ( xsd:date ( ?startDate ) > \"2016-01-01\" ^^ xsd:date )\n}", "paraphrases": ["Which drugs were approved for which therapeutic areas after January 1, 2016, and when did those approvals begin?", "List the English names of drugs, the diseases they treat, and the dates they were first approved for those treatments, for approvals starting after 2016."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var4 <http://www.wikidata.org/prop/P4044> ?var5 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . ?var5 <http://www.wikidata.org/prop/qualifier/P580> ?var2 . ?var4 ( <http://www.wikidata.org/prop/direct/P4044> / <http://www.w3.org/2000/01/rdf-schema#label> ) ?var3 . FILTER ( ( ( LANG ( ?var1 ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . FILTER ( ( ( <http://www.w3.org/2001/XMLSchema#date> ( ?var2 ) > \"2016-01-01\"^^<http://www.w3.org/2001/XMLSchema#date> ) ) ) . }"}}
{"id": "test_1693", "question": "What are the Ensembl gene IDs and treatments associated with sequence variants that predict positive therapeutic response?", "sparql": "SELECT ?treatment ?variant ?geneEnsembl WHERE { ?variant wdt:P31 wd:Q15304597 . ?variant wdt:P3433 ?gene . ?gene wdt:P594 ?geneEnsembl . ?variant wdt:P3354 ?treatment . }", "paraphrases": ["Which genetic variants (sequence variants) are linked to specific treatments via positive therapeutic prediction, and what are their corresponding Ensembl gene IDs?", "List the treatments predicted to be positively affected by sequence variants, along with the Ensembl IDs of the genes those variants are derived from."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P594> <http://purl.jp/bio/12/glyco/glycan#has_uniprot_accession> . ?var3 <http://www.wikidata.org/prop/direct/P3433> ?var4 ; <http://www.wikidata.org/prop/direct/P31> ?var2 ; <http://www.wikidata.org/prop/direct/P3354> ?var1 . ?var2 <http://www.wikidata.org/prop/direct/P2888> <http://purl.obolibrary.org/obo/SO_0001583> . FILTER ( ( !( isLITERAL ( <http://purl.jp/bio/12/glyco/glycan#has_uniprot_accession> ) ) ) ) . }"}}
{"id": "test_1694", "question": "What is the most specific common category that includes both Goldman Sachs and the South Korean Ministry of National Defense?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonSuperclass WHERE {\n  wd:Q193326 wdt:P31 ?type1 .\n  wd:Q488542 wdt:P31 ?type2 .\n  ?type1 wdt:P279 * ?commonSuperclass .\n  ?type2 wdt:P279 * ?commonSuperclass .\n  FILTER ( ?type1 != ?type2 )\n}\nORDER BY ?commonSuperclass", "paraphrases": ["What shared superclass do the types of Goldman Sachs and the Ministry of National Defense of South Korea have in Wikidata?", "Which category is the highest-level common classification for both Goldman Sachs and South Korea's defense ministry?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q193326> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q488542> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1695", "question": "Television series with episode lists that don\u2019t specify the series they belong to.", "sparql": "SELECT ?series ?episodeList ?listItem WHERE { ?series wdt:P31 wd:Q5398426 ; wdt:P1811 ?episodeList . ?episodeList wdt:P31 wd:Q13406463 . ?episodeList p:P360 ?listItem . ?listItem ps:P360 wd:Q1983062 . FILTER NOT EXISTS { ?listItem pq:P179 ?series . } } LIMIT 5000", "paraphrases": ["Which TV series have episode lists that link to episodes but don\u2019t use the \u201cpart of the series\u201d qualifier to indicate which series they are from?", "Show me TV series whose episode lists are connected via \u201clist of episodes\u201d but lack an explicit \u201cpart of the series\u201d statement on the list item."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5398426> ; <http://www.wikidata.org/prop/direct/P1811> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13406463> . ?var2 <http://www.wikidata.org/prop/P360> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P360> <http://www.wikidata.org/entity/Q1983062> . FILTER ( ( NOT EXISTS { ?var3 <http://www.wikidata.org/prop/qualifier/P179> ?var1 . } ) ) . } LIMIT 5000"}}
{"id": "test_1696", "question": "What are the 200 films starting from the 43,201st entry in Wikidata, and what are their titles?", "sparql": "SELECT ?film ?filmLabel WHERE { ?film wdt:P31 wd:Q11424 . ?film rdfs:label ?filmLabel . } ORDER BY ASC(?film) LIMIT 200 OFFSET 43200", "paraphrases": ["List 200 films in Wikidata, ordered by their IDs, starting from the 43,201st, along with their names in any language.", "Can you show me 200 films from Wikidata, skipping the first 43,200, and include their titles?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } } ORDER BY ASC( ?var1 ) LIMIT 200 OFFSET 43200"}}
{"id": "test_1697", "question": "Which novels have authors whose names are in French but do not have a French-language description?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?work(GROUP_CONCAT(DISTINCT ?authorLabel ; SEPARATOR = \", \") AS ?authors) WHERE {\n  ?work wdt:P50 ?author .\n  ?work wdt:P136 wd:Q8261 .\n  ?work wdt:P31 wd:Q7725634 .\n  ?author rdfs:label ?authorLabel .\n  FILTER(LANG(?authorLabel) = \"fr\")\n  .\n  OPTIONAL {\n    ?work schema:description ?description .\n    FILTER(LANG(?description) = \"fr\")\n  }\n  FILTER(! BOUND(?description))\n}\nGROUP BY ?work", "paraphrases": ["List novels that are literary works, belong to the novel genre, are written by authors with French names, and lack a French description.", "Novels in French with authors named in French but no French description"], "info": {"raw_sparql": "SELECT ?var1 ( GROUP_CONCAT ( DISTINCT ?var2 ; SEPARATOR = \", \" ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P50> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P136> <http://www.wikidata.org/entity/Q8261> . ?var1 <http://www.wikidata.org/prop/direct/P31> * <http://www.wikidata.org/entity/Q7725634> . { ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var2 ) = \"fr\" ) ) ) . } OPTIONAL { ?var1 <http://schema.org/description> ?var6 . FILTER ( ( ( LANG ( ?var6 ) = \"fr\" ) ) ) . } FILTER ( ( !( BOUND ( ?var6 ) ) ) ) . } GROUP BY ?var1"}}
{"id": "test_1698", "question": "What metadata is associated with the statement that claims \"Pyridoxal-phosphate dependent enzyme\" is part of \"Ectoine utilization protein EutB\"?", "sparql": "SELECT ?predicate ?object WHERE { s:Q24723379-C0AD2511-DD44-488C-AA6C-7420F22A1FBF ?predicate ?object . }", "paraphrases": ["Show all properties and values of the statement with identifier s:Q24723379-C0AD2511-DD44-488C-AA6C-7420F22A1FBF.", "What is the source and rank of the claim that links Pyridoxal-phosphate dependent enzyme to Ectoine utilization protein EutB?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q24723379-C0AD2511-DD44-488C-AA6C-7420F22A1FBF> ?var1 ?var2 . }"}}
{"id": "test_1699", "question": "What are the ICD-10 codes for medical conditions, and what are their names in different languages?", "sparql": "SELECT DISTINCT ?condition ?icd10Code ?label WHERE { ?condition rdfs:label ?label . ?condition wdt:P494 ?icd10Code .}", "paraphrases": ["Can you list all medical conditions in Wikidata along with their ICD-10 identifiers and their labels in various languages?", "Show me the mapping between ICD-10 codes and the names of diseases in multiple languages."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3Label WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var1 <http://www.wikidata.org/prop/direct/P494> ?var2 . }"}}
{"id": "test_1700", "question": "What human proteins interact with the Chlamydia trachomatis protein A0A0H3MBY0, and what experimental method and PubMed article support these interactions?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pr: <http://www.wikidata.org/prop/reference/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX prov: <http://www.w3.org/ns/prov#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?protein ?proteinLabel ?interactionPartner ?interactionPartnerLabel ?taxon ?taxonLabel ?gene ?geneLabel ?pubmedArticle ?pubmedArticleLabel ?pubmedId(GROUP_CONCAT(DISTINCT ?method ; SEPARATOR = \", \") AS ?methods)(GROUP_CONCAT(DISTINCT ?methodLabel ; SEPARATOR = \", \") AS ?methodLabels) WHERE {\n  ?protein wdt:P352 \"A0A0H3MBY0\" ; wdt:P703 ?taxon ; wdt:P702 ?gene .\n  ?protein p:P129 ?statement .\n  ?statement ps:P129 ?interactionPartner ; prov:wasDerivedFrom / pr:P248 ?pubmedArticle ; pq:P459 ?method .\n  ?pubmedArticle wdt:P698 ?pubmedId .\n  ?method rdfs:label ?methodLabel .\n  FILTER(LANG(?methodLabel) = \"en\")\n  ?protein rdfs:label ?proteinLabel .\n  FILTER(LANG(?proteinLabel) = \"en\")\n  ?interactionPartner rdfs:label ?interactionPartnerLabel .\n  FILTER(LANG(?interactionPartnerLabel) = \"en\")\n  ?taxon rdfs:label ?taxonLabel .\n  FILTER(LANG(?taxonLabel) = \"en\")\n  ?gene rdfs:label ?geneLabel .\n  FILTER(LANG(?geneLabel) = \"en\")\n  ?pubmedArticle rdfs:label ?pubmedArticleLabel .\n  FILTER(LANG(?pubmedArticleLabel) = \"en\")\n}\nGROUP BY ?protein ?proteinLabel ?interactionPartner ?interactionPartnerLabel ?taxon ?taxonLabel ?gene ?geneLabel ?pubmedArticle ?pubmedArticleLabel ?pubmedId", "paraphrases": ["For the UniProt protein A0A0H3MBY0 from Chlamydia trachomatis, which human proteins does it physically interact with, and what is the evidence (method and publication) for each interaction?", "List all human proteins that interact with the Chlamydia protein A0A0H3MBY0, along with the PubMed ID and determination method (e.g., immunoprecipitation) used to detect each interaction."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4Label ?var3Label ?var5 ?var5Label ?var6 ( GROUP_CONCAT ( DISTINCT ?var7 ; SEPARATOR = \", \" ) AS ?var8 )( GROUP_CONCAT ( DISTINCT ?var9Label ; SEPARATOR = \", \" ) AS ?var8Label ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P352> \"A0A0H3MBY0\"; <http://www.wikidata.org/prop/direct/P129> ?var3 ; <http://www.wikidata.org/prop/P129> ?var10 . ?var10 ( <http://www.w3.org/ns/prov#wasDerivedFrom> / <http://www.wikidata.org/prop/reference/P248> ) ?var5 ; <http://www.wikidata.org/prop/qualifier/P459> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var9Label . ?var5 <http://www.wikidata.org/prop/direct/P698> ?var6 . ?var3 <http://www.wikidata.org/prop/direct/P703> ?var1 ; <http://www.wikidata.org/prop/direct/P702> ?var4 . FILTER ( ( ( LANG ( ?var9Label ) = \"en\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var2 ?var4Label ?var2Label ?var5 ?var5Label ?var6 ?var3 ?var3Label ?var1 ?var1Label"}}
{"id": "test_1701", "question": "What is the InChIKey and English name of adenosine triphosphate?", "sparql": "SELECT ?compound ?inchiKey ?compoundLabel WHERE { VALUES ?compound { wd:Q80863 } OPTIONAL { ?compound wdt:P235 ?inchiKey . } OPTIONAL { ?compound rdfs:label ?compoundLabel . FILTER (LANG(?compoundLabel) = \"en\") } }", "paraphrases": ["Can you provide the English label and chemical identifier (InChIKey) for ATP?", "Show me the English name and InChIKey for the molecule adenosine triphosphate."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q80863> ) } ?var1 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/statement/P31> ) <http://www.wikidata.org/entity/Q11173> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P235> ?var2 . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } }"}}
{"id": "test_1702", "question": "Sitcoms with English titles and their images", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?sitcom ?title ?image WHERE {\n  ?sitcom wdt:P31 wd:Q170238 .\n  OPTIONAL {\n    ?sitcom wdt:P1476 ?title .\n  }\n  OPTIONAL {\n    ?sitcom wdt:P18 ?image .\n  }\n  FILTER(LANG(?title) = \"en\")\n}\nLIMIT 100", "paraphrases": ["What are the English-titled sitcoms on Wikidata, and do they have images?", "List all sitcoms that have English titles, and show their images if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q170238> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_1703", "question": "What Wikipedia pages are about the concept of monarch?", "sparql": "SELECT ?item ?property WHERE { ?item ?property wd:Q116 . } LIMIT 100", "paraphrases": ["Which words in different languages are used to mean \"monarch\", and where are they linked in Wikidata?", "What entities and properties relate to the Wikidata item for monarch (Q116)?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q116> . } LIMIT 100"}}
{"id": "test_1704", "question": "Belgian twin cities and their international partners with host countries", "sparql": "SELECT ?var1Label ?var2Label ?var3Label WHERE { ?var2 wdt:P190 ?var1 . ?var2 wdt:P17 ?var3 . ?var1 wdt:P17 wd:Q31 . ?var1 rdfs:label ?var1Label . ?var2 rdfs:label ?var2Label . ?var3 rdfs:label ?var3Label . FILTER(LANG(?var1Label) = \"en\") FILTER(LANG(?var2Label) = \"en\") FILTER(LANG(?var3Label) = \"en\") } ORDER BY ASC(?var1Label)", "paraphrases": ["Which cities in Belgium have twin cities abroad, and in which countries are those twin cities located?", "List all pairs of twin cities where one is in Belgium, showing the Belgian city, the foreign twin city, and the foreign country, sorted alphabetically by the Belgian city."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3Label ?var4 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P190> ?var1 . ?var2 <http://www.wikidata.org/prop/direct/P17> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q31> . ?var3Label <http://www.wikidata.org/entity/Q5107> ?var4 . { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl\". } } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_1705", "question": "Authors of the academic article \"Learning to Generate Reviews and Discovering Sentiment\"", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?author WHERE {\n  wd:Q29180889 wdt:P50 ?author .\n}", "paraphrases": ["Who are the authors of the paper \"Learning to Generate Reviews and Discovering Sentiment\"?", "List the names of the people who authored the scholarly article titled \"Learning to Generate Reviews and Discovering Sentiment\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/prop/direct/P50> ) } <http://www.wikidata.org/entity/Q29180889> ?var3 ?var2 . }"}}
{"id": "test_1706", "question": "Genes found in humans with no English Wikipedia page but with non-English Wikipedia pages, ranked by number of non-English pages.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?gene ?geneLabel(COUNT(DISTINCT ?page) AS ?nonEnglishPageCount) WHERE {\n  ?page schema:about ?gene .\n  ?gene wdt:P31 wd:Q7187 ; wdt:P703 wd:Q15978631 .\n  FILTER NOT EXISTS {\n    ?enPage schema:about ?gene ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n  OPTIONAL {\n    ?gene rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n  OPTIONAL {\n    ?gene wdt:P1813 ?symbol\n  }\n  BIND(COALESCE(?label , ?symbol , \"Unknown\") AS ?geneLabel)\n}\nGROUP BY ?gene ?geneLabel\nORDER BY DESC(?nonEnglishPageCount)\nLIMIT 100", "paraphrases": ["Which human genes have Wikipedia pages in languages other than English but lack an English Wikipedia page, and how many non-English pages do they have?", "List the top human genes that are not covered by an English Wikipedia page but have multiple non-English Wikipedia pages, along with the count of those pages."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7187> . ?var1 <http://www.wikidata.org/prop/direct/P703> <http://www.wikidata.org/entity/Q15978631> . ?var2 <http://schema.org/about> ?var1 . FILTER ( ( NOT EXISTS { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/inLanguage> \"en\". ?var4 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var3 )"}}
{"id": "test_1707", "question": "Twin towns between Austria and Slovakia with their geographic coordinates.", "sparql": "SELECT ?austrian_town ?austrian_townLabel ?slovak_town ?slovak_townLabel ?austrian_coords ?slovak_coords WHERE { ?austrian_town wdt:P190 ?slovak_town . ?austrian_town wdt:P17 wd:Q40 . ?slovak_town wdt:P17 wd:Q214 . ?austrian_town wdt:P625 ?austrian_coords . ?slovak_town wdt:P625 ?slovak_coords . ?austrian_town rdfs:label ?austrian_townLabel . ?slovak_town rdfs:label ?slovak_townLabel . FILTER(LANG(?austrian_townLabel) = \"en\") FILTER(LANG(?slovak_townLabel) = \"en\") } ORDER BY ?austrian_townLabel", "paraphrases": ["Which cities in Austria are twinned with cities in Slovakia, and what are their coordinates?", "Show me all sister city pairs between Austria and Slovakia, including the location coordinates of each city."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P190> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q40> . ?var2 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q214> . ?var2 <http://www.wikidata.org/prop/direct/P625> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1708", "question": "Cities twinned with Zagreb, which is a twin city of Vienna.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?city ?intermediary WHERE {\n  ?city wdt:P190 ?intermediary .\n  ?intermediary wdt:P190 wd:Q1741 .\n}\nLIMIT 10", "paraphrases": ["Which cities are twin cities of Zagreb, given that Zagreb is a twin city of Vienna?", "Show me all cities that share a twin-city relationship with Vienna through another city, specifically Zagreb."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q1741> ) } ?var1 <http://www.wikidata.org/prop/direct/P190> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P190> ?var2 . } LIMIT 10"}}
{"id": "test_1709", "question": "How many gene products are encoded by the FERMT2 gene?", "sparql": "SELECT (COUNT(?geneProduct) AS ?count) WHERE { ?geneProduct wdt:P702 wd:Q18035998 .}", "paraphrases": ["How many proteins does the FERMT2 gene encode?", "What is the count of protein products encoded by the human gene FERMT2?"], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P702> <http://www.wikidata.org/entity/Q18035998> . }"}}
{"id": "test_1710", "question": "What entities are associated with lymphocytes in Wikidata, and what qualifiers are attached to those associations?", "sparql": "SELECT ?entity ?statement ?property (SAMPLE(?qualifierProperty) AS ?sampledQualifier)\nWHERE {\n  ?statement ?statementProperty wd:Q715347 .\n  ?entity ?claimProperty ?statement .\n  ?property wikibase:statementProperty ?statementProperty .\n  ?property wikibase:claim ?claimProperty .\n  FILTER (?property != wd:P31)\n  \n  OPTIONAL {\n    ?statement ?qualifierProperty ?qualifierValue .\n    ?qualifier wikibase:qualifier ?qualifierProperty .\n  }\n}\nGROUP BY ?entity ?statement ?property", "paraphrases": ["Which scientific publications or biological entities are linked to lymphocytes, and what additional information (qualifiers) is provided with those links?", "List entities connected to lymphocytes through properties other than \"instance of\", along with one example qualifier used on each connection."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q715347> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_1711", "question": "What are the names of pop bands in Wikidata?", "sparql": "SELECT ?popBand ?label WHERE { ?popBand wdt:P31 wd:Q2491498 . ?popBand rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["Can you list all pop music groups with their English labels?", "Show me the English names of all musical groups that perform pop music."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2491498> . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl\". } }"}}
{"id": "test_1712", "question": "Subcategories of work in Wikidata", "sparql": "SELECT DISTINCT ?facet ?label WHERE { ?facet wdt:P1269 wd:Q386724 . ?facet rdfs:label ?label . FILTER(LANG(?label) = \"en\") } ORDER BY ?label LIMIT 10", "paraphrases": ["What are some specific types or aspects of creative works?", "List the known subcategories of \"work\" as defined in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1269> <http://www.wikidata.org/entity/Q386724> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 10"}}
{"id": "test_1713", "question": "What is the most specific superclass of Mossack Fonseca?", "sparql": "SELECT DISTINCT ?superclassLabel WHERE { wd:Q9035311 wdt:P31 ?class . ?class wdt:P279 ?superclass . ?superclass rdfs:label ?superclassLabel . FILTER(LANG(?superclassLabel) = \"en\") } ORDER BY ?superclassLabel LIMIT 1", "paraphrases": ["What class is the immediate parent of the category that Mossack Fonseca belongs to?", "Show me the closest superclass in the taxonomy for Mossack Fonseca."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q9035311> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1714", "question": "What are the titles of songs and music singles released after 2016, and what genres are they classified under?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT REDUCED ?var1Label ?var2Label WHERE {\n  ?var1 wdt:P31 ?var3 .\n  FILTER ( ?var3 IN ( wd:Q134556 , wd:Q7366 ) ) .\n  ?var1 wdt:P577 ?var4 .\n  FILTER ( ?var4 > \"2016-01-01T00:00:00Z\" ^^ xsd:dateTime ) .\n  ?var1 wdt:P136 ?var2 .\n  ?var1 rdfs:label ?var1Label .\n  ?var2 rdfs:label ?var2Label .\n  FILTER ( LANG( ?var1Label ) = \"en\" ) .\n  FILTER ( LANG( ?var2Label ) = \"en\" ) .\n}", "paraphrases": ["Show me the English labels of music singles and songs published after January 1, 2016, along with their genres.", "Which songs and singles from 2016 onwards have genres listed in English?"], "info": {"raw_sparql": "SELECT REDUCED ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 . FILTER ( ( ?var3 IN ( <http://www.wikidata.org/entity/Q134556> , <http://www.wikidata.org/entity/Q7366> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var4 . FILTER ( ( ( ?var4 > \"2016-01-01T00:00:00+00:00\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P136> ?var2 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> [] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,es,zh,fr,tl,vi,ko,de,ar,ru,it,pt,hi,pl,ja,ur,fa,gu,el,bn,pa,te,hy,he\". } }"}}
{"id": "test_1715", "question": "Music singles with \"perfect\" in the title and their performers.", "sparql": "SELECT DISTINCT ?single ?singleLabel ?performer ?performerLabel WHERE { ?single wdt:P31 wd:Q134556 . ?single rdfs:label ?singleLabel . FILTER (CONTAINS(LCASE(?singleLabel), \"perfect\")) . OPTIONAL { ?single wdt:P175 ?performer . ?performer rdfs:label ?performerLabel . } } LIMIT 100", "paraphrases": ["Which music singles have \"perfect\" in their name, and who performed them?", "List all music singles containing the word \"perfect\" in their title along with the names of the artists who performed them."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q134556> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( CONTAINS ( LCASE ( ?var1Label ) , \"perfect\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P175> ?var2 . } } LIMIT 100"}}
{"id": "test_1716", "question": "Who are the female monarchs of the United Kingdom, and what are their images?", "sparql": "SELECT ?monarch ?label ?image WHERE { ?monarch wdt:P39 wd:Q9134365 . ?monarch wdt:P21 wd:Q6581072 . ?monarch wdt:P18 ?image . ?monarch rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["Female UK monarchs with images.", "Show me the names and photos of all female monarchs of the United Kingdom."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q9134365> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1717", "question": "What are all the subclasses and superclasses of work, and what are their direct parent classes?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?parent WHERE {\n  {\n    wd:Q42213 wdt:P279 * ?item .\n  } UNION {\n    ?item wdt:P279 * wd:Q42213 .\n  }\n  OPTIONAL {\n    ?item wdt:P279 ?parent .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["Which concepts are directly related to the concept of work through subclass relationships, and what are their immediate parent categories?", "Show me the full hierarchy around the concept of work, including both broader and narrower terms, along with their English labels and direct parent classes."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { <http://www.wikidata.org/entity/Q42213> <http://www.wikidata.org/prop/direct/P279> * ?var1 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q42213> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1718", "question": "Nicknames of people who held the position of monarch.", "sparql": "SELECT ?nickname WHERE { ?monarch wdt:P39 wd:Q116 . ?monarch wdt:P1449 ?nickname . } LIMIT 100", "paraphrases": ["What are the nicknames of monarchs?", "List the informal names or epithets of all individuals who have been monarchs."], "info": {"raw_sparql": "SELECT ?var1 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1449> ?var2 . } ?var3 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q116> . } LIMIT 100"}}
{"id": "test_1719", "question": "List of creative works with genre poem.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?work ?workLabel WHERE {\n  ?work p:P136 ?statement .\n  ?statement ps:P136 wd:Q5185279 .\n  ?work rdfs:label ?workLabel .\n  FILTER ( LANG( ?workLabel ) = \"en\" )\n}\nLIMIT 101", "paraphrases": ["What are some creative works that are classified as poems?", "Show me up to 101 literary works whose genre is poetry, along with their English titles."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P136> <http://www.wikidata.org/entity/Q5185279> . ?var1 <http://www.wikidata.org/prop/P136> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_1720", "question": "How many Wikimedia categories have hematology as their main topic?", "sparql": "SELECT (COUNT(?category) AS ?count) WHERE { ?category wdt:P301 wd:Q103824 . }", "paraphrases": ["How many categories on Wikipedia are primarily about hematology?", "Tell me the number of Wikipedia categories whose main article is hematology."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P301> <http://www.wikidata.org/entity/Q103824> . }"}}
{"id": "test_1721", "question": "What are the chemical formulas, PubChem IDs, and medical conditions treated by each medication, with condition labels in English and Welsh?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?var1 ?var1Label ?var4 ?var5(GROUP_CONCAT(DISTINCT ?var7Label ; SEPARATOR = \" , \") AS ?var8)(GROUP_CONCAT(DISTINCT ?var9Label ; SEPARATOR = \" , \") AS ?var10)(GROUP_CONCAT(DISTINCT ?var6 ; SEPARATOR = \" , \") AS ?var11) WHERE {\n  ?var1 wdt:P31 wd:Q12140 .\n  ?var1 rdfs:label ?var1Label .\n  ?var1 wdt:P274 ?var4 .\n  ?var1 wdt:P662 ?var5 .\n  {\n    ?var1 wdt:P2175 ?var6 .\n    ?var6 rdfs:label ?var7Label .\n    FILTER(LANG(?var7Label) = \"en\")\n  }\n  OPTIONAL {\n    ?var1 wdt:P2175 ?var6 .\n    ?var6 rdfs:label ?var9Label .\n    FILTER(LANG(?var9Label) = \"cy\")\n  }\n  OPTIONAL {\n    ?var1 wdt:P2175 ?var6 .\n  }\n}\nGROUP BY ?var1 ?var1Label ?var4 ?var5", "paraphrases": ["For each medication, show its chemical formula, PubChem CID, and all conditions it treats, with labels in English and Welsh.", "Retrieve a list of medications with their chemical structures, PubChem identifiers, and the diseases they treat, including both English and Welsh condition names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4Label ?var5 ?var6 ( GROUP_CONCAT ( DISTINCT ?var7Label ; SEPARATOR = \" , \" ) AS ?var8 )( GROUP_CONCAT ( DISTINCT ?var9Label ; SEPARATOR = \" , \" ) AS ?var10 )( GROUP_CONCAT ( DISTINCT ?var6 ; SEPARATOR = \" , \" ) AS ?var11 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q12140> . ?var1 <http://www.wikidata.org/prop/direct/P274> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P662> ?var5 . { ?var1 <http://www.wikidata.org/prop/direct/P2175> ?var12 . ?var12 <http://www.w3.org/2000/01/rdf-schema#label> ?var7Label . FILTER ( ( ( LANG ( ?var7Label ) = \"en\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2175> ?var13 . ?var13 <http://www.w3.org/2000/01/rdf-schema#label> ?var9Label . FILTER ( ( ( LANG ( ?var9Label ) = \"cy\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2175> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var14 <http://schema.org/about> ?var1 . ?var14 <http://schema.org/inLanguage> \"cy\". } FILTER ( ( !( BOUND ( ?var14 ) ) ) ) . } GROUP BY ?var1 ?var1Label ?var2 ?var3 ?var4Label ?var5 ?var6"}}
{"id": "test_1722", "question": "What cities are sister cities of London?", "sparql": "SELECT ?cityLabel WHERE { ?city wdt:P31 wd:Q515 . ?city wdt:P190 wd:Q84 . ?city rdfs:label ?cityLabel . FILTER(LANG(?cityLabel) = \"en\") }", "paraphrases": ["Can you list the English names of cities that are twinned with London?", "Which cities around the world have a sister city relationship with London?"], "info": {"raw_sparql": "SELECT ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/3350> . ?var1 ?var2 <http://www.wikidata.org/entity/Q84> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de, en\". } }"}}
{"id": "test_1723", "question": "Top authors of publications on syncope with more than 4 papers.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?authorName ?publicationCount WHERE {\n  {\n    SELECT ?authorName ( COUNT( DISTINCT ?publication ) AS ?publicationCount ) WHERE {\n      ?publication wdt:P2093 ?authorName ; wdt:P921 wd:Q180007 .\n    }\n    GROUP BY ?authorName\n  }\n  FILTER ( ?publicationCount > 4 )\n}\nORDER BY DESC ( ?publicationCount )\nLIMIT 100", "paraphrases": ["Who are the researchers with the most publications on syncope, and how many have they published?", "List the authors who have written more than four scientific papers about syncope, sorted by the number of papers in descending order."], "info": {"raw_sparql": "SELECT * WHERE { { SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P2093> ?var1 ; <http://www.wikidata.org/prop/direct/P921> <http://www.wikidata.org/entity/Q180007> . } GROUP BY ?var1 } FILTER ( ( ( ?var3 > \"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var3 ) LIMIT 10001"}}
{"id": "test_1724", "question": "List the titles of the first 21 audio tracks in English.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?audioTrack ?audioTrackTitle WHERE {\n  ?audioTrack wdt:P31 wd:Q7302866 .\n  ?audioTrack wdt:P1476 ?audioTrackTitle .\n  FILTER ( LANG( ?audioTrackTitle ) = \"en\" )\n}\nLIMIT 21", "paraphrases": ["What are the English titles of the first 21 audio tracks listed in Wikidata?", "Show me up to 21 audio tracks with their English titles from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7302866> . } LIMIT 21 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1725", "question": "Actors with English labels and their IMDb, Freebase, or AllMovie IDs.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?actor ?label(LANG(?label) AS ?lang) ?altLabel ?imdbId ?freebaseId ?allmovieId WHERE {\n  ?actor wdt:P31 wd:Q5 .\n  ?actor wdt:P106 wd:Q33999 .\n  ?actor rdfs:label ?label .\n  OPTIONAL {\n    ?actor wdt:P345 ?imdbId .\n  }\n  OPTIONAL {\n    ?actor wdt:P646 ?freebaseId .\n  }\n  OPTIONAL {\n    ?actor wdt:P2019 ?allmovieId .\n  }\n  OPTIONAL {\n    ?actor skos:altLabel ?altLabel .\n  }\n  FILTER(LANG(?label) = \"en\")\n}\nORDER BY ASC(?label)\nLIMIT 500", "paraphrases": ["Who are the human actors with English labels, and what are their IMDb, Freebase, or AllMovie identifiers?", "List up to 500 actors who are humans, have English labels, and include their alternative names and any available IMDb, Freebase, or AllMovie IDs."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ( LANG ( ?var2Label ) AS ?var3 ) ?var4 ?var5 ?var6 ?var7 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P345> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P646> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2019> ?var7 . } OPTIONAL { ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> ?var4 . } FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var8Label ) = \"en\" ) ) ) . OPTIONAL { } } ORDER BY ASC( ?var2Label ) LIMIT 500"}}
{"id": "test_1726", "question": "What is the most specific shared category between The Washington Post and Cologne?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonClass ?commonClassLabel ( ?dist1 + ?dist2 AS ?totalDistance ) WHERE {\n  {\n    SELECT ?commonClass ( COUNT( ?mid1 ) AS ?dist1 ) WHERE {\n      wd:Q166032 wdt:P31 ?type1 .\n      ?type1 wdt:P279 + ?mid1 .\n      ?mid1 wdt:P279 * ?commonClass .\n    }\n    GROUP BY ?commonClass\n  }\n  {\n    SELECT ?commonClass ( COUNT( ?mid2 ) AS ?dist2 ) WHERE {\n      wd:Q365 wdt:P31 ?type2 .\n      ?type2 wdt:P279 + ?mid2 .\n      ?mid2 wdt:P279 * ?commonClass .\n    }\n    GROUP BY ?commonClass\n  }\n  ?commonClass rdfs:label ?commonClassLabel .\n  FILTER ( LANG( ?commonClassLabel ) = \"en\" )\n}\nORDER BY ASC ( ?dist1 + ?dist2 )\nLIMIT 1", "paraphrases": ["Which class is the closest common ancestor in the subclass hierarchy for both The Washington Post and the city of Cologne?", "Find the entity that is the most specific superclass shared by The Washington Post and Cologne, based on their type hierarchies."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q166032> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q365> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1727", "question": "What properties are used for music theory in Wikidata, along with their labels, value counts, and the labels of those values?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(SAMPLE(?pl) AS ?propertyLabel)(COUNT(?value) AS ?valueCount)(GROUP_CONCAT(?valueLabel ; SEPARATOR = \", \") AS ?valueLabels) WHERE {\n  wd:Q193544 ?property ?value .\n  ?value rdfs:label ?valueLabel .\n  FILTER(LANG(?valueLabel) = \"en\")\n  .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?pl .\n  FILTER(LANG(?pl) = \"en\")\n}\nGROUP BY ?property", "paraphrases": ["For the academic discipline of music theory, which properties connect it to other entities, and what are the English labels of those properties and their values?", "List all direct properties of music theory in Wikidata, showing their English labels, how many values each has, and the English labels of those values, grouped by property."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q193544> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_1728", "question": "What properties are used to associate entities with the musical genre, excluding \"instance of\"?", "sparql": "SELECT DISTINCT ?property WHERE { ?item ?statementProperty wd:Q2743 . ?property wikibase:statementProperty ?statementProperty . FILTER (?property != wd:P31) }", "paraphrases": ["Which properties, other than \"instance of\", link items to the musical genre in Wikidata?", "Show me all the properties (except \"instance of\") that connect entities to musicals."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 ?var3 <http://www.wikidata.org/entity/Q2743> . ?var1 <http://wikiba.se/ontology#statementProperty> ?var3 . FILTER ( ( ( ?var1 != <http://www.wikidata.org/entity/P31> ) ) ) . }"}}
{"id": "test_1729", "question": "Top 250 films with the most Wikipedia language editions", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?film ( COUNT( ?page ) AS ?sitelinkCount ) WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?page schema:about ?film .\n  FILTER ( STRSTARTS( STR( ?page ) , \"https://\" ) )\n}\nGROUP BY ?film\nORDER BY DESC ( ?sitelinkCount )\nLIMIT 250", "paraphrases": ["Which films have the highest number of Wikipedia articles across different languages?", "Show me the 250 films with the most sitelinks on Wikipedia, ordered by popularity."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 250"}}
{"id": "test_1730", "question": "What is the name of the medication with DrugBank ID DB00682?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P715 \"DB00682\" .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["Which chemical compounds are identified by the DrugBank ID DB00682?", "Can you tell me the English labels of substances that have the DrugBank identifier DB00682?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q12140> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var1 <http://www.wikidata.org/prop/direct/P715> <http://www.wikidata.org/entity/Q407431> . }"}}
{"id": "test_1731", "question": "People who held the position of monarch", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P39 wd:Q116 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } ORDER BY ASC(?personLabel) LIMIT 100", "paraphrases": ["Who are the historical monarchs listed in Wikidata?", "List the names of all monarchs in alphabetical order."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pt,en\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q116> . } ORDER BY DESC( ?var1Label ) LIMIT 100"}}
{"id": "test_1732", "question": "List all episodes of the TV series Seinfeld.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?episode ?episodeLabel WHERE {\n  ?episode wdt:P31 wd:Q21191270 .\n  ?episode wdt:P179 wd:Q23733 .\n  ?episode rdfs:label ?episodeLabel .\n  FILTER(LANG(?episodeLabel) = \"en\")\n}\nORDER BY ASC(?episodeLabel)", "paraphrases": ["What are the names of all episodes from the TV show Seinfeld, in alphabetical order?", "Can you show me the English titles of every episode of Seinfeld, sorted alphabetically?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q21191270> . ?var1 <http://www.wikidata.org/prop/direct/P179> <http://www.wikidata.org/entity/Q23733> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_1733", "question": "List IMDb IDs and their corresponding Wikidata items.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?imdbId ?item WHERE {\n  ?item wdt:P345 ?imdbId .\n}\nLIMIT 1000", "paraphrases": ["Which Wikidata entities are linked to IMDb IDs, and what are those IDs?", "Show me the mapping between IMDb identifiers and the Wikidata items they represent, up to 1000 results."], "info": {"raw_sparql": "SELECT ?var1 ( GROUP_CONCAT ( ?var2 ; SEPARATOR = \" , \" ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P345> ?var1 . } GROUP BY ?var1 LIMIT 1000"}}
{"id": "test_1734", "question": "What songs and albums has Lady Gaga performed?", "sparql": "SELECT ?work ?workLabel ?performer WHERE { VALUES ?performer { wd:Q19848 } ?work wdt:P175 ?performer . ?work rdfs:label ?workLabel . FILTER(LANG(?workLabel) = \"en\") }", "paraphrases": ["List all creative works where Lady Gaga is the performer, along with their English titles.", "Can you show me the English titles of all musical works performed by Lady Gaga?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q19848> ) } ?var1 <http://www.wikidata.org/prop/direct/P175> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1735", "question": "What are the occupations, nationalities, genders, and categories associated with Albert Einstein?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?label WHERE {\n  wd:Q937 wdt:P106 | wdt:P27 | wdt:P21 | wdt:P31 ?o .\n  ?o rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["What are the English labels of the entities that describe Albert Einstein\u2019s occupation, citizenship, gender, and type?", "Show me the human-readable descriptions of Albert Einstein\u2019s key attributes like his job, nationality, and gender."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label WHERE { <http://www.wikidata.org/entity/Q937> ?var2 ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_1736", "question": "Labels for the novel \"Winter of the World\" in Italian, English, German, and French, along with its Italian Wikipedia page.", "sparql": "SELECT ?label ?image ?coordinates ?wikipediaLink WHERE { VALUES (?lang ?sort) { (\"it\" 1) (\"en\" 2) (\"de\" 3) (\"fr\" 4) } wd:Q559330 rdfs:label ?label . FILTER (LANG(?label) = ?lang) OPTIONAL { wd:Q559330 wdt:P18 ?image . } OPTIONAL { wd:Q559330 wdt:P625 ?coordinates . } OPTIONAL { ?wikipediaLink rdf:type schema:Article ; schema:about wd:Q559330 ; schema:inLanguage \"it\" ; schema:isPartOf <https://it.wikipedia.org/> . } } ORDER BY ?sort", "paraphrases": ["What are the titles of the novel \"Winter of the World\" in Italian, English, German, and French, and where can I find its Italian Wikipedia article?", "Please provide the official titles of Ken Follett\u2019s novel \"Winter of the World\" in Italian, English, German, and French, and link to its Italian Wikipedia page."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q559330> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var7 ) ) ) . VALUES ( ?var7 ?var8 ) { ( \"it\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q559330> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q559330> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"it\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q559330> <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q559330> ; <http://schema.org/inLanguage> \"it\"; <http://schema.org/isPartOf> <https://it.wikipedia.org/> . } } ORDER BY ASC( ?var8 )"}}
{"id": "test_1737", "question": "What are the names (labels) of pharmaceutical substances that have an ATC code?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?label WHERE {\n  ?substance wdt:P267 ?atcCode .\n  ?substance rdfs:label ?label .\n}", "paraphrases": ["List all the substance names in different languages for drugs with an ATC classification.", "Show the labels of all medications in Wikidata that are assigned an Anatomical Therapeutic Chemical (ATC) code."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P267> ?var3 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . }"}}
{"id": "test_1738", "question": "What is the highest-level category that both English and Angela Merkel are classified under?", "sparql": "SELECT ?lca WHERE { wd:Q1860 wdt:P31 ?class1 . wd:Q567 wdt:P31 ?class2 . ?class1 wdt:P279* ?lca . ?class2 wdt:P279* ?lca . FILTER(?lca = wd:Q35120) } LIMIT 1", "paraphrases": ["What do English and Angela Merkel have in common in terms of their ontological classification?", "What is the most general concept that includes both the English language and Angela Merkel?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1860> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q567> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1739", "question": "Songs in English", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?song ?songLabel WHERE {\n  ?song wdt:P31 wd:Q7366 .\n  ?song wdt:P407 wd:Q1860 .\n}\nLIMIT 1000", "paraphrases": ["What songs are originally in the English language?", "List songs that are classified as musical works and have English as their original language."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7366> . ?var1 <http://www.wikidata.org/prop/direct/P364> <http://www.wikidata.org/entity/Q1860> . } LIMIT 1000"}}
{"id": "test_1740", "question": "Statements citing IMDb reference ref:0000119c6b244a8feb2fe48633e1fc7e919e784b", "sparql": "PREFIX ref: <http://www.wikidata.org/reference/>\nSELECT ?statement ?property WHERE {\n  ?statement ?property ref:0000119c6b244a8feb2fe48633e1fc7e919e784b .\n}\nLIMIT 10", "paraphrases": ["Which statements in Wikidata are sourced from the IMDb reference ref:0000119c6b244a8feb2fe48633e1fc7e919e784b?", "Show me all the claims that use this specific IMDb reference: ref:0000119c6b244a8feb2fe48633e1fc7e919e784b"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/reference/ab1b2c106186bd6aabc64afa044e38ac99f3a064> . }"}}
{"id": "test_1741", "question": "Diseases related to colorectal cancer and their MeSH URIs", "sparql": "SELECT ?disease ?meshUri WHERE { ?disease wdt:P31 wd:Q12136 . ?disease wdt:P486 ?meshId . ?disease wdt:P279* wd:Q188874 . BIND( IRI( CONCAT( \"http://id.nlm.nih.gov/mesh/\", ?meshId ) ) AS ?meshUri ) }", "paraphrases": ["What are the diseases classified as colorectal cancer or its subtypes, and what are their corresponding MeSH identifiers as full URIs?", "List all diseases that are types of colorectal cancer along with their official MeSH web addresses."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { BIND ( IRI ( CONCAT ( \"string1\", ?var3 ) ) AS ?var2 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q12136> . ?var1 <http://www.wikidata.org/prop/direct/P486> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q188874> . }"}}
{"id": "test_1742", "question": "List medicines with their defined daily doses, sorted from lowest to highest.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?medicineLabel ?ddd WHERE {\n  ?medicine wdt:P4250 ?ddd .\n  ?medicine rdfs:label ?medicineLabel .\n  FILTER ( LANG( ?medicineLabel ) = \"en\" )\n}\nORDER BY ASC ( ?ddd )", "paraphrases": ["What are the medicines with the smallest defined daily doses, and what are their doses?", "Show me the medicines and their average daily maintenance doses in adults, ordered by dose size."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4250> ?var2 . } ORDER BY ASC( ?var1 )"}}
{"id": "test_1743", "question": "TV series with episode list linked to \"episodi di Due come noi\"", "sparql": "ASK WHERE { ?series wdt:P1811 wd:Q1114472 . }", "paraphrases": ["Is there a TV series whose list of episodes is the Italian Wikipedia article \"episodi di Due come noi\"?", "Show me the TV series that links to the episode list \"episodi di Due come noi\"."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q1114472> . }"}}
{"id": "test_1744", "question": "List items with their IMDb IDs.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?imdbId WHERE {\n  ?item wdt:P345 ?imdbId .\n}\nLIMIT 1000", "paraphrases": ["Which entities in Wikidata have an IMDb identifier, and what are their IDs?", "Show me the items and their corresponding IMDb IDs from Wikidata."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/entity/P727> ?var2 . } LIMIT 1000"}}
{"id": "test_1745", "question": "What properties are used to describe television channels in Wikidata, and what qualifiers accompany them?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?entity ?statement ?property ( SAMPLE( ?qualifierProperty ) AS ?qualifier ) WHERE {\n  {\n    SELECT DISTINCT ?entity ?statement ?property WHERE {\n      ?statement ?statementProperty wd:Q2001305 .\n      ?entity ?claimProperty ?statement .\n      ?property wikibase:statementProperty ?statementProperty .\n      ?property wikibase:claim ?claimProperty .\n      FILTER ( ?property != wd:P31 )\n    }\n    LIMIT 101\n  }\n  OPTIONAL {\n    ?statement wikibase:qualifier ?qualifierProperty .\n  }\n}\nGROUP BY ?entity ?statement ?property", "paraphrases": ["Show me entities that are linked to television channels via properties other than \"instance of\", along with any qualifiers on those links.", "Which properties connect entities to TV channels, and are there any additional details (qualifiers) provided for those connections?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q2001305> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_1746", "question": "Which properties link to the episode \"Look Again\" more than once in Wikidata?", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q16081387 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["How many different web pages reference the Wikidata item for \"Look Again\" using the schema:about property?", "Show me the properties that are used to connect other resources to the episode \"Look Again\" (Q16081387) more than once, ordered by frequency."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q16081387> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_1747", "question": "List English titles of films starting from the 117,801st film in Wikidata, limited to 200 results.", "sparql": "SELECT ?film ?filmLabel WHERE { ?film wdt:P31 wd:Q11424 . ?film rdfs:label ?filmLabel . FILTER(LANG(?filmLabel) = \"en\") } ORDER BY ASC(?film) LIMIT 200 OFFSET 117800", "paraphrases": ["What are the English titles of the 200 films that come after the first 117,800 films in Wikidata?", "Please provide the English labels of 200 films, skipping the first 117,800 films in the database."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } } ORDER BY ASC( ?var1 ) LIMIT 200 OFFSET 117800"}}
{"id": "test_1748", "question": "What are the sources cited for Tom Petty\u2019s date of death?", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX prov: <http://www.w3.org/ns/prov#>\nSELECT ?date ?reference WHERE {\n  wd:Q311655 p:P570 ?statement .\n  ?statement ps:P570 ?date .\n  ?statement prov:wasDerivedFrom ?reference .\n}", "paraphrases": ["Can you tell me when Tom Petty died and where that information comes from?", "Which references support the claim that Tom Petty died on October 2, 2017?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q311655> <http://www.wikidata.org/prop/direct/P570> ?var1 . ?var1 <http://www.w3.org/ns/prov#wasDerivedFrom> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1749", "question": "Does the TV series Frontline have a list of episodes on Wikipedia?", "sparql": "ASK WHERE { ?series wdt:P1811 wd:Q6571475 . }", "paraphrases": ["Is there a Wikipedia episode list for the TV show Frontline?", "Confirm whether Frontline has a dedicated episode list page."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q6571475> . }"}}
{"id": "test_1750", "question": "List all music genres in English.", "sparql": "SELECT ?genre ?genreLabel WHERE { ?genre wdt:P31 wd:Q188451 . ?genre rdfs:label ?genreLabel . FILTER(LANG(?genreLabel) = \"en\") }", "paraphrases": ["What are the names of all music genres in English?", "Show me the English labels for all entities classified as music genres."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/279> *) <http://www.wikidata.org/entity/Q188451> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } }"}}
{"id": "test_1751", "question": "What are the most common properties used to classify items as Black Metal in Wikidata?", "sparql": "SELECT ?property ( COUNT( ?item ) AS ?count ) ?propertyLabel WHERE { ?item ?property wd:Q132438 . ?propEntity wikibase:directClaim ?property . OPTIONAL { ?propEntity wdt:P1687 ?label1 . } OPTIONAL { ?propEntity rdfs:label ?label2 . } BIND( COALESCE( ?label1, ?label2 ) AS ?propertyLabel ) FILTER ( LANG( ?propertyLabel ) = \"en\" ) } GROUP BY ?property ?propertyLabel HAVING ( ?count > 1 ) ORDER BY DESC ( ?count )", "paraphrases": ["Which properties link the most works to the Black Metal genre, and how many items are linked by each?", "Show me the properties that connect at least two items to the Black Metal music genre, ordered by how frequently they\u2019re used."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q132438> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_1752", "question": "What entity and property does the statement with ID Q14907998-182A5B4D-7591-4A82-B026-35778B160D3A refer to?", "sparql": "PREFIX s: <http://www.wikidata.org/entity/statement/>\nSELECT ?item ?statementProperty WHERE {\n  ?item ?statementProperty s:Q14907998-182A5B4D-7591-4A82-B026-35778B160D3A .\n}", "paraphrases": ["Which item and statement property are associated with the Wikidata statement s:Q14907998-182A5B4D-7591-4A82-B026-35778B160D3A?", "For the statement about DNMT1, what is the subject and the property used in that statement?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q14907998-182A5B4D-7591-4A82-B026-35778B160D3A> . }"}}
{"id": "test_1753", "question": "What series is Red vs. Blue season 6 part of, and what qualifier is used?", "sparql": "SELECT ?series ?statement ?statementProperty (SAMPLE(?qualifier) AS ?qualifierProperty) WHERE { ?statement ?prop wd:Q7305407 . ?series ?claim ?statement . ?statementProperty wikibase:statementProperty ?prop . ?statementProperty wikibase:claim ?claim . FILTER (?statementProperty != wd:P31) OPTIONAL { ?statement ?qualifier ?value . ?property wikibase:qualifier ?qualifier . } } GROUP BY ?series ?statement ?statementProperty", "paraphrases": ["For the sixth season of Red vs. Blue, which series does it belong to, and what property indicates its ordinal position in the series?", "Show me the series that Red vs. Blue season 6 belongs to, along with the qualifier that specifies it as season 6."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q7305407> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_1754", "question": "What are Beyonc\u00e9's music singles, along with their genres and release dates?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?single ?singleLabel ?genre ?genreLabel ?publicationDate WHERE {\n  ?single wdt:P31 wd:Q134556 .\n  ?single rdfs:label ?singleLabel .\n  FILTER ( LANG( ?singleLabel ) = \"en\" ) .\n  ?single wdt:P175 wd:Q36153 .\n  OPTIONAL {\n    ?single wdt:P136 ?genre .\n    ?genre rdfs:label ?genreLabel .\n    FILTER ( LANG( ?genreLabel ) = \"en\" )\n  }\n  .\n  OPTIONAL {\n    ?single wdt:P577 ?publicationDate .\n  }\n}\nORDER BY ?singleLabel\nLIMIT 20", "paraphrases": ["Can you list all the songs released by Beyonc\u00e9, including what genre they belong to and when they were released?", "Show me the titles of Beyonc\u00e9\u2019s singles, their musical genres, and publication years."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q134556> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P175> ?var2 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var4 . } FILTER ( ( REGEX ( ?var1Label , \"^Signs$\", \"i\" ) ) ) . FILTER ( ( REGEX ( ?var2Label , \"Beyonc\u00e9\", \"i\" ) ) ) . } LIMIT 10"}}
{"id": "test_1755", "question": "List all episodes of the TV series \"Mord mit Aussicht\" with their episode numbers and premiere dates.", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?episode ?episodeNumber ?premiere ?episodeLabel WHERE {\n  ?episode wdt:P179 wd:Q1407012 .\n  ?episode p:P179 ?statement .\n  ?statement pq:P1545 ?episodeNumber .\n  OPTIONAL {\n    ?episode wdt:P1191 ?premiere\n  }\n  .\n  ?episode rdfs:label ?episodeLabel .\n  FILTER ( LANG( ?episodeLabel ) = \"en\" )\n}\nORDER BY xsd:integer ( ?episodeNumber )", "paraphrases": ["What are the episode numbers and premiere dates of all episodes in the German TV series \"Mord mit Aussicht\"?", "Please provide the English titles, episode numbers, and premiere dates (if available) for every episode of \"Mord mit Aussicht\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/entity/Q1407012> AS ?var4 ). ?var5 <http://www.wikidata.org/prop/direct/P361> ?var4 . ?var2 <http://www.wikidata.org/prop/direct/P361> ?var5 . ?var2 <http://www.wikidata.org/prop/direct/P1191> ?var3 . ?var5 <http://www.wikidata.org/prop/P179> [ <http://www.wikidata.org/prop/qualifier/P1545> ?var1 ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( <http://www.w3.org/2001/XMLSchema#integer> ( ?var1 ) )ASC( ?var3 )"}}
{"id": "test_1756", "question": "Albums released on January 3 in 1968, 1978, 1988, 1998, or 2008 and their performers.", "sparql": "SELECT ?albumLabel ?performerLabel ?date WHERE { ?album wdt:P31 wd:Q482994 ; wdt:P577 ?date ; wdt:P175 ?performer . ?album rdfs:label ?albumLabel . ?performer rdfs:label ?performerLabel . FILTER ( (YEAR(?date) = 1968 && MONTH(?date) = 1 && DAY(?date) = 3) || (YEAR(?date) = 1978 && MONTH(?date) = 1 && DAY(?date) = 3) || (YEAR(?date) = 1988 && MONTH(?date) = 1 && DAY(?date) = 3) || (YEAR(?date) = 1998 && MONTH(?date) = 1 && DAY(?date) = 3) || (YEAR(?date) = 2008 && MONTH(?date) = 1 && DAY(?date) = 3) ) FILTER (LANG(?albumLabel) = \"en\" && LANG(?performerLabel) = \"en\") }", "paraphrases": ["Which music albums were released on January 3rd in any of the years 1968, 1978, 1988, 1998, or 2008, and who performed them?", "Show me the names of albums and their performers that came out on January 3rd in the decades of the 60s, 70s, 80s, 90s, and 2000s \u2014 specifically on January 3rd of 1968, 1978, 1988, 1998, and 2008."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q482994> ; <http://www.wikidata.org/prop/direct/P577> ?var3 ; <http://www.wikidata.org/prop/direct/P175> ?var2 . FILTER ( ( ( MONTH ( ?var3 ) = \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( DAY ( ?var3 ) = \"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( YEAR ( ?var3 ) = \"1968\"^^<http://www.w3.org/2001/XMLSchema#integer> ) || ( YEAR ( ?var3 ) = \"1978\"^^<http://www.w3.org/2001/XMLSchema#integer> ) || ( YEAR ( ?var3 ) = \"1988\"^^<http://www.w3.org/2001/XMLSchema#integer> ) || ( YEAR ( ?var3 ) = \"1998\"^^<http://www.w3.org/2001/XMLSchema#integer> ) || ( YEAR ( ?var3 ) = \"2008\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1757", "question": "Television series episodes categories not matching official episode list categories", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?episodeCategory ?episodeCategoryLabel ?episodeListCategory ?episodeListCategoryLabel WHERE {\n  ?episodeCategory wdt:P971 wd:Q21191270 .\n  ?episodeCategory ( wdt:P971 | wdt:P301 ) ?tvSeries .\n  ?tvSeries wdt:P31 wd:Q5398426 .\n  ?tvSeries wdt:P1811 ?episodeListCategory .\n  ?episodeListCategory wdt:P31 wd:Q13406463 .\n  FILTER ( NOT EXISTS {\n    ?episodeListCategory wdt:P1754 ?episodeCategory .\n  }\n  ) ?episodeCategory rdfs:label ?episodeCategoryLabel .\n  ?episodeListCategory rdfs:label ?episodeListCategoryLabel .\n}", "paraphrases": ["Which Wikipedia categories for TV episodes are associated with a TV series but are not the same as the official episode list category?", "Show me categories related to TV episodes that are linked to a TV series but are distinct from the series' official episode list category."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P971> <http://www.wikidata.org/entity/Q21191270> . ?var1 ( <http://www.wikidata.org/prop/direct/P971> | <http://www.wikidata.org/prop/direct/P301> ) ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5398426> . ?var4 <http://www.wikidata.org/prop/direct/P1811> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13406463> . FILTER ( ( NOT EXISTS { ?var3 <http://www.wikidata.org/prop/direct/P1754> ?var1 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1758", "question": "Which academic papers cite the study on inactivating Zika virus with amotosalen and UVA light?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?citingArticle WHERE {\n  ?citingArticle wdt:P2860 wd:Q22330681 .\n}", "paraphrases": ["What research articles reference the 2016 paper on Zika virus inactivation using amotosalen and ultraviolet A illumination?", "List all scholarly works that cite the article about Zika virus inactivation in plasma using amotosalen and UVA light."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2860> <http://www.wikidata.org/entity/Q22330681> . } LIMIT 10000"}}
{"id": "test_1759", "question": "What properties link to the Chloride channel ClC-4 protein family?", "sparql": "SELECT ?subject ?property WHERE { ?subject ?property wd:Q24776240 }", "paraphrases": ["Which proteins and metadata are associated with the Chloride channel ClC-4 protein family?", "Show all relationships where Chloride channel ClC-4 is the object."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q24776240> . }"}}
{"id": "test_1760", "question": "Number of contributing factors to obesity", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT(COUNT(?item) AS ?count) WHERE {\n  ?item wdt:P1479 wd:Q12174 .\n}", "paraphrases": ["How many things are listed as contributing factors to obesity?", "List the count of entities that contribute indirectly to obesity."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1479> <http://www.wikidata.org/entity/Q12174> . }"}}
{"id": "test_1761", "question": "English names of all musical groups in Wikidata.", "sparql": "SELECT DISTINCT ?group ?label WHERE { ?group wdt:P31 wd:Q215380 . ?group rdfs:label ?label . FILTER (LANGMATCHES(LANG(?label), \"en\")) } LIMIT 20", "paraphrases": ["What are the English-language labels of entities classified as musical groups?", "List up to 20 musical groups with their English names from Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q215380> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( LANGMATCHES ( LANG ( ?var2 ) , \"EN\" ) ) ) . } LIMIT 20"}}
{"id": "test_1762", "question": "Entities with OCLC, Goodreads author ID, and Open Library IDs", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item WHERE {\n  ?item wdt:P243 ?oclc .\n  ?item wdt:P2963 ?goodreads .\n  ?item wdt:P648 ?openlibrary .\n}\nLIMIT 100", "paraphrases": ["Which entities on Wikidata have both an OCLC control number, a Goodreads author ID, and an Open Library ID?", "List all items that are identified in OCLC, Goodreads, and Open Library databases."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P243> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P2963> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P648> ?var4 . } LIMIT 100"}}
{"id": "test_1763", "question": "In which journal was the article \"Zika virus. II. Pathogenicity and physical properties\" published?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?journal WHERE {\n  wd:Q22330899 wdt:P1433 ?journal .\n}", "paraphrases": ["What is the publication source of the scholarly work titled \"Zika virus. II. Pathogenicity and physical properties\"?", "Which academic journal contains the article on Zika virus pathogenicity and physical properties?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1433> <http://www.wikidata.org/entity/Q22330899> . } LIMIT 10000"}}
{"id": "test_1764", "question": "What Wikidata item has the Twitter username \"sebchabal\"?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"sebchabal\" } }", "paraphrases": ["Who is the person with the Twitter handle sebchabal?", "Which entity on Wikidata is linked to the X (formerly Twitter) account sebchabal?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"sebchabal\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_1765", "question": "Albums released in March 1968, 1978, 1988, 1998, or 2008 and their performers.", "sparql": "SELECT ?albumLabel ?performerLabel ?date WHERE { ?album wdt:P31 wd:Q482994 ; wdt:P577 ?date ; wdt:P175 ?performer . FILTER ( MONTH(?date) = 3 && (YEAR(?date) = 1968 || YEAR(?date) = 1978 || YEAR(?date) = 1988 || YEAR(?date) = 1998 || YEAR(?date) = 2008) ) . ?album rdfs:label ?albumLabel . ?performer rdfs:label ?performerLabel . FILTER(LANG(?albumLabel) = \"en\") FILTER(LANG(?performerLabel) = \"en\") }", "paraphrases": ["Which music albums were released in March of 1968, 1978, 1988, 1998, or 2008, and who performed them?", "List all albums from March of the years 1968, 1978, 1988, 1998, and 2008 along with their performing artists."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q482994> . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P175> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( ( MONTH ( ?var3 ) = \"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( YEAR ( ?var3 ) = \"1968\"^^<http://www.w3.org/2001/XMLSchema#integer> ) || ( YEAR ( ?var3 ) = \"1978\"^^<http://www.w3.org/2001/XMLSchema#integer> ) || ( YEAR ( ?var3 ) = \"1988\"^^<http://www.w3.org/2001/XMLSchema#integer> ) || ( YEAR ( ?var3 ) = \"1998\"^^<http://www.w3.org/2001/XMLSchema#integer> ) || ( YEAR ( ?var3 ) = \"2008\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . }"}}
{"id": "test_1766", "question": "Drugs category Wikipedia articles with images", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?var1 ?var1Label ?var3 WHERE {\n  ?var1 wdt:P910 wd:Q7486603 .\n  ?var1 rdfs:label ?var1Label .\n  FILTER ( LANG( ?var1Label ) = \"en\" ) .\n  OPTIONAL {\n    ?var1 wdt:P18 ?var3 .\n  }\n}\nLIMIT 100", "paraphrases": ["What are some Wikipedia articles about drugs that have images associated with them?", "Show me English-labeled Wikipedia articles in the 'Drugs' category along with their images."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P910> ?var4 . FILTER ( ( ?var4 IN ( <http://www.wikidata.org/entity/Q7486603> , <http://www.wikidata.org/entity/Q12140> ) ) ) . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( ?var1Label = \"drug\"@en ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_1767", "question": "Scholarly articles about Zika virus or Zika fever", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?article ?title WHERE {\n  ?article wdt:P31 wd:Q13442814 .\n  {\n    ?article wdt:P921 wd:Q202864 .\n  } UNION {\n    ?article wdt:P921 wd:Q8071861 .\n  }\n  ?article wdt:P1476 ?title .\n}\nLIMIT 50", "paraphrases": ["What are the titles of academic papers on Zika virus or Zika fever?", "List the titles of scholarly articles that focus on Zika virus or Zika fever."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13442814> . { ?var1 <http://www.wikidata.org/prop/direct/P921> <http://www.wikidata.org/entity/Q202864> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P921> <http://www.wikidata.org/entity/Q8071861> . } ?var2 ?var3 ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 50"}}
{"id": "test_1768", "question": "What is the Twitter username for MSNBC on Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"MSNBC\"\n  }\n}", "paraphrases": ["Which Wikidata item has the Twitter handle \"MSNBC\"?", "Find the Wikidata entity associated with the Twitter username MSNBC."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"string1\" ) ( \"MSNBC\" ) ( \"string2\" ) ( \"LaCubache\" ) ( \"PoulpyWP\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_1769", "question": "What is the administrative hierarchy above Karlstad Municipality in Sweden?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?level1 ?level1Label ?level2 WHERE {\n  wd:Q498453 wdt:P131 ?level1 .\n  ?level1 wdt:P131 ?level2 .\n  ?level1 rdfs:label ?level1Label .\n  FILTER ( LANG( ?level1Label ) = \"en\" )\n}", "paraphrases": ["What is the county that contains Karlstad, and what country is that county in?", "Show the immediate administrative parent of Karlstad Municipality and its parent country, in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". <http://www.wikidata.org/entity/Q498453> <http://www.wikidata.org/prop/direct/P131> * ?var1 . MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P576> | <http://www.wikidata.org/prop/direct/P582> ) [] . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_1770", "question": "Top types of items in Sweden, grouped by how many are in counties, provinces, municipalities, and parishes.", "sparql": "SELECT ?instanceType \n       (SAMPLE(?label) AS ?instanceTypeLabel)\n       (COUNT(?item) AS ?count)\n       (SUM(IF(?adminType = wd:Q200547, 1, 0)) AS ?inCounty)\n       (SUM(IF(?adminType = wd:Q193556, 1, 0)) AS ?inProvince)\n       (SUM(IF(?adminType = wd:Q127448, 1, 0)) AS ?inMunicipality)\n       (SUM(IF(?adminType = wd:Q615980, 1, 0)) AS ?inParish)\nWHERE {\n  ?item wdt:P17 wd:Q34 .\n  ?item wdt:P31 ?instanceType .\n  ?item wdt:P131 ?adminSubdivision .\n  ?adminSubdivision wdt:P31 ?adminType .\n\n  OPTIONAL { ?instanceType rdfs:label ?label . }\n}\nGROUP BY ?instanceType\nORDER BY ASC(?instanceTypeLabel) DESC(?count)", "paraphrases": ["What are the most common types of geographic and cultural features in Sweden, and how are they distributed across counties, provinces, municipalities, and Church of Sweden parishes?", "Show me a list of all item types in Sweden with their total count and how many of them are located in counties, provinces, municipalities, and parishes, sorted alphabetically by type name and then by count descending."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT ( ?var2 ) AS ?var3 )( SUM ( IF ( ( ?var4 = <http://www.wikidata.org/entity/Q200547> ),\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var5 )( SUM ( IF ( ( ?var4 = <http://www.wikidata.org/entity/Q193556> ),\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var6 )( SUM ( IF ( ( ?var4 = <http://www.wikidata.org/entity/Q127448> ),\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var7 )( SUM ( IF ( ( ?var4 = <http://www.wikidata.org/entity/Q615980> ),\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var8 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q34> . ?var2 <http://www.wikidata.org/prop/direct/P31> ?var1 . ?var2 <http://www.wikidata.org/prop/direct/P131> ?var9 . ?var9 <http://www.wikidata.org/prop/direct/P31> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv\". } } GROUP BY ?var1 ?var1Label ORDER BY ASC( ?var1Label ) DESC( ?var3 )"}}
{"id": "test_1771", "question": "Serial killers with their birth dates, birth places, coordinates, and citizenships.", "sparql": "SELECT ?killer ?killerLabel ?dob ?birthPlace ?birthPlaceCoordinates ?citizenshipLabel WHERE { ?killer wdt:P106 wd:Q484188 ; wdt:P569 ?dob ; wdt:P19 ?birthPlace . ?birthPlace wdt:P625 ?birthPlaceCoordinates . ?killer rdfs:label ?killerLabel . FILTER(LANG(?killerLabel) = \"en\") OPTIONAL { ?killer wdt:P27 ?citizenship . ?citizenship rdfs:label ?citizenshipLabel . FILTER(LANG(?citizenshipLabel) = \"en\") } }", "paraphrases": ["Who are the serial killers, when and where were they born, what are the coordinates of their birthplaces, and which countries are they citizens of?", "List all known serial killers along with their date of birth, birthplace, geographic coordinates of the birthplace, and country of citizenship (if available)."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q484188> ; <http://www.wikidata.org/prop/direct/P569> ?var2 ; <http://www.wikidata.org/prop/direct/P19> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var4 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } }"}}
{"id": "test_1772", "question": "Is there a TV series that has a list of episodes pointing to the episode list for \"Transmission Impossible with Ed and Oucho\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  ?series wdt:P1811 wd:Q6600612\n}", "paraphrases": ["Does the TV series \"Transmission Impossible with Ed and Oucho\" have its episode list recorded in Wikidata?", "Is the episode list for \"Transmission Impossible with Ed and Oucho\" linked to the series in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q6600612> . }"}}
{"id": "test_1773", "question": "Streets in Gothenburg starting with D, E, or F in Swedish.", "sparql": "SELECT DISTINCT ?street WHERE { ?street (wdt:P31/wdt:P279*) wd:Q83620 . ?street wdt:P131 wd:Q52502 . ?street rdfs:label ?streetLabel . FILTER(LANG(?streetLabel) = \"sv\") . FILTER(STRSTARTS(?streetLabel, \"D\") || STRSTARTS(?streetLabel, \"E\") || STRSTARTS(?streetLabel, \"F\")) . }", "paraphrases": ["What are the streets in Gothenburg whose Swedish names begin with D, E, or F?", "List all thoroughfares in Gothenburg Municipality that have Swedish labels starting with D, E, or F."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q83620> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q52502> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P138> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"sv\" ) ) ) . FILTER ( ( STRSTARTS ( ?var1Label , \"D\" ) || STRSTARTS ( ?var1Label , \"E\" ) || STRSTARTS ( ?var1Label , \"F\" ) ) ) . }"}}
{"id": "test_1774", "question": "Occupations of Elvis Presley", "sparql": "SELECT ?occupation ?occupationLabel WHERE { wd:Q303 wdt:P106 ?occupation . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = \"en\") }", "paraphrases": ["What are the occupations of Elvis Presley?", "List all the jobs or roles Elvis Presley had."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q303> ?var1 ?var2 . FILTER ( ( CONTAINS ( STR ( ?var1 ) , \"string1\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_1775", "question": "List English names of chemical compounds and their associated Wikipedia or Wikimedia pages.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?compound ?label ?article WHERE {\n  ?compound wdt:P31 wd:Q11173 .\n  ?compound rdfs:label ?label .\n  ?article schema:about ?compound .\n  FILTER(LANG(?label) = \"en\")\n}\nLIMIT 200", "paraphrases": ["What are the English-labeled chemical compounds and which web pages describe them?", "Show me up to 200 chemical compounds with their English names and the Wikipedia or Wikimedia articles about them."], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11173> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var3 <http://schema.org/about> ?var1 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } LIMIT 200"}}
{"id": "test_1776", "question": "Music singles by Judah & the Lion", "sparql": "SELECT ?single ?singleLabel ?typeLabel WHERE { ?single wdt:P175 wd:Q16850984 ; wdt:P31 wd:Q134556 . ?single rdfs:label ?singleLabel . BIND(wd:Q134556 AS ?type) ?type rdfs:label ?typeLabel . FILTER(LANG(?singleLabel) = \"en\") FILTER(LANG(?typeLabel) = \"en\") } LIMIT 100", "paraphrases": ["What are the music singles performed by Judah & the Lion?", "List the music singles released by Judah & the Lion and confirm they are classified as singles."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } ?var1 <http://www.wikidata.org/prop/direct/P175> <http://www.wikidata.org/entity/Q16850984> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q134556> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } FILTER ( ( ( ?var2 = <http://www.wikidata.org/entity/Q134556> ) ) ) . } LIMIT 100"}}
{"id": "test_1777", "question": "TV season items with short English labels compared to their English Wikipedia titles", "sparql": "SELECT ?season ?wikipediaTitle ?label WHERE { ?season wdt:P31 wd:Q3464665 . [] schema:about ?season ; schema:isPartOf <https://en.wikipedia.org/> ; schema:name ?wikipediaTitle . ?season rdfs:label ?label . FILTER (LANG(?label) = \"en\") FILTER (STRLEN(?label) - STRLEN(?wikipediaTitle) < -5) }", "paraphrases": ["Which television season items on Wikidata have English labels that are significantly shorter than their corresponding English Wikipedia page titles?", "Show me TV season entries in Wikidata where the English label is missing contextual details (like country or series name) that are present in the English Wikipedia title."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3464665> . [] <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://en.wikipedia.org/> ; <http://schema.org/name> ?var3 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) && ( ( STRLEN ( STR ( ?var4 ) ) - STRLEN ( STR ( ?var3 ) ) ) < \"-5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1778", "question": "What artwork has the Joconde ID 05630003666?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?artwork WHERE {\n  ?artwork wdt:P347 \"05630003666\" .\n}", "paraphrases": ["Which artwork in the French Ministry of Culture\u2019s Joconde database is identified by the number 05630003666?", "Find the artwork linked to the Joconde identifier 05630003666."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P347> \"05630003666\". }"}}
{"id": "test_1779", "question": "What are the different language labels for the Transformers franchise on Wikidata?", "sparql": "SELECT DISTINCT ?label (LANG(?label) AS ?language) WHERE { wd:Q1323565 rdfs:label ?label . } LIMIT 100", "paraphrases": ["In which languages is the Transformers media franchise labeled, and what are the corresponding labels?", "Show me how the Transformers franchise is named in various languages around the world."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ( LANG ( ?var1 ) AS ?var2 ) WHERE { <http://www.wikidata.org/entity/Q1323565> <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . } LIMIT 100"}}
{"id": "test_1780", "question": "Wikipedia and Commons pages in English or German about the movie with IMDb ID tt0379060", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?page WHERE {\n  ?item wdt:P345 \"tt0379060\" .\n  ?page schema:about ?item ; schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" )\n}", "paraphrases": ["What English or German-language Wikipedia and Commons pages are about the film Zenon: Z3 (IMDb tt0379060)?", "Show me all English and German pages related to the IMDb entry tt0379060."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0379060\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1781", "question": "Music singles with \"Montana\" in the title, their performers, genres, and release dates.", "sparql": "SELECT DISTINCT ?single ?singleLabel ?performer ?performerLabel ?genre ?genreLabel ?publicationDate WHERE { ?single wdt:P31 wd:Q134556 . ?single rdfs:label ?singleLabel . FILTER(REGEX(?singleLabel, \"Montana\", \"i\")) OPTIONAL { ?single wdt:P175 ?performer . ?performer rdfs:label ?performerLabel . } OPTIONAL { ?single wdt:P136 ?genre . ?genre rdfs:label ?genreLabel . } OPTIONAL { ?single wdt:P577 ?publicationDate . } } LIMIT 10", "paraphrases": ["What are the music singles that have \"Montana\" in their name, and who performed them, what genre are they, and when were they released?", "Show me all music singles related to Montana, including their performers, genres, and publication dates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q134556> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P175> ?var2 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var4 . } FILTER ( ( REGEX ( ?var1Label , \"Montana\", \"i\" ) ) ) . FILTER ( ( REGEX ( ?var2Label , \"string1\", \"i\" ) ) ) . } LIMIT 10"}}
{"id": "test_1782", "question": "TV programs and the channels that broadcast them", "sparql": "SELECT ?program ?channel WHERE { ?program wdt:P3301 ?channel . }", "paraphrases": ["Which TV programs are broadcast on which channels?", "List all media programs along with the platforms or channels that broadcast them."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://pt.dbpedia.org/property/channel> ?var2 . }"}}
{"id": "test_1783", "question": "Characters appearing in the 1990 Teenage Mutant Ninja Turtles movie.", "sparql": "SELECT ?character ?characterLabel WHERE { ?character wdt:P1441 wd:Q58439 . ?character rdfs:label ?characterLabel . FILTER(LANG(?characterLabel) = \"en\") } LIMIT 100", "paraphrases": ["Who are the characters featured in the 1990 Teenage Mutant Ninja Turtles film?", "List the English names of all fictional and real characters that appear in the 1990 Teenage Mutant Ninja Turtles movie."], "info": {"raw_sparql": "SELECT * WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P1441> <http://www.wikidata.org/entity/Q58439> . } LIMIT 100"}}
{"id": "test_1784", "question": "List of chemical elements in Wikidata", "sparql": "SELECT ?element WHERE { ?element wdt:P31 wd:Q11344 . } LIMIT 100", "paraphrases": ["What are some examples of chemical elements?", "Show me 100 items that are classified as chemical elements."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11344> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_1785", "question": "List of chemical elements in Wikidata", "sparql": "SELECT ?element ?elementLabel WHERE { ?element wdt:P31 wd:Q11344 . ?element rdfs:label ?elementLabel . FILTER(LANG(?elementLabel) = 'en') }", "paraphrases": ["What are the chemical elements?", "Show me the names of all chemical elements, such as hydrogen and oxygen."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q11344> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_1786", "question": "Chemical elements, atomic number, mass, source URL", "sparql": "SELECT ?elementLabel ?atomicNumber ?mass ?sourceLabel ?referenceUrl WHERE { ?element wdt:P31 wd:Q11344 . ?element wdt:P1086 ?atomicNumber . ?element p:P2067 ?massStatement . ?massStatement ps:P2067 ?mass . OPTIONAL { ?massStatement prov:wasDerivedFrom ?ref . ?ref pr:P248 ?source . ?ref pr:P854 ?referenceUrl . ?source rdfs:label ?sourceLabel . FILTER(LANG(?sourceLabel) = \"en\") } ?element rdfs:label ?elementLabel . FILTER(LANG(?elementLabel) = \"en\") } ORDER BY ASC(?atomicNumber)", "paraphrases": ["What are the chemical elements, their atomic numbers, masses, and the source URLs for those masses?", "List all chemical elements with their atomic numbers and atomic masses, and include the reference source and URL if available, sorted by atomic number."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var3Label ?var4 ?var5 ?var5Label ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11344> . ?var1 <http://www.wikidata.org/prop/direct/P1086> ?var7 . ?var1 <http://www.wikidata.org/prop/P2067> ?var8 . ?var8 <http://www.wikidata.org/prop/statement/P2067> ?var4 . ?var8 <http://www.w3.org/ns/prov#wasDerivedFrom> ?var9 . ?var9 <http://www.wikidata.org/prop/reference/P248> ?var5 . ?var5 <http://www.wikidata.org/prop/reference/P854> ?var6 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var7 )"}}
{"id": "test_1787", "question": "What is the InChIKey and English label of adenosine triphosphate?", "sparql": "SELECT (STR(?item) AS ?itemStr) ?inchiKey (STR(?label) AS ?labelStr) WHERE { VALUES (?item) { (wd:Q80863) } ?item wdt:P31 wd:Q113145171 . OPTIONAL { ?item rdfs:label ?label . FILTER(LANG(?label) = \"en\") } OPTIONAL { ?item wdt:P235 ?inchiKey } }", "paraphrases": ["Can you provide the English name and InChIKey for the chemical compound adenosine triphosphate?", "Show me the English label and InChIKey for ATP (Q80863), confirming it is classified as a type of chemical entity in Wikidata."], "info": {"raw_sparql": "SELECT( STR ( ?var1 ) AS ?var2 ) ?var3 ( STR ( ?var4 ) AS ?var5 ) WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q80863> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11173> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P235> ?var3 . } }"}}
{"id": "test_1788", "question": "Which property is most commonly used to classify chemical elements in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nSELECT ?property(COUNT(?property) AS ?count) WHERE {\n  ?item ?propertyItem wd:Q11344 .\n  ?property wikibase:directClaim ?propertyItem .\n  ?property rdf:type wikibase:Property .\n}\nGROUP BY ?property\nORDER BY DESC(?count)\nLIMIT 1", "paraphrases": ["What is the most frequently used \"direct claim\" property for identifying entities as chemical elements?", "Among all properties used to state that something is a chemical element, which one appears the most often?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q11344> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_1789", "question": "What is the most specific shared category in the Wikidata hierarchy that both Gina Torres and Panama belong to, based on their class ancestry?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?ancestor ( ?dist1 + ?dist2 AS ?sum ) WHERE {\n  {\n    SELECT ?ancestor ( COUNT( ?mid ) AS ?dist1 ) WHERE {\n      wd:Q241471 wdt:P31 ?start1 .\n      ?start1 wdt:P279 * ?mid .\n      ?mid wdt:P279 + ?ancestor .\n    }\n    GROUP BY ?ancestor\n    ORDER BY ASC ( ?dist1 )\n    LIMIT 10\n  }\n  {\n    SELECT ?ancestor ( COUNT( ?mid ) AS ?dist2 ) WHERE {\n      wd:Q804 wdt:P31 ?start2 .\n      ?start2 wdt:P279 * ?mid .\n      ?mid wdt:P279 + ?ancestor .\n    }\n    GROUP BY ?ancestor\n    ORDER BY ASC ( ?dist2 )\n    LIMIT 10\n  }\n}\nORDER BY ASC ( ?sum )\nLIMIT 1", "paraphrases": ["Which entity is the closest common ancestor in the subclass hierarchy between the human Gina Torres and the country Panama, measured by the sum of subclass steps?", "Find the entity that minimizes the total number of subclass relationships from the types of Gina Torres and Panama \u2014 what is it?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q241471> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q804> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1790", "question": "List all musical groups, rock bands, and musical duos with their labels.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?band ?label WHERE {\n  {\n    ?band wdt:P31 wd:Q215380 .\n  } UNION {\n    ?band wdt:P31 wd:Q5741069 .\n  } UNION {\n    ?band wdt:P31 wd:Q9212979 .\n  }\n  ?band rdfs:label ?label .\n}\nORDER BY ASC ( ?label )\nLIMIT 250", "paraphrases": ["What are the names (labels) of all musical groups, rock bands, and musical duos in Wikidata?", "Show me up to 250 musical ensembles including bands, rock bands, and duos, along with their names in any language, sorted alphabetically."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ?var3Label WHERE { { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q215380> . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } UNION { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5741069> . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } UNION { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19184926> . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } } ORDER BY ASC( ?var2Label ) OFFSET 0 LIMIT 250"}}
{"id": "test_1791", "question": "Metadata of the statement that hepatitis C is a subclass of viral infectious disease", "sparql": "SELECT ?property ?value WHERE { s:Q154869-F69C6AB9-0A67-41CF-BBE9-1A12E1EB744B ?property ?value . }", "paraphrases": ["What properties and values are associated with the statement that hepatitis C is a subclass of viral infectious disease?", "Show me all the details of the statement asserting that hepatitis C is a viral infectious disease, including its rank and source."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q154869-F69C6AB9-0A67-41CF-BBE9-1A12E1EB744B> ?var1 ?var2 . }"}}
{"id": "test_1792", "question": "Common country of Seattle Seahawks and Georgia (U.S. state)", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?country WHERE {\n  wd:Q221878 wdt:P131 * ?state .\n  ?state wdt:P17 ?country .\n  wd:Q1428 wdt:P17 ?country .\n}", "paraphrases": ["In which country are both the Seattle Seahawks and the state of Georgia located?", "Find the country that both the Seattle Seahawks and the state of Georgia belong to."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q221878> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1428> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1793", "question": "What is the German term for the class of television series in Wikidata?", "sparql": "SELECT ?class WHERE { ?class rdfs:label \"Fernsehserie\"@de . ?instance wdt:P31 ?class . } LIMIT 1", "paraphrases": ["Which type in Wikidata is labeled \"Fernsehserie\" in German and has examples?", "Can you find a German-labeled category for TV shows that has actual instances listed?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"string1\"@de . ?var2 <http://www.wikidata.org/prop/direct/P31> ?var1 . } LIMIT 1"}}
{"id": "test_1794", "question": "What entity and property does the statement with ID Q24773691-8C408AA4-3D0C-46DB-BF15-CE3BCD40D90D belong to?", "sparql": "PREFIX s: <http://www.wikidata.org/entity/statement/>\nSELECT ?subject ?property WHERE {\n  ?subject ?property s:Q24773691-8C408AA4-3D0C-46DB-BF15-CE3BCD40D90D .\n}", "paraphrases": ["Which protein subunit has a \"has part(s)\" relationship recorded in the statement with identifier Q24773691-8C408AA4-3D0C-46DB-BF15-CE3BCD40D90D?", "Find the subject and property linked to the Wikidata statement s:Q24773691-8C408AA4-3D0C-46DB-BF15-CE3BCD40D90D."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q24773691-8C408AA4-3D0C-46DB-BF15-CE3BCD40D90D> . }"}}
{"id": "test_1795", "question": "What are the subclasses of musical instruments?", "sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 wdt:P279 wd:Q34379 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") }", "paraphrases": ["List all types of musical instruments and their names in English.", "Which items are categorized as types of musical instruments according to Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { } ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q34379> . }"}}
{"id": "test_1796", "question": "What are all the properties and values associated with the narrative motif \"punishment: fettering\"?", "sparql": "SELECT ?property ?value WHERE { wd:Q124035018 ?property ?value .}", "paraphrases": ["Show me all the information known about the folkloric motif Q434 in Wikidata.", "List all the attributes and their values for the item \"punishment: fettering\" from Thompson's Motif-Index."], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/prop/direct/Q434290> ?var1 ?var2 . }"}}
{"id": "test_1797", "question": "What is the budget of the film Scarface?", "sparql": "SELECT ?filmLabel ?budget WHERE { wd:Q47075 wdt:P2130 ?budget . wd:Q47075 rdfs:label ?filmLabel . FILTER(LANG(?filmLabel) = \"en\") }", "paraphrases": ["How much money was spent to produce Scarface?", "What is the capital cost of the movie Scarface?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { <http://www.wikidata.org/entity/Q5269743> <http://www.wikidata.org/prop/direct/P2130> * ?var1 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P2130> * <http://www.wikidata.org/entity/Q5269743> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2130> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1798", "question": "Chemical elements ordered by atomic number, their symbols, and what they are named after.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?atomicNumber ?element ?symbol ?elementLabel ?namedAfter ?namedAfterLabel WHERE {\n  ?element wdt:P31 wd:Q11344 .\n  ?element wdt:P246 ?symbol .\n  ?element wdt:P1086 ?atomicNumber .\n  ?element wdt:P138 ?namedAfter .\n  ?element rdfs:label ?elementLabel .\n  ?namedAfter rdfs:label ?namedAfterLabel .\n  FILTER(LANG(?elementLabel) = \"en\")\n  FILTER(LANG(?namedAfterLabel) = \"en\")\n}\nORDER BY ASC(?atomicNumber)\nLIMIT 1000", "paraphrases": ["What are the chemical elements, their atomic numbers, symbols, and the people or places they are named after, listed in order of increasing atomic number?", "List all chemical elements with their atomic number, symbol, name, and namesake in English, sorted from hydrogen to oganesson."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label ?var2Label ?var4 ?var4Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11344> . ?var2 <http://www.wikidata.org/prop/direct/P246> ?var3 . ?var2 <http://www.wikidata.org/prop/direct/P1086> ?var1 . ?var2 <http://www.wikidata.org/prop/direct/P138> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv\", \"en\". } } ORDER BY ASC( ?var1 ) LIMIT 1000"}}
{"id": "test_1799", "question": "What are some alkanes and their chemical formulas and InChIKeys?", "sparql": "SELECT DISTINCT ?alkane ?alkaneLabel ?formula ?inchiKey WHERE { ?alkane wdt:P279 wd:Q41581 . OPTIONAL { ?alkane wdt:P274 ?formula . } OPTIONAL { ?alkane wdt:P235 ?inchiKey . } ?alkane rdfs:label ?alkaneLabel . FILTER(LANG(?alkaneLabel) = \"en\") }", "paraphrases": ["Can you list common alkanes along with their molecular formulas and InChIKey identifiers?", "Which chemical compounds are classified as alkanes, and what are their formulas and InChIKeys?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q41581> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P231> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P274> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P235> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1800", "question": "English label, description, and image of the musical group Winning Team.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?label ?description ?image WHERE {\n  OPTIONAL {\n    wd:Q20915688 rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n  OPTIONAL {\n    wd:Q20915688 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q20915688 schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["What is the English name, description, and image of the musical group Winning Team?", "Please provide the English label, description, and image for the musical group Winning Team."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q20915688> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q20915688> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q20915688> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_1801", "question": "Literary works with titles in English, French, Spanish, or Italian.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?work ( SAMPLE( ?title ) AS ?titleLabel ) WHERE {\n  VALUES ?lang {\n    \"it\" \"en\" \"fr\" \"es\"\n  }\n  ?work ( wdt:P31 / wdt:P279 * ) wd:Q7725634 .\n  ?work wdt:P1476 ?title .\n  FILTER ( LANG( ?title ) = ?lang )\n}\nGROUP BY ?work", "paraphrases": ["What is one title in English, French, Spanish, or Italian for each literary work in Wikidata?", "Show me one title per literary work, preferring titles in English, French, Spanish, or Italian \u2014 if multiple titles exist for a work, pick any one in those languages."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var3Label ) WHERE { VALUES ( ?var4 ) { ( \"it\" ) ( \"en\" ) ( \"fr\" ) ( \"es\" ) } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7725634> . ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = ?var4 ) ) ) . } GROUP BY ?var1"}}
{"id": "test_1802", "question": "What entity and property does the statement s:Q28609453-33380392-E4FB-4926-89C1-D9129264F2B4 refer to?", "sparql": "SELECT ?entity ?property WHERE { ?entity ?property s:Q28609453-33380392-E4FB-4926-89C1-D9129264F2B4 .}", "paraphrases": ["Which item and claim type are linked to this Wikidata statement identifier?", "For the statement about Phosphatidylinositol phosphate kinases, what is the subject and property of the claim?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q28609453-33380392-E4FB-4926-89C1-D9129264F2B4> . }"}}
{"id": "test_1803", "question": "What drugs have English names starting with \"UB\"?", "sparql": "SELECT DISTINCT ?drug ?label (REPLACE(STR(?drug), \".*Q\", \"Q\") AS ?qid) WHERE { ?drug wdt:P279* wd:Q8386 . ?drug rdfs:label ?label . FILTER(LANG(?label) = \"en\") . FILTER(STRSTARTS(LCASE(?label), LCASE(\"UB\"))) } LIMIT 15", "paraphrases": ["Can you list the drugs or drug subclasses in Wikidata whose English labels begin with \"UB\"?", "Show me the Q-IDs and labels of all drugs in Wikidata that are labeled in English and start with \"UB\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ( REPLACE ( STR ( ?var1 ) , \".*Q\", \"Q\" ) AS ?var3 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q8386> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . FILTER ( ( STRSTARTS ( LCASE ( ?var2 ) , LCASE ( \"235434\" ) ) ) ) . } LIMIT 15"}}
{"id": "test_1804", "question": "Which organizations have Twitter/X usernames including SpaceX, Wikimedia, Wikipedia, outreachy, mySociety, or wikisource?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    'SpaceX' 'Wikimedia' 'Wikipedia' 'outreachy' 'mySociety' 'wikisource'\n  }\n}\nORDER BY ?username", "paraphrases": ["What are the Wikidata entities corresponding to the Twitter handles 'SpaceX', 'Wikimedia', 'Wikipedia', 'outreachy', 'mySociety', and 'wikisource'?", "List the entities on Wikidata that are associated with the Twitter usernames: SpaceX, Wikimedia, Wikipedia, outreachy, mySociety, and wikisource."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"SpaceX\" ) ( \"string2\" ) ( \"Padanox\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"ChaireDami\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"K_rho\" ) ( \"Wikimedia\" ) ( \"gsoc\" ) ( \"outreachy\" ) ( \"GSoC\" ) ( \"Outreachy\" ) ( \"string11\" ) ( \"string12\" ) ( \"string13\" ) ( \"Wikipedia\" ) ( \"string14\" ) ( \"3emeDroite\" ) ( \"string15\" ) ( \"string16\" ) ( \"trouteyes\" ) ( \"string17\" ) ( \"string18\" ) ( \"string19\" ) ( \"string20\" ) ( \"Rennesplus\" ) ( \"BBolander\" ) ( \"DogUmwelt\" ) ( \"artnoveau\" ) ( \"KialoHQ\" ) ( \"string21\" ) ( \"string22\" ) ( \"nojhan\" ) ( \"string23\" ) ( \"Pyb75\" ) ( \"string24\" ) ( \"RocksDB\" ) ( \"krmaher\" ) ( \"string25\" ) ( \"string26\" ) ( \"wmcon\" ) ( \"dimi_z\" ) ( \"string27\" ) ( \"belett\" ) ( \"wikisource\" ) ( \"numerennes\" ) ( \"string28\" ) ( \"wikiwarsgg\" ) ( \"string29\" ) ( \"wikimedia\" ) ( \"mySociety\" ) ( \"TrizekWP\" ) ( \"string30\" ) ( \"Mac_Picsou\" ) ( \"Gallorum\" ) ( \"Patafisik\" ) ( \"string31\" ) ( \"string32\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_1805", "question": "Does Gilligan's Island have an episode list on Wikipedia?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q1141741 wdt:P1811 wd:Q1815765\n}", "paraphrases": ["Is there a Wikipedia article listing the episodes of the TV series Gilligan's Island?", "Confirm whether the TV show Gilligan's Island is linked to its episode list in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q1815765> . }"}}
{"id": "test_1806", "question": "Episodes in Wikidata with their English titles", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?episode ?label WHERE {\n  ?episode wdt:P31 wd:Q1983062 .\n  ?episode rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}\nLIMIT 10000", "paraphrases": ["What are the English titles of all episodes listed in Wikidata?", "List all episodes and their English names from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1983062> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 10000"}}
{"id": "test_1807", "question": "Radio and TV stations licensed to broadcast in Chicago", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?station ?statement WHERE {\n  ?station p:P1408 ?statement .\n  ?statement ps:P1408 wd:Q1297 .\n}\nLIMIT 101", "paraphrases": ["Which radio and TV stations are licensed to broadcast to Chicago?", "List the radio and TV stations that have a license to broadcast to Chicago, along with their statement identifiers."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P1408> <http://www.wikidata.org/entity/Q1297> . ?var1 <http://www.wikidata.org/prop/P1408> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_1808", "question": "What entity and property are associated with the statement s:Q937-075AFDBC-7E85-428C-A407-4B45211B3C28?", "sparql": "PREFIX s: <http://www.wikidata.org/entity/statement/>\nSELECT ?item ?property WHERE {\n  ?item ?property s:Q937-075AFDBC-7E85-428C-A407-4B45211B3C28 .\n}", "paraphrases": ["Which person and property does the Wikidata statement s:Q937-075AFDBC-7E85-428C-A407-4B45211B3C28 refer to?", "Show me the subject entity and property that generated the statement s:Q937-075AFDBC-7E85-428C-A407-4B45211B3C28."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q170990-191BE46A-10B4-41A2-B363-D7C768EFEAC3> . }"}}
{"id": "test_1809", "question": "Is there a TV series with an episode list on the Wikipedia page \"list of The Ellen DeGeneres Show episodes\"?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?series wdt:P1811 wd:Q16992411 .\n}", "paraphrases": ["Does The Ellen DeGeneres Show have its episode list linked in Wikidata?", "Confirm that the Wikipedia article listing episodes of The Ellen DeGeneres Show is connected to the TV series in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q16992411> . }"}}
{"id": "test_1810", "question": "What entity and property are linked to the statement with ID Q18053710-3CF573B5-BF66-4F04-A210-B2D072BB2C6D?", "sparql": "PREFIX s: <http://www.wikidata.org/entity/statement/>\nSELECT ?item ?statementProperty WHERE {\n  ?item ?statementProperty s:Q18053710-3CF573B5-BF66-4F04-A210-B2D072BB2C6D .\n}", "paraphrases": ["Which item and statement property does the Wikidata statement s:Q18053710-3CF573B5-BF66-4F04-A210-B2D072BB2C6D belong to?", "Show me the subject and property of the Wikidata statement identified by s:Q18053710-3CF573B5-BF66-4F04-A210-B2D072BB2C6D."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q18053710-3CF573B5-BF66-4F04-A210-B2D072BB2C6D> . }"}}
{"id": "test_1811", "question": "What diseases are associated with oncology as their medical specialty?", "sparql": "SELECT DISTINCT ?disease WHERE { ?disease wdt:P31 wd:Q12136 . ?disease wdt:P1995 ?specialty . ?specialty wdt:P361* wd:Q162555 . }", "paraphrases": ["Which diseases are treated by specialties that fall under oncology?", "List all diseases that belong to medical fields related to cancer treatment."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q12136> . ?var1 <http://www.wikidata.org/prop/direct/P1995> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P361> * <http://www.wikidata.org/entity/Q162555> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10000"}}
{"id": "test_1812", "question": "What country do Mount Agamenticus and Dallas/Fort Worth International Airport both belong to?", "sparql": "SELECT ?country WHERE { wd:Q4691173 wdt:P17 ?country . wd:Q459096 wdt:P17 ?country . }", "paraphrases": ["In which country are both Mount Agamenticus and Dallas/Fort Worth International Airport located?", "Find the common country where Mount Agamenticus and Dallas/Fort Worth International Airport are situated."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q4691173> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q459096> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1813", "question": "Albums released in 2017 or later with their performers", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?album ?albumLabel ?releaseDate ?performer ?performerLabel WHERE {\n  ?album wdt:P31 wd:Q482994 .\n  ?album wdt:P577 ?releaseDate .\n  BIND(YEAR(?releaseDate) AS ?year)\n  FILTER(?year >= 2017)\n  OPTIONAL {\n    ?album wdt:P175 ?performer .\n  }\n  ?album rdfs:label ?albumLabel .\n  FILTER(LANG(?albumLabel) = \"en\")\n  OPTIONAL {\n    ?performer rdfs:label ?performerLabel .\n    FILTER(LANG(?performerLabel) = \"en\")\n  }\n}\nLIMIT 5", "paraphrases": ["What are the albums released since 2017, and who performed them?", "List the English titles of music albums released from 2017 onwards, along with their performers if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } BIND ( YEAR ( ?var2 ) AS ?var4 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q482994> . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var2 . FILTER ( ( ( ?var4 >= \"2017\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P175> ?var3 . } } LIMIT 5"}}
{"id": "test_1814", "question": "What are the English and German Wikipedia pages for the film with IMDb ID tt0072752?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?wikipediaPage WHERE {\n  ?item wdt:P345 \"tt0072752\" .\n  ?wikipediaPage schema:about ?item .\n  {\n    ?wikipediaPage schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipediaPage schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Show me the Wikipedia articles in English and German about the movie \"La b\u00eate\" (IMDb: tt0072752).", "Find the Wikipedia links in English and German for the film identified by IMDb ID tt0072752."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0072752\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1815", "question": "How many gene products are encoded by the NCAN gene?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ( COUNT( ?geneProduct ) AS ?count ) WHERE {\n  ?geneProduct wdt:P702 wd:Q15996896 .\n}", "paraphrases": ["What is the number of proteins encoded by the NCAN gene?", "Count the gene products that are encoded by the NCAN gene."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P702> <http://www.wikidata.org/entity/Q15996896> . }"}}
{"id": "test_1816", "question": "Multilingual definitions of protein superfamily", "sparql": "SELECT ?description WHERE { wd:Q7251477 schema:description ?description .}", "paraphrases": ["What are the descriptions of the protein superfamily in different languages?", "Show me the definitions of protein superfamily in various languages."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q7251477> ?var1 ?var2 . }"}}
{"id": "test_1817", "question": "What biological processes does the protein encoded by the ZNF438 gene participate in?", "sparql": "SELECT ?process WHERE { wd:Q18053449 wdt:P688 ?protein . ?protein wdt:P682 ?process . } LIMIT 10000", "paraphrases": ["Which transcription-related functions are linked to the ZNF438 gene through its protein product?", "Can you list the biological processes regulated by the protein produced by the ZNF438 gene?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P128> <http://www.wikidata.org/entity/Q18053449> . } LIMIT 10000"}}
{"id": "test_1818", "question": "Research papers authored by Miriam Redi without a main subject.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?work ?workLabel WHERE {\n  ?work wdt:P50 wd:Q43372605 .\n  FILTER(NOT EXISTS {\n    ?work wdt:P921 ?mainSubject\n  })\n  OPTIONAL {\n    ?work rdfs:label ?workLabel .\n    FILTER(LANG(?workLabel) = \"en\")\n  }\n}\nORDER BY ?workLabel", "paraphrases": ["Which research papers written by Miriam Redi do not have a defined main topic?", "List all works authored by Miriam Redi that are not assigned a main subject in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( ?var1 AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q43372605> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P921> ?var3 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,nl,no,ru,sv,zh\". } } ORDER BY DESC( ?var4 )"}}
{"id": "test_1819", "question": "How many television series episodes have a director listed in Wikidata, and how many do not?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?hasDirector ( COUNT( ?episode ) AS ?count ) WHERE {\n  ?episode wdt:P31 wd:Q21191270 .\n  OPTIONAL {\n    ?episode wdt:P57 ?director .\n    BIND( \"with\" AS ?hasDirFlag )\n  }\n  BIND( COALESCE ( ?hasDirFlag , \"without\" ) AS ?hasDirector )\n}\nGROUP BY ?hasDirector\nORDER BY ASC ( ?hasDirector )", "paraphrases": ["TV episodes with and without directors", "Show me the count of television series episodes that have a director versus those that don\u2019t."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q21191270> . OPTIONAL { BIND ( \"with\" AS ?var4 ). ?var2 <http://www.wikidata.org/prop/direct/P57> [] . } BIND ( COALESCE ( ?var4 , \"without\" ) AS ?var1 ). } GROUP BY ?var1 ORDER BY ASC( ?var1 )"}}
{"id": "test_1820", "question": "Radio stations with sport format", "sparql": "SELECT ?radioStation (SAMPLE(?radioStationLabel) AS ?label) ?statement WHERE { ?statement ps:P415 wd:Q349 . ?radioStation p:P415 ?statement . ?radioStation rdfs:label ?radioStationLabel . } GROUP BY ?radioStation ?statement", "paraphrases": ["Which radio stations broadcast sports content?", "List radio stations that have a sports radio format."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P415> <http://www.wikidata.org/entity/Q349> . ?var1 <http://www.wikidata.org/prop/P415> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_1821", "question": "What is the most specific category that both an airport and a city belong to?", "sparql": "SELECT ?commonSuperclass (?dist1 + ?dist2 AS ?totalDistance)\nWHERE {\n  {\n    SELECT ?commonSuperclass (COUNT(?mid1) AS ?dist1)\n    WHERE {\n      wd:Q1248784 wdt:P279* ?mid1 .\n      ?mid1 wdt:P279* ?commonSuperclass .\n      FILTER(?commonSuperclass != wd:Q1248784)\n    }\n    GROUP BY ?commonSuperclass\n  }\n  {\n    SELECT ?commonSuperclass (COUNT(?mid2) AS ?dist2)\n    WHERE {\n      wd:Q515 wdt:P279* ?mid2 .\n      ?mid2 wdt:P279* ?commonSuperclass .\n      FILTER(?commonSuperclass != wd:Q515)\n    }\n    GROUP BY ?commonSuperclass\n  }\n}\nORDER BY ASC(?totalDistance)\nLIMIT 1", "paraphrases": ["What shared superclass has the shortest combined distance from the concepts of 'airport' and 'city' in Wikidata's taxonomy?", "Find the most precise common category that includes both airports and cities based on their subclass relationships."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3545312> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q108155> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1822", "question": "What is the most specific common superclass of Anita Borg and Pavel Durov in Wikidata's ontology?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonAncestor ?commonAncestorLabel WHERE {\n  wd:Q11483 wdt:P31 ?class1 .\n  wd:Q149067 wdt:P31 ?class2 .\n  ?class1 wdt:P279 * ?commonAncestor .\n  ?class2 wdt:P279 * ?commonAncestor .\n  ?commonAncestor rdfs:label ?commonAncestorLabel .\n  FILTER(LANG(?commonAncestorLabel) = \"en\")\n}\nORDER BY ?commonAncestor\nLIMIT 1", "paraphrases": ["What category do both Anita Borg and Pavel Durov belong to at the highest level of specificity in their class hierarchy?", "Find the lowest common ancestor in the subclass hierarchy for the classes that Anita Borg and Pavel Durov are instances of."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q149067> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q11483> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1823", "question": "What is the most specific category that both Panama and Los Angeles International Airport belong to through their types?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?common ( ?dist1 + ?dist2 AS ?total ) WHERE {\n  {\n    SELECT ?common ( COUNT( ?mid1 ) AS ?dist1 ) WHERE {\n      wd:Q3624078 wdt:P279 * ?mid1 .\n      ?mid1 wdt:P279 + ?common .\n      FILTER ( ?common != wd:Q3624078 )\n    }\n    GROUP BY ?common\n    HAVING ( COUNT( ?mid1 ) <= 10 )\n  }\n  {\n    SELECT ?common ( COUNT( ?mid2 ) AS ?dist2 ) WHERE {\n      wd:Q1248784 wdt:P279 * ?mid2 .\n      ?mid2 wdt:P279 + ?common .\n      FILTER ( ?common != wd:Q1248784 )\n    }\n    GROUP BY ?common\n    HAVING ( COUNT( ?mid2 ) <= 10 )\n  }\n}\nORDER BY ASC ( ?total )\nLIMIT 1", "paraphrases": ["Which subclass is the closest common ancestor of Panama (as a country) and Los Angeles International Airport (as an airport) in Wikidata\u2019s hierarchy?", "Find the shared category in Wikidata that is reachable in the fewest steps from both the type of Panama and the type of Los Angeles International Airport."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q8731> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q804> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1824", "question": "Films with comedy genre, ordered by release date, with titles and publication years.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?film ?filmLabel ?genre ?genreLabel ?title ?date WHERE {\n  ?film wdt:P31 wd:Q11424 ; wdt:P577 ?date .\n  ?film rdfs:label ?filmLabel .\n  FILTER ( LANG( ?filmLabel ) = \"en\" ) OPTIONAL {\n    ?film wdt:P136 ?genre .\n    ?genre rdfs:label ?genreLabel .\n    FILTER ( LANG( ?genreLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?film wdt:P1476 ?title .\n    FILTER ( LANG( ?title ) = \"en\" )\n  }\n  FILTER ( ?genreLabel = \"comedy\" @en )\n}\nORDER BY ASC ( ?date )", "paraphrases": ["What are the comedy films released over time, along with their titles and release dates?", "List comedy films with their English titles and release dates, sorted from oldest to newest."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> ; <http://www.wikidata.org/prop/direct/P577> ?var4 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var3 . } FILTER ( ( ( ?var2Label = \"comedy\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"uk,en\". } } ORDER BY ASC( ?var4 )"}}
{"id": "test_1825", "question": "List all biological pathways with their WikiPathways IDs and the genes or molecular components they include.", "sparql": "SELECT ?pathway ?wikiPathwaysId ?component WHERE { ?pathway wdt:P2410 ?wikiPathwaysId . ?pathway wdt:P527 ?component . } ORDER BY ?pathway ?wikiPathwaysId ?component", "paraphrases": ["Which genes are part of each biological pathway that has a WikiPathways identifier?", "Show me the mapping between WikiPathways identifiers and the genes or molecules that are part of each corresponding biological pathway."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2410> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P527> ?var3 . }"}}
{"id": "test_1826", "question": "Observation towers in the Czech Republic and their administrative regions.", "sparql": "SELECT ?tower ?towerLabel ?administrativeEntityLabel WHERE { ?tower wdt:P31 wd:Q1440300 . ?tower wdt:P17 wd:Q213 . ?tower wdt:P131 ?administrativeEntity . ?tower rdfs:label ?towerLabel . ?administrativeEntity rdfs:label ?administrativeEntityLabel . FILTER(LANG(?towerLabel) = \"en\") FILTER(LANG(?administrativeEntityLabel) = \"en\")}", "paraphrases": ["What are the names of observation towers in the Czech Republic, and in which towns or districts are they located?", "List all observation towers in the Czech Republic along with the administrative areas they belong to, using their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label WHERE { { SELECT ?var1 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1440300> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q213> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var3 . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } }"}}
{"id": "test_1827", "question": "What is the most specific category that both Slidell and Punta Islita Airport belong to?", "sparql": "SELECT ?commonAncestor (COUNT(?step1) + COUNT(?step2) AS ?totalDistance)\nWHERE {\n  # Ancestors of Slidell's class\n  wd:Q1093829 wdt:P279+ ?step1 .\n  ?step1 wdt:P279* ?commonAncestor .\n  \n  # Ancestors of Punta Islita Airport's class\n  wd:Q1248784 wdt:P279+ ?step2 .\n  ?step2 wdt:P279* ?commonAncestor .\n  \n  # Avoid the original classes\n  FILTER(?commonAncestor != wd:Q1093829)\n  FILTER(?commonAncestor != wd:Q1248784)\n}\nGROUP BY ?commonAncestor\nORDER BY ASC(?totalDistance)\nLIMIT 1", "paraphrases": ["What is the common superclass of the category of Slidell and the category of Punta Islita Airport?", "What is the highest-level shared classification between a city in the United States and an airport?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q988156> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3545312> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1828", "question": "Swedish minor urban areas with multiple coordinates in Wikidata", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?coord WHERE {\n  ?area wdt:P776 ?code ; wdt:P625 ?coord .\n  {\n    SELECT ?area ( COUNT( ?coord ) AS ?count ) WHERE {\n      ?area wdt:P776 ?code ; wdt:P625 ?coord .\n    }\n    GROUP BY ?area\n    HAVING ( ?count > 1 )\n  }\n}", "paraphrases": ["Which coordinate locations are associated with Swedish minor urban areas that have more than one coordinate assigned in Wikidata?", "Show all coordinates that are linked to Swedish minor urban area codes that appear more than once with different coordinates in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P776> ?var3 ; <http://www.wikidata.org/prop/direct/P625> ?var1 . { SELECT ?var2 ( COUNT ( ?var2 ) AS ?var4 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P776> ?var3 . ?var2 <http://www.wikidata.org/prop/direct/P625> ?var1 . } GROUP BY ?var2 HAVING ( ( ?var4 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) } BIND ( ?var2 AS ?var5 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv\". } }"}}
{"id": "test_1829", "question": "German labels of properties typically used for Wikipedia categories.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?property ?label WHERE {\n  wd:Q4167836 wdt:P1963 ?property .\n  ?property rdfs:label ?label .\n  FILTER(LANG(?label) = \"de\")\n}\nLIMIT 50", "paraphrases": ["What are the German-language labels of properties that are commonly associated with Wikipedia categories?", "Show me the German names of properties that are usually applied to items in Wikipedia categories."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q4167836> <http://www.wikidata.org/prop/direct/P1963> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"de\" ) ) ) . } LIMIT 50"}}
{"id": "test_1830", "question": "What are the LD50 values for chemical substances in Wikidata?", "sparql": "SELECT ?chemical ?ld50 WHERE { ?chemical wdt:P2240 ?ld50 . }", "paraphrases": ["List chemical compounds and their median lethal doses (LD50).", "Which substances have recorded median lethal dose values, and what are those values?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2241> ?var2 . }"}}
{"id": "test_1831", "question": "Swedish urban areas with codes, coordinates, and instance types", "sparql": "PREFIX pr: <http://www.wikidata.org/prop/reference/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX prov: <http://www.w3.org/ns/prov#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nSELECT ?code ?urbanArea ?urbanAreaLabel ?instanceLabel ?latitude ?longitude ?sourceProject ?source ?referenceUrl WHERE {\n  ?urbanArea wdt:P775 ?code .\n  OPTIONAL {\n    ?urbanArea rdfs:label ?swLabel .\n    FILTER(LANG(?swLabel) = \"sv\")\n  }\n  OPTIONAL {\n    ?urbanArea rdfs:label ?enLabel .\n    FILTER(LANG(?enLabel) = \"en\")\n  }\n  BIND(COALESCE(?swLabel , ?enLabel , STR(?urbanArea)) AS ?urbanAreaLabel)\n  OPTIONAL {\n    ?urbanArea wdt:P31 ?instance .\n    ?instance rdfs:label ?instanceLabel .\n    FILTER(LANG(?instanceLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?urbanArea p:P625 ?coordinateStatement .\n    ?coordinateStatement psv:P625 ?coordinateValue .\n    ?coordinateValue wikibase:geoLatitude ?latitude ; wikibase:geoLongitude ?longitude .\n    OPTIONAL {\n      ?coordinateStatement prov:wasDerivedFrom ?reference .\n      ?reference pr:P143 ?sourceProject ; pr:P248 ?source ; pr:P854 ?referenceUrl .\n    }\n  }\n}\nORDER BY DESC(?code)", "paraphrases": ["What are the Swedish urban areas, their codes, geographic coordinates, and what types of places are they?", "List all Swedish urban areas along with their official Swedish names, urban area codes, latitude and longitude, and their classification (e.g., urban area, minor locality), sorted by code in descending order."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var3Label ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P775> ?var1 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P31> ?var3 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/P625> ?var10 . ?var10 <http://www.wikidata.org/prop/statement/value/P625> ?var11 . ?var11 <http://wikiba.se/ontology#geoLatitude> ?var4 ; <http://wikiba.se/ontology#geoLongitude> ?var5 . OPTIONAL { ?var10 <http://www.w3.org/ns/prov#wasDerivedFrom> ?var6 . ?var6 <http://www.wikidata.org/prop/reference/P143> ?var7 . ?var6 <http://www.wikidata.org/prop/reference/P248> ?var8 . ?var6 <http://www.wikidata.org/prop/reference/P854> ?var9 . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv,en\". } } ORDER BY DESC( ?var1 )"}}
{"id": "test_1832", "question": "What genes and cell types are related to the human GDA gene?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subject ?property WHERE {\n  ?subject ?property wd:Q408846 .\n  FILTER(! STRSTARTS(STR(?property) , \"http://www.wikidata.org/prop/statement/\") && ! STRSTARTS(STR(?property) , \"http://www.wikidata.org/prop/qualifier/\") && ! STRSTARTS(STR(?property) , \"http://www.wikidata.org/prop/reference/\"))\n}", "paraphrases": ["Which genes are orthologous to the human GDA gene, and which cell types express it as a marker?", "Show all direct relationships of the human GDA gene (Q408846), including its orthologs, regulatory microRNAs, and marker cell types."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q408846> . }"}}
{"id": "test_1833", "question": "What are the subclasses of biological process up to two levels deep, and what are their immediate superclasses?", "sparql": "SELECT ?subclass ?subclassLabel ?superclass WHERE { { wd:Q2996394 wdt:P279 ?subclass . } UNION { wd:Q2996394 wdt:P279 ?mid . ?mid wdt:P279 ?subclass . } OPTIONAL { ?subclass wdt:P279 ?superclass . } OPTIONAL { ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") } }", "paraphrases": ["Show me the subcategories of biological process and their parent categories within two levels of hierarchy.", "List the direct and indirect subclasses of biological process along with their direct superclass."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2996394> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Reverse\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1834", "question": "What are the classification, chemical formula, and identifiers for 3-hydroxytetracosanoyl-CoA?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?instanceOfLabel ?subclassOfLabel ?foundInTaxonLabel ?chemicalFormula ?mass ?inchiKey ?smiles ?inchi ?pubchemCid ?uniChemId WHERE {\n  wd:Q27123378 wdt:P31 ?instanceOf ; wdt:P279 ?subclassOf ; wdt:P703 ?foundInTaxon ; wdt:P274 ?chemicalFormula ; wdt:P2067 ?mass ; wdt:P235 ?inchiKey ; wdt:P233 ?smiles ; wdt:P234 ?inchi ; wdt:P662 ?pubchemCid ; wdt:P11089 ?uniChemId .\n  ?instanceOf rdfs:label ?instanceOfLabel\n  FILTER ( LANG( ?instanceOfLabel ) = \"en\" ) ?subclassOf rdfs:label ?subclassOfLabel FILTER ( LANG( ?subclassOfLabel ) = \"en\" ) ?foundInTaxon rdfs:label ?foundInTaxonLabel FILTER ( LANG( ?foundInTaxonLabel ) = \"en\" )\n}", "paraphrases": ["What is the taxon, subclass, and instance type of the chemical compound 3-hydroxytetracosanoyl-CoA, along with its PubChem CID, InChIKey, and chemical formula?", "Please provide the biological context, chemical properties, and database identifiers for 3-hydroxytetracosanoyl-CoA."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q27123378> ?var1 ?var2 . }"}}
{"id": "test_1835", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt0103111?", "sparql": "SELECT ?movie ?wikipediaPage WHERE { ?movie wdt:P345 \"tt0103111\" . ?wikipediaPage schema:about ?movie . { ?wikipediaPage schema:inLanguage \"en\" . } UNION { ?wikipediaPage schema:inLanguage \"de\" . } }", "paraphrases": ["Find the Wikipedia articles in English or German about the movie identified by tt0103111 on IMDb.", "Which Wikipedia pages in English or German discuss the film \"Sorority House Massacre III: Hard to Die\"?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0103111\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1836", "question": "What are pairs of topics that appear together as main subjects in works about types of yeast?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?topic1 ?topic1Label ?topic2 ?topic2Label WHERE {\n  ?work ( wdt:P921 / ( wdt:P279 | wdt:P361 | wdt:P1269 ) + ) wd:Q911712 .\n  ?work wdt:P921 ?topic1 , ?topic2 .\n  FILTER ( ?topic1 != wd:Q911712 ) FILTER ( ?topic2 != wd:Q911712 ) FILTER ( ?topic1 != ?topic2 ) ?topic1 rdfs:label ?topic1Label .\n  ?topic2 rdfs:label ?topic2Label .\n  FILTER ( LANG( ?topic1Label ) = \"en\" ) FILTER ( LANG( ?topic2Label ) = \"en\" )\n}", "paraphrases": ["Which scientific topics are discussed alongside distiller's yeast in the same publications?", "Find all works that have both a yeast-related topic and another subject \u2014 what are those other subjects?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q911712> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P361> +) <http://www.wikidata.org/entity/Q911712> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P1269> +) <http://www.wikidata.org/entity/Q911712> . } ?var3 <http://www.wikidata.org/prop/direct/P921> ?var1 , ?var2 . FILTER ( ( ( <http://www.wikidata.org/entity/Q911712> != ?var1 ) && ( <http://www.wikidata.org/entity/Q911712> != ?var2 ) && ( ?var1 != ?var2 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_1837", "question": "What pairs of topics commonly appear together in research works related to biomimetics?", "sparql": "SELECT DISTINCT ?topic1 ?topic1Label ?topic2 ?topic2Label WHERE { ?work wdt:P921 ?topic1 . ?work wdt:P921 ?topic2 . FILTER ( ?topic1 != wd:Q1145644 && ?topic2 != wd:Q1145644 && ?topic1 != ?topic2 ) { ?work wdt:P921 ?topic . ?topic (wdt:P31*/wdt:P279*) wd:Q1145644 . } UNION { ?work wdt:P921 ?topic . ?topic wdt:P361+ wd:Q1145644 . } UNION { ?work wdt:P921 ?topic . ?topic wdt:P1269+ wd:Q1145644 . } OPTIONAL { ?topic1 rdfs:label ?topic1Label . FILTER(LANG(?topic1Label) = \"en\") } OPTIONAL { ?topic2 rdfs:label ?topic2Label . FILTER(LANG(?topic2Label) = \"en\") } }", "paraphrases": ["Which pairs of scientific topics are main subjects of the same works that are connected to biomimetics through subclass, part-of, or facet relationships?", "Show me all distinct pairs of topics (excluding biomimetics itself) that are main subjects of the same works, where at least one topic is a subclass, part, or facet of biomimetics."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1145644> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P361> +) <http://www.wikidata.org/entity/Q1145644> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P1269> +) <http://www.wikidata.org/entity/Q1145644> . } ?var3 <http://www.wikidata.org/prop/direct/P921> ?var1 , ?var2 . FILTER ( ( ( <http://www.wikidata.org/entity/Q1145644> != ?var1 ) && ( <http://www.wikidata.org/entity/Q1145644> != ?var2 ) && ( ?var1 != ?var2 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_1838", "question": "What is the most specific category that both the Taliban and Punta Islita Airport belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?commonSuperclass WHERE {\n  wd:Q42418 wdt:P31 ?type1 .\n  ?type1 wdt:P279 ?commonSuperclass .\n  wd:Q3545312 wdt:P31 ?type2 .\n  ?type2 wdt:P279 ?commonSuperclass .\n}", "paraphrases": ["What do the Taliban and Punta Islita Airport have in common in terms of their classification in Wikidata?", "Which superclass do the types of Taliban and Punta Islita Airport share?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q42418> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3545312> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1839", "question": "What pairs of topics commonly appear together as main subjects in works about non-negative matrix factorization?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?topic1 ?topic1Label ?topic2 ?topic2Label WHERE {\n  {\n    ?work ( wdt:P921 / wdt:P31 * / wdt:P279 * ) wd:Q10843505 .\n  } UNION {\n    ?work ( wdt:P921 / wdt:P361 + ) wd:Q10843505 .\n  } UNION {\n    ?work ( wdt:P921 / wdt:P1269 + ) wd:Q10843505 .\n  }\n  ?work wdt:P921 ?topic1 , ?topic2 .\n  FILTER ( ?topic1 != wd:Q10843505 && ?topic2 != wd:Q10843505 && ?topic1 != ?topic2 ) OPTIONAL {\n    ?topic1 rdfs:label ?topic1Label .\n    FILTER ( LANG( ?topic1Label ) = \"en\" )\n  }\n  OPTIONAL {\n    ?topic2 rdfs:label ?topic2Label .\n    FILTER ( LANG( ?topic2Label ) = \"en\" )\n  }\n}", "paraphrases": ["Which two topics, other than non-negative matrix factorization itself, are frequently co-associated as main subjects in scholarly works related to NMF?", "Show me pairs of research topics that are both main subjects of publications that also involve non-negative matrix factorization, either directly or through related concepts like part-of or facet-of relationships."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q10843505> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P361> +) <http://www.wikidata.org/entity/Q10843505> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P1269> +) <http://www.wikidata.org/entity/Q10843505> . } ?var3 <http://www.wikidata.org/prop/direct/P921> ?var1 , ?var2 . FILTER ( ( ( <http://www.wikidata.org/entity/Q10843505> != ?var1 ) && ( <http://www.wikidata.org/entity/Q10843505> != ?var2 ) && ( ?var1 != ?var2 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_1840", "question": "Number of items about autophagy", "sparql": "SELECT (COUNT(?item) AS ?count) WHERE { ?item wdt:P921 wd:Q288322 .}", "paraphrases": ["How many items on Wikidata have autophagy as their main subject?", "Can you tell me how many scientific articles, books, or other works are primarily about autophagy?"], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P921> <http://www.wikidata.org/entity/Q288322> . }"}}
{"id": "test_1841", "question": "What are the publishers, genres, authors, and characters of the novel \"Life, the Universe and Everything\"?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?bookLabel ?property ?propertyLabel ?value ?valueLabel WHERE {\n  wd:Q721 ?directClaim ?value .\n  ?property wikibase:directClaim ?directClaim .\n  ?value rdfs:label ?valueLabel .\n  wd:Q721 rdfs:label ?bookLabel .\n  FILTER ( LANG( ?valueLabel ) = \"en\" ) FILTER ( LANG( ?bookLabel ) = \"en\" ) FILTER ( ?directClaim != wdt:P1963 )\n}\nLIMIT 20", "paraphrases": ["Which properties (like author or genre) are used to describe the book \"Life, the Universe and Everything\", and what are their values in English?", "Show me the English labels of the values (such as author names or publishers) linked to the book \"Life, the Universe and Everything\", along with the property names that connect them."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { <http://www.wikidata.org/entity/Q721> ?var4 ?var3 . ?var2 ?var5 ?var4 . ?var2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . <http://www.wikidata.org/entity/Q721> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . FILTER ( ( ( ?var4 != <http://www.wikidata.org/prop/direct/P1963> ) ) ) . } LIMIT 20"}}
{"id": "test_1842", "question": "Swedish settlements ending in \"inge\" with their coordinates.", "sparql": "SELECT ?settlement ?settlementLabel ?label ?lang ?last4 ?coord WHERE { ?settlement wdt:P31 wd:Q486972 ; wdt:P17 wd:Q34 ; wdt:P625 ?coord ; rdfs:label ?label . FILTER(LANG(?label) = \"sv\") . BIND(STR(?label) AS ?settlementLabel) . BIND(LANG(?label) AS ?lang) . BIND(SUBSTR(STR(?label), STRLEN(STR(?label)) - 3, 4) AS ?last4) . FILTER(?last4 = \"inge\") . }", "paraphrases": ["Which human settlements in Sweden have names that end with the suffix \"inge\", and what are their geographic coordinates?", "List all Swedish towns and villages whose Swedish-language names end in \"inge\", along with their labels, languages, and coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( STR ( ?var2Label ) AS ?var3 ) ?var4 ?var5 ?var6 ?var7 WHERE { BIND ( SUBSTR ( STR ( ?var2Label ) , ( STRLEN ( STR ( ?var2Label ) ) +\"-3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ,\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var6 ). BIND ( LANG ( ?var2Label ) AS ?var4 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q486972> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q34> ; <http://www.wikidata.org/prop/direct/P625> ?var7 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( ?var6 = \"inge\" ) ) ) . }"}}
{"id": "test_1843", "question": "What item and property correspond to the statement with ID s:Q937-CD15AE8D-589B-4A06-B136-D181FE5FCF08?", "sparql": "SELECT ?item ?property WHERE { ?item ?property s:Q937-CD15AE8D-589B-4A06-B136-D181FE5FCF08 .}", "paraphrases": ["Which entity and property are linked to the statement s:Q937-CD15AE8D-589B-4A06-B136-D181FE5FCF08?", "Show me the subject and predicate of the Wikidata statement s:Q937-CD15AE8D-589B-4A06-B136-D181FE5FCF08."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q27145288-01C5D0B4-450E-444B-8B00-7DF66BF8971E> . }"}}
{"id": "test_1844", "question": "List of chemical substances in Wikidata", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P31 wd:Q79529\n}", "paraphrases": ["What items are classified as chemical substances in Wikidata?", "Show me all entities that are instances of chemical substances."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/entity/P31> <http://www.wikidata.org/entity/P231> . }"}}
{"id": "test_1845", "question": "Image of Dolores Huerta using SNAC ARK ID w69k4xtx", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w69k4xtx\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the Wikimedia Commons image associated with the SNAC ARK ID w69k4xtx?", "Show me the picture of the person whose SNAC ARK ID is w69k4xtx."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w69k4xtx\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_1846", "question": "What is the most specific category that both the Metropolitan Transportation Authority and NPR belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?commonAncestor ?commonAncestorLabel WHERE {\n  VALUES ?commonAncestor {\n    wd:Q106559804\n  }\n  ?commonAncestor rdfs:label ?commonAncestorLabel .\n  FILTER ( LANG( ?commonAncestorLabel ) = \"en\" )\n}", "paraphrases": ["What do the Metropolitan Transportation Authority and NPR have in common in terms of their classification in Wikidata?", "What is the highest-level shared category for NPR and the MTA?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1146109> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q671510> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1847", "question": "What biological pathways in Wikidata have associated WikiPathways IDs?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?pathway ?wpId WHERE {\n  ?pathway wdt:P2410 ?wpId .\n}", "paraphrases": ["List the WikiPathways identifiers for biological pathways in Wikidata.", "Which Wikidata items represent biological pathways and what are their WikiPathways IDs?"], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2410> ?var2 ; <http://www.wikidata.org/prop/direct/P2888> ?var3 . SERVICE <http://sparql.wikipathways.org/> { ?var4 <http://purl.org/dc/elements/1.1/identifier> ?var3 . ?var5 <http://purl.org/dc/terms/isPartOf> ?var4 ; <http://vocabularies.wikipathways.org/wp#bdbEntrezGene> ?var6 . } }"}}
{"id": "test_1848", "question": "Works with two main subjects related to open access, excluding open access itself.", "sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { { ?var3 (wdt:P921 / wdt:P31* / wdt:P279*) wd:Q232932 . } UNION { ?var3 (wdt:P921 / wdt:P361+) wd:Q232932 . } UNION { ?var3 (wdt:P921 / wdt:P1269+) wd:Q232932 . } ?var3 wdt:P921 ?var1 , ?var2 . FILTER ( ( wd:Q232932 != ?var1 ) && ( wd:Q232932 != ?var2 ) && ( ?var1 != ?var2 ) ) OPTIONAL { ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") } OPTIONAL { ?var2 rdfs:label ?var2Label . FILTER(LANG(?var2Label) = \"en\") } }", "paraphrases": ["What pairs of distinct topics are main subjects of works that are about open access or its subclasses, parts, or facets?", "List all pairs of different topics (with English labels) that appear together as main subjects of works connected to open access, but exclude open access as one of the topics."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q29959471> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P361> +) <http://www.wikidata.org/entity/Q29959471> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P1269> +) <http://www.wikidata.org/entity/Q29959471> . } ?var3 <http://www.wikidata.org/prop/direct/P921> ?var1 , ?var2 . FILTER ( ( ( <http://www.wikidata.org/entity/Q29959471> != ?var1 ) && ( <http://www.wikidata.org/entity/Q29959471> != ?var2 ) && ( ?var1 != ?var2 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_1849", "question": "Literary works and their authors", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?work ?workLabel ?author ?authorLabel WHERE {\n  ?work wdt:P31 / wdt:P279 * wd:Q7725634 .\n  OPTIONAL {\n    ?work wdt:P50 ?author .\n  }\n  ?work rdfs:label ?workLabel .\n  OPTIONAL {\n    ?author rdfs:label ?authorLabel .\n  }\n}\nLIMIT 100", "paraphrases": ["What are literary works and who wrote them?", "List up to 100 literary works along with their labels and the names of their authors, including works that are subclasses of literary works."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P279> */ <http://www.wikidata.org/prop/direct/P31> *) <http://www.wikidata.org/entity/Q7725634> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P50> ?var2 . } } LIMIT 100"}}
{"id": "test_1850", "question": "What is the WikiPathways ID WP3927 associated with in humans?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?pathway WHERE {\n  ?pathway wdt:P2410 \"WP3927\" ; wdt:P703 wd:Q15978631 .\n}", "paraphrases": ["Which biological pathway in humans has the WikiPathways identifier WP3927?", "Find the human-associated biological pathway with WikiPathways ID WP3927."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://identifiers.org/wikipathways/WP3927_r90735> <http://www.wikidata.org/prop/direct/P2410> ?var1 ; <http://www.wikidata.org/prop/direct/P703> <http://www.wikidata.org/entity/Q15978631> . }"}}
{"id": "test_1851", "question": "What items are marked as duplicates of the color blue on Wikidata?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?statement WHERE {\n  ?statement ps:P2959 wd:Q1088 .\n  ?item p:P2959 ?statement .\n}\nLIMIT 101", "paraphrases": ["Can you list the items that have been identified as duplicates of blue (Q1088)?", "Which entities in Wikidata have a statement claiming they are permanent duplicates of the color blue?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P2959> <http://www.wikidata.org/entity/Q1088> . ?var1 <http://www.wikidata.org/prop/P2959> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_1852", "question": "What metadata is associated with the statement that the UGT1A9 gene is an instance of a gene?", "sparql": "SELECT ?property ?value WHERE { s:Q18041129-E7CEF137-D116-483E-928A-C76058AB4F61 ?property ?value . }", "paraphrases": ["Show all properties and values of the statement asserting that UGT1A9 is a gene.", "Can you list the rank, reference, and type of the statement that classifies UGT1A9 as a gene?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q18041129-E7CEF137-D116-483E-928A-C76058AB4F61> ?var1 ?var2 . }"}}
{"id": "test_1853", "question": "Find permanent duplicate items on Wikidata that point to different language versions of the same topic.", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?duplicateItem ?duplicateItemLabel ?duplicateOf ?duplicateOfLabel WHERE {\n  ?duplicateItem p:P31 ?statement .\n  ?statement ps:P31 wd:Q17362920 .\n  {\n    ?statement pq:P642 ?duplicateOf .\n  } UNION {\n    ?statement pq:P460 ?duplicateOf .\n  } UNION {\n    ?duplicateItem wdt:P460 ?duplicateOf .\n  } UNION {\n    ?duplicateItem wdt:P2959 ?duplicateOf .\n  }\n  ?duplicateItem ( ^ schema:about / schema:isPartOf ) ?project . MINUS {\n    ?duplicateOf ( ^ schema:about / schema:isPartOf ) ?otherProject .\n    FILTER ( ?project = ?otherProject )\n  }\n  OPTIONAL {\n    ?duplicateItem rdfs:label ?duplicateItemLabel .\n    FILTER ( LANG( ?duplicateItemLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?duplicateOf rdfs:label ?duplicateOfLabel .\n    FILTER ( LANG( ?duplicateOfLabel ) = \"en\" )\n  }\n}", "paraphrases": ["Which items on Wikidata are marked as permanent duplicates but refer to entities that exist on a different Wikipedia language edition than themselves?", "List all items identified as permanent duplicates along with their target duplicates, ensuring they are not duplicates within the same Wikipedia project."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/P31> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P31> <http://www.wikidata.org/entity/Q17362920> . { ?var4 ( <http://www.wikidata.org/prop/qualifier/P642> | <http://www.wikidata.org/prop/qualifier/P460> ) ?var2 . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P460> | <http://www.wikidata.org/prop/direct/P2959> ) ?var2 . } ?var1 (^ <http://schema.org/about> / <http://schema.org/isPartOf> ) ?var5 . MINUS { ?var2 (^ <http://schema.org/about> / <http://schema.org/isPartOf> ) ?var6 . FILTER ( ( sameTerm ( ?var5 , ?var6 ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,es\". } }"}}
{"id": "test_1854", "question": "How many chemical compounds are described as \"composito chimic\" in Interlingua on Wikidata?", "sparql": "SELECT ?description (COUNT(?compound) AS ?count) WHERE { ?compound wdt:P31 wd:Q11173 . OPTIONAL { ?compound schema:description ?description . FILTER(LANG(?description) = \"ia\") } FILTER(BOUND(?description)) } GROUP BY ?description ORDER BY DESC(?count)", "paraphrases": ["What is the most common Interlingua description for chemical compounds in Wikidata, and how many compounds use it?", "Show me the Interlingua descriptions of chemical compounds in Wikidata, ranked by how many compounds use each description."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11173> . OPTIONAL { ?var2 <http://schema.org/description> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"ia\" ) ) ) . } FILTER ( ( BOUND ( ?var1 ) ) ) . } GROUP BY ?var1 ORDER BY DESC( ?var3 )"}}
{"id": "test_1855", "question": "What is the WikiPathways pathway URI for Homo sapiens with the identifier WP26?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wdtn: <http://www.wikidata.org/prop/direct-normalized/>\nSELECT ?pathwayUri WHERE {\n  ?item wdt:P703 wd:Q15978631 ; wdtn:P2410 <http://identifiers.org/wikipathways/WP26> .\n}", "paraphrases": ["Which WikiPathways pathway in humans has the ID WP26?", "Is there a WikiPathways pathway for Homo sapiens identified as WP26?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://identifiers.org/wikipathways/WP26_r79950> <http://www.wikidata.org/prop/direct/P2410> ?var1 ; <http://www.wikidata.org/prop/direct/P703> <http://www.wikidata.org/entity/Q15978631> . }"}}
{"id": "test_1856", "question": "Who was born in Wroc\u0142aw and died at an elevation of over 8000 meters?", "sparql": "SELECT ?personLabel ?elevation WHERE { ?person wdt:P19 wd:Q1799 . ?person wdt:P20 ?deathPlace . ?deathPlace wdt:P2044 ?elevation . FILTER(?elevation >= 8000) . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["Can you tell me the name of the person born in Wroc\u0142aw whose place of death is at least 8000 meters above sea level?", "Show me the label and elevation of the death location for people born in Wroc\u0142aw where the elevation is 8000 meters or higher."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q1799> . ?var1 <http://www.wikidata.org/prop/direct/P20> [ <http://www.wikidata.org/prop/direct/P2044> ?var2 ] . FILTER ( ( ( ?var2 >= \"8000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl\". } }"}}
{"id": "test_1857", "question": "People born in Poland who died at elevations above 1000 meters.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?personLabel ?deathPlaceLabel ?elevation WHERE {\n  ?person wdt:P19 ?birthPlace .\n  ?birthPlace wdt:P17 wd:Q36 .\n  ?person wdt:P20 ?deathPlace .\n  ?deathPlace wdt:P2044 ?elevation .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) ?deathPlace rdfs:label ?deathPlaceLabel .\n  FILTER ( LANG( ?deathPlaceLabel ) = \"en\" ) FILTER ( ?elevation > 1000 )\n}\nLIMIT 10", "paraphrases": ["Which people born in Poland died in locations higher than 1000 meters above sea level?", "Show me a list of individuals born in Poland whose place of death is located at an elevation greater than 1000 meters."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3Label WHERE { BIND ( \"0.0\"^^<http://www.w3.org/2001/XMLSchema#decimal> AS ?var4 ). ?var1 <http://www.wikidata.org/prop/direct/P19> ?var5 . ?var6 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q36> . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var6 . ?var1 <http://www.wikidata.org/prop/direct/P20> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P2044> ?var3 . FILTER ( ( ( ?var3 > ( ?var4 *\"1000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) && ( ?var7 = <http://www.wikidata.org/entity/Q11573> ) || ( ?var3 > ( ?var4 *\"3281\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) && ( ?var7 = <http://www.wikidata.org/entity/Q3710> ) || ( ?var3 > ?var4 ) && ( ?var7 = <http://www.wikidata.org/entity/Q828224> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 10"}}
{"id": "test_1858", "question": "Chemical compounds and their molecular formulas", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?compound ?compoundLabel ?formula WHERE {\n  ?compound wdt:P274 ?formula .\n  ?compound rdfs:label ?compoundLabel .\n  FILTER ( LANG( ?compoundLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["What are the English names and chemical formulas of chemical compounds in Wikidata?", "Show me up to 100 chemical compounds with their English labels and chemical formulas."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P274> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_1859", "question": "What biological process includes Fh1 as a component?", "sparql": "SELECT ?entity ?entityLabel ?part ?partLabel WHERE { ?entity p:P527 s:Q44054434-54311178-49F4-4A9F-934D-DA46B2CE7C85 . s:Q44054434-54311178-49F4-4A9F-934D-DA46B2CE7C85 ps:P527 ?part . ?entity rdfs:label ?entityLabel . ?part rdfs:label ?partLabel . FILTER(LANG(?entityLabel) = \"en\") FILTER(LANG(?partLabel) = \"en\") }", "paraphrases": ["Which entity in Wikidata is stated to have Fh1 as a part?", "Can you tell me what the TCA Cycle is composed of, based on Wikidata statements?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q44054434-54311178-49F4-4A9F-934D-DA46B2CE7C85> ?var1 ?var2 . }"}}
{"id": "test_1860", "question": "Swedish urban areas with their codes, 2010 and 2015 population figures, and sources for 2015 data.", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pr: <http://www.wikidata.org/prop/reference/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX prov: <http://www.w3.org/ns/prov#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?urbanAreaCode ?urbanArea ?urbanAreaLabel ?population2010 ?population2015 ?source WHERE {\n  ?urbanArea wdt:P31 wd:Q12813115 .\n  ?urbanArea wdt:P775 ?urbanAreaCode .\n  OPTIONAL {\n    ?urbanArea p:P1082 ?statement2015 .\n    ?statement2015 ps:P1082 ?population2015 ; pq:P585 \"2015-12-31T00:00:00Z\" ^^ xsd:dateTime .\n    OPTIONAL {\n      ?statement2015 prov:wasDerivedFrom ?ref2015 .\n      ?ref2015 pr:P248 ?source .\n    }\n  }\n  OPTIONAL {\n    ?urbanArea p:P1082 ?statement2010 .\n    ?statement2010 ps:P1082 ?population2010 ; pq:P585 \"2010-12-31T00:00:00Z\" ^^ xsd:dateTime .\n  }\n  ?urbanArea rdfs:label ?urbanAreaLabel .\n  FILTER(LANG(?urbanAreaLabel) = \"en\")\n}\nORDER BY ASC(?urbanAreaCode)", "paraphrases": ["What are the Swedish urban areas, their population in 2010 and 2015, and the sources for the 2015 population statistics?", "List all urban areas in Sweden, including their official codes, population counts from 2010 and 2015, and the sources for the 2015 population data, sorted by code."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var3 ?var4 ?var5 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q12813115> . ?var2 <http://www.wikidata.org/prop/direct/P775> ?var1 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/P1082> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P1082> ?var4 ; <http://www.wikidata.org/prop/qualifier/P585> ?var7 . OPTIONAL { ?var6 <http://www.w3.org/ns/prov#wasDerivedFrom> ?var8 . ?var8 <http://www.wikidata.org/prop/reference/P248> ?var5 . } FILTER ( ( ( ?var7 = \"2015-12-31T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/P1082> [ <http://www.wikidata.org/prop/statement/P1082> ?var3 ; <http://www.wikidata.org/prop/qualifier/P585> ?var9 ] . FILTER ( ( ( ?var9 = \"2010-12-31T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv,en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_1861", "question": "What properties link \"coming-of-age fiction\" to Portuguese-labeled values, and what are those values and their counts?", "sparql": "SELECT ?property (SAMPLE(?propLabel) AS ?propertyLabel) (COUNT(?value) AS ?valueCount) (GROUP_CONCAT(?valueLabel; SEPARATOR=\", \") AS ?valueLabels) WHERE { wd:Q2975633 ?property ?value . ?value rdfs:label ?valueLabel . FILTER(LANG(?valueLabel) = \"pt\") . ?propertyItem wikibase:directClaim ?property . OPTIONAL { ?propertyItem rdfs:label ?propLabel . FILTER(LANG(?propLabel) = \"pt\") } } GROUP BY ?property", "paraphrases": ["For the genre \"coming-of-age fiction\", which properties connect it to Portuguese-labeled items, what are the Portuguese labels of those properties, how many values does each property have, and what are those values?", "Show me a summary of all properties connecting \"coming-of-age fiction\" to Portuguese-labeled entities, including the Portuguese label of each property, the number of values, and the concatenated list of those values."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q2975633> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"pt\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"pt\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_1862", "question": "Chemical reactions and their subclasses in Wikidata", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P31 ?class . ?class wdt:P279* wd:Q36534 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["What are some examples of chemical reactions and their subtypes?", "List all known chemical reactions and their subclasses with English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q36534> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_1863", "question": "What is the most specific shared category (like city or town) between San Francisco and Croydon, and how many steps does it take to reach it from both in the hierarchy?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonClass ( ?dist1 + ?dist2 AS ?totalDistance ) WHERE {\n  {\n    SELECT ?commonClass ( COUNT( ?mid ) + 1 AS ?dist1 ) WHERE {\n      wd:Q62 wdt:P31 ?type1 .\n      ?type1 wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?commonClass .\n    }\n    GROUP BY ?commonClass\n  }\n  {\n    SELECT ?commonClass ( COUNT( ?mid ) + 1 AS ?dist2 ) WHERE {\n      wd:Q2213391 wdt:P31 ?type2 .\n      ?type2 wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?commonClass .\n    }\n    GROUP BY ?commonClass\n  }\n}\nORDER BY ASC ( ?totalDistance )\nLIMIT 1", "paraphrases": ["Which taxonomic class is the closest common ancestor of San Francisco and Croydon when following subclass relationships, and what is the total distance from both?", "Find the lowest-level category that both San Francisco and Croydon belong to through their type and subclass relationships, and calculate the sum of steps from each to reach it."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q62> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2213391> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1864", "question": "Image of Hartmann Schedel (SNAC ARK ID w66q22t8)", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w66q22t8\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w66q22t8?", "Show me the Wikimedia Commons image for the entity with SNAC ARK ID w66q22t8."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w66q22t8\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_1865", "question": "What is the most specific common superclass of Hartsfield\u2013Jackson Atlanta International Airport and Heathrow Airport?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?ancestor WHERE {\n  wd:Q214861 wdt:P31 ?class1 .\n  wd:Q8691 wdt:P31 ?class2 .\n  {\n    ?class1 wdt:P279 ?ancestor\n  } UNION {\n    ?class1 wdt:P279 / wdt:P279 ?ancestor\n  }\n  .\n  {\n    ?class2 wdt:P279 ?ancestor\n  } UNION {\n    ?class2 wdt:P279 / wdt:P279 ?ancestor\n  }\n  .\n  FILTER(?ancestor != ?class1 && ?ancestor != ?class2)\n}\nORDER BY ?ancestor\nLIMIT 1", "paraphrases": ["In the Wikidata hierarchy, what class do both Hartsfield\u2013Jackson Atlanta International Airport and Heathrow Airport belong to as instances?", "What is the closest shared ancestor in the subclass hierarchy between Atlanta Airport and Heathrow Airport?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q214861> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7122733> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1866", "question": "Image of Slobodan Paji\u0107 with SNAC ARK ID w6vd8g7p", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6vd8g7p\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image of the person identified by the SNAC ARK ID w6vd8g7p?", "Show me the Wikimedia Commons image for Slobodan Paji\u0107, using his SNAC ARK ID."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6vd8g7p\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_1867", "question": "What articles and statements are associated with the concept of primary tumor?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?property WHERE {\n  ?item ?property wd:Q2110267 .\n}", "paraphrases": ["Which Wikipedia pages and Wikidata statements mention primary tumor as their topic or subclass?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q2110267> . }"}}
{"id": "test_1868", "question": "Subclasses of cancer", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subclass ?subclassLabel WHERE {\n  ?subclass wdt:P279 * wd:Q12078 .\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER ( LANG( ?subclassLabel ) = \"en\" )\n}\nLIMIT 2", "paraphrases": ["What are some types of cancer that are subclasses of malignant neoplasm?", "List two English-labeled subclasses of cancer (Q12078) in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q12078> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 2"}}
{"id": "test_1869", "question": "What property links the biochemical pathway \"One-carbon metabolism\" to the statement with identifier s:Q30225499-ECC48096-7481-4302-BE2F-248A14A853A2?", "sparql": "PREFIX s: <http://www.wikidata.org/entity/statement/>\nSELECT ?entity ?property WHERE {\n  ?entity ?property s:Q30225499-ECC48096-7481-4302-BE2F-248A14A853A2 .\n}", "paraphrases": ["Which property is used to associate the entity \"One-carbon metabolism\" with the specific statement node s:Q30225499-ECC48096-7481-4302-BE2F-248A14A853A2?", "What is the relationship between One-carbon metabolism and the statement s:Q30225499-ECC48096-7481-4302-BE2F-248A14A853A2?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q30225499-ECC48096-7481-4302-BE2F-248A14A853A2> . }"}}
{"id": "test_1870", "question": "What is the common category that both Los Angeles International Airport and York County, Maine belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?label WHERE {\n  wd:Q8731 wdt:P31 ?class1 .\n  wd:Q390141 wdt:P31 ?class2 .\n  ?class1 wdt:P279 * wd:Q27096213 .\n  ?class2 wdt:P279 * wd:Q27096213 .\n  wd:Q27096213 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["What is the most specific shared superclass of Los Angeles International Airport and York County, Maine in the Wikidata hierarchy?", "What concept do an airport and a county have in common in terms of classification?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q8731> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q390141> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1871", "question": "German books published after 2000 with image, genre, ISBN, and Open Library ID.", "sparql": "SELECT DISTINCT ?book ?bookLabel ?image ?pubDate (GROUP_CONCAT(DISTINCT ?olId; SEPARATOR=\", \") AS ?openLibraryIds) (GROUP_CONCAT(DISTINCT ?genreLabel; SEPARATOR=\", \") AS ?genres) (GROUP_CONCAT(DISTINCT ?isbn; SEPARATOR=\", \") AS ?isbns) WHERE { ?book wdt:P31 wd:Q571 . ?book rdfs:label ?bookLabel . FILTER(LANG(?bookLabel) = \"de\") . ?book wdt:P18 ?image . ?book wdt:P50 ?author . ?book wdt:P577 ?pubDate . FILTER(?pubDate > \"2000-01-01T00:00:00Z\"^^xsd:dateTime) . ?book wdt:P136 ?genre . ?genre rdfs:label ?genreLabel . FILTER(LANG(?genreLabel) = \"de\") . OPTIONAL { ?book wdt:P648 ?olId . } OPTIONAL { ?book wdt:P212 ?isbn . } } GROUP BY ?book ?bookLabel ?image ?pubDate LIMIT 500", "paraphrases": ["What are German-language books published after 2000, along with their images, genres in German, ISBNs, and Open Library IDs?", "Show me a list of German books published after 2000, including their cover images, genres (in German), ISBN-13 numbers, and Open Library identifiers."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ( GROUP_CONCAT ( DISTINCT ?var5 ; SEPARATOR = \", \" ) AS ?var6 )( GROUP_CONCAT ( DISTINCT ?var7Label ; SEPARATOR = \", \" ) AS ?var8 )( GROUP_CONCAT ( DISTINCT ?var9 ; SEPARATOR = \", \" ) AS ?var10 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q571> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"de\" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P50> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var4 . FILTER ( ( ( ?var4 > \"2000-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P136> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var11 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var7Label . FILTER ( ( ( LANG ( ?var7Label ) = \"de\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P648> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P212> ?var9 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en, th, ja, zh, fr, de, es, en\". } } GROUP BY ?var1 ?var1Label ?var3Label ?var2 ?var4 LIMIT 500"}}
{"id": "test_1872", "question": "Scholarly articles about climate change published in 2014", "sparql": "SELECT ?article ?year WHERE { ?article wdt:P31 wd:Q13442814 ; wdt:P921 wd:Q125928 ; wdt:P577 ?date . BIND(YEAR(?date) AS ?year) FILTER(?year = 2014) } ORDER BY ?year", "paraphrases": ["How many scholarly articles on climate change were published in 2014?", "List the scholarly articles about climate change that were published in 2014, along with their publication year."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { BIND ( STR ( YEAR ( ?var3 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13442814> . ?var2 <http://www.wikidata.org/prop/direct/P921> <http://www.wikidata.org/entity/Q125928> . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var3 . FILTER ( ( ( ?var1 = \"2014\" ) ) ) . } ORDER BY ASC( ?var1 )"}}
{"id": "test_1873", "question": "Works about both veterans and suicide", "sparql": "SELECT ?work ?workTitle WHERE { ?work wdt:P921 wd:Q193891 ; wdt:P921 wd:Q10737 . ?work wdt:P1476 ?workTitle .}", "paraphrases": ["What research papers or reports discuss suicide among veterans?", "Show me the titles of studies that have both veterans and suicide as their main subjects."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P921> <http://www.wikidata.org/entity/Q193891> ; <http://www.wikidata.org/prop/direct/P921> <http://www.wikidata.org/entity/Q10737> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_1874", "question": "What buildings or locations are situated within the United Nations headquarters?", "sparql": "SELECT ?item WHERE { ?item wdt:P276 wd:Q79007 . } LIMIT 100", "paraphrases": ["List entities that have their location at the United Nations.", "Which physical places are located at the UN complex in New York?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,fr\". } ?var2 <http://www.wikidata.org/prop/direct/P276> <http://www.wikidata.org/entity/Q79007> . } LIMIT 100"}}
{"id": "test_1875", "question": "Books published in 2000 and their genres", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?book ?bookLabel ?genreLabel WHERE {\n  ?book wdt:P31 wd:Q571 ; wdt:P577 ?pubDate ; wdt:P136 ?genre .\n  FILTER ( ?pubDate >= \"2000-01-01T00:00:00Z\" ^^ xsd:dateTime && ?pubDate < \"2001-01-01T00:00:00Z\" ^^ xsd:dateTime ) ?book rdfs:label ?bookLabel .\n  ?genre rdfs:label ?genreLabel .\n  FILTER ( LANG( ?bookLabel ) = \"en\" ) FILTER ( LANG( ?genreLabel ) = \"en\" )\n}", "paraphrases": ["What are the English titles and genres of books published in the year 2000?", "List the English labels of books released in 2000 along with their genres."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q571> ; <http://www.wikidata.org/prop/direct/P577> ?var3 ; <http://www.wikidata.org/prop/direct/P136> ?var2 . FILTER ( ( ( ?var3 >= \"2000-00-00T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var3 < \"2001-00-00T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_1876", "question": "Books published after 2000 with their image, author, genre, ISBN, and Open Library ID.", "sparql": "SELECT DISTINCT \n  ?book \n  ?bookLabel \n  ?image \n  ?authorLabel \n  ?publicationDate \n  (GROUP_CONCAT(DISTINCT ?openLibraryId; SEPARATOR=\", \") AS ?openLibraryIds) \n  (GROUP_CONCAT(DISTINCT ?genreLabel; SEPARATOR=\", \") AS ?genres) \n  (GROUP_CONCAT(DISTINCT ?isbn; SEPARATOR=\", \") AS ?isbns)\nWHERE {\n  ?book wdt:P31 wd:Q571 .                    # instance of book\n  ?book rdfs:label ?bookLabel .\n  FILTER(LANG(?bookLabel) = \"en\") .\n  ?book wdt:P18 ?image .                      # image\n  ?book wdt:P50 ?author .                     # author\n  ?author rdfs:label ?authorLabel .\n  FILTER(LANG(?authorLabel) = \"en\") .\n  ?book wdt:P577 ?publicationDate .\n  FILTER(?publicationDate > \"2000-01-01T00:00:00Z\"^^xsd:dateTime) .\n  ?book wdt:P136 ?genre .\n  ?genre rdfs:label ?genreLabel .\n  FILTER(LANG(?genreLabel) = \"en\") .\n  OPTIONAL { ?book wdt:P648 ?openLibraryId . } # Open Library ID\n  OPTIONAL { ?book wdt:P212 ?isbn . }          # ISBN-13\n}\nGROUP BY ?book ?bookLabel ?authorLabel ?image ?publicationDate\nLIMIT 500", "paraphrases": ["What are books published after 2000, along with their English-language author names, genres, images, ISBNs, and Open Library IDs?", "Please list books published after 2000, showing their title, author, genre, cover image, ISBNs, Open Library ID, and publication date \u2014 all in English."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ( GROUP_CONCAT ( DISTINCT ?var5 ; SEPARATOR = \", \" ) AS ?var6 )( GROUP_CONCAT ( DISTINCT ?var7Label ; SEPARATOR = \", \" ) AS ?var8 )( GROUP_CONCAT ( DISTINCT ?var9 ; SEPARATOR = \", \" ) AS ?var10 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q571> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P50> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var4 . FILTER ( ( ( ?var4 > \"2000-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P136> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var11 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var7Label . FILTER ( ( ( LANG ( ?var7Label ) = \"en\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P648> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P212> ?var9 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en, en\". } } GROUP BY ?var1 ?var1Label ?var3Label ?var2 ?var4 LIMIT 500"}}
{"id": "test_1877", "question": "Thai-labeled books with images and their authors, genres in Thai, and ISBNs or Open Library IDs.", "sparql": "SELECT DISTINCT \n  ?book ?bookLabel \n  ?image \n  ?author ?authorLabel \n  ?publicationDate \n  (GROUP_CONCAT(DISTINCT ?openLibraryId; SEPARATOR=\", \") AS ?openLibraryIds) \n  (GROUP_CONCAT(DISTINCT ?genreLabel; SEPARATOR=\", \") AS ?genres) \n  (GROUP_CONCAT(DISTINCT ?isbn; SEPARATOR=\", \") AS ?isbns)\nWHERE {\n  ?book wdt:P31 wd:Q571 .  # instance of book\n  ?book rdfs:label ?bookLabel .\n  FILTER(LANG(?bookLabel) = \"th\") .\n\n  ?book wdt:P18 ?image .\n  ?book wdt:P50 ?author .\n  ?author rdfs:label ?authorLabel .  # author label in any language\n\n  ?book wdt:P577 ?publicationDate .\n\n  OPTIONAL {\n    ?book wdt:P136 ?genre .\n    ?genre rdfs:label ?genreLabel .\n    FILTER(LANG(?genreLabel) = \"th\") .\n  }\n\n  OPTIONAL {\n    ?book wdt:P648 ?openLibraryId .\n  }\n\n  OPTIONAL {\n    ?book wdt:P212 ?isbn .\n  }\n}\nGROUP BY ?book ?bookLabel ?author ?authorLabel ?image ?publicationDate\nLIMIT 100", "paraphrases": ["What are Thai-language books that have images, and who are their authors? Include any Thai genre labels and identifiers like ISBN or Open Library ID.", "List Thai books with images, their authors (in any language), publication dates, and if available, Thai genre labels, ISBNs, and Open Library IDs."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ( GROUP_CONCAT ( DISTINCT ?var5 ; SEPARATOR = \", \" ) AS ?var6 )( GROUP_CONCAT ( DISTINCT ?var7Label ; SEPARATOR = \", \" ) AS ?var8 )( GROUP_CONCAT ( DISTINCT ?var9 ; SEPARATOR = \", \" ) AS ?var10 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q571> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"th\" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P50> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var4 . FILTER ( ( ( ?var4 > \"2000-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P136> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var11 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var7Label . FILTER ( ( ( LANG ( ?var7Label ) = \"th\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P648> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P212> ?var9 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en, en\". } } GROUP BY ?var1 ?var1Label ?var3Label ?var2 ?var4 LIMIT 100"}}
{"id": "test_1878", "question": "Sources that describe climate change.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?source ?sourceLabel WHERE {\n  wd:Q125928 wdt:P1343 ?source .\n  ?source rdfs:label ?sourceLabel .\n  FILTER(LANG(?sourceLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["What books or encyclopedias describe climate change?", "List the publications that reference climate change as a topic."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P301> <http://www.wikidata.org/entity/Q125928> . ?var1 <http://www.wikidata.org/prop/direct/P1343> ?var3Label . } LIMIT 100"}}
{"id": "test_1879", "question": "What properties link 6-hydroxymelatonin to other items in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?property WHERE {\n  ?item ?property wd:Q20707319 .\n}", "paraphrases": ["Which entities and properties have 6-hydroxymelatonin as their object in Wikidata?", "Show all relationships where 6-hydroxymelatonin is the object, including both external Wikipedia links and internal Wikidata statements."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q20707319> . }"}}
{"id": "test_1880", "question": "What are the sub-pathways involved in the transport of gamma-carboxylated protein precursors from the endoplasmic reticulum to the Golgi apparatus?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?component ?componentLabel WHERE {\n  ?component wdt:P361 wd:Q45317637 .\n  OPTIONAL {\n    ?component schema:name ?componentLabel .\n    FILTER(LANG(?componentLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?component rdfs:label ?componentLabel .\n    FILTER(LANG(?componentLabel) = \"en\")\n  }\n  FILTER(BOUND(?componentLabel))\n}", "paraphrases": ["Which specific protein transport steps are part of the biological pathway that moves gamma-carboxylated protein precursors from the endoplasmic reticulum to the Golgi apparatus?", "List the components of the biological pathway responsible for transporting gamma-carboxylated protein precursors from the endoplasmic reticulum to the Golgi apparatus in humans."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q45317637> . }"}}
{"id": "test_1881", "question": "What is the type of the ISBN-13 property in Wikidata?", "sparql": "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?type WHERE {\n  wd:P212 rdf:type ?type\n}", "paraphrases": ["What category does the ISBN-13 property belong to?", "What kind of property is ISBN-13 (P212) in Wikidata?"], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/prop/direct/P212> ?var1 ?var2 . }"}}
{"id": "test_1882", "question": "Authors of the article \"eNanoMapper\" and their ORCID IDs.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?author ?authorLabel ( COALESCE ( ?orcid , \"No ORCID\" ) AS ?orcidOrFallback ) WHERE {\n  wd:Q27062683 wdt:P50 ?author .\n  OPTIONAL {\n    ?author wdt:P496 ?orcid .\n  }\n  ?author rdfs:label ?authorLabel .\n  FILTER ( LANG( ?authorLabel ) = \"en\" )\n}", "paraphrases": ["Who are the authors of the academic article \"eNanoMapper: harnessing ontologies to enable data integration for nanomaterial risk assessment\", and what are their ORCID identifiers?", "List the English names of the authors of the eNanoMapper paper along with their ORCID IDs; if an ORCID is not available, show \"No ORCID\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COALESCE ( ?var2 , CONCAT ( \"string1\", ENCODE_FOR_URI ( ?var1Label ) ) ) AS ?var3 ) WHERE { <http://www.wikidata.org/entity/Q27062683> <http://www.wikidata.org/prop/direct/P50> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,da,de,es,fr,nl,no,ru,sv,zh\". } }"}}
{"id": "test_1883", "question": "What is the most specific taxonomic category that both Croydon and Syracuse belong to through their types?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?commonClass WHERE {\n  {\n    SELECT ?commonClass WHERE {\n      wd:Q2213391 wdt:P31 ?type1 .\n      ?type1 wdt:P279 * ?commonClass .\n      FILTER ( ?commonClass != wd:Q2213391 && ?commonClass != wd:Q128069 )\n    }\n  }\n  {\n    SELECT ?commonClass WHERE {\n      wd:Q128069 wdt:P31 ?type2 .\n      ?type2 wdt:P279 * ?commonClass .\n      FILTER ( ?commonClass != wd:Q2213391 && ?commonClass != wd:Q128069 )\n    }\n  }\n}", "paraphrases": ["Find the common superclass of the types of Croydon and Syracuse via subclass-of relationships.", "What is the shared category in the Wikidata taxonomy that connects the city of Croydon and the city of Syracuse?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2213391> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q128069> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1884", "question": "Which TV series has its episode list linked to the Wikipedia page \"list of City Hunter episodes\"?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?series ?seriesLabel WHERE {\n  ?series wdt:P1811 wd:Q3005799 .\n  ?series rdfs:label ?seriesLabel\n  FILTER ( LANG( ?seriesLabel ) = 'en' )\n}", "paraphrases": ["What is the TV series associated with the episode list Q3005799?", "Can you tell me the name of the series that uses \"list of City Hunter episodes\" as its official episode list?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q3005799> . }"}}
{"id": "test_1885", "question": "Which Wikidata items are linked to the Twitter handles LePoint, CNNum, nbouzou, jmblanquer, and aymeril?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterHandle WHERE {\n  ?item wdt:P2002 ?twitterHandle .\n  VALUES ?twitterHandle {\n    \"LePoint\" \"CNNum\" \"nbouzou\" \"jmblanquer\" \"aymeril\" \"Challenges\" \"Cigref\" \"techstars\" \"lemondefr\" \"IRILive\" \"LimsiLab\" \"CapEdFab\" \"B_Peyrol\" \"N_Hulot\" \"thieulin\" \"mounir\" \"babgi\" \"cdf1530\" \"HdAgrain\"\n  }\n}", "paraphrases": ["Who are the people or organizations on Wikidata that have Twitter accounts with usernames like LePoint, CNNum, or nbouzou?", "Show me the Wikidata entries for entities that use these Twitter handles: LePoint, CNNum, nbouzou, jmblanquer, aymeril, Challenges, Cigref, techstars, lemondefr, IRILive, LimsiLab, CapEdFab, B_Peyrol, N_Hulot, thieulin, mounir, babgi, cdf1530, and HdAgrain."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"ChLaunois\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"aymeril\" ) ( \"string4\" ) ( \"string5\" ) ( \"mounir\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"thieulin\" ) ( \"babgi\" ) ( \"nautoui\" ) ( \"string9\" ) ( \"cdf1530\" ) ( \"string10\" ) ( \"HdAgrain\" ) ( \"Challenges\" ) ( \"CNNum\" ) ( \"lau_devil\" ) ( \"string11\" ) ( \"TBedoin\" ) ( \"BdGEORGES\" ) ( \"cigref\" ) ( \"string12\" ) ( \"N_ACKERMAN\" ) ( \"Cigref\" ) ( \"string13\" ) ( \"techstars\" ) ( \"string14\" ) ( \"string15\" ) ( \"string16\" ) ( \"lemondefr\" ) ( \"string17\" ) ( \"string18\" ) ( \"string19\" ) ( \"CapEdFab\" ) ( \"string20\" ) ( \"IRILive\" ) ( \"string21\" ) ( \"Math_Neu\" ) ( \"string22\" ) ( \"5gier\" ) ( \"LimsiLab\" ) ( \"B_Peyrol\" ) ( \"string23\" ) ( \"string24\" ) ( \"N_Hulot\" ) ( \"string25\" ) ( \"string26\" ) ( \"SLPALVichy\" ) ( \"MLJ_AURA\" ) ( \"string27\" ) ( \"string28\" ) ( \"string29\" ) ( \"string30\" ) ( \"string31\" ) ( \"nbouzou\" ) ( \"jmblanquer\" ) ( \"LePoint\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_1886", "question": "List all books and their ISBN-10 identifiers from Wikidata.", "sparql": "SELECT DISTINCT ?book ?isbn10 WHERE { ?book wdt:P957 ?isbn10 .}", "paraphrases": ["Which books have ISBN-10 numbers registered in Wikidata, and what are those numbers?", "Show me the mapping between book items and their ISBN-10 codes in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P957> ?var2 . }"}}
{"id": "test_1887", "question": "What entity and property are associated with statement s:Q409999-4664E74C-0117-4215-8523-B7CDC331C2C5?", "sparql": "PREFIX s: <http://www.wikidata.org/entity/statement/>\nSELECT ?item ?property WHERE {\n  ?item ?property s:Q409999-4664E74C-0117-4215-8523-B7CDC331C2C5 .\n}", "paraphrases": ["Which protein and property does the statement with ID Q409999-4664E74C-0117-4215-8523-B7CDC331C2C5 describe?", "Tell me the subject and property of the Wikidata statement with ID Q409999-4664E74C-0117-4215-8523-B7CDC331C2C5."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q409999-4664E74C-0117-4215-8523-B7CDC331C2C5> . }"}}
{"id": "test_1888", "question": "What type of protein is Pigment precursor permease/Protein ATP-binding cassette sub-family G?", "sparql": "SELECT ?proteinLabel ?typeLabel WHERE { wd:Q24786463 wdt:P31 ?type . wd:Q24786463 rdfs:label ?proteinLabel . ?type rdfs:label ?typeLabel . FILTER(LANG(?proteinLabel) = \"en\") FILTER(LANG(?typeLabel) = \"en\") }", "paraphrases": ["What class does the protein \"Pigment precursor permease/Protein ATP-binding cassette sub-family G\" belong to?", "Tell me the category or classification of the protein named Pigment precursor permease/Protein ATP-binding cassette sub-family G."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q24786463-37F8E358-C79A-424D-A637-FFABB2F0B902> . }"}}
{"id": "test_1889", "question": "Which entity has the Twitter username 'elonmusk'?", "sparql": "SELECT ?entity ?username WHERE { ?entity wdt:P2002 ?username . VALUES ?username { \"elonmusk\" } }", "paraphrases": ["Who is the person on Wikidata with the Twitter handle elonmusk?", "Show me the Wikidata item and Twitter username for 'elonmusk'."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"poirel2\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_1890", "question": "Administrative hierarchy and continent of Clarges Street", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?location WHERE {\n  {\n    wd:Q20870264 wdt:P131 * ?location .\n  } UNION {\n    wd:Q20870264 wdt:P17 ?country .\n    ?country wdt:P30 ?location .\n  }\n}", "paraphrases": ["What administrative areas and continent is Clarges Street located in?", "List all the places Clarges Street belongs to, from the local borough up to the continent."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q20870264> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_1891", "question": "Books and literary works published or set in the United States, in English.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?work ?title WHERE {\n  {\n    ?work wdt:P31 wd:Q571 .\n  } UNION {\n    ?work wdt:P31 wd:Q7725634 .\n  }\n  {\n    ?work wdt:P291 wd:Q30 .\n  } UNION {\n    ?work wdt:P840 wd:Q30 .\n  }\n  ?work rdfs:label ?title .\n  FILTER ( LANG( ?title ) = \"en\" )\n}\nORDER BY ?title", "paraphrases": ["What are the English titles of books and literary works that were either published in or set in the United States?", "List all English-language book and literary work titles associated with the United States through publication or narrative setting."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q571> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7725634> . } { ?var1 <http://www.wikidata.org/prop/direct/P291> <http://www.wikidata.org/entity/Q30> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P840> <http://www.wikidata.org/entity/Q30> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P625> <http://www.wikidata.org/entity/Q30> . } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . }"}}
{"id": "test_1892", "question": "Which Wikidata entities have the Twitter usernames \"elonmusk\" or \"vgcerf\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"elonmusk\" \"vgcerf\"\n  }\n}", "paraphrases": ["Who are the people on Wikidata with the Twitter handles @elonmusk and @vgcerf?", "Show me the Wikidata items for the Twitter accounts elonmusk and vgcerf."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"les_piles\" ) ( \"lenatrad\" ) } }"}}
{"id": "test_1893", "question": "What are the IMDb ID, title, production companies, and distributors of the film Pulp Fiction?", "sparql": "SELECT ?film ?imdbId ?rottenTomatoesId ?title ?eidrId ?productionCompany ?image ?distributor ?filmLabel ?productionCompanyLabel ?distributorLabel WHERE { VALUES ?film { wd:Q104123 } . ?film wdt:P31 wd:Q11424 . OPTIONAL { ?film wdt:P345 ?imdbId . } OPTIONAL { ?film wdt:P1258 ?rottenTomatoesId . } OPTIONAL { ?film wdt:P1476 ?title . } OPTIONAL { ?film wdt:P2704 ?eidrId . } OPTIONAL { ?film wdt:P272 ?productionCompany . } OPTIONAL { ?film wdt:P18 ?image . } OPTIONAL { ?film wdt:P750 ?distributor . } ?film rdfs:label ?filmLabel . FILTER(LANG(?filmLabel) = \"en\") OPTIONAL { ?productionCompany rdfs:label ?productionCompanyLabel . FILTER(LANG(?productionCompanyLabel) = \"en\") } OPTIONAL { ?distributor rdfs:label ?distributorLabel . FILTER(LANG(?distributorLabel) = \"en\") } } LIMIT 10", "paraphrases": ["Show me detailed metadata about Pulp Fiction, including its Rotten Tomatoes ID, EIDR, image, and distribution details.", "Can you provide the full profile of the movie Pulp Fiction, such as its identifiers, production companies, and distributors?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var6Label ?var7 ?var8 ?var8Label ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P345> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1258> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2704> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P272> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P750> ?var8 . } ?var1 <http://www.wikidata.org/prop/direct/P1441> <http://www.wikidata.org/entity/Q104123> . } LIMIT 10"}}
{"id": "test_1894", "question": "What entity and property are associated with the statement Q30225499-173244F1-DFEB-47B5-8702-77531B51A20A?", "sparql": "PREFIX s: <http://www.wikidata.org/entity/statement/>\nSELECT ?subject ?property WHERE {\n  ?subject ?property s:Q30225499-173244F1-DFEB-47B5-8702-77531B51A20A .\n}", "paraphrases": ["Which subject and property does the Wikidata statement with ID Q30225499-173244F1-DFEB-47B5-8702-77531B51A20A represent?", "Show me the subject and property of the Wikidata statement identified by Q30225499-173244F1-DFEB-47B5-8702-77531B51A20A."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q30225499-173244F1-DFEB-47B5-8702-77531B51A20A> . }"}}
{"id": "test_1895", "question": "Which streets and roads are physically connected to each other in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?road1 ?road2 ?road1Label ?road2Label WHERE {\n  ?road1 wdt:P2789 ?road2 .\n  ?road1 wdt:P31 ?type1 .\n  ?road2 wdt:P31 ?type2 .\n  FILTER(?type1 IN(wd:Q1486179 , wd:Q79007))\n  FILTER(?type2 IN(wd:Q1486179 , wd:Q79007))\n  OPTIONAL {\n    ?road1 rdfs:label ?road1Label .\n    FILTER(LANG(?road1Label) = \"en\")\n  }\n  OPTIONAL {\n    ?road2 rdfs:label ?road2Label .\n    FILTER(LANG(?road2Label) = \"en\")\n  }\n  FILTER(STRSTARTS(STR(?road1) , \"http://www.wikidata.org/entity/Q\"))\n  FILTER(STRSTARTS(STR(?road2) , \"http://www.wikidata.org/entity/Q\"))\n}\nLIMIT 1000", "paraphrases": ["What pairs of streets or roads are connected via the \"connects with\" relationship in Wikidata?", "Show me a list of connected streets and roads in English, along with their names."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2789> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 1000"}}
{"id": "test_1896", "question": "Paintings without a genre that depict human figures (Iconclass code starting with 7)", "sparql": "SELECT ?painting ?iconclassCode WHERE { ?painting wdt:P31 wd:Q3305213 . MINUS { ?painting wdt:P136 [] . } ?painting wdt:P1257 ?iconclassCode . FILTER(STRSTARTS(?iconclassCode, \"7\") && strlen(?iconclassCode) > 1) } LIMIT 50000", "paraphrases": ["Which paintings have no assigned genre but feature Iconclass codes starting with \"7\"?", "Show me paintings that are not classified by genre but contain Iconclass notation indicating human figures (starting with 7)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P136> [] . } ?var1 <http://www.wikidata.org/prop/direct/P1257> ?var2 . FILTER ( ( REGEX ( STR ( ?var2 ) , \"7.+\" ) ) ) . } LIMIT 50000"}}
{"id": "test_1897", "question": "List 200 publications (starting from the 801st) sorted alphabetically by title.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?publication ?label WHERE {\n  ?publication wdt:P31 wd:Q732577 .\n  ?publication rdfs:label ?label .\n  FILTER(LANG(?label) = 'en')\n}\nORDER BY ASC(LCASE(?label))\nLIMIT 200\nOFFSET 800", "paraphrases": ["What are the 200 publications after the first 800, ordered by their English titles?", "Please provide a paginated list of 200 publications, skipping the first 800, sorted by their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q732577> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY ASC( LCASE ( ?var1Label ) ) LIMIT 200 OFFSET 800"}}
{"id": "test_1898", "question": "What is the ABC transporter, conserved site part of, according to statement Q24725666-E4C3A9B6-4CA2-4314-9848-499DB5BE0365?", "sparql": "SELECT ?object ?objectLabel WHERE { s:Q24725666-E4C3A9B6-4CA2-4314-9848-499DB5BE0365 ps:P361 ?object . ?object rdfs:label ?objectLabel . FILTER(LANG(?objectLabel) = \"en\") }", "paraphrases": ["According to Wikidata, what specific protein system does the ABC transporter, conserved site belong to?", "Show me the object of the statement that links the ABC transporter, conserved site to its parent protein family."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q24725666-E4C3A9B6-4CA2-4314-9848-499DB5BE0365> . }"}}
{"id": "test_1899", "question": "Image of the person with SNAC ARK ID w65z2877", "sparql": "SELECT ?image WHERE { ?entity wdt:P3430 \"w65z2877\" . OPTIONAL { ?entity wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with Hippolyte Delehaye in Wikidata?", "Can you show me the Wikimedia Commons image for the archival subject identified by SNAC ARK ID w65z2877?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w65z2877\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_1900", "question": "Title, publication date, PubMed ID, PMC ID, and main subjects of the article \"The human homologs of checkpoint kinases Chk1 and Cds1 (Chk2) phosphorylate p53 at multiple DNA damage-inducible sites\".", "sparql": "SELECT ?title ?publicationDate ?pubmedId ?pmcId ?subjectLabel WHERE { wd:Q24610054 wdt:P1476 ?title . wd:Q24610054 wdt:P577 ?publicationDate . wd:Q24610054 wdt:P698 ?pubmedId . wd:Q24610054 wdt:P932 ?pmcId . wd:Q24610054 wdt:P921 ?subject . ?subject rdfs:label ?subjectLabel . FILTER(LANG(?subjectLabel) = \"en\")}", "paraphrases": ["What is the title, publication date, PubMed ID, PMC ID, and main subjects of the scientific article about Chk2 phosphorylating p53?", "Please provide the metadata (title, publication date, PubMed and PMC IDs, and main subjects) for the 2000 paper on Chk2 and p53 phosphorylation."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q24610054> ?var1 ?var2 . }"}}
{"id": "test_1901", "question": "Proteins that contain the InterPro domain ABC transporter, lipoprotein release, LolD.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?protein ?label WHERE {\n  ?protein wdt:P527 wd:Q24738428 .\n  ?protein rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["Which proteins include the ABC transporter, lipoprotein release, LolD domain?", "List the proteins that have the LolD lipoprotein release ABC transporter domain as a part."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q24738428> . }"}}
{"id": "test_1902", "question": "Does the TV series Instant Mom have a Wikipedia page listing its episodes?", "sparql": "ASK WHERE { wd:Q14914651 wdt:P1811 wd:Q15088263 . }", "paraphrases": ["Is there a Wikipedia article that lists all episodes of the TV show Instant Mom?", "Confirm that the episode list for Instant Mom is linked in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q15088263> . }"}}
{"id": "test_1903", "question": "Movies with their Filmweb.pl IDs and English titles", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?filmwebId WHERE {\n  ?item wdt:P3995 ?filmwebId .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["What are the English titles and Filmweb.pl IDs of movies listed on Wikidata?", "Show me a list of movies with their English labels and corresponding Filmweb.pl identifiers."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3995> ?var2 . FILTER ( ( STRSTARTS ( ?var2 , \"http\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 1000"}}
{"id": "test_1904", "question": "How many episodes of the TV series \"Beverly Hills, 90210\" lack an IMDb ID?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?seriesLabel ( COUNT( ?episode ) AS ?count ) WHERE {\n  ?episode wdt:P31 wd:Q21191270 .\n  ?episode wdt:P179 wd:Q117590 . MINUS {\n    ?episode wdt:P345 [] .\n  }\n  wd:Q117590 rdfs:label ?seriesLabel .\n  FILTER ( LANG( ?seriesLabel ) = \"en\" )\n}\nGROUP BY ?seriesLabel", "paraphrases": ["Which TV series has the most episodes without IMDb IDs, and how many does \"Beverly Hills, 90210\" have?", "Can you tell me the number of \"Beverly Hills, 90210\" episodes that are not linked to IMDb?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q21191270> . ?var2 <http://www.wikidata.org/prop/direct/P179> <http://www.wikidata.org/entity/Q117590> . MINUS { ?var2 <http://www.wikidata.org/prop/direct/P345> [] . } MINUS { ?var2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.wikidata.org/prop/novalue/P345> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var3 )"}}
{"id": "test_1905", "question": "What entity and property are associated with the statement s:Q28609465-1A8F53A2-0A14-48CE-B431-B416EC5C9564?", "sparql": "SELECT ?entity ?property WHERE { ?entity ?property s:Q28609465-1A8F53A2-0A14-48CE-B431-B416EC5C9564 . }", "paraphrases": ["Which item and claim type does the Wikidata statement s:Q28609465-1A8F53A2-0A14-48CE-B431-B416EC5C9564 refer to?", "Can you tell me the subject and property of the Wikidata statement with ID s:Q28609465-1A8F53A2-0A14-48CE-B431-B416EC5C9564?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q28609465-1A8F53A2-0A14-48CE-B431-B416EC5C9564> . }"}}
{"id": "test_1906", "question": "What country lies geographically between the United States and Costa Rica?", "sparql": "SELECT ?countryLabel WHERE { wd:Q96 wdt:P31 wd:Q3624078 . wd:Q96 wdt:P30 wd:Q49 . wd:Q96 rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") }", "paraphrases": ["Which country in North America is between the USA and Costa Rica?", "Find the country that connects the United States and Costa Rica in Central America."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q23197> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q800> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1907", "question": "What is the most specific shared category (via subclass hierarchy) between the White House and Beijing?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonClass ( ?dist1 + ?dist2 AS ?totalDist ) WHERE {\n  {\n    SELECT ?commonClass ?dist1 WHERE {\n      wd:Q35525 wdt:P31 ?cls1 .\n      {\n        BIND( ?cls1 AS ?commonClass ) .\n        BIND( 0 AS ?dist1 )\n      } UNION {\n        ?cls1 wdt:P279 ?cls2 .\n        BIND( ?cls2 AS ?commonClass ) .\n        BIND( 1 AS ?dist1 )\n      } UNION {\n        ?cls1 wdt:P279 ?cls2 .\n        ?cls2 wdt:P279 ?cls3 .\n        BIND( ?cls3 AS ?commonClass ) .\n        BIND( 2 AS ?dist1 )\n      } UNION {\n        ?cls1 wdt:P279 ?cls2 .\n        ?cls2 wdt:P279 ?cls3 .\n        ?cls3 wdt:P279 ?cls4 .\n        BIND( ?cls4 AS ?commonClass ) .\n        BIND( 3 AS ?dist1 )\n      }\n    }\n  }\n  {\n    SELECT ?commonClass ?dist2 WHERE {\n      wd:Q956 wdt:P31 ?cls1 .\n      {\n        BIND( ?cls1 AS ?commonClass ) .\n        BIND( 0 AS ?dist2 )\n      } UNION {\n        ?cls1 wdt:P279 ?cls2 .\n        BIND( ?cls2 AS ?commonClass ) .\n        BIND( 1 AS ?dist2 )\n      } UNION {\n        ?cls1 wdt:P279 ?cls2 .\n        ?cls2 wdt:P279 ?cls3 .\n        BIND( ?cls3 AS ?commonClass ) .\n        BIND( 2 AS ?dist2 )\n      } UNION {\n        ?cls1 wdt:P279 ?cls2 .\n        ?cls2 wdt:P279 ?cls3 .\n        ?cls3 wdt:P279 ?cls4 .\n        BIND( ?cls4 AS ?commonClass ) .\n        BIND( 3 AS ?dist2 )\n      }\n    }\n  }\n  FILTER ( ?commonClass = ?commonClass )\n}\nORDER BY ( ?dist1 + ?dist2 )\nLIMIT 1", "paraphrases": ["Which class is the closest common ancestor in the subclass tree for both the White House and Beijing?", "Find the entity that is the least common superclass of the White House and Beijing, based on their instance-of classifications and subclass relationships, with the minimum total path length."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q35525> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q956> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1908", "question": "What are some animated films and their film editors?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?film ?filmLabel ?editor ?editorLabel WHERE {\n  ?film wdt:P31 wd:Q202866 .\n  ?film wdt:P1040 ?editor .\n  ?film rdfs:label ?filmLabel .\n  ?editor rdfs:label ?editorLabel .\n  FILTER(LANG(?filmLabel) = \"en\")\n  .\n  FILTER(LANG(?editorLabel) = \"en\")\n}\nLIMIT 10", "paraphrases": ["Which editors worked on animated films, and what are the titles of those films?", "Can you list animated films along with the names of their editors?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q29168811> . ?var1 <http://www.wikidata.org/prop/direct/P1040> ?var2 . }"}}
{"id": "test_1909", "question": "What are the items in Belgium that have images and Commons categories?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?location ?image ?commonsCategory WHERE {\n  ?item wdt:P17 wd:Q31 .\n  ?item wdt:P625 ?location .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?item wdt:P373 ?commonsCategory .\n  }\n}\nLIMIT 3000", "paraphrases": ["Show me locations in Belgium with their coordinates, associated images, and Wikimedia Commons categories.", "List buildings or places in Belgium along with their geographic coordinates, photos, and related Commons categories."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(49 55)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(50 55)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_1910", "question": "List all episodes of the TV series Space: 1999 with their IMDb IDs and the episodes that come before and after each.", "sparql": "SELECT DISTINCT ?episode ?episodeLabel ?premiereDate ?imdbId ?precedingEpisode ?followingEpisode WHERE { ?episode wdt:P31 wd:Q21191270 ; wdt:P179 wd:Q1045743 . OPTIONAL { ?episode rdfs:label ?episodeLabel . FILTER(LANG(?episodeLabel) = \"en\") } OPTIONAL { ?episode wdt:P1191 ?premiereDate . } OPTIONAL { ?episode wdt:P345 ?imdbId . } OPTIONAL { ?episode wdt:P155 ?precedingEpisode . } OPTIONAL { ?episode wdt:P156 ?followingEpisode . } } ORDER BY ?episode", "paraphrases": ["What are the episodes of Space: 1999, and which episodes precede and follow each one?", "Please provide the English titles, IMDb identifiers, and the preceding and following episodes for each episode in the Space: 1999 television series."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 ?var12 ?var13 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q21191270> . ?var3 <http://www.wikidata.org/prop/direct/P179> <http://www.wikidata.org/entity/Q1045743> . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P361> ?var2 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1191> ?var7 . } ?var3 <http://www.wikidata.org/prop/direct/P179> ?var1 . OPTIONAL { ?var3 <http://www.wikidata.org/prop/P179> ?var14 . } OPTIONAL { ?var14 <http://www.wikidata.org/prop/qualifier/P1545> ?var4 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/P361> ?var15 . } OPTIONAL { ?var15 <http://www.wikidata.org/prop/qualifier/P1545> ?var5 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P345> ?var6 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P155> ?var8 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P156> ?var9 . } OPTIONAL { ?var15 <http://www.wikidata.org/prop/qualifier/P155> ?var10 . } OPTIONAL { ?var15 <http://www.wikidata.org/prop/qualifier/P156> ?var11 . } OPTIONAL { ?var14 <http://www.wikidata.org/prop/qualifier/P155> ?var12 . } OPTIONAL { ?var14 <http://www.wikidata.org/prop/qualifier/P156> ?var13 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it\". } } ORDER BY ASC( ?var1 )ASC( <http://www.w3.org/2001/XMLSchema#integer> ( ?var4 ) )"}}
{"id": "test_1911", "question": "What is the most specific shared category (in the hierarchy) between Guanacaste Province and North Korea?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonAncestor ( ?dist1 + ?dist2 AS ?totalDistance ) WHERE {\n  {\n    SELECT ?commonAncestor ( COUNT( ?mid1 ) AS ?dist1 ) WHERE {\n      wd:Q690026 wdt:P31 ?type1 .\n      ?type1 wdt:P279 + ?mid1 .\n      ?mid1 wdt:P279 * ?commonAncestor .\n    }\n    GROUP BY ?commonAncestor\n  }\n  {\n    SELECT ?commonAncestor ( COUNT( ?mid2 ) AS ?dist2 ) WHERE {\n      wd:Q423 wdt:P31 ?type2 .\n      ?type2 wdt:P279 + ?mid2 .\n      ?mid2 wdt:P279 * ?commonAncestor .\n    }\n    GROUP BY ?commonAncestor\n  }\n}\nORDER BY ASC ( ?totalDistance )\nLIMIT 1", "paraphrases": ["What is the lowest common ancestor in the classification system for Guanacaste Province and North Korea?", "Which class do both Guanacaste Province and North Korea belong to through the fewest subclass steps combined?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q690026> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q423> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1912", "question": "List all highways and highway types that are instances or subclasses of controlled-access highways.", "sparql": "SELECT DISTINCT ?label WHERE { { ?highway wdt:P279* wd:Q46622 . ?highway rdfs:label ?label . } UNION { ?highway wdt:P31 wd:Q46622 . ?highway rdfs:label ?label . } }", "paraphrases": ["What are the names of all highways and highway categories that are either instances of or subclasses of controlled-access highways?", "Show me all known highways and their types (like freeways or expressways) that are classified as controlled-access highways, including their names in different languages."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q46622> . ?var3 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> )* ?var2 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . } }"}}
{"id": "test_1913", "question": "How many roller coasters belong to each subclass or instance of shuttle roller coaster?", "sparql": "SELECT ?class ?classLabel (COUNT(?roller) AS ?count) WHERE { { ?class wdt:P31 wd:Q358738 } UNION { ?class wdt:P279 wd:Q358738 } ?roller (wdt:P31/wdt:P279*) ?class . ?class rdfs:label ?classLabel . FILTER(LANG(?classLabel) = \"en\") } GROUP BY ?class ?classLabel ORDER BY DESC(?count)", "paraphrases": ["Which roller coaster types (including specific models and their subclasses) have the most roller coasters, and how many are there for each?", "List all shuttle roller coasters and their subclasses along with the number of roller coasters in each category, sorted by popularity."], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { { SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var3 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q358738> . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var1 . } GROUP BY ?var1 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } } UNION { SELECT ?var4 ?var4Label ?var2 ?var3 WHERE { { SELECT ?var4 ( COUNT ( ?var3 ) AS ?var2 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q358738> . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var4 . } GROUP BY ?var4 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } } }"}}
{"id": "test_1914", "question": "Subject and property of the statement that FAD-dependent oxidoreductase 2, FAD binding domain is part of Flavocytochrome c.", "sparql": "SELECT ?subject ?property WHERE { ?subject ?property s:Q24766705-AA01C89C-6923-4C1A-98FF-C1BA8BDBC8AA . }", "paraphrases": ["What subject and property are used in the Wikidata statement asserting that the FAD-binding domain is part of Flavocytochrome c?", "Show me the subject and property of the statement that links the FAD-dependent oxidoreductase 2, FAD binding domain to Flavocytochrome c as a part."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q24766705-AA01C89C-6923-4C1A-98FF-C1BA8BDBC8AA> . }"}}
{"id": "test_1915", "question": "What is the most specific category that both Bill Murray and Mike Neu belong to?", "sparql": "SELECT ?commonClass ?commonClassLabel WHERE { wd:Q29250 wdt:P31 ?commonClass . wd:Q6848177 wdt:P31 ?commonClass . ?commonClass rdfs:label ?commonClassLabel . FILTER(LANG(?commonClassLabel) = \"en\") } LIMIT 1", "paraphrases": ["Which class do Bill Murray and Mike Neu have in common?", "What is the shared type or category of Bill Murray and Mike Neu in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q6848177> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q29250> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1916", "question": "Streets incorrectly located in the class \"street\" in Wikidata", "sparql": "SELECT ?street ?statement WHERE { ?street p:P131 ?statement . ?statement ps:P131 wd:Q79007 . }", "paraphrases": ["Which streets in Wikidata have been incorrectly assigned \"street\" as their administrative location?", "List all street instances that have \"street\" (wd:Q79007) as their P131 value to identify data errors."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P131> <http://www.wikidata.org/entity/Q79007> . ?var1 <http://www.wikidata.org/prop/P131> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_1917", "question": "What properties (in German) are used to describe religious traditions in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?propItem ?propLabel ?propDescription WHERE {\n  ?item wdt:P31 wd:Q9174 .\n  ?item ?directProp ?value .\n  ?propItem wikibase:directClaim ?directProp .\n  ?propItem a wikibase:Property .\n  ?propItem rdfs:label ?propLabel .\n  ?propItem schema:description ?propDescription .\n  FILTER(LANG(?propLabel) = \"de\")\n  FILTER(LANG(?propDescription) = \"de\")\n}\nLIMIT 100", "paraphrases": ["Which German-labeled properties are associated with items classified as religions?", "Show me the German labels and descriptions of properties that are used for things that are instances of religion."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q9174> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"de\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"de\" ) ) ) . } LIMIT 100"}}
{"id": "test_1918", "question": "List 100 books with their English titles.", "sparql": "SELECT ?book ?bookLabel WHERE { ?book wdt:P31 wd:Q571 . ?book rdfs:label ?bookLabel . FILTER(LANG(?bookLabel) = \"en\") } LIMIT 100", "paraphrases": ["What are the English titles of 100 books listed in Wikidata?", "Show me up to 100 books from Wikidata, along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q571> . } LIMIT 100"}}
{"id": "test_1919", "question": "What Wikidata item has the Iconclass code '71H7' and what is its English description?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P1256 \"71H7\" .\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Which entity in Wikidata is described by the Iconclass notation '71H7', and what is its English description?", "Show me the English description of the concept with Iconclass code '71H7'."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1256> \"71H261\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1920", "question": "Image of Frederick Benteen with SNAC ARK ID w6jt0tcx", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6jt0tcx\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6jt0tcx?", "Show me the Wikimedia Commons image for the person identified by the SNAC ARK ID w6jt0tcx."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6jt0tcx\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_1921", "question": "List all roads in Wikidata.", "sparql": "SELECT ?road WHERE { ?road wdt:P31 wd:Q34442 . }", "paraphrases": ["What are all the individual roads listed in Wikidata?", "Show me all entities that are classified as roads in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q34442> . }"}}
{"id": "test_1922", "question": "Does The Tower of Druaga have a list of episodes on Wikipedia?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  ?series wdt:P1811 wd:Q6600106 .\n}", "paraphrases": ["Is there a TV series that links to the episode list for The Tower of Druaga?", "Confirm if The Tower of Druaga has an associated episode list article."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q6600106> . }"}}
{"id": "test_1923", "question": "What is the English label for the Wikidata entity representing pain?", "sparql": "SELECT ?pain ?painLabel WHERE { VALUES ?pain { wd:Q81938 } ?pain rdfs:label ?painLabel . FILTER(LANG(?painLabel) = \"en\") }", "paraphrases": ["Can you tell me the name of the medical condition \"pain\" in Wikidata?", "Show me the English name of the concept \"pain\" as defined in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q81938> ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1924", "question": "What is the most specific category that both Sioux Falls and Syracuse belong to?", "sparql": "SELECT ?commonClass ?label\nWHERE {\n  wd:Q131335 wdt:P31 ?instance1 .\n  ?instance1 wdt:P279* wd:Q1093829 .\n  \n  wd:Q128069 wdt:P31 ?instance2 .\n  ?instance2 wdt:P279* wd:Q1093829 .\n  \n  wd:Q1093829 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nLIMIT 1", "paraphrases": ["What shared classification do Sioux Falls and Syracuse have in the Wikidata hierarchy?", "What is the lowest common superclass of Sioux Falls and Syracuse based on their instance-of relationships?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q131335> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q128069> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1925", "question": "Non-human entities with grave images and their types", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel ?type ?typeLabel WHERE {\n  ?item wdt:P1442 [] .\n  FILTER(NOT EXISTS {\n    ?item wdt:P31 wd:Q5\n  })\n  OPTIONAL {\n    ?item wdt:P31 ?type\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n  OPTIONAL {\n    ?type rdfs:label ?typeLabel .\n    FILTER(LANG(?typeLabel) = \"en\")\n  }\n}\nLIMIT 100", "paraphrases": ["What non-human entities have images of graves, and what are they classified as?", "Show me items that are not humans but have grave images, along with their categories."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1442> [] . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . } ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } } LIMIT 100 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1926", "question": "What information is stored about the statement that links smallpox to DOID:8736?", "sparql": "SELECT ?property ?value WHERE { <http://www.wikidata.org/entity/statement/Q12214-9B317BA5-7A49-4D7A-BA9C-E6233B469443> ?property ?value . }", "paraphrases": ["Show all properties and values of the statement identifying smallpox with the Disease Ontology ID DOID:8736.", "Can you display the rank, source, and exact match value for the statement connecting smallpox to DOID:8736?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q12214-9B317BA5-7A49-4D7A-BA9C-E6233B469443> ?var1 ?var2 . }"}}
{"id": "test_1927", "question": "What biological process is associated with the Reactome ID R-HSA-195739?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?entity ?entityLabel WHERE {\n  ?entity wdt:P3937 \"R-HSA-195739\" .\n  ?entity rdfs:label ?entityLabel .\n  FILTER(LANG(?entityLabel) = \"en\")\n}", "paraphrases": ["Which entity in Wikidata has the Reactome identifier R-HSA-195739?", "Can you tell me the name of the biological process with Reactome ID R-HSA-195739?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q50289511-8AEC8E16-15A2-4D92-8975-144755E96F86> ?var1 ?var2 . }"}}
{"id": "test_1928", "question": "Which biological process in Wikidata has the Reactome ID R-HSA-191422?", "sparql": "SELECT ?process ?processLabel WHERE { ?process wdt:P3937 \"R-HSA-191422\" . ?process rdfs:label ?processLabel . FILTER(LANG(?processLabel) = \"en\") }", "paraphrases": ["What is the name of the biological process in Wikidata that corresponds to the Reactome identifier R-HSA-191422?", "Show me the Wikidata entry for the biological process with Reactome ID R-HSA-191422."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q50294070-EC635946-5E27-41C3-B8AE-752E5A8C85B9> . }"}}
{"id": "test_1929", "question": "How many books and book subtypes are there in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT(COUNT(DISTINCT ?bookItem) AS ?count) WHERE {\n  ?bookItem wdt:P31 / wdt:P279 * wd:Q571 .\n}", "paraphrases": ["What is the total number of items in Wikidata that are either books or subclasses of books?", "Count all entities in Wikidata that are instances of the class \"book\" or any of its subclasses."], "info": {"raw_sparql": "SELECT( COUNT ( DISTINCT ?var1 ) AS ?var2 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q571> . }"}}
{"id": "test_1930", "question": "What is the most specific category that both Fran\u00e7ois Hollande and S\u00fcddeutsche Zeitung belong to through their types?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonClass WHERE {\n  wd:Q5 wdt:P279 * ?commonClass .\n  wd:Q1110794 wdt:P279 * ?commonClass .\n}\nORDER BY ASC ( ?commonClass )\nLIMIT 1", "paraphrases": ["What abstract class do a human and a newspaper have in common in Wikidata\u2019s ontology?", "Find the highest-level shared superclass of the type of Fran\u00e7ois Hollande and the type of S\u00fcddeutsche Zeitung."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q157> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q158870> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1931", "question": "Medical conditions with MeSH IDs and Wikimedia Commons categories, and the body parts they affect.", "sparql": "SELECT ?conditionLabel ?meshId ?condition ?commonsCat ?affectedPart WHERE { ?condition wdt:P486 ?meshId ; wdt:P373 ?commonsCat ; wdt:P1050 ?affectedPart . ?condition rdfs:label ?conditionLabel . }", "paraphrases": ["Which medical conditions have a MeSH descriptor ID and a corresponding Wikimedia Commons category, and what anatomical parts do they affect?", "Show me medical conditions linked to MeSH IDs and Commons categories, along with the body parts they impact."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var5 <http://www.wikidata.org/prop/direct/P373> ?var4 ; <http://www.wikidata.org/prop/direct/P1050> ?var3 ; <http://www.wikidata.org/prop/direct/P486> ?var2 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . }"}}
{"id": "test_1932", "question": "Does Psychoville have a list of episodes on Wikimedia?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q1107270 wdt:P1811 wd:Q6595166 .\n}", "paraphrases": ["Is the article \"list of Psychoville episodes\" linked as the episode list for the TV series Psychoville?", "Confirm that the TV series Psychoville uses the Wikimedia list article \"list of Psychoville episodes\" as its official episode list."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q6595166> . }"}}
{"id": "test_1933", "question": "Organizations and researchers interested in Alzheimer\u2019s disease.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P2650 wd:Q11081 .\n}", "paraphrases": ["Who are the people and organizations that have Alzheimer\u2019s disease as an area of interest or research focus?", "List all entities (individuals or organizations) that are interested in Alzheimer\u2019s disease."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2650> <http://www.wikidata.org/entity/Q11081> . } LIMIT 10000"}}
{"id": "test_1934", "question": "What country is both Detroit and the Commodity Futures Trading Commission located in?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?country ?countryLabel WHERE {\n  wd:Q12439 wdt:P17 ?country .\n  wd:Q611748 wdt:P17 ?country .\n  ?country rdfs:label ?countryLabel .\n  FILTER(LANG(?countryLabel) = 'en')\n}", "paraphrases": ["Which country do Detroit and the U.S. Commodity Futures Trading Commission share as their location?", "Find the country associated with both the city of Detroit and the Commodity Futures Trading Commission."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q12439> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q611748> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1935", "question": "List scientific papers co-authored by Harvard and Cornell alumni, ordered by the Harvard author's name.", "sparql": "SELECT DISTINCT ?harvardAuthor ?harvardAuthorLabel ?cornellAuthor ?cornellAuthorLabel ?paper ?paperLabel WHERE {\n  VALUES ?harvardUniversity { wd:Q13371 }\n  VALUES ?cornellUniversity { wd:Q49115 }\n  \n  ?harvardAuthor wdt:P69 ?harvardUniversity .\n  ?cornellAuthor wdt:P69 ?cornellUniversity .\n  ?paper wdt:P50 ?harvardAuthor , ?cornellAuthor .\n  \n  FILTER ( STR(?harvardAuthor) < STR(?cornellAuthor) )\n  \n  OPTIONAL { ?harvardAuthor rdfs:label ?harvardAuthorLabel . FILTER(LANG(?harvardAuthorLabel) = \"en\") }\n  OPTIONAL { ?cornellAuthor rdfs:label ?cornellAuthorLabel . FILTER(LANG(?cornellAuthorLabel) = \"en\") }\n  OPTIONAL { ?paper rdfs:label ?paperLabel . FILTER(LANG(?paperLabel) = \"en\") }\n}\nORDER BY ASC(?harvardAuthorLabel)\nLIMIT 500", "paraphrases": ["Which research papers have been co-authored by someone educated at Harvard and someone educated at Cornell?", "Show me all co-authored academic works where one author studied at Harvard and the other at Cornell, sorted alphabetically by the Harvard author\u2019s name."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { VALUES ( ?var4 ) { ( <http://www.wikidata.org/entity/Q13371> ) ( <http://www.wikidata.org/entity/Q49115> ) } VALUES ( ?var5 ) { ( <http://www.wikidata.org/entity/Q13371> ) ( <http://www.wikidata.org/entity/Q49115> ) } ?var1 ?var6 ?var4 . ?var2 ?var7 ?var5 . ?var3 <http://www.wikidata.org/prop/direct/P50> ?var1 , ?var2 . FILTER ( ( ( STR ( ?var1 ) < STR ( ?var2 ) ) && ( ?var4 != ?var5 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label ) LIMIT 500"}}
{"id": "test_1936", "question": "What country is both Google and Mandalay Bay located in?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?common WHERE {\n  wd:Q95 wdt:P17 ?common .\n  wd:Q1368043 wdt:P17 ?common .\n}", "paraphrases": ["Which country is the common location for Google and Mandalay Bay?", "Find the country associated with both Google and Mandalay Bay."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q95> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1368043> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1937", "question": "English label of the Italian town Leonessa", "sparql": "SELECT DISTINCT ?item ?itemLabel WHERE { ?item rdfs:label \"Leonessa\"@it . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["What is the English name of the Italian commune called Leonessa?", "Show me the English label for entities that are labeled \"Leonessa\" in Italian."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { { ?var1 ?var3Label \"BBLeonessa\"@it . } UNION { ?var1 ?var3Label \"bbleonessa\"@it . } ?var1 ?var4 ?var5 . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6 . FILTER ( ( ( LANG ( ?var6 ) = \"en\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,en\". } }"}}
{"id": "test_1938", "question": "Books with their titles and images from Wikidata", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?book ?title ?image WHERE {\n  ?book wdt:P31 wd:Q571 .\n  OPTIONAL {\n    ?book rdfs:label ?title .\n    FILTER(LANG(?title) = \"en\")\n  }\n  OPTIONAL {\n    ?book wdt:P18 ?image\n  }\n}\nLIMIT 100", "paraphrases": ["What are the titles of books, and do they have images on Wikimedia Commons?", "Show me up to 100 books with their English titles and any associated images."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q571> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_1939", "question": "Scholarly articles with authors who have ORCID identifiers.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?article ?articleLabel ?author ?authorLabel ?orcid WHERE {\n  ?article wdt:P31 wd:Q13442814 .\n  ?article wdt:P50 ?author .\n  ?author wdt:P496 ?orcid .\n  ?article rdfs:label ?articleLabel .\n  ?author rdfs:label ?authorLabel .\n  FILTER(LANG(?articleLabel) = \"en\")\n  FILTER(LANG(?authorLabel) = \"en\")\n}\nLIMIT 10", "paraphrases": ["Which scholarly articles have authors with ORCID iDs, and what are the authors' names and ORCIDs?", "List scholarly articles along with their authors' names and ORCID identifiers, limited to English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COALESCE ( ?var2 , CONCAT ( \"string1\", ENCODE_FOR_URI ( ?var1Label ) ) ) AS ?var3 ) WHERE { <http://www.wikidata.org/entity/Q37173749> <http://www.wikidata.org/prop/direct/P50> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,da,de,es,fr,nl,no,ru,sv,zh\". } }"}}
{"id": "test_1940", "question": "People affiliated with Maastricht University who have an ORCID iD.", "sparql": "SELECT ?person ?personLabel ?orcid WHERE { ?person wdt:P1416 wd:Q1137652 ; wdt:P496 ?orcid . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } ORDER BY ?personLabel", "paraphrases": ["Who are the researchers affiliated with Maastricht University that have an ORCID identifier?", "List the names and ORCID IDs of all people affiliated with Maastricht University."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1416> <http://www.wikidata.org/entity/Q1137652> ; <http://www.wikidata.org/prop/direct/P496> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_1941", "question": "What is the most specific category that both Banki and New York City belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?commonAncestor ?label WHERE {\n  wd:Q486972 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  BIND(wd:Q486972 AS ?commonAncestor)\n}", "paraphrases": ["What class is a common ancestor of Banki and New York City in the Wikidata ontology?", "What is the shared superclass of Banki and New York City?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2563333> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q60> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1942", "question": "List people with their Dictionary Grierson ID, ORCID, VIAF ID, date of birth, and date of death.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var7Name ?var2 ?var3 ?var4 ?var5 ?var6 WHERE {\n  ?var7 wdt:P1559 ?var7Name .\n  OPTIONAL {\n    ?var7 wdt:P3946 ?var2 .\n  }\n  OPTIONAL {\n    ?var7 wdt:P496 ?var3 .\n  }\n  OPTIONAL {\n    ?var7 wdt:P214 ?var4 .\n  }\n  OPTIONAL {\n    ?var7 wdt:P569 ?var5 .\n  }\n  OPTIONAL {\n    ?var7 wdt:P570 ?var6 .\n  }\n}\nLIMIT 1000", "paraphrases": ["Who are the people that have a VIAF ID, ORCID, or Dictionary Grierson ID, and what are their birth and death dates?", "Show me a list of individuals along with their identifiers (VIAF, ORCID, Grierson ID) and their birth and death dates."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5Label ?var6Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var7 <http://www.wikidata.org/prop/direct/P3946> ?var2 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/direct/P496> ?var3 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/direct/P214> ?var4 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/direct/P569> ?var5 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/direct/P570> ?var6 . } } LIMIT 1000"}}
{"id": "test_1943", "question": "What beauty pageant followed Miss World 2011?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?nextPageant ?nextPageantLabel WHERE {\n  ?nextPageant wdt:P155 wd:Q526952 .\n  ?nextPageant rdfs:label ?nextPageantLabel .\n  FILTER(LANG(?nextPageantLabel) = \"en\")\n}\nLIMIT 200", "paraphrases": ["Which edition of Miss World came right after the 2011 event?", "Show me the next Miss World pageant after 2011."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P155> <http://www.wikidata.org/entity/Q526952> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 200"}}
{"id": "test_1944", "question": "What is the HomoloGene ID for the Apoe gene?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?entityLabel ?homologeneId WHERE {\n  wd:Q14890475 p:P593 ?statement .\n  ?statement ps:P593 ?homologeneId .\n  wd:Q14890475 rdfs:label ?entityLabel .\n  FILTER ( LANG( ?entityLabel ) = \"en\" )\n}", "paraphrases": ["Can you tell me the English label and HomoloGene ID of the gene with Wikidata ID Q14890475?", "Which gene has the HomoloGene ID 30951, and what is its name in English?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q14890475-311AA247-6357-4ED0-94CE-87EB228BCCF7> ?var1 ?var2 . }"}}
{"id": "test_1945", "question": "What Wikidata item is associated with the Twitter username \"iambohemia\"?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"iambohemia\" } }", "paraphrases": ["Who uses the Twitter handle \"iambohemia\"?", "Find the entity in Wikidata that has the X (Twitter) username \"iambohemia\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"AspreyUK\" ) ( \"string1\" ) ( \"skyvegas\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"iambohemia\" ) ( \"string5\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_1946", "question": "What is the most general category that both the town of Belleair and the person Rihanna belong to in Wikidata's classification system?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?label WHERE {\n  wd:Q35120 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["What is the highest-level class that is an ancestor of both the human class and the town in the United States class in Wikidata?", "What is the common superclass in the Wikidata ontology that connects entities like Rihanna and Belleair through their class hierarchies?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2092758> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q36844> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1947", "question": "What entity and property are connected to the statement with identifier s:Q5288-E4B611B6-D551-40C1-BD3A-FEE8BFED631C?", "sparql": "SELECT ?entity ?property WHERE { ?entity ?property s:Q5288-E4B611B6-D551-40C1-BD3A-FEE8BFED631C . }", "paraphrases": ["Which subject and property link to the statement about Tcl identified as s:Q5288-E4B611B6-D551-40C1-BD3A-FEE8BFED631C?", "For the statement s:Q5288-E4B611B6-D551-40C1-BD3A-FEE8BFED631C, what is the entity and property that reference it?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q5288-E4B611B6-D551-40C1-BD3A-FEE8BFED631C> . }"}}
{"id": "test_1948", "question": "All properties and values for the human gene EGFLAM.", "sparql": "SELECT ?property ?value WHERE { wd:Q18050476 ?property ?value .}", "paraphrases": ["What information is available in Wikidata about the gene EGFLAM?", "Show me all the data linked to the gene EGFLAM in Wikidata, including descriptions and identifiers."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q18050476> ?var1 ?var2 . }"}}
{"id": "test_1949", "question": "What entity and property are associated with the statement identified by s:Q335669-F11441C2-5861-4304-BEF4-1267154AD3D2?", "sparql": "SELECT ?entity ?property WHERE { ?entity ?property s:Q335669-F11441C2-5861-4304-BEF4-1267154AD3D2 . }", "paraphrases": ["Which protein domain has an Ensembl protein ID statement with this specific identifier?", "Can you tell me the subject and property of the Wikidata statement with ID Q335669-F11441C2-5861-4304-BEF4-1267154AD3D2?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q335669-F11441C2-5861-4304-BEF4-1267154AD3D2> . }"}}
{"id": "test_1950", "question": "What is the most specific category that both the Soviet Union and World War II belong to?", "sparql": "SELECT ?commonAncestor WHERE { wd:Q3024240 wdt:P279* ?commonAncestor . wd:Q103495 wdt:P279* ?commonAncestor . FILTER NOT EXISTS { ?otherAncestor wdt:P279* ?commonAncestor . FILTER (?otherAncestor != ?commonAncestor) . wd:Q3024240 wdt:P279* ?otherAncestor . wd:Q103495 wdt:P279* ?otherAncestor . } } LIMIT 1", "paraphrases": ["What do the Soviet Union and World War II have in common in terms of their highest-level classification?", "What is the broadest shared category that includes both the Soviet Union and World War II in Wikidata\u2019s taxonomy?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q15180> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q362> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1951", "question": "List of humans whose existence is disputed or legendary.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?human WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human ( wdt:P31 / wdt:P279 * ) wd:Q21070568 .\n}", "paraphrases": ["Who are the humans that may be fictional or whose existence is historically uncertain?", "Show all humans that are instances of a class which is a subclass of \"human whose existence is disputed\"."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q21070568> . }"}}
{"id": "test_1952", "question": "What is the English label and description of the medical condition with Orphanet ID 165704?", "sparql": "SELECT ?condition ?conditionLabel ?description WHERE { ?condition wdt:P1550 \"165704\" . OPTIONAL { ?condition rdfs:label ?conditionLabel . FILTER (LANG(?conditionLabel) = \"en\") } OPTIONAL { ?condition schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["What is the name and definition in English of the rare disease identified by Orphanet number 165704?", "Please provide the English name and description of the condition that has the Orphanet ID 165704."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1550> \"165704\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1953", "question": "How many genes and their subclasses are documented in Wikidata?", "sparql": "SELECT (COUNT(DISTINCT ?item) AS ?count)\nWHERE {\n  ?item wdt:P31/wdt:P279* wd:Q729 .\n}", "paraphrases": ["What is the total number of entities that are either genes or direct/indirect subclasses of genes?", "Count all items in Wikidata that are instances of a gene or any of its subtypes."], "info": {"raw_sparql": "SELECT ?var1 WHERE { { SELECT( COUNT ( DISTINCT ?var2 ) AS ?var1 ) WHERE { { ?var2 ?var3 ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P279> + <http://www.wikidata.org/entity/Q729> . } UNION { ?var2 ?var3 <http://www.wikidata.org/entity/Q729> . } } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1954", "question": "Diseases with DOID, OMIM, MeSH, and NCIt identifiers and their English names.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?disease ?doid ?label ?omim ?mesh ?ncit WHERE {\n  ?disease wdt:P699 ?doid ; rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    ?disease wdt:P492 ?omim .\n  }\n  OPTIONAL {\n    ?disease wdt:P486 ?mesh .\n  }\n  OPTIONAL {\n    ?disease wdt:P1748 ?ncit .\n  }\n}", "paraphrases": ["What are the English names of diseases that have a Disease Ontology ID, along with their corresponding OMIM, MeSH, and NCIt identifiers?", "List diseases identified by DOID, including their English labels and any available OMIM, MeSH, or NCIt IDs."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label ?var4 ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P699> ?var2 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var7Label ; <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . OPTIONAL { ?var8 <http://www.wikidata.org/prop/direct/P492> ?var4 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/direct/P486> ?var5 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/direct/P1748> ?var6 . } }"}}
{"id": "test_1955", "question": "Genes classified in Wikidata with their English labels.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?gene ?geneLabel WHERE {\n  ?gene wdt:P31 wd:Q7187 .\n  ?gene rdfs:label ?geneLabel .\n  FILTER ( LANG( ?geneLabel ) = 'en' )\n}\nLIMIT 10", "paraphrases": ["What are some genes in Wikidata and what are their English names?", "List up to 10 genes from Wikidata along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q18248539-F8806B78-CCC3-41FC-A259-C805624C783D> ?var1 ?var2 . }"}}
{"id": "test_1956", "question": "What properties are used to link other entities to the academic article \"The Alzheimer's Disease Assessment Scale: patterns and ... performance in multicenter Alzheimer's disease trials\"?", "sparql": "SELECT DISTINCT ?property WHERE { ?subject ?property wd:Q34429543 . }", "paraphrases": ["Which relationships connect this Alzheimer\u2019s research paper to other items in Wikidata?", "Show all the ways this article is connected to other data in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q34429543> . }"}}
{"id": "test_1957", "question": "Books with their genres, countries of origin, and publication dates, including English genre labels.", "sparql": "SELECT DISTINCT ?book ?genre ?genreLabel ?country ?publicationDate WHERE { ?book wdt:P31 wd:Q571 . ?book wdt:P136 ?genre . ?book wdt:P495 ?country . ?book wdt:P577 ?publicationDate . OPTIONAL { ?genre rdfs:label ?genreLabel . FILTER(LANG(?genreLabel) = \"en\") } } LIMIT 50", "paraphrases": ["What are books, their genres (in English), countries of origin, and publication dates?", "List books along with their English genre names, the countries they are associated with, and when they were published."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5Label ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q571> . ?var1 <http://www.wikidata.org/prop/direct/P136> ?var2 . ?var2 <http://dbpedia.org/ontology/country> ?var4 . ?var2 <http://xmlns.com/foaf/0.1/gender> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 50"}}
{"id": "test_1958", "question": "What are the multilingual descriptions and Ensembl transcript IDs for the endothelin receptor type A gene?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?value WHERE {\n  wd:Q390540 ?property ?value .\n  FILTER ( ?property IN ( schema:description , wdt:P704 ) )\n}", "paraphrases": ["What descriptions in different languages and Ensembl transcript IDs are associated with the EDNRA gene?", "Show me all the language-specific descriptions and Ensembl transcript IDs for the human EDNRA gene."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q390540> ?var1 ?var2 . }"}}
{"id": "test_1959", "question": "Books in children's literature with their publication dates and titles.", "sparql": "SELECT DISTINCT ?book ?publicationDate ?title WHERE { ?book wdt:P31 wd:Q571 . ?book wdt:P136 wd:Q131539 . OPTIONAL { ?book wdt:P577 ?publicationDate } ?book rdfs:label ?title . FILTER(LANGMATCHES(LANG(?title), \"en\")) } LIMIT 100", "paraphrases": ["What are the English titles and publication dates of books in the children's literature genre?", "List the titles and publication years of books categorized as children's literature."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var3Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,fr\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q571> . ?var1 <http://www.wikidata.org/prop/direct/P136> <http://www.wikidata.org/entity/Q131539> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var2 . } } LIMIT 100"}}
{"id": "test_1960", "question": "What scholarly article is referenced by the statement with ID Q28609440-A128A784-7ADB-42C2-A35B-D6ECED8F491D, and what is its source?", "sparql": "SELECT ?entity ?entityLabel ?reference WHERE { ?entity p:P31 s:Q28609440-A128A784-7ADB-42C2-A35B-D6ECED8F491D . s:Q28609440-A128A784-7ADB-42C2-A35B-D6ECED8F491D ps:P31 wd:Q13442814 . s:Q28609440-A128A784-7ADB-42C2-A35B-D6ECED8F491D prov:wasDerivedFrom ?reference . ?entity rdfs:label ?entityLabel . FILTER(LANG(?entityLabel) = \"en\") }", "paraphrases": ["Which entity has a statement claiming it is a scholarly article, with the reference ref:c6f780e50b2c149be6de96114f040997879bec08?", "Can you tell me the title and source of the scholarly article linked to this Wikidata statement?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q28609440-A128A784-7ADB-42C2-A35B-D6ECED8F491D> ?var1 ?var2 . }"}}
{"id": "test_1961", "question": "Does the TV series Nisekoi have a Wikipedia episode list linked in Wikidata?", "sparql": "ASK WHERE { ?series wdt:P1811 wd:Q17051034 . }", "paraphrases": ["Is there a TV series in Wikidata whose list of episodes is the Wikipedia article \"Nisekoi episode list\"?", "Confirm if the Wikipedia article listing episodes of Nisekoi is linked to the TV series Nisekoi in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q17051034> . }"}}
{"id": "test_1962", "question": "Is there a TV series whose episode list is linked to the Wikipedia article \"list of Magpahanggang Wakas episodes\"?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?series wdt:P1811 wd:Q27676207 .\n}", "paraphrases": ["Does the TV series \"Magpahanggang Wakas\" have its episodes listed on Wikipedia?", "Which TV series has an episode list article titled \"list of Magpahanggang Wakas episodes\"?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q27676207> . }"}}
{"id": "test_1963", "question": "Image for SNAC ARK ID w6p27qx5", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6p27qx5\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What image is associated with the SNAC ARK ID w6p27qx5?", "Show me the Wikimedia Commons image linked to the SNAC ARK ID w6p27qx5."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6p27qx5\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_1964", "question": "What gene or biological entity has the Ensembl transcript ID ENST00000288602.6?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?entity ?entityLabel WHERE {\n  ?entity p:P704 ?statement .\n  ?statement ps:P704 \"ENST00000288602.6\" .\n  ?entity rdfs:label ?entityLabel .\n  FILTER ( LANGMATCHES( LANG( ?entityLabel ) , \"en\" ) )\n}", "paraphrases": ["Which entity in Wikidata is associated with the transcript ENST00000288602.6?", "Find the label of the entity that has the Ensembl transcript ID ENST00000288602.6."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q21851559-eb1d74e2-41b5-4517-17e9-960c618f5ec6> ?var1 ?var2 . }"}}
{"id": "test_1965", "question": "Journals where Douglas Kell has published the most papers, with publication counts.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?publicationMedium ?publicationLabel(COUNT(?work) AS ?count) WHERE {\n  ?work wdt:P50 wd:Q5301676 .\n  ?work wdt:P1433 ?publicationMedium .\n  ?publicationMedium rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    ?publicationMedium wdt:P1813 ?shortName .\n  }\n  BIND(COALESCE(?shortName , ?label) AS ?publicationLabel)\n}\nGROUP BY ?publicationMedium ?publicationLabel\nORDER BY DESC(?count)", "paraphrases": ["Which journals and publications have Douglas Kell published in the most, and how many papers has he published in each?", "List the publication venues for Douglas Kell\u2019s works, using abbreviated names where available, sorted by the number of publications in descending order."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q5301676> . ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1813> ?var6 . } BIND ( COALESCE ( ?var6 , ?var5Label ) AS ?var2Label ). } GROUP BY ?var1 ?var2Label ORDER BY DESC( ?var4 )"}}
{"id": "test_1966", "question": "What is the English Wikipedia page and Rotten Tomatoes ID for the film with IMDb ID tt0180734?", "sparql": "SELECT ?wikipediaPage ?rottenTomatoesId ?award WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P345 \"tt0180734\" . OPTIONAL { ?wikipediaPage schema:about ?film ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> . } OPTIONAL { ?film p:P166 ?awardStatement . ?awardStatement ps:P166 ?award . ?award rdfs:label ?awardLabel . FILTER(LANG(?awardLabel) = \"en\") } OPTIONAL { ?film wdt:P1258 ?rottenTomatoesId . } }", "paraphrases": ["Can you find the English Wikipedia article and Rotten Tomatoes identifier for the movie Hardball, given its IMDb ID is tt0180734?", "Please provide the English Wikipedia link and Rotten Tomatoes ID for the film tt0180734, and if available, list any awards it has received in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var4 <http://www.wikidata.org/prop/direct/P345> ?var5 . OPTIONAL { ?var1 <http://schema.org/about> ?var4 . ?var1 <http://schema.org/inLanguage> \"en\". ?var1 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/P166> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P166> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P1258> ?var2 . } FILTER ( ( ( ?var5 = \"tt0180734\" ) ) ) . }"}}
{"id": "test_1967", "question": "What gene is associated with the Ensembl ID ENSG00000288702 and has a statement claiming it is an instance of a gene?", "sparql": "PREFIX s: <http://www.wikidata.org/entity/statement/>\nPREFIX ref: <http://www.wikidata.org/reference/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX prov: <http://www.w3.org/ns/prov#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pr: <http://www.wikidata.org/prop/reference/>\nSELECT ?gene ?geneLabel ?ensemblId WHERE {\n  s:Q18041150-862BB426-F148-419A-9246-0E717767AB9D ps:P31 wd:Q7187 .\n  s:Q18041150-862BB426-F148-419A-9246-0E717767AB9D prov:wasDerivedFrom ref:324ee327cdb312a51cdd3768cbe9f88e608e5f55 .\n  ref:324ee327cdb312a51cdd3768cbe9f88e608e5f55 pr:P594 ?ensemblId .\n  ?gene wdt:P594 ?ensemblId .\n  ?gene rdfs:label ?geneLabel .\n  FILTER(LANG(?geneLabel) = \"en\")\n}", "paraphrases": ["Which gene has the Ensembl identifier ENSG00000288702, and what is its name?", "Can you find the gene that is referenced by the statement node s:Q18041150-862BB426-F148-419A-9246-0E717767AB9D?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q18041150-862BB426-F148-419A-9246-0E717767AB9D> ?var1 ?var2 . }"}}
{"id": "test_1968", "question": "Top authors employed by the University of Pittsburgh, ranked by number of published works.", "sparql": "SELECT ?person ?personLabel ?orcid (COUNT(?work) AS ?workCount)\nWHERE {\n  ?person wdt:P108 wd:Q235034 .\n  OPTIONAL { ?work wdt:P50 ?person . }\n  OPTIONAL { ?person wdt:P496 ?orcid . }\n  OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }\n}\nGROUP BY ?person ?personLabel ?orcid\nORDER BY DESC(?workCount)", "paraphrases": ["Who are the most prolific authors among employees of the University of Pittsburgh, and how many works have they authored?", "List the University of Pittsburgh employees who have written the most scholarly works, along with their ORCID IDs and publication counts."], "info": {"raw_sparql": "SELECT( SAMPLE ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ( MAX ( ?var4 ) AS ?var5 ) ?var6 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT( COUNT ( ?var7 ) AS ?var1 ) ?var3 WHERE { { SELECT DISTINCT ?var3 WHERE { { ?var3 ( <http://www.wikidata.org/prop/direct/P108> | <http://www.wikidata.org/prop/direct/P463> ) <http://www.wikidata.org/entity/Q235034> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P1416> / <http://www.wikidata.org/prop/direct/P361> *) <http://www.wikidata.org/entity/Q235034> . } } } OPTIONAL { ?var7 <http://www.wikidata.org/prop/direct/P50> ?var3 . } } GROUP BY ?var3 } OPTIONAL { BIND ( <http://www.w3.org/2001/XMLSchema#date> ( ?var8 ) AS ?var4 ). ?var3 <http://www.wikidata.org/prop/direct/P569> ?var8 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P496> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,nl,no,ru,sv,zh\". } } GROUP BY ?var3 ?var3Label ?var6 ORDER BY DESC( ?var2 )"}}
{"id": "test_1969", "question": "What properties are used to link other items to the academic article \"The culprit behind amyloid beta peptide related neurotoxicity in Alzheimer's disease: oligomer size or conformation?\"?", "sparql": "SELECT DISTINCT ?property WHERE { ?item ?property wd:Q37774042 .}", "paraphrases": ["How is this scientific article connected to other resources in Wikidata?", "Which entities cite or are about this 2010 academic paper on Alzheimer\u2019s disease?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q37774042> . }"}}
{"id": "test_1970", "question": "What are the main categories that the German rock band Neu! and Native Americans in the United States belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity ?class ?classLabel WHERE {\n  VALUES ?entity {\n    wd:Q181874 wd:Q49297\n  }\n  ?entity wdt:P31 ?class .\n  ?class rdfs:label ?classLabel .\n  FILTER(LANG(?classLabel) = \"en\")\n}\nORDER BY ?entity", "paraphrases": ["Show the instance-of categories for Neu! and Native Americans in the United States.", "What types of entities are Neu! and Native Americans in the United States classified as in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q181874> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q49297> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_1971", "question": "Authors of \"The ubiquitin-proteasome system is required for African swine fever replication\" and their ORCID IDs.", "sparql": "SELECT ?author ?authorLabel ?orcid WHERE { wd:Q47115157 wdt:P50 ?author . OPTIONAL { ?author wdt:P496 ?orcid . } ?author rdfs:label ?authorLabel . FILTER(LANG(?authorLabel) = \"en\") }", "paraphrases": ["Who are the authors of the article \"The ubiquitin-proteasome system is required for African swine fever replication\", and which of them have ORCID identifiers?", "List the English names of the authors of the article on the ubiquitin-proteasome system and their ORCID numbers, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COALESCE ( ?var2 , CONCAT ( \"string1\", ENCODE_FOR_URI ( ?var1Label ) ) ) AS ?var3 ) WHERE { <http://www.wikidata.org/entity/Q47115157> <http://www.wikidata.org/prop/direct/P50> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,da,de,es,fr,nl,no,ru,sv,zh\". } }"}}
{"id": "test_1972", "question": "Which Wikidata items have the Twitter usernames \"dunkels\", \"Rosiestep\", or \"stekosteko\"?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"dunkels\" \"Rosiestep\" \"stekosteko\" } }", "paraphrases": ["Who are the people on Wikidata with the Twitter handles dunkels, Rosiestep, and stekosteko?", "Can you find the Wikidata entries for users with the Twitter usernames dunkels, Rosiestep, and stekosteko?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"Rosiestep\" ) ( \"string3\" ) ( \"string4\" ) ( \"WaterWavy\" ) ( \"string5\" ) ( \"salgo60\" ) ( \"dunkels\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"MarDixon\" ) ( \"w_stanley\" ) ( \"stekosteko\" ) ( \"string10\" ) ( \"string11\" ) ( \"josep\" ) ( \"NukeyTime\" ) ( \"string12\" ) } }"}}
{"id": "test_1973", "question": "Is there a TV series with its episode list linked to the article \"Bubu, der Hund mit dem Hausschuh/Episodenliste\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  ?series wdt:P1811 wd:Q16995702 .\n}", "paraphrases": ["Does the TV series Kipper have its episode list on the Wikipedia article wd:Q16995702?", "Confirm whether any TV series is associated with the episode list article wd:Q16995702."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q16995702> . }"}}
{"id": "test_1974", "question": "List films with their IMDb, Rotten Tomatoes, Metacritic, Netflix, and OMDB IDs, along with titles and images.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?film ?title ?imdb_id ?allmovie_id ?freebase_id ?moviemeter_id ?rotten_tomatoes_id ?omdb_id ?netflix_id ?metacritic_id ?image WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  OPTIONAL {\n    ?film wdt:P1476 ?title .\n  }\n  OPTIONAL {\n    ?film wdt:P345 ?imdb_id .\n  }\n  OPTIONAL {\n    ?film wdt:P1562 ?allmovie_id .\n  }\n  OPTIONAL {\n    ?film wdt:P646 ?freebase_id .\n  }\n  OPTIONAL {\n    ?film wdt:P1970 ?moviemeter_id .\n  }\n  OPTIONAL {\n    ?film wdt:P1258 ?rotten_tomatoes_id .\n  }\n  OPTIONAL {\n    ?film wdt:P3302 ?omdb_id .\n  }\n  OPTIONAL {\n    ?film wdt:P1874 ?netflix_id .\n  }\n  OPTIONAL {\n    ?film wdt:P1712 ?metacritic_id .\n  }\n  OPTIONAL {\n    ?film wdt:P18 ?image .\n  }\n}\nLIMIT 100", "paraphrases": ["What are the titles and identifiers (IMDb, AllMovie, Freebase, MovieMeter, Rotten Tomatoes, OMDB, Netflix, Metacritic) for films in Wikidata, and do they have associated images?", "Please provide a list of up to 100 films, including their English titles and common identifiers from IMDb, Rotten Tomatoes, OMDB, Netflix, and Metacritic, along with any available poster images from Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 ?var12 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var12 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1266> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1562> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P646> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1970> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1258> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3302> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1874> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1712> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var11 . } } LIMIT 100"}}
{"id": "test_1975", "question": "Scholarly articles on multidrug resistance with PubMed IDs", "sparql": "SELECT DISTINCT ?article ?articleLabel ?pubmedId WHERE { VALUES ?article { wd:Q33912257 wd:Q58136246 wd:Q67885517 wd:Q67909464 wd:Q67261738 wd:Q53982560 wd:Q54295814 } ?article rdfs:label ?articleLabel . FILTER(LANG(?articleLabel) = \"en\") . OPTIONAL { ?article wdt:P698 ?pubmedId . } }", "paraphrases": ["Which academic papers about multidrug resistance have PubMed identifiers?", "List English-language scholarly articles on multidrug resistance and their PubMed IDs."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13442814> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P698> ?var2 . } FILTER ( ( CONTAINS ( LCASE ( ?var1Label ) , \"multidrug\" ) ) ) . FILTER ( ( CONTAINS ( LCASE ( ?var1Label ) , \"resist\" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . }"}}
{"id": "test_1976", "question": "What is the ORCID iD of Ugur Kaya, and are there any other identifiers like ISNI or VIAF associated with him?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?orcid ?isni ?viaf ?ipni ?zoobank ?image WHERE {\n  wd:Q92645178 wdt:P496 ?orcid .\n  OPTIONAL {\n    wd:Q92645178 wdt:P213 ?isni\n  }\n  .\n  OPTIONAL {\n    wd:Q92645178 wdt:P214 ?viaf\n  }\n  .\n  OPTIONAL {\n    wd:Q92645178 wdt:P586 ?ipni\n  }\n  .\n  OPTIONAL {\n    wd:Q92645178 wdt:P2006 ?zoobank\n  }\n  .\n  OPTIONAL {\n    wd:Q92645178 wdt:P18 ?image\n  }\n  .\n}", "paraphrases": ["Can you find Ugur Kaya in Wikidata and list his academic identifiers such as ORCID, ISNI, and VIAF?", "Show me the ORCID, ISNI, VIAF, IPNI, ZooBank ID, and image for the researcher Ugur Kaya."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Ugur Kaya\"@en . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/isPartOf> <https://species.wikimedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P213> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P214> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P586> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2006> ?var8 . } }"}}
{"id": "test_1977", "question": "What are all the scholarly articles authored by the Alzheimer\u2019s Disease Neuroimaging Initiative, along with their publication dates, venues, types, and page counts?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT(MIN(?pubDate) AS ?earliestDate) ?work ?workLabel(GROUP_CONCAT(DISTINCT ?typeLabel ; SEPARATOR = \", \") AS ?types)(SAMPLE(?pages) AS ?numberOfPages) ?venue ?venueLabel(GROUP_CONCAT(DISTINCT ?authorLabel ; SEPARATOR = \", \") AS ?authors) WHERE {\n  ?work wdt:P50 wd:Q4738819 .\n  ?work rdfs:label ?workLabel .\n  FILTER(LANG(?workLabel) = \"en\")\n  OPTIONAL {\n    ?work wdt:P31 ?type .\n    ?type rdfs:label ?typeLabel .\n    FILTER(LANG(?typeLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?work wdt:P577 ?pubDateRaw .\n    BIND(xsd:date(?pubDateRaw) AS ?pubDate)\n  }\n  OPTIONAL {\n    ?work wdt:P304 ?pages .\n  }\n  OPTIONAL {\n    ?work wdt:P1433 ?venue .\n    ?venue rdfs:label ?venueLabel .\n    FILTER(LANG(?venueLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?work wdt:P50 ?author .\n    ?author rdfs:label ?authorLabel .\n    FILTER(LANG(?authorLabel) = \"en\")\n  }\n}\nGROUP BY ?work ?workLabel ?venue ?venueLabel\nORDER BY DESC(?earliestDate)", "paraphrases": ["Show me the most recent papers published by the Alzheimer\u2019s Disease Neuroimaging Initiative, including where they were published, what types they are, and how many pages they have.", "List all academic publications linked to the Alzheimer\u2019s Disease Neuroimaging Initiative, grouped by journal, with their publication years, subject categories, and number of pages."], "info": {"raw_sparql": "SELECT( MIN ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ( GROUP_CONCAT ( DISTINCT ?var4Label ; SEPARATOR = \", \" ) AS ?var5 )( SAMPLE ( ?var6 ) AS ?var7 ) ?var8 ?var8Label ( GROUP_CONCAT ( DISTINCT ?var9Label ; SEPARATOR = \", \" ) AS ?var10 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q36120510> . ?var3 <http://www.wikidata.org/prop/direct/P50> ?var11 . OPTIONAL { ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12 . FILTER ( ( ( LANG ( ?var12 ) = \"en\" ) ) ) . } BIND ( COALESCE ( ?var12 , SUBSTR ( STR ( ?var11 ) ,\"32\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var9Label ). OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . } OPTIONAL { BIND ( <http://www.w3.org/2001/XMLSchema#date> ( ?var13 ) AS ?var1 ). ?var3 <http://www.wikidata.org/prop/direct/P577> ?var13 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1104> ?var6 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,no,ru,sv,zh\". } } GROUP BY ?var3 ?var3Label ?var8 ?var8Label ORDER BY DESC( ?var2 )"}}
{"id": "test_1978", "question": "Films with \"Carol\" in the title and their Rotten Tomatoes IDs", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?film ?filmLabel ?rtId WHERE {\n  ?film rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  .\n  FILTER(CONTAINS(LCASE(?label) , \"carol\"))\n  .\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P1258 ?rtId .\n}", "paraphrases": ["Which films have the word \"Carol\" in their title and a Rotten Tomatoes identifier?", "Show me all films titled with \"Carol\" that have a Rotten Tomatoes ID."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1258> \"carol\". }"}}
{"id": "test_1979", "question": "Scholarly articles cited by \"The addictive brain: all roads lead to dopamine\"", "sparql": "SELECT ?citedEntity ?citedEntityLabel WHERE { wd:Q38033573 wdt:P2860 ?citedEntity . ?citedEntity rdfs:label ?citedEntityLabel . FILTER(LANG(?citedEntityLabel) = \"en\") }", "paraphrases": ["Which academic papers are referenced in the article \"The addictive brain: all roads lead to dopamine\"?", "List the titles of the scholarly works cited in the 2012 article \"The addictive brain: all roads lead to dopamine\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label WHERE { ?var3 <http://wikiba.se/ontology#claim> ?var5 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#qualifier> ?var7 . ?var3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var4 <http://wikiba.se/ontology#claim> ?var8 . ?var4 <http://wikiba.se/ontology#qualifier> ?var9 . ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var1 ?var5 ?var10 . ?var10 ?var6 ?var2 . ?var10 ?var9 <http://www.wikidata.org/entity/Q38033573> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1980", "question": "African films not part of a series and not on Filmweb.pl", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?film WHERE {\n  ?film wdt:P31 / wdt:P279 * wd:Q11424 . MINUS {\n    ?film wdt:P179 ?series .\n  }\n  ?film wdt:P495 ?country .\n  ?country wdt:P30 wd:Q15 . MINUS {\n    ?film wdt:P3995 ?filmwebId .\n  }\n}", "paraphrases": ["What are films originating from African countries that are not part of a series and do not have an entry on Filmweb.pl?", "List all standalone films from African countries that are not indexed on Filmweb.pl."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11424> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P179> ?var2 . } ?var1 <http://www.wikidata.org/prop/direct/P495> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P30> ?var4 . FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q15> ) ) ) . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P3995> ?var5 . } } GROUP BY ?var1"}}
{"id": "test_1981", "question": "Who is the Israeli actor with the Ishim ID \"\u05e9\u05de\u05e2\u05d5\u05df \u05db\u05d4\u05df\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?hebrewName WHERE {\n  ?item wdt:P3906 ?hebrewName .\n  FILTER ( contains( ?hebrewName , \"\u05e9\u05de\u05e2\u05d5\u05df \u05db\u05d4\u05df\" ) )\n}", "paraphrases": ["Is there a person named Shimon Cohen in the Israeli cinema database, and what is their Wikidata ID?", "List all entities in Wikidata that have \"\u05e9\u05de\u05e2\u05d5\u05df \u05db\u05d4\u05df\" in their Ishim ID (P3906)."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3906> \"\u05e9\u05de\u05e2\u05d5\u05df \u05db\u05d4\u05df\". }"}}
{"id": "test_1982", "question": "What are the title, genre, country of origin, release date, director, and cast members of the film \"Bread and Roses\"?", "sparql": "SELECT DISTINCT ?value ?propertyLabel WHERE { { wd:Q125494 wdt:P1476 ?value . BIND(\"title\" AS ?propertyLabel) } UNION { wd:Q125494 wdt:P136 ?value . BIND(\"genre\" AS ?propertyLabel) } UNION { wd:Q125494 wdt:P495 ?value . BIND(\"country of origin\" AS ?propertyLabel) } UNION { wd:Q125494 wdt:P577 ?value . BIND(\"publication date\" AS ?propertyLabel) } UNION { wd:Q125494 wdt:P57 ?value . BIND(\"director\" AS ?propertyLabel) } UNION { wd:Q125494 wdt:P161 ?value . BIND(\"cast member\" AS ?propertyLabel) } }", "paraphrases": ["Can you list all the metadata associated with the 2000 film \"Bread and Roses\", including its genre, country, release date, director, and cast?", "Show me a list of all values linked to the film \"Bread and Roses\" on Wikidata, with each value labeled by its type (e.g., title, cast, country)."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { { <http://www.wikidata.org/entity/Q125494> <http://www.wikidata.org/prop/direct/P1476> ?var1 . } UNION { <http://www.wikidata.org/entity/Q125494> <http://www.wikidata.org/prop/direct/P136> ?var2 . } UNION { <http://www.wikidata.org/entity/Q125494> <http://www.wikidata.org/prop/direct/P495> ?var3 . } UNION { <http://www.wikidata.org/entity/Q125494> <http://www.wikidata.org/prop/direct/P577> ?var4 . } UNION { <http://www.wikidata.org/entity/Q125494> <http://www.wikidata.org/prop/direct/P57> ?var5 . } UNION { <http://www.wikidata.org/entity/Q125494> <http://www.wikidata.org/prop/direct/P161> ?var6 . } }"}}
{"id": "test_1983", "question": "Who are the children of Jack Nicholson?", "sparql": "SELECT ?child ?statement WHERE { ?child p:P22 ?statement . ?statement ps:P22 wd:Q39792 . }", "paraphrases": ["Can you list Jack Nicholson\u2019s children along with their statement identifiers in Wikidata?", "What are the Wikidata entries for the people who have Jack Nicholson listed as their father?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P22> <http://www.wikidata.org/entity/Q39792> . ?var1 <http://www.wikidata.org/prop/P22> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_1984", "question": "Films on Internet Archive with release date, country, and image", "sparql": "SELECT DISTINCT ?film ?filmTitle ?countryLabel ?publicationDate ?image WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P724 ?archiveId . ?film wdt:P1476 ?filmTitle . OPTIONAL { ?film wdt:P577 ?publicationDate . } OPTIONAL { ?film wdt:P18 ?image . } OPTIONAL { ?film wdt:P495 ?country . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") } } LIMIT 10", "paraphrases": ["What are films available on the Internet Archive, their release dates, countries of origin, and images?", "Show me a list of films from the Internet Archive, including their titles, when they were released, where they came from, and any available images."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P724> ?var5 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P495> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,fr,ar,be,bg,bn,ca,cs,da,de,el,en,es,et,fa,fi,he,hi,hu,hy,id,it,ja,jv,ko,nb,nl,eo,pa,pl,pt,ro,ru,sh,sk,sr,sv,sw,te,th,tr,uk,yue,vec,vi,zh\". } }"}}
{"id": "test_1985", "question": "Authors of \"An Introduction to Statistical Learning\" and their ORCID IDs.", "sparql": "SELECT ?author ?authorLabel ?orcid WHERE { wd:Q21473973 wdt:P50 ?author . OPTIONAL { ?author wdt:P496 ?orcid . } ?author rdfs:label ?authorLabel . FILTER(LANG(?authorLabel) = \"en\")}", "paraphrases": ["Who are the authors of the textbook \"An Introduction to Statistical Learning\", and what are their ORCID identifiers?", "List the English names and ORCID numbers of all authors of \"An Introduction to Statistical Learning\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COALESCE ( ?var2 , CONCAT ( \"string1\", ENCODE_FOR_URI ( ?var1Label ) ) ) AS ?var3 ) WHERE { <http://www.wikidata.org/entity/Q21473973> <http://www.wikidata.org/prop/direct/P50> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,da,de,es,fr,nl,no,ru,sv,zh\". } }"}}
{"id": "test_1986", "question": "PubMed ID 433832 title and English description", "sparql": "SELECT ?item ?title ?description WHERE { ?item wdt:P698 \"433832\" . OPTIONAL { ?item wdt:P1476 ?title } . OPTIONAL { ?item schema:description ?description FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["What is the title and English description of the scientific article with PubMed ID 433832?", "Show me the title and English description of the article identified by PubMed ID 433832."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1219> \"433832\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_1987", "question": "What properties and values are associated with ORCID, Inc., excluding P1963, with English labels?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?orgLabel ?prop ?val ?valLabel WHERE {\n  wd:Q19861084 ?prop ?val .\n  ?val rdfs:label ?valLabel .\n  wd:Q19861084 rdfs:label ?orgLabel .\n  FILTER(LANG(?valLabel) = \"en\")\n  FILTER(LANG(?orgLabel) = \"en\")\n  FILTER(?prop != wdt:P1963)\n}\nLIMIT 10", "paraphrases": ["What are the English-labeled values and their properties for ORCID, Inc., excluding the property P1963?", "Show me all the statements about ORCID, Inc. in English, except those using property P1963, including the property and the labeled value."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { <http://www.wikidata.org/entity/Q19861084> ?var4 ?var3 . ?var2 ?var5 ?var4 . ?var2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . <http://www.wikidata.org/entity/Q19861084> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . FILTER ( ( ( ?var4 != <http://www.wikidata.org/prop/direct/P1963> ) ) ) . } LIMIT 10"}}
{"id": "test_1988", "question": "Image of the person with SNAC ARK ID w6h4340n", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6h4340n\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6h4340n?", "Can you show me the Wikimedia Commons image of the individual identified by the SNAC ARK ID w6h4340n?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6h4340n\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_1989", "question": "What are the films directed by Steven Spielberg and when were they released?", "sparql": "SELECT ?work ?workLabel ?releaseDate WHERE { ?work wdt:P57 wd:Q8877 . ?work wdt:P577 ?releaseDate . ?work rdfs:label ?workLabel . FILTER(LANG(?workLabel) = \"en\") } ORDER BY ?releaseDate LIMIT 10", "paraphrases": ["Can you list Steven Spielberg\u2019s directed movies with their premiere dates?", "Show me the English titles and release years of all films directed by Steven Spielberg, ordered by date."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P57> <http://www.wikidata.org/entity/Q8877> . ?var1 <http://www.wikidata.org/prop/direct/P1191> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } }"}}
{"id": "test_1990", "question": "Citations of Duncan Wright's works by year and whether they are self-citations", "sparql": "SELECT ?year ( COUNT( DISTINCT ?citingWork ) AS ?citationCount ) ?isSelfCitation WHERE { ?duncanWork wdt:P50 wd:Q42415436 . ?citingWork wdt:P2860 ?duncanWork . BIND( STR( YEAR( ?publicationDate ) ) AS ?year ) . ?duncanWork wdt:P577 ?publicationDate . BIND( IF( EXISTS { ?citingWork wdt:P50 wd:Q42415436 }, \"Self-citation\", \"External citation\" ) AS ?isSelfCitation ) } GROUP BY ?year ?isSelfCitation ORDER BY DESC ( ?year )", "paraphrases": ["In what years did Duncan Wright publish works that were cited by others, and how many of those citations were self-citations?", "Show me the count of citations received by Duncan Wright\u2019s publications, grouped by publication year and whether the citing works were also written by him."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q42415436> . } , \"string1\", \"string2\" ) AS ?var4 ). BIND ( STR ( YEAR ( ?var5 ) ) AS ?var1 ). ?var6 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q42415436> . ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var6 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var5 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_1991", "question": "What Wikidata item has the PubMed ID 16718704?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P698 \"16718704\" .\n}", "paraphrases": ["Which scholarly article in Wikidata is associated with PubMed ID 16718704?", "Find the Wikidata entity for the article with PubMed ID 16718704."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P698> \"16718704\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } } LIMIT 1"}}
{"id": "test_1992", "question": "Total number of pages in scholarly articles by University of Exeter authors, grouped by year and author name.", "sparql": "SELECT ?year (SUM(?pages) AS ?totalPages) ?authorLabel WHERE { ?article wdt:P31 wd:Q13442814 ; wdt:P50 ?author ; wdt:P1104 ?pages ; wdt:P577 ?pubDate . BIND(YEAR(?pubDate) AS ?year) . ?author rdfs:label ?authorLabel . FILTER(LANG(?authorLabel) = \"en\") . { ?author wdt:P108 wd:Q1414861 . } UNION { ?author wdt:P1416 wd:Q1414861 . } UNION { ?author wdt:P1416 ?affil . ?affil wdt:P361 wd:Q1414861 . } } GROUP BY ?year ?authorLabel ORDER BY ASC(?year)", "paraphrases": ["How many pages in total have been published in scholarly articles by each author affiliated with the University of Exeter, broken down by publication year?", "Show me the cumulative page count of academic papers written by University of Exeter affiliates, grouped by the year they were published and the author\u2019s name."], "info": {"raw_sparql": "SELECT ?var1 ( SUM ( ?var2 ) AS ?var3 ) ?var4Label WHERE { { SELECT ?var4Label ?var5 ?var1 ( ( SAMPLE ( ?var6 )/COUNT ( ?var7 ) ) AS ?var2 ) WHERE { { ?var8 <http://www.wikidata.org/prop/direct/P108> <http://www.wikidata.org/entity/Q1414861> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P1416> <http://www.wikidata.org/entity/Q1414861> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P1416> ?var9 . ?var9 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q1414861> . } BIND ( STR ( YEAR ( ?var10 ) ) AS ?var1 ). ?var5 ( <http://www.wikidata.org/prop/direct/P50> | <http://www.wikidata.org/prop/direct/P2093> ) ?var7 . ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13442814> . ?var5 <http://www.wikidata.org/prop/direct/P50> ?var8 . ?var5 <http://www.wikidata.org/prop/direct/P1104> ?var6 . ?var5 <http://www.wikidata.org/prop/direct/P577> ?var10 . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . } GROUP BY ?var5 ?var4Label ?var1 } } GROUP BY ?var1 ?var4Label ORDER BY ASC( ?var1 )"}}
{"id": "test_1993", "question": "What are some romantic comedy films similar to *The Big Sick*?", "sparql": "SELECT ?film ?filmLabel WHERE { wd:Q24901880 wdt:P136 ?genre . ?film wdt:P31 wd:Q11424 ; wdt:P136 ?genre . ?film rdfs:label ?filmLabel . FILTER(LANG(?filmLabel) = \"en\") } LIMIT 100", "paraphrases": ["Which films share the same genre as *The Big Sick*?", "List English-language films that are romantic comedies, like *The Big Sick*."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P921> <http://www.wikidata.org/entity/Q24901880> . } LIMIT 100"}}
{"id": "test_1994", "question": "Find all papers that cite trimAl, identified by its DOI \"10.1093/bioinformatics/btp348\" or PMC ID \"2712344\".", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?citingWork ?citedWork WHERE {\n  ?citingWork wdt:P2860 ?citedWork .\n  VALUES ?citedId {\n    \"10.1093/bioinformatics/btp348\" \"2712344\"\n  }\n  {\n    ?citedWork wdt:P356 ?citedId .\n  } UNION {\n    ?citedWork wdt:P932 ?citedId .\n  }\n}", "paraphrases": ["Which scientific publications cite the trimAl tool, given that trimAl has the DOI 10.1093/bioinformatics/btp348 or PMC ID 2712344?", "List all works that reference the trimAl software, using its DOI or PMC ID as the search key."], "info": {"raw_sparql": "SELECT * WHERE { VALUES ( ?var1 ) { ( \"23514411\" ) } VALUES ( ?var2 ) { ( \"string1\" ) } VALUES ( ?var3 ) { ( \"2712344\" ) } ?var4 <http://www.wikidata.org/prop/direct/P2860> ?var5 . { ?var5 <http://www.wikidata.org/prop/direct/P698> ?var1 . } UNION { ?var5 <http://www.wikidata.org/prop/direct/P356> ?var2 . } UNION { ?var5 <http://www.wikidata.org/prop/direct/P932> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_1995", "question": "Films and their countries of origin", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?filmLabel ?country ?countryLabel WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P495 ?country .\n  ?film rdfs:label ?filmLabel .\n  ?country rdfs:label ?countryLabel .\n  FILTER ( LANG( ?filmLabel ) = \"en\" ) FILTER ( LANG( ?countryLabel ) = \"en\" )\n}", "paraphrases": ["What are the films and their countries of origin in Wikidata?", "List all films with their English titles and the countries they originate from."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P495> ?var2 . }"}}
{"id": "test_1996", "question": "What is the total average number of pages per author across all scholarly articles by each researcher affiliated with VIVE?", "sparql": "SELECT ?authorLabel (SUM(?pages / ?authorCount) AS ?totalPagesPerAuthor) WHERE { ?article wdt:P31 wd:Q13442814 ; wdt:P577 ?date ; wdt:P50 ?author ; wdt:P1104 ?pages . ?author (wdt:P108|wdt:P1416|wdt:P1416/wdt:P361) wd:Q12334267 . ?author rdfs:label ?authorLabel . FILTER(LANG(?authorLabel) = \"en\") . { SELECT ?article (COUNT(?a) AS ?authorCount) WHERE { ?article wdt:P50 ?a . } GROUP BY ?article } } GROUP BY ?authorLabel ORDER BY ASC(?authorLabel)", "paraphrases": ["For each author linked to the Danish Center for Social Science Research, how many pages on average do they contribute per article, summed across all their publications?", "Calculate the sum of (pages per author per article) for each author who has published research while affiliated with VIVE."], "info": {"raw_sparql": "SELECT ?var1 ( SUM ( ?var2 ) AS ?var3 ) ?var4Label WHERE { { SELECT ?var4Label ?var5 ?var1 ( ( SAMPLE ( ?var6 )/COUNT ( ?var7 ) ) AS ?var2 ) WHERE { { ?var8 <http://www.wikidata.org/prop/direct/P108> <http://www.wikidata.org/entity/Q12334267> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P1416> <http://www.wikidata.org/entity/Q12334267> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P1416> ?var9 . ?var9 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q12334267> . } BIND ( STR ( YEAR ( ?var10 ) ) AS ?var1 ). ?var5 ( <http://www.wikidata.org/prop/direct/P50> | <http://www.wikidata.org/prop/direct/P2093> ) ?var7 . ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13442814> . ?var5 <http://www.wikidata.org/prop/direct/P50> ?var8 . ?var5 <http://www.wikidata.org/prop/direct/P1104> ?var6 . ?var5 <http://www.wikidata.org/prop/direct/P577> ?var10 . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . } GROUP BY ?var5 ?var4Label ?var1 } } GROUP BY ?var1 ?var4Label ORDER BY ASC( ?var1 )"}}
{"id": "test_1997", "question": "What are the direct properties and their values for the academic article \"A Theoretically Grounded Application of Dropout in Recurrent Neural Networks\"?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?property ?propertyLabel ?value ?valueLabel WHERE {\n  wd:Q46993707 ?property ?value .\n  FILTER(STRSTARTS(STR(?property) , \"http://www.wikidata.org/prop/direct/\"))\n  OPTIONAL {\n    ?property rdfs:label ?propertyLabel .\n    FILTER(LANG(?propertyLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?value rdfs:label ?valueLabel .\n    FILTER(LANG(?valueLabel) = \"en\")\n  }\n}", "paraphrases": ["List the title, authors, publication venue, and other direct details of the paper with Wikidata ID Q46993707, including labels in English.", "Show all direct facts about the scholarly article on dropout in RNNs, such as its title, authors, and cited works, with their English labels."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 WHERE { <http://www.wikidata.org/entity/Q46993707> ?var1 ?var4 . FILTER ( ( STRSTARTS ( STR ( ?var1 ) , \"string1\" ) ) ) . ?var4 ?var3 ?var2 . ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#BestRank> . FILTER ( ( STRSTARTS ( STR ( ?var3 ) , \"string2\" ) ) ) . OPTIONAL { ?var4 ?var5 ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_1998", "question": "Is the scholarly article \"Phylogenetic analysis of the 16S rRNA gene of Anaplasma species detected from Japanese serows (Capricornis crispus)\" a form of research?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q45353770 ( wdt:P31 / wdt:P279 * ) wd:Q42240 .\n}", "paraphrases": ["Does the academic article on Anaplasma species belong to the category of research?", "Confirm whether this scientific publication is classified under research in Wikidata."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q45353770> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_1999", "question": "What is the most specific common category that both Houston and the United States belong to in the Wikidata hierarchy?", "sparql": "SELECT ?ancestor WHERE { wd:Q16555 wdt:P31 ?houstonType . wd:Q30 wdt:P31 ?ustype . ?houstonType wdt:P279* ?ancestor . ?ustype wdt:P279* ?ancestor . FILTER(?ancestor = wd:Q15642541) }", "paraphrases": ["Which entity is the closest shared ancestor in the subclass hierarchy between the city of Houston and the United States?", "Find the most specific geographic classification that encompasses both Houston and the United States."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q30> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q16555> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2000", "question": "What are all the disease categories that cat-scratch disease belongs to, including broader medical classifications?", "sparql": "SELECT DISTINCT ?ancestor WHERE { wd:Q639776 wdt:P279* ?ancestor . ?ancestor wdt:P279* wd:Q12136 }", "paraphrases": ["List all the superclass diseases of cat-scratch disease in the medical taxonomy.", "What higher-level disease classes include cat-scratch disease as a subtype?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q639776> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_2001", "question": "What are some scholarly articles about DNA?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?article ?articleTitle ?dnaLabel WHERE {\n  ?article wdt:P31 wd:Q13442814 ; wdt:P921 wd:Q7430 .\n  ?article wdt:P1476 ?articleTitle .\n  FILTER(LANG(?articleTitle) = \"en\")\n  .\n  wd:Q7430 rdfs:label ?dnaLabel .\n  FILTER(LANG(?dnaLabel) = \"en\")\n}\nLIMIT 10", "paraphrases": ["Can you list English-language academic papers whose main subject is DNA?", "Show me the titles of peer-reviewed scientific articles related to DNA."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4Label ?var5Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var6 . FILTER ( ( ( ?var6 = <http://www.wikidata.org/entity/Q13442814> ) ) ) . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( REGEX ( ?var2Label , \" dna \" ) ) ) . } OFFSET 0 LIMIT 10"}}
{"id": "test_2002", "question": "What is the title of the scientific article with PubMed ID 16054061?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P698 \"16054061\" .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["Find the English label of the item that has the PubMed publication ID 16054061.", "Which research topic is associated with PubMed ID 16054061?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q36796007-8B43E4DA-AFE8-48B8-B1EC-C7FAB6FC5FA7> . }"}}
{"id": "test_2003", "question": "What types or classes is the disease (Q12136) an instance of?", "sparql": "SELECT ?type ?typeLabel WHERE { wd:Q12136 wdt:P31 ?type . ?type rdfs:label ?typeLabel . FILTER(LANG(?typeLabel) = 'en') }", "paraphrases": ["What are the direct categories that the entity \"disease\" belongs to?", "Show me the classes that \"disease\" is an example of in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q12136> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P31> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2004", "question": "Authors of the article \"6 Seconds of Sound and Vision: Creativity in Micro-videos\" and their ORCID IDs.", "sparql": "SELECT ?author ?authorLabel (COALESCE(?orcid, ENCODE_FOR_URI(?authorLabel)) AS ?authorIdentifier) WHERE { wd:Q48326690 wdt:P50 ?author . OPTIONAL { ?author wdt:P496 ?orcid . } ?author rdfs:label ?authorLabel . FILTER(LANG(?authorLabel) = \"en\") }", "paraphrases": ["Who are the authors of the academic article \"6 Seconds of Sound and Vision: Creativity in Micro-videos\", and what are their ORCID identifiers? If an ORCID is not available, what is the fallback?", "List the authors of the 2014 IEEE CVPR paper \"6 Seconds of Sound and Vision: Creativity in Micro-videos\" along with their ORCID IDs; if an ORCID is missing, provide the URL-encoded author name."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COALESCE ( ?var2 , CONCAT ( \"string1\", ENCODE_FOR_URI ( ?var1Label ) ) ) AS ?var3 ) WHERE { <http://www.wikidata.org/entity/Q48326690> <http://www.wikidata.org/prop/direct/P50> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,da,de,es,fr,nl,no,ru,sv,zh\". } }"}}
{"id": "test_2005", "question": "What films and TV series did Steven Spielberg direct?", "sparql": "SELECT ?work ?workLabel WHERE { ?work wdt:P57 wd:Q8877 . FILTER(LANG(?workLabel) = \"en\") . ?work rdfs:label ?workLabel . }", "paraphrases": ["List of movies directed by Steven Spielberg", "Can you tell me the titles of all the films and TV shows that Steven Spielberg directed?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P57> <http://www.wikidata.org/entity/Q8877> . }"}}
{"id": "test_2006", "question": "List people with ORCID identifiers and their English names.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var1 ?var1Label ?var2 WHERE {\n  ?var1 wdt:P496 ?var2 .\n  ?var1 rdfs:label ?var1Label .\n  FILTER ( LANG( ?var1Label ) = \"en\" )\n}\nORDER BY ASC ( ?var1 )\nLIMIT 1000", "paraphrases": ["Who are the people in Wikidata that have an ORCID iD, and what are their names and ORCID numbers?", "Show me up to 1,000 people who have an ORCID iD, along with their English names and ORCID identifiers, sorted alphabetically by name."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var2 ; <http://wikiba.se/ontology#identifiers> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> . } LIMIT 1000 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,en\". } } ORDER BY DESC( ?var3 )ASC( ?var1 )"}}
{"id": "test_2007", "question": "What properties are used on poets, and what are their French labels and descriptions?", "sparql": "SELECT DISTINCT ?property ?propertyLabel ?propertyDescription WHERE { ?person wdt:P31 wd:Q5 ; wdt:P106 wd:Q49757 . ?person ?property ?value . BIND(IRI(REPLACE(STR(?property), \"http://www.wikidata.org/prop/direct/\", \"http://www.wikidata.org/entity/\")) AS ?propertyItem) . ?propertyItem rdfs:label ?propertyLabel . ?propertyItem schema:description ?propertyDescription . FILTER(LANG(?propertyLabel) = \"fr\") FILTER(LANG(?propertyDescription) = \"fr\") } LIMIT 100", "paraphrases": ["Can you list the French labels and descriptions of all properties associated with people who are poets?", "Show me the French names and explanations of the data fields used to describe poets in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q49757> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"fr\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"fr\" ) ) ) . } LIMIT 100"}}
{"id": "test_2008", "question": "Films with IMDb and Netflix IDs titled \"Inception\"", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?filmLabel WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P345 ?imdbId .\n  ?film wdt:P1874 ?netflixId .\n  ?film rdfs:label ?filmLabel .\n  FILTER ( LANG( ?filmLabel ) = \"en\" && CONTAINS( LCASE( STR( ?filmLabel ) ) , \"inception\" ) )\n}\nLIMIT 10", "paraphrases": ["Which films have both an IMDb ID and a Netflix ID, and are titled \"Inception\"?", "Show me films on Netflix with the title \"Inception\" and an IMDb identifier."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P345> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P1874> ?var3 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( CONTAINS ( LCASE ( ?var1Label ) , \"string1\"@en ) ) ) . } LIMIT 10"}}
{"id": "test_2009", "question": "Artificial intelligence researchers not from Canada, the US, UK, Germany, Italy, Switzerland, or Australia.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?researcher ?country WHERE {\n  ?researcher wdt:P31 wd:Q5 .\n  ?researcher wdt:P106 wd:Q15976092 .\n  ?researcher wdt:P27 ?country .\n  FILTER ( ?country != wd:Q16 && ?country != wd:Q30 && ?country != wd:Q38 && ?country != wd:Q39 && ?country != wd:Q145 && ?country != wd:Q183 && ?country != wd:Q408 )\n}", "paraphrases": ["Which human artificial intelligence researchers are citizens of countries other than Canada, the United States, the United Kingdom, Germany, Italy, Switzerland, or Australia?", "List all AI researchers who are not citizens of the seven major English-speaking or European countries: Canada, the US, UK, Germany, Italy, Switzerland, or Australia."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q15976092> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var2 . } FILTER ( ( ( ?var2 != <http://www.wikidata.org/entity/Q16> ) && ( ?var2 != <http://www.wikidata.org/entity/Q30> ) && ( ?var2 != <http://www.wikidata.org/entity/Q38> ) && ( ?var2 != <http://www.wikidata.org/entity/Q39> ) && ( ?var2 != <http://www.wikidata.org/entity/Q145> ) && ( ?var2 != <http://www.wikidata.org/entity/Q183> ) && ( ?var2 != <http://www.wikidata.org/entity/Q408> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_2010", "question": "What is the most common property used to indicate that an entity is associated with the Japanese language?", "sparql": "SELECT ?property (COUNT(?property) AS ?count) WHERE { ?item ?prop wd:Q5287 . ?property wikibase:directClaim ?prop . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which Wikidata property is most frequently used to assign Japanese as a language to items?", "How is Japanese most commonly linked to entities in Wikidata, and what property is used the most?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q5287> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_2011", "question": "Top 20 most cited scientific papers by first authors affiliated with the University of Exeter.", "sparql": "SELECT (COUNT(DISTINCT ?citing_work) AS ?citation_count) ?cited_work ?cited_workLabel WHERE { { ?author wdt:P108 wd:Q1414861 . } UNION { ?author wdt:P1416 wd:Q1414861 . } UNION { ?author wdt:P1416 ?affiliation . ?affiliation wdt:P361 wd:Q1414861 . } ?cited_work p:P50 ?author_statement . ?author_statement ps:P50 ?author . ?author_statement pq:P1545 \"1\" . ?citing_work wdt:P2860 ?cited_work . ?cited_work rdfs:label ?cited_workLabel . FILTER(LANG(?cited_workLabel) = \"en\") } GROUP BY ?cited_work ?cited_workLabel ORDER BY DESC(?citation_count) LIMIT 20", "paraphrases": ["Which scholarly works authored by first authors at the University of Exeter have been cited the most times?", "Show me the 20 most frequently cited research papers where the first author is affiliated with the University of Exeter, along with their citation counts."], "info": {"raw_sparql": "SELECT( COUNT ( DISTINCT ?var1 ) AS ?var2 ) ?var3 ?var3Label WHERE { { ?var4 <http://www.wikidata.org/prop/direct/P108> <http://www.wikidata.org/entity/Q1414861> . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P1416> <http://www.wikidata.org/entity/Q1414861> . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P1416> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q1414861> . } ?var3 <http://www.wikidata.org/prop/P50> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P50> ?var4 . ?var6 <http://www.wikidata.org/prop/qualifier/P1545> \"1\". ?var1 <http://www.wikidata.org/prop/direct/P2860> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var7 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp,da\". } } GROUP BY ?var3 ?var3Label ORDER BY DESC( ?var2 ) LIMIT 20"}}
{"id": "test_2012", "question": "What are the Tamil films written by Javar Seetharaman, and who directed them, composed the music, and when were they released?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?film ?composer ?date ?director ?filmLabel ?directorLabel WHERE {\n  ?film wdt:P31 / wdt:P279 * wd:Q838948 .\n  ?film wdt:P364 wd:Q5885 .\n  ?film wdt:P58 wd:Q6165259 .\n  OPTIONAL {\n    ?film wdt:P86 ?composer .\n  }\n  OPTIONAL {\n    ?film wdt:P577 ?date .\n  }\n  OPTIONAL {\n    ?film wdt:P57 ?director .\n  }\n  ?film rdfs:label ?filmLabel .\n  FILTER(LANG(?filmLabel) = \"en\")\n  OPTIONAL {\n    ?director rdfs:label ?directorLabel .\n    FILTER(LANG(?directorLabel) = \"en\")\n  }\n}\nLIMIT 2000", "paraphrases": ["List Tamil movies with Javar Seetharaman as screenwriter, including their directors, composers, and release years.", "Show me films in Tamil language with Javar Seetharaman as the screenwriter, along with their directors and composers."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4Label ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ta,en\". } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q838948> . ?var1 <http://www.wikidata.org/prop/direct/P364> <http://www.wikidata.org/entity/Q5885> . ?var1 <http://www.wikidata.org/prop/direct/P58> <http://www.wikidata.org/entity/Q6165259> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P86> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P57> ?var4 . } } LIMIT 2000"}}
{"id": "test_2013", "question": "Films starring Ewen Bremner", "sparql": "SELECT ?film ?filmLabel WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P161 wd:Q520651 . ?film rdfs:label ?filmLabel . FILTER(LANG(?filmLabel) = \"en\") }", "paraphrases": ["Which films has Scottish actor Ewen Bremner appeared in?", "List the English titles of all movies featuring Ewen Bremner."], "info": {"raw_sparql": "SELECT ?var1 ( GROUP_CONCAT ( DISTINCT ?var1Label ; SEPARATOR = \"; \" ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P161> <http://www.wikidata.org/entity/Q520651> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . } } GROUP BY ?var1"}}
{"id": "test_2014", "question": "What are the publication date, volume, and identifiers (PubMed, PMC, ResearchGate) for the 1952 scientific article on aconitase-mediated citrate conversion?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?property ?value WHERE {\n  wd:Q28609431 ?property ?value .\n  FILTER ( ?property IN ( wdt:P577 , wdt:P478 , wdt:P698 , wdt:P932 , wdt:P5875 , schema:description ) )\n}\nORDER BY ?property", "paraphrases": ["When was the article describing the enzymatic conversion of citrate to isocitrate published, and what are its PubMed, PMC, and ResearchGate IDs?", "Please list the multilingual descriptions and metadata (publication date, volume, PubMed, PMC, and ResearchGate IDs) for the scholarly article on aconitase and citrate conversion."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q28609431> ?var1 ?var2 . }"}}
{"id": "test_2015", "question": "What entity is associated with both Israel\u2013United States relations and Massachusetts?", "sparql": "SELECT ?commonEntity\nWHERE {\n  wd:Q607505 ?p1 ?commonEntity .\n  wd:Q771 ?p2 ?commonEntity .\n}", "paraphrases": ["Which country is linked to both the bilateral relations of Israel and the United States and the state of Massachusetts?", "Find the common entity that connects Israel\u2013United States relations and Massachusetts."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q607505> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q771> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2016", "question": "What country is both Pennsylvania and Las Vegas Boulevard located in?", "sparql": "SELECT ?country WHERE { wd:Q1400 wdt:P17 ?country . wd:Q886257 wdt:P17 ?country . }", "paraphrases": ["Which country contains both the state of Pennsylvania and Las Vegas Boulevard?", "Show me the country that includes both Pennsylvania and Las Vegas Boulevard."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1400> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q886257> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2017", "question": "What is the smallest geographic entity that both Texas and Las Vegas Valley belong to, and what is the total number of administrative steps from each to it?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonAncestor ( ?distTexas + ?distLV AS ?totalDistance ) WHERE {\n  wd:Q1439 wdt:P131 * ?commonAncestor .\n  wd:Q2624848 wdt:P131 * ?commonAncestor .\n  {\n    SELECT ?commonAncestor ( COUNT( ?step ) AS ?distTexas ) WHERE {\n      wd:Q1439 wdt:P131 + ?step .\n      ?step wdt:P131 * ?commonAncestor .\n    }\n    GROUP BY ?commonAncestor\n  }\n  {\n    SELECT ?commonAncestor ( COUNT( ?step ) AS ?distLV ) WHERE {\n      wd:Q2624848 wdt:P131 + ?step .\n      ?step wdt:P131 * ?commonAncestor .\n    }\n    GROUP BY ?commonAncestor\n  }\n}\nORDER BY ASC ( ?totalDistance )\nLIMIT 1", "paraphrases": ["Which location is the most specific common ancestor of Texas and the Las Vegas Valley in terms of administrative hierarchy, and what is the sum of the shortest paths from each to this ancestor?", "Find the administrative region that is the closest common parent of Texas and Las Vegas Valley, measured by the sum of the number of steps up the hierarchy from each location."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2624848> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1439> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2018", "question": "Postal codes starting with 672 in Austria", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?postalCode WHERE {\n  ?item wdt:P281 ?postalCode .\n  ?item wdt:P17 wd:Q40 .\n  ?item rdfs:label ?itemLabel .\n  FILTER(STRSTARTS(?postalCode , \"672\"))\n  .\n  FILTER(LANG(?itemLabel) = \"en\")\n}\nLIMIT 10", "paraphrases": ["Which places in Austria have postal codes beginning with 672?", "List the names of locations in Austria with postal codes starting with 672."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P281> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q40> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } FILTER ( ( ( ?var2 = \"672%\" ) ) ) . } LIMIT 10"}}
{"id": "test_2019", "question": "What are the authors of the article \"A NON-LINEAR STRUCTURE-PROPERTY MODEL FOR OCTANOL-WATER PARTITION COEFFICIENT\", and what is their ORCID if available?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?authorName(CONCAT(\"No ORCID available: \" , ?authorName) AS ?fallback) WHERE {\n  wd:Q36419612 wdt:P2093 ?authorName .\n}", "paraphrases": ["List the names of the authors of the scholarly article on octanol-water partition coefficient and indicate that no ORCID is available for them.", "Who wrote the article titled \"A NON-LINEAR STRUCTURE-PROPERTY MODEL FOR OCTANOL-WATER PARTITION COEFFICIENT\"? Since their ORCID IDs are not in Wikidata, return their names with a note that ORCID is unavailable."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COALESCE ( ?var2 , CONCAT ( \"string1\", ENCODE_FOR_URI ( ?var1Label ) ) ) AS ?var3 ) WHERE { <http://www.wikidata.org/entity/Q36419612> <http://www.wikidata.org/prop/direct/P50> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,da,de,es,fr,nl,no,ru,sv,zh\". } }"}}
{"id": "test_2020", "question": "Properties and their values for the scholarly article on defective kidney AE1 trafficking in dRTA.", "sparql": "SELECT ?property ?propertyLabel (COUNT(?value) AS ?valueCount) (GROUP_CONCAT(?valueLabel; SEPARATOR=\", \") AS ?valueLabels)\nWHERE {\n  wd:Q36008575 ?property ?value .\n  ?propertyEntity wikibase:directClaim ?property .\n  ?propertyEntity rdfs:label ?propertyLabel .\n  ?value rdfs:label ?valueLabel .\n  FILTER(LANG(?propertyLabel) = \"en\")\n  FILTER(LANG(?valueLabel) = \"en\")\n}\nGROUP BY ?property ?propertyLabel", "paraphrases": ["What properties are used to describe the article on defective kidney AE1 trafficking in dRTA, how many values does each have, and what are the labels of those values in English?", "List all properties of the article \"Defective kidney anion-exchanger 1 (AE1, Band 3) trafficking in dominant distal renal tubular acidosis (dRTA)\" with their English labels, the count of values, and the English labels of those values."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q36008575> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_2021", "question": "What is the common type of country that contains both Tunis and Massachusetts?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonCountryType WHERE {\n  wd:Q3572 wdt:P17 ?country1 .\n  wd:Q771 wdt:P17 ?country2 .\n  ?country1 wdt:P31 ?commonCountryType .\n  ?country2 wdt:P31 ?commonCountryType .\n}\nORDER BY ?commonCountryType\nLIMIT 1", "paraphrases": ["What category do the countries of Tunis and Massachusetts share?", "What is the most specific shared classification of the nations that include Tunis and Massachusetts?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3572> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q771> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2022", "question": "Post offices without a country assigned in Wikidata", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?postOffice ?postOfficeLabel WHERE {\n  ?postOffice wdt:P31 wd:Q35054 .\n  ?postOffice rdfs:label ?postOfficeLabel . MINUS {\n    ?postOffice wdt:P17 ?country .\n  }\n  FILTER(LANG(?postOfficeLabel) = \"en\")\n}\nORDER BY ASC(?postOfficeLabel)", "paraphrases": ["Which post offices in Wikidata do not have a country specified?", "List the names of all post offices that are not linked to any country in Wikidata, sorted alphabetically."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q35054> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja,en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_2023", "question": "Films with TV Guide ID but no IMDb ID", "sparql": "SELECT ?film WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P3804 ?tvGuideId . MINUS { ?film wdt:P345 ?imdbId . } }", "paraphrases": ["Which films have a TV Guide show ID but are not listed on IMDb?", "Show me films that are registered in TV Guide but don't have an IMDb identifier."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P3804> ?var2 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . } } GROUP BY ?var1"}}
{"id": "test_2024", "question": "What is the most specific category that both Yeosu and Las Vegas Boulevard belong to through their class hierarchies?", "sparql": "SELECT ?commonClass WHERE { wd:Q1549591 wdt:P279* ?commonClass . wd:Q34442 wdt:P279* ?commonClass . FILTER NOT EXISTS { ?otherClass wdt:P279* ?commonClass . wd:Q1549591 wdt:P279* ?otherClass . wd:Q34442 wdt:P279* ?otherClass . FILTER (?otherClass != ?commonClass) } } ORDER BY ?commonClass LIMIT 1", "paraphrases": ["What is the lowest common ancestor in the subclass hierarchy between the type of Yeosu and the type of Las Vegas Boulevard?", "What high-level category do a city like Yeosu and a road like Las Vegas Boulevard share?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q42125> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q886257> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2025", "question": "Geographic locations south of 50 degrees south latitude", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nSELECT ?item ?coordinate WHERE {\n  ?item wdt:P625 ?coordinate .\n  BIND(STRBEFORE(SUBSTR(STR(?coordinate) , 7) , \")\") AS ?coords)\n  .\n  BIND(STRBEFORE(?coords , \" \") AS ?lon)\n  .\n  BIND(xsd:double(SUBSTR(?coords , STRLEN(?lon) + 2)) AS ?lat)\n  .\n  FILTER(?lat < -50)\n}", "paraphrases": ["Which places on Earth have coordinates south of 50\u00b0S?", "List all geographic entities located in the southern hemisphere below 50 degrees south latitude."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/P625> / <http://www.wikidata.org/prop/statement/value/P625> ) ?var2 . ?var2 <http://wikiba.se/ontology#geoLatitude> ?var3 ; <http://wikiba.se/ontology#geoLongitude> ?var4 . FILTER ( ( ( ?var3 < \"-50\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . }"}}
{"id": "test_2026", "question": "List film directors born before 1950 who don't have an IMDb ID, ordered by birth date.", "sparql": "SELECT ?director ?directorLabel ?birthDate WHERE { ?director wdt:P31 wd:Q5 . ?director wdt:P106 wd:Q2526255 . ?director wdt:P569 ?birthDate . ?director rdfs:label ?directorLabel . FILTER ( lang(?directorLabel) = \"en\" ) FILTER ( ?birthDate < \"1950-01-01\"^^xsd:date ) FILTER NOT EXISTS { ?director wdt:P345 [] } } ORDER BY ASC(?birthDate) LIMIT 100", "paraphrases": ["Who are the earliest-born film directors without an IMDb profile, and when were they born?", "Please provide the names and birth dates of film directors from before 1950 who are not listed on IMDb."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q2526255> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P345> [] . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } } ORDER BY ASC( ?var2 ) LIMIT 100"}}
{"id": "test_2027", "question": "Academic articles citing \"Lipid biosynthesis in peroxisomes\"", "sparql": "SELECT ?citingArticle WHERE { ?citingArticle wdt:P2860 wd:Q28609575 .}", "paraphrases": ["Which scholarly articles cite the paper \"Lipid biosynthesis in peroxisomes\"?", "List the papers that reference \"Lipid biosynthesis in peroxisomes\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q28609575> . }"}}
{"id": "test_2028", "question": "People who are directors", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P106 wd:Q1162163 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["Who are the people with the occupation of director?", "List the names of all people whose occupation is director, in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1162163> . }"}}
{"id": "test_2029", "question": "List cities with their English names, Wikipedia page titles, administrative regions, and U.S. GNIS IDs.", "sparql": "SELECT DISTINCT ?city ?wikipediaTitle ?cityLabel ?adminEntityLabel ?gnisId WHERE { ?city wdt:P31 wd:Q515 . OPTIONAL { ?city wdt:P590 ?gnisId . } OPTIONAL { ?city wdt:P131 ?adminEntity . ?adminEntity rdfs:label ?adminEntityLabel . FILTER(LANG(?adminEntityLabel) = \"en\") } OPTIONAL { ?wikipediaPage schema:about ?city ; schema:isPartOf <https://en.wikipedia.org/> ; schema:name ?wikipediaTitle . } ?city rdfs:label ?cityLabel . FILTER(LANG(?cityLabel) = \"en\") } LIMIT 100", "paraphrases": ["What are the English names, Wikipedia titles, and administrative regions of cities around the world, along with their GNIS identifiers where available?", "Show me up to 100 cities, including their English labels, the names of the administrative areas they belong to, their English Wikipedia page titles, and their GNIS Feature IDs if they exist in the United States."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var1Label ?var3Label ?var4 WHERE { VALUES ( ?var5 ) { ( <http://www.wikidata.org/entity/Q515> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P590> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var3 . } OPTIONAL { ?var6 <http://schema.org/about> ?var1 . ?var6 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . ?var6 <http://schema.org/name> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 100"}}
{"id": "test_2030", "question": "Films with their IMDb IDs", "sparql": "SELECT ?film ?imdbId WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P345 ?imdbId . }", "paraphrases": ["What are the IMDb identifiers for all films in Wikidata?", "List all films and their corresponding IMDb IDs from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P345> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_2031", "question": "German cities and their postal codes with label lengths", "sparql": "SELECT ?itemLabel ?postalCode (STRLEN(?itemLabel) AS ?labelLength) WHERE { ?item wdt:P17 wd:Q183 . ?item wdt:P281 ?postalCode . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } LIMIT 20", "paraphrases": ["What are the English names of places in Germany, their postal codes, and how long are those names?", "Show me the English labels of locations in Germany, their postal codes, and the character count of each label."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ( STRLEN ( ?var1Label ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . ?var1 <http://www.wikidata.org/prop/direct/P281> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } } LIMIT 20"}}
{"id": "test_2032", "question": "What are the main categories or types that Tokyo and Las Vegas Boulevard belong to in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?tokyoType ?lasVegasType ?tokyoLabel ?lasVegasLabel WHERE {\n  wd:Q1490 wdt:P31 ?tokyoType .\n  wd:Q886257 wdt:P31 ?lasVegasType .\n  ?tokyoType rdfs:label ?tokyoLabel .\n  ?lasVegasType rdfs:label ?lasVegasLabel .\n  FILTER ( LANG( ?tokyoLabel ) = \"en\" ) FILTER ( LANG( ?lasVegasLabel ) = \"en\" )\n}\nORDER BY ?tokyoType", "paraphrases": ["Can you list the classes (types) associated with Tokyo and Las Vegas Boulevard in English?", "What kind of entities are Tokyo and Las Vegas Boulevard classified as in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1490> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q886257> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2033", "question": "Items that are facets of pornographic film, with any qualifiers on their statements.", "sparql": "SELECT ?item ?statement (SAMPLE(?qualifierProperty) AS ?sampledQualifier)\nWHERE {\n  ?item p:P1269 ?statement .\n  ?statement ps:P1269 wd:Q185529 .\n  \n  OPTIONAL {\n    ?statement ?qualifierProperty ?value .\n    ?qualifierProperty wikibase:qualifier true .\n  }\n}\nGROUP BY ?item ?statement", "paraphrases": ["What items are associated with the facet \"pornographic film\", and what qualifiers are used in those associations?", "List all entities that are classified as facets of pornographic film, along with any qualifier properties attached to those classifications."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P1269> <http://www.wikidata.org/entity/Q185529> . ?var1 <http://www.wikidata.org/prop/P1269> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_2034", "question": "Films titled \"Crisis\" or \"The Crisis\" and their directors' birth dates", "sparql": "SELECT ?work ?workLabel ?director ?directorLabel ?birthDate WHERE {  VALUES ?workLabel {    \"Crisis\" @en    \"The Crisis\" @en  }  ?work rdfs:label ?workLabel .  FILTER(LANG(?workLabel) = \"en\")  ?work wdt:P57 ?director .  OPTIONAL { ?director wdt:P569 ?birthDate . }  ?director rdfs:label ?directorLabel .  FILTER(LANG(?directorLabel) = \"en\")}", "paraphrases": ["Who directed the films named \"Crisis\" and \"The Crisis\", and when were they born?", "List the directors of the English-language films \"Crisis\" and \"The Crisis\", along with their dates of birth."], "info": {"raw_sparql": "SELECT * WHERE { VALUES ( ?var1 ) { ( \"string1\"@en ) ( \"string2\"@en ) ( \"string3\"@en ) } VALUES ( ?var2 ) { ( \"string4\"@en ) ( \"Crisis\"@en ) ( \"string5\"@en ) } BIND ( <http://www.wikidata.org/prop/direct/P50> AS ?var3 ). ?var4 <http://schema.org/about> ?var5 ; <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/name> ?var1 . ?var6 <http://schema.org/about> ?var7 ; <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/name> ?var2 . { SELECT ?var5 ?var8 WHERE { BIND ( ?var8 AS ?var7 ). ?var8 ?var3 ?var5 . } } OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P569> ?var9 . } }"}}
{"id": "test_2035", "question": "Filmographies of actors with counts of their acting, directing, voice acting, and producing credits.", "sparql": "SELECT ?filmography ?filmographyLabel ?person ?personLabel (COUNT(DISTINCT ?actorFilm) AS ?actingCount) (COUNT(DISTINCT ?directorFilm) AS ?directingCount) (COUNT(DISTINCT ?voiceActorFilm) AS ?voiceCount) (COUNT(DISTINCT ?execProducerFilm) AS ?producerCount) WHERE { ?filmography wdt:P31 wd:Q1371849 . ?filmography (wdt:P175 | wdt:P921 | wdt:P138) ?person . OPTIONAL { ?actorFilm wdt:P161 ?person . } OPTIONAL { ?directorFilm wdt:P57 ?person . } OPTIONAL { ?voiceActorFilm wdt:P725 ?person . } OPTIONAL { ?execProducerFilm wdt:P1431 ?person . } ?filmography rdfs:label ?filmographyLabel . ?person rdfs:label ?personLabel . FILTER(LANG(?filmographyLabel) = \"en\") FILTER(LANG(?personLabel) = \"en\") } GROUP BY ?filmography ?filmographyLabel ?person ?personLabel", "paraphrases": ["For each filmography on Wikidata, who is it about, and how many films did they act in, direct, voice, or produce?", "Show me filmographies along with the associated person and the number of films they acted in, directed, voiced, or executive produced."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ( COUNT ( DISTINCT ?var3 ) AS ?var4 )( COUNT ( DISTINCT ?var5 ) AS ?var6 )( COUNT ( DISTINCT ?var7 ) AS ?var8 )( COUNT ( DISTINCT ?var9 ) AS ?var10 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1371849> . ?var11 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://www.wikidata.org/> . ?var1 ( <http://www.wikidata.org/prop/direct/P175> | <http://www.wikidata.org/prop/direct/P1269> | <http://www.wikidata.org/prop/direct/P921> | <http://www.wikidata.org/prop/direct/P138> ) ?var2 . OPTIONAL { ?var2 ^ <http://www.wikidata.org/prop/direct/P161> ?var3 . } OPTIONAL { ?var2 ^ <http://www.wikidata.org/prop/direct/P57> ?var7 . } OPTIONAL { ?var2 ^ <http://www.wikidata.org/prop/direct/P725> ?var5 . } OPTIONAL { ?var2 ^ <http://www.wikidata.org/prop/direct/P1431> ?var9 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var1Label ?var2 ?var2Label"}}
{"id": "test_2036", "question": "Streets in Germany with postal codes starting with 90\u201399", "sparql": "SELECT ?var1Label ?var2 ( SUBSTR( ?var2 , 1 , 2 ) AS ?var3 ) WHERE { ?var1 wdt:P17 wd:Q183 . ?var1 wdt:P281 ?var2 . FILTER ( REGEX( SUBSTR( ?var2 , 1 , 2 ) , \"^9[0-9]\" ) ) . ?var1 rdfs:label ?var1Label . FILTER ( LANGMATCHES( LANG( ?var1Label ) , \"en\" ) ) } ORDER BY DESC ( SUBSTR( ?var2 , 1 , 2 ) ) LIMIT 20", "paraphrases": ["What are the street names in Germany that have postal codes beginning with 90 to 99, sorted by the postal code prefix in descending order?", "List up to 20 streets in Germany along with their postal codes, but only include those where the first two digits of the postal code are 90 through 99, ordered from highest to lowest prefix."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ( SUBSTR ( ?var2Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . ?var1 <http://www.wikidata.org/prop/direct/P281> ?var2 . FILTER ( ( REGEX ( SUBSTR ( ?var2Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) , \"9.\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } } ORDER BY DESC( SUBSTR ( ?var2Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) LIMIT 20"}}
{"id": "test_2037", "question": "Postal codes in Germany starting with 10", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var1Label ?var2 ( SUBSTR( ?var2 , 1 , 2 ) AS ?var3 ) WHERE {\n  ?var1 wdt:P17 wd:Q183 .\n  ?var1 wdt:P281 ?var2 .\n  FILTER ( STRSTARTS( ?var2 , \"10\" ) )\n}\nORDER BY DESC ( ?var3 )\nLIMIT 200", "paraphrases": ["What are the postal codes in Berlin, Germany, and what are their first two digits?", "List the first two digits of all postal codes in Germany that begin with 10, sorted in descending order."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ( SUBSTR ( ?var2 ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . ?var1 <http://www.wikidata.org/prop/direct/P281> ?var2 . FILTER ( ( REGEX ( ?var2 , \"string1\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } } ORDER BY DESC( SUBSTR ( ?var2Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) LIMIT 200"}}
{"id": "test_2038", "question": "Paramount Pictures films released on a specific day with director and release date", "sparql": "SELECT ?film ?filmLabel ?directorLabel ?classLabel (SAMPLE(?date) AS ?publicationDate)\nWHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P272 wd:Q159846 .\n  ?film wdt:P57 ?director .\n  ?film p:P577 ?stmt .\n  ?stmt ps:P577 ?date .\n  ?film rdfs:label ?filmLabel .\n  ?director rdfs:label ?directorLabel .\n  ?film wdt:P31 ?class .\n  ?class rdfs:label ?classLabel .\n  FILTER(LANG(?filmLabel) = \"en\")\n  FILTER(LANG(?directorLabel) = \"en\")\n  FILTER(LANG(?classLabel) = \"en\")\n  FILTER(REGEX(STR(?date), \"^[0-9]{4}-[0-9]{2}-[0-9]{2}T\"))\n}\nGROUP BY ?film ?filmLabel ?directorLabel ?classLabel", "paraphrases": ["What are the films produced by Paramount Pictures that have a precise release date (day, month, year), along with their directors and genres?", "List all English-language films produced by Paramount Pictures that have a day-level release date, showing the film title, director, genre, and exact release date."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ( SAMPLE ( ?var4 ) AS ?var4 )( SAMPLE ( ?var5 ) AS ?var5 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P272> <http://www.wikidata.org/entity/Q159846> . ?var1 <http://www.wikidata.org/prop/direct/P57> ?var2 . ?var1 <http://www.wikidata.org/prop/P577> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/value/P577> ?var7 . ?var7 <http://wikiba.se/ontology#timeValue> ?var4 . ?var7 <http://wikiba.se/ontology#timePrecision> \"11\"^^<http://www.w3.org/2001/XMLSchema#integer> . ?var8 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } } GROUP BY ?var1 ?var1Label ?var2Label ?var3Label ?var9Label"}}
{"id": "test_2039", "question": "Scholarly articles and their human authors", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?article ?articleLabel ?authorLabel WHERE {\n  ?article wdt:P31 wd:Q13442814 .\n  ?article wdt:P50 ?author .\n  ?author wdt:P31 / wdt:P279 * wd:Q5 .\n  OPTIONAL {\n    ?article rdfs:label ?articleLabel FILTER ( LANG( ?articleLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?author rdfs:label ?authorLabel FILTER ( LANG( ?authorLabel ) = \"en\" )\n  }\n}\nLIMIT 100", "paraphrases": ["What are some scholarly articles and who are their human authors?", "List up to 100 scholarly articles along with the names of their human authors in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13442814> . ?var1 <http://www.wikidata.org/prop/direct/P50> ?var2 . ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q144> . } LIMIT 100"}}
{"id": "test_2040", "question": "Entities with postal codes starting with letters instead of digits", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?postalCode ?country WHERE {\n  ?item wdt:P281 ?postalCode .\n  ?item wdt:P17 ?country .\n  FILTER ( SUBSTR( STR( ?postalCode ) , 1 , 1 ) > \"9\" ) .\n}\nORDER BY ASC ( ?postalCode )\nLIMIT 1000", "paraphrases": ["Which places have postal codes that begin with a letter rather than a number?", "Show me all locations with non-numeric postal codes and their countries."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P281> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . FILTER ( ( ( SUBSTR ( STR ( ?var3 ) ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) > \"9\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv,en\". } } ORDER BY ASC( ?var3 ) LIMIT 1000"}}
{"id": "test_2041", "question": "What administrative regions or territories is Antarctica connected to via country, continent, administrative division, location on astronomical body, or enclave relationships?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item WHERE {\n  wd:Q51 ( wdt:P30 | wdt:P17 | wdt:P131 | wdt:P376 | wdt:P501 ) ?item .\n}", "paraphrases": ["Which entities are directly linked to Antarctica through properties like country, continent, or administrative territorial entity?", "Show me all places that Antarctica is directly associated with through its geographic or political relationships."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q1473558> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_2042", "question": "What geographic features have a U.S. GNIS ID but are located outside the United States?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?feature ?gnisId ?country WHERE {\n  ?feature wdt:P590 ?gnisId .\n  ?feature wdt:P17 ?country .\n  FILTER(?country != wd:Q30)\n  FILTER(ISLITERAL(?gnisId))\n}", "paraphrases": ["Show me all places with a GNIS Feature ID that are not in the United States.", "Are there any geographic locations outside the U.S. that have been incorrectly assigned a U.S. Geological Survey identifier?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P590> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/Q30> ) ) ) . }"}}
{"id": "test_2043", "question": "What are the main subjects of Catherine Johns' publications, how many works does she have per subject, and what are the titles of those works?", "sparql": "SELECT ?count ?subjectLabel ?workLabelSubstring WHERE {\n  {\n    SELECT ?subject (COUNT(?work) AS ?count) WHERE {\n      ?work wdt:P50 wd:Q47091408 .\n      ?work wdt:P921 ?subject .\n    }\n    GROUP BY ?subject\n    ORDER BY DESC(?count)\n  }\n  ?subject rdfs:label ?subjectLabel .\n  FILTER(LANG(?subjectLabel) = \"en\")\n  ?work wdt:P50 wd:Q47091408 .\n  ?work wdt:P921 ?subject .\n  ?work rdfs:label ?workLabel .\n  FILTER(LANG(?workLabel) = \"en\")\n  BIND(SUBSTR(?workLabel, 1, 60) AS ?workLabelSubstring)\n}", "paraphrases": ["For each main subject of works authored by Catherine Johns, how many works are there, and what are the first 60 characters of the work titles?", "Show me the count of Catherine Johns' works grouped by their main subject, along with the truncated titles of those works in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label WHERE { { SELECT ?var4 ( COUNT ( ?var5 ) AS ?var1 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q47091408> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . } GROUP BY ?var4 ORDER BY DESC( ?var1 ) } BIND ( SUBSTR ( ?var6Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q47091408> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . }"}}
{"id": "test_2044", "question": "What source and retrieval date are associated with the reference for Albert Einstein\u2019s occupation as a professor?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX pr: <http://www.wikidata.org/prop/reference/>\nPREFIX prov: <http://www.w3.org/ns/prov#>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?referenceUrl ?source ?retrievedDate WHERE {\n  wd:Q937 p:P106 ?statement .\n  ?statement prov:wasDerivedFrom ?reference .\n  ?reference pr:P854 ?referenceUrl ; pr:P248 ?source ; pr:P813 ?retrievedDate .\n}", "paraphrases": ["Where can I find the original source cited for Albert Einstein\u2019s occupation, and when was it retrieved?", "Show the URL, source publication, and retrieval date of the reference supporting Albert Einstein\u2019s occupation as a professor."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/reference/4ad7ede3b953c68a75a47f4c3b83dc4e84156369> ?var1 ?var2 . }"}}
{"id": "test_2045", "question": "Scholarly articles citing PPARgamma in human and mouse physiology", "sparql": "SELECT ?citingArticle WHERE { ?citingArticle wdt:P2860 wd:Q36063081 . }", "paraphrases": ["Which academic papers cite the article \"PPARgamma in human and mouse physiology\"?", "List all research papers that reference the study on PPARgamma in human and mouse physiology."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q36063081> . }"}}
{"id": "test_2046", "question": "What is the most closely related category that both Christian Dior and South Africa belong to, based on their hierarchical classification in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestor ( ?dist1 + ?dist2 AS ?totalDist ) WHERE {\n  {\n    SELECT ?ancestor ( COUNT( ?mid ) AS ?dist1 ) WHERE {\n      wd:Q159694 wdt:P31 ?type .\n      ?type wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n  {\n    SELECT ?ancestor ( COUNT( ?mid ) AS ?dist2 ) WHERE {\n      wd:Q258 wdt:P31 ?type .\n      ?type wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n  FILTER ( ?ancestor != wd:Q159694 && ?ancestor != wd:Q258 )\n}\nORDER BY ASC ( ?totalDist )\nLIMIT 1", "paraphrases": ["Which entity is the closest common ancestor in the subclass hierarchy between the fashion designer Christian Dior and the country South Africa, and what is the sum of their distances to it?", "Find the shared classification level (e.g., legal person) that minimizes the total number of subclass steps from both Christian Dior and South Africa."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q159694> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q258> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2047", "question": "Which scholarly articles cite \"Phases and phase transitions of the hydrated phosphatidylethanolamines\"?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?citingArticle ?label WHERE {\n  ?citingArticle wdt:P2860 wd:Q28609550 .\n  ?citingArticle rdfs:label ?label .\n  FILTER ( LANG( ?label ) = 'en' )\n}", "paraphrases": ["What are the titles of academic papers that reference the study on phases and phase transitions of hydrated phosphatidylethanolamines?", "List the English titles of research articles that cite the paper on hydrated phosphatidylethanolamine phase behavior."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q28609550> . }"}}
{"id": "test_2048", "question": "What are the authors, cited works, cited-by works, publication date, journal, main subjects, and online URL for the article \"Open source libraries and frameworks for biological data visualisation: a guide for developers\"?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ( GROUP_CONCAT( DISTINCT ?authorLabel ; separator = \", \" ) AS ?authors ) ( GROUP_CONCAT( DISTINCT ?citedWorkLabel ; separator = \", \" ) AS ?citedWorks ) ( GROUP_CONCAT( DISTINCT ?citedByWorkLabel ; separator = \", \" ) AS ?citedByWorks ) ?publicationDate ?publishedInLabel ?languageLabel ( GROUP_CONCAT( DISTINCT ?mainSubjectLabel ; separator = \", \" ) AS ?mainSubjects ) ?fullTextUrl WHERE {\n  wd:Q27687756 wdt:P50 ?author .\n  ?author rdfs:label ?authorLabel .\n  FILTER ( LANG( ?authorLabel ) = \"en\" ) wd:Q27687756 wdt:P2860 ?citedWork .\n  ?citedWork rdfs:label ?citedWorkLabel .\n  FILTER ( LANG( ?citedWorkLabel ) = \"en\" ) wd:Q27687756 ^ wdt:P2860 ?citedByWork .\n  ?citedByWork rdfs:label ?citedByWorkLabel .\n  FILTER ( LANG( ?citedByWorkLabel ) = \"en\" ) wd:Q27687756 wdt:P577 ?publicationDate .\n  wd:Q27687756 wdt:P1433 ?publishedIn .\n  ?publishedIn rdfs:label ?publishedInLabel .\n  FILTER ( LANG( ?publishedInLabel ) = \"en\" ) OPTIONAL {\n    wd:Q27687756 wdt:P407 ?language .\n    ?language rdfs:label ?languageLabel .\n    FILTER ( LANG( ?languageLabel ) = \"en\" )\n  }\n  wd:Q27687756 wdt:P921 ?mainSubject .\n  ?mainSubject rdfs:label ?mainSubjectLabel .\n  FILTER ( LANG( ?mainSubjectLabel ) = \"en\" ) OPTIONAL {\n    wd:Q27687756 wdt:P953 ?fullTextUrl .\n  }\n}\nGROUP BY ?publicationDate ?publishedInLabel ?languageLabel ?fullTextUrl", "paraphrases": ["Can you list all the authors and main topics of the article on biological data visualization tools, along with where it was published and when? Also, which papers does it cite and which papers cite it?", "Provide a summary of the scholarly article \"Open source libraries and frameworks for biological data visualisation: a guide for developers\", including its authors, publication details, subjects, and references."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4Label ?var5 ?var6Label ?var7 ?var8 ?var9Label ?var10 ?var11Label ?var12 ?var13Label ?var14 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q27687756> <http://www.wikidata.org/prop/direct/P50> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q27687756> <http://www.wikidata.org/prop/direct/P2860> ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q27687756> ^ <http://www.wikidata.org/prop/direct/P2860> ?var5 . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q27687756> <http://www.wikidata.org/prop/direct/P577> ?var7 . } OPTIONAL { <http://www.wikidata.org/entity/Q27687756> <http://www.wikidata.org/prop/direct/P1433> ?var8 . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var9Label . FILTER ( ( ( LANG ( ?var9Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q27687756> <http://www.wikidata.org/prop/direct/P407> ?var10 . ?var10 <http://www.w3.org/2000/01/rdf-schema#label> ?var11Label . FILTER ( ( ( LANG ( ?var11Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q27687756> <http://www.wikidata.org/prop/direct/P921> ?var12 . ?var12 <http://www.w3.org/2000/01/rdf-schema#label> ?var13Label . FILTER ( ( ( LANG ( ?var13Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q27687756> <http://www.wikidata.org/prop/direct/P953> ?var14 . } } OFFSET 0 LIMIT 10000"}}
{"id": "test_2049", "question": "What companies specialize in natural language processing?", "sparql": "SELECT DISTINCT ?business ?businessLabel WHERE { ?business (wdt:P31/wdt:P279*) wd:Q4830453 . ?business wdt:P452 wd:Q30642 . ?business rdfs:label ?businessLabel . FILTER(LANG(?businessLabel) = \"en\") }", "paraphrases": ["Can you list English-named businesses that operate in the field of natural language processing?", "Which organizations are involved in natural language processing as their primary industry?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q4830453> . ?var1 <http://www.wikidata.org/prop/qualifier/249> ?var4 . FILTER ( ( ( LCASE ( STR ( ?var4 ) ) = \"nlu\" ) ) ) . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . }"}}
{"id": "test_2050", "question": "Films and TV shows starring Leonardo DiCaprio in English.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?work ?workLabel WHERE {\n  ?work p:P161 / ps:P161 wd:Q38111 .\n  ?work rdfs:label ?workLabel .\n  FILTER ( LANG( ?workLabel ) = \"en\" )\n}", "paraphrases": ["What movies and TV shows has Leonardo DiCaprio acted in, listed in English?", "List the English titles of all works where Leonardo DiCaprio was a cast member."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { _:OrgnBNlsqbra_18_9 <http://www.wikidata.org/prop/statement/P161> ?var2 . ?var1 <http://www.wikidata.org/prop/P161> _:OrgnBNlsqbra_18_9 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( \"en\" = LANG ( ?var1Label ) ) ) ) . VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q38111> ) } }"}}
{"id": "test_2051", "question": "Find duplicate geographical locations in the Netherlands that share the same GeoNames ID.", "sparql": "SELECT ?item1 ?item1Label ?item2 ?item2Label WHERE { ?item1 wdt:P1566 ?geonamesId . ?item1 wdt:P17 wd:Q55 . ?item2 wdt:P1566 ?geonamesId . ?item1 rdfs:label ?item1Label . ?item2 rdfs:label ?item2Label . FILTER ( ?item1 != ?item2 ) FILTER (LANG(?item1Label) = \"en\") FILTER (LANG(?item2Label) = \"en\") }", "paraphrases": ["Which pairs of places in the Netherlands have the same GeoNames identifier but are listed as separate entries in Wikidata?", "List all pairs of distinct places in the Netherlands with identical GeoNames IDs, along with their English names, to identify potential data duplicates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1566> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q55> . ?var2 <http://www.wikidata.org/prop/direct/P1566> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,en\". } FILTER ( ( ( ?var1 != ?var2 ) ) ) . }"}}
{"id": "test_2052", "question": "How many papers were published in the EUROCRYPT 2012 conference proceedings, and in which year?", "sparql": "SELECT ?year (COUNT(?work) AS ?count) WHERE { ?work wdt:P1433 wd:Q28002953 . wd:Q28002953 wdt:P577 ?pubDate . BIND( STR( YEAR( ?pubDate ) ) AS ?year ) } GROUP BY ?year ORDER BY DESC ( ?year )", "paraphrases": ["In what year were the works published in Advances in Cryptology \u2014 EUROCRYPT 2012 released, and how many are there?", "Show the count of works published in EUROCRYPT 2012 grouped by their publication year."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q28002953> AS ?var5 ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var5 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var6 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_2053", "question": "Publication years and titles of works by Isabel Gauthier.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?year ?title WHERE {\n  ?work wdt:P50 wd:Q16213524 .\n  ?work wdt:P577 ?pubDate .\n  BIND(YEAR(?pubDate) AS ?year)\n  .\n  ?work rdfs:label ?title .\n  FILTER(LANG(?title) = \"en\")\n}\nORDER BY ?year", "paraphrases": ["What are the English titles and publication years of all academic works authored by Isabel Gauthier?", "List the titles and publication years of Isabel Gauthier\u2019s publications in English, sorted by year."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label WHERE { { SELECT ?var1 ( SAMPLE ( ?var4 ) AS ?var2 ) ?var3Label WHERE { { SELECT( STR ( ?var5 ) AS ?var1 )( \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var4 )( \"_\" AS ?var3Label ) WHERE { BIND ( YEAR ( ?var6 ) AS ?var5 ). ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q577> . ?var7 <http://www.wikidata.org/prop/direct/P585> ?var6 . { SELECT( MIN ( ?var5 ) AS ?var8 )( MAX ( ?var5 ) AS ?var9 ) WHERE { BIND ( YEAR ( ?var10 ) AS ?var5 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q16213524> . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var10 . } } FILTER ( ( ( ?var5 >= ?var8 ) && ( ?var5 <= ?var9 ) ) ) . } } UNION { BIND ( SUBSTR ( ?var12Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"20\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q16213524> . ?var11 <http://www.wikidata.org/prop/direct/P1104> ?var4 . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var6 . ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12Label . FILTER ( ( ( LANG ( ?var12Label ) = \"en\" ) ) ) . } } GROUP BY ?var1 ?var11 ?var3Label ORDER BY ASC( ?var1 ) } }"}}
{"id": "test_2054", "question": "Scholarly articles with geographic coordinates and their latitude and longitude.", "sparql": "SELECT DISTINCT ?item ?label ?lat ?lon WHERE { ?item wdt:P31 wd:Q13442814 . ?item p:P625 ?stmt . ?stmt psv:P625 ?geo . ?geo wikibase:geoLatitude ?lat . ?geo wikibase:geoLongitude ?lon . ?item rdfs:label ?label . FILTER(LANG(?label) = \"en\") } ORDER BY ASC(?label)", "paraphrases": ["Which scholarly articles have recorded geographic locations, and what are their latitude and longitude coordinates?", "List the titles of scholarly articles along with their geographic coordinates in English, sorted alphabetically by title."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q130033303> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . ?var1 <http://www.wikidata.org/prop/P625> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/value/P625> ?var7 . ?var7 <http://wikiba.se/ontology#geoLatitude> ?var4 . ?var7 <http://wikiba.se/ontology#geoLongitude> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . } } ORDER BY ASC( ?var2 )"}}
{"id": "test_2055", "question": "What is the image of the person with SNAC ARK ID w6j104wf?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6j104wf\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Show the Wikimedia Commons image associated with the Social Networks and Archival Context identifier w6j104wf.", "Find the picture of Max Beerbohm from Wikidata using his SNAC ARK ID."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6j104wf\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2056", "question": "What is the most specific shared category between Costa Rica and Beijing?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonAncestor(?dist1 + ?dist2 AS ?totalDistance) WHERE {\n  {\n    SELECT ?commonAncestor(COUNT(?mid) AS ?dist1) WHERE {\n      wd:Q800 wdt:P31 ?class .\n      ?class wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?commonAncestor .\n    }\n    GROUP BY ?commonAncestor\n  }\n  {\n    SELECT ?commonAncestor(COUNT(?mid) AS ?dist2) WHERE {\n      wd:Q956 wdt:P31 ?class .\n      ?class wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?commonAncestor .\n    }\n    GROUP BY ?commonAncestor\n  }\n}\nORDER BY ASC(?totalDistance)\nLIMIT 1", "paraphrases": ["Which class is the closest common ancestor of Costa Rica and Beijing in the Wikidata hierarchy?", "Find the geographic category that both Costa Rica and Beijing belong to, with the shortest path through subclass relationships."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q800> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q956> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2057", "question": "Number of male and female authors in the 2014 ACL Short Papers proceedings.", "sparql": "SELECT ( COUNT( ?author ) AS ?count ) ?genderLabel WHERE { ?paper wdt:P1433 wd:Q28646758 . ?paper wdt:P50 ?author . ?author wdt:P21 ?gender . ?gender rdfs:label ?genderLabel . FILTER(LANG(?genderLabel) = \"en\") } GROUP BY ?gender ?genderLabel", "paraphrases": ["How many male and female authors contributed papers to the 52nd Annual Meeting of the Association for Computational Linguistics (Short Papers)?", "Show the count of authors by gender for papers published in the 2014 ACL Short Papers proceedings."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) ?var3Label WHERE { ?var4 <http://www.wikidata.org/prop/direct/P1433> <http://www.wikidata.org/entity/Q28646758> . ?var4 <http://www.wikidata.org/prop/direct/P50> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P21> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da\". } } GROUP BY ?var3 ?var3Label"}}
{"id": "test_2058", "question": "What are the 50 most recently launched scientific journals published by Elsevier, and when were they founded?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?inceptionDate ?journal ?journalLabel WHERE {\n  ?journal wdt:P123 wd:Q746413 .\n  ?journal wdt:P31 wd:Q5633421 .\n  ?journal wdt:P571 ?inceptionDate .\n}\nORDER BY DESC ( ?inceptionDate )\nLIMIT 50", "paraphrases": ["List scientific journals published by Elsevier, sorted from newest to oldest, along with their launch dates.", "Show me Elsevier\u2019s scientific journals ordered by their year of inception, with the most recent first."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P123> <http://www.wikidata.org/entity/Q6715186> . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5633421> . ?var2 <http://www.wikidata.org/prop/direct/P571> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY DESC( ?var1 ) LIMIT 50"}}
{"id": "test_2059", "question": "List scientific journals with their UniProt journal IDs, sorted alphabetically.", "sparql": "SELECT ?journal ?journalLabel ?uniProtId WHERE { ?journal wdt:P4616 ?uniProtId . ?journal rdfs:label ?journalLabel . FILTER(LANG(?journalLabel) = \"en\") } ORDER BY ASC(?journalLabel) LIMIT 100", "paraphrases": ["Which scientific journals have a UniProt journal ID, and what are their names and IDs?", "Show me the English names and UniProt IDs of scientific journals, ordered by journal name."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4616> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label ) LIMIT 100"}}
{"id": "test_2060", "question": "What English and German Wikimedia pages are about the movie with IMDb ID tt0120630?", "sparql": "SELECT ?item ?page ?lang WHERE { ?item wdt:P345 \"tt0120630\" . ?page schema:about ?item . ?page schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Show me the Wikipedia and other Wikimedia pages in English and German that are about the film Chicken Run.", "Which language versions of Wikimedia content are available for the movie Chicken Run (IMDb: tt0120630)?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0120630\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2061", "question": "List academic papers published in ACM conference proceedings.", "sparql": "SELECT ?paper ?paperTitle ?proceedingsTitle WHERE { ?paper wdt:P1433 ?proceedings . ?proceedings wdt:P31 wd:Q1143604 . ?proceedings wdt:P123 wd:Q127992 . ?paper wdt:P1476 ?paperTitle . ?proceedings wdt:P1476 ?proceedingsTitle .}", "paraphrases": ["What papers were published in ACM conference proceedings?", "Show me the titles of research papers and the names of the ACM conference proceedings they were published in."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1433> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1143604> . ?var2 <http://www.wikidata.org/prop/direct/P123> <http://www.wikidata.org/entity/Q127992> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv,en\". } }"}}
{"id": "test_2062", "question": "What is the most specific shared category that both Brazil and the United Nations belong to, based on their hierarchical classification?", "sparql": "SELECT ?commonAncestor (?distFromBrazil + ?distFromUN AS ?totalDistance)\nWHERE {\n  {\n    SELECT ?commonAncestor (COUNT(?mid) AS ?distFromBrazil)\n    WHERE {\n      wd:Q155 wdt:P31 ?class .\n      ?class wdt:P279* ?mid .\n      ?mid wdt:P279+ ?commonAncestor .\n    }\n    GROUP BY ?commonAncestor\n  }\n  {\n    SELECT ?commonAncestor (COUNT(?mid) AS ?distFromUN)\n    WHERE {\n      wd:Q1065 wdt:P31 ?class .\n      ?class wdt:P279* ?mid .\n      ?mid wdt:P279+ ?commonAncestor .\n    }\n    GROUP BY ?commonAncestor\n  }\n}\nORDER BY ASC(?totalDistance)\nLIMIT 1", "paraphrases": ["Which common superclass has the shortest combined path from both Brazil and the United Nations in the Wikidata subclass hierarchy?", "How far is the nearest common ancestor between Brazil and the United Nations in terms of subclass relationships, and what is it?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1065> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q155> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2063", "question": "Christmas tradition films", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?item ?itemLabel WHERE {\n  ?item wdt:P31 wd:Q717040 ; wdt:P31 / wdt:P279 * wd:Q11424 .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER(LANG(?itemLabel) = \"en\")\n  }\n}", "paraphrases": ["What are some films that are associated with Christmas traditions?", "List Christmas-themed movies that are considered part of Christmas traditions."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/statement/P31> ) <http://www.wikidata.org/entity/Q717040> , [ <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q11424> ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,en,sv\". } }"}}
{"id": "test_2064", "question": "Humans who died in Ljubljana but have no Slovenian Wikipedia page.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?person ?label WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P20 wd:Q437 .\n  OPTIONAL {\n    ?wikipediaArticle schema:about ?person .\n    ?wikipediaArticle schema:inLanguage \"sl\" .\n  }\n  FILTER(! BOUND(?wikipediaArticle))\n  .\n  ?person rdfs:label ?label .\n}\nLIMIT 20", "paraphrases": ["Who are the people that died in Ljubljana and are not covered by a Slovenian Wikipedia article?", "List notable individuals who died in Ljubljana and lack a Slovenian-language Wikipedia entry."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P20> <http://www.wikidata.org/entity/Q437> . ?var2 <http://schema.org/about> ?var1 . OPTIONAL { ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> \"sl\". } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( !( BOUND ( ?var3 ) ) ) ) . } LIMIT 20"}}
{"id": "test_2065", "question": "Which actors portrayed Batman in movies or TV shows?", "sparql": "SELECT ?work ?workLabel ?actor ?actorLabel WHERE { ?work p:P161 ?statement . ?statement ps:P161 ?actor ; pq:P453 wd:Q2695156 . ?work rdfs:label ?workLabel . ?actor rdfs:label ?actorLabel . FILTER(LANG(?workLabel) = \"en\") FILTER(LANG(?actorLabel) = \"en\") } LIMIT 10", "paraphrases": ["List the films and actors associated with the character Batman.", "Who played Batman, and in which productions?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/P161> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P161> ?var3 ; <http://www.wikidata.org/prop/qualifier/P453> <http://www.wikidata.org/entity/Q2695156> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_2066", "question": "Actors in the film Nine Queens not cited by cinenacional.com", "sparql": "SELECT ?actorLabel WHERE { wd:Q1404323 p:P161 ?statement . ?statement ps:P161 ?actor . ?actor rdfs:label ?actorLabel . FILTER(LANG(?actorLabel) = \"en\") FILTER NOT EXISTS { ?statement prov:wasDerivedFrom ?ref . ?ref pr:P248 wd:Q3610461 . } }", "paraphrases": ["Who are the cast members of the movie Nine Queens that do not have their information sourced from cinenacional.com?", "List the English-language names of actors in Nine Queens whose roles are not referenced on cinenacional.com."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { <http://www.wikidata.org/entity/Q1404323> <http://www.wikidata.org/prop/P161> ?var2 . ?var2 <http://www.wikidata.org/prop/statement/P161> ?var1 . ?var2 <http://www.w3.org/ns/prov#wasDerivedFrom> ?var3 . ?var3 <http://www.wikidata.org/prop/reference/P248> <http://www.wikidata.org/entity/Q3610461> . FILTER ( ( !( BOUND ( ?var3 ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } }"}}
{"id": "test_2067", "question": "What is the most specific category that both South Korea and Zachary Taylor belong to?", "sparql": "SELECT ?commonAncestor (COUNT(?descendant) AS ?specificity)\nWHERE {\n  wd:Q884 wdt:P31 ?type1 .\n  wd:Q11896 wdt:P31 ?type2 .\n  ?type1 wdt:P279* ?commonAncestor .\n  ?type2 wdt:P279* ?commonAncestor .\n  ?descendant wdt:P31 ?commonAncestor .\n  FILTER(?descendant != ?commonAncestor)\n}\nGROUP BY ?commonAncestor\nORDER BY DESC(?specificity)\nLIMIT 1", "paraphrases": ["What is the highest-level class that includes both the country South Korea and the person Zachary Taylor?", "Which class is the most specific common ancestor of South Korea and Zachary Taylor in Wikidata's taxonomy?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q884> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q11896> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2068", "question": "Who are the actors that have appeared in a movie or TV show with Kevin Bacon?", "sparql": "SELECT DISTINCT ?coStar ?coStarLabel ?film WHERE { ?film wdt:P161 wd:Q3454165 . ?film wdt:P161 ?coStar . FILTER (?coStar != wd:Q3454165) . ?coStar rdfs:label ?coStarLabel . FILTER (LANG(?coStarLabel) = \"en\") }", "paraphrases": ["Co-stars of Kevin Bacon in films.", "List all actors who have worked with Kevin Bacon in the same production, along with the film title."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3454165> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Reverse\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P161> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P161> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2069", "question": "Which academic articles cite the paper \"Insulin-like growth factor-binding protein-5 inhibits growth and induces differentiation of mouse osteosarcoma cells\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?citingArticle WHERE {\n  ?citingArticle wdt:P2860 wd:Q45345765 .\n}", "paraphrases": ["Articles citing \"Insulin-like growth factor-binding protein-5 inhibits growth and induces differentiation of mouse osteosarcoma cells\"", "Can you list the scholarly works that reference the study on insulin-like growth factor-binding protein-5 in mouse osteosarcoma cells?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q45345765> . }"}}
{"id": "test_2070", "question": "English and German Wikipedia pages for the movie The Silence of the Lambs (IMDb tt0102926)", "sparql": "SELECT ?item ?page WHERE { ?item wdt:P345 \"tt0102926\" . ?page schema:about ?item . ?page schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") . FILTER(regex(str(?page), \"wikipedia.org\")) }", "paraphrases": ["What are the English and German Wikipedia articles about the 1991 film The Silence of the Lambs?", "Show me the English and German Wikipedia links for the movie The Silence of the Lambs, identified by its IMDb ID tt0102926."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0091620\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2071", "question": "Title, publication date, journal, volume, issue, PubMed ID, DOI, and main subject of the scientific article \"A three-dimensional working model of the multienzyme complex...\"", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?title ?publicationDate ?publishedIn ?volume ?issue ?pages ?pubmedId ?doi ?mainSubject ?language ?description WHERE {\n  wd:Q40371939 wdt:P1476 ?title ; wdt:P577 ?publicationDate ; wdt:P1433 ?publishedIn ; wdt:P478 ?volume ; wdt:P433 ?issue ; wdt:P304 ?pages ; wdt:P698 ?pubmedId ; wdt:P356 ?doi ; wdt:P921 ?mainSubject ; wdt:P407 ?language ; schema:description ?description .\n  FILTER ( LANG( ?description ) = \"en\" )\n}", "paraphrases": ["What are the publication details (title, date, journal, volume, issue, PubMed ID, DOI, and main subject) of the 2005 scientific article on the multienzyme complex based on tRNA and protein placements?", "Please provide the full metadata for the 2005 scholarly article titled \"A three-dimensional working model of the multienzyme complex...\", including its publication venue, volume, issue, PubMed ID, DOI, and main subject."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q40371939> ?var1 ?var2 . }"}}
{"id": "test_2072", "question": "All properties and values for Cluj-Napoca in Wikidata.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?value WHERE {\n  wd:Q100188 ?property ?value .\n}", "paraphrases": ["What are all the properties and their values associated with the city of Cluj-Napoca on Wikidata?", "List every piece of data available for Cluj-Napoca in Wikidata, including all its properties and corresponding values."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q100188> ) } BIND ( STRBEFORE ( ?var2 , \":\" ) AS ?var4 ). ?var1 ?var2 ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2073", "question": "Who were citizens or members of the Confederate States Army, and what monuments depict them, are named after them, or commemorate the Confederacy, along with their images and creation dates?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?monument ?image ?inceptionDate WHERE {\n  {\n    ?person wdt:P27 wd:Q81931 .\n  } UNION {\n    ?person wdt:P241 wd:Q1125021 .\n  }\n  OPTIONAL {\n    {\n      ?monument wdt:P180 ?person .\n    } UNION {\n      ?monument wdt:P138 ?person .\n    } UNION {\n      ?monument wdt:P547 wd:Q81931 .\n    }\n    OPTIONAL {\n      ?monument wdt:P571 ?inceptionDate .\n    }\n    OPTIONAL {\n      ?monument wdt:P18 ?image .\n    }\n  }\n}", "paraphrases": ["Which individuals associated with the Confederate States Army or the Confederate States of America are commemorated in monuments, and what are the images and inauguration dates of those monuments?", "List all people who were citizens of the Confederate States of America or served in its army, along with any monuments that depict them, are named after them, or honor the Confederacy, including the images of those monuments and when they were built."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q81931> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P241> <http://www.wikidata.org/entity/Q1125021> . } OPTIONAL { { ?var2 <http://www.wikidata.org/prop/direct/P180> ?var1 . } UNION { ?var2 <http://www.wikidata.org/prop/direct/P138> ?var1 . } UNION { ?var2 <http://www.wikidata.org/prop/direct/P547> <http://www.wikidata.org/entity/Q81931> . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P571> ?var4 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2074", "question": "AV idols and the productions they starred in", "sparql": "SELECT DISTINCT ?actorLabel ?productionLabel WHERE { ?actor wdt:P106 wd:Q1079215 . ?production wdt:P161 ?actor . ?actor rdfs:label ?actorLabel . ?production rdfs:label ?productionLabel . FILTER(LANG(?actorLabel) = \"en\") FILTER(LANG(?productionLabel) = \"en\") } LIMIT 1000", "paraphrases": ["Which AV idols appeared in which adult video productions?", "List the English names of AV idols and the titles of the productions they acted in."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1079215> . ?var4 <http://www.wikidata.org/prop/direct/P161> ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . } LIMIT 1000"}}
{"id": "test_2075", "question": "Entities with GeoNames ID and their English labels", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P1566 ?id .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}\nLIMIT 10", "paraphrases": ["Which places have a GeoNames ID, and what are their English names?", "Show me the English names of locations that are assigned a GeoNames ID."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/prop/direct/P1566> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_2076", "question": "What are all the protected areas in Moldova, along with their heritage designations, coordinates, images, and catalog codes?", "sparql": "SELECT ?area ?areaLabel ?areaCoords ?designationLabel ?image ?catalogCode WHERE { ?area (wdt:P1435/wdt:P279*) wd:Q12720953 . ?area wdt:P625 ?areaCoords . ?area wdt:P1435 ?designation . ?area wdt:P528 ?catalogCode . OPTIONAL { ?area wdt:P18 ?image . } OPTIONAL { ?area rdfs:label ?areaLabel . FILTER(LANG(?areaLabel) = \"en\") } OPTIONAL { ?designation rdfs:label ?designationLabel . FILTER(LANG(?designationLabel) = \"en\") } }", "paraphrases": ["Can you list the protected natural and cultural sites in Moldova, including their labels, locations, and any associated images or catalog numbers?", "Show me the heritage-designated areas in Moldova with their geographic coordinates and official catalog identifiers \u2014 and if available, their images."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5 WHERE { <http://www.wikidata.org/entity/Q37801> <http://www.wikidata.org/prop/direct/P625> ?var6 . SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> ?var6 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"50\". } ?var1 ( <http://www.wikidata.org/prop/direct/P1435> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q12720953> . ?var1 <http://www.wikidata.org/prop/direct/P1435> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P528> ?var5 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ro\". } }"}}
{"id": "test_2077", "question": "List all properties and values associated with the academic article \"SUMOylation and de-SUMOylation in response to DNA damage\".", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?value WHERE {\n  wd:Q33870712 ?property ?value .\n}", "paraphrases": ["What metadata, such as descriptions and identifiers, are linked to the scholarly article on SUMOylation and DNA damage?", "Show me all the property-value pairs for the Wikidata item Q33870712, including its descriptions in different languages and external IDs like PubMed and ResearchGate."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q33870712> ?var1 ?var2 . }"}}
{"id": "test_2078", "question": "Movies with cast members and their roles", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?movieLabel ?actor ?actorLabel ?role WHERE {\n  ?movie wdt:P161 ?actor .\n  OPTIONAL {\n    ?movie wdt:P1476 ?role .\n  }\n  ?movie rdfs:label ?movieLabel .\n  ?actor rdfs:label ?actorLabel .\n  FILTER ( LANG( ?movieLabel ) = \"en\" ) FILTER ( LANG( ?actorLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Which actors appeared in which movies, and what roles did they play?", "Show me a list of movies, the actors in them, and the characters they portrayed."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/P1612> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_2079", "question": "Scholarly articles citing \"XBP-1 Regulates a Subset of Endoplasmic Reticulum Resident Chaperone Genes in the Unfolded Protein Response\"", "sparql": "SELECT ?item ?property WHERE { ?item ?property wd:Q28585314 . FILTER(STRSTARTS(STR(?item), \"http://www.wikidata.org/entity/Q\")) FILTER(?property = wdt:P2860) }", "paraphrases": ["Which academic papers cite the study on XBP-1 regulation of ER chaperone genes?", "List all research articles that reference the 2003 paper on XBP-1 and the unfolded protein response."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q28585314> . }"}}
{"id": "test_2080", "question": "Which Wikidata items have Twitter/X usernames CNN, SpaceX, or MuseumWeek?", "sparql": "SELECT ?item ?label ?twitterHandle WHERE { ?item wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { \"CNN\" \"SpaceX\" \"MuseumWeek\" } . ?item rdfs:label ?label . FILTER(LANG(?label) = \"en\") } ORDER BY ?twitterHandle", "paraphrases": ["What are the Wikidata entities corresponding to the Twitter handles \"CNN\", \"SpaceX\", and \"MuseumWeek\"?", "List the English-labeled Wikidata items that are associated with the Twitter usernames CNN, SpaceX, and MuseumWeek."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"ralphruthe\" ) ( \"jreichelt\" ) ( \"Pymouss\" ) ( \"string1\" ) ( \"string2\" ) ( \"meduza_en\" ) ( \"string3\" ) ( \"nojhan\" ) ( \"fagerving\" ) ( \"raa_se\" ) ( \"matka\" ) ( \"evrenk\" ) ( \"zeldman\" ) ( \"Lyxor\" ) ( \"string4\" ) ( \"string5\" ) ( \"agnesbuzyn\" ) ( \"string6\" ) ( \"MuseumWeek\" ) ( \"duckporn\" ) ( \"string7\" ) ( \"string8\" ) ( \"wef\" ) ( \"CNN\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) ( \"Neo4jFr\" ) ( \"neo4j\" ) ( \"Talend\" ) ( \"string13\" ) ( \"string14\" ) ( \"DFCTA\" ) ( \"string15\" ) ( \"reddit\" ) ( \"string16\" ) ( \"string17\" ) ( \"napo\" ) ( \"kma500\" ) ( \"sadads\" ) ( \"string18\" ) ( \"string19\" ) ( \"string20\" ) ( \"string21\" ) ( \"string22\" ) ( \"natematias\" ) ( \"string23\" ) ( \"bevellin\" ) ( \"mrundkvist\" ) ( \"MaelLeHir\" ) ( \"joelgombin\" ) ( \"string24\" ) ( \"Tara_Ma_rs\" ) ( \"string25\" ) ( \"string26\" ) ( \"Gwaradenn\" ) ( \"JohnMu\" ) ( \"string27\" ) ( \"string28\" ) ( \"Jokrates\" ) ( \"Niklas_L\" ) ( \"string29\" ) ( \"dicare_org\" ) ( \"string30\" ) ( \"elektrotal\" ) ( \"string31\" ) ( \"ash_crow\" ) ( \"SpaceX\" ) ( \"string32\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2081", "question": "What properties are used to describe journal articles in Spanish?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?property ?propertyLabel ?propertyDescription WHERE {\n  ?item wdt:P31 wd:Q191067 .\n  ?item ?propertyUri ?value .\n  FILTER ( STRSTARTS( STR( ?propertyUri ) , \"http://www.wikidata.org/prop/direct/\" ) ) .\n  BIND( IRI( REPLACE( STR( ?propertyUri ) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\" ) ) AS ?property ) .\n  ?property rdf:type wikibase:Property .\n  ?property rdfs:label ?propertyLabel .\n  ?property schema:description ?propertyDescription .\n  FILTER ( LANG( ?propertyLabel ) = \"es\" ) FILTER ( LANG( ?propertyDescription ) = \"es\" )\n}\nLIMIT 100", "paraphrases": ["Which Wikidata properties, when used with journal articles, have Spanish labels and descriptions?", "Can you list the Spanish labels and descriptions of properties that are applied to journal articles in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q191067> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"es\" ) ) ) . } LIMIT 100"}}
{"id": "test_2082", "question": "Who has the Twitter username MonniauxD on Wikidata?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . FILTER(STR(?username) = \"MonniauxD\") }", "paraphrases": ["Which Wikidata item corresponds to the Twitter handle MonniauxD?", "Find the person associated with the Twitter username MonniauxD in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"MonniauxD\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2083", "question": "What is the most general category that both Facebook and Florida belong to?", "sparql": "SELECT ?common ?label WHERE { wd:Q35120 rdfs:label ?label . FILTER(LANG(?label) = \"en\") . BIND(wd:Q35120 AS ?common) }", "paraphrases": ["What class is the highest common ancestor of Facebook and Florida in Wikidata\u2019s classification hierarchy?", "What is the shared superclass of the social media platform Facebook and the U.S. state Florida?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q355> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q812> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2084", "question": "What are the human settlements in Romania that have English Wikipedia pages?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var1 ?var1Label ?var3 ?var4 WHERE {\n  ?var1 wdt:P625 ?var3 .\n  ?var1 rdfs:label ?var1Label .\n  FILTER ( LANG( ?var1Label ) = \"en\" ) ?var4 schema:about ?var1 .\n  ?var1 ( wdt:P31 / wdt:P279 * ) wd:Q486972 .\n  ?var4 schema:inLanguage \"en\" .\n  ?var4 schema:isPartOf <https://en.wikipedia.org/> .\n  ?var1 wdt:P17 wd:Q222 .\n}\nORDER BY ?var1Label", "paraphrases": ["Show me English-language Wikipedia pages for populated places in Romania, along with their coordinates.", "List all inhabited places in Romania with an English Wikipedia article and their geographic coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var3 ) ?var4 WHERE { SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> \"POINT(26 46)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"40\". <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#distance> ?var2 . } ?var4 <http://schema.org/about> ?var1 . ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q486972> . ?var4 <http://schema.org/inLanguage> \"en\". ?var4 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var1Label ?var4 ?var2 ORDER BY ASC( ?var2 )"}}
{"id": "test_2085", "question": "What is the most specific shared category that both Atlanta and Nigeria belong to in the Wikidata hierarchy?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?ancestor ( MIN( ?dist1 ) + MIN( ?dist2 ) AS ?totalDistance ) WHERE {\n  {\n    SELECT ?ancestor ( COUNT( ?mid ) AS ?dist1 ) WHERE {\n      wd:Q23556 wdt:P31 ?type .\n      ?type wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n  {\n    SELECT ?ancestor ( COUNT( ?mid ) AS ?dist2 ) WHERE {\n      wd:Q1033 wdt:P31 ?type .\n      ?type wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n}\nGROUP BY ?ancestor\nORDER BY ASC ( ?totalDistance )\nLIMIT 1", "paraphrases": ["Which abstract class is closest to both the city of Atlanta and the country of Nigeria in terms of subclass relationships?", "Find the common ancestor in the type hierarchy of Atlanta and Nigeria with the smallest total distance."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q23556> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1033> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2086", "question": "Which items are described by the journal Nature?", "sparql": "SELECT ?item WHERE { ?item wdt:P1343 wd:Q180445 . }", "paraphrases": ["What entities are cited in the scientific journal Nature?", "Show me all items that have Nature as their source of information."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/reference/3244aed981a7ba1d38aeb1ddd051b93dcb274929> ?var1 ?var2 . }"}}
{"id": "test_2087", "question": "List police forces with their official names", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?policeForce ?policeForceLabel ?officialName WHERE {\n  ?policeForce wdt:P31 wd:Q35535 .\n  ?policeForce rdfs:label ?policeForceLabel .\n  FILTER ( LANG( ?policeForceLabel ) = \"en\" ) OPTIONAL {\n    ?policeForce wdt:P1448 ?officialName .\n  }\n}", "paraphrases": ["What are the names of police forces around the world?", "Show me all police forces and their official titles, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( DISTINCT ?var4 ) AS ?var3 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q44554> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var5 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P1448> . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P2353> ?var1 . } } GROUP BY ?var1 } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1448> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2088", "question": "English-language animated films from the United States released after 1970 with IMDb IDs, excluding those with adult or exploitation genres.", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?title ?imdb WHERE {\n  VALUES ?genre {\n    wd:Q202866 wd:Q29168811\n  }\n  ?film wdt:P31 ?genre .\n  ?film wdt:P1476 ?title .\n  ?film wdt:P495 wd:Q30 .\n  ?film wdt:P577 ?date .\n  ?film wdt:P345 ?imdb .\n  FILTER ( LANG( ?title ) = \"en\" ) FILTER ( ?date > \"1970-01-01T00:00:00Z\" ^^ xsd:dateTime ) FILTER NOT EXISTS {\n    VALUES ?forbiddenGenre {\n      wd:Q185529 wd:Q16254232 wd:Q1067324 wd:Q599558\n    }\n    ?film wdt:P136 ?genre2 .\n    ?genre2 wdt:P279 * ?forbiddenGenre .\n  }\n}\nGROUP BY ?film ?title ?imdb", "paraphrases": ["What are the English titles and IMDb IDs of animated films from the United States made after 1970 that are not classified as pornographic, erotic, or exploitation films?", "List all animated feature films and animated films from the U.S. released after 1970, in English, that don\u2019t belong to any adult or exploitation film genre, along with their IMDb identifiers."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var3Label ) WHERE { VALUES ( ?var4 ) { ( <http://www.wikidata.org/entity/Q202866> ) ( <http://www.wikidata.org/entity/Q29168811> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P136> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P495> <http://www.wikidata.org/entity/Q30> . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var6 . ?var1 <http://www.wikidata.org/prop/direct/P345> ?var7 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . FILTER ( ( NOT EXISTS { VALUES ( ?var8 ) { ( <http://www.wikidata.org/entity/Q185529> ) ( <http://www.wikidata.org/entity/Q16254232> ) ( <http://www.wikidata.org/entity/Q1067324> ) ( <http://www.wikidata.org/entity/Q4843694> ) ( <http://www.wikidata.org/entity/Q599558> ) } ?var1 <http://www.wikidata.org/prop/direct/P136> ?var9 . ?var9 <http://www.wikidata.org/prop/direct/P279> * ?var8 . } ) ) . FILTER ( ( ( ?var6 > \"1970-01-01T00:00:00+05:30\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . } GROUP BY ?var1"}}
{"id": "test_2089", "question": "Which entities have Twitter handles \"canalplus\", \"ADelperier\", \"MarsFilms\", or \"JPRouve\", sorted by Wikipedia sitelink count?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitter ( COUNT( ?sitelink ) AS ?sitelinkCount ) WHERE {\n  ?item wdt:P2002 ?twitter .\n  ?sitelink schema:about ?item ; schema:isPartOf ?site .\n  VALUES ?twitter {\n    \"canalplus\" \"ADelperier\" \"MarsFilms\" \"JPRouve\"\n  }\n}\nGROUP BY ?item ?twitter\nORDER BY ASC ( ?sitelinkCount )", "paraphrases": ["What are the Twitter accounts of Canal+, Alexandre Delp\u00e9rier, Mars Films, and Jean-Paul Rouve, and how many Wikipedia language editions cover each?", "List the Wikidata items for the Twitter handles canalplus, ADelperier, MarsFilms, and JPRouve, ordered by how many Wikipedia pages link to them."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"focusonus\" ) ( \"string1\" ) ( \"canalplus\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"ADelperier\" ) ( \"MarsFilms\" ) ( \"string6\" ) ( \"string7\" ) ( \"JPRouve\" ) ( \"string8\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2090", "question": "Twitter handles of CNN, FBI, and other media outlets, sorted by number of Wikipedia pages they have.", "sparql": "SELECT ?entity ?twitterHandle (COUNT(?sitelink) AS ?sitelinkCount) WHERE { ?entity wdt:P2002 ?twitterHandle . ?sitelink schema:about ?entity . VALUES ?twitterHandle { \"tedlieu\" \"POTUS\" \"nytopinion\" \"thehill\" \"CNN\" \"MSNBC\" \"ABC\" \"Salon\" \"Slate\" \"FBI\" \"fox8news\" } } GROUP BY ?entity ?twitterHandle ORDER BY ASC(?sitelinkCount)", "paraphrases": ["Which organizations and politicians have Twitter accounts like \"CNN\", \"FBI\", or \"tedlieu\", and how many Wikipedia articles are linked to each?", "List the entities with Twitter handles including \"CNN\", \"FBI\", \"POTUS\", and others, along with their Wikipedia sitelink counts, ordered from least to most."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"tedlieu\" ) ( \"POTUS\" ) ( \"nytopinion\" ) ( \"EdMarkey\" ) ( \"thehill\" ) ( \"CNN\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"RoseParade\" ) ( \"fox8news\" ) ( \"MSNBC\" ) ( \"ABC\" ) ( \"Salon\" ) ( \"Slate\" ) ( \"FBI\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2091", "question": "How many works citing the book \"Industrial Archaeology: a handbook\" were published each year, and how many of them have known authors?", "sparql": "SELECT ?year ( COUNT( DISTINCT ?citingWork ) AS ?count ) ?hasAuthor WHERE { BIND( wd:Q47509529 AS ?citedWork ) . ?citingWork wdt:P2860 ?citedWork . ?citingWork wdt:P577 ?pubDate . BIND( STR( YEAR( ?pubDate ) ) AS ?year ) . BIND( IF( EXISTS { ?citingWork wdt:P50 [] } , \"has author\" , \"no author\" ) AS ?hasAuthor ) . } GROUP BY ?year ?hasAuthor ORDER BY DESC ( ?year )", "paraphrases": ["For each year since 2012, how many publications that cite \"Industrial Archaeology: a handbook\" have authors listed, and how many don\u2019t?", "Show the yearly distribution of citations to \"Industrial Archaeology: a handbook\", categorized by whether the citing works have identified authors."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q47509529> AS ?var5 ). ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var5 . OPTIONAL { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> ?var6 . } , \"string1\", \"string2\" ) AS ?var4 ). ?var5 <http://www.wikidata.org/prop/direct/P50> ?var6 . } BIND ( STR ( YEAR ( ?var7 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P577> ?var7 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_2092", "question": "What properties and values are associated with the academic article \"A Unified Parallel Algorithm for Regularized Group PLS Scalable to Big Data\"?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?propertyItem ?propertyItemLabel ?value(COALESCE(?valueLabel , STR(?value)) AS ?valueLabelFinal) WHERE {\n  wd:Q28854896 ?directProperty ?value .\n  FILTER(STRSTARTS(STR(?directProperty) , \"http://www.wikidata.org/prop/direct/\"))\n  .\n  ?propertyItem wikibase:directClaim ?directProperty .\n  OPTIONAL {\n    ?propertyItem rdfs:label ?propertyItemLabel .\n    FILTER(LANG(?propertyItemLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?value rdfs:label ?valueLabel .\n    FILTER(LANG(?valueLabel) = \"en\")\n  }\n}\nORDER BY ASC(?propertyItemLabel)", "paraphrases": ["Can you list the authors, publication date, arXiv ID, and other details of the paper titled \"A Unified Parallel Algorithm for Regularized Group PLS Scalable to Big Data\"?", "Show me all the information stored in Wikidata about the scholarly article with arXiv ID 1702.07066, including its title, authors, and subject."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { ?var1 ?var4 ?var5 . ?var2 <http://wikiba.se/ontology#claim> ?var4 . ?var5 ?var6 ?var3 . ?var1 ?var7 ?var3 . ?var5 ( <http://www.w3.org/ns/prov#wasDerivedFrom> / <http://www.wikidata.org/prop/reference/P248> ) <http://www.wikidata.org/entity/Q28854896> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,sde,fr,da,sv,jp\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_2093", "question": "What are the top languages for films released in 2017, ranked by count?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?year(COUNT(?film) AS ?count) ?languageLabel WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P364 ?language .\n  ?film wdt:P577 ?date .\n  ?language rdfs:label ?languageLabel .\n  FILTER(LANG(?languageLabel) = \"en\")\n  BIND(YEAR(?date) AS ?year)\n  FILTER(?date >= \"2017-01-01T00:00:00Z\" ^^ xsd:dateTime)\n  FILTER(?date < \"2018-01-01T00:00:00Z\" ^^ xsd:dateTime)\n}\nGROUP BY ?language ?year ?languageLabel\nORDER BY DESC(?count)\nLIMIT 100", "paraphrases": ["How many films in Telugu were released in 2017?", "Which languages had the most film releases in 2017, and how many were there for each?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 )( ?var4 AS ?var5Label )( ?var1 AS ?var6 ) WHERE { BIND ( STR ( YEAR ( ?var7 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var2 <http://www.wikidata.org/prop/direct/P364> <http://www.wikidata.org/entity/Q8097> . ?var2 <http://www.wikidata.org/prop/direct/P364> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var8Label . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var7 . FILTER ( ( ( ?var7 >= \"2017-00-00T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var7 < \"2018-00-00T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . } GROUP BY ?var4 ?var1 LIMIT 100"}}
{"id": "test_2094", "question": "What are 200 films, along with their directors and countries of origin, in English?", "sparql": "SELECT ?film ?filmLabel ?directorLabel ?countryLabel WHERE { ?film wdt:P31 wd:Q11424 ; wdt:P57 ?director ; wdt:P495 ?country . ?film rdfs:label ?filmLabel . ?director rdfs:label ?directorLabel . ?country rdfs:label ?countryLabel . FILTER(LANG(?filmLabel) = \"en\") FILTER(LANG(?directorLabel) = \"en\") FILTER(LANG(?countryLabel) = \"en\") } LIMIT 200", "paraphrases": ["List up to 200 films with their English titles, directors, and countries of origin.", "Films, directors, and countries of origin \u2014 show English labels for 200 entries."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> ; <http://www.wikidata.org/prop/direct/P57> ?var2 ; <http://www.wikidata.org/prop/direct/P495> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } } LIMIT 200"}}
{"id": "test_2095", "question": "List of communes in Chile", "sparql": "SELECT ?commune ?communeLabel WHERE { ?commune wdt:P31 wd:Q1840161 . ?commune rdfs:label ?communeLabel . FILTER(LANG(?communeLabel) = \"en\") }", "paraphrases": ["What are the English names of all communes in Chile?", "Show me the English-labeled communes of Chile."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1840161> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,es\". } }"}}
{"id": "test_2096", "question": "Which cycling teams or related entities on Wikidata have Twitter accounts with usernames like AstanaTeam, EquipeFDJ, or FenixDeceuninck?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?team ?twitterHandle ?teamLabel WHERE {\n  ?team wdt:P2002 ?twitterHandle ; rdfs:label ?teamLabel .\n  FILTER(LANG(?teamLabel) = \"en\")\n  VALUES(?twitterHandle) {(\"AstanaTeam\")(\"dauphine\")(\"EquipeFDJ\")(\"FabioAru1\")(\"FenixDeceuninck\")(\"FFCyclisme\")(\"SimoClarke\")\n  }\n}\nORDER BY ?twitterHandle", "paraphrases": ["Show me the English labels of Wikidata entities that are associated with these Twitter handles: AstanaTeam, EquipeFDJ, FabioAru1, FFCyclisme, FenixDeceuninck, dauphine, and SimoClarke.", "What are the official English names of organizations or people on Wikidata that use specific Twitter usernames such as @EquipeFDJ or @FabioAru1?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"dauphine\" ) ( \"string1\" ) ( \"FFCyclisme\" ) ( \"string2\" ) ( \"string3\" ) ( \"Dauphin\" ) ( \"Dauphine\" ) ( \"GoPro\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"EquipeFDJ\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"j_froe\" ) ( \"TeamSunweb\" ) ( \"string12\" ) ( \"string13\" ) ( \"SimoClarke\" ) ( \"string14\" ) ( \"pocsports\" ) ( \"FabioAru1\" ) ( \"AstanaTeam\" ) ( \"string15\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2097", "question": "What is the Wikidata item for the Twitter username \"bbc5live\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterUsername WHERE {\n  ?item wdt:P2002 ?twitterUsername .\n  VALUES ?twitterUsername {\n    \"bbc5live\"\n  }\n}", "paraphrases": ["Which entity on Wikidata has the Twitter handle \"bbc5live\"?", "Can you find the Wikidata entry for BBC Radio 5 Live's Twitter account?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"bbc5live\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2098", "question": "List films with their titles, aspect ratios, and release dates.", "sparql": "SELECT ?film ?filmLabel ?title ?aspectRatio ?aspectRatioLabel ?releaseDate WHERE { ?film wdt:P31 wd:Q11424 . OPTIONAL { ?film wdt:P1476 ?title . } OPTIONAL { ?film wdt:P2061 ?aspectRatio . } OPTIONAL { ?film wdt:P577 ?releaseDate . } ?film rdfs:label ?filmLabel FILTER(LANG(?filmLabel) = 'en') OPTIONAL { ?aspectRatio rdfs:label ?aspectRatioLabel FILTER(LANG(?aspectRatioLabel) = 'en') } } LIMIT 100", "paraphrases": ["What are the titles, aspect ratios, and release dates of all films in Wikidata?", "Please provide a list of films, including their English titles, aspect ratios (e.g., 16:9), and when they were released."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2061> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var4 . } } LIMIT 100"}}
{"id": "test_2099", "question": "How many academic papers cite \"The actin cytoskeleton modulates the activation of iNKT cells...\" by year?", "sparql": "SELECT ?year (COUNT(DISTINCT ?citingWork) AS ?citationCount) WHERE { ?citingWork wdt:P2860 wd:Q27319157 . ?citingWork wdt:P577 ?publicationDate . BIND(YEAR(?publicationDate) AS ?year) } GROUP BY ?year ORDER BY DESC(?year)", "paraphrases": ["In which years were the most papers published that cite the study on actin cytoskeleton and iNKT cell activation, and how many were published in each year?", "Show me the number of citing publications for the article on actin cytoskeleton and iNKT cells, grouped by publication year in descending order."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q27319157> AS ?var5 ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var5 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var6 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_2100", "question": "How many academic journal articles are there in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT(COUNT(?item) AS ?count) WHERE {\n  ?item wdt:P31 wd:Q18918145 .\n}", "paraphrases": ["What is the total number of items classified as academic journal articles?", "List the count of all academic journal articles in Wikidata."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1269> <http://www.wikidata.org/entity/Q18918145> . }"}}
{"id": "test_2101", "question": "Which Wikidata items have the Twitter usernames \"BarackObama\", \"NASA\", or \"timberners_lee\"?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"BarackObama\" \"NASA\" \"timberners_lee\" } }", "paraphrases": ["Who are the people or organizations on Wikidata that use \"BarackObama\", \"NASA\", or \"timberners_lee\" as their Twitter/X handles?", "Show me the Wikidata entities linked to the Twitter accounts @BarackObama, @NASA, and @timberners_lee."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"kfitz\" ) ( \"miriamkp\" ) } }"}}
{"id": "test_2102", "question": "Most used property linking entities to 1958", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ( COUNT( ?property ) AS ?count ) WHERE {\n  ?item ?statementProperty wd:Q5253 .\n  ?property wikibase:directClaim ?statementProperty .\n  ?property rdf:type wikibase:Property .\n}\nGROUP BY ?property\nORDER BY DESC ( ?count )\nLIMIT 1", "paraphrases": ["What property is used most often to associate items with the year 1958?", "Show me the property that connects the most entities to 1958, along with its usage count."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q5253> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_2103", "question": "What is the most specific class that both Boris Johnson and the Securities Commission belong to in the Wikidata hierarchy?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonClass WHERE {\n  wd:Q180589 wdt:P31 ?type1 .\n  ?type1 wdt:P279 ?mid1 .\n  ?mid1 wdt:P279 ?mid2 .\n  ?mid2 wdt:P279 wd:Q24229398 .\n  wd:Q4229693 wdt:P31 ?type2 .\n  ?type2 wdt:P279 ?mid3 .\n  ?mid3 wdt:P279 ?mid4 .\n  ?mid4 wdt:P279 ?mid5 .\n  ?mid5 wdt:P279 ?mid6 .\n  ?mid6 wdt:P279 ?mid7 .\n  ?mid7 wdt:P279 wd:Q24229398 .\n  BIND( wd:Q24229398 AS ?commonClass )\n}", "paraphrases": ["What is the lowest common ancestor in the subclass hierarchy between Boris Johnson and the Securities Commission?", "What do Boris Johnson and the Securities Commission have in common at the highest level of abstraction in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q180589> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q4229693> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2104", "question": "TV franchise with official website festivalbar.it and its Wikipedia pages", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?wikipediaPage ?wikipediaPageLabel WHERE {\n  ?item wdt:P856 <http://www.festivalbar.it/> .\n  ?wikipediaPage schema:about ?item .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER(LANGMATCHES(LANG(?itemLabel) , \"en\"))\n  }\n  OPTIONAL {\n    ?wikipediaPage rdfs:label ?wikipediaPageLabel .\n    FILTER(LANGMATCHES(LANG(?wikipediaPageLabel) , \"en\"))\n  }\n}", "paraphrases": ["What Wikipedia pages are about the TV festival \"Festivalbar\", which has the official website http://www.festivalbar.it?", "Show me the official website and associated Wikipedia articles for the TV festival Festivalbar."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.tvg-franchiseerfolg.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.tvg-franchiseerfolg.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://tvg-franchiseerfolg.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://tvg-franchiseerfolg.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://tvg-franchiseerfolg.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://tvg-franchiseerfolg.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://tvg-franchiseerfolg.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://tvg-franchiseerfolg.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://tvg-franchiseerfolg.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://tvg-franchiseerfolg.de/> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2105", "question": "How many academic articles citing \"Venus in Pompeian Domestic Space\" were published each year, and do they have authors?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?year ( COUNT( DISTINCT ?citingWork ) AS ?count ) ?hasAuthor WHERE {\n  BIND( wd:Q46997083 AS ?citedWork ) .\n  ?citingWork wdt:P2860 ?citedWork .\n  ?citingWork wdt:P577 ?pubDate .\n  BIND( STR( YEAR( ?pubDate ) ) AS ?year ) .\n  BIND( IF( EXISTS {\n    ?citingWork wdt:P50 []\n  }\n  , \"has author\" , \"no author\" ) AS ?hasAuthor )\n}\nGROUP BY ?year ?hasAuthor\nORDER BY DESC ( ?year )", "paraphrases": ["For each year, how many articles cite \"Venus in Pompeian Domestic Space\", and how many of them list an author?", "Show me the count of articles citing \"Venus in Pompeian Domestic Space\" grouped by publication year and whether they have an author."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q46997083> AS ?var5 ). ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var5 . OPTIONAL { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> ?var6 . } , \"string1\", \"string2\" ) AS ?var4 ). ?var5 <http://www.wikidata.org/prop/direct/P50> ?var6 . } BIND ( STR ( YEAR ( ?var7 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P577> ?var7 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_2106", "question": "Films set in a time period after their release date, with setting dates between publication and now.", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?filmLabel ?settingDate WHERE {\n  ?film wdt:P31 / wdt:P279 * wd:Q11424 .\n  ?film p:P2408 ?statement .\n  ?statement ps:P2408 ?period .\n  OPTIONAL {\n    ?statement pq:P1319 ?earliest .\n  }\n  OPTIONAL {\n    ?statement pq:P1326 ?latest .\n  }\n  OPTIONAL {\n    ?period wdt:P580 ?start .\n  }\n  OPTIONAL {\n    ?period wdt:P585 ?point .\n  }\n  BIND(COALESCE(?earliest , ?latest , ?start , ?point) AS ?settingDate)\n  ?film wdt:P577 ?publicationDate .\n  FILTER(?settingDate >= ?publicationDate && ?settingDate <= NOW ())\n  OPTIONAL {\n    ?film rdfs:label ?filmLabel .\n    FILTER(LANG(?filmLabel) = \"en\")\n  }\n}", "paraphrases": ["Which films have their story set in a time period that starts after the film was released and before the present day?", "List films whose narrative setting overlaps with or begins after their release date, up to the current date, along with their setting period and English title."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( MIN ( ?var2 ) AS ?var2 ) ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/P2408> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P2408> ?var5 . OPTIONAL { ?var4 <http://www.wikidata.org/prop/qualifier/P1319> ?var6 . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/qualifier/P1326> ?var7 . } OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P580> ?var8 . } OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P585> ?var9 . } BIND ( COALESCE ( ?var6 , ?var7 , ?var8 , ?var9 ) AS ?var3 ). ?var1 <http://www.wikidata.org/prop/direct/P577> ?var2 . FILTER ( ( ( ?var3 >= ?var2 ) && ( ?var3 <= NOW ( ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } GROUP BY ?var1 ?var1Label ?var3"}}
{"id": "test_2107", "question": "Which Wikidata items have Twitter usernames \"RedStarFC\", \"VICE\", or \"sandam92\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"RedStarFC\" \"VICE\" \"sandam92\"\n  }\n}\nORDER BY ASC(?item)", "paraphrases": ["Who or what entities on Wikidata are associated with the Twitter handles RedStarFC, VICE, and sandam92?", "Show me the entities linked to the Twitter accounts RedStarFC, VICE, and sandam92."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"RedStarFC\" ) ( \"VICEfr\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"socholet\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) ( \"string13\" ) ( \"string14\" ) ( \"greglef12\" ) ( \"teddyteuma\" ) ( \"O_Mfulu\" ) ( \"A9Petrilli\" ) ( \"sandam92\" ) ( \"string15\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2108", "question": "Bullrings with English names, images on Commons, and Spanish Wikipedia pages", "sparql": "SELECT DISTINCT ?bullring ?bullringLabel ?image ?esWikipediaPage WHERE { ?bullring wdt:P31 wd:Q1193438 . ?bullring wdt:P18 ?image . ?bullring rdfs:label ?bullringLabel . FILTER(LANG(?bullringLabel) = \"en\") OPTIONAL { ?esWikipediaPage schema:about ?bullring . ?esWikipediaPage schema:isPartOf <https://es.wikipedia.org/> . } } LIMIT 999", "paraphrases": ["What are the bullrings in the world that have an English label, a photo on Wikimedia Commons, and a page on Spanish Wikipedia?", "List all bullrings with their English names, associated images from Wikimedia Commons, and links to their Spanish Wikipedia pages."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var3 ) ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1193438> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://es.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,fr,es,de,ru,it,nl,ja,zh,pl,cs\". } } GROUP BY ?var1 ?var1Label ?var2 ?var4 LIMIT 999"}}
{"id": "test_2109", "question": "What is the most specific category that Richard Branson and Palestinians share?", "sparql": "SELECT ?ancestor ?ancestorLabel WHERE { VALUES ?ancestor { wd:Q5 } . wd:Q194419 wdt:P31 ?ancestor . OPTIONAL { ?ancestor rdfs:label ?ancestorLabel . FILTER(LANG(?ancestorLabel) = \"en\") } }", "paraphrases": ["Is there a common human category that includes both Richard Branson and the Palestinian people?", "What class do Richard Branson and Palestinians both belong to, despite differences in their classification?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q194419> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q201190> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2110", "question": "References in Wikidata with DOIs starting with 10.1007", "sparql": "PREFIX pr: <http://www.wikidata.org/prop/reference/>\nSELECT ?item ?doi WHERE {\n  ?item pr:P356 ?doi .\n  FILTER ( REGEX( STR( ?doi ) , \"10.1007\" ) )\n}", "paraphrases": ["Which academic references in Wikidata have DOIs containing \"10.1007\"?", "Show me all the reference entries in Wikidata that cite papers with the DOI prefix 10.1007."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/reference/P356> ?var2 . FILTER ( ( REGEX ( REPLACE ( STR ( ?var2 ) , \"%20\", \" \" ) , \"string1\" ) ) ) . }"}}
{"id": "test_2111", "question": "Which Wikidata items have Twitter usernames \"BarackObama\", \"NASA\", or \"BBCNews\"?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"BarackObama\" \"NASA\" \"BBCNews\" } }", "paraphrases": ["Who are the people or organizations on Wikidata with the Twitter handles @BarackObama, @NASA, and @BBCNews?", "List the Wikidata entities linked to the Twitter accounts BarackObama, NASA, and BBCNews."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"GPoPesie\" ) ( \"pensezbibi\" ) ( \"MagMag2503\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"Loowizrd\" ) ( \"string4\" ) ( \"string5\" ) ( \"initya1\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"Vain_eela\" ) ( \"string11\" ) ( \"maryscrzy\" ) ( \"Pattt974\" ) ( \"string12\" ) ( \"string13\" ) ( \"Percight\" ) ( \"string14\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2112", "question": "Articles published in Studies in History and Philosophy of Science Part C with their authors and publication dates, sorted newest first.", "sparql": "SELECT ?publicationDate ?article ?articleLabel (GROUP_CONCAT(?authorLabel; SEPARATOR=\" // \") AS ?authors)\nWHERE {\n  ?article wdt:P1433 wd:Q15762462 .  # Published in the journal\n  OPTIONAL { ?article wdt:P577 ?publicationDate . }\n  OPTIONAL {\n    ?article wdt:P50 ?author .\n    ?author rdfs:label ?authorLabel .\n    FILTER(LANG(?authorLabel) = \"en\")\n  }\n  ?article rdfs:label ?articleLabel .\n  FILTER(LANG(?articleLabel) = \"en\")\n}\nGROUP BY ?publicationDate ?article ?articleLabel\nORDER BY DESC(?publicationDate)\nLIMIT 1000", "paraphrases": ["What are the most recent articles published in the journal \"Studies in History and Philosophy of Science Part C\", along with their English author names and publication dates?", "List the titles, publication dates, and English author names of all articles published in the journal \"Studies in History and Philosophy of Science Part C\", ordered from newest to oldest."], "info": {"raw_sparql": "SELECT( MIN ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ( GROUP_CONCAT ( ?var4Label ; SEPARATOR = \" // \" ) AS ?var5 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P1433> <http://www.wikidata.org/entity/Q15762462> . OPTIONAL { BIND ( <http://www.w3.org/2001/XMLSchema#date> ( ?var6 ) AS ?var1 ). ?var3 <http://www.wikidata.org/prop/direct/P577> ?var6 . } OPTIONAL { ?var3 ( <http://www.wikidata.org/prop/direct/P50> / <http://www.w3.org/2000/01/rdf-schema#label> ) ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,nl,no,ru,sv,zh\". } } GROUP BY ?var3 ?var3Label ORDER BY DESC( ?var2 ) LIMIT 1000"}}
{"id": "test_2113", "question": "Films distributed by Paramount Pictures between 1900 and 2020 with their IMDb IDs.", "sparql": "SELECT ?film ?imdbId WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P345 ?imdbId . ?film wdt:P577 ?publicationDate . FILTER (?publicationDate >= \"1900-01-01T00:00:00Z\"^^xsd:dateTime) FILTER (?publicationDate <= \"2020-12-31T23:59:59Z\"^^xsd:dateTime) ?film wdt:P750 wd:Q159846 . } GROUP BY ?film ?imdbId", "paraphrases": ["Which films released between 1900 and 2020 were distributed by Paramount Pictures, and what are their IMDb IDs?", "List all Paramount Pictures films from 1900 to 2020 along with their IMDb identifiers."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } FILTER ( ( ( ?var4 >= \"1900-00-00T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var4 <= \"2020-00-00T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P750> <http://www.wikidata.org/entity/Q159846> . } GROUP BY ?var1 ?var1Label ?var2 ?var3"}}
{"id": "test_2114", "question": "What country is both New Hampshire and Detroit in?", "sparql": "SELECT ?country WHERE { wd:Q759 wdt:P17 ?country . wd:Q12439 wdt:P17 ?country . }", "paraphrases": ["Which country contains both the state of New Hampshire and the city of Detroit?", "Find the country that includes both New Hampshire and Detroit."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q759> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q12439> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2115", "question": "Films with their country of origin, release date, director, screenwriter, and title.", "sparql": "SELECT ?film ?country ?date ?director ?screenwriter ?title WHERE { ?film wdt:P31 wd:Q11424 . OPTIONAL { ?film wdt:P495 ?country . } OPTIONAL { ?film wdt:P577 ?date . } OPTIONAL { ?film wdt:P57 ?director . } OPTIONAL { ?film wdt:P58 ?screenwriter . } OPTIONAL { ?film wdt:P1476 ?title . } } LIMIT 5", "paraphrases": ["What are the country of origin, release date, director, screenwriter, and title of films?", "List up to five films along with their country of origin, release date, director, screenwriter, and title."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var3 ?var4 ?var4Label ?var5 ?var5Label ?var6 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P495> ?var2 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/direct/P577> / <http://www.w3.org/2000/01/rdf-schema#value> ) ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P57> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P58> ?var5 . } OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var6 . } } LIMIT 5"}}
{"id": "test_2116", "question": "Films released between 2000 and 2010 without an IMDb ID.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?film WHERE {\n  ?film wdt:P31 / wdt:P279 * wd:Q11424 . MINUS {\n    ?film wdt:P345 ?imdbId .\n  }\n  ?film wdt:P577 ?pubDate .\n  FILTER(?pubDate >= \"2000-01-01T00:00:00Z\" ^^ xsd:dateTime)\n  FILTER(?pubDate < \"2010-01-01T00:00:00Z\" ^^ xsd:dateTime)\n}", "paraphrases": ["What films were released between 2000 and 2010 but do not have an IMDb identifier?", "List all films from the year 2000 to 2009 that are not listed on IMDb."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11424> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P345> ?var2 . } ?var1 <http://www.wikidata.org/prop/direct/P577> ?var3 . FILTER ( ( ( ?var3 >= \"2000-00-00T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var4 . FILTER ( ( ( ?var4 < \"2010-00-00T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . } GROUP BY ?var1"}}
{"id": "test_2117", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0234215?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipediaPage ?imdbId WHERE {\n  BIND( \"tt0234215\" AS ?imdbId ) .\n  ?movie wdt:P345 ?imdbId .\n  ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" )\n}", "paraphrases": ["Show me the language versions of the Wikipedia pages about The Matrix Reloaded.", "Which language editions of Wikipedia or related sites discuss the film The Matrix Reloaded?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0186819\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2118", "question": "Which entities have Twitter usernames NASA, BBCNews, or Google?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"NASA\" \"BBCNews\" \"Google\" } }", "paraphrases": ["What are the Wikidata items associated with the Twitter handles NASA, BBCNews, and Google?", "List the entities on Wikidata that use NASA, BBCNews, or Google as their Twitter username."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"Reelwens\" ) ( \"Bydules\" ) ( \"Armire\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2119", "question": "Which Wikipedia entities have Twitter usernames \"decodeurs\", \"FT\", or \"lemondefr\", and how many Wikipedia pages do they have?", "sparql": "SELECT ?item ?username (COUNT(?sitelink) AS ?sitelinkCount) WHERE { VALUES ?username { \"decodeurs\" \"FT\" \"lemondefr\" } ?item wdt:P2002 ?username . ?sitelink schema:about ?item ; schema:isPartOf [ wikibase:wikiGroup \"wikipedia\" ] . } GROUP BY ?item ?username ORDER BY ASC(?sitelinkCount)", "paraphrases": ["What are the Wikidata items associated with the Twitter handles \"decodeurs\", \"FT\", and \"lemondefr\", sorted by the number of Wikipedia language editions they appear in?", "List the entities on Wikidata that use \"decodeurs\", \"FT\", or \"lemondefr\" as their Twitter username, along with the count of their Wikipedia sitelinks, ordered from least to most popular."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"decodeurs\" ) ( \"lemondefr\" ) ( \"TihoBrkan\" ) ( \"Boursorama\" ) ( \"string6\" ) ( \"jsblokland\" ) ( \"string7\" ) ( \"FT\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) ( \"string13\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2120", "question": "What Wikidata item corresponds to the Twitter username \"NASA\"?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"NASA\" } }", "paraphrases": ["Which organization has the Twitter handle \"NASA\"?", "Find the entity in Wikidata that is linked to the Twitter account @NASA."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"uzaigaijin\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2121", "question": "Who are the people with Twitter usernames evallespi, NAMM82, and RemiMathis?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?username WHERE {\n  ?person wdt:P2002 ?username .\n  VALUES ?username {\n    \"evallespi\" \"NAMM82\" \"RemiMathis\"\n  }\n}", "paraphrases": ["Which Wikidata entities correspond to the Twitter usernames 'evallespi', 'NAMM82', and 'RemiMathis'?", "List the people on Wikidata whose Twitter/X handle is either evallespi, NAMM82, or RemiMathis."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"Agamitsudo\" ) ( \"string3\" ) ( \"SM_WP\" ) ( \"string4\" ) ( \"NAMM82\" ) ( \"evallespi\" ) ( \"AlienSpoon\" ) ( \"RemiMathis\" ) } }"}}
{"id": "test_2122", "question": "How many articles cited \"A network biology workflow to study transcriptomics data of the diabetic liver\" each year, starting from the most recent?", "sparql": "SELECT ?year (COUNT(DISTINCT ?citingWork) AS ?count) WHERE { BIND(wd:Q30869985 AS ?targetArticle) . ?citingWork wdt:P2860 ?targetArticle . ?citingWork wdt:P577 ?publicationDate . FILTER(isLiteral(?publicationDate)) BIND(STR(YEAR(?publicationDate)) AS ?year) } GROUP BY ?year ORDER BY DESC(?year)", "paraphrases": ["Show the yearly count of scholarly articles that reference the study on diabetic liver transcriptomics, ordered by year in descending order.", "Over what years have researchers cited the network biology workflow for diabetic liver transcriptomics, and how many citations occurred in each year?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q30869985> AS ?var5 ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var5 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var6 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_2123", "question": "Subclasses of insurgency and their direct parent classes in Wikidata.", "sparql": "SELECT ?subclass ?subclassLabel ?directParent WHERE { ?subclass wdt:P279* wd:Q1323212 . OPTIONAL { ?subclass wdt:P279 ?directParent . } ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") }", "paraphrases": ["What are all the subclasses of insurgency, and what is their immediate superclass?", "List all concepts that are subclasses of insurgency, including their English labels and the direct class they are subclassed from."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q1323212> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv\". } }"}}
{"id": "test_2124", "question": "Image of Walter Willson Cobbett with SNAC ARK ID w6pr875s", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6pr875s\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w6pr875s?", "Show me the Wikimedia Commons image for the person identified by SNAC ARK ID w6pr875s."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6pr875s\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2125", "question": "List English-titled academic papers and their English-named authors from Wikidata.", "sparql": "SELECT ?work ?title ?authorLabel ?author ?wikipediaPage WHERE { ?work wdt:P50 ?author . OPTIONAL { ?work wdt:P1476 ?title . FILTER (LANG(?title) = \"en\") } OPTIONAL { ?author rdfs:label ?authorLabel . FILTER (LANG(?authorLabel) = \"en\") } OPTIONAL { ?wikipediaPage schema:about ?work ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> . } FILTER (BOUND(?title)) } LIMIT 100000", "paraphrases": ["Which academic articles published in English have authors whose names are listed in English on Wikidata?", "Please provide a list of English-language scholarly works along with the English names of their authors, as stored in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4Label ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P50> ?var4 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var3 . } OPTIONAL { ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . } OPTIONAL { ?var5 <http://schema.org/about> ?var1 . ?var5 <http://schema.org/inLanguage> \"en\". ?var5 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } LIMIT 100000 OFFSET 200000"}}
{"id": "test_2126", "question": "What positions and honors has Fran\u00e7ois Hollande held or received?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?propertyLabel ?valueLabel WHERE {\n  wd:Q157 ?direct ?value .\n  FILTER(STRSTARTS(STR(?direct) , \"http://www.wikidata.org/prop/direct/\"))\n  BIND(IRI(REPLACE(STR(?direct) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\")) AS ?property)\n  ?property rdfs:label ?propertyLabel .\n  ?value rdfs:label ?valueLabel .\n  FILTER(LANG(?propertyLabel) = \"en\" || LANG(?propertyLabel) = \"\")\n  FILTER(LANG(?valueLabel) = \"en\" || LANG(?valueLabel) = \"\")\n}\nORDER BY ?propertyLabel\nLIMIT 20", "paraphrases": ["List all the properties and their values associated with Fran\u00e7ois Hollande in Wikidata.", "Can you show me what facts are known about Fran\u00e7ois Hollande, including what he has been awarded and the roles he has held?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3Label ?var4Label WHERE { VALUES ( ?var5 ) { ( <http://www.wikidata.org/entity/Q157> ) } ?var5 ?var6 ?var7 . ?var7 ?var8 ?var2 . ?var1 <http://wikiba.se/ontology#claim> ?var6 . ?var1 <http://wikiba.se/ontology#statementProperty> ?var8 . OPTIONAL { ?var7 ?var9 ?var4 . ?var3 <http://wikiba.se/ontology#qualifier> ?var9 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } ORDER BY ASC( ?var1 )ASC( ?var7 )ASC( ?var2 )"}}
{"id": "test_2127", "question": "Films starring Shu Qi, sorted by release date (newest first)", "sparql": "SELECT DISTINCT ?film ?releaseDate ?filmLabel WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P577 ?releaseDate . ?film wdt:P161 wd:Q233859 . ?film rdfs:label ?filmLabel . FILTER(LANG(?filmLabel) = \"en\") } ORDER BY DESC(?releaseDate) LIMIT 50", "paraphrases": ["What are the films featuring Shu Qi, listed from the most recent to the oldest?", "Show me the English titles and release dates of all films in which Shu Qi acted, ordered by release date descending."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P161> <http://www.wikidata.org/entity/Q233859> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var2 ) LIMIT 50"}}
{"id": "test_2128", "question": "What are the top 10 films by release year, along with their directors and release dates?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?film ?filmLabel ?directorLabel ( YEAR( ?releaseDate ) AS ?year ) WHERE {\n  ?film ( wdt:P31 / wdt:P279 * ) wd:Q11424 .\n  ?film wdt:P57 ?director .\n  ?film wdt:P577 ?releaseDate .\n  ?film rdfs:label ?filmLabel .\n  FILTER ( LANG( ?filmLabel ) = \"en\" ) ?director rdfs:label ?directorLabel .\n  FILTER ( LANG( ?directorLabel ) = \"en\" )\n}\nORDER BY DESC ( ?year ) ASC ( ?filmLabel )\nLIMIT 10", "paraphrases": ["Which films have known directors and release dates, sorted from newest to oldest?", "Can you list films with their directors and release years, ordered by year descending and then alphabetically by title?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ( YEAR ( ?var3 ) AS ?var4 ) ?var5 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11424> ; <http://wikiba.se/ontology#sitelinks> ?var5 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P170> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } FILTER ( ( ( ?var5 > \"61\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var5 )ASC( ?var1Label )"}}
{"id": "test_2129", "question": "Films with release dates and their English titles", "sparql": "SELECT DISTINCT ?film ?filmLabel WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P577 ?publicationDate . ?film rdfs:label ?filmLabel . FILTER(LANG(?filmLabel) = \"en\") }", "paraphrases": ["What are the English titles of all films that have a known publication date?", "List all films with their English names, but only include those that have a release date."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_2130", "question": "Articles published in Ugeskrift for L\u00e6ger, ordered by newest publication date, with their titles and dates.", "sparql": "SELECT ?publicationDate ?article ?articleTitle WHERE { ?article wdt:P1433 wd:Q7877732 . OPTIONAL { ?article wdt:P577 ?publicationDate . } OPTIONAL { ?article wdt:P1476 ?articleTitle . } } ORDER BY DESC(?publicationDate) LIMIT 200", "paraphrases": ["What are the most recent articles published in the Danish medical journal Ugeskrift for L\u00e6ger, and when were they published?", "Please list the titles and publication dates of the 200 most recent articles published in Ugeskrift for L\u00e6ger."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P1433> <http://www.wikidata.org/entity/Q7877732> . OPTIONAL { BIND ( <http://www.w3.org/2001/XMLSchema#date> ( ?var3 ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P577> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,nl,no,ru,sv,zh\". } } ORDER BY DESC( ?var1 ) LIMIT 200"}}
{"id": "test_2131", "question": "Works about the Spanish\u2013American War", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?work WHERE {\n  ?work wdt:P921 wd:Q12583 .\n}\nLIMIT 10", "paraphrases": ["What works have the Spanish\u2013American War as their main subject?", "List up to 10 works that focus on the Spanish\u2013American War."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P921> <http://www.wikidata.org/entity/Q12583> . ?var1 <http://www.wikidata.org/prop/P921> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_2132", "question": "Mass shootings with date, number of deaths, and casualties", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?event ?eventLabel ?date ?deaths ?casualties WHERE {\n  ?event wdt:P31 wd:Q21480300 .\n  OPTIONAL {\n    ?event wdt:P585 ?date .\n  }\n  OPTIONAL {\n    ?event wdt:P1120 ?deaths .\n  }\n  OPTIONAL {\n    ?event wdt:P1590 ?casualties .\n  }\n  ?event rdfs:label ?eventLabel .\n  FILTER ( LANG( ?eventLabel ) = \"en\" )\n}\nLIMIT 500", "paraphrases": ["What are the mass shootings, their dates, death tolls, and casualty counts?", "List all mass shooting incidents along with when they occurred, how many people died, and how many were injured or killed."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q21480300> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P585> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1120> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1590> ?var4 . } } LIMIT 500"}}
{"id": "test_2133", "question": "What are the films and their genres in Wikidata?", "sparql": "SELECT ?film ?genre WHERE { ?film wdt:P31 wd:Q11424 . OPTIONAL { ?film wdt:P136 ?genre . } } LIMIT 100", "paraphrases": ["List films that are instances of cinema and their associated genres.", "Can you show me a list of films along with their genres, including those without assigned genres?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var2 . } } LIMIT 100"}}
{"id": "test_2134", "question": "Number of works citing John L. Hennessy\u2019s publications by year, with indication that they cite his work.", "sparql": "SELECT ?year (COUNT(DISTINCT ?citingWork) AS ?count) ?citesHennessy WHERE { ?hennessyWork wdt:P50 wd:Q92854 . ?citingWork wdt:P2860 ?hennessyWork . ?citingWork wdt:P577 ?pubDate . BIND(YEAR(?pubDate) AS ?year) . BIND(\"yes\" AS ?citesHennessy) } GROUP BY ?year ?citesHennessy ORDER BY DESC(?year)", "paraphrases": ["How many works published in each year cite publications by John L. Hennessy, and do those works cite him?", "Show me the count of works that cite John L. Hennessy\u2019s publications, grouped by their publication year, and confirm they are citing his work."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q92854> . } , \"string1\", \"string2\" ) AS ?var4 ). BIND ( STR ( YEAR ( ?var5 ) ) AS ?var1 ). ?var6 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q92854> . ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var6 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var5 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_2135", "question": "List weather events with their maximum sustained wind speeds in knots, sorted from weakest to strongest.", "sparql": "SELECT ?storm ?stormLabel ?windSpeedKnots WHERE { ?storm wdt:P2895 ?windSpeedKnots . ?storm rdfs:label ?stormLabel . FILTER(LANG(?stormLabel) = \"en\") } ORDER BY ASC(?windSpeedKnots)", "paraphrases": ["What are the storms and tornadoes with the lowest to highest maximum sustained wind speeds recorded in Wikidata?", "Show me all recorded weather events along with their maximum sustained wind speeds in knots, ordered from the least to the most intense."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2895> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY ASC( ?var2 )"}}
{"id": "test_2136", "question": "List English-language comedy horror films with their release years and genre.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?filmLabel ?year ?genreLabel WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P577 ?date .\n  BIND( STR( YEAR( ?date ) ) AS ?year ) .\n  ?film wdt:P136 wd:Q224700 .\n  ?film rdfs:label ?filmLabel .\n  wd:Q224700 rdfs:label ?genreLabel .\n  FILTER ( LANG( ?filmLabel ) = \"en\" ) .\n  FILTER ( LANG( ?genreLabel ) = \"en\" )\n}\nLIMIT 50", "paraphrases": ["What are some comedy horror movies released in different years, and what is their genre in English?", "Show me up to 50 English titles of comedy horror films along with the year they were released and the genre name."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { BIND ( STR ( YEAR ( ?var4 ) ) AS ?var2 ). ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . ?var5 <http://www.wikidata.org/prop/direct/P577> ?var4 . ?var5 <http://www.wikidata.org/prop/direct/P136> <http://www.wikidata.org/entity/Q224700> . FILTER ( ( ( LANG ( ?var1 ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 50"}}
{"id": "test_2137", "question": "What are all the properties and values associated with the concept of film in Wikidata?", "sparql": "SELECT ?property ?value WHERE { wd:Q11424 ?property ?value . } LIMIT 100", "paraphrases": ["Can you show me all the information available about the entity \"film\" in Wikidata?", "What details does Wikidata have about the category of films?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://wikidata.org/entity/Q219831> ?var1 ?var2 . } LIMIT 100"}}
{"id": "test_2138", "question": "Labels and Wikipedia links for \"concert film\" in English, German, French, and Italian, along with its image.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?label ?image ?wikipediaArticle WHERE {\n  wd:Q430525 rdfs:label ?label .\n  FILTER(LANG(?label) IN(\"en\" , \"de\" , \"fr\" , \"it\"))\n  OPTIONAL {\n    wd:Q430525 wdt:P18 ?image .\n  }\n  BIND(LANG(?label) AS ?lang)\n  OPTIONAL {\n    ?wikipediaArticle schema:about wd:Q430525 ; schema:inLanguage ?lang ; schema:isPartOf ?wikipediaSite .\n    VALUES(?lang ?wikipediaSite) {(\"en\" <https://en.wikipedia.org/>)(\"de\" <https://de.wikipedia.org/>)(\"fr\" <https://fr.wikipedia.org/>)(\"it\" <https://it.wikipedia.org/>)\n    }\n  }\n}\nORDER BY ASC(?label)", "paraphrases": ["What are the labels for \"concert film\" in English, German, French, and Italian, and what are the corresponding Wikipedia articles and image for each?", "Show me the native language labels for the film genre \"concert film\" in English, German, French, and Italian, along with their Wikipedia pages and the associated image."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q430525> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var7 ) ) ) . VALUES ( ?var7 ?var8 ) { ( \"undefined\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q430525> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q430525> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"undefined\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q430525> <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q430525> ; <http://schema.org/inLanguage> \"undefined\"; <http://schema.org/isPartOf> <https://undefined.wikipedia.org/> . } } ORDER BY ASC( ?var8 )"}}
{"id": "test_2139", "question": "List English names of weather phenomena that are types of meteorological phenomena.", "sparql": "SELECT DISTINCT ?item ?itemLabel WHERE { ?item wdt:P31 wd:Q118733587 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } ORDER BY ?itemLabel", "paraphrases": ["What are the English-labeled types of meteorological phenomena in Wikidata?", "Show me all the English names for weather events like rain, snow, and wind that are classified as types of meteorological phenomena."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q25257> . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P279> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11663> . } ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } GROUP BY ?var1 ?var1Label ?var2 ORDER BY DESC( ?var2 )"}}
{"id": "test_2140", "question": "What types is the Siege of Belgrade (1521) classified as?", "sparql": "SELECT ?instanceTypeLabel WHERE { wd:Q535542 wdt:P31 ?instanceType . ?instanceType rdfs:label ?instanceTypeLabel . FILTER (LANG(?instanceTypeLabel) = \"en\") }", "paraphrases": ["Is the Siege of Belgrade (1521) considered a battle or a siege?", "Please list the categories that the Siege of Belgrade (1521) belongs to, in English."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q535542> <http://www.wikidata.org/prop/direct/P31> ?var2 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( \"en\" = LANG ( ?var1Label ) ) ) ) . }"}}
{"id": "test_2141", "question": "Terrorist attacks in Europe linked to Islamic terrorism and their geographic coordinates.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?event ?coordinates WHERE {\n  ?event wdt:P361 wd:Q28220071 .\n  ?event wdt:P625 ?coordinates .\n}", "paraphrases": ["What are the terrorist incidents classified as part of Islamic terrorism in Europe, and where did they occur?", "List the locations of terrorist attacks that are part of Islamic terrorism in Europe."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q28220071> . ?var1 ?var3 <http://www.wikidata.org/entity/Q2> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . }"}}
{"id": "test_2142", "question": "What is the genre, release date, and performer of the documentary film \"Patient\" (2015)?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?work ?workLabel ?genre ?genreLabel ?publicationDate ?performer ?performerLabel WHERE {\n  VALUES(?work) {(wd:Q61928761)\n  }\n  OPTIONAL {\n    ?work wdt:P136 ?genre .\n  }\n  OPTIONAL {\n    ?work wdt:P577 ?publicationDate .\n  }\n  OPTIONAL {\n    ?work wdt:P175 ?performer .\n  }\n}", "paraphrases": ["Can you tell me about the 2015 film titled \"Patient\" \u2014 its genre, when it was released, and who performed in it?", "I\u2019m looking for details on the movie \"Patient\" \u2014 what type of film is it, when did it come out, and who are the actors?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var4Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q181600> ) } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P175> ?var4 . } } LIMIT 1"}}
{"id": "test_2143", "question": "Self-citations and external citations of Katharina Sunnerhagen\u2019s works by year", "sparql": "SELECT ?year (COUNT(DISTINCT ?citingWork) AS ?count) ?isSelfCitation WHERE { ?authoredWork wdt:P50 wd:Q28871736 . ?citingWork wdt:P2860 ?authoredWork . ?citingWork wdt:P577 ?pubDate . BIND(YEAR(?pubDate) AS ?year) . BIND(IF(EXISTS { ?citingWork wdt:P50 wd:Q28871736 }, \"self-citation\", \"external-citation\") AS ?isSelfCitation) . FILTER(isLiteral(?pubDate)) } GROUP BY ?year ?isSelfCitation ORDER BY DESC(?year)", "paraphrases": ["How many times have Katharina Sunnerhagen\u2019s works been cited by others each year, and how many of those citations are self-citations?", "Show the number of citations to Katharina Sunnerhagen\u2019s publications grouped by year and whether they were self-citations or external citations."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q28871736> . } , \"string1\", \"string2\" ) AS ?var4 ). BIND ( STR ( YEAR ( ?var5 ) ) AS ?var1 ). ?var6 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q28871736> . ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var6 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var5 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_2144", "question": "People who are bishops by occupation but do not hold a specific bishopric position.", "sparql": "SELECT ?person WHERE { ?person wdt:P106 wd:Q29182 . MINUS { ?person wdt:P39 ?position . ?position (wdt:P31/wdt:P279*) wd:Q29182 . } }", "paraphrases": ["Who are the people whose occupation is bishop but who do not hold any position that is classified as a bishop?", "List all individuals who are bishops in general but do not have a formal ecclesiastical office such as \"Bishop of X\"."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q29182> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P39> ?var2 . ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q29182> . } }"}}
{"id": "test_2145", "question": "Which French media organizations have Twitter accounts \"lemondefr\", \"Mediapart\", \"LaCroix\", or \"Europe1\", and how many Wikipedia articles are about them?", "sparql": "SELECT ?entity ?handle (COUNT(?article) AS ?sitelinks) WHERE { VALUES ?handle { \"lemondefr\" \"Mediapart\" \"LaCroix\" \"Europe1\" } . ?entity wdt:P2002 ?handle . ?article schema:about ?entity ; schema:isPartOf ?wiki . FILTER(STRSTARTS(STR(?wiki), \"https://\")) } GROUP BY ?entity ?handle ORDER BY ASC(?sitelinks)", "paraphrases": ["What are the Twitter handles of French media outlets like Le Monde, Mediapart, La Croix, and Europe 1, and how widely are they represented across Wikipedia?", "List the entities on Wikidata with Twitter handles \"lemondefr\", \"Mediapart\", \"LaCroix\", or \"Europe1\", sorted by the number of Wikipedia language editions they appear in."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"lacimade\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"24hPujadas\" ) ( \"LienSocial\" ) ( \"lemondefr\" ) ( \"edwyplenel\" ) ( \"mediapart\" ) ( \"string10\" ) ( \"Prefet93\" ) ( \"montreuil\" ) ( \"string11\" ) ( \"FEP\" ) ( \"string12\" ) ( \"MACarlotti\" ) ( \"LaCroix\" ) ( \"string13\" ) ( \"string14\" ) ( \"Europe1\" ) ( \"string15\" ) ( \"string16\" ) ( \"string17\" ) ( \"string18\" ) ( \"string19\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2146", "question": "Terrorist attacks with coordinates, locations, and death tolls", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?coord ?location ?locationLabel ?deaths WHERE {\n  ?attack wdt:P31 wd:Q2223653 .\n  ?attack wdt:P625 ?coord .\n  OPTIONAL {\n    ?attack wdt:P276 ?location .\n    ?location rdfs:label ?locationLabel .\n    FILTER(LANG(?locationLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?attack wdt:P1120 ?deaths .\n  }\n}\nLIMIT 10", "paraphrases": ["What are the geographic coordinates, locations, and number of deaths for terrorist attacks?", "Show me terrorist attacks with their locations (in English), coordinates, and how many people died."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var3Label ?var4 WHERE { ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7283> . ?var5 <http://www.wikidata.org/prop/direct/P625> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P276> ?var3 . } OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P1120> ?var4 . } }"}}
{"id": "test_2147", "question": "Twitter accounts of organizations with \"RAA\" in their alias", "sparql": "SELECT DISTINCT ?item ?username WHERE { ?item skos:altLabel ?altLabel . FILTER(STRSTARTS(STR(?altLabel), \"RAA\")) . ?item wdt:P2002 ?username . } ORDER BY ?item", "paraphrases": ["Which entities have Twitter accounts and are also known by the alias \"RAA\"?", "Show me the Twitter usernames for entities that have \"RAA\" as an alternative name."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"raa_se\" ) ( \"Wikipedia\" ) ( \"string1\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2148", "question": "What is the most specific common category that includes both Brazil and Guanacaste Province?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonClass WHERE {\n  wd:Q155 wdt:P31 ?type1 .\n  wd:Q690026 wdt:P31 ?type2 .\n  ?type1 wdt:P279 ?mid1 .\n  ?mid1 wdt:P279 ?commonClass .\n  ?type2 wdt:P279 ?mid2 .\n  ?mid2 wdt:P279 ?commonClass .\n}\nLIMIT 1", "paraphrases": ["What is the highest-level shared classification between Brazil and Guanacaste Province in the Wikidata hierarchy?", "Find the most specific superclass that both Brazil and Guanacaste Province belong to."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q690026> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q155> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2149", "question": "What are the details of the Bhopal chemical disaster, including its date, number of injured and deaths, and associated Wikimedia Commons category?", "sparql": "SELECT ?accident ?accidentLabel ?locationLabel ?category ?date ?injured ?deaths WHERE { ?accident wdt:P31 wd:Q977367 . ?accident wdt:P276 wd:Q80989 . ?accident wdt:P373 ?category . ?accident wdt:P585 ?date . ?accident wdt:P1339 ?injured . ?accident wdt:P1120 ?deaths . ?accident rdfs:label ?accidentLabel . wd:Q80989 rdfs:label ?locationLabel . FILTER(LANG(?accidentLabel) = \"en\") FILTER(LANG(?locationLabel) = \"en\") }", "paraphrases": ["Show me the label, location, date, injuries, deaths, and Commons category for the chemical accident that occurred in Bhopal.", "Tell me about the Bhopal gas tragedy: when did it happen, how many people were injured and killed, and what is its Wikimedia Commons category?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4Label ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q977367> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1331383> . ?var2 <http://www.wikidata.org/prop/direct/P276> <http://www.wikidata.org/entity/Q80989> . ?var2 <http://www.wikidata.org/prop/direct/P373> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P585> ?var4Label . ?var1 <http://www.wikidata.org/prop/direct/P1339> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P1120> ?var6 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2150", "question": "What works are about Pope John Paul II?", "sparql": "SELECT ?work ?workLabel WHERE { ?work wdt:P921 wd:Q989 . } LIMIT 150", "paraphrases": ["Can you list the books, films, or other creative works that have Pope John Paul II as their main subject?", "Which creative works mention or focus on the life of Karol Wojty\u0142a, who became Pope John Paul II?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var2 <http://www.wikidata.org/prop/direct/P921> <http://www.wikidata.org/entity/Q8029293> . } LIMIT 150"}}
{"id": "test_2151", "question": "Scholarly articles in Wikidata", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?article WHERE {\n  ?article wdt:P31 wd:Q13442814 .\n}\nLIMIT 100", "paraphrases": ["What are some scholarly articles listed in Wikidata?", "List 100 scholarly articles from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13442814> . ?var1 ( <http://www.wikidata.org/prop/P2093> / <http://www.wikidata.org/prop/qualifier/P1545> ) \"700\". } LIMIT 100"}}
{"id": "test_2152", "question": "German children of theologians or parsons and their occupations", "sparql": "SELECT ?child ?childLabel ?parent ?parentLabel ?childOccupation ?childOccupationLabel WHERE { { ?child wdt:P22 ?parent . } UNION { ?parent wdt:P40 ?child . } VALUES ?parentOccupation { wd:Q1234713 wd:Q955464 } ?parent wdt:P106 ?parentOccupation . ?child wdt:P106 ?childOccupation . ?child wdt:P27 wd:Q183 . } LIMIT 1000", "paraphrases": ["Who are the German citizens whose parents are theologians or parsons, and what are their occupations?", "List all German individuals who have a parent who is a theologian or parson, along with their professions."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var4Label ?var5 ?var5Label WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P22> ?var2 . } UNION { ?var2 <http://www.wikidata.org/prop/direct/P40> ?var1 . } { ?var2 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1234713> . } UNION { ?var2 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q955464> . } ?var1 <http://www.wikidata.org/prop/direct/P106> ?var5 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P140> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P27> ?var6 . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q183> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 1000"}}
{"id": "test_2153", "question": "Who are the people who participated in both World War I and World War II?", "sparql": "SELECT ?person WHERE { ?person wdt:P607 wd:Q361 . ?person wdt:P607 wd:Q362 . } LIMIT 100", "paraphrases": ["List individuals who served in both the First and Second World Wars.", "Which historical figures were involved in both global conflicts of the 20th century?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es\". } ?var1 <http://www.wikidata.org/prop/direct/P735> <http://www.wikidata.org/entity/Q362> . OPTIONAL { } ?var1 <http://www.wikidata.org/prop/direct/P735> <http://www.wikidata.org/entity/Q361> . } LIMIT 100"}}
{"id": "test_2154", "question": "Labels for the film Diamonds Are Forever in Italian, English, German, and French, along with its image and Italian Wikipedia link.", "sparql": "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?label ?image ?coordinates ?itWikipedia WHERE {\n  OPTIONAL {\n    wd:Q107914 rdfs:label ?label .\n    FILTER(LANG(?label) = ?lang)\n    VALUES(?lang ?order) {(\"it\" 1)(\"en\" 2)(\"de\" 3)(\"fr\" 4)\n    }\n  }\n  OPTIONAL {\n    wd:Q107914 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q107914 wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    ?itWikipedia rdf:type schema:Article ; schema:about wd:Q107914 ; schema:inLanguage \"it\" ; schema:isPartOf <https://it.wikipedia.org/> .\n  }\n}\nORDER BY ?order", "paraphrases": ["What are the titles of the film Diamonds Are Forever in Italian, English, German, and French, and what is its image and Italian Wikipedia page?", "Show me the multilingual titles of the 1971 James Bond film Diamonds Are Forever, its image from Wikimedia Commons, and its Italian Wikipedia article, ordered by language preference: Italian first, then English, German, and French."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q107914> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var5 ) ) ) . VALUES ( ?var5 ?var6 ) { ( \"it\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q107914> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q107914> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q107914> ; <http://schema.org/inLanguage> \"it\"; <http://schema.org/isPartOf> <https://it.wikipedia.org/> . } } ORDER BY ASC( ?var6 )"}}
{"id": "test_2155", "question": "Tuttobenigni film multilingual labels, Italian description, and Italian Wikipedia link.", "sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var6 WHERE { OPTIONAL { wd:Q4000949 rdfs:label ?var1Label . FILTER (LANG(?var1Label) = ?var7) VALUES (?var7 ?var8) { (\"it\" \"1\"^^xsd:integer) (\"en\" \"2\"^^xsd:integer) (\"de\" \"3\"^^xsd:integer) (\"fr\" \"4\"^^xsd:integer) } } OPTIONAL { wd:Q4000949 schema:description ?var2 . FILTER (LANG(?var2) = \"it\") } OPTIONAL { wd:Q4000949 wdt:P18 ?var3 . } OPTIONAL { wd:Q4000949 wdt:P625 ?var4 . } OPTIONAL { ?var6 rdf:type schema:Article ; schema:about wd:Q4000949 ; schema:inLanguage \"it\" ; schema:isPartOf <https://it.wikipedia.org/> . } } ORDER BY ASC(?var8)", "paraphrases": ["What are the English, Italian, and French titles of the 1983 film Tuttobenigni, along with its Italian Wikipedia page and description?", "Please provide the labels of the film Tuttobenigni in Italian, English, and French, its Italian description, and the link to its Italian Wikipedia article."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q4000949> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var7 ) ) ) . VALUES ( ?var7 ?var8 ) { ( \"it\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q4000949> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q4000949> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"it\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q4000949> <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q4000949> ; <http://schema.org/inLanguage> \"it\"; <http://schema.org/isPartOf> <https://it.wikipedia.org/> . } } ORDER BY ASC( ?var8 )"}}
{"id": "test_2156", "question": "Scholarly articles without descriptions", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?item ?label WHERE {\n  ?item wdt:P31 wd:Q13442814 .\n  ?item rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) FILTER NOT EXISTS {\n    ?item schema:description ?desc .\n  }\n}\nLIMIT 100", "paraphrases": ["Which scholarly articles on Wikidata do not have a description?", "Show me the titles of scholarly articles that are missing a description in English."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13442814> . OPTIONAL { ?var1 <http://schema.org/description> ?var2 . } FILTER ( ( !( BOUND ( ?var2 ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } } LIMIT 100"}}
{"id": "test_2157", "question": "Most common property used to classify films as LGBT-related films.", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nSELECT ?property(COUNT(?property) AS ?count) WHERE {\n  ?film ?usedProperty wd:Q20442589 .\n  ?property wikibase:directClaim ?usedProperty .\n  ?property rdf:type wikibase:Property .\n}\nGROUP BY ?property\nORDER BY DESC(?count)\nLIMIT 1", "paraphrases": ["Which property is most frequently used to assign the LGBT-related film genre to movies in Wikidata?", "Show the property that links the most films to the LGBT-related film genre, along with how many times it is used."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q20442589> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_2158", "question": "How many times has Sarven Capadisli cited his own work, and in which years did external citations occur?", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?year ( COUNT( DISTINCT ?citation ) AS ?count ) ?citationType WHERE {\n  ?citedWork wdt:P50 wd:Q30078591 .\n  ?citation wdt:P2860 ?citedWork .\n  ?citation wdt:P577 ?publicationDate .\n  FILTER ( isLiteral( ?publicationDate ) ) FILTER ( xsd:date ( ?publicationDate ) ) BIND( STR( YEAR( ?publicationDate ) ) AS ?year ) BIND( IF( EXISTS {\n    ?citation wdt:P50 wd:Q30078591\n  }\n  , \"self-citation\" , \"external-citation\" ) AS ?citationType )\n}\nGROUP BY ?year ?citationType\nORDER BY DESC ( ?year )", "paraphrases": ["Show the number of works citing Sarven Capadisli\u2019s publications, grouped by year and whether the citation came from him or someone else.", "What is the breakdown of citations to Sarven Capadisli\u2019s research by year and type (self or external)?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q30078591> . } , \"string1\", \"string2\" ) AS ?var4 ). BIND ( STR ( YEAR ( ?var5 ) ) AS ?var1 ). ?var6 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q30078591> . ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var6 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var5 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_2159", "question": "Most used property linking the film Lovelace to other entities", "sparql": "SELECT ?property (COUNT(?property) AS ?count) WHERE { wd:Q3072040 ?propertyUsed ?value . ?property wikibase:directClaim ?propertyUsed . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which property is used most often to connect the movie Lovelace to its cast members?", "Show me the property that has the highest number of statements connecting the film Lovelace to other items, along with the count."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q3072040> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_2160", "question": "Academic publications published after 2000, including scholarly articles, textbooks, and doctoral theses.", "sparql": "SELECT ?publication ?publicationDate WHERE {  VALUES ?publicationType {    wd:Q13442814    wd:Q7433672    wd:Q10870555    wd:Q18918145    wd:Q83790    wd:Q187685    wd:Q732577  }  ?publication wdt:P31 ?publicationType .  ?publication wdt:P577 ?publicationDate .  FILTER ( ?publicationDate >= \"2000-01-01\"^^xsd:date )} LIMIT 10", "paraphrases": ["What are some academic publications (like journal articles, books, or theses) published since the year 2000?", "List 10 examples of scholarly works such as research papers, reports, or textbooks that were published in or after 2000."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 . FILTER ( ( ( ?var3 = <http://www.wikidata.org/entity/Q13442814> ) || ( ?var3 = <http://www.wikidata.org/entity/Q7433672> ) || ( ?var3 = <http://www.wikidata.org/entity/Q10870555> ) || ( ?var3 = <http://www.wikidata.org/entity/Q18918145> ) || ( ?var3 = <http://www.wikidata.org/entity/Q83790> ) || ( ?var3 = <http://www.wikidata.org/entity/Q187685> ) || ( ?var3 = <http://www.wikidata.org/entity/Q732577> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var2 . FILTER ( ( ( ?var2 > \"2000-00-00T00:00:00+00:00\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . } OFFSET 0 LIMIT 10"}}
{"id": "test_2161", "question": "What are all the properties and values associated with the International Democratic Education Conference on Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT * WHERE {\n  wd:Q368990 ?p ?o\n}", "paraphrases": ["Can you show me all the details available for the International Democratic Education Conference in Wikidata?", "Tell me everything Wikidata knows about the International Democratic Education Conference."], "info": {"raw_sparql": "SELECT * WHERE { <http://dbpedia.org/resource/International_Democratic_Education_Conference> ?var1 ?var2 . }"}}
{"id": "test_2162", "question": "Hebrew and English titles of films", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?heLabel ?enLabel WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film rdfs:label ?heLabel\n  FILTER(LANG(?heLabel) = \"he\")\n  .\n  ?film rdfs:label ?enLabel\n  FILTER(LANG(?enLabel) = \"en\")\n  .\n}\nORDER BY ?film\nLIMIT 10", "paraphrases": ["What are the Hebrew and English titles of films on Wikidata?", "Show me films along with their Hebrew and English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"he\" ) ) ) . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 10"}}
{"id": "test_2163", "question": "Battles and military operations that were part of World War II.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?battle ?battleLabel WHERE {\n  ?battle wdt:P361 * wd:Q362 .\n  ?battle wdt:P31 / wdt:P279 * wd:Q178561 .\n  ?battle rdfs:label ?battleLabel .\n  FILTER(LANG(?battleLabel) = \"en\")\n}", "paraphrases": ["What battles occurred during World War II?", "List all battles and battle-like military events (such as sieges or operations) that were part of World War II, along with their English names."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P361> * <http://www.wikidata.org/entity/Q362> . ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q178561> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2164", "question": "Subclasses of armed conflict and their immediate parent classes.", "sparql": "SELECT ?subclass ?subclassLabel ?directParent WHERE { ?subclass wdt:P279* wd:Q350604 . OPTIONAL { ?subclass wdt:P279 ?directParent . } ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") }", "paraphrases": ["What are all the types of conflicts that are subclasses of armed conflict, and what is their direct parent category?", "List all subclasses of armed conflict along with their English names and their immediate parent subclasses."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q350604> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2165", "question": "Cited works by \"Optimal allocation of reviewers for peer feedback\" grouped by publication year and whether they have authors.", "sparql": "SELECT ?publicationYear ( COUNT( DISTINCT ?citedWork ) AS ?count ) ?hasAuthorFinal WHERE { BIND( wd:Q44719654 AS ?targetArticle ) . ?targetArticle wdt:P2860 ?citedWork . ?citedWork wdt:P577 ?publicationDate . BIND( STR( YEAR( ?publicationDate ) ) AS ?publicationYear ) . OPTIONAL { ?citedWork wdt:P50 ?author . BIND( \"has_author\" AS ?hasAuthor ) } BIND( COALESCE( ?hasAuthor, \"no_author\" ) AS ?hasAuthorFinal ) } GROUP BY ?publicationYear ?hasAuthorFinal ORDER BY DESC ( ?publicationYear )", "paraphrases": ["For the academic article \"Optimal allocation of reviewers for peer feedback\", in which years were its cited works published, and how many of them have known authors?", "Show me the publication years and author status (has/has no author) of all works cited by the article \"Optimal allocation of reviewers for peer feedback\"."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q44719654> AS ?var5 ). ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var5 . OPTIONAL { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> ?var6 . } , \"string1\", \"string2\" ) AS ?var4 ). ?var5 <http://www.wikidata.org/prop/direct/P50> ?var6 . } BIND ( STR ( YEAR ( ?var7 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P577> ?var7 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_2166", "question": "How many works cite the article \"Developing international open science collaborations...\" and do they have authors, even if their publication years are unknown?", "sparql": "SELECT ?year ( COUNT( DISTINCT ?citingWork ) AS ?count ) ?hasAuthor WHERE { BIND( wd:Q34381225 AS ?targetArticle ) . ?citingWork wdt:P2860 ?targetArticle . BIND( STR( YEAR( ?pubDate ) ) AS ?year ) . ?citingWork wdt:P577 ?pubDate . OPTIONAL { BIND( IF( EXISTS { ?citingWork wdt:P50 [] } , \"has author\" , \"no author\" ) AS ?hasAuthor ) } } GROUP BY ?year ?hasAuthor ORDER BY DESC ( ?year )", "paraphrases": ["Are the works that cite the Open Science Prize article authored, and how many are there?", "What is the count of citing works for the academic article on open science funding, grouped by whether they list authors, even when publication dates are missing?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q34381225> AS ?var5 ). ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var5 . OPTIONAL { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> ?var6 . } , \"string1\", \"string2\" ) AS ?var4 ). ?var5 <http://www.wikidata.org/prop/direct/P50> ?var6 . } BIND ( STR ( YEAR ( ?var7 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P577> ?var7 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_2167", "question": "Number of academic papers citing \"A Sentimental Education: Sentiment Analysis Using Subjectivity Summarization Based on Minimum Cuts\" grouped by publication year.", "sparql": "SELECT ?year (COUNT(DISTINCT ?citingWork) AS ?citationCount) WHERE {\n  ?citingWork wdt:P2860 wd:Q36971274 .\n  ?citingWork wdt:P577 ?pubDate .\n  BIND(STR(YEAR(?pubDate)) AS ?year) .\n}\nGROUP BY ?year\nORDER BY DESC(?year)", "paraphrases": ["How many papers cite the 2004 article on sentiment analysis, and in which years were they published?", "Show me a count of works that cite the scholarly article on subjectivity summarization, broken down by the year each was published."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q36971274> AS ?var5 ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var5 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var6 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_2168", "question": "Who are the popes with known start dates of their papacy?", "sparql": "SELECT ?person ?personLabel WHERE { ?person p:P39 ?statement . ?statement ps:P39 wd:Q19546 . ?statement pq:P580 ?start . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["List the names of all individuals who have held the position of Pope and have a recorded start date.", "Which popes have a documented beginning of their term in office?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/P39> ?var2 . ?var2 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q19546> . ?var2 <http://www.wikidata.org/prop/qualifier/p580> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2169", "question": "What are the names of church buildings in Lithuania that do not have coordinate locations in Wikidata?", "sparql": "SELECT ?churchLabel WHERE { ?church wdt:P31 wd:Q16970 . ?church wdt:P17 wd:Q37 . OPTIONAL { ?church wdt:P625 ?coord . } FILTER ( !BOUND(?coord) ) . ?church rdfs:label ?churchLabel . FILTER (LANG(?churchLabel) = \"en\") }", "paraphrases": ["List English-labeled church buildings in Lithuania that are missing geographic coordinates.", "Which churches in Lithuania are recorded in Wikidata but lack GPS coordinates?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16970> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . FILTER ( ( !( BOUND ( ?var2 ) ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q37> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"lt\". } }"}}
{"id": "test_2170", "question": "Italian-language films titled \"La dolce vita\" or \"Il padrino\" and their English titles", "sparql": "SELECT DISTINCT ?item ?itemLabel WHERE { { ?item rdfs:label \"La dolce vita\"@it . } UNION { ?item rdfs:label \"Il padrino\"@it . } ?item wdt:P31 wd:Q11424 . ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") }", "paraphrases": ["What are the English titles of the films known as \"La dolce vita\" and \"Il padrino\" in Italian?", "Show me the English labels of the films that have the Italian titles \"La dolce vita\" or \"Il padrino\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { { ?var1 ?var3Label \"string1\"@it . } UNION { ?var1 ?var3Label \"string2\"@it . } ?var1 ?var4 ?var5 . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6 . FILTER ( ( ( LANG ( ?var6 ) = \"en\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,en\". } }"}}
{"id": "test_2171", "question": "Films from the United States released after 2002 with their release years.", "sparql": "SELECT ?film ?filmLabel ?year WHERE { ?film wdt:P31 wd:Q11424 ; wdt:P577 ?date ; wdt:P495 wd:Q30 . BIND(YEAR(?date) AS ?year) FILTER(?year > 2002) ?film rdfs:label ?filmLabel . FILTER(LANG(?filmLabel) = \"en\") }", "paraphrases": ["What are some American films released after 2002, and in what years were they released?", "List English-language films produced in the United States that came out after 2002, including their release years."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ?var3 WHERE { BIND ( YEAR ( ?var4 ) AS ?var3 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P495> ?var5 . FILTER ( ( ?var5 IN ( <http://www.wikidata.org/entity/Q30> ) ) ) . FILTER ( ( ( ?var3 > \"2002\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } GROUP BY ?var1 ?var3 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } }"}}
{"id": "test_2172", "question": "List all films with their English titles.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?film ?filmLabel WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  OPTIONAL {\n    ?film rdfs:label ?filmLabel\n    FILTER(LANG(?filmLabel) = \"en\")\n  }\n}\nLIMIT 1000000", "paraphrases": ["What are the English titles of all films in Wikidata?", "Show me all cinematic works and their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 1000000"}}
{"id": "test_2173", "question": "What are the titles of films listed in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?title WHERE {\n  ?item wdt:P31 wd:Q11424 .\n  ?item wdt:P1476 ?title .\n  FILTER ( REGEX( ?title , '[a-zA-Z]' ) )\n}", "paraphrases": ["Can you list the titles of all movies in Wikidata that have meaningful names?", "Show me the official titles of films from Wikidata, excluding nonsensical entries like symbols or numbers."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label WHERE { ?var1 <http://purl.org/dc/terms/subject> <http://www.wikidata.org/prop/direct/Q6576997> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,es\". } }"}}
{"id": "test_2174", "question": "When did World War II start and end?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?startDate ?endDate WHERE {\n  wd:Q362 wdt:P580 ?startDate .\n  wd:Q362 wdt:P582 ?endDate .\n}", "paraphrases": ["Start and end dates of World War II", "Can you tell me the exact beginning and end dates of the Second World War?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } <http://www.wikidata.org/entity/Q362> <http://www.wikidata.org/prop/direct/P580> ?var1 . <http://www.wikidata.org/entity/Q362> <http://www.wikidata.org/prop/direct/P582> ?var2 . } LIMIT 100"}}
{"id": "test_2175", "question": "Films released in 2017 with their titles", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?film ?filmLabel WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P577 ?releaseDate .\n  FILTER ( ?releaseDate >= \"2017-01-01T00:00:00Z\" ^^ xsd:dateTime && ?releaseDate <= \"2017-12-31T00:00:00Z\" ^^ xsd:dateTime ) .\n  ?film wdt:P1476 ?filmLabel .\n}", "paraphrases": ["What are the titles of all films released in 2017?", "List all films from 2017 along with their titles."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var2 . FILTER ( ( ( ?var2 >= \"2017-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"2017-12-31T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_2176", "question": "What is the image of the person with SNAC ARK ID w6377k8f?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6377k8f\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Can you show me the Wikimedia Commons image associated with Thomas T. Munford?", "Which image is linked to the archival record identified by the SNAC ARK ID w6377k8f?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6377k8f\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2177", "question": "What Wikidata items are associated with the Twitter handles \"arkdesc\" and \"smkmuseum\"?", "sparql": "SELECT ?item ?twitterHandle WHERE { ?item wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { \"arkdesc\" \"smkmuseum\" } }", "paraphrases": ["Show me the entities on Wikidata that have the Twitter usernames \"arkdesc\" or \"smkmuseum\".", "Which organizations have Twitter accounts @arkdesc or @smkmuseum according to Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"fagerving\" ) ( \"ArkDesC\" ) ( \"string1\" ) ( \"smkmuseum\" ) ( \"molsuki\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2178", "question": "What is the most specific shared category between Bruce Arians and NATO based on their types and subclass hierarchy?", "sparql": "SELECT ?ancestor ( (?dist1 + ?dist2) AS ?totalDist ) WHERE { { SELECT ?ancestor (COUNT(?mid) AS ?dist1) WHERE { wd:Q4046340 wdt:P31 ?type . ?type wdt:P279+ ?mid . ?mid wdt:P279* ?ancestor . } GROUP BY ?ancestor } { SELECT ?ancestor (COUNT(?mid) AS ?dist2) WHERE { wd:Q7184 wdt:P31 ?type . ?type wdt:P279+ ?mid . ?mid wdt:P279* ?ancestor . } GROUP BY ?ancestor } } ORDER BY ASC(?totalDist) LIMIT 1", "paraphrases": ["What is the closest common superclass that connects the type of Bruce Arians and the type of NATO through the subclass-of relationship?", "Find the entity that is the most specific common ancestor in the subclass hierarchy of both Bruce Arians and NATO, and return the sum of the shortest path lengths from each to this ancestor."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q4046340> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7184> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2179", "question": "What is the most specific common superclass of the categories that Amazon and Jim Mattis belong to?", "sparql": "SELECT ?commonAncestor ?label WHERE { wd:Q3884 wdt:P31 ?classAmazon . wd:Q267902 wdt:P31 ?classJimMattis . ?classAmazon wdt:P279 ?level1 . ?level1 wdt:P279 ?level2 . ?level2 wdt:P279 ?commonAncestor . ?classJimMattis wdt:P279 ?level3 . ?level3 wdt:P279 ?level4 . ?level4 wdt:P279 ?commonAncestor . ?commonAncestor rdfs:label ?label . FILTER( LANG( ?label ) = \"en\" ) } ORDER BY DESC( strlen( ?label ) ) LIMIT 1", "paraphrases": ["Find the highest-level category that both Amazon (as a company) and Jim Mattis (as a human) are classified under in the Wikidata hierarchy.", "Which entity in the Wikidata ontology is the most specific shared ancestor of the class of Amazon and the class of Jim Mattis?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3884> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q267902> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2180", "question": "List all parishes in Latvia that have an ATVK ID but no Freebase ID, sorted alphabetically.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?parish ?parishLabel WHERE {\n  ?parish wdt:P31 wd:Q2577184 ; wdt:P17 wd:Q211 ; wdt:P1115 ?atvkId . MINUS {\n    ?parish wdt:P646 ?freebaseId .\n  }\n  ?parish rdfs:label ?parishLabel .\n  FILTER ( LANG( ?parishLabel ) = \"en\" )\n}\nORDER BY ASC ( ?parishLabel )", "paraphrases": ["Which parishes in Latvia are assigned an ATVK ID but do not have a Freebase ID, and what are their English names?", "Please provide the English names of all Latvian parishes that have an ATVK identifier and are not linked to Freebase, ordered alphabetically."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2577184> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q211> . ?var1 <http://www.wikidata.org/prop/direct/P1115> ?var2 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P646> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"lv\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_2181", "question": "What are the start and end dates of the ESWC 2018 conference?", "sparql": "SELECT ?date ?dateType ?dateTypeLabel ?image WHERE { { wd:Q50290385 wdt:P580 ?date . BIND(wd:Q24575110 AS ?dateType) } UNION { wd:Q50290385 wdt:P582 ?date . BIND(wd:Q24575125 AS ?dateType) } OPTIONAL { wd:Q50290385 wdt:P18 ?image . } ?dateType rdfs:label ?dateTypeLabel . FILTER(LANG(?dateTypeLabel) = \"en\") }", "paraphrases": ["Can you tell me when ESWC 2018 began and ended, along with the type of each date?", "Show me the beginning and end dates of ESWC 2018, labeled as start time and end time respectively."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var3 WHERE { { <http://www.wikidata.org/entity/Q50290385> ( <http://www.wikidata.org/prop/direct/P580> | <http://www.wikidata.org/prop/direct/P585> ) ?var1 . OPTIONAL { <http://www.wikidata.org/entity/Q50290385> <http://www.wikidata.org/prop/direct/P18> ?var3 . } BIND ( <http://www.wikidata.org/entity/Q24575110> AS ?var2 ). } UNION { <http://www.wikidata.org/entity/Q50290385> <http://www.wikidata.org/prop/direct/P582> ?var1 . OPTIONAL { <http://www.wikidata.org/entity/Q50290385> <http://www.wikidata.org/prop/direct/P18> ?var3 . } BIND ( <http://www.wikidata.org/entity/Q24575125> AS ?var2 ). } UNION { <http://www.wikidata.org/entity/Q50290385> <http://www.wikidata.org/prop/P793> [ <http://www.wikidata.org/prop/statement/P793> ?var2 ; <http://www.wikidata.org/prop/qualifier/P585> ?var1 ] . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_2182", "question": "Lists of films with their English titles", "sparql": "SELECT ?list ?listLabel WHERE { ?list wdt:P360 wd:Q11424 . ?list rdfs:label ?listLabel . FILTER(LANG(?listLabel) = \"en\") } LIMIT 100", "paraphrases": ["What are the English titles of lists that feature films as their main topic?", "Show me up to 100 lists of films along with their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P360> <http://www.wikidata.org/entity/Q11424> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var2 . } OPTIONAL { } } LIMIT 100"}}
{"id": "test_2183", "question": "Battles during the Napoleonic Wars with their start dates, locations, and images.", "sparql": "SELECT ?battle ?battleLabel ?startDate ?location ?image WHERE { ?battle wdt:P31 wd:Q178561 ; wdt:P361 wd:Q78994 ; wdt:P580 ?startDate ; wdt:P625 ?location . OPTIONAL { ?battle wdt:P18 ?image . } ?battle rdfs:label ?battleLabel . FILTER(LANG(?battleLabel) = \"en\") }", "paraphrases": ["What were the battles in the Napoleonic Wars, when did they occur, where were they fought, and do they have associated images?", "List the battles that were part of the Napoleonic Wars, including their start dates, geographic coordinates, and any available Wikimedia Commons images."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q178561> ; <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q78994> ; <http://www.wikidata.org/prop/direct/P580> ?var2 ; <http://www.wikidata.org/prop/direct/P625> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en, fr, de, pl\". } }"}}
{"id": "test_2184", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt4480398?", "sparql": "SELECT ?movie ?wiki_page WHERE { ?movie wdt:P345 \"tt4480398\" . ?wiki_page schema:about ?movie . VALUES ?lang { \"en\" \"de\" } ?wiki_page schema:inLanguage ?lang . }", "paraphrases": ["Show me the Wikipedia articles in English and German about the movie \"Attack of the Killer Donuts\".", "Which language versions of Wikipedia have articles about the film identified by tt4480398?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt4480398\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2185", "question": "What is the most closely related common superclass between Richard Segerblom and Russia, based on the shortest path through subclass relationships?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestor ( ?dist1 + ?dist2 AS ?totalDist ) WHERE {\n  {\n    SELECT ?ancestor ?dist1 WHERE {\n      {\n        VALUES ?dist1 {\n          1\n        }\n        wd:Q7800620 wdt:P31 ?class1 .\n        ?class1 wdt:P279 ?ancestor .\n      } UNION {\n        VALUES ?dist1 {\n          2\n        }\n        wd:Q7800620 wdt:P31 ?class1 .\n        ?class1 wdt:P279 ?mid .\n        ?mid wdt:P279 ?ancestor .\n      } UNION {\n        VALUES ?dist1 {\n          3\n        }\n        wd:Q7800620 wdt:P31 ?class1 .\n        ?class1 wdt:P279 ?mid1 .\n        ?mid1 wdt:P279 ?mid2 .\n        ?mid2 wdt:P279 ?ancestor .\n      } UNION {\n        VALUES ?dist1 {\n          4\n        }\n        wd:Q7800620 wdt:P31 ?class1 .\n        ?class1 wdt:P279 ?mid1 .\n        ?mid1 wdt:P279 ?mid2 .\n        ?mid2 wdt:P279 ?mid3 .\n        ?mid3 wdt:P279 ?ancestor .\n      } UNION {\n        VALUES ?dist1 {\n          5\n        }\n        wd:Q7800620 wdt:P31 ?class1 .\n        ?class1 wdt:P279 ?mid1 .\n        ?mid1 wdt:P279 ?mid2 .\n        ?mid2 wdt:P279 ?mid3 .\n        ?mid3 wdt:P279 ?mid4 .\n        ?mid4 wdt:P279 ?ancestor .\n      }\n    }\n  }\n  {\n    SELECT ?ancestor ?dist2 WHERE {\n      {\n        VALUES ?dist2 {\n          1\n        }\n        wd:Q159 wdt:P31 ?class2 .\n        ?class2 wdt:P279 ?ancestor .\n      } UNION {\n        VALUES ?dist2 {\n          2\n        }\n        wd:Q159 wdt:P31 ?class2 .\n        ?class2 wdt:P279 ?mid .\n        ?mid wdt:P279 ?ancestor .\n      } UNION {\n        VALUES ?dist2 {\n          3\n        }\n        wd:Q159 wdt:P31 ?class2 .\n        ?class2 wdt:P279 ?mid1 .\n        ?mid1 wdt:P279 ?mid2 .\n        ?mid2 wdt:P279 ?ancestor .\n      } UNION {\n        VALUES ?dist2 {\n          4\n        }\n        wd:Q159 wdt:P31 ?class2 .\n        ?class2 wdt:P279 ?mid1 .\n        ?mid1 wdt:P279 ?mid2 .\n        ?mid2 wdt:P279 ?mid3 .\n        ?mid3 wdt:P279 ?ancestor .\n      } UNION {\n        VALUES ?dist2 {\n          5\n        }\n        wd:Q159 wdt:P31 ?class2 .\n        ?class2 wdt:P279 ?mid1 .\n        ?mid1 wdt:P279 ?mid2 .\n        ?mid2 wdt:P279 ?mid3 .\n        ?mid3 wdt:P279 ?mid4 .\n        ?mid4 wdt:P279 ?ancestor .\n      }\n    }\n  }\n  FILTER ( ?ancestor = ?ancestor )\n}\nORDER BY ( ?dist1 + ?dist2 )\nLIMIT 1", "paraphrases": ["Which entity is the closest shared ancestor in the subclass hierarchy for both the American politician Richard Segerblom and the country Russia?", "Find the class that minimizes the sum of subclass distances from both Russia and Richard Segerblom\u2019s class, and return that class along with the total distance."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7800620> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q159> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2186", "question": "What are the Russian-labeled properties and their values for the film \"Harry Potter and the Order of the Phoenix\"?", "sparql": "SELECT ?propertyLabel ?value ?valueLabel ?image WHERE { wd:Q102235 ?directProperty ?value . ?property wikibase:directClaim ?directProperty . ?property rdfs:label ?propertyLabel . ?value rdfs:label ?valueLabel . OPTIONAL { ?value wdt:P18 ?image . } FILTER (LANG(?propertyLabel) = \"ru\") FILTER (LANG(?valueLabel) = \"ru\") } ORDER BY ASC(?propertyLabel) ASC(?value) LIMIT 1000", "paraphrases": ["Show me the Russian names of the people, roles, and other details associated with the movie \"Harry Potter and the Order of the Phoenix\", along with any images of those people.", "List all the Russian-language labels for the properties and entities linked to the film \"Harry Potter and the Order of the Phoenix\", such as director, cast, and country of origin."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4Label ?var5 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { BIND ( <http://www.wikidata.org/entity/Q102235> AS ?var3 ). BIND ( \"N/A\" AS ?var1 ). BIND ( \"identity\"@ru AS ?var2Label ). } UNION { <http://www.wikidata.org/entity/Q102235> ?var1 ?var3 . ?var6 ?var7 ?var1 . ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var5 . } FILTER ( ( ( LANG ( ?var4Label ) = \"ru\" ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = \"ru\" ) ) ) . } ORDER BY ASC( ?var1 )ASC( ?var3 ) LIMIT 1000"}}
{"id": "test_2187", "question": "List of English-language films", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?film ?filmLabel WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film rdfs:label ?filmLabel .\n  FILTER(LANG(?filmLabel) = \"en\")\n  FILTER(REGEX(?filmLabel , \"[a-zA-Z0-9].*[a-zA-Z0-9]\" , \"i\"))\n}\nORDER BY ASC(?filmLabel)\nLIMIT 200", "paraphrases": ["What are some films that are classified as movies in Wikidata?", "Can you show me 200 English-language movie titles from Wikidata, sorted alphabetically?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } } ORDER BY ASC( ?var1 ) LIMIT 200 OFFSET 43400"}}
{"id": "test_2188", "question": "Which Wikidata items have the Twitter usernames \"chodacki\" and \"i4oc_org\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"chodacki\" \"i4oc_org\"\n  }\n}", "paraphrases": ["Who are the entities on Wikidata associated with the Twitter handles @chodacki and @i4oc_org?", "Show me the Wikidata entries for the Twitter accounts chodacki and i4oc_org."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"wikimedia\" ) ( \"string2\" ) ( \"wikicite\" ) ( \"i4oc_org\" ) ( \"string3\" ) ( \"chodacki\" ) } }"}}
{"id": "test_2189", "question": "What are the names and locations of cemeteries in Latvia?", "sparql": "SELECT ?cemeteryLabel ?website ?coordinates WHERE { ?cemetery (wdt:P31/wdt:P279*) wd:Q39614 . ?cemetery wdt:P17 wd:Q211 . ?cemetery wdt:P625 ?coordinates . OPTIONAL { ?cemetery wdt:P856 ?website . } ?cemetery rdfs:label ?cemeteryLabel . FILTER(LANG(?cemeteryLabel) = \"en\") }", "paraphrases": ["Can you list all cemeteries in Latvia along with their geographic coordinates, and indicate if they have official websites?", "Where are the cemeteries located in Latvia, and do any of them have official websites?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q39614> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q211> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"lv,en,ru\". } }"}}
{"id": "test_2190", "question": "List the birth and death dates of people whose occupation is patent inventor.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?inventorLabel ?birthDate ?deathDate WHERE {\n  ?inventor wdt:P106 wd:Q715679 .\n  ?inventor wdt:P31 wd:Q5 .\n  OPTIONAL {\n    ?inventor wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?inventor wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["Who are the patent inventors, and when were they born and died?", "Show me the biographical details (birth and death dates) of individuals known for inventing patents."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q253623> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2191", "question": "Titles and descriptions in different languages for films", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?film ?title ?description WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P1476 ?title .\n  ?film schema:description ?description .\n}\nLIMIT 8", "paraphrases": ["What are the English titles and multilingual descriptions of films on Wikidata?", "Show me the titles and descriptions in various languages for films."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . } OPTIONAL { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"en\". FILTER ( ( ( SUBSTR ( STR ( ?var2 ) ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"25\"^^<http://www.w3.org/2001/XMLSchema#integer> ) = \"string1\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var3 . } OPTIONAL { ?var1 <http://schema.org/description> ?var4 . } } LIMIT 8"}}
{"id": "test_2192", "question": "Films with images on Wikimedia Commons", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var1 ?var1Label ?var3 WHERE {\n  ?var1 wdt:P31 wd:Q11424 .\n  OPTIONAL {\n    ?var1 wdt:P18 ?var3 .\n  }\n}\nLIMIT 100", "paraphrases": ["What are some films and their associated images from Wikimedia Commons?", "Show me up to 100 films along with their labels and images from Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q24426042> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_2193", "question": "What is the United Nations Security Council resolution concerning Israel?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?resolution ?label WHERE {\n  wd:Q621230 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["Which UN Security Council resolution is most associated with Israelis?", "Can you name a key UN resolution about Israel?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q875556> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q37470> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2194", "question": "List films with English labels.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?label WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}\nORDER BY ?label\nLIMIT 200", "paraphrases": ["What are some films, and what are their English titles?", "Show me up to 200 films that have English labels, sorted alphabetically by title."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } } ORDER BY ASC( ?var1 ) LIMIT 200 OFFSET 71800"}}
{"id": "test_2195", "question": "What are some films listed in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?filmLabel WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film rdfs:label ?filmLabel .\n  FILTER(LANG(?filmLabel) = \"en\")\n}\nORDER BY ASC(?filmLabel)\nLIMIT 20", "paraphrases": ["Can you list English-language films from Wikidata?", "Show me a list of movies sorted alphabetically by title."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } } ORDER BY ASC( ?var1 ) LIMIT 200 OFFSET 78200"}}
{"id": "test_2196", "question": "What are some films listed in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P31 wd:Q11424 .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = 'en')\n}\nLIMIT 5", "paraphrases": ["Can you list the English titles of films in Wikidata?", "Show me examples of movies and their English names from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q9573440> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } }"}}
{"id": "test_2197", "question": "Image of Kay Sage using SNAC ARK ID w65x3j47", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w65x3j47\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w65x3j47?", "Show me the Wikimedia Commons image for the person with SNAC ARK ID w65x3j47."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w65x3j47\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2198", "question": "Entities created on January 1, 1997, with their English names and images.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel ?image WHERE {\n  ?item wdt:P571 \"1997-01-01T00:00:00Z\" ^^ xsd:dateTime .\n  ?item rdfs:label ?itemLabel .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["What entities were founded or created on January 1, 1997, and what are their English labels and images?", "Show me the English names and images of all things that came into existence on January 1, 1997."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P571> \"+1997-00-00T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_2199", "question": "Films in the historical fiction genre", "sparql": "SELECT ?filmLabel ?genreLabel WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P136 wd:Q1196408 . ?film rdfs:label ?filmLabel . wd:Q1196408 rdfs:label ?genreLabel . FILTER(LANG(?filmLabel) = \"en\") FILTER(LANG(?genreLabel) = \"en\") }", "paraphrases": ["What are some films that are classified as historical fiction?", "List English-language films that are instances of cinema and have the genre of historical fiction."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P136> <http://www.wikidata.org/entity/Q1196408> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2200", "question": "What are the Twitter usernames \"elonmusk\" and \"NASA\", and how many Wikipedia links do their corresponding Wikidata items have, sorted by the number of links?", "sparql": "SELECT ?item ?username (COUNT(?site) AS ?sitelinkCount) WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"elonmusk\" \"NASA\" } . ?site schema:about ?item . FILTER(STRSTARTS(STR(?site), \"https://\")) } GROUP BY ?item ?username ORDER BY ASC(?sitelinkCount)", "paraphrases": ["Show me the number of Wikipedia sitelinks for the Twitter accounts @elonmusk and @NASA, ordered from least to most.", "Which of Elon Musk or NASA has fewer Wikipedia language versions linked in Wikidata, and what are their Twitter handles?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"Erdrokan\" ) ( \"elonmusk\" ) ( \"NASA\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2201", "question": "List battles and their locations with English names.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?battle ?battleLabel ?location ?locationLabel WHERE {\n  ?battle wdt:P31 wd:Q178561 .\n  OPTIONAL {\n    ?battle wdt:P276 ?location .\n  }\n  OPTIONAL {\n    ?battle rdfs:label ?battleLabel .\n    FILTER ( LANG( ?battleLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?location rdfs:label ?locationLabel .\n    FILTER ( LANG( ?locationLabel ) = \"en\" )\n  }\n}\nLIMIT 100", "paraphrases": ["What are some battles and where did they take place, with their English labels?", "Please provide a list of 100 battles, including their locations, with both names in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q178561> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P276> ?var2 . } } LIMIT 100"}}
{"id": "test_2202", "question": "Films and their English titles", "sparql": "SELECT ?film ?filmLabel WHERE { ?film wdt:P31 wd:Q11424 . ?film rdfs:label ?filmLabel . FILTER(LANG(?filmLabel) = \"en\") }", "paraphrases": ["What are the English titles of all films in Wikidata?", "List all films along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_2203", "question": "Common superclass between Jim Caldwell and United States", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?commonClass WHERE {\n  wd:Q3808317 wdt:P31 ?jcClass .\n  wd:Q30 wdt:P31 ?usClass .\n  ?jcClass wdt:P279 * ?commonClass .\n  ?usClass wdt:P279 * ?commonClass .\n}\nORDER BY ?commonClass", "paraphrases": ["What categories do both Jim Caldwell and the United States belong to through their class hierarchies?", "Show me the shared ontological categories that include both Jim Caldwell and the United States via their class memberships."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3808317> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q30> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2204", "question": "What is the Russian title of the film Ace Ventura: Pet Detective?", "sparql": "SELECT ?filmLabel ?image WHERE { wd:Q340138 rdfs:label ?filmLabel . OPTIONAL { wd:Q340138 wdt:P18 ?image . } FILTER (LANG(?filmLabel) = \"ru\") }", "paraphrases": ["Can you show me the Russian label and image for the movie Ace Ventura: Pet Detective?", "Is there a Russian-language name for Ace Ventura: Pet Detective, and does it have an official image?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4Label ?var5 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { BIND ( <http://www.wikidata.org/entity/Q340138> AS ?var3 ). BIND ( \"N/A\" AS ?var1 ). BIND ( \"identity\"@ru AS ?var2Label ). } UNION { <http://www.wikidata.org/entity/Q340138> ?var1 ?var3 . ?var6 ?var7 ?var1 . ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var5 . } FILTER ( ( ( LANG ( ?var4Label ) = \"ru\" ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = \"ru\" ) ) ) . } ORDER BY ASC( ?var1 )ASC( ?var3 ) LIMIT 1000"}}
{"id": "test_2205", "question": "Events that occurred in 1923", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?event ?eventLabel ?date WHERE {\n  ?event ( wdt:P31 / wdt:P279 * ) wd:Q1656682 .\n  ?event wdt:P585 ?date .\n  FILTER ( YEAR( ?date ) = 1923 ) OPTIONAL {\n    ?event rdfs:label ?eventLabel .\n    FILTER ( LANG( ?eventLabel ) = \"en\" )\n  }\n}\nLIMIT 10", "paraphrases": ["What events took place in the year 1923?", "List English-labeled events from 1923."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1190554> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P585> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P580> ?var2 . } BIND ( STR ( YEAR ( ?var2 ) ) AS ?var3 ). FILTER ( ( BOUND ( ?var2 ) && ( DATATYPE ( ?var2 ) = <http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( BOUND ( ?var3 ) ) ) . FILTER ( ( ( ?var3 = \"1923\"^^<http://www.w3.org/2001/XMLSchema#string> ) ) ) . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } } LIMIT 10"}}
{"id": "test_2206", "question": "Which organizations or people have Twitter usernames \"Apple\", \"Google\", or \"Ivanhercaz\"?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"Apple\" \"Google\" \"Ivanhercaz\" } } ORDER BY ?username", "paraphrases": ["Who are the entities on Wikidata with the Twitter usernames Apple, Google, or Ivanhercaz?", "Show me the Wikidata items that are associated with the Twitter handles Apple, Google, and Ivanhercaz."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"DBpedia\" ) ( \"iAmIzundu\" ) ( \"firstdata\" ) ( \"OpenLink\" ) ( \"string1\" ) ( \"kvistgaard\" ) ( \"IvanHerCaz\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2207", "question": "Self-citations and external citations of Aaron Clauset's works by year", "sparql": "SELECT ?publicationYear (COUNT(DISTINCT ?citingWork) AS ?citationCount) ?citationType WHERE { ?citedWork wdt:P50 wd:Q25202462 . ?citingWork wdt:P2860 ?citedWork . ?citingWork wdt:P577 ?pubDate . BIND(STR(YEAR(?pubDate)) AS ?publicationYear) BIND(IF(EXISTS { ?citingWork wdt:P50 wd:Q25202462 }, \"self-citation\", \"external-citation\") AS ?citationType) } GROUP BY ?publicationYear ?citationType ORDER BY DESC(?publicationYear)", "paraphrases": ["How many times have Aaron Clauset's works been cited each year, and how many of those citations are from his own publications?", "Show me the number of citations to Aaron Clauset's publications, broken down by year and whether they are self-citations or from other authors."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q25202462> . } , \"string1\", \"string2\" ) AS ?var4 ). BIND ( STR ( YEAR ( ?var5 ) ) AS ?var1 ). ?var6 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q25202462> . ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var6 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var5 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_2208", "question": "Which organizations have Twitter/X usernames \"Google\", \"Wikipedia\", or \"librarycongress\"?", "sparql": "SELECT ?entity ?username WHERE { ?entity wdt:P2002 ?username . VALUES ?username { \"Wikipedia\" \"librarycongress\" \"Google\" } } ORDER BY ASC (?username)", "paraphrases": ["What entities on Wikidata are associated with the Twitter/X usernames \"Google\", \"Wikipedia\", or \"librarycongress\"?", "List the entities that use \"Google\", \"Wikipedia\", or \"librarycongress\" as their Twitter/X username, sorted alphabetically by username."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2209", "question": "What properties have June 24, 2016 as a value?", "sparql": "SELECT DISTINCT ?property WHERE { ?item ?property wd:Q24717652 . }", "paraphrases": ["Which Wikidata properties are associated with the date June 24, 2016?", "List all properties in Wikidata that use June 24, 2016 as a value."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 <http://www.wikidata.org/entity/Q6422240> ? <http://www.wikidata.org/entity/Q24717652> . ?var2 ?var1 ?var3 . <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var4 <http://wikiba.se/ontology#directClaim> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2210", "question": "What is the most specific common category that both The Verge and Amazon belong to, based on their class hierarchy?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?ancestor ( SUM( ?dist ) + 2 AS ?sumDist ) WHERE {\n  {\n    SELECT ?c1 ?ancestor ( COUNT( ?mid ) AS ?dist ) WHERE {\n      wd:Q2155442 wdt:P31 ?c1 .\n      ?c1 wdt:P279 * ?mid .\n      ?mid wdt:P279 + ?ancestor .\n    }\n    GROUP BY ?c1 ?ancestor\n  } UNION {\n    SELECT ?c2 ?ancestor ( COUNT( ?mid ) AS ?dist ) WHERE {\n      wd:Q3884 wdt:P31 ?c2 .\n      ?c2 wdt:P279 * ?mid .\n      ?mid wdt:P279 + ?ancestor .\n    }\n    GROUP BY ?c2 ?ancestor\n  }\n}\nGROUP BY ?ancestor\nORDER BY ASC ( ?sumDist )\nLIMIT 1", "paraphrases": ["Which enterprise class is the closest common ancestor of The Verge and Amazon in the Wikidata ontology?", "Find the entity that is the least common ancestor of The Verge and Amazon, minimizing the sum of subclass distances from their respective types."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2155442> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3884> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2211", "question": "What are the English labels and descriptions of properties used to describe the film \"The Grump\"?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?property ?propertyLabel ?propertyDescription WHERE {\n  wd:Q17382556 ?prop ?value .\n  ?prop ^ wikibase:directClaim ?property .\n  ?property a wikibase:Property .\n  ?property rdfs:label ?propertyLabel .\n  ?property schema:description ?propertyDescription .\n  FILTER(LANG(?propertyLabel) = \"en\")\n  FILTER(LANG(?propertyDescription) = \"en\")\n}\nLIMIT 100", "paraphrases": ["List all properties (with their English names and descriptions) that are associated with the 2014 Finnish movie \"The Grump\".", "Show me the English labels and descriptions of all Wikidata properties that have values for the film \"The Grump\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q17382556> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_2212", "question": "What is the most specific common superclass of Japan and Natalie Wood in the Wikidata taxonomy, based on their types?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonClass ( ( ?distFromJapanType + ?distFromNatalieType ) AS ?totalDistance ) WHERE {\n  wd:Q3624078 wdt:P279 * ?commonClass .\n  wd:Q5 wdt:P279 * ?commonClass .\n  FILTER ( ?commonClass != wd:Q3624078 && ?commonClass != wd:Q5 ) {\n    SELECT ?commonClass ( COUNT( ?mid ) AS ?distFromJapanType ) WHERE {\n      wd:Q3624078 wdt:P279 * ?mid .\n      ?mid wdt:P279 * ?commonClass .\n      FILTER ( ?mid != ?commonClass )\n    }\n    GROUP BY ?commonClass\n  }\n  {\n    SELECT ?commonClass ( COUNT( ?mid ) AS ?distFromNatalieType ) WHERE {\n      wd:Q5 wdt:P279 * ?mid .\n      ?mid wdt:P279 * ?commonClass .\n      FILTER ( ?mid != ?commonClass )\n    }\n    GROUP BY ?commonClass\n  }\n}\nORDER BY ASC ( ?totalDistance )\nLIMIT 1", "paraphrases": ["Which entity class is the closest common ancestor to both the type of Japan (island country) and the type of Natalie Wood (human), measured by the sum of subclass distances?", "Find the subclass that minimizes the total number of steps from both \"island country\" and \"human\" in the Wikidata hierarchy, and return the one with the smallest combined distance."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q180919> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q17> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2213", "question": "What are all the properties and values associated with the film Downfall, along with their labels and images?", "sparql": "SELECT ?property ?propertyLabel ?value ?valueLabel ?image WHERE { wd:Q152857 ?property ?value . ?propItem wikibase:directClaim ?property . ?propItem rdfs:label ?propertyLabel . ?value rdfs:label ?valueLabel . OPTIONAL { ?value wdt:P18 ?image . } } ORDER BY ?property ?value LIMIT 100", "paraphrases": ["Show me the details of the film Downfall, including what it's about, who was in it, and its image, with labels in any language.", "List all the statements about the movie Downfall, including the property names, object names, and its image if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4Label ?var5 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { BIND ( <http://www.wikidata.org/entity/Q152857> AS ?var3 ). BIND ( \"N/A\" AS ?var1 ). BIND ( \"identity\"@ru AS ?var2Label ). } UNION { <http://www.wikidata.org/entity/Q152857> ?var1 ?var3 . ?var6 ?var7 ?var1 . ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var5 . } FILTER ( ( ( LANG ( ?var4Label ) = \"ru\" ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = \"ru\" ) ) ) . } ORDER BY ASC( ?var1 )ASC( ?var3 ) LIMIT 1000"}}
{"id": "test_2214", "question": "What is the most specific category that both Bruce Arians and Li Peng belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonType ?label WHERE {\n  wd:Q4046340 wdt:P31 ?type1 .\n  wd:Q18301 wdt:P31 ?type2 .\n  FILTER(?type1 = ?type2)\n  BIND(?type1 AS ?commonType)\n  ?commonType rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["What do Bruce Arians and Li Peng have in common in terms of their type or classification in Wikidata?", "Which human category is shared by the American football coach Bruce Arians and the Chinese politician Li Peng?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q4046340> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q18301> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2215", "question": "Number of works citing Shaun Richardson\u2019s publications by year, distinguishing self-citations.", "sparql": "SELECT ?publication_year (COUNT(DISTINCT ?citing_work) AS ?count) ?citation_type WHERE { ?cited_work wdt:P50 wd:Q42350554 . ?citing_work wdt:P2860 ?cited_work . ?citing_work wdt:P577 ?pub_date . BIND(STR(YEAR(?pub_date)) AS ?publication_year) BIND(IF(EXISTS { ?citing_work wdt:P50 wd:Q42350554 }, \"Self-citation\", \"Citation of his work\") AS ?citation_type) } GROUP BY ?publication_year ?citation_type ORDER BY DESC(?publication_year)", "paraphrases": ["In which years were works published that cite Shaun Richardson\u2019s works, and how many of those were self-citations by him?", "Show me a breakdown of how many works cited Shaun Richardson\u2019s publications each year, and indicate whether those citing works were authored by Shaun Richardson himself."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q42350554> . } , \"string1\", \"string2\" ) AS ?var4 ). BIND ( STR ( YEAR ( ?var5 ) ) AS ?var1 ). ?var6 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q42350554> . ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var6 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var5 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_2216", "question": "Image of the person with SNAC ARK ID w6384xgg", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6384xgg\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Bernard L. Austin in Wikidata?", "Can you show me the Wikimedia Commons image for the individual identified by the SNAC ARK ID w6384xgg?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6384xgg\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2217", "question": "What are all the properties and their values for the film *Hitch* (2005), along with their English labels?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?propertyLabel ?value ?image WHERE {\n  wd:Q943338 ?property ?value .\n  BIND( IRI( REPLACE( STR( ?property ) , \"http://www.wikidata.org/prop/\" , \"http://www.wikidata.org/entity/\" ) ) AS ?propertyItem ) .\n  ?propertyItem rdfs:label ?propertyLabel .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" ) OPTIONAL {\n    wd:Q943338 wdt:P18 ?image .\n  }\n}\nORDER BY ASC ( ?property )\nLIMIT 1000", "paraphrases": ["List all the data associated with the movie Hitch, including property names in English and its image if available.", "Show me the direct statements about the film Hitch, with property names in English, and include the movie poster if it exists."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4Label ?var5 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { BIND ( <http://www.wikidata.org/entity/Q943338> AS ?var3 ). BIND ( \"N/A\" AS ?var1 ). BIND ( \"identity\"@ru AS ?var2Label ). } UNION { <http://www.wikidata.org/entity/Q943338> ?var1 ?var3 . ?var6 ?var7 ?var1 . ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var5 . } FILTER ( ( ( LANG ( ?var4Label ) = \"ru\" ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = \"ru\" ) ) ) . } ORDER BY ASC( ?var1 )ASC( ?var3 ) LIMIT 1000"}}
{"id": "test_2218", "question": "What are all the types (categories) that films belong to, along with the films themselves?", "sparql": "SELECT ?film ?type ?typeLabel WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P31 ?type . ?type rdfs:label ?typeLabel . FILTER(LANG(?typeLabel) = \"en\") } LIMIT 100", "paraphrases": ["List films and their associated instance-of categories in English.", "Show me films and all the different kinds they are classified as in Wikidata, including subtypes like 4D film or VR experience."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } } LIMIT 100"}}
{"id": "test_2219", "question": "What is the most general category that both Moon Jae-in and Berlin belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonTopClass WHERE {\n  wd:Q21001 wdt:P31 ?type1 .\n  ?type1 wdt:P279 * ?commonTopClass .\n  FILTER NOT EXISTS {\n    ?commonTopClass wdt:P279 ?super\n  }\n  .\n  wd:Q64 wdt:P31 ?type2 .\n  ?type2 wdt:P279 * ?commonTopClass .\n  FILTER NOT EXISTS {\n    ?commonTopClass wdt:P279 ?super\n  }\n}\nLIMIT 1", "paraphrases": ["What top-level class in Wikidata includes both humans and cities like Berlin?", "Which overarching category encompasses entities as diverse as a person and a city?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q21001> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q64> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2220", "question": "What are the English and German language Wikipedia, Wikiquote, or Commons pages associated with the movie \"Trolls World Tour\" (IMDb ID: tt6587640)?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?page ?imdbId WHERE {\n  ?item wdt:P345 \"tt6587640\" .\n  ?page schema:about ?item .\n  {\n    ?page schema:inLanguage \"en\" .\n  } UNION {\n    ?page schema:inLanguage \"de\" .\n  }\n  ?item wdt:P345 ?imdbId .\n}", "paraphrases": ["Show me the language-specific pages (in English or German) linked to the IMDb entry tt6587640 for Trolls World Tour.", "For the movie with IMDb ID tt6587640, which pages on Wikipedia, Wikiquote, or Commons are available in English or German?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6587640\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2221", "question": "What are the most recently updated items on Wikidata in the past year?", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?lastModified WHERE {\n  ?item wdt:P5017 ?lastModified .\n  FILTER ( ?lastModified >= \"2023-06-01T00:00:00Z\" ^^ xsd:dateTime )\n}\nORDER BY DESC ( ?lastModified )\nLIMIT 10", "paraphrases": ["Show me items on Wikidata that were modified after June 1, 2023, along with their last update dates.", "Which Wikidata items have been updated in the last 12 months, and when were they last modified?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { { SELECT ?var1 ?var2 WHERE { ?var1 <http://schema.org/dateModified> ?var2 . } OFFSET 7000000 LIMIT 10 } FILTER ( ( ( ( NOW ( ) - ?var2 ) <= \"365\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . }"}}
{"id": "test_2222", "question": "What is the Ukrainian label and image of the film *The Hobbit: The Desolation of Smaug*, and what are its properties and values in English?", "sparql": "SELECT ?filmLabel ?image ?propertyLabel ?valueLabel WHERE { wd:Q719915 rdfs:label ?filmLabel . FILTER (LANG(?filmLabel) = \"uk\") OPTIONAL { wd:Q719915 wdt:P18 ?image . } OPTIONAL { wd:Q719915 ?property ?value . ?propertyItem wikibase:directClaim ?property . ?propertyItem rdfs:label ?propertyLabel . ?value rdfs:label ?valueLabel . FILTER (LANG(?propertyLabel) = \"en\") FILTER (LANG(?valueLabel) = \"en\") } } ORDER BY ?property LIMIT 100", "paraphrases": ["Show me the Ukrainian title of *The Hobbit: The Desolation of Smaug*, its image, and the English labels of its properties and associated values.", "List all English-labeled properties and values for the movie *The Hobbit: The Desolation of Smaug*, along with its Ukrainian title and image."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4Label ?var5 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { BIND ( <http://www.wikidata.org/entity/Q719915> AS ?var3 ). BIND ( \"N/A\" AS ?var1 ). BIND ( \"identity\"@uk AS ?var2Label ). } UNION { <http://www.wikidata.org/entity/Q719915> ?var1 ?var3 . ?var6 ?var7 ?var1 . ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var5 . } FILTER ( ( ( LANG ( ?var4Label ) = \"uk\" ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = \"uk\" ) ) ) . } ORDER BY ASC( ?var1 )ASC( ?var3 ) LIMIT 1000"}}
{"id": "test_2223", "question": "Which Wikidata items have Twitter usernames like NASA, redbull, or ORNL, sorted by number of Wikipedia links?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterHandle WHERE {\n  ?item wdt:P2002 ?twitterHandle .\n  VALUES ?twitterHandle {\n    \"la_chouet\" \"Ludovic_P_\" \"WikiMoyg\" \"Jokrates\" \"Urbanears\" \"PJanuel\" \"_ColinFay\" \"LaFTRSM\" \"aeris22\" \"Blouchtika\" \"aarontay\" \"Wikicite\" \"davywtf\" \"NASA\" \"stefan2904\" \"lavados\" \"misc0110\" \"mlqxyz\" \"josephfcox\" \"cybrum\" \"yuvalyarom\" \"Lepsyleon\" \"Catobagger\" \"labeet\" \"carlsberg\" \"redbull\" \"MaelLeHir\" \"jonassmith\" \"Maddecat\" \"MozDevNet\" \"ORNL\" \"fnielsen\" \"docarennes\" \"fagerving\" \"MetroUK\" \"Mittenzwei\" \"symac\" \"com_abes\" \"lully1804\" \"123ilcourt\" \"mart1oeil\"\n  }\n}\nORDER BY ASC ( wikibase:sitelinks )", "paraphrases": ["What are the Wikidata entities with Twitter handles such as NASA, redbull, or fnielsen, ordered by how many language versions of their Wikipedia pages they have?", "List all Wikidata items that are linked to Twitter accounts including NASA, redbull, and ORNL, and sort them by the number of Wikipedia sitelinks they have, from least to most."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"la_chouet\" ) ( \"string2\" ) ( \"string3\" ) ( \"Ludovic_P_\" ) ( \"WikiMoyg\" ) ( \"MonniauxD\" ) ( \"string4\" ) ( \"string5\" ) ( \"MateuilB\" ) ( \"gsuberland\" ) ( \"string6\" ) ( \"Jokrates\" ) ( \"Urbanears\" ) ( \"PJanuel\" ) ( \"_ColinFay\" ) ( \"string7\" ) ( \"LaFTRSM\" ) ( \"aeris22\" ) ( \"string8\" ) ( \"Blouchtika\" ) ( \"string9\" ) ( \"aarontay\" ) ( \"Wikicite\" ) ( \"wikidata\" ) ( \"davywtf\" ) ( \"string10\" ) ( \"NASA\" ) ( \"string11\" ) ( \"stefan2904\" ) ( \"lavados\" ) ( \"misc0110\" ) ( \"mlqxyz\" ) ( \"josephfcox\" ) ( \"string12\" ) ( \"cybrum\" ) ( \"yuvalyarom\" ) ( \"string13\" ) ( \"string14\" ) ( \"string15\" ) ( \"Lepsyleon\" ) ( \"Catobagger\" ) ( \"labeet\" ) ( \"carlsberg\" ) ( \"string16\" ) ( \"redbull\" ) ( \"string17\" ) ( \"MaelLeHir\" ) ( \"string18\" ) ( \"jonassmith\" ) ( \"Maddecat\" ) ( \"string19\" ) ( \"string20\" ) ( \"string21\" ) ( \"MozDevNet\" ) ( \"ORNL\" ) ( \"fnielsen\" ) ( \"string22\" ) ( \"string23\" ) ( \"docarennes\" ) ( \"fagerving\" ) ( \"MetroUK\" ) ( \"Mittenzwei\" ) ( \"string24\" ) ( \"symac\" ) ( \"com_abes\" ) ( \"lully1804\" ) ( \"123ilcourt\" ) ( \"mart1oeil\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2224", "question": "What is the most specific common superclass of humans and cities in Wikidata, and what is the total distance from each to this superclass?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestor ?label(?dist1 + ?dist2 AS ?totalDist) WHERE {\n  {\n    SELECT ?ancestor(COUNT(?mid1) AS ?dist1) WHERE {\n      wd:Q5 wdt:P279 + ?mid1 .\n      ?mid1 wdt:P279 * ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n  {\n    SELECT ?ancestor(COUNT(?mid2) AS ?dist2) WHERE {\n      wd:Q515 wdt:P279 + ?mid2 .\n      ?mid2 wdt:P279 * ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n  ?ancestor rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nORDER BY ?totalDist\nLIMIT 1", "paraphrases": ["Find the entity that is a common ancestor in the subclass hierarchy of both humans and cities, with the smallest sum of steps from each.", "Which class do both humans and cities belong to in Wikidata's taxonomy, and how many steps away is it from each?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q567> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3306> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2225", "question": "What is the most general category that both Pyongyang and Rich Dauer belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonClass WHERE {\n  wd:Q18808 wdt:P31 ?c1 .\n  ?c1 wdt:P279 * wd:Q35120 .\n  wd:Q7323233 wdt:P31 ?c2 .\n  ?c2 wdt:P279 * wd:Q35120 .\n  BIND(wd:Q35120 AS ?commonClass)\n}\nLIMIT 1", "paraphrases": ["What is the common superclass in the Wikidata ontology for the city of Pyongyang and the person Rich Dauer?", "What is the top-level entity class that includes both the human Rich Dauer and the city Pyongyang?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7323233> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q18808> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2226", "question": "What are the different types of films listed in Wikidata?", "sparql": "SELECT DISTINCT ?item WHERE { ?item wdt:P279* wd:Q11424 . }", "paraphrases": ["List all subclasses of the category \"film\" in Wikidata.", "Show me all film genres and subcategories recognized in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q726> . }"}}
{"id": "test_2227", "question": "What are the common superclass categories shared by humans and sovereign states?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonAncestor ?commonAncestorLabel WHERE {\n  wd:Q3624078 wdt:P279 * ?commonAncestor .\n  wd:Q5 wdt:P279 * ?commonAncestor .\n  ?commonAncestor rdfs:label ?commonAncestorLabel .\n  FILTER(LANG(?commonAncestorLabel) = \"en\")\n}\nORDER BY ?commonAncestor", "paraphrases": ["Which classes are both Nigeria and Matthew C. Perry classified under through their type hierarchies?", "Find the shared parent categories in Wikidata\u2019s ontology between the concept of a country and the concept of a human."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q61855> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1033> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2228", "question": "Russian labels of properties and values for the film \"Friends with Benefits\"", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?propertyLabel ?value ?valueLabel ?image WHERE {\n  wd:Q629596 ?property ?value .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?propertyLabel .\n  FILTER ( LANG( ?propertyLabel ) = \"ru\" ) .\n  ?value rdfs:label ?valueLabel .\n  FILTER ( LANG( ?valueLabel ) = \"ru\" ) .\n  OPTIONAL {\n    ?value wdt:P18 ?image\n  }\n}\nORDER BY ?property ?value\nLIMIT 100", "paraphrases": ["What are the Russian-language labels of the properties and their values associated with the film \"Friends with Benefits\"?", "Show me all properties used in the film \"Friends with Benefits\" that have Russian labels, along with their Russian-labeled values and any associated images."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4Label ?var5 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { BIND ( <http://www.wikidata.org/entity/Q629596> AS ?var3 ). BIND ( \"N/A\" AS ?var1 ). BIND ( \"identity\"@ru AS ?var2Label ). } UNION { <http://www.wikidata.org/entity/Q629596> ?var1 ?var3 . ?var6 ?var7 ?var1 . ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var5 . } FILTER ( ( ( LANG ( ?var4Label ) = \"ru\" ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = \"ru\" ) ) ) . } ORDER BY ASC( ?var1 )ASC( ?var3 ) LIMIT 1000"}}
{"id": "test_2229", "question": "What are some examples of films listed in Wikidata?", "sparql": "SELECT ?film WHERE { ?film wdt:P31 wd:Q11424 . }", "paraphrases": ["List all entities that are classified as films in Wikidata.", "Show me all items in Wikidata that are instances of the category \"film\"."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2095> . }"}}
{"id": "test_2230", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt1182921?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipedia_page WHERE {\n  ?movie wdt:P345 \"tt1182921\" .\n  ?wikipedia_page schema:about ?movie .\n  {\n    ?wikipedia_page schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipedia_page schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Can you find the Wikipedia articles in English and German about the film identified by tt1182921 on IMDb?", "Show me the Wikipedia links in English and German for the movie Ninja (IMDb: tt1182921)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1182921\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2231", "question": "Image of the person with SNAC ARK ID w6f22mrm", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6f22mrm\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6f22mrm?", "Can you show me the Wikimedia Commons image of the individual identified by the SNAC ARK ID w6f22mrm?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6f22mrm\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2232", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt2538222?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?wikipedia_page WHERE {\n  ?item wdt:P345 \"tt2538222\" .\n  ?wikipedia_page schema:about ?item .\n  {\n    ?wikipedia_page schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipedia_page schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Find the Wikipedia article in English or German about the film identified by IMDb ID tt2538222.", "Which Wikipedia pages (in English or German) are linked to the movie \"You're Killing Me Susana\" on Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2538222\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2233", "question": "What are the years and types of time qualifiers for items in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?var1 ?var2 ( YEAR( ?var3 ) AS ?var4 ) WHERE {\n  ?var1 ?var6 ?var7 .\n  ?var7 ?var2 ?var9 .\n  FILTER ( STRSTARTS( STR( ?var2 ) , \"http://www.wikidata.org/prop/qualifier/\" ) ) ?var9 wikibase:timeValue ?var3 .\n  ?var9 wikibase:timePrecision \"7\" ^^ xsd:integer .\n  ?var9 wikibase:timeCalendarModel wd:Q1985727 .\n}\nLIMIT 100000", "paraphrases": ["Show me the items along with the names of their time-based qualifiers and the corresponding years.", "Which items have time qualifiers with year precision, and what are those qualifier labels and years?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( YEAR ( ?var3 ) AS ?var4 ) WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var5 <http://www.wikidata.org/prop/qualifier/P31> <http://www.wikidata.org/entity/Q26961029> . ?var1 ?var6 ?var5 . ?var5 ?var7 ?var8 . ?var8 <http://wikiba.se/ontology#timeValue> ?var3 . ?var8 <http://wikiba.se/ontology#timePrecision> \"7\"^^<http://www.w3.org/2001/XMLSchema#integer> . ?var8 <http://wikiba.se/ontology#timeCalendarModel> <http://www.wikidata.org/entity/Q1985727> . ?var2 <http://wikiba.se/ontology#statementValue> ?var7 . ?var2 <http://wikiba.se/ontology#claim> ?var6 . } LIMIT 100000"}}
{"id": "test_2234", "question": "What are the subjects, properties, statement nodes, and start times for statements with a start time qualifier in Wikidata?", "sparql": "PREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?subject ?property ?statement ?startTime WHERE {\n  ?subject ?property ?statement .\n  ?statement pq:P580 ?startTime .\n}\nLIMIT 100", "paraphrases": ["Show me all statements that have a start time (P580) qualifier, along with their subject and property.", "Retrieve statements with their start time qualifiers, including the subject and property used in the statement."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var3 ?var4 ?var5 ?var6 WHERE { ?var1 ?var2 ?var3 . ?var3 <http://www.wikidata.org/prop/qualifier/P580> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_2235", "question": "What historical events occurred in the year 1201?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nSELECT DISTINCT ?event WHERE {\n  ?event wdt:P585 ?date .\n  FILTER(?date >= \"1201-01-01T00:00:00Z\" ^^ xsd:dateTime && ?date <= \"1201-12-31T23:59:59Z\" ^^ xsd:dateTime)\n}", "paraphrases": ["Can you list all events that took place in 1201, based on their recorded dates?", "Which entities in Wikidata are associated with a specific date in the year 1201?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P585> | <http://www.wikidata.org/prop/direct/P606> | <http://www.wikidata.org/prop/direct/P619> | <http://www.wikidata.org/prop/direct/P620> | <http://www.wikidata.org/prop/direct/P621> | <http://www.wikidata.org/prop/direct/P622> | <http://www.wikidata.org/prop/direct/P729> | <http://www.wikidata.org/prop/direct/P1191> ) ?var2 . FILTER ( ( ( ?var2 >= \"1201-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1201-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_2236", "question": "What are the calendar dates after 1929, and what are their names?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?date ?dateLabel WHERE {\n  ?date wdt:P31 wd:Q205892 .\n  ?date wdt:P585 ?dateValue .\n  FILTER(YEAR(?dateValue) > 1929)\n  .\n  ?date rdfs:label ?dateLabel .\n}", "paraphrases": ["List all named dates that occurred after 1929.", "Which specific days (like July 7, 1947) happened after 1929, and how are they labeled?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q205892> . ?var1 <http://www.wikidata.org/prop/direct/P585> ?var4 . FILTER ( ( ( YEAR ( ?var4 ) > \"1929\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_2237", "question": "What are the most frequently published journals or conference proceedings in which Keith J. Fitzpatrick-Matthews has published, and how many times has he published in each?", "sparql": "SELECT ?publication ?publicationLabel (COUNT(?work) AS ?count)\nWHERE {\n  ?work wdt:P50 wd:Q47069838 .\n  ?work wdt:P1433 ?publication .\n  ?publication rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    ?publication wdt:P1813 ?shortName .\n  }\n  BIND(COALESCE(?shortName, ?label) AS ?publicationLabel)\n}\nGROUP BY ?publication ?publicationLabel\nORDER BY DESC(?count)", "paraphrases": ["List the publications (journals, books, or conference series) where archaeologist Keith J. Fitzpatrick-Matthews has contributed, sorted by the number of his publications in each, using their English names or abbreviations.", "Which academic publications have featured the most works by Keith J. Fitzpatrick-Matthews, and how many works did he contribute to each?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q47069838> . ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1813> ?var6 . } BIND ( COALESCE ( ?var6 , ?var5Label ) AS ?var2Label ). } GROUP BY ?var1 ?var2Label ORDER BY DESC( ?var4 )"}}
{"id": "test_2238", "question": "Which Twitter accounts (martinfkde, FFCyclisme, LeTour, etc.) have the fewest Wikipedia articles?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity ?twitterHandle ( COUNT( ?page ) AS ?sitelinks ) WHERE {\n  ?entity wdt:P2002 ?twitterHandle .\n  ?page schema:about ?entity ; schema:isPartOf ?wiki .\n  FILTER ( STRSTARTS( STR( ?wiki ) , \"https://\" ) ) .\n  VALUES ?twitterHandle {\n    \"martinfkde\" \"FFCyclisme\" \"LeTour\" \"EquipeFDJ\" \"kilianj\" \"oakley\" \"sidisport\" \"_Corentin_\" \"EraudS\"\n  }\n}\nGROUP BY ?entity ?twitterHandle\nORDER BY ASC ( ?sitelinks )", "paraphrases": ["For the Twitter handles like martinfkde and FFCyclisme, which ones are associated with entities that have the least number of Wikipedia language editions?", "List the entities linked to these Twitter handles \u2014 martinfkde, FFCyclisme, LeTour, EquipeFDJ, kilianj, oakley, sidisport, _Corentin_, and EraudS \u2014 sorted by how many Wikipedia pages they have, from least to most."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"martinfkde\" ) ( \"kilianj\" ) ( \"SidiSport\" ) ( \"oakley\" ) ( \"Gotzsport\" ) ( \"string2\" ) ( \"sidisport\" ) ( \"FFCyclisme\" ) ( \"string3\" ) ( \"string4\" ) ( \"_Corentin_\" ) ( \"string5\" ) ( \"Seb91120\" ) ( \"string6\" ) ( \"EraudS\" ) ( \"string7\" ) ( \"LoicBruni\" ) ( \"EquipeFDJ\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) ( \"TrekHD\" ) ( \"LeTour\" ) ( \"string13\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2239", "question": "What is the most specific shared superclass between Nigeria and The New York Times in the Wikidata taxonomy?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonSuperclass ?label WHERE {\n  wd:Q1033 wdt:P31 ?class1 .\n  wd:Q9684 wdt:P31 ?class2 .\n  ?class1 wdt:P279 wd:Q1048835 .\n  wd:Q1048835 wdt:P279 wd:Q56061 .\n  wd:Q56061 wdt:P279 wd:Q16562419 .\n  wd:Q16562419 wdt:P279 wd:Q1063239 .\n  wd:Q1063239 wdt:P279 wd:Q7210356 .\n  wd:Q7210356 wdt:P279 wd:Q43229 .\n  ?class2 wdt:P279 wd:Q11032 .\n  wd:Q11032 wdt:P279 wd:Q43229 .\n  wd:Q43229 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["What category do both Nigeria and The New York Times belong to through their hierarchical classification?", "What is the common ancestor class in the subclass hierarchy for Nigeria and The New York Times?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1033> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q9684> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2240", "question": "What is the most specific common superclass of Pennsylvania and Panama City?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonAncestor ( ?dist1 + ?dist2 AS ?totalDistance ) WHERE {\n  {\n    SELECT ?commonAncestor ( COUNT( ?mid1 ) AS ?dist1 ) WHERE {\n      wd:Q1400 wdt:P31 ?type1 .\n      ?type1 wdt:P279 + ?mid1 .\n      ?mid1 wdt:P279 * ?commonAncestor .\n    }\n    GROUP BY ?commonAncestor\n  }\n  {\n    SELECT ?commonAncestor ( COUNT( ?mid2 ) AS ?dist2 ) WHERE {\n      wd:Q3306 wdt:P31 ?type2 .\n      ?type2 wdt:P279 + ?mid2 .\n      ?mid2 wdt:P279 * ?commonAncestor .\n    }\n    GROUP BY ?commonAncestor\n  }\n}\nORDER BY ASC ( ?totalDistance )\nLIMIT 1", "paraphrases": ["Which administrative category do both Pennsylvania and Panama City belong to through their types?", "Find the entity that is the closest common ancestor in the subclass hierarchy for the U.S. state of Pennsylvania and the city of Panama City."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1400> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3306> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2241", "question": "What entities have a statement with a date of April 11, 2017, with day-level precision or finer?", "sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var3 ?var4 [ wikibase:timeValue \"2017-04-11T00:00:00Z\"^^xsd:dateTime ; wikibase:timePrecision ?var5 ] . FILTER (?var5 > 10) . ?var1 ?var6 ?var3 . ?var2 wikibase:claim ?var6 ; wikibase:statementValue ?var4 . } LIMIT 10000", "paraphrases": ["Which properties are used in statements that have a time value on April 11, 2017?", "Show me the items and their associated date properties for events that occurred on April 11, 2017."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var3 ?var4 [ <http://wikiba.se/ontology#timeValue> \"2017-04-11T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ; <http://wikiba.se/ontology#timePrecision> ?var5 ] . FILTER ( ( ( ?var5 > \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var1 ?var6 ?var3 . ?var2 <http://wikiba.se/ontology#claim> ?var6 ; <http://wikiba.se/ontology#statementValue> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en,de,ru,fr,es,it,ja,zh\". } } LIMIT 10000"}}
{"id": "test_2242", "question": "What is the most specific category that both Christian Dior and Kim Jong belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonClass ?label WHERE {\n  wd:Q159694 wdt:P31 ?commonClass .\n  wd:Q6408963 wdt:P31 ?commonClass .\n  ?commonClass rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nLIMIT 1", "paraphrases": ["What common class do Christian Dior and Kim Jong share as instances?", "Find the shared type (category) of Christian Dior and Kim Jong."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q6408963> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q159694> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2243", "question": "What is the most specific category that both Ban Ki-moon and Rihanna belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?lca ?lcaLabel WHERE {\n  wd:Q1253 wdt:P31 ?lca .\n  wd:Q36844 wdt:P31 ?lca .\n  ?lca rdfs:label ?lcaLabel .\n  FILTER ( LANG( ?lcaLabel ) = \"en\" )\n}", "paraphrases": ["What class do Ban Ki-moon and Rihanna have in common as their direct type?", "What is the shared classification for Ban Ki-moon and Rihanna?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1253> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q36844> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2244", "question": "What class do CBS and NPR both belong to?", "sparql": "SELECT ?commonClass WHERE { wd:Q43380 wdt:P31 ?commonClass . wd:Q671510 wdt:P31 ?commonClass . }", "paraphrases": ["Which category is shared by both CBS and NPR?", "Show me the common type or category that includes both CBS and NPR."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q43380> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q671510> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2245", "question": "Lists of events with their qualifiers, such as location.", "sparql": "SELECT ?list ?statement (SAMPLE(?qualifier) AS ?qualifier_property) WHERE { { SELECT DISTINCT ?list ?statement WHERE { ?statement ps:P360 wd:Q1656682 . ?list p:P360 ?statement . } LIMIT 101 } OPTIONAL { ?statement ?qualifier ?value . ?property wikibase:qualifier ?qualifier . } } GROUP BY ?list ?statement", "paraphrases": ["Which lists contain events as their main topic, and what qualifiers (like location) are used on those event entries?", "Show me up to 101 lists of events and the qualifiers applied to each event in the list, such as where they occurred."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P360> <http://www.wikidata.org/entity/Q1656682> . ?var1 <http://www.wikidata.org/prop/P360> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_2246", "question": "Subclasses of event and their direct parent classes in Wikidata", "sparql": "SELECT ?subclass ?label ?directParent WHERE { ?subclass wdt:P279* wd:Q1656682 . OPTIONAL { ?subclass wdt:P279 ?directParent . } ?subclass rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["What are all the subclasses of \"event\" and what is their immediate parent class?", "Show me the hierarchy of events in Wikidata, listing each subclass and its direct parent, with English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q1656682> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2247", "question": "Sculptors from the UK born before 1935, not in the MSBI database", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?sculptor ?label ?birthDate ?deathDate ?url WHERE {\n  ?sculptor wdt:P106 wd:Q1281618 .\n  {\n    ?sculptor wdt:P27 wd:Q145\n  } UNION {\n    ?sculptor wdt:P20 ?deathPlace .\n    ?deathPlace wdt:P17 wd:Q145\n  } UNION {\n    ?sculptor wdt:P19 ?birthPlace .\n    ?birthPlace wdt:P17 wd:Q145\n  } MINUS {\n    ?sculptor wdt:P2914 [] .\n  }\n  OPTIONAL {\n    ?sculptor wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?sculptor wdt:P570 ?deathDate .\n  }\n  ?sculptor rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  BIND(REPLACE(str(?label) , \" \\\\(lang:en\\\\)\" , \"\") AS ?cleanLabel)\n  BIND(CONCAT(\"string1\" , REPLACE(?cleanLabel , \" \" , \"%20\") , \"string2\") AS ?url)\n  FILTER(!(BOUND(?birthDate)) || YEAR(?birthDate) < 1935)\n  FILTER(!(BOUND(?deathDate)) || YEAR(?deathDate) > 1850)\n}\nORDER BY ASC(?birthDate)", "paraphrases": ["Who are the sculptors linked to the United Kingdom through birth, death, or citizenship, born before 1935 and active after 1850, excluding those in the Mapping the Practice and Profession of Sculpture database?", "List English-named sculptors connected to the UK (by birthplace, death place, or citizenship) who were born before 1935 or have no birth date recorded, and died after 1850 or have no death date recorded, excluding those with an MSBI ID."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1281618> . { { ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q145> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P20> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q145> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var6 . ?var6 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q145> . } } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P2914> [] . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . } BIND ( CONCAT ( \"string1\", REPLACE ( STR ( ?var1Label ) , \" \", \"%20\" ) , \"string2\" ) AS ?var4 ). FILTER ( ( !( BOUND ( ?var2 ) ) || ( YEAR ( ?var2 ) < \"1935\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . FILTER ( ( !( BOUND ( ?var3 ) ) || ( YEAR ( ?var3 ) > \"1850\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } ORDER BY ASC( ?var2 )"}}
{"id": "test_2248", "question": "What is the most specific shared category between Amanda Petrusich and Donald Trump in the Wikidata ontology?", "sparql": "SELECT ?ancestor ( ( ?dist1 + ?dist2 ) AS ?totalDistance ) WHERE { { SELECT ?ancestor (COUNT(?mid) AS ?dist1) WHERE { wd:Q16199458 wdt:P31 ?class1 . ?class1 wdt:P279+ ?mid . ?mid wdt:P279* ?ancestor . } GROUP BY ?ancestor } { SELECT ?ancestor (COUNT(?mid) AS ?dist2) WHERE { wd:Q22686 wdt:P31 ?class2 . ?class2 wdt:P279+ ?mid . ?mid wdt:P279* ?ancestor . } GROUP BY ?ancestor } FILTER(?ancestor != wd:Q16199458 && ?ancestor != wd:Q22686) } ORDER BY ASC(?totalDistance) LIMIT 1", "paraphrases": ["What biological or conceptual class do Amanda Petrusich and Donald Trump both belong to, with the shortest combined path through subclass relationships?", "Find the common superclass of Amanda Petrusich and Donald Trump that minimizes the sum of their distances in the subclass hierarchy."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q16199458> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q22686> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2249", "question": "What is the most specific category that both Broadcom and Antonio Brown belong to through their types?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonSuperclass WHERE {\n  VALUES ?type1 {\n    wd:Q43229 wd:Q4830453 wd:Q6881511\n  }\n  VALUES ?type2 {\n    wd:Q5\n  }\n  ?type1 wdt:P279 + ?commonSuperclass .\n  ?type2 wdt:P279 + ?commonSuperclass .\n  FILTER(?commonSuperclass != ?type1)\n  FILTER(?commonSuperclass != ?type2)\n}\nORDER BY ?commonSuperclass\nLIMIT 1", "paraphrases": ["Find the common superclass in the Wikidata ontology that connects the organization type of Broadcom and the human type of Antonio Brown.", "Which concept is the least general category that includes both Broadcom and Antonio Brown based on their classifications?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q555925> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q4776474> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2250", "question": "Research projects that started in 2017 and ended in 2018", "sparql": "SELECT ?item ?itemLabel ?startTime ?endTime WHERE { ?item wdt:P580 ?startTime ; wdt:P582 ?endTime . FILTER ( ?startTime >= \"2017-01-01T00:00:00\"^^xsd:dateTime && ?startTime < \"2018-01-01T00:00:00\"^^xsd:dateTime && ?endTime >= \"2018-01-01T00:00:00\"^^xsd:dateTime && ?endTime < \"2019-01-01T00:00:00\"^^xsd:dateTime ) OPTIONAL { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } }", "paraphrases": ["Which academic studies began in 2017 and concluded in 2018?", "List the names and time periods of projects that were active between 2017 and 2018, starting in 2017 and ending in 2018."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P580> ?var2 ; <http://www.wikidata.org/prop/direct/P582> ?var3 . FILTER ( ( ( \"2017-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> <= ?var2 ) && ( ?var2 < \"2018-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( \"2018-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> <= ?var3 ) && ( ?var3 < \"2019-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_2251", "question": "Cities named Troms\u00f8 and their countries, excluding former states.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?city ?cityLabel ?country ?countryLabel WHERE {\n  ?city ( wdt:P31 / wdt:P279 * ) wd:Q515 ; wdt:P17 ?country ; rdfs:label ?cityLabel .\n  FILTER NOT EXISTS {\n    ?country wdt:P31 wd:Q3024240 .\n  }\n  FILTER ( CONTAINS( LCASE( ?cityLabel ) , \"troms\u00f8\" ) ) .\n  ?country rdfs:label ?countryLabel .\n}", "paraphrases": ["Which cities named Troms\u00f8 are located in current countries, and what are those countries?", "List all cities called Troms\u00f8 along with their sovereign countries, making sure the countries are not defunct."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> ; <http://www.wikidata.org/prop/direct/P17> ?var2 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( NOT EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3024240> . } ) ) . FILTER ( ( REGEX ( ?var1Label , \"\bTromso\b\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } }"}}
{"id": "test_2252", "question": "Norwegian labels for Baden-Baden, Pforzheim, Moers, Miskolc, Tren\u010d\u00edn, Pova\u017esk\u00e1 Bystrica, Verdun, Saverne, Chalon-sur-Sa\u00f4ne, and Bourg-en-Bresse.", "sparql": "SELECT ?city ?norwegianLabel WHERE { VALUES ?city { wd:Q4100 wd:Q3046 wd:Q3132 wd:Q102397 wd:Q145002 wd:Q319787 wd:Q154748 wd:Q22741 wd:Q203645 wd:Q133069 } OPTIONAL { ?city rdfs:label ?norwegianLabel . FILTER (LANG(?norwegianLabel) = \"no\") } }", "paraphrases": ["Do any of the cities Baden-Baden, Pforzheim, Moers, Miskolc, Tren\u010d\u00edn, Pova\u017esk\u00e1 Bystrica, Verdun, Saverne, Chalon-sur-Sa\u00f4ne, or Bourg-en-Bresse have Norwegian-language labels on Wikidata?", "Show me the Norwegian labels for these European cities: Baden-Baden, Pforzheim, Moers, Miskolc, Tren\u010d\u00edn, Pova\u017esk\u00e1 Bystrica, Verdun, Saverne, Chalon-sur-Sa\u00f4ne, and Bourg-en-Bresse."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q4100> ) ( <http://www.wikidata.org/entity/Q3046> ) ( <http://www.wikidata.org/entity/Q3132> ) ( <http://www.wikidata.org/entity/Q102397> ) ( <http://www.wikidata.org/entity/Q145002> ) ( <http://www.wikidata.org/entity/Q319787> ) ( <http://www.wikidata.org/entity/Q154748> ) ( <http://www.wikidata.org/entity/Q22741> ) ( <http://www.wikidata.org/entity/Q133069> ) ( <http://www.wikidata.org/entity/Q203645> ) } BIND ( ?var3 AS ?var1 ). OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"no\" ) ) ) . } }"}}
{"id": "test_2253", "question": "What journals and conference proceedings has Trine Julie Abrahamsen published in, and how many works has she published in each?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?publication ?publicationLabel(COUNT(?work) AS ?count) WHERE {\n  ?work wdt:P50 wd:Q28778166 .\n  ?work wdt:P1433 ?publication .\n  ?publication rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    ?publication wdt:P1813 ?shortName .\n  }\n  BIND(COALESCE(?shortName , ?label) AS ?publicationLabel)\n}\nGROUP BY ?publication ?publicationLabel\nORDER BY DESC(?count)", "paraphrases": ["List the publication venues (with abbreviations if available) where Trine Julie Abrahamsen has published, sorted by the number of her publications in descending order.", "Which publications have the most papers by Trine Julie Abrahamsen, and what are their full names or abbreviations?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q28778166> . ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1813> ?var6 . } BIND ( COALESCE ( ?var6 , ?var5Label ) AS ?var2Label ). } GROUP BY ?var1 ?var2Label ORDER BY DESC( ?var4 )"}}
{"id": "test_2254", "question": "What are the different types of films?", "sparql": "SELECT ?filmType WHERE { ?filmType wdt:P279* wd:Q11424 . }", "paraphrases": ["Can you list all the subclasses of film, such as animated film or documentary?", "Show me all categories of cinematic works that fall under the broader category of film."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q134594> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q17537576> . }"}}
{"id": "test_2255", "question": "X usernames \"aharoni\" and \"EvoMRI\", ordered by number of Wikipedia language editions", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?username(COUNT(?page) AS ?sitelinkCount) WHERE {\n  VALUES(?item ?username) {(wd:Q46404612 \"aharoni\")(wd:Q20895785 \"EvoMRI\")\n  }\n  .\n  ?page schema:about ?item .\n  FILTER(STRSTARTS(STR(?page) , \"https://\"))\n}\nGROUP BY ?item ?username\nORDER BY ASC(?sitelinkCount)", "paraphrases": ["Which of the X (Twitter) users \"aharoni\" and \"EvoMRI\" has fewer Wikipedia language editions linked to their Wikidata item?", "Show me the X usernames \"aharoni\" and \"EvoMRI\" along with how many Wikipedia pages are linked to each, sorted by the least linked first."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"aharoni\" ) ( \"EvoMRI\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2256", "question": "What is the most specific category that both Samsung Electronics and the Interior Ministry belong to?", "sparql": "SELECT ?commonClass ?label WHERE {\n  wd:Q20718 wdt:P31 ?commonClass .\n  wd:Q6589202 wdt:P279* ?commonClass .\n  OPTIONAL { ?commonClass rdfs:label ?label . FILTER(LANG(?label) = \"en\") }\n  FILTER(?commonClass != wd:Q20718 && ?commonClass != wd:Q6589202)\n} ORDER BY ASC(?commonClass) LIMIT 1", "paraphrases": ["What is the common superclass of Samsung Electronics and the Interior Ministry in Wikidata\u2019s taxonomy?", "Which organizational category includes both Samsung Electronics (as an instance) and the Interior Ministry (as a subclass)?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q6589202> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q20718> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2257", "question": "What are the major cities in Denmark and their geographic coordinates?", "sparql": "SELECT DISTINCT ?city ?coordinates WHERE { ?city wdt:P17 wd:Q35 ; wdt:P625 ?coordinates ; wdt:P31 wd:Q515 . }", "paraphrases": ["Can you list the cities in Denmark along with their latitude and longitude?", "Show me the locations of all cities in Denmark."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q200250> . ?var1 ?var3 <http://www.wikidata.org/entity/Q35> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . }"}}
{"id": "test_2258", "question": "Items that have an end time in Wikidata.", "sparql": "SELECT ?item WHERE { ?item wdt:P582 ?endTime . }", "paraphrases": ["What entities in Wikidata have ceased to exist or are no longer active?", "List all items in Wikidata that have a defined end date, such as discontinued TV shows, defunct organizations, or ended events."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P582> ?var2 . }"}}
{"id": "test_2259", "question": "Events and their subclasses in English", "sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 (wdt:P31/wdt:P279*) wd:Q1656682 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") . FILTER(STRSTARTS(STR(?var1), \"http://www.wikidata.org/entity/Q\")) }", "paraphrases": ["What are all the events and event types listed in English on Wikidata?", "Give me a list of all events (including subtypes) that have English labels."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1656682> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P585> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P580> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P582> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P276> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var9 . } } GROUP BY ?var1"}}
{"id": "test_2260", "question": "Engravers who died between 1501 and 1599, including their birth and death places with coordinates.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nSELECT DISTINCT ?engraver ?engraverLabel ?birthDate ?deathDate ?birthPlace ?birthPlaceLabel ?deathPlace ?deathPlaceLabel ( CONCAT ( STR( ?birthLat ) , \", \" , STR( ?birthLon ) ) AS ?birthCoordinates ) ( CONCAT ( STR( ?deathLat ) , \", \" , STR( ?deathLon ) ) AS ?deathCoordinates ) WHERE {\n  ?engraver wdt:P106 wd:Q329439 ; wdt:P569 ?birthDate ; wdt:P570 ?deathDate ; wdt:P19 ?birthPlace ; wdt:P20 ?deathPlace .\n  ?birthPlace p:P625 ?birthStmt .\n  ?birthStmt psv:P625 ?birthCoordNode .\n  ?birthCoordNode wikibase:geoLatitude ?birthLat ; wikibase:geoLongitude ?birthLon .\n  ?deathPlace p:P625 ?deathStmt .\n  ?deathStmt psv:P625 ?deathCoordNode .\n  ?deathCoordNode wikibase:geoLatitude ?deathLat ; wikibase:geoLongitude ?deathLon .\n  FILTER ( YEAR( ?deathDate ) >= 1501 && YEAR( ?deathDate ) <= 1599 ) ?engraver rdfs:label ?engraverLabel .\n  ?birthPlace rdfs:label ?birthPlaceLabel .\n  ?deathPlace rdfs:label ?deathPlaceLabel .\n  FILTER ( LANG( ?engraverLabel ) = \"en\" ) FILTER ( LANG( ?birthPlaceLabel ) = \"en\" ) FILTER ( LANG( ?deathPlaceLabel ) = \"en\" )\n}\nLIMIT 10", "paraphrases": ["Who were the engravers that died in the 16th century, and where were they born and died? Include the geographic coordinates of those locations.", "List engravers from the 1500s with their dates of birth and death, along with the names and GPS coordinates of their birth and death places."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4Label ( CONCAT ( STR ( ?var5 ) , \", \", STR ( ?var6 ) ) AS ?var7 ) ?var8Label ( CONCAT ( STR ( ?var9 ) , \", \", STR ( ?var10 ) ) AS ?var11 ) WHERE { BIND ( YEAR ( ?var12 ) AS ?var13 ). ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q329439> ; ( <http://www.wikidata.org/prop/P570> / <http://www.wikidata.org/prop/statement/value/P570> ) [ <http://wikiba.se/ontology#timeValue> ?var12 ; <http://wikiba.se/ontology#timePrecision> ?var14 ] . FILTER ( ( ( \"1500-12-31\"^^<http://www.w3.org/2001/XMLSchema#dateTime> < ?var12 ) && ( ?var12 < \"1600-00-00\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . ?var4 <http://www.wikidata.org/prop/direct/P625> ?var15 . ?var4 <http://www.wikidata.org/prop/P625> ?var16 . ?var16 <http://www.wikidata.org/prop/statement/value/P625> ?var17 . ?var17 <http://wikiba.se/ontology#geoLatitude> ?var5 . ?var17 <http://wikiba.se/ontology#geoLongitude> ?var6 . ?var1 <http://www.wikidata.org/prop/direct/P20> ? ?var8 . ?var8 <http://www.wikidata.org/prop/direct/P625> ?var18 . ?var8 <http://www.wikidata.org/prop/P625> ?var19 . ?var19 <http://www.wikidata.org/prop/statement/value/P625> ?var20 . ?var20 <http://wikiba.se/ontology#geoLatitude> ?var9 . ?var20 <http://wikiba.se/ontology#geoLongitude> ?var10 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } } LIMIT 10"}}
{"id": "test_2261", "question": "What is the most specific category that both countries and humans belong to?", "sparql": "SELECT ?commonAncestor ?commonAncestorLabel WHERE { wd:Q6256 wdt:P279* ?commonAncestor . wd:Q5 wdt:P279* ?commonAncestor . ?commonAncestor rdfs:label ?commonAncestorLabel . FILTER(LANG(?commonAncestorLabel) = \"en\") } ORDER BY ?commonAncestorLabel LIMIT 1", "paraphrases": ["What is the lowest common superclass of a human and a country in Wikidata\u2019s ontology?", "What ontological category do Algeria and Fran\u00e7ois Hollande share through their types?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q262> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q157> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2262", "question": "What is the most specific category that both Ban Ki-moon and Elon Musk belong to?", "sparql": "SELECT ?ancestor ?total ?label WHERE { { SELECT ?ancestor1 (COUNT(?mid) AS ?dist1) WHERE { wd:Q1253 wdt:P31 ?type1 . ?type1 wdt:P279* ?mid . ?mid wdt:P279* ?ancestor1 . } GROUP BY ?ancestor1 } { SELECT ?ancestor2 (COUNT(?mid) AS ?dist2) WHERE { wd:Q317521 wdt:P31 ?type2 . ?type2 wdt:P279* ?mid . ?mid wdt:P279* ?ancestor2 . } GROUP BY ?ancestor2 } FILTER(?ancestor1 = ?ancestor2) BIND(?ancestor1 AS ?ancestor) BIND(?dist1 + ?dist2 AS ?total) ?ancestor rdfs:label ?label . FILTER(LANG(?label) = \"en\") } ORDER BY ASC(?total) LIMIT 1", "paraphrases": ["Which human concept is closest to both Ban Ki-moon and Elon Musk in the Wikidata taxonomy?", "Find the common ancestor class with the shortest total path from Ban Ki-moon and Elon Musk in the subclass hierarchy."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1253> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q317521> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2263", "question": "Which Twitter accounts (Malala, NHM_London, wes1919, hannahdev, aaas) have the most Wikipedia sitelinks?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?handle ( COUNT( ?link ) AS ?sitelinkCount ) WHERE {\n  ?item wdt:P2002 ?handle .\n  ?link schema:about ?item ; schema:isPartOf ?site .\n  VALUES ( ?handle ) {\n    ( \"Malala\" ) ( \"NHM_London\" ) ( \"wes1919\" ) ( \"hannahdev\" ) ( \"aaas\" )\n  }\n}\nGROUP BY ?item ?handle\nORDER BY DESC ( ?sitelinkCount )", "paraphrases": ["How many Wikipedia language editions are linked to the official Twitter accounts of Malala Yousafzai, the Natural History Museum London, the Women's Engineering Society, Hannah Devlin, and the AAAS?", "List the Twitter handles of Malala, NHM_London, wes1919, hannahdev, and aaas, sorted by how many Wikipedia language versions link to their respective Wikidata items."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"wes1919\" ) ( \"string2\" ) ( \"string3\" ) ( \"Malala\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"hannahdev\" ) ( \"BirdgirlUK\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"StateIVLP\" ) ( \"sddconf\" ) ( \"string11\" ) ( \"string12\" ) ( \"EDFpulse\" ) ( \"FDMGroup\" ) ( \"string13\" ) ( \"string14\" ) ( \"string15\" ) ( \"string16\" ) ( \"string17\" ) ( \"skdh\" ) ( \"gizmodo\" ) ( \"string18\" ) ( \"string19\" ) ( \"NHM_London\" ) ( \"string20\" ) ( \"string21\" ) ( \"string22\" ) ( \"string23\" ) ( \"string24\" ) ( \"string25\" ) ( \"string26\" ) ( \"sheencr\" ) ( \"string27\" ) ( \"AAAS\" ) ( \"string28\" ) ( \"string29\" ) ( \"string30\" ) ( \"string31\" ) ( \"string32\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2264", "question": "What is the most specific category that both Hugh Jackman and Jim Mattis belong to?", "sparql": "SELECT ?class WHERE { wd:Q129591 wdt:P31 ?class . wd:Q267902 wdt:P31 ?class . FILTER NOT EXISTS { ?class2 wdt:P279 ?class . wd:Q129591 wdt:P31 ?class2 . wd:Q267902 wdt:P31 ?class2 . } } LIMIT 1", "paraphrases": ["What do Hugh Jackman and Jim Mattis have in common in terms of their Wikidata classification?", "What is the lowest-level class in the Wikidata taxonomy that includes both the actor Hugh Jackman and the general Jim Mattis?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q129591> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q267902> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2265", "question": "Historical events that started between 6 and 16 AD and ended between 16 and 26 AD.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nSELECT DISTINCT ?item WHERE {\n  ?item wdt:P580 ?startTime .\n  ?item wdt:P582 ?endTime .\n  FILTER(?startTime >= \"0006-01-01T00:00:00Z\" ^^ xsd:dateTime && ?startTime <= \"0016-12-31T23:59:59Z\" ^^ xsd:dateTime)\n  FILTER(?endTime >= \"0016-01-01T00:00:00Z\" ^^ xsd:dateTime && ?endTime <= \"0026-12-31T23:59:59Z\" ^^ xsd:dateTime)\n}", "paraphrases": ["Which historical events began in the early 1st century (6\u201316 AD) and ended in the following decade (16\u201326 AD)?", "List entities (such as events or offices) that were active from 6 AD to 16 AD and ceased between 16 AD and 26 AD."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P580> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P582> ?var3 . FILTER ( ( ( ?var2 >= \"6-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"16-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var3 >= \"16-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var3 <= \"26-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_2266", "question": "National parks in Norway with coordinates and Norwegian Wikipedia links", "sparql": "SELECT DISTINCT ?park ?constant1 ?constant2 ?parkLabel ?wikipediaLink ?lat ?lon WHERE { ?park wdt:P31 wd:Q46169 . ?park wdt:P17 wd:Q20 . ?park (p:P625/psv:P625) ?coord . ?coord wikibase:geoLatitude ?lat ; wikibase:geoLongitude ?lon . OPTIONAL { ?wikipediaPage schema:about ?park ; schema:inLanguage \"nb\" ; schema:isPartOf <https://no.wikipedia.org/> . BIND( SUBSTR( STR(?wikipediaPage), 31 ) AS ?pageTitle ) . BIND( REPLACE( ?pageTitle, \"_\", \" \" ) AS ?titleWithSpaces ) . BIND( CONCAT( \"[[\", ?titleWithSpaces, \"]]\" ) AS ?wikipediaLink ) } ?park rdfs:label ?parkLabel . FILTER( LANG(?parkLabel) = \"en\" ) BIND( \"0.1\"^^xsd:decimal AS ?constant1 ) BIND( \"#ff0000\" AS ?constant2 ) }", "paraphrases": ["What are the national parks in Norway, their geographic coordinates, and their Norwegian Wikipedia page titles?", "List all national parks in Norway, including their latitude and longitude, English names, and links to their Norwegian Wikipedia articles."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ( \"0.1\"^^<http://www.w3.org/2001/XMLSchema#decimal> AS ?var2 )( \"#ff0000\" AS ?var3 )( ?var4Label AS ?var5 )( CONCAT ( \"[[\", REPLACE ( <http://wikiba.se/ontology#decodeUri> ( SUBSTR ( STR ( ?var6 ) ,\"31\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"500\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) , \"_\", \"_\" ) , \"]]\" ) AS ?var7 ) ?var8 ?var9 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q46169> . } { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q20> . } { ?var1 ( <http://www.wikidata.org/prop/P625> / <http://www.wikidata.org/prop/statement/value/P625> ) ?var10 . ?var10 <http://wikiba.se/ontology#geoLatitude> ?var8 ; <http://wikiba.se/ontology#geoLongitude> ?var9 . } OPTIONAL { BIND ( REPLACE ( <http://wikiba.se/ontology#decodeUri> ( SUBSTR ( STR ( ?var6 ) ,\"31\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"500\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) , \"_\", \" \" ) AS ?var11 ). ?var6 <http://schema.org/about> ?var1 . ?var6 <http://schema.org/inLanguage> \"nb\". } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nb,en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . } }"}}
{"id": "test_2267", "question": "Historical events that began between 1652 and 1662 and ended between 1662 and 1672.", "sparql": "SELECT DISTINCT ?event WHERE { ?event wdt:P580 ?startTime . ?event wdt:P582 ?endTime . FILTER ( ?startTime >= \"1652-01-01T00:00:00Z\"^^xsd:dateTime && ?startTime <= \"1662-12-31T23:59:59Z\"^^xsd:dateTime ) FILTER ( ?endTime >= \"1662-01-01T00:00:00Z\"^^xsd:dateTime && ?endTime <= \"1672-12-31T23:59:59Z\"^^xsd:dateTime ) }", "paraphrases": ["Which historical events started in the early to mid-17th century (1652\u20131662) and concluded in the following decade (1662\u20131672)?", "Show me all documented events from Wikidata that were active between 1652 and 1672, with a start date in the first decade and an end date in the second decade."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P580> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P582> ?var3 . FILTER ( ( ( ?var2 >= \"1652-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1662-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var3 >= \"1662-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var3 <= \"1672-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_2268", "question": "List all national parks and nature reserves in Norway with their English labels, a constant value of 0.1, a red color code, and their Norwegian Wikipedia page titles.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?park ?constant_decimal ?color ?parkLabel ?wikipedia_title WHERE {\n  {\n    ?park wdt:P31 wd:Q179049 .\n  } UNION {\n    ?park wdt:P31 wd:Q46169 .\n  }\n  ?park wdt:P17 wd:Q20 .\n  OPTIONAL {\n    ?wikipedia_article schema:about ?park ; schema:inLanguage \"nb\" .\n    BIND( SUBSTR( STR( ?wikipedia_article ) , 31 , 500 ) AS ?wikipedia_title )\n  }\n  BIND( \"0.1\" ^^ xsd:decimal AS ?constant_decimal ) BIND( \"#ff0000\" AS ?color ) ?park rdfs:label ?parkLabel .\n  FILTER ( LANG( ?parkLabel ) = \"en\" )\n}\nORDER BY ASC ( ?parkLabel )", "paraphrases": ["What are the national parks and nature reserves in Norway, and what are their English names, a constant decimal of 0.1, the color red, and their corresponding Norwegian Wikipedia article titles?", "Please provide a list of all nature reserves and national parks located in Norway, including their English labels, the constant value 0.1, the hex color #ff0000, and the titles of their Norwegian Wikipedia pages."], "info": {"raw_sparql": "SELECT ?var1 ( \"0.1\"^^<http://www.w3.org/2001/XMLSchema#decimal> AS ?var2 )( \"#ff0000\" AS ?var3 )( ?var4Label AS ?var5 )( CONCAT ( \"[[\", SUBSTR ( STR ( ?var6 ) ,\"31\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"500\"^^<http://www.w3.org/2001/XMLSchema#integer> ) , \"]]\" ) AS ?var7 ) WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q179049> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q46169> . } { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q20> . } { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q585> . } OPTIONAL { ?var6 <http://schema.org/about> ?var1 . ?var6 <http://schema.org/inLanguage> \"nb\". } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nb,en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . } } ORDER BY ASC( ?var5 )"}}
{"id": "test_2269", "question": "List places in Oslo without images on Wikimedia Commons and their coordinates.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?location ?itemLabel WHERE {\n  ?item wdt:P131 ?adminArea .\n  ?adminArea wdt:P131 * wd:Q585 .\n  ?item wdt:P625 ?location .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  FILTER ( NOT EXISTS {\n    ?item wdt:P31 wd:Q18333556\n  }\n  ) .\n  FILTER ( ! BOUND( ?image ) ) .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["What are the names and locations of places in Oslo that don\u2019t have an associated image on Wikimedia Commons?", "Show me all geolocated entities in Oslo\u2019s administrative areas that lack images and have English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q585> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . } FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q18333556> . } ) ) . FILTER ( ( !( BOUND ( ?var4 ) ) ) ) . }"}}
{"id": "test_2270", "question": "Subclasses of national park", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subclass ?subclassLabel WHERE {\n  ?subclass wdt:P279 wd:Q46169 .\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER ( LANG( ?subclassLabel ) = \"en\" )\n}\nORDER BY ?subclassLabel\nLIMIT 101", "paraphrases": ["What are some examples of places that are subclasses of national parks?", "List the English labels of all entities that are direct subclasses of national park."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P279> <http://www.wikidata.org/entity/Q46169> . ?var1 <http://www.wikidata.org/prop/P279> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_2271", "question": "What class do Uma Thurman and Thane Maynard both belong to?", "sparql": "SELECT ?class WHERE { wd:Q125017 wdt:P31 ?class . wd:Q7710240 wdt:P31 ?class . }", "paraphrases": ["Which category is shared by both Uma Thurman and Thane Maynard?", "Find the common taxonomic class of Uma Thurman and Thane Maynard."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q125017> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7710240> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2272", "question": "What historical periods began between 1377 and 1387 and ended between 1387 and 1397?", "sparql": "SELECT DISTINCT ?period WHERE { ?period wdt:P580 ?startDate . ?period wdt:P582 ?endDate . FILTER ( ?startDate >= \"1377-01-01T00:00:00Z\"^^xsd:dateTime && ?startDate <= \"1387-12-31T23:59:59Z\"^^xsd:dateTime ) FILTER ( ?endDate >= \"1387-01-01T00:00:00Z\"^^xsd:dateTime && ?endDate <= \"1397-12-31T23:59:59Z\"^^xsd:dateTime ) }", "paraphrases": ["List events or reigns from the late 14th to early 15th century that have defined start and end dates in Wikidata.", "Show me time periods like eras or wars that started in the 1370s\u20131380s and ended in the 1380s\u20131390s."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P580> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P582> ?var3 . FILTER ( ( ( ?var2 >= \"1377-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1387-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var3 >= \"1387-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var3 <= \"1397-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_2273", "question": "What historical events began between 1313 and 1323 and ended between 1323 and 1333?", "sparql": "SELECT DISTINCT ?event WHERE { ?event wdt:P580 ?startTime . ?event wdt:P582 ?endTime . FILTER ( ?startTime >= \"1313-01-01T00:00:00Z\"^^xsd:dateTime && ?startTime <= \"1323-12-31T23:59:59Z\"^^xsd:dateTime ) FILTER ( ?endTime >= \"1323-01-01T00:00:00Z\"^^xsd:dateTime && ?endTime <= \"1333-12-31T23:59:59Z\"^^xsd:dateTime ) }", "paraphrases": ["List events from the early 14th century that lasted into the 1320s or 1330s.", "Which time periods in Wikidata started in the 1310s\u20131320s and ended in the 1320s\u20131330s?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P580> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P582> ?var3 . FILTER ( ( ( ?var2 >= \"1313-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1323-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var3 >= \"1323-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var3 <= \"1333-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_2274", "question": "Historical events that started between 1675 and 1685 and ended between 1685 and 1695.", "sparql": "SELECT DISTINCT ?event ?label WHERE { ?event wdt:P580 ?startDate ; wdt:P582 ?endDate . FILTER ( ?startDate >= \"1675-03-31T00:00:00Z\"^^xsd:dateTime && ?startDate <= \"1685-03-31T23:59:59Z\"^^xsd:dateTime ) FILTER ( ?endDate >= \"1685-03-31T00:00:00Z\"^^xsd:dateTime && ?endDate <= \"1695-03-31T23:59:59Z\"^^xsd:dateTime ) OPTIONAL { ?event rdfs:label ?label . FILTER(LANG(?label) = \"en\") } }", "paraphrases": ["Which historical events began between March 1675 and March 1685 and ended between March 1685 and March 1695?", "List all events with a start date in the late 17th century (1675\u20131685) and an end date in the following decade (1685\u20131695)."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P580> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P582> ?var3 . FILTER ( ( ( ?var2 >= \"1675-03-31T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1685-03-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var3 >= \"1685-03-31T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var3 <= \"1695-03-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_2275", "question": "German or English Wikipedia pages for the film with IMDb ID tt4400054.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?wikipediaPage WHERE {\n  ?film wdt:P345 \"tt4400054\" .\n  ?wikipediaPage schema:about ?film ; schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" )\n}", "paraphrases": ["What are the English or German Wikipedia articles about the movie with IMDb ID tt4400054?", "Show me the Wikipedia pages in English or German that are about the film identified by IMDb ID tt4400054."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt4400054\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2276", "question": "What metadata properties describe the Wikidata property \"point in time\"?", "sparql": "SELECT DISTINCT ?predicate WHERE { wd:P585 ?predicate ?object . }", "paraphrases": ["Which properties are used to provide information about the Wikidata property P585 (point in time)?", "List all the predicates that are used to describe the property \"point in time\" in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/P585> ?var1 ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1"}}
{"id": "test_2277", "question": "What are the publication years and truncated titles (first 20 characters) of works authored by Rebecca J. Sweetman?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?year ?titleSnippet WHERE {\n  ?work wdt:P50 wd:Q50287729 ; wdt:P577 ?date ; rdfs:label ?title .\n  FILTER(LANG(?title) = \"en\")\n  BIND(STR(YEAR(?date)) AS ?year)\n  BIND(SUBSTR(?title , 1 , 20) AS ?titleSnippet)\n}\nORDER BY ?year", "paraphrases": ["Show me the English titles (first 20 characters) and publication years of Rebecca J. Sweetman\u2019s publications, sorted by year.", "List Rebecca J. Sweetman\u2019s published works with their English titles (shortened to 20 characters) and the year they were published."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label WHERE { { SELECT ?var1 ( SAMPLE ( ?var4 ) AS ?var2 ) ?var3Label WHERE { { SELECT( STR ( ?var5 ) AS ?var1 )( \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var4 )( \"_\" AS ?var3Label ) WHERE { BIND ( YEAR ( ?var6 ) AS ?var5 ). ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q577> . ?var7 <http://www.wikidata.org/prop/direct/P585> ?var6 . { SELECT( MIN ( ?var5 ) AS ?var8 )( MAX ( ?var5 ) AS ?var9 ) WHERE { BIND ( YEAR ( ?var10 ) AS ?var5 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q50287729> . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var10 . } } FILTER ( ( ( ?var5 >= ?var8 ) && ( ?var5 <= ?var9 ) ) ) . } } UNION { BIND ( SUBSTR ( ?var12Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"20\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q50287729> . ?var11 <http://www.wikidata.org/prop/direct/P1104> ?var4 . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var6 . ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12Label . FILTER ( ( ( LANG ( ?var12Label ) = \"en\" ) ) ) . } } GROUP BY ?var1 ?var11 ?var3Label ORDER BY ASC( ?var1 ) } }"}}
{"id": "test_2278", "question": "What are the subclasses of the event category in Wikidata?", "sparql": "SELECT ?subclass WHERE { ?subclass wdt:P279 wd:Q1656682 . }", "paraphrases": ["Can you list all types of events, such as festivals or conferences, that are considered subclasses of \"event\"?", "Which specific kinds of events are categorized as subtypes of \"event\" in Wikidata?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/entity/P279> <http://www.wikidata.org/entity/Q1656682> . }"}}
{"id": "test_2279", "question": "Organizations that started between 1936 and 1946 and ended between 1946 and 1956.", "sparql": "SELECT DISTINCT ?item WHERE { ?item wdt:P580 ?startDate . ?item wdt:P582 ?endDate . FILTER ( ?startDate >= \"1936-10-31T00:00:00Z\"^^xsd:dateTime && ?startDate <= \"1946-10-31T23:59:59Z\"^^xsd:dateTime ) FILTER ( ?endDate >= \"1946-10-31T00:00:00Z\"^^xsd:dateTime && ?endDate <= \"1956-10-31T23:59:59Z\"^^xsd:dateTime ) }", "paraphrases": ["Which institutions or governments began operation between October 1936 and October 1946 and ceased between October 1946 and October 1956?", "List all entities that were active during the period immediately after World War II, starting in the late 1930s to mid-1940s and dissolving in the late 1940s to mid-1950s."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P580> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P582> ?var3 . FILTER ( ( ( ?var2 >= \"1936-10-31T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1946-10-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var3 >= \"1946-10-31T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var3 <= \"1956-10-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_2280", "question": "What is the most general category that both a human and a country belong to?", "sparql": "SELECT ?common WHERE { wd:Q5 wdt:P279* ?common . wd:Q3624078 wdt:P279* ?common . } ORDER BY ASC(STRLEN(STR(?common))) LIMIT 1", "paraphrases": ["Which class is a superclass of both \"human\" and \"sovereign state\" in Wikidata?", "Find the highest-level class that includes both humans and countries in the Wikidata ontology."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7323233> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q16> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2281", "question": "Entities that started between 1899 and 1909 and ended between 1909 and 1919.", "sparql": "SELECT DISTINCT ?item WHERE { ?item wdt:P580 ?start . ?item wdt:P582 ?end . FILTER ( ?start >= \"1899-01-01T00:00:00Z\"^^xsd:dateTime && ?start <= \"1909-12-31T23:59:59Z\"^^xsd:dateTime ) FILTER ( ?end >= \"1909-01-01T00:00:00Z\"^^xsd:dateTime && ?end <= \"1919-12-31T23:59:59Z\"^^xsd:dateTime ) }", "paraphrases": ["Which entities began operation in the late 19th century (1899\u20131909) and ceased in the early 20th century (1909\u20131919)?", "List all organizations, governments, or campaigns that were active from the end of the 19th century through the first two decades of the 20th century, specifically starting between 1899 and 1909 and ending between 1909 and 1919."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P580> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P582> ?var3 . FILTER ( ( ( ?var2 >= \"1899-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1909-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var3 >= \"1909-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var3 <= \"1919-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_2282", "question": "What class does September belong to?", "sparql": "SELECT ?instance WHERE { wd:Q123 wdt:P31 ?instance .}", "paraphrases": ["What is September an instance of in Wikidata?", "Tell me the type of September as a calendar entity."], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q123> <http://www.wikidata.org/prop/P31> ?var1 . }"}}
{"id": "test_2283", "question": "Entities that started between 1936 and 1946 and ended between 1946 and 1956.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nSELECT DISTINCT ?item WHERE {\n  ?item wdt:P580 ?startDate .\n  ?item wdt:P582 ?endDate .\n  FILTER(?startDate >= \"1936-01-01T00:00:00Z\" ^^ xsd:dateTime)\n  FILTER(?startDate <= \"1946-12-31T23:59:59Z\" ^^ xsd:dateTime)\n  FILTER(?endDate >= \"1946-01-01T00:00:00Z\" ^^ xsd:dateTime)\n  FILTER(?endDate <= \"1956-12-31T23:59:59Z\" ^^ xsd:dateTime)\n}", "paraphrases": ["Which historical entities began operation during World War II and dissolved in the decade after the war?", "List governments, organizations, or events that were active from the mid-1930s to the mid-1950s, specifically starting between 1936 and 1946 and ending between 1946 and 1956."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P580> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P582> ?var3 . FILTER ( ( ( ?var2 >= \"1936-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1946-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var3 >= \"1946-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var3 <= \"1956-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_2284", "question": "What is the Wikidata entity for August 20, 1846?", "sparql": "SELECT DISTINCT ?date WHERE { ?date wdt:P585 \"1846-08-20T00:00:00Z\"^^xsd:dateTime . }", "paraphrases": ["Which Wikidata item represents the date August 20, 1846?", "Find the Wikidata entity that corresponds to the date August 20, 1846."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P585> | <http://www.wikidata.org/prop/direct/P606> | <http://www.wikidata.org/prop/direct/P619> | <http://www.wikidata.org/prop/direct/P620> | <http://www.wikidata.org/prop/direct/P621> | <http://www.wikidata.org/prop/direct/P622> | <http://www.wikidata.org/prop/direct/P729> | <http://www.wikidata.org/prop/direct/P1191> ) ?var2 . FILTER ( ( ( ?var2 >= \"1846-08-20T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1846-08-20T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_2285", "question": "List all places in Northland Region, New Zealand with their English names and geographic coordinates.", "sparql": "SELECT DISTINCT ?label ?lat ?lon WHERE { ?location (wdt:P131/wdt:P131*) wd:Q59596 . ?location p:P625 ?statement . ?statement psv:P625 ?coordinate . ?coordinate wikibase:geoLatitude ?lat . ?coordinate wikibase:geoLongitude ?lon . OPTIONAL { ?location rdfs:label ?label . FILTER(LANG(?label) = \"en\") } } ORDER BY ASC(?label)", "paraphrases": ["What are the English names and latitude/longitude coordinates of all locations within the Northland Region of New Zealand?", "Please provide the names (in English) and GPS coordinates of every place located in the Northland Region of New Zealand, sorted alphabetically by name."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2Label ?var3 ?var4 ?var5 ?var6 WHERE { ?var7 ( <http://www.wikidata.org/prop/direct/P131> / <http://www.wikidata.org/prop/direct/P131> *) <http://www.wikidata.org/entity/Q59596> . ?var7 <http://www.wikidata.org/prop/direct/P625> ?var8 . ?var7 <http://www.wikidata.org/prop/P625> ?var9 . ?var9 <http://www.wikidata.org/prop/statement/value/P625> ?var10 . ?var10 <http://wikiba.se/ontology#geoLatitude> ?var5 . ?var10 <http://wikiba.se/ontology#geoLongitude> ?var6 . OPTIONAL { ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_2286", "question": "Which Twitter accounts (F3Limousin, limogescsp, CABCLRUGBY) have the fewest Wikipedia sitelinks?", "sparql": "SELECT ?item ?username (COUNT(?sitelink) AS ?sitelinks) WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"F3Limousin\" \"limogescsp\" \"CABCLRUGBY\" } . ?sitelink schema:about ?item ; schema:isPartOf ?site . } GROUP BY ?item ?username ORDER BY ASC(?sitelinks)", "paraphrases": ["How many Wikipedia links do the Twitter accounts F3Limousin, limogescsp, and CABCLRUGBY have, sorted from least to most?", "List the entities linked to the Twitter handles F3Limousin, limogescsp, and CABCLRUGBY, along with their Wikipedia sitelink counts, ordered by the lowest number of links first."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"F3Limousin\" ) ( \"limogescsp\" ) ( \"string1\" ) ( \"pierg43\" ) ( \"string2\" ) ( \"CABCLRUGBY\" ) ( \"string3\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2287", "question": "Which French TV personalities or channels have Twitter accounts on Wikidata, sorted by how many Wikipedia versions mention them?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username ( COUNT( ?sitelink ) AS ?sitelinks ) WHERE {\n  ?item wdt:P2002 ?username .\n  ?sitelink schema:about ?item ; schema:isPartOf ?site .\n  VALUES ?username {\n    \"Nagui\" \"TF1\" \"C8TV\" \"Ch_Clavier\" \"wieselT\"\n  }\n}\nGROUP BY ?item ?username\nORDER BY ASC ( ?sitelinks )", "paraphrases": ["Who are the French media figures with Twitter usernames like \"Nagui\", \"TF1\", or \"Ch_Clavier\", and how many language Wikipedias have articles about them?", "List the entities in Wikidata with Twitter handles \"Nagui\", \"TF1\", \"C8TV\", \"Ch_Clavier\", or \"wieselT\", ordered by the number of Wikipedia articles about them."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"c8tv\" ) ( \"string4\" ) ( \"TF1\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"T_Ardisson\" ) ( \"lolobababa\" ) ( \"C8TV\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) ( \"string13\" ) ( \"string14\" ) ( \"string15\" ) ( \"string16\" ) ( \"vinzpujol\" ) ( \"string17\" ) ( \"string18\" ) ( \"Ch_Clavier\" ) ( \"LaBOInter\" ) ( \"Nagui\" ) ( \"nagui\" ) ( \"Leilakan\" ) ( \"string19\" ) ( \"string20\" ) ( \"Amir_Off\" ) ( \"string21\" ) ( \"string22\" ) ( \"string23\" ) ( \"string24\" ) ( \"string25\" ) ( \"string26\" ) ( \"string27\" ) ( \"wieselT\" ) ( \"andremanou\" ) ( \"JFZygel\" ) ( \"string28\" ) ( \"string29\" ) ( \"string30\" ) ( \"string31\" ) ( \"string32\" ) ( \"WalyDIA\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2288", "question": "Types of travel that are subclasses of travel.", "sparql": "SELECT ?travelType ?label WHERE { ?travelType wdt:P279 wd:Q61509 . ?travelType rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["What are some specific types of travel, such as slow travel or package tours?", "List all English-labeled subclasses of the concept \"travel\", like wellness travel or language immersion tours."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q61509> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_2289", "question": "Buildings that are tourist attractions", "sparql": "SELECT ?building ?buildingLabel WHERE { ?building wdt:P31 wd:Q41176 ; wdt:P31 wd:Q570116 . }", "paraphrases": ["Which buildings are also tourist attractions?", "List buildings that are classified as tourist attractions in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q570116> ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q41176> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,it\". } }"}}
{"id": "test_2290", "question": "What is the most specific category that both Bruno Mars and Amazon belong to through their class hierarchies?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?label WHERE {\n  wd:Q1450 wdt:P31 ?class1 .\n  wd:Q3884 wdt:P31 ?class2 .\n  ?class1 wdt:P279 * wd:Q106559804 .\n  ?class2 wdt:P279 * wd:Q106559804 .\n  wd:Q106559804 rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}\nLIMIT 1", "paraphrases": ["What is the lowest common subclass of human and business in Wikidata?", "Which entity represents the shared abstract category between a person like Bruno Mars and a company like Amazon?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1450> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3884> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2291", "question": "Entities that started between 1989 and 1999 and ended between 1999 and 2009.", "sparql": "SELECT DISTINCT ?item WHERE { ?item wdt:P580 ?startDate . ?item wdt:P582 ?endDate . FILTER ( ?startDate >= \"1989-10-28T00:00:00Z\"^^xsd:dateTime && ?startDate <= \"1999-10-28T23:59:59Z\"^^xsd:dateTime ) FILTER ( ?endDate >= \"1999-10-28T00:00:00Z\"^^xsd:dateTime && ?endDate <= \"2009-10-28T23:59:59Z\"^^xsd:dateTime ) }", "paraphrases": ["Which projects or organizations began in the 1990s and ended in the early 2000s?", "List all time-bound entities (like teams or events) that were active during the 1990s, starting no earlier than 1989 and ending no later than 2009."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P580> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P582> ?var3 . FILTER ( ( ( ?var2 >= \"1989-10-28T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1999-10-28T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var3 >= \"1999-10-28T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var3 <= \"2009-10-28T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_2292", "question": "What events occurred on March 14, 1989?", "sparql": "SELECT DISTINCT ?event WHERE { ?event (wdt:P585 | wdt:P606 | wdt:P619 | wdt:P620 | wdt:P621 | wdt:P622 | wdt:P729 | wdt:P1191) ?date . FILTER ( ?date >= \"1989-03-14T00:00:00Z\"^^xsd:dateTime && ?date <= \"1989-03-14T23:59:59Z\"^^xsd:dateTime ) }", "paraphrases": ["Which entities had their first performance, service entry, or other milestone on March 14, 1989?", "List all items such as TV shows, radio stations, or crimes that took place on March 14, 1989."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P585> | <http://www.wikidata.org/prop/direct/P606> | <http://www.wikidata.org/prop/direct/P619> | <http://www.wikidata.org/prop/direct/P620> | <http://www.wikidata.org/prop/direct/P621> | <http://www.wikidata.org/prop/direct/P622> | <http://www.wikidata.org/prop/direct/P729> | <http://www.wikidata.org/prop/direct/P1191> ) ?var2 . FILTER ( ( ( ?var2 >= \"1989-03-14T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1989-03-14T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_2293", "question": "TV shows and media items that started between 1985 and 1995 and ended between 1995 and 2005.", "sparql": "SELECT DISTINCT ?item WHERE { ?item wdt:P580 ?start . ?item wdt:P582 ?end . FILTER ( ?start >= \"1985-07-07\"^^xsd:date && ?start <= \"1995-07-07\"^^xsd:date ) FILTER ( ?end >= \"1995-07-07\"^^xsd:date && ?end <= \"2005-07-07\"^^xsd:date ) }", "paraphrases": ["Which TV programs or exhibitions began in the late 1980s to mid-1990s and ended in the late 1990s to early 2000s?", "List all media items that were active from the mid-1980s through the early 2000s, specifically starting between 1985 and 1995 and ending between 1995 and 2005."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P580> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P582> ?var3 . FILTER ( ( ( ?var2 >= \"1985-07-07T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1995-07-07T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var3 >= \"1995-07-07T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var3 <= \"2005-07-07T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_2294", "question": "Twitter usernames \"Wikimedia\" and \"envlh\" and their number of Wikipedia sitelinks", "sparql": "SELECT ?item ?username (COUNT(?sitelink) AS ?sitelinkCount) WHERE { ?item wdt:P2002 ?username . ?sitelink schema:about ?item ; schema:isPartOf ?site . VALUES ?username { \"Wikimedia\" \"envlh\" } } GROUP BY ?item ?username ORDER BY ASC(?sitelinkCount)", "paraphrases": ["What are the Twitter accounts \"Wikimedia\" and \"envlh\", and how many Wikipedia articles are linked to each?", "List the entities with Twitter usernames \"Wikimedia\" and \"envlh\", sorted by how many Wikipedia sites link to them."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"fagerving\" ) ( \"Wikimedia\" ) ( \"string1\" ) ( \"string2\" ) ( \"Fr33Tux\" ) ( \"string3\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2295", "question": "Which organizations have Twitter accounts \"CNRS\" or \"UCBerkeley\", and how many Wikipedia sitelinks do they have?", "sparql": "SELECT ?item ?username (COUNT(?sitelink) AS ?sitelinks) WHERE { ?item wdt:P2002 ?username . ?sitelink schema:about ?item ; schema:isPartOf ?site . FILTER(STRSTARTS(STR(?site), \"https://\")) VALUES ?username { \"CNRS\" \"UCBerkeley\" } } GROUP BY ?item ?username ORDER BY ASC(?sitelinks)", "paraphrases": ["What are the Wikidata items for the Twitter handles CNRS and UCBerkeley, sorted by the number of Wikipedia language editions they appear in?", "Show me the institutions with Twitter usernames CNRS and UCBerkeley, along with their sitelink counts, ordered from least to most popular across Wikipedia."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"PSEinfo\" ) ( \"INRA_IDF\" ) ( \"EHESS_fr\" ) ( \"ENS_ULM\" ) ( \"string1\" ) ( \"string2\" ) ( \"CNRS\" ) ( \"string3\" ) ( \"AGarnero\" ) ( \"jcs_mbf\" ) ( \"lemondefr\" ) ( \"paldama\" ) ( \"string4\" ) ( \"string5\" ) ( \"UCBerkeley\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) ( \"string13\" ) ( \"string14\" ) ( \"string15\" ) ( \"TSEinfo\" ) ( \"string16\" ) ( \"string17\" ) ( \"string18\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2296", "question": "Entities with point in time dates and their English labels and descriptions.", "sparql": "SELECT ?item ?itemLabel ?itemDescription ?date WHERE { ?item wdt:P585 ?date . ?item rdfs:label ?itemLabel . ?item schema:description ?itemDescription . FILTER (LANG(?itemLabel) = \"en\") . FILTER (LANG(?itemDescription) = \"en\") . } LIMIT 100", "paraphrases": ["What are 100 events or items that have a recorded date, along with their English names and descriptions?", "Show me up to 100 items with their English labels, descriptions, and the dates they occurred or were established."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P585> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_2297", "question": "What is the most specific category that both Kim Jong-un and Kim Jong belong to?", "sparql": "SELECT ?type\nWHERE {\n  wd:Q6408963 wdt:P31 ?type .\n  wd:Q56226 wdt:P31 ?type .\n}\nLIMIT 1", "paraphrases": ["What common class do Kim Jong-un and Kim Jong share as their type?", "Which superclass do Kim Jong-un and Kim Jong both have as an instance of?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q6408963> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q56226> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2298", "question": "What is the most specific category that both Nevada and New England belong to?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonSuper ?label WHERE {\n  wd:Q1227 wdt:P31 ?type1 .\n  wd:Q18389 wdt:P31 ?type2 .\n  ?type1 wdt:P279 * wd:Q82794 .\n  ?type2 wdt:P279 * wd:Q82794 .\n  wd:Q82794 rdfs:label ?label .\n  FILTER ( LANG( ?label ) = 'en' )\n}", "paraphrases": ["What do Nevada and New England have in common as types of geographic entities?", "What is the shared superclass of the categories that Nevada and New England are instances of?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1227> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q18389> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2299", "question": "Wikipedia pages about the year 1459 in different languages with their titles and Wikidata labels.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?wikipediaPage ?language ?pageTitle ?wikidataLabel WHERE {\n  wd:Q6524 wdt:P31 wd:Q577 .\n  ?wikipediaPage schema:about wd:Q6524 ; schema:inLanguage ?language ; schema:name ?pageTitle .\n  wd:Q6524 rdfs:label ?wikidataLabel .\n  FILTER(LANG(?wikidataLabel) = ?language)\n}", "paraphrases": ["What are the titles of Wikipedia articles about the year 1459 in various languages, and what are the corresponding labels for 1459 in those same languages?", "Show me the Wikipedia pages for the year 1459, including the language, article title, and the matching Wikidata label in each language."], "info": {"raw_sparql": "SELECT * WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q6524> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q577> . ?var1 <http://www.wikidata.org/prop/direct/P585> ?var2 . ?var3 <http://schema.org/about> ?var1 ; <http://schema.org/inLanguage> ?var4 ; <http://schema.org/name> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = ?var4 ) ) ) . }"}}
{"id": "test_2300", "question": "What is the basic form of government of Russia?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?governmentLabel WHERE {\n  wd:Q159 wdt:P122 ?government .\n  ?government rdfs:label ?governmentLabel .\n  FILTER(LANG(?governmentLabel) = \"en\")\n}", "paraphrases": ["What type of government does Russia have?", "What is Russia\u2019s official government structure according to Wikidata?"], "info": {"raw_sparql": "SELECT ?var1Label WHERE { <http://www.wikidata.org/entity/Q159> <http://www.wikidata.org/prop/direct/P122> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_2301", "question": "Which French political figures and organizations have Twitter accounts with the fewest Wikipedia language editions?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username(COUNT(?link) AS ?sitelinks) WHERE {\n  ?item wdt:P2002 ?username .\n  ?link schema:about ?item ; schema:isPartOf ?wiki .\n  VALUES ?username {\n    \"EELV\" \"jmblanquer\" \"yjadot\" \"lacimade\" \"NBelloubet\"\n  }\n}\nGROUP BY ?item ?username\nORDER BY ASC(?sitelinks)", "paraphrases": ["Who are the individuals and groups with Twitter usernames EELV, jmblanquer, yjadot, lacimade, and NBelloubet, and how many Wikipedia versions mention them?", "List the Twitter accounts of EELV, jmblanquer, yjadot, lacimade, and NBelloubet along with the number of Wikipedia language editions they appear in, sorted from least to most."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"EELV\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"jmblanquer\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"yjadot\" ) ( \"string8\" ) ( \"lacimade\" ) ( \"PJanuel\" ) ( \"NBelloubet\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2302", "question": "Top research topics in Dafna Gladman\u2019s publications, with number of papers and example titles.", "sparql": "SELECT ?count ?subjectLabel ?exampleWorkLabel WHERE { { SELECT ?subject (COUNT(?work) AS ?count) (SAMPLE(?workLabel) AS ?exampleWorkLabel) WHERE { ?work wdt:P50 wd:Q37605821 . ?work wdt:P921 ?subject . ?work rdfs:label ?workLabel . FILTER(LANG(?workLabel) = \"en\") } GROUP BY ?subject ORDER BY DESC(?count) } ?subject rdfs:label ?subjectLabel . FILTER(LANG(?subjectLabel) = \"en\") } ORDER BY DESC(?count) LIMIT 100", "paraphrases": ["What are the most common medical subjects in the research papers authored by Dafna D. Gladman, and how many papers are there on each, along with an example title?", "Show me the main topics of Dafna D. Gladman\u2019s scholarly works, ranked by how many papers she has on each, including the count and one example paper title for each topic."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label WHERE { { SELECT ?var4 ( COUNT ( ?var5 ) AS ?var1 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q37605821> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . } GROUP BY ?var4 ORDER BY DESC( ?var1 ) } BIND ( SUBSTR ( ?var6Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q37605821> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . }"}}
{"id": "test_2303", "question": "What is the birthplace of Paul the Apostle in English?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?birthPlaceLabel WHERE {\n  wd:Q9200 wdt:P19 ?birthPlace .\n  ?birthPlace rdfs:label ?birthPlaceLabel .\n  FILTER ( LANG( ?birthPlaceLabel ) = \"en\" )\n}\nLIMIT 10", "paraphrases": ["English name of the birthplace of Paul the Apostle.", "Tell me the English label for the city where Paul the Apostle was born."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { <http://www.wikidata.org/entity/Q9200> <http://www.wikidata.org/prop/direct/P19> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } LIMIT 10"}}
{"id": "test_2304", "question": "What is the common category that both San Jos\u00e9, Costa Rica and Paris belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonClass ?label WHERE {\n  wd:Q3070 wdt:P31 ?commonClass .\n  wd:Q90 wdt:P31 ?commonClass .\n  ?commonClass rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}\nLIMIT 1", "paraphrases": ["What type of entity is both San Jos\u00e9, Costa Rica and Paris an instance of?", "Find the most specific shared classification (instance-of) for the cities of San Jos\u00e9, Costa Rica and Paris, and return its English label."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3070> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q90> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2305", "question": "English and German Wikipedia pages for the movie with IMDb ID tt0117603", "sparql": "SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 \"tt0117603\" . ?wikipedia_page schema:about ?movie . { ?wikipedia_page schema:inLanguage \"en\" . } UNION { ?wikipedia_page schema:inLanguage \"de\" . } }", "paraphrases": ["What are the English and German Wikipedia articles for the movie \"Set It Off\" (IMDb ID: tt0117603)?", "Show me the English and German Wikipedia links for the film identified by IMDb ID tt0117603."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0117603\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2306", "question": "Which notable organizations or people have Twitter accounts, and how many Wikipedia pages are dedicated to them?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item(STR(?username) AS ?twitterHandle)(COUNT(?wikipediaPage) AS ?sitelinkCount) WHERE {\n  VALUES ?username {\n    \"BarackObama\" \"Twitter\" \"NASA\" \"Google\"\n  }\n  .\n  ?item wdt:P2002 ?username .\n  ?wikipediaPage schema:about ?item ; schema:isPartOf ?wiki .\n  FILTER(STRSTARTS(STR(?wiki) , \"https://\"))\n}\nGROUP BY ?item ?username\nORDER BY ASC(?sitelinkCount)", "paraphrases": ["Show me the Twitter handles of major entities like NASA, Google, and Barack Obama, along with the number of Wikipedia articles about them, sorted by least to most popular.", "Find the Wikipedia sitelink counts for the Twitter accounts of Barack Obama, Twitter, NASA, and Google, ordered by popularity."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"string1\" ) ( \"Teggy\" ) ( \"KialoHQ\" ) ( \"Pymouss\" ) ( \"Titiart1\" ) ( \"string2\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2307", "question": "Which French publishers and media outlets have Twitter accounts, and how many Wikipedia articles are about them?", "sparql": "SELECT ?item ?twitterHandle (COUNT(?page) AS ?sitelinkCount) WHERE { ?item wdt:P2002 ?twitterHandle . ?page schema:about ?item . VALUES ?twitterHandle { \"Gallimard\" \"Babelio\" \"ELLEfrance\" } } GROUP BY ?item ?twitterHandle ORDER BY ASC (?sitelinkCount)", "paraphrases": ["What are the Twitter handles of \u00c9ditions Gallimard, Babelio, and ELLE France, and how many language versions of their Wikipedia pages exist?", "List the Twitter usernames for Gallimard, Babelio, and ELLEfrance along with the number of Wikipedia articles linked to each entity, sorted by the smallest number of articles first."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"Gallimard\" ) ( \"string4\" ) ( \"LeoAuteur\" ) ( \"string5\" ) ( \"string6\" ) ( \"zebre_\" ) ( \"s_valla\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"MiladyFR\" ) ( \"string12\" ) ( \"AnneDKNY\" ) ( \"string13\" ) ( \"string14\" ) ( \"string15\" ) ( \"babelio2\" ) ( \"babelio\" ) ( \"EHannah81\" ) ( \"string16\" ) ( \"heymapil\" ) ( \"VoixEurope\" ) ( \"string17\" ) ( \"string18\" ) ( \"Le_NML\" ) ( \"Artips_fr\" ) ( \"string19\" ) ( \"AbcdBooks\" ) ( \"ELLEfrance\" ) ( \"Teamkoober\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2308", "question": "Public holidays and their countries", "sparql": "SELECT ?holiday ?country ?countryLabel WHERE { ?holiday wdt:P31 wd:Q1197685 . ?holiday wdt:P17 ?country . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") } LIMIT 1000", "paraphrases": ["Which countries have public holidays listed in Wikidata, and what are the names of those holidays?", "Show me the public holidays and the countries where they are officially celebrated."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var3 ?var3Label ?var4 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } OPTIONAL { } OPTIONAL { } OPTIONAL { } OPTIONAL { } OPTIONAL { } ?var1 <http://www.wikidata.org/prop/direct/P360> <http://www.wikidata.org/entity/Q1197685> . OPTIONAL { } OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P299> ?var4 . } } LIMIT 1000"}}
{"id": "test_2309", "question": "What are all the types of recurring events, such as annual conferences or recurring elections?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?var1 ?label WHERE {\n  ?var1 wdt:P279 + wd:Q15275719 .\n  ?var1 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["List all subclasses of recurring events in Wikidata, including their English names.", "Can you show me a list of events that happen repeatedly, like festivals or elections, along with their names?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> + <http://www.wikidata.org/entity/Q15275719> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nb,en\". } }"}}
{"id": "test_2310", "question": "What is the most specific shared category in the hierarchy between Judea and New Addington?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonAncestor ?label(COUNT(?ancestorOfCommon) AS ?depth) WHERE {\n  wd:Q104028 wdt:P31 ?type1 .\n  wd:Q7005189 wdt:P31 ?type2 .\n  ?type1 wdt:P279 * ?commonAncestor .\n  ?type2 wdt:P279 * ?commonAncestor .\n  ?commonAncestor wdt:P279 * ?ancestorOfCommon .\n  ?commonAncestor rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nGROUP BY ?commonAncestor ?label\nORDER BY DESC(?depth)\nLIMIT 1", "paraphrases": ["What is the lowest common subclass that both Judea and New Addington belong to through their types?", "Which geographic category is the most specific ancestor shared by the historical region of Judea and the London area of New Addington?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q104028> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7005189> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2311", "question": "Image of the person with SNAC ARK ID w6qz2qxj", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6qz2qxj\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image of the individual identified by the SNAC ARK ID w6qz2qxj?", "Show me the Wikimedia Commons image linked to the SNAC ARK ID w6qz2qxj."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6qz2qxj\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2312", "question": "Which Wikidata entities have the Twitter usernames \"gpaumier\", \"Wikimania\", or \"Philweb29\"?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"gpaumier\" \"Wikimania\" \"Philweb29\" } } ORDER BY ?username", "paraphrases": ["Show me the people or organizations on Wikidata that use \"gpaumier\", \"Wikimania\", or \"Philweb29\" as their Twitter handle.", "Who are the users of the Twitter accounts gpaumier, Wikimania, and Philweb29 according to Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"Lyoko6\" ) ( \"Amugnier\" ) ( \"string2\" ) ( \"mathdenel\" ) ( \"string3\" ) ( \"Wcie\" ) ( \"Tim_Moritz\" ) ( \"Philweb29\" ) ( \"okfnFr\" ) ( \"okfn\" ) ( \"string4\" ) ( \"gpaumier\" ) ( \"Wikinade\" ) ( \"Wikimania\" ) ( \"TCY111\" ) ( \"lucyfedia\" ) ( \"Patafisik\" ) ( \"JavierAC2N\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2313", "question": "What items are most frequently cataloged by the catalogue (wd:Q2352616), and in what context (mainsnak, qualifier, reference) are they used?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX prov: <http://www.w3.org/ns/prov#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX pr: <http://www.wikidata.org/prop/reference/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT DISTINCT ?item ?itemType ?context ( COUNT( ?statement ) AS ?count ) WHERE {\n  {\n    BIND( \"mainsnak\" AS ?context ) ?statement wdt:P972 ?item .\n  } UNION {\n    BIND( \"qualifier\" AS ?context ) ?qualifier pq:P972 ?item .\n    ?statement ?p ?qualifier .\n  } UNION {\n    BIND( \"reference\" AS ?context ) ?reference pr:P972 ?item .\n    ?statement prov:wasDerivedFrom ?reference .\n  }\n  OPTIONAL {\n    ?item wdt:P31 ?itemType .\n  }\n  FILTER ( ?item != wd:Q2352616 ) MINUS {\n    ?item wdt:P31 / wdt:P279 * wd:Q2352616 .\n  }\n}\nGROUP BY ?item ?itemType ?context\nORDER BY DESC ( ?count )", "paraphrases": ["Which items have the highest number of references as catalogs in Wikidata statements, broken down by whether the catalog reference appears in the main statement, qualifier, or reference section?", "List the top items cataloged by the catalogue (wd:Q2352616), showing their types, the context (mainsnak/qualifier/reference) of the cataloging, and how many times each appears \u2014 sorted by frequency descending."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 WHERE { { SELECT ?var2 ?var4 ?var1 ( COUNT ( ?var5 ) AS ?var3 ) WHERE { { BIND ( \"mainsnak\" AS ?var1 ). ?var5 <http://www.wikidata.org/prop/direct/P972> ?var2 . } UNION { BIND ( \"qualifier\" AS ?var1 ). ?var6 <http://www.wikidata.org/prop/qualifier/P972> ?var2 . ?var5 ?var7 ?var6 . } UNION { BIND ( \"reference\" AS ?var1 ). ?var8 <http://www.wikidata.org/prop/reference/P972> ?var2 . ?var9 <http://www.w3.org/ns/prov#wasDerivedFrom> ?var8 . ?var5 ?var10 ?var9 . } VALUES ( ?var11 ) { ( <http://www.wikidata.org/entity/Q2352616> ) } MINUS { ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var11 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P31> ?var4 . } } GROUP BY ?var2 ?var4 ?var1 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY DESC( ?var3 )"}}
{"id": "test_2314", "question": "What catalog codes and their corresponding catalogs are assigned to items in Wikidata?", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?item ?code ?catalog WHERE {\n  ?item p:P528 ?statement .\n  ?statement ps:P528 ?code .\n  ?statement pq:P972 ?catalog .\n}\nLIMIT 1000", "paraphrases": ["Which items have catalog codes, and for which catalogs are those codes valid?", "Show me the items, their catalog codes, and the names of the catalogs those codes belong to."], "info": {"raw_sparql": "SELECT * WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P528> ?var2 . ?var2 <http://www.wikidata.org/prop/qualifier/P972> ?var3 . } LIMIT 1000"}}
{"id": "test_2315", "question": "What is the most specific common category that both Israel and Atlanta belong to in the Wikidata taxonomy?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?commonAncestor WHERE {\n  VALUES ?commonAncestor {\n    wd:Q27096213\n  }\n  wd:Q801 wdt:P31 ?type1 .\n  wd:Q23556 wdt:P31 ?type2 .\n  ?type1 wdt:P279 * ?commonAncestor .\n  ?type2 wdt:P279 * ?commonAncestor .\n}", "paraphrases": ["What is the shared superclass in the subclass hierarchy between the country Israel and the city Atlanta?", "Which entity is the least common ancestor of Israel and Atlanta when considering their types in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q801> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q23556> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2316", "question": "List all events in a specific year or time period with English labels.", "sparql": "SELECT DISTINCT ?event ?eventLabel WHERE { ?event wdt:P31 wd:Q18340514 . ?event rdfs:label ?eventLabel . FILTER(LANG(?eventLabel) = \"en\") } ORDER BY ASC(?eventLabel)", "paraphrases": ["What are the English-labeled events categorized by year or time period in Wikidata?", "Show me the English names of all items that are instances of events in a specific year or time period, sorted alphabetically."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q18340514> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_2317", "question": "What events occurred in 1999, including first performances, spacecraft launches, service entries, or other significant dates?", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item WHERE {\n  ?item(wdt:P585 | wdt:P606 | wdt:P619 | wdt:P620 | wdt:P621 | wdt:P622 | wdt:P729 | wdt:P1191) ?date .\n  FILTER(?date >= \"1999-01-01T00:00:00Z\" ^^ xsd:dateTime && ?date <= \"1999-12-31T23:59:59Z\" ^^ xsd:dateTime)\n}", "paraphrases": ["Which entities in Wikidata have a recorded date in 1999 for events like first flight, spacecraft docking, or service entry?", "List all items from Wikidata that had a significant event in 1999, such as a premiere, launch, landing, or entry into service."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P585> | <http://www.wikidata.org/prop/direct/P606> | <http://www.wikidata.org/prop/direct/P619> | <http://www.wikidata.org/prop/direct/P620> | <http://www.wikidata.org/prop/direct/P621> | <http://www.wikidata.org/prop/direct/P622> | <http://www.wikidata.org/prop/direct/P729> | <http://www.wikidata.org/prop/direct/P1191> ) ?var2 . FILTER ( ( ( ?var2 >= \"999-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"999-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_2318", "question": "What is the most specific common category that both Seattle and Victoria, BC belong to in Wikidata's taxonomy?", "sparql": "SELECT ?ancestor (?dist1 + ?dist2 AS ?total)\nWHERE {\n  {\n    SELECT ?ancestor (COUNT(?mid1) AS ?dist1)\n    WHERE {\n      wd:Q5083 wdt:P31 ?class1 .\n      ?class1 wdt:P279+ ?mid1 .\n      ?mid1 wdt:P279* ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n  {\n    SELECT ?ancestor (COUNT(?mid2) AS ?dist2)\n    WHERE {\n      wd:Q963152 wdt:P31 ?class2 .\n      ?class2 wdt:P279+ ?mid2 .\n      ?mid2 wdt:P279* ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n}\nORDER BY ASC(?total)\nLIMIT 1", "paraphrases": ["Which taxonomic ancestor is closest to both Seattle and Victoria, BC when following subclass relationships from their instance types?", "Find the shared superclass in Wikidata with the shortest combined path from Seattle and Victoria, BC."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7926687> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q5083> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2319", "question": "Gunhild Waldemar's publications with year and page count", "sparql": "SELECT ?year ?title ?pages WHERE { ?work wdt:P50 wd:Q28862028 . ?work wdt:P577 ?date . BIND(YEAR(?date) AS ?year) . ?work wdt:P1476 ?title . OPTIONAL { ?work wdt:P1104 ?pages } . FILTER(LANG(?title) = \"en\") } ORDER BY ?year", "paraphrases": ["What are the English-language works authored by Gunhild Waldemar, along with their publication years and number of pages?", "List all English titles of works by Gunhild Waldemar, sorted by publication year, and include the number of pages if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label WHERE { { SELECT ?var1 ( SAMPLE ( ?var4 ) AS ?var2 ) ?var3Label WHERE { { SELECT( STR ( ?var5 ) AS ?var1 )( \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var4 )( \"_\" AS ?var3Label ) WHERE { BIND ( YEAR ( ?var6 ) AS ?var5 ). ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q577> . ?var7 <http://www.wikidata.org/prop/direct/P585> ?var6 . { SELECT( MIN ( ?var5 ) AS ?var8 )( MAX ( ?var5 ) AS ?var9 ) WHERE { BIND ( YEAR ( ?var10 ) AS ?var5 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q28862028> . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var10 . } } FILTER ( ( ( ?var5 >= ?var8 ) && ( ?var5 <= ?var9 ) ) ) . } } UNION { BIND ( SUBSTR ( ?var12Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"20\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q28862028> . ?var11 <http://www.wikidata.org/prop/direct/P1104> ?var4 . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var6 . ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12Label . FILTER ( ( ( LANG ( ?var12Label ) = \"en\" ) ) ) . } } GROUP BY ?var1 ?var11 ?var3Label ORDER BY ASC( ?var1 ) } }"}}
{"id": "test_2320", "question": "Which organizations have Twitter accounts \"lemondefr\", \"MAIF\", or \"Socialter\", and how are they ranked by their presence on Wikipedia?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?twitterUsername WHERE {\n  ?item wdt:P2002 ?twitterUsername .\n  ?sitelink schema:about ?item .\n  VALUES ?twitterUsername {\n    \"lemondefr\" \"MAIF\" \"Socialter\"\n  }\n}\nGROUP BY ?item ?twitterUsername\nORDER BY DESC(COUNT(?sitelink))", "paraphrases": ["Show me the Wikidata items for the Twitter handles lemondefr, MAIF, and Socialter, sorted by the number of Wikipedia pages they are linked to.", "Find the entities on Wikidata associated with the Twitter usernames lemondefr, MAIF, and Socialter, and list them in order of their popularity across Wikipedia language editions."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"Socialter\" ) ( \"marylenek\" ) ( \"Swiiitch\" ) ( \"bobemploi\" ) ( \"string1\" ) ( \"Clarazeld\" ) ( \"LADN_EU\" ) ( \"business\" ) ( \"string2\" ) ( \"3Dnatives\" ) ( \"lemondefr\" ) ( \"string3\" ) ( \"string4\" ) ( \"NoiceParis\" ) ( \"string5\" ) ( \"MAIF\" ) ( \"string6\" ) ( \"CCollab\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2321", "question": "Which organizations have Twitter accounts on Wikidata, and how many Wikipedia pages link to them?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username ( COUNT( ?page ) AS ?sitelinkCount ) WHERE {\n  ?item wdt:P2002 ?username .\n  ?page schema:about ?item ; schema:isPartOf ?site .\n  FILTER ( STRSTARTS( STR( ?site ) , \"https://\" ) ) .\n  VALUES ?username {\n    \"splcenter\" \"Viquipedia\" \"natmus_swe\" \"naturhistoriska\"\n  }\n}\nGROUP BY ?item ?username\nORDER BY ASC ( ?sitelinkCount )", "paraphrases": ["What are the Twitter usernames of organizations like the Southern Poverty Law Center and Nationalmuseum, and how many Wikipedia editions feature articles about them?", "List the Twitter handles of the Southern Poverty Law Center, Nationalmuseum, Swedish Museum of Natural History, and Catalan Wikipedia, sorted by the number of Wikipedia language editions that have articles about them."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"slsfinland\" ) ( \"SKS_finlit\" ) ( \"string3\" ) ( \"TheMERL\" ) ( \"RedKite13\" ) ( \"string4\" ) ( \"dn\" ) ( \"KelamWiki\" ) ( \"BrilManon\" ) ( \"sozmethode\" ) ( \"Eliderad\" ) ( \"moppematte\" ) ( \"string5\" ) ( \"SolGamsu\" ) ( \"MFBosworth\" ) ( \"jhoward87\" ) ( \"string6\" ) ( \"Jas_Athwal\" ) ( \"KamRai7\" ) ( \"tombarton\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"splcenter\" ) ( \"IdeK_SE\" ) ( \"Wikipedia\" ) ( \"string11\" ) ( \"OWLinesBot\" ) ( \"DanSpace77\" ) ( \"string12\" ) ( \"smkmuseum\" ) ( \"string13\" ) ( \"NPGLondon\" ) ( \"LenaMStrid\" ) ( \"DJMHarland\" ) ( \"odnb\" ) ( \"string14\" ) ( \"string15\" ) ( \"string16\" ) ( \"string17\" ) ( \"NatMus_SWE\" ) ( \"dunkels\" ) ( \"string18\" ) ( \"opassande\" ) ( \"MichisLeo\" ) ( \"string19\" ) ( \"string20\" ) ( \"string21\" ) ( \"JUc3m\" ) ( \"abc_es\" ) ( \"string22\" ) ( \"EricMorain\" ) ( \"string23\" ) ( \"string24\" ) ( \"string25\" ) ( \"string26\" ) ( \"Viquipedia\" ) ( \"LOSverige\" ) ( \"string27\" ) ( \"string28\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2322", "question": "Which Twitter users (JoyAnnReid, MarkWarner, mindyfinn, kalhan) have the fewest Wikipedia pages linked to their Wikidata entries?", "sparql": "SELECT ?item ?username (COUNT(?sitelink) AS ?sitelinkCount) WHERE { ?item wdt:P2002 ?username . ?sitelink schema:about ?item . VALUES ?username { \"JoyAnnReid\" \"MarkWarner\" \"mindyfinn\" \"kalhan\" } } GROUP BY ?item ?username ORDER BY ASC(?sitelinkCount)", "paraphrases": ["How many Wikipedia articles are linked to the Wikidata items of JoyAnnReid, MarkWarner, mindyfinn, and kalhan, and who has the least?", "List the Twitter usernames of JoyAnnReid, MarkWarner, mindyfinn, and kalhan along with the number of Wikipedia sitelinks each has, sorted from least to most."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"JoyAnnReid\" ) ( \"MarkWarner\" ) ( \"mindyfinn\" ) ( \"Nate_Cohn\" ) ( \"kalhan\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2323", "question": "Labels for November in different languages", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?label WHERE {\n  wd:Q125 rdfs:label ?label .\n}\nLIMIT 10", "paraphrases": ["What are the names of November in various languages?", "Show me how November is written in different languages using its Wikidata label."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q125> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } LIMIT 10"}}
{"id": "test_2324", "question": "Which organizations or people on Twitter have the fewest Wikipedia articles, and what are their Twitter handles?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterHandle ( COUNT( ?sitelink ) AS ?sitelinkCount ) WHERE {\n  ?item wdt:P2002 ?twitterHandle .\n  ?sitelink schema:about ?item ; schema:isPartOf ?wiki .\n  VALUES ?twitterHandle {\n    \"BernieSanders\" \"franceinfo\" \"lemondefr\" \"usairforce\" \"AF_Academy\" \"Paris\" \"afpfr\"\n  }\n}\nGROUP BY ?item ?twitterHandle\nORDER BY ASC ( ?sitelinkCount )", "paraphrases": ["What are the Twitter accounts of entities like Bernie Sanders, France Info, and the U.S. Air Force, sorted by how many language versions of Wikipedia they have articles in?", "List the Twitter usernames for major entities like Paris, Le Monde, and the U.S. Air Force, along with the number of Wikipedia language editions they appear in, ordered from least to most."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"SenSanders\" ) ( \"string2\" ) ( \"morelexplo\" ) ( \"julnour\" ) ( \"afpfr\" ) ( \"string3\" ) ( \"string4\" ) ( \"franceinfo\" ) ( \"lemondefr\" ) ( \"usairforce\" ) ( \"AF_Academy\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"Paris\" ) ( \"string10\" ) ( \"string11\" ) ( \"D7606ART\" ) ( \"string12\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2325", "question": "Items in the Victoria and Albert Museum collection with English descriptions", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P3929 ?id . ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["What are the English labels and descriptions of items in the Victoria and Albert Museum's collection?", "Show me the English names and descriptions of all items from the Victoria and Albert Museum that are in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3929> \"O1260885\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2326", "question": "What are all the properties and values associated with the year 396 AD in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?value WHERE {\n  wd:Q48139 ?property ?value .\n}", "paraphrases": ["Can you list all the information available about the year 396 in Wikidata?", "What does Wikidata say about the year 396?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/396> ?var1 ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2327", "question": "What are the titles of Wikipedia articles about years between 500 and 999 CE, grouped by language?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?year ?language ?title WHERE {\n  ?year wdt:P31 wd:Q577 ; wdt:P585 ?date .\n  FILTER(YEAR(?date) >= 500 && YEAR(?date) < 1000)\n  .\n  ?page schema:about ?year ; schema:inLanguage ?language ; schema:name ?title .\n  FILTER(ISLITERAL(?title) && STRLEN(?title) > 0)\n}\nORDER BY ASC(?language)", "paraphrases": ["Can you list all the Wikipedia page titles for years from 500 to 999, along with the language each page is written in?", "Show me the names and languages of Wikipedia articles that cover individual years in the 6th to 10th centuries."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q577> . ?var1 <http://www.wikidata.org/prop/direct/P585> ?var4 . FILTER ( ( ( YEAR ( ?var4 ) >= \"500\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( YEAR ( ?var4 ) < \"1000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var5 <http://schema.org/about> ?var1 ; <http://schema.org/inLanguage> ?var2 ; <http://schema.org/name> ?var3 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = REPLACE ( REPLACE ( REPLACE ( REPLACE ( REPLACE ( LCASE ( ?var2 ) , \"fr-x-nrm\", \"nrm\" ) , \"jv-x-bms\", \"map-bms\" ) , \"it-x-tara\", \"roa-tara\" ) , \"cbk-x-zam\", \"cbk-zam\" ) , \"en-simple\", \"en\" ) ) ) ) . } FILTER ( ( !( BOUND ( ?var6Label ) ) ) ) . } ORDER BY ASC( ?var2 )"}}
{"id": "test_2328", "question": "Main subjects of Eric Koesema's scientific works, ranked by number of publications.", "sparql": "SELECT ?count ?subjectLabel WHERE { { SELECT ?subject (COUNT(?work) AS ?count) WHERE { ?work wdt:P50 wd:Q30418108 . ?work wdt:P921 ?subject . } GROUP BY ?subject ORDER BY DESC(?count) } ?subject rdfs:label ?subjectLabel . FILTER(LANG(?subjectLabel) = \"en\") }", "paraphrases": ["What are the most common scientific topics in the research papers authored by Eric Koesema?", "Show me how many works Eric Koesema has written on each scientific subject, sorted by popularity."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label WHERE { { SELECT ?var4 ( COUNT ( ?var5 ) AS ?var1 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q30418108> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . } GROUP BY ?var4 ORDER BY DESC( ?var1 ) } BIND ( SUBSTR ( ?var6Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q30418108> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . }"}}
{"id": "test_2329", "question": "List years (not part of the Islamic or Solar Hijri calendars) with their English, Czech, and French labels.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?year ?label_en ?label_cs ?label_fr WHERE {\n  ?year wdt:P31 wd:Q577 .\n  OPTIONAL {\n    ?year rdfs:label ?label_en .\n    FILTER(LANG(?label_en) = \"en\")\n  }\n  OPTIONAL {\n    ?year rdfs:label ?label_cs .\n    FILTER(LANG(?label_cs) = \"cs\")\n  }\n  OPTIONAL {\n    ?year rdfs:label ?label_fr .\n    FILTER(LANG(?label_fr) = \"fr\")\n  } MINUS {\n    ?year wdt:P361 wd:Q950135\n  } MINUS {\n    ?year wdt:P361 wd:Q28892\n  }\n}\nORDER BY ASC(?label_en) ASC(?label_cs)", "paraphrases": ["What are the years in Wikidata that are not part of the Islamic or Persian calendars, and what are their names in English, Czech, and French?", "Show me all individual years (excluding those belonging to the Islamic or Solar Hijri calendars), along with their labels in English, Czech, and French, sorted alphabetically by English and then Czech label."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q577> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"cs\" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"fr\" ) ) ) . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q950135> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q28892> . } } ORDER BY ASC( ?var2 )ASC( ?var3 )"}}
{"id": "test_2330", "question": "Events with their locations, start times, and occurrence dates", "sparql": "SELECT ?event ?eventLabel ?location ?startTime ?pointInTime WHERE { ?event wdt:P31 wd:Q1656682 ; wdt:P625 ?location . OPTIONAL { ?event wdt:P580 ?startTime . } OPTIONAL { ?event wdt:P585 ?pointInTime . } ?event rdfs:label ?eventLabel . FILTER(LANG(?eventLabel) = \"en\") } LIMIT 100", "paraphrases": ["What are some events, where did they happen, and when did they start or occur?", "Show me a list of events with their geographic coordinates and, if available, their start time or the time they took place, in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1656682> ; <http://www.wikidata.org/prop/direct/P625> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P580> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P585> ?var4 . } } LIMIT 100"}}
{"id": "test_2331", "question": "What is the most specific category that both Germany and Sweden belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?type WHERE {\n  wd:Q183 wdt:P31 ?type .\n  wd:Q34 wdt:P31 ?type .\n}\nLIMIT 1", "paraphrases": ["What type do Germany and Sweden have in common in Wikidata?", "Which classification applies to both Germany and Sweden as sovereign entities?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q183> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q34> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2332", "question": "Which of these Twitter accounts (EFF, Wikimedia, Wikipedia, neiltyson, etc.) have the fewest Wikipedia language links?", "sparql": "SELECT ?item ?username (COUNT(?sitelink) AS ?sitelinkCount) WHERE { ?item wdt:P2002 ?username . ?sitelink schema:about ?item ; schema:isPartOf ?wiki . VALUES ?username { \"JavaMajor\" \"string1\" \"string2\" \"string3\" \"string4\" \"string5\" \"manchettes\" \"dicare_org\" \"Uju_SO\" \"lucyfedia\" \"lenazun\" \"dbader_org\" \"Patafisik\" \"string6\" \"string7\" \"DandumontP\" \"Defense137\" \"apnmair\" \"amv_ac\" \"mikejwitz\" \"string8\" \"EFF\" \"fnielsen\" \"string9\" \"Wikipedia\" \"LadaNiva\" \"string10\" \"string11\" \"mjg59\" \"CREWcrew\" \"haikatte\" \"TomNarvalo\" \"string12\" \"string13\" \"string14\" \"string15\" \"TouitTouit\" \"01net\" \"AHurlimann\" \"snips\" \"benestaar\" \"LabOuvGre\" \"string16\" \"string17\" \"geekezig\" \"HatInTime\" \"Wikimedia\" \"string18\" \"rvedotrc\" \"Wikidata\" \"tr13ze\" \"string19\" \"string20\" \"LateefSaka\" \"leojoubert\" \"looniverse\" \"neiltyson\" } } GROUP BY ?item ?username ORDER BY ASC(?sitelinkCount)", "paraphrases": ["Among the listed Twitter usernames, which entities have the smallest number of Wikipedia articles linked to them, and in what order?", "List the entities corresponding to these Twitter handles \u2014 like EFF, Wikimedia, and neiltyson \u2014 sorted by how many Wikipedia language versions link to them, from least to most."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"JavaMajor\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"manchettes\" ) ( \"dicare_org\" ) ( \"Uju_SO\" ) ( \"lucyfedia\" ) ( \"lenazun\" ) ( \"dbader_org\" ) ( \"Patafisik\" ) ( \"string6\" ) ( \"string7\" ) ( \"DandumontP\" ) ( \"Defense137\" ) ( \"apnmair\" ) ( \"amv_ac\" ) ( \"mikejwitz\" ) ( \"string8\" ) ( \"EFF\" ) ( \"fnielsen\" ) ( \"string9\" ) ( \"Wikipedia\" ) ( \"LadaNiva\" ) ( \"string10\" ) ( \"string11\" ) ( \"mjg59\" ) ( \"CREWcrew\" ) ( \"haikatte\" ) ( \"TomNarvalo\" ) ( \"string12\" ) ( \"string13\" ) ( \"string14\" ) ( \"string15\" ) ( \"TouitTouit\" ) ( \"01net\" ) ( \"AHurlimann\" ) ( \"snips\" ) ( \"benestaar\" ) ( \"LabOuvGre\" ) ( \"string16\" ) ( \"string17\" ) ( \"geekezig\" ) ( \"HatInTime\" ) ( \"Wikimedia\" ) ( \"string18\" ) ( \"rvedotrc\" ) ( \"Wikidata\" ) ( \"tr13ze\" ) ( \"string19\" ) ( \"string20\" ) ( \"LateefSaka\" ) ( \"leojoubert\" ) ( \"looniverse\" ) ( \"neiltyson\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2333", "question": "Things named after Mustafa Mahmoud", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P138 wd:Q968721 .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["What asteroid is named after the Egyptian scientist Mustafa Mahmoud?", "List all entities that have been named in honor of Mustafa Mahmoud."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P138> <http://www.wikidata.org/entity/Q968721> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_2334", "question": "What items were created, published, discovered, or officially opened in 2022?", "sparql": "SELECT DISTINCT ?item WHERE { ?item (wdt:P571 | wdt:P575 | wdt:P577 | wdt:P1619) ?date . FILTER ( ?date >= \"2022-01-01T00:00:00Z\"^^xsd:dateTime && ?date <= \"2022-12-31T23:59:59Z\"^^xsd:dateTime ) }", "paraphrases": ["Which entities in Wikidata have a date of inception, publication, discovery, or official opening in the year 2022?", "List all entities (such as works, organizations, or inventions) that were founded, published, discovered, or officially opened between January 1 and December 31, 2022."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P571> | <http://www.wikidata.org/prop/direct/P575> | <http://www.wikidata.org/prop/direct/P577> | <http://www.wikidata.org/prop/direct/P1619> ) ?var2 . FILTER ( ( ( ?var2 >= \"22-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"22-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_2335", "question": "How many artists in the Belvedere Gallery were born in each year?", "sparql": "SELECT ?year (COUNT(?artist) AS ?count) WHERE { ?artist wdt:P3421 ?belvedereId ; wdt:P569 ?birthDate . BIND(YEAR(?birthDate) AS ?year) } GROUP BY ?year ORDER BY ?year", "paraphrases": ["Can you show the distribution of birth years among artists listed in the \u00d6sterreichische Galerie Belvedere?", "What is the count of Belvedere artists grouped by their birth year?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { BIND ( YEAR ( ?var4 ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P3421> [] ; <http://www.wikidata.org/prop/direct/P569> ?var4 . } GROUP BY ?var1"}}
{"id": "test_2336", "question": "Paintings with RKDimages IDs", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?painting ?rkdId WHERE {\n  ?painting wdt:P31 wd:Q3305213 .\n  ?painting wdt:P350 ?rkdId .\n}\nLIMIT 10", "paraphrases": ["Which paintings are listed in the RKDimages database, and what are their IDs?", "List the paintings from the RKDimages database along with their corresponding identifiers."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { <http://www.wikidata.org/entity/P350> <http://www.wikidata.org/prop/direct/P1630> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P350> ?var2 . } LIMIT 10"}}
{"id": "test_2337", "question": "Who is the artist with the RKDartists ID 217789?", "sparql": "SELECT ?artist ?artistLabel WHERE { ?artist wdt:P650 \"217789\" . ?artist rdfs:label ?artistLabel . FILTER(LANG(?artistLabel) = \"en\") }", "paraphrases": ["Artist with RKDartists ID 217789", "Tell me the name of the artist identified by RKDartists ID 217789."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P650> \"217789\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,en\". } }"}}
{"id": "test_2338", "question": "Who are the members of the Royal Academy of Arts?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?member ?memberLabel WHERE {\n  ?member wdt:P463 wd:Q270920 .\n  ?member rdfs:label ?memberLabel .\n  FILTER(LANG(?memberLabel) = \"en\")\n}", "paraphrases": ["List of people who are members of the Royal Academy of Arts", "Can you provide the names of all individuals who are members of the Royal Academy of Arts in London?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q270920> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_2339", "question": "People who are members of the Royal Academy of Arts and have both an RA Collections ID and an Oxford Dictionary of National Biography ID.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P4553 [] ; wdt:P1415 [] ; wdt:P463 wd:Q270920 .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}", "paraphrases": ["Who are the members of the Royal Academy of Arts that are listed in both the RA collections database and the Oxford Dictionary of National Biography?", "List all artists or academics who were members of the Royal Academy of Arts and have biographies in the Oxford Dictionary of National Biography, along with their RA collection identifiers."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4553> [] ; <http://www.wikidata.org/prop/direct/P1415> [] ; <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q270920> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_2340", "question": "Images or artworks depicting Anders Fredrik Skj\u00f6ldebrand", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P180 wd:Q3352340 .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel FILTER ( LANG( ?itemLabel ) = 'en' )\n  }\n}", "paraphrases": ["What painting shows Anders Fredrik Skj\u00f6ldebrand?", "Show me the artwork that features Anders Fredrik Skj\u00f6ldebrand as the subject."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/P180> ?var2 . ?var2 <http://www.wikidata.org/prop/statement/P180> <http://www.wikidata.org/entity/Q3352340> . } LIMIT 101"}}
{"id": "test_2341", "question": "What are Claude Monet\u2019s occupation, birth and death dates, nationality, and place of birth?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?propertyLabel ?value WHERE {\n  {\n    wd:Q296 ?property ?value .\n    FILTER ( ?property IN ( wdt:P106 , wdt:P569 , wdt:P570 , wdt:P27 , wdt:P19 ) ) .\n    BIND( IRI( REPLACE( STR( ?property ) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\" ) ) AS ?propEntity ) .\n    ?propEntity rdfs:label ?propertyLabel .\n    FILTER ( LANG( ?propertyLabel ) = \"en\" )\n  } UNION {\n    wd:Q296 schema:description ?value .\n    FILTER ( LANG( ?value ) != \"\" ) .\n    BIND( \"Description\" AS ?propertyLabel )\n  }\n}\nORDER BY ?propertyLabel", "paraphrases": ["What key facts are known about the French painter Claude Monet, including his occupation and biographical details?", "Show me the main properties and multilingual descriptions for Claude Monet from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q296> ?var1 ?var2 . }"}}
{"id": "test_2342", "question": "Dutch labels and Wikipedia page titles for years Before Christ in Wikidata.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?year ?dutchLabel ?dutchPageTitle WHERE {\n  ?year wdt:P31 wd:Q29964144 .\n  ?year rdfs:label ?dutchLabel .\n  FILTER(LANG(?dutchLabel) = \"nl\")\n  OPTIONAL {\n    ?dutchPage schema:about ?year ; schema:inLanguage \"nl\" ; schema:name ?dutchPageTitle .\n  }\n}\nORDER BY ASC(?dutchLabel)", "paraphrases": ["What are the Dutch-language labels for years Before Christ, and what are their corresponding Dutch Wikipedia page titles?", "Show me all BC years with their Dutch labels and, if available, the Dutch Wikipedia page titles."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q29964144> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"nl\" ) ) ) . OPTIONAL { ?var4 <http://schema.org/about> ?var1 ; <http://schema.org/inLanguage> \"nl\"; <http://schema.org/name> ?var3 . } } ORDER BY ASC( ?var2Label )"}}
{"id": "test_2343", "question": "What are the works authored by Mike Lynch, including their types, publication dates, number of pages, and where they were published?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT(MIN(?publicationDateFormatted) AS ?earliestDate) ?work ?workLabel(GROUP_CONCAT(DISTINCT ?typeLabel ; SEPARATOR = \", \") AS ?types)(SAMPLE(?pages) AS ?numberOfPages) ?publishedIn ?publishedInLabel(GROUP_CONCAT(DISTINCT ?authorLabel ; SEPARATOR = \", \") AS ?authorNames) WHERE {\n  ?work wdt:P50 wd:Q6847732 .\n  OPTIONAL {\n    ?work rdfs:label ?workLabel .\n    FILTER(LANG(?workLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?work wdt:P31 ?type .\n    ?type rdfs:label ?typeLabel .\n    FILTER(LANG(?typeLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?work wdt:P577 ?publicationDate .\n    BIND(xsd:date(?publicationDate) AS ?publicationDateFormatted)\n  }\n  OPTIONAL {\n    ?work wdt:P1104 ?pages\n  }\n  OPTIONAL {\n    ?work wdt:P1433 ?publishedIn .\n    ?publishedIn rdfs:label ?publishedInLabel .\n    FILTER(LANG(?publishedInLabel) = \"en\")\n  }\n  wd:Q6847732 rdfs:label ?authorLabel .\n  FILTER(LANG(?authorLabel) = \"en\")\n}\nGROUP BY ?work ?workLabel ?publishedIn ?publishedInLabel\nORDER BY DESC(?earliestDate)", "paraphrases": ["Show the earliest published work by Mike Lynch, along with its type, publication venue, and author name.", "List all publications by Mike Lynch, grouped by the book or journal they appeared in, and include their publication date, type, and page count."], "info": {"raw_sparql": "SELECT( MIN ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ( GROUP_CONCAT ( DISTINCT ?var4Label ; SEPARATOR = \", \" ) AS ?var5 )( SAMPLE ( ?var6 ) AS ?var7 ) ?var8 ?var8Label ( GROUP_CONCAT ( DISTINCT ?var9Label ; SEPARATOR = \", \" ) AS ?var10 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q6847732> . ?var3 <http://www.wikidata.org/prop/direct/P50> ?var11 . OPTIONAL { ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12 . FILTER ( ( ( LANG ( ?var12 ) = \"en\" ) ) ) . } BIND ( COALESCE ( ?var12 , SUBSTR ( STR ( ?var11 ) ,\"32\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var9Label ). OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . } OPTIONAL { BIND ( <http://www.w3.org/2001/XMLSchema#date> ( ?var13 ) AS ?var1 ). ?var3 <http://www.wikidata.org/prop/direct/P577> ?var13 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1104> ?var6 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,no,ru,sv,zh\". } } GROUP BY ?var3 ?var3Label ?var8 ?var8Label ORDER BY DESC( ?var2 )"}}
{"id": "test_2344", "question": "Who is the artist with Belvedere Gallery ID 2099, and what is their English description?", "sparql": "SELECT ?artist ?artistLabel ?description WHERE { ?artist wdt:P3421 \"2099\" . OPTIONAL { ?artist rdfs:label ?artistLabel . FILTER (LANG(?artistLabel) = \"en\") } OPTIONAL { ?artist schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["What is the name and English description of the artist identified by the Belvedere artist ID 2099?", "Please provide the English name and description of the artist whose Belvedere Gallery ID is 2099."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3421> \"2099\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2345", "question": "Public art in Espoo with location descriptions and coordinates", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT DISTINCT ?art ?artId ?artLabel ?directions ?year ?lat ?lon WHERE {\n  ?art wdt:P131 wd:Q47034 .\n  ?art wdt:P136 wd:Q557141 .\n  OPTIONAL {\n    ?art wdt:P2795 ?directions .\n  }\n  OPTIONAL {\n    ?art wdt:P571 ?inception .\n    BIND( STR( YEAR( ?inception ) ) AS ?year )\n  }\n  OPTIONAL {\n    ?art p:P625 ?statement .\n    ?statement psv:P625 ?node .\n    ?node wikibase:geoLatitude ?lat ; wikibase:geoLongitude ?lon .\n  }\n  OPTIONAL {\n    ?art rdfs:label ?artLabel .\n    FILTER ( LANG( ?artLabel ) = \"fi\" )\n  }\n  BIND( SUBSTR( STR( ?art ) , 32 ) AS ?artId )\n}\nORDER BY ASC ( ?artLabel )\nLIMIT 100", "paraphrases": ["What public artworks are located in Espoo, and where are they situated?", "List the public art pieces in Espoo, including their Finnish names, installation years, and geographic coordinates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ( SUBSTR ( STR ( ?var1 ) ,\"32\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"250\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var2 ) ?var1Label ?var3 ?var4Label ?var5Label ?var6Label ?var7Label ?var8Label ?var9 ?var10 ?var11Label ?var12 ?var13 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q47034> . ?var1 ( <http://www.wikidata.org/prop/direct/P136> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q557141> . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var4 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P170> ?var11 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var13 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/P625> ?var14 . ?var14 <http://www.wikidata.org/prop/statement/value/P625> ?var15 . ?var15 <http://wikiba.se/ontology#geoLatitude> ?var9 . ?var15 <http://wikiba.se/ontology#geoLongitude> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2795> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q856076> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var6 . ?var6 <http://www.wikidata.org/prop/direct/P31> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P276> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/706> ?var8 . } OPTIONAL { BIND ( STR ( YEAR ( ?var16 ) ) AS ?var12 ). ?var1 <http://www.wikidata.org/prop/direct/P571> ?var16 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fi\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_2346", "question": "Female painters with identifiers from the National Gallery of Victoria, Tate, Artnet, and MoMA.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?painter ?painterLabel ?ngvId ?tateId ?artnetId ?momaId WHERE {\n  ?painter wdt:P106 wd:Q1028181 .\n  ?painter wdt:P21 wd:Q6581072 .\n  OPTIONAL {\n    ?painter wdt:P2041 ?ngvId .\n  }\n  OPTIONAL {\n    ?painter wdt:P2741 ?tateId .\n  }\n  OPTIONAL {\n    ?painter wdt:P3782 ?artnetId .\n  }\n  OPTIONAL {\n    ?painter wdt:P2174 ?momaId .\n  }\n  ?painter rdfs:label ?painterLabel .\n  FILTER ( LANG( ?painterLabel ) = \"en\" )\n}", "paraphrases": ["Who are the female painters in Wikidata, and what are their IDs in the National Gallery of Victoria, Tate, Artnet, and Museum of Modern Art databases?", "List all female painters along with their English names and their corresponding IDs in the NGV, Tate, Artnet, and MoMA art databases."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1028181> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2041> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2741> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3782> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2174> ?var5 . } }"}}
{"id": "test_2347", "question": "List artists and their Web Gallery of Art IDs.", "sparql": "SELECT ?artist ?wgaId WHERE { ?artist wdt:P1882 ?wgaId . } LIMIT 100", "paraphrases": ["Which artists have identifiers in the Web Gallery of Art, and what are those IDs?", "Can you show me a list of artists along with their corresponding Web Gallery of Art artist IDs?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1882> ?var2 . } LIMIT 100"}}
{"id": "test_2348", "question": "What properties about Pablo Picasso have Russian labels and descriptions?", "sparql": "SELECT ?property ?propertyLabel ?propertyDescription WHERE { wd:Q5593 ?directProp ?value . ?property wikibase:directClaim ?directProp . ?property rdf:type wikibase:Property . ?property rdfs:label ?propertyLabel . ?property schema:description ?propertyDescription . FILTER(LANG(?propertyLabel) = \"ru\") FILTER(LANG(?propertyDescription) = \"ru\") } LIMIT 100", "paraphrases": ["Can you list the Russian-language labels and descriptions of all properties used in statements about Pablo Picasso?", "Show me the Russian names and definitions of the properties that describe Pablo Picasso on Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q5593> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"ru\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"ru\" ) ) ) . } LIMIT 100"}}
{"id": "test_2349", "question": "Artists with both Getty ULAN ID and RKDartists ID", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?artist ?artistLabel WHERE {\n  ?artist wdt:P245 ?ulanId .\n  ?artist wdt:P650 ?rkdId .\n  ?artist rdfs:label ?artistLabel .\n  FILTER(LANG(?artistLabel) = \"en\")\n}", "paraphrases": ["Which artists have identifiers in both the Getty Union List of Artist Names and the RKDartists database?", "List the English names of artists who are listed in both the Getty ULAN and RKDartists databases."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P245> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P650> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,en\". } }"}}
{"id": "test_2350", "question": "What are all the Library of Congress Control Numbers (LCCNs) used in Wikidata for bibliographic entries?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?lccn WHERE {\n  ?item wdt:P1144 ?lccn .\n  FILTER(isLiteral(?lccn))\n  FILTER(! STRSTARTS(STR(?lccn) , \"_:\"))\n}", "paraphrases": ["Can you show me the list of unique LCCN identifiers assigned to books and publications in Wikidata?", "Which LCCN values are present in Wikidata\u2019s bibliographic data, excluding any invalid or placeholder entries?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P1144> ?var1 . } GROUP BY ?var1"}}
{"id": "test_2351", "question": "Natura 2000 sites in Latvia with their IDs and English names", "sparql": "SELECT ?area ?areaLabel ?naturaId WHERE { ?area wdt:P3425 ?naturaId . ?area wdt:P17 wd:Q211 . ?area rdfs:label ?areaLabel . FILTER(LANG(?areaLabel) = \"en\") }", "paraphrases": ["What are the English names and Natura 2000 IDs of protected areas in Latvia?", "List all Natura 2000 protected areas in Latvia, including their official IDs and English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3425> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q211> . }"}}
{"id": "test_2352", "question": "Which direct claim property is most commonly linked to properties used to reference the Art UK painters database?", "sparql": "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ( COUNT( ?property ) AS ?count ) WHERE {\n  ?subject ?statementProperty wd:Q19847649 .\n  ?property wikibase:directClaim ?statementProperty .\n  ?property rdf:type wikibase:Property .\n}\nGROUP BY ?property\nORDER BY DESC ( ?count )\nLIMIT 1", "paraphrases": ["What property in Wikidata is the direct claim target for the most properties that link to the Art UK painters database?", "Find the Wikidata property that serves as the direct claim for the property most frequently used to connect items to the Art UK painters database."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q19847649> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_2353", "question": "What are the common ancestor categories in the Wikidata hierarchy between Algeria and Native Americans in the United States?", "sparql": "SELECT ?ancestor WHERE { wd:Q262 wdt:P31 ?c1 . wd:Q49297 wdt:P31 ?c2 . ?c1 wdt:P279* ?ancestor . ?c2 wdt:P279* ?ancestor . } LIMIT 10", "paraphrases": ["Is there any shared superclass in Wikidata that connects Algeria and Native Americans through their class hierarchies?", "What is the most specific category that both Algeria and Native Americans belong to, based on their class relationships?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q262> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q49297> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2354", "question": "Which Wikidata items have Twitter usernames like \"Wikimedia\", \"firefox\", or \"EP_Legal\", sorted by how many language versions of their Wikipedia pages exist?", "sparql": "SELECT ?item ?twitterHandle (COUNT(?sitelink) AS ?sitelinkCount) WHERE { ?item wdt:P2002 ?twitterHandle . ?sitelink schema:about ?item . VALUES ?twitterHandle { \"envlh\" \"unescoNOW\" \"Wikimedia\" \"Unesco_fr\" \"Wikipedia\" \"lully1804\" \"string1\" \"firefox\" \"string2\" \"EP_Legal\" } } GROUP BY ?item ?twitterHandle ORDER BY ASC (?sitelinkCount)", "paraphrases": ["What are the Twitter accounts of organizations and people in Wikidata for handles such as \"Wikimedia\", \"firefox\", and \"EP_Legal\", and how popular are they based on the number of Wikipedia language editions?", "List the Wikidata items associated with the Twitter handles \"envlh\", \"unescoNOW\", \"Wikimedia\", \"Unesco_fr\", \"Wikipedia\", \"lully1804\", \"firefox\", and \"EP_Legal\", ordered by the number of Wikipedia language versions they have."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"unescoNOW\" ) ( \"Wikimedia\" ) ( \"Unesco_fr\" ) ( \"Wikipedia\" ) ( \"lully1804\" ) ( \"string1\" ) ( \"firefox\" ) ( \"string2\" ) ( \"EP_Legal\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2355", "question": "What are the common categories that both Algeria and Iceland belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonClass WHERE {\n  wd:Q262 wdt:P31 ?commonClass .\n  wd:Q189 wdt:P31 ?commonClass .\n}", "paraphrases": ["Which is the most specific category that both Algeria and Iceland are instances of?", "What class do Algeria and Iceland share that best describes them both?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q262> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q189> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2356", "question": "Publication years and first 20 characters of English titles of works by Danish literary historian Aage J\u00f8rgensen.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?year ?titleSnippet WHERE {\n  ?work wdt:P50 wd:Q12300200 .\n  ?work wdt:P577 ?date .\n  BIND( YEAR( ?date ) AS ?year ) .\n  ?work rdfs:label ?title .\n  FILTER ( LANG( ?title ) = \"en\" ) .\n  BIND( SUBSTR( ?title , 1 , 20 ) AS ?titleSnippet )\n}\nORDER BY ?year", "paraphrases": ["What are the publication years and shortened English titles (first 20 characters) of books written by Aage J\u00f8rgensen?", "List the years and the beginning parts of the English titles of all works authored by Aage J\u00f8rgensen, sorted chronologically."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label WHERE { { SELECT ?var1 ( SAMPLE ( ?var4 ) AS ?var2 ) ?var3Label WHERE { { SELECT( STR ( ?var5 ) AS ?var1 )( \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var4 )( \"_\" AS ?var3Label ) WHERE { BIND ( YEAR ( ?var6 ) AS ?var5 ). ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q577> . ?var7 <http://www.wikidata.org/prop/direct/P585> ?var6 . { SELECT( MIN ( ?var5 ) AS ?var8 )( MAX ( ?var5 ) AS ?var9 ) WHERE { BIND ( YEAR ( ?var10 ) AS ?var5 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q12300200> . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var10 . } } FILTER ( ( ( ?var5 >= ?var8 ) && ( ?var5 <= ?var9 ) ) ) . } } UNION { BIND ( SUBSTR ( ?var12Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"20\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q12300200> . ?var11 <http://www.wikidata.org/prop/direct/P1104> ?var4 . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var6 . ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12Label . FILTER ( ( ( LANG ( ?var12Label ) = \"en\" ) ) ) . } } GROUP BY ?var1 ?var11 ?var3Label ORDER BY ASC( ?var1 ) } }"}}
{"id": "test_2357", "question": "Works authored by Lydia Pintscher, ordered by publication date, with co-authors", "sparql": "SELECT (MIN(?pubDate) AS ?earliestPubDate) ?work ?workLabel (GROUP_CONCAT(DISTINCT ?authorLabel; SEPARATOR=\", \") AS ?allAuthors) WHERE { ?work wdt:P50 wd:Q18016466 . ?work wdt:P50 ?author . OPTIONAL { ?work wdt:P577 ?pubDateRaw . BIND(xsd:date(?pubDateRaw) AS ?pubDate) } ?work rdfs:label ?workLabel . FILTER(LANG(?workLabel) = \"en\") . ?author rdfs:label ?authorLabel . FILTER(LANG(?authorLabel) = \"en\") } GROUP BY ?work ?workLabel ORDER BY DESC(?earliestPubDate)", "paraphrases": ["What are all the works written by Lydia Pintscher, and who are the co-authors of each, listed from oldest to newest?", "List all publications by Lydia Pintscher, including their publication dates and all authors, sorted by the earliest publication date first."], "info": {"raw_sparql": "SELECT( MIN ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ( GROUP_CONCAT ( DISTINCT ?var4Label ; SEPARATOR = \", \" ) AS ?var5 )( SAMPLE ( ?var6 ) AS ?var7 ) ?var8 ?var8Label ( GROUP_CONCAT ( DISTINCT ?var9Label ; SEPARATOR = \", \" ) AS ?var10 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q18016466> . ?var3 <http://www.wikidata.org/prop/direct/P50> ?var11 . OPTIONAL { ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12 . FILTER ( ( ( LANG ( ?var12 ) = \"en\" ) ) ) . } BIND ( COALESCE ( ?var12 , SUBSTR ( STR ( ?var11 ) ,\"32\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var9Label ). OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . } OPTIONAL { BIND ( <http://www.w3.org/2001/XMLSchema#date> ( ?var13 ) AS ?var1 ). ?var3 <http://www.wikidata.org/prop/direct/P577> ?var13 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1104> ?var6 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,no,ru,sv,zh\". } } GROUP BY ?var3 ?var3Label ?var8 ?var8Label ORDER BY DESC( ?var2 )"}}
{"id": "test_2358", "question": "What are the top publication venues for Hossein Yazdani, and how many works did he publish in each?", "sparql": "SELECT ?publication ?publicationLabel (COUNT(?work) AS ?count)\nWHERE {\n  ?work wdt:P50 wd:Q48630742 .\n  ?work wdt:P1433 ?publication .\n  ?publication rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    ?publication wdt:P1813 ?shortName .\n  }\n  BIND(COALESCE(?shortName, ?label) AS ?publicationLabel)\n}\nGROUP BY ?publication ?publicationLabel\nORDER BY DESC(?count)", "paraphrases": ["In which journals, conferences, or books has Hossein Yazdani published the most, and how many publications does he have in each?", "Show me the English labels of the publication venues where Hossein Yazdani has published, using abbreviations if available, and count how many of his works appeared in each, sorted by frequency descending."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q48630742> . ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1813> ?var6 . } BIND ( COALESCE ( ?var6 , ?var5Label ) AS ?var2Label ). } GROUP BY ?var1 ?var2Label ORDER BY DESC( ?var4 )"}}
{"id": "test_2359", "question": "Which Wikidata item has the Twitter username \"sgtpembry\", and how many Wikipedia language editions cover it?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterUsername(COUNT(?site) AS ?sitelinks) WHERE {\n  ?item wdt:P2002 ?twitterUsername .\n  FILTER(?twitterUsername = \"sgtpembry\")\n  .\n  ?site schema:about ?item .\n  FILTER(CONTAINS(STR(?site) , \"wikipedia\"))\n}\nGROUP BY ?item ?twitterUsername\nORDER BY DESC(?sitelinks)", "paraphrases": ["Who is the person with the Twitter handle sgtpembry, and on how many Wikipedias is their article available?", "Show me the entity linked to the Twitter username sgtpembry and the number of Wikipedia sites it appears on, sorted by popularity."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"sgtpembry\" ) ( \"string1\" ) ( \"string2\" ) ( \"ARTHOK_EPM\" ) ( \"string3\" ) ( \"JeanHugon3\" ) ( \"xertueN\" ) ( \"string4\" ) ( \"drek34\" ) ( \"string5\" ) ( \"string6\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2360", "question": "Who are the artists and writers associated with the Romanticism movement?", "sparql": "SELECT ?item WHERE { ?item wdt:P135 wd:Q37068 }", "paraphrases": ["What works or individuals are linked to Romanticism as part of its artistic movement?", "List all cultural works and figures connected to the Romantic era."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q37068> <http://www.wikidata.org/prop/direct/Q11993457> ?var1 . }"}}
{"id": "test_2361", "question": "What are the main subjects of works authored by Hans Krebs, and how many works are there for each?", "sparql": "SELECT ?count ?subjectLabel WHERE { { SELECT ?subject (COUNT(?work) AS ?count) WHERE { ?work wdt:P50 wd:Q57191 . ?work wdt:P921 ?subject . } GROUP BY ?subject ORDER BY DESC(?count) } ?subject rdfs:label ?subjectLabel . FILTER(LANG(?subjectLabel) = \"en\") }", "paraphrases": ["Which biochemical topics did Hans Krebs write about most frequently, and how many publications cover each topic?", "List the main subjects of Hans Krebs\u2019s scientific works, ranked by how many works mention each subject, with English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label WHERE { { SELECT ?var4 ( COUNT ( ?var5 ) AS ?var1 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q57191> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . } GROUP BY ?var4 ORDER BY DESC( ?var1 ) } BIND ( SUBSTR ( ?var6Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q57191> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . }"}}
{"id": "test_2362", "question": "Which Wikidata entities have the Twitter/X usernames afpfr, CroixRouge, Prefet62, Prefet92, or YouTube?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity ?twitterHandle WHERE {\n  ?entity wdt:P2002 ?twitterHandle .\n  VALUES ?twitterHandle {\n    \"afpfr\" \"CroixRouge\" \"Prefet62\" \"Prefet92\" \"YouTube\"\n  }\n}", "paraphrases": ["Who are the organizations or entities on Wikidata that use afpfr, CroixRouge, Prefet62, Prefet92, or YouTube as their X (Twitter) handle?", "List the Wikidata items and their corresponding X (Twitter) usernames for the handles: afpfr, CroixRouge, Prefet62, Prefet92, and YouTube."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"CroixRouge\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"Prefet92\" ) ( \"KrissLJ\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"YouTube\" ) ( \"string9\" ) ( \"Prefet62\" ) ( \"calaisport\" ) ( \"ElsaBezin\" ) ( \"string10\" ) ( \"M6info\" ) ( \"croixrouge\" ) ( \"m6info\" ) ( \"afpfr\" ) } }"}}
{"id": "test_2363", "question": "Which Wikidata item has the Twitter username \"jdlrobson\", and how many Wikipedia sitelinks does it have?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username ( COUNT( ?sitelink ) AS ?sitelinkCount ) WHERE {\n  ?item wdt:P2002 ?username .\n  ?sitelink schema:about ?item ; schema:isPartOf ?site .\n  VALUES ?username {\n    \"jdlrobson\"\n  }\n}\nGROUP BY ?item ?username\nORDER BY ASC ( ?sitelinkCount )", "paraphrases": ["Who is the person on Wikidata with the Twitter handle jdlrobson, and how many language versions of Wikipedia link to their page?", "Show me the Wikidata entity linked to the Twitter username jdlrobson, along with the number of Wikipedia sites that reference it, sorted by the smallest number of links."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"itwiki\" ) ( \"DivaDanese\" ) ( \"string5\" ) ( \"karounos\" ) ( \"string6\" ) ( \"inmannews\" ) ( \"elainekmao\" ) ( \"Rdio\" ) ( \"CUSEAS\" ) ( \"string7\" ) ( \"snoovatar\" ) ( \"munafassaf\" ) ( \"jdlrobson\" ) ( \"lukeism\" ) ( \"string8\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2364", "question": "MoMA artists, their work locations, and coordinates", "sparql": "SELECT ?artist ?artistLabel ?momaId ?location ?locationLabel ?coordinates WHERE { ?artist wdt:P2174 ?momaId ; wdt:P937 ?location . ?location wdt:P625 ?coordinates . ?artist rdfs:label ?artistLabel . ?location rdfs:label ?locationLabel . FILTER(LANG(?artistLabel) = \"en\") FILTER(LANG(?locationLabel) = \"en\") }", "paraphrases": ["Which artists have a Museum of Modern Art ID, and where did they work, along with the geographic coordinates of those places?", "Show me a list of artists with their MoMA artist IDs, the cities where they were active, and the GPS coordinates of those cities."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2174> ?var2 ; <http://www.wikidata.org/prop/direct/P937> ?var3 ; ( <http://www.wikidata.org/prop/direct/P937> */ <http://www.wikidata.org/prop/direct/P625> */ <http://www.wikidata.org/prop/direct/P279> *) ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2365", "question": "Georg Wilhelm Friedrich Hegel name and type", "sparql": "SELECT ?itemName ?instanceLabel WHERE { wd:Q9235 rdfs:label ?itemName . wd:Q9235 wdt:P31 ?instance . ?instance rdfs:label ?instanceLabel . FILTER(LANG(?itemName) = \"en\") FILTER(LANG(?instanceLabel) = \"en\") } LIMIT 100", "paraphrases": ["What is the English name of Georg Wilhelm Friedrich Hegel and what type of entity is he?", "Show me the English name and instance type of Georg Wilhelm Friedrich Hegel."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var3Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1705> ?var2Label . } <http://www.wikidata.org/entity/Q9235> <http://www.wikidata.org/prop/direct/P31> ?var3 . } LIMIT 100"}}
{"id": "test_2366", "question": "MoMA artists born in Europe and died in North America", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?momaId ?artistLabel ?birthDate ?deathDate ?birthContinentLabel ?deathContinentLabel WHERE {\n  ?artist wdt:P2174 ?momaId ; wdt:P569 ?birthDate ; wdt:P570 ?deathDate ; wdt:P19 / wdt:P30 ?birthContinent ; wdt:P20 / wdt:P30 ?deathContinent .\n  FILTER(?birthContinent = wd:Q46)\n  FILTER(?deathContinent = wd:Q49)\n  ?artist rdfs:label ?artistLabel .\n  ?birthContinent rdfs:label ?birthContinentLabel .\n  ?deathContinent rdfs:label ?deathContinentLabel .\n  FILTER(LANG(?artistLabel) = \"en\")\n  FILTER(LANG(?birthContinentLabel) = \"en\")\n  FILTER(LANG(?deathContinentLabel) = \"en\")\n}", "paraphrases": ["Which artists in the Museum of Modern Art were born in Europe but died in North America?", "List all Museum of Modern Art artists who emigrated from Europe to North America and passed away there."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label ?var4Label ?var5Label ?var6Label ?var7Label ?var8Label WHERE { { ?var2 <http://www.wikidata.org/prop/direct/P2174> ?var1 ; <http://www.wikidata.org/prop/direct/P569> ?var3 ; ( <http://www.wikidata.org/prop/direct/P19> / <http://www.wikidata.org/prop/direct/P30> ) ?var5 ; <http://www.wikidata.org/prop/direct/P570> ?var6 ; ( <http://www.wikidata.org/prop/direct/P19> / <http://www.wikidata.org/prop/direct/P30> ) ?var8 . FILTER ( ( ( ?var5 = <http://www.wikidata.org/entity/Q46> ) ) ) . FILTER ( ( ( ?var8 = <http://www.wikidata.org/entity/Q49> ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_2367", "question": "Publication years and titles of works by Clare Hartwell, sorted chronologically.", "sparql": "SELECT ?year ?title WHERE { ?work wdt:P50 wd:Q42720207 ; wdt:P577 ?publicationDate ; rdfs:label ?label . FILTER(LANG(?label) = \"en\") BIND(YEAR(?publicationDate) AS ?year) BIND(SUBSTR(?label, 1, 20) AS ?title) } ORDER BY ?year", "paraphrases": ["What are the publication years and shortened titles (first 20 characters) of books written by Clare Hartwell?", "List the years and first 20 characters of the English titles of all works authored by Clare Hartwell, ordered by year."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label WHERE { { SELECT ?var1 ( SAMPLE ( ?var4 ) AS ?var2 ) ?var3Label WHERE { { SELECT( STR ( ?var5 ) AS ?var1 )( \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var4 )( \"_\" AS ?var3Label ) WHERE { BIND ( YEAR ( ?var6 ) AS ?var5 ). ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q577> . ?var7 <http://www.wikidata.org/prop/direct/P585> ?var6 . { SELECT( MIN ( ?var5 ) AS ?var8 )( MAX ( ?var5 ) AS ?var9 ) WHERE { BIND ( YEAR ( ?var10 ) AS ?var5 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q42720207> . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var10 . } } FILTER ( ( ( ?var5 >= ?var8 ) && ( ?var5 <= ?var9 ) ) ) . } } UNION { BIND ( SUBSTR ( ?var12Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"20\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q42720207> . ?var11 <http://www.wikidata.org/prop/direct/P1104> ?var4 . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var6 . ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12Label . FILTER ( ( ( LANG ( ?var12Label ) = \"en\" ) ) ) . } } GROUP BY ?var1 ?var11 ?var3Label ORDER BY ASC( ?var1 ) } }"}}
{"id": "test_2368", "question": "What is the image of the person with SNAC ARK ID w6fj2k8r?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6fj2k8r\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Show the Wikimedia Commons image for the individual identified by the SNAC ARK ID w6fj2k8r.", "Is there an image available for Ephraim Douglass Adams in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6fj2k8r\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2369", "question": "Image of Guillermo del Toro with SNAC ARK ID w6f90w9r", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?person wdt:P3430 \"w6f90w9r\" .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Guillermo del Toro in the Social Networks and Archival Context system?", "Show me the Wikimedia Commons image of the person identified by SNAC ARK ID w6f90w9r."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6f90w9r\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2370", "question": "What is the English or German Wikipedia page for the film with IMDb ID tt0317117?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipedia_page WHERE {\n  ?item wdt:P345 \"tt0317117\" .\n  ?wikipedia_page schema:about ?item .\n  {\n    ?wikipedia_page schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipedia_page schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Find the Wikipedia article in English or German about the movie identified by tt0317117 on IMDb.", "Which Wikipedia pages (in English or German) are about the film with IMDb identifier tt0317117?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0317117\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2371", "question": "What is the shared category that both Florida and Maine belong to?", "sparql": "SELECT ?type ?label WHERE { wd:Q812 wdt:P31 ?type . wd:Q724 wdt:P31 ?type . ?type rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["What type do the U.S. states of Florida and Maine have in common?", "What is the most specific classification that applies to both Florida and Maine?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q812> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q724> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2372", "question": "What properties are used to link to the category \"Category:Modernism\" on Wikidata?", "sparql": "SELECT DISTINCT ?property WHERE { ?subject ?property wd:Q7572220 . }", "paraphrases": ["Which relationships connect the category \"Category:Modernism\" to other entities in Wikidata?", "List all the properties that have \"Category:Modernism\" as their object in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q7572220> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2373", "question": "Works by Mark Grahame, grouped by main subject, with count of works per subject and work titles.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?count ?subjectLabel ?workLabel WHERE {\n  {\n    SELECT ?subject(COUNT(?work) AS ?count) WHERE {\n      ?work wdt:P50 wd:Q47091428 .\n      ?work wdt:P921 ?subject .\n    }\n    GROUP BY ?subject\n  }\n  ?work wdt:P50 wd:Q47091428 .\n  ?work wdt:P921 ?subject .\n  ?subject rdfs:label ?subjectLabel .\n  FILTER(LANG(?subjectLabel) = \"en\")\n  ?work rdfs:label ?workLabel .\n  FILTER(LANG(?workLabel) = \"en\")\n}\nORDER BY DESC(?count) ?workLabel", "paraphrases": ["What are all the works authored by Mark Grahame, and for each, what is the main subject and how many of his works share that subject?", "List all books written by Mark Grahame, showing the main topic of each and how many of his publications focus on the same topic."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label WHERE { { SELECT ?var4 ( COUNT ( ?var5 ) AS ?var1 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q47091428> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . } GROUP BY ?var4 ORDER BY DESC( ?var1 ) } BIND ( SUBSTR ( ?var6Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q47091428> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . }"}}
{"id": "test_2374", "question": "What are the English names of video games that have a Twitter account?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?gameLabel ?twitterUsername WHERE {\n  ?game wdt:P31 / wdt:P279 * wd:Q7889 .\n  ?game wdt:P2002 ?twitterUsername .\n  ?game rdfs:label ?gameLabel .\n  FILTER(LANG(?gameLabel) = \"en\")\n}", "paraphrases": ["Can you list the titles of video games along with their Twitter usernames?", "Which video games (and their subclasses) on Wikidata have an X (formerly Twitter) username, and what are their English labels?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/statement/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7889> . ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2375", "question": "What are some organizations or places with Twitter accounts on Wikidata?", "sparql": "SELECT ?item ?twitterHandle ?itemLabel WHERE { ?item wdt:P2002 ?twitterHandle . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } LIMIT 10", "paraphrases": ["Can you list the top 10 entities on Wikidata that have a Twitter handle, along with their English names?", "Show me entities that have a Twitter username, and display their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"guepier92\" ) ( \"string2\" ) ( \"string3\" ) ( \"Lille3\" ) ( \"string4\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2376", "question": "Active Twitter accounts of organizations and cities on Wikidata, excluding retired ones.", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  {\n    ?item wdt:P2002 ?username .\n  } UNION {\n    ?item p:P2002 ?statement .\n    ?statement ps:P2002 ?username .\n    FILTER(NOT EXISTS {\n      ?statement pq:P582 ?end .\n    })\n  }\n}\nLIMIT 10", "paraphrases": ["Which entities on Wikidata have Twitter usernames that are still active (i.e., not marked with an end date)?", "Show me a list of entities and their current Twitter handles, making sure to exclude any accounts that have been deactivated or retired."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { BIND ( <http://www.wikidata.org/prop/P2002> AS ?var3 ). BIND ( <http://www.wikidata.org/prop/statement/P2002> AS ?var4 ). BIND ( <http://www.wikidata.org/prop/direct/P2002> AS ?var5 ). { ?var1 ?var5 ?var2 . FILTER ( ( NOT EXISTS { ?var1 ?var3 ?var6 . ?var6 ?var4 ?var2 . } ) ) . } UNION { ?var1 ?var3 ?var6 . ?var6 ?var4 ?var2 . FILTER ( ( NOT EXISTS { ?var6 ( <http://www.wikidata.org/prop/qualifier/P582> | <http://www.wikidata.org/prop/qualifier/value/P582> ) ?var7 . } ) ) . } } LIMIT 10"}}
{"id": "test_2377", "question": "What journals have published the most works by Blanche Schwappach-Pignataro, and what are their common abbreviations?", "sparql": "SELECT ?publication ?publicationLabel (COUNT(?work) AS ?count)\nWHERE {\n  ?work wdt:P50 wd:Q38589444 .\n  ?work wdt:P1433 ?publication .\n  ?publication rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    ?publication wdt:P1813 ?shortName .\n  }\n  BIND(COALESCE(?shortName, ?label) AS ?publicationLabel)\n}\nGROUP BY ?publication ?publicationLabel\nORDER BY DESC(?count)", "paraphrases": ["List the publications where Blanche Schwappach-Pignataro has contributed, ranked by number of publications, showing both full names and abbreviations where available.", "Which academic journals have featured the most research papers by biochemist Blanche Schwappach-Pignataro?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q38589444> . ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1813> ?var6 . } BIND ( COALESCE ( ?var6 , ?var5Label ) AS ?var2Label ). } GROUP BY ?var1 ?var2Label ORDER BY DESC( ?var4 )"}}
{"id": "test_2378", "question": "Artistic movements of Paul Gauguin, their English labels, Freebase IDs, and his image and Freebase ID.", "sparql": "SELECT DISTINCT ?movementLabel ?movement ?movementFreebase ?gauguinLabel ?gauguinFreebase ?gauguinImage WHERE { wd:Q37693 wdt:P135 ?movement . ?movement rdfs:label ?movementLabel . FILTER(LANG(?movementLabel) = \"en\") OPTIONAL { ?movement wdt:P646 ?movementFreebase } wd:Q37693 rdfs:label ?gauguinLabel . FILTER(LANG(?gauguinLabel) = \"en\") OPTIONAL { wd:Q37693 wdt:P646 ?gauguinFreebase } OPTIONAL { wd:Q37693 wdt:P18 ?gauguinImage } }", "paraphrases": ["What artistic movements is Paul Gauguin associated with, and what are their English names, Freebase IDs, along with his own name, Freebase ID, and image?", "Show me Paul Gauguin\u2019s artistic movements with their English labels and Freebase IDs, and also include his name, Freebase identifier, and image from Wikimedia Commons."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q37693> <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . OPTIONAL { ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . OPTIONAL { ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . } OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P646> ?var6 . } OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P18> ?var7 . } } } OPTIONAL { <http://www.wikidata.org/entity/Q37693> <http://www.wikidata.org/prop/direct/P135> ?var2 . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"en\" ) ) ) . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P646> ?var3 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var8 . } } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2379", "question": "Renaissance-associated artworks with English labels, images, and Freebase IDs", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?work ?workLabel ?freebaseId ?image WHERE {\n  ?work wdt:P135 wd:Q4692 .\n  ?work rdfs:label ?workLabel .\n  FILTER(LANG(?workLabel) = \"en\")\n  OPTIONAL {\n    ?work wdt:P646 ?freebaseId\n  }\n  OPTIONAL {\n    ?work wdt:P18 ?image\n  }\n}", "paraphrases": ["What are the artworks and cultural works linked to the Renaissance movement, along with their English names, images, and Freebase identifiers?", "List all works associated with the Renaissance, showing their English labels, images from Wikimedia Commons, and Freebase IDs if available."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 WHERE { <http://www.wikidata.org/entity/Q4692> <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"en\" ) ) ) . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 ; ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/279> *) <http://www.wikidata.org/entity/Q968159> . OPTIONAL { OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P646> ?var3 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var4 . } } } OPTIONAL { ?var6 <http://www.wikidata.org/prop/direct/P135> <http://www.wikidata.org/entity/Q4692> . OPTIONAL { ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . OPTIONAL { ?var6 <http://www.wikidata.org/prop/direct/P646> ?var7 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/direct/P18> ?var8 . } } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2380", "question": "Top 50 artistic movements by number of paintings and their historical predecessors.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movement ?movementLabel ?count ?precedingMovementLabel WHERE {\n  {\n    SELECT ?movement ( COUNT( ?painting ) AS ?count ) WHERE {\n      ?painting wdt:P31 wd:Q3305213 .\n      ?painting wdt:P135 ?movement .\n    }\n    GROUP BY ?movement\n    ORDER BY DESC ( ?count )\n    LIMIT 50\n  }\n  OPTIONAL {\n    ?precedingMovement wdt:P156 ?movement .\n    ?precedingMovement rdfs:label ?precedingMovementLabel .\n  }\n  ?movement rdfs:label ?movementLabel .\n  FILTER ( LANG( ?movementLabel ) = \"en\" ) FILTER ( LANG( ?precedingMovementLabel ) = \"en\" )\n}\nORDER BY DESC ( ?count )", "paraphrases": ["Which artistic movements have the most paintings, and what movement came before each of them?", "Show me the 50 most common artistic movements in painting, along with how many paintings belong to each and which movement historically preceded them."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label WHERE { { SELECT ?var1 ( COUNT ( ?var4 ) AS ?var2 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . ?var4 <http://www.wikidata.org/prop/direct/P135> ?var1 . OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P155> ?var5 . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . } } GROUP BY ?var1 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru,en\". } } ORDER BY DESC( ?var2 ) LIMIT 50"}}
{"id": "test_2381", "question": "Items in the Ashmolean Museum\u2019s collection created in Aceh with their inventory numbers", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel ?inventoryNumber WHERE {\n  ?item p:P195 ?collectionStatement .\n  ?collectionStatement ps:P195 wd:Q636400 ; pq:P217 ?inventoryNumber .\n  ?item wdt:P1071 wd:Q1823 .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}\nORDER BY ASC ( ?itemLabel )", "paraphrases": ["What items in the Ashmolean Museum\u2019s collection were created in Aceh, and what are their inventory numbers?", "List the items from Aceh that are part of the Ashmolean Museum\u2019s collection along with their inventory numbers."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var3 WHERE { ?var2 <http://www.wikidata.org/prop/P195> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P195> <http://www.wikidata.org/entity/Q636400> ; <http://www.wikidata.org/prop/qualifier/P217> ?var3 . ?var2 ?var1 <http://www.wikidata.org/entity/Q1823> ; <http://www.wikidata.org/prop/direct/P31> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var1 )ASC( ?var2Label )"}}
{"id": "test_2382", "question": "What are the main topics of works authored by Marcus D. Hanwell, how often do they appear, and what are the titles of those works (first 60 characters)?", "sparql": "SELECT ?count ?mainSubjectLabel ?workLabelShort WHERE { { SELECT ?mainSubject (COUNT(?work) AS ?count) WHERE { ?work wdt:P50 wd:Q29387592 . ?work wdt:P921 ?mainSubject . } GROUP BY ?mainSubject ORDER BY DESC(?count) } ?mainSubject rdfs:label ?mainSubjectLabel . FILTER(LANG(?mainSubjectLabel) = \"en\") ?work wdt:P50 wd:Q29387592 . ?work wdt:P921 ?mainSubject . ?work rdfs:label ?workLabel . FILTER(LANG(?workLabel) = \"en\") BIND(SUBSTR(?workLabel, 1, 60) AS ?workLabelShort) }", "paraphrases": ["Which subjects are most commonly associated with the scientific works written by Marcus D. Hanwell, and what are the truncated titles of those works?", "List the main subjects of Marcus D. Hanwell\u2019s publications, count how many times each subject appears, and show the first 60 characters of each publication\u2019s title in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label WHERE { { SELECT ?var4 ( COUNT ( ?var5 ) AS ?var1 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q29387592> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . } GROUP BY ?var4 ORDER BY DESC( ?var1 ) } BIND ( SUBSTR ( ?var6Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q29387592> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . }"}}
{"id": "test_2383", "question": "What are the X (Twitter) usernames for Fitbit?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?company ?twitterHandle WHERE {\n  ?company wdt:P2002 ?twitterHandle .\n  VALUES(?twitterHandle) {(\"fitbit\")(\"FitbitSupport\")\n  }\n}", "paraphrases": ["Which company has the Twitter handles \"fitbit\" or \"FitbitSupport\"?", "Show me the entities on Wikidata that are linked to the X usernames \"fitbit\" and \"FitbitSupport\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"FitbitUK\" ) } }"}}
{"id": "test_2384", "question": "List entities with Twitter/X usernames.", "sparql": "SELECT ?entity ?username WHERE { ?entity wdt:P2002 ?username . } LIMIT 10", "paraphrases": ["Which entities on Wikidata have Twitter/X accounts?", "Show me up to 10 entities that have Twitter/X usernames."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"ndffr\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2385", "question": "Top journals where Chris D. Frith has published, ranked by number of papers, with abbreviated journal names where available.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?journal ?journalLabel ( COUNT( ?work ) AS ?publicationCount ) WHERE {\n  ?work wdt:P50 wd:Q1077217 .\n  ?work wdt:P1433 ?journal .\n  ?journal rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) .\n  OPTIONAL {\n    ?journal wdt:P1813 ?shortName .\n  }\n  BIND( COALESCE ( ?shortName , ?label ) AS ?journalLabel )\n}\nGROUP BY ?journal ?journalLabel\nORDER BY DESC ( ?publicationCount )", "paraphrases": ["Which journals have published the most papers by Chris D. Frith, and what are their abbreviated names if they exist?", "Show me a list of journals Chris D. Frith has published in, ordered by how many papers he wrote in each, using the short name of the journal if one is available, otherwise the full name."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q1077217> . ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1813> ?var6 . } BIND ( COALESCE ( ?var6 , ?var5Label ) AS ?var2Label ). } GROUP BY ?var1 ?var2Label ORDER BY DESC( ?var4 )"}}
{"id": "test_2386", "question": "Top publications by Grenville Astill, ranked by number of works published.", "sparql": "SELECT ?publication ?publicationLabel (COUNT(?work) AS ?count)\nWHERE {\n  ?work wdt:P50 wd:Q21131638 .\n  ?work wdt:P1433 ?publication .\n  ?publication rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    ?publication wdt:P1813 ?shortName .\n  }\n  BIND(COALESCE(?shortName, ?label) AS ?publicationLabel)\n}\nGROUP BY ?publication ?publicationLabel\nORDER BY DESC(?count)", "paraphrases": ["Which journals and books has Grenville Astill published in most frequently, and what are their names?", "Show me a list of publications where Grenville Astill has authored works, ordered by how many times he published in each, using the short name if available, otherwise the English label."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q21131638> . ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1813> ?var6 . } BIND ( COALESCE ( ?var6 , ?var5Label ) AS ?var2Label ). } GROUP BY ?var1 ?var2Label ORDER BY DESC( ?var4 )"}}
{"id": "test_2387", "question": "What is the common superclass of Beijing and Washington, D.C.?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestor ?ancestorLabel WHERE {\n  wd:Q956 wdt:P31 ?type1 .\n  ?type1 wdt:P279 * wd:Q5119 .\n  wd:Q61 wdt:P31 ?type2 .\n  ?type2 wdt:P279 * wd:Q5119 .\n  wd:Q5119 rdfs:label ?ancestorLabel .\n  FILTER(LANG(?ancestorLabel) = \"en\")\n}", "paraphrases": ["What category do both Beijing and Washington, D.C. belong to through their hierarchical classification?", "What is the most specific shared category in the hierarchy between the capital city of China and the capital of the United States?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q956> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q43263422> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2388", "question": "What is the most specific category that both Yeosu and Vancouver belong to?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?common ?label WHERE {\n  wd:Q42125 wdt:P31 wd:Q1549591 .\n  wd:Q24639 wdt:P31 wd:Q1549591 .\n  BIND( wd:Q1549591 AS ?common ) ?common rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}", "paraphrases": ["Which class is directly shared by the types of Yeosu and Vancouver?", "What is the common superclass of the types of the cities Yeosu and Vancouver?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q42125> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q24639> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2389", "question": "Image of Kasteel Groot Engelenburg", "sparql": "SELECT ?image WHERE { wd:Q14852070 wdt:P18 ?image .}", "paraphrases": ["What is the image of Castle Engelenburg on Wikimedia Commons?", "Can you show me the photograph of Kasteel Groot Engelenburg, the castle in Brummen?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q14852070> <http://www.wikidata.org/prop/direct/P18> ?var1 . }"}}
{"id": "test_2390", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt6119504?", "sparql": "SELECT ?item ?wikipedia_page WHERE { ?item wdt:P345 \"tt6119504\" . ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Show me the Wikipedia articles about the film #realityhigh in English or German.", "Find the Wikipedia links for the movie #realityhigh in English and German languages."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6119504\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2391", "question": "What are the most common subjects of works authored by Mauro Guerrini, and how many works are there per subject?", "sparql": "SELECT (COUNT(?work) AS ?count) ?subjectLabel WHERE { ?work wdt:P50 wd:Q15268452 ; wdt:P921 ?subject . ?subject rdfs:label ?subjectLabel . FILTER (LANG(?subjectLabel) = \"en\") } GROUP BY ?subject ?subjectLabel ORDER BY DESC(?count)", "paraphrases": ["Which topics are most frequently associated with books written by Mauro Guerrini, and how many books cover each topic?", "Show me a list of the main subjects of Mauro Guerrini\u2019s publications, ranked by how many publications each subject appears in, with English labels only."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label WHERE { { SELECT ?var4 ( COUNT ( ?var5 ) AS ?var1 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q15268452> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . } GROUP BY ?var4 ORDER BY DESC( ?var1 ) } BIND ( SUBSTR ( ?var6Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q15268452> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . }"}}
{"id": "test_2392", "question": "What are the top publication venues where Rajesh Ranganath has published papers, ranked by the number of papers?", "sparql": "SELECT ?publication ?publicationLabel (COUNT(?work) AS ?count)\nWHERE {\n  ?work wdt:P50 wd:Q46994906 .\n  ?work wdt:P1433 ?publication .\n  ?publication rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    ?publication wdt:P1813 ?shortName .\n  }\n  BIND(COALESCE(?shortName, ?label) AS ?publicationLabel)\n}\nGROUP BY ?publication ?publicationLabel\nORDER BY DESC(?count)", "paraphrases": ["Which journals or conferences have published the most papers by researcher Rajesh Ranganath, and how many papers did each publish?", "Show me the abbreviated or full names of venues where Rajesh Ranganath has published, along with the count of his publications in each, sorted from highest to lowest."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q46994906> . ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1813> ?var6 . } BIND ( COALESCE ( ?var6 , ?var5Label ) AS ?var2Label ). } GROUP BY ?var1 ?var2Label ORDER BY DESC( ?var4 )"}}
{"id": "test_2393", "question": "What journals and conferences has Morten M\u00f8rup published in, and how many publications does he have in each?", "sparql": "SELECT ?publication ?publicationLabel (COUNT(?work) AS ?count)\nWHERE {\n  ?work wdt:P50 wd:Q26720269 .\n  ?work wdt:P1433 ?publication .\n  ?publication rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\") .\n  OPTIONAL {\n    ?publication wdt:P1813 ?shortName .\n  }\n  BIND(COALESCE(?shortName, ?label) AS ?publicationLabel)\n}\nGROUP BY ?publication ?publicationLabel\nORDER BY DESC(?count)", "paraphrases": ["Show me the publication venues where Morten M\u00f8rup has published, sorted by the number of papers, using abbreviations where available.", "Which academic journals and conference proceedings has Morten M\u00f8rup contributed to most frequently, and what are their common abbreviations?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q26720269> . ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1813> ?var6 . } BIND ( COALESCE ( ?var6 , ?var5Label ) AS ?var2Label ). } GROUP BY ?var1 ?var2Label ORDER BY DESC( ?var4 )"}}
{"id": "test_2394", "question": "Who has the Twitter/X username \"fhuysmans\"?", "sparql": "SELECT ?person ?username WHERE { ?person wdt:P2002 ?username . VALUES ?username { \"fhuysmans\" } }", "paraphrases": ["Which person on Wikidata is associated with the Twitter handle fhuysmans?", "Please find the Wikidata entity for the user with the Twitter username fhuysmans."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"fhuysmans\" ) } }"}}
{"id": "test_2395", "question": "What Wikipedia articles and Wikidata statements reference Georgism?", "sparql": "SELECT ?subject ?predicate WHERE { ?subject ?predicate wd:Q679595 . } ORDER BY ASC(?predicate) LIMIT 4000", "paraphrases": ["Which external resources and statements are linked to the political ideology Georgism?", "Show me all the subjects and predicates that have Georgism as their object in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { { ?var1 ?var2 <http://www.wikidata.org/entity/Q679595> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var2 ) LIMIT 4000 OFFSET 0"}}
{"id": "test_2396", "question": "Which Wikidata entities have the Twitter usernames \"lipiddoc\" or \"Drlipid\"?", "sparql": "SELECT ?person ?username WHERE { ?person wdt:P2002 ?username . VALUES ?username { \"lipiddoc\" \"Drlipid\" } }", "paraphrases": ["Who on Wikidata uses the Twitter handle \"Drlipid\" or \"lipiddoc\"?", "Show me the people in Wikidata whose Twitter/X username is either \"lipiddoc\" or \"Drlipid\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"lipiddoc\" ) ( \"Drlipid\" ) } }"}}
{"id": "test_2397", "question": "Which Wikidata items have the Twitter/X usernames \"Mediapart\" or \"Rue89\"?", "sparql": "SELECT ?item ?username ?label WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"Mediapart\" \"Rue89\" } . ?item rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["What are the Wikidata entities for the Twitter accounts @Mediapart and @Rue89?", "Please list the organizations on Wikidata that use \"Mediapart\" and \"Rue89\" as their Twitter/X usernames."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"mediapart\" ) ( \"Rue89\" ) } }"}}
{"id": "test_2398", "question": "Image of the person with SNAC ARK ID w6sf3100", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6sf3100\" . ?item wdt:P18 ?image }", "paraphrases": ["What is the image associated with James Payn in Wikidata?", "Can you show me the picture of the individual identified by the SNAC ARK ID w6sf3100?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6sf3100\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2399", "question": "What is the Google Knowledge Graph ID for body milk?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?gkg_id WHERE {\n  wd:Q18011764 wdt:P2671 ?gkg_id .\n}", "paraphrases": ["Can you find the Google Knowledge Graph identifier for the cosmetic product body milk?", "Show me the Google Knowledge Graph ID associated with body milk."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q18011764> <http://www.wikidata.org/prop/direct/P402> ?var1 . }"}}
{"id": "test_2400", "question": "Which Wikidata entities have Twitter handles \"valerieCG\" or \"ATrapenard\"?", "sparql": "SELECT ?item ?handle WHERE { ?item wdt:P2002 ?handle . VALUES ?handle { \"valerieCG\" \"ATrapenard\" } }", "paraphrases": ["Who are the people or organizations on Wikidata with the Twitter usernames valerieCG and ATrapenard?", "Show me the Wikidata items linked to the Twitter accounts valerieCG and ATrapenard."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"AnaVdlb\" ) ( \"string2\" ) ( \"string3\" ) ( \"valerieCG\" ) ( \"gblardone\" ) ( \"SNCF\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"ATrapenard\" ) ( \"fremercier\" ) ( \"SimRiaux\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) ( \"string13\" ) ( \"string14\" ) ( \"string15\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2401", "question": "Casemates not part of the New Dutch Waterline, Afsluitdijk, Kornwerderzand, Peel-Raam Line, or Landfront Vlissingen.", "sparql": "SELECT ?casemate ?casemateLabel WHERE { ?casemate wdt:P31 wd:Q89521 . OPTIONAL { ?casemate rdfs:label ?casemateLabel . } FILTER NOT EXISTS { ?casemate wdt:P361 ?excluded . VALUES ?excluded { wd:Q4018530 wd:Q18769282 wd:Q18771562 wd:Q18768924 wd:Q18775580 } } }", "paraphrases": ["Which casemates are not components of any of the major Dutch defense lines such as the New Dutch Waterline or Afsluitdijk?", "List all casemates that are independently located and not embedded in the Dutch coastal or waterline defense systems."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q89521> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P361> * <http://www.wikidata.org/entity/Q4018530> . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P361> * <http://www.wikidata.org/entity/Q18769282> . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P361> * <http://www.wikidata.org/entity/Q18771562> . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P361> * <http://www.wikidata.org/entity/Q18768924> . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P361> * <http://www.wikidata.org/entity/Q18775580> . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,en\". } }"}}
{"id": "test_2402", "question": "What are the subclasses of \"shape of ancient vases\"?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subclass ?subclassLabel WHERE {\n  ?subclass wdt:P279 wd:Q21032902 .\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER ( LANG( ?subclassLabel ) = \"en\" )\n}", "paraphrases": ["List the types of ancient vase shapes that are classified under the category of shape of ancient vases.", "Which specific vase shape categories are considered subtypes of the general shape of ancient vases?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { BIND ( <http://www.wikidata.org/entity/Q21032902> AS ?var2 ). ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 ; <http://www.wikidata.org/prop/direct/P279> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_2403", "question": "What are the scholarly works authored by Julie Hatcher, and when were they published?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT(MIN(?pubDate) AS ?minPubDate) ?work ?workLabel(GROUP_CONCAT(DISTINCT ?instanceLabel ; SEPARATOR = \", \") AS ?instances)(SAMPLE(?pages) AS ?samplePages) ?publication ?publicationLabel(GROUP_CONCAT(DISTINCT ?authorLabel ; SEPARATOR = \", \") AS ?authors) WHERE {\n  ?work wdt:P50 wd:Q35824099 .\n  ?work wdt:P50 ?author .\n  OPTIONAL {\n    ?work rdfs:label ?workLabelRaw .\n    FILTER(LANG(?workLabelRaw) = \"en\")\n  }\n  BIND(COALESCE(?workLabelRaw , SUBSTR(STR(?work) , 32)) AS ?workLabel)\n  OPTIONAL {\n    ?work wdt:P31 ?instance .\n    ?instance rdfs:label ?instanceLabel .\n    FILTER(LANG(?instanceLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?work wdt:P577 ?pubDate .\n  }\n  OPTIONAL {\n    ?work wdt:P1104 ?pages .\n  }\n  OPTIONAL {\n    ?work wdt:P1433 ?publication .\n    ?publication rdfs:label ?publicationLabelRaw .\n    FILTER(LANG(?publicationLabelRaw) = \"en\")\n  }\n  BIND(COALESCE(?publicationLabelRaw , SUBSTR(STR(?publication) , 32)) AS ?publicationLabel)\n  OPTIONAL {\n    ?author rdfs:label ?authorLabelRaw .\n    FILTER(LANG(?authorLabelRaw) = \"en\")\n  }\n  BIND(COALESCE(?authorLabelRaw , SUBSTR(STR(?author) , 32)) AS ?authorLabel)\n}\nGROUP BY ?work ?workLabel ?publication ?publicationLabel\nORDER BY DESC(?minPubDate)", "paraphrases": ["List Julie Hatcher\u2019s publications with their co-authors, publication venues, and number of pages, ordered from oldest to newest.", "Show me all works by Julie Hatcher, including their type, where they were published, and who else co-authored them, sorted by publication date."], "info": {"raw_sparql": "SELECT( MIN ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ( GROUP_CONCAT ( DISTINCT ?var4Label ; SEPARATOR = \", \" ) AS ?var5 )( SAMPLE ( ?var6 ) AS ?var7 ) ?var8 ?var8Label ( GROUP_CONCAT ( DISTINCT ?var9Label ; SEPARATOR = \", \" ) AS ?var10 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q35824099> . ?var3 <http://www.wikidata.org/prop/direct/P50> ?var11 . OPTIONAL { ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12 . FILTER ( ( ( LANG ( ?var12 ) = \"en\" ) ) ) . } BIND ( COALESCE ( ?var12 , SUBSTR ( STR ( ?var11 ) ,\"32\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var9Label ). OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . } OPTIONAL { BIND ( <http://www.w3.org/2001/XMLSchema#date> ( ?var13 ) AS ?var1 ). ?var3 <http://www.wikidata.org/prop/direct/P577> ?var13 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1104> ?var6 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,no,ru,sv,zh\". } } GROUP BY ?var3 ?var3Label ?var8 ?var8Label ORDER BY DESC( ?var2 )"}}
{"id": "test_2404", "question": "Which Wikidata items have Twitter handles including KMbappe, kobebryant, jk_rowling, AfterRMC, SCBastia, girondins, or BFMSportTV?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?handle WHERE {\n  ?item wdt:P2002 ?handle .\n  VALUES ?handle {\n    \"KMbappe\" \"kobebryant\" \"jk_rowling\" \"AfterRMC\" \"SCBastia\" \"girondins\" \"BFMSportTV\"\n  }\n}\nORDER BY ?handle", "paraphrases": ["Who are the people or organizations on Wikidata with the Twitter usernames KMbappe, kobebryant, jk_rowling, AfterRMC, SCBastia, girondins, and BFMSportTV?", "List the Wikidata entities that are linked to the Twitter accounts KMbappe, kobebryant, jk_rowling, AfterRMC, SCBastia, girondins, and BFMSportTV."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"KMbappe\" ) ( \"string5\" ) ( \"string6\" ) ( \"EmmaWatson\" ) ( \"string7\" ) ( \"string8\" ) ( \"TomFelton\" ) ( \"string9\" ) ( \"jk_rowling\" ) ( \"string10\" ) ( \"string11\" ) ( \"POPnSPORT\" ) ( \"string12\" ) ( \"string13\" ) ( \"AfterRMC\" ) ( \"string14\" ) ( \"string15\" ) ( \"string16\" ) ( \"string17\" ) ( \"GPrintant\" ) ( \"SCBastia\" ) ( \"string18\" ) ( \"SInow\" ) ( \"string19\" ) ( \"string20\" ) ( \"string21\" ) ( \"girondins\" ) ( \"string22\" ) ( \"string23\" ) ( \"kobebryant\" ) ( \"string24\" ) ( \"C4mille\" ) ( \"RodMasse\" ) ( \"BFMSportTV\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2405", "question": "Scholarly articles by Maria Koutraki, including publication date, co-authors, venue, and number of pages.", "sparql": "SELECT \n  ?pubDate \n  ?work \n  ?workLabel \n  (GROUP_CONCAT(DISTINCT ?typeLabel; SEPARATOR=\", \") AS ?types) \n  ?numPages \n  ?publicationVenue \n  ?publicationVenueLabel \n  (GROUP_CONCAT(DISTINCT ?coAuthorLabel; SEPARATOR=\", \") AS ?coAuthors)\nWHERE {\n  ?work wdt:P50 wd:Q48621641 .  # Work authored by Maria Koutraki\n\n  # Publication date\n  OPTIONAL { ?work wdt:P577 ?pubDateLiteral . BIND(xsd:date(?pubDateLiteral) AS ?pubDate) }\n\n  # Type of work (P31)\n  OPTIONAL {\n    ?work wdt:P31 ?type .\n    ?type rdfs:label ?typeLabel .\n    FILTER(LANG(?typeLabel) = \"en\")\n  }\n\n  # Number of pages (P1104)\n  OPTIONAL { ?work wdt:P1104 ?numPages }\n\n  # Published in (P1433)\n  OPTIONAL {\n    ?work wdt:P1433 ?publicationVenue .\n    ?publicationVenue rdfs:label ?publicationVenueLabel .\n    FILTER(LANG(?publicationVenueLabel) = \"en\")\n  }\n\n  # Co-authors (P50), excluding Maria Koutraki\n  OPTIONAL {\n    ?work wdt:P50 ?coAuthor .\n    FILTER(?coAuthor != wd:Q48621641)\n    ?coAuthor rdfs:label ?coAuthorLabel .\n    FILTER(LANG(?coAuthorLabel) = \"en\")\n  }\n\n  # Work label\n  ?work rdfs:label ?workLabel .\n  FILTER(LANG(?workLabel) = \"en\")\n}\nGROUP BY ?work ?workLabel ?pubDate ?numPages ?publicationVenue ?publicationVenueLabel\nORDER BY DESC(?pubDate)", "paraphrases": ["What are the scholarly works authored by Maria Koutraki, and what are their publication dates, co-authors, venues, and page counts?", "List all scholarly works written by Maria Koutraki, showing their publication dates, co-authors (excluding her), publication venues, and number of pages, sorted by most recent first."], "info": {"raw_sparql": "SELECT( MIN ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ( GROUP_CONCAT ( DISTINCT ?var4Label ; SEPARATOR = \", \" ) AS ?var5 )( SAMPLE ( ?var6 ) AS ?var7 ) ?var8 ?var8Label ( GROUP_CONCAT ( DISTINCT ?var9Label ; SEPARATOR = \", \" ) AS ?var10 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q48621641> . ?var3 <http://www.wikidata.org/prop/direct/P50> ?var11 . OPTIONAL { ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12 . FILTER ( ( ( LANG ( ?var12 ) = \"en\" ) ) ) . } BIND ( COALESCE ( ?var12 , SUBSTR ( STR ( ?var11 ) ,\"32\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var9Label ). OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . } OPTIONAL { BIND ( <http://www.w3.org/2001/XMLSchema#date> ( ?var13 ) AS ?var1 ). ?var3 <http://www.wikidata.org/prop/direct/P577> ?var13 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1104> ?var6 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,no,ru,sv,zh\". } } GROUP BY ?var3 ?var3Label ?var8 ?var8Label ORDER BY DESC( ?var2 )"}}
{"id": "test_2406", "question": "What categories do North Rhine-Westphalia and Cape Town belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?stateType ?cityType WHERE {\n  wd:Q1198 wdt:P31 ?stateType .\n  wd:Q5465 wdt:P31 ?cityType .\n}", "paraphrases": ["What types of administrative entities are North Rhine-Westphalia and Cape Town classified as?", "Can you list the categories that describe North Rhine-Westphalia and Cape Town in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1198> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q5465> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2407", "question": "Which Wikidata entities have Twitter handles including sciencespo, Ashoka, or Sidaction?", "sparql": "SELECT ?item ?handle WHERE { ?item wdt:P2002 ?handle . VALUES ?handle { \"damienviel\" \"Solidays\" \"LesEchos\" \"srichard\" \"LeoBurnett\" \"axel_deb\" \"ScPoAlumni\" \"sciencespo\" \"Strategies\" \"AACClive\" \"comrejen\" \"smatich\" \"angeloizb\" \"Sidaction\" \"Udecam\" \"as_cruque\" \"AdrienChl\" \"MySezame\" \"mikocam\" \"Ashoka\" \"petit_web\" \"mlsauty\" \"LADN_EU\" \"MakeSense\" } }", "paraphrases": ["What are the entities on Wikidata that are associated with the Twitter usernames \"sciencespo\", \"Ashoka\", and \"Sidaction\"?", "List all entities in Wikidata that have the Twitter usernames: damienviel, Solidays, LesEchos, srichard, LeoBurnett, axel_deb, ScPoAlumni, sciencespo, Strategies, AACClive, comrejen, smatich, angeloizb, Sidaction, Udecam, as_cruque, AdrienChl, MySezame, mikocam, Ashoka, petit_web, mlsauty, LADN_EU, and MakeSense."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"damienviel\" ) ( \"string2\" ) ( \"Solidays\" ) ( \"string3\" ) ( \"string4\" ) ( \"LesEchos\" ) ( \"string5\" ) ( \"string6\" ) ( \"srichard\" ) ( \"string7\" ) ( \"string8\" ) ( \"kamihaeri\" ) ( \"string9\" ) ( \"string10\" ) ( \"LeoBurnett\" ) ( \"axel_deb\" ) ( \"string11\" ) ( \"string12\" ) ( \"ScPoAlumni\" ) ( \"sciencespo\" ) ( \"Strategies\" ) ( \"AACClive\" ) ( \"string13\" ) ( \"string14\" ) ( \"comrejen\" ) ( \"string15\" ) ( \"string16\" ) ( \"string17\" ) ( \"string18\" ) ( \"string19\" ) ( \"smatich\" ) ( \"string20\" ) ( \"angeloizb\" ) ( \"string21\" ) ( \"string22\" ) ( \"Sidaction\" ) ( \"Udecam\" ) ( \"string23\" ) ( \"as_cruque\" ) ( \"string24\" ) ( \"AdrienChl\" ) ( \"MySezame\" ) ( \"mikocam\" ) ( \"Ashoka\" ) ( \"string25\" ) ( \"string26\" ) ( \"petit_web\" ) ( \"string27\" ) ( \"mlsauty\" ) ( \"LADN_EU\" ) ( \"MakeSense\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2408", "question": "List Internet services with their English labels and images from Wikimedia Commons.", "sparql": "SELECT ?service ?label ?image WHERE { ?service wdt:P31 wd:Q1668024 . OPTIONAL { ?service wdt:P18 ?image . } ?service rdfs:label ?label . FILTER (lang(?label) = \"en\") } LIMIT 100", "paraphrases": ["What are the English names and images of services available on the Internet?", "Show me up to 100 online services, their English names, and any associated images."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1668024> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_2409", "question": "Most used property to specify inertial navigation system in Wikidata", "sparql": "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ( COUNT( ?property ) AS ?count ) WHERE {\n  ?item ?propertyUsed wd:Q570607 .\n  ?property wikibase:directClaim ?propertyUsed .\n  ?property rdf:type wikibase:Property .\n}\nGROUP BY ?property\nORDER BY DESC ( ?count )\nLIMIT 1", "paraphrases": ["Which property is most commonly used to link an item to an inertial navigation system?", "Show me the property that is used most often to indicate that something has an inertial navigation system."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q570607> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_2410", "question": "Which French organizations and individuals have Twitter/X accounts with usernames BrestBS, BrestFr, CCI_35, ccifrance, cmarkea, JY_LeDrian, or LoigCG?", "sparql": "SELECT ?entity ?twitterHandle WHERE { ?entity wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { \"BrestBS\" \"BrestFr\" \"CCI_35\" \"ccifrance\" \"cmarkea\" \"JY_LeDrian\" \"LoigCG\" } }", "paraphrases": ["Who are the entities on Wikidata that use the Twitter handles BrestBS, BrestFr, CCI_35, ccifrance, cmarkea, JY_LeDrian, and LoigCG?", "List the entities and their corresponding Twitter/X usernames for the handles: BrestBS, BrestFr, CCI_35, ccifrance, cmarkea, JY_LeDrian, and LoigCG."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"cci_brest\" ) ( \"string1\" ) ( \"string2\" ) ( \"adwords\" ) ( \"ccifrance\" ) ( \"string3\" ) ( \"string4\" ) ( \"BrestFr\" ) ( \"string5\" ) ( \"BrestLife\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"BrestBS\" ) ( \"cmarkea\" ) ( \"string12\" ) ( \"string13\" ) ( \"string14\" ) ( \"d_aucy\" ) ( \"Economique\" ) ( \"Goodwill_M\" ) ( \"CCI_35\" ) ( \"string15\" ) ( \"CCI_22\" ) ( \"string16\" ) ( \"string17\" ) ( \"string18\" ) ( \"LPontet\" ) ( \"string19\" ) ( \"string20\" ) ( \"string21\" ) ( \"JY_LeDrian\" ) ( \"LoigCG\" ) ( \"string22\" ) } }"}}
{"id": "test_2411", "question": "Which Rijksmonument IDs are assigned to more than one building in the Netherlands, and what are the names of those buildings?", "sparql": "SELECT ?rijksmonumentId ?count (GROUP_CONCAT(DISTINCT ?itemLabel; SEPARATOR=\" - \") AS ?items)\nWHERE {\n  {\n    SELECT ?rijksmonumentId (COUNT(?item) AS ?count)\n    WHERE {\n      ?item wdt:P359 ?rijksmonumentId .\n      ?item wdt:P31 wd:Q16970 .\n    }\n    GROUP BY ?rijksmonumentId\n    HAVING (COUNT(?item) > 1)\n    LIMIT 5\n  }\n  ?item wdt:P359 ?rijksmonumentId .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}\nGROUP BY ?rijksmonumentId ?count", "paraphrases": ["Show me duplicate Rijksmonument identifiers along with the count of buildings sharing each ID and their English labels.", "Find heritage sites in the Netherlands that share the same Rijksmonument ID and list the names of those sites."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 )( MIN ( ?var3 ) AS ?var4 )( MAX ( ?var3 ) AS ?var5 )( GROUP_CONCAT ( DISTINCT ?var3Label ; SEPARATOR = \" - \" ) AS ?var6 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P359> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,en\". ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . } } GROUP BY ?var1 HAVING ( ( ?var2 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) )"}}
{"id": "test_2412", "question": "What is the most specific category that both London and Tunis belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?ancestorLabel WHERE {\n  wd:Q84 wdt:P31 ?type1 .\n  wd:Q3572 wdt:P31 ?type2 .\n  ?type1 wdt:P279 * wd:Q515 .\n  ?type2 wdt:P279 * wd:Q515 .\n  wd:Q515 rdfs:label ?ancestorLabel .\n  FILTER ( LANG( ?ancestorLabel ) = \"en\" )\n}", "paraphrases": ["What is the common superclass of the types of London and Tunis in the Wikidata ontology?", "What category do London and Tunis share at the most specific level in the hierarchy?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3572> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q84> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2413", "question": "What geographic and political regions is the Parchimer Landwehr fortification located in?", "sparql": "SELECT DISTINCT ?location WHERE { { wd:Q1404989 (wdt:P17|wdt:P131) ?location . } UNION { wd:Q1404989 wdt:P131 ?mid . ?mid (wdt:P17|wdt:P131) ?location . } UNION { wd:Q1404989 wdt:P131 ?mid1 . ?mid1 wdt:P131 ?mid2 . ?mid2 wdt:P17 ?germany . ?germany wdt:P30 ?location . } }", "paraphrases": ["Can you list all the countries, administrative districts, and continents associated with Parchimer Landwehr through its location hierarchy?", "Show me the full location chain from Parchimer Landwehr up to the continent it belongs to."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q1404989> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_2414", "question": "What is the image of the person with SNAC ARK ID w6hd7vmp?", "sparql": "SELECT ?image WHERE { ?person wdt:P3430 \"w6hd7vmp\" . OPTIONAL { ?person wdt:P18 ?image . } }", "paraphrases": ["Can you show me the Wikimedia Commons image associated with the individual identified by the SNAC ARK ID w6hd7vmp?", "Is there an image available for Giambattista Pittoni in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6hd7vmp\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2415", "question": "What are the names, coordinates, and official websites of laboratories in France?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?lat ?lon ?label ?website WHERE {\n  ?lab wdt:P31 wd:Q483242 ; wdt:P17 wd:Q142 ; wdt:P856 ?website .\n  ?lab p:P625 ?coordStatement .\n  ?coordStatement psv:P625 ?coordValue .\n  ?coordValue rdf:type wikibase:GlobecoordinateValue ; wikibase:geoLatitude ?lat ; wikibase:geoLongitude ?lon .\n  ?lab rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nORDER BY ASC(?label)\nLIMIT 1000", "paraphrases": ["Can you list English-named research labs in France along with their geographic locations and websites?", "Show me the latitude, longitude, website, and name of every laboratory located in France."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label ?var4 ?var5 WHERE { ?var3 <http://www.wikidata.org/prop/P625> ?var6 ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q483242> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q142> ; <http://www.wikidata.org/prop/direct/P856> ?var5 . ?var6 <http://www.wikidata.org/prop/statement/value/P625> ?var7 . ?var7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#GlobecoordinateValue> ; <http://wikiba.se/ontology#geoLatitude> ?var1 ; <http://wikiba.se/ontology#geoLongitude> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } } ORDER BY ASC( ?var3Label ) LIMIT 1000"}}
{"id": "test_2416", "question": "Streets in Haarlem named after people or things, with their namesakes and coordinates.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?street ?streetLabel ?namedAfter ?namedAfterLabel ?coordinates WHERE {\n  ?street(wdt:P31 / wdt:P279 *) wd:Q79007 .\n  ?street wdt:P131 wd:Q9920 .\n  ?street wdt:P138 ?namedAfter .\n  OPTIONAL {\n    ?street wdt:P625 ?coordinates .\n  }\n  ?street rdfs:label ?streetLabel .\n  ?namedAfter rdfs:label ?namedAfterLabel .\n  FILTER(LANG(?streetLabel) = \"en\")\n  FILTER(LANG(?namedAfterLabel) = \"en\")\n}\nORDER BY ASC(?streetLabel)", "paraphrases": ["What are the streets in Haarlem, Netherlands, that are named after a person, place, or concept, and who or what are they named after? Also, what are their geographic coordinates?", "Show me all streets in Haarlem along with the entities they are named after and their locations on the map."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q79007> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q9920> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl\". } ?var1 <http://www.wikidata.org/prop/direct/P138> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_2417", "question": "Works of art in France that are not public art.", "sparql": "SELECT DISTINCT ?var1 ?label WHERE { ?var1 (wdt:P31/wdt:P279*) wd:Q838948 ; wdt:P17 wd:Q142 . FILTER NOT EXISTS { ?var1 wdt:P136 wd:Q557141 . } ?var1 rdfs:label ?label . FILTER(LANG(?label) = \"en\") } ORDER BY ASC(?label)", "paraphrases": ["What are the works of art located in France that do not belong to the public art genre?", "List all English-labeled works of art in France, excluding those classified as public art, sorted alphabetically by name."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q838948> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q142> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P136> <http://www.wikidata.org/entity/Q557141> . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_2418", "question": "Paintings made on wooden supports, such as hardwood or softwood.", "sparql": "SELECT ?painting ?paintingLabel ?material ?materialLabel WHERE { ?painting wdt:P31 wd:Q3305213 ; p:P186 [ ps:P186 ?material ; pq:P518 wd:Q861259 ] . ?material wdt:P279 wd:Q287 . ?painting rdfs:label ?paintingLabel . ?material rdfs:label ?materialLabel . FILTER(LANG(?paintingLabel) = \"en\") FILTER(LANG(?materialLabel) = \"en\") } LIMIT 20", "paraphrases": ["Which paintings use wood (like hardwood or softwood) as their support surface?", "List paintings and the types of wood used for their painting surfaces."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> ; <http://www.wikidata.org/prop/P186> [ <http://www.wikidata.org/prop/statement/P186> ?var2 ; <http://www.wikidata.org/prop/qualifier/P518> <http://www.wikidata.org/entity/Q861259> ] . ?var2 <http://www.wikidata.org/prop/direct/P279> ? <http://www.wikidata.org/entity/Q287> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 20"}}
{"id": "test_2419", "question": "What materials are commonly used as supports for different types of paintings?", "sparql": "SELECT ?materialLabel ?paintingTypeLabel WHERE { ?painting (wdt:P31/wdt:P279*) wd:Q3305213 . ?painting p:P186 ?statement . ?statement ps:P186 ?material ; pq:P518 wd:Q861259 . ?painting wdt:P31 ?paintingType . ?material rdfs:label ?materialLabel . ?paintingType rdfs:label ?paintingTypeLabel . FILTER(LANG(?materialLabel) = \"en\") FILTER(LANG(?paintingTypeLabel) = \"en\") }", "paraphrases": ["For paintings, which materials serve as their support surfaces, and what are the artistic categories of those paintings?", "Can you list the types of paintings (like oil or watercolor) and the materials they are painted on, such as canvas or paper?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label WHERE { ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3305213> ; <http://www.wikidata.org/prop/P186> [ <http://www.wikidata.org/prop/statement/P186> ?var1 ; <http://www.wikidata.org/prop/qualifier/P518> <http://www.wikidata.org/entity/Q861259> ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2420", "question": "Virtual assistants, their developers, and inception dates", "sparql": "SELECT ?assistant ?developer ?inception WHERE { ?assistant wdt:P31 wd:Q3467906 . OPTIONAL { ?assistant wdt:P178 ?developer . } OPTIONAL { ?assistant wdt:P571 ?inception . } } ORDER BY ASC(?assistant) LIMIT 50", "paraphrases": ["Which virtual assistants have been created, who developed them, and when were they launched?", "Show me a list of virtual assistants along with their developers and the year they were first introduced."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label ?var2Label ?var4Label ?var5 ?var6Label ?var7 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,fr\". } ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3467906> . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P178> ?var3 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P571> ?var5 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P580> ?var5 . } OPTIONAL { ?var2 ?var8 ?var6 . ?var6 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q9135> . ?var6 <http://www.wikidata.org/prop/direct/P571> ?var7 . FILTER ( ( ( ?var6 != <http://www.wikidata.org/entity/Q1406> ) ) ) . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P407> ?var4 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P154> ?var1 . } } ORDER BY ASC( ?var9 ) LIMIT 10000"}}
{"id": "test_2421", "question": "Image of Thomas Alexander Boyd with SNAC ARK ID w6cj8g85", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6cj8g85\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Thomas Alexander Boyd in Wikidata, given his SNAC ARK ID is w6cj8g85?", "Show me the Wikimedia Commons image for the person identified by SNAC ARK ID w6cj8g85."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6cj8g85\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2422", "question": "What are the most common materials used as painting supports, and how many paintings use each?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?materialLabel(COUNT(?painting) AS ?count) WHERE {\n  ?painting wdt:P31 / wdt:P279 * wd:Q3305213 ; p:P186 [ ps:P186 ?material ; pq:P518 wd:Q861259 ] .\n  ?material rdfs:label ?materialLabel .\n  FILTER(LANG(?materialLabel) = \"en\")\n}\nGROUP BY ?materialLabel\nORDER BY DESC(?count)", "paraphrases": ["How many paintings are created on canvas, paper, or other supports, grouped by material?", "Which surfaces do artists most frequently paint on, and what is the count of paintings for each surface?"], "info": {"raw_sparql": "SELECT ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3305213> ; <http://www.wikidata.org/prop/P186> [ <http://www.wikidata.org/prop/statement/P186> ?var1 ; <http://www.wikidata.org/prop/qualifier/P518> <http://www.wikidata.org/entity/Q861259> ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } } GROUP BY ?var1Label"}}
{"id": "test_2423", "question": "Sculptures with their creators, images, dates, locations, and countries.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?sculpture ?creator ?image ?inception ?location ?collection ?movement ?coordinates ?country ?label WHERE {\n  ?sculpture ( wdt:P31 / wdt:P279 * ) wd:Q860861 .\n  ?sculpture rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) .\n  OPTIONAL {\n    ?sculpture wdt:P170 ?creator .\n  }\n  OPTIONAL {\n    ?sculpture wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?sculpture wdt:P571 ?inception .\n  }\n  OPTIONAL {\n    ?sculpture wdt:P276 ?location .\n  }\n  OPTIONAL {\n    ?sculpture wdt:P195 ?collection .\n  }\n  OPTIONAL {\n    ?sculpture wdt:P135 ?movement .\n  }\n  OPTIONAL {\n    ?sculpture wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    ?sculpture wdt:P17 ?country .\n  }\n}", "paraphrases": ["What are all the sculptures in English, along with their creators, images, when they were made, where they are located, which collections they belong to, their artistic movements, coordinates, and countries?", "Can you list all sculptures in English, including their creators, images, inception dates, physical locations, collections, artistic movements, geographic coordinates, and countries?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q860861> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var11 . FILTER ( ( ( LANG ( ?var11 ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P170> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P276> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P195> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P135> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var10 . } }"}}
{"id": "test_2424", "question": "What is the most specific common superclass of Hebei Province and South Wales in the Wikidata ontology?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestor ?label WHERE {\n  wd:Q21208 wdt:P31 ?cls1 .\n  wd:Q1286223 wdt:P31 ?cls2 .\n  ?cls1 wdt:P279 * wd:Q82794 .\n  ?cls2 wdt:P279 * wd:Q82794 .\n  wd:Q82794 rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}", "paraphrases": ["Which geographical category do both Hebei and South Wales belong to as subclasses?", "What is the shared parent class in the hierarchy for Hebei Province and South Wales?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q21208> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1286223> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2425", "question": "What are the superclasses of artificial intelligence?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?superclass WHERE {\n  wd:Q11660 wdt:P279 ?superclass .\n}", "paraphrases": ["What categories is artificial intelligence a subclass of?", "List the immediate parent classes of artificial intelligence in the taxonomy."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { <http://www.wikidata.org/entity/Q11660> <http://www.wikidata.org/prop/direct/P279> ?var1 . } LIMIT 100"}}
{"id": "test_2426", "question": "Top 35 companies in the Czech Republic by revenue, with headquarters, net profit, and employee count.", "sparql": "SELECT ?company ?revenue ?headquarters ?companyLabel ?revenueDate ?netProfit ?employees WHERE { ?company wdt:P31 wd:Q4830453 . ?company wdt:P159 ?headquarters . ?headquarters wdt:P17 wd:Q213 . ?company wdt:P2139 ?revenue . OPTIONAL { ?company wdt:P2139 ?revenueStmt . ?revenueStmt pq:P585 ?revenueDate . } OPTIONAL { ?company wdt:P2295 ?netProfit . } OPTIONAL { ?company wdt:P1128 ?employees . } ?company rdfs:label ?companyLabel . FILTER(LANG(?companyLabel) = \"en\") } ORDER BY DESC(?revenue) LIMIT 35", "paraphrases": ["Which are the largest companies in the Czech Republic by revenue, and what are their headquarters, net profits, and number of employees?", "List the 35 highest-revenue businesses headquartered in the Czech Republic, including their net profit and number of employees."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var1Label ?var4 ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4830453> . ?var1 <http://www.wikidata.org/prop/direct/P159> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q213> . ?var1 <http://www.wikidata.org/prop/direct/P2139> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2139> ?var7 . ?var7 <http://www.wikidata.org/prop/qualifier/P585> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2295> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1128> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1278> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs, en\". } } ORDER BY DESC( ?var2 ) LIMIT 35"}}
{"id": "test_2427", "question": "What are all the techniques related to text mining, and what are their immediate parent categories?", "sparql": "SELECT ?subclass ?subclassLabel ?directParent WHERE { ?subclass wdt:P279* wd:Q676880 . OPTIONAL { ?subclass wdt:P279 ?directParent . } ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") }", "paraphrases": ["List all subclasses of text mining along with their direct parent classes in English.", "Can you show me the hierarchy of text mining-related methods, showing each method and what it is a subclass of?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q676880> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2428", "question": "What category do North Africa and South Wales both belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonCategory WHERE {\n  wd:Q27381 wdt:P31 ?commonCategory .\n  wd:Q1286223 wdt:P31 ?commonCategory .\n}", "paraphrases": ["What is the most specific shared category between North Africa and South Wales?", "Find the common type (instance of) that applies to both North Africa and South Wales."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q27381> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1286223> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2429", "question": "What are some examples of artificial intelligence systems or subfields?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item WHERE {\n  ?item(wdt:P31 | wdt:P279) wd:Q11660 .\n}\nLIMIT 200", "paraphrases": ["Which entities are classified as artificial intelligence or its subclasses?", "List all known instances and subclasses of artificial intelligence."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q11660> . } LIMIT 200"}}
{"id": "test_2430", "question": "What is the administrative hierarchy of Oudekerksplein in Amsterdam, including the types of each location?", "sparql": "SELECT DISTINCT ?placeTypeLabel ?cityTypeLabel ?city ?cityLabel ?regionTypeLabel ?region ?regionLabel WHERE { wd:Q2187982 wdt:P31 ?placeType . wd:Q2187982 wdt:P131 ?city . ?city wdt:P31 ?cityType . ?city wdt:P131 ?region . ?region wdt:P31 ?regionType . ?placeType rdfs:label ?placeTypeLabel . ?cityType rdfs:label ?cityTypeLabel . ?regionType rdfs:label ?regionTypeLabel . ?city rdfs:label ?cityLabel . ?region rdfs:label ?regionLabel . FILTER(LANG(?placeTypeLabel) = \"en\") FILTER(LANG(?cityTypeLabel) = \"en\") FILTER(LANG(?regionTypeLabel) = \"en\") FILTER(LANG(?cityLabel) = \"en\") FILTER(LANG(?regionLabel) = \"en\") }", "paraphrases": ["What type of place is Oudekerksplein, and what municipalities and provinces is it located in?", "Show the type of Oudekerksplein, the city it\u2019s in (and its type), and the province that city belongs to (and its type)."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2Label ?var3 ?var3Label ?var4Label ?var5 ?var5Label WHERE { BIND ( <http://www.wikidata.org/entity/Q2187982> AS ?var6 ). ?var6 <http://www.wikidata.org/prop/direct/P31> ?var1 . ?var6 <http://www.wikidata.org/prop/direct/P131> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var3 <http://www.wikidata.org/prop/direct/P131> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P31> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2431", "question": "Subfields of machine learning", "sparql": "SELECT ?subfield ?label WHERE { ?subfield wdt:P361 wd:Q2539 . ?subfield rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["What are some techniques or subfields that are part of machine learning?", "List the areas of study that fall under machine learning."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q2539> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_2432", "question": "Superclasses of artificial intelligence and their superclasses", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE {\n  VALUES ?var4 {\n    wd:Q11660\n  }\n  ?var2 wdt:P279 ?var4 .\n  ?var1 wdt:P279 ?var2 .\n  BIND( IF( ?var2 = ?var4 , \"ff0000\" , \"121278\" ) AS ?var3 ) ?var1 rdfs:label ?var1Label .\n  ?var2 rdfs:label ?var2Label .\n  FILTER ( LANG( ?var1Label ) = \"en\" ) FILTER ( LANG( ?var2Label ) = \"en\" )\n}", "paraphrases": ["What are the immediate and second-level superclasses of artificial intelligence, and what are their labels?", "Show me the hierarchy of two levels above artificial intelligence, including the labels of each superclass, and indicate with a color code that the direct superclass is not AI itself."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE { VALUES ( ?var4 ) { ( <http://www.wikidata.org/entity/Q11660> ) } BIND ( IF ( ( ?var2 = ?var4 ), \"ff0000\",\"121278\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3 ). ?var5 <http://www.wikidata.org/prop/direct/P279> * ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru,en\". } }"}}
{"id": "test_2433", "question": "List male military personnel from World War II who have Arabic labels but no Arabic Wikipedia page, along with their birth/death dates, countries, places of birth and death, and military ranks.", "sparql": "SELECT ?person ?birthDate ?deathDate ?country ?birthPlace ?deathPlace ?rank ?label WHERE { ?person wdt:P31 wd:Q5 ; wdt:P21 wd:Q6581097 ; wdt:P106 wd:Q47064 ; wdt:P569 ?birthDate ; wdt:P570 ?deathDate ; wdt:P27 ?country ; wdt:P19 ?birthPlace ; wdt:P20 ?deathPlace ; wdt:P607 wd:Q362 ; wdt:P410 ?rank ; rdfs:label ?label . OPTIONAL { ?arWikipediaPage schema:about ?person ; schema:inLanguage \"ar\" . } FILTER ( !BOUND(?arWikipediaPage) ) FILTER ( LANG(?label) = \"ar\" ) } LIMIT 1000", "paraphrases": ["Who are the male military personnel who fought in World War II, have Arabic-language labels, but no corresponding Arabic Wikipedia articles, and what are their birthplaces, death places, citizenships, dates of birth and death, and military ranks?", "Please provide a list of all male military personnel from World War II with Arabic labels but no Arabic Wikipedia articles, including their personal details: birth and death dates, country, birth and death locations, and military rank."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581097> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q47064> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P27> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P20> ?var6 . ?var1 <http://www.wikidata.org/prop/direct/P607> <http://www.wikidata.org/entity/Q362> . ?var1 <http://www.wikidata.org/prop/direct/P410> ?var7 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var8Label . OPTIONAL { ?var9 <http://schema.org/about> ?var1 . ?var9 <http://schema.org/inLanguage> \"ar\". } FILTER ( ( !( BOUND ( ?var9 ) ) ) ) . FILTER ( ( ( LANG ( ?var8Label ) = \"ar\" ) ) ) . } LIMIT 1000"}}
{"id": "test_2434", "question": "Image of Tadeusz Borowski with SNAC ARK ID w61w3c0s", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w61w3c0s\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w61w3c0s?", "Show me the Wikimedia Commons image for the person identified by SNAC ARK ID w61w3c0s."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6z347kk\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2435", "question": "What is the most specific category that both Beijing and China belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?common_ancestor WHERE {\n  wd:Q956 wdt:P31 ?class1 .\n  wd:Q148 wdt:P31 ?class2 .\n  ?class1 wdt:P279 * ?common_ancestor .\n  ?class2 wdt:P279 * ?common_ancestor .\n}\nORDER BY ASC ( STRLEN( STR( ?common_ancestor ) ) )\nLIMIT 1", "paraphrases": ["What do Beijing and China have in common in terms of their classification in Wikidata?", "Find the closest common superclass of Beijing and China based on their instance-of relationships."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q148> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q956> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2436", "question": "Twitter usernames for Christophe Jakubyszyn, LCI, Le Figaro, RTL, TF1 news shows, and Jack Lang.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  FILTER(?username IN(\"chrisjaku\" , \"TF1LeJT\" , \"SNCF\" , \"Le_Figaro\" , \"LCI\" , \"RTLFrance\" , \"24hPujadas\" , \"jack_lang\"))\n}\nORDER BY ?username", "paraphrases": ["Which Wikidata entities have Twitter usernames like 'chrisjaku', 'LCI', 'Le_Figaro', or 'RTLFrance'?", "Show me the Wikidata items that are linked to the Twitter handles 'chrisjaku', 'TF1LeJT', 'Le_Figaro', 'LCI', 'RTLFrance', '24hPujadas', 'jack_lang', and 'SNCF'."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"chrisjaku\" ) ( \"TF1LeJT\" ) ( \"SNCF\" ) ( \"Le_Figaro\" ) ( \"string1\" ) ( \"string2\" ) ( \"BSportouch\" ) ( \"abrezet\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"LCI\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"MideltM\" ) ( \"string10\" ) ( \"string11\" ) ( \"24hPujadas\" ) ( \"string12\" ) ( \"string13\" ) ( \"fredcharp\" ) ( \"jmblanquer\" ) ( \"RTLFrance\" ) ( \"G_Roquette\" ) ( \"string14\" ) ( \"string15\" ) ( \"jack_lang\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2437", "question": "What categories do both Kazakhstan and India belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?class WHERE {\n  wd:Q232 wdt:P31 ?class .\n  wd:Q668 wdt:P31 ?class .\n}", "paraphrases": ["Which classes are shared by India and Kazakhstan as their types?", "What are the common categories that describe both India and Kazakhstan as sovereign entities?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q232> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q668> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2438", "question": "Which country has the most paintings created by artists born there, and what are those paintings?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?painting ?paintingLabel ?creator ?creatorLabel ?country ?countryLabel ?iso_code ?image WHERE {\n  {\n    SELECT ?country ( COUNT( ?painting ) AS ?painting_count ) WHERE {\n      ?painting ( wdt:P31 / wdt:P279 * ) wd:Q3305213 ; wdt:P170 ?creator .\n      ?creator wdt:P19 ?birth_place .\n      ?birth_place wdt:P17 ?country .\n    }\n    GROUP BY ?country\n    ORDER BY DESC ( ?painting_count )\n    LIMIT 1\n  }\n  ?painting ( wdt:P31 / wdt:P279 * ) wd:Q3305213 ; wdt:P170 ?creator .\n  ?creator wdt:P19 ?birth_place .\n  ?birth_place wdt:P17 ?country .\n  ?country wdt:P298 ?iso_code .\n  OPTIONAL {\n    ?painting wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?painting rdfs:label ?paintingLabel .\n    FILTER ( LANG( ?paintingLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?creator rdfs:label ?creatorLabel .\n    FILTER ( LANG( ?creatorLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?country rdfs:label ?countryLabel .\n    FILTER ( LANG( ?countryLabel ) = \"en\" )\n  }\n}", "paraphrases": ["Show all paintings by artists whose birthplace is in the country with the highest number of such paintings.", "List the paintings, their creators, and the country of birth of the artists, for the country that has produced the most paintings."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var5 ?var6 WHERE { { SELECT( MAX ( ?var5 ) AS ?var5 ) ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3305213> ; <http://www.wikidata.org/prop/direct/P170> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var5 . ?var2 <http://www.wikidata.org/prop/direct/P19> ?var7 . ?var7 <http://www.wikidata.org/prop/direct/P17> ?var3 . } GROUP BY ?var3 HAVING ( ( ?var5 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3305213> ; <http://www.wikidata.org/prop/direct/P170> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var5 . ?var2 <http://www.wikidata.org/prop/direct/P19> ?var7 . ?var7 <http://www.wikidata.org/prop/direct/P17> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P298> ?var4 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2439", "question": "What are some examples of subnational governments in a federation?", "sparql": "SELECT ?subnationalGovernment ?subnationalGovernmentLabel WHERE { ?subnationalGovernment wdt:P279 wd:Q1802419 . ?subnationalGovernment rdfs:label ?subnationalGovernmentLabel . FILTER(LANG(?subnationalGovernmentLabel) = \"en\") } LIMIT 11", "paraphrases": ["List up to 11 types of government below the national level, such as state or provincial governments.", "Which entities are classified as subclasses of central government, like regional or state governments?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q1802419> . } LIMIT 11 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2440", "question": "What is the most specific concept that is a superclass of both Tunisia and South Korea's types?", "sparql": "SELECT ?ancestor (MIN(?dist1) + MIN(?dist2) AS ?totalDist)\nWHERE {\n  {\n    SELECT ?ancestor (COUNT(?mid) AS ?dist1)\n    WHERE {\n      wd:Q948 wdt:P31 ?type .\n      ?type wdt:P279+ ?mid .\n      ?mid wdt:P279* ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n  {\n    SELECT ?ancestor (COUNT(?mid) AS ?dist2)\n    WHERE {\n      wd:Q884 wdt:P31 ?type .\n      ?type wdt:P279+ ?mid .\n      ?mid wdt:P279* ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n}\nGROUP BY ?ancestor\nORDER BY ASC(?totalDist)\nLIMIT 1", "paraphrases": ["Which common ancestor in the subclass hierarchy has the shortest combined distance from Tunisia and South Korea?", "Find the concept that both Tunisia and South Korea are instances of, and which is the most specific shared superclass in their taxonomic paths."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q948> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q884> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2441", "question": "What entities are directly related to Mercedes-Benz as parts or divisions?", "sparql": "SELECT ?relatedEntity ?relatedEntityLabel ?instanceOf WHERE { wd:Q36008 wdt:P527 ?relatedEntity . OPTIONAL { ?relatedEntity wdt:P31 ?instanceOf . } ?relatedEntity rdfs:label ?relatedEntityLabel . FILTER(LANG(?relatedEntityLabel) = \"en\") }", "paraphrases": ["Show the name and type of the entity that is a part of Mercedes-Benz.", "What is the name and category of the motorsport-related division of Mercedes-Benz?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q36008> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P1436> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1436> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_2442", "question": "What properties are used to describe entities related to the automotive industry, and what do they mean?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?propertyLabel ?propertyDescription WHERE {\n  ?item ?prop wd:Q190117 .\n  BIND( IRI( REPLACE( STR( ?prop ) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\" ) ) AS ?propertyItem ) .\n  ?propertyItem rdfs:label ?propertyLabel .\n  ?propertyItem schema:description ?propertyDescription .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" ) FILTER ( LANG( ?propertyDescription ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Which English-labeled properties link items to the automotive industry, and what are their descriptions?", "Can you list the types of relationships that connect organizations or concepts to the automotive industry?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q190117> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_2443", "question": "Is the Eurovision Song Contest an annual event?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  wd:Q276 ( wdt:P31 / wdt:P279 * ) wd:Q11483816 .\n}", "paraphrases": ["Does the Eurovision Song Contest belong to the category of annual events through its type or subclass relationships?", "Confirm whether the Eurovision Song Contest is classified as an annual event via its instance-of or subclass-of hierarchy."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q276> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_2444", "question": "What entities are connected to Novartis, and what are their labels?", "sparql": "SELECT ?property ?object ?objectLabel WHERE { wd:Q507154 ?property ?object . FILTER(isIRI(?object)) . ?object rdfs:label ?objectLabel . FILTER(LANG(?objectLabel) = \"en\") } ORDER BY ?property", "paraphrases": ["Show all the companies, products, or organizations linked to Novartis and their names.", "Which entities are associated with the pharmaceutical company Novartis, and what are their English labels?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { ?var3 ?var4 \"Novartis\"@en . } UNION { BIND ( ?var5 AS ?var2 ). ?var3 ?var4 \"Novartis\"@en . ?var3 ?var1 ?var5 . FILTER ( ( !( isIRI ( ?var5 ) ) ) ) . } UNION { BIND ( ?var5 AS ?var2 ). ?var3 ?var4 \"Novartis\"@en . ?var3 ?var1 ?var5 . FILTER ( ( isIRI ( ?var5 ) ) ) . FILTER ( ( !( REGEX ( STR ( ?var5 ) , \"statement/\" ) ) ) ) . } UNION { BIND ( ?var5Label AS ?var2 ). ?var3 ?var4 \"Novartis\"@en . ?var3 ?var1 ?var5 . ?var5 ?var6 ?var5Label . FILTER ( ( REGEX ( STR ( ?var6 ) , \"string1\" ) ) ) . FILTER ( ( isIRI ( ?var5 ) ) ) . FILTER ( ( REGEX ( STR ( ?var5 ) , \"statement/\" ) ) ) . } FILTER ( ( REGEX ( STR ( ?var1 ) , \"string1\" ) ) ) . FILTER ( ( REGEX ( STR ( ?var1 ) , \"*P371\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2445", "question": "What entities are linked to the Ministry of Energy through properties other than \"instance of\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?entity ?property ?entityLabel WHERE {\n  ?entity ?property wd:Q19973795 .\n  FILTER ( ?property != wdt:P31 ) .\n  ?entity rdfs:label ?entityLabel .\n  FILTER ( LANG( ?entityLabel ) = \"en\" || LANG( ?entityLabel ) = \"\" )\n}\nORDER BY ?entityLabel", "paraphrases": ["Which organizations or concepts are associated with the Ministry of Energy, and how are they connected?", "List entities related to the Ministry of Energy along with the nature of their relationship, excluding simple classifications."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q19973795> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_2446", "question": "What Wikidata items are associated with the Twitter usernames 'sciencespo', 'APHP', 'Inserm', or 'Paris'?", "sparql": "SELECT ?item ?twitterUsername WHERE { ?item wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"sciencespo\" \"APHP\" \"Inserm\" \"Paris\" } }", "paraphrases": ["Which organizations or entities have Twitter accounts @sciencespo, @APHP, @Inserm, or @Paris?", "List the entities on Wikidata that use 'sciencespo', 'APHP', 'Inserm', or 'Paris' as their Twitter handle."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"cdf1530\" ) ( \"string6\" ) ( \"string7\" ) ( \"sciencespo\" ) ( \"APHP\" ) ( \"string8\" ) ( \"Paris\" ) ( \"string9\" ) ( \"Inserm\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2447", "question": "Coordinates of Egypt, Syria, Morocco, Palestine, and Germany", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?country ?coordinates WHERE {\n  VALUES ?country {\n    wd:Q79 wd:Q858 wd:Q1028 wd:Q23792 wd:Q183\n  }\n  ?country wdt:P625 ?coordinates .\n}", "paraphrases": ["What are the geographic coordinates of Egypt, Syria, Morocco, Palestine, and Germany?", "Please provide the WGS84 coordinates for the countries: Egypt, Syria, Morocco, Palestine, and Germany."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q79> ) ( <http://www.wikidata.org/entity/Q858> ) ( <http://www.wikidata.org/entity/Q1028> ) ( <http://www.wikidata.org/entity/Q858> ) ( <http://www.wikidata.org/entity/Q23792> ) ( <http://www.wikidata.org/entity/Q183> ) } VALUES ( ?var3 ) { ( \"11\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_2448", "question": "What countries are Novartis companies located in?", "sparql": "SELECT ?company ?country WHERE { ?company rdfs:label|schema:name|skos:prefLabel \"Novartis\"@en . OPTIONAL { ?company wdt:P17 ?country . } }", "paraphrases": ["In which countries are entities named \"Novartis\" headquartered or located?", "List the countries associated with organizations named Novartis in English."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ?var2Label \"Novartis\"@en . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/qualifier/P249> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2449", "question": "Which organizations have Twitter handles Mediapart, lemondefr, CNNum, sudouest, or LCP?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  FILTER ( STR( ?username ) = \"Mediapart\" || STR( ?username ) = \"lemondefr\" || STR( ?username ) = \"CNNum\" || STR( ?username ) = \"sudouest\" || STR( ?username ) = \"LCP\" )\n}", "paraphrases": ["What entities on Wikidata are associated with the Twitter usernames Mediapart, lemondefr, CNNum, sudouest, or LCP?", "List the Wikidata items that have the Twitter usernames Mediapart, lemondefr, CNNum, sudouest, or LCP."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"LenaBred\" ) ( \"mediapart\" ) ( \"faizaz\" ) ( \"axiom2015\" ) ( \"string1\" ) ( \"string2\" ) ( \"bibicheri\" ) ( \"string3\" ) ( \"twitter\" ) ( \"CNNum\" ) ( \"UNAOC\" ) ( \"leLab_E1\" ) ( \"mathieu_m\" ) ( \"dan_mdpt\" ) ( \"sudouest\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"LCP\" ) ( \"string7\" ) ( \"string8\" ) ( \"lemondefr\" ) ( \"string9\" ) ( \"string10\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2450", "question": "Image of Jacques Callot from SNAC ARK ID w6xw4z42", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6xw4z42\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the Wikimedia Commons image associated with the SNAC ARK ID w6xw4z42?", "Show me the image of the person whose SNAC ARK ID is w6xw4z42."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6xw4z42\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2451", "question": "Paintings in the Louvre Museum", "sparql": "SELECT ?painting ?paintingLabel WHERE { ?painting wdt:P31 wd:Q3305213 . ?painting wdt:P276 wd:Q19675 . ?painting rdfs:label ?paintingLabel . FILTER(LANG(?paintingLabel) = \"en\") }", "paraphrases": ["Which paintings are held by the Louvre Museum?", "List the paintings located at the Louvre Museum."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . ?var1 <http://www.wikidata.org/prop/direct/P276> <http://www.wikidata.org/entity/Q19675> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2452", "question": "Works about the automotive industry and their titles as qualifiers.", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?statement ( SAMPLE( ?qualifierProperty ) AS ?qualifier ) WHERE {\n  ?item p:P921 ?statement .\n  ?statement ps:P921 wd:Q190117 .\n  ?statement ?qualifierProperty ?qualifierValue .\n  FILTER ( STRSTARTS( STR( ?qualifierProperty ) , \"http://www.wikidata.org/prop/qualifier/\" ) )\n}\nGROUP BY ?item ?statement\nLIMIT 101", "paraphrases": ["What are some research works on the automotive industry, and what are their titles according to Wikidata qualifiers?", "Show me publications related to the automotive industry along with one of their qualifier properties, such as the title."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P921> <http://www.wikidata.org/entity/Q190117> . ?var1 <http://www.wikidata.org/prop/P921> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_2453", "question": "Which Wikidata entities have Twitter usernames XHNews or YonhapNews?", "sparql": "SELECT ?item ?twitterUsername WHERE { ?item wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"XHNews\" \"YonhapNews\" } }", "paraphrases": ["What organizations on Wikidata are associated with the Twitter accounts @XHNews and @YonhapNews?", "Show me the Wikidata items for the Twitter accounts XHNews and YonhapNews."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"JSEvrard\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"desjoyeaux\" ) ( \"AFPRennes\" ) ( \"aslasserre\" ) ( \"string4\" ) ( \"string5\" ) ( \"LumiNantes\" ) ( \"jsevrard\" ) ( \"string6\" ) ( \"string7\" ) ( \"AFPphoto\" ) ( \"string8\" ) } }"}}
{"id": "test_2454", "question": "What is the most general category that both Wall Street and Syracuse belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonClass WHERE {\n  wd:Q11690 wdt:P31 ?c1 .\n  wd:Q128069 wdt:P31 ?c2 .\n  ?c1 wdt:P279 * ?commonClass .\n  ?c2 wdt:P279 * ?commonClass .\n  FILTER ( ?commonClass = wd:Q35120 )\n}", "paraphrases": ["What is the highest-level class that includes both Wall Street and Syracuse as instances?", "What do Wall Street and Syracuse have in common at the most abstract level in Wikidata's taxonomy?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q11690> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q128069> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2455", "question": "What are the subclasses of user interface, along with their English labels and images?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subclass ?subclassLabel ?image WHERE {\n  ?subclass wdt:P279 wd:Q47146 .\n  OPTIONAL {\n    ?subclass wdt:P18 ?image .\n  }\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER(LANG(?subclassLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Show me the names and pictures of all types of user interfaces.", "Which user interface components have images available on Wikimedia Commons?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q47146> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_2456", "question": "What are all the properties and values associated with Novartis, along with its headquarters, country, stock exchange, and ticker symbols?", "sparql": "SELECT ?property ?value ?valueLabel ?ticker ?exchange ?exchangeLabel ?hq ?hqLabel ?country ?countryLabel WHERE { wd:Q507154 ?property ?value . OPTIONAL { ?value rdfs:label ?valueLabel . FILTER(LANG(?valueLabel) = \"en\") } OPTIONAL { wd:Q507154 p:P414 ?stmt . ?stmt ps:P414 ?exchange . ?stmt pq:P249 ?ticker . ?exchange rdfs:label ?exchangeLabel . FILTER(LANG(?exchangeLabel) = \"en\") } OPTIONAL { wd:Q507154 wdt:P159 ?hq . ?hq rdfs:label ?hqLabel . FILTER(LANG(?hqLabel) = \"en\") } OPTIONAL { wd:Q507154 wdt:P17 ?country . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") } }", "paraphrases": ["Show me Novartis\u2019s business details including its employees, net profit, and other attributes, as well as where it\u2019s headquartered, in which country it\u2019s based, and on which stock exchanges it\u2019s traded with their ticker symbols.", "List everything known about Novartis on Wikidata \u2014 including its financial metrics, location, and stock market information \u2014 and display the English labels for any entities involved."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var3Label ?var4 ?var5 ?var5Label ?var6 ?var6Label WHERE { <http://www.wikidata.org/entity/Q507154> ?var1 ?var7 . OPTIONAL { ?var7 <http://www.wikidata.org/prop/direct/P1082> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var7 <http://www.wikidata.org/prop/direct/P17> ?var3 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P249> ?var4 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/direct/P414> ?var5 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/direct/P159> ?var6 . } }"}}
{"id": "test_2457", "question": "What is the official website and ISIN of the company Novartis?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?website ?isin ?exchange WHERE {\n  ?company rdfs:label \"Novartis\" @en .\n  ?company wdt:P856 ?website .\n  ?company wdt:P946 ?isin .\n  ?company wdt:P414 ?exchange .\n}", "paraphrases": ["Can you tell me the website and stock identifiers for Novartis, including the exchanges it's listed on?", "Show me Novartis\u2019s official website, ISIN code, and the stock exchanges where it trades."], "info": {"raw_sparql": "SELECT * WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { ?var1 ?var2Label \"Novartis\"@en . ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P249> ?var4 . } UNION { ?var1 ?var2Label \"Novartis\"@en . ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . } UNION { ?var1 ?var2Label \"Novartis\"@en . ?var1 <http://www.wikidata.org/prop/direct/P249> ?var4 . } UNION { BIND ( ?var5 AS ?var6 ). ?var1 ?var2Label \"Novartis\"@en . ?var1 ?var7 ?var5 . ?var7 ?var8 ?var9 . FILTER ( ( isLITERAL ( ?var5 ) ) ) . } UNION { BIND ( ?var5 AS ?var6 ). ?var1 ?var2Label \"Novartis\"@en . ?var1 ?var7 ?var10 . ?var7 ?var8 ?var9 . FILTER ( ( isIRI ( ?var10 ) && REGEX ( STR ( ?var10 ) , \"string1\" ) ) ) . ?var10 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var6 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2458", "question": "What entities are associated with Novartis, and what are their names?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?value ?valueLabel WHERE {\n  wd:Q507154 ?property ?value .\n  FILTER(isIRI(?value))\n  .\n  ?value rdfs:label ?valueLabel .\n  FILTER(LANG(?valueLabel) = \"en\")\n}", "paraphrases": ["Can you list all the organizations, products, or places connected to Novartis and their English labels?", "Show me all the things that Novartis is related to in Wikidata, along with their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { ?var3 ?var4Label \"Novartis\"@en . } UNION { ?var3 ?var4Label \"Novartis\"@en . ?var3 ?var1 ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2459", "question": "Paintings in Finnish National Gallery by artists who died before 1923 with JPEG images", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?painting ?death_year WHERE {\n  ?painting wdt:P31 wd:Q3305213 ; wdt:P195 wd:Q2983474 ; wdt:P170 ?artist ; wdt:P18 ?image_url .\n  ?artist wdt:P570 ?death_date .\n  BIND(YEAR(?death_date) AS ?death_year)\n  .\n  FILTER(STRENDS(STR(?image_url) , \".jpg\") || STRENDS(STR(?image_url) , \".jpeg\"))\n  .\n  FILTER(?death_year < 1923)\n}\nLIMIT 10000", "paraphrases": ["Which paintings from the Finnish National Gallery were created by artists who died before 1923 and have JPEG images on Wikimedia Commons?", "List all paintings in the Finnish National Gallery collection that have JPEG images and were created by artists who died before 1923."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/P4765> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . ?var5 <http://www.wikidata.org/prop/statement/P4765> ?var6 . ?var5 <http://www.wikidata.org/prop/qualifier/P2701> <http://www.wikidata.org/entity/Q2195> . ?var5 <http://www.wikidata.org/prop/qualifier/P2699> ?var7 . ?var5 <http://www.wikidata.org/prop/qualifier/P1476> ?var8 . ?var5 <http://www.wikidata.org/prop/qualifier/P2093> ?var9 . OPTIONAL { ?var5 <http://www.wikidata.org/prop/qualifier/P275> ?var10 . } BIND ( CONCAT ( \"string1\", ?var11 , \"}}\" ) AS ?var12 ). BIND ( YEAR ( ?var13 ) AS ?var2 ). ?var1 <http://www.wikidata.org/prop/direct/P195> ?var14 . ?var14 <http://www.wikidata.org/prop/direct/P1612> ?var11 . ?var1 <http://www.wikidata.org/prop/direct/P195> <http://www.wikidata.org/entity/Q2983474> . ?var14 <http://www.w3.org/2000/01/rdf-schema#label> ?var14Label . FILTER ( ( ( LANG ( ?var14Label ) = \"en\" ) ) ) . ?var14 <http://www.wikidata.org/prop/direct/P373> ?var15 . ?var1 <http://www.wikidata.org/prop/direct/P170> ?var16 . ?var16 <http://www.wikidata.org/prop/direct/P570> ?var13 . FILTER ( ( ( ?var2 < \"1923\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . OPTIONAL { BIND ( CONCAT ( \"{{Creator:\", ?var17 , \"}}\" ) AS ?var18 ). ?var16 <http://www.wikidata.org/prop/direct/P1472> ?var17 . } OPTIONAL { ?var16 <http://www.wikidata.org/prop/direct/P373> ?var19 . } ?var1 <http://www.wikidata.org/prop/direct/P217> ?var20 . } LIMIT 10000"}}
{"id": "test_2460", "question": "Which automobile manufacturers have the most subsidiaries, and what are their Japanese names?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?manufacturer ?labelJa(COUNT(?subsidiary) AS ?subsidiaryCount) WHERE {\n  ?manufacturer wdt:P31 wd:Q786820 .\n  ?subsidiary wdt:P355 ?manufacturer .\n  OPTIONAL {\n    ?manufacturer rdfs:label ?labelJa .\n    FILTER(LANG(?labelJa) = \"ja\")\n  }\n}\nGROUP BY ?manufacturer ?labelJa\nORDER BY DESC(?subsidiaryCount)\nLIMIT 1000", "paraphrases": ["Top automobile manufacturers by number of subsidiaries, with Japanese labels", "Show me the 1000 automobile manufacturers with the highest number of subsidiaries, including their Japanese names if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q786820> . ?var3 <http://www.wikidata.org/prop/direct/P355> ?var1 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"ja\" ) ) ) . } } GROUP BY ?var1 ?var2 ORDER BY DESC( ?var4 ) LIMIT 1000"}}
{"id": "test_2461", "question": "People who are citizens of countries with a population of about six million.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person ?personLabel ?countryLabel ?population WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P27 ?country .\n  ?country wdt:P1082 ?population .\n  ?country rdfs:label ?countryLabel .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) FILTER ( LANG( ?countryLabel ) = \"en\" ) FILTER ( ?population > 5500000 && ?population < 6500000 )\n}\nLIMIT 100", "paraphrases": ["Which people are citizens of countries that have approximately six million inhabitants?", "List individuals who hold citizenship in nations with a population close to 6 million, along with their country names and population figures."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P27> [ <http://www.wikidata.org/prop/direct/P706> ?var2 ; <http://www.wikidata.org/prop/direct/P1082> ?var3 ] . MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q14897293> . } FILTER ( ( ( ?var3 = \"6000000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 100"}}
{"id": "test_2462", "question": "Which subsidiary of Volkswagen Group shares the most categories with Volkswagen?", "sparql": "SELECT ?subsidiary (COUNT(?type) AS ?sharedTypes) WHERE { wd:Q246 wdt:P31 ?type . wd:Q156578 wdt:P355 ?subsidiary . ?subsidiary wdt:P31 ?type . } GROUP BY ?subsidiary ORDER BY DESC(?sharedTypes) LIMIT 1", "paraphrases": ["Among all subsidiaries of Volkswagen Group, which one has the same types (e.g., car brand, manufacturer) as Volkswagen?", "What Volkswagen Group subsidiary is most similar to Volkswagen in terms of its classification?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q22654> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q246> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2463", "question": "People from countries with populations near 6 million located on physical features like Scandinavia or the Arctic.", "sparql": "SELECT DISTINCT ?person ?physicalFeature ?country ?population ?personLabel ?physicalFeatureLabel ?countryLabel WHERE { ?person wdt:P27 ?country . ?country wdt:P31 wd:Q6256 . ?country wdt:P706 ?physicalFeature . ?country wdt:P1082 ?population . FILTER ( ABS( ?population - 6000000 ) < 400000 ) ?person rdfs:label ?personLabel . ?physicalFeature rdfs:label ?physicalFeatureLabel . ?country rdfs:label ?countryLabel . FILTER (LANG(?personLabel) = \"en\") FILTER (LANG(?physicalFeatureLabel) = \"en\") FILTER (LANG(?countryLabel) = \"en\") } LIMIT 100", "paraphrases": ["Which people are citizens of countries with populations between 5.6 and 6.4 million that are located on major physical regions such as the Levant or Fennoscandia?", "Show me a list of individuals and the physical geographic regions their home countries are located on, where those countries have populations close to 6 million."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var1Label ?var2Label ?var3 WHERE { FILTER ( ( ( ABS ( ( ?var3 -\"6000000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) < \"400000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P27> ?var4 . ?var4 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q6256> . ?var4 <http://www.wikidata.org/prop/direct/P706> ?var2 . ?var4 <http://www.wikidata.org/prop/direct/P1082> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 100"}}
{"id": "test_2464", "question": "Paintings with JPEG images from external URLs, created by artists who died before 1923, and their collection and creator details.", "sparql": "SELECT ?painting ?inventoryNumber ?imageURL ?title ?authorName ?collection ?collectionLabel ?collectionCommonsPage ?collectionCommonsCategory ?creator ?creatorDeathDate ?creatorCommonsPage ?creatorCommonsCategory WHERE {  ?painting p:P4765 ?imageStatement .  ?imageStatement ps:P4765 ?imageURL .  ?imageStatement pq:P2701 wd:Q2195 .  ?imageStatement pq:P1476 ?title .  ?imageStatement pq:P2093 ?authorName .  ?painting wdt:P31 wd:Q3305213 .  ?painting wdt:P217 ?inventoryNumber .  ?painting wdt:P195 ?collection .  ?collection wdt:P1612 ?collectionCommonsPage .  ?collection wdt:P373 ?collectionCommonsCategory .  ?collection rdfs:label ?collectionLabel .  FILTER ( LANG(?collectionLabel) = \"en\" )  ?painting wdt:P170 ?creator .  ?creator wdt:P570 ?creatorDeathDate .  BIND( YEAR(?creatorDeathDate) AS ?creatorDeathYear )  FILTER ( ?creatorDeathYear < 1923 )  ?creator wdt:P1472 ?creatorCommonsPage .  ?creator wdt:P373 ?creatorCommonsCategory . } LIMIT 1500", "paraphrases": ["Which paintings have publicly accessible JPEG images from external sources, were created by artists who died before 1923, and are part of English-language museum collections on Wikimedia Commons?", "List paintings from museum collections that have a JPEG image available at an external URL, were painted by artists who died before 1923, and include the artist\u2019s name, title, and Commons pages."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10Label ?var11 ?var12 ?var13 ?var14 ?var15 ?var16 WHERE { ?var1 <http://www.wikidata.org/prop/P4765> ?var17 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P18> [] . } BIND ( YEAR ( ?var18 ) AS ?var14 ). BIND ( ( NOW ( ) - ?var2 ) AS ?var19 ). BIND ( ( NOW ( ) - ?var13 ) AS ?var20 ). ?var1 <http://schema.org/dateModified> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . ?var1 <http://www.wikidata.org/prop/direct/P217> ?var3 . ?var17 <http://www.wikidata.org/prop/statement/P4765> ?var4 . ?var17 <http://www.wikidata.org/prop/qualifier/P2701> <http://www.wikidata.org/entity/Q2195> . ?var17 <http://www.wikidata.org/prop/qualifier/P2699> ?var5 . ?var17 <http://www.wikidata.org/prop/qualifier/P1476> ?var6 . ?var17 <http://www.wikidata.org/prop/qualifier/P2093> ?var7 . ?var1 <http://www.wikidata.org/prop/direct/P195> ?var10 . ?var10 <http://www.wikidata.org/prop/direct/P1612> ?var9 . ?var10 <http://www.w3.org/2000/01/rdf-schema#label> ?var10Label . FILTER ( ( ( LANG ( ?var10Label ) = \"en\" ) ) ) . ?var10 <http://www.wikidata.org/prop/direct/P373> ?var11 . ?var1 <http://www.wikidata.org/prop/direct/P170> ?var12 . ?var12 <http://www.wikidata.org/prop/direct/P570> ?var18 . FILTER ( ( ( ?var14 < \"1923\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var12 <http://schema.org/dateModified> ?var13 . ?var12 <http://www.wikidata.org/prop/direct/P1472> ?var15 . ?var12 <http://www.wikidata.org/prop/direct/P373> ?var16 . FILTER ( ( ( ?var19 > \"7\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( ?var20 > \"7\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } LIMIT 1500"}}
{"id": "test_2465", "question": "What are some automobile manufacturers?", "sparql": "SELECT ?company ?companyLabel WHERE { ?company wdt:P31 wd:Q786820 . ?company rdfs:label ?companyLabel . FILTER(LANG(?companyLabel) = \"en\") }", "paraphrases": ["List the names of companies that manufacture automobiles in English.", "Which entities are classified as automobile manufacturers on Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q786820> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4830453> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q17412622> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_2466", "question": "Which media outlets have the Twitter usernames \"Le_Figaro\" or \"LEXPRESS\"?", "sparql": "SELECT ?media ?twitterUsername WHERE { ?media wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"Le_Figaro\" \"LEXPRESS\" } }", "paraphrases": ["What are the Wikidata entities for the French newspapers Le Figaro and L'Express based on their X (Twitter) usernames?", "Show me the media organizations on Wikidata that use \"Le_Figaro\" and \"LEXPRESS\" as their X (Twitter) handles."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"LEXPRESS\" ) ( \"string1\" ) ( \"Le_Figaro\" ) } }"}}
{"id": "test_2467", "question": "What properties (other than \"instance of\") are used to associate entities with Belgium in Wikidata?", "sparql": "SELECT DISTINCT ?property WHERE { ?item ?statementValueProperty wd:Q31 . ?property wikibase:statementProperty ?statementValueProperty . FILTER (?property != wd:P31) }", "paraphrases": ["Which facts about Belgium, excluding its classification as a country, are stored in Wikidata using properties other than P31?", "List all the types of relationships (like \"capital\", \"language\", etc.) that link other entities to Belgium in Wikidata, excluding the \"instance of\" relationship."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 ?var3 <http://www.wikidata.org/entity/Q31> . ?var1 <http://wikiba.se/ontology#statementProperty> ?var3 . FILTER ( ( ( ?var1 != <http://www.wikidata.org/entity/P31> ) ) ) . }"}}
{"id": "test_2468", "question": "English and German Wikipedia pages for the movie with IMDb ID tt0401729", "sparql": "SELECT ?movie ?page WHERE { ?movie wdt:P345 \"tt0401729\" . ?page schema:about ?movie . { ?page schema:inLanguage \"en\" . } UNION { ?page schema:inLanguage \"de\" . } }", "paraphrases": ["What are the English and German Wikipedia pages for the film John Carter (IMDb: tt0401729)?", "Show me the English and German language pages about the movie John Carter, identified by its IMDb ID tt0401729."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0401729\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2469", "question": "What are the English descriptions of entities named \"Beerland\"?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item rdfs:label \"Beerland\"@en . OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") . } }", "paraphrases": ["Can you list the TV series, video game, and documentary film titled \"Beerland\" along with their descriptions?", "Which items in Wikidata have the exact label \"Beerland\" in English, and what are their descriptions?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4013> \"beerland\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2470", "question": "What properties are used to describe \"art of painting\" in Wikidata, and what are the objects and their counts linked by each property?", "sparql": "SELECT ?property ?propertyLabel (COUNT(?object) AS ?objectCount) (GROUP_CONCAT(?objectLabel; SEPARATOR=\", \") AS ?objectLabels)\nWHERE {\n  wd:Q11629 ?property ?object .\n  ?object rdfs:label ?objectLabel .\n  FILTER(LANG(?objectLabel) = \"en\") .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?propertyLabel .\n  FILTER(LANG(?propertyLabel) = \"en\") .\n}\nGROUP BY ?property ?propertyLabel", "paraphrases": ["For each property connected to \"art of painting\", show its English name, how many things it links to, and what those things are called in English.", "List the English labels of properties that link to \"art of painting\", along with the number of English-labeled objects they connect to and the names of those objects."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q11629> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_2471", "question": "Buildings in Washington, D.C. with images, Commons categories, and addresses.", "sparql": "SELECT ?item ?itemLabel ?image ?commonsCategory ?address WHERE { ?item wdt:P625 ?location . BIND(geof:longitude(?location) AS ?lon) BIND(geof:latitude(?location) AS ?lat) FILTER(?lon >= -77.12 && ?lon <= -76.9 && ?lat >= 38.78 && ?lat <= 38.99) OPTIONAL { ?item wdt:P18 ?image . } OPTIONAL { ?item wdt:P373 ?commonsCategory . } OPTIONAL { ?item wdt:P969 ?address . } ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } LIMIT 100", "paraphrases": ["What landmarks in Washington, D.C. have photos on Wikimedia Commons, and what are their associated Commons categories and addresses?", "List entities located in Washington, D.C. with their English labels, images, Wikimedia Commons categories, and street addresses."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(-78 39)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(-78 39)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_2472", "question": "Image of Angelo Battelli (SNAC ARK ID: w6qm06nj)", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6qm06nj\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6qm06nj?", "Show me the Wikimedia Commons image for the person with SNAC ARK ID w6qm06nj."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6qm06nj\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2473", "question": "What type of computer is TRS-703?", "sparql": "SELECT ?class ?classLabel WHERE { wd:Q12643215 wdt:P31 ?class . ?class rdfs:label ?classLabel . FILTER (LANG(?classLabel) = \"en\") } LIMIT 50", "paraphrases": ["What is the English name of the category that TRS-703 belongs to?", "What class is the Croatian computer model TRS-703 an instance of, in English?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q12643215> <http://www.wikidata.org/prop/direct/P279> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } LIMIT 50"}}
{"id": "test_2474", "question": "What is the German or English Wikipedia page for the film with IMDb ID tt0047140?", "sparql": "SELECT ?film ?wikipediaPage WHERE { ?film wdt:P345 \"tt0047140\" . ?wikipediaPage schema:about ?film . VALUES ?lang { \"en\" \"de\" } . ?wikipediaPage schema:inLanguage ?lang . }", "paraphrases": ["Which Wikipedia articles in English or German are about the film with IMDb ID tt0047140?", "Show me the English or German Wikipedia links for the movie identified by IMDb ID tt0047140."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0047140\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2475", "question": "Stock exchanges, their countries, ISO codes, and currency codes", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var1Label ?var3Label ?var4 ?var5 ?var6 WHERE {\n  ?var1 wdt:P31 wd:Q11691 .\n  ?var1 rdfs:label ?var1Label .\n  ?var1 wdt:P17 ?var3 .\n  ?var3 rdfs:label ?var3Label .\n  ?var3 wdt:P297 ?var4 .\n  ?var3 wdt:P298 ?var5 .\n  ?var1 wdt:P38 ?var7 .\n  ?var7 wdt:P498 ?var6 .\n  FILTER(LANG(?var1Label) = \"en\")\n  FILTER(LANG(?var3Label) = \"en\")\n}", "paraphrases": ["What are the stock exchanges, their countries, country ISO codes, and the currencies they use?", "List all stock exchanges with their country names, two-letter and three-letter country codes, and the ISO 4217 currency code used."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3Label ?var4Label ?var5Label ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11691> . { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . } { ?var3 <http://www.wikidata.org/prop/direct/P297> ?var4 . } { ?var3 <http://www.wikidata.org/prop/direct/P298> ?var5 . } { ?var1 <http://www.wikidata.org/prop/direct/P38> ?var7 . } { ?var7 <http://www.wikidata.org/prop/direct/P498> ?var6 . } { ?var7 <http://www.wikidata.org/prop/direct/P498> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_2476", "question": "List all entities and their ticker symbols in Wikidata.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity ?tickerSymbol WHERE {\n  ?entity wdt:P249 ?tickerSymbol .\n}", "paraphrases": ["Which companies, indices, or financial instruments have ticker symbols registered in Wikidata, and what are those symbols?", "Show me the mapping between financial entities and their stock ticker symbols from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P249> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_2477", "question": "Organizations with their PermID and English names", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?organization ?permId ?label WHERE {\n  ?organization(wdt:P31 / wdt:P279 *) wd:Q43229 .\n  ?organization wdt:P3347 ?permId .\n  ?organization rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["Which organizations have a Thomson Reuters PermID and an English label?", "List all organizations (including subclasses) that have a PermID assigned by Thomson Reuters, along with their English names."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3Label WHERE { FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q43229> . ?var1 <http://www.wikidata.org/prop/direct/P3347> ?var2 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . }"}}
{"id": "test_2478", "question": "People who attended an educational institution but never held public office.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person WHERE {\n  ?person wdt:P31 wd:Q5 ; wdt:P69 [] .\n  OPTIONAL {\n    ?person wdt:P39 ?position .\n  }\n  FILTER ( ! BOUND( ?position ) )\n}", "paraphrases": ["Who are the people that studied at some school or university but never held any official position?", "List all humans who have an alma mater but have never held a political or public office."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P69> [] . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P39> ?var2 . } FILTER ( ( !( BOUND ( ?var2 ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2479", "question": "English label of the lint software tool", "sparql": "SELECT ?label WHERE { wd:Q1727373 rdfs:label ?label . FILTER (LANGMATCHES(LANG(?label), \"en\")) }", "paraphrases": ["What is the English name of the lint program analyzer?", "Show me the English label for the entity Q1727373, which is a static code analysis tool."], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { <http://www.wikidata.org/entity/Q1727373> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( LANGMATCHES ( LANG ( ?var1Label ) , \"EN\" ) ) ) . } LIMIT 1"}}
{"id": "test_2480", "question": "What organizations or regions include India as a part, and are there any qualifiers on those relationships?", "sparql": "SELECT ?entity ?entityLabel ?statement (SAMPLE(?qualifierProperty) AS ?qualifier) WHERE { ?entity p:P527 ?statement . ?statement ps:P527 wd:Q668 . OPTIONAL { ?statement ?qualifierProperty ?value . ?qualifierProperty wikibase:qualifier true . } OPTIONAL { ?entity rdfs:label ?entityLabel . FILTER(LANG(?entityLabel) = \"en\") } } GROUP BY ?entity ?entityLabel ?statement LIMIT 101", "paraphrases": ["Which entities have India as a component according to Wikidata, and what additional details (qualifiers) are attached to those relationships?", "List all entities that have India as a part, along with their labels and any qualifier properties on the \"has part\" statements."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P527> <http://www.wikidata.org/entity/Q668> . ?var1 <http://www.wikidata.org/prop/P527> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_2481", "question": "Image of the person with SNAC ARK ID w6cz3dcx", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6cz3dcx\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w6cz3dcx?", "Show me the Wikimedia Commons image for the entity identified by SNAC ARK ID w6cz3dcx."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6cz3dcx\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2482", "question": "What are the software programs used for 3D computer graphics and their copyright licenses?", "sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label WHERE { ?var1 wdt:P31 wd:Q7397 . ?var1 wdt:P366 wd:Q189177 . ?var1 wdt:P275 ?var2 . ?var1 rdfs:label ?var1Label . ?var2 rdfs:label ?var2Label . FILTER(LANG(?var1Label) = \"en\") FILTER(LANG(?var2Label) = \"en\") }", "paraphrases": ["Which 3D graphics software are available under open-source licenses like MIT or Apache?", "Can you list 3D modeling tools and the licenses they use?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/statement/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . ?var1 <http://www.wikidata.org/prop/direct/P366> <http://www.wikidata.org/entity/Q189177> . ?var1 <http://www.wikidata.org/prop/direct/P275> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2483", "question": "Which companies are listed on stock exchanges with the ticker symbols \"IBM\" or \"NSU\"?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT DISTINCT ?company ?companyLabel ?ticker ?exchange ?exchangeLabel WHERE {\n  ?company wdt:P31 / wdt:P279 * wd:Q4830453 .\n  VALUES ?ticker {\n    \"IBM\" \"NSU\"\n  }\n  ?company p:P414 ?stmt .\n  ?stmt ps:P414 ?exchange ; pq:P249 ?ticker .\n  ?exchange rdfs:label ?exchangeLabel .\n  FILTER ( LANG( ?exchangeLabel ) = \"en\" )\n}", "paraphrases": ["Can you list the businesses with ticker symbols IBM or NSU, along with the stock exchanges they're traded on?", "What are the English-named stock exchanges where companies with ticker symbols \"IBM\" or \"NSU\" are listed?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q4830453> . { ?var1 <http://www.wikidata.org/prop/direct/P249> ?var3 . OPTIONAL { ?var3 <http://www.wikidata.org/prop/qualifier/P414> ?var2 . } FILTER ( ( ( LCASE ( STR ( ?var3 ) ) = \"nsu\" ) ) ) . } UNION { ?var1 <http://www.wikidata.org/prop/P414> ?var2 . ?var2 <http://www.wikidata.org/prop/qualifier/P249> ?var3 . FILTER ( ( ( LCASE ( STR ( ?var3 ) ) = \"ibm\" ) ) ) . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . } }"}}
{"id": "test_2484", "question": "Image of Enver Pasha with SNAC ARK ID w60h692w", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w60h692w\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with Enver Pasha in the SNAC database?", "Show me the Wikimedia Commons image for the person identified by SNAC ARK ID w60h692w."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w60h692w\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2485", "question": "Which country is located on the Korean Peninsula and shares a border with Russia?", "sparql": "SELECT ?country WHERE { wd:Q483134 wdt:P17 ?country . ?country wdt:P47 wd:Q159 . }", "paraphrases": ["Find the country that is part of the Korean Peninsula and borders Russia.", "What nation on the Korean Peninsula has a land border with Russia?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q159> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q483134> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2486", "question": "Which Wikidata entities have the Twitter usernames \"EvoMRI\", \"hildabast\", \"TechCrunch\", \"wikidata\", or \"sadads\"?", "sparql": "SELECT ?entity ?twitterUsername WHERE { ?entity wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"EvoMRI\" \"hildabast\" \"TechCrunch\" \"wikidata\" \"sadads\" } }", "paraphrases": ["Who or what organizations are associated with the Twitter accounts @EvoMRI, @hildabast, @TechCrunch, @wikidata, and @sadads?", "Can you tell me the Wikidata items for these Twitter handles: EvoMRI, hildabast, TechCrunch, wikidata, and sadads?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"sadads\" ) ( \"wikidata\" ) ( \"EvoMRI\" ) ( \"ikwattro\" ) ( \"TechCrunch\" ) ( \"vrmaac\" ) ( \"UVADSI\" ) ( \"hildabast\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) } }"}}
{"id": "test_2487", "question": "Is the academic article on crystal structures of ferritin from Archaeoglobus fulgidus considered software?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q42653799 ( wdt:P31 / wdt:P279 * ) wd:Q7397 .\n}", "paraphrases": ["Does the scholarly article describing the crystal structure of ferritin belong to a class that is a subclass of software?", "Check whether this scientific paper is categorized as software or a type of software."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q42653799> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_2488", "question": "Subclasses of file format family", "sparql": "SELECT ?formatFamily ?formatFamilyLabel WHERE { ?formatFamily wdt:P279 wd:Q26085352 . ?formatFamily rdfs:label ?formatFamilyLabel . FILTER(LANGMATCHES(LANG(?formatFamilyLabel), \"en\")) }", "paraphrases": ["What are the subclasses of the file format family category?", "List all groups of file formats that are classified as subcategories of file format family."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { BIND ( <http://www.wikidata.org/entity/Q26085352> AS ?var2 ). ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 ; <http://www.wikidata.org/prop/direct/P279> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_2489", "question": "Polish labels and descriptions of properties used for John Paul II", "sparql": "SELECT ?propertyItem ?propertyLabel ?propertyDescription WHERE { wd:Q989 ?prop ?value . ?propertyItem wikibase:directClaim ?prop . ?propertyItem rdfs:label ?propertyLabel . ?propertyItem schema:description ?propertyDescription . FILTER (LANG(?propertyLabel) = \"pl\") . FILTER (LANG(?propertyDescription) = \"pl\") . } LIMIT 100", "paraphrases": ["What are the Polish labels and descriptions of the properties that describe Pope John Paul II?", "Show me the Polish names and definitions of all properties associated with John Paul II on Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q989> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"pl\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"pl\" ) ) ) . } LIMIT 100"}}
{"id": "test_2490", "question": "What are the English and German Wikipedia pages about the movie with IMDb ID tt0120737?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?wikipedia_page ?language WHERE {\n  ?item wdt:P345 \"tt0120737\" .\n  ?wikipedia_page schema:about ?item ; schema:inLanguage ?language .\n  FILTER ( ?language = \"en\" || ?language = \"de\" )\n}", "paraphrases": ["Can you show me the Wikipedia articles in English and German that are about the film \"The Lord of the Rings: The Fellowship of the Ring\"?", "I want to find all Wikipedia and Wikiquote pages in English or German that are linked to the movie identified by IMDb ID tt0120737."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6011398\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2491", "question": "List all administrative arrondissements of Belgium with their NUTS codes, NIS codes, GeoNames IDs, Freebase IDs, and French Wikipedia page titles.", "sparql": "SELECT DISTINCT ?arrondissement ?nutsCode ?nisCode ?wikipediaTitle ?geonamesId ?freebaseId WHERE { ?arrondissement wdt:P31 wd:Q91028 . OPTIONAL { ?arrondissement wdt:P605 ?nutsCode . } OPTIONAL { ?arrondissement wdt:P1567 ?nisCode . } OPTIONAL { ?arrondissement wdt:P1566 ?geonamesId . } OPTIONAL { ?arrondissement wdt:P646 ?freebaseId . } OPTIONAL { ?wikipediaPage schema:about ?arrondissement ; schema:inLanguage \"fr\" ; schema:isPartOf <https://fr.wikipedia.org/> . BIND(STRAFTER(STR(?wikipediaPage), \"https://fr.wikipedia.org/wiki/\") AS ?wikipediaTitle) } }", "paraphrases": ["What are the NUTS codes, NIS codes, GeoNames IDs, Freebase IDs, and French Wikipedia page titles for each administrative arrondissement in Belgium?", "Show me the French Wikipedia titles and associated identifiers (NUTS, NIS, GeoNames, Freebase) for all Belgian administrative arrondissements."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q91028> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P605> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1567> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1566> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P646> ?var6 . } OPTIONAL { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/inLanguage> \"fr\". ?var4 <http://schema.org/isPartOf> <https://fr.wikipedia.org/> . } }"}}
{"id": "test_2492", "question": "Image of Venanzio Rauzzini with SNAC ARK ID w69c7hmb", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w69c7hmb\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the Wikimedia Commons image associated with the SNAC ARK ID w69c7hmb?", "Show me the picture of the person identified by the SNAC ARK ID w69c7hmb."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w69c7hmb\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2493", "question": "What is the English title of the film \"The Lord of the Rings: The Fellowship of the Ring,\" and where can I find its Wikipedia page?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?image ?coordinates ?wikipediaArticle WHERE {\n  wd:Q127367 rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) OPTIONAL {\n    wd:Q127367 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q127367 wdt:P625 ?coordinates .\n  }\n  ?wikipediaArticle schema:about wd:Q127367 ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n}", "paraphrases": ["Can you show me the English Wikipedia article for The Lord of the Rings: The Fellowship of the Ring, along with its image and geographic coordinates if available?", "Tell me about The Lord of the Rings: The Fellowship of the Ring \u2014 what\u2019s its official English name, is there an image of it, and does it have any location data? Also, link to its English Wikipedia page."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/statement/Q18221034-a08f8819-4fed-430d-a01c-41c19f66bb29> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var7 ) ) ) . VALUES ( ?var7 ?var8 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/statement/Q18221034-a08f8819-4fed-430d-a01c-41c19f66bb29> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/statement/Q18221034-a08f8819-4fed-430d-a01c-41c19f66bb29> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/statement/Q18221034-a08f8819-4fed-430d-a01c-41c19f66bb29> <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/statement/Q18221034-a08f8819-4fed-430d-a01c-41c19f66bb29> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var8 )"}}
{"id": "test_2494", "question": "What is the most specific category that both Australia and Beverly Hills belong to in Wikidata?", "sparql": "SELECT DISTINCT ?commonClass WHERE { BIND(wd:Q56061 AS ?commonClass) wd:Q408 wdt:P31 ?c1 . ?c1 wdt:P279* ?commonClass . wd:Q127856 wdt:P31 ?c2 . ?c2 wdt:P279* ?commonClass .}", "paraphrases": ["What common administrative classification do Australia and Beverly Hills share?", "Which class is the closest common ancestor of Australia and Beverly Hills in the Wikidata taxonomy?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q408> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q127856> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2495", "question": "Multilingual labels and descriptions for Python programming language", "sparql": "SELECT ?property ?value WHERE { wd:Q28865 ?property ?value . FILTER(?property = rdfs:label || ?property = schema:description) }", "paraphrases": ["What are the different language versions of the name and description for the Python programming language on Wikidata?", "Show me all the translations of the label and description for Python in different languages."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } <http://www.wikidata.org/entity/Q28865> ?var1 ?var2 . } LIMIT 250"}}
{"id": "test_2496", "question": "Ships and terminals owned by Caledonian MacBrayne, their Wikipedia pages, types, and all owners.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?itemLabel ?wikipediaPage ?owner ?website ?type WHERE {\n  ?item wdt:P127 wd:Q1026582 .\n  ?wikipediaPage schema:about ?item ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n  OPTIONAL {\n    ?item wdt:P856 ?website .\n  }\n  OPTIONAL {\n    ?item wdt:P31 ?type .\n  }\n  OPTIONAL {\n    ?item wdt:P127 ?owner .\n  }\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER(LANG(?itemLabel) = \"en\")\n  }\n}", "paraphrases": ["What vessels and terminals are owned by Caledonian MacBrayne, and what are their English Wikipedia pages, types, and all known owners?", "List all items owned by Caledonian MacBrayne, including their English Wikipedia links, types, official websites (if any), and all their owners \u2014 even historical ones."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P127> <http://www.wikidata.org/entity/Q1026582> . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"en\". ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P127> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2497", "question": "Wikidata items with Twitter/X usernames", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . } ORDER BY ?username", "paraphrases": ["Which entities on Wikidata have Twitter/X accounts, and what are their usernames?", "List all Wikidata items that are linked to a Twitter/X username, sorted by username."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"egal_fh\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2498", "question": "Artworks depicting a female with qualifier properties", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?artwork ?statement ( SAMPLE( ?qualifier ) AS ?qualifierProperty ) WHERE {\n  ?artwork p:P180 ?statement .\n  ?statement ps:P180 wd:Q6581072 .\n  OPTIONAL {\n    ?statement ?qualifier ?value .\n    ?qualifier wikibase:qualifier true .\n  }\n}\nGROUP BY ?artwork ?statement\nLIMIT 100", "paraphrases": ["What artworks depict a female, and what qualifiers are used on their depiction statements?", "List artworks that show a female person and include any additional details (like position in the image) specified in their depiction statements."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P180> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/P180> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_2499", "question": "List spacecraft and their crew members from Wikidata, including the type of each crew member and whether the relationship is a main statement, qualifier, or reference.", "sparql": "SELECT ?vehicle ?vehicleLabel ?crewMember ?crewMemberLabel ?crewType ?crewTypeLabel ?statementType WHERE { VALUES ?vehicleType { wd:Q752783 wd:Q18201623 wd:Q428661 wd:Q14637321 wd:Q53710030 wd:Q11446 wd:Q11447 } ?vehicle wdt:P31 ?vehicleType . { BIND(\"mainsnak\" AS ?statementType) ?vehicle wdt:P1029 ?crewMember . FILTER(BOUND(?crewMember) && STRSTARTS(STR(?crewMember), \"http://www.wikidata.org/entity/\")) } UNION { BIND(\"qualifier\" AS ?statementType) ?vehicle ?p ?statement . ?statement pq:P1029 ?crewMember . FILTER(BOUND(?crewMember) && STRSTARTS(STR(?crewMember), \"http://www.wikidata.org/entity/\")) } UNION { BIND(\"reference\" AS ?statementType) ?vehicle ?p ?statement . ?statement prov:wasDerivedFrom ?ref . ?ref pr:P1029 ?crewMember . FILTER(BOUND(?crewMember) && STRSTARTS(STR(?crewMember), \"http://www.wikidata.org/entity/\")) } OPTIONAL { ?crewMember wdt:P31 ?crewType . } OPTIONAL { ?vehicle rdfs:label ?vehicleLabel . FILTER(LANG(?vehicleLabel) = \"en\") } OPTIONAL { ?crewMember rdfs:label ?crewMemberLabel . FILTER(LANG(?crewMemberLabel) = \"en\") } OPTIONAL { ?crewType rdfs:label ?crewTypeLabel . FILTER(LANG(?crewTypeLabel) = \"en\") } } LIMIT 100", "paraphrases": ["Which vehicles have crew members listed in Wikidata, and what are the types and labels of those crew members, along with the context (main statement, qualifier, or reference) of each entry?", "Show me a list of vehicles (like ships or spacecraft) with their crew members, including the crew members' types and labels, and indicate whether each crew member association is a main statement, qualifier, or reference."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 WHERE { { BIND ( \"mainsnak\" AS ?var4 ). ?var1 <http://www.wikidata.org/prop/direct/P1029> ?var2 . } UNION { BIND ( \"qualifier\" AS ?var4 ). ?var5 <http://www.wikidata.org/prop/qualifier/P1029> ?var2 . ?var1 ?var6 ?var5 . } UNION { BIND ( \"reference\" AS ?var4 ). ?var7 <http://www.wikidata.org/prop/reference/P1029> ?var2 . ?var8 <http://www.w3.org/ns/prov#wasDerivedFrom> ?var7 . ?var1 ?var9 ?var8 . } VALUES ( ?var10 ) { ( <http://www.wikidata.org/entity/Q5> ) } MINUS { ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var10 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P31> ?var3 . } } LIMIT 100 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_2500", "question": "What is the common class that both Maine and New Hampshire belong to, and what is the sum of their distances to that class?", "sparql": "SELECT ?commonClass (2 AS ?totalDistance)\nWHERE {\n  wd:Q724 wdt:P31 ?commonClass .\n  wd:Q759 wdt:P31 ?commonClass .\n}\nORDER BY ?commonClass\nLIMIT 1", "paraphrases": ["Find the administrative category shared by Maine and New Hampshire, and calculate the total number of classification steps from each state to that category.", "Which class do Maine and New Hampshire both directly belong to, and what is the combined count of their instance relationships to that class?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q759> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q724> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2501", "question": "Female historical figures most depicted in sculptures, ranked by count", "sparql": "SELECT ?person ?personLabel ( COUNT( DISTINCT ?sculpture ) AS ?sculptureCount ) WHERE { ?sculpture wdt:P180 ?person . ?sculpture (wdt:P31/wdt:P279*) wd:Q860861 . ?person wdt:P21 wd:Q6581072 . ?person wdt:P31 wd:Q5 . FILTER ( ?person != wd:Q467 ) . ?person rdfs:label ?personLabel . FILTER ( LANG(?personLabel) = \"en\" ) } GROUP BY ?person ?personLabel ORDER BY DESC ( ?sculptureCount )", "paraphrases": ["Which women have been depicted in the most sculptures, and how many sculptures depict each?", "List the top female humans (excluding the entity \"woman\") who appear in sculptures, sorted by the number of sculptures featuring them, along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ( COUNT ( DISTINCT ?var3 ) AS ?var4 ) WHERE { BIND ( \"string1\" AS ?var5 ). BIND ( REPLACE ( ?var5 , \"item\", STR ( ?var1 ) ) AS ?var2 ). ?var3 <http://www.wikidata.org/prop/direct/P180> ?var1 . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q860861> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . FILTER ( ( ( ?var1 != <http://www.wikidata.org/entity/Q467> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } GROUP BY ?var1 ?var1Label ?var2 ORDER BY DESC( ?var4 )"}}
{"id": "test_2502", "question": "What is the most specific category that both Clearwater, Florida and Atlanta, Georgia belong to?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?class ?label WHERE {\n  wd:Q244146 wdt:P31 ?class .\n  wd:Q23556 wdt:P31 ?class .\n  ?class rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}\nORDER BY ?label\nLIMIT 1", "paraphrases": ["Which class do Clearwater and Atlanta share as their most specific common type?", "Find the shared classification (e.g., city type) for the cities of Clearwater and Atlanta."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q244146> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q23556> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2503", "question": "Software with versions referenced on GitHub and SourceForge", "sparql": "PREFIX prov: <http://www.w3.org/ns/prov#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX pr: <http://www.wikidata.org/prop/reference/>\nSELECT ?software ?version1 ?url1 ?version2 ?url2 WHERE {\n  ?software p:P348 ?stmt1 .\n  ?stmt1 ps:P348 ?version1 .\n  ?stmt1 prov:wasDerivedFrom ?ref1 .\n  ?ref1 pr:P854 ?url1 .\n  FILTER ( CONTAINS( STR( ?url1 ) , \"github.com\" ) ) ?software p:P348 ?stmt2 .\n  ?stmt2 ps:P348 ?version2 .\n  ?stmt2 prov:wasDerivedFrom ?ref2 .\n  ?ref2 pr:P854 ?url2 .\n  FILTER ( CONTAINS( STR( ?url2 ) , \"sourceforge.net\" ) ) FILTER ( ?stmt1 != ?stmt2 )\n}\nLIMIT 10", "paraphrases": ["Which software applications have at least one version documented on GitHub and another version documented on SourceForge?", "Show me software items that have version release notes on GitHub and also on SourceForge, listing the version numbers and URLs for both."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/P348> ?var4 . ?var4 <http://www.w3.org/ns/prov#wasDerivedFrom> ?var5 . ?var5 <http://www.wikidata.org/prop/reference/P854> ?var2 . FILTER ( ( CONTAINS ( STR ( ?var2 ) , \"string1\" ) ) ) . ?var4 <http://www.w3.org/ns/prov#wasDerivedFrom> ?var6 . ?var6 <http://www.wikidata.org/prop/reference/P854> ?var3 . FILTER ( ( CONTAINS ( STR ( ?var3 ) , \"string2\" ) ) ) . } LIMIT 100"}}
{"id": "test_2504", "question": "Female filmmakers with English and Portuguese Wikipedia pages, sorted by newest Wikidata ID.", "sparql": "SELECT ?filmmaker ?enWikiPage ?ptWikiPage WHERE { ?filmmaker wdt:P21 wd:Q6581072 . ?filmmaker wdt:P31 wd:Q5 . ?filmmaker wdt:P106 wd:Q1414443 . OPTIONAL { ?enWikiPage schema:about ?filmmaker ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> . } OPTIONAL { ?ptWikiPage schema:about ?filmmaker ; schema:inLanguage \"pt\" ; schema:isPartOf <https://pt.wikipedia.org/> . } BIND( xsd:integer( STRAFTER( STR(?filmmaker), \"Q\" ) ) AS ?qid ) } ORDER BY DESC(?qid) LIMIT 10", "paraphrases": ["Who are the 10 most recently created female human filmmakers on Wikidata, and do they have English or Portuguese Wikipedia articles?", "List up to 10 female filmmakers, showing their English and Portuguese Wikipedia links, ordered from newest to oldest Wikidata entries."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1414443> . OPTIONAL { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"en\". ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } OPTIONAL { ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> \"pt\". ?var3 <http://schema.org/isPartOf> <https://pt.wikipedia.org/> . } BIND ( <http://www.w3.org/2001/XMLSchema#integer> ( STRAFTER ( STR ( ?var1 ) , \"Q\" ) ) AS ?var4 ). } ORDER BY DESC( ?var4 ) LIMIT 10"}}
{"id": "test_2505", "question": "What is the most specific category that both Texas and Chicago belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonAncestor WHERE {\n  wd:Q1439 wdt:P31 ?t1 .\n  wd:Q1297 wdt:P31 ?t2 .\n  ?t1 wdt:P279 * ?commonAncestor .\n  ?t2 wdt:P279 * ?commonAncestor .\n}\nORDER BY ASC ( STRLEN( STR( ?commonAncestor ) ) )\nLIMIT 1", "paraphrases": ["What is the highest-level concept that classifies both the state of Texas and the city of Chicago?", "What do Texas and Chicago have in common in terms of their classification in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1439> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1297> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2506", "question": "What is the image of the painting \"Head of an old man\" by Pietro da Cortona?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  wd:Q22084546 wdt:P18 ?image .\n}", "paraphrases": ["Show the Wikimedia Commons image associated with the artwork \"Head of an old man\".", "Can you provide the file link for the image of the painting titled \"Head of an old man\"?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q22084546> . } ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . }"}}
{"id": "test_2507", "question": "What is the English label, description, and image of a motor car?", "sparql": "SELECT ?label ?description ?image WHERE { OPTIONAL { wd:Q1420 rdfs:label ?label . FILTER (LANG(?label) = \"en\") } OPTIONAL { wd:Q1420 wdt:P18 ?image . } OPTIONAL { wd:Q1420 schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Can you tell me the English name, definition, and a picture of a motor car?", "Show me the English label and description of the motor car (Q1420), along with its associated image from Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q1420> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q1420> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q1420> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_2508", "question": "How many Wikidata properties use Microsoft as an example?", "sparql": "SELECT (COUNT(?property) AS ?count) WHERE { ?property wdt:P1855 wd:Q2283 . }", "paraphrases": ["Which properties are exemplified by Microsoft on Wikidata, and how many are there?", "Can you tell me the number of properties that have Microsoft listed as an example of usage?"], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1855> <http://www.wikidata.org/entity/Q2283> . }"}}
{"id": "test_2509", "question": "Shipwrecks in Sweden", "sparql": "SELECT ?shipwreck WHERE { ?shipwreck wdt:P31 wd:Q852190 . ?shipwreck wdt:P17 wd:Q34 . }", "paraphrases": ["What shipwrecks are located in Sweden?", "List all shipwrecks that occurred in Swedish waters or territory."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q852190> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q34> . }"}}
{"id": "test_2510", "question": "List of Volkswagen car models in alphabetical order", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?model ?modelLabel WHERE {\n  ?model wdt:P31 wd:Q3231690 .\n  ?model wdt:P1716 wd:Q246 .\n  ?model rdfs:label ?modelLabel .\n  FILTER ( LANG( ?modelLabel ) = \"en\" )\n}\nORDER BY ASC ( ?modelLabel )\nLIMIT 1000", "paraphrases": ["What are the Volkswagen automobile models, sorted alphabetically by name?", "Show me all car models made by Volkswagen, ordered by their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3231690> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P1716> <http://www.wikidata.org/entity/Q246> . } ORDER BY ASC( ?var1Label ) LIMIT 1000"}}
{"id": "test_2511", "question": "Vessels with Helsinki as shipping port and their start/end time qualifiers.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?vessel(SAMPLE(?qualLabel) AS ?qualifierLabel) WHERE {\n  ?vessel p:P504 ?stmt .\n  ?stmt ps:P504 wd:Q1757 .\n  OPTIONAL {\n    {\n      ?stmt pq:P580 ?val .\n      BIND(\"start time\" AS ?qualLabel)\n    } UNION {\n      ?stmt pq:P582 ?val .\n      BIND(\"end time\" AS ?qualLabel)\n    }\n  }\n}\nGROUP BY ?vessel", "paraphrases": ["Which vessels have Helsinki as their shipping port, and what are the start or end times associated with those port assignments?", "List all ships that use Helsinki as their shipping port, along with any recorded start or end dates for that assignment."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P504> <http://www.wikidata.org/entity/Q1757> . ?var1 <http://www.wikidata.org/prop/P504> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_2512", "question": "What is the most specific category that both Hong Kong and Hungary belong to in the Wikidata taxonomy?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonAncestor WHERE {\n  wd:Q8646 wdt:P31 ?typeHK .\n  wd:Q28 wdt:P31 ?typeHU .\n  ?typeHK wdt:P279 * ?commonAncestor .\n  ?typeHU wdt:P279 * ?commonAncestor .\n  FILTER ( ?commonAncestor = wd:Q15642541 )\n}", "paraphrases": ["What is the common superclass in the type hierarchy shared by Hong Kong and Hungary?", "Which entity represents the lowest common ancestor of the types of Hong Kong and Hungary?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q8646> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q28> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2513", "question": "What is the most specific shared category between the United States and Panama in the Wikidata hierarchy?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?ancestor WHERE {\n  wd:Q30 wdt:P31 ?us_class .\n  wd:Q804 wdt:P31 ?pa_class .\n  ?us_class wdt:P279 * ?ancestor .\n  ?pa_class wdt:P279 * ?ancestor .\n  FILTER(?ancestor = wd:Q6256)\n}\nLIMIT 1", "paraphrases": ["What is the lowest common ancestor in the subclass hierarchy of the United States and Panama?", "What category do both the United States and Panama belong to, based on their class relationships?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q30> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q804> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2514", "question": "What are the types of personal computers?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?subclass WHERE {\n  ?subclass wdt:P279 * wd:Q16338 .\n}\nLIMIT 50", "paraphrases": ["What are some examples of devices that are subclasses of personal computers?", "List all known types of personal computers, including subtypes like laptops and tablets."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q16338> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_2515", "question": "Public companies listed on stock exchanges with their ticker symbols", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?company ?exchange ?ticker WHERE {\n  ?company wdt:P31 wd:Q891723 .\n  ?company p:P414 ?statement .\n  ?statement ps:P414 ?exchange .\n  ?statement pq:P249 ?ticker .\n}\nLIMIT 100", "paraphrases": ["Which public companies are listed on stock exchanges, and what are their ticker symbols?", "Show me a list of publicly traded companies along with the stock exchanges they\u2019re listed on and their ticker symbols."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/P279> <http://www.wikidata.org/entity/Q891723> . ?var1 <http://www.wikidata.org/prop/direct/P414> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P249> ?var3 . } LIMIT 100"}}
{"id": "test_2516", "question": "What organizations or entities are governed by a main regulatory text?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var1 ?var1Label WHERE {\n  ?var1 wdt:P92 ?regulatoryText .\n  FILTER(STRSTARTS(STR(?var1) , \"http://www.wikidata.org/entity/Q\"))\n  OPTIONAL {\n    ?var1 rdfs:label ?var1Label .\n    FILTER(LANG(?var1Label) = \"en\")\n  }\n}\nLIMIT 11", "paraphrases": ["Can you list up to 11 entities (like agencies or parks) that are regulated by a legal text, along with their names?", "Show me the names of national parks and government agencies that operate under specific authorizing legislation."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P92> _:bnode . } LIMIT 11 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2517", "question": "What is the most specific common superclass of Japan and California in the Wikidata hierarchy?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?common ?label WHERE {\n  wd:Q56061 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  BIND(wd:Q56061 AS ?common)\n}", "paraphrases": ["Which administrative category do both Japan and California belong to in Wikidata?", "What is the shared taxonomic category for Japan and California in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q17> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q99> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2518", "question": "What are the computers and their central processing units (CPUs)?", "sparql": "SELECT ?computer ?cpu ?cpuLabel WHERE { ?computer wdt:P31 wd:Q68 . OPTIONAL { ?computer wdt:P880 ?cpu . ?cpu rdfs:label ?cpuLabel . FILTER(LANG(?cpuLabel) = \"en\") } } LIMIT 20", "paraphrases": ["Which computers have a specified CPU, and what is the name of that CPU in English?", "Can you list some computers along with the model names of their processors?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q68> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P880> ?var2 . } }"}}
{"id": "test_2519", "question": "What is the most general category that both the Kremlin and Japan belong to in the Wikidata ontology?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonSuperclass WHERE {\n  wd:Q133274 wdt:P31 ?kremlinClass .\n  ?kremlinClass wdt:P279 + wd:Q4835091 .\n  wd:Q17 wdt:P31 ?japanClass .\n  ?japanClass wdt:P279 + wd:Q4835091 .\n  BIND( wd:Q4835091 AS ?commonSuperclass )\n}", "paraphrases": ["What superclass do the classes of the Kremlin and Japan have in common?", "In the hierarchy of types, what is the highest-level category shared by the Kremlin and Japan?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q133274> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q17> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2520", "question": "Who has the Twitter username \"aarontay\"?", "sparql": "SELECT ?person ?twitterUsername WHERE { ?person wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"aarontay\" } }", "paraphrases": ["Which person on Wikidata is associated with the Twitter handle aarontay?", "Which Wikidata entity corresponds to the Twitter username \"aarontay\"?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"aarontay\" ) } }"}}
{"id": "test_2521", "question": "Does the Twitter username 'kalniete' exist in Wikidata?", "sparql": "ASK WHERE { ?item wdt:P2002 \"kalniete\" . }", "paraphrases": ["Is there a person or entity on Wikidata with the Twitter handle 'kalniete'?", "Check if 'kalniete' is registered as a Twitter username in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> \"kalniete\". }"}}
{"id": "test_2522", "question": "Is Walter Weiersm\u00fcller a type of software?", "sparql": "ASK WHERE { wd:Q47471148 (wdt:P31/wdt:P279*) wd:Q7397 . }", "paraphrases": ["Does Walter Weiersm\u00fcller belong to a class that is a subclass of software?", "Check whether Walter Weiersm\u00fcller is classified as software or any of its broader categories."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q47471148> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_2523", "question": "What Wikimedia pages discuss YouTube in English or German, and what is YouTube\u2019s official website?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?var1 ?var1Label ?var2 WHERE {\n  ?var1 wdt:P856 <https://www.youtube.com/> .\n  ?var1 rdfs:label ?var1Label .\n  FILTER ( LANG( ?var1Label ) = \"en\" || LANG( ?var1Label ) = \"de\" ) .\n  ?var2 schema:about ?var1 ; schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" )\n}", "paraphrases": ["Which Wikipedia and other Wikimedia articles in English or German are about YouTube, and what is YouTube\u2019s official URL?", "List all English and German-language Wikimedia pages that are about YouTube, along with YouTube\u2019s official website and its labels in those languages."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.youtube.com/user/wired/videos> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://youtube.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2524", "question": "What are the Japanese labels for the direct subclasses of \"computer\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subclass ?label WHERE {\n  wd:Q68 wdt:P279 ?subclass .\n  OPTIONAL {\n    ?subclass rdfs:label ?label .\n    FILTER(LANG(?label) = \"ja\")\n  }\n}", "paraphrases": ["Which subclasses of computers have Japanese names, and what are they?", "In Japanese, how are the types of computers called?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q68> <http://www.wikidata.org/prop/direct/P279> ?var1 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"jp\" ) ) ) . } }"}}
{"id": "test_2525", "question": "List of computers as instances in Wikidata", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P31 wd:Q68 . OPTIONAL { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } } LIMIT 1000", "paraphrases": ["What are some examples of computers according to Wikidata?", "Show me the names of entities that are instances of a computer."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"zh,en\". } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> <http://www.wikidata.org/entity/Q68> . } LIMIT 1000"}}
{"id": "test_2526", "question": "What are the geographic coordinates of places in Greece?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX geof: <http://www.opengis.net/def/function/geosparql/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?item ?itemLabel ?longitude ?latitude WHERE {\n  ?item wdt:P17 wd:Q41 .\n  FILTER ( STRSTARTS( STR( ?item ) , \"http://www.wikidata.org/entity/Q\" ) ) OPTIONAL {\n    ?item wdt:P625 ?coord .\n    BIND( geof:longitude ( ?coord ) AS ?longitude ) BIND( geof:latitude ( ?coord ) AS ?latitude )\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["List items in Greece with their latitude and longitude.", "Show me the names and coordinates of locations in Greece, if available."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q41> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/P625> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/value/P625> ?var6 . ?var6 <http://wikiba.se/ontology#geoLatitude> ?var4 . ?var6 <http://wikiba.se/ontology#geoLongitude> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . } }"}}
{"id": "test_2527", "question": "What are all the web standards developed by the W3C and their types?", "sparql": "SELECT DISTINCT ?standard ?standardLabel ?type WHERE { ?standard wdt:P1462 wd:Q37033 . OPTIONAL { ?standard wdt:P31 ?type . } ?standard rdfs:label ?standardLabel . FILTER(LANG(?standardLabel) = \"en\") } ORDER BY ASC(?standardLabel)", "paraphrases": ["Which technologies are standardized by the World Wide Web Consortium, and what categories do they belong to?", "List all W3C standards in alphabetical order along with their classifications, such as programming language or file format."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1462> <http://www.wikidata.org/entity/Q37033> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_2528", "question": "What are the companies headquartered in Berlin that have official websites?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?company ?companyLabel ?website WHERE {\n  ?company wdt:P31 wd:Q4830453 .\n  ?company wdt:P159 wd:Q64 .\n  ?company wdt:P856 ?website .\n}\nLIMIT 10", "paraphrases": ["Can you list the startups in Berlin along with their websites?", "Show me the official websites of companies based in Berlin."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.berlinstartupjobs.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.berlinstartupjobs.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://berlinstartupjobs.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://berlinstartupjobs.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://berlinstartupjobs.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://berlinstartupjobs.com> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2529", "question": "Properties linking to MongoDB Inc.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?property WHERE {\n  ?subject ?property wd:Q4546965 .\n}", "paraphrases": ["What relationships connect other entities to MongoDB Inc.?", "Show me all the ways other entities are related to MongoDB Inc. in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q4546965> . }"}}
{"id": "test_2530", "question": "What is the most specific category that both Brazil and Argentina belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?common ?label WHERE {\n  wd:Q155 wdt:P31 ?common .\n  wd:Q414 wdt:P31 ?common .\n  ?common rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nORDER BY DESC(STRLEN(?label))\nLIMIT 1", "paraphrases": ["Which class is the lowest common ancestor in the type hierarchy for Brazil and Argentina?", "What type do Brazil and Argentina share that is more specific than just \"country\"?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q155> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7122733> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2531", "question": "Software products with \"outlook\" in their logo images.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?software ?label ?logo WHERE {\n  ?software wdt:P31 / wdt:P279 * wd:Q7397 .\n  ?software wdt:P154 ?logo .\n  FILTER ( REGEX( STR( ?logo ) , \"outlook\" , \"i\" ) ) OPTIONAL {\n    ?software rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n}\nLIMIT 20", "paraphrases": ["Which software products have logos containing the word \"outlook\"?", "Show me the names and logo URLs of all software products (including subclasses) that have \"outlook\" in their logo image file names."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label ?var3 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q7397> . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P154> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } BIND ( STR ( ?var3 ) AS ?var5 ). FILTER ( ( REGEX ( STR ( ?var5 ) , \"outlook\", \"i\" ) ) ) . } LIMIT 20"}}
{"id": "test_2532", "question": "What is the most specific shared category (in the subclass hierarchy) that both Florida and Latin America belong to?", "sparql": "SELECT ?ancestor ( ( ?dist1 + ?dist2 ) AS ?totalDistance ) WHERE { { SELECT ?ancestor (COUNT(?mid1) AS ?dist1) WHERE { wd:Q812 wdt:P31 ?type1 . ?type1 wdt:P279+ ?mid1 . ?mid1 wdt:P279* ?ancestor . } GROUP BY ?ancestor } { SELECT ?ancestor (COUNT(?mid2) AS ?dist2) WHERE { wd:Q12585 wdt:P31 ?type2 . ?type2 wdt:P279+ ?mid2 . ?mid2 wdt:P279* ?ancestor . } GROUP BY ?ancestor } } ORDER BY ASC(?totalDistance) LIMIT 1", "paraphrases": ["Which geographic class is the closest common ancestor of Florida and Latin America in Wikidata\u2019s taxonomy?", "Find the entity that is the most specific shared superclass of Florida and Latin America, based on their types and subclass relationships."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q812> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q12585> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2533", "question": "Which entities on Wikidata have Twitter handles GDarmanin, RTLFrance, or AdobeXD?", "sparql": "SELECT ?item ?handle WHERE { ?item wdt:P2002 ?handle . VALUES ?handle { \"GDarmanin\" \"RTLFrance\" \"AdobeXD\" } }", "paraphrases": ["Who are the people or organizations on Wikidata with the Twitter usernames GDarmanin, RTLFrance, or AdobeXD?", "Show me the Wikidata items that are linked to the Twitter accounts GDarmanin, RTLFrance, and AdobeXD."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"GDarmanin\" ) ( \"RTLFrance\" ) ( \"string2\" ) ( \"CGET_gouv\" ) ( \"creapills\" ) ( \"string3\" ) ( \"MaelLeHir\" ) ( \"string4\" ) ( \"natashenka\" ) ( \"string5\" ) ( \"objis\" ) ( \"AGYP_co\" ) ( \"string6\" ) ( \"geekezig\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"dimip2\" ) ( \"CBeigbeder\" ) ( \"ADULLACT\" ) ( \"framasoft\" ) ( \"string10\" ) ( \"string11\" ) ( \"Pyb75\" ) ( \"nickmofo\" ) ( \"string12\" ) ( \"kaelandm\" ) ( \"string13\" ) ( \"willyvvu\" ) ( \"Lyxor\" ) ( \"string14\" ) ( \"hdevichi\" ) ( \"string15\" ) ( \"string16\" ) ( \"string17\" ) ( \"fnielsen\" ) ( \"string18\" ) ( \"NRO\" ) ( \"kattascha\" ) ( \"bevellin\" ) ( \"string19\" ) ( \"ellenbroad\" ) ( \"CerberusXt\" ) ( \"string20\" ) ( \"string21\" ) ( \"string22\" ) ( \"string23\" ) ( \"fagerving\" ) ( \"PoulpyWP\" ) ( \"string24\" ) ( \"AdobeXD\" ) ( \"string25\" ) ( \"bismatoj\" ) ( \"BlogMeteo\" ) ( \"string26\" ) ( \"string27\" ) ( \"string28\" ) ( \"kjhealy\" ) ( \"string29\" ) ( \"ThingsMcr\" ) ( \"NFr21\" ) ( \"TPAIN\" ) ( \"NJCrosskey\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2534", "question": "Greek villages named \"Amfithea\" with their ELSTAT codes.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?place ?elstatCode ?label WHERE {\n  ?place wdt:P1116 ?elstatCode ; rdfs:label ?label .\n  FILTER(STRSTARTS(?label , \"\u0391\u03bc\u03c6\u03b9\u03b8\u03ad\u03b1\"))\n}\nORDER BY ASC(?elstatCode)", "paraphrases": ["What are the Greek settlements named \"Amfithea\" and their corresponding ELSTAT geographical codes?", "List all places in Greece with names starting with \"\u0391\u03bc\u03c6\u03b9\u03b8\u03ad\u03b1\" (Amfithea), along with their official ELSTAT codes, sorted by code."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1116> ?var2 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( STRSTARTS ( ?var3 , \"\u0391\u03bc\u03c6\u03b9\u03b8\u03ad\u03b1\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"el\". } } ORDER BY ASC( ?var2 )"}}
{"id": "test_2535", "question": "What categories is a window classified under?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?superclass ?superclassLabel WHERE {\n  wd:Q35473 wdt:P279 ?superclass .\n  ?superclass rdfs:label ?superclassLabel .\n  FILTER(LANG(?superclassLabel) = \"en\")\n}", "paraphrases": ["What are the broader classes that include windows as subclasses?", "Is a window a type of building material, aperture, or architectural element?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q35473> <http://www.wikidata.org/prop/direct/P279> ?var1 . }"}}
{"id": "test_2536", "question": "Labels, Wikipedia links, image, and coordinates for the painting \"Massacre in Korea\" in French, English, German, and Italian.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nSELECT ?label ?image ?coordinates ?wikipediaUrl WHERE {\n  VALUES ( ?lang ?wikiSite ?sort ) {\n    ( \"fr\" <https://fr.wikipedia.org/> \"1\" ^^ xsd:integer ) ( \"en\" <https://en.wikipedia.org/> \"2\" ^^ xsd:integer ) ( \"de\" <https://de.wikipedia.org/> \"3\" ^^ xsd:integer ) ( \"it\" <https://it.wikipedia.org/> \"5\" ^^ xsd:integer )\n  }\n  wd:Q495447 rdfs:label ?label .\n  FILTER ( LANG( ?label ) = ?lang ) OPTIONAL {\n    wd:Q495447 wdt:P18 ?image\n  }\n  OPTIONAL {\n    wd:Q495447 wdt:P625 ?coordinates\n  }\n  ?wikipedia schema:about wd:Q495447 ; schema:inLanguage ?lang ; schema:isPartOf ?wikiSite .\n  BIND( STR( ?wikipedia ) AS ?wikipediaUrl )\n}\nORDER BY ?sort", "paraphrases": ["What are the multilingual labels and corresponding Wikipedia articles for Pablo Picasso\u2019s painting \"Massacre in Korea\", along with its image and geographic coordinates?", "Please provide the French, English, German, and Italian labels for the painting \"Massacre in Korea\", the links to its Wikipedia pages in those languages, and include its image and location coordinates if available."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q495447> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var7 ) ) ) . VALUES ( ?var7 ?var8 ) { ( \"fr\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q495447> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q495447> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"fr\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q495447> <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q495447> ; <http://schema.org/inLanguage> \"fr\"; <http://schema.org/isPartOf> <https://fr.wikipedia.org/> . } } ORDER BY ASC( ?var8 )"}}
{"id": "test_2537", "question": "What is the most specific category that both France and the United States belong to?", "sparql": "SELECT ?commonType WHERE { wd:Q142 wdt:P31 ?commonType . wd:Q30 wdt:P31 ?commonType . } ORDER BY ASC (strlen(str(?commonType))) LIMIT 1", "paraphrases": ["What common type do France and the United States share?", "Which category applies to both France and the United States?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q214861> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q142> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2538", "question": "What is the most specific category that both New Zealand and Seoul belong to?", "sparql": "SELECT ?ancestor\nWHERE {\n  wd:Q3624078 wdt:P279* ?ancestor .\n  wd:Q515 wdt:P279* ?ancestor .\n  FILTER(?ancestor = wd:Q15642541)\n}", "paraphrases": ["What is the shared superclass of the class that New Zealand is an instance of and the class that Seoul is an instance of?", "What is the common ancestor in the subclass hierarchy between a sovereign state and a capital city?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q664> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q8684> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2539", "question": "What is the most specific category that both Europe and Honolulu belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonSuper WHERE {\n  wd:Q2418896 wdt:P279 * ?commonSuper .\n  wd:Q1549591 wdt:P279 * ?commonSuper .\n  FILTER ( ?commonSuper != wd:Q35120 ) FILTER ( ?commonSuper != wd:Q488383 ) FILTER ( ?commonSuper != wd:Q103940464 ) FILTER ( ?commonSuper != wd:Q124711467 )\n}\nORDER BY ASC ( ?commonSuper )\nLIMIT 1", "paraphrases": ["What is the common superclass shared by the continent of Europe and the city of Honolulu?", "Which ontological category includes both continents and cities like Honolulu?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q46> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q18094> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2540", "question": "What categories do both the United Kingdom and Germany belong to?", "sparql": "SELECT ?common WHERE { wd:Q145 wdt:P31 ?common . wd:Q183 wdt:P31 ?common . }", "paraphrases": ["Which classes are common to both Germany and the United Kingdom?", "What are the shared types or categories of Germany and the United Kingdom in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q317521> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q145> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2541", "question": "What tools and methods are used in project management?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P366 wd:Q179012 .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["Which software applications and techniques have project management as their primary use?", "List the names of tools and methods that are used for project management."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"he,en\". } ?var1 <http://www.wikidata.org/prop/direct/P366> <http://www.wikidata.org/entity/Q179012> . }"}}
{"id": "test_2542", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0113526?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipedia_page WHERE {\n  ?movie wdt:P345 \"tt0113526\" .\n  ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" )\n}", "paraphrases": ["Show me the Wikipedia articles in English and German about the film Karan Arjun.", "Which language versions of Wikipedia have articles about the movie identified by tt0113526?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0113526\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2543", "question": "What is the most specific category that both Berlin and Los Angeles belong to?", "sparql": "SELECT ?class ?classLabel (COUNT(?item) AS ?instanceCount) WHERE { wd:Q64 wdt:P31 ?class . wd:Q65 wdt:P31 ?class . ?item wdt:P31 ?class . ?class rdfs:label ?classLabel . FILTER(LANG(?classLabel) = \"en\") } GROUP BY ?class ?classLabel ORDER BY ASC(?instanceCount) LIMIT 1", "paraphrases": ["Which class is shared by Berlin and Los Angeles and has the fewest members?", "What is the common classification that best describes both Berlin and Los Angeles as rare, high-level urban entities?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q65> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q64> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2544", "question": "List of vessels and their classes", "sparql": "SELECT ?vessel ?vesselLabel ?class ?classLabel WHERE { ?vessel wdt:P289 ?class . ?vessel rdfs:label ?vesselLabel . ?class rdfs:label ?classLabel . FILTER(LANG(?vesselLabel) = \"en\") FILTER(LANG(?classLabel) = \"en\") }", "paraphrases": ["What are the names of vessels and the classes they belong to?", "Show me the English names of ships along with the names of their vessel classes, such as \"Project 636 submarine\" or \"Murasame-class destroyer\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P289> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nb\". } }"}}
{"id": "test_2545", "question": "What is the most specific category that both Cologne and Sydney belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonClass WHERE {\n  wd:Q365 wdt:P31 ?commonClass .\n  wd:Q3130 wdt:P31 ?commonClass .\n  FILTER NOT EXISTS {\n    ?otherClass wdt:P279 ?commonClass .\n    wd:Q365 wdt:P31 ?otherClass .\n    wd:Q3130 wdt:P31 ?otherClass .\n  }\n}\nLIMIT 1", "paraphrases": ["What is the lowest common class in the hierarchy that includes both Cologne and Sydney as instances?", "Which class is the most specific shared classification for the cities of Cologne and Sydney?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q365> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3130> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2546", "question": "Are administrative territorial entities of districts in China represented as Wikidata items?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ( isIRI( ?adminEntity ) AS ?isIRI ) WHERE {\n  ?district wdt:P31 wd:Q1065118 .\n  ?district wdt:P131 ?adminEntity .\n}\nLIMIT 1", "paraphrases": ["Does the 'located in the administrative territorial entity' property for districts in China point to other Wikidata entities rather than literals?", "Check if the administrative divisions that districts in China belong to are stored as linked data items in Wikidata."], "info": {"raw_sparql": "SELECT( isIRI ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var3 ?var1 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1065118> . ?var3 <http://www.wikidata.org/prop/direct/P131> ?var1 . } } } LIMIT 1"}}
{"id": "test_2547", "question": "Which entities on Wikidata have Twitter handles BuzzFeed, CasMudde, Matgoa, lemondefr, lucbronner, or Bonnefous?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?handle WHERE {\n  ?item wdt:P2002 ?handle .\n  VALUES ?handle {\n    \"BuzzFeed\" \"CasMudde\" \"Matgoa\" \"lemondefr\" \"lucbronner\" \"Bonnefous\"\n  }\n}", "paraphrases": ["Who are the people or organizations on Wikidata with the Twitter usernames \"BuzzFeed\", \"CasMudde\", \"Matgoa\", \"lemondefr\", \"lucbronner\", or \"Bonnefous\"?", "List all Wikidata items that are associated with any of these Twitter handles: BuzzFeed, CasMudde, Matgoa, lemondefr, lucbronner, or Bonnefous."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"lemondefr\" ) ( \"string2\" ) ( \"lucbronner\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"BuzzFeed\" ) ( \"gillesrof\" ) ( \"Bonnefous\" ) ( \"Couvelaire\" ) ( \"JosephDaul\" ) ( \"vhacot1\" ) ( \"CasMudde\" ) ( \"string6\" ) ( \"string7\" ) ( \"Matgoa\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"matgoa\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2548", "question": "What are the types of warships?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?subclass ?subclassLabel WHERE {\n  ?subclass wdt:P279 wd:Q2031121 .\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER ( LANG( ?subclassLabel ) = 'en' )\n}", "paraphrases": ["What are the subclasses of warship in Wikidata?", "List all English-labeled subclasses of warship, such as cruiser or submarine."], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { { SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q3114762> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } } }"}}
{"id": "test_2549", "question": "Types of software categorized in Wikidata", "sparql": "SELECT DISTINCT ?softwareType WHERE { ?softwareType wdt:P31 wd:Q17155032 . } ORDER BY ?softwareType", "paraphrases": ["What are the different types of software listed as instances of software category on Wikidata?", "List all software types that are classified under the software category on Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> * <http://www.wikidata.org/entity/Q28530532> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var2 )"}}
{"id": "test_2550", "question": "What is the most specific category that both Louisville and Cologne belong to?", "sparql": "SELECT ?commonClass ?label WHERE { wd:Q43668 wdt:P31 ?commonClass . wd:Q365 wdt:P31 ?commonClass . ?commonClass rdfs:label ?label . FILTER(LANG(?label) = \"en\") } ORDER BY ASC(?commonClass) LIMIT 1", "paraphrases": ["Which class do the cities of Louisville and Cologne have in common?", "What type of city is both Louisville and Cologne classified as in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q43668> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q365> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2551", "question": "List of ships in Wikidata", "sparql": "SELECT ?shipLabel WHERE { ?ship wdt:P31 wd:Q11446 . ?ship rdfs:label ?shipLabel . FILTER(LANG(?shipLabel) = \"en\") }", "paraphrases": ["What are the names of all ships in Wikidata?", "Can you show me the English labels of all entities classified as ships in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11446> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru\". } }"}}
{"id": "test_2552", "question": "What category do Nice and Cologne share as their most specific common type?", "sparql": "SELECT ?commonClass WHERE { wd:Q33959 wdt:P31 ?commonClass . wd:Q365 wdt:P31 ?commonClass . }", "paraphrases": ["What is the most specific category that both Nice and Cologne belong to?", "Find the common classification type shared by the cities of Nice and Cologne."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q33959> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q365> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2553", "question": "List all ship classes in Wikidata with their English names.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?shipClass ?shipClassLabel WHERE {\n  ?shipClass wdt:P31 wd:Q559026 .\n  ?shipClass rdfs:label ?shipClassLabel .\n  FILTER(LANG(?shipClassLabel) = \"en\")\n}", "paraphrases": ["What are the names of all ship classes in English?", "Show me the English labels for all items that are instances of a ship class."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q559026> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } }"}}
{"id": "test_2554", "question": "What categories do Minneapolis and San Francisco have in common?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonType WHERE {\n  wd:Q36091 wdt:P31 ?commonType .\n  wd:Q62 wdt:P31 ?commonType .\n}", "paraphrases": ["Which classes are both Minneapolis and San Francisco instances of?", "What are the shared types between the cities of Minneapolis and San Francisco?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q36091> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q62> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2555", "question": "What is the English label, Wikipedia page, and postal code of Google's headquarters location?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?label ?wikipedia_page ?postal_code WHERE {\n  wd:Q95 rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) .\n  ?wikipedia_page schema:about wd:Q95 ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n  wd:Q95 wdt:P159 / wdt:P131 / wdt:P281 ?postal_code .\n}", "paraphrases": ["Can you tell me the postal code where Google is headquartered, along with its English Wikipedia link and name?", "Where is Google\u2019s headquarters located, and what is its postal code? Also, show its English Wikipedia page."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q95> ) } } OPTIONAL { ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> \"en\". ?var3 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P159> ?var5 . } OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P281> ?var4 . } } LIMIT 10000"}}
{"id": "test_2556", "question": "List of web browser software applications with English labels.", "sparql": "SELECT DISTINCT ?browser ?browserLabel WHERE { ?browser wdt:P31 wd:Q6368 . ?browser rdfs:label ?browserLabel . FILTER(LANG(?browserLabel) = \"en\") }", "paraphrases": ["What are the known web browsers and their English names in Wikidata?", "Show me all web browser instances along with their English labels."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6368> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2557", "question": "English and German Wikipedia pages for the movie with IMDb ID tt0111161.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?wikipediaPage WHERE {\n  ?item wdt:P345 \"tt0111161\" .\n  ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n}", "paraphrases": ["What are the English and German Wikipedia pages for the film identified by IMDb ID tt0111161?", "Please show me the Wikipedia pages in English and German that are about the movie with IMDb ID tt0111161."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5571734\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2558", "question": "Paintings by Giovanni Battista Tiepolo and their collections", "sparql": "SELECT ?painting ?paintingLabel ?collection ?collectionLabel WHERE { ?painting wdt:P31 wd:Q3305213 . ?painting wdt:P170 wd:Q186202 . OPTIONAL { ?painting wdt:P195 ?collection . } ?painting rdfs:label ?paintingLabel . FILTER(LANG(?paintingLabel) = \"en\") OPTIONAL { ?collection rdfs:label ?collectionLabel . FILTER(LANG(?collectionLabel) = \"en\") } } LIMIT 200", "paraphrases": ["Which paintings did Giovanni Battista Tiepolo create, and which museums hold them?", "List all paintings by Tiepolo along with the museums where they are currently held."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . ?var1 <http://www.wikidata.org/prop/direct/P170> <http://www.wikidata.org/entity/Q186202> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P195> ?var2 . } } LIMIT 200"}}
{"id": "test_2559", "question": "What are the occupations, country of citizenship, and date of birth of Mark Rutte?", "sparql": "SELECT ?label ?occupation ?country ?dateOfBirth WHERE { wd:Q57792 rdfs:label ?label . FILTER(LANG(?label) = \"en\") wd:Q57792 wdt:P106 ?occupation . wd:Q57792 wdt:P27 ?country . wd:Q57792 wdt:P569 ?dateOfBirth .}", "paraphrases": ["Can you tell me about Mark Rutte \u2014 specifically his profession, where he is from, and when he was born?", "Who is Mark Rutte? Show his English name, occupations, country, and birth date."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#about> <http://en.wikipedia.org/wiki/Mark_Rutte> . }"}}
{"id": "test_2560", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0116421?", "sparql": "SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 \"tt0116421\" . ?wikipedia_page schema:about ?movie . ?wikipedia_page schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Can you show me the Wikipedia articles in English and German about the film \"The Glimmer Man\"?", "Which language versions of Wikipedia have articles about the movie identified by tt0116421?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0116421\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2561", "question": "Which Wikidata entities have Twitter usernames \"louane\", \"M_Chedid\", \"BBBrunes\", or \"Hit_infos\"?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"louane\" \"M_Chedid\" \"BBBrunes\" \"Hit_infos\" } }", "paraphrases": ["Who are the people or organizations on Wikidata with the Twitter handles \"louane\", \"M_Chedid\", \"BBBrunes\", and \"Hit_infos\"?", "Show me the Wikidata items and their corresponding Twitter usernames for the handles: louane, M_Chedid, BBBrunes, and Hit_infos."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"louane\" ) ( \"M_Chedid\" ) ( \"string2\" ) ( \"string3\" ) ( \"Mathieu\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"BBBrunes\" ) ( \"string7\" ) ( \"Hit_infos\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2562", "question": "What is the English name of the painting by Leonardo da Vinci that is classified as a painting in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P31 wd:Q3305213 ; wdt:P170 wd:Q762 ; rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" && ?itemLabel = \"Mona Lisa\" @en )\n}", "paraphrases": ["Which painting created by Leonardo da Vinci is known as \"Mona Lisa\"?", "Can you tell me the Wikidata item for the Mona Lisa, painted by Leonardo da Vinci?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> ; <http://www.w3.org/2002/07/owl#sameAs> <http://dbpedia.org/Mona_Lisa> ; <http://www.wikidata.org/prop/direct/P170> <http://www.wikidata.org/entity/Q762> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_2563", "question": "What companies are owned by Google?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?subsidiary ?subsidiaryLabel WHERE {\n  ?subsidiary wdt:P749 wd:Q95 .\n  ?subsidiary rdfs:label ?subsidiaryLabel .\n  FILTER ( LANG( ?subsidiaryLabel ) = \"en\" )\n}", "paraphrases": ["Which subsidiaries does Google have as its parent organization?", "List the English names of all companies that are subsidiaries of Google."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P749> <http://www.wikidata.org/entity/Q95> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_2564", "question": "Wikidata items and Twitter usernames for mendozamartha, GilPress, and nytimes", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  FILTER(?username = \"mendozamartha\" || ?username = \"GilPress\" || ?username = \"nytimes\")\n}", "paraphrases": ["Which people or organizations on Wikidata have the Twitter usernames mendozamartha, GilPress, or nytimes?", "Show me the Wikidata entities that are linked to the Twitter accounts mendozamartha, GilPress, or nytimes."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"GilPress\" ) } }"}}
{"id": "test_2565", "question": "What Wikipedia articles are about Spotify, and what is its official website?", "sparql": "SELECT ?entity ?entityLabel ?article WHERE { ?entity wdt:P856 <https://www.spotify.com> . ?article schema:about ?entity . ?entity rdfs:label ?entityLabel . FILTER(LANG(?entityLabel) = \"en\") . FILTER(STRSTARTS(STR(?article), \"https://\")) . FILTER(regex(STR(?article), \"\\\\.wikipedia\\\\.org\")) }", "paraphrases": ["Which Wikipedia pages discuss the company Spotify, and what is its official URL?", "Show me the English-labeled entities with official website https://www.spotify.com and their corresponding Wikipedia articles."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.hop.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.hop.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.hop.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.hop.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.hop.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.hop.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://hop.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://hop.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://hop.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://hop.com/> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2566", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0048078?", "sparql": "SELECT ?movie ?wiki_page WHERE { ?movie wdt:P345 \"tt0048078\" . ?wiki_page schema:about ?movie . VALUES ?lang { \"en\" \"de\" } ?wiki_page schema:inLanguage ?lang . }", "paraphrases": ["Show me the Wikipedia articles in English and German about the film Five Guns West.", "Which language versions of Wikipedia have articles about the movie identified by tt0048078?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0048078\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2567", "question": "Official website of Apple Inc. and its English or German Wikipedia pages.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?itemLabel ?website ?wikipediaPage WHERE {\n  wd:Q312 wdt:P856 ?website .\n  ?wikipediaPage schema:about wd:Q312 ; schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" ) .\n  wd:Q312 rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" || LANG( ?itemLabel ) = \"de\" )\n}", "paraphrases": ["What is Apple Inc.'s official website, and what are its English and German Wikipedia pages?", "Show me Apple Inc.'s official website along with its corresponding English and German Wikipedia articles."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.alisconference.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.alisconference.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.alisconference.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.alisconference.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.alisconference.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.alisconference.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.alisconference.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://alisconference.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://alisconference.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://alisconference.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://alisconference.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2568", "question": "What are the Twitter/X usernames of entities in Wikidata?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . }", "paraphrases": ["Can you list the entities and their corresponding Twitter/X handles from Wikidata?", "Which organizations, cities, or people have a Twitter/X account registered in Wikidata, and what are their usernames?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"EsPoesche\" ) ( \"matpu17\" ) ( \"string2\" ) ( \"kNOwHomo_\" ) ( \"string3\" ) ( \"string4\" ) ( \"FrauBe\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"Deichgeher\" ) ( \"minga0ida\" ) ( \"KaiGnP\" ) ( \"string9\" ) ( \"string10\" ) ( \"VK_FCA1907\" ) ( \"string11\" ) ( \"string12\" ) ( \"string13\" ) ( \"string14\" ) ( \"Laufthosy\" ) ( \"string15\" ) ( \"Lkhagva\" ) ( \"string16\" ) ( \"Ranger4You\" ) ( \"string17\" ) ( \"string18\" ) ( \"string19\" ) ( \"avonswhxrx\" ) ( \"string20\" ) ( \"obscurecer\" ) ( \"string21\" ) ( \"string22\" ) ( \"FelixRausL\" ) ( \"DaPfaffe\" ) ( \"Shalima\" ) ( \"string23\" ) ( \"HerbaMinor\" ) ( \"string24\" ) ( \"edlothion\" ) ( \"string25\" ) ( \"Wally44\" ) ( \"sebweigle\" ) ( \"impsch1893\" ) ( \"string26\" ) ( \"AnneVau\" ) ( \"string27\" ) ( \"ziobp\" ) ( \"string28\" ) ( \"string29\" ) ( \"tweetsekl\" ) ( \"Sonja_Vic\" ) ( \"MikeMeix\" ) ( \"UKausHan\" ) ( \"string30\" ) ( \"TalentAnna\" ) ( \"F_Hoepner\" ) ( \"fae_0709\" ) ( \"tambal_de\" ) ( \"widerLichT\" ) ( \"string31\" ) ( \"string32\" ) ( \"string33\" ) ( \"nutman75\" ) ( \"112Ranger\" ) ( \"Lieb8Sandy\" ) ( \"mamerto\" ) ( \"string34\" ) ( \"string35\" ) ( \"DJPJ46\" ) ( \"CMetzelder\" ) ( \"string36\" ) } }"}}
{"id": "test_2569", "question": "Who are the people educated at institutions that grant a doctorate degree?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel ?institution ?institutionLabel ?degree ?degreeLabel WHERE {\n  ?person wdt:P69 ?institution .\n  ?institution wdt:P5460 ?degree .\n  ?degree wdt:P279 wd:Q849697 .\n  ?person rdfs:label ?personLabel .\n  ?institution rdfs:label ?institutionLabel .\n  ?degree rdfs:label ?degreeLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) .\n  FILTER ( LANG( ?institutionLabel ) = \"en\" ) .\n  FILTER ( LANG( ?degreeLabel ) = \"en\" )\n}", "paraphrases": ["People educated at universities that award PhDs or other doctorates", "List people along with the institutions they attended and the doctorate degrees those institutions grant."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P69> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P512> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P527> <http://www.wikidata.org/entity/Q849697> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_2570", "question": "People named George Washington who are humans, with their English descriptions and images.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?person ?label ?image ?description WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person rdfs:label ?label .\n  ?person schema:description ?description .\n  FILTER ( LANG( ?label ) = \"en\" ) .\n  FILTER ( LANG( ?description ) = \"en\" ) .\n  FILTER ( CONTAINS( LCASE( STR( ?label ) ) , \"george washington\" ) ) .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n}\nLIMIT 10", "paraphrases": ["Who are the humans named George Washington, and what are their English descriptions and images?", "List the English labels, descriptions, and optional images of all humans whose names include \"George Washington\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var4 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . FILTER ( ( CONTAINS ( LCASE ( STR ( ?var2Label ) ) , \"george was\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 10"}}
{"id": "test_2571", "question": "Is Lebanon considered a type of software?", "sparql": "ASK WHERE { wd:Q822 (wdt:P31 / wdt:P279*) wd:Q7397 . }", "paraphrases": ["Is there any category that Lebanon belongs to which is a subclass of software?", "Does Lebanon fall under any classification that is related to software through inheritance?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q822> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_2572", "question": "People from South Africa and their occupations", "sparql": "SELECT ?person ?personLabel ?occupation WHERE { ?person wdt:P27 wd:Q258 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") OPTIONAL { ?person wdt:P106 ?occupation . } } LIMIT 100", "paraphrases": ["Who are the citizens of South Africa and what are their occupations?", "List up to 100 people who are citizens of South Africa along with their occupations, if known."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P106> <http://www.wikidata.org/entity/Q258> . ?var1 <http://www.wikidata.org/prop/P106> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_2573", "question": "Wikipedia pages in English, German, or Italian about the movie with IMDb ID tt2091245.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipediaPage WHERE {\n  ?item wdt:P345 \"tt2091245\" .\n  ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang .\n  VALUES ?lang {\n    \"en\" \"de\" \"it\"\n  }\n}", "paraphrases": ["What are the English, German, or Italian Wikipedia pages for the movie \"Black and White Stripes: The Juventus Story\"?", "Show me the Wikipedia articles in English, German, or Italian that are about the film with IMDb ID tt2091245."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2091245\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"it\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2574", "question": "Which Wikidata items have Twitter usernames like ylecun, doctorow, or lemondefr?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitter WHERE {\n  ?item wdt:P2002 ?twitter .\n  VALUES ?twitter {\n    \"envlh\" \"joelgombin\" \"spouyllau\" \"dicare_org\" \"JFMBAYE\" \"Pierre_A\" \"pmtokyo\" \"lemondefr\" \"ylecun\" \"bevellin\" \"turnoff_us\" \"Calimaq\" \"penberg\" \"Gratusfr\" \"yetzt\" \"Jules78120\" \"secoura\" \"SJ_Mage\" \"ackboo\" \"PoulpyWP\" \"ash_crow\" \"archives35\" \"aalien\" \"doctorow\" \"mashable\" \"PADI\" \"diversph\" \"hatonjan\" \"Ganette_\"\n  }\n}", "paraphrases": ["Who are the people or organizations on Wikidata with Twitter handles including \"ylecun\", \"doctorow\", and \"mashable\"?", "List all entities in Wikidata that are linked to the Twitter accounts \"archives35\", \"ash_crow\", \"bevellin\", \"Calimaq\", \"doctorow\", \"lemondefr\", \"mashable\", \"spouyllau\", and \"ylecun\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"joelgombin\" ) ( \"spouyllau\" ) ( \"string1\" ) ( \"dicare_org\" ) ( \"string2\" ) ( \"didumdida\" ) ( \"JFMBAYE\" ) ( \"SunderCR\" ) ( \"Pierre_A\" ) ( \"string3\" ) ( \"pmtokyo\" ) ( \"lemondefr\" ) ( \"ylecun\" ) ( \"string4\" ) ( \"bevellin\" ) ( \"string5\" ) ( \"__apf__\" ) ( \"turnoff_us\" ) ( \"string6\" ) ( \"Calimaq\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"penberg\" ) ( \"string10\" ) ( \"Gratusfr\" ) ( \"yetzt\" ) ( \"Jules78120\" ) ( \"string11\" ) ( \"secoura\" ) ( \"string12\" ) ( \"string13\" ) ( \"string14\" ) ( \"SJ_Mage\" ) ( \"string15\" ) ( \"ackboo\" ) ( \"PoulpyWP\" ) ( \"ash_crow\" ) ( \"string16\" ) ( \"string17\" ) ( \"string18\" ) ( \"archives35\" ) ( \"aalien\" ) ( \"doctorow\" ) ( \"string19\" ) ( \"string20\" ) ( \"string21\" ) ( \"mashable\" ) ( \"PADI\" ) ( \"diversph\" ) ( \"hatonjan\" ) ( \"string22\" ) ( \"Ganette_\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2575", "question": "What is the image of the entity with SNAC ARK ID w6z04s3w?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6z04s3w\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Image of George Nelson (SNAC ARK ID w6z04s3w)", "Show me the Wikimedia Commons image associated with the SNAC ARK ID w6z04s3w."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6z04s3w\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2576", "question": "Parts of academic disciplines and their parent disciplines", "sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { ?var1 wdt:P361 ?var2 . ?var2 wdt:P31 ?var3 . ?var3 wdt:P279* wd:Q11862829 . ?var1 rdfs:label ?var1Label . ?var2 rdfs:label ?var2Label . ?var3 rdfs:label ?var3Label . FILTER(LANG(?var1Label) = \"en\") FILTER(LANG(?var2Label) = \"en\") FILTER(LANG(?var3Label) = \"en\") }", "paraphrases": ["What are the parts of fields that are instances of academic disciplines?", "List the components of academic fields along with the disciplines they belong to and their broader categories."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P361> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P31> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q11862829> . ?var3 <http://www.wikidata.org/prop/direct/P279> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_2577", "question": "What are all the superclass categories of art theft?", "sparql": "SELECT DISTINCT ?superclass WHERE { wd:Q1756454 wdt:P279+ ?superclass . }", "paraphrases": ["What broader categories does art theft belong to according to Wikidata?", "List all the parent classes of art theft in the Wikidata taxonomy."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q1756454> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_2578", "question": "Which entities on Wikidata have the Twitter handles BFMTV, CNEWS, jmblanquer, LeHuffPost, leJDD, or ParisMatch?", "sparql": "SELECT ?item ?twitterHandle WHERE { ?item wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { \"BFMTV\" \"CNEWS\" \"jmblanquer\" \"LeHuffPost\" \"leJDD\" \"ParisMatch\" } }", "paraphrases": ["Who are the people or organizations on Wikidata that use the Twitter accounts @BFMTV, @CNEWS, @jmblanquer, @LeHuffPost, @leJDD, or @ParisMatch?", "List the Wikidata items corresponding to the Twitter usernames BFMTV, CNEWS, jmblanquer, LeHuffPost, leJDD, and ParisMatch."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"enmarchefr\" ) ( \"jmblanquer\" ) ( \"CNEWS\" ) ( \"BFMTV\" ) ( \"ch_coulon\" ) ( \"string1\" ) ( \"ParisMatch\" ) ( \"DijonDTR\" ) ( \"string2\" ) ( \"leJDD\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"LeHuffPost\" ) ( \"string6\" ) ( \"string7\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2579", "question": "Who died in Wilga, Poland?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P20 wd:Q2523668 .\n}", "paraphrases": ["Which human beings passed away in the village of Wilga?", "List all people whose place of death was Wilga, Poland."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P20> <http://www.wikidata.org/entity/Q2523668> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl\". } }"}}
{"id": "test_2580", "question": "What is the English or German Wikipedia page for the film with IMDb ID tt1832516?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?wikipediaPage WHERE {\n  ?item wdt:P345 \"tt1832516\" .\n  ?wikipediaPage schema:about ?item .\n  {\n    ?wikipediaPage schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipediaPage schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Can you find the Wikipedia article about the movie \"Supernatural Activity\" in either English or German?", "Show me the Wikipedia page linked to the IMDb entry tt1832516, preferably in English or German."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1832516\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2581", "question": "What software packages depend on other software, and what are their dependencies?", "sparql": "SELECT ?software ?dependency WHERE { ?software wdt:P1547 ?dependency . } LIMIT 500", "paraphrases": ["List software and the software they depend on, up to 500 results.", "Which software items have dependencies, and what are those dependencies?"], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/prop/direct/Q154728> ?var1 ?var2 . } LIMIT 500"}}
{"id": "test_2582", "question": "What entities on Wikidata have the Twitter handles \"vogueparis\", \"Zenith_Paris\", or \"Mairiedu11\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitter WHERE {\n  ?item wdt:P2002 ?twitter .\n  VALUES ?twitter {\n    \"vogueparis\" \"Zenith_Paris\" \"Mairiedu11\"\n  }\n}\nORDER BY ?twitter", "paraphrases": ["Which organizations or places are associated with the Twitter accounts vogueparis, Zenith_Paris, and Mairiedu11?", "Show me the Wikidata items for the Twitter accounts vogueparis, Zenith_Paris, and Mairiedu11."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"Paris\" ) ( \"string1\" ) ( \"string2\" ) ( \"zag_match\" ) ( \"string3\" ) ( \"string4\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2583", "question": "Which entities on Wikidata have Twitter handles 'kobo', 'livreshebdo', or 'AppleBooks'?", "sparql": "SELECT ?entity ?twitter WHERE { ?entity wdt:P2002 ?twitter . FILTER(?twitter IN (\"kobo\", \"livreshebdo\", \"AppleBooks\")) } ORDER BY ?twitter", "paraphrases": ["What are the Wikidata entities associated with the Twitter usernames kobo, livreshebdo, and AppleBooks?", "List the Wikidata items that are linked to the Twitter accounts kobo, livreshebdo, and AppleBooks."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"LesEscales\" ) ( \"string1\" ) ( \"string2\" ) ( \"Cultures31\" ) ( \"livres\" ) ( \"Caroklouk\" ) ( \"string3\" ) ( \"MariBidet\" ) ( \"ViggersK\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"AbcdBooks\" ) ( \"Kobo_FR\" ) ( \"s_valla\" ) ( \"string8\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2584", "question": "Wikipedia articles in English, German, and French about the movie with IMDb ID tt0052698", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?article WHERE {\n  ?movie wdt:P345 \"tt0052698\" .\n  ?article schema:about ?movie .\n  {\n    ?article schema:inLanguage \"en\" .\n  } UNION {\n    ?article schema:inLanguage \"de\" .\n  } UNION {\n    ?article schema:inLanguage \"fr\" .\n  }\n}", "paraphrases": ["What are the Wikipedia articles in English, German, and French about the film \"Classe tous risques\"?", "Show me the Wikipedia pages in English, German, and French that are about the movie identified by IMDb ID tt0052698."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0052698\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"fr\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2585", "question": "English and German Wikipedia pages about the movie with IMDb ID tt1772925.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?wikipedia_page WHERE {\n  ?item wdt:P345 \"tt1772925\" .\n  ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n}", "paraphrases": ["What are the English and German Wikipedia articles for the film Jiro Dreams of Sushi?", "Show me the Wikipedia pages in English and German that are about the documentary with IMDb identifier tt1772925."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1772925\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2586", "question": "Top 40 most recent Linux distributions with their versions and logos.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?label ?inceptionDate ?version ?logo WHERE {\n  ?distro wdt:P31 wd:Q131669 .\n  ?distro wdt:P571 ?inceptionDate .\n  ?distro wdt:P348 ?version .\n  ?distro wdt:P154 ?logo .\n  ?distro rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nORDER BY DESC(?inceptionDate)\nLIMIT 40", "paraphrases": ["What are the 40 newest Linux distributions, along with their release versions and logo images?", "Show me a list of the latest Linux distributions, including when they were created, their version numbers, and their official logos."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q131669> . ?var1 <http://www.wikidata.org/prop/direct/P571> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P154> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P348> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } ORDER BY DESC( ?var2 ) LIMIT 40"}}
{"id": "test_2587", "question": "Which Wikidata items have the Twitter usernames \"evamen\", \"MERLTech\", \"JGIBristol\", \"iainh_z\", \"dLabTz\", \"AidData\", or \"CeriRegan\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterHandle WHERE {\n  ?item wdt:P2002 ?twitterHandle .\n  VALUES ?twitterHandle {\n    \"evamen\" \"MERLTech\" \"JGIBristol\" \"iainh_z\" \"dLabTz\" \"AidData\" \"CeriRegan\"\n  }\n}", "paraphrases": ["Who on Wikidata has the Twitter handle \"evamen\"?", "Find the Wikidata entities corresponding to these Twitter handles: evamen, MERLTech, JGIBristol, iainh_z, dLabTz, AidData, CeriRegan."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"MERLTech\" ) ( \"string3\" ) ( \"evamen\" ) ( \"JGIBristol\" ) ( \"string4\" ) ( \"iainh_z\" ) ( \"string5\" ) ( \"dLabTz\" ) ( \"string6\" ) ( \"AidData\" ) ( \"string7\" ) ( \"CeriRegan\" ) } }"}}
{"id": "test_2588", "question": "Labels of Omega SA in all languages, where its Commons category is \"Omega SA\".", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?entity ?label WHERE {\n  ?entity wdt:P373 \"Omega SA\" .\n  ?entity rdfs:label ?label .\n}", "paraphrases": ["What are the labels of the company that has the Commons category \"Omega SA\"?", "Show me all language labels for the entity whose Commons category is \"Omega SA\"."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ?var2 \"Omega SA\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . }"}}
{"id": "test_2589", "question": "Top 100 newest Linux distributions with version, license, website, and base distribution.", "sparql": "SELECT ?distributionLabel ?inceptionDate ?version ?licenseLabel ?website ?basedOnLabel WHERE { ?distribution wdt:P31 wd:Q131669 . ?distribution wdt:P571 ?inceptionDate . ?distribution wdt:P348 ?version . ?distribution wdt:P275 ?license . ?distribution wdt:P856 ?website . ?distribution wdt:P144 ?basedOn . ?distribution rdfs:label ?distributionLabel . ?license rdfs:label ?licenseLabel . FILTER(LANG(?distributionLabel) = \"en\") FILTER(LANG(?licenseLabel) = \"en\") } ORDER BY DESC(?inceptionDate) LIMIT 100", "paraphrases": ["What are the 100 most recently released Linux distributions, and what are their versions, licenses, websites, and base systems?", "List the 100 most recent Linux distributions, including their release dates, version numbers, copyright licenses, official websites, and the distributions they are based on."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4Label ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q131669> . ?var1 <http://www.wikidata.org/prop/direct/P571> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P348> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P275> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P856> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P144> ?var6 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } ORDER BY DESC( ?var2 ) LIMIT 100"}}
{"id": "test_2590", "question": "Which Wikidata items have the Twitter usernames \"AleteiaFR\" and \"tvlofficiel\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterUsername WHERE {\n  ?item wdt:P2002 ?twitterUsername .\n  VALUES ?twitterUsername {\n    \"AleteiaFR\" \"tvlofficiel\"\n  }\n}", "paraphrases": ["What entities on Wikidata are associated with the Twitter handles @AleteiaFR and @tvlofficiel?", "Show me the Wikidata entries for the Twitter accounts AleteiaFR and tvlofficiel."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"TVLibertes\" ) ( \"Agrif_\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"AleteiaFR\" ) ( \"string8\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2591", "question": "Who has the Twitter username \"EvoMRI\"?", "sparql": "SELECT ?person ?username WHERE { ?person wdt:P2002 ?username . VALUES ?username { \"EvoMRI\" } }", "paraphrases": ["Which Wikidata person is associated with the X handle \"EvoMRI\"?", "Please find the person whose X (formerly Twitter) username is EvoMRI."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"oth_wandel\" ) ( \"EvoMRI\" ) } }"}}
{"id": "test_2592", "question": "What class is the free software movement an instance of, in English?", "sparql": "SELECT ?class ?classLabel WHERE { wd:Q1076638 wdt:P31 ?class . ?class rdfs:label ?classLabel . FILTER (LANG(?classLabel) = \"en\") } LIMIT 50", "paraphrases": ["What is the English label of the category that the free software movement belongs to?", "Show me the English name of the type that the free software movement is an example of."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q1076638> <http://www.wikidata.org/prop/direct/P31> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } LIMIT 50"}}
{"id": "test_2593", "question": "Freeware software with English names and images", "sparql": "SELECT ?software ?softwareLabel ?image WHERE { ?software wdt:P275 wd:Q178285 . OPTIONAL { ?software rdfs:label ?softwareLabel . FILTER(LANG(?softwareLabel) = \"en\") } OPTIONAL { ?software wdt:P18 ?image . } } LIMIT 100", "paraphrases": ["What are the freeware software items and their English labels, along with any available images?", "Show me up to 100 freeware software items, their English names, and the images associated with them on Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P275> <http://www.wikidata.org/entity/Q178285> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_2594", "question": "What types is the art of painting an instance of in English?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?type ?label WHERE {\n  wd:Q11629 wdt:P31 ?type .\n  ?type rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}\nLIMIT 50", "paraphrases": ["What are the English labels of the categories that the art of painting belongs to?", "Show me the English names of all the classes that the art of painting is an example of."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q11629> <http://www.wikidata.org/prop/direct/P31> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } LIMIT 50"}}
{"id": "test_2595", "question": "What are all the subclasses (direct and indirect) of the widget toolkit?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subclass WHERE {\n  ?subclass wdt:P279 * wd:Q1193246 .\n}\nLIMIT 100", "paraphrases": ["List all software components that are types of widget toolkit, including itself.", "Which items are categorized under or are descendants of the widget toolkit in the software hierarchy?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q1193246> ) } ?var1 <http://www.wikidata.org/prop/direct/P279> * ?var2 . }"}}
{"id": "test_2596", "question": "What are the different versions of Netscape Navigator?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?version ?versionLabel WHERE {\n  ?version wdt:P279 wd:Q235419 .\n  ?version rdfs:label ?versionLabel .\n  FILTER(LANG(?versionLabel) = \"en\")\n}\nORDER BY ASC(?versionLabel)", "paraphrases": ["Which software versions are subclasses of Netscape Navigator?", "List all the named releases of Netscape Navigator in alphabetical order."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q235419> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_2597", "question": "Hungarian translators and their notable works", "sparql": "SELECT DISTINCT ?translator ?translatorLabel ?work ?workLabel WHERE { ?translator wdt:P800 ?work . ?translator wdt:P106 wd:Q333634 . ?translator wdt:P27 wd:Q28 . ?translator rdfs:label ?translatorLabel . ?work rdfs:label ?workLabel . FILTER(LANG(?translatorLabel) = \"en\") FILTER(LANG(?workLabel) = \"en\") } LIMIT 10000", "paraphrases": ["Who are the Hungarian translators and what are their notable literary or artistic works?", "List all translators from Hungary along with the books or works they are known for."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P800> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q333634> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q28> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10000"}}
{"id": "test_2598", "question": "Artworks in the Uffizi Gallery and its sub-collections with English titles", "sparql": "SELECT DISTINCT ?artwork ?artworkLabel WHERE { VALUES ?uffizi { wd:Q16335227 } { ?artwork wdt:P195 ?collection . ?collection wdt:P361 ?uffizi . } UNION { ?artwork wdt:P195 ?uffizi . ?artwork wdt:P170 ?creator . } ?artwork rdfs:label ?artworkLabel . FILTER(LANG(?artworkLabel) = \"en\") }", "paraphrases": ["What artworks are part of the Uffizi Gallery, either directly or through a sub-collection, and what are their English names?", "List the English titles of all artworks in the Uffizi Gallery, including those in its sub-collections, that have known creators or are part of a collection within the gallery."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q16335227> ) } { ?var1 <http://www.wikidata.org/prop/direct/P195> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P361> ?var2 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P195> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P170> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2599", "question": "Who is the CEO of Apple?", "sparql": "SELECT ?company ?companyLabel ?ceo ?ceoLabel WHERE { BIND( wd:Q312 AS ?company ) . ?company wdt:P169 ?ceo . ?company rdfs:label ?companyLabel . ?ceo rdfs:label ?ceoLabel . FILTER(LANG(?companyLabel) = \"en\") . FILTER(LANG(?ceoLabel) = \"en\") . }", "paraphrases": ["Apple CEO name", "What is the name of Apple\u2019s chief executive officer?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } BIND ( <http://www.wikidata.org/entity/Q312> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P169> ?var2 . } LIMIT 10"}}
{"id": "test_2600", "question": "What U.S. federal agencies are located in Washington, D.C. or Massachusetts?", "sparql": "SELECT ?entity ?label WHERE { ?entity wdt:P131 ?location . FILTER (?location IN (wd:Q61, wd:Q771)) . ?entity wdt:P31 wd:Q20857065 . ?entity rdfs:label ?label . FILTER (LANG(?label) = \"en\") } ORDER BY ?label", "paraphrases": ["List all federal government organizations based in either the District of Columbia or the state of Massachusetts.", "Which U.S. federal agencies have offices in Washington, D.C. or Massachusetts?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q61> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q771> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_2601", "question": "Who has the Twitter/X username \"N_Hulot\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ( str( ?twitterUsername ) AS ?username ) WHERE {\n  ?person wdt:P2002 ?twitterUsername .\n  FILTER ( str( ?twitterUsername ) = \"N_Hulot\" )\n}", "paraphrases": ["Which Wikidata entity is associated with the Twitter handle N_Hulot?", "Find the person whose Twitter/X username is N_Hulot."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"NHulot\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2602", "question": "What country is the Central Sofia Market Hall located in?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?country ?countryLabel WHERE {\n  wd:Q190675 wdt:P17 ?country .\n  ?country rdfs:label ?countryLabel .\n  FILTER(LANG(?countryLabel) = \"en\")\n}", "paraphrases": ["Which country contains the Central Sofia Market Hall in Sofia?", "Tell me the country where the Central Sofia Market Hall is situated."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { BIND ( <http://www.wikidata.org/entity/Q190675> AS ?var3 ). ?var3 <http://www.wikidata.org/prop/direct/P17> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2603", "question": "What are the version numbers, release dates, and release types (e.g., stable, beta) of LibreOffice?", "sparql": "SELECT DISTINCT ?version ?releaseDate ?versionTypeLabel ?versionType WHERE { wd:Q10135 p:P348 ?statement . ?statement ps:P348 ?version ; pq:P577 ?releaseDate ; pq:P548 ?versionType . OPTIONAL { ?versionType rdfs:label ?versionTypeLabel . FILTER (LANG(?versionTypeLabel) = \"en\") } }", "paraphrases": ["Can you list all released versions of LibreOffice along with their publication dates and whether they were stable, beta, or release candidates?", "Show me the version identifiers, release dates, and English-labeled release channels for each LibreOffice release."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3Label ?var4 WHERE { <http://www.wikidata.org/entity/Q10135> <http://www.wikidata.org/prop/P348> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P348> ?var1 . ?var5 <http://www.wikidata.org/prop/qualifier/P577> ?var2 . OPTIONAL { ?var5 <http://www.wikidata.org/prop/qualifier/P548> ?var6 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . } OPTIONAL { ?var5 <http://www.wikidata.org/prop/qualifier/P548> ?var4 . } }"}}
{"id": "test_2604", "question": "What are the Wikipedia articles in English, Danish, or German about the movie with IMDb ID tt0403522?", "sparql": "SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 \"tt0403522\" . ?wikipedia_page schema:about ?movie . VALUES ?lang { \"en\" \"de\" \"da\" } ?wikipedia_page schema:inLanguage ?lang . }", "paraphrases": ["Show me the English and Danish Wikipedia pages for the film identified by tt0403522 on IMDb.", "Which language versions of Wikipedia have articles about the movie with IMDb ID tt0403522?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0403522\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"da\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2605", "question": "Image of the person with SNAC ARK ID w6dm1jfk", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6dm1jfk\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Carol M. Highsmith in Wikidata?", "Can you show me the photograph of the individual identified by the SNAC ARK ID w6dm1jfk?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6dm1jfk\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2606", "question": "Top 10 paintings with the most Wikipedia articles, excluding those with Swedish pages.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?painting ?paintingLabel ( COUNT( DISTINCT ?wikipediaPage ) AS ?count ) WHERE {\n  ?painting wdt:P31 wd:Q3305213 .\n  ?wikipediaPage schema:about ?painting .\n  FILTER NOT EXISTS {\n    ?svPage schema:about ?painting .\n    ?svPage schema:inLanguage \"sv\" .\n    ?svPage schema:isPartOf <https://sv.wikipedia.org/> .\n  }\n  ?painting rdfs:label ?paintingLabel .\n  FILTER ( LANG( ?paintingLabel ) = \"en\" )\n}\nGROUP BY ?painting ?paintingLabel\nORDER BY DESC ( ?count )\nLIMIT 10", "paraphrases": ["Which paintings are featured on the most Wikipedia language editions but not on Swedish Wikipedia?", "Show me the 10 paintings that have the highest number of Wikipedia articles in languages other than Swedish, along with how many articles each has."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( NOT EXISTS { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/inLanguage> \"sv\". ?var4 <http://schema.org/isPartOf> <https://sv.wikipedia.org/> . } ) ) . } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var3 ) LIMIT 10"}}
{"id": "test_2607", "question": "What properties describe the Sci-Hub website in Wikidata, and what are their values?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?property ?propertyLabel ?value ?valueLabel WHERE {\n  wd:Q21980377 ?property ?value .\n  OPTIONAL {\n    ?property rdfs:label ?propertyLabel .\n    FILTER ( LANG( ?propertyLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?value rdfs:label ?valueLabel .\n    FILTER ( LANG( ?valueLabel ) = \"en\" )\n  }\n}\nORDER BY ?propertyLabel", "paraphrases": ["Can you list the attributes of Sci-Hub (like country, creator, and website) along with their English labels?", "Show me all the known facts about the Sci-Hub website, including property names and their corresponding values in English."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { ?var1 ?var4 ?var5 . ?var2 <http://wikiba.se/ontology#claim> ?var4 . ?var5 ?var6 ?var3 . ?var1 ?var7 ?var3 . ?var5 ( <http://www.w3.org/ns/prov#wasDerivedFrom> / <http://www.wikidata.org/prop/reference/P248> ) <http://www.wikidata.org/entity/Q30225259> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,sde,fr,da,sv,jp\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_2608", "question": "Wikipedia articles in English and German about the movie with IMDb ID tt6303866.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipediaPage WHERE {\n  ?movie wdt:P345 \"tt6303866\" .\n  ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" ) FILTER ( CONTAINS( STR( ?wikipediaPage ) , \"wikipedia.org\" ) )\n}", "paraphrases": ["What are the English and German Wikipedia pages for the movie Beach Rats?", "Show me the Wikipedia articles in English and German that are about the film identified by IMDb ID tt6303866."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6303866\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2609", "question": "Software with version identifier and version type (e.g., beta, stable)", "sparql": "SELECT DISTINCT ?item ?itemLabel WHERE { ?item wdt:P348 ?version . ?item wdt:P548 ?versionType . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } LIMIT 10", "paraphrases": ["Which software programs have both a version number and a version type like beta or stable?", "List software items that are identified by a version number and classified by a release type such as alpha, beta, or long-term support."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var1 <http://www.wikidata.org/prop/P348> ?var2 . ?var2 <http://www.wikidata.org/prop/P548> ?var3 . } LIMIT 10"}}
{"id": "test_2610", "question": "What are the software items and their corresponding open-source licenses in English?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?software ?license ?licenseLabel WHERE {\n  ?software ( wdt:P31 / wdt:P279 * ) wd:Q7397 .\n  ?software wdt:P275 ?license .\n  ?license rdfs:label ?licenseLabel .\n  FILTER ( LANG( ?licenseLabel ) = \"en\" )\n}", "paraphrases": ["Which software products are licensed under which licenses, and what are the names of those licenses in English?", "List all software and their copyright licenses with human-readable license names in English."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3Label WHERE { ?var1 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/statement/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . ?var1 <http://www.wikidata.org/prop/direct/P275> ?var2 . ?var2 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/statement/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var4 . }"}}
{"id": "test_2611", "question": "What is the genre of the painting \"Retrato de un caballero desconocido\" by El Greco?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?paintingLabel ?genre ?genreLabel WHERE {\n  wd:Q9068380 rdfs:label ?paintingLabel .\n  FILTER ( LANGMATCHES( LANG( ?paintingLabel ) , \"en\" ) ) OPTIONAL {\n    wd:Q9068380 wdt:P136 ?genre .\n    ?genre rdfs:label ?genreLabel .\n    FILTER ( LANGMATCHES( LANG( ?genreLabel ) , \"en\" ) )\n  }\n}", "paraphrases": ["What is the English title of the painting \"Retrato de un caballero desconocido\" and what is its artistic genre?", "Can you tell me the English label and genre of the artwork known as \"Retrato de un caballero desconocido\"?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var2Label WHERE { <http://www.wikidata.org/entity/Q9068380> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( LANGMATCHES ( LANG ( ?var1Label ) , \"EN\" ) ) ) . OPTIONAL { ?var1Label <http://www.wikidata.org/prop/direct/P136> ?var2 . } } LIMIT 1"}}
{"id": "test_2612", "question": "What are all the superclass categories of permissive free software license?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?ancestor ?ancestorLabel WHERE {\n  wd:Q1437937 wdt:P279 * ?ancestor .\n  ?ancestor rdfs:label ?ancestorLabel .\n  FILTER(LANG(?ancestorLabel) = 'en')\n}", "paraphrases": ["What are the hierarchical parent classes of a permissive free software license in Wikidata?", "Show me the full taxonomy tree of permissive free software license, including all its parent classes up to the most general category."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q1437937> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_2613", "question": "What companies produce the same products as Sony?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?company ?companyLabel ?product WHERE {\n  wd:Q41187 wdt:P1056 ?product .\n  ?company wdt:P1056 ?product .\n  ?company rdfs:label ?companyLabel .\n  FILTER(LANG(?companyLabel) = \"en\")\n}\nORDER BY ?company", "paraphrases": ["List all companies that make any product also made by Sony, along with the shared products and their English labels.", "Which businesses are connected to Sony through shared products like video games or software?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q41187> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"11\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P1056> . } } UNION { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q41187> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Reverse\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"11\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P1056> . } } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1056> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2614", "question": "Image of the person with SNAC ARK ID w6x07394", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6x07394\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Dinh Gilly in Wikidata?", "Can you show me the Wikimedia Commons image for the individual identified by the SNAC ARK ID w6x07394?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6x07394\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2615", "question": "What English and German language Wikipedia or Wikiquote pages are about the movie with IMDb ID tt0081375?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?page WHERE {\n  ?movie wdt:P345 \"tt0081375\" .\n  ?page schema:about ?movie .\n  VALUES ?lang {\n    \"en\" \"de\"\n  }\n  ?page schema:inLanguage ?lang .\n}", "paraphrases": ["Show me the pages in English and German that discuss the film Private Benjamin, identified by its IMDb ID.", "Which language versions of Wikimedia pages link to the movie Private Benjamin (IMDb: tt0081375)?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0081375\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2616", "question": "Events in Finland associated with a conviction.", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P1399 ?conviction ; wdt:P17 wd:Q33 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["What terrorist attacks in Finland resulted in convictions?", "List the names of incidents in Finland where someone was convicted of a crime, along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1399> ?var2 ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q33> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fi\". } }"}}
{"id": "test_2617", "question": "Which Wikidata entities have Twitter/X usernames: EvoMRI, Wikimedia, RIOJournal, OKFN, aaronsw, hrzepa, mjbuys, ORCID_Org, catmacOA, or ontowonka?", "sparql": "SELECT ?entity ?twitterUsername WHERE { ?entity wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"EvoMRI\" \"Wikimedia\" \"RIOJournal\" \"OKFN\" \"aaronsw\" \"hrzepa\" \"mjbuys\" \"ORCID_Org\" \"catmacOA\" \"ontowonka\" } }", "paraphrases": ["Who are the people and organizations on Wikidata with the Twitter handles \"EvoMRI\", \"Wikimedia\", \"RIOJournal\", \"OKFN\", \"aaronsw\", \"hrzepa\", \"mjbuys\", \"ORCID_Org\", \"catmacOA\", and \"ontowonka\"?", "List the Wikidata items and their corresponding Twitter usernames for the following handles: EvoMRI, Wikimedia, RIOJournal, OKFN, aaronsw, hrzepa, mjbuys, ORCID_Org, catmacOA, and ontowonka."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"EvoMRI\" ) ( \"UVADSI\" ) ( \"Wikimedia\" ) ( \"RIOJournal\" ) ( \"OKFN\" ) ( \"aaronsw\" ) ( \"pilsks\" ) ( \"sjDCC\" ) ( \"ORCID_Org\" ) ( \"mjbuys\" ) ( \"string1\" ) ( \"catmacOA\" ) ( \"joewass\" ) ( \"string2\" ) ( \"gabioshka\" ) ( \"hrzepa\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"ontowonka\" ) ( \"crossref\" ) ( \"TheDMPTool\" ) ( \"ActiveDMPs\" ) ( \"string7\" ) } }"}}
{"id": "test_2618", "question": "Online encyclopedias with German descriptions", "sparql": "SELECT ?item ?description WHERE { ?item wdt:P31 wd:Q615699 . ?item schema:description ?description . FILTER(LANG(?description) = \"de\") } LIMIT 10", "paraphrases": ["Which online encyclopedias have descriptions in German?", "Show me German-language descriptions of online encyclopedias."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q52> . ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"de\" ) ) ) . } LIMIT 100000"}}
{"id": "test_2619", "question": "Is the album \"The Faces I've Been\" classified as software?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q7733049 ( wdt:P31 / wdt:P279 * ) wd:Q7397 .\n}", "paraphrases": ["Is \"The Faces I've Been\" by Jim Croce an instance of software or any of its subclasses?", "Confirm whether the 1975 compilation album \"The Faces I've Been\" belongs to the category of software."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q7733049> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_2620", "question": "Mathematicians from the Kingdom of France and their names.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?name WHERE {\n  ?person wdt:P106 wd:Q170790 .\n  ?person wdt:P27 wd:Q70972 .\n  ?person rdfs:label ?name .\n  FILTER(LANG(?name) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Who were the mathematicians from the Kingdom of France, and what are their names in English?", "List the English names of all mathematicians who were citizens of the Kingdom of France."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q170790> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q70972> . OPTIONAL { } OPTIONAL { } OPTIONAL { } OPTIONAL { } OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1448> ?var2 . } } LIMIT 100"}}
{"id": "test_2621", "question": "Which Wikidata items have Twitter usernames: denials, kspurgin, MsPhelps, sadads, Wikicite, or wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterUsername WHERE {\n  ?item wdt:P2002 ?twitterUsername .\n  VALUES ?twitterUsername {\n    \"denials\" \"kspurgin\" \"MsPhelps\" \"sadads\" \"Wikicite\" \"wikidata\"\n  }\n}", "paraphrases": ["Who are the people or organizations on Wikidata with the Twitter handles \"denials\", \"kspurgin\", \"MsPhelps\", \"sadads\", \"Wikicite\", and \"wikidata\"?", "List the Wikidata entities and their corresponding Twitter usernames for the handles: denials, kspurgin, MsPhelps, sadads, Wikicite, and wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"WikidataAT\" ) ( \"K_rho\" ) ( \"string1\" ) ( \"Euretos\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"MsPhelps\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"kspurgin\" ) ( \"wikidata\" ) ( \"string9\" ) ( \"Wikicite\" ) ( \"string10\" ) ( \"string11\" ) ( \"Cybrsalon\" ) ( \"string12\" ) ( \"string13\" ) ( \"sadads\" ) ( \"denials\" ) ( \"string14\" ) ( \"string15\" ) ( \"string16\" ) ( \"WikiCite\" ) ( \"string17\" ) ( \"string18\" ) ( \"Wikidata\" ) ( \"string19\" ) ( \"Anonymaps\" ) } }"}}
{"id": "test_2622", "question": "Image of the person with SNAC ARK ID w6765wb6", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6765wb6\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Henry D. Minot in Wikidata, identified by the SNAC ARK ID w6765wb6?", "Show me the Wikimedia Commons image for the individual whose SNAC ARK ID is w6765wb6."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6765wb6\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2623", "question": "Which Wikidata entities have Twitter usernames dblp_org, fnielsen, halfak, nightrose, or Wittylama?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username ?label WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"dblp_org\" \"fnielsen\" \"halfak\" \"nightrose\" \"Wittylama\"\n  }\n  .\n  ?item rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}\nORDER BY ?username", "paraphrases": ["Who are the people or organizations on Wikidata with the Twitter usernames \"fnielsen\", \"halfak\", \"nightrose\", \"Wittylama\", or \"dblp_org\"?", "List the Wikidata items and their English labels for the Twitter accounts: dblp_org, fnielsen, halfak, nightrose, and Wittylama."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"wikipedia\" ) ( \"nightrose\" ) ( \"auregann\" ) ( \"string1\" ) ( \"Wikidata\" ) ( \"fnielsen\" ) ( \"DBpedia\" ) ( \"string2\" ) ( \"dblp_org\" ) ( \"ma_kr\" ) ( \"eglu81\" ) ( \"Wittylama\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"sadads\" ) ( \"halfak\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2624", "question": "English label, description, and image of the painting \"Cow\" by Edgar Degas.", "sparql": "SELECT ?label ?description ?image WHERE { OPTIONAL { wd:Q20808842 rdfs:label ?label . FILTER (LANG(?label) = \"en\") } OPTIONAL { wd:Q20808842 wdt:P18 ?image . } OPTIONAL { wd:Q20808842 schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["What is the English title, description, and image of the painting \"Cow\" by Edgar Degas?", "Show me the English name, description, and Wikimedia Commons image for the painting titled \"Cow\" by Edgar Degas."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q20808842> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q20808842> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q20808842> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_2625", "question": "Image of the person with SNAC ARK ID w64530g6", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w64530g6\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with Otto Schott in Wikidata?", "Can you show me the Wikimedia Commons image for the individual identified by the SNAC ARK ID w64530g6?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w64530g6\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2626", "question": "Labels and image of the painting \"Polyt\u00e8s, fils de Priam, observant les mouvements des Grecs vers Troie\" in French, English, German, and Italian.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?var3 ?var8 WHERE {\n  {\n    BIND( \"fr\" AS ?lang ) BIND( 1 AS ?var8 ) .\n    wd:Q18518787 rdfs:label ?label .\n    FILTER ( LANG( ?label ) = ?lang )\n  } UNION {\n    BIND( \"en\" AS ?lang ) BIND( 2 AS ?var8 ) .\n    wd:Q18518787 rdfs:label ?label .\n    FILTER ( LANG( ?label ) = ?lang )\n  } UNION {\n    BIND( \"de\" AS ?lang ) BIND( 3 AS ?var8 ) .\n    wd:Q18518787 rdfs:label ?label .\n    FILTER ( LANG( ?label ) = ?lang )\n  } UNION {\n    BIND( \"it\" AS ?lang ) BIND( 4 AS ?var8 ) .\n    wd:Q18518787 rdfs:label ?label .\n    FILTER ( LANG( ?label ) = ?lang )\n  }\n  OPTIONAL {\n    wd:Q18518787 wdt:P18 ?var3\n  }\n}\nORDER BY ASC ( ?var8 )", "paraphrases": ["What are the French, English, German, and Italian labels for the painting by Hippolyte Flandrin titled \"Polyt\u00e8s, fils de Priam, observant les mouvements des Grecs vers Troie\", and what is its image on Wikimedia Commons?", "Show me the labels of the painting \"Polyt\u00e8s, fils de Priam, observant les mouvements des Grecs vers Troie\" in French, English, German, and Italian, sorted by language order, along with its Commons image."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q18518787> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var7 ) ) ) . VALUES ( ?var7 ?var8 ) { ( \"fr\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q18518787> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q18518787> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"fr\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q18518787> <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q18518787> ; <http://schema.org/inLanguage> \"fr\"; <http://schema.org/isPartOf> <https://fr.wikipedia.org/> . } } ORDER BY ASC( ?var8 )"}}
{"id": "test_2627", "question": "Which Wikidata entity has the Twitter username DalaiLama?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity ?username WHERE {\n  ?entity wdt:P2002 ?username .\n  VALUES ?username {\n    \"DalaiLama\"\n  }\n}", "paraphrases": ["Who is the person with the Twitter handle DalaiLama?", "Find the Wikidata item for the Twitter account @DalaiLama."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"polyconfhq\" ) ( \"DalaiLama\" ) ( \"string1\" ) } }"}}
{"id": "test_2628", "question": "All production companies and their subclasses on Wikidata.", "sparql": "SELECT ?productionCompany WHERE { ?productionCompany (wdt:P31/wdt:P279*) wd:Q11396960 . }", "paraphrases": ["What are all the entities that are either production companies or subtypes of production companies?", "List all companies that produce media, including direct instances and any subcategories like anime studios or adult film producers."], "info": {"raw_sparql": "SELECT ?var1 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11396960> . }"}}
{"id": "test_2629", "question": "Paintings in the Slovak National Gallery with no image and created by artists who died before 1923.", "sparql": "SELECT ?painting WHERE { ?painting p:P195 ?collectionStatement . ?collectionStatement ps:P195 wd:Q1744024 . ?painting wdt:P31 wd:Q3305213 . MINUS { ?painting wdt:P18 [] . } ?painting wdt:P170 ?artist . ?artist wdt:P570 ?deathDate . FILTER ( YEAR(?deathDate) < 1923 ) } LIMIT 2500", "paraphrases": ["Which paintings in the Slovak National Gallery have no uploaded image and were created by artists who died before 1923?", "Show me all paintings from the Slovak National Gallery that lack an image and were made by artists deceased before 1923."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/P195> ?var2 . ?var2 <http://www.wikidata.org/prop/statement/P195> <http://www.wikidata.org/entity/Q1744024> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P18> [] . } ?var1 <http://www.wikidata.org/prop/direct/P170> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P570> ?var4 . FILTER ( ( ( YEAR ( ?var4 ) < \"1923\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } LIMIT 2500"}}
{"id": "test_2630", "question": "What is the English Wikipedia page for the movie with IMDb ID tt1401621?", "sparql": "SELECT ?movie ?wikipedia_page WHERE { VALUES ?imdb_id { \"tt1401621\" } ?movie wdt:P345 ?imdb_id . ?wikipedia_page schema:about ?movie . ?wikipedia_page schema:inLanguage ?lang . VALUES ?lang { \"en\" \"de\" } }", "paraphrases": ["Which Wikipedia article in English or German is about the movie identified by IMDb ID tt1401621?", "Please show me the Wikipedia page for the movie A Boy Called Po (IMDb: tt1401621) in either English or German."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1401621\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2631", "question": "Which entity has the Twitter username \"wikidata\"?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?item ?username WHERE {\n  ?item p:P2002 ?stmt .\n  ?stmt ps:P2002 ?username .\n  VALUES ?username {\n    \"wikidata\"\n  }\n}\nORDER BY ?item", "paraphrases": ["Show me the Wikidata item that uses \"wikidata\" as its Twitter handle.", "What entity is associated with the Twitter account @wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"string1\" ) ( \"mesosphere\" ) ( \"wikidata\" ) ( \"string2\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2632", "question": "Who are the people who received awards in the field of computer science, and in what years were those awards given?", "sparql": "SELECT DISTINCT ?person (YEAR(?date) AS ?year) WHERE { ?person p:P166 ?awardStatement . ?awardStatement ps:P166 ?award . ?award wdt:P101 wd:Q21198 . ?awardStatement pq:P585 ?date . }", "paraphrases": ["Awards in computer science and their recipients with years", "List all individuals who have been awarded for work in computer science, along with the year of each award."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ( YEAR ( ?var2 ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/P166> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P800> <http://www.wikidata.org/entity/Q21198> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { } }"}}
{"id": "test_2633", "question": "What is the English Wikipedia page for the film with IMDb ID tt0189021?", "sparql": "SELECT ?item ?wikipediaPage WHERE { ?item wdt:P345 \"tt0189021\" . ?wikipediaPage schema:about ?item . { ?wikipediaPage schema:inLanguage \"en\" . } UNION { ?wikipediaPage schema:inLanguage \"de\" . } }", "paraphrases": ["Which Wikipedia article in English or German is about the movie with IMDb identifier tt0189021?", "Show me the English or German Wikipedia link for the film identified by tt0189021 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0189021\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2634", "question": "Which Wikidata entities have the Twitter handles SamGontier, GroupeSNCF, Snowden, BBCWorld, Politis_fr, AlterEco_, ACIPA_NDL, Reporterre, MdM_France, or Fakir_?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity ?twitterHandle WHERE {\n  ?entity wdt:P2002 ?twitterHandle .\n  VALUES ?twitterHandle {\n    \"SamGontier\" \"GroupeSNCF\" \"Snowden\" \"BBCWorld\" \"Politis_fr\" \"AlterEco_\" \"ACIPA_NDL\" \"Reporterre\" \"MdM_France\" \"Fakir_\"\n  }\n}", "paraphrases": ["Who or what organizations on Wikidata are associated with the Twitter accounts @SamGontier, @GroupeSNCF, @Snowden, @BBCWorld, @Politis_fr, @AlterEco_, @ACIPA_NDL, @Reporterre, @MdM_France, and @Fakir_?", "List the Wikidata items for the following Twitter usernames: SamGontier, GroupeSNCF, Snowden, BBCWorld, Politis_fr, AlterEco_, ACIPA_NDL, Reporterre, MdM_France, and Fakir_."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"SamGontier\" ) ( \"string3\" ) ( \"LesMcDo\" ) ( \"gaga5012\" ) ( \"Qleyrat\" ) ( \"ULCGTVDR\" ) ( \"flaqmaaf\" ) ( \"string4\" ) ( \"string5\" ) ( \"Momboisse4\" ) ( \"string6\" ) ( \"GroupeSNCF\" ) ( \"Snowden\" ) ( \"BBCWorld\" ) ( \"string7\" ) ( \"Politis_fr\" ) ( \"AlterEco_\" ) ( \"ACIPA_NDL\" ) ( \"Reporterre\" ) ( \"NON_A_NDDL\" ) ( \"string8\" ) ( \"string9\" ) ( \"MdM_France\" ) ( \"string10\" ) ( \"flonot\" ) ( \"string11\" ) ( \"Fakir_\" ) ( \"string12\" ) } }"}}
{"id": "test_2635", "question": "Which Wikidata entities have Twitter usernames \"Mairiedu3\", \"PAidenbaum\", or \"Paris\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterHandle WHERE {\n  ?item wdt:P2002 ?twitterHandle .\n  VALUES ?twitterHandle {\n    \"Mairiedu3\" \"PAidenbaum\" \"Paris\"\n  }\n}", "paraphrases": ["Who or what are the entities on Wikidata that use \"Mairiedu3\", \"PAidenbaum\", or \"Paris\" as their Twitter handle?", "Show me the Wikidata items linked to the Twitter handles \"Mairiedu3\", \"PAidenbaum\", and \"Paris\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"Mairiedu3\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"PAidenbaum\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"Paris\" ) ( \"string11\" ) ( \"NBParis\" ) ( \"string12\" ) ( \"string13\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2636", "question": "Wikipedia and Wikiquote pages in English and German about the movie with IMDb ID tt0118829.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?page WHERE {\n  ?movie wdt:P345 \"tt0118829\" .\n  ?page schema:about ?movie .\n  ?page schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" )\n}", "paraphrases": ["What English and German-language Wikipedia and Wikiquote pages are about the movie \"Cats Don't Dance\"?", "Show me the English and German web pages related to the movie Cats Don't Dance (IMDb: tt0118829)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0118829\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2637", "question": "Female programmers who are alive, have a Wikipedia page, and a photo on Wikimedia Commons.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?image ?wikipediaPage WHERE {\n  ?person wdt:P106 wd:Q5482740 .\n  ?person wdt:P21 wd:Q6581072 .\n  ?person wdt:P18 ?image .\n  ?wikipediaPage schema:about ?person ; schema:isPartOf <https://en.wikipedia.org/> .\n  FILTER NOT EXISTS {\n    ?person wdt:P570 ?deathDate\n  }\n  .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}", "paraphrases": ["Who are the living female programmers with a Wikipedia article and an image on Commons?", "List all female software developers who are still alive, have a Wikipedia page, and are pictured on Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q5482740> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var5 . } ) ) . } GROUP BY ?var1Label ?var2Label ?var1 ?var3 ?var4"}}
{"id": "test_2638", "question": "What is the English label of the Wikidata item that has the Twitter username \"wikidata\"?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?itemLabel ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"wikidata\"\n  }\n  .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = 'en' )\n}", "paraphrases": ["Which entity on Wikidata is associated with the Twitter handle \"wikidata\", and what is its English name?", "Can you find the Wikidata item for the Twitter account @wikidata and show its English label?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"KiPos_info\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2639", "question": "Which French organizations have Twitter/X accounts with usernames Reporterre, Bastamag, France2tv, LCP, Senat, PCF, deputesPCF, fabien_gay, or OuzouliasP?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterHandle WHERE {\n  ?item wdt:P2002 ?twitterHandle .\n  VALUES ?twitterHandle {\n    \"Reporterre\" \"Bastamag\" \"France2tv\" \"LCP\" \"Senat\" \"PCF\" \"deputesPCF\" \"fabien_gay\" \"OuzouliasP\"\n  }\n}", "paraphrases": ["What Wikidata items are associated with the Twitter handles Reporterre, Bastamag, France2tv, LCP, Senat, PCF, deputesPCF, fabien_gay, and OuzouliasP?", "List the entities on Wikidata that have these Twitter usernames: Reporterre, Bastamag, France2tv, LCP, Senat, PCF, deputesPCF, fabien_gay, and OuzouliasP."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"crcsenat\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"Bastamag\" ) ( \"Reporterre\" ) ( \"string7\" ) ( \"string8\" ) ( \"Slaborde33\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"France2tv\" ) ( \"string12\" ) ( \"LCP\" ) ( \"string13\" ) ( \"string14\" ) ( \"string15\" ) ( \"string16\" ) ( \"PCF\" ) ( \"string17\" ) ( \"string18\" ) ( \"string19\" ) ( \"MCochard_\" ) ( \"string20\" ) ( \"deputesPCF\" ) ( \"fabien_gay\" ) ( \"Senat\" ) ( \"string21\" ) ( \"OuzouliasP\" ) ( \"string22\" ) ( \"string23\" ) ( \"string24\" ) ( \"string25\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2640", "question": "What matches did Shinji Kagawa participate in or score goals in?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?property ?relatedItem ?relatedItemLabel WHERE {\n  ?relatedItem ?property wd:Q154708 .\n  FILTER ( ?property != schema:about ) FILTER ( ! STRSTARTS( STR( ?relatedItem ) , \"http://www.wikidata.org/entity/statement/\" ) ) OPTIONAL {\n    ?relatedItem rdfs:label ?relatedItemLabel .\n  }\n}\nLIMIT 100", "paraphrases": ["Which football matches are associated with the Japanese player Shinji Kagawa?", "Can you list the events linked to Shinji Kagawa along with their names?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q154708> . FILTER ( ( ( ?var1 != <http://schema.org/about> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja,en\". } } LIMIT 100"}}
{"id": "test_2641", "question": "What is the image associated with the entity that has the SNAC ARK ID \"w6t7324f\"?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6t7324f\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Show the Wikimedia Commons image for the item identified by the SNAC ARK ID w6t7324f.", "Find the picture of the person or entity with SNAC ARK ID w6t7324f, if available."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6t7324f\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2642", "question": "Which French TV channels have Twitter handles Bmesrimes, Qofficiel, TF1, TMCtv, or W9?", "sparql": "SELECT ?entity ?twitterHandle WHERE { ?entity wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { \"Bmesrimes\" \"Qofficiel\" \"TF1\" \"TMCtv\" \"W9\" } }", "paraphrases": ["What entities on Wikidata are associated with the Twitter usernames Bmesrimes, Qofficiel, TF1, TMCtv, and W9?", "List the TV channels and personalities that use the Twitter accounts @Bmesrimes, @Qofficiel, @TF1, @TMCtv, and @W9."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"W9\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"Bmesrimes\" ) ( \"TMCtv\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"AuguriProd\" ) ( \"string10\" ) ( \"string11\" ) ( \"TF1\" ) ( \"Qofficiel\" ) ( \"string12\" ) ( \"string13\" ) } }"}}
{"id": "test_2643", "question": "What items associated with Albert Einstein have images available on Wikimedia Commons?", "sparql": "SELECT ?item ?itemLabel ?image WHERE { ?item ?property wd:Q937 . ?item wdt:P18 ?image . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["Can you show me the names and pictures of places, people, or organizations linked to Albert Einstein?", "List the entities connected to Albert Einstein along with their labels and images."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1629> <http://www.wikidata.org/entity/Q937> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pt,pt, en\". } }"}}
{"id": "test_2644", "question": "Who is the person with DVN ID \"Hertzveld\" in the Digitaal Vrouwenlexicon van Nederland?", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P1788 \"Hertzveld\" . ?person rdfs:label ?personLabel .} LIMIT 1", "paraphrases": ["What is the name of the woman identified by the DVN ID \"Hertzveld\" in the Dutch women's biography portal?", "Show me the label of the person whose DVN ID is \"Hertzveld\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1788> \"Hertzveld\". } LIMIT 1000"}}
{"id": "test_2645", "question": "English or German Wikipedia page for the movie with IMDb ID tt5187886", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipediaPage WHERE {\n  ?movie wdt:P345 \"tt5187886\" .\n  ?wikipediaPage schema:about ?movie .\n  {\n    ?wikipediaPage schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipediaPage schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["What is the English or German Wikipedia page for the film Abracadabra (2017)?", "Show me the Wikipedia pages in English or German about the movie with IMDb ID tt5187886."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5187886\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2646", "question": "Artworks depicting humans and their creators", "sparql": "SELECT ?artist ?person ?artwork ?artworkLabel WHERE { ?person wdt:P31 wd:Q5 . ?artwork wdt:P170 ?artist . ?artwork wdt:P180 ?person . ?artwork rdfs:label ?artworkLabel . FILTER(LANG(?artworkLabel) = \"en\") }", "paraphrases": ["Which artworks depict specific people, and who created them?", "Show me English-labeled artworks that portray a person, along with the artist who made them and the person depicted."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var3Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var3 <http://www.wikidata.org/prop/direct/P170> ?var1 . ?var3 <http://www.wikidata.org/prop/direct/P180> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2647", "question": "Which French political entities have Twitter/X usernames PCF, Senat, deputesPCF, or LCP?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterHandle WHERE {\n  ?item wdt:P2002 ?twitterHandle .\n  VALUES ?twitterHandle {\n    \"PCF\" \"Senat\" \"deputesPCF\" \"LCP\"\n  }\n}", "paraphrases": ["What Wikidata items are associated with the Twitter handles \"PCF\", \"Senat\", \"deputesPCF\", and \"LCP\"?", "List the Wikidata entities for French political groups that use \"PCF\", \"Senat\", \"deputesPCF\", or \"LCP\" as their Twitter/X usernames."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"deputesPCF\" ) ( \"string1\" ) ( \"string2\" ) ( \"Senat\" ) ( \"string3\" ) ( \"PCF\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"LCP\" ) ( \"string12\" ) ( \"string13\" ) ( \"string14\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2648", "question": "What are the most common last names among Christians?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?surnameLabel(COUNT(?person) AS ?count) WHERE {\n  ?person wdt:P140 wd:Q5043 .\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P734 ?surname .\n  ?surname rdfs:label ?surnameLabel .\n  FILTER(LANG(?surnameLabel) = \"en\")\n}\nGROUP BY ?surnameLabel\nORDER BY DESC(?count)\nLIMIT 28", "paraphrases": ["Can you list the top 28 family names of people who identify as Christian, ranked by how many people have each name?", "Show me the family names of Christians, ordered by popularity, with the number of people sharing each name."], "info": {"raw_sparql": "SELECT ?var1Label ( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P140> <http://www.wikidata.org/entity/Q16970> . ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var3 <http://www.wikidata.org/prop/direct/P734> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } } GROUP BY ?var1Label ORDER BY DESC( ?var2 ) LIMIT 28"}}
{"id": "test_2649", "question": "Dutch creators who died in 1953", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?occupationLabel ?image WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P106 ?occupation .\n  ?occupation wdt:P279 * wd:Q2500638 .\n  ?person wdt:P27 wd:Q29999 .\n  ?person wdt:P570 ?deathDate .\n  FILTER ( YEAR( ?deathDate ) = ( YEAR( NOW () ) - 71 ) ) OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n  ?person rdfs:label ?personLabel .\n  ?occupation rdfs:label ?occupationLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) FILTER ( LANG( ?occupationLabel ) = \"en\" )\n}\nORDER BY ASC ( ?personLabel )", "paraphrases": ["Who were the Dutch people with creative occupations that died 71 years ago?", "List the names and occupations of Dutch artists, writers, and designers who died in 1953, along with their images if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q2500638> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q29999> . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl\". } FILTER ( ( ( YEAR ( ?var4 ) = ( YEAR ( NOW ( ) ) -\"71\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_2650", "question": "Which Wikidata items have Twitter usernames \"10705013\", \"rguha\", or \"the_cdk\"?", "sparql": "SELECT ?item ?twitterUsername WHERE { ?item wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"10705013\" \"PetkoSi\" \"drob\" \"pubchem\" \"rguha\" \"the_cdk\" } }", "paraphrases": ["Who are the people or organizations on Wikidata that use the Twitter handles \"10705013\", \"rguha\", and \"the_cdk\"?", "Find the Wikidata entries for the Twitter accounts @10705013, @rguha, and @the_cdk (without the @ symbol)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"10705013\" ) ( \"PetkoSi\" ) ( \"string1\" ) ( \"drob\" ) ( \"chupvl\" ) ( \"pubchem\" ) ( \"string2\" ) ( \"string3\" ) ( \"isatools\" ) ( \"string4\" ) ( \"rguha\" ) ( \"the_cdk\" ) ( \"baoilleach\" ) ( \"string5\" ) ( \"string6\" ) ( \"jwmay\" ) } }"}}
{"id": "test_2651", "question": "Belgian visual artists who died in 1947.", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person ?personLabel WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person ( wdt:P106 / wdt:P279 * ) wd:Q3391743 .\n  ?person ( wdt:P27 | wdt:P495 ) wd:Q31 .\n  ?person wdt:P570 ?deathDate .\n  FILTER ( ?deathDate >= \"1947-01-01T00:00:00Z\" ^^ xsd:dateTime && ?deathDate <= \"1948-01-01T00:00:00Z\" ^^ xsd:dateTime ) .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}", "paraphrases": ["Who were the Belgian visual artists that died between January 1, 1947, and January 1, 1948?", "List the English names of all human visual artists from Belgium (by citizenship or origin) who died in the year 1947."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3391743> . ?var1 ( <http://www.wikidata.org/prop/direct/P27> | <http://www.wikidata.org/prop/direct/P495> ) <http://www.wikidata.org/entity/Q31> . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } FILTER ( ( ( ?var3 >= \"1947-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var3 <= \"1948-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_2652", "question": "English and German Wikipedia pages for the movie with IMDb ID tt0056943", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?page WHERE {\n  VALUES ?imdb_id {\n    \"tt0056943\"\n  }\n  ?item wdt:P345 ?imdb_id .\n  ?page schema:about ?item .\n  ?page schema:inLanguage ?lang .\n  VALUES ?lang {\n    \"en\" \"de\"\n  }\n}", "paraphrases": ["What are the English and German language Wikipedia or Wikiquote pages about the movie \"The Comedy of Terrors\"?", "Show me the English and German language pages linked to the movie with IMDb identifier tt0056943."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0056943\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2653", "question": "Paintings that are claimed to be the same as other artworks and their associated qualifiers.", "sparql": "SELECT ?item ?statement (SAMPLE(?qualifierProperty) AS ?qualifier) WHERE { ?item p:P460 ?statement . ?statement ps:P460 wd:Q3305213 . OPTIONAL { ?statement ?qualifierProperty ?qualifierValue . ?qualifierProperty wikibase:qualifierOf p:P460 . } } GROUP BY ?item ?statement LIMIT 101", "paraphrases": ["Which paintings are said to be the same as other artworks, and what additional information (like sources or confidence levels) is provided for those claims?", "List artworks identified as potentially identical to paintings, along with any qualifiers attached to those identity statements."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P460> <http://www.wikidata.org/entity/Q3305213> . ?var1 <http://www.wikidata.org/prop/P460> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_2654", "question": "Places with Hebrew labels whose associated people categories lack Hebrew labels.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?place ?category WHERE {\n  ?place wdt:P1792 ?category .\n  ?place rdfs:label ?placeLabel .\n  FILTER(LANG(?placeLabel) = \"he\")\n  OPTIONAL {\n    ?category rdfs:label ?categoryLabel .\n    FILTER(LANG(?categoryLabel) = \"he\")\n  }\n  FILTER(! BOUND(?categoryLabel))\n}", "paraphrases": ["Which places have Hebrew-language labels but are linked to Wikimedia categories of associated people that do not have Hebrew labels?", "List all places labeled in Hebrew that are associated with categories of people, but where those categories are not labeled in Hebrew."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1792> ?var2 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"he\" ) ) ) . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"he\" ) ) ) . } FILTER ( ( !( BOUND ( ?var2Label ) ) ) ) . }"}}
{"id": "test_2655", "question": "Humans whose occupation is a cryptographer or a subclass of cryptographer.", "sparql": "SELECT DISTINCT ?human WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P106 ?occupation . ?occupation wdt:P279* wd:Q15442776 . } LIMIT 500", "paraphrases": ["Who are the humans that work as cryptographers or in related cryptographic professions?", "List all people whose profession is classified as a cryptographer or any subcategory of cryptographer."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var2 . ?var2 ( <http://www.wikidata.org/prop/direct/P279> | <http://www.wikidata.org/prop/direct/P131> )* <http://www.wikidata.org/entity/Q15442776> . } LIMIT 500"}}
{"id": "test_2656", "question": "English and German Wikipedia pages for the movie with IMDb ID tt0110057", "sparql": "SELECT ?movie ?wikipedia_page WHERE { VALUES ?imdb_id { \"tt0110057\" } ?movie wdt:P345 ?imdb_id . ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["What are the English and German Wikipedia articles about the movie \"Hoop Dreams\"?", "Show me the Wikipedia pages in English and German about the film identified by IMDb ID tt0110057."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0110057\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2657", "question": "What are the names of Abel and his parents in English?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?abelLabel ?fatherLabel ?motherLabel WHERE {\n  wd:Q313421 rdfs:label ?abelLabel .\n  OPTIONAL {\n    wd:Q313421 wdt:P22 ?father .\n    ?father rdfs:label ?fatherLabel .\n    FILTER(LANG(?fatherLabel) = \"en\")\n  }\n  OPTIONAL {\n    wd:Q313421 wdt:P25 ?mother .\n    ?mother rdfs:label ?motherLabel .\n    FILTER(LANG(?motherLabel) = \"en\")\n  }\n  FILTER(LANG(?abelLabel) = \"en\")\n}\nLIMIT 10", "paraphrases": ["Who are Abel\u2019s father and mother, and what is his name, according to Wikidata?", "Can you tell me the English labels for Abel, his father Adam, and his mother Eve?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { <http://www.wikidata.org/entity/Q313421> <http://www.w3.org/2000/01/rdf-schema#label> ?var8 . OPTIONAL { <http://www.wikidata.org/entity/Q313421> <http://www.wikidata.org/prop/direct/P19> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q313421> <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q313421> <http://www.wikidata.org/prop/direct/P570> ?var4 . OPTIONAL { <http://www.wikidata.org/entity/Q313421> <http://www.wikidata.org/prop/direct/P509> ?var9 . ?var9 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . } } OPTIONAL { <http://www.wikidata.org/entity/Q313421> <http://www.wikidata.org/prop/direct/P22> ?var10 . ?var10 <http://www.w3.org/2000/01/rdf-schema#label> ?var6 . FILTER ( ( ( LANG ( ?var6 ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q313421> <http://www.wikidata.org/prop/direct/P25> ?var11 . ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var7 . FILTER ( ( ( LANG ( ?var7 ) = \"en\" ) ) ) . } FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10"}}
{"id": "test_2658", "question": "Which Wikidata items have the Twitter handles 'lsailliet' or 'RTLFrance'?", "sparql": "SELECT ?item ?twitterHandle WHERE { ?item wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { \"lsailliet\" \"RTLFrance\" } } ORDER BY ?item", "paraphrases": ["Who are the people or organizations on Wikidata that use the Twitter accounts @lsailliet and @RTLFrance?", "Show me the Wikidata entities linked to the Twitter usernames 'lsailliet' and 'RTLFrance'."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"lsailliet\" ) ( \"string6\" ) ( \"string7\" ) ( \"RTLFrance\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) ( \"string13\" ) ( \"bendarag\" ) ( \"string14\" ) ( \"string15\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2659", "question": "Which Wikidata entities are associated with the Twitter usernames BFMTV, franceinfo, Senat, N_Hulot, and yjadot?", "sparql": "SELECT ?item ?username WHERE { VALUES ?username { \"BFMTV\" \"franceinfo\" \"Senat\" \"N_Hulot\" \"yjadot\" } ?item wdt:P2002 ?username . }", "paraphrases": ["Who or what organizations on Wikidata have the Twitter handles @BFMTV, @franceinfo, @Senat, @N_Hulot, and @yjadot?", "List the Wikidata items that have the following Twitter usernames: BFMTV, franceinfo, Senat, N_Hulot, and yjadot. (Note: Twitter usernames do not include the @ symbol.)"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"Actuenviro\" ) ( \"string2\" ) ( \"KickAsthme\" ) ( \"leboncoin\" ) ( \"50euros\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"AnneLaunay\" ) ( \"yjadot\" ) ( \"string6\" ) ( \"string7\" ) ( \"Eodane\" ) ( \"rouelib\" ) ( \"string8\" ) ( \"BFMTV\" ) ( \"franceinfo\" ) ( \"Senat\" ) ( \"string9\" ) ( \"string10\" ) ( \"N_Hulot\" ) ( \"BikeGaga\" ) ( \"RJouary\" ) ( \"LCAParis\" ) } }"}}
{"id": "test_2660", "question": "Is Harry Potter classified as software?", "sparql": "ASK WHERE { wd:Q8337 (wdt:P31/wdt:P279*) wd:Q7397 . }", "paraphrases": ["Is the Harry Potter series a kind of software?", "Confirm whether the Harry Potter book series falls under the category of software."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q8337> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_2661", "question": "Cemeteries in Sweden with images", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?cemetery ?label ?image WHERE {\n  ?cemetery wdt:P31 wd:Q39614 .\n  ?cemetery wdt:P17 wd:Q34 .\n  ?cemetery rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    ?cemetery wdt:P18 ?image .\n  }\n}\nLIMIT 1000", "paraphrases": ["What are the cemeteries in Sweden, and do they have images available on Wikimedia Commons?", "List all cemeteries in Sweden along with their English names and any associated images."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q39614> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q34> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 1000"}}
{"id": "test_2662", "question": "Which Wikidata items have Twitter usernames ash_crow, mapillary, AdobeXD, or Walmart?", "sparql": "SELECT ?item ?twitterUsername WHERE { ?item wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"ash_crow\" \"mapillary\" \"AdobeXD\" \"Walmart\" } } ORDER BY ?twitterUsername", "paraphrases": ["What entities on Wikidata are associated with the Twitter accounts \"ash_crow\", \"mapillary\", \"AdobeXD\", and \"Walmart\"?", "List the Wikidata items that have the Twitter handles \"ash_crow\", \"mapillary\", \"AdobeXD\", and \"Walmart\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"ash_crow\" ) ( \"PoulpyWP\" ) ( \"string1\" ) ( \"mapillary\" ) ( \"OSM_FR\" ) ( \"rdgicquel\" ) ( \"string2\" ) ( \"Patafisik\" ) ( \"Gwaradenn\" ) ( \"largow\" ) ( \"aeris22\" ) ( \"nitot\" ) ( \"string3\" ) ( \"osm_bzh\" ) ( \"AnDrouizig\" ) ( \"string4\" ) ( \"AdobeXD\" ) ( \"string5\" ) ( \"geekezig\" ) ( \"Tornoz\" ) ( \"yv_pic\" ) ( \"string6\" ) ( \"noniq\" ) ( \"string7\" ) ( \"aurelianeb\" ) ( \"string8\" ) ( \"string9\" ) ( \"Pyb75\" ) ( \"fagerving\" ) ( \"qffwffq\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) ( \"beetlesbot\" ) ( \"string13\" ) ( \"libe\" ) ( \"string14\" ) ( \"string15\" ) ( \"OllyPlumx\" ) ( \"string16\" ) ( \"Bleeptrack\" ) ( \"rgaroby\" ) ( \"string17\" ) ( \"Walmart\" ) ( \"scailyna\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2663", "question": "Top 100 Bulgarian citizens with the most Wikipedia articles, excluding those with Nynorsk Wikipedia pages.", "sparql": "SELECT ?person ?personLabel ( COUNT( DISTINCT ?wikiPage ) AS ?articleCount ) WHERE { ?person wdt:P27 wd:Q219 . ?wikiPage schema:about ?person . FILTER NOT EXISTS { ?nynorskPage schema:about ?person . ?nynorskPage schema:isPartOf <https://nn.wikipedia.org/> . } ?person rdfs:label ?personLabel . FILTER ( lang(?personLabel) = \"en\" ) } GROUP BY ?person ?personLabel ORDER BY DESC ( ?articleCount ) LIMIT 100", "paraphrases": ["Who are the Bulgarian citizens with the highest number of Wikipedia articles about them, excluding those who have a page on the Norwegian Nynorsk Wikipedia?", "List the 100 Bulgarian citizens with the most Wikipedia articles, making sure to exclude anyone who has a Wikipedia page in Nynorsk Norwegian, and show their names and article counts."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( COUNT ( DISTINCT ?var3 ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q219> . ?var3 <http://schema.org/about> ?var1 . OPTIONAL { ?var5 <http://schema.org/about> ?var1 . ?var5 <http://schema.org/isPartOf> <https://nn.wikipedia.org/> . } FILTER ( ( !( BOUND ( ?var5 ) ) ) ) . } GROUP BY ?var1 ?var2 ORDER BY DESC( ?var4 ) LIMIT 100"}}
{"id": "test_2664", "question": "YouTube official website, what Wikipedia and Wikinews pages are about it in English or German?", "sparql": "SELECT ?entity ?entityLabel ?wikiPage WHERE { ?entity wdt:P856 <https://www.youtube.com/> . ?wikiPage schema:about ?entity ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") . ?entity rdfs:label ?entityLabel . FILTER(LANG(?entityLabel) = \"en\") }", "paraphrases": ["Which English and German-language Wikimedia pages discuss YouTube, given its official website is https://www.youtube.com/?", "Show me all English and German Wikipedia, Wikinews, and other Wikimedia pages that are about YouTube, using its official website URL."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.youtube.com/channel/UCT4D_HqsqnveAGtME7juU3A/videos> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://youtube.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2665", "question": "What are Google\u2019s country, industry, X (Twitter) accounts, image, Commons gallery, and Simple Wikipedia page in French, English, and German?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?label ?country ?industry ?twitter ?image ?gallery ?simpleWiki WHERE {\n  BIND(wd:Q95 AS ?google)\n  .\n  ?google rdfs:label ?label .\n  FILTER(LANG(?label) IN(\"fr\" , \"en\" , \"de\"))\n  .\n  OPTIONAL {\n    ?google wdt:P17 ?country .\n  }\n  OPTIONAL {\n    ?google wdt:P452 ?industry .\n  }\n  OPTIONAL {\n    ?google wdt:P2002 ?twitter .\n  }\n  OPTIONAL {\n    ?google wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?google wdt:P935 ?gallery .\n  }\n  OPTIONAL {\n    ?simpleWiki schema:about ?google ; schema:isPartOf <https://simple.wikipedia.org/> .\n  }\n}", "paraphrases": ["Show me Google\u2019s details \u2014 including its Twitter handles and industry \u2014 in French, English, and German, along with its official image and Simple Wikipedia link.", "List all X (Twitter) usernames for Google, along with its country, industry, image, and Simple Wikipedia page, for each of its labels in French, English, and German."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2Label ( LANG ( ?var2Label ) AS ?var3 ) ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 WHERE { BIND ( <http://www.wikidata.org/entity/Q95> AS ?var1 ). ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . OPTIONAL { ?var1 <http://schema.org/description> ?var12 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P452> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P154> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P935> ?var7 . } OPTIONAL { ?var11 <http://schema.org/about> ?var1 . ?var11 <http://schema.org/isPartOf> <https://simple.wikipedia.org/> . } OPTIONAL { ?var13 <http://schema.org/about> ?var1 . ?var13 <http://schema.org/isPartOf> <https://simple.wikipedia.org/> . } FILTER ( ( ( LANG ( ?var2Label ) = \"fr\" ) || ( LANG ( ?var2Label ) = \"en\" ) || ( LANG ( ?var2Label ) = \"de\" ) ) ) . }"}}
{"id": "test_2666", "question": "What types of organizations is the Bank of Italy an instance of?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?instanceType WHERE {\n  wd:Q806176 wdt:P31 ?instanceType .\n}", "paraphrases": ["What categories does the Bank of Italy belong to in Wikidata?", "Is the Bank of Italy classified as a bank, a business, or a central bank?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q806176> <http://www.wikidata.org/entity/P31> ?var1 . }"}}
{"id": "test_2667", "question": "What is the image associated with Hamilton Fish III in Wikidata?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6fb54tm\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Can you show me the Wikimedia Commons image for the person with SNAC ARK ID w6fb54tm?", "Show the photo of the individual identified by the SNAC ARK ID w6fb54tm."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6fb54tm\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2668", "question": "Female German computer scientists", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P106 wd:Q82594 . ?person wdt:P21 wd:Q6581072 . ?person wdt:P27 wd:Q183 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["Who are the female computer scientists from Germany?", "List the names of women who are computer scientists and citizens of Germany."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82594> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q183> . ?var1 <http://www.wikidata.org/prop/direct/P108> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2669", "question": "Authors of articles in Fornv\u00e4nnen and their genders.", "sparql": "SELECT ?author ?authorLabel ?genderLabel WHERE { ?work wdt:P1433 wd:Q4162197 . ?work wdt:P50 ?author . OPTIONAL { ?author wdt:P21 ?gender . ?gender rdfs:label ?genderLabel . FILTER(LANG(?genderLabel) = \"en\") } ?author rdfs:label ?authorLabel . FILTER(LANG(?authorLabel) = \"en\") }", "paraphrases": ["Who wrote articles for the Swedish academic journal Fornv\u00e4nnen, and what are their genders?", "List the authors of works published in Fornv\u00e4nnen along with their sex or gender identity."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { ?var3 <http://www.wikidata.org/prop/direct/P1433> <http://www.wikidata.org/entity/Q4162197> . ?var3 <http://www.wikidata.org/prop/direct/P50> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv\". } }"}}
{"id": "test_2670", "question": "Cooperative banks without a legal form", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?bank ?bankLabel WHERE {\n  ?bank wdt:P31 wd:Q3277997 . MINUS {\n    ?bank p:P1454 [] .\n  }\n  ?bank rdfs:label ?bankLabel .\n  FILTER(LANG(?bankLabel) = \"en\")\n}", "paraphrases": ["Which cooperative banks do not have a specified legal structure?", "List the names of cooperative banks that are not classified under any legal form."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3277997> . MINUS { ?var1 <http://www.wikidata.org/prop/P1454> [] . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es, nl, en, de, fr, pl, it, eo\". } }"}}
{"id": "test_2671", "question": "Who are the computer scientists and what is their gender?", "sparql": "SELECT ?person ?personLabel ?gender WHERE { ?person wdt:P106 wd:Q82594 . ?person wdt:P21 ?gender . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["List computer scientists along with their sex or gender.", "Can you show me a list of people whose occupation is computer scientist, including their names and whether they are male or female?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82594> . ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2672", "question": "Which Wikidata items have Twitter usernames AlexMENINI, lakafia, MacSekou, or slimrab89?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterUsername WHERE {\n  ?item wdt:P2002 ?twitterUsername .\n  FILTER(?twitterUsername IN(\"AlexMENINI\" , \"lakafia\" , \"MacSekou\" , \"slimrab89\"))\n}", "paraphrases": ["Who are the people on Wikidata with the Twitter handles @AlexMENINI, @lakafia, @MacSekou, and @slimrab89?", "List the Wikidata entities associated with the Twitter usernames AlexMENINI, lakafia, MacSekou, and slimrab89."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"gurthro\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"doumgeof\" ) ( \"string11\" ) ( \"string12\" ) ( \"string13\" ) ( \"slimrab89\" ) ( \"string14\" ) ( \"string15\" ) ( \"AlexMENINI\" ) ( \"MacSekou\" ) ( \"string16\" ) ( \"string17\" ) ( \"Libe75\" ) ( \"string18\" ) ( \"lakafia\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2673", "question": "Artworks stolen in art theft incidents and their images on Wikimedia Commons.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?artwork ?artworkLabel ?image WHERE {\n  ?artwork wdt:P793 wd:Q1756454 ; wdt:P18 ?image .\n  ?artwork rdfs:label ?artworkLabel .\n  FILTER(LANG(?artworkLabel) = \"en\")\n}", "paraphrases": ["Which paintings and artworks have been stolen in art thefts, and what do they look like?", "Show me images of artworks that were victims of art theft, along with their titles."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P793> <http://www.wikidata.org/entity/Q1756454> ; <http://www.wikidata.org/prop/direct/P18> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } }"}}
{"id": "test_2674", "question": "What properties are used to indicate someone is a designer in Wikidata, excluding \"instance of\"?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT DISTINCT ?property WHERE {\n  ?item ?statementProperty wd:Q5322166 .\n  ?property wikibase:statementProperty ?statementProperty .\n  FILTER(?property != wd:P31)\n}", "paraphrases": ["Which properties, other than \"instance of\", have been used to assign the profession of designer to entities in Wikidata?", "List all properties in Wikidata that link people to the profession of designer, but not including the \"instance of\" property."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 ?var3 <http://www.wikidata.org/entity/Q5322166> . ?var1 <http://wikiba.se/ontology#statementProperty> ?var3 . FILTER ( ( ( ?var1 != <http://www.wikidata.org/entity/P31> ) ) ) . }"}}
{"id": "test_2675", "question": "List all paintings in Wikidata.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?painting WHERE {\n  ?painting wdt:P31 wd:Q3305213 .\n}", "paraphrases": ["What are all the paintings documented in Wikidata?", "Show me every entity classified as a painting in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://dbpedia.org/resource/Sernalhe/sandbox> <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . }"}}
{"id": "test_2676", "question": "List cooperatives and their images from Wikidata.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?cooperative ?cooperativeLabel ( SAMPLE( ?image ) AS ?sampledImage ) WHERE {\n  ?cooperative ( wdt:P31 / wdt:P279 * ) wd:Q4539 .\n  OPTIONAL {\n    ?cooperative wdt:P18 ?image .\n  }\n  ?cooperative rdfs:label ?cooperativeLabel .\n  FILTER ( LANG( ?cooperativeLabel ) = \"en\" )\n}\nGROUP BY ?cooperative ?cooperativeLabel", "paraphrases": ["What are the English-labeled cooperatives and their associated images on Wikimedia Commons, with one image per cooperative if multiple exist?", "Show me a list of cooperatives (including their subclasses) with their English names and one representative image each, if available."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q4539> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en, de, es, fr, it\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { } OPTIONAL { } } GROUP BY ?var1 ?var1Label ?var3"}}
{"id": "test_2677", "question": "Image of Nora Perry with SNAC ARK ID w6pz6h8r", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6pz6h8r\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6pz6h8r?", "Show me the Wikimedia Commons image for the entity identified by SNAC ARK ID w6pz6h8r."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6pz6h8r\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2678", "question": "List top businesses with their CEOs, total revenue, and CEO age.", "sparql": "SELECT DISTINCT ?businessLabel ?ceoLabel ?revenue ?age WHERE { ?business wdt:P31 wd:Q4830453 . ?business wdt:P169 ?ceo . ?business wdt:P2139 ?revenue . ?ceo wdt:P569 ?birthDate . ?business rdfs:label ?businessLabel . ?ceo rdfs:label ?ceoLabel . FILTER(LANG(?businessLabel) = \"en\") FILTER(LANG(?ceoLabel) = \"en\") BIND(YEAR(NOW()) - YEAR(?birthDate) AS ?age) } LIMIT 10", "paraphrases": ["What are the names of businesses, their CEOs, total revenues, and how old are those CEOs?", "Show me a list of businesses, their chief executives, annual revenue, and the age of each CEO, all in English."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4830453> . ?var1 <http://www.wikidata.org/prop/direct/P169> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } BIND ( ( YEAR ( NOW ( ) ) - YEAR ( ?var5 ) ) AS ?var4 ). ?var1 <http://www.wikidata.org/prop/direct/P2139> ?var3 . ?var2 <http://www.wikidata.org/prop/direct/P569> ?var5 . } LIMIT 10"}}
{"id": "test_2679", "question": "Female writers and their dates of birth", "sparql": "SELECT DISTINCT ?writer (SAMPLE(?label) AS ?writerLabel) ?dateOfBirth WHERE { ?writer wdt:P31 wd:Q5 . ?writer wdt:P21 wd:Q6581072 . ?writer (wdt:P106/wdt:P279*) wd:Q36180 . OPTIONAL { ?writer wdt:P569 ?dateOfBirth . } OPTIONAL { ?writer rdfs:label ?label . } } GROUP BY ?writer ?dateOfBirth LIMIT 500", "paraphrases": ["Who are some female writers, and when were they born?", "List up to 500 female humans whose occupation is writer or a subclass of writer, along with their labels and birth dates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q36180> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } } LIMIT 500"}}
{"id": "test_2680", "question": "German organizations in Germany with their inception date, legal form, headquarters, and official website.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?organization ?organizationLabel ?inception ?legalFormLabel ?headquartersLabel ?website WHERE {\n  ?organization(wdt:P31 / wdt:P279 *) wd:Q43229 .\n  ?organization wdt:P17 wd:Q183 .\n  ?organization rdfs:label ?organizationLabel .\n  FILTER(LANG(?organizationLabel) = \"de\")\n  OPTIONAL {\n    ?organization wdt:P571 ?inception .\n  }\n  OPTIONAL {\n    ?organization wdt:P1454 ?legalForm .\n    ?legalForm rdfs:label ?legalFormLabel .\n    FILTER(LANG(?legalFormLabel) = \"de\")\n  }\n  OPTIONAL {\n    ?organization wdt:P159 ?headquarters .\n    ?headquarters rdfs:label ?headquartersLabel .\n    FILTER(LANG(?headquartersLabel) = \"de\")\n  }\n  OPTIONAL {\n    ?organization wdt:P856 ?website .\n  }\n}\nLIMIT 100000", "paraphrases": ["What are German-labeled organizations located in Germany, and what are their inception dates, legal forms, headquarters, and official websites?", "List German organizations in Germany along with their optional details: when they were founded, their legal structure, where their headquarters are, and their official websites \u2014 all labels in German."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label ?var4Label ?var5Label ?var6 ?var7Label ?var8Label ?var9 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q43229> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1454> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P159> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . } FILTER ( ( ( LANG ( ?var2Label ) = \"de\" ) ) ) . } LIMIT 100000"}}
{"id": "test_2681", "question": "Russian-language labels of fashion designers sorted by Wikidata ID number", "sparql": "SELECT ?person ?label WHERE { ?person wdt:P106 wd:Q3501317 . ?person rdfs:label ?label . FILTER(LANG(?label) = \"ru\") BIND(xsd:integer(SUBSTR(STR(?person), 34)) AS ?numericId) } ORDER BY ASC(?numericId)", "paraphrases": ["Who are the fashion designers with Russian-language labels, ordered by their Wikidata ID numbers?", "Show me the Russian names of all fashion designers, sorted from lowest to highest Wikidata ID."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { BIND ( <http://www.w3.org/2001/XMLSchema#integer> ( SUBSTR ( STR ( ?var1 ) ,\"33\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var2 ). ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q3501317> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"ru\" ) ) ) . } ORDER BY ASC( ?var2 )"}}
{"id": "test_2682", "question": "What is the X (Twitter) username for Wikidata?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"wikidata\" } }", "paraphrases": ["Which entity on Wikidata has the Twitter handle 'wikidata'?", "Show me the Wikidata item that uses 'wikidata' as its X (formerly Twitter) username."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"Wikidata\" ) } }"}}
{"id": "test_2683", "question": "Businesses and companies in China and their locations", "sparql": "SELECT DISTINCT ?organization ?organizationLabel ?location ?locationLabel WHERE { { ?organization (wdt:P31/wdt:P279*) wd:Q4830453 ; wdt:P17 wd:Q148 . } UNION { ?organization (wdt:P31/wdt:P279*) wd:Q783794 ; wdt:P17 wd:Q148 . } ?organization (wdt:P159 | wdt:P740 | wdt:P131) ?location . OPTIONAL { ?organization rdfs:label ?organizationLabel . FILTER(LANG(?organizationLabel) = \"en\") } OPTIONAL { ?location rdfs:label ?locationLabel . FILTER(LANG(?locationLabel) = \"en\") } }", "paraphrases": ["What are some companies based in China, and where are they headquartered or located?", "List organizations in China along with the cities where they are headquartered, formed, or administratively located."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label WHERE { { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q4830453> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q148> . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q783794> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q148> . } ?var1 ( <http://www.wikidata.org/prop/direct/P159> | <http://www.wikidata.org/prop/direct/P969> | <http://www.wikidata.org/prop/direct/P740> | <http://www.wikidata.org/prop/direct/P131> ) ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"zh-hans,zh-cn,zh\". } }"}}
{"id": "test_2684", "question": "What is the Chinese Wikipedia page for Mark Zuckerberg?", "sparql": "SELECT ?person ?personLabel ?wikipediaPage WHERE { ?person rdfs:label \"\u9a6c\u514b\u00b7\u624e\u514b\u4f2f\u683c\"@zh-cn ; wdt:P31 wd:Q5 . BIND(\"\u9a6c\u514b\u00b7\u624e\u514b\u4f2f\u683c\"@zh-cn AS ?personLabel) OPTIONAL { ?wikipediaPage schema:about ?person ; schema:isPartOf <https://zh.wikipedia.org/> . } }", "paraphrases": ["Which Chinese Wikipedia article is about Mark Zuckerberg, the human?", "Show me the Chinese Wikipedia link for Mark Zuckerberg, along with his Chinese name."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"\u9a6c\u514b\u00b7\u624e\u514b\u4f2f\u683c\"@zh-cn ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/isPartOf> <https://zh.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"zh-tw\". } } LIMIT 10"}}
{"id": "test_2685", "question": "List banks with their official websites and geographic coordinates.", "sparql": "SELECT ?bank ?bankLabel ?coordinates ?website WHERE { ?bank wdt:P31 wd:Q22687 . OPTIONAL { ?bank wdt:P625 ?coordinates . } OPTIONAL { ?bank wdt:P856 ?website . } ?bank rdfs:label ?bankLabel . FILTER(LANG(?bankLabel) = \"en\") }", "paraphrases": ["What are the names, official websites, and coordinates of all banks in Wikidata?", "Show me the English names of all banks, along with their official websites and geographic locations if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q22687> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . } }"}}
{"id": "test_2686", "question": "Top 100 companies with the largest losses (lowest net profit)", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?businessLabel ?business ?netProfit WHERE {\n  ?business wdt:P31 wd:Q4830453 .\n  ?business wdt:P2295 ?netProfit .\n  ?business rdfs:label ?businessLabel .\n  FILTER(LANG(?businessLabel) = \"en\")\n}\nORDER BY ASC(?netProfit)\nLIMIT 100", "paraphrases": ["Which businesses had the worst net profits in the last reported year, ordered from most negative to least?", "List the 100 companies with the biggest net losses, along with their names and profit figures."], "info": {"raw_sparql": "SELECT ?var1Label ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4830453> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P2295> ?var2 . } ORDER BY ASC( ?var2 ) LIMIT 100"}}
{"id": "test_2687", "question": "Who is the current CEO of ExxonMobil, and who are the CEOs of companies they lead?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?var1 ?var1Label ?var2 WHERE {\n  {\n    wd:Q156238 wdt:P169 ?var1 .\n    OPTIONAL {\n      ?var1 wdt:P169 ?var2 .\n    }\n    ?var1 rdfs:label ?var1Label .\n    FILTER ( LANG( ?var1Label ) = \"en\" )\n  } UNION {\n    wd:Q156238 wdt:P169 ?temp1 .\n    ?temp1 wdt:P169 ?var1 .\n    OPTIONAL {\n      ?var1 wdt:P169 ?var2 .\n    }\n    ?var1 rdfs:label ?var1Label .\n    FILTER ( LANG( ?var1Label ) = \"en\" )\n  } UNION {\n    wd:Q156238 wdt:P169 ?temp1 .\n    ?temp1 wdt:P169 ?temp2 .\n    ?temp2 wdt:P169 ?var1 .\n    OPTIONAL {\n      ?var1 wdt:P169 ?var2 .\n    }\n    ?var1 rdfs:label ?var1Label .\n    FILTER ( LANG( ?var1Label ) = \"en\" )\n  }\n}", "paraphrases": ["Find people connected to ExxonMobil\u2019s CEO through CEO relationships up to three levels deep.", "List the chief executive officers of ExxonMobil and their connections in the corporate leadership network."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q156238> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Undirected\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P169> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P169> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2688", "question": "What are the English Wikipedia articles about entities owned by The Walt Disney Company, along with their official websites and types?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?itemLabel ?wikipediaArticle ?officialWebsite ?instanceOf WHERE {\n  ?item wdt:P127 wd:Q7414 .\n  ?wikipediaArticle schema:about ?item ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n  OPTIONAL {\n    ?item wdt:P856 ?officialWebsite .\n  }\n  OPTIONAL {\n    ?item wdt:P31 ?instanceOf .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["List the names of companies and characters owned by Disney that have English Wikipedia pages, including their official websites and what kind of things they are (e.g., film studio, character).", "Show me the English Wikipedia links, official websites, and classifications of all subsidiaries and brands owned by The Walt Disney Company."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P127> <http://www.wikidata.org/entity/Q21178822> . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"en\". ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P127> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2689", "question": "Image of the person with SNAC ARK ID w67d3fz6", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w67d3fz6\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w67d3fz6?", "Can you show me the Wikimedia Commons image of the individual identified by the SNAC ARK ID w67d3fz6?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w67d3fz6\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2690", "question": "What are the subsidiaries and characters owned by The Walt Disney Company, along with their English Wikipedia pages, official websites, and types?", "sparql": "SELECT ?company ?companyLabel ?wikipediaPage ?website ?instance WHERE { ?company wdt:P127 wd:Q7414 . ?wikipediaPage schema:about ?company ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> . OPTIONAL { ?company wdt:P856 ?website . } OPTIONAL { ?company wdt:P31 ?instance . } }", "paraphrases": ["Can you list the English Wikipedia articles for all entities owned by Disney, including their websites and what kind of things they are (like movies, characters, or studios)?", "Show me the official websites and classifications of all companies and characters owned by The Walt Disney Company, linked to their English Wikipedia pages."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P127> <http://www.wikidata.org/entity/Q2516155> . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"en\". ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P127> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2691", "question": "What are the official names of the Finnish Film Foundation in different languages, along with its image and Wikipedia page?", "sparql": "SELECT ?label ?image ?coordinates ?wikipediaArticle WHERE {\n  OPTIONAL {\n    wd:Q5450772 rdfs:label ?label .\n    FILTER (LANG(?label) = ?lang)\n    VALUES (?lang ?sortKey) {\n      (\"en\" 1) (\"de\" 2) (\"fr\" 3) (\"it\" 4)\n    }\n  }\n  OPTIONAL {\n    wd:Q5450772 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q5450772 wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    ?wikipediaArticle rdf:type schema:Article ;\n                    schema:about wd:Q5450772 ;\n                    schema:inLanguage \"en\" ;\n                    schema:isPartOf <https://en.wikipedia.org/> .\n  }\n}\nORDER BY ASC ( ?sortKey )", "paraphrases": ["Show me the English and French labels for the Finnish Film Foundation, its image on Wikimedia Commons, and its English Wikipedia article.", "Can you provide the multilingual labels, image, and Wikipedia link for the Finnish Film Foundation, ordered by language preference (English first)?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q5450772> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var5 ) ) ) . VALUES ( ?var5 ?var6 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q5450772> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q5450772> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q5450772> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var6 )"}}
{"id": "test_2692", "question": "What is the German Wikipedia page for the film with IMDb ID tt5346890?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipedia_page WHERE {\n  ?item wdt:P345 \"tt5346890\" .\n  ?wikipedia_page schema:about ?item .\n  {\n    ?wikipedia_page schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipedia_page schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Find Wikipedia articles in English or German about the movie identified by IMDb ID tt5346890.", "Show me the Wikipedia pages related to the film with IMDb identifier tt5346890, specifically those in English or German languages."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5346890\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2693", "question": "Organizations with revenue and employee count from different years, and their revenue per employee.", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?org ?orgLabel ?revenue ?employees ?revenueYear ?employeesYear ( ( xsd:float ( ?revenue ) / xsd:float ( ?employees ) ) AS ?revenuePerEmployee ) WHERE {\n  ?org p:P2139 ?revenueStmt .\n  ?revenueStmt ps:P2139 ?revenue .\n  ?revenueStmt pq:P585 ?revenueYear .\n  ?org p:P1128 ?employeesStmt .\n  ?employeesStmt ps:P1128 ?employees .\n  ?employeesStmt pq:P585 ?employeesYear .\n  FILTER ( ?revenueYear != ?employeesYear ) .\n  ?org rdfs:label ?orgLabel .\n  FILTER ( LANG( ?orgLabel ) = \"en\" )\n}\nORDER BY ?org ?revenueYear", "paraphrases": ["Which organizations have reported revenue and employee numbers from different years, and what is their revenue per employee in those cases?", "Show me the revenue, number of employees, and revenue per employee for organizations where the revenue year and employee count year do not match."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ( ( <http://www.w3.org/2001/XMLSchema#float> ( ?var2 ) / <http://www.w3.org/2001/XMLSchema#float> ( ?var3 ) ) AS ?var5 ) ?var6 ?var7 ?var8 ?var9 WHERE { BIND ( YEAR ( ?var7 ) AS ?var9 ). BIND ( YEAR ( ?var6 ) AS ?var8 ). ?var1 <http://www.wikidata.org/prop/direct/P1128> ?var3 . ?var1 <http://www.wikidata.org/prop/P1128> ?var10 . ?var10 <http://www.wikidata.org/prop/statement/P1128> ?var4 . ?var10 <http://www.wikidata.org/prop/qualifier/P585> ?var7 . ?var1 <http://www.wikidata.org/prop/P2139> ?var11 . ?var11 <http://www.wikidata.org/prop/statement/P2139> ?var2 . ?var11 <http://www.wikidata.org/prop/qualifier/P585> ?var6 . FILTER ( ( ( ?var8 != ?var9 ) ) ) . }"}}
{"id": "test_2694", "question": "People with occupations related to fashion", "sparql": "SELECT ?person ?personLabel WHERE { ?person (wdt:P101|wdt:P106) ?occupation . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = \"en\") FILTER(CONTAINS(LCASE(?occupationLabel), \"fashion\")) } LIMIT 10", "paraphrases": ["Who are people whose job or field of work involves fashion?", "List individuals whose occupation or area of expertise is connected to fashion."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P101> */ <http://www.wikidata.org/prop/direct/P106> *) <http://www.wikidata.org/entity/Q12684> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 10"}}
{"id": "test_2695", "question": "Stolperstein memorials without a specified location", "sparql": "SELECT ?stolperstein ?stolpersteinLabel WHERE { ?stolperstein wdt:P360 wd:Q26703203 . MINUS { ?stolperstein wdt:P131 ?location . } ?stolperstein rdfs:label ?stolpersteinLabel . }", "paraphrases": ["Which Stolperstein memorials are listed in the Stolperstein project but do not have a known administrative location?", "Show me the names of all Stolperstein entries that are part of the Stolperstein list but are not assigned to any city or region."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P360> <http://www.wikidata.org/entity/Q26703203> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . } }"}}
{"id": "test_2696", "question": "Businesses with their headquarters street address and postal code, along with English Wikipedia pages.", "sparql": "SELECT ?business ?wikipedia_page ?street_address ?postal_code WHERE { ?business wdt:P31 wd:Q4830453 . OPTIONAL { ?wikipedia_page schema:about ?business . ?wikipedia_page schema:inLanguage \"en\" . ?wikipedia_page schema:isPartOf <https://en.wikipedia.org/> . } OPTIONAL { ?business wdt:P159 ?headquarters . ?headquarters wdt:P6375 ?street_address . ?headquarters wdt:P281 ?postal_code . } } LIMIT 100", "paraphrases": ["What are the street addresses and postal codes of the headquarters of businesses, and do they have English Wikipedia pages?", "Show me a list of businesses, their headquarters' street addresses and postal codes, and link them to their English Wikipedia pages if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4830453> . OPTIONAL { ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> \"en\". ?var3 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P159> ?var6 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/direct/P969> ?var4 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/direct/P281> ?var5 . } } LIMIT 100"}}
{"id": "test_2697", "question": "Properties related to headquarters location with Japanese labels and descriptions.", "sparql": "SELECT ?property ?label ?description WHERE { wd:P159 wdt:P1659 ?property . ?property rdfs:label ?label . ?property schema:description ?description . FILTER (LANG(?label) = \"ja\") . FILTER (LANG(?description) = \"ja\") . }", "paraphrases": ["What properties are related to headquarters location, and what are their Japanese labels and descriptions?", "Show me the Japanese labels and descriptions of properties that are related to headquarters location."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P159> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"ja\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"ja\" ) ) ) . }"}}
{"id": "test_2698", "question": "Show me 10 random paintings with their images, where they are held, who created them, and the collection\u2019s Twitter handle.", "sparql": "SELECT ?painting ?paintingLabel ?image ?collection ?collectionLabel ?creator ?creatorLabel ?twitter WHERE { ?painting wdt:P31 wd:Q3305213 . ?painting wdt:P18 ?image . ?painting wdt:P195 ?collection . ?painting wdt:P170 ?creator . OPTIONAL { ?collection wdt:P2002 ?twitter . } ?painting rdfs:label ?paintingLabel . FILTER(LANG(?paintingLabel) = \"en\") ?collection rdfs:label ?collectionLabel . FILTER(LANG(?collectionLabel) = \"en\") ?creator rdfs:label ?creatorLabel . FILTER(LANG(?creatorLabel) = \"en\") } ORDER BY RAND() LIMIT 10", "paraphrases": ["Can you list 10 randomly selected paintings along with their artist, the museum or collection they belong to, and the collection\u2019s Twitter username?", "Please provide a sample of 10 paintings from Wikidata, including their image, creator, collection, and the collection\u2019s X (Twitter) handle, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 ?var4Label ?var5 ?var5Label ?var6 ( MD5 ( CONCAT ( STR ( ?var1 ) , STR ( RAND ( ) ) ) ) AS ?var7 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P276> ?var3 . } ?var1 <http://www.wikidata.org/prop/direct/P195> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P170> ?var5 . OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P2002> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,it\". } } ORDER BY ASC( ?var7 ) LIMIT 20"}}
{"id": "test_2699", "question": "Who were the children of the monarchs of England?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?monarchLabel ?childLabel WHERE {\n  ?monarch wdt:P39 wd:Q18810062 .\n  ?monarch wdt:P40 ?child .\n  ?child rdfs:label ?childLabel .\n  FILTER ( LANG( ?childLabel ) = \"en\" ) .\n  ?monarch rdfs:label ?monarchLabel .\n  FILTER ( LANG( ?monarchLabel ) = \"en\" ) .\n}", "paraphrases": ["List the English names of the kings and queens of England along with their children.", "Which children did the historical monarchs of England have, as recorded in English labels?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q18810062> . ?var1 <http://www.wikidata.org/prop/direct/P40> ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . }"}}
{"id": "test_2700", "question": "What are the numeric catalog numbers of Claude Monet\u2019s paintings in the Wildenstein Catalogue Raisonn\u00e9, sorted in ascending order?", "sparql": "SELECT ?artwork ?catalogCode WHERE { ?artwork wdt:P170 wd:Q296 ; p:P528 [ pq:P972 wd:Q17441029 ; ps:P528 ?catalogCode ] . FILTER (regex(?catalogCode, \"^[0-9]+$\")) } ORDER BY ASC (xsd:integer(?catalogCode))", "paraphrases": ["Which artworks by Claude Monet are listed in the Monet: Catalogue Raisonn\u00e9 with numeric catalog codes, and what are those codes?", "List all of Claude Monet\u2019s artworks that have a numeric catalog number in the Wildenstein Catalogue Raisonn\u00e9, ordered by the catalog number."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/P528> [ <http://www.wikidata.org/prop/qualifier/P972> <http://www.wikidata.org/entity/Q17441029> ; <http://www.wikidata.org/prop/statement/P528> ?var2 ] . ?var1 <http://www.wikidata.org/prop/170> <http://www.wikidata.org/entity/Q296> . } ORDER BY ASC( <http://www.w3.org/2001/XMLSchema#integer> ( ?var2 ) )"}}
{"id": "test_2701", "question": "What are the top companies by revenue with both employee count and revenue data for the same year, and what is their revenue per employee?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?company ?companyLabel ?employeeCount ?revenue ?year ?revenuePerEmployee WHERE {\n  ?company p:P1128 ?stmtEmployees .\n  ?stmtEmployees ps:P1128 ?employeeCount ; pq:P585 ?dateEmployees .\n  ?company p:P2139 ?stmtRevenue .\n  ?stmtRevenue ps:P2139 ?revenue ; pq:P585 ?dateRevenue .\n  BIND( YEAR( ?dateEmployees ) AS ?year ) FILTER ( YEAR( ?dateRevenue ) = ?year ) BIND( ?revenue / ?employeeCount AS ?revenuePerEmployee ) FILTER ( ?employeeCount > 0 && ?revenue > 0 ) ?company rdfs:label ?companyLabel .\n  FILTER ( LANG( ?companyLabel ) = \"en\" )\n}\nORDER BY DESC ( ?revenue )\nLIMIT 100", "paraphrases": ["Show me companies that reported both their number of employees and total revenue in the same year, along with the calculated revenue per employee, sorted by highest revenue.", "Which companies have recent employee and revenue figures for the same year, and how much revenue do they generate per employee?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ( ( <http://www.w3.org/2001/XMLSchema#float> ( ?var3 ) / <http://www.w3.org/2001/XMLSchema#float> ( ?var4 ) ) AS ?var6 ) ?var7 ?var8 ?var9 ?var10 WHERE { BIND ( YEAR ( <http://www.w3.org/2001/XMLSchema#date> ( ?var7 ) ) AS ?var9 ). BIND ( YEAR ( <http://www.w3.org/2001/XMLSchema#date> ( ?var8 ) ) AS ?var10 ). ?var1 <http://www.wikidata.org/prop/direct/P1128> ?var4 . ?var1 <http://www.wikidata.org/prop/P1128> ?var11 . ?var11 <http://www.wikidata.org/prop/statement/P1128> ?var5 . ?var11 <http://www.wikidata.org/prop/qualifier/P585> ?var8 . ?var1 <http://www.wikidata.org/prop/direct/P2139> ?var2 . ?var1 <http://www.wikidata.org/prop/P2139> ?var12 . ?var12 <http://www.wikidata.org/prop/statement/P2139> ?var3 . ?var12 <http://www.wikidata.org/prop/qualifier/P585> ?var7 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_2702", "question": "What are the paintings depicting Leda and their corresponding images on Wikimedia Commons?", "sparql": "SELECT ?painting ?image WHERE { ?painting wdt:P31 wd:Q3305213 ; wdt:P180 wd:Q182019 ; wdt:P18 ?image . }", "paraphrases": ["Which paintings show Leda from Greek mythology, and what are the images of those paintings?", "Show me images of all paintings that depict the mythological figure Leda."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> ; <http://www.wikidata.org/prop/direct/P180> <http://www.wikidata.org/entity/Q182019> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . }"}}
{"id": "test_2703", "question": "Chief operating officers with English labels and descriptions in Wikidata", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?coo ?cooLabel ?cooDescription WHERE {\n  ?org wdt:P1789 ?coo .\n  ?coo rdfs:label ?cooLabel .\n  ?coo schema:description ?cooDescription .\n  FILTER(LANG(?cooLabel) = \"en\")\n  .\n  FILTER(LANG(?cooDescription) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Who are the chief operating officers that have both an English label and an English description on Wikidata?", "List the names and descriptions of all chief operating officers who have English-language labels and descriptions."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P1789> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_2704", "question": "What are the coordinates of graves located in Vienna Central Cemetery?", "sparql": "SELECT DISTINCT ?grave ?coordinates WHERE { ?grave wdt:P276 wd:Q240744 . ?grave wdt:P625 ?coordinates . ?grave wdt:P31 wd:Q173387 .}", "paraphrases": ["Show me the geographic locations of all graves in Vienna Zentralfriedhof.", "Which graves are buried in Vienna Central Cemetery, and where exactly are they located?"], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P276> + <http://www.wikidata.org/entity/Q240744> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q173387> . }"}}
{"id": "test_2705", "question": "What is the image associated with the SNAC ARK ID w6jm3ht3?", "sparql": "SELECT ?image WHERE { ?person wdt:P3430 \"w6jm3ht3\" . OPTIONAL { ?person wdt:P18 ?image . } }", "paraphrases": ["Can you show me the picture of the person identified by the SNAC ARK ID w6jm3ht3?", "Give me the Wikimedia Commons image for the individual with SNAC ID w6jm3ht3."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6jm3ht3\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2706", "question": "Organizations with a chief operating officer", "sparql": "SELECT DISTINCT ?organization ?organizationLabel WHERE { ?organization wdt:P1789 ?coo . OPTIONAL { ?organization rdfs:label ?organizationLabel . FILTER(LANG(?organizationLabel) = \"en\") } } LIMIT 11", "paraphrases": ["Which organizations have a chief operating officer?", "List up to 11 organizations that have a chief operating officer, along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1789> _:bnode . } LIMIT 11 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2707", "question": "Large businesses with over 5,000 employees, their headquarters location, and country.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?business ?businessLabel ?employeeCount ?foundedIn ?country ?countryLabel WHERE {\n  ?business wdt:P31 wd:Q4830453 ; wdt:P1128 ?employeeCount ; wdt:P740 ?foundedIn ; wdt:P17 ?country .\n  ?country rdfs:label ?countryLabel .\n  FILTER(?employeeCount > 5000)\n  FILTER(LANG(?countryLabel) = \"en\")\n  ?business rdfs:label ?businessLabel .\n  FILTER(LANG(?businessLabel) = \"en\")\n}\nORDER BY DESC(?employeeCount)", "paraphrases": ["Which companies have more than 5,000 employees, where were they founded, and in which countries are they located?", "List the names of businesses with more than 5,000 employees, along with the city where they were founded, the country they operate in, and the official English name of that country."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4830453> ; <http://www.wikidata.org/prop/direct/P1128> ?var2 ; <http://www.wikidata.org/prop/direct/P740> ?var3 ; <http://www.wikidata.org/prop/direct/P17> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P1448> ?var5 . FILTER ( ( ( ?var2 > \"5000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var2 )"}}
{"id": "test_2708", "question": "Humans buried in Vienna or its districts", "sparql": "SELECT DISTINCT ?human ?burialPlace ?humanLabel WHERE { { ?human wdt:P119 wd:Q1741 . } UNION { ?human wdt:P119 ?burialPlace . ?burialPlace wdt:P131/wdt:P131 wd:Q1741 . } UNION { ?human wdt:P119 ?burialPlace . ?burialPlace wdt:P131 wd:Q1741 . } ?human wdt:P31 wd:Q5 . OPTIONAL { ?human rdfs:label ?humanLabel . FILTER(LANG(?humanLabel) = \"en\") } } ORDER BY ?human LIMIT 100", "paraphrases": ["Who are the people buried in Vienna or in cemeteries located within Vienna?", "List the names of people buried in Vienna or in any cemetery within Vienna, along with their burial locations."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } { ?var1 <http://www.wikidata.org/prop/direct/P119> <http://www.wikidata.org/entity/Q1741> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P119> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q1741> . } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2709", "question": "Is software version type an instance of a class that is a subclass of second-order class?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX hint: <http://www.bigdata.com/queryHints#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  wd:Q28530564(wdt:P31 / wdt:P279 *) wd:Q24017414 .\n  hint:Prior hint:gearing \"forwards\" .\n}", "paraphrases": ["Does the software version type belong to a category that is a type of second-order class?", "Confirm whether software version type is classified under a metaclass that is a second-order class."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q28530564> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_2710", "question": "People who are chief executive officers", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P106 wd:Q484876 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["Who are the chief executive officers listed on Wikidata?", "List the names of all people whose occupation is chief executive officer."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q484876> . }"}}
{"id": "test_2711", "question": "English label of the Wikidata entity for woman", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel WHERE {\n  VALUES ?item {\n    wd:Q467\n  }\n  .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["What is the English name of the Wikidata item for woman?", "Show me the English label for the Wikidata entity representing woman."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { BIND ( <http://www.wikidata.org/entity/Q467> AS ?var1 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2712", "question": "Dutch people with birth date, death date, place of birth, education, and official website.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?genderLabel ?birthDate ?deathDate ?birthPlaceLabel ?deathPlaceLabel ?burialPlaceLabel ?educatedAtLabel ?genreLabel ?notableWorkLabel ?website WHERE {\n  ?person wdt:P31 wd:Q5 ; wdt:P27 wd:Q29999 .\n  OPTIONAL {\n    ?person wdt:P21 ?gender .\n    ?gender rdfs:label ?genderLabel .\n    FILTER ( LANG( ?genderLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  OPTIONAL {\n    ?person wdt:P19 ?birthPlace .\n    ?birthPlace rdfs:label ?birthPlaceLabel .\n    FILTER ( LANG( ?birthPlaceLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?person wdt:P20 ?deathPlace .\n    ?deathPlace rdfs:label ?deathPlaceLabel .\n    FILTER ( LANG( ?deathPlaceLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?person wdt:P119 ?burialPlace .\n    ?burialPlace rdfs:label ?burialPlaceLabel .\n    FILTER ( LANG( ?burialPlaceLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?person wdt:P69 ?educatedAt .\n    ?educatedAt rdfs:label ?educatedAtLabel .\n    FILTER ( LANG( ?educatedAtLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?person wdt:P136 ?genre .\n    ?genre rdfs:label ?genreLabel .\n    FILTER ( LANG( ?genreLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?person wdt:P800 ?notableWork .\n    ?notableWork rdfs:label ?notableWorkLabel .\n    FILTER ( LANG( ?notableWorkLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?person wdt:P856 ?website .\n  }\n}\nLIMIT 100", "paraphrases": ["Who are some humans from the Netherlands, and what are their birth and death dates, places of birth and death, places of education, and notable works?", "Please list biographical details including gender, birth and death dates, places of birth and death, education, genre, notable works, and websites for humans who are citizens of the Netherlands."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label ?var4 ?var5 ?var6Label ?var7Label ?var8Label ?var9Label ?var10Label ?var11Label ?var12 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q29999> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var3 . } OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P20> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P119> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P69> ?var9 . } OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P800> ?var11 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var12 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 150000"}}
{"id": "test_2713", "question": "Businesses with more than 10 employees and their employee counts", "sparql": "SELECT ?business ?businessLabel ?employeeCount WHERE { ?business wdt:P31 wd:Q4830453 . ?business wdt:P1128 ?employeeCount . ?business rdfs:label ?businessLabel . FILTER(LANG(?businessLabel) = \"en\") FILTER(?employeeCount > 10) } LIMIT 10", "paraphrases": ["Which businesses have more than 10 employees, and how many employees do they have?", "List the names and employee counts of businesses that employ more than 10 people."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4830453> . ?var1 <http://www.wikidata.org/prop/direct/P1128> ?var2 . FILTER ( ( ( ?var2 > \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 10"}}
{"id": "test_2714", "question": "What is the image of the person identified by the SNAC ARK ID \"w6sq9drf\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6sq9drf\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Can you find a Wikimedia Commons image for the individual with SNAC ARK ID w6sq9drf?", "Does the entity with SNAC ARK ID \"w6sq9drf\" have an associated image?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6sq9drf\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2715", "question": "Which Wikidata items have the Twitter usernames \"OlivAuriac\" or \"the30man\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterUsername WHERE {\n  ?item wdt:P2002 ?twitterUsername .\n  VALUES ?twitterUsername {\n    \"OlivAuriac\" \"the30man\"\n  }\n}", "paraphrases": ["Who are the people or entities on Wikidata with the Twitter handles @OlivAuriac and @the30man?", "Find the Wikidata entries for the Twitter accounts OlivAuriac and the30man."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"OlivAuriac\" ) ( \"the30man\" ) ( \"Angers\" ) ( \"string2\" ) ( \"string3\" ) ( \"clemmasson\" ) ( \"string4\" ) ( \"Fanseat_FR\" ) ( \"Connivence\" ) ( \"ufab49\" ) ( \"bcspreze\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"MiilaLcs\" ) ( \"SimGuerin\" ) ( \"string8\" ) ( \"string9\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_2716", "question": "What products are made by Apple?", "sparql": "SELECT ?product ?productLabel WHERE { wd:Q312 wdt:P1056 ?product . ?product rdfs:label ?productLabel . }", "paraphrases": ["Can you list all the products developed by Apple Inc.?", "Which items are manufactured by Apple, and what are their names?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q312> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P2306> . } } UNION { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q312> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Reverse\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P2306> . } } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2306> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_2717", "question": "Which Wikidata items have the Twitter usernames \"kvistgaard\", \"OmegaWiki\", \"RISM_music\", or \"valexiev1\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"kvistgaard\" \"OmegaWiki\" \"RISM_music\" \"valexiev1\"\n  }\n}", "paraphrases": ["Who are the people or organizations on Wikidata with the Twitter handles @kvistgaard, @OmegaWiki, @RISM_music, and @valexiev1?", "Show me the Wikidata entities linked to the Twitter usernames kvistgaard, OmegaWiki, RISM_music, and valexiev1."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"TabsTerror\" ) ( \"string1\" ) ( \"valexiev1\" ) ( \"kvistgaard\" ) ( \"string2\" ) ( \"Tenaanval\" ) ( \"string3\" ) ( \"salgo60\" ) ( \"RISM_music\" ) ( \"OmegaWiki\" ) ( \"string4\" ) ( \"Wikidata\" ) ( \"string5\" ) ( \"string6\" ) ( \"PoCaAddict\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"euskalbar\" ) ( \"string11\" ) ( \"GasnCoal\" ) } }"}}
{"id": "test_2718", "question": "Where was Apple Inc. founded?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?location ?locationLabel WHERE {\n  wd:Q312 wdt:P740 ?location .\n  ?location rdfs:label ?locationLabel .\n  FILTER ( LANG( ?locationLabel ) = \"en\" )\n}", "paraphrases": ["Location of formation of Apple Inc.", "Can you tell me the city where Apple Inc. was established?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } BIND ( <http://www.wikidata.org/entity/Q312> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P740> ?var2 . }"}}
{"id": "test_2719", "question": "Organizations and their industries, products, and official websites", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?org ?orgLabel ?industryLabel ?productLabel ?website WHERE {\n  ?org wdt:P31 wd:Q43229 .\n  OPTIONAL {\n    ?org rdfs:label ?orgLabel .\n    FILTER(LANG(?orgLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?org wdt:P452 ?industry .\n    ?industry rdfs:label ?industryLabel .\n    FILTER(LANG(?industryLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?org wdt:P1056 ?product .\n    ?product rdfs:label ?productLabel .\n    FILTER(LANG(?productLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?org wdt:P856 ?website\n  }\n}", "paraphrases": ["What are the names, industries, products, and official websites of organizations?", "List organizations with their English labels, the industries they operate in, the products they produce, and their official websites."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q43229> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P452> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1056> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGAGE], en\". } }"}}
{"id": "test_2720", "question": "List all economic activities classified under NACE Rev. 2 with their English labels.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?activity ?activityLabel ?statement WHERE {\n  ?activity p:P528 ?statement .\n  ?statement pq:P972 wd:Q732298 .\n  ?activity rdfs:label ?activityLabel .\n  FILTER(LANG(?activityLabel) = \"en\")\n}\nLIMIT 1000", "paraphrases": ["What are the economic activities in the European Union classified by the NACE Rev. 2 system, and what are their English names?", "Show me the English labels and catalog code statements for all economic activities assigned to the NACE Rev. 2 classification."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/P528> ?var2 . ?var2 <http://www.wikidata.org/prop/qualifier/P972> <http://www.wikidata.org/entity/Q732298> . } LIMIT 1000"}}
{"id": "test_2721", "question": "English name of the Nashville Banner newspaper", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label WHERE {\n  wd:Q6966947 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["What is the English label for the Nashville Banner on Wikidata?", "Show me the English name of the Nashville Banner."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { <http://www.wikidata.org/entity/Q6966947> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q2385804> . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( \"en\" = LANG ( ?var1Label ) ) ) ) . }"}}
{"id": "test_2722", "question": "Who are the people who received the Order of the Reunion, and what are their dates of birth and death?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?dob ?dod WHERE {\n  ?person wdt:P166 wd:Q387946 .\n  ?person wdt:P31 wd:Q5 .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n  OPTIONAL {\n    ?person wdt:P569 ?dob .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?dod .\n  }\n}", "paraphrases": ["List recipients of the Order of the Reunion with their birth and death dates.", "Please provide the names, birth dates, and death dates of all humans who were awarded the Order of the Reunion."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q387946> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2723", "question": "What is the German or English Wikipedia page for the movie with IMDb ID tt7964104?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?wikipediaPage ?imdbId WHERE {\n  ?movie wdt:P345 \"tt7964104\" .\n  ?wikipediaPage schema:about ?movie .\n  {\n    ?wikipediaPage schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipediaPage schema:inLanguage \"de\" .\n  }\n  ?movie wdt:P345 ?imdbId .\n}", "paraphrases": ["Show me the Wikipedia articles in English or German about the movie identified by IMDb ID tt7964104.", "Which Wikipedia pages (in English or German) are linked to the movie with IMDb ID tt7964104?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt7964104\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2724", "question": "What was the birthplace of Ruhollah Khomeini, and what country did it belong to at the time of his birth?", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ?birthPlace ?birthPlaceLabel ?countryAtBirth ?administrativeEntity WHERE {\n  wd:Q38823 p:P19 ?birthStatement .\n  ?birthStatement ps:P19 ?birthPlace .\n  OPTIONAL {\n    ?birthStatement pq:P17 ?countryAtBirth .\n  }\n  OPTIONAL {\n    ?birthStatement pq:P131 ?administrativeEntity .\n  }\n  ?birthPlace wdt:P17 ?country .\n  ?birthPlace rdfs:label ?birthPlaceLabel .\n  FILTER ( LANG( ?birthPlaceLabel ) = \"en\" )\n}\nORDER BY ASC ( ?countryAtBirth )", "paraphrases": ["Show the English label of Ruhollah Khomeini\u2019s birthplace and the historical country it was part of, ordered by the country name.", "Where was Ruhollah Khomeini born, and which historical state governed that location? Include the place\u2019s English name."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var1Label ?var4 ?var5 WHERE { <http://www.wikidata.org/entity/Q38823> <http://www.wikidata.org/prop/P19> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P19> ?var1 . ?var1 <http://www.wikidata.org/prop/statement/P17> ?var2 . ?var1 <http://www.wikidata.org/prop/P17> ?var3 . OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P17> ?var4 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P131> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var4 )"}}
{"id": "test_2725", "question": "What are the English-labeled locations and categories associated with Highgate Cemetery, excluding 'has part'?", "sparql": "SELECT ?cemeteryLabel ?property ?value ?valueLabel WHERE { wd:Q533697 ?property ?value . ?value rdfs:label ?valueLabel . wd:Q533697 rdfs:label ?cemeteryLabel . FILTER (LANG(?valueLabel) = \"en\") FILTER (LANG(?cemeteryLabel) = \"en\") FILTER (?property != wdt:P1963) } LIMIT 30", "paraphrases": ["Which places, countries, and categories are linked to Highgate Cemetery in English, and what properties connect them?", "Show me all the English-language entities (like cities or categories) that are connected to Highgate Cemetery via any property except 'has part'."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { <http://www.wikidata.org/entity/Q533697> ?var4 ?var3 . ?var2 ?var5 ?var4 . ?var2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . <http://www.wikidata.org/entity/Q533697> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . FILTER ( ( ( ?var4 != <http://www.wikidata.org/prop/direct/P1963> ) ) ) . } LIMIT 30"}}
{"id": "test_2726", "question": "Image of the person with SNAC ARK ID w6697x86", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6697x86\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the Wikimedia Commons image associated with the SNAC ARK ID w6697x86?", "Show me the photo of the individual identified by the SNAC ARK ID w6697x86."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6697x86\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2727", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt2093270?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipediaPage ?imdbId WHERE {\n  ?item wdt:P345 ?imdbId .\n  ?wikipediaPage schema:about ?item .\n  {\n    ?wikipediaPage schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipediaPage schema:inLanguage \"de\" .\n  }\n  FILTER ( ?imdbId = \"tt2093270\" )\n}", "paraphrases": ["Which Wikipedia pages in English or German are about the film with IMDb ID tt2093270?", "Show me the Wikipedia links in English or German for the movie identified by IMDb ID tt2093270."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2093270\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2728", "question": "What are the English and German Wikipedia/Wikiquote pages about the movie with IMDb ID tt1001526?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?page ?imdbId WHERE {\n  ?movie wdt:P345 \"tt1001526\" .\n  ?page schema:about ?movie .\n  {\n    ?page schema:inLanguage \"en\" .\n  } UNION {\n    ?page schema:inLanguage \"de\" .\n  }\n  ?movie wdt:P345 ?imdbId .\n}", "paraphrases": ["Show me all Wikimedia pages in English or German that describe the movie Megamind.", "Which language versions of Wikipedia or Wikiquote have articles about the film identified by IMDb ID tt1001526?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1001526\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2729", "question": "Businesses and their owners or parent organizations, both being companies.", "sparql": "SELECT DISTINCT ?business ?parentOrOwner ?businessLabel ?parentOrOwnerLabel WHERE { { ?business p:P127 ?stmt . ?stmt ps:P127 ?parentOrOwner . ?stmt pq:P580 ?start . } UNION { ?business p:P749 ?stmt . ?stmt ps:P749 ?parentOrOwner . ?stmt pq:P580 ?start . } ?business (wdt:P31/wdt:279*) wd:Q4830453 . ?parentOrOwner (wdt:P31/wdt:279*) wd:Q4830453 . ?business rdfs:label ?businessLabel . ?parentOrOwner rdfs:label ?parentOrOwnerLabel . FILTER(LANG(?businessLabel) = \"en\") FILTER(LANG(?parentOrOwnerLabel) = \"en\") }", "paraphrases": ["Which businesses are owned by or have a parent organization that is also a business, and what are their names?", "List all pairs of businesses where one is the owner or parent organization of the other, including their English names."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var1Label ?var2Label ?var3Label ?var4Label WHERE { { ?var1 <http://www.wikidata.org/prop/P127> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P127> ?var2 . ?var5 <http://www.wikidata.org/prop/qualifier/P580> _:n1 . } UNION { ?var1 <http://www.wikidata.org/prop/P749> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P749> ?var2 . ?var6 <http://www.wikidata.org/prop/qualifier/P580> _:n2 . } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/279> *) <http://www.wikidata.org/entity/Q4830453> . ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/279> *) <http://www.wikidata.org/entity/Q4830453> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2730", "question": "What are the parent classes of the national trade union center?", "sparql": "SELECT DISTINCT ?ancestor ?ancestorLabel WHERE { wd:Q2300373 wdt:P279* ?ancestor . ?ancestor rdfs:label ?ancestorLabel . FILTER(LANG(?ancestorLabel) = \"en\") } LIMIT 10", "paraphrases": ["What classes does the national trade union center belong to, including its ancestors in the hierarchy?", "List the hierarchy of classes that the national trade union center is a subclass of, up to 10 levels."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q2300373> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_2731", "question": "What is the Esperanto label and description of the female form of label property related to the male form of label?", "sparql": "SELECT ?femaleProperty ?label ?description WHERE { wd:P3321 wdt:P1659 ?femaleProperty . ?femaleProperty rdfs:label ?label . ?femaleProperty schema:description ?description . FILTER ( LANG( ?label ) = \"eo\" ) . FILTER ( LANG( ?description ) = \"eo\" ) .}", "paraphrases": ["In Esperanto, what is the label and description of the property that is the female counterpart of the male form of label?", "Show the Esperanto label and description of the property linked to P3321 (male form of label) via 'related property'."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P3321> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"eo\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"eo\" ) ) ) . }"}}
{"id": "test_2732", "question": "Organizations in Germany with their administrative locations and images.", "sparql": "SELECT ?organization ?organizationLabel ?image ?administrativeTerritory WHERE { ?organization wdt:P31 wd:Q43229 . ?organization wdt:P17 wd:Q183 . OPTIONAL { ?organization wdt:P18 ?image . } OPTIONAL { ?organization wdt:P131 ?administrativeTerritory . } ?organization rdfs:label ?organizationLabel . FILTER(LANG(?organizationLabel) = \"en\") }", "paraphrases": ["What are the organizations based in Germany, and what are their labels, administrative regions, and images?", "List all organizations located in Germany, including their English names, the cities or states they are in, and any associated images."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q43229> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var4 . } }"}}
{"id": "test_2733", "question": "Female scientists born in cities with their birth coordinates and death dates", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?scientist ?scientistLabel ?birthPlaceLabel ?coordinates ?dateOfDeath WHERE {\n  ?scientist wdt:P31 wd:Q5 .\n  ?scientist wdt:P21 wd:Q6581072 .\n  ?scientist wdt:P106 wd:Q901 .\n  ?scientist wdt:P19 ?birthPlace .\n  ?birthPlace wdt:P625 ?coordinates .\n  OPTIONAL {\n    ?scientist wdt:P570 ?dateOfDeath .\n  }\n  ?scientist rdfs:label ?scientistLabel .\n  ?birthPlace rdfs:label ?birthPlaceLabel .\n  FILTER(LANG(?scientistLabel) = \"en\")\n  FILTER(LANG(?birthPlaceLabel) = \"en\")\n}\nLIMIT 10", "paraphrases": ["Who are some female scientists, where were they born, what are the coordinates of their birthplaces, and when did they die?", "List female scientists along with their birth locations, the geographic coordinates of those locations, and their dates of death, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4Label ?var5Label ?var6Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q901> . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P625> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P101> ?var6 . } }"}}
{"id": "test_2734", "question": "Administrative territorial entities in North Macedonia", "sparql": "SELECT ?entity ?entityLabel WHERE { ?entity wdt:P31 wd:Q56061 . ?entity wdt:P17 wd:Q221 . ?entity rdfs:label ?entityLabel . FILTER(LANG(?entityLabel) = \"en\") }", "paraphrases": ["What are the administrative divisions of North Macedonia?", "List the English names of all administrative regions in North Macedonia."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13044786> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q221> . }"}}
{"id": "test_2735", "question": "Which Wikidata items have the Twitter usernames \"DHBenelux\" or \"NWONieuws\"?", "sparql": "SELECT ?item ?twitterUsername WHERE { ?item wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"DHBenelux\" \"NWONieuws\" } }", "paraphrases": ["What organizations on Wikidata are associated with the Twitter handles DHBenelux and NWONieuws?", "Show me the entities in Wikidata that use \"DHBenelux\" and \"NWONieuws\" as their X (Twitter) usernames."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"SonTekYSI\" ) ( \"DHBenelux\" ) ( \"NWONieuws\" ) } }"}}
{"id": "test_2736", "question": "Rembrandt artworks with images and titles", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?artwork ?title ?image WHERE {\n  ?artwork wdt:P170 wd:Q5598 ; wdt:P18 ?image .\n  OPTIONAL {\n    ?artwork wdt:P1476 ?title .\n  }\n}", "paraphrases": ["What are the titles and images of artworks created by Rembrandt?", "Show me all artworks by Rembrandt along with their titles and corresponding images from Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P170> <http://www.wikidata.org/entity/Q5598> ; <http://www.wikidata.org/prop/direct/P18> ?var2 . OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/direct/P276> +/ <http://www.wikidata.org/prop/direct/P361> */ <http://www.wikidata.org/prop/direct/P625> ) ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en,fr,it,nl\". } }"}}
{"id": "test_2737", "question": "Artworks created by Eug\u00e8ne Delacroix with their creation years in English.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?artwork ?artworkLabel ( YEAR( ?inception ) AS ?year ) WHERE {\n  ?artwork wdt:P170 wd:Q33477 .\n  ?artwork rdfs:label ?artworkLabel .\n  ?artwork wdt:P571 ?inception .\n  FILTER ( LANG( ?artworkLabel ) = \"en\" )\n}\nORDER BY ASC ( ?year )", "paraphrases": ["What are the English-named artworks created by Eug\u00e8ne Delacroix and in which years were they created?", "List all English-labeled artworks by Eug\u00e8ne Delacroix along with the year they were created, sorted chronologically."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( GROUP_CONCAT ( YEAR ( ?var2 ) ; SEPARATOR = \" ; \" ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P170> <http://www.wikidata.org/entity/Q33477> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } } GROUP BY ?var1 ?var1Label ORDER BY ASC( ?var3 )"}}
{"id": "test_2738", "question": "People buried in Germany with specific burial locations", "sparql": "SELECT ?person ?burialPlace WHERE { { ?person p:P119 ?statement . ?statement ps:P119 ?burialPlace . FILTER(?burialPlace = wd:Q183) } UNION { ?person p:P119 ?statement . ?statement ps:P119 ?burialPlace . ?burialPlace wdt:P17 wd:Q183 . } } LIMIT 100", "paraphrases": ["Who are the people buried in Germany, and where exactly are they buried?", "List all individuals buried in Germany, including those buried in specific cemeteries or cities within the country."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P119> <http://www.wikidata.org/entity/Q183> . ?var1 <http://www.wikidata.org/prop/P119> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_2739", "question": "Female scientists and their birthplace coordinates", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?scientist ?scientistLabel ?birthPlaceLabel ?coordinates WHERE {\n  ?scientist wdt:P31 wd:Q5 .\n  ?scientist wdt:P21 wd:Q6581072 .\n  ?scientist wdt:P106 wd:Q901 .\n  ?scientist wdt:P19 ?birthPlace .\n  ?birthPlace wdt:P625 ?coordinates .\n  ?scientist rdfs:label ?scientistLabel .\n  ?birthPlace rdfs:label ?birthPlaceLabel .\n  FILTER(LANG(?scientistLabel) = \"en\")\n  FILTER(LANG(?birthPlaceLabel) = \"en\")\n}", "paraphrases": ["Who are some female scientists, where were they born, and what are the geographic coordinates of their birthplaces?", "List female scientists along with the names of their birthplaces and the geographic coordinates of those locations."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q901> . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P625> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/p101> ?var7 . } }"}}
{"id": "test_2740", "question": "Who have won the Brit Award for British Female Solo Artist?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?winner WHERE {\n  ?winner wdt:P166 wd:Q28407246 .\n}\nLIMIT 2", "paraphrases": ["List the recipients of the Brit Award for British Female Solo Artist.", "Which British female artists have received the Brit Award for British Female Solo Artist?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P166> <http://www.wikidata.org/entity/Q28407246> . } LIMIT 2"}}
{"id": "test_2741", "question": "Wikimedia pages in English or German about the movie with IMDb ID tt1756415", "sparql": "SELECT ?movie ?page ?imdbId WHERE { ?movie wdt:P345 \"tt1756415\" . ?page schema:about ?movie . { ?page schema:inLanguage \"en\" . } UNION { ?page schema:inLanguage \"de\" . } ?movie wdt:P345 ?imdbId . }", "paraphrases": ["What English or German Wikipedia or Commons pages are about the movie with IMDb ID tt1756415?", "Show me the English and German language Wikimedia pages linked to the movie identified by IMDb ID tt1756415."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1756415\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2742", "question": "Is Twenty Thousand Leagues Under the Sea classified as software?", "sparql": "ASK WHERE { wd:Q183565 (wdt:P31/wdt:P279*) wd:Q7397 . }", "paraphrases": ["Is the novel \"Twenty Thousand Leagues Under the Sea\" an instance of or subclass of software?", "Confirm whether Twenty Thousand Leagues Under the Sea belongs to the software category."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q183565> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_2743", "question": "Organizations headquartered in Boston with their Wikipedia pages and logos", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?organization ?organizationLabel ?wikipediaPage(SAMPLE(?image) AS ?logo) WHERE {\n  ?organization wdt:P159 wd:Q100 .\n  OPTIONAL {\n    ?organization wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?wikipediaPage schema:about ?organization .\n    ?wikipediaPage schema:isPartOf <https://en.wikipedia.org/> .\n  }\n  ?organization rdfs:label ?organizationLabel .\n  FILTER(LANG(?organizationLabel) = \"en\")\n}\nGROUP BY ?organization ?organizationLabel ?wikipediaPage\nLIMIT 50", "paraphrases": ["What organizations have their headquarters in Boston, and what are their Wikipedia pages and images?", "List up to 50 organizations based in Boston, including their English labels, Wikipedia links, and one representative image each."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var3 ) ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P159> <http://www.wikidata.org/entity/Q100> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,fr,es,de,ru,it,nl,ja,zh,pl,cs\". } } GROUP BY ?var1 ?var1Label ?var2 ?var4 LIMIT 50"}}
{"id": "test_2744", "question": "Image of Leopold Josef Fitzinger with SNAC ARK ID w6pk1pz3", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6pk1pz3\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the Wikimedia Commons image associated with the SNAC ARK ID w6pk1pz3?", "Show me the picture of the person whose SNAC ARK ID is w6pk1pz3."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6pk1pz3\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2745", "question": "Paintings created by Vasily Polenov", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?painting WHERE {\n  ?painting wdt:P31 wd:Q3305213 ; wdt:P170 wd:Q318393 .\n}", "paraphrases": ["Which paintings were created by the Russian artist Vasily Polenov?", "List all artworks that are instances of paintings and have Vasily Polenov as their creator."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> ; <http://www.wikidata.org/prop/direct/P170> <http://www.wikidata.org/entity/Q318393> . }"}}
{"id": "test_2746", "question": "List of works of art in English.", "sparql": "SELECT ?artwork ?artworkLabel WHERE { ?artwork wdt:P31 wd:Q838948 . ?artwork rdfs:label ?artworkLabel . FILTER(LANG(?artworkLabel) = \"en\") } LIMIT 100", "paraphrases": ["What are some examples of works of art and their names?", "Show me 100 works of art with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q838948> . } LIMIT 100"}}
{"id": "test_2747", "question": "What are the dimensions, artistic movement, and creation dates of portrait paintings in English-speaking contexts?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?painting ?paintingLabel(SAMPLE(?width) AS ?widthValue)(SAMPLE(?height) AS ?heightValue) ?movementLabel(MIN(?inception) AS ?earliestInception) WHERE {\n  ?painting wdt:P31 / wdt:P279 * wd:Q3305213 .\n  ?painting wdt:P136 wd:Q1400853 .\n  ?painting wdt:P2048 ?height .\n  ?painting wdt:P2049 ?width .\n  ?painting wdt:P571 ?inception .\n  ?painting wdt:P135 ?movement .\n  ?painting rdfs:label ?paintingLabel .\n  ?movement rdfs:label ?movementLabel .\n  FILTER(LANG(?paintingLabel) = \"en\")\n  FILTER(LANG(?movementLabel) = \"en\")\n}\nGROUP BY ?painting ?paintingLabel ?movementLabel\nLIMIT 100", "paraphrases": ["Can you list portrait paintings with their width, height, movement, and earliest year created, along with their English labels?", "Show me portrait paintings from the Baroque and German Renaissance movements, including their sizes and when they were first created."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( SAMPLE ( ?var2 ) AS ?var2 )( SAMPLE ( ?var3 ) AS ?var3 ) ?var4Label ( MIN ( ?var5 ) AS ?var5 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3305213> . ?var1 <http://www.wikidata.org/prop/direct/P136> <http://www.wikidata.org/entity/Q1400853> . ?var1 <http://www.wikidata.org/prop/direct/P2048> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P2049> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P571> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P135> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var1Label ?var4Label LIMIT 100"}}
{"id": "test_2748", "question": "Locations with paintings and their coordinates, along with the number of paintings at each location and optional images.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?locationLabel ?coordinates ?image ( COUNT( * ) AS ?paintingCount ) WHERE {\n  ?painting wdt:P31 wd:Q3305213 .\n  ?painting wdt:P276 ?location .\n  ?location wdt:P625 ?coordinates .\n  OPTIONAL {\n    ?location wdt:P18 ?image .\n  }\n  ?location rdfs:label ?locationLabel .\n  FILTER ( LANG( ?locationLabel ) = \"en\" )\n}\nGROUP BY ?locationLabel ?coordinates ?image", "paraphrases": ["Which museums and galleries have paintings located in them, what are their coordinates, how many paintings are there at each, and do they have images available?", "Show me a list of places where paintings are located, including their names in English, geographic coordinates, the count of paintings at each place, and any associated images from Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ( COUNT (* ) AS ?var4 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . ?var5 <http://www.wikidata.org/prop/direct/P276> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1Label ?var2 ?var3"}}
{"id": "test_2749", "question": "Is The New York Times owned by The New York Times Company?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  wd:Q9684 wdt:P127 wd:Q2529982 .\n}", "paraphrases": ["What is the ownership relationship between The New York Times and The New York Times Company?", "Does The New York Times Company own The New York Times?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q2388346> <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q856831> . }"}}
{"id": "test_2750", "question": "Wikimedia pages in English or German about the film with IMDb ID tt0203853", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?page WHERE {\n  ?film wdt:P345 \"tt0203853\" .\n  ?page schema:about ?film .\n  VALUES ?lang {\n    \"en\" \"de\"\n  }\n  .\n  ?page schema:inLanguage ?lang .\n}", "paraphrases": ["What Wikipedia or Commons pages in English or German are about the film \"Sandow No. 1\" (IMDb: tt0203853)?", "Show me the English and German Wikimedia pages linked to the film with IMDb ID tt0203853."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0203853\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2751", "question": "What are all the subclasses of faculty organization in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?subclass WHERE {\n  wd:Q2194371 wdt:P279 * ?subclass\n}\nLIMIT 100", "paraphrases": ["Can you list the types of organizations that are considered subclasses of faculty organization?", "What broader categories include faculty organization as a specific type?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q2194371> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_2752", "question": "Female chemists with their birth dates and images", "sparql": "SELECT ?chemist ?label ?image ?dateOfBirth WHERE { ?chemist wdt:P31 wd:Q5 . ?chemist wdt:P21 wd:Q6581072 . ?chemist wdt:P106 wd:Q593644 . OPTIONAL { ?chemist wdt:P18 ?image . } OPTIONAL { ?chemist wdt:P569 ?dateOfBirth . } ?chemist rdfs:label ?label . FILTER(LANG(?label) = \"en\") } LIMIT 50", "paraphrases": ["Who are some female chemists, and what are their birth dates and images?", "List up to 50 female chemists along with their English names, dates of birth, and available images."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q593644> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 50"}}
{"id": "test_2753", "question": "What properties are used to describe organizations in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?propertyLabel WHERE {\n  ?property wdt:P31 wd:Q18608993 .\n  ?property rdfs:label ?propertyLabel .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" )\n}", "paraphrases": ["Which properties in Wikidata are classified as being for items about organizations?", "List the English labels of all Wikidata properties that are instances of 'Wikidata property for items about organizations'."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/entity/Q18608993> <http://www.wikidata.org/prop/direct/P169> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2754", "question": "Top 50 most awarded honors and their countries", "sparql": "SELECT ?count ?award ?awardLabel ?country ?countryLabel WHERE { { SELECT (COUNT(*) AS ?count) ?award WHERE { ?item wdt:P166 ?award . } GROUP BY ?award ORDER BY DESC(?count) LIMIT 50 } ?award wdt:P17 ?country . ?award rdfs:label ?awardLabel . ?country rdfs:label ?countryLabel . FILTER(LANG(?awardLabel) = \"en\") FILTER(LANG(?countryLabel) = \"en\") }", "paraphrases": ["Which are the 50 most frequently awarded honors, and in which countries are they conferred?", "Show me the 50 most common awards given to people, along with the country that bestows each one."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var3 ?var3Label WHERE { { SELECT( COUNT (* ) AS ?var1 ) ?var2 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P166> ?var2 . } GROUP BY ?var2 ORDER BY DESC( ?var1 ) LIMIT 50 } ?var2 <http://www.wikidata.org/prop/direct/P17> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_2755", "question": "Properties and labels of the UK political organisation Better Off Out.", "sparql": "SELECT DISTINCT ?property ?propertyLabel WHERE { wd:Q4898516 ?property ?value . BIND(REPLACE(STR(?property), \"http://www.wikidata.org/prop/direct/\", \"\") AS ?propId) BIND(IRI(CONCAT(\"http://www.wikidata.org/entity/\", ?propId)) AS ?propertyEntity) ?propertyEntity rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") }", "paraphrases": ["What properties are used to describe the UK political organisation Better Off Out, and what are their labels in English?", "Show me the English labels of all direct properties associated with the entity \"Better Off Out\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2Label WHERE { ?var3 <http://www.wikidata.org/entity/Q6422240> ? <http://www.wikidata.org/entity/Q4898516> . ?var3 ?var1 ?var4 . <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var2 <http://wikiba.se/ontology#directClaim> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2756", "question": "Female chemists with their birth dates, places of birth, and coordinates.", "sparql": "SELECT ?chemist ?chemistLabel ?image ?birthDate ?birthPlace ?birthPlaceLabel ?coordinates WHERE { ?chemist wdt:P106 wd:Q593644 . ?chemist wdt:P21 wd:Q6581072 . OPTIONAL { ?chemist wdt:P18 ?image . } OPTIONAL { ?chemist wdt:P569 ?birthDate . } OPTIONAL { ?chemist wdt:P19 ?birthPlace . ?birthPlace rdfs:label ?birthPlaceLabel . FILTER(LANG(?birthPlaceLabel) = \"en\") ?birthPlace wdt:P625 ?coordinates . } ?chemist rdfs:label ?chemistLabel . FILTER(LANG(?chemistLabel) = \"en\") }", "paraphrases": ["Who are some female chemists, and where and when were they born? Do we have images of them and the geographic coordinates of their birthplaces?", "List female chemists along with their English names, birth dates, birth places (with English labels), coordinates of those places, and any available images."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4Label ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q593644> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P625> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,en\". } }"}}
{"id": "test_2757", "question": "Female chemists and their birthplace coordinates", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?chemist ?chemistLabel ?coordinates WHERE {\n  ?chemist wdt:P31 wd:Q5 .\n  ?chemist wdt:P21 wd:Q6581072 .\n  ?chemist ( wdt:P106 / wdt:P279 * ) wd:Q593644 .\n  ?chemist wdt:P19 ?birthPlace .\n  ?birthPlace wdt:P625 ?coordinates .\n  ?chemist rdfs:label ?chemistLabel .\n  FILTER ( LANG( ?chemistLabel ) = \"en\" )\n}\nORDER BY ASC ( ?chemist )", "paraphrases": ["Where were female chemists born, and what are the geographic coordinates of their birthplaces?", "List all female chemists with their English names and the geographic coordinates of their birthplaces."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q593644> . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var2 . } ORDER BY ASC( ?var1 )"}}
{"id": "test_2758", "question": "What are Vincent van Gogh\u2019s artworks featuring women, and what are their titles and images?", "sparql": "SELECT DISTINCT ?item ?itemLabel (SAMPLE(?image) AS ?imageSample) ?wikipediaPage WHERE { ?item wdt:P170 wd:Q5582 . ?item wdt:P921 wd:Q467 . OPTIONAL { ?item wdt:P18 ?image . } OPTIONAL { ?wikipediaPage schema:about ?item ; schema:isPartOf <https://en.wikipedia.org/> . } ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } GROUP BY ?item ?itemLabel ?wikipediaPage LIMIT 50", "paraphrases": ["Show me paintings by Vincent van Gogh that depict women, along with their English titles and available images on Wikimedia Commons.", "Can you list Vincent van Gogh\u2019s works where the main subject is a woman, including their titles and associated images?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var3 ) ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P170> <http://www.wikidata.org/entity/Q5582> . ?var1 <http://www.wikidata.org/prop/direct/P921> <http://www.wikidata.org/entity/Q467> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,fr,es,de,ru,it,nl,ja,zh,pl,cs\". } } GROUP BY ?var1 ?var1Label ?var2 ?var4 LIMIT 50"}}
{"id": "test_2759", "question": "List all WeRelate person IDs used in Wikidata and confirm each is assigned to only one person.", "sparql": "SELECT (COUNT(?person) AS ?count) ?weRelateId WHERE { ?person wdt:P4159 ?weRelateId . } GROUP BY ?weRelateId", "paraphrases": ["How many Wikidata items share each WeRelate person ID, and what are those IDs?", "Show me all WeRelate person IDs in Wikidata along with how many entities each one links to."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4159> ?var3 . } GROUP BY ?var3"}}
{"id": "test_2760", "question": "What is the immediate superclass of the ethnic group?", "sparql": "SELECT ?superclass ?superclassLabel WHERE { wd:Q41710 wdt:P279 ?superclass . OPTIONAL { ?superclass rdfs:label ?superclassLabel . FILTER(LANG(?superclassLabel) = \"en\") } }", "paraphrases": ["What category does \"ethnic group\" belong to as a subclass?", "What is the broader classification category for ethnic groups?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q41710> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Reverse\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv\". } }"}}
{"id": "test_2761", "question": "Artworks in the National Gallery of Denmark\u2019s collection that have freely licensed images on Wikimedia Commons.", "sparql": "SELECT DISTINCT ?artwork WHERE { ?artwork wdt:P195 wd:Q671384 . ?artwork wdt:P4765 [] . }", "paraphrases": ["Which artworks from the Statens Museum for Kunst are available with free-to-use images on Wikimedia Commons?", "Show me all the items in the National Gallery of Denmark\u2019s collection that have a Commons-compatible image URL associated with them."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P195> <http://www.wikidata.org/entity/Q671384> . ?var1 <http://www.wikidata.org/prop/direct/P4765> [] . } LIMIT 4000"}}
{"id": "test_2762", "question": "Is Rosa Valetti classified under a category that is a type of software?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q4826 ( wdt:P31 / wdt:P279 * ) wd:Q7397 .\n}", "paraphrases": ["Is Rosa Valetti an instance of a class that is a subclass of software?", "Check whether Rosa Valetti belongs to any category that is a kind of software."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q4826> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_2763", "question": "Paintings in the National Gallery of Modern Art with their inventory numbers, artists, creation years, and images.", "sparql": "SELECT ?painting ?paintingName ?inventoryNumber ?artist ?artistName ?inceptionDate ?image WHERE { ?painting wdt:P195 wd:Q1338832 . ?painting wdt:P31 wd:Q3305213 . OPTIONAL { ?painting wdt:P217 ?inventoryNumber . } OPTIONAL { ?painting wdt:P170 ?artist . } OPTIONAL { ?painting wdt:P571 ?inceptionDate . } OPTIONAL { ?painting wdt:P18 ?image . } OPTIONAL { ?painting rdfs:label ?paintingLabel . FILTER(LANG(?paintingLabel) = \"en\") } OPTIONAL { ?artist rdfs:label ?artistLabel . FILTER(LANG(?artistLabel) = \"en\") } BIND(STR(COALESCE(?paintingLabel, \"\")) AS ?paintingName) BIND(STR(COALESCE(?artistLabel, \"\")) AS ?artistName) } LIMIT 100", "paraphrases": ["What are the titles, creators, inventory numbers, and creation dates of paintings held by the National Gallery of Modern Art, along with their images?", "List all paintings from the National Gallery of Modern Art, including their artist names, inventory numbers, when they were created, and links to their images."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P195> <http://www.wikidata.org/entity/Q1338832> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P217> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P170> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,nl,fr,es\". } }"}}
{"id": "test_2764", "question": "What properties are used on items based on the Treaty on the Functioning of the European Union?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?property WHERE {\n  ?item wdt:P457 wd:Q11128 .\n  ?item ?property ?value .\n  ?propertyItem wikibase:directClaim ?property .\n}", "paraphrases": ["Which direct properties are associated with entities that have the Treaty on the Functioning of the European Union as their foundational text?", "List all direct properties of entities that cite the Treaty on the Functioning of the European Union as their foundational legal text."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 <http://www.wikidata.org/entity/Q6422240> ? <http://www.wikidata.org/entity/Q11128> . ?var2 ?var1 ?var3 . <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var4 <http://wikiba.se/ontology#directClaim> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2765", "question": "Official website of Hurtigruten and its Wikipedia articles", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var1 ?var1Label ?var2 WHERE {\n  ?var1 wdt:P856 <https://www.hurtigruten.com> .\n  ?var1 rdfs:label ?var1Label .\n  ?var2 schema:about ?var1 .\n}", "paraphrases": ["What Wikipedia pages are about the company with the official website https://www.hurtigruten.com?", "List all entities with the official website https://www.hurtigruten.com and the Wikipedia pages related to them."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.hurtigruten.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.hurtigruten.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.hurtigruten.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.hurtigruten.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.hurtigruten.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.hurtigruten.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://hurtigruten.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://hurtigruten.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://hurtigruten.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://hurtigruten.com/> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2766", "question": "Novels that won the Hugo Award for Best Novel, their authors, publication dates, and award years.", "sparql": "SELECT ?novel ?novelLabel ?authorLabel ?publicationDate ?awardYear ?awardLabel WHERE { ?novel wdt:P50 ?author . ?novel wdt:P577 ?publicationDate . ?novel p:P166 ?awardStmt . ?awardStmt ps:P166 wd:Q255032 . ?awardStmt pq:P585 ?awardYear . wd:Q255032 rdfs:label ?awardLabel . ?novel rdfs:label ?novelLabel . ?author rdfs:label ?authorLabel . FILTER(LANG(?novelLabel) = \"en\") FILTER(LANG(?authorLabel) = \"en\") FILTER(LANG(?awardLabel) = \"en\") } LIMIT 10", "paraphrases": ["Which science fiction novels won the Hugo Award for Best Novel, who wrote them, when were they published, and in what year did they win the award?", "List the Hugo Award-winning novels for Best Novel along with their authors, publication dates, and the year they received the award."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4 ?var5 ?var5Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P50> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var3 . ?var1 <http://www.wikidata.org/prop/P166> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P166> <http://www.wikidata.org/entity/Q255032> . ?var6 <http://www.wikidata.org/prop/qualifier/P585> ?var4 . ?var6 <http://www.wikidata.org/prop/statement/P166> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10"}}
{"id": "test_2767", "question": "Top 50 female celebrities born after 1921 with an image and English Wikipedia page, ranked by number of language editions.", "sparql": "SELECT ?person ?label (COUNT(?article) AS ?sitelinks) WHERE { ?person wdt:P31 wd:Q5 ; wdt:P21 wd:Q6581072 ; wdt:P569 ?birth . FILTER ( ?birth >= \"1921-01-01T00:00:00Z\"^^xsd:dateTime ) ?person wdt:P18 ?image . ?person rdfs:label ?label . FILTER ( LANG(?label) = \"en\" ) ?article schema:about ?person . FILTER(STRSTARTS(STR(?article), \"https://\")) } GROUP BY ?person ?label ORDER BY DESC(?sitelinks) LIMIT 50", "paraphrases": ["Who are the 50 most widely covered female humans born since 1921 on Wikipedia, who have a photo and an English label?", "List the 50 most popular female individuals born from 1921 onward who have a public image and an English Wikipedia article, sorted by how many language versions of their article exist."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> ; <http://www.wikidata.org/prop/direct/P569> ?var4 . FILTER ( ( ( ?var4 >= \"1921-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . ?var1 <http://wikiba.se/ontology#sitelinks> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P18> [] . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1 ?var2 ?var3 ORDER BY DESC( ?var3 ) LIMIT 50"}}
{"id": "test_2768", "question": "What are some ethnic groups and the countries or regions they are associated with, sorted by country name?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ethnicGroup ?ethnicGroupLabel ?country ?countryLabel WHERE {\n  ?ethnicGroup wdt:P31 wd:Q41710 .\n  ?ethnicGroup wdt:P17 ?country .\n  ?ethnicGroup rdfs:label ?ethnicGroupLabel .\n  ?country rdfs:label ?countryLabel .\n  FILTER ( LANG( ?ethnicGroupLabel ) = \"en\" ) FILTER ( LANG( ?countryLabel ) = \"en\" )\n}\nORDER BY ASC ( ?countryLabel )\nLIMIT 50", "paraphrases": ["Can you list ethnic groups along with their associated countries, showing only those with English labels, ordered alphabetically by country?", "Show me 50 ethnic groups and where they are located, with both names in English, sorted by the country\u2019s name."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q41710> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } } ORDER BY ASC( ?var2Label )"}}
{"id": "test_2769", "question": "Literary works that won the Gazteluma award, their authors, and the award year.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT DISTINCT ?work ?workLabel ?authorLabel ?year ?workTypeLabel WHERE {\n  {\n    ?work ( wdt:P31 / wdt:P279 * ) wd:Q17537576 .\n  } UNION {\n    ?work ( wdt:P31 / wdt:P279 * ) wd:Q571 .\n  }\n  ?work ( wdt:P166 / wdt:P279 * ) wd:Q25476516 .\n  ?work p:P166 ?awardStmt .\n  ?awardStmt ps:P166 / wdt:P279 * wd:Q25476516 .\n  ?awardStmt pq:P585 ?awardDate .\n  BIND( YEAR( ?awardDate ) AS ?year ) OPTIONAL {\n    ?work wdt:P50 ?author .\n  }\n  OPTIONAL {\n    ?work wdt:P31 ?workType .\n  }\n  OPTIONAL {\n    ?work rdfs:label ?workLabel .\n    FILTER ( LANG( ?workLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?author rdfs:label ?authorLabel .\n    FILTER ( LANG( ?authorLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?workType rdfs:label ?workTypeLabel .\n    FILTER ( LANG( ?workTypeLabel ) = \"en\" )\n  }\n}", "paraphrases": ["Which books or creative works received the Gazteluma award, who wrote them, and in what year was the award given?", "List the titles of literary works that won the Gazteluma award, along with their authors and the year they received the award."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3 ?var4Label WHERE { { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q17537576> . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q571> . } BIND ( YEAR ( ?var5 ) AS ?var3 ). ?var1 ( <http://www.wikidata.org/prop/direct/P166> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q25476516> . ?var1 <http://www.wikidata.org/prop/P166> ?var6 . ?var6 ( <http://www.wikidata.org/prop/statement/P166> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q25476516> . ?var6 <http://www.wikidata.org/prop/qualifier/P585> ?var5 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P50> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var4Label . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,eu, fr, es, en\". } }"}}
{"id": "test_2770", "question": "Artworks listed in the Dansk Guldalder Maleri catalog", "sparql": "SELECT ?artwork ?artworkLabel WHERE { ?artwork wdt:P972 wd:Q42661788 . ?artwork rdfs:label ?artworkLabel . FILTER(LANG(?artworkLabel) = \"en\") }", "paraphrases": ["Which paintings are included in the Dansk Guldalder Maleri exhibition catalogue?", "Show me the titles of artworks cataloged in the Dansk Guldalder Maleri book."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P972> <http://www.wikidata.org/entity/Q42661788> . }"}}
{"id": "test_2771", "question": "Is Albin B\u00fchl an instance of a category that is a subclass of software?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  wd:Q9144466 ( wdt:P31 / wdt:P279 * ) wd:Q7397 .\n}", "paraphrases": ["Is Albin B\u00fchl a type of software?", "Check whether Albin B\u00fchl is classified under software or any of its subclasses."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q9144466> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_2772", "question": "Strega Prize winners and the books they won it for", "sparql": "SELECT ?recipient ?recipientLabel ?work ?workLabel WHERE { ?recipient wdt:P166 wd:Q731542 . ?recipient p:P166 ?statement . ?statement pq:P1686 ?work . OPTIONAL { ?recipient rdfs:label ?recipientLabel . FILTER(LANG(?recipientLabel) = \"en\") } OPTIONAL { ?work rdfs:label ?workLabel . FILTER(LANG(?workLabel) = \"en\") } } LIMIT 100", "paraphrases": ["Who won the Strega Prize and for which literary work?", "List the recipients of the Strega Prize along with the specific works that earned them the award."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { } OPTIONAL { } OPTIONAL { } ?var1 <http://www.wikidata.org/prop/direct/P166> <http://www.wikidata.org/entity/Q731542> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1346> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1686> ?var3 . } } LIMIT 100"}}
{"id": "test_2773", "question": "English-speaking novelists born or died in 1918", "sparql": "SELECT ?novelistLabel ?deathDate ?birthDate WHERE { { ?novelist wdt:P569 ?birthDate . } UNION { ?novelist wdt:P570 ?deathDate . } ?novelist wdt:P106 wd:Q6625963 . ?novelist wdt:P1412 wd:Q1860 . FILTER ( ( YEAR( ?birthDate ) = 1918 ) || ( YEAR( ?deathDate ) = 1918 ) ) ?novelist rdfs:label ?novelistLabel . FILTER(LANG(?novelistLabel) = \"en\") } ORDER BY ASC(?deathDate) ASC(?birthDate)", "paraphrases": ["Which novelists who wrote in English were born or died in 1918?", "List the names of English-language novelists from 1918, including those born or deceased that year, sorted by death date and then birth date."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { BIND ( MONTH ( NOW ( ) ) AS ?var4 ). BIND ( DAY ( NOW ( ) ) AS ?var5 ). { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q6625963> . ?var1 <http://www.wikidata.org/prop/direct/P1412> <http://www.wikidata.org/entity/Q1860> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( ( YEAR ( ?var3 ) = \"1918\"^^<http://www.w3.org/2001/XMLSchema#integer> ) || ( YEAR ( ?var2 ) = \"1918\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY ASC( ?var2 )ASC( ?var3 )"}}
{"id": "test_2774", "question": "What country and city is the Smithsonian American Art Museum located in?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?location ?locationLabel WHERE {\n  VALUES ?property {\n    wdt:P30 wdt:P17 wdt:P131 wdt:P376 wdt:P501\n  }\n  wd:Q1192305 ?property ?location .\n  OPTIONAL {\n    ?location rdfs:label ?label1 .\n    FILTER(LANG(?label1) = \"en\")\n  }\n  OPTIONAL {\n    ?location skos:prefLabel ?label2 .\n    FILTER(LANG(?label2) = \"en\")\n  }\n  OPTIONAL {\n    ?location wdt:P1476 ?label3 .\n    FILTER(LANG(?label3) = \"en\")\n  }\n  BIND(COALESCE(?label1 , ?label2 , ?label3 , STR(?location)) AS ?locationLabel)\n}", "paraphrases": ["Can you tell me the administrative and national location of the Smithsonian American Art Museum?", "Where is the Smithsonian American Art Museum situated in terms of country and city?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q1192305> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_2775", "question": "Artworks in the Museu de Belles Arts de Val\u00e8ncia with their images and inventory numbers.", "sparql": "SELECT ?item ?itemLabel ?image ?inventoryNumber WHERE { ?item wdt:P195 wd:Q1748404 . OPTIONAL { ?item wdt:P18 ?image . } OPTIONAL { ?item wdt:P217 ?inventoryNumber . } ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\" || LANG(?itemLabel) = \"\")}", "paraphrases": ["What artworks are in the Museu de Belles Arts de Val\u00e8ncia, and what are their images and inventory numbers?", "Show me the English labels, images from Wikimedia Commons, and inventory numbers of all artworks held by the Museu de Belles Arts de Val\u00e8ncia."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en,de,fr,es,ca,nl,la\". } ?var1 <http://www.wikidata.org/prop/direct/P195> <http://www.wikidata.org/entity/Q1748404> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P217> ?var3 . } }"}}
{"id": "test_2776", "question": "What is the official website of Ventouris Ferries, and which Wikipedia articles are about it?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?company ?companyLabel ?article WHERE {\n  ?company wdt:P856 <http://www.ventouris.gr> .\n  ?article schema:about ?company .\n  ?company rdfs:label ?companyLabel .\n  FILTER(LANG(?companyLabel) = \"en\")\n}", "paraphrases": ["Find the English-labeled company with the official website ventouris.gr and list any Wikipedia pages about it.", "Which Wikipedia pages discuss Ventouris Ferries, given that their official website is http://www.ventouris.gr?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.ventourisferries.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.ventourisferries.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://ventourisferries.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://ventourisferries.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://ventourisferries.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://ventourisferries.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://ventourisferries.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://ventourisferries.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://ventourisferries.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://ventourisferries.com/> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2777", "question": "People buried at Mount Auburn Cemetery and their occupations", "sparql": "SELECT ?person ?personLabel ?occupation ?occupationLabel WHERE { ?person wdt:P119 wd:Q1950363 . ?person wdt:P106 ?occupation . ?person rdfs:label ?personLabel . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?personLabel) = \"en\") FILTER(LANG(?occupationLabel) = \"en\") }", "paraphrases": ["Who are the people buried at Mount Auburn Cemetery and what are their occupations?", "List the names and occupations of all individuals buried at Mount Auburn Cemetery."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label WHERE { ?var3 <http://wikiba.se/ontology#claim> ?var5 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#qualifier> ?var7 . ?var3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var4 <http://wikiba.se/ontology#claim> ?var8 . ?var4 <http://wikiba.se/ontology#qualifier> ?var9 . ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var1 ?var5 ?var10 . ?var10 ?var6 ?var2 . ?var10 ?var9 <http://www.wikidata.org/entity/Q1950363> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2778", "question": "Who are the people buried in Hillside Cemetery in Middletown, New York, and what are their occupations?", "sparql": "SELECT ?person ?personLabel ?occupation ?occupationLabel WHERE { ?person wdt:P119 wd:Q1618821 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") OPTIONAL { ?person wdt:P106 ?occupation . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = \"en\") } } LIMIT 10", "paraphrases": ["List the names and jobs of individuals interred at Hillside Cemetery.", "Can you tell me the names of people buried at Hillside Cemetery and their professions, if available?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label WHERE { ?var3 <http://wikiba.se/ontology#claim> ?var5 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#qualifier> ?var7 . ?var3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var4 <http://wikiba.se/ontology#claim> ?var8 . ?var4 <http://wikiba.se/ontology#qualifier> ?var9 . ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var1 ?var5 ?var10 . ?var10 ?var6 ?var2 . ?var10 ?var9 <http://www.wikidata.org/entity/Q1618821> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2779", "question": "List of aid agencies with their English names.", "sparql": "SELECT ?aidAgency ?aidAgencyLabel WHERE { ?aidAgency wdt:P31 wd:Q336473 . ?aidAgency rdfs:label ?aidAgencyLabel . FILTER(LANG(?aidAgencyLabel) = \"en\") }", "paraphrases": ["What are the English names of all organizations that are classified as aid agencies?", "Show me the English labels of all entities that are instances of aid agencies."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q336473> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_2780", "question": "Top actors who died after 2000 and appeared in the most films or TV shows.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?actorLabel ?deathDate ?workCount WHERE {\n  {\n    SELECT ?actor ( COUNT( DISTINCT ?work ) AS ?workCount ) ?deathDate ?actorLabel WHERE {\n      ?actor wdt:P106 wd:Q33999 ; wdt:P570 ?deathDate .\n      FILTER ( ?deathDate >= \"2000-01-01T00:00:00Z\" ^^ xsd:dateTime ) .\n      ?work wdt:P161 ?actor .\n      ?actor rdfs:label ?actorLabel .\n      FILTER ( LANG( ?actorLabel ) = \"en\" )\n    }\n    GROUP BY ?actor ?deathDate ?actorLabel\n  }\n}\nORDER BY DESC ( ?workCount )", "paraphrases": ["Which actors, who passed away after the year 2000, have appeared in the highest number of movies or TV shows, and how many did they appear in?", "List actors who died after 2000, ordered by how many films or TV shows they were in, along with their death dates and total appearances."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { { SELECT( COUNT ( DISTINCT ?var5 ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> ; <http://www.wikidata.org/prop/direct/P570> ?var3 . ?var5 <http://www.wikidata.org/prop/direct/P161> ?var1 . FILTER ( ( ( ?var3 >= \"2000-00-00T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 } } ORDER BY DESC( ?var4 )"}}
{"id": "test_2781", "question": "Official website of Orkney Ferries and its associated Wikipedia and Commons pages", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?page WHERE {\n  ?item wdt:P856 <http://www.orkneyferries.co.uk/> .\n  ?page schema:about ?item .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER ( LANG( ?itemLabel ) = \"en\" )\n  }\n}", "paraphrases": ["What Wikipedia and Commons pages are about Orkney Ferries, given its official website is http://www.orkneyferries.co.uk/?", "Show me the English label and external pages (like Wikipedia) linked to Orkney Ferries via its official website."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.orkneyferries.co.uk/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.orkneyferries.co.uk/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.orkneyferries.co.uk/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.orkneyferries.co.uk/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.orkneyferries.co.uk> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.orkneyferries.co.uk> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://orkneyferries.co.uk> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://orkneyferries.co.uk> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://orkneyferries.co.uk/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://orkneyferries.co.uk/> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2782", "question": "Wikimedia pages about the movie with IMDb ID tt0045202 in English or German.", "sparql": "SELECT ?movie ?page WHERE { ?movie wdt:P345 \"tt0045202\" . ?page schema:about ?movie . { ?page schema:inLanguage \"en\" . } UNION { ?page schema:inLanguage \"de\" . } }", "paraphrases": ["What Wikipedia or Commons pages about the movie \"The Stranger\u2019s Hand\" are available in English or German?", "Show me all English and German language pages on Wikimedia that are about the movie identified by IMDb ID tt0045202."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0045202\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2783", "question": "What is the English label of the company with the official website getcruise.com, and what Wikipedia articles exist about it in English or German?", "sparql": "SELECT ?entity ?entityLabel ?page ?website WHERE { wd:Q42377899 wdt:P856 ?website . ?entity wdt:P856 ?website . ?entity rdfs:label ?entityLabel . FILTER(LANG(?entityLabel) = \"en\") . ?page schema:about ?entity ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Show me the English name of Cruise LLC and its related Wikipedia pages in English or German.", "Which Wikipedia articles in English or German are about the company that uses getcruise.com as its official website?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://xclusivecruise.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.xclusivecruise.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.xclusivecruise.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://xclusivecruise.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://xclusivecruise.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://xclusivecruise.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://xclusivecruise.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://xclusivecruise.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://xclusivecruise.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://xclusivecruise.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://xclusivecruise.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2784", "question": "Actors who spoke English, died after 2000, and appeared in the most films or TV shows.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?actorLabel ?deathDate(COUNT(DISTINCT ?work) AS ?workCount) WHERE {\n  ?actor wdt:P106 wd:Q33999 ; wdt:P570 ?deathDate ; wdt:P103 wd:Q1860 .\n  ?work wdt:P161 ?actor .\n  FILTER(?deathDate >= \"2000-01-01T00:00:00Z\" ^^ xsd:dateTime)\n  .\n  ?actor rdfs:label ?actorLabel .\n  FILTER(LANG(?actorLabel) = \"en\")\n}\nGROUP BY ?actorLabel ?deathDate\nORDER BY DESC(?workCount)", "paraphrases": ["Which English-speaking actors died after the year 2000, and how many productions did they appear in, ranked from most to least?", "List English-speaking actors who died from 2000 onwards, along with the number of works they appeared in, sorted by popularity."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ( COUNT ( DISTINCT ?var4 ) AS ?var5 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> ; <http://www.wikidata.org/prop/direct/P570> ?var3 . ?var4 <http://www.wikidata.org/prop/direct/P161> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P103> <http://www.wikidata.org/prop/direct/Q1860> . FILTER ( ( ( ?var3 >= \"2000-00-00T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1Label ?var2 ?var3 ORDER BY DESC( ?var5 )"}}
{"id": "test_2785", "question": "Image of Karl Thomas Mozart using SNAC ARK ID w6h16dnk", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6h16dnk\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the Wikimedia Commons image of the person with SNAC ARK ID w6h16dnk?", "Show me the picture of Karl Thomas Mozart from Wikidata, identified by the SNAC ARK ID w6h16dnk."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6h16dnk\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2786", "question": "English and German Wikipedia pages for the movie with IMDb ID tt0301199", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipediaPage WHERE {\n  ?movie wdt:P345 \"tt0301199\" .\n  ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" )\n}", "paraphrases": ["What are the English and German Wikipedia articles for the film Dirty Pretty Things?", "Show me the English and German Wikipedia links for the movie identified by IMDb ID tt0301199."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0301199\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2787", "question": "English and German Wikipedia pages for the movie with IMDb ID tt0093857", "sparql": "SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 \"tt0093857\" . ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["What are the English and German Wikipedia articles for the movie \"Revenge of the Nerds II: Nerds in Paradise\"?", "Show me the Wikipedia links in English and German for the film identified by IMDb ID tt0093857."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0093857\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2788", "question": "Paintings that depict the Sun", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?painting ?paintingLabel WHERE {\n  ?painting wdt:P31 wd:Q3305213 .\n  ?painting wdt:P180 wd:Q525 .\n  ?painting rdfs:label ?paintingLabel .\n  FILTER ( LANG( ?paintingLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Which paintings show the Sun?", "List the English titles of all paintings that feature the Sun as a subject."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . ?var1 <http://www.wikidata.org/prop/direct/P180> <http://www.wikidata.org/entity/Q525> . } LIMIT 100"}}
{"id": "test_2789", "question": "What is the official website and type of Variety Cruises?", "sparql": "SELECT ?label ?website ?instanceOf WHERE { wd:Q24914929 rdfs:label ?label . FILTER(LANG(?label) = \"en\") OPTIONAL { wd:Q24914929 wdt:P856 ?website . } OPTIONAL { wd:Q24914929 wdt:P31 ?instanceOf . } }", "paraphrases": ["Can you tell me the English label, official website, and class type of the company Variety Cruises?", "Show me the label, website, and instance type for Variety Cruises."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P127> <http://www.wikidata.org/entity/Q24914929> . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"en\". ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P127> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2790", "question": "What is the official website of Majestic International Cruises, and which Wikipedia page is about it?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var1 ?var1Label ?var2 WHERE {\n  ?var1 wdt:P856 <http://www.majesticcruises.gr/> .\n  ?var1 rdfs:label ?var1Label .\n  ?var2 schema:about ?var1 .\n}", "paraphrases": ["Find the Wikidata item for the company with the official website majesticcruises.gr and list its English label and related Wikipedia page.", "Which Wikipedia article discusses the cruise company that uses www.majesticcruises.gr as its official website?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.majesticcruises.gr/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.majesticcruises.gr/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.majesticcruises.gr/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.majesticcruises.gr/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.majesticcruises.gr> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.majesticcruises.gr> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://majesticcruises.gr> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://majesticcruises.gr> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://majesticcruises.gr/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://majesticcruises.gr/> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2791", "question": "Who are the employees of the French National Archives?", "sparql": "SELECT ?employee ?employeeLabel WHERE { ?employee wdt:P108 wd:Q182542 . ?employee rdfs:label ?employeeLabel . FILTER(LANG(?employeeLabel) = \"en\") } LIMIT 100", "paraphrases": ["List of people who work or worked at Archives nationales in France", "Can you tell me the names of all individuals employed by the National Archives of France?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } ?var1 <http://www.wikidata.org/prop/direct/P108> <http://www.wikidata.org/entity/Q182542> . } LIMIT 100"}}
{"id": "test_2792", "question": "English Wikipedia page about Rufus (2016 film)", "sparql": "SELECT ?page WHERE { ?page schema:about wd:Q27049570 . FILTER(REGEX(STR(?page), \"en.wikipedia.org\")) }", "paraphrases": ["What is the English Wikipedia article about the 2016 film Rufus?", "Show me the link to the English Wikipedia page for the movie Rufus from 2016."], "info": {"raw_sparql": "SELECT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q27049570> AS ?var2 ). ?var1 <http://schema.org/about> ?var2 . FILTER ( ( REGEX ( STR ( ?var1 ) , \"string1\" ) ) ) . }"}}
{"id": "test_2793", "question": "What types of entities are described in the Dictionary of National Biography, 1885\u20131900?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?type ?typeLabel WHERE {\n  ?item wdt:P1343 wd:Q15987216 ; wdt:P31 ?type .\n  ?type rdfs:label ?typeLabel .\n  FILTER(LANG(?typeLabel) = \"en\")\n}", "paraphrases": ["Can you list the categories of things (like people, places, or works) that are mentioned in the 1885\u20131900 edition of the Dictionary of National Biography?", "What classes of items, besides humans, are referenced in the Dictionary of National Biography?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P1343> <http://www.wikidata.org/entity/Q15987216> ; <http://www.wikidata.org/prop/direct/P31> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_2794", "question": "What are some organizations with a legal form, and what are their names?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ( SAMPLE( ?label ) AS ?itemLabel ) WHERE {\n  ?item wdt:P1454 ?legalForm .\n  ?item rdfs:label ?label .\n}\nGROUP BY ?item\nLIMIT 11", "paraphrases": ["Can you list up to 11 entities that have a legal structure defined in Wikidata, along with their labels?", "Show me examples of organizations with a legal form and their names in any language."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1454> _:bnode . } LIMIT 11 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2795", "question": "English and German Wikipedia pages for the film with IMDb ID tt1541160", "sparql": "SELECT ?item ?wikipedia_page WHERE { ?item wdt:P345 \"tt1541160\" . ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang IN (\"en\", \"de\")) }", "paraphrases": ["What are the English and German Wikipedia articles for the movie Flypaper (IMDb tt1541160)?", "Show me the Wikipedia pages in English and German about the film identified by IMDb ID tt1541160."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1541160\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2796", "question": "Sources that describe humans", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?source ?sourceLabel WHERE {\n  ?human wdt:P31 wd:Q5 ; wdt:P1343 ?source .\n  FILTER ( isIRI( ?source ) ) OPTIONAL {\n    ?source rdfs:label ?sourceLabel .\n    FILTER ( LANG( ?sourceLabel ) = \"en\" )\n  }\n}", "paraphrases": ["What books, articles, or publications mention or describe any human being?", "List all reference works that contain information about people."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P1343> ?var1 . }"}}
{"id": "test_2797", "question": "How many people listed in the Oxford Dictionary of National Biography have an ID number below 55,000?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nSELECT(COUNT(DISTINCT ?person) AS ?count) WHERE {\n  ?person wdt:P1415 ?odnb_id .\n  FILTER(xsd:integer(?odnb_id) < 55000)\n}", "paraphrases": ["What is the count of individuals in Wikidata with an ODNB ID less than 55,000?", "How many biographical entries in the Oxford Dictionary of National Biography use an ID number under 55,000?"], "info": {"raw_sparql": "SELECT( COUNT ( DISTINCT ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1415> ?var3 . FILTER ( ( ( STR ( ?var3 ) < \"55000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . }"}}
{"id": "test_2798", "question": "What are the English or German Wikipedia pages for the movie with IMDb ID tt6567012?", "sparql": "SELECT ?item ?wikipediaPage WHERE { ?item wdt:P345 \"tt6567012\" . ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Find the Wikipedia articles in English or German about the film identified by IMDb ID tt6567012.", "Which Wikipedia pages in English or German discuss the movie with the IMDb identifier tt6567012?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6567002\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2799", "question": "What are the notable works of Nobel Prize in Literature winners, listed in chronological order of when they won the prize?", "sparql": "SELECT DISTINCT ?var1Label ?var2 ?var2Label WHERE { ?var1 p:P166 ?var3 . ?var3 ps:P166 wd:Q37922 ; pq:P585 ?var4 . ?var1 wdt:P800 ?var2 . ?var1 rdfs:label ?var1Label . ?var2 rdfs:label ?var2Label . FILTER(LANG(?var1Label) = \"en\") FILTER(LANG(?var2Label) = \"en\") } ORDER BY ASC(?var4)", "paraphrases": ["List the books or literary works associated with each Nobel laureate in Literature, along with the year they received the award.", "Who won the Nobel Prize in Literature, and what are their most famous writings, sorted by the year they were awarded?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/P166> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P166> <http://www.wikidata.org/entity/Q37922> ; <http://www.wikidata.org/prop/qualifier/P585> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P800> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var4 )"}}
{"id": "test_2800", "question": "Nominees for the Grammy Award for Best New Artist", "sparql": "SELECT ?nominee ?nomineeLabel WHERE { ?nominee wdt:P1411 wd:Q1453643 . ?nominee rdfs:label ?nomineeLabel . FILTER(LANG(?nomineeLabel) = \"en\") } LIMIT 10", "paraphrases": ["Who were nominated for the Grammy Award for Best New Artist?", "List the artists or bands nominated for the Grammy Award for Best New Artist."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1411> <http://www.wikidata.org/entity/Q1453643> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 10"}}
{"id": "test_2801", "question": "What are some conservation organizations in the world?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?organization ?organizationLabel WHERE {\n  ?organization wdt:P31 wd:Q1899015 .\n  ?organization rdfs:label ?organizationLabel .\n  FILTER ( LANG( ?organizationLabel ) = \"en\" )\n}\nLIMIT 21", "paraphrases": ["Can you list up to 21 conservation organizations with their English names?", "Show me the names of organizations dedicated to nature conservation."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1899015> . } LIMIT 21 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2802", "question": "English and German Wikipedia pages for the movie with IMDb ID tt1727776", "sparql": "SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 \"tt1727776\" . ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["What are the English and German Wikipedia articles for the movie \"Scouts vs. Zombies\"?", "Show me the Wikipedia pages in English and German about the movie identified by IMDb ID tt1727776."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1727776\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2803", "question": "English and German Wikipedia pages for the movie with IMDb ID tt1758570", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?wikipediaPage WHERE {\n  ?movie wdt:P345 \"tt1758570\" .\n  ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n}", "paraphrases": ["What are the English and German Wikipedia articles for the movie \"Battle of Los Angeles\"?", "Show me the Wikipedia pages in English and German about the movie identified by IMDb ID tt1758570."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1758570\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2804", "question": "What are the English and German Wikipedia or Wikiquote pages for the movie with IMDb ID tt3627704?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?page WHERE {\n  ?movie wdt:P345 \"tt3627704\" .\n  ?page schema:about ?movie .\n  {\n    ?page schema:inLanguage \"en\" .\n  } UNION {\n    ?page schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Show me the language-specific pages about the movie Phantasm: Ravager on Wikipedia and Wikiquote.", "Which language versions of Wikipedia or Wikiquote have articles about the film identified by tt3627704?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt3627704\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2805", "question": "What are some organizations and their names in different languages?", "sparql": "SELECT DISTINCT ?organization ?label WHERE { ?organization (wdt:P31 / wdt:P279*) wd:Q43229 . ?organization rdfs:label ?label . FILTER(STRSTARTS(STR(?organization), \"http://www.wikidata.org/entity/Q\")) } ORDER BY ?organization LIMIT 100", "paraphrases": ["Can you list entities classified as organizations in Wikidata, along with their labels in all languages?", "Show me up to 100 organizations and their multilingual labels, excluding lexical senses."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q43229> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } LIMIT 100"}}
{"id": "test_2806", "question": "Who has won the Louis Delluc Prize?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?winner ?winnerLabel WHERE {\n  wd:Q734335 wdt:P1346 ?winner .\n  ?winner rdfs:label ?winnerLabel .\n  FILTER ( LANG( ?winnerLabel ) = \"en\" )\n}\nORDER BY ?winnerLabel", "paraphrases": ["List the recipients of the Louis Delluc Prize", "Winners of the Louis Delluc Prize"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q734335> <http://www.wikidata.org/prop/direct/P1346> ?var1 . }"}}
{"id": "test_2807", "question": "Who are the Nobel Prize in Literature winners and who influenced them?", "sparql": "SELECT ?laureate ?laureateLabel ?influencer ?influencerLabel WHERE { ?laureate wdt:P166 wd:Q37922 . OPTIONAL { ?laureate wdt:P737 ?influencer . } ?laureate rdfs:label ?laureateLabel . OPTIONAL { ?influencer rdfs:label ?influencerLabel . } } LIMIT 10", "paraphrases": ["Can you list the authors who won the Nobel Prize in Literature and the people or works that inspired them?", "Show me the recipients of the Nobel Prize in Literature along with their intellectual influences."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P166> <http://www.wikidata.org/entity/Q37922> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P737> ?var2 . } }"}}
{"id": "test_2808", "question": "Image of the person with SNAC ARK ID w6tq6x73", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6tq6x73\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image of the individual identified by the SNAC ARK ID w6tq6x73?", "Show me the Wikimedia Commons image linked to the Social Networks and Archival Context record w6tq6x73."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6tq6x73\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2809", "question": "Which public companies have the most Wikipedia language editions?", "sparql": "SELECT ?company (COUNT(?site) AS ?sitelinkCount) WHERE { ?company wdt:P31 wd:Q891723 . ?site schema:about ?company ; schema:isPartOf ?wiki . } GROUP BY ?company ORDER BY DESC(?sitelinkCount) LIMIT 1000", "paraphrases": ["List the top 1000 publicly traded companies ordered by how many Wikipedia articles exist about them.", "Show me the public companies with the highest number of sitelinks on Wikipedia."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q891723> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 1000"}}
{"id": "test_2810", "question": "English or German Wikipedia page for the movie with IMDb ID tt1267379", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipediaPage WHERE {\n  ?item wdt:P345 \"tt1267379\" .\n  ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" )\n}", "paraphrases": ["What is the English or German Wikipedia page for the movie \"Dead Space: Downfall\"?", "Show me the Wikipedia page in English or German for the film identified by IMDb ID tt1267379."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1267379\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2811", "question": "Churches in Jelgava with their coordinates", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?church ?churchLabel ?coordinates WHERE {\n  ?church ( wdt:P31 / wdt:P279 * ) wd:Q16970 .\n  ?church wdt:P131 wd:Q179830 .\n  ?church wdt:P625 ?coordinates .\n  ?church rdfs:label ?churchLabel .\n  FILTER ( LANG( ?churchLabel ) = \"en\" )\n}", "paraphrases": ["What are the names and locations of church buildings in Jelgava?", "List all church buildings in Jelgava along with their geographic coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q16970> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q179830> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru,lv\". } }"}}
{"id": "test_2812", "question": "How many entities in Wikidata are instances of a subclass of corporation?", "sparql": "SELECT (COUNT(DISTINCT ?corporation) AS ?count) WHERE { ?corporation wdt:P31 ?subclass . ?subclass wdt:P279 wd:Q167037 . }", "paraphrases": ["What is the total number of corporations and their subtypes in Wikidata?", "Count all organizations in Wikidata that are legally incorporated as corporations."], "info": {"raw_sparql": "SELECT( COUNT ( DISTINCT ?var1 ) AS ?var2 ) WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q167037> . } LIMIT 500"}}
{"id": "test_2813", "question": "Librarians born before 1800 with their birth dates and images.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nSELECT ?person ?personLabel ?birthDate ?image WHERE {\n  ?person ( wdt:P106 / wdt:P279 * ) wd:Q182436 ; wdt:P569 ?birthDate ; rdfs:label ?personLabel .\n  FILTER ( lang( ?personLabel ) = \"en\" ) FILTER ( ?birthDate < \"1800-01-01\" ^^ xsd:date ) OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n}", "paraphrases": ["Who were the librarians or people in librarian-related professions born before 1800, and what are their birth dates and images?", "List all English-labeled individuals whose occupation is a subclass of librarian and who were born before 1800, along with their birth dates and any available images."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q182436> ; <http://www.wikidata.org/prop/direct/P569> ?var3 . FILTER ( ( ( ?var3 < \"1800\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_2814", "question": "English or German Wikipedia page for the movie with IMDb ID tt1482967", "sparql": "SELECT ?movie ?wikipediaPage WHERE { ?movie wdt:P345 \"tt1482967\" . ?wikipediaPage schema:about ?movie . { ?wikipediaPage schema:inLanguage \"en\" . } UNION { ?wikipediaPage schema:inLanguage \"de\" . } }", "paraphrases": ["What is the English or German Wikipedia page for the movie \"Monsters vs. Aliens: Mutant Pumpkins from Outer Space\"?", "Show me the Wikipedia page in English or German for the movie identified by IMDb ID tt1482967."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1482967\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2815", "question": "What English and German language pages are about the movie with IMDb ID tt1714206?", "sparql": "SELECT ?movie ?page WHERE { ?movie wdt:P345 \"tt1714206\" . ?page schema:about ?movie . ?page schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Show me the Wikipedia and Wikiquote pages in English and German for the film \"The Spectacular Now\".", "Which language versions of pages linked to the movie \"The Spectacular Now\" are available in English or German?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1714206\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2816", "question": "Who are the recipients of the Nobel Prize in Chemistry, their native names, and their countries of citizenship in Spanish?", "sparql": "SELECT ?person ?nativeName ?countryLabel ?awardLabel WHERE { ?person wdt:P166 wd:Q44585 . ?person wdt:P31 wd:Q5 . ?person wdt:P1559 ?nativeName . ?person wdt:P27 ?country . ?country rdfs:label ?countryLabel . FILTER (LANG(?countryLabel) = \"es\") . wd:Q44585 rdfs:label ?awardLabel . FILTER (LANG(?awardLabel) = \"es\") .}", "paraphrases": ["Which humans have received the Nobel Prize in Chemistry, what are their native names, and which countries do they belong to, with country names displayed in Spanish?", "List all Nobel Prize in Chemistry winners, including their native names and Spanish names of their countries of citizenship, along with the Spanish name of the award."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P166> <http://www.wikidata.org/entity/Q44585> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P1559> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P27> ?var5 . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"es\" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/Q44585> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2817", "question": "What is the Italian label and description of the Wikidata property used to indicate someone's occupation as a university teacher?", "sparql": "SELECT ?property ?propertyLabel ?propertyDescription WHERE { wd:P106 rdfs:label ?propertyLabel . wd:P106 schema:description ?propertyDescription . FILTER(LANG(?propertyLabel) = \"it\") . FILTER(LANG(?propertyDescription) = \"it\") }", "paraphrases": ["Which property in Wikidata assigns \"university teacher\" as an occupation, and how is it labeled and described in Italian?", "In Italian, what is the name and definition of the Wikidata property for occupation that includes \"university teacher\"?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q1622272> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"it\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"it\" ) ) ) . } LIMIT 100"}}
{"id": "test_2818", "question": "English and German Wikipedia pages for the movie with IMDb ID tt0112792", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikiPage WHERE {\n  VALUES ?imdbId {\n    \"tt0112792\"\n  }\n  ?movie wdt:P345 ?imdbId .\n  ?wikiPage schema:about ?movie .\n  {\n    ?wikiPage schema:inLanguage \"en\" .\n  } UNION {\n    ?wikiPage schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["What are the English and German Wikipedia articles for the movie \"Dangerous Minds\"?", "Show me the English and German Wikipedia links for the film identified by IMDb ID tt0112792."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0112792\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2819", "question": "English and German Wikipedia pages for the movie with IMDb ID tt0013427", "sparql": "SELECT ?item ?page WHERE { ?item wdt:P345 \"tt0013427\" . ?page schema:about ?item ; schema:inLanguage ?lang . FILTER(STRSTARTS(STR(?page), \"https://en.wikipedia.org/wiki/\") || STRSTARTS(STR(?page), \"https://de.wikipedia.org/wiki/\")) }", "paraphrases": ["What are the English and German Wikipedia articles about the film Nanook of the North?", "Show me the Wikipedia pages in English and German about the movie identified by IMDb ID tt0013427."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0013427\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2820", "question": "Organizations and their multilingual descriptions in Wikidata.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?organization ?description WHERE {\n  ?organization wdt:P31 wd:Q43229 .\n  OPTIONAL {\n    ?organization schema:description ?description .\n  }\n}", "paraphrases": ["What are all the organizations in Wikidata and what descriptions are available for them in different languages?", "Show me a list of all organizations along with their descriptions in all languages."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q43229> . OPTIONAL { ?var1 <http://schema.org/description> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2821", "question": "Who are Napoleon Bonaparte\u2019s grandmothers?", "sparql": "SELECT DISTINCT ?grandmother ?parent WHERE { ?grandmother wdt:P21 wd:Q6581072 . ?grandmother wdt:P40 ?parent . ?parent wdt:P40 wd:Q517 . }", "paraphrases": ["Which women are the mothers of Napoleon\u2019s father and mother?", "Can you tell me the female ancestors who are the mothers of Napoleon Bonaparte\u2019s parents?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/P21> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/P40> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P40> ?var2 . ?var2 <http://www.wikidata.org/prop/P40> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P40> <http://www.wikidata.org/entity/Q517> . } LIMIT 101"}}
{"id": "test_2822", "question": "List of people affiliated with KU Leuven and their Who's Who IDs.", "sparql": "SELECT ?person (SAMPLE(?label) AS ?personLabel) ?kuLeuvenId WHERE { ?person wdt:P3237 ?kuLeuvenId . ?person rdfs:label ?label . } GROUP BY ?person ?kuLeuvenId", "paraphrases": ["Who are the people associated with KU Leuven, and what are their identifiers in the KU Leuven Who's Who database?", "Please provide the names and KU Leuven person IDs of all individuals listed in the KU Leuven Who's Who database."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3237> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_2823", "question": "English and German Wikipedia pages for the movie with IMDb ID tt0133093", "sparql": "SELECT ?item ?wikipediaPage ?language WHERE { ?item wdt:P345 \"tt0133093\" . ?wikipediaPage schema:about ?item ; schema:inLanguage ?language . FILTER(?language = \"en\" || ?language = \"de\") }", "paraphrases": ["What are the English and German Wikipedia pages about the movie \"The Matrix\"?", "Show me the Wikipedia pages in English and German that are about the film with IMDb ID tt0133093."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0160863\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2824", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt1145144?", "sparql": "SELECT ?movie ?wikipediaPage ?imdbId WHERE { ?movie wdt:P345 ?imdbId . ?wikipediaPage schema:about ?movie . { ?wikipediaPage schema:inLanguage \"en\" . } UNION { ?wikipediaPage schema:inLanguage \"de\" . } FILTER(?imdbId = \"tt1145144\") }", "paraphrases": ["Which Wikipedia pages in English or German are about the movie identified by the IMDb ID tt1145144?", "Show me the movie, its Wikipedia page (in English or German), and its IMDb ID for the movie with IMDb ID tt1145144."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1145144\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2825", "question": "British university teachers with birth dates and genders", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?birthDate ?gender ?personLabel WHERE {\n  ?person wdt:P106 wd:Q1622272 .\n  ?person wdt:P569 ?birthDate .\n  ?person wdt:P21 ?gender .\n  ?person wdt:P27 wd:Q145 .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Who are the British university teachers, and what are their birth dates and genders?", "List up to 100 British university teachers along with their date of birth, gender, and English name."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1622272> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 ; <http://www.wikidata.org/prop/direct/P21> ?var3 ; <http://www.wikidata.org/entity/Q42> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_2826", "question": "Anatomical entities with English labels but no Arabic labels.", "sparql": "SELECT ?entity ?label WHERE { { ?entity wdt:P31 wd:Q27043950 . } UNION { ?entity wdt:P279 wd:Q27043950 . } ?entity rdfs:label ?label . FILTER (LANG(?label) = \"en\") FILTER NOT EXISTS { ?entity rdfs:label ?arLabel . FILTER (LANG(?arLabel) = \"ar\") } FILTER NOT EXISTS { ?entity skos:altLabel ?arAltLabel . FILTER (LANG(?arAltLabel) = \"ar\") } }", "paraphrases": ["Which anatomical entities have an English name but no Arabic name or alternative label?", "List all anatomical entities that are labeled in English and do not have any Arabic label or alternative label."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q27043950> . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } FILTER ( ( NOT EXISTS { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"ar\" ) ) ) . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"ar\" ) ) ) . } ) ) . }"}}
{"id": "test_2827", "question": "What properties are most commonly used to indicate someone is a university teacher?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(COUNT(?entity) AS ?count) ?propertyLabel WHERE {\n  ?entity ?property wd:Q1622272 .\n  BIND(SUBSTR(STR(?property) , 40) AS ?propId)\n  BIND(IRI(CONCAT(\"http://www.wikidata.org/entity/\" , ?propId)) AS ?propEntity)\n  ?propEntity rdfs:label ?propertyLabel .\n  FILTER(LANG(?propertyLabel) = \"en\")\n}\nGROUP BY ?property ?propertyLabel\nHAVING(?count > 1)\nORDER BY DESC(?count)", "paraphrases": ["Which properties in Wikidata are most frequently used to state that a person is a university teacher, and how often are they used?", "Show me the properties that link to university teacher (Q1622272) along with their usage counts, sorted from most to least frequent."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q1622272> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_2828", "question": "Actors and the number of awards they have received", "sparql": "SELECT ?actor ( COUNT( ?award ) AS ?awardCount ) WHERE { ?actor wdt:P106 wd:Q33999 . ?actor wdt:P166 ?award . } GROUP BY ?actor", "paraphrases": ["How many awards have each actor received?", "List all actors along with the count of awards they have won."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . ?var1 <http://www.wikidata.org/prop/direct/P166> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } } GROUP BY ?var1"}}
{"id": "test_2829", "question": "What are the types of joint-stock companies?", "sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 wdt:P279 wd:Q134161 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") } LIMIT 11", "paraphrases": ["What are some specific kinds of joint-stock companies, such as public corporations or open joint-stock companies?", "List the subclasses of joint-stock company in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q134161> . } LIMIT 11 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2830", "question": "Entities that are businesses or subclasses of businesses and their types", "sparql": "SELECT ?entity ?entityLabel ?type WHERE { ?entity wdt:P31 ?type . ?type wdt:P279* wd:Q4830453 . ?entity rdfs:label ?entityLabel . FILTER(LANG(?entityLabel) = \"en\") } LIMIT 10", "paraphrases": ["What are some companies or organizations classified as businesses, and what specific types do they belong to?", "List examples of businesses along with their classification types, such as software company or public utility."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q4830453> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Reverse\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> \"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P31> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2831", "question": "Who are the actors born in Germany?", "sparql": "SELECT ?actor WHERE { ?actor wdt:P106 wd:Q1734662 ; wdt:P19 wd:Q727 . }", "paraphrases": ["List all people whose occupation is actor and who were born in Germany.", "Show me individuals from Germany who work as actors."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q42429118> <https://www.wikidata.org/wiki/Property:P106> <https://www.wikidata.org/wiki/Q1734662> ; <https://www.wikidata.org/wiki/Property:P19> <https://www.wikidata.org/wiki/Q727> . }"}}
{"id": "test_2832", "question": "English and German Wikipedia pages for the movie with IMDb ID tt0133093", "sparql": "SELECT ?article ?language WHERE { ?item wdt:P345 \"tt0133093\" . ?article schema:about ?item . ?article schema:inLanguage ?language . FILTER(?language = \"en\" || ?language = \"de\") }", "paraphrases": ["What are the English and German Wikipedia articles about the movie \"The Matrix\"?", "Show me the English and German language Wikipedia pages for the film identified by IMDb ID tt0133093."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1814644\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2833", "question": "Who were the people born in 1962 that won an Academy Award?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person WHERE {\n  ?person wdt:P31 wd:Q5 ; wdt:P166 ?award ; wdt:P569 ?birthDate .\n  ?award wdt:P31 wd:Q19020 .\n  FILTER(?birthDate >= \"1962-01-01\" ^^ xsd:date && ?birthDate < \"1963-01-01\" ^^ xsd:date)\n}", "paraphrases": ["List all humans who received an Oscar and were born in 1962.", "Which Oscar-winning individuals have a birth date in the year 1962?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P166> [ <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19020> ] ; <http://www.wikidata.org/prop/direct/P569> ?var2 . FILTER ( ( ( \"1962-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> <= ?var2 ) && ( ?var2 < \"1962-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2834", "question": "What are the English and German Wikipedia or Wikiquote pages about the movie with IMDb ID tt0497465?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?page WHERE {\n  VALUES ?imdbId {\n    \"tt0497465\"\n  }\n  ?movie wdt:P345 ?imdbId .\n  ?page schema:about ?movie .\n  ?page schema:inLanguage ?lang .\n  VALUES ?lang {\n    \"en\" \"de\"\n  }\n}", "paraphrases": ["Can you find the language-specific pages (in English or German) linked to the movie Vicky Cristina Barcelona via its IMDb identifier?", "Show me the Wikipedia and Wikiquote pages in English and German that are about the film identified by tt0497465."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0497465\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2835", "question": "Occupations of people who have won an Academy Award.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?occupation WHERE {\n  ?person wdt:P106 ?occupation .\n  ?person wdt:P166 ?award .\n  ?award wdt:P31 wd:Q19020 .\n}", "paraphrases": ["What occupations do Academy Award winners have?", "List all the different jobs held by individuals who have received an Oscar."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P106> ?var1 . ?var2 <http://www.wikidata.org/prop/direct/P166> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19020> . }"}}
{"id": "test_2836", "question": "Is Double Commander classified as software based on its type and inheritance hierarchy?", "sparql": "ASK WHERE {\n  wd:Q4037550 (wdt:P31/wdt:P279*) wd:Q7397 .\n}", "paraphrases": ["Does Double Commander belong to a category that is a subclass of software?", "Is Double Commander considered software according to Wikidata\u2019s classification system?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q4037550> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_2837", "question": "Superclasses of teacher in Wikidata", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?superclass ?superclassLabel WHERE {\n  wd:Q37226 wdt:P279 ?superclass .\n  ?superclass rdfs:label ?superclassLabel .\n  FILTER ( LANG( ?superclassLabel ) = \"en\" )\n}", "paraphrases": ["What categories is a teacher a subclass of?", "List the broader occupational categories that include teaching."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q37226> <http://www.wikidata.org/prop/direct/P279> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_2838", "question": "What are the details of the award Albert Einstein received in 1921?", "sparql": "SELECT ?property ?value WHERE { wd:Q937 p:P166 ?statement . ?statement ps:P166 wd:Q38104 . ?statement ?property ?value . FILTER(?property IN (ps:P166, pq:P585)) }", "paraphrases": ["Which award did Albert Einstein get, and when was it awarded?", "Show the property and value pairs for Albert Einstein\u2019s Nobel Prize in Physics statement."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q28922670-A39F0BEE-4162-4D00-ACB1-DE448A63110F> ?var1 ?var2 . }"}}
{"id": "test_2839", "question": "Top countries by total awards won by living actors born after 1891, including successor states.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?countryLabel ( COUNT( ?award ) AS ?totalAwards ) ?successorCountry WHERE {\n  ?actor wdt:P106 wd:Q33999 ; wdt:P569 ?birth ; wdt:P27 ?country ; wdt:P166 ?award .\n  FILTER ( ?birth >= \"1892-01-01T00:00:00Z\" ^^ xsd:dateTime ) FILTER ( NOT EXISTS {\n    ?actor wdt:P570 ?death\n  }\n  ) ?country rdfs:label ?countryLabel .\n  FILTER ( LANG( ?countryLabel ) = \"en\" ) OPTIONAL {\n    ?country wdt:P156 ?successor\n  }\n  BIND( IF( BOUND( ?successor ) , ?successor , \"-1\" ) AS ?successorCountry )\n}\nGROUP BY ?country ?countryLabel ?successorCountry\nORDER BY DESC ( ?totalAwards )", "paraphrases": ["Which countries have produced the most award-winning living actors born since 1892, and what countries succeeded them?", "Show me the total number of awards received by living actors born from 1892 onward, grouped by their country of citizenship, along with any successor countries \u2014 sorted by highest award count."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } { SELECT( SAMPLE ( ?var4 ) AS ?var1 )( SUM ( ?var5 ) AS ?var2 ) WHERE { { SELECT( SAMPLE ( ?var6 ) AS ?var7 )( SAMPLE ( ?var1 ) AS ?var4 )( COUNT ( ?var8 ) AS ?var5 ) WHERE { ?var6 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> ; <http://www.wikidata.org/prop/direct/P166> ?var8 ; <http://www.wikidata.org/prop/direct/P569> ?var9 ; <http://www.wikidata.org/prop/direct/P27> ?var1 . OPTIONAL { ?var6 <http://www.wikidata.org/prop/direct/P570> ?var10 . } FILTER ( ( !( BOUND ( ?var10 ) ) ) ) . FILTER ( ( ( ?var9 >= \"1892-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . } GROUP BY ?var6 } } GROUP BY ?var4 } ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var11 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P156> ?var12 . } BIND ( IF ( BOUND ( ?var12 ) , ?var12 , \"-1\" ) AS ?var3 ). } ORDER BY DESC( ?var2 )"}}
{"id": "test_2840", "question": "Subclasses of company and their qualifiers", "sparql": "SELECT ?companyType ?statement (SAMPLE(?qualifierProperty) AS ?sampleQualifier) WHERE { ?companyType p:P279 ?statement . ?statement ps:P279 wd:Q783794 . OPTIONAL { ?statement ?qualifierProperty ?qualifierValue . wd:P279 wikibase:qualifier ?qualifierProperty . } } GROUP BY ?companyType ?statement LIMIT 101", "paraphrases": ["What are the top 101 types of companies and what qualifiers are used on their subclass relationships?", "List the top 101 entities that are subclasses of company, along with any qualifier properties used on their subclass-of statements."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P279> <http://www.wikidata.org/entity/Q783794> . ?var1 <http://www.wikidata.org/prop/P279> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_2841", "question": "Actors born in Germany", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person WHERE {\n  ?person wdt:P106 wd:Q1734662 ; wdt:P19 wd:Q727 .\n}", "paraphrases": ["Who are the actors that were born in Germany?", "List all people who are actors and were born in Germany."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q29221486> <https://www.wikidata.org/wiki/Property:P106> <https://www.wikidata.org/wiki/Q1734662> ; <https://www.wikidata.org/wiki/Property:P19> <https://www.wikidata.org/wiki/Q727> . }"}}
{"id": "test_2842", "question": "List entities located in Bristol with their English labels and statement identifiers.", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT DISTINCT ?item ?itemLabel ?statement WHERE {\n  ?statement ps:P131 wd:Q23154 .\n  ?item p:P131 ?statement .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = 'en')\n}\nLIMIT 101", "paraphrases": ["What are the items located in Bristol, and what are their English names and statement nodes?", "Show me up to 101 places or events in Bristol, including their English names and the unique statement identifiers for their location."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P131> <http://www.wikidata.org/entity/Q23154> . ?var1 <http://www.wikidata.org/prop/P131> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_2843", "question": "What is the English or German Wikipedia page title for the film with IMDb ID tt6147514?", "sparql": "SELECT ?item ?wikipediaPageTitle ?imdbId WHERE { ?item wdt:P345 ?imdbId . ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang ; schema:name ?wikipediaPageTitle . FILTER(?lang = \"en\" || ?lang = \"de\") FILTER(STRSTARTS(STR(?wikipediaPage), \"https://\")) FILTER(?imdbId = \"tt6147514\") }", "paraphrases": ["Which Wikipedia article in English or German is about the movie identified by IMDb ID tt6147514, and what is its title?", "Please provide the title of the English or German Wikipedia page for the film that has the IMDb ID tt6147514."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6147514\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2844", "question": "Is Stanis\u0142aw Duszewski a software developer?", "sparql": "ASK WHERE { wd:Q9341840 wdt:P106 wd:Q183888 . }", "paraphrases": ["Does Stanis\u0142aw Duszewski have the occupation of software developer?", "Check whether Stanis\u0142aw Duszewski works as a software developer."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q9341840> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_2845", "question": "Actors and the awards they have received, in English.", "sparql": "SELECT DISTINCT ?person ?personLabel ?awardLabel WHERE { ?person (wdt:P106/wdt:P279*) wd:Q33999 . ?person wdt:P166 ?award . ?award rdfs:label ?awardLabel . ?person rdfs:label ?personLabel . FILTER(LANG(?awardLabel) = \"en\") FILTER(LANG(?personLabel) = \"en\") } ORDER BY ?personLabel", "paraphrases": ["Which actors have won awards, and what are the names of those awards?", "List all people whose occupation is actor (or a subclass of actor) along with the English labels of the awards they have received."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q33999> . ?var1 <http://www.wikidata.org/prop/P166> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var3 )"}}
{"id": "test_2846", "question": "Film actors with awards labeled in Romanian", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?actor ( GROUP_CONCAT( DISTINCT ?awardLabel ; SEPARATOR = \"; \" ) AS ?awards ) WHERE {\n  ?actor wdt:P106 wd:Q10800557 .\n  ?actor wdt:P166 ?award .\n  ?award rdfs:label ?awardLabel .\n  FILTER ( LANGMATCHES( LANG( ?awardLabel ) , \"ro\" ) )\n}\nGROUP BY ?actor\nLIMIT 10", "paraphrases": ["Which film actors have received awards with Romanian-language labels, and what are those awards?", "List film actors and their Romanian-language award names, grouped by actor, up to 10 results."], "info": {"raw_sparql": "SELECT ?var1 ( GROUP_CONCAT ( DISTINCT ?var2Label ; SEPARATOR = \"; \" ) AS ?var2Label ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q10800557> . ?var1 <http://www.wikidata.org/prop/direct/P166> ?var2 . { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ro,jp\". ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } FILTER ( ( LANGMATCHES ( LANG ( ?var2Label ) , \"ro\" ) ) ) . } } GROUP BY ?var1 LIMIT 10"}}
{"id": "test_2847", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0115940?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipediaPage WHERE {\n  ?movie wdt:P345 \"tt0115940\" .\n  ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" )\n}", "paraphrases": ["Show me the Wikipedia articles in English and German about the film identified by tt0115940.", "Which Wikipedia pages in English and German discuss the movie A Summer's Tale?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0115940\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2848", "question": "List all Bambi Award editions along with their previous and next editions, sorted alphabetically by name.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?awardEdition ?previousEdition ?nextEdition ?awardLabel WHERE {\n  ?awardEdition wdt:P1269 wd:Q630018 .\n  OPTIONAL {\n    ?awardEdition wdt:P155 ?previousEdition .\n  }\n  OPTIONAL {\n    ?awardEdition wdt:P156 ?nextEdition .\n  }\n  ?awardEdition rdfs:label ?awardLabel .\n}\nORDER BY ASC ( ?awardLabel )", "paraphrases": ["What are the Bambi Award editions, and which editions came before and after each one?", "Show me the sequence of Bambi Award editions, including the one that preceded and followed each, ordered by the award\u2019s label."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1269> <http://www.wikidata.org/entity/Q630018> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P155> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P156> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_2849", "question": "What is the image of David Hamilton in the SNAC ARK ID system?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6s76c5f\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Show the Wikimedia Commons image associated with the SNAC ARK ID w6s76c5f.", "Can you find the photo of the person identified by SNAC ARK ID w6s76c5f?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6s76c5f\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2850", "question": "What is the image of the person with SNAC ARK ID w64189bn?", "sparql": "SELECT ?image WHERE {\n  ?item wdt:P3430 \"w64189bn\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Can you find the Wikimedia Commons image associated with the SNAC ARK ID w64189bn?", "Show the image linked to the archival record identified by w64189bn in SNAC."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w64189bn\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2851", "question": "What English and German Wikipedia and Wikiquote pages are about the movie with IMDb ID tt1397514?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?page WHERE {\n  ?movie wdt:P345 \"tt1397514\" .\n  ?page schema:about ?movie .\n  ?page schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" )\n}", "paraphrases": ["Show me the English and German Wikimedia pages related to the movie identified by IMDb ID tt1397514.", "Find all English and German language pages on Wikimedia that are about the film with IMDb ID tt1397514."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1397514\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2852", "question": "Actors with at least three films nominated for Best Picture, and the films ordered by Wikidata ID.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?actor ?actorLabel ?film1Label ?film2Label ?film3Label WHERE {\n  ?film1 wdt:P161 ?actor ; p:P1411 ?nom1 .\n  ?nom1 ps:P1411 wd:Q102427 .\n  ?film2 wdt:P161 ?actor ; p:P1411 ?nom2 .\n  ?nom2 ps:P1411 wd:Q102427 .\n  ?film3 wdt:P161 ?actor ; p:P1411 ?nom3 .\n  ?nom3 ps:P1411 wd:Q102427 .\n  FILTER ( ?film1 < ?film2 && ?film2 < ?film3 ) .\n  ?actor rdfs:label ?actorLabel .\n  ?film1 wdt:P1476 ?film1Label .\n  ?film2 wdt:P1476 ?film2Label .\n  ?film3 wdt:P1476 ?film3Label .\n  FILTER ( lang( ?actorLabel ) = \"en\" ) FILTER ( lang( ?film1Label ) = \"en\" ) FILTER ( lang( ?film2Label ) = \"en\" ) FILTER ( lang( ?film3Label ) = \"en\" )\n}", "paraphrases": ["Which actors have appeared in three or more films that were nominated for the Academy Award for Best Picture, and what are those films in order of their Wikidata identifiers?", "List all actors who have been in at least three Best Picture-nominated films, along with every possible combination of three such films, sorted by their Wikidata IDs."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4Label ?var5Label WHERE { ?var3 <http://www.wikidata.org/prop/direct/P161> ?var1 ; <http://www.wikidata.org/prop/P1411> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P1411> <http://www.wikidata.org/entity/Q102427> ; <http://www.wikidata.org/prop/qualifier/P805> ?var2 . ?var4 <http://www.wikidata.org/prop/direct/P161> ?var1 ; <http://www.wikidata.org/prop/P1411> ?var7 . ?var7 <http://www.wikidata.org/prop/statement/P1411> <http://www.wikidata.org/entity/Q102427> ; <http://www.wikidata.org/prop/qualifier/P805> ?var2 . ?var5 <http://www.wikidata.org/prop/direct/P161> ?var1 ; <http://www.wikidata.org/prop/P1411> ?var8 . ?var8 <http://www.wikidata.org/prop/statement/P1411> <http://www.wikidata.org/entity/Q102427> ; <http://www.wikidata.org/prop/qualifier/P805> ?var2 . FILTER ( ( ( ?var3 < ?var4 ) ) ) . FILTER ( ( ( ?var4 < ?var5 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2853", "question": "Humans in Wikidata without an image on Wikimedia Commons.", "sparql": "SELECT ?human ?humanLabel WHERE { ?human wdt:P31 wd:Q5 . MINUS { ?human wdt:P18 [] . } OPTIONAL { ?human rdfs:label ?humanLabel . FILTER(LANG(?humanLabel) = \"en\") } } LIMIT 100", "paraphrases": ["Which humans in Wikidata do not have a photo uploaded to Wikimedia Commons?", "List 100 people who are classified as human in Wikidata but don't have an associated image."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } } LIMIT 200000 OFFSET 0"}}
{"id": "test_2854", "question": "French-speaking female writers born between 1481 and 1529, with BnF IDs, ranked by Wikipedia article count.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?label ?countryLabel ?bnfId ?birthYear ?deathYear(COUNT(DISTINCT ?article) AS ?articleCount) WHERE {\n  ?person wdt:P106 wd:Q36180 .\n  ?person wdt:P27 ?country .\n  ?person wdt:P268 ?bnfId .\n  {\n    ?person wdt:P1412 wd:Q150 .\n  } UNION {\n    ?person wdt:P1412 wd:Q1473289 .\n  }\n  ?person wdt:P21 wd:Q6581072 .\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  BIND(YEAR(?birthDate) AS ?birthYear)\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  BIND(YEAR(?deathDate) AS ?deathYear)\n  ?article schema:about ?person .\n  OPTIONAL {\n    ?person rdfs:label ?label .\n    FILTER(LANG(?label) = \"fr\")\n  }\n  OPTIONAL {\n    ?country rdfs:label ?countryLabel .\n    FILTER(LANG(?countryLabel) = \"fr\")\n  }\n  FILTER(?birthYear <= 1529 &&(?deathYear >= 1511 || ! BOUND(?deathYear)))\n}\nGROUP BY ?label ?countryLabel ?bnfId ?birthYear ?deathYear\nORDER BY DESC(?articleCount)", "paraphrases": ["Who were the most notable French or Middle French-speaking female writers born between 1481 and 1529 who died after 1511, and what are their French labels, countries, and BnF IDs?", "List the French-labeled female writers from the 15th\u201316th century who wrote in French or Middle French, were born between 1481 and 1529, died after 1511 (or have no death date), and include their country, BnF ID, and how many Wikipedia articles mention them, sorted by popularity."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 ( COUNT ( DISTINCT ?var6 ) AS ?var7 ) WHERE { { ?var8 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q36180> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q482980> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q49757> . } ?var8 <http://www.wikidata.org/prop/direct/P27> ?var9 . ?var8 <http://www.wikidata.org/prop/direct/P268> ?var3 . { ?var8 <http://www.wikidata.org/prop/direct/P1412> <http://www.wikidata.org/entity/Q150> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P1412> <http://www.wikidata.org/entity/Q1473289> . } { ?var8 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q1097630> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q1052281> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q2449503> . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/direct/P569> ?var10 . } BIND ( YEAR ( ?var10 ) AS ?var4 ). OPTIONAL { ?var8 <http://www.wikidata.org/prop/direct/P570> ?var11 . } BIND ( YEAR ( ?var11 ) AS ?var5 ). ?var6 <http://schema.org/about> ?var8 . OPTIONAL { ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"fr\" ) ) ) . } OPTIONAL { ?var9 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"fr\" ) ) ) . } FILTER ( ( ( ?var4 <= \"1529\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( ?var5 >= \"1511\"^^<http://www.w3.org/2001/XMLSchema#integer> ) || ( ?var4 <= \"1529\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( ?var4 >= \"1481\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } GROUP BY ?var2 ?var1 ?var3 ?var4 ?var5 ORDER BY DESC( ?var7 )"}}
{"id": "test_2855", "question": "What are the subclasses and instances of nudity in Wikidata?", "sparql": "SELECT ?item ?itemLabel WHERE { { ?item wdt:P279 wd:Q10791 . } UNION { ?item wdt:P31 wd:Q10791 . } OPTIONAL { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = 'en') } }", "paraphrases": ["List all concepts related to nudity, including both types and subtypes.", "Can you show me events and categories associated with nudity, such as No Pants Day or naturism?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q10791> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q10791> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } }"}}
{"id": "test_2856", "question": "Image of Louis XIV of France using SNAC ARK ID w65h7mb4", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w65h7mb4\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with Louis XIV of France in the SNAC ARK ID system?", "Show me the Wikimedia Commons image for the historical figure with SNAC ARK ID w65h7mb4."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w65h7mb4\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2857", "question": "List the Q-identifiers of all humans in Wikidata.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item(STRAFTER(STR(?item) , \"http://www.wikidata.org/entity/\") AS ?qId) WHERE {\n  ?item wdt:P31 wd:Q5 .\n}\nLIMIT 10", "paraphrases": ["What are the Wikidata IDs of human beings?", "Show me the Q-numbers for entities that are instances of human."], "info": {"raw_sparql": "SELECT ?var1 ( STR ( ?var1 ) AS ?var2 )( REPLACE ( STR ( ?var1 ) , \"string1\", \"\" ) AS ?var3 )( REPLACE ( STR ( ?var1 ) , \".*Q\", \"Q\" ) AS ?var4 )( STRAFTER ( STR ( ?var1 ) , \"string1\" ) AS ?var5 )( STRAFTER ( STR ( ?var1 ) , STR ( <http://www.wikidata.org/entity/> ) ) AS ?var6 )( STRAFTER ( STR ( ?var1 ) , \"y/\" ) AS ?var7 )( SUBSTR ( STR ( ?var1 ) ,\"32\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var8 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . } LIMIT 10"}}
{"id": "test_2858", "question": "What is the gender of people whose native language is French and whose occupation is author or a related role?", "sparql": "SELECT ?person ?gender WHERE { ?person wdt:P106/wdt:P279* wd:Q482980 . ?person wdt:P103 wd:Q150 . ?person wdt:P21 ?gender . }", "paraphrases": ["Show me French-speaking authors and their genders.", "List the sex or gender of individuals who write books and speak French as their native language."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q482980> . ?var1 <http://www.wikidata.org/prop/direct/P2439> <http://www.wikidata.org/entity/Q150> . ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . }"}}
{"id": "test_2859", "question": "French literary works on Wikisource written by authors born in \u00cele-de-France and who died in the 18th century.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?work ?workLabel ?author ?authorLabel ?deathDate ?shareId ?birthPlace ?birthPlaceLabel ?wikisourcePage WHERE {\n  ?work wdt:P50 ?author .\n  ?author wdt:P19 ?birthPlace .\n  ?birthPlace wdt:P131 + wd:Q13917 .\n  ?author wdt:P3987 ?shareId .\n  ?author wdt:P570 ?deathDate .\n  ?wikisourcePage schema:about ?work .\n  ?wikisourcePage schema:isPartOf <https://fr.wikisource.org/> .\n  FILTER ( ?deathDate >= \"1700-01-01T00:00:00Z\" ^^ xsd:dateTime && ?deathDate <= \"1899-12-31T23:59:59Z\" ^^ xsd:dateTime ) OPTIONAL {\n    ?work wdt:P1476 ?workLabel\n  }\n  OPTIONAL {\n    ?author rdfs:label ?authorLabel FILTER ( LANG( ?authorLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?birthPlace rdfs:label ?birthPlaceLabel FILTER ( LANG( ?birthPlaceLabel ) = \"en\" )\n  }\n}\nORDER BY ASC ( ?deathDate )", "paraphrases": ["Which works on French Wikisource were authored by people born in \u00cele-de-France and died between 1700 and 1899?", "Show me 18th-century French authors from \u00cele-de-France and the literary works they wrote that are available on French Wikisource."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var5Label ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P50> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P19> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P131> + <http://www.wikidata.org/entity/Q13917> . ?var2 <http://www.wikidata.org/prop/direct/P3987> ?var4 . ?var2 <http://www.wikidata.org/prop/direct/P570> ?var3 . ?var6 <http://schema.org/about> ?var1 . ?var6 <http://schema.org/isPartOf> <https://fr.wikisource.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } FILTER ( ( ( ?var3 >= \"1700-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var3 <= \"1899-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . } ORDER BY ASC( ?var3 )"}}
{"id": "test_2860", "question": "Who are the Finnish women, and what are their occupations and dates of birth?", "sparql": "SELECT ?person ?dateOfBirth ?occupation WHERE { ?person wdt:P21 wd:Q6581072 . ?person wdt:P27 wd:Q33 . OPTIONAL { ?person wdt:P569 ?dateOfBirth . } OPTIONAL { ?person wdt:P106 ?occupation . } }", "paraphrases": ["Show me the birth dates and jobs of women who are citizens of Finland.", "What are the occupations and birth years of Finnish female citizens?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var4 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var4 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q33> . OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P569> ?var2 . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P106> ?var3 . } }"}}
{"id": "test_2861", "question": "Distribution of scientists by gender identity", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?gender ?genderLabel ( COUNT( * ) AS ?count ) WHERE {\n  ?scientist wdt:P106 wd:Q901 .\n  ?scientist wdt:P21 ?gender .\n  ?gender rdfs:label ?genderLabel .\n  FILTER ( LANG( ?genderLabel ) = \"en\" )\n}\nGROUP BY ?gender ?genderLabel\nORDER BY DESC ( ?count )", "paraphrases": ["How many male, female, and other gender identities are there among scientists on Wikidata?", "Show me the count of scientists grouped by their gender, ordered from most to least common."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT (* ) AS ?var2 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q901> . ?var3 <http://www.wikidata.org/prop/direct/P21> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ca\". } } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var2 )"}}
{"id": "test_2862", "question": "Finnish-labeled female humans with a Finnish Wikipedia page", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P31 wd:Q5 ; wdt:P21 wd:Q6581072 .\n  ?wikipediaPage schema:isPartOf <https://fi.wikipedia.org/> ; schema:about ?person .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"fi\" )\n}\nLIMIT 10", "paraphrases": ["Who are the female humans that have a page on the Finnish Wikipedia and a Finnish-language label?", "List up to 10 female humans who are described on the Finnish Wikipedia and have their names in Finnish."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var2 <http://schema.org/isPartOf> <https://fi.wikipedia.org/> ; <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 10"}}
{"id": "test_2863", "question": "What are the official names of businesses in Wikidata?", "sparql": "SELECT ?business ?businessLabel ?officialName WHERE { ?business wdt:P31 wd:Q4830453 . ?business wdt:P1448 ?officialName . ?business rdfs:label ?businessLabel . FILTER(LANG(?businessLabel) = \"en\") } LIMIT 100", "paraphrases": ["Which businesses have official names recorded in Wikidata, and what are those names?", "List businesses along with their official names in Wikidata, showing their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4830453> . ?var1 <http://www.wikidata.org/prop/direct/P1448> ?var2 . } LIMIT 1000000"}}
{"id": "test_2864", "question": "What types of entities have official websites but are not geolocated?", "sparql": "SELECT DISTINCT ?typeLabel ?type WHERE { ?item wdt:P856 ?website . ?item wdt:P31 ?type . OPTIONAL { ?item wdt:P625 ?coord . } FILTER ( !BOUND(?coord) ) . ?type rdfs:label ?typeLabel . FILTER(LANG(?typeLabel) = \"en\") } LIMIT 500", "paraphrases": ["Can you list the categories of items that have a website but no coordinates on Wikidata?", "Show me the English labels of classes for which there are items with official websites but no geographic location."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P856> ?var3 . ?var2 <http://www.wikidata.org/prop/direct/P31> ?var1 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P625> ?var4 . } FILTER ( ( !( BOUND ( ?var4 ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } } LIMIT 500"}}
{"id": "test_2865", "question": "What Unicode character is represented by the HTML entity \"&ccedil;\" and what is its English description?", "sparql": "SELECT ?character ?characterLabel ?description WHERE { ?character wdt:P4575 \"&ccedil;\" . OPTIONAL { ?character rdfs:label ?characterLabel . FILTER (LANG(?characterLabel) = \"en\") } OPTIONAL { ?character schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["What is the English name and description of the character represented by the HTML entity \"&ccedil;\"?", "Show me the character and its English description for the HTML entity \"&ccedil;\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4575> \"&ccedil;\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2866", "question": "People with occupation \"author\" and their statement qualifiers", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?statement ( SAMPLE( ?qv ) AS ?qualifierValue ) WHERE {\n  ?person p:P106 ?statement .\n  ?statement ps:P106 wd:Q482980 .\n  OPTIONAL {\n    ?statement ?qualifier ?qv .\n    ?qualifier wikibase:qualifier true .\n  }\n}\nGROUP BY ?person ?statement", "paraphrases": ["Who are the people listed as authors on Wikidata, and what additional details (like start date or source) are associated with their authorship?", "Show me all people who have the occupation of author, along with any qualifying information (e.g., time period or source) about their authorship."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P1557> <http://www.wikidata.org/entity/Q482980> . ?var1 <http://www.wikidata.org/prop/P1557> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_2867", "question": "List all humans in Wikidata.", "sparql": "SELECT ?human WHERE { ?human wdt:P31 wd:Q5 }", "paraphrases": ["Which entities are classified as human beings?", "Show me all individuals who are instances of human."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/Q11696> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_2868", "question": "Who are the clowns born in Europe that have images on Wikimedia Commons?", "sparql": "SELECT ?clown ?clownLabel ?image WHERE { ?clown wdt:P106 wd:Q7358 . ?clown wdt:P19 ?birthPlace . ?birthPlace wdt:P30 wd:Q46 . ?clown wdt:P18 ?image . ?clown rdfs:label ?clownLabel . FILTER(LANG(?clownLabel) = \"en\") }", "paraphrases": ["List clowns with their names and images, where they were born in Europe.", "Which people have the occupation of clown, were born in a location within Europe, and have a publicly available image?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q7358> . ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q46> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_2869", "question": "What Unicode character is represented by the HTML entity &macr;?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?char ?charLabel WHERE {\n  ?char wdt:P4575 \"&macr;\" .\n  ?char rdfs:label ?charLabel .\n  FILTER(LANG(?charLabel) = \"en\")\n}", "paraphrases": ["What is the English label of the Unicode character represented by the HTML entity &macr;?", "Show me the English name of the Unicode character that corresponds to the HTML escape sequence &macr;."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4575> \"&macr;\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2870", "question": "Finnish-labeled humans with Finnish descriptions and their birth dates", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?human ?label ?description ?birthDate WHERE {\n  ?human wdt:P31 wd:Q5 ; rdfs:label ?label ; schema:description ?description ; p:P569 ?birthStatement .\n  ?birthStatement psv:P569 ?birthValue .\n  ?birthValue wikibase:timeValue ?birthDate .\n  FILTER ( LANG( ?label ) = \"fi\" ) FILTER ( LANG( ?description ) = \"fi\" )\n}\nLIMIT 30", "paraphrases": ["Who are the humans that have both a Finnish label and a Finnish description on Wikidata, and when were they born?", "List humans with Finnish labels and descriptions along with their dates of birth."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://schema.org/description> ?var3 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2 ; <http://schema.org/dateModified> ?var5 ; ( <http://www.wikidata.org/prop/P569> / <http://www.wikidata.org/prop/statement/value/P569> ) ?var6 . ?var6 <http://wikiba.se/ontology#timeValue> ?var4 . FILTER ( ( ( LANG ( ?var3 ) = \"fi\" ) ) ) . FILTER ( ( ( LANG ( ?var2 ) = \"fi\" ) ) ) . FILTER ( ( ( DAY ( ?var5 ) = \"16\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } LIMIT 30"}}
{"id": "test_2871", "question": "Images of the person with SNAC ARK ID w6jq1bcg", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6jq1bcg\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What images are associated with Rosie O\u2019Donnell in Wikidata?", "Can you show me the Wikimedia Commons images linked to the Social Networks and Archival Context (SNAC) identifier w6jq1bcg?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6jq1bcg\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2872", "question": "What are the most common first names among people from Finland?", "sparql": "SELECT ?givenName ?givenNameLabel (COUNT(?person) AS ?count) ?precision WHERE { ?person wdt:P735 ?givenName ; wdt:P27 wd:Q33 . OPTIONAL { ?person p:P569 ?statement . ?statement wikibase:timePrecision ?precision . } ?givenName rdfs:label ?givenNameLabel . FILTER(LANG(?givenNameLabel) = \"fi\") } GROUP BY ?givenName ?givenNameLabel ?precision ORDER BY DESC(?count) LIMIT 100", "paraphrases": ["Which Finnish first names are the most popular, and how many people have each?", "Can you list the top 100 first names of Finnish citizens, ordered by popularity?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) ?var4 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P735> ?var1 ; <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q33> . OPTIONAL { ?var2 ( <http://www.wikidata.org/prop/P569> / <http://www.wikidata.org/prop/statement/value/P569> ) ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P569> ?var6 ; <http://wikiba.se/ontology#timePrecision> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } GROUP BY ?var1 ?var1Label ?var4 ORDER BY DESC( ?var3 ) LIMIT 100"}}
{"id": "test_2873", "question": "People who received the international United States dollar as an award", "sparql": "SELECT ?person ?award WHERE { ?person wdt:P800 wd:Q550207 . BIND(wd:P800 AS ?award) }", "paraphrases": ["Who received the international United States dollar as an award?", "List the individuals who have been awarded the international United States dollar."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q550207> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_2874", "question": "Years after 1930 when male Norwegian citizens were born.", "sparql": "SELECT ?year WHERE { ?person wdt:P21 wd:Q6581097 ; wdt:P27 wd:Q20 ; wdt:P569 ?birthDate . BIND(YEAR(?birthDate) AS ?year) FILTER(?year > 1930) } GROUP BY ?year ORDER BY ASC(?year)", "paraphrases": ["In which years after 1930 were male citizens of Norway born?", "Show me all the years after 1930 when men from Norway were born."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SELECT ?var1 ( COUNT ( ?var3 ) AS ?var2 ) WHERE { BIND ( YEAR ( ?var4 ) AS ?var1 ). ?var3 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581097> ; <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q20> ; <http://www.wikidata.org/prop/direct/P569> ?var4 . FILTER ( ( ( ?var1 > \"1930\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } GROUP BY ?var1 ORDER BY ASC( ?var1 ) }"}}
{"id": "test_2875", "question": "Scientists educated at the University of the Basque Country with images", "sparql": "SELECT DISTINCT ?person ?personLabel ?image WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P69 wd:Q1232428 . ?person wdt:P106 wd:Q901 . OPTIONAL { ?person wdt:P18 ?image . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } ORDER BY ASC(?personLabel)", "paraphrases": ["Who are the scientists that studied at the University of the Basque Country, and what are their images?", "List the names and photos of scientists who graduated from the University of the Basque Country."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P69> <http://www.wikidata.org/entity/Q1232428> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"eu,es\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q336> . } ORDER BY ASC( ?var1Label )"}}
{"id": "test_2876", "question": "French-speaking female, intersex, trans woman, and trans man writers, poets, or authors born between 1509 and 1538, with BnF IDs, ranked by number of Wikipedia articles.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?labelFr ?countryEn ?bnfId ?birthYear ?deathYear ( COUNT( DISTINCT ?article ) AS ?articleCount ) WHERE {\n  {\n    ?person wdt:P106 wd:Q36180 .\n  } UNION {\n    ?person wdt:P106 wd:Q482980 .\n  } UNION {\n    ?person wdt:P106 wd:Q49757 .\n  }\n  ?person wdt:P27 ?country .\n  ?person wdt:P268 ?bnfId .\n  ?person ( wdt:P37 | wdt:P103 | wdt:P364 | wdt:P407 | wdt:P1412 | wdt:P2439 ) wd:Q150 .\n  {\n    ?person wdt:P21 wd:Q6581072 .\n  } UNION {\n    ?person wdt:P21 wd:Q1097630 .\n  } UNION {\n    ?person wdt:P21 wd:Q1052281 .\n  } UNION {\n    ?person wdt:P21 wd:Q2449503 .\n  }\n  OPTIONAL {\n    ?person wdt:P569 ?birth .\n    BIND( YEAR( ?birth ) AS ?birthYear )\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?death .\n    BIND( YEAR( ?death ) AS ?deathYear )\n  }\n  ?article schema:about ?person .\n  OPTIONAL {\n    ?person rdfs:label ?labelFr .\n    FILTER ( LANG( ?labelFr ) = \"fr\" )\n  }\n  OPTIONAL {\n    ?country rdfs:label ?countryEn .\n    FILTER ( LANG( ?countryEn ) = \"en\" )\n  }\n  FILTER ( ?birthYear <= 1538 && ?deathYear >= 1509 )\n}\nGROUP BY ?labelFr ?countryEn ?bnfId ?birthYear ?deathYear\nORDER BY DESC ( ?articleCount )", "paraphrases": ["Who are the historical female and gender-diverse writers and poets from the 16th century who wrote in French, had a BnF identifier, and lived between 1509 and 1538, listed by how many Wikipedia articles exist about them?", "List the French-labeled female, intersex, trans woman, and trans man authors and poets born before 1538 and died after 1509, along with their country of citizenship in English, BnF ID, birth and death years, and the number of Wikipedia articles about them, sorted by popularity."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 ( COUNT ( DISTINCT ?var6 ) AS ?var7 ) WHERE { { ?var8 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q36180> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q482980> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q49757> . } ?var8 <http://www.wikidata.org/prop/direct/P27> ?var9 . ?var8 <http://www.wikidata.org/prop/direct/P268> ?var3 . ?var8 ( <http://www.wikidata.org/prop/direct/P37> | <http://www.wikidata.org/prop/direct/P103> | <http://www.wikidata.org/prop/direct/P364> | <http://www.wikidata.org/prop/direct/P407> | <http://www.wikidata.org/prop/direct/P1412> | <http://www.wikidata.org/prop/direct/P2439> ) <http://www.wikidata.org/entity/Q150> . { ?var8 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q1097630> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q1052281> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q2449503> . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/direct/P569> ?var10 . } BIND ( YEAR ( ?var10 ) AS ?var4 ). OPTIONAL { ?var8 <http://www.wikidata.org/prop/direct/P570> ?var11 . } BIND ( YEAR ( ?var11 ) AS ?var5 ). ?var6 <http://schema.org/about> ?var8 . OPTIONAL { ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"fr\" ) ) ) . } OPTIONAL { ?var9 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } FILTER ( ( ( ?var4 <= \"1538\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( ?var5 >= \"1509\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } GROUP BY ?var2 ?var1 ?var3 ?var4 ?var5 ORDER BY DESC( ?var7 )"}}
{"id": "test_2877", "question": "What is the image of the person with SNAC ARK ID w6zw2cs3?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6zw2cs3\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Show the Wikimedia Commons image for Luis Cabrera Lobato.", "Can you find the picture associated with the SNAC identifier w6zw2cs3?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6zw2cs3\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2878", "question": "Humans born in Brazil", "sparql": "SELECT ?var1Label WHERE { ?var1 wdt:P19 wd:Q155 . ?var1 wdt:P31 wd:Q5 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") }", "paraphrases": ["Who are the people born in Brazil?", "List the names of all humans who were born in Brazil, in English."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q155> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var2 <http://www.wikidata.org/prop/direct/P625> <http://www.wikidata.org/entity/Q5> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2879", "question": "Male American writers with English labels and no Slovenian labels", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?var1 ?var1Label WHERE {\n  ?var1 wdt:P27 wd:Q30 .\n  ?var1 wdt:P21 wd:Q6581097 .\n  ?var1 wdt:P31 wd:Q5 .\n  ?var1 wdt:P106 / wdt:P279 * wd:Q36180 .\n  ?var1 rdfs:label ?var1Label .\n  FILTER(LANG(?var1Label) = \"en\")\n  FILTER(NOT EXISTS {\n    ?var1 rdfs:label ?slLabel .\n    FILTER(LANG(?slLabel) = \"sl\")\n  })\n}\nORDER BY ASC(?var1Label)", "paraphrases": ["Who are the male American writers who have an English Wikipedia label but no Slovenian label?", "List the names of male U.S. citizens who are writers, in English, excluding those with Slovenian labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q30> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581097> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q36180> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,de,nl,fr,it,es,no,pt,pl,cs,hr\". } FILTER ( ( NOT EXISTS { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"sl\" ) ) ) . } ) ) . } ORDER BY ASC( ?var1Label )"}}
{"id": "test_2880", "question": "Female Canadian citizens with occupations", "sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 wdt:P31 wd:Q5 . ?var1 wdt:P21 wd:Q6581072 . ?var1 wdt:P27 wd:Q16 . ?var1 wdt:P106 ?var2 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") . ?var2 rdfs:label ?var2Label . FILTER(LANG(?var2Label) = \"en\") . } ORDER BY ?var1Label LIMIT 20", "paraphrases": ["Who are some female Canadian citizens and what are their occupations?", "List English-labeled female Canadian citizens along with their jobs."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 ( <http://www.wikidata.org/prop/direct/P27> | <http://www.wikidata.org/prop/direct/P17> ) <http://www.wikidata.org/entity/Q16> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl\". } }"}}
{"id": "test_2881", "question": "What are the English and German Wikipedia page titles for the movie with IMDb ID tt0133093?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipedia_page ?language ?title WHERE {\n  ?item wdt:P345 \"tt0133093\" .\n  ?wikipedia_page schema:about ?item ; schema:inLanguage ?language .\n  FILTER ( ?language = \"en\" || ?language = \"de\" ) FILTER ( REGEX( STR( ?wikipedia_page ) , \"\\\\.wikipedia\\\\.org\" ) ) BIND( REPLACE( STR( ?wikipedia_page ) , \"https://\" , \"\" ) AS ?url ) BIND( REPLACE( ?url , CONCAT ( ?language , \".wikipedia.org/wiki/\" ) , \"\" ) AS ?title )\n}", "paraphrases": ["Show me the Wikipedia articles in English and German about the film The Matrix.", "Can you find the Wikipedia page titles in English and German for the movie identified by the IMDb code tt0133093?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2526660\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2882", "question": "What are the broader categories or parent classes of a poet in Wikidata?", "sparql": "SELECT DISTINCT ?subclass WHERE { { wd:Q49757 wdt:P279 ?subclass . } UNION { wd:Q49757 wdt:P279 ?level1 . ?level1 wdt:P279 ?subclass . } UNION { wd:Q49757 wdt:P279 ?level1 . ?level1 wdt:P279 ?level2 . ?level2 wdt:P279 ?subclass . } }", "paraphrases": ["What professions or roles is a poet a subclass of?", "Can you list the types of people or creators that include poets as a subset?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q49757> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_2883", "question": "Norwegian citizens without family names in Wikidata, sorted by newest entry", "sparql": "SELECT ?human ?qid WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P27 wd:Q20 . MINUS { ?human wdt:P734 ?familyName . } BIND( xsd:integer( REPLACE( STR(?human), \"http://www.wikidata.org/entity/Q\", \"\" ) ) AS ?qid ) } ORDER BY DESC(?qid)", "paraphrases": ["Who are the most recently created Norwegian citizens in Wikidata who do not have a surname listed?", "List all Norwegian individuals in Wikidata that lack a family name, ordered from most recently added to oldest."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q20> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var3 . } BIND ( <http://www.w3.org/2001/XMLSchema#integer> ( SUBSTR ( STR ( ?var1 ) ,\"33\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var2 ). } ORDER BY DESC( ?var2 )"}}
{"id": "test_2884", "question": "What are the English and German Wikipedia and Wikiquote pages about the movie with IMDb ID tt0143145?", "sparql": "SELECT ?movie ?page WHERE { ?movie wdt:P345 \"tt0143145\" . ?page schema:about ?movie . ?page schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Can you show me the language-specific pages (in English and German) linked to the film \"The World Is Not Enough\" on Wikipedia and Wikiquote?", "Which language versions of Wikipedia and Wikiquote have articles about the James Bond film identified by tt0143145?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0143145\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2885", "question": "LinkedIn official website and its English and German Wikipedia pages", "sparql": "SELECT ?item ?itemLabel ?wikipediaPage WHERE { ?item wdt:P856 <https://www.linkedin.com> . ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") FILTER(STRSTARTS(STR(?wikipediaPage), \"https://en.wikipedia.org/\") || STRSTARTS(STR(?wikipediaPage), \"https://de.wikipedia.org/\")) OPTIONAL { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } }", "paraphrases": ["What are the English and German Wikipedia articles about LinkedIn, given its official website?", "Show me the English and German Wikipedia pages about LinkedIn and its label, using its official website URL."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.linkedin.com/in/robertfischerdev/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.linkedin.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.linkedin.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.linkedin.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.linkedin.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.linkedin.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.linkedin.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://linkedin.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://linkedin.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://linkedin.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://linkedin.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2886", "question": "Norwegian humans with English Wikipedia labels", "sparql": "SELECT ?human ?humanLabel WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P27 wd:Q20 . ?human rdfs:label ?humanLabel . FILTER(LANG(?humanLabel) = 'en') } ORDER BY ?humanLabel", "paraphrases": ["Who are the citizens of Norway that have English Wikipedia articles?", "Please list Norwegian citizens in alphabetical order by their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q20> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nb,en\". } } ORDER BY DESC( ?var2 )"}}
{"id": "test_2887", "question": "What are the English and German Wikipedia and Wikiquote pages about the movie with IMDb ID tt0349903?", "sparql": "SELECT ?movie ?page ?imdbId WHERE { ?movie wdt:P345 ?imdbId . FILTER(?imdbId = \"tt0349903\") . ?page schema:about ?movie . { ?page schema:inLanguage \"en\" . } UNION { ?page schema:inLanguage \"de\" . } }", "paraphrases": ["Which language-specific pages (in English or German) are about the movie \"Ocean's Twelve\" on IMDb?", "Show me the Wikipedia and Wikiquote links in English and German for the movie identified by IMDb ID tt0349903."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0349903\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2888", "question": "What is the Wikipedia page for the movie with IMDb ID tt0033391 in English or German?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?wikipediaPage ?imdbId WHERE {\n  VALUES(?imdbId) {(\"tt0033391\")\n  }\n  ?movie wdt:P345 ?imdbId .\n  ?wikipediaPage schema:about ?movie .\n  {\n    ?wikipediaPage schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipediaPage schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Which Wikipedia articles in English or German are about the film with IMDb identifier tt0033391?", "Please provide the movie entity, its English or German Wikipedia page, and its IMDb ID for tt0033391."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0033391\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2889", "question": "Is wpa_supplicant considered software in Wikidata's classification system?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q281972 ( wdt:P31 / wdt:P279 * ) wd:Q7397 .\n}", "paraphrases": ["Does wpa_supplicant belong to a class that is a subclass of software?", "Is wpa_supplicant a type of software, according to its instance and subclass relationships?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q281972> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_2890", "question": "Who received the Nobel Prize in Physics?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item WHERE {\n  ?item wdt:P166 wd:Q38104\n}", "paraphrases": ["Which individuals have been awarded the Nobel Prize in Physics?", "List all recipients of the Nobel Prize in Physics."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q288927-243C1A36-3CBC-4D35-BD18-633208F8B6D7> . }"}}
{"id": "test_2891", "question": "Who are the recipients of the Nobel Prize in Chemistry, and in which years did they receive it? Include their images if available.", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT DISTINCT ?laureate ?label ( YEAR( ?date ) AS ?year ) ?image WHERE {\n  ?laureate p:P166 ?statement .\n  ?statement ps:P166 wd:Q44585 .\n  ?statement pq:P585 ?date .\n  OPTIONAL {\n    ?laureate wdt:P18 ?image .\n  }\n  ?laureate rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}", "paraphrases": ["Can you list the Nobel laureates in Chemistry along with the year they won and their photos?", "Show me the names, award years, and images of all people who have been awarded the Nobel Prize in Chemistry."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ( YEAR ( ?var2 ) AS ?var3 ) ?var4 WHERE { { ?var1 <http://www.wikidata.org/prop/P166> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P166> <http://www.wikidata.org/entity/Q44585> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . } }"}}
{"id": "test_2892", "question": "Female scientists on Wikidata", "sparql": "SELECT ?person WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P21 wd:Q6581072 . ?person wdt:P106 wd:Q901 . }", "paraphrases": ["Who are the female scientists?", "List all human females whose occupation is scientist."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q901> . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var2 . }"}}
{"id": "test_2893", "question": "Writers from the French Basque Country with birth year, death year, ISNI, and Wikipedia links in Basque and French.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?writer ?writerLabel ?image ?birthYear ?birthPlaceLabel ?deathYear ?isni ?euWikiPage ?frWikiPage WHERE {\n  ?writer wdt:P31 wd:Q5 ; wdt:P106 / wdt:P279 * wd:Q36180 ; wdt:P19 ?birthPlace .\n  ?birthPlace wdt:P131 * wd:Q98405 .\n  OPTIONAL {\n    ?writer wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?writer wdt:P20 ?deathPlace .\n  }\n  OPTIONAL {\n    ?writer wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?writer wdt:P570 ?deathDate .\n  }\n  OPTIONAL {\n    ?writer wdt:P214 ?viafId .\n  }\n  OPTIONAL {\n    ?writer wdt:P213 ?isni .\n  }\n  BIND(YEAR(?birthDate) AS ?birthYear)\n  BIND(YEAR(?deathDate) AS ?deathYear)\n  OPTIONAL {\n    ?writer rdfs:label ?writerLabel .\n    FILTER(LANG(?writerLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?birthPlace rdfs:label ?birthPlaceLabel .\n    FILTER(LANG(?birthPlaceLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?euWikiPage schema:about ?writer ; schema:inLanguage \"eu\" ; schema:isPartOf <https://eu.wikipedia.org/> .\n  }\n  OPTIONAL {\n    ?frWikiPage schema:about ?writer ; schema:inLanguage \"fr\" ; schema:isPartOf <https://fr.wikipedia.org/> .\n  }\n}", "paraphrases": ["Who are the human writers born in the French Basque Country, and what are their birth and death years, ISNI numbers, and links to their Basque and French Wikipedia pages?", "List all writers from the French Basque Country along with their birth and death years, ISNI identifiers, and links to their Basque and French Wikipedia articles."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4Label ?var5 ?var6Label ?var7 ?var8 ?var9 ?var10 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/entity/P279> *) <http://www.wikidata.org/entity/Q5> . ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/entity/P279> *) <http://www.wikidata.org/entity/Q36180> . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P131> * ?var11 . <http://www.wikidata.org/entity/Q98405> <http://www.wikidata.org/prop/direct/P527> ?var11 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P20> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var12 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var13 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P214> ?var14 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P213> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1412> ?var15 . } OPTIONAL { ?var9 <http://schema.org/about> ?var1 . ?var9 <http://schema.org/inLanguage> \"eu\". } OPTIONAL { ?var10 <http://schema.org/about> ?var1 . ?var10 <http://schema.org/inLanguage> \"fr\". } BIND ( YEAR ( ?var12 ) AS ?var3 ). BIND ( YEAR ( ?var13 ) AS ?var5 ). BIND ( IRI ( CONCAT ( \"string1\", ?var14 ) ) AS ?var7 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string2\". ?var15 <http://www.w3.org/2000/01/rdf-schema#label> ?var15Label . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . } }"}}
{"id": "test_2894", "question": "Artists born before 1950", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?artist ?artistLabel WHERE {\n  ?artist wdt:P106 wd:Q483501 .\n  ?artist wdt:P569 ?birthDate .\n  FILTER(YEAR(?birthDate) < 1950)\n  OPTIONAL {\n    ?artist rdfs:label ?artistLabel .\n    FILTER(LANG(?artistLabel) = \"en\")\n  }\n}", "paraphrases": ["Who are the artists born before 1950?", "List the names of all artists whose date of birth is before 1950."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q483501> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . FILTER ( ( ( YEAR ( ?var2 ) < \"1950\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_2895", "question": "What is the image of the person with SNAC ARK ID w6bk1v1z?", "sparql": "SELECT ?image WHERE {\n  ?item wdt:P3430 \"w6bk1v1z\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Can you find a Wikimedia Commons image for Abd al-Qahir al-Jurjani?", "Show the image associated with the SNAC ARK ID w6bk1v1z, if available."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6bk1v1z\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2896", "question": "What are the properties associated with George W. Bush, along with how many values each has and what those values are in English?", "sparql": "SELECT ?property ?propertyLabel (COUNT(?value) AS ?valueCount) (GROUP_CONCAT(?valueLabel; SEPARATOR=\", \") AS ?valueLabels) WHERE { wd:Q207 ?property ?value . ?value rdfs:label ?valueLabel . FILTER(LANG(?valueLabel) = \"en\") . ?propertyItem wikibase:directClaim ?property . ?propertyItem rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") . } GROUP BY ?property ?propertyLabel", "paraphrases": ["Can you list George W. Bush\u2019s occupations, political affiliations, and other attributes with their English labels and counts?", "For each property used by George W. Bush, show its English name, how many values it has, and what those values are labeled as in English."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q207> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_2897", "question": "Who are the female First Ladies without an English Wikipedia page?", "sparql": "SELECT DISTINCT ?firstLady WHERE { ?firstLady wdt:P31 wd:Q5 ; wdt:P21 wd:Q6581072 ; wdt:P106 wd:Q203184 . FILTER NOT EXISTS { ?enArticle schema:about ?firstLady ; schema:inLanguage \"en\" . } } LIMIT 1000", "paraphrases": ["Can you list all female human beings who hold the title of First Lady but do not have a Wikipedia article in English?", "Show me the names of women who are First Ladies and are missing English Wikipedia articles \u2014 perhaps to highlight content gaps."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q203184> . ?var2 <http://schema.org/about> ?var1 . FILTER ( ( NOT EXISTS { ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> \"en\". } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,pl\". } } LIMIT 1000"}}
{"id": "test_2898", "question": "Male citizens of Indonesia", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P21 wd:Q6581097 ; wdt:P27 wd:Q252 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } LIMIT 100", "paraphrases": ["Who are the male individuals who are citizens of Indonesia?", "List the names of men who hold Indonesian citizenship."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"id,en, id\". } ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581097> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q252> . } LIMIT 1000000"}}
{"id": "test_2899", "question": "Norwegian people born before 1911 with birth dates and places", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var1 ?var1Label ?var3 ?var4 WHERE {\n  ?var1 wdt:P27 wd:Q20 .\n  ?var1 wdt:P31 wd:Q5 .\n  ?var1 wdt:P569 ?var3 .\n  OPTIONAL {\n    ?var1 wdt:P19 ?var4 .\n  }\n  ?var1 rdfs:label ?var1Label .\n  FILTER(YEAR(?var3) < 1911)\n  FILTER(LANG(?var1Label) = \"en\")\n}\nORDER BY DESC(?var3)\nLIMIT 50", "paraphrases": ["Who are the Norwegian citizens born before 1911, and where and when were they born?", "List the names, birth dates, and birthplaces of Norwegians born before 1911, sorted from oldest to youngest."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 ?var5Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nb,no\". } ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q20> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var4 . } OPTIONAL { } FILTER ( ( ( YEAR ( ?var6 ) < \"1911\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var4 ) LIMIT 1000000"}}
{"id": "test_2900", "question": "What are the birth, baptism, work start, and death dates of Johann Sebastian Bach, and what properties describe them?", "sparql": "SELECT ?var1 ?var2 ?var5 ?var5Label WHERE { wd:Q1339 ?var2 ?var1 . FILTER ( DATATYPE(?var1) = xsd:dateTime ) BIND( STRAFTER( STR(?var2), \"http://www.wikidata.org/prop/direct/\" ) AS ?propId ) BIND( IRI(CONCAT(\"http://www.wikidata.org/entity/\", ?propId)) AS ?var5 ) ?var5 rdfs:label ?var5Label . FILTER ( LANG(?var5Label) = \"en\" ) } ORDER BY ASC(?var1)", "paraphrases": ["When did Johann Sebastian Bach experience key life events like birth, baptism, and death, and what are the Wikidata property labels for those events?", "Show me the dates of Johann Sebastian Bach\u2019s birth, baptism, start of work, and death, along with the names of the Wikidata properties that record these events."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var5Label WHERE { BIND ( IRI ( REPLACE ( STR ( ?var2 ) , \"string1\", \"entity/\" ) ) AS ?var5 ). <http://www.wikidata.org/entity/Q1339> ?var2 ?var1 . FILTER ( ( ( DATATYPE ( ?var1 ) = <http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_2901", "question": "What type of entity is the Wikidata item for \"address\"?", "sparql": "SELECT ?entity ?instanceOf ?instanceOfLabel WHERE { VALUES ?entity { wd:Q338075 } ?entity wdt:P31 ?instanceOf . ?instanceOf rdfs:label ?instanceOfLabel FILTER(LANG(?instanceOfLabel) = 'en') }", "paraphrases": ["Can you tell me what category the entity Q338075 belongs to?", "What is the classification of the disambiguation page titled \"address\" on Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q16276372> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2902", "question": "English and German Wikipedia and Wikiquote pages for the movie with IMDb ID tt0203119", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?page WHERE {\n  ?movie wdt:P345 \"tt0203119\" .\n  ?page schema:about ?movie .\n  {\n    ?page schema:inLanguage \"en\" .\n  } UNION {\n    ?page schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["What English and German language pages on Wikipedia and Wikiquote are about the movie \"Sexy Beast\" (IMDb: tt0203119)?", "Show me the English and German language pages about the movie \"Sexy Beast\" from IMDb, including Wikipedia and Wikiquote."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0203119\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2903", "question": "Who are the children of Johann Sebastian Bach and his wife Maria Barbara Bach?", "sparql": "SELECT ?child ?childLabel WHERE { ?child wdt:P22 wd:Q1339 ; wdt:P25 wd:Q57487 . ?child rdfs:label ?childLabel . FILTER(LANG(?childLabel) = \"en\") }", "paraphrases": ["Children of Johann Sebastian Bach and Maria Barbara Bach", "Can you list the children of Johann Sebastian Bach and Maria Barbara Bach?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P22> <http://www.wikidata.org/entity/Q1339> . ?var1 <http://www.wikidata.org/prop/direct/P25> <http://www.wikidata.org/entity/Q57487> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja\". } }"}}
{"id": "test_2904", "question": "Female Marxists with English Wikipedia articles but no Spanish Wikipedia articles.", "sparql": "SELECT DISTINCT ?person ?personLabel WHERE { ?person wdt:P21 wd:Q6581072 . ?person (wdt:P102|wdt:P1142|wdt:P1387|wdt:P361)* wd:Q7264 . ?enPage schema:about ?person ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> . OPTIONAL { ?esPage schema:about ?person ; schema:inLanguage \"es\" ; schema:isPartOf <https://es.wikipedia.org/> . } FILTER ( !BOUND(?esPage) ) . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } ORDER BY ?personLabel", "paraphrases": ["Who are the women who identify with Marxism, have an English Wikipedia page, but do not have a Spanish Wikipedia page?", "List all female individuals associated with Marxism who have an English Wikipedia article but no Spanish Wikipedia article, along with their English names."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 ( <http://www.wikidata.org/prop/direct/P102> */ <http://www.wikidata.org/prop/direct/P1142> */ <http://www.wikidata.org/prop/direct/P1387> */ <http://www.wikidata.org/prop/direct/P361> *) <http://www.wikidata.org/entity/Q7264> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> \"en\". ?var3 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . OPTIONAL { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/inLanguage> \"es\". } FILTER ( ( !( BOUND ( ?var4 ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,de,pt,fr,it,ca\". } } ORDER BY DESC( ?var2 )"}}
{"id": "test_2905", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0338135?", "sparql": "SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 \"tt0338135\" . { ?wikipedia_page schema:about ?movie ; schema:inLanguage \"en\" . } UNION { ?wikipedia_page schema:about ?movie ; schema:inLanguage \"de\" . } }", "paraphrases": ["Show me the Wikipedia articles in English and German about the film identified by tt0338135 on IMDb.", "Which Wikipedia pages in English and German discuss the movie \"The Barbarian Invasions\"?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0338135\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2906", "question": "Who are the recipients of the Nobel Prize?", "sparql": "SELECT ?recipient ?recipientLabel WHERE { ?recipient wdt:P166 ?award . ?award wdt:P361 wd:Q7191 . ?recipient rdfs:label ?recipientLabel . FILTER(LANG(?recipientLabel) = 'en')} LIMIT 5", "paraphrases": ["List people who have been awarded a Nobel Prize.", "Which individuals have received any of the Nobel Prizes (e.g., in Physics, Chemistry, Peace, etc.)?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P166> / <http://www.wikidata.org/prop/direct/P31> ) <http://www.wikidata.org/entity/Q7191> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl\". } }"}}
{"id": "test_2907", "question": "English and German Wikipedia pages for the movie with IMDb ID tt0133093.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?page WHERE {\n  VALUES ?imdbId {\n    \"tt0133093\"\n  }\n  ?item wdt:P345 ?imdbId .\n  ?page schema:about ?item ; schema:inLanguage ?lang .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n}", "paraphrases": ["What are the English and German Wikipedia pages about the movie with IMDb ID tt0133093?", "Show me the English and German language Wikipedia and Wikiquote pages for the movie identified by IMDb ID tt0133093."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt3154132\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2908", "question": "Who are the human recipients of the Nobel Prize, and what is their gender?", "sparql": "SELECT ?human ?humanLabel ?gender ?genderLabel WHERE { ?work wdt:P166 wd:Q7191 . ?work wdt:P50 ?human . ?human wdt:P31 wd:Q5 . OPTIONAL { ?human wdt:P21 ?gender . } OPTIONAL { ?human rdfs:label ?humanLabel . FILTER(LANG(?humanLabel) = \"en\") } OPTIONAL { ?gender rdfs:label ?genderLabel . FILTER(LANG(?genderLabel) = \"en\") } } LIMIT 10", "paraphrases": ["Show me the names and genders of people who have won the Nobel Prize.", "Which Nobel Prize winners are human, and are they male or female?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P166> <http://www.wikidata.org/entity/Q7191> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . } }"}}
{"id": "test_2909", "question": "Who are the children of Johann Sebastian Bach and his wife Maria Barbara Bach?", "sparql": "SELECT ?child ?childLabel WHERE { ?child wdt:P22 wd:Q1339 . ?child wdt:P25 wd:Q57487 . ?child rdfs:label ?childLabel . FILTER(LANG(?childLabel) = \"en\") }", "paraphrases": ["List the children born to Johann Sebastian Bach and Maria Barbara Bach.", "Which children did Johann Sebastian Bach and Maria Barbara Bach have together?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P22> <http://www.wikidata.org/entity/Q1339> . ?var1 <http://www.wikidata.org/prop/direct/P22> <http://www.wikidata.org/entity/Q57487> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2910", "question": "Meg Ryan \u2014 film actor, birthplace, education, image, and country", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person ?personLabel ?website ?image ?almaMater ?dateOfBirth ?placeOfBirth ?placeOfBirthAdmin ?countryLabel WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person rdfs:label \"Meg Ryan\" @en .\n  ?person wdt:P106 wd:Q10800557 .\n  OPTIONAL {\n    ?person wdt:P856 ?website .\n  }\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?person wdt:P69 ?almaMater .\n  }\n  ?person wdt:P569 ?dateOfBirth .\n  ?person wdt:P19 ?placeOfBirth .\n  ?placeOfBirth wdt:P131 ?placeOfBirthAdmin .\n  ?placeOfBirth wdt:P17 ?country .\n  ?person rdfs:label ?personLabel .\n  ?country rdfs:label ?countryLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) FILTER ( LANG( ?countryLabel ) = \"en\" )\n}", "paraphrases": ["What is Meg Ryan\u2019s place of birth, country, educational background, and image, given that she is a film actor?", "Show me Meg Ryan\u2019s details as a film actor, including her birthplace (with administrative region and country), education, and image, even if some information like her official website is missing."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5Label ?var6 ?var7Label ?var8Label ?var9Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 ?var10Label \"Meg Ryan\"@en . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q10800557> . ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P69> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var6 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var7 . ?var7 <http://www.wikidata.org/prop/direct/P131> ?var8 . ?var7 <http://www.wikidata.org/prop/direct/P17> ?var9 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2911", "question": "Image of H.C. Artmann (SNAC ARK ID w6n59hrx)", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6n59hrx\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the Wikimedia Commons image for the person with SNAC ARK ID w6n59hrx?", "Show me the photo of the individual identified by the SNAC ARK ID w6n59hrx."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6n59hrx\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2912", "question": "What are the English and German Wikipedia pages about the movie with IMDb ID tt0468569?", "sparql": "SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 \"tt0468569\" . ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Show me the language versions of the Wikipedia articles for The Dark Knight (2008).", "Which language editions of Wikipedia discuss the film identified by the IMDb identifier tt0468569?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1192066\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2913", "question": "Living people and their grandparents with age difference", "sparql": "SELECT DISTINCT ?person ?personLabel ?personBirth ?grandparent ?grandparentLabel ?grandparentBirth ?ageDifference WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P569 ?personBirth . ?person ( (wdt:P22 | wdt:P25) / (wdt:P22 | wdt:P25) ) ?grandparent . ?grandparent wdt:P569 ?grandparentBirth . FILTER ( NOT EXISTS { ?person wdt:P570 ?deathDate } ) . BIND( xsd:integer(SUBSTR(STR(?personBirth), 1, 4)) - xsd:integer(SUBSTR(STR(?grandparentBirth), 1, 4)) AS ?ageDifference ) . OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } OPTIONAL { ?grandparent rdfs:label ?grandparentLabel . FILTER(LANG(?grandparentLabel) = \"en\") } }", "paraphrases": ["How much older are the grandparents of living people compared to them?", "Show me living individuals along with their grandparents and the age gap between them."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 ?var5 WHERE { BIND ( ( YEAR ( ?var2 ) - YEAR ( ?var4 ) ) AS ?var5 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var1 (( <http://www.wikidata.org/prop/direct/P22> | <http://www.wikidata.org/prop/direct/P25> )/( <http://www.wikidata.org/prop/direct/P22> | <http://www.wikidata.org/prop/direct/P25> )) ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P569> ?var4 . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var6 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2914", "question": "What image is associated with Levin Corbin Handy in Wikidata?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6gb2bk4\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Can you show me the Wikimedia Commons image for the person with SNAC ARK ID w6gb2bk4?", "Show the photo of Levin Handy from Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6gb2bk4\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2915", "question": "Is Barack Obama a member of the Democratic Party?", "sparql": "ASK WHERE { wd:Q76 wdt:P102 wd:Q29552 }", "paraphrases": ["Does the Democratic Party include Barack Obama as a member?", "Is Barack Obama affiliated with the Democratic Party according to Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q24548087> <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q856831> . }"}}
{"id": "test_2916", "question": "Who are the people whose field of work is novel?", "sparql": "SELECT ?person WHERE { ?person wdt:P101 wd:Q8261 . } LIMIT 101", "paraphrases": ["Can you list up to 101 authors who write novels?", "Show me a list of individuals specialized in writing novels."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P101> <http://www.wikidata.org/entity/Q8261> . ?var1 <http://www.wikidata.org/prop/P101> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_2917", "question": "What are the age differences between siblings in Wikidata, along with their birth years?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?sibling1Label ?sibling2Label ?birth1 ?birth2 ?ageDifference WHERE {\n  ?sibling1 wdt:P3373 ?sibling2 ; wdt:P569 ?birth1 .\n  ?sibling2 wdt:P3373 ?sibling1 ; wdt:P569 ?birth2 .\n  BIND(YEAR(?birth1) - YEAR(?birth2) AS ?ageDifference)\n  .\n  ?sibling1 rdfs:label ?sibling1Label .\n  ?sibling2 rdfs:label ?sibling2Label .\n  FILTER(LANG(?sibling1Label) = \"en\")\n  .\n  FILTER(LANG(?sibling2Label) = \"en\")\n  .\n  FILTER(isNumeric(?ageDifference))\n}\nLIMIT 5", "paraphrases": ["Can you list pairs of siblings and calculate how many years apart they were born?", "Which historical siblings had the largest age gaps, and when were they born?"], "info": {"raw_sparql": "SELECT * WHERE { BIND ( YEAR ( ( ?var1 - ?var2 ) ) AS ?var3 ). ?var4 <http://www.wikidata.org/prop/direct/P3373> ?var5 ; <http://www.wikidata.org/prop/direct/P569> ?var1 . ?var5 <http://www.wikidata.org/prop/direct/P3373> ?var4 ; <http://www.wikidata.org/prop/direct/P569> ?var2 . } LIMIT 2"}}
{"id": "test_2918", "question": "Painters born in Marne, France, with French Wikipedia articles and their number of language versions.", "sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ( COUNT( ?var3 ) AS ?var4 ) WHERE { ?var1 wdt:P31 wd:Q5 ; wdt:P19 ?var2 ; wdt:P106 wd:Q1028181 . ?var2 wdt:P131* wd:Q12594 . ?var5 schema:about ?var1 ; schema:inLanguage ?var3 . FILTER( SUBSTR(STR(?var5), 9, 3) = \"fr.\" ) ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") ?var2 rdfs:label ?var2Label . FILTER(LANG(?var2Label) = \"en\") } GROUP BY ?var1 ?var1Label ?var2Label ORDER BY DESC(?var4) ASC(?var1)", "paraphrases": ["How many language versions do the French Wikipedia articles of painters born in Marne, France, have, and which painters have the most?", "List painters born in the Marne department of France who have French Wikipedia pages, along with how many languages those pages are available in, sorted by the number of languages in descending order."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P19> ?var2 ; <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1028181> . ?var2 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q12594> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var5 <http://schema.org/about> ?var1 . FILTER ( ( ( SUBSTR ( STR ( ?var5 ) ,\"11\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"15\"^^<http://www.w3.org/2001/XMLSchema#integer> ) = \"string1\" ) ) ) . ?var5 <http://schema.org/inLanguage> ?var3 . } GROUP BY ?var1 ?var1Label ?var2Label ORDER BY DESC( ?var4 )ASC( ?var1 )"}}
{"id": "test_2919", "question": "What are the Wikipedia articles about StartupDigest, given its official website?", "sparql": "SELECT ?var1 ?var1Label ?wikipediaUrl WHERE { ?var1 wdt:P856 <https://www.startupdigest.com/> . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\" || LANG(?var1Label) = \"ar\" || LANG(?var1Label) = \"zh\") BIND(CONCAT(\"https://\", SUBSTR(LANG(?var1Label), 1, 2), \".wikipedia.org/wiki/\", ENCODE_FOR_URI(?var1Label)) AS ?wikipediaUrl) }", "paraphrases": ["Can you show me the English, Arabic, and Chinese Wikipedia pages linked to StartupDigest\u2019s official website?", "Which language versions of Wikipedia have articles about the company with the official website startupdigest.com?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.startupdigest.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.startupdigest.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.startupdigest.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.startupdigest.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.startupdigest.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.startupdigest.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://startupdigest.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://startupdigest.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://startupdigest.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://startupdigest.com/> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2920", "question": "People with \"Ommer\" in their French name, their given name, birth and death years, and image.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?label ?image ?givenName ?birthDate ?deathDate ?birthYear ?deathYear WHERE {\n  ?person rdfs:label ?label .\n  FILTER(LANG(?label) = 'fr')\n  .\n  FILTER(contains(lcase(?label) , \"ommer\"))\n  .\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P735 ?givenName .\n  ?person wdt:P569 ?birthDate .\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  BIND(YEAR(?birthDate) AS ?birthYear)\n  BIND(YEAR(?deathDate) AS ?deathYear)\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n}", "paraphrases": ["Who are the French-named people with \"Ommer\" in their name, and what are their birth and death years, given names, and images?", "List all humans whose French label contains \"Ommer\", along with their given name, birth and death years, and Wikimedia Commons image if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 WHERE { ?var1 ?var8 \"ommer\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P735> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var5 . } BIND ( YEAR ( ?var4 ) AS ?var6 ). BIND ( YEAR ( ?var5 ) AS ?var7 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } }"}}
{"id": "test_2921", "question": "Russian citizens and their occupations", "sparql": "SELECT ?person ?personLabel ?occupation ?occupationLabel WHERE {  ?person wdt:P27 wd:Q159 .  ?person rdfs:label ?personLabel .  FILTER(LANG(?personLabel) = \"en\")  OPTIONAL {    ?person wdt:P106 ?occupation .    ?occupation rdfs:label ?occupationLabel .    FILTER(LANG(?occupationLabel) = \"en\")  }} LIMIT 100", "paraphrases": ["Who are the people who are citizens of Russia, and what are their occupations?", "List up to 100 Russian citizens along with their English names and occupations."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q159> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1340> ?var2 . } } LIMIT 100"}}
{"id": "test_2922", "question": "Most common property used to indicate someone is a geologist", "sparql": "SELECT ?property (COUNT(?property) AS ?count) WHERE { ?person ?prop wd:Q520549 . ?property wikibase:directClaim ?prop . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which property is most often used to state that a person is a geologist?", "Show me the Wikidata property most frequently used to assign the profession of geologist."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q520549> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_2923", "question": "Countries without Romanian descriptions that are not historical", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?var1 ?label WHERE {\n  ?var1 wdt:P31 wd:Q6256 . MINUS {\n    ?var1 wdt:P31 wd:Q3024240 .\n  }\n  OPTIONAL {\n    ?var1 schema:description ?desc .\n    FILTER(LANG(?desc) = \"ro\")\n  }\n  FILTER(! BOUND(?desc))\n  ?var1 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["Which current countries do not have a description in Romanian?", "List the English names of countries that are not historical and lack a Romanian description."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . MINUS { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3024240> . } OPTIONAL { ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"ro\" ) ) ) . } FILTER ( ( !( BOUND ( ?var3 ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ro\". } }"}}
{"id": "test_2924", "question": "Image of Maria Spiridonova with SNAC ARK ID w6v12r4k", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6v12r4k\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Maria Spiridonova in Wikidata, identified by the SNAC ARK ID w6v12r4k?", "Show me the Wikimedia Commons image for the person whose SNAC ARK ID is w6v12r4k."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6v12r4k\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2925", "question": "What is the image of Phillip Whitehead in Wikimedia Commons?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w65t67q7\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Show the Commons image associated with the SNAC ARK ID w65t67q7.", "Can you find the photo of the person identified by SNAC ARK ID w65t67q7?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w65t67q7\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2926", "question": "What are Barack Obama\u2019s occupations, birth date, and nationalities?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?occupation ?occupationLabel ?birthDate ?nationality ?nationalityLabel WHERE {\n  ?person wdt:P646 \"/m/02mjmr\" .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) OPTIONAL {\n    ?person wdt:P106 ?occupation .\n    ?occupation rdfs:label ?occupationLabel .\n    FILTER ( LANG( ?occupationLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P27 ?nationality .\n    ?nationality rdfs:label ?nationalityLabel .\n    FILTER ( LANG( ?nationalityLabel ) = \"en\" )\n  }\n}", "paraphrases": ["Barack Obama: occupations, birth date, nationality", "Show me the occupations, birth date, and nationality of Barack Obama, using his Freebase ID."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label WHERE { ?var1 ?var2 ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P646> \"/m/04j0t75\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2927", "question": "Qualifiers and references for Barack Obama's place of birth statement", "sparql": "PREFIX s: <http://www.wikidata.org/entity/statement/>\nSELECT ?property ?value WHERE {\n  s:Q76-6c5e3740-4ca4-de6a-1557-b623372dc93a ?property ?value .\n}", "paraphrases": ["What qualifiers and references are attached to the statement that Barack Obama was born at Kapiolani Medical Center?", "List all metadata (properties and values) for the statement claiming Barack Obama\u2019s place of birth is Kapiolani Medical Center."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/q321285-BA2D3821-FB02-42EE-80A1-6BA74BCAE6BA> ?var1 ?var2 . }"}}
{"id": "test_2928", "question": "People born in Oviedo with their birth dates, ordered chronologically.", "sparql": "SELECT (STR(?personLabel) AS ?personName) ?birthDate WHERE { ?person wdt:P19 wd:Q14317 . ?person wdt:P569 ?birthDate . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") FILTER(isLiteral(?birthDate)) FILTER(?birthDate > \"1500-01-01T00:00:00Z\"^^xsd:dateTime) } ORDER BY ASC(?birthDate)", "paraphrases": ["Who were the people born in Oviedo, and when were they born, starting from the earliest?", "List the names of people born in Oviedo along with their birth dates, sorted from oldest to youngest, using English labels."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q14317> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es, en, es\". } } ORDER BY ASC( ?var2 )"}}
{"id": "test_2929", "question": "Image of Alioune Diop (SNAC ARK ID w61m2wkg)", "sparql": "SELECT ?image WHERE {\n  ?item wdt:P3430 \"w61m2wkg\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Is there an image available for Alioune Diop in Wikidata, identified by the SNAC ARK ID w61m2wkg?", "Show me the Wikimedia Commons image associated with the person having SNAC ARK ID w61m2wkg."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w61m2wkg\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2930", "question": "Image of Patricia Martin with SNAC ARK ID w64k36rd", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w64k36rd\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the Wikimedia Commons image associated with Patricia Martin\u2019s SNAC ARK ID w64k36rd?", "Show me the photo of the person whose SNAC ARK ID is w64k36rd."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w64k36rd\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2931", "question": "What is the image of the person with SNAC ARK ID w63f691p?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w63f691p\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Can you show me the Wikimedia Commons image associated with Ad\u00e9la\u00efde Labille-Guiard?", "Show the image file linked to the SNAC ARK identifier w63f691p in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w63f691p\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2932", "question": "What are the roles and relationships of people connected to Ida Gawell-Blumenthal, and what qualifiers (like start time or role) are associated with those relationships?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?subject ?statement ?property ( SAMPLE( ?qualifierLabel ) AS ?qualifier ) WHERE {\n  ?statement ?prop wd:Q4988547 .\n  ?subject ?claim ?statement .\n  ?property wikibase:statementProperty ?prop ; wikibase:claim ?claim .\n  FILTER ( ?property != wd:P31 ) ?property rdfs:label ?propertyLabel .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" ) OPTIONAL {\n    VALUES ( ?qualifierProp ?qualifierLabel ) {\n      ( pq:P580 \"start time\" ) ( pq:P3831 \"object of statement has role\" )\n    }\n    ?statement ?qualifierProp ?value .\n  }\n}\nGROUP BY ?subject ?statement ?property", "paraphrases": ["Who are the individuals linked to Ida Gawell-Blumenthal through statements like actor, spouse, or child, and what additional details (e.g., start time) are provided for those connections?", "List the people associated with Swedish writer Ida Gawell-Blumenthal via properties like actor or spouse, along with any qualifier information such as \u201cstart time\u201d or \u201cobject of statement has role\u201d."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q4988547> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_2933", "question": "Male American visual artists with English labels", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P27 wd:Q30 .\n  ?person wdt:P21 wd:Q6581097 .\n  ?person wdt:P31 wd:Q5 .\n  ?person ( wdt:P106 / wdt:P279 * ) wd:Q3391743 .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) .\n  FILTER ( NOT EXISTS {\n    ?person rdfs:label ?slLabel .\n    FILTER ( LANG( ?slLabel ) = \"sl\" )\n  }\n  )\n}\nORDER BY ASC ( ?personLabel )", "paraphrases": ["Who are the male U.S. citizens who are visual artists and have English-language Wikipedia labels?", "List all male human citizens of the United States whose occupation is a visual artist or a subclass of visual artist, and who have an English label but no Slovenian label."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q30> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581097> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3391743> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,de,nl,fr,it,es,no,pt,pl,cs,hr\". } FILTER ( ( NOT EXISTS { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"sl\" ) ) ) . } ) ) . } ORDER BY ASC( ?var1Label )"}}
{"id": "test_2934", "question": "How many Algerian citizens have images on Wikimedia Commons?", "sparql": "SELECT (COUNT(DISTINCT ?person) AS ?count) WHERE { ?person wdt:P27 wd:Q262 . ?person wdt:P18 ?image . }", "paraphrases": ["What is the number of people with Algerian citizenship who are illustrated with images in Wikidata?", "Can you tell me how many individuals from Algeria have a photo associated with their Wikidata entry?"], "info": {"raw_sparql": "SELECT( COUNT ( DISTINCT ?var1 ) AS ?var2 ) WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q262> . } ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . }"}}
{"id": "test_2935", "question": "Top 2000 people associated with visual arts by Wikipedia page count", "sparql": "SELECT ?person (COUNT(?site) AS ?sitelinkCount) WHERE { ?person (wdt:P106|wdt:P101|wdt:P39) wd:Q3391743 . ?site schema:about ?person . } GROUP BY ?person ORDER BY DESC(?sitelinkCount) LIMIT 2000", "paraphrases": ["Who are the most well-known visual artists or related professionals across Wikipedia, ranked by the number of language editions they have articles in?", "List the 2000 most prominent individuals whose occupation, field of work, or position held is visual artist, sorted by how many Wikipedia language versions feature them."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P106> */ <http://www.wikidata.org/prop/direct/P101> */ <http://www.wikidata.org/prop/direct/P39> *) <http://www.wikidata.org/entity/Q3391743> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 2000"}}
{"id": "test_2936", "question": "What is the image of the person with SNAC ARK ID w6gb56dc?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6gb56dc\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Can you show me the Wikimedia Commons image associated with James Albert Bonsack?", "Find the image file on Commons for the entity identified by the SNAC ARK ID w6gb56dc."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6gb56dc\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2937", "question": "Female writers who are classified as poets, novelists, or similar roles (but not directly as \"writer\") and whose work is associated with literary genres like mystery or romance.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person WHERE {\n  ?person wdt:P106 ?occupation .\n  ?person wdt:P21 wd:Q6581072 .\n  ?occupation wdt:P279 wd:Q36180 .\n  ?occupation wdt:P425 ?literaryGenre .\n  ?literaryGenre wdt:P31 wd:Q223393 .\n  FILTER NOT EXISTS {\n    ?person wdt:P106 wd:Q36180 .\n  }\n}\nLIMIT 50", "paraphrases": ["Who are some female authors whose specific occupation (like poet or playwright) is a subclass of writer, and whose field of work is a literary genre, but who are not directly labeled as \"writer\"?", "List female individuals who are categorized under specific writing professions (e.g., poet, novelist) linked to literary genres, excluding those directly tagged as \"writer\"."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var2 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q36180> . ?var2 <http://www.wikidata.org/prop/direct/P425> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q223393> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q36180> . } ) ) . } LIMIT 50"}}
{"id": "test_2938", "question": "List of gynecologists with their names and images from Wikidata.", "sparql": "SELECT ?gynecologist ?label ?image WHERE { ?gynecologist wdt:P106 wd:Q2640827 . ?gynecologist rdfs:label ?label . FILTER(LANG(?label) = \"en\") OPTIONAL { ?gynecologist wdt:P18 ?image . } }", "paraphrases": ["Who are the gynecologists listed on Wikidata, and do they have images available?", "Show me the names of all gynecologists in English and include their images if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q2640827> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } }"}}
{"id": "test_2939", "question": "Humans with the given name Juli\u00e0 and their genders.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?gender ?genderLabel WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P735 wd:Q18219746 .\n  OPTIONAL {\n    ?person wdt:P21 ?gender .\n    ?gender rdfs:label ?genderLabel .\n    FILTER ( LANG( ?genderLabel ) = \"en\" )\n  }\n}", "paraphrases": ["Who are the people named Juli\u00e0, and what is their sex or gender?", "List all individuals named Juli\u00e0 along with their gender (male or female)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . } ?var1 <http://www.wikidata.org/prop/direct/P735> <http://www.wikidata.org/entity/Q18219746> . }"}}
{"id": "test_2940", "question": "What are the birth and death details of Leo Tolstoy, and what is his image and given name, when searching by the French spelling \"Tolsto\u00ef\"?", "sparql": "SELECT ?entity ?entityLabel ?image ?givenName ?birthDate ?deathDate ?birthYear ?deathYear WHERE { ?entity skos:altLabel \"Tolsto\u00ef\"@fr . ?entity wdt:P735 ?givenName . ?entity wdt:P569 ?birthDate . OPTIONAL { ?entity wdt:P570 ?deathDate . } OPTIONAL { ?entity wdt:P18 ?image . } BIND(YEAR(?birthDate) AS ?birthYear) BIND(YEAR(?deathDate) AS ?deathYear) ?entity rdfs:label ?entityLabel . FILTER(LANG(?entityLabel) = \"fr\")}", "paraphrases": ["Show me the French label, birth year, death year, image, and given name of the person known as \"Tolsto\u00ef\" in French.", "Who is referred to as \"Tolsto\u00ef\" in French, and what are their birth date, death date, image, and first name?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 WHERE { ?var1 ?var8 \"Tolsto\u00ef\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P735> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var5 . } BIND ( YEAR ( ?var4 ) AS ?var6 ). BIND ( YEAR ( ?var5 ) AS ?var7 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } }"}}
{"id": "test_2941", "question": "Who is the female grandparent of Johann Ambrosius Bach, and who is her child?", "sparql": "SELECT DISTINCT ?grandmother ?parent WHERE { ?grandmother wdt:P21 wd:Q6581072 . ?grandmother wdt:P40 ?parent . ?parent wdt:P40 wd:Q309470 . } LIMIT 101", "paraphrases": ["Female grandparent of Johann Ambrosius Bach and their child", "Show me the name of Johann Ambrosius Bach\u2019s female grandparent and the name of the person who is both their child and Johann Ambrosius Bach\u2019s parent."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/P21> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/P40> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P40> ?var2 . ?var2 <http://www.wikidata.org/prop/P40> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P40> <http://www.wikidata.org/entity/Q309470> . } LIMIT 101"}}
{"id": "test_2942", "question": "What is the superclass of social scientist?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?superclass WHERE {\n  wd:Q15319501 wdt:P279 ?superclass .\n}", "paraphrases": ["Is social scientist a subclass of scientist? If so, what is its direct parent class?", "Show me the immediate parent category of social scientist in the Wikidata taxonomy."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { <http://www.wikidata.org/entity/Q15319501> <http://www.wikidata.org/prop/direct/P279> ?var1 . }"}}
{"id": "test_2943", "question": "Top 1000 art directors with the most Wikipedia language editions", "sparql": "SELECT ?person (COUNT(?sitelink) AS ?sitelinkCount) WHERE { ?person wdt:P106 wd:Q706364 . ?sitelink schema:about ?person ; schema:isPartOf ?site . } GROUP BY ?person ORDER BY DESC(?sitelinkCount) LIMIT 1000", "paraphrases": ["Who are the art directors with the highest number of Wikipedia language versions, and how many are there?", "List the art directors ranked by how many Wikipedia language versions they have, with the most popular first."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> * <http://www.wikidata.org/entity/Q706364> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 1000"}}
{"id": "test_2944", "question": "Humans who follow Islam", "sparql": "SELECT ?person WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P140 wd:Q432 .}", "paraphrases": ["Who are the people that practice Islam?", "List all individuals in Wikidata who identify as Muslim."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P140> <http://www.wikidata.org/entity/Q432> . }"}}
{"id": "test_2945", "question": "What are the subclasses of organisms that are associated with a specific sex or gender?", "sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 wdt:P279* wd:Q7239 . ?var1 wdt:P21 ?var3 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") }", "paraphrases": ["List gendered roles or types of living beings, such as empress or wyvern, that are classified as organisms.", "Which human or mythical roles, considered organisms in Wikidata, have a defined biological sex or gender?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q7239> . { BIND ( \"P21\" AS ?var2 ). ?var1 <http://www.wikidata.org/prop/direct/P21> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_2946", "question": "What is the image of the person with SNAC ARK ID w6wd3xkz?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?person wdt:P3430 \"w6wd3xkz\" .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n}", "paraphrases": ["Show me the photograph linked to Charles Kingsley in the Social Networks and Archival Context database.", "Can you find the Commons image for the archival record identified by w6wd3xkz?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6wd3xkz\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2947", "question": "What properties are used on people who are mathematicians, and what are their English labels and descriptions?", "sparql": "SELECT ?propItem ?propLabel ?propDescription WHERE { ?person wdt:P106 wd:Q170790 . ?person ?prop ?value . BIND(IRI(REPLACE(STR(?prop), \"http://www.wikidata.org/prop/direct/\", \"http://www.wikidata.org/entity/\")) AS ?propItem) . ?propItem rdfs:label ?propLabel . ?propItem schema:description ?propDescription . FILTER(LANG(?propLabel) = \"en\") FILTER(LANG(?propDescription) = \"en\") } LIMIT 100", "paraphrases": ["List the English labels and descriptions of all properties that appear on individuals with the occupation of mathematician.", "Which properties are associated with mathematicians in Wikidata, and what do they mean in English?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q170790> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_2948", "question": "What is the image of the person with SNAC ARK ID w67b6zr5?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w67b6zr5\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Can you show me the Wikimedia Commons image associated with Jerry Hall?", "Show the image file linked to the SNAC record for Jerry Hall."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w67b6zr5\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2949", "question": "Humans with occupations and citizenship but no Chinese description, starting from the 100,002nd result.", "sparql": "SELECT ?human WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P106 ?occupation . ?human wdt:P27 ?country . FILTER NOT EXISTS { ?human schema:description ?desc . FILTER(LANG(?desc) = \"zh\") } } LIMIT 100 OFFSET 100001", "paraphrases": ["Who are some humans who have a known occupation and country of citizenship but do not have a Chinese-language description on Wikidata?", "List 100 humans (skipping the first 100,001) who have an occupation and citizenship, but no Chinese description."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P27> ?var3 . FILTER ( ( NOT EXISTS { ?var1 <http://schema.org/description> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"zh\" ) ) ) . } ) ) . } LIMIT 100 OFFSET 100001"}}
{"id": "test_2950", "question": "Image of the person with SNAC ARK ID w6jq2qdv", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6jq2qdv\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Bernardino Genga in Wikidata?", "Show me the Wikimedia Commons image for the individual identified by the SNAC ARK ID w6jq2qdv."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6jq2qdv\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2951", "question": "English and German Wikipedia and Wikiquote pages for the movie with IMDb ID tt0145893.", "sparql": "SELECT ?movie ?page WHERE { ?movie wdt:P345 \"tt0145893\" . ?page schema:about ?movie . VALUES ?lang { \"en\" \"de\" } ?page schema:inLanguage ?lang .}", "paraphrases": ["What English and German language pages on Wikipedia and Wikiquote are about the movie with IMDb ID tt0145893?", "Show me all English and German language pages linked to the movie Simply Irresistible (IMDb: tt0145893)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0145893\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2952", "question": "Children of Johann Sebastian Bach", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?child WHERE {\n  ?child wdt:P22 wd:Q1339 .\n}", "paraphrases": ["Who are the children of Johann Sebastian Bach?", "List all children of the composer Johann Sebastian Bach."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P22> <http://www.wikidata.org/entity/Q1339> . }"}}
{"id": "test_2953", "question": "Humans mentioned on Russian Wikisource who have citizenship but no recorded languages spoken.", "sparql": "SELECT DISTINCT ?human ?humanLabel ?countryLabel WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P27 ?country . FILTER NOT EXISTS { ?human wdt:P1412 [] } . ?page schema:isPartOf <https://ru.wikisource.org/> ; schema:about ?human . ?human rdfs:label ?humanLabel . ?country rdfs:label ?countryLabel . FILTER(LANG(?humanLabel) = \"en\") . FILTER(LANG(?countryLabel) = \"en\") } ORDER BY ASC(?countryLabel)", "paraphrases": ["Who are the people listed on Russian Wikisource that have a nationality but don't speak any language documented in Wikidata?", "List the names and countries of citizenship of individuals featured on Russian Wikisource who have no known spoken languages, sorted alphabetically by country."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var2 . } FILTER ( ( BOUND ( ?var2 ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1412> ?var4 . } FILTER ( ( !( BOUND ( ?var4 ) ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var5 . } BIND ( YEAR ( ?var5 ) AS ?var6 ). OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var7 . } BIND ( YEAR ( ?var7 ) AS ?var8 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru\". } ?var9 <http://schema.org/isPartOf> <https://ru.wikisource.org/> ; <http://schema.org/about> ?var1 . } ORDER BY ASC( ?var2Label )"}}
{"id": "test_2954", "question": "Writers and their occupations, alternative labels, and birth dates in English or Norwegian.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nSELECT ?writer ?occupationLabel ?occupationAltLabel ?dateOfBirth WHERE {\n  ?writer wdt:P31 wd:Q5 ; wdt:P106 ?occupation ; wdt:P569 ?dateOfBirth ; rdfs:label ?writerLabel .\n  FILTER ( LANG( ?writerLabel ) = \"en\" || LANG( ?writerLabel ) = \"nb\" ) .\n  ?occupation wdt:P279 * wd:Q36180 .\n  ?occupation rdfs:label ?occupationLabel .\n  FILTER ( LANG( ?occupationLabel ) = \"en\" || LANG( ?occupationLabel ) = \"nb\" ) .\n  OPTIONAL {\n    ?occupation skos:altLabel ?occupationAltLabel .\n    FILTER ( LANG( ?occupationAltLabel ) = \"en\" || LANG( ?occupationAltLabel ) = \"nb\" )\n  }\n}\nLIMIT 10", "paraphrases": ["Who are some human writers or scholars in fields related to writing, what are their occupations and alternative occupation names, and when were they born?", "List up to 10 human writers along with their occupation labels (in English or Norwegian), any alternative labels for those occupations, and their dates of birth."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q36180> ; <http://www.wikidata.org/prop/direct/P569> ?var4 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"nb\" ) || ( LANG ( ?var5Label ) = \"en\" ) ) ) . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"nb\" ) || ( LANG ( ?var2Label ) = \"en\" ) ) ) . OPTIONAL { ?var2 <http://www.w3.org/2004/02/skos/core#altLable> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"nb\" ) || ( LANG ( ?var3 ) = \"en\" ) ) ) . } } LIMIT 10"}}
{"id": "test_2955", "question": "Entities that are instances of physician", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?physician WHERE {\n  ?physician wdt:P31 wd:Q39631 .\n}\nORDER BY ?physician", "paraphrases": ["What are all the people or organizations classified as physicians in Wikidata?", "List all items in Wikidata that are marked as being a physician, including both individuals and organizations."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q39631> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_2956", "question": "All subclasses and superclasses of physicist in Wikidata, along with their direct parent classes.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel ?directSuperclass WHERE {\n  {\n    wd:Q169470 wdt:P279 * ?item .\n  } UNION {\n    ?item wdt:P279 * wd:Q169470 .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n  OPTIONAL {\n    ?item wdt:P279 ?directSuperclass .\n  }\n}", "paraphrases": ["What are all the professions related to physicist, either as broader categories or narrower specializations, and what is their immediate parent class?", "Show me the full hierarchy of classes connected to physicist, including both ancestors and descendants, with their English labels and direct superclasses."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { <http://www.wikidata.org/entity/Q169470> <http://www.wikidata.org/prop/direct/P279> * ?var1 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q169470> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"zh\". } }"}}
{"id": "test_2957", "question": "Who are the most widely covered presidents on Wikipedia, ranked by the number of language editions they have articles in?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ( COUNT( ?site ) AS ?sitelinks ) WHERE {\n  ?person wdt:P39 ?position .\n  ?position wdt:P31 wd:Q30461 .\n  ?site schema:about ?person .\n  ?site schema:isPartOf ?wiki .\n  FILTER ( CONTAINS( STR( ?wiki ) , \"wikipedia.org\" ) )\n}\nGROUP BY ?person\nORDER BY DESC ( ?sitelinks )\nLIMIT 1000", "paraphrases": ["List the top 1000 presidents based on how many Wikipedia language versions feature articles about them.", "Which heads of state with the title of president have the most Wikipedia language links, and how many are there?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q30461> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 1000"}}
{"id": "test_2958", "question": "What is the most common Italian description for Italian painters?", "sparql": "SELECT DISTINCT ?italianDescription (COUNT(?entity) AS ?count)\nWHERE {\n  ?entity wdt:P106 wd:Q1028181 ;\n          wdt:P27 wd:Q38 .\n  ?entity schema:description ?italianDescription .\n  FILTER(LANG(?italianDescription) = \"it\")\n}\nGROUP BY ?italianDescription\nORDER BY DESC(?count)", "paraphrases": ["How many Italian painters have the description \"pittore italiano\" in Italian?", "Can you list the Italian descriptions of Italian painters, ranked by how common they are?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { BIND ( \"string1\"@en AS ?var3 ). ?var4 <http://schema.org/description> ?var3 . ?var4 <http://schema.org/description> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"it\" ) ) ) . } GROUP BY ?var1 ORDER BY DESC( ?var2 )"}}
{"id": "test_2959", "question": "What is the image associated with the SNAC ARK ID w6kb6r4q?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6kb6r4q\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Can you show me the Wikimedia Commons image for the person with SNAC ARK ID w6kb6r4q?", "Which image is linked to the archival record identified by w6kb6r4q in the Social Networks and Archival Context system?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6kb6r4q\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2960", "question": "Top astronomers by number of Wikipedia language editions", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ( COUNT( ?site ) AS ?sitelinks ) WHERE {\n  VALUES ?property {\n    wdt:P106 wdt:P101 wdt:P39\n  }\n  ?person ?property wd:Q11063 .\n  ?article schema:about ?person ; schema:isPartOf ?site .\n  FILTER ( STRSTARTS( STR( ?site ) , \"https://\" ) )\n}\nGROUP BY ?person\nORDER BY DESC ( ?sitelinks )\nLIMIT 1000", "paraphrases": ["Who are the most famous astronomers based on how many Wikipedia versions exist about them?", "List the top 1000 astronomers (by occupation, field of work, or position held) ranked by their Wikipedia popularity across languages."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/prop/direct/P106> ) ( <http://www.wikidata.org/prop/direct/P101> ) ( <http://www.wikidata.org/prop/direct/P39> ) } ?var1 ?var3 <http://www.wikidata.org/entity/Q11063> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 1000"}}
{"id": "test_2961", "question": "Who are the spouses of poets who were born in the same city as Johann Wolfgang von Goethe?", "sparql": "SELECT ?poet ?spouse ?birthplace ?poetLabel ?spouseLabel ?birthplaceLabel WHERE { ?poet wdt:P106 wd:Q49757 . ?spouse wdt:P26 ?poet . ?spouse wdt:P19 ?birthplace . wd:Q5879 wdt:P19 ?birthplace . OPTIONAL { ?poet rdfs:label ?poetLabel . FILTER(LANG(?poetLabel) = \"en\") } OPTIONAL { ?spouse rdfs:label ?spouseLabel . FILTER(LANG(?spouseLabel) = \"en\") } OPTIONAL { ?birthplace rdfs:label ?birthplaceLabel . FILTER(LANG(?birthplaceLabel) = \"en\") } }", "paraphrases": ["Spouses of poets born in Frankfurt (Goethe\u2019s birthplace)", "Can you list the poets and their spouses who were born in Frankfurt, the city where Goethe was born?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q49757> . ?var2 <http://www.wikidata.org/prop/direct/P26> ?var1 . ?var2 <http://www.wikidata.org/prop/direct/P19> ?var3 . <http://www.wikidata.org/entity/Q5879> <http://www.wikidata.org/prop/direct/P19> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_2962", "question": "What are the English and German Wikipedia pages for the film with IMDb ID tt4106376?", "sparql": "SELECT ?item ?wikipedia_page WHERE { ?item wdt:P345 \"tt4106376\" . ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Show me the Wikipedia articles in English and German about the movie Renegades (2017).", "Which language versions of Wikipedia have articles about the film identified by IMDb ID tt4106376?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt4106376\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2963", "question": "Humans mentioned on Russian Wikisource with no language specified in Wikidata.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?human ?humanLabel WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?page schema:isPartOf <https://ru.wikisource.org/> ; schema:about ?human .\n  OPTIONAL {\n    ?human wdt:P1412 ?lang .\n  }\n  FILTER(! BOUND(?lang))\n  .\n  ?human rdfs:label ?humanLabel .\n  FILTER(LANG(?humanLabel) = \"ru\")\n}\nORDER BY ASC(?humanLabel)", "paraphrases": ["Who are the people listed on Russian Wikisource who do not have any language listed in their Wikidata profile?", "List the Russian names of people on Russian Wikisource who have no language specified in Wikidata, sorted alphabetically."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var2 <http://schema.org/isPartOf> <https://ru.wikisource.org/> ; <http://schema.org/about> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1412> ?var3 . } FILTER ( ( !( BOUND ( ?var3 ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_2964", "question": "What are the English and German Wikipedia or news pages about The Washington Post, and what are its English and German labels?", "sparql": "SELECT ?item ?itemLabel ?page WHERE { ?item wdt:P856 <https://washingtonpost.com> . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\" || LANG(?itemLabel) = \"de\") . ?page schema:about ?item . ?page schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Which English and German-language articles are about The Washington Post, and what are its labels in those languages?", "Show me the English and German labels of The Washington Post along with any English or German web pages that are about it."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://feeds.washingtonpost.com/rss/business> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.feeds.washingtonpost.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.feeds.washingtonpost.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://feeds.washingtonpost.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://feeds.washingtonpost.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://feeds.washingtonpost.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://feeds.washingtonpost.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://feeds.washingtonpost.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://feeds.washingtonpost.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://feeds.washingtonpost.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://feeds.washingtonpost.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2965", "question": "What are the English Wikipedia pages and official websites of airlines owned by TUI Travel?", "sparql": "SELECT DISTINCT ?company ?companyLabel ?wikipedia_page ?website ?type WHERE {  ?company wdt:P127 wd:Q1476472 .  ?company rdfs:label ?companyLabel .  FILTER(LANG(?companyLabel) = \"en\")  ?wikipedia_page schema:about ?company ;                  schema:inLanguage \"en\" ;                  schema:isPartOf <https://en.wikipedia.org/> .  OPTIONAL { ?company wdt:P856 ?website . }  OPTIONAL { ?company wdt:P31 ?type . } }", "paraphrases": ["Show me the subsidiaries of TUI Travel that have English Wikipedia pages, along with their types and official websites.", "Which companies owned by TUI Travel have an English Wikipedia article, and what are their official websites and classifications?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P127> <http://www.wikidata.org/entity/Q1156859> . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"en\". ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P127> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2966", "question": "Humans with the surname Ivanov on Russian Wikipedia who are not citizens of Russia, the Soviet Union, or the Russian Empire.", "sparql": "SELECT ?human ?humanLabel WHERE { ?article schema:about ?human ; schema:isPartOf <https://ru.wikipedia.org/> . ?human wdt:P31 wd:Q5 ; wdt:P734 wd:Q16654835 . FILTER NOT EXISTS { ?human wdt:P27 wd:Q34266 } . FILTER NOT EXISTS { ?human wdt:P27 wd:Q15180 } . FILTER NOT EXISTS { ?human wdt:P27 wd:Q159 } . ?human rdfs:label ?humanLabel . FILTER(LANG(?humanLabel) = \"ru\") } ORDER BY ASC(?humanLabel)", "paraphrases": ["Who are the people named Ivanov featured on Russian Wikipedia, excluding those who are citizens of Russia, the Soviet Union, or the Russian Empire?", "List all Russian-language Wikipedia entries for people with the last name Ivanov who are not from Russia, the USSR, or the Russian Empire, sorted alphabetically by name."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var2 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://ru.wikipedia.org/> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P734> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P282> <http://www.wikidata.org/entity/Q8209> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q34266> . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q15180> . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q159> . } ) ) . VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q16654835> ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_2967", "question": "List of human writers in Wikidata with English labels.", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P31 wd:Q5 ; wdt:P106 wd:Q36180 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["Who are some notable writers who are humans, according to Wikidata?", "Can you show me the names of people whose occupation is writer and who are classified as humans, with their English labels?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q12262121> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_2968", "question": "Painters and sculptors from Belarus or the Byelorussian SSR and their birthplace coordinates.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?birthPlace ?coordinates WHERE {\n  ?person wdt:P106 ?occupation .\n  ?person wdt:P27 ?citizenship .\n  ?person wdt:P19 ?birthPlace .\n  ?birthPlace wdt:P625 ?coordinates .\n  FILTER(?occupation IN(wd:Q1028181 , wd:Q1281618))\n  FILTER(?citizenship IN(wd:Q184 , wd:Q2895))\n}\nLIMIT 10000", "paraphrases": ["Who are the painters and sculptors who were citizens of Belarus or the Byelorussian SSR, and where were they born (with coordinates)?", "List the names of painters and sculptors who were citizens of Belarus or the Byelorussian SSR, along with the geographic coordinates of their birthplaces."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P27> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P625> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"be\". } FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q1028181> ) || ( ?var4 = <http://www.wikidata.org/entity/Q1281618> ) ) ) . FILTER ( ( ( ?var5 = <http://www.wikidata.org/entity/Q184> ) || ( ?var5 = <http://www.wikidata.org/entity/Q2895> ) ) ) . } LIMIT 10000"}}
{"id": "test_2969", "question": "What are all the subclasses of the occupation \"economist\" in Wikidata?", "sparql": "SELECT DISTINCT ?occupation ?occupationLabel ( GROUP_CONCAT( DISTINCT ?subclassLabel ; SEPARATOR = \", \" ) AS ?subclasses ) WHERE { BIND( wd:Q188094 AS ?occupation ) . BIND( 0 AS ?sortOrder ) . ?subclass wdt:P279 ?occupation . ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = \"en\") } GROUP BY ?occupation ?occupationLabel ?sortOrder ORDER BY ASC(?sortOrder)", "paraphrases": ["Can you list all the specialized types of economists, such as political or labor economists, that are classified as subclasses of economist?", "Show me a comma-separated list of all English-language subclass labels of the occupation \"economist\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ( GROUP_CONCAT ( DISTINCT ?var3 ; SEPARATOR = \", \" ) AS ?var4 ) WHERE { { OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q188094> . } BIND ( <http://www.wikidata.org/entity/Q188094> AS ?var2 ). BIND ( \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var1 ). } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var2 ?var2Label ORDER BY ASC( ?var1 )"}}
{"id": "test_2970", "question": "Who are the people whose occupation is geology?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P31 wd:Q5 ; wdt:P106 wd:Q1069 .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}", "paraphrases": ["Can you list individuals who work as geologists?", "Which humans have geology listed as their profession?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82955> , <http://www.wikidata.org/entity/Q23497981> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_2971", "question": "Brazilian physicists with birth dates and images", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel ?birthDate ?image WHERE {\n  ?person wdt:P106 wd:Q169470 ; wdt:P27 wd:Q155 ; wdt:P569 ?birthDate ; wdt:P18 ?image .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}", "paraphrases": ["Who are the Brazilian physicists and when were they born, along with their images?", "List Brazilian physicists, their dates of birth, and their associated images."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q169470> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q155> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pt,pt, en\". } ?var5 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q68> . }"}}
{"id": "test_2972", "question": "What are some examples of torps (small rural settlements)?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?torp(SAMPLE(?label) AS ?torpLabel) WHERE {\n  ?torp wdt:P31 wd:Q1507736 .\n  OPTIONAL {\n    ?torp rdfs:label ?label .\n  }\n}\nGROUP BY ?torp\nLIMIT 21", "paraphrases": ["Can you list up to 21 crofts or torps and their names?", "Show me some places classified as torps in Wikidata, along with their labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1507736> . } LIMIT 21 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2973", "question": "English and German Wikipedia and Wikiquote pages for the movie with IMDb ID tt0091042", "sparql": "SELECT ?movie ?page ?language WHERE { ?movie wdt:P345 \"tt0091042\" . ?page schema:about ?movie . ?page schema:inLanguage ?language . FILTER(?language IN (\"en\", \"de\")) }", "paraphrases": ["What English and German language pages on Wikipedia and Wikiquote are about the movie Ferris Bueller's Day Off?", "Show me the links to the English and German language external pages (like Wikipedia and Wikiquote) that are about the movie identified by IMDb ID tt0091042."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0091042\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2974", "question": "What are the most common occupations of people listed in the Science Museum Group\u2019s database?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?occupation ?occupationLabel(COUNT(?person) AS ?count) WHERE {\n  ?person wdt:P4389 ?id .\n  ?person wdt:P106 ?occupation .\n  ?occupation rdfs:label ?occupationLabel .\n  FILTER(LANG(?occupationLabel) = \"en\")\n}\nGROUP BY ?occupation ?occupationLabel\nORDER BY DESC(?count)", "paraphrases": ["How many individuals in the Science Museum Group\u2019s records have each occupation, and what are those occupations in English?", "Can you list the occupations of people associated with the Science Museum Group, sorted by how many people have each job?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P4389> ?var4 . ?var2 <http://www.wikidata.org/prop/direct/P106> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } GROUP BY ?var1 ?var1Label"}}
{"id": "test_2975", "question": "Peruvian humans without a Slovenian label, with their labels", "sparql": "SELECT ?var1 (SAMPLE(?label) AS ?var1Label) WHERE { ?var1 wdt:P31 wd:Q5 . ?var1 wdt:P27 wd:Q419 . FILTER NOT EXISTS { ?var1 rdfs:label ?slLabel . FILTER(LANG(?slLabel) = \"sl\") } ?var1 rdfs:label ?label . FILTER(LANG(?label) != \"sl\") } GROUP BY ?var1 ORDER BY ASC(?var1Label)", "paraphrases": ["Who are the Peruvian people who do not have a label in Slovenian, and what are their names?", "List the names of all Peruvian citizens who don't have a Slovenian Wikipedia label."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q419> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,de,nl,fr,it,en,no,pt,pl,cs,hr\". } FILTER ( ( NOT EXISTS { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"sl\" ) ) ) . } ) ) . } ORDER BY ASC( ?var1Label )"}}
{"id": "test_2976", "question": "What are all the professions listed in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?profession WHERE {\n  ?profession wdt:P31 wd:Q28640 .\n}", "paraphrases": ["Which items in Wikidata are classified as professions?", "List all entities that are instances of the profession class in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q28640> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . } }"}}
{"id": "test_2977", "question": "Humans with Russian Wikisource pages but no recorded place of birth.", "sparql": "SELECT DISTINCT ?human ?humanLabel ?wikisourcePage WHERE { ?human wdt:P31 wd:Q5 . OPTIONAL { ?human wdt:P19 ?birthPlace . } ?wikisourcePage schema:isPartOf [ wikibase:wikiGroup \"wikisource\" ] ; schema:inLanguage \"ru\" ; schema:about ?human . FILTER ( !BOUND(?birthPlace) ) . ?human rdfs:label ?humanLabel . FILTER (LANG(?humanLabel) = \"en\") } ORDER BY ASC(?humanLabel)", "paraphrases": ["Who are the people listed on Russian Wikisource who do not have a known birthplace in Wikidata?", "Show me the English names of people who have pages on Russian Wikisource but whose birthplace is not specified in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 . } ?var2 <http://schema.org/isPartOf> [ <http://wikiba.se/ontology#wikiGroup> \"wikisource\" ] ; <http://schema.org/inLanguage> \"ru\"; <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru\". } FILTER ( ( !( BOUND ( ?var3 ) ) ) ) . } ORDER BY ASC( ?var1Label )"}}
{"id": "test_2978", "question": "Humans from Gipuzkoa or Biscay with images", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?birthplaceLabel ?image WHERE {\n  ?person wdt:P19 ?birthplace .\n  {\n    ?birthplace wdt:P131 wd:Q95010 .\n  } UNION {\n    ?birthplace wdt:P131 wd:Q93366 .\n  }\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P18 ?image .\n  ?person rdfs:label ?personLabel .\n  ?birthplace rdfs:label ?birthplaceLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) FILTER ( LANG( ?birthplaceLabel ) = \"en\" )\n}\nORDER BY ASC ( ?personLabel )", "paraphrases": ["Who are some people born in the Spanish provinces of Gipuzkoa or Biscay, and what are their images?", "List people who were born in Gipuzkoa or Biscay, including their names, birthplaces, and photos."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var2 . { <http://www.wikidata.org/entity/Q95010> <http://www.wikidata.org/prop/direct/P527> ?var2 . } UNION { <http://www.wikidata.org/entity/Q93366> <http://www.wikidata.org/prop/direct/P527> ?var2 . } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"eu\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_2979", "question": "Humans born after 1721 and died before 1917 with no known citizenship, mentioned on Russian Wikisource.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P569 ?birth .\n  ?person wdt:P570 ?death .\n  ?article schema:isPartOf <https://ru.wikisource.org/> ; schema:about ?person .\n  OPTIONAL {\n    ?person wdt:P27 ?country .\n  }\n  FILTER ( ! BOUND( ?country ) ) FILTER ( YEAR( ?birth ) > 1721 ) FILTER ( YEAR( ?death ) < 1917 )\n}\nORDER BY ASC ( ?person )", "paraphrases": ["Who are the people born after 1721 and died before 1917 who had no known country of citizenship and are referenced on Russian Wikisource?", "List all individuals who were born after 1721, died before 1917, have no recorded citizenship, and are mentioned on Russian Wikisource."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . ?var4 <http://schema.org/isPartOf> <https://ru.wikisource.org/> ; <http://schema.org/about> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var5 . } FILTER ( ( !( BOUND ( ?var5 ) ) ) ) . FILTER ( ( ( YEAR ( ?var2 ) > \"1721\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . FILTER ( ( ( YEAR ( ?var3 ) < \"1917\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_2980", "question": "Entities in Wikidata with blank node gender values", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P21 ?gender . FILTER(isBLANK(?gender)) . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["Which human entities in Wikidata have malformed or missing gender data represented as blank nodes?", "List the English-labeled entities in Wikidata that have an invalid (blank node) value for sex or gender."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . FILTER ( ( isBLANK ( ?var2 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_2981", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0489664?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?wikipedia_page WHERE {\n  ?movie wdt:P345 \"tt0489664\" .\n  ?wikipedia_page schema:about ?movie .\n  ?wikipedia_page schema:inLanguage ?lang .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n}", "paraphrases": ["Show me the Wikipedia articles in English and German about the film \"Butterfly on a Wheel\".", "Which language versions of Wikipedia have articles about the movie identified by tt0489664?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0489664\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2982", "question": "What are the Latvian, French, and other language labels for the entities Jean-Fran\u00e7ois Champollion, Eduardo Frei Ruiz-Tagle, Ivan Karasyov, and Yevgeny Chernyaev?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?lvLabel ?frLabel(SAMPLE(?anyLabel) AS ?fallbackLabel) WHERE {\n  VALUES ?item {\n    wd:Q118994 wd:Q326 wd:Q260 wd:Q10004\n  }\n  OPTIONAL {\n    ?item rdfs:label ?lvLabel .\n    FILTER(LANG(?lvLabel) = \"lv\")\n  }\n  OPTIONAL {\n    ?item rdfs:label ?frLabel .\n    FILTER(LANG(?frLabel) = \"fr\")\n  }\n  OPTIONAL {\n    ?item rdfs:label ?anyLabel\n  }\n}\nGROUP BY ?item ?lvLabel ?frLabel", "paraphrases": ["Show me the labels in Latvian and French for these four people, along with one label in any other language.", "For the Soviet painter Yevgeny Chernyaev, Russian journalist Ivan Karasyov, French Egyptologist Jean-Fran\u00e7ois Champollion, and Chilean president Eduardo Frei Ruiz-Tagle, what are their labels in Latvian, French, and any other language?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label ( SAMPLE ( ?var4Label ) AS ?var4Label )( SAMPLE ( ?var5Label ) AS ?var5Label ) WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q118994> ) ( <http://www.wikidata.org/entity/Q326> ) ( <http://www.wikidata.org/entity/Q260> ) ( <http://www.wikidata.org/entity/Q10004> ) } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"lv\" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"fr\" ) ) ) . } BIND ( IF ( BOUND ( ?var2Label ) , ?var2Label , IF ( BOUND ( ?var3Label ) , ?var3Label , ?var4Label ) ) AS ?var5Label ). ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . } GROUP BY ?var1 ?var2Label ?var3Label"}}
{"id": "test_2983", "question": "Countries with their English demonyms and official names.", "sparql": "SELECT ?country ?demonym ?officialName WHERE { ?country wdt:P31 wd:Q6256 . OPTIONAL { ?country wdt:P1549 ?demonym . FILTER (LANG(?demonym) = \"en\") } OPTIONAL { ?country wdt:P1448 ?officialName . } } LIMIT 200000", "paraphrases": ["What are the English demonyms and official names of all countries?", "List all countries, their English demonyms (if available), and their official names in any language."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1549> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1705> ?var3Label . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 200000"}}
{"id": "test_2984", "question": "Who are the writers listed in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?writer WHERE {\n  ?writer wdt:P106 wd:Q36180 .\n}", "paraphrases": ["What people have the occupation of a writer?", "Can you list all individuals whose profession is writing?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q36180> . }"}}
{"id": "test_2985", "question": "Stateless Russian-speaking people with articles on Russian Wikisource, ordered by birth date.", "sparql": "SELECT DISTINCT ?person ?personLabel ?birthDate ?deathDate WHERE { ?person wdt:P31 wd:Q5 . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } ?person wdt:P1412 wd:Q7737 . FILTER NOT EXISTS { ?person wdt:P27 ?country . } ?article schema:about ?person ; schema:isPartOf <https://ru.wikisource.org/> . OPTIONAL { ?person rdfs:label ?personLabelRu . FILTER(LANG(?personLabelRu) = \"ru\") } OPTIONAL { ?person rdfs:label ?personLabelEn . FILTER(LANG(?personLabelEn) = \"en\") } BIND(COALESCE(?personLabelRu, ?personLabelEn) AS ?personLabel) } ORDER BY ASC(?birthDate)", "paraphrases": ["Who are the people who speak Russian, have no recorded citizenship, and are featured on Russian Wikisource, and when were they born and died?", "List the names, birth dates, and death dates of Russian-speaking individuals without citizenship who are the subjects of articles on Russian Wikisource, sorted by birth date."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1412> ?var5 . } ?var6 <http://schema.org/isPartOf> <https://ru.wikisource.org/> ; <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru\". } FILTER ( ( !( BOUND ( ?var4 ) ) ) ) . FILTER ( ( ( ?var5 = <http://www.wikidata.org/entity/Q7737> ) ) ) . } ORDER BY ASC( ?var2 )"}}
{"id": "test_2986", "question": "Who are the grandchildren of Johann Sebastian Bach?", "sparql": "SELECT ?grandchild ?grandchildLabel WHERE { wd:Q1339 ( wdt:P40 / wdt:P40 ) ?grandchild . ?grandchild rdfs:label ?grandchildLabel . FILTER(LANG(?grandchildLabel) = \"en\")}", "paraphrases": ["Grandchildren of Johann Sebastian Bach with their names", "List the English names of Johann Sebastian Bach\u2019s grandchildren."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q1339> ( <http://www.wikidata.org/prop/direct/P40> / <http://www.wikidata.org/prop/direct/P40> ) ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_2987", "question": "Who used \"Stendhal\" as a pseudonym?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?personLabel WHERE {\n  ?person wdt:P742 \"Stendhal\" .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}\nLIMIT 20", "paraphrases": ["Which person is known professionally as Stendhal?", "Find the name of the individual whose alias is Stendhal."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P742> ?var1 . ?var3 <http://www.wikidata.org/prop/direct/P742> \"Stendhal\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 20"}}
{"id": "test_2988", "question": "People who are citizens of Cuba", "sparql": "SELECT ?person WHERE { ?person wdt:P27 wd:Q241 . } LIMIT 100", "paraphrases": ["Who are some people with Cuban citizenship?", "List up to 100 individuals who hold Cuban nationality."], "info": {"raw_sparql": "SELECT ?var1 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,es\". } ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q241> . } LIMIT 100"}}
{"id": "test_2989", "question": "Female pornographic actors born after 1999 who are still alive, with their images.", "sparql": "SELECT DISTINCT ?item (SAMPLE(?label) AS ?itemLabel) ?image WHERE { ?item wdt:P106 wd:Q488111 . ?item wdt:P21 wd:Q6581072 . ?item wdt:P569 ?birthDate . OPTIONAL { ?item wdt:P18 ?image . } MINUS { ?item wdt:P570 ?deathDate . } ?item rdfs:label ?label . FILTER ( ?birthDate > \"1999-01-01T00:00:00Z\"^^xsd:dateTime ) FILTER (lang(?label) = \"en\" || lang(?label) = \"\") } GROUP BY ?item ?image LIMIT 100", "paraphrases": ["Who are the female adult performers born after January 1, 1999, who are still alive and have a photo on Wikimedia Commons?", "List the names and images of living female porn actors born after 1999."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q488111> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P570> _:b4 . } FILTER ( ( ( ?var3 > \"1999-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . } LIMIT 100"}}
{"id": "test_2990", "question": "Image of person with SNAC ARK ID w60d5jrb", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w60d5jrb\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image of the person who has the SNAC ARK ID w60d5jrb?", "Please show me the Commons image associated with the SNAC ARK ID w60d5jrb."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6j10p9f\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_2991", "question": "Who are the people employed by companies headquartered in the United States?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?company ?companyLabel WHERE {\n  ?person wdt:P108 ?company .\n  ?company wdt:P159 wd:Q30 .\n  ?person rdfs:label ?personLabel .\n  ?company rdfs:label ?companyLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) FILTER ( LANG( ?companyLabel ) = \"en\" )\n}", "paraphrases": ["List employees and their employers located in the United States.", "Which individuals work for companies with their headquarters in the United States?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label WHERE { ?var3 <http://wikiba.se/ontology#claim> ?var5 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#qualifier> ?var7 . ?var3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var4 <http://wikiba.se/ontology#claim> ?var8 . ?var4 <http://wikiba.se/ontology#qualifier> ?var9 . ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var1 ?var5 ?var10 . ?var10 ?var6 ?var2 . ?var10 ?var9 <http://www.wikidata.org/entity/Q34874183> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2992", "question": "German names of all professions in Wikidata", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?profession ?label WHERE {\n  ?profession wdt:P31 wd:Q28640 .\n  ?profession rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"de\" )\n}\nLIMIT 10000", "paraphrases": ["What are the German-language labels for all professions listed in Wikidata?", "List the German names of all occupations (instances of profession) in Wikidata, along with their entity IDs."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q28640> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"de\" ) ) ) . } LIMIT 10000"}}
{"id": "test_2993", "question": "People who are paleontologists", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P106 wd:Q1662561 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } LIMIT 100", "paraphrases": ["Who are some notable paleontologists?", "List the names of people whose occupation is paleontology."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1662561> . } LIMIT 100"}}
{"id": "test_2994", "question": "What is the gender of Marie Curie?", "sparql": "SELECT ?genderLabel WHERE { wd:Q7186 wdt:P21 ?gender . ?gender rdfs:label ?genderLabel . FILTER(LANG(?genderLabel) = \"en\")}", "paraphrases": ["Is Marie Curie female? (Show the gender label in English.)", "What is the English label for the gender of Marie Curie?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q21592046> <http://www.wikidata.org/prop/direct/P21> ?var2 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> \"female\"^^<http://www.w3.org/2001/XMLSchema#string> . }"}}
{"id": "test_2995", "question": "What is the official website of English Wikipedia?", "sparql": "SELECT ?itemLabel ?website WHERE { wd:Q328 wdt:P856 ?website . wd:Q328 rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["Can you tell me the English label and official URL for the English Wikipedia page on Wikidata?", "Show me the English name and website of the English Wikipedia edition."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://en.wikipedia.org/wiki/List_of_largest_cruise_ships> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.en.wikipedia.org/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.en.wikipedia.org/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://en.wikipedia.org/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://en.wikipedia.org/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://en.wikipedia.org> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://en.wikipedia.org> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://en.wikipedia.org> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://en.wikipedia.org> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://en.wikipedia.org/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://en.wikipedia.org/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2996", "question": "Parents of people born in Honolulu", "sparql": "SELECT ?parent ?parentLabel ?child ?childLabel WHERE { ?parent wdt:P31 wd:Q5 ; wdt:P40 ?child . ?child wdt:P31 wd:Q5 ; wdt:P19 wd:Q18094 . ?parent rdfs:label ?parentLabel . ?child rdfs:label ?childLabel . FILTER(LANG(?parentLabel) = \"en\") FILTER(LANG(?childLabel) = \"en\") } LIMIT 100", "paraphrases": ["Who are the parents of individuals born in Honolulu?", "List the names of parents and their children, where the children were born in Honolulu."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P40> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q18094> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } } LIMIT 100"}}
{"id": "test_2997", "question": "Humans who are citizens of India", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P27 wd:Q668 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\")}", "paraphrases": ["Who are the Indian citizens that are human beings?", "List the names of all Indian citizens in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q668> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"kn\", \"\". } }"}}
{"id": "test_2998", "question": "What are the English and German Wikipedia page titles for the movie with IMDb ID tt1925466?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?en_title ?de_title WHERE {\n  ?item wdt:P345 \"tt1925466\" .\n  OPTIONAL {\n    ?en_page schema:about ?item ; schema:inLanguage \"en\" .\n    BIND(STRAFTER(STR(?en_page) , \"https://en.wikipedia.org/wiki/\") AS ?en_title)\n  }\n  OPTIONAL {\n    ?de_page schema:about ?item ; schema:inLanguage \"de\" .\n    BIND(STRAFTER(STR(?de_page) , \"https://de.wikipedia.org/wiki/\") AS ?de_title)\n  }\n}", "paraphrases": ["Can you find the Wikipedia articles in English and German about the film identified by tt1925466 on IMDb?", "Which Wikipedia pages in English and German discuss the movie 'Mall' (IMDb: tt1925466)?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1925466\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_2999", "question": "What are the English and German Wikipedia pages linked to Tiscover\u2019s official website (www.tiscover.com)?", "sparql": "SELECT DISTINCT ?item ?itemLabel ?page ?website WHERE { ?item wdt:P856 <http://www.tiscover.com/> . ?page schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") . ?item wdt:P856 ?website . OPTIONAL { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } }", "paraphrases": ["Which Wikipedia articles in English or German are about the company Tiscover, and what is its official website?", "Show me the English label of Tiscover, along with its English and German Wikipedia pages and its official website URL."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.tiscover.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.tiscover.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.tiscover.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.tiscover.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.tiscover.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.tiscover.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.tiscover.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://tiscover.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://tiscover.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://tiscover.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://tiscover.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3000", "question": "Ukrainian names of actors in Guardians of the Galaxy (2014) and their images", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?actor ?actorLabel ?image WHERE {\n  wd:Q5887360 wdt:P161 ?actor .\n  ?actor rdfs:label ?actorLabel .\n  FILTER ( LANG( ?actorLabel ) = \"uk\" ) .\n  OPTIONAL {\n    ?actor wdt:P18 ?image .\n  }\n}\nORDER BY ASC ( ?actor )\nLIMIT 1000", "paraphrases": ["Who are the actors in the movie Guardians of the Galaxy, and what are their names in Ukrainian? Do any of them have photos?", "List the Ukrainian-language names of the cast members of Guardians of the Galaxy (2014), along with their images if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4Label ?var5 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { BIND ( <http://www.wikidata.org/entity/Q5887360> AS ?var3 ). BIND ( \"N/A\" AS ?var1 ). BIND ( \"identity\"@uk AS ?var2Label ). } UNION { <http://www.wikidata.org/entity/Q5887360> ?var1 ?var3 . ?var6 ?var7 ?var1 . ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var5 . } FILTER ( ( ( LANG ( ?var4Label ) = \"uk\" ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = \"uk\" ) ) ) . } ORDER BY ASC( ?var1 )ASC( ?var3 ) LIMIT 1000"}}
{"id": "test_3001", "question": "What is the image of the person with SNAC ARK ID w6gc6hjm?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6gc6hjm\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Can you show me the Wikimedia Commons image linked to Nathan Parsons in Wikidata?", "Retrieve the image associated with the Social Networks and Archival Context identifier w6gc6hjm."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6gc6hjm\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3002", "question": "Which anthropologists have the most Wikipedia articles, and how many are there?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ( COUNT( ?article ) AS ?sitelinks ) WHERE {\n  ?person wdt:P106 wd:Q4773904 .\n  ?article schema:about ?person .\n  ?article schema:isPartOf ?wiki .\n  FILTER ( STRSTARTS( STR( ?wiki ) , \"https://\" ) )\n}\nGROUP BY ?person\nORDER BY DESC ( ?sitelinks )\nLIMIT 1000", "paraphrases": ["List the top 1000 anthropologists based on the number of language editions of Wikipedia they have articles in.", "Who are the most notable anthropologists according to their presence across Wikipedia language editions?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q4773904> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 1000"}}
{"id": "test_3003", "question": "Who are the Argentine architects, and what is their gender?", "sparql": "SELECT ?architect ?architectLabel ?gender ?genderLabel WHERE { ?architect wdt:P31 wd:Q5 . ?architect wdt:P27 wd:Q414 . ?architect wdt:P106 wd:Q42973 . OPTIONAL { ?architect wdt:P21 ?gender . } ?architect rdfs:label ?architectLabel . FILTER(LANG(?architectLabel) = \"en\") OPTIONAL { ?gender rdfs:label ?genderLabel . FILTER(LANG(?genderLabel) = \"en\") } }", "paraphrases": ["List the names and genders of all architects who are citizens of Argentina.", "Argentine architects and their sex/gender in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q414> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q42973> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . } }"}}
{"id": "test_3004", "question": "Male humans with an Encyclop\u00e6dia Universalis ID.", "sparql": "SELECT ?person WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P21 wd:Q6581097 . ?person wdt:P3219 [] .}", "paraphrases": ["Who are the male humans that have an entry in the Encyclop\u00e6dia Universalis online?", "List all male individuals who are documented in the Encyclop\u00e6dia Universalis and are identified as human in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581097> . ?var1 <http://www.wikidata.org/prop/direct/P3219> [] . }"}}
{"id": "test_3005", "question": "What heritage sites in western Ireland (between longitudes -10.5 and -8.5 and latitude 52.9\u201353.1) have images or Wikimedia Commons categories associated with them?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX geof: <http://www.opengis.net/def/function/geosparql/>\nSELECT ?heritageSite ?heritageSiteLabel ?location ?image ?commonsCategory WHERE {\n  ?heritageSite wdt:P1435 [] .\n  ?heritageSite wdt:P625 ?location .\n  BIND( geof:longitude ( ?location ) AS ?long ) BIND( geof:latitude ( ?location ) AS ?lat ) FILTER ( ?lat >= 52.9 && ?lat <= 53.1 && ?long >= -10.5 && ?long <= -8.5 ) ?heritageSite rdfs:label ?heritageSiteLabel .\n  FILTER ( LANG( ?heritageSiteLabel ) = \"en\" ) OPTIONAL {\n    ?heritageSite wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?heritageSite wdt:P373 ?commonsCategory .\n  }\n}\nLIMIT 3000", "paraphrases": ["Can you list the English-named heritage-designated sites in Ireland near the coordinates 53\u00b0N, with their locations, images, and Commons categories?", "Show me heritage sites in western Ireland with coordinates near 53\u00b0N, including their labels, images, and Commons categories."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(-10 53)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(-8 53)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } ?var1 <http://www.wikidata.org/prop/direct/P1435> [] . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_3006", "question": "Heritage sites in western Northern Ireland without images, with their administrative areas and types.", "sparql": "PREFIX geof: <http://www.opengis.net/def/function/geosparql/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?admin ?adminLabel ?instance ?coord WHERE {\n  ?item wdt:P625 ?coord .\n  BIND(geof:longitude(?coord) AS ?lon)\n  BIND(geof:latitude(?coord) AS ?lat)\n  FILTER(?lon >= -7 && ?lon <= -6 && ?lat >= 54 && ?lat <= 55)\n  OPTIONAL {\n    ?item wdt:P131 ?admin .\n    ?admin rdfs:label ?adminLabel .\n    FILTER(LANG(?adminLabel) = \"en\")\n  } MINUS {\n    ?item wdt:P18 ?image .\n  }\n  FILTER(EXISTS {\n    ?item p:P1435 ?stmt1\n  }\n  || EXISTS {\n    ?item p:P2186 ?stmt2\n  })\n  OPTIONAL {\n    ?item wdt:P31 ?instance .\n    ?instance rdfs:label ?instanceLabel .\n    FILTER(LANG(?instanceLabel) = \"en\")\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["What are the heritage-designated or Wiki Loves Monuments-listed locations between latitudes 54 and 55 and longitudes -7 and -6, and what administrative regions and types do they belong to?", "List all heritage sites in the area around the Irish Sea between 54\u00b0N and 55\u00b0N and 7\u00b0W and 6\u00b0W that don't have images, along with their administrative regions and classifications."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var5 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerWest> \"POINT(-6 54)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerEast> \"POINT(-6 55)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } { ?var1 <http://www.wikidata.org/prop/P1435> ?var6 . } UNION { ?var1 <http://www.wikidata.org/prop/P2186> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3007", "question": "Qantas official website and English/German Wikipedia pages", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?qantas ?qantasLabel ?wikipediaPage ?language WHERE {\n  wd:Q32491 wdt:P856 ?qantas .\n  ?wikipediaPage schema:about wd:Q32491 ; schema:inLanguage ?language .\n  FILTER(?language IN(\"en\" , \"de\"))\n  .\n  wd:Q32491 rdfs:label ?qantasLabel .\n  FILTER(LANG(?qantasLabel) = \"en\")\n}", "paraphrases": ["What is Qantas's official website, and which English and German Wikipedia pages are about it?", "Show me the official website of Qantas and its corresponding English and German Wikipedia articles."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://packages.qantas.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.packages.qantas.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.packages.qantas.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://packages.qantas.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://packages.qantas.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://packages.qantas.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://packages.qantas.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://packages.qantas.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://packages.qantas.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://packages.qantas.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://packages.qantas.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3008", "question": "List people and their gender identities from Wikidata in English.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel ?genderLabel WHERE {\n  ?item wdt:P21 ?gender .\n  ?item rdfs:label ?itemLabel .\n  ?gender rdfs:label ?genderLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n  FILTER(LANG(?genderLabel) = \"en\")\n}\nLIMIT 10", "paraphrases": ["Who are some individuals and what are their gender identities according to Wikidata?", "Show me 10 people along with their gender labels in English from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 10"}}
{"id": "test_3009", "question": "Black American female actors born between 1979 and 1988", "sparql": "SELECT DISTINCT ?person ?label WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P106 wd:Q33999 . ?person wdt:P172 wd:Q49085 . ?person wdt:P21 wd:Q6581072 . ?person wdt:P569 ?birthDate . ?person rdfs:label ?label . FILTER (?birthDate > \"1978-12-31T00:00:00\"^^xsd:dateTime) FILTER (?birthDate < \"1989-01-01T00:00:00\"^^xsd:dateTime) FILTER (LANG(?label) = \"en\") }", "paraphrases": ["Who are the African American women who are actors and were born between 1979 and 1988?", "List the English names of female African American actors born in the late 1970s and 1980s."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . ?var1 <http://www.wikidata.org/prop/direct/P172> <http://www.wikidata.org/entity/Q49085> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( ?var2 > \"1978-12-31T00:00:00\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var2 < \"1989-01-01T00:00:00\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . }"}}
{"id": "test_3010", "question": "Descendants of Albert the Bear with birth date, death date, age, and country of citizenship.", "sparql": "SELECT ?descendant ?birthDate ?deathDate ?age ?country WHERE { wd:Q156041 wdt:P40 ?child . ?child wdt:P40 ?descendant . OPTIONAL { ?descendant wdt:P569 ?birthDate . } OPTIONAL { ?descendant wdt:P570 ?deathDate . } OPTIONAL { ?descendant wdt:P27 ?country . } BIND( COALESCE( xsd:integer(FLOOR((xsd:dateTime(?deathDate) - xsd:dateTime(?birthDate)) / 86400 / 365.25)), xsd:integer(FLOOR((NOW() - xsd:dateTime(?birthDate)) / 86400 / 365.25)) ) AS ?age ) } ORDER BY DESC(?birthDate) LIMIT 20", "paraphrases": ["Who are the grandchildren of Albert the Bear, and what are their birth and death dates, ages, and nationalities?", "List the grandchildren of Albert the Bear, including their estimated age (or age at death), birth and death dates, and country of citizenship, sorted by oldest first."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5Label WHERE { <http://www.wikidata.org/entity/Q156041> ( <http://www.wikidata.org/prop/direct/P40> / <http://www.wikidata.org/prop/direct/P40> *) ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var5 . } OPTIONAL { BIND ( IF ( BOUND ( ?var3 ) , <http://www.w3.org/2001/XMLSchema#integer> ( FLOOR ( ( ( ?var3 - ?var2 ) /\"365\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) , <http://www.w3.org/2001/XMLSchema#integer> ( FLOOR ( ( ( NOW ( ) - ?var2 ) /\"365\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) ) AS ?var4 ). ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,de\". } } GROUP BY ?var1 ?var1Label ?var5Label ?var2 ?var3 ?var4 ORDER BY DESC( ?var2 )"}}
{"id": "test_3011", "question": "People who worked in Aix-en-Provence and their work location qualifiers (e.g., start time, sourcing).", "sparql": "PREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?person ?statement (SAMPLE(?qualifierProp) AS ?qualifier)\nWHERE {\n  {\n    SELECT DISTINCT ?person ?statement WHERE {\n      ?statement ps:P937 wd:Q47465 .\n      ?person p:P937 ?statement .\n    }\n    LIMIT 101\n  }\n  OPTIONAL {\n    ?statement ?qualifierProp ?value .\n    FILTER(?qualifierProp IN (pq:P1480, pq:P580, pq:P582, pq:P585))\n  }\n}\nGROUP BY ?person ?statement", "paraphrases": ["Which people had a work location in Aix-en-Provence, and what additional details (like when or how) are recorded about their work there?", "Show me a list of individuals associated with Aix-en-Provence as a workplace, along with any available qualifiers such as start/end dates or sourcing information."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P937> <http://www.wikidata.org/entity/Q47465> . ?var1 <http://www.wikidata.org/prop/P937> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_3012", "question": "Top grammarians with the most Wikipedia language editions", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?grammarian(COUNT(?article) AS ?sitelinkCount) WHERE {\n  ?grammarian wdt:P106 wd:Q15991187 .\n  ?article schema:about ?grammarian ; schema:isPartOf ?wikipediaSite .\n}\nGROUP BY ?grammarian\nORDER BY DESC(?sitelinkCount)\nLIMIT 1000", "paraphrases": ["Which grammarians have the most Wikipedia articles across different languages, and how many are there?", "List the 1000 grammarians with the highest number of Wikipedia language versions, sorted by popularity."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q15991187> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 1000"}}
{"id": "test_3013", "question": "Creative works with performers from India", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?work ?performer ?qualifier ?qualifierValue WHERE {\n  ?work p:P175 ?statement .\n  ?statement ps:P175 ?performer .\n  ?performer wdt:P27 wd:Q668 .\n  OPTIONAL {\n    ?statement ?qualifier ?qualifierValue .\n    ?qualifier wikibase:qualifier true .\n  }\n}\nLIMIT 101", "paraphrases": ["Which movies or songs have performers who are citizens of India?", "List up to 101 creative works and their performers from India, along with any roles or additional details."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P175> <http://www.wikidata.org/entity/Q668> . ?var1 <http://www.wikidata.org/prop/P175> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_3014", "question": "What Wikipedia pages are about the website news.ycombinator.com?", "sparql": "SELECT ?item ?itemLabel ?wikipediaPage WHERE { ?item wdt:P856 <https://news.ycombinator.com/> . ?wikipediaPage schema:about ?item . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["Which Wikipedia articles are linked to the official website of Hacker News?", "Show me all the language versions of Wikipedia pages that discuss the startup news site hosted at news.ycombinator.com."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.startups-im-internet.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.startups-im-internet.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.startups-im-internet.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.startups-im-internet.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.startups-im-internet.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.startups-im-internet.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://startups-im-internet.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://startups-im-internet.de> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3015", "question": "Humans from Myanmar with their occupation, gender, birth date, and birth place.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?human ?gender ?occupation ?birthDate ?birthPlace ?position ?officialWebsite WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human wdt:P27 wd:Q836 .\n  OPTIONAL {\n    ?human wdt:P21 ?gender .\n  }\n  OPTIONAL {\n    ?human wdt:P106 ?occupation .\n  }\n  OPTIONAL {\n    ?human wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?human wdt:P19 ?birthPlace .\n  }\n  OPTIONAL {\n    ?human wdt:P39 ?position .\n  }\n  OPTIONAL {\n    ?human wdt:P856 ?officialWebsite .\n  }\n}\nLIMIT 100", "paraphrases": ["Who are the people from Myanmar, and what are their occupations, genders, birth dates, and places of birth?", "List all humans who are citizens of Myanmar, along with their gender, occupation, date of birth, birthplace, and any positions they hold."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4Label ?var5 ?var6 ?var7Label ?var8Label ?var9Label ?var10Label ?var11Label ?var12Label ?var13Label ?var14Label ?var15Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q836> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P20> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P119> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P69> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P166> ?var11 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var12 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P39> ?var13 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P800> ?var14 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var15 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 150000"}}
{"id": "test_3016", "question": "What are the English and German Wikipedia and Wikiquote pages for the film with IMDb ID tt3518012?", "sparql": "SELECT ?item ?page WHERE { ?item wdt:P345 \"tt3518012\" . ?page schema:about ?item . ?page schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Show me the online encyclopedia and quote pages in English or German about the movie \"Best of Enemies\" (2015).", "Wikipedia and Wikiquote pages in English or German about the movie with IMDb ID tt3518012."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt3518012\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3017", "question": "People who worked in the Netherlands and their work time qualifiers (start time or point in time).", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?person ?statement(SAMPLE(?qualifier) AS ?time) WHERE {\n  ?person p:P937 ?statement .\n  ?statement ps:P937 wd:Q55 .\n  OPTIONAL {\n    ?statement ?qualifier ?value .\n    VALUES ?qualifier {\n      pq:P580 pq:P585\n    }\n  }\n}\nGROUP BY ?person ?statement\nLIMIT 101", "paraphrases": ["Which people have worked in the Netherlands, and what time qualifiers (like start time or point in time) are associated with their work location?", "Show me up to 101 individuals who worked in the Netherlands, along with any start time or point in time qualifiers for their work location statements."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P937> <http://www.wikidata.org/entity/Q55> . ?var1 <http://www.wikidata.org/prop/P937> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_3018", "question": "Work locations of people and when they worked there", "sparql": "SELECT ?person ?personLabel ?location ?locationLabel ?time WHERE { ?person p:P937 ?statement . ?statement ps:P937 ?location . ?statement pq:P585 ?time . ?person rdfs:label ?personLabel . ?location rdfs:label ?locationLabel . FILTER(LANG(?personLabel) = \"en\") FILTER(LANG(?locationLabel) = \"en\") } LIMIT 100", "paraphrases": ["Where did people work and during which time periods?", "List the work locations of individuals along with the dates they were active at those locations, in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/P937> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P937> ?var2 . ?var4 <http://www.wikidata.org/prop/qualifier/P585> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_3019", "question": "Top 500 consultants with the most Wikipedia language editions", "sparql": "SELECT ?person (COUNT(?site) AS ?sitelinkCount) WHERE { ?person wdt:P106 wd:Q15978655 . ?site schema:about ?person ; schema:isPartOf ?wikipedia . FILTER(STRSTARTS(STR(?wikipedia), \"https://\")) } GROUP BY ?person HAVING (COUNT(?site) > 0) ORDER BY DESC(?sitelinkCount) LIMIT 500", "paraphrases": ["Who are the most prominent consultants on Wikipedia, ranked by the number of language versions they have articles in?", "List the 500 consultants with the highest number of Wikipedia articles, sorted by popularity."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q15978655> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 500"}}
{"id": "test_3020", "question": "Who are the American male actors born before 1958 who speak English and have received an award, a nomination, and an IMDb ID?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person ?label WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P166 ?award .\n  ?person wdt:P1411 ?nomination .\n  ?person wdt:P345 ?imdbId .\n  ?person wdt:P106 wd:Q33999 .\n  ?person wdt:P27 wd:Q30 .\n  ?person wdt:P1412 wd:Q1860 .\n  ?person wdt:P21 wd:Q6581097 .\n  ?person wdt:P569 ?birthDate .\n  ?person rdfs:label ?label .\n  FILTER ( ?birthDate < \"1958-01-01T00:00:00\" ^^ xsd:dateTime ) FILTER ( LANG( ?label ) = \"en\" )\n}", "paraphrases": ["American male actors born before 1958 with English as a language, an award, a nomination, and an IMDb ID", "List English-speaking American male actors born before 1958 who have won an award, been nominated for one, and have an IMDb profile."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P166> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P1411> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P345> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q30> . ?var1 <http://www.wikidata.org/prop/direct/P1412> <http://www.wikidata.org/entity/Q1860> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581097> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( ?var5 < \"1958-01-01T00:00:00\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . }"}}
{"id": "test_3021", "question": "Who were born in India on the 10th of the current month?", "sparql": "SELECT ?person ?personLabel (YEAR(?birthDate) AS ?year) (MONTH(?birthDate) AS ?month) (DAY(?birthDate) AS ?day) WHERE { ?person wdt:P19 wd:Q668 ; wdt:P569 ?birthDate . FILTER (DAY(?birthDate) = 10) FILTER (MONTH(?birthDate) = MONTH(NOW())) ?person rdfs:label ?personLabel . FILTER (LANG(?personLabel) = \"en\") } ORDER BY ASC(?day) LIMIT 100", "paraphrases": ["List people born in India on December 10, along with their birth years.", "Can you tell me the names and birth years of people born in India on the 10th day of this month?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( YEAR ( ?var2 ) AS ?var3 )( MONTH ( ?var2 ) AS ?var4 )( DAY ( ?var2 ) AS ?var5 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q668> . ?var6 <http://wikiba.se/ontology#timePrecision> \"11\"^^<http://www.w3.org/2001/XMLSchema#integer> . ?var6 <http://wikiba.se/ontology#timeValue> ?var2 . FILTER ( ( ( DAY ( ?var2 ) = \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . FILTER ( ( ( MONTH ( ?var2 ) = MONTH ( NOW ( ) ) ) ) ) . ?var1 ( <http://www.wikidata.org/prop/P569> / <http://www.wikidata.org/prop/statement/value/P569> ) ?var6 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var5 ) LIMIT 100"}}
{"id": "test_3022", "question": "Indian actors with images on Wikimedia Commons", "sparql": "SELECT ?actor ?image WHERE { ?actor wdt:P106 wd:Q33999 . ?actor wdt:P551 wd:Q668 . ?actor wdt:P18 ?image . } LIMIT 88", "paraphrases": ["Who are the Indian actors that have photos on Wikimedia Commons?", "List images of actors from India."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . ?var1 <http://www.wikidata.org/prop/direct/P551> <http://www.wikidata.org/entity/Q668> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 88"}}
{"id": "test_3023", "question": "Most frequently used property to indicate homosexuality as sexual orientation", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?propertyClaim wd:Q6636 . ?property wikibase:directClaim ?propertyClaim . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["What property is most often used to state that someone's sexual orientation is homosexuality?", "Show me the property that is used the most times to assign homosexuality as a sexual orientation."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q6636> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_3024", "question": "Female humans born in Uruguay with no image on Wikidata.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P21 wd:Q6581072 .\n  ?person wdt:P19 wd:Q77 .\n  FILTER NOT EXISTS {\n    ?person wdt:P18 ?image\n  }\n  .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Who are the female Uruguayan people listed on Wikidata who don\u2019t have a photo?", "List the names of women from Uruguay who don\u2019t have an image associated with their Wikidata entry."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q77> . FILTER ( ( NOT EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var3 . } ) ) . } LIMIT 100"}}
{"id": "test_3025", "question": "Female humans born in Uruguay.", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P21 wd:Q6581072 . ?person wdt:P19 wd:Q77 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["Who are the women born in Uruguay?", "List the names of all female individuals who were born in Uruguay."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q77> . }"}}
{"id": "test_3026", "question": "What are the most common types of creators, and how many people are in each category?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subclass ?subclassLabel ( COUNT( ?instance ) AS ?count ) WHERE {\n  ?subclass ( wdt:P279 * ) wd:Q2500638 .\n  ?instance wdt:P31 ?subclass .\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER ( LANG( ?subclassLabel ) = \"en\" )\n}\nGROUP BY ?subclass ?subclassLabel\nORDER BY DESC ( ?count )", "paraphrases": ["Can you list all subclasses of \"creator\" in English along with the number of individuals belonging to each?", "Show me the hierarchy of creative professions derived from \"creator\", ranked by popularity."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 ( COUNT ( ?var3 ) AS ?var2 ) WHERE { ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q2500638> . } GROUP BY ?var1 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3027", "question": "Indian female actors with Wikipedia pages and images", "sparql": "SELECT DISTINCT ?actor ?actorLabel ?wikipediaPage (SAMPLE(?image) AS ?imageSample)\nWHERE {\n  ?actor wdt:P27 wd:Q668 .\n  ?actor wdt:P106 wd:Q33999 .\n  ?actor wdt:P21 wd:Q6581072 .\n  OPTIONAL {\n    ?actor wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?wikipediaPage schema:about ?actor .\n    ?wikipediaPage schema:isPartOf <https://en.wikipedia.org/> .\n  }\n  ?actor rdfs:label ?actorLabel .\n  FILTER(LANG(?actorLabel) = \"en\")\n}\nGROUP BY ?actor ?actorLabel ?wikipediaPage\nLIMIT 50", "paraphrases": ["Who are some Indian female actors who have Wikipedia articles, and do they have images on Wikimedia Commons?", "List up to 50 Indian female actors along with their English names, Wikipedia links, and any available images."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var3 ) ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q668> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,fr,es,de,ru,it,nl,ja,zh,pl,cs\". } } GROUP BY ?var1 ?var1Label ?var2 ?var4 LIMIT 50"}}
{"id": "test_3028", "question": "What is the English label and description of the Irish archaeological site with SMR ID MA01056?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?site ?siteLabel ?description WHERE {\n  ?site wdt:P4057 \"MA01056\" .\n  OPTIONAL {\n    ?site schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n  ?site rdfs:label ?siteLabel .\n  FILTER(LANG(?siteLabel) = \"en\")\n}", "paraphrases": ["Can you tell me the name and English description of the site in Ireland\u2019s Sites and Monuments Record with ID MA01056?", "Show me the English name and description of the archaeological site in Ireland identified by the SMR ID MA01056."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4057> \"MA01056\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3029", "question": "English or German Wikipedia page for the movie with IMDb ID tt2925768", "sparql": "SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 \"tt2925768\" . ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["What are the English or German Wikipedia articles about the movie with IMDb ID tt2925768?", "Show me the Wikipedia pages in English or German about the film Ned Rifle (IMDb: tt2925768)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2925768\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3030", "question": "FlightGear official website and its English or German Wikipedia/Wikibooks pages", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P856 <https://www.flightgear.org/> .\n  ?description schema:about ?item .\n  ?description schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" ) .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER ( LANG( ?itemLabel ) = \"en\" )\n  }\n}", "paraphrases": ["What are the English and German web pages about FlightGear, and what is its official website?", "Show me the official website of FlightGear and its related English or German descriptions."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.flightcomp.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.flightcomp.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.flightcomp.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.flightcomp.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.flightcomp.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.flightcomp.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.flightcomp.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://flightcomp.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://flightcomp.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://flightcomp.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://flightcomp.de/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3031", "question": "Birth and death dates of Sir Thomas Lipton", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  BIND(wd:Q506188 AS ?person)\n  .\n  ?person wdt:P31 wd:Q5 .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["When were Thomas Lipton's birth and death dates?", "Can you tell me the birth and death dates of the America's Cup challenger Sir Thomas Lipton?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q1309952> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3032", "question": "List all entities that are scientists.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?scientist WHERE {\n  ?scientist wdt:P31 wd:Q901 .\n}", "paraphrases": ["Who are the people classified as scientists on Wikidata?", "Show me all individuals whose profession is scientist."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/Q21503252> <http://www.wikidata.org/entity/Q901> . }"}}
{"id": "test_3033", "question": "Painters from France, Belgium, or the Netherlands born between 1510 and 1690, and their artworks.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7Label WHERE {\n  {\n    ?var1 wdt:P27 wd:Q142\n  } UNION {\n    ?var1 wdt:P27 wd:Q31\n  } UNION {\n    ?var1 wdt:P27 wd:Q55\n  }\n  ?var7 wdt:P170 ?var1 .\n  ?var7 wdt:P31 / wdt:P279 * wd:Q838948 .\n  ?var1 wdt:P106 wd:Q1028181 .\n  ?var1 wdt:P569 ?var3 .\n  ?var1 wdt:P19 ?var4 .\n  OPTIONAL {\n    ?var1 wdt:P735 ?var5 .\n  }\n  OPTIONAL {\n    ?var1 wdt:P734 ?var6 .\n  }\n  OPTIONAL {\n    ?var7 wdt:P1476 ?var2 .\n  }\n  FILTER(?var3 >= \"1510-01-01\" ^^ xsd:date)\n  FILTER(?var3 <= \"1690-12-31\" ^^ xsd:date)\n  OPTIONAL {\n    ?var1 rdfs:label ?var1Label .\n    FILTER(LANG(?var1Label) = \"en\")\n  }\n  OPTIONAL {\n    ?var7 rdfs:label ?var7Label .\n    FILTER(LANG(?var7Label) = \"en\")\n  }\n}\nORDER BY ASC(?var3)\nLIMIT 2000", "paraphrases": ["Who were the painters from France, Belgium, or the Netherlands born between 1510 and 1690, and what artworks did they create?", "List the names, birth dates, birthplaces, and titles of artworks by painters from France, Belgium, or the Netherlands who were born between 1510 and 1690."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7Label WHERE { VALUES ( ?var8 ) { ( <http://www.wikidata.org/entity/Q31> ) ( <http://www.wikidata.org/entity/Q55> ) ( <http://www.wikidata.org/entity/Q142> ) } ?var7 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1028181> . ?var7 <http://www.wikidata.org/prop/direct/P27> ?var8 . ?var7 ^ <http://www.wikidata.org/prop/direct/P170> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P571> ?var3 . ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q838948> . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var4 . FILTER ( ( ( ?var3 >= \"1510-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var3 <= \"1690-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . OPTIONAL { ?var7 <http://www.wikidata.org/prop/direct/P735> ?var5 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/direct/P734> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,nl,fr,es\". } } ORDER BY ASC( ?var3 ) LIMIT 2000"}}
{"id": "test_3034", "question": "What are the English and German Wikipedia/Wikiquote pages for the movie with IMDb ID tt0023563?", "sparql": "SELECT ?item ?page WHERE { ?item wdt:P345 \"tt0023563\" . ?page schema:about ?item . { ?page schema:inLanguage \"en\" . } UNION { ?page schema:inLanguage \"de\" . } }", "paraphrases": ["Show me the language-specific Wikipedia and Wikiquote links for the film \"The Testament of Dr. Mabuse\" (IMDb: tt0023563).", "Retrieve all Wikipedia and Wikiquote pages in English or German that are about the movie identified by IMDb ID tt0023563."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0023563\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3035", "question": "What Wikipedia and Wikiquote pages in English or German are about the movie with IMDb ID tt0348121?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?page WHERE {\n  ?item wdt:P345 \"tt0348121\" .\n  ?page schema:about ?item .\n  ?page schema:inLanguage ?lang .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n}", "paraphrases": ["Show me all language versions of pages about Steamboy on Wikipedia and Wikiquote in English or German.", "Which language editions of pages linked to Steamboy on IMDb are available in English or German?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0348121\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3036", "question": "Who are some real human scientists according to Wikidata?", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P106 wd:Q901 . ?person wdt:P31 wd:Q5 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } LIMIT 10", "paraphrases": ["Can you list the English labels of people whose occupation is scientist?", "Show me the names of humans who have the occupation of scientist."], "info": {"raw_sparql": "CONSTRUCT { ?var1 ?var2Label ?var3 } WHERE { BIND ( \"string1\"@en AS ?var3 ). ?var1 ?var2Label ?var3 . ?var1 ?var4 ?var5 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . }"}}
{"id": "test_3037", "question": "Female humans born in Russia without English Wikipedia pages and their associated neighborhoods in central Saint Petersburg.", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nPREFIX geof: <http://www.opengis.net/def/function/geosparql/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?neighborhood WHERE {\n  ?person wdt:P21 wd:Q6581072 ; wdt:P31 wd:Q5 .\n  ?person wdt:P19 / wdt:P131 * wd:Q159 .\n  ?neighborhood wdt:P31 wd:Q123705 ; wdt:P625 ?coord .\n  BIND(geof:longitude(?coord) AS ?lon)\n  BIND(geof:latitude(?coord) AS ?lat)\n  FILTER(?lat < \"59.9966\" ^^ xsd:decimal && ?lat > \"59.9166\" ^^ xsd:decimal)\n  FILTER(?lon < \"30.349\" ^^ xsd:decimal && ?lon > \"30.269\" ^^ xsd:decimal)\n  FILTER(NOT EXISTS {\n    ?wikipediaArticle schema:about ?person ; schema:inLanguage \"en\" .\n  })\n}\nLIMIT 1000", "paraphrases": ["Who are the female humans born in Russia that don\u2019t have English Wikipedia articles, and which neighborhoods in central Saint Petersburg are they linked to?", "List all female individuals born in Russia who lack an English Wikipedia page, along with any neighborhoods in the central Saint Petersburg area bounded by latitude 59.9166\u201359.9966 and longitude 30.269\u201330.349."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . { } UNION { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q159> . } OPTIONAL { ?var5 <http://schema.org/about> ?var1 . ?var5 <http://schema.org/inLanguage> \"en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q123705> ; <http://www.wikidata.org/prop/P625> [ <http://www.wikidata.org/prop/statement/P625> ?var6 ; <http://www.wikidata.org/prop/statement/value/P625> [ <http://wikiba.se/ontology#geoLongitude> ?var7 ; <http://wikiba.se/ontology#geoLatitude> ?var8 ; <http://wikiba.se/ontology#geoGlobe> ?var9 ] ] . FILTER ( ( ( ?var8 < \"59.9966\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) && ( ?var8 > \"59.9166\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) && ( ?var7 < \"30.349\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) && ( ?var7 > \"30.269\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) ) ) . FILTER ( ( !( BOUND ( ?var5 ) ) ) ) . } LIMIT 1000"}}
{"id": "test_3038", "question": "Male South Korean actors born before 1968 with English labels.", "sparql": "SELECT DISTINCT ?actor ?actorLabel WHERE { ?actor wdt:P31 wd:Q5 . ?actor wdt:P106 wd:Q33999 . ?actor wdt:P27 wd:Q884 . ?actor wdt:P21 wd:Q6581097 . ?actor wdt:P569 ?birthDate . ?actor rdfs:label ?actorLabel . FILTER ( ?birthDate < \"1968-01-01T00:00:00\"^^xsd:dateTime ) . FILTER ( LANG(?actorLabel) = \"en\" ) . }", "paraphrases": ["Who are the male South Korean actors born before January 1, 1968, listed in English?", "List the English names of all male South Korean actors born before 1968."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q884> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581097> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( ?var2 < \"1968-01-01T00:00:00\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . }"}}
{"id": "test_3039", "question": "What are some human individuals in Wikidata who do not have a specified sex or gender?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item ?itemLabel WHERE {\n  ?item wdt:P31 wd:Q5 .\n  ?item rdfs:label ?itemLabel .\n  FILTER NOT EXISTS {\n    ?item wdt:P21 []\n  }\n}\nLIMIT 10", "paraphrases": ["List people without a recorded biological sex or gender identity.", "Find anonymous or unclassified human figures in Wikidata that lack a gender designation."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } FILTER ( ( isBLANK ( ?var2 ) ) ) . } LIMIT 10"}}
{"id": "test_3040", "question": "Was Gerrit Lamberts a film actor?", "sparql": "SELECT (IF(EXISTS { wd:Q2683936 wdt:P106 wd:Q10800557 }, 1, 0) AS ?isFilmActor) WHERE { }", "paraphrases": ["Did Gerrit Lamberts work as a film actor?", "Check if Gerrit Lamberts was a film actor."], "info": {"raw_sparql": "SELECT( \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var1 ) WHERE { <http://www.wikidata.org/entity/Q2683936> <http://www.wikidata.org/prop/direct/P106> ?var2 . FILTER ( ( EXISTS { <http://www.wikidata.org/entity/Q2683936> <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q10800557> . } ) ) . }"}}
{"id": "test_3041", "question": "People named Leon with their birth and death dates.", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P735 wd:Q37080 . ?person wdt:P569 ?birthDate . ?person wdt:P570 ?deathDate . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } LIMIT 50", "paraphrases": ["Who are the people named Leon, and when were they born and when did they die?", "Show me the birth and death dates of all humans with the given name Leon."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P735> <http://www.wikidata.org/entity/Q37080> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 50"}}
{"id": "test_3042", "question": "People born today who are Australian citizens, listed by birth year.", "sparql": "SELECT ?personLabel ?description (YEAR(?birthDate) AS ?birthYear)\nWHERE {\n  BIND(MONTH(NOW()) AS ?currentMonth) .\n  BIND(DAY(NOW()) AS ?currentDay) .\n  \n  ?person wdt:P569 ?birthDate .\n  ?person wdt:P27 wd:Q408 .\n  \n  FILTER(MONTH(?birthDate) = ?currentMonth && DAY(?birthDate) = ?currentDay) .\n  \n  ?person schema:description ?description .\n  FILTER(LANG(?description) = \"en\") .\n  \n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\") .\n}\nORDER BY ASC(?birthYear)\nLIMIT 1000", "paraphrases": ["Who are the Australian citizens born on this day, and in what years were they born?", "Show me a list of Australian people born today, including their names and occupations, sorted from oldest to youngest."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ( YEAR ( ?var3 ) AS ?var4 ) WHERE { BIND ( MONTH ( NOW ( ) ) AS ?var5 ). BIND ( DAY ( NOW ( ) ) AS ?var6 ). ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q408> . FILTER ( ( ( MONTH ( ?var3 ) = ?var5 ) && ( DAY ( ?var3 ) = ?var6 ) ) ) . ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var4 ) LIMIT 1000"}}
{"id": "test_3043", "question": "What is the image of the person with SNAC ARK ID \"w6vn872z\"?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6vn872z\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Show the Wikimedia Commons image associated with the Social Networks and Archival Context identifier w6vn872z.", "Find the photo of Keita Amemiya using his SNAC ARK ID."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6vn872z\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3044", "question": "What is the image of the person with SNAC ARK ID w6d52hgh?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6d52hgh\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Can you show me the Wikimedia Commons image associated with Pope Benedict XIV?", "Find the image linked to the Social Networks and Archival Context identifier w6d52hgh."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6d52hgh\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3045", "question": "Companies with official websites containing \"ikarbus\" and their related Wikipedia pages", "sparql": "SELECT ?company ?companyLabel ?page WHERE { ?company wdt:P856 ?website . FILTER(REGEX(STR(?website), \"ikarbus\", \"i\")) . ?company rdfs:label ?companyLabel . ?page schema:about ?company . }", "paraphrases": ["Which companies have official websites related to \"ikarbus\", and what pages are about them?", "Show me entities with official websites containing \"ikarbus\" along with their labels and associated pages about them."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.ikarus.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.ikarus.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.ikarus.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.ikarus.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.ikarus.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.ikarus.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://ikarus.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://ikarus.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://ikarus.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://ikarus.com/> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3046", "question": "What is the official website of XinhuaNet, and which web pages are about it?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?entityLabel ?about WHERE {\n  wd:Q11081577 rdfs:label ?entityLabel .\n  FILTER ( LANG( ?entityLabel ) = \"en\" ) .\n  ?about schema:about wd:Q11081577 .\n}", "paraphrases": ["Which articles or pages discuss XinhuaNet according to Wikidata?", "Can you show me the English name of XinhuaNet and the web content linked to it?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.news.cn/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.news.cn/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.news.cn/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.news.cn/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.news.cn> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.news.cn> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3047", "question": "Athletes born in Amsterdam", "sparql": "SELECT ?person ?personLabel ?occupationLabel WHERE { ?person wdt:P19 wd:Q727 ; wdt:P106 wd:Q2066131 . ?person rdfs:label ?personLabel . wd:Q2066131 rdfs:label ?occupationLabel . FILTER(LANG(?personLabel) = \"en\") FILTER(LANG(?occupationLabel) = \"en\")}", "paraphrases": ["Who are the athletes that were born in Amsterdam?", "List the names of athletes born in Amsterdam along with their occupation."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q727> . ?var2 <http://www.wikidata.org/entity/Q28640> <http://www.wikidata.org/entity/Q2066131> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl\". } }"}}
{"id": "test_3048", "question": "National nature reserves in \u017dilina District, Slovakia with images", "sparql": "SELECT ?reserve ?reserveLabel ?image WHERE { ?reserve wdt:P31 wd:Q18379650 . ?reserve wdt:P131 wd:Q836201 . OPTIONAL { ?reserve wdt:P18 ?image . } ?reserve rdfs:label ?reserveLabel . FILTER(LANG(?reserveLabel) = \"en\") } LIMIT 100", "paraphrases": ["What are the national nature reserves in \u017dilina District, Slovakia, and do they have images on Wikimedia Commons?", "List the English names of all national nature reserves located in \u017dilina District, Slovakia, along with their associated images if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q18379650> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sk\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q836201> . } LIMIT 100"}}
{"id": "test_3049", "question": "What is the image of Jack D. Foner in Wikimedia Commons?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6vx2x0t\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Does the person with SNAC ARK ID w6vx2x0t have an associated image on Wikimedia Commons?", "Show the image linked to the Social Networks and Archival Context identifier w6vx2x0t."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6vx2x0t\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3050", "question": "List of human females in Wikidata with English labels.", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P21 wd:Q6581072 ; wdt:P31 wd:Q5 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } LIMIT 10", "paraphrases": ["Who are some notable female humans in Wikidata?", "Show me English labels of people who are female and are humans."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q23460082> <http://www.wikidata.org/prop/direct/P21> ?var2 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> \"female\"^^<http://www.w3.org/2001/XMLSchema#string> . }"}}
{"id": "test_3051", "question": "Female Canadian actors born after 1999", "sparql": "SELECT DISTINCT ?actor ?actorLabel WHERE { ?actor wdt:P31 wd:Q5 . ?actor wdt:P106 wd:Q33999 . ?actor wdt:P27 wd:Q16 . ?actor wdt:P21 wd:Q6581072 . ?actor wdt:P569 ?birthDate . FILTER ( ?birthDate > \"1999-01-01T00:00:00\"^^xsd:dateTime ) . ?actor rdfs:label ?actorLabel . FILTER (LANG(?actorLabel) = \"en\") }", "paraphrases": ["Who are the female Canadian actors born after January 1, 1999?", "List the English names of all female Canadian actors who were born after 1999."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q16> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . FILTER ( ( ( ?var2 > \"1999-01-01T00:00:00\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( ?var1Label ) ) . }"}}
{"id": "test_3052", "question": "Church buildings in the Czech Republic without coordinates", "sparql": "SELECT DISTINCT ?church (COUNT(?coordinate) AS ?hasCoordinate) WHERE { ?church wdt:P17 wd:Q213 . ?church wdt:P31 wd:Q16970 . MINUS { ?church wdt:P31 wd:Q19899465 . } OPTIONAL { ?church wdt:P625 ?coordinate . } } GROUP BY ?church", "paraphrases": ["How many church buildings in the Czech Republic have geographic coordinates, and which ones don\u2019t?", "List all active church buildings in the Czech Republic and indicate whether each one has a recorded coordinate location."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q213> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16970> . FILTER ( ( !( BOUND ( ?var4 ) ) ) ) . OPTIONAL { ?var5 <http://schema.org/about> ?var1 . ?var5 <http://schema.org/inLanguage> \"cs\". } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19899465> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var6 . } } GROUP BY ?var1"}}
{"id": "test_3053", "question": "English label, description, and image of the male given name \"Moshi\".", "sparql": "SELECT ?label ?description ?image WHERE { OPTIONAL { wd:Q30103031 rdfs:label ?label . FILTER (LANG(?label) = \"en\") } OPTIONAL { wd:Q30103031 wdt:P18 ?image . } OPTIONAL { wd:Q30103031 schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["What is the English label and description of the given name Moshi, and is there an image available for it on Wikimedia Commons?", "Show me the English name and definition of the male given name Moshi, along with its image if one exists."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q30103031> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q30103031> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q30103031> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_3054", "question": "Female Canadian actors born after 1993 with \"Q\" in their name", "sparql": "SELECT DISTINCT ?person ?personLabel WHERE { ?person wdt:P31 wd:Q5 ; wdt:P106 wd:Q33999 ; wdt:P27 wd:Q16 ; wdt:P21 wd:Q6581072 ; rdfs:label ?personLabel ; wdt:P569 ?birthDate . FILTER (REGEX(STR(?personLabel), \"Q\", \"i\")) . FILTER (?birthDate > \"1993-01-01T00:00:00\"^^xsd:dateTime) .}", "paraphrases": ["Who are the female Canadian actors born after 1993 whose names include the letter Q?", "List all female Canadian actors born after 1993 whose names contain the letter Q, along with their labels in all languages."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> ; <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q16> ; <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label ; <http://www.wikidata.org/prop/direct/P569> ?var2 . FILTER ( ( REGEX ( STR ( ?var1Label ) , \"Q\" ) ) ) . FILTER ( ( ( ?var2 > \"1993-01-01T00:00:00\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_3055", "question": "What are the English names of church buildings in the Czech Republic that don't have coordinates listed, and which of them have Czech Wikipedia pages?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?church ?churchLabel ?csWikipediaPage WHERE {\n  ?church wdt:P31 wd:Q16970 .\n  ?church wdt:P17 wd:Q213 .\n  OPTIONAL {\n    ?csWikipediaPage schema:about ?church .\n    ?csWikipediaPage schema:inLanguage \"cs\" .\n  } MINUS {\n    ?church wdt:P625 ?coord .\n  } MINUS {\n    ?church wdt:P31 wd:Q19899465 .\n  }\n  ?church rdfs:label ?churchLabel .\n  FILTER ( LANG( ?churchLabel ) = \"en\" )\n}", "paraphrases": ["List churches in the Czech Republic without geographic coordinates and their corresponding Czech Wikipedia links, if any.", "Show me active churches in the Czech Republic that are not mapped on a map (no coordinates), along with their English names and Czech Wikipedia articles."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16970> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q213> . FILTER ( ( !( BOUND ( ?var4 ) ) ) ) . OPTIONAL { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"cs\". } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var5 . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19899465> . } }"}}
{"id": "test_3056", "question": "Official website and Wikipedia page for Wikinger Reisen in English or German.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?company ?companyLabel ?wikipediaPage ?website WHERE {\n  ?company wdt:P856 ?website .\n  FILTER ( ?website IN ( <http://www.wikinger-reisen.de> , <https://www.wikinger-reisen.de> , <http://wikinger-reisen.de> , <https://wikinger-reisen.de> ) ) .\n  ?wikipediaPage schema:about ?company ; schema:inLanguage ?lang .\n  FILTER ( ?lang = \"de\" || ?lang = \"en\" ) .\n  ?company rdfs:label ?companyLabel .\n  FILTER ( LANG( ?companyLabel ) = \"de\" || LANG( ?companyLabel ) = \"en\" )\n}", "paraphrases": ["What is the official website of Wikinger Reisen, and what is its corresponding Wikipedia page in English or German?", "Please provide the official website and the English or German Wikipedia page for the company Wikinger Reisen."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.wikinger-reisen.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.wikinger-reisen.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.wikinger-reisen.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.wikinger-reisen.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.wikinger-reisen.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.wikinger-reisen.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.wikinger-reisen.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://wikinger-reisen.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://wikinger-reisen.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://wikinger-reisen.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://wikinger-reisen.de/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3057", "question": "Argentine citizens and their genders", "sparql": "SELECT ?person ?gender WHERE { ?person wdt:P31 wd:Q5 ; wdt:P21 ?gender ; wdt:P27 wd:Q414 .}", "paraphrases": ["Who are the human citizens of Argentina and what are their genders?", "List all humans who are citizens of Argentina along with their biological sex or gender identity."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P21> ?var2 ; <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q414> . }"}}
{"id": "test_3058", "question": "Image of Mary S. B. Shindler from SNAC ARK ID w6mg8c35", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6mg8c35\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What image is associated with the person having the SNAC ARK ID w6mg8c35?", "Show me the Wikimedia Commons image linked to Mary S. B. Shindler\u2019s SNAC record."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6mg8c35\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3059", "question": "Female scientists and technical professionals without Arabic Wikipedia articles", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P31 wd:Q5 ; wdt:P21 wd:Q6581072 ; wdt:P106 ?occupation . VALUES ?occupation { wd:Q901 wd:Q11063 wd:Q18805 wd:Q39631 wd:Q81096 wd:Q170790 wd:Q82594 wd:Q169470 wd:Q593644 wd:Q864503 wd:Q1265807 wd:Q3126128 wd:Q3140857 wd:Q3745071 wd:Q20107384 wd:Q26726323 wd:Q28054752 wd:Q28870501 wd:Q30084569 wd:Q10872101 wd:Q14565186 wd:Q15143181 wd:Q15143191 wd:Q15401884 wd:Q15839134 wd:Q15941468 } ?person rdfs:label ?personLabel . FILTER (langMatches(lang(?personLabel), \"en\")) FILTER (NOT EXISTS { ?article schema:about ?person ; schema:inLanguage \"ar\" ; schema:isPartOf <https://ar.wikipedia.org/> . }) } LIMIT 5000", "paraphrases": ["Who are some female scientists and technical professionals who do not have a Wikipedia page in Arabic?", "List English-named female professionals in science and technology who are not documented on Arabic Wikipedia."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var2 . VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q901> ) ( <http://www.wikidata.org/entity/Q11063> ) ( <http://www.wikidata.org/entity/Q18805> ) ( <http://www.wikidata.org/entity/Q39631> ) ( <http://www.wikidata.org/entity/Q81096> ) ( <http://www.wikidata.org/entity/Q170790> ) ( <http://www.wikidata.org/entity/Q82594> ) ( <http://www.wikidata.org/entity/Q169470> ) ( <http://www.wikidata.org/entity/Q593644> ) ( <http://www.wikidata.org/entity/Q864503> ) ( <http://www.wikidata.org/entity/Q1265807> ) ( <http://www.wikidata.org/entity/Q3126128> ) ( <http://www.wikidata.org/entity/Q3140857> ) ( <http://www.wikidata.org/entity/Q3745071> ) ( <http://www.wikidata.org/entity/Q20107384> ) ( <http://www.wikidata.org/entity/Q26726323> ) ( <http://www.wikidata.org/entity/Q28054752> ) ( <http://www.wikidata.org/entity/Q28870501> ) ( <http://www.wikidata.org/entity/Q30084569> ) ( <http://www.wikidata.org/entity/Q10872101> ) ( <http://www.wikidata.org/entity/Q14565186> ) ( <http://www.wikidata.org/entity/Q15143181> ) ( <http://www.wikidata.org/entity/Q15143191> ) ( <http://www.wikidata.org/entity/Q15401884> ) ( <http://www.wikidata.org/entity/Q15839134> ) ( <http://www.wikidata.org/entity/Q15941468> ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ar\". } FILTER ( ( NOT EXISTS { ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> \"ar\". ?var3 <http://schema.org/isPartOf> <https://ar.wikipedia.org/> . } ) ) . } LIMIT 5000"}}
{"id": "test_3060", "question": "Painters whose fathers are also painters", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?painter ?father ?fatherLabel WHERE {\n  ?painter wdt:P106 wd:Q1028181 .\n  ?painter wdt:P22 ?father .\n  ?father wdt:P106 wd:Q1028181 .\n  ?father rdfs:label ?fatherLabel .\n  FILTER(LANG(?fatherLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Who are the painters that have a father who is also a painter?", "List painters along with their fathers (who are also painters) and the fathers' names in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { } OPTIONAL { } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1028181> . ?var1 <http://www.wikidata.org/prop/direct/P22> <http://www.wikidata.org/entity/Q1028181> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P22> ?var2 . } } LIMIT 100"}}
{"id": "test_3061", "question": "Spanish citizens who are human and have no Spanish label, with their English names, birth dates, and occupations.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel ?dob ?occupationLabel WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P27 wd:Q29 .\n  FILTER(NOT EXISTS {\n    ?person rdfs:label ?label .\n    FILTER(LANG(?label) = \"es\")\n  })\n  OPTIONAL {\n    ?person wdt:P569 ?dob .\n  }\n  OPTIONAL {\n    ?person wdt:P106 ?occupation .\n    ?occupation rdfs:label ?occupationLabel .\n    FILTER(LANG(?occupationLabel) = \"en\")\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}\nLIMIT 260", "paraphrases": ["Who are Spanish citizens that do not have a Spanish-language label, and what are their English names, dates of birth, and occupations?", "List the English names, birth dates, and occupations of all human citizens of Spain who do not have a Spanish label."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es\". ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q29> . FILTER ( ( NOT EXISTS { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"es\" ) ) ) . } ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var3 . } } LIMIT 260"}}
{"id": "test_3062", "question": "Churches in the Czech Republic with \"Trojice\" in their Czech name.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?church ?label ( LANG( ?label ) AS ?language ) WHERE {\n  ?church wdt:P31 wd:Q16970 ; wdt:P131 * wd:Q213 ; rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"cs\" ) FILTER ( CONTAINS( ?label , \"Trojice\" ) )\n}\nLIMIT 10", "paraphrases": ["What are the names of churches in the Czech Republic that are called \"Trojice\" in Czech?", "List Czech-language names of church buildings in the Czech Republic that include the word \"Trojice\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ( LANG ( ?var2Label ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16970> ; <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q213> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( LANG ( ?var2Label ) IN ( \"cs\" ) ) ) . FILTER ( ( CONTAINS ( ?var2Label , \"Trojice\" ) ) ) . } LIMIT 10"}}
{"id": "test_3063", "question": "Who are the Arab writers?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P106 wd:Q36180 .\n  ?person wdt:P172 wd:Q35323 .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["List people of Arab ethnicity who are writers.", "Can you show me a list of writers who are ethnically Arab?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,es\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q36180> . ?var1 <http://www.wikidata.org/prop/direct/P172> <http://www.wikidata.org/entity/Q35323> . } LIMIT 100"}}
{"id": "test_3064", "question": "Actors born after 2000 with their names and birth years", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?actor ?name ?birthYear WHERE {\n  ?actor wdt:P106 wd:Q33999 .\n  ?actor wdt:P569 ?birthDate .\n  BIND( YEAR( ?birthDate ) AS ?birthYear ) FILTER ( ?birthDate > \"2000-01-01T00:00:00Z\" ^^ xsd:dateTime ) ?actor rdfs:label ?name .\n  FILTER ( LANG( ?name ) = \"en\" )\n}\nLIMIT 5000", "paraphrases": ["Who are the actors born after the year 2000, and what are their names and birth years?", "List the English names and birth years of actors who were born after January 1, 2000."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q33999> . OPTIONAL { } BIND ( YEAR ( ?var2 ) AS ?var3 ). ?var1 <http://www.wikidata.org/prop/direct/P1448> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( ( ?var2 > \"2000-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . } LIMIT 5000"}}
{"id": "test_3065", "question": "French people with the surname \"de Suremain\"", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person WHERE {\n  ?person rdfs:label ?label .\n  FILTER(LANG(?label) = \"fr\")\n  .\n  FILTER(contains(?label , \"de Suremain\"))\n  .\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["Who are the French individuals with the last name \"de Suremain\"?", "List all humans in Wikidata whose French label includes \"de Suremain\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"suremain\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3066", "question": "Castles in Hungary with their coordinates", "sparql": "SELECT ?castleLabel ?coordinates ?castle WHERE { ?castle (wdt:P31/wdt:P279*) wd:Q23413 . ?castle wdt:P625 ?coordinates . ?castle wdt:P17 wd:Q28 . ?castle rdfs:label ?castleLabel . FILTER(LANG(?castleLabel) = \"en\") }", "paraphrases": ["What are the names and geographic coordinates of all castles in Hungary?", "List all castles located in Hungary along with their English names and GPS coordinates."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q23413> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q28> . }"}}
{"id": "test_3067", "question": "Flyadeal official website and Wikipedia page", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?entity ?entityLabel ?website ?wikipediaPage WHERE {\n  wd:Q24035331 rdfs:label ?entityLabel .\n  FILTER ( LANG( ?entityLabel ) = \"en\" ) OPTIONAL {\n    wd:Q24035331 wdt:P856 ?website\n  }\n  ?wikipediaPage schema:about wd:Q24035331 ; schema:isPartOf <https://en.wikipedia.org/> .\n}", "paraphrases": ["What is the Wikipedia page for the airline Flyadeal, and what is its official website?", "Please provide the English Wikipedia link for Flyadeal and its official website if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.flyadeal.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.flyadeal.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.flyadeal.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.flyadeal.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.flyadeal.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.flyadeal.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://flyadeal.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://flyadeal.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://flyadeal.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://flyadeal.com/> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3068", "question": "Properties used to indicate that something is male, with English labels and descriptions.", "sparql": "SELECT ?property ?propertyLabel ?propertyDescription WHERE { ?item ?directProperty wd:Q6581097 . ?property wikibase:directClaim ?directProperty . ?property rdfs:label ?propertyLabel . ?property schema:description ?propertyDescription . FILTER(LANG(?propertyLabel) = \"en\") FILTER(LANG(?propertyDescription) = \"en\") } LIMIT 100", "paraphrases": ["Which properties in Wikidata are used to state that an entity is male, and what are their English labels and descriptions?", "List all English-labeled properties in Wikidata that have \"male\" as a value, along with their descriptions."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/male> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_3069", "question": "Russian labels of concepts often confused with \"male\"", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?confusedEntity ?label WHERE {\n  wd:Q6581097 wdt:P1889 ?confusedEntity .\n  ?confusedEntity rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"ru\" )\n}\nLIMIT 50", "paraphrases": ["What are the Russian-language terms for entities that are commonly confused with the concept of \"male\"?", "Show me the Russian names of things that people often mix up with \"male\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q6581097> <http://www.wikidata.org/prop/direct/P1889> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"ru\" ) ) ) . } LIMIT 50"}}
{"id": "test_3070", "question": "What is the image of Irving T. Bush?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w68k8qct\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Can you find the Wikimedia Commons image associated with the SNAC ARK ID w68k8qct?", "Show me the picture linked to the Social Networks and Archival Context ID w68k8qct."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w68k8qct\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3071", "question": "List up to 100 female humans with their names.", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P21 wd:Q6581072 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } LIMIT 100", "paraphrases": ["Who are 100 known female humans and what are their names?", "Show me the names of 100 women who are identified as human in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . } LIMIT 100"}}
{"id": "test_3072", "question": "Entities that have male as a part", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?entity ?entityLabel ?statement WHERE {\n  ?statement ps:P527 wd:Q6581097 .\n  ?entity p:P527 ?statement .\n  ?entity rdfs:label ?entityLabel .\n  FILTER ( LANG( ?entityLabel ) = \"en\" )\n}\nLIMIT 10", "paraphrases": ["What abstract concepts include \"male\" as one of their components?", "List the entities that are composed of or include the male gender, along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P527> <http://www.wikidata.org/entity/Q6581097> . ?var1 <http://www.wikidata.org/prop/P527> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_3073", "question": "Who are the canonized saints in the direct paternal line of Vratislaus I, Duke of Bohemia?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?var1 ?label WHERE {\n  ?var1((wdt:P22 | wdt:P25) * / wdt:P22) wd:Q552696 .\n  ?var1 wdt:P411 wd:Q43115 .\n  ?var1 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nLIMIT 30", "paraphrases": ["Which saints are ancestors of Vratislaus I of Bohemia through the father\u2019s side?", "List the male-line ancestors of Vratislaus I, Duke of Bohemia who were declared saints."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 (( <http://www.wikidata.org/prop/direct/P22> | <http://www.wikidata.org/prop/direct/P25> )*/ <http://www.wikidata.org/prop/direct/P22> ) <http://www.wikidata.org/entity/Q552696> . ?var1 <http://www.wikidata.org/prop/direct/P411> <http://www.wikidata.org/entity/Q43115> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 30"}}
{"id": "test_3074", "question": "Memorials in Krak\u00f3w", "sparql": "SELECT ?memorial ?memorialLabel WHERE { ?memorial wdt:P31 wd:Q5003624 ; wdt:P131 wd:Q31487 . ?memorial rdfs:label ?memorialLabel . FILTER(LANG(?memorialLabel) = \"en\") }", "paraphrases": ["What memorials are located in Krak\u00f3w?", "List the memorials in Krak\u00f3w."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5003624> ; <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q31487> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } }"}}
{"id": "test_3075", "question": "Cities in Jordan", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?cityLabel ?city WHERE {\n  ?city wdt:P31 wd:Q515 .\n  ?city rdfs:label ?cityLabel .\n  ?city wdt:P17 wd:Q810 .\n}\nLIMIT 100", "paraphrases": ["What are the cities in Jordan?", "List the names and Wikidata IDs of all cities located in Jordan."], "info": {"raw_sparql": "SELECT ?var1Label ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q810> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 100"}}
{"id": "test_3076", "question": "Wikipedia and Wikiquote pages in English or German about the movie with IMDb ID tt0071771.", "sparql": "SELECT ?movie ?page WHERE { ?movie wdt:P345 \"tt0071771\" . ?page schema:about ?movie . ?page schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["What English and German language Wikipedia or Wikiquote pages are about the film \"The Longest Yard\" (1974)?", "Show me the links to English and German language pages about the movie \"The Longest Yard\" (IMDb: tt0071771)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0071771\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3077", "question": "What are the English and German Wikipedia pages about The Daily Beast, and what is its official website?", "sparql": "SELECT ?item ?itemLabel ?wikipediaPage ?officialWebsite WHERE { ?item wdt:P856 <https://www.thedailybeast.com> . ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") . BIND(<https://www.thedailybeast.com> AS ?officialWebsite) }", "paraphrases": ["Which Wikipedia articles in English and German are about The Daily Beast, and what is its official URL?", "Show me the English label of The Daily Beast, along with its English and German Wikipedia pages and its official website."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.thedailybeast.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.thedailybeast.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.thedailybeast.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.thedailybeast.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.thedailybeast.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.thedailybeast.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.thedailybeast.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://thedailybeast.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://thedailybeast.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://thedailybeast.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://thedailybeast.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3078", "question": "Who are Justin Bieber\u2019s father, mother, and siblings, with their names in English?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?father ?mother ?sibling WHERE {\n  OPTIONAL {\n    wd:Q34086 wdt:P22 ?fatherNode .\n    ?fatherNode rdfs:label ?father .\n    FILTER(LANG(?father) = \"en\")\n  }\n  OPTIONAL {\n    wd:Q34086 wdt:P25 ?motherNode .\n    ?motherNode rdfs:label ?mother .\n    FILTER(LANG(?mother) = \"en\")\n  }\n  OPTIONAL {\n    wd:Q34086 wdt:P3373 ?siblingNode .\n    ?siblingNode rdfs:label ?sibling .\n    FILTER(LANG(?sibling) = \"en\")\n  }\n}", "paraphrases": ["Father, mother, and siblings of Justin Bieber in English", "List Justin Bieber\u2019s parents and siblings with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q34086> <http://www.wikidata.org/prop/direct/P22> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q34086> <http://www.wikidata.org/prop/direct/P25> ?var5 . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q34086> <http://www.wikidata.org/prop/direct/P3373> ?var6 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } }"}}
{"id": "test_3079", "question": "Properties and object labels connected to Jerusalem, including language tags.", "sparql": "SELECT ?property ?object ?objectLabel ?language WHERE { wd:Q7024401 ?property ?object . ?object rdfs:label ?objectLabel . BIND(LANG(?objectLabel) AS ?language) }", "paraphrases": ["What are the things Jerusalem is named after or related to, and what are their names in different languages?", "Show me all the entities linked to Jerusalem, their labels in their native languages, and the language codes."], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q7024401> ?var1 ?var2 . { SELECT * WHERE { BIND ( LANG ( ?var3Label ) AS ?var4 ). <http://www.wikidata.org/entity/Q7024401> ?var1 ?var2 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . } } }"}}
{"id": "test_3080", "question": "Image of the person with SNAC ARK ID w6q55sgr", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6q55sgr\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image of the individual identified by the SNAC ARK ID w6q55sgr?", "Show me the Wikimedia Commons image linked to the SNAC ARK ID w6q55sgr."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6q55sgr\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3081", "question": "Was Louis H. Chrispijn an actor?", "sparql": "SELECT ?person ?occupationLabel WHERE { wd:Q2255988 wdt:P106 wd:Q33999 . OPTIONAL { wd:Q2255988 rdfs:label ?person FILTER(LANG(?person) = \"en\") } OPTIONAL { wd:Q33999 rdfs:label ?occupationLabel FILTER(LANG(?occupationLabel) = \"en\") } }", "paraphrases": ["What was Louis H. Chrispijn\u2019s occupation?", "Is Louis H. Chrispijn listed as an actor in Wikidata?"], "info": {"raw_sparql": "SELECT( \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var1 ) WHERE { <http://www.wikidata.org/entity/Q2255988> <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . }"}}
{"id": "test_3082", "question": "Image of Jonathan Reynolds with SNAC ARK ID w64290f0", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w64290f0\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w64290f0?", "Show me the Wikimedia Commons image for the person identified by SNAC ARK ID w64290f0."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w64290f0\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3083", "question": "Airlines owned by Lufthansa Group, their English Wikipedia pages, official websites, and types.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?airline ?airlineLabel ?wikipediaPage ?website ?type WHERE {\n  ?airline wdt:P127 wd:Q62589018 .\n  ?wikipediaPage schema:about ?airline ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n  OPTIONAL {\n    ?airline wdt:P856 ?website .\n  }\n  OPTIONAL {\n    ?airline wdt:P31 ?type .\n  }\n  ?airline rdfs:label ?airlineLabel .\n  FILTER(LANG(?airlineLabel) = \"en\")\n}", "paraphrases": ["Which airlines are owned by Lufthansa Group, and what are their official websites, English Wikipedia pages, and types?", "List all airlines owned by Lufthansa Group along with their English Wikipedia links, official websites, and classifications."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P127> <http://www.wikidata.org/entity/Q1584804> . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"en\". ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P127> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3084", "question": "What external pages are about Harvard Business Manager, and what is its official website?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?itemLabel ?externalPage WHERE {\n  ?item wdt:P856 <http://www.harvardbusinessmanager.de/> .\n  ?item rdfs:label ?itemLabel .\n  ?externalPage schema:about ?item .\n  FILTER(STRSTARTS(STR(?externalPage) , \"http\") && ! CONTAINS(STR(?externalPage) , \"wikidata.org/wiki/Special:EntityData\"))\n}", "paraphrases": ["Which Wikipedia articles are about Harvard Business Manager, given that its official website is http://www.harvardbusinessmanager.de/?", "Show me the external links (like Wikipedia articles) that are about Harvard Business Manager, excluding Wikidata\u2019s own data pages, and confirm its official website is http://www.harvardbusinessmanager.de/."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.harvardbusinessmanager.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.harvardbusinessmanager.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.harvardbusinessmanager.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.harvardbusinessmanager.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.harvardbusinessmanager.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.harvardbusinessmanager.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://harvardbusinessmanager.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://harvardbusinessmanager.de> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3085", "question": "Who are the children, siblings, and fathers of Claes Depken?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?relatedPerson ?statement ?property WHERE {\n  ?statement ?statementProperty wd:Q20156090 .\n  ?relatedPerson ?claimProperty ?statement .\n  ?property wikibase:statementProperty ?statementProperty .\n  ?property wikibase:claim ?claimProperty .\n  FILTER ( ?property != wd:P31 )\n}\nLIMIT 10", "paraphrases": ["Which people are related to Claes Depken as father, sibling, or child, and what is the nature of each relationship?", "List all individuals connected to Claes Depken through familial relationships (excluding 'instance of'), along with the type of relationship."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q20156090> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_3086", "question": "What entities are linked to Jordan via properties other than \"instance of\", and do those statements have any qualifiers?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?var1 ?var2 ?var3(SAMPLE(?qualifierValue) AS ?qualifierSample) WHERE {\n  {\n    SELECT DISTINCT ?var1 ?var2 ?var3 WHERE {\n      ?var2 ?var6 wd:Q810 .\n      ?var1 ?var7 ?var2 .\n      ?var3 wikibase:statementProperty ?var6 .\n      ?var3 wikibase:claim ?var7 .\n      FILTER(?var3 != wd:P31)\n    }\n    LIMIT 101\n  }\n  OPTIONAL {\n    ?var3 wikibase:qualifier ?qualifierProperty .\n    ?var2 ?qualifierProperty ?qualifierValue .\n  }\n}\nGROUP BY ?var1 ?var2 ?var3", "paraphrases": ["List the faculties and institutions in Jordan and check if their statements include any qualifiers like start date or source.", "Which properties are used to connect entities to Jordan, and are there any additional details (qualifiers) provided for those connections?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q810> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_3087", "question": "Humans with their fathers listed in English.", "sparql": "SELECT ?human ?humanLabel ?father WHERE { ?human wdt:P31 wd:Q5 . ?human rdfs:label ?humanLabel . ?human wdt:P22 ?father . FILTER (LANG(?humanLabel) = \"en\") } LIMIT 10", "paraphrases": ["Who are some humans and who are their fathers, with English names?", "List 10 humans with their English labels and their fathers' names."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://www.wikidata.org/prop/direct/P22> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . } LIMIT 10"}}
{"id": "test_3088", "question": "People who were artists, historians, or master builders and had students.", "sparql": "SELECT DISTINCT ?person WHERE { ?person wdt:P106 ?occupation . VALUES ?target_occupation { wd:Q483501 wd:Q1340643 wd:Q201788 } . ?occupation wdt:P279* ?target_occupation . ?person wdt:P1066 ?student . }", "paraphrases": ["Who among artists, historians, or master builders had students?", "List all individuals whose occupation is a subclass of artist, historian, or master builder and who have at least one known student."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var2 . { ?var2 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q483501> . } UNION { ?var2 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q1340643> . } UNION { ?var2 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q201788> . } ?var1 <http://www.wikidata.org/prop/direct/P1066> [] . }"}}
{"id": "test_3089", "question": "What are the names of pornographic actors and their stage names?", "sparql": "SELECT ?person ?stageName ?personLabel WHERE { ?person wdt:P106 wd:Q488111 . OPTIONAL { ?person wdt:P1449 ?stageName . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } LIMIT 10", "paraphrases": ["Can you list the English names of adult performers and their stage names, if available?", "Show me the people who work as pornographic actors, their official English names, and any stage names they use."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q488111> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1448> ?var2 . } } LIMIT 10"}}
{"id": "test_3090", "question": "What are the most common occupations of transgender people, based on Wikidata?", "sparql": "SELECT ?occupationLabel (COUNT(?person) AS ?count) WHERE { ?person wdt:P21/wdt:P279* wd:Q189125 . ?person wdt:P106 ?occupation . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = \"en\") } GROUP BY ?occupationLabel ORDER BY DESC(?count)", "paraphrases": ["How many transgender individuals are listed in Wikidata for each occupation, sorted by frequency?", "Which jobs do transgender people have most often, and how many are there in each category?"], "info": {"raw_sparql": "SELECT ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P21> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q189125> . ?var2 <http://www.wikidata.org/prop/direct/P106> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } GROUP BY ?var1Label"}}
{"id": "test_3091", "question": "What is the name of the person with Freebase ID \"/m/06mt91\", and how many spouses are recorded for them in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?person ?personLabel(COUNT(DISTINCT ?spouse) AS ?spouseCount)(GROUP_CONCAT(DISTINCT ?spouseLabel ; SEPARATOR = \", \") AS ?spouseLabels) WHERE {\n  ?person wdt:P646 \"/m/06mt91\" .\n  OPTIONAL {\n    ?person wdt:P26 ?spouse .\n    ?spouse rdfs:label ?spouseLabel .\n    FILTER(LANG(?spouseLabel) = \"en\")\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}\nGROUP BY ?person ?personLabel\nORDER BY DESC(?spouseCount)", "paraphrases": ["How many spouses does Rihanna have according to Wikidata?", "Can you tell me the spouses of the person identified by the Freebase ID /m/06mt91?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT ( DISTINCT ?var2 ) AS ?var3 )( GROUP_CONCAT ( DISTINCT ?var2Label ; SEPARATOR = \", \" ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P646> \"/m/06mt91\". OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P26> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var3 )"}}
{"id": "test_3092", "question": "Who are the relatives of Bart Simpson according to Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?relative ?relativeLabel WHERE {\n  wd:Q5480 wdt:P1038 ?relative .\n  ?relative rdfs:label ?relativeLabel .\n  FILTER ( LANG( ?relativeLabel ) = \"en\" )\n}", "paraphrases": ["What are the names of Bart Simpson's relatives listed in Wikidata?", "List all the relatives of Bart Simpson with their English labels from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1038> <http://www.wikidata.org/entity/Q7810> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 10"}}
{"id": "test_3093", "question": "What is the Hebrew and English name of the Israeli settlement Ateret, and which country is it in?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?heLabel ?enLabel ?yiLabel ?countryLabel ?wikipediaLink WHERE {\n  wd:Q2504200 rdfs:label ?heLabel .\n  FILTER(LANG(?heLabel) = \"he\")\n  OPTIONAL {\n    wd:Q2504200 rdfs:label ?enLabel .\n    FILTER(LANG(?enLabel) = \"en\")\n  }\n  OPTIONAL {\n    wd:Q2504200 rdfs:label ?yiLabel .\n    FILTER(LANG(?yiLabel) = \"yi\")\n  }\n  wd:Q2504200 wdt:P17 ?country .\n  ?country rdfs:label ?countryLabel .\n  FILTER(LANG(?countryLabel) = \"en\")\n  ?wikipediaLink schema:about wd:Q2504200 .\n  FILTER(REGEX(STR(?wikipediaLink) , \"wikipedia.org\"))\n}\nLIMIT 10", "paraphrases": ["Show me the Wikipedia links for Ateret, along with its names in Hebrew, English, and Yiddish, and its country.", "Can you list all language versions of the Wikipedia page for Ateret, and provide its names in Hebrew, English, and Yiddish, as well as its sovereign state?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3Label ?var4Label ?var5Label ?var6 ?var7Label ?var8 ?var9 ?var10 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var7 . ?var9 <http://schema.org/about> ?var1 . ?var9 <http://schema.org/about> <http://www.wikidata.org/entity/Q2504200> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"yi\" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"he,yi,en\". } FILTER ( ( ( LANG ( ?var2Label ) = \"he\" ) ) ) . } LIMIT 10"}}
{"id": "test_3094", "question": "What are English-language name lexemes in Wikidata that lack a writing system, native label, or phonetic code?", "sparql": "SELECT ?nameLexeme WHERE {\n  {\n    ?nameLexeme wdt:P31 wd:Q101352 .\n  } UNION {\n    ?nameLexeme wdt:P31 wd:Q12308941 .\n  } UNION {\n    ?nameLexeme wdt:P31 wd:Q11879590 .\n  } UNION {\n    ?nameLexeme wdt:P31 wd:Q3409032 .\n  } UNION {\n    ?nameLexeme wdt:P31 wd:Q202444 .\n  }\n  OPTIONAL { ?nameLexeme wdt:P282 ?writingSystem . }\n  FILTER ( !BOUND(?writingSystem) )\n  OPTIONAL { ?nameLexeme wdt:P3880 ?caverphone . }\n  FILTER ( !BOUND(?caverphone) )\n  OPTIONAL { ?nameLexeme wdt:P1705 ?nativeLabel . }\n  FILTER ( !BOUND(?nativeLabel) )\n  ?nameLexeme rdfs:label ?label .\n  FILTER ( LANG(?label) = \"en\" )\n}\nLIMIT 5", "paraphrases": ["Show me basic English names from Wikidata that haven't been enriched with linguistic details like script or pronunciation.", "Find unannotated English name entries in Wikidata \u2014 those without script, Caverphone, or native language labels."], "info": {"raw_sparql": "SELECT ?var1 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q101352> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q12308941> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11879590> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3409032> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q202444> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P282> ?var2 . } FILTER ( ( !( BOUND ( ?var2 ) ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3880> ?var3 . } FILTER ( ( !( BOUND ( ?var3 ) ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1705> ?var4 . } FILTER ( ( !( BOUND ( ?var4 ) ) ) ) . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . } LIMIT 5"}}
{"id": "test_3095", "question": "What are the municipalities in the Bansk\u00e1 Bystrica District of Slovakia, and what are their postal codes?", "sparql": "SELECT ?var1 ?var1Label ?var3 WHERE { ?var1 wdt:P131 wd:Q539934 . ?var1 wdt:P31 wd:Q6784672 . OPTIONAL { ?var1 wdt:P281 ?var3 . } ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") } LIMIT 100", "paraphrases": ["Can you list the English names of all municipalities in the Bansk\u00e1 Bystrica District and their corresponding postal codes?", "Show me the postal codes for each town or village in the Bansk\u00e1 Bystrica District, Slovakia."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q539934> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sk\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P281> ?var3 . } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6784672> . } LIMIT 100"}}
{"id": "test_3096", "question": "What are all the administrative regions that include Jerusalem, from the city up to the highest level?", "sparql": "SELECT ?administrativeEntity ?administrativeEntityLabel WHERE { wd:Q1218 wdt:P131* ?administrativeEntity . ?administrativeEntity rdfs:label ?administrativeEntityLabel . FILTER(LANG(?administrativeEntityLabel) = \"en\")}", "paraphrases": ["List the administrative entities that Jerusalem belongs to, including its district, region, and country.", "Which countries and territories administratively contain Jerusalem?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q1218> <http://www.wikidata.org/prop/direct/P131> * ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ms, en\". } }"}}
{"id": "test_3097", "question": "What are the most common types of actors, and how many people are in each type?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?subclass ?subclassLabel ?count WHERE {\n  {\n    SELECT ?subclass(COUNT(DISTINCT ?actor) AS ?count) WHERE {\n      ?subclass wdt:P279 wd:Q33999 .\n      ?actor wdt:P31 ?subclass .\n    }\n    GROUP BY ?subclass\n  }\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER(LANG(?subclassLabel) = \"en\")\n}\nORDER BY DESC(?count) ASC(?subclassLabel)\nLIMIT 200", "paraphrases": ["Which subclasses of actor have the most instances, and how many actors belong to each?", "List the subclasses of actor ordered by the number of actors in each, with the most popular first."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 ( COUNT ( DISTINCT ?var3 ) AS ?var2 ) WHERE { BIND ( <http://www.wikidata.org/prop/direct/P279> AS ?var4 ). BIND ( <http://www.wikidata.org/entity/Q33999> AS ?var5 ). ?var3 ?var4 ?var1 . ?var3 <http://www.wikidata.org/prop/direct/P31> ?var5 . } GROUP BY ?var1 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var2 )ASC( ?var1Label ) LIMIT 200"}}
{"id": "test_3098", "question": "Municipalities in Ko\u0161ice-okolie District with their license plate codes", "sparql": "SELECT ?municipality ?municipalityLabel ?licensePlateCode WHERE {  ?municipality wdt:P131 wd:Q539979 .  ?municipality wdt:P31 wd:Q6784672 .  ?municipality rdfs:label ?municipalityLabel .  FILTER(LANG(?municipalityLabel) = \"en\")  OPTIONAL {    ?municipality wdt:P395 ?licensePlateCode .  }} LIMIT 122", "paraphrases": ["What are the names and license plate codes of municipalities in the Ko\u0161ice-okolie District of Slovakia?", "Show me the English names and vehicle registration codes of all municipalities located in the Ko\u0161ice-okolie District."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q539979> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P395> ?var3 . } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6784672> . } LIMIT 122"}}
{"id": "test_3099", "question": "What is the most common property used to indicate that someone is a bard?", "sparql": "SELECT ?property (COUNT(?property) AS ?count) WHERE { { SELECT ?property WHERE { ?item ?statementProperty wd:Q215144 . ?property wikibase:directClaim ?statementProperty . ?property rdf:type wikibase:Property . } LIMIT 10000 } } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which occupation or role property is most frequently associated with the historical profession of bard?", "How many people are listed as bards in Wikidata, and what property is used to mark them as such?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q215144> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_3100", "question": "Female human artists", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person WHERE {\n  ?person wdt:P31 wd:Q5 ; wdt:P21 wd:Q6581072 ; wdt:P106 / wdt:P279 * wd:Q483501 .\n}\nLIMIT 50", "paraphrases": ["Who are some female humans whose occupation is an artist or a subclass of artist?", "List up to 50 female human artists."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> ; ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q483501> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } } LIMIT 50"}}
{"id": "test_3101", "question": "People whose occupation is a pornographic actor or a subclass of it.", "sparql": "SELECT DISTINCT ?person ?label WHERE { ?person wdt:P106 / wdt:P279* wd:Q488111 ; rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["Who are the people that work as pornographic actors or in related occupations?", "List the names of individuals whose occupation is classified as a pornographic actor or any of its subtypes."], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q488111> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . }"}}
{"id": "test_3102", "question": "Image of the person with SNAC ARK ID w6pk0gtf", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6pk0gtf\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Sir Richard Winn Livingstone in Wikidata?", "Can you find the Wikimedia Commons image for the individual identified by the SNAC ARK ID w6pk0gtf?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6pk0gtf\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3103", "question": "Where was Cornelis Pronk born?", "sparql": "SELECT ?birthPlaceLabel WHERE { wd:Q2726659 wdt:P19 ?birthPlace . ?birthPlace rdfs:label ?birthPlaceLabel . FILTER(LANG(?birthPlaceLabel) = \"en\") }", "paraphrases": ["Birth place of Cornelis Pronk", "Tell me the birthplace of Cornelis Pronk."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q2726659> <http://www.wikidata.org/prop/direct/P19> ?var1 . }"}}
{"id": "test_3104", "question": "Is Matvey Lyubavsky a type of software?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  wd:Q50929973 ( wdt:P31 / wdt:P279 * ) wd:Q7397 .\n}", "paraphrases": ["Does the entity Q50929973 belong to a category that is a kind of software?", "Is software the superclass of the type that Matvey Lyubavsky belongs to?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q50929973> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_3105", "question": "What is the English label, official website, and Wikipedia article for the Slovene language?", "sparql": "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?label ?image ?coordinates ?youtube ?github ?twitter ?instagram ?facebook ?website ?orcid ?wikipediaArticle WHERE {\n  wd:Q9063 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    wd:Q9063 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q9063 wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    wd:Q9063 wdt:P1651 ?youtube .\n  }\n  OPTIONAL {\n    wd:Q9063 wdt:P2037 ?github .\n  }\n  OPTIONAL {\n    wd:Q9063 wdt:P2002 ?twitter .\n  }\n  OPTIONAL {\n    wd:Q9063 wdt:P2013 ?instagram .\n  }\n  OPTIONAL {\n    wd:Q9063 wdt:P2003 ?facebook .\n  }\n  OPTIONAL {\n    wd:Q9063 wdt:P856 ?website .\n  }\n  OPTIONAL {\n    wd:Q9063 wdt:P496 ?orcid .\n  }\n  OPTIONAL {\n    ?wikipediaArticle rdf:type schema:Article ; schema:about wd:Q9063 ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n}", "paraphrases": ["Can you show me the image, social media links (Twitter, Instagram, Facebook, GitHub), YouTube ID, and ORCID for the Slovene language?", "I need the English name of the Slovene language along with its associated media and online presence, including its Wikipedia page, image, and any official social media or website links."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q9063> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var12 ) ) ) . VALUES ( ?var12 ?var13 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q9063> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q9063> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q9063> <http://www.wikidata.org/prop/direct/P1651> ?var5 . } OPTIONAL { <http://www.wikidata.org/entity/Q9063> <http://www.wikidata.org/prop/direct/P2037> ?var6 . } OPTIONAL { <http://www.wikidata.org/entity/Q9063> <http://www.wikidata.org/prop/direct/P2002> ?var7 . } OPTIONAL { <http://www.wikidata.org/entity/Q9063> <http://www.wikidata.org/prop/direct/P2013> ?var8 . } OPTIONAL { <http://www.wikidata.org/entity/Q9063> <http://www.wikidata.org/prop/direct/P2003> ?var9 . } OPTIONAL { <http://www.wikidata.org/entity/Q9063> <http://www.wikidata.org/prop/direct/P856> ?var10 . } OPTIONAL { <http://www.wikidata.org/entity/Q9063> <http://www.wikidata.org/prop/direct/P496> ?var11 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q9063> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var13 )"}}
{"id": "test_3106", "question": "Polish citizens with occupations in English", "sparql": "SELECT ?person ?occupationLabel WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P27 wd:Q36 . ?person wdt:P106 ?occupation . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = \"en\") } LIMIT 100", "paraphrases": ["Who are the Polish people with known occupations, and what are those occupations in English?", "List all humans who are citizens of Poland and have an occupation, showing their occupation labels in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q36> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var2 . } } LIMIT 200000"}}
{"id": "test_3107", "question": "Polish humans and their occupations", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?human ?humanLabel ?occupationLabel WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human wdt:P27 wd:Q36 .\n  ?human wdt:P106 ?occupation .\n  ?human rdfs:label ?humanLabel .\n  ?occupation rdfs:label ?occupationLabel .\n  FILTER(LANG(?humanLabel) = \"en\")\n  .\n  FILTER(LANG(?occupationLabel) = \"en\")\n}\nLIMIT 10", "paraphrases": ["Who are some humans from Poland and what are their occupations?", "List 10 people from Poland along with their jobs."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q36> . ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q658349> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"all\". } } LIMIT 10"}}
{"id": "test_3108", "question": "Italian writers with known family names and birth dates, sorted by surname.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?writer ?givenName ?familyName ?birthDate WHERE {\n  ?writer wdt:P106 wd:Q36180 ; wdt:P27 wd:Q38 ; wdt:P734 ?familyName ; wdt:P569 ?birthDate .\n  OPTIONAL {\n    ?writer wdt:P735 ?givenName .\n  }\n}\nORDER BY ASC(?familyName)\nLIMIT 100", "paraphrases": ["Who are the Italian writers, and what are their family names and dates of birth?", "List the Italian writers along with their surnames and birth dates, ordered alphabetically by surname."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q36180> ; <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q38> ; <http://www.wikidata.org/prop/direct/P734> ?var2 ; <http://www.wikidata.org/prop/direct/P569> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var2 ) LIMIT 100"}}
{"id": "test_3109", "question": "What are the birth and death dates of Charles Offenbach?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  BIND( wd:Q21634558 AS ?person ) .\n  ?person wdt:P31 wd:Q5 .\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}", "paraphrases": ["Can you tell me the full name, date of birth, and date of death of the French composer Charles Ignace Auguste Jacques Offenbach?", "Who was Charles Ignace Auguste Jacques Offenbach, and when was he born and when did he die?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q21634558> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3110", "question": "What are the geographic coordinates of wayside crosses in the Czech Republic that do not have a Czech label?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?cross ?crossLabel ?coordinate WHERE {\n  ?cross wdt:P17 wd:Q213 .\n  ?cross wdt:P625 ?coordinate .\n  ?cross wdt:P31 wd:Q2309609 .\n  ?cross rdfs:label ?crossLabel . MINUS {\n    ?cross rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"cs\" )\n  }\n}", "paraphrases": ["Show me wayside crosses in Czechia with their locations, but only if they aren\u2019t labeled in Czech.", "List all roadside crosses in the Czech Republic along with their coordinates, excluding those with Czech-language names."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q213> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2309609> . MINUS { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"cs\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_3111", "question": "Image of Vikki Carr with SNAC ARK ID w6km00gk", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6km00gk\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the Wikimedia Commons image of Vikki Carr?", "Show me the photo of the person identified by SNAC ARK ID w6km00gk."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6km00gk\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3112", "question": "Humans with 'Washington' in their name", "sparql": "SELECT ?item ?label WHERE { ?item wdt:P31 wd:Q5 . ?item rdfs:label ?label . FILTER (REGEX(STR(?label), \"Washington\", \"i\")) } LIMIT 10", "paraphrases": ["Who are the humans whose names include 'Washington'?", "List all humans that have 'Washington' in their label, regardless of case."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( REGEX ( STR ( ?var1Label ) , \"Washington\", \"i\" ) ) ) . } LIMIT 10"}}
{"id": "test_3113", "question": "Abandoned villages in the Czech Republic with their geographic coordinates.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?village ?villageLabel ?coordinates WHERE {\n  ?village wdt:P31 wd:Q350895 .\n  ?village wdt:P131 * wd:Q213 .\n  ?village wdt:P625 ?coordinates .\n}", "paraphrases": ["What are the coordinates of all abandoned villages located in the Czech Republic?", "List all abandoned villages in the Czech Republic along with their latitude and longitude coordinates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q350895> . ?var1 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q213> . FILTER ( ( !( BOUND ( ?var3 ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . }"}}
{"id": "test_3114", "question": "Properties linking items to the occupation \"actor\" and their usage counts, filtered to those used more than once.", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q33999 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["What properties are used to associate people with the occupation of actor, and how many times is each property used?", "Show me all the properties that connect entities to the actor occupation, along with how frequently each is used, excluding properties used only once."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 ?var1 <http://www.wikidata.org/entity/Q33999> . } GROUP BY ?var1 ?var2 HAVING ( ( ?var4 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var4 )"}}
{"id": "test_3115", "question": "What are the most common types of people who have spouses, based on Wikidata?", "sparql": "SELECT ?class ?classLabel ?count WHERE { { SELECT ?class (COUNT(*) AS ?count) WHERE { ?person wdt:P26 ?spouse ; wdt:P31 ?class . } GROUP BY ?class ORDER BY DESC(?count) LIMIT 50 } UNION { SELECT ?class (COUNT(*) AS ?count) WHERE { ?person wdt:P26 ?spouse ; wdt:P279 ?class . } GROUP BY ?class ORDER BY DESC(?count) LIMIT 50 } OPTIONAL { ?class rdfs:label ?classLabel . FILTER(LANG(?classLabel) = \"en\") } } ORDER BY DESC(?count) ASC(?class)", "paraphrases": ["Which classes (types) of individuals are most frequently associated with having a spouse, either as direct instances or subclasses?", "List the top classes of people with spouses, ranked by how many such people exist, including both direct instances and subclasses."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label WHERE { { SELECT ?var1 ( COUNT (* ) AS ?var2 )( <http://www.wikidata.org/entity/P31> AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P26> ?var5 ; <http://www.wikidata.org/prop/direct/P31> ?var1 . } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 50 } UNION { SELECT ?var1 ( COUNT (* ) AS ?var2 )( <http://www.wikidata.org/entity/P279> AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P26> ?var5 ; <http://www.wikidata.org/prop/direct/P279> ?var1 . } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 50 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } } ORDER BY DESC( ?var2 )ASC( ?var1 )"}}
{"id": "test_3116", "question": "Who are the actors with French-language labels on Wikidata?", "sparql": "SELECT DISTINCT ?actor ?label WHERE { ?actor wdt:P31 wd:Q5 ; wdt:P106 wd:Q33999 ; rdfs:label ?label . FILTER(LANG(?label) = \"fr\") }", "paraphrases": ["French labels of people whose occupation is actor", "List all actors in Wikidata with their French names"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/P161> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"fr\" ) ) ) . }"}}
{"id": "test_3117", "question": "What is the official website of HotellerieSuisse, and which Wikipedia pages are about it?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?related WHERE {\n  ?item wdt:P856 <https://www.hotelleriesuisse.ch/de/> .\n  ?related schema:about ?item .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = 'en' )\n}", "paraphrases": ["Which entities are linked to the official website https://www.hotelleriesuisse.ch/de/, and what are their English labels?", "Can you find the English-labeled entity that has the official website hotelleriesuisse.ch/de/ and tell me what pages are about it?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.hotelleriesuisse.ch/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.hotelleriesuisse.ch/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.hotelleriesuisse.ch/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.hotelleriesuisse.ch/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.hotelleriesuisse.ch> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.hotelleriesuisse.ch> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://hotelleriesuisse.ch> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://hotelleriesuisse.ch> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://hotelleriesuisse.ch/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://hotelleriesuisse.ch/> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3118", "question": "Humans who are citizens of Italy and have English labels", "sparql": "SELECT ?human ?humanLabel WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P27 wd:Q38 . ?human rdfs:label ?humanLabel . FILTER(LANG(?humanLabel) = \"en\") } LIMIT 200000", "paraphrases": ["Who are the Italian citizens with English-language names listed in Wikidata?", "List the names in English of all humans who are citizens of Italy."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q38> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var1 <http://www.wikidata.org/prop/direct/P27> ?var2 . } LIMIT 200000"}}
{"id": "test_3119", "question": "People who are art dealers", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P106 wd:Q173950 .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}", "paraphrases": ["Who are the people whose occupation is art dealer?", "List the names of individuals who work as art dealers, in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q173950> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_3120", "question": "Humans and their spouses with gender", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?human ?spouse ?gender WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human wdt:P26 ?spouse .\n  ?human wdt:P21 ?gender .\n}\nLIMIT 25000", "paraphrases": ["Who are the humans, who are their spouses, and what is their gender?", "List all humans who have spouses, along with the spouse's identity and the human's gender."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4 ?var4Label ?var5Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P26> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P21> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 25000"}}
{"id": "test_3121", "question": "What property is most frequently used to indicate that someone is a beach volleyball player in Wikidata?", "sparql": "SELECT ?property (COUNT(?property) AS ?count) WHERE { ?item ?prop wd:Q17361156 . ?property wikibase:directClaim ?prop . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Most common property for assigning beach volleyball player as an occupation", "Which property in Wikidata is used the most times to list beach volleyball player as an occupation, and how many times is it used?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q17361156> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_3122", "question": "What are the notable places in Prague, and what images and Wikimedia Commons categories are associated with them?", "sparql": "SELECT ?item ?itemLabel ?adminLabel ?coord ?image ?itemCategory ?adminCategory WHERE {\n  # Item is located in Prague or its subdivisions\n  ?item wdt:P131 wd:Q1085 .\n\n  # Optional: Get coordinates\n  OPTIONAL { ?item wdt:P625 ?coord . }\n\n  # Optional: Get image\n  OPTIONAL { ?item wdt:P18 ?image . }\n\n  # Optional: Get Commons category of the item\n  OPTIONAL { ?item wdt:P373 ?itemCategory . }\n\n  # Get administrative entity (Prague)\n  BIND(wd:Q1085 AS ?admin)\n\n  # Get Commons category of Prague\n  OPTIONAL { ?admin wdt:P373 ?adminCategory . }\n\n  # Get labels in English\n  OPTIONAL { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }\n  OPTIONAL { ?admin rdfs:label ?adminLabel . FILTER(LANG(?adminLabel) = \"en\") }\n}\nLIMIT 2000", "paraphrases": ["Show me buildings, landmarks, or sites in Prague along with their photos and related Commons categories.", "List cultural or historical sites in Prague, including their coordinates, images, and the Commons category for Prague itself."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerWest> \"POINT(16 50)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerEast> \"POINT(16 51)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P131> ?var8 . ?var8 <http://www.wikidata.org/prop/direct/P373> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } ?var1 <http://www.wikidata.org/prop/P1435> ?var9 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } } LIMIT 2000"}}
{"id": "test_3123", "question": "Top 10 causes of abandonment for villages and hamlets in the Czech Republic, with Czech labels.", "sparql": "SELECT ?cause ?causeLabel (COUNT(*) AS ?count)\nWHERE {\n  {\n    ?settlement wdt:P31 wd:Q350895 .  # abandoned village\n  } UNION {\n    ?settlement wdt:P31 wd:Q27654220 .  # abandoned hamlet\n  }\n  ?settlement wdt:P17 wd:Q213 .  # in Czech Republic\n  ?settlement wdt:P770 ?cause .\n  OPTIONAL {\n    ?cause rdfs:label ?causeLabel .\n    FILTER(LANG(?causeLabel) = \"cs\")\n  }\n}\nGROUP BY ?cause ?causeLabel\nORDER BY DESC(?count) ASC(?causeLabel)\nLIMIT 10", "paraphrases": ["What are the most common reasons why abandoned villages and hamlets in the Czech Republic were deserted, and what are their Czech names?", "Show me the 10 most frequent causes of destruction for abandoned settlements in the Czech Republic, including their Czech-language labels, sorted by frequency."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( COUNT (* ) AS ?var3 ) WHERE { { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q350895> . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q27654220> . } ?var4 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q213> . ?var4 <http://www.wikidata.org/prop/direct/P770> ?var1 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"cs\" ) ) ) . } } GROUP BY ?var1 ?var2 ORDER BY DESC( ?var3 )ASC( ?var2 ) LIMIT 10"}}
{"id": "test_3124", "question": "Who are some people and who are their fathers?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?father WHERE {\n  ?person wdt:P22 ?father .\n}\nLIMIT 1000", "paraphrases": ["List up to 1000 individuals along with their biological fathers.", "Can you show me a list of people and their fathers from Wikidata?"], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/prop/direct/P22> ?var1 ?var2 . } LIMIT 1000"}}
{"id": "test_3125", "question": "Where was Herman Gordijn born?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?birthPlace ?birthPlaceLabel WHERE {\n  wd:Q3021029 wdt:P19 ?birthPlace .\n  ?birthPlace rdfs:label ?birthPlaceLabel .\n  FILTER(LANG(?birthPlaceLabel) = \"en\")\n}", "paraphrases": ["What is the birthplace of the Dutch painter Herman Gordijn?", "Tell me the city where Herman Gordijn was born."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q3021029> <http://www.wikidata.org/prop/direct/P19> ?var1 . }"}}
{"id": "test_3126", "question": "Pairs of people in Wikidata who are mutually listed as each other\u2019s children.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person1 ?person1Label ?person2 ?person2Label WHERE {\n  ?person1 wdt:P40 ?person2 .\n  ?person2 wdt:P40 ?person1 .\n  OPTIONAL {\n    ?person1 rdfs:label ?person1Label .\n    FILTER ( LANG( ?person1Label ) = \"en\" )\n  }\n  OPTIONAL {\n    ?person2 rdfs:label ?person2Label .\n    FILTER ( LANG( ?person2Label ) = \"en\" )\n  }\n}", "paraphrases": ["Which pairs of people in Wikidata have each other listed as their child, creating a circular parent-child relationship?", "Show me all cases in Wikidata where two individuals are incorrectly recorded as being children of each other."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P40> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P40> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_3127", "question": "Croatian citizens with their occupations and genders, excluding those with Arabic descriptions, and showing their English names.", "sparql": "SELECT ?human ?gender ?occupation ?humanLabel WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P27 wd:Q224 . OPTIONAL { ?human wdt:P21 ?gender . } OPTIONAL { ?human wdt:P106 ?occupation . } ?human rdfs:label ?humanLabel . FILTER (LANG(?humanLabel) = \"en\") FILTER ( NOT EXISTS { ?human schema:description ?desc . FILTER ( LANG(?desc) = \"ar\" ) } ) }", "paraphrases": ["Who are the Croatian citizens, what are their occupations and genders, and what are their English names, excluding those with Arabic-language descriptions?", "List all Croatian citizens with their English names, genders, and occupations, but exclude anyone who has a description in Arabic."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var4 . } ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q224> . FILTER ( ( NOT EXISTS { ?var1 <http://schema.org/description> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"ar\" ) ) ) . } ) ) . }"}}
{"id": "test_3128", "question": "What are some painters and the artistic genres they are associated with?", "sparql": "SELECT ?painterLabel ?genreLabel WHERE { ?painter wdt:P31 wd:Q5 . ?painter wdt:P106 wd:Q1028181 . ?painter wdt:P136 ?genre . ?painter rdfs:label ?painterLabel . ?genre rdfs:label ?genreLabel . FILTER(LANG(?painterLabel) = \"en\") . FILTER(LANG(?genreLabel) = \"en\") } LIMIT 100", "paraphrases": ["List English-labeled painters and their genres from Wikidata.", "Which genres are associated with human painters according to Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1028181> . ?var1 <http://www.wikidata.org/prop/direct/P136> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 300000"}}
{"id": "test_3129", "question": "People whose biological parents were not married to each other", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?child ?father ?mother ?childLabel ?fatherLabel ?motherLabel WHERE {\n  ?child wdt:P31 wd:Q5 .\n  ?child wdt:P22 ?father .\n  ?child wdt:P25 ?mother .\n  FILTER ( NOT EXISTS {\n    ?father wdt:P26 ?mother\n  }\n  ) .\n  FILTER ( NOT EXISTS {\n    ?mother wdt:P26 ?father\n  }\n  ) .\n  ?child rdfs:label ?childLabel .\n  ?father rdfs:label ?fatherLabel .\n  ?mother rdfs:label ?motherLabel .\n  FILTER ( LANG( ?childLabel ) = \"en\" ) .\n  FILTER ( LANG( ?fatherLabel ) = \"en\" ) .\n  FILTER ( LANG( ?motherLabel ) = \"en\" ) .\n}\nORDER BY ASC ( ?childLabel )\nLIMIT 100", "paraphrases": ["Who are some historical figures whose father and mother were not spouses?", "List 100 humans along with their father and mother names, where the father and mother are not married to each other, and show their English labels."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var1Label ?var2Label ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P22> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P25> ?var3 . FILTER ( ( NOT EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P26> ?var3 . } ) ) . FILTER ( ( NOT EXISTS { ?var3 <http://www.wikidata.org/prop/direct/P26> ?var2 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label ) LIMIT 100"}}
{"id": "test_3130", "question": "What are the names of Henry VIII\u2019s wives?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?spouseLabel WHERE {\n  wd:Q38370 wdt:P26 ?spouse .\n  ?spouse rdfs:label ?spouseLabel .\n  FILTER ( LANG( ?spouseLabel ) = \"en\" )\n}", "paraphrases": ["Henry VIII spouses' names in English", "List the English labels of Henry VIII\u2019s spouses."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q38370> <http://www.wikidata.org/prop/direct/P26> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P735> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/1705> ?var1 . }"}}
{"id": "test_3131", "question": "List all municipalities in the Detva District of Slovakia along with their postal codes.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?municipality ?municipalityLabel ?postalCode WHERE {\n  ?municipality wdt:P131 wd:Q532137 .\n  OPTIONAL {\n    ?municipality wdt:P281 ?postalCode .\n  }\n  ?municipality wdt:P31 wd:Q6784672 .\n}\nLIMIT 100", "paraphrases": ["What are the postal codes of municipalities located in the Detva District in Slovakia?", "Show me the names and postal codes of all municipalities that are part of the Detva District in Slovakia."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q532137> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sk\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P281> ?var3 . } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6784672> . } LIMIT 100"}}
{"id": "test_3132", "question": "What are the names of the municipalities in Slovakia that are located in the Krupina District?", "sparql": "SELECT ?municipalityLabel WHERE { ?municipality wdt:P131 wd:Q756660 . ?municipality wdt:P31 wd:Q6784672 . } LIMIT 100", "paraphrases": ["Municipalities in Krupina District, Slovakia", "List all municipalities (obec) in the Krupina District of Slovakia."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q756660> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sk\". ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } OPTIONAL { } ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6784672> . } LIMIT 100"}}
{"id": "test_3133", "question": "Male humans with spouses and recorded dates of death", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?human ?humanLabel ?spouseLabel ?dateOfDeath ?genderLabel WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human wdt:P26 ?spouse .\n  ?human wdt:P570 ?dateOfDeath .\n  ?human wdt:P21 wd:Q6581097 .\n  ?human rdfs:label ?humanLabel .\n  ?spouse rdfs:label ?spouseLabel .\n  wd:Q6581097 rdfs:label ?genderLabel .\n  FILTER(LANG(?humanLabel) = \"en\")\n  FILTER(LANG(?spouseLabel) = \"en\")\n  FILTER(LANG(?genderLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Who are some deceased men who were married, and who were their spouses?", "List deceased male individuals along with their spouses and death dates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4 ?var4Label ?var5Label ?var6Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P26> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var6 . ?var1 <http://www.wikidata.org/prop/direct/P21> ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( STR ( ?var3Label ) = \"male\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 25000"}}
{"id": "test_3134", "question": "Municipalities in the Czech Republic with their districts and regions.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?municipality ?municipalityLabel ?districtLabel ?regionLabel WHERE {\n  ?municipality wdt:P31 wd:Q5153359 .\n  ?municipality wdt:P131 ?district .\n  ?district wdt:P131 ?region .\n  ?municipality rdfs:label ?municipalityLabel .\n  ?district rdfs:label ?districtLabel .\n  ?region rdfs:label ?regionLabel .\n  FILTER(LANG(?municipalityLabel) = \"en\")\n  FILTER(LANG(?districtLabel) = \"en\")\n  FILTER(LANG(?regionLabel) = \"en\")\n}\nLIMIT 50", "paraphrases": ["What are the municipalities in the Czech Republic, and what districts and regions are they part of?", "List the English names of Czech municipalities along with the administrative districts and regions they belong to."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5153359> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P131> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } } LIMIT 50"}}
{"id": "test_3135", "question": "What is the English Wikipedia page, official website, and type of Monarch Airlines?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?wikipediaPage ?website ?instance WHERE {\n  VALUES ?item {\n    wd:Q900951\n  }\n  .\n  ?wikipediaPage schema:about ?item ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n  OPTIONAL {\n    ?item wdt:P856 ?website .\n  }\n  OPTIONAL {\n    ?item wdt:P31 ?instance .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["Can you tell me about Monarch Airlines \u2014 its Wikipedia article, website, and what kind of company it was?", "Show me the English Wikipedia link, official URL, and classification of the former British airline Monarch Airlines."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P127> <http://www.wikidata.org/entity/Q900951> . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"en\". ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P127> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3136", "question": "Who is Imad Toumi in French on Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person WHERE {\n  ?person rdfs:label \"Imad Toumi\" @fr .\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["What is the Wikidata identifier for the person named Imad Toumi in French?", "Find the Wikidata entity for the French-labeled person \"Imad Toumi\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Imad Toumi\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3137", "question": "Humans who have both a parent and a child, with their parent and child names.", "sparql": "SELECT ?person ?personLabel ?parent ?parentLabel ?child ?childLabel WHERE { ?person wdt:P31 wd:Q5 . { ?person wdt:P22 ?parent . } UNION { ?person wdt:P25 ?parent . } ?person wdt:P40 ?child . ?parent wdt:P31 wd:Q5 . ?child wdt:P31 wd:Q5 . }", "paraphrases": ["Which people have at least one parent and at least one child, and who are those parents and children?", "List all humans who are both children and parents, along with the names of one of their parents and one of their children."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P22> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P25> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . } ?var1 <http://www.wikidata.org/prop/direct/P40> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3138", "question": "People born in Hungary and their occupations", "sparql": "SELECT ?person ?occupation ?occupationLabel WHERE { ?person wdt:P19 wd:Q28 . OPTIONAL { ?person wdt:P106 ?occupation . } OPTIONAL { ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = \"en\") } } LIMIT 100", "paraphrases": ["Who are some people born in Hungary, and what are their occupations in English?", "List up to 100 individuals born in Hungary along with their English-labeled occupations."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q28> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,hu\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var2 . } OPTIONAL { } }"}}
{"id": "test_3139", "question": "Hungarian mathematicians", "sparql": "SELECT ?person ?label WHERE { ?person wdt:P106 wd:Q170790 . ?person wdt:P27 wd:Q28 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") . BIND(STR(?personLabel) AS ?label) } LIMIT 100", "paraphrases": ["Who are some mathematicians from Hungary?", "List 100 Hungarian people who are mathematicians, with their English names."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q170790> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q28> . } LIMIT 100"}}
{"id": "test_3140", "question": "What is the English Wikipedia article about Albert Einstein?", "sparql": "SELECT ?wikipediaArticle WHERE { ?entity rdfs:label \"Albert Einstein\"@en . ?wikipediaArticle schema:about ?entity ; schema:isPartOf <https://en.wikipedia.org/> . }", "paraphrases": ["Show me the English Wikipedia pages related to the person named Albert Einstein.", "Which English Wikipedia articles are about the entity labeled \"Albert Einstein\"?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://schema.org/about> ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> \"string1\"@en . }"}}
{"id": "test_3141", "question": "What is the English name of Charles Juliet?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label WHERE {\n  wd:Q2959511 rdfs:label ?label .\n  FILTER(LANGMATCHES(LANG(?label) , \"en\"))\n}\nLIMIT 1", "paraphrases": ["Can you show me the English label for the person Charles Juliet?", "What is Charles Juliet called in English?"], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { <http://www.wikidata.org/entity/Q2959511> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( LANGMATCHES ( LANG ( ?var1Label ) , \"EN\" ) ) ) . } LIMIT 1"}}
{"id": "test_3142", "question": "Is Yoshimi classified as software in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  wd:Q21233709 ( wdt:P31 / wdt:P279 * ) wd:Q732577\n}", "paraphrases": ["Is Yoshimi an instance of software or a subclass of software?", "Check whether Yoshimi is categorized as software, including through its inheritance hierarchy."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q21233709> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_3143", "question": "What are the coordinates of the South Pole Telescope and the administrative region it is located in?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?telescopeCoordinates ?administrativeAreaCoordinates WHERE {\n  wd:Q1513315 wdt:P625 ?telescopeCoordinates .\n  OPTIONAL {\n    wd:Q1513315 wdt:P131 ?administrativeArea .\n    ?administrativeArea wdt:P625 ?administrativeAreaCoordinates .\n  }\n}", "paraphrases": ["Where is the South Pole Telescope located, and what are the coordinates of the area it belongs to?", "Give me the GPS coordinates of the South Pole Telescope and the South Pole region it is part of."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q1513315> <http://www.wikidata.org/prop/direct/P625> ?var1 . OPTIONAL { <http://www.wikidata.org/entity/Q1513315> <http://www.wikidata.org/prop/direct/P131> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var2 . } }"}}
{"id": "test_3144", "question": "What is Tony Blair\u2019s country of citizenship?", "sparql": "SELECT ?country ?countryLabel WHERE { wd:Q9545 wdt:P27 ?country . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") }", "paraphrases": ["Which country does Tony Blair hold citizenship in?", "Can you tell me the English name of the country Tony Blair is a citizen of?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q9545> <http://www.wikidata.org/prop/direct/P27> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_3145", "question": "List municipalities in the Czech Republic with their coordinates, administrative divisions, and country, using English labels.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX geof: <http://www.opengis.net/def/function/geosparql/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?place ?placeLabel ?country ?countryLabel ?administrativeEntityLabel ?rank ?language ?latitude ?longitude WHERE {\n  ?place wdt:P31 wd:Q5153359 .\n  ?place wdt:P131 ?administrativeEntity .\n  ?place wdt:P17 wd:Q213 .\n  BIND( wd:Q213 AS ?country ) ?place wdt:P625 ?coordinate .\n  BIND( geof:latitude ( ?coordinate ) AS ?latitude ) BIND( geof:longitude ( ?coordinate ) AS ?longitude ) BIND( \"3\" AS ?rank ) BIND( \"nl\" AS ?language ) ?place rdfs:label ?placeLabel .\n  ?country rdfs:label ?countryLabel .\n  ?administrativeEntity rdfs:label ?administrativeEntityLabel .\n  FILTER ( LANG( ?placeLabel ) = \"en\" ) FILTER ( LANG( ?countryLabel ) = \"en\" ) FILTER ( LANG( ?administrativeEntityLabel ) = \"en\" )\n}\nORDER BY ASC ( ?placeLabel )", "paraphrases": ["What are the names, locations, and administrative divisions of all municipalities in the Czech Republic, along with their latitude and longitude?", "Please provide a list of all municipalities in the Czech Republic, including their English names, administrative territories, country, and geographic coordinates, with a constant rank of 3 and language code nl."], "info": {"raw_sparql": "SELECT DISTINCT( ?var1 AS ?var2 ) ?var1Label ( ?var3 AS ?var4 ) ?var3Label ?var5Label ( \"3\" AS ?var6 )( \"nl\" AS ?var7 ) ?var8 ?var9 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q56061> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q213> . ?var1 <http://www.wikidata.org/prop/P625> ?var10 . ?var10 <http://www.wikidata.org/prop/statement/value/P625> ?var11 . ?var11 <http://wikiba.se/ontology#geoLatitude> ?var8 . ?var11 <http://wikiba.se/ontology#geoLongitude> ?var9 . MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q532> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,cs\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_3146", "question": "Most common occupations of humans on Wikidata, including unknown values", "sparql": "SELECT ?occupationOrUnknown ?occupationOrUnknownLabel ?count WHERE { { SELECT ?occupationOrUnknown ( COUNT( ?occupationOrUnknown ) AS ?count ) WHERE { ?person wdt:P31 wd:Q5 . OPTIONAL { ?person wdt:P106 ?occupation . } BIND( IF( BOUND(?occupation), ?occupation, wd:Q19798648 ) AS ?occupationOrUnknown ) } GROUP BY ?occupationOrUnknown } OPTIONAL { ?occupationOrUnknown rdfs:label ?occupationOrUnknownLabel . FILTER(LANG(?occupationOrUnknownLabel) = \"en\") } } ORDER BY DESC(?count)", "paraphrases": ["How many humans have known occupations versus unknown occupations, and what are the most frequent occupations?", "List the occupations of all humans, counting how many have each occupation, and treat missing occupations as \"unknown\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/Q5> <http://www.wikidata.org/entity/Q66656> . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P106> ?var4 . } BIND ( IF ( !( BOUND ( ?var4 ) ), <http://www.wikidata.org/entity/Q19798648> , ?var4 ) AS ?var1 ). } GROUP BY ?var1 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var2 )"}}
{"id": "test_3147", "question": "Images of the person with SNAC ARK ID w6fj2f49", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6fj2f49\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What images are associated with Hank Williams in Wikidata?", "Show me the Wikimedia Commons images linked to the Social Networks and Archival Context (SNAC) record w6fj2f49."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6fj2f49\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3148", "question": "English or German Wikipedia page for movie with IMDb ID tt0476550", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipediaPage ?imdbId WHERE {\n  ?movie wdt:P345 ?imdbId .\n  ?wikipediaPage schema:about ?movie .\n  {\n    ?wikipediaPage schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipediaPage schema:inLanguage \"de\" .\n  }\n  FILTER ( ?imdbId = \"tt0476550\" )\n}", "paraphrases": ["What is the English or German Wikipedia page for the movie with IMDb ID tt0476550?", "Show me the Wikipedia page in English or German for the movie identified by IMDb ID tt0476550, along with its Wikidata item and IMDb ID."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0476550\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3149", "question": "Female citizens of Mozambique with their occupations and Catalan Wikipedia pages.", "sparql": "SELECT DISTINCT ?person ?personLabel ?occupation (SAMPLE(?image) AS ?imageUrl) ?caWikipediaPage WHERE { ?person wdt:P31 wd:Q5 ; wdt:P21 wd:Q6581072 ; wdt:P27 wd:Q1029 ; rdfs:label ?personLabel ; wdt:P106 ?occupation . OPTIONAL { ?person wdt:P18 ?image . } OPTIONAL { ?caWikipediaPage schema:about ?person ; schema:isPartOf <https://ca.wikipedia.org/> . } FILTER(LANG(?personLabel) = \"en\") } GROUP BY ?person ?personLabel ?occupation ?caWikipediaPage LIMIT 50", "paraphrases": ["Who are the female humans from Mozambique, what are their occupations, and do they have a page on the Catalan Wikipedia?", "List female Mozambican people with their English names, occupations, and links to their Catalan Wikipedia articles, along with any available images."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var3 ) ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q1029> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://ca.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,fr,es,de,ru,it,nl,ja,zh,pl,cs\". } } GROUP BY ?var1 ?var1Label ?var2 ?var4 LIMIT 50"}}
{"id": "test_3150", "question": "Who are the parents of Ishmael?", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ?parent WHERE {\n  ?parent p:P40 [ ps:P40 wd:Q183403 ] .\n}", "paraphrases": ["Which individuals have Ishmael as their child?", "List the fathers and mothers of the prophet Ishmael."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/P40> [ <http://www.wikidata.org/prop/statement/P40> <http://www.wikidata.org/entity/Q183403> ] . }"}}
{"id": "test_3151", "question": "What is the official website of Britannia Hotels, and which English or German Wikipedia or Commons pages are about it?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var1 ?var1Label ?var2 WHERE {\n  ?var1 wdt:P856 <https://www.britanniahotels.com> .\n  ?var2 schema:about ?var1 .\n  {\n    ?var2 schema:inLanguage \"en\" .\n  } UNION {\n    ?var2 schema:inLanguage \"de\" .\n  }\n  ?var1 rdfs:label ?var1Label .\n  FILTER(LANG(?var1Label) = \"en\")\n}", "paraphrases": ["Show me the English label of Britannia Hotels along with its associated English or German Wikipedia and Commons pages.", "Find all English and German pages linked to Britannia Hotels via schema:about, and confirm its official website is www.britanniahotels.com."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.britanniahotels.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.britanniahotels.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.britanniahotels.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.britanniahotels.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.britanniahotels.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.britanniahotels.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.britanniahotels.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://britanniahotels.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://britanniahotels.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://britanniahotels.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://britanniahotels.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3152", "question": "Actors known as Salman Khan", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel WHERE {\n  ?person rdfs:label \"Salman Khan\" @en .\n  ?person wdt:P106 wd:Q33999 .\n}", "paraphrases": ["Who is an actor and is known as Salman Khan?", "List all actors whose name is Salman Khan."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . ?var1 <http://www.wikidata.org/prop/direct/P2561> <http://www.wikidata.org/entity/Q9543> . }"}}
{"id": "test_3153", "question": "Image of Jo Freeman with SNAC ARK ID w68f3b8n", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w68f3b8n\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w68f3b8n?", "Show me the Wikimedia Commons image for the person whose SNAC ARK ID is w68f3b8n."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w68f3b8n\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3154", "question": "City squares in the Czech Republic with images and Commons categories", "sparql": "SELECT ?square ?squareLabel ?location ?image ?commonsCategory ?address WHERE { ?square wdt:P31 wd:Q174782 . ?square wdt:P17 wd:Q213 . ?square wdt:P625 ?location . FILTER(geof:longitude(?location) >= 12 && geof:longitude(?location) <= 19) FILTER(geof:latitude(?location) >= 48.5 && geof:latitude(?location) <= 51) OPTIONAL { ?square wdt:P18 ?image . } OPTIONAL { ?square wdt:P373 ?commonsCategory . } OPTIONAL { ?square wdt:P969 ?address . } ?square rdfs:label ?squareLabel . FILTER(LANG(?squareLabel) = \"en\") } LIMIT 3000", "paraphrases": ["What are the city squares in the Czech Republic, and what are their locations, images, and Wikimedia Commons categories?", "List all city squares in the Czech Republic within the geographic range of 12\u201319\u00b0E and 48.5\u201351\u00b0N, along with their images, Commons categories, and addresses if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(8 47)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(24 53)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q174782> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q213> . ?var1 <http://www.wikidata.org/prop/direct/P373> ?var8 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_3155", "question": "Who are the father and spouse of Vladimir Putin?", "sparql": "SELECT ?person ?label WHERE { { ?person wdt:P22 wd:Q7747 . } UNION { ?person wdt:P26 wd:Q7747 . } ?person rdfs:label ?label . FILTER(LANG(?label) = \"en\") } LIMIT 10", "paraphrases": ["Father and spouse of Vladimir Putin", "List the English names of Vladimir Putin\u2019s father and spouse."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P22> <http://www.wikidata.org/entity/Q7747> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P26> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10"}}
{"id": "test_3156", "question": "Wikipedia and Wikiquote pages in English and German for the movie with IMDb ID tt5480340.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?page WHERE {\n  ?movie wdt:P345 \"tt5480340\" .\n  ?page schema:about ?movie .\n  ?page schema:inLanguage ?lang .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n}", "paraphrases": ["What are the English and German language Wikipedia and Wikiquote pages about the movie \"Ice Age: The Great Egg-Scapade\"?", "Show me the links to the English and German Wikipedia and Wikiquote pages for the movie identified by IMDb ID tt5480340."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5480340\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3157", "question": "French labels and descriptions of properties related to locator map image (P242)", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?relatedProperty ?label ?description WHERE {\n  wd:P242 wdt:P1659 ?relatedProperty .\n  ?relatedProperty rdfs:label ?label .\n  ?relatedProperty schema:description ?description .\n  FILTER ( LANG( ?label ) = \"fr\" ) .\n  FILTER ( LANG( ?description ) = \"fr\" ) .\n}", "paraphrases": ["Which properties are considered related to the locator map image in Wikidata, and how are they described in French?", "Show me the French names and descriptions of all properties that are related to the locator map image property."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P242> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"fr\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"fr\" ) ) ) . }"}}
{"id": "test_3158", "question": "Public squares in Czech Republic not on streets, with municipality names", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT(STRAFTER(STR(?square) , STR(wd:)) AS ?squareId) ?squareLabel ?municipality(STRAFTER(STR(?municipality) , STR(wd:)) AS ?municipalityId) ?municipalityLabel WHERE {\n  ?square rdfs:label ?squareLabel .\n  FILTER(REGEX(?squareLabel , \"^n\u00e1m\u011bst\u00ed\" , \"i\"))\n  ?square wdt:P17 wd:Q213 ; wdt:P131 + ?municipality .\n  ?municipality wdt:P31 wd:Q5153359 . MINUS {\n    ?square wdt:P669 [] .\n  }\n  ?municipality rdfs:label ?municipalityLabel .\n  FILTER(LANG(?squareLabel) IN(\"en\" , \"cs\"))\n  FILTER(LANG(?municipalityLabel) IN(\"en\" , \"cs\"))\n}\nORDER BY ?squareLabel ?municipalityLabel", "paraphrases": ["What are the names of public squares (n\u00e1m\u011bst\u00ed) in the Czech Republic that are not located on a street, and in which municipalities are they located?", "List all public squares in the Czech Republic that are not on a street, along with their municipality and Wikidata IDs."], "info": {"raw_sparql": "SELECT( STRAFTER ( STR ( ?var1 ) , STR ( <http://www.wikidata.org/entity/> ) ) AS ?var2 ) ?var3 ( STRAFTER ( STR ( ?var4 ) , STR ( <http://www.wikidata.org/entity/> ) ) AS ?var5 ) ?var6Label ( CONCAT ( \"\"\", ?var7 , \"\"\" ) AS ?var8 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var3 ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q213> ; <http://www.wikidata.org/prop/direct/P131> + ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5153359> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P669> [] . } BIND ( REPLACE ( ?var3 , \"^n\u00e1m\u011bst\u00ed\", \"N\u00e1m\u011bst\u00ed\" ) AS ?var9 ). OPTIONAL { BIND ( REPLACE ( STR ( ?var9 ) , \"string1\", \"\" ) AS ?var6Label ). BIND ( REPLACE ( STR ( ?var9 ) , \"string2\", \"$1\" ) AS ?var7 ). FILTER ( ( REGEX ( ?var9 , \"string3\" ) ) ) . } } ORDER BY ASC( ?var6Label )ASC( ?var7 )"}}
{"id": "test_3159", "question": "What is the name, date of birth, and date of death of Empress Zhang?", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { BIND( wd:Q8253978 AS ?person ) . ?person wdt:P31 wd:Q5 . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["Empress Zhang's English name, birth date, and death date.", "Please provide the English label, birth date, and death date for Empress Zhang."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q8253978> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3160", "question": "People featured in Plutarch\u2019s Parallel Lives, their birth dates, birth places, and geographic coordinates, sorted from oldest to youngest.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?birthDate ?birthPlace ?coordinates WHERE {\n  ?person wdt:P1343 wd:Q842337 .\n  ?person wdt:P569 ?birthDate .\n  ?person wdt:P19 ?birthPlace .\n  ?birthPlace wdt:P625 ?coordinates .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}\nORDER BY DESC ( ?birthDate )", "paraphrases": ["Who are the historical figures described in Plutarch\u2019s Parallel Lives, and when, where, and at what coordinates were they born?", "List the English names, birth dates, birth locations, and geographic coordinates of all individuals profiled in Plutarch\u2019s Parallel Lives, ordered by birth date from earliest to latest."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 ?var6 <http://www.wikidata.org/entity/Q842337> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P625> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var3 )"}}
{"id": "test_3161", "question": "Who is the actor named Ravi Teja?", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P106 wd:Q33999 . ?person rdfs:label \"Ravi Teja\"@en . }", "paraphrases": ["Which person has the occupation of actor and the name Ravi Teja?", "What is the Wikidata entity for the Telugu actor Ravi Teja?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . ?var1 <http://www.wikidata.org/prop/direct/P1448> <http://www.wikidata.org/entity/Q7296669> . }"}}
{"id": "test_3162", "question": "Defunct streets in the Czech Republic with official Czech street IDs.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var1 ?var1Label WHERE {\n  ?var1 wdt:P4533 [] .\n  ?var1 wdt:P31 wd:Q15893266 .\n  ?var1 rdfs:label ?var1Label .\n}", "paraphrases": ["Which streets in the Czech Republic have been decommissioned but still have official registry identifiers?", "List all former streets in the Czech Republic that were assigned a Czech street ID."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4533> [] . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q15893266> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q79007> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs,cs\". } }"}}
{"id": "test_3163", "question": "Children and spouses of Vladimir Putin and their spouses", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel ?spouse WHERE {\n  BIND(wd:Q7747 AS ?putin)\n  {\n    ?person wdt:P22 ?putin\n  } UNION {\n    ?person wdt:P26 ?putin\n  }\n  OPTIONAL {\n    ?person wdt:P26 ?spouse .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Who are the children and spouses of Vladimir Putin, and who are they married to?", "List all children and spouses of Vladimir Putin along with their current spouses, if any."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { BIND ( <http://www.wikidata.org/entity/Q7747> AS ?var3 ). { ?var1 <http://www.wikidata.org/prop/direct/P22> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } { OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P22> ?var2 . } } UNION { OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P26> ?var2 . } } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . } } UNION { ?var1 <http://www.wikidata.org/prop/direct/P26> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P26> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } } } LIMIT 100"}}
{"id": "test_3164", "question": "Top occupations and their direct superclasses by number of people", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?occupation ?occupationLabel ?directSuperclass ( COUNT( DISTINCT ?person ) AS ?occupationCount ) WHERE {\n  ?person wdt:P106 ?occupation .\n  ?occupation wdt:P31 wd:Q12737077 .\n  ?occupation rdfs:label ?occupationLabel .\n  FILTER ( LANG( ?occupationLabel ) = \"en\" ) ?occupation wdt:P279 ?directSuperclass .\n}\nGROUP BY ?occupation ?occupationLabel ?directSuperclass\nORDER BY DESC ( ?occupationCount )\nLIMIT 10", "paraphrases": ["What are the most common professions in Wikidata, what are their immediate categories, and how many people have them?", "Show me the top 10 occupations, their direct superclass, and how many people have each occupation."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( DISTINCT ?var4 ) AS ?var3 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q42213> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Reverse\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var5 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> \"6\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P106> ?var1 . } } GROUP BY ?var1 } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3165", "question": "Most common street names in the Czech Republic not named after people", "sparql": "SELECT ?streetLabel ( COUNT(?streetLabel) AS ?count ) WHERE { ?street wdt:P31 wd:Q79007 . ?street wdt:P17 wd:Q213 . MINUS { ?street wdt:P138 ?namesake . } ?street rdfs:label ?streetLabel . FILTER(LANG(?streetLabel) = \"en\") } GROUP BY ?streetLabel ORDER BY DESC(?count)", "paraphrases": ["What are the most frequently occurring street names in the Czech Republic that are not named after a person or entity?", "List the street names in the Czech Republic that are not named after anyone, sorted by how often they appear."], "info": {"raw_sparql": "SELECT ?var1Label ( COUNT ( ?var1Label ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q79007> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q213> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P138> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs,en\". } } GROUP BY ?var1Label ORDER BY DESC( ?var2 )"}}
{"id": "test_3166", "question": "Which savings banks in the Czech Republic have a Czech cultural heritage ID?", "sparql": "SELECT ?savingsBank WHERE { ?savingsBank wdt:P762 [] . ?savingsBank wdt:P31 wd:Q157963 . }", "paraphrases": ["What are the savings banks that are listed in the Czech cultural heritage register?", "List all savings banks that have been assigned a Czech cultural heritage identifier."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P762> [] . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q157963> . }"}}
{"id": "test_3167", "question": "Properties related to place name sign via see also, with English labels and descriptions.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?relatedProperty ?label ?description WHERE {\n  ?relatedProperty wdt:P1659 wd:P1766 .\n  ?relatedProperty rdfs:label ?label .\n  ?relatedProperty schema:description ?description .\n  FILTER(LANG(?label) = \"en\")\n  FILTER(LANG(?description) = \"en\")\n}", "paraphrases": ["What properties are related to the place name sign property (P1766) according to Wikidata, and what are their English labels and descriptions?", "List the English labels and descriptions of properties that are linked as related to the place name sign property (P1766) using the rdfs:seeAlso relationship."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P1766> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . }"}}
{"id": "test_3168", "question": "Female Arabs with known date of birth", "sparql": "SELECT ?personLabel ?person ?dateOfBirth WHERE { ?person wdt:P21 wd:Q6581072 . ?person wdt:P172 wd:Q35323 . OPTIONAL { ?person wdt:P569 ?dateOfBirth . } OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } }", "paraphrases": ["Who are the female individuals of Arab ethnicity, and when were they born?", "List female Arabs and their dates of birth, if available."], "info": {"raw_sparql": "SELECT ?var1Label ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P172> <http://www.wikidata.org/entity/Q35323> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_3169", "question": "German labels and alternative names of painters.", "sparql": "SELECT ?person ?label ?sitelinkCount ?altLabel WHERE { ?person wdt:P106 wd:Q1028181 . ?person rdfs:label ?label . OPTIONAL { ?person wikibase:sitelinks ?sitelinkCount . } OPTIONAL { ?person skos:altLabel ?altLabel . FILTER (LANG(?altLabel) = \"de\") } FILTER (LANG(?label) = \"de\") } ORDER BY ASC(?sitelinkCount)", "paraphrases": ["Who are the painters with German labels and alternative names, sorted by the number of Wikipedia links they have?", "List all painters whose names are labeled in German, along with their alternative German names, ordered by how many Wikipedia pages they have across languages."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1028181> . OPTIONAL { ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> ?var3 . } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . OPTIONAL { ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . } FILTER ( ( ( LANG ( ?var3 ) = \"de\" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"de\" ) ) ) . } ORDER BY ASC( ?var2 )"}}
{"id": "test_3170", "question": "List of human actors on Wikidata", "sparql": "SELECT ?actor ?actorLabel WHERE { ?actor wdt:P106 wd:Q33999 . ?actor wdt:P31 wd:Q5 . ?actor rdfs:label ?actorLabel . FILTER(LANG(?actorLabel) = \"en\") } LIMIT 5000 OFFSET 0", "paraphrases": ["Who are the human actors listed in Wikidata?", "Can you provide the English names of all people whose occupation is actor?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 5000 OFFSET 0"}}
{"id": "test_3171", "question": "What people or items are linked to cultural landscapes via properties like field of work or main subject, and are there any qualifiers on those links?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?sense ?statementNode ?property ( SAMPLE( ?qualifierProperty ) AS ?sampleQualifier ) WHERE {\n  {\n    SELECT DISTINCT ?sense ?statementNode ?property WHERE {\n      ?statementNode ?statementProperty wd:Q1129474 .\n      ?property wikibase:statementProperty ?statementProperty .\n      ?property wikibase:claim ?claimProperty .\n      ?sense ?claimProperty ?statementNode .\n      FILTER ( ?property != wd:P31 )\n    }\n    LIMIT 101\n  }\n  OPTIONAL {\n    ?statementNode ?qualifierProperty ?qualifierValue .\n    ?qualifierProperty wikibase:qualifier true .\n  }\n}\nGROUP BY ?sense ?statementNode ?property", "paraphrases": ["Which entities (such as people or works) have statements connecting them to cultural landscapes, and what properties are used in those statements?", "List the entities associated with cultural landscapes through non-instance-of properties, along with the properties used and any qualifiers applied to those associations."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q1129474> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_3172", "question": "Streets in Czech Republic without Commons categories, with coordinates, images, and postal codes", "sparql": "SELECT ?street ?streetLabel ?coord ?image ?postalCode WHERE {\n  ?street wdt:P31 wd:Q79007 .\n  ?street wdt:P17 wd:Q213 .\n  ?street wdt:P625 ?coord .\n  FILTER(geof:latitude(?coord) > 48.51 && geof:latitude(?coord) < 51.06 && geof:longitude(?coord) > 12.07 && geof:longitude(?coord) < 22.58)\n  MINUS { ?street wdt:P373 ?commonsCategory } .\n  OPTIONAL { ?street wdt:P18 ?image } .\n  OPTIONAL { ?street wdt:P969 ?postalCode } .\n  ?street rdfs:label ?streetLabel .\n  FILTER(LANG(?streetLabel) = \"en\")\n} LIMIT 3000", "paraphrases": ["What are the streets in the Czech Republic that don\u2019t have a Wikimedia Commons category, and what are their locations, images, and postal codes?", "List all streets in the Czech Republic that are not associated with a Wikimedia Commons category, along with their geographic coordinates, possible images, and postal codes."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(18 50)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(18 50)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q79007> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q213> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_3173", "question": "Streets in the Czech Republic starting with \"1.\"", "sparql": "SELECT ?street ?streetLabel WHERE { ?street wdt:P31 wd:Q79007 . ?street wdt:P17 wd:Q213 . ?street rdfs:label ?streetLabel . FILTER(STRSTARTS(STR(?streetLabel), \"1.\")) . FILTER(LANG(?streetLabel) = \"cs\") } ORDER BY ?streetLabel LIMIT 100", "paraphrases": ["What are the streets in the Czech Republic whose names begin with \"1.\"?", "List all streets in the Czech Republic that have names starting with \"1.\" in Czech."], "info": {"raw_sparql": "SELECT ?var1Label ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q79007> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q213> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P138> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } FILTER ( ( STRSTARTS ( ?var1Label , \"1\" ) ) ) . } ORDER BY ASC( ?var1Label ) LIMIT 100"}}
{"id": "test_3174", "question": "Czech monuments with catalogue numbers and coordinates", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?monument ?coord WHERE {\n  ?monument wdt:P4075 ?num .\n  ?monument wdt:P625 ?coord .\n}", "paraphrases": ["Which monuments in the Czech Republic have a Czech Monument Catalogue Number and geographic coordinates?", "List all Czech monuments that are assigned a Czech Monument Catalogue Number and have known geographic coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4075> [] . ?var1 ( <http://www.wikidata.org/prop/P625> / <http://www.w3.org/ns/prov#wasDerivedFrom> ) ?var3 . ?var3 <http://www.wikidata.org/prop/reference/P813> ?var2 . FILTER ( ( ( ?var2 = \"2018-01-07\" ) ) ) . }"}}
{"id": "test_3175", "question": "Image associated with SNAC ARK ID w6qc1cnk", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6qc1cnk\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the Wikimedia Commons image for the entity with SNAC ARK ID w6qc1cnk?", "Show me the picture of the person or entity identified by the SNAC ARK ID w6qc1cnk."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6qc1cnk\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3176", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt1079360?", "sparql": "SELECT ?movie ?wikipediaPage WHERE { ?movie wdt:P345 \"tt1079360\" . ?wikipediaPage schema:about ?movie . VALUES ?lang { \"en\" \"de\" } ?wikipediaPage schema:inLanguage ?lang . }", "paraphrases": ["Show me the Wikipedia articles in English and German about the film \"The Girl from the Naked Eye\".", "Which language versions of Wikipedia have articles about the movie identified by tt1079360?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1079360\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3177", "question": "What are the most common occupations of people in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?occupation ?occupationLabel(COUNT(*) AS ?count) WHERE {\n  ?human wdt:P31 wd:Q5 ; wdt:P106 ?occupation .\n  ?occupation rdfs:label ?occupationLabel .\n  FILTER(LANG(?occupationLabel) = \"en\")\n}\nGROUP BY ?occupation ?occupationLabel\nORDER BY DESC(?count)\nLIMIT 10", "paraphrases": ["Which occupations are held by the highest number of humans according to Wikidata?", "Can you list the top 10 most frequent professions of individuals in Wikidata, along with how many people have each?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { <http://www.wikidata.org/entity/Q5> <http://www.wikidata.org/prop/direct/P106> ?var1 . } LIMIT 4"}}
{"id": "test_3178", "question": "English and German Wikipedia and Wikiquote pages for the movie with IMDb ID tt0065462", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?article WHERE {\n  ?movie wdt:P345 \"tt0065462\" .\n  ?article schema:about ?movie .\n  {\n    ?article schema:inLanguage \"en\" .\n  } UNION {\n    ?article schema:inLanguage \"de\" .\n  }\n  FILTER(regex(str(?article) , \"wikipedia.org|wikiquote.org\"))\n}", "paraphrases": ["What are the English and German Wikipedia and Wikiquote pages for the movie \"Beneath the Planet of the Apes\"?", "Show me the English and German language articles about the movie \"Beneath the Planet of the Apes\" from Wikipedia and Wikiquote."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0065462\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3179", "question": "What are all the streets in the Czech Republic and their official Czech street IDs?", "sparql": "SELECT ?street ?czechStreetId WHERE { ?street wdt:P31 wd:Q79007 . ?street wdt:P17 wd:Q213 . ?street wdt:P4533 ?czechStreetId .}", "paraphrases": ["Can you list the streets in the Czech Republic along with their identifiers from the national registry?", "Which streets in the Czech Republic have official numeric identifiers assigned by the government?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q79007> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q213> . ?var1 <http://www.wikidata.org/prop/direct/P4533> ?var2 . }"}}
{"id": "test_3180", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt5632272?", "sparql": "SELECT ?movie ?wikipediaPage WHERE { ?movie wdt:P345 \"tt5632272\" . ?wikipediaPage schema:about ?movie . VALUES ?lang { \"en\" \"de\" } ?wikipediaPage schema:inLanguage ?lang .}", "paraphrases": ["Which Wikipedia pages in English or German are about the movie with IMDb ID tt5632272?", "Show me the Wikipedia page for the movie \"Unfallen\" (IMDb: tt5632272) in English or German."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5632272\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3181", "question": "Is Adriaen Frans II Boudewyns a painter?", "sparql": "ASK WHERE { wd:Q2825009 wdt:P106 wd:Q1028181 . }", "paraphrases": ["What is the occupation of Adriaen Frans II Boudewyns?", "Was Adriaen Frans II Boudewyns known for being a painter?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q2825009> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_3182", "question": "Actors by occupation in Wikidata", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?actor ?actorLabel WHERE {\n  ?actor wdt:P106 wd:Q33999 .\n  ?actor rdfs:label ?actorLabel .\n  FILTER ( LANG( ?actorLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Who are some people whose occupation is actor?", "List 100 actors with their English names from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . } LIMIT 50000 OFFSET 150000"}}
{"id": "test_3183", "question": "Number of children of Gustav I of Sweden who are parents", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT(COUNT(DISTINCT ?child) AS ?count) WHERE {\n  wd:Q52947 wdt:P40 ?child .\n  ?child wdt:P40 ?grandchild .\n}", "paraphrases": ["How many of Gustav I of Sweden\u2019s children have children of their own?", "How many of Gustav I of Sweden\u2019s children are also parents?"], "info": {"raw_sparql": "SELECT( \"has error\" AS ?var1 )( COUNT ( DISTINCT ?var2 ) AS ?var3 ) WHERE { BIND ( <http://www.wikidata.org/entity/Q52947> AS ?var4 ). ?var4 <http://www.wikidata.org/prop/direct/P40> + ?var2 . ?var5 <http://www.wikidata.org/prop/direct/P40> ?var2 . ?var5 <http://www.wikidata.org/prop/direct/P569> ?var6 . ?var2 <http://www.wikidata.org/prop/direct/P569> ?var7 . FILTER ( ( ( YEAR ( ?var6 ) > YEAR ( ?var7 ) ) ) ) . }"}}
{"id": "test_3184", "question": "Children of Princess Cecilia of Sweden", "sparql": "SELECT DISTINCT ?child WHERE { ?child p:P25 ?statement . ?statement ps:P25 wd:Q271940 . } LIMIT 101", "paraphrases": ["Who are the children of Princess Cecilia of Sweden?", "List the children of Princess Cecilia of Sweden."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/P25> ?var2 . ?var2 <http://www.wikidata.org/prop/statement/P25> <http://www.wikidata.org/entity/Q271940> . } LIMIT 101"}}
{"id": "test_3185", "question": "Top 100 Yemeni people with Arabic Wikipedia articles", "sparql": "SELECT ?personLabel (COUNT(?article) AS ?articleCount)\nWHERE {\n  ?person wdt:P31 wd:Q5 ;           # is a human\n          wdt:P27 wd:Q805 .         # citizen of Yemen\n  ?article schema:about ?person ;\n           schema:isPartOf <https://ar.wikipedia.org/> .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}\nGROUP BY ?personLabel\nORDER BY DESC(?articleCount)\nLIMIT 100", "paraphrases": ["Who are the Yemeni people that have articles on the Arabic Wikipedia, and how many articles does each have?", "List the 100 Yemeni individuals with the most Arabic Wikipedia articles, along with their English names and article counts."], "info": {"raw_sparql": "SELECT ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { BIND ( CONCAT ( \"Category:\", STR ( ?var4 ) ) AS ?var5 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q805> . ?var6 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://ar.wikipedia.org/> ; <http://schema.org/name> ?var7 . SERVICE <http://wikiba.se/ontology#mwapi> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#api> \"Generator\". <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#endpoint> \"string1\". <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#api#gcmtitle> ?var5 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#api#generator> \"string2\". <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#api#gcmprop> \"string3\". <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#api#gcmlimit> \"max\". ?var2 <http://wikiba.se/ontology#apiOutput> <http://wikiba.se/ontology#api#title> . ?var8 <http://wikiba.se/ontology#apiOutput> \"@ns\". ?var1 <http://wikiba.se/ontology#apiOutputItem> <http://wikiba.se/ontology#api#item> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ar\". } } GROUP BY ?var1Label ORDER BY DESC( ?var3 ) LIMIT 100"}}
{"id": "test_3186", "question": "What are some people who lived in Dresden, and what qualifiers are used on their residence statements?", "sparql": "SELECT ?person ?statement (SAMPLE(?qualifierProperty) AS ?qualifierExample)\nWHERE {\n  {\n    SELECT DISTINCT ?person ?statement WHERE {\n      ?statement ps:P551 wd:Q1731 .\n      ?person p:P551 ?statement .\n    }\n    LIMIT 101\n  }\n  OPTIONAL {\n    ?statement ?qualifierProperty ?value .\n  }\n}\nGROUP BY ?person ?statement", "paraphrases": ["Show me up to 101 individuals who resided in Dresden along with one example qualifier from their residence records.", "Which people have Dresden listed as their residence, and what additional details (like time or address) are associated with those residence entries?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P551> <http://www.wikidata.org/entity/Q1731> . ?var1 <http://www.wikidata.org/prop/P551> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_3187", "question": "English and German Wikipedia and Wikiquote pages about the movie with IMDb ID tt0162222.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?page WHERE {\n  ?movie wdt:P345 \"tt0162222\" .\n  ?page schema:about ?movie .\n  {\n    ?page schema:inLanguage \"en\" .\n  } UNION {\n    ?page schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["What English and German language Wikipedia and Wikiquote pages are about the movie Cast Away?", "Show me the English and German Wikipedia and Wikiquote articles for the movie Cast Away, identified by its IMDb ID tt0162222."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0162222\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3188", "question": "What are the English or German Wikipedia pages for the movie with IMDb ID tt0859164?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipedia_page WHERE {\n  ?movie wdt:P345 \"tt0859164\" .\n  ?wikipedia_page schema:about ?movie .\n  {\n    ?wikipedia_page schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipedia_page schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Which Wikipedia articles in English or German are about the movie '3000 Miles'?", "Show me the Wikipedia links in English or German for the movie identified by tt0859164 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0859164\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3189", "question": "Is Theo Ruiter a painter?", "sparql": "SELECT ?occupation ?isPainter WHERE { wd:Q4657922 wdt:P106 ?occupation . BIND(IF(?occupation = wd:Q1028181, 1, 0) AS ?isPainter) }", "paraphrases": ["What is Theo Ruiter's occupation, and is it that of a painter?", "Does Theo Ruiter have the occupation of a painter?"], "info": {"raw_sparql": "SELECT( \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var1 ) WHERE { <http://www.wikidata.org/entity/Q4657922> <http://www.wikidata.org/prop/direct/P106> ?var2 . FILTER ( ( EXISTS { <http://www.wikidata.org/entity/Q4657922> <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1028181> . } ) ) . }"}}
{"id": "test_3190", "question": "Czech monuments with catalogue numbers and when their coordinates were last retrieved.", "sparql": "SELECT ?monument ?retrievalDate WHERE { ?monument wdt:P4075 ?catalogueNumber . ?monument p:P625 ?statement . ?statement prov:wasDerivedFrom ?reference . ?reference pr:P813 ?retrievalDate . }", "paraphrases": ["For monuments in the Czech Republic that have a Czech Monument Catalogue Number, when was their coordinate data last sourced?", "Show me the list of Czech monuments assigned a Czech Monument Catalogue Number, along with the date each one\u2019s geographic coordinates were last updated on Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4075> [] . ?var1 ( <http://www.wikidata.org/prop/P625> / <http://www.w3.org/ns/prov#wasDerivedFrom> ) ?var3 . ?var3 <http://www.wikidata.org/prop/reference/P813> ?var2 . }"}}
{"id": "test_3191", "question": "List 10 actors (humans) from Wikidata.", "sparql": "SELECT ?actorLabel WHERE { ?actor wdt:P106 wd:Q33999 . ?actor wdt:P31 wd:Q5 . ?actor rdfs:label ?actorLabel . FILTER(LANG(?actorLabel) = \"en\") } LIMIT 10", "paraphrases": ["Who are some human actors according to Wikidata?", "Can you provide a list of 10 English-labeled human actors from Wikidata?"], "info": {"raw_sparql": "SELECT ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10 OFFSET 1"}}
{"id": "test_3192", "question": "What are the occupations of Pierre Cuypers?", "sparql": "SELECT ?occupation WHERE { wd:Q540431 wdt:P106 ?occupation .}", "paraphrases": ["What jobs did Pierre Cuypers have?", "Can you list the professions associated with the Dutch architect Pierre Cuypers?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q540431> <https://www.wikidata.org/wiki/Property:P106> ?var1 . }"}}
{"id": "test_3193", "question": "Relatives of Banuve Baleivavalagi including father, mother, spouse, siblings, and children.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?relative WHERE {\n  VALUES ?kinshipProperty {\n    wdt:P22 wdt:P25 wdt:P3448 wdt:P26 wdt:P3373 wdt:P1038 wdt:P451 wdt:P40\n  }\n  wd:Q4286469 ?kinshipProperty ?relative .\n}", "paraphrases": ["Who are the family members of Banuve Baleivavalagi, such as his parents, siblings, spouse, or children?", "List all direct relatives of Banuve Baleivavalagi according to Wikidata, including father, mother, spouse, sibling, stepparent, unmarried partner, child, and other relatives."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { VALUES ( ?var2 ) { ( <http://www.wikidata.org/prop/direct/P22> ) ( <http://www.wikidata.org/prop/direct/P25> ) ( <http://www.wikidata.org/prop/direct/P3448> ) ( <http://www.wikidata.org/prop/direct/P26> ) ( <http://www.wikidata.org/prop/direct/P3373> ) ( <http://www.wikidata.org/prop/direct/P1038> ) ( <http://www.wikidata.org/prop/direct/P451> ) ( <http://www.wikidata.org/prop/direct/P40> ) } VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q4286469> ) } { ?var3 ?var2 ?var1 . } UNION { ?var1 ?var2 ?var3 . } UNION { ?var3 ?var2 ?var4 . ?var4 ?var2 ?var1 . } UNION { ?var3 ?var2 ?var4 . ?var1 ?var2 ?var4 . } }"}}
{"id": "test_3194", "question": "What is the Wikidata property used to indicate a person\u2019s occupation, and what is its description?", "sparql": "SELECT ?propLabel ?propDescription WHERE { wd:P106 rdfs:label ?propLabel . wd:P106 schema:description ?propDescription . FILTER (LANG(?propLabel) = \"en\") FILTER (LANG(?propDescription) = \"en\") }", "paraphrases": ["What does the occupation property in Wikidata mean, and how is it labeled in English?", "Can you show me the English label and description of the property that assigns occupations like chemist to people?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/chemist> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_3195", "question": "Czech cultural monuments without catalogue numbers and not classified as movable", "sparql": "SELECT ?monument WHERE { ?monument wdt:P1435 wd:Q385405 . MINUS { ?monument wdt:P1435 wd:Q30150961 . } MINUS { ?monument wdt:P4075 [] . } MINUS { ?monument p:P1435 / pq:P582 [] . } }", "paraphrases": ["Which cultural monuments in the Czech Republic are protected by law, are not movable, and do not have a Czech Monument Catalogue Number?", "List all fixed cultural heritage sites in the Czech Republic that are still officially protected and not registered in the National Heritage Institute\u2019s catalogue."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1435> <http://www.wikidata.org/entity/Q385405> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P1435> <http://www.wikidata.org/entity/Q30150961> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P4075> [] . } MINUS { ?var1 ( <http://www.wikidata.org/prop/1435> / <http://www.wikidata.org/prop/qualifier/P582> ) [] . } }"}}
{"id": "test_3196", "question": "Wikidata item for Marc Hilmi", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?item WHERE {\n  ?item rdfs:label \"Marc Hilmi\" @en .\n}", "paraphrases": ["Who is the person named Marc Hilmi in Wikidata?", "Find the Wikidata entry for Marc Hilmi."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1559> \"Marc Hilmi\"@fr . }"}}
{"id": "test_3197", "question": "Who are the painters listed in Wikidata?", "sparql": "SELECT ?painter ?painterLabel WHERE { ?painter wdt:P31 wd:Q1028181 . ?painter rdfs:label ?painterLabel . FILTER(LANG(?painterLabel) = \"en\") }", "paraphrases": ["List of people who are painters according to Wikidata", "Show me the English labels of all individuals classified as painters in Wikidata"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1028181> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,en\". } }"}}
{"id": "test_3198", "question": "Artists of paintings with an occupation but no English label", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?artist WHERE {\n  ?painting wdt:P31 wd:Q3305213 .\n  ?painting wdt:P170 ?artist .\n  ?artist wdt:P106 ?occupation .\n  FILTER NOT EXISTS {\n    ?artist rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n}\nLIMIT 1000", "paraphrases": ["Which artists created paintings and have an occupation but are not labeled in English on Wikidata?", "List the Wikidata IDs of painters who have an occupation but lack an English-language label."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . ?var2 <http://www.wikidata.org/prop/direct/P170> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P106> [] . FILTER ( ( NOT EXISTS { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,de,fr,nl\". } } LIMIT 1000"}}
{"id": "test_3199", "question": "Living German citizens with Wikipedia pages and Wikimedia Commons images.", "sparql": "SELECT ?var1 ?label ?var2 ?var4 WHERE { ?var1 wdt:P31 wd:Q5 . ?var1 wdt:P27 wd:Q183 . ?var4 schema:about ?var1 . ?var4 schema:isPartOf <https://en.wikipedia.org/> . ?var1 wdt:P18 ?var2 . ?var1 rdfs:label ?label . FILTER (NOT EXISTS { ?var1 wdt:P570 [] }) FILTER(LANG(?label) = \"en\") }", "paraphrases": ["Who are the living German citizens who have both a Wikipedia article and a photo on Wikimedia Commons?", "List the names, Wikipedia links, and image URLs of all living German citizens who have a profile on Wikipedia and a photo on Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q183> . ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var5 . } ) ) . } GROUP BY ?var1Label ?var2Label ?var1 ?var3 ?var4"}}
{"id": "test_3200", "question": "Austrian journalists who are still alive and their birth dates", "sparql": "SELECT ?person ?birthDate WHERE { ?person wdt:P27 wd:Q40 . ?person wdt:P106 wd:Q1930187 . ?person wdt:P569 ?birthDate . OPTIONAL { ?person wdt:P570 ?deathDate . } FILTER ( !BOUND(?deathDate) ) } LIMIT 100", "paraphrases": ["Who are the living Austrian journalists and when were they born?", "List the names and birth dates of Austrian journalists who have not passed away."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q40> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1930187> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . } FILTER ( ( !( BOUND ( ?var3 ) ) ) ) . } LIMIT 100"}}
{"id": "test_3201", "question": "Cities in South America with their coordinates, countries, and administrative regions.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?coordinates ?population ?country ?administrative_entity WHERE {\n  ?city ( wdt:P31 / wdt:P279 * ) wd:Q515 .\n  ?city wdt:P625 ?coordinates .\n  OPTIONAL {\n    ?city wdt:P4179 ?population .\n  }\n  OPTIONAL {\n    ?city wdt:P17 ?country .\n  }\n  OPTIONAL {\n    ?city wdt:P131 ?administrative_entity .\n  }\n}\nLIMIT 1000", "paraphrases": ["What are the coordinates, countries, and administrative divisions of cities in the Tierra del Fuego region and surrounding areas?", "List up to 1000 cities with their geographic coordinates, the countries they are in, and their administrative territorial entities."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var3Label ?var4 ?var4Label WHERE { ?var5 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var5 <http://www.wikidata.org/prop/direct/P625> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P4179> ?var2 . } OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P17> ?var3 . } OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P131> ?var4 . } } ORDER BY DESC( ?var6 ) LIMIT 1000"}}
{"id": "test_3202", "question": "Indian visual artists with English labels and alternative names", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nSELECT DISTINCT ?person ?personLabel ?sitelinkCount ?altLabel WHERE {\n  ?person wdt:P106 / wdt:P279 * wd:Q3391743 .\n  OPTIONAL {\n    ?person skos:altLabel ?altLabel .\n    FILTER ( LANG( ?altLabel ) = \"en\" )\n  }\n  {\n    ?person wdt:P27 wd:Q668\n  } UNION {\n    ?person wdt:P27 wd:Q129286\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) OPTIONAL {\n    ?person wikibase:sitelinks ?sitelinkCount\n  }\n}", "paraphrases": ["Who are the visual artists from India or British India, and what are their English names and alternative labels?", "List all visual artists from India or the British Raj, including their English labels, sitelink counts, and any English alternative names."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q2526255> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q2490358> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33231> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q266569> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q42973> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q222344> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q245068> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q5716684> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q5322166> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q644687> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q755070> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1028181> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q16010345> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1281618> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q3391743> . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q639669> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q483501> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q36834> . } OPTIONAL { ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } { ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q668> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q129286> . } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . OPTIONAL { ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . } FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . }"}}
{"id": "test_3203", "question": "List of human actors with English labels", "sparql": "SELECT ?actor ?actorLabel WHERE { ?actor wdt:P31 wd:Q5 ; wdt:P106 wd:Q33999 . ?actor rdfs:label ?actorLabel . FILTER(LANG(?actorLabel) = \"en\") } LIMIT 88", "paraphrases": ["Who are the human actors with English-language names on Wikidata?", "Show me the names of all human actors in English from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 88"}}
{"id": "test_3204", "question": "Is Julie Seitter a type of software?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  wd:Q6308514 wdt:P31 / wdt:P279 * wd:Q7397\n}", "paraphrases": ["Does Julie Seitter belong to a class that is a subclass of software?", "Check whether Julie Seitter is classified as software or any of its broader categories."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q6308514> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_3205", "question": "What are the subproperties of the property \"place\" in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?var1Label WHERE {\n  ?var1 wdt:P1647 wd:P276 .\n  ?var1 rdfs:label ?var1Label .\n  FILTER(LANG(?var1Label) = \"en\")\n}", "paraphrases": ["Subproperties of location property in Wikidata", "List all properties that are subproperties of \"place\" (P276) in English."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1647> * <http://www.wikidata.org/entity/P276> . ?var1 <http://wikiba.se/ontology#directClaim> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3206", "question": "People with occupations that are subclasses of painter", "sparql": "SELECT ?person ?occupationLabel WHERE { ?person wdt:P106 ?occupation . ?occupation wdt:P279* wd:Q1028181 . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = \"en\") }", "paraphrases": ["Who are the people whose occupations are types of painting?", "List all individuals who work as painters or in painting-related professions, along with their specific occupation titles."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1028181> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3207", "question": "Actors named Marion Cotillard in English, French, or Spanish", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nSELECT DISTINCT ?person WHERE {\n  ?person wdt:P31 wd:Q5 .\n  {\n    ?person rdfs:label \"Marion Cotillard\" @en .\n  } UNION {\n    ?person skos:altLabel \"Marion Cotillard\" @en .\n  } UNION {\n    ?person rdfs:label \"Marion Cotillard\" @fr .\n  } UNION {\n    ?person skos:altLabel \"Marion Cotillard\" @fr .\n  } UNION {\n    ?person rdfs:label \"Marion Cotillard\" @es .\n  } UNION {\n    ?person skos:altLabel \"Marion Cotillard\" @es .\n  }\n  ?person wdt:P106 ?occ .\n  ?occ ( wdt:P279 * ) wd:Q33999 .\n}", "paraphrases": ["Who is a human actor named Marion Cotillard in English, French, or Spanish?", "List all human actors whose name is Marion Cotillard in English, French, or Spanish."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"string1\"@en . } UNION { ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> \"string1\"@en . } UNION { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"string1\"@fr . } UNION { ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> \"string1\"@fr . } UNION { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"string1\"@es . } UNION { ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> \"string1\"@es . } ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q33999> . }"}}
{"id": "test_3208", "question": "What are the subclasses of the Wikidata property used to indicate a location?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subclass ?subclassLabel WHERE {\n  ?subclass wdt:P279 wd:Q18615777 .\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER(LANG(?subclassLabel) = \"en\")\n}", "paraphrases": ["Which Wikidata properties are more specific types of location-indicating properties?", "Can you list the direct subclasses of the property that specifies a location in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q18615777> . } LIMIT 11 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3209", "question": "Humans who are painters and their occupation label.", "sparql": "SELECT ?human ?occupationLabel WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P106 ?occupation . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = \"en\") FILTER(?occupation = wd:Q1028181) } LIMIT 150000", "paraphrases": ["Who are the humans that have the occupation of painter, and what is the label of that occupation?", "List all human painters along with the English label of their occupation."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1028181> . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 150000"}}
{"id": "test_3210", "question": "What is the English Wikipedia page for the movie with IMDb ID tt5197742?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?itemLabel ?wikipediaUrl WHERE {\n  ?item wdt:P345 \"tt5197742\" .\n  ?wikipediaUrl schema:about ?item ; schema:inLanguage ?lang .\n  ?item rdfs:label ?itemLabel .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n  FILTER(LANG(?itemLabel) = ?lang)\n}", "paraphrases": ["Can you find the title and English Wikipedia link for the film identified by IMDb ID tt5197742?", "Show me the name of the movie with IMDb ID tt5197742 and its corresponding English or German Wikipedia page."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5197742\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3211", "question": "John Bardeen\u2019s spouse and marriage start date", "sparql": "SELECT DISTINCT ?spouse ?startDate ?endDate WHERE { wd:Q949 p:P26 ?statement . ?statement ps:P26 ?spouse ; pq:P580 ?startDate . OPTIONAL { ?statement pq:P582 ?endDate . } } LIMIT 10", "paraphrases": ["Who was John Bardeen married to, and when did the marriage begin?", "List John Bardeen\u2019s spouses along with the start and end dates of their marriages."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/qualifier/P580> ?var3 . } ?var2 <http://www.wikidata.org/prop/P26> ?var1 . ?var1 <http://www.wikidata.org/prop/statement/P26> <http://www.wikidata.org/entity/Q949> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/qualifier/P582> [] . } } LIMIT 10"}}
{"id": "test_3212", "question": "Who is the son of Wen Jiabao?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?child ?childLabel WHERE {\n  ?child wdt:P22 wd:Q16628 .\n  ?child wdt:P21 wd:Q6581097 .\n  ?child rdfs:label ?childLabel .\n  FILTER(LANG(?childLabel) = \"en\")\n}", "paraphrases": ["Male children of Wen Jiabao", "List the sons of Wen Jiabao."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P22> <http://www.wikidata.org/entity/Q16628> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"zh,en\". } ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q8441> . }"}}
{"id": "test_3213", "question": "English or German Wikipedia page for the movie with IMDb ID tt0477095", "sparql": "SELECT ?item ?wikipedia_page WHERE {\n  ?item wdt:P345 \"tt0477095\" .\n  ?wikipedia_page schema:about ?item .\n  {\n    ?wikipedia_page schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipedia_page schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["What are the English or German Wikipedia pages for the film identified by IMDb ID tt0477095?", "Show me the Wikipedia articles in English or German about the movie with IMDb ID tt0477095."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0477095\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3214", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0073461?", "sparql": "SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 \"tt0073461\" . ?wikipedia_page schema:about ?movie . { ?wikipedia_page schema:inLanguage \"en\" . } UNION { ?wikipedia_page schema:inLanguage \"de\" . } }", "paraphrases": ["Show me the Wikipedia articles in English and German about the film Night of the Seagulls.", "Which language versions of Wikipedia have articles about the movie identified by tt0073461?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0073461\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3215", "question": "Humans with 'd' in their name, their descriptions, and images.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?human ?label ?image ?description WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human rdfs:label ?label .\n  ?human schema:description ?description .\n  FILTER ( LANG( ?label ) = \"en\" ) .\n  FILTER ( LANG( ?description ) = \"en\" ) .\n  FILTER ( CONTAINS( LCASE( STR( ?label ) ) , \"d\" ) ) .\n  OPTIONAL {\n    ?human wdt:P18 ?image .\n  }\n}\nLIMIT 10", "paraphrases": ["Who are some humans whose English names contain the letter 'd', and what are their descriptions and images?", "List up to 10 English-named humans whose names include the letter 'd', along with their professional descriptions and any available images."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var4 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . FILTER ( ( CONTAINS ( LCASE ( STR ( ?var2Label ) ) , \"d\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 10"}}
{"id": "test_3216", "question": "What are the ancestors and descendants of Mieszko I within three generations?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel WHERE {\n  VALUES ?start {\n    wd:Q53435\n  }\n  {\n    ?start wdt:P40 ?person .\n  } UNION {\n    ?start wdt:P40 ?gen1 .\n    ?gen1 wdt:P40 ?person .\n  } UNION {\n    ?start wdt:P40 ?gen1 .\n    ?gen1 wdt:P40 ?gen2 .\n    ?gen2 wdt:P40 ?person .\n  } UNION {\n    ?person wdt:P40 ?start .\n  } UNION {\n    ?person wdt:P40 ?gen1 .\n    ?gen1 wdt:P40 ?start .\n  } UNION {\n    ?person wdt:P40 ?gen1 .\n    ?gen1 wdt:P40 ?gen2 .\n    ?gen2 wdt:P40 ?start .\n  }\n  OPTIONAL {\n    ?person rdfs:label ?personLabel .\n    FILTER ( LANG( ?personLabel ) = \"en\" )\n  }\n}", "paraphrases": ["Show me the names of Mieszko I\u2019s relatives up to three generations away, including parents, children, grandparents, and grandchildren.", "Who are Mieszko I\u2019s family members in his lineage, spanning three generations forward and backward?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q53435> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P40> . } } UNION { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q53435> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Reverse\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P40> . } } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P40> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl\". } }"}}
{"id": "test_3217", "question": "Official website of Syrian Air and its English and German Wikipedia pages", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity ?entityLabel ?wikipediaPage WHERE {\n  ?entity wdt:P856 <http://www.syriaair.com> .\n  OPTIONAL {\n    ?entity rdfs:label ?entityLabel .\n    FILTER ( LANG( ?entityLabel ) = \"en\" )\n  }\n  ?wikipediaPage schema:about ?entity .\n  FILTER ( REGEX( STR( ?wikipediaPage ) , \"^https://en\\\\.wikipedia\\\\.org/\" ) || REGEX( STR( ?wikipediaPage ) , \"^https://de\\\\.wikipedia\\\\.org/\" ) )\n}", "paraphrases": ["What are the English and German Wikipedia articles about the airline with the official website syriaair.com?", "Show me the airline that uses www.syriaair.com as its official website, along with its English and German Wikipedia pages."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.syriaair.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.syriaair.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.syriaair.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.syriaair.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.syriaair.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.syriaair.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.syriaair.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://syriaair.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://syriaair.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://syriaair.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://syriaair.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3218", "question": "Who is Giulio Natta according to Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item WHERE {\n  ?item rdfs:label \"Giulio Natta\" @en .\n  ?item wdt:P31 wd:Q5 .\n}", "paraphrases": ["What is the Wikidata identifier for the human named Giulio Natta?", "Is there a human in Wikidata with the name Giulio Natta?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Eric Natta\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3219", "question": "Swedish-labeled and described occupations in Wikidata", "sparql": "SELECT ?occupation ?label ?description WHERE { ?person wdt:P106 ?occupation . ?occupation rdfs:label ?label . ?occupation schema:description ?description . FILTER(LANG(?label) = \"sv\") . FILTER(LANG(?description) = \"sv\") } LIMIT 100", "paraphrases": ["Which occupations have Swedish labels and descriptions in Wikidata?", "Show me occupations used by people in Wikidata that have Swedish labels and descriptions."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P106> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"sv\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"sv\" ) ) ) . } LIMIT 100"}}
{"id": "test_3220", "question": "What is the official website of BusinessWorld, and which Wikimedia pages are about it?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?itemLabel ?relatedItem WHERE {\n  ?item wdt:P856 <http://www.bworldonline.com/> .\n  ?relatedItem schema:about ?item .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["Which Wikipedia and Commons pages link to the official website www.bworldonline.com?", "Can you show me the English label of the entity with the official website http://www.bworldonline.com/ and all the items that are about it?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.bworldonline.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.bworldonline.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.bworldonline.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.bworldonline.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.bworldonline.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.bworldonline.com> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3221", "question": "List humans and their occupations, showing 'unknown' if no occupation is specified.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?human ?humanLabel ?finalOccupationLabel WHERE {\n  ?human wdt:P31 wd:Q5 .\n  OPTIONAL {\n    ?human wdt:P106 ?occupation .\n    ?occupation rdfs:label ?occupationLabel .\n    FILTER ( LANG( ?occupationLabel ) = \"en\" )\n  }\n  BIND( IF( BOUND( ?occupation ) , ?occupationLabel , \"unknown\" ) AS ?finalOccupationLabel ) ?human rdfs:label ?humanLabel .\n  FILTER ( LANG( ?humanLabel ) = \"en\" )\n}\nLIMIT 10", "paraphrases": ["Which humans have occupations listed in Wikidata, and what are those occupations? If an occupation is missing, show 'unknown'.", "Please provide a list of all humans with their English-language occupations; if an occupation is not available, use the label 'unknown'."], "info": {"raw_sparql": "SELECT * WHERE { OPTIONAL { BIND ( \"a\" AS ?var1 ). } OPTIONAL { BIND ( \"a\" AS ?var1 ). FILTER ( ( !( BOUND ( ?var1 ) ) ) ) . } }"}}
{"id": "test_3222", "question": "What is the occupation of Armand Baag?", "sparql": "SELECT ?occupation WHERE { wd:Q42429118 wdt:P106 ?occupation . }", "paraphrases": ["What job did the Dutch painter Armand Baag have?", "What does Armand Baag do for a living?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q42429118> <https://www.wikidata.org/wiki/Property:P106> ?var1 . }"}}
{"id": "test_3223", "question": "People with given name Rufin, their native names, and countries of citizenship.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel ?nativeName ?countryLabel WHERE {\n  ?person wdt:P735 wd:Q13424770 .\n  OPTIONAL {\n    ?person wdt:P1559 ?nativeName .\n  }\n  OPTIONAL {\n    ?person wdt:P27 ?country .\n    ?country rdfs:label ?countryLabel .\n    FILTER ( LANG( ?countryLabel ) = \"en\" )\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}", "paraphrases": ["Who are the people named Rufin, what are their native names, and which countries are they citizens of?", "List all individuals with the given name Rufin, including their English names, native names (if available), and their countries of citizenship in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P735> <http://www.wikidata.org/entity/Q13424770> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1559> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en, uk, fr\". } }"}}
{"id": "test_3224", "question": "What are the English and German Wikipedia pages for the film with IMDb ID tt0150918?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?wikipedia_page WHERE {\n  ?item wdt:P345 \"tt0150918\" .\n  ?wikipedia_page schema:about ?item .\n  {\n    ?wikipedia_page schema:inLanguage \"en\"\n  } UNION {\n    ?wikipedia_page schema:inLanguage \"de\"\n  }\n}", "paraphrases": ["Show me the Wikipedia articles in English and German about the movie Hinterholz 8.", "Which Wikipedia pages in English and German are linked to the film identified by IMDb tt0150918?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0150918\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3225", "question": "Is Johannes Starke classified as software or a subclass of software?", "sparql": "ASK WHERE { wd:Q11699863 ( wdt:P31 / wdt:P279 * ) wd:Q7397 . }", "paraphrases": ["Does Johannes Starke belong to any category that is a subclass of software?", "Confirm whether Johannes Starke\u2019s type hierarchy includes software as an ancestor."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q11699863> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_3226", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt0428441?", "sparql": "SELECT ?item ?wikipediaPage WHERE { ?item wdt:P345 \"tt0428441\" . ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Which Wikipedia pages in English or German are about the movie \"The Cutting Edge: The Magic of Movie Editing\"?", "Show me the Wikipedia links in English or German for the film identified by IMDb ID tt0428441."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0428441\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3227", "question": "What are the birth and death dates of Hans Krebs, and what are the labels of the properties used for these dates?", "sparql": "SELECT DISTINCT ?date ?propertyLabel ?image WHERE { wd:Q57191 ?directClaim ?date . ?property wikibase:directClaim ?directClaim . FILTER( ?property IN (wd:P569, wd:P570) ) FILTER( DATATYPE(?date) = xsd:dateTime ) ?property rdfs:label ?propertyLabel . FILTER( LANG(?propertyLabel) = \"en\" ) OPTIONAL { wd:Q57191 wdt:P18 ?image . } }", "paraphrases": ["Can you show me Hans Krebs\u2019 birth and death dates along with the English labels of the corresponding Wikidata properties, and include his image if available?", "Show the dates of birth and death for the biochemist Hans Krebs, along with the property names in English and his portrait from Wikimedia Commons."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2Label ?var3Label ?var4 WHERE { { <http://www.wikidata.org/entity/Q57191> ?var5 ?var1 . FILTER ( ( ( DATATYPE ( ?var1 ) = <http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . ?var3 <http://wikiba.se/ontology#directClaim> ?var5 . } UNION { BIND ( IRI ( CONCAT ( CONCAT ( SUBSTR ( STR ( ?var6 ) ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"29\"^^<http://www.w3.org/2001/XMLSchema#integer> ) , \"direct/\" ) , SUBSTR ( STR ( ?var6 ) ,\"40\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) AS ?var7 ). <http://www.wikidata.org/entity/Q57191> ?var8 ?var9 . FILTER ( ( REGEX ( STR ( ?var8 ) , \"prop/P\" ) ) ) . ?var9 ?var10 ?var1 . FILTER ( ( REGEX ( STR ( ?var10 ) , \"string1\" ) ) ) . FILTER ( ( ( DATATYPE ( ?var1 ) = <http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . ?var9 ?var6 ?var3 . FILTER ( ( REGEX ( STR ( ?var6 ) , \"string2\" ) ) ) . ?var2 <http://wikiba.se/ontology#directClaim> ?var7 . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var4 . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru\". } }"}}
{"id": "test_3228", "question": "What are the descendants of Simon of Cyrene up to four generations, and do any of them have children?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?descendant ?descendantLabel ?child WHERE {\n  VALUES ?start {\n    wd:Q328739\n  }\n  {\n    ?start wdt:P40 ?descendant\n  } UNION {\n    ?start wdt:P40 ?gen1 .\n    ?gen1 wdt:P40 ?descendant\n  } UNION {\n    ?start wdt:P40 ?gen1 .\n    ?gen1 wdt:P40 ?gen2 .\n    ?gen2 wdt:P40 ?descendant\n  } UNION {\n    ?start wdt:P40 ?gen1 .\n    ?gen1 wdt:P40 ?gen2 .\n    ?gen2 wdt:P40 ?gen3 .\n    ?gen3 wdt:P40 ?descendant\n  }\n  ?descendant rdfs:label ?descendantLabel .\n  FILTER ( LANG( ?descendantLabel ) = \"en\" ) OPTIONAL {\n    ?descendant wdt:P40 ?child\n  }\n}", "paraphrases": ["List the children, grandchildren, great-grandchildren, and great-great-grandchildren of Simon of Cyrene in English, along with any of their own children.", "Who are the direct descendants of Simon of Cyrene within four generations, and are any of them parents themselves?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2287331> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P40> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P40> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3229", "question": "Rabbis with birthplace coordinates and their places of birth and death", "sparql": "SELECT ?rabbi ?rabbiLabel ?birthPlaceLabel ?deathPlaceLabel ?coordinates WHERE { ?rabbi wdt:P31 wd:Q5 ; wdt:P106 wd:Q133485 ; wdt:P19 ?birthPlace ; wdt:P20 ?deathPlace . ?birthPlace wdt:P625 ?coordinates . ?rabbi rdfs:label ?rabbiLabel . ?birthPlace rdfs:label ?birthPlaceLabel . ?deathPlace rdfs:label ?deathPlaceLabel . FILTER(LANG(?rabbiLabel) = \"en\") FILTER(LANG(?birthPlaceLabel) = \"en\") FILTER(LANG(?deathPlaceLabel) = \"en\") }", "paraphrases": ["What are the names, birthplaces, death places, and birthplace coordinates of rabbis?", "List all rabbis along with their birthplace and death place labels, and the geographic coordinates of their birthplaces, in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q133485> . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P20> ?var3 . ?var2 <http://www.wikidata.org/prop/direct/P625> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"he,en\". } }"}}
{"id": "test_3230", "question": "Items with official websites containing \"internet\" or \"kongress\" and labels in English or German", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel ?url WHERE {\n  ?item wdt:P856 ?url .\n  FILTER(CONTAINS(STR(?url) , \"internet\") || CONTAINS(STR(?url) , \"kongress\") || CONTAINS(STR(?url) , \"congress\"))\n  .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANGMATCHES(LANG(?itemLabel) , \"en\") || LANGMATCHES(LANG(?itemLabel) , \"de\"))\n}", "paraphrases": ["What organizations or events have official websites related to the internet or congress, and are described in English or German?", "Show me entities with official websites mentioning \"internet\" or \"congress/kongress\", along with their English or German labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.internetworld-kongress.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.internetworld-kongress.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.internetworld-kongress.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.internetworld-kongress.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.internetworld-kongress.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.internetworld-kongress.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.internetworld-kongress.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://internetworld-kongress.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://internetworld-kongress.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://internetworld-kongress.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://internetworld-kongress.de/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3231", "question": "Who is Sid Labdi, a human?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person WHERE {\n  ?person rdfs:label \"Sid Labdi\" @en .\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["What is the Wikidata item for the person named Sid Labdi?", "Find the human entity in Wikidata with the English label 'Sid Labdi'."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Sid Labdi\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3232", "question": "What are the English, German, and Italian Wikipedia articles about the movie with IMDb ID tt0079523?", "sparql": "SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 \"tt0079523\" . ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang . VALUES ?lang { \"en\" \"de\" \"it\" } }", "paraphrases": ["Show me the Wikipedia pages in English, German, and Italian for the film identified as tt0079523 on IMDb.", "Which language versions of Wikipedia have articles about the movie \u201cVelvet Hands\u201d (IMDb: tt0079523)?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0079523\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"it\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3233", "question": "U.S. citizens born in Boston with English labels", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?birthPlaceLabel WHERE {\n  ?person wdt:P27 wd:Q30 .\n  ?person wdt:P19 ?birthPlace .\n  OPTIONAL {\n    ?person rdfs:label ?personLabel .\n    FILTER ( LANG( ?personLabel ) = \"en\" ) .\n  }\n  OPTIONAL {\n    ?birthPlace rdfs:label ?birthPlaceLabel .\n    FILTER ( LANG( ?birthPlaceLabel ) = \"en\" ) .\n  }\n}\nLIMIT 200", "paraphrases": ["Who are some U.S. citizens who were born in Boston, and what are their names and birthplace?", "List up to 200 American citizens born in Boston, showing their names and confirming their birthplace is Boston in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q30> . ?var1 <http://www.wikidata.org/prop/direct/P102> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var5 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } OPTIONAL { ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 200"}}
{"id": "test_3234", "question": "English or German Wikipedia page for the film with IMDb ID tt0077797", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipediaPage WHERE {\n  ?item wdt:P345 \"tt0077797\" .\n  ?wikipediaPage schema:about ?item .\n  ?wikipediaPage schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" )\n}", "paraphrases": ["What is the English or German Wikipedia page for the movie with IMDb identifier tt0077797?", "Show me the Wikipedia page in English or German for the film identified by tt0077797 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0077797\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3235", "question": "What are the earliest and latest birth years of scientists in Wikidata, considering only plausible dates between 1000 and 2100?", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ( xsd:date ( MIN( ?birthDate ) ) AS ?earliestBirth ) ( xsd:date ( MAX( ?birthDate ) ) AS ?latestBirth ) WHERE {\n  ?scientist wdt:P106 wd:Q901 .\n  ?scientist wdt:P569 ?birthDate .\n  FILTER ( isLiteral( ?birthDate ) ) FILTER ( datatype( ?birthDate ) = xsd:dateTime || datatype( ?birthDate ) = xsd:date ) BIND( xsd:date ( ?birthDate ) AS ?cleanDate ) FILTER ( ?cleanDate >= \"1000-01-01\" ^^ xsd:date && ?cleanDate <= \"2100-12-31\" ^^ xsd:date )\n}", "paraphrases": ["Find the range of birth dates for people whose occupation is scientist, excluding invalid or placeholder dates.", "When were the oldest and most recent scientists born, based on reliable birth date data in Wikidata?"], "info": {"raw_sparql": "SELECT( <http://www.w3.org/2001/XMLSchema#date> ( MIN ( ?var1 )) AS ?var2 )( MAX ( ?var1 ) AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q901> . ?var4 <http://www.wikidata.org/prop/direct/P569> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3236", "question": "How many statements are associated with each geographic entity that has a map on Wikimedia Commons?", "sparql": "SELECT ?item (COUNT(*) AS ?statementCount) WHERE { ?item wdt:P3896 ?geoshape . ?item ?p ?o . } GROUP BY ?item", "paraphrases": ["Which countries or regions have geoshapes on Commons, and how many claims do they have in Wikidata?", "Can you list the items with geographic map data and their total number of Wikidata statements?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3896> ?var3 ; <http://wikiba.se/ontology#statements> ?var1 . }"}}
{"id": "test_3237", "question": "What are the birthplaces and current neighborhood residences of female individuals, along with the administrative regions of their birthplaces and the geographic coordinates of their neighborhoods?", "sparql": "SELECT ?person ?birthplace ?birth_admin ?residence ?latitude ?longitude WHERE { ?person wdt:P21 wd:Q6581072 . ?person wdt:P19 ?birthplace . ?birthplace wdt:P131 ?birth_admin . ?person wdt:P551 ?residence . ?residence wdt:P31 wd:Q123705 . ?residence p:P625 ?statement . ?statement ps:P625 ?coordinates . ?statement psv:P625 ?coordinateNode . ?coordinateNode wikibase:geoLatitude ?latitude . ?coordinateNode wikibase:geoLongitude ?longitude . } LIMIT 5", "paraphrases": ["Female persons born in Boston, living in neighborhoods with coordinates \u2014 show birthplace, residence, and coordinates.", "Show me female people, where they were born, which administrative area that\u2019s in, where they currently live (as a neighborhood), and the latitude and longitude of that neighborhood."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P131> ?var3 . ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q123705> ; <http://www.wikidata.org/prop/P625> [ <http://www.wikidata.org/prop/statement/P625> ?var7 ; <http://www.wikidata.org/prop/statement/value/P625> [ <http://wikiba.se/ontology#geoLongitude> ?var6 ; <http://wikiba.se/ontology#geoLatitude> ?var5 ] ] . } LIMIT 5"}}
{"id": "test_3238", "question": "How many people born on or after January 1, 1980, have died and are documented in Wikidata?", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ( COUNT( ?person ) AS ?count ) WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P569 ?birthDate .\n  ?person wdt:P570 ?deathDate .\n  FILTER ( ?birthDate >= \"1980-01-01T00:00:00Z\" ^^ xsd:dateTime )\n}", "paraphrases": ["Count of deceased individuals in Wikidata who were born in 1980 or later.", "How many humans born after 1980 are recorded as deceased in Wikidata?"], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . FILTER ( ( ( ?var3 >= \"1980-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3239", "question": "People with the given name Melike born after 1900 and their birth place coordinates.", "sparql": "SELECT ?personLabel ?coordinates WHERE { ?person wdt:P735 wd:Q20001401 . ?person wdt:P19 ?birthPlace . ?birthPlace wdt:P625 ?coordinates . ?person wdt:P569 ?birthDate . FILTER (?birthDate >= \"1900-01-01T00:00:00Z\"^^xsd:dateTime) . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["Who are the people named Melike who were born after 1900, and where were they born (coordinates)?", "Show me the names and birth coordinates of all people named Melike born after 1900."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P735> <http://www.wikidata.org/entity/Q20001401> . ?var2 <http://www.wikidata.org/prop/direct/P19> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P625> ?var3 . FILTER ( ( ( ?var5 >= \"1900-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3240", "question": "Is Blaise Matuidi classified as software or any subclass of software?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  wd:Q1921 ( wdt:P31 / wdt:P279 * ) wd:Q7397 .\n}", "paraphrases": ["Does Blaise Matuidi belong to the category of software, either directly or through inheritance in the classification hierarchy?", "Confirm whether Blaise Matuidi is an instance of software or any of its superclasses."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q1921> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_3241", "question": "People and their birth places in Wikidata", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?birthPlace WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P19 ?birthPlace .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Who are some humans and where were they born, according to Wikidata?", "List 100 humans with their English names and their specific birth locations (e.g., cities) from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"uk,en\". } }"}}
{"id": "test_3242", "question": "What are the birthplaces of people in Wikidata, along with their names and the names of the cities they were born in?", "sparql": "SELECT ?person ?personLabel ?birthplace ?birthplaceLabel WHERE { ?person wdt:P19 ?birthplace . FILTER(STRSTARTS(STR(?person), \"http://www.wikidata.org/entity/Q\")) . ?person rdfs:label ?personLabel . ?birthplace rdfs:label ?birthplaceLabel . FILTER(LANG(?personLabel) = \"en\") . FILTER(LANG(?birthplaceLabel) = \"en\") } LIMIT 100", "paraphrases": ["Can you list 100 people and the cities where they were born, using English labels for both?", "Show me the English names of people and their corresponding birth cities based on Wikidata\u2019s place of birth data."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_3243", "question": "What is the occupation of Hendrik Stokvisch?", "sparql": "SELECT ?occupation WHERE { wd:Q18603330 wdt:P106 ?occupation .}", "paraphrases": ["Occupation of Hendrik Stokvisch", "Can you tell me what job Hendrik Stokvisch had?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q18603330> <https://www.wikidata.org/wiki/Property:P106> ?var1 . }"}}
{"id": "test_3244", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0279781?", "sparql": "SELECT ?movie ?wikipediaPage WHERE { ?movie wdt:P345 \"tt0279781\" . ?wikipediaPage schema:about ?movie . ?wikipediaPage schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Show me the Wikipedia articles in English and German about the film Sorority Boys.", "Which language versions of Wikipedia have articles about the movie identified by IMDb ID tt0279781?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0279781\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3245", "question": "What is the English label for the occupation with ISCO-88 code 1344?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?occupation ?label ?description WHERE {\n  ?occupation wdt:P952 \"1344\" .\n  ?occupation rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) .\n  OPTIONAL {\n    ?occupation schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" ) .\n  }\n}", "paraphrases": ["Can you tell me the name of the job category coded as 1344 in the ISCO-88 classification?", "What is the English description of the occupation classified under ISCO-88 code 1344?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P952> \"1344\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3246", "question": "What are the English names and descriptions of occupations classified under ISCO-88 code 7531?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P952 \"7531\" .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" ) OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["List the jobs in Wikidata with ISCO-88 code 7531 and their English descriptions.", "Which professions are categorized as ISCO-88 7531, and what do they do?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P952> \"7543\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3247", "question": "German Wikipedia pages of humans with their alternative names, descriptions, and birth dates", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?human ( SAMPLE( ?label_en_de ) AS ?label ) ( GROUP_CONCAT( DISTINCT ?altLabel_de ; SEPARATOR = \";\" ) AS ?altLabels ) ( SAMPLE( ?desc_de ) AS ?description ) ( SAMPLE( ?birth ) AS ?birthDate ) ?wikipediaPage WHERE {\n  {\n    SELECT ?human ?wikipediaPage WHERE {\n      ?wikipediaPage schema:about ?human ; schema:isPartOf <https://de.wikipedia.org/> .\n      ?human wdt:P31 wd:Q5 .\n    }\n    LIMIT 200\n  }\n  OPTIONAL {\n    ?human skos:altLabel ?altLabel_de .\n    FILTER ( LANG( ?altLabel_de ) = \"de\" )\n  }\n  OPTIONAL {\n    ?human schema:description ?desc_de .\n    FILTER ( LANG( ?desc_de ) = \"de\" )\n  }\n  OPTIONAL {\n    ?human wdt:P569 ?birth .\n  }\n  ?human rdfs:label ?label_en_de .\n  FILTER ( LANG( ?label_en_de ) = \"en\" || LANG( ?label_en_de ) = \"de\" )\n}\nGROUP BY ?human ?wikipediaPage", "paraphrases": ["Who are some humans with German Wikipedia pages, and what are their German alternative labels, descriptions, and dates of birth?", "List up to 200 humans linked to German Wikipedia pages, including their English or German names, any German alternative labels, German descriptions, birth dates, and the Wikipedia page URLs."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( GROUP_CONCAT ( DISTINCT ?var3 ; SEPARATOR = \";\" ) AS ?var3 )( SAMPLE ( ?var4 ) AS ?var4 )( GROUP_CONCAT ( DISTINCT ?var5 ; SEPARATOR = \";\" ) AS ?var5 )( GROUP_CONCAT ( DISTINCT ?var6 ; SEPARATOR = \";\" ) AS ?var6 )( GROUP_CONCAT ( DISTINCT ?var7 ; SEPARATOR = \";\" ) AS ?var7 )( GROUP_CONCAT ( DISTINCT ?var8 ; SEPARATOR = \";\" ) AS ?var8 ) ?var9 WHERE { { SELECT ?var1 ?var9 WHERE { ?var9 <http://schema.org/about> ?var1 . ?var9 <http://schema.org/isPartOf> <https://de.wikipedia.org/> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . } LIMIT 200 } OPTIONAL { ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"de\" ) ) ) . } OPTIONAL { ?var1 <http://schema.org/description> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"de\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var5 . } OPTIONAL { } OPTIONAL { } OPTIONAL { } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var10 <http://www.w3.org/2000/01/rdf-schema#label> ?var6 . ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var8 . } } GROUP BY ?var1 ?var2 ?var9"}}
{"id": "test_3248", "question": "Image of Walter J. Gehring with SNAC ARK ID w60m7wr9", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?person wdt:P3430 \"w60m7wr9\" .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Walter J. Gehring in Wikidata, identified by the SNAC ARK ID w60m7wr9?", "Show me the Wikimedia Commons image of the person whose SNAC ARK ID is w60m7wr9."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w60m7wr9\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3249", "question": "People born in Scarsdale, New York", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P19 wd:Q2300959 .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}\nORDER BY ?personLabel", "paraphrases": ["Who were born in Scarsdale, New York?", "List all people who have Scarsdale, New York as their place of birth."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2300959> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7323233> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_3250", "question": "People born in Rennes in 1982 and their occupations.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person ?personLabel ?occupationLabel ?birthDate WHERE {\n  ?person wdt:P19 wd:Q647 ; wdt:P106 ?occupation ; wdt:P569 ?birthDate .\n  FILTER(YEAR(?birthDate) = 1982)\n  OPTIONAL {\n    ?person rdfs:label ?personLabel .\n    FILTER(LANG(?personLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?occupation rdfs:label ?occupationLabel .\n    FILTER(LANG(?occupationLabel) = \"en\")\n  }\n}", "paraphrases": ["Who were born in Rennes in 1982, and what are their occupations?", "List all individuals born in Rennes in 1982 along with their English-labeled occupations."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q647> ; <http://www.wikidata.org/prop/direct/P106> ?var2 ; <http://www.wikidata.org/prop/direct/P569> ?var3 . FILTER ( ( ( YEAR ( ?var3 ) = \"1982\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_3251", "question": "Is Jos\u00e9 Maria Castellanos Ledo classified under a category that is a type of software?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  wd:Q47092731 ( wdt:P31 / wdt:P279 * ) wd:Q7397 .\n}", "paraphrases": ["Is Jos\u00e9 Maria Castellanos Ledo an example of software or a subclass of software?", "Confirm whether Jos\u00e9 Maria Castellanos Ledo belongs to any category that is a subclass of software."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q47092731> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_3252", "question": "Is Italy a member of the European Union?", "sparql": "ASK { wd:Q38 wdt:P463 wd:Q458 }", "paraphrases": ["Does Italy belong to the European Union?", "Is Italy part of the European Union?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q41330917> <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q856831> . }"}}
{"id": "test_3253", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0323939?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?wikipedia_page WHERE {\n  ?movie wdt:P345 \"tt0323939\" .\n  ?wikipedia_page schema:about ?movie .\n  {\n    ?wikipedia_page schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipedia_page schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Can you show me the Wikipedia articles about the film Shade in English and German?", "Which language versions of the Wikipedia page for the movie tt0323939 exist?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0323939\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3254", "question": "What properties are associated with people born in London?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?prop WHERE {\n  ?person wdt:P19 wd:Q84 .\n  ?person ?prop ?value .\n  ?statement wikibase:directClaim ?prop .\n}", "paraphrases": ["Which attributes do people born in London have in Wikidata?", "List all the direct properties used for individuals with London as their place of birth."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 <http://www.wikidata.org/entity/Q6422240> ? <http://www.wikidata.org/entity/Q24716085> . ?var2 ?var1 ?var3 . <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var4 <http://wikiba.se/ontology#directClaim> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3255", "question": "What are the birth and death dates of Frederick Sanger?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?date ?propertyItemLabel WHERE {\n  wd:Q151564 ?property ?date .\n  FILTER ( DATATYPE( ?date ) = xsd:dateTime ) .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?propertyItemLabel .\n  FILTER ( LANG( ?propertyItemLabel ) = \"en\" )\n}", "paraphrases": ["When was Frederick Sanger born and when did he die?", "What events and corresponding dates are associated with Frederick Sanger\u2019s life, specifically his birth and death?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { { <http://www.wikidata.org/entity/Q151564> ?var3 ?var1 . FILTER ( ( ( DATATYPE ( ?var1 ) = <http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . ?var2 <http://wikiba.se/ontology#directClaim> ?var3 . } UNION { <http://www.wikidata.org/entity/Q151564> ?var4 ?var5 . FILTER ( ( REGEX ( STR ( ?var4 ) , \"prop/P\" ) ) ) . ?var5 ?var6 ?var1 . FILTER ( ( REGEX ( STR ( ?var6 ) , \"string1\" ) ) ) . FILTER ( ( ( DATATYPE ( ?var1 ) = <http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . ?var5 ?var7 ?var2 . FILTER ( ( REGEX ( STR ( ?var7 ) , \"statement\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3256", "question": "People born in Germany, the Holy Roman Empire, or the German Empire who died between 1940 and 1950.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?deathDate(SAMPLE(?label) AS ?personLabel) WHERE {\n  ?person wdt:P570 ?deathDate .\n  ?person wdt:P19 ?birthPlace .\n  VALUES ?birthPlace {\n    wd:Q183 wd:Q12548 wd:Q43287\n  }\n  FILTER(YEAR(?deathDate) >= 1940 && YEAR(?deathDate) <= 1950)\n  ?person rdfs:label ?label .\n}\nGROUP BY ?person ?deathDate\nORDER BY ASC(?deathDate)", "paraphrases": ["Who were the people born in historical German territories who died between 1940 and 1950?", "List the names and death dates of individuals born in Germany, the Holy Roman Empire, or the German Empire and who died in the 1940s."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . { ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q183> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q12548> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q12548> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q5226389> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q43287> . } FILTER ( ( ( YEAR ( ?var2 ) <= \"1950\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( YEAR ( ?var2 ) >= \"1940\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY ASC( ?var2 )"}}
{"id": "test_3257", "question": "Erik Magnus Ohman, human", "sparql": "SELECT DISTINCT ?item WHERE { ?item rdfs:label \"Erik Magnus Ohman\"@en . ?item wdt:P31 wd:Q5 . }", "paraphrases": ["Who is Erik Magnus Ohman, and is he a human?", "Find the Wikidata item for Erik Magnus Ohman who is a human."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Erik Ohman\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3258", "question": "People born in Dortmund and the coordinates of their residences.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel ?coordinates WHERE {\n  ?person wdt:P19 wd:Q1295 .\n  ?person wdt:P551 ?residence .\n  ?residence wdt:P625 ?coordinates .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}", "paraphrases": ["Who were born in Dortmund and where did they live? (Provide the geographic coordinates of their residences.)", "List the names of people born in Dortmund along with the geographic coordinates of where they resided."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q1295> . ?var1 <http://www.wikidata.org/prop/direct/P551> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P625> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3259", "question": "Show Liv Tyler\u2019s labels in English, German, French, and Italian, along with her image and English Wikipedia page.", "sparql": "SELECT ?label ?image ?wikipedia ?youtubeId WHERE { OPTIONAL { wd:Q168763 rdfs:label ?label . FILTER (LANG(?label) = ?lang) VALUES (?lang ?order) { (\"en\" 1) (\"de\" 2) (\"fr\" 3) (\"it\" 4) } } OPTIONAL { wd:Q168763 wdt:P18 ?image . } OPTIONAL { ?wikipedia rdf:type schema:Article ; schema:about wd:Q168763 ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> . } OPTIONAL { wd:Q168763 wdt:P1651 ?youtubeId . } } ORDER BY ?order", "paraphrases": ["What are Liv Tyler\u2019s names in different languages, her image on Wikimedia Commons, and her English Wikipedia article link?", "Please provide the multilingual labels for Liv Tyler (in English, German, French, and Italian), her image, and the link to her English Wikipedia article, ordered by language preference."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q168763> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var6 ) ) ) . VALUES ( ?var6 ?var7 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q168763> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q168763> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q168763> <http://www.wikidata.org/prop/direct/P1651> ?var5 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q168763> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var7 )"}}
{"id": "test_3260", "question": "How many children of Queen Victoria were born after her?", "sparql": "SELECT ( \"Children born after Queen Victoria\" AS ?label ) ( COUNT( DISTINCT ?child ) AS ?count ) WHERE { BIND( wd:Q9439 AS ?mother ) . ?mother wdt:P40 ?child ; wdt:P569 ?motherBirthDate . ?child wdt:P569 ?childBirthDate . FILTER( ?childBirthDate > ?motherBirthDate ) }", "paraphrases": ["How many of Queen Victoria\u2019s children were born after she was born?", "What is the number of Queen Victoria\u2019s offspring born after her own birth date?"], "info": {"raw_sparql": "SELECT( \"string1\" AS ?var1 )( COUNT ( DISTINCT ?var2 ) AS ?var3 ) WHERE { BIND ( <http://www.wikidata.org/entity/Q9439> AS ?var4 ). ?var4 <http://www.wikidata.org/prop/direct/P40> + ?var2 ; <http://www.wikidata.org/prop/direct/P569> ?var5 . ?var2 <http://www.wikidata.org/prop/direct/P569> ?var6 . FILTER ( ( ( ?var5 > ?var6 ) ) ) . }"}}
{"id": "test_3261", "question": "What occupation is labeled 'waiter' in English?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item WHERE {\n  ?item(wdt:P31 / wdt:P279 *) wd:Q12737077 .\n  ?item rdfs:label \"waiter\" @en .\n}", "paraphrases": ["Which job in Wikidata has the English label 'waiter'?", "Show me the occupation item that is called 'waiter' in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q12737077> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"WAITRESS\"@en . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3262", "question": "What penalties have been imposed on individuals and organizations according to Wikidata?", "sparql": "SELECT ?person ?personLabel ?penalty ?penaltyLabel WHERE { ?person wdt:P1596 ?penalty . OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } OPTIONAL { ?penalty rdfs:label ?penaltyLabel . FILTER(LANG(?penaltyLabel) = \"en\") } } LIMIT 1000", "paraphrases": ["Which people or entities have received judicial sentences, and what types of punishments were given?", "Show me a list of offenders and the corresponding penalties they were given, including the names of the penalties in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1596> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 1000"}}
{"id": "test_3263", "question": "Wikipedia page in English or German for the movie with IMDb ID tt7733034", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipediaPage WHERE {\n  ?item wdt:P345 \"tt7733034\" .\n  ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" )\n}", "paraphrases": ["What is the German or English Wikipedia page for the film with IMDb ID tt7733034?", "Show me the English or German Wikipedia article for the movie identified by IMDb ID tt7733034."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt7733034\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3264", "question": "List of places in Quebec with their BNLQ IDs and English names.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?place ?placeLabel ?bnlqId WHERE {\n  ?place wdt:P2100 ?bnlqId .\n  ?place rdfs:label ?placeLabel .\n  FILTER ( LANG( ?placeLabel ) = \"en\" )\n}\nLIMIT 10", "paraphrases": ["What are the English names and Banque de noms de lieux du Qu\u00e9bec (BNLQ) IDs of geographical places in Quebec?", "Show me the English-labeled geographical locations in Quebec along with their official BNLQ identifiers."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2100> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 10"}}
{"id": "test_3265", "question": "People from France, Switzerland, or the Netherlands born after 1880 and died before 1946, who were not Nazis, soldiers, or convicted of crimes against humanity, along with their gender and photo.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?genderLabel(SAMPLE(?image) AS ?sampledImage) ?personLabel WHERE {\n  ?person wdt:P31 wd:Q5 ; wdt:P27 ?country ; wdt:P18 ?image ; wdt:P21 ?gender ; wdt:P569 ?birthDate ; wdt:P570 ?deathDate .\n  ?gender rdfs:label ?genderLabel .\n  FILTER(LANG(?genderLabel) = \"en\")\n  FILTER(?country = wd:Q39 || ?country = wd:Q55 || ?country = wd:Q142) MINUS {\n    ?person wdt:P102 wd:Q7320\n  } MINUS {\n    ?person wdt:P106 wd:Q47064\n  } MINUS {\n    ?person wdt:P1399 wd:Q173462\n  }\n  BIND(YEAR(?birthDate) AS ?birthYear)\n  BIND(YEAR(?deathDate) AS ?deathYear)\n  FILTER(?birthYear > 1880)\n  FILTER(?deathYear < 1946)\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}\nGROUP BY ?genderLabel ?person ?personLabel\nLIMIT 500", "paraphrases": ["Who were non-military, non-Nazi individuals from France, Switzerland, or the Netherlands born after 1880 and who died before 1946, and what were their genders and images?", "Show me the names, genders, and photos of civilians from France, Switzerland, or the Netherlands who were born after 1880 and died before 1946, excluding those who were in the military, Nazi Party, or convicted of crimes against humanity."], "info": {"raw_sparql": "SELECT( ?var1Label AS ?var2 )( SAMPLE ( ?var3 ) AS ?var4 )( ?var5 AS ?var6 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P27> ?var7 ; <http://www.wikidata.org/prop/direct/P18> ?var3 ; <http://www.wikidata.org/prop/direct/P21> ?var8 ; <http://www.wikidata.org/prop/direct/P569> ?var9 ; <http://www.wikidata.org/prop/direct/P570> ?var10 . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . VALUES ( ?var7 ) { ( <http://www.wikidata.org/entity/Q39> ) ( <http://www.wikidata.org/entity/Q55> ) ( <http://www.wikidata.org/entity/Q142> ) } MINUS { ?var5 <http://www.wikidata.org/prop/direct/P102> <http://www.wikidata.org/entity/Q7320> . } MINUS { ?var5 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q47064> . } MINUS { ?var5 <http://www.wikidata.org/prop/direct/P1399> <http://www.wikidata.org/entity/Q173462> . } BIND ( YEAR ( ?var9 ) AS ?var11 ). BIND ( YEAR ( ?var10 ) AS ?var12 ). FILTER ( ( ( ?var11 > \"1880\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . FILTER ( ( ( ?var12 < \"1946\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } GROUP BY ?var1Label ?var5 LIMIT 500"}}
{"id": "test_3266", "question": "Descendants of Queen Elizabeth II and their children", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?descendant ?descendantLabel ?child WHERE {\n  wd:Q9682 wdt:P40 + ?descendant .\n  OPTIONAL {\n    ?descendant wdt:P40 ?child .\n  }\n  ?descendant rdfs:label ?descendantLabel .\n  FILTER ( LANG( ?descendantLabel ) = \"en\" )\n}\nORDER BY ?descendant", "paraphrases": ["Who are the descendants of Queen Elizabeth II, and who are their children?", "List all known descendants of Queen Elizabeth II up to several generations, along with their direct offspring, and show their names in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q9682> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P40> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P40> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3267", "question": "Image of Ben Belitt with SNAC ARK ID w6n879q8", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?person wdt:P3430 \"w6n879q8\" .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n}", "paraphrases": ["Is there an image available for Ben Belitt in Wikidata, identified by the SNAC ARK ID w6n879q8?", "Show me the Wikimedia Commons image associated with the person whose SNAC ARK ID is w6n879q8."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6n879q8\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3268", "question": "Image of Jan Anton\u00edn Losy (SNAC ARK ID w6b00v42)", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6b00v42\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image of the person with SNAC ARK ID w6b00v42?", "Please provide the Wikimedia Commons image for the entity identified by SNAC ARK ID w6b00v42."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6b00v42\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3269", "question": "French labels and descriptions of properties related to number of victims of killer.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?relatedProperty ?label ?description WHERE {\n  wd:P1345 wdt:P1659 ?relatedProperty .\n  ?relatedProperty rdfs:label ?label .\n  ?relatedProperty schema:description ?description .\n  FILTER(LANG(?label) = \"fr\")\n  FILTER(LANG(?description) = \"fr\")\n}", "paraphrases": ["What are the French labels and descriptions of properties related to the number of victims of killer?", "Show me the French names and definitions of properties that are related to the number of people killed by a killer."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P1345> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"fr\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"fr\" ) ) ) . }"}}
{"id": "test_3270", "question": "What are the alternative names, image, and types of the city with Freebase ID /m/0b1t1?", "sparql": "SELECT ?var1Label ?var4 ?var5 ?var6 WHERE { ?var1 wdt:P646 \"/m/0b1t1\" . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") . ?var1 wdt:P31 ?var7 . ?var7 rdfs:label ?var6 . FILTER(LANG(?var6) = \"en\") . OPTIONAL { ?var1 wdt:P18 ?var5 . } OPTIONAL { ?var1 skos:altLabel ?var4 . FILTER(LANG(?var4) = \"en\") . } }", "paraphrases": ["Can you show me the English label, alternate labels, image, and instance types for London, Ontario?", "Tell me about London, Ontario: what is it called, what does it look like, and what categories does it belong to?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P646> \"/m/0b1t1\". ?var1 <http://www.wikidata.org/prop/direct/P31> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var6 . FILTER ( ( ( LANG ( ?var6 ) = \"en\" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P646> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } OPTIONAL { ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_3271", "question": "English or German Wikipedia page for the movie with IMDb ID tt0058384", "sparql": "SELECT ?movie ?wikipedia_page ?imdb_id WHERE { ?movie wdt:P345 ?imdb_id . ?wikipedia_page schema:about ?movie . { ?wikipedia_page schema:inLanguage \"en\" . } UNION { ?wikipedia_page schema:inLanguage \"de\" . } FILTER(?imdb_id = \"tt0058384\") }", "paraphrases": ["What is the English or German Wikipedia page for the movie identified by IMDb ID tt0058384?", "Show me the Wikipedia page in English or German for the film with IMDb ID tt0058384, along with the movie's identifier."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0058384\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3272", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0032356?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?wikipediaPage WHERE {\n  ?movie wdt:P345 \"tt0032356\" .\n  ?wikipediaPage schema:about ?movie .\n  ?wikipediaPage schema:inLanguage ?lang .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n}", "paraphrases": ["Show me the Wikipedia articles about the film Contraband (1940) in English and German languages.", "Find the Wikipedia links for the movie identified by IMDb identifier tt0032356, specifically the English and German versions."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0032356\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3273", "question": "German citizens born after 1990 with English labels", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P27 wd:Q183 .\n  ?person wdt:P569 ?birthDate .\n  FILTER ( ?birthDate >= \"1990-01-01T00:00:00Z\" ^^ xsd:dateTime ) .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}\nLIMIT 250000", "paraphrases": ["Who are the German citizens born on or after January 1, 1990, and what are their English names?", "List the English names of all living German citizens born after 1990."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q183> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( ( ?var2 >= <http://www.w3.org/2001/XMLSchema#dateTime> ( \"string1\") ) ) ) . } LIMIT 250000"}}
{"id": "test_3274", "question": "Ancestors of Baudouin I of Belgium and their fathers", "sparql": "SELECT ?ancestor ?ancestorLabel ?directFather WHERE { wd:Q12976 wdt:P22* ?ancestor . OPTIONAL { ?ancestor wdt:P22 ?directFather . } ?ancestor rdfs:label ?ancestorLabel . FILTER(LANG(?ancestorLabel) = \"en\") }", "paraphrases": ["Who are all the paternal ancestors of Baudouin I of Belgium, and who is the direct father of each?", "List all paternal ancestors of King Baudouin I of Belgium along with their immediate fathers."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { <http://www.wikidata.org/entity/Q12976> <http://www.wikidata.org/prop/direct/P22> * ?var1 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P22> * <http://www.wikidata.org/entity/Q12976> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P22> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3275", "question": "Who are the descendants of Louis XVI up to four generations, and do any of them have children?", "sparql": "SELECT ?descendant ?descendantLabel ?childOfDescendant WHERE { { wd:Q7732 wdt:P40 ?gen1 . BIND(?gen1 AS ?descendant) OPTIONAL { ?gen1 wdt:P40 ?childOfDescendant } } UNION { wd:Q7732 wdt:P40 ?gen1 . ?gen1 wdt:P40 ?gen2 . BIND(?gen2 AS ?descendant) OPTIONAL { ?gen2 wdt:P40 ?childOfDescendant } } UNION { wd:Q7732 wdt:P40 ?gen1 . ?gen1 wdt:P40 ?gen2 . ?gen2 wdt:P40 ?gen3 . BIND(?gen3 AS ?descendant) OPTIONAL { ?gen3 wdt:P40 ?childOfDescendant } } UNION { wd:Q7732 wdt:P40 ?gen1 . ?gen1 wdt:P40 ?gen2 . ?gen2 wdt:P40 ?gen3 . ?gen3 wdt:P40 ?gen4 . BIND(?gen4 AS ?descendant) OPTIONAL { ?gen4 wdt:P40 ?childOfDescendant } } ?descendant rdfs:label ?descendantLabel . FILTER(LANG(?descendantLabel) = \"en\") }", "paraphrases": ["List Louis XVI\u2019s children, grandchildren, great-grandchildren, and great-great-grandchildren with their names.", "What are the names of Louis XVI\u2019s direct descendants within four generations, and are there any records of their offspring?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7732> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P40> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P40> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3276", "question": "What are the countries that joined the United Nations, and when did they join?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?country ?statement(SAMPLE(?qualifierLabel) AS ?qualifier) WHERE {\n  ?country p:P463 ?statement .\n  ?statement ps:P463 wd:Q1065 .\n  ?statement ?qualifierProperty ?value .\n  FILTER(STRSTARTS(STR(?qualifierProperty) , \"http://www.wikidata.org/prop/qualifier/\"))\n  .\n  BIND(REPLACE(STR(?qualifierProperty) , \"^.*prop/qualifier/\" , \"\") AS ?propId)\n  .\n  BIND(IRI(CONCAT(\"http://www.wikidata.org/entity/\" , ?propId)) AS ?propertyEntity)\n  .\n  ?propertyEntity rdfs:label ?qualifierLabel .\n  FILTER(LANG(?qualifierLabel) = \"en\")\n}\nGROUP BY ?country ?statement\nLIMIT 101", "paraphrases": ["For each member country of the UN, what is the qualifier (like start time or replaced by) associated with their membership?", "Which countries are members of the United Nations, and what are the details (e.g., start date) of their membership?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P463> <http://www.wikidata.org/entity/Q1065> . ?var1 <http://www.wikidata.org/prop/P463> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_3277", "question": "What are the descendants of Alfred the Great up to four generations deep, and do they have images or children recorded in Wikidata?", "sparql": "SELECT ?descendant ?descendantLabel ?image ?child WHERE { { wd:Q83476 wdt:P40 ?child1 . BIND(?child1 AS ?descendant) OPTIONAL { ?descendant rdfs:label ?descendantLabel . FILTER(LANG(?descendantLabel) = \"en\") } OPTIONAL { ?descendant wdt:P18 ?image } OPTIONAL { ?descendant wdt:P40 ?child } } UNION { wd:Q83476 wdt:P40 ?child1 . ?child1 wdt:P40 ?child2 . BIND(?child2 AS ?descendant) OPTIONAL { ?descendant rdfs:label ?descendantLabel . FILTER(LANG(?descendantLabel) = \"en\") } OPTIONAL { ?descendant wdt:P18 ?image } OPTIONAL { ?descendant wdt:P40 ?child } } UNION { wd:Q83476 wdt:P40 ?child1 . ?child1 wdt:P40 ?child2 . ?child2 wdt:P40 ?child3 . BIND(?child3 AS ?descendant) OPTIONAL { ?descendant rdfs:label ?descendantLabel . FILTER(LANG(?descendantLabel) = \"en\") } OPTIONAL { ?descendant wdt:P18 ?image } OPTIONAL { ?descendant wdt:P40 ?child } } UNION { wd:Q83476 wdt:P40 ?child1 . ?child1 wdt:P40 ?child2 . ?child2 wdt:P40 ?child3 . ?child3 wdt:P40 ?child4 . BIND(?child4 AS ?descendant) OPTIONAL { ?descendant rdfs:label ?descendantLabel . FILTER(LANG(?descendantLabel) = \"en\") } OPTIONAL { ?descendant wdt:P18 ?image } OPTIONAL { ?descendant wdt:P40 ?child } } }", "paraphrases": ["Can you show me the children, grandchildren, great-grandchildren, and great-great-grandchildren of Alfred the Great, along with their portraits and their own offspring?", "List all known descendants of King Alfred the Great within four generations, including their names, photos if available, and whether they had any children."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q83476> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var4 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P40> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P40> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3278", "question": "People born in Weimar with \"A\" in their name", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person ?personLabel WHERE {\n  ?person wdt:P19 wd:Q3955 .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = 'en')\n  FILTER(CONTAINS(LCASE(?personLabel) , \"a\"))\n}\nORDER BY ASC(?personLabel)\nLIMIT 300", "paraphrases": ["Who are the people born in Weimar whose names contain the letter \"A\"?", "List all people born in Weimar whose English labels include the letter \"a\", sorted alphabetically."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q3955> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( CONTAINS ( ?var1Label , \"A\"@en ) ) ) . } ORDER BY ASC( ?var1Label ) LIMIT 300"}}
{"id": "test_3279", "question": "What is the English label and description of the Quebec geographical feature with BNLQ ID 357940?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P2100 \"357940\" . OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") }", "paraphrases": ["Can you find the English name and description of the park in Quebec that has the Banque de noms de lieux du Qu\u00e9bec ID 357940?", "Show me the English label and description for the Quebec location identified by the BNLQ ID 357940."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2100> \"357731\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3280", "question": "What is the Wikidata entity for the Chinese writer known as Lu Xun?", "sparql": "SELECT ?item WHERE { ?item rdfs:label \"\u9c81\u8fc5\"@zh . }", "paraphrases": ["Find the Wikidata item that has the Chinese label \"\u9c81\u8fc5\".", "Which entity in Wikidata represents the famous Chinese author Lu Xun?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <https://www.wikidata.org/wiki/Q23114> \"Lu Xun\". }"}}
{"id": "test_3281", "question": "What is the Dutch term for Isaac da Costa\u2019s occupation as a writer?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?occupationLabel ?occupation WHERE {\n  wd:Q1673766 wdt:P106 ?occupation .\n  ?occupation rdfs:label ?occupationLabel .\n  FILTER ( LANG( ?occupationLabel ) = \"nl\" ) FILTER ( STR( ?occupationLabel ) = \"schrijver\" )\n}", "paraphrases": ["Which occupation of Isaac da Costa is called \"schrijver\" in Dutch?", "In Dutch, what is the name of the occupation that Isaac da Costa had as a writer?"], "info": {"raw_sparql": "SELECT ?var1Label ?var1 WHERE { <http://www.wikidata.org/entity/Q1673766> <http://www.wikidata.org/prop/direct/P106> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( ?var1Label = \"schrijver\" ) ) ) . FILTER ( ( ( \"nl\" = LANG ( ?var1Label ) ) ) ) . }"}}
{"id": "test_3282", "question": "Canadian Federal Heritage Buildings with highest IDs and their labels", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?building ?buildingLabel ?id WHERE {\n  ?building wdt:P3197 ?id .\n  ?building rdfs:label ?buildingLabel .\n  FILTER ( LANG( ?buildingLabel ) = \"en\" )\n}\nORDER BY DESC ( ?id )\nLIMIT 100", "paraphrases": ["What are the top 100 Canadian Federal Heritage Buildings ordered by their ID number, along with their English names?", "Please list the 100 Canadian Federal Heritage Buildings with the highest Federal Heritage Buildings IDs, showing their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3197> ?var2 ; <http://wikiba.se/ontology#statements> ?var3 . } ORDER BY DESC( ?var3 ) LIMIT 100 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } } ORDER BY DESC( ?var3 )ASC( ?var1 )"}}
{"id": "test_3283", "question": "List all professions and their types in Wikidata.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?profession ?professionLabel WHERE {\n  ?profession wdt:P279 * wd:Q28640 .\n  ?profession rdfs:label ?professionLabel .\n  FILTER(LANG(?professionLabel) = \"en\")\n}", "paraphrases": ["What are all the specific types of professions that exist in Wikidata?", "Show me all the subclasses of profession with their English labels."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q28640> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3284", "question": "What is the English Wikipedia page for the movie with IMDb ID tt8071196?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?wikipediaPage WHERE {\n  ?item wdt:P345 \"tt8071196\" .\n  ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang .\n  FILTER(?lang IN(\"en\" , \"de\" , \"tl\"))\n}", "paraphrases": ["Which Wikipedia pages in English, German, or Tagalog are about the film with IMDb identifier tt8071196?", "Show me the Wikipedia links in English, German, or Tagalog for the movie identified by tt8071196 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt8071196\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"tl\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3285", "question": "Geographic townships in Quebec and their areas in square kilometres and square metres.", "sparql": "PREFIX psn: <http://www.wikidata.org/prop/statement/value-normalized/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nSELECT DISTINCT ?township ?townshipLabel ?area_sqm ?unit_sqmLabel ?area_sqkm ?unit_sqkmLabel WHERE {\n  ?township wdt:P31 wd:Q23019040 .\n  ?township p:P2046 [ psn:P2046 [ wikibase:quantityAmount ?area_sqm ; wikibase:quantityUnit ?unit_sqm ] ; psv:P2046 [ wikibase:quantityAmount ?area_sqkm ; wikibase:quantityUnit ?unit_sqkm ] ] .\n  OPTIONAL {\n    ?township rdfs:label ?townshipLabel .\n    FILTER ( LANG( ?townshipLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?unit_sqm rdfs:label ?unit_sqmLabel .\n    FILTER ( LANG( ?unit_sqmLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?unit_sqkm rdfs:label ?unit_sqkmLabel .\n    FILTER ( LANG( ?unit_sqkmLabel ) = \"en\" )\n  }\n}", "paraphrases": ["What are the areas of geographic townships in Quebec, expressed in both square kilometres and square metres?", "List all geographic townships in Quebec along with their area in square kilometres and the equivalent in square metres."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q23019040> . ?var1 <http://www.wikidata.org/prop/P2046> [ <http://www.wikidata.org/prop/statement/value-normalized/P2046> [ <http://wikiba.se/ontology#quantityAmount> ?var2 ; <http://wikiba.se/ontology#quantityUnit> ?var3 ] ; <http://www.wikidata.org/prop/statement/value/P2046> [ <http://wikiba.se/ontology#quantityAmount> ?var4 ; <http://wikiba.se/ontology#quantityUnit> ?var5 ] ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_3286", "question": "Places in Stormont, Dundas and Glengarry with their coordinates, administrative divisions (in French), instance types, architectural styles, and architects.", "sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 (SAMPLE(?var4) AS ?image) (SAMPLE(?var5) AS ?instance) (SAMPLE(?var5Label) AS ?instanceLabel) (SAMPLE(?var6) AS ?architecturalStyle) (SAMPLE(?var6Label) AS ?architecturalStyleLabel) (SAMPLE(?var7) AS ?architect) (SAMPLE(?var7Label) AS ?architectLabel) WHERE { ?var2 wdt:P131* wd:Q2065651 . ?var1 wdt:P131 ?var2 . ?var1 wdt:P625 ?var3 . OPTIONAL { ?var1 wdt:P18 ?var4 . } OPTIONAL { ?var1 wdt:P31 ?var5 . ?var5 rdfs:label ?var5Label . FILTER (LANG(?var5Label) = \"en\") . } OPTIONAL { ?var2 rdfs:label ?var2Label . FILTER (LANG(?var2Label) = \"fr\") . } OPTIONAL { ?var1 wdt:P149 ?var6 . ?var6 rdfs:label ?var6Label . FILTER (LANG(?var6Label) = \"en\") . } OPTIONAL { ?var1 wdt:P84 ?var7 . ?var7 rdfs:label ?var7Label . FILTER (LANG(?var7Label) = \"en\") . }} GROUP BY ?var1 ?var1Label ?var2 ?var2Label ?var3 ORDER BY ASC(?var1Label)", "paraphrases": ["What are the places located in the United Counties of Stormont, Dundas and Glengarry, and what are their French-named administrative divisions, coordinates, types, architectural styles, and architects?", "List all locations within Stormont, Dundas and Glengarry, showing their French administrative parent, geographic coordinates, and any available information about their type, architectural style, or architect."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ( SAMPLE ( ?var2 ) AS ?var2 )( SAMPLE ( ?var2Label ) AS ?var2Label )( SAMPLE ( ?var3 ) AS ?var3 )( SAMPLE ( ?var4 ) AS ?var4 ) ?var5 ?var5Label ?var6 ?var6Label ?var7 ?var7Label WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var2 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q2065651> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . ?var1 <http://www.wikidata.org/prop/P1435> ?var8 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . } OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( LANG ( ?var2Label ) IN ( \"fr\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P149> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P84> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en,en,fr\". } } GROUP BY ?var1 ?var1Label ?var5 ?var5Label ?var6 ?var6Label ?var7 ?var7Label ORDER BY ASC( ?var1Label )"}}
{"id": "test_3287", "question": "How many humans were born in 1929 according to Wikidata?", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?year ( COUNT( ?human ) AS ?count ) WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human wdt:P569 ?birthDate .\n  BIND( STR( YEAR( ?birthDate ) ) AS ?year ) FILTER ( ?birthDate >= \"1929-01-01\" ^^ xsd:date && ?birthDate < \"1930-01-01\" ^^ xsd:date )\n}\nGROUP BY ?year", "paraphrases": ["Can you tell me the number of people born in the year 1929 who are recorded as human in Wikidata?", "What is the count of individuals with a recorded birth date in 1929?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var2 <http://www.wikidata.org/prop/direct/P569> ?var4 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P570> ?var5 . } BIND ( STR ( YEAR ( ?var4 ) ) AS ?var1 ). FILTER ( ( ( ?var4 >= \"1929-07-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var4 < \"1930-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1"}}
{"id": "test_3288", "question": "Places in Montreal boroughs with coordinates and German labels", "sparql": "SELECT DISTINCT \n  ?var1 \n  ?var1Label \n  ?var2 \n  ?var2Label \n  ?var3 \nWHERE {\n  ?var2 wdt:P131 wd:Q340 .  # administrative subdivision of Montreal\n  ?var1 wdt:P131 ?var2 .    # place located in that subdivision\n  \n  ?var1 wdt:P625 ?var3 .    # coordinates\n  \n  ?var1 wdt:P31/wdt:P279* ?placeType .\n  FILTER(?placeType IN (wd:Q486972, wd:Q515, wd:Q1549591, wd:Q15227517, wd:Q131445, wd:Q17304845))\n  \n  OPTIONAL {\n    ?var2 rdfs:label ?var2Label .\n    FILTER(LANG(?var2Label) = \"de\")\n  }\n  OPTIONAL {\n    ?var1 rdfs:label ?var1Label .\n    FILTER(LANG(?var1Label) = \"de\")\n  }\n}\nORDER BY ASC(?var1Label)\nLIMIT 20", "paraphrases": ["What are the geographic locations in Montreal\u2019s administrative subdivisions, their coordinates, and their German labels?", "List the places located in Montreal\u2019s boroughs, including their coordinates and German labels where available."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ( SAMPLE ( ?var2 ) AS ?var2 )( SAMPLE ( ?var2Label ) AS ?var2Label )( SAMPLE ( ?var3 ) AS ?var3 )( SAMPLE ( ?var4 ) AS ?var4 ) ?var5 ?var5Label ?var6 ?var6Label ?var7 ?var7Label WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var2 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q340> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . ?var1 <http://www.wikidata.org/prop/P1435> ?var8 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . } OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( LANG ( ?var2Label ) IN ( \"de\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P149> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P84> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en,en,fr\". } } GROUP BY ?var1 ?var1Label ?var5 ?var5Label ?var6 ?var6Label ?var7 ?var7Label ORDER BY ASC( ?var1Label )"}}
{"id": "test_3289", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0089110?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?wikipedia_page WHERE {\n  ?movie wdt:P345 \"tt0089110\" .\n  ?wikipedia_page schema:about ?movie .\n  {\n    ?wikipedia_page schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipedia_page schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Show me the Wikipedia articles in English and German about the film \"Ewoks: The Battle for Endor\".", "Find the Wikipedia links in English and German for the movie identified by IMDb number tt0089110."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0089110\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3290", "question": "Wikipedia articles in English, German, and Swedish about the movie with IMDb ID tt1510918.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipedia_page WHERE {\n  ?movie wdt:P345 \"tt1510918\" .\n  ?wikipedia_page schema:about ?movie .\n  {\n    ?wikipedia_page schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipedia_page schema:inLanguage \"de\" .\n  } UNION {\n    ?wikipedia_page schema:inLanguage \"sv\" .\n  }\n}", "paraphrases": ["What are the English, German, and Swedish Wikipedia pages for the movie with IMDb ID tt1510918?", "Show me the Wikipedia pages in English, German, and Swedish for the film identified by IMDb ID tt1510918."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1510918\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"sv\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3291", "question": "People in the W\u00fcrttemberg church database with their English names and types.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?type ?typeLabel WHERE {\n  ?person wdt:P4621 [] .\n  OPTIONAL {\n    ?person wdt:P31 ?type .\n  }\n  OPTIONAL {\n    ?person rdfs:label ?personLabel .\n    FILTER(LANG(?personLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?type rdfs:label ?typeLabel .\n    FILTER(LANG(?typeLabel) = \"en\")\n  }\n}\nLIMIT 100", "paraphrases": ["Who are the individuals listed in the W\u00fcrttembergische Kirchengeschichte database, and what are their English labels and classifications?", "Please list up to 100 people from the W\u00fcrttemberg church ID database, showing their English names and whether they are classified as humans."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4621> [] . MINUS { VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q5> ) } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } } LIMIT 100 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_3292", "question": "Quebec City population and country, if population over 250,000", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?cityLabel ?countryLabel ?population WHERE {\n  VALUES ?city {\n    wd:Q2145\n  }\n  ?city wdt:P17 ?country .\n  ?city ( wdt:P31 / wdt:P279 * ) wd:Q515 .\n  ?city wdt:P1082 ?population .\n  FILTER ( ?population > 250000 ) ?city rdfs:label ?cityLabel .\n  ?country rdfs:label ?countryLabel .\n  FILTER ( LANG( ?cityLabel ) = \"en\" ) FILTER ( LANG( ?countryLabel ) = \"en\" )\n}", "paraphrases": ["What is the population of Quebec City, and which country is it in, if its population exceeds 250,000?", "Show me the name of Quebec City, its country, and its population, but only if the population is more than 250,000."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q2145> ) } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q16> ; ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> ; <http://www.wikidata.org/prop/direct/P1082> ?var4 . FILTER ( ( ( ?var4 > \"250000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3293", "question": "What are the English and German Wikipedia pages and Commons categories for the film with IMDb ID tt0000301?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?page ?imdbId WHERE {\n  ?film wdt:P345 \"tt0000301\" .\n  ?page schema:about ?film .\n  {\n    ?page schema:inLanguage \"en\" .\n  } UNION {\n    ?page schema:inLanguage \"de\" .\n  }\n  ?film wdt:P345 ?imdbId .\n}", "paraphrases": ["Which Wikipedia articles and Wikimedia Commons categories in English or German are about the film identified by IMDb ID tt0000301?", "List all pages in English or German that are about the film with IMDb ID tt0000301, along with the film and its IMDb ID."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0000301\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3294", "question": "What is the Russian word for the category that Albert Einstein belongs to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?type ?typeLabel WHERE {\n  wd:Q937 wdt:P31 ?type .\n  ?type rdfs:label ?typeLabel\n  FILTER(LANG(?typeLabel) = \"ru\")\n}", "paraphrases": ["In Russian, what type of entity is Albert Einstein classified as?", "How do you say the category of Albert Einstein in Russian?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q43478367> <http://www.wikidata.org/prop/direct/P31> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"ru\" ) ) ) . } LIMIT 50"}}
{"id": "test_3295", "question": "Most used property linking to census divisions of Saskatchewan", "sparql": "SELECT ?property (COUNT(?property) AS ?count) WHERE { ?item ?claim wd:Q650799 . FILTER(STRSTARTS(STR(?claim), \"http://www.wikidata.org/prop/direct/\")) . BIND(IRI(REPLACE(STR(?claim), \"http://www.wikidata.org/prop/direct/\", \"http://www.wikidata.org/entity/\")) AS ?property) . ?property a wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which property is most frequently used to connect an item to the census divisions of Saskatchewan?", "Show me the property that is used to link to the census divisions of Saskatchewan, ordered by usage frequency."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q650799> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_3296", "question": "What is the occupation of Gerrit van 't Net?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?occupation WHERE {\n  wd:Q24188848 wdt:P106 ?occupation\n}", "paraphrases": ["What job did the Dutch painter Gerrit van 't Net have?", "What does Gerrit van 't Net do for a living?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q24188848> <https://www.wikidata.org/wiki/Property:P106> ?var1 . }"}}
{"id": "test_3297", "question": "How many humans were born in 1967 according to Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?birthYear ( COUNT( ?human ) AS ?count ) WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human wdt:P569 ?birthDate .\n  BIND( STR( YEAR( ?birthDate ) ) AS ?birthYear ) FILTER ( YEAR( ?birthDate ) = 1967 )\n}\nGROUP BY ?birthYear", "paraphrases": ["What is the total number of people born in the year 1967 listed in Wikidata?", "Show the count of humans born in 1967, grouped by birth year."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var2 <http://www.wikidata.org/prop/direct/P569> ?var4 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P570> ?var5 . } BIND ( STR ( YEAR ( ?var4 ) ) AS ?var1 ). FILTER ( ( ( ?var4 >= \"1967-07-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var4 < \"1968-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1"}}
{"id": "test_3298", "question": "What is the English name, description, and image of Sparks, Nevada?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?label ?description ?image WHERE {\n  OPTIONAL {\n    wd:Q211629 rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n  OPTIONAL {\n    wd:Q211629 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q211629 schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Can you show me the official English label, description, and a photo of the city Sparks in Nevada?", "Tell me about Sparks, Nevada: what\u2019s its English description, what\u2019s it called in English, and is there an image available?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q211629> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q211629> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q211629> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_3299", "question": "What is the image associated with the SNAC ARK ID \"w605812w\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w605812w\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Can you find the Wikimedia Commons image for the person identified by SNAC ARK ID w605812w?", "Show the image of the individual linked to the SNAC ARK ID w605812w, if one exists."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w605812w\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3300", "question": "What is the image of George Zuckerman as identified by the SNAC ARK ID w6xd3dt6?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6xd3dt6\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Can you find an image on Wikimedia Commons for the person with SNAC ARK ID w6xd3dt6?", "Show the image associated with the SNAC ARK ID w6xd3dt6, if one exists."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6xd3dt6\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3301", "question": "How many people were born between July 1 and December 31, 1922?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?birthYear ( COUNT( ?person ) AS ?count ) WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P569 ?birthDate .\n  BIND( STR( YEAR( ?birthDate ) ) AS ?birthYear ) FILTER ( ?birthDate >= \"1922-07-01\" ^^ xsd:date && ?birthDate < \"1923-01-01\" ^^ xsd:date )\n}\nGROUP BY ?birthYear", "paraphrases": ["Can you tell me the number of humans born in the second half of 1922?", "What is the count of individuals born in 1922 after June 30?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var2 <http://www.wikidata.org/prop/direct/P569> ?var4 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P570> ?var5 . } BIND ( STR ( YEAR ( ?var4 ) ) AS ?var1 ). FILTER ( ( ( ?var4 >= \"1922-07-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var4 < \"1923-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1"}}
{"id": "test_3302", "question": "Entities in Newfoundland and Labrador with Canadian English labels containing \"St. John's\".", "sparql": "SELECT ?item ?label WHERE { ?item wdt:P131 wd:Q2003 . ?item rdfs:label ?label . FILTER(LANG(?label) = \"en-ca\" && CONTAINS(LCASE(?label), \"st. john\")) }", "paraphrases": ["What places in Newfoundland and Labrador have Canadian English names that include \"St. John's\"?", "List all locations in Newfoundland and Labrador whose Canadian English labels contain \"St. John's\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q2003> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"en-ca\" ) && CONTAINS ( STR ( ?var3 ) , \"string1\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3303", "question": "Wikipedia pages in English and German about the movie with IMDb ID tt0258153.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wiki_page WHERE {\n  ?movie wdt:P345 \"tt0258153\" .\n  ?wiki_page schema:about ?movie .\n  {\n    ?wiki_page schema:inLanguage \"en\" .\n  } UNION {\n    ?wiki_page schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["What are the English and German Wikipedia pages for the movie with IMDb ID tt0258153?", "Show me the English and German Wikipedia articles about the film identified by tt0258153 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0258153\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3304", "question": "What is the English name of Johann Schr\u00f6der in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?person ?label WHERE {\n  BIND( wd:Q73983 AS ?person ) .\n  ?person rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}", "paraphrases": ["Can you tell me the label of the Wikidata item for Johann Schr\u00f6der?", "What is Johann Schr\u00f6der called in English on Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { BIND ( <http://www.wikidata.org/entity/Q73983> AS ?var1 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es\". } }"}}
{"id": "test_3305", "question": "English label, description, and image of Albert Einstein", "sparql": "SELECT ?label ?description ?image WHERE { OPTIONAL { wd:Q937 rdfs:label ?label . FILTER (LANG(?label) = \"en\") } OPTIONAL { wd:Q937 schema:description ?description . FILTER (LANG(?description) = \"en\") } OPTIONAL { wd:Q937 wdt:P18 ?image . } }", "paraphrases": ["What is the English name, description, and image of Albert Einstein?", "Show me the English name, description, and Wikimedia Commons image for Albert Einstein."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q7614415> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q7614415> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q7614415> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_3306", "question": "Most common property used to assign the surname \"Bradbury\" in Wikidata.", "sparql": "SELECT ?property (COUNT(?property) AS ?count)\nWHERE {\n  ?item ?propertyUsed wd:Q16860324 .\n  ?property wikibase:directClaim ?propertyUsed .\n  ?property rdf:type wikibase:Property .\n}\nGROUP BY ?property\nORDER BY DESC(?count)\nLIMIT 1", "paraphrases": ["Which property is most frequently used to indicate that someone has the family name \"Bradbury\"?", "Show me the property that links the most people to the surname Bradbury, along with how many times it's used."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q16860324> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_3307", "question": "What is the English name, description, and image of Albert Einstein?", "sparql": "SELECT ?label ?description ?image WHERE {\n  OPTIONAL {\n    wd:Q937 rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\") .\n  }\n  OPTIONAL {\n    wd:Q937 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q937 schema:description ?description .\n    FILTER(LANG(?description) = \"en\") .\n  }\n}", "paraphrases": ["Can you show me Albert Einstein\u2019s Wikipedia-style summary and photo?", "Tell me about Albert Einstein: his label, description, and image from Wikidata."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q19068184> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q19068184> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q19068184> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_3308", "question": "What is the Dutch name for the occupation of Cornelis Springer?", "sparql": "SELECT ?occupationLabel ?occupation WHERE { wd:Q474066 wdt:P106 ?occupation . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = \"nl\") }", "paraphrases": ["In Dutch, what job title is associated with the painter Cornelis Springer?", "What is Cornelis Springer\u2019s occupation labeled in Dutch on Wikidata?"], "info": {"raw_sparql": "SELECT ?var1Label ?var1 WHERE { <http://www.wikidata.org/entity/Q474066> <http://www.wikidata.org/prop/direct/P106> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( ?var1Label = \"schrijver\" ) ) ) . FILTER ( ( ( \"nl\" = LANG ( ?var1Label ) ) ) ) . }"}}
{"id": "test_3309", "question": "Which humans have \"Einstein\" as an alternative name in English?", "sparql": "SELECT ?human ?property WHERE { ?human wdt:P31 wd:Q5 . ?human ?property \"Einstein\"@en . FILTER(?property = rdfs:label || ?property = skos:altLabel) }", "paraphrases": ["Who is listed in Wikidata with the English alias \"Einstein\"?", "Are there any people in Wikidata whose name or alias is exactly \"Einstein\" in English?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 ?var2Label \"Einstein\"@en . }"}}
{"id": "test_3310", "question": "What are the civil parishes in Cornwall?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?village ?villageLabel WHERE {\n  ?village wdt:P31 wd:Q1115575 .\n  ?village wdt:P131 wd:Q23148 .\n  ?village rdfs:label ?villageLabel\n  FILTER(LANG(?villageLabel) = \"en\")\n}\nLIMIT 10", "paraphrases": ["Can you list the villages in Cornwall that are classified as civil parishes?", "Show me the English-named settlements in Cornwall that are administrative civil parishes."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q532> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q23148> . } LIMIT 100"}}
{"id": "test_3311", "question": "Wesley Snipes English name, description, and image", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?description ?image WHERE {\n  OPTIONAL {\n    wd:Q189694 rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n  OPTIONAL {\n    wd:Q189694 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q189694 schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["What is Wesley Snipes' English name, his description, and his image on Wikimedia Commons?", "Show me Wesley Snipes' official English name, his short description in English, and his photo from Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q189694> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q189694> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q189694> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_3312", "question": "Items related to Canada as facets, with any qualifier properties used on their statements.", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?statement(SAMPLE(?qualifierProperty) AS ?qualifier) WHERE {\n  {\n    SELECT DISTINCT ?item ?statement WHERE {\n      ?statement ps:P1269 wd:Q16 .\n      ?item p:P1269 ?statement .\n    }\n    LIMIT 101\n  }\n  OPTIONAL {\n    ?statement ?qualifierProperty ?value .\n    ?qualifierProperty wikibase:qualifier true .\n  }\n}\nGROUP BY ?item ?statement", "paraphrases": ["What are the topics that are facets of Canada, and what qualifiers are attached to those statements?", "List up to 101 items that are aspects of Canada, along with any qualifier properties used on their statements."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P1269> <http://www.wikidata.org/entity/Q16> . ?var1 <http://www.wikidata.org/prop/P1269> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_3313", "question": "Image of the person with SNAC ARK ID w6c69d5x", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6c69d5x\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6c69d5x?", "Can you show me the Wikimedia Commons image for the entity identified by the SNAC ARK ID w6c69d5x?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6c69d5x\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3314", "question": "What is the English label and image of Adolf Hitler, and who is his spouse with their label and image?", "sparql": "SELECT ?personLabel ?personImage ?spouse ?spouseLabel ?spouseImage WHERE { wd:Q352 rdfs:label ?personLabel . FILTER (LANG(?personLabel) = \"en\") . OPTIONAL { wd:Q352 wdt:P18 ?personImage . } wd:Q352 wdt:P26 ?spouse . ?spouse rdfs:label ?spouseLabel . FILTER (LANG(?spouseLabel) = \"en\") . OPTIONAL { ?spouse wdt:P18 ?spouseImage . } } LIMIT 1", "paraphrases": ["Show me Adolf Hitler's English name, his photo, his spouse's name in English, and his spouse's photo.", "Retrieve the English name and image of Adolf Hitler along with the English name and image of his wife, Eva Braun."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P26> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . ?var3 <http://www.wikidata.org/prop/direct/P18> ?var4 . } FILTER ( ( CONTAINS ( LCASE ( ?var1Label ) , \"hitler\" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_3315", "question": "Scientists from France or the UK born after 1799 and died before 2018, with their gender, lifespan, and number of children.", "sparql": "SELECT ?person ?personLabel ?genderLabel ?countryLabel ?birthYear ?deathYear ?lifespan ?children ?occupationLabel WHERE { VALUES ?occupation { wd:Q901 wd:Q82594 wd:Q2374149 wd:Q18805 wd:Q1238570 wd:Q1265807 wd:Q116994205 wd:Q3015326 wd:Q13418253 } ?person wdt:P31 wd:Q5 . ?person wdt:P106 ?occupation . ?person wdt:P27 ?country . FILTER(?country = wd:Q142 || ?country = wd:Q145) ?person wdt:P569 ?birth . FILTER(YEAR(?birth) > 1799) ?person wdt:P570 ?death . FILTER(YEAR(?death) < 2018) ?person wdt:P21 ?gender . FILTER(?gender = wd:Q6581072 || ?gender = wd:Q6581097) OPTIONAL { ?person wdt:P1971 ?children } BIND(YEAR(?birth) AS ?birthYear) BIND(YEAR(?death) AS ?deathYear) BIND(?deathYear - ?birthYear AS ?lifespan) ?person rdfs:label ?personLabel . ?gender rdfs:label ?genderLabel . ?country rdfs:label ?countryLabel . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?personLabel) = \"en\") FILTER(LANG(?genderLabel) = \"en\") FILTER(LANG(?countryLabel) = \"en\") FILTER(LANG(?occupationLabel) = \"en\") } ORDER BY ?person LIMIT 100", "paraphrases": ["Who were the scientists, botanists, and naturalists from France or the UK who lived between 1800 and 2017, and how long did they live?", "List the names, genders, countries, lifespans, and number of children of male and female scientists from France or the UK who were born after 1799 and died before 2018."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11Label WHERE { BIND ( ( ( ?var5 - ?var4 ) /\"365.25\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) AS ?var8 ). BIND ( YEAR ( ?var4 ) AS ?var6 ). BIND ( YEAR ( ?var5 ) AS ?var7 ). BIND ( CONCAT ( STR ( ?var6 ) , \"string1\" ) AS ?var12 ). BIND ( ( ( <http://www.w3.org/2001/XMLSchema#dateTime> ( ?var4 ) - <http://www.w3.org/2001/XMLSchema#dateTime> ( ?var12 ) ) +\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var9 ). BIND ( CONCAT ( STR ( ?var7 ) , \"string1\" ) AS ?var13 ). BIND ( ( ( <http://www.w3.org/2001/XMLSchema#dateTime> ( ?var5 ) - <http://www.w3.org/2001/XMLSchema#dateTime> ( ?var13 ) ) +\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var10 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) ?var11 . FILTER ( ( ( ?var11 = <http://www.wikidata.org/entity/Q901> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P27> ?var3 . FILTER ( ( ( ?var3 = <http://www.wikidata.org/entity/Q145> ) || ( ?var3 = <http://www.wikidata.org/entity/Q142> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P1971> ?var14 . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . FILTER ( ( ( YEAR ( ?var4 ) > \"1799\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var5 . FILTER ( ( ( YEAR ( ?var5 ) < \"2018\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . FILTER ( ( ( ?var2 = <http://www.wikidata.org/entity/Q6581097> ) || ( ?var2 = <http://www.wikidata.org/entity/Q6581072> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_3316", "question": "Humans with \"Einstein\" in their name", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?human ?humanLabel WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human rdfs:label ?humanLabel .\n  FILTER ( REGEX( ?humanLabel , \"Einstein\" , \"i\" ) )\n}\nLIMIT 10", "paraphrases": ["Who are the humans whose names include \"Einstein\"?", "List all humans with \"Einstein\" in their label"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( REGEX ( ?var1Label , \"string1\", \"i\" ) ) ) . }"}}
{"id": "test_3317", "question": "What are Jan Wandelaar\u2019s occupations in Dutch?", "sparql": "SELECT ?occupationLabel ?occupation WHERE { wd:Q1682342 wdt:P106 ?occupation . ?occupation rdfs:label ?occupationLabel . FILTER (LANG(?occupationLabel) = \"nl\") }", "paraphrases": ["In Dutch, what terms describe the professions of Jan Wandelaar?", "What are the Dutch labels for the occupations of the 18th-century Dutch artist Jan Wandelaar?"], "info": {"raw_sparql": "SELECT ?var1Label ?var1 WHERE { <http://www.wikidata.org/entity/Q1682342> <http://www.wikidata.org/prop/direct/P106> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( ?var1Label = \"schrijver\" ) ) ) . FILTER ( ( ( \"nl\" = LANG ( ?var1Label ) ) ) ) . }"}}
{"id": "test_3318", "question": "Wikimedia categories with exactly one of these topics: burial place, birth place, death place, or person associated with the place, and their main subject entities.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ( STRAFTER( STR( ?category ) , STR( wd: ) ) AS ?categoryQ ) ( STRAFTER( STR( ?mainTopic ) , STR( wd: ) ) AS ?mainTopicQ ) WHERE {\n  VALUES ?topicType {\n    wd:Q12131650 wd:Q1322263 wd:Q18658526 wd:Q19660746\n  }\n  ?category wdt:P301 ?mainTopic ; wdt:P971 ?topicType . MINUS {\n    ?category wdt:P971 ?otherTopicType .\n    FILTER ( ?otherTopicType != ?topicType )\n  } MINUS {\n    ?category wdt:P31 wd:Q13406463 .\n  }\n}", "paraphrases": ["Which Wikimedia categories are associated with exactly one of the following: a person\u2019s burial location, birth place, death place, or a person associated with the place, and what is the main entity in each category?", "List all Wikimedia categories that classify people or places based on exactly one of these life-event associations \u2014 burial, birth, death, or general association \u2014 and show the main topic of each category."], "info": {"raw_sparql": "SELECT( STRAFTER ( STR ( ?var1 ) , STR ( <http://www.wikidata.org/entity/> ) ) AS ?var2 )( STRAFTER ( STR ( ?var3 ) , STR ( <http://www.wikidata.org/entity/> ) ) AS ?var4 )( STRAFTER ( STR ( ?var3 ) , STR ( <http://www.wikidata.org/entity/> ) ) AS ?var5 ) WHERE { VALUES ( ?var6 ) { ( <http://www.wikidata.org/entity/Q12131650> ) ( <http://www.wikidata.org/entity/Q1322263> ) ( <http://www.wikidata.org/entity/Q18658526> ) ( <http://www.wikidata.org/entity/Q19660746> ) } ?var1 <http://www.wikidata.org/prop/direct/P301> ?var3 ; <http://www.wikidata.org/prop/direct/P971> ?var6 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P971> ?var7 . FILTER ( ( ( ?var6 != ?var7 ) ) ) . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13406463> . } }"}}
{"id": "test_3319", "question": "Occupation of Walther Simon Joseph van Waterschoot van der Gracht", "sparql": "SELECT ?occupationLabel WHERE { wd:Q14517527 wdt:P106 ?occupation . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = \"en\") }", "paraphrases": ["What is the occupation of Walther Simon Joseph van Waterschoot van der Gracht?", "Tell me the profession of Walther Simon Joseph van Waterschoot van der Gracht."], "info": {"raw_sparql": "SELECT( \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var1 ) WHERE { <http://www.wikidata.org/entity/Q14517527> <http://www.wikidata.org/prop/direct/P106> ?var2 . FILTER ( ( EXISTS { <http://www.wikidata.org/entity/Q14517527> <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1622272> . } ) ) . }"}}
{"id": "test_3320", "question": "Who is Albert Einstein according to Wikidata?", "sparql": "SELECT ?person ?label WHERE { ?person wdt:P31 wd:Q5 . ?person rdfs:label ?label . FILTER(LANGMATCHES(LANG(?label), \"en\")) . FILTER(?label = \"Albert Einstein\"@en) } LIMIT 10", "paraphrases": ["What is the English label of the person named Albert Einstein in Wikidata?", "Show me the Wikidata entity and English label for Albert Einstein."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var2 <http://schema.org/names> \"string1\". FILTER ( ( LANGMATCHES ( LANG ( ?var2 ) , \"en\" ) ) ) . } LIMIT 10"}}
{"id": "test_3321", "question": "Living people born after 1900 with their birth names, ages, and images", "sparql": "SELECT DISTINCT ?birthName ?birthDate ?age ?image WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P569 ?birthDate . ?person wdt:P1477 ?birthName . OPTIONAL { ?person wdt:P18 ?image . } FILTER NOT EXISTS { ?person wdt:P570 ?deathDate } FILTER (DATATYPE(?birthDate) = xsd:dateTime) FILTER (YEAR(?birthDate) > 1900) BIND(2024 - YEAR(?birthDate) AS ?age) } LIMIT 10", "paraphrases": ["Who are the living people born after 1900, what are their birth names, how old are they, and do they have images on Wikimedia Commons?", "List the birth names, birth dates, ages (as of 2024), and images of all living humans born after 1900."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 WHERE { BIND ( FLOOR ( ( ( NOW ( ) - ?var2 ) /\"365.2425\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) ) AS ?var3 ). ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var5 <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var5 <http://www.wikidata.org/prop/direct/P1477> ?var1 . OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P18> ?var4 . } FILTER ( ( NOT EXISTS { ?var5 <http://www.wikidata.org/prop/direct/P570> ?var6 . } ) ) . FILTER ( ( ( DATATYPE ( ?var2 ) = <http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( YEAR ( ?var2 ) > \"1900\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . FILTER ( ( ( ?var3 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . }"}}
{"id": "test_3322", "question": "What are the occupations of Lodewijk Schelfhout?", "sparql": "SELECT ?occupation WHERE { wd:Q1867743 wdt:P106 ?occupation .}", "paraphrases": ["What jobs did the Dutch painter Lodewijk Schelfhout have?", "Can you list the professions associated with Lodewijk Schelfhout?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q1867743> <https://www.wikidata.org/wiki/Property:P106> ?var1 . }"}}
{"id": "test_3323", "question": "Who are some people who died of breast cancer?", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P509 wd:Q128581 . } LIMIT 100", "paraphrases": ["List individuals whose cause of death was breast cancer.", "Can you name people known to have died from breast cancer?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P509> <http://www.wikidata.org/entity/Q128581> . ?var1 <http://www.wikidata.org/prop/direct/P180> <http://www.wikidata.org/entity/Q662860> . } LIMIT 100"}}
{"id": "test_3324", "question": "What are the birth and death dates of Stanis\u0142aw Ra\u017cniewski?", "sparql": "SELECT ?name ?birthDate ?deathDate WHERE { wd:Q9342922 rdfs:label ?name . FILTER(LANG(?name) = \"en\") OPTIONAL { wd:Q9342922 wdt:P569 ?birthDate . } OPTIONAL { wd:Q9342922 wdt:P570 ?deathDate . } }", "paraphrases": ["Can you tell me the full name, birth date, and death date of the Polish mining engineer Stanis\u0142aw Ra\u017cniewski?", "When was Stanis\u0142aw Ra\u017cniewski born and when did he die?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q9342922> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3325", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt1646980?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipediaPage WHERE {\n  ?movie wdt:P345 \"tt1646980\" .\n  ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" )\n}", "paraphrases": ["Show me the Wikipedia articles in English and German about the film identified by tt1646980 on IMDb.", "Which Wikipedia pages in English or German describe the movie \"The Double\" (IMDb: tt1646980)?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1646980\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3326", "question": "What are the English and German Wikipedia pages and Commons category about the movie with IMDb ID tt0871426?", "sparql": "SELECT ?movie ?page ?imdbId WHERE { ?movie wdt:P345 \"tt0871426\" . ?page schema:about ?movie . { ?page schema:inLanguage \"en\" . } UNION { ?page schema:inLanguage \"de\" . } ?movie wdt:P345 ?imdbId . }", "paraphrases": ["Show me the language-specific pages related to the film Baby Mama on Wikipedia and Commons.", "Which pages in English or German describe the movie identified by the IMDb identifier tt0871426?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0871426\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3327", "question": "Friedrich Theodor Vischer labels in German, English, French, and Italian, his image, and English Wikipedia page.", "sparql": "SELECT ?label ?image ?coordinates ?wikipediaArticle WHERE { wd:Q651 rdfs:label ?label . FILTER (LANG(?label) IN (\"en\", \"de\", \"fr\", \"it\")) OPTIONAL { wd:Q651 wdt:P18 ?image . } OPTIONAL { wd:Q651 wdt:P625 ?coordinates . } ?wikipediaArticle schema:about wd:Q651 ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> . } ORDER BY ?label", "paraphrases": ["What are the names of Friedrich Theodor Vischer in different languages, along with his image and English Wikipedia article?", "Please provide the multilingual labels, image, and English Wikipedia link for the German philosopher Friedrich Theodor Vischer."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q651> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var7 ) ) ) . VALUES ( ?var7 ?var8 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q651> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q651> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q651> <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q651> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var8 )"}}
{"id": "test_3328", "question": "People who died after 2018 and their birthplace coordinates on English Wikipedia.", "sparql": "SELECT ?humanLabel ?birthPlaceCoordinates WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P570 ?deathDate . FILTER (?deathDate >= \"2018-01-01T00:00:00Z\"^^xsd:dateTime) . ?human wdt:P19 ?birthPlace . ?birthPlace wdt:P625 ?birthPlaceCoordinates . ?wikipediaPage schema:about ?human . ?wikipediaPage schema:isPartOf <https://en.wikipedia.org/> . ?human rdfs:label ?humanLabel . FILTER(LANG(?humanLabel) = \"en\") }", "paraphrases": ["Which humans died on or after January 1, 2018, and where were they born (as geographic coordinates)?", "Show me the names and birthplace coordinates of people who died in 2018 or later and have an English Wikipedia page."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . FILTER ( ( ( ?var3 >= \"2018-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P625> ?var2 . ?var5 <http://schema.org/about> ?var1 . ?var5 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3329", "question": "Labels, Wikipedia links, image, and coordinates for Franz Ernst Heinrich Spitzner in German, English, and Italian.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?label ?image ?coordinates ?wikipediaArticle WHERE {\n  wd:Q96532 rdfs:label ?label .\n  FILTER(LANG(?label) IN(\"en\" , \"de\" , \"fr\" , \"it\"))\n  OPTIONAL {\n    wd:Q96532 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q96532 wdt:P625 ?coordinates .\n  }\n  BIND(LANG(?label) AS ?lang)\n  ?wikipediaArticle schema:about wd:Q96532 ; schema:inLanguage ?lang ; schema:isPartOf [ wikibase:wikiGroup \"wikipedia\" ] .\n  FILTER(STRSTARTS(STR(?wikipediaArticle) , \"https://\"))\n}\nORDER BY ?lang", "paraphrases": ["What are the labels and corresponding Wikipedia articles for Franz Ernst Heinrich Spitzner in German, English, and Italian, along with his image and coordinates?", "Show me the name, Wikipedia page, image, and location of Franz Ernst Heinrich Spitzner in German, English, and Italian."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q96532> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var7 ) ) ) . VALUES ( ?var7 ?var8 ) { ( \"it\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q96532> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q96532> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"it\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q96532> <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q96532> ; <http://schema.org/inLanguage> \"it\"; <http://schema.org/isPartOf> <https://it.wikipedia.org/> . } } ORDER BY ASC( ?var8 )"}}
{"id": "test_3330", "question": "What are the English and German Wikipedia articles about the movie with IMDb ID tt0364045?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipediaArticle WHERE {\n  ?item wdt:P345 \"tt0364045\" .\n  ?wikipediaArticle schema:about ?item ; schema:inLanguage ?lang .\n  FILTER(?lang IN(\"en\" , \"de\"))\n}", "paraphrases": ["Show me the Wikipedia pages in English and German for the film identified by the IMDb identifier tt0364045.", "Which Wikipedia articles in English or German discuss the movie Taking Lives?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0364045\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3331", "question": "How many humans died in January 2017, grouped by year?", "sparql": "SELECT ?deathYear (COUNT(?human) AS ?count) WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P570 ?deathDate . BIND( STR(YEAR(?deathDate)) AS ?deathYear ) FILTER( ?deathDate >= \"2017-01-01\"^^xsd:date && ?deathDate < \"2017-02-01\"^^xsd:date ) } GROUP BY ?deathYear", "paraphrases": ["What is the count of human deaths in January 2017?", "How many people died in the first month of 2017 according to Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P569> ?var4 . } BIND ( STR ( YEAR ( ?var5 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P570> ?var5 . FILTER ( ( ( ?var5 >= \"2017-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var5 < \"2017-02-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1"}}
{"id": "test_3332", "question": "Image of the person with SNAC ARK ID w6t46n8c", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6t46n8c\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image of Cardinal Bernardino Spada in Wikimedia Commons?", "Show me the Wikimedia Commons image linked to the SNAC ARK ID w6t46n8c."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6t46n8c\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3333", "question": "What are the labels for Jean-Michel Jarre in different languages, along with his image and German Wikipedia link?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?image ?wikipedia WHERE {\n  wd:Q104326 rdfs:label ?label .\n  FILTER ( LANG( ?label ) IN ( 'de' , 'en' , 'fr' , 'it' ) ) OPTIONAL {\n    wd:Q104326 wdt:P18 ?image .\n  }\n  BIND( URI( 'https://de.wikipedia.org/wiki/Jean-Michel_Jarre' ) AS ?wikipedia )\n}\nORDER BY ?label", "paraphrases": ["Can you show me Jean-Michel Jarre's name in German, English, French, and Italian, his image from Wikimedia Commons, and his German Wikipedia page?", "I'd like to see Jean-Michel Jarre's multilingual labels, his official image, and the link to his German Wikipedia article."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q104326> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var7 ) ) ) . VALUES ( ?var7 ?var8 ) { ( \"de\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q104326> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q104326> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"de\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q104326> <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q104326> ; <http://schema.org/inLanguage> \"de\"; <http://schema.org/isPartOf> <https://de.wikipedia.org/> . } } ORDER BY ASC( ?var8 )"}}
{"id": "test_3334", "question": "What are some places located in Helsinki or its districts, and where are they located?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item ?itemLabel ?adminLabel ?coord WHERE {\n  ?item wdt:P131 ?admin .\n  ?admin wdt:P131 wd:Q1757 .\n  OPTIONAL {\n    ?item wdt:P625 ?coord .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n  OPTIONAL {\n    ?admin rdfs:label ?adminLabel .\n    FILTER(LANG(?adminLabel) = \"zh-hans\")\n  }\n}\nGROUP BY ?item ?itemLabel ?adminLabel ?coord\nORDER BY ASC(?itemLabel)\nLIMIT 10", "paraphrases": ["Can you list the English names of neighborhoods in Helsinki along with their Chinese administrative labels and coordinates?", "Show me geolocated items in Helsinki\u2019s administrative subdivisions with their English names."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ( SAMPLE ( ?var2 ) AS ?var2 )( SAMPLE ( ?var2Label ) AS ?var2Label )( SAMPLE ( ?var3 ) AS ?var3 )( SAMPLE ( ?var4 ) AS ?var4 ) ?var5 ?var5Label ?var6 ?var6Label ?var7 ?var7Label WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var2 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q1757> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . ?var1 <http://www.wikidata.org/prop/P1435> ?var8 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . } OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( LANG ( ?var2Label ) IN ( \"zh-hans\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P149> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P84> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"zh-hans,en,fi,sv\". } } GROUP BY ?var1 ?var1Label ?var5 ?var5Label ?var6 ?var6Label ?var7 ?var7Label ORDER BY ASC( ?var1Label )"}}
{"id": "test_3335", "question": "Who were born or died in Berthierville, Quebec, and what are their birth and death dates?", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { ?person wdt:P31 wd:Q5 ; (wdt:P19|wdt:P20) wd:Q139046 . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } ?person rdfs:label ?personLabel . }", "paraphrases": ["List all people associated with Berthierville through birth or death, including when they were born and died.", "Can you tell me the names, birth dates, and death dates of people from Berthierville?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q139046> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3336", "question": "Who was born in Saint-Maurice-la-Clou\u00e8re, and when were they born and died?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?personLabel ?dateOfBirth ?dateOfDeath WHERE {\n  ?person wdt:P19 wd:Q1604168 .\n  ?person wdt:P31 wd:Q5 .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) .\n  OPTIONAL {\n    ?person wdt:P569 ?dateOfBirth .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?dateOfDeath .\n  }\n}", "paraphrases": ["List people from Saint-Maurice-la-Clou\u00e8re with their birth and death dates.", "What are the birth and death dates of individuals born in the French commune of Saint-Maurice-la-Clou\u00e8re?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q1604168> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3337", "question": "Who are the known humans with Y-DNA haplogroup J1, and when were they born and died?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?humanLabel ?birthDate ?deathDate WHERE {\n  ?human wdt:P4426 wd:Q4118590 ; wdt:P31 wd:Q5 .\n  ?human rdfs:label ?humanLabel .\n  FILTER ( LANG( ?humanLabel ) = \"en\" ) OPTIONAL {\n    ?human wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?human wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["Can you list the names of people who belong to haplogroup J1 along with their birth and death dates?", "Which historical figures are associated with the J1 Y-chromosome haplogroup, and what are their lifespans?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q4118590> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3338", "question": "Image of Dominikus B\u00f6hm with SNAC ARK ID w61k10dr", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w61k10dr\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w61k10dr?", "Show me the Wikimedia Commons image for the entity identified by SNAC ARK ID w61k10dr."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w61k10dr\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3339", "question": "What are all the categories and their broader classifications that the liturgical hymn \"Dies Irae\" belongs to, and which of them have English Wikipedia pages?", "sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { wd:Q83771 wdt:P31 ?class . ?class wdt:P279* ?var1 . OPTIONAL { ?var2 schema:about ?var1 . ?var2 schema:isPartOf <https://en.wikipedia.org/> . } OPTIONAL { ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") } }", "paraphrases": ["Show me the English labels and Wikipedia links for all classes that \"Dies Irae\" is an instance of or is a subclass of.", "Which Wikipedia articles describe the types of things that \"Dies Irae\" is an example of, including its broader categories?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q83771> ( <http://www.wikidata.org/prop/direct/P31> ?/ <http://www.wikidata.org/prop/direct/P279> *) ?var1 . OPTIONAL { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3340", "question": "Image of the person with SNAC ARK ID w6vh5qp9", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6vh5qp9\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What image is linked to the SNAC ARK ID w6vh5qp9?", "Can you show me the Wikimedia Commons image for the archival record identified by SNAC ARK ID w6vh5qp9?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6vh5qp9\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3341", "question": "Countries with Italian labels and descriptions", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?country ?countryLabel ?countryDescription WHERE {\n  ?country wdt:P31 wd:Q3624078 .\n  ?country rdfs:label ?countryLabel .\n  ?country schema:description ?countryDescription .\n  FILTER(LANG(?countryLabel) = \"it\")\n  FILTER(LANG(?countryDescription) = \"it\")\n}\nLIMIT 100", "paraphrases": ["Which countries have both an Italian label and an Italian description on Wikidata?", "List countries that are described and labeled in Italian."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/17> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"it\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"it\" ) ) ) . } LIMIT 100"}}
{"id": "test_3342", "question": "What is the German Wikipedia page for the movie with IMDb ID tt6771054?", "sparql": "SELECT ?item ?wikipediaPage WHERE { VALUES ?imdbId { \"tt6771054\" } ?item wdt:P345 ?imdbId . ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Can you find the English or German Wikipedia articles for the film identified by tt6771054 on IMDb?", "Which Wikipedia pages are linked to the movie \"Murder by the Lake: Till Death Do Them Part\" on IMDb?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6771054\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3343", "question": "What is the English or German Wikipedia page for the film with IMDb ID tt6794424?", "sparql": "SELECT ?item ?wikipediaPage WHERE { VALUES ?imdbId { \"tt6794424\" } ?item wdt:P345 ?imdbId . ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Which Wikipedia articles in English or German are about the movie with IMDb identifier tt6794424?", "Show me the Wikipedia links in English or German for the documentary LA 92, identified by its IMDb ID tt6794424."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6794424\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3344", "question": "Humans with their birth place, death place, and elevation of death location", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?human ?humanLabel ?birthPlace ?birthPlaceLabel ?deathPlace ?deathPlaceLabel ?elevation WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human wdt:P19 ?birthPlace .\n  ?human wdt:P20 ?deathPlace .\n  ?deathPlace wdt:P2044 ?elevation .\n  ?human rdfs:label ?humanLabel .\n  ?birthPlace rdfs:label ?birthPlaceLabel .\n  ?deathPlace rdfs:label ?deathPlaceLabel .\n  FILTER(LANG(?humanLabel) = \"en\")\n  FILTER(LANG(?birthPlaceLabel) = \"en\")\n  FILTER(LANG(?deathPlaceLabel) = \"en\")\n}\nLIMIT 20", "paraphrases": ["What are the birth places, death places, and elevations above sea level of human beings?", "Show me a list of humans along with where they were born, where they died, and the elevation of their death location in meters."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P19> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P17> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P20> ?var3 . ?var3 <http://www.wikidata.org/prop/P2044> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/value-normalized/P2044> ?var4 . } LIMIT 20"}}
{"id": "test_3345", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt6799506?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipediaPage ?imdbId WHERE {\n  ?item wdt:P345 \"tt6799506\" .\n  ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" ) BIND( \"tt6799506\" AS ?imdbId )\n}", "paraphrases": ["Which Wikipedia articles in English or German are about the film identified by IMDb ID tt6799506?", "Show me the Wikipedia pages in English or German that describe the movie with IMDb ID tt6799506, along with its IMDb identifier."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6799508\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3346", "question": "How many people born in 1935 died at each age?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?age(COUNT(?person) AS ?count) WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P569 ?birth .\n  ?person wdt:P570 ?death .\n  BIND(YEAR(?death) - YEAR(?birth) AS ?age)\n  FILTER(YEAR(?birth) = 1935 && ?death > ?birth && ?age <= 150)\n}\nGROUP BY ?age\nORDER BY ?age", "paraphrases": ["What is the distribution of ages at death for people born in 1935?", "Show me a count of how many people born in 1935 lived to each age, up to 90 years old."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } BIND ( <http://www.w3.org/2001/XMLSchema#integer> ( ( ( ?var3 - ?var4 ) /\"365\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var1 ). ?var5 <http://www.wikidata.org/prop/direct/P569> ?var4 . ?var5 <http://www.wikidata.org/prop/direct/P570> ?var3 . ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . FILTER ( ( ( YEAR ( ?var4 ) = \"1935\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( YEAR ( ?var3 ) > YEAR ( ?var4 ) ) && BOUND ( ?var1 ) ) ) . } GROUP BY ?var1"}}
{"id": "test_3347", "question": "What are the English and German language Wikipedia or Commons pages about the movie with IMDb ID tt0053619?", "sparql": "SELECT ?movie ?page WHERE { VALUES ?imdbId { \"tt0053619\" } ?movie wdt:P345 ?imdbId . ?page schema:about ?movie . ?page schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Show me the pages in English and German that are about the film 'L'Avventura'.", "Which language-specific pages link to the movie identified by tt0053619 on IMDb?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0053619\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3348", "question": "How many people died in 1958 according to Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?deathYear ( COUNT( ?person ) AS ?deathCount ) WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P570 ?deathDate .\n  BIND( YEAR( ?deathDate ) AS ?deathYear ) FILTER ( YEAR( ?deathDate ) = 1958 )\n}\nGROUP BY ?deathYear", "paraphrases": ["Can you tell me the number of humans who passed away in the year 1958?", "What is the total count of recorded human deaths in 1958?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P569> ?var4 . } BIND ( STR ( YEAR ( ?var5 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P570> ?var5 . FILTER ( ( ( ?var5 >= \"1958-01-02\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var5 < \"1958-07-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1"}}
{"id": "test_3349", "question": "People born between 1452 and 1519 who lived 10 to 100 years.", "sparql": "SELECT ?person ?personLabel ?birth ?death ?age WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P569 ?birth . ?person wdt:P570 ?death . BIND( ( YEAR(?death) - YEAR(?birth) ) AS ?age ) . FILTER ( ?age >= 10 && ?age <= 100 ) . FILTER ( ?birth >= \"1452-04-15\"^^xsd:date && ?death <= \"1519-05-02\"^^xsd:date ) . ?person rdfs:label ?personLabel . FILTER ( lang(?personLabel) = \"en\" ) }", "paraphrases": ["Who were the humans that lived between 10 and 100 years and died between 1452 and 1519?", "List all historical figures born after April 15, 1452 and died before May 2, 1519, who lived at least 10 years but less than a century."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { BIND ( ( YEAR ( ?var4 ) - YEAR ( ?var3 ) ) AS ?var5 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . FILTER ( ( ( ?var5 > \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( ?var5 < \"100\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . FILTER ( ( ( ?var3 > \"1452-04-15\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var4 < \"1519-05-02\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } }"}}
{"id": "test_3350", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt3093546?", "sparql": "SELECT ?item ?wikipediaPage ?imdbId WHERE { ?item wdt:P345 ?imdbId . ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") FILTER(?imdbId = \"tt3093546\") }", "paraphrases": ["Find the Wikipedia articles in English or German about the film identified by IMDb ID tt3093546.", "Which Wikipedia pages in English or German discuss the movie Listen Up Philip, and what is its IMDb ID?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt3093546\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3351", "question": "Image of the person with SNAC ARK ID w6nx04wb", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6nx04wb\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6nx04wb?", "Can you find the Wikimedia Commons image for the individual identified by the SNAC ARK ID w6nx04wb?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6nx04wb\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3352", "question": "Image of the person with SNAC ARK ID w68p76p9", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w68p76p9\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w68p76p9?", "Show me the Wikimedia Commons image for the individual identified by SNAC ARK ID w68p76p9."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w68p76p9\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3353", "question": "Who are some notable people born or died in Leith, Scotland, and what are their birth and death dates?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  ?person wdt:P31 wd:Q5 .\n  FILTER ( EXISTS {\n    ?person wdt:P19 wd:Q1018540\n  }\n  || EXISTS {\n    ?person wdt:P20 wd:Q1018540\n  }\n  ) OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}", "paraphrases": ["List English-labeled humans associated with Leith, including their birth and death dates.", "Can you tell me about people linked to Leith through birth or death, along with their dates of birth and death?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q1018540> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3354", "question": "What are 101 works written in Hungarian, and what type are their language statements?", "sparql": "SELECT ?work ?statement (\"wikibase:Statement\" AS ?systemType) WHERE { ?work p:P407 ?statement . ?statement ps:P407 wd:Q9067 . } LIMIT 101", "paraphrases": ["Show me up to 101 creative works in the Hungarian language and confirm that their language statements are standard Wikidata statements.", "List entities associated with the Hungarian language and describe the nature of their language statements."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P407> <http://www.wikidata.org/entity/Q9067> . ?var1 <http://www.wikidata.org/prop/P407> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_3355", "question": "Image of the person with SNAC ARK ID w60p27mf", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w60p27mf\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w60p27mf?", "Can you show me the Wikimedia Commons image of Gyula D\u00e1vid, identified by the SNAC ARK ID w60p27mf?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w60p27mf\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3356", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt2232578?", "sparql": "SELECT ?wikipediaPage ?imdbId WHERE { ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang . ?movie wdt:P345 ?imdbId . FILTER(?lang = \"en\" || ?lang = \"de\") FILTER(?imdbId = \"tt2232578\") }", "paraphrases": ["Show me the Wikipedia articles in English or German about the film identified by tt2232578 on IMDb.", "Which Wikipedia pages in English or German are about the movie with IMDb identifier tt2232578?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2232578\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3357", "question": "Who is Francesco Squarcione, a human in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?item WHERE {\n  ?item rdfs:label \"Francesco Squarcione\" @en .\n  ?item wdt:P31 wd:Q5 .\n}", "paraphrases": ["What is the Wikidata item for the Italian painter Francesco Squarcione?", "Find the human entity in Wikidata whose English label is 'Francesco Squarcione'."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"squercioni\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3358", "question": "Jun Tae-soo's date of birth and date of death", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  BIND( wd:Q6420543 AS ?person ) .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) .\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["When was the South Korean actor Jun Tae-soo born and when did he die?", "Can you provide the birth and death dates of Jun Tae-soo, the South Korean actor?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q6420543> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3359", "question": "Image of Bernard Maybeck with SNAC ARK ID w6th8wr3", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6th8wr3\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Bernard Maybeck in Wikidata, given his SNAC ARK ID is w6th8wr3?", "Show me the Wikimedia Commons image of the person identified by the SNAC ARK ID w6th8wr3."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6th8wr3\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3360", "question": "Humans born in 1793 whose names end in \"Clare\"", "sparql": "SELECT ?person WHERE { ?person wdt:P31 wd:Q5 . ?person rdfs:label ?label . ?person wdt:P569 ?birthDate . FILTER ( YEAR(?birthDate) = 1793 ) FILTER ( STRENDS( STR(?label), \"Clare\" ) ) }", "paraphrases": ["Who were the people born in 1793 with \"Clare\" at the end of their name?", "List all humans born in 1793 whose English labels end with \"Clare\"."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . FILTER ( ( ( YEAR ( ?var3 ) = \"1793\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . FILTER ( ( STRENDS ( STR ( ?var2 ) , \"Clare\"@en ) ) ) . }"}}
{"id": "test_3361", "question": "Wikipedia pages in English and German about the movie with IMDb ID tt1204773.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipedia_page WHERE {\n  ?movie wdt:P345 \"tt1204773\" .\n  ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" )\n}", "paraphrases": ["What are the English and German Wikipedia pages for the movie identified by IMDb ID tt1204773?", "Show me the English and German Wikipedia articles for the film with IMDb ID tt1204773."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1204773\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3362", "question": "Labels, image, and Wikipedia links for Madonna Buder in English, German, and French.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?label ?image ?coordinates ?wikipediaArticle WHERE {\n  VALUES ?lang {\n    \"en\" \"de\" \"fr\" \"it\"\n  }\n  wd:Q602173 rdfs:label ?label .\n  FILTER(LANG(?label) = ?lang)\n  OPTIONAL {\n    wd:Q602173 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q602173 wdt:P625 ?coordinates .\n  }\n  ?wikipediaArticle schema:about wd:Q602173 ; schema:inLanguage ?lang ; schema:isPartOf [ wikibase:wikiGroup \"wikipedia\" ] .\n}\nORDER BY ?lang", "paraphrases": ["What are the labels, image, and corresponding Wikipedia articles for Madonna Buder in English, German, and French?", "Show me Madonna Buder\u2019s name in English, German, and French, along with her image and the Wikipedia page in each language."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q602173> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var5 ) ) ) . VALUES ( ?var5 ?var6 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q602173> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q602173> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q602173> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var6 )"}}
{"id": "test_3363", "question": "What are the birth and death dates of the South Korean comedian Choi Seo-in?", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { wd:Q18203706 rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") . OPTIONAL { wd:Q18203706 wdt:P569 ?birthDate . } OPTIONAL { wd:Q18203706 wdt:P570 ?deathDate . } }", "paraphrases": ["Choi Seo-in birth date and death date", "Can you tell me when Choi Seo-in was born and when he passed away?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q18203706> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3364", "question": "What are the birth and death dates of Lord Charles Bruce?", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { BIND( wd:Q6679038 AS ?person ) . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } }", "paraphrases": ["When was Lord Charles Bruce born and when did he die?", "Can you tell me the life span of Lord Charles Bruce, including his birth and death years?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q6679038> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3365", "question": "What are the birth and death dates of Jeongjo of Joseon?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  BIND( wd:Q26530 AS ?person ) .\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANGMATCHES( LANG( ?personLabel ) , \"en\" ) )\n}", "paraphrases": ["Can you tell me when Jeongjo of Joseon was born and when he died?", "Show me the English name, birth date, and death date of the 22nd King of Joseon."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q26530> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3366", "question": "What are the English and German Wikipedia articles about the film with IMDb ID tt3689498?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?film ?wikipedia_page WHERE {\n  ?film wdt:P345 \"tt3689498\" .\n  ?wikipedia_page schema:about ?film ; schema:inLanguage ?lang .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n}", "paraphrases": ["Find the Wikipedia pages in English and German for the Disney short film Feast (IMDb: tt3689498).", "Which Wikipedia articles in English and German discuss the movie identified by tt3689498 on IMDb?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt3689498\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3367", "question": "Rabbis who died in 1823", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P106 wd:Q133485 .\n  ?person wdt:P570 ?deathDate .\n  FILTER ( YEAR( ?deathDate ) = 1823 ) .\n  OPTIONAL {\n    ?person rdfs:label ?personLabel .\n    FILTER ( LANG( ?personLabel ) = \"en\" )\n  }\n}", "paraphrases": ["Who were the rabbis that died in the year 1823?", "List the English names of all rabbis whose date of death was in 1823."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/prop/direct/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q133485> . ?var1 <http://www.wikidata.org/prop/direct/P570> \"1823\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_3368", "question": "Image of Allen W. Dulles with SNAC ARK ID w6vd730m", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6vd730m\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6vd730m?", "Show me the Wikimedia Commons image for the entity identified by SNAC ARK ID w6vd730m."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6vd730m\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3369", "question": "Who died at Saqsaywaman, and when?", "sparql": "SELECT ?person ?dateOfDeath ?placeOfDeath ?placeOfDeathLabel ?nativeName WHERE { ?person wdt:P20 wd:Q828336 . OPTIONAL { ?person wdt:P570 ?dateOfDeath . } OPTIONAL { ?person wdt:P1559 ?nativeName . } wd:Q828336 rdfs:label ?placeOfDeathLabel . FILTER(LANG(?placeOfDeathLabel) = \"en\") }", "paraphrases": ["What is the native name of Francisco de Carvajal, and where did he die?", "Can you list people who died at the Saqsaywaman archaeological site, including their date of death and native name?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var3Label ?var4 ?var5 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P20> <http://www.wikidata.org/entity/Q828336> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P20> ?var3 . } ?var3 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q828336> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1559> ?var4 . } }"}}
{"id": "test_3370", "question": "Humans who died by burning", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?human WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human wdt:P509 wd:Q468455 .\n}", "paraphrases": ["Which humans had death by burning as their cause of death?", "List all people who were executed by burning."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P1196> <http://www.wikidata.org/entity/Q468455> . }"}}
{"id": "test_3371", "question": "Image of the person with SNAC ARK ID w6xs6bk5", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6xs6bk5\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the Wikimedia Commons image associated with the SNAC ARK ID w6xs6bk5?", "Show me the photo of the individual identified by the SNAC ARK ID w6xs6bk5."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6xs6bk5\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3372", "question": "Image of Lee DuBridge with SNAC ARK ID w6445nx9", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6445nx9\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with Lee DuBridge, who has the SNAC ARK ID w6445nx9?", "Show me the Wikimedia Commons image of the person identified by the SNAC ARK ID w6445nx9."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6445nx9\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3373", "question": "What is the English or German Wikipedia page for the IMDb movie 'tt6522678'?", "sparql": "SELECT ?item ?wikipediaPage WHERE { ?item wdt:P345 \"tt6522678\" . ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Which Wikipedia articles in English or German are about the documentary with IMDb ID tt6522678?", "Show me the English or German Wikipedia links for the film 'Menendez: Blood Brothers' identified by IMDb ID tt6522678."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6522678\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3374", "question": "Image of Ron Jeremy with SNAC ARK ID w64r167n", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w64r167n\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the Wikimedia Commons image associated with the SNAC ARK ID w64r167n?", "Show me the picture of the person identified by the SNAC ARK ID w64r167n."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w64r167n\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3375", "question": "Number of people born between February 21 and March 20 in Wikidata", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT(COUNT(*) AS ?count) WHERE {\n  ?person wdt:P569 ?birthDate .\n  FILTER((MONTH(?birthDate) = 2 && DAY(?birthDate) >= 21) ||(MONTH(?birthDate) = 3 && DAY(?birthDate) <= 20))\n}", "paraphrases": ["How many people have a birth date in the Pisces zodiac period (February 21 to March 20)?", "Count the number of individuals in Wikidata whose birthday falls between February 21 and March 20."], "info": {"raw_sparql": "SELECT( COUNT (* ) AS ?var1 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P569> ?var3 . FILTER ( ( ( MONTH ( ?var3 ) = \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( DAY ( ?var3 ) >= \"21\"^^<http://www.w3.org/2001/XMLSchema#integer> ) || ( MONTH ( ?var3 ) = \"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( DAY ( ?var3 ) <= \"20\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . }"}}
{"id": "test_3376", "question": "What are the types of cancer that caused deaths after 1960, and how many people died from each, along with a representative year of death?", "sparql": "SELECT ?causeOfDeathLabel (STR(SAMPLE(?year)) AS ?yearOfDeath) (COUNT(*) AS ?deathCount) WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P509 ?causeOfDeath . ?causeOfDeath wdt:P279* wd:Q12078 . ?person wdt:P570 ?deathDate . BIND(YEAR(?deathDate) AS ?year) . OPTIONAL { ?causeOfDeath rdfs:label ?causeOfDeathLabel . FILTER(LANG(?causeOfDeathLabel) = \"en\") } FILTER(BOUND(?causeOfDeathLabel)) FILTER(?year > 1960) } GROUP BY ?causeOfDeath ?causeOfDeathLabel", "paraphrases": ["Show me the most common cancer-related causes of death since 1960, including the year and count of deaths, using English labels.", "Which cancers have been the cause of death for humans after 1960, and how many people died from each? Include the year and the cancer name in English."], "info": {"raw_sparql": "SELECT ?var1 ( STR ( SAMPLE ( ?var2 ) ) AS ?var2 )( COUNT (* ) AS ?var3 ) ?var4 WHERE { ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var5 <http://www.wikidata.org/prop/direct/P509> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q12078> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } BIND ( YEAR ( ?var6 ) AS ?var2 ). ?var5 <http://www.wikidata.org/prop/direct/P570> ?var6 . FILTER ( ( BOUND ( ?var4 ) ) ) . FILTER ( ( BOUND ( ?var2 ) ) ) . FILTER ( ( ( ?var2 > \"1960\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } GROUP BY ?var1 ?var4"}}
{"id": "test_3377", "question": "Who died in December 1977?", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person WHERE {\n  ?person wdt:P570 ?deathDate .\n  FILTER ( ?deathDate >= \"1977-12-01T00:00:00Z\" ^^ xsd:dateTime && ?deathDate <= \"1977-12-31T23:59:59Z\" ^^ xsd:dateTime )\n}", "paraphrases": ["List of people who died in December 1977", "Can you provide the names of all individuals whose date of death was in December 1977?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . FILTER ( ( ( ?var2 >= \"1977-12-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1977-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_3378", "question": "What properties are used to describe the Acropolis of Athens?", "sparql": "SELECT ?prop ?propLabel WHERE { wd:Q131013 ?prop ?value . FILTER(STRSTARTS(STR(?prop), \"http://www.wikidata.org/prop/direct/\")) . BIND(IRI(REPLACE(STR(?prop), \"http://www.wikidata.org/prop/direct/\", \"http://www.wikidata.org/entity/\")) AS ?propEntity) . ?propEntity rdfs:label ?propLabel . FILTER(LANG(?propLabel) = \"en\") } LIMIT 100", "paraphrases": ["List the English labels of all properties associated with the Acropolis of Athens in Wikidata.", "Which attributes are assigned to the Acropolis of Athens, and what are their names in English?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P1963> <http://www.wikidata.org/entity/Q131013> . } LIMIT 100"}}
{"id": "test_3379", "question": "List all currently active MediaWiki extensions.", "sparql": "SELECT ?extension WHERE { ?extension wdt:P31 wd:Q6805426 . FILTER NOT EXISTS { ?extension pq:P582 ?endTime . } }", "paraphrases": ["Which MediaWiki extensions are still in use and have not been discontinued?", "Show me the names of all MediaWiki extensions that are still active (i.e., do not have an end date)."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6805426> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/qualifier/P582> ?var2 . } ) ) . }"}}
{"id": "test_3380", "question": "What is the English Wikipedia page for the movie with IMDb ID tt2158686?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipediaPage WHERE {\n  ?item wdt:P345 \"tt2158686\" .\n  ?wikipediaPage schema:about ?item .\n  {\n    ?wikipediaPage schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipediaPage schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Can you find the Wikipedia pages in English or German for the film identified by tt2158686 on IMDb?", "Which Wikipedia articles are linked to the IMDb entry tt2158686, and in which languages are they available?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2158686\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3381", "question": "What are the labels for the Cippus Perusinus in English, German, French, and Italian, along with its image and geographic coordinates?", "sparql": "SELECT ?label ?image ?coordinates WHERE { wd:Q1229173 rdfs:label ?label . FILTER (LANG(?label) IN (\"en\", \"de\", \"fr\", \"it\")) OPTIONAL { wd:Q1229173 wdt:P18 ?image . } OPTIONAL { wd:Q1229173 wdt:P625 ?coordinates . } } ORDER BY ?label", "paraphrases": ["Show me the different language names for the Cippus Perusinus monument, its associated image from Wikimedia Commons, and its location coordinates.", "Retrieve the multilingual labels, image, and coordinates for the Cippus Perusinus Etruscan stone tablet."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q1229173> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var12 ) ) ) . VALUES ( ?var12 ?var13 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q1229173> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q1229173> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q1229173> <http://www.wikidata.org/prop/direct/P1651> ?var5 . } OPTIONAL { <http://www.wikidata.org/entity/Q1229173> <http://www.wikidata.org/prop/direct/P2037> ?var6 . } OPTIONAL { <http://www.wikidata.org/entity/Q1229173> <http://www.wikidata.org/prop/direct/P2002> ?var7 . } OPTIONAL { <http://www.wikidata.org/entity/Q1229173> <http://www.wikidata.org/prop/direct/P2013> ?var8 . } OPTIONAL { <http://www.wikidata.org/entity/Q1229173> <http://www.wikidata.org/prop/direct/P2003> ?var9 . } OPTIONAL { <http://www.wikidata.org/entity/Q1229173> <http://www.wikidata.org/prop/direct/P856> ?var10 . } OPTIONAL { <http://www.wikidata.org/entity/Q1229173> <http://www.wikidata.org/prop/direct/P496> ?var11 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q1229173> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var13 )"}}
{"id": "test_3382", "question": "People and their places and dates of death", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?person ?personLabel ?placeOfDeath ?dateOfDeath WHERE {\n  ?person p:P20 ?statement .\n  ?statement ps:P20 ?placeOfDeath .\n  ?statement pq:P585 ?dateOfDeath .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}\nLIMIT 20", "paraphrases": ["Who are some people, where did they die, and when did they die?", "List the names of deceased individuals along with the locations and dates of their deaths, in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/P20> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P20> ?var2 . ?var4 <http://www.wikidata.org/prop/qualifier/P585> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10000"}}
{"id": "test_3383", "question": "Who died in 1806?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?person ?personLabel WHERE {\n  ?person wdt:P570 ?deathDate .\n  FILTER(?deathDate >= \"1806-01-01T00:00:00Z\" ^^ xsd:dateTime && ?deathDate <= \"1806-12-31T23:59:59Z\" ^^ xsd:dateTime)\n  OPTIONAL {\n    ?person rdfs:label ?personLabel .\n    FILTER(LANG(?personLabel) = \"en\")\n  }\n}", "paraphrases": ["List the names of people who passed away in the year 1806.", "Which historical figures died in 1806?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . FILTER ( ( ( ?var2 >= \"1806-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1806-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_3384", "question": "How many times is the temporal range start property (P523) used in statements, references, and qualifiers on Wikidata, and what are their ranks?", "sparql": "PREFIX pr: <http://www.wikidata.org/prop/reference/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?usageType ?rank ?count WHERE {\n  {\n    SELECT ( wikibase:statementProperty AS ?usageType ) ?rank ( COUNT( DISTINCT ?item ) AS ?count ) WHERE {\n      ?item p:P523 ?statement .\n      ?statement wikibase:rank ?rank .\n    }\n    GROUP BY ?rank\n  } UNION {\n    SELECT ( wikibase:reference AS ?usageType ) ?rank ( COUNT( DISTINCT ?item ) AS ?count ) WHERE {\n      ?item pr:P523 ?ref .\n      BIND( \"\" AS ?rank )\n    }\n    GROUP BY ?rank\n  } UNION {\n    SELECT ( wikibase:qualifier AS ?usageType ) ?rank ( COUNT( DISTINCT ?item ) AS ?count ) WHERE {\n      ?item pq:P523 ?qual .\n      BIND( \"\" AS ?rank )\n    }\n    GROUP BY ?rank\n  }\n}\nORDER BY DESC ( ?usageType ) DESC ( ?count ) ASC ( ?rank )", "paraphrases": ["Break down the usage of P523 by type (statement, reference, qualifier) and rank, showing counts for each.", "What are the counts of statements using P523 grouped by rank, along with the number of references and qualifiers that use it?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { { SELECT( <http://wikiba.se/ontology#statementProperty> AS ?var1 )( COUNT ( DISTINCT ?var5 ) AS ?var3 )( COUNT ( ?var6 ) AS ?var4 ) WHERE { ?var5 <http://www.wikidata.org/prop/P523> ?var6 . } } UNION { SELECT( <http://wikiba.se/ontology#statementProperty> AS ?var1 )( <http://wikiba.se/ontology#BestRank> AS ?var2 )( COUNT ( DISTINCT ?var5 ) AS ?var3 )( COUNT ( ?var7 ) AS ?var4 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P523> ?var7 . } } UNION { SELECT( <http://wikiba.se/ontology#statementProperty> AS ?var1 ) ?var2 ( COUNT ( DISTINCT ?var5 ) AS ?var3 )( COUNT ( ?var8 ) AS ?var4 ) WHERE { ?var5 <http://www.wikidata.org/prop/P523> ?var8 . ?var8 <http://wikiba.se/ontology#rank> ?var2 . } GROUP BY ?var2 } UNION { SELECT( <http://wikiba.se/ontology#reference> AS ?var1 )( COUNT ( DISTINCT ?var5 ) AS ?var3 )( COUNT ( ?var6 ) AS ?var4 ) WHERE { ?var5 <http://www.wikidata.org/prop/reference/P523> ?var6 . } } UNION { SELECT( <http://wikiba.se/ontology#qualifier> AS ?var1 )( COUNT ( DISTINCT ?var5 ) AS ?var3 )( COUNT ( ?var6 ) AS ?var4 ) WHERE { ?var5 <http://www.wikidata.org/prop/qualifier/P523> ?var6 . } } } ORDER BY DESC( ?var1 ) DESC( ?var3 )ASC( ?var2 )"}}
{"id": "test_3385", "question": "Image of Clarissa Scott Delany with SNAC ARK ID w6dk9c0c", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6dk9c0c\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the person having the SNAC ARK ID w6dk9c0c?", "Show me the Wikimedia Commons image for Clarissa Scott Delany, identified by the SNAC ARK ID w6dk9c0c."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6dk9c0c\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3386", "question": "Image of Nathan Meeker with SNAC ARK ID w6gb2tnt", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6gb2tnt\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Is there an image available for Nathan Meeker, whose SNAC ARK ID is w6gb2tnt?", "Show me the Wikimedia Commons image for the person identified by the SNAC ARK ID w6gb2tnt."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6gb2tnt\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3387", "question": "What Wikipedia articles are available in English or German about the movie with IMDb ID tt3659932?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipedia_page WHERE {\n  ?item wdt:P345 \"tt3659932\" .\n  ?wikipedia_page schema:about ?item .\n  ?wikipedia_page schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" )\n}", "paraphrases": ["Show me the English or German Wikipedia pages for the film identified by tt3659932 on IMDb.", "Find the Wikipedia pages in English or German that correspond to the IMDb entry tt3659932."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt3659932\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3388", "question": "Most common centuries of birth in Wikidata", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nSELECT ?century ( COUNT( * ) AS ?count ) WHERE {\n  ?person wdt:P569 ?birthDate .\n  BIND( xsd:integer ( SUBSTR( STR( ?birthDate ) , 1 , 4 ) ) AS ?year ) BIND( FLOOR( ?year / 100 ) + 1 AS ?century ) FILTER ( ?year > 0 && ?year < 2025 )\n}\nGROUP BY ?century\nORDER BY DESC ( ?count ) ASC ( ?century )", "paraphrases": ["In which centuries were the most people born, according to Wikidata?", "Show me a list of centuries ranked by how many people were born in them, based on birth dates in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( COUNT ( ?var3 ) AS ?var4 ) WHERE { BIND ( STR ( ?var5 ) AS ?var1 ). ?var6 ( <http://www.wikidata.org/prop/P569> / <http://www.wikidata.org/prop/statement/value/P569> ) ?var3 . ?var3 <http://wikiba.se/ontology#timeValue> ?var5 . ?var3 <http://wikiba.se/ontology#timePrecision> ?var2 . FILTER ( ( ( ?var2 = \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } GROUP BY ?var1 ?var2 ORDER BY DESC( ?var4 )ASC( ?var1 )"}}
{"id": "test_3389", "question": "Countries with communism as political ideology and their coordinates", "sparql": "SELECT ?country ?countryLabel ?coordinates WHERE { ?country wdt:P1142 wd:Q6186 . ?country wdt:P31 ?countryType . FILTER(?countryType IN (wd:Q6256, wd:Q3024240)) OPTIONAL { ?country wdt:P625 ?coordinates . } ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") }", "paraphrases": ["Which countries (current or historical) have communism as their official political ideology, and where are they located?", "Show me the names and geographic coordinates of all countries that were communist states."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } ?var1 <http://www.wikidata.org/prop/direct/P360> <http://www.wikidata.org/entity/Q6256> . ?var1 <http://www.wikidata.org/prop/direct/P1142> <http://www.wikidata.org/entity/Q6186> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } } LIMIT 100"}}
{"id": "test_3390", "question": "Who are some French people named R\u00e9mi?", "sparql": "SELECT DISTINCT ?item ?label WHERE { ?item rdfs:label ?label . FILTER(LANG(?label) = 'fr') . FILTER(STRSTARTS(STR(?label), 'R\u00e9mi')) . ?item wdt:P31 wd:Q5 . } LIMIT 10", "paraphrases": ["List humans with the first name R\u00e9mi in French.", "Can you find any French individuals whose names start with \"R\u00e9mi\"?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"R\u00e9mi Rosat\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3391", "question": "Who is the French person named R\u00e9my Vercoutre?", "sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 rdfs:label \"R\u00e9my Vercoutre\"@fr . ?var1 wdt:P31 wd:Q5 . }", "paraphrases": ["What human entity has the French label \"R\u00e9my Vercoutre\"?", "Find the Wikidata item for the French footballer R\u00e9my Vercoutre."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"R\u00e9my Slove\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3392", "question": "Image of the person with SNAC ARK ID w6g166mb", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6g166mb\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w6g166mb?", "Show me the Wikimedia Commons image for the entity identified by the SNAC ARK ID w6g166mb."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6g166mb\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3393", "question": "What are the English and German Wikipedia pages about the movie with IMDb ID tt1082807?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?wikipedia_page WHERE {\n  VALUES ?imdb_id {\n    \"tt1082807\"\n  }\n  ?movie wdt:P345 ?imdb_id .\n  ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang .\n  VALUES ?lang {\n    \"en\" \"de\"\n  }\n}", "paraphrases": ["Show me the Wikipedia articles in English and German related to the film \"The Belko Experiment\".", "Which language versions of Wikipedia pages discuss the movie identified by IMDb ID tt1082807?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1082807\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3394", "question": "How many times is the \"owned by\" property used in Wikidata, broken down by statement rank and assertion type (statement, reference, qualifier)?", "sparql": "SELECT ?type ?rank ?count WHERE { { SELECT (wikibase:statementProperty AS ?type) (COUNT(DISTINCT ?item) AS ?count) WHERE { ?item p:P127 ?stmt . } } UNION { SELECT (wikibase:statementProperty AS ?type) (wikibase:BestRank AS ?rank) (COUNT(DISTINCT ?item) AS ?count) WHERE { ?item wdt:P127 ?obj . } } UNION { SELECT (wikibase:statementProperty AS ?type) ?rank (COUNT(DISTINCT ?item) AS ?count) WHERE { ?item p:P127 ?stmt . ?stmt wikibase:rank ?rank . } GROUP BY ?rank } UNION { SELECT (wikibase:reference AS ?type) (COUNT(DISTINCT ?item) AS ?count) WHERE { ?item pr:P127 ?ref . } } UNION { SELECT (wikibase:qualifier AS ?type) (COUNT(DISTINCT ?item) AS ?count) WHERE { ?item pq:P127 ?qual . } } } ORDER BY DESC(?type) DESC(?count) ASC(?rank)", "paraphrases": ["Can you show me the count of statements, references, and qualifiers for the \"owned by\" property, including how many are at each rank (Best, Preferred, Normal, Deprecated)?", "What is the distribution of the \"owned by\" property across different kinds of assertions in Wikidata, such as direct statements, references, and qualifiers, and how are the statement ranks distributed?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { { SELECT( <http://wikiba.se/ontology#statementProperty> AS ?var1 )( COUNT ( DISTINCT ?var5 ) AS ?var3 )( COUNT ( ?var6 ) AS ?var4 ) WHERE { ?var5 <http://www.wikidata.org/prop/P127> ?var6 . } } UNION { SELECT( <http://wikiba.se/ontology#statementProperty> AS ?var1 )( <http://wikiba.se/ontology#BestRank> AS ?var2 )( COUNT ( DISTINCT ?var5 ) AS ?var3 )( COUNT ( ?var7 ) AS ?var4 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P127> ?var7 . } } UNION { SELECT( <http://wikiba.se/ontology#statementProperty> AS ?var1 ) ?var2 ( COUNT ( DISTINCT ?var5 ) AS ?var3 )( COUNT ( ?var8 ) AS ?var4 ) WHERE { ?var5 <http://www.wikidata.org/prop/P127> ?var8 . ?var8 <http://wikiba.se/ontology#rank> ?var2 . } GROUP BY ?var2 } UNION { SELECT( <http://wikiba.se/ontology#reference> AS ?var1 )( COUNT ( DISTINCT ?var5 ) AS ?var3 )( COUNT ( ?var6 ) AS ?var4 ) WHERE { ?var5 <http://www.wikidata.org/prop/reference/P127> ?var6 . } } UNION { SELECT( <http://wikiba.se/ontology#qualifier> AS ?var1 )( COUNT ( DISTINCT ?var5 ) AS ?var3 )( COUNT ( ?var6 ) AS ?var4 ) WHERE { ?var5 <http://www.wikidata.org/prop/qualifier/P127> ?var6 . } } } ORDER BY DESC( ?var1 ) DESC( ?var3 )ASC( ?var2 )"}}
{"id": "test_3395", "question": "What are the parent categories of a spree killer in Wikidata?", "sparql": "SELECT DISTINCT ?ancestor ?ancestorLabel WHERE { wd:Q1154323 wdt:P279+ ?ancestor . ?ancestor rdfs:label ?ancestorLabel . FILTER(LANG(?ancestorLabel) = \"en\") } ORDER BY ?ancestorLabel", "paraphrases": ["What classes does a spree killer belong to through the subclass hierarchy?", "List all the broader categories that include spree killers, going up the classification tree."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q1154323> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_3396", "question": "Who were born in the year 13 CE?", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person WHERE {\n  ?person wdt:P569 ?birthDate .\n  FILTER ( ?birthDate >= \"0013-01-01T00:00:00Z\" ^^ xsd:dateTime && ?birthDate <= \"0013-12-31T23:59:59Z\" ^^ xsd:dateTime )\n}", "paraphrases": ["Can you list the people whose birth date falls within the year 13 AD?", "Which historical figures have their date of birth recorded as between January 1 and December 31, 13 AD?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . FILTER ( ( ( ?var2 >= \"13-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"13-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_3397", "question": "What are 21 examples of villas?", "sparql": "SELECT ?villa ?villaLabel WHERE { ?villa wdt:P31 wd:Q3950 . ?villa rdfs:label ?villaLabel . FILTER(LANG(?villaLabel) = \"en\") } LIMIT 21", "paraphrases": ["Can you list 21 villas with their English names?", "Which entities classified as villas have English labels, and what are they called?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3950> . } LIMIT 21 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3398", "question": "English and German Wikipedia pages for the movie with IMDb ID tt0482571", "sparql": "SELECT ?item ?page WHERE { ?item wdt:P345 \"tt0482571\" . ?page schema:about ?item . ?page schema:inLanguage ?lang . FILTER (?lang = \"en\" || ?lang = \"de\") FILTER (CONTAINS(STR(?page), \"wikipedia.org\")) }", "paraphrases": ["What are the English and German Wikipedia articles about the film with IMDb ID tt0482571?", "Show me the English and German Wikipedia pages for the movie The Prestige."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0479973\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3399", "question": "What is the Italian label, image, coordinates, and Italian Wikipedia article for Julia Palmer-Stoll?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nSELECT ?label ?image ?coordinates ?wikipediaArticle WHERE {\n  wd:Q109718 rdfs:label ?label .\n  VALUES(?lang ?priority) {(\"it\" 1)(\"en\" 2)(\"de\" 3)(\"fr\" 4)\n  }\n  FILTER(LANG(?label) = ?lang)\n  OPTIONAL {\n    wd:Q109718 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q109718 wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    ?wikipediaArticle rdf:type schema:Article ; schema:about wd:Q109718 ; schema:inLanguage \"it\" ; schema:isPartOf <https://it.wikipedia.org/> .\n  }\n}\nORDER BY ?priority\nLIMIT 1", "paraphrases": ["Show me Julia Palmer-Stoll\u2019s details in Italian first, including her image, location, and Italian Wikipedia link.", "Retrieve the preferred language label (Italian, then English, etc.), image, coordinates, and Italian Wikipedia page for the German actress Julia Palmer-Stoll."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { OPTIONAL { <http://www.wikidata.org/entity/statement/Q109718-9CB0F4AA-FDA0-47F0-B3A2-ADB8B65A1626> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var5 ) ) ) . VALUES ( ?var5 ?var6 ) { ( \"it\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/statement/Q109718-9CB0F4AA-FDA0-47F0-B3A2-ADB8B65A1626> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/statement/Q109718-9CB0F4AA-FDA0-47F0-B3A2-ADB8B65A1626> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/statement/Q109718-9CB0F4AA-FDA0-47F0-B3A2-ADB8B65A1626> ; <http://schema.org/inLanguage> \"it\"; <http://schema.org/isPartOf> <https://it.wikipedia.org/> . } } ORDER BY ASC( ?var6 )"}}
{"id": "test_3400", "question": "Humans who died in 1940", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?human WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human wdt:P570 ?deathDate .\n  FILTER(?deathDate >= \"1940-01-01T00:00:00Z\" ^^ xsd:dateTime && ?deathDate <= \"1940-12-31T00:00:00Z\" ^^ xsd:dateTime)\n}\nLIMIT 50", "paraphrases": ["Who were the people that died in the year 1940?", "List up to 50 humans whose date of death was in 1940."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . FILTER ( ( ( ?var2 >= \"1940-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var2 <= \"1940-12-31T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . } LIMIT 50"}}
{"id": "test_3401", "question": "Who is Alexander L\u00f6hr?", "sparql": "SELECT DISTINCT ?item WHERE { ?item rdfs:label \"Alexander L\u00f6hr\"@en . ?item wdt:P31 wd:Q5 . }", "paraphrases": ["What is the Wikidata item for the person named Alexander L\u00f6hr?", "Is Alexander L\u00f6hr a human, and what is his Wikidata identifier?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Yvan Lohr\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3402", "question": "What country is the Louvre Museum located in?", "sparql": "SELECT DISTINCT ?country ?countryLabel WHERE { wd:Q19675 wdt:P17 ?country . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") }", "paraphrases": ["Which sovereign state hosts the Louvre Museum?", "What is the country associated with the Louvre Museum?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { BIND ( <http://www.wikidata.org/entity/Q6034509> AS ?var3 ). ?var3 <http://www.wikidata.org/prop/direct/P17> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3403", "question": "Humans who died and their body weight", "sparql": "SELECT ?person ?personLabel ?mass WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P570 ?deathDate . OPTIONAL { ?person wdt:P2067 ?mass . } } LIMIT 100", "paraphrases": ["Who are some people who have died, and what was their body mass?", "List 100 deceased humans along with their recorded body weights, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2067> ?var2 . } } LIMIT 100"}}
{"id": "test_3404", "question": "People who died in 1940", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nSELECT DISTINCT ?person WHERE {\n  ?person wdt:P570 ?deathDate .\n  FILTER(?deathDate >= \"1940-01-01T00:00:00Z\" ^^ xsd:dateTime && ?deathDate <= \"1940-12-31T23:59:59Z\" ^^ xsd:dateTime)\n}", "paraphrases": ["Who died in the year 1940?", "List all individuals whose date of death was between January 1 and December 31, 1940."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . FILTER ( ( ( ?var2 >= \"1940-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1940-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_3405", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt4966002?", "sparql": "SELECT ?item ?wikipedia_page WHERE { ?item wdt:P345 \"tt4966002\" . ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Show me the Wikipedia articles about the film \"Food To Get You Laid\" in English or German.", "Which Wikipedia pages in English or German are linked to the movie identified by IMDb ID tt4966002?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt4966660\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3406", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt4636298?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipedia_page WHERE {\n  ?movie wdt:P345 \"tt4636298\" .\n  ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n}", "paraphrases": ["Which Wikipedia articles in English or German are about the film identified by IMDb ID tt4636298?", "Please show me the Wikipedia links in English or German for the movie Orange (2015), which has the IMDb ID tt4636298."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt4636298\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3407", "question": "What are the English and German Wikipedia articles for the film with IMDb ID tt0780622?", "sparql": "SELECT ?film ?wikipediaArticle WHERE { ?film wdt:P345 \"tt0780622\" . ?wikipediaArticle schema:about ?film . ?wikipediaArticle schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Can you show me the Wikipedia pages in English and German about the movie Teeth?", "Which language versions of the Wikipedia page exist for the film identified by tt0780622?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0780622\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3408", "question": "People who died in 1997, their birth year, death date, and age at death.", "sparql": "SELECT ?person ?personLabel ?dod ?dob ?age WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P570 ?dod . OPTIONAL { ?person wdt:P569 ?dob . } FILTER ( YEAR(?dod) = 1997 ) BIND( ( xsd:integer( substr( str(?dod), 1, 4 ) ) - xsd:integer( substr( str(?dob), 1, 4 ) ) ) AS ?age ) ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } ORDER BY ASC(?person) LIMIT 10", "paraphrases": ["Who were the people that died in 1997, and how old were they when they died?", "List the names, death dates, and approximate ages of all humans who died in 1997, based on their year of birth."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4 ?var4Label ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var7 . } ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P20> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var6 . } BIND ( ( ( ?var3 - ?var7 ) /\"365.2425\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) AS ?var5 ). FILTER ( ( ( ?var3 >= \"1997-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var3 < \"1997-01-02\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_3409", "question": "What are the English and German Wikipedia pages about the movie with IMDb ID tt0045609?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?page WHERE {\n  ?movie wdt:P345 \"tt0045609\" .\n  ?page schema:about ?movie .\n  ?page schema:inLanguage ?lang .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n}", "paraphrases": ["Show me the Wikipedia articles in English or German related to the film Cat-Women of the Moon.", "Which language versions of Wikipedia have pages about the movie identified by tt0045609?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0045609\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3410", "question": "What are the English and German Wikipedia pages for the item with IMDb ID tt2288044?", "sparql": "SELECT ?item ?wikipediaPage WHERE { ?item wdt:P345 \"tt2288044\" . ?wikipediaPage schema:about ?item . { ?wikipediaPage schema:inLanguage \"en\" . } UNION { ?wikipediaPage schema:inLanguage \"de\" . } }", "paraphrases": ["Show me the Wikipedia articles in English and German about the movie or show with IMDb identifier tt2288044.", "Which Wikipedia pages in English or German are linked to the IMDb entry tt2288044?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2288044\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3411", "question": "People who died by suicide", "sparql": "SELECT ?person WHERE { ?person wdt:P1196 wd:Q10737 .}", "paraphrases": ["Who died by suicide according to Wikidata?", "List all individuals whose manner of death is recorded as suicide."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1196> <http://www.wikidata.org/entity/Q10737> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { } OPTIONAL { } }"}}
{"id": "test_3412", "question": "List humans who died by accident, suicide, or homicide, including their birth and death dates, country of citizenship, and the person who killed them (if known).", "sparql": "SELECT DISTINCT \n  ?personLabel \n  ?mannerOfDeathLabel \n  ?dateOfBirth \n  ?dateOfDeath \n  ?countryLabel \n  ?mannerOfDeath \n  ?killerLabel\nWHERE {\n  ?person wdt:P31 wd:Q5 .                    # instance of human\n  ?person wdt:P1196 ?mannerOfDeath .         # manner of death\n  ?person wdt:P569 ?dateOfBirth .            # date of birth\n  ?person wdt:P570 ?dateOfDeath .            # date of death\n  ?person wdt:P27 ?country .                 # country of citizenship\n\n  OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }\n  OPTIONAL { ?mannerOfDeath rdfs:label ?mannerOfDeathLabel . FILTER(LANG(?mannerOfDeathLabel) = \"en\") }\n  OPTIONAL { ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") }\n  OPTIONAL { ?person wdt:P157 ?killer . \n             ?killer rdfs:label ?killerLabel . FILTER(LANG(?killerLabel) = \"en\") }\n\n  FILTER(\n    ?mannerOfDeath IN (\n      wd:Q171558,  # accident\n      wd:Q10737,   # suicide\n      wd:Q149086   # homicide\n    )\n  )\n}\nLIMIT 1000", "paraphrases": ["Who are the people who died from accident, suicide, or homicide, and what are their birth and death dates, nationalities, and killers?", "Show me a list of deceased humans whose cause of death was accident, suicide, or homicide, with their names, birth and death dates, countries, and the names of their killers (if recorded)."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var6Label ?var7 ?var7Label WHERE { ?var8 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var8 <http://www.wikidata.org/prop/direct/P1196> ?var9 . ?var8 <http://www.wikidata.org/prop/direct/P569> ?var3 . ?var8 <http://www.wikidata.org/prop/direct/P570> ?var4 . ?var8 <http://www.wikidata.org/prop/direct/P27> ?var10 . OPTIONAL { ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"en\" ) ) ) . } OPTIONAL { ?var9 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } OPTIONAL { ?var10 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . } FILTER ( ( ( STR ( ?var2 ) = \"suicide\" ) || ( STR ( ?var2 ) = \"homicide\" ) || ( STR ( ?var2 ) = \"string1\" ) || ( STR ( ?var2 ) = \"accident\" ) ) ) . OPTIONAL { ?var8 <http://www.wikidata.org/prop/direct/P1196> ?var6 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/direct/P157> ?var7 . } } LIMIT 1000"}}
{"id": "test_3413", "question": "People who died and their cause of death", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?person ?personLabel ?dateOfDeath ?causeOfDeathLabel WHERE {\n  ?person wdt:P570 ?dateOfDeath .\n  OPTIONAL {\n    ?person wdt:P509 ?causeOfDeath .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n  OPTIONAL {\n    ?causeOfDeath rdfs:label ?causeOfDeathLabel .\n    FILTER(LANG(?causeOfDeathLabel) = \"en\")\n  }\n}\nLIMIT 100", "paraphrases": ["Who are some people with a recorded date of death, and what was the cause of their death?", "List people with their date of death and, if available, the cause of death, in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P805> <http://www.wikidata.org/entity/Q4> . ?var1 <http://www.wikidata.org/prop/P805> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_3414", "question": "People born on October 21, 1992", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P569 \"1992-10-21T00:00:00Z\" ^^ xsd:dateTime .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}", "paraphrases": ["Who were born on October 21, 1992?", "List the names of people who were born on October 21, 1992, in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P569> \"1992-10-21T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_3415", "question": "Humans who died of natural causes and their birth dates", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel ?dateOfBirth WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P1196 wd:Q3739104 .\n  ?person wdt:P569 ?dateOfBirth .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Who are some people who died of natural causes, and when were they born?", "List the names and birth dates of people who died of natural causes."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P1196> <http://www.wikidata.org/entity/Q3739104> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_3416", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0018876?", "sparql": "SELECT ?movie ?wikipedia_page ?imdb_id WHERE { ?movie wdt:P345 ?imdb_id . ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") FILTER(?imdb_id = \"tt0018876\") }", "paraphrases": ["Show me the Wikipedia articles in English and German about the film identified by tt0018876 on IMDb.", "Which Wikipedia pages in English and German discuss the movie \"The Farmer's Wife\" (IMDb: tt0018876)?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0018876\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3417", "question": "What are the manners of death for people in Wikidata, along with their names?", "sparql": "SELECT ?personLabel ?mannerOfDeathLabel WHERE { ?person wdt:P1196 ?mannerOfDeath . ?mannerOfDeath wdt:P31 wd:Q2438541 . ?person rdfs:label ?personLabel . ?mannerOfDeath rdfs:label ?mannerOfDeathLabel . FILTER(LANG(?personLabel) = \"en\") FILTER(LANG(?mannerOfDeathLabel) = \"en\") } LIMIT 100", "paraphrases": ["Can you list the names of deceased individuals and how they died, considering only valid causes of death like suicide, homicide, or natural causes?", "Show me the English names of people and the official manner in which they died, excluding invalid or unrelated entries like organizations."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1196> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_3418", "question": "What are the most common qualifiers used when recording death events in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ?qualifier ( COUNT( * ) AS ?count ) WHERE {\n  ?statement ps:P793 wd:Q4 .\n  ?statement ?qualifier ?value .\n  FILTER ( STRSTARTS( STR( ?qualifier ) , \"http://www.wikidata.org/prop/qualifier/\" ) )\n}\nGROUP BY ?qualifier\nORDER BY DESC ( ?count )\nLIMIT 10", "paraphrases": ["Which metadata properties are frequently attached to statements about someone\u2019s death?", "For people whose death is recorded as a significant event, what additional details (like age or date) are most often provided?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P793> <http://www.wikidata.org/entity/Q4> . ?var1 <http://www.wikidata.org/prop/P793> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_3419", "question": "What are the English and German Wikipedia articles about the movie with IMDb ID tt2935564?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?article ?imdbId WHERE {\n  ?item wdt:P345 \"tt2935564\" .\n  ?article schema:about ?item .\n  ?article schema:inLanguage ?lang .\n  ?item wdt:P345 ?imdbId .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n}", "paraphrases": ["Show me the Wikipedia pages in English and German for the film identified by tt2935564 on IMDb.", "Find the Wikipedia articles in English or German that are about the movie with IMDb identifier tt2935564."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2935564\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3420", "question": "How many deaths in Wikidata are recorded as suicide, homicide, accident, or natural causes?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?manner ?mannerLabel(COUNT(?death) AS ?count) WHERE {\n  VALUES ?manner {\n    wd:Q3739104 wd:Q10737 wd:Q171558 wd:Q149086\n  }\n  ?death wdt:P1196 ?manner .\n  ?manner rdfs:label ?mannerLabel .\n  FILTER(LANG(?mannerLabel) = \"en\")\n}\nGROUP BY ?manner ?mannerLabel", "paraphrases": ["What are the counts of deaths categorized by suicide, homicide, accident, and natural causes in Wikidata?", "List the number of recorded deaths for each of the following manners of death: suicide, homicide, accident, and natural causes, along with their labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var3Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ko,en\". } OPTIONAL { } OPTIONAL { } OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1114> ?var2 . } ?var3 <http://www.wikidata.org/prop/direct/P1196> <http://www.wikidata.org/entity/Q3739104> . ?var3 <http://www.wikidata.org/prop/direct/P1196> <http://www.wikidata.org/entity/Q10737> . ?var3 <http://www.wikidata.org/prop/direct/P1196> <http://www.wikidata.org/entity/Q171558> . ?var3 <http://www.wikidata.org/prop/direct/P1196> <http://www.wikidata.org/entity/Q149086> . }"}}
{"id": "test_3421", "question": "Wikipedia pages in English and German for the movie with IMDb ID tt0092226.", "sparql": "SELECT ?movie ?wikipediaPage WHERE { ?movie wdt:P345 \"tt0092226\" . ?wikipediaPage schema:about ?movie . ?wikipediaPage schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["What are the English and German Wikipedia articles for the film with IMDb ID tt0092226?", "Show me the English and German Wikipedia links for the movie identified by tt0092226 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0092226\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3422", "question": "People born on April 2nd with an IdRef ID", "sparql": "SELECT ?personLabel ?birthDate ?idRefId WHERE { ?person wdt:P569 ?birthDate . ?person wdt:P269 ?idRefId . ?person rdfs:label ?personLabel . FILTER ( MONTH(?birthDate) = 4 && DAY(?birthDate) = 2 ) FILTER ( LANG(?personLabel) = \"en\" ) } LIMIT 10", "paraphrases": ["Who are the people born on April 2nd that have an IdRef identifier?", "List the names, birth dates, and IdRef IDs of individuals born on April 2nd."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P269> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( ( MONTH ( ?var2 ) = \"04\" ) && ( DAY ( ?var2 ) = \"02\" ) ) ) . } LIMIT 10"}}
{"id": "test_3423", "question": "What is the German Wikipedia page for the IMDb movie with ID tt4045982?", "sparql": "SELECT ?wikipedia_page WHERE { ?item wdt:P345 \"tt4045982\" . ?wikipedia_page schema:about ?item . ?wikipedia_page schema:inLanguage \"de\" . }", "paraphrases": ["Show me the German Wikipedia article about the film identified by IMDb ID tt4045982.", "Which German-language Wikipedia page is linked to the IMDb entry tt4045982?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt4045982\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3424", "question": "Who died on January 1, 1957, and what countries were they citizens of?", "sparql": "SELECT ?person ?deathDate ?country WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P570 ?deathDate . OPTIONAL { ?person wdt:P27 ?country . } FILTER ( YEAR(?deathDate) = 1957 && MONTH(?deathDate) = 1 && DAY(?deathDate) = 1 ) } ORDER BY ASC(?person) LIMIT 5", "paraphrases": ["List all humans who passed away on the first day of 1957, along with their nationality.", "Can you tell me the names and countries of people who died on January 1, 1957?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var3 . } ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var9 . } BIND ( ( ( ?var2 - ?var4 ) /\"365.2425\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) AS ?var10 ). FILTER ( ( ( ?var2 >= \"1957-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 < \"1957-01-02\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_3425", "question": "What is the English Wikipedia page for the film with IMDb ID tt0081757?", "sparql": "SELECT ?wikipediaPage WHERE { ?film wdt:P345 \"tt0081757\" . ?wikipediaPage schema:about ?film . { ?wikipediaPage schema:inLanguage \"en\" . } UNION { ?wikipediaPage schema:inLanguage \"de\" . } }", "paraphrases": ["Find the Wikipedia article in English or German for the movie identified by IMDb code tt0081757.", "Show me the Wikipedia link for the film \"The Wildcats of St Trinian's\" in either English or German language."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0081757\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3426", "question": "Ari Folman's name in different languages, his image, and English Wikipedia link", "sparql": "SELECT ?label ?image ?wikipediaArticle WHERE { wd:Q653645 rdfs:label ?label . FILTER(LANG(?label) IN (\"en\", \"de\", \"fr\", \"it\")) OPTIONAL { wd:Q653645 wdt:P18 ?image . } OPTIONAL { ?wikipediaArticle schema:about wd:Q653645 ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> . } } ORDER BY ?label", "paraphrases": ["What are Ari Folman\u2019s names in English, German, French, and Italian, along with his image and English Wikipedia page?", "Show me Ari Folman\u2019s multilingual labels, his photo from Wikimedia Commons, and his English Wikipedia article."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q653645> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var12 ) ) ) . VALUES ( ?var12 ?var13 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q653645> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q653645> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q653645> <http://www.wikidata.org/prop/direct/P1651> ?var5 . } OPTIONAL { <http://www.wikidata.org/entity/Q653645> <http://www.wikidata.org/prop/direct/P2037> ?var6 . } OPTIONAL { <http://www.wikidata.org/entity/Q653645> <http://www.wikidata.org/prop/direct/P2002> ?var7 . } OPTIONAL { <http://www.wikidata.org/entity/Q653645> <http://www.wikidata.org/prop/direct/P2013> ?var8 . } OPTIONAL { <http://www.wikidata.org/entity/Q653645> <http://www.wikidata.org/prop/direct/P2003> ?var9 . } OPTIONAL { <http://www.wikidata.org/entity/Q653645> <http://www.wikidata.org/prop/direct/P856> ?var10 . } OPTIONAL { <http://www.wikidata.org/entity/Q653645> <http://www.wikidata.org/prop/direct/P496> ?var11 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q653645> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var13 )"}}
{"id": "test_3427", "question": "English Wikipedia page for the film with IMDb ID tt4162992", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?wikipedia_page WHERE {\n  ?item wdt:P345 \"tt4162992\" .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n  .\n  ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n}", "paraphrases": ["What is the English Wikipedia page for the movie with IMDb ID tt4162992?", "Show me the English title and Wikipedia link for the film identified by tt4162992 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt4162992\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3428", "question": "Labels for Joseph P. Kennedy Jr. in English, German, French, and Italian, along with his image and Wikipedia link.", "sparql": "SELECT ?label ?image ?coordinates ?wikipediaArticle WHERE { VALUES (?lang ?sortKey) { (\"en\" 1) (\"de\" 2) (\"fr\" 3) (\"it\" 4) } wd:Q505178 rdfs:label ?label . FILTER(LANG(?label) = ?lang) OPTIONAL { wd:Q505178 wdt:P18 ?image . } OPTIONAL { wd:Q505178 wdt:P625 ?coordinates . } ?wikipediaArticle rdf:type schema:Article ; schema:about wd:Q505178 ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> . } ORDER BY ?sortKey", "paraphrases": ["What are the multilingual labels, image, and English Wikipedia article for Joseph P. Kennedy Jr.?", "Show me the names of Joseph P. Kennedy Jr. in English, German, French, and Italian, his photo from Wikimedia Commons, and the link to his English Wikipedia page, ordered by language."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q505178> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var5 ) ) ) . VALUES ( ?var5 ?var6 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q505178> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q505178> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q505178> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var6 )"}}
{"id": "test_3429", "question": "What is the English Wikipedia page for the movie with IMDb ID tt4685554?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipedia_page WHERE {\n  ?movie wdt:P345 \"tt4685554\" .\n  ?wikipedia_page schema:about ?movie .\n  VALUES ?lang {\n    \"en\" \"de\"\n  }\n  ?wikipedia_page schema:inLanguage ?lang .\n}", "paraphrases": ["Which Wikipedia page in English or German is about the movie with IMDb ID tt4685554?", "Show me the Wikipedia page for The Snow Queen 3: Fire and Ice in English or German, using its IMDb ID tt4685554."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt4685554\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3430", "question": "Humans with given names and family names in Hebrew.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?human WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human wdt:P735 ?givenName .\n  ?human wdt:P734 ?familyName .\n  ?givenName rdfs:label ?givenNameLabel .\n  FILTER ( LANG( ?givenNameLabel ) = \"he\" ) .\n  ?familyName rdfs:label ?familyNameLabel .\n  FILTER ( LANG( ?familyNameLabel ) = \"he\" ) .\n}\nLIMIT 4", "paraphrases": ["Who are the humans whose first and last names are labeled in Hebrew?", "List all people whose first and last names have Hebrew labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P735> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P734> ?var5 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var6 . FILTER ( ( ( LANG ( ?var6 ) = \"he\" ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var7 . FILTER ( ( ( LANG ( ?var7 ) = \"he\" ) ) ) . } LIMIT 4"}}
{"id": "test_3431", "question": "What organizations or regions connected to the United Nations are also linked to Greece, Portugal, Europe, or Spain?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?start ?mid ?midLabel ?target ?targetLabel ?property WHERE {\n  VALUES ?target {\n    wd:Q41 wd:Q44 wd:Q46 wd:Q47\n  }\n  wd:Q45 ?p1 ?mid .\n  ?mid ?property ?target .\n  OPTIONAL {\n    ?mid rdfs:label ?midLabel .\n    FILTER(LANG(?midLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?target rdfs:label ?targetLabel .\n    FILTER(LANG(?targetLabel) = \"en\")\n  }\n}\nLIMIT 1000", "paraphrases": ["Which intermediate entities link the United Nations to Greece, Portugal, Europe, or Spain, and what properties connect them?", "Show me all two-step paths from the United Nations to Greece, Portugal, Europe, or Spain, including the intermediate entities and the connecting properties, along with their English labels."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.BFS\". <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/45> . <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#target> <http://www.wikidata.org/entity/41> . <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#target> <http://www.wikidata.org/entity/44> . <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#target> <http://www.wikidata.org/entity/46> . <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#target> <http://www.wikidata.org/entity/47> . <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#out> ?var4 . <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#out1> ?var1 . <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#out2> ?var2 . <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> . <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#maxVisited> \"10000\"^^<http://www.w3.org/2001/XMLSchema#integer> . } ?var2 ?var5 ?var4 . ?var3 <http://wikiba.se/ontology#directClaim> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( ( ?var1 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } LIMIT 1000"}}
{"id": "test_3432", "question": "What are the image, coordinates, Wikipedia link, and social media details for the Bramah Tea and Coffee Museum?", "sparql": "SELECT ?label ?image ?coordinates ?wikipediaArticle ?youtubeId ?githubUsername ?twitterUsername ?facebookUsername ?instagramUsername ?website ?orcid WHERE { wd:Q4956083 rdfs:label ?label . FILTER(LANG(?label) = \"en\") OPTIONAL { wd:Q4956083 wdt:P18 ?image . } OPTIONAL { wd:Q4956083 wdt:P625 ?coordinates . } OPTIONAL { wd:Q4956083 wdt:P1651 ?youtubeId . } OPTIONAL { wd:Q4956083 wdt:P2037 ?githubUsername . } OPTIONAL { wd:Q4956083 wdt:P2002 ?twitterUsername . } OPTIONAL { wd:Q4956083 wdt:P2013 ?facebookUsername . } OPTIONAL { wd:Q4956083 wdt:P2003 ?instagramUsername . } OPTIONAL { wd:Q4956083 wdt:P856 ?website . } OPTIONAL { wd:Q4956083 wdt:P496 ?orcid . } OPTIONAL { ?wikipediaArticle rdf:type schema:Article ; schema:about wd:Q4956083 ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> . } }", "paraphrases": ["Can you provide the official label, image, geographic coordinates, Wikipedia article, and any associated social media accounts or website for the Bramah Tea and Coffee Museum?", "Show me all available public information about the Bramah Tea and Coffee Museum, including its image, location, Wikipedia page, and links to YouTube, GitHub, Twitter, Facebook, Instagram, official website, and ORCID (if any)."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q4956083> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var12 ) ) ) . VALUES ( ?var12 ?var13 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q4956083> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q4956083> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q4956083> <http://www.wikidata.org/prop/direct/P1651> ?var5 . } OPTIONAL { <http://www.wikidata.org/entity/Q4956083> <http://www.wikidata.org/prop/direct/P2037> ?var6 . } OPTIONAL { <http://www.wikidata.org/entity/Q4956083> <http://www.wikidata.org/prop/direct/P2002> ?var7 . } OPTIONAL { <http://www.wikidata.org/entity/Q4956083> <http://www.wikidata.org/prop/direct/P2013> ?var8 . } OPTIONAL { <http://www.wikidata.org/entity/Q4956083> <http://www.wikidata.org/prop/direct/P2003> ?var9 . } OPTIONAL { <http://www.wikidata.org/entity/Q4956083> <http://www.wikidata.org/prop/direct/P856> ?var10 . } OPTIONAL { <http://www.wikidata.org/entity/Q4956083> <http://www.wikidata.org/prop/direct/P496> ?var11 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q4956083> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var13 )"}}
{"id": "test_3433", "question": "Image of Philip La Follette with SNAC ARK ID w6n87ctf", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6n87ctf\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with Philip La Follette's SNAC ARK ID w6n87ctf?", "Show me the Wikimedia Commons image for the person whose SNAC ARK ID is w6n87ctf."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6n87ctf\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3434", "question": "People who died between July 1, 1945 and January 1, 1946, including their gender, place of death, and image.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?genderLabel ?placeOfDeath ?placeOfDeathLabel ?image WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P570 ?deathDate .\n  FILTER ( ?deathDate >= \"1945-07-01T00:00:00Z\" ^^ xsd:dateTime && ?deathDate < \"1946-01-01T00:00:00Z\" ^^ xsd:dateTime ) OPTIONAL {\n    ?person wdt:P21 ?gender .\n    ?gender rdfs:label ?genderLabel .\n    FILTER ( LANG( ?genderLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?person wdt:P20 ?placeOfDeath .\n    ?placeOfDeath rdfs:label ?placeOfDeathLabel .\n    FILTER ( LANG( ?placeOfDeathLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?person wdt:P18 ?image\n  }\n  OPTIONAL {\n    ?person rdfs:label ?personLabel .\n    FILTER ( LANG( ?personLabel ) = \"en\" )\n  }\n}\nORDER BY ASC ( ?person )", "paraphrases": ["Who were the humans that died between July 1, 1945 and January 1, 1946, and what were their gender, place of death, and image?", "List all humans who died in the second half of 1945, showing their name, gender, place of death, and image if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4 ?var4Label ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var7 . } ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P20> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var6 . } BIND ( ( ( ?var3 - ?var7 ) /\"365.2425\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) AS ?var5 ). FILTER ( ( ( ?var3 >= \"1945-07-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var3 < \"1946-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_3435", "question": "Image of the person with SNAC ARK ID w6sq9tdx", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6sq9tdx\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6sq9tdx?", "Show me the Wikimedia Commons image for Antonio Gallenga, identified by SNAC ARK ID w6sq9tdx."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6sq9tdx\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3436", "question": "Labels for Patrick Kennedy in English, German, French, and Italian, along with his Wikipedia article link.", "sparql": "SELECT ?label ?image ?coordinates ?wikipediaArticle WHERE { OPTIONAL { wd:Q247915 rdfs:label ?label . FILTER (LANG(?label) = ?lang) VALUES (?lang ?order) { (\"en\" 1) (\"de\" 2) (\"fr\" 3) (\"it\" 4) } } OPTIONAL { wd:Q247915 wdt:P18 ?image . } OPTIONAL { wd:Q247915 wdt:P625 ?coordinates . } OPTIONAL { ?wikipediaArticle rdf:type schema:Article ; schema:about wd:Q247915 ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> . } } ORDER BY ASC(?order)", "paraphrases": ["What are the labels for Patrick Kennedy in English, German, French, and Italian, and what is his English Wikipedia article?", "Show me Patrick Kennedy\u2019s name in English, German, French, and Italian, ordered by language, and include his English Wikipedia page."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q247915> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var5 ) ) ) . VALUES ( ?var5 ?var6 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q247915> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q247915> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q247915> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var6 )"}}
{"id": "test_3437", "question": "People who died in 1664", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person WHERE {\n  ?person wdt:P570 ?deathDate .\n  FILTER ( ?deathDate >= \"1664-01-01T00:00:00Z\" ^^ xsd:dateTime && ?deathDate <= \"1664-12-31T23:59:59Z\" ^^ xsd:dateTime )\n}", "paraphrases": ["Who died in the year 1664?", "List all individuals whose date of death was between January 1 and December 31, 1664."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . FILTER ( ( ( ?var2 >= \"1664-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1664-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_3438", "question": "Humans with exact date of birth (day precision)", "sparql": "SELECT ?human ?birthDate WHERE { ?human wdt:P31 wd:Q5 ; p:P569 / psv:P569 [ wikibase:timePrecision \"10\"^^xsd:integer ; wikibase:timeValue ?birthDate ] . } LIMIT 10", "paraphrases": ["Who are some humans and what are their exact birth dates, down to the day?", "List 10 humans along with their day-precision birth dates from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; ( <http://www.wikidata.org/prop/P569> / <http://www.wikidata.org/prop/statement/value/P569> ) [ <http://wikiba.se/ontology#timePrecision> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://wikiba.se/ontology#timeValue> ?var2 ] . } LIMIT 10"}}
{"id": "test_3439", "question": "Who are people born today, excluding those born before 1900?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P569 ?dob .\n  FILTER ( YEAR( ?dob ) > 1899 ) FILTER ( DAY( ?dob ) = DAY( NOW () ) ) FILTER ( MONTH( ?dob ) = MONTH( NOW () ) )\n}\nORDER BY DESC ( ?dob ) ASC ( ?person )\nLIMIT 10", "paraphrases": ["Which living people have their birthday today?", "List up to 10 people born today, sorted by oldest first."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://wikiba.se/ontology#timeValue> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q215627> . OPTIONAL { } FILTER ( ( ( YEAR ( ?var3 ) > \"1899\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . FILTER ( ( ( DAY ( ?var3 ) = DAY ( NOW ( ) ) ) ) ) . FILTER ( ( ( MONTH ( ?var3 ) = MONTH ( NOW ( ) ) ) ) ) . FILTER ( ( !( BOUND ( ?var4 ) ) ) ) . OPTIONAL { } OPTIONAL { } } ORDER BY DESC( ?var3 )ASC( ?var1 ) LIMIT 10"}}
{"id": "test_3440", "question": "What Wikipedia or Commons pages in English or German are about the movie with IMDb ID tt0025940?", "sparql": "SELECT ?movie ?page WHERE { VALUES ?imdbId { \"tt0025940\" } ?movie wdt:P345 ?imdbId . ?page schema:about ?movie . ?page schema:inLanguage ?lang . FILTER(?lang IN (\"en\", \"de\")) }", "paraphrases": ["Show me the language-specific pages (English or German) linked to the film \"The Vanishing Shadow\" via its IMDb identifier.", "Which external pages in English or German reference the movie identified by tt0025940 on IMDb?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0025940\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3441", "question": "People who died on January 1, 1971, and their ages at death.", "sparql": "SELECT ?person ?personLabel ?deathDate ?age WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P570 ?deathDate . OPTIONAL { ?person wdt:P569 ?birthDate . } BIND( ( ( ?deathDate - ?birthDate ) / \"365.2425\"^^xsd:decimal ) AS ?age ) . FILTER ( ?deathDate >= \"1971-01-01T00:00:00Z\"^^xsd:dateTime && ?deathDate < \"1971-01-02T00:00:00Z\"^^xsd:dateTime ) OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } } ORDER BY ASC(?person) LIMIT 10", "paraphrases": ["Who died on January 1, 1971, and how old were they when they died?", "List humans who died on January 1, 1971, along with their names and calculated ages if birth dates are known."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4 ?var4Label ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var7 . } ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P20> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var6 . } BIND ( ( ( ?var3 - ?var7 ) /\"365.2425\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) AS ?var5 ). FILTER ( ( ( ?var3 >= \"1971-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var3 < \"1971-01-02\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_3442", "question": "Humans who died in 1999, including their gender, place of death, first and last names, birthplace, and image.", "sparql": "SELECT ?person ?personLabel ?genderLabel ?placeOfDeathLabel ?familyNameLabel ?givenNameLabel ?placeOfBirthLabel ?image WHERE { ?person wdt:P31 wd:Q5 ; wdt:P570 ?deathDate . FILTER (year(?deathDate) = 1999) . OPTIONAL { ?person wdt:P21 ?gender . ?gender rdfs:label ?genderLabel . FILTER(LANG(?genderLabel) = 'en') } OPTIONAL { ?person wdt:P20 ?placeOfDeath . ?placeOfDeath rdfs:label ?placeOfDeathLabel . FILTER(LANG(?placeOfDeathLabel) = 'en') } OPTIONAL { ?person wdt:P734 ?familyName . ?familyName rdfs:label ?familyNameLabel . FILTER(LANG(?familyNameLabel) = 'en') } OPTIONAL { ?person wdt:P735 ?givenName . ?givenName rdfs:label ?givenNameLabel . FILTER(LANG(?givenNameLabel) = 'en') } OPTIONAL { ?person wdt:P19 ?placeOfBirth . ?placeOfBirth rdfs:label ?placeOfBirthLabel . FILTER(LANG(?placeOfBirthLabel) = 'en') } OPTIONAL { ?person wdt:P18 ?image . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = 'en') } LIMIT 10", "paraphrases": ["Who were some people who died in 1999, and what are their gender, place of death, names, and birthplace?", "List 10 people who died in 1999 with their English labels, gender, place of death, family and given names, birthplace, and image if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4 ?var4Label ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var7 . } ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P20> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var6 . } BIND ( ( ( ?var3 - ?var7 ) /\"365.2425\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) AS ?var5 ). FILTER ( ( ( ?var3 >= \"1999-07-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var3 < \"2000-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_3443", "question": "People who died in 1948, including their given name, family name, gender, place of birth, and date of birth.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?givenNameLabel ?familyNameLabel ?genderLabel ?placeOfBirthLabel ?dateOfBirth WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P570 ?dateOfDeath .\n  FILTER ( YEAR( ?dateOfDeath ) = 1948 ) OPTIONAL {\n    ?person rdfs:label ?personLabel .\n    FILTER ( LANG( ?personLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?person wdt:P735 ?givenName .\n    ?givenName rdfs:label ?givenNameLabel .\n    FILTER ( LANG( ?givenNameLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?person wdt:P734 ?familyName .\n    ?familyName rdfs:label ?familyNameLabel .\n    FILTER ( LANG( ?familyNameLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?person wdt:P21 ?gender .\n    ?gender rdfs:label ?genderLabel .\n    FILTER ( LANG( ?genderLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?person wdt:P19 ?placeOfBirth .\n    ?placeOfBirth rdfs:label ?placeOfBirthLabel .\n    FILTER ( LANG( ?placeOfBirthLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?person wdt:P569 ?dateOfBirth .\n  }\n}\nORDER BY ASC ( ?person )\nLIMIT 10", "paraphrases": ["Who were the humans that died in 1948, and what were their given names, family names, genders, places of birth, and dates of birth?", "List all humans who died in 1948 along with their English labels for given name, family name, gender, place of birth, and date of birth."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4 ?var5 ?var6Label ?var7 ?var8Label ?var8 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var9 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var10 . } BIND ( ( ( ?var9 - ?var7 ) /\"365.2425\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) AS ?var11 ). FILTER ( ( ( ?var9 >= \"1948-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var9 < \"1948-01-02\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_3444", "question": "What are the German and English Wikipedia pages for the film with IMDb ID tt0290015?", "sparql": "SELECT ?wikipedia_page WHERE { ?wikipedia_page schema:about wd:Q1321885 . { ?wikipedia_page schema:inLanguage \"en\" . } UNION { ?wikipedia_page schema:inLanguage \"de\" . } }", "paraphrases": ["Show me the Wikipedia pages in German or English about the movie \"No Regrets\".", "Which language versions of Wikipedia have articles about the film identified by IMDb ID tt0290015?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0290015\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3445", "question": "People born in November 1992, their occupations, and places of birth.", "sparql": "SELECT ?personLabel ?birthDate ?occupationLabel ?placeOfBirthLabel WHERE { ?person wdt:P569 ?birthDate . ?person wdt:P19 ?placeOfBirth . ?person wdt:P106 ?occupation . FILTER (MONTH(?birthDate) = 11 && YEAR(?birthDate) = 1992) . ?person rdfs:label ?personLabel . ?occupation rdfs:label ?occupationLabel . ?placeOfBirth rdfs:label ?placeOfBirthLabel . FILTER(LANG(?personLabel) = \"en\") . FILTER(LANG(?occupationLabel) = \"en\") . FILTER(LANG(?placeOfBirthLabel) = \"en\") } LIMIT 10", "paraphrases": ["Who were born in November 1992, and what are their occupations and birthplaces?", "List the names, occupations, and birthplaces of people born in November 1992."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3Label ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( ( MONTH ( ?var2 ) = \"11\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( YEAR ( ?var2 ) = \"1992\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } LIMIT 10"}}
{"id": "test_3446", "question": "People named Alistair with their family names and birth dates, sorted by birth year.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?familyName ?birthDate WHERE {\n  ?person wdt:P31 wd:Q5 ; wdt:P735 wd:Q2637103 ; wdt:P569 ?birthDate ; wdt:P734 ?familyName .\n}\nORDER BY ASC(?birthDate)\nLIMIT 1000", "paraphrases": ["Who are the people with the given name Alistair, and what are their family names and birth dates?", "List the family names and birth dates of all people named Alistair, ordered from oldest to youngest."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var3 <http://www.wikidata.org/prop/direct/P735> <http://www.wikidata.org/entity/Q2637103> . ?var3 <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var3 <http://www.wikidata.org/prop/direct/P734> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY ASC( ?var2 ) LIMIT 1000"}}
{"id": "test_3447", "question": "Who died in the year 2000?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?human ?dateOfDeath WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human wdt:P570 ?dateOfDeath .\n  FILTER(?dateOfDeath >= \"2000-01-01T00:00:00Z\" ^^ xsd:dateTime)\n  FILTER(?dateOfDeath < \"2001-01-01T00:00:00Z\" ^^ xsd:dateTime)\n}", "paraphrases": ["List all humans who died between January 1, 2000, and December 31, 2000, along with their date of death.", "Show me the names and death dates of all people who passed away in the year 2000."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . FILTER ( ( ( ?var2 < \"2001-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var2 > \"2000-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_3448", "question": "Humans with birth dates, ordered by birth date", "sparql": "SELECT DISTINCT ?human ?birthDate ?humanLabel WHERE { ?human wdt:P31 wd:Q5 . OPTIONAL { ?human wdt:P569 ?birthDate . } ?human rdfs:label ?humanLabel . } ORDER BY ASC(?birthDate) LIMIT 100", "paraphrases": ["Who are some humans and when were they born, sorted from earliest to latest?", "List 100 humans along with their birth dates, sorted by birth date."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2389905> . } ORDER BY ASC( ?var2 ) LIMIT 100"}}
{"id": "test_3449", "question": "Humans who died between January 2 and 14, 2015, and have a non-Japanese Wikipedia label.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?var1(SAMPLE(?label) AS ?var1Label) ?var2 WHERE {\n  ?var1 wdt:P31 wd:Q5 ; wdt:P570 ?var2 .\n  ?var1 rdfs:label ?label .\n  FILTER(LANG(?label) != \"ja\")\n  FILTER(?var2 > \"2015-01-01T00:00:00Z\" ^^ xsd:dateTime)\n  FILTER(?var2 < \"2015-01-15T00:00:00Z\" ^^ xsd:dateTime)\n}\nGROUP BY ?var1 ?var2\nORDER BY ASC(?var2)\nLIMIT 64", "paraphrases": ["Who were the people that died in early January 2015 and have a Wikipedia page in a language other than Japanese?", "List the names and death dates of people who died between January 2 and 14, 2015, excluding those with a Japanese Wikipedia label."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P570> ?var2 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"ja\" ) ) ) . } FILTER ( ( !( BOUND ( ?var3 ) ) ) ) . FILTER ( ( ( ?var2 > \"2015-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 < \"2015-01-15T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja,en,fr,de,ru,ar\". } } ORDER BY ASC( ?var2 ) LIMIT 64"}}
{"id": "test_3450", "question": "Who were born on October 1, 1983?", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person WHERE {\n  ?person wdt:P569 ?birthDate .\n  FILTER ( ?birthDate >= \"1983-10-01T00:00:00Z\" ^^ xsd:dateTime && ?birthDate < \"1983-10-02T00:00:00Z\" ^^ xsd:dateTime )\n}", "paraphrases": ["List of people born on October 1, 1983", "Can you provide a list of all individuals whose date of birth is exactly October 1, 1983?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . FILTER ( ( ( ?var2 >= \"1983-10-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1983-10-01T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_3451", "question": "Museums that are instances of museum (Q33506) with their English names.", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P31 wd:Q33506 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["What are the English names of all museums listed in Wikidata?", "Give me a list of museums and their English labels from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q33506> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } }"}}
{"id": "test_3452", "question": "People and their birth dates from Wikidata", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person ?personLabel ?birthDate WHERE {\n  ?person wdt:P569 ?birthDate .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}\nLIMIT 1000", "paraphrases": ["Who are some people and when were they born?", "List up to 1000 people with their English names and birth dates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 1000"}}
{"id": "test_3453", "question": "Image of Esteban Rodr\u00edguez Mir\u00f3 with SNAC ARK ID w6b28svc", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6b28svc\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w6b28svc?", "Show me the Wikimedia Commons image for the person identified by SNAC ARK ID w6b28svc."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6b28svc\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3454", "question": "Image of the person with SNAC ARK ID w61w3c0s", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w61w3c0s\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w61w3c0s?", "Show me the Wikimedia Commons image for the entity identified by SNAC ARK ID w61w3c0s."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6vm4df3\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3455", "question": "What are the subclasses of population group in Wikidata?", "sparql": "SELECT DISTINCT ?subclass ?subclassLabel WHERE { ?subclass wdt:P279 wd:Q851990 . ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") } LIMIT 5000", "paraphrases": ["Which demographic or social classifications are considered subclasses of \"population group\" in Wikidata?", "List the English labels of all subclasses of the entity \"population group\" (Q851990)."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q851990> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 5000"}}
{"id": "test_3456", "question": "What are the birth and death dates of Adela of Hamaland?", "sparql": "SELECT ?label ?birthDate ?deathDate WHERE { wd:Q353832 rdfs:label ?label . FILTER(LANG(?label) = \"en\") . OPTIONAL { wd:Q353832 wdt:P569 ?birthDate . } OPTIONAL { wd:Q353832 wdt:P570 ?deathDate . } }", "paraphrases": ["Can you tell me the English label, date of birth, and date of death for Adela of Hamaland?", "I need the birth and death dates of Adela of Hamaland, along with her name in English \u2014 what does Wikidata show?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q353832> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3457", "question": "Who were some notable people born on today\u2019s date more than 100 years ago?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?personLabel ( YEAR( ?birthDate ) AS ?birthYear ) WHERE {\n  BIND( MONTH( NOW () ) AS ?currentMonth ) .\n  BIND( DAY( NOW () ) AS ?currentDay ) .\n  ?person wdt:P569 ?birthDate .\n  FILTER ( MONTH( ?birthDate ) = ?currentMonth && DAY( ?birthDate ) = ?currentDay && YEAR( ?birthDate ) < ( YEAR( NOW () ) - 100 ) ) .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}\nLIMIT 10", "paraphrases": ["List historical figures born on this day over a century ago.", "Which famous individuals share their birthday with today, but were born more than 100 years ago?"], "info": {"raw_sparql": "SELECT ?var1Label ( YEAR ( ?var2 ) AS ?var3 ) WHERE { BIND ( MONTH ( NOW ( ) ) AS ?var4 ). BIND ( DAY ( NOW ( ) ) AS ?var5 ). ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . FILTER ( ( ( MONTH ( ?var2 ) = ?var4 ) && ( DAY ( ?var2 ) = ?var5 ) && ( YEAR ( ?var2 ) < ( YEAR ( NOW ( ) ) +\"-100\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10"}}
{"id": "test_3458", "question": "Humans born in 1937 with their gender, birthplace, death place, image, and calculated age if deceased.", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?gender ?birthPlace ?deathPlace ?image ?ageInYears WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P569 ?birthDate .\n  FILTER ( strstarts( str( ?birthDate ) , \"1937\" ) ) .\n  OPTIONAL {\n    ?person wdt:P21 ?gender .\n  }\n  OPTIONAL {\n    ?person wdt:P19 ?birthPlace .\n  }\n  OPTIONAL {\n    ?person wdt:P20 ?deathPlace .\n  }\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n    BIND( ( ( ?deathDate - ?birthDate ) / \"365.2425\" ^^ xsd:decimal ) AS ?ageInYears )\n  }\n}\nORDER BY ?person", "paraphrases": ["Who were the people born in 1937, and what are their gender, birthplace, death place, image, and age at death (if applicable)?", "List all humans born in 1937, including their gender, place of birth, place of death (if any), image, and how old they were when they died."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4 ?var4Label ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var7 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P20> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var6 . } BIND ( ( ( ?var3 - ?var7 ) /\"365.2425\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) AS ?var5 ). FILTER ( ( ( ?var7 >= \"1906-01-02\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var7 < \"1906-07-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_3459", "question": "Image of Witter Bynner with SNAC ARK ID w6zk5gc0", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6zk5gc0\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Witter Bynner\u2019s SNAC ARK ID w6zk5gc0?", "Show me the Wikimedia Commons image for the person identified by SNAC ARK ID w6zk5gc0."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6zk5gc0\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3460", "question": "Image of person with SNAC ARK ID w61w3c0s", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w61w3c0s\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w61w3c0s?", "Show me the Wikimedia Commons image for the entity identified by SNAC ARK ID w61w3c0s."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w65m6sgn\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3461", "question": "Who has the native name \"Yann Martel\" in English?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person WHERE {\n  ?person wdt:P1559 \"Yann Martel\" @en .\n}", "paraphrases": ["Which person has \"Yann Martel\" as their name in their native language?", "Find the Wikidata item for the person whose native name is \"Yann Martel\" in English."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1559> \"Yann Hwang\"@fr . }"}}
{"id": "test_3462", "question": "Image of the person with SNAC ARK ID w6ws9p2d", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6ws9p2d\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6ws9p2d?", "Show me the Wikimedia Commons image for the individual identified by SNAC ARK ID w6ws9p2d."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6ws9p2d\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3463", "question": "Official name of Germany (ISO code DE) and its labels in all languages.", "sparql": "SELECT ?item ?officialName ?itemLabel WHERE { ?item wdt:P297 \"DE\" ; wdt:P1448 ?officialName . ?item rdfs:label ?itemLabel . }", "paraphrases": ["What is the official name of the country with the ISO code \"DE\", and what are its names in different languages?", "Show me the official name of Germany and all its language labels from Wikidata."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1448> ?var2 ; <http://www.wikidata.org/prop/direct/P297> ?var3 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( ?var3 = \"DE\" ) ) ) . }"}}
{"id": "test_3464", "question": "Who are the humans named George?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?var1 ?label WHERE {\n  ?var1 wdt:P31 wd:Q5 .\n  ?var1 rdfs:label ?label .\n  FILTER ( ?label = \"George\" @en )\n}", "paraphrases": ["List all people named George.", "Find all individuals with the name George in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 ?var2Label \"George\"@en . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3465", "question": "People who died on June 5, 1887", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nSELECT DISTINCT ?person WHERE {\n  ?person wdt:P570 ?deathDate .\n  FILTER(xsd:date(?deathDate) = \"1887-06-05\" ^^ xsd:date)\n}", "paraphrases": ["Who died on June 5, 1887?", "List all individuals who passed away on June 5, 1887."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . FILTER ( ( ( ?var2 >= \"1887-06-05T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1887-06-05T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_3466", "question": "Image of the person with SNAC ARK ID w6v69k3f", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6v69k3f\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6v69k3f?", "Show me the Wikimedia Commons image for the entity identified by SNAC ARK ID w6v69k3f."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6v69k3f\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_3467", "question": "What are the dialects and regional varieties of the German language?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?language ?languageLabel WHERE {\n  ?language wdt:P279 * wd:Q188 .\n  ?language wdt:P31 ?type .\n  FILTER ( ?type IN ( wd:Q33384 , wd:Q1288568 ) ) .\n  ?language rdfs:label ?languageLabel .\n  FILTER ( LANG( ?languageLabel ) = 'en' )\n}", "paraphrases": ["Can you list all languages and dialects that are subclasses of German?", "Show me the English labels of all Germanic languages and dialects descended from German."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q188> . }"}}
{"id": "test_3468", "question": "Who is Timal in French?", "sparql": "SELECT DISTINCT ?person WHERE { ?person rdfs:label \"Timal\" @fr . ?person wdt:P31 wd:Q5 .}", "paraphrases": ["Which human has the French label 'Timal'?", "Find the French-named person called Timal."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Timal\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3469", "question": "Given names in Korea that are identical to Korean surnames.", "sparql": "SELECT DISTINCT ?givenName ?givenNameLabel ?surname ?surnameLabel ?nativeName WHERE { ?givenName wdt:P1533 ?surname . ?surname wdt:P31 wd:Q27951364 . OPTIONAL { ?givenName wdt:P1559 ?nativeName . } }", "paraphrases": ["Which given names in Korea are also used as family names?", "List all given names that are identical to Korean surnames, along with their native language names if available."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q27951364> . ?var5 <http://www.wikidata.org/prop/direct/P1533> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1559> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3470", "question": "Who died on March 19, 1979?", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person WHERE {\n  ?person wdt:P570 ?deathDate .\n  FILTER ( ?deathDate >= \"1979-03-19T00:00:00Z\" ^^ xsd:dateTime && ?deathDate <= \"1979-03-19T23:59:59Z\" ^^ xsd:dateTime )\n}", "paraphrases": ["List all individuals whose date of death was exactly March 19, 1979.", "Can you tell me the people who passed away on that day in 1979 \u2014 March 19th?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . FILTER ( ( ( ?var2 >= \"1979-03-19T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1979-03-19T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_3471", "question": "Countries and regions with German as official language and their statement qualifiers", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT DISTINCT ?item ?itemLabel ?qualifierProperty ?qualifierPropertyLabel WHERE {\n  ?statement ps:P37 wd:Q188 .\n  ?item p:P37 ?statement .\n  OPTIONAL {\n    ?statement ?qualifierProperty ?qualifierValue .\n    ?qualifierProperty wikibase:qualifier wdt:P37 .\n    ?qualifierProperty rdfs:label ?qualifierPropertyLabel .\n    FILTER ( LANG( ?qualifierPropertyLabel ) = \"en\" )\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}\nLIMIT 101", "paraphrases": ["Which items have German as an official language, and what qualifiers are used on those official language statements?", "List all entities that officially use German as a language, along with any additional details (qualifiers) specified on those language statements."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P37> <http://www.wikidata.org/entity/Q188> . ?var1 <http://www.wikidata.org/prop/P37> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_3472", "question": "What are the categories (and their Wikipedia pages) that Bernd Althusmann belongs to?", "sparql": "SELECT DISTINCT ?class ?classLabel ?wikipediaPage WHERE { wd:Q96293 wdt:P31 ?cls . ?cls wdt:P279* ?class . ?class rdfs:label ?classLabel . FILTER(LANG(?classLabel) = \"en\") OPTIONAL { ?wikipediaPage schema:about ?class ; schema:isPartOf <https://en.wikipedia.org/> . } }", "paraphrases": ["Which Wikipedia articles describe the classes that Bernd Althusmann is an instance of or a subclass of?", "Can you list the biological and conceptual categories that Bernd Althusmann fits into, along with their English Wikipedia links?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q96293> ( <http://www.wikidata.org/prop/direct/P31> ?/ <http://www.wikidata.org/prop/direct/P279> *) ?var1 . OPTIONAL { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3473", "question": "People who died in 2011", "sparql": "SELECT DISTINCT ?person WHERE { ?person wdt:P570 ?deathDate . FILTER ( ?deathDate >= \"2011-01-01T00:00:00Z\"^^xsd:dateTime && ?deathDate <= \"2011-12-31T23:59:59Z\"^^xsd:dateTime ) }", "paraphrases": ["Who died in the year 2011?", "List all individuals whose date of death was between January 1, 2011, and December 31, 2011."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . FILTER ( ( ( ?var2 >= \"2011-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"2011-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_3474", "question": "Entities in Italy in 1979", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P17 wd:Q38 ; wdt:P585 ?date ; rdfs:label ?itemLabel .\n  FILTER(YEAR(?date) = 1979)\n}", "paraphrases": ["What events or items in Italy occurred in 1979?", "List the names of things associated with Italy that happened in 1979."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q38> ; <http://www.wikidata.org/prop/direct/P585> ?var3 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( YEAR ( ?var3 ) = \"1979\" ) ) ) . }"}}
{"id": "test_3475", "question": "Counties bordering New York City and their statement ranks", "sparql": "SELECT ?borderingEntity ?statement (SAMPLE(?qualifierProperty) AS ?qualifier) WHERE { ?borderingEntity p:P47 ?statement . ?statement ps:P47 wd:Q60 . OPTIONAL { ?statement ?qualifierProperty ?object . } } GROUP BY ?borderingEntity ?statement", "paraphrases": ["Which counties share a border with New York City, and what qualifiers are used on those statements?", "List the counties that border New York City along with the qualifiers on their border relationships."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P47> <http://www.wikidata.org/entity/Q60> . ?var1 <http://www.wikidata.org/prop/P47> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_3476", "question": "Labels for Asunci\u00f3n in English, German, French, and Italian, along with its image, coordinates, and English Wikipedia link.", "sparql": "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?label ?image ?coordinates ?wikipediaArticle WHERE {\n  VALUES ( ?lang ?sort ) {\n    ( \"en\" 1 ) ( \"de\" 2 ) ( \"fr\" 3 ) ( \"it\" 4 )\n  }\n  wd:Q2933 rdfs:label ?label .\n  FILTER ( LANG( ?label ) = ?lang ) OPTIONAL {\n    wd:Q2933 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q2933 wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    ?wikipediaArticle rdf:type schema:Article ; schema:about wd:Q2933 ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n}\nORDER BY ?sort", "paraphrases": ["What are the names of Asunci\u00f3n in English, German, French, and Italian, and what is its image, geographic coordinates, and English Wikipedia page?", "Show me the labels of Asunci\u00f3n in English, German, French, and Italian, sorted in that order, along with its Wikimedia Commons image, coordinates, and the link to its English Wikipedia article."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q2933> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var5 ) ) ) . VALUES ( ?var5 ?var6 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q2933> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q2933> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q2933> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var6 )"}}
{"id": "test_3477", "question": "What countries, regions, and continents is the Province of Alessandria part of?", "sparql": "SELECT DISTINCT ?var1 WHERE { BIND( wd:Q15097 AS ?var2 ) . ?var2 ( wdt:P17 | wdt:P131 | wdt:P30 )+ ?var1 .}", "paraphrases": ["Can you list all the larger geographic and political entities that include the Province of Alessandria?", "Starting from Alessandria Province, what administrative, national, and continental entities can be reached through its location relations?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q15097> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_3478", "question": "Who were born on July 28, 1724, and do they have any images available on Wikimedia Commons?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?person ?personLabel ?image WHERE {\n  ?person wdt:P569 \"1724-07-28T00:00:00Z\" ^^ xsd:dateTime .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["List the names and images of people born on July 28, 1724.", "Can you show me the English names and photos of individuals born on July 28, 1724?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P569> \"+1724-07-28T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_3479", "question": "Is Fredrik Kempe a human?", "sparql": "ASK WHERE { wd:Q2418625 ( wdt:P31 / wdt:P279* ) wd:Q5 . }", "paraphrases": ["Does Fredrik Kempe belong to the category of humans or any of its subclasses?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q2418625> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_3480", "question": "What are the official names of Basel in German, English, French, and Italian, along with its image, coordinates, and corresponding Wikipedia articles?", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var1Label ?var2 ?var3 ?var4 WHERE {\n  VALUES(?var5 ?var6 ?wikiSite) {(\"de\" \"1\" ^^ xsd:integer <https://de.wikipedia.org/>)(\"en\" \"2\" ^^ xsd:integer <https://en.wikipedia.org/>)(\"fr\" \"3\" ^^ xsd:integer <https://fr.wikipedia.org/>)(\"it\" \"4\" ^^ xsd:integer <https://it.wikipedia.org/>)\n  }\n  wd:Q78 rdfs:label ?var1Label .\n  FILTER(LANG(?var1Label) = ?var5)\n  OPTIONAL {\n    wd:Q78 wdt:P18 ?var2 .\n  }\n  OPTIONAL {\n    wd:Q78 wdt:P625 ?var3 .\n  }\n  ?var4 schema:about wd:Q78 ; schema:inLanguage ?var5 ; schema:isPartOf ?wikiSite .\n}\nORDER BY ASC(?var6)", "paraphrases": ["Show me the labels of Basel in different languages, its picture, location on the map, and the Wikipedia page in each language.", "Can you list the names of Basel in German, English, French, and Italian, and for each, provide the Wikimedia Commons image, geographic coordinates, and the Wikipedia article in that language?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q78> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var5 ) ) ) . VALUES ( ?var5 ?var6 ) { ( \"de\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q78> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q78> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q78> ; <http://schema.org/inLanguage> \"de\"; <http://schema.org/isPartOf> <https://de.wikipedia.org/> . } } ORDER BY ASC( ?var6 )"}}
{"id": "test_3481", "question": "Is the name \"Alfreda\" considered a human?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q822107 ( wdt:P31 / wdt:P279 * ) wd:Q5 .\n}", "paraphrases": ["Does the female given name Alfreda belong to the category of humans, either directly or through any subclass hierarchy?", "Can Alfreda, as a given name, be classified as a human being?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q822107> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_3482", "question": "Italian names of cities and their alternative names in Italian.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nSELECT ?city ?label ?altLabel WHERE {\n  ?city wdt:P31 wd:Q515 .\n  ?city rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"it\" ) .\n  OPTIONAL {\n    ?city skos:altLabel ?altLabel .\n    FILTER ( LANG( ?altLabel ) = \"it\" ) .\n  }\n}", "paraphrases": ["What are the Italian-language labels and alternative labels for cities in Wikidata?", "Show me all cities that have an Italian label, along with any additional Italian alternative names they might have."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"it\" ) ) ) . OPTIONAL { ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"it\" ) ) ) . } }"}}
{"id": "test_3483", "question": "Labels for London in Italian, English, German, and French, along with its image, coordinates, and Italian Wikipedia link.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?label ?image ?coordinates ?wikipediaArticle WHERE {\n  VALUES(?lang ?priority) {(\"it\" 1)(\"en\" 2)(\"de\" 3)(\"fr\" 4)\n  }\n  wd:Q84 rdfs:label ?label .\n  FILTER(LANG(?label) = ?lang)\n  OPTIONAL {\n    wd:Q84 wdt:P18 ?image\n  }\n  OPTIONAL {\n    wd:Q84 wdt:P625 ?coordinates\n  }\n  OPTIONAL {\n    ?wikipediaArticle schema:about wd:Q84 ; schema:inLanguage \"it\" ; schema:isPartOf <https://it.wikipedia.org/> .\n  }\n}\nORDER BY ?priority", "paraphrases": ["What are the names of London in Italian, English, German, and French, and what is its image, location, and Italian Wikipedia page?", "Show me the multilingual labels for London (prioritizing Italian), its image, geographic coordinates, and the link to its Italian Wikipedia article."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q84> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var7 ) ) ) . VALUES ( ?var7 ?var8 ) { ( \"it\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q84> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q84> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"it\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q84> <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q84> ; <http://schema.org/inLanguage> \"it\"; <http://schema.org/isPartOf> <https://it.wikipedia.org/> . } } ORDER BY ASC( ?var8 )"}}
{"id": "test_3484", "question": "Who died in December 1998?", "sparql": "SELECT DISTINCT ?person WHERE { ?person wdt:P570 ?deathDate . FILTER (?deathDate >= \"1998-12-01\"^^xsd:date && ?deathDate <= \"1998-12-31\"^^xsd:date) }", "paraphrases": ["List of people who died in December 1998", "Show me all individuals who passed away in December 1998"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . FILTER ( ( ( ?var2 >= \"1998-12-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1998-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_3485", "question": "Who died in November 1950?", "sparql": "SELECT DISTINCT ?person WHERE { ?person wdt:P570 ?deathDate . FILTER ( ?deathDate >= \"1950-11-01T00:00:00Z\"^^xsd:dateTime && ?deathDate <= \"1950-11-30T23:59:59Z\"^^xsd:dateTime ) }", "paraphrases": ["List all people whose date of death was in November 1950.", "Can you tell me the names of individuals who passed away during November 1950?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . FILTER ( ( ( ?var2 >= \"1950-11-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1950-11-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_3486", "question": "Coordinates of all municipalities in Italy", "sparql": "SELECT ?coordinates WHERE { ?municipality (wdt:P31 / wdt:P279*) wd:Q15284 . ?municipality wdt:P17 wd:Q38 . ?municipality wdt:P625 ?coordinates . }", "paraphrases": ["What are the geographic coordinates of municipalities and their subtypes in Italy?", "Show me the locations of all Italian municipalities, including cities and towns."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q15284> . ?var3 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q38> . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var2 . OPTIONAL { } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,en\". } }"}}
{"id": "test_3487", "question": "Parks in Dublin", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?park ?label WHERE {\n  ?park wdt:P31 wd:Q22698 .\n  ?park wdt:P131 wd:Q1761 .\n  ?park rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["What are the names of parks located in Dublin?", "List the English-named parks in Dublin, Ireland."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q22698> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q1761> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_3488", "question": "Is the TP de Oro award considered a human?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q2735642 wdt:P31 / wdt:P279 * wd:Q5 .\n}", "paraphrases": ["Is TP de Oro an instance of a class that is a subclass of human?", "Does the TP de Oro television award belong to any category that includes humans?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q2735642> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_3489", "question": "What is the population of Baldissero Canavese?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?population WHERE {\n  wd:Q9019 wdt:P1082 ?population .\n}", "paraphrases": ["How many people live in Baldissero Canavese?", "Can you tell me the number of inhabitants in the Italian commune of Baldissero Canavese?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1082> <http://www.wikidata.org/entity/Q9019> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3490", "question": "What are the birth and death dates of Maria Sk\u0142odowska-Curie?", "sparql": "SELECT ?person ?deathDate ?birthDate WHERE { ?person wdt:P31 wd:Q5 . ?person rdfs:label \"Maria Sk\u0142odowska-Curie\"@pl . OPTIONAL { ?person wdt:P570 ?deathDate . } OPTIONAL { ?person wdt:P569 ?birthDate . } }", "paraphrases": ["Can you tell me when Marie Curie, known as Maria Sk\u0142odowska-Curie in Polish, was born and died?", "Who is the Polish-named scientist born in 1867 and died in 1934?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 ?var4Label \"string1\"@pl . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } }"}}
{"id": "test_3491", "question": "Humans born between January 1 and June 30, 1928, including their birthplace, country, and current age.", "sparql": "SELECT ?human ?birthDate ?birthPlace ?country ?age WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P569 ?birthDate . OPTIONAL { ?human wdt:P19 ?birthPlace . } OPTIONAL { ?human wdt:P27 ?country . } OPTIONAL { ?human wdt:P570 ?deathDate . } BIND( IF(BOUND(?deathDate), ?deathDate, NOW()) AS ?endDate ) BIND( ( ( ?endDate - ?birthDate ) / \"365.2425\" ^^ xsd:decimal ) AS ?age ) FILTER ( ?birthDate >= \"1928-01-01\"^^xsd:date && ?birthDate < \"1928-07-01\"^^xsd:date ) } ORDER BY ?human", "paraphrases": ["Who were the people born in the first half of 1928, and how old are they now?", "List all humans born from January 1 to June 30, 1928, along with their place of birth, country of citizenship, and current age."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var9 . } BIND ( ( ( ?var5 - ?var2 ) /\"365.2425\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) AS ?var10 ). FILTER ( ( ( ?var2 >= \"1928-01-02\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 < \"1928-07-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_3492", "question": "What are the labels, image, coordinates, and social media links for Picardy in English, German, French, and Italian?", "sparql": "SELECT ?label ?image ?coordinates ?youtubeId ?githubUsername ?twitterUsername ?facebookUsername ?instagramUsername ?officialWebsite ?orcid WHERE { OPTIONAL { wd:Q13950 rdfs:label ?label . } OPTIONAL { wd:Q13950 wdt:P18 ?image . } OPTIONAL { wd:Q13950 wdt:P625 ?coordinates . } OPTIONAL { wd:Q13950 wdt:P1651 ?youtubeId . } OPTIONAL { wd:Q13950 wdt:P2037 ?githubUsername . } OPTIONAL { wd:Q13950 wdt:P2002 ?twitterUsername . } OPTIONAL { wd:Q13950 wdt:P2013 ?facebookUsername . } OPTIONAL { wd:Q13950 wdt:P2003 ?instagramUsername . } OPTIONAL { wd:Q13950 wdt:P856 ?officialWebsite . } OPTIONAL { wd:Q13950 wdt:P496 ?orcid . } VALUES (?lang ?sort) { (\"en\" 1) (\"de\" 2) (\"fr\" 3) (\"it\" 4) } FILTER (LANG(?label) = ?lang) } ORDER BY ?sort", "paraphrases": ["Can you show me the names of the region of Picardy in English, German, French, and Italian, along with its image, geographic coordinates, and any associated official websites or social media accounts?", "Please provide the multilingual labels for Picardy (Picardy, Picardie, Piccardia), its Wikimedia image, coordinates, and any available YouTube, GitHub, Twitter, Facebook, Instagram, website, or ORCID identifiers."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q13950> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var12 ) ) ) . VALUES ( ?var12 ?var13 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q13950> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q13950> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q13950> <http://www.wikidata.org/prop/direct/P1651> ?var5 . } OPTIONAL { <http://www.wikidata.org/entity/Q13950> <http://www.wikidata.org/prop/direct/P2037> ?var6 . } OPTIONAL { <http://www.wikidata.org/entity/Q13950> <http://www.wikidata.org/prop/direct/P2002> ?var7 . } OPTIONAL { <http://www.wikidata.org/entity/Q13950> <http://www.wikidata.org/prop/direct/P2013> ?var8 . } OPTIONAL { <http://www.wikidata.org/entity/Q13950> <http://www.wikidata.org/prop/direct/P2003> ?var9 . } OPTIONAL { <http://www.wikidata.org/entity/Q13950> <http://www.wikidata.org/prop/direct/P856> ?var10 . } OPTIONAL { <http://www.wikidata.org/entity/Q13950> <http://www.wikidata.org/prop/direct/P496> ?var11 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q13950> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var13 )"}}
{"id": "test_3493", "question": "What is the English label of Balthazard Flotte de La Fr\u00e9di\u00e8re, and when were they born and died?", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { wd:Q16931146 rdfs:label ?personLabel . OPTIONAL { wd:Q16931146 wdt:P569 ?birthDate . } OPTIONAL { wd:Q16931146 wdt:P570 ?deathDate . } FILTER(LANG(?personLabel) = \"en\")}", "paraphrases": ["Can you tell me the name, birth date, and death date of the Canadian military officer Balthazard Flotte de La Fr\u00e9di\u00e8re?", "Who is Balthazard Flotte de La Fr\u00e9di\u00e8re, and do we have records of their birth and death?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q16931146> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3494", "question": "Is GNOME Boxes a human?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  wd:Q4951690(wdt:P31 / wdt:P279 *) wd:Q5 .\n}", "paraphrases": ["Does GNOME Boxes belong to any class that is a subclass of human?", "Is GNOME Boxes an instance of a human or any of its subclasses?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q4951690> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_3495", "question": "What are the German-language labels for all humans in Wikidata?", "sparql": "SELECT ?human ?label WHERE { ?human rdfs:label ?label . FILTER (LANG(?label) = \"de\") . ?human wdt:P31 wd:Q5 .}", "paraphrases": ["Show me all human beings that have German labels in Wikidata.", "List all individuals who are classified as humans along with their German names."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"de\" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3496", "question": "Rome, Italy: Italian label, image, coordinates, and Italian Wikipedia article", "sparql": "SELECT ?label ?image ?coordinates ?wikipediaArticle WHERE { wd:Q220 rdfs:label ?label . FILTER (LANG(?label) = ?lang) VALUES (?lang ?priority) { (\"it\" 1) (\"en\" 2) (\"de\" 3) (\"fr\" 4) } OPTIONAL { wd:Q220 wdt:P18 ?image . } OPTIONAL { wd:Q220 wdt:P625 ?coordinates . } OPTIONAL { ?wikipediaArticle schema:about wd:Q220 ; schema:inLanguage \"it\" ; schema:isPartOf <https://it.wikipedia.org/> . } } ORDER BY ?priority LIMIT 1", "paraphrases": ["What is the Italian name, image, geographic coordinates, and Italian Wikipedia link for Rome?", "Please provide the label in Italian, the image, the coordinates, and the Italian Wikipedia page for the city of Rome."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { OPTIONAL { <http://www.wikidata.org/entity/statement/Q4507235-A8257C38-F0D3-4944-ADF2-549271B66AF3> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var5 ) ) ) . VALUES ( ?var5 ?var6 ) { ( \"it\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/statement/Q4507235-A8257C38-F0D3-4944-ADF2-549271B66AF3> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/statement/Q4507235-A8257C38-F0D3-4944-ADF2-549271B66AF3> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/statement/Q4507235-A8257C38-F0D3-4944-ADF2-549271B66AF3> ; <http://schema.org/inLanguage> \"it\"; <http://schema.org/isPartOf> <https://it.wikipedia.org/> . } } ORDER BY ASC( ?var6 )"}}
{"id": "test_3497", "question": "What are the 10 most common names of humans in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?name ( COUNT( ?human ) AS ?count ) WHERE {\n  ?human ( wdt:P31 / wdt:P279 * ) wd:Q5 .\n  ?human wdt:P2561 ?name .\n}\nGROUP BY ?name\nORDER BY DESC ( ?count )\nLIMIT 10", "paraphrases": ["Which human names appear the most frequently in Wikidata, and how many people have each?", "Can you list the top 10 most frequent names assigned to humans in Wikidata, sorted by popularity?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 ( COUNT ( ?var3 ) AS ?var2 ) WHERE { ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . ?var3 <http://www.wikidata.org/prop/direct/P2561> ?var1 . } GROUP BY ?var1 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } } ORDER BY DESC( ?var2 ) LIMIT 10"}}
{"id": "test_3498", "question": "What are the broader categories two levels above the categories that Helmut Kohl belongs to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?class2 ?class2Label ?class3 WHERE {\n  wd:Q2518 wdt:P31 ?class1 .\n  ?class1 wdt:P279 ?class2 .\n  OPTIONAL {\n    ?class2 wdt:P279 ?class3 .\n  }\n  OPTIONAL {\n    ?class2 rdfs:label ?class2Label .\n    FILTER(LANG(?class2Label) = \"en\")\n  }\n}", "paraphrases": ["Superclasses of Helmut Kohl\u2019s categories up to two levels.", "Show me the immediate and second-level superclasses of the categories Helmut Kohl is an instance of."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2518> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3499", "question": "What are some first names that are used in languages written with the Latin alphabet?", "sparql": "SELECT ?givenName ?givenNameLabel WHERE { ?givenName wdt:P31 wd:Q202444 . ?givenName wdt:P407 ?language . ?language wdt:P282 wd:Q8229 . ?givenName rdfs:label ?givenNameLabel . }", "paraphrases": ["Show me given names and their labels that are associated with languages using the Latin script.", "Which first names are used in languages like English, French, or Spanish \u2014 i.e., those that use the Latin writing system?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q202444> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var1 <http://www.wikidata.org/prop/direct/P282> <http://www.wikidata.org/entity/Q397> . }"}}
{"id": "test_3500", "question": "What are all the superclass categories of human energy in the Wikidata taxonomy?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?superclass WHERE {\n  wd:Q20984829 wdt:P279 * ?superclass .\n  FILTER EXISTS {\n    ?superclass rdfs:label ?label\n  }\n}", "paraphrases": ["Superclasses of human energy in Wikidata", "List all the broader categories that human energy belongs to, including indirect parent classes."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q20984829> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_3501", "question": "Italian settlements ending in \"ermo\" with their coordinates", "sparql": "SELECT ?settlement ?label ?coordinates WHERE { ?settlement (wdt:P31/wdt:P279*) wd:Q486972 . ?settlement wdt:P17 wd:Q38 . ?settlement rdfs:label ?label . ?settlement wdt:P625 ?coordinates . FILTER(LANG(?label) = \"it\") FILTER(REGEX(?label, \"ermo$\")) }", "paraphrases": ["What are the Italian towns and villages whose names end in \"ermo\", and where are they located?", "List all human settlements in Italy with Italian names ending in \"ermo\", along with their geographic coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q486972> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q38> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . FILTER ( ( ( LANG ( ?var1Label ) = \"it\" ) ) ) . FILTER ( ( REGEX ( ?var1Label , \"(ermo)$\" ) ) ) . }"}}
{"id": "test_3502", "question": "Most common female given names in Slovakia, in Ukrainian spelling", "sparql": "SELECT ?givenName ?ukrainianLabel (COUNT(*) AS ?count)\nWHERE {\n  ?person wdt:P21 wd:Q6581072 .  # female\n  {\n    ?person wdt:P19 wd:Q214 .    # born directly in Slovakia\n  } UNION {\n    ?person wdt:P19 ?birthPlace .\n    ?birthPlace wdt:P131* wd:Q214 .  # born in any sub-territory of Slovakia\n  }\n  ?person wdt:P735 ?givenName .\n  OPTIONAL {\n    ?givenName rdfs:label ?ukrainianLabel .\n    FILTER (LANG(?ukrainianLabel) = \"uk\")\n  }\n}\nGROUP BY ?givenName ?ukrainianLabel\nORDER BY DESC(?count) ASC(?ukrainianLabel)\nLIMIT 5000", "paraphrases": ["What are the most frequently used female first names among people born in Slovakia, and how many times do they appear, translated into Ukrainian?", "Show me the top 5000 female given names of people born in Slovakia or its regions, along with their Ukrainian translations and usage counts, sorted by popularity."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( COUNT (* ) AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . { ?var4 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q214> . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P19> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q214> . } ?var4 <http://www.wikidata.org/prop/direct/P735> ?var1 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"uk\" ) ) ) . } } GROUP BY ?var1 ?var2 ORDER BY DESC( ?var3 )ASC( ?var2 ) LIMIT 5000"}}
{"id": "test_3503", "question": "What are the most common male given names among people born in Georgia, and how often do they appear in Russian?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?givenName ?givenNameRu ( COUNT( * ) AS ?count ) WHERE {\n  ?person wdt:P21 wd:Q6581097 .\n  {\n    ?person wdt:P19 wd:Q230 .\n  } UNION {\n    ?person wdt:P19 ?birthPlace .\n    ?birthPlace wdt:P131 * wd:Q230 .\n  }\n  ?person wdt:P735 ?givenName .\n  OPTIONAL {\n    ?givenName rdfs:label ?givenNameRu .\n    FILTER ( LANG( ?givenNameRu ) = \"ru\" )\n  }\n}\nGROUP BY ?givenName ?givenNameRu\nORDER BY DESC ( ?count ) ASC ( ?givenNameRu )\nLIMIT 5000", "paraphrases": ["Can you list the Russian-language forms of first names of men born in Georgia or its regions, sorted by frequency?", "How many male individuals born in Georgia have each given name, and what is the Russian translation of those names?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( COUNT (* ) AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581097> . { ?var4 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q230> . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P19> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q230> . } ?var4 <http://www.wikidata.org/prop/direct/P735> ?var1 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"ru\" ) ) ) . } } GROUP BY ?var1 ?var2 ORDER BY DESC( ?var3 )ASC( ?var2 ) LIMIT 5000"}}
{"id": "test_3504", "question": "Classes Hal Varian belongs to and their superclasses", "sparql": "SELECT ?instanceClass ?instanceClassLabel ?superclass WHERE { wd:Q689785 wdt:P31 ?instanceClass . OPTIONAL { ?instanceClass wdt:P279 ?superclass . } ?instanceClass rdfs:label ?instanceClassLabel . FILTER(LANG(?instanceClassLabel) = \"en\") }", "paraphrases": ["What classes is Hal Varian an instance of, and what are their broader categories?", "Show me the categories that include Hal Varian and their parent categories."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q689785> <http://www.wikidata.org/prop/direct/P279> * ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3505", "question": "What are the most common given names among people born in Hamilton, New Zealand?", "sparql": "SELECT ?givenName ?givenNameLabel (COUNT(*) AS ?count) WHERE { ?person wdt:P19 wd:Q200028 . ?person wdt:P735 ?givenName . OPTIONAL { ?givenName rdfs:label ?givenNameLabel . FILTER(LANG(?givenNameLabel) = \"en\") } } GROUP BY ?givenName ?givenNameLabel ORDER BY DESC(?count) ASC(?givenNameLabel) LIMIT 100", "paraphrases": ["Can you list the given names of people born in Hamilton, New Zealand, sorted by how many people have each name, with English labels?", "Which first names are most frequent among individuals born in Hamilton, New Zealand, and how many people share each name?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( COUNT (* ) AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q200028> . ?var4 <http://www.wikidata.org/prop/direct/P735> ?var1 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } } GROUP BY ?var1 ?var2 ORDER BY DESC( ?var3 )ASC( ?var2 ) LIMIT 100000"}}
{"id": "test_3506", "question": "List all male given names in Wikidata, sorted alphabetically.", "sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 wdt:P31 wd:Q12308941 . ?var1 rdfs:label ?var1Label . } ORDER BY ASC(?var1Label)", "paraphrases": ["What are all the male given names recorded in Wikidata, ordered from A to Z?", "Show me all entities classified as male given names along with their labels, sorted in ascending alphabetical order."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ar,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q12308941> . } ORDER BY ASC( ?var4Label )"}}
{"id": "test_3507", "question": "Works produced in Munich and their production qualifiers.", "sparql": "SELECT ?work ?statement (SAMPLE(?qualifierProperty) AS ?qualifier) WHERE { { SELECT DISTINCT ?work ?statement WHERE { ?statement ps:P291 wd:Q1726 . ?work p:P291 ?statement . } LIMIT 101 } OPTIONAL { ?statement ?qualifierProperty ?value . ?qualifierProperty wikibase:qualifier true . } } GROUP BY ?work ?statement", "paraphrases": ["What works were produced in Munich, and what qualifiers are associated with their production location?", "List up to 101 works produced in Munich, along with any qualifier properties used on their production location statements."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P162> <http://www.wikidata.org/entity/Q1726> . ?var1 <http://www.wikidata.org/prop/P162> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_3508", "question": "What are the most common given names (in German) of people born in Italian communes?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?givenName ?givenNameLabel(COUNT(*) AS ?count) WHERE {\n  ?person wdt:P19 ?birthPlace .\n  ?birthPlace wdt:P31 wd:Q747074 .\n  ?person wdt:P735 ?givenName .\n  ?givenName rdfs:label ?givenNameLabel .\n  FILTER(LANG(?givenNameLabel) = \"de\")\n}\nGROUP BY ?givenName ?givenNameLabel\nORDER BY DESC(?count) ASC(?givenNameLabel)", "paraphrases": ["Which German-labeled given names appear most frequently among people born in communes of Italy, and how many people have each?", "Can you list the German names of people born in Italian communes, sorted by popularity?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( COUNT (* ) AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q747074> . ?var4 <http://www.wikidata.org/prop/direct/P735> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"de\" ) ) ) . } GROUP BY ?var1 ?var2 ORDER BY DESC( ?var3 )ASC( ?var2 )"}}
{"id": "test_3509", "question": "Italian commune named Crotone and its cadastre code", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commune ?label ?cadastreCode WHERE {\n  ?commune wdt:P31 wd:Q747074 .\n  ?commune rdfs:label ?label .\n  FILTER ( STRSTARTS( ?label , \"Crotone\" ) ) .\n  OPTIONAL {\n    ?commune wdt:P806 ?cadastreCode .\n  }\n}\nLIMIT 10", "paraphrases": ["What is the Italian cadastre code for the commune of Crotone?", "Show me all language labels for the Italian commune Crotone along with its cadastre code."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,it\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q747074> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( STRSTARTS ( ?var1Label , \"Crotone\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P806> ?var2 . } } LIMIT 10"}}
{"id": "test_3510", "question": "What are the names in different languages, ISO codes, and coordinates of all Italian regions?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?region ?label ( LANG( ?label ) AS ?language ) ?isoCode ?coordinates WHERE {\n  ?region wdt:P31 wd:Q16110 ; wdt:P300 ?isoCode ; wdt:P625 ?coordinates ; rdfs:label ?label .\n  FILTER ( LANG( ?label ) IN ( \"da\" , \"de\" , \"el\" , \"en\" , \"es\" , \"fi\" , \"fr\" , \"it\" , \"ja\" , \"nl\" , \"no\" , \"nn\" , \"pt\" , \"ru\" , \"sv\" , \"zh\" ) )\n}\nORDER BY ASC ( ?region )", "paraphrases": ["For each region in Italy, what are its labels in languages like English, German, Chinese, etc., along with its ISO 3166-2 code and geographic coordinates?", "Please list all Italian regions with their multilingual names (in 16 specified languages), their ISO subdivision codes, and their geographic coordinates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2Label ( LANG ( ?var2Label ) AS ?var3 ) ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16110> ; <http://www.wikidata.org/prop/direct/P300> ?var4 ; <http://www.wikidata.org/prop/direct/P625> ?var5 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( LANG ( ?var2Label ) IN ( \"da\", \"de\", \"el\", \"en\", \"es\", \"fi\", \"fr\", \"it\", \"ja\", \"nl\", \"no\", \"nn\", \"pt\", \"ru\", \"sv\", \"zh\" ) ) ) . } ORDER BY ASC( ?var1 )"}}
{"id": "test_3511", "question": "People born on January 1, 1864, with their English names and images.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?person ?personLabel ?image WHERE {\n  ?person wdt:P569 \"1864-01-01T00:00:00Z\" ^^ xsd:dateTime .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Who were the people born on January 1, 1864, and what are their names and images?", "List the English names of people born on January 1, 1864, and include their images if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P569> \"+1864-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_3512", "question": "German-language humans with last name \"Schmidt\" but no recorded family name in Wikidata.", "sparql": "SELECT ?person WHERE { ?person wdt:P31 wd:Q5 . ?person rdfs:label ?label . FILTER ( LANG(?label) = \"de\" ) . FILTER ( REGEX(?label, \" Schmidt$\")) . OPTIONAL { ?person wdt:P734 ?familyName } . FILTER ( !BOUND(?familyName) ) } LIMIT 101", "paraphrases": ["Who are the people in Wikidata with German labels ending in \"Schmidt\" but without an explicitly stated family name?", "List all humans whose German name ends with \"Schmidt\" but whose family name is not linked in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var2 . } FILTER ( ( !( BOUND ( ?var2 ) ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"de\" ) ) ) . FILTER ( ( REGEX ( ?var1Label , \" Schmidt$\" ) ) ) . } LIMIT 101"}}
{"id": "test_3513", "question": "List people with their given names and family names in English from Wikidata.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?givenNameLabel ?familyNameLabel WHERE {\n  ?person wdt:P735 ?givenName .\n  ?person wdt:P734 ?familyName .\n  ?givenName rdfs:label ?givenNameLabel .\n  ?familyName rdfs:label ?familyNameLabel .\n  FILTER(LANG(?givenNameLabel) = \"en\")\n  FILTER(LANG(?familyNameLabel) = \"en\")\n}\nLIMIT 10", "paraphrases": ["Who are some people and what are their first and last names according to Wikidata?", "Show me up to 10 individuals along with their English given names and family names from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P734> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 10"}}
{"id": "test_3514", "question": "Subclasses of human in English", "sparql": "SELECT ?subclass ?subclassLabel WHERE { ?subclass wdt:P279* wd:Q5 . ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") } GROUP BY ?subclass ?subclassLabel LIMIT 100", "paraphrases": ["What are some subclasses of human in the English language?", "List all English-language subclasses of the human category in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2Label ) AS ?var3Label ) WHERE { VALUES ( ?var4 ) { ( <http://www.wikidata.org/entity/Q215627> ) } ?var1 <http://www.wikidata.org/prop/direct/P279> * ?var4 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } GROUP BY ?var1"}}
{"id": "test_3515", "question": "What are the subclasses of human with English labels 'man' or 'woman'?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P279 * wd:Q5 ; rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  FILTER(STR(?label) = \"man\" || STR(?label) = \"woman\")\n}", "paraphrases": ["Which entities are subclasses of human and are labeled 'man' or 'woman' in English?", "List all human subclasses in English that are called 'man' or 'woman'."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> ?) <http://www.wikidata.org/entity/Q5> ; <http://www.w3.org/2000/01/rdf-schema#label> \"string1\"@en . }"}}
{"id": "test_3516", "question": "What properties are used more than once to link items to the surname C\u00e1nepa in Wikidata, and how often?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ( COUNT( ?item ) AS ?count ) WHERE {\n  ?item ?property wd:Q5202345 .\n}\nGROUP BY ?property\nHAVING ( ?count > 1 )\nORDER BY DESC ( ?count )", "paraphrases": ["How many times are the properties \"family name\" and \"schema:about\" used to reference the surname C\u00e1nepa in Wikidata, excluding properties used only once?", "Show me the properties that connect entities to the surname C\u00e1nepa, along with their usage counts, but only include those used more than once, sorted by frequency."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q5202345> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_3517", "question": "Italian communes and their populations", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commune ?population WHERE {\n  ?commune wdt:P31 wd:Q747074 .\n  ?commune wdt:P1082 ?population .\n}\nLIMIT 5000", "paraphrases": ["What are the populations of communes in Italy?", "List up to 5,000 Italian communes along with their recorded population numbers."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q747074> . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,en\". } } LIMIT 5000"}}
{"id": "test_3518", "question": "What are the Spanish labels for Luigi Generali's occupations, birthplace, and other properties?", "sparql": "SELECT DISTINCT ?propertyItem ?propertyLabel ?object ?objectLabel ?personLabel WHERE { BIND(wd:Q1338529 AS ?person) . ?person ?property ?object . ?propertyItem wikibase:directClaim ?property . ?propertyItem rdfs:label ?propertyLabel . ?object rdfs:label ?objectLabel . ?person rdfs:label ?personLabel . FILTER(LANG(?propertyLabel) = \"es\") FILTER(LANG(?objectLabel) = \"es\") FILTER(LANG(?personLabel) = \"es\") } LIMIT 100", "paraphrases": ["In Spanish, what are the properties and values associated with the Swiss politician Luigi Generali?", "Show me Luigi Generali\u2019s details in Spanish, including his occupation, birthplace, and other attributes, with their property names translated to Spanish."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5Label ?var6 WHERE { BIND ( <http://www.wikidata.org/entity/Q1338529> AS ?var1 ). ?var4 ?var2 ?var1 . ?var7 ?var8 ?var2 . ?var7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var5Label ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"es\" ) ) ) . } LIMIT 100"}}
{"id": "test_3519", "question": "What entities are associated with Anoia through location-related properties, and what are those properties?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var1 ?var1Label ?var2Label WHERE {\n  ?var2 wdt:P1647 wd:P276 .\n  ?var2 wikibase:directClaim ?var3 .\n  ?var1 ?var3 wd:Q15352 .\n  ?var1 rdfs:label ?var1Label .\n  ?var2 rdfs:label ?var2Label .\n  FILTER ( LANG( ?var1Label ) = \"en\" ) .\n  FILTER ( LANG( ?var2Label ) = \"en\" ) .\n}", "paraphrases": ["Which organizations, places, or events are linked to the Catalan comarca of Anoia via properties that are types of location?", "Show me all things connected to Anoia using subproperties of \"located in\" and their names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P1647> * <http://www.wikidata.org/entity/P276> . ?var2 <http://wikiba.se/ontology#directClaim> ?var3 . ?var1 ?var3 <http://www.wikidata.org/entity/Q15352> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ca\". } }"}}
{"id": "test_3520", "question": "Lexemes used as given names with their native forms and associated name concepts.", "sparql": "SELECT DISTINCT ?lexeme ?lexemeLabel ?givenName ?givenNameLabel ?lemma WHERE { ?lexeme a wikibase:Lexeme ; wdt:P735 ?givenName ; wikibase:lemma ?lemma . OPTIONAL { ?givenName rdfs:label ?givenNameLabel . FILTER(LANG(?givenNameLabel) = \"en\") } OPTIONAL { ?lexeme rdfs:label ?lexemeLabel . FILTER(LANG(?lexemeLabel) = \"en\") } } LIMIT 800", "paraphrases": ["Which words in Wikidata lexemes are categorized as given names, and what are their native spellings and the name concepts they refer to?", "Show me the native forms of lexemes that are linked to given name concepts like \"name\" or \"people\", along with the English labels of those concepts."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var2 . MINUS { ?var2 <http://www.wikidata.org/prop/direct/P31> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1559> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 800"}}
{"id": "test_3521", "question": "List all given names in Wikidata.", "sparql": "SELECT ?givenName WHERE { ?givenName wdt:P31 wd:Q202444 . }", "paraphrases": ["What entities are classified as given names?", "Show me all items and lexemes that represent given names."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q202444> . }"}}
{"id": "test_3522", "question": "What is the Wikidata item for Amna Sabri Murad?", "sparql": "SELECT DISTINCT ?item WHERE { ?item rdfs:label \"Amna Sabri Murad\"@en . }", "paraphrases": ["Who is Amna Sabri Murad in Wikidata?", "Find the entity in Wikidata with the label \"Amna Sabri Murad\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1559> \"Amna Sabri\"@fr . }"}}
{"id": "test_3523", "question": "Humans born between July 1, 1930, and January 1, 1931, with their given names, family names, birthplaces, and countries of citizenship.", "sparql": "SELECT ?human ?givenName ?familyName ?birthDate ?birthPlace ?country WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P569 ?birthDate . OPTIONAL { ?human wdt:P735 ?givenName . } OPTIONAL { ?human wdt:P734 ?familyName . } OPTIONAL { ?human wdt:P19 ?birthPlace . } OPTIONAL { ?human wdt:P27 ?country . } FILTER ( ?birthDate >= \"1930-07-01\"^^xsd:date && ?birthDate < \"1931-01-01\"^^xsd:date ) } ORDER BY ?human", "paraphrases": ["Who were the people born between July 1, 1930, and January 1, 1931, and where were they born and what countries did they belong to?", "List all humans born in the second half of 1930, including their first and last names, birth locations, and nationalities."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var9 . } BIND ( ( ( ?var5 - ?var2 ) /\"365.2425\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) AS ?var10 ). FILTER ( ( ( ?var2 >= \"1930-07-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 < \"1931-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_3524", "question": "What properties are used by multi-task learning, and what are the English labels of the objects they connect to, along with how many objects each property has?", "sparql": "SELECT ?property ?propertyLabel (COUNT(?object) AS ?count) (GROUP_CONCAT(?objectLabel; SEPARATOR=\", \") AS ?objectLabels) WHERE { wd:Q6934509 ?property ?object . ?object rdfs:label ?objectLabel . FILTER(LANG(?objectLabel) = \"en\") . ?propertyItem wikibase:directClaim ?property . ?propertyItem rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") . } GROUP BY ?property ?propertyLabel", "paraphrases": ["List all properties of multi-task learning with their labels, object labels, and counts.", "Show me the properties of multi-task learning, their English names, the English labels of their values, and how many values each property has."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q6934509> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_3525", "question": "List all humans in Wikidata with their English names.", "sparql": "SELECT ?human ?humanLabel WHERE { ?human wdt:P31 wd:Q5 . ?human rdfs:label ?humanLabel . FILTER(LANG(?humanLabel) = \"en\") }", "paraphrases": ["Who are the people in Wikidata that are classified as human, and what are their names in English?", "Show me the English labels of all entities that are instances of human."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3526", "question": "People born on March 26, 2000", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person WHERE {\n  ?person wdt:P569 ?birthDate .\n  FILTER(?birthDate >= \"2000-03-26T00:00:00Z\" ^^ xsd:dateTime && ?birthDate < \"2000-03-27T00:00:00Z\" ^^ xsd:dateTime)\n}", "paraphrases": ["Who were born on March 26, 2000?", "List all individuals whose date of birth is exactly March 26, 2000."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . FILTER ( ( ( ?var2 >= \"2000-03-26T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"2000-03-26T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_3527", "question": "List all humans in Wikidata with their English names.", "sparql": "SELECT ?human ?label WHERE { ?human wdt:P31 wd:Q5 . ?human rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["Who are all the humans recorded in Wikidata, and what are their English labels?", "Give me a list of all human entities in Wikidata along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3528", "question": "What items are associated with Cologne, Germany, and what properties link them?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subject ?property WHERE {\n  ?subject ?property wd:Q365 .\n  FILTER ( ?property != wdt:P31 ) FILTER ( STRSTARTS( STR( ?subject ) , \"http://www.wikidata.org/entity/Q\" ) )\n}\nLIMIT 101", "paraphrases": ["Which entities are connected to Cologne via direct properties, excluding \"instance of\"?", "List all Wikidata items that have a direct relationship with Cologne (excluding \"instance of\") and the properties used."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q365> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_3529", "question": "Humans born between January 2 and July 1, 1989, with their names, gender, and place of birth.", "sparql": "SELECT ?human ?humanLabel ?givenNameLabel ?familyNameLabel ?genderLabel ?placeOfBirthLabel ?dateOfBirth WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P569 ?dateOfBirth . ?human rdfs:label ?humanLabel . FILTER(LANG(?humanLabel) = \"en\") OPTIONAL { ?human wdt:P735 ?givenName . ?givenName rdfs:label ?givenNameLabel . FILTER(LANG(?givenNameLabel) = \"en\") } OPTIONAL { ?human wdt:P734 ?familyName . ?familyName rdfs:label ?familyNameLabel . FILTER(LANG(?familyNameLabel) = \"en\") } OPTIONAL { ?human wdt:P21 ?gender . ?gender rdfs:label ?genderLabel . FILTER(LANG(?genderLabel) = \"en\") } OPTIONAL { ?human wdt:P19 ?placeOfBirth . ?placeOfBirth rdfs:label ?placeOfBirthLabel . FILTER(LANG(?placeOfBirthLabel) = \"en\") } FILTER ( ?dateOfBirth >= \"1989-01-02\"^^xsd:date && ?dateOfBirth < \"1989-07-01\"^^xsd:date ) } ORDER BY ?humanLabel LIMIT 20", "paraphrases": ["Who were the people born between January 2 and July 1, 1989, and what are their given names, family names, genders, and birthplaces?", "List the English names, genders, and birthplaces of people born in the first half of 1989."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4 ?var5 ?var6Label ?var7 ?var8Label ?var8 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var7 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var10 . } BIND ( ( ( ?var9 - ?var7 ) /\"365.2425\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) AS ?var11 ). FILTER ( ( ( ?var7 >= \"1989-01-02\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var7 < \"1989-07-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_3530", "question": "What are the birth and death dates of Jan van Kessel the Elder?", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { wd:Q515553 wdt:P31 wd:Q5 . OPTIONAL { wd:Q515553 wdt:P569 ?birthDate . } OPTIONAL { wd:Q515553 wdt:P570 ?deathDate . } wd:Q515553 rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"nl\") }", "paraphrases": ["Birth and death dates of the Flemish painter Jan van Kessel.", "Show me the name, birth date, and death date of Jan van Kessel the Elder."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q407800> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3531", "question": "What is the date of birth of Marsha Ivins, and is she deceased?", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { BIND( wd:Q41632 AS ?person ) . ?person rdfs:label ?personLabel . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["When was astronaut Marsha Ivins born, and when did she die?", "Can you tell me Marsha Ivins' birth date and whether she is still alive?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q41632> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3532", "question": "People born on May 7, 1987", "sparql": "SELECT DISTINCT ?person WHERE { ?person wdt:P569 ?birthDate . FILTER ( ?birthDate >= \"1987-05-07T00:00:00Z\"^^xsd:dateTime && ?birthDate < \"1987-05-08T00:00:00Z\"^^xsd:dateTime ) }", "paraphrases": ["Who were born on May 7, 1987?", "List all individuals whose date of birth is exactly May 7, 1987, in UTC time."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . FILTER ( ( ( ?var2 >= \"1987-05-07T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1987-05-07T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_3533", "question": "What are the subclasses and instances of the activity \"collecting\" on Wikidata, and how many items belong to each?", "sparql": "SELECT ?item ?itemLabel (COUNT(?instance) AS ?count)\nWHERE {\n  {\n    # Subclasses of collecting (not collecting itself)\n    ?item wdt:P279 wd:Q208165 .\n  }\n  UNION\n  {\n    # Instances of collecting\n    ?item wdt:P31 wd:Q208165 .\n  }\n\n  # Count all instances of ?item (including via subclasses)\n  ?instance wdt:P31/wdt:P279* ?item .\n\n  # Get label in English\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}\nGROUP BY ?item ?itemLabel\nORDER BY DESC(?count)", "paraphrases": ["Top collecting types by number of examples, including both subclasses and instances.", "List all forms of collecting (like philately or private collection) and how many instances each has."], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { { SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 ( COUNT ( ?var3 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q208165> . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var1 . } GROUP BY ?var1 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } } UNION { SELECT ?var4 ?var4Label ?var2 WHERE { { SELECT ?var4 ( COUNT ( ?var3 ) AS ?var2 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q208165> . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var4 . } GROUP BY ?var4 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } } }"}}
{"id": "test_3534", "question": "What are the subclasses of the class Adolf Hitler belongs to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?subclass WHERE {\n  wd:Q352 wdt:P31 ?class .\n  ?subclass wdt:P279 ?class .\n}", "paraphrases": ["What are the subclasses of human, since Adolf Hitler is a human?", "List all subclasses of the category that Adolf Hitler is an instance of."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q352> . }"}}
{"id": "test_3535", "question": "What are all the subclasses of human in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?subclass WHERE {\n  wd:Q5 wdt:P279 * ?subclass .\n}", "paraphrases": ["Can you list all the categories that are subclasses of human, including indirect ones?", "Show me the full hierarchy of types that are considered subclasses of a human being."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q215627> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_3536", "question": "Humans born on January 1, 1920, with their place of birth and country of citizenship.", "sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 ?var4Label WHERE { ?var1 wdt:P31 wd:Q5 . ?var1 wdt:P569 ?var2 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") OPTIONAL { ?var1 wdt:P19 ?var3 . ?var3 rdfs:label ?var3Label . FILTER(LANG(?var3Label) = \"en\") } OPTIONAL { ?var1 wdt:P27 ?var4 . ?var4 rdfs:label ?var4Label . FILTER(LANG(?var4Label) = \"en\") } FILTER ( ?var2 >= \"1920-01-01\"^^xsd:date && ?var2 < \"1920-01-02\"^^xsd:date ) } ORDER BY ASC(?var1)", "paraphrases": ["Who were the people born on January 1, 1920, and where were they born and what countries did they belong to?", "List all humans born on January 1, 1920, along with their English names, birthplaces (if known), and countries of citizenship (if known)."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var9 . } BIND ( ( ( ?var5 - ?var2 ) /\"365.2425\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) AS ?var10 ). FILTER ( ( ( ?var2 >= \"1920-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 < \"1920-01-02\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_3537", "question": "Who were born on February 28, 2017?", "sparql": "SELECT ?person ?birthYear WHERE { ?person wdt:P569 ?birthDate . BIND(YEAR(?birthDate) AS ?birthYear) FILTER(?birthDate = \"2017-02-28T00:00:00Z\"^^xsd:dateTime) }", "paraphrases": ["What is the birth year of people born on February 28, 2017?", "List the people born on February 28, 2017, along with their birth year."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { BIND ( YEAR ( ?var3 ) AS ?var2 ). ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . FILTER ( ( ( ?var3 = \"2017-02-28T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_3538", "question": "Charles Buxton's date of birth and date of death", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  wd:Q5075948 rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) .\n  OPTIONAL {\n    wd:Q5075948 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q5075948 wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["When were Charles Buxton born and when did he die?", "Can you tell me the birth and death dates of Charles Buxton, the English politician and brewer?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q5075948> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3539", "question": "List all German given names in Wikidata.", "sparql": "SELECT ?lexeme ?name WHERE { ?lexeme wdt:P31 wd:Q202444 . ?lexeme rdfs:label ?name . FILTER (LANG(?name) = \"de\") } ORDER BY ASC(?name)", "paraphrases": ["What are the first names used in German according to Wikidata?", "Show me a sorted list of all German-language first names stored as lexemes in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q202444> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"de\" ) ) ) . } ORDER BY ASC( ?var1 )"}}
{"id": "test_3540", "question": "Who were born on January 29, 1985?", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person WHERE {\n  ?person wdt:P569 ?birthDate .\n  FILTER ( ?birthDate >= \"1985-01-29T00:00:00Z\" ^^ xsd:dateTime && ?birthDate <= \"1985-01-29T23:59:59Z\" ^^ xsd:dateTime )\n}", "paraphrases": ["List all people with a birth date of January 29, 1985.", "Which individuals have their date of birth on the exact day of January 29, 1985?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . FILTER ( ( ( ?var2 >= \"1985-01-29T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1985-01-29T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_3541", "question": "What is the date of birth of Salizhan Sharipov, and is he still alive?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?label ?birthDate ?deathDate WHERE {\n  wd:Q730220 rdfs:label ?label .\n  OPTIONAL {\n    wd:Q730220 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q730220 wdt:P570 ?deathDate .\n  }\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["Can you tell me Salizhan Sharipov\u2019s full name, when he was born, and when he died?", "Who is Salizhan Sharipov, and what are his birth and death dates?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q730220> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3542", "question": "What are the types (classes) of I\u00f1aki Urdangarin, and what are those types themselves instances of?", "sparql": "SELECT ?type ?metatype WHERE { wd:Q356560 wdt:P31 ?type . OPTIONAL { ?type wdt:P31 ?metatype . } }", "paraphrases": ["I\u00f1aki Urdangarin is a human \u2014 what kind of thing is \"human\" an instance of in Wikidata?", "Show the direct class of I\u00f1aki Urdangarin and its metaclass (i.e., what category the class belongs to)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q356560> ) } ?var4 <http://www.wikidata.org/prop/direct/P31> * ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } }"}}
{"id": "test_3543", "question": "Wikimedia disambiguation pages that are also family names", "sparql": "SELECT ?disambigPage WHERE { ?disambigPage wdt:P31 wd:Q4167410 ; wdt:P31 wd:Q101352 . }", "paraphrases": ["Which Wikimedia disambiguation pages are classified as family names?", "List all disambiguation pages on Wikimedia that are tagged as instances of family names."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q101352> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167410> . }"}}
{"id": "test_3544", "question": "People with given name and second surname (P1950) but no primary surname (P734), whose full name includes the native label of their second surname.", "sparql": "SELECT ?person ?personLabel ?secondFamilyNameLabel ?secondFamilyNameNativeLabel WHERE { ?person wdt:P735 ?givenName ; wdt:P1950 ?secondFamilyName ; FILTER(NOT EXISTS { ?person wdt:P734 [] }). ?secondFamilyName wdt:P1705 ?secondFamilyNameNativeLabel . ?person rdfs:label ?personLabel . ?secondFamilyName rdfs:label ?secondFamilyNameLabel . FILTER(LANG(?personLabel) = \"en\") FILTER(LANG(?secondFamilyNameLabel) = \"en\") FILTER(CONTAINS(LCASE(?personLabel), LCASE(?secondFamilyNameNativeLabel))) } LIMIT 10", "paraphrases": ["Which people have a given name and a second family name (like in Spanish naming), but no primary family name, and whose full name contains the native-language version of their second family name?", "Show me individuals who use a second family name (P1950) as their only surname, lack a primary family name (P734), and whose full name includes the original-language spelling of that second surname."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4Label ?var5 ?var6 ( STRAFTER ( STR ( ?var1 ) , \"y/\" ) AS ?var7 )( \"P734\" AS ?var8 )( STRAFTER ( STR ( ?var5 ) , \"y/\" ) AS ?var9 ) WHERE { { SELECT ?var1 ?var1Label ?var2Label ?var4Label ( REPLACE ( REPLACE ( STR ( ?var1Label ) , STR ( ?var4Label ) , \"\" ) , STR ( ?var2Label ) , \"\" ) AS ?var3 ) ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1950> ?var4 . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P734> [] . } ) ) . ?var1 <http://www.wikidata.org/prop/direct/P735> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } OFFSET 940 LIMIT 150 } ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q101352> ; <http://www.wikidata.org/prop/direct/P1705> ?var10 . FILTER ( ( ( REPLACE ( ?var3 , \" \", \"\" ) = STR ( ?var10 ) ) ) ) . }"}}
{"id": "test_3545", "question": "What items or categories have Kishimen as their value or topic?", "sparql": "SELECT ?subject ?property WHERE { ?subject ?property wd:Q11264789 .}", "paraphrases": ["Which entities are connected to Kishimen as their object in Wikidata?", "Show me all the relationships where Kishimen is the object, including categories, instances, and external links."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q11264789> . }"}}
{"id": "test_3546", "question": "Is Americans in Sweden a human or a subclass of human?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  wd:Q31897485 wdt:P31 / wdt:P279 * wd:Q5\n}", "paraphrases": ["Does the Wikipedia article \"Americans in Sweden\" belong to the category of humans through its type or subclass hierarchy?", "Confirm whether \"Americans in Sweden\" is classified as a human or any of its subclasses in Wikidata."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q31897485> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_3547", "question": "Is the Museum of Fine Arts of Nancy a human or a type of human?", "sparql": "ASK WHERE { wd:Q428765 wdt:P31/wdt:P279* wd:Q5 .}", "paraphrases": ["Does the Museum of Fine Arts of Nancy belong to the class of humans?", "Is the Museum of Fine Arts of Nancy classified as a human?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q428765> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_3548", "question": "What are some family names listed in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?familyName ?familyNameLabel WHERE {\n  ?familyName wdt:P31 wd:Q101352 .\n  ?familyName rdfs:label ?familyNameLabel .\n  FILTER(LANG(?familyNameLabel) = 'en')\n}\nLIMIT 10", "paraphrases": ["Can you list the English labels of entities classified as family names in Wikidata?", "Show me the names of things that are instances of the concept 'family name' in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q101352> . FILTER ( ( REGEX ( STR ( ?var1Label ) , \"string1\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,bn,en\". } }"}}
{"id": "test_3549", "question": "What are the birth and death dates of Frederick Muhlenberg?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  BIND(wd:Q724629 AS ?person)\n  ?person wdt:P31 wd:Q5 .\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}", "paraphrases": ["Birth and death dates of Frederick Muhlenberg, the first Speaker of the U.S. House of Representatives.", "Tell me when Frederick Muhlenberg was born and when he died."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q7765721> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3550", "question": "Is the song \"V\u00e4nd ditt ansikte till mig\" a human?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q31930743 wdt:P31 / wdt:P279 * wd:Q5 .\n}", "paraphrases": ["Is \"V\u00e4nd ditt ansikte till mig\" classified as a person or any kind of human being?", "Can the musical composition \"V\u00e4nd ditt ansikte till mig\" be considered a human?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q31930743> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_3551", "question": "What properties describe entities related to Goethe's Faust?", "sparql": "SELECT ?prop ?propLabel ?propDescription WHERE { wd:Q29478 ?p ?obj . ?prop ?p2 ?obj . ?prop a wikibase:Property . ?prop rdfs:label ?propLabel . ?prop schema:description ?propDescription . FILTER(LANG(?propLabel) = \"en\") FILTER(LANG(?propDescription) = \"en\") } LIMIT 100", "paraphrases": ["Which properties are used to describe the people or things connected to Faust by Johann Wolfgang von Goethe?", "List the English-labeled properties that have as their object any entity that is linked to Faust (wd:Q29478)."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q29478> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_3552", "question": "What is the instance type of Ernest Borgnine?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?var2 WHERE {\n  wd:Q102551 wdt:P31 ?var2 .\n}", "paraphrases": ["Is Ernest Borgnine classified as a human in Wikidata?", "What category does Ernest Borgnine belong to in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://dbpedia.org/resource/Ernest_Borgnine> <http://www.wikidata.org/prop/direct/P31> ?var2 . }"}}
{"id": "test_3553", "question": "What are some examples of logical paradoxes?", "sparql": "SELECT ?paradox ?paradoxLabel WHERE { ?paradox wdt:P279 wd:Q483372 . ?paradox rdfs:label ?paradoxLabel . FILTER(LANG(?paradoxLabel) = \"en\") }", "paraphrases": ["List of subclasses of logical paradox", "Show me the different types of logical paradoxes with their names"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q483372> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_3554", "question": "What is the type of human in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?type ?typeLabel WHERE {\n  wd:Q5 wdt:P31 ?type .\n  ?type rdfs:label ?typeLabel .\n  FILTER(LANG(?typeLabel) = \"en\")\n}", "paraphrases": ["What class is human an instance of in Wikidata?", "Show me the classification category for humans in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q5> <http://www.wikidata.org/prop/direct/P31> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10"}}
{"id": "test_3555", "question": "Is the Kennel Union of Southern Africa a human or a subclass of human?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q4350544 wdt:P31 / wdt:P279 * wd:Q5 .\n}", "paraphrases": ["Does the Kennel Union of Southern Africa belong to the category of humans in Wikidata?", "Confirm whether the Kennel Union of Southern Africa is classified as a human being in Wikidata\u2019s knowledge graph."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q4350544> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_3556", "question": "Who is the French-labeled person named \"Herv\u00e9 de Boysson\"?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person WHERE {\n  ?person rdfs:label \"Herv\u00e9 de Boysson\" @fr .\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["What human in Wikidata has the French label \"Herv\u00e9 de Boysson\"?", "Can you find the person named Herv\u00e9 de Boysson in French?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Herv\u00e9 Boy\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3557", "question": "Who is Herv\u00e9 Riou, and is he a human?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person WHERE {\n  ?person rdfs:label \"Herv\u00e9 Riou\" @fr .\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["French-labeled person named Herv\u00e9 Riou.", "Find the Wikidata item for the person named Herv\u00e9 Riou in French."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"herv\u00e9 riou\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3558", "question": "Humans with the given name Alexander and family name Smirnov.", "sparql": "SELECT ?person WHERE { ?person wdt:P31 wd:Q5 ; wdt:P735 wd:Q923 ; wdt:P734 wd:Q3487013 . }", "paraphrases": ["Who are the people named Alexander Smirnov?", "List all humans who have the first name Alexander and the last name Smirnov."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P735> <http://www.wikidata.org/entity/Q923> . ?var1 ?var2 <http://www.wikidata.org/entity/Q3487013> . }"}}
{"id": "test_3559", "question": "Is Paul McCartney a human?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  wd:Q2599 ( wdt:P31 / wdt:P279 * ) wd:Q5 .\n}", "paraphrases": ["Does Paul McCartney belong to the category of human beings?", "Is Paul McCartney classified as a human in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q2599> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_3560", "question": "English name of Argentina", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label WHERE {\n  wd:Q414 rdfs:label ?label .\n  FILTER(LANGMATCHES(LANG(?label) , \"en\"))\n}\nLIMIT 1", "paraphrases": ["What is the English label for Argentina on Wikidata?", "Show me the English name of Argentina."], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q414> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( LANGMATCHES ( LANG ( ?var1Label ) , \"en\" ) ) ) . } LIMIT 1"}}
{"id": "test_3561", "question": "Is the television film \"Campfire Tales\" a human?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q3651968 wdt:P31 / wdt:P279 * wd:Q5\n}", "paraphrases": ["Does the 1997 horror film \"Campfire Tales\" belong to the category of humans, either directly or through any subclass relationship?", "Confirm whether \"Campfire Tales\" is classified as a human or any of its subclasses in Wikidata."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q3651968> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_3562", "question": "What is Matthew Pinsent\u2019s date of birth, and is there a recorded date of death?", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { BIND( wd:Q52680 AS ?person ) . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["When was the British rower and broadcaster Matthew Pinsent born, and is he still alive?", "Can you provide the birth date of Matthew Pinsent and confirm whether he has passed away?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q52680> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3563", "question": "What are the birth and death dates of Guillaume Herincx?", "sparql": "SELECT ?label ?birthDate ?deathDate WHERE { wd:Q15485629 rdfs:label ?label . FILTER(LANG(?label) = \"en\") OPTIONAL { wd:Q15485629 wdt:P569 ?birthDate . } OPTIONAL { wd:Q15485629 wdt:P570 ?deathDate . } }", "paraphrases": ["Please provide the English name, birth date, and death date of Guillaume Herincx.", "Guillaume Herincx birth date, death date, and full name in English."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q15485629> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3564", "question": "What are the birth and death dates of Thomas Wright Hill?", "sparql": "SELECT ?label ?birthDate ?deathDate WHERE { wd:Q3525678 rdfs:label ?label . FILTER(LANG(?label) = \"en\") . OPTIONAL { wd:Q3525678 wdt:P569 ?birthDate . } OPTIONAL { wd:Q3525678 wdt:P570 ?deathDate . } }", "paraphrases": ["Can you tell me the English name, birth date, and death date of the English mathematician Thomas Wright Hill?", "Who was Thomas Wright Hill, and when was he born and died?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q3525678> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3565", "question": "Is the United States considered a human?", "sparql": "ASK WHERE { wd:Q30 ( wdt:P31 / wdt:P279 * ) wd:Q5 . }", "paraphrases": ["Does the United States belong to any class that is a subclass of human?", "Can the United States be classified as a human being?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q4825> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_3566", "question": "Who is Paul Gauguin in French?", "sparql": "SELECT DISTINCT ?person WHERE { ?person rdfs:label \"Paul Gauguin\"@fr . ?person wdt:P31 wd:Q5 . }", "paraphrases": ["Is there a human named Paul Gauguin in French?", "What human entity is labeled as \"Paul Gauguin\" in French?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Paul Ury\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3567", "question": "Is the encyclopedia article \"\u041a\u0430\u043d\u0442\u044b\u0447\u043a\u0438\" from the Brockhaus and Efron Dictionary a human?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q24434088 ( wdt:P31 / wdt:P279 * ) wd:Q5 .\n}", "paraphrases": ["Is the Russian encyclopedia entry titled \"\u041a\u0430\u043d\u0442\u044b\u0447\u043a\u0438\" classified as a human or a subclass of humans?", "Confirm whether the entity Q24434088, which is an encyclopedia article, is a human being."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q24434088> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_3568", "question": "Is Henri de Bourbon a human?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q3132231 wdt:P31 / wdt:P279 * wd:Q5 .\n}", "paraphrases": ["Does Henri de Bourbon belong to the class of humans or any of its subclasses?", "Confirm that Henri de Bourbon is classified as a human in Wikidata."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q3132231> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_3569", "question": "Administrative entities Mozambique is part of", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?administrativeEntity ?administrativeEntityLabel WHERE {\n  wd:Q1029 wdt:P131 * ?administrativeEntity .\n  ?administrativeEntity rdfs:label ?administrativeEntityLabel .\n  FILTER(LANG(?administrativeEntityLabel) = \"en\")\n}", "paraphrases": ["What administrative region is Mozambique located in?", "Show me the English label of the administrative entity that contains Mozambique, including Mozambique itself."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q1029> <http://www.wikidata.org/prop/direct/P131> * ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de, en\". } }"}}
{"id": "test_3570", "question": "What cities are twinned with cities in South Africa, and what are their coordinates?", "sparql": "SELECT ?var1 ?var2 ?coord1 ?coord2 WHERE { ?var2 wdt:P131* wd:Q258 . ?var1 wdt:P190 ?var2 . OPTIONAL { ?var1 wdt:P625 ?coord1 . } OPTIONAL { ?var2 wdt:P625 ?coord2 . } }", "paraphrases": ["Can you list the sister cities of South African municipalities along with their geographic locations?", "Which international cities have a twin relationship with places in South Africa, and where are they located?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P190> ?var2 ; <http://www.wikidata.org/prop/direct/P625> ?var3 . ?var2 <http://www.wikidata.org/prop/direct/P625> ?var3 ; <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q258> . }"}}
{"id": "test_3571", "question": "Is the entity Q28696392 a human or a subclass of a human?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q28696392 wdt:P31 / wdt:P279 * wd:Q5 .\n}", "paraphrases": ["Does Q28696392 represent a human being?", "Is Q28696392 classified as a human in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q28696392> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_3572", "question": "Is Ruby a human?", "sparql": "ASK WHERE { wd:Q161053 (wdt:P31/wdt:P279*) wd:Q5 . }", "paraphrases": ["Is the programming language Ruby classified as a human in Wikidata?", "Confirm whether Ruby, the programming language, is a type of human."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q161053> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_3573", "question": "Is the Maison dite des Quatre Saisons a human?", "sparql": "ASK WHERE { wd:Q22966203 (wdt:P31/wdt:P279*) wd:Q5 . }", "paraphrases": ["Does the building known as Maison dite des Quatre Saisons belong to the category of humans or any of its subclasses?", "Is the Maison dite des Quatre Saisons classified as a person or any type of living being?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q22966203> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_3574", "question": "Is Helena Davidsson Neppelberg a human?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q47067926 ( wdt:P31 / wdt:P279 * ) wd:Q5 .\n}", "paraphrases": ["Is Helena Davidsson Neppelberg an instance of a human or a subclass of human?", "Confirm whether Helena Davidsson Neppelberg belongs to the category of humans, directly or through inheritance."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q47067926> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_3575", "question": "Number of suburbs in South Africa", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT(COUNT(?suburb) AS ?count) WHERE {\n  ?suburb wdt:P31 wd:Q188509 .\n  ?suburb wdt:P17 wd:Q258 .\n  ?suburb wdt:P131 ?adminEntity .\n  OPTIONAL {\n    ?suburb wdt:P1082 ?population .\n    ?suburb wdt:P625 ?coordinates .\n  }\n}", "paraphrases": ["How many suburbs are there in South Africa according to Wikidata?", "List the count of suburbs located in South Africa."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q188509> . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q258> ) } ?var1 <http://www.wikidata.org/prop/direct/P131> ?var4 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3576", "question": "Is Rakudo a human or a subclass of a human?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q63629 wdt:P31 / wdt:P279 * wd:Q5 .\n}", "paraphrases": ["Does the programming language implementation Rakudo belong to the category of humans through any subclass relationship?", "Confirm whether Rakudo is classified as a human or any of its subclasses in the knowledge graph."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q63629> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_3577", "question": "Is NetworkManager a human?", "sparql": "ASK WHERE {\n  wd:Q751346 (wdt:P31/wdt:P279*) wd:Q5 .\n}", "paraphrases": ["Does the software NetworkManager belong to the category of human beings?", "Is NetworkManager classified as a person or any subclass of a human?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q751346> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_3578", "question": "List all runestones with their English names.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?runestone ?runestoneLabel WHERE {\n  ?runestone wdt:P31 wd:Q815241 .\n  ?runestone rdfs:label ?runestoneLabel .\n  FILTER(LANG(?runestoneLabel) = \"en\")\n}", "paraphrases": ["What are the names of all known runestones in English?", "Show me the English labels of all items that are instances of a runestone."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q815241> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,de\". } }"}}
{"id": "test_3579", "question": "Is The Onion a human?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q618236 wdt:P31 / wdt:P279 * wd:Q5 .\n}", "paraphrases": ["Is The Onion classified as a human or a subclass of human?", "Check if The Onion is a human being."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q618236> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_3580", "question": "Is John Robartes (Q33954721) a human?", "sparql": "ASK WHERE { wd:Q33954721 (wdt:P31/wdt:P279*) wd:Q5 . }", "paraphrases": ["Does the Wikimedia disambiguation page for John Robartes represent a human being?", "Confirm whether the entity Q33954721 is classified as a human, either directly or through its class hierarchy."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q33954721> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_3581", "question": "Is William Spetz a human?", "sparql": "ASK WHERE { wd:Q19977253 (wdt:P31 / wdt:P279*) wd:Q5 . }", "paraphrases": ["Does William Spetz belong to a category that is a type of human?", "Is William Spetz classified as a human, either directly or through a subclass?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q19977253> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_3582", "question": "Is Severo classified as a human through any instance-of or subclass-of relationships?", "sparql": "ASK WHERE { wd:Q3958489 (wdt:P31/wdt:P279*) wd:Q5 . }", "paraphrases": ["Is the male given name \"Severo\" a human, either directly or via inheritance through categories?", "Confirm whether Severo, as a given name, belongs to the category of humans through its type or subclass hierarchy."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q3958489> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_3583", "question": "What attributes do Victor Cha and Joseph Y. Yun have in common?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property WHERE {\n  wd:Q7925791 ?property ?value .\n  wd:Q18761827 ?property ?value .\n}", "paraphrases": ["Which properties and values are shared between the American diplomats Victor Cha and Joseph Y. Yun?", "Find all the ways in which Victor Cha and Joseph Y. Yun are the same according to Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { { <http://www.wikidata.org/entity/Q7925791> ?var1 ?var3 . <http://www.wikidata.org/entity/Q18761827> ?var4 ?var3 . <http://www.wikidata.org/entity/Q7925791> <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . <http://www.wikidata.org/entity/Q18761827> <http://www.w3.org/2000/01/rdf-schema#label> ?var6 . } UNION { <http://www.wikidata.org/entity/Q7925791> ?var1 ?var3 . ?var3 ?var4 <http://www.wikidata.org/entity/Q18761827> . <http://www.wikidata.org/entity/Q7925791> <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . <http://www.wikidata.org/entity/Q18761827> <http://www.w3.org/2000/01/rdf-schema#label> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_3584", "question": "Is Mykola Usyk a human?", "sparql": "ASK WHERE { wd:Q23943322 wdt:P31 wd:Q5 . }", "paraphrases": ["Does Mykola Usyk belong to the category of human beings?", "Confirm that Mykola Usyk is classified as a human in Wikidata."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q23943322> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_3585", "question": "Categories that combine Africa and human languages", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?category WHERE {\n  ?category wdt:P971 wd:Q15 .\n  ?category wdt:P971 wd:Q34770 .\n}\nLIMIT 100", "paraphrases": ["Which categories include both Africa and human languages as topics?", "Show me categories that intersect the topics of Africa and human languages."], "info": {"raw_sparql": "SELECT * WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P971> <http://www.wikidata.org/entity/Q15> . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q315> . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q34770> . } LIMIT 100"}}
{"id": "test_3586", "question": "Cultural monuments of Albania", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?monument ?monumentLabel WHERE {\n  ?monument wdt:P31 wd:Q30232537 .\n  ?monument rdfs:label ?monumentLabel .\n  FILTER ( LANG( ?monumentLabel ) = \"en\" )\n}", "paraphrases": ["What are the cultural monuments in Albania?", "List the English names of all items classified as cultural monuments of Albania."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q30232537> . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_3587", "question": "Countries located in the Caribbean region", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?country ?countryLabel WHERE {\n  ?country wdt:P31 wd:Q6256 .\n  ?country wdt:P706 wd:Q664609 .\n  ?country rdfs:label ?countryLabel .\n  FILTER(LANG(?countryLabel) = \"en\")\n}", "paraphrases": ["Which countries are located in the Caribbean?", "List the English names of all countries that are part of the Caribbean region."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var1 <http://www.wikidata.org/prop/direct/P706> <http://www.wikidata.org/entity/Q664609> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3588", "question": "List all U.S. states and territories with their geographic coordinates.", "sparql": "SELECT ?administrativeDivision ?coordinates WHERE { ?administrativeDivision (wdt:P31/wdt:P279*) wd:Q10864048 . ?administrativeDivision wdt:P625 ?coordinates . ?administrativeDivision wdt:P17 wd:Q30 .}", "paraphrases": ["What are the geographic coordinates of all first-level administrative divisions in the United States?", "Show me the names and coordinates of every U.S. state and territory, including territories like Puerto Rico and the Virgin Islands, that are classified as first-level administrative divisions."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q10864048> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q30> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_3589", "question": "Name, birth date, and death date of Conn O'Donnell", "sparql": "SELECT ?label ?birthDate ?deathDate WHERE { wd:Q22084186 rdfs:label ?label . OPTIONAL { wd:Q22084186 wdt:P569 ?birthDate . } OPTIONAL { wd:Q22084186 wdt:P570 ?deathDate . } FILTER(LANG(?label) = \"en\")}", "paraphrases": ["What is the birth date and death date of Conn O'Donnell?", "Can you tell me the full name and when Conn O'Donnell was born and died?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q22084186> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3590", "question": "What property is related to \"number of children\" on Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?relatedProperty ?relatedPropertyLabel ?relatedPropertyDescription WHERE {\n  wd:P1971 wdt:P1659 ?relatedProperty .\n  ?relatedProperty rdfs:label ?relatedPropertyLabel .\n  ?relatedProperty schema:description ?relatedPropertyDescription .\n  FILTER ( LANG( ?relatedPropertyLabel ) = \"en\" ) .\n  FILTER ( LANG( ?relatedPropertyDescription ) = \"en\" ) .\n}", "paraphrases": ["Which property is listed as related to the property \"number of children\" (P1971), and what is its description in English?", "Show me the English label and description of the property that is related to \"number of children\" via the \"related property\" relationship."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P1971> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . }"}}
{"id": "test_3591", "question": "Items with both a geographic location and an image on Wikimedia Commons.", "sparql": "SELECT ?item ?location ?image WHERE { ?item wdt:P18 ?image ; wdt:P625 ?location . } LIMIT 100", "paraphrases": ["Which places on Wikidata have both a map coordinate and an associated image on Commons?", "Show me up to 100 entities that have a location and a picture on Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 ; <http://www.wikidata.org/prop/direct/P625> ?var2 . } LIMIT 100"}}
{"id": "test_3592", "question": "Who are the humans with the surname Yanofsky or Yanoff?", "sparql": "SELECT DISTINCT ?person WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P734 ?surname . FILTER(?surname IN (wd:Q56244855, wd:Q36867459))}", "paraphrases": ["List all people whose last name is Yanofsky or Yanoff.", "Find individuals who are members of the human species and have the family names Yanofsky or Yanoff."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Yanof\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3593", "question": "What are the birth and death dates of George Belknap?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?label ?birthDate ?deathDate WHERE {\n  wd:Q5536861 schema:name ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) .\n  OPTIONAL {\n    wd:Q5536861 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q5536861 wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["Can you tell me George Belknap\u2019s full name, when he was born, and when he died?", "Show me the English label, birth date, and death date for the person with Wikidata ID Q5536861."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q5536861> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3594", "question": "Items categorized in Hebrew but lacking Hebrew labels", "sparql": "SELECT ?item ?itemLabel ?category ?categoryLabelHe WHERE { ?item wdt:P910 ?category . ?category rdfs:label ?categoryLabelHe . FILTER(LANG(?categoryLabelHe) = \"he\") FILTER(NOT EXISTS { ?item rdfs:label ?itemLabelHe . FILTER(LANG(?itemLabelHe) = \"he\") }) OPTIONAL { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } } LIMIT 1000", "paraphrases": ["Which topics on Wikidata are assigned to Hebrew-labeled categories but do not have their own Hebrew labels?", "Show me topics that have Hebrew category labels but no Hebrew title, along with their English labels and category names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P910> ?var2 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"he\" ) ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"he\" ) ) ) . } ) ) . } LIMIT 1000"}}
{"id": "test_3595", "question": "What are Hebrew Wikipedia articles about Wikidata items that don\u2019t have a Hebrew label?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?pageTitle WHERE {\n  ?page schema:about ?item ; schema:isPartOf <https://he.wikipedia.org/> ; schema:name ?pageTitle . MINUS {\n    ?item rdfs:label ?label .\n    FILTER(LANG(?label) = \"he\")\n  }\n}\nLIMIT 50", "paraphrases": ["Show me items on Wikidata that have articles on the Hebrew Wikipedia but no Hebrew name.", "Which Wikidata entities are linked from Hebrew Wikipedia pages but lack a Hebrew-language label?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var4 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://he.wikipedia.org/> ; <http://schema.org/name> ?var2Label . MINUS { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"he\" ) ) ) . } } LIMIT 50"}}
{"id": "test_3596", "question": "Birth and death dates of Nicholas Mevoli", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  wd:Q15215665 rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) .\n  OPTIONAL {\n    wd:Q15215665 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q15215665 wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["When was Nicholas Mevoli born and when did he die?", "Can you tell me the birth and death dates of Nicholas Mevoli, the American freediver?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q15215665> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3597", "question": "Who has the native name \"Yves Chauvin\" in French?", "sparql": "SELECT DISTINCT ?person WHERE { ?person wdt:P1559 \"Yves Chauvin\" @fr . }", "paraphrases": ["Which person is known by the name Yves Chauvin in their native language?", "Find the Wikidata item for the French-speaking person named Yves Chauvin."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1559> \"Yves Cohic\"@fr . }"}}
{"id": "test_3598", "question": "What are the native names of places like Boston and Gabon in their official languages?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?nativeLabel WHERE {\n  ?item wdt:P1705 ?nativeLabel .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}\nLIMIT 10", "paraphrases": ["Native labels of entities in their original language, with English names", "Show me the English names and native spellings of entities that have a native label."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1705> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ro,en\". } } LIMIT 10"}}
{"id": "test_3599", "question": "What are the categories that the Weimar Republic belongs to, and what are their corresponding Wikipedia pages?", "sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { wd:Q41304 wdt:P31 ?var1 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") OPTIONAL { ?var2 schema:about ?var1 . ?var2 schema:isPartOf <https://en.wikipedia.org/> . } }", "paraphrases": ["Show me the English labels and Wikipedia articles for the types of the Weimar Republic.", "Which Wikipedia pages describe the historical classifications of the Weimar Republic?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q41304> ( <http://www.wikidata.org/prop/direct/P31> ?/ <http://www.wikidata.org/prop/direct/P279> *) ?var1 . OPTIONAL { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3600", "question": "Who is Michel Ragon, and is he a human?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item WHERE {\n  ?item rdfs:label \"Michel Ragon\" @fr .\n  ?item wdt:P31 wd:Q5 .\n}", "paraphrases": ["What human entity has the French label \"Michel Ragon\"?", "Can you find the person in Wikidata whose name in French is \"Michel Ragon\"?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Paul Ragon\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3601", "question": "Labels for the Eiffel Tower in French, English, German, and Italian, along with its image, coordinates, and French Wikipedia page.", "sparql": "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?label ?image ?coordinates ?wikipediaPage WHERE {\n  wd:Q243 rdfs:label ?label .\n  FILTER ( LANG( ?label ) = ?lang ) VALUES ( ?lang ?priority ) {\n    ( \"fr\" 1 ) ( \"en\" 2 ) ( \"de\" 3 ) ( \"it\" 4 )\n  }\n  OPTIONAL {\n    wd:Q243 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q243 wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    ?wikipediaPage rdf:type schema:Article ; schema:about wd:Q243 ; schema:inLanguage \"fr\" ; schema:isPartOf <https://fr.wikipedia.org/> .\n  }\n}\nORDER BY ?priority", "paraphrases": ["What are the labels of the Eiffel Tower in French, English, German, and Italian, and what is its image, location, and French Wikipedia link?", "Show me the Eiffel Tower\u2019s name in French, English, German, and Italian, sorted by language priority, plus its image, coordinates, and the link to its French Wikipedia article."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q224615> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var5 ) ) ) . VALUES ( ?var5 ?var6 ) { ( \"fr\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q224615> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q224615> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q224615> ; <http://schema.org/inLanguage> \"fr\"; <http://schema.org/isPartOf> <https://fr.wikipedia.org/> . } } ORDER BY ASC( ?var6 )"}}
{"id": "test_3602", "question": "What is the population and founding date of Ovar Municipality?", "sparql": "SELECT ?population ?inception WHERE { wd:Q404261 wdt:P1082 ?population ; wdt:P571 ?inception .}", "paraphrases": ["How many people live in Ovar, and when was it established?", "Can you tell me the population and the year Ovar became a municipality?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q404261> <http://www.wikidata.org/prop/direct/P1082> ?var1 . <http://www.wikidata.org/entity/Q404261> <http://www.wikidata.org/prop/direct/P571> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pt,pt\". } }"}}
{"id": "test_3603", "question": "Ben Hebard Fuller's birth date, death date, and full name.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?birthDate ?deathDate WHERE {\n  wd:Q439662 rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) .\n  wd:Q439662 wdt:P31 wd:Q5 .\n  OPTIONAL {\n    wd:Q439662 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q439662 wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["When was Ben Hebard Fuller born and when did he die, and what is his full name?", "Please provide the name, date of birth, and date of death of Ben Hebard Fuller."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q439662> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3604", "question": "What is Tim Berners-Lee\u2019s date of birth and is he deceased?", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { BIND( wd:Q80 AS ?person ) . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["When was Tim Berners-Lee born, and does his Wikidata entry include a date of death?", "Show me Tim Berners-Lee\u2019s name, birth date, and death date from Wikidata."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q80> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3605", "question": "What is Delta Goodrem\u2019s date of birth, and is there a recorded date of death?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  BIND(wd:Q228818 AS ?person)\n  ?person wdt:P31 wd:Q5 .\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}", "paraphrases": ["When was the Australian singer Delta Goodrem born, and is she deceased?", "Provide the birth date and death date (if any) for Delta Goodrem."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q228818> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3606", "question": "Who are the people with \"Ben Ahmed\" in their French name?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person ?label WHERE {\n  ?person rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"fr\" ) FILTER ( CONTAINS( LCASE( ?label ) , \"ben ahmed\" ) ) ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["Can you list all humans in Wikidata whose French label includes \"Ben Ahmed\"?", "Show me the French names of people with the surname Ben Ahmed."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"ben ahmed\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3607", "question": "What are the birth and death dates of Billy Herrington?", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { BIND( wd:Q625966 AS ?person ) . ?person wdt:P31 wd:Q5 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } }", "paraphrases": ["Can you tell me when Billy Herrington was born and when he died?", "Who is Billy Herrington, and when were they born and died?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q12059947> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3608", "question": "Who is the French person named Patrice Kervaon?", "sparql": "SELECT DISTINCT ?human WHERE { ?human rdfs:label \"Patrice Kervaon\"@fr . ?human wdt:P31 wd:Q5 .}", "paraphrases": ["Find the human in Wikidata with the French label \"Patrice Kervaon\".", "What is the Wikidata item for the French-speaking individual named Patrice Kervaon?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"kervaon\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3609", "question": "Show me an image and English Wikipedia page for a human settlement or national park.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?itemLabel ?item ?image ?wikipediaPage WHERE {\n  {\n    ?item ( wdt:P31 / wdt:P279 * ) wd:Q486972 .\n  } UNION {\n    ?item ( wdt:P31 / wdt:P279 * ) wd:Q46169 .\n  }\n  ?item wdt:P18 ?image .\n  ?wikipediaPage schema:about ?item ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n}\nLIMIT 1", "paraphrases": ["What is a human settlement or national park that has an image on Wikimedia Commons and an English Wikipedia page?", "Find one example of a human settlement or national park with a photo and an English Wikipedia article."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 WHERE { SERVICE <http://wikiba.se/ontology#around> { ?var2 <http://www.wikidata.org/prop/direct/P625> ?var10 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> \"POINT(-89 21)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"10\". } { ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q486972> . } UNION { ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q46169> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var2 <http://schema.org/description> ?var3 . } ?var2 <http://www.wikidata.org/prop/direct/P18> ?var4 . ?var5 <http://schema.org/about> ?var2 . ?var5 <http://schema.org/inLanguage> \"en\". ?var5 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } LIMIT 1"}}
{"id": "test_3610", "question": "Richard Simmons date of birth and date of death", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { BIND( wd:Q498019 AS ?person ) . OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } }", "paraphrases": ["When was Richard Simmons born and when did he die?", "Can you tell me the birth and death dates of Richard Simmons, the American fitness instructor?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q498019> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3611", "question": "French people with the surname Demangeat", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person ?personLabel WHERE {\n  ?person wdt:P734 wd:Q121044354 .\n  ?person wdt:P31 wd:Q5 .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"fr\" )\n}", "paraphrases": ["Who are the French individuals with the last name Demangeat?", "List the French-labeled humans whose family name is Demangeat."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Demangeat\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3612", "question": "Who are the historical individuals with the surname Grevalosa?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person WHERE {\n  VALUES ?person {\n    wd:Q28971569 wd:Q28842016 wd:Q28795987 wd:Q17301289 wd:Q24255666\n  }\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["Can you list the people named Grevalosa from medieval Catalonia?", "Which humans in Wikidata have the surname Grevalosa?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Grebonval\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3613", "question": "Who is the French archivist named H\u00e9l\u00e8ne Say?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person WHERE {\n  ?person wdt:P735 wd:Q12364182 ; wdt:P734 wd:Q37453536 .\n}", "paraphrases": ["Find the person with the given name H\u00e9l\u00e8ne and family name Say.", "What is the Wikidata item for the person known as H\u00e9l\u00e8ne Say?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1559> \"H\u00e9l\u00e8ne Say\"@fr . }"}}
{"id": "test_3614", "question": "What entity was succeeded by Spain?", "sparql": "SELECT ?item ?label WHERE { ?item p:P156 ?statement . ?statement ps:P156 wd:Q29 . ?item rdfs:label ?label . FILTER(LANG(?label) = 'en') }", "paraphrases": ["Which historical territory was followed by Spain according to Wikidata?", "Can you tell me what came immediately before Spain in the sequence of governing entities?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P156> <http://www.wikidata.org/entity/Q29> . ?var1 <http://www.wikidata.org/prop/P156> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_3615", "question": "Spanish Wikipedia pages for sovereign states and their Spanish names.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?country ?countryLabel ?esWikipediaPage WHERE {\n  ?country wdt:P31 wd:Q3624078 .\n  ?esWikipediaPage schema:about ?country .\n  ?esWikipediaPage schema:isPartOf <https://es.wikipedia.org/> .\n  ?country rdfs:label ?countryLabel .\n  FILTER(LANG(?countryLabel) = \"es\")\n}", "paraphrases": ["What are the Spanish-language Wikipedia pages for countries, and what are their Spanish names?", "List all countries with their Spanish Wikipedia links and the Spanish names of those countries."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3624078> . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/isPartOf> <https://es.wikipedia.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es\". } }"}}
{"id": "test_3616", "question": "What are the official names of the Italian car manufacturer Itala in Italian, English, German, and French, along with its image and Italian Wikipedia page?", "sparql": "SELECT ?label ?image ?coordinate ?wikipediaArticle WHERE { OPTIONAL { wd:Q29852 rdfs:label ?label . FILTER (LANG(?label) = ?lang) VALUES (?lang ?priority) { (\"it\" \"1\"^^xsd:integer) (\"en\" \"2\"^^xsd:integer) (\"de\" \"3\"^^xsd:integer) (\"fr\" \"4\"^^xsd:integer) } } OPTIONAL { wd:Q29852 wdt:P18 ?image . } OPTIONAL { wd:Q29852 wdt:P625 ?coordinate . } OPTIONAL { ?wikipediaArticle rdf:type schema:Article ; schema:about wd:Q29852 ; schema:inLanguage \"it\" ; schema:isPartOf <https://it.wikipedia.org/> . } } ORDER BY ASC(?priority)", "paraphrases": ["Show me the labels for Itala in different languages (prioritized as Italian, English, German, French), its company image, and its Italian Wikipedia article.", "Can you provide the multilingual labels, image, and Italian Wikipedia link for the automobile manufacturer Itala?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q29852> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var7 ) ) ) . VALUES ( ?var7 ?var8 ) { ( \"it\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q29852> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q29852> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"it\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q29852> <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q29852> ; <http://schema.org/inLanguage> \"it\"; <http://schema.org/isPartOf> <https://it.wikipedia.org/> . } } ORDER BY ASC( ?var8 )"}}
{"id": "test_3617", "question": "What are the birth and death dates of Isaac Hughes?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  BIND( wd:Q16065652 AS ?person ) .\n  ?person wdt:P31 wd:Q5 .\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}", "paraphrases": ["Can you tell me when Isaac Hughes was born and when he died?", "Show me the life span of Isaac Hughes, including his birth and death years."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q16065652> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3618", "question": "Birth and death dates of S\u00f8ren Kierkegaard", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { BIND(wd:Q6512 AS ?person) . ?person wdt:P31 wd:Q5 . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["When were S\u00f8ren Kierkegaard born and when did he die?", "Please provide the birth and death dates of the Danish philosopher S\u00f8ren Kierkegaard, along with his name in English."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q6512> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3619", "question": "What are all the known facts about Qudsia Begum?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?value WHERE {\n  wd:Q18530677 ?property ?value .\n}", "paraphrases": ["Can you list all the properties and values associated with Qudsia Begum in Wikidata?", "What do we know about Qudsia Begum\u2019s life, such as her birth, death, children, and role?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q18553769-FACD8D7F-B57F-4922-B3B5-F6F74587BE36> ?var1 ?var2 . }"}}
{"id": "test_3620", "question": "Who are the humans with the surname Brocquet?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person WHERE {\n  VALUES ?person {\n    wd:Q104904654 wd:Q115846812\n  }\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["Which people named Brocquet are listed as humans in Wikidata?", "List all humans whose last name is Brocquet."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"brocquet\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3621", "question": "What are the birth and death dates of Benjamin Simonds?", "sparql": "SELECT ?label ?birthDate ?deathDate WHERE { wd:Q4889229 rdfs:label ?label . FILTER(LANG(?label) = \"en\") OPTIONAL { wd:Q4889229 wdt:P569 ?birthDate . } OPTIONAL { wd:Q4889229 wdt:P570 ?deathDate . } }", "paraphrases": ["Can you tell me when Benjamin Simonds was born and when he died?", "Show me the English name, birth date, and death date of the person with Wikidata ID Q4889229."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q4889229> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3622", "question": "Frene Ginwala's date of birth and date of death.", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { wd:Q5502776 rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") OPTIONAL { wd:Q5502776 wdt:P569 ?birthDate . } OPTIONAL { wd:Q5502776 wdt:P570 ?deathDate . } }", "paraphrases": ["When was Frene Ginwala born and when did she die?", "Can you tell me the birth and death dates of Frene Ginwala, the South African politician and journalist?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q5502776> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3623", "question": "What are the birth and death dates of Sir William Spring, 2nd Baronet?", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { BIND( wd:Q7529778 AS ?person ) . ?person wdt:P31 wd:Q5 . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["Can you tell me when Sir William Spring, 2nd Baronet was born and died, and why there are two different birth dates listed?", "When did Sir William Spring, 2nd Baronet die, and what are the recorded dates of his birth in historical records?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q7529778> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3624", "question": "Who are the people with the surname Barn\u00e9oud?", "sparql": "SELECT DISTINCT ?person WHERE { ?person wdt:P734 wd:Q65097659 . }", "paraphrases": ["Can you list all individuals whose family name is Barn\u00e9oud?", "Which French people have the last name Barn\u00e9oud?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1559> \"barneoud\"@fr . }"}}
{"id": "test_3625", "question": "Sculptures in Brazil with MuBE Virtual IDs and their Portuguese names", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?sculpture ?label WHERE {\n  ?sculpture wdt:P4721 ?id .\n  ?sculpture rdfs:label ?label .\n  FILTER(LANG(?label) IN(\"pt\" , \"pt-br\"))\n}", "paraphrases": ["What are the Portuguese names of sculptures in Brazil that have a MuBE Virtual ID?", "List the Brazilian sculptures identified in the MuBE database along with their Portuguese labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pt,en\". } ?var1 <http://www.wikidata.org/prop/direct/P4721> ?var2 . }"}}
{"id": "test_3626", "question": "List all townships in Michigan with their GNIS IDs and counties.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?township ?townshipLabel ?countyLabel ?gnisId WHERE {\n  ?township wdt:P31 wd:Q17205774 .\n  OPTIONAL {\n    ?township wdt:P590 ?gnisId .\n  }\n  OPTIONAL {\n    ?township wdt:P131 ?county .\n  }\n  ?township rdfs:label ?townshipLabel .\n  FILTER ( LANG( ?townshipLabel ) = \"en\" ) OPTIONAL {\n    ?county rdfs:label ?countyLabel .\n    FILTER ( LANG( ?countyLabel ) = \"en\" )\n  }\n}", "paraphrases": ["What are the English names of townships in Michigan, along with the counties they are located in and their GNIS Feature IDs?", "Please provide the names of Michigan townships, the counties they belong to, and their USGS GNIS identifiers."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var1Label ?var3Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q17205774> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P590> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var3 . } OPTIONAL { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"en\". } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_3627", "question": "What country is the Venetian Towers in?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?country ?countryLabel WHERE {\n  wd:Q7919738 wdt:P17 ?country .\n  ?country rdfs:label ?countryLabel .\n  FILTER(LANG(?countryLabel) = \"en\")\n}", "paraphrases": ["Country of Venetian Towers in Barcelona", "Tell me the name of the sovereign state where the Venetian Towers are located."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { BIND ( <http://www.wikidata.org/entity/Q7919738> AS ?var3 ). ?var3 <http://www.wikidata.org/prop/direct/P17> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3628", "question": "Administrative region named Gama in Brazil", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?region WHERE {\n  ?region rdfs:label \"Gama\" @en .\n  ?region wdt:P17 wd:Q155 .\n  ?region wdt:P31 wd:Q1158712 .\n}", "paraphrases": ["What is the administrative region in Brazil called Gama?", "Show me the administrative region of the Federal District in Brazil with the name Gama."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q93572> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q155> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . }"}}
{"id": "test_3629", "question": "What are the counties in Texas and their FIPS codes?", "sparql": "SELECT ?county ?countyLabel ?fipsCode WHERE {\n  ?county wdt:P31 wd:Q11774097 .\n  OPTIONAL { ?county wdt:P882 ?fipsCode . }\n  ?county rdfs:label ?countyLabel .\n  FILTER(LANG(?countyLabel) = \"en\")\n}", "paraphrases": ["List all Texas counties with their English names and corresponding FIPS 6-4 identifiers.", "Show me the names and FIPS codes of all counties in Texas."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11774097> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P882> ?var3 . } }"}}
{"id": "test_3630", "question": "What is the birth date of the person named \"Cage\"?", "sparql": "SELECT ?person ?dateOfDeath ?dateOfBirth WHERE { ?person wdt:P31 wd:Q5 . ?person rdfs:label \"Cage\" @en . OPTIONAL { ?person wdt:P570 ?dateOfDeath . } OPTIONAL { ?person wdt:P569 ?dateOfBirth . } }", "paraphrases": ["Is Nicolas Cage alive, and when was he born?", "Can you tell me the birth and death dates of the person with the name \"Cage\"?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 ?var5Label \"Cage\"@en . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } }"}}
{"id": "test_3631", "question": "What are the birth and death dates of Harold Gore Browne?", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { BIND( wd:Q21069808 AS ?person ) . OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } }", "paraphrases": ["What is the English label, date of birth, and date of death for the person with Wikidata ID Q21069808?", "Can you tell me when Harold Gore Browne was born and when he died?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q21069808> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3632", "question": "Civil parishes in Portugal with images", "sparql": "SELECT ?freguesia (SAMPLE(?label) AS ?freguesiaLabel) ?image WHERE { ?freguesia wdt:P17 wd:Q45 . ?freguesia wdt:P31 wd:Q1131296 . ?freguesia rdfs:label ?label . OPTIONAL { ?freguesia wdt:P18 ?image . } } GROUP BY ?freguesia ?image LIMIT 5000", "paraphrases": ["What are the civil parishes in Portugal, and do they have images on Wikimedia Commons?", "List the civil parishes in Portugal along with their names and any available images."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q45> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1131296> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13217644> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 5000"}}
{"id": "test_3633", "question": "Official website and English/German Wikipedia pages for Pousadas de Portugal", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel ?wikipedia ?website WHERE {\n  ?item wdt:P856 ?website .\n  FILTER ( ?website = <http://www.pousadas.pt> || ?website = <https://www.pousadas.pt> ) .\n  ?wikipedia schema:about ?item ; schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" ) .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["What are the English and German Wikipedia pages about Pousadas de Portugal, and what is its official website?", "Show me the official website of Pousadas de Portugal along with its English and German Wikipedia articles."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.pousadas.pt/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.pousadas.pt/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.pousadas.pt/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.pousadas.pt/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.pousadas.pt/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.pousadas.pt> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.pousadas.pt> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://pousadas.pt> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://pousadas.pt> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://pousadas.pt/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://pousadas.pt/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3634", "question": "Is a lion considered a charge in heraldry?", "sparql": "ASK WHERE { wd:Q338814 (wdt:P31/wdt:P279*) wd:Q1424805 . }", "paraphrases": ["Does the heraldic lion belong to a category that is a subclass of charge?", "Are lions in heraldry classified as charges through their type hierarchy?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q338814> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_3635", "question": "What types of political entities was Denmark\u2013Norway, and when did it cease to exist?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?instance ?endYear WHERE {\n  wd:Q62651 wdt:P31 ?instance .\n  wd:Q62651 wdt:P576 ?endYear .\n}", "paraphrases": ["When did Denmark\u2013Norway end, and what kind of historical entity was it?", "List the classifications of Denmark\u2013Norway and its dissolution date."], "info": {"raw_sparql": "SELECT * WHERE { BIND ( <http://www.wikidata.org/entity/Q62651> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P582> ?var3 . }"}}
{"id": "test_3636", "question": "List countries in each continent with their flag images, in English.", "sparql": "SELECT ?continent ?continentLabel ?country ?countryLabel ?countryFlag WHERE { ?continent wdt:P31 wd:Q5107 . ?country wdt:P30 ?continent . ?country wdt:P31 wd:Q6256 . ?continent rdfs:label ?continentLabel . ?country rdfs:label ?countryLabel . FILTER(LANG(?continentLabel) = \"en\") FILTER(LANG(?countryLabel) = \"en\") OPTIONAL { ?country wdt:P41 ?countryFlag . } } ORDER BY ASC(?continent) ASC(?country) LIMIT 50", "paraphrases": ["Which countries belong to each continent, and what are their national flags, shown in English?", "Please provide a list of all continents and their countries, including the country flags, with labels in English, sorted alphabetically by continent and country."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5107> . ?var3 <http://www.wikidata.org/prop/direct/P30> ?var1 . ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P242> ?var2 . ?var3 <http://www.wikidata.org/prop/direct/P242> ?var5 . ?var3 <http://www.wikidata.org/prop/direct/P41> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )ASC( ?var3 )"}}
{"id": "test_3637", "question": "Cities and their official names, countries, populations, images, and names in different languages.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?city ?image ?officialName ?capitalOf ?country ?population ?timeZone ?pageBanner ?label WHERE {\n  ?city wdt:P31 wd:Q515 .\n  OPTIONAL {\n    ?city wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?city wdt:P1448 ?officialName .\n  }\n  OPTIONAL {\n    ?city wdt:P1376 ?capitalOf .\n  }\n  OPTIONAL {\n    ?city wdt:P17 ?country .\n  }\n  OPTIONAL {\n    ?city wdt:P1082 ?population .\n  }\n  OPTIONAL {\n    ?city wdt:P421 ?timeZone .\n  }\n  OPTIONAL {\n    ?city wdt:P948 ?pageBanner .\n  }\n  ?city rdfs:label ?label .\n}\nLIMIT 100", "paraphrases": ["What are the cities in the world, along with their images, official names, the administrative regions they are capitals of, their countries, populations, and how they are named in various languages?", "Please list up to 100 cities with their image, official name, capital of, country, population, and all language labels for each city."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1448> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1376> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P421> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P948> ?var8 . } <http://www.wikidata.org/entity/Q123> <http://schema.org/description> ?var9 . } LIMIT 100"}}
{"id": "test_3638", "question": "What are the administrative regions and country where the Castle Hotel in Taunton is located?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nSELECT DISTINCT ?location ?locationLabel WHERE {\n  wd:Q5050150 ( wdt:P131 | wdt:P17 | wdt:P30 | wdt:P376 ) ?location .\n  OPTIONAL {\n    ?location rdfs:label ?locationLabel .\n    FILTER ( LANG( ?locationLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?location skos:prefLabel ?locationLabel .\n    FILTER ( LANG( ?locationLabel ) = \"en\" )\n  }\n  FILTER ( BOUND( ?locationLabel ) )\n}", "paraphrases": ["Can you tell me the country and local government areas that the Castle Hotel belongs to?", "Which places, such as counties or countries, is the Castle Hotel in Taunton part of?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q5050150> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_3639", "question": "What is the Russian label for the concept of \"identity\" in Wikidata, and are there any properties that link to it?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?propertyLabel ?subjectLabel ?image WHERE {\n  {\n    BIND(wd:Q844569 AS ?subject)\n    BIND(\"N/A\" AS ?propertyLabel)\n    ?subject rdfs:label ?subjectLabel .\n    FILTER(LANG(?subjectLabel) = \"ru\")\n    OPTIONAL {\n      wd:Q844569 wdt:P18 ?image\n    }\n  } UNION {\n    ?subject ?property wd:Q844569 .\n    ?property rdfs:label ?propertyLabel .\n    ?subject rdfs:label ?subjectLabel .\n    OPTIONAL {\n      wd:Q844569 wdt:P18 ?image\n    }\n    FILTER(LANG(?propertyLabel) = \"ru\")\n    FILTER(LANG(?subjectLabel) = \"ru\")\n  }\n}\nORDER BY ASC(?propertyLabel) ASC(?subjectLabel)\nLIMIT 1000", "paraphrases": ["Show me the Russian name for \"identity\" and any properties that point to it in Russian \u2014 if none, return \"N/A\".", "Is there an image of \"identity\" in Wikidata, and what Russian-language properties or entities are connected to it?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4Label ?var5 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { BIND ( <http://www.wikidata.org/entity/Q4126314> AS ?var3 ). BIND ( \"N/A\" AS ?var1 ). BIND ( \"identity\"@ru AS ?var2Label ). } UNION { <http://www.wikidata.org/entity/Q4126314> ?var1 ?var3 . ?var6 ?var7 ?var1 . ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var5 . } FILTER ( ( ( LANG ( ?var4Label ) = \"ru\" ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = \"ru\" ) ) ) . } ORDER BY ASC( ?var1 )ASC( ?var3 ) LIMIT 1000"}}
{"id": "test_3640", "question": "Territories that are exclaves of Argentina", "sparql": "SELECT ?exclave WHERE { ?exclave p:P500 ?statement . ?statement ps:P500 wd:Q414 . }", "paraphrases": ["Which islands or territories are exclaves of Argentina?", "List all the places that are legally considered exclaves of Argentina."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P500> <http://www.wikidata.org/entity/Q414> . ?var1 <http://www.wikidata.org/prop/P500> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_3641", "question": "Who are the people who have both a known occupation and a coat of arms image?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person WHERE {\n  ?person wdt:P106 ?occupation ; wdt:P94 ?coatOfArms .\n}", "paraphrases": ["List individuals associated with a coat of arms and an occupation.", "Which historical figures have both a profession and a family coat of arms?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> * <http://www.wikidata.org/prop/direct/P94> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_3642", "question": "What is the English label of Kastellet, and what type of entity is it?", "sparql": "SELECT ?instanceTypeLabel ?itemLabel WHERE { wd:Q221812 wdt:P31 ?instanceType ; rdfs:label ?itemLabel . ?instanceType rdfs:label ?instanceTypeLabel . FILTER(LANG(?itemLabel) = \"en\") FILTER(LANG(?instanceTypeLabel) = \"en\") }", "paraphrases": ["Is Kastellet a citadel? Show its name and classification in English.", "What is Kastellet called in English, and what category does it belong to?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { <http://www.wikidata.org/entity/Q221812> <http://www.wikidata.org/prop/direct/P31> ?var3 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( \"en\" = LANG ( ?var2Label ) ) ) ) . FILTER ( ( ( \"en\" = LANG ( ?var1 ) ) ) ) . }"}}
{"id": "test_3643", "question": "Main topic of Category:United States", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?topic WHERE {\n  wd:Q1410960 wdt:P301 ?topic .\n}", "paraphrases": ["What entity is the main topic of the Wikimedia category \"Category:United States\"?", "Find the main topic of the United States category on Wikipedia."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/301> <http://www.wikidata.org/entity/Q17065497> . }"}}
{"id": "test_3644", "question": "What are the neighborhoods, streets, and landmarks located in Rio de Janeiro?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P131 * wd:Q8678 .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["List all places in Rio de Janeiro, including its sub-areas like districts and metro stations, in English.", "Show me all entities that are administratively part of Rio de Janeiro, Brazil."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 ( <http://www.wikidata.org/prop/P131> / <http://www.wikidata.org/prop/statement/P131> / <http://www.wikidata.org/prop/direct/P131> *) <http://www.wikidata.org/entity/Q8678> . } LIMIT 100"}}
{"id": "test_3645", "question": "National flags depicting animals and their images", "sparql": "SELECT DISTINCT ?flag ?image WHERE { ?flag (wdt:P31/wdt:P279*) wd:Q186516 . ?flag wdt:P180 ?depicted . ?depicted wdt:P31/wdt:P279* wd:Q729 . ?flag wdt:P18 ?image .}", "paraphrases": ["Which national flags feature animals, and what are their images on Wikimedia Commons?", "Show me the images of national flags that depict animals."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q186516> . ?var1 <http://www.wikidata.org/prop/direct/P180> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/279> * <http://www.wikidata.org/entity/Q729> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . }"}}
{"id": "test_3646", "question": "Capitals of UN member countries with over 5 million people, paired with another such country.", "sparql": "SELECT ?capital1Label ?capital2Label ?country2 ?country2Label WHERE { ?country1 wdt:P36 ?capital1 . ?country1 wdt:P1082 ?pop1 . ?country2 wdt:P36 ?capital2 . ?country2 wdt:P1082 ?pop2 . ?country1 wdt:P463 wd:Q1065 . ?country2 wdt:P463 wd:Q1065 . FILTER (?pop1 > 5000000 && ?pop2 > 5000000) FILTER (?country1 != ?country2) ?capital1 rdfs:label ?capital1Label . ?capital2 rdfs:label ?capital2Label . ?country2 rdfs:label ?country2Label . FILTER(LANG(?capital1Label) = \"en\") FILTER(LANG(?capital2Label) = \"en\") FILTER(LANG(?country2Label) = \"en\") } LIMIT 5", "paraphrases": ["Which two different United Nations member countries each have a population over 5 million, and what are their capitals?", "Show me the capital of one UN member country with more than 5 million people, along with the capital and name of another such country."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3 ?var3Label WHERE { ?var4 <http://www.wikidata.org/prop/direct/P36> ?var1 . ?var4 <http://www.wikidata.org/prop/direct/P1082> ?var5 . ?var3 <http://www.wikidata.org/prop/direct/P36> ?var2 . ?var3 <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q1065> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"da\". } FILTER ( ( ( ?var5 > \"5000000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . FILTER ( ( ( ?var6 > \"5000000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . FILTER ( ( ( ?var4 != ?var3 ) ) ) . ?var3 <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q1065> . }"}}
{"id": "test_3647", "question": "What are the districts of Barcelona and their coordinates?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?district ?districtLabel ?coordinates WHERE {\n  ?district wdt:P31 wd:Q790344 .\n  ?district wdt:P131 wd:Q1492 .\n  OPTIONAL {\n    ?district wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    ?district rdfs:label ?districtLabel .\n    FILTER ( LANG( ?districtLabel ) = \"en\" )\n  }\n}\nORDER BY ASC ( ?districtLabel )", "paraphrases": ["Can you list the 10 administrative districts of Barcelona in alphabetical order along with their geographic coordinates?", "Show me the English names and GPS locations of all neighborhoods that are officially recognized as districts within the city of Barcelona."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ( SAMPLE ( ?var2 ) AS ?var2 )( SAMPLE ( ?var2Label ) AS ?var2Label )( SAMPLE ( ?var3 ) AS ?var3 )( SAMPLE ( ?var4 ) AS ?var4 ) ?var5 ?var5Label ?var6 ?var6Label ?var7 ?var7Label WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var2 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q1492> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . ?var1 <http://www.wikidata.org/prop/P1435> ?var8 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . } OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( LANG ( ?var2Label ) IN ( \"en\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P149> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P84> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,pl,es\". } } GROUP BY ?var1 ?var1Label ?var5 ?var5Label ?var6 ?var6Label ?var7 ?var7Label ORDER BY ASC( ?var1Label )"}}
{"id": "test_3648", "question": "Who is the French-named 'Daphne Anne Vella' who is a human?", "sparql": "SELECT DISTINCT ?item WHERE { ?item skos:altLabel \"Daphne Anne Vella\"@fr . ?item wdt:P31 wd:Q5 . }", "paraphrases": ["Which human has the alternate name 'Daphne Anne Vella' in French?", "Find the person whose French alias is 'Daphne Anne Vella'."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Anne VELLA\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3649", "question": "What are the main topics of the academic article \"The Merchants' Warehouse, Castlefield, Manchester\", and what pairs of topics does it cover?", "sparql": "SELECT DISTINCT ?topic1 ?topic1Label ?topic2 ?topic2Label WHERE { wd:Q42721065 wdt:P921 ?topic1 . wd:Q42721065 wdt:P921 ?topic2 . FILTER (?topic1 != ?topic2) ?topic1 rdfs:label ?topic1Label . ?topic2 rdfs:label ?topic2Label . FILTER (LANG(?topic1Label) = \"en\") FILTER (LANG(?topic2Label) = \"en\") }", "paraphrases": ["List all combinations of two different main subjects associated with \"The Merchants' Warehouse, Castlefield, Manchester\".", "Which pairs of subjects are used to describe the scholarly article about the Castlefield warehouse?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q42721065> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P361> +) <http://www.wikidata.org/entity/Q42721065> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P1269> +) <http://www.wikidata.org/entity/Q42721065> . } ?var3 <http://www.wikidata.org/prop/direct/P921> ?var1 , ?var2 . FILTER ( ( ( <http://www.wikidata.org/entity/Q42721065> != ?var1 ) && ( <http://www.wikidata.org/entity/Q42721065> != ?var2 ) && ( ?var1 != ?var2 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_3650", "question": "Who are the people with the surname Barbaud?", "sparql": "SELECT DISTINCT ?human WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P734 wd:Q81836608 . }", "paraphrases": ["List all humans whose family name is Barbaud.", "Find individuals who have Barbaud as their last name."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"barbaud\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3651", "question": "What are the coordinates, country, official language, and nominal GDP per capita of Madrid?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var1 ?var2 ?var3 ?var3Label ?var4 ?var4Label ?var5 WHERE {\n  BIND(wd:Q2807 AS ?var1)\n  ?var1 wdt:P625 ?var2 .\n  ?var1 wdt:P17 ?var3 .\n  ?var3 wdt:P37 ?var4 .\n  ?var3 wdt:P2132 ?var5 .\n  ?var3 rdfs:label ?var3Label .\n  ?var4 rdfs:label ?var4Label .\n  FILTER(LANG(?var3Label) = \"en\")\n  FILTER(LANG(?var4Label) = \"en\")\n}", "paraphrases": ["Can you tell me the country where Madrid is located, its official language, and the country\u2019s GDP per capita, along with Madrid\u2019s geographic coordinates?", "Show me the geographic location of Madrid, the country it belongs to (with its English label), the official language of that country, and the country\u2019s nominal GDP per capita."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label ?var5 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q486972> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P37> ?var4 . ?var3 <http://www.wikidata.org/prop/direct/P2132> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( ( ?var1 = <http://www.wikidata.org/entity/Q2807> ) ) ) . }"}}
{"id": "test_3652", "question": "How many Martello towers are there in each country, ranked from most to least?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?country ?countryLabel(COUNT(?tower) AS ?count) WHERE {\n  ?tower wdt:P31 wd:Q91285 .\n  ?tower wdt:P17 ?country .\n  ?country rdfs:label ?countryLabel .\n  FILTER(LANG(?countryLabel) = \"en\")\n}\nGROUP BY ?country ?countryLabel\nORDER BY DESC(?count)", "paraphrases": ["Which countries have the most Martello towers, and how many are in each?", "Can you list the countries with Martello towers and count how many exist in each?"], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { { SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var3 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q91285> . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var1 . } GROUP BY ?var1 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } } UNION { SELECT ?var4 ?var4Label ?var2 ?var3 WHERE { { SELECT ?var4 ( COUNT ( ?var3 ) AS ?var2 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q91285> . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var4 . } GROUP BY ?var4 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } } }"}}
{"id": "test_3653", "question": "Humans with the surname Gillardo", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?item ?label WHERE {\n  VALUES ?item {\n    wd:Q54219415 wd:Q42400940 wd:Q67407549 wd:Q85096833 wd:Q497456 wd:Q497458\n  }\n  .\n  ?item rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\" || LANG(?label) = \"\")\n}", "paraphrases": ["Who are the people named Gillardo?", "List all humans with the last name Gillardo."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"gillardo\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3654", "question": "What are the birth and death dates of Robert H. Milroy?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  wd:Q774052 wdt:P31 wd:Q5 .\n  OPTIONAL {\n    wd:Q774052 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q774052 wdt:P570 ?deathDate .\n  }\n  wd:Q774052 rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}", "paraphrases": ["Can you tell me when Robert H. Milroy was born and when he died?", "Who was Robert H. Milroy, and what were his birth and death years?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q855913> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3655", "question": "Who are the people named Bounthavy?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?label WHERE {\n  VALUES ?item {\n    wd:Q19577895 wd:Q107069084\n  }\n  ?item rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}", "paraphrases": ["Can you tell me the names of people named Bounthavy?", "List the individuals with the first name Bounthavy."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1559> \"bounthavy\"@fr . }"}}
{"id": "test_3656", "question": "List all countries and their administrative subdivisions with English labels, including ISO country codes where available.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?countryLabel ?subdivisionLabel ?isoCode WHERE {\n  ?country wdt:P31 wd:Q6256 .\n  ?country wdt:P150 ?subdivision .\n  ?country rdfs:label ?countryLabel .\n  ?subdivision rdfs:label ?subdivisionLabel .\n  OPTIONAL {\n    ?country wdt:P2439 ?isoCode .\n  }\n  FILTER(LANG(?countryLabel) = \"en\")\n  FILTER(LANG(?subdivisionLabel) = \"en\")\n}", "paraphrases": ["What are the administrative divisions of each country, and what are their ISO 3-letter codes?", "Show me the English names of countries along with their subdivisions and their ISO 3166-1 alpha-3 codes, if they exist."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var1 <http://www.wikidata.org/prop/direct/P150> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ro, en-gb, en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2439> ?var3 . } }"}}
{"id": "test_3657", "question": "List first-level administrative divisions (e.g., states or provinces) with their ISO 3166-2 codes and their countries' ISO 3166-1 alpha-2 codes.", "sparql": "SELECT DISTINCT ?item ?iso2_code ?iso_country_code ?label WHERE { ?item wdt:P31/wdt:P279* wd:Q10864048 ; rdfs:label ?label ; wdt:P17 ?country ; wdt:P2585 ?iso2_code . ?country wdt:P297 ?iso_country_code . FILTER(LANG(?label) = \"en\") } ORDER BY ?label", "paraphrases": ["What are the names, ISO 3166-2 codes, and country ISO codes of first-level administrative divisions like regions or provinces around the world?", "Show me all first-level administrative divisions (like French regions or US states), including their local ISO codes and the two-letter country codes they belong to."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13396669> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var9Label ; <http://www.w3.org/2000/01/rdf-schema#label> ?var4 ; <http://www.wikidata.org/prop/direct/P17> ?var10 . ?var10 <http://www.wikidata.org/prop/direct/P297> ?var3 . ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var11 . ?var11 <http://www.wikidata.org/prop/direct/P2452> \"A.ADM1\"; <http://www.wikidata.org/prop/direct/P2452> ?var2 . }"}}
{"id": "test_3658", "question": "List of country subdivisions and their ISO 3166-2 codes.", "sparql": "SELECT ?subdivision ?isoCode WHERE { ?subdivision wdt:P300 ?isoCode . }", "paraphrases": ["Which country subdivisions have ISO 3166-2 codes, and what are those codes?", "Show me all the subdivisions of countries along with their official ISO 3166-2 identifiers."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P300> ?var2 . }"}}
{"id": "test_3659", "question": "Who are the people with the surname Rouger?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?human WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human wdt:P734 wd:Q65943955 .\n}", "paraphrases": ["Which humans have the family name 'Rouger' in Wikidata?", "List all individuals whose last name is Rouger."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"ROUGER\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3660", "question": "Who are the people with the surname Vigier?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P734 wd:Q23793524 .\n}", "paraphrases": ["Which humans have 'Vigier' as their family name?", "List all individuals whose last name is Vigier."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Vigier\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3661", "question": "What are the names of national flags that are not blue?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?flagLabel WHERE {\n  ?flag ( wdt:P31 / wdt:P279 * ) wd:Q186516 .\n  FILTER NOT EXISTS {\n    ?flag wdt:P462 wd:Q1088 .\n  }\n  ?flag rdfs:label ?flagLabel .\n}", "paraphrases": ["List all flags that do not include the color blue.", "Which national flags do not contain the color blue?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label WHERE { ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q186516> . FILTER ( ( NOT EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P462> <http://www.wikidata.org/entity/Q1088> . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_3662", "question": "What are the birth and death dates of Keller E. Rockey?", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { wd:Q6385672 rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") . wd:Q6385672 wdt:P31 wd:Q5 . OPTIONAL { wd:Q6385672 wdt:P569 ?birthDate . } OPTIONAL { wd:Q6385672 wdt:P570 ?deathDate . } }", "paraphrases": ["Keller E. Rockey: birth date, death date, and full name", "Can you provide the English name, date of birth, and date of death for the American Marine Corps general Keller E. Rockey?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q6385672> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3663", "question": "What are all the subclasses of physical tool in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?subclass WHERE {\n  ?subclass wdt:P279 * wd:Q39546 .\n}\nLIMIT 100", "paraphrases": ["List tools and devices that are types of physical tools, including subcategories.", "Show me the hierarchy of items that are considered physical tools, from broad to specific."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q39546> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_3664", "question": "What are the birth and death dates of Ernest Barry?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  BIND(wd:Q5392764 AS ?person)\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  ?person rdfs:label ?personLabel .\n}\nLIMIT 1", "paraphrases": ["When was the British rower Ernest Barry born and when did he die?", "Can you tell me the life span of Ernest Barry, the rower?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q5392764> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3665", "question": "Who are the people with the surname Degouy?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?human WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human wdt:P734 wd:Q65101518 .\n}", "paraphrases": ["List all humans whose last name is Degouy.", "Which individuals are known by the family name Degouy?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"degouys\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3666", "question": "List all municipalities in Brazil with their Portuguese names.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?municipality ?municipalityLabel WHERE {\n  ?municipality wdt:P31 wd:Q3184121 .\n  ?municipality rdfs:label ?municipalityLabel .\n  FILTER(LANG(?municipalityLabel) = \"pt\")\n}", "paraphrases": ["What are the names of all municipalities in Brazil in Portuguese?", "Show me the Portuguese names of all Brazilian municipalities."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3184121> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pt\". } }"}}
{"id": "test_3667", "question": "What are the names of buildings in the Emporis database that don't have recorded coordinates?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?building ?buildingLabel WHERE {\n  ?building wdt:P455 ?emporisId . MINUS {\n    ?building wdt:P625 [] .\n  }\n  ?building rdfs:label ?buildingLabel .\n  FILTER(LANG(?buildingLabel) = \"en\")\n}\nORDER BY ASC(?buildingLabel)", "paraphrases": ["List English-named buildings identified by Emporis IDs but lacking geographic location data.", "Which notable buildings have an Emporis Building Number but no known latitude or longitude?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P455> ?var2 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P625> [] . } ?var1 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_3668", "question": "What geographical locations is the Edward G. Budd Manufacturing Company Building part of?", "sparql": "SELECT DISTINCT ?location ?locationLabel WHERE { wd:Q24256347 (wdt:P30|wdt:P17|wdt:P131)* ?location . ?location rdfs:label ?locationLabel . FILTER(LANG(?locationLabel) = \"en\") } LIMIT 100", "paraphrases": ["What country, state, city, and continent does the Edward G. Budd Manufacturing Company Building belong to?", "Show me the full geographical hierarchy of the Edward G. Budd Manufacturing Company Building, including its city, county, state, country, and continent."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q24256347> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_3669", "question": "Who are the people with the surname Bonnin?", "sparql": "SELECT DISTINCT ?person ?personLabel WHERE { ?person wdt:P31 wd:Q5 ; wdt:P734 wd:Q21494549 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) IN (\"en\", \"fr\")) }", "paraphrases": ["List all humans in Wikidata whose family name is Bonnin.", "Can you find French or English-labeled individuals with the last name Bonnin?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Bonnin\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3670", "question": "What works and public spaces in Spain have images available on Wikimedia Commons?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel ?location ?image WHERE {\n  ?item wdt:P17 wd:Q29 .\n  ?item wdt:P18 ?image .\n  OPTIONAL {\n    ?item wdt:P625 ?location .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n  FILTER(EXISTS {\n    ?item wdt:P31 / wdt:P279 * wd:Q386724 .\n  }\n  || EXISTS {\n    ?item wdt:P31 / wdt:P279 * wd:Q294440 .\n  })\n}", "paraphrases": ["Show me images of artworks and public places located in Spain, along with their names and coordinates.", "List all public spaces and creative works in Spain that are documented with images on Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> \"POINT(-3 43)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"1\". } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ca,en\". } FILTER ( ( EXISTS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q386724> . } || EXISTS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q294440> . } ) ) . }"}}
{"id": "test_3671", "question": "Who is Michel Jau, a French human?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person WHERE {\n  ?person rdfs:label \"Michel Jau\" @fr .\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["What is the Wikidata item for the French-labeled person named Michel Jau?", "Find the human entity in Wikidata that has the French label \"Michel Jau\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Michel JAU\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3672", "question": "English labels of the Deutsche Bank Twin Towers and its types (instance of).", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?typeLabel ?buildingLabel ?type WHERE {\n  wd:Q701538 wdt:P31 ?type ; rdfs:label ?buildingLabel .\n  ?type rdfs:label ?typeLabel .\n  FILTER ( LANG( ?buildingLabel ) = \"en\" ) FILTER ( LANG( ?typeLabel ) = \"en\" )\n}", "paraphrases": ["What are the English labels of the Deutsche Bank Twin Towers and the classes it is an instance of?", "Show me the English name of the Deutsche Bank Twin Towers and the English names of the building types it belongs to."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.wikidata.org/entity/Q701538> <http://www.wikidata.org/prop/direct/P31> ?var3 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( \"en\" = LANG ( ?var2Label ) ) ) ) . FILTER ( ( ( \"en\" = LANG ( ?var1 ) ) ) ) . }"}}
{"id": "test_3673", "question": "List all properties of the Empire State Building with their English labels, values, and corresponding English Wikipedia articles.", "sparql": "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT DISTINCT ?property ?propertyItem ?propertyLabel ?value ?valueLabel ?wikipediaArticle WHERE {\n  wd:Q9188 ?property ?value .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?propertyLabel .\n  FILTER(LANG(?propertyLabel) = \"en\")\n  OPTIONAL {\n    ?value rdfs:label ?valueLabel .\n    FILTER(LANG(?valueLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?wikipediaArticle rdf:type schema:Article ; schema:about ?value ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n}", "paraphrases": ["What are the properties of the Empire State Building, their values, and which of those values have English Wikipedia articles or labels?", "Show me all the external identifiers and categories linked to the Empire State Building in Wikidata, including their English labels and links to English Wikipedia pages."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { <http://www.wikidata.org/entity/Q9188> ?var1 ?var4 . ?var2 <http://wikiba.se/ontology#directClaim> ?var1 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . OPTIONAL { ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . } OPTIONAL { ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> . ?var6 <http://schema.org/about> ?var4 . ?var6 <http://schema.org/inLanguage> \"en\". ?var6 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } }"}}
{"id": "test_3674", "question": "What are the height and elevation above sea level of the Empire State Building?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?value WHERE {\n  OPTIONAL {\n    wd:Q9188 wdt:P2048 ?value .\n  }\n  OPTIONAL {\n    wd:Q9188 wdt:P2044 ?value .\n  }\n}", "paraphrases": ["How tall is the Empire State Building, and how high is it above sea level?", "Can you tell me the vertical dimensions of the Empire State Building, including its height and elevation?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q9188> <http://www.wikidata.org/prop/direct/P2048> ?var1 . } OPTIONAL { <http://www.wikidata.org/entity/Q9188> <http://www.wikidata.org/prop/direct/P2044> ?var1 . } }"}}
{"id": "test_3675", "question": "Humans with the surname Nesseler", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person WHERE {\n  ?person wdt:P31 wd:Q5 ; wdt:P734 wd:Q104822001 .\n}", "paraphrases": ["Who are the people with the last name Nesseler?", "List all humans whose family name is Nesseler."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"nesseler\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3676", "question": "Who is Jade Luzu in French, and is she a human?", "sparql": "SELECT DISTINCT ?person WHERE { ?person rdfs:label \"Jade Luzu\" @fr . ?person wdt:P31 wd:Q5 . }", "paraphrases": ["What is the Wikidata item for the person named \"Jade Luzu\" in French?", "Find the Wikidata entity for a human named \"Jade Luzu\" with a French label."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Jade Luzu\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3677", "question": "List of currently existing Heritage New Zealand Category 1 historic sites with their coordinates and images.", "sparql": "SELECT DISTINCT ?site ?siteLabel ?coord ?image WHERE { ?site wdt:P1435 wd:Q28822544 . ?site wdt:P625 ?coord . OPTIONAL { ?site wdt:P18 ?image . } FILTER(NOT EXISTS { ?site wdt:P576 ?date . }) ?site rdfs:label ?siteLabel . FILTER(LANG(?siteLabel) = \"en\") }", "paraphrases": ["What are the geographic coordinates and images of all currently existing Category 1 heritage sites in New Zealand?", "Show me the names, locations, and photos of all active Heritage New Zealand Category 1 listed places."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P1435> / <http://www.wikidata.org/prop/direct/P279> *) ( <http://www.wikidata.org/entity/Q28822544> ). ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P576> ?var4 . } ) ) . }"}}
{"id": "test_3678", "question": "What are the administrative divisions that include Asturias, and what is the parent of each?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?administrativeEntity ?parent WHERE {\n  wd:Q3934 wdt:P131 * ?administrativeEntity .\n  OPTIONAL {\n    ?administrativeEntity wdt:P131 ?parent .\n  }\n}", "paraphrases": ["List all administrative regions from Asturias up to the country level, and their immediate parents.", "Which administrative entities contain Asturias, and what is each one\u2019s direct superior administrative entity?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q3934> <http://www.wikidata.org/prop/direct/P131> * ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es\". } }"}}
{"id": "test_3679", "question": "What are the current administrative regions Madrid belongs to, and what is the next-level administrative region above each?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?var1 ?var1Label ?var2 ?var2Label WHERE {\n  wd:Q2807 wdt:P131 ?var1 .\n  OPTIONAL {\n    ?var1 wdt:P131 ?var2 .\n  }\n  FILTER NOT EXISTS {\n    ?var1 wdt:P576 | wdt:P582 []\n  }\n  FILTER NOT EXISTS {\n    ?var2 wdt:P576 | wdt:P582 []\n  }\n  ?var1 rdfs:label ?var1Label .\n  ?var2 rdfs:label ?var2Label .\n  FILTER(LANG(?var1Label) = \"en\")\n  FILTER(LANG(?var2Label) = \"en\")\n}", "paraphrases": ["List the administrative divisions containing Madrid, excluding any that have been dissolved, along with their parent divisions.", "What is the immediate administrative parent of Madrid, and what country is that parent part of?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". <http://www.wikidata.org/entity/Q2807> <http://www.wikidata.org/prop/direct/P131> * ?var1 . MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P576> | <http://www.wikidata.org/prop/direct/P582> ) [] . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . MINUS { ?var2 ( <http://www.wikidata.org/prop/direct/P576> | <http://www.wikidata.org/prop/direct/P582> ) [] . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es, en, es, ca, es, ca, es, ca, es, ca, es, ca\". } }"}}
{"id": "test_3680", "question": "Buildings designed by Theophil Hansen with Greek labels.", "sparql": "SELECT ?building ?buildingLabel WHERE { ?building wdt:P84 wd:Q78638 . OPTIONAL { ?building rdfs:label ?buildingLabel . FILTER (LANG(?buildingLabel) = \"el\") . } }", "paraphrases": ["Which buildings designed by Theophil Hansen have names in Greek?", "Show me the Greek-language names of buildings designed by Theophil Hansen."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P84> <http://www.wikidata.org/entity/Q78638> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"el\" ) ) ) . } }"}}
{"id": "test_3681", "question": "What are the buildings designed by Theophil Hansen, and where are they located?", "sparql": "SELECT ?building ?buildingLabel ?location WHERE { ?building wdt:P84 wd:Q78638 . ?building wdt:P625 ?location . ?building rdfs:label ?buildingLabel . FILTER(LANG(?buildingLabel) = \"en\") }", "paraphrases": ["Can you list the architectural works of Theophil Hansen with their English names and geographic coordinates?", "Which buildings did Theophil Hansen design that have both an English label and a known location?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P84> <http://www.wikidata.org/entity/Q78638> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"el\". } SERVICE <http://wikiba.se/ontology#around> { ?var2 <http://www.wikidata.org/prop/direct/P625> ?var1 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> \"string1\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"20\". <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#distance> ?var3 . } FILTER ( ( ( ?var3 > \"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . }"}}
{"id": "test_3682", "question": "Who is Cyrielle Banet in French, and is she a human?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person WHERE {\n  ?person rdfs:label \"Cyrielle Banet\" @fr .\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["What is the Wikidata item for the person named Cyrielle Banet in French?", "Find the human entity in Wikidata that has the French label 'Cyrielle Banet'."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Axel Banet\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3683", "question": "What are the neoclassical buildings within 1.2 kilometers of the U.S. Capitol, ordered by distance?", "sparql": "PREFIX geo: <http://www.opengis.net/ont/geosparql#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX geof: <http://www.opengis.net/def/function/geosparql/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?building ?distance ?location ?buildingLabel WHERE {\n  ?building wdt:P149 wd:Q54111 .\n  ?building wdt:P625 ?location .\n  BIND(geof:distance(?location , \"POINT(-77.009167 38.889722)\" ^^ geo:wktLiteral) AS ?distance)\n  FILTER(?distance <= 1200)\n  ?building rdfs:label ?buildingLabel .\n  FILTER(LANG(?buildingLabel) = \"en\")\n}\nORDER BY ASC(?distance)", "paraphrases": ["List the English-labeled neoclassical architecture structures near the U.S. Capitol, showing how far each is from it.", "Find buildings with neoclassical style located close to the U.S. Capitol and display their names and distances in meters."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 WHERE { SERVICE <http://wikiba.se/ontology#around> { ?var2 <http://www.wikidata.org/prop/direct/P625> ?var3 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> \"string1\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"1200\". <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#distance> ?var1 . } ?var2 <http://www.wikidata.org/prop/direct/P149> <http://www.wikidata.org/entity/Q54111> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_3684", "question": "What heritage sites or monuments in the area between longitude -75 and -74 and latitude 39 and 40 have been listed in Wiki Loves Monuments or have a heritage designation?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?image ?coord WHERE {\n  {\n    ?item wdt:P1435 ?heritage\n  } UNION {\n    ?item wdt:P2186 ?wlmId\n  }\n  ?item wdt:P625 ?coord .\n  BIND( REPLACE( STRBEFORE( STR( ?coord ) , \" \" ) , \"POINT\\\\(\" , \"\" ) AS ?lon ) BIND( REPLACE( STRAFTER( STR( ?coord ) , \" \" ) , \"\\\\)\" , \"\" ) AS ?lat ) BIND( xsd:double ( ?lon ) AS ?lonNum ) BIND( xsd:double ( ?lat ) AS ?latNum ) FILTER ( ?lonNum >= -75 && ?lonNum <= -74 ) FILTER ( ?latNum >= 39 && ?latNum <= 40 ) OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Show me the English-labeled cultural heritage sites and their coordinates in the region covering parts of New Jersey and Pennsylvania, including any available images.", "List the geolocated heritage sites in the northeastern U.S. (near 39\u201340\u00b0N, -75 to -74\u00b0W) that are part of Wiki Loves Monuments or have official heritage status."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var5 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerWest> \"POINT(-75 39)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerEast> \"POINT(-74 40)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } { ?var1 <http://www.wikidata.org/prop/P1435> ?var6 . } UNION { ?var1 <http://www.wikidata.org/prop/P2186> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3685", "question": "Who are the people with the surname Bonaguidi?", "sparql": "SELECT DISTINCT ?person WHERE { ?person wdt:P31 wd:Q5 ; wdt:P734 wd:Q124791411 . }", "paraphrases": ["List all humans whose family name is Bonaguidi.", "Which individuals are known to have the last name Bonaguidi?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Bonaguidi\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3686", "question": "Locations with coordinate precision better than 1 km and longitude rounded to the nearest minute.", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?item ?precision WHERE {\n  ?item p:P625 / psv:P625 ?coord .\n  ?coord wikibase:geoLongitude ?longitude ; wikibase:geoPrecision ?precision .\n  FILTER(?longitude = ROUND(?longitude * 60) / 60)\n  FILTER(?precision < 0.01)\n}\nLIMIT 1000", "paraphrases": ["Which geographic locations have coordinates with precision finer than 0.01 degrees and longitude values rounded to the nearest minute?", "Show me places where the geographic coordinates are highly precise (under 1 km uncertainty) but stored with minute-level longitude resolution."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/P625> / <http://www.wikidata.org/prop/statement/value/P625> ) ?var3 . ?var3 <http://wikiba.se/ontology#geoLongitude> ?var4 ; <http://wikiba.se/ontology#geoPrecision> ?var2 . FILTER ( ( ( ?var4 = ( ROUND ( ( ?var4 *\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) /\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) ) . FILTER ( ( ( ?var2 < ( \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> /\"100\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) ) . } LIMIT 1000"}}
{"id": "test_3687", "question": "Who are the people with the surname Cazenove?", "sparql": "SELECT DISTINCT ?item WHERE { VALUES ?item { wd:Q120225 wd:Q16006537 wd:Q76240428 wd:Q76048064 wd:Q76044507 wd:Q76042841 wd:Q76042837 wd:Q75277826 wd:Q75980753 wd:Q76240425 } ?item wdt:P31 wd:Q5 . }", "paraphrases": ["Which humans have the last name Cazenove or include 'de L\u00e9risson Cazenove' in their name?", "List all individuals named Cazenove, including those with the full name 'de L\u00e9risson Cazenove'."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"lerisson\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3688", "question": "Who are the people with the surname Ruocco?", "sparql": "SELECT DISTINCT ?person WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P734 wd:Q21507344 . }", "paraphrases": ["List all humans whose family name is Ruocco.", "Which individuals have Ruocco as their last name?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"ruocco\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3689", "question": "French-language humans with surname Guerrieri", "sparql": "SELECT DISTINCT ?person ?label WHERE { VALUES ?person { wd:Q679544 wd:Q3836851 wd:Q2165248 wd:Q3561369 wd:Q29002131 wd:Q3767273 wd:Q97325555 } ?person rdfs:label ?label . FILTER(LANGMATCHES(LANG(?label), \"fr\")) }", "paraphrases": ["Who are the people named Guerrieri in French?", "List all humans whose French label contains the surname Guerrieri."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"guerrieri\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3690", "question": "Buildings designed by Oscar Niemeyer with their coordinates and images.", "sparql": "SELECT ?building ?buildingLabel ?coordinates ?image WHERE { ?building wdt:P84 wd:Q134165 . OPTIONAL { ?building wdt:P625 ?coordinates . } OPTIONAL { ?building wdt:P18 ?image . } }", "paraphrases": ["What are the buildings designed by Oscar Niemeyer, and where are they located? Can you also show images of these buildings?", "List all buildings designed by the architect Oscar Niemeyer, including their geographic coordinates and associated Wikimedia Commons images."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P84> <http://www.wikidata.org/entity/Q134165> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en,ca,gl,eu,fr,de,it\". } }"}}
{"id": "test_3691", "question": "Which pairs of identifier types (like ISBN, DOI) are used by the same system or platform?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?identifier1 ?identifier1Label ?identifier2 ?identifier2Label WHERE {\n  ?identifier1(wdt:P31 / wdt:P279 *) wd:Q6545185 .\n  ?identifier2(wdt:P31 / wdt:P279 *) wd:Q6545185 .\n  ?identifier1 wdt:P1535 ?system .\n  ?identifier2 wdt:P1535 ?system .\n  FILTER(?identifier1 != ?identifier2)\n  .\n  ?identifier1 rdfs:label ?identifier1Label .\n  ?identifier2 rdfs:label ?identifier2Label .\n  FILTER(LANG(?identifier1Label) = \"en\")\n  .\n  FILTER(LANG(?identifier2Label) = \"en\")\n}", "paraphrases": ["What identifier systems are commonly used together in the same authority control templates on Wikipedia?", "Show me pairs of unique identifier types that are both referenced by the same system, along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q6545185> . ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q6545185> . ?var1 ( <http://www.wikidata.org/prop/direct/P1535> |^ <http://www.wikidata.org/prop/direct/P2283> ) ?var3 . ?var2 ( <http://www.wikidata.org/prop/direct/P1535> |^ <http://www.wikidata.org/prop/direct/P2283> ) ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_3692", "question": "Buildings designed by Fernando Garc\u00eda Mercadal with coordinates and images", "sparql": "SELECT ?building (SAMPLE(?label) AS ?buildingLabel) ?coordinates ?image WHERE { ?building wdt:P84 wd:Q3751119 . OPTIONAL { ?building wdt:P625 ?coordinates . } OPTIONAL { ?building wdt:P18 ?image . } OPTIONAL { ?building rdfs:label ?label . } } GROUP BY ?building ?coordinates ?image", "paraphrases": ["Which buildings did Fernando Garc\u00eda Mercadal design, and where are they located? Do any images of them exist?", "Show me the buildings designed by Spanish architect Fernando Garc\u00eda Mercadal, along with their geographic coordinates and associated images from Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P84> <http://www.wikidata.org/entity/Q3751119> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en,ca,gl,eu,fr,de,it\". } }"}}
{"id": "test_3693", "question": "What external identifiers and properties are associated with Geneva?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?value ?property ?valueLabel ?propertyLabel WHERE {\n  wd:Q71 ?propertyStatement ?value .\n  ?property wikibase:directClaim ?propertyStatement .\n  OPTIONAL {\n    ?value rdfs:label ?valueLabel FILTER ( LANG( ?valueLabel ) = \"en\" )\n  }\n  ?property rdfs:label ?propertyLabel FILTER ( LANG( ?propertyLabel ) = \"en\" )\n}", "paraphrases": ["Which Wikidata properties are used to link Geneva to external identifiers, and what are those identifiers?", "Show me all the values (like IDs or URLs) connected to Geneva and the names of the Wikidata properties that link them, such as \"Dewey Decimal Classification\" or \"described at URL\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label ?var2Label WHERE { <http://www.wikidata.org/entity/Q71> ?var3 ?var1 . ?var2 <http://wikiba.se/ontology#directClaim> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3694", "question": "Items followed by another item, which is followed by a third item, along with the label of the first item.", "sparql": "SELECT ?item1 ?item1Label ?item3 WHERE { ?item1 wdt:P156 ?item2 . ?item2 wdt:P156 ?item3 . ?item1 wdt:P1476 ?item1Label . } ORDER BY ?item1 LIMIT 100", "paraphrases": ["Which items are part of a sequence of three where each follows the previous, and what is the name of the first item in each sequence?", "Show me chains of three items where each item follows the one before it, and include the label of the first item in each chain."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/P558> ?var3 . ?var3 <http://www.wikidata.org/prop/P558> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru\". } } ORDER BY ASC( ?var1 ) LIMIT 100"}}
{"id": "test_3695", "question": "Regular polygons with more than 2 edges, ordered by number of sides.", "sparql": "SELECT ?polygon ?polygonLabel ?edgeCount WHERE { ?polygon wdt:P279 wd:Q714886 . ?polygon p:P1312 ?facetStatement . ?facetStatement pq:P1114 ?edgeCount . FILTER ( ?edgeCount > 2.0 ) . } ORDER BY ASC ( ?edgeCount )", "paraphrases": ["Which regular polygons have more than two sides, and how many sides do they have?", "List all regular polygons that have a number of edges greater than two, sorted from the fewest to the most edges."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q714886> . ?var1 <http://www.wikidata.org/prop/P1312> ?var3 . ?var3 <http://www.wikidata.org/prop/qualifier/P1114> ?var2 . FILTER ( ( ( ?var2 > \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY ASC( ?var2 )"}}
{"id": "test_3696", "question": "What are the subclasses of a rhombus?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?rhombus ?rhombusLabel ?subclass WHERE {\n  VALUES ?rhombus {\n    wd:Q41159\n  }\n  ?rhombus rdfs:label ?rhombusLabel .\n  FILTER ( LANG( ?rhombusLabel ) = 'en' ) ?rhombus wdt:P279 ?subclass .\n}", "paraphrases": ["Is a rhombus a type of quadrilateral, and what is its name in English?", "What geometric categories does a rhombus belong to?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q41159> ) } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/direct/P1312> / <http://www.wikidata.org/prop/direct/P1114> ) ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_3697", "question": "Cities in Spain", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?city ?cityLabel WHERE {\n  ?city wdt:P31 wd:Q515 .\n  ?city wdt:P17 wd:Q29 .\n  ?city rdfs:label ?cityLabel .\n  FILTER ( LANG( ?cityLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["What are the cities in Spain?", "List the English names of all cities located in Spain."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q29> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es\". } } LIMIT 100"}}
{"id": "test_3698", "question": "List Spanish provinces by population in ascending order.", "sparql": "SELECT ?label ?population WHERE { ?province wdt:P31 wd:Q162620 ; wdt:P1082 ?population . OPTIONAL { ?province rdfs:label ?label . FILTER(LANG(?label) = \"es\") } } ORDER BY ASC(?population)", "paraphrases": ["What are the provinces of Spain and their populations, sorted from least to most populous?", "Show me the names and populations of all Spanish provinces, ordered from the smallest to the largest population."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q162620> . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es\". } } ORDER BY ASC( ?var2 )"}}
{"id": "test_3699", "question": "What is the English label for the property \"architectural style\" in Wikidata?", "sparql": "SELECT DISTINCT ?var1Label WHERE { wd:P149 rdfs:label ?var1Label . FILTER (LANG(?var1Label) = \"en\") }", "paraphrases": ["How is the property with ID P149 labeled in English?", "Can you tell me the English name of the Wikidata property for architectural style?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label WHERE { <http://www.wikidata.org/prop/direct/P149> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . }"}}
{"id": "test_3700", "question": "What cultural heritage sites or monuments have either a heritage designation or a Wiki Loves Monuments ID, and what are their images and administrative locations?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?item ?itemLabel ?admin ?adminLabel ?image ?designationOrId WHERE {\n  {\n    ?item p:P1435 ?heritage .\n    BIND(?heritage AS ?designationOrId)\n  } UNION {\n    ?item p:P2186 ?wlmId .\n    BIND(?wlmId AS ?designationOrId)\n  }\n  OPTIONAL {\n    ?item wdt:P131 ?admin .\n  }\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n  OPTIONAL {\n    ?admin rdfs:label ?adminLabel .\n    FILTER(LANG(?adminLabel) = \"en\")\n  }\n}\nLIMIT 10", "paraphrases": ["Show me items with heritage status or a Wiki Loves Monuments ID, including their English labels, images, and the administrative regions they belong to.", "List monuments or heritage items that are part of Wiki Loves Monuments or have a formal heritage designation, along with their associated images and locations."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var5 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerWest> \"POINT(19 47)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerEast> \"POINT(19 48)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } { ?var1 <http://www.wikidata.org/prop/P1435> ?var6 . } UNION { ?var1 <http://www.wikidata.org/prop/P2186> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"hu,en\". } }"}}
{"id": "test_3701", "question": "List of UNESCO World Heritage Sites in English.", "sparql": "SELECT ?site ?siteLabel WHERE { ?site wdt:P1435 wd:Q9259 . ?site rdfs:label ?siteLabel . FILTER(LANG(?siteLabel) = \"en\") }", "paraphrases": ["What are the English names of all places designated as UNESCO World Heritage Sites?", "Show me the English labels of all sites that are listed as World Heritage Sites by UNESCO."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1435> <http://www.wikidata.org/entity/Q9259> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_3702", "question": "People with \"Guibert\" in their French native name", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person WHERE {\n  ?person wdt:P1559 ?name .\n  FILTER ( LANG( ?name ) = \"fr\" ) FILTER ( CONTAINS( STR( ?name ) , \"Guibert\" ) )\n}", "paraphrases": ["Who are the people whose native name in French includes \"Guibert\"?", "List all individuals whose name in French contains the surname \"Guibert\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1559> \"Guibert\"@fr . }"}}
{"id": "test_3703", "question": "What is the French-labeled human named Ar\u00e9thas in Wikidata?", "sparql": "SELECT DISTINCT ?item WHERE { ?item rdfs:label \"Ar\u00e9thas\"@fr . ?item wdt:P31 wd:Q5 . }", "paraphrases": ["Can you find the person in Wikidata whose name in French is Ar\u00e9thas?", "Show me the entity that is a human and has the French label \"Ar\u00e9thas\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"chidhareth\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3704", "question": "Types of municipalities in Spain and how many of each type exist.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?type ?typeLabel ( COUNT( ?municipality ) AS ?count ) WHERE {\n  VALUES ?municipalityType {\n    wd:Q2074737\n  }\n  ?municipality wdt:P31 ?municipalityType .\n  ?municipality wdt:P31 ?type .\n  OPTIONAL {\n    ?type rdfs:label ?typeLabel .\n    FILTER ( LANG( ?typeLabel ) = \"en\" )\n  }\n}\nGROUP BY ?type ?typeLabel\nORDER BY DESC ( ?count )", "paraphrases": ["What are the different types of administrative entities in Spain that are classified as municipalities, and how many entities belong to each type?", "List all the instance-of types of Spanish municipalities, sorted by how common each type is, along with their English labels and counts."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { VALUES ( ?var4 ) { ( <http://www.wikidata.org/entity/Q2074737> ) } ?var2 <http://www.wikidata.org/prop/direct/P31> ?var4 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P31> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var3 )"}}
{"id": "test_3705", "question": "What are the town halls in Spain and their corresponding administrative districts?", "sparql": "SELECT ?townhall ?administrative_entity ?townhallLabel ?administrative_entityLabel WHERE { ?townhall wdt:P31 wd:Q25550691 . ?townhall wdt:P17 wd:Q29 . OPTIONAL { ?townhall wdt:P131 ?administrative_entity . } OPTIONAL { ?townhall rdfs:label ?townhallLabel FILTER(LANG(?townhallLabel) = \"en\") . } OPTIONAL { ?administrative_entity rdfs:label ?administrative_entityLabel FILTER(LANG(?administrative_entityLabel) = \"en\") . } } ORDER BY ASC(?administrative_entityLabel) LIMIT 10", "paraphrases": ["List the names of town halls in Spain along with the districts or cities they belong to, sorted alphabetically by district.", "Show me the administrative divisions of town halls in Spain, including their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var3Label ?var4 ?var4Label ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,es\". } ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q543654> . ?var2 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q29> . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P276> ?var3 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P131> ?var4 . } } ORDER BY ASC( ?var4Label )"}}
{"id": "test_3706", "question": "What are the Spanish municipalities whose names end with \"de Tajo\", and what are they named after?", "sparql": "SELECT ?municipality ?label ?namesakeLabel WHERE { ?municipality (wdt:P31/wdt:P279*) wd:Q2074737 ; wdt:P17 wd:Q29 ; rdfs:label ?label . FILTER(LANG(?label) = \"es\") FILTER(REGEX(?label, \" de Tajo$\")) OPTIONAL { ?municipality wdt:P138 ?namesake . ?namesake rdfs:label ?namesakeLabel . FILTER(LANG(?namesakeLabel) = \"en\") } }", "paraphrases": ["List Spanish towns ending in \"de Tajo\" in Spanish and their English namesakes.", "Which places in Spain have names like \"[X] de Tajo\", and are they named after the Tagus River?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q2074737> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q29> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"es\" ) ) ) . FILTER ( ( REGEX ( ?var1Label , \" de Tajo$\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P138> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . } FILTER ( ( !( BOUND ( ?var2 ) ) ) ) . }"}}
{"id": "test_3707", "question": "Who is Omar Sy in French?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person WHERE {\n  ?person rdfs:label \"Omar Sy\" @fr .\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["What is the Wikidata item for the French actor Omar Sy?", "Which human entity in Wikidata is labeled as \"Omar Sy\" in French?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Amaye SY\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3708", "question": "Spanish municipalities with \"de Ebro\" in their name", "sparql": "SELECT ?municipality ?label WHERE { ?municipality (wdt:P31/wdt:P279*) wd:Q2074737 ; wdt:P17 wd:Q29 ; rdfs:label ?label . FILTER (LANG(?label) = \"es\") FILTER (REGEX(?label, \" de Ebro$\")) }", "paraphrases": ["Which municipalities in Spain have names ending in \"de Ebro\"?", "List all Spanish municipalities along the Ebro River that are labeled in Spanish and end with \"de Ebro\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q2074737> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q29> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"es\" ) ) ) . FILTER ( ( REGEX ( ?var1Label , \" de Ebro$\" ) ) ) . }"}}
{"id": "test_3709", "question": "Wikidata properties that are identifiers and data elements", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?property ?propertyLabel WHERE {\n  ?property ( wdt:P31 / wdt:P279 * ) wd:Q18616576 .\n  ?property ( wdt:P31 / wdt:P279 * ) wd:Q853614 .\n  ?property rdfs:label ?propertyLabel .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" )\n}", "paraphrases": ["Which Wikidata properties are classified as both identifiers and data elements?", "List all Wikidata properties that serve as identifiers and are part of the Wikidata data model."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q18616576> . ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q853614> . }"}}
{"id": "test_3710", "question": "Is Sennan Post Office a type of building?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q11554755 ( wdt:P31 / wdt:P279 * ) wd:Q41176 .\n}", "paraphrases": ["Does the Sennan Post Office belong to a class that is a subclass of building?", "Check whether the Sennan Post Office is an instance of something that falls under the category of building."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q11554755> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1356230> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_3711", "question": "Subclasses of building with the most language labels and their names in all languages.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subclass(COUNT(DISTINCT ?lang) AS ?langCount)(GROUP_CONCAT(DISTINCT ?label ; SEPARATOR = \" / \") AS ?labels) WHERE {\n  ?subclass wdt:P279 wd:Q41176 .\n  ?subclass rdfs:label ?label .\n  BIND(LANG(?label) AS ?lang)\n}\nGROUP BY ?subclass\nHAVING(COUNT(DISTINCT ?lang) > 0)\nORDER BY DESC(?langCount)", "paraphrases": ["What are the subclasses of buildings, ranked by how many languages their names are available in, along with all their translated names?", "List all subclasses of buildings, showing how many languages each has labels in and concatenate all the labels separated by slashes."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 )( GROUP_CONCAT ( DISTINCT ?var4Label ; SEPARATOR = \" / \" ) AS ?var5 ) WHERE { BIND ( LANG ( ?var4Label ) AS ?var2 ). ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q41176> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . } GROUP BY ?var1 HAVING ( ( COUNT ( DISTINCT ?var2 ) > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_3712", "question": "What is the English label and description of the chapel with Welsh Chapels ID 9115?", "sparql": "SELECT ?chapel ?label ?description WHERE { ?chapel wdt:P4641 \"9115\" . ?chapel rdfs:label ?label . FILTER (LANG(?label) = \"en\") OPTIONAL { ?chapel schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Can you tell me the name and description in English of the chapel identified by the Welsh Chapels ID 9115?", "Show me the English name and description of the chapel that has the Welsh Chapels ID 9115."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4641> \"9115\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3713", "question": "What is the Wikimedia Commons category for the architectural element \"fa\u00e7ade\"?", "sparql": "SELECT DISTINCT ?category WHERE { wd:Q183061 wdt:P373 ?category .}", "paraphrases": ["Which Wikimedia Commons category contains files related to building fa\u00e7ades?", "Can you tell me the Commons category name for the fa\u00e7ade as an architectural feature?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { <http://www.wikidata.org/entity/Q183061> <http://www.wikidata.org/prop/P373> ?var1 . }"}}
{"id": "test_3714", "question": "What are some examples of architectural structures listed in Wikidata?", "sparql": "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?structure ?label WHERE {\n  ?structure wdt:P31 wd:Q811979 .\n  ?structure rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  .\n  FILTER NOT EXISTS {\n    ?structure rdf:type wikibase:Lexeme\n  }\n}\nORDER BY ?label\nLIMIT 100", "paraphrases": ["Can you list the names of buildings and other architectural structures in English from Wikidata?", "Which human-made structures like buildings and monuments are classified as architectural structures in Wikidata, and what are their English names?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q811979> . }"}}
{"id": "test_3715", "question": "What are the Italian labels and descriptions of properties related to country of origin in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?property ?label ?description WHERE {\n  wd:P495 wdt:P1659 ?property .\n  ?property rdfs:label ?label .\n  ?property schema:description ?description .\n  FILTER(LANG(?label) = \"it\")\n  FILTER(LANG(?description) = \"it\")\n}", "paraphrases": ["Which properties are considered related to \"country of origin\" and how are they described in Italian?", "Show me Italian-language labels and descriptions of Wikidata properties that are semantically linked to P495 (country of origin)."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P495> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"it\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"it\" ) ) ) . }"}}
{"id": "test_3716", "question": "Wikimedia portals with literature as main topic", "sparql": "SELECT ?portal ?portalLabel WHERE { ?portal p:P1204 ?statement . ?statement ps:P1204 wd:Q8242 . OPTIONAL { ?portal rdfs:label ?portalLabel . FILTER(LANG(?portalLabel) = \"en\") } }", "paraphrases": ["Which Wikimedia portal has literature as its main topic?", "Show me the English-labeled Wikimedia portal dedicated to literature."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P1204> <http://www.wikidata.org/entity/Q8242> . ?var1 <http://www.wikidata.org/prop/P1204> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_3717", "question": "List architectural styles of buildings in Wikidata with their labels.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ?style ?styleLabel WHERE {\n  ?building ps:P149 ?style .\n  ?style rdfs:label ?styleLabel .\n}\nLIMIT 100", "paraphrases": ["What are the architectural styles used for buildings in Wikidata, and what are their names in different languages?", "Show me the different architectural styles of structures in Wikidata along with their labels in various languages."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var2 <http://www.wikidata.org/prop/P149> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 100"}}
{"id": "test_3718", "question": "List towns and villages within 250 km of Paris with their coordinates.", "sparql": "PREFIX geof: <http://www.opengis.net/def/function/geosparql/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?coord ?itemLabel WHERE {\n  ?item wdt:P625 ?coord .\n  BIND( geof:latitude ( ?coord ) AS ?lat ) BIND( geof:longitude ( ?coord ) AS ?lon ) FILTER ( ?lat >= 46.6 && ?lat <= 51.1 && ?lon >= -1.05 && ?lon <= 5.75 ) OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER ( LANG( ?itemLabel ) = 'en' )\n  }\n}\nLIMIT 10", "paraphrases": ["What locations are located within a 250-kilometer radius of Paris, and what are their geographic coordinates?", "Show me places near Paris (within 250 km) along with their names and coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> \"string1\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"250\". } }"}}
{"id": "test_3719", "question": "What is the English label and description of the heritage site in New South Wales with ID 5045430?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P3449 \"5045430\" .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER ( LANG( ?itemLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["Can you find the name and description in English of the NSW heritage-listed site with ID 5045430?", "Tell me about the Commercial Banking Company of Sydney, Campbelltown Branch \u2014 what is its official name and description in English?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3449> \"5045430\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3720", "question": "What are the Wikipedia articles for subclasses of architectural structure like bridges, columns, and church buildings in different languages?", "sparql": "SELECT DISTINCT ?label ?lang ?wikipediaArticle ?articleName WHERE { VALUES ?subclass { wd:Q12280 wd:Q4817 wd:Q16970 } ?subclass rdfs:label ?label . BIND(LANG(?label) AS ?lang) . FILTER(?lang IN (\"en\", \"de\", \"fr\", \"es\", \"it\", \"pt\", \"ru\", \"ja\", \"zh\", \"nl\")) OPTIONAL { ?wikipediaArticle schema:about ?subclass ; schema:inLanguage ?lang ; schema:isPartOf ?wikiSite ; schema:name ?articleName . FILTER(CONTAINS(STR(?wikiSite), \"wikipedia.org\")) } } ORDER BY ?label LIMIT 50", "paraphrases": ["Which Wikipedia pages exist for common architectural structures such as bridges, columns, and churches, and in which languages are they available?", "Show me the labels and corresponding Wikipedia articles for bridge, column, and church building in major languages like English, German, and Chinese."], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { BIND ( LANG ( ?var1Label ) AS ?var2 ). ?var3 <http://www.wikidata.org/prop/direct/P279> + <http://www.wikidata.org/entity/Q811979> . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( REGEX ( STR ( ?var1Label ) , \"^[A-Z]\" ) ) ) . OPTIONAL { ?var4 <http://schema.org/about> ?var3 ; <http://schema.org/inLanguage> ?var2 ; ( <http://schema.org/isPartOf> / <http://wikiba.se/ontology#wikiGroup> ) \"wikipedia\"; <http://schema.org/name> ?var5 . } } LIMIT 5000"}}
{"id": "test_3721", "question": "List all Wikidata identifier properties and their normalized statement values.", "sparql": "SELECT ?property ?normalizedValue WHERE { ?property wdt:P31 wd:Q19847637 . BIND(CONCAT(\"psn:\", STRAFTER(STR(?property), \"http://www.wikidata.org/entity/\")) AS ?normalizedValue) } ORDER BY ?property LIMIT 100", "paraphrases": ["Which properties in Wikidata are used as identifiers, and what are their corresponding normalized statement value identifiers?", "Show me the list of identifier properties in Wikidata along with their psn: identifiers."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://wikiba.se/ontology#statementValueNormalized> ?var2 . } LIMIT 100"}}
{"id": "test_3722", "question": "Australian heritage sites in New South Wales with AHD ID over 105,000, designated as National or Commonwealth, and classified as Indigenous, Historical, or Natural.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?item ?itemLabel ?ahdId ?designationType ?heritageType WHERE {\n  ?item wdt:P3008 ?ahdId .\n  ?item wdt:P1435 ?designation .\n  ?item wdt:P31 ?heritageClass .\n  ?item wdt:P131 * wd:Q3224 .\n  BIND(IF(?designation = wd:Q20747146 , \"National\" , IF(?designation = wd:Q30108476 , \"Commonwealth\" , \"drop\")) AS ?designationType)\n  BIND(IF(?heritageClass = wd:Q38048771 , \"Indigenous\" , IF(?heritageClass = wd:Q38048707 , \"Historical\" , IF(?heritageClass = wd:Q38048753 , \"Natural\" , \"drop\"))) AS ?heritageType)\n  FILTER(?designationType != \"drop\")\n  FILTER(?heritageType != \"drop\")\n  FILTER(xsd:integer(?ahdId) > 105000)\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["Which heritage sites in New South Wales are listed on the Australian National or Commonwealth Heritage Lists and are classified as Indigenous, Historical, or Natural cultural sites with an AHD ID greater than 105,000?", "List the names, AHD IDs, heritage designations (National/Commonwealth), and heritage types (Indigenous/Historical/Natural) of heritage sites in New South Wales with an AHD ID above 105,000."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( IF ( ( ?var5 = <http://www.wikidata.org/entity/Q20747146> ), \"National\", IF ( ( ?var5 = <http://www.wikidata.org/entity/Q30108476> ), \"string1\", \"drop\" ) ) AS ?var3 ). BIND ( IF ( ( ?var6 = <http://www.wikidata.org/entity/Q38048771> ), \"Indigenous\", IF ( ( ?var6 = <http://www.wikidata.org/entity/Q38048707> ), \"Historical\", IF ( ( ?var6 = <http://www.wikidata.org/entity/Q38048753> ), \"Natural\", \"drop\" ) ) ) AS ?var4 ). ?var1 <http://www.wikidata.org/prop/direct/P3008> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P1435> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var6 . FILTER ( ( ( ?var3 != \"drop\" ) ) ) . FILTER ( ( ( ?var4 != \"drop\" ) ) ) . FILTER ( ( ( <http://www.w3.org/2001/XMLSchema#integer> ( ?var2 ) > \"105000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q3224> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3723", "question": "What are the names of cathedrals in Germany?", "sparql": "SELECT DISTINCT ?cathedralLabel ?country ?phoneticCode WHERE { ?cathedral wdt:P31 wd:Q2977 . ?cathedral ?country wd:Q183 . OPTIONAL { ?cathedral wdt:P3879 ?phoneticCode . } ?cathedral rdfs:label ?cathedralLabel . FILTER(LANG(?cathedralLabel) = \"en\") }", "paraphrases": ["Can you list the English names of all cathedrals located in Germany?", "Which cathedrals in Germany have a Cologne phonetic code assigned?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2977> . ?var4 ?var2 <http://www.wikidata.org/entity/Q183> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P3879> ?var3 . } }"}}
{"id": "test_3724", "question": "What are the heritage sites in Scotland and Northern Ireland with official identification numbers (HES or NIEA) that are not classified as listed buildings?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item WHERE {\n  {\n    ?item wdt:P709 ?hes_id .\n  } UNION {\n    ?item wdt:P1460 ?niea_id .\n  } MINUS {\n    ?item wdt:P31 wd:Q570600 .\n  }\n}", "paraphrases": ["Show me all buildings or structures in Scotland and Northern Ireland that have a Historic Environment Scotland ID or NIEA building ID, but are not officially designated as listed buildings.", "List all items in Wikidata that are identified by either a Historic Environment Scotland ID or a NIEA building ID, excluding those that are categorized as listed buildings."], "info": {"raw_sparql": "SELECT ?var1 WHERE { { { ?var1 <http://www.wikidata.org/prop/direct/P709> ?var2 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P1460> ?var3 . } } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13406463> . } SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> \"POINT(0 52)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"10\". } }"}}
{"id": "test_3725", "question": "What are the architectural styles of churches in Spain?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?style ?styleLabel ?church ?churchLabel WHERE {\n  ?church wdt:P31 wd:Q16970 .\n  ?church wdt:P17 wd:Q29 .\n  ?church wdt:P149 ?style .\n  ?style wdt:P31 wd:Q32880 .\n  ?style rdfs:label ?styleLabel .\n  ?church rdfs:label ?churchLabel .\n  FILTER ( LANG( ?styleLabel ) = \"en\" ) FILTER ( LANG( ?churchLabel ) = \"en\" )\n}\nLIMIT 200", "paraphrases": ["List churches in Spain along with their architectural styles, such as Gothic or Visigothic.", "Which architectural styles are used in Christian church buildings located in Spain, and what are the names of those churches?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16970> . ?var2 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q29> . ?var2 <http://www.wikidata.org/prop/direct/P149> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q32880> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } } LIMIT 200"}}
{"id": "test_3726", "question": "List heritage sites in England with their National Heritage List numbers.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?heritageSite ?heritageSiteLabel ?number WHERE {\n  ?heritageSite wdt:P1216 ?number .\n  ?heritageSite rdfs:label ?heritageSiteLabel .\n  FILTER(LANG(?heritageSiteLabel) = \"en\")\n}\nLIMIT 10", "paraphrases": ["What are the English heritage sites and their corresponding National Heritage List for England numbers?", "Show me the names and official listing numbers of all heritage sites in England."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q3886078> <http://www.wikidata.org/prop/direct/P1216> * ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1216> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3727", "question": "List heritage sites in the UK with their Historic Environment Scotland ID, Canmore ID, National Heritage List number, Cadw ID, NIEA ID, or Cadw monument ID, along with coordinates, images, and Commons categories.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?heritage_item ?heritage_itemLabel ?coordinate ?image ?commons_category ?hesc_id ?canmore_id ?nhle_number ?cadw_id ?niea_id ?cadw_monument_id WHERE {\n  VALUES ?heritage_property {\n    wdt:P709 wdt:P718 wdt:P1216 wdt:P1459 wdt:P1460 wdt:P3007\n  }\n  ?heritage_item ?heritage_property ?value .\n  ?heritage_item rdfs:label ?heritage_itemLabel .\n  FILTER ( LANG( ?heritage_itemLabel ) = \"en\" ) OPTIONAL {\n    ?heritage_item wdt:P625 ?coordinate .\n  }\n  OPTIONAL {\n    ?heritage_item wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?heritage_item wdt:P373 ?commons_category .\n  }\n  OPTIONAL {\n    ?heritage_item wdt:P709 ?hesc_id .\n  }\n  OPTIONAL {\n    ?heritage_item wdt:P718 ?canmore_id .\n  }\n  OPTIONAL {\n    ?heritage_item wdt:P1216 ?nhle_number .\n  }\n  OPTIONAL {\n    ?heritage_item wdt:P1459 ?cadw_id .\n  }\n  OPTIONAL {\n    ?heritage_item wdt:P1460 ?niea_id .\n  }\n  OPTIONAL {\n    ?heritage_item wdt:P3007 ?cadw_monument_id .\n  }\n  ?heritage_item wdt:P17 wd:Q145 .\n}\nLIMIT 500", "paraphrases": ["What are the UK heritage-listed buildings and monuments that have identifiers from Historic Environment Scotland, Canmore, English Heritage, Cadw, or NIEA, and what are their locations, images, and associated Wikimedia Commons categories?", "Please provide a list of heritage sites in the United Kingdom that are listed in any of the UK heritage registers (England, Scotland, Wales, Northern Ireland), including their names, geographic coordinates, images, Commons categories, and official heritage identifiers."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5Label ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 WHERE { VALUES ( ?var12 ) { ( <http://www.wikidata.org/prop/direct/P709> ) ( <http://www.wikidata.org/prop/direct/P718> ) ( <http://www.wikidata.org/prop/direct/P1216> ) ( <http://www.wikidata.org/prop/direct/P1459> ) ( <http://www.wikidata.org/prop/direct/P1460> ) ( <http://www.wikidata.org/prop/direct/P3007> ) } ?var1 ?var12 [] . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1435> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P709> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P718> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1216> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1459> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1460> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3007> ?var11 . } SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var13 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(-2 51)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(-2 51)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 500"}}
{"id": "test_3728", "question": "What are the historic buildings in Rennes, and what are their locations, images, architects, architectural styles, and types?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?building ?buildingLabel ?coordinates ?image ?architecturalStyle ?architecturalStyleLabel ?architect ?architectLabel ?type ?typeLabel WHERE {\n  ?building wdt:P131 * wd:Q647 .\n  ?building wdt:P625 ?coordinates .\n  OPTIONAL {\n    ?building wdt:P18 ?image\n  }\n  .\n  OPTIONAL {\n    ?building wdt:P149 ?architecturalStyle .\n    ?architecturalStyle rdfs:label ?architecturalStyleLabel .\n    FILTER(LANG(?architecturalStyleLabel) = \"en\")\n  }\n  .\n  OPTIONAL {\n    ?building wdt:P84 ?architect .\n    ?architect rdfs:label ?architectLabel .\n    FILTER(LANG(?architectLabel) = \"en\")\n  }\n  .\n  ?building wdt:P31 ?type .\n  ?type rdfs:label ?typeLabel .\n  FILTER(LANG(?typeLabel) = \"en\")\n  .\n  ?building rdfs:label ?buildingLabel .\n  FILTER(LANG(?buildingLabel) = \"en\")\n}\nORDER BY ASC(?buildingLabel)", "paraphrases": ["Show me all buildings in Rennes with their coordinates, photos, designers, architectural styles, and classifications in English.", "List buildings in Rennes along with their details: where they are located, who designed them, what style they are in, and what kind of structures they are."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ( SAMPLE ( ?var2 ) AS ?var2 )( SAMPLE ( ?var2Label ) AS ?var2Label )( SAMPLE ( ?var3 ) AS ?var3 )( SAMPLE ( ?var4 ) AS ?var4 ) ?var5 ?var5Label ?var6 ?var6Label ?var7 ?var7Label WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var2 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q647> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . ?var1 <http://www.wikidata.org/prop/P1435> ?var8 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . } ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q879050> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( LANG ( ?var2Label ) IN ( \"en\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P149> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P84> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr\". } } GROUP BY ?var1 ?var1Label ?var5 ?var5Label ?var6 ?var6Label ?var7 ?var7Label ORDER BY ASC( ?var1Label )"}}
{"id": "test_3729", "question": "Apostolic nunciatures and their operators", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?nunciature ?nunciatureLabel ?operator ?operatorLabel WHERE {\n  ?nunciature wdt:P31 wd:Q620045 .\n  ?nunciature wdt:P137 ?operator .\n  OPTIONAL {\n    ?nunciature rdfs:label ?nunciatureLabel .\n    FILTER ( LANG( ?nunciatureLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?operator rdfs:label ?operatorLabel .\n    FILTER ( LANG( ?operatorLabel ) = \"en\" )\n  }\n}", "paraphrases": ["Which entities operate the Apostolic Nunciatures, and what are their names?", "List all Apostolic Nunciatures along with the Holy See or Vatican City that operates them, including their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q620045> . ?var1 <http://www.wikidata.org/prop/direct/P137> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3730", "question": "List landmarks in Grenoble with their coordinates, images, and online documents.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?itemLabel ?coordinates ?image ?url WHERE {\n  ?item wdt:P131 wd:Q1289 .\n  ?item wdt:P625 ?coordinates .\n  ?item wdt:P18 ?image .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n  OPTIONAL {\n    ?item wdt:P953 ?url\n  }\n}\nLIMIT 100", "paraphrases": ["What are the names, locations, images, and online resources of places located in Grenoble?", "Show me the English-labeled places in Grenoble, along with their geographic coordinates, Wikimedia Commons images, and any available full-text URLs."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var1 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q1289> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P953> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,fr\". } } LIMIT 100"}}
{"id": "test_3731", "question": "Countries and their administrative subdivisions with locator maps and capitals.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?country ?countryLabel ?countryLocatorMap ?subdivision ?subdivisionLabel ?subdivisionLocatorMap ?countryCapital ?countryCapitalLabel WHERE {\n  ?country wdt:P31 wd:Q6256 .\n  ?country wdt:P150 ?subdivision .\n  OPTIONAL {\n    ?country wdt:P242 ?countryLocatorMap .\n  }\n  OPTIONAL {\n    ?subdivision wdt:P242 ?subdivisionLocatorMap .\n  }\n  OPTIONAL {\n    ?country wdt:P36 ?countryCapital .\n  }\n  OPTIONAL {\n    ?country rdfs:label ?countryLabel .\n    FILTER ( LANG( ?countryLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?subdivision rdfs:label ?subdivisionLabel .\n    FILTER ( LANG( ?subdivisionLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?countryCapital rdfs:label ?countryCapitalLabel .\n    FILTER ( LANG( ?countryCapitalLabel ) = \"en\" )\n  }\n}\nORDER BY ASC ( ?countryLabel ) ASC ( ?subdivisionLabel )", "paraphrases": ["What are the administrative subdivisions of each country, along with the country\u2019s locator map, the subdivision\u2019s locator map, and the country\u2019s capital?", "Show me a list of countries, their subdivisions, the maps showing where they are located, and the capital cities of those countries."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 ?var5 ?var5Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var1 <http://www.wikidata.org/prop/direct/P150> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P242> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P41> ?var6 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P242> ?var4 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P36> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label )ASC( ?var3Label )"}}
{"id": "test_3732", "question": "What cultural heritage sites in southern France have been listed in Wiki Loves Monuments or have a heritage designation?", "sparql": "SELECT ?item ?itemLabel ?admin ?adminLabel ?image ?coord WHERE {\n  ?item wdt:P625 ?coord .\n  # Extract latitude and longitude from WKT POINT\n  BIND(xsd:double(REPLACE(STR(?coord), \"POINT\\\\(([-+]?[0-9]*\\\\.?[0-9]+) ([-+]?[0-9]*\\\\.?[0-9]+)\\\\)\", \"$2\")) AS ?lat)\n  BIND(xsd:double(REPLACE(STR(?coord), \"POINT\\\\(([-+]?[0-9]*\\\\.?[0-9]+) ([-+]?[0-9]*\\\\.?[0-9]+)\\\\)\", \"$1\")) AS ?lon)\n  FILTER(?lat >= 44.0 && ?lat <= 46.0 && ?lon >= 0.0 && ?lon <= 2.0)\n  \n  # Heritage designation or WLM ID\n  { ?item wdt:P1435 ?heritage } UNION { ?item wdt:P2186 ?wlmId }\n  \n  OPTIONAL { ?item wdt:P131 ?admin . }\n  OPTIONAL { ?item wdt:P18 ?image . }\n  \n  # Labels in English\n  OPTIONAL { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }\n  OPTIONAL { ?admin rdfs:label ?adminLabel . FILTER(LANG(?adminLabel) = \"en\") }\n} LIMIT 20", "paraphrases": ["Show me images and locations of monuments between longitude 0\u00b0 and 2\u00b0E and latitude 44\u00b0 and 46\u00b0N that are protected as heritage sites.", "List the names, images, and coordinates of heritage sites in the region around Cahors, France, that are part of Wiki Loves Monuments or have official heritage status."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var5 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerWest> \"POINT(0 45)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerEast> \"POINT(1 45)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } { ?var1 <http://www.wikidata.org/prop/P1435> ?var6 . } UNION { ?var1 <http://www.wikidata.org/prop/P2186> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3733", "question": "Paris coordinates and ID 18078", "sparql": "SELECT DISTINCT ?item ?constant ?coordinate (STR(?label) AS ?labelString) WHERE { ?item rdfs:label \"Paris\"@en . ?item wdt:P625 ?coordinate . BIND(\"18078\" AS ?constant) }", "paraphrases": ["What are the coordinates of Paris, and what is its associated ID 18078?", "Give me the geographic coordinates of Paris along with the identifier 18078."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ( \"18078\" AS ?var2 ) ?var3 ( STR ( ?var4Label ) AS ?var5 ) WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"string1\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"string2\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( STR ( ?var4Label ) = \"string3\" ) ) ) . }"}}
{"id": "test_3734", "question": "Church buildings in Morocco and Tunisia with their coordinates and images.", "sparql": "SELECT ?church ?location ?image WHERE { ?church (wdt:P31/wdt:P279*) wd:Q16970 . VALUES ?country { wd:Q1028 wd:Q948 } . ?church wdt:P17 ?country . ?church wdt:P625 ?location . ?church wdt:P18 ?image . }", "paraphrases": ["What are the church buildings in Morocco and Tunisia, and where are they located with their associated images?", "Please list all church buildings (including chapels and cathedrals) in Morocco and Tunisia, along with their geographic coordinates and Wikimedia Commons image links."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q16970> . { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q1028> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q948> . } ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . }"}}
{"id": "test_3735", "question": "What are the administrative locations of the Church of Saint John of Nepomuk in Czechia?", "sparql": "SELECT DISTINCT ?location ?locationLabel WHERE { { wd:Q36860198 wdt:P17 ?location . } UNION { wd:Q36860198 wdt:P131 ?location . } UNION { wd:Q36860198 wdt:P131 ?city . ?city wdt:P131 ?location . } UNION { wd:Q36860198 wdt:P131 ?city . ?city wdt:P131 ?district . ?district wdt:P131 ?location . } . ?location rdfs:label ?locationLabel . FILTER(LANG(?locationLabel) = \"en\") } ORDER BY ?location", "paraphrases": ["Show the geographic hierarchy (city, district, country) of the Church of Saint John of Nepomuk.", "Where is the Church of Saint John of Nepomuk located, from local to national level?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q36860198> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_3736", "question": "Czech-labeled and described items that are parts of something", "sparql": "SELECT ?part ?label ?description WHERE { ?part rdfs:label ?label . ?part schema:description ?description . FILTER(LANG(?label) = \"cs\") . FILTER(LANG(?description) = \"cs\") . ?x wdt:P361 ?part . } LIMIT 100", "paraphrases": ["What items in Wikidata have Czech labels and descriptions and are parts of other entities?", "Show me items that are components of other things and have Czech-language labels and descriptions."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P361> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"cs\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"cs\" ) ) ) . } LIMIT 100"}}
{"id": "test_3737", "question": "English name of Cologne Cathedral", "sparql": "SELECT DISTINCT ?label WHERE { wd:Q4176 rdfs:label ?label . FILTER (LANG(?label) = \"en\") }", "paraphrases": ["What is the English name of the Cologne Cathedral?", "Tell me the English label for Cologne Cathedral."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label WHERE { <http://www.wikidata.org/entity/Q4176> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . }"}}
{"id": "test_3738", "question": "What were the dissolution dates and types of British colonial administrative units like the British Raj, Bengal Presidency, and East Pakistan?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?entity ?entityLabel ?instanceType ?instanceTypeLabel ?dissolutionDate WHERE {\n  VALUES ?entity {\n    wd:Q129286 wd:Q2006542 wd:Q842931 wd:Q817165 wd:Q4126447\n  }\n  ?entity wdt:P31 ?instanceType .\n  OPTIONAL {\n    ?entity wdt:P576 ?dissolutionDate .\n  }\n  ?entity rdfs:label ?entityLabel .\n  ?instanceType rdfs:label ?instanceTypeLabel .\n  FILTER(LANG(?entityLabel) = \"en\")\n  FILTER(LANG(?instanceTypeLabel) = \"en\")\n}", "paraphrases": ["When did the British Raj, Dominion of Pakistan, and other former British Indian territories dissolve, and what type of administrative entities were they?", "List the former British Indian territories including the British Raj, Bengal Presidency, and East Pakistan, along with their types (e.g., colony, province) and when they were dissolved."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q129286> ) ( <http://www.wikidata.org/entity/Q2006542> ) ( <http://www.wikidata.org/entity/Q842931> ) ( <http://www.wikidata.org/entity/Q817165> ) ( <http://www.wikidata.org/entity/Q4126447> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P576> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3739", "question": "How many places of worship in Wikidata have geographic coordinates?", "sparql": "SELECT (COUNT(DISTINCT ?placeOfWorship) AS ?count) WHERE { ?placeOfWorship (wdt:P31/wdt:P279*) wd:Q1370598 . ?placeOfWorship wdt:P625 ?coordinates .}", "paraphrases": ["What is the total number of religious sites, including churches, mosques, and temples, that are mapped with latitude and longitude?", "Can you tell me how many worship locations are geolocated in Wikidata, accounting for all types from temples to cathedrals?"], "info": {"raw_sparql": "SELECT( COUNT ( DISTINCT ?var1 ) AS ?var2 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1370598> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . }"}}
{"id": "test_3740", "question": "What are the names of all monasteries in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?monastery ?label WHERE {\n  ?monastery wdt:P31 wd:Q44613 .\n  ?monastery rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}", "paraphrases": ["Can you list the English-labeled monasteries from Wikidata?", "Show me the entities that are instances of a monastery."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q44613> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } }"}}
{"id": "test_3741", "question": "Subclasses of landmass with their images", "sparql": "SELECT ?subclass ?subclassLabel ?image WHERE { ?subclass wdt:P279 wd:Q205895 . OPTIONAL { ?subclass wdt:P18 ?image . } ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") } LIMIT 100", "paraphrases": ["What are the subclasses of landmass, and which ones have images on Wikimedia Commons?", "List all English-labeled subclasses of landmass along with their associated images, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q205895> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_3742", "question": "Italian name of Santa Lucia alle Botteghe Oscure", "sparql": "SELECT ?label WHERE { wd:Q3673136 rdfs:label ?label . FILTER (LANGMATCHES(LANG(?label), \"it\")) } LIMIT 9", "paraphrases": ["What is the Italian label for the church Santa Lucia alle Botteghe Oscure?", "Show me the Italian name of the church Santa Lucia alle Botteghe Oscure in Rome."], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q3673136> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( LANGMATCHES ( LANG ( ?var1Label ) , \"IT\" ) ) ) . } LIMIT 9"}}
{"id": "test_3743", "question": "Monasteries in Germany with coordinates and Klosterdatenbank IDs", "sparql": "SELECT ?monastery ?monasteryLabel ?coordinates ?officialName ?klosterdatenbankId WHERE { ?monastery wdt:P31 wd:Q44613 . ?monastery rdfs:label ?monasteryLabel . OPTIONAL { ?monastery wdt:P625 ?coordinates . } OPTIONAL { ?monastery wdt:P1448 ?officialName . } OPTIONAL { ?monastery wdt:P3407 ?klosterdatenbankId . } ?monastery wdt:P17 wd:Q183 . FILTER(LANG(?monasteryLabel) = \"en\") } LIMIT 1000", "paraphrases": ["What are the monasteries in Germany, their locations, and their entries in the Germania Sacra Klosterdatenbank?", "List all monasteries located in Germany, including their English names, geographic coordinates, and Klosterdatenbank IDs if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var3Label ?var4 ?var5 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q44613> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1448> ?var4 . } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3407> ?var5 . } } LIMIT 1000"}}
{"id": "test_3744", "question": "Churches in Rome with their coordinates, construction dates, and names.", "sparql": "SELECT ?coordinates ?inception ?name WHERE { ?church (wdt:P31/wdt:P279*) wd:Q16970 . ?church wdt:P131 wd:Q220 . ?church wdt:P625 ?coordinates . OPTIONAL { ?church wdt:P571 ?inception . } OPTIONAL { ?church wdt:P2561 ?name . } }", "paraphrases": ["What are the geographic locations, founding dates, and names of all church buildings in Rome?", "List all church buildings in Rome along with their coordinates, and if available, their founding year and local name."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var4 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q16970> . ?var4 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q220> . ?var4 <http://www.wikidata.org/prop/direct/P625> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,de,it\". } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P571> ?var2 . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P2561> ?var3 . } }"}}
{"id": "test_3745", "question": "Monasteries in Germany with coordinates, Klosterdatenbank IDs, and native names.", "sparql": "SELECT ?monastery ?monasteryLabel ?coordinates ?klosterdatenbank_id ?native_label WHERE { ?monastery wdt:P31 wd:Q44613 . ?monastery wdt:P17 wd:Q183 . OPTIONAL { ?monastery wdt:P625 ?coordinates . } OPTIONAL { ?monastery wdt:P3407 ?klosterdatenbank_id . } OPTIONAL { ?monastery wdt:P1705 ?native_label . } OPTIONAL { ?monastery rdfs:label ?monasteryLabel . FILTER(LANG(?monasteryLabel) = \"en\") } } LIMIT 1000", "paraphrases": ["What are the monasteries in Germany, and what are their English names, geographic coordinates, Klosterdatenbank IDs, and native language labels?", "List all monasteries located in Germany, including their English names, coordinates, Klosterdatenbank IDs, and names in their original language."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var4Label ?var5 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q44613> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3407> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1705> ?var5 . } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . } LIMIT 1000"}}
{"id": "test_3746", "question": "What properties are most commonly used to link items to Rudyard Kipling in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(COUNT(?item) AS ?count) WHERE {\n  ?item ?property wd:Q34743 .\n}\nGROUP BY ?property\nHAVING(?count > 1)\nORDER BY DESC(?count)", "paraphrases": ["How many times is Rudyard Kipling referenced by other items in Wikidata, grouped by the property used?", "Show me the properties that connect other entities to Rudyard Kipling, sorted by how often they\u2019re used, excluding properties used only once."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q34743> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_3747", "question": "What properties are used to describe entities located in Eastern Europe?", "sparql": "SELECT DISTINCT ?prop WHERE { ?item wdt:P361 wd:Q27468 . ?item ?prop ?value . }", "paraphrases": ["Can you list all the properties associated with countries and regions that are part of Eastern Europe?", "Which attributes are commonly used for items that belong to Eastern Europe?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 <http://www.wikidata.org/entity/Q6422240> ? <http://www.wikidata.org/entity/Q27468> . ?var2 ?var1 ?var3 . <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var4 <http://wikiba.se/ontology#directClaim> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3748", "question": "What continents are associated with Aruba through its administrative or regional affiliations?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?var1 WHERE {\n  VALUES ?start {\n    wd:Q21203\n  }\n  ?start wdt:P131 | wdt:P361 ?mid .\n  ?mid wdt:P30 ?var1 .\n}", "paraphrases": ["Which countries or regions is Aruba connected to, and what continents are those connected to?", "What are the geographic regions and their continents linked to Aruba?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q21203> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_3749", "question": "Who is Douglas Adams married to?", "sparql": "SELECT ?spouse WHERE { wd:Q42 p:P26 ?statement . ?statement ps:P26 ?spouse . }", "paraphrases": ["What is the spouse of the English writer Douglas Adams?", "Can you tell me the name of Douglas Adams' spouse from Wikidata?"], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q42> <http://www.wikidata.org/prop/P26s> ?var1 . } LIMIT 100"}}
{"id": "test_3750", "question": "Churches in Rome with their coordinates, founding dates, and names.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?coordinates ?inception ?name WHERE {\n  ?church ( wdt:P31 / wdt:P279 * ) wd:Q16970 .\n  ?church wdt:P131 wd:Q220 .\n  ?church wdt:P625 ?coordinates .\n  OPTIONAL {\n    ?church wdt:P571 ?inception .\n  }\n  OPTIONAL {\n    ?church wdt:P2561 ?name .\n  }\n}", "paraphrases": ["What are the geographic coordinates, founding dates, and names of all church buildings in Rome?", "Show me the location (coordinates), when they were built, and what they are called for every church building \u2014 including subtypes \u2014 located in Rome."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var5 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q16970> . ?var5 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q220> . ?var5 <http://www.wikidata.org/prop/direct/P625> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,de,it\". } OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P571> ?var3 . } OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P2561> ?var4 . } }"}}
{"id": "test_3751", "question": "What are the names of church buildings in Rome?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?church ?churchLabel WHERE {\n  ?church wdt:P31 / wdt:P279 * wd:Q16970 .\n  ?church wdt:P131 wd:Q220 .\n  OPTIONAL {\n    ?church rdfs:label ?churchLabel .\n    FILTER(LANG(?churchLabel) = \"en\")\n  }\n}", "paraphrases": ["Can you list the English names of all churches located in Rome?", "Show me the English labels of religious buildings in Rome that are classified as churches."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { ?var3 ( <http://www.wikidata.org/prop/direct/P131> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q16970> . ?var3 <http://www.wikidata.org/prop/direct/P706> <http://www.wikidata.org/entity/Q220> . ?var3 <http://www.wikidata.org/prop/direct/P1448> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,it\". } OPTIONAL { } }"}}
{"id": "test_3752", "question": "Cathedral buildings in France", "sparql": "SELECT DISTINCT ?cathedral ?cathedralLabel ?countryLabel WHERE { ?cathedral (wdt:P31/wdt:P279*) wd:Q2977 . ?cathedral wdt:P17 wd:Q142 . ?cathedral rdfs:label ?cathedralLabel . wd:Q142 rdfs:label ?countryLabel . FILTER(LANG(?cathedralLabel) = \"en\") FILTER(LANG(?countryLabel) = \"en\") }", "paraphrases": ["What are the names of cathedrals located in France?", "List all cathedral buildings in France, including their English labels and confirming they are in France."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3 ?var4 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q2977> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2977> . } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q142> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_3753", "question": "Countries that share a border with Azerbaijan.", "sparql": "SELECT ?borderingCountry ?borderingCountryLabel WHERE { wd:Q227 wdt:P47 ?borderingCountry . ?borderingCountry rdfs:label ?borderingCountryLabel . FILTER(LANG(?borderingCountryLabel) = \"en\") } ORDER BY ?borderingCountryLabel", "paraphrases": ["Which countries border Azerbaijan?", "List the English names of all countries that share a land or water border with Azerbaijan, sorted alphabetically."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3624078> . FILTER ( ( ( ?var2 = <http://www.wikidata.org/entity/Q227> ) ) ) . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P47> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru\". } } ORDER BY ASC( ?var2Label )"}}
{"id": "test_3754", "question": "French actor named Andr\u00e9 Bertic", "sparql": "SELECT DISTINCT ?person WHERE { ?person rdfs:label \"Andr\u00e9 Bertic\" @fr . ?person wdt:P31 wd:Q5 .}", "paraphrases": ["Who is the French person named Andr\u00e9 Bertic who is a human?", "Find the Wikidata item for the French actor Andr\u00e9 Bertic, confirming he is a human."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"bertic\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3755", "question": "What are the English names and geographic coordinates of all abbeys and their subclasses in Wikidata?", "sparql": "SELECT DISTINCT ?label ?coordinates ?abbey WHERE { ?abbey wdt:P31/wdt:P279* wd:Q160742 . ?abbey wdt:P625 ?coordinates . ?abbey rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["Can you list the abbeys with their locations, using only English labels?", "Show me all monastic communities classified as abbeys (including subtypes) along with their latitude and longitude in English."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q160742> . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var2 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . }"}}
{"id": "test_3756", "question": "What properties describe All Saints Church, Billesley, and what are their values?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?propertyLabel ?value ?valueLabel WHERE {\n  wd:Q4729447 ?property ?value .\n  BIND( IRI( REPLACE( STR( ?property ) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\" ) ) AS ?propertyItem ) .\n  ?propertyItem rdfs:label ?propertyLabel .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" ) OPTIONAL {\n    ?value rdfs:label ?valueLabel .\n    FILTER ( LANG( ?valueLabel ) = \"en\" )\n  }\n}\nLIMIT 100", "paraphrases": ["Can you list the English labels of properties and their corresponding values for All Saints Church, Billesley?", "Show me the direct attributes of All Saints Church, Billesley in English, including labels for both the property and its value where available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ?var3 <http://www.wikidata.org/entity/Q4729447> . ?var2 <http://wikiba.se/ontology#directClaim> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_3757", "question": "What properties and values describe the First Baptist Church in Montgomery, Alabama?", "sparql": "SELECT ?propItem ?propItemLabel ?value ?valueLabel WHERE { wd:Q379451 ?prop ?value . ?propItem wikibase:directClaim ?prop . OPTIONAL { ?propItem rdfs:label ?propItemLabel . FILTER(LANG(?propItemLabel) = \"en\") } OPTIONAL { ?value rdfs:label ?valueLabel . FILTER(LANG(?valueLabel) = \"en\") } } LIMIT 100", "paraphrases": ["Can you list the direct attributes of the First Baptist Church, including their labels and the labels of their values?", "Show me the claims made about the First Baptist Church, such as its country, architectural style, and inception date, with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ?var3 <http://www.wikidata.org/entity/Q379451> . ?var2 <http://wikiba.se/ontology#directClaim> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_3758", "question": "Is the Johannes-Nepomuk-Kapelle in Birgitz classified as a building?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  wd:Q38114108 wdt:P31 / wdt:P279 * wd:Q41176 .\n}", "paraphrases": ["Does the chapel Johannes-Nepomuk-Kapelle belong to the category of buildings?", "Confirm whether the Johannes-Nepomuk-Kapelle is a type of building."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q38114108> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1356230> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_3759", "question": "What types of buildings does Cologne Cathedral belong to, if they are related to church buildings?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?class WHERE {\n  wd:Q4176 wdt:P31 ?class .\n  ?class wdt:P279 * wd:Q16970 .\n}", "paraphrases": ["Is Cologne Cathedral a church building or a subtype of one?", "List all classes that Cologne Cathedral is an instance of, including any subclasses of church building."], "info": {"raw_sparql": "SELECT * WHERE { BIND ( <http://www.wikidata.org/entity/Q4176> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q16970> . }"}}
{"id": "test_3760", "question": "What countries share a border with other countries, and what are their names?", "sparql": "SELECT ?country ?countryLabel ?borderingCountry ?borderingCountryLabel WHERE { ?country wdt:P31 wd:Q6256 . ?country rdfs:label ?countryLabel . { SELECT ?country ?borderingCountry WHERE { ?country wdt:P31 wd:Q6256 . ?country wdt:P47 ?borderingCountry . ?borderingCountry wdt:P31 wd:Q6256 . } } ?borderingCountry rdfs:label ?borderingCountryLabel . } LIMIT 100", "paraphrases": ["List all pairs of countries that share a land or water border, including their names.", "Which countries have neighbors, and who are those neighboring countries?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P47> ?var2 . } } LIMIT 100"}}
{"id": "test_3761", "question": "French-labeled humans with surname Blanchet", "sparql": "SELECT DISTINCT ?person WHERE { ?person rdfs:label ?label . FILTER(LANG(?label) = 'fr') FILTER(CONTAINS(LCASE(?label), \"blanchet\")) ?person wdt:P31 wd:Q5 . }", "paraphrases": ["Who are the people named Blanchet or Blanchette in French-language labels on Wikidata?", "List all humans whose French label contains the surname Blanchet."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"blanchet\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3762", "question": "List all places of worship and their subtypes in English.", "sparql": "SELECT ?placeOfWorship ?placeOfWorshipLabel WHERE { ?placeOfWorship wdt:P31/wdt:P279* wd:Q1370598 . ?placeOfWorship rdfs:label ?placeOfWorshipLabel . FILTER(LANG(?placeOfWorshipLabel) = \"en\") } LIMIT 100", "paraphrases": ["What are the names of all places of worship and their subclasses in English?", "Show me all English-labeled religious sites, including churches, temples, mosques, and synagogues."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1370598> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100000"}}
{"id": "test_3763", "question": "Which church buildings are located within U.S. national parks?", "sparql": "SELECT DISTINCT ?churchBuilding WHERE { ?churchBuilding wdt:P31 wd:Q16970 . ?churchBuilding wdt:P3018 ?nationalPark . ?nationalPark wdt:P31 wd:Q34918903 . }", "paraphrases": ["Churches in U.S. national parks", "Show me buildings used as churches that are situated inside a United States national park."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16970> . ?var1 <http://www.wikidata.org/prop/direct/P3018> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q34918903> . }"}}
{"id": "test_3764", "question": "How many mosques are there in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ( COUNT( DISTINCT ?mosque ) AS ?count ) WHERE {\n  ?mosque wdt:P31 / wdt:P279 * wd:Q32815 .\n}", "paraphrases": ["What is the total number of entities classified as mosques or subclasses of mosques in Wikidata?", "Can you tell me how many mosque-related buildings are listed in Wikidata?"], "info": {"raw_sparql": "SELECT( COUNT ( DISTINCT ?var1 ) AS ?var2 ) WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q32815> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q32815> . VALUES ( ?var4 ) { ( \"ar\" ) ( \"en\" ) ( \"ms\" ) ( \"fa\" ) } BIND ( LANG ( ?var5Label ) AS ?var6 ). ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( ?var7Label = ?var4 ) ) ) . } }"}}
{"id": "test_3765", "question": "Categories that include church buildings as a combined topic.", "sparql": "SELECT ?category WHERE { ?category p:P971 ?statement . ?statement ps:P971 wd:Q16970 . } LIMIT 101", "paraphrases": ["Which categories on Wikidata combine the topic of church buildings?", "List the entities that are categories intersecting with church buildings."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P971> <http://www.wikidata.org/entity/Q16970> . ?var1 <http://www.wikidata.org/prop/P971> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_3766", "question": "French-named EU member states, their populations, ISO codes, capitals, capital coordinates, and capital images.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?country ?capitalCoords ?countryLabel ?isoCode ?population ?capitalImage ?capital WHERE {\n  ?country wdt:P31 wd:Q6256 .\n  ?country wdt:P463 wd:Q458 .\n  ?country wdt:P1082 ?population .\n  ?country wdt:P297 ?isoCode .\n  ?country rdfs:label ?countryLabel .\n  FILTER(LANG(?countryLabel) = \"fr\")\n  .\n  ?country wdt:P36 ?capital .\n  ?capital wdt:P625 ?capitalCoords .\n  OPTIONAL {\n    ?capital wdt:P18 ?capitalImage .\n  }\n}\nLIMIT 100", "paraphrases": ["What are the French names, populations, ISO codes, capitals, capital coordinates, and images of European Union member states?", "List all European Union member states with their French labels, population, ISO 3166-1 codes, capitals, capital coordinates, and (if available) images of their capitals."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label ?var4 ?var5 ?var6 ?var7 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q185441> . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var5 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P36> ?var7 . ?var7 <http://www.wikidata.org/prop/direct/P18> ?var6 . } ?var7 <http://www.wikidata.org/prop/direct/P625> ?var2 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var1 <http://www.wikidata.org/prop/direct/P297> ?var4 . FILTER ( ( ( LANG ( ?var3Label ) = \"fr\" ) ) ) . } LIMIT 100"}}
{"id": "test_3767", "question": "Who has the given name Alice and family name Thourot?", "sparql": "SELECT ?person WHERE { ?familyName (wdt:P31/wdt:P279*) wd:Q101352 ; rdfs:label \"Thourot\"@fr . ?givenName (wdt:P31/wdt:P279*) wd:Q202444 ; rdfs:label \"Alice\"@fr . ?person wdt:P734 ?familyName ; wdt:P735 ?givenName . } LIMIT 2", "paraphrases": ["What person is named Alice Thourot, with \"Alice\" as their first name and \"Thourot\" as their last name?", "Find the person whose first name in French is \"Alice\" and last name in French is \"Thourot\"."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q101352> ; <http://www.w3.org/2000/01/rdf-schema#label> \"Thourot\"@fr . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q202444> ; <http://www.w3.org/2000/01/rdf-schema#label> \"Alice\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P734> ?var2 ; <http://www.wikidata.org/prop/direct/P735> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } LIMIT 2"}}
{"id": "test_3768", "question": "List current sovereign states with their capitals, population, Human Development Index, unemployment rate, and female population.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var5 ?var6 WHERE {\n  ?var1 wdt:P31 wd:Q3624078 .\n  FILTER ( NOT EXISTS {\n    ?var1 wdt:P31 wd:Q3024240\n  }\n  ) FILTER ( NOT EXISTS {\n    ?var1 wdt:P31 wd:Q28171280\n  }\n  ) ?var1 rdfs:label ?var1Label .\n  FILTER ( LANG( ?var1Label ) = \"en\" ) OPTIONAL {\n    ?var1 wdt:P36 ?var2 .\n    ?var2 rdfs:label ?var2Label .\n    FILTER ( LANG( ?var2Label ) = \"en\" )\n  }\n  OPTIONAL {\n    ?var1 wdt:P1082 ?var3 .\n  }\n  OPTIONAL {\n    ?var1 wdt:P1081 ?var4 .\n  }\n  OPTIONAL {\n    ?var1 wdt:P1198 ?var5 .\n  }\n  OPTIONAL {\n    ?var1 wdt:P1539 ?var6 .\n  }\n}\nORDER BY ASC ( ?var1Label )", "paraphrases": ["What are the current countries in the world, their capitals, and key demographic indicators like population, HDI, unemployment rate, and number of females?", "Please provide a list of all existing sovereign nations, including their capital cities, total population, Human Development Index, unemployment rate, and female population \u2014 excluding historical or ancient states."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3624078> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P36> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3024240> . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q28171280> . } ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1081> ?var4 . } OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1198> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1539> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1971> ?var7 . } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_3769", "question": "Subclasses of mosque and their direct parent subclasses in English", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?subclass ?parentSubclass ?label WHERE {\n  ?subclass wdt:P279 ?parentSubclass .\n  ?subclass wdt:P279 * wd:Q32815 .\n  ?parentSubclass wdt:P279 * wd:Q32815 .\n  ?subclass rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nLIMIT 20", "paraphrases": ["What are the direct subclass relationships among different types of mosques, and what are their English labels?", "Show me the hierarchy of mosque-related building types, showing which ones are direct subclasses of others, along with their English names."], "info": {"raw_sparql": "CONSTRUCT { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q32815> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var3 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q32815> . ?var3 <http://www.wikidata.org/prop/direct/P279> ?var1 } WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q32815> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var3 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q32815> . ?var3 <http://www.wikidata.org/prop/direct/P279> ?var1 . } LIMIT 20"}}
{"id": "test_3770", "question": "All properties and values for Douglas Adams with English labels.", "sparql": "SELECT ?entity ?property ?value ?propertyItem ?propertyLabel ?valueLabel ?valueLabelOrValue WHERE { VALUES ?entity { wd:Q42 } ?entity ?property ?value . ?propertyItem wikibase:directClaim ?property . ?propertyItem rdfs:label ?propertyLabel . OPTIONAL { ?value rdfs:label ?valueLabel . FILTER (LANG(?valueLabel) = \"en\") } BIND(COALESCE(?valueLabel, ?value) AS ?valueLabelOrValue) FILTER (LANG(?propertyLabel) = \"en\") }", "paraphrases": ["What are all the statements about Douglas Adams, including the English names of the properties and the labels of any entity values?", "Show me a complete list of all data about Douglas Adams, with property names in English and entity values translated to English where possible."], "info": {"raw_sparql": "SELECT * WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q42> ) } ?var1 ?var2 ?var3 . ?var4 <http://wikiba.se/ontology#directClaim> ?var2 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . OPTIONAL { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . } BIND ( COALESCE ( ?var3Label , ?var3 ) AS ?var5Label ). FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . }"}}
{"id": "test_3771", "question": "Properties used by Douglas Adams, their types, and the classes they belong to.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?property ?propertyLabel ?propertyType(GROUP_CONCAT(?classLabel ; SEPARATOR = \", \") AS ?classLabels) WHERE {\n  wd:Q42 ?propertyId [] .\n  ?property wikibase:directClaim ?propertyId .\n  ?property wikibase:propertyType ?propertyType .\n  ?property(wdt:P31 / wdt:P279 *) ?class .\n  ?property rdfs:label ?propertyLabel .\n  ?class rdfs:label ?classLabel .\n  FILTER(LANG(?propertyLabel) = \"en\")\n  FILTER(LANG(?classLabel) = \"en\")\n}\nGROUP BY ?property ?propertyLabel ?propertyType", "paraphrases": ["What properties are associated with Douglas Adams on Wikidata, what kind of properties are they (e.g., external ID, item), and what categories do those properties fall under?", "List all properties used in Douglas Adams\u2019s Wikidata entry, along with their types and the semantic classes they are part of, grouped by property."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ( GROUP_CONCAT ( ?var4Label ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q42> ?var2 ?var6 . ?var1 <http://wikiba.se/ontology#directClaim> ?var2 . ?var1 <http://wikiba.se/ontology#propertyType> ?var3 . ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } GROUP BY ?var1 ?var1Label ?var2 ?var3"}}
{"id": "test_3772", "question": "What is the first modern transcontinental country in alphabetical order?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?country ?label WHERE {\n  ?country wdt:P31 wd:Q1323642 .\n  ?country rdfs:label ?label .\n  FILTER(LANG(?label) = 'en')\n  .\n  OPTIONAL {\n    ?country wdt:P576 ?dissolved\n  }\n  .\n  FILTER(! BOUND(?dissolved))\n}\nORDER BY ASC(?label)\nLIMIT 1", "paraphrases": ["List the transcontinental countries and return the one that comes first alphabetically.", "Which country spans two continents and is still existing today, listed first when sorted alphabetically?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1294629> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q232> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_3773", "question": "List religious buildings and their countries in English.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?religiousBuilding ?religiousBuildingLabel ?country ?countryLabel WHERE {\n  ?religiousBuilding wdt:P31 / wdt:P279 * wd:Q24398318 .\n  ?religiousBuilding wdt:P17 ?country .\n  ?religiousBuilding rdfs:label ?religiousBuildingLabel .\n  ?country rdfs:label ?countryLabel .\n  FILTER(LANG(?religiousBuildingLabel) = 'en')\n  .\n  FILTER(LANG(?countryLabel) = 'en')\n}\nLIMIT 100", "paraphrases": ["What are some religious buildings around the world and which countries are they located in?", "Show me the names of religious buildings (like churches, mosques, synagogues) and the countries they are in, using English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q24398318> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . } LIMIT 110000"}}
{"id": "test_3774", "question": "What properties link Douglas Adams to other entities, and what are those entities?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?property ?propertyLabel ?relatedItem ?relatedItemLabel WHERE {\n  {\n    wd:Q42 ?prop ?relatedItem .\n  } UNION {\n    ?relatedItem ?prop wd:Q42 .\n  }\n  ?property wikibase:directClaim ?prop ; wikibase:propertyType wikibase:WikibaseItem .\n  ?property rdfs:label ?propertyLabel .\n  ?relatedItem rdfs:label ?relatedItemLabel .\n  FILTER(LANG(?propertyLabel) = \"en\")\n  FILTER(LANG(?relatedItemLabel) = \"en\")\n}\nORDER BY ?property", "paraphrases": ["Show me all the people, works, and concepts that Douglas Adams is directly connected to in Wikidata, along with the nature of those connections.", "Which direct relationships (like occupation or creator) does Douglas Adams have with other Wikidata items, and what are the labels of those items?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { { <http://www.wikidata.org/entity/Q42> ?var3 ?var2 . } UNION { ?var2 ?var3 <http://www.wikidata.org/entity/Q42> . } ?var1 <http://wikiba.se/ontology#directClaim> ?var3 ; <http://wikiba.se/ontology#propertyType> <http://wikiba.se/ontology#WikibaseItem> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 42"}}
{"id": "test_3775", "question": "List all continents in Wikidata.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?continent WHERE {\n  ?continent wdt:P31 wd:Q5107\n}\nLIMIT 20", "paraphrases": ["What are the continents recognized in Wikidata?", "Show me the list of continents from Wikidata."], "info": {"raw_sparql": "SELECT * WHERE { OPTIONAL { } OPTIONAL { } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5107> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1001> ?var2 . } } LIMIT 20"}}
{"id": "test_3776", "question": "Countries and their continents", "sparql": "SELECT ?country ?countryLabel ?continentLabel WHERE { ?country wdt:P31 wd:Q6256 . ?country wdt:P30 ?continent . ?continent wdt:P31 wd:Q5107 . OPTIONAL { ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") } OPTIONAL { ?continent rdfs:label ?continentLabel . FILTER(LANG(?continentLabel) = \"en\") } }", "paraphrases": ["Which countries are located in which continents?", "List all countries along with the continents they belong to, using English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { { SELECT * WHERE { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5107> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var1 <http://www.wikidata.org/prop/direct/P150> ?var5 . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_3777", "question": "Who is the French-labeled person named Karim Benzema in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?var1 WHERE {\n  ?var1 rdfs:label \"Karim Benzema\" @fr .\n  ?var1 wdt:P31 wd:Q5 .\n}", "paraphrases": ["What human entity has the French label \"Karim Benzema\"?", "Find the Wikidata item for the person named Karim Benzema in French."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Karim jema\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3778", "question": "French-labeled human named Anais Bounouar", "sparql": "SELECT DISTINCT ?person WHERE { ?person rdfs:label \"Anais Bounouar\"@fr . ?person wdt:P31 wd:Q5 . }", "paraphrases": ["Who is the French-labeled human named Anais Bounouar?", "List all humans with the French label \"Anais Bounouar\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"bounouar\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3779", "question": "What geographic regions is the lake Klares Fenn located in, directly or indirectly?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?location WHERE {\n  wd:Q1434461 ( wdt:P30 | wdt:P17 | wdt:P131 | wdt:P376 | wdt:P501 ) + ?location\n}", "paraphrases": ["Can you list all the countries, continents, and administrative areas that include Klares Fenn?", "Show me the hierarchy of places that Klares Fenn belongs to, from the local village up to the continent."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q1434461> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_3780", "question": "Furniture components without collection, inventory number, location, or geographic coordinates.", "sparql": "SELECT DISTINCT ?item ?itemLabel ?instanceType ?instanceTypeLabel WHERE { ?item wdt:P31 wd:Q28803767 . ?item rdfs:label ?itemLabel . wd:Q28803767 rdfs:label ?instanceTypeLabel . FILTER(LANG(?itemLabel) = \"en\") FILTER(LANG(?instanceTypeLabel) = \"en\") FILTER NOT EXISTS { ?item wdt:P195 [] } . FILTER NOT EXISTS { ?item wdt:P217 [] } . FILTER NOT EXISTS { ?item wdt:P276|wdt:P131|wdt:P17|wdt:P625 [] } . FILTER NOT EXISTS { ?item wdt:P361 ?part . ?part wdt:P276|wdt:P131|wdt:P17|wdt:P625 [] . } .}", "paraphrases": ["What are the furniture components that are not part of any collection, not assigned an inventory number, and have no location or coordinates associated with them?", "List all types of furniture components that are not cataloged, not located in any place, and not part of any location-aware entity."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q28803767> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P195> [] . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P217> [] . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P276> ?var3 . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var3 . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P625> [] . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P361> ?var4 . ?var4 ( <http://www.wikidata.org/prop/direct/P276> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P625> ) [] . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_3781", "question": "Top 10 U.S. cities by number of people born there in Wikidata.", "sparql": "SELECT ?city (COUNT(?city) AS ?birthCount) WHERE { ?city (wdt:P31/wdt:P279*) wd:Q515 . ?city wdt:P17 wd:Q30 . ?person wdt:P31 wd:Q5 . ?person wdt:P19 ?city . } GROUP BY ?city ORDER BY DESC(?birthCount) LIMIT 10", "paraphrases": ["Which U.S. cities have the most people born in them, according to Wikidata?", "Show me the 10 American cities with the highest count of humans recorded as being born there, sorted by popularity."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q30> . ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var3 <http://www.wikidata.org/prop/direct/P19> ?var1 . } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 10"}}
{"id": "test_3782", "question": "French-labeled human named Jean Aziz", "sparql": "SELECT DISTINCT ?item WHERE { ?item rdfs:label \"Jean Aziz\" @fr . ?item wdt:P31 wd:Q5 . }", "paraphrases": ["Who is the human named Jean Aziz in French?", "Find the Wikidata item for the French-labeled person Jean Aziz."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Jean Azzis\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3783", "question": "Top 100 cities by number of people born there", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?city ?cityLabel ?birthCount WHERE {\n  {\n    SELECT ?city(COUNT(?human) AS ?birthCount) WHERE {\n      ?human wdt:P31 wd:Q5 .\n      ?human wdt:P19 ?city .\n      ?city wdt:P31 / wdt:P279 * wd:Q515 .\n    }\n    GROUP BY ?city\n    ORDER BY DESC(?birthCount)\n    LIMIT 100\n  }\n  ?city rdfs:label ?cityLabel .\n  FILTER(LANG(?cityLabel) = \"en\")\n}\nORDER BY DESC(?birthCount)", "paraphrases": ["Which cities have the most humans born in them, and how many?", "Show me the 100 cities with the highest number of human births, along with the count, using English names."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 ( COUNT ( ?var1 ) AS ?var3 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . } GROUP BY ?var1 } ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var4 <http://www.wikidata.org/prop/direct/P19> ?var1 . } GROUP BY ?var1 ORDER BY DESC( ?var2 )"}}
{"id": "test_3784", "question": "What are the provinces of China?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?province ?provinceLabel WHERE {\n  ?province wdt:P31 wd:Q1615742 .\n  ?province rdfs:label ?provinceLabel .\n  FILTER(LANG(?provinceLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["List the Chinese provinces with their English names.", "Show me the names of all provinces in the People's Republic of China."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"zh\". } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q148> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q34876> . } LIMIT 100"}}
{"id": "test_3785", "question": "What are the countries in Europe, their capitals, populations, and official languages?", "sparql": "SELECT ?countryLabel ?capitalLabel ?continentLabel ?population ?languageLabel WHERE { ?country wdt:P31 wd:Q6256 . ?country wdt:P36 ?capital . ?capital wdt:P31 wd:Q5119 . ?country wdt:P30 ?continent . ?country wdt:P1082 ?population . ?country wdt:P37 ?language . ?country rdfs:label ?countryLabel . ?capital rdfs:label ?capitalLabel . ?continent rdfs:label ?continentLabel . ?language rdfs:label ?languageLabel . FILTER(LANG(?countryLabel) = \"en\") FILTER(LANG(?capitalLabel) = \"en\") FILTER(LANG(?continentLabel) = \"en\") FILTER(LANG(?languageLabel) = \"en\") } ORDER BY ASC(?countryLabel)", "paraphrases": ["Can you list European countries along with their capital cities, population figures, and official languages?", "Which countries have their capital as a city, are located in Europe, and what are their populations and official languages?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3Label ?var4 ?var5Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var1 <http://www.wikidata.org/prop/direct/P36> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5119> . ?var1 <http://www.wikidata.org/prop/direct/P30> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P37> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_3786", "question": "What are the national capitals in Europe, along with their populations, images, and English Wikipedia page titles?", "sparql": "SELECT DISTINCT ?capital ?capitalLabel ?population ?image ?wikipediaPageTitle WHERE { ?capital wdt:P31 wd:Q108178728 . ?capital wdt:P17 ?country . ?country wdt:P30 wd:Q46 . OPTIONAL { ?capital wdt:P1082 ?population . } OPTIONAL { ?capital wdt:P18 ?image . } OPTIONAL { ?wikipediaPage schema:about ?capital . ?wikipediaPage schema:isPartOf <https://en.wikipedia.org/> . ?wikipediaPage schema:name ?wikipediaPageTitle . } ?capital rdfs:label ?capitalLabel . FILTER(LANG(?capitalLabel) = \"en\") } LIMIT 50", "paraphrases": ["List European national capitals with their English labels, population figures, images from Wikimedia Commons, and corresponding Wikipedia page names.", "Show me the capital cities of European countries, including their population, a representative image, and the title of their English Wikipedia article."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var3 ) ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5119> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q46> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,fr,es,de,ru,it,nl,ja,zh,pl,cs\". } } GROUP BY ?var1 ?var1Label ?var2 ?var4 LIMIT 50"}}
{"id": "test_3787", "question": "Who is Marc V\u00e9ran in French, and is he a human?", "sparql": "SELECT DISTINCT ?person WHERE { ?person rdfs:label \"Marc V\u00e9ran\" @fr . ?person wdt:P31 wd:Q5 . }", "paraphrases": ["What is the Wikidata item for the person named Marc V\u00e9ran in French?", "Find the Wikidata entity for the French-labeled person \"Marc V\u00e9ran\" who is classified as a human."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Marc V\u00e9ran\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3788", "question": "What are the emergency phone numbers for countries, and what type of entity are they?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?country ?typeLabel ?numberLabel WHERE {\n  ?country wdt:P2852 ?numberEntity .\n  ?country wdt:P31 ?type .\n  ?type rdfs:label ?typeLabel .\n  ?numberEntity rdfs:label ?numberLabel .\n  FILTER ( LANG( ?typeLabel ) = \"en\" ) FILTER ( LANG( ?numberLabel ) = \"en\" )\n}", "paraphrases": ["For each country, what emergency phone numbers are listed, and is it classified as a country or sovereign state?", "Can you list the emergency contact numbers for countries along with their classification (e.g., country or sovereign state)?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2852> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv,en\". } }"}}
{"id": "test_3789", "question": "How many church buildings in France have a Clochers de France ID versus how many do not?", "sparql": "SELECT ?hasId WHERE { { SELECT ( \"Avec\" AS ?hasId ) ( COUNT( DISTINCT ?church ) AS ?count ) WHERE { ?church wdt:P131+ wd:Q142 . ?church (wdt:P31/wdt:P279*) wd:Q16970 . ?church wdt:P3963 ?id . } } UNION { SELECT ( \"Sans\" AS ?hasId ) ( COUNT( DISTINCT ?church ) AS ?count ) WHERE { ?church wdt:P131+ wd:Q142 . ?church (wdt:P31/wdt:P279*) wd:Q16970 . MINUS { ?church wdt:P3963 [] . } } } } ORDER BY ASC(?hasId)", "paraphrases": ["What is the count of church buildings in France that are listed on clochers.org compared to those that are not?", "Are there more church buildings in France with or without a Clochers de France identifier?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { { SELECT( \"Avec\" AS ?var1 )( COUNT ( DISTINCT ?var3 ) AS ?var2 ) WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var3 <http://www.wikidata.org/prop/direct/P131> + <http://www.wikidata.org/entity/Q142> . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q16970> . ?var3 <http://www.wikidata.org/prop/direct/P3963> ?var4 . } } UNION { SELECT( \"Sans\" AS ?var1 )( COUNT ( DISTINCT ?var3 ) AS ?var2 ) WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var3 <http://www.wikidata.org/prop/direct/P131> + <http://www.wikidata.org/entity/Q142> . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q16970> . MINUS { ?var3 <http://www.wikidata.org/prop/direct/P3963> [] . } } } } ORDER BY ASC( ?var1 )"}}
{"id": "test_3790", "question": "Italian labels and descriptions of entities with images on Wikimedia Commons.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?image ?itemLabel ?itemDescription WHERE {\n  ?item wdt:P18 ?image .\n  ?item rdfs:label ?itemLabel .\n  ?item schema:description ?itemDescription .\n  FILTER(LANG(?itemLabel) = \"it\")\n  FILTER(LANG(?itemDescription) = \"it\")\n}\nLIMIT 100", "paraphrases": ["Which entities have both an Italian label and an Italian description, and are associated with an image on Wikimedia Commons?", "Show me the image URLs, Italian names, and Italian descriptions of entities that have images and are described in Italian."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P18> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"it\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"it\" ) ) ) . } LIMIT 100"}}
{"id": "test_3791", "question": "Countries and their international calling codes", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?country ?countryLabel ?callingCode WHERE {\n  ?country wdt:P474 ?callingCode .\n  ?country rdfs:label ?countryLabel .\n  FILTER(LANG(?countryLabel) = \"en\")\n}\nLIMIT 1000", "paraphrases": ["What are the international dialing codes for countries?", "List the names of countries in English along with their phone calling codes."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P474> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 1000"}}
{"id": "test_3792", "question": "What are the mobile country codes for sovereign states?", "sparql": "SELECT ?country ?mcc WHERE { ?country wdt:P31 wd:Q3624078 . OPTIONAL { ?country wdt:P2258 ?mcc . } } LIMIT 100", "paraphrases": ["List countries and their mobile country codes (MCC) from Wikidata.", "Show me a list of countries along with their ITU mobile country codes."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,kik\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4875917> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2258> ?var2 . } } LIMIT 100"}}
{"id": "test_3793", "question": "Show the latitude, longitude, image, and name of all French Pays with coordinates and images.", "sparql": "SELECT ?lat ?lon ?placeLabel ?place ( CONCAT ( xsd:string( ?image ), \"?width=200\" ) AS ?imageURL ) WHERE { ?place (wdt:P31/wdt:P279*) wd:Q3184003 . ?place wdt:P18 ?image . ?place p:P625 ?statement . ?statement psv:P625 ?coordValue . ?coordValue rdf:type wikibase:GlobecoordinateValue ; wikibase:geoLatitude ?lat ; wikibase:geoLongitude ?lon . ?place rdfs:label ?placeLabel .}", "paraphrases": ["What are the geographic coordinates and images of the French administrative regions known as \"Pays\"?", "Provide the location and image URLs for all \"Pays\" in France that have both coordinates and images."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3Label ?var4 ?var3 ( CONCAT ( <http://www.w3.org/2001/XMLSchema#string> ( ?var5 ) , \"?width=200\" ) AS ?var6 ) WHERE { ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3184003> . ?var3 <http://www.wikidata.org/prop/direct/P18> ?var5 . ?var3 <http://www.wikidata.org/prop/P625> ?var7 . ?var7 <http://www.wikidata.org/prop/statement/value/P625> ?var8 . ?var8 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#GlobecoordinateValue> ; <http://wikiba.se/ontology#geoLatitude> ?var1 ; <http://wikiba.se/ontology#geoLongitude> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr\". } }"}}
{"id": "test_3794", "question": "List countries with their population and ISO 3166-1 alpha-2 codes.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?country ?population ?isoCode WHERE {\n  ?country wdt:P31 wd:Q6256 .\n  OPTIONAL {\n    ?country wdt:P1082 ?population .\n  }\n  OPTIONAL {\n    ?country wdt:P297 ?isoCode .\n  }\n}\nLIMIT 100", "paraphrases": ["What are the population and two-letter country codes for countries around the world?", "Can you show me a list of countries along with their population and ISO country codes?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P297> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P300> ?var4 . } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . } LIMIT 100"}}
{"id": "test_3795", "question": "What are the country calling codes in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item WHERE {\n  ?item wdt:P31 / wdt:P279 * wd:Q1588299 .\n}\nLIMIT 500", "paraphrases": ["Which entities are instances of a country calling code or its subclasses?", "List all items that represent country calling codes, including those that are subclasses of country calling code."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var2 ( <http://www.wikidata.org/prop/direct/P279> | <http://www.wikidata.org/prop/direct/P131> )* <http://www.wikidata.org/entity/Q1588299> . } LIMIT 500"}}
{"id": "test_3796", "question": "Items with population figures and the years they were recorded.", "sparql": "SELECT DISTINCT ?item ?population ?date WHERE { ?item p:P1082 ?statement . ?statement ps:P1082 ?population ; pq:P585 ?date . } LIMIT 100", "paraphrases": ["Which places have recorded population numbers and when were those populations measured?", "Show me up to 100 historical population statistics for locations, including the population count and the date it was recorded."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 <http://wikiba.se/ontology#directClaim> <http://www.wikidata.org/prop/direct/P1082> ; <http://www.wikidata.org/prop/direct/P585> [] . } LIMIT 100"}}
{"id": "test_3797", "question": "What are the historical population figures for Germany and the dates they were recorded?", "sparql": "SELECT ?population ?date WHERE { wd:Q183 p:P1082 ?statement . ?statement ps:P1082 ?population ; pq:P585 ?date .}", "paraphrases": ["Show me the population of Germany over time along with the year each figure was reported.", "For Germany, list all recorded population numbers and the corresponding reference dates."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q24725706-DF55C2CE-C20D-4599-BBD8-35FE4809456E> ?var1 ?var2 . }"}}
{"id": "test_3798", "question": "List of appliances with their English names.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?appliance ?applianceLabel WHERE {\n  ?appliance wdt:P31 wd:Q1183543 .\n  ?appliance rdfs:label ?applianceLabel .\n  FILTER(LANG(?applianceLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["What are some examples of appliances in Wikidata, along with their English labels?", "Show me 100 appliances and their English names from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1183543> . } LIMIT 100"}}
{"id": "test_3799", "question": "What is the German term for \"goods and services\"?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?label WHERE {\n  wd:Q2897903 rdfs:label ?label .\n  FILTER(LANG(?label) = \"de\")\n}", "paraphrases": ["Can you tell me the German label for the Wikidata item representing goods and services?", "How is \"goods and services\" expressed in German on Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var3 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2897903> . ?var2 ?var4Label \"string1\"@de . } LIMIT 100"}}
{"id": "test_3800", "question": "Average population since 2010 for countries bordering Germany", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?country ?countryLabel ( AVG( xsd:integer ( ?population ) ) AS ?avgPopulation ) WHERE {\n  ?country wdt:P47 wd:Q183 .\n  ?country p:P1082 ?statement .\n  ?statement ps:P1082 ?population ; pq:P585 ?date .\n  FILTER ( xsd:integer ( STR( YEAR( ?date ) ) ) > 2010 ) .\n  ?country rdfs:label ?countryLabel .\n  FILTER ( LANG( ?countryLabel ) = \"en\" )\n}\nGROUP BY ?country ?countryLabel", "paraphrases": ["What is the average population of each country that shares a border with Germany since 2010?", "Show me the average population since 2010 for all countries that border Germany, along with their names."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var1Label WHERE { { SELECT ?var1 ?var2 ( AVG ( <http://www.w3.org/2001/XMLSchema#integer> ( ?var3 ) ) AS ?var3 ) WHERE { { SELECT ?var1 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P47> <http://www.wikidata.org/entity/Q183> ; <http://www.wikidata.org/prop/P1082> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P1082> ?var3 ; <http://www.wikidata.org/prop/qualifier/P585> ?var5 . FILTER ( ( ( <http://www.w3.org/2001/XMLSchema#integer> ( STR ( YEAR ( ?var5 ) ) ) > \"2010\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } } } GROUP BY ?var1 ?var2 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_3801", "question": "Properties related to ISO 3166-2 code with English labels and descriptions.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?var1 ?var2Label ?var3 WHERE {\n  wd:P300 wdt:P1659 ?var1 .\n  ?var1 rdfs:label ?var2Label .\n  ?var1 schema:description ?var3 .\n  FILTER(LANG(?var2Label) = \"en\")\n  FILTER(LANG(?var3) = \"en\")\n}", "paraphrases": ["What are the English-labeled properties related to the ISO 3166-2 country subdivision code?", "Show me the English labels and descriptions of properties that are related to the ISO 3166-2 code."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P300> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . }"}}
{"id": "test_3802", "question": "What is the population of Germany?", "sparql": "SELECT ?country ?population WHERE { ?country rdfs:label \"Germany\"@en . ?country wdt:P1082 ?population . }", "paraphrases": ["Can you tell me the current population of the country labeled \"Germany\" in English?", "How many people live in Germany according to Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#P1082> ?var3 . ?var3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#P31> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#label> \"string1\". }"}}
{"id": "test_3803", "question": "What are all the subclasses of economic goods in Wikidata?", "sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 (wdt:P279 / wdt:P279*) wd:Q28877 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") }", "paraphrases": ["List all types of goods, including indirect subclasses, with their English names.", "Show me all the items that are types of economic goods, along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P279> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q28877> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_3804", "question": "Products and their subclasses in Wikidata", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P31/wdt:P279* wd:Q2424752 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = 'en') } LIMIT 100", "paraphrases": ["What are all the items that are instances of product or any of its subclasses?", "List all products and types of products in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q2424752> . } LIMIT 100"}}
{"id": "test_3805", "question": "List countries with their ISO 3166-1 alpha-2 codes and official languages in English.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?country ?isoCode ?countryLabel ?language ?languageLabel WHERE {\n  ?country wdt:P297 ?isoCode .\n  ?country rdfs:label ?countryLabel .\n  ?country wdt:P37 ?language .\n  ?language rdfs:label ?languageLabel .\n  FILTER(LANG(?countryLabel) = \"en\")\n  FILTER(LANG(?languageLabel) = \"en\")\n}", "paraphrases": ["What are the official languages of each country, along with the country\u2019s name and ISO code, in English?", "Show me a list of countries, their two-letter ISO codes, and their official languages, all labeled in English."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P297> ?var2 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P37> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . }"}}
{"id": "test_3806", "question": "Types of products in Wikidata", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?productType ?productTypeLabel WHERE {\n  ?productType wdt:P279 wd:Q2424752 .\n  ?productType rdfs:label ?productTypeLabel .\n  FILTER(LANG(?productTypeLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["What are some subclasses of the concept \"product\"?", "List the English names of all types of products."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q2424752> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en,zh\". } } LIMIT 100"}}
{"id": "test_3807", "question": "What are the most common properties used to associate items with ceramic materials, and how many times are they used?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(COUNT(?item) AS ?count) WHERE {\n  ?item ?property wd:Q45621 .\n  OPTIONAL {\n    ?property rdfs:label ?propertyLabel .\n    FILTER(LANG(?propertyLabel) = \"en\")\n  }\n}\nGROUP BY ?property\nHAVING(?count > 1)\nORDER BY DESC(?count)", "paraphrases": ["Which properties link the most objects to ceramic, excluding those used only once?", "Can you list the properties that connect items to ceramic, sorted by frequency, with their English labels?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q45621> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_3808", "question": "Qual \u00e8 l'etichetta e la descrizione in italiano della propriet\u00e0 Wikidata usata per rappresentare i codici ISO 3166-2?", "sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { wd:P1705 rdfs:label ?var2Label . wd:P1705 schema:description ?var3 . FILTER (LANG(?var2Label) = \"it\") . FILTER (LANG(?var3) = \"it\") . BIND(wd:P1705 AS ?var1) }", "paraphrases": ["What is the Italian label and description of the property that assigns ISO 3166-2 codes in Wikidata?", "Which Wikidata property is used for ISO 3166-2 codes, and what are its Italian label and description?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q133153> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"it\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"it\" ) ) ) . } LIMIT 100"}}
{"id": "test_3809", "question": "List non-sovereign territories with their ISO codes and the countries they belong to, including the sovereign state's ISO code.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?territory ?territoryCode ?sovereignState ?sovereignStateLabel ?sovereignStateCode WHERE {\n  ?territory wdt:P297 ?territoryCode ; wdt:P17 ?sovereignState .\n  ?sovereignState rdfs:label ?sovereignStateLabel ; wdt:P297 ?sovereignStateCode .\n  FILTER ( ?territoryCode IN ( \"VI\" , \"XK\" , \"YT\" , \"AS\" , \"FK\" , \"FO\" , \"TC\" , \"WF\" , \"GL\" , \"GU\" , \"MS\" , \"PF\" , \"SH\" , \"PR\" , \"JE\" , \"MP\" , \"MQ\" , \"NC\" , \"BQ\" , \"CK\" , \"GF\" , \"GG\" , \"GP\" , \"IM\" , \"PM\" , \"RE\" , \"AQ\" , \"AX\" , \"BL\" , \"BV\" , \"CC\" , \"CX\" , \"EH\" , \"GS\" , \"HM\" , \"IO\" , \"MF\" , \"NF\" , \"NU\" , \"PN\" , \"SJ\" , \"TF\" , \"TK\" , \"UM\" ) && LANG( ?sovereignStateLabel ) = \"en\" )\n}\nORDER BY ASC ( ?territoryCode )", "paraphrases": ["Which territories have ISO codes like AS, XK, or YT, and what sovereign states are they associated with, along with the sovereign states' ISO codes?", "Show me all territories with special ISO codes (like American Samoa or the Virgin Islands), their associated sovereign states in English, and the sovereign states' ISO codes."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P297> ?var2 ; <http://www.wikidata.org/prop/direct/P17> ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label ; <http://www.wikidata.org/prop/direct/P297> ?var4 . FILTER ( ( ?var2 IN ( \"VI\", \"XK\", \"YT\", \"AS\", \"FK\", \"FO\", \"TC\", \"WF\", \"GL\", \"GU\", \"MS\", \"PF\", \"SH\", \"PR\", \"JE\", \"MP\", \"MQ\", \"NC\", \"BQ\", \"CK\", \"GF\", \"GG\", \"GP\", \"IM\", \"PM\", \"RE\", \"AQ\", \"AX\", \"BL\", \"BV\", \"CC\", \"CX\", \"EH\", \"GS\", \"HM\", \"IO\", \"MF\", \"NF\", \"NU\", \"PN\", \"SJ\", \"TF\", \"TK\", \"UM\" ) && ( LANG ( ?var3Label ) = \"en\" ) ) ) . } ORDER BY ASC( ?var2 )"}}
{"id": "test_3810", "question": "What properties describe Douglas Adams in Wikidata?", "sparql": "SELECT DISTINCT ?property WHERE { wd:Q42 ?property [] . } ORDER BY ASC(?property)", "paraphrases": ["Which properties are associated with Douglas Adams in the Wikidata knowledge graph?", "List all properties that are used to describe Douglas Adams in Wikidata, including metadata and statement links."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { <http://www.wikidata.org/entity/Q42> ?var1 [] . } ORDER BY ASC( ?var1 )"}}
{"id": "test_3811", "question": "Countries and their capitals with capital coordinates, including dissolution dates if applicable.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?countryLabel ?capitalLabel ?capitalCoordinates ?dissolvedDate ?endTime WHERE {\n  ?country wdt:P31 wd:Q3624078 .\n  ?country wdt:P36 ?capital .\n  ?capital wdt:P625 ?capitalCoordinates .\n  OPTIONAL {\n    ?country wdt:P576 ?dissolvedDate .\n  }\n  OPTIONAL {\n    ?country wdt:P582 ?endTime .\n  }\n  ?country rdfs:label ?countryLabel .\n  ?capital rdfs:label ?capitalLabel .\n  FILTER ( LANG( ?countryLabel ) = \"en\" ) FILTER ( LANG( ?capitalLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["What are the names of sovereign states, their capitals, the geographic coordinates of those capitals, and when were they dissolved or ceased to exist?", "List all current sovereign countries along with their capitals, the coordinates of those capitals, and any recorded dates of dissolution or end of existence."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3 ?var4 ?var5 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,de\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3624078> . ?var1 <http://www.wikidata.org/prop/direct/P36> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P625> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P576> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P582> ?var5 . } } LIMIT 100"}}
{"id": "test_3812", "question": "What are the names, latest populations, and corresponding years for all cities and towns in the United States, sorted alphabetically by name?", "sparql": "SELECT DISTINCT ?city ?cityLabel ?population ?date WHERE { { SELECT ?city (MAX(?date) AS ?maxDate) WHERE { ?city (wdt:P31/wdt:P279*) wd:Q7930989 . ?city wdt:P17 wd:Q30 . ?city p:P1082 ?statement . ?statement pq:P585 ?date . } GROUP BY ?city } ?city rdfs:label ?cityLabel . FILTER(LANG(?cityLabel) = \"en\") ?city p:P1082 ?statement . ?statement pq:P585 ?maxDate . ?statement ps:P1082 ?population . BIND(?maxDate AS ?date) } ORDER BY ASC(?cityLabel)", "paraphrases": ["Show me the most recent population figures for every city and town in the U.S., along with the year the data was recorded, ordered by city name.", "List all U.S. cities and towns with their current population and the year it was measured, sorted from A to Z by city name."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3 ?var4 ?var5 WHERE { { SELECT( MAX ( ?var3 ) AS ?var3 ) ?var1 WHERE { { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3957> . } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q30> . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . ?var1 <http://www.wikidata.org/prop/P1082> ?var6 . OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P585> ?var3 . } ?var6 ?var7 ?var4 . } GROUP BY ?var1 ORDER BY DESC( ?var3 ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_3813", "question": "Class A Swiss cultural heritage sites in Bern canton with German names and coordinates", "sparql": "SELECT ?var1 ?var2 ?var3 ?var6 WHERE { ?var1 wdt:P1435 wd:Q8274529 . ?var1 wdt:P131 wd:Q11911 . ?var1 wdt:P131 ?var2 . ?var2 wdt:P31 wd:Q70208 . OPTIONAL { ?var1 rdfs:label ?var3 . FILTER(LANG(?var3) = \"de\") } OPTIONAL { ?var1 wdt:P625 ?var6 . } }", "paraphrases": ["What are the heritage sites in the Canton of Bern that are located in municipalities, and what are their German labels and coordinates?", "List the German-named cultural heritage sites in Bern canton\u2019s municipalities along with their geographic locations."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var2Label ?var4Label ?var5 ?var6 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P1435> <http://www.wikidata.org/entity/Q8274529> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q11911> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q23058> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q70208> . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"de\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_3814", "question": "What are the populations of the member states of the European Union?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?country ?population WHERE {\n  ?country wdt:P463 wd:Q458 .\n  ?country wdt:P1082 ?population .\n}", "paraphrases": ["Can you list the countries in the European Union along with their population numbers?", "Which EU countries have recorded population data, and how many people live in each?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.wikidata.org/entity/wd:Q185441> . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var2 . }"}}
{"id": "test_3815", "question": "What is the population of the United States?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?population WHERE {\n  wd:Q30 wdt:P31 wd:Q6256 ; wdt:P1082 ?population .\n}", "paraphrases": ["How many people live in the United States, which is a country?", "Can you tell me the number of inhabitants of the United States?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/prop/direct/Q20> <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> ; <http://www.wikidata.org/prop/direct/P1082> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3816", "question": "Countries starting with 'f'", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?country ?countryLabel WHERE {\n  ?country wdt:P31 wd:Q6256 .\n  ?country rdfs:label ?countryLabel .\n  FILTER ( LANG( ?countryLabel ) = \"en\" ) FILTER ( REGEX( ?countryLabel , \"^f\" , \"i\" ) )\n}", "paraphrases": ["Which countries have names that start with the letter 'f'?", "List all countries whose English names begin with 'f'."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . FILTER ( ( REGEX ( ?var1Label , \"^f\", \"i\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_3817", "question": "Cities with images and coordinates on Wikimedia Commons", "sparql": "SELECT ?cityLabel ?image ?coordinates WHERE { ?city wdt:P31 wd:Q515 . ?city wdt:P18 ?image . ?city wdt:P625 ?coordinates . ?city rdfs:label ?cityLabel . FILTER(LANG(?cityLabel) = \"en\") }", "paraphrases": ["What are the names, images, and geographic coordinates of cities in Wikidata?", "Show me the English names, Wikimedia Commons images, and GPS coordinates of all cities."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_3818", "question": "List all sovereign states with their ISO 3166-1 alpha-2 country codes.", "sparql": "SELECT ?country ?countryLabel ?isoCode WHERE { ?country wdt:P31 wd:Q3624078 . OPTIONAL { ?country wdt:P297 ?isoCode . } ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") } ORDER BY ?countryLabel", "paraphrases": ["What are the English names and two-letter ISO codes of all sovereign countries?", "Can you provide the names (in English) and ISO 3166-1 alpha-2 codes for every recognized sovereign state?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3624078> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P297> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3819", "question": "Top 10 countries by population with population figures and dates", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ?country ?countryLabel ?population ?date WHERE {\n  ?country wdt:P31 wd:Q6256 .\n  ?country p:P1082 [ ps:P1082 ?population ; pq:P585 ?date ] .\n  ?country rdfs:label ?countryLabel .\n  FILTER ( LANG( ?countryLabel ) = \"en\" )\n}\nORDER BY DESC ( ?population )\nLIMIT 10", "paraphrases": ["What are the highest population figures for countries and when were they recorded?", "Show me the 10 largest populations of countries along with the corresponding years and country names in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var1 <http://www.wikidata.org/prop/P1082> [ <http://www.wikidata.org/prop/statement/P1082> ?var2 ; <http://www.wikidata.org/prop/qualifier/P585> ?var3 ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } } ORDER BY DESC( ?var2 ) LIMIT 10"}}
{"id": "test_3820", "question": "What are the capital cities of administrative entities, and which countries those entities belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?capital ?administrativeEntity ?endTime ?dissolvedDate ?country WHERE {\n  ?capital wdt:P31 wd:Q5119 .\n  ?capital wdt:P1376 ?administrativeEntity .\n  OPTIONAL {\n    ?administrativeEntity wdt:P582 ?endTime .\n  }\n  OPTIONAL {\n    ?administrativeEntity wdt:P576 ?dissolvedDate .\n  }\n  OPTIONAL {\n    ?administrativeEntity wdt:P17 ?country .\n  }\n}\nLIMIT 1000", "paraphrases": ["List capital cities along with the administrative regions they serve and whether those regions have been dissolved or abolished.", "Which countries contain administrative entities that have capital cities, and when were those entities dissolved?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var3 ?var4 ?var5 ?var5Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,de\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5119> . ?var1 <http://www.wikidata.org/prop/direct/P1376> ?var2 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P582> ?var3 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P576> ?var4 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P17> ?var5 . } } LIMIT 1000"}}
{"id": "test_3821", "question": "What are the capital cities of sovereign countries?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?capital ?capitalLabel WHERE {\n  ?country wdt:P36 ?capital .\n  ?country wdt:P31 wd:Q3624078 .\n  ?capital rdfs:label ?capitalLabel .\n  FILTER ( LANG( ?capitalLabel ) = \"en\" )\n}", "paraphrases": ["List the English names of all national capitals.", "Which cities serve as the capital of a country?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P36> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru,en\". } }"}}
{"id": "test_3822", "question": "What are the ISO 3166-1 alpha-3 codes for all countries?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?country ?countryLabel ?abbreviation WHERE {\n  ?country wdt:P31 wd:Q6256 .\n  ?country wdt:P298 ?abbreviation .\n}", "paraphrases": ["Can you list all countries along with their official three-letter abbreviations?", "Which countries have official abbreviations, and what are they?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var2 <http://www.wikidata.org/prop/direct/P1687> <http://www.wikidata.org/entity/P1813> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_3823", "question": "List all countries with their English names and ISO 3166-1 alpha-3 or former ISO 3166-3 codes.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?country ?countryLabel ?isoCode WHERE {\n  ?country wdt:P31 wd:Q6256 .\n  ?country ( wdt:P773 | wdt:P298 ) ?isoCode .\n  ?country rdfs:label ?countryLabel .\n  FILTER ( LANG( ?countryLabel ) = \"en\" )\n}\nORDER BY ASC ( ?countryLabel )", "paraphrases": ["What are the English names and ISO country codes (current or former) for all countries?", "Can you provide a sorted list of all countries, showing their English labels and their corresponding ISO 3-letter codes, including both currently used and deprecated codes?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var1 ( <http://www.wikidata.org/prop/direct/P773> | <http://www.wikidata.org/prop/direct/P298> ) ?var3 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } ORDER BY ASC( ?var2 )"}}
{"id": "test_3824", "question": "What are the names, coordinates, and countries of neighborhoods around the world?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?neighborhood ?neighborhoodLabel ?coordinates ?country ?countryLabel WHERE {\n  ?neighborhood wdt:P31 wd:Q123705 .\n  OPTIONAL {\n    ?neighborhood wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    ?neighborhood wdt:P17 ?country .\n  }\n  ?neighborhood rdfs:label ?neighborhoodLabel .\n  ?country rdfs:label ?countryLabel .\n  FILTER(LANG(?neighborhoodLabel) = \"en\" || LANG(?neighborhoodLabel) = \"\")\n  FILTER(LANG(?countryLabel) = \"en\" || LANG(?countryLabel) = \"\")\n}\nLIMIT 100", "paraphrases": ["List neighborhoods with their locations and the countries they belong to.", "Show me neighborhoods, including their geographic coordinates and the countries they are in."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q123705> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . } } LIMIT 100"}}
{"id": "test_3825", "question": "What is the English label and description of the Chakma language in Wikidata, given its Banglapedia ID?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P4255 \"Chakma_Language\" .\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["Can you find the Wikidata entry for the Chakma language using its Banglapedia English article ID?", "What does Wikidata say about the Chakma language, identified by the Banglapedia ID \"Chakma_Language\"?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4255> \"Chak,_The\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3826", "question": "What country and continent is Chiayi County Council located in?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?geographicContext ?geographicContextLabel WHERE {\n  {\n    wd:Q10924150(wdt:P17 | wdt:P131 | wdt:P376 | wdt:P501) ?geographicContext .\n  } UNION {\n    wd:Q10924150 wdt:P17 ?country .\n    ?country wdt:P30 ?geographicContext .\n  } UNION {\n    wd:Q10924150 wdt:P30 ?geographicContext .\n  }\n  ?geographicContext rdfs:label ?geographicContextLabel .\n  FILTER(LANG(?geographicContextLabel) = \"en\")\n}\nORDER BY ?geographicContextLabel", "paraphrases": ["Can you tell me the geographic hierarchy of Chiayi County Council, including its country and continent?", "Where is Chiayi County Council situated in terms of administrative and continental boundaries?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q10924150> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_3827", "question": "How many venues or vehicles in Wikidata have a maximum capacity specified, grouped by the unit of measurement (e.g., person, vehicle)?", "sparql": "SELECT ?unitLabel ( COUNT( ?item ) AS ?count ) WHERE { ?item p:P1083/psv:P1083 [ wikibase:quantityAmount ?amount ; wikibase:quantityUnit ?unit ] . ?unit rdfs:label ?unitLabel . FILTER(LANG(?unitLabel) = \"en\") } GROUP BY ?unitLabel", "paraphrases": ["What are the most common units used to express maximum capacity in Wikidata, and how many times is each used?", "Show the distribution of units used for maximum capacity values in Wikidata, such as \"person\" or \"1\", and count how many items use each."], "info": {"raw_sparql": "SELECT ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ( <http://www.wikidata.org/prop/P1083> / <http://www.wikidata.org/prop/statement/value/P1083> ) [ <http://wikiba.se/ontology#quantityAmount> ?var4 ; <http://wikiba.se/ontology#quantityUnit> ?var1 ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } GROUP BY ?var1Label"}}
{"id": "test_3828", "question": "What are the capitals of all sovereign countries?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?country ?capital WHERE {\n  ?country wdt:P36 ?capital .\n  ?country wdt:P31 wd:Q3624078 .\n}", "paraphrases": ["List each country and its capital city.", "Which cities serve as the capitals of independent nations?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 ?var2 ?var3 . }"}}
{"id": "test_3829", "question": "How many distinct items are instances of a subclass of toy?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ( COUNT( DISTINCT ?item ) AS ?count ) WHERE {\n  ?item ( wdt:P31 ? / wdt:P279 * ) wd:Q11422 .\n}", "paraphrases": ["How many different things are considered toys or belong to a category of toys?", "Count all entities that are directly or indirectly classified as toys through their class hierarchy."], "info": {"raw_sparql": "SELECT( COUNT ( DISTINCT * ) AS ?var1 ) WHERE { ?var2 ( <http://www.wikidata.org/prop/direct/P31> ?/ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11422> . }"}}
{"id": "test_3830", "question": "Countries with the same population as China.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel ?population WHERE {\n  wd:Q148 wdt:P1082 ?chinaPopulation .\n  ?item wdt:P1082 ?population .\n  FILTER ( ?population = ?chinaPopulation ) ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["Which countries have the exact same population as the People's Republic of China?", "Show me all entities that have a population equal to that of China."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1082> * <http://www.wikidata.org/entity/Q29520> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3831", "question": "Top countries by total population of human settlements", "sparql": "SELECT ?countryLabel (SUM(?population) AS ?totalPopulation) WHERE { ?settlement wdt:P31 wd:Q486972 ; wdt:P17 ?country ; wdt:P1082 ?population . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") } GROUP BY ?country ?countryLabel ORDER BY DESC(?totalPopulation)", "paraphrases": ["Which countries have the largest combined populations of all their settlements, and what are those totals?", "Show me the countries ranked by the sum of their settlement populations, in descending order."], "info": {"raw_sparql": "SELECT ?var1Label ( SUM ( ?var2 ) AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q486972> ; <http://www.wikidata.org/prop/direct/P17> ?var1 ; <http://www.wikidata.org/prop/direct/P1082> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var3 )"}}
{"id": "test_3832", "question": "Neighborhoods in the United States with English names", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?neighborhood ?neighborhoodLabel WHERE {\n  ?neighborhood(wdt:P31 / wdt:P279 *) wd:Q123705 .\n  ?neighborhood wdt:P17 wd:Q30 .\n  ?neighborhood rdfs:label ?neighborhoodLabel .\n  FILTER(LANG(?neighborhoodLabel) = \"en\")\n}", "paraphrases": ["What are the English names of neighborhoods in the United States?", "List all neighborhoods and their subtypes in the United States, using their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q123705> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q30> . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"en\" ) ) ) . }"}}
{"id": "test_3833", "question": "What are the top 10 most populous countries and what percentage of the world population do they represent?", "sparql": "SELECT ?country ?countryLabel ?population (ROUND((?population * 100 / ?worldPop) * 100) / 100 AS ?percentage) WHERE { { SELECT (SUM(?pop) AS ?worldPop) WHERE { ?country wdt:P31 wd:Q6256 ; wdt:P1082 ?pop . } } ?country wdt:P31 wd:Q6256 ; wdt:P1082 ?population . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") } ORDER BY DESC(?population) LIMIT 10", "paraphrases": ["Show the population of each country and its share of the global population, ordered from highest to lowest.", "How does each country's population compare to the total world population? List the top 10 countries with their percentage shares."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ( SUBSTR ( ( ( ?var2 *\"100\"^^<http://www.w3.org/2001/XMLSchema#integer> ) / ?var3 ) ,\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } <http://www.wikidata.org/entity/Q11188> <http://www.wikidata.org/prop/direct/P1082> ?var3 . } ORDER BY DESC( ?var2 )"}}
{"id": "test_3834", "question": "Countries with population over 100 million", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?country ?countryLabel ?population WHERE {\n  ?country wdt:P31 wd:Q6256 .\n  ?country wdt:P1082 ?population .\n  FILTER ( ?population >= 100000000 ) .\n  ?country rdfs:label ?countryLabel .\n  FILTER ( LANG( ?countryLabel ) = \"en\" )\n}", "paraphrases": ["Which countries have a population of at least 100 million, and what are their names and populations?", "List the English names and populations of all countries with more than 100 million people."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } FILTER ( ( ( ?var2 >= ( ( \"1000\"^^<http://www.w3.org/2001/XMLSchema#integer> *\"1000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) *\"100\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) ) . }"}}
{"id": "test_3835", "question": "Coordinates, official names, and English names of human settlements in Austria.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?coord ?officialName ?englishName WHERE {\n  ?settlement(wdt:P31 / wdt:P279 *) wd:Q486972 .\n  ?settlement wdt:P17 wd:Q40 .\n  ?settlement wdt:P625 ?coord .\n  OPTIONAL {\n    ?settlement wdt:P1448 ?officialName .\n  }\n  OPTIONAL {\n    ?settlement rdfs:label ?englishName .\n    FILTER(LANG(?englishName) = \"en\")\n  }\n}", "paraphrases": ["What are the geographic coordinates, official names, and English names of all human settlements in Austria?", "List the locations, local official names, and English names of towns and cities in Austria."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var4Label WHERE { ?var5 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q486972> . ?var5 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q40> . ?var5 <http://www.wikidata.org/prop/direct/P625> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,it\". } OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P1448> ?var3 . } OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P2561> ?var4 . } }"}}
{"id": "test_3836", "question": "Countries with population over 500,000 or with an English label, including all their language variants.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?country ?label ?language ?population WHERE {\n  ?country wdt:P31 wd:Q6256 .\n  ?country rdfs:label ?label .\n  ?country wdt:P1082 ?population .\n  BIND( LANG( ?label ) AS ?language ) FILTER ( LANG( ?label ) = \"en\" || ?population >= 500000 )\n}\nLIMIT 1000", "paraphrases": ["Which countries have a population of at least 500,000 or are labeled in English, and what are all their language labels and populations?", "Show me all countries that either have a population of 500,000 or more, or have an English name, along with every language version of their name and their population."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( LANG ( ?var3Label ) AS ?var4 ) ?var3Label ?var5 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var5 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . } FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) || ( ?var5 >= \"500000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } LIMIT 1000"}}
{"id": "test_3837", "question": "Top European cities by population with historical data", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT DISTINCT ?city ?cityLabel ?countryLabel ?population ?date WHERE {\n  ?city ( wdt:P31 / wdt:P279 * ) wd:Q515 ; wdt:P17 ?country ; wdt:P30 wd:Q46 ; p:P1082 ?populationStatement .\n  ?populationStatement ps:P1082 ?population ; pq:P585 ?date .\n  ?city rdfs:label ?cityLabel .\n  ?country rdfs:label ?countryLabel .\n  FILTER ( LANG( ?cityLabel ) = \"en\" ) FILTER ( LANG( ?countryLabel ) = \"en\" )\n}\nORDER BY DESC ( ?population )", "paraphrases": ["What are the largest cities in Europe by population, and when was each population recorded?", "Show me a list of all cities in Europe, their countries, populations, and the dates those populations were recorded, sorted from highest to lowest population."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3 ?var4 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> ; <http://www.wikidata.org/prop/direct/P17> ?var2 ; <http://www.wikidata.org/prop/P1082> ?var5 . ?var5 <http://www.wikidata.org/prop/qualifier/P585> ?var4 ; <http://www.wikidata.org/prop/statement/P1082> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P30> <http://www.wikidata.org/entity/Q46> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en, de\". } } ORDER BY DESC( ?var3 )"}}
{"id": "test_3838", "question": "What are the 100 most populous countries in the world, listed in descending order of population?", "sparql": "SELECT ?country ?countryLabel ?population WHERE { ?country wdt:P31 wd:Q3624078. ?country wdt:P1082 ?population. ?country rdfs:label ?countryLabel. FILTER(LANG(?countryLabel) = \"en\") FILTER(?population > 0) } ORDER BY DESC(?population) LIMIT 100", "paraphrases": ["List the top 100 countries by population, including their names and population numbers.", "Show me the countries with the highest populations, sorted from largest to smallest, along with their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru,en\". } } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var2 ) LIMIT 100"}}
{"id": "test_3839", "question": "Cities with population over 100,000, their official language, and the label of \"mayor\" in the same language as the language code.", "sparql": "SELECT ?city ?cityLabel ?language ?languageLabel ?code ?population WHERE { ?city wdt:P31 wd:Q515 ; wdt:P1082 ?population ; wdt:P37 ?language ; rdfs:label ?cityLabel . ?language wdt:P424 ?code ; rdfs:label ?languageLabel . wd:Q13478476 rdfs:label ?positionLabel . FILTER ( ?population > 100000 ) FILTER ( LANG(?cityLabel) = ?code ) FILTER ( LANG(?languageLabel) = ?code ) FILTER ( LANG(?positionLabel) = ?code ) } LIMIT 100", "paraphrases": ["Which cities have a population over 100,000, and what are their official languages, ensuring that the names of the city, the language, and the term \"mayor\" are all displayed in the language of the official language?", "Show me cities with more than 100,000 residents, along with their official languages and the Wikimedia language codes, where all labels \u2014 the city name, the language name, and the word \"mayor\" \u2014 are in the same language as the code."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var5 . FILTER ( ( ( ?var5 > \"100000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> ; <http://www.wikidata.org/prop/direct/P39> ?var2 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var2 <http://www.wikidata.org/prop/direct/P37> ?var3 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var3 <http://www.wikidata.org/prop/direct/P424> ?var4 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var4 ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = ?var4 ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = ?var4 ) ) ) . } LIMIT 100"}}
{"id": "test_3840", "question": "What are the three-level hierarchical classifications for units of measurement and quantities in Wikidata?", "sparql": "SELECT DISTINCT ?item ?itemLabel ?parent ?parentLabel ?grandparent ?grandparentLabel WHERE { VALUES ?item { wd:Q47574 wd:Q309314 } ?item wdt:P279 ?parent . ?parent wdt:P279 ?grandparent . ?item rdfs:label ?itemLabel . ?parent rdfs:label ?parentLabel . ?grandparent rdfs:label ?grandparentLabel . FILTER(LANG(?itemLabel) = 'en') FILTER(LANG(?parentLabel) = 'en') FILTER(LANG(?grandparentLabel) = 'en') }", "paraphrases": ["Show the parent and grandparent classes of units of measurement and quantity.", "How are units of measurement and quantity classified in the Wikidata ontology, going up three levels in the subclass hierarchy?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { VALUES ( ?var4 ) { ( <http://www.wikidata.org/entity/Q47574> ) ( <http://www.wikidata.org/entity/Q309314> ) } BIND ( <http://www.wikidata.org/entity/Q4114915> AS ?var5 ). ?var5 ( <http://www.wikidata.org/prop/direct/P31> ?| <http://www.wikidata.org/prop/direct/P279> ?) ?var1 . ?var1 ( <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) ?var4 . ?var1 ( <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) ?var2 . ?var2 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> ) ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de, en\". } }"}}
{"id": "test_3841", "question": "What are the coordinates of the Crock of Gold cairn and the administrative area it is located in?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?siteCoordinates ?administrativeAreaCoordinates WHERE {\n  wd:Q32303796 wdt:P625 ?siteCoordinates .\n  OPTIONAL {\n    wd:Q32303796 wdt:P131 ?administrativeArea .\n    ?administrativeArea wdt:P625 ?administrativeAreaCoordinates .\n  }\n}", "paraphrases": ["Where is the Crock of Gold located, and where is the center of the administrative region that contains it?", "Can you show me the geographic location of the Crock of Gold and the location of the local government area it belongs to?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q32303796> <http://www.wikidata.org/prop/direct/P625> ?var1 . OPTIONAL { <http://www.wikidata.org/entity/Q32303796> <http://www.wikidata.org/prop/direct/P131> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var2 . } }"}}
{"id": "test_3842", "question": "What are the components of the Resource Description Framework (RDF), and what are their labels and images?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?label ?image WHERE {\n  ?item wdt:P361 wd:Q54872 .\n  ?item rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}\nLIMIT 100", "paraphrases": ["Can you show me the English names and images of things that are part of RDF?", "Which items are classified as parts of RDF, and do they have any associated images?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q54872> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_3843", "question": "Most frequently used property to describe Muhammad", "sparql": "SELECT ?property (COUNT(?property) AS ?count) WHERE { ?item ?claim wd:Q9458 . ?property wikibase:directClaim ?claim . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["What property is most commonly associated with Muhammad in Wikidata, and how many times is it used?", "Show me the property that is used most often to describe Muhammad, along with its usage count."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q9458> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_3844", "question": "What are the components of RDF 1.1, and what are their English labels and images?", "sparql": "SELECT ?item ?itemLabel ?image WHERE {\n  ?item wdt:P361 wd:Q31398258 .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}\nLIMIT 100", "paraphrases": ["Can you list the parts of the RDF 1.1 specification along with their English names?", "Show me the English labels of all standards that are part of RDF 1.1, and if available, their images."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q31398258> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_3845", "question": "Cities with more than 10,000 residents, their countries, and coordinates.", "sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 WHERE { ?var1 (wdt:P31/wdt:P279*) wd:Q515 . ?var1 wdt:P1082 ?var2 . ?var1 wdt:P17 ?var3 . ?var1 wdt:P625 ?var4 . ?var1 rdfs:label ?var1Label . ?var3 rdfs:label ?var3Label . FILTER ( ?var2 > 10000 ) FILTER ( LANG(?var1Label) = \"en\" ) FILTER ( LANG(?var3Label) = \"en\" ) }", "paraphrases": ["Which cities have a population over 10,000, and what are their countries and geographic coordinates?", "List all cities with over 10,000 people, including their English names, the countries they are in, and their latitude and longitude."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . FILTER ( ( ( ?var2 > \"10000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && REGEX ( STR ( ?var3Label ) , \"\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3846", "question": "Villages in China and their names", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?village ?villageLabel WHERE {\n  ?village wdt:P31 wd:Q13100073 .\n  ?village rdfs:label ?villageLabel .\n}\nLIMIT 10", "paraphrases": ["What are some villages in the People's Republic of China and what are their labels?", "List ten villages in China along with their labels in any language."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P36> <http://www.wikidata.org/entity/Q13100073> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3847", "question": "Countries that have cities with recorded population data.", "sparql": "SELECT DISTINCT ?country WHERE { ?country wdt:P31 wd:Q6256 . ?city wdt:P17 ?country . ?city wdt:P31 wd:Q515 . ?city wdt:P1082 ?population . } LIMIT 100", "paraphrases": ["Which countries contain at least one city with a known population?", "List up to 100 countries that have cities with population statistics."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var2 <http://www.wikidata.org/prop/direct/P17> ?var1 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . ?var2 <http://www.wikidata.org/prop/direct/P1082> ?var3 . } LIMIT 100"}}
{"id": "test_3848", "question": "French-labeled humans with the surname Chalbos", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person WHERE {\n  ?person rdfs:label ?label .\n  FILTER(LANG(?label) = 'fr')\n  .\n  FILTER(REGEX(?label , 'Chalbos' , 'i'))\n  .\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["Who are the French people with the last name Chalbos?", "List all humans whose French label includes the surname Chalbos."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"chalbos\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3849", "question": "French label 'Yvon Mvogo' and is a human", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person WHERE {\n  ?person rdfs:label \"Yvon Mvogo\" @fr .\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["Who is Yvon Mvogo, the person with the French label 'Yvon Mvogo'?", "Find the human entity in Wikidata that has the French label 'Yvon Mvogo'."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Yvon Moal\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3850", "question": "What are all the types or categories that New York City belongs to, including its subclasses?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?class ?classLabel WHERE {\n  wd:Q60(wdt:P31 / wdt:P279 *) ?class .\n  ?class rdfs:label ?classLabel .\n  FILTER(LANG(?classLabel) = \"en\")\n}", "paraphrases": ["What classes is New York City an instance of or a subclass of, according to Wikidata?", "List all the English-labeled classes in the hierarchy above New York City, starting from its direct type and including all its superclasses."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q60> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3851", "question": "Top 20 most populous cities in the world with their official names, populations, coordinates, and continents.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?city ?officialName ?population ?coordinates ?continent WHERE {\n  ?city wdt:P31 wd:Q515 .\n  ?city wdt:P1448 ?officialName .\n  ?city wdt:P1082 ?population .\n  ?city wdt:P625 ?coordinates .\n  ?city wdt:P30 ?continent .\n}\nORDER BY DESC ( ?population )\nLIMIT 20", "paraphrases": ["What are the 20 largest cities by population, and what are their official names, locations, and continents?", "Show me the 20 most populated cities globally, including their official names, geographic coordinates, and the continents they are in, sorted by population from highest to lowest."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P1448> ?var1Label . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P30> ?var5 . } ORDER BY DESC( ?var3 ) LIMIT 20"}}
{"id": "test_3852", "question": "What are the names of villages in the People's Republic of China?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?village ?villageLabel WHERE {\n  ?village wdt:P31 wd:Q13100073 .\n  ?village rdfs:label ?villageLabel .\n  FILTER ( LANG( ?villageLabel ) = \"zh\" || LANG( ?villageLabel ) = \"en\" )\n}\nORDER BY ?villageLabel\nLIMIT 100", "paraphrases": ["List Chinese villages with their English or Chinese labels", "Show me the villages in China along with their names in English or Chinese"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13100073> . }"}}
{"id": "test_3853", "question": "What administrative regions and country is the Ente Regionale per i Servizi all'Agricoltura e alle Foreste (ERSAF) located in?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?location WHERE {\n  {\n    wd:Q30256295 wdt:P131 * ?location .\n    FILTER(?location != wd:Q30256295)\n  } UNION {\n    wd:Q30256295 wdt:P17 ?location .\n  }\n}", "paraphrases": ["Can you list all the places \u2014 from city to country \u2014 where ERSAF is administratively situated?", "Where is ERSAF based? Show its location hierarchy including region and country."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q30256295> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_3854", "question": "Labels of the Kingdom of Scotland and its type", "sparql": "SELECT ?label ?instanceType WHERE { wd:Q230791 wdt:P31 ?instanceType ; rdfs:label ?label .}", "paraphrases": ["What are the different language names for the Kingdom of Scotland, and what type of entity is it?", "Show me all the language labels for the Kingdom of Scotland along with its classification."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q230791> <http://www.wikidata.org/prop/direct/P31> ?var2 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . }"}}
{"id": "test_3855", "question": "Who is the person named \"Luc B\u00e9land\" in French and is a human?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person WHERE {\n  ?person rdfs:label \"Luc B\u00e9land\" @fr .\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["Find the human in Wikidata whose French label is \"Luc B\u00e9land\".", "Tell me the Wikidata item for the French-named person Luc B\u00e9land who is a human."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Luc BELAN\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3856", "question": "List Austrian municipalities and their \u00d6STAT-Nummer identifiers.", "sparql": "SELECT ?municipality ?municipalityLabel ?ostatNumber WHERE { ?municipality wdt:P31 wd:Q667509 . OPTIONAL { ?municipality wdt:P964 ?ostatNumber . } ?municipality rdfs:label ?municipalityLabel . FILTER(LANG(?municipalityLabel) = \"en\") } LIMIT 100", "paraphrases": ["What are the names and official key numbers of municipalities in Austria?", "Show me the English names of all Austrian municipalities along with their five-digit \u00d6STAT codes, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q667509> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P964> ?var2 . } } LIMIT 100"}}
{"id": "test_3857", "question": "French-speaking people named Lydie", "sparql": "SELECT DISTINCT ?item WHERE { ?item wdt:P31 wd:Q5 . ?item rdfs:label ?label . FILTER(LANG(?label) = 'fr') . FILTER(CONTAINS(LCASE(?label), 'lydie')) . }", "paraphrases": ["Who are the French-speaking individuals with the first name Lydie?", "List all humans in Wikidata who have a French label containing the name Lydie."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Lydie\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3858", "question": "What places are located within 10 kilometers of longitude 2 and latitude 49?", "sparql": "SELECT ?place ?placeLabel ?coord WHERE {\n  ?place wdt:P625 ?coord .\n  FILTER(geof:latitude(?coord) >= 48.91 && geof:latitude(?coord) <= 49.09)\n  FILTER(geof:longitude(?coord) >= 1.86 && geof:longitude(?coord) <= 2.14)\n  OPTIONAL { ?place rdfs:label ?placeLabel . FILTER(LANG(?placeLabel) = 'en') }\n} LIMIT 10", "paraphrases": ["List landmarks and locations near the coordinates (2, 49) with their English names and exact coordinates.", "Show me geographic features like buildings or streets within a 10 km radius of the point (2\u00b0E, 49\u00b0N), including their labels and coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> \"POINT(2 49)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"10\". } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3859", "question": "Classes above Bohr radius leading to unit of measurement", "sparql": "SELECT DISTINCT ?class ?classLabel WHERE { wd:Q652571 (wdt:P31|wdt:P279)+ ?class . ?class wdt:P279* wd:Q47574 . ?class rdfs:label ?classLabel . FILTER(LANG(?classLabel) = \"en\") } ORDER BY ?class", "paraphrases": ["What are the classes that the Bohr radius belongs to, up to and including unit of measurement?", "Show me the taxonomic hierarchy from the Bohr radius to unit of measurement."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { VALUES ( ?var4 ) { ( <http://www.wikidata.org/entity/Q47574> ) ( <http://www.wikidata.org/entity/Q309314> ) } BIND ( <http://www.wikidata.org/entity/Q652571> AS ?var5 ). ?var5 ( <http://www.wikidata.org/prop/direct/P31> ?| <http://www.wikidata.org/prop/direct/P279> ?) ?var1 . ?var1 ( <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) ?var4 . ?var1 ( <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) ?var2 . ?var2 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> ) ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de, en\". } }"}}
{"id": "test_3860", "question": "Which of the entities named \"Sway\" are human settlements located in one of these countries: Canada, Japan, Norway, Ireland, Spain, United States, Belgium, Finland, Sweden, Denmark, Poland, Lithuania, Italy, Armenia, Serbia, Australia, Austria, Argentina, Portugal, New Zealand, India, Iran, Thailand, or Kosovo?", "sparql": "SELECT DISTINCT ?settlement WHERE {\n  ?settlement wdt:P31 ?type .\n  ?type wdt:P279* wd:Q486972 .  # human settlement\n  ?settlement wdt:P131* ?country .\n  MINUS {\n    ?settlement wdt:P31 wd:Q13406463 .  # exclude Wikidata duplicate pages\n  }\n  FILTER (?country IN (\n    wd:Q16, wd:Q17, wd:Q20, wd:Q27, wd:Q29, wd:Q30, wd:Q31, wd:Q33, wd:Q34, wd:Q35, \n    wd:Q36, wd:Q37, wd:Q38, wd:Q39, wd:Q40, wd:Q45, wd:Q55, wd:Q142, wd:Q145, wd:Q155, \n    wd:Q159, wd:Q183, wd:Q184, wd:Q191, wd:Q211, wd:Q213, wd:Q215, wd:Q218, wd:Q230, \n    wd:Q233, wd:Q258, wd:Q399, wd:Q403, wd:Q408, wd:Q414, wd:Q664, wd:Q668, wd:Q794, \n    wd:Q869, wd:Q1246\n  ))\n  FILTER (?settlement IN (\n    wd:Q7654068, wd:Q2372231, wd:Q18199129, wd:Q7654075, wd:Q962175, wd:Q28975508, \n    wd:Q24664595, wd:Q1892823, wd:Q442254, wd:Q3506462, wd:Q10686441, wd:Q4518342, \n    wd:Q3978598, wd:Q1455120, wd:Q7654070, wd:Q3646706, wd:Q13418239, wd:Q7764179, \n    wd:Q11245228, wd:Q23664575, wd:Q6532816, wd:Q7785872, wd:Q5159049, wd:Q17026911, \n    wd:Q7654073, wd:Q20650312, wd:Q2441290, wd:Q20925616, wd:Q7786454, wd:Q12004481, \n    wd:Q39069884, wd:Q18386851, wd:Q16728083, wd:Q35430677, wd:Q17630874, wd:Q3978595, \n    wd:Q17020625, wd:Q4839039, wd:Q18418505, wd:Q7654071, wd:Q26634202, wd:Q7874531, \n    wd:Q39908417, wd:Q16259413, wd:Q12691686, wd:Q46662145, wd:Q7617147, wd:Q39215109, \n    wd:Q15436257, wd:Q5577781\n  ))\n}", "paraphrases": ["Among the various entities called \"Sway\" (including music releases, people, and places), which one is a village or civil parish located in one of the specified countries?", "What is the only \"Sway\" entity from this list that is classified as a human settlement (like a village or civil parish) and located in one of the listed countries?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q486972> . ?var1 <http://www.wikidata.org/prop/direct/P131> * ?var3 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13406463> . } FILTER ( ( ?var3 IN ( <http://www.wikidata.org/entity/Q16> , <http://www.wikidata.org/entity/Q17> , <http://www.wikidata.org/entity/Q20> , <http://www.wikidata.org/entity/Q27> , <http://www.wikidata.org/entity/Q29> , <http://www.wikidata.org/entity/Q30> , <http://www.wikidata.org/entity/Q31> , <http://www.wikidata.org/entity/Q33> , <http://www.wikidata.org/entity/Q34> , <http://www.wikidata.org/entity/Q35> , <http://www.wikidata.org/entity/Q36> , <http://www.wikidata.org/entity/Q37> , <http://www.wikidata.org/entity/Q38> , <http://www.wikidata.org/entity/Q39> , <http://www.wikidata.org/entity/Q40> , <http://www.wikidata.org/entity/Q45> , <http://www.wikidata.org/entity/Q55> , <http://www.wikidata.org/entity/Q142> , <http://www.wikidata.org/entity/Q145> , <http://www.wikidata.org/entity/Q155> , <http://www.wikidata.org/entity/Q159> , <http://www.wikidata.org/entity/Q183> , <http://www.wikidata.org/entity/Q184> , <http://www.wikidata.org/entity/Q191> , <http://www.wikidata.org/entity/Q211> , <http://www.wikidata.org/entity/Q213> , <http://www.wikidata.org/entity/Q215> , <http://www.wikidata.org/entity/Q218> , <http://www.wikidata.org/entity/Q230> , <http://www.wikidata.org/entity/Q233> , <http://www.wikidata.org/entity/Q258> , <http://www.wikidata.org/entity/Q399> , <http://www.wikidata.org/entity/Q403> , <http://www.wikidata.org/entity/Q408> , <http://www.wikidata.org/entity/Q414> , <http://www.wikidata.org/entity/Q664> , <http://www.wikidata.org/entity/Q668> , <http://www.wikidata.org/entity/Q794> , <http://www.wikidata.org/entity/Q869> , <http://www.wikidata.org/entity/Q1246> ) ) ) . FILTER ( ( ?var1 IN ( <http://www.wikidata.org/entity/Q7654068> , <http://www.wikidata.org/entity/Q2372231> , <http://www.wikidata.org/entity/Q18199129> , <http://www.wikidata.org/entity/Q7654075> , <http://www.wikidata.org/entity/Q962175> , <http://www.wikidata.org/entity/Q28975508> , <http://www.wikidata.org/entity/Q24664595> , <http://www.wikidata.org/entity/Q1892823> , <http://www.wikidata.org/entity/Q442254> , <http://www.wikidata.org/entity/Q3506462> , <http://www.wikidata.org/entity/Q10686441> , <http://www.wikidata.org/entity/Q4518342> , <http://www.wikidata.org/entity/Q3978598> , <http://www.wikidata.org/entity/Q1455120> , <http://www.wikidata.org/entity/Q7654070> , <http://www.wikidata.org/entity/Q3646706> , <http://www.wikidata.org/entity/Q13418239> , <http://www.wikidata.org/entity/Q7764179> , <http://www.wikidata.org/entity/Q11245228> , <http://www.wikidata.org/entity/Q23664575> , <http://www.wikidata.org/entity/Q6532816> , <http://www.wikidata.org/entity/Q7785872> , <http://www.wikidata.org/entity/Q5159049> , <http://www.wikidata.org/entity/Q17026911> , <http://www.wikidata.org/entity/Q7654073> , <http://www.wikidata.org/entity/Q20650312> , <http://www.wikidata.org/entity/Q2441290> , <http://www.wikidata.org/entity/Q20925616> , <http://www.wikidata.org/entity/Q7786454> , <http://www.wikidata.org/entity/Q12004481> , <http://www.wikidata.org/entity/Q39069884> , <http://www.wikidata.org/entity/Q18386851> , <http://www.wikidata.org/entity/Q16728083> , <http://www.wikidata.org/entity/Q35430677> , <http://www.wikidata.org/entity/Q17630874> , <http://www.wikidata.org/entity/Q3978595> , <http://www.wikidata.org/entity/Q17020625> , <http://www.wikidata.org/entity/Q4839039> , <http://www.wikidata.org/entity/Q18418505> , <http://www.wikidata.org/entity/Q7654071> , <http://www.wikidata.org/entity/Q26634202> , <http://www.wikidata.org/entity/Q7874531> , <http://www.wikidata.org/entity/Q39908417> , <http://www.wikidata.org/entity/Q16259413> , <http://www.wikidata.org/entity/Q12691686> , <http://www.wikidata.org/entity/Q46662145> , <http://www.wikidata.org/entity/Q7617147> , <http://www.wikidata.org/entity/Q39215109> , <http://www.wikidata.org/entity/Q15436257> , <http://www.wikidata.org/entity/Q5577781> ) ) ) . }"}}
{"id": "test_3861", "question": "What are the items in the Netherlands with coordinates between 3\u00b0E and 7\u00b0E and 51\u00b0N and 54\u00b0N, along with their images and Wikimedia Commons categories?", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?coord ?image ?category WHERE {\n  ?item wdt:P625 ?coord .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?item wdt:P373 ?category .\n  }\n  BIND( SUBSTR( STR( ?coord ) , 7 , 10 ) AS ?lonStr ) BIND( STRBEFORE( ?lonStr , \" \" ) AS ?lon ) BIND( STRBEFORE( SUBSTR( STR( ?coord ) , STRLEN( ?lon ) + 8 ) , \")\" ) AS ?lat ) FILTER ( xsd:double ( ?lon ) >= 3 && xsd:double ( ?lon ) <= 7 && xsd:double ( ?lat ) >= 51 && xsd:double ( ?lat ) <= 54 )\n}\nLIMIT 3000", "paraphrases": ["Show me entities in the North Sea region of the Netherlands that have images and Commons categories, located between 3\u20137 degrees east longitude and 51\u201354 degrees north latitude.", "Retrieve the labels, coordinates, images, and Commons categories of places in the Netherlands within the geographic bounds of 3\u20137\u00b0E and 51\u201354\u00b0N."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(0 52)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(1 53)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_3862", "question": "Cities in the United Kingdom with their coordinates and administrative regions.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?cityLabel ?coordinate ?adminLabel WHERE {\n  ?city wdt:P31 wd:Q515 .\n  ?city wdt:P17 wd:Q145 .\n  ?city wdt:P625 ?coordinate .\n  ?city wdt:P131 ?admin .\n  ?city rdfs:label ?cityLabel .\n  ?admin rdfs:label ?adminLabel .\n  FILTER(LANG(?cityLabel) = \"en\")\n  FILTER(LANG(?adminLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["What are the names, geographic coordinates, and administrative areas of cities in the United Kingdom?", "List all cities in the UK along with their locations and the counties or regions they belong to."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3Label ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q145> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_3863", "question": "What traditional or non-SI units have defined conversions to SI units, and what are their equivalent SI units?", "sparql": "PREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var1 ?var1Label ?var3 ?var4 ?var4Label WHERE {\n  ?var1 wdt:P2370 ?var3 .\n  ?var1 p:P2370 ?var5 .\n  ?var5 psv:P2370 ?var6 .\n  ?var6 wikibase:quantityUnit ?var4 .\n  FILTER ( NOT EXISTS {\n    ?var1 wdt:P111 []\n  }\n  ) .\n  ?var1 rdfs:label ?var1Label .\n  ?var4 rdfs:label ?var4Label .\n  FILTER ( LANG( ?var1Label ) = \"en\" ) FILTER ( LANG( ?var4Label ) = \"en\" )\n}\nORDER BY ASC ( ?var4Label )\nLIMIT 1000", "paraphrases": ["List units like Momme or cahizada that are converted to SI units such as grams or square metres, excluding units that directly measure physical quantities.", "Which units are not directly tied to a physical property but can be converted into SI units, and what are those SI units?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2370> ?var3 . ?var1 <http://www.wikidata.org/prop/P2370> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/value/P2370> ?var6 . ?var6 <http://wikiba.se/ontology#quantityUnit> ?var4 . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P111> [] . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv,en\". } } ORDER BY ASC( ?var4Label ) LIMIT 1000"}}
{"id": "test_3864", "question": "Units of measurement with their SI unit conversions and conversion factors, excluding currencies and cardinal numbers.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nSELECT DISTINCT ?unit ?conversionFactor ?siUnit ?unitLabel ?siUnitLabel WHERE {\n  ?unit wdt:P31 ?unitType .\n  ?unitType wdt:P279 * wd:Q47574 .\n  FILTER(?unitType != wd:Q8142)\n  FILTER(NOT EXISTS {\n    ?unit wdt:P31 wd:Q163875\n  })\n  ?unit p:P2370 / psv:P2370 [ wikibase:quantityAmount ?conversionFactor ; wikibase:quantityUnit ?siUnit ] .\n  ?unit rdfs:label ?unitLabel .\n  ?siUnit rdfs:label ?siUnitLabel .\n  FILTER(LANG(?unitLabel) = \"en\")\n  FILTER(LANG(?siUnitLabel) = \"en\")\n}", "paraphrases": ["What are the non-currency units of measurement that have defined conversions to SI units, and what are their conversion factors and target SI units?", "List all units of measurement (excluding currencies and cardinal numbers) along with their equivalent values in SI units and the corresponding SI unit names."], "info": {"raw_sparql": "SELECT REDUCED ?var1 ?var2 ?var3 ?var1Label ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q47574> . FILTER ( ( ( ?var4 != <http://www.wikidata.org/entity/Q8142> ) ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q163875> . } ) ) . ?var1 ( <http://www.wikidata.org/prop/P2370> / <http://www.wikidata.org/prop/statement/value/P2370> ) [ <http://wikiba.se/ontology#quantityAmount> ?var2 ; <http://wikiba.se/ontology#quantityUnit> ?var3 ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( EXISTS { [] <http://wikiba.se/ontology#quantityUnit> ?var1 . } ) ) . }"}}
{"id": "test_3865", "question": "Items in London with their images and coordinates", "sparql": "SELECT DISTINCT ?item ?itemLabel ?image ?coordinates WHERE { ?item (wdt:P131/wdt:P131*) wd:Q84 . OPTIONAL { ?item wdt:P18 ?image . } ?item wdt:P625 ?coordinates . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } LIMIT 1000", "paraphrases": ["What are the places located in London, along with their images and geographic coordinates?", "Show me a list of locations in London, including their names, pictures from Wikimedia Commons, and exact coordinates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P131> / <http://www.wikidata.org/prop/direct/P131> *) <http://www.wikidata.org/entity/Q84> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en,pt,de,fr\". } } LIMIT 35000"}}
{"id": "test_3866", "question": "Official names of cities with over 1 million population", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?city ?cityLabel ?officialName WHERE {\n  ?city(wdt:P31 / wdt:P279 *) wd:Q1637706 .\n  ?city wdt:P1448 ?officialName .\n  ?city rdfs:label ?cityLabel .\n  FILTER(LANG(?cityLabel) = \"en\")\n  FILTER(LANG(?officialName) = \"en\")\n}\nLIMIT 20", "paraphrases": ["What are the official English names of cities with more than one million residents?", "Show me the English official names and labels of all million-person cities."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1637706> . ?var1 <http://www.wikidata.org/prop/P1448> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 20"}}
{"id": "test_3867", "question": "List all geographic features within 1 kilometer of coordinates -3, 51.", "sparql": "SELECT ?item ?coord WHERE {\n  ?item wdt:P625 ?coord .\n  FILTER(geof:distance(?coord, \"POINT(-3 51)\"^^geo:wktLiteral) <= 1)\n}", "paraphrases": ["What places are located within 1 kilometer of the point at longitude -3 and latitude 51?", "Show me the entities and their coordinates that are no more than 1 kilometer away from Exeter, UK (latitude 51, longitude -3)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> \"POINT(-3 51)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"1\". } }"}}
{"id": "test_3868", "question": "French-speaking people with the surname Duval", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item WHERE {\n  ?item rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"fr\" ) FILTER ( CONTAINS( LCASE( ?label ) , \"duval\" ) ) ?item wdt:P31 wd:Q5 .\n}", "paraphrases": ["Who are the humans in Wikidata whose French label contains \"Duval\"?", "List all humans with the surname Duval in French-language labels."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"duval\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3869", "question": "Units of mass density with names in Latin script", "sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 wdt:P111 wd:Q29539 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) != \"\") BIND(LANG(?var1Label) AS ?langCode) ?lang wdt:P424 ?langCode . ?lang wdt:P282 wd:Q8229 . } LIMIT 10000", "paraphrases": ["What are the units used to measure mass density that have names written in the Latin alphabet?", "Show me the names of units for mass density in languages that use the Latin script."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/P111> <http://www.wikidata.org/entity/Q29539> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/P558> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P558> ?var2 ; <http://www.wikidata.org/prop/qualifier/P282> <http://www.wikidata.org/entity/Q8229> . } } LIMIT 10000"}}
{"id": "test_3870", "question": "List resorts and their coordinates within 15 km of longitude 34, latitude 27.", "sparql": "SELECT ?item ?location WHERE { ?item wdt:P625 ?location . FILTER(geof:latitude(?location) >= 26.865 && geof:latitude(?location) <= 27.135) FILTER(geof:longitude(?location) >= 33.848 && geof:longitude(?location) <= 34.152) } LIMIT 10", "paraphrases": ["What places are located within a 15-kilometer radius of the point (34\u00b0E, 27\u00b0N)?", "Show me the geographic locations of tourist resorts near Hurghada, Egypt, within 15 km of the coordinates 34, 27."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> \"POINT(34 27)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"15\". } }"}}
{"id": "test_3871", "question": "What are some towns in the United Kingdom?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?town WHERE {\n  ?town wdt:P31 wd:Q3957 ; wdt:P17 wd:Q145 .\n}\nLIMIT 10", "paraphrases": ["List towns located in the same country as Croydon.", "Show me examples of towns in England (or the UK), similar to Croydon."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q46> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2213391> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_3872", "question": "What are the hierarchical superclass categories of \"unit of measurement\" and \"quantity\" in Wikidata?", "sparql": "SELECT DISTINCT ?unit ?unitLabel ?superclass ?superclassLabel WHERE { VALUES ?unit { wd:Q47574 wd:Q309314 } ?unit wdt:P279* ?superclass . ?unit rdfs:label ?unitLabel . ?superclass rdfs:label ?superclassLabel . FILTER(LANG(?unitLabel) = \"en\") FILTER(LANG(?superclassLabel) = \"en\") } ORDER BY ?unit ?superclass", "paraphrases": ["Show me all the parent classes (including indirect ones) for unit of measurement and quantity, along with their English labels.", "What abstract concepts do \"unit of measurement\" and \"quantity\" belong to in the Wikidata ontology?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { VALUES ( ?var4 ) { ( <http://www.wikidata.org/entity/Q47574> ) ( <http://www.wikidata.org/entity/Q309314> ) } BIND ( <http://www.wikidata.org/entity/Q453224> AS ?var1 ). ?var1 ( <http://www.wikidata.org/prop/direct/P31> ?/ <http://www.wikidata.org/prop/direct/P279> *) ?var4 . ?var2 ^ <http://www.wikidata.org/prop/direct/P279> * ?var1 . ?var3 ^ <http://www.wikidata.org/prop/direct/P279> ?var2 . ?var3 <http://www.wikidata.org/prop/direct/P279> * ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de, en\". } }"}}
{"id": "test_3873", "question": "Who is Roland Blatmann in French?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person WHERE {\n  ?person rdfs:label \"Roland Blatmann\" @fr .\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["Which human has the French label 'Roland Blatmann'?", "Find the French-labeled person named Roland Blatmann."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"BLATMANN\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3874", "question": "What are the geographic coordinates of London, England?", "sparql": "SELECT DISTINCT ?settlement ?coordinates WHERE { ?settlement (wdt:P31/wdt:P279*) wd:Q486972 ; rdfs:label \"London\"@en ; wdt:P17 wd:Q145 ; wdt:P625 ?coordinates . }", "paraphrases": ["Can you tell me the location (latitude and longitude) of London, which is a human settlement in England?", "Show me the coordinates of the city of London in England, ensuring it is classified as a human settlement."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( COUNT ( ?var1 ) AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P17> [ <http://www.w3.org/2000/01/rdf-schema#label> \"England\"@en ] . ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q486972> ; <http://www.w3.org/2000/01/rdf-schema#label> \"London\"@en ; <http://www.wikidata.org/prop/direct/P17> ?var4 ; <http://www.wikidata.org/prop/direct/P625> ?var2 . } GROUP BY ?var2 ?var1"}}
{"id": "test_3875", "question": "What are the three-level hierarchical relationships above units of measurement and quantities in Wikidata?", "sparql": "SELECT DISTINCT ?level1 ?level1Label ?level2 ?level2Label ?level3 ?level3Label WHERE { VALUES ?target { wd:Q47574 wd:Q309314 } ?target wdt:P279 ?level3 . ?level3 wdt:P279 ?level2 . ?level2 wdt:P279 ?level1 . ?level1 rdfs:label ?level1Label . ?level2 rdfs:label ?level2Label . ?level3 rdfs:label ?level3Label . FILTER(LANG(?level1Label) = \"en\") FILTER(LANG(?level2Label) = \"en\") FILTER(LANG(?level3Label) = \"en\") }", "paraphrases": ["Show the class hierarchy from units of measurement and quantity up to their most general parent classes.", "List the superclass chains for units of measurement and quantity, showing three levels of parent classes in English."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { VALUES ( ?var4 ) { ( <http://www.wikidata.org/entity/Q47574> ) ( <http://www.wikidata.org/entity/Q309314> ) } BIND ( <http://www.wikidata.org/entity/Q13567259> AS ?var5 ). ?var5 ( <http://www.wikidata.org/prop/direct/P31> ?| <http://www.wikidata.org/prop/direct/P279> ?) ?var1 . ?var1 ( <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) ?var4 . ?var1 ( <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) ?var2 . ?var2 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> ) ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de, en\". } }"}}
{"id": "test_3876", "question": "Fictional cities or countries with population between 1 and 10 million located on a physical feature.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?fictionalPlaceLabel ?locationLabel ?population ?governmentLabel WHERE {\n  VALUES ?type {\n    wd:Q1964689 wd:Q1145276 wd:Q120200909 wd:Q17480830\n  }\n  ?fictionalPlace wdt:P31 ?type .\n  ?fictionalPlace wdt:P1082 ?population .\n  ?fictionalPlace wdt:P706 ?location .\n  OPTIONAL {\n    ?fictionalPlace wdt:P122 ?government .\n  }\n  ?fictionalPlace rdfs:label ?fictionalPlaceLabel .\n  ?location rdfs:label ?locationLabel .\n  OPTIONAL {\n    ?government rdfs:label ?governmentLabel .\n  }\n  FILTER(((?population >= 1000000) &&(?population < 10000000)))\n  FILTER(LANG(?fictionalPlaceLabel) = \"en\")\n  FILTER(LANG(?locationLabel) = \"en\")\n  FILTER(! BOUND(?governmentLabel) || LANG(?governmentLabel) = \"en\")\n}", "paraphrases": ["Which fictional places have a population of more than 1 million but less than 10 million and are located on a physical feature like an island or mountain?", "List fictional entities such as cities or countries from books or movies that have between 1 and 10 million inhabitants and are situated on a geographical feature, along with their location and government type if available."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3 ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P706> ?var2 . ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q14897293> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P122> ?var4 . } FILTER ( ( ( ?var3 >= \"1000000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( ?var3 < \"10000000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_3877", "question": "List places in Central Europe (between 10\u00b0E\u201317\u00b0E and 52\u00b0N\u201354\u00b0N) with their images, Wikimedia Commons categories, and postal codes.", "sparql": "SELECT ?item ?itemLabel ?coord ?image ?commonsCategory ?postalCode WHERE { ?item wdt:P625 ?coord . BIND(STRBEFORE(STR(?coord), \" \") AS ?longStr) . BIND(STRAFTER(STR(?coord), \" \") AS ?latStr) . BIND(xsd:double(SUBSTR(?longStr, 7)) AS ?longitude) . BIND(STRBEFORE(?latStr, \")\") AS ?latClean) . BIND(xsd:double(?latClean) AS ?latitude) . FILTER(?longitude >= 10 && ?longitude <= 17) . FILTER(?latitude >= 52 && ?latitude <= 54) . OPTIONAL { ?item wdt:P18 ?image . } OPTIONAL { ?item wdt:P373 ?commonsCategory . } OPTIONAL { ?item wdt:P969 ?postalCode . } FILTER(LANG(?itemLabel) = \"en\") . ?item rdfs:label ?itemLabel . } LIMIT 3000", "paraphrases": ["What are the English-named locations in Germany and nearby regions with coordinates between 10\u201317 degrees east and 52\u201354 degrees north, along with their associated images and Commons categories?", "Show me up to 3,000 locations in the geographic area spanning from 10\u00b0E to 17\u00b0E and 52\u00b0N to 54\u00b0N, including their labels, images, Wikimedia Commons categories, and postal codes, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(10 52)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(17 54)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_3878", "question": "What countries, continents, or cities is Vatican City located within or associated with?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?location ?locationLabel WHERE {\n  wd:Q237(wdt:P501 | wdt:P30 | wdt:P376) + ?location .\n  ?location rdfs:label ?locationLabel .\n  FILTER(LANG(?locationLabel) = \"en\")\n}\nORDER BY ?locationLabel", "paraphrases": ["List all places that Vatican City is an enclave within or is part of, such as its continent or surrounding territories.", "Show me the geographic hierarchy of Vatican City \u2014 which larger regions or countries contain it?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q19692880> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_3879", "question": "What is the hierarchical classification path from \"unit of measurement\" to \"quantity\" in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?unit ?unitLabel ?subclass ?subclassLabel ?quantity ?quantityLabel WHERE {\n  BIND(wd:Q47574 AS ?unit)\n  .\n  ?unit wdt:P279 ?subclass .\n  ?subclass wdt:P279 ?quantity .\n  FILTER(?quantity = wd:Q309314)\n  .\n  OPTIONAL {\n    ?unit rdfs:label ?unitLabel .\n    FILTER(LANG(?unitLabel) = \"en\")\n  }\n  .\n  OPTIONAL {\n    ?subclass rdfs:label ?subclassLabel .\n    FILTER(LANG(?subclassLabel) = \"en\")\n  }\n  .\n  OPTIONAL {\n    ?quantity rdfs:label ?quantityLabel .\n    FILTER(LANG(?quantityLabel) = \"en\")\n  }\n}", "paraphrases": ["Show me the subclass chain connecting unit of measurement to quantity, including their labels.", "Which classes does \"unit of measurement\" belong to, ultimately leading to \"quantity\"?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label WHERE { VALUES ( ?var5 ) { ( <http://www.wikidata.org/entity/Q47574> ) ( <http://www.wikidata.org/entity/Q309314> ) } BIND ( <http://www.wikidata.org/entity/Q72900> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> ? ?var2 . ?var2 ( <http://www.wikidata.org/prop/direct/p31> */ <http://www.wikidata.org/prop/direct/P279> *) ?var5 . ?var2 ( <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) ?var3 . ?var1 ( <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) ?var3 . ?var4 (^ <http://www.wikidata.org/prop/direct/P279> |^ <http://www.wikidata.org/prop/direct/P31> ) ?var3 . ?var4 ( <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de, en\". } }"}}
{"id": "test_3880", "question": "What are the coordinates of Llanelli and the administrative region it belongs to?", "sparql": "SELECT ?townCoords ?adminCoords WHERE { wd:Q990125 wdt:P625 ?townCoords . OPTIONAL { wd:Q990125 wdt:P131 ?admin . ?admin wdt:P625 ?adminCoords . } }", "paraphrases": ["Where is Llanelli located, and where is its county (Carmarthenshire) located in terms of geographic coordinates?", "Can you provide the GPS coordinates for the town of Llanelli and its parent administrative area?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q6661307> <http://www.wikidata.org/prop/direct/P625> ?var1 . OPTIONAL { <http://www.wikidata.org/entity/Q6661307> <http://www.wikidata.org/prop/direct/P131> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var2 . } }"}}
{"id": "test_3881", "question": "What are the administrative areas in Wales that have geoshape map data on Wikimedia Commons?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?area ?areaLabel ?geoshape WHERE {\n  ?area wdt:P131 wd:Q25 .\n  ?area wdt:P3896 ?geoshape .\n  ?area rdfs:label ?areaLabel .\n  FILTER(LANG(?areaLabel) = \"en\")\n}", "paraphrases": ["Can you list the Welsh counties and principal areas along with their corresponding map files from Wikimedia Commons?", "Show me the map data links for places in Wales, including their English names."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P131> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q25> . ?var1 <http://www.wikidata.org/prop/direct/P3896> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3882", "question": "All locations related to New York City via country, continent, administrative division, or location on astronomical body.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?location WHERE {\n  wd:Q60 ( wdt:P30 | wdt:P17 | wdt:P131 | wdt:P376 | wdt:P501 ) * ?location .\n}\nLIMIT 100", "paraphrases": ["What countries, continents, administrative regions, and astronomical bodies is New York City connected to through geographic or political relationships?", "Show me all places that New York City is part of or located within, including its country, continent, and administrative subdivisions."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q10433213> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_3883", "question": "French-labeled people with the surname Pflieger", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person WHERE {\n  ?person rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"fr\" ) .\n  FILTER ( REGEX( ?label , \"Pflieger\" , \"i\" ) ) .\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["Who are the people named Pflieger that have a French label and are human?", "List all humans whose French-language label contains the surname Pflieger."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"pflieger\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_3884", "question": "What are the direct subclasses and superclasses of \"unit of measurement\" and \"quantity\" in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?unit ?unitLabel ?subclass ?subclassLabel ?superclass ?superclassLabel ?super ?superLabel WHERE {\n  VALUES ?unit {\n    wd:Q47574 wd:Q309314\n  }\n  ?unit wdt:P279 ?superclass .\n  ?superclass wdt:P279 ?super .\n  ?subclass wdt:P279 ?unit .\n  ?unit rdfs:label ?unitLabel .\n  ?subclass rdfs:label ?subclassLabel .\n  ?superclass rdfs:label ?superclassLabel .\n  ?super rdfs:label ?superLabel .\n  FILTER ( LANG( ?unitLabel ) = \"en\" ) FILTER ( LANG( ?subclassLabel ) = \"en\" ) FILTER ( LANG( ?superclassLabel ) = \"en\" ) FILTER ( LANG( ?superLabel ) = \"en\" )\n}", "paraphrases": ["Show the hierarchy of \"unit of measurement\" and \"quantity\" \u2014 what are their immediate parent classes and child classes?", "Can you list the English-labeled subclasses and two-level superclasses for units of measurement and quantities?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { VALUES ( ?var4 ) { ( <http://www.wikidata.org/entity/Q47574> ) ( <http://www.wikidata.org/entity/Q309314> ) } BIND ( <http://www.wikidata.org/entity/Q16272121> AS ?var5 ). ?var5 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> ) ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P279> * ?var4 . ?var2 ^ <http://www.wikidata.org/prop/direct/P279> * ?var1 . ?var3 ^ <http://www.wikidata.org/prop/direct/P279> ?var2 . ?var3 <http://www.wikidata.org/prop/direct/P279> * ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de, en\". } }"}}
{"id": "test_3885", "question": "What are the geographic coordinates (latitude and longitude) of Sainte-Rose, Guadeloupe?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nSELECT ?location ?wkt ?latitude ?longitude WHERE {\n  VALUES(?location) {(wd:Q996367)\n  }\n  ?location p:P625 [ ps:P625 ?wkt ; psv:P625 [ wikibase:geoLongitude ?longitude ; wikibase:geoLatitude ?latitude ] ] .\n}", "paraphrases": ["Can you provide the WKT representation and decimal latitude/longitude for the commune of Sainte-Rose in France?", "Where is Sainte-Rose located in terms of latitude and longitude?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q996367> ) } ?var1 <http://www.wikidata.org/prop/P625> [ <http://www.wikidata.org/prop/statement/P625> ?var2 ; <http://www.wikidata.org/prop/statement/value/P625> [ <http://wikiba.se/ontology#geoLongitude> ?var4 ; <http://wikiba.se/ontology#geoLatitude> ?var3 ] ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3886", "question": "Lieutenancy areas in the UK and their coordinates", "sparql": "SELECT ?area ?coordinates WHERE { ?area (wdt:P31*/wdt:P279*) wd:Q6544379 ; wdt:P625 ?coordinates .}", "paraphrases": ["What are the geographic coordinates of all lieutenancy areas in the United Kingdom, including their subclasses?", "List all lieutenancy areas in the UK along with their coordinates, including those that are subclasses of lieutenancy area."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q6544379> ; <http://www.wikidata.org/prop/direct/P625> ?var2 . }"}}
{"id": "test_3887", "question": "What cities and landmarks in the Pune region have images, Commons categories, or street addresses listed on Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nSELECT DISTINCT ?item ?itemLabel ?coord ?image ?commonsCategory ?address WHERE {\n  ?item wdt:P625 ?coord .\n  BIND( STRBEFORE( SUBSTR( STR( ?coord ) , 7 ) , \" \" ) AS ?lonStr ) .\n  BIND( STRAFTER( SUBSTR( STR( ?coord ) , 7 ) , \" \" ) AS ?latStrWithParen ) .\n  BIND( STRBEFORE( ?latStrWithParen , \")\" ) AS ?latStr ) .\n  BIND( xsd:double ( ?lonStr ) AS ?lon ) .\n  BIND( xsd:double ( ?latStr ) AS ?lat ) .\n  FILTER ( ?lon >= 73.5 && ?lon <= 74.5 && ?lat >= 17.5 && ?lat <= 19.0 ) .\n  ?item rdfs:label ?itemLabel .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?item wdt:P373 ?commonsCategory .\n  }\n  OPTIONAL {\n    ?item wdt:P969 ?address .\n  }\n}\nLIMIT 3000", "paraphrases": ["Show me geographic locations between 73.5\u00b0E and 74.5\u00b0E, and 17.5\u00b0N and 19.0\u00b0N, along with their images, Wikimedia Commons categories, and addresses.", "List all places in Maharashtra near Pune that have coordinates, photos, and related Wikimedia Commons categories."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(76 35)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(78 36)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_3888", "question": "What countries, regions, or continents is the Denkmal Kaiser Wilhelm I. located in?", "sparql": "SELECT DISTINCT ?location WHERE { wd:Q42741984 (wdt:P17 | wdt:P131 | wdt:P30) ?location .}", "paraphrases": ["Can you tell me the administrative division and country where the Kaiser Wilhelm I monument is situated?", "Where is the Denkmal Kaiser Wilhelm I. located? Show its town, state, and continent."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q42741984> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_3889", "question": "Human settlements in Russia with their Russian names, coordinates, and administrative districts.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?settlement ?coordinates ?russianLabel ?administrativeEntity ?administrativeLabel WHERE {\n  ?settlement wdt:P17 wd:Q159 .\n  ?settlement wdt:P31 wd:Q486972 .\n  OPTIONAL {\n    ?settlement wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    ?settlement rdfs:label ?russianLabel .\n    FILTER(LANG(?russianLabel) = \"ru\")\n  }\n  OPTIONAL {\n    ?settlement wdt:P131 ?administrativeEntity .\n    ?administrativeEntity rdfs:label ?administrativeLabel .\n    FILTER(LANG(?administrativeLabel) = \"ru\")\n  }\n}\nLIMIT 10", "paraphrases": ["What are the Russian names, geographic coordinates, and administrative divisions of human settlements in Russia?", "Show me a list of human settlements in Russia, including their Russian names, coordinates, and the Russian names of the districts they belong to."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var4Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru,en\". } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q159> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q486972> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1705> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var4 . } } LIMIT 10"}}
{"id": "test_3890", "question": "What are the world's largest cities by population, with over one million residents?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?city ?population WHERE {\n  ?city wdt:P1082 ?population .\n  ?city wdt:P31 wd:Q1637706 .\n}\nORDER BY DESC ( ?population )", "paraphrases": ["Can you list cities with a population of more than one million, sorted from highest to lowest population?", "Show me the top cities with over a million people, ranked by population size."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { } OPTIONAL { } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1637706> . } ORDER BY DESC( ?var2 )"}}
{"id": "test_3891", "question": "What are the direct superclass categories of \"unit of measurement\" and \"quantity\" in Wikidata?", "sparql": "SELECT DISTINCT ?unit ?unitLabel ?superclass ?superclassLabel WHERE { VALUES ?unit { wd:Q47574 wd:Q309314 } ?unit wdt:P279 ?superclass . ?unit rdfs:label ?unitLabel . ?superclass rdfs:label ?superclassLabel . FILTER(LANG(?unitLabel) = 'en') . FILTER(LANG(?superclassLabel) = 'en') }", "paraphrases": ["Show me the English labels of the classes that \"unit of measurement\" and \"quantity\" are subclasses of.", "Which higher-level categories do \"unit of measurement\" and \"quantity\" belong to according to Wikidata's ontology?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { VALUES ( ?var4 ) { ( <http://www.wikidata.org/entity/Q47574> ) ( <http://www.wikidata.org/entity/Q309314> ) } BIND ( <http://www.wikidata.org/entity/Q152662> AS ?var5 ). ?var5 ( <http://www.wikidata.org/prop/direct/P31> ?| <http://www.wikidata.org/prop/direct/P279> ?) ?var1 . ?var1 ( <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) ?var4 . ?var1 ( <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) ?var2 . ?var2 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> ) ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de, en\". } }"}}
{"id": "test_3892", "question": "Places in central England with coordinates, images, and Commons categories between latitudes 52 and 53 and longitudes -2 and 0.", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel ?coord ?image ?category ?address WHERE {\n  ?item wdt:P625 ?coord .\n  BIND( STRBEFORE( STRAFTER( STR( ?coord ) , \"POINT(\" ) , \")\" ) AS ?coords ) .\n  BIND( STRBEFORE( ?coords , \" \" ) AS ?lon ) .\n  BIND( STRAFTER( ?coords , \" \" ) AS ?lat ) .\n  FILTER ( xsd:double ( ?lon ) >= -2.0 && xsd:double ( ?lon ) <= 0.0 && xsd:double ( ?lat ) >= 52.0 && xsd:double ( ?lat ) <= 53.0 ) OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?item wdt:P373 ?category .\n  }\n  OPTIONAL {\n    ?item wdt:P969 ?address .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}\nLIMIT 3000", "paraphrases": ["What are the buildings and towns in England located between longitude -2 and 0 and latitude 52 and 53, along with their images, Wikimedia Commons categories, and addresses?", "Show me English-labeled locations in central England (between -2\u00b0 and 0\u00b0 longitude and 52\u00b0 and 53\u00b0 latitude), including their images, Commons categories, and street addresses if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(-2 52)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(0 53)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_3893", "question": "Geography of cities, provinces, and federated states in English, excluding disambiguation pages.", "sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { VALUES ?type { wd:Q515 wd:Q107390 wd:Q34876 wd:Q1048835 } ?var2 wdt:P31 ?type . ?var2 wdt:P2633 ?var1 . FILTER NOT EXISTS { ?var1 wdt:P1269 ?var2 } FILTER NOT EXISTS { ?var2 wdt:P31 wd:Q4167836 } ?var1 rdfs:label ?var1Label . ?var2 rdfs:label ?var2Label . FILTER(LANG(?var1Label) = \"en\") FILTER(LANG(?var2Label) = \"en\")}", "paraphrases": ["Which places like cities, provinces, or federated states have dedicated \"geography of\" articles, and what are those articles called?", "List the English labels of places (such as cities or regions) along with their corresponding \"geography of\" topic items, excluding disambiguation pages and redundant facet relationships."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3Label WHERE { VALUES ( ?var4 ) { ( <http://www.wikidata.org/entity/Q515> ) ( <http://www.wikidata.org/entity/Q107390> ) ( <http://www.wikidata.org/entity/Q34876> ) ( <http://www.wikidata.org/entity/Q1048835> ) } ?var2 <http://www.wikidata.org/prop/direct/P2633> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P910> ?var5 . } FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P1269> ?var2 . } ) ) . FILTER ( ( NOT EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167836> . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3894", "question": "Who is the French politician named Serge Prato?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?item WHERE {\n  ?item rdfs:label \"Serge Prato\" @fr .\n}", "paraphrases": ["Which Wikidata entity has the French label 'Serge Prato'?", "Find the person whose name in French is Serge Prato."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1559> \"Serge Prat\"@fr . }"}}
{"id": "test_3895", "question": "Items in Dorset, Hampshire, Wiltshire, and Berkshire with images and Commons categories.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel ?location ?image ?commonsCategory WHERE {\n  VALUES ?county {\n    wd:Q23159 wd:Q23204 wd:Q23183 wd:Q23220\n  }\n  ?item wdt:P131 ?county .\n  OPTIONAL {\n    ?item wdt:P625 ?location .\n  }\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?item wdt:P373 ?commonsCategory .\n  }\n  FILTER ( LANG( ?itemLabel ) = 'en' ) ?item rdfs:label ?itemLabel .\n}\nLIMIT 3000", "paraphrases": ["What landmarks, buildings, or places in southern England (Dorset, Hampshire, Wiltshire, Berkshire) have photos on Wikimedia Commons and associated categories?", "List items located in the counties of Dorset, Hampshire, Wiltshire, and Berkshire, along with their coordinates, images, and Wikimedia Commons categories."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(-1 49)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(-1 50)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_3896", "question": "Entities in Southeast Asia between 98\u00b0E and 105\u00b0E longitude and -4\u00b0N and 10\u00b0N latitude, with their English names, coordinates, images, Wikimedia Commons categories, and street addresses.", "sparql": "SELECT ?item ?itemLabel ?coord ?image ?commonsCategory ?address WHERE { ?item wdt:P625 ?coord . FILTER(geof:longitude(?coord) >= 98 && geof:longitude(?coord) <= 105) FILTER(geof:latitude(?coord) >= -4 && geof:latitude(?coord) <= 10) OPTIONAL { ?item wdt:P18 ?image . } OPTIONAL { ?item wdt:P373 ?commonsCategory . } OPTIONAL { ?item wdt:P969 ?address . } ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } LIMIT 3000", "paraphrases": ["What are the places in Southeast Asia (between 98\u00b0E\u2013105\u00b0E and -4\u00b0N\u201310\u00b0N) that have English labels, geographic coordinates, images on Wikimedia Commons, Commons categories, and street addresses?", "List all geographic entities in the region spanning from Myanmar to northern Malaysia with coordinates in the range of 98\u2013105\u00b0E and -4\u201310\u00b0N, along with their English names, images, Commons categories, and addresses if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(98 -4)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"string1\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string2\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_3897", "question": "What are the geographic coordinates of Moscow, Russia?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?coordinates WHERE {\n  wd:Q649 rdfs:label ?label ; wdt:P625 ?coordinates .\n}\nLIMIT 1", "paraphrases": ["Where is the capital of Russia located?", "Can you provide the latitude and longitude of Moscow?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Moscow\"@en ; <http://www.wikidata.org/prop/direct/P625> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru,en\". } } LIMIT 100"}}
{"id": "test_3898", "question": "What are the hierarchical categories above \"village\" in Wikidata, and what are their immediate parent categories?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subclass ?subclassLabel ?superclass ?superclassLabel WHERE {\n  {\n    wd:Q532 wdt:P279 ?subclass .\n    ?subclass rdfs:label ?subclassLabel .\n    FILTER ( LANG( ?subclassLabel ) = \"en\" ) OPTIONAL {\n      ?subclass wdt:P279 ?superclass .\n      ?superclass rdfs:label ?superclassLabel .\n      FILTER ( LANG( ?superclassLabel ) = \"en\" )\n    }\n  } UNION {\n    wd:Q532 wdt:P279 ?subclass1 .\n    ?subclass1 wdt:P279 ?subclass .\n    ?subclass rdfs:label ?subclassLabel .\n    FILTER ( LANG( ?subclassLabel ) = \"en\" ) OPTIONAL {\n      ?subclass wdt:P279 ?superclass .\n      ?superclass rdfs:label ?superclassLabel .\n      FILTER ( LANG( ?superclassLabel ) = \"en\" )\n    }\n  } UNION {\n    wd:Q532 wdt:P279 ?subclass1 .\n    ?subclass1 wdt:P279 ?subclass2 .\n    ?subclass2 wdt:P279 ?subclass .\n    ?subclass rdfs:label ?subclassLabel .\n    FILTER ( LANG( ?subclassLabel ) = \"en\" ) OPTIONAL {\n      ?subclass wdt:P279 ?superclass .\n      ?superclass rdfs:label ?superclassLabel .\n      FILTER ( LANG( ?superclassLabel ) = \"en\" )\n    }\n  }\n}\nLIMIT 200", "paraphrases": ["Show me all the types that a village is a subclass of, up to three levels deep, along with their English labels and their own parent types.", "List the classification hierarchy starting from village, showing each level and its direct superclass in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q532> <http://www.wikidata.org/prop/direct/P279> * ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_3899", "question": "What are some examples of physical locations in Wikidata?", "sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 wdt:P31 wd:Q17334923 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") } LIMIT 21", "paraphrases": ["Can you list 21 physical locations with their English names from Wikidata?", "Show me English-labeled places that are classified as physical locations in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q17334923> . } LIMIT 21 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3900", "question": "List of municipalities and their subclasses in Wikidata.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?municipality WHERE {\n  ?municipality wdt:P31 / wdt:P279 * wd:Q15284 .\n}\nLIMIT 100", "paraphrases": ["What are some examples of municipalities or their subtypes in Wikidata?", "Show me up to 100 entities that are either municipalities or belong to a subclass of municipality."], "info": {"raw_sparql": "SELECT ?var1 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/statement/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q15284> . } LIMIT 100"}}
{"id": "test_3901", "question": "Russian-named places and institutions in Russia", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P17 wd:Q159 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"ru\") FILTER(STRSTARTS(STR(?item), \"http://www.wikidata.org/entity/Q\")) } LIMIT 10", "paraphrases": ["What are some entities in Russia that have Russian-language labels?", "List items located in Russia with their names in Russian."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q159> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ?var1Label IN ( \"\u0420\u043e\u0441\u0441\u0438\u044f\"@ru ) ) ) . } LIMIT 10"}}
{"id": "test_3902", "question": "What properties are commonly used for municipalities in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?var1 ?var1Label WHERE {\n  ?var2 wdt:P31 wd:Q15284 .\n  ?var2 ?var1 ?var3 .\n}\nLIMIT 500", "paraphrases": ["Can you list the labels of all properties that are used on entities classified as municipalities?", "Show me the human-readable names of all properties associated with municipalities."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> * <http://www.wikidata.org/entity/Q550808> . ?var2 ?var1 ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } } LIMIT 500"}}
{"id": "test_3903", "question": "Geographic regions and their labels", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?region ?regionLabel WHERE {\n  ?region wdt:P31 wd:Q82794 .\n  ?region rdfs:label ?regionLabel .\n}\nLIMIT 100", "paraphrases": ["What are some geographic regions and what are their names?", "List geographic regions along with their labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q82794> . } LIMIT 100"}}
{"id": "test_3904", "question": "List heritage sites in Innsbruck with their images, coordinates, addresses, BDA IDs, and Tyrolean Art Cadastre IDs.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel ( SAMPLE( ?img ) AS ?image ) ( SAMPLE( ?coord ) AS ?coordinates ) ( SAMPLE( ?addr ) AS ?address ) ( GROUP_CONCAT( DISTINCT ?bdaId ; SEPARATOR = \", \" ) AS ?bdaIds ) ( GROUP_CONCAT( DISTINCT ?tyroleanId ; SEPARATOR = \", \" ) AS ?tyroleanIds ) WHERE {\n  ?item wdt:P1435 wd:Q1188447 .\n  ?item wdt:P131 / wdt:P964 \"70101\" .\n  OPTIONAL {\n    ?item wdt:P18 ?img .\n  }\n  OPTIONAL {\n    ?item wdt:P625 ?coord .\n  }\n  OPTIONAL {\n    ?item wdt:P969 ?addr .\n  }\n  OPTIONAL {\n    ?item wdt:P2951 ?bdaId .\n  }\n  OPTIONAL {\n    ?item wdt:P4219 ?tyroleanId .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" || LANG( ?itemLabel ) = \"\" )\n}\nGROUP BY ?item ?itemLabel", "paraphrases": ["What are the listed cultural heritage sites in Innsbruck, Austria, and what are their images, locations, addresses, and official identification numbers from the BDA and Tyrolean cadastre?", "Please provide a list of all heritage-protected buildings and sites in Innsbruck, including their Wikimedia Commons images, geographic coordinates, physical addresses, Bundesdenkmalamt IDs, and Tyrolean Art Cadastre inventory numbers \u2014 even if some of these details are missing."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( SAMPLE ( ?var2 ) AS ?var2 )( SAMPLE ( ?var3 ) AS ?var3 )( SAMPLE ( ?var4 ) AS ?var4 )( GROUP_CONCAT ( DISTINCT ?var5 ) AS ?var5 )( GROUP_CONCAT ( DISTINCT ?var6 ) AS ?var6 ) WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P1435> <http://www.wikidata.org/entity/Q1188447> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P131> ?var7 . ?var7 <http://www.wikidata.org/prop/direct/P964> \"70101\". OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2951> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P4219> ?var6 . } } UNION { ?var1 <http://www.wikidata.org/prop/direct/P1435> <http://www.wikidata.org/entity/Q1188447> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P131> ?var7 . ?var7 <http://www.wikidata.org/prop/direct/P964> \"70101\". OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2951> ?var5 . } BIND ( \"---\" AS ?var6 ). ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.wikidata.org/prop/novalue/P4219> . } } GROUP BY ?var1 ?var1Label"}}
{"id": "test_3905", "question": "Instances of subclasses of geographic region", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?var1 ?var1Label WHERE {\n  ?var1 wdt:P31 ?var2 .\n  ?var2 wdt:P279 wd:Q82794 .\n  ?var1 rdfs:label ?var1Label .\n  FILTER(LANG(?var1Label) = \"en\")\n}\nLIMIT 100", "paraphrases": ["What are some places that belong to categories like regions, basins, or hydrographic areas?", "List geographic locations that are classified as subclasses of geographic region, along with their names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/p31> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P279> + <http://www.wikidata.org/entity/Q82794> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 100"}}
{"id": "test_3906", "question": "Administrative regions containing San Francisco, including itself", "sparql": "SELECT ?administrativeEntity ?administrativeEntityLabel WHERE { wd:Q62 wdt:P131* ?administrativeEntity . ?administrativeEntity rdfs:label ?administrativeEntityLabel . FILTER(LANG(?administrativeEntityLabel) = \"en\") }", "paraphrases": ["What are all the administrative areas that San Francisco is part of, directly or indirectly?", "List all the places that San Francisco belongs to through the administrative hierarchy, up to the country level."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q62> <http://www.wikidata.org/prop/direct/P131> * ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl, en, en\". } }"}}
{"id": "test_3907", "question": "Villages with English and German labels", "sparql": "SELECT DISTINCT ?village ?labelEn ?labelDe WHERE { ?village wdt:P31 wd:Q532 . ?village rdfs:label ?labelEn . FILTER(LANG(?labelEn) = \"en\") . ?village rdfs:label ?labelDe . FILTER(LANG(?labelDe) = \"de\") } LIMIT 300", "paraphrases": ["Which villages have both an English and a German name on Wikidata?", "Show me a list of villages (instance of Q532) along with their English and German labels."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q532> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var5 ) = \"de\" ) ) ) . } LIMIT 300"}}
{"id": "test_3908", "question": "Human settlements in the United Kingdom", "sparql": "SELECT ?settlement ?settlementLabel WHERE { ?settlement wdt:P31 wd:Q486972 ; wdt:P17 wd:Q145 . ?settlement rdfs:label ?settlementLabel . FILTER(LANG(?settlementLabel) = \"en\") }", "paraphrases": ["What are the names of all human settlements in the United Kingdom?", "List the English names of all places in the United Kingdom that are classified as human settlements."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q486972> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q145> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3909", "question": "What property is most frequently used to connect \"Bridges of Love\" to other entities in Wikidata?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nSELECT ?property(COUNT(?property) AS ?count) WHERE {\n  ?item ?statementProperty wd:Q18379021 .\n  ?property wikibase:directClaim ?statementProperty .\n  ?property rdf:type wikibase:Property .\n}\nGROUP BY ?property\nORDER BY DESC(?count)\nLIMIT 1", "paraphrases": ["Which Wikidata property links \"Bridges of Love\" to other items, and how many such links exist?", "How many times is the \"followed by\" property used in relation to the TV series \"Bridges of Love\"?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q18379021> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_3910", "question": "What are the geographic locations (country, administrative divisions) associated with \u00c9glise Saint-Pierre-et-Saint-Paul de Chamilly?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?location WHERE {\n  {\n    wd:Q22965700 ( wdt:P30 | wdt:P17 | wdt:P131 ) ?location\n  } UNION {\n    wd:Q22965700 wdt:P131 ?admin .\n    ?admin wdt:P131 ?location\n  }\n}", "paraphrases": ["Can you list all the administrative regions and country that the church \u00c9glise Saint-Pierre-et-Saint-Paul de Chamilly belongs to, including its parent administrative units?", "Show me the geographic hierarchy of \u00c9glise Saint-Pierre-et-Saint-Paul de Chamilly, from its commune up to its country."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q22965700> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_3911", "question": "Heritage sites in Ravensburg with their designation and street addresses", "sparql": "SELECT DISTINCT ?item ?itemLabel ?designationLabel ?address WHERE { ?item wdt:P1435 ?designation . ?item wdt:P131 wd:Q6832 . ?item rdfs:label ?itemLabel . ?designation rdfs:label ?designationLabel . OPTIONAL { ?item wdt:P969 ?address . } FILTER(LANG(?itemLabel) = \"en\") FILTER(LANG(?designationLabel) = \"en\") } LIMIT 500", "paraphrases": ["What are the cultural heritage monuments in Ravensburg, and what are their English names and addresses?", "List all heritage-designated buildings in Ravensburg in English, along with their official designation and street addresses if available."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1435> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q6832> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } } LIMIT 500"}}
{"id": "test_3912", "question": "What are the towns and cities in Eastern Europe (between longitudes 23\u00b0 and 41\u00b0, and latitudes 44\u00b0 and 59\u00b0), along with their images, Wikimedia Commons categories, and addresses?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?coord ?image ?commonsCategory ?address WHERE {\n  ?item wdt:P625 ?coord .\n  BIND( REPLACE( SUBSTR( STR( ?coord ) , 7 ) , \"\\\\)\" , \"\" ) AS ?coordClean ) BIND( STRBEFORE( ?coordClean , \" \" ) AS ?lon ) BIND( STRAFTER( ?coordClean , \" \" ) AS ?lat ) BIND( xsd:double ( ?lon ) AS ?lonNum ) BIND( xsd:double ( ?lat ) AS ?latNum ) FILTER ( ?lonNum >= 23 && ?lonNum <= 41 && ?latNum >= 44 && ?latNum <= 59 ) OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?item wdt:P373 ?commonsCategory .\n  }\n  OPTIONAL {\n    ?item wdt:P969 ?address .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["List English-labeled locations in the bounding box from Romania to southern Finland, showing their coordinates, photos from Commons, and associated categories.", "Show me places in Ukraine, Moldova, and Romania with available images and Commons categories, located between 23\u00b0E and 41\u00b0E longitude and 44\u00b0N and 59\u00b0N latitude."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(44 23)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(59 41)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_3913", "question": "What are all the administrative regions that Llu\u00e7\u00e0 belongs to, including itself?", "sparql": "SELECT ?administrativeEntity (SAMPLE(?label) AS ?administrativeEntityLabel) WHERE { wd:Q13784 wdt:P131* ?administrativeEntity . ?administrativeEntity rdfs:label ?label . FILTER(LANG(?label) = \"en\" || LANG(?label) = \"\") } GROUP BY ?administrativeEntity", "paraphrases": ["List the hierarchy of administrative territories containing Llu\u00e7\u00e0, from the municipality up to the country.", "Show the full administrative hierarchy of Llu\u00e7\u00e0 in Spain, with English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q13784> <http://www.wikidata.org/prop/direct/P131> * ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl, en, es\". } }"}}
{"id": "test_3914", "question": "Human settlements in the United Kingdom with names ending in \"pool\" and their coordinates.", "sparql": "SELECT ?settlement ?label ?coordinates WHERE { ?settlement (wdt:P31/wdt:P279*) wd:Q486972 ; wdt:P17 wd:Q145 ; rdfs:label ?label ; wdt:P625 ?coordinates . FILTER(LANG(?label) = \"en\") FILTER(REGEX(?label, \"pool$\")) }", "paraphrases": ["What are the English-named places in the UK that end with \"pool\", and where are they located geographically?", "List all settlements in the United Kingdom whose names end in \"pool\", in English, along with their geographic coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q486972> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q145> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label ; <http://www.wikidata.org/prop/direct/P625> ?var2 . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . FILTER ( ( REGEX ( ?var1Label , \"(pool)$\" ) ) ) . }"}}
{"id": "test_3915", "question": "List all federal districts of Russia with their names and geographic coordinates.", "sparql": "SELECT ?district ?label ?coordinates WHERE { ?district (wdt:P31/wdt:P279*) wd:Q484215 . ?district wdt:P625 ?coordinates . ?district rdfs:label ?label .}", "paraphrases": ["What are the names and coordinates of all federal districts in Russia?", "Show me the labels (in all languages) and geographic coordinates for each federal district of Russia."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label ?var4Label ?var5 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q484215> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var6 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . } }"}}
{"id": "test_3916", "question": "What are the English-named settlements called \"Rothesay\" located in the United Kingdom, along with their descriptions and geographic coordinates?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?rothesay ?rothesayLabel ?description ?coord WHERE {\n  ?rothesay rdfs:label ?rothesayLabel .\n  FILTER(LANG(?rothesayLabel) = \"en\")\n  FILTER(CONTAINS(LCASE(?rothesayLabel) , \"rothesay\"))\n  .\n  ?rothesay wdt:P31 / wdt:P279 * wd:Q486972 .\n  OPTIONAL {\n    ?rothesay schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n  .\n  ?rothesay wdt:P625 ?coord .\n  ?rothesay wdt:P131 * wd:Q145 .\n}\nORDER BY ?rothesayLabel", "paraphrases": ["Show me the town of Rothesay in the UK, including its location and a brief English description.", "Give me the coordinates and description of Rothesay, Scotland, which is a human settlement in the United Kingdom."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q1818828> ) ( <http://www.wikidata.org/entity/Q411029> ) ( <http://www.wikidata.org/entity/Q3442975> ) ( <http://www.wikidata.org/entity/Q19605017> ) ( <http://www.wikidata.org/entity/Q28931994> ) ( <http://www.wikidata.org/entity/Q866902> ) ( <http://www.wikidata.org/entity/Q240864> ) ( <http://www.wikidata.org/entity/Q22467142> ) ( <http://www.wikidata.org/entity/Q22467134> ) ( <http://www.wikidata.org/entity/Q21949779> ) ( <http://www.wikidata.org/entity/Q21901638> ) ( <http://www.wikidata.org/entity/Q2168714> ) ( <http://www.wikidata.org/entity/Q22949352> ) ( <http://www.wikidata.org/entity/Q3941757> ) ( <http://www.wikidata.org/entity/Q2168722> ) ( <http://www.wikidata.org/entity/Q7370462> ) ( <http://www.wikidata.org/entity/Q29502297> ) ( <http://www.wikidata.org/entity/Q26317125> ) ( <http://www.wikidata.org/entity/Q26666356> ) ( <http://www.wikidata.org/entity/Q32828696> ) ( <http://www.wikidata.org/entity/Q24909413> ) ( <http://www.wikidata.org/entity/Q7370470> ) ( <http://www.wikidata.org/entity/Q26463044> ) ( <http://www.wikidata.org/entity/Q7370461> ) ( <http://www.wikidata.org/entity/Q7370463> ) ( <http://www.wikidata.org/entity/Q7370465> ) ( <http://www.wikidata.org/entity/Q7370464> ) ( <http://www.wikidata.org/entity/Q3365880> ) ( <http://www.wikidata.org/entity/Q7370467> ) ( <http://www.wikidata.org/entity/Q3097448> ) ( <http://www.wikidata.org/entity/Q7370469> ) ( <http://www.wikidata.org/entity/Q7370471> ) ( <http://www.wikidata.org/entity/Q1123916> ) ( <http://www.wikidata.org/entity/Q17775241> ) ( <http://www.wikidata.org/entity/Q17775063> ) ( <http://www.wikidata.org/entity/Q17570751> ) ( <http://www.wikidata.org/entity/Q17775923> ) } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q486972> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> * ?var4 . } FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q145> ) ) ) . OPTIONAL { ?var1 <http://schema.org/description> ?var2 . } FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . }"}}
{"id": "test_3917", "question": "What cities are located in the same region as Wroc\u0142aw?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?city ?cityLabel WHERE {\n  ?city wdt:P31 wd:Q515 ; wdt:P131 wd:Q54150 .\n  FILTER(?city != wd:Q1799)\n  OPTIONAL {\n    ?city rdfs:label ?cityLabel .\n    FILTER(LANG(?cityLabel) = \"en\")\n  }\n}\nLIMIT 100", "paraphrases": ["Can you list the nearby cities in Lower Silesia, excluding Wroc\u0142aw?", "Show me the names of other cities in the Lower Silesian Voivodeship besides Wroc\u0142aw."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { <http://www.wikidata.org/entity/Q1799> <http://www.wikidata.org/prop/direct/P625> ?var1 . SERVICE <http://wikiba.se/ontology#around> { ?var2 <http://www.wikidata.org/prop/direct/P625> ?var3 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> ?var1 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"200\". } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 100"}}
{"id": "test_3918", "question": "What is the Russian name and description of North Charleston?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?description WHERE {\n  wd:Q847538 rdfs:label ?label .\n  wd:Q847538 schema:description ?description .\n  FILTER ( LANG( ?label ) = \"ru\" ) FILTER ( LANG( ?description ) = \"ru\" )\n}", "paraphrases": ["How is North Charleston described in Russian?", "Can you provide the Russian label and description for the city of North Charleston?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q847538> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"ru\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"ru\" ) ) ) . } LIMIT 100"}}
{"id": "test_3919", "question": "What geographic regions (from local to continental) include the village of R\u00f6sa?", "sparql": "SELECT DISTINCT ?location ?locationLabel WHERE { wd:Q33108696 (wdt:P131|wdt:P17|wdt:P30)+ ?location . ?location rdfs:label ?locationLabel . FILTER(LANG(?locationLabel) = \"en\") }", "paraphrases": ["List all administrative divisions and countries that R\u00f6sa belongs to, up to the continent level.", "Show me the full geographic hierarchy of R\u00f6sa, including its municipality, county, country, and continent."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q33108696> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_3920", "question": "What are the types of human settlements called \"\u0433\u043e\u0440\u043e\u0434\" in Russian?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P279 * wd:Q486972 .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( ?itemLabel = \"\u0433\u043e\u0440\u043e\u0434\" @ru )\n}", "paraphrases": ["In Russian, what categories of human settlements are labeled \"\u0433\u043e\u0440\u043e\u0434\"?", "Which classes of inhabited places in Wikidata have the Russian label \"\u0433\u043e\u0440\u043e\u0434\"?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q486972> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( ?var1Label = \"\u0413\u043e\u0440\u043e\u0434\"@ru ) ) ) . }"}}
{"id": "test_3921", "question": "List towns and landmarks in northern Scotland and Northern Ireland with their coordinates, images, Commons categories, and postal codes.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?location ?image ?commonsCategory ?postalCode WHERE {\n  ?item wdt:P625 ?location .\n  BIND(STRBEFORE(STRAFTER(STR(?location) , \"POINT(\") , \" \") AS ?lonStr)\n  BIND(STRBEFORE(STRAFTER(STR(?location) , \" \") , \")\") AS ?latStr)\n  BIND(xsd:double(?lonStr) AS ?lon)\n  BIND(xsd:double(?latStr) AS ?lat)\n  FILTER(?lon >= -6 && ?lon <= -1 && ?lat >= 55 && ?lat <= 56)\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?item wdt:P373 ?commonsCategory .\n  }\n  OPTIONAL {\n    ?item wdt:P969 ?postalCode .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}\nLIMIT 3000", "paraphrases": ["What are the names, locations, images, and Commons categories of places located between longitude -6 and -1 and latitude 55 and 56?", "Please provide the English names, geographic coordinates, images, Wikimedia Commons categories, and postal codes of all geolocated entities in the region bounded by -6 to -1 longitude and 55 to 56 latitude."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(-6 55)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(-1 56)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_3922", "question": "Urban settlements in Russia with their coordinates", "sparql": "SELECT ?settlement ?label ?coordinates WHERE { ?settlement wdt:P31 wd:Q2661988 . ?settlement wdt:P17 wd:Q159 . OPTIONAL { ?settlement wdt:P625 ?coordinates . } ?settlement rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["What are the urban settlements in Russia, and where are they located geographically?", "List the English names of urban settlements in Russia along with their geographic coordinates, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2661988> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q159> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 . } }"}}
{"id": "test_3923", "question": "Administrative subdivisions of Thailand and their districts", "sparql": "SELECT ?level1 ?level1Label ?level2 ?level2Label WHERE { ?level1 wdt:P131 wd:Q869 . ?level2 wdt:P131 ?level1 . ?level1 rdfs:label ?level1Label . ?level2 rdfs:label ?level2Label . FILTER(LANG(?level1Label) = \"en\") FILTER(LANG(?level2Label) = \"en\")}", "paraphrases": ["What are the provinces of Thailand and what districts are within them?", "List the first- and second-level administrative divisions of Thailand in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q869> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P131> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3924", "question": "What countries, administrative regions, and continents is Petrota part of?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?var1 WHERE {\n  {\n    wd:Q3623495 wdt:P17 ?var1\n  } UNION {\n    wd:Q3623495 wdt:P131 ?var1\n  } UNION {\n    wd:Q3623495 wdt:P17 ?country .\n    ?country wdt:P30 ?var1\n  }\n}", "paraphrases": ["Show me the geographic and political hierarchy of Petrota, including its country and continent.", "Where is Petrota located? Include its municipality, country, and continent."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q3623495> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_3925", "question": "Items founded before their current administrative region, where the location assignment has no start date qualifier.", "sparql": "SELECT ?item (wdt:P131 AS ?property) ?adminEntity (wdt:P580 AS ?qualifierProperty) ?adminInception WHERE { ?item p:P131 ?stmt . ?stmt ps:P131 ?adminEntity . ?adminEntity wdt:P571 ?adminInception . OPTIONAL { ?item wdt:P571 ?itemInception } FILTER ( NOT EXISTS { ?stmt pq:P580 [] } ) FILTER ( BOUND(?itemInception) && ?itemInception < ?adminInception ) }", "paraphrases": ["Which buildings, towns, or organizations were created before the administrative area they are currently in was established, and where the location assignment does not specify a start date?", "Show me historical entities that existed prior to the creation of the administrative territory they are located in, excluding cases where the location assignment has a defined start time."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/P131> ?var6 . ?var6 <http://www.wikidata.org/prop/qualifier/P131> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P571> ?var5 . FILTER ( ( NOT EXISTS { ?var6 <http://www.wikidata.org/prop/qualifier/P580> ?var7 . } ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var8 . } FILTER ( ( ( ?var8 < ?var5 ) ) ) . VALUES ( ?var2 ) { ( <http://www.wikidata.org/prop/direct/P131> ) } VALUES ( ?var4 ) { ( <http://www.wikidata.org/prop/direct/P580> ) } }"}}
{"id": "test_3926", "question": "Human settlements in Russia with coordinates and OpenStreetMap IDs", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?settlement ?coordinates ?osmRelationId WHERE {\n  ?settlement wdt:P17 wd:Q159 .\n  ?settlement wdt:P31 wd:Q486972 .\n  ?settlement wdt:P625 ?coordinates .\n  OPTIONAL {\n    ?settlement wdt:P402 ?osmRelationId .\n  }\n}", "paraphrases": ["What are the geographic coordinates of human settlements in Russia, and do they have OpenStreetMap relation IDs?", "List all human settlements in Russia along with their coordinates and, if available, their OpenStreetMap relation IDs."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q159> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q486972> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P402> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru\". } }"}}
{"id": "test_3927", "question": "Items that changed administrative region with current location", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?item(SAMPLE(?itemLabelVar) AS ?itemLabel)(SAMPLE(?currentLocationLabelVar) AS ?currentLocationLabel) WHERE {\n  {\n    SELECT DISTINCT ?item ?currentLocation WHERE {\n      ?item p:P131 ?pastStatement .\n      ?pastStatement ps:P131 ?pastLocation .\n      ?pastStatement pq:P582 ?endTime .\n      ?item p:P131 ?currentStatement .\n      ?currentStatement ps:P131 ?currentLocation .\n      FILTER(NOT EXISTS {\n        ?currentStatement pq:P582 ?endTime2\n      })\n    }\n  }\n  ?item rdfs:label ?itemLabelVar .\n  ?currentLocation rdfs:label ?currentLocationLabelVar .\n}\nGROUP BY ?item", "paraphrases": ["Which places have moved from one administrative area to another, and what is their current administrative area?", "List towns and villages that have been reassigned to a different municipality, along with their current municipality."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var1 <http://www.wikidata.org/prop/P131> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P131> ?var2 . ?var1 <http://www.wikidata.org/prop/P131> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P131> ?var5 . ?var3 <http://www.wikidata.org/prop/qualifier/P582> ?var6 . FILTER ( ( NOT EXISTS { ?var4 <http://www.wikidata.org/prop/qualifier/P582> ?var7 . } ) ) . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3928", "question": "What are the names of spa towns in English?", "sparql": "SELECT ?var2Label WHERE { ?var2 wdt:P31 wd:Q4946461 . ?var2 rdfs:label ?var2Label . FILTER(LANGMATCHES(LANG(?var2Label), \"en\"))}", "paraphrases": ["Can you list all spa towns with their English labels?", "Which places are classified as spa towns and have English names?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4946461> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_3929", "question": "Properties associated with logical conjunction in Wikidata", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?property ?propertyLabel ?propertyDescription WHERE {\n  ?entity ?directProperty wd:Q191081 .\n  BIND( IRI( CONCAT ( \"http://www.wikidata.org/entity/\" , SUBSTR( STR( ?directProperty ) , 37 ) ) ) AS ?property ) .\n  ?property rdfs:label ?propertyLabel .\n  ?property schema:description ?propertyDescription .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" ) FILTER ( LANG( ?propertyDescription ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["What properties are used to link other concepts to the concept of logical conjunction (AND)?", "Show me the English labels and descriptions of properties that connect entities to logical conjunction."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q191081> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_3930", "question": "Coordinates of Newark settlements in the United Kingdom.", "sparql": "SELECT ?coord WHERE { ?newark rdfs:label \"Newark\" @en ; (wdt:P31/(wdt:P279)*) wd:Q486972 ; wdt:P17 wd:Q145 ; wdt:P625 ?coord . }", "paraphrases": ["What are the geographic coordinates of places named Newark that are human settlements in the United Kingdom?", "Show me the locations of all human settlements called Newark in the UK."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> \"England\"@en ; <http://www.wikidata.org/prop/direct/P17> ?var3 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> \"Newark\"@en ; ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q486972> ; <http://www.wikidata.org/prop/direct/P17> ?var3 ; <http://www.wikidata.org/prop/direct/P625> ?var1 . }"}}
{"id": "test_3931", "question": "Which topics in Wikidata have the most separate articles in the Encyclop\u00e6dia Britannica Online?", "sparql": "SELECT ?entity (COUNT(?britannicaId) AS ?count) WHERE { ?entity wdt:P1417 ?britannicaId . } GROUP BY ?entity ORDER BY DESC(?count)", "paraphrases": ["Show me entities that are associated with more than one Encyclop\u00e6dia Britannica ID, sorted by how many IDs they have.", "What are the most broadly covered concepts in the Encyclop\u00e6dia Britannica, based on how many distinct article IDs they link to in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1417> ?var2 . } GROUP BY ?var1 HAVING ( ( ?var3 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_3932", "question": "What are the administrative and geographic regions that Varosha, Blagoevgrad belongs to?", "sparql": "SELECT DISTINCT ?location WHERE { { wd:Q42534888 wdt:P131 ?location . } UNION { wd:Q42534888 wdt:P17 ?location . } UNION { wd:Q42534888 wdt:P17 ?country . ?country wdt:P30 ?location . } }", "paraphrases": ["Which city, country, and continent is the neighborhood Varosha, Blagoevgrad located in?", "Show me the full geographic hierarchy of Varosha, Blagoevgrad, including its city, country, and continent."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q42534888> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_3933", "question": "What administrative regions and continent does the village of Betak belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item WHERE {\n  wd:Q12476042 ( wdt:P131 | wdt:P17 | wdt:P30 ) * ?item .\n  FILTER ( ?item != wd:Q12476042 )\n}", "paraphrases": ["Can you list all the places that Betak is part of, from its subdistrict up to the continent?", "Show me the geographic and political hierarchy of Betak village in Indonesia."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q12476042> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_3934", "question": "What places are located within the municipality of Engelberg, Switzerland?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item(SAMPLE(?itemLabel) AS ?label) WHERE {\n  ?item wdt:P131 wd:Q64108 .\n  ?item rdfs:label ?itemLabel .\n}\nGROUP BY ?item", "paraphrases": ["List the names of all locations and features situated in Engelberg.", "Show me the items in Engelberg and their labels \u2014 one per item."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q64108> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } }"}}
{"id": "test_3935", "question": "List of places and buildings in Pilsting, Germany, with their German names.", "sparql": "SELECT ?location ?locationLabel WHERE { ?location wdt:P131 wd:Q511363 . ?location rdfs:label ?locationLabel . FILTER(LANG(?locationLabel) = \"de\") }", "paraphrases": ["What are the named locations within the municipality of Pilsting in Germany?", "Show me the German labels of all items located in Pilsting, Germany."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q511363> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_3936", "question": "Architectural structures in Berlin", "sparql": "SELECT ?structure ?structureLabel WHERE { ?structure wdt:P31 wd:Q811979 . ?structure wdt:P131 wd:Q64 . ?structure rdfs:label ?structureLabel . FILTER(LANG(?structureLabel) = \"en\")}", "paraphrases": ["What are the architectural structures located in Berlin?", "List the English-named buildings and structures in Berlin that are classified as architectural structures."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q811979> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q64> . }"}}
{"id": "test_3937", "question": "Halton settlements in the UK with coordinates and English descriptions", "sparql": "SELECT DISTINCT ?settlement ?settlementLabel ?description ?coordinates WHERE { ?settlement rdfs:label ?settlementLabel . FILTER(CONTAINS(STR(?settlementLabel), \"Halton\")) . ?settlement wdt:P31/wdt:P279* wd:Q486972 . ?settlement wdt:P131* wd:Q145 . OPTIONAL { ?settlement schema:description ?description . FILTER(LANG(?description) = \"en\") } . ?settlement wdt:P625 ?coordinates . } LIMIT 100", "paraphrases": ["What are the human settlements named Halton in the United Kingdom, and what are their locations and English descriptions?", "Please list all places in the UK with \"Halton\" in their name that are human settlements, along with their geographic coordinates and English descriptions."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q376141> ) ( <http://www.wikidata.org/entity/Q3337393> ) ( <http://www.wikidata.org/entity/Q3817101> ) ( <http://www.wikidata.org/entity/Q5643625> ) ( <http://www.wikidata.org/entity/Q19799130> ) ( <http://www.wikidata.org/entity/Q513052> ) ( <http://www.wikidata.org/entity/Q5643624> ) ( <http://www.wikidata.org/entity/Q22340071> ) ( <http://www.wikidata.org/entity/Q19787352> ) ( <http://www.wikidata.org/entity/Q453729> ) ( <http://www.wikidata.org/entity/Q1453578> ) ( <http://www.wikidata.org/entity/Q382458> ) ( <http://www.wikidata.org/entity/Q425070> ) ( <http://www.wikidata.org/entity/Q2301986> ) ( <http://www.wikidata.org/entity/Q2399831> ) ( <http://www.wikidata.org/entity/Q638216> ) ( <http://www.wikidata.org/entity/Q2678725> ) ( <http://www.wikidata.org/entity/Q1812699> ) ( <http://www.wikidata.org/entity/Q2019520> ) ( <http://www.wikidata.org/entity/Q5555209> ) ( <http://www.wikidata.org/entity/Q5643661> ) ( <http://www.wikidata.org/entity/Q3126269> ) ( <http://www.wikidata.org/entity/Q5643622> ) ( <http://www.wikidata.org/entity/Q24660186> ) ( <http://www.wikidata.org/entity/Q24674308> ) ( <http://www.wikidata.org/entity/Q14875161> ) ( <http://www.wikidata.org/entity/Q5643626> ) ( <http://www.wikidata.org/entity/Q956578> ) ( <http://www.wikidata.org/entity/Q16993595> ) ( <http://www.wikidata.org/entity/Q5643652> ) ( <http://www.wikidata.org/entity/Q21929009> ) ( <http://www.wikidata.org/entity/Q24660185> ) ( <http://www.wikidata.org/entity/Q5643679> ) ( <http://www.wikidata.org/entity/Q288641> ) ( <http://www.wikidata.org/entity/Q5643675> ) ( <http://www.wikidata.org/entity/Q5643645> ) ( <http://www.wikidata.org/entity/Q19021540> ) ( <http://www.wikidata.org/entity/Q19111500> ) ( <http://www.wikidata.org/entity/Q19021533> ) ( <http://www.wikidata.org/entity/Q413129> ) ( <http://www.wikidata.org/entity/Q5643668> ) ( <http://www.wikidata.org/entity/Q5643673> ) ( <http://www.wikidata.org/entity/Q15222644> ) ( <http://www.wikidata.org/entity/Q16931184> ) ( <http://www.wikidata.org/entity/Q5643641> ) ( <http://www.wikidata.org/entity/Q5643638> ) ( <http://www.wikidata.org/entity/Q5643636> ) ( <http://www.wikidata.org/entity/Q5643662> ) ( <http://www.wikidata.org/entity/Q16983147> ) ( <http://www.wikidata.org/entity/Q29561122> ) } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q486972> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> * ?var4 . } FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q145> ) ) ) . OPTIONAL { ?var1 <http://schema.org/description> ?var2 . } FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . }"}}
{"id": "test_3938", "question": "What are the geographic coordinates of Bremgarten bei Bern?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?coordinates WHERE {\n  wd:Q68185 wdt:P625 ?coordinates ; wdt:P31 wd:Q70208 .\n}", "paraphrases": ["Coordinates of Bremgarten bei Bern, Switzerland", "Can you tell me the latitude and longitude of Bremgarten bei Bern, which is a municipality in the canton of Bern?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q68185> <http://www.wikidata.org/prop/direct/P625> ?var1 ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q70208> . }"}}
{"id": "test_3939", "question": "Villages in Poland with English and Hebrew labels and Hebrew Wikipedia pages", "sparql": "SELECT DISTINCT ?village ?labelEn ?labelHe WHERE { ?village wdt:P31 wd:Q532 ; wdt:P17 wd:Q36 ; rdfs:label ?labelEn ; rdfs:label ?labelHe . FILTER (LANG(?labelEn) = \"en\") FILTER (LANG(?labelHe) = \"he\") . ?wikipediaPage schema:about ?village ; schema:isPartOf <https://he.wikipedia.org/> ; schema:name ?heTitle . } LIMIT 300", "paraphrases": ["Which villages in Poland have both an English and a Hebrew label on Wikidata, and also a corresponding page on the Hebrew Wikipedia?", "Show me the English and Hebrew names of villages in Poland that have a Hebrew Wikipedia page."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q532> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q36> . ?var5 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://he.wikipedia.org/> ; <http://schema.org/name> ?var6 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"he\" ) ) ) . } LIMIT 300"}}
{"id": "test_3940", "question": "Spanish labels of properties and their values for the village Bielaru\u015b.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(SAMPLE(?propertyLabel) AS ?label)(COUNT(?value) AS ?count)(GROUP_CONCAT(?valueLabel ; SEPARATOR = \", \") AS ?valueLabels) WHERE {\n  wd:Q4081531 ?property ?value .\n  ?value rdfs:label ?valueLabel .\n  FILTER(LANG(?valueLabel) = \"es\")\n  .\n  ?propItem wikibase:directClaim ?property .\n  ?propItem rdfs:label ?propertyLabel .\n  FILTER(LANG(?propertyLabel) = \"es\")\n}\nGROUP BY ?property", "paraphrases": ["What are the Spanish labels of the properties and their corresponding values for the village Bielaru\u015b in Wikidata?", "Show me the properties of the village Bielaru\u015b in Spanish, along with the Spanish names of the values they point to, and how many times each property is used."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q4081531> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"es\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"es\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_3941", "question": "What administrative and geographic regions include Sedlejovice?", "sparql": "SELECT DISTINCT ?var1 ?label WHERE { wd:Q25412031 (wdt:P131|wdt:P17|wdt:P30)* ?var1 . ?var1 rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["What countries, continents, and administrative areas is Sedlejovice part of, directly or indirectly?", "List all the places that Sedlejovice belongs to through its administrative and geographic hierarchy, including country and continent."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q25412031> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_3942", "question": "What countries, administrative regions, and continents are associated with \u00cele-de-France?", "sparql": "SELECT DISTINCT ?location WHERE { { wd:Q13917 wdt:P131 ?location } UNION { wd:Q13917 wdt:P17 ?location } UNION { wd:Q13917 wdt:P17 ?country . ?country wdt:P30 ?location } UNION { VALUES (?location) { (wd:Q13917) } } }", "paraphrases": ["Show all geographic and political entities related to \u00cele-de-France, including its country and continent.", "Find the location hierarchy of \u00cele-de-France: its administrative parent, country, and continent."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q23993253> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_3943", "question": "French department with INSEE code 02 and its region", "sparql": "SELECT DISTINCT ?departmentLabel ?departmentCode ?regionLabel ?regionCode WHERE { ?department p:P31 ?statement . { ?statement ps:P31 wd:Q6465 . } UNION { ?statement ps:P31 wd:Q202216 . } UNION { ?statement ps:P31 wd:Q719487 . } UNION { ?statement ps:P31 wd:Q3408484 . } FILTER ( NOT EXISTS { ?statement pq:P582 ?endDate } ) ?department wdt:P2586 ?departmentCode . ?department wdt:P131 ?region . ?region wdt:P2585 ?regionCode . ?department rdfs:label ?departmentLabel . ?region rdfs:label ?regionLabel . FILTER (LANG(?departmentLabel) = \"en\") FILTER (LANG(?regionLabel) = \"en\") FILTER (?departmentCode = \"02\") } ORDER BY ASC(?departmentCode)", "paraphrases": ["What is the French department with INSEE code 02, and in which region is it located?", "Show me the name of the French department with code 02, along with the name and INSEE code of the region it belongs to."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2 ?var3Label ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 ?var12 ?var13Label ?var14 ?var15Label WHERE { ?var1 <http://www.wikidata.org/prop/P31> ?var16 . { ?var16 <http://www.wikidata.org/prop/statement/P31> <http://www.wikidata.org/entity/Q6465> . } UNION { ?var16 <http://www.wikidata.org/prop/statement/P31> <http://www.wikidata.org/entity/Q202216> . } UNION { ?var16 <http://www.wikidata.org/prop/statement/P31> <http://www.wikidata.org/entity/Q719487> . } UNION { ?var16 <http://www.wikidata.org/prop/statement/P31> <http://www.wikidata.org/entity/Q3408484> . } ?var1 <http://www.wikidata.org/prop/direct/P2586> ?var2 . FILTER ( ( NOT EXISTS { ?var16 <http://www.wikidata.org/prop/qualifier/P582> ?var17 . } ) ) . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var13 . ?var13 <http://www.wikidata.org/prop/P31> ?var18 . ?var13 <http://www.wikidata.org/prop/direct/P2585> ?var14 . FILTER ( ( ?var14 IN ( \"02\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } ORDER BY ASC( ?var2 )"}}
{"id": "test_3944", "question": "Streets in Bad Doberan and their descriptions in multiple languages", "sparql": "SELECT ?street ?streetLabel ?description WHERE { ?street wdt:P31 wd:Q79007 ; wdt:P131 wd:Q9536 ; schema:description ?description .}", "paraphrases": ["What are the streets in Bad Doberan, Germany, and how are they described in different languages?", "List all streets located in Bad Doberan along with their multilingual descriptions."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q79007> ; <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q9536> ; <http://schema.org/description> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3945", "question": "List geographic features in Iceland with coordinates between longitude -25 and -11 and latitude 63 and 67, including their images, Commons categories, and postal codes.", "sparql": "SELECT ?item ?itemLabel ?coord ?image ?commonsCategory ?postalCode WHERE { ?item wdt:P625 ?coord . BIND(STRBEFORE(SUBSTR(STR(?coord), 7), \" \") AS ?longStr) BIND(REPLACE(STRAFTER(SUBSTR(STR(?coord), 7), \" \"), \"\\\\)\", \"\") AS ?latStrClean) BIND(xsd:double(?longStr) AS ?long) BIND(xsd:double(?latStrClean) AS ?lat) FILTER(?long >= -25 && ?long <= -11) FILTER(?lat >= 63 && ?lat <= 67) OPTIONAL { ?item wdt:P18 ?image . } OPTIONAL { ?item wdt:P373 ?commonsCategory . } OPTIONAL { ?item wdt:P281 ?postalCode . } ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } LIMIT 3000", "paraphrases": ["What places in the North Atlantic region between 63\u00b0N and 67\u00b0N latitude and -25\u00b0 and -11\u00b0 longitude have images, Wikimedia Commons categories, or postal codes listed in Wikidata?", "Show me up to 3000 geographic locations in Iceland with their labels, coordinates, images, Commons categories, and postal codes, filtered to the area bounded by longitude -25 to -11 and latitude 63 to 67."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"string1\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(-11 67)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string2\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_3946", "question": "Polish settlements ending in \"nie\" with their coordinates", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?settlement ?settlementLabel ?coordinates WHERE {\n  ?settlement(wdt:P31 / wdt:P279 *) wd:Q486972 ; wdt:P17 wd:Q36 ; rdfs:label ?settlementLabel ; wdt:P625 ?coordinates .\n  FILTER(LANG(?settlementLabel) = \"pl\")\n  FILTER(REGEX(?settlementLabel , \"nie$\"))\n}", "paraphrases": ["What are the names and locations of human settlements in Poland whose Polish names end with \"nie\"?", "List all Polish-language place names in Poland that end in \"nie\", along with their geographic coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q486972> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q36> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label ; <http://www.wikidata.org/prop/direct/P625> ?var2 . FILTER ( ( ( LANG ( ?var1Label ) = \"pl\" ) ) ) . FILTER ( ( REGEX ( ?var1Label , \"(nie)$\" ) ) ) . }"}}
{"id": "test_3947", "question": "German word for Berlin in Wikidata", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?lexeme WHERE {\n  ?lexeme rdfs:label \"Berlin\" @de .\n}\nLIMIT 1", "paraphrases": ["What is the German-language lexeme for \"Berlin\"?", "Find the Wikidata entry for the German word \"Berlin\""], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"string1\"@de . } LIMIT 1"}}
{"id": "test_3948", "question": "What administrative regions and countries is Villard-sur-Doron part of?", "sparql": "SELECT DISTINCT ?var1 WHERE { { wd:Q1216976 (wdt:P131|wdt:P17) ?var1 . } UNION { wd:Q1216976 wdt:P131 ?mid . ?mid (wdt:P131|wdt:P17) ?var1 . } UNION { wd:Q1216976 wdt:P30 ?var1 . } }", "paraphrases": ["List all geographic entities that contain Villard-sur-Doron, including its country and continent.", "Through what hierarchy of locations does Villard-sur-Doron connect to Europe and France?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q1216976> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_3949", "question": "What administrative regions and continent is the village of Datah Dian part of?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?var1 WHERE {\n  {\n    wd:Q26213304 wdt:P131 + ?var1 .\n  } UNION {\n    wd:Q26213304 wdt:P17 ?country .\n    ?country wdt:P30 ?var1 .\n  }\n}", "paraphrases": ["List all geographic entities that Datah Dian belongs to, from village up to continent.", "Show the country, province, regency, district, and continent of Datah Dian village in Indonesia."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q26213304> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_3950", "question": "List geolocated entities with their English names, coordinates, images, Commons categories, and addresses.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel ?location ?image ?commonsCategory ?address WHERE {\n  ?item wdt:P625 ?location .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?item wdt:P373 ?commonsCategory .\n  }\n  OPTIONAL {\n    ?item wdt:P969 ?address .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n  FILTER(STRSTARTS(STR(?item) , \"http://www.wikidata.org/entity/Q\"))\n}\nLIMIT 3000", "paraphrases": ["What are the names, locations, images, and Wikimedia Commons categories of places around the world that have coordinates in Wikidata?", "Show me up to 3000 places with coordinates, including their English labels, photos from Commons, related categories, and street addresses if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(-56 -69)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(90 70)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_3951", "question": "What are the English, German, French, and Italian labels, descriptions, image, coordinates, and Wikipedia links for Zurich?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nSELECT ?label ?description ?image ?coordinates ?wikipediaArticle WHERE {\n  VALUES(?lang ?order) {(\"en\" \"1\" ^^ xsd:integer)(\"de\" \"2\" ^^ xsd:integer)(\"fr\" \"3\" ^^ xsd:integer)(\"it\" \"4\" ^^ xsd:integer)\n  }\n  wd:Q72 rdfs:label ?label .\n  FILTER(LANG(?label) = ?lang)\n  wd:Q72 schema:description ?description .\n  FILTER(LANG(?description) = ?lang)\n  wd:Q72 wdt:P18 ?image .\n  wd:Q72 wdt:P625 ?coordinates .\n  ?wikipediaArticle schema:about wd:Q72 ; schema:inLanguage ?lang ; schema:isPartOf ?wikipediaSite .\n  FILTER(STRSTARTS(STR(?wikipediaSite) , CONCAT(\"https://\" , ?lang , \".wikipedia.org/\")))\n}\nORDER BY ASC(?order)", "paraphrases": ["Can you show me the name, description, image, location, and Wikipedia page for Zurich in English, German, French, and Italian?", "Please provide a multilingual summary of Zurich including its labels in English, German, French, and Italian, along with its description, image, geographic coordinates, and corresponding Wikipedia articles."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q72> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var7 ) ) ) . VALUES ( ?var7 ?var8 ) { ( \"undefined\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q72> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q72> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"undefined\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q72> <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q72> ; <http://schema.org/inLanguage> \"undefined\"; <http://schema.org/isPartOf> <https://undefined.wikipedia.org/> . } } ORDER BY ASC( ?var8 )"}}
{"id": "test_3952", "question": "Coordinates of Zurich", "sparql": "SELECT ?coordinates WHERE { wd:Q72 wdt:P625 ?coordinates .}", "paraphrases": ["What are the geographic coordinates of Zurich?", "Can you provide the WKT representation of Zurich's geographic location?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q72> <http://www.wikidata.org/prop/direct/P625> ?var1 . }"}}
{"id": "test_3953", "question": "Items with coordinates, images, and Commons categories in English.", "sparql": "SELECT ?item ?itemLabel ?coord ?image ?commonsCategory WHERE { ?item wdt:P625 ?coord . OPTIONAL { ?item wdt:P18 ?image . } OPTIONAL { ?item wdt:P373 ?commonsCategory . } OPTIONAL { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } } LIMIT 3000", "paraphrases": ["What items have geographic coordinates, associated images on Wikimedia Commons, and Commons categories, along with their English labels?", "Please list up to 3000 items that have location coordinates, possible images, and Commons categories, with their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(-80 34)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(-79 34)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_3954", "question": "What are some items with coordinates, images, Commons categories, and street addresses in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?coord ?image ?commonsCategory ?address WHERE {\n  ?item wdt:P625 ?coord .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?item wdt:P373 ?commonsCategory .\n  }\n  OPTIONAL {\n    ?item wdt:P969 ?address .\n  }\n  ?item rdfs:label ?itemLabel .\n}\nLIMIT 3000", "paraphrases": ["Show me entities that have a location, an image on Commons, a Commons category, and a street address.", "Retrieve a list of items with their geographic coordinates, associated images, Wikimedia Commons categories, and postal addresses."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(-1 55)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(-1 55)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_3955", "question": "Cultural heritage monuments in Berlin with their coordinates, images, and Berlin heritage IDs.", "sparql": "SELECT DISTINCT ?monument ?label ?coordinates ?image ?berlinId WHERE { ?monument wdt:P1435 wd:Q11691318 ; wdt:P131 wd:Q64 . OPTIONAL { ?monument wdt:P625 ?coordinates . } OPTIONAL { ?monument wdt:P18 ?image . } OPTIONAL { ?monument wdt:P2424 ?berlinId . } ?monument rdfs:label ?label . FILTER(LANG(?label) = \"en\") } ORDER BY ASC(?label)", "paraphrases": ["What are the English-named cultural heritage sites in Berlin, and what are their locations, images, and official IDs in the Berlin heritage database?", "Show me a list of cultural heritage monuments in Berlin that have English labels, along with their geographic coordinates, Wikimedia Commons images, and Berlin Denkmaldatenbank IDs."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1435> <http://www.wikidata.org/entity/Q11691318> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q64> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2424> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_3956", "question": "Coordinates of Geroldswil, Switzerland", "sparql": "SELECT ?coordinates WHERE { wd:Q66660 wdt:P625 ?coordinates ; wdt:P31 wd:Q70208 .}", "paraphrases": ["What are the geographic coordinates of Geroldswil, a municipality in Switzerland?", "Can you tell me the latitude and longitude of Geroldswil, which is classified as a municipality in the canton of Z\u00fcrich?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q66660> <http://www.wikidata.org/prop/direct/P625> ?var1 ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q70208> . }"}}
{"id": "test_3957", "question": "What are the immediate and second-level superclass ancestors of the administrative territorial entity of Switzerland?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?superclass ?superclassLabel ?superclassOfSuperclass WHERE {\n  wd:Q7631075 wdt:P279 ?superclass .\n  OPTIONAL {\n    ?superclass wdt:P279 ?superclassOfSuperclass .\n  }\n  ?superclass rdfs:label ?superclassLabel .\n  FILTER ( LANG( ?superclassLabel ) = \"en\" )\n}", "paraphrases": ["What classes does the administrative territorial entity of Switzerland belong to, going up two levels in the hierarchy?", "What is the parent and grandparent class of Switzerland\u2019s administrative subdivisions in Wikidata\u2019s taxonomy?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7631075> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Reverse\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3958", "question": "What administrative regions is L'Ange-Gardien located in, starting from its immediate parent up to the country?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?administrativeEntity ?administrativeEntityLabel WHERE {\n  wd:Q3201975 wdt:P131 + ?administrativeEntity .\n  ?administrativeEntity rdfs:label ?administrativeEntityLabel .\n  FILTER(LANG(?administrativeEntityLabel) = \"en\")\n}", "paraphrases": ["What are all the administrative territories that contain L'Ange-Gardien, from directly above it up to Canada?", "List all the higher-level administrative divisions that L'Ange-Gardien belongs to, in order from nearest to farthest."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q3201975> <http://www.wikidata.org/prop/direct/P131> * ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr, en\". } }"}}
{"id": "test_3959", "question": "Buildings and landmarks in Perlesreut, Germany", "sparql": "SELECT ?item ?label WHERE { ?item wdt:P131 wd:Q503831 . ?item rdfs:label ?label . FILTER(LANG(?label) = \"en\") } ORDER BY ?label", "paraphrases": ["What structures are located within the administrative boundaries of Perlesreut?", "List all cultural heritage sites and buildings in Perlesreut, Germany."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q503831> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_3960", "question": "Current French regions with their official websites, flags, INSEE codes, and ISO codes", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT DISTINCT ?region ?regionLabel ?flag ?insee ?iso WHERE {\n  ?region wdt:P31 / wdt:P279 * wd:Q36784 .\n  FILTER(NOT EXISTS {\n    ?region wdt:P31 wd:Q22670030\n  })\n  OPTIONAL {\n    ?region wdt:P856 ?website\n  }\n  OPTIONAL {\n    ?region wdt:P41 ?flag\n  }\n  OPTIONAL {\n    ?region wdt:P2585 ?insee\n  }\n  OPTIONAL {\n    ?region p:P300 ?isoStmt .\n    ?isoStmt ps:P300 ?iso .\n    FILTER(NOT EXISTS {\n      ?isoStmt pq:P582 ?end\n    })\n  }\n  OPTIONAL {\n    ?region rdfs:label ?regionLabel .\n    FILTER(LANG(?regionLabel) = \"en\")\n  }\n}", "paraphrases": ["What are the current administrative regions of France, and what are their official websites, flag images, INSEE codes, and ISO 3166-2 codes?", "List all active French regions (excluding former ones) along with their official websites, flag images, INSEE region codes, and ISO 3166-2 subdivision codes."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q36784> AS ?var5 ). BIND ( <http://www.wikidata.org/entity/Q22670030> AS ?var6 ). ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var5 . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var6 . } ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P41> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2585> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/P300> ?var8 . ?var8 <http://www.wikidata.org/prop/statement/P300> ?var4 . FILTER ( ( NOT EXISTS { ?var8 <http://www.wikidata.org/prop/qualifier/P582> ?var9 . } ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_3961", "question": "Coordinates of Wald, Switzerland", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?coordinates WHERE {\n  wd:Q67272 wdt:P625 ?coordinates .\n}", "paraphrases": ["What are the geographic coordinates of Wald in the canton of Z\u00fcrich?", "Can you tell me the latitude and longitude of Wald, Z\u00fcrich?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q67272> <http://www.wikidata.org/prop/direct/P625> ?var1 . }"}}
{"id": "test_3962", "question": "What are the current populations of Swiss municipalities and when were they recorded?", "sparql": "SELECT ?municipality ?population ?date ?municipalityLabel WHERE { ?municipality wdt:P31 wd:Q70208 ; p:P1082 ?populationStatement . ?populationStatement ps:P1082 ?population ; pq:P585 ?date ; wikibase:rank wikibase:PreferredRank . ?municipality rdfs:label ?municipalityLabel . FILTER(LANG(?municipalityLabel) = \"en\")}", "paraphrases": ["Can you list the English names of Swiss communes along with their official population figures and the year those figures were collected?", "Show me the preferred population data for all municipalities in Switzerland, including the population count and the date of measurement."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q70208> ; <http://www.wikidata.org/prop/P1082> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P1082> ?var3 ; <http://www.wikidata.org/prop/qualifier/P585> ?var2 ; <http://wikiba.se/ontology#rank> ?var1 . FILTER ( ( REGEX ( STR ( ?var1 ) , \"string1\" ) ) ) . }"}}
{"id": "test_3963", "question": "Coordinates of Oberhelfenschwil municipality in Switzerland", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?coordinates WHERE {\n  wd:Q66958 wdt:P625 ?coordinates ; wdt:P31 wd:Q70208 .\n}", "paraphrases": ["What are the geographic coordinates of Oberhelfenschwil, a municipality in Switzerland?", "Please provide the latitude and longitude of Oberhelfenschwil, which is a Swiss municipality."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q66958> <http://www.wikidata.org/prop/direct/P625> ?var1 ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q70208> . }"}}
{"id": "test_3964", "question": "List country names in different languages for cities, with their language tags, starting from the 50,001st result.", "sparql": "SELECT DISTINCT ?countryLabel ?country ( LANG( ?countryLabel ) AS ?language ) WHERE { ?city ( wdt:P31 / wdt:P279* ) wd:Q515 . ?city wdt:P17 ?country . OPTIONAL { ?country rdfs:label ?countryLabel . } } LIMIT 1000 OFFSET 50000", "paraphrases": ["What are the multilingual labels of countries where cities are located, and in which languages are those labels written?", "Show me the country names in various languages associated with cities, along with the language code of each label, skipping the first 50,000 entries."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2 ( LANG ( ?var1Label ) AS ?var3 ) WHERE { ?var4 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var4 <http://www.wikidata.org/prop/direct/P17> ?var2 . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 1000 OFFSET 50000"}}
{"id": "test_3965", "question": "What is the English label and description of the Wikimedia disambiguation page for Chanel, and does it have an image?", "sparql": "SELECT ?label ?description ?image WHERE { OPTIONAL { wd:Q423255 rdfs:label ?label . FILTER (LANG(?label) = \"en\") } OPTIONAL { wd:Q423255 schema:description ?description . FILTER (LANG(?description) = \"en\") } OPTIONAL { wd:Q423255 wdt:P18 ?image . } }", "paraphrases": ["Show me the English name and description of the Chanel disambiguation page on Wikidata, along with any associated image.", "What does the Wikidata item for 'Chanel' (disambiguation) say in English, and is there a picture for it?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q423255> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q423255> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q423255> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_3966", "question": "Which properties are related to the geoshape property in German?", "sparql": "SELECT ?prop ?propLabel ?propDescription WHERE { ?prop wdt:P1659 wd:P3896 . ?prop rdfs:label ?propLabel . ?prop schema:description ?propDescription . FILTER(LANG(?propLabel) = \"de\") FILTER(LANG(?propDescription) = \"de\") }", "paraphrases": ["What are the German labels and descriptions of properties that are related to the geoshape property?", "Show me the German label and description of any property that is listed as related to the geoshape property on Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P3896> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"de\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"de\" ) ) ) . }"}}
{"id": "test_3967", "question": "Items in southern Europe (between longitudes 0\u201314 and latitudes 44\u201349) with their names, coordinates, images, Commons categories, and addresses.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX geof: <http://www.opengis.net/def/function/geosparql/>\nSELECT ?item ?itemLabel ?coord ?image ?commonsCategory ?address WHERE {\n  ?item wdt:P625 ?coord .\n  FILTER(geof:longitude(?coord) >= 0 && geof:longitude(?coord) <= 14)\n  FILTER(geof:latitude(?coord) >= 44 && geof:latitude(?coord) <= 49)\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?item wdt:P373 ?commonsCategory .\n  }\n  OPTIONAL {\n    ?item wdt:P969 ?address .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}\nLIMIT 3000", "paraphrases": ["What are the places in southern Europe (between 0\u00b0 and 14\u00b0 longitude and 44\u00b0 and 49\u00b0 latitude), and what are their names, coordinates, images, Wikimedia Commons categories, and street addresses?", "Please list up to 3,000 geographic locations in southern Europe (within the bounding box from 0\u00b0E, 44\u00b0N to 14\u00b0E, 49\u00b0N), including their English labels, coordinates, images, Commons categories, and street addresses if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(0 44)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(14 49)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_3968", "question": "English Wikipedia pages for all cities.", "sparql": "SELECT ?city ?wikipedia_page WHERE { ?city (wdt:P31/wdt:P279*) wd:Q515 . ?wikipedia_page schema:about ?city ; schema:inLanguage \"en\" . FILTER(STRSTARTS(STR(?wikipedia_page), \"https://en.wikipedia.org/wiki/\")) }", "paraphrases": ["What are the English Wikipedia pages for cities around the world?", "List all cities and their corresponding English Wikipedia articles, including those classified as cities through subclass relationships."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var1 ( <http://www.wikidata.org/prop/direct/P361> */ <http://www.wikidata.org/prop/direct/P17> ) ?var3 . OPTIONAL { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"en\". FILTER ( ( ( SUBSTR ( STR ( ?var2 ) ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"25\"^^<http://www.w3.org/2001/XMLSchema#integer> ) = \"string1\" ) ) ) . } }"}}
{"id": "test_3969", "question": "What are the cities and towns in Gabon?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?cityOrTown ?cityOrTownLabel ?countryLabel WHERE {\n  {\n    ?cityOrTown ( wdt:P31 / wdt:P279 * ) wd:Q515 .\n  } UNION {\n    ?cityOrTown ( wdt:P31 / wdt:P279 * ) wd:Q3957 .\n  }\n  ?cityOrTown wdt:P17 ?country .\n  ?cityOrTown rdfs:label ?cityOrTownLabel .\n  ?country rdfs:label ?countryLabel .\n  FILTER ( LANG( ?cityOrTownLabel ) = \"en\" ) FILTER ( LANG( ?countryLabel ) = \"en\" )\n}", "paraphrases": ["List all cities and towns along with their countries, using English labels.", "Which settlements classified as cities or towns are located in which countries?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( ?var1Label AS ?var2 )( ?var3Label AS ?var4 ) WHERE { { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3957> . } ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3970", "question": "What are some cities and towns around the world, and which countries are they in?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?cityOrTown ?cityOrTownLabel ?country ?countryLabel WHERE {\n  ?cityOrTown(wdt:P31 / wdt:P279 *) wd:Q515 , wd:Q3957 .\n  ?cityOrTown wdt:P17 ?country .\n  ?cityOrTown rdfs:label ?cityOrTownLabel .\n  ?country rdfs:label ?countryLabel .\n  FILTER(LANG(?cityOrTownLabel) = \"en\")\n  FILTER(LANG(?countryLabel) = \"en\")\n}\nLIMIT 10", "paraphrases": ["List English-named towns and cities along with their corresponding countries.", "Can you show me a list of settlements classified as cities or towns and their sovereign states?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> , <http://www.wikidata.org/entity/Q3957> . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } LIMIT 10"}}
{"id": "test_3971", "question": "What are the postal codes and INSEE code for the city of Lyon, France, given that its administrative region is still active?", "sparql": "SELECT DISTINCT ?inseeCode ?postalCode WHERE { wd:Q456 wdt:P374 ?inseeCode . wd:Q456 wdt:P281 ?postalCode . wd:Q456 wdt:P131 ?adminEntity . ?adminEntity p:P31 ?instStmt . ?instStmt ps:P31 ?adminType . FILTER NOT EXISTS { ?instStmt pq:P582 ?endTime . } } ORDER BY ASC(?inseeCode)", "paraphrases": ["Show me the INSEE municipality code and all postal codes for Lyon, but only if the Metropolis of Lyon hasn't been abolished.", "Lyon has multiple postal codes \u2014 what is its INSEE code, and which postal codes are assigned to it under the currently active Metropolis of Lyon?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3Label WHERE { ?var3 <http://www.wikidata.org/prop/P31> ?var4 . ?var5 <http://www.wikidata.org/prop/P31> ?var6 . FILTER ( ( NOT EXISTS { ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var7 . } ) ) . ?var3 <http://www.wikidata.org/prop/direct/P131> ?var5 . ?var3 <http://www.wikidata.org/prop/direct/P374> ?var1 . ?var3 <http://www.wikidata.org/prop/direct/P281> ?var2 . FILTER ( ( ?var3Label IN ( \"Lyon\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_3972", "question": "Cities with their native names and English names", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?city ?nativeLabel ?englishLabel WHERE {\n  ?city wdt:P31 / wdt:P279 * wd:Q515 .\n  OPTIONAL {\n    ?city wdt:P1705 ?nativeLabel .\n  }\n  OPTIONAL {\n    ?city rdfs:label ?englishLabel\n    FILTER(LANG(?englishLabel) = \"en\")\n    .\n  }\n}\nLIMIT 100", "paraphrases": ["What are the native and English names of cities in Wikidata?", "Show me a list of cities along with their native labels and English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ( LANG ( ?var3Label ) AS ?var4 ) ?var3Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1705> ?var5Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1705> ?var2Label . } }"}}
{"id": "test_3973", "question": "What are the administrative subdivisions of France?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subdivision WHERE {\n  wd:Q142 wdt:P150 ?subdivision .\n}", "paraphrases": ["Which regions and territories are part of France?", "Can you list the administrative entities contained within France?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q142> <http://www.wikidata.org/prop/direct/P131> ?var1 . }"}}
{"id": "test_3974", "question": "What administrative subdivisions does France have?", "sparql": "SELECT ?subdivision WHERE { wd:Q72 wdt:P150 ?subdivision . }", "paraphrases": ["Which regions or districts are part of France?", "List all the direct administrative divisions contained by France."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P150> <http://www.wikidata.org/prop/direct/Q72> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_3975", "question": "French municipalities with INSEE code 35238 and their postal codes, excluding obsolete classifications.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT DISTINCT ?var1 ?var2 ?var3Label WHERE {\n  ?var3 wdt:P374 ?var1 .\n  ?var3 wdt:P281 ?var2 .\n  ?var3 rdfs:label ?var3Label .\n  FILTER(LANG(?var3Label) = \"en\")\n  .\n  FILTER(?var1 = \"35238\")\n  .\n  ?var3 p:P31 ?statement .\n  FILTER(NOT EXISTS {\n    ?statement pq:P582 ?end .\n  })\n}\nORDER BY ASC(?var1)", "paraphrases": ["What are the postal codes associated with the French city of Rennes (INSEE code 35238), considering only currently valid administrative classifications?", "List all postal codes linked to the municipality with INSEE code 35238 in France, ensuring the classification is still active (no end date)."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3Label WHERE { ?var3 <http://www.wikidata.org/prop/P31> ?var4 . ?var3 <http://www.wikidata.org/prop/direct/P131> ?var5 . ?var3 <http://www.wikidata.org/prop/direct/P374> ?var1 . ?var3 <http://www.wikidata.org/prop/direct/P281> ?var2 . FILTER ( ( NOT EXISTS { ?var4 <http://www.wikidata.org/prop/qualifier/P582> ?var6 . } ) ) . FILTER ( ( ( ?var1 = \"35238\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_3976", "question": "List 10 cities with their English names.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?city ?cityLabel WHERE {\n  ?city wdt:P31 wd:Q515 .\n  ?city rdfs:label ?cityLabel .\n  FILTER(LANG(?cityLabel) = \"en\")\n  FILTER(ISLITERAL(?cityLabel))\n}\nLIMIT 10", "paraphrases": ["What are 10 examples of cities and their English labels in Wikidata?", "Show me the English names of 10 cities from Wikidata, where each item is classified as a city."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10"}}
{"id": "test_3977", "question": "What are the postal codes and administrative divisions of the French municipality with INSEE code 35238?", "sparql": "SELECT DISTINCT ?inseeCode ?postalCode ?municipalityLabel ?administrativeEntity ?administrativeEntityLabel WHERE { ?municipality wdt:P374 ?inseeCode ; wdt:P281 ?postalCode ; wdt:P131 ?administrativeEntity . ?municipality p:P31 ?instanceStmt . FILTER NOT EXISTS { ?instanceStmt pq:P582 ?endTime } . FILTER (?inseeCode = \"35238\") . ?municipality rdfs:label ?municipalityLabel . ?administrativeEntity rdfs:label ?administrativeEntityLabel . FILTER(LANG(?municipalityLabel) = \"en\") . FILTER(LANG(?administrativeEntityLabel) = \"en\") } ORDER BY ASC(?inseeCode)", "paraphrases": ["Which municipality in France has the INSEE code 35238, and what are its postal codes and administrative entities?", "List all postal codes and the administrative entities (like department and arrondissement) for the French town with INSEE code 35238, along with their English labels."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3Label ?var4 ?var5 WHERE { ?var3 <http://www.wikidata.org/prop/P31> ?var6 . ?var3 <http://www.wikidata.org/prop/direct/P131> ?var4 . ?var3 <http://www.wikidata.org/prop/direct/P374> ?var1 . ?var3 <http://www.wikidata.org/prop/direct/P281> ?var2 . FILTER ( ( NOT EXISTS { ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var7 . } ) ) . FILTER ( ( ( ?var1 = \"35238\" ) ) ) . OPTIONAL { ?var4 <http://www.wikidata.org/prop/P31> ?var8 . ?var4 <http://www.wikidata.org/prop/direct/P131> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q13917> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_3978", "question": "What properties are used in statements about Malaysia, and what are their English labels?", "sparql": "SELECT DISTINCT ?property ?propertyLabel WHERE { ?item ?prop wd:Q833 . ?property wikibase:directClaim ?prop . ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") } LIMIT 100", "paraphrases": ["List the English labels of all properties that have Malaysia as an object in Wikidata.", "Which properties describe Malaysia, and how are they named in English?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q833> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_3979", "question": "What locations in Germany have coordinates but no associated images on Wikimedia Commons?", "sparql": "SELECT ?item ?location WHERE { ?item wdt:P17 wd:Q183 . ?item wdt:P625 ?location . FILTER NOT EXISTS { ?item wdt:P18 [] } }", "paraphrases": ["Show me places in Germany that are geolocated but don\u2019t have any photos linked in Wikidata.", "List geographic items in Germany that lack an image property (P18)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> \"POINT(9 48)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"5\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } FILTER ( ( !( BOUND ( ?var3 ) ) ) ) . }"}}
{"id": "test_3980", "question": "What pairs of topics are associated with works that are about the European Union or its aspects?", "sparql": "SELECT DISTINCT ?var1 (str(?label1) AS ?var1Label) ?var2 (str(?label2) AS ?var2Label) WHERE { ?var3 wdt:P921 ?topic . ?topic (wdt:P361|wdt:P1269)+ wd:Q458 . ?var3 wdt:P921 ?var1 . ?var3 wdt:P921 ?var2 . OPTIONAL { ?var1 rdfs:label ?label1 . FILTER(LANG(?label1) = \"en\") } OPTIONAL { ?var2 rdfs:label ?label2 . FILTER(LANG(?label2) = \"en\") } FILTER (?var1 != ?var2 && ?var1 != wd:Q458 && ?var2 != wd:Q458) }", "paraphrases": ["Which pairs of main subjects appear together in works that have at least one topic related to the European Union?", "Show me all pairs of distinct topics from works that are about the European Union or one of its facets or components, excluding the EU itself."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q458> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P361> +) <http://www.wikidata.org/entity/Q458> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P1269> +) <http://www.wikidata.org/entity/Q458> . } ?var3 <http://www.wikidata.org/prop/direct/P921> ?var1 , ?var2 . FILTER ( ( ( <http://www.wikidata.org/entity/Q458> != ?var1 ) && ( <http://www.wikidata.org/entity/Q458> != ?var2 ) && ( ?var1 != ?var2 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_3981", "question": "What are the places located near latitude 45 and longitude 7, and what are their images and Commons categories?", "sparql": "SELECT ?item ?itemLabel ?coord ?image ?commonsCategory WHERE { ?item wdt:P625 ?coord . FILTER (isLiteral(?coord)) BIND (STR(?coord) AS ?coordStr) BIND (SUBSTR(?coordStr, 7) AS ?coordBody) BIND (SUBSTR(?coordBody, 1, STRLEN(?coordBody)-1) AS ?coordClean) BIND (STRBEFORE(?coordClean, \" \") AS ?lonStr) BIND (STRAFTER(?coordClean, \" \") AS ?latStr) BIND (xsd:double(?lonStr) AS ?lon) BIND (xsd:double(?latStr) AS ?lat) FILTER (?lon >= 6.9 && ?lon <= 7.1 && ?lat >= 44.9 && ?lat <= 45.1) OPTIONAL { ?item wdt:P18 ?image . } OPTIONAL { ?item wdt:P373 ?commonsCategory . } ?item rdfs:label ?itemLabel . FILTER (langMatches(lang(?itemLabel), \"en\")) } LIMIT 3000", "paraphrases": ["Show me towns around Geneva with their pictures and Wikimedia Commons categories.", "List English-named locations in the 7\u00b0E, 45\u00b0N area along with their associated images and Commons categories."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(7 45)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(7 45)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_3982", "question": "What are some currently active cities that are not marked as abolished or discontinued?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT DISTINCT ?city ?cityLabel WHERE {\n  ?city wdt:P31 wd:Q515 .\n  ?city rdfs:label ?cityLabel .\n  FILTER ( LANG( ?cityLabel ) = \"en\" ) FILTER NOT EXISTS {\n    ?statement ps:P31 wd:Q515 ; pq:P582 ?endTime .\n    ?city ?p ?statement .\n  }\n}\nLIMIT 10", "paraphrases": ["List 10 English-named cities that still exist and have no recorded end date for their classification as a city.", "Show me cities that are still recognized as cities today, excluding any that have been officially dissolved."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { BIND ( <http://www.wikidata.org/entity/Q6581072> AS ?var3 ). BIND ( <http://www.wikidata.org/entity/Q515> AS ?var4 ). ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var4 . FILTER ( ( NOT EXISTS { ?var5 <http://www.wikidata.org/prop/qualifier/P582> ?var6 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10"}}
{"id": "test_3983", "question": "French departments with INSEE codes and French labels, sorted by code", "sparql": "SELECT ?department ?inseeCode ?departmentLabel WHERE { ?department wdt:P31 wd:Q6465 ; wdt:P2586 ?inseeCode ; wdt:P300 [] . OPTIONAL { ?department rdfs:label ?departmentLabel . FILTER(LANG(?departmentLabel) = \"fr\") } } ORDER BY ASC(?inseeCode)", "paraphrases": ["What are the French departments, their INSEE codes, and their French names, ordered by INSEE code?", "List all French departments along with their INSEE codes and French labels, sorted from 01 to 95."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/statement/P31> ) <http://www.wikidata.org/entity/Q6465> . ?var1 <http://www.wikidata.org/prop/direct/P300> [] . ?var1 <http://www.wikidata.org/prop/direct/P2586> ?var2 . OPTIONAL { SELECT DISTINCT ?var1 ( GROUP_CONCAT ( DISTINCT ?var4 ; SEPARATOR = \"<br />\" ) AS ?var3 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/statement/P31> ) <http://www.wikidata.org/entity/Q6465> . ?var1 ( <http://www.wikidata.org/prop/P36> / <http://www.wikidata.org/prop/statement/P36> ) ?var5 . OPTIONAL { ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6 . FILTER ( ( ( LANG ( ?var6 ) = \"fr\" ) ) ) . } OPTIONAL { ?var7 <http://schema.org/about> ?var5 ; <http://schema.org/isPartOf> <https://fr.wikipedia.org/> ; <http://schema.org/name> ?var8 . } BIND ( REPLACE ( STR ( ?var5 ) , \"string1\", \"\" ) AS ?var9 ). BIND ( CONCAT ( UCASE ( SUBSTR ( ?var6 ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) , SUBSTR ( ?var6 ,\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var10 ). BIND ( IF ( BOUND ( ?var8 ) , IF ( ( ?var10 = ?var8 ), CONCAT ( \"[[\", ?var6 , \"]]\" ) , CONCAT ( \"[[\", ?var8 , \"|\", ?var6 , \"]]\" ) ) , CONCAT ( \"''[[:d:\", ?var9 , \"|\", ?var6 , \"]]''\" ) ) AS ?var4 ). } GROUP BY ?var1 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } ORDER BY ASC( ?var2 )"}}
{"id": "test_3984", "question": "What are all the broader categories that Judaism belongs to, including indirect ones?", "sparql": "SELECT DISTINCT ?subclass WHERE { wd:Q9268 wdt:P279* ?subclass . } LIMIT 100", "paraphrases": ["Superclasses of Judaism in Wikidata hierarchy", "Show me the complete hierarchy of classes that Judaism is a subclass of, up to the most general categories."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q9268> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_3985", "question": "What are the titles and locations of German journal articles about Dresden?", "sparql": "SELECT ?article ?title ?coordinate WHERE { ?article wdt:P31 wd:Q191067 . ?article wdt:P625 ?coordinate . ?article wdt:P1476 ?title . FILTER(LANG(?title) = \"de\") }", "paraphrases": ["Can you list the titles of German articles from the 19th century that describe places in Dresden, along with their geographic coordinates?", "Show me the names of articles published in German magazines that mention Dresden landmarks and their corresponding coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q191067> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . }"}}
{"id": "test_3986", "question": "Cities in Wikidata without descriptions", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?city ?cityLabel WHERE {\n  ?city wdt:P31 wd:Q515 .\n  FILTER NOT EXISTS {\n    ?city schema:description ?desc .\n  }\n  ?city rdfs:label ?cityLabel .\n  FILTER ( LANG( ?cityLabel ) = \"en\" )\n}", "paraphrases": ["Which cities in Wikidata do not have a description in English?", "Show me the names of cities in English that are missing a description in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . OPTIONAL { ?var1 <http://schema.org/description> ?var2 . } FILTER ( ( !( BOUND ( ?var2 ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ar\". } }"}}
{"id": "test_3987", "question": "Items that are cities or subclasses of classes associated with the topic \"city\" in Wikidata.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel WHERE {\n  ?class wdt:P360 wd:Q515 .\n  ?item wdt:P31 / wdt:P279 * ?class .\n  ?item rdfs:label ?itemLabel\n  FILTER ( LANG( ?itemLabel ) = 'en' )\n}", "paraphrases": ["What are all the cities and related entities that are instances of classes marked as being about cities in Wikidata?", "List all entities that are instances of any class that has been tagged with \"main topic: city\" in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P360> <http://www.wikidata.org/entity/Q515> . ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3988", "question": "List landmarks and streets within 20 km of Berlin with their coordinates.", "sparql": "SELECT ?item ?itemLabel ?coord WHERE { ?item wdt:P625 ?coord . BIND(STRBEFORE(SUBSTR(STR(?coord), 7, STRLEN(STR(?coord)) - 8), \" \") AS ?lon) . BIND(STRAFTER(SUBSTR(STR(?coord), 7, STRLEN(STR(?coord)) - 8), \" \") AS ?lat) . FILTER(xsd:double(?lon) >= 13.11 && xsd:double(?lon) <= 13.70) . FILTER(xsd:double(?lat) >= 52.34 && xsd:double(?lat) <= 52.70) . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } LIMIT 10", "paraphrases": ["What are some notable places located within a 20-kilometer radius of Berlin, and what are their geographic coordinates?", "Show me up to 10 English-labeled locations near Berlin (within 20 km) along with their WGS84 coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> \"string1\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"20\". } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10"}}
{"id": "test_3989", "question": "Entities with coordinates near 78\u00b0E, 13\u00b0N and their images and Commons categories.", "sparql": "SELECT ?item ?itemLabel ?coord ?image ?commonsCategory WHERE { ?item wdt:P625 ?coord . FILTER(geof:longitude(?coord) >= 77.99 && geof:longitude(?coord) <= 78.01) FILTER(geof:latitude(?coord) >= 12.99 && geof:latitude(?coord) <= 13.01) OPTIONAL { ?item wdt:P18 ?image . } OPTIONAL { ?item wdt:P373 ?commonsCategory . } OPTIONAL { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } } LIMIT 3000", "paraphrases": ["What entities are located at approximately 78 degrees east longitude and 13 degrees north latitude, and do they have associated images or Wikimedia Commons categories?", "Show me items located near 78\u00b0E, 13\u00b0N, including their names in English, any images, and their Wikimedia Commons categories."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(78 13)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(78 13)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_3990", "question": "Cities that are direct instances of the class \"city\" in Wikidata.", "sparql": "SELECT DISTINCT ?city ?cityLabel WHERE { ?city wdt:P31 wd:Q515 . ?city rdfs:label ?cityLabel . FILTER(LANG(?cityLabel) = \"en\") }", "paraphrases": ["What are the names of all cities listed as direct instances of \"city\" in Wikidata?", "List all cities with their English labels from Wikidata that are directly classified as \"city\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . }"}}
{"id": "test_3991", "question": "What are some cities in the world according to Wikidata?", "sparql": "SELECT ?city ?cityLabel WHERE { ?city wdt:P31 wd:Q515 . } LIMIT 100", "paraphrases": ["List 100 cities and their labels from Wikidata.", "Can you show me examples of cities as classified in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2470517> . } LIMIT 100"}}
{"id": "test_3992", "question": "What is the city named Karachi?", "sparql": "SELECT ?item WHERE { ?item rdfs:label \"Karachi\"@en ; wdt:P31 wd:Q7930989 . }", "paraphrases": ["Which entity in Wikidata represents the city of Karachi?", "Find the Wikidata item for the city of Karachi, using its English label."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> \"Karachi\"@en . }"}}
{"id": "test_3993", "question": "Cities and their countries in Wikidata", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?city ?cityLabel ?country ?countryLabel WHERE {\n  ?city ( wdt:P31 / wdt:P279 * ) wd:Q515 .\n  ?city wdt:P17 ?country .\n  ?city rdfs:label ?cityLabel .\n  ?country rdfs:label ?countryLabel .\n  FILTER ( LANG( ?cityLabel ) = \"en\" ) FILTER ( LANG( ?countryLabel ) = \"en\" )\n}\nLIMIT 10", "paraphrases": ["What are some cities and the countries they are located in?", "List 10 cities along with their English names and the countries they belong to."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es\". } } LIMIT 10"}}
{"id": "test_3994", "question": "Geographic locations in Germany with their coordinates.", "sparql": "SELECT ?item ?label ?coordinate WHERE { ?item wdt:P625 ?coordinate . ?item wdt:P17 wd:Q183 . ?item rdfs:label ?label . FILTER(LANG(?label) = \"en\") } LIMIT 1000", "paraphrases": ["What are the names and coordinates of landmarks and places located in Germany?", "List all geolocated entities in Germany along with their English labels and WKT coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } } LIMIT 1000"}}
{"id": "test_3995", "question": "What properties are most frequently used to link items to the Market Church of Our Dear Ladies, excluding those used only once?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?propertyLabel(COUNT(?item) AS ?count) WHERE {\n  ?item ?property wd:Q538370 .\n  BIND(IRI(REPLACE(STR(?property) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\")) AS ?propEntity)\n  BIND(IRI(REPLACE(STR(?property) , \"http://www.wikidata.org/prop/statement/\" , \"http://www.wikidata.org/entity/\")) AS ?propEntity2)\n  BIND(IF(BOUND(?propEntity) , ?propEntity , ?propEntity2) AS ?propEntityClean)\n  OPTIONAL {\n    ?propEntityClean rdfs:label ?propertyLabel .\n    FILTER(LANG(?propertyLabel) = \"en\")\n  }\n}\nGROUP BY ?property ?propertyLabel\nHAVING(?count > 1)\nORDER BY DESC(?count)", "paraphrases": ["Which properties connect other items to the Market Church of Our Dear Ladies, and how many times are they used, considering only those used more than once?", "List the properties that relate other entities to the Market Church of Our Dear Ladies, sorted by usage frequency, and show only those used more than once, with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q538370> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_3996", "question": "Most common properties linking entities to Saint Thomas", "sparql": "SELECT ?property ( COUNT(?item) AS ?count ) ?propertyLabel WHERE { ?item ?property wd:Q463937 . BIND( STRAFTER( STR(?property), \"http://www.wikidata.org/prop/\" ) AS ?propPath ) BIND( STRAFTER( ?propPath, \"/\" ) AS ?propId ) BIND( IRI( CONCAT( \"http://www.wikidata.org/entity/\", ?propId ) ) AS ?propertyEntity ) ?propertyEntity rdfs:label ?propertyLabel . FILTER ( LANG(?propertyLabel) = \"en\" ) } GROUP BY ?property ?propertyLabel HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["What are the most frequently used properties associated with Saint Thomas, and how many times are they used?", "List all properties that connect more than one entity to Saint Thomas, ordered by frequency, with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q463937> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_3997", "question": "List all U.S. states with their ISO 3166-2 codes and OpenStreetMap relation IDs.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?stateLabel ?state ?osmRelationId ?isoCode WHERE {\n  ?state wdt:P31 wd:Q35657 .\n  ?state wdt:P300 ?isoCode .\n  OPTIONAL {\n    ?state wdt:P402 ?osmRelationId .\n  }\n  ?state rdfs:label ?stateLabel .\n  FILTER ( LANG( ?stateLabel ) = \"en\" )\n}", "paraphrases": ["What are the names, ISO codes, and OpenStreetMap IDs of all U.S. states?", "Show me the English names, ISO 3166-2 codes, and OpenStreetMap relation IDs for every U.S. state, including those without an OpenStreetMap ID."], "info": {"raw_sparql": "SELECT ?var1Label ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q35657> . ?var1 <http://www.wikidata.org/prop/direct/P300> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P402> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_3998", "question": "What are the states of the United States?", "sparql": "SELECT ?state WHERE { ?state wdt:P17 wd:Q30 . ?state wdt:P31 wd:Q35657 . }", "paraphrases": ["List all U.S. states and their Wikidata identifiers.", "Which entities are classified as states within the United States?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q11432> <http://www.wikidata.org/prop/P527> ?var2 . ?var2 <http://www.wikidata.org/prop/statement/P527> ?var3 . ?var2 <http://www.wikidata.org/prop/qualifier/P2534> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_3999", "question": "Alternative English names for Afghanistan and Czech Republic", "sparql": "SELECT ?country ?altLabel WHERE { VALUES ?country { wd:Q889 wd:Q213 } ?country skos:altLabel ?altLabel . FILTER(LANG(?altLabel) = \"en\") }", "paraphrases": ["What are the English alternative labels for Afghanistan and the Czech Republic?", "List all English alternative names for Afghanistan and the Czech Republic."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q889> ) ( <http://www.wikidata.org/entity/Q213> ) } ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . }"}}
{"id": "test_4000", "question": "What type of entity are the Wikimedia disambiguation pages for Wikipedia, Wikidata, and Commons?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?type ?typeLabel WHERE {\n  VALUES ?item {\n    wd:Q4425892 wd:Q4545826 wd:Q4596977 wd:Q1256977\n  }\n  ?item wdt:P31 ?type .\n  ?type rdfs:label ?typeLabel .\n  FILTER ( LANG( ?typeLabel ) = \"en\" )\n}", "paraphrases": ["Which items among Wikipedia, Wikidata, and Commons disambiguation pages are classified as Wikimedia disambiguation pages?", "Show the instance-of classification for Wikimedia project disambiguation pages in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q4425892> ) ( <http://www.wikidata.org/entity/Q4545826> ) ( <http://www.wikidata.org/entity/Q4596977> ) ( <http://www.wikidata.org/entity/Q1256977> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4001", "question": "List 10 historical states and their names.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?state ?stateLabel WHERE {\n  ?state wdt:P31 wd:Q7275 .\n  ?state rdfs:label ?stateLabel .\n  FILTER ( LANG( ?stateLabel ) = \"en\" )\n}\nLIMIT 10", "paraphrases": ["What are some examples of states in history, and what are their English names?", "Show me up to 10 entities that are classified as states, along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7275> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ba\". } } LIMIT 10"}}
{"id": "test_4002", "question": "What are the disambiguation pages on Wikimedia, along with their labels and descriptions in the same language?", "sparql": "SELECT ?item ?label ?description WHERE { ?item wdt:P31 wd:Q4167410 . ?item rdfs:label ?label . ?item schema:description ?description . FILTER(LANG(?label) = LANG(?description)) } LIMIT 5", "paraphrases": ["Show me Wikimedia disambiguation pages and their corresponding labels and descriptions in matching languages.", "List disambiguation pages with their language-specific titles and descriptions where the language matches."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167410> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var1 <http://schema.org/description> ?var2 . } LIMIT 5"}}
{"id": "test_4003", "question": "List of U.S. states with their English labels.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?state ?stateLabel WHERE {\n  ?state wdt:P31 wd:Q35657 .\n  ?state rdfs:label ?stateLabel\n  FILTER ( LANG( ?stateLabel ) = \"en\" )\n}", "paraphrases": ["What are the names of the states in the United States in English?", "Show me the English names of all states that are part of the United States."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/entity/Q3244512> <http://www.wikidata.org/prop/direct/P674> . }"}}
{"id": "test_4004", "question": "What organizations and individuals are affiliated with or partnered with the Sanctuary Church, and what properties describe these relationships?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?entity ?entityLabel ?property ?propertyLabel WHERE {\n  ?entity ?statementProperty wd:Q2976266 .\n  ?property wikibase:directClaim ?statementProperty .\n  ?entity rdfs:label ?entityLabel .\n  ?property rdfs:label ?propertyLabel .\n  FILTER ( LANG( ?entityLabel ) = \"en\" ) FILTER ( LANG( ?propertyLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Which entities have a partnership or affiliation with the International House of Prayer (Sanctuary Church), and what are the names of the properties linking them?", "Show me the people and organizations connected to Sanctuary Church via affiliation or partnership, along with the type of connection."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ?var3 <http://www.wikidata.org/entity/Q2976266> . ?var2 <http://wikiba.se/ontology#directClaim> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_4005", "question": "Cities and their countries in English", "sparql": "SELECT DISTINCT ?city ?cityLabel ?country ?countryLabel WHERE { ?city (wdt:P31/wdt:P279*) wd:Q515 . ?city wdt:P17 ?country . ?city rdfs:label ?cityLabel . ?country rdfs:label ?countryLabel . FILTER(LANG(?cityLabel) = \"en\") FILTER(LANG(?countryLabel) = \"en\") }", "paraphrases": ["What are the cities of the world and which countries are they in?", "Show me a list of all cities and towns with their corresponding countries, using English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"mr\". } }"}}
{"id": "test_4006", "question": "Countries with official names", "sparql": "SELECT DISTINCT ?country WHERE { ?country wdt:P31 wd:Q6256 . ?country wdt:P1448 ?officialName . } ORDER BY ?country LIMIT 100", "paraphrases": ["Which countries have an official name recorded in Wikidata?", "List up to 100 countries that have an official name defined."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var1 <http://www.wikidata.org/prop/direct/P1448> ?var2 . } LIMIT 100"}}
{"id": "test_4007", "question": "What external identifiers are associated with Frankfurt am Main?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?propertyLabel ?identifierValue ?identifierLabel WHERE {\n  wd:Q1794 ?property ?identifierValue .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?propertyLabel .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" ) ?propertyItem wdt:P31 wd:Q19847637 .\n  OPTIONAL {\n    ?identifierValue rdfs:label ?identifierLabel .\n    FILTER ( LANG( ?identifierLabel ) = \"en\" )\n  }\n}\nORDER BY ?propertyItem", "paraphrases": ["Which databases or systems assign unique identifiers to Frankfurt am Main?", "List all external IDs for Frankfurt am Main, such as GND, MusicBrainz, or Curlie IDs."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { <http://www.wikidata.org/entity/Q1794> ?var3 ?var2 . ?var4 <http://wikiba.se/ontology#directClaim> ?var3 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"en\" ) ) ) . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . } } ORDER BY ASC( ?var4 )"}}
{"id": "test_4008", "question": "Who are the people that belong to a religious order, and for whom both their membership and their specific religious order are recorded in Wikidata?", "sparql": "SELECT ?person ?personLabel ?religiousOrder ?religiousOrderLabel WHERE { ?person wdt:P463 ?religiousOrder . ?person wdt:P611 ?religiousOrder . ?person rdfs:label ?personLabel . ?religiousOrder rdfs:label ?religiousOrderLabel . FILTER(LANG(?personLabel) = \"en\") FILTER(LANG(?religiousOrderLabel) = \"en\") }", "paraphrases": ["List individuals who are members of a religious order, showing both their names and the name of the order, using English labels.", "Which religious orders have members listed with both the 'member of' and 'religious order' properties pointing to the same entity?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P463> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P611> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_4009", "question": "What are the English labels and descriptions of Wikidata properties used to link entities to the Catholic Church?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?property ?propertyLabel ?propertyDescription WHERE {\n  ?item ?property wd:Q1028181 .\n  FILTER ( STRSTARTS( STR( ?property ) , \"http://www.wikidata.org/prop/direct/\" ) ) .\n  BIND( IRI( REPLACE( STR( ?property ) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\" ) ) AS ?propertyItem ) .\n  ?propertyItem rdfs:label ?propertyLabel .\n  ?propertyItem schema:description ?propertyDescription .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" ) FILTER ( LANG( ?propertyDescription ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Which properties in Wikidata connect entities to the Catholic Church, and what are their English labels and descriptions?", "Show me the English names and descriptions of all Wikidata properties that are used to state that something is associated with the Catholic Church."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <https://www.wikidata.org/wiki/Q1028181> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_4010", "question": "What places are located near the coordinates -6\u00b0 longitude and 43\u00b0 latitude, and what are their images and Wikimedia Commons categories?", "sparql": "SELECT ?item ?itemLabel ?coord ?image ?commonsCategory ?address WHERE { ?item wdt:P625 ?coord . BIND(STRBEFORE(SUBSTR(STR(?coord), 7), \" \") AS ?lonStr) BIND(STRAFTER(SUBSTR(STR(?coord), 7), \" \") AS ?latStrWithParen) BIND(STRBEFORE(?latStrWithParen, \")\") AS ?latStr) BIND(xsd:double(?lonStr) AS ?lon) BIND(xsd:double(?latStr) AS ?lat) FILTER(?lon >= -6.1 && ?lon <= -5.9 && ?lat >= 42.9 && ?lat <= 43.1) OPTIONAL { ?item wdt:P18 ?image . } OPTIONAL { ?item wdt:P373 ?commonsCategory . } OPTIONAL { ?item wdt:P969 ?address . } ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } LIMIT 3000", "paraphrases": ["Can you list English-named locations in northwestern Spain between latitudes 42.9 and 43.1 and longitudes -6.1 and -5.9, along with their photos and associated Commons categories?", "Show me places in this region with coordinates around -6, 43, including any available pictures, Wikipedia Commons categories, and street addresses."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(-6 43)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(-6 43)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_4011", "question": "List of U.S. states with their English names.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?state ?stateLabel WHERE {\n  ?state wdt:P31 wd:Q35657 .\n  ?state rdfs:label ?stateLabel .\n  FILTER(LANG(?stateLabel) = \"en\")\n}", "paraphrases": ["What are the English names of all U.S. states?", "Show me all the states in the United States along with their official English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q35657> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl\". } }"}}
{"id": "test_4012", "question": "What are the main topics of lists in Wikidata that have Korean labels and descriptions?", "sparql": "SELECT ?item ?label ?description WHERE {\n  {\n    SELECT DISTINCT ?item WHERE {\n      ?list wdt:P360 ?item .\n    }\n    LIMIT 100\n  }\n  ?item rdfs:label ?label .\n  ?item schema:description ?description .\n  FILTER (LANG(?label) = \"ko\")\n  FILTER (LANG(?description) = \"ko\")\n}\nLIMIT 100", "paraphrases": ["Can you show me entities that are the main topic of a list and are described in Korean?", "Which items, serving as the central theme of a list, have both a Korean label and a Korean description?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P360> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"ko\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"ko\" ) ) ) . } LIMIT 100"}}
{"id": "test_4013", "question": "What are the English labels of the categories that the United States belongs to?", "sparql": "SELECT ?typeLabel WHERE { wd:Q30 wdt:P31 ?type . ?type rdfs:label ?typeLabel . FILTER(LANG(?typeLabel) = 'en') }", "paraphrases": ["What types is the United States an instance of, in English?", "Can you list the classes (in English) that the United States is classified under in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q133081> <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> \"string1\"@en . FILTER ( ( ( \"en\" = LANG ( \"string1\"@en ) ) ) ) . }"}}
{"id": "test_4014", "question": "Communes in Indre-et-Loire with their latitude and longitude.", "sparql": "PREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commune ?communeLabel ?latitude ?longitude WHERE {\n  ?commune wdt:P131 wd:Q12556 .\n  ?commune wdt:P31 wd:Q484170 .\n  ?commune p:P625 ?coordinate .\n  ?coordinate psv:P625 ?coordinateNode .\n  ?coordinateNode wikibase:geoLatitude ?latitude .\n  ?coordinateNode wikibase:geoLongitude ?longitude .\n  ?commune rdfs:label ?communeLabel .\n  FILTER ( LANG( ?communeLabel ) = \"fr\" )\n}", "paraphrases": ["What are the names and geographic coordinates of all communes in the French department of Indre-et-Loire?", "List the French communes located in Indre-et-Loire along with their latitude and longitude coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> + <http://www.wikidata.org/entity/Q12556> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q484170> . ?var1 <http://www.wikidata.org/prop/P625> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/value/P625> ?var6 . ?var6 <http://wikiba.se/ontology#geoLatitude> ?var3 . ?var6 <http://wikiba.se/ontology#geoLongitude> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_4015", "question": "What are the entities located in the United Kingdom?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?label WHERE {\n  ?item wdt:P17 ?country .\n  ?country wdt:P297 \"GB\" .\n  ?item rdfs:label ?label .\n}\nLIMIT 100", "paraphrases": ["Can you list the labels of all items that are in the UK, identified by the ISO code GB?", "Show me the names of things associated with Great Britain using its ISO country code."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P17> / <http://www.wikidata.org/prop/direct/P297> ) \"GB\"; <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . }"}}
{"id": "test_4016", "question": "Coordinates of all human settlements in Aachen.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?coordinates WHERE {\n  ?settlement ( wdt:P31 / wdt:P279 * ) wd:Q486972 ; wdt:P131 wd:Q1017 ; wdt:P625 ?coordinates .\n}", "paraphrases": ["What are the geographic coordinates of places like towns and villages located in Aachen?", "Show me the latitude and longitude of every inhabited place in Aachen, Germany."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q486972> ; <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q1017> ; <http://www.wikidata.org/prop/direct/P625> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4017", "question": "What are the federal states of Germany?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?stateLabel WHERE {\n  ?state wdt:P31 wd:Q1221156 .\n  ?state rdfs:label ?stateLabel .\n  FILTER ( LANG( ?stateLabel ) = \"en\" )\n}", "paraphrases": ["Can you list the administrative divisions of Germany that are considered states?", "Which entities in Germany are classified as federated states?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1221156> . ?var3 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . ?var3 <http://www.wikidata.org/prop/direct/P150> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } } LIMIT 20"}}
{"id": "test_4018", "question": "German names of French communes ending in \"al\" with their coordinates", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commune ?communeLabel ?coordinates WHERE {\n  ?commune(wdt:P31 / wdt:P279 *) wd:Q484170 ; rdfs:label ?communeLabel ; wdt:P625 ?coordinates .\n  FILTER(LANG(?communeLabel) = \"de\")\n  FILTER(REGEX(?communeLabel , \"al$\"))\n}", "paraphrases": ["Which French communes have German labels ending in \"al\", and what are their geographic coordinates?", "Show me the German-language names and locations of all French communes whose names end in \"al\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q484170> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label ; <http://www.wikidata.org/prop/direct/P625> ?var2 . FILTER ( ( ( LANG ( ?var1Label ) = \"de\" ) ) ) . FILTER ( ( REGEX ( ?var1Label , \"al$\" ) ) ) . }"}}
{"id": "test_4019", "question": "What are the key properties and descriptions of the Roman Catholic Church in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX schema: <http://schema.org/>\nSELECT ?property ?value ?valueLabel WHERE {\n  wd:Q9592 ?property ?value .\n  OPTIONAL {\n    ?value rdfs:label ?valueLabel .\n    FILTER ( LANG( ?valueLabel ) = \"en\" )\n  }\n  FILTER ( ?property IN ( rdfs:label , skos:altLabel , schema:description , wdt:P31 , wdt:P1365 , wdt:P1448 , wdt:P159 , wdt:P856 ) )\n}", "paraphrases": ["Can you show me information about the Roman Catholic Church, including its type, headquarters, and official name?", "Tell me about the Roman Catholic Church \u2014 what is it classified as, where is it headquartered, and what are its alternative names?"], "info": {"raw_sparql": "Describe <http://www.wikidata.org/prop/direct/Q516>"}}
{"id": "test_4020", "question": "What languages are official in which countries?", "sparql": "SELECT ?language ?country WHERE { ?language wdt:P31 wd:Q34770 . ?country wdt:P37 ?language .}", "paraphrases": ["Can you list the languages and the countries where they are officially spoken?", "Which countries have each language as an official language?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q34770> ; <http://www.wikidata.org/prop/direct/P134> [] . }"}}
{"id": "test_4021", "question": "What are the urban districts of Dresden, listed in alphabetical order?", "sparql": "SELECT ?quarter ?quarterLabel WHERE { ?quarter wdt:P31 wd:Q2983893 . ?quarter wdt:P131 wd:Q1731 . ?quarter rdfs:label ?quarterLabel . FILTER(LANG(?quarterLabel) = \"en\" || LANG(?quarterLabel) = \"\") } ORDER BY ASC(?quarterLabel)", "paraphrases": ["Can you list all the neighborhoods in Dresden and sort them by name?", "Which parts of Dresden are classified as city districts, and what are their names in order?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2983893> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q1731> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_4022", "question": "What are the classifications and headquarters of the Catholic Church?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?instanceOf ?headquarters WHERE {\n  wd:Q9592 rdfs:label ?label .\n  FILTER ( LANG( ?label ) = 'en' ) .\n  wd:Q9592 wdt:P31 ?instanceOf .\n  wd:Q9592 wdt:P159 ?headquarters .\n}", "paraphrases": ["What type of organization is the Catholic Church, and where is its headquarters located?", "Can you list the categories the Catholic Church belongs to and its headquarters?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q160112> AS ?var2 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4023", "question": "Items that implement a standard and their total number of statements in Wikidata.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ( COUNT( * ) AS ?statementCount ) WHERE {\n  ?item wdt:P4428 ?standard .\n  ?item ?p ?o .\n}\nGROUP BY ?item\nORDER BY ASC ( ?item )", "paraphrases": ["How many statements does each item have that implements a standard or protocol?", "List all software or systems that implement a standard, along with the count of all their claims in Wikidata, sorted by item ID."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT (* ) AS ?var2 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P4428> ?var4 ; <http://wikiba.se/ontology#statements> ?var1 . } GROUP BY ?var1 ORDER BY ASC( ?var1 )"}}
{"id": "test_4024", "question": "What are the English labels for the types of the Catholic Church?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?typeLabel WHERE {\n  wd:Q9592 wdt:P31 ?type .\n  ?type rdfs:label ?typeLabel .\n  FILTER(LANG(?typeLabel) = \"en\")\n}", "paraphrases": ["What categories does the Catholic Church belong to, in English?", "Can you tell me the English names of the classes that the Catholic Church is an instance of?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q13962> <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> \"string1\"@en . FILTER ( ( ( \"en\" = LANG ( \"string1\"@en ) ) ) ) . }"}}
{"id": "test_4025", "question": "What administrative regions contain the town of Sonneberg, including itself?", "sparql": "SELECT ?administrativeEntity ?administrativeEntityLabel WHERE { wd:Q499278 wdt:P131* ?administrativeEntity . ?administrativeEntity rdfs:label ?administrativeEntityLabel . FILTER(LANG(?administrativeEntityLabel) = \"en\") }", "paraphrases": ["List all higher-level administrative areas that Sonneberg belongs to, from district up to country.", "What is the full administrative hierarchy of Sonneberg, Germany?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q499278> <http://www.wikidata.org/prop/direct/P131> * ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4026", "question": "List communes in France with their English names and country.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commune ?communeLabel ?country ?countryLabel WHERE {\n  ?commune wdt:P31 wd:Q484170 .\n  OPTIONAL {\n    ?commune wdt:P17 ?country .\n  }\n  OPTIONAL {\n    ?commune rdfs:label ?communeLabel .\n    FILTER ( LANG( ?communeLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?country rdfs:label ?countryLabel .\n    FILTER ( LANG( ?countryLabel ) = \"en\" )\n  }\n}\nLIMIT 10", "paraphrases": ["What are some communes in France, and what country are they in?", "Show me up to 10 communes of France, including their English labels and confirm they are located in France."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q484170> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . } } LIMIT 10"}}
{"id": "test_4027", "question": "French communes without Albanian labels, showing French names", "sparql": "SELECT ?var2 ?var2Label WHERE { ?var2 wdt:P31 wd:Q484170 . ?var2 rdfs:label ?var2Label . FILTER (LANG(?var2Label) = \"fr\") . FILTER (NOT EXISTS { ?var2 rdfs:label ?albanianLabel . FILTER (LANG(?albanianLabel) = \"sq\") }) } LIMIT 100", "paraphrases": ["What are the French communes that do not have an Albanian-language label, and what are their French names?", "List up to 100 communes in France with their French labels, excluding any that also have an Albanian label."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var3 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q484170> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sq\". } FILTER ( ( NOT EXISTS { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"sq\" ) ) ) . } ) ) . } LIMIT 100"}}
{"id": "test_4028", "question": "List all sovereign states with their English Wikipedia pages.", "sparql": "SELECT ?country ?countryLabel ?wikipediaPage WHERE { ?country wdt:P31 wd:Q3624078 . ?wikipediaPage schema:about ?country ; schema:isPartOf <https://en.wikipedia.org/> . ?country rdfs:label ?countryLabel . FILTER(lang(?countryLabel) = \"en\") }", "paraphrases": ["What are the English names and Wikipedia links for all sovereign countries?", "Show me the names of all countries and their corresponding English Wikipedia articles."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3624078> . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_4029", "question": "What are the French labels and descriptions of properties related to the capital of a country?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?relatedProperty ?label ?description WHERE {\n  wd:P36 wdt:P1659 ?relatedProperty .\n  ?relatedProperty rdfs:label ?label .\n  ?relatedProperty schema:description ?description .\n  FILTER(LANG(?label) = \"fr\")\n  FILTER(LANG(?description) = \"fr\")\n}", "paraphrases": ["In French, what properties are considered related to the concept of a capital city, and what do they mean?", "Can you show me the French descriptions of properties that are linked as related to the capital (P36) in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P36> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"fr\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"fr\" ) ) ) . }"}}
{"id": "test_4030", "question": "What are the English names and descriptions of places where humans have been detained, such as prisons or concentration camps?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?detentionPlace ?label ?description WHERE {\n  ?detainee wdt:P2632 ?detentionPlace .\n  ?detainee wdt:P31 wd:Q5 .\n  ?detentionPlace rdfs:label ?label .\n  ?detentionPlace schema:description ?description .\n  FILTER ( LANG( ?label ) = \"en\" ) FILTER ( LANG( ?description ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["List detention places for people with their English labels and descriptions.", "Can you show me up to 100 places where people were detained, along with their English names and descriptions?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P2632> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_4031", "question": "Entities in Wikidata including Wenden (Sauerland), Wendel (name), Wende (surname), Wendelstein (nature reserve), and other similar places and names.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?item WHERE {\n  VALUES ?item {\n    wd:Q1903514 wd:Q25908600 wd:Q7982351 wd:Q27950186 wd:Q27973055 wd:Q275838 wd:Q10912 wd:Q18180180 wd:Q24209002 wd:Q24209001 wd:Q19963326 wd:Q21042013 wd:Q2559052 wd:Q26741043 wd:Q2559130 wd:Q1405807 wd:Q2559136 wd:Q2559152 wd:Q27995220 wd:Q2558919 wd:Q1553215 wd:Q9346973 wd:Q2558952 wd:Q23045919 wd:Q23045923\n  }\n}", "paraphrases": ["What are the Wikidata items corresponding to the list of IDs including Q10912 (Wenden), Q18180180 (Wendel), Q275838 (Wende the singer), and others?", "Can you list all the entities from this set of Wikidata IDs: Q1903514, Q25908600, Q7982351, Q27950186, Q27973055, Q275838, Q10912, Q18180180, Q24209002, Q24209001, Q19963326, Q21042013, Q2559052, Q26741043, Q2559130, Q1405807, Q2559136, Q2559152, Q27995220, Q2558919, Q1553215, Q9346973, Q2558952, Q23045919, Q23045923?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ?var2 ?var3 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167410> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q17633526> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11266439> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167836> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q14204246> . } VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q1903514> ) ( <http://www.wikidata.org/entity/Q25908600> ) ( <http://www.wikidata.org/entity/Q7982351> ) ( <http://www.wikidata.org/entity/Q27950186> ) ( <http://www.wikidata.org/entity/Q27973055> ) ( <http://www.wikidata.org/entity/Q275838> ) ( <http://www.wikidata.org/entity/Q10912> ) ( <http://www.wikidata.org/entity/Q18180180> ) ( <http://www.wikidata.org/entity/Q24209002> ) ( <http://www.wikidata.org/entity/Q24209001> ) ( <http://www.wikidata.org/entity/Q19963326> ) ( <http://www.wikidata.org/entity/Q21042013> ) ( <http://www.wikidata.org/entity/Q2559052> ) ( <http://www.wikidata.org/entity/Q26741043> ) ( <http://www.wikidata.org/entity/Q2559130> ) ( <http://www.wikidata.org/entity/Q1405807> ) ( <http://www.wikidata.org/entity/Q2559136> ) ( <http://www.wikidata.org/entity/Q2559152> ) ( <http://www.wikidata.org/entity/Q27995220> ) ( <http://www.wikidata.org/entity/Q2558919> ) ( <http://www.wikidata.org/entity/Q1553215> ) ( <http://www.wikidata.org/entity/Q9346973> ) ( <http://www.wikidata.org/entity/Q2558952> ) ( <http://www.wikidata.org/entity/Q23045919> ) ( <http://www.wikidata.org/entity/Q23045923> ) } }"}}
{"id": "test_4032", "question": "Italian labels and descriptions of properties used for Conegliano", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?propertyLabel ?propertyDescription WHERE {\n  wd:Q47224 ?directProperty ?object .\n  FILTER ( STRSTARTS( STR( ?directProperty ) , \"http://www.wikidata.org/prop/direct/\" ) ) .\n  BIND( IRI( REPLACE( STR( ?directProperty ) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\" ) ) AS ?property ) .\n  ?property rdfs:label ?propertyLabel .\n  ?property schema:description ?propertyDescription .\n  FILTER ( LANG( ?propertyLabel ) = \"it\" ) .\n  FILTER ( LANG( ?propertyDescription ) = \"it\" )\n}\nLIMIT 100", "paraphrases": ["What are the Italian labels and descriptions of the properties that describe the Italian commune of Conegliano?", "Show me the Italian-language labels and descriptions of all properties associated with Conegliano on Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q47224> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"it\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"it\" ) ) ) . } LIMIT 100"}}
{"id": "test_4033", "question": "Communes in the Creuse department of France", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commune ?communeLabel WHERE {\n  ?commune wdt:P31 wd:Q484170 .\n  ?commune wdt:P17 wd:Q142 .\n  ?commune wdt:P131 wd:Q3353 .\n  ?commune rdfs:label ?communeLabel .\n  FILTER(LANG(?communeLabel) = \"en\")\n}", "paraphrases": ["What are the names of all communes in the Creuse department in France?", "List the English names of all communes located in the Creuse department of France."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 ?var3Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q484170> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q142> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q3353> . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sq\". } }"}}
{"id": "test_4034", "question": "Administrative divisions in North Rhine-Westphalia excluding electoral districts, protected areas, and higher municipal associations.", "sparql": "SELECT DISTINCT ?item WHERE { ?item wdt:P131 wd:Q1198 ; (wdt:P31/wdt:P279*) wd:Q387917 . FILTER NOT EXISTS { ?item (wdt:P31/wdt:P279*) wd:Q192611 . } FILTER NOT EXISTS { ?item (wdt:P31/wdt:P279*) wd:Q20296613 . } FILTER NOT EXISTS { ?item (wdt:P31/wdt:P279*) wd:Q1643757 . } }", "paraphrases": ["What are the administrative divisions in North Rhine-Westphalia that are not electoral units, protected areas, or higher municipal associations?", "List all administrative units in North Rhine-Westphalia, but exclude electoral constituencies, protected natural areas, and higher municipal associations."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var1 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q1198> ; ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q387917> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } FILTER ( ( NOT EXISTS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q192611> . } ) ) . FILTER ( ( NOT EXISTS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q20296613> . } ) ) . FILTER ( ( NOT EXISTS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1643757> . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_4035", "question": "What properties are used to describe Orientalism in French, and what are their French labels, counts of French-labeled values, and those values?", "sparql": "SELECT ?property (SAMPLE(?propertyLabel) AS ?sampledPropertyLabel) (COUNT(?object) AS ?objectCount) (GROUP_CONCAT(?objectLabel; SEPARATOR=\", \") AS ?objectLabels) WHERE { wd:Q42865 ?property ?object . ?object rdfs:label ?objectLabel . FILTER(LANG(?objectLabel) = \"fr\") . ?propertyItem wikibase:directClaim ?property . ?propertyItem rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"fr\") . } GROUP BY ?property", "paraphrases": ["Can you show me how Orientalism is described in French, including the French names of its properties, how many French descriptions each has, and what those descriptions are?", "List all French-labeled properties and their associated French-labeled objects for Orientalism, along with the count of objects per property."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q42865> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"fr\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"fr\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_4036", "question": "What types of publications is the Wikipedia Signpost classified as in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?type WHERE {\n  wd:Q7395165 wdt:P31 ?type .\n}", "paraphrases": ["Is the Wikipedia Signpost an online newspaper or a newsletter according to Wikidata?", "What are the instance types of the Wikipedia Signpost on Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://dbpedia.org/resource/Wikipedia_Signpost/2012-02-13/In_focus> <http://www.wikidata.org/prop/direct/P31> ?var1 . }"}}
{"id": "test_4037", "question": "Communes in Seine-Saint-Denis, France", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commune WHERE {\n  ?commune wdt:P31 wd:Q484170 .\n  ?commune wdt:P17 wd:Q142 .\n  ?commune wdt:P131 wd:Q12761 .\n  wd:Q12761 wdt:P31 wd:Q6465 . MINUS {\n    wd:Q12761 wdt:P576 [] .\n  }\n}", "paraphrases": ["What are the communes located in the French department of Seine-Saint-Denis?", "List all communes in Seine-Saint-Denis that are part of an active French department."], "info": {"raw_sparql": "SELECT( isIRI ( ?var1 ) AS ?var2 ) WHERE { { SELECT * WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q484170> . ?var3 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q142> . ?var3 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q12761> . ?var3 <http://www.wikidata.org/prop/direct/P131> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6465> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P576> [] . } } LIMIT 20000 } }"}}
{"id": "test_4038", "question": "What are the countries in the world?", "sparql": "SELECT DISTINCT ?country WHERE { ?country wdt:P31 wd:Q3624078 . } LIMIT 10", "paraphrases": ["List the sovereign states recognized in Wikidata.", "Show me a list of entities classified as countries."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q634> . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q28803313> . } LIMIT 10"}}
{"id": "test_4039", "question": "List all Wikidata properties with Italian labels.", "sparql": "SELECT ?property ?label WHERE { ?property rdf:type wikibase:Property . ?property rdfs:label ?label . FILTER (LANG(?label) = \"it\") } ORDER BY ASC(?label) LIMIT 10000", "paraphrases": ["What are the Italian labels for all properties in Wikidata?", "Show me the URIs and Italian labels of all properties in Wikidata, sorted alphabetically by label."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { } FILTER ( ( ( LANG ( ?var2Label ) = \"it\" ) ) ) . } ORDER BY ASC( ?var1 )ASC( ?var3 ) LIMIT 10000"}}
{"id": "test_4040", "question": "Communes in Corr\u00e8ze, France", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var1 ?label WHERE {\n  ?var1 wdt:P31 wd:Q484170 .\n  ?var1 wdt:P17 wd:Q142 .\n  ?var1 wdt:P131 wd:Q3326 .\n  ?var1 rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}", "paraphrases": ["What are the names of the communes in the Corr\u00e8ze department of France?", "List all municipalities in the French department of Corr\u00e8ze."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 ?var3Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q484170> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q142> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q3326> . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sq\". } }"}}
{"id": "test_4041", "question": "What are the government regions in North Rhine-Westphalia?", "sparql": "SELECT ?region ?regionLabel WHERE { ?region wdt:P31 wd:Q829277 . ?region rdfs:label ?regionLabel . FILTER(LANG(?regionLabel) = \"en\") } LIMIT 100", "paraphrases": ["List the administrative regions of the German state of North Rhine-Westphalia.", "Can you name the seven government regions that make up North Rhine-Westphalia?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q829277> . } LIMIT 100"}}
{"id": "test_4042", "question": "List German municipalities and their areas in square kilometers, sorted alphabetically.", "sparql": "SELECT ?municipality ?label ?area WHERE { ?municipality wdt:P2046 ?area . ?municipality wdt:P17 wd:Q183 . { ?municipality wdt:P31 wd:Q262166 . } UNION { ?municipality wdt:P31 wd:Q15284 . } ?municipality rdfs:label ?label . FILTER(LANG(?label) = \"en\") } ORDER BY ASC(?label)", "paraphrases": ["What are the names and areas of all municipalities in Germany, in English?", "Please provide the English names and areas of all municipalities in Germany, ordered by name."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2046> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183-> . { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q262166> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q15284> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_4043", "question": "Districts in the Detmold Government Region of Germany", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?district ?districtLabel WHERE {\n  ?district wdt:P131 wd:Q7923 .\n  ?district wdt:P31 wd:Q106658 .\n  ?district rdfs:label ?districtLabel .\n  FILTER ( LANG( ?districtLabel ) = \"en\" )\n}", "paraphrases": ["Which districts in Germany are located within the Detmold Government Region?", "List the English names of all districts (Landkreise) that are part of the Detmold Government Region in North Rhine-Westphalia."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q7923> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q106658> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_4044", "question": "What are the German districts and what administrative subdivisions do they contain?", "sparql": "SELECT ?district ?contained WHERE { ?district wdt:P31 wd:Q106658 . OPTIONAL { ?district wdt:P150 ?contained . } }", "paraphrases": ["List all districts in Germany along with the entities they directly contain.", "Which German districts have subordinate administrative areas, and what are those areas?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q106658> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q106658> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P150> ?var4 . } }"}}
{"id": "test_4045", "question": "What are the English names and associated data of all urban municipalities in Germany?", "sparql": "SELECT DISTINCT ?municipalityLabel ?property ?value WHERE { ?municipality wdt:P31 wd:Q42744322 . ?municipality ?property ?value . ?municipality rdfs:label ?municipalityLabel . FILTER(LANG(?municipalityLabel) = \"en\") FILTER(?property != wdt:P31) } LIMIT 500", "paraphrases": ["Show me the properties and values for each urban municipality in Germany, along with their English labels.", "List all urban municipalities in Germany and their non-instance properties (like population, location, area, etc.)."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2Label ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q550808> . ?var1 ?var2 ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,de\". } } LIMIT 500"}}
{"id": "test_4046", "question": "What are the subclasses of the category \"country\"?", "sparql": "SELECT ?subclass ?directSuperclass WHERE { ?subclass wdt:P279* wd:Q6256 . OPTIONAL { ?subclass wdt:P279 ?directSuperclass . } FILTER(?subclass != wd:Q6256) }", "paraphrases": ["Can you list all types of countries, such as island countries or landlocked countries, and their immediate parent categories?", "Show me the hierarchy of country types, including subtypes like petrostate or island country, and what broader category each belongs to."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q805> ) } ?var1 <http://www.wikidata.org/prop/direct/P279> * ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } }"}}
{"id": "test_4047", "question": "What are the specific types of Wikidata property constraints that are not subdivided into further subtypes?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?constraint ?constraintLabel WHERE {\n  ?constraint wdt:P279 * wd:Q21502402 .\n  FILTER NOT EXISTS {\n    ?subclass wdt:P279 ?constraint .\n  }\n  ?constraint rdfs:label ?constraintLabel .\n  FILTER ( LANG( ?constraintLabel ) = \"en\" )\n}\nORDER BY ASC ( ?constraintLabel )", "paraphrases": ["Which constraint types in Wikidata are leaf nodes in the subclass hierarchy of \"Wikidata property constraint\"?", "List all the terminal constraint types under \"Wikidata property constraint\" in alphabetical order, along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q21502402> . FILTER ( ( NOT EXISTS { ?var3 <http://www.wikidata.org/prop/direct/P279> ?var1 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_4048", "question": "What are the English names of all constraint types used in Wikidata properties?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?constraint ?label WHERE {\n  ?property wdt:P2302 ?constraint .\n  ?constraint rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nORDER BY ?label", "paraphrases": ["Can you list the constraint types that can be applied to Wikidata properties, along with their English labels?", "Which types of constraints (like single-value or allowed-entity-types) are defined for Wikidata properties, and what are their English labels?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/P2683> <http://www.wikidata.org/prop/direct/P2302> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } LIMIT 50"}}
{"id": "test_4049", "question": "What are the exceptions to constraints defined on Wikidata properties?", "sparql": "SELECT ?property ?constraintType ?exception ?propertyLabel ?exceptionLabel WHERE { ?property p:P2302 ?statement . ?statement ps:P2302 ?constraintType . ?statement pq:P2303 ?exception . ?property rdfs:label ?propertyLabel . ?exception rdfs:label ?exceptionLabel . FILTER(LANG(?propertyLabel) = \"en\") FILTER(LANG(?exceptionLabel) = \"en\") } LIMIT 10", "paraphrases": ["Which entities are exempt from constraints on specific Wikidata properties, and what are those constraints?", "Show me the properties that have exceptions to their constraints, along with the constraint type and the exception entity."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/statement/P244-14F84D02-298B-4D9F-886E-21B9FE722EE9> <http://www.wikidata.org/prop/qualifier/P2303> ?var1 . }"}}
{"id": "test_4050", "question": "Most frequently used property for Swapnil Joshi in Wikidata", "sparql": "SELECT ?property (COUNT(?property) AS ?count) WHERE { ?item ?propertyItem wd:Q7653824 . ?property wikibase:directClaim ?propertyItem . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["What property links Swapnil Joshi to the most number of items, and how many times is it used?", "Show the property that appears most often in statements about the Indian actor Swapnil Joshi, along with its usage count."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q7653824> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_4051", "question": "Which Wikidata properties have the most constraint exceptions?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?property ?propertyLabel ( COUNT( * ) AS ?exceptionCount ) WHERE {\n  ?property p:P2302 [ pq:P2303 ?exception ] .\n  ?property rdfs:label ?propertyLabel .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" )\n}\nGROUP BY ?property ?propertyLabel\nORDER BY DESC ( ?exceptionCount )\nLIMIT 6", "paraphrases": ["What are the top 6 Wikidata properties with the highest number of exceptions to their constraints?", "Show me the six Wikidata properties that have the most exceptions defined for their constraints, along with how many exceptions each has and their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT (* ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/P2302> [ <http://www.wikidata.org/prop/qualifier/P2303> ?var3 ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var2 ) LIMIT 6"}}
{"id": "test_4052", "question": "What are all the countries in the world?", "sparql": "SELECT ?country WHERE { ?country wdt:P31 wd:Q3624078 }", "paraphrases": ["List all sovereign states recognized in Wikidata.", "Which entities are classified as countries in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { ?var5 <http://www.wikidata.org/prop/direct/Q15> <http://www.wikidata.org/entity/Q6256> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4053", "question": "What are the official names of entities in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity ?officialName WHERE {\n  ?entity wdt:P1448 ?officialName .\n}\nLIMIT 100", "paraphrases": ["List entities along with their official names in Wikidata.", "Which items and properties in Wikidata have official names, and what are those names?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1448> ?var2 . } } LIMIT 100"}}
{"id": "test_4054", "question": "What properties are used for Ancestral Hall of Jia Gong in Chinese, and what are their object values and counts?", "sparql": "SELECT ?property ?propertyLabel (COUNT(?object) AS ?count) (GROUP_CONCAT(?objectLabel; SEPARATOR=\", \") AS ?objectLabels) WHERE { wd:Q19841770 ?property ?object . ?object rdfs:label ?objectLabel . FILTER(LANG(?objectLabel) = \"zh\") . ?propertyItem wikibase:directClaim ?property . ?propertyItem rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"zh\") } GROUP BY ?property ?propertyLabel", "paraphrases": ["For the Ancestral Hall of Jia Gong, which Chinese-labeled properties connect it to other entities, how many objects does each have, and what are those objects labeled in Chinese?", "List all Chinese labels of properties connected to Ancestral Hall of Jia Gong, along with the count of objects and the Chinese labels of those objects."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q19841770> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"zh\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"zh\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_4055", "question": "Categories related to Estonia that are English-language and combine Estonia with another topic.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?category ?categoryLabel WHERE {\n  ?category wdt:P31 wd:Q4167836 .\n  ?category rdfs:label ?categoryLabel .\n  FILTER(LANG(?categoryLabel) = \"en\" && CONTAINS(?categoryLabel , \"Estonia\"))\n  ?category wdt:P971 wd:Q191 .\n}\nLIMIT 50", "paraphrases": ["What are the English-language Wikipedia categories that are linked to Estonia and describe topics involving Estonia?", "List all English Wikipedia categories that mention Estonia and are categorized as combining Estonia with another subject."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( STRAFTER ( STR ( ?var1 ) , \"y/\" ) AS ?var2 )( \"P971\" AS ?var3 )( STRAFTER ( STR ( <http://www.wikidata.org/entity/Q191> ) , \"y/\" ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167836> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P971> <http://www.wikidata.org/entity/Q191> . } ) ) . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) && STRENDS ( ?var1Label , \"tonia\" ) && STRENDS ( ?var1Label , \" Estonia\" ) ) ) . } OFFSET 0 LIMIT 50"}}
{"id": "test_4056", "question": "What properties are most frequently used to link entities to the Polish resistance group Armia Krajowa?", "sparql": "SELECT ?property ?propertyLabel ?count WHERE { { SELECT ?property ( COUNT( ?item ) AS ?count ) WHERE { ?item ?prop wd:Q152529 . ?property wikibase:directClaim ?prop . } GROUP BY ?property HAVING ( ?count > 1 ) } ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") } ORDER BY DESC(?count)", "paraphrases": ["Which Wikidata properties connect the most number of items to the Armia Krajowa, and how many items are linked by each?", "Show me the properties that relate more than one entity to Armia Krajowa, sorted by how many connections they have, along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var4 ) AS ?var3 ) WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q152529> . ?var1 <http://wikiba.se/ontology#directClaim> ?var5 . } GROUP BY ?var1 ?var1Label HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } } ORDER BY DESC( ?var3 )"}}
{"id": "test_4057", "question": "Italian-labeled categories that combine topics on Wikidata", "sparql": "SELECT ?category ?label ?description WHERE { ?category wdt:P971 ?topic . ?category rdfs:label ?label . ?category schema:description ?description . FILTER(LANG(?label) = \"it\") FILTER(LANG(?description) = \"it\") } LIMIT 100", "paraphrases": ["What categories in Italian describe topics that are combined on Wikidata?", "Show me the Italian labels and descriptions of categories that combine multiple topics on Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P971> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"it\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"it\" ) ) ) . } LIMIT 100"}}
{"id": "test_4058", "question": "What are pairs of opposite items in English?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT(STR(?label1) AS ?item1Label)(STR(?label2) AS ?item2Label) WHERE {\n  ?item1 wdt:P461 ?item2 .\n  ?item1 rdfs:label ?label1 .\n  ?item2 rdfs:label ?label2 .\n  FILTER(LANG(?label1) = \"en\")\n  FILTER(LANG(?label2) = \"en\")\n}", "paraphrases": ["Can you list all English-labeled pairs of things that are opposites of each other?", "Show me the English names of items and their direct opposites from Wikidata."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P461> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_4059", "question": "Which Wikimedia projects have a defined language code?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?wikimediaProject WHERE {\n  ?wikimediaProject wdt:P424 ?languageCode .\n}", "paraphrases": ["List of Wikimedia projects with language codes", "Show me all Wikimedia projects that are associated with a Wikimedia language code."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P424> ?var2 . }"}}
{"id": "test_4060", "question": "What direct properties are used to link Johann Friedrich Tinius to other entities in Wikidata?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?var1 ?var1Label ?var2 ?var2Label WHERE {\n  wd:Q100266372 ?var3 ?o .\n  ?var2 wikibase:directClaim ?var3 .\n}\nLIMIT 100", "paraphrases": ["Which properties are used to describe Johann Friedrich Tinius in Wikidata, and what are their direct claim equivalents?", "For Johann Friedrich Tinius, what are the direct properties that connect him to his associated values?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ?var3 <http://www.wikidata.org/entity/Q1457341> . ?var2 <http://wikiba.se/ontology#directClaim> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_4061", "question": "What are the relationships between Ernst-Ludwig von Thadden and other entities, and what qualifiers are associated with those relationships?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?relatedEntity ?statement ?property(SAMPLE(?qualifierProperty) AS ?exampleQualifier) WHERE {\n  ?statement ?propProperty wd:Q1357125 .\n  ?relatedEntity ?claimProperty ?statement .\n  ?property wikibase:statementProperty ?propProperty ; wikibase:claim ?claimProperty .\n  FILTER(?property != wd:P31)\n  OPTIONAL {\n    ?statement ?qualifierProperty ?qualifierValue .\n    ?qualifierConfig wikibase:qualifier ?qualifierProperty .\n  }\n}\nGROUP BY ?relatedEntity ?statement ?property", "paraphrases": ["Who is connected to Ernst-Ludwig von Thadden via statements (not as an instance of human), and what properties and qualifiers describe those connections?", "List all entities related to Ernst-Ludwig von Thadden through statements, showing the type of relationship and any qualifiers like start time or series position."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q1357125> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_4062", "question": "What entities are considered equivalent or synonymous according to Wikidata?", "sparql": "SELECT DISTINCT ?item1 ?item2 WHERE { ?item1 wdt:P460 ?item2 . } LIMIT 100", "paraphrases": ["Which items in Wikidata are marked as being the same as other items, even if the equivalence is uncertain?", "Show me pairs of items linked by the \"said to be the same as\" relationship, such as alternative names or disputed classifications."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P460> ?var2 . } ORDER BY DESC( ?var3 ) LIMIT 100"}}
{"id": "test_4063", "question": "What are all the superclass categories of an attic in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?superclass WHERE {\n  wd:Q758057 wdt:P279 * ?superclass .\n}", "paraphrases": ["What classes does the attic belong to through the subclass hierarchy?", "List all the higher-level classes (including indirect ancestors) that an attic is a subclass of, according to Wikidata\u2019s ontology."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q758057> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_4064", "question": "People with images on Wikimedia Commons and a Commons Creator template.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item ?image WHERE {\n  ?item wdt:P1472 ?creatorTemplate .\n  ?item wdt:P18 ?image .\n}", "paraphrases": ["Which people on Wikidata have both a Commons Creator template and an associated image on Wikimedia Commons?", "Show me the entities and their corresponding images from Wikimedia Commons for those that are documented using a Commons Creator template."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1472> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . }"}}
{"id": "test_4065", "question": "What are the most common relationships linking people or organizations to the Curie Institute?", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q2451973 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["Which properties are used most frequently to connect entities to the Curie Institute, and how many times do they appear?", "Show me the top relationships (excluding those used only once) that connect other entities to the Curie Institute, sorted by frequency."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 ?var1 <http://www.wikidata.org/entity/Q2451973> . } GROUP BY ?var1 ?var2 HAVING ( ( ?var4 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var4 )"}}
{"id": "test_4066", "question": "Wikimedia templates with Serbian description \"\u0412\u0438\u043a\u0438\u043c\u0435\u0434\u0438\u0458\u0438\u043d \u0448\u0430\u0431\u043b\u043e\u043d\" and English labels", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?template ?label WHERE {\n  ?template wdt:P31 wd:Q11266439 .\n  ?template schema:description \"\u0412\u0438\u043a\u0438\u043c\u0435\u0434\u0438\u0458\u0438\u043d \u0448\u0430\u0431\u043b\u043e\u043d\" @sr .\n  ?template rdfs:label ?label\n  FILTER ( LANG( ?label ) = \"en\" )\n}", "paraphrases": ["What are the English names of Wikimedia templates that are described in Serbian as \"\u0412\u0438\u043a\u0438\u043c\u0435\u0434\u0438\u0458\u0438\u043d \u0448\u0430\u0431\u043b\u043e\u043d\"?", "List the English labels of all Wikimedia templates that have the Serbian description \"\u0412\u0438\u043a\u0438\u043c\u0435\u0434\u0438\u0458\u0438\u043d \u0448\u0430\u0431\u043b\u043e\u043d\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11266439> . ?var1 <http://schema.org/description> \"string1\"@sr . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4067", "question": "What are the broader categories that a hat belongs to in the hierarchy of things?", "sparql": "SELECT DISTINCT ?superclass WHERE { wd:Q80151 wdt:P279* ?superclass . } LIMIT 10", "paraphrases": ["Show me the classification hierarchy above hats, listing their parent categories.", "What are some superclass categories of a hat, such as headgear or clothing?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q80151> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_4068", "question": "How many humans have a Commons Creator page on Wikimedia Commons?", "sparql": "SELECT (COUNT(?human) AS ?count) WHERE { ?human wdt:P1472 ?commonsTemplate . ?human wdt:P31 wd:Q5 .}", "paraphrases": ["What is the number of human individuals on Wikidata that are associated with a Commons Creator template?", "Show me the count of humans who have a Commons Creator page linked in Wikimedia Commons."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1472> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4069", "question": "Wikimedia Commons Creator page templates for entities without English labels", "sparql": "SELECT DISTINCT ?item WHERE { ?item wdt:P1472 ?commonsTemplate . FILTER NOT EXISTS { ?item rdfs:label ?enLabel . FILTER (LANG(?enLabel) = \"en\") } } LIMIT 100", "paraphrases": ["Which entities on Wikidata have a Commons Creator page but no English label?", "List up to 100 entities that are associated with a Commons Creator template on Wikimedia Commons but do not have an English label."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1472> ?var2 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( NOT EXISTS { FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . } ) ) . } LIMIT 100"}}
{"id": "test_4070", "question": "What items are made of gold?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item WHERE {\n  ?item wdt:P186 wd:Q296955 .\n}", "paraphrases": ["Can you list all objects that have gold as their material?", "Which entities in Wikidata are composed primarily of the metal gold?"], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/statement/q12418-B76F63CF-7E3D-435F-8694-7F743F494B71> <http://www.wikidata.org/prop/statement/P186> <http://www.wikidata.org/entity/Q296955> . }"}}
{"id": "test_4071", "question": "What property is most commonly used to link entities to the 'has part' relationship in Wikidata?", "sparql": "SELECT ?property (COUNT(?property) AS ?count) WHERE { ?item ?prop wd:P1659 . ?property wikibase:directClaim ?prop . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which property appears most often as the predicate in statements where the object is the 'has part' property?", "Among all properties used to connect entities to P1659 (has part), which one is the most frequent?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/P2962> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_4072", "question": "Properties related to \"has part\" (P1325) via \"related property\" (P1659), along with their statement nodes and qualifiers.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ?relatedProperty ?statement ?relationProperty ( SAMPLE( ?qualifierProperty ) AS ?qualifier ) WHERE {\n  ?relatedProperty wdt:P1659 wd:P1325 .\n  ?statement ps:P1659 wd:P1325 .\n  ?statement ?qualifierProperty ?qualifierValue .\n  BIND( wd:P1659 AS ?relationProperty )\n}\nGROUP BY ?relatedProperty ?statement ?relationProperty", "paraphrases": ["Which properties are linked to \"has part\" (P1325) using the \"related property\" relationship, and what qualifiers are used on those statements?", "Show me all properties that are marked as related to \"has part\" (P1325), including the statement nodes and any qualifiers attached to those relationships."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/P1325> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_4073", "question": "What properties are used to describe events on Wikidata, and what qualifiers are associated with them?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?statement ?property ( SAMPLE( ?qualifier ) AS ?qualifierProperty ) WHERE {\n  {\n    SELECT ?item ?statement ?property WHERE {\n      ?statement ?statementProperty wd:Q1656682 .\n      ?item ?claimProperty ?statement .\n      ?property wikibase:statementProperty ?statementProperty .\n      ?property wikibase:claim ?claimProperty .\n      FILTER ( ?property != wd:P31 )\n    }\n    LIMIT 101\n  }\n  OPTIONAL {\n    ?statement ?qualifier ?qualifierValue .\n    ?qualifier wikibase:qualifier ?statementProperty .\n  }\n}\nGROUP BY ?item ?statement ?property", "paraphrases": ["Show me the properties that describe events (other than \"instance of\") and list one example qualifier for each.", "Which properties link items to events, and what additional details (qualifiers) are provided with those links?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q1656682> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_4074", "question": "Wikipedia category pages for the United States in the same language as their rdfs:label, excluding exact matches.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?country ?label ?wikipediaCategory WHERE {\n  VALUES ( ?country ) {\n    ( wd:Q30 )\n  }\n  ?country rdfs:label ?label .\n  ?page schema:about ?country ; schema:name ?wikipediaCategory .\n  FILTER ( ?label != ?wikipediaCategory ) FILTER ( LANG( ?label ) = LANG( ?wikipediaCategory ) ) FILTER ( STRENDS( STR( ?wikipediaCategory ) , CONCAT ( \":\" , STR( ?label ) ) ) )\n}", "paraphrases": ["Which Wikipedia category pages for the United States have titles that end with a colon followed by the country\u2019s label in the same language, and are not identical to the label?", "Show me the Wikipedia category names for the United States that are formatted as \u201cCategory:Label\u201d in each language, where \u201cLabel\u201d is the official rdfs:label of the United States in that language, and the category name is different from the label."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q8241> ) } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var4 <http://schema.org/about> ?var1 ; <http://schema.org/name> ?var3 . FILTER ( ( ( ?var2Label != ?var3 ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = LANG ( ?var3 ) ) ) ) . FILTER ( ( STRENDS ( STR ( ?var3 ) , CONCAT ( \":\", STR ( ?var2Label ) ) ) ) ) . }"}}
{"id": "test_4075", "question": "French subproperties of \"has part\" in Wikidata", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subproperty ?label WHERE {\n  ?subproperty wdt:P1647 wd:P3342 .\n  ?subproperty rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"fr\" )\n}\nLIMIT 30", "paraphrases": ["What are the French-language properties that are subproperties of \"has part\"?", "List all French-labeled properties that are subproperties of the \"has part\" relation."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1647> <http://www.wikidata.org/entity/P3342> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"fr\" ) ) ) . } LIMIT 30"}}
{"id": "test_4076", "question": "What property links Wikipedia categories to the Slovak Wikipedia?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nSELECT ?property(COUNT(?property) AS ?count) WHERE {\n  ?item ?prop wd:Q192582 .\n  ?property wikibase:directClaim ?prop .\n  ?property rdf:type wikibase:Property .\n}\nGROUP BY ?property\nORDER BY DESC(?count)\nLIMIT 1", "paraphrases": ["Which property is used to indicate that a Wikipedia category includes articles translated from the Slovak Wikipedia?", "Show me the property that is most commonly used to associate Wikipedia categories with the Slovak Wikipedia edition."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q192582> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_4077", "question": "What are the Russian labels and descriptions of properties related to \"has part\"?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?relatedProperty ?label ?description WHERE {\n  wd:P993 wdt:P1659 ?relatedProperty .\n  ?relatedProperty rdfs:label ?label .\n  ?relatedProperty schema:description ?description .\n  FILTER ( LANG( ?label ) = \"ru\" ) FILTER ( LANG( ?description ) = \"ru\" )\n}", "paraphrases": ["Which properties are related to the \"has part\" property, and what are their Russian labels and descriptions?", "Can you show me the Russian-language names and descriptions of properties that are linked as related to \"has part\"?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P993> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"ru\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"ru\" ) ) ) . }"}}
{"id": "test_4078", "question": "What are some examples of clothing items in English?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?label WHERE {\n  ?item wdt:P31 wd:Q11460 ; rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["Can you list the English labels for all items that are instances of clothing?", "Show me the names in English of things that are categorized as clothing."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11460> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . }"}}
{"id": "test_4079", "question": "What English-language Wikimedia Commons category is about Laurent Alexandre?", "sparql": "SELECT ?page WHERE { ?page schema:about wd:Q15973233 ; schema:inLanguage \"en\" . }", "paraphrases": ["Is there an English Wikipedia or Commons category related to Laurent Alexandre?", "Show me the English-language Commons category page for Laurent Alexandre."], "info": {"raw_sparql": "SELECT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q15973233> AS ?var2 ). ?var1 <http://schema.org/about> ?var2 . ?var1 <http://schema.org/inLanguage> \"en\". }"}}
{"id": "test_4080", "question": "What are the German-language names for types of clothing?", "sparql": "SELECT ?subclass ?label WHERE { ?subclass wdt:P279 wd:Q11460 ; rdfs:label ?label . FILTER (LANG(?label) = \"de\") }", "paraphrases": ["German labels for subclasses of clothing.", "Show me all clothing types in German."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q11460> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"de\" ) ) ) . }"}}
{"id": "test_4081", "question": "Formulas with variables P, D, and d in Wikidata", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?formula WHERE {\n  ?item wdt:P2534 ?formula .\n  FILTER(CONTAINS(STR(?formula) , \"<mi>P</mi>\"))\n  .\n  FILTER(CONTAINS(STR(?formula) , \"<mi>D</mi>\"))\n  .\n  FILTER(CONTAINS(STR(?formula) , \"<mi>d</mi>\"))\n}", "paraphrases": ["Which physical laws or equations in Wikidata include the variables P, D, and d?", "Show me the mathematical formulas from Wikidata that contain the variables P, D, and d."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2534> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( CONTAINS ( STR ( ?var2 ) , \"<mi>P</mi>\" ) && CONTAINS ( STR ( ?var2 ) , \"<mi>D</mi>\" ) && CONTAINS ( STR ( ?var2 ) , \"<mi>d</mi>\" ) && CONTAINS ( STR ( ?var2 ) , \"Z\" ) && CONTAINS ( STR ( ?var2 ) , \"epsilon\" ) ) ) . }"}}
{"id": "test_4082", "question": "What are the mathematical formulas that define concepts like theorems, laws, or physical quantities in English?", "sparql": "SELECT ?item ?itemLabel ?formula WHERE { ?item wdt:P2534 ?formula . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") FILTER NOT EXISTS { ?item a <http://wikiba.se/ontology#Property> } }", "paraphrases": ["Show me the defining equations for scientific and mathematical concepts, along with their names in English.", "Which concepts have a formal mathematical definition, and what is the formula for each?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2534> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv,en\". } }"}}
{"id": "test_4083", "question": "What items and properties are associated with statements about Carl Bovallius?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?itemLabel ?statement ?propertyLabel(SAMPLE(?qualLabel) AS ?qualifierLabel) WHERE {\n  {\n    SELECT DISTINCT ?item ?statement ?property WHERE {\n      ?statement ?statementProperty wd:Q1763226 .\n      ?item ?claimProperty ?statement .\n      ?property wikibase:statementProperty ?statementProperty .\n      ?property wikibase:claim ?claimProperty .\n    }\n    LIMIT 101\n  }\n  OPTIONAL {\n    ?statement ?qualifier ?value .\n    ?qualifier rdfs:label ?qualLabel .\n    FILTER(LANG(?qualLabel) = \"en\")\n  }\n  ?item rdfs:label ?itemLabel .\n  ?property rdfs:label ?propertyLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n  FILTER(LANG(?propertyLabel) = \"en\")\n}\nGROUP BY ?item ?statement ?property ?itemLabel ?propertyLabel", "paraphrases": ["Which works or people are connected to Carl Bovallius through statements, and what type of relationship is it?", "List all the direct relationships (like author or child) that link other entities to Carl Bovallius in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q1763226> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_4084", "question": "Most used property with Afghanistan as value", "sparql": "SELECT ?property (COUNT(?property) AS ?count) WHERE { ?item ?statementProperty wd:Q889 . ?property wikibase:directClaim ?statementProperty . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which property is most commonly associated with Afghanistan as its value, and how many times is it used?", "Show me the property that links the most items to Afghanistan, along with the count."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q889> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_4085", "question": "What properties are most commonly used to link entities to Muar District in Wikidata?", "sparql": "SELECT ?property (COUNT(?entity) AS ?count) WHERE { ?entity ?property wd:Q1941846 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["Which properties connect the most entities to Muar District, and how many entities are linked via each?", "Show me the top properties that relate other entities to Muar District, excluding those used only once, sorted by frequency."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q1941846> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_4086", "question": "Dutch names of items often confused with other items", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?label WHERE {\n  ?item wdt:P1889 ?other .\n  ?item rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"nl\" )\n}\nLIMIT 100", "paraphrases": ["What are the Dutch labels for items that are different from other commonly confused items?", "Show me the Dutch names of entities or properties that are disambiguated from similar ones."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P1889> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"nl\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"nl\" ) ) ) . } LIMIT 100"}}
{"id": "test_4087", "question": "Wikipedia categories with main topic author", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?category ?categoryLabel WHERE {\n  ?statement ps:P301 wd:Q482980 .\n  ?category p:P301 ?statement .\n  ?category rdfs:label ?categoryLabel .\n  FILTER(LANG(?categoryLabel) = \"en\")\n}", "paraphrases": ["What are the Wikipedia categories whose main topic is author?", "List the English-labeled Wikipedia categories that have author as their main topic."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P301> <http://www.wikidata.org/entity/Q482980> . ?var1 <http://www.wikidata.org/prop/P301> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_4088", "question": "French labels and descriptions of properties used to describe pyramids.", "sparql": "SELECT ?property ?propertyLabel ?propertyDescription WHERE { ?item ?property wd:Q12516 . FILTER(STRSTARTS(STR(?property), \"http://www.wikidata.org/prop/direct/\")) BIND(IRI(REPLACE(STR(?property), \"http://www.wikidata.org/prop/direct/\", \"http://www.wikidata.org/entity/\")) AS ?propEntity) ?propEntity rdfs:label ?propertyLabel . ?propEntity schema:description ?propertyDescription . FILTER(LANG(?propertyLabel) = \"fr\" && LANG(?propertyDescription) = \"fr\") } LIMIT 100", "paraphrases": ["What properties are used to describe pyramids in Wikidata, and what are their French labels and descriptions?", "Show me the French labels and descriptions of all properties that link to the pyramid (Q12516) in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q12516> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"fr\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"fr\" ) ) ) . } LIMIT 100"}}
{"id": "test_4089", "question": "How many English-language images on Wikimedia Commons are associated with Wikimedia categories?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ( COUNT( DISTINCT ?mediaFile ) AS ?count ) WHERE {\n  ?category wdt:P31 wd:Q4167836 .\n  ?mediaFile schema:about ?category .\n  ?mediaFile schema:inLanguage \"en\" .\n  ?mediaFile schema:isPartOf <https://commons.wikimedia.org/> .\n}", "paraphrases": ["How many media files on Wikimedia Commons in English describe Wikimedia categories?", "Count the number of English-language media files on Wikimedia Commons that are about Wikimedia categories."], "info": {"raw_sparql": "SELECT( COUNT ( DISTINCT ?var1 ) AS ?var2 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167836> . ?var1 <http://schema.org/about> ?var3 . ?var1 <http://schema.org/inLanguage> \"en\". ?var1 <http://schema.org/isPartOf> <https://commons.wikimedia.org/> . }"}}
{"id": "test_4090", "question": "Dialects with French labels in Wikidata", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?dialect ?dialectLabel WHERE {\n  ?dialect wdt:P31 wd:Q33384 .\n  ?dialect rdfs:label ?dialectLabel .\n  FILTER(LANG(?dialectLabel) = \"fr\")\n}", "paraphrases": ["Which dialects have a French-language label in Wikidata?", "List all dialects and their French labels from Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q34770> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q33384> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } FILTER ( ( EXISTS { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"fr\" ) ) ) . } ) ) . }"}}
{"id": "test_4091", "question": "Wikidata properties that can be used as qualifiers", "sparql": "SELECT ?property ?propertyLabel ?propertyDescription WHERE { ?property wdt:P279 wd:Q15720608 . ?property rdfs:label ?propertyLabel . ?property schema:description ?propertyDescription . FILTER(LANG(?propertyLabel) = \"en\") FILTER(LANG(?propertyDescription) = \"en\") } LIMIT 100", "paraphrases": ["Which properties in Wikidata are designated to be used as qualifiers?", "List the English-labeled properties in Wikidata that are subclasses of \"Wikidata qualifier\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q15720608> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_4092", "question": "List all Wikidata properties that are used as qualifiers, sorted alphabetically by their English labels.", "sparql": "SELECT DISTINCT ?qualifierProperty ?qualifierLabel WHERE { ?qualifierProperty wdt:P31 wd:Q15720608 . ?qualifierProperty rdfs:label ?qualifierLabel . FILTER(LANG(?qualifierLabel) = \"en\") } ORDER BY ASC(?qualifierLabel)", "paraphrases": ["Which properties in Wikidata are designated to be used as qualifiers, and what are their English names?", "Can you show me the English labels of all properties in Wikidata that are meant to be used as qualifiers, ordered alphabetically?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q15720608> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_4093", "question": "What qualifier properties are used on statements that include a CosIng number, and how often is each used?", "sparql": "SELECT ?qualifierProp ?qualifierLabel (COUNT(DISTINCT ?statement) AS ?count)\nWHERE {\n  ?item p:P3073 ?statement .\n  ?statement ?qualifier ?qualifierValue .\n  FILTER(STRSTARTS(STR(?qualifier), \"http://www.wikidata.org/prop/qualifier/\"))\n  \n  # Convert pq:P2241 \u2192 wd:P2241\n  BIND(IRI(REPLACE(STR(?qualifier), \"http://www.wikidata.org/prop/qualifier/\", \"http://www.wikidata.org/entity/\")) AS ?qualifierProp)\n  \n  # Ensure the property is a qualifier property\n  ?qualifierProp wdt:P31 wd:Q15720608 .\n  \n  OPTIONAL { ?qualifierProp rdfs:label ?qualifierLabel . }\n}\nGROUP BY ?qualifierProp ?qualifierLabel\nORDER BY DESC(?count) ASC(?qualifierProp)", "paraphrases": ["Which properties are used as qualifiers for chemical substances in the European CosIng database, and what are their usage counts?", "Show the qualifier properties attached to CosIng number statements, sorted by frequency, along with their labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 ( COUNT ( DISTINCT ?var3 ) AS ?var2 ) WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var3 <http://www.wikidata.org/prop/P3073> ?var4 . ?var4 ?var5 ?var6 . ?var1 <http://wikiba.se/ontology#qualifier> ?var5 . } GROUP BY ?var1 } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } } ORDER BY DESC( ?var2 )ASC( ?var1Label )"}}
{"id": "test_4094", "question": "What qualifier properties are used on TAXREF ID statements, and how often?", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?qualifier ?qualifierLabel ?count WHERE {\n  {\n    SELECT ?qualifier ( COUNT( DISTINCT ?item ) AS ?count ) WHERE {\n      ?item p:P3186 ?statement .\n      ?statement ?qualifier ?value .\n      FILTER ( STRSTARTS( STR( ?qualifier ) , \"http://www.wikidata.org/prop/qualifier/\" ) )\n    }\n    GROUP BY ?qualifier\n    ORDER BY DESC ( ?count ) ASC ( ?qualifier )\n  }\n  OPTIONAL {\n    ?qualifier rdfs:label ?qualifierLabel .\n    FILTER ( LANG( ?qualifierLabel ) = \"fr\" )\n  }\n}\nORDER BY DESC ( ?count ) ASC ( ?qualifierLabel )", "paraphrases": ["Which qualifier properties are most frequently used with TAXREF ID (P3186) statements, and how many items use each?", "List the qualifier properties attached to TAXREF ID statements, sorted by usage count, along with their French labels if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 ( COUNT ( DISTINCT ?var3 ) AS ?var2 ) WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var3 <http://www.wikidata.org/prop/P3186> ?var4 . ?var4 ?var5 ?var6 . ?var1 <http://wikiba.se/ontology#qualifier> ?var5 . } GROUP BY ?var1 } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"fr\" ) ) ) . } } ORDER BY DESC( ?var2 )ASC( ?var1Label )"}}
{"id": "test_4095", "question": "What Wikimedia categories have \u00c9mile Zola as their main topic, and what qualifiers are associated with those category-topic relationships?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?category ?qualifier ?qualifierValue WHERE {\n  ?category p:P301 ?statement .\n  ?statement ps:P301 wd:Q504 .\n  OPTIONAL {\n    ?statement ?qualifier ?qualifierValue .\n    ?qualifier wikibase:qualifier true .\n  }\n}", "paraphrases": ["Which categories on Wikipedia are primarily about \u00c9mile Zola, and do they have any additional metadata like start/end dates or sources?", "List all categories whose main subject is \u00c9mile Zola and show any extra information attached to those category assignments."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P301> <http://www.wikidata.org/entity/Q504> . ?var1 <http://www.wikidata.org/prop/P301> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_4096", "question": "Subclasses of reference work up to 5 levels deep and their direct parent classes", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subclass ?subclassLabel ?directParent WHERE {\n  {\n    wd:Q13136 wdt:P279 ?subclass .\n    OPTIONAL {\n      ?subclass rdfs:label ?subclassLabel .\n      FILTER(LANG(?subclassLabel) = \"en\")\n    }\n    OPTIONAL {\n      ?subclass wdt:P279 ?directParent .\n    }\n  } UNION {\n    wd:Q13136 wdt:P279 ?subclass1 .\n    ?subclass1 wdt:P279 ?subclass .\n    OPTIONAL {\n      ?subclass rdfs:label ?subclassLabel .\n      FILTER(LANG(?subclassLabel) = \"en\")\n    }\n    OPTIONAL {\n      ?subclass wdt:P279 ?directParent .\n    }\n  } UNION {\n    wd:Q13136 wdt:P279 ?subclass1 .\n    ?subclass1 wdt:P279 ?subclass2 .\n    ?subclass2 wdt:P279 ?subclass .\n    OPTIONAL {\n      ?subclass rdfs:label ?subclassLabel .\n      FILTER(LANG(?subclassLabel) = \"en\")\n    }\n    OPTIONAL {\n      ?subclass wdt:P279 ?directParent .\n    }\n  } UNION {\n    wd:Q13136 wdt:P279 ?subclass1 .\n    ?subclass1 wdt:P279 ?subclass2 .\n    ?subclass2 wdt:P279 ?subclass3 .\n    ?subclass3 wdt:P279 ?subclass .\n    OPTIONAL {\n      ?subclass rdfs:label ?subclassLabel .\n      FILTER(LANG(?subclassLabel) = \"en\")\n    }\n    OPTIONAL {\n      ?subclass wdt:P279 ?directParent .\n    }\n  } UNION {\n    wd:Q13136 wdt:P279 ?subclass1 .\n    ?subclass1 wdt:P279 ?subclass2 .\n    ?subclass2 wdt:P279 ?subclass3 .\n    ?subclass3 wdt:P279 ?subclass4 .\n    ?subclass4 wdt:P279 ?subclass .\n    OPTIONAL {\n      ?subclass rdfs:label ?subclassLabel .\n      FILTER(LANG(?subclassLabel) = \"en\")\n    }\n    OPTIONAL {\n      ?subclass wdt:P279 ?directParent .\n    }\n  }\n}", "paraphrases": ["What are the subclasses of reference work within five levels of inheritance, and what is each one\u2019s immediate superclass?", "List all entities that are subclasses of reference work at a depth of up to five levels, along with their direct parent class in the taxonomy."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q13136> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4097", "question": "Properties linking multiple items to the image producer profession.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ( COUNT( ?item ) AS ?count ) WHERE {\n  ?item ?property wd:Q10429563 .\n}\nGROUP BY ?property\nHAVING ( ?count > 1 )\nORDER BY DESC ( ?count )", "paraphrases": ["Which properties are used to connect more than one resource to the image producer role, and how many connections does each have?", "Show me the properties that are used to reference the image producer more than once, sorted by how often they are used."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q10429563> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_4098", "question": "What properties are used to link other items to Goswin van der Weyden, and how many times each, excluding those used only once?", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q1537756 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["Which properties connect other entities to the painter Goswin van der Weyden, and which ones are used more than once, sorted by frequency?", "Show me the properties that point to Goswin van der Weyden in Wikidata, along with their usage counts, but only include those used more than once, ordered from most to least frequent."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 ?var1 <http://www.wikidata.org/entity/Q1537756> . } GROUP BY ?var1 ?var2 HAVING ( ( ?var4 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var4 )"}}
{"id": "test_4099", "question": "What properties are used to link other resources to John R. Tunis more than once?", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q6254034 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["Which properties connect external resources to John R. Tunis, and how many times are they used?", "Show me the properties that reference John R. Tunis in more than one external resource, sorted by usage count."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q6254034> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_4100", "question": "Properties linking resources to Lidia Popova with more than one usage, sorted by frequency.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(COUNT(?subject) AS ?count) WHERE {\n  ?subject ?property wd:Q4372650 .\n}\nGROUP BY ?property\nHAVING(?count > 1)\nORDER BY DESC(?count)", "paraphrases": ["Which properties are used to connect other items to Lidia Popova more than once, and how many times?", "Show me the properties that reference Lidia Popova in more than one context, ordered by how often they\u2019re used."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q4372650> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_4101", "question": "Which properties are most frequently used to link other entities to Al-Harith ibn Jabalah, excluding those used only once?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(COUNT(?entity) AS ?count) WHERE {\n  ?entity ?property wd:Q643275 .\n}\nGROUP BY ?property\nHAVING(?count > 1)\nORDER BY DESC(?count)", "paraphrases": ["How many times are each property used to connect other entities to Al-Harith ibn Jabalah, and which ones appear more than once?", "Show me the properties that relate other items to Al-Harith ibn Jabalah, sorted by how often they\u2019re used, but only include those used more than once."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q643275> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_4102", "question": "Most frequently used property linking to M\u00e2con", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nSELECT ?property ( COUNT( ?item ) AS ?count ) WHERE {\n  ?item ?prop wd:Q174247 .\n  ?property wikibase:directClaim ?prop .\n  ?property rdf:type wikibase:Property .\n}\nGROUP BY ?property\nORDER BY DESC ( ?count )\nLIMIT 1", "paraphrases": ["Which property is most commonly used to indicate that other entities are located within M\u00e2con?", "Show the property that connects the most items to the commune of M\u00e2con, along with how many items use it."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q174247> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_4103", "question": "Wikidata items with their Quora topic IDs and English labels", "sparql": "SELECT ?item ?label ?quoraId WHERE { ?item wdt:P3417 ?quoraId . ?item rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["Which entities in Wikidata have corresponding topics on Quora, and what are their English names and Quora identifiers?", "Show me the English names of Wikidata items that are linked to Quora topics, along with the Quora topic IDs."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3417> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_4104", "question": "What properties are most commonly associated with Raghubir Yadav in Wikidata, and how many times do they appear?", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q7282998 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["Which properties link other items to the Indian actor Raghubir Yadav, and how many connections does each have?", "Show me the properties that connect more than one item to Raghubir Yadav, sorted by how frequently they\u2019re used, including the count for each."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q7282998> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_4105", "question": "What properties are associated with Jessica Alba, and what are the values of those properties?", "sparql": "SELECT ?propertyItemLabel (GROUP_CONCAT(DISTINCT ?valueLabel; SEPARATOR=\"|\") AS ?values) WHERE { wd:Q44077 ?directClaim ?value . ?propertyItem wikibase:directClaim ?directClaim . ?propertyItem rdfs:label ?propertyItemLabel . ?value rdfs:label ?valueLabel . FILTER(LANG(?propertyItemLabel) = \"en\") FILTER(LANG(?valueLabel) = \"en\") } GROUP BY ?propertyItemLabel", "paraphrases": ["List all the properties of Jessica Alba on Wikidata along with their values, separated by pipes.", "Can you show me all the facts about Jessica Alba, including what each property means and its corresponding values?"], "info": {"raw_sparql": "SELECT ?var1Label ( GROUP_CONCAT ( DISTINCT ?var2Label ; SEPARATOR = \"|\" ) AS ?var2 ) WHERE { ?var1 <http://wikiba.se/ontology#directClaim> ?var3 . <http://www.wikidata.org/entity/Q44077> ?var3 ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1Label"}}
{"id": "test_4106", "question": "What properties are most commonly used to link other entities to Polina Edmunds?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ( COUNT( ?item ) AS ?count ) WHERE {\n  ?item ?property wd:Q15058260 .\n}\nGROUP BY ?property\nHAVING ( ?count > 1 )\nORDER BY DESC ( ?count )", "paraphrases": ["How many times are other entities connected to Polina Edmunds via each property, and which ones appear more than once?", "Show me the properties that connect other items to Polina Edmunds, sorted by how frequently they\u2019re used, excluding properties used only once."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q15058260> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_4107", "question": "What are the most common properties connecting other entities to Munich?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(COUNT(?property) AS ?count) WHERE {\n  ?item ?property wd:Q1726 .\n}\nGROUP BY ?property\nORDER BY DESC(?count)", "paraphrases": ["How many times is each property used to link something to Munich, ranked from most to least frequent?", "Which Wikidata properties relate the most number of items to the city of Munich?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) ?var1Label WHERE { ?var3 ?var1 <http://www.wikidata.org/entity/Q1726> . } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var2 )"}}
{"id": "test_4108", "question": "What is the most common property used to link entities to Kolkata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(COUNT(?property) AS ?count) WHERE {\n  ?subject ?property wd:Q1348 .\n}\nGROUP BY ?property\nORDER BY DESC(?count)\nLIMIT 1", "paraphrases": ["Which property has the highest number of connections to Kolkata in Wikidata?", "How many times is \"place of publication\" used to associate items with Kolkata, and is it the most frequent property?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q1348> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_4109", "question": "What properties are most commonly used to link entities to manor houses in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ( COUNT( ?item ) AS ?count ) WHERE {\n  ?item ?property wd:Q879050 .\n}\nGROUP BY ?property\nHAVING ( COUNT( ?item ) > 1 )\nORDER BY DESC ( ?count )", "paraphrases": ["Which properties connect the most number of items to manor houses, and how many times are they used?", "Show me the properties that relate other items to manor houses, excluding those used only once, sorted by frequency."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q879050> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_4110", "question": "What property is most commonly used to associate entities with Fej\u00e9r County, and how many associations are there?", "sparql": "SELECT ?propertyItem (COUNT(?propertyItem) AS ?count) WHERE { ?item ?propertyStatement wd:Q187693 . ?propertyItem wikibase:directClaim ?propertyStatement . ?propertyItem rdf:type wikibase:Property . } GROUP BY ?propertyItem ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which Wikidata property links the most items to Fej\u00e9r County, and what is the count of those links?", "Show me the top property used to connect entities to Fej\u00e9r County, along with its usage count."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q187693> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_4111", "question": "Danish labels and descriptions of properties related to given name (P735) on Wikidata.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?label ?description WHERE {\n  wd:P735 wdt:P1659 ?property .\n  ?property rdfs:label ?label .\n  ?property schema:description ?description .\n  FILTER ( LANG( ?label ) = \"da\" ) FILTER ( LANG( ?description ) = \"da\" )\n}", "paraphrases": ["What are the Danish-language labels and descriptions of Wikidata properties that are related to \"given name\"?", "Show me the Danish names and descriptions of all properties that are considered related to \"given name\" on Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P735> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"da\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"da\" ) ) ) . }"}}
{"id": "test_4112", "question": "What entities are connected to Amantia through statements, and what properties link them?", "sparql": "SELECT ?subject ?statement ?mainProperty (SAMPLE(?qualifierProperty) AS ?qualifier) WHERE { { SELECT ?subject ?statement ?mainProperty WHERE { ?statement ?statementProperty wd:Q454510 . ?subject ?claimProperty ?statement . ?mainProperty wikibase:statementProperty ?statementProperty . ?mainProperty wikibase:claim ?claimProperty . FILTER (?mainProperty != wd:P31) } LIMIT 101 } OPTIONAL { ?mainProperty wikibase:qualifier ?qualifierProperty . ?statement ?qualifierProperty ?qualifierValue . } } GROUP BY ?subject ?statement ?mainProperty", "paraphrases": ["Which entities are linked to Amantia via statements (excluding \"instance of\"), and what are the properties used in those statements?", "List all entities related to Amantia through statements, along with the main property used and any qualifiers attached."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q454510> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_4113", "question": "Which properties are used to link people to the District Railway Hospital in Katowice, and how many times is each used? Only show properties used more than once.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?var1 ?var1Label ?var3 WHERE {\n  {\n    SELECT ?var1 ( COUNT( ?var4 ) AS ?var3 ) WHERE {\n      ?var4 ?var5 wd:Q16583912 .\n      ?var1 wikibase:directClaim ?var5 .\n    }\n    GROUP BY ?var1\n    HAVING ( ?var3 > 1 )\n  }\n  ?var1 rdfs:label ?var1Label .\n  FILTER ( LANG( ?var1Label ) = \"en\" )\n}\nORDER BY DESC ( ?var3 )", "paraphrases": ["What property is used to indicate that three people work at the District Railway Hospital in Katowice?", "Show me the property that links multiple individuals to the District Railway Hospital in Katowice, along with how many people are linked and the property\u2019s label."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var4 ) AS ?var3 ) WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q16583912> . ?var1 <http://wikiba.se/ontology#directClaim> ?var5 . } GROUP BY ?var1 ?var1Label HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } } ORDER BY DESC( ?var3 )"}}
{"id": "test_4114", "question": "Items linked to medium (Q340169) via statement properties (excluding instance of), with sample qualifier properties.", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?statement ?propItem ( SAMPLE( ?qualifierProperty ) AS ?sampleQualifier ) WHERE {\n  {\n    SELECT DISTINCT ?item ?statement ?propItem WHERE {\n      ?statement ?statementProperty wd:Q340169 .\n      ?item ?claimProperty ?statement .\n      ?propItem wikibase:statementProperty ?statementProperty .\n      ?propItem wikibase:claim ?claimProperty .\n      FILTER ( ?propItem != wd:P31 )\n    }\n    LIMIT 101\n  }\n  OPTIONAL {\n    ?statement ?qualifierProperty ?qualifierValue .\n    ?qualifierProperty wikibase:qualifier ?qualifierProperty .\n  }\n}\nGROUP BY ?item ?statement ?propItem", "paraphrases": ["What items are associated with the medium (Q340169) through statement properties, and what qualifiers are used on those statements?", "Show up to 101 items connected to the concept of medium (Q340169) using properties other than 'instance of', along with one example qualifier property from each statement."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q340169> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_4115", "question": "What properties are used to describe data centers in Polish, and what do they mean?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?propertyItem ?propertyLabel ?propertyDescription WHERE {\n  ?item wdt:P31 / wdt:P279 * wd:Q671224 .\n  ?item ?property ?value .\n  FILTER ( STRSTARTS( STR( ?property ) , \"http://www.wikidata.org/prop/direct/\" ) ) .\n  BIND( IRI( REPLACE( STR( ?property ) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\" ) ) AS ?propertyItem ) .\n  ?propertyItem rdfs:label ?propertyLabel .\n  ?propertyItem schema:description ?propertyDescription .\n  FILTER ( LANG( ?propertyLabel ) = \"pl\" ) .\n  FILTER ( LANG( ?propertyDescription ) = \"pl\" )\n}\nLIMIT 100", "paraphrases": ["Can you list the Polish labels and descriptions of properties that are applied to data centers in Wikidata?", "Which Polish-language property labels and descriptions are associated with items classified as data centers?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q671224> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"pl\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"pl\" ) ) ) . } LIMIT 100"}}
{"id": "test_4116", "question": "Wikidata items linked to Latin Wikipedia pages with labels ending in \"M\".", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?var1 ?var1Label ?var2 WHERE {\n  ?var2 schema:about ?var1 ; schema:isPartOf <https://la.wikipedia.org/> .\n  ?var1 rdfs:label ?var1Label .\n  FILTER(STRENDS(STR(?var1Label) , \"M\"))\n}\nLIMIT 10", "paraphrases": ["Which Wikidata items have labels ending in \"M\" and are linked to the Latin Wikipedia?", "Show me the Wikidata items and their labels that end with \"M\" and are connected to pages on the Latin Wikipedia."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var2 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://la.wikipedia.org/> . FILTER ( ( STRENDS ( ?var1Label , \"M\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10"}}
{"id": "test_4117", "question": "Dutch labels and descriptions of properties used to assign names in Wikidata.", "sparql": "SELECT ?property ?propertyLabel ?propertyDescription WHERE { ?property wdt:P1647 wd:P2561 . ?property rdfs:label ?propertyLabel . ?property schema:description ?propertyDescription . FILTER(LANG(?propertyLabel) = \"nl\") . FILTER(LANG(?propertyDescription) = \"nl\") } ORDER BY ?property", "paraphrases": ["What are the Dutch labels and descriptions of properties that are subproperties of \"name\" in Wikidata?", "Please list all properties in Dutch that are used to assign names to entities, along with their descriptions."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q82799> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"nl\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"nl\" ) ) ) . } LIMIT 100"}}
{"id": "test_4118", "question": "Most common properties linking entities to New South Wales in Wikidata.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(COUNT(?item) AS ?count) WHERE {\n  ?item ?property wd:Q3224 .\n}\nGROUP BY ?property\nHAVING(COUNT(?item) > 1)\nORDER BY DESC(?count)", "paraphrases": ["What properties are used more than once to associate items with New South Wales, and how often are they used?", "Show me the properties that connect the most entities to New South Wales, sorted by frequency, excluding properties used only once."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q3224> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_4119", "question": "Properties linking external resources to Milivoje Lazi\u0107 with more than one usage.", "sparql": "SELECT ?property (COUNT(?resource) AS ?count) WHERE { ?resource ?property wd:Q27925321 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["What property is used to link more than one external resource to the Wikidata item for Milivoje Lazi\u0107?", "Show me the properties that connect other web resources to Milivoje Lazi\u0107, sorted by how often they\u2019re used, but only include those used more than once."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q27925321> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_4120", "question": "Most common properties linking items to Anders Beer Wilse", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(COUNT(?item) AS ?count) WHERE {\n  ?item ?property wd:Q144339 .\n}\nGROUP BY ?property\nHAVING(?count > 1)\nORDER BY DESC(?count)", "paraphrases": ["What types of relationships connect other entities to the photographer Anders Beer Wilse, and how many times do they occur?", "Show me the properties that relate other items to Anders Beer Wilse, ordered by frequency, excluding those used only once."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q144339> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_4121", "question": "Sign language words in English with video demonstrations", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX ontolex: <http://www.w3.org/ns/lemon/ontolex#>\nSELECT ?lexeme ?meaning ?videoFile WHERE {\n  ?lexeme a wikibase:Lexeme ; wdt:P10 ?videoFile ; ontolex:sense ?sense .\n  ?sense rdfs:label ?meaning .\n  FILTER(LANG(?meaning) = \"en\")\n}\nLIMIT 900", "paraphrases": ["What are the English meanings of sign language gestures that have video examples on Wikimedia Commons?", "Show me sign language lexemes with their English definitions and associated video clips."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P10> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 900"}}
{"id": "test_4122", "question": "Letters that are part of the Polish alphabet.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?letter ?letterLabel WHERE {\n  ?letter wdt:P361 wd:Q606972 .\n  ?letter rdfs:label ?letterLabel .\n  FILTER ( LANG( ?letterLabel ) = \"en\" )\n}", "paraphrases": ["What are the letters in the Polish alphabet?", "List the English names of all letters that make up the Polish alphabet."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q606972> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4123", "question": "What Latin-script letters are followed by another letter in their respective alphabets, and what are those next letters and alphabets?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?letter ?letterLabel ?nextLetter ?nextLetterLabel ?alphabetLabel WHERE {\n  ?letter wdt:P31 wd:Q19776628 ; wdt:P361 ?alphabet .\n  ?letter p:P361 [ ps:P361 ?alphabet ; pq:P156 ?nextLetter ] .\n  ?letter rdfs:label ?letterLabel .\n  ?alphabet rdfs:label ?alphabetLabel .\n  ?nextLetter rdfs:label ?nextLetterLabel .\n  FILTER(LANG(?letterLabel) = \"en\")\n  FILTER(LANG(?alphabetLabel) = \"en\")\n  FILTER(LANG(?nextLetterLabel) = \"en\")\n}", "paraphrases": ["Which Latin letters come immediately before another Latin letter in any alphabet, and what are the next letter and the alphabet name?", "Show me pairs of consecutive Latin-script letters in different alphabets, including the names of the alphabets they belong to."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19776628> ; <http://www.wikidata.org/prop/direct/P361> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/P361> [ <http://www.wikidata.org/prop/statement/P361> ?var3 ; <http://www.wikidata.org/prop/qualifier/P156> ?var2 ] . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4124", "question": "Most frequently used property to classify entities as tree data structures", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(COUNT(?item) AS ?count) WHERE {\n  ?item ?property wd:Q223655 .\n  FILTER(isIRI(?property))\n}\nGROUP BY ?property\nORDER BY DESC(?count)\nLIMIT 1", "paraphrases": ["Which property is most commonly used to indicate that an entity is a tree data structure?", "Show me the property that is used the most to link entities to the tree data structure, along with how many times it's used."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q223655> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_4125", "question": "Which properties are linked to Dominika Kulczyk more than once in Wikidata?", "sparql": "SELECT ?propertyId ?propertyLabel (COUNT(*) AS ?count)\nWHERE {\n  ?subject ?property wd:Q16540851 .\n  # Extract the property ID (e.g., \"P40\") from the IRI\n  BIND(STRBEFORE(STR(?property), \"http://www.wikidata.org/prop/\") AS ?prefix)\n  BIND(STRAFTER(STR(?property), \"http://www.wikidata.org/prop/\") AS ?suffix)\n  # Remove \"direct/\" or \"statement/\" if present\n  BIND(REPLACE(?suffix, \"^direct/\", \"\") AS ?id1)\n  BIND(REPLACE(?id1, \"^statement/\", \"\") AS ?propertyId)\n  # Construct the property entity IRI: wd:P40\n  BIND(IRI(CONCAT(\"http://www.wikidata.org/entity/\", ?propertyId)) AS ?propertyEntity)\n  # Get label\n  ?propertyEntity rdfs:label ?propertyLabel .\n  FILTER(LANG(?propertyLabel) = \"en\")\n}\nGROUP BY ?propertyId ?propertyLabel\nHAVING (?count > 1)\nORDER BY DESC(?count)", "paraphrases": ["How many times is each property used to connect entities to Dominika Kulczyk, and which ones appear more than once?", "Show me the properties that have been used more than once to relate other entities to Dominika Kulczyk, along with their labels and usage counts."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var4 ) AS ?var3 ) WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q16540851> . ?var1 <http://wikiba.se/ontology#directClaim> ?var5 . } GROUP BY ?var1 ?var1Label HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } } ORDER BY DESC( ?var3 )"}}
{"id": "test_4126", "question": "Most used property linking items to \"seat\" (Q470540)", "sparql": "SELECT ?property (COUNT(?property) AS ?count) WHERE { ?item ?p wd:Q470540 . ?property wikibase:directClaim ?p . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which property is most commonly used to classify items as \"seat\" in Wikidata?", "Show me the property that is most frequently misused to indicate that something is a \"seat\"."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q470540> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_4127", "question": "What are some varieties of the English language?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?englishVariety ?englishVarietyLabel WHERE {\n  ?englishVariety wdt:P279 wd:Q1860 .\n  ?englishVariety rdfs:label ?englishVarietyLabel .\n  FILTER(LANG(?englishVarietyLabel) = \"en\")\n}\nLIMIT 11", "paraphrases": ["What are the 11 subclasses of the English language (wd:Q1860) in Wikidata, and what are their English labels?", "List regional and sociolinguistic variants of English, such as Hong Kong English or Denglisch, along with their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q1860> . } LIMIT 11 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4128", "question": "What are the IPA transcriptions for all items in Wikidata?", "sparql": "SELECT ?item ?ipa WHERE { ?item p:P898 ?statement . ?statement ps:P898 ?ipa . }", "paraphrases": ["Which entities in Wikidata have an International Phonetic Alphabet transcription, and what are they?", "Can you list the words and places in Wikidata with their IPA pronunciations?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/P898> ?var2 . ?var2 <http://www.wikidata.org/prop/statement/P898> ?var3 . }"}}
{"id": "test_4129", "question": "What properties are used for synthetic resin in German, and what are their values and counts?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(SAMPLE(?pl) AS ?propertyLabel)(COUNT(?value) AS ?valueCount)(GROUP_CONCAT(?ol ; SEPARATOR = \", \") AS ?objectLabels) WHERE {\n  wd:Q1418040 ?property ?value .\n  ?value rdfs:label ?ol .\n  FILTER(LANG(?ol) = \"de\")\n  .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?pl .\n  FILTER(LANG(?pl) = \"de\")\n}\nGROUP BY ?property", "paraphrases": ["Can you show me the German labels of all properties connected to synthetic resin, how many values each has, and what those values are labeled as in German?", "List the German property names, their value counts, and the German labels of their values for synthetic resin."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q1418040> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"de\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"de\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_4130", "question": "Most used property to classify entities as measure", "sparql": "SELECT ?propertyItem (COUNT(?propertyItem) AS ?count) WHERE { ?item ?directProperty wd:Q192276 . ?propertyItem wikibase:directClaim ?directProperty . ?propertyItem rdf:type wikibase:Property . } GROUP BY ?propertyItem ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which property is most commonly used to indicate that an entity is a measure?", "Show me the property that is used the most times to assign the type \"measure\" to entities, along with how many times it's used."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q192276> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_4131", "question": "What properties are used to describe nurses in Wikidata, excluding the \"instance of\" property?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT DISTINCT ?property WHERE {\n  ?subject ?statementProperty wd:Q186360 .\n  ?property wikibase:statementProperty ?statementProperty .\n  FILTER ( ?property != wd:P31 )\n}", "paraphrases": ["Properties with nurse as object (excluding P31)", "Show me all the properties that are used to describe nurses in Wikidata, but not \"instance of\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 ?var3 <http://www.wikidata.org/entity/Q186360> . ?var1 <http://wikiba.se/ontology#statementProperty> ?var3 . FILTER ( ( ( ?var1 != <http://www.wikidata.org/entity/P31> ) ) ) . }"}}
{"id": "test_4132", "question": "What properties are used to link to the Polish football club L\u0141KS \u0141om\u017ca?", "sparql": "SELECT ?property ?propertyLabel ?count WHERE { { SELECT ?property ?propertyLabel (COUNT(?item) AS ?count) WHERE { ?item ?prop wd:Q18431739 . ?property wikibase:directClaim ?prop . ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") } GROUP BY ?property ?propertyLabel } } ORDER BY DESC(?count)", "paraphrases": ["Which Wikidata property connects the most entities to the football club L\u0141KS \u0141om\u017ca, and how many times is it used?", "List all properties that link to L\u0141KS \u0141om\u017ca along with their usage counts."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var4 ) AS ?var3 ) WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q18431739> . ?var1 <http://wikiba.se/ontology#directClaim> ?var5 . } GROUP BY ?var1 ?var1Label HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } } ORDER BY DESC( ?var3 )"}}
{"id": "test_4133", "question": "List of natural languages spoken by humans.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?language ?languageLabel WHERE {\n  ?language wdt:P31 wd:Q33742 .\n  ?language rdfs:label ?languageLabel .\n  FILTER ( LANG( ?languageLabel ) = \"en\" )\n}\nLIMIT 20", "paraphrases": ["What are some examples of natural languages?", "Show me 20 natural languages with their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q33742> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,ru,uk,uk\". } } LIMIT 20"}}
{"id": "test_4134", "question": "What is the most commonly used property to classify humans in Wikidata?", "sparql": "SELECT ?property (COUNT(?property) AS ?count) WHERE { ?item ?propertyUsed wd:Q5 . ?property wikibase:directClaim ?propertyUsed . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which property is most frequently used to state that something is a human?", "Find the property that links the most items to the entity \"human\" in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q19535184> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_4135", "question": "What entities are associated with word embedding, and what properties link them to it?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?propertyLabel ?item ?itemLabel WHERE {\n  ?item ?property wd:Q18395344 .\n}", "paraphrases": ["Which items are related to word embedding in Wikidata, and what are the names of the properties connecting them?", "Show me all the things connected to word embedding and how they are connected \u2014 including the property names and item labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var3Label WHERE { ?var3 ?var1 <http://www.wikidata.org/entity/Q18395344> . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4136", "question": "What properties are associated with Violetta Bulstrode in the Harry Potter universe, and what are their values and counts?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ( SAMPLE( ?propLabel ) AS ?propertyLabel ) ( COUNT( ?value ) AS ?valueCount ) ( GROUP_CONCAT( ?valueLabel ; SEPARATOR = \", \" ) AS ?valueLabels ) WHERE {\n  wd:Q15272922 ?property ?value .\n  ?value rdfs:label ?valueLabel .\n  FILTER ( LANG( ?valueLabel ) = \"en\" ) .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?propLabel .\n  FILTER ( LANG( ?propLabel ) = \"en\" ) .\n}\nGROUP BY ?property", "paraphrases": ["For the character Violetta Bulstrode, what are the English-labeled properties connecting her to other entities, how many values does each have, and what are those values?", "List all properties of Violetta Bulstrode with their English labels, the number of values each has, and the English labels of those values."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q15272922> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_4137", "question": "What property links the most entities to Hremiache, Ukraine, and how many times is it used?", "sparql": "SELECT ?property ?propertyLabel ?count WHERE { { SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?propertyClaim wd:Q4148577 . ?property wikibase:directClaim ?propertyClaim . } GROUP BY ?property HAVING (?count > 1) } ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") } ORDER BY DESC(?count)", "paraphrases": ["Which administrative territorial relationship is used more than once to connect other places to Hremiache, and how many such connections exist?", "Show me the property that is used to assign locations to Hremiache more than once, along with its count and label."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var4 ) AS ?var3 ) WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q4148577> . ?var1 <http://wikiba.se/ontology#directClaim> ?var5 . } GROUP BY ?var1 ?var1Label HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } } ORDER BY DESC( ?var3 )"}}
{"id": "test_4138", "question": "Which properties are most commonly used to associate entities with Budapest, excluding those used only once?", "sparql": "SELECT ?property ?propertyLabel ?count WHERE { { SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?prop wd:Q1781 . ?property wikibase:directClaim ?prop . } GROUP BY ?property HAVING (?count > 1) } BIND(strafter(str(?property), \"http://www.wikidata.org/entity/\") AS ?propertyLabel) } ORDER BY DESC(?count)", "paraphrases": ["What are the top properties that link people or places to Budapest, ordered by how often they are used?", "Show me the properties that connect multiple entities to Budapest, sorted by usage count, with the most frequent first."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var4 ) AS ?var3 ) WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q1781> . ?var1 <http://wikiba.se/ontology#directClaim> ?var5 . } GROUP BY ?var1 ?var1Label HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } } ORDER BY DESC( ?var3 )"}}
{"id": "test_4139", "question": "Properties of Scarlett's Magic with their English labels, count of values, and value labels", "sparql": "SELECT ?property (SAMPLE(?propLabelTemp) AS ?propertyLabel) (COUNT(?value) AS ?count) (GROUP_CONCAT(?valueLabel; SEPARATOR=\", \") AS ?valueLabels)\nWHERE {\n  wd:Q7430467 ?property ?value .\n  ?value rdfs:label ?valueLabel .\n  FILTER(LANG(?valueLabel) = \"en\") .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?propLabelTemp .\n  FILTER(LANG(?propLabelTemp) = \"en\") .\n}\nGROUP BY ?property", "paraphrases": ["What are the properties of the cat Scarlett's Magic, along with their English names, how many values each has, and what those values are called in English?", "Show me all properties of Scarlett's Magic, including their English labels, the number of values for each property, and the English names of those values, grouped by property."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q7430467> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_4140", "question": "Which properties are used more than once to connect entities or statements to S\u00e1ndor Oszter, and how many times?", "sparql": "SELECT ?property (COUNT(?subject) AS ?count) WHERE { ?subject ?property wd:Q926854 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["How many times are each property used to link something to the Hungarian actor S\u00e1ndor Oszter, and which ones appear more than once?", "List all properties that connect to S\u00e1ndor Oszter more than once, sorted by frequency, including both direct claims and statement nodes."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q926854> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_4141", "question": "What properties are most frequently used to associate entities with Brighton in Wikidata?", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q131491 . } GROUP BY ?property HAVING (COUNT(?item) > 1) ORDER BY DESC(?count)", "paraphrases": ["Which relationships (properties) connect the most people or things to Brighton, and how many times are they used?", "Show me the top properties linked to Brighton, excluding those used only once, sorted by frequency."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q131491> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_4142", "question": "Most common properties linking entities to Algiers in Wikidata", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q3561 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["What properties are most frequently used to associate people or things with Algiers?", "Show me all properties that connect more than one entity to Algiers, sorted by how often they\u2019re used."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q3561> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_4143", "question": "Subclasses of physical object in Wikidata", "sparql": "SELECT ?subclass ?subclassLabel WHERE { ?subclass wdt:P279 wd:Q223557 . ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") } LIMIT 500", "paraphrases": ["What are the subclasses of physical object in Wikidata?", "List the English names of all types of physical objects in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q223557> . } LIMIT 500"}}
{"id": "test_4144", "question": "What properties are associated with Essi Viding, and what are their values and counts?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(SAMPLE(?propertyLabel) AS ?propLabel)(COUNT(?object) AS ?count)(GROUP_CONCAT(?objectLabel ; SEPARATOR = \", \") AS ?objectLabels) WHERE {\n  wd:Q15637656 ?property ?object .\n  ?object rdfs:label ?objectLabel .\n  FILTER(LANG(?objectLabel) = \"en\")\n  ?statement wikibase:directClaim ?property .\n  ?statement rdfs:label ?propertyLabel .\n  FILTER(LANG(?propertyLabel) = \"en\")\n}\nGROUP BY ?property", "paraphrases": ["Can you list all the English-labeled properties of Essi Viding, along with how many times each is used and what the values are?", "Show me a summary of Essi Viding\u2019s Wikidata properties: for each, give the property name, number of values, and the values themselves in English."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q15637656> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_4145", "question": "Properties related to given name with German labels and descriptions.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?relatedProperty ?label ?description WHERE {\n  ?relatedProperty wdt:P1659 wd:P735 .\n  ?relatedProperty rdfs:label ?label .\n  ?relatedProperty schema:description ?description .\n  FILTER ( LANG( ?label ) = \"de\" ) .\n  FILTER ( LANG( ?description ) = \"de\" ) .\n}", "paraphrases": ["What properties are related to a person's given name, and what are their German labels and descriptions?", "List all properties that are related to the concept of a given name, along with their German labels and descriptions."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P735> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"de\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"de\" ) ) ) . }"}}
{"id": "test_4146", "question": "What are all the superclass categories that a knot belongs to, including itself?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?ancestor WHERE {\n  wd:Q527395 wdt:P279 * ?ancestor .\n}", "paraphrases": ["Ancestors of the knot in Wikidata\u2019s subclass hierarchy", "Show me the full taxonomic hierarchy above the concept of a knot in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q527395> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_4147", "question": "What is the superclass of shunt in Wikidata?", "sparql": "SELECT DISTINCT ?superclass WHERE { wd:Q1890115 wdt:P279 ?superclass . FILTER(EXISTS { ?superclass rdfs:label ?label }) }", "paraphrases": ["What category does a shunt belong to in medical classification?", "Show me the direct parent class of the medical device called shunt."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q1890115> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_4148", "question": "What properties are most commonly associated with Yakutsk Oblast in Wikidata, and how many times are they used?", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q498207 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["Which properties link the most items to Yakutsk Oblast, and what are their counts?", "Show me the properties connected to Yakutsk Oblast with more than one connection, sorted by frequency."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q498207> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_4149", "question": "Chinese labels and descriptions of properties related to \"title\" on Wikidata.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?relatedProperty ?label ?description WHERE {\n  wd:P1476 wdt:P1659 ?relatedProperty .\n  ?relatedProperty rdfs:label ?label .\n  ?relatedProperty schema:description ?description .\n  FILTER ( LANG( ?label ) = \"zh\" ) .\n  FILTER ( LANG( ?description ) = \"zh\" ) .\n}", "paraphrases": ["What are the Chinese labels and descriptions of properties that are related to the \"title\" property?", "Show me the Chinese names and descriptions of properties that are associated with the title property in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P1476> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"zh\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"zh\" ) ) ) . }"}}
{"id": "test_4150", "question": "What is the Italian label for the Wikidata property that represents \"instance of\" and is equivalent to RDF's `rdf:type`?", "sparql": "SELECT DISTINCT ?directClaim ?propItem ?label WHERE { ?propItem (owl:equivalentProperty|wdt:P1628) rdf:type . ?propItem wikibase:directClaim ?directClaim . ?propItem rdfs:label ?label . FILTER (LANG(?label) = \"it\") } LIMIT 10", "paraphrases": ["Which Wikidata property corresponds to `rdf:type` and what is its name in Italian?", "In Italian, how is the property \"instance of\" (P31) labeled, and how is it linked to `rdf:type`?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4Label WHERE { { ?var2 <http://www.w3.org/2002/07/owl#equivalentProperty> ?var1 . FILTER ( ( ( ?var1 = <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ) ) ) . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P1628> ?var1 . ?var3 <http://wikiba.se/ontology#directClaim> ?var2 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"it\" ) ) ) . FILTER ( ( ( ?var1 = <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ) ) ) . } } LIMIT 10"}}
{"id": "test_4151", "question": "Most common properties linking entities to Pruszk\u00f3w, Poland, with more than one occurrence.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?propertyLabel ?count WHERE {\n  {\n    SELECT ?property ( COUNT( ?item ) AS ?count ) WHERE {\n      ?item ?propertyStatement wd:Q721937 .\n      ?property wikibase:directClaim ?propertyStatement .\n    }\n    GROUP BY ?property\n    HAVING ( ?count > 1 )\n  }\n  ?property rdfs:label ?propertyLabel .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" )\n}\nORDER BY DESC ( ?count )", "paraphrases": ["Which properties are used most frequently to connect other items to the city of Pruszk\u00f3w in Poland, and how many times are they used?", "Show me the properties that link other entities to Pruszk\u00f3w, ordered by how often they\u2019re used, excluding those used only once."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var4 ) AS ?var3 ) WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q721937> . ?var1 <http://wikiba.se/ontology#directClaim> ?var5 . } GROUP BY ?var1 ?var1Label HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } } ORDER BY DESC( ?var3 )"}}
{"id": "test_4152", "question": "What is the French and English label for the entity \"connected graph\"?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?label_fr ?label_en WHERE {\n  wd:Q230655 rdfs:label ?label_fr FILTER ( LANGMATCHES( LANG( ?label_fr ) , \"fr\" ) ) .\n  wd:Q230655 rdfs:label ?label_en FILTER ( LANGMATCHES( LANG( ?label_en ) , \"en\" ) ) .\n}", "paraphrases": ["How do you say \"connected graph\" in French and English according to Wikidata?", "Can you provide the French and English names for the graph theory concept of a connected graph?"], "info": {"raw_sparql": "SELECT DISTINCT( <http://www.w3.org/2001/XMLSchema#string> ( ?var1 ) AS ?var2 )( <http://www.w3.org/2001/XMLSchema#string> ( ?var3 ) AS ?var4 ) WHERE { <http://www.wikidata.org/entity/Q230655> <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . <http://www.wikidata.org/entity/Q230655> <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( LANGMATCHES ( LANG ( ?var1 ) , \"FR\" ) ) ) . FILTER ( ( LANGMATCHES ( LANG ( ?var3 ) , \"EN\" ) ) ) . } LIMIT 10"}}
{"id": "test_4153", "question": "Properties related to equivalent class in Wikidata with English labels and descriptions.", "sparql": "SELECT ?relatedProperty ?label ?description WHERE { wd:P1709 wdt:P1659 ?relatedProperty . ?relatedProperty rdfs:label ?label . ?relatedProperty schema:description ?description . FILTER(LANG(?label) = \"en\") FILTER(LANG(?description) = \"en\") }", "paraphrases": ["Which properties are related to the \"equivalent class\" property in Wikidata, and what are their English labels and descriptions?", "Show me the English labels and descriptions of properties that are related to the \"equivalent class\" property (wd:P1709) via the \"related property\" relationship."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P1709> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . }"}}
{"id": "test_4154", "question": "What is the English label for the Wikidata property \"followed by\"?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?propertyLabel WHERE {\n  wd:P155 rdfs:label ?propertyLabel .\n  FILTER(LANG(?propertyLabel) = \"en\")\n}", "paraphrases": ["How is the property P155 (followed by) labeled in English?", "Show me the English name of the Wikidata property that indicates what comes after something."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { <http://www.wikidata.org/prop/novalue/P155> <http://www.w3.org/2004/02/skos/core#prefLabel> ?var1Label . FILTER ( ( LANGMATCHES ( LANG ( ?var1Label ) , \"en\" ) ) ) . }"}}
{"id": "test_4155", "question": "Top 11 heuristics used to analyze Wikidata properties", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P3176 [] .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}\nLIMIT 11", "paraphrases": ["What are the 11 most common methods or heuristics that scholarly works use to analyze Wikidata properties?", "List the names of the top 11 heuristics that are applied in research to analyze properties in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3176> _:bnode . } LIMIT 11 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4156", "question": "Dutch-labeled properties and their values for Petra", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?propertyLabel ?objectLabel ?object ?directProperty WHERE {\n  {\n    wd:Q5788 ?directProperty ?object .\n    ?propertyItem wikibase:directClaim ?directProperty .\n    ?propertyItem rdfs:label ?propertyLabel .\n    FILTER ( LANG( ?propertyLabel ) = \"nl\" ) .\n    ?object rdfs:label ?objectLabel .\n    FILTER ( LANG( ?objectLabel ) = \"nl\" )\n  } UNION {\n    wd:Q5788 ?directProperty ?objectLabel .\n    ?propertyItem wikibase:directClaim ?directProperty .\n    ?propertyItem rdfs:label ?propertyLabel .\n    FILTER ( LANG( ?propertyLabel ) = \"nl\" ) .\n    FILTER ( isLiteral( ?objectLabel ) )\n  }\n}\nLIMIT 100", "paraphrases": ["What Dutch-labeled properties are used to describe Petra, and what are their values?", "Show me all properties with Dutch labels that are used to describe Petra, including their object labels or literal values."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { { <http://www.wikidata.org/entity/Q5788> ?var4 ?var3 . ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"nl\" ) ) ) . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"nl\" ) ) ) . } UNION { <http://www.wikidata.org/entity/Q5788> ?var4 ?var2 . ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . FILTER ( ( isLITERAL ( ?var2 ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"nl\" ) ) ) . } } LIMIT 100"}}
{"id": "test_4157", "question": "What properties are most commonly used to link other entities to Helmut Seibt, excluding those used only once?", "sparql": "SELECT ?property (COUNT(?entity) AS ?count) WHERE { ?entity ?property wd:Q695797 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["Show me the properties that connect more than one entity to the Austrian figure skater Helmut Seibt, ordered by how frequently they are used.", "Which connections (properties) does Helmut Seibt have with other entities in Wikidata, and how many times does each appear? Only include connections used more than once."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q695797> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_4158", "question": "Wikidata properties with German and Danish labels but no Norwegian Bokm\u00e5l label, optionally with English or Nynorsk labels.", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nSELECT ?property ?label_de ?label_da ?label_en ?label_nn WHERE {\n  ?property rdf:type wikibase:Property .\n  ?property rdfs:label ?label_de .\n  FILTER ( LANG( ?label_de ) = \"de\" ) .\n  ?property rdfs:label ?label_da .\n  FILTER ( LANG( ?label_da ) = \"da\" ) .\n  OPTIONAL {\n    ?property rdfs:label ?label_en .\n    FILTER ( LANG( ?label_en ) = \"en\" ) .\n  }\n  OPTIONAL {\n    ?property rdfs:label ?label_nn .\n    FILTER ( LANG( ?label_nn ) = \"nn\" ) .\n  }\n  FILTER ( NOT EXISTS {\n    ?property rdfs:label ?label_nb .\n    FILTER ( LANG( ?label_nb ) = \"nb\" ) .\n  }\n  )\n}\nORDER BY DESC ( ?property )", "paraphrases": ["Which Wikidata properties have labels in both German and Danish, but not in Norwegian Bokm\u00e5l, and may also have labels in English or Nynorsk?", "List all Wikidata properties that are labeled in German and Danish, exclude those with Norwegian Bokm\u00e5l labels, and include any available English or Nynorsk labels if they exist."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"de\" ) ) ) . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"da\" ) ) ) . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"nn\" ) ) ) . } FILTER ( ( NOT EXISTS { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var6 . FILTER ( ( ( LANG ( ?var6 ) = \"nb\" ) ) ) . } ) ) . } ORDER BY DESC( ?var1 )"}}
{"id": "test_4159", "question": "List of particles and their antiparticles with English labels.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?particle ?particleLabel ?antiparticle ?antiparticleLabel WHERE {\n  ?particle wdt:P2152 ?antiparticle .\n  ?particle rdfs:label ?particleLabel .\n  ?antiparticle rdfs:label ?antiparticleLabel .\n  FILTER ( LANG( ?particleLabel ) = \"en\" || LANG( ?particleLabel ) = \"\" ) .\n  FILTER ( LANG( ?antiparticleLabel ) = \"en\" || LANG( ?antiparticleLabel ) = \"\" )\n}", "paraphrases": ["What are the antiparticles of known particles in physics, and what are their English names?", "Show me the pairs of particles and their corresponding antiparticles along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2152> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } }"}}
{"id": "test_4160", "question": "List of entities in Wikidata with their Encyclopedia of Modern Ukraine IDs and English names.", "sparql": "SELECT ?item ?itemLabel ?emuId WHERE { ?item wdt:P4613 ?emuId . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } LIMIT 1000", "paraphrases": ["Which items in Wikidata have entries in the Encyclopedia of Modern Ukraine, and what are their English names and corresponding IDs?", "Show me the English names and Encyclopedia of Modern Ukraine IDs for all Wikidata items linked to that encyclopedia."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4613> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } } LIMIT 1000"}}
{"id": "test_4161", "question": "What property links the album \"Vol. 4\" to other items in Wikidata?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nSELECT ?property(COUNT(?property) AS ?count) WHERE {\n  ?item ?prop wd:Q163950 .\n  ?property wikibase:directClaim ?prop .\n  ?property rdf:type wikibase:Property .\n}\nGROUP BY ?property\nORDER BY DESC(?count)\nLIMIT 1", "paraphrases": ["Which property is used to connect \"Vol. 4\" to a larger collection, and how often?", "What is the most common property that has \"Vol. 4\" as its object in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q163950> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_4162", "question": "What properties are used on the Wikimedia category page for Albert Einstein, and what are their values in English?", "sparql": "SELECT ?property ?propertyLabel (COUNT(?value) AS ?count) (GROUP_CONCAT(?valueLabel; SEPARATOR=\", \") AS ?valueLabels)\nWHERE {\n  wd:Q7213562 ?property ?value .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?propertyLabel .\n  ?value rdfs:label ?valueLabel .\n  FILTER(LANG(?propertyLabel) = \"en\")\n  FILTER(LANG(?valueLabel) = \"en\")\n}\nGROUP BY ?property ?propertyLabel", "paraphrases": ["Show me the English labels of properties attached to the Albert Einstein category, along with how many values each has and what those values are.", "For the category \"Catadorie:Albert Einstein\", list each property, its English name, the number of values, and the English labels of those values."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q7213562> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_4163", "question": "What are the topics of Wikipedia articles about Edward Allcard, and what qualifiers are associated with those statements?", "sparql": "SELECT ?article ?statement ?property (SAMPLE(?qualifierProperty) AS ?qualifier)\nWHERE {\n  {\n    SELECT DISTINCT ?article ?statement ?property WHERE {\n      ?statement ?statementProperty wd:Q17415589 .\n      ?article ?claimProperty ?statement .\n      ?property wikibase:statementProperty ?statementProperty .\n      ?property wikibase:claim ?claimProperty .\n      FILTER (?property != wd:P31)\n    }\n    LIMIT 101\n  }\n  OPTIONAL {\n    ?statement ?qualifierProperty ?value .\n  }\n}\nGROUP BY ?article ?statement ?property", "paraphrases": ["Which properties are used in statements about Wikipedia articles related to Edward Allcard, and what qualifiers do they have?", "Find the properties and qualifiers for statements that link Wikipedia articles to Edward Allcard, excluding 'instance of' statements."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q17415589> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_4164", "question": "What are the Spanish labels of the properties used to describe Mari Luz Esteban Galarza, how many Spanish-labeled values does each have, and what are those values?", "sparql": "SELECT ?property (SAMPLE(?propLabel) AS ?propertyLabel) (COUNT(?value) AS ?valueCount) (GROUP_CONCAT(?valueLabel; SEPARATOR=\", \") AS ?valueLabels) WHERE { wd:Q42911353 ?property ?value . ?value rdfs:label ?valueLabel . FILTER(LANG(?valueLabel) = \"es\") . ?propertyItem wikibase:directClaim ?property . ?propertyItem rdfs:label ?propLabel . FILTER(LANG(?propLabel) = \"es\") . } GROUP BY ?property", "paraphrases": ["Spanish property labels and their values for Mari Luz Esteban Galarza", "Show me a summary in Spanish of all the data about Mari Luz Esteban Galarza, including property names, count of values, and the values themselves."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q42911353> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"es\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"es\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_4165", "question": "What property is most frequently used to describe ray tracing?", "sparql": "SELECT ?propertyItem (COUNT(?propertyItem) AS ?usageCount) WHERE { ?item ?property wd:Q619942 . ?propertyItem wikibase:directClaim ?property . } GROUP BY ?propertyItem ORDER BY DESC(?usageCount) LIMIT 1", "paraphrases": ["Which Wikidata property item has the highest number of statements linking to ray tracing?", "How is ray tracing most commonly used in Wikidata, and which property represents that usage?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q619942> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_4166", "question": "French labels of properties used by Vladimir Lenin, along with the count and values of each property.", "sparql": "SELECT ?property (SAMPLE(?propLabel) AS ?propertyLabel) (COUNT(?value) AS ?valueCount) (GROUP_CONCAT(?valueLabel; SEPARATOR=\", \") AS ?valueLabels) WHERE { wd:Q1394 ?property ?value . ?value rdfs:label ?valueLabel . FILTER(LANG(?valueLabel) = \"fr\") . ?propertyItem wikibase:directClaim ?property . ?propertyItem rdfs:label ?propLabel . FILTER(LANG(?propLabel) = \"fr\") . } GROUP BY ?property", "paraphrases": ["What are the French names of the properties associated with Vladimir Lenin, how many French-labeled values does each have, and what are those values?", "Show me for each property of Vladimir Lenin in Wikidata: its French label, the number of French-labeled values it has, and a list of those values."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q1394> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"fr\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"fr\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_4167", "question": "What properties are used in statements about Albert Einstein, excluding his instance of classification?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?property WHERE {\n  wd:Q937 ?property ?value .\n  FILTER ( ?property != wdt:P31 )\n}", "paraphrases": ["Show all properties associated with Albert Einstein except for 'instance of' (P31)", "List all the properties that describe Albert Einstein in Wikidata, excluding the 'instance of' property"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 ?var3 <http://www.wikidata.org/entity/Q45171911> . ?var1 <http://wikiba.se/ontology#statementProperty> ?var3 . FILTER ( ( ( ?var1 != <http://www.wikidata.org/entity/P31> ) ) ) . }"}}
{"id": "test_4168", "question": "What are some entities and their types in English?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?entity ?entityLabel ?typeLabel WHERE {\n  ?entity wdt:P31 ?type .\n  ?entity rdfs:label ?entityLabel .\n  ?type rdfs:label ?typeLabel .\n  FILTER(LANG(?entityLabel) = \"en\")\n  FILTER(LANG(?typeLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Can you list 100 entities along with their English labels and what category they belong to?", "Show me examples of things in Wikidata, including their names and classifications, all in English."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 ?var3 ?var4 . } LIMIT 100"}}
{"id": "test_4169", "question": "What are the descriptions of the \"instance of\" property in different languages?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?value WHERE {\n  wd:P31 ?property ?value .\n}\nORDER BY ASC(?property)", "paraphrases": ["What metadata is associated with the Wikidata property P31 (instance of)?", "Can you list all the properties and values linked to the \"instance of\" property item in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/P31> ?var1 ?var2 . } ORDER BY ASC( ?var1 )"}}
{"id": "test_4170", "question": "What are the most common properties associated with the title \"councillor of commerce\" on Wikidata, and how many times are they used?", "sparql": "SELECT ?property (COUNT(?entity) AS ?count) WHERE { ?entity ?property wd:Q1269192 . OPTIONAL { ?property rdfs:label ?label . FILTER(LANG(?label) = \"en\") } } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["Which properties link entities to the item \"councillor of commerce\", and which ones appear more than once? Sort them by frequency.", "Show me the properties that connect other Wikidata items to \"councillor of commerce\", ordered by how frequently they are used \u2014 only include those used more than once."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q1269192> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_4171", "question": "Examples of lexemes and their writing systems in Wikidata.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?lexeme ?writingSystem WHERE {\n  ?lexeme wdt:P282 ?writingSystem .\n}\nORDER BY ASC(?lexeme)\nLIMIT 100", "paraphrases": ["Which writing systems are used by different lexemes in Wikidata?", "Show me up to 100 lexemes and the scripts they are written in."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P282> ?var2 . OPTIONAL { } } ORDER BY ASC( ?var1 ) LIMIT 100"}}
{"id": "test_4172", "question": "What entities in Wikidata are labeled \"sofa\" in English?", "sparql": "SELECT ?item WHERE { { ?item rdfs:label \"sofa\"@en . } UNION { ?item skos:altLabel \"sofa\"@en . } }", "paraphrases": ["Which Wikidata items have \"sofa\" as an English label or alias?", "Can you find the Wikidata item for the furniture item known as a sofa?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"sofa\"@en . }"}}
{"id": "test_4173", "question": "What are all the broader categories that mathematical space belongs to, including indirect ones?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?superclass WHERE {\n  wd:Q472971 wdt:P279 * ?superclass .\n}", "paraphrases": ["What classes is mathematical space a subclass of, directly or indirectly?", "Show me the full hierarchy of classes above mathematical space in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q472971> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_4174", "question": "What are all the entities classified as \"model\" in Wikidata, and what are their English names?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?model ?modelLabel WHERE {\n  ?model wdt:P31 wd:Q4610556 .\n  ?model rdfs:label ?modelLabel .\n  FILTER ( LANG( ?modelLabel ) = \"en\" )\n}", "paraphrases": ["List all models (both people and technical systems) that are categorized as \"model\" in Wikidata, along with their labels.", "Show me the English names of everything tagged as a model in Wikidata, including hardware, software, and people."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4610556> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4175", "question": "What properties describe Wifredo Lam and what are their English labels and descriptions?", "sparql": "SELECT ?prop ?propLabel ?propDescription WHERE { wd:Q465342 ?directProp ?value . ?prop wikibase:directClaim ?directProp . ?prop a wikibase:Property . ?prop rdfs:label ?propLabel . ?prop schema:description ?propDescription . FILTER(LANG(?propLabel) = \"en\") FILTER(LANG(?propDescription) = \"en\") }", "paraphrases": ["Which properties are used to describe the Cuban artist Wifredo Lam, and what are their English labels and descriptions?", "List all the properties (with their English labels and descriptions) that are used to provide information about Wifredo Lam in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q465342> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_4176", "question": "What are the subclasses and superclasses of abelian group up to six levels deep?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity ?label ?directParent WHERE {\n  {\n    wd:Q181296 ^ wdt:P279 ?entity .\n  } UNION {\n    wd:Q181296 ^ wdt:P279 / ^ wdt:P279 ?entity .\n  } UNION {\n    wd:Q181296 ^ wdt:P279 / ^ wdt:P279 / ^ wdt:P279 ?entity .\n  } UNION {\n    wd:Q181296 ^ wdt:P279 / ^ wdt:P279 / ^ wdt:P279 / ^ wdt:P279 ?entity .\n  } UNION {\n    wd:Q181296 ^ wdt:P279 / ^ wdt:P279 / ^ wdt:P279 / ^ wdt:P279 / ^ wdt:P279 ?entity .\n  } UNION {\n    wd:Q181296 ^ wdt:P279 / ^ wdt:P279 / ^ wdt:P279 / ^ wdt:P279 / ^ wdt:P279 / ^ wdt:P279 ?entity .\n  } UNION {\n    wd:Q181296 wdt:P279 ?entity .\n  } UNION {\n    wd:Q181296 wdt:P279 / wdt:P279 ?entity .\n  } UNION {\n    wd:Q181296 wdt:P279 / wdt:P279 / wdt:P279 ?entity .\n  } UNION {\n    wd:Q181296 wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 ?entity .\n  } UNION {\n    wd:Q181296 wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 ?entity .\n  } UNION {\n    wd:Q181296 wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 ?entity .\n  }\n  ?entity rdfs:label ?label .\n  OPTIONAL {\n    ?entity wdt:P279 ?directParent .\n  }\n  FILTER ( LANG( ?label ) = \"en\" )\n}", "paraphrases": ["Which mathematical concepts are directly or indirectly related to abelian groups through the subclass hierarchy within six steps?", "List all entities that are ancestors or descendants of abelian groups within six levels in the subclass tree, along with their English labels and immediate superclasses."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q181296> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"6\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> \"6\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } UNION { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q181296> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Reverse\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"6\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> \"6\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pt\". } }"}}
{"id": "test_4177", "question": "Properties used for Raja Kovuru with English labels and descriptions", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?propertyLabel ?propertyDescription WHERE {\n  wd:Q213854 ?directProperty ?value .\n  FILTER ( STRSTARTS( STR( ?directProperty ) , \"http://www.wikidata.org/prop/direct/\" ) ) BIND( STRAFTER( STR( ?directProperty ) , \"http://www.wikidata.org/prop/direct/\" ) AS ?propId ) BIND( IRI( CONCAT ( \"http://www.wikidata.org/entity/\" , ?propId ) ) AS ?property ) .\n  ?property a wikibase:Property .\n  ?property rdfs:label ?propertyLabel .\n  ?property schema:description ?propertyDescription .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" ) FILTER ( LANG( ?propertyDescription ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["What are the English labels and descriptions of the properties used to describe the Indian cricketer Raja Kovuru?", "List all properties applied to Raja Kovuru along with their English labels and descriptions."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q213854> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_4178", "question": "What are the types of periodical, protein-coding gene, village of Ukraine, and other listed entities in Wikidata?", "sparql": "SELECT ?type ?item ?itemLabel WHERE { VALUES ?item { wd:Q2341654 wd:Q23038290 wd:Q4423781 wd:Q26211545 wd:Q277338 wd:Q23925393 wd:Q21672098 wd:Q24529780 wd:Q20900710 wd:Q417841 wd:Q17519152 wd:Q21191270 wd:Q27020041 wd:Q1002697 wd:Q20747295 wd:Q5663900 wd:Q24726117 wd:Q24781392 wd:Q20650761 wd:Q24774756 wd:Q24726420 } ?item wdt:P31 ?type . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["What class or type does each of these entities belong to: periodical, pseudogene, alcalde, season, etc.?", "Show me the English labels and the instance-of types for these Wikidata items: periodical, protein-coding gene, village of Ukraine, douar in Morocco, and others."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var3 WHERE { VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q2341654> ) ( <http://www.wikidata.org/entity/Q23038290> ) ( <http://www.wikidata.org/entity/Q4423781> ) ( <http://www.wikidata.org/entity/Q26211545> ) ( <http://www.wikidata.org/entity/Q277338> ) ( <http://www.wikidata.org/entity/Q23925393> ) ( <http://www.wikidata.org/entity/Q21672098> ) ( <http://www.wikidata.org/entity/Q24529780> ) ( <http://www.wikidata.org/entity/Q20900710> ) ( <http://www.wikidata.org/entity/Q417841> ) ( <http://www.wikidata.org/entity/Q17519152> ) ( <http://www.wikidata.org/entity/Q21191270> ) ( <http://www.wikidata.org/entity/Q27020041> ) ( <http://www.wikidata.org/entity/Q1002697> ) ( <http://www.wikidata.org/entity/Q20747295> ) ( <http://www.wikidata.org/entity/Q5663900> ) ( <http://www.wikidata.org/entity/Q24726117> ) ( <http://www.wikidata.org/entity/Q24781392> ) ( <http://www.wikidata.org/entity/Q20650761> ) ( <http://www.wikidata.org/entity/Q24774756> ) ( <http://www.wikidata.org/entity/Q24726420> ) } ?var2 <http://www.wikidata.org/prop/direct/P31> ?var1 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P569> ?var4 . } OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4179", "question": "Most common Wikidata property types by number of properties using them", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nSELECT ?propertyType(COUNT(DISTINCT ?property) AS ?count) WHERE {\n  ?property rdf:type wikibase:Property .\n  OPTIONAL {\n    ?property wikibase:propertyType ?propertyType .\n  }\n}\nGROUP BY ?propertyType\nORDER BY ASC(?count)", "paraphrases": ["What are the Wikidata property types and how many properties use each type, sorted from least to most common?", "Show me the distribution of Wikibase property types in Wikidata, listing each type and the count of properties that use it, ordered from the least to the most frequently used type."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . OPTIONAL { ?var2 <http://wikiba.se/ontology#propertyType> ?var1 . } } GROUP BY ?var1 ORDER BY ASC( ?var3 )"}}
{"id": "test_4180", "question": "Properties of Saul with their labels, count of values, and value labels in English.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?propertyLabel(COUNT(?value) AS ?valueCount)(GROUP_CONCAT(?valueLabel ; SEPARATOR = \", \") AS ?valueLabels) WHERE {\n  wd:Q28730 ?property ?value .\n  ?value rdfs:label ?valueLabel .\n  FILTER(LANG(?valueLabel) = \"en\")\n  .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?propertyLabel .\n  FILTER(LANG(?propertyLabel) = \"en\")\n}\nGROUP BY ?property ?propertyLabel", "paraphrases": ["What are the properties used by Saul, their English labels, how many values each has, and what are those values in English?", "List all properties applied to Saul, along with their English names, the number of values each has, and the English labels of those values."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q28730> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_4181", "question": "What is the English label for the Wikidata item \"revoiced work\"?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?work ?workLabel WHERE {\n  BIND( wd:Q26160672 AS ?work ) .\n  ?work rdfs:label ?workLabel .\n  FILTER ( LANG( ?workLabel ) = \"en\" )\n}", "paraphrases": ["Can you tell me the name of the entity Q26160672 in English?", "What does the term \"revoiced work\" refer to in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { BIND ( <http://www.wikidata.org/entity/Q26160672> AS ?var1 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_4182", "question": "What are the properties of the Roman emperor Claudius, along with their English labels, the number of values each has, and the English labels of those values?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(SAMPLE(?propLabel) AS ?propertyLabel)(COUNT(?value) AS ?valueCount)(GROUP_CONCAT(?valueLabel ; SEPARATOR = ', ') AS ?valueLabels) WHERE {\n  wd:Q1411 ?property ?value .\n  ?value rdfs:label ?valueLabel .\n  FILTER(LANG(?valueLabel) = \"en\")\n  .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?propLabel .\n  FILTER(LANG(?propLabel) = \"en\")\n}\nGROUP BY ?property", "paraphrases": ["Properties of Claudius with their labels, value counts, and value labels in English.", "Show me all the properties of Claudius, including the English name of each property, how many values it has, and what those values are in English."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q1411> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_4183", "question": "What is the German label and description of the Wikidata property for sourcing circumstances?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?property ?label ?description WHERE {\n  BIND(wd:P1480 AS ?property)\n  ?property rdfs:label ?label .\n  FILTER(LANG(?label) = \"de\")\n  ?property schema:description ?description .\n  FILTER(LANG(?description) = \"de\")\n}", "paraphrases": ["In German, how is the property P1480 labeled and described?", "Can you show me the German name and explanation of the property that indicates uncertainty in source citations?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { BIND ( <http://www.wikidata.org/entity/P1480> AS ?var1 ). ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"de\" ) ) ) . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var1 <http://wikiba.se/ontology#propertyType> ?var4 . ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"de\" ) ) ) . }"}}
{"id": "test_4184", "question": "Wikidata properties with English labels", "sparql": "SELECT ?property ?propertyLabel WHERE { ?property wdt:P31/wdt:P279* wd:Q18616576 . ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") } ORDER BY ?propertyLabel", "paraphrases": ["What are all the Wikidata properties and their English labels?", "Please list all Wikidata properties along with their English labels in alphabetical order."], "info": {"raw_sparql": "SELECT ?var1Label ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q18616576> . { ?var3 <http://www.wikidata.org/prop/direct/P31> + <http://www.wikidata.org/entity/Q11344> . } UNION { } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var3Label )ASC( ?var1Label )"}}
{"id": "test_4185", "question": "Wikidata properties that are subclasses of \"Wikidata property\" and their associated topics", "sparql": "SELECT ?topicLabel ?topic WHERE { ?property wdt:P279 wd:Q18616576 . ?property wdt:P1269 ?topic . ?topic rdfs:label ?topicLabel . FILTER(LANG(?topicLabel) = \"en\") } ORDER BY ASC(?topicLabel)", "paraphrases": ["What topics are associated with Wikidata properties that are subclasses of the \"Wikidata property\" class?", "List all topics linked via \"facet of\" to properties that are subclasses of \"Wikidata property\", sorted alphabetically."], "info": {"raw_sparql": "SELECT ?var1Label ?var1 ?var2Label ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q21099935> . ?var4 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q18616576> . ?var4 <http://www.wikidata.org/prop/direct/P1269> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label )ASC( ?var2Label )"}}
{"id": "test_4186", "question": "What properties are associated with Ernestus Andreas Bach, and what are their values and counts in English?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(SAMPLE(?propLabel) AS ?propertyLabel)(COUNT(?value) AS ?valueCount)(GROUP_CONCAT(?valueLabel ; SEPARATOR = \", \") AS ?valueLabels) WHERE {\n  wd:Q21042307 ?property ?value .\n  ?value rdfs:label ?valueLabel .\n  FILTER(LANG(?valueLabel) = \"en\")\n  .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?propLabel .\n  FILTER(LANG(?propLabel) = \"en\")\n}\nGROUP BY ?property", "paraphrases": ["List all properties of Ernestus Andreas Bach with their English labels, number of values, and the value labels.", "Show me a summary of all the data about Ernestus Andreas Bach, including property names in English, how many values each has, and what those values are."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q21042307> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_4187", "question": "Greek labels of properties and their values for Laura Fr\u00f8lich", "sparql": "SELECT ?property (SAMPLE(?propLabelRaw) AS ?propertyLabel) (COUNT(?value) AS ?valueCount) (GROUP_CONCAT(?valueLabelRaw; SEPARATOR=\", \") AS ?valueLabels) WHERE { wd:Q28778132 ?property ?value . ?value rdfs:label ?valueLabelRaw . FILTER(LANG(?valueLabelRaw) = \"el\") . ?propertyItem wikibase:directClaim ?property . ?propertyItem rdfs:label ?propLabelRaw . FILTER(LANG(?propLabelRaw) = \"el\") } GROUP BY ?property", "paraphrases": ["What are the Greek-language labels of the properties used by Laura Fr\u00f8lich, along with the count and Greek labels of their values?", "Show me all properties applied to Laura Fr\u00f8lich, their Greek names, how many values each has, and what those values are called in Greek."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q28778132> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"el\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"el\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_4188", "question": "What properties are associated with Albert II of Belgium, and what are their values and counts in English?", "sparql": "SELECT ?property ?propertyLabel (COUNT(?value) AS ?valueCount) (GROUP_CONCAT(?valueLabel; SEPARATOR=\", \") AS ?valueLabels)\nWHERE {\n  wd:Q3911 ?property ?value .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?propertyLabel .\n  ?value rdfs:label ?valueLabel .\n  FILTER(LANG(?propertyLabel) = \"en\")\n  FILTER(LANG(?valueLabel) = \"en\")\n}\nGROUP BY ?property ?propertyLabel", "paraphrases": ["For each property used by King Albert II of Belgium, what is its English label, how many values does it have, and what are those values in English?", "Show me all the properties of Albert II of Belgium with their English labels, the number of values for each, and the English labels of those values."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q3911> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_4189", "question": "German labels of properties and values used for Hans Dominik on Wikidata", "sparql": "SELECT ?property ?propertyId ?propertyLabel ?value (COALESCE(?valueLabel, ?value) AS ?displayValue) WHERE { wd:Q879441 ?property ?value . BIND(IRI(REPLACE(STR(?property), \"http://www.wikidata.org/prop/direct/\", \"http://www.wikidata.org/entity/\")) AS ?propertyItem) . ?propertyItem rdfs:label ?propertyLabel . FILTER (LANG(?propertyLabel) = \"de\") BIND(SUBSTR(STR(?property), 38) AS ?propertyId) OPTIONAL { ?value rdfs:label ?valueLabel . FILTER (LANG(?valueLabel) = \"de\") } } ORDER BY ?displayValue", "paraphrases": ["What are the German labels of the properties and their corresponding values (or entity labels) associated with Hans Dominik?", "Show me all properties of Hans Dominik with their German names and the German labels of their values, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label ?var4 ?var5Label ?var5 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { BIND ( <http://www.wikidata.org/entity/Q879441> AS ?var4 ). BIND ( \"N/A\" AS ?var1 ). BIND ( \"identity\"@en AS ?var3Label ). } UNION { BIND ( ?var4 AS ?var5 ). <http://www.wikidata.org/entity/Q879441> ?var1 ?var4 . ?var6 ?var7 ?var1 . ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"de\" ) ) ) . FILTER ( ( isLITERAL ( ?var4 ) ) ) . } UNION { BIND ( CONCAT ( ?var5Label ) AS ?var5 ). <http://www.wikidata.org/entity/Q879441> ?var1 ?var4 . ?var6 ?var7 ?var1 . ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"de\" ) ) ) . FILTER ( ( isIRI ( ?var4 ) ) ) . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"de\" ) ) ) . } BIND ( SUBSTR ( STR ( ?var1 ) ,\"38\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"250\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var2 ). } ORDER BY ASC( ?var5 )"}}
{"id": "test_4190", "question": "Labels for the Wikidata property \"instance of\" (P31) in all languages, sorted alphabetically in reverse.", "sparql": "SELECT ?label WHERE { wd:P31 rdfs:label ?label . } ORDER BY DESC(?label) LIMIT 100", "paraphrases": ["What are the different language labels for the property \"instance of\" on Wikidata, listed in descending order?", "Please list all the translated labels of the Wikidata property P31 (\"instance of\"), ordered from Z to A."], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/prop/direct/P31> <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . } ORDER BY DESC( ?var2 ) LIMIT 100"}}
{"id": "test_4191", "question": "What are the English labels and descriptions of properties that are used to link entities to immurement?", "sparql": "SELECT ?property ?propertyLabel ?propertyDescription WHERE { VALUES ?property { wd:P31 wd:P180 wd:P509 wd:P1196 wd:P1596 } . ?property rdfs:label ?propertyLabel . ?property schema:description ?propertyDescription . FILTER(LANG(?propertyLabel) = \"en\") FILTER(LANG(?propertyDescription) = \"en\") } ORDER BY ?property", "paraphrases": ["Which properties describe immurement as an object in Wikidata, and what do they mean in English?", "Can you list the properties like 'instance of' or 'cause of death' that are associated with immurement, along with their English descriptions?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q2985505> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_4192", "question": "What are all the Wikidata properties that belong to categories like \"property to identify musical works\" or similar?", "sparql": "SELECT ?property ?propertyLabel ?propertyType ?propertyTypeLabel WHERE { ?propertyType wdt:P279* wd:Q18616576 . ?property wdt:P31 ?intermediate . ?intermediate wdt:P279 ?propertyType . ?property rdfs:label ?propertyLabel . ?propertyType rdfs:label ?propertyTypeLabel . FILTER(LANG(?propertyLabel) = \"en\" || LANG(?propertyLabel) = \"\") FILTER(LANG(?propertyTypeLabel) = \"en\" || LANG(?propertyTypeLabel) = \"\")}", "paraphrases": ["Which Wikidata properties are classified under subclasses of the general \"Wikidata property\" type?", "Can you list the properties in Wikidata that are grouped into specific property types, such as identifiers or metadata properties?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q18616576> . ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> ) ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4193", "question": "List five Wikidata properties and their English labels.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?property ?propertyLabel WHERE {\n  ?property rdf:type wikibase:Property .\n  ?property rdfs:label ?propertyLabel .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" )\n}\nLIMIT 5", "paraphrases": ["What are five Wikidata properties and what are their English labels?", "Show me five properties from Wikidata along with their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,de\". } } LIMIT 5"}}
{"id": "test_4194", "question": "List the top 50 Wikidata properties with their English labels, sorted alphabetically.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?property ?propertyLabel WHERE {\n  ?property wdt:P31 / wdt:P279 * wd:Q29934218 .\n  ?property rdfs:label ?propertyLabel .\n  FILTER(LANG(?propertyLabel) = 'en')\n}\nORDER BY ?propertyLabel\nLIMIT 50", "paraphrases": ["What are the 50 Wikidata properties with English labels, ordered by name?", "Please show me 50 Wikidata properties along with their English names, sorted in alphabetical order."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var3 ) LIMIT 50"}}
{"id": "test_4195", "question": "What are the top-level categories under \"thing\" in Wikidata, and what are their direct and indirect subclasses?", "sparql": "SELECT DISTINCT \n  ?topClass \n  ?topClassLabel \n  (CONCAT(\"[\", GROUP_CONCAT(DISTINCT ?midClass; SEPARATOR=\",\"), \"]\") AS ?midClasses) \n  (CONCAT(\"[\", GROUP_CONCAT(DISTINCT ?midClassLabel; SEPARATOR=\",\"), \"]\") AS ?midClassesLabel) \n  (CONCAT(\"[\", GROUP_CONCAT(DISTINCT ?leafClass; SEPARATOR=\",\"), \"]\") AS ?leafClasses) \n  (CONCAT(\"[\", GROUP_CONCAT(DISTINCT ?leafClassLabel; SEPARATOR=\",\"), \"]\") AS ?leafClassesLabel) \n  (COUNT(?midClass) AS ?midClassCount)\nWHERE {\n  ?topClass wdt:P279 wd:Q35120 .\n  ?midClass wdt:P279 ?topClass .\n  ?leafClass wdt:P279 ?midClass .\n  \n  ?topClass rdfs:label ?topClassLabel .\n  FILTER(LANG(?topClassLabel) = \"en\") .\n  \n  ?midClass rdfs:label ?midClassLabel .\n  FILTER(LANG(?midClassLabel) = \"en\") .\n  \n  ?leafClass rdfs:label ?leafClassLabel .\n  FILTER(LANG(?leafClassLabel) = \"en\") .\n}\nGROUP BY ?topClass ?topClassLabel", "paraphrases": ["For each direct subclass of \"thing\", list its child classes and grandchild classes in English, along with how many children each has.", "Can you show me the hierarchical structure under \"thing\", including all two-level-deep subclasses and their English labels?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ( CONCAT ( \"[\", GROUP_CONCAT ( DISTINCT ?var2 ; SEPARATOR = \",\" ) , \"]\" ) AS ?var3 )( CONCAT ( \"[\", GROUP_CONCAT ( DISTINCT ?var2Label ; SEPARATOR = \",\" ) , \"]\" ) AS ?var3Label )( CONCAT ( \"[\", GROUP_CONCAT ( DISTINCT ?var4 ; SEPARATOR = \",\" ) , \"]\" ) AS ?var5 )( CONCAT ( \"[\", GROUP_CONCAT ( DISTINCT ?var4Label ; SEPARATOR = \",\" ) , \"]\" ) AS ?var5Label )( COUNT ( ?var2 ) AS ?var6 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q35120> . ?var2 <http://www.wikidata.org/prop/direct/P279> ?var1 . ?var4 <http://www.wikidata.org/prop/direct/P279> ?var2 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var1Label"}}
{"id": "test_4196", "question": "Wikidata properties without Acehnese labels", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nSELECT DISTINCT ?property WHERE {\n  ?property rdf:type wikibase:Property .\n  OPTIONAL {\n    ?property rdfs:label ?aceLabel .\n    FILTER(LANG(?aceLabel) = \"ace\")\n  }\n  FILTER(!(BOUND(?aceLabel)))\n}\nORDER BY ASC(?property)", "paraphrases": ["Which Wikidata properties do not have a label in the Acehnese language?", "List all Wikidata properties that are not labeled in Acehnese."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"ace\" ) ) ) . } FILTER ( ( !( BOUND ( ?var2Label ) ) ) ) . } ORDER BY ASC( ?var1 )"}}
{"id": "test_4197", "question": "What are the direct subclasses of the concept 'pattern' in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?subclass ?subclassLabel WHERE {\n  ?subclass wdt:P279 wd:Q2083958 .\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER ( LANG( ?subclassLabel ) = \"en\" )\n}", "paraphrases": ["Which specific types are considered direct subclasses of 'pattern'?", "List all the direct subtypes of 'pattern' in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q2083958> ) } ?var1 <http://www.wikidata.org/prop/direct/P279> * ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } }"}}
{"id": "test_4198", "question": "All subclasses in Wikidata", "sparql": "SELECT DISTINCT ?class WHERE { ?class wdt:P279 ?parentClass . }", "paraphrases": ["What entities are classified as subclasses of other entities in Wikidata?", "List all classes that have a parent class in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?var2 . }"}}
{"id": "test_4199", "question": "Wikidata properties with English labels and descriptions", "sparql": "SELECT ?item ?label ?description WHERE { ?item rdfs:label ?label ; schema:description ?description . FILTER(LANG(?label) = \"en\" && LANG(?description) = \"en\") } LIMIT 10", "paraphrases": ["What are some Wikidata properties and their English labels and descriptions?", "Show me up to 10 Wikidata properties along with their English names and short descriptions."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 ; <http://schema.org/description> ?var2 . } LIMIT 10"}}
{"id": "test_4200", "question": "What properties are used on Wikidata, and what are their English labels and images?", "sparql": "SELECT DISTINCT ?propertyItem ?propertyItemLabel ?image WHERE { wd:Q4115189 ?property ?value . FILTER(STRSTARTS(STR(?property), \"http://www.wikidata.org/prop/direct/\")) BIND(IRI(REPLACE(STR(?property), \"http://www.wikidata.org/prop/direct/\", \"http://www.wikidata.org/entity/\")) AS ?propertyItem) OPTIONAL { ?propertyItem wdt:P18 ?image . } OPTIONAL { ?propertyItem rdfs:label ?propertyItemLabel . FILTER(LANG(?propertyItemLabel) = \"en\") } }", "paraphrases": ["Which direct properties are applied to the Wikidata item, and what are their English names and associated images?", "List all direct properties of Wikidata (Q4115189) with their English labels and any available images from Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 ?var5 WHERE { { BIND ( <http://www.wikidata.org/entity/Q4115189> AS ?var1 ). ?var1 ?var6 ?var7 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } ?var3 ?var8 ?var6 . ?var3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . FILTER ( ( STRSTARTS ( STR ( ?var7 ) , \"string1\" ) ) ) . FILTER ( ( STRSTARTS ( STR ( ?var3 ) , \"string2\" ) ) ) . } UNION { BIND ( \"EFFBD8\" AS ?var5 ). <http://www.wikidata.org/entity/Q4115189> ?var6 ?var3 . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var4 . } ?var1 ?var8 ?var6 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . FILTER ( ( STRSTARTS ( STR ( ?var3 ) , \"string1\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . ?var3 <http://www.wikidata.org/prop/direct/P18> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4201", "question": "List all Wikidata properties with their English labels.", "sparql": "SELECT ?property ?propertyLabel WHERE { ?property wdt:P31 wd:Q18616576 . ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") }", "paraphrases": ["What are the English labels of all properties in Wikidata?", "Show me all the properties defined in Wikidata along with their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> * <http://www.wikidata.org/entity/Q18616576> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_4202", "question": "Image of the person with SNAC ARK ID w6pz5gr7", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6pz5gr7\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the Wikimedia Commons image of Woody Guthrie?", "Can you show me the image associated with the Social Networks and Archival Context (SNAC) identifier w6pz5gr7?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6pz5gr7\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_4203", "question": "What is the GND ID and Freebase ID for the human Tom Hanks?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person ?gndId ?freebaseId WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person rdfs:label \"Tom Hanks\" @en .\n  ?person wdt:P227 ?gndId .\n  ?person wdt:P646 ?freebaseId .\n}\nLIMIT 10", "paraphrases": ["Can you find Tom Hanks in Wikidata and show his German National Library ID and Freebase identifier?", "Which GND and Freebase IDs are associated with the person named Tom Hanks?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 ?var2Label \"Tom Hanks\"@en . ?var1 <http://www.wikidata.org/prop/direct/P227> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P646> ?var4 . } LIMIT 10"}}
{"id": "test_4204", "question": "Films from 2016 with \"star\" in the title, their IMDb IDs, countries, directors, and Polish Wikipedia pages.", "sparql": "SELECT \n  (GROUP_CONCAT(DISTINCT ?imdbId; SEPARATOR=\", \") AS ?imdbIds)\n  ?filmPolskiId\n  ?country\n  ?director\n  ?polishWikipediaPage\n  ?title\nWHERE {\n  ?film wdt:P31 wd:Q11424 .  # instance of film\n  ?film wdt:P1476 ?title .    # title\n  FILTER(REGEX(STR(?title), \"star\", \"i\"))  # title contains \"star\" (case-insensitive)\n  ?film wdt:P577 ?pubDate .\n  BIND(YEAR(?pubDate) AS ?year)\n  FILTER(?year = 2016)\n\n  OPTIONAL { ?film wdt:P345 ?imdbId . }\n  OPTIONAL { ?film wdt:P3495 ?filmPolskiId . }\n  OPTIONAL { ?film wdt:P495 ?country . }\n  OPTIONAL { ?film wdt:P57 ?director . }\n\n  OPTIONAL {\n    ?polishWikipediaPage schema:about ?film ;\n                         schema:isPartOf <https://pl.wikipedia.org/> .\n  }\n}\nGROUP BY ?film ?title ?filmPolskiId ?country ?director ?polishWikipediaPage\nORDER BY ASC(?imdbId)\nLIMIT 5", "paraphrases": ["What are the films released in 2016 that have \"star\" in their title, and what are their IMDb IDs, countries of origin, directors, and Polish Wikipedia links?", "Please list all 2016 films with \"star\" in the title, including their IMDb identifiers, FilmPolski.pl IDs, countries, directors, and whether they have a page on the Polish Wikipedia."], "info": {"raw_sparql": "SELECT( GROUP_CONCAT ( DISTINCT ?var1 ) AS ?var2 ) ?var3 ?var4 ?var5 ?var6 ( GROUP_CONCAT ( DISTINCT ?var7 ; SEPARATOR = \", \" ) AS ?var8 )( GROUP_CONCAT ( DISTINCT ?var9 ; SEPARATOR = \", \" ) AS ?var10 )( GROUP_CONCAT ( DISTINCT ?var11 ; SEPARATOR = \", \" ) AS ?var12 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P3495> ?var4 . } OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P57> ?var13 . } OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P345> ?var1 . } OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P495> ?var14 . } BIND ( YEAR ( ?var15 ) AS ?var3 ). ?var5 <http://www.wikidata.org/prop/direct/P1476> ?var7 . FILTER ( ( REGEX ( STR ( ?var7 ) , \"string1\", \"i\" ) ) ) . ?var5 <http://www.wikidata.org/prop/direct/P577> ?var15 . FILTER ( ( ( ?var3 = \"2016\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . OPTIONAL { ?var6 <http://schema.org/about> ?var5 . ?var6 <http://schema.org/isPartOf> <https://pl.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". ?var13 <http://www.w3.org/2000/01/rdf-schema#label> ?var9 . ?var14 <http://www.w3.org/2000/01/rdf-schema#label> ?var11 . } ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var7 . } GROUP BY ?var3 ?var6 ?var4 ?var5 ORDER BY ASC( ?var1 )"}}
{"id": "test_4205", "question": "Image of Jos\u00e9 Miguel Carrera with SNAC ARK ID w6x92xm9", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6x92xm9\" .\n  ?item wdt:P18 ?image\n}", "paraphrases": ["What is the image associated with Jos\u00e9 Miguel Carrera in the SNAC database?", "Show me the Wikimedia Commons image of the person whose SNAC ARK ID is w6x92xm9."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6x92xm9\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_4206", "question": "What is the name of the drug with ATC code L02BX03 in English?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?drugLabel ?drug WHERE {\n  ?drug wdt:P267 \"L02BX03\" ; rdfs:label ?drugLabel .\n  FILTER ( LANG( ?drugLabel ) = \"en\" )\n}", "paraphrases": ["Drug with ATC code L02BX03 in English", "Show me the English label of the drug classified under ATC code L02BX03."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P267> \"L02BX03\"; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( \"en\" = LANG ( ?var1Label ) ) ) ) . }"}}
{"id": "test_4207", "question": "Biological species starting with \"G\" from Species Wikidata with images, IPNI IDs, or ZooBank IDs.", "sparql": "SELECT ?item ?label ?image ?ipniId ?zooBankId WHERE { ?item rdfs:label ?label . FILTER(LANG(?label) = \"en\") FILTER(STRSTARTS(LCASE(?label), \"g\")) . ?page schema:about ?item ; schema:isPartOf <https://species.wikimedia.org/> . OPTIONAL { ?item wdt:P18 ?image . } OPTIONAL { ?item wdt:P586 ?ipniId . } OPTIONAL { ?item wdt:P2006 ?zooBankId . } } LIMIT 10", "paraphrases": ["What are the English-named biological species starting with \"G\" that have images, IPNI author IDs, or ZooBank IDs?", "Show me biological taxa with labels starting with \"G\" from Species Wikidata, along with their images and taxonomic identifiers (IPNI for plants, ZooBank for animals)."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"G\"@en . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/isPartOf> <https://species.wikimedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P213> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P214> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P586> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2006> ?var8 . } }"}}
{"id": "test_4208", "question": "List U.S. executive orders with their official titles, signatories, main topics, and issuance dates.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?order ?orderName ?signatory ?topic ?date WHERE {\n  ?order wdt:P31 wd:Q1338798 .\n  OPTIONAL {\n    ?order wdt:P1476 ?orderName .\n  }\n  OPTIONAL {\n    ?order wdt:P1891 ?signatory .\n  }\n  OPTIONAL {\n    ?order wdt:P921 ?topic .\n  }\n  OPTIONAL {\n    ?order wdt:P571 ?date .\n  }\n}\nLIMIT 10", "paraphrases": ["Which U.S. executive orders have been issued, and who signed them, what are they about, and when were they signed?", "Show me the official names, presidents who signed them, their main subjects, and dates of issuance for all U.S. executive orders."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4Label ?var5Label ?var6Label ?var7 ?var8 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1338798> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P361> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1891> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1001> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P585> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P921> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2561> ?var8 . } }"}}
{"id": "test_4209", "question": "What are the categories that Netflix belongs to, and what are their broader categories?", "sparql": "SELECT ?instanceClass ?instanceClassLabel ?superclass WHERE { wd:Q907311 wdt:P31 ?instanceClass . OPTIONAL { ?instanceClass wdt:P279 ?superclass . } ?instanceClass rdfs:label ?instanceClassLabel . FILTER(LANG(?instanceClassLabel) = \"en\") }", "paraphrases": ["What classes is Netflix an instance of, and what are the parent classes of those categories?", "List the types of services Netflix is classified as, along with their higher-level classifications in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q907311> <http://www.wikidata.org/prop/direct/P279> * ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4210", "question": "Libraries in Australia with their founding dates and images", "sparql": "SELECT ?library ?libraryLabel ?inceptionDate ?image WHERE { ?library (wdt:P31 / wdt:P279) wd:Q7075 . ?library wdt:P17 wd:Q408 . OPTIONAL { ?library wdt:P571 ?inceptionDate . } OPTIONAL { ?library wdt:P18 ?image . } ?library rdfs:label ?libraryLabel . FILTER(LANG(?libraryLabel) = \"en\") }", "paraphrases": ["What are the libraries in Australia, when were they founded, and do they have images on Wikimedia Commons?", "Show me all libraries in Australia, including their names, founding years, and any available images."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q7075> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q408> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } }"}}
{"id": "test_4211", "question": "What chemical identifiers are associated with carbon, and what are their values?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?propertyLabel ?value WHERE {\n  wd:Q623 ?statement ?value .\n  ?property wikibase:directClaim ?statement ; wdt:P31 wd:Q19833835 .\n  ?property rdfs:label ?propertyLabel .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" )\n}\nORDER BY ASC ( ?propertyLabel )\nLIMIT 500", "paraphrases": ["Which property types are used to identify carbon in chemical databases, and what are the corresponding identifier values?", "List all chemical identifier properties for carbon along with their values, sorted alphabetically by property name."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q623> ?var3 ?var2 . ?var1 <http://wikiba.se/ontology#directClaim> ?var3 ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19833835> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,nl,no,ru,sv,zh\". } } ORDER BY ASC( ?var1Label ) LIMIT 500"}}
{"id": "test_4212", "question": "What are the literary works that won the Gazteluma award, along with their authors and the year they received it?", "sparql": "SELECT ?work ?workLabel ?authorLabel ?awardYear ?workTypeLabel WHERE { ?work (wdt:P31/wdt:P279*) wd:Q17537576 . ?work p:P166 ?awardStatement . ?awardStatement ps:P166 wd:Q25476516 . ?awardStatement pq:P585 ?awardDate . BIND(YEAR(?awardDate) AS ?awardYear) OPTIONAL { ?work wdt:P50 ?author . } OPTIONAL { ?work wdt:P31 ?workType . } OPTIONAL { ?work rdfs:label ?workLabel . FILTER(LANG(?workLabel) = \"en\") } OPTIONAL { ?author rdfs:label ?authorLabel . FILTER(LANG(?authorLabel) = \"en\") } OPTIONAL { ?workType rdfs:label ?workTypeLabel . FILTER(LANG(?workTypeLabel) = \"en\") } }", "paraphrases": ["Show me books that received the Gazteluma award, including who wrote them and when the award was given.", "List the creative works awarded the Gazteluma prize, their authors, the type of work, and the year of the award."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4Label WHERE { BIND ( YEAR ( ?var5 ) AS ?var3 ). ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q17537576> . ?var1 ( <http://www.wikidata.org/prop/direct/P166> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q31756986> . ?var1 <http://www.wikidata.org/prop/P166> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P166> <http://www.wikidata.org/entity/Q25476516> . ?var6 <http://www.wikidata.org/prop/qualifier/P585> ?var5 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P50> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var4Label . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,eu, fr, es, en\". } }"}}
{"id": "test_4213", "question": "What are the current prefectures of Japan?", "sparql": "SELECT ?prefecture WHERE { ?prefecture wdt:P31 wd:Q50337 . FILTER NOT EXISTS { ?prefecture wdt:P576 ?date } } LIMIT 47", "paraphrases": ["Can you list all the administrative prefectures in Japan that are still active today?", "Which Japanese prefectures have not been abolished or dissolved historically?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q50337> . } LIMIT 10"}}
{"id": "test_4214", "question": "What are the properties and their values for Abishua, including property labels and value counts?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(SAMPLE(?propItemLabel) AS ?propertyLabel)(COUNT(?value) AS ?valueCount)(GROUP_CONCAT(?valueLabel ; SEPARATOR = \", \") AS ?valueLabels) WHERE {\n  wd:Q2338482 ?property ?value .\n  ?value rdfs:label ?valueLabel .\n  FILTER(LANG(?valueLabel) = \"en\")\n  ?propItem wikibase:directClaim ?property .\n  ?propItem rdfs:label ?propItemLabel .\n  FILTER(LANG(?propItemLabel) = \"en\")\n}\nGROUP BY ?property", "paraphrases": ["For the biblical figure Abishua, what are all the properties assigned to him, their English labels, how many values each has, and what are those values in English?", "List all properties of Abishua with their English labels, the number of values each property has, and the English labels of those values."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q2338482> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_4215", "question": "What are the geographical locations associated with the Piligrim Theatre, including its city, country, and continent?", "sparql": "SELECT DISTINCT ?location ?locationLabel WHERE { { wd:Q4362699 (wdt:P17 | wdt:P131) ?location . } UNION { wd:Q4362699 wdt:P17 ?country . ?country wdt:P30 ?location . } ?location rdfs:label ?locationLabel . FILTER(LANG(?locationLabel) = \"en\") }", "paraphrases": ["Show me the city, country, and continent where the Piligrim Theatre is located.", "Where is the Piligrim Theatre situated? List its administrative division, country, and continent."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q4362699> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_4216", "question": "Scientific instruments with English names and Freebase IDs", "sparql": "SELECT ?instrument ?label ?freebaseId WHERE { ?instrument (wdt:P31/wdt:P279*) wd:Q3099911 . ?instrument wdt:P646 ?freebaseId . ?instrument rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["What are the English-named scientific instruments and their Freebase identifiers?", "List all scientific instruments and their subtypes that have an English label and a Freebase ID."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3099911> . ?var1 <http://www.wikidata.org/prop/direct/P646> ?var3 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . }"}}
{"id": "test_4217", "question": "What are the labels for Hans Albert Einstein in French, English, German, and Italian, along with his French Wikipedia article?", "sparql": "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?label ?image ?coordinates ?wikipedia WHERE {\n  OPTIONAL {\n    wd:Q123371 rdfs:label ?label .\n    FILTER ( LANG( ?label ) IN ( 'fr' , 'en' , 'de' , 'it' ) )\n  }\n  OPTIONAL {\n    wd:Q123371 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q123371 wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    ?wikipedia rdf:type schema:Article ; schema:about wd:Q123371 ; schema:inLanguage 'fr' ; schema:isPartOf <https://fr.wikipedia.org/> .\n  }\n}\nORDER BY ?label", "paraphrases": ["Can you show me the different language labels for Hans Albert Einstein and link to his French Wikipedia page?", "I'd like to see Hans Albert Einstein's names in multiple languages (French, English, German, Italian) and his French Wikipedia article - does he have an image or coordinates available?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q123371> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var5 ) ) ) . VALUES ( ?var5 ?var6 ) { ( \"fr\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q123371> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q123371> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q123371> ; <http://schema.org/inLanguage> \"fr\"; <http://schema.org/isPartOf> <https://fr.wikipedia.org/> . } } ORDER BY ASC( ?var6 )"}}
{"id": "test_4218", "question": "What are the railway stations and their station codes?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?station ?stationCode WHERE {\n  ?station wdt:P31 wd:Q55488 .\n  OPTIONAL {\n    ?station wdt:P296 ?stationCode .\n  }\n}", "paraphrases": ["Which railway stations have assigned station codes, and what are those codes?", "Can you list all railway stations along with their station identifiers?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q55488> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P239> ?var2 . } }"}}
{"id": "test_4219", "question": "What institutions is Conny Aerts employed by, where are they located, and what do they look like?", "sparql": "SELECT DISTINCT ?institution ?institutionLabel ?coordinate ?image ?propertyLabel WHERE { wd:Q2993494 wdt:P108 ?institution . ?institution rdfs:label ?institutionLabel . FILTER(LANG(?institutionLabel) = \"en\") . ?institution wdt:P625 ?coordinate . OPTIONAL { ?institution wdt:P18 ?image . } wd:P108 rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") . }", "paraphrases": ["Show me the universities Conny Aerts works for, their coordinates, images, and the relationship type (e.g., employer).", "Which organizations is the Belgian astrophysicist Conny Aerts affiliated with, and what are their locations and images?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ( ?var4Label AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q2993494> ?var6 ?var2 . ?var2 (( <http://www.wikidata.org/prop/P159> / <http://www.wikidata.org/prop/qualifier/P625> )|( <http://www.wikidata.org/prop/direct/P276> */ <http://www.wikidata.org/prop/direct/P625> )) ?var3 . ?var7 <http://wikiba.se/ontology#directClaim> ?var6 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,nl,no,ru,sv,zh\". } ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . }"}}
{"id": "test_4220", "question": "Which Titan IDs are shared by multiple longhorn beetle species?", "sparql": "SELECT ?titanId ( COUNT( ?taxon ) AS ?count ) ( GROUP_CONCAT( ?taxonLabel ; separator=\", \" ) AS ?taxa ) WHERE { ?taxon wdt:P4125 ?titanId . ?taxon rdfs:label ?taxonLabel . FILTER(LANG(?taxonLabel) = \"en\") } GROUP BY ?titanId HAVING ( COUNT( ?taxon ) > 1 )", "paraphrases": ["Are there any Titan database identifiers assigned to more than one Cerambycidae taxon, and which species share them?", "List all duplicate Titan IDs in the Cerambycidae taxonomy along with the names of the beetle species that have those IDs."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 )( GROUP_CONCAT ( ?var2 ) AS ?var4 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P4125> ?var1 . } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) )"}}
{"id": "test_4221", "question": "Railway stations in Italy with coordinates and Italian Wikipedia pages", "sparql": "SELECT DISTINCT ?station ?coord ?wikipediaArticle WHERE { ?station wdt:P31 wd:Q55488 . ?station wdt:P17 wd:Q38 . ?station wdt:P625 ?coord . ?wikipediaArticle schema:about ?station . ?wikipediaArticle schema:isPartOf <https://it.wikipedia.org/> . }", "paraphrases": ["What are the railway stations in Italy that have geographic coordinates and articles on the Italian Wikipedia?", "List all railway stations in Italy along with their coordinates and links to their Italian Wikipedia pages."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q55488> . ?var1 ?var3 <http://www.wikidata.org/entity/Q38> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . ?var1 <http://wikiba.se/ontology#statements> ?var5 . ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://it.wikipedia.org/> . }"}}
{"id": "test_4222", "question": "People born after 1700 and died after 1750 who have matching birth and death dates on Hebrew and German Wikipedia with English labels.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nSELECT ?hebrewPerson ?germanPerson ?hebrewPersonLabel ?germanPersonLabel WHERE {\n  ?hebrewPerson wdt:P31 wd:Q5 ; wdt:P569 ?birthDate ; wdt:P570 ?deathDate .\n  ?germanPerson wdt:P31 wd:Q5 ; wdt:P569 ?birthDate ; wdt:P570 ?deathDate .\n  FILTER ( ?hebrewPerson != ?germanPerson ) FILTER ( ?birthDate >= \"1700-01-01T00:00:00Z\" ^^ xsd:dateTime ) FILTER ( ?deathDate >= \"1750-01-01T00:00:00Z\" ^^ xsd:dateTime ) ?hebrewPage schema:about ?hebrewPerson ; schema:isPartOf <https://he.wikipedia.org/> .\n  ?germanPage schema:about ?germanPerson ; schema:isPartOf <https://de.wikipedia.org/> .\n  ?hebrewPerson rdfs:label ?hebrewPersonLabel .\n  FILTER ( LANG( ?hebrewPersonLabel ) = \"en\" ) ?germanPerson rdfs:label ?germanPersonLabel .\n  FILTER ( LANG( ?germanPersonLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Who are pairs of people from Hebrew and German Wikipedia who were born on the same day after 1700 and died on the same day after 1750, and have English-language Wikipedia labels?", "List pairs of individuals with identical birth and death dates between 1700\u20131750 and beyond, where one is documented on Hebrew Wikipedia and the other on German Wikipedia, both with English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P569> ?var3 ; <http://www.wikidata.org/prop/direct/P570> ?var4 . ?var5 <http://schema.org/about> ?var1 . ?var5 <http://schema.org/isPartOf> <https://he.wikipedia.org/> . FILTER ( ( ( ?var3 >= \"1700-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var4 >= \"1750-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . ?var2 <http://www.wikidata.org/prop/direct/P569> ?var3 . ?var2 <http://www.wikidata.org/prop/direct/P570> ?var4 . FILTER ( ( ( ?var1 != ?var2 ) ) ) . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var6 <http://schema.org/about> ?var2 . ?var6 <http://schema.org/isPartOf> <https://de.wikipedia.org/> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_4223", "question": "Labels of the property linking Martha Washington to George Washington in different languages.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label WHERE {\n  wd:Q191789 ?property wd:Q23 .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?label .\n}\nLIMIT 10", "paraphrases": ["What are the translations of \"spouse\" in various languages according to Wikidata?", "Show me how the word \"spouse\" is labeled in different languages on Wikidata, for the relationship between Martha and George Washington."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q191789> ?var2 <http://www.wikidata.org/entity/Q23> . ?var3 <http://wikiba.se/ontology#directClaim> ?var2 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . } LIMIT 10"}}
{"id": "test_4224", "question": "What is the movie with IMDb ID tt0102051?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P345 \"tt0102051\" .\n  ?item rdfs:label ?itemLabel\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["Which film in Wikidata is identified by the IMDb identifier tt0102051?", "Can you tell me the title of the film with IMDb ID tt0102051?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0102051\". }"}}
{"id": "test_4225", "question": "Artistic movements and works influenced by comics", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?influencedEntity ?statement WHERE {\n  ?statement ps:P737 wd:Q1004 .\n  ?influencedEntity p:P737 ?statement .\n}\nLIMIT 101", "paraphrases": ["Which artworks or art movements were influenced by comics?", "List the art pieces and styles that draw inspiration from comic books."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P737> <http://www.wikidata.org/entity/Q1004> . ?var1 <http://www.wikidata.org/prop/P737> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_4226", "question": "List all geolocated places in Barcelona with their coordinates and English names.", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nSELECT ?item ?label ?wkt ?longitude ?latitude WHERE {\n  ?item wdt:P131 wd:Q1492 ; p:P625 [ ps:P625 ?wkt ; psv:P625 [ wikibase:geoLongitude ?longitude ; wikibase:geoLatitude ?latitude ] ] .\n  ?item rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["What are the English names, WKT coordinates, longitude, and latitude of all locations in Barcelona?", "Show me the names and geographic coordinates (longitude and latitude) of all places located in Barcelona, using English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q1492> ; <http://www.wikidata.org/prop/P625> [ <http://www.wikidata.org/prop/statement/P625> ?var2 ; <http://www.wikidata.org/prop/statement/value/P625> [ <http://wikiba.se/ontology#geoLongitude> ?var3 ; <http://wikiba.se/ontology#geoLatitude> ?var4 ] ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4227", "question": "Which movie has the IMDb ID tt3977652?", "sparql": "SELECT ?movie WHERE { ?movie wdt:P345 \"tt3977652\" . }", "paraphrases": ["What is the Wikidata item for the film with IMDb identifier tt3977652?", "Find the Wikidata entry for the movie identified by tt3977652 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt3977652\". }"}}
{"id": "test_4228", "question": "World Heritage Sites in Hungary with Polish administrative division names and coordinates", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?site ?siteLabel ?admin ?adminLabel ?coordinates WHERE {\n  VALUES(?heritageSite ?country) {(wd:Q9259 wd:Q28)\n  }\n  ?site wdt:P1435 ?heritageSite .\n  {\n    ?site wdt:P131 ?admin .\n    ?admin wdt:P131 ?country .\n  } UNION {\n    ?site wdt:P131 ?country .\n    BIND(?country AS ?admin)\n  }\n  ?site wdt:P625 ?coordinates .\n  OPTIONAL {\n    ?admin rdfs:label ?adminLabel .\n    FILTER(LANG(?adminLabel) = \"pl\")\n  }\n  OPTIONAL {\n    ?site rdfs:label ?siteLabel .\n    FILTER(LANG(?siteLabel) = \"en\")\n  }\n  FILTER(LANG(?siteLabel) = \"en\" || ! BOUND(?siteLabel))\n}\nORDER BY ASC(?siteLabel)\nLIMIT 20", "paraphrases": ["What are the UNESCO World Heritage Sites in Hungary, and what are their Polish administrative divisions and coordinates?", "Show me the World Heritage Sites in Hungary, including their English names, the Polish names of the counties they are in, and their geographic coordinates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ( SAMPLE ( ?var2 ) AS ?var2 )( SAMPLE ( ?var2Label ) AS ?var2Label )( SAMPLE ( ?var3 ) AS ?var3 )( SAMPLE ( ?var4 ) AS ?var4 ) ?var5 ?var5Label ?var6 ?var6Label ?var7 ?var7Label WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var2 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q28> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P1435> <http://www.wikidata.org/entity/Q9259> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . } OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( LANG ( ?var2Label ) IN ( \"pl\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P149> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P84> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en,hu\". } } GROUP BY ?var1 ?var1Label ?var5 ?var5Label ?var6 ?var6Label ?var7 ?var7Label ORDER BY ASC( ?var1Label )"}}
{"id": "test_4229", "question": "What is the Wikidata item for the comic book series \"Yakari\"?", "sparql": "SELECT ?item WHERE { ?item rdfs:label \"Yakari\"@en . ?item wdt:P31 wd:Q14406742 . }", "paraphrases": ["Find the entity representing the comic book series titled \"Yakari\" in English.", "Which Wikidata item corresponds to the English-labeled comic book series \"Yakari\"?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167410> . ?var1 <http://schema.org/description> \"Yakari\"@en . }"}}
{"id": "test_4230", "question": "German-language video games and game types", "sparql": "SELECT ?game ?gameLabel WHERE { ?game (wdt:P31/wdt:P279*) wd:Q11410 . ?game rdfs:label ?gameLabel . FILTER(LANG(?gameLabel) = \"de\") FILTER(STRSTARTS(STR(?game), \"http://www.wikidata.org/entity/Q\")) }", "paraphrases": ["What are the names of games in German?", "List all games and their German names from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11410> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"de\" ) ) ) . }"}}
{"id": "test_4231", "question": "Association football players who played for FC Bayern Munich and their places of birth.", "sparql": "SELECT ?playerLabel ?birthplaceLabel WHERE { ?player wdt:P106 wd:Q937857 . ?player wdt:P54 wd:Q15789 . ?player wdt:P19 ?birthplace . ?player rdfs:label ?playerLabel . ?birthplace rdfs:label ?birthplaceLabel . FILTER(LANG(?playerLabel) = \"en\") FILTER(LANG(?birthplaceLabel) = \"en\") } LIMIT 10000", "paraphrases": ["Which football players have played for FC Bayern Munich, and where were they born?", "List the names of all football players who played for FC Bayern Munich along with their birthplaces."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q937857> . ?var1 <http://www.wikidata.org/prop/direct/P54> <http://www.wikidata.org/entity/Q15789> . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10000"}}
{"id": "test_4232", "question": "What are the cities in Italy, and what are their official names and administrative regions?", "sparql": "SELECT DISTINCT ?cityLabel ?officialName ?administrativeEntity ?city ?country WHERE { ?city (wdt:P31/wdt:P279*) wd:Q515 . ?city wdt:P17 wd:Q38 . OPTIONAL { ?city wdt:P1448 ?officialName . } OPTIONAL { ?city wdt:P131 ?administrativeEntity . } BIND(wd:Q38 AS ?country) } LIMIT 30", "paraphrases": ["List ancient Roman cities located in modern-day Italy.", "Show me cities in Italy along with their country, official names, and where they are administratively located."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2 ?var3 ?var1 ?var4 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3957> . ?var4 <http://www.wikidata.org/entity/p17> <http://www.wikidata.org/entity/Q38> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1448> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var4 . } } LIMIT 30"}}
{"id": "test_4233", "question": "How many people are citizens of Haiti?", "sparql": "SELECT (COUNT(DISTINCT ?person) AS ?count) WHERE { ?person wdt:P27 wd:Q790 . }", "paraphrases": ["What is the number of individuals with Haitian citizenship?", "Count the number of people who hold Haitian nationality."], "info": {"raw_sparql": "SELECT( COUNT ( DISTINCT ?var1 ) AS ?var2 ) WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q790> . } }"}}
{"id": "test_4234", "question": "What are some variants of the Android operating system?", "sparql": "SELECT ?androidVariant WHERE { ?androidVariant wdt:P31 wd:Q94 .}", "paraphrases": ["Which software applications are instances of the Android operating system?", "List all known implementations of Android as recorded in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q94> . }"}}
{"id": "test_4235", "question": "Who are the members of the band Chicago?", "sparql": "SELECT ?member WHERE { ?member wdt:P463 wd:Q371938 . }", "paraphrases": ["Which people have been members of the musical group Chicago?", "List all individuals who have been part of the American rock band Chicago."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q533865> . }"}}
{"id": "test_4236", "question": "Administrative subdivisions of Tehran and their parent districts", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?subdivision ?subdivisionLabel ?subdivisionOfSubdivision WHERE {\n  {\n    ?subdivision wdt:P131 wd:Q3616 .\n  } UNION {\n    ?level1 wdt:P131 wd:Q3616 .\n    ?subdivision wdt:P131 ?level1 .\n  } UNION {\n    ?level1 wdt:P131 wd:Q3616 .\n    ?level2 wdt:P131 ?level1 .\n    ?subdivision wdt:P131 ?level2 .\n  }\n  OPTIONAL {\n    ?subdivision wdt:P131 ?subdivisionOfSubdivision .\n  }\n  ?subdivision rdfs:label ?subdivisionLabel .\n  FILTER ( LANG( ?subdivisionLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["What are the districts and neighborhoods within Tehran, and which larger areas do they belong to?", "List up to 100 places located in Tehran, including their English names and the administrative areas they are part of."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3616> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"100\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> \"100\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P40> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P40> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4237", "question": "Which minor localities in Sweden have duplicate 'instance of' statements in Wikidata?", "sparql": "SELECT ?place (COUNT(?statement) AS ?count) WHERE { ?place p:P31 ?statement . ?statement ps:P31 wd:Q14839548 . OPTIONAL { ?statement pq:P582 ?endTime . } } GROUP BY ?place HAVING (?count > 1) ORDER BY ASC(?place)", "paraphrases": ["How many Swedish minor localities are listed more than once as instances of 'minor locality in Sweden'?", "List all Swedish minor localities that have more than one 'instance of' claim to 'minor locality in Sweden', along with the number of duplicate claims."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/P31> ?var2 . ?var2 <http://www.wikidata.org/prop/statement/P31> <http://www.wikidata.org/entity/Q14839548> . OPTIONAL { ?var2 <http://www.wikidata.org/prop/qualifier/P582> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv,en\". } } GROUP BY ?var1 ?var1Label HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY ASC( ?var1Label )"}}
{"id": "test_4238", "question": "List all humans in Wikidata.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?human WHERE {\n  ?human wdt:P31 wd:Q5 .\n}\nLIMIT 2300000", "paraphrases": ["Who are all the humans recorded in Wikidata?", "Can you provide a list of all entities in Wikidata that are classified as human beings?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . } LIMIT 2300000"}}
{"id": "test_4239", "question": "People with the given name Jos\u00e9 who are citizens of Spanish-speaking countries.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person WHERE {\n  ?person wdt:P27 ?country .\n  ?country wdt:P37 wd:Q1321 .\n  ?person wdt:P735 wd:Q2190619 .\n}", "paraphrases": ["Who are the people named Jos\u00e9 that hold citizenship in a country where Spanish is the official language?", "List all individuals whose first name is Jos\u00e9 and whose country of citizenship has Spanish as an official language."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P37> <http://www.wikidata.org/entity/Q1321> . ?var1 <http://www.wikidata.org/prop/direct/P735> <http://www.wikidata.org/entity/Q2190619> . }"}}
{"id": "test_4240", "question": "Which military personnel died in locations that do not have a Hebrew label on Wikidata, and what are the English names of those locations along with their Hebrew Wikipedia pages?", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ?militaryPerson ?hebrewWikipediaPage ?placeOfDeath ?placeOfDeathLabelEn WHERE {\n  ?militaryPerson wdt:P106 wd:Q47064 .\n  ?militaryPerson p:P20 ?statement .\n  ?statement ps:P20 ?placeOfDeath .\n  ?hebrewWikipediaPage schema:about ?militaryPerson ; schema:inLanguage \"he\" . MINUS {\n    ?placeOfDeath rdfs:label ?hebrewLabel .\n    FILTER ( LANG( ?hebrewLabel ) = \"he\" )\n  }\n  OPTIONAL {\n    ?placeOfDeath rdfs:label ?placeOfDeathLabelEn .\n    FILTER ( LANG( ?placeOfDeathLabelEn ) = \"en\" )\n  }\n}", "paraphrases": ["Military personnel with place of death lacking Hebrew label, English name of place, and Hebrew Wikipedia link.", "Show me a list of military figures whose death places are not labeled in Hebrew, including the English name of the place and the link to their Hebrew Wikipedia article."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q47064> . ?var1 <http://www.wikidata.org/prop/P20> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P20> ?var3 . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"he\". MINUS { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"he\" ) ) ) . } OPTIONAL { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"he\". } }"}}
{"id": "test_4241", "question": "What are all the broader categories (superclasses) that the Basque language belongs to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?superclass WHERE {\n  wd:Q8752 wdt:P279 + ?superclass .\n}\nORDER BY ?superclass", "paraphrases": ["List all the classes above Basque language in the Wikidata hierarchy, excluding the language itself.", "What is the classification hierarchy of the Basque language, showing all its parent categories?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q8752> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_4242", "question": "List British Grand Prix events from earliest to latest, showing the pole sitter and winner(s) for each.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?event ?eventLabel ?polePositionDriver ?polePositionDriverLabel ?winner ?winnerLabel WHERE {\n  ?event ( wdt:P31 / wdt:P279 * ) wd:Q8019 .\n  ?event wdt:P3764 ?polePositionDriver .\n  ?event wdt:P1346 ?winner .\n  ?event wdt:P585 ?date .\n  ?event rdfs:label ?eventLabel .\n  ?polePositionDriver rdfs:label ?polePositionDriverLabel .\n  ?winner rdfs:label ?winnerLabel .\n  FILTER ( LANG( ?eventLabel ) = \"en\" ) FILTER ( LANG( ?polePositionDriverLabel ) = \"en\" ) FILTER ( LANG( ?winnerLabel ) = \"en\" )\n}\nORDER BY ASC ( YEAR( ?date ) )", "paraphrases": ["Who started in pole position and who won each British Grand Prix, ordered by year?", "Show me the pole position driver and winner(s) of every British Grand Prix, sorted by year, with English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { BIND ( YEAR ( ?var4 ) AS ?var5 ). ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q8019> . ?var1 <http://www.wikidata.org/prop/direct/P3764> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P1346> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P585> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY ASC( ?var5 )"}}
{"id": "test_4243", "question": "What movie has the IMDb ID tt5448010?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P345 \"tt5448010\" .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["What is the title of the film with IMDb identifier tt5448010?", "Find the English label of the Wikidata item associated with the IMDb ID tt5448010."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5448010\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4244", "question": "What are the English labels and descriptions of occupations held by humans in Wikidata?", "sparql": "SELECT ?occupation ?occupationLabel ?occupationDescription WHERE { ?person wdt:P106 ?occupation . ?person wdt:P31 wd:Q5 . ?occupation rdfs:label ?occupationLabel . ?occupation schema:description ?occupationDescription . FILTER(LANG(?occupationLabel) = \"en\") FILTER(LANG(?occupationDescription) = \"en\") } LIMIT 100", "paraphrases": ["Show me 100 human occupations with their English names and definitions.", "Can you list common jobs of people, along with their English descriptions?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <https://query.wikidata.org/bigdata/namespace/wdq/?p> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_4245", "question": "Items with Sports-Reference Olympic ID that are not humans", "sparql": "SELECT ?item ?itemLabel ?type ?typeLabel WHERE { ?item wdt:P1447 [] . OPTIONAL { ?item wdt:P31 ?type . } OPTIONAL { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } OPTIONAL { ?type rdfs:label ?typeLabel . FILTER(LANG(?typeLabel) = \"en\") } MINUS { ?item (wdt:P31/wdt:P279*) wd:Q5 . } MINUS { ?item (wdt:P31/wdt:P279*) wd:Q4830453 . } } LIMIT 100", "paraphrases": ["Which entities in Wikidata have an Olympic athlete ID from Sports-Reference.com but are not classified as humans?", "Find all non-human entities in Wikidata that are incorrectly assigned a Sports-Reference Olympic athlete ID."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1447> [] . VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q5> ) ( <http://www.wikidata.org/entity/Q4830453> ) } MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } } LIMIT 100 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"lv,en\". } }"}}
{"id": "test_4246", "question": "Which film has the GECD film ID 17580?", "sparql": "SELECT ?film WHERE { ?film wdt:P3367 \"17580\" . }", "paraphrases": ["What is the Wikidata item for the film identified by GECD ID 17580?", "I\u2019m looking for the film in the German Early Cinema Database with ID 17580 \u2014 what is its Wikidata entry?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3367> \"17580\". }"}}
{"id": "test_4247", "question": "List members of the 2009\u20132013 and 2013\u20132016 Icelandic Parliaments, including their electoral districts, political parties, and term start years.", "sparql": "SELECT DISTINCT \n  ?person \n  ?startDate \n  ?endDate \n  ?electoralDistrict \n  ?parliamentaryGroup \n  (YEAR(?startDate) AS ?termYear)\nWHERE {\n  VALUES ?parliamentTerm {\n    wd:Q33083139  # Member of the 2013-2016 Parliament of Iceland\n    wd:Q33083156  # Member of the 2009-2013 Parliament of Iceland\n  }\n  \n  ?person p:P39 ?statement .\n  ?statement ps:P39 ?parliamentTerm .\n\n  OPTIONAL { ?statement pq:P580 ?startDate . }\n  OPTIONAL { ?statement pq:P582 ?endDate . }\n\n  OPTIONAL { ?statement pq:P768 ?electoralDistrict . }\n  OPTIONAL { ?statement pq:P4100 ?parliamentaryGroup . }\n}\nORDER BY ASC(?termYear) ASC(?person)", "paraphrases": ["Who were the members of the Icelandic Parliament between 2009 and 2016, and which districts and parties did they represent during each term?", "Show me a list of all individuals who served in the Icelandic Parliament during the 2009\u20132013 and 2013\u20132016 terms, sorted by term year, along with their start and end dates, electoral districts, and parliamentary groups."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var4Label ?var5 ?var5Label ( YEAR ( ?var6 ) AS ?var7 ) WHERE { VALUES ( ?var8 ) { ( <http://www.wikidata.org/entity/Q33083139> ) ( <http://www.wikidata.org/entity/Q33083156> ) } ?var1 <http://www.wikidata.org/prop/P39> ?var9 . ?var9 <http://www.wikidata.org/prop/statement/P39> ?var8 . ?var8 <http://www.wikidata.org/prop/direct/P361> [ <http://www.wikidata.org/prop/direct/P571> ?var6 ] . OPTIONAL { ?var9 <http://www.wikidata.org/prop/qualifier/P580> ?var2 . } OPTIONAL { ?var9 <http://www.wikidata.org/prop/qualifier/P582> ?var3 . } OPTIONAL { ?var9 <http://www.wikidata.org/prop/qualifier/P768> ?var4 . } OPTIONAL { ?var9 <http://www.wikidata.org/prop/qualifier/P4100> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var7 )ASC( ?var1 )"}}
{"id": "test_4248", "question": "Which film has the AlloCin\u00e9 ID 55520?", "sparql": "SELECT ?film WHERE { ?film wdt:P1265 \"55520\" . }", "paraphrases": ["What is the Wikidata item for the film identified by AlloCin\u00e9 film ID 55520?", "Find the movie in Wikidata that corresponds to the AlloCin\u00e9 film ID 55520."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1265> \"55520\". }"}}
{"id": "test_4249", "question": "List the first five U.S. presidents, their spouses, and their gender.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?president ?presidentLabel ?spouse ?spouseLabel ?gender WHERE {\n  ?president wdt:P31 wd:Q5 .\n  ?president p:P39 ?position .\n  ?position ps:P39 wd:Q11696 .\n  ?position pq:P580 ?startDate .\n  OPTIONAL {\n    ?president wdt:P26 ?spouse .\n    ?spouse rdfs:label ?spouseLabel .\n    FILTER ( LANG( ?spouseLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?president wdt:P21 ?gender .\n  }\n  ?president rdfs:label ?presidentLabel .\n  FILTER ( LANG( ?presidentLabel ) = \"en\" )\n}\nORDER BY ASC ( ?startDate )\nLIMIT 5", "paraphrases": ["Who were the first five presidents of the United States, who did they marry, and what was their gender?", "Show me the names of the first five U.S. presidents in order, along with the English names of their spouses and their biological sex."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/P39> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q11696> . ?var5 <http://www.wikidata.org/prop/qualifier/P580> ?var6 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P26> ?var2 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var4 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . } } ORDER BY ASC( ?var6 ) LIMIT 5"}}
{"id": "test_4250", "question": "Art UK artist IDs and their corresponding artists", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?artUKID ?artist WHERE {\n  ?artist wdt:P1367 ?artUKID .\n}", "paraphrases": ["What are the Art UK artist IDs and the Wikidata items for the artists they identify?", "List all artists in Wikidata along with their Art UK artist identifiers."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { { SELECT ?var1 ?var2 ( GROUP_CONCAT ( DISTINCT ?var5 ; SEPARATOR = \"; \" ) AS ?var3 )( GROUP_CONCAT ( DISTINCT ?var6 ; SEPARATOR = \"; \" ) AS ?var4 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P1367> ?var1 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P650> ?var5 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P214> ?var6 . } } GROUP BY ?var2 ?var1 } }"}}
{"id": "test_4251", "question": "People who attended the University of Georgia, were born after 1900, and have an occupation.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?occupationLabel WHERE {\n  ?person wdt:P69 wd:Q761534 .\n  ?person wdt:P569 ?birthDate .\n  FILTER(YEAR(?birthDate) > 1900)\n  .\n  ?person wdt:P106 ?occupation .\n  ?person rdfs:label ?personLabel .\n  ?occupation rdfs:label ?occupationLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n  .\n  FILTER(LANG(?occupationLabel) = \"en\")\n}", "paraphrases": ["Who are the people born after 1900 that went to the University of Georgia and what are their occupations?", "List the names and occupations of individuals educated at the University of Georgia who were born after 1900."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P69> <http://www.wikidata.org/entity/Q761534> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . FILTER ( ( ( YEAR ( ?var3 ) > \"1900\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4252", "question": "All properties and values for Claudia Schiffer on Wikidata.", "sparql": "SELECT ?property ?value WHERE { wd:Q76717 ?property ?value .}", "paraphrases": ["What information is available about Claudia Schiffer in Wikidata?", "Show me all the statements (properties and values) linked to Claudia Schiffer\u2019s Wikidata entry, including descriptions and external IDs."], "info": {"raw_sparql": "SELECT * WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q76717> ) } ?var1 ?var2 ?var3 . }"}}
{"id": "test_4253", "question": "What space missions, aircraft first flights, or performances occurred in September 1966?", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item WHERE {\n  ?item ( wdt:P585 | wdt:P606 | wdt:P619 | wdt:P620 | wdt:P621 | wdt:P622 | wdt:P729 | wdt:P1191 ) ?date .\n  FILTER ( ?date >= \"1966-09-01T00:00:00Z\" ^^ xsd:dateTime && ?date <= \"1966-09-30T23:59:59Z\" ^^ xsd:dateTime )\n}", "paraphrases": ["List all items (like satellites or films) that had a significant event \u2014 such as launch, landing, or premiere \u2014 in September 1966.", "Which entities in Wikidata have a recorded date in September 1966 for events like spacecraft launch, service entry, or first performance?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P585> | <http://www.wikidata.org/prop/direct/P606> | <http://www.wikidata.org/prop/direct/P619> | <http://www.wikidata.org/prop/direct/P620> | <http://www.wikidata.org/prop/direct/P621> | <http://www.wikidata.org/prop/direct/P622> | <http://www.wikidata.org/prop/direct/P729> | <http://www.wikidata.org/prop/direct/P1191> ) ?var2 . FILTER ( ( ( ?var2 >= \"1966-09-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1966-09-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_4254", "question": "Items in Switzerland between latitudes 46 and 47 and longitudes 6 and 8 with images and Commons categories.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX geof: <http://www.opengis.net/def/function/geosparql/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?coord ?image ?commonsCategory WHERE {\n  ?item wdt:P625 ?coord .\n  BIND( geof:latitude ( ?coord ) AS ?lat ) BIND( geof:longitude ( ?coord ) AS ?lon ) FILTER ( ?lat >= 46 && ?lat <= 47 && ?lon >= 6 && ?lon <= 8 ) ?item rdfs:label ?itemLabel .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?item wdt:P373 ?commonsCategory .\n  }\n}\nLIMIT 3000", "paraphrases": ["What places in western Switzerland (between 46\u00b0N and 47\u00b0N, 6\u00b0E and 8\u00b0E) have images on Wikimedia Commons and associated Commons categories?", "List geographic items in the region around Fribourg and Bern with their labels, images, and Wikimedia Commons categories."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(7 46)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(7 47)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_4255", "question": "Websites and organizations with house numbers (P670) as main statements or references, along with their labels.", "sparql": "SELECT ?item ?itemLabel ?houseNumber ?statementType WHERE { { BIND(\"mainsnak\" AS ?statementType) . ?item (p:P670 / ps:P670) ?houseNumber . } UNION { BIND(\"reference\" AS ?statementType) . ?refStatement pr:P670 ?houseNumber . ?ref prov:wasDerivedFrom ?refStatement . ?item ?p ?ref . } OPTIONAL { ?item rdfs:label ?itemLabel . } } LIMIT 500", "paraphrases": ["Which websites or entities have a house number (P670) associated with them, either as a main statement or in a reference, and what are their labels?", "List all entities that have a house number (P670), indicating whether the number comes from a main statement or a reference, and include their labels if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ?var2 ?var3 WHERE { { BIND ( \"mainsnak\" AS ?var3 ). ?var1 ( <http://www.wikidata.org/prop/P670> / <http://www.wikidata.org/prop/statement/P670> ) ?var2 . } UNION { BIND ( \"reference\" AS ?var3 ). ?var4 <http://www.wikidata.org/prop/reference/P670> ?var2 . ?var5 <http://www.w3.org/ns/prov#wasDerivedFrom> ?var4 . ?var1 ?var6 ?var5 . } } LIMIT 500 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ca,oc,en\". } }"}}
{"id": "test_4256", "question": "What are the birth and death dates of William Proby, Lord Proby?", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { BIND( wd:Q8017103 AS ?person ) . ?person rdfs:label ?personLabel . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } FILTER(LANG(?personLabel) = \"en\")}", "paraphrases": ["Can you tell me when William Proby, Lord Proby was born and when he died?", "Who is William Proby, Lord Proby, and what are his birth and death dates?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q8017103> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4257", "question": "What are the birth and death dates of John Stewart-Murray, 7th Duke of Atholl?", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { wd:Q390569 rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") . OPTIONAL { wd:Q390569 wdt:P569 ?birthDate . } OPTIONAL { wd:Q390569 wdt:P570 ?deathDate . } }", "paraphrases": ["Birth and death dates of John Stewart-Murray, 7th Duke of Atholl.", "Can you tell me when John Stewart-Murray, 7th Duke of Atholl was born and when he died?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q390569> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4258", "question": "What are the birth and death dates of Marcus Holmes?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?name ?birthDate ?deathDate WHERE {\n  wd:Q18115352 rdfs:label ?name .\n  FILTER ( LANG( ?name ) = \"en\" ) OPTIONAL {\n    wd:Q18115352 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q18115352 wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["Can you tell me when Marcus Holmes was born and when he died?", "Show me the life span of the Canadian politician Marcus Holmes, including his birth and death years."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q18115352> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4259", "question": "What are the birth and death dates of Sir Peter Proby, 2nd Baronet?", "sparql": "SELECT ?name ?birthDate ?deathDate WHERE { wd:Q7528466 rdfs:label ?name . FILTER(LANG(?name) = \"en\") . OPTIONAL { wd:Q7528466 wdt:P569 ?birthDate . } OPTIONAL { wd:Q7528466 wdt:P570 ?deathDate . } }", "paraphrases": ["Can you tell me when Sir Peter Proby, 2nd Baronet was born and when he died?", "Provide the English name, date of birth, and date of death for the British baronet Sir Peter Proby, 2nd Baronet."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q7528466> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4260", "question": "What are the subclasses of artificial intelligence and their direct parent categories?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?subclass ?subclassLabel ?directParent WHERE {\n  ?subclass wdt:P279 * wd:Q11660 .\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER(LANG(?subclassLabel) = \"en\")\n  OPTIONAL {\n    ?subclass wdt:P279 ?directParent .\n  }\n}", "paraphrases": ["List all fields related to artificial intelligence and their immediate parent disciplines.", "Show me the hierarchy of AI subfields, including what each one is a subtype of."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P171> * <http://www.wikidata.org/entity/Q11660> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P171> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4261", "question": "German places in Germany ending in \"leben\" with their coordinates", "sparql": "SELECT ?place ?placeLabel ?coordinates WHERE { ?place wdt:P17 wd:Q183 . ?place rdfs:label ?placeLabel . ?place wdt:P625 ?coordinates . FILTER (LANG(?placeLabel) = \"de\") FILTER (REGEX(?placeLabel, \"leben$\")) }", "paraphrases": ["What are the German-language names and geographic coordinates of places in Germany whose names end in \"leben\"?", "Show me all locations in Germany with German names ending in \"leben\", along with their coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . FILTER ( ( ( LANG ( ?var1Label ) = \"de\" ) ) ) . FILTER ( ( REGEX ( ?var1Label , \"leben$\" ) ) ) . }"}}
{"id": "test_4262", "question": "All properties and values for Angela Merkel in Wikidata.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?value WHERE {\n  wd:Q567 ?property ?value .\n}", "paraphrases": ["What are all the properties and their values associated with Angela Merkel on Wikidata?", "Show me everything Wikidata knows about Angela Merkel."], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q567> ?var1 ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_4263", "question": "Paintings in the Nationalmuseum collection with images on Wikimedia Commons.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?painting ?paintingLabel ?image WHERE {\n  ?painting wdt:P31 wd:Q3305213 .\n  ?painting wdt:P18 ?image .\n  ?painting wdt:P195 wd:Q842858 .\n  ?painting rdfs:label ?paintingLabel .\n  FILTER ( LANG( ?paintingLabel ) = \"en\" )\n}\nLIMIT 50", "paraphrases": ["What are the English titles and images of paintings held by the National Museum of Sweden?", "Show me the names and images of all paintings in the Nationalmuseum collection."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P195> <http://www.wikidata.org/entity/Q842858> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 50"}}
{"id": "test_4264", "question": "People who died in the last three years with their death years.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?personLabel ( YEAR( ?deathDate ) AS ?yearOfDeath ) WHERE {\n  ?person wdt:P570 ?deathDate .\n  BIND( YEAR( NOW () ) - 3 AS ?threeYearsAgo ) .\n  FILTER ( YEAR( ?deathDate ) >= ?threeYearsAgo ) .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) .\n}\nLIMIT 10", "paraphrases": ["Who are some people that died in the past three years, and in which years did they die?", "List the names of people who died in the last three years along with the year of their death, in English."], "info": {"raw_sparql": "SELECT ?var1Label ( YEAR ( ?var2 ) AS ?var3 ) WHERE { BIND ( ( YEAR ( NOW ( ) ) +\"-3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var4 ). BIND ( MONTH ( NOW ( ) ) AS ?var5 ). BIND ( DAY ( NOW ( ) ) AS ?var6 ). ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . FILTER ( ( ( YEAR ( ?var2 ) >= ?var4 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10"}}
{"id": "test_4265", "question": "Coordinates of La Folliaz", "sparql": "SELECT ?coordinates WHERE { wd:Q70319 wdt:P625 ?coordinates .}", "paraphrases": ["What are the geographic coordinates of La Folliaz?", "Tell me the latitude and longitude of La Folliaz."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q70319> <http://www.wikidata.org/prop/direct/P625> ?var1 . }"}}
{"id": "test_4266", "question": "What are the geographic coordinates of Vaz/Obervaz, Switzerland?", "sparql": "SELECT ?coordinates WHERE { wd:Q64647 wdt:P625 ?coordinates .}", "paraphrases": ["Where is the municipality of Vaz/Obervaz located in terms of latitude and longitude?", "Can you provide the WKT coordinates for Vaz/Obervaz?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q64647> <http://www.wikidata.org/prop/direct/P625> ?var1 . }"}}
{"id": "test_4267", "question": "Coordinates of Lantsch/Lenz, Switzerland", "sparql": "SELECT ?coordinates WHERE { wd:Q65104 wdt:P625 ?coordinates .}", "paraphrases": ["What are the geographic coordinates of the municipality of Lantsch/Lenz in Switzerland?", "Please provide the latitude and longitude of Lantsch/Lenz."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q65104> <http://www.wikidata.org/prop/direct/P625> ?var1 . }"}}
{"id": "test_4268", "question": "What are the geographic coordinates of Spiez, Switzerland?", "sparql": "SELECT ?coordinates WHERE { wd:Q69484 wdt:P625 ?coordinates .}", "paraphrases": ["Where is Spiez located in terms of latitude and longitude?", "Can you tell me the GPS location of the municipality of Spiez?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q69484> <http://www.wikidata.org/prop/direct/P625> ?var1 . }"}}
{"id": "test_4269", "question": "What property is related to the melting point of a substance?", "sparql": "SELECT ?relatedProperty ?label ?description WHERE { ?relatedProperty wdt:P1659 wd:P2101 . ?relatedProperty rdf:type wikibase:Property . ?relatedProperty rdfs:label ?label . ?relatedProperty schema:description ?description . FILTER (LANG(?label) = \"en\") FILTER (LANG(?description) = \"en\") }", "paraphrases": ["Which property describes the temperature at which a liquid turns to gas, and is linked to the melting point property in Wikidata?", "Show me the English label and description of the property that is marked as related to melting point (P2101) in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P2101> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . }"}}
{"id": "test_4270", "question": "Coordinates of Zufikon, Switzerland", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?coordinates WHERE {\n  wd:Q64221 wdt:P625 ?coordinates ; wdt:P31 wd:Q70208 .\n}", "paraphrases": ["What are the geographic coordinates of Zufikon, which is a municipality in Switzerland?", "Please provide the latitude and longitude of Zufikon, confirming it is a Swiss municipality."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q64221> <http://www.wikidata.org/prop/direct/P625> ?var1 ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q70208> . }"}}
{"id": "test_4271", "question": "What are 11 items that have a recorded volume?", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P2234 ?volume . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } LIMIT 11", "paraphrases": ["Can you list the English names of up to 11 entities that have a volume measurement?", "Which dams, reservoirs, or containers have a specified volume in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2234> _:bnode . } LIMIT 11 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4272", "question": "Japanese cricketers with English names", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?cricketer ?name WHERE {\n  ?cricketer wdt:P106 wd:Q12299841 .\n  ?cricketer wdt:P27 wd:Q17 .\n  ?cricketer rdfs:label ?name .\n  FILTER ( LANG( ?name ) = \"en\" )\n}\nORDER BY ?name", "paraphrases": ["Who are the Japanese cricketers whose names are available in English?", "List the English names of all cricketers from Japan."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q12299841> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q17> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . } ORDER BY ASC( ?var1 )"}}
{"id": "test_4273", "question": "Canadian boxers", "sparql": "SELECT ?boxer ?name WHERE { ?boxer wdt:P106 wd:Q11338576 . ?boxer wdt:P27 wd:Q16 . ?boxer rdfs:label ?name . FILTER (LANG(?name) = \"en\") } ORDER BY ?name", "paraphrases": ["Who are the Canadian boxers?", "List the names of all boxers who are citizens of Canada, in alphabetical order."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q11338576> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q16> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . } ORDER BY ASC( ?var1 )"}}
{"id": "test_4274", "question": "What are the most common properties associated with Duleek, Ireland, and how many times are they used?", "sparql": "SELECT ?property ?propertyLabel ( COUNT( ?item ) AS ?count ) WHERE { { ?item schema:about wd:Q765703 . BIND( schema:about AS ?property ) BIND( \"about\" AS ?propertyLabel ) } UNION { ?item ?property wd:Q765703 . BIND( SUBSTR( STR(?property), STRLEN(\"http://www.wikidata.org/prop/\") + 1 ) AS ?propPath ) BIND( SUBSTR( ?propPath, STRLEN( STRBEFORE( ?propPath, \"/\" ) ) + 2 ) AS ?propId ) BIND( IRI( CONCAT( \"http://www.wikidata.org/entity/\", ?propId ) ) AS ?propertyEntity ) ?propertyEntity rdfs:label ?propertyLabel . FILTER( LANG(?propertyLabel) = \"en\" ) } } GROUP BY ?property ?propertyLabel HAVING ( ?count > 1 ) ORDER BY DESC( ?count )", "paraphrases": ["Which properties connect other entities to Duleek, and how many connections does each have, excluding those used only once?", "For the town of Duleek, which relationships (like place of birth or location) are most frequently cited in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q765703> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_4275", "question": "When was the movie Finding Nemo released?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?publicationDate WHERE {\n  wd:Q132863 wdt:P577 ?publicationDate .\n}", "paraphrases": ["What is the publication date of the animated film Finding Nemo?", "Can you tell me the release date of Finding Nemo?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { { <http://www.wikidata.org/wiki/Q132863> <http://www.wikidata.org/prop/direct/P577> ?var1 . } }"}}
{"id": "test_4276", "question": "What film has the IMDb ID tt4118606?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie WHERE {\n  ?movie wdt:P345 \"tt4118606\" .\n}", "paraphrases": ["Which Wikidata item corresponds to the IMDb identifier tt4118606?", "Find the movie in Wikidata that is identified by the IMDb ID tt4118606."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt4118606\". } ORDER BY ASC( ?var1 )"}}
{"id": "test_4277", "question": "What Wikidata item has the IMDb ID tt5247704?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P345 \"tt5247704\" .\n}\nORDER BY ASC(?item)", "paraphrases": ["Which movie in Wikidata is associated with the IMDb identifier tt5247704?", "Find the Wikidata entity for the movie with IMDb ID tt5247704."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5247704\". } ORDER BY ASC( ?var1 )"}}
{"id": "test_4278", "question": "What properties are used to classify performance works, and which qualifiers are associated with them?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?class ?statement ?property ( SAMPLE( ?qualifierProperty ) AS ?sampleQualifierProperty ) WHERE {\n  {\n    SELECT ?class ?statement ?property WHERE {\n      ?statement ?statementProperty wd:Q17538722 .\n      ?class ?claimProperty ?statement .\n      ?property wikibase:statementProperty ?statementProperty ; wikibase:claim ?claimProperty .\n      FILTER ( ?property != wd:P31 )\n    }\n  }\n  OPTIONAL {\n    ?property wikibase:qualifier ?qualifierProperty .\n  }\n}\nGROUP BY ?class ?statement ?property", "paraphrases": ["For each type of performance work, which classification properties (like subclass of or has part) are used, and do they have any qualifiers such as \"of\" or \"uses\"?", "Can you show me the relationships and qualifiers used in statements about performance works, excluding direct \"instance of\" links?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q17538722> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_4279", "question": "Who are the people associated with Osaka University, and how are they related?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?property WHERE {\n  ?person ?property wd:Q651233 .\n  ?person wdt:P31 wd:Q5 .\n  VALUES ?property {\n    wdt:P69 wdt:P108 wdt:P463 wdt:P488\n  }\n}\nLIMIT 100", "paraphrases": ["List the alumni and employees of Osaka University along with the type of association.", "Which humans have a connection to Osaka University through education, employment, or membership?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q651233> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q859965> . } LIMIT 100"}}
{"id": "test_4280", "question": "Items in the Welsh Landscape Collection with images, showing their creators, publishers, and artists they were based on.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?inceptionDate ?creator ?afterWorkBy ?publisher WHERE {\n  ?item wdt:P361 wd:Q21542493 .\n  OPTIONAL {\n    ?item wdt:P571 ?inceptionDate .\n  }\n  OPTIONAL {\n    ?item wdt:P170 ?creator .\n  }\n  OPTIONAL {\n    ?item wdt:P1877 ?afterWorkBy .\n  }\n  OPTIONAL {\n    ?item wdt:P123 ?publisher .\n  }\n  ?item wdt:P18 ?image .\n}\nLIMIT 100", "paraphrases": ["What are the creators, publishers, and source artists of items in the Welsh Landscape Collection that have images on Wikimedia Commons?", "List the inception dates, creators, after-work-by artists, and publishers of all items in the Welsh Landscape Collection that have associated images, excluding anonymous publishers."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var3Label ?var4 ?var4Label ?var5 ?var5Label WHERE { ?var6 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q21542493> . MINUS { ?var6 <http://www.wikidata.org/prop/direct/P123> <http://www.wikidata.org/entity/Q257086> . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/direct/P571> ?var1 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/direct/P170> ?var3 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/direct/P123> ?var5 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/direct/P1877> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var6 <http://www.wikidata.org/prop/direct/P18> ?var7 . }"}}
{"id": "test_4281", "question": "Biblical figures identified as the same person by Rashi", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pr: <http://www.wikidata.org/prop/reference/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX prov: <http://www.w3.org/ns/prov#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item1 ?item1Label ?item2 ?item2Label WHERE {\n  ?item1 p:P460 ?statement .\n  ?statement ps:P460 ?item2 .\n  ?statement prov:wasDerivedFrom / pr:P248 ?source .\n  ?source wdt:P50 wd:Q26456 .\n  ?item1 rdfs:label ?item1Label .\n  ?item2 rdfs:label ?item2Label .\n  FILTER(LANG(?item1Label) = \"en\")\n  FILTER(LANG(?item2Label) = \"en\")\n}", "paraphrases": ["Which pairs of biblical characters did Rashi equate in his commentaries?", "Show me the names of people that Rashi said were the same person, along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { { ?var1 <http://www.wikidata.org/prop/P460> [ <http://www.wikidata.org/prop/statement/P460> [] ; ( <http://www.w3.org/ns/prov#wasDerivedFrom> / <http://www.wikidata.org/prop/reference/P248> ) ?var2 ] . } UNION { ?var1 <http://www.wikidata.org/prop/P460> [ <http://www.wikidata.org/prop/statement/P460> ?var2 ; ( <http://www.w3.org/ns/prov#wasDerivedFrom> / <http://www.wikidata.org/prop/reference/P248> / <http://www.wikidata.org/prop/direct/P50> ) <http://www.wikidata.org/entity/Q26456> ] . FILTER ( ( NOT EXISTS { ?var1 <http://wikiba.se/ontology#sitelinks> ?var3 . ?var2 <http://wikiba.se/ontology#sitelinks> ?var4 . FILTER ( ( ( ?var3 > ?var4 ) ) ) . } ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_4282", "question": "Islands in Indonesia and their labels", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?island ?islandLabel ?countryLabel WHERE {\n  ?island wdt:P31 wd:Q23442 ; wdt:P131 wd:Q252 .\n  ?island rdfs:label ?islandLabel .\n  wd:Q252 rdfs:label ?countryLabel .\n  FILTER(LANG(?islandLabel) = \"en\")\n  FILTER(LANG(?countryLabel) = \"en\")\n}", "paraphrases": ["What are the names of islands located in Indonesia?", "List all islands in Indonesia along with the country name."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3Label WHERE { { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q23442> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P279> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q1434505> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"id,en\". } }"}}
{"id": "test_4283", "question": "Japanese word \"\u56fd\" in Wikidata", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?item WHERE {\n  ?item rdfs:label \"\u56fd\" @ja .\n}\nLIMIT 100", "paraphrases": ["What items in Wikidata have the Japanese label \"\u56fd\"?", "Show me all entities, lexemes, or properties in Wikidata that are labeled \"\u56fd\" in Japanese."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"\u56fd\"@ja . } LIMIT 100"}}
{"id": "test_4284", "question": "Isotopologues of 2,3,7,8-tetrachlorodibenzo-p-dioxin with CAS, ChemSpider, and PubChem IDs", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?compound ?compoundLabel ?inchikey ?cas ?chemspider ?pubchem WHERE {\n  wd:Q52822 wdt:P235 ?originalInChIKey .\n  ?compound wdt:P235 ?inchikey .\n  OPTIONAL {\n    ?compound wdt:P231 ?cas .\n  }\n  OPTIONAL {\n    ?compound wdt:P661 ?chemspider .\n  }\n  OPTIONAL {\n    ?compound wdt:P662 ?pubchem .\n  }\n  BIND( SUBSTR( ?originalInChIKey , 1 , 14 ) AS ?prefix ) FILTER ( STRSTARTS( ?inchikey , CONCAT ( ?prefix , \"-\" ) ) ) ?compound rdfs:label ?compoundLabel .\n  FILTER ( LANG( ?compoundLabel ) = \"en\" )\n}", "paraphrases": ["What are the isotopically labeled variants of 2,3,7,8-TCDD and their chemical identifiers?", "List all chemical compounds with the same structural backbone as 2,3,7,8-tetrachlorodibenzo-p-dioxin, including their CAS numbers, ChemSpider IDs, and PubChem IDs."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { <http://www.wikidata.org/entity/Q52822> <http://www.wikidata.org/prop/direct/P235> ?var6 . ?var1 <http://www.wikidata.org/prop/direct/P235> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P231> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P661> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P662> ?var5 . } FILTER ( ( REGEX ( STR ( ?var2 ) , CONCAT ( \"^\", SUBSTR ( ?var6 ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"14\"^^<http://www.w3.org/2001/XMLSchema#integer> ) , \"-\" ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4285", "question": "What are all the prefectures of Japan and their names in different languages?", "sparql": "SELECT ?prefecture ?label WHERE { ?prefecture wdt:P31 wd:Q50337 . ?prefecture rdfs:label ?label . }", "paraphrases": ["Show me the labels (names) of all Japanese prefectures in every language they are available in.", "List the administrative divisions of Japan known as prefectures along with their translations in various languages."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q50337> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } LIMIT 47"}}
{"id": "test_4286", "question": "What species in the Asterales order are known as Topinambur?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?species ?label WHERE {\n  ?species wdt:P105 wd:Q7432 .\n  ?species wdt:P171 + wd:Q21730 .\n  ?species rdfs:label ?label .\n  FILTER(STR(?label) = \"Topinambur\")\n}\nLIMIT 10", "paraphrases": ["Which plant species, classified under Asterales, have \"Topinambur\" as one of their common names?", "List all species in the Asterales taxonomic lineage that are labeled \"Topinambur\" in any language."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P105> <http://www.wikidata.org/entity/Q7432> . ?var1 <http://www.wikidata.org/prop/direct/P171> + <http://www.wikidata.org/entity/Q21730> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( STR ( ?var2Label ) = \"Topinambur\" ) ) ) . } LIMIT 10"}}
{"id": "test_4287", "question": "People who are politicians or hold the position of politician", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P31 wd:Q5 . { ?person wdt:P39 wd:Q82955 . } UNION { ?person wdt:P31 wd:Q82955 . } ?person rdfs:label ?personLabel . } LIMIT 10", "paraphrases": ["Who are the human individuals classified as politicians or who have held the position of politician?", "List up to 10 human politicians, including those who are classified as politicians or have held the position of politician."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q82955> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q82955> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 10"}}
{"id": "test_4288", "question": "Athletes representing Iran in sports and their representation time periods.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?person ?statement(SAMPLE(?qualifier) AS ?qualifierType) WHERE {\n  ?person p:P1532 ?statement .\n  ?statement ps:P1532 wd:Q794 .\n  OPTIONAL {\n    ?statement ?qualifier ?value .\n    FILTER(?qualifier IN(pq:P580 , pq:P582))\n  }\n}\nGROUP BY ?person ?statement\nLIMIT 101", "paraphrases": ["Which athletes represent Iran in sports, and do any of their representations have a start or end date?", "Show me a list of Iranian sports representatives and indicate if their representation has a known start or end time."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P1532> <http://www.wikidata.org/entity/Q794> . ?var1 <http://www.wikidata.org/prop/P1532> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_4289", "question": "Items with statements applying to France and their qualifiers", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?statement(SAMPLE(?qualifierValue) AS ?qualifierValueSample) WHERE {\n  ?item p:P1001 ?statement .\n  ?statement ps:P1001 wd:Q142 .\n  OPTIONAL {\n    ?statement ?qualifier ?qualifierValue .\n    ?qualifier wikibase:qualifierFor wdt:P1001 .\n  }\n}\nGROUP BY ?item ?statement\nLIMIT 101", "paraphrases": ["What items have legal or regulatory statements that apply to France, and what additional details (qualifiers) are attached to those statements?", "List all items that have statements specifying France as the jurisdiction, along with any associated qualifier values, even if empty."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P1001> <http://www.wikidata.org/entity/Q142> . ?var1 <http://www.wikidata.org/prop/P1001> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_4290", "question": "List all association football players and their English names.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?player ?playerLabel WHERE {\n  ?player wdt:P106 wd:Q937857 .\n  OPTIONAL {\n    ?player rdfs:label ?playerLabel .\n    FILTER(LANG(?playerLabel) = \"en\")\n  }\n}\nLIMIT 100000", "paraphrases": ["Who are the people whose occupation is association football player, and what are their names in English?", "Please provide a list of all footballers (association football players) with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q937857> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100000"}}
{"id": "test_4291", "question": "List the French legislative terms of the Fifth Republic in descending order of start date, with their ordinal numbers, start times, and end times.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?legislature ?ordinal ?start ?end WHERE {\n  ?legislature wdt:P361 wd:Q200686 ; wdt:P580 ?start .\n  OPTIONAL {\n    ?legislature wdt:P582 ?end .\n  }\n  .\n  ?legislature rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  .\n  BIND(REPLACE(?label , \"^(\\\\d+)(st|nd|rd|th) legislature of the Fifth French Republic$\" , \"$1\") AS ?ordinalStr)\n  .\n  BIND(xsd:integer(?ordinalStr) AS ?ordinal)\n}\nORDER BY DESC(?start)", "paraphrases": ["What are the numbered legislative terms of the French Fifth Republic, and when did each begin and end?", "Show me the 1st through 16th legislatures of the French Fifth Republic, ordered from most recent to oldest, including their start and end dates."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . ?var5 <http://www.wikidata.org/prop/qualifier/P1545> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q200686> . ?var1 <http://www.wikidata.org/prop/direct/P580> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P582> ?var4 . } } ORDER BY DESC( ?var3 )"}}
{"id": "test_4292", "question": "Christian organizations listed on Wikidata", "sparql": "SELECT ?organization WHERE { ?organization wdt:P31 wd:Q94670589 . } LIMIT 20", "paraphrases": ["What are some organizations associated with Christianity?", "List 20 Christian organizations from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q106039> . } LIMIT 20"}}
{"id": "test_4293", "question": "What are some examples of biological taxa and their English names?", "sparql": "SELECT ?var1 ?label WHERE { ?var1 wdt:P31 wd:Q16521 . ?var1 rdfs:label ?label . FILTER(LANG(?label) = \"en\") } LIMIT 100", "paraphrases": ["Can you list 100 taxonomic units in biology along with their English labels?", "Show me 100 species or groups of organisms classified as taxa in Wikidata, with their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16521> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_4294", "question": "Scholarly articles and their publication dates", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?article ?articleLabel ?publicationDate WHERE {\n  ?article wdt:P31 wd:Q13442814 .\n  ?article wdt:P577 ?publicationDate .\n  OPTIONAL {\n    ?article rdfs:label ?articleLabel .\n    FILTER ( LANG( ?articleLabel ) = \"en\" )\n  }\n}\nLIMIT 100", "paraphrases": ["What are some scholarly articles and when were they published?", "List scholarly articles along with their publication dates."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13442814> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1361758> . } LIMIT 100"}}
{"id": "test_4295", "question": "What Wikidata item has the IMDb ID tt5308322?", "sparql": "SELECT ?movie WHERE { ?movie wdt:P345 \"tt5308322\" . }", "paraphrases": ["Which movie is identified by the IMDb ID tt5308322?", "Can you tell me the title of the movie with IMDb ID tt5308322?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5308322\". } ORDER BY ASC( ?var1 )"}}
{"id": "test_4296", "question": "What are the areas and Swedish codes of all minor localities in Sweden?", "sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4Label WHERE { ?var1 wdt:P31 wd:Q14839548 . ?var1 wdt:P776 ?var2 . ?var1 p:P2046 ?stmt . ?stmt psv:P2046 ?valueNode . ?valueNode wikibase:quantityAmount ?var3 . ?valueNode wikibase:quantityUnit ?var4 . ?var1 rdfs:label ?var1Label . ?var4 rdfs:label ?var4Label . FILTER(LANG(?var1Label) = \"en\") FILTER(LANG(?var4Label) = \"en\") }", "paraphrases": ["Can you list the English names of Swedish minor localities, their unique area codes, the size of each in hectares or square kilometers, and the unit used?", "Show me the area measurements (with units) and Swedish urban codes for every small settlement in Sweden classified as a sm\u00e5ort."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q14839548> . ?var1 <http://www.wikidata.org/prop/direct/P776> ?var2 . ?var1 <http://www.wikidata.org/prop/P2046> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/value/P2043> ?var6 . ?var6 <http://wikiba.se/ontology#quantityAmount> ?var3 . ?var6 <http://wikiba.se/ontology#quantityUnit> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv,en\". } }"}}
{"id": "test_4297", "question": "What is the birthplace, date of birth, father, and mother of Amnon, the biblical son of King David?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?birthPlace ?birthPlaceLabel ?birthDate ?fatherLabel ?motherLabel WHERE {\n  wd:Q361636 wdt:P19 ?birthPlace .\n  ?birthPlace rdfs:label ?birthPlaceLabel .\n  OPTIONAL {\n    wd:Q361636 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q361636 wdt:P22 ?father .\n    ?father rdfs:label ?fatherLabel .\n    FILTER(LANG(?fatherLabel) = \"en\")\n  }\n  OPTIONAL {\n    wd:Q361636 wdt:P25 ?mother .\n    ?mother rdfs:label ?motherLabel .\n    FILTER(LANG(?motherLabel) = \"en\")\n  }\n  FILTER(LANG(?birthPlaceLabel) = \"en\")\n}\nLIMIT 10", "paraphrases": ["Birthplace, birth date, father, and mother of Amnon (son of David) in the Bible.", "Can you tell me where Amnon was born, when he was born, and who his parents were according to biblical records?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { <http://www.wikidata.org/entity/Q361636> <http://www.wikidata.org/prop/direct/P19> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . OPTIONAL { <http://www.wikidata.org/entity/Q361636> <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q361636> <http://www.wikidata.org/prop/direct/P22> ?var6 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q361636> <http://www.wikidata.org/prop/direct/P25> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . } FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } LIMIT 10"}}
{"id": "test_4298", "question": "Companies in the industry sector", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?company ?companyLabel WHERE {\n  ?company wdt:P452 wd:Q268592 .\n  ?company rdfs:label ?companyLabel .\n  FILTER ( LANG( ?companyLabel ) = 'en' )\n}\nLIMIT 101", "paraphrases": ["Which companies operate in the industry sector?", "List up to 100 companies that are classified under the industry sector."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P452> <http://www.wikidata.org/entity/Q5200157> . ?var1 <http://www.wikidata.org/prop/P452> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_4299", "question": "What software systems use a graphical user interface as their input device, and what are their images?", "sparql": "SELECT ?software ?label ?image WHERE { ?software wdt:P479 wd:Q782543 . OPTIONAL { ?software wdt:P18 ?image . } ?software rdfs:label ?label . FILTER(LANG(?label) = \"en\") } LIMIT 100", "paraphrases": ["Can you list programs that rely on GUI for interaction, along with their English names and any available images?", "Show me software that has a graphical user interface as an input method, including their labels and Wikimedia Commons images if they exist."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P479> <http://www.wikidata.org/entity/Q782543> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_4300", "question": "What properties are used in statements about doughnut-related entities, excluding 'instance of'?", "sparql": "SELECT ?item ?statement ?property WHERE { ?statement ?prop wd:Q192783 . ?item ?claim ?statement . ?property wikibase:statementProperty ?prop . ?property wikibase:claim ?claim . FILTER (?property != wd:P31) } LIMIT 101", "paraphrases": ["Which entities are connected to doughnut through statements, and what properties describe those relationships?", "Show me all the statements (excluding 'instance of') that link doughnut to other items like brands or variants, along with the properties used."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q192783> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_4301", "question": "Who are some humans whose occupation is an artist or a subtype of artist, such as musician or painter?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person ?personLabel WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P106 / wdt:P279 * wd:Q483501 .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}\nLIMIT 10", "paraphrases": ["List English-labeled people who work as artists or in artistic professions.", "Show me people identified as artists or any of their subclasses in Wikidata, with their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q483501> . ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q483501> . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . }"}}
{"id": "test_4302", "question": "What images are associated with Debra Mesch, including those from her academic works or related institutions?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?image WHERE {\n  {\n    wd:Q33104309 wdt:P18 ?image .\n  } UNION {\n    wd:Q33104309 ?property ?entity .\n    ?entity wdt:P18 ?image .\n    FILTER ( ?entity != wd:Q5 )\n  } UNION {\n    ?work wdt:P50 wd:Q33104309 .\n    {\n      ?work wdt:P921 ?subject .\n      ?subject wdt:P18 ?image .\n    } UNION {\n      ?otherAuthor wdt:P50 ?work .\n      ?otherAuthor wdt:P18 ?image .\n    }\n  }\n}", "paraphrases": ["Show all Wikimedia Commons images linked to Debra Mesch either directly, through her research topics, or through co-authors of her publications.", "Find pictures of universities, symbols, or themes connected to Debra Mesch\u2019s scholarly work, excluding portraits of other people."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { <http://www.wikidata.org/entity/Q33104309> <http://www.wikidata.org/prop/direct/P18> ?var1 . } UNION { <http://www.wikidata.org/entity/Q33104309> ?var2 ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P18> ?var1 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/Q5> ) ) ) . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q33104309> . { ?var4 <http://www.wikidata.org/prop/direct/P921> [ <http://www.wikidata.org/prop/direct/P18> ?var1 ] . } UNION { ?var5 <http://www.wikidata.org/prop/direct/P50> ?var4 . ?var5 <http://www.wikidata.org/prop/direct/P18> ?var1 . } } }"}}
{"id": "test_4303", "question": "Czech municipalities with earliest written records before 984 CE and their coordinates.", "sparql": "SELECT DISTINCT ?municipality ?coordinates ?municipalityLabel WHERE { ?municipality wdt:P31 wd:Q5153359 . ?municipality wdt:P1249 ?earliestRecord . BIND(YEAR(?earliestRecord) AS ?year) ?municipality wdt:P625 ?coordinates . FILTER(?year < 984) ?municipality rdfs:label ?municipalityLabel . FILTER(LANG(?municipalityLabel) = \"en\") }", "paraphrases": ["Which municipalities in the Czech Republic were first mentioned in writing before the year 984, and where are they located?", "List the English names, geographic coordinates, and earliest written records (before 984) of all municipalities in the Czech Republic that appear in historical documents from that time."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var1Label WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5153359> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P2788> [] . } BIND ( YEAR ( ?var3 ) AS ?var4 ). ?var1 <http://www.wikidata.org/prop/direct/P1249> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . FILTER ( ( ( ?var4 < \"984\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } }"}}
{"id": "test_4304", "question": "Czech municipalities with earliest written records before 1018 and their coordinates", "sparql": "SELECT DISTINCT ?municipality ?coordinate ?municipalityLabel WHERE { ?municipality wdt:P31 wd:Q5153359 ; wdt:P1249 ?date ; wdt:P625 ?coordinate . BIND(YEAR(?date) AS ?year) FILTER(?year < 1018) . ?municipality rdfs:label ?municipalityLabel . FILTER(LANG(?municipalityLabel) = \"en\") }", "paraphrases": ["Which municipalities in the Czech Republic were first mentioned in writing before the year 1018, and where are they located?", "List the English names, locations, and earliest written records of Czech municipalities that existed before 1018."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var1Label WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5153359> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P2788> [] . } BIND ( YEAR ( ?var3 ) AS ?var4 ). ?var1 <http://www.wikidata.org/prop/direct/P1249> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . FILTER ( ( ( ?var4 < \"1018\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } }"}}
{"id": "test_4305", "question": "Czech municipalities with earliest written record before 1304 and their coordinates", "sparql": "SELECT DISTINCT ?municipality ?coordinate ?year ?municipalityLabel WHERE { ?municipality wdt:P31 wd:Q5153359 . ?municipality wdt:P1249 ?date . BIND(YEAR(?date) AS ?year) . ?municipality wdt:P625 ?coordinate . ?municipality rdfs:label ?municipalityLabel . FILTER(LANG(?municipalityLabel) = 'en') . FILTER(?year < 1304) }", "paraphrases": ["Which municipalities in the Czech Republic were first mentioned in writing before the year 1304, and where are they located?", "Show me the names, coordinates, and years of the earliest written records for Czech municipalities that were first documented before 1304."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var1Label WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5153359> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P2788> [] . } BIND ( YEAR ( ?var3 ) AS ?var4 ). ?var1 <http://www.wikidata.org/prop/direct/P1249> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . FILTER ( ( ( ?var4 < \"1304\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } }"}}
{"id": "test_4306", "question": "Czech municipalities with earliest written record before 1317 and their coordinates", "sparql": "SELECT DISTINCT ?municipality ?coord WHERE { ?municipality wdt:P31 wd:Q5153359 ; wdt:P1249 ?date ; wdt:P625 ?coord . FILTER(YEAR(?date) < 1317) }", "paraphrases": ["Which municipalities in the Czech Republic were first mentioned in writing before 1317, and where are they located?", "List all Czech municipalities established before 1317 along with their geographic coordinates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var1Label WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5153359> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P2788> [] . } BIND ( YEAR ( ?var3 ) AS ?var4 ). ?var1 <http://www.wikidata.org/prop/direct/P1249> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . FILTER ( ( ( ?var4 < \"1317\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } }"}}
{"id": "test_4307", "question": "Czech municipalities with earliest written records before 1418 and their coordinates", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?var1 ?var2 ?var1Label WHERE {\n  {\n    ?var1 wdt:P31 wd:Q5153359 .\n  } UNION {\n    ?var1 wdt:P2788 [] .\n  }\n  ?var1 wdt:P1249 ?var3 .\n  BIND(YEAR(?var3) AS ?var4)\n  ?var1 wdt:P625 ?var2 .\n  FILTER(?var4 < 1418)\n  ?var1 rdfs:label ?var1Label .\n  FILTER(LANG(?var1Label) = \"en\")\n}", "paraphrases": ["Which municipalities in the Czech Republic were first mentioned in writing before 1418, and where are they located?", "List the English names and geographic coordinates of Czech municipalities that have a documented first written record prior to 1418."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var1Label WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5153359> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P2788> [] . } BIND ( YEAR ( ?var3 ) AS ?var4 ). ?var1 <http://www.wikidata.org/prop/direct/P1249> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . FILTER ( ( ( ?var4 < \"1418\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } }"}}
{"id": "test_4308", "question": "Czech municipalities with earliest written record before 1458 and their coordinates", "sparql": "SELECT DISTINCT ?municipality ?coord ?label WHERE { { ?municipality wdt:P31 wd:Q5153359 . } UNION { ?municipality wdt:P2788 [] . } ?municipality wdt:P1249 ?date . ?municipality wdt:P625 ?coord . BIND(YEAR(?date) AS ?year) FILTER(?year < 1458) ?municipality rdfs:label ?label . FILTER(LANG(?label) = 'en') }", "paraphrases": ["Which municipalities in the Czech Republic were first mentioned in writing before 1458, and where are they located?", "List the English names and geographic coordinates of Czech towns or neighborhoods that have a documented written record from before 1458."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var1Label WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5153359> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P2788> [] . } BIND ( YEAR ( ?var3 ) AS ?var4 ). ?var1 <http://www.wikidata.org/prop/direct/P1249> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . FILTER ( ( ( ?var4 < \"1458\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } }"}}
{"id": "test_4309", "question": "What are the notable buildings and sites in Sydney with known architectural styles, architects, heritage status, or images?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT DISTINCT ?item ?itemLabel ?coord ?image ?instance ?archStyle ?architect ?heritage WHERE {\n  ?item wdt:P131 * wd:Q1094194 .\n  ?item wdt:P625 ?coord .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?item wdt:P31 ?instance .\n  }\n  OPTIONAL {\n    ?item wdt:P149 ?archStyle .\n  }\n  OPTIONAL {\n    ?item wdt:P84 ?architect .\n  }\n  OPTIONAL {\n    ?item p:P1435 ?heritage .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" ) FILTER ( BOUND( ?image ) || BOUND( ?heritage ) || BOUND( ?archStyle ) || BOUND( ?architect ) )\n}\nORDER BY ASC ( ?itemLabel )", "paraphrases": ["List landmarks in Sydney along with their coordinates, type, architect, architectural style, and heritage designation \u2014 show only those with at least one of these details.", "Show me places in Sydney that have an image, heritage listing, architect, or architectural style, including their English names and locations."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ( SAMPLE ( ?var2 ) AS ?var2 )( SAMPLE ( ?var2Label ) AS ?var2Label )( SAMPLE ( ?var3 ) AS ?var3 )( SAMPLE ( ?var4 ) AS ?var4 ) ?var5 ?var5Label ?var6 ?var6Label ?var7 ?var7Label WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var2 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q1094194> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . ?var1 <http://www.wikidata.org/prop/P1435> ?var8 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . } OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( LANG ( ?var2Label ) IN ( \"en\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P149> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P84> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,pl,ru\". } } GROUP BY ?var1 ?var1Label ?var5 ?var5Label ?var6 ?var6Label ?var7 ?var7Label ORDER BY ASC( ?var1Label )"}}
{"id": "test_4310", "question": "Czech municipalities with earliest written records before 1701 and their coordinates", "sparql": "SELECT DISTINCT ?municipality ?coordinates ?municipalityLabel WHERE { ?municipality wdt:P31 wd:Q5153359 ; wdt:P1249 ?date ; wdt:P625 ?coordinates . BIND(YEAR(?date) AS ?year) FILTER(?year < 1701) ?municipality rdfs:label ?municipalityLabel . FILTER(LANG(?municipalityLabel) = \"en\") }", "paraphrases": ["Which municipalities in the Czech Republic were first recorded in writing before 1701, and where are they located?", "List the English names, coordinates, and earliest written records (before 1701) of Czech municipalities."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var1Label WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5153359> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P2788> [] . } BIND ( YEAR ( ?var3 ) AS ?var4 ). ?var1 <http://www.wikidata.org/prop/direct/P1249> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . FILTER ( ( ( ?var4 < \"1701\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } }"}}
{"id": "test_4311", "question": "Image of the person with SNAC ARK ID w6s75mfj", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6s75mfj\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the Wikimedia Commons image of the individual identified by the SNAC ARK ID w6s75mfj?", "Show me the picture of the person whose SNAC ARK ID is w6s75mfj."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6s75mfj\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_4312", "question": "Tennis players with category topic qualifiers", "sparql": "SELECT ?player ?statement (SAMPLE(?qualifier) AS ?qualifierUsed)\nWHERE {\n  ?statement ps:P301 wd:Q10833314 .\n  ?player p:P301 ?statement .\n  OPTIONAL {\n    wd:P301 wikibase:qualifierProperty ?qualifier .\n    ?statement ?qualifier ?value .\n  }\n}\nGROUP BY ?player ?statement\nLIMIT 101", "paraphrases": ["Which tennis players have qualifiers on their Wikipedia category topic statements?", "List all tennis players and any qualifier properties used on their category topic statements."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P301> <http://www.wikidata.org/entity/Q10833314> . ?var1 <http://www.wikidata.org/prop/P301> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_4313", "question": "Coat of arms image of Sch\u00f6nenberg, Switzerland", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?coatOfArmsImage WHERE {\n  wd:Q67528 wdt:P94 ?coatOfArmsImage .\n}", "paraphrases": ["What is the coat of arms image for the village of Sch\u00f6nenberg in Zurich?", "Show me the Wikimedia Commons file that contains the coat of arms of Sch\u00f6nenberg, a former municipality in the canton of Zurich."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q67528> <http://www.wikidata.org/prop/direct/P94> ?var1 . }"}}
{"id": "test_4314", "question": "What is the coat of arms image for the Swiss municipality with code 5512?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?coatOfArms WHERE {\n  wd:Q52256 wdt:P94 ?coatOfArms .\n}", "paraphrases": ["Show the heraldic emblem of Bercher, Switzerland.", "What image represents the coat of arms of Bercher?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://classifications.data.admin.ch/municipality/5512> <http://www.wikidata.org/prop/direct/P94> ?var1 . }"}}
{"id": "test_4315", "question": "What is the coat of arms image of Bern, Switzerland?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?coatOfArms WHERE {\n  wd:Q11911 wdt:P94 ?coatOfArms .\n}", "paraphrases": ["Can you show me the heraldic emblem used by the city of Bern?", "What image represents the official coat of arms for the Swiss capital?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://classifications.data.admin.ch/municipality/928> <http://www.wikidata.org/prop/direct/P94> ?var1 . }"}}
{"id": "test_4316", "question": "What is the coat of arms image for Berken, Switzerland?", "sparql": "SELECT ?coatOfArmsImage WHERE { wd:Q67803 wdt:P94 ?coatOfArmsImage .}", "paraphrases": ["What image represents the coat of arms of the municipality of Berken?", "Can you show me the Wikimedia Commons file that contains the coat of arms of Berken?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q67803> <http://www.wikidata.org/prop/direct/P94> ?var1 . }"}}
{"id": "test_4317", "question": "What is the coat of arms image for Rumisberg?", "sparql": "SELECT ?coatOfArmsImage WHERE { wd:Q70290 wdt:P94 ?coatOfArmsImage .}", "paraphrases": ["What image represents the coat of arms of the Swiss municipality of Rumisberg?", "Can you show me the official coat of arms image of Rumisberg, a municipality in the canton of Bern, Switzerland?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q70290> <http://www.wikidata.org/prop/direct/P94> ?var1 . }"}}
{"id": "test_4318", "question": "Coat of arms image of Steinmaur, Switzerland", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?coatOfArmsImage WHERE {\n  wd:Q67887 wdt:P94 ?coatOfArmsImage ; wdt:P31 wd:Q70208 .\n}", "paraphrases": ["What is the coat of arms image of Steinmaur, a municipality in Switzerland?", "Show me the official coat of arms image for Steinmaur, which is classified as a municipality in the canton of Z\u00fcrich."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q67887> <http://www.wikidata.org/prop/direct/P94> ?var1 ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q70208> . }"}}
{"id": "test_4319", "question": "Coat of arms image of Buchrain, Switzerland", "sparql": "SELECT ?coatOfArmsImage WHERE { wd:Q7098 wdt:P94 ?coatOfArmsImage ; wdt:P31 wd:Q70208 .}", "paraphrases": ["What is the coat of arms image for the municipality of Buchrain in Switzerland?", "Show me the Wikimedia Commons image file that represents the coat of arms of Buchrain, which is a municipality in Switzerland."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q7098> <http://www.wikidata.org/prop/direct/P94> ?var1 ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q70208> . }"}}
{"id": "test_4320", "question": "What is the coat of arms image of Z\u00fcrich?", "sparql": "SELECT ?image WHERE { wd:Q72 wdt:P94 ?image ; wdt:P31 wd:Q70208 }", "paraphrases": ["Can you show me the official coat of arms for the city of Z\u00fcrich, Switzerland?", "Which image represents the heraldic emblem of Z\u00fcrich, a municipality in Switzerland?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://classifications.data.admin.ch/municipality/1082> <http://www.wikidata.org/prop/direct/P94> ?var1 ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q70208> . }"}}
{"id": "test_4321", "question": "Coat of arms image of Buchs, Z\u00fcrich", "sparql": "SELECT ?coatOfArmsImage WHERE { wd:Q67539 wdt:P94 ?coatOfArmsImage ; wdt:P31 wd:Q70208 . }", "paraphrases": ["What is the coat of arms of the Swiss municipality Buchs in the canton of Z\u00fcrich?", "Show me the image of the coat of arms for the Swiss municipality with code 114."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://classifications.data.admin.ch/municipality/114> <http://www.wikidata.org/prop/direct/P94> ?var1 ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q70208> . }"}}
{"id": "test_4322", "question": "What is the coat of arms image of Roggliswil?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?coatOfArmsImage WHERE {\n  wd:Q14616 wdt:P94 ?coatOfArmsImage ; wdt:P31 wd:Q70208 .\n}", "paraphrases": ["Coat of arms of Roggliswil, Switzerland", "Show me the image of Roggliswil\u2019s municipal coat of arms."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q14616> <http://www.wikidata.org/prop/direct/P94> ?var1 ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q70208> . }"}}
{"id": "test_4323", "question": "Bulgarian Wikipedia pages about places in the Czech Republic and their coordinates", "sparql": "SELECT ?placeLabel ?coordinates ?bg_wiki_page WHERE { ?place wdt:P17 wd:Q213 . ?place wdt:P625 ?coordinates . ?bg_wiki_page schema:about ?place ; schema:inLanguage \"bg\" . ?place rdfs:label ?placeLabel . FILTER(LANG(?placeLabel) = \"en\") } LIMIT 5000", "paraphrases": ["What are the names, coordinates, and Bulgarian Wikipedia links for locations in the Czech Republic?", "Show me the English names, geographic coordinates, and Bulgarian Wikipedia links for all places located in the Czech Republic."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q213> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> \"bg\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"bg,cs,en\". } } LIMIT 5000"}}
{"id": "test_4324", "question": "Cities in Romania excluding villages, with their counties and country.", "sparql": "SELECT DISTINCT ?city ?cityLabel ?countryLabel ?adminLabel ?constant WHERE { ?city (wdt:P31/wdt:P279*) wd:Q515 . ?city wdt:P17 ?country . ?city wdt:P131 ?admin . FILTER(?country = wd:Q218) MINUS { ?city (wdt:P31/wdt:P279*) wd:Q532 } ?city rdfs:label ?cityLabel . ?country rdfs:label ?countryLabel . ?admin rdfs:label ?adminLabel . FILTER(LANG(?cityLabel) = \"en\") FILTER(LANG(?countryLabel) = \"en\") FILTER(LANG(?adminLabel) = \"en\") BIND(\"1\" AS ?constant) } ORDER BY ASC(?city)", "paraphrases": ["What are the cities in Romania (not villages), and what counties are they in?", "List all cities in Romania, excluding villages, along with their administrative counties and confirm they are in Romania."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ( ?var1 AS ?var2 )( ?var3 AS ?var4 ) ?var3Label ?var5Label ( \"1\" AS ?var6 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q218> . MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q532> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ro\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_4325", "question": "Wikidata item for Taylor Swift's Wikipedia page", "sparql": "PREFIX schema: <http://schema.org/>\nSELECT ?item WHERE {\n  <https://en.wikipedia.org/wiki/Taylor_Swift> schema:about ?item .\n}", "paraphrases": ["What Wikidata item is linked to the English Wikipedia page about Taylor Swift?", "Return the Wikidata entity associated with the Wikipedia article on Taylor Swift."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <https://en.wikipedia.org/wiki/Taylor_Swift> <http://schema.org/about> ?var1 . }"}}
{"id": "test_4326", "question": "Swedish Film Database IDs and IMDb IDs for films, animated films, silent films, documentaries, TV films, musicals, and short films.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?sfdbId ?imdbId WHERE {\n  VALUES ?filmType {\n    wd:Q11424 wd:Q202866 wd:Q226730 wd:Q93204 wd:Q506240 wd:Q842256 wd:Q24862\n  }\n  ?film wdt:P31 ?filmType .\n  ?film wdt:P345 ?imdbId .\n  ?film wdt:P2334 ?sfdbId .\n}\nORDER BY ASC(?film) ASC(?filmType)", "paraphrases": ["What are the Swedish Film Database and IMDb identifiers for all films that are classified as animated, silent, documentary, television, musical, or short films?", "List all films (including animated, silent, documentary, TV, musical, and short films) that have both a Swedish Film Database ID and an IMDb ID, showing both identifiers."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q11424> ) ( <http://www.wikidata.org/entity/Q202866> ) ( <http://www.wikidata.org/entity/Q226730> ) ( <http://www.wikidata.org/entity/Q93204> ) ( <http://www.wikidata.org/entity/Q506240> ) ( <http://www.wikidata.org/entity/Q842256> ) ( <http://www.wikidata.org/entity/Q24862> ) } ?var4 <http://www.wikidata.org/prop/direct/P31> ?var3 . ?var4 <http://www.wikidata.org/prop/direct/P345> ?var2 . ?var4 <http://www.wikidata.org/prop/direct/P2334> ?var1 . } ORDER BY ASC( ?var4 )ASC( ?var3 )"}}
{"id": "test_4327", "question": "What are the editions of the It\u00e4-L\u00e4nsi, Finnish Cup, and Elite Games sports events?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?edition ?editionLabel WHERE {\n  VALUES ?series {\n    wd:Q11865368 wd:Q674734 wd:Q8159627\n  }\n  ?edition wdt:P179 ?series .\n  ?edition rdfs:label ?editionLabel .\n}", "paraphrases": ["Which individual events are part of the It\u00e4-L\u00e4nsi, Finnish Cup, or Elite Games series?", "List all the yearly instances of the It\u00e4-L\u00e4nsi, Finnish Cup, and Elite Games competitions."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q11865368> ) ( <http://www.wikidata.org/entity/Q674734> ) ( <http://www.wikidata.org/entity/Q8159627> ) } ?var1 <http://www.wikidata.org/prop/direct/P179> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fi,en\". } }"}}
{"id": "test_4328", "question": "Geographic hierarchy of Dreamland Margate including country, region, and continent.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?location WHERE {\n  wd:Q3039291 ( wdt:P30 | wdt:P17 | wdt:P131 ) * ?location .\n  FILTER ( ?location != wd:Q3039291 )\n}", "paraphrases": ["What countries, regions, and continents is Dreamland Margate located in?", "List all administrative and geographic areas that Dreamland Margate is part of, from local to continental level."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q3039291> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_4329", "question": "Scholarly articles with publication dates and retrieval dates", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?var1 ?var2 ?var3 WHERE {\n  ?var1 wdt:P31 wd:Q13442814 .\n  OPTIONAL {\n    ?var1 wdt:P571 ?var2 .\n  }\n  OPTIONAL {\n    ?var1 wdt:P813 ?var3 .\n  }\n}\nLIMIT 100", "paraphrases": ["What are scholarly articles and when were they published and retrieved?", "List scholarly articles along with their publication dates and the dates they were accessed."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13442814> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P813> ?var3 . } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11471> . } LIMIT 100"}}
{"id": "test_4330", "question": "What are the inverse property pairs in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?property ?inverseProperty WHERE {\n  ?property wdt:P1696 ?inverseProperty .\n  FILTER ( STRSTARTS( STR( ?property ) , \"http://www.wikidata.org/entity/P\" ) ) FILTER ( STRSTARTS( STR( ?inverseProperty ) , \"http://www.wikidata.org/entity/P\" ) )\n}", "paraphrases": ["Which properties in Wikidata have inverse relationships with other properties?", "List all pairs of properties where one is the inverse of the other, such as 'award received' and 'conferred by'."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1696> ?var2 . }"}}
{"id": "test_4331", "question": "What are some subclasses of gender?", "sparql": "SELECT ?subclass ?subclassLabel WHERE { ?subclass wdt:P279 wd:Q48277 . ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") } LIMIT 11", "paraphrases": ["Can you list the English names of categories that are types of gender?", "Show me examples of gender identities or roles recognized in Wikidata, such as non-binary or cisgender."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q48277> . } LIMIT 11 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4332", "question": "What type of entity is Coca-Cola, and what Wikipedia template is used for its article?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?typeLabel ?templateLabel WHERE {\n  wd:Q2813 wdt:P31 ?type .\n  wd:Q2813 wdt:P1424 ?template .\n  ?type rdfs:label ?typeLabel .\n  ?template rdfs:label ?templateLabel .\n  FILTER(LANG(?typeLabel) = \"en\")\n  FILTER(LANG(?templateLabel) = \"en\")\n}", "paraphrases": ["Can you tell me the class that Coca-Cola belongs to and the main template used in its Wikipedia infobox?", "Show me the category and Wikipedia template associated with Coca-Cola."], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q2813> <http://www.wikidata.org/prop/direct/P31> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1424> ?var2 . } }"}}
{"id": "test_4333", "question": "People who are male and their gender statement qualifiers", "sparql": "SELECT ?person ?statement (SAMPLE(?qualifierValue) AS ?qualifierExample) WHERE { ?person p:P21 ?statement . ?statement ps:P21 wd:Q6581097 . OPTIONAL { ?statement ?qualifierProperty ?qualifierValue . ?qualifierProperty wikibase:qualifier true . } } GROUP BY ?person ?statement LIMIT 10", "paraphrases": ["Who are some people identified as male on Wikidata, and what qualifiers are associated with their gender statements?", "List up to 10 people whose gender is male, along with any additional information (qualifiers) on their gender statements."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P106> <http://www.wikidata.org/entity/Q6581097> . ?var1 <http://www.wikidata.org/prop/P106> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_4334", "question": "What class is Coca-Cola an instance of, and what is the broader category that this class belongs to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?instanceClass ?superClass ?instanceClassLabel WHERE {\n  wd:Q2813 wdt:P31 ?instanceClass .\n  ?instanceClass wdt:P279 ?superClass .\n  ?instanceClass rdfs:label ?instanceClassLabel .\n  FILTER(LANG(?instanceClassLabel) = \"en\")\n}", "paraphrases": ["Coca-Cola\u2019s class and its superclass in Wikidata", "Show me the immediate class that Coca-Cola belongs to, along with the category above it in the hierarchy, and their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label WHERE { <http://www.wikidata.org/entity/Q2813> <http://www.wikidata.org/prop/direct/P31> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es\". } }"}}
{"id": "test_4335", "question": "What are all the different types of things that exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?type WHERE {\n  ?item wdt:P31 ?type .\n  FILTER(isIRI(?type))\n}", "paraphrases": ["List all the categories or classes that entities in Wikidata can belong to.", "Which Wikidata items are used to classify other entities as their instances?"], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { [ <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?var1 ] . }"}}
{"id": "test_4336", "question": "What are the birthplace coordinates, names, and awards of actors?", "sparql": "SELECT ?coord ?actorLabel ?awardLabel WHERE { ?actor wdt:P106 wd:Q33999 . ?actor wdt:P166 ?award . ?actor wdt:P19 ?birthPlace . ?birthPlace wdt:P625 ?coord . ?actor rdfs:label ?actorLabel . ?award rdfs:label ?awardLabel . FILTER(LANG(?actorLabel) = \"en\") FILTER(LANG(?awardLabel) = \"en\") }", "paraphrases": ["Can you list actors who have received awards, along with the geographic coordinates of their birthplaces and the names of the awards they won?", "Show me the birth locations (as coordinates), full names, and award names for all actors in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . ?var2 <http://www.wikidata.org/prop/direct/P166> ?var3 . ?var2 <http://www.wikidata.org/prop/direct/P19> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P625> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \",en\". } }"}}
{"id": "test_4337", "question": "Entities with a Turkish Wikipedia article", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P4656 ?url .\n  FILTER(STRSTARTS(?url , \"https://tr.wikipedia.org/\"))\n}\nLIMIT 1", "paraphrases": ["Which entities have a Wikipedia article in Turkish?", "Show me items that are linked to the Turkish Wikipedia."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q6100555> ; <http://schema.org/inLanguage> \"tr\"; <http://schema.org/isPartOf> ?var2 . ?var2 <http://wikiba.se/ontology#wikiGroup> \"string1\". } LIMIT 1"}}
{"id": "test_4338", "question": "Encyclopedia of Life IDs for biological taxa excluding direct instances of taxon.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?taxon WHERE {\n  ?taxon wdt:P830 [] . MINUS {\n    ?taxon wdt:P31 wd:Q16521\n  }\n}\nLIMIT 1000", "paraphrases": ["Which biological organisms have an Encyclopedia of Life ID but are not directly classified as a taxon?", "List up to 1,000 taxa with an Encyclopedia of Life ID that are not directly marked as instances of the taxon class."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P830> [] . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16521> . } } LIMIT 1000"}}
{"id": "test_4339", "question": "Area of Paris in square kilometers", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?area WHERE {\n  wd:Q90 wdt:P2046 ?area .\n}", "paraphrases": ["What is the area of Paris?", "Tell me the size of Paris in square kilometers."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q90> <http://www.wikidata.org/prop/direct/P2046> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4340", "question": "Cities named Vienna located in current countries, not historical ones, with English or German labels.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?city ?cityLabel WHERE {\n  ?city ( wdt:P31 / wdt:P279 * ) wd:Q515 .\n  ?city wdt:P17 ?country .\n  FILTER NOT EXISTS {\n    ?country wdt:P31 wd:Q3024240\n  }\n  ?city rdfs:label ?cityLabel .\n  FILTER ( REGEX( ?cityLabel , \"Vienna\" , \"i\" ) ) .\n  FILTER ( LANG( ?cityLabel ) IN ( \"de\" , \"en\" ) ) .\n}\nLIMIT 1000", "paraphrases": ["Which cities named Vienna are located in currently existing countries and have labels in English or German?", "List all cities called \"Vienna\" (in English or German) that are not located in any defunct or historical country."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . FILTER ( ( NOT EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3024240> . } ) ) . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( REGEX ( ?var1Label , \"(Vienna)\" ) ) ) . FILTER ( ( LANG ( ?var1Label ) IN ( \"de\", \"en\" ) ) ) . } LIMIT 1000"}}
{"id": "test_4341", "question": "What countries and geographic regions is the Emperor of China volcano located in?", "sparql": "SELECT DISTINCT ?location WHERE { wd:Q4175840 (wdt:P17 | wdt:P131 | wdt:P30 | wdt:P706) ?location . }", "paraphrases": ["Which continent, country, and physical feature is the Emperor of China volcano associated with?", "Find all geographic entities connected to the volcano named Emperor of China, such as its country, administrative region, continent, or the sea it's in."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q4175840> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_4342", "question": "What are all the items with coordinates and their types?", "sparql": "SELECT ?item ?itemLabel ?coord ?typeLabel WHERE {\n  ?item wdt:P625 ?coord .\n  OPTIONAL {\n    ?item wdt:P31 ?type .\n  }\n  BIND(STR(?item) AS ?itemLabel)\n  BIND(STR(?type) AS ?typeLabel)\n} ORDER BY ASC(?item)", "paraphrases": ["List all items that have geographic coordinates along with their instance types.", "Show me items that have location coordinates and what type of items they are, sorted alphabetically."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label WHERE { SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> \"string1\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"10\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var4 )"}}
{"id": "test_4343", "question": "Clare Romano SAAM ID 4112, what is her profession?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P1795 \"4112\" .\n  ?item rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["Who is the person with Smithsonian American Art Museum ID 4112, and what is their description in English?", "Tell me the name and English description of the artist identified by SAAM ID 4112."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1795> \"4112\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4344", "question": "What is the English label and description of the Wikimedia disambiguation page Q7993091, and does it have an image?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?label ?description ?image WHERE {\n  OPTIONAL {\n    wd:Q7993091 rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n  OPTIONAL {\n    wd:Q7993091 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q7993091 schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["Show the English name, English description, and image for the disambiguation page on Wikidata with ID Q7993091.", "Does the Wikidata item Q7993091 have an English label, description, or image?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q7993091> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q7993091> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q7993091> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_4345", "question": "What is the English label and description of the song \"Sun\" by John Lydon, and is there an image available for it?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?description ?image WHERE {\n  OPTIONAL {\n    wd:Q6135520 rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n  OPTIONAL {\n    wd:Q6135520 schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n  OPTIONAL {\n    wd:Q6135520 wdt:P18 ?image .\n  }\n}", "paraphrases": ["Show me the English name and description of the song \"Sun\" by John Lydon, along with its image from Wikimedia Commons.", "Can you provide the English title and description of the song \"Sun\" by John Lydon, and tell me if there's a related image on Commons?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q6135520> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q6135520> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q6135520> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_4346", "question": "Cities in Spain with their population, official language, and Wikimedia language code.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?city ?cityLabel ?language ?languageLabel ?code ?population WHERE {\n  ?city wdt:P1082 ?population .\n  ?city wdt:P31 wd:Q515 .\n  ?city wdt:P17 wd:Q29 .\n  ?city rdfs:label ?cityLabel .\n  wd:Q29 wdt:P37 ?language .\n  ?language wdt:P424 ?code .\n  ?language rdfs:label ?languageLabel .\n}\nLIMIT 100", "paraphrases": ["What are the cities in Spain, their populations, and the Wikimedia language code for Spanish, their official language?", "List all cities in Spain along with their population, the official language (Spanish), and its Wikimedia language code."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var2 <http://www.wikidata.org/prop/direct/P37> ?var3 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var3 <http://www.wikidata.org/prop/direct/P424> ?var4 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q29> . } LIMIT 100"}}
{"id": "test_4347", "question": "List all fruits and their English names, including types and categories.", "sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { { ?var1 wdt:P31 wd:Q3314483 . } UNION { ?var1 wdt:P279* wd:Q3314483 . } ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") } ORDER BY ASC(?var1Label)", "paraphrases": ["What are all the known types and subclasses of fruit in English?", "Show me all English-labeled entities that are either instances of fruit or subclasses of fruit."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> ?/ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3314483> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . } ORDER BY ASC( ?var1Label )"}}
{"id": "test_4348", "question": "People who died at a beach and their death statement qualifiers", "sparql": "SELECT ?person ?personLabel ?statement (SAMPLE(?qpLabel) AS ?qualifierPropertyLabel) (SAMPLE(?qvLabel) AS ?qualifierValueLabel) WHERE { ?person p:P20 ?statement . ?statement ps:P20 wd:Q40080 . OPTIONAL { ?statement ?qualifierProperty ?qualifierValue . ?qualifierProperty wikibase:qualifier true . ?qualifierProperty rdfs:label ?qpLabel . FILTER(LANG(?qpLabel) = \"en\") . ?qualifierValue rdfs:label ?qvLabel . FILTER(LANG(?qvLabel) = \"en\") } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } GROUP BY ?person ?personLabel ?statement LIMIT 100", "paraphrases": ["Who are the people that died at a beach, and what additional details (like date or cause) are recorded about their death?", "List all individuals whose place of death is a beach, along with any available qualifiers on their death statements."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P20> <http://www.wikidata.org/entity/Q40080> . ?var1 <http://www.wikidata.org/prop/P20> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_4349", "question": "Chilean citizens who are human", "sparql": "SELECT ?person WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P27 wd:Q298 .}", "paraphrases": ["Who are the people with Chilean citizenship?", "List all individuals who are citizens of Chile."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q298> . }"}}
{"id": "test_4350", "question": "List all subproperties in Wikidata and their parent properties with English labels.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nSELECT ?subProperty ?subPropertyLabel ?parentProperty ?parentPropertyLabel WHERE {\n  ?subProperty rdf:type wikibase:Property .\n  ?subProperty wdt:P1647 ?parentProperty .\n  ?subProperty rdfs:label ?subPropertyLabel .\n  ?parentProperty rdfs:label ?parentPropertyLabel .\n  FILTER ( LANG( ?subPropertyLabel ) = \"en\" ) FILTER ( LANG( ?parentPropertyLabel ) = \"en\" )\n}\nORDER BY ?subProperty", "paraphrases": ["What are the subproperty relationships in Wikidata, and what are the English labels of the subproperties and their parent properties?", "Show me all properties in Wikidata that are subproperties of other properties, along with their English names and the English names of the properties they inherit from."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var2 <http://www.wikidata.org/prop/direct/P1647> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } }"}}
{"id": "test_4351", "question": "What are the flag, coat of arms, NUTS code, GeoNames ID, and Freebase ID of the Belgian region with NUTS code BE1?", "sparql": "SELECT DISTINCT ?region ?nutsCode ?frWikiPage ?flagImage ?coatOfArmsImage ?geonamesId ?freebaseId ?regionLabel WHERE { ?region wdt:P31 wd:Q83057 . OPTIONAL { ?region wdt:P605 ?nutsCode . } OPTIONAL { ?region wdt:P41 ?flagImage . } OPTIONAL { ?region wdt:P94 ?coatOfArmsImage . } OPTIONAL { ?region wdt:P1566 ?geonamesId . } OPTIONAL { ?region wdt:P646 ?freebaseId . } OPTIONAL { ?frWikiPage schema:about ?region ; schema:inLanguage \"fr\" ; schema:isPartOf <https://fr.wikipedia.org/> . } FILTER (?nutsCode = \"BE1\") ?region rdfs:label ?regionLabel . FILTER (LANG(?regionLabel) = \"en\") }", "paraphrases": ["Which Belgian region has the NUTS code BE1, and what are its French Wikipedia page, flag, coat of arms, GeoNames ID, and Freebase ID?", "Show me the details of the Brussels-Capital Region, including its NUTS code, flag image, coat of arms, GeoNames ID, Freebase ID, and French Wikipedia link."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q83057> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P605> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P94> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P41> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P94> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1566> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P646> ?var7 . } OPTIONAL { ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> \"fr\". ?var3 <http://schema.org/isPartOf> <https://fr.wikipedia.org/> . } FILTER ( ( ( ?var2 = \"BE1\" ) ) ) . }"}}
{"id": "test_4352", "question": "What is the English name of Douglas Adams?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?entity ?label WHERE {\n  BIND(wd:Q42 AS ?entity)\n  .\n  ?entity rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["Can you tell me the label of the Wikidata item for Douglas Adams?", "What is Douglas Adams called in English on Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { BIND ( <http://www.wikidata.org/entity/Q42> AS ?var1 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } }"}}
{"id": "test_4353", "question": "What are the Australian local government areas (LGAs) with their ASGS 2011 IDs and geographic coordinates?", "sparql": "SELECT DISTINCT ?asgsId ?latitude ?longitude WHERE { ?lga (wdt:P31/wdt:P279*) wd:Q1867183 . ?lga wdt:P4014 ?asgsId . ?lga p:P625 ?statement . ?statement psv:P625 ?coordinate . ?coordinate wikibase:geoLatitude ?latitude . ?coordinate wikibase:geoLongitude ?longitude . } ORDER BY ASC(?asgsId)", "paraphrases": ["Can you list the latitude and longitude of all Australian LGAs along with their ASGS 2011 identifiers, sorted by ID?", "Show me the geographic locations (latitude and longitude) of Australia\u2019s local government areas, matched with their official ASGS 2011 codes."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { ?var6 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1867183> . ?var6 <http://www.wikidata.org/prop/P625> ?var7 . ?var7 <http://www.wikidata.org/prop/statement/value/P625> ?var8 . ?var8 <http://wikiba.se/ontology#geoLatitude> ?var3 . ?var8 <http://wikiba.se/ontology#geoLongitude> ?var4 . ?var6 <http://www.wikidata.org/prop/direct/P4014> ?var1 . ?var6 <http://www.wikidata.org/prop/direct/P6464> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . } } ORDER BY ASC( ?var1 )"}}
{"id": "test_4354", "question": "Monuments in Ireland with Wiki Loves Monuments IDs starting with IE-G-", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?monument ?wlmId WHERE {\n  ?monument wdt:P17 wd:Q27 .\n  ?monument wdt:P2186 ?wlmId .\n  FILTER(STRSTARTS(?wlmId , \"IE-G-\"))\n}\nORDER BY ASC(?wlmId)", "paraphrases": ["What monuments in Ireland are listed in the Wiki Loves Monuments project with IDs beginning with \"IE-G-\"?", "List all monuments in Ireland that have a Wiki Loves Monuments ID starting with \"IE-G-\", sorted alphabetically by ID."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q27> . ?var1 <http://www.wikidata.org/prop/direct/P2186> ?var2 . FILTER ( ( STRSTARTS ( ?var2 , \"IE-G-\" ) ) ) . } ORDER BY ASC( ?var2 )"}}
{"id": "test_4355", "question": "List all paintings in Wikidata.", "sparql": "SELECT ?painting WHERE { ?painting wdt:P31 wd:Q3305213 . }", "paraphrases": ["What items are classified as paintings in Wikidata?", "Show me all the artworks that are instances of the category \"painting\"."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,en\". } } GROUP BY ?var1"}}
{"id": "test_4356", "question": "Number of spouses of Madonna", "sparql": "SELECT (COUNT(DISTINCT ?spouse) AS ?count) WHERE { wd:Q1744 wdt:P26 ?spouse .}", "paraphrases": ["How many people has Madonna been married to?", "List the number of Madonna\u2019s spouses."], "info": {"raw_sparql": "SELECT( COUNT ( DISTINCT ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/statement/P26> <http://www.wikidata.org/entity/Q1744> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4357", "question": "Properties linking multiple resources to Valborg Lindahl", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(COUNT(?resource) AS ?count) WHERE {\n  ?resource ?property wd:Q1405948 .\n}\nGROUP BY ?property\nHAVING(?count > 1)\nORDER BY DESC(?count)", "paraphrases": ["Which property is used to connect more than one external resource to the Wikidata item for Valborg Lindahl, and how many times?", "Show me the properties that link more than one web page or article to Valborg Lindahl, sorted by how often they are used."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q1405948> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_4358", "question": "What property links multiple items to the 2009 French Figure Skating Championships, and how many times?", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q969965 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["Which property is used to connect more than one resource to the 2009 French Figure Skating Championships, and what is its count?", "Show me the properties that are used to link more than one item to the 2009 French Figure Skating Championships, sorted by how often they are used."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q969965> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_4359", "question": "List all active communes and arrondissements in the Nord department of France with their French Wikipedia links and coat of arms images.", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ?commune ?whiteColor ?wikipediaLink ?coatOfArmsLink ?constant1 ?constant01 WHERE {\n  ?commune wdt:P131 wd:Q12661 .\n  ?commune p:P31 ?statement .\n  ?statement ps:P31 ?instanceType .\n  FILTER ( ?instanceType IN ( wd:Q194203 , wd:Q484170 ) ) .\n  FILTER ( NOT EXISTS {\n    ?statement pq:P582 []\n  }\n  ) .\n  FILTER ( NOT EXISTS {\n    ?commune pq:P582 []\n  }\n  ) .\n  OPTIONAL {\n    ?commune wdt:P94 ?coatOfArmsImage\n  }\n  .\n  ?wikipediaPage schema:about ?commune ; schema:isPartOf <https://fr.wikipedia.org/> .\n  ?commune rdfs:label ?communeLabel .\n  FILTER ( LANG( ?communeLabel ) = \"fr\" ) BIND( \"#FFFFFF\" AS ?whiteColor ) BIND( 1 AS ?constant1 ) BIND( 0.1 AS ?constant01 ) BIND( SUBSTR( STR( ?wikipediaPage ) , 31 ) AS ?pageTitle ) BIND( CONCAT ( \"[[\" , ?pageTitle , \"|\" , ?communeLabel , \"]]\" ) AS ?wikipediaLink ) BIND( IF( BOUND( ?coatOfArmsImage ) , CONCAT ( \"[[File:\" , SUBSTR( STR( ?coatOfArmsImage ) , 52 ) , \"|\" , ?communeLabel , \"]]\" ) , \"\" ) AS ?coatOfArmsLink )\n}\nGROUP BY ?commune ?communeLabel ?wikipediaPage ?coatOfArmsImage ?whiteColor ?constant1 ?constant01 ?wikipediaLink ?coatOfArmsLink", "paraphrases": ["What are the French communes and arrondissements in the Nord department that are still active, and what are their corresponding Wikipedia pages and coat of arms files?", "Please provide a list of current administrative divisions (communes and arrondissements) in the French Nord department, including links to their French Wikipedia articles and, where available, their coat of arms images."], "info": {"raw_sparql": "SELECT ?var1 ( \"#FFFFFF\" AS ?var2 )( CONCAT ( \"[[\", SUBSTR ( STR ( ?var3 ) ,\"31\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"500\"^^<http://www.w3.org/2001/XMLSchema#integer> ) , \"{{!}}\", ?var1Label , \"]]\" ) AS ?var4 )( CONCAT ( \"[[File:\", SUBSTR ( STR ( SAMPLE ( ?var5 ) ) ,\"52\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"500\"^^<http://www.w3.org/2001/XMLSchema#integer> ) , \"string1\" ) AS ?var6 )( \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var7 )( \"0.1\"^^<http://www.w3.org/2001/XMLSchema#decimal> AS ?var8 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q12661> . ?var1 <http://www.wikidata.org/prop/P31> ?var9 . ?var9 <http://www.wikidata.org/prop/statement/P31> ?var10 . FILTER ( ( ( ?var10 = <http://www.wikidata.org/entity/Q194203> ) || ( ?var10 = <http://www.wikidata.org/entity/Q484170> ) ) ) . FILTER ( ( NOT EXISTS { ?var9 <http://www.wikidata.org/prop/qualifier/P582> [] . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/qualifier/P582> [] . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P94> ?var5 . } ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/isPartOf> <https://fr.wikipedia.org/> . } GROUP BY ?var1 ?var1Label ?var3"}}
{"id": "test_4360", "question": "List sovereign states with their English names and English Wikivoyage pages.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?country ?label ?wikivoyage_page WHERE {\n  ?country wdt:P31 wd:Q3624078 .\n  OPTIONAL {\n    ?country rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n  OPTIONAL {\n    ?wikivoyage_page schema:about ?country ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikivoyage.org/> .\n  }\n}", "paraphrases": ["What are the English names and English Wikivoyage travel guides for all sovereign states?", "Show me the English labels and corresponding English Wikivoyage links for every country in the world."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3624078> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } OPTIONAL { ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> \"en\". ?var3 <http://schema.org/isPartOf> <https://de.wikivoyage.org/> . } }"}}
{"id": "test_4361", "question": "How many people in Wikidata have an occupation that is a scientist or a subclass of scientist?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT(COUNT(DISTINCT ?person) AS ?count) WHERE {\n  ?person wdt:P106 / wdt:P279 * wd:Q901 .\n}", "paraphrases": ["What is the total number of individuals whose occupation is classified as a scientist or any of its subtypes (e.g., physicist, chemist, etc.)?", "Count the number of people in Wikidata who are scientists or belong to a subclass of the scientist profession."], "info": {"raw_sparql": "SELECT( COUNT ( DISTINCT ?var1 ) AS ?var2 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q901> . }"}}
{"id": "test_4362", "question": "Who are the presidents of Afghanistan and what are their birth dates, education, political parties, and religions?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?president ?presidentLabel ?gender ?birthDate ?deathDate ?placeOfBirth ?placeOfDeath ?politicalParty ?educatedAt ?religion WHERE {\n  ?president wdt:P31 wd:Q5 .\n  ?president p:P39 ?positionStatement .\n  ?positionStatement ps:P39 wd:Q1140706 .\n  OPTIONAL {\n    ?president wdt:P21 ?gender .\n  }\n  OPTIONAL {\n    ?president wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?president wdt:P570 ?deathDate .\n  }\n  OPTIONAL {\n    ?president wdt:P19 ?placeOfBirth .\n  }\n  OPTIONAL {\n    ?president wdt:P20 ?placeOfDeath .\n  }\n  OPTIONAL {\n    ?president wdt:P102 ?politicalParty .\n  }\n  OPTIONAL {\n    ?president wdt:P69 ?educatedAt .\n  }\n  OPTIONAL {\n    ?president wdt:P140 ?religion .\n  }\n  ?president rdfs:label ?presidentLabel .\n  FILTER(LANG(?presidentLabel) = \"en\")\n}\nORDER BY ?president", "paraphrases": ["Can you list all the presidents of Afghanistan along with their gender, date of birth, place of birth, education background, political affiliation, and religion?", "Please provide a list of Afghanistan\u2019s presidents with their biographical details including birth and death dates, education institutions, political parties, and religious affiliation."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 ?var12 ?var13 ?var14 ?var15 ?var16 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/P39> ?var17 . ?var17 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q1140706> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P20> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P509> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P119> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P22> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P25> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P26> ?var11 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P40> ?var12 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3373> ?var13 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P102> ?var14 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P69> ?var15 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P140> ?var16 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var18 )"}}
{"id": "test_4363", "question": "What are some NLP ID reference values that start with the letter \"a\"?", "sparql": "SELECT ?id WHERE { ?statement pr:P1695 ?id . FILTER(STRSTARTS(STR(?id), \"a\")) } LIMIT 10", "paraphrases": ["Show me references to National Library of Poland IDs that begin with \"a\".", "Retrieve the old-style NLP identifiers used in Wikidata references, limited to those starting with \"a\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/reference/P1695> ?var2 . FILTER ( ( CONTAINS ( STR ( ?var4 ) , \"A\" ) ) ) . } LIMIT 10"}}
{"id": "test_4364", "question": "Works based on Mother Goose and their English labels.", "sparql": "SELECT ?work ?workLabel ?source ?sourceLabel WHERE { ?work wdt:P144 wd:Q142305 . ?work rdfs:label ?workLabel . wd:Q142305 rdfs:label ?sourceLabel . BIND(wd:Q142305 AS ?source) FILTER(LANG(?workLabel) = \"en\") FILTER(LANG(?sourceLabel) = \"en\") }", "paraphrases": ["What are the English-named works that are based on the folklore character Mother Goose?", "List all works derived from Mother Goose along with their English titles and confirm the source is Mother Goose."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P144> + <http://www.wikidata.org/entity/Q142305> . ?var1 <http://www.wikidata.org/prop/direct/P144> + ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_4365", "question": "What are the most common ways Lloyd Jones is connected to other entities in Wikidata?", "sparql": "SELECT ?property ( COUNT( ?entity ) AS ?count ) WHERE { ?entity ?property wd:Q3065503 . } GROUP BY ?property HAVING ( ?count > 1 ) ORDER BY DESC ( ?count )", "paraphrases": ["Which properties link other items to the ice dancer Lloyd Jones more than once, and how often?", "Show me the relationships (properties) that connect Lloyd Jones to other entities, sorted by frequency, excluding rare ones."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q3065503> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_4366", "question": "What ships have been designed by an architect?", "sparql": "SELECT ?ship ?shipLabel WHERE { ?ship (wdt:P31/wdt:P279*) wd:Q11446 . ?ship wdt:P84 ?architect . ?ship rdfs:label ?shipLabel . FILTER(LANG(?shipLabel) = \"en\") }", "paraphrases": ["List the names of all ships and their subclasses that have an architect associated with them.", "Which vessels, including types like sailboats or cargo ships, were designed by an architect, and what are their names?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11446> . ?var1 <http://www.wikidata.org/prop/direct/P84> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4367", "question": "Labels in English, German, and French for Olivier Mahafaly Solonandrasana, along with his image and Wikipedia link.", "sparql": "SELECT ?label ?image ?coordinates ?wikipediaArticle WHERE { VALUES (?lang ?sortOrder) { (\"en\" 1) (\"de\" 2) (\"fr\" 3) (\"it\" 4) } wd:Q23782689 rdfs:label ?label . FILTER (LANG(?label) = ?lang) OPTIONAL { wd:Q23782689 wdt:P18 ?image . } OPTIONAL { wd:Q23782689 wdt:P625 ?coordinates . } ?wikipediaArticle rdf:type schema:Article ; schema:about wd:Q23782689 ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> . } ORDER BY ?sortOrder", "paraphrases": ["What are the English, German, and French labels for Olivier Mahafaly Solonandrasana, and what is his image and Wikipedia article?", "Show me the labels in English, German, and French for Olivier Mahafaly Solonandrasana, his image from Wikimedia Commons, and his English Wikipedia page."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q23782689> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var5 ) ) ) . VALUES ( ?var5 ?var6 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q23782689> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q23782689> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q23782689> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var6 )"}}
{"id": "test_4368", "question": "Rivers in Georgia with Georgian Wikipedia pages", "sparql": "SELECT ?river ?label WHERE { ?river wdt:P31 wd:Q4022 . ?river wdt:P17 wd:Q230 . ?river rdfs:label ?label . FILTER(LANG(?label) = \"ka\") . FILTER(EXISTS { ?wikiPage schema:about ?river ; schema:inLanguage \"ka\" . }) }", "paraphrases": ["What are the names of rivers in Georgia that have articles in the Georgian language on Wikipedia?", "List the Georgian-language names of rivers located in Georgia that have a corresponding page on Georgian Wikipedia."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . FILTER ( ( ( ?var2 = <http://www.wikidata.org/entity/Q4022> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . FILTER ( ( ( ?var3 = <http://www.wikidata.org/entity/Q230> ) ) ) . FILTER ( ( EXISTS { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/inLanguage> \"ka\". } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru,uk,be,tg,kk,ky,uz,tk,az,et,lt,lv,ro,ka,hy\". } }"}}
{"id": "test_4369", "question": "Male Indian citizens holding public office and their positions", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel ?positionLabel WHERE {\n  ?person wdt:P27 wd:Q668 .\n  ?person wdt:P21 wd:Q6581097 .\n  ?person wdt:P39 ?position .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n  .\n  ?position rdfs:label ?positionLabel .\n  FILTER(LANG(?positionLabel) = \"en\")\n}\nLIMIT 10", "paraphrases": ["Which male citizens of India hold public offices, and what are those positions?", "List all male Indian citizens who have held a public office along with the office they held."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q668> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581097> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P39> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_4370", "question": "Subclasses of cardinality that are instances of concept and subclasses of abstract entity", "sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3Label ?var4Label WHERE { ?var1 wdt:P279 ?var2 . ?var2 wdt:P31 ?var3 . ?var3 wdt:P279 ?var4 . OPTIONAL { ?var1 rdfs:label ?var1Label FILTER(LANG(?var1Label) = \"en\") } OPTIONAL { ?var2 rdfs:label ?var2Label FILTER(LANG(?var2Label) = \"en\") } OPTIONAL { ?var3 rdfs:label ?var3Label FILTER(LANG(?var3Label) = \"en\") } OPTIONAL { ?var4 rdfs:label ?var4Label FILTER(LANG(?var4Label) = \"en\") } } LIMIT 10", "paraphrases": ["What are some linguistic or mathematical terms that are subclasses of a category, which is itself an instance of a concept, and that concept is a subclass of an abstract entity?", "Show me examples of concepts in Wikidata where a subclass (like \"twelve\") is part of a hierarchy: subclass \u2192 superclass \u2192 instance of metaclass \u2192 metaclass subclass."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P31> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P279> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 10"}}
{"id": "test_4371", "question": "Directors of Johann-Christian-Reinhart high school Hof", "sparql": "SELECT ?director ?directorLabel WHERE { wd:Q1692127 wdt:P1037 ?director . ?director rdfs:label ?directorLabel . FILTER(LANG(?directorLabel) = \"en\") } LIMIT 21", "paraphrases": ["Who are the directors of Johann-Christian-Reinhart high school Hof?", "List the English names of the 21 directors of Johann-Christian-Reinhart high school Hof."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { _:bnode <http://www.wikidata.org/prop/direct/P1037> ?var1 . FILTER ( ( isIRI ( ?var1 ) ) ) . } LIMIT 21 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4372", "question": "Top authors of publications about WikiPathways", "sparql": "SELECT (COUNT(?work) AS ?count) ?author ?authorLabel WHERE { ?work wdt:P921 wd:Q7999828 . ?work wdt:P50 ?author . ?author rdfs:label ?authorLabel . FILTER(LANG(?authorLabel) = \"en\") } GROUP BY ?author ?authorLabel ORDER BY DESC(?count)", "paraphrases": ["Who are the most frequent authors of works that have WikiPathways as their main subject?", "List the authors who have written the most works about WikiPathways, ranked by the number of works they authored."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) ?var3 ?var3Label WHERE { { ?var1 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7999828> . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P361> +) <http://www.wikidata.org/entity/Q7999828> . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P1269> +) <http://www.wikidata.org/entity/Q7999828> . } ?var1 <http://www.wikidata.org/prop/direct/P50> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } } GROUP BY ?var3 ?var3Label ORDER BY DESC( ?var2 )"}}
{"id": "test_4373", "question": "Wikidata properties with equivalent URIs in schema.org or FOAF, including their direct claim URIs and English labels.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?directClaimUri ?label ?equivalentUri WHERE {\n  ?property wikibase:directClaim ?directClaimUri .\n  ?property wdt:P1628 ?equivalentUri .\n  FILTER ( STRSTARTS( STR( ?equivalentUri ) , \"http://schema.org/\" ) || STRSTARTS( STR( ?equivalentUri ) , \"http://xmlns.com/foaf/\" ) ) .\n  ?property rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}\nORDER BY ASC ( ?label )", "paraphrases": ["Which Wikidata properties are mapped to schema.org or FOAF ontologies, and what are their English labels and direct claim URIs?", "List all Wikidata properties that have equivalent properties in schema.org or FOAF, showing their English names, direct claim URIs, and the equivalent ontology URIs."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2Label ?var3 WHERE { ?var2 <http://wikiba.se/ontology#directClaim> ?var1 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P1628> ?var3 . FILTER ( ( STRSTARTS ( STR ( ?var3 ) , \"string1\" ) ) ) . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P1628> ?var4 . FILTER ( ( STRSTARTS ( STR ( ?var4 ) , \"string2\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } FILTER ( ( BOUND ( ?var3 ) || BOUND ( ?var4 ) ) ) . } ORDER BY ASC( ?var2Label )"}}
{"id": "test_4374", "question": "U.S. geographic features with GNIS IDs and their specific types, excluding broad categories like \"geographic location\".", "sparql": "SELECT ?feature ?type WHERE { ?feature wdt:P590 [] . MINUS { ?feature (wdt:P31/wdt:P279*) wd:Q2221906 . } OPTIONAL { ?feature wdt:P31 ?type . } } LIMIT 1000", "paraphrases": ["What are the specific types of U.S. geographic features registered in the GNIS, excluding those classified as general geographic locations?", "List all U.S. geographic features identified by GNIS IDs along with their specific classifications, but exclude any that are just labeled as geographic locations."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P590> [] . MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q2221906> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } } LIMIT 1000 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_4375", "question": "How many institutions have an even number of members versus an odd number of members?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?evenCount ?oddCount WHERE {\n  {\n    SELECT ( COUNT( * ) AS ?evenCount ) WHERE {\n      {\n        SELECT ?org WHERE {\n          ?org wdt:P1196 ?motto .\n          ?motto ( wdt:P31 / wdt:P279 * ) wd:Q132821 .\n          ?org wdt:P3373 ?member .\n        }\n        GROUP BY ?org\n        HAVING ( ( COUNT( DISTINCT ?member ) - ( 2 * ( COUNT( DISTINCT ?member ) / 2 ) ) ) = 0 )\n      }\n    }\n  }\n  {\n    SELECT ( COUNT( * ) AS ?oddCount ) WHERE {\n      {\n        SELECT ?org WHERE {\n          ?org wdt:P1196 ?motto .\n          ?motto ( wdt:P31 / wdt:P279 * ) wd:Q132821 .\n          ?org wdt:P3373 ?member .\n        }\n        GROUP BY ?org\n        HAVING ( ( COUNT( DISTINCT ?member ) - ( 2 * ( COUNT( DISTINCT ?member ) / 2 ) ) ) = 1 )\n      }\n    }\n  }\n}", "paraphrases": ["What is the count of organizations with even and odd membership counts, based on their member relationships?", "Can you show how many institutions have an even number of members and how many have an odd number of members, using their membership and motto properties?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { { SELECT( COUNT ( DISTINCT ?var3 ) AS ?var1 ) WHERE { { SELECT ?var3 ( COUNT ( DISTINCT ?var4 ) AS ?var5 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P1196> ?var6 . ?var6 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q132821> . ?var3 <http://www.wikidata.org/prop/direct/P3373> ?var4 . } GROUP BY ?var3 HAVING ( ( ( ?var5 - ( \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> * <http://www.w3.org/2001/XMLSchema#integer> ( ( ?var5 /\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) ) = \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) } } } { SELECT( COUNT ( DISTINCT ?var3 ) AS ?var2 ) WHERE { { SELECT ?var3 ( COUNT ( DISTINCT ?var4 ) AS ?var5 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P1196> ?var6 . ?var6 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q132821> . ?var3 <http://www.wikidata.org/prop/direct/P3373> ?var4 . } GROUP BY ?var3 HAVING ( ( ( ?var5 - ( \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> * <http://www.w3.org/2001/XMLSchema#integer> ( ( ?var5 /\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) ) = \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) } } } }"}}
{"id": "test_4376", "question": "People who died on May 24, 1964", "sparql": "SELECT DISTINCT ?person WHERE { ?person wdt:P570 ?deathDate . FILTER ( ?deathDate >= \"1964-05-24T00:00:00Z\"^^xsd:dateTime && ?deathDate <= \"1964-05-24T23:59:59Z\"^^xsd:dateTime ) }", "paraphrases": ["Who died on May 24, 1964?", "List all individuals who passed away on May 24, 1964."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . FILTER ( ( ( ?var2 >= \"1964-05-24T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1964-05-24T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_4377", "question": "What international organizations has Moldova joined, and in what year did it join them?", "sparql": "SELECT ?country ?organization ?organizationLabel ?fullDate ?year WHERE {\n  BIND( wd:Q217 AS ?country ) .\n  ?country p:P463 ?membership .\n  ?membership ps:P463 ?organization .\n  ?membership pqv:P580 ?timeStatement .\n  ?timeStatement wikibase:timeValue ?date .\n  ?timeStatement wikibase:timePrecision ?precision .\n  FILTER ( ?precision >= 9 ) .\n  BIND( IF( ?precision >= 11, SUBSTR( STR( ?date ), 1, 11 ), \"-\" ) AS ?fullDate ) .\n  BIND( IF( ?precision >= 9, SUBSTR( STR( ?date ), 1, 4 ), \"-\" ) AS ?year ) .\n  ?organization rdfs:label ?organizationLabel .\n  FILTER( LANG( ?organizationLabel ) = \"en\" )\n}", "paraphrases": ["List Moldova\u2019s memberships in international organizations along with the exact date (if available) and year of joining.", "When did Moldova become a member of each international organization, showing the year and full date where precision allows?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q217> AS ?var1 ). BIND ( IF ( ( ?var5 >= \"11\"^^<http://www.w3.org/2001/XMLSchema#integer> ), SUBSTR ( STR ( ?var6 ) ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ) , \"-\" ) AS ?var3 ). BIND ( IF ( ( ?var5 >= \"9\"^^<http://www.w3.org/2001/XMLSchema#integer> ), SUBSTR ( STR ( ?var6 ) ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) , \"-\" ) AS ?var4 ). ?var1 <http://www.wikidata.org/prop/P463> ?var7 . ?var7 <http://www.wikidata.org/prop/statement/P463> ?var2 . ?var7 <http://www.wikidata.org/prop/qualifier/value/P580> ?var8 . ?var8 <http://wikiba.se/ontology#timeValue> ?var6 . ?var8 <http://wikiba.se/ontology#timePrecision> ?var5 . FILTER ( ( ( ?var5 >= \"9\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ro\". } }"}}
{"id": "test_4378", "question": "Who created the painting \"The Church at Auvers\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?creator WHERE {\n  wd:Q1213917 wdt:P170 ?creator .\n}", "paraphrases": ["Creator of The Church at Auvers painting.", "Tell me the artist of \"The Church at Auvers\"."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P170> <http://www.wikidata.org/entity/Q1213917> . }"}}
{"id": "test_4379", "question": "What are the launch locations (coordinates) of communications satellites?", "sparql": "SELECT ?satellite (SAMPLE(?coord) AS ?launchCoordinate) WHERE { ?satellite (wdt:P31/wdt:P279*) wd:Q149918 . ?satellite p:P1427 / ps:P1427 ?launchSite . ?launchSite ((p:P1427/ps:P1427)* / (p:P361/ps:P361)* / wdt:P625) ?coord . } GROUP BY ?satellite", "paraphrases": ["Can you tell me the geographic coordinates where each communications satellite was launched from, including indirect locations like regions or countries it's part of?", "Show me the launch site coordinates for all communications satellites, even if the exact launch pad isn't recorded but a related location like a country or region is known."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q149918> . ?var1 ( <http://www.wikidata.org/prop/P1427> / <http://www.wikidata.org/prop/statement/P1427> ) ?var3 . ?var3 (( <http://www.wikidata.org/prop/P1427> / <http://www.wikidata.org/prop/statement/P1427> )*/( <http://www.wikidata.org/prop/P361> / <http://www.wikidata.org/prop/statement/P361> )*/ <http://www.wikidata.org/prop/direct/P625> ) ?var2 . } GROUP BY ?var1"}}
{"id": "test_4380", "question": "What are the Japanese-named places located in or near Seika, Japan, within the geographic bounds of 34.66\u00b0N to 34.86\u00b0N and 135.69\u00b0E to 135.89\u00b0E?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nSELECT DISTINCT ?item ?itemLabel WHERE {\n  ?item wdt:P131 * wd:Q1203237 ; ( p:P625 / psv:P625 ) ?coord .\n  ?coord wikibase:geoLatitude ?lat ; wikibase:geoLongitude ?long .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"ja\" ) FILTER ( ?lat > 34.659966666 && ?lat <= 34.859966666 && ?long > 135.691938888 && ?long < 135.891938888 )\n}\nORDER BY DESC ( ?item )", "paraphrases": ["List the facilities in Seika, Kyoto, that have Japanese labels and coordinates within this area: latitude 34.66\u201334.86, longitude 135.69\u2013135.89.", "Show me Japanese-labeled locations in Seika\u2019s administrative area that fall within this small bounding box: 34.66\u00b0N\u201334.86\u00b0N and 135.69\u00b0E\u2013135.89\u00b0E."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label ; <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q1203237> ; <http://schema.org/dateModified> ?var4 ; ( <http://www.wikidata.org/prop/P625> / <http://www.wikidata.org/prop/statement/value/P625> ) ?var5 . ?var5 <http://wikiba.se/ontology#geoLatitude> ?var6 ; <http://wikiba.se/ontology#geoLongitude> ?var7 . FILTER ( ( ( LANG ( ?var2Label ) = \"ja\" ) ) ) . FILTER ( ( ( ?var6 > \"34.659966666\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) && ( ?var6 <= \"34.859966666\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) && ( ?var7 > \"135.691938888\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) && ( ?var7 < \"135.891938888\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) ) ) . } ORDER BY DESC( ?var4 )"}}
{"id": "test_4381", "question": "Top countries by number of awards received by living actors.", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?countryLabel(COUNT(?award) AS ?awardCount) WHERE {\n  ?actor wdt:P106 wd:Q33999 .\n  ?actor wdt:P166 ?award .\n  ?actor wdt:P27 ?country .\n  FILTER(NOT EXISTS {\n    ?actor p:P570 []\n  })\n  .\n  ?country rdfs:label ?countryLabel .\n  FILTER(LANG(?countryLabel) = \"en\")\n}\nGROUP BY ?countryLabel\nORDER BY ASC(?awardCount)", "paraphrases": ["Which countries have the most living actors who have won awards, and how many awards have they won in total?", "Show me a list of countries with the count of awards received by living actors, sorted from least to most."], "info": {"raw_sparql": "SELECT ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . ?var4 <http://www.wikidata.org/prop/direct/P166> ?var2 . ?var4 <http://www.wikidata.org/prop/direct/P27> ?var1 . FILTER ( ( NOT EXISTS { ?var4 <http://www.wikidata.org/prop/P570> ?var5 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1Label ORDER BY ASC( ?var3 )"}}
{"id": "test_4382", "question": "What is the English label and description of the Germanic language family, and is there an image associated with it?", "sparql": "SELECT ?label ?description ?image WHERE { OPTIONAL { wd:Q21200 rdfs:label ?label . FILTER (LANG(?label) = \"en\") } OPTIONAL { wd:Q21200 wdt:P18 ?image . } OPTIONAL { wd:Q21200 schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Germanic language family English name, description, and image", "Show me the English name and description of the Germanic language family, along with its image from Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q21200> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q21200> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q21200> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_4383", "question": "What is the English label, description, and image of the Italiener chicken breed?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?label ?description ?image WHERE {\n  OPTIONAL {\n    wd:Q2521653 rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n  OPTIONAL {\n    wd:Q2521653 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q2521653 schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Can you show me the English name, a brief description, and an image of the Italiener chicken breed?", "Please provide the English label, description, and Wikimedia Commons image for the Italiener chicken breed."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q2521653> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q2521653> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q2521653> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_4384", "question": "Labels for Rock & Roll Hall of Fame Covers EP in English, German, French, and Italian, ordered by language priority.", "sparql": "SELECT ?label ?image ?coordinates ?wikipediaArticle WHERE { OPTIONAL { wd:Q3137065 rdfs:label ?label . FILTER (LANG(?label) = ?lang) VALUES (?lang ?priority) { (\"en\" 1) (\"de\" 2) (\"fr\" 3) (\"it\" 4) } } OPTIONAL { wd:Q3137065 wdt:P18 ?image . } OPTIONAL { wd:Q3137065 wdt:P625 ?coordinates . } OPTIONAL { ?wikipediaArticle rdf:type schema:Article ; schema:about wd:Q3137065 ; schema:inLanguage \"fr\" ; schema:isPartOf <https://fr.wikipedia.org/> . } } ORDER BY ASC(?priority)", "paraphrases": ["What are the labels of the Red Hot Chili Peppers EP \"Rock & Roll Hall of Fame Covers EP\" in English, German, French, and Italian, and in what order are they listed?", "Please show me the multilingual labels (English, German, French, Italian) of the EP \"Rock & Roll Hall of Fame Covers EP\", sorted by the order: English first, then German, French, and Italian. Also include any associated image, coordinates, or French Wikipedia link, if available."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q3137065> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var5 ) ) ) . VALUES ( ?var5 ?var6 ) { ( \"fr\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q3137065> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q3137065> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q3137065> ; <http://schema.org/inLanguage> \"fr\"; <http://schema.org/isPartOf> <https://fr.wikipedia.org/> . } } ORDER BY ASC( ?var6 )"}}
{"id": "test_4385", "question": "Actors born on December 1st", "sparql": "SELECT ?actor ?actorLabel ?birthDate WHERE { ?actor wdt:P106 wd:Q33999 . ?actor wdt:P569 ?birthDate . FILTER ( MONTH(?birthDate) = 12 ) FILTER ( DAY(?birthDate) = 1 ) ?actor rdfs:label ?actorLabel . FILTER ( LANG(?actorLabel) = \"en\" ) }", "paraphrases": ["Who are the actors born on December 1st, and what are their birth dates?", "List all actors with their names and birth dates for those born on December 1st."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . FILTER ( ( ( MONTH ( ?var2 ) = \"12\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . FILTER ( ( ( DAY ( ?var2 ) = \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4386", "question": "Units of measurement and their SI equivalents.", "sparql": "SELECT ?unit ?unitLabel ?siValue WHERE { ?unit wdt:P2370 ?siValue . ?unit rdfs:label ?unitLabel . FILTER(LANG(?unitLabel) = \"en\") } LIMIT 10", "paraphrases": ["What are some non-SI units and their corresponding values in SI units?", "List common units like inch or fathom along with how many meters they equal."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2370> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 10"}}
{"id": "test_4387", "question": "What are the Hebrew names of places with Wikipedia categories for people born there?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?category ?placeLabel WHERE {\n  ?place wdt:P1464 ?category .\n  ?place rdfs:label ?placeLabel .\n  FILTER(LANG(?placeLabel) = \"he\")\n}\nORDER BY ?placeLabel", "paraphrases": ["Can you list cities and towns in Hebrew that have associated categories for people born in them?", "Show me the Hebrew labels of locations and their corresponding Wikipedia categories for people born in those locations."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P1464> ?var1 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"he\" ) ) ) . }"}}
{"id": "test_4388", "question": "Estuaries without Arabic descriptions and their countries, ordered alphabetically.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?estuary ?country WHERE {\n  ?estuary wdt:P31 wd:Q47053 .\n  FILTER(NOT EXISTS {\n    ?estuary schema:description ?arabicDesc .\n    FILTER(LANG(?arabicDesc) = \"ar\")\n  })\n  OPTIONAL {\n    ?estuary wdt:P17 ?country .\n  }\n  ?estuary rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nORDER BY ASC(?label)", "paraphrases": ["Which estuaries do not have a description in Arabic, and in which countries are they located?", "List all estuaries that lack an Arabic description, along with their country, sorted by their English name."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q47053> . FILTER ( ( NOT EXISTS { ?var1 <http://schema.org/description> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"ar\" ) ) ) . } ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_4389", "question": "What is the English label and description of the Victoria and Albert Museum item with ID O56227?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P3929 \"O56227\" .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER(LANG(?itemLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Can you tell me the name and description in English of the artwork in the V&A collection identified by O56227?", "Please provide the English name and description of the V&A object with ID O56227."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3929> \"O760413\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4390", "question": "What are all the superclass categories of recurring event?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?superclass WHERE {\n  wd:Q15275719 wdt:P279 * ?superclass .\n}", "paraphrases": ["What classes does the recurring event belong to, including its ancestors in the subclass hierarchy?", "List all the broader categories that recurring event is a subclass of, going up the hierarchy."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q15275719> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_4391", "question": "What pairs of topics commonly appear together in research works about Parkinson\u2019s disease?", "sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { { ?var3 wdt:P921 wd:Q11085 . } UNION { ?var3 wdt:P921 ?topic . ?topic wdt:P279* wd:Q11085 . } UNION { ?var3 wdt:P921 ?topic . ?topic wdt:P1269 wd:Q11085 . } ?var3 wdt:P921 ?var1 , ?var2 . FILTER (?var1 != wd:Q11085 && ?var2 != wd:Q11085 && ?var1 != ?var2) OPTIONAL { ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") } OPTIONAL { ?var2 rdfs:label ?var2Label . FILTER(LANG(?var2Label) = \"en\") } }", "paraphrases": ["Which two distinct medical or scientific topics are frequently mentioned as main subjects in the same publications that focus on Parkinson\u2019s disease?", "Show me pairs of topics (excluding Parkinson\u2019s disease itself) that are jointly associated as main subjects in works about Parkinson\u2019s disease, along with their English labels."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11085> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P361> +) <http://www.wikidata.org/entity/Q11085> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P1269> +) <http://www.wikidata.org/entity/Q11085> . } ?var3 <http://www.wikidata.org/prop/direct/P921> ?var1 , ?var2 . FILTER ( ( ( <http://www.wikidata.org/entity/Q11085> != ?var1 ) && ( <http://www.wikidata.org/entity/Q11085> != ?var2 ) && ( ?var1 != ?var2 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_4392", "question": "What movie has the elFilm ID 108854?", "sparql": "SELECT ?movie WHERE { ?movie wdt:P3143 \"108854\" . }", "paraphrases": ["Which film on Wikidata is identified by the elFilm ID \"108854\"?", "I need to find the Wikidata item for the movie with elFilm ID 108854 \u2014 what is it?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3143> \"108854\". }"}}
{"id": "test_4393", "question": "How many artificial objects are there in Wikidata?", "sparql": "SELECT (COUNT(*) AS ?count) WHERE { [] wdt:P31 wd:Q16686448 . }", "paraphrases": ["What is the number of human-made entities classified as artificial objects in Wikidata?", "Count all items in Wikidata that are instances of artificial objects."], "info": {"raw_sparql": "SELECT( COUNT (* ) AS ?var1 ) WHERE { [] <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16686448> . }"}}
{"id": "test_4394", "question": "What are some components of vehicle or technology subclasses, and what broader categories do those subclasses belong to?", "sparql": "SELECT ?part ?subclass ?superclass WHERE { ?subclass wdt:P279 ?superclass . ?part wdt:P361 ?subclass . } LIMIT 100", "paraphrases": ["Show me examples of parts that make up items which are themselves subclasses of a broader class.", "List parts of subclasses along with their parent categories \u2014 for instance, what parts belong to a fighter jet, and what class of aircraft is that jet part of?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . { SELECT ?var3 ?var1 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P361> ?var1 . } LIMIT 100 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nb,en\". } } LIMIT 100"}}
{"id": "test_4395", "question": "Authors who co-authored works about heart arrhythmia", "sparql": "SELECT ?author1 ?author1Label ?author2 ?author2Label WHERE { ?work wdt:P921 wd:Q189331 . ?work wdt:P50 ?author1 . ?work wdt:P50 ?author2 . FILTER (?author1 != ?author2) . ?author1 rdfs:label ?author1Label . ?author2 rdfs:label ?author2Label . FILTER(LANG(?author1Label) = \"en\") . FILTER(LANG(?author2Label) = \"en\") }", "paraphrases": ["Who are the pairs of distinct authors of publications on heart arrhythmia?", "List all pairs of different authors who wrote works related to heart arrhythmia, along with their names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q189331> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P361> +) <http://www.wikidata.org/entity/Q189331> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P1269> +) <http://www.wikidata.org/entity/Q189331> . } ?var3 <http://www.wikidata.org/prop/direct/P50> ?var1 . ?var3 <http://www.wikidata.org/prop/direct/P50> ?var2 . FILTER ( ( ( ?var1 != ?var2 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_4396", "question": "List of named cats that are instances of house cats.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?cat ?catLabel WHERE {\n  ?cat wdt:P31 wd:Q146 .\n  ?cat rdfs:label ?catLabel .\n  FILTER ( LANG( ?catLabel ) = \"en\" )\n}", "paraphrases": ["Which individual cats are classified as house cats in Wikidata?", "Show me the names of all known cats (real or fictional) that are categorized as house cats."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q146> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } }"}}
{"id": "test_4397", "question": "What is the English label and description of the MoMA artwork with ID 84175?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P2014 \"84175\" . OPTIONAL { ?item schema:description ?description FILTER(LANG(?description) = \"en\") } . ?item rdfs:label ?itemLabel FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["Can you tell me the title and English description of the artwork in the Museum of Modern Art with work ID 84175?", "Show me the English name and description of the MoMA piece identified by the ID 84175."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2014> \"84170\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4398", "question": "What is the English name and description of the artwork in the Museum of Modern Art with ID 118327?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P2014 \"118327\" .\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["Find the title and description in English for the MoMA artwork identified by 118327.", "Tell me about the MoMA piece with ID 118327 \u2014 what is it called and what is it about?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2014> \"15778\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4399", "question": "Spanish Wikipedia article about Shalamar Gardens.", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX schema: <http://schema.org/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?article WHERE {\n  ?article rdf:type schema:Article ; schema:about wd:Q499527 ; schema:inLanguage \"es\" ; schema:isPartOf ?project .\n  ?project wikibase:wikiGroup \"wikipedia\" .\n}", "paraphrases": ["What is the Spanish-language Wikipedia article about Shalamar Gardens?", "Show me the Spanish Wikipedia page for Shalamar Gardens."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q499527> ; <http://schema.org/inLanguage> \"es\"; <http://schema.org/isPartOf> ?var2 . ?var2 <http://wikiba.se/ontology#wikiGroup> \"string1\". } LIMIT 1"}}
{"id": "test_4400", "question": "Top 1000 protected areas by number of features located within them, with French labels.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?protectedArea ?labelFr ?featureCount WHERE {\n  {\n    SELECT ?protectedArea ( COUNT( * ) AS ?featureCount ) WHERE {\n      ?feature wdt:P3018 ?protectedArea .\n    }\n    GROUP BY ?protectedArea\n  }\n  OPTIONAL {\n    ?protectedArea rdfs:label ?labelFr .\n    FILTER ( LANG( ?labelFr ) = \"fr\" )\n  }\n}\nORDER BY DESC ( ?featureCount ) ASC ( ?labelFr )\nLIMIT 1000", "paraphrases": ["Which protected areas contain the most geographical features, and what are their French names?", "List the 1000 most popular protected areas based on how many things are located in them, showing their French labels if available, sorted by popularity and then alphabetically by name."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT (* ) AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P3018> ?var1 . } GROUP BY ?var1 } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"fr\" ) ) ) . } } ORDER BY DESC( ?var3 )ASC( ?var2 ) LIMIT 1000"}}
{"id": "test_4401", "question": "What are the labels for Charlie LaPradd in English, German, French, and Italian, and what is his English Wikipedia article?", "sparql": "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?label ?image ?coordinates ?wikipediaArticle WHERE {\n  VALUES(?lang ?order) {(\"en\" 1)(\"de\" 2)(\"fr\" 3)(\"it\" 4)\n  }\n  OPTIONAL {\n    wd:Q5085129 rdfs:label ?label .\n    FILTER(LANG(?label) = ?lang)\n  }\n  OPTIONAL {\n    wd:Q5085129 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q5085129 wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    ?wikipediaArticle rdf:type schema:Article ; schema:about wd:Q5085129 ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n}\nORDER BY ?order", "paraphrases": ["Can you show me the names of Charlie LaPradd in different languages (English, German, French, Italian) along with his Wikipedia page?", "I want to see Charlie LaPradd\u2019s name in four languages \u2014 English, German, French, and Italian \u2014 ordered by that sequence, and his English Wikipedia link."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q5085129> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var5 ) ) ) . VALUES ( ?var5 ?var6 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q5085129> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q5085129> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q5085129> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var6 )"}}
{"id": "test_4402", "question": "Acker Bilk's date of birth and date of death", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  BIND(wd:Q45610 AS ?person)\n  OPTIONAL {\n    ?person rdfs:label ?personLabel .\n    FILTER(LANG(?personLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate\n  }\n}", "paraphrases": ["When was Acker Bilk born and when did he die?", "What are the birth and death dates of the British clarinetist Acker Bilk?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q45610> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4403", "question": "What are the birth and death dates of Edward Francis Every?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  BIND( wd:Q5342817 AS ?person ) .\n  ?person wdt:P31 wd:Q5 .\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}", "paraphrases": ["Can you tell me the birth and death dates of Edward Every, and why are there two different birth dates listed?", "What is the English label, date of birth, and date of death for the person with Wikidata ID Q5342817?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q5342817> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4404", "question": "What are the birth and death dates of Ann Lee, the founder of the Shakers?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?founderLabel ?birthDate ?deathDate WHERE {\n  wd:Q1370167 wdt:P112 ?founder .\n  ?founder wdt:P31 wd:Q5 .\n  OPTIONAL {\n    ?founder wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?founder wdt:P570 ?deathDate .\n  }\n  ?founder rdfs:label ?founderLabel .\n  FILTER ( LANG( ?founderLabel ) = \"en\" )\n}", "paraphrases": ["Who founded the Shakers, and when were they born and died?", "Tell me the birth and death dates of the founder of the Shakers religious group."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q1370167> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4405", "question": "What are the French descriptions of types of church buildings that contain the word \"\u00e9glise\"?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?subclass ?desc WHERE {\n  ?subclass wdt:P279 * wd:Q16970 .\n  ?subclass schema:description ?desc .\n  FILTER ( LANG( ?desc ) = \"fr\" ) .\n  FILTER ( REGEX( ?desc , \"\u00e9glise\" ) )\n}", "paraphrases": ["French terms for subclasses of church building containing \"\u00e9glise\"", "Show me the French-language descriptions of all types of church buildings, filtered to only those mentioning \"\u00e9glise\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q16970> ; <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"fr\" ) ) ) . FILTER ( ( REGEX ( ?var2 , \"string1\" ) ) ) . }"}}
{"id": "test_4406", "question": "What are the geographic coordinates of the Bornholmer Stra\u00dfe border crossing?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?borderCrossingLabel ?coordinates WHERE {\n  BIND(wd:Q895863 AS ?borderCrossing)\n  ?borderCrossing wdt:P625 ?coordinates .\n  ?borderCrossing rdfs:label ?borderCrossingLabel .\n  FILTER(LANG(?borderCrossingLabel) = \"en\")\n}", "paraphrases": ["Where exactly is the Bornholmer Stra\u00dfe border crossing located?", "Can you tell me the location (coordinates) of the former Berlin Wall checkpoint at Bornholmer Stra\u00dfe?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { BIND ( <http://www.wikidata.org/entity/Q895863> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_4407", "question": "What are the lighthouses in Stockholm County, their municipalities, and their coordinates in degrees, minutes, and seconds?", "sparql": "SELECT ?lighthouse ?lighthouseLabel ?municipality ?municipalityLabel ?latitude ?degrees ?minutes ?seconds ?longitude WHERE { ?lighthouse wdt:P31 wd:Q39715 . ?lighthouse wdt:P131 ?municipality . ?municipality wdt:P131 wd:Q104231 . ?lighthouse p:P625 [ ps:P625 ?coord ; psv:P625 [ wikibase:geoLatitude ?latitude ; wikibase:geoLongitude ?longitude ] ] . BIND( FLOOR( ?latitude ) AS ?degrees ) BIND( FLOOR( ( ?latitude - ?degrees ) * 60.0 ) AS ?minutes ) BIND( FLOOR( ( ( ?latitude - ?degrees ) * 60.0 - ?minutes ) * 60.0 ) AS ?seconds ) ?lighthouse rdfs:label ?lighthouseLabel . ?municipality rdfs:label ?municipalityLabel . FILTER(LANG(?lighthouseLabel) = \"en\") FILTER(LANG(?municipalityLabel) = \"en\") }", "paraphrases": ["List all lighthouses in Stockholm County with their locations and latitude in DMS format.", "Show me the lighthouses in Stockholm County, including the municipality they\u2019re in and their geographic coordinates broken down into degrees, minutes, and seconds."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 WHERE { BIND ( FLOOR ( ?var4 ) AS ?var5 ). BIND ( FLOOR ( ( ( ?var4 - ?var5 ) *\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var6 ). BIND ( FLOOR ( ( ( ( ?var4 - ?var5 ) - ( ?var6 /\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) *\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var7 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q39715> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q104231> . ?var1 <http://www.wikidata.org/prop/P625> [ <http://www.wikidata.org/prop/statement/P625> ?var9 ; <http://www.wikidata.org/prop/statement/value/P625> [ <http://wikiba.se/ontology#geoLongitude> ?var8 ; <http://wikiba.se/ontology#geoLatitude> ?var4 ] ] . }"}}
{"id": "test_4408", "question": "What Wikidata item has the IMDb ID tt3141904?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P345 \"tt3141904\" .\n}", "paraphrases": ["Which movie on Wikidata is identified by the IMDb ID tt3141904?", "I\u2019m looking for the Wikidata entry for the film with IMDb identifier tt3141904 \u2014 can you find it?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt3141904\". }"}}
{"id": "test_4409", "question": "Software items that use PHP and their versions", "sparql": "PREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?statement ?version WHERE {\n  ?statement ps:P408 wd:Q59 .\n  ?item p:P408 ?statement .\n  OPTIONAL {\n    ?statement pq:P348 ?version .\n  }\n}\nLIMIT 101", "paraphrases": ["Which software applications use PHP, and what versions are they running?", "List all software that uses PHP as its engine, along with the version number if specified."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P408> <http://www.wikidata.org/entity/Q59> . ?var1 <http://www.wikidata.org/prop/P408> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_4410", "question": "What Wikidata item has the IMDb ID tt6333054?", "sparql": "SELECT ?movie WHERE { ?movie wdt:P345 \"tt6333054\" . }", "paraphrases": ["Which movie on Wikidata is identified by the IMDb ID tt6333054?", "Find the Wikidata entry for the movie with IMDb ID tt6333054."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6333054\". }"}}
{"id": "test_4411", "question": "Disney movies or shows with two different actors sharing the same first name.", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT DISTINCT ?workLabel ?actor1Label ?actor2Label WHERE {\n  ?work ( wdt:P272 | wdt:P449 ) wd:Q7414 .\n  ?work p:P161 | p:P725 ?stmt1 .\n  ?stmt1 ps:P161 | ps:P725 ?actor1 ; pq:P453 ?role1 .\n  ?work p:P161 | p:P725 ?stmt2 .\n  ?stmt2 ps:P161 | ps:P725 ?actor2 ; pq:P453 ?role2 .\n  ?actor1 wdt:P735 ?givenName .\n  ?actor2 wdt:P735 ?givenName .\n  FILTER ( ?actor1 != ?actor2 ) ?work rdfs:label ?workLabel .\n  ?actor1 rdfs:label ?actor1Label .\n  ?actor2 rdfs:label ?actor2Label .\n  FILTER ( LANG( ?workLabel ) = \"en\" ) FILTER ( LANG( ?actor1Label ) = \"en\" ) FILTER ( LANG( ?actor2Label ) = \"en\" )\n}", "paraphrases": ["Which Disney productions have two different actors with the same first name?", "Find all Disney TV shows and films where two distinct voice actors or performers have identical given names, such as both being named \u201cJohn\u201d or \u201cBill.\u201d"], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var1 ?var2Label ?var3Label WHERE { { ?var1 ( <http://www.wikidata.org/prop/direct/P449> | <http://www.wikidata.org/prop/direct/P272> ) [ ( <http://www.wikidata.org/prop/direct/P127> / <http://www.wikidata.org/prop/direct/P749> *) <http://www.wikidata.org/entity/Q7414> ] . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P449> <http://www.wikidata.org/entity/Q7414> . } ?var1 ( <http://www.wikidata.org/prop/P161> | <http://www.wikidata.org/prop/P725> ) [ ( <http://www.wikidata.org/prop/statement/P161> | <http://www.wikidata.org/prop/statement/P725> ) ?var2 ; <http://www.wikidata.org/prop/qualifier/P453> ?var3 ] . ?var2 <http://www.wikidata.org/prop/direct/P735> ?var4 . ?var3 <http://www.wikidata.org/prop/direct/P735> ?var4 . FILTER ( ( ( ?var2 != ?var3 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4412", "question": "English label, coordinates, and historical countries of London with start and end dates.", "sparql": "SELECT ?londonLabel ?countryLabel ?startDate ?endDate ?latitude ?longitude ?coordinates WHERE { wd:Q84 rdfs:label ?londonLabel . FILTER (LANGMATCHES(LANG(?londonLabel), \"en\")) wd:Q84 wdt:P625 ?coordinates . BIND(geof:latitude(?coordinates) AS ?latitude) BIND(geof:longitude(?coordinates) AS ?longitude) wd:Q84 p:P17 ?statement . ?statement ps:P17 ?country . ?statement pq:P580 ?startDate . ?statement pq:P582 ?endDate . ?country rdfs:label ?countryLabel . FILTER (LANGMATCHES(LANG(?countryLabel), \"en\")) } ORDER BY ?startDate", "paraphrases": ["What are the historical countries London has belonged to, along with their start and end dates, and what are its current coordinates?", "Show me the English name of London, its geographic coordinates, and the timeline of countries it has been part of, including when each period started and ended."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label ?var4Label ?var5 ?var6 ?var7 WHERE { <http://www.wikidata.org/entity/Q84> <http://www.w3.org/2000/01/rdf-schema#label> ?var1 ; <http://www.wikidata.org/prop/P17> ?var8 ; <http://www.wikidata.org/prop/direct/P17> ?var3 ; <http://www.wikidata.org/prop/P625> ?var9 ; <http://www.wikidata.org/prop/direct/P625> ?var7 . ?var8 <http://www.wikidata.org/prop/statement/P17> ?var4 . ?var9 <http://www.wikidata.org/prop/statement/value/P625> ?var10 . ?var10 <http://wikiba.se/ontology#geoLatitude> ?var5 . ?var10 <http://wikiba.se/ontology#geoLongitude> ?var6 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( LANGMATCHES ( LANG ( ?var1 ) , \"EN\" ) ) ) . OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P576> ?var2 . } }"}}
{"id": "test_4413", "question": "Swedish-labeled lighthouses in Stockholm archipelago with DMS coordinates", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nSELECT ?lighthouse ?coordTemplate WHERE {\n  wd:Q15105247 wdt:P527 ?lighthouse .\n  ?lighthouse p:P625 ?statement .\n  ?statement ps:P625 ?coord .\n  ?statement psv:P625 [ wikibase:geoLatitude ?lat ; wikibase:geoLongitude ?lon ] .\n  ?lighthouse rdfs:label ?label .\n  FILTER(LANG(?label) = \"sv\")\n  BIND(FLOOR(?lat) AS ?lat_deg)\n  BIND(FLOOR((?lat - ?lat_deg) * 60) AS ?lat_min)\n  BIND(ROUND(((?lat - ?lat_deg) -(?lat_min / 60)) * 3600 * 10) / 10 AS ?lat_sec)\n  BIND(FLOOR(?lon) AS ?lon_deg)\n  BIND(FLOOR((?lon - ?lon_deg) * 60) AS ?lon_min)\n  BIND(ROUND(((?lon - ?lon_deg) -(?lon_min / 60)) * 3600 * 10) / 10 AS ?lon_sec)\n  BIND(CONCAT(\"{{coord|\" , STR(?lat_deg) , \"|\" , STR(?lat_min) , \"|\" , STR(?lat_sec) , \"|N|\" , STR(?lon_deg) , \"|\" , STR(?lon_min) , \"|\" , STR(?lon_sec) , \"|E|name=\" , STR(?label) , \"}}\") AS ?coordTemplate)\n}", "paraphrases": ["What are the Wikimedia coordinate templates for lighthouses in the Stockholm archipelago that have Swedish labels?", "Generate coordinate templates in DMS format with Swedish names for all lighthouses that are part of the Stockholm archipelago list."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { BIND ( FLOOR ( ?var4 ) AS ?var5 ). BIND ( FLOOR ( ( ( ?var4 - ?var5 ) *\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var6 ). BIND ( ( ROUND ( ( ( ( ?var4 - ?var5 ) - ( ?var6 /\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) *\"36000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) /\"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var7 ). BIND ( FLOOR ( ?var8 ) AS ?var9 ). BIND ( FLOOR ( ( ( ?var8 - ?var9 ) *\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var10 ). BIND ( ( ROUND ( ( ( ( ?var8 - ?var9 ) - ( ?var10 /\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) *\"36000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) /\"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var11 ). BIND ( CONCAT ( \"{{coord|\", STR ( ?var5 ) , \"|\", STR ( ?var6 ) , \"|\", STR ( ?var7 ) , \"|N|\", STR ( ?var9 ) , \"|\", STR ( ?var10 ) , \"|\", STR ( ?var11 ) , \"string1\", STR ( ?var12 ) , \"}}\" ) AS ?var3 ). <http://www.wikidata.org/entity/Q15105247> <http://www.wikidata.org/prop/direct/P527> ?var1 . ?var1 <http://www.wikidata.org/prop/P625> [ <http://www.wikidata.org/prop/statement/P625> ?var13 ; <http://www.wikidata.org/prop/statement/value/P625> [ <http://wikiba.se/ontology#geoLongitude> ?var8 ; <http://wikiba.se/ontology#geoLatitude> ?var4 ] ] . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var12 . FILTER ( ( ( LANG ( ?var12 ) = \"sv\" ) ) ) . }"}}
{"id": "test_4414", "question": "Image of Frederick Rolfe with SNAC ARK ID w6t43r2s", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6t43r2s\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the person having the SNAC ARK ID w6t43r2s?", "Show me the Wikimedia Commons image for Frederick Rolfe, identified by his SNAC ARK ID w6t43r2s."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6t43r2s\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_4415", "question": "All qualifiers and metadata for Dominique Bussereau\u2019s term as a member of the French National Assembly during the 10th legislature of the Fifth French Republic.", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ?person ?statement ?term ?start ?property ?value WHERE {\n  BIND( wd:Q63628 AS ?person ) .\n  BIND( wd:Q3570849 AS ?term ) .\n  ?person wdt:P31 wd:Q5 .\n  ?person p:P39 ?statement .\n  ?statement ps:P39 wd:Q3044918 .\n  ?statement pq:P2937 ?term .\n  ?statement pq:P580 ?start .\n  ?statement ?property ?value .\n}", "paraphrases": ["What are all the details, including start and end times, electoral district, and provenance, about Dominique Bussereau\u2019s service in the French National Assembly during the 10th legislature?", "Show me the complete statement data for Dominique Bussereau\u2019s membership in the French National Assembly from the 10th legislature of the Fifth Republic, including all qualifiers and references."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { BIND ( <http://www.wikidata.org/entity/Q63628> AS ?var1 ). BIND ( <http://www.wikidata.org/entity/Q3570849> AS ?var3 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/P39> ?var2 . ?var2 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q3044918> . ?var2 <http://www.wikidata.org/prop/qualifier/P2937> ?var3 . ?var2 <http://www.wikidata.org/prop/qualifier/P580> ?var4 . ?var2 ?var5 ?var6 . }"}}
{"id": "test_4416", "question": "Victoria and Albert Museum items with English descriptions", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P3929 ?id .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}\nLIMIT 10", "paraphrases": ["What are the English names and descriptions of objects in the Victoria and Albert Museum collection?", "List the items from the Victoria and Albert Museum along with their English labels and descriptions."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3929> \"O1156767\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4417", "question": "What direct properties are used to describe the protein-coding gene in Wikidata?", "sparql": "SELECT DISTINCT ?property WHERE { wd:Q20747295 ?property ?value . FILTER ( STRSTARTS( STR(?property), \"http://www.wikidata.org/prop/direct/\" ) ) }", "paraphrases": ["Which properties link the protein-coding gene class to other entities in Wikidata?", "List all direct statements (wdt:*) about protein-coding genes in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q20747295> . FILTER ( ( STRSTARTS ( STR ( ?var1 ) , \"wdt:\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 4"}}
{"id": "test_4418", "question": "What documents are published by the United Nations, and what additional details (qualifiers) are attached to those publications?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT DISTINCT ?item ?statement(SAMPLE(?qualifierProperty) AS ?qualifier) WHERE {\n  ?item p:P123 ?statement .\n  ?statement ps:P123 wd:Q1065 .\n  OPTIONAL {\n    ?statement ?qualifierProperty ?value .\n    ?qualifierProperty wikibase:qualifier true .\n  }\n}\nGROUP BY ?item ?statement\nLIMIT 101", "paraphrases": ["List the top 101 publications by the United Nations and check if any metadata like publication date or language is recorded as qualifiers.", "Which items have the United Nations as their publisher, and what qualifier properties are used on those publisher statements?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P123> <http://www.wikidata.org/entity/Q1065> . ?var1 <http://www.wikidata.org/prop/P123> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_4419", "question": "Which international organizations include Turkey as a member and when did they start?", "sparql": "SELECT ?member ?startDate WHERE { ?member p:P527 ?statement . ?statement ps:P527 wd:Q43 . ?statement pq:P580 ?startDate . } ORDER BY ?member", "paraphrases": ["For which organizations is Turkey a member, and what is the start date of their membership?", "List the international groups that have Turkey as a part along with the start dates of their membership."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P527> <http://www.wikidata.org/entity/Q43> . ?var1 <http://www.wikidata.org/prop/P527> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_4420", "question": "Metalworking artifacts in the Art Nouveau movement", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P31 wd:Q953045 . ?item wdt:P135 wd:Q34636 . OPTIONAL { ?item rdfs:label ?itemLabel } }", "paraphrases": ["What metalworking objects are associated with the Art Nouveau artistic movement?", "List the metalworking items that are part of the Art Nouveau style."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q953045> . ?var1 <http://www.wikidata.org/prop/direct/P149> <http://www.wikidata.org/entity/Q34636> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,ca\". } }"}}
{"id": "test_4421", "question": "Films and TV series directed, written, or produced by Tyler Perry with AllMovie IDs.", "sparql": "SELECT DISTINCT ?work ?label ?allmovieId WHERE {\n  {\n    ?work wdt:P31 wd:Q11424 .\n  } UNION {\n    ?work wdt:P31 wd:Q5398426 .\n  }\n  ?work rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  {\n    ?work wdt:P57 wd:Q686301 .\n  } UNION {\n    ?work wdt:P58 wd:Q686301 .\n  } UNION {\n    ?work wdt:P162 wd:Q686301 .\n  }\n  ?work wdt:P1562 ?allmovieId .\n}", "paraphrases": ["Which films and television series created by Tyler Perry (as director, screenwriter, or producer) have an AllMovie title ID?", "List the English titles and AllMovie IDs of all films and TV series where Tyler Perry served as director, screenwriter, or producer."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5398426> . } } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . ?var1 ?var4 <http://www.wikidata.org/entity/Q686301> . ?var1 <http://www.wikidata.org/prop/direct/P1562> ?var3 . }"}}
{"id": "test_4422", "question": "What are the labels of entities associated with Beyonc\u00e9, grouped by the property used?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?prop ( GROUP_CONCAT( DISTINCT ?valueLabel ; SEPARATOR = \"|\" ) AS ?values ) WHERE {\n  wd:Q36153 ?prop ?value .\n  OPTIONAL {\n    ?value rdfs:label ?valueLabel .\n    FILTER ( LANG( ?valueLabel ) = \"en\" )\n  }\n  FILTER ( isIRI( ?value ) )\n}\nGROUP BY ?prop", "paraphrases": ["Show all awards and notable works of Beyonc\u00e9 along with the property names that link to them.", "Which entities are linked to Beyonc\u00e9 in Wikidata, and what are their English labels?"], "info": {"raw_sparql": "SELECT ?var1Label ( GROUP_CONCAT ( DISTINCT ?var2Label ; SEPARATOR = \"|\" ) AS ?var2 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P646> \"/m/01mpq7s\". ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var3 ?var4 ?var2 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> \"plain\". OPTIONAL { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> \"plain\". } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } } GROUP BY ?var1Label"}}
{"id": "test_4423", "question": "Cities and their countries in English", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?city ?cityLabel ?country ?countryLabel WHERE {\n  ?city(wdt:P31 / wdt:P279 *) wd:Q515 .\n  ?city wdt:P17 ?country .\n  ?city rdfs:label ?cityLabel .\n  ?country rdfs:label ?countryLabel .\n  FILTER(LANG(?cityLabel) = \"en\")\n  FILTER(LANG(?countryLabel) = \"en\")\n}", "paraphrases": ["What cities are there, and which countries are they in?", "Show me a list of cities with their English names and the corresponding English names of their countries."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4424", "question": "Top Wikidata properties with most disputed values", "sparql": "SELECT ?property ?propertyLabel ( COUNT( ?value ) AS ?disputeCount ) WHERE { ?property rdf:type wikibase:Property ; wikibase:claim ?claim . ?item ?claim ?value . ?value pq:P1310 [] . ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") } GROUP BY ?property ?propertyLabel ORDER BY DESC ( ?disputeCount )", "paraphrases": ["Which properties in Wikidata have the highest number of statements that are disputed by other entities?", "Show me the Wikidata properties whose values are most often contested, ranked by how many times they are disputed."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> ; <http://wikiba.se/ontology#claim> ?var4 . ?var5 ?var4 ?var2 . ?var2 <http://www.wikidata.org/prop/qualifier/P1310> [] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,en\". } } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var3 )"}}
{"id": "test_4425", "question": "What is the English name of the person with Freebase ID /m/0dvmd?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?label WHERE {\n  ?item wdt:P646 \"/m/0dvmd\" .\n  ?item rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["What is Leonardo DiCaprio's name in English according to Wikidata?", "Please return the English label for the Wikidata entity that has the Freebase ID /m/0dvmd."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SELECT( \"name\" AS ?var1 )( ?var3 AS ?var2 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P646> \"/m/0dvmd\". OPTIONAL { ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } } }"}}
{"id": "test_4426", "question": "Swedish names of all occupations and occupation-related entities in Wikidata", "sparql": "SELECT DISTINCT ?occupation ?label WHERE { ?occupation (wdt:P31/wdt:P279*) wd:Q12737077 ; rdfs:label ?label . FILTER(LANG(?label) = \"sv\") } ORDER BY ASC(LCASE(?label))", "paraphrases": ["What are the Swedish labels for entities classified as occupations in Wikidata?", "List all Swedish-language labels for occupations and their subclasses in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q12737077> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"sv\" ) ) ) . } ORDER BY ASC( LCASE ( ?var2 ) )"}}
{"id": "test_4427", "question": "Labels for Leonardo DiCaprio in all languages", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT(COALESCE(?label , ?entity) AS ?labelOrUri) WHERE {\n  ?entity wdt:P646 \"/m/0dvmd\" .\n  OPTIONAL {\n    ?entity rdfs:label ?label .\n  }\n}", "paraphrases": ["What are the names of Leonardo DiCaprio in different languages?", "Show me all the localized names of Leonardo DiCaprio from Wikidata."], "info": {"raw_sparql": "SELECT( COALESCE ( ?var1Label , ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P646> \"/m/0dvmd\". OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } }"}}
{"id": "test_4428", "question": "Watercourses that flow into another body of water, with English names", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?var1 ?var1Label WHERE {\n  ?var1 wdt:P403 ?mouth .\n  OPTIONAL {\n    ?var1 rdfs:label ?var1Label .\n    FILTER(LANG(?var1Label) = \"en\")\n  }\n}\nLIMIT 11", "paraphrases": ["What are some rivers or streams that have a known mouth or outlet, and what are their English names?", "List up to 11 watercourses that drain into another body of water, along with their English labels if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P403> _:bnode . } LIMIT 11 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4429", "question": "Companies in the arms industry with official websites and their countries.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?company ?companyLabel ?website ?countryLabel WHERE {\n  ?company wdt:P452 wd:Q392933 .\n  ?company wdt:P856 ?website .\n  ?company wdt:P17 ?country .\n  ?company rdfs:label ?companyLabel .\n  ?country rdfs:label ?countryLabel .\n  FILTER ( LANG( ?companyLabel ) = \"en\" ) FILTER ( LANG( ?countryLabel ) = \"en\" )\n}", "paraphrases": ["Which companies operate in the arms industry, what are their official websites, and in which countries are they based?", "Please list all companies involved in arms manufacturing, along with their official websites and the countries where they are located."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P452> <http://www.wikidata.org/entity/Q392933> . ?var1 <http://www.wikidata.org/prop/direct/P856> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr, en\". } }"}}
{"id": "test_4430", "question": "Japanese Wikipedia pages for films and TV series from Japan with IMDb IDs.", "sparql": "SELECT ?imdb ?page WHERE { { ?item wdt:P31 wd:Q11424 . ?item wdt:P495 wd:Q17 . } UNION { ?item wdt:P31 wd:Q5398426 . ?item wdt:P495 wd:Q17 . } ?page schema:about ?item . ?page schema:inLanguage \"ja\" . ?item wdt:P345 ?imdb . }", "paraphrases": ["What are the Japanese-language Wikipedia pages for Japanese films and TV shows, along with their IMDb identifiers?", "List the IMDb IDs and corresponding Japanese Wikipedia/Wikisource links for all films and television series originating from Japan."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var3 <http://www.wikidata.org/prop/direct/P495> <http://www.wikidata.org/entity/Q17> . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5398426> . ?var3 <http://www.wikidata.org/prop/direct/P495> <http://www.wikidata.org/entity/Q17> . } ?var2 <http://schema.org/about> ?var3 . ?var2 <http://schema.org/inLanguage> \"ja\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var3 <http://www.wikidata.org/prop/direct/P345> ?var1 . }"}}
{"id": "test_4431", "question": "What are the Persian labels of all abstract categories that the band Oasis belongs to, including its superclasses?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?category ?label WHERE {\n  wd:Q382890 wdt:P31 ?type .\n  ?type(wdt:P31 | wdt:P279) * ?category .\n  ?category rdfs:label ?label .\n  FILTER(LANG(?label) = \"fa\")\n}", "paraphrases": ["Persian names of ontological categories for Oasis (rock band)", "Show me all the high-level conceptual classes (in Persian) that Oasis is classified under, through its type hierarchy."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { { ?var3 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var4 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> )* ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( ?var3 = <http://www.wikidata.org/entity/Q382890> ) ) ) . FILTER ( ( ( LANG ( ?var2 ) = \"fa\" ) ) ) . } }"}}
{"id": "test_4432", "question": "What are the ontological categories that the Universe belongs to?", "sparql": "SELECT DISTINCT ?superclass ?label WHERE { wd:Q1 wdt:P31 ?class . ?class wdt:P279* ?superclass . ?superclass rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["What are all the superclass categories of the class that the Universe is an instance of?", "List all English-labeled abstract classes that the Universe is indirectly classified under through subclass relationships."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { { ?var3 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var4 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> )* ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( ?var3 = <http://www.wikidata.org/entity/Q1> ) ) ) . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_4433", "question": "Who are the art historians on Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P106 wd:Q1792450 .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = 'en')\n}", "paraphrases": ["Which people have the occupation of art historian?", "List the names of all individuals whose profession is art historian."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1792450> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_4434", "question": "Wikidata properties forbidden from being used on disambiguation pages", "sparql": "SELECT ?property ?propertyLabel WHERE { ?property p:P2302 [ ps:P2302 wd:Q21502838 ; pq:P2306 wd:P31 ; pq:P2305 wd:Q4167410 ] . ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") }", "paraphrases": ["Which properties in Wikidata cannot be applied to items that are disambiguation pages?", "List all Wikidata properties that have a constraint preventing their use on disambiguation pages."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/P2302> [ <http://www.wikidata.org/prop/statement/P2302> <http://www.wikidata.org/entity/Q21502838> ; <http://www.wikidata.org/prop/qualifier/P2306> <http://www.wikidata.org/entity/P31> ; <http://www.wikidata.org/prop/qualifier/P2305> <http://www.wikidata.org/entity/Q4167410> ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_4435", "question": "Lexemes incorrectly classified as ordinal numbers with their lemma forms", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?lexeme ?lemma WHERE {\n  ?lexeme wdt:P31 wd:Q191780 .\n  ?lexeme wikibase:lemma ?lemma .\n}", "paraphrases": ["What are the words (lemmas) for ordinal numbers in Wikidata, even if they are incorrectly tagged as instances of ordinal number?", "List the actual words (like \"first\", \"second\") that have been mistakenly labeled as instances of ordinal number in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q191780> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es\". } }"}}
{"id": "test_4436", "question": "Items in Orlando, Florida with coordinates between longitude -81.6 and -81.2 and latitude 28.3 and 28.7, including their images and Wikimedia Commons categories.", "sparql": "SELECT ?item ?label ?location ?image ?commonsCategory WHERE {\n  ?item wdt:P625 ?location .\n  ?item rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  BIND(xsd:double(REPLACE(STR(?location), \"POINT\\\\(([-+]?[0-9]*\\\\.?[0-9]+) ([-+]?[0-9]*\\\\.?[0-9]+)\\\\)\", \"$1\")) AS ?lon)\n  BIND(xsd:double(REPLACE(STR(?location), \"POINT\\\\(([-+]?[0-9]*\\\\.?[0-9]+) ([-+]?[0-9]*\\\\.?[0-9]+)\\\\)\", \"$2\")) AS ?lat)\n  FILTER(?lon >= -81.6 && ?lon <= -81.2)\n  FILTER(?lat >= 28.3 && ?lat <= 28.7)\n  OPTIONAL { ?item wdt:P18 ?image . }\n  OPTIONAL { ?item wdt:P373 ?commonsCategory . }\n} LIMIT 3000", "paraphrases": ["What are the places in the Orlando area with their images and associated Wikimedia Commons categories, located between 28.3\u00b0N and 28.7\u00b0N latitude and 81.6\u00b0W and 81.2\u00b0W longitude?", "Show me all notable locations in central Florida near Orlando, along with their photos and Commons categories, within the geographic bounds of 28.3\u201328.7\u00b0N and 81.2\u201381.6\u00b0W."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(-82 29)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(-82 30)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_4437", "question": "What are the most common types of items in Wikidata, along with their English labels and descriptions?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?type ?typeLabel ?typeDescription WHERE {\n  ?item wdt:P31 ?type .\n  ?type rdfs:label ?typeLabel .\n  ?type schema:description ?typeDescription .\n  FILTER ( LANG( ?typeLabel ) = \"en\" ) .\n  FILTER ( LANG( ?typeDescription ) = \"en\" ) .\n}\nLIMIT 100", "paraphrases": ["Can you list 100 types of entities in Wikidata, including their English names and descriptions?", "Show me up to 100 classes (types) that items in Wikidata belong to, along with their English labels and descriptions."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/qualifier/P31> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_4438", "question": "Official name, country, coordinates, and types of London, excluding dissolved countries.", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nSELECT DISTINCT ?officialName ?countryLabel ?latitude ?longitude ?instanceType ?instanceTypeLabel WHERE {\n  wd:Q84 wdt:P1448 ?officialName ; wdt:P31 ?instanceType ; p:P17 ?countryStmt ; p:P625 ?coordStmt .\n  ?countryStmt ps:P17 ?country .\n  ?coordStmt psv:P625 ?coordValue .\n  ?coordValue wikibase:geoLatitude ?latitude .\n  ?coordValue wikibase:geoLongitude ?longitude .\n  ?country rdfs:label ?countryLabel .\n  ?instanceType rdfs:label ?instanceTypeLabel .\n  FILTER(LANG(?countryLabel) = \"en\")\n  FILTER(LANG(?instanceTypeLabel) = \"en\")\n  FILTER(NOT EXISTS {\n    ?country wdt:P576 ?dissolvedDate\n  })\n}", "paraphrases": ["What is London\u2019s official name, its country, coordinates, and what types of places is it classified as, ensuring the country is still existing?", "Show me London\u2019s official name, its country (only if not dissolved), geographic coordinates, and all its instance-of classifications, with labels in English."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3 ?var4 ?var5 ?var5Label WHERE { <http://www.wikidata.org/entity/Q84> <http://www.wikidata.org/prop/direct/P1448> ?var1 ; <http://www.wikidata.org/prop/direct/P31> ?var5 ; <http://www.wikidata.org/prop/P17> ?var6 ; <http://www.wikidata.org/prop/P625> ?var7 . ?var6 <http://www.wikidata.org/prop/statement/P17> ?var2 . FILTER ( ( NOT EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P576> ?var8 . } ) ) . ?var7 <http://www.wikidata.org/prop/statement/value/P625> ?var9 . ?var9 <http://wikiba.se/ontology#geoLatitude> ?var3 . ?var9 <http://wikiba.se/ontology#geoLongitude> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4439", "question": "English label, description, and image of Voltaire", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?label ?description ?image WHERE {\n  OPTIONAL {\n    wd:Q1789126 rdfs:label ?label\n    FILTER(LANG(?label) = \"en\")\n  }\n  OPTIONAL {\n    wd:Q1789126 schema:description ?description\n    FILTER(LANG(?description) = \"en\")\n  }\n  OPTIONAL {\n    wd:Q1789126 wdt:P18 ?image\n  }\n}", "paraphrases": ["What is the English label, description, and image of the person Voltaire?", "Please provide the English label, description, and image for Voltaire."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q1789126> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q1789126> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q1789126> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_4440", "question": "Which museums have the most items located in them, based on Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?museum ?museumLabel(COUNT(*) AS ?count) WHERE {\n  ?museum(wdt:P31 / wdt:P279 *) wd:Q33506 .\n  ?item wdt:P276 ?museum .\n  ?museum rdfs:label ?museumLabel .\n  FILTER(LANG(?museumLabel) = \"en\")\n}\nGROUP BY ?museum ?museumLabel\nORDER BY DESC(?count)", "paraphrases": ["What are the top museums by the number of items associated with them as their location, and how many items are linked to each?", "Show me the museums with the highest number of items located in them, along with their names and counts."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT (* ) AS ?var2 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q33506> . ?var3 <http://www.wikidata.org/prop/direct/P276> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } GROUP BY ?var1 ?var1Label"}}
{"id": "test_4441", "question": "What administrative regions and continents is the village of Endokisi part of?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?location WHERE {\n  wd:Q12482485(wdt:P131 | wdt:P17 | wdt:P30) * ?location .\n  FILTER(?location != wd:Q12482485)\n}", "paraphrases": ["List all locations connected to Endokisi through its country, administrative divisions, or continent.", "Show the geographic and political hierarchy above Endokisi, including its country and continent."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q12482485> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_4442", "question": "What are the names and flag images of two countries in English?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?country ?countryLabel ?image WHERE {\n  ?country wdt:P31 wd:Q6256 .\n  ?country rdfs:label ?countryLabel .\n  OPTIONAL {\n    ?country wdt:P18 ?image .\n  }\n  FILTER ( LANG( ?countryLabel ) = \"en\" )\n}\nLIMIT 2", "paraphrases": ["Can you show me the English labels and images of two countries?", "List two countries with their English names and corresponding flag images from Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var3 ) ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var4 <http://schema.org/about> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en,fr,es,de,ru,it,nl,ja,zh,pl,cs\". } } GROUP BY ?var1 ?var1Label ?var2 ?var4 LIMIT 2"}}
{"id": "test_4443", "question": "Authors who co-authored works about alcohol abuse or its subclasses.", "sparql": "SELECT ?author1 ?author1Label ?author2 ?author2Label WHERE { ?work wdt:P921/wdt:P279* wd:Q7331102 . ?work wdt:P50 ?author1 . ?work wdt:P50 ?author2 . FILTER (?author1 != ?author2) . ?author1 rdfs:label ?author1Label . ?author2 rdfs:label ?author2Label . FILTER (LANG(?author1Label) = \"en\") . FILTER (LANG(?author2Label) = \"en\") }", "paraphrases": ["Which pairs of different authors have written works where alcohol abuse is the main topic?", "List all pairs of co-authors of publications whose main subject is alcohol abuse or a more specific type of it, along with their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7331102> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P361> +) <http://www.wikidata.org/entity/Q7331102> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P1269> +) <http://www.wikidata.org/entity/Q7331102> . } ?var3 <http://www.wikidata.org/prop/direct/P50> ?var1 . ?var3 <http://www.wikidata.org/prop/direct/P50> ?var2 . FILTER ( ( ( ?var1 != ?var2 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_4444", "question": "Works about academic journals with multiple authors and their names", "sparql": "SELECT ?author1 ?author1Label ?author2 ?author2Label WHERE { ?work wdt:P921 wd:Q13442814 . ?work wdt:P50 ?author1 . ?work wdt:P50 ?author2 . FILTER (?author1 != ?author2) OPTIONAL { ?author1 rdfs:label ?author1Label . FILTER(LANG(?author1Label) = \"en\") } OPTIONAL { ?author2 rdfs:label ?author2Label . FILTER(LANG(?author2Label) = \"en\") } } LIMIT 10", "paraphrases": ["Which works about academic journals have more than one author, and who are they?", "List pairs of different authors of works that have academic journals as their main subject."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3543449> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P361> +) <http://www.wikidata.org/entity/Q3543449> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P1269> +) <http://www.wikidata.org/entity/Q3543449> . } ?var3 <http://www.wikidata.org/prop/direct/P50> ?var1 . ?var3 <http://www.wikidata.org/prop/direct/P50> ?var2 . FILTER ( ( ( ?var1 != ?var2 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_4445", "question": "Diseases without a health specialty that have an ICD-10 code", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?disease ?diseaseLabel ?icdCode WHERE {\n  ?disease wdt:P31 wd:Q12136 .\n  ?disease wdt:P494 ?icdCode .\n  FILTER NOT EXISTS {\n    ?disease wdt:P1995 ?specialty\n  }\n  .\n  OPTIONAL {\n    ?disease rdfs:label ?diseaseLabel FILTER ( LANG( ?diseaseLabel ) = 'en' )\n  }\n}", "paraphrases": ["What diseases are classified with an ICD-10 code but do not have an associated medical specialty?", "List diseases that have an ICD-10 identifier but are not linked to any medical specialty, along with their English labels and ICD-10 codes."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q12136> . ?var1 <http://www.wikidata.org/prop/direct/P494> ?var4 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1995> ?var5 . } BIND ( SUBSTR ( ?var4 ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var6 ). BIND ( <http://www.w3.org/2001/XMLSchema#integer> ( CONCAT ( \"1\", SUBSTR ( ?var4 ,\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) AS ?var7 ). BIND ( IF ( STRSTARTS ( ?var6 , \"A|B\" ) , \"Q788926\", ( \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> /\"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var8 ). BIND ( IF ( STRSTARTS ( ?var6 , \"C|D\" ) && STRSTARTS ( ?var6 , \"C\" ) || ( \"99\"^^<http://www.w3.org/2001/XMLSchema#integer> < ?var7 ) && ( ?var7 < \"150\"^^<http://www.w3.org/2001/XMLSchema#integer> ), \"Q162555\", ( \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> /\"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var9 ). BIND ( COALESCE ( ?var8 , ?var9 , ?var10 , ?var11 , ?var12 , ?var13 , ?var14 , ?var15 , ?var16 , ?var17 , ?var18 , ?var19 , ?var20 , ?var21 , ?var22 , ?var23 , ?var24 ,\"000000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3 ). FILTER ( ( !( BOUND ( ?var5 ) ) ) ) . VALUES ( ?var2 ) { ( \"P1995\" ) } VALUES ( ?var3 ) { ( \"Q788926\" ) ( \"Q162555\" ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4446", "question": "Book with ISBN 9780307264701 and its author", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?book ?isbn ?author WHERE {\n  ?book wdt:P212 ?isbn .\n  ?book wdt:P31 wd:Q571 .\n  OPTIONAL {\n    ?book wdt:P50 ?author .\n  }\n  FILTER ( REPLACE( ?isbn , \"-\" , \"\" ) = \"9780307264701\" )\n}\nLIMIT 10", "paraphrases": ["What book has the ISBN 978-0-307-26470-1, and who is its author?", "Show me the book with ISBN 9780307264701 and, if available, its author."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P212> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q571> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P50> ?var3 . } FILTER ( ( ( REPLACE ( ?var2 , \"-\", \"\" ) = \"9780307237699\" ) ) ) . } LIMIT 10"}}
{"id": "test_4447", "question": "What is the English label for the Wikidata item \"American television sitcom\"?", "sparql": "SELECT ?sitcomType ?sitcomTypeLabel WHERE { BIND( wd:Q21188110 AS ?sitcomType ) . ?sitcomType rdfs:label ?sitcomTypeLabel . FILTER(LANG(?sitcomTypeLabel) = \"en\") }", "paraphrases": ["Tell me the name of the category for American TV sitcoms in Wikidata.", "What is Wikidata's term for a U.S.-originated television sitcom?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { BIND ( <http://www.wikidata.org/entity/Q21188110> AS ?var1 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4448", "question": "List proposed buildings and structures with their English names and images from Wikimedia Commons.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item(STR(?itemLabel) AS ?label) ?image WHERE {\n  ?item wdt:P31 wd:Q811683 .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANGMATCHES(LANG(?itemLabel) , \"en\"))\n}\nLIMIT 100", "paraphrases": ["What are the proposed buildings or structures that have English labels and associated images on Wikimedia Commons?", "Show me up to 100 proposed buildings or structures, including their English names and any available images from Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q811683> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_4449", "question": "Books about Beethoven with ISBN numbers", "sparql": "SELECT ?book ?isbn ?title WHERE { ?book wdt:P31 wd:Q571 . ?book wdt:P921 wd:Q255 . ?book wdt:P212 ?isbn . ?book wdt:P1476 ?title . } LIMIT 10", "paraphrases": ["What are the books about Beethoven that have an ISBN-13 identifier?", "List the titles and ISBNs of books that are about Ludwig van Beethoven."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q571> . ?var1 <http://www.wikidata.org/prop/direct/P212> ?var2 . ?var3 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://de.wikipedia.org/> . ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var4 . FILTER ( ( ( ?var4 = \"Beethoven\"@de ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10"}}
{"id": "test_4450", "question": "List the Wikimedia infobox templates and related categories: infobox template, infobox templates category, and infobox template showing only Wikidata data.", "sparql": "SELECT ?item WHERE { VALUES ?item { wd:Q19887878 wd:Q23894246 wd:Q25826840 } }", "paraphrases": ["What are the Wikidata items representing Wikimedia infobox templates, their categories, and templates that use only Wikidata data?", "Please return the Wikidata entity IDs for the Wikimedia infobox template, the infobox templates category, and the infobox template that displays only Wikidata-sourced data."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ?var2 ?var3 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167410> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q17633526> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q17379835> . } VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q19887878> ) ( <http://www.wikidata.org/entity/Q23894246> ) ( <http://www.wikidata.org/entity/Q25826840> ) } }"}}
{"id": "test_4451", "question": "Canadian entities excluding Wikimedia disambiguation pages, templates, news articles, and help pages.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?item WHERE {\n  VALUES ?item {\n    wd:Q16851349 wd:Q1032155 wd:Q1031987 wd:Q2935769 wd:Q954272 wd:Q15207071 wd:Q20672639 wd:Q1052117 wd:Q25392048 wd:Q1031974 wd:Q1052108 wd:Q3654816 wd:Q5029268 wd:Q19145226 wd:Q21518833 wd:Q2935772 wd:Q33134719 wd:Q24192185 wd:Q1031924 wd:Q2117 wd:Q1031932 wd:Q1031938 wd:Q1031949 wd:Q1031952 wd:Q582899\n  } MINUS {\n    ?item wdt:P31 wd:Q4167410\n  } MINUS {\n    ?item wdt:P31 wd:Q17633526\n  } MINUS {\n    ?item wdt:P31 wd:Q11266439\n  } MINUS {\n    ?item wdt:P31 wd:Q4167836\n  }\n}", "paraphrases": ["Which Canadian-related items on Wikidata are real-world entities and not Wikimedia system pages like disambiguation pages or templates?", "List all Canadian entities from this set that are not Wikimedia internal pages such as disambiguation pages, templates, or news articles."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ?var2 ?var3 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167410> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q17633526> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11266439> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167836> . } VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q16851349> ) ( <http://www.wikidata.org/entity/Q1032155> ) ( <http://www.wikidata.org/entity/Q1031987> ) ( <http://www.wikidata.org/entity/Q2935769> ) ( <http://www.wikidata.org/entity/Q954272> ) ( <http://www.wikidata.org/entity/Q15207071> ) ( <http://www.wikidata.org/entity/Q20672639> ) ( <http://www.wikidata.org/entity/Q1052117> ) ( <http://www.wikidata.org/entity/Q25392048> ) ( <http://www.wikidata.org/entity/Q1031974> ) ( <http://www.wikidata.org/entity/Q1052108> ) ( <http://www.wikidata.org/entity/Q3654816> ) ( <http://www.wikidata.org/entity/Q5029268> ) ( <http://www.wikidata.org/entity/Q19145226> ) ( <http://www.wikidata.org/entity/Q21518833> ) ( <http://www.wikidata.org/entity/Q2935772> ) ( <http://www.wikidata.org/entity/Q33134719> ) ( <http://www.wikidata.org/entity/Q24192185> ) ( <http://www.wikidata.org/entity/Q1031924> ) ( <http://www.wikidata.org/entity/Q2117> ) ( <http://www.wikidata.org/entity/Q1031932> ) ( <http://www.wikidata.org/entity/Q582899> ) ( <http://www.wikidata.org/entity/Q1031938> ) ( <http://www.wikidata.org/entity/Q1031949> ) ( <http://www.wikidata.org/entity/Q1031952> ) } }"}}
{"id": "test_4452", "question": "What country and state is Feira de Santana located in?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?location WHERE {\n  wd:Q194343(wdt:P30 | wdt:P17 | wdt:P131) ?location\n}", "paraphrases": ["Which administrative divisions and continent include Feira de Santana?", "Tell me the political and geographic hierarchy of Feira de Santana, Brazil."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q194343> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_4453", "question": "Most common types of entities in Wikidata", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?type ?typeLabel WHERE {\n  ?item wdt:P31 ?type .\n  FILTER(STRSTARTS(STR(?type) , \"http://www.wikidata.org/entity/\"))\n  .\n  OPTIONAL {\n    ?type rdfs:label ?typeLabel .\n    FILTER(LANG(?typeLabel) = \"en\")\n  }\n}\nGROUP BY ?type ?typeLabel\nORDER BY DESC(COUNT(?item))\nLIMIT 10", "paraphrases": ["What are the most frequently used categories for items in Wikidata?", "List the top 10 most common classes of entities in Wikidata, along with their English labels."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?var1 . } LIMIT 200 OFFSET 2"}}
{"id": "test_4454", "question": "Which of these entities are not Wikimedia system pages (disambiguation, template, project, help, or Wikinews pages)?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?entity WHERE {\n  VALUES ?entity {\n    wd:Q359033 wd:Q12798906 wd:Q4364849 wd:Q864086 wd:Q1164976 wd:Q656407 wd:Q21431139 wd:Q341966 wd:Q24211989 wd:Q2099354 wd:Q29431941 wd:Q22168102 wd:Q2099326 wd:Q2099329 wd:Q29051152 wd:Q11819689 wd:Q28004916 wd:Q29433084 wd:Q29051150 wd:Q22168141 wd:Q1465537 wd:Q2404634 wd:Q21051378 wd:Q20552521 wd:Q2099336\n  } MINUS {\n    ?entity wdt:P31 wd:Q4167410 .\n  } MINUS {\n    ?entity wdt:P31 wd:Q17633526 .\n  } MINUS {\n    ?entity wdt:P31 wd:Q11266439 .\n  } MINUS {\n    ?entity wdt:P31 wd:Q4167836 .\n  } MINUS {\n    ?entity wdt:P31 wd:Q14204246 .\n  }\n}", "paraphrases": ["From the list of places and surnames including Pless\u00e9, Ples, Plessow, and others, which ones are real-world entities and not Wikimedia internal pages?", "Please return the entities from this list that are not instances of disambiguation pages, templates, project pages, help pages, or Wikinews articles."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ?var2 ?var3 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167410> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q17633526> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11266439> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167836> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q14204246> . } VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q359033> ) ( <http://www.wikidata.org/entity/Q12798906> ) ( <http://www.wikidata.org/entity/Q4364849> ) ( <http://www.wikidata.org/entity/Q864086> ) ( <http://www.wikidata.org/entity/Q1164976> ) ( <http://www.wikidata.org/entity/Q656407> ) ( <http://www.wikidata.org/entity/Q21431139> ) ( <http://www.wikidata.org/entity/Q341966> ) ( <http://www.wikidata.org/entity/Q24211989> ) ( <http://www.wikidata.org/entity/Q2099354> ) ( <http://www.wikidata.org/entity/Q29431941> ) ( <http://www.wikidata.org/entity/Q22168102> ) ( <http://www.wikidata.org/entity/Q2099326> ) ( <http://www.wikidata.org/entity/Q2099329> ) ( <http://www.wikidata.org/entity/Q29051152> ) ( <http://www.wikidata.org/entity/Q11819689> ) ( <http://www.wikidata.org/entity/Q28004916> ) ( <http://www.wikidata.org/entity/Q29433084> ) ( <http://www.wikidata.org/entity/Q29051150> ) ( <http://www.wikidata.org/entity/Q22168141> ) ( <http://www.wikidata.org/entity/Q1465537> ) ( <http://www.wikidata.org/entity/Q2404634> ) ( <http://www.wikidata.org/entity/Q21051378> ) ( <http://www.wikidata.org/entity/Q20552521> ) ( <http://www.wikidata.org/entity/Q2099336> ) } }"}}
{"id": "test_4455", "question": "Languages with ISO 639-3 codes and their associated ISO 639-1, ISO 639-2, ISO 639-5, Glottolog, Linguasphere, and IETF language tags.", "sparql": "SELECT DISTINCT ?lang ?langLabel ?iso639_1 ?iso639_2 ?iso639_3 ?iso639_5 ?glottolog ?linguasphere ?ietf WHERE { ?lang wdt:P31 wd:Q34770 ; wdt:P220 ?iso639_3 . OPTIONAL { ?lang wdt:P218 ?iso639_1 . } OPTIONAL { ?lang wdt:P219 ?iso639_2 . } OPTIONAL { ?lang wdt:P1798 ?iso639_5 . } OPTIONAL { ?lang wdt:P1394 ?glottolog . } OPTIONAL { ?lang wdt:P1396 ?linguasphere . } OPTIONAL { ?lang wdt:P305 ?ietf . } ?lang rdfs:label ?langLabel . FILTER(LANG(?langLabel) = \"en\") } ORDER BY ASC(?iso639_3)", "paraphrases": ["What are the English names and all standardized language codes (ISO 639-1/2/3/5, Glottolog, Linguasphere, IETF) for individual languages in Wikidata, ordered by ISO 639-3 code?", "List all languages (not language families) that have an ISO 639-3 code, along with their English names and other language identifiers like ISO 639-1, Glottolog, and IETF tags, sorted by ISO 639-3."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P220> ?var4 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P218> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P219> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P220> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1798> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1396> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1394> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P305> ?var7 . } FILTER ( ( NOT EXISTS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var9 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var4 )"}}
{"id": "test_4456", "question": "Types of croissants and their names", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?subclass ?subclassLabel WHERE {\n  ?subclass wdt:P279 * wd:Q207832 .\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER ( LANG( ?subclassLabel ) = \"en\" )\n}", "paraphrases": ["What are the different kinds of croissants, including subtypes like chocolate or almond?", "List all subclasses of croissant with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q207832> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_4457", "question": "English labels for NRE-related genes, proteins, and organizations including Q165337, Q18033994, Q2746884, etc.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?item ?itemLabel WHERE {\n  VALUES ?item {\n    wd:Q165337 wd:Q21988915 wd:Q24788500 wd:Q18298946 wd:Q3334494 wd:Q10335131 wd:Q18072347 wd:Q24406392 wd:Q24583316 wd:Q18033994 wd:Q18256088 wd:Q2746884 wd:Q17219434 wd:Q19876394 wd:Q19321762 wd:Q21124522 wd:Q21988150 wd:Q30290927 wd:Q30272749 wd:Q28556421 wd:Q30459855 wd:Q17155169 wd:Q21119803 wd:Q23169445 wd:Q24111239\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["What are the English names of the 25 Wikidata items such as NREP, NRENum.net, and Neurosurgery Research & Education Foundation?", "Please list the English labels for these 25 biological and organizational entities from Wikidata: Q165337, Q18033994, Q18072347, Q21119803, Q2746884, Q30272749, and others."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ?var2 ?var3 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167410> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q17633526> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11266439> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167836> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q14204246> . } VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q165337> ) ( <http://www.wikidata.org/entity/Q21988915> ) ( <http://www.wikidata.org/entity/Q24788500> ) ( <http://www.wikidata.org/entity/Q18298946> ) ( <http://www.wikidata.org/entity/Q3334494> ) ( <http://www.wikidata.org/entity/Q10335131> ) ( <http://www.wikidata.org/entity/Q18072347> ) ( <http://www.wikidata.org/entity/Q24406392> ) ( <http://www.wikidata.org/entity/Q24583316> ) ( <http://www.wikidata.org/entity/Q18033994> ) ( <http://www.wikidata.org/entity/Q18256088> ) ( <http://www.wikidata.org/entity/Q2746884> ) ( <http://www.wikidata.org/entity/Q17219434> ) ( <http://www.wikidata.org/entity/Q19876394> ) ( <http://www.wikidata.org/entity/Q19321762> ) ( <http://www.wikidata.org/entity/Q21124522> ) ( <http://www.wikidata.org/entity/Q21988150> ) ( <http://www.wikidata.org/entity/Q30290927> ) ( <http://www.wikidata.org/entity/Q30272749> ) ( <http://www.wikidata.org/entity/Q28556421> ) ( <http://www.wikidata.org/entity/Q30459855> ) ( <http://www.wikidata.org/entity/Q17155169> ) ( <http://www.wikidata.org/entity/Q21119803> ) ( <http://www.wikidata.org/entity/Q23169445> ) ( <http://www.wikidata.org/entity/Q24111239> ) } }"}}
{"id": "test_4458", "question": "What companies are in the Internet of Things industry, and do they have official images?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity ?entityLabel ?image WHERE {\n  ?entity wdt:P452 wd:Q251212 .\n  OPTIONAL {\n    ?entity wdt:P18 ?image .\n  }\n  ?entity rdfs:label ?entityLabel .\n  FILTER ( LANG( ?entityLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["List the English names of companies operating in the Internet of Things sector along with their logos or images from Wikimedia Commons.", "Which organizations are associated with the Internet of Things industry, and what are their official images?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P452> <http://www.wikidata.org/entity/Q33381136> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_4459", "question": "What are the Russian labels and descriptions of Wikidata properties that are specialized image types (like signature or logo)?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?imageProperty ?label ?description WHERE {\n  wd:P18 wdt:P1659 ?imageProperty .\n  ?imageProperty rdfs:label ?label .\n  ?imageProperty schema:description ?description .\n  FILTER ( LANG( ?label ) = \"ru\" ) .\n  FILTER ( LANG( ?description ) = \"ru\" ) .\n}", "paraphrases": ["Show me the Russian names and descriptions of image-related properties in Wikidata, such as signatures or logos.", "Which image-related properties in Wikidata have Russian-language labels and descriptions?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P18> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"ru\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"ru\" ) ) ) . }"}}
{"id": "test_4460", "question": "What are the coordinates of Vr\u00e5ng\u00f6 and the municipality it belongs to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?vragoCoords ?adminCoords WHERE {\n  wd:Q1784845 wdt:P625 ?vragoCoords .\n  OPTIONAL {\n    wd:Q1784845 wdt:P131 ?adminEntity .\n    ?adminEntity wdt:P625 ?adminCoords .\n  }\n}", "paraphrases": ["Where is Vr\u00e5ng\u00f6 located, and where is the center of the administrative area it is part of?", "Can you tell me the geographic coordinates of Vr\u00e5ng\u00f6 and its parent administrative entity?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q1784845> <http://www.wikidata.org/prop/direct/P625> ?var1 . OPTIONAL { <http://www.wikidata.org/entity/Q1784845> <http://www.wikidata.org/prop/direct/P131> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var2 . } }"}}
{"id": "test_4461", "question": "Volcanic landforms in India", "sparql": "SELECT DISTINCT ?volcanicFeature ?label WHERE { ?volcanicFeature (wdt:P31/wdt:P279*) wd:Q29025902 . ?volcanicFeature rdfs:label ?label . ?volcanicFeature wdt:P17 wd:Q668 . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["What are the volcanic landforms located in India?", "List the English names of all volcanic landforms (including subclasses and instances) in India."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q29025902> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q668> . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . }"}}
{"id": "test_4462", "question": "What is the Wikidata property item for MusicBrainz Artist ID?", "sparql": "SELECT ?propertyItem WHERE { ?propertyItem wikibase:directClaim wdt:P434 .}", "paraphrases": ["Which Wikidata property item corresponds to the direct claim P434?", "Tell me the property item that represents the MusicBrainz Artist ID in Wikidata."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://wikiba.se/ontology#directClaim> <http://www.wikidata.org/prop/direct/P434> . }"}}
{"id": "test_4463", "question": "Places in Bruz, France with coordinates but not named after someone.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?place ?placeLabel ?coordinates WHERE {\n  ?place wdt:P131 wd:Q216837 ; rdfs:label ?placeLabel ; wdt:P625 ?coordinates . MINUS {\n    ?place wdt:P138 [] .\n  }\n}", "paraphrases": ["What are the locations in Bruz that have geographic coordinates and are not named after another entity?", "List all geolocated sites in the commune of Bruz that don\u2019t have a namesake, along with their labels and coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q216837> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label ; <http://www.wikidata.org/prop/direct/P625> ?var2 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P138> [] . } }"}}
{"id": "test_4464", "question": "Newspapers with their country of origin and headquarters location.", "sparql": "SELECT ?newspaper ?headquarters ?country ?countryLabel ?headquartersLabel ?nativeName WHERE { ?newspaper wdt:P31 wd:Q11032 . OPTIONAL { ?newspaper wdt:P159 ?headquarters . ?headquarters rdfs:label ?headquartersLabel . FILTER(LANG(?headquartersLabel) = \"en\") } OPTIONAL { ?newspaper wdt:P495 ?country . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") } OPTIONAL { ?newspaper wdt:P1705 ?nativeName . } }", "paraphrases": ["What are the newspapers, their countries of origin, and headquarters locations?", "List newspapers along with the English names of their countries of origin and headquarters, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var3Label ?var2Label ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11032> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P159> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P495> ?var3 . } OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1705> ?var4Label . } }"}}
{"id": "test_4465", "question": "What applications are part of KDE Gear?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?application WHERE {\n  ?application wdt:P361 wd:Q20712193 .\n}", "paraphrases": ["Which KDE applications are included in the KDE Applications Bundle?", "List all the individual software applications that make up the KDE Gear software distribution."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q20712193> . }"}}
{"id": "test_4466", "question": "What events involve human participants and what roles are specified for those participants?", "sparql": "SELECT ?event ?statement (SAMPLE(?qualifier) AS ?roleProperty) WHERE {  ?event p:P710 ?statement .  ?statement ps:P710 wd:Q5 .  OPTIONAL {    ?statement ?qualifier ?value .    ?mainProperty wikibase:qualifier ?qualifier .  }} GROUP BY ?event ?statement LIMIT 10", "paraphrases": ["For events where humans participated, which qualifier properties (like role) are used on those participation statements?", "List events with human participants and show any role qualifiers associated with those participation statements."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P710> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/P710> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_4467", "question": "What entities are classified as football clubs, and what properties are used for this classification?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?statement ?property(SAMPLE(?qualifierValue) AS ?qualifier) WHERE {\n  {\n    SELECT DISTINCT ?item ?statement ?property WHERE {\n      ?statement ?statementProperty wd:Q17270000 .\n      ?item ?claimProperty ?statement .\n      ?property wikibase:statementProperty ?statementProperty .\n      ?property wikibase:claim ?claimProperty .\n      FILTER(?property != wd:P31)\n    }\n    LIMIT 101\n  }\n  OPTIONAL {\n    ?statement ?qualifierProperty ?qualifierValue .\n    ?qualifierProperty wdt:P31 wd:Q19114397 .\n  }\n}\nGROUP BY ?item ?statement ?property", "paraphrases": ["Show the properties used to classify entities as football clubs, along with any qualifiers on those classifications.", "List entities that are football clubs and the statement properties used to link them to the football club class, including any qualifier values."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q17270000> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_4468", "question": "List human genes and their external database identifiers.", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?gene ?directClaim ?externalId WHERE {\n  ?gene wdt:P31 wd:Q7187 ; wdt:P703 wd:Q15978631 .\n  ?prop wikibase:propertyType wikibase:ExternalId ; wikibase:directClaim ?directClaim .\n  ?gene ?directClaim ?externalId .\n}", "paraphrases": ["What are the external IDs for human genes in Wikidata, and which databases do they come from?", "Show me all genes found in Homo sapiens along with the external identifiers assigned to them (like OpenAlex ID or DeCS ID) and the corresponding property used to link them."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7187> . ?var1 <http://www.wikidata.org/prop/direct/P703> <http://www.wikidata.org/entity/Q15978631> . ?var4 <http://wikiba.se/ontology#propertyType> <http://wikiba.se/ontology#ExternalId> ; <http://wikiba.se/ontology#directClaim> ?var2 . ?var1 ?var2 ?var3 . }"}}
{"id": "test_4469", "question": "How many architectural structures and their subclasses are there in Wikidata?", "sparql": "SELECT (COUNT(?item) AS ?count) WHERE { ?item (wdt:P31/wdt:P279*) wd:Q811979 . }", "paraphrases": ["What is the total number of items in Wikidata that are instances of architectural structures or any of their subclasses?", "Count all entities in Wikidata that are either architectural structures or belong to a subclass of architectural structures."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q811979> . }"}}
{"id": "test_4470", "question": "What are the names and coordinates of all communes in France?", "sparql": "SELECT ?commune ?communeLabel ?coordinates WHERE { ?commune wdt:P31 wd:Q484170 ; wdt:P625 ?coordinates . ?commune rdfs:label ?communeLabel . FILTER(LANG(?communeLabel) = \"en\") }", "paraphrases": ["Can you list the English names and geographic coordinates of French communes?", "Show me the locations (latitude/longitude) of French communes along with their official names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q484170> ; <http://www.wikidata.org/prop/direct/P6> ?var3 ; <http://www.wikidata.org/prop/direct/P625> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_4471", "question": "What image is associated with the SNAC ARK ID w6m61qcg?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6m61qcg\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Can you find the Wikimedia Commons image for the person identified by the SNAC ARK ID w6m61qcg?", "Show me the image linked to the SNAC ARK ID w6m61qcg in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6m61qcg\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_4472", "question": "Companies without known employee counts and their Wikipedia pages", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?companyClass ?company ?wikipediaPage WHERE {\n  ?companyClass wdt:P279 * wd:Q783794 .\n  ?company wdt:P31 ?companyClass . MINUS {\n    ?company wdt:P1128 ?employeeCount .\n  }\n  ?wikipediaPage schema:about ?company ; schema:isPartOf <https://en.wikipedia.org/> .\n}", "paraphrases": ["Which companies on Wikipedia do not have a listed number of employees?", "Show me all companies (including subclasses like film studios or theaters) that don\u2019t have an employee count recorded, along with their English Wikipedia links."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q783794> . ?var2 <http://www.wikidata.org/prop/direct/P31> ?var1 . MINUS { ?var2 <http://www.wikidata.org/prop/direct/P1128> ?var3 . } { ?var4 <http://schema.org/about> ?var2 ; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } }"}}
{"id": "test_4473", "question": "Which Wikidata properties require their values to be instances or subclasses of a specific type?", "sparql": "SELECT ?property ?constraintStatement WHERE { { ?property wdt:P31 ?type . ?type wdt:P279* wd:Q18616576 . } UNION { ?property wdt:P31 wd:Q18616576 . } ?property p:P2302 ?constraintStatement . ?constraintStatement ps:P2302 wd:Q21510865 . }", "paraphrases": ["Show me the properties in Wikidata that are constrained to only accept values of a certain class, along with the constraint statements.", "What are the Wikibase properties that have a value type constraint applied to them?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q18616576> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q18616576> . } ?var1 <http://www.wikidata.org/prop/P2302> ?var2 . ?var2 <http://www.wikidata.org/prop/statement/2302> <http://www.wikidata.org/entity/Q21510865> . }"}}
{"id": "test_4474", "question": "What are the labels for the name \"Ang\u00e9lica\" in English, German, French, and Italian?", "sparql": "SELECT ?label ?image ?coordinates WHERE { VALUES ( ?lang ?priority ) { ( \"en\" 1 ) ( \"de\" 2 ) ( \"fr\" 3 ) ( \"it\" 4 ) } OPTIONAL { wd:Q18182719 rdfs:label ?label . FILTER(LANG(?label) = ?lang) } OPTIONAL { wd:Q18182719 wdt:P18 ?image . } OPTIONAL { wd:Q18182719 wdt:P625 ?coordinates . } } ORDER BY ASC(?priority)", "paraphrases": ["Can you show me the translations of the given name Ang\u00e9lica in four languages, along with any image or location data?", "List the names for Ang\u00e9lica in different languages, prioritizing English first, and include any available image or coordinates."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q18182719> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var5 ) ) ) . VALUES ( ?var5 ?var6 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q18182719> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q18182719> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q18182719> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var6 )"}}
{"id": "test_4475", "question": "What places are located within 15 kilometers of Orlando, Florida?", "sparql": "SELECT ?item ?coord ?lon ?lat WHERE {\n  ?item wdt:P625 ?coord .\n  FILTER(isLiteral(?coord))\n  FILTER(STRSTARTS(STR(?coord), \"POINT(\"))\n  BIND(REPLACE(STR(?coord), \"^POINT\\\\(([^ ]+) ([^)]+)\\\\)$\", \"$1\") AS ?lonStr)\n  BIND(REPLACE(STR(?coord), \"^POINT\\\\(([^ ]+) ([^)]+)\\\\)$\", \"$2\") AS ?latStr)\n  BIND(xsd:double(?lonStr) AS ?lon)\n  BIND(xsd:double(?latStr) AS ?lat)\n  FILTER(?lon >= -81.535 && ?lon <= -81.265)\n  FILTER(?lat >= 28.365 && ?lat <= 28.635)\n}", "paraphrases": ["Show me all entities with coordinates near Orlando, Florida, including their exact latitude and longitude.", "List notable locations in the vicinity of Orlando, Florida, based on their geographic coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> \"POINT(-81 28)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"15\". } }"}}
{"id": "test_4476", "question": "Films and TV shows associated with Tyler Perry and their IMDb IDs.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?work ?label ?imdbId WHERE {\n  VALUES ?role {\n    wdt:P57 wdt:P58 wdt:P162 wdt:P161\n  }\n  ?work ?role wd:Q686301 .\n  ?work rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    ?work wdt:P345 ?imdbId\n  }\n  FILTER NOT EXISTS {\n    ?work wdt:P31 wd:Q4167836\n  }\n}", "paraphrases": ["What are the English titles and IMDb IDs of movies and TV shows where Tyler Perry worked as a director, writer, producer, or actor?", "List all films and TV series linked to Tyler Perry with their English names and IMDb identifiers, excluding categories."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . ?var1 ?var4 <http://www.wikidata.org/entity/Q686301> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3302> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1562> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1712> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1237> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P646> ?var9 . } }"}}
{"id": "test_4477", "question": "Subclasses of surgical procedure with English labels and images.", "sparql": "SELECT ?surgicalProcedure ?surgicalProcedureLabel ?image WHERE { ?surgicalProcedure wdt:P279 wd:Q15636229 . OPTIONAL { ?surgicalProcedure wdt:P18 ?image . } ?surgicalProcedure rdfs:label ?surgicalProcedureLabel . FILTER(LANG(?surgicalProcedureLabel) = \"en\") } LIMIT 100", "paraphrases": ["What are the subclasses of surgical procedure in Wikidata, along with their English names and associated images?", "List all surgical procedure types that are subclasses of surgical procedure, showing their English labels and any available Wikimedia Commons images."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q15636229> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } } LIMIT 100"}}
{"id": "test_4478", "question": "What Wikipedia articles in different languages are about the Global Medical Device Nomenclature?", "sparql": "SELECT ?article ?language WHERE { ?article schema:about wd:Q5570492 ; schema:inLanguage ?language .}", "paraphrases": ["Languages and URLs of Wikipedia articles on Global Medical Device Nomenclature", "Show me the Wikipedia pages and their languages for the Global Medical Device Nomenclature."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://schema.org/about> <http://www.wikidata.org/entity/Q5570492> ; <http://schema.org/inLanguage> ?var2 . }"}}
{"id": "test_4479", "question": "What is the Wikidata item for the film with IMDb ID tt0047485?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P345 \"tt0047485\" .\n}", "paraphrases": ["Which film is identified by the IMDb identifier tt0047485?", "Can you find the movie in Wikidata that has the IMDb ID tt0047485?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0047485\". }"}}
{"id": "test_4480", "question": "What are the populations of all municipalities in Switzerland?", "sparql": "SELECT ?municipality ?population WHERE { ?municipality p:P31 ?stmt1 . ?stmt1 ps:P31 wd:Q70208 . ?municipality p:P1082 ?stmt2 . ?stmt2 ps:P1082 ?population . }", "paraphrases": ["Can you list the Swiss communes along with their number of inhabitants?", "Show me the population figures for every municipality in Switzerland as recorded in Wikidata."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/P31> <http://www.wikidata.org/entity/Q70208> . ?var1 <http://www.wikidata.org/prop/P1082> ?var2 . }"}}
{"id": "test_4481", "question": "List all international airports.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?airport WHERE {\n  ?airport wdt:P31 wd:Q644371 .\n}", "paraphrases": ["Which airports are classified as international airports in Wikidata?", "Show me all entities that are instances of international airports."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q644371> . }"}}
{"id": "test_4482", "question": "What are the communes in Ille-et-Vilaine, France, whose names end in \"Seiche\", and what are they named after?", "sparql": "SELECT ?commune ?communeLabel ?namedAfter WHERE { ?commune wdt:P31 wd:Q484170 ; wdt:P131 wd:Q12549 ; wdt:P138 ?namedAfter ; rdfs:label ?communeLabel . FILTER ( LANG(?communeLabel) = \"fr\" ) . FILTER ( REGEX(?communeLabel, \"Seiche$\") ) . }", "paraphrases": ["Which French communes in the department of Ille-et-Vilaine have names ending with \"Seiche\", and what rivers or places are they named after?", "List the French communes in Ille-et-Vilaine with \"Seiche\" in their name and identify their namesakes."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q484170> ; <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q12549> ; <http://www.wikidata.org/prop/direct/P138> ?var2 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"fr\" ) ) ) . FILTER ( ( REGEX ( ?var1Label , \"Seiche$\" ) ) ) . }"}}
{"id": "test_4483", "question": "What are the names of Saint Joseph in different languages, along with his image and Wikipedia link?", "sparql": "SELECT ?label ?image ?coordinates ?wikipediaArticle WHERE { OPTIONAL { wd:Q128267 rdfs:label ?label . FILTER (LANG(?label) = ?lang) VALUES (?lang) { (\"en\") (\"de\") (\"fr\") (\"it\") } } OPTIONAL { wd:Q128267 wdt:P18 ?image . } OPTIONAL { wd:Q128267 wdt:P625 ?coordinates . } OPTIONAL { ?wikipediaArticle rdf:type schema:Article ; schema:about wd:Q128267 ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> . } } ORDER BY ASC(STR(?lang))", "paraphrases": ["Show me the English, German, French, and Italian labels for Saint Joseph, his image from Commons, and the English Wikipedia page about him.", "Can you display the multilingual names of Saint Joseph, his associated image, and the link to his English Wikipedia article?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q128267> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var5 ) ) ) . VALUES ( ?var5 ?var6 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q128267> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q128267> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q128267> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var6 )"}}
{"id": "test_4484", "question": "Programs that read LAS files and their supported LAS format versions with Library of Congress and File Format Wiki IDs.", "sparql": "SELECT ?program ?programLabel ?subclass ?subclassLabel ?fddId ?ffwId WHERE { ?program wdt:P1072 wd:Q27441566 . ?subclass wdt:P279 wd:Q27441566 . OPTIONAL { ?subclass wdt:P3266 ?fddId . } wd:Q27441566 wdt:P3381 ?ffwId . ?program rdfs:label ?programLabel . ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?programLabel) = \"en\") FILTER(LANG(?subclassLabel) = \"en\") }", "paraphrases": ["Which programs can read the LAS file format, and what are the subclasses of LAS along with their FDD and FFW identifiers?", "List all software that can open LAS files, along with each LAS version subclass and its corresponding Library of Congress and File Format Wiki identifiers."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1072> <http://www.wikidata.org/entity/Q27441566> . ?var2 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q27441566> . ?var2 <http://www.wikidata.org/prop/direct/P3266> ?var3 . ?var2 <http://www.wikidata.org/prop/direct/P3381> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4485", "question": "List all current countries with their labels and alternative labels in all languages.", "sparql": "PREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?country ?label WHERE {\n  ?country wdt:P31 wd:Q3624078 .\n  ?country ( rdfs:label | skos:altLabel ) ?label .\n  FILTER ( LANG( ?label ) != \"\" )\n}", "paraphrases": ["What are the names and alternative names of all sovereign states in different languages?", "Please provide all labels and alternative labels for every sovereign state in Wikidata, including all language variants."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2Label WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3024240> . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3624078> . } ) ) . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q6256> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3024240> . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3624078> . } ) ) . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q6256> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3024240> . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3624078> . } ) ) . ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> ?var2Label . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3024240> . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3624078> . } ) ) . ?var1 <http://www.w3.org/2004/02/skos/core#altLabe> ?var2Label . } }"}}
{"id": "test_4486", "question": "What properties are used to associate items with the concept of \"snack\" in Wikidata?", "sparql": "SELECT DISTINCT ?property WHERE { ?item ?property wd:Q749316 . FILTER (?property != wd:P31) }", "paraphrases": ["Which properties link entities to the snack category, excluding direct instance-of relationships?", "How are different items connected to the snack entity in Wikidata, and what properties are involved?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q749316> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_4487", "question": "Citation distribution of articles in The Review of Economics and Statistics.", "sparql": "SELECT ?citationCount (COUNT(?article) AS ?countOfArticles) WHERE { { SELECT ?article (COUNT(?citingWork) AS ?citationCount) WHERE { ?article wdt:P1433 wd:Q1107852 . OPTIONAL { ?citingWork wdt:P2860 ?article . } } GROUP BY ?article } } GROUP BY ?citationCount ORDER BY DESC(?citationCount)", "paraphrases": ["How many articles published in The Review of Economics and Statistics have been cited 0 times, 1 time, 2 times, etc.?", "Show me how many articles from The Review of Economics and Statistics have each possible number of citations, sorted from most cited to least."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { { SELECT ?var2 ( COUNT ( ?var4 ) AS ?var1 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P1433> <http://www.wikidata.org/entity/Q1107852> . OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P2860> ?var2 . } } GROUP BY ?var2 } } GROUP BY ?var1 ORDER BY DESC( ?var1 )"}}
{"id": "test_4488", "question": "Video games released between 2010 and 2017 with their developers and English titles.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nSELECT ?game ?gameLabel ?developerLabel ?publicationDate WHERE {\n  ?game wdt:P31 wd:Q7889 .\n  ?game wdt:P577 ?publicationDate .\n  ?game wdt:P178 ?developer .\n  OPTIONAL {\n    ?game rdfs:label ?gameLabel .\n    FILTER ( LANG( ?gameLabel ) = \"en\" ) .\n  }\n  OPTIONAL {\n    ?developer rdfs:label ?developerLabel .\n    FILTER ( LANG( ?developerLabel ) = \"en\" ) .\n  }\n  FILTER ( ?publicationDate > \"2010-01-01T00:00:00\" ^^ xsd:dateTime && ?publicationDate < \"2017-01-01T00:00:00\" ^^ xsd:dateTime ) .\n}\nLIMIT 100", "paraphrases": ["What are the English names of video games published between 2010 and 2017, and who developed them?", "List up to 100 video games that came out between 2010 and 2017, showing their English titles and the English names of their developers."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( MIN ( ?var4 ) AS ?var5 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7889> . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P178> ?var6 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } OPTIONAL { ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } FILTER ( ( ( ?var4 < \"2017-01-01T00:00:00\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var4 > \"2010-01-01T00:00:00\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . } GROUP BY ?var1 ?var2 ?var3 LIMIT 100"}}
{"id": "test_4489", "question": "When was Coca-Cola founded, and where is its headquarters located?", "sparql": "SELECT ?foundingDate ?coordinates WHERE { wd:Q2813 wdt:P571 ?foundingDate . wd:Q2813 wdt:P127 ?company . ?company wdt:P159 ?headquarters . ?headquarters wdt:P625 ?coordinates .}", "paraphrases": ["What are the founding year and geographic coordinates of Coca-Cola\u2019s headquarters?", "Can you tell me the date Coca-Cola was created and the GPS coordinates of its main office?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { <http://www.wikidata.org/entity/Q2813> <http://www.wikidata.org/prop/direct/P580> ?var1 . OPTIONAL { <http://www.wikidata.org/entity/Q2813> <http://www.wikidata.org/prop/direct/P21> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q2813> <http://www.wikidata.org/prop/direct/P625> ?var3 . } }"}}
{"id": "test_4490", "question": "What is the English label for the Commonwealth of Independent States?", "sparql": "SELECT ?organization ?organizationLabel WHERE { wd:Q7779 rdfs:label ?organizationLabel . FILTER(LANG(?organizationLabel) = \"en\") BIND(wd:Q7779 AS ?organization) }", "paraphrases": ["Retrieve the identifier and name of the Commonwealth of Independent States from Wikidata.", "Show the entity ID and label in English for the intergovernmental organization known as the CIS."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { BIND ( <http://www.wikidata.org/entity/Q7779> AS ?var1 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4491", "question": "Rivers with German hydrological codes (GKZ) containing \"/DE/\"", "sparql": "SELECT ?river ?gkz WHERE { ?river wdt:P1183 ?gkz . FILTER (REGEX(STR(?gkz), \"/DE/\")) } LIMIT 20", "paraphrases": ["Which rivers have a Gew\u00e4sserkennzahl that includes the German identifier \"/DE/\"?", "Show me rivers that are part of the German hydrological numbering system, even if located in Austria."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1183> ?var2 . FILTER ( ( REGEX ( STR ( ?var2 ) , \"/DE\" ) ) ) . } LIMIT 20"}}
{"id": "test_4492", "question": "Items and values connected by the \"inferred from\" property (P3452), distinguishing between main statements and qualifiers.", "sparql": "SELECT ?item ?itemLabel ?value ?valueLabel ?type WHERE { { BIND(\"mainsnak\" AS ?type) ?item p:P3452 ?statement . ?statement ps:P3452 ?value . } UNION { BIND(\"qualifier\" AS ?type) ?statement pq:P3452 ?value . ?item ?p ?statement . } OPTIONAL { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } OPTIONAL { ?value rdfs:label ?valueLabel . FILTER(LANG(?valueLabel) = \"en\") } } LIMIT 100", "paraphrases": ["Which items in Wikidata have statements or qualifiers that infer another item using the \"inferred from\" property, and what are those inferred values?", "List all cases where one entity or property is inferred from another using P3452, and indicate whether the inference is stated directly or as a qualifier."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { { BIND ( \"mainsnak\" AS ?var3 ). ?var1 ( <http://www.wikidata.org/prop/P3452> / <http://www.wikidata.org/prop/statement/P3452> ) ?var2 . } UNION { BIND ( \"qualifier\" AS ?var3 ). ?var4 <http://www.wikidata.org/prop/qualifier/P3452> ?var2 . ?var1 ?var5 ?var4 . } } LIMIT 100 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs,en\". } }"}}
{"id": "test_4493", "question": "What are some examples of film genres?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?filmGenre WHERE {\n  ?filmGenre wdt:P31 wd:Q201658 .\n}\nLIMIT 20", "paraphrases": ["Which categories of movies are classified as film genres in Wikidata?", "List 20 specific types of film genres, such as horror or romance, that are recognized as instances of the film genre class."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q201658> . } LIMIT 20"}}
{"id": "test_4494", "question": "Coordinates of 20 Aldermanbury and the administrative area it is located in.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?buildingCoordinates ?administrativeAreaCoordinates WHERE {\n  wd:Q27087688 wdt:P625 ?buildingCoordinates .\n  OPTIONAL {\n    wd:Q27087688 wdt:P131 ?administrativeArea .\n    ?administrativeArea wdt:P625 ?administrativeAreaCoordinates .\n  }\n}", "paraphrases": ["What are the geographic coordinates of the Chartered Insurance Institute building, and what are the coordinates of the administrative area it belongs to?", "Show me the precise location of 20 Aldermanbury and the location of the administrative region it falls under."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q27087688> <http://www.wikidata.org/prop/direct/P625> ?var1 . OPTIONAL { <http://www.wikidata.org/entity/Q27087688> <http://www.wikidata.org/prop/direct/P131> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var2 . } }"}}
{"id": "test_4495", "question": "Official portraits of members of the 57th UK Parliament.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?member ?image WHERE {\n  ?member wdt:P39 wd:Q30524710 .\n  OPTIONAL {\n    ?member wdt:P18 ?image .\n  }\n}", "paraphrases": ["Who are the members of the 57th Parliament of the United Kingdom, and what are their official images on Wikimedia Commons?", "List all members of the 57th UK Parliament along with their official portrait images from Wikimedia Commons, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q30524710> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } }"}}
{"id": "test_4496", "question": "Scholarly articles with DOIs in English", "sparql": "SELECT ?item ?itemLabel ?doi WHERE { ?item wdt:P31 wd:Q13442814 . ?item wdt:P356 ?doi . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } LIMIT 10", "paraphrases": ["What are the English titles and DOIs of scholarly articles on Wikidata?", "List the English-labeled scholarly articles along with their Digital Object Identifiers (DOIs)."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13442814> . ?var1 <http://www.wikidata.org/prop/direct/P356> ?var2 . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . FILTER ( ( REGEX ( ?var1Label , \"^#x5B.*\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 10"}}
{"id": "test_4497", "question": "What Broadway shows premiered in 1949?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?work ?workLabel ?description WHERE {\n  ?work wdt:P1219 ?ibdbId .\n  ?work wdt:P1191 ?date .\n  FILTER ( YEAR( ?date ) = 1949 ) .\n  ?work rdfs:label ?workLabel .\n  FILTER ( LANG( ?workLabel ) = \"en\" ) .\n  OPTIONAL {\n    ?work schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["Which plays or musicals on Broadway had their first performance in 1949, and what are their descriptions?", "List the English titles and descriptions of Broadway shows that debuted in 1949."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1219> \"1949\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4498", "question": "What is the date of birth of Ren\u00e9 van Eck?", "sparql": "SELECT ?dob WHERE { wd:Q327670 wdt:P569 ?dob .}", "paraphrases": ["When was the Dutch footballer and manager Ren\u00e9 van Eck born?", "Can you tell me Ren\u00e9 van Eck\u2019s birth date?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P569> <http://www.wikidata.org/entity/Q327670> . }"}}
{"id": "test_4499", "question": "Who are the parents of Jesus, and what is the nature of their kinship (e.g., biological father)?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?parent ?statement(SAMPLE(?kinshipLabel) AS ?kinshipType) WHERE {\n  ?parent p:P40 ?statement .\n  ?statement ps:P40 wd:Q302 .\n  OPTIONAL {\n    ?statement pq:P1039 ?kinshipValue .\n    ?kinshipValue rdfs:label ?kinshipLabel .\n    FILTER(LANG(?kinshipLabel) = \"en\")\n  }\n}\nGROUP BY ?parent ?statement", "paraphrases": ["List the parents of Jesus and their type of kinship as recorded in Wikidata.", "Which individuals are listed as parents of Jesus in Wikidata, and for which of them is the type of kinship specified?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P40> <http://www.wikidata.org/entity/Q302> . ?var1 <http://www.wikidata.org/prop/P40> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_4500", "question": "What are the occupations attributed to Jesus in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?value ?valueLabel WHERE {\n  wd:Q302 p:P106 ?statement .\n  ?statement ps:P106 ?value .\n  ?value rdfs:label ?valueLabel .\n  FILTER ( LANG( ?valueLabel ) = \"en\" )\n}\nORDER BY ?valueLabel", "paraphrases": ["Can you list the roles or professions associated with Jesus, such as rabbi or carpenter?", "What are the English labels for the occupations of Jesus as recorded in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P1855> <http://www.wikidata.org/entity/Q302> . ?var1 <http://www.wikidata.org/prop/P1855> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_4501", "question": "Who are the spouses of U.S. Presidents?", "sparql": "SELECT ?president ?spouse WHERE { ?president wdt:P31 wd:Q5 . ?president wdt:P39 wd:Q11696 . ?president wdt:P26 ?spouse . }", "paraphrases": ["Which U.S. Presidents have been married, and who are their spouses?", "List all human U.S. Presidents along with the names of their spouses, including those who were married more than once."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q11696> . ?var1 <http://www.wikidata.org/prop/direct/P26> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4502", "question": "What works and roles is Blythe Danner associated with, and what qualifiers (like start time) are attached to those roles?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?work ?statement ?property ( SAMPLE( ?qualifierProperty ) AS ?qualifier ) WHERE {\n  {\n    SELECT ?work ?statement ?property WHERE {\n      ?statement ?p wd:Q40064 .\n      ?work ?p2 ?statement .\n      ?property wikibase:statementProperty ?p .\n      ?property wikibase:claim ?p2 .\n      FILTER ( ?property != wd:P31 )\n    }\n    LIMIT 101\n  }\n  OPTIONAL {\n    ?statement ?qualifierProperty ?qualifierValue .\n    ?qualifierProperty wikibase:qualifier true .\n  }\n}\nGROUP BY ?work ?statement ?property", "paraphrases": ["List all TV shows, movies, and relationships involving Blythe Danner, along with any additional details like when the role began.", "Show me all the credits of Blythe Danner (excluding \"instance of\") and any associated qualifier information such as dates."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q40064> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_4503", "question": "What properties are most frequently used to link entities to Zhejiang province in Wikidata?", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q16967 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["Which properties connect the most number of items to Zhejiang, and how many times are they used, excluding properties used only once?", "Show me the top properties that relate entities to Zhejiang province, ordered by how often they appear, and only include those used more than once."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q16967> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_4504", "question": "Female illustrators born in the Basque Country with their birthplace coordinates and images.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person ?personLabel ?image ?birthplace ?birthplaceLabel ?coordinates WHERE {\n  ?person wdt:P21 wd:Q6581072 .\n  ?person wdt:P106 wd:Q644687 .\n  ?person wdt:P19 ?birthplace .\n  ?person wdt:P31 wd:Q5 .\n  ?birthplace wdt:P131 * ?administrativeEntity .\n  wd:Q47588 wdt:P527 ?administrativeEntity .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?birthplace wdt:P625 ?coordinates .\n  }\n  ?person rdfs:label ?personLabel .\n  ?birthplace rdfs:label ?birthplaceLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) FILTER ( LANG( ?birthplaceLabel ) = \"en\" )\n}", "paraphrases": ["Who are the female illustrators born in places that are part of the Basque Country, and where exactly were they born?", "List all female illustrators whose birthplace is located within the Basque Country, including their images and geographic coordinates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q644687> . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 . ?var3 ( <http://www.wikidata.org/prop/direct/P131> */^ <http://www.wikidata.org/prop/direct/P527> ) <http://www.wikidata.org/entity/Q47588> . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"eu,eu\". } }"}}
{"id": "test_4505", "question": "What are the birth dates of all U.S. presidents?", "sparql": "SELECT ?presidentLabel ?birthDate WHERE { ?president wdt:P27 wd:Q30 ; wdt:P39 wd:Q11696 ; wdt:P569 ?birthDate . ?president rdfs:label ?presidentLabel . FILTER(LANG(?presidentLabel) = \"en\") }", "paraphrases": ["Can you list the names and birth dates of all people who have served as President of the United States and are citizens of the United States?", "Who are the presidents of the United States, and when were they born?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q30> . ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q11696> ; <http://www.wikidata.org/prop/direct/P569> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_4506", "question": "Spiral galaxies with redshift and distance from Earth", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?galaxyLabel ?redshift ?distance WHERE {\n  ?galaxy wdt:P31 wd:Q2488 ; wdt:P1090 ?redshift ; wdt:P2583 ?distance .\n  ?galaxy rdfs:label ?galaxyLabel .\n  FILTER ( LANG( ?galaxyLabel ) = 'en' )\n}\nLIMIT 100", "paraphrases": ["What are the redshift and distance from Earth for spiral galaxies in English?", "List the names, redshifts, and distances of spiral galaxies in English."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2488> ; <http://www.wikidata.org/prop/direct/P1090> ?var2 ; <http://www.wikidata.org/prop/direct/P2583> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_4507", "question": "Genes associated with Alzheimer\u2019s disease and their variants, Ensembl IDs, and Entrez IDs.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?gene ?geneLabel ?ensemblId ?entrezId ?variantLabel WHERE {\n  ?gene wdt:P2293 wd:Q11081 .\n  ?gene wdt:P31 wd:Q7187 .\n  ?gene wdt:P594 ?ensemblId .\n  ?gene wdt:P351 ?entrezId .\n  ?variant wdt:P3433 ?gene .\n  ?variant rdfs:label ?variantLabel .\n  ?gene rdfs:label ?geneLabel .\n  FILTER(LANG(?geneLabel) = \"en\")\n  FILTER(LANG(?variantLabel) = \"en\")\n}", "paraphrases": ["What gene variants are associated with Alzheimer\u2019s disease, and what are the corresponding gene names, Ensembl IDs, and Entrez IDs?", "List all biological variants of genes genetically linked to Alzheimer\u2019s disease, including the gene name, Ensembl ID, and Entrez ID."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2293> <http://www.wikidata.org/entity/Q11081> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7187> . ?var1 <http://www.wikidata.org/prop/direct/P594> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P351> ?var3 . ?var4Label <http://www.wikidata.org/prop/direct/P3433> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4508", "question": "Observation towers in the Czech Republic with English labels", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?tower ?label WHERE {\n  ?tower wdt:P17 wd:Q213 ; wdt:P31 wd:Q1440300 ; rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["What are the English names of observation towers located in the Czech Republic?", "List the names in English of all observation towers in the Czech Republic."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q213> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1440300> . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } }"}}
{"id": "test_4509", "question": "Where did Tom Heskes study, and when did he start and end his attendance, and what academic degree did he earn?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?institution ?institutionLabel ?startDate ?endDate ?degreeLabel WHERE {\n  wd:Q30093861 p:P69 ?statement .\n  ?statement ps:P69 ?institution .\n  ?institution rdfs:label ?institutionLabel .\n  FILTER(LANG(?institutionLabel) = \"en\")\n  OPTIONAL {\n    ?statement pq:P580 ?startDate .\n  }\n  OPTIONAL {\n    ?statement pq:P582 ?endDate .\n  }\n  OPTIONAL {\n    ?statement pq:P512 ?degree .\n    ?degree rdfs:label ?degreeLabel .\n    FILTER(LANG(?degreeLabel) = \"en\")\n  }\n}", "paraphrases": ["Tom Heskes' alma mater, attendance period, and academic degree", "Show me the educational background of Tom Heskes, including the university he attended, the dates of attendance, and any degrees earned, in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 ?var5Label WHERE { <http://www.wikidata.org/entity/Q30093861> <http://www.wikidata.org/prop/P69> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P69> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P580> ?var3 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var4 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P512> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_4510", "question": "What are the French departments and territories that have active national roads?", "sparql": "SELECT DISTINCT ?administrativeEntity ?administrativeEntityLabel WHERE { { ?road wdt:P31 wd:Q1426271 . } UNION { ?road wdt:P16 wd:Q1426271 . } ?road p:P131 ?statement . FILTER (NOT EXISTS { ?statement pq:P582 [] }) . ?statement ps:P131 ?administrativeEntity . OPTIONAL { ?administrativeEntity rdfs:label ?administrativeEntityLabel . FILTER (LANG(?administrativeEntityLabel) = \"fr\") . } } ORDER BY ASC(?administrativeEntityLabel)", "paraphrases": ["List the French-language names of administrative regions in France that currently have route nationale roads.", "Which French administrative entities are associated with national highways that are still in use?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT DISTINCT ?var1 ( GROUP_CONCAT ( ?var4 ; SEPARATOR = \", \" ) AS ?var3 )( COUNT ( ?var4 ) AS ?var2 ) WHERE { { ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1426271> . } UNION { ?var5 <http://www.wikidata.org/prop/direct/P16> <http://www.wikidata.org/entity/Q1426271> . } ?var5 <http://www.wikidata.org/prop/P131> ?var6 . FILTER ( ( NOT EXISTS { ?var6 <http://www.wikidata.org/prop/qualifier/P582> [] . } ) ) . ?var6 <http://www.wikidata.org/prop/statement/P131> ?var1 . OPTIONAL { ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"fr\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } GROUP BY ?var1 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_4511", "question": "Subclasses of language variety in Wikidata", "sparql": "SELECT ?languageVarietySubclass ?languageVarietySubclassLabel WHERE { ?languageVarietySubclass wdt:P279 wd:Q3329375 . ?languageVarietySubclass rdfs:label ?languageVarietySubclassLabel . FILTER(LANG(?languageVarietySubclassLabel) = \"en\") } LIMIT 11", "paraphrases": ["What are some types of language varieties?", "List the subclasses of language variety with their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q3329375> . } LIMIT 11 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4512", "question": "Works published in French and their qualifiers", "sparql": "SELECT ?work ?statement ?qualifier WHERE { ?work p:P1433 ?statement . ?statement ps:P1433 wd:Q150 . OPTIONAL { ?statement ?qualifier ?value . ?qualifier wikibase:qualifier true . } } LIMIT 100", "paraphrases": ["What works have been published in French, and what qualifiers are attached to their publication statements?", "List all works published in French, along with any qualifier properties used on their publication claims."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P1433> <http://www.wikidata.org/entity/Q150> . ?var1 <http://www.wikidata.org/prop/P1433> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_4513", "question": "Most common German given names of people born in Dresden.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?givenName ?givenNameLabel(COUNT(*) AS ?count) WHERE {\n  ?person wdt:P19 wd:Q1731 .\n  ?person wdt:P735 ?givenName .\n  ?givenName rdfs:label ?givenNameLabel .\n  FILTER(LANG(?givenNameLabel) = \"de\")\n}\nGROUP BY ?givenName ?givenNameLabel\nORDER BY DESC(?count) ASC(?givenNameLabel)", "paraphrases": ["What are the most frequently used given names in German among people born in Dresden, and how many people have each name?", "Show me a list of German-language given names of people born in Dresden, sorted by how common they are, from most to least frequent."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( COUNT (* ) AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q1731> . ?var4 <http://www.wikidata.org/prop/direct/P735> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"de\" ) ) ) . } GROUP BY ?var1 ?var2 ORDER BY DESC( ?var3 )ASC( ?var2 )"}}
{"id": "test_4514", "question": "Geographic locations in eastern Canada between 43\u00b0N and 47\u00b0N latitude and 65\u00b0W and 60\u00b0W longitude, with their images and Wikimedia Commons categories.", "sparql": "SELECT ?item ?location ?image ?commonsCategory WHERE { ?item wdt:P625 ?location . FILTER (geof:latitude(?location) >= 43 && geof:latitude(?location) <= 47) FILTER (geof:longitude(?location) >= -65 && geof:longitude(?location) <= -60) OPTIONAL { ?item wdt:P18 ?image . } OPTIONAL { ?item wdt:P373 ?commonsCategory . } } LIMIT 3000", "paraphrases": ["What places in eastern Canada (between 43\u00b0N\u201347\u00b0N and 65\u00b0W\u201360\u00b0W) have images or Commons categories on Wikimedia?", "Show me geographic items in the region of Nova Scotia and Prince Edward Island with their associated images and Wikimedia Commons categories."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(-63 45)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(-63 45)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_4515", "question": "What international organizations is Brazil a member of?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?member WHERE {\n  wd:Q155 p:P463 ?statement .\n  ?statement ps:P463 ?member .\n}\nLIMIT 101", "paraphrases": ["Which organizations include Brazil as a member?", "List all the international groups that Brazil belongs to."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P527> <http://www.wikidata.org/entity/Q155> . ?var1 <http://www.wikidata.org/prop/P527> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_4516", "question": "What chemical substance has the UNII code 5652105Y6S?", "sparql": "SELECT ?substance ?substanceLabel WHERE { ?substance wdt:P652 \"5652105Y6S\" . ?substance rdfs:label ?substanceLabel . FILTER(LANG(?substanceLabel) = \"en\") }", "paraphrases": ["Which substance is identified by the UNII code \"5652105Y6S\"?", "Find the English label of the chemical compound that has the UNII identifier 5652105Y6S."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ?var2 \"5652105Y6S\". }"}}
{"id": "test_4517", "question": "Administrative hierarchy of Dummerston, Vermont", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?administrativeEntity ?administrativeEntityLabel WHERE {\n  wd:Q1265111 wdt:P131 * ?administrativeEntity .\n  ?administrativeEntity rdfs:label ?administrativeEntityLabel .\n  FILTER ( LANG( ?administrativeEntityLabel ) = \"en\" )\n}", "paraphrases": ["What administrative regions is Dummerston part of, including itself?", "List all the administrative areas that Dummerston belongs to, from town up to country."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q1265111> <http://www.wikidata.org/prop/direct/P131> * ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4518", "question": "List peninsulas with their countries and continents, excluding those with Arabic descriptions.", "sparql": "SELECT ?peninsula ?peninsulaLabel ?country ?countryLabel ?continent ?continentLabel WHERE {  ?peninsula wdt:P31 wd:Q34763 .  OPTIONAL {    ?peninsula wdt:P17 ?country .    ?country rdfs:label ?countryLabel .    FILTER(LANG(?countryLabel) = \"en\")  }  OPTIONAL {    ?peninsula wdt:P30 ?continent .    ?continent rdfs:label ?continentLabel .    FILTER(LANG(?continentLabel) = \"en\")  }  ?peninsula rdfs:label ?peninsulaLabel .  FILTER(LANG(?peninsulaLabel) = \"en\")  FILTER NOT EXISTS {    ?peninsula schema:description ?desc .    FILTER(LANG(?desc) = \"ar\")  }} ORDER BY ASC(?peninsulaLabel)", "paraphrases": ["What are the peninsulas in the world, along with the countries and continents they belong to, but only if they don\u2019t have an Arabic description?", "Show me a list of all peninsulas, including their English names, countries, and continents, but skip any that have an Arabic description."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q34763> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 . } OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P30> ?var4 . } FILTER ( ( NOT EXISTS { ?var1 <http://schema.org/description> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"ar\" ) ) ) . } ) ) . } ORDER BY ASC( ?var1Label )"}}
{"id": "test_4519", "question": "What is the English description of the artwork with MoMA work ID 118327?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?description WHERE {\n  ?item wdt:P2014 \"118327\" .\n  OPTIONAL {\n    ?item rdfs:label ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["Find the artwork in the Museum of Modern Art collection with ID 118327 and show its English title.", "Which artwork in MoMA has the ID 118327, and what is its English name?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2014> \"62407\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4520", "question": "What is the title of the movie with IMDb ID tt1435513?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?title WHERE {\n  ?movie wdt:P345 \"tt1435513\" .\n  ?movie wdt:P1476 ?title .\n}", "paraphrases": ["Which film on Wikidata has the IMDb identifier tt1435513?", "What Wikidata item corresponds to the IMDb ID tt1435513?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1435513\". }"}}
{"id": "test_4521", "question": "Buildings in Washington, D.C. with images and administrative divisions", "sparql": "SELECT ?building ?buildingLabel ?admin ?adminLabel ?image WHERE { ?building wdt:P31/wdt:P279* wd:Q41176 . ?building wdt:P131 wd:Q61 . OPTIONAL { ?building wdt:P131 ?admin . } OPTIONAL { ?building wdt:P18 ?image . } OPTIONAL { ?building rdfs:label ?buildingLabel . FILTER(LANG(?buildingLabel) = \"en\") } OPTIONAL { ?admin rdfs:label ?adminLabel . FILTER(LANG(?adminLabel) = \"en\") } }", "paraphrases": ["What are the buildings located in Washington, D.C., and what are their labels, images, and administrative areas?", "List all buildings in Washington, D.C., including their English names, images, and the administrative regions they belong to."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var5 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerWest> \"POINT(-77 39)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerEast> \"POINT(-77 39)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/P1435> ?var6 . } ?var1 <http://www.wikidata.org/prop/direct/P31> ?var7 . ?var7 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q41176> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4522", "question": "What events occurred on July 26, 2017?", "sparql": "SELECT DISTINCT ?event WHERE { ?event (wdt:P585 | wdt:P606 | wdt:P619 | wdt:P620 | wdt:P621 | wdt:P622 | wdt:P729 | wdt:P1191) ?date . FILTER ( ?date >= \"2017-07-26T00:00:00Z\"^^xsd:dateTime && ?date <= \"2017-07-26T23:59:59Z\"^^xsd:dateTime ) }", "paraphrases": ["Which entities (such as sports events, court cases, or spacecraft missions) had a significant date on July 26, 2017?", "Can you list all recorded events \u2014 like premieres, launches, matches, or service entries \u2014 that took place on July 26, 2017?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P585> | <http://www.wikidata.org/prop/direct/P606> | <http://www.wikidata.org/prop/direct/P619> | <http://www.wikidata.org/prop/direct/P620> | <http://www.wikidata.org/prop/direct/P621> | <http://www.wikidata.org/prop/direct/P622> | <http://www.wikidata.org/prop/direct/P729> | <http://www.wikidata.org/prop/direct/P1191> ) ?var2 . FILTER ( ( ( ?var2 >= \"2017-07-26T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"2017-07-26T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_4523", "question": "Who was born on July 29, 2017?", "sparql": "SELECT DISTINCT ?person WHERE { ?person wdt:P569 ?birthDate . FILTER ( xsd:date(?birthDate) = \"2017-07-29\"^^xsd:date ) }", "paraphrases": ["List all people whose date of birth is July 29, 2017.", "Can you tell me the person born on that day in 2017 \u2014 July 29?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . FILTER ( ( ( ?var2 >= \"2017-07-29T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"2017-07-29T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_4524", "question": "What are the Japanese names and kana readings of countries?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?country ?countryLabel ?kanaName WHERE {\n  ?country wdt:P31 wd:Q6256 .\n  ?country rdfs:label ?countryLabel\n  FILTER ( LANG( ?countryLabel ) = \"ja\" ) .\n  ?country wdt:P1814 ?kanaName .\n}\nLIMIT 100", "paraphrases": ["Which countries have Japanese labels and corresponding kana names (furigana)?", "Show me the Japanese names of countries along with their kana readings, like how Japan is written as \u306b\u307b\u3093 or \u306b\u3063\u307d\u3093."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var3 <http://www.wikidata.org/prop/direct/P1814> ?var1 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"ja\" ) ) ) . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"ja\" ) ) ) . } } LIMIT 100"}}
{"id": "test_4525", "question": "Japanese labels and birth dates of humans.", "sparql": "SELECT ?human ?humanLabel ?dateOfBirth WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P569 ?dateOfBirth . OPTIONAL { ?human rdfs:label ?humanLabel . FILTER (LANG(?humanLabel) = \"ja\") } } LIMIT 100", "paraphrases": ["Which humans have Japanese labels, and what are their dates of birth?", "Show me up to 100 humans with their Japanese names and birth dates."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var3 <http://www.wikidata.org/prop/direct/P569> ?var1 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"ja\" ) ) ) . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"ja\" ) ) ) . } } LIMIT 100"}}
{"id": "test_4526", "question": "Japanese-labeled video game developers and their subsidiaries.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?developer ?developerLabel ?subsidiary ?subsidiaryLabel WHERE {\n  ?developer wdt:P31 wd:Q210167 .\n  ?developer rdfs:label ?developerLabel .\n  FILTER(LANGMATCHES(LANG(?developerLabel) , \"ja\"))\n  .\n  ?subsidiary wdt:P355 ?developer .\n  ?subsidiary rdfs:label ?subsidiaryLabel .\n  FILTER(LANGMATCHES(LANG(?subsidiaryLabel) , \"ja\"))\n}\nLIMIT 100", "paraphrases": ["Which Japanese-named video game companies have Japanese-named subsidiaries?", "Show me up to 100 video game developers and their subsidiaries, both with Japanese labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q210167> . ?var3 <http://www.wikidata.org/prop/direct/P355> ?var1 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"ja\" ) ) ) . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"ja\" ) ) ) . } } LIMIT 100"}}
{"id": "test_4527", "question": "Who are the inventors of drinks?", "sparql": "SELECT ?inventor ?drink WHERE { ?drink wdt:P31 wd:Q40050 . ?drink wdt:P61 ?inventor . } LIMIT 100", "paraphrases": ["Can you list the people who invented beverages and the beverages they created?", "Which individuals are credited with inventing drinks, and what drinks did they invent?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q40050> . ?var1 <http://www.wikidata.org/prop/direct/P69> ?var2 . } LIMIT 100"}}
{"id": "test_4528", "question": "What are the top 100 cities (in Japanese) where the most association football clubs are headquartered, based on the number of players associated with those clubs?", "sparql": "SELECT ?location ?locationLabel (COUNT(?player) AS ?count) WHERE { ?club wdt:P31 wd:Q476028 . ?club wdt:P159 ?location . ?player wdt:P54 ?club . OPTIONAL { ?location rdfs:label ?locationLabel . FILTER(LANG(?locationLabel) = \"ja\") } } GROUP BY ?location ?locationLabel ORDER BY DESC(?count) LIMIT 100", "paraphrases": ["Which cities around the world have the highest number of football players linked to clubs based there, and what are their Japanese names?", "Show me the Japanese names of the cities that host the most football clubs, ranked by how many players are connected to those clubs."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( COUNT ( ?var1 ) AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q476028> . ?var5 <http://www.wikidata.org/prop/direct/P69> ?var4 . ?var5 <http://www.wikidata.org/prop/direct/P159> ?var1 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"ja\" ) ) ) . } } GROUP BY ?var1 ?var2 ORDER BY DESC( ?var3 ) LIMIT 100"}}
{"id": "test_4529", "question": "Films with the most producers, along with their Japanese titles.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?labelJa(COUNT(?producer) AS ?producerCount) WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?producer wdt:P162 ?film .\n  OPTIONAL {\n    ?film rdfs:label ?labelJa .\n    FILTER(LANG(?labelJa) = \"ja\")\n  }\n}\nGROUP BY ?film ?labelJa\nORDER BY DESC(?producerCount)\nLIMIT 100", "paraphrases": ["Which films have the highest number of producers, and what are their Japanese-language titles (if available)?", "Show me the top 100 films with the most producers, and include their Japanese titles when they exist."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var3 <http://www.wikidata.org/prop/direct/P162> ?var1 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"ja\" ) ) ) . } } GROUP BY ?var1 ?var2 ORDER BY DESC( ?var4 ) LIMIT 100"}}
{"id": "test_4530", "question": "Top 100 films by number of physical copies, with Japanese titles if available.", "sparql": "SELECT ?film ?japaneseLabel (COUNT(?copy) AS ?copyCount) WHERE { ?film wdt:P31 wd:Q11424 . ?copy wdt:P1574 ?film . OPTIONAL { ?film rdfs:label ?japaneseLabel . FILTER(LANG(?japaneseLabel) = \"ja\") } } GROUP BY ?film ?japaneseLabel ORDER BY DESC(?copyCount) LIMIT 100", "paraphrases": ["Which films have the most physical copies in existence, and what are their Japanese titles?", "List the films with the highest number of copies, sorted by count, and include their Japanese labels if they exist."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var3 <http://www.wikidata.org/prop/direct/P1574> ?var1 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"ja\" ) ) ) . } } GROUP BY ?var1 ?var2 ORDER BY DESC( ?var4 ) LIMIT 100"}}
{"id": "test_4531", "question": "Food items and the cuisines they belong to.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var1 ?var2 WHERE {\n  ?var1 ( wdt:P31 / wdt:P279 * ) wd:Q2095 .\n  ?var1 wdt:P361 ?var2 .\n}\nORDER BY ASC ( ?var1 )\nLIMIT 5000", "paraphrases": ["What food items are part of specific cuisines?", "List all food items along with the culinary traditions they are part of."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q2095> . ?var1 <http://www.wikidata.org/entity/p361> ?var2 . } ORDER BY ASC( ?var3 ) LIMIT 5000"}}
{"id": "test_4532", "question": "How many zoos are listed in Wikidata?", "sparql": "SELECT ( COUNT( ?zoo ) AS ?count ) WHERE { ?zoo wdt:P31 wd:Q43501 . }", "paraphrases": ["What is the total count of entities classified as zoos in Wikidata?", "Can you tell me how many items in Wikidata are instances of a zoo?"], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q43501> . }"}}
{"id": "test_4533", "question": "What drug has the ATC code S01EC01?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?drug ?drugLabel WHERE {\n  ?drug wdt:P267 \"S01EC01\" .\n  ?drug rdfs:label ?drugLabel .\n  FILTER ( LANG( ?drugLabel ) = \"en\" )\n}", "paraphrases": ["Which medication is classified under the ATC code S01EC01?", "Can you tell me the name of the drug that has the ATC classification code S01EC01?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P267> \"S01EC01\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_4534", "question": "What are all the music genres listed in Wikidata?", "sparql": "SELECT DISTINCT ?musicGenre ?musicGenreLabel WHERE { ?musicGenre wdt:P31 wd:Q188451 . ?musicGenre rdfs:label ?musicGenreLabel . FILTER(LANG(?musicGenreLabel) = \"en\") } ORDER BY ASC(?musicGenreLabel)", "paraphrases": ["List of music genres in Wikidata with English labels", "Show me all the music genres defined in Wikidata, sorted alphabetically by their English names."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> + <http://www.wikidata.org/entity/Q188451> . } ORDER BY ASC( ?var1 )"}}
{"id": "test_4535", "question": "What are all the superclass categories of a fitness tracker?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?subclass WHERE {\n  wd:Q16001686 wdt:P279 * ?subclass .\n}", "paraphrases": ["What classes does a fitness tracker belong to, including all its parent categories in the hierarchy?", "Show me the full hierarchy of classes that a fitness tracker is a subclass of, from direct parent up to the most general category."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q16001686> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_4536", "question": "What are the titles, publication dates, and publication venues of scholarly articles in English?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?article ?articleTitle ?venueLabel ?date WHERE {\n  ?article wdt:P31 wd:Q13442814 .\n  ?article wdt:P1476 ?articleTitle .\n  OPTIONAL {\n    ?article wdt:P577 ?date .\n  }\n  OPTIONAL {\n    ?article wdt:P1433 ?venue .\n    ?venue rdfs:label ?venueLabel .\n    FILTER ( LANG( ?venueLabel ) = \"en\" )\n  }\n}\nLIMIT 10000", "paraphrases": ["Can you list academic papers along with the journals they were published in and when they were released?", "Show me scholarly articles with their English titles, publication years, and the names of the journals or books they appeared in."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4 WHERE { { SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13442814> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1433> ?var3 . } } LIMIT 10000 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es\". } }"}}
{"id": "test_4537", "question": "What are the 100 most common Dutch-language names for human settlements in Wikidata, and how many settlements share each name?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label(COUNT(*) AS ?count) WHERE {\n  ?settlement wdt:P31 wd:Q486972 ; rdfs:label ?label .\n  FILTER(LANG(?label) = \"nl\")\n}\nGROUP BY ?label\nORDER BY DESC(?count)\nLIMIT 100", "paraphrases": ["Which place names in Dutch are used for the most human settlements on Wikidata?", "Can you list the top 100 Dutch labels for settlements that appear most frequently across different locations in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { { SELECT ?var1 ( COUNT (* ) AS ?var2 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q486972> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"nl\" ) && STRSTARTS ( STR ( ?var4Label ) , \"stad in\" ) && CONTAINS ( STR ( ?var4Label ) , \" \" ) ) ) . } GROUP BY ?var1 } } ORDER BY DESC( ?var2 ) LIMIT 100"}}
{"id": "test_4538", "question": "Canadian female citizens and their occupations", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ( GROUP_CONCAT( DISTINCT ?occupationLabel ; SEPARATOR = \", \" ) AS ?occupations ) WHERE {\n  VALUES ?country {\n    wd:Q16\n  }\n  VALUES ?gender {\n    wd:Q6581072\n  }\n  ?person wdt:P31 wd:Q5 ; wdt:P21 ?gender ; wdt:P27 ?country ; wdt:P106 ?occupation .\n  ?person rdfs:label ?personLabel .\n  ?occupation rdfs:label ?occupationLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) FILTER ( LANG( ?occupationLabel ) = \"en\" )\n}\nGROUP BY ?person ?personLabel\nORDER BY ASC ( ?personLabel )\nLIMIT 50", "paraphrases": ["Who are Canadian women and what are their occupations?", "List Canadian women along with all their occupations, sorted alphabetically by name."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var1 ) AS ?var2 ) ?var1Label ( GROUP_CONCAT ( DISTINCT ?var3Label ; SEPARATOR = \", \" ) AS ?var4 )( GROUP_CONCAT ( DISTINCT ?var5Label ; SEPARATOR = \", \" ) AS ?var6 ) WHERE { VALUES ( ?var7 ) { ( <http://www.wikidata.org/entity/Q16> ) } VALUES ( ?var8 ) { ( <http://www.wikidata.org/entity/Q6581072> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P21> ?var8 ; <http://www.wikidata.org/prop/direct/P27> ?var5 ; <http://www.wikidata.org/prop/direct/P27> ?var7 ; <http://www.wikidata.org/prop/direct/P106> ?var3 . FILTER ( ( NOT EXISTS { ?var9 <http://schema.org/about> ?var1 . FILTER ( ( ( SUBSTR ( STR ( ?var9 ) ,\"11\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"15\"^^<http://www.w3.org/2001/XMLSchema#integer> ) = \"string1\" ) ) ) . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . } } GROUP BY ?var1 ?var1Label ORDER BY ASC( ?var1Label )"}}
{"id": "test_4539", "question": "People who died in March 1939", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person WHERE {\n  ?person wdt:P570 ?deathDate .\n  FILTER ( YEAR( ?deathDate ) = 1939 && MONTH( ?deathDate ) = 3 )\n}", "paraphrases": ["Who died in March 1939?", "List all individuals whose date of death was in March 1939."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . FILTER ( ( ( ?var2 >= \"1939-03-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1939-03-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_4540", "question": "Female Canadian citizens who are not pornographic actors.", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P21 wd:Q6581072 . ?person wdt:P27 wd:Q16 . FILTER NOT EXISTS { ?person wdt:P106 wd:Q488111 . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["Who are the female Canadian citizens that are not pornographic actors?", "List the English names of all women who are citizens of Canada and do not work as pornographic actors."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 ( <http://www.wikidata.org/prop/direct/P27> | <http://www.wikidata.org/prop/direct/P17> ) <http://www.wikidata.org/entity/Q16> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var3 . } FILTER ( ( NOT EXISTS { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q488111> . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr\". } }"}}
{"id": "test_4541", "question": "Who are the municipal executives of Utrecht, and what are their names and images?", "sparql": "SELECT ?item ?itemLabel ?image WHERE { ?item wdt:P39 wd:Q20992515 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") OPTIONAL { ?item wdt:P18 ?image . } } LIMIT 100", "paraphrases": ["List the names and photos of people who have served as municipal executive of Utrecht.", "What are the English labels and images of individuals who held the position of municipal executive of Utrecht?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q20992515> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_4542", "question": "Scholarly articles by N H Barton", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?article ?label ?authorName WHERE {\n  ?article wdt:P31 wd:Q13442814 .\n  ?article wdt:P2093 ?authorName .\n  FILTER ( ?authorName = \"N H Barton\" ) OPTIONAL {\n    ?article rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n}", "paraphrases": ["Which scholarly articles have N H Barton listed as the author?", "Show me the English titles of all scholarly articles where the author is named N H Barton."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13442814> . ?var1 <http://www.wikidata.org/prop/direct/P2093> ?var3 . FILTER ( ( CONTAINS ( ?var3 , \"N H Barton\" ) ) ) . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } } LIMIT 100"}}
{"id": "test_4543", "question": "Top 100 most common Dutch street name prefixes in the Netherlands (excluding streets named after people), ending in \"straat\" and containing multiple words.", "sparql": "SELECT ?prefix ?count WHERE { { SELECT ?prefix (COUNT(*) AS ?count) WHERE { ?street wdt:P31 wd:Q79007 ; wdt:P17 wd:Q55 ; rdfs:label ?label . MINUS { ?street wdt:P138 [] . } BIND(STRBEFORE(STR(?label), \"straat\") AS ?prefix) FILTER ( LANG(?label) = \"nl\" && STRENDS(STR(?label), \"straat\") && CONTAINS(?prefix, \" \") ) } GROUP BY ?prefix } } ORDER BY DESC(?count) LIMIT 100", "paraphrases": ["Which multi-word names are most frequently used as prefixes for streets in the Netherlands that end in \"straat\" and are not named after a person?", "Show me the 100 most popular street name components (before \"straat\") in Dutch-language street names in the Netherlands, but only include those with multiple words and that aren\u2019t named after someone."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { { SELECT ?var1 ( COUNT (* ) AS ?var2 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q79007> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q55> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . MINUS { ?var3 <http://www.wikidata.org/prop/direct/P138> [] . } BIND ( STRBEFORE ( STR ( ?var4Label ) , \"straat\" ) AS ?var1 ). FILTER ( ( ( LANG ( ?var4Label ) = \"nl\" ) && STRENDS ( STR ( ?var4Label ) , \"straat\" ) && CONTAINS ( STR ( ?var4Label ) , \" \" ) ) ) . } GROUP BY ?var1 } } ORDER BY DESC( ?var2 ) LIMIT 100"}}
{"id": "test_4544", "question": "What are the top three properties that link people to places (like birth, death, or burial), and how many people are associated with each, along with the most common places involved?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?property(SAMPLE(?propertyLabel) AS ?propertyLabelName)(COUNT(?item) AS ?count)(GROUP_CONCAT(?placeLabel ; SEPARATOR = \", \") AS ?placeLabels) WHERE {\n  ?item ?property ?place .\n  ?propertyEntity wikibase:directClaim ?property .\n  ?propertyEntity rdfs:label ?propertyLabel .\n  ?place rdfs:label ?placeLabel .\n  FILTER(LANG(?propertyLabel) = \"en\")\n  FILTER(LANG(?placeLabel) = \"en\")\n  VALUES ?property {\n    wdt:P20 wdt:P19 wdt:P119\n  }\n}\nGROUP BY ?property", "paraphrases": ["For properties such as place of birth, death, and burial, show the English label of each property, the number of people linked to places via that property, and a comma-separated list of the place names.", "Can you list the place-related properties (birth, death, burial) used in Wikidata, how many entities use each, and the top places associated with them in English?"], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/P20> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_4545", "question": "What is the English title and description of the Broadway play with IBDB ID 4172?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?desc WHERE {\n  ?item wdt:P1219 \"4172\" .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel FILTER ( LANG( ?itemLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?item schema:description ?desc FILTER ( LANG( ?desc ) = \"en\" )\n  }\n}", "paraphrases": ["Tell me the name and a brief description of the play identified by IBDB show ID 4172.", "Which play has the Internet Broadway Database ID 4172, and what is its English description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1219> \"5299\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4546", "question": "External URLs for the film \"Don't Think Twice\" on Rotten Tomatoes, YouTube, Twitter, Facebook, and IMDb.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?serviceName ?url WHERE {\n  wd:Q20880595 ?property ?externalId .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?serviceName .\n  FILTER ( LANG( ?serviceName ) = \"en\" ) .\n  ?propertyItem wdt:P1630 ?formatterUrl .\n  BIND( IRI( CONCAT ( STRBEFORE( ?formatterUrl , \"$1\" ) , ?externalId , STRAFTER( ?formatterUrl , \"$1\" ) ) ) AS ?url ) VALUES ?property {\n    wdt:P1651 wdt:P1258 wdt:P345 wdt:P2002 wdt:P2013 wdt:P3221\n  }\n}", "paraphrases": ["What are the official web links for the movie \"Don't Think Twice\" on platforms like Rotten Tomatoes, YouTube, Twitter, Facebook, and IMDb?", "Please provide the direct URLs for the film \"Don't Think Twice\" on Rotten Tomatoes, YouTube, X (Twitter), Facebook, and IMDb, using their respective identifiers from Wikidata."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { <http://www.wikidata.org/entity/Q20880595> ?var4 ?var5 . ?var6 <http://wikiba.se/ontology#directClaim> ?var4 . OPTIONAL { ?var6 <http://www.wikidata.org/prop/direct/P1629> ?var1 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/direct/P1630> ?var7 . } BIND ( IRI ( CONCAT ( STRBEFORE ( ?var7 , \"$\" ) , ?var5 ) ) AS ?var2 ). BIND ( IRI ( CONCAT ( \"string1\", ENCODE_FOR_URI ( STR ( ?var2 ) ) ) ) AS ?var3 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } VALUES ( ?var4 ) { ( <http://www.wikidata.org/prop/direct/P1651> ) ( <http://www.wikidata.org/prop/direct/P1258> ) ( <http://www.wikidata.org/prop/direct/P345> ) ( <http://www.wikidata.org/prop/direct/P2847> ) ( <http://www.wikidata.org/prop/direct/P2002> ) ( <http://www.wikidata.org/prop/direct/P2013> ) ( <http://www.wikidata.org/prop/direct/P3221> ) } }"}}
{"id": "test_4547", "question": "Libraries in the Common Library Network (GBV) and their official websites.", "sparql": "SELECT ?libraryLabel ?website WHERE { ?library (wdt:P31/wdt:P279*) wd:Q7075 ; wdt:P463 wd:Q1500919 . OPTIONAL { ?library wdt:P856 ?website . } ?library rdfs:label ?libraryLabel . FILTER(LANG(?libraryLabel) = \"en\" || LANG(?libraryLabel) = \"de\") }", "paraphrases": ["What are the official websites of libraries that are part of the Common Library Network (GBV)?", "List the names (in English or German) and official websites of all libraries that belong to the GBV network in Germany."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7075> ; <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q1500919> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,de\". } }"}}
{"id": "test_4548", "question": "What works of art are located in New York City, and what are their locations, images, types, and labels in English or Swedish?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item ?itemLabel ?coord ?image ?type ?typeLabel ?style ?styleLabel ?architect ?architectLabel WHERE {\n  ?admin wdt:P131 * wd:Q60 .\n  ?item wdt:P131 ?admin .\n  ?item wdt:P625 ?coord .\n  ?item wdt:P18 ?image .\n  ?item wdt:P31 ?type .\n  ?type wdt:P279 * wd:Q838948 .\n  OPTIONAL {\n    ?admin rdfs:label ?adminLabel .\n    FILTER ( LANG( ?adminLabel ) = \"sv\" )\n  }\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER ( LANG( ?itemLabel ) IN ( \"sv\" , \"en\" ) )\n  }\n  OPTIONAL {\n    ?type rdfs:label ?typeLabel .\n    FILTER ( LANG( ?typeLabel ) IN ( \"sv\" , \"en\" ) )\n  }\n  OPTIONAL {\n    ?item wdt:P149 ?style .\n    ?style rdfs:label ?styleLabel .\n    FILTER ( LANG( ?styleLabel ) IN ( \"sv\" , \"en\" ) )\n  }\n  OPTIONAL {\n    ?item wdt:P84 ?architect .\n    ?architect rdfs:label ?architectLabel .\n    FILTER ( LANG( ?architectLabel ) IN ( \"sv\" , \"en\" ) )\n  }\n}\nGROUP BY ?item ?itemLabel ?coord ?image ?type ?typeLabel ?style ?styleLabel ?architect ?architectLabel\nORDER BY ASC ( ?itemLabel )", "paraphrases": ["Show me all the sculptures, monuments, and other art pieces in New York City with their coordinates, photos, and Swedish or English names.", "List public art in New York City with their images and administrative divisions, including labels in Swedish where available."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ( SAMPLE ( ?var2 ) AS ?var2 )( SAMPLE ( ?var2Label ) AS ?var2Label )( SAMPLE ( ?var3 ) AS ?var3 )( SAMPLE ( ?var4 ) AS ?var4 ) ?var5 ?var5Label ?var6 ?var6Label ?var7 ?var7Label WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var2 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q60> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . ?var1 <http://www.wikidata.org/prop/P1435> ?var8 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q838948> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( LANG ( ?var2Label ) IN ( \"sv\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P149> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P84> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv,en,en\". } } GROUP BY ?var1 ?var1Label ?var5 ?var5Label ?var6 ?var6Label ?var7 ?var7Label ORDER BY ASC( ?var1Label )"}}
{"id": "test_4549", "question": "What are the geographical locations (city, country, continent) associated with the Scripps Institution of Oceanography?", "sparql": "SELECT DISTINCT ?location ?locationLabel WHERE { { wd:Q604029 (wdt:P17 | wdt:P131) ?location . } UNION { wd:Q604029 wdt:P17 ?country . ?country wdt:P30 ?location . } ?location rdfs:label ?locationLabel . FILTER(LANG(?locationLabel) = \"en\") } LIMIT 100", "paraphrases": ["Where is the Scripps Institution of Oceanography located, including its country and continent?", "Show me the administrative region, country, and continent of the Scripps Institution of Oceanography."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q604029> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_4550", "question": "What are the names of roads that have a defined endpoint and its geographic location?", "sparql": "SELECT DISTINCT ?road ?roadLabel WHERE { ?road (wdt:P31/wdt:P279*) wd:Q34442 . ?road wdt:P559 ?terminus . ?road wdt:P609 ?location . ?road rdfs:label ?roadLabel . FILTER(LANG(?roadLabel) = \"en\") }", "paraphrases": ["Can you list English-named roads that end at a specific location and have a known terminus?", "Show me roads with both a terminus and a terminus location in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q34442> . ?var1 <http://www.wikidata.org/prop/direct/P559> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P609> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_4551", "question": "Who were the members of the Harvard Computers?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?human WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human wdt:P463 wd:Q553727 .\n}\nLIMIT 500", "paraphrases": ["Which human individuals were part of the group known as the Harvard Computers?", "List all women who worked as astronomers at Harvard Observatory as part of the Harvard Computers team."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P463> ?var2 . ?var2 ( <http://www.wikidata.org/prop/direct/P279> | <http://www.wikidata.org/prop/direct/P131> )* <http://www.wikidata.org/entity/Q553727> . } LIMIT 500"}}
{"id": "test_4552", "question": "What is the English title and description of the film with Internet Broadway Database ID 6938?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P1219 \"6938\" .\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["Can you tell me the title and a brief description in English for the film identified by IBDB show ID 6938?", "Which 1929 film has the IBDB show ID 6938, and what is its English description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1219> \"6938\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4553", "question": "What are the top-level categories or types that entities like \"statue\", \"poem\", and \"video game\" belong to in Wikidata?", "sparql": "SELECT ?item ?itemLabel ?type ?typeLabel WHERE {  VALUES ?item {    wd:Q5398426 wd:Q5633421 wd:Q277338 wd:Q484170 wd:Q15416 wd:Q43229 wd:Q9842 wd:Q7366 wd:Q5185279 wd:Q34023 wd:Q811979 wd:Q7889 wd:Q18340514 wd:Q179700 wd:Q23925393 wd:Q489357 wd:Q476028 wd:Q253019 wd:Q17343829 wd:Q2996394 wd:Q26211545  }  ?item wdt:P31 ?type .  OPTIONAL { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }  OPTIONAL { ?type rdfs:label ?typeLabel . FILTER(LANG(?typeLabel) = \"en\") }} ORDER BY ?item", "paraphrases": ["Can you show me what classes the following concepts are instances of: television series, scientific journal, pseudogene, and other similar entities? Include their English labels.", "For each of these 21 notable concepts \u2014 such as \"primary school\", \"commune of France\", and \"architectural structure\" \u2014 what is their direct type or category in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q5398426> ) ( <http://www.wikidata.org/entity/Q5633421> ) ( <http://www.wikidata.org/entity/Q277338> ) ( <http://www.wikidata.org/entity/Q484170> ) ( <http://www.wikidata.org/entity/Q15416> ) ( <http://www.wikidata.org/entity/Q43229> ) ( <http://www.wikidata.org/entity/Q9842> ) ( <http://www.wikidata.org/entity/Q7366> ) ( <http://www.wikidata.org/entity/Q5185279> ) ( <http://www.wikidata.org/entity/Q34023> ) ( <http://www.wikidata.org/entity/Q811979> ) ( <http://www.wikidata.org/entity/Q7889> ) ( <http://www.wikidata.org/entity/Q18340514> ) ( <http://www.wikidata.org/entity/Q179700> ) ( <http://www.wikidata.org/entity/Q23925393> ) ( <http://www.wikidata.org/entity/Q489357> ) ( <http://www.wikidata.org/entity/Q476028> ) ( <http://www.wikidata.org/entity/Q253019> ) ( <http://www.wikidata.org/entity/Q17343829> ) ( <http://www.wikidata.org/entity/Q2996394> ) ( <http://www.wikidata.org/entity/Q26211545> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10"}}
{"id": "test_4554", "question": "Humans who have male children", "sparql": "SELECT ?human ?humanLabel WHERE { ?human wdt:P31 wd:Q5 . ?human p:P40 ?childStmt . ?childStmt ps:P40 ?child . ?childStmt pq:P21 wd:Q6581097 . ?human rdfs:label ?humanLabel . FILTER(LANG(?humanLabel) = \"en\") }", "paraphrases": ["Which humans have at least one son?", "List the names of people who have male children."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/P40> ?var2 . ?var2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.wikidata.org/prop/novalue/P40> . FILTER ( ( ( STR ( ?var3 ) = \"male\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4555", "question": "What is the English name and description of the Irish archaeological site with SMR ID OF016-015010?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?site ?siteLabel ?description WHERE {\n  ?site wdt:P4057 \"OF016-015010\" .\n  OPTIONAL {\n    ?site schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n  ?site rdfs:label ?siteLabel .\n  FILTER ( LANG( ?siteLabel ) = \"en\" )\n}", "paraphrases": ["Can you tell me the name and description in English of the site in Offaly with identifier OF016-015010?", "Show me the English label and description for the site in the Irish Sites and Monuments Record with ID OF016-015010."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4057> \"OF01362\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4556", "question": "When were Denis Blundell born and died?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  BIND( wd:Q4087976 AS ?person ) .\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}", "paraphrases": ["What are the birth and death dates of Denis Blundell, the 12th Governor-General of New Zealand?", "Can you tell me the full name, birth date, and death date of Denis Blundell?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q4087976> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4557", "question": "What are the birth and death dates of Oakes Ames?", "sparql": "SELECT ?name ?birth ?death WHERE { wd:Q1669326 rdfs:label ?name . FILTER(LANG(?name) = \"en\") . OPTIONAL { wd:Q1669326 wdt:P569 ?birth . } OPTIONAL { wd:Q1669326 wdt:P570 ?death . } }", "paraphrases": ["When was the American botanist Oakes Ames born and when did he die?", "Can you tell me the full name, birth date, and death date of Oakes Ames, the botanist?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q1669326> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4558", "question": "All relatives of Jos\u00e9 Antonio Primo de Rivera via the \"relative\" property, including indirect ones.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?relative ?relativeLabel WHERE {\n  wd:Q57681(wdt:P1038 | ^ wdt:P1038) + ?relative .\n  ?relative rdfs:label ?relativeLabel .\n  FILTER(LANG(?relativeLabel) = \"en\")\n}", "paraphrases": ["Who are all the people related to Jos\u00e9 Antonio Primo de Rivera through family connections, even indirectly?", "List all individuals connected to Jos\u00e9 Antonio Primo de Rivera by any chain of family relationships, with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q57681> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Undirected\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P1038> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1038> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es\". } }"}}
{"id": "test_4559", "question": "What are the properties and their values associated with the 2016 Lahore suicide bombing, along with the count and English labels of those values?", "sparql": "SELECT ?property ?propertyLabel (COUNT(?value) AS ?valueCount) (GROUP_CONCAT(?valueLabel; SEPARATOR=\", \") AS ?valueLabels)\nWHERE {\n  wd:Q23638613 ?property ?value .\n  ?value rdfs:label ?valueLabel .\n  FILTER(LANG(?valueLabel) = \"en\") .\n  BIND(IRI(REPLACE(STR(?property), \"http://www.wikidata.org/prop/direct/\", \"http://www.wikidata.org/entity/\")) AS ?propertyItem) .\n  ?propertyItem rdfs:label ?propertyLabel .\n  FILTER(LANG(?propertyLabel) = \"en\") .\n}\nGROUP BY ?property ?propertyLabel", "paraphrases": ["For the 2016 Lahore suicide bombing, list each property (like \"country\" or \"location\"), how many times it appears, and what the English labels of its values are.", "Can you show me a summary of the 2016 Lahore suicide bombing\u2019s attributes, including the property names in English, how many values each has, and what those values are?"], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q23638613> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_4560", "question": "What are the taxonomic ancestors of Aeaea placatrix?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?ancestor WHERE {\n  wd:Q10401574 wdt:P171 * ?ancestor .\n}", "paraphrases": ["Starting from the insect species Aeaea placatrix, what are all the higher taxonomic groups it belongs to, including genus, family, order, class, and kingdom?", "List all parent taxa in the evolutionary lineage of Aeaea placatrix, from species up to kingdom."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q10401574> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P171> | <http://www.wikidata.org/prop/direct/P273> | <http://www.wikidata.org/prop/direct/P75> | <http://www.wikidata.org/prop/direct/P76> | <http://www.wikidata.org/prop/direct/P77> | <http://www.wikidata.org/prop/direct/P70> | <http://www.wikidata.org/prop/direct/P71> | <http://www.wikidata.org/prop/direct/P74> | <http://www.wikidata.org/prop/direct/P89> )* ?var1 . }"}}
{"id": "test_4561", "question": "Sports competitions whose type is associated with a sport but the competition itself has no direct sport link.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT DISTINCT ?competition ?competitionLabel ?sport ?sportLabel(STRAFTER(STR(?competition) , \"entity/\") AS ?competitionId)(STRAFTER(STR(?sport) , \"entity/\") AS ?sportId) WHERE {\n  ?competition wdt:P3450 ?league . MINUS {\n    ?competition p:P641 [] .\n  }\n  ?competition wdt:P31 ?type .\n  ?type wdt:P641 ?sport .\n  ?competition rdfs:label ?competitionLabel .\n  ?sport rdfs:label ?sportLabel .\n  FILTER(LANG(?competitionLabel) = \"en\")\n  FILTER(LANG(?sportLabel) = \"en\")\n}", "paraphrases": ["Which sports competitions are classified under a type that has a sport, but are not themselves directly linked to a sport?", "List sports competitions that inherit their sport from their class rather than having a direct sport property, along with the associated sport and their Wikidata IDs."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ( STRAFTER ( STR ( ?var1 ) , \"y/\" ) AS ?var3 )( \"P641\" AS ?var4 )( STRAFTER ( STR ( ?var2 ) , \"y/\" ) AS ?var5 ) WHERE { ?var6 <http://www.wikidata.org/prop/direct/P3450> ?var1 . MINUS { ?var1 <http://www.wikidata.org/prop/P641> [] . } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P641> ) ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4562", "question": "What type of entity is Donald Trump classified as in Wikidata?", "sparql": "SELECT ?type ?typeLabel WHERE { wd:Q22686 wdt:P31 ?type . ?type rdfs:label ?typeLabel . FILTER(LANG(?typeLabel) = \"en\") }", "paraphrases": ["What is the instance type of Donald Trump?", "Can you tell me what category Donald Trump belongs to as an individual?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { <http://www.wikidata.org/entity/Q22686> <http://www.wikidata.org/prop/direct/P31> ?var1 . } UNION { <http://www.wikidata.org/entity/Q22686> <http://www.wikidata.org/prop/direct/P279> ?var1 . } UNION { <http://www.wikidata.org/entity/Q22686> <http://www.wikidata.org/prop/direct/P279> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_4563", "question": "Scientific publications and discoveries from December 1977", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item WHERE {\n  ?item ( wdt:P571 | wdt:P575 | wdt:P577 | wdt:P1619 ) ?date .\n  FILTER ( ?date >= \"1977-12-01T00:00:00Z\" ^^ xsd:dateTime && ?date <= \"1977-12-31T23:59:59Z\" ^^ xsd:dateTime )\n}", "paraphrases": ["What scientific works were published, discovered, or officially opened in December 1977?", "List all entities in Wikidata that have a publication date, discovery date, inception, or official opening date in December 1977."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P571> | <http://www.wikidata.org/prop/direct/P575> | <http://www.wikidata.org/prop/direct/P577> | <http://www.wikidata.org/prop/direct/P1619> ) ?var2 . FILTER ( ( ( ?var2 >= \"1977-12-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1977-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_4564", "question": "People with ORCID iDs and their English names", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?orcid WHERE {\n  ?person wdt:P496 ?orcid .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}\nORDER BY ASC ( ?personLabel )\nLIMIT 1000", "paraphrases": ["Who are the people with ORCID identifiers, and what are their English labels?", "List up to 1,000 people who have an ORCID iD, along with their English names and ORCID numbers, sorted alphabetically by name."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var2 ; <http://wikiba.se/ontology#statements> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> . } LIMIT 1000 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY DESC( ?var3 )ASC( ?var1 )"}}
{"id": "test_4565", "question": "Properties used to describe Ajaccio, excluding \"instance of\"", "sparql": "SELECT DISTINCT ?property WHERE { ?subject ?statementProperty wd:Q40104 . ?property wikibase:statementProperty ?statementProperty . FILTER (?property != wd:P31) }", "paraphrases": ["What properties (besides \"instance of\") are associated with Ajaccio in Wikidata?", "List all properties that have been used to make statements about Ajaccio, except for \"instance of\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 ?var3 <http://www.wikidata.org/entity/Q40104> . ?var1 <http://wikiba.se/ontology#statementProperty> ?var3 . FILTER ( ( ( ?var1 != <http://www.wikidata.org/entity/P31> ) ) ) . }"}}
{"id": "test_4566", "question": "What type of organization is Cargill classified as?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?class ?classLabel WHERE {\n  wd:Q1036056 wdt:P31 ?class .\n  ?class rdfs:label ?classLabel .\n  FILTER ( LANG( ?classLabel ) = \"en\" )\n}", "paraphrases": ["What are the classes that Cargill belongs to in Wikidata?", "Is Cargill a business or an enterprise according to Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label ?var4Label ?var5Label ?var6 ?var7Label ?var8 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Cargill\"@en . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q783794> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 1"}}
{"id": "test_4567", "question": "What images are associated with Gregory Witkowski through his works or related entities?", "sparql": "SELECT DISTINCT ?image WHERE { { wd:Q34201897 wdt:P18 ?image . } UNION { wd:Q34201897 ?property ?associatedEntity . ?associatedEntity wdt:P18 ?image . FILTER (?associatedEntity != wd:Q5) } UNION { ?work wdt:P50 wd:Q34201897 . ?work wdt:P921 ?mainSubject . ?mainSubject wdt:P18 ?image . } }", "paraphrases": ["What images on Wikimedia Commons are linked to Gregory Witkowski, either directly or through the subjects of works he authored?", "Show me all images connected to Gregory Witkowski, including those of the topics he wrote about or entities he is associated with, but not images of other people."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { <http://www.wikidata.org/entity/Q34201897> <http://www.wikidata.org/prop/direct/P18> ?var1 . } UNION { <http://www.wikidata.org/entity/Q34201897> ?var2 ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P18> ?var1 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/Q5> ) ) ) . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q34201897> . { ?var4 <http://www.wikidata.org/prop/direct/P921> [ <http://www.wikidata.org/prop/direct/P18> ?var1 ] . } UNION { ?var5 <http://www.wikidata.org/prop/direct/P50> ?var4 . ?var5 <http://www.wikidata.org/prop/direct/P18> ?var1 . } } }"}}
{"id": "test_4568", "question": "What movie has the IMDb ID tt1532945?", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P345 \"tt1532945\" . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["Which Wikidata item corresponds to the IMDb identifier tt1532945?", "Find the English label of the film with IMDb ID tt1532945."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1532945\". }"}}
{"id": "test_4569", "question": "Basque-speaking writers born in the Basque Country with birth/death years, images, ISNI, and VIAF IDs.", "sparql": "SELECT ?writer ?image ?birthYear ?deathYear ?viafId ?isni WHERE { ?writer wdt:P31 wd:Q5 . ?writer wdt:P106/wdt:P279* wd:Q36180 . ?writer wdt:P1412 wd:Q8752 . ?writer wdt:P19 ?birthPlace . ?birthPlace wdt:P131* ?administrativeEntity . wd:Q47588 wdt:P527 ?administrativeEntity . OPTIONAL { ?writer wdt:P18 ?image . } OPTIONAL { ?writer wdt:P569 ?birthDate . BIND(YEAR(?birthDate) AS ?birthYear) } OPTIONAL { ?writer wdt:P570 ?deathDate . BIND(YEAR(?deathDate) AS ?deathYear) } OPTIONAL { ?writer wdt:P214 ?viafId . } OPTIONAL { ?writer wdt:P213 ?isni . } } LIMIT 2000", "paraphrases": ["Who are the human writers who speak Basque and were born in the Basque Country, and what are their birth years, death years, images, ISNI, and VIAF identifiers?", "List all Basque-speaking writers from the Basque Country, including their birth and death years, if available, along with their images, ISNI, and VIAF IDs."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/entity/P279> *) <http://www.wikidata.org/entity/Q5> . ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/entity/P279> *) <http://www.wikidata.org/entity/Q36180> . ?var1 <http://www.wikidata.org/prop/direct/P1412> <http://www.wikidata.org/entity/Q8752> . ?var2 <http://www.wikidata.org/prop/direct/P131> * ?var8 . <http://www.wikidata.org/entity/Q47588> <http://www.wikidata.org/prop/direct/P527> ?var8 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P214> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P213> ?var7 . } BIND ( YEAR ( ?var9 ) AS ?var4 ). BIND ( YEAR ( ?var10 ) AS ?var5 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"eu,eu, fr, en, es\". } } LIMIT 2000"}}
{"id": "test_4570", "question": "What are the main topics of works written by Eugene R. Tempel, and how many works are there for each topic?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?count ?subjectLabel ?workLabel WHERE {\n  {\n    SELECT ?subject(COUNT(?work) AS ?count) WHERE {\n      ?work wdt:P50 wd:Q34225616 .\n      ?work wdt:P921 ?subject .\n    }\n    GROUP BY ?subject\n    ORDER BY DESC(?count)\n  }\n  ?work wdt:P50 wd:Q34225616 .\n  ?work wdt:P921 ?subject .\n  ?subject rdfs:label ?subjectLabel .\n  ?work rdfs:label ?workLabel .\n  FILTER(LANG(?subjectLabel) = \"en\")\n  FILTER(LANG(?workLabel) = \"en\")\n}\nORDER BY DESC(?count)", "paraphrases": ["Which subjects are most commonly associated with the books and articles authored by Eugene R. Tempel, and what are the titles of those works?", "List the main subjects of Eugene R. Tempel\u2019s publications, along with the count of publications per subject and the titles of the works."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label WHERE { { SELECT ?var4 ( COUNT ( ?var5 ) AS ?var1 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q34225616> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . } GROUP BY ?var4 ORDER BY DESC( ?var1 ) } BIND ( SUBSTR ( ?var6Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q34225616> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . }"}}
{"id": "test_4571", "question": "List of fish species in Wikidata with their English names.", "sparql": "SELECT ?fish ?fishLabel WHERE { ?fish wdt:P31 wd:Q152 . ?fish rdfs:label ?fishLabel . FILTER(LANG(?fishLabel) = \"en\") }", "paraphrases": ["What are the English names of all fish species listed in Wikidata?", "Show me the English labels of all entities classified as fish in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q152> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . } }"}}
{"id": "test_4572", "question": "List French departments with their INSEE codes and English names, sorted by INSEE code.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?department ?inseeCode ?departmentLabel WHERE {\n  ?department wdt:P31 wd:Q6465 .\n  ?department wdt:P2586 ?inseeCode .\n  ?department rdfs:label ?departmentLabel .\n  FILTER ( LANG( ?departmentLabel ) = \"en\" )\n}\nORDER BY ASC ( ?inseeCode )", "paraphrases": ["What are the English names and INSEE codes of all French departments, ordered by their INSEE code?", "Please provide a list of French departments, including their INSEE codes and English labels, sorted in ascending order of the INSEE code."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6465> . ?var1 <http://www.wikidata.org/prop/direct/P300> [] . ?var1 <http://www.wikidata.org/prop/direct/P2586> ?var2 . { SELECT DISTINCT ?var1 ( GROUP_CONCAT ( ?var5 ; SEPARATOR = \"<br />\" ) AS ?var3 )( GROUP_CONCAT ( ?var6 ; SEPARATOR = \"<br />\" ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6465> . ?var1 <http://www.wikidata.org/prop/P36> ?var7 . ?var7 <http://www.wikidata.org/prop/statement/P36> ?var5 . OPTIONAL { ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var8 . FILTER ( ( ( LANG ( ?var8 ) = \"fr\" ) ) ) . } OPTIONAL { BIND ( YEAR ( ?var9 ) AS ?var6 ). ?var7 <http://www.wikidata.org/prop/qualifier/P580> ?var9 . } OPTIONAL { BIND ( YEAR ( ?var10 ) AS ?var11 ). ?var7 <http://www.wikidata.org/prop/qualifier/P582> ?var10 . } } GROUP BY ?var1 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } ORDER BY ASC( ?var2 )"}}
{"id": "test_4573", "question": "Which French departments have national roads and are not overseas territories?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT DISTINCT ?dept ?deptLabel WHERE {\n  ?road wdt:P16 wd:Q1426271 .\n  ?road p:P131 ?stmt .\n  ?stmt ps:P131 ?dept .\n  FILTER(NOT EXISTS {\n    ?stmt pq:P582 []\n  })\n  FILTER(?dept NOT IN(wd:Q17012 , wd:Q17054 , wd:Q17063 , wd:Q17070 , wd:Q25362 , wd:Q34617 , wd:Q3769 , wd:Q126125))\n  ?dept rdfs:label ?deptLabel .\n  FILTER(LANG(?deptLabel) = \"fr\")\n}\nORDER BY ASC(?deptLabel)", "paraphrases": ["What are the French departments in metropolitan France that currently contain at least one route nationale?", "List the French-language names of all mainland French departments that have national roads, excluding overseas regions like Guadeloupe or R\u00e9union."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT DISTINCT ?var1 ( GROUP_CONCAT ( ?var4 ; SEPARATOR = \", \" ) AS ?var3 )( COUNT ( ?var4 ) AS ?var2 ) WHERE { VALUES ( ?var5 ) { ( <http://www.wikidata.org/prop/direct/P16> ) } ?var6 ?var5 <http://www.wikidata.org/entity/Q1426271> . MINUS { ?var6 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q17012> . } MINUS { ?var6 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q17054> . } MINUS { ?var6 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q3769> . } MINUS { ?var6 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q17070> . } MINUS { ?var6 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q34617> . } MINUS { ?var6 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q17063> . } MINUS { ?var6 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q25362> . } MINUS { ?var6 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q126125> . } ?var6 <http://www.wikidata.org/prop/P131> ?var7 . FILTER ( ( NOT EXISTS { ?var7 <http://www.wikidata.org/prop/qualifier/P582> [] . } ) ) . ?var7 <http://www.wikidata.org/prop/statement/P131> ?var1 . OPTIONAL { ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"fr\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } GROUP BY ?var1 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_4574", "question": "List English names of islands in Indonesia with English Wikipedia articles.", "sparql": "SELECT ?island ?islandLabel ?wikipediaTitle WHERE { ?island wdt:P31 wd:Q23442 ; wdt:P17 wd:Q252 . ?wikipediaArticle schema:about ?island ; schema:name ?wikipediaTitle ; FILTER(STRSTARTS(STR(?wikipediaArticle), \"https://en.wikipedia.org/wiki/\")) . ?island rdfs:label ?islandLabel . FILTER(LANG(?islandLabel) = \"en\") } ORDER BY ?island", "paraphrases": ["What are the English names of islands in Indonesia that have corresponding English Wikipedia pages?", "Show me the English labels and Wikipedia article titles for all islands located in Indonesia."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://schema.org/name> ?var3 . ?var2 <http://schema.org/about> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q23442> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q252> . FILTER ( ( ( SUBSTR ( STR ( ?var2 ) ,\"11\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"15\"^^<http://www.w3.org/2001/XMLSchema#integer> ) = \"string1\" ) ) ) . } ORDER BY ASC( ?var1 )"}}
{"id": "test_4575", "question": "List railway assets owned by NMBS/SNCB with their English Wikipedia page titles and official websites.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?wikipediaPageTitle ?officialWebsite WHERE {\n  ?item wdt:P127 wd:Q524255 .\n  ?wikipediaPage schema:about ?item ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n  BIND( strafter( str( ?wikipediaPage ) , \"https://en.wikipedia.org/wiki/\" ) AS ?wikipediaPageTitle ) OPTIONAL {\n    ?item wdt:P856 ?officialWebsite\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["What are the English Wikipedia pages and official websites of entities owned by the Belgian National Railways (NMBS/SNCB)?", "Show me the names, Wikipedia page titles, and official websites of all organizations and infrastructure owned by NMBS/SNCB."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P127> <http://www.wikidata.org/entity/Q524255> . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"en\". ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P127> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4576", "question": "Skyscanner English Wikipedia page, official website, and types", "sparql": "SELECT DISTINCT ?itemLabel ?wikipediaPage ?officialWebsite ?instanceOf WHERE { wd:Q1319169 rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") OPTIONAL { ?wikipediaPage schema:about wd:Q1319169 ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> . } OPTIONAL { wd:Q1319169 wdt:P856 ?officialWebsite . } OPTIONAL { wd:Q1319169 wdt:P31 ?instanceOf . } }", "paraphrases": ["What is the English Wikipedia article, official website, and type of Skyscanner?", "Show me the English Wikipedia link, official website, and class types for Skyscanner."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P127> <http://www.wikidata.org/entity/Q1319169> . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"en\". ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P127> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4577", "question": "What organization is the German business travel association a member of, and what is its official website and type?", "sparql": "SELECT ?organization ?organizationLabel ?wikipediaPage ?officialWebsite ?instanceOf WHERE { wd:Q2513653 wdt:P463 ?organization . OPTIONAL { ?wikipediaPage schema:about ?organization ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> . } OPTIONAL { ?organization wdt:P856 ?officialWebsite . } OPTIONAL { ?organization wdt:P31 ?instanceOf . } ?organization rdfs:label ?organizationLabel . FILTER(LANG(?organizationLabel) = \"en\") }", "paraphrases": ["Can you show me the English name, official website, and category of the organization that the German business travel association belongs to?", "Which group does the German business travel association belong to? Provide its English label, website, and classification if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P127> <http://www.wikidata.org/entity/Q2513653> . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"en\". ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P127> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4578", "question": "What is the English Wikipedia page, official website, and type of the company Cheapflights?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?company ?companyLabel ?wikipediaPage ?officialWebsite ?instanceOf WHERE {\n  BIND(wd:Q1068670 AS ?company)\n  ?company rdfs:label ?companyLabel .\n  FILTER(LANG(?companyLabel) = \"en\")\n  ?wikipediaPage schema:about ?company ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n  OPTIONAL {\n    ?company wdt:P856 ?officialWebsite\n  }\n  OPTIONAL {\n    ?company wdt:P31 ?instanceOf\n  }\n}", "paraphrases": ["Show me the official website and Wikipedia article for Cheapflights, along with what kind of business it is.", "Can you find the English Wikipedia link, website, and classification of Cheapflights?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P127> <http://www.wikidata.org/entity/Q5088888> . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"en\". ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P127> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4579", "question": "What are some examples of artificial intelligence systems or applications?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P31 wd:Q11660 .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["List of AI systems and tools that are instances of artificial intelligence", "Show me the names of all known artificial intelligence entities in Wikidata"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11660> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_4580", "question": "Coordinates of Argel\u00e8s-Gazost and its administrative divisions.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?communeCoords ?adminCoords WHERE {\n  wd:Q644665 wdt:P625 ?communeCoords .\n  OPTIONAL {\n    wd:Q644665 wdt:P131 ?adminEntity .\n    ?adminEntity wdt:P625 ?adminCoords .\n  }\n}", "paraphrases": ["What are the geographic coordinates of Argel\u00e8s-Gazost and the administrative areas it belongs to?", "Show me the location of Argel\u00e8s-Gazost along with the locations of the departments, cantons, or arrondissements it is part of."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q644665> <http://www.wikidata.org/prop/direct/P625> ?var1 . OPTIONAL { <http://www.wikidata.org/entity/Q644665> <http://www.wikidata.org/prop/direct/P131> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var2 . } }"}}
{"id": "test_4581", "question": "What is the Wikidata item for the movie with IMDb ID tt0165490?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie WHERE {\n  ?movie wdt:P345 \"tt0165490\" .\n}", "paraphrases": ["Which movie on Wikidata has the IMDb identifier tt0165490?", "Tell me the Wikidata entity for the film identified as tt0165490 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0165490\". }"}}
{"id": "test_4582", "question": "Colleges in Ireland with their official websites", "sparql": "SELECT DISTINCT ?college ?website ?label WHERE { ?college (wdt:P31/wdt:P279*) wd:Q189004 . ?college wdt:P856 ?website ; (wdt:P131*/wdt:P17) wd:Q27 ; rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["What are the English-named colleges in Ireland and their official websites?", "List all colleges in Ireland along with their official websites in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q189004> . ?var1 <http://www.wikidata.org/prop/direct/P856> ?var2 ; ( <http://www.wikidata.org/prop/direct/P131> */ <http://www.wikidata.org/prop/direct/P17> ) ?var4 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q27> ) ) ) . }"}}
{"id": "test_4583", "question": "What are the titles of the Wikinews article about the AirAsia flight disappearance in English, German, and French?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?label ?image ?coordinates ?wikipediaArticle WHERE {\n  VALUES ( ?lang ?order ) {\n    ( \"en\" 1 ) ( \"de\" 3 ) ( \"fr\" 4 ) ( \"it\" 5 )\n  }\n  wd:Q18685482 rdfs:label ?label .\n  FILTER ( LANG( ?label ) = ?lang ) OPTIONAL {\n    wd:Q18685482 wdt:P18 ?image\n  }\n  OPTIONAL {\n    wd:Q18685482 wdt:P625 ?coordinates\n  }\n  OPTIONAL {\n    ?wikipediaArticle rdf:type schema:Article ; schema:about wd:Q18685482 ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n}\nORDER BY ?order", "paraphrases": ["Show the labels for the article \"AirAsia jet vanishes over Indonesia, 162 missing\" in English, German, and French, ordered by language priority.", "Can you provide the multilingual names of the Wikinews report on the AirAsia flight that went missing over Indonesia?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q18685482> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var5 ) ) ) . VALUES ( ?var5 ?var6 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q18685482> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q18685482> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q18685482> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var6 )"}}
{"id": "test_4584", "question": "Most common eye colors in Wikidata and how many people have them.", "sparql": "SELECT ?eyeColor ?eyeColorLabel (COUNT(?person) AS ?count) WHERE { ?person wdt:P1340 ?eyeColor . FILTER(ISIRI(?eyeColor)) . ?eyeColor rdfs:label ?eyeColorLabel . FILTER(LANG(?eyeColorLabel) = \"en\") } GROUP BY ?eyeColor ?eyeColorLabel ORDER BY DESC(?count)", "paraphrases": ["How many people have each eye color, listed from most to least common?", "Show me a list of eye colors with the number of people associated with each, using English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) ?var4 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P1340> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } } GROUP BY ?var1 ?var1Label ?var4"}}
{"id": "test_4585", "question": "List English names of association football referees born after 1900, including alternative names if available.", "sparql": "SELECT ?person ?label ?altLabel WHERE { ?person wdt:P106 wd:Q859528 . ?person wdt:P569 ?birthDate . ?person rdfs:label ?label . FILTER (LANG(?label) = \"en\") . FILTER (?birthDate > \"1900-01-01T00:00:00Z\"^^xsd:dateTime) . OPTIONAL { ?person skos:altLabel ?altLabel . FILTER (LANG(?altLabel) = \"en\") } }", "paraphrases": ["Who are the association football referees born after 1900 who have English-language labels, and what are their alternative names in English?", "Please provide the English labels and optional English alternative labels for all association football referees born after January 1, 1900."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q859528> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var11 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var7 . FILTER ( ( ( LANG ( ?var7 ) = \"en\" ) ) ) . FILTER ( ( ( ?var11 > \"1900-01-01T00:00:13+05:30\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . OPTIONAL { ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> ?var8 . FILTER ( ( ( LANG ( ?var8 ) = \"en\" ) ) ) . } BIND ( \"106\" AS ?var2 ). BIND ( \"937857\" AS ?var3 ). BIND ( \"politician\" AS ?var4 ). BIND ( \"en\" AS ?var5 ). BIND ( \"news\" AS ?var6 ). BIND ( \"20170718\" AS ?var9 ). BIND ( \"--------\" AS ?var10 ). }"}}
{"id": "test_4586", "question": "Films with recorded budgets in Wikidata.", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?film WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film p:P2130 [] .\n}", "paraphrases": ["Which films have a budget (capital cost) listed in Wikidata?", "Show me all films that have a capital cost statement in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/P2130> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4587", "question": "Publication years and titles of Maite Aubry\u2019s scientific papers, truncated to 20 characters.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?year ?shortTitle WHERE {\n  ?author wdt:P496 \"0000-0002-9913-5794\" .\n  ?work wdt:P50 ?author .\n  ?work wdt:P577 ?date .\n  BIND( YEAR( ?date ) AS ?year ) .\n  ?work rdfs:label ?title .\n  FILTER ( LANG( ?title ) = \"en\" ) .\n  BIND( SUBSTR( ?title , 1 , 20 ) AS ?shortTitle )\n}\nORDER BY ?year", "paraphrases": ["What are the publication years and shortened titles (first 20 characters) of the scientific works authored by Maite Aubry?", "List the years and first 20 characters of the titles of all English-language publications by Maite Aubry, sorted by year."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label WHERE { { SELECT ?var1 ( SAMPLE ( ?var4 ) AS ?var2 ) ?var3Label WHERE { { SELECT( STR ( ?var5 ) AS ?var1 )( \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var4 )( \"_\" AS ?var3Label ) WHERE { BIND ( YEAR ( ?var6 ) AS ?var5 ). ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q577> . ?var7 <http://www.wikidata.org/prop/direct/P585> ?var6 . { SELECT( MIN ( ?var5 ) AS ?var8 )( MAX ( ?var5 ) AS ?var9 ) WHERE { BIND ( YEAR ( ?var10 ) AS ?var5 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q28468766> . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var10 . } } FILTER ( ( ( ?var5 >= ?var8 ) && ( ?var5 <= ?var9 ) ) ) . } } UNION { BIND ( SUBSTR ( ?var12Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"20\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q28468766> . ?var11 <http://www.wikidata.org/prop/direct/P1104> ?var4 . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var6 . ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12Label . FILTER ( ( ( LANG ( ?var12Label ) = \"en\" ) ) ) . } } GROUP BY ?var1 ?var11 ?var3Label ORDER BY ASC( ?var1 ) } }"}}
{"id": "test_4588", "question": "Top 7 cities by population over 100,000", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?city ?population WHERE {\n  ?city wdt:P31 wd:Q515 .\n  ?city wdt:P1082 ?population .\n  FILTER(?population > 100000)\n}\nORDER BY DESC(?population)\nLIMIT 7", "paraphrases": ["Which are the 7 most populous cities in the world, excluding those with fewer than 100,000 residents?", "Show me the 7 largest cities with a population greater than 100,000, sorted by population in descending order."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var2 . FILTER ( ( ( ?var2 > \"100000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1549591> . } } ORDER BY DESC( ?var2 ) LIMIT 7"}}
{"id": "test_4589", "question": "Number of citations per year to \"The 3D Model Acquisition Pipeline\"", "sparql": "SELECT ?year (COUNT(DISTINCT ?citation) AS ?count) WHERE { BIND(wd:Q28315746 AS ?target) . ?citation wdt:P2860 ?target . ?citation wdt:P577 ?date . BIND(STR(YEAR(?date)) AS ?year) } GROUP BY ?year ORDER BY DESC(?year)", "paraphrases": ["In which years and how many times was the article \"The 3D Model Acquisition Pipeline\" cited by other scholarly works?", "Show me the count of scholarly articles citing \"The 3D Model Acquisition Pipeline\" grouped by their publication year, sorted from most recent to oldest."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q28315746> AS ?var5 ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var5 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var6 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_4590", "question": "Superfamily taxa and their scientific names in Wikidata", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?taxon ?taxonLabel ?scientificName WHERE {\n  ?taxon wdt:P105 wd:Q2136103 .\n  ?taxon wdt:P225 ?scientificName .\n  ?taxon rdfs:label ?taxonLabel .\n  FILTER(LANG(?taxonLabel) = \"en\")\n}", "paraphrases": ["What are the scientific names of taxa ranked as superfamily?", "List the English names and scientific names of all taxonomic superfamilies."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P105> <http://www.wikidata.org/entity/Q2136103> . ?var1 <http://www.wikidata.org/prop/direct/P225> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4591", "question": "Examples of chutney types.", "sparql": "SELECT ?chutney WHERE { ?chutney wdt:P31 wd:Q275650 . } LIMIT 20", "paraphrases": ["What are some examples of chutney?", "List some specific kinds of chutney that are recognized as instances of the food category \"chutney\"."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q275650> . } LIMIT 20"}}
{"id": "test_4592", "question": "How many publications by Jenifer Clausell Tormos have Danish BFI levels 0, 1, and 2?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?bfi_level ( COUNT( ?work ) AS ?count ) WHERE {\n  ?work wdt:P50 wd:Q28048938 .\n  OPTIONAL {\n    ?work wdt:P1433 ?publication_channel .\n    ?publication_channel wdt:P1240 ?raw_bfi_level .\n  }\n  BIND( COALESCE ( ?raw_bfi_level , 0 ) AS ?bfi_level )\n}\nGROUP BY ?bfi_level\nORDER BY ASC ( ?bfi_level )", "paraphrases": ["What is the distribution of Jenifer Clausell Tormos\u2019s research publications across Danish BFI levels, including those without a specified level (counted as 0)?", "Show me the count of Jenifer Clausell Tormos\u2019s works grouped by the Danish research impact level (BFI) of their publication channels, with missing levels treated as 0."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q28048938> . OPTIONAL { ?var2 ( <http://www.wikidata.org/prop/direct/P1433> / <http://www.wikidata.org/prop/direct/P1240> ) ?var4 . } BIND ( COALESCE ( <http://www.w3.org/2001/XMLSchema#integer> ( ?var4 ) ,\"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var1 ). } GROUP BY ?var1 ORDER BY ASC( ?var1 )"}}
{"id": "test_4593", "question": "What are the Portuguese-labeled properties associated with Slipknot, and what values do they connect to?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?propertyLabel ?value WHERE {\n  wd:Q254138 ?predicate ?value .\n  ?property ?relation ?predicate .\n  ?property rdf:type wikibase:Property .\n  ?property rdfs:label ?propertyLabel .\n  FILTER ( LANG( ?propertyLabel ) = \"pt\" )\n}\nORDER BY ?predicate ?value", "paraphrases": ["For Slipknot, list all properties with Portuguese labels along with their associated values.", "Show me the Portuguese names of properties linked to Slipknot and the values those properties have."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.wikidata.org/entity/Q254138> ?var4 ?var3 . ?var1 ?var5 ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"pt\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pt\". } } ORDER BY ASC( ?var4 )ASC( ?var3 )"}}
{"id": "test_4594", "question": "Ukrainian names of rivers.", "sparql": "SELECT ?river ?label WHERE { ?river wdt:P31 wd:Q4022 . ?river rdfs:label ?label . FILTER (LANG(?label) = \"uk\") } ORDER BY ASC(?label)", "paraphrases": ["What are the names of rivers in Ukrainian?", "List all rivers with their Ukrainian-language labels, sorted alphabetically."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4022> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"uk\" ) ) ) . } ORDER BY ASC( ?var3Label )"}}
{"id": "test_4595", "question": "What is the Wikidata class for the German word \"Mond\"?", "sparql": "SELECT DISTINCT ?class WHERE { { ?class rdfs:label \"Mond\"@de . } UNION { ?class skos:altLabel \"Mond\"@de . } ?instance wdt:P31 ?class . } LIMIT 1", "paraphrases": ["In Wikidata, what concept does the German term \"Mond\" refer to, and is actually used as a type for entities?", "Which category in Wikidata is called \"Mond\" in German and has instances?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Mond\"@de . ?var2 <http://www.wikidata.org/prop/direct/P31> ?var1 . } UNION { ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> \"Mond\"@de . ?var2 <http://www.wikidata.org/prop/direct/P31> ?var1 . } } LIMIT 1"}}
{"id": "test_4596", "question": "What are examples of textile components like stitches and fabric types?", "sparql": "SELECT ?textileItem ?textileItemLabel WHERE { ?textileItem wdt:P31 ?textileClass . ?textileClass wdt:P279* wd:Q28935994 . ?textileItem rdfs:label ?textileItemLabel . FILTER(LANG(?textileItemLabel) = \"en\") } LIMIT 10000", "paraphrases": ["What are some specific types of textile components, such as knitting stitches or fabric patterns?", "List all known textile items that are subclasses of textile components, including stitches like eyelet and corduroy."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q28935994> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 10000"}}
{"id": "test_4597", "question": "Labels for Abu Omar al-Baghdadi in German, English, French, and Italian, along with his image, coordinates, and German Wikipedia link.", "sparql": "SELECT ?label ?image ?coordinates ?wikipediaArticle\nWHERE {\n  VALUES (?lang ?order) {\n    (\"de\" 1) (\"en\" 2) (\"fr\" 4) (\"it\" 5)\n  }\n  \n  OPTIONAL {\n    wd:Q2213632 rdfs:label ?label .\n    FILTER(LANG(?label) = ?lang)\n  }\n  \n  OPTIONAL {\n    wd:Q2213632 wdt:P18 ?image .\n  }\n  \n  OPTIONAL {\n    wd:Q2213632 wdt:P625 ?coordinates .\n  }\n  \n  # Only German Wikipedia article exists for this entity\n  BIND(<https://de.wikipedia.org/wiki/Ab%C5%AB_%27Umar_al-Baghd%C4%81d%C4%AB> AS ?wikipediaArticle)\n}\nORDER BY ASC(?order)", "paraphrases": ["What are the labels of Abu Omar al-Baghdadi in German, English, French, and Italian, and what is his German Wikipedia page, image, and location coordinates?", "Show me the names of Abu Omar al-Baghdadi in German, English, French, and Italian, ordered by that sequence, along with his Wikipedia link (in German), image, and geographic coordinates."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q2213632> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var5 ) ) ) . VALUES ( ?var5 ?var6 ) { ( \"de\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q2213632> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q2213632> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q2213632> ; <http://schema.org/inLanguage> \"de\"; <http://schema.org/isPartOf> <https://de.wikipedia.org/> . } } ORDER BY ASC( ?var6 )"}}
{"id": "test_4598", "question": "Politicians by occupation in Wikidata", "sparql": "SELECT ?person WHERE { ?person wdt:P106 wd:Q82955 . } LIMIT 100", "paraphrases": ["Who are the people whose occupation is politician?", "List 100 people who work as politicians."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q82955> . } LIMIT 20000000"}}
{"id": "test_4599", "question": "Structurae ID buildings with English names", "sparql": "SELECT ?var1 ?label WHERE { ?var1 wdt:P454 ?id . ?var1 rdfs:label ?label . FILTER(LANG(?label) = \"en\") } LIMIT 11", "paraphrases": ["What are 11 structures in Wikidata that have a Structurae ID and an English label?", "List 11 buildings identified by Structurae IDs along with their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P454> _:bnode . } LIMIT 11 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4600", "question": "List businesses along with their industries and brands.", "sparql": "SELECT ?business ?industry ?brand WHERE { ?business wdt:P31 wd:Q4830453 . ?business wdt:P452 ?industry . OPTIONAL { ?business wdt:P1716 ?brand . } }", "paraphrases": ["What are the industries and brands of all businesses in Wikidata?", "Show me all organizations classified as businesses, their primary industry, and if available, their main brand."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P452> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1716> ?var3 . } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4830453> . }"}}
{"id": "test_4601", "question": "What is the administrative location, country, and continent of Obertor?", "sparql": "SELECT ?adminLabel ?countryLabel ?continentLabel WHERE { wd:Q34363727 wdt:P131 ?admin ; wdt:P17 ?country . ?country wdt:P30 ?continent . ?admin rdfs:label ?adminLabel . ?country rdfs:label ?countryLabel . ?continent rdfs:label ?continentLabel . FILTER(LANG(?adminLabel) = \"en\") FILTER(LANG(?countryLabel) = \"en\") FILTER(LANG(?continentLabel) = \"en\") }", "paraphrases": ["Where is the Obertor gate tower located in terms of city, country, and continent?", "Can you tell me the city, country, and continent that Obertor belongs to?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q34363727> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_4602", "question": "Image of the person with SNAC ARK ID w6489fvt", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6489fvt\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Henry Rawlinson, 1st Baron Rawlinson in Wikidata?", "Show me the Wikimedia Commons image for the individual identified by the SNAC ARK ID w6489fvt."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6489fvt\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_4603", "question": "What are some services or goods that are considered parts of goods and services, and what are their English labels?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel ?image WHERE {\n  ?item wdt:P361 wd:Q2897903 .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER(LANG(?itemLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}\nLIMIT 100", "paraphrases": ["Can you list the English names of items that are components of goods and services, along with any available images?", "Show me the types of services included under the category of goods and services, including their labels and images if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q2897903> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_4604", "question": "List all geographic features in the Tasman District of New Zealand with their coordinates and English names.", "sparql": "SELECT DISTINCT ?label ?latitude ?longitude WHERE { ?item (wdt:P131/wdt:P131*) wd:Q666142 . ?item p:P625 ?statement . ?statement psv:P625 ?coordinate . ?coordinate wikibase:geoLatitude ?latitude ; wikibase:geoLongitude ?longitude . OPTIONAL { ?item rdfs:label ?label . FILTER(LANG(?label) = \"en\") } } ORDER BY ASC(?label)", "paraphrases": ["What are the English-labeled places and their geographic coordinates located within the Tasman District, including those in its sub-regions?", "Show me the names (in English) and precise latitude and longitude of all locations situated in the Tasman District or any of its administrative subdivisions."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2Label ?var3 ?var4 ?var5 ?var6 WHERE { ?var7 ( <http://www.wikidata.org/prop/direct/P131> / <http://www.wikidata.org/prop/direct/P131> *) <http://www.wikidata.org/entity/Q666142> . ?var7 <http://www.wikidata.org/prop/direct/P625> ?var8 . ?var7 <http://www.wikidata.org/prop/P625> ?var9 . ?var9 <http://www.wikidata.org/prop/statement/value/P625> ?var10 . ?var10 <http://wikiba.se/ontology#geoLatitude> ?var5 . ?var10 <http://wikiba.se/ontology#geoLongitude> ?var6 . OPTIONAL { ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_4605", "question": "What publications have works authored by Timothy Seiler, and how many works did he publish in each?", "sparql": "SELECT ?publication ?publicationLabel (COUNT(?work) AS ?workCount)\nWHERE {\n  ?work wdt:P50 wd:Q34233407 .\n  ?work wdt:P1433 ?publication .\n  OPTIONAL { ?publication wdt:P1813 ?shortName } \n  ?publication rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  BIND(COALESCE(?shortName, ?label) AS ?publicationLabel)\n}\nGROUP BY ?publication ?publicationLabel\nORDER BY DESC(?workCount)", "paraphrases": ["Show the publications where Timothy Seiler\u2019s works appeared, using their English names or short names, sorted by how many works he published in each.", "Which book or journal has Timothy Seiler contributed to, and how many of his contributions are there?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q34233407> . ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1813> ?var6 . } BIND ( COALESCE ( ?var6 , ?var5Label ) AS ?var2Label ). } GROUP BY ?var1 ?var2Label ORDER BY DESC( ?var4 )"}}
{"id": "test_4606", "question": "What properties link items to financial institutions, and what qualifiers are used in statements about those institutions?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?financialInstitution ?statementProperty(SAMPLE(?qualifierProperty) AS ?qualifier) WHERE {\n  {\n    SELECT DISTINCT ?item ?financialInstitution ?statementProperty WHERE {\n      ?financialInstitution ?instanceOfProperty wd:Q650241 .\n      ?item ?claimProperty ?financialInstitution .\n      ?statementProperty wikibase:statementProperty ?instanceOfProperty .\n      ?statementProperty wikibase:claim ?claimProperty .\n      FILTER(?statementProperty != ps:P31)\n    }\n    LIMIT 101\n  }\n  OPTIONAL {\n    ?financialInstitution ?qualifierProperty ?value .\n    ?qualifierStatement wikibase:qualifier ?qualifierProperty .\n  }\n}\nGROUP BY ?item ?financialInstitution ?statementProperty\nLIMIT 101", "paraphrases": ["For each non-instance-of relationship connecting an item to a financial institution, what is an example of a qualifier used on statements about the financial institution?", "Show the relationships between financial institutions and other entities (excluding direct 'instance of'), along with any qualifiers applied to statements about those institutions."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q650241> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_4607", "question": "Subclasses of theatre company in English", "sparql": "SELECT ?subclass ?subclassLabel WHERE { ?subclass wdt:P279 wd:Q742421 . ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") } LIMIT 11", "paraphrases": ["What are some examples of theatre companies as subclasses in Wikidata, listed with their English names?", "List up to 11 types of theatre companies, such as dance troupes or folkloristic groups, along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q742421> . } LIMIT 11 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4608", "question": "Properties and values of food safety organizations", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?org ?prop ?val WHERE {\n  ?org wdt:P31 wd:Q30234158 .\n  ?org ?prop ?val .\n  FILTER ( ?prop != wdt:P31 )\n}\nLIMIT 100", "paraphrases": ["What properties and values describe instances of food safety organizations?", "List all the properties and their values used to describe food safety organizations, excluding the instance-of relationship."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q30234158> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_4609", "question": "What items are classified as instances of sand?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P31 wd:Q34679 .\n  ?item rdfs:label ?itemLabel .\n}\nLIMIT 100", "paraphrases": ["Can you list the names of things that are types of sand?", "Show me the labels of all entities that are examples of sand."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q34679> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ar\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } } LIMIT 100"}}
{"id": "test_4610", "question": "How many Japanese municipalities have a Japanese label and geographic coordinates?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ( COUNT( ?municipality ) AS ?count ) WHERE {\n  ?municipality wdt:P17 wd:Q17 ; wdt:P31 / wdt:P279 * wd:Q15284 ; rdfs:label ?label ; wdt:P625 ?coordinate .\n  FILTER ( LANG( ?label ) = \"ja\" )\n}", "paraphrases": ["Count the number of cities, towns, and villages in Japan that are labeled in Japanese and have known coordinates.", "What is the total number of administrative divisions in Japan with Japanese-language labels and mapped locations?"], "info": {"raw_sparql": "SELECT DISTINCT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1054813> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja\". } FILTER ( ( ( LANG ( ?var3 ) = \"ja\" ) ) ) . } ORDER BY DESC( ?var4 ) LIMIT 100"}}
{"id": "test_4611", "question": "What are the heritage-designated sites in Dresden, Germany, and what images and Wikimedia Commons categories are associated with them?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?item ?itemLabel ?admin1Label ?image ?category ?admin1Category ?admin2Category ?heritage WHERE {\n  ?item wdt:P131 wd:Q1731 .\n  ?item p:P1435 ?heritage .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?item wdt:P373 ?category .\n  }\n  OPTIONAL {\n    ?item wdt:P131 ?admin1 .\n  }\n  OPTIONAL {\n    ?admin1 wdt:P373 ?admin1Category .\n  }\n  OPTIONAL {\n    ?admin1 wdt:P131 ?admin2 .\n  }\n  OPTIONAL {\n    ?admin2 wdt:P373 ?admin2Category .\n  }\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER(LANG(?itemLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?admin1 rdfs:label ?admin1Label .\n    FILTER(LANG(?admin1Label) = \"en\")\n  }\n}\nLIMIT 2000", "paraphrases": ["Show me cultural heritage sites located in Dresden, along with their administrative context, images, and corresponding Commons categories.", "List all protected heritage sites in Dresden, including their English labels, pictures, and the Commons categories of their administrative regions."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerWest> \"POINT(15 51)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerEast> \"POINT(15 51)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P131> ?var8 . ?var8 <http://www.wikidata.org/prop/direct/P373> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } ?var1 <http://www.wikidata.org/prop/P1435> ?var9 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } } LIMIT 2000"}}
{"id": "test_4612", "question": "American film actors and directors", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?personLabel WHERE {\n  ?person wdt:P27 wd:Q30 .\n  ?person wdt:P106 ?occupation .\n  VALUES ?occupation {\n    wd:Q33999 wd:Q202881 wd:Q1056757 wd:Q1057285 wd:Q188784\n  }\n  .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}", "paraphrases": ["Who are some American citizens working in the film industry as actors, directors, or screenwriters?", "List the names of people from the United States who have occupations in film, such as acting or directing."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q30> . ?var1 <http://www.wikidata.org/prop/direct/P136> <http://www.wikidata.org/entity/Q11424> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4613", "question": "What is the Swiss company known as Swatch AG, and when was it founded?", "sparql": "SELECT ?entity ?entityLabel ?entityDescription ?country ?inception WHERE { { ?entity rdfs:label \"Swatch AG\"@en } UNION { ?entity skos:altLabel \"Swatch AG\"@en } OPTIONAL { ?entity wdt:P17 ?country . } OPTIONAL { ?entity wdt:P571 ?inception . } ?entity rdfs:label ?entityLabel . FILTER(LANG(?entityLabel) = \"en\") OPTIONAL { ?entity schema:description ?entityDescription . FILTER(LANG(?entityDescription) = \"en\") } } LIMIT 1", "paraphrases": ["Which entity in Wikidata has \"Swatch AG\" as an alias, and what is its country and description?", "Tell me about the company Swatch AG \u2014 where is it based and when was it established?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ?var2 \"Swatch AG\". }"}}
{"id": "test_4614", "question": "Official websites, coordinates, and countries of businesses", "sparql": "SELECT ?businessLabel ?website ?coordinates ?country WHERE { ?business wdt:P31/wdt:P279* wd:Q4830453 . ?business wdt:P856 ?website . ?business wdt:P625 ?coordinates . OPTIONAL { ?business wdt:P17 ?country . } ?business rdfs:label ?businessLabel . FILTER(LANG(?businessLabel) = \"en\") }", "paraphrases": ["What are the official websites, geographic coordinates, and countries of all businesses?", "List businesses along with their websites, locations, and countries."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> ?) <http://www.wikidata.org/entity/Q4830453> . ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var5 . } }"}}
{"id": "test_4615", "question": "What activities or items are described as having a motor car as a part?", "sparql": "SELECT ?item ?itemLabel ?statement WHERE { ?item p:P527 ?statement . ?statement ps:P527 wd:Q1420 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } LIMIT 10", "paraphrases": ["Which entities have a statement indicating they include a motor car as a component?", "List the English-labeled entities that are associated with motor cars via the \"has part(s)\" relationship."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P527> <http://www.wikidata.org/entity/Q1420> . ?var1 <http://www.wikidata.org/prop/P527> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_4616", "question": "List of computers in Wikidata", "sparql": "SELECT ?computer WHERE { ?computer wdt:P31 wd:Q68 . } LIMIT 20", "paraphrases": ["What are some examples of computers according to Wikidata?", "Show me 20 items that are classified as computers (instance of computer) in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q68> . } LIMIT 20"}}
{"id": "test_4617", "question": "What is the official website and type of the hotel brand Fairfield by Marriott?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?brand ?brandLabel ?website ?type ?wikipedia WHERE {\n  BIND( wd:Q5430314 AS ?brand ) .\n  ?brand rdfs:label ?brandLabel .\n  FILTER ( LANG( ?brandLabel ) = \"en\" ) .\n  OPTIONAL {\n    ?brand wdt:P856 ?website .\n  }\n  .\n  OPTIONAL {\n    ?brand wdt:P31 ?type .\n  }\n  .\n  OPTIONAL {\n    ?wikipedia schema:about ?brand ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n}", "paraphrases": ["Can you find the English Wikipedia page and details like website and classification for Fairfield by Marriott?", "Tell me about Fairfield by Marriott \u2014 what kind of organization is it, what\u2019s its website, and is there an English Wikipedia article about it?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P127> <http://www.wikidata.org/entity/Q5430314> . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"en\". ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P127> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4618", "question": "What are the abolished railway stations in Spain that have an Italian Wikipedia page?", "sparql": "SELECT ?var1 (SAMPLE(?var2) AS ?var3) (SAMPLE(?var4) AS ?var5) ?var1Label WHERE { ?var1 wdt:P31 wd:Q55488 . ?var1 wdt:P17 wd:Q29 . ?var4 schema:about ?var1 . ?var4 schema:isPartOf <https://it.wikipedia.org/> . OPTIONAL { ?var1 wdt:P625 ?var2 . } FILTER (EXISTS { ?var1 wdt:P576 ?var10 . }) ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") } GROUP BY ?var1 ?var1Label", "paraphrases": ["Show me defunct train stations in Spain with their coordinates and links to their Italian Wikipedia articles.", "Which railway stations in Spain no longer exist and are documented on the Italian Wikipedia?"], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var3 )( SAMPLE ( ?var4 ) AS ?var5 ) ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q55488> . ?var1 ?var6 <http://www.wikidata.org/entity/Q29> . ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://it.wikipedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var7 . } ?var8 <http://www.wikidata.org/prop/direct/P279> ?var9 . FILTER ( ( EXISTS { { ?var1 <http://www.wikidata.org/prop/direct/P576> ?var10 . } } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,en\". } } GROUP BY ?var1 ?var1Label"}}
{"id": "test_4619", "question": "Subsidiaries of Lactalis with their official websites, countries, and headquarters.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subsidiary ?website ?country ?headquarters WHERE {\n  wd:Q1799825 wdt:P355 ?subsidiary .\n  OPTIONAL {\n    ?subsidiary wdt:P856 ?website .\n  }\n  OPTIONAL {\n    ?subsidiary wdt:P17 ?country .\n  }\n  OPTIONAL {\n    ?subsidiary wdt:P159 ?headquarters .\n  }\n}\nLIMIT 200", "paraphrases": ["What are the subsidiaries of Lactalis, and where are they headquartered and located?", "Show me the official websites, countries, and headquarters locations of all companies owned by Lactalis."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var3 ?var4 ?var5 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q22687> . ?var6 <http://www.wikidata.org/prop/direct/P355> <http://www.wikidata.org/entity/Q3487556> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P159> ?var5 . } } LIMIT 200"}}
{"id": "test_4620", "question": "French-labeled subsidiaries of organizations in Wikidata", "sparql": "SELECT ?subsidiary ?label ?description WHERE { ?parent wdt:P355 ?subsidiary . ?subsidiary rdfs:label ?label ; schema:description ?description . FILTER(LANG(?label) = \"fr\") . FILTER(LANG(?description) = \"fr\") . } LIMIT 100", "paraphrases": ["Which subsidiaries have French labels and French descriptions?", "Show me up to 100 subsidiaries that have both a French label and a French description."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P355> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"fr\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"fr\" ) ) ) . } LIMIT 100"}}
{"id": "test_4621", "question": "What brands are owned by The Swatch Group?", "sparql": "SELECT ?brand WHERE { ?brand wdt:P127 wd:Q694107 .}", "paraphrases": ["Which watch companies are subsidiaries of The Swatch Group?", "Can you list all the brands that are owned by The Swatch Group?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P127> <http://www.wikidata.org/entity/Q694107> . }"}}
{"id": "test_4622", "question": "Image of Mostafa Mesgari's employer", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?image WHERE {\n  wd:Q22329122 wdt:P108 ?employer .\n  ?employer wdt:P18 ?image .\n}", "paraphrases": ["What is the image of the university where Mostafa Mesgari works?", "Show me the Wikimedia Commons image of Loyola Marymount University, where Mostafa Mesgari is employed."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { <http://www.wikidata.org/entity/Q22329122> <http://www.wikidata.org/prop/direct/P18> ?var1 . } UNION { <http://www.wikidata.org/entity/Q22329122> ?var2 ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P18> ?var1 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/Q5> ) ) ) . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q22329122> . { ?var4 <http://www.wikidata.org/prop/direct/P921> [ <http://www.wikidata.org/prop/direct/P18> ?var1 ] . } UNION { ?var5 <http://www.wikidata.org/prop/direct/P50> ?var4 . ?var5 <http://www.wikidata.org/prop/direct/P18> ?var1 . } } }"}}
{"id": "test_4623", "question": "What movie has the IMDb ID tt0120032?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P345 \"tt0120032\" .\n}", "paraphrases": ["Which film is identified by the IMDb identifier tt0120032?", "Find the Wikidata item for the movie with IMDb ID tt0120032."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0120032\". }"}}
{"id": "test_4624", "question": "What are software items with logos, including their names and logo URLs?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?software ?softwareLabel ?logo WHERE {\n  ?subclass wdt:P279 wd:Q7397 .\n  ?software wdt:P31 ?subclass .\n  ?software wdt:P154 ?logo .\n  ?software rdfs:label ?softwareLabel .\n  FILTER(LANG(?softwareLabel) = \"en\")\n}\nLIMIT 20", "paraphrases": ["Which software programs have official logos, and what are their names and logo images?", "Show me a list of software (instances of subclasses of software) along with their English names and logo images."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q7397> . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P154> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en, fr\". } } LIMIT 20"}}
{"id": "test_4625", "question": "Top subjects of Bente Klarlund Pedersen\u2019s publications and how many works per subject, with work titles.", "sparql": "SELECT ?count ?subjectLabel ?workLabelTruncated WHERE { { SELECT ?subject (COUNT(?work) AS ?count) WHERE { ?work wdt:P50 wd:Q12303219 . ?work wdt:P921 ?subject . } GROUP BY ?subject ORDER BY DESC(?count) } ?work wdt:P50 wd:Q12303219 . ?work wdt:P921 ?subject . ?subject rdfs:label ?subjectLabel . FILTER(LANG(?subjectLabel) = \"en\") ?work rdfs:label ?workLabel . FILTER(LANG(?workLabel) = \"en\") BIND(SUBSTR(?workLabel, 1, 60) AS ?workLabelTruncated) } ORDER BY DESC(?count)", "paraphrases": ["What are the main topics of Bente Klarlund Pedersen\u2019s research papers, how many papers does she have on each topic, and what are the titles of those papers?", "Show me all research works by Bente Klarlund Pedersen, grouped by their main subject, including the number of works per subject and the first 60 characters of each work\u2019s title."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label WHERE { { SELECT ?var4 ( COUNT ( ?var5 ) AS ?var1 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q12303219> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . } GROUP BY ?var4 ORDER BY DESC( ?var1 ) } BIND ( SUBSTR ( ?var6Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q12303219> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . }"}}
{"id": "test_4626", "question": "List of Japanese given names.", "sparql": "SELECT ?japaneseGivenName WHERE { ?japaneseGivenName wdt:P31 wd:Q22812564 .}", "paraphrases": ["What are some examples of Japanese given names?", "Can you show me all the individual Japanese given names recorded in Wikidata?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q22812564> . }"}}
{"id": "test_4627", "question": "What properties and values describe the Italian sweet Coppetta?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?propertyLabel ?value ?valueLabel WHERE {\n  wd:Q3693169 ?property ?value .\n  FILTER(STRSTARTS(STR(?property) , \"http://www.wikidata.org/prop/direct/\"))\n  OPTIONAL {\n    ?property rdfs:label ?propertyLabel .\n    FILTER(LANG(?propertyLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?value rdfs:label ?valueLabel .\n    FILTER(LANG(?valueLabel) = \"en\")\n  }\n}\nORDER BY ?property", "paraphrases": ["List all the direct attributes of Coppetta, such as its type, origin, and characteristics.", "What do we know about Coppetta as an Italian dessert? Show its properties and their values."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q3693169> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_4628", "question": "Organizations in the science industry", "sparql": "SELECT ?organization ?organizationLabel WHERE { ?organization wdt:P452 wd:Q336 . ?organization rdfs:label ?organizationLabel . FILTER(LANG(?organizationLabel) = \"en\") } LIMIT 100", "paraphrases": ["Which organizations are classified under the science industry?", "List organizations that work in the field of science."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P452> <http://www.wikidata.org/entity/Q336> . ?var1 <http://www.wikidata.org/prop/P452> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_4629", "question": "What are the Wikidata properties related to the Commons category property, and what are their English labels and descriptions?", "sparql": "SELECT ?relatedProperty ?label ?description WHERE { ?relatedProperty rdf:type wikibase:Property . ?relatedProperty wdt:P1659 wd:P373 . ?relatedProperty rdfs:label ?label . ?relatedProperty schema:description ?description . FILTER ( LANG( ?label ) = \"en\" ) . FILTER ( LANG( ?description ) = \"en\" ) . }", "paraphrases": ["List English labels and descriptions of properties that are linked as related to Wikimedia Commons categories.", "Which properties provide additional information about Wikimedia Commons categories, and what do they mean?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P373> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . }"}}
{"id": "test_4630", "question": "Turkish Wikipedia articles about Istanbul", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nSELECT ?article WHERE {\n  ?article rdf:type schema:Article ; schema:about wd:Q406 ; schema:inLanguage \"tr\" ; schema:isPartOf ?wiki .\n  ?wiki wikibase:wikiGroup \"wikipedia\" .\n}\nLIMIT 1", "paraphrases": ["What is the Turkish Wikipedia article about Istanbul?", "Show me the Turkish Wikipedia page for the city of Istanbul."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q32744846> ; <http://schema.org/inLanguage> \"tr\"; <http://schema.org/isPartOf> ?var2 . ?var2 <http://wikiba.se/ontology#wikiGroup> \"string1\". } LIMIT 1"}}
{"id": "test_4631", "question": "List of units of measurement", "sparql": "SELECT ?unit ?unitLabel WHERE { ?unit wdt:P31 wd:Q47574 . ?unit rdfs:label ?unitLabel . FILTER(LANG(?unitLabel) = \"en\") }", "paraphrases": ["What are some examples of units of measurement?", "Show me the names of all known units of measurement in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q47574> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_4632", "question": "Turkish Wikipedia articles in Turkish language", "sparql": "SELECT ?article WHERE { wd:Q58255 wdt:P856 ?wikiUrl . ?article rdf:type schema:Article ; schema:isPartOf ?wikiUrl ; schema:inLanguage \"tr\" . } LIMIT 1", "paraphrases": ["What is one article written in Turkish that is part of the Turkish Wikipedia?", "Show me a Turkish-language article hosted on the Turkish Wikipedia."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q32741363> ; <http://schema.org/inLanguage> \"tr\"; <http://schema.org/isPartOf> ?var2 . ?var2 <http://wikiba.se/ontology#wikiGroup> \"string1\". } LIMIT 1"}}
{"id": "test_4633", "question": "What are the top publication venues where Ian J. Goodfellow has published the most papers?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?venue ( COUNT( ?work ) AS ?count ) WHERE {\n  ?work wdt:P50 wd:Q26703063 .\n  ?work wdt:P1433 ?venue .\n}\nGROUP BY ?venue\nORDER BY DESC ( ?count )", "paraphrases": ["How many publications has Ian Goodfellow published in each journal or conference, ranked by frequency?", "Which academic venues have hosted the most papers by Ian J. Goodfellow?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q26703063> . ?var2 <http://www.wikidata.org/prop/direct/P1433> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var3 )"}}
{"id": "test_4634", "question": "Genes linked to Alzheimer\u2019s disease and tauopathy subtypes, with their Ensembl and Entrez IDs and variants.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?gene ?geneLabel ?ensembl ?entrez ?variant ?variantLabel WHERE {\n  ?gene wdt:P2293 wd:Q11081 .\n  ?gene wdt:P31 wd:Q7187 .\n  ?gene wdt:P2293 ?disease .\n  ?disease wdt:P279 * wd:Q2397106 .\n  ?gene wdt:P594 ?ensembl .\n  ?gene wdt:P351 ?entrez .\n  ?variant wdt:P3433 ?gene .\n  ?gene rdfs:label ?geneLabel .\n  ?variant rdfs:label ?variantLabel .\n  FILTER ( LANG( ?geneLabel ) = \"en\" ) FILTER ( LANG( ?variantLabel ) = \"en\" )\n}", "paraphrases": ["Which genes are genetically associated with both Alzheimer\u2019s disease and any disease classified as a tauopathy, and what are their identifiers and biological variants?", "Show me the genes connected to Alzheimer\u2019s disease and also to any tauopathy-related disorder, along with their Ensembl and Entrez IDs and known variants."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2293> <http://www.wikidata.org/entity/Q2397106> . ?var1 <http://www.wikidata.org/prop/direct/P2293> <http://www.wikidata.org/entity/Q11081> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7187> . ?var1 <http://www.wikidata.org/prop/direct/P594> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P351> ?var3 . ?var4 <http://www.wikidata.org/prop/direct/P3433> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4635", "question": "Rivers and their countries", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?river ?riverLabel ?country ?countryLabel WHERE {\n  ?river wdt:P31 wd:Q4022 .\n  ?river wdt:P17 ?country .\n  ?river rdfs:label ?riverLabel .\n  ?country rdfs:label ?countryLabel .\n  FILTER ( LANG( ?riverLabel ) = \"en\" ) .\n  FILTER ( LANG( ?countryLabel ) = \"en\" ) .\n}", "paraphrases": ["Which rivers are located in which countries?", "List all rivers along with the sovereign states they flow through, using English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4022> . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . }"}}
{"id": "test_4636", "question": "Multilingual descriptions of the Universe", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?language ?description WHERE {\n  wd:Q1 schema:description ?description .\n  BIND( LANG( ?description ) AS ?language )\n}\nORDER BY ?language", "paraphrases": ["What are the descriptions of the Universe in different languages?", "Show me the definitions of the Universe in various languages, along with their language codes."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { <http://www.wikidata.org/entity/Q1> ?var1 ?var2 . }"}}
{"id": "test_4637", "question": "External database identifiers for induced pluripotent stem cells", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdtn: <http://www.wikidata.org/prop/direct-normalized/>\nSELECT DISTINCT ?property ?value WHERE {\n  wd:Q674925 ?property ?value .\n  FILTER(isLiteral(?value))\n  FILTER(! STRSTARTS(STR(?value) , \"http://www.wikidata.org/entity/statement/\"))\n  FILTER(?property IN(wdt:P686 , wdt:P687 , wdt:P10565 , wdtn:P349 , wdtn:P6366 , wdt:P10283 , wdt:P1417 , wdt:P646))\n}\nORDER BY ?property\nLIMIT 100", "paraphrases": ["What external IDs (like MeSH, OpenAlex, or Britannica) are linked to induced pluripotent stem cells in Wikidata?", "List all external identifiers associated with induced pluripotent stem cells, such as OpenAlex, Freebase, and Encyclopedia of China IDs."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { <http://www.wikidata.org/entity/Q674925> ?var2 ?var1 . } LIMIT 100"}}
{"id": "test_4638", "question": "Japanese label for biomechanics", "sparql": "SELECT DISTINCT ?label WHERE { wd:Q193378 rdfs:label ?label . FILTER (LANG(?label) = \"ja\") } LIMIT 100", "paraphrases": ["What is the Japanese name for the field of biomechanics?", "Can you provide the Japanese-language label for the Wikidata item for biomechanics?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { <http://www.wikidata.org/entity/Q193378> <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"ja\" ) ) ) . } LIMIT 100"}}
{"id": "test_4639", "question": "Entities with Japanese label \"\u30da\u30ea\u30fc\"", "sparql": "SELECT DISTINCT ?item WHERE { ?item rdfs:label \"\u30da\u30ea\u30fc\"@ja . } LIMIT 100", "paraphrases": ["Which entities are labeled \"\u30da\u30ea\u30fc\" in Japanese on Wikidata?", "List all items in Wikidata that have the Japanese name \"\u30da\u30ea\u30fc\"."], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"\u30da\u30ea\u30fc\"@ja . } LIMIT 100"}}
{"id": "test_4640", "question": "Who has the IMDb ID nm0795599?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person WHERE {\n  ?person wdt:P345 \"nm0795599\" .\n}", "paraphrases": ["Which person on Wikidata is associated with the IMDb identifier nm0795599?", "Find the Wikidata item for the person with IMDb ID nm0795599."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"nm0795599\". }"}}
{"id": "test_4641", "question": "External ID properties in Switzerland and their associated items", "sparql": "SELECT ?property ?propertyLabel ?type ?associatedItem ?associatedItemLabel WHERE { ?property wikibase:propertyType ?type . ?property wdt:P17 wd:Q39 . OPTIONAL { ?property wdt:P1629 ?associatedItem . } OPTIONAL { ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") } OPTIONAL { ?associatedItem rdfs:label ?associatedItemLabel . FILTER(LANG(?associatedItemLabel) = \"en\") } } LIMIT 50", "paraphrases": ["What external ID systems are used in Switzerland, and what concepts do they represent?", "List the properties in Wikidata that are used as external identifiers in Switzerland, along with their types and the concepts they describe."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var4Label WHERE { ?var1 <http://wikiba.se/ontology#propertyType> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q39> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1629> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_4642", "question": "What entities are described as 'persona' in Italian on Wikidata?", "sparql": "PREFIX schema: <http://schema.org/>\nSELECT ?item WHERE {\n  ?item schema:description \"persona\" @it\n}", "paraphrases": ["Which items on Wikidata have the Italian description 'persona'?", "Show me all entities in Wikidata that are defined as 'persona' in Italian."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://schema.org/description> \"string1\"@it . }"}}
{"id": "test_4643", "question": "All plant species in the Apiales order.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?taxon WHERE {\n  ?taxon wdt:P171 * wd:Q21138 .\n}", "paraphrases": ["What are all the taxa that are descendants of the Apiales order?", "List all plant taxa, from species up to the order level, that belong to the Apiales taxonomic group."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P171> * <http://www.wikidata.org/entity/Q21138> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4644", "question": "What is the village with YSO ID 190717, and what are its name and descriptions?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P2347 \"190717\" .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n  }\n}", "paraphrases": ["Can you tell me the name and descriptions of the place identified by the YSO ID 190717?", "Show me the label and descriptions for the entity with YSO ID 190717, regardless of language."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2347> \"190717\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4645", "question": "What is the Broadway show with Internet Broadway Database ID 4172, and what is its English description?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?desc WHERE {\n  ?item wdt:P1219 \"4172\" .\n  ?item rdfs:label ?itemLabel .\n  OPTIONAL {\n    ?item schema:description ?desc .\n    FILTER(LANG(?desc) = \"en\")\n  }\n}", "paraphrases": ["Can you tell me the title and English description of the Broadway play with ID 4172 in the Internet Broadway Database?", "Show me the label and English description of the play identified by the Internet Broadway Database ID 4172."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1219> \"394695\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4646", "question": "Statements with date April 7, 1977", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT DISTINCT ?statement ?date WHERE {\n  ?statement ?prop ?timeNode .\n  ?timeNode wikibase:timeValue ?date .\n  FILTER(?date = \"1977-04-07T00:00:00Z\" ^^ xsd:dateTime)\n}\nLIMIT 10", "paraphrases": ["Which Wikidata statements are associated with the date April 7, 1977?", "Show me all Wikidata statements that have a time value on April 7, 1977."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?var3 . ?var1 ?var4 ?var5 . ?var5 <http://wikiba.se/ontology#timeValue> ?var2 . FILTER ( ( ( YEAR ( ?var2 ) = \"1977\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . FILTER ( ( ( MONTH ( ?var2 ) = \"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . FILTER ( ( ( DAY ( ?var2 ) = \"7\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10"}}
{"id": "test_4647", "question": "What are all the superclass categories of a pegleg in Wikidata?", "sparql": "SELECT DISTINCT ?var1 WHERE { wd:Q614339 wdt:P279* ?var1 . } LIMIT 100", "paraphrases": ["What classes does a pegleg belong to through the subclass hierarchy?", "List all the higher-level categories that a pegleg is a subclass of, including indirect ancestors."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q614339> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_4648", "question": "Who died in May 1983?", "sparql": "SELECT DISTINCT ?person WHERE { ?person wdt:P570 ?deathDate . FILTER ( ?deathDate >= \"1983-05-01T00:00:00Z\"^^xsd:dateTime && ?deathDate <= \"1983-05-31T23:59:59Z\"^^xsd:dateTime ) }", "paraphrases": ["List of people who died in May 1983", "Can you provide the names of all individuals who passed away during May 1983?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . FILTER ( ( ( ?var2 >= \"1983-05-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1983-05-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_4649", "question": "All plant species and genera in the Calophyllaceae family.", "sparql": "SELECT ?taxon WHERE { ?taxon wdt:P171* wd:Q133249 .}", "paraphrases": ["What are all the taxonomic descendants of the Calophyllaceae plant family?", "List all plant taxa, from species to genera, that belong to the Calophyllaceae family or any of its subclades."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P171> * <http://www.wikidata.org/entity/Q133249> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4650", "question": "Who is the National Portrait Gallery (London) person with ID mp67216, and what is their English description?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?description WHERE {\n  ?item wdt:P1816 \"mp67216\" .\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["What is the English description of the person in the National Portrait Gallery (London) whose ID is mp67216?", "Please provide the English description of the individual identified by mp67216 in the National Portrait Gallery (London)."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1816> \"mp67215\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4651", "question": "French communes with population over 50,000 and their countries", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commune ?communeLabel ?country ?countryLabel WHERE {\n  ?commune(wdt:P31 / wdt:P279 *) wd:Q484170 .\n  ?commune wdt:P17 ?country .\n  ?commune wdt:P1082 ?population .\n  FILTER(?population > 50000)\n  FILTER(LANG(?communeLabel) = \"en\")\n  FILTER(LANG(?countryLabel) = \"en\")\n  ?commune rdfs:label ?communeLabel .\n  ?country rdfs:label ?countryLabel .\n}", "paraphrases": ["Which communes have a population greater than 50,000, and in which countries are they located?", "List the names of communes (and their countries) that have more than 50,000 residents, using English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q484170> . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . FILTER ( ( ( ?var3 > \"50000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_4652", "question": "What universities and their countries are listed in Wikidata, with English labels?", "sparql": "SELECT DISTINCT ?university ?universityLabel ?countryLabel WHERE { ?university (wdt:P31/wdt:P279*) wd:Q3918 . ?university wdt:P17 ?country . ?university rdfs:label ?universityLabel . ?country rdfs:label ?countryLabel . FILTER(LANG(?universityLabel) = \"en\") FILTER(LANG(?countryLabel) = \"en\") }", "paraphrases": ["Can you list all universities (including subclasses like technical or private universities) and the countries they are located in?", "Show me the names of universities around the world and the countries they are in, using English labels."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3918> . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"zh\". } }"}}
{"id": "test_4653", "question": "What are all the superclass categories of Generalissimus of the Soviet Union in Wikidata?", "sparql": "SELECT DISTINCT ?ancestor WHERE { wd:Q1501888 wdt:P279* ?ancestor .}", "paraphrases": ["What classes does the military rank \"Generalissimus of the Soviet Union\" belong to, including all its broader categories?", "List all the ancestor classes in the subclass hierarchy of Generalissimus of the Soviet Union."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q1501888> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_4654", "question": "Cities and towns in Germany with their coordinates", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?coord WHERE {\n  ?item wdt:P31 ?class .\n  ?class wdt:P279 * wd:Q515 .\n  ?item wdt:P17 wd:Q183 .\n  OPTIONAL {\n    ?item wdt:P625 ?coord\n  }\n}", "paraphrases": ["What are all the cities and their subclasses (like towns or villages) located in Germany, and where are they located geographically?", "List all populated places in Germany that are classified as cities or any of their subclasses, along with their geographic coordinates if available."], "info": {"raw_sparql": "SELECT * WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/statement/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } }"}}
{"id": "test_4655", "question": "What is the image of the person with SNAC ARK ID w6r49ps1?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6r49ps1\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Can you show me the Wikimedia Commons image associated with Jean-Jacques Rousseau\u2019s SNAC record?", "Retrieve the image file from Wikimedia Commons for the entity identified by the SNAC ARK ID w6r49ps1."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6r49ps1\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_4656", "question": "What are the hierarchical categories above castellan in Wikidata?", "sparql": "SELECT DISTINCT ?superclass WHERE { wd:Q8138141 wdt:P279* ?superclass . FILTER(?superclass != wd:Q8138141) . ?superclass rdfs:label ?label . FILTER(LANG(?label) = 'en') . FILTER(CONTAINS(LCASE(?label), \"office\") || CONTAINS(LCASE(?label), \"position\") || CONTAINS(LCASE(?label), \"role\") || CONTAINS(LCASE(?label), \"occupation\") || CONTAINS(LCASE(?label), \"official\")) } LIMIT 10", "paraphrases": ["What types of positions or roles is a castellan considered a subclass of?", "Show me the meaningful superclasses of the historical office of castellan, such as public office, position, or occupation."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q8138141> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_4657", "question": "What entities were created, published, discovered, or officially opened in November 1951?", "sparql": "SELECT DISTINCT ?item WHERE { ?item (wdt:P571 | wdt:P575 | wdt:P577 | wdt:P1619) ?date . FILTER ( ?date >= \"1951-11-01T00:00:00Z\"^^xsd:dateTime && ?date <= \"1951-11-30T23:59:59Z\"^^xsd:dateTime ) }", "paraphrases": ["Which items in Wikidata have a date of inception, publication, discovery, or official opening in November 1951?", "Can you list all works, organizations, or inventions that began or were released in November 1951, based on their publication date, founding date, discovery date, or official opening date?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P571> | <http://www.wikidata.org/prop/direct/P575> | <http://www.wikidata.org/prop/direct/P577> | <http://www.wikidata.org/prop/direct/P1619> ) ?var2 . FILTER ( ( ( ?var2 >= \"1951-11-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1951-11-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_4658", "question": "What are some businesses or public companies and the industries they operate in?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?companyLabel ?industryLabel WHERE {\n  {\n    ?company wdt:P31 wd:Q4830453 .\n  } UNION {\n    ?company wdt:P31 wd:Q891723 .\n  }\n  ?company wdt:P452 ?industry .\n  ?company rdfs:label ?companyLabel .\n  ?industry rdfs:label ?industryLabel .\n  FILTER(LANG(?companyLabel) = \"en\")\n  FILTER(LANG(?industryLabel) = \"en\")\n}\nLIMIT 5", "paraphrases": ["Can you list five public companies or businesses along with the industries they belong to?", "Which companies classified as businesses or public corporations are active in which economic sectors?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label WHERE { OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4830453> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q891723> . } ?var1 <http://www.wikidata.org/prop/direct/P452> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 5"}}
{"id": "test_4659", "question": "What are all the currency symbols in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?currencySymbol WHERE {\n  ?currencySymbol wdt:P31 wd:Q308229\n}", "paraphrases": ["Which Unicode characters are used as currency signs?", "Can you list all the symbols that represent monetary currencies, such as $, \u20ac, or \u20b9?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q308229> . }"}}
{"id": "test_4660", "question": "Who else won awards that Philip K. Dick won?", "sparql": "SELECT DISTINCT ?recipient WHERE { wd:Q171091 wdt:P166 ?award . ?recipient wdt:P166 ?award . FILTER(?recipient != wd:Q171091) }", "paraphrases": ["Which people or works have received the same awards as science fiction author Philip K. Dick?", "List all recipients (other than Philip K. Dick himself) of any award that Philip K. Dick has received, including books, films, and individuals."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P166> <http://www.wikidata.org/entity/Q171091> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUGTO_LANGUAGE},en\". } }"}}
{"id": "test_4661", "question": "Locations in the UTC+1 time zone with their images", "sparql": "SELECT ?item ?itemLabel ?image WHERE { ?item wdt:P421 wd:Q6655 . OPTIONAL { ?item wdt:P18 ?image . } ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } LIMIT 100", "paraphrases": ["What are the places in the CET time zone, and what images are associated with them?", "Show me a list of items located in UTC+01:00, including their English names and any available images."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P421> <http://www.wikidata.org/entity/Q6655> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_4662", "question": "Turkish Wikipedia articles about Buffy the Vampire Slayer Magazine incorporating Angel Magazine", "sparql": "SELECT ?article WHERE { ?article rdf:type schema:Article ; schema:about wd:Q600537 ; schema:inLanguage \"tr\" ; schema:isPartOf <https://tr.wikipedia.org/> . }", "paraphrases": ["Is there a Turkish-language Wikipedia article about Buffy the Vampire Slayer Magazine incorporating Angel Magazine?", "Show me the Turkish Wikipedia article that discusses Buffy the Vampire Slayer Magazine incorporating Angel Magazine."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q600537> ; <http://schema.org/inLanguage> \"tr\"; <http://schema.org/isPartOf> ?var2 . ?var2 <http://wikiba.se/ontology#wikiGroup> \"string1\". } LIMIT 1"}}
{"id": "test_4663", "question": "What is the Turkish Wikipedia article about the Turkish Wikipedia?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX schema: <http://schema.org/>\nSELECT ?article WHERE {\n  ?article rdf:type schema:Article ; schema:about wd:Q58255 ; schema:inLanguage \"tr\" ; schema:isPartOf ?wiki .\n}\nLIMIT 1", "paraphrases": ["Can you find the Turkish-language Wikipedia page that describes the Turkish Wikipedia?", "Which article on the Turkish Wikipedia is about the Turkish Wikipedia itself?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q8252163> ; <http://schema.org/inLanguage> \"tr\"; <http://schema.org/isPartOf> ?var2 . ?var2 <http://wikiba.se/ontology#wikiGroup> \"string1\". } LIMIT 1"}}
{"id": "test_4664", "question": "Writers born in Labourd with their birth year, languages, and VIAF/ISNI identifiers.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?writer ?writerLabel(SAMPLE(?image) AS ?imageUrl)(YEAR(?birthDate) AS ?birthYear)(GROUP_CONCAT(DISTINCT ?languageLabel ; SEPARATOR = \", \") AS ?languages)(GROUP_CONCAT(DISTINCT ?deathPlaceLabel ; SEPARATOR = \", \") AS ?deathPlaces)(YEAR(?deathDate) AS ?deathYear)(GROUP_CONCAT(DISTINCT ?isniUrl ; SEPARATOR = \", \") AS ?isnis)(GROUP_CONCAT(DISTINCT ?viafUrl ; SEPARATOR = \", \") AS ?viafs) WHERE {\n  ?writer wdt:P31 wd:Q5 ; wdt:P106 / wdt:P279 * wd:Q36180 ; wdt:P569 ?birthDate ; wdt:P19 ?birthPlace .\n  ?birthPlace wdt:P131 * wd:Q671023 .\n  OPTIONAL {\n    ?writer wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?writer wdt:P20 ?deathPlace .\n    ?deathPlace rdfs:label ?deathPlaceLabel .\n    FILTER(LANG(?deathPlaceLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?writer wdt:P1412 ?language .\n    ?language rdfs:label ?languageLabel .\n    FILTER(LANG(?languageLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?writer wdt:P570 ?deathDate .\n  }\n  OPTIONAL {\n    ?writer wdt:P213 ?isni .\n    BIND(IRI(CONCAT(\"https://isni.org/isni/\" , ?isni)) AS ?isniUrl)\n  }\n  OPTIONAL {\n    ?writer wdt:P214 ?viaf .\n    BIND(IRI(CONCAT(\"https://viaf.org/viaf/\" , ?viaf)) AS ?viafUrl)\n  }\n  ?writer rdfs:label ?writerLabel .\n  FILTER(LANG(?writerLabel) = \"en\")\n}\nGROUP BY ?writer ?writerLabel ?birthDate ?deathDate", "paraphrases": ["Who are the human writers born in Labourd, and what are their birth years, languages spoken, places of death, and online identifiers like ISNI and VIAF?", "List all writers from Labourd, including their birth and death years, languages, death places, and links to their ISNI and VIAF profiles."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( SAMPLE ( ?var2 ) AS ?var3 ) ?var4 ( GROUP_CONCAT ( DISTINCT ?var5Label ; SEPARATOR = \", \" ) AS ?var6 ) ?var7 ( GROUP_CONCAT ( DISTINCT ?var8Label ; SEPARATOR = \", \" ) AS ?var9 )( GROUP_CONCAT ( DISTINCT ?var10Label ; SEPARATOR = \", \" ) AS ?var11 )( GROUP_CONCAT ( DISTINCT ?var12 ; SEPARATOR = \" / \" ) AS ?var13 )( GROUP_CONCAT ( DISTINCT ?var14 ; SEPARATOR = \" / \" ) AS ?var15 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/entity/P279> *) <http://www.wikidata.org/entity/Q5> . ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/entity/P279> *) <http://www.wikidata.org/entity/Q36180> . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P131> ?var16 . <http://www.wikidata.org/entity/Q671023> <http://www.wikidata.org/prop/direct/P527> ?var16 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P20> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var17 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var18 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P214> ?var19 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P213> ?var20 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1412> ?var10 . } BIND ( YEAR ( ?var17 ) AS ?var4 ). BIND ( YEAR ( ?var18 ) AS ?var7 ). BIND ( IRI ( CONCAT ( \"string1\", ?var19 ) ) AS ?var12 ). BIND ( IRI ( CONCAT ( \"string2\", ?var20 ) ) AS ?var14 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string3\". ?var10 <http://www.w3.org/2000/01/rdf-schema#label> ?var10Label . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var8Label . } } GROUP BY ?var1Label ?var1 ?var4 ?var7"}}
{"id": "test_4665", "question": "Cities with population, coordinates, and official names", "sparql": "SELECT ?city ?coordinates ?population ?officialName WHERE { ?city wdt:P31 wd:Q515 . ?city wdt:P1082 ?population . ?city wdt:P625 ?coordinates . OPTIONAL { ?city wdt:P1448 ?officialName . } } LIMIT 20", "paraphrases": ["What are the population, geographic coordinates, and official names of cities in Wikidata?", "List up to 20 cities along with their population, geographic coordinates, and official names in their local languages, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1448> ?var4 . } } LIMIT 20"}}
{"id": "test_4666", "question": "Films and TV series directed, produced, written, or acted in by Tyler Perry and their release dates.", "sparql": "SELECT ?title ?releaseDate WHERE { ?work (wdt:P161|wdt:P162|wdt:P163|wdt:P58) wd:Q686301 . { ?work wdt:P31 wd:Q11424 . } UNION { ?work wdt:P31 wd:Q5398426 . } ?work rdfs:label ?title . ?work wdt:P577 ?releaseDate . }", "paraphrases": ["What films and TV shows has Tyler Perry been involved in as a director, producer, writer, or actor, and when were they released?", "List the titles and release dates of all films and television series associated with Tyler Perry through roles such as director, producer, screenwriter, or actor."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q686301> . { { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5398426> . } } ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . ?var3 <http://www.wikidata.org/prop/direct/P577> ?var2 . }"}}
{"id": "test_4667", "question": "What is the official website of Amari Hotels and Resorts?", "sparql": "SELECT ?item ?itemLabel ?website WHERE { VALUES ?item { wd:Q17012092 } ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") OPTIONAL { ?item wdt:P856 ?website } }", "paraphrases": ["Can you tell me the English name and official website of the hotel chain Amari Hotels and Resorts?", "Show me the label in English and the official website for the business entity Amari Hotels and Resorts."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P127> <http://www.wikidata.org/entity/Q17012092> . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"en\". ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P127> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4668", "question": "List all editions of the Soviet Cup.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?edition ?editionLabel WHERE {\n  ?edition wdt:P3450 wd:Q647690 .\n  ?edition rdfs:label ?editionLabel .\n  FILTER ( LANG( ?editionLabel ) = \"en\" )\n}", "paraphrases": ["What are the names of all the seasons of the Soviet Cup football tournament?", "Show me the English labels of all the individual competitions (like 1948 Soviet Cup) that are part of the Soviet Cup tournament."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3450> <http://www.wikidata.org/entity/Q647690> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4669", "question": "List all video games in Wikidata.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?game WHERE {\n  ?game wdt:P31 wd:Q7889 .\n}", "paraphrases": ["What are all the individual video games documented in Wikidata?", "Show me all the entities that are instances of the category \"video game\"."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7889> . }"}}
{"id": "test_4670", "question": "Show people from WikiTree with their birth and death locations, birth century, and links to their profiles.", "sparql": "SELECT DISTINCT ?birthCoordinates ?deathCoordinates ( FLOOR( YEAR( ?birthDate ) / 100 ) * 100 AS ?century ) ?birthPlaceLabel ?personLabel ?wikitreeUrl WHERE { ?person wdt:P2949 ?wikitreeId . ?person wdt:P19 ?birthPlace . OPTIONAL { ?birthPlace wdt:P625 ?birthCoordinates . } ?person wdt:P20 ?deathPlace . OPTIONAL { ?deathPlace wdt:P625 ?deathCoordinates . } ?person wdt:P569 ?birthDate . BIND( IRI( CONCAT( \"https://www.wikitree.com/wiki/\", ?wikitreeId ) ) AS ?wikitreeUrl ) ?birthPlace rdfs:label ?birthPlaceLabel . ?person rdfs:label ?personLabel . FILTER( LANG( ?birthPlaceLabel ) = \"en\" ) FILTER( LANG( ?personLabel ) = \"en\" ) }", "paraphrases": ["For people listed on WikiTree, what are their birth and death places, the century they were born in, and how can I access their full profiles?", "Please list historical figures from WikiTree, including their birth and death locations (with coordinates if available), the century of their birth, and direct links to their WikiTree profiles \u2014 all in English."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ( ( FLOOR ( ( YEAR ( ?var3 ) /\"100\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) *\"100\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var4 ) ?var5Label ?var6Label ?var7 WHERE { ?var6 <http://www.wikidata.org/prop/direct/P2949> ?var8 . ?var6 <http://www.wikidata.org/prop/direct/P19> ?var5 . OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P625> ?var1 . } ?var6 <http://www.wikidata.org/prop/direct/P20> ?var9 . OPTIONAL { ?var9 <http://www.wikidata.org/prop/direct/P625> ?var2 . } BIND ( IRI ( CONCAT ( \"string1\", ?var8 ) ) AS ?var7 ). ?var6 <http://www.wikidata.org/prop/direct/P569> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4671", "question": "What topics (subjects) of works have both a Polish label and a Polish description?", "sparql": "SELECT ?topic ?label ?description WHERE { ?work wdt:P921 ?topic . ?topic rdfs:label ?label . ?topic schema:description ?description . FILTER(LANG(?label) = \"pl\") . FILTER(LANG(?description) = \"pl\") . } LIMIT 100", "paraphrases": ["Can you list the subjects of works that are described and labeled in Polish?", "Which concepts, when used as the main subject of a work, have Polish-language labels and descriptions in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P921> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"pl\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"pl\" ) ) ) . } LIMIT 100"}}
{"id": "test_4672", "question": "List subclasses in Wikidata with English labels and descriptions.", "sparql": "SELECT ?subclass ?label ?description WHERE { ?subclass wdt:P279 ?superclass . ?subclass schema:name ?label . ?subclass schema:description ?description . FILTER(LANG(?label) = \"en\") FILTER(LANG(?description) = \"en\") } LIMIT 100", "paraphrases": ["What are some subclasses in Wikidata that have English names and descriptions?", "Show me up to 100 subclasses from Wikidata that have English labels and descriptions."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/entity/P279> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_4673", "question": "What events occurred on March 13, 1994?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?event WHERE {\n  ?event(wdt:P585 | wdt:P606 | wdt:P619 | wdt:P620 | wdt:P621 | wdt:P622 | wdt:P729 | wdt:P1191) ?date .\n  FILTER(?date >= \"1994-03-13T00:00:00Z\" ^^ xsd:dateTime && ?date <= \"1994-03-13T23:59:59Z\" ^^ xsd:dateTime)\n  FILTER NOT EXISTS {\n    ?event wdt:P31 wd:Q2400\n  }\n}", "paraphrases": ["Which works, sports events, or space missions had their premiere, launch, or service entry on March 13, 1994?", "Can you list all notable events such as film premieres, spacecraft launches, or sports matches that took place on March 13, 1994?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P585> | <http://www.wikidata.org/prop/direct/P606> | <http://www.wikidata.org/prop/direct/P619> | <http://www.wikidata.org/prop/direct/P620> | <http://www.wikidata.org/prop/direct/P621> | <http://www.wikidata.org/prop/direct/P622> | <http://www.wikidata.org/prop/direct/P729> | <http://www.wikidata.org/prop/direct/P1191> ) ?var2 . FILTER ( ( ( ?var2 >= \"1994-03-13T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1994-03-13T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_4674", "question": "What are the confidence levels used by the Australian Bureau of Statistics for suburb/locality data accuracy?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?confidenceLevel ?label WHERE {\n  ?confidenceLevel wdt:P31 wd:Q31834028 .\n  ?confidenceLevel rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}", "paraphrases": ["List the English labels for the confidence values in Wikidata that classify statistical data accuracy.", "What are the different categories like \"good\" or \"poor\" used by the Australian Bureau of Statistics to rate data reliability?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q31834028> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_4675", "question": "Persian labels of abstract concepts related to republic via Wikidata taxonomy", "sparql": "SELECT DISTINCT ?relatedClass ?label WHERE { wd:Q7270 wdt:P31 ?class . ?class (wdt:P31|wdt:P279)* ?relatedClass . ?relatedClass rdfs:label ?label . FILTER (LANG(?label) = \"fa\") }", "paraphrases": ["What are the Persian names of all classes that are connected (through instance-of or subclass-of relationships) to a class that republic belongs to?", "Show me the Persian labels of all abstract categories that are semantically linked to the concept of republic through Wikidata\u2019s class hierarchy."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { { ?var3 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var4 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> )* ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( ?var3 = <http://www.wikidata.org/entity/Q7270> ) ) ) . FILTER ( ( ( LANG ( ?var2 ) = \"fa\" ) ) ) . } }"}}
{"id": "test_4676", "question": "Fictional characters with their given names and native names", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?character ?characterLabel ?givenName ?givenNameLabel ?nativeName WHERE {\n  ?character wdt:P31 wd:Q95074 .\n  ?character wdt:P735 ?givenName .\n  OPTIONAL {\n    ?character wdt:P1559 ?nativeName .\n  }\n  ?character rdfs:label ?characterLabel .\n  ?givenName rdfs:label ?givenNameLabel .\n  FILTER(LANG(?characterLabel) = \"en\")\n  FILTER(LANG(?givenNameLabel) = \"en\")\n}", "paraphrases": ["Which fictional characters have given names, and what are those names and their native names?", "List fictional characters along with their given names and optional native names in English."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1559> ?var4 . } ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q603432> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4677", "question": "List of English-named association football players.", "sparql": "SELECT DISTINCT ?personLabel WHERE { ?person wdt:P106 wd:Q937857 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } LIMIT 100", "paraphrases": ["Who are some association football players with English labels in Wikidata?", "Show me up to 100 English-language names of people whose occupation is association football player."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var2 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q937857> . } LIMIT 100"}}
{"id": "test_4678", "question": "What is the English description of the chemical substance with UNII identifier 059QF0KO0R?", "sparql": "SELECT ?chemical ?chemicalLabel ?description WHERE { ?chemical wdt:P652 \"059QF0KO0R\" . OPTIONAL { ?chemical schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Show me the chemical item and its English description that has the UNII code 059QF0KO0R.", "Which chemical has the Unique Ingredient Identifier 059QF0KO0R, and what is its English description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P652> \"383XWV31AG\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4679", "question": "What are the Persian-language labels of people whose occupation is related to sports (e.g., athlete, football player, etc.)?", "sparql": "SELECT DISTINCT ?label WHERE { ?person wdt:P106 ?occupation . ?occupation (wdt:P279)* wd:Q50995749 . ?person rdfs:label ?label . FILTER(LANG(?label) = \"fa\") } LIMIT 10 OFFSET 420", "paraphrases": ["List 10 Persian names of athletes or sportspeople, starting from the 421st result.", "Show me the Persian labels of individuals who have an occupation that is a subclass of sportsperson."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { ?var2 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P106> ) ?var3 . ?var3 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> )* ?var4 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q2066131> ) ) ) . FILTER ( ( ( LANG ( ?var1 ) = \"fa\" ) ) ) . } } LIMIT 10 OFFSET 420"}}
{"id": "test_4680", "question": "Geographical features located on themselves in Wikidata", "sparql": "SELECT ?geographicalFeature WHERE { ?geographicalFeature wdt:P706 ?geographicalFeature . }", "paraphrases": ["Which geographical entities in Wikidata are self-referentially marked as being located on themselves?", "List all physical features in Wikidata that are classified as being located on their own landform."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P706> ?var1 . }"}}
{"id": "test_4681", "question": "What are the English-labeled places located in Landau an der Isar?", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P131 wd:Q509536 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["Which cultural or administrative sites in Landau an der Isar have English labels?", "List all entities in Landau an der Isar with their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q509536> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_4682", "question": "Images of main subjects of works by or featuring Kiralee M. Hayashi", "sparql": "SELECT DISTINCT ?image WHERE { { ?work wdt:P50 wd:Q18738765 . ?work wdt:P921 ?topic . ?topic wdt:P18 ?image . } UNION { ?work wdt:P161 wd:Q18738765 . ?work wdt:P921 ?topic . ?topic wdt:P18 ?image . } }", "paraphrases": ["What images are associated with the main topics of movies or research papers that Kiralee M. Hayashi acted in or authored?", "Show me all images of the primary subjects of works connected to Kiralee M. Hayashi, whether she authored them or appeared in them."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { <http://www.wikidata.org/entity/Q18738765> <http://www.wikidata.org/prop/direct/P18> ?var1 . } UNION { <http://www.wikidata.org/entity/Q18738765> ?var2 ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P18> ?var1 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/Q5> ) ) ) . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q18738765> . { ?var4 <http://www.wikidata.org/prop/direct/P921> [ <http://www.wikidata.org/prop/direct/P18> ?var1 ] . } UNION { ?var5 <http://www.wikidata.org/prop/direct/P50> ?var4 . ?var5 <http://www.wikidata.org/prop/direct/P18> ?var1 . } } }"}}
{"id": "test_4683", "question": "What are the Persian-language labels of people who are athletes or have an occupation that is a subclass of athlete?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?label WHERE {\n  ?person wdt:P106 ?occupation .\n  ?occupation wdt:P279 * wd:Q2066131 .\n  ?person rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"fa\" )\n}\nLIMIT 10\nOFFSET 3220", "paraphrases": ["Show me 10 Persian Wikipedia names of athletes, starting from the 3221st result.", "Who are the Persian-labeled athletes on Wikidata, including football players, swimmers, and other sports roles?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { ?var2 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P106> ) ?var3 . ?var3 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> )* ?var4 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q2066131> ) ) ) . FILTER ( ( ( LANG ( ?var1 ) = \"fa\" ) ) ) . } } LIMIT 10 OFFSET 3220"}}
{"id": "test_4684", "question": "What are some athletes or sports-related professionals listed in Persian on Wikidata?", "sparql": "SELECT DISTINCT ?label WHERE { { ?item wdt:P31/wdt:P279* wd:Q2066131 . } UNION { ?item wdt:P106/wdt:P279* wd:Q2066131 . } ?item rdfs:label ?label . FILTER(LANG(?label) = \"fa\") } LIMIT 10", "paraphrases": ["Can you list Persian-language labels of people who are either athletes or have an occupation that is a subtype of athlete?", "Show me the Persian names of individuals whose profession or type is related to being an athlete."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { ?var2 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P106> ) ?var3 . ?var3 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> )* ?var4 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q2066131> ) ) ) . FILTER ( ( ( LANG ( ?var1 ) = \"fa\" ) ) ) . } } LIMIT 10 OFFSET 5670"}}
{"id": "test_4685", "question": "Persian labels of athletes and their sub-occupations.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?label WHERE {\n  ?person ( wdt:P31 | wdt:P106 ) ?occupation .\n  ?occupation wdt:P279 * wd:Q2066131 .\n  ?person rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"fa\" )\n}", "paraphrases": ["Who are the athletes (or people in athletic professions) with Persian-language labels?", "List the Persian names of people whose occupation is athlete or a type of athlete."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { ?var2 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P106> ) ?var3 . ?var3 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> )* ?var4 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q2066131> ) ) ) . FILTER ( ( ( LANG ( ?var1 ) = \"fa\" ) ) ) . } } LIMIT 10 OFFSET 5970"}}
{"id": "test_4686", "question": "Persian labels of people whose occupation is athlete or a sub-occupation.", "sparql": "SELECT DISTINCT ?personLabel WHERE { ?person wdt:P106 ?occupation . ?occupation wdt:P279* wd:Q2066131 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"fa\") }", "paraphrases": ["Who are the athletes (or people in sports-related professions) with Persian-language labels on Wikidata?", "List the names of athletes and their sub-occupations in Persian."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { ?var2 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P106> ) ?var3 . ?var3 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> )* ?var4 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q2066131> ) ) ) . FILTER ( ( ( LANG ( ?var1 ) = \"fa\" ) ) ) . } } LIMIT 10 OFFSET 6530"}}
{"id": "test_4687", "question": "What is the image and Wikimedia Commons category for the town of Samos in Greece?", "sparql": "SELECT ?item ?itemLabel ?location ?image ?commonsCategory WHERE { VALUES ?item { wd:Q1018150 } ?item wdt:P625 ?location . OPTIONAL { ?item wdt:P18 ?image . } OPTIONAL { ?item wdt:P373 ?commonsCategory . } OPTIONAL { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } }", "paraphrases": ["Can you show me the location, image, and Commons category for Samos town, which is near 27\u00b0E and 37\u00b0N?", "I'm looking for information about Samos town in Greece \u2014 please provide its coordinates, any associated image, and its Wikimedia Commons category."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(27 37)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(27 37)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_4688", "question": "Persian labels of athletes and their occupational subclasses", "sparql": "SELECT DISTINCT ?label WHERE { ?person wdt:P106/wdt:P279* wd:Q2066131 . ?person rdfs:label ?label . FILTER(LANG(?label) = \"fa\") } LIMIT 10 OFFSET 9180", "paraphrases": ["Who are the athletes (and related professions) with Persian-language labels on Wikidata?", "List the Persian names of people whose occupation is athlete or a subtype of athlete."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { ?var2 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P106> ) ?var3 . ?var3 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> )* ?var4 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q2066131> ) ) ) . FILTER ( ( ( LANG ( ?var1 ) = \"fa\" ) ) ) . } } LIMIT 10 OFFSET 9180"}}
{"id": "test_4689", "question": "Items with coordinates between latitude -29 and 13 and longitude -13 and 7, along with their images and Wikimedia Commons categories.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX geof: <http://www.opengis.net/def/function/geosparql/>\nSELECT ?item ?itemLabel ?coord ?image ?commonsCategory WHERE {\n  ?item wdt:P625 ?coord .\n  FILTER(geof:latitude(?coord) >= -29 && geof:latitude(?coord) <= 13)\n  FILTER(geof:longitude(?coord) >= -13 && geof:longitude(?coord) <= 7)\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?item wdt:P373 ?commonsCategory .\n  }\n}\nLIMIT 3000", "paraphrases": ["What places are located within the geographic region stretching from -29\u00b0 latitude to 13\u00b0 latitude and -13\u00b0 longitude to 7\u00b0 longitude, and do they have associated images or Commons categories?", "Show me all geographic entities in the area covering parts of West Africa and Southern Europe, including their coordinates, images if available, and their corresponding Wikimedia Commons categories."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(-29 -13)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(13 7)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_4690", "question": "What countries and administrative regions is Ramsgate directly part of?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?location ?locationLabel WHERE {\n  wd:Q736439(wdt:P17 | wdt:P131) ?location .\n  ?location rdfs:label ?locationLabel .\n  FILTER(LANG(?locationLabel) = \"en\")\n}", "paraphrases": ["Show me the country and immediate administrative area where Ramsgate is located.", "Which entities directly define Ramsgate\u2019s location, such as its country and district?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q736439> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_4691", "question": "What mountain systems are located in the same countries as the Saint Elias Mountains?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?mountain_system ?country WHERE {\n  wd:Q48719 wdt:P17 ?country .\n  ?mountain_system wdt:P31 wd:Q46831 .\n  ?mountain_system wdt:P17 ?country .\n}", "paraphrases": ["List all mountain systems in Canada and the United States.", "Which natural mountain ranges are found in Canada or the USA, like the Saint Elias Mountains?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var4 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q15916867> . ?var4 <http://www.wikidata.org/prop/direct/P17> ?var1 . ?var4 <http://www.wikidata.org/prop/direct/P31> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P17> ?var2 . FILTER ( ( EXISTS { <http://www.wikidata.org/entity/Q48719> <http://www.wikidata.org/prop/direct/P17> ?var1 . ?var3 <http://www.wikidata.org/prop/direct/P17> ?var2 . FILTER ( ( ( ?var1 = ?var2 ) ) ) . } ) ) . }"}}
{"id": "test_4692", "question": "Which movie has the elFilm ID 278310?", "sparql": "SELECT ?movie WHERE { ?movie wdt:P3143 \"278310\" . }", "paraphrases": ["Find the movie with elFilm ID 278310", "What is the movie identified by 278310 in the elFilm database?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3143> \"278310\". }"}}
{"id": "test_4693", "question": "People employed by Technische Universit\u00e4t Berlin", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P108 wd:Q51985 .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}", "paraphrases": ["Who are the humans working at the Technical University of Berlin?", "List all employees of the Technical University of Berlin who are human."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P108> <http://www.wikidata.org/entity/Q51985> . }"}}
{"id": "test_4694", "question": "What are the multilingual names and coordinates of human settlements in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?coordinates WHERE {\n  ?settlement wdt:P31 wd:Q486972 ; rdfs:label ?label ; wdt:P625 ?coordinates .\n}\nLIMIT 20", "paraphrases": ["Can you show me the labels and geographic coordinates of the first 20 human settlements in Wikidata?", "List the names (in different languages) and locations of populated places in Wikidata."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q486972> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label ; <http://www.wikidata.org/prop/direct/P625> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru,en\". } } LIMIT 20"}}
{"id": "test_4695", "question": "What movie has the IMDb ID tt0093518?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P345 \"tt0093518\" .\n}", "paraphrases": ["Which film is identified by the IMDb identifier tt0093518?", "Find the Wikidata item for the movie with IMDb ID tt0093518."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0093518\". }"}}
{"id": "test_4696", "question": "What is the Wikidata item for the movie with IMDb ID tt0347566?", "sparql": "SELECT ?movie WHERE { ?movie wdt:P345 \"tt0347566\" . }", "paraphrases": ["Which movie on Wikidata has the IMDb identifier tt0347566?", "I need to find the Wikidata entity for the 1994 Hindi film \"Mohabbat Ki Arzoo\" using its IMDb ID: tt0347566."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0347566\". }"}}
{"id": "test_4697", "question": "What are the 1000 largest cities in the world by population, along with their country, coordinates, image, and other details?", "sparql": "SELECT ?city ?population ?name ?coordinates ?country ?image ?timeZone ?area ?elevation ?coatOfArms ?bodyOfWater ?foundedBy ?continent ?nightImage WHERE { ?city wdt:P31 wd:Q515 . OPTIONAL { ?city wdt:P1082 ?population . } OPTIONAL { ?city wdt:P1476 ?name . } OPTIONAL { ?city wdt:P625 ?coordinates . } OPTIONAL { ?city wdt:P17 ?country . } OPTIONAL { ?city wdt:P18 ?image . } OPTIONAL { ?city wdt:P421 ?timeZone . } OPTIONAL { ?city wdt:P2046 ?area . } OPTIONAL { ?city wdt:P2044 ?elevation . } OPTIONAL { ?city wdt:P94 ?coatOfArms . } OPTIONAL { ?city wdt:P206 ?bodyOfWater . } OPTIONAL { ?city wdt:P112 ?foundedBy . } OPTIONAL { ?city wdt:P30 ?continent . } OPTIONAL { ?city wdt:P3451 ?nightImage . } } ORDER BY DESC(?population) LIMIT 1000", "paraphrases": ["Can you list the top 1000 cities in the world ordered by population, showing their name, population, country, geographic coordinates, official image, time zone, area, elevation, continent, and any associated nighttime images or bodies of water they are near?", "Provide a comprehensive list of the world\u2019s most populous cities (top 1000), including their population, location, country, continent, and available media such as images and coat of arms."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P421> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2046> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2044> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P94> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P206> ?var11 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P112> ?var12 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P30> ?var13 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3451> ?var14 . } } ORDER BY DESC( ?var2 ) LIMIT 1000"}}
{"id": "test_4698", "question": "Journal with ISSN 0495-3843, including its labels in different languages, descriptions, and identifiers like IPNI, JSTOR, ZooBank, web feed, and URL.", "sparql": "SELECT ?journal ?label ?description ?ipniId ?jstorId ?zoobankId ?webFeed ?url WHERE { ?journal wdt:P236 \"0495-3843\" . ?journal rdfs:label ?label . OPTIONAL { ?journal schema:description ?description . } OPTIONAL { ?journal wdt:P2008 ?ipniId . } OPTIONAL { ?journal wdt:P1230 ?jstorId . } OPTIONAL { ?journal wdt:P2007 ?zoobankId . } OPTIONAL { ?journal wdt:P1019 ?webFeed . } OPTIONAL { ?journal wdt:P2699 ?url . } }", "paraphrases": ["What are the different language labels and descriptions of the journal with ISSN 0495-3843, and what are its IPNI, JSTOR, ZooBank, web feed, and URL identifiers?", "Show me all language versions of the title and description of the journal identified by ISSN 0495-3843, along with its associated identifiers and links."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P236> \"0495-3843\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . OPTIONAL { ?var1 <http://schema.org/description> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1019> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2008> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1230> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2007> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/P2699> ?var9 . ?var9 <http://www.wikidata.org/prop/statement/P2699> ?var8 . } }"}}
{"id": "test_4699", "question": "Hebrew Wikipedia articles about volcanic landforms and their labels.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?volcanicLandform ?hebrewArticle ?label WHERE {\n  ?volcanicLandform wdt:P31 / wdt:P279 * wd:Q29025902 .\n  ?hebrewArticle schema:about ?volcanicLandform .\n  ?hebrewArticle schema:inLanguage \"he\" .\n  ?volcanicLandform rdfs:label ?label .\n}", "paraphrases": ["What are the volcanic landforms that have Hebrew Wikipedia pages, and what are their labels?", "Show me all volcanic landforms (including subclasses) that have articles in Hebrew, along with their names."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q5778278> . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"he\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"he\". } }"}}
{"id": "test_4700", "question": "Institutions Simon Ostrach was affiliated with or employed by, along with their images.", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?image ?institution ?institutionLabel ?start ?end ?degreeLabel WHERE {\n  {\n    wd:Q7519470 p:P1416 ?statement .\n    ?statement ps:P1416 ?institution .\n  } UNION {\n    wd:Q7519470 p:P108 ?statement .\n    ?statement ps:P108 ?institution .\n  }\n  ?institution rdfs:label ?institutionLabel .\n  FILTER ( LANG( ?institutionLabel ) = \"en\" ) OPTIONAL {\n    ?institution wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?statement pq:P580 ?start .\n  }\n  OPTIONAL {\n    ?statement pq:P582 ?end .\n  }\n  OPTIONAL {\n    ?statement pq:P512 ?degree .\n    ?degree rdfs:label ?degreeLabel .\n    FILTER ( LANG( ?degreeLabel ) = \"en\" )\n  }\n}", "paraphrases": ["Which universities or organizations did Simon Ostrach work for or affiliate with, and do any of them have associated images?", "Show me the names of Simon Ostrach\u2019s employers or affiliations in English, their images if available, and any start/end dates or academic degrees linked to those affiliations."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label ?var4 ?var5 ?var6Label WHERE { { <http://www.wikidata.org/entity/Q7519470> <http://www.wikidata.org/prop/P1416> ?var7 . } UNION { <http://www.wikidata.org/entity/Q7519470> <http://www.wikidata.org/prop/P108> ?var7 . } { ?var7 <http://www.wikidata.org/prop/statement/P1416> ?var2 . } UNION { ?var7 <http://www.wikidata.org/prop/statement/P108> ?var2 . } ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P580> ?var4 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P582> ?var5 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P512> ?var8 . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_4701", "question": "What movie has the IMDb ID tt0316051?", "sparql": "SELECT ?movie WHERE { ?movie wdt:P345 \"tt0316051\" . }", "paraphrases": ["Which film on Wikidata is associated with the IMDb identifier tt0316051?", "Find the Wikidata item for the movie identified by the IMDb ID tt0316051."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0316051\". }"}}
{"id": "test_4702", "question": "What Wikidata item has the IMDb ID tt0072918?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P345 \"tt0072918\" .\n}", "paraphrases": ["Which film is identified by the IMDb identifier tt0072918?", "Can you find the movie in Wikidata that corresponds to the IMDb ID tt0072918?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0072918\". }"}}
{"id": "test_4703", "question": "What is the English label and description of the person with e-archiv.li ID 31443?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P860 \"31443\" .\n  OPTIONAL {\n    ?item rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["Who is identified as 31443 in the Liechtenstein Archive, and what is their English description?", "Find the name and English biography of the individual linked to the e-archiv.li identifier 31443."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P860> \"31443\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4704", "question": "List universities worldwide with their English names, Chinese names (if available), administrative regions, and countries.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?university ?enLabel ?zhLabel ?adminAreaLabel ?countryLabel WHERE {\n  ?university(wdt:P31 / wdt:P279 *) wd:Q3918 .\n  ?university wdt:P131 ?adminArea .\n  ?university wdt:P17 ?country .\n  OPTIONAL {\n    ?university rdfs:label ?enLabel .\n    FILTER(LANG(?enLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?university rdfs:label ?zhLabel .\n    FILTER(LANG(?zhLabel) = \"zh\" || LANG(?zhLabel) = \"zh-cn\")\n  }\n  OPTIONAL {\n    ?adminArea rdfs:label ?adminAreaLabel .\n    FILTER(LANG(?adminAreaLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?country rdfs:label ?countryLabel .\n    FILTER(LANG(?countryLabel) = \"en\")\n  }\n}\nLIMIT 100", "paraphrases": ["What are the universities in the world, and for each, what is their English name, Chinese name (if any), the administrative area they are located in, and the country they belong to?", "Please provide a list of up to 100 universities, including their English and Chinese labels, the administrative region they are in, and their country \u2014 all in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4Label ?var5Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3918> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var5 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"zh-cn, zh\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en, zh\". } } LIMIT 100"}}
{"id": "test_4705", "question": "People who have been members of the European Parliament", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P39 wd:Q27169 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["Who are the individuals that have held the position of Member of the European Parliament?", "List the names of all people who served as Members of the European Parliament."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q27169> . }"}}
{"id": "test_4706", "question": "What are the roads and streets in Rennes?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?thoroughfare ?label WHERE {\n  ?thoroughfare wdt:P131 wd:Q647 ;(wdt:P31 / wdt:P279 *) wd:Q83620 .\n  ?thoroughfare rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["List all transportation routes such as roads and subway lines located in Rennes.", "Which thoroughfares are located in the city of Rennes, France?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q647> ; ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q83620> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_4707", "question": "What are the properties of Nathan (biblical figure), their labels, how many values each has, and what are those values in English?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?property ?propertyLabel(COUNT(?value) AS ?valueCount)(GROUP_CONCAT(?valueLabel ; SEPARATOR = \", \") AS ?valueLabels) WHERE {\n  wd:Q3437128 ?property ?value .\n  ?value rdfs:label ?valueLabel .\n  FILTER(LANG(?valueLabel) = \"en\")\n  .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?propertyLabel .\n  FILTER(LANG(?propertyLabel) = \"en\")\n}\nGROUP BY ?property ?propertyLabel", "paraphrases": ["Can you list all the facts about Nathan from the Bible, including the property names, the number of values for each, and the English labels of those values?", "For Nathan, son of David, show each property connecting him to other entities, the English name of the property, how many times it\u2019s used, and what the connected entities are called in English."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q3437128> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_4708", "question": "What are some places with their geographic coordinates listed in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel ?coordinate WHERE {\n  ?item wdt:P625 ?coordinate .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER(LANG(?itemLabel) = \"en\")\n  }\n}\nLIMIT 10", "paraphrases": ["Can you list 10 entities from Wikidata that have defined geographic locations, along with their names and coordinates?", "Show me entities with their English names and corresponding latitude and longitude coordinates."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ?var2 <http://wikiba.se/ontology#Globecoordinate> . } LIMIT 10"}}
{"id": "test_4709", "question": "What are the birth and death dates of June Foray?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  BIND( wd:Q241646 AS ?person ) .\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}", "paraphrases": ["Can you tell me when June Foray was born and when she died?", "Show me the life span of June Foray, including her birth and death dates."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q241646> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4710", "question": "What are the birth and death dates of Agnes I, Countess of Nevers?", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { BIND( wd:Q394554 AS ?person ) . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } }", "paraphrases": ["Please provide the full name, birth date, and death date of Agnes I, Countess of Nevers.", "Agnes I, Countess of Nevers - when was she born and when did she die?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q394554> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4711", "question": "What are the birth and death dates of Hans Blackwood, 3rd Baron Dufferin and Claneboye?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?birthDate ?deathDate WHERE {\n  wd:Q5649831 rdfs:label ?label .\n  OPTIONAL {\n    wd:Q5649831 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q5649831 wdt:P570 ?deathDate .\n  }\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["Can you tell me when Hans Blackwood, 3rd Baron Dufferin and Claneboye was born and when he died?", "Show me the full name, date of birth, and date of death for the Irish politician Hans Blackwood, 3rd Baron Dufferin and Claneboye."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q5649831> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4712", "question": "What are the birth and death dates of Isaac Watts?", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { wd:Q537034 rdfs:label ?personLabel . OPTIONAL { wd:Q537034 wdt:P569 ?birthDate . } OPTIONAL { wd:Q537034 wdt:P570 ?deathDate . } FILTER(LANG(?personLabel) = \"en\")}", "paraphrases": ["Can you tell me when Isaac Watts was born and when he died?", "Show me the life span of Isaac Watts, including his birth and death years."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q537034> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4713", "question": "What are the birth and death dates of Gene Lyons?", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { BIND( wd:Q5531326 AS ?person ) . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } }", "paraphrases": ["Can you tell me when Gene Lyons was born and when he died?", "Show me the life span of Gene Lyons, including his birth and death dates."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q5531326> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4714", "question": "How many items in France or its administrative subdivisions have an image on Wikimedia Commons?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ( COUNT( DISTINCT ?item ) AS ?count ) WHERE {\n  {\n    ?item wdt:P17 wd:Q142 .\n  } UNION {\n    ?item wdt:P131 wd:Q142 .\n  }\n  ?item wdt:P18 ?image .\n}", "paraphrases": ["What is the total number of distinct entities located in France (either directly or within its administrative divisions) that are associated with an image?", "Count all items in Wikidata that are either in France or in one of its regions, departments, or cities, and have a Commons image."], "info": {"raw_sparql": "SELECT( COUNT ( DISTINCT ?var1 ) AS ?var2 ) WHERE { { { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q142> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q142> . } } ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . }"}}
{"id": "test_4715", "question": "Who are all the presidents of the United States?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?president ?presidentLabel WHERE {\n  ?president wdt:P39 wd:Q11696 .\n  ?president wdt:P31 wd:Q5 .\n  ?president rdfs:label ?presidentLabel .\n  FILTER(LANG(?presidentLabel) = \"en\")\n}", "paraphrases": ["List the names of all human individuals who have held the office of President of the United States.", "Can you provide the full names of every U.S. president?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q11696> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4716", "question": "Who were the members of the European Parliament and when did their terms start and end?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?var1Label ?start ?end WHERE {\n  ?var1 wdt:P31 wd:Q5 .\n  ?var1 p:P39 ?statement .\n  ?statement ps:P39 wd:Q27169 .\n  ?statement pq:P580 ?start .\n  ?statement pq:P582 ?end .\n  ?var1 rdfs:label ?var1Label .\n  FILTER ( LANG( ?var1Label ) = \"en\" )\n}", "paraphrases": ["List all humans who served as Members of the European Parliament, including the start and end dates of their terms.", "When did each person serve as a Member of the European Parliament?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/P39> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q13217683> . ?var4 <http://www.wikidata.org/prop/qualifier/P580> ?var2 . ?var4 <http://www.wikidata.org/prop/qualifier/P582> ?var2 . }"}}
{"id": "test_4717", "question": "NASA space probes, launch dates, and images", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?probe ?probeLabel ?launchDate ( SAMPLE( ?img ) AS ?image ) WHERE {\n  ?probe wdt:P31 wd:Q26529 ; wdt:P137 wd:Q23548 .\n  ?probe wdt:P619 ?launchDate .\n  OPTIONAL {\n    ?probe wdt:P18 ?img .\n  }\n  ?probe rdfs:label ?probeLabel .\n  FILTER ( LANG( ?probeLabel ) = 'en' )\n}\nGROUP BY ?probe ?probeLabel ?launchDate", "paraphrases": ["What are the space probes operated by NASA, their launch dates, and what images are available for them?", "List all NASA-operated space probes with their English names, launch dates in UTC, and one representative image from Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q26529> ; <http://www.wikidata.org/prop/direct/P137> <http://www.wikidata.org/entity/Q23548> . ?var1 <http://www.wikidata.org/prop/direct/P619> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } GROUP BY ?var1 ?var1Label ?var2"}}
{"id": "test_4718", "question": "Films starring Kavya Madhavan", "sparql": "SELECT ?film WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P161 wd:Q3595617 .}", "paraphrases": ["Which films has Kavya Madhavan acted in?", "List all movies featuring Kavya Madhavan as an actress."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P161> <http://www.wikidata.org/entity/Q3595617> . }"}}
{"id": "test_4719", "question": "German-language labels and descriptions of heads of government", "sparql": "SELECT ?headOfGovernment ?label ?description WHERE { ?country wdt:P6 ?headOfGovernment . ?headOfGovernment rdfs:label ?label . ?headOfGovernment schema:description ?description . FILTER(LANG(?label) = \"de\") . FILTER(LANG(?description) = \"de\") } LIMIT 100", "paraphrases": ["Who are the heads of government with German labels and descriptions in Wikidata?", "List heads of government with their German labels and descriptions."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/P6> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"de\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"de\" ) ) ) . } LIMIT 100"}}
{"id": "test_4720", "question": "What is the area of Laduviken lake?", "sparql": "SELECT ?area WHERE { wd:Q6469853 wdt:P2046 ?area .}", "paraphrases": ["How large is Laduviken in square kilometers?", "Provide the surface area of Laduviken, a lake in Stockholm."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q6469853> <http://www.wikidata.org/entity/P2049> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4721", "question": "What are the heritage sites listed in Portugal\u2019s SIPA database, along with their SIPA IDs and countries?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?heritageSiteLabel ?sipaId ?countryLabel WHERE {\n  ?heritageSite wdt:P1700 ?sipaId .\n  ?heritageSite wdt:P17 ?country .\n  ?heritageSite rdfs:label ?heritageSiteLabel .\n  ?country rdfs:label ?countryLabel .\n  FILTER ( LANG( ?heritageSiteLabel ) = \"en\" ) FILTER ( LANG( ?countryLabel ) = \"en\" )\n}\nLIMIT 1000", "paraphrases": ["Can you list the English names of architectural sites in the SIPA database, their identifiers, and the countries they are located in?", "Which countries host heritage sites that have been assigned a SIPA ID, and what are those sites and their IDs?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1700> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 1000"}}
{"id": "test_4722", "question": "Who were the French Ministers of the Interior since 1945, and when did their terms start and end?", "sparql": "SELECT DISTINCT ?person ?personLabel ?positionLabel ?startDate ?endDate WHERE { ?person wdt:P31 wd:Q5 ; p:P39 ?statement . ?statement ps:P39 ?position ; pq:P580 ?startDate . FILTER ( ?startDate >= \"1945-01-01T00:00:00Z\"^^xsd:dateTime ) ?position wdt:P279* wd:Q20203006 . OPTIONAL { ?statement pq:P582 ?endDateRaw . } BIND( COALESCE(?endDateRaw, NOW()) AS ?endDate ) ?person rdfs:label ?personLabel . ?position rdfs:label ?positionLabel . FILTER ( LANG(?personLabel) = \"en\" ) FILTER ( LANG(?positionLabel) = \"en\" ) } ORDER BY DESC(?startDate) ASC(?personLabel)", "paraphrases": ["List all people who held the position of Minister of the Interior of France starting from 1945, including their term start and end dates, with current date shown for those still in office.", "Please provide the names of individuals who served as Minister of the Interior of France from 1945 onward, along with the start and end dates of their terms, using English labels and showing today\u2019s date for those still serving."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/P39> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P39> ?var2 ; <http://www.wikidata.org/prop/qualifier/P580> ?var3 . FILTER ( ( ( ?var3 >= \"1945-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . ?var2 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q20203006> . OPTIONAL { ?var5 <http://www.wikidata.org/prop/qualifier/P582> ?var6 . } OPTIONAL { ?var5 ( <http://www.wikidata.org/prop/qualifier/P794> / <http://www.w3.org/2000/01/rdf-schema#label> ) ?var7 . FILTER ( ( ( LANG ( ?var7 ) = \"en\" ) ) ) . } BIND ( IF ( BOUND ( ?var6 ) , ?var6 , NOW ( ) ) AS ?var4 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var8 )ASC( ?var1Label )"}}
{"id": "test_4723", "question": "What items are located on each continent?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?continent WHERE {\n  ?item wdt:P30 ?continent .\n}", "paraphrases": ["List all entities along with the continents they belong to.", "Which places are associated with which continents?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ?var2 <http://www.wikidata.org/prop/direct/P30> . }"}}
{"id": "test_4724", "question": "What type of animal is Tibs the Great?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?instanceOf WHERE {\n  wd:Q24298806 wdt:P31 ?instanceOf .\n}", "paraphrases": ["Is Tibs the Great classified as a domestic cat or a house cat?", "What class does the British Post Office\u2019s official cat, Tibs the Great, belong to?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q24298806> . }"}}
{"id": "test_4725", "question": "What type of animal is Prince Chunk?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?type WHERE {\n  wd:Q7243868 wdt:P31 ?type .\n}", "paraphrases": ["What class does the cat Prince Chunk belong to?", "Can you tell me the specific category or type that Prince Chunk is classified as in Wikidata?"], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q7243868> <http://www.wikidata.org/prop/direct/P31> ?var1 . }"}}
{"id": "test_4726", "question": "What country is associated with the cat Filu\u015b who was launched on a balloon?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?country WHERE {\n  wd:Q19850466 wdt:P17 ?country .\n}", "paraphrases": ["In which country did the balloon launch of the cat Filu\u015b take place?", "Tell me the sovereign state linked to Filu\u015b, the cat sent into the stratosphere on a balloon."], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q19850466> <http://www.wikidata.org/prop/direct/P17> ?var1 . }"}}
{"id": "test_4727", "question": "Regions of France including historical and subclass regions.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?region WHERE {\n  ?region p:P31 ?statement .\n  ?statement ps:P31 / wdt:P279 * wd:Q36784 .\n}", "paraphrases": ["What are all the regions of France, including those that are subclasses of the main administrative regions?", "List all entities that are instances of a region of France or any of its subclasses."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/P31> ?var2 . ?var2 ( <http://www.wikidata.org/prop/statement/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q36784> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_4728", "question": "What are the publishers of open-access journals?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?journal ?journalTitle ?publisher ?publisherLabel WHERE {\n  ?journal wdt:P31 wd:Q773668 .\n  ?journal wdt:P123 ?publisher .\n  ?journal wdt:P1476 ?journalTitle .\n  ?publisher rdfs:label ?publisherLabel .\n  FILTER(LANG(?publisherLabel) = \"en\")\n  FILTER(LANG(?journalTitle) = \"en\")\n}", "paraphrases": ["Can you list open-access journals along with their titles and publishers?", "Which institutions publish open-access academic journals, and what are the journal titles?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q773668> . ?var3 ?var2 ?var1 . }"}}
{"id": "test_4729", "question": "What are the mountains located in Aceh, Indonesia, and what are their elevations and coordinates?", "sparql": "SELECT ?mountain ?mountainLabel ?location ?locationLabel ?elevation ?coordinates WHERE { ?mountain wdt:P31 wd:Q8502 . ?mountain wdt:P131 wd:Q1823 . OPTIONAL { ?mountain wdt:P2044 ?elevation . } OPTIONAL { ?mountain wdt:P625 ?coordinates . } OPTIONAL { ?mountain wdt:P131 ?location . } OPTIONAL { ?mountain rdfs:label ?mountainLabel . FILTER(LANG(?mountainLabel) = \"en\") } OPTIONAL { ?location rdfs:label ?locationLabel . FILTER(LANG(?locationLabel) = \"en\") } }", "paraphrases": ["List all mountains in Aceh along with their administrative subdivisions, elevations, and geographic coordinates.", "Show me the names and locations of mountains in Aceh, including their height above sea level and GPS coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q1823> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q8502> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2044> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_4730", "question": "What are the parent categories or broader classes of ventricular fibrillation in medical taxonomy?", "sparql": "SELECT DISTINCT ?superclass ?superclassLabel WHERE { wd:Q848662 wdt:P279* ?superclass . ?superclass rdfs:label ?superclassLabel . FILTER(LANG(?superclassLabel) = \"en\") } LIMIT 10", "paraphrases": ["What diseases or symptoms is ventricular fibrillation a type of?", "List the main medical classifications that include ventricular fibrillation as a subclass."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q848662> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_4731", "question": "What are the geographic coordinates of Paris in English?", "sparql": "SELECT ?item ?coord ?label WHERE { VALUES ?item { wd:Q90 } ?item wdt:P625 ?coord . ?item rdfs:label ?label . FILTER (langMatches(lang(?label), \"en\")) }", "paraphrases": ["Can you provide the location and English label for the city of Paris?", "Show me the WKT coordinate and English name of Paris."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ( \"8216\" AS ?var2 ) ?var3 ( STR ( ?var4Label ) AS ?var5 ) WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"string1\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"string2\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( STR ( ?var4Label ) = \"string3\" ) ) ) . }"}}
{"id": "test_4732", "question": "What are the descriptions of the band Santana in different languages?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?description WHERE {\n  wd:Q873384 schema:description ?description .\n}\nORDER BY ?description", "paraphrases": ["Santana band multilingual descriptions", "Can you list all the language descriptions for the rock band Santana?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { <http://www.wikidata.org/entity/Q873384> ?var1 ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4733", "question": "What are the subclasses of the Liberal Party?", "sparql": "SELECT ?subclass ?subclassLabel WHERE { ?subclass wdt:P279 wd:Q23702026 . ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") }", "paraphrases": ["Which political parties are more specific types of the Liberal Party?", "List the names of all political parties that are subclasses of the Liberal Party."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q23702026> . } LIMIT 11 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4734", "question": "Subclasses of self-governance", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subclass ?subclassLabel WHERE {\n  ?subclass wdt:P279 wd:Q417633 .\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER(LANG(?subclassLabel) = \"en\")\n}\nLIMIT 11", "paraphrases": ["What are some examples of things that are types of self-governance?", "List the English-labeled subclasses of self-governance."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q417633> . } LIMIT 11 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4735", "question": "What are the subclasses of political faction?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?subclass ?subclassLabel WHERE {\n  ?subclass wdt:P279 wd:Q1393724 .\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER ( LANG( ?subclassLabel ) = \"en\" )\n}\nLIMIT 11", "paraphrases": ["List the English names of all political subgroups that are types of political factions.", "Can you show me the different kinds of political factions, such as parliamentary groups or gunbatsu?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q1393724> . } LIMIT 11 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4736", "question": "Official websites of French regions excluding overseas territories", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT DISTINCT ?region ?regionLabel ?website WHERE {\n  ?region p:P31 ?statement .\n  ?statement ps:P31 / wdt:P279 * wd:Q36784 .\n  ?region wdt:P856 ?website .\n  ?region rdfs:label ?regionLabel .\n  FILTER(NOT EXISTS {\n    ?region p:P31 ?stmt2 .\n    ?stmt2 ps:P31 wd:Q202216\n  })\n  FILTER(NOT EXISTS {\n    ?region p:P31 ?stmt2 .\n    ?stmt2 ps:P31 wd:Q28332\n  })\n  FILTER(LANG(?regionLabel) = \"en\")\n}", "paraphrases": ["What are the official websites of metropolitan regions in France?", "List the names and official websites of all current French regions that are not overseas departments or territories."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/P31> ?var3 . ?var3 ( <http://www.wikidata.org/prop/statement/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q36784> . ?var1 <http://www.wikidata.org/prop/direct/P856> ?var2 . FILTER ( ( NOT EXISTS { ?var3 <http://www.wikidata.org/prop/statement/P31> <http://www.wikidata.org/entity/Q22670030> . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_4737", "question": "What are the coordinates of Kaya Hill, and what is the value 18967 associated with it?", "sparql": "SELECT DISTINCT ?item ?constant ?coordinates ?label WHERE { BIND(wd:Q21490074 AS ?item) . BIND(\"18967\" AS ?constant) . BIND(\"Kaya Hill\" AS ?label) . ?item wdt:P625 ?coordinates . }", "paraphrases": ["Can you provide the location of Kaya Hill along with a fixed identifier value of 18967?", "Show me the geographic coordinates of Kaya Hill and include the number 18967 as a constant in the result."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ( \"18967\" AS ?var2 ) ?var3 ( STR ( ?var4Label ) AS ?var5 ) WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"string1\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"string2\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( STR ( ?var4Label ) = \"Kaya Hill\" ) ) ) . }"}}
{"id": "test_4738", "question": "What are the film awards recognized in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?award ?awardLabel WHERE {\n  ?award wdt:P31 wd:Q4220917 .\n  ?award rdfs:label ?awardLabel .\n  FILTER(LANG(?awardLabel) = \"en\")\n}", "paraphrases": ["List of film awards with their names", "Can you show me the names of all film awards that are documented in Wikidata, in English?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4220917> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru,uk,enuk\". } }"}}
{"id": "test_4739", "question": "What are the English Wikipedia pages, official websites, and types of train operating companies owned by Govia?", "sparql": "SELECT ?company ?companyLabel ?wikipediaPage ?website ?instance ?instanceLabel WHERE { ?company wdt:P127 wd:Q3109528 . ?wikipediaPage schema:about ?company ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> . OPTIONAL { ?company wdt:P856 ?website . } OPTIONAL { ?company wdt:P31 ?instance . } ?company rdfs:label ?companyLabel . ?instance rdfs:label ?instanceLabel . FILTER(LANG(?companyLabel) = \"en\") FILTER(LANG(?instanceLabel) = \"en\") }", "paraphrases": ["Which companies owned by Govia have English Wikipedia pages, official websites, and what type of organizations are they?", "List all train operating companies owned by Govia, along with their English Wikipedia links, official websites, and classifications."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P127> <http://www.wikidata.org/entity/Q3109528> . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"en\". ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P127> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4740", "question": "French and English names of all countries.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?country ?labelFr ?labelEn WHERE {\n  ?country wdt:P31 wd:Q6256 .\n  ?country rdfs:label ?labelFr .\n  ?country rdfs:label ?labelEn .\n  FILTER ( LANG( ?labelFr ) = \"fr\" ) FILTER ( LANG( ?labelEn ) = \"en\" )\n}", "paraphrases": ["What are the French and English labels for each country in Wikidata?", "Show me the French and English names of all countries, where each country is identified as an instance of a sovereign state."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var1Label ) = \"fr\" ) ) ) . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . }"}}
{"id": "test_4741", "question": "How many times did Andreas Roepstorff cite his own work each year, compared to citations by others?", "sparql": "SELECT ?year (COUNT(DISTINCT ?citingWork) AS ?count) ?isSelfCitation WHERE { ?authoredWork wdt:P50 wd:Q23889316 . ?citingWork wdt:P2860 ?authoredWork . ?citingWork wdt:P577 ?publicationDate . BIND(STR(YEAR(?publicationDate)) AS ?year) BIND(IF(EXISTS { ?citingWork wdt:P50 wd:Q23889316 }, \"self-citation\", \"external-citation\") AS ?isSelfCitation) } GROUP BY ?year ?isSelfCitation ORDER BY DESC(?year)", "paraphrases": ["For each year, how many works cite Andreas Roepstorff\u2019s publications, and which of those are self-citations?", "Show the annual count of citations to Andreas Roepstorff\u2019s works, distinguishing between self-citations and citations from other authors."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q23889316> . } , \"string1\", \"string2\" ) AS ?var4 ). BIND ( STR ( YEAR ( ?var5 ) ) AS ?var1 ). ?var6 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q23889316> . ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var6 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var5 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_4742", "question": "Who has the IMDb ID nm0097517?", "sparql": "SELECT ?person WHERE { ?person wdt:P345 \"nm0097517\" .}", "paraphrases": ["Which person on Wikidata is associated with the IMDb identifier nm0097517?", "Find the Wikidata item for the person with IMDb ID nm0097517."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"nm0097517\". }"}}
{"id": "test_4743", "question": "What are the Spanish labels and descriptions of works that have a publication date in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?work ?workLabel ?workDescription WHERE {\n  ?work wdt:P577 ?publicationDate .\n  ?work rdfs:label ?workLabel .\n  ?work schema:description ?workDescription .\n  FILTER ( LANG( ?workLabel ) = \"es\" ) .\n  FILTER ( LANG( ?workDescription ) = \"es\" ) .\n}\nLIMIT 100", "paraphrases": ["Spanish titles and descriptions of published works", "Show me the Spanish names and descriptions of items like books, movies, or albums that were published at some point."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P577> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"es\" ) ) ) . } LIMIT 100"}}
{"id": "test_4744", "question": "What are the Spanish labels and descriptions of properties related to the publication date in Wikidata?", "sparql": "SELECT ?relatedProperty ?label ?description WHERE { wd:P577 wdt:P1659 ?relatedProperty . ?relatedProperty rdfs:label ?label . ?relatedProperty schema:description ?description . FILTER (LANG(?label) = \"es\") . FILTER (LANG(?description) = \"es\") .}", "paraphrases": ["Which properties are associated with publication date, and how are they described in Spanish?", "In Spanish, what are the names and definitions of properties connected to when something is published?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P577> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"es\" ) ) ) . }"}}
{"id": "test_4745", "question": "What are the most common properties linking entities to Logatec, Slovenia?", "sparql": "SELECT ?property (COUNT(?entity) AS ?count) WHERE { ?entity ?property wd:Q2752423 . FILTER(STRSTARTS(STR(?property), \"http://www.wikidata.org/prop/direct/\")) } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["Which properties are used most frequently to connect people or organizations to the town of Logatec in Wikidata?", "Show me the direct relationships (like place of birth or location) that connect entities to Logatec, along with how many times each relationship occurs, excluding qualifiers."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q2752423> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_4746", "question": "What are all the hierarchical categories (from specific to general) that the hamlet Q30332147 belongs to, along with its location, founding date, and dissolution date?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestor ?location ?inception ?dissolved WHERE {\n  wd:Q30332147 wdt:P31 ?class .\n  ?class wdt:P279 * ?ancestor .\n  OPTIONAL {\n    wd:Q30332147 wdt:P625 ?location .\n  }\n  OPTIONAL {\n    wd:Q30332147 wdt:P571 ?inception .\n  }\n  OPTIONAL {\n    wd:Q30332147 wdt:P576 ?dissolved .\n  }\n}", "paraphrases": ["Show me the full class hierarchy of the Russian Empire hamlet Q30332147, including its geographic coordinates and when it was established or dissolved.", "List all superclass categories of the hamlet Q30332147 and provide its location, if available, and its dates of inception and dissolution."], "info": {"raw_sparql": "SELECT * WHERE { BIND ( <http://www.wikidata.org/entity/Q30332147> AS ?var1 ). { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var2 . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P576> ?var6 . } }"}}
{"id": "test_4747", "question": "Most misused property to assign \"place of birth\" as a value in Wikidata", "sparql": "SELECT ?property (COUNT(?property) AS ?count) WHERE { ?item ?statementProperty wd:Q1322263 . { ?property wikibase:directClaim ?statementProperty . } UNION { ?property wikibase:statementProperty ?statementProperty . } FILTER(?property != wd:Q1322263) } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which property is most commonly incorrectly used to set \"place of birth\" as a value in Wikidata data?", "Show me the property that is most frequently misused to assign the entity \"place of birth\" as a value in Wikidata statements."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q1322263> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_4748", "question": "Items with coordinates between 12\u201314\u00b0E and 50\u201351\u00b0N, including their images and Wikimedia Commons categories.", "sparql": "SELECT ?item ?itemLabel ?coord ?image ?commonsCategory WHERE {\n  ?item wdt:P625 ?coord .\n  FILTER(geof:longitude(?coord) >= 12 && geof:longitude(?coord) <= 14)\n  FILTER(geof:latitude(?coord) >= 50 && geof:latitude(?coord) <= 51)\n  OPTIONAL { ?item wdt:P18 ?image . }\n  OPTIONAL { ?item wdt:P373 ?commonsCategory . }\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n} LIMIT 3000", "paraphrases": ["What places in Central Europe (between 12\u00b0E\u201314\u00b0E and 50\u00b0N\u201351\u00b0N) have images or Commons categories on Wikimedia?", "List all landmarks, buildings, and natural features in the region around Dresden and the Czech border with their English names, photos, and associated Wikimedia Commons categories."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(13 50)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(13 51)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_4749", "question": "Freebase ID of Thus Spoke Zarathustra", "sparql": "SELECT ?freebaseId WHERE { wd:Q199774 wdt:P646 ?freebaseId .}", "paraphrases": ["What is the Freebase identifier for the book 'Thus Spoke Zarathustra'?", "Can you tell me the Freebase ID associated with Friedrich Nietzsche's 'Thus Spoke Zarathustra'?"], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/statement/Q199774-6C6DCC93-3684-4BA0-9DAE-8FDDFABEEF3B> <http://www.wikidata.org/prop/statement/P646> ?var1 . }"}}
{"id": "test_4750", "question": "Self-citations by Asbj\u00f8rn Hr\u00f3bjartsson grouped by year of cited work.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?year ( COUNT( DISTINCT ?citing_work ) AS ?citation_count ) WHERE {\n  ?cited_work wdt:P50 wd:Q30004128 .\n  ?cited_work wdt:P577 ?date .\n  BIND( YEAR( ?date ) AS ?year ) .\n  ?citing_work wdt:P2860 ?cited_work .\n  ?citing_work wdt:P50 wd:Q30004128 .\n}\nGROUP BY ?year\nORDER BY DESC ( ?year )", "paraphrases": ["In which years did Asbj\u00f8rn Hr\u00f3bjartsson publish the works that he later cited in his own publications, and how many times did he cite each?", "Show me the number of times Asbj\u00f8rn Hr\u00f3bjartsson cited his own work, grouped by the publication year of the cited work, ordered from most recent to oldest."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q30004128> . } , \"string1\", \"string2\" ) AS ?var4 ). BIND ( STR ( YEAR ( ?var5 ) ) AS ?var1 ). ?var6 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q30004128> . ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var6 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var5 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_4751", "question": "How many educational institutions (universities, public schools, business schools, etc.) are there in each country?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ( COUNT( ?institution ) AS ?count ) ?countryCommonsCategory WHERE {\n  {\n    ?institution wdt:P31 wd:Q3918 .\n  } UNION {\n    ?institution wdt:P31 wd:Q1972829 .\n  } UNION {\n    ?institution wdt:P31 wd:Q1143635 .\n  } UNION {\n    ?institution wdt:P31 wd:Q38723 .\n  } UNION {\n    ?institution wdt:P31 wd:Q414147 .\n  } UNION {\n    ?institution wdt:P31 wd:Q162633 .\n  }\n  ?institution wdt:P625 ?location .\n  ?institution wdt:P131 ?administrativeEntity .\n  ?institution wdt:P856 ?website .\n  ?institution wdt:P17 ?country .\n  ?country wdt:P373 ?countryCommonsCategory .\n}\nGROUP BY ?countryCommonsCategory\nORDER BY ASC ( ?countryCommonsCategory )", "paraphrases": ["Can you list the number of universities and other academic institutions in each country, sorted alphabetically by country name?", "Show me the count of universities, academies, and other higher education institutions per country, based on their official websites and locations, ordered by country name."], "info": {"raw_sparql": "SELECT DISTINCT( COUNT ( ?var1 ) AS ?var2 ) ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3918> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1972829> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1143635> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q38723> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q414147> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q162633> . } ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P856> ?var6 . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var7 . ?var7 <http://www.wikidata.org/prop/direct/P373> ?var3 . ?var5 <http://www.wikidata.org/prop/direct/P373> ?var8 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } GROUP BY ?var3 ORDER BY ASC( ?var3 )"}}
{"id": "test_4752", "question": "List English labels of actors in Wikidata.", "sparql": "SELECT ?actorLabel WHERE { ?actor wdt:P106 wd:Q33999. ?actor rdfs:label ?actorLabel. FILTER(LANG(?actorLabel) = \"en\") } LIMIT 10", "paraphrases": ["What are the names of some actors in Wikidata?", "Show me the English labels of people whose occupation is actor."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ti\". } }"}}
{"id": "test_4753", "question": "Occupations of people with significant events, ranked by count", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?occupationLabel(COUNT(DISTINCT ?person) AS ?count) WHERE {\n  ?person wdt:P106 ?occupation .\n  ?person wdt:P793 ?event .\n  ?occupation rdfs:label ?occupationLabel .\n  FILTER(LANG(?occupationLabel) = \"en\")\n}\nGROUP BY ?occupationLabel\nORDER BY DESC(?count)", "paraphrases": ["Which occupations are most commonly associated with significant events, and how many people in each have such events?", "List the English labels of occupations of people who have experienced significant events, sorted by how many people have each occupation."], "info": {"raw_sparql": "SELECT ?var1Label ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P793> ?var4 ; <http://www.wikidata.org/prop/direct/P106> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1Label"}}
{"id": "test_4754", "question": "What are the sovereign countries listed in Wikidata as the country of other entities?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?country ?countryLabel WHERE {\n  ?item wdt:P17 ?country .\n  ?country wdt:P31 wd:Q3624078 .\n  ?country rdfs:label ?countryLabel .\n  FILTER ( LANG( ?countryLabel ) = \"en\" )\n}", "paraphrases": ["Can you list all the countries in the world that are used in Wikidata to indicate where something is located?", "Which nations are referenced as sovereign states in Wikidata\u2019s country property?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P17> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"@en\". } }"}}
{"id": "test_4755", "question": "What are the neighborhoods of Los Angeles?", "sparql": "SELECT ?neighborhood ?neighborhoodLabel WHERE { ?neighborhood wdt:P31 wd:Q52154375 . ?neighborhood wdt:P131 wd:Q65 . ?neighborhood rdfs:label ?neighborhoodLabel . FILTER(LANG(?neighborhoodLabel) = \"en\") }", "paraphrases": ["Can you list all the districts and neighborhoods in Los Angeles?", "Which areas in Los Angeles are recognized as official neighborhoods or districts?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q65> . ?var1 <http://www.wikidata.org/prop/direct/p31> <http://www.wikidata.org/entity/Q1017546> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4756", "question": "Islands in Indonesia with easternmost coordinates", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?island ?islandLabel WHERE {\n  ?island wdt:P31 wd:Q23442 .\n  ?island wdt:P17 wd:Q252 .\n  FILTER(EXISTS {\n    ?island wdt:P1334 []\n  })\n  OPTIONAL {\n    ?island rdfs:label ?islandLabel .\n    FILTER(LANG(?islandLabel) = \"en\")\n  }\n}", "paraphrases": ["Which islands in Indonesia have known easternmost points?", "List the English names of islands in Indonesia that have defined easternmost coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q23442> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q252> . FILTER ( ( EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P1334> ?var2 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"id\". } }"}}
{"id": "test_4757", "question": "Most used property linking items to Ice cream brands category", "sparql": "SELECT ?property (COUNT(?property) AS ?count) WHERE { ?item ?propertyInstance wd:Q8530632 . ?property wikibase:directClaim ?propertyInstance . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["What property is used to associate items with the category \"Ice cream brands\", and how often is it used?", "Show me the main property used to categorize items under \"Ice cream brands\" on Wikidata, along with its usage count."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q8530632> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_4758", "question": "What properties are commonly used to describe international airports, and what are their English labels and descriptions?", "sparql": "SELECT ?p ?pLabel ?pDescription WHERE { ?item wdt:P31 wd:Q644371 . ?item ?p ?o . FILTER(STRSTARTS(STR(?p), STR(wdt:))) BIND(IRI(REPLACE(STR(?p), STR(wdt:), STR(wd:))) AS ?propItem) . ?propItem rdfs:label ?pLabel . ?propItem schema:description ?pDescription . FILTER(LANG(?pLabel) = \"en\") FILTER(LANG(?pDescription) = \"en\") } LIMIT 100", "paraphrases": ["List the English labels and descriptions of properties that are applied to instances of international airports in Wikidata.", "Which properties are associated with international airports, and what do they mean in English?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q644371> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_4759", "question": "Characters appearing in League of Legends or in works that share characters with League of Legends", "sparql": "SELECT DISTINCT ?character ?characterLabel WHERE { wd:Q223341 wdt:P674 ?char . ?work wdt:P674 ?char . ?work wdt:P674 ?character . FILTER(?character != wd:Q223341) OPTIONAL { ?character rdfs:label ?characterLabel . FILTER(LANG(?characterLabel) = \"en\") } }", "paraphrases": ["Which characters are connected to League of Legends through shared appearances in media, up to two steps away?", "List all characters that appear in League of Legends or in any other work that has a character also found in League of Legends."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q223341> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Undirected\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P674> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P674> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4760", "question": "Humans who are film directors", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?human ?humanLabel WHERE {\n  ?human wdt:P106 wd:Q2526255 .\n  ?human wdt:P31 wd:Q5 .\n  ?human rdfs:label ?humanLabel .\n  FILTER ( LANG( ?humanLabel ) = \"en\" )\n}", "paraphrases": ["Who are the humans with the occupation of film director?", "List the names of all film directors who are human."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/P106> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P106> ?var2 . ?var1 <http://www.wikidata.org/prop/P31> <http://www.wikidata.org/entity/Q5> . FILTER ( ( ?var2 IN ( <http://www.wikidata.org/entity/Q2526255> ) ) ) . }"}}
{"id": "test_4761", "question": "List software products developed by Microsoft along with their official websites, logos, and blogs.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?product ?productLabel ?logo ?website ?blog WHERE {\n  ?product wdt:P178 wd:Q2283 .\n  OPTIONAL {\n    ?product wdt:P154 ?logo .\n  }\n  OPTIONAL {\n    ?product wdt:P856 ?website .\n  }\n  OPTIONAL {\n    ?product wdt:P1581 ?blog .\n  }\n  ?product rdfs:label ?productLabel .\n  FILTER ( LANG( ?productLabel ) = \"en\" )\n}", "paraphrases": ["What are the English-named products developed by Microsoft, and what are their official websites, logos, and blog URLs?", "Show me all Microsoft-developed products with their English labels, official websites, logos, and blog links."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P178> <http://www.wikidata.org/entity/Q2283> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P154> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1581> ?var4 . } }"}}
{"id": "test_4762", "question": "Movie with IMDb ID tt0319531", "sparql": "SELECT ?movie WHERE { ?movie wdt:P345 \"tt0319531\" . }", "paraphrases": ["What movie has the IMDb identifier tt0319531?", "Tell me the movie that corresponds to IMDb ID tt0319531."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0319531\". }"}}
{"id": "test_4763", "question": "Species with IUCN conservation status but no IUCN taxon ID", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?taxon ?taxonLabel ?status ?statusLabel WHERE {\n  ?taxon wdt:P141 ?status .\n  FILTER(NOT EXISTS {\n    ?taxon wdt:P627 []\n  })\n  OPTIONAL {\n    ?taxon rdfs:label ?taxonLabel .\n    FILTER(LANG(?taxonLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?status rdfs:label ?statusLabel .\n    FILTER(LANG(?statusLabel) = \"en\")\n  }\n}\nLIMIT 1000", "paraphrases": ["Which species have a conservation status from the IUCN but are not assigned an official IUCN taxon ID?", "List all species that have an IUCN conservation status (like Least Concern or Vulnerable) but lack an IUCN Red List identifier."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P141> ?var3 . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P627> [] . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs,sk,en\". } } LIMIT 1000"}}
{"id": "test_4764", "question": "List singers, actors, and musicians with their genre, gender, date of birth, country, and instrument.", "sparql": "SELECT DISTINCT ?person ?genre ?gender ?dateOfBirth ?country ?instrument WHERE { VALUES ?occupation { wd:Q177220 wd:Q33999 wd:Q639669 } ?person wdt:P106 ?occupation . ?person wdt:P136 ?genre . ?person wdt:P21 ?gender . ?person wdt:P569 ?dateOfBirth . ?person wdt:P27 ?country . OPTIONAL { ?person wdt:P1303 ?instrument . } } LIMIT 10", "paraphrases": ["Who are some singers, actors, or musicians, and what are their genres, genders, birth dates, countries of citizenship, and instruments?", "Show me up to 10 singers, actors, or musicians along with their musical genre, gender, date of birth, country, and the instrument they play."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3Label ?var4 ?var5Label ?var6Label WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q177220> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q639669> . } { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P21> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P27> ?var5 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1303> ?var6 . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10"}}
{"id": "test_4765", "question": "List universities, business schools, and academies in Africa with their coordinates, websites, and Wikimedia Commons categories for their country and administrative region.", "sparql": "SELECT DISTINCT ?institution ?countryCommonsCategory ?adminAreaCommonsCategory ?coordinates ?website ?country WHERE { VALUES ?type { wd:Q3918 wd:Q1972829 wd:Q1143635 wd:Q38723 wd:Q414147 wd:Q162633 } ?institution wdt:P31 ?type . ?institution wdt:P625 ?coordinates . ?institution wdt:P131 ?adminArea . ?institution wdt:P856 ?website . ?institution wdt:P17 ?country . ?country wdt:P373 ?countryCommonsCategory . ?adminArea wdt:P373 ?adminAreaCommonsCategory . } ORDER BY ASC(?country)", "paraphrases": ["What are the educational institutions (like universities and academies) in countries such as Gabon and Equatorial Guinea, and what are their locations, official websites, and corresponding Wikimedia Commons categories for their country and city?", "Can you provide a list of all educational institutions \u2014 including universities, public schools, business schools, academies, and academies of sciences \u2014 that have coordinates, official websites, and associated Wikimedia Commons categories for both their country and the administrative territory they are located in, sorted by country?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3918> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1972829> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1143635> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q38723> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q414147> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q162633> . } ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var7 . ?var1 <http://www.wikidata.org/prop/direct/P856> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var6 . ?var6 <http://www.wikidata.org/prop/direct/P373> ?var2 . ?var7 <http://www.wikidata.org/prop/direct/P373> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY ASC( ?var6 )"}}
{"id": "test_4766", "question": "What administrative regions contain the farm 't Hof Maalkote?", "sparql": "SELECT ?admin ?adminLabel WHERE { wd:Q17410133 wdt:P276 / wdt:P131* ?admin . ?admin rdfs:label ?adminLabel . FILTER(LANG(?adminLabel) = \"en\") }", "paraphrases": ["List all the places, from the immediate locality up to the country, where 't Hof Maalkote is located.", "What is the administrative hierarchy above 't Hof Maalkote, starting from its location?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q17410133> ( <http://www.wikidata.org/prop/direct/P276> / <http://www.wikidata.org/prop/direct/P131> *) ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl, en\". } }"}}
{"id": "test_4767", "question": "Dog breeds with their height and weight in centimeters and kilograms", "sparql": "SELECT ?breedLabel ?height ?mass WHERE { ?breed wdt:P31 wd:Q39367 ; wdt:P2048 ?height ; wdt:P2067 ?mass . ?breed rdfs:label ?breedLabel . FILTER(LANG(?breedLabel) = \"en\") }", "paraphrases": ["What are the English names of dog breeds, along with their typical height and mass?", "List all dog breeds with their height in cm and mass in kg, using English labels."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { BIND ( <http://www.wikidata.org/entity/Q39367> AS ?var4 ). ?var1 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P2048> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P2067> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4768", "question": "Labels and Wikipedia links for Claudia-Maria Buch in English, German, French, and Italian.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?label ?image ?coordinates ?wikipediaArticle WHERE {\n  VALUES(?lang) {(\"en\")(\"de\")(\"fr\")(\"it\")\n  }\n  wd:Q91977 rdfs:label ?label .\n  FILTER(LANG(?label) = ?lang)\n  OPTIONAL {\n    wd:Q91977 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q91977 wdt:P625 ?coordinates .\n  }\n  ?wikipediaArticle schema:about wd:Q91977 ; schema:inLanguage ?lang ; schema:isPartOf ?wikipediaSite .\n}\nORDER BY ?lang", "paraphrases": ["What are the names of Claudia-Maria Buch in different languages and their corresponding Wikipedia articles?", "Show me the multilingual labels of Claudia-Maria Buch along with the links to her Wikipedia pages in English, German, French, and Italian."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q91977> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var7 ) ) ) . VALUES ( ?var7 ?var8 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q91977> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q91977> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q91977> <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q91977> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var8 )"}}
{"id": "test_4769", "question": "Humans with occupation as murderer or related roles, top 20.", "sparql": "SELECT DISTINCT ?person WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P106 ?occupation . ?occupation (wdt:P279*) wd:Q931260 . } LIMIT 20", "paraphrases": ["Who are the first 20 humans listed as murderers or in related occupations on Wikidata?", "List up to 20 people whose occupation is classified as murderer or a subclass of murderer."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var2 . { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var2 . ?var2 ( <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q931260> . } LIMIT 20 } }"}}
{"id": "test_4770", "question": "What are the immediate parent categories of the United Kingdom general election?", "sparql": "SELECT ?superclass ?superclassLabel WHERE { wd:Q15283424 wdt:P279 ?superclass . OPTIONAL { ?superclass rdfs:label ?superclassLabel . FILTER(LANG(?superclassLabel) = \"en\") } } ORDER BY ?superclassLabel", "paraphrases": ["What types of elections is a United Kingdom general election a subtype of?", "Classify the United Kingdom general election: what broader election categories does it belong to?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q15283424> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_4771", "question": "Cities in Belgium with images", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?city ?cityLabel ?image WHERE {\n  ?city wdt:P31 wd:Q515 .\n  ?city wdt:P17 wd:Q31 .\n  OPTIONAL {\n    ?city wdt:P18 ?image .\n  }\n}\nLIMIT 1000", "paraphrases": ["What are the cities in Belgium and their images?", "Show me a list of cities in Belgium along with their images."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q31> . } LIMIT 1000"}}
{"id": "test_4772", "question": "Cities in Belgium with images", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?city ?cityLabel ?image WHERE {\n  ?city wdt:P31 wd:Q515 .\n  ?city wdt:P17 wd:Q31 .\n  OPTIONAL {\n    ?city wdt:P18 ?image .\n  }\n  ?city rdfs:label ?cityLabel .\n  FILTER ( LANG( ?cityLabel ) = \"en\" )\n}\nLIMIT 1000", "paraphrases": ["What are the cities in Belgium, and do they have images on Wikimedia Commons?", "List all cities in Belgium along with their English names and any associated images."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q31> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } } LIMIT 1000"}}
{"id": "test_4773", "question": "What film is associated with the exploitation mark number 26746?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P2755 \"26746\" .\n}", "paraphrases": ["Which movie has the certification number 26746?", "Can you tell me the film that received the FSK number 26746?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2755> \"26746\". }"}}
{"id": "test_4774", "question": "What railway station has the ESR station code 060048?", "sparql": "SELECT ?station WHERE { ?station wdt:P2815 \"060048\" . }", "paraphrases": ["Which station in the former USSR railway system is identified by the code 060048?", "Find the railway station with TR4 ID 060048."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2815> \"060048\". }"}}
{"id": "test_4775", "question": "French and English labels for colors", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?color ?labelFr ?labelEn WHERE {\n  ?color wdt:P31 wd:Q1075 .\n  ?color rdfs:label ?labelFr\n  FILTER ( LANG( ?labelFr ) = \"fr\" ) .\n  ?color rdfs:label ?labelEn FILTER ( LANG( ?labelEn ) = \"en\" ) .\n}", "paraphrases": ["What are the French and English names of all colors in Wikidata?", "Show me the French and English labels for each entity that is an instance of color."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1075> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var2Label ) = \"fr\" ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . }"}}
{"id": "test_4776", "question": "French names of colors and color-related entities in Wikidata", "sparql": "SELECT ?colorItem ?label WHERE { { ?colorItem wdt:P279 wd:Q1075 . } UNION { ?colorItem wdt:P31 wd:Q1075 . } UNION { ?colorItem (wdt:P31 / wdt:P279*) wd:Q1075 . } ?colorItem rdfs:label ?label . FILTER(LANG(?label) = \"fr\") }", "paraphrases": ["What are the French-language labels for items that are either instances or subclasses of the concept of color?", "List all French labels for things that are colors or types of colors, including indirect instances through subclass hierarchies."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label ?var4Label WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q1075> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1075> . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1075> . } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"fr\" ) ) ) . }"}}
{"id": "test_4777", "question": "List top 100 English occupations with their descriptions.", "sparql": "SELECT DISTINCT ?occupation ?occupationLabel ?occupationDescription WHERE { ?item wdt:P106 ?occupation . ?occupation wdt:P31 wd:Q28640 . ?occupation rdfs:label ?occupationLabel . ?occupation schema:description ?occupationDescription . FILTER(LANG(?occupationLabel) = \"en\") FILTER(LANG(?occupationDescription) = \"en\") } LIMIT 100", "paraphrases": ["What are the English labels and descriptions of professions held by people in Wikidata?", "Show me 100 distinct professions (in English) along with their labels and descriptions from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/occupatio> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_4778", "question": "Who are the writers on Wikidata?", "sparql": "SELECT ?item WHERE { ?item wdt:P106 wd:Q36180 }", "paraphrases": ["Which people have the occupation of writer?", "List all individuals whose profession is writing."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/occupatio> <http://www.wikidata.org/entity/Q36180> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4779", "question": "What are the descriptions and key identifiers for gastric fundus carcinoma?", "sparql": "SELECT ?property ?value WHERE { wd:Q18557339 ?property ?value . FILTER (?property IN (schema:description, wdt:P31, wdt:P699, wdt:P5270, wdt:P927))}", "paraphrases": ["What are the multilingual descriptions and direct property values (like Disease Ontology ID, Mondo ID, and anatomical location) for gastric fundus carcinoma?", "Show me all the descriptions in different languages and the main identifiers (P31, P699, P5270, P927) for gastric fundus carcinoma."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q18557339> ?var1 ?var2 . }"}}
{"id": "test_4780", "question": "What manga and anime works did Osamu Tezuka create?", "sparql": "SELECT ?work WHERE { wd:Q193300 wdt:P800 ?work . }", "paraphrases": ["Can you list the notable works authored by the Japanese manga artist Osamu Tezuka?", "Show me the list of creative works associated with Osamu Tezuka as their creator."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q193300> . }"}}
{"id": "test_4781", "question": "Taxa with scientific names containing \"homo\"", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?taxon ?scientificName WHERE {\n  ?taxon wdt:P225 ?scientificName .\n  FILTER(REGEX(?scientificName , \"homo\" , \"i\"))\n}", "paraphrases": ["Which biological taxa have scientific names that include the word \"homo\"?", "List all taxonomic entities and their scientific names where the name contains the substring \"homo\", case-insensitively."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P225> ?var2 . FILTER ( ( REGEX ( ?var2 , \"string1\" ) ) ) . }"}}
{"id": "test_4782", "question": "What are the external identifiers (DOID, ICD-11, Mondo) for uterine corpus endometrial stromal sarcoma?", "sparql": "SELECT ?diseaseLabel ?description ?doId ?icd11MMS ?icd11Foundation ?mondoId WHERE { wd:Q18556239 rdfs:label ?diseaseLabel ; schema:description ?description ; wdt:P699 ?doId ; wdt:P7329 ?icd11MMS ; wdt:P7807 ?icd11Foundation ; wdt:P5270 ?mondoId . FILTER(LANG(?diseaseLabel) = \"en\") FILTER(LANG(?description) = \"en\")}", "paraphrases": ["What is the Disease Ontology ID, ICD-11 MMS code, ICD-11 Foundation code, and Mondo ID for uterine corpus endometrial stromal sarcoma?", "Can you provide the English label and description of uterine corpus endometrial stromal sarcoma along with its identifiers from DO, ICD-11, and Mondo databases?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q18556239> ?var1 ?var2 . }"}}
{"id": "test_4783", "question": "Astronauts with their birth dates, birth places, coordinates, and images, sorted from oldest to youngest.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?astronaut ?astronautLabel ?image ?birthDate ?birthPlace ?birthPlaceLabel ?coordinates WHERE {\n  ?astronaut wdt:P106 wd:Q11631 ; wdt:P18 ?image ; wdt:P569 ?birthDate ; wdt:P19 ?birthPlace .\n  ?birthPlace wdt:P625 ?coordinates .\n  OPTIONAL {\n    ?astronaut rdfs:label ?astronautLabel .\n    FILTER ( LANG( ?astronautLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?birthPlace rdfs:label ?birthPlaceLabel .\n    FILTER ( LANG( ?birthPlaceLabel ) = \"en\" )\n  }\n}\nORDER BY DESC ( ?birthDate )", "paraphrases": ["Who are the astronauts, where were they born, when were they born, and what are the geographic coordinates of their birthplaces, along with their photos?", "List all astronauts, including their English names, birth dates, places of birth with labels, the coordinates of those places, and their official images, ordered by birth date from oldest to newest."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4Label ?var4 ?var5 ?var6 WHERE { ?var1 ?var7 <http://www.wikidata.org/entity/Q11631> ; <http://www.wikidata.org/prop/direct/P18> ?var2 ; <http://www.wikidata.org/prop/direct/P569> ?var3 ; <http://www.wikidata.org/prop/direct/P19> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P625> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var3 )"}}
{"id": "test_4784", "question": "What medical condition has the NCI Thesaurus ID C4050?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P1748 \"C4050\" .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER(LANG(?itemLabel) = \"en\")\n  }\n}", "paraphrases": ["Which Wikidata item corresponds to the NCI Thesaurus ID C4050?", "Can you tell me the name of the disease identified by C4050 in the NCI Thesaurus?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q18557765-ED69703E-0396-4C2F-9291-3F898E1D0B18> ?var1 ?var2 . }"}}
{"id": "test_4785", "question": "Highest mountains in Lithuania with elevation and coordinates", "sparql": "PREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX geof: <http://www.opengis.net/def/function/geosparql/>\nSELECT ?mountain ?mountainLabel ?latitude ?longitude ?elevation ?elevationUnitLabel WHERE {\n  ?mountain ( wdt:P31 / wdt:P279 * ) wd:Q8502 .\n  ?mountain wdt:P17 wd:Q37 .\n  OPTIONAL {\n    ?mountain wdt:P625 ?coord .\n    BIND( geof:latitude ( ?coord ) AS ?latitude ) BIND( geof:longitude ( ?coord ) AS ?longitude )\n  }\n  OPTIONAL {\n    ?mountain p:P2044 / psv:P2044 ?elevationNode .\n    ?elevationNode wikibase:quantityAmount ?elevation ; wikibase:quantityUnit ?elevationUnit .\n    ?elevationUnit rdfs:label ?elevationUnitLabel .\n    FILTER ( LANG( ?elevationUnitLabel ) = \"en\" )\n  }\n  ?mountain rdfs:label ?mountainLabel .\n  FILTER ( LANG( ?mountainLabel ) = \"en\" )\n}\nORDER BY DESC ( ?elevation )", "paraphrases": ["What are the tallest mountains in Lithuania, and what are their elevations and geographic coordinates?", "List the mountains in Lithuania sorted by elevation, showing their names, heights in meters, and latitude/longitude."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6Label ?var7 ?var8Label ?var9 ?var10Label ?var11 ?var11Label ?var12Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q8502> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q37> . OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P625> / <http://www.wikidata.org/prop/statement/value/P625> ) ?var13 . ?var13 <http://wikiba.se/ontology#geoLatitude> ?var2 ; <http://wikiba.se/ontology#geoLongitude> ?var3 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2046> / <http://www.wikidata.org/prop/statement/value/P2046> ) ?var14 . ?var14 <http://wikiba.se/ontology#quantityAmount> ?var4 . ?var14 <http://wikiba.se/ontology#quantityUnit> ?var15 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2044> / <http://www.wikidata.org/prop/statement/value/P2044> ) ?var16 . ?var16 <http://wikiba.se/ontology#quantityAmount> ?var5 . ?var16 <http://wikiba.se/ontology#quantityUnit> ?var6 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2659> / <http://www.wikidata.org/prop/statement/value/P2659> ) ?var17 . ?var17 <http://wikiba.se/ontology#quantityAmount> ?var7 . ?var17 <http://wikiba.se/ontology#quantityUnit> ?var8 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2660> / <http://www.wikidata.org/prop/statement/value/P2660> ) ?var18 . ?var18 <http://wikiba.se/ontology#quantityAmount> ?var9 . ?var18 <http://wikiba.se/ontology#quantityUnit> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3137> ?var11 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P186> ?var12 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en,it\". } } ORDER BY DESC( ?var5 )"}}
{"id": "test_4786", "question": "What HGNC gene IDs are assigned to more than one gene, and which genes are associated with each?", "sparql": "SELECT ?hgncId (COUNT(?gene) AS ?geneCount) (GROUP_CONCAT(DISTINCT STRAFTER(STR(?gene), \"/entity/\") ; SEPARATOR = \", \") AS ?geneIds) (GROUP_CONCAT(DISTINCT ?geneLabel ; SEPARATOR = \", \") AS ?geneLabels) WHERE { ?gene wdt:P354 ?hgncId . ?gene rdfs:label ?geneLabel . FILTER(LANG(?geneLabel) = \"en\") } GROUP BY ?hgncId HAVING (COUNT(?gene) > 1) ORDER BY DESC(?geneCount) LIMIT 100", "paraphrases": ["Show the top HGNC IDs that have duplicate gene assignments along with the list of gene names and how many genes each has.", "Find HGNC identifiers that are linked to multiple genes in Wikidata and list the corresponding gene names."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var1Label ) AS ?var1Label )( SAMPLE ( ?var2 ) AS ?var2 )( GROUP_CONCAT ( DISTINCT STRAFTER ( STR ( ?var3 ) , \"/entity/\" ) ; SEPARATOR = \", \" ) AS ?var4 )( GROUP_CONCAT ( DISTINCT ?var3Label ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { { SELECT ?var1 ( COUNT ( DISTINCT ?var3 ) AS ?var2 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P354> ?var1 . } GROUP BY ?var1 HAVING ( ( ?var2 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var2 ) LIMIT 100 } ?var3 <http://www.wikidata.org/prop/direct/P354> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } GROUP BY ?var1 ORDER BY DESC( ?var2 )"}}
{"id": "test_4787", "question": "Chemical compounds with their ChEBI IDs, canonical SMILES, and isomeric SMILES.", "sparql": "SELECT DISTINCT ?compound ?compoundLabel ?chebiId ?canonicalSmiles ?isomericSmiles WHERE { ?compound wdt:P31 wd:Q11173 . OPTIONAL { ?compound wdt:P683 ?chebiId . } OPTIONAL { ?compound wdt:P233 ?canonicalSmiles . } OPTIONAL { ?compound wdt:P2017 ?isomericSmiles . } OPTIONAL { ?compound rdfs:label ?compoundLabel . FILTER(LANG(?compoundLabel) = \"en\") } } LIMIT 100", "paraphrases": ["What are the names, ChEBI IDs, canonical SMILES, and isomeric SMILES of chemical compounds in Wikidata?", "Please list up to 100 chemical compounds along with their English names, ChEBI identifiers, and SMILES representations (both canonical and isomeric)."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11173> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P683> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P233> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2017> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_4788", "question": "What properties are used to indicate that something is in the Russian language?", "sparql": "SELECT DISTINCT ?propertyEntity ?propertyEntityLabel ?propertyEntityDescription WHERE { ?item ?property wd:Q7737 . ?propertyEntity wikibase:directClaim ?property . ?propertyEntity rdfs:label ?propertyEntityLabel . ?propertyEntity schema:description ?propertyEntityDescription . FILTER (LANG(?propertyEntityLabel) = \"en\") FILTER (LANG(?propertyEntityDescription) = \"en\") } LIMIT 100", "paraphrases": ["Which Wikidata properties have Russian as their value, and what are their English labels and descriptions?", "Can you list the English labels and descriptions of properties in Wikidata that are associated with the Russian language?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q7737> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_4789", "question": "Who were the kings of France and the Franks?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?label WHERE {\n  {\n    ?person wdt:P39 wd:Q18384454 .\n  } UNION {\n    ?person wdt:P39 wd:Q22923081 .\n  }\n  ?person rdfs:label ?label .\n  FILTER ( lang( ?label ) = \"en\" )\n}", "paraphrases": ["Which historical figures held the title of King of France or King of the Franks?", "List the English names of all individuals who were kings of France or kings of the Franks."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q18384454> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q22923081> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4790", "question": "What property and value are associated with the statement identified by s:Q100058010-c11728d7-03c9-4872-b268-b642688a667e?", "sparql": "SELECT ?property ?value WHERE {\n  s:Q100058010-c11728d7-03c9-4872-b268-b642688a667e ?property ?value .\n  FILTER(STRSTARTS(STR(?property), \"http://www.wikidata.org/prop/statement/\"))\n}", "paraphrases": ["Can you tell me the occupation and its value for this specific Wikidata statement?", "What does this Wikidata statement assert? (property and value)"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q7130423-6F60B4FE-8239-450B-831E-966556618C6F> . }"}}
{"id": "test_4791", "question": "Japanese-labeled composers who composed music", "sparql": "SELECT ?composer ?composerLabel ?description WHERE { ?work wdt:P86 ?composer . ?composer rdfs:label ?composerLabel FILTER(LANG(?composerLabel) = \"ja\") . ?composer schema:description ?description . } LIMIT 100", "paraphrases": ["Who are composers with Japanese-language names?", "List composers who have Japanese labels, along with their descriptions."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P86> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"ja\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"ja\" ) ) ) . } LIMIT 100"}}
{"id": "test_4792", "question": "List all heritage sites in Portugal with a SIPA ID.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?heritageSite WHERE {\n  ?heritageSite wdt:P1700 ?sipaId\n}", "paraphrases": ["Which heritage sites in Portugal are registered in the SIPA database?", "Show me all architectural heritage sites in Portugal that have a SIPA identifier."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1700> ?var2 . }"}}
{"id": "test_4793", "question": "Buildings in Berlin with heritage designation, their administrative districts, Commons categories, and images.", "sparql": "SELECT ?item ?itemLabel ?adminLabel ?image ?commonsCategory ?adminCommons ?parentAdminCommons ?heritageLabel WHERE {\n  ?item wdt:P625 ?coord .\n\n  # Extract longitude and latitude from POINT(long lat)\n  BIND(STR(?coord) AS ?coordStr)\n  BIND(STRBEFORE(SUBSTR(?coordStr, 7), \" \") AS ?lonStr)\n  BIND(STRBEFORE(SUBSTR(?coordStr, STRLEN(?lonStr) + 8), \")\") AS ?latStr)\n  BIND(xsd:double(?lonStr) AS ?lon)\n  BIND(xsd:double(?latStr) AS ?lat)\n\n  # Filter for Berlin bounding box\n  FILTER(?lon >= 13.0 && ?lon <= 13.7 && ?lat >= 52.3 && ?lat <= 52.7)\n\n  # Get item label\n  OPTIONAL { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }\n\n  # Get administrative hierarchy (up to 2 levels)\n  OPTIONAL {\n    ?item wdt:P131 ?admin .\n    ?admin rdfs:label ?adminLabel . FILTER(LANG(?adminLabel) = \"en\")\n    OPTIONAL {\n      ?admin wdt:P373 ?adminCommons .\n    }\n    OPTIONAL {\n      ?admin wdt:P131 ?parentAdmin .\n      ?parentAdmin wdt:P373 ?parentAdminCommons .\n    }\n  }\n\n  # Get image\n  OPTIONAL { ?item wdt:P18 ?image }\n\n  # Get Commons category of the item\n  OPTIONAL { ?item wdt:P373 ?commonsCategory }\n\n  # Get heritage designation (statement value and label)\n  ?item p:P1435 ?heritageStmt .\n  ?heritageStmt ps:P1435 ?heritage .\n  OPTIONAL { ?heritage rdfs:label ?heritageLabel . FILTER(LANG(?heritageLabel) = \"en\") }\n}\nLIMIT 2000", "paraphrases": ["What are the culturally protected buildings in Berlin, which boroughs are they in, and do they have images or associated Wikimedia Commons categories?", "List all heritage-listed structures in Berlin, including their location boroughs, Commons categories (up to two levels up), images, and their official heritage status labels in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerWest> \"POINT(15 52)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerEast> \"POINT(15 52)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P131> ?var8 . ?var8 <http://www.wikidata.org/prop/direct/P373> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } ?var1 <http://www.wikidata.org/prop/P1435> ?var9 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } } LIMIT 2000"}}
{"id": "test_4794", "question": "Humans born in Oslo who don't have a Norwegian Wikipedia page.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P31 wd:Q5 ; wdt:P19 wd:Q585 .\n  FILTER NOT EXISTS {\n    ?page schema:about ?person ; schema:isPartOf <https://no.wikipedia.org/> .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}", "paraphrases": ["Who are the people born in Oslo that don't have a page on Norwegian Wikipedia?", "List the English names of all humans born in Oslo who are not represented on the Norwegian Wikipedia."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q585> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nb,en\". } FILTER ( ( NOT EXISTS { ?var2 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://no.wikipedia.org/> . } ) ) . }"}}
{"id": "test_4795", "question": "Which libraries are members of the IIIF Consortium?", "sparql": "SELECT ?library ?libraryLabel WHERE { ?library wdt:P31 wd:Q7075 . ?library wdt:P463 wd:Q35677307 . } LIMIT 100", "paraphrases": ["List libraries that belong to the International Image Interoperability Framework Consortium.", "What institutions with library status are part of the IIIF Consortium?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q17021201> . ?var1 <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q22682088> . } LIMIT 100"}}
{"id": "test_4796", "question": "Female BHL creators with images", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?bhlId ?image WHERE {\n  ?person wdt:P21 wd:Q6581072 .\n  ?person wdt:P4081 ?bhlId .\n  ?person wdt:P18 ?image .\n}", "paraphrases": ["Who are the female individuals in the Biodiversity Heritage Library who have uploaded images?", "List all female scientists or authors from the Biodiversity Heritage Library who have photos available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P4081> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/image> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_4797", "question": "What properties are used to describe dolmens in Wikidata, along with their English labels and descriptions?", "sparql": "SELECT DISTINCT ?property ?propertyLabel ?propertyDescription WHERE { wd:Q101659 ?property ?value . FILTER(isIRI(?property)) BIND(IRI(REPLACE(STR(?property), \"http://www.wikidata.org/prop/direct/\", \"http://www.wikidata.org/entity/\")) AS ?propertyItem) . ?propertyItem rdfs:label ?propertyLabel . ?propertyItem schema:description ?propertyDescription . FILTER(LANG(?propertyLabel) = \"en\") FILTER(LANG(?propertyDescription) = \"en\") } LIMIT 100", "paraphrases": ["Which information types are associated with dolmens, and what are their English names and definitions?", "What properties describe dolmens, and what are their English labels and descriptions?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q101659> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_4798", "question": "French communes ending in \"al\" in metropolitan France with their coordinates.", "sparql": "SELECT ?commune ?communeLabel ?coordinates WHERE { ?commune (wdt:P31/wdt:P279*) wd:Q484170 ; wdt:P17 wd:Q142 ; rdfs:label ?communeLabel ; wdt:P625 ?coordinates . FILTER(LANG(?communeLabel) = \"fr\") FILTER(REGEX(?communeLabel, \"al$\")) FILTER(NOT EXISTS { ?commune wdt:P131 wd:Q33788 })}", "paraphrases": ["What are the French communes in metropolitan France whose names end in \"al\", and what are their geographic coordinates?", "List all communes in France (excluding overseas territories like New Caledonia) that have French names ending in \"al\", along with their latitude and longitude."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q484170> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q142> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label ; <http://www.wikidata.org/prop/direct/P625> ?var2 . FILTER ( ( ( LANG ( ?var1Label ) = \"fr\" ) ) ) . FILTER ( ( REGEX ( ?var1Label , \"al$\" ) ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q33788> . } ) ) . }"}}
{"id": "test_4799", "question": "Enzymes that produce 1H-indole and the organisms they are found in.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?enzymeLabel ?organismLabel WHERE {\n  ?enzyme wdt:P1056 wd:Q319541 .\n  ?enzyme wdt:P703 ?organism .\n  ?enzyme rdfs:label ?enzymeLabel .\n  ?organism rdfs:label ?organismLabel .\n  FILTER ( LANG( ?enzymeLabel ) = \"en\" && LANG( ?organismLabel ) = \"en\" )\n}", "paraphrases": ["Which enzymes produce 1H-indole, and in which organisms are these enzymes found?", "List the names of enzymes that produce 1H-indole along with the names of the organisms they come from."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P276> <http://www.wikidata.org/entity/Q5880> . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . ?var4 <http://www.wikidata.org/prop/direct/P703> ?var3 . ?var4 <http://www.wikidata.org/prop/direct/P1056> <http://www.wikidata.org/entity/Q319541> . FILTER ( ( ( LANG ( ?var1 ) = \"en\" ) ) ) . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P571> ?var2 . } }"}}
{"id": "test_4800", "question": "How many male and female heads of government are there in countries around the world?", "sparql": "SELECT ?genderLabel (COUNT(?genderLabel) AS ?count) WHERE { ?country wdt:P31 wd:Q6256 ; wdt:P1313 ?office . ?office wdt:P1308 ?head . ?head wdt:P21 ?gender . ?gender rdfs:label ?genderLabel . FILTER(LANG(?genderLabel) = \"en\") FILTER(?genderLabel != \"\") } GROUP BY ?genderLabel ORDER BY DESC(?count)", "paraphrases": ["Distribution of gender among heads of government by country", "Show me the count of male and female heads of government globally, grouped by gender."], "info": {"raw_sparql": "SELECT ?var1Label ( COUNT ( ?var1Label ) AS ?var2 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> ; <http://www.wikidata.org/prop/direct/P1313> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P1308> ?var5 . OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P21> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1Label ORDER BY DESC( ?var2 )"}}
{"id": "test_4801", "question": "What is the country of citizenship of Frances Cleveland in English?", "sparql": "SELECT ?country ?countryLabel WHERE { wd:Q233644 wdt:P27 ?country . ?country rdfs:label ?countryLabel . FILTER (LANG(?countryLabel) = \"en\") } LIMIT 50", "paraphrases": ["Which country did Frances Cleveland hold citizenship in, and what is its English name?", "Tell me the English label of the country where Frances Cleveland is a citizen."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q233644> <http://www.wikidata.org/prop/direct/P27> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } LIMIT 50"}}
{"id": "test_4802", "question": "Which entities have the French label 'Victor Hugo' and also have VIAF and ISNI identifiers?", "sparql": "SELECT ?entity ?viaf ?isni WHERE { ?entity rdfs:label \"Victor Hugo\"@fr . ?entity wdt:P214 ?viaf . ?entity wdt:P268 ?isni . }", "paraphrases": ["Who is Victor Hugo in French, and what are their VIAF and ISNI numbers?", "Find the VIAF and ISNI identifiers for the person named 'Victor Hugo' in French."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ?var2Label \"string1\"@fr . ?var1 <https://www.wikidata.org/prop/direct/P214> ?var3 . ?var1 <https://www.wikidata.org/prop/direct/P268> ?var4 . }"}}
{"id": "test_4803", "question": "Which property is most commonly used to link entities to the Integrated Authority File (GND)?", "sparql": "SELECT ?property (COUNT(?property) AS ?count) WHERE { ?item ?prop wd:Q36578 . ?property wikibase:directClaim ?prop . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["What is the most frequently used property that connects items to the GND authority system?", "Show me the property that is used the most times to associate entities with the Integrated Authority File (GND), along with how many times it\u2019s used."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q36578> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_4804", "question": "Wikidata surnames with duplicate entries", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?surname1 WHERE {\n  ?surname1 wdt:P31 wd:Q101352 ; rdfs:label ?label .\n  ?surname2 wdt:P31 wd:Q101352 ; rdfs:label ?label .\n  FILTER ( ?surname1 != ?surname2 )\n}", "paraphrases": ["Which surnames in Wikidata have more than one item assigned to them?", "List all surnames that appear more than once in Wikidata as separate items."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q101352> ; ( <http://www.w3.org/2000/01/rdf-schema#label> /^ <http://www.w3.org/2000/01/rdf-schema#label> ) ?var2 . FILTER ( ( ( ?var1 != ?var2 ) ) ) . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q101352> . }"}}
{"id": "test_4805", "question": "List audio player software and their copyright licenses, sorted alphabetically by name.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?software ?softwareLabel ?license WHERE {\n  ?software wdt:P31 wd:Q758895 .\n  ?software wdt:P275 ?license .\n  ?software rdfs:label ?softwareLabel .\n  FILTER(LANG(?softwareLabel) = \"en\")\n}\nORDER BY ASC(?softwareLabel)", "paraphrases": ["What are the names of audio player software and under which licenses are they released, ordered by name?", "Show me all audio player software with their English names and the licenses they use, sorted alphabetically by software name."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q758895> . ?var1 <http://www.wikidata.org/prop/direct/P275> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_4806", "question": "What is the Wikidata item for the rock band Green Day?", "sparql": "SELECT ?item WHERE { ?item rdfs:label \"Green Day\"@en . ?item wdt:P31 wd:Q5741069 . }", "paraphrases": ["Which Wikidata entity represents the American rock band Green Day?", "Find the Wikidata ID of the band Green Day, ensuring it's classified as a rock band."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var4 <http://www.w3.org/2000/01/rdf-schema#label> \"Green Day\"@en . }"}}
{"id": "test_4807", "question": "What film has the OFDb ID 22578?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P3138 \"22578\" .\n}", "paraphrases": ["Which movie on Wikidata is identified by the OFDb film ID 22578?", "Can you find the Wikidata item for the film with the Online-Filmdatenbank ID 22578?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3138> \"22578\". }"}}
{"id": "test_4808", "question": "Languages with ISO 639-3 codes and their labels", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?language ?label WHERE {\n  ?language wdt:P220 ?isoCode .\n  ?language rdfs:label ?label .\n}", "paraphrases": ["What are the labels of all languages that have an ISO 639-3 code?", "Show me all language items that have an ISO 639-3 code along with their labels in any language."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P220> ?var4 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . OPTIONAL { FILTER ( ( ( LANG ( ?var1Label ) = \"fr\" ) ) ) . } OPTIONAL { FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } }"}}
{"id": "test_4809", "question": "Top Nobel Prize winners by Wikipedia page popularity, with award date and image", "sparql": "PREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX schema: <http://schema.org/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?laureate ?laureateLabel ?awardDate ?image ( 9 AS ?constant ) ( COUNT( ?wikipediaArticle ) AS ?wikipediaArticleCount ) WHERE {\n  ?laureate p:P166 ?award .\n  ?award ps:P166 ?nobelAward .\n  ?nobelAward wdt:P361 wd:Q7191 .\n  ?award pq:P585 ?awardDate .\n  ?laureate wdt:P31 wd:Q5 .\n  ?laureate skos:prefLabel ?laureateLabel .\n  FILTER ( LANG( ?laureateLabel ) = \"en\" ) OPTIONAL {\n    ?laureate wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?wikipediaArticle schema:about ?laureate ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n}\nGROUP BY ?laureate ?laureateLabel ?awardDate ?image\nORDER BY DESC ( ?wikipediaArticleCount )\nLIMIT 10", "paraphrases": ["Who are the most popular Nobel Prize laureates based on the number of Wikipedia articles about them, and when did they win the prize?", "List the human Nobel laureates sorted by how many Wikipedia articles mention them, including their award date and image if available."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ( \"9\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var7 )( COUNT ( DISTINCT ?var8 ) AS ?var9 ) WHERE { ?var1 <http://www.wikidata.org/prop/P166> ?var10 . ?var10 ( <http://www.wikidata.org/prop/statement/P166> / <http://www.wikidata.org/prop/direct/P361> ) <http://www.wikidata.org/entity/Q7191> . ?var10 <http://www.wikidata.org/prop/statement/P166> ?var11 . ?var10 <http://www.wikidata.org/prop/qualifier/P585> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P21> ?var12 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . ?var12 <http://www.w3.org/2000/01/rdf-schema#label> ?var6 . } OPTIONAL { ?var8 <http://schema.org/about> ?var1 . } OPTIONAL { ?var5 <http://schema.org/about> ?var1 . ?var5 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } GROUP BY ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ORDER BY DESC( ?var9 )"}}
{"id": "test_4810", "question": "What are the most common types of things (like films or albums) that have a duration, and are they instances or subclasses?", "sparql": "SELECT ?class (COUNT(?item) AS ?count) ?propertyLabel WHERE { VALUES (?property ?propertyLabel) { (wdt:P31 \"instance of\") (wdt:P279 \"subclass of\") } ?item ?property ?class ; wdt:P2047 ?duration . FILTER(isIRI(?class)) } GROUP BY ?class ?property ?propertyLabel ORDER BY DESC(?count) ASC(?class) LIMIT 100", "paraphrases": ["Which classes (e.g., films, albums) are most frequently associated with a duration, and are they categorized as instances or subclasses?", "List the top 100 classes that have items with a duration, showing how many items belong to each class and whether they are instances or subclasses."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label WHERE { { SELECT ?var1 ( COUNT (* ) AS ?var2 )( <http://www.wikidata.org/entity/P31> AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P2047> ?var5 ; <http://www.wikidata.org/prop/direct/P31> ?var1 . } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 50 } UNION { SELECT ?var1 ( COUNT (* ) AS ?var2 )( <http://www.wikidata.org/entity/P279> AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P2047> ?var5 ; <http://www.wikidata.org/prop/direct/P279> ?var1 . } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 50 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY DESC( ?var2 )ASC( ?var1 )"}}
{"id": "test_4811", "question": "Cities that are instances of the class \"city\" in Wikidata.", "sparql": "SELECT ?city ?cityLabel WHERE { ?city wdt:P31 wd:Q515 . ?city rdfs:label ?cityLabel . FILTER(langMatches(lang(?cityLabel), \"en\")) } LIMIT 5", "paraphrases": ["What are five cities listed in Wikidata and their English names?", "Show me five cities from Wikidata along with their English labels, where each city is an instance of the class \"city\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 5"}}
{"id": "test_4812", "question": "What film has the Swedish Film Database ID 61571?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P2334 \"61571\" .\n}", "paraphrases": ["Which movie on Wikidata is associated with the SFDb ID 61571?", "Find the Wikidata item for the film identified by SFDb ID 61571."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2334> \"61571\". }"}}
{"id": "test_4813", "question": "Given name of Barack Obama", "sparql": "SELECT ?givenName WHERE { wd:Q76 wdt:P735 ?givenName .}", "paraphrases": ["What is Barack Obama's first name?", "Tell me the given name of Barack Obama."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q76> <http://www.wikidata.org/prop/direct/P735> ?var1 . }"}}
{"id": "test_4814", "question": "Most used property linking to Volkswagen", "sparql": "SELECT ?property ( COUNT( ?property ) AS ?count ) WHERE { { SELECT ?property WHERE { ?item ?prop wd:Q246 . ?property wikibase:directClaim ?prop . ?property rdf:type wikibase:Property . } LIMIT 10000 } } GROUP BY ?property ORDER BY DESC ( ?count ) LIMIT 1", "paraphrases": ["Which property is most frequently used to connect entities to Volkswagen?", "Show me the property that is most commonly used to associate items with Volkswagen."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/P246> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_4815", "question": "Key details about Danish cinematographer Hugo J. Fischer", "sparql": "SELECT DISTINCT ?property ?propertyLabel ?value ?valueLabel WHERE { wd:Q21043076 ?property ?value . FILTER(STRSTARTS(STR(?property), \"http://www.wikidata.org/prop/direct/\")) OPTIONAL { ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") } OPTIONAL { ?value rdfs:label ?valueLabel . FILTER(LANG(?valueLabel) = \"en\") } } ORDER BY ?property", "paraphrases": ["What is Hugo J. Fischer\u2019s occupation, place of birth, date of birth, and family name?", "List all known facts about Hugo J. Fischer, including his occupation, birth and death dates, and names."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { <http://www.wikidata.org/entity/Q21043076> ?var1 ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_4816", "question": "What are the properties and values associated with Hugo J. Fischer, along with the English labels of those values?", "sparql": "SELECT DISTINCT ?property ?propertyItem ?value ?valueLabel WHERE { wd:Q21043076 ?property ?value . ?propertyItem wikibase:directClaim ?property . OPTIONAL { FILTER(isIRI(?value)) . ?value rdfs:label ?valueLabel . FILTER(LANG(?valueLabel) = \"en\") } }", "paraphrases": ["Show me all the facts about Hugo J. Fischer, including the English names of the entities in his data (like his occupation or birthplace).", "List Hugo J. Fischer\u2019s attributes and their values, showing the English labels for entity values like occupations or places."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var3Label WHERE { <http://www.wikidata.org/entity/Q21043076> ?var1 ?var3 . ?var2 <http://wikiba.se/ontology#directClaim> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_4817", "question": "Publication years and truncated English titles of works by Brage Storstein Andresen", "sparql": "SELECT ?year ?shortTitle WHERE { ?work wdt:P50 wd:Q30505810 . ?work wdt:P577 ?date . BIND(YEAR(?date) AS ?year) . ?work rdfs:label ?titleLabel . FILTER(LANG(?titleLabel) = \"en\") . BIND(SUBSTR(?titleLabel, 1, 20) AS ?shortTitle) } ORDER BY ?year", "paraphrases": ["What are the publication years and first 20 characters of the English titles of Brage Storstein Andresen\u2019s academic works?", "List the years and shortened English titles of all publications authored by Brage Storstein Andresen."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label WHERE { { SELECT ?var1 ( SAMPLE ( ?var4 ) AS ?var2 ) ?var3Label WHERE { { SELECT( STR ( ?var5 ) AS ?var1 )( \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var4 )( \"_\" AS ?var3Label ) WHERE { BIND ( YEAR ( ?var6 ) AS ?var5 ). ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q577> . ?var7 <http://www.wikidata.org/prop/direct/P585> ?var6 . { SELECT( MIN ( ?var5 ) AS ?var8 )( MAX ( ?var5 ) AS ?var9 ) WHERE { BIND ( YEAR ( ?var10 ) AS ?var5 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q30505810> . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var10 . } } FILTER ( ( ( ?var5 >= ?var8 ) && ( ?var5 <= ?var9 ) ) ) . } } UNION { BIND ( SUBSTR ( ?var12Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"20\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q30505810> . ?var11 <http://www.wikidata.org/prop/direct/P1104> ?var4 . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var6 . ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12Label . FILTER ( ( ( LANG ( ?var12Label ) = \"en\" ) ) ) . } } GROUP BY ?var1 ?var11 ?var3Label ORDER BY ASC( ?var1 ) } }"}}
{"id": "test_4818", "question": "Scholarly articles authored by Mads Beich-Frandsen, including all co-authors, publication journals, and dates.", "sparql": "SELECT \n  (MIN(?publicationDate) AS ?earliestPublicationDate)\n  ?work \n  ?workLabel \n  (GROUP_CONCAT(DISTINCT ?authorLabel; SEPARATOR=\", \") AS ?allAuthors)\n  (SAMPLE(?numberOfPages) AS ?sampledPages)\n  ?journal \n  ?journalLabel \n  (GROUP_CONCAT(DISTINCT ?workTypeLabel; SEPARATOR=\", \") AS ?workTypes)\nWHERE {\n  ?work wdt:P50 wd:Q33273968 .  # Work must have Mads Beich-Frandsen as author\n  ?work wdt:P50 ?author .        # Collect all authors of the work\n  OPTIONAL {\n    ?author rdfs:label ?authorLabel .\n    FILTER(LANG(?authorLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?work wdt:P577 ?publicationDate .\n  }\n  OPTIONAL {\n    ?work wdt:P1104 ?numberOfPages .\n  }\n  OPTIONAL {\n    ?work wdt:P1433 ?journal .\n    ?journal rdfs:label ?journalLabel .\n    FILTER(LANG(?journalLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?work wdt:P31 ?workType .\n    ?workType rdfs:label ?workTypeLabel .\n    FILTER(LANG(?workTypeLabel) = \"en\")\n  }\n}\nGROUP BY ?work ?workLabel ?journal ?journalLabel\nORDER BY DESC(?earliestPublicationDate)", "paraphrases": ["What are all the research papers written by Mads Beich-Frandsen, who are the co-authors, where were they published, and when?", "List all works authored by Mads Beich-Frandsen with their full author lists, publication venues, earliest publication dates, and types (e.g., scholarly article)."], "info": {"raw_sparql": "SELECT( MIN ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ( GROUP_CONCAT ( DISTINCT ?var4Label ; SEPARATOR = \", \" ) AS ?var5 )( SAMPLE ( ?var6 ) AS ?var7 ) ?var8 ?var8Label ( GROUP_CONCAT ( DISTINCT ?var9Label ; SEPARATOR = \", \" ) AS ?var10 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q33273968> . ?var3 <http://www.wikidata.org/prop/direct/P50> ?var11 . OPTIONAL { ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12 . FILTER ( ( ( LANG ( ?var12 ) = \"en\" ) ) ) . } BIND ( COALESCE ( ?var12 , SUBSTR ( STR ( ?var11 ) ,\"32\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var9Label ). OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . } OPTIONAL { BIND ( <http://www.w3.org/2001/XMLSchema#date> ( ?var13 ) AS ?var1 ). ?var3 <http://www.wikidata.org/prop/direct/P577> ?var13 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1104> ?var6 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,no,ru,sv,zh\". } } GROUP BY ?var3 ?var3Label ?var8 ?var8Label ORDER BY DESC( ?var2 )"}}
{"id": "test_4819", "question": "People with nisba surnames and their native names in Arabic.", "sparql": "SELECT DISTINCT ?person ?personLabel ?nisbaSurname ?nisbaSurnameLabel ?nativeName WHERE { ?person wdt:P734 ?nisbaSurname . ?nisbaSurname wdt:P31 wd:Q1054545 . OPTIONAL { ?person wdt:P1559 ?nativeName . } ?person rdfs:label ?personLabel . ?nisbaSurname rdfs:label ?nisbaSurnameLabel . FILTER(LANG(?personLabel) = \"en\") FILTER(LANG(?nisbaSurnameLabel) = \"en\") }", "paraphrases": ["Which people have family names derived from geographic or tribal origins (nisbas), and what are their native names?", "List individuals whose surnames are nisbas (like Al-Masri or Asadi), along with their English names and native Arabic names if available."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1054545> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1559> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4820", "question": "Humans who died in 2017 with a VIAF ID but no ISNI.", "sparql": "SELECT ?person ?deathDate (SAMPLE(?lab) AS ?label) ?viafId WHERE { ?person wdt:P570 ?deathDate . FILTER ( ?deathDate >= \"2017-01-01T00:00:00Z\"^^xsd:dateTime && ?deathDate <= \"2017-12-31T00:00:00Z\"^^xsd:dateTime ) . ?person wdt:P31 wd:Q5 . ?person wdt:P214 ?viafId . OPTIONAL { ?person wdt:P213 ?isni . } FILTER ( !BOUND(?isni) ) . ?person rdfs:label ?lab . FILTER(LANG(?lab) = \"\" || LANG(?lab) = \"en\") } GROUP BY ?person ?deathDate ?viafId LIMIT 2000", "paraphrases": ["Who were the people that died in 2017 and have a VIAF identifier but not an ISNI?", "List the names, death dates, and VIAF IDs of all humans who died in 2017 and do not have an International Standard Name Identifier (ISNI)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . FILTER ( ( ( ?var2 >= \"2017-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"2017-12-31T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P214> ?var4 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P213> ?var5 . } FILTER ( ( !( BOUND ( ?var5 ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } } LIMIT 2000"}}
{"id": "test_4821", "question": "Images, locations, and associations of Leif \u00d8stergaard with institutions like Aarhus University and the Kingdom of Denmark.", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?image ?organization ?organizationLabel ?location ?associationType WHERE {\n  wd:Q24040335 ?property ?organization .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?associationType .\n  FILTER ( LANG( ?associationType ) = \"en\" ) OPTIONAL {\n    ?organization wdt:P18 ?image .\n  }\n  ?organization wdt:P625 ?location .\n  ?organization rdfs:label ?organizationLabel .\n  FILTER ( LANG( ?organizationLabel ) = \"en\" )\n}", "paraphrases": ["What organizations is Leif \u00d8stergaard associated with, what are their locations and images, and what is the nature of each association (e.g., employer, educated at)?", "Show me the institutions linked to Leif \u00d8stergaard, including their images, geographic coordinates, and the English labels for how he is connected to them (such as employer or educated at)."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ( ?var4Label AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q24040335> ?var6 ?var2 . ?var2 (( <http://www.wikidata.org/prop/P159> / <http://www.wikidata.org/prop/qualifier/P625> )|( <http://www.wikidata.org/prop/direct/P276> */ <http://www.wikidata.org/prop/direct/P625> )) ?var3 . ?var7 <http://wikiba.se/ontology#directClaim> ?var6 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,nl,no,ru,sv,zh\". } ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . }"}}
{"id": "test_4822", "question": "What images are associated with the researcher Gully A.P.C. Burns, either directly, through entities he is connected to, or through the subjects of his works?", "sparql": "SELECT DISTINCT ?image WHERE { { wd:Q35876688 wdt:P18 ?image . } UNION { wd:Q35876688 ?p ?entity . ?entity wdt:P18 ?image . FILTER (?entity != wd:Q5) } UNION { wd:Q35876688 wdt:P50 ?work . ?work wdt:P921 ?topic . ?topic wdt:P18 ?image . } }", "paraphrases": ["Show me pictures of places or topics related to the academic works authored by Gully A.P.C. Burns.", "Find Wikimedia Commons images linked to Gully A.P.C. Burns or the subjects of publications he wrote."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { <http://www.wikidata.org/entity/Q35876688> <http://www.wikidata.org/prop/direct/P18> ?var1 . } UNION { <http://www.wikidata.org/entity/Q35876688> ?var2 ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P18> ?var1 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/Q5> ) ) ) . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q35876688> . { ?var4 <http://www.wikidata.org/prop/direct/P921> [ <http://www.wikidata.org/prop/direct/P18> ?var1 ] . } UNION { ?var5 <http://www.wikidata.org/prop/direct/P50> ?var4 . ?var5 <http://www.wikidata.org/prop/direct/P18> ?var1 . } } }"}}
{"id": "test_4823", "question": "Main subjects of publications by Gully A.P.C. Burns, ranked by number of works, with sample work titles.", "sparql": "SELECT ?count ?subjectLabel (SUBSTR(SAMPLE(?workLabelSample), 1, 60) AS ?workLabel) WHERE { { SELECT ?subject (COUNT(?work) AS ?count) WHERE { ?work wdt:P50 wd:Q35876688 . ?work wdt:P921 ?subject . } GROUP BY ?subject ORDER BY DESC(?count) } ?subject rdfs:label ?subjectLabel . FILTER(LANG(?subjectLabel) = \"en\") ?work wdt:P50 wd:Q35876688 . ?work wdt:P921 ?subject . ?work rdfs:label ?workLabelSample . FILTER(LANG(?workLabelSample) = \"en\") } GROUP BY ?count ?subjectLabel ORDER BY DESC(?count)", "paraphrases": ["What are the most common topics in the research works authored by Gully A.P.C. Burns, and what are some example titles of those works?", "List the main subjects of Gully A.P.C. Burns\u2019s publications, count how many works each subject appears in, and show a truncated title of one work per subject."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label WHERE { { SELECT ?var4 ( COUNT ( ?var5 ) AS ?var1 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q35876688> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . } GROUP BY ?var4 ORDER BY DESC( ?var1 ) } BIND ( SUBSTR ( ?var6Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q35876688> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . }"}}
{"id": "test_4824", "question": "Dutch labels and descriptions of airports", "sparql": "SELECT ?airport ?label ?description WHERE { ?airport wdt:P31 wd:Q1248784 . ?airport rdfs:label ?label . ?airport schema:description ?description . FILTER(LANG(?label) = \"nl\") FILTER(LANG(?description) = \"nl\") } LIMIT 100", "paraphrases": ["What are the Dutch names and descriptions of airports?", "Show me the Dutch labels and descriptions of all airports."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q1248784> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"nl\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"nl\" ) ) ) . } LIMIT 100"}}
{"id": "test_4825", "question": "What is Zach Banner\u2019s Twitter handle and country of citizenship, and can you construct his Twitter profile URL?", "sparql": "SELECT DISTINCT ?person ?twitterUrl ?languageCode ?countryCode WHERE { VALUES ?person { wd:Q8063778 } ?person wdt:P2002 ?username . BIND( IRI( CONCAT( \"https://twitter.com/\", ?username ) ) AS ?twitterUrl ) OPTIONAL { ?person wdt:P1412 ?lang . ?lang wdt:P424 ?languageCode . } OPTIONAL { ?person wdt:P27 ?country . ?country wdt:P297 ?countryCode . } }", "paraphrases": ["Can you find the Twitter profile link for Zach Banner and his country code, along with any languages associated with him?", "Show me Zach Banner\u2019s X (Twitter) username formatted as a URL, his country, and the languages he speaks, if any."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q8063778> ) } ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P2002> ?var6 . OPTIONAL { ?var5 <http://www.wikidata.org/prop/qualifier/P17> ?var7 . ?var7 <http://www.wikidata.org/prop/direct/P297> ?var4 . } OPTIONAL { ?var5 ( <http://www.wikidata.org/prop/qualifier/P407> | <http://www.wikidata.org/prop/qualifier/P2439> | <http://www.wikidata.org/prop/qualifier/P424> | <http://www.wikidata.org/prop/qualifier/P364> | <http://www.wikidata.org/prop/qualifier/P37> | <http://www.wikidata.org/prop/qualifier/P1412> ) ?var8 . ?var8 <http://www.wikidata.org/prop/direct/P424> ?var3 . } BIND ( IRI ( CONCAT ( \"string1\", ?var6 ) ) AS ?var2 ). }"}}
{"id": "test_4826", "question": "Taxon with ITIS TSN 560693, its IUCN ID and conservation status", "sparql": "SELECT ?var1Label ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 wdt:P31 wd:Q16521 . ?var1 wdt:P815 ?var2 . FILTER(?var2 = \"560693\") . ?var1 wdt:P627 ?var3 . ?var1 wdt:P141 ?var4 . ?var1 rdfs:label ?var1Label . } LIMIT 30", "paraphrases": ["What is the IUCN conservation status and taxon ID for the species with ITIS TSN 560693?", "Show me the scientific name, IUCN taxon ID, and conservation status of the species identified by ITIS TSN 560693."], "info": {"raw_sparql": "SELECT ?var1Label ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16521> . ?var1 <http://www.wikidata.org/prop/direct/P815> ?var5 . VALUES ( ?var5 ) { ( \"562538\" ) } ?var1 <http://www.wikidata.org/prop/direct/P815> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P627> ?var3 . ?var1 <http://www.wikidata.org/prop/qualifier/P141> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 30"}}
{"id": "test_4827", "question": "What are the active launch complexes at the Guiana Space Centre in French?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?launchComplex ?launchComplexLabel ?imageFilename WHERE {\n  ?launchComplex wdt:P361 wd:Q308987 .\n  OPTIONAL {\n    ?launchComplex wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?launchComplex wdt:P1366 ?replacedBy .\n  }\n  FILTER(! BOUND(?replacedBy))\n  ?launchComplex rdfs:label ?launchComplexLabel .\n  FILTER(LANG(?launchComplexLabel) = \"fr\")\n  BIND(IF(BOUND(?image) , REPLACE(REPLACE(STR(?image) , \"https://commons.wikimedia.org/wiki/Special:FilePath/\" , \"\") , \"http://commons.wikimedia.org/wiki/Special:FilePath/\" , \"\") , \"\") AS ?imageFilename)\n}\nLIMIT 1", "paraphrases": ["Can you show me the launch complexes at Europe's Spaceport that are still in use, along with their French names and images?", "List the launch pads that are part of the Guiana Space Centre and haven't been replaced, including their French labels and associated images from Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ( \"#c00\" AS ?var2 )( ?var2 AS ?var3 )( \"3\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var4 )( ?var1Label AS ?var5 )( CONCAT ( \"Lanceur\", \" [[\", SUBSTR ( STR ( ?var6 ) ,\"31\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"500\"^^<http://www.w3.org/2001/XMLSchema#integer> ) , \"{{!}}\", ?var7Label , \"]]\", \"[[File:\", SUBSTR ( STR ( ?var8 ) ,\"52\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"500\"^^<http://www.w3.org/2001/XMLSchema#integer> ) , \"string1\" ) AS ?var9 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q308987> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var8 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/direct/P276> ?var1 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1366> ?var10 . } FILTER ( ( !( BOUND ( ?var10 ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var7Label . } ?var6 <http://schema.org/about> ?var1 . ?var6 <http://schema.org/isPartOf> <https://fr.wikipedia.org/> . }"}}
{"id": "test_4828", "question": "What movie has the IMDb ID tt0468569?", "sparql": "SELECT ?movie WHERE { ?movie wdt:P345 \"tt0468569\" . }", "paraphrases": ["Find the Wikidata item for the film with IMDb identifier tt0468569.", "Which film is identified by the IMDb code tt0468569 in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt4451154\". }"}}
{"id": "test_4829", "question": "Film with AllMovie ID v631486", "sparql": "SELECT ?film WHERE { ?film wdt:P1562 \"v631486\" . }", "paraphrases": ["Which film is identified by the AllMovie title ID v631486?", "Tell me the Wikidata item for the movie with AllMovie ID v631486."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1562> \"v631486\". }"}}
{"id": "test_4830", "question": "Most frequently used property to link items to disambiguation pages (among first 10,000 links)", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ( COUNT( ?property ) AS ?count ) WHERE {\n  {\n    SELECT ?property WHERE {\n      ?item ?statementProperty wd:Q4167410 .\n      ?property wikibase:directClaim ?statementProperty .\n      ?property rdf:type wikibase:Property .\n    }\n    LIMIT 10000\n  }\n}\nGROUP BY ?property\nORDER BY DESC ( ?count )\nLIMIT 1", "paraphrases": ["Which property is most commonly used to classify items as disambiguation pages, based on the first 10,000 such links?", "Show me the property that appears most often when linking entities to disambiguation pages, considering only the first 10,000 such connections."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q4167410> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_4831", "question": "List all films in Wikidata that have a Danskefilm ID.", "sparql": "SELECT ?film WHERE { ?film wdt:P3785 ?id . } ORDER BY ?film", "paraphrases": ["Which films are listed in the Danskefilm database and have corresponding entries in Wikidata?", "Give me the Wikidata items for all Danish films that are identified by a Danskefilm film ID (P3785)."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3785> ?var2 . } ORDER BY ASC( ?var1 )ASC( ?var2 )"}}
{"id": "test_4832", "question": "Oil paintings using oil paint with English labels and English Wikipedia pages", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?artwork ?artworkLabel WHERE {\n  ?artwork wdt:P186 wd:Q296955 .\n  ?artwork rdfs:label ?artworkLabel .\n  FILTER(LANG(?artworkLabel) = \"en\")\n  .\n  ?wikipediaPage schema:about ?artwork ; schema:inLanguage \"en\" .\n}", "paraphrases": ["What are some oil paintings that use oil paint as a medium and have English Wikipedia articles?", "List English-labeled artworks that are painted with oil and are described on the English Wikipedia."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3300024> . ?var1 ?var3Label \"oil paint\"@en . ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/inLanguage> \"en\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4833", "question": "What are the names of all libraries and their subtypes?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?library ?libraryLabel WHERE {\n  ?library(wdt:P31 / wdt:P279 *) wd:Q7075 .\n  ?library rdfs:label ?libraryLabel .\n}", "paraphrases": ["List all libraries with their human-readable names.", "Can you show me the labels of all entities classified as libraries or any of their subclasses?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7075> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_4834", "question": "French administrative regions with INSEE codes, flags, and current ISO 3166-2 codes, excluding former regions.", "sparql": "SELECT DISTINCT ?region ?regionLabel ?flag ?inseeCode ?isoCode WHERE { ?region wdt:P31/wdt:P279* wd:Q36784 . FILTER NOT EXISTS { ?region wdt:P31 wd:Q22670030 } . OPTIONAL { ?region wdt:P856 ?website } OPTIONAL { ?region wdt:P41 ?flag } OPTIONAL { ?region wdt:P2585 ?inseeCode } OPTIONAL { ?region p:P300 ?isoStmt . ?isoStmt ps:P300 ?isoCode . FILTER NOT EXISTS { ?isoStmt pq:P582 ?end } } OPTIONAL { ?region rdfs:label ?regionLabel . FILTER(LANG(?regionLabel) = \"en\") } FILTER(BOUND(?regionLabel) && BOUND(?inseeCode)) } ORDER BY ASC(?inseeCode)", "paraphrases": ["What are the current administrative regions of France, their INSEE codes, flags, and ISO codes, excluding historical regions?", "List all active French regions with their official INSEE codes, flag images, and valid ISO 3166-2 identifiers, and exclude any that are no longer in use."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q36784> AS ?var5 ). BIND ( <http://www.wikidata.org/entity/Q22670030> AS ?var6 ). BIND ( <http://www.wikidata.org/prop/qualifier/P582> AS ?var7 ). BIND ( <http://www.wikidata.org/prop/qualifier/P580> AS ?var8 ). ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var5 . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var6 . } ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P41> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2585> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/P300> ?var10 . ?var10 <http://www.wikidata.org/prop/statement/P300> ?var4 . FILTER ( ( NOT EXISTS { ?var10 ?var7 ?var11 . } && EXISTS { ?var10 ?var12 ?var13 . } ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } ORDER BY ASC( ?var3 )"}}
{"id": "test_4835", "question": "Television series, their cast members, and genres in English.", "sparql": "SELECT ?series ?seriesLabel ?castMemberLabel ?genreLabel WHERE { ?series wdt:P31 wd:Q5398426 . ?series rdfs:label ?seriesLabel . FILTER (LANG(?seriesLabel) = \"en\") . ?series wdt:P136 ?genre . ?genre rdfs:label ?genreLabel . FILTER (LANG(?genreLabel) = \"en\") . ?series wdt:P161 ?castMember . ?castMember rdfs:label ?castMemberLabel . FILTER (LANG(?castMemberLabel) = \"en\") . } LIMIT 10", "paraphrases": ["What are the English names of television series, who are their cast members, and what genres do they belong to?", "List television series along with their English labels, the actors who starred in them, and their genres."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5398426> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P136> ?var5 . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P161> ?var6 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 10"}}
{"id": "test_4836", "question": "Marie Curie's published works with page counts, by year and truncated title", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?year ?truncatedTitle WHERE {\n  ?work wdt:P50 wd:Q7186 ; wdt:P577 ?date ; wdt:P1104 ?pages ; rdfs:label ?fullTitle .\n  FILTER(LANG(?fullTitle) = \"en\")\n  BIND(YEAR(?date) AS ?year)\n  BIND(SUBSTR(?fullTitle , 1 , 20) AS ?truncatedTitle)\n}\nORDER BY ?year", "paraphrases": ["What are the publication years and English titles (truncated to 20 characters) of books authored by Marie Curie that have a specified number of pages?", "Show me the years and shortened English titles of Marie Curie\u2019s published works that include a page count."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label WHERE { { SELECT ?var1 ( SAMPLE ( ?var4 ) AS ?var2 ) ?var3Label WHERE { { SELECT( STR ( ?var5 ) AS ?var1 )( \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var4 )( \"_\" AS ?var3Label ) WHERE { BIND ( YEAR ( ?var6 ) AS ?var5 ). ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q577> . ?var7 <http://www.wikidata.org/prop/direct/P585> ?var6 . { SELECT( MIN ( ?var5 ) AS ?var8 )( MAX ( ?var5 ) AS ?var9 ) WHERE { BIND ( YEAR ( ?var10 ) AS ?var5 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q7186> . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var10 . } } FILTER ( ( ( ?var5 >= ?var8 ) && ( ?var5 <= ?var9 ) ) ) . } } UNION { BIND ( SUBSTR ( ?var12Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"20\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q7186> . ?var11 <http://www.wikidata.org/prop/direct/P1104> ?var4 . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var6 . ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12Label . FILTER ( ( ( LANG ( ?var12Label ) = \"en\" ) ) ) . } } GROUP BY ?var1 ?var11 ?var3Label ORDER BY ASC( ?var1 ) } }"}}
{"id": "test_4837", "question": "What is the English label and description of the artist with Belvedere Gallery ID 8402?", "sparql": "SELECT ?artist ?artistLabel ?description WHERE { ?artist wdt:P3421 \"8402\" . OPTIONAL { ?artist schema:description ?description . FILTER (LANG(?description) = \"en\") . } ?artist rdfs:label ?artistLabel . FILTER (LANG(?artistLabel) = \"en\") . }", "paraphrases": ["Who is the artist identified by ID 8402 in the Belvedere Gallery, and what is their English description?", "Find the English name and description of the artist linked to Belvedere artist ID 8402."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3421> \"8402\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4838", "question": "Which film has the Deutsche Synchronkartei ID 31761?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P3844 \"31761\" .\n}", "paraphrases": ["What is the name of the film identified by 31761 in the Deutsche Synchronkartei database?", "Find the Wikidata item for the film with Deutsche Synchronkartei ID 31761."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3844> \"31761\". }"}}
{"id": "test_4839", "question": "What asteroid has the Minor Planet Center body ID 174598?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?asteroid WHERE {\n  ?asteroid wdt:P5736 \"174598\"\n}", "paraphrases": ["Find the asteroid identified by the ID 174598 in the Minor Planet Center database.", "Which celestial object in Wikidata is associated with the designation 174598?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2346> \"174598\". }"}}
{"id": "test_4840", "question": "List all Biblioteca Virtual de Prensa Hist\u00f3rica identifiers in Wikidata.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?bvphId WHERE {\n  ?publication wdt:P2961 ?bvphId .\n}", "paraphrases": ["What are the unique BVPH IDs assigned to publications in Wikidata?", "Can you provide the complete set of identifiers from the Biblioteca Virtual de Prensa Hist\u00f3rica that are linked to items in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P2961> ?var1 . } GROUP BY ?var1"}}
{"id": "test_4841", "question": "Which movie has the elFilm ID 114508?", "sparql": "SELECT ?movie WHERE { ?movie wdt:P3143 \"114508\" . }", "paraphrases": ["What is the Wikidata item for the film identified as 114508 in elFilm?", "Find the movie in Wikidata that corresponds to the elFilm ID 114508."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3143> \"114508\". }"}}
{"id": "test_4842", "question": "Humans who have a predecessor and are listed in Wikidata with English labels.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?human ?humanLabel WHERE {\n  ?human wdt:P155 [] .\n  ?human wdt:P31 wd:Q5 .\n  ?human rdfs:label ?humanLabel .\n  FILTER ( LANG( ?humanLabel ) = 'en' )\n}\nLIMIT 100", "paraphrases": ["Who are some humans that have followed someone else in a sequence, and what are their English names?", "List 100 humans who are successors in a series (e.g., office holders) and provide their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P155> [] . VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q5> ) } BIND ( <http://www.wikidata.org/entity/P31> AS ?var2 ). ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 . } LIMIT 100 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru,en\". } }"}}
{"id": "test_4843", "question": "Humans who succeeded someone and are instances of human", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE {\n  ?var1 wdt:P155 [] .\n  ?var1 wdt:P31 wd:Q5 .\n  BIND( wd:P31 AS ?var2 ) .\n  BIND( wd:Q5 AS ?var3 ) .\n  ?var1 rdfs:label ?var1Label .\n  wd:P31 rdfs:label ?var2Label .\n  wd:Q5 rdfs:label ?var3Label .\n  FILTER ( LANG( ?var1Label ) = \"en\" ) FILTER ( LANG( ?var2Label ) = \"en\" ) FILTER ( LANG( ?var3Label ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Who are the humans that have followed someone in a position or role?", "List the names of people who succeeded others and are human beings."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P155> [] . VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q5> ) } BIND ( <http://www.wikidata.org/entity/P31> AS ?var2 ). ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 . } LIMIT 10000 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru,en\". } }"}}
{"id": "test_4844", "question": "What properties are associated with philanthropy, and what are their values and usage counts?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(SAMPLE(?propLabel) AS ?propertyLabel)(COUNT(?value) AS ?count)(GROUP_CONCAT(?valueLabel ; SEPARATOR = \", \") AS ?valueLabels) WHERE {\n  wd:Q185733 ?property ?value .\n  ?value rdfs:label ?valueLabel .\n  FILTER(LANG(?valueLabel) = \"en\")\n  .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?propLabel .\n  FILTER(LANG(?propLabel) = \"en\")\n}\nGROUP BY ?property", "paraphrases": ["For the concept of philanthropy, list each property used, its English label, how many times it appears, and the labels of its values.", "Can you show me how philanthropy is classified and related in Wikidata, including the property names, how often each connection is used, and what things it connects to?"], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q185733> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_4845", "question": "What property is most frequently used to classify musical groups in Wikidata?", "sparql": "SELECT ?property (COUNT(?property) AS ?count)\nWHERE {\n  {\n    SELECT ?property WHERE {\n      ?item ?p wd:Q215380 .\n      ?property wikibase:directClaim ?p .\n      ?property rdf:type wikibase:Property .\n    }\n    LIMIT 10000\n  }\n}\nGROUP BY ?property\nORDER BY DESC(?count)\nLIMIT 1", "paraphrases": ["Which Wikidata property is used the most to indicate that an entity is a musical group?", "Show me the most common property used to assign the type \"musical group\" to entities in Wikidata, along with how many times it's used."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q215380> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_4846", "question": "Zoos with both polar bears and lions, including their website, image, location, and other species.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?zoo ?zooLabel ?website ?image ?coordinates ?species ?speciesLabel WHERE {\n  ?zoo wdt:P31 wd:Q43501 .\n  ?zoo wdt:P1990 wd:Q33609 .\n  ?zoo wdt:P1990 wd:Q140 .\n  OPTIONAL {\n    ?zoo wdt:P856 ?website .\n  }\n  OPTIONAL {\n    ?zoo wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?zoo wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    ?zoo wdt:P1990 ?species .\n  }\n  OPTIONAL {\n    ?zoo rdfs:label ?zooLabel .\n    FILTER ( LANG( ?zooLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?species rdfs:label ?speciesLabel .\n    FILTER ( LANG( ?speciesLabel ) = \"en\" )\n  }\n}\nLIMIT 100", "paraphrases": ["Which zoos house both polar bears and lions, and what are their official websites, images, geographic coordinates, and other animal species?", "List all zoos that keep polar bears and lions, along with their official websites, photos, locations, and the full list of species they maintain."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var5Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q43501> . ?var1 <http://www.wikidata.org/prop/direct/P1990> <http://www.wikidata.org/entity/Q33609> . ?var1 <http://www.wikidata.org/prop/direct/P1990> <http://www.wikidata.org/entity/Q140> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1990> ?var5 . } } LIMIT 100"}}
{"id": "test_4847", "question": "What are the English labels and descriptions of properties related to distribution map (P1846)?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?property ?label ?description WHERE {\n  wd:P1846 wdt:P1659 ?property .\n  ?property rdfs:label ?label .\n  ?property schema:description ?description .\n  FILTER(LANG(?label) = \"en\")\n  FILTER(LANG(?description) = \"en\")\n}", "paraphrases": ["Which properties are related to the distribution map property (P1846), and what are their English labels and descriptions?", "Show me the English label and description of any property that is related to the distribution map (P1846) via the related property relationship."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P1846> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . }"}}
{"id": "test_4848", "question": "Where were Pope Gregory VII born, died, and buried, and in which countries are those places located?", "sparql": "SELECT ?property ?place ?country WHERE {\n  wd:Q133063 ?property ?place .\n  ?place wdt:P17 ?country .\n  FILTER(?property IN (wdt:P19, wdt:P20, wdt:P119))\n}", "paraphrases": ["What are the birthplace, death place, and burial place of Gregory VII, and what countries are they in?", "Show the locations associated with Gregory VII\u2019s birth, death, and burial, along with their respective countries."], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q133063> ?var1 ?var2 . ?var2 ?var3 ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_4849", "question": "What is the most common property used to link Wikipedia articles to the topic of cider?", "sparql": "SELECT ?mainProperty (COUNT(?mainProperty) AS ?count) WHERE { ?item ?property wd:Q167296 . ?mainProperty wikibase:directClaim ?property . ?mainProperty rdf:type wikibase:Property . } GROUP BY ?mainProperty ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which Wikidata property connects the most items to hard cider, and how many items use it?", "How many Wikipedia articles are about cider, based on the main topic property?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q167296> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_4850", "question": "What are some organizations that employ people and have English labels and descriptions?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?organization ?organizationLabel ?organizationDescription WHERE {\n  ?person wdt:P108 ?organization .\n  ?organization rdfs:label ?organizationLabel .\n  ?organization schema:description ?organizationDescription .\n  FILTER(LANG(?organizationLabel) = 'en')\n  FILTER(LANG(?organizationDescription) = 'en')\n}\nLIMIT 100", "paraphrases": ["List organizations with English labels and descriptions that are known employers.", "Which companies or institutions have English-language labels and descriptions and are listed as employers on Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P108> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_4851", "question": "What cultural heritage sites in Berlin and Brandenburg have images and Commons categories, and what administrative regions are they in?", "sparql": "SELECT ?item ?itemLabel ?adminLabel ?admin2Label ?image ?commonsCat ?heritage ?admin2CommonsCat WHERE { ?item wdt:P17 wd:Q183 ; wdt:P625 ?coord . BIND(STRBEFORE(STRAFTER(STR(?coord), \"POINT(\"), \")\") AS ?coords) . BIND(STRBEFORE(?coords, \" \") AS ?lon) . BIND(STRAFTER(?coords, \" \") AS ?lat) . FILTER(xsd:double(?lon) >= 13 && xsd:double(?lon) <= 15 && xsd:double(?lat) >= 52 && xsd:double(?lat) <= 54) . OPTIONAL { ?item wdt:P18 ?image } . OPTIONAL { ?item wdt:P373 ?commonsCat } . ?item p:P1435 ?heritage . OPTIONAL { ?item wdt:P131 ?admin . ?admin rdfs:label ?adminLabel . FILTER(LANG(?adminLabel) = \"en\") } . OPTIONAL { ?item wdt:P131 ?admin . ?admin wdt:P131 ?admin2 . ?admin2 rdfs:label ?admin2Label . FILTER(LANG(?admin2Label) = \"en\") } . OPTIONAL { ?admin2 wdt:P373 ?admin2CommonsCat } } LIMIT 10", "paraphrases": ["Show me items with coordinates between 13\u00b0E\u201315\u00b0E and 52\u00b0N\u201354\u00b0N, including their images, heritage designations, and the names of the cities and regions they belong to.", "List cultural monuments in the Berlin area with their associated Wikimedia Commons categories and administrative hierarchy, along with any available photos."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerWest> \"POINT(14 53)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerEast> \"POINT(15 53)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P131> ?var8 . ?var8 <http://www.wikidata.org/prop/direct/P373> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } ?var1 <http://www.wikidata.org/prop/P1435> ?var9 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } } LIMIT 2000"}}
{"id": "test_4852", "question": "Zoos in Spain with images and coordinates", "sparql": "SELECT ?zoo ?image ?coordinates ?zooLabel WHERE { ?zoo wdt:P17 wd:Q29 . ?zoo wdt:P31 wd:Q43501 . OPTIONAL { ?zoo wdt:P18 ?image . } OPTIONAL { ?zoo wdt:P625 ?coordinates . } ?zoo rdfs:label ?zooLabel . } LIMIT 50", "paraphrases": ["What are the zoos in Spain, and do they have images or geographic coordinates?", "List all zoos in Spain along with their images and locations, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var3 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { } OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . } ?var1 <http://www.wikidata.org/prop/direct/P276> <http://www.wikidata.org/entity/Q29> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q43501> . } LIMIT 50"}}
{"id": "test_4853", "question": "Women whose archives are held at the Atria Institute, with their images and gender.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?image ?gender WHERE {\n  ?person wdt:P31 wd:Q5 .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n  ?person wdt:P485 wd:Q1289222 .\n  ?person wdt:P21 ?gender .\n}", "paraphrases": ["Who are the women whose archives are preserved at the Atria Institute on gender equality and women's history, and what are their images and gender?", "List all women whose archives are held at the Atria Institute, including their images (if available) and gender."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } ?var1 <http://www.wikidata.org/prop/direct/P485> <http://www.wikidata.org/entity/Q1289222> . ?var1 <http://www.wikidata.org/prop/direct/P21> ?var3 . }"}}
{"id": "test_4854", "question": "What are the museums located in Tennessee?", "sparql": "SELECT ?museum ?museumLabel WHERE { ?museum wdt:P31 wd:Q33506 ; wdt:P131 wd:Q1509 . ?museum rdfs:label ?museumLabel . FILTER(LANG(?museumLabel) = \"en\") }", "paraphrases": ["Can you list the English names of all museums in the state of Tennessee?", "Show me the names of institutions in Tennessee that are classified as museums."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q33506> ; <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q1509> . }"}}
{"id": "test_4855", "question": "Films with FilmAffinity ID but no IMDb ID", "sparql": "SELECT ?film WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P480 ?filmAffinityId . FILTER NOT EXISTS { ?film wdt:P345 ?imdbId . } }", "paraphrases": ["Which films are listed on FilmAffinity but not on IMDb?", "Show me films that have a FilmAffinity identifier but are not available on IMDb."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P480> ?var2 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . } } GROUP BY ?var1"}}
{"id": "test_4856", "question": "What is the title and description of the MoMA artwork with ID 16673?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P2014 \"16673\" .\n  OPTIONAL {\n    ?item rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Can you tell me the name and a brief description of the Picasso painting held by MoMA under ID 16673?", "Which artwork in the Museum of Modern Art has the ID 16673, and what is its English label and description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2014> \"65578\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4857", "question": "What are the mountains in Italy and their geographic coordinates, along with any available images?", "sparql": "SELECT ?image ?coordinates ?mountain WHERE { ?mountain (wdt:P31/wdt:P279*) wd:Q8502 . ?mountain wdt:P17 wd:Q38 . ?mountain wdt:P625 ?coordinates . OPTIONAL { ?mountain wdt:P18 ?image . } }", "paraphrases": ["Show me all mountains located in Italy, including their locations on Earth and images from Wikimedia Commons if they exist.", "List the mountains in Italy with their coordinates and images - which ones have photos available on Commons?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var4 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q8502> . ?var4 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q38> . ?var4 <http://www.wikidata.org/prop/direct/P625> ?var3 . OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P18> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,it\". } }"}}
{"id": "test_4858", "question": "What are the English labels of non-human entities in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?label WHERE {\n  ?item rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) FILTER NOT EXISTS {\n    ?item wdt:P31 wd:Q5\n  }\n  FILTER ( STRSTARTS( STR( ?item ) , \"http://www.wikidata.org/entity/Q\" ) )\n}\nLIMIT 10", "paraphrases": ["Can you list entities that are not humans and have English labels?", "Show me the names (in English) of things like places, organizations, or concepts \u2014 but not people."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . MINUS { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . } }"}}
{"id": "test_4859", "question": "What are the public libraries in Bogot\u00e1?", "sparql": "SELECT ?library ?label WHERE { ?library wdt:P31 wd:Q28564 . ?library wdt:P131 wd:Q2841 . ?library rdfs:label ?label . FILTER(langMatches(lang(?label), \"en\")) }", "paraphrases": ["List the English names of all public libraries located in Bogot\u00e1.", "Can you tell me the names of public libraries in Colombia\u2019s capital city?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q28564> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q2841> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } }"}}
{"id": "test_4860", "question": "What movie has the elFilm ID 1815081?", "sparql": "SELECT ?movie ?movieLabel WHERE { ?movie wdt:P3143 \"1815081\" . ?movie rdfs:label ?movieLabel . FILTER(LANG(?movieLabel) = \"en\") }", "paraphrases": ["Which film is identified by the elFilm film ID 1815081?", "Please tell me the title of the movie with elFilm ID 1815081."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3143> \"1815081\". }"}}
{"id": "test_4861", "question": "Politicians born after 1875 with their English labels", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P106 wd:Q82955 . ?person p:P569 ?birthStatement . ?birthStatement psv:P569 ?birthValue . ?birthValue wikibase:timeValue ?birthDate . FILTER(YEAR(?birthDate) > 1875) . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["Who are the politicians born after 1875, and what are their names in English?", "List the names in English of all politicians born after 1875."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label WHERE { ?var3 <http://wikiba.se/ontology#timeValue> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82955> . ?var1 ( <http://www.wikidata.org/prop/P569> / <http://www.wikidata.org/prop/statement/value/P569> ) ?var3 . FILTER ( ( ( YEAR ( ?var4 ) > \"1875\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_4862", "question": "What geographic regions is the building Tornabankens byggnad located in, including its administrative divisions, country, and continent?", "sparql": "SELECT DISTINCT ?item WHERE { wd:Q17490437 (wdt:P131|wdt:P17|wdt:P30)+ ?item . } LIMIT 10", "paraphrases": ["Show all places that Tornabankens byggnad belongs to, from the local municipality up to the continent.", "What is the full geographic hierarchy of Tornabankens byggnad, from its immediate administrative area to the continent?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q17490437> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_4863", "question": "Geographic features in Cuba at longitude -83\u00b0 and latitude between 21\u00b0 and 22\u00b0", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX geof: <http://www.opengis.net/def/function/geosparql/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?location ?image ?commonsCategory WHERE {\n  ?item wdt:P625 ?location .\n  FILTER ( geof:longitude ( ?location ) >= -83.0001 && geof:longitude ( ?location ) <= -82.9999 ) FILTER ( geof:latitude ( ?location ) >= 21 && geof:latitude ( ?location ) <= 22 ) OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?item wdt:P373 ?commonsCategory .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}\nLIMIT 3000", "paraphrases": ["What are the geographic locations in the Caribbean with coordinates exactly at longitude -83 and latitude between 21 and 22?", "List the names of geographic features located along the line of longitude -83 between latitudes 21 and 22, along with their images and Wikimedia Commons categories if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(-83 21)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(-83 22)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_4864", "question": "List Catherine Herrold\u2019s published works with their titles, types, publication venues, earliest publication dates, and number of pages, ordered from newest to oldest.", "sparql": "SELECT (MIN(?pubDate) AS ?earliestPubDate) ?work ?title (GROUP_CONCAT(DISTINCT ?typeLabel; SEPARATOR=\", \") AS ?types) (SAMPLE(?pages) AS ?sampledPages) ?venue ?venueLabel WHERE { ?work wdt:P50 wd:Q35894108 . ?work wdt:P1476 ?title . OPTIONAL { ?work wdt:P31 ?type . ?type rdfs:label ?typeLabel . FILTER(LANG(?typeLabel) = \"en\") } OPTIONAL { ?work wdt:P577 ?pubDate } OPTIONAL { ?work wdt:P1104 ?pages } OPTIONAL { ?work wdt:P1433 ?venue . ?venue rdfs:label ?venueLabel . FILTER(LANG(?venueLabel) = \"en\") } } GROUP BY ?work ?title ?venue ?venueLabel ORDER BY DESC(?earliestPubDate)", "paraphrases": ["What are the titles, types, and publication venues of all works authored by Catherine Herrold, along with their earliest publication dates and page counts, sorted by most recent first?", "Please show me Catherine Herrold\u2019s academic publications, including their titles, whether they are articles or editions, where they were published, when they came out, and how many pages they have \u2014 sorted with the newest first."], "info": {"raw_sparql": "SELECT( MIN ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ( GROUP_CONCAT ( DISTINCT ?var4Label ; SEPARATOR = \", \" ) AS ?var5 )( SAMPLE ( ?var6 ) AS ?var7 ) ?var8 ?var8Label ( GROUP_CONCAT ( DISTINCT ?var9Label ; SEPARATOR = \", \" ) AS ?var10 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q35894108> . ?var3 <http://www.wikidata.org/prop/direct/P50> ?var11 . OPTIONAL { ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12 . FILTER ( ( ( LANG ( ?var12 ) = \"en\" ) ) ) . } BIND ( COALESCE ( ?var12 , SUBSTR ( STR ( ?var11 ) ,\"32\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var9Label ). OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . } OPTIONAL { BIND ( <http://www.w3.org/2001/XMLSchema#date> ( ?var13 ) AS ?var1 ). ?var3 <http://www.wikidata.org/prop/direct/P577> ?var13 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1104> ?var6 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,no,ru,sv,zh\". } } GROUP BY ?var3 ?var3Label ?var8 ?var8Label ORDER BY DESC( ?var2 )"}}
{"id": "test_4865", "question": "What are the lists of food on Wikidata, and what are their English names?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?list ?listLabel WHERE {\n  ?list wdt:P360 wd:Q2095 .\n  OPTIONAL {\n    ?list rdfs:label ?listLabel .\n    FILTER ( LANG( ?listLabel ) = \"en\" )\n  }\n}", "paraphrases": ["Can you show me the English-labeled lists that are about food?", "Which Wikipedia-style lists on Wikidata have food as their main topic, and what are their titles in English?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q2095> AS ?var5 ). ?var1 <http://www.wikidata.org/prop/direct/P360> ?var5 . ?var3 <http://www.wikidata.org/prop/direct/P361> ?var1 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . } OPTIONAL { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . } }"}}
{"id": "test_4866", "question": "Items categorized under categories whose main topic is South Africa.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?category wdt:P301 wd:Q258 .\n  ?item wdt:P910 ?category .\n}", "paraphrases": ["What items are listed in Wikimedia categories that have South Africa as their main topic?", "Show me all items that belong to categories whose primary subject is South Africa."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P301> <http://www.wikidata.org/entity/Q258> . ?var1 <http://www.wikidata.org/prop/P301> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_4867", "question": "What are the facets of South Africa on Wikidata?", "sparql": "SELECT ?item ?statement (SAMPLE(?qualifier) AS ?qualifierProperty) WHERE { { SELECT DISTINCT ?item ?statement WHERE { ?statement ps:P1269 wd:Q258 . ?item p:P1269 ?statement . } LIMIT 101 } OPTIONAL { ?statement ?qualifier ?qualifierValue . ?qualifier wikibase:qualifier true . } } GROUP BY ?item ?statement", "paraphrases": ["Which topics are considered subtopics or aspects of South Africa?", "List the items that are categorized as facets of South Africa, and show if any additional details (qualifiers) are attached to those categorizations."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P1269> <http://www.wikidata.org/entity/Q258> . ?var1 <http://www.wikidata.org/prop/P1269> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_4868", "question": "What are the English titles of all films listed in Wikidata?", "sparql": "SELECT ?filmLabel WHERE { ?film wdt:P31 wd:Q11424 . ?film rdfs:label ?filmLabel . FILTER(LANG(?filmLabel) = \"en\") }", "paraphrases": ["List the names of movies in English from Wikidata.", "Can you show me the labels of all items classified as films in Wikidata, in English?"], "info": {"raw_sparql": "SELECT ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_4869", "question": "What are all the categories or types that Kathmandu is classified as, including indirect ones through inheritance?", "sparql": "SELECT DISTINCT ?class ?label WHERE { wd:Q3037 (wdt:P31/wdt:P279*) ?class . ?class rdfs:label ?label . FILTER(LANG(?label) = \"en\") } ORDER BY ?class", "paraphrases": ["List all the classes that Kathmandu is an instance of or a subclass of, in the Wikidata ontology.", "What broader categories include Kathmandu, based on its type and its type\u2019s superclasses?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q3037> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4870", "question": "Which German and English words won \"Word of the Year\" awards and when were they awarded?", "sparql": "SELECT ?lexeme ?lemma ?date ?award ?awardLabel WHERE { ?lexeme p:P166 ?statement . ?statement pq:P585 ?date . ?statement ps:P166 ?award . ?lexeme wikibase:lemma ?lemma . ?award rdfs:label ?awardLabel . FILTER(LANG(?lemma) = \"de\" || LANG(?lemma) = \"en\") FILTER(LANG(?awardLabel) = \"en\") } LIMIT 10", "paraphrases": ["For each \"Word of the Year\" award given to a word or phrase, what is the word, which award did it receive, and in what year?", "Show me the lexemes (words) that received \"Word of the Year\" awards, including the award name and the date it was given, limited to English and German words."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/P166> ?var5 . ?var5 <http://www.wikidata.org/prop/qualifier/P585> ?var2 . ?var5 <http://www.wikidata.org/prop/statement/P166> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10"}}
{"id": "test_4871", "question": "Japanese family names written in kanji", "sparql": "SELECT ?surname ?kanji WHERE { ?surname wdt:P31 wd:Q101352 . ?surname wdt:P407 wd:Q5287 . ?surname wdt:P1705 ?kanji . FILTER (LANG(?kanji) = \"ja\") }", "paraphrases": ["What are the Japanese surnames and their corresponding kanji representations?", "Show me all family names in Japan that are written in Japanese kanji."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q101352> . ?var1 <http://www.wikidata.org/prop/direct/P407> <http://www.wikidata.org/entity/Q5287> . ?var1 <http://www.wikidata.org/prop/direct/P1705> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"ja\" ) ) ) . }"}}
{"id": "test_4872", "question": "Who are the different cultural figures that bring gifts at Christmas around the world?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P31 wd:Q6567237 .\n}", "paraphrases": ["List all known Christmas gift-bringers in Wikidata.", "What are the entities classified as Christmas gift-bringers?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q315796> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_4873", "question": "Chinese Simplified, Traditional, and Cantonese labels and IATA/ICAO/FAA codes for all airports", "sparql": "SELECT ?airport ?label_zh_hans ?label_zh_hant ?label_yue ?faa_code ?iata_code ?icao_code WHERE { ?airport wdt:P31 wd:Q1248784 . ?airport rdfs:label ?label_zh_hans . FILTER(LANG(?label_zh_hans) = \"zh-hans\") . ?airport rdfs:label ?label_zh_hant . FILTER(LANG(?label_zh_hant) = \"zh-hant\") . ?airport rdfs:label ?label_yue . FILTER(LANG(?label_yue) = \"yue\") . OPTIONAL { ?airport wdt:P240 ?faa_code . } OPTIONAL { ?airport wdt:P238 ?iata_code . } OPTIONAL { ?airport wdt:P239 ?icao_code . } }", "paraphrases": ["What are the Chinese Simplified, Traditional, and Cantonese names of airports, along with their IATA, ICAO, and FAA codes?", "Please list all airports with their Chinese (Simplified, Traditional, Cantonese) labels and their corresponding IATA, ICAO, and FAA codes."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1248784> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P240> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P238> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P239> ?var8 . } OPTIONAL { FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . } FILTER ( ( ( LANG ( ?var2 ) = \"zh-hans\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"zh-hant\" ) ) ) . FILTER ( ( ( LANG ( ?var4 ) = \"yue\" ) ) ) . }"}}
{"id": "test_4874", "question": "What are the categories that include the year 1988 as one of their topics?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel ?image WHERE {\n  ?item wdt:P971 wd:Q2426 .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Show me the English names of Wikimedia categories that combine the year 1988 with other subjects.", "List the categories related to 1988 on Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P971> <http://www.wikidata.org/entity/Q2426> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ar\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_4875", "question": "French administrative regions and their INSEE region codes", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?regionLabel ?inseeCode WHERE {\n  ?region p:P31 ?statement1 .\n  ?statement1 ps:P31 / wdt:P279 * wd:Q36784 .\n  FILTER(NOT EXISTS {\n    ?statement1 pq:P582 []\n  })\n  ?region p:P2585 ?statement2 .\n  ?statement2 ps:P2585 ?inseeCode .\n  FILTER(NOT EXISTS {\n    ?statement2 pq:P582 []\n  })\n  ?region rdfs:label ?regionLabel .\n  FILTER(LANG(?regionLabel) = \"en\" || LANG(?regionLabel) = \"fr\")\n}", "paraphrases": ["What are the current French regions and their corresponding INSEE codes?", "List all active French regions along with their INSEE region identifiers."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/P31> ?var3 . ?var3 ( <http://www.wikidata.org/prop/statement/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q36784> . FILTER ( ( NOT EXISTS { ?var3 <http://www.wikidata.org/prop/qualifier/P582> [] . } ) ) . ?var1 <http://www.wikidata.org/prop/P374> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P374> ?var2 . FILTER ( ( NOT EXISTS { ?var4 <http://www.wikidata.org/prop/qualifier/P582> [] . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_4876", "question": "What sources were used to support the claim that Douglas Adams attended St John's College?", "sparql": "SELECT ?referenceValue ?referenceProperty WHERE { s:q42-0E9C4724-C954-4698-84A7-5CE0D296A6F2 prov:wasDerivedFrom ?reference . ?reference ?referenceProperty ?referenceValue . }", "paraphrases": ["Show all reference details (like publisher, title, and retrieval date) for the educational background statement of Douglas Adams.", "What information is provided in the citation for Douglas Adams' education at St John's College?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/q42-0E9C4724-C954-4698-84A7-5CE0D296A6F2> <http://www.w3.org/ns/prov#wasDerivedFrom> ?var3 . ?var3 ?var2 ?var1 . }"}}
{"id": "test_4877", "question": "Humans born between January 1 and 14, 1950, who are still alive, with their birth place and gender.", "sparql": "SELECT ?person ?personLabel ?gender ?birthDate ?birthPlace ?birthPlaceLabel ?genderLabel WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P569 ?birthDate . ?person wdt:P21 ?gender . ?person wdt:P19 ?birthPlace . OPTIONAL { ?person wdt:P570 ?deathDate . } FILTER ( ?birthDate >= \"1950-01-01T00:00:00Z\"^^xsd:dateTime && ?birthDate < \"1950-01-15T00:00:00Z\"^^xsd:dateTime ) FILTER ( !BOUND(?deathDate) ) ?person rdfs:label ?personLabel . ?birthPlace rdfs:label ?birthPlaceLabel . ?gender rdfs:label ?genderLabel . FILTER (LANG(?personLabel) = \"en\") FILTER (LANG(?birthPlaceLabel) = \"en\") FILTER (LANG(?genderLabel) = \"en\") } ORDER BY ASC(?birthDate) ASC(?personLabel)", "paraphrases": ["Who are the living people born in early January 1950, and where and as what gender were they born?", "List the names, birth dates, places of birth, and genders of all humans born between January 1 and 14, 1950, who have not died yet, with English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var4Label ?var5Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var4 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var6 . } FILTER ( ( ( ?var3 >= \"1950-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var3 < \"1950-01-15T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( !( BOUND ( ?var6 ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var3 )ASC( ?var1Label )"}}
{"id": "test_4878", "question": "English label, description, and image of Usher's 1999 live album \"Live\".", "sparql": "SELECT ?label ?description ?image WHERE { OPTIONAL { wd:Q2381801 rdfs:label ?label . FILTER (LANG(?label) = \"en\") } OPTIONAL { wd:Q2381801 wdt:P18 ?image . } OPTIONAL { wd:Q2381801 schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["What is the English name and description of Usher's 1999 live album, and does it have an image on Wikimedia Commons?", "Show me the English name and description of the album \"Live\" by Usher, along with its image if available."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q2381801> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q2381801> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q2381801> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_4879", "question": "Lithuania's English label, description, and flag image", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?description ?flag WHERE {\n  OPTIONAL {\n    wd:Q37 rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n  OPTIONAL {\n    wd:Q37 schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n  OPTIONAL {\n    wd:Q37 wdt:P41 ?flag .\n  }\n}", "paraphrases": ["What is the English name, description, and flag of Lithuania?", "Show me the English label, description, and flag of Lithuania."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q37> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q37> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q37> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_4880", "question": "Czech protected areas with a Commons category but no image.", "sparql": "SELECT DISTINCT ?item ?category WHERE { ?item wdt:P677 ?usopCode . ?item wdt:P373 ?category . MINUS { ?item wdt:P18 [] . } }", "paraphrases": ["Which protected areas in the Czech Republic have a Wikimedia Commons category but do not have an associated image?", "List the names of Czech protected areas (identified by \u00daSOP code) that have a Commons category but no image uploaded."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P677> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P373> ?var2 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } }"}}
{"id": "test_4881", "question": "Properties with multiple links to Charles Le Roux, ordered by frequency", "sparql": "SELECT ?predicate (COUNT(?item) AS ?count) WHERE { ?item ?predicate wd:Q1237940 . } GROUP BY ?predicate HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["Which properties are used to link to Charles Le Roux more than once, and how many times do they appear?", "Show me all the properties that connect to Charles Le Roux with a count greater than one, sorted by how often they appear."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 ?var1 <http://www.wikidata.org/entity/Q1237940> . } GROUP BY ?var1 ?var2 HAVING ( ( ?var4 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var4 )"}}
{"id": "test_4882", "question": "What are the depictions, materials, and dimensions of the painting \"The Bohemian\" by William-Adolphe Bouguereau?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?painting ?paintingLabel ?depicted ?depictedLabel ?image ?genre ?genreLabel ?width ?height ?material ?materialLabel WHERE {\n  VALUES ?painting {\n    wd:Q1000128\n  }\n  ?painting wdt:P180 ?depicted .\n  ?painting wdt:P18 ?image .\n  OPTIONAL {\n    ?painting wdt:P136 ?genre .\n  }\n  OPTIONAL {\n    ?painting wdt:P2049 ?width .\n  }\n  OPTIONAL {\n    ?painting wdt:P2048 ?height .\n  }\n  OPTIONAL {\n    ?painting wdt:P186 ?material .\n  }\n  ?painting rdfs:label ?paintingLabel .\n  FILTER ( LANG( ?paintingLabel ) = \"en\" ) ?depicted rdfs:label ?depictedLabel .\n  FILTER ( LANG( ?depictedLabel ) = \"en\" ) OPTIONAL {\n    ?genre rdfs:label ?genreLabel .\n    FILTER ( LANG( ?genreLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?material rdfs:label ?materialLabel .\n    FILTER ( LANG( ?materialLabel ) = \"en\" )\n  }\n}", "paraphrases": ["Which objects are depicted in the painting \"The Bohemian\", what is it made of, and what are its width and height?", "Show me all the things shown in \"The Bohemian\" painting, along with the materials it was painted on, its genre, and its size."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var4Label ?var5 ?var5Label ?var6 ?var6Label ?var7 ?var7Label ?var8 ?var9 ?var10 ?var10Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3305213> . ?var1 <http://www.wikidata.org/prop/direct/P180> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P135> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P170> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P495> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2049> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2048> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P186> ?var10 . } } LIMIT 5"}}
{"id": "test_4883", "question": "Who were born on January 1, 1950?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nSELECT ?human ?humanLabel ?birthDate WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human wdt:P569 ?birthDate .\n  ?human rdfs:label ?humanLabel .\n  FILTER ( ?birthDate = \"1950-01-01T00:00:00Z\" ^^ xsd:dateTime ) FILTER ( LANG( ?humanLabel ) = \"en\" )\n}\nORDER BY ASC ( ?humanLabel )", "paraphrases": ["List the names and birth dates of all humans born on January 1, 1950.", "Can you tell me the English-labeled people in Wikidata who were born on exactly January 1, 1950?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P21> ?var3 . FILTER ( ( ( ?var2 >= \"1950-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 < \"1950-01-02\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_4884", "question": "Fictional characters inspired by real people, with the real person's name.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?fictionalCharacter ?fictionalCharacterLabel ?realPersonLabel WHERE {\n  ?fictionalCharacter wdt:P941 ?realPerson ; wdt:P31 wd:Q95074 .\n  ?realPerson wdt:P31 wd:Q5 .\n  ?fictionalCharacter rdfs:label ?fictionalCharacterLabel .\n  ?realPerson rdfs:label ?realPersonLabel .\n  FILTER ( LANG( ?fictionalCharacterLabel ) = \"en\" ) FILTER ( LANG( ?realPersonLabel ) = \"en\" )\n}\nORDER BY ASC ( ?realPersonLabel )", "paraphrases": ["Which fictional characters are inspired by real humans, and who are those humans?", "List fictional characters and the real people who inspired them, sorted alphabetically by the real person\u2019s name."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P941> ?var3 ; ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q95074> . ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var3Label )"}}
{"id": "test_4885", "question": "Who are the authors on Catalan Wikisource who were humans with known birth and death dates, and what are those dates?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel ?birthDate ?deathDate ?wikisourcePage WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P569 ?birthDate .\n  ?person wdt:P570 ?deathDate .\n  ?wikisourcePage schema:about ?person .\n  ?wikisourcePage schema:isPartOf <https://ca.wikisource.org/> .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"ca\" )\n}\nLIMIT 5", "paraphrases": ["Humans with birth and death dates linked to Catalan Wikisource author pages.", "Show me the names, birth and death dates, and Wikisource links of authors from Catalan Wikisource who are humans."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://ca.wikisource.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ca\". } } LIMIT 5"}}
{"id": "test_4886", "question": "What is the English Wikipedia page and Freebase ID for the film with IMDb ID tt1655441?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?wikipediaPage ?freebaseId ?award WHERE {\n  ?film wdt:P31 wd:Q11424 ; wdt:P345 \"tt1655441\" .\n  OPTIONAL {\n    ?wikipediaPage schema:about ?film ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n  OPTIONAL {\n    ?film p:P166 ?awardStmt .\n    ?awardStmt ps:P166 ?awardItem .\n    ?awardItem rdfs:label ?award .\n    FILTER(LANG(?award) = \"en\")\n  }\n  OPTIONAL {\n    ?film wdt:P1258 ?freebaseId .\n  }\n}", "paraphrases": ["Can you tell me the Wikipedia link and any awards won by the movie \"The Age of Adaline\"?", "Show me the English Wikipedia page and Rotten Tomatoes identifier for the film identified by IMDb tt1655441."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var4 <http://www.wikidata.org/prop/direct/P345> ?var5 . OPTIONAL { ?var1 <http://schema.org/about> ?var4 . ?var1 <http://schema.org/inLanguage> \"en\". ?var1 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/P166> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P166> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P1258> ?var2 . } FILTER ( ( ( ?var5 = \"tt1655441\" ) ) ) . }"}}
{"id": "test_4887", "question": "Humans with Spanish Wikisource pages, including their birth and death dates and country of citizenship.", "sparql": "SELECT ?human ?humanLabel ?birthDate ?deathDate ?countryLabel ?wikisourcePage WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P569 ?birthDate . ?human wdt:P570 ?deathDate . ?human wdt:P27 ?country . ?wikisourcePage schema:about ?human . ?wikisourcePage schema:isPartOf <https://es.wikisource.org/> . ?human rdfs:label ?humanLabel . ?country rdfs:label ?countryLabel . FILTER(LANG(?humanLabel) = \"en\") FILTER(LANG(?countryLabel) = \"en\") } LIMIT 2000", "paraphrases": ["Who are the humans listed on Spanish Wikisource, and what are their birth dates, death dates, and countries of citizenship?", "List all authors on Spanish Wikisource who are humans, along with their names, dates of birth and death, and nationalities."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4Label ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P27> ?var4 . ?var5 <http://schema.org/about> ?var1 . ?var5 <http://schema.org/isPartOf> <https://es.wikisource.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es\". } } LIMIT 2000"}}
{"id": "test_4888", "question": "Who were the victims of assassination by Members of Parliament in England, Great Britain, or the UK, and when did they die?", "sparql": "SELECT DISTINCT ?victim ?victimLabel ?killer ?killerLabel ?deathDate WHERE { ?victim wdt:P31 wd:Q5 ; wdt:P157 ?killer . VALUES ?target_position { wd:Q16707842 wd:Q18015642 wd:Q18018860 } ?killer wdt:P39 ?position . ?position wdt:P279* ?target_position . OPTIONAL { ?victim wdt:P570 ?deathDate } OPTIONAL { ?victim rdfs:label ?victimLabel . FILTER(LANG(?victimLabel) = \"en\") } OPTIONAL { ?killer rdfs:label ?killerLabel . FILTER(LANG(?killerLabel) = \"en\") } }", "paraphrases": ["Which humans were killed by individuals who held positions as Members of Parliament in England, Great Britain, or the UK, and what were their dates of death?", "List people who were assassinated by former or current MPs from the Parliament of England, Great Britain, or the UK, along with their names, their killers' names, and their death dates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P157> ?var2 . { ?var2 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q16707842> . } UNION { ?var2 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q18015642> . } UNION { ?var2 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q18018860> . } UNION { ?var2 <http://www.wikidata.org/prop/direct/P39> [ <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q16707842> ] . } UNION { ?var2 <http://www.wikidata.org/prop/direct/P39> [ <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q18015642> ] . } UNION { ?var2 <http://www.wikidata.org/prop/direct/P39> [ <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q18018860> ] . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4889", "question": "People named Ehud and their birthplace coordinates", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel ?coordinates WHERE {\n  ?person wdt:P735 wd:Q11966675 .\n  ?person wdt:P19 ?birthPlace .\n  ?birthPlace wdt:P625 ?coordinates .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}", "paraphrases": ["Where were people named Ehud born, and what are the geographic coordinates of those places?", "Show me the names and birthplace coordinates of all people whose given name is Ehud."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P735> <http://www.wikidata.org/entity/Q11966675> . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_4890", "question": "Village with OKATO ID 82255000002", "sparql": "SELECT ?village ?villageLabel WHERE { ?village wdt:P721 \"82255000002\" . ?village rdfs:label ?villageLabel . FILTER(LANGMATCHES(LANG(?villageLabel), \"en\")) }", "paraphrases": ["What is the name of the village in Russia that has the OKATO identifier 82255000002?", "Show me the English name of the Russian village identified by OKATO code 82255000002."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P721> \"82255000002\". }"}}
{"id": "test_4891", "question": "Beaches in France", "sparql": "SELECT ?beach ?beachLabel WHERE { ?beach wdt:P31 wd:Q40080 . ?beach wdt:P17 wd:Q142 . ?beach rdfs:label ?beachLabel . FILTER(LANGMATCHES(LANG(?beachLabel), \"en\")) }", "paraphrases": ["What are the beaches in France?", "List the English names of all beaches located in France."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q40080> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q142> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } OPTIONAL { } }"}}
{"id": "test_4892", "question": "What are the direct subclasses of creative work in Wikidata?", "sparql": "SELECT DISTINCT ?subclass WHERE { ?subclass wdt:P279 wd:Q17537576 . }", "paraphrases": ["Can you list types of works that are considered subclasses of creative work?", "Show me examples of categories that fall under creative work, such as reports or trading cards."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q18618644> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_4893", "question": "Farmers associated with creative works and their genres", "sparql": "SELECT ?person ?personLabel ?genre ?genreLabel WHERE { ?person wdt:P106 wd:Q131512 . { ?work wdt:P175 ?person . } UNION { ?work wdt:P161 ?person . } UNION { ?work wdt:P162 ?person . } UNION { ?work wdt:P86 ?person . } UNION { ?work wdt:P170 ?person . } ?work wdt:P136 ?genre . ?person rdfs:label ?personLabel . ?genre rdfs:label ?genreLabel . FILTER(LANG(?personLabel) = \"en\") FILTER(LANG(?genreLabel) = \"en\") } LIMIT 100", "paraphrases": ["Which people who are farmers have created or performed in works of different genres?", "Show me farmers and the genres of the creative works they are involved in."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var3 . OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P136> ?var2 . } } LIMIT 100"}}
{"id": "test_4894", "question": "What are the birth and death dates of actor Logan Ramsey?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  wd:Q6667132 rdfs:label ?personLabel .\n  OPTIONAL {\n    wd:Q6667132 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q6667132 wdt:P570 ?deathDate .\n  }\n  FILTER(LANG(?personLabel) = \"en\")\n}", "paraphrases": ["When was Logan Ramsey born and when did he die?", "Can you provide the lifespan of Logan Ramsey, the American actor?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q6667132> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4895", "question": "What are the birth and death dates of Andries Stockenstr\u00f6m?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?birthDate ?deathDate WHERE {\n  wd:Q4759322 wdt:P31 wd:Q5 .\n  wd:Q4759322 rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" || LANG( ?label ) = \"\" ) OPTIONAL {\n    wd:Q4759322 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q4759322 wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["Can you tell me the full name, date of birth, and date of death of the South African politician Andries Stockenstr\u00f6m?", "Show me the label, birth date, and death date for the human entity Q4759322 (Andries Stockenstr\u00f6m)."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q4759322> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4896", "question": "What Wikidata item corresponds to the scientific name \"Homo sapiens\"?", "sparql": "SELECT ?taxon WHERE { ?taxon wdt:P225 \"Homo sapiens\" . }", "paraphrases": ["Find the entity in Wikidata that has the taxon name \"Homo sapiens\".", "Which species in Wikidata is identified by the scientific name Homo sapiens?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P225> \"string1\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_4897", "question": "Who were the passengers of the Mayflower voyage, and what were their birth and death dates?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?participantLabel ?birthDate ?deathDate WHERE {\n  wd:Q41967248 wdt:P710 ?participant .\n  ?participant wdt:P31 wd:Q5 .\n  OPTIONAL {\n    ?participant wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?participant wdt:P570 ?deathDate .\n  }\n  ?participant rdfs:label ?participantLabel .\n  FILTER(LANG(?participantLabel) = \"en\")\n}", "paraphrases": ["Can you list the names, birth dates, and death dates of the people who sailed on the Mayflower in 1620?", "What are the birth and death dates of the human participants in the historic Mayflower voyage?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q2515074> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4898", "question": "Which given names are distinguished from Johann and what criterion is used?", "sparql": "SELECT ?item ?statement ?criterion WHERE { ?statement ps:P1889 wd:Q11122389 . ?item p:P1889 ?statement . ?statement pq:P1013 ?criterion . }", "paraphrases": ["Why is John listed as different from Johann on Wikidata, and what disambiguation criterion is applied?", "Show me the items that are disambiguated from the name Johann and the reason (criterion) for the distinction."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P1889> <http://www.wikidata.org/entity/Q11122389> . ?var1 <http://www.wikidata.org/prop/P1889> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_4899", "question": "What are some examples of volcanic landforms?", "sparql": "SELECT ?volcanic_landform WHERE { ?volcanic_landform wdt:P31 wd:Q29025902 .}", "paraphrases": ["List all entities classified as volcanic landforms in Wikidata.", "Which geographical features are types of volcanic landforms?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q29848066> . }"}}
{"id": "test_4900", "question": "Remarkable trees in \u017d\u010f\u00e1r nad S\u00e1zavou District, Czech Republic", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?tree WHERE {\n  ?tree wdt:P31 wd:Q811534 .\n  ?tree wdt:P17 wd:Q213 .\n  ?tree wdt:P131 * wd:Q579648 .\n}", "paraphrases": ["What are the notable trees located in the \u017d\u010f\u00e1r nad S\u00e1zavou District of the Czech Republic?", "List all protected or historically significant trees in the \u017d\u010f\u00e1r nad S\u00e1zavou District, Czech Republic."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q811534> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q213> . ?var1 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q579648> . }"}}
{"id": "test_4901", "question": "What are the medical categories that retroperitoneal cancer belongs to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?ancestor ?ancestorLabel WHERE {\n  wd:Q18557049 wdt:P279 + ?ancestor .\n  ?ancestor wdt:P279 * wd:Q12136 .\n  ?ancestor rdfs:label ?ancestorLabel .\n  FILTER ( LANG( ?ancestorLabel ) = \"en\" )\n}\nORDER BY ?ancestorLabel", "paraphrases": ["Can you list all the disease-related parent classes of retroperitoneal cancer in the hierarchy?", "Show me the hierarchy of diseases leading up to retroperitoneal cancer, including categories like cancer, neoplasm, and tumor."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q18557049> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_4902", "question": "What are the birth and death dates of Frederick Sanger?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?date ?propertyLabel WHERE {\n  wd:Q151564 ?prop ?date .\n  FILTER ( DATATYPE( ?date ) = xsd:dateTime ) .\n  BIND( IRI( REPLACE( STR( ?prop ) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\" ) ) AS ?propertyEntity ) .\n  ?propertyEntity rdfs:label ?propertyLabel .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" )\n}", "paraphrases": ["Can you tell me the English labels of the properties that store Frederick Sanger\u2019s date of birth and date of death?", "Show me the dates associated with Frederick Sanger and what those date fields are called (e.g., \u201cdate of birth\u201d)."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3Label WHERE { { <http://www.wikidata.org/entity/Q151564> ?var4 ?var1 . FILTER ( ( ( DATATYPE ( ?var1 ) = <http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . ?var3 <http://wikiba.se/ontology#directClaim> ?var4 . } UNION { BIND ( IRI ( CONCAT ( CONCAT ( SUBSTR ( STR ( ?var5 ) ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"29\"^^<http://www.w3.org/2001/XMLSchema#integer> ) , \"direct/\" ) , SUBSTR ( STR ( ?var5 ) ,\"40\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) AS ?var2 ). <http://www.wikidata.org/entity/Q151564> ?var6 ?var7 . FILTER ( ( REGEX ( STR ( ?var6 ) , \"prop/P\" ) ) ) . ?var7 ?var8 ?var1 . FILTER ( ( REGEX ( STR ( ?var8 ) , \"string1\" ) ) ) . FILTER ( ( ( DATATYPE ( ?var1 ) = <http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . ?var7 ?var5 ?var3 . FILTER ( ( REGEX ( STR ( ?var5 ) , \"string2\" ) ) ) . ?var9 <http://wikiba.se/ontology#directClaim> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4903", "question": "Art Nouveau prints in the Cabinet of Drawings and Prints with documented significant events, labeled in Catalan.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P195 wd:Q23681667 .\n  ?item wdt:P135 wd:Q34636 .\n  FILTER(EXISTS {\n    ?item wdt:P793 []\n  })\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER(LANG(?itemLabel) = \"ca\")\n  }\n}", "paraphrases": ["What are the Catalan-labeled artworks in the Cabinet of Drawings and Prints that belong to the Art Nouveau movement and have notable events associated with them?", "List the Catalan titles of Art Nouveau drawings and prints held in the Cabinet of Drawings and Prints that are linked to significant events."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P195> <http://www.wikidata.org/entity/Q23681667> . ?var1 <http://www.wikidata.org/prop/direct/P135> <http://www.wikidata.org/entity/Q34636> . FILTER ( ( EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P793> ?var2 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ca,ca\". } }"}}
{"id": "test_4904", "question": "Most used property to classify entities as taxa in Wikidata", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nSELECT ?property(COUNT(?item) AS ?count) WHERE {\n  ?item ?p wd:Q16521 .\n  ?property wikibase:directClaim ?p .\n  ?property rdf:type wikibase:Property .\n}\nGROUP BY ?property\nORDER BY DESC(?count)\nLIMIT 1", "paraphrases": ["Which property is most frequently used to indicate that an entity is a taxon?", "Show me the property that is used the most to classify organisms as taxonomic units in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q16521> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_4905", "question": "What are the geographic coordinates of Berlin Anhalter Bahnhof?", "sparql": "SELECT ?station ?stationLabel ?coordinates WHERE { BIND(wd:Q695244 AS ?station) . ?station wdt:P625 ?coordinates . ?station rdfs:label ?stationLabel . FILTER(LANG(?stationLabel) = \"en\") }", "paraphrases": ["Coordinates of Berlin Anhalter Bahnhof station.", "Can you tell me the location (latitude and longitude) of the former Berlin Anhalter Bahnhof railway station?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { BIND ( <http://www.wikidata.org/entity/Q695244> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_4906", "question": "What are the coordinates of Leipziger Platz in Berlin?", "sparql": "SELECT ?place ?placeLabel ?coordinates WHERE { BIND( wd:Q672806 AS ?place ) . ?place wdt:P625 ?coordinates . ?place rdfs:label ?placeLabel . FILTER(LANG(?placeLabel) = \"en\") }", "paraphrases": ["Where is Leipziger Platz located?", "Can you tell me the name and GPS coordinates of Leipziger Platz?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { BIND ( <http://www.wikidata.org/entity/Q672806> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_4907", "question": "Top subjects of Roger P. Woods\u2019 publications and sample work titles, ordered by count.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT(COUNT(?work) AS ?count) ?subjectLabel(SAMPLE(SUBSTR(?workLabel , 1 , 60)) AS ?truncatedWorkLabel) WHERE {\n  ?work wdt:P50 wd:Q36487048 .\n  ?work wdt:P921 ?subject .\n  ?subject rdfs:label ?subjectLabel .\n  FILTER(LANG(?subjectLabel) = \"en\")\n  .\n  ?work rdfs:label ?workLabel .\n  FILTER(LANG(?workLabel) = \"en\")\n}\nGROUP BY ?subject ?subjectLabel\nORDER BY DESC(?count)", "paraphrases": ["What are the most common research topics in Roger P. Woods\u2019 papers, and what are some example titles of those works?", "Show me the number of publications by Roger P. Woods for each main subject, along with a truncated title of one of those publications, sorted by popularity."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label WHERE { { SELECT ?var4 ( COUNT ( ?var5 ) AS ?var1 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q36487048> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . } GROUP BY ?var4 ORDER BY DESC( ?var1 ) } BIND ( SUBSTR ( ?var6Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q36487048> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . }"}}
{"id": "test_4908", "question": "Films without titles on Wikidata that have a Catalan Wikipedia page.", "sparql": "SELECT ?film ?caPage WHERE { ?film wdt:P31 wd:Q11424 . ?caPage schema:about ?film ; schema:isPartOf <https://ca.wikipedia.org/> . FILTER NOT EXISTS { ?film wdt:P1476 ?title . } } ORDER BY ?film", "paraphrases": ["Which films are listed on the Catalan Wikipedia but do not have a title specified on Wikidata?", "Show me films that exist on the Catalan Wikipedia but lack a title in their Wikidata entry."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var4 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://ca.wikipedia.org/> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var5 . } ) ) . OPTIONAL { ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 ; <http://wikiba.se/ontology#statements> ?var3 . } } ORDER BY DESC( <http://www.w3.org/2001/XMLSchema#integer> ( STRAFTER ( STR ( ?var1 ) , \"Q\" ) ) )"}}
{"id": "test_4909", "question": "What is the Wikidata item for the movie with IMDb ID tt0385700?", "sparql": "SELECT ?movie WHERE { ?movie wdt:P345 \"tt0385700\" . }", "paraphrases": ["Wikidata item for IMDb tt0385700", "Find the movie in Wikidata that has the IMDb identifier tt0385700."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0385700\". }"}}
{"id": "test_4910", "question": "What film has the FilmAffinity ID 987912?", "sparql": "SELECT ?film ?filmLabel WHERE { ?film wdt:P480 \"987912\" . ?film rdfs:label ?filmLabel . FILTER(LANG(?filmLabel) = \"en\") }", "paraphrases": ["Which movie on Wikidata is identified by the FilmAffinity film ID 987912?", "Find the English title of the film with FilmAffinity ID 987912."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P480> \"987912\". }"}}
{"id": "test_4911", "question": "Which movie has the \u010cSFD film ID 218333?", "sparql": "SELECT ?movie WHERE { ?movie wdt:P2529 \"218333\" . }", "paraphrases": ["What is the title of the movie identified by the \u010cSFD ID 218333?", "Tell me the movie that corresponds to the \u010cSFD film ID 218333."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2529> \"218333\". }"}}
{"id": "test_4912", "question": "What are the director, cast, genre, and awards of the 2008 film The Dark Knight?", "sparql": "SELECT \n  (GROUP_CONCAT(DISTINCT ?directorLabel; separator=\", \") AS ?directors)\n  (GROUP_CONCAT(DISTINCT ?castLabel; separator=\", \") AS ?castList)\n  (GROUP_CONCAT(DISTINCT ?subjectLabel; separator=\", \") AS ?subjectList)\n  (GROUP_CONCAT(DISTINCT ?basedOnLabel; separator=\", \") AS ?basedOnList)\n  (GROUP_CONCAT(DISTINCT STR(?gross); separator=\", \") AS ?grosses)\n  (GROUP_CONCAT(DISTINCT ?genreLabel; separator=\", \") AS ?genres)\n  (GROUP_CONCAT(DISTINCT ?awardLabel; separator=\", \") AS ?awards)\n  (GROUP_CONCAT(DISTINCT STR(?releaseDate); separator=\", \") AS ?releaseDates)\n  (GROUP_CONCAT(DISTINCT ?movementLabel; separator=\", \") AS ?movements)\nWHERE {\n  VALUES ?film { wd:Q163872 }\n  \n  OPTIONAL { ?film wdt:P57 ?director . \n             ?director rdfs:label ?directorLabel . FILTER(LANG(?directorLabel) = \"en\") }\n  \n  OPTIONAL { ?film wdt:P161 ?cast . \n             ?cast rdfs:label ?castLabel . FILTER(LANG(?castLabel) = \"en\") }\n  \n  OPTIONAL { ?film wdt:P921 ?subject . \n             ?subject rdfs:label ?subjectLabel . FILTER(LANG(?subjectLabel) = \"en\") }\n  \n  OPTIONAL { ?film wdt:P144 ?basedOn . \n             ?basedOn rdfs:label ?basedOnLabel . FILTER(LANG(?basedOnLabel) = \"en\") }\n  \n  OPTIONAL { ?film wdt:P2142 ?gross . }\n  \n  OPTIONAL { ?film wdt:P136 ?genre . \n             ?genre rdfs:label ?genreLabel . FILTER(LANG(?genreLabel) = \"en\") }\n  \n  OPTIONAL { ?film wdt:P166 ?award . \n             ?award rdfs:label ?awardLabel . FILTER(LANG(?awardLabel) = \"en\") }\n  \n  OPTIONAL { ?film wdt:P577 ?releaseDate . }\n  \n  OPTIONAL { ?film wdt:P135 ?movement . \n             ?movement rdfs:label ?movementLabel . FILTER(LANG(?movementLabel) = \"en\") }\n}\nGROUP BY ?film", "paraphrases": ["Can you tell me the box office earnings, release dates, and source material for the movie The Dark Knight?", "Provide a summary of The Dark Knight including its director, main cast, themes, and critical recognition."], "info": {"raw_sparql": "CONSTRUCT { ?var1 <http://blippar.com/ns/0.1/ontology/hasDirector> ?var2 ; <http://blippar.com/ns/0.1/ontology/hasStarring> ?var3 ; <http://blippar.com/ns/0.1/ontology/hasSubject> ?var4 ; <http://blippar.com/ns/0.1/ontology/basedOn> ?var5 ; <http://blippar.com/ns/0.1/ontology/gross> ?var6 ; <http://blippar.com/ns/0.1/ontology/hasGenre> ?var7 ; <http://blippar.com/ns/0.1/ontology/hasAwards> ?var8 ; <http://blippar.com/ns/0.1/ontology/hasReleaseDate> ?var9 ; <http://blippar.com/ns/0.1/ontology/hasMovemnet> ?var10 } WHERE { OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P57> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P161> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P921> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P144> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2142> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P166> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P135> ?var10 . } VALUES ( ?var1 ?var11 ) { ( <http://www.wikidata.org/entity/Q1861002> \"bw:0:32357\" ) } }"}}
{"id": "test_4913", "question": "What are the different types of lakes?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?lakeType ?lakeTypeLabel WHERE {\n  ?lakeType wdt:P279 * wd:Q23397 .\n  ?lakeType rdfs:label ?lakeTypeLabel .\n  FILTER ( LANG( ?lakeTypeLabel ) = \"en\" )\n}\nORDER BY ?lakeTypeLabel", "paraphrases": ["List all subclasses of lake with their English names.", "Can you show me all kinds of lakes, such as alpine lakes or crater lakes, with their proper names?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q23397> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_4914", "question": "What are the most common film genres on Wikidata, and how many films belong to each?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?genre ?genreLabel(SAMPLE(?category) AS ?categoryLabel)(SAMPLE(?subgenre) AS ?subgenreLabel)(COUNT(DISTINCT ?film) AS ?filmCount)(GROUP_CONCAT(CONCAT(\"[[\" , STRAFTER(STR(?film) , \"entity/\") , \"|\" , STR(?filmLabel) , \"]]\") ; SEPARATOR = \", \") AS ?filmList) WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P31 ?genre .\n  FILTER(?genre NOT IN(wd:Q11424 , wd:Q229390 , wd:Q170584 , wd:Q18011172 , wd:Q193955 , wd:Q4167410))\n  FILTER(?film != wd:Q15397819)\n  BIND(IF(?genre IN(wd:Q4167410 , wd:Q571 , wd:Q482994 , wd:Q170584 , wd:Q18011172 , wd:Q1366112) , \"NOK\" , \"\") AS ?category)\n  BIND(IF(?genre IN(wd:Q1135802 , wd:Q1366112 , wd:Q12912091) , \"Art/Fiction/Drama\" , IF(?genre = wd:Q571 , \"Book\" , \"\")) AS ?subgenre)\n  ?genre rdfs:label ?genreLabel .\n  ?film rdfs:label ?filmLabel .\n  FILTER(LANG(?genreLabel) = \"en\")\n  FILTER(LANG(?filmLabel) = \"en\")\n}\nGROUP BY ?genre ?genreLabel\nORDER BY DESC(?filmCount) ASC(?genreLabel)\nLIMIT 100", "paraphrases": ["Can you list the top 100 film genres (excluding broad categories like books or projects), along with sample films in each and their counts?", "Show me a breakdown of film types by frequency, including links to example films, but exclude disambiguation pages, books, and projects."], "info": {"raw_sparql": "SELECT( ?var1 AS ?var2 ) ?var1Label ( SAMPLE ( ?var3 ) AS ?var3 )( SAMPLE ( ?var4 ) AS ?var4 )( COUNT ( DISTINCT ?var5 ) AS ?var6 )( GROUP_CONCAT ( CONCAT ( \"[[\", STRAFTER ( STR ( ?var5 ) , \"y/\" ) , \"|\", STR ( ?var5Label ) , \"]]\" ) ; SEPARATOR = \", \" ) AS ?var7 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var5 <http://www.wikidata.org/prop/direct/P31> ?var1 . FILTER ( ( ?var1 NOT IN ( <http://www.wikidata.org/entity/Q11424> , <http://www.wikidata.org/entity/Q229390> , <http://www.wikidata.org/entity/Q170584> , <http://www.wikidata.org/entity/Q18011172> , <http://www.wikidata.org/entity/Q193955> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . } BIND ( IF ( ?var1 IN ( <http://www.wikidata.org/entity/Q4167410> , <http://www.wikidata.org/entity/Q571> , <http://www.wikidata.org/entity/Q482994> , <http://www.wikidata.org/entity/Q17362920> , <http://www.wikidata.org/entity/Q13406463> , <http://www.wikidata.org/entity/Q1366112> ) , \"NOK\", \"\" ) AS ?var3 ). BIND ( IF ( ?var1 IN ( <http://www.wikidata.org/entity/Q1135802> , <http://www.wikidata.org/entity/Q1366112> , <http://www.wikidata.org/entity/Q12912091> ) , \"string2\", IF ( ?var1 IN ( <http://www.wikidata.org/entity/Q571> ) , \"string3\", \"\" ) ) AS ?var4 ). FILTER ( ( ( ?var1 != <http://www.wikidata.org/entity/Q28725735> ) ) ) . FILTER ( ( ( ?var5 != <http://www.wikidata.org/entity/Q15397819> ) ) ) . } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var6 )ASC( ?var1Label ) LIMIT 100"}}
{"id": "test_4915", "question": "What are the genres and Freebase ID of the film \"Twin Peaks: Fire Walk with Me\"?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?filmLabel ?genreLabel ?freebaseId WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film rdfs:label ?filmLabel .\n  FILTER(LANG(?filmLabel) = \"en\")\n  ?film wdt:P136 ?genre .\n  ?genre rdfs:label ?genreLabel .\n  FILTER(LANG(?genreLabel) = \"en\")\n  ?film wdt:P646 ?freebaseId .\n  FILTER(CONTAINS(LCASE(?filmLabel) , \"twin peaks\"))\n}\nLIMIT 10", "paraphrases": ["What genres does the movie Twin Peaks: Fire Walk with Me belong to, and what is its Freebase identifier?", "Show me the English labels for the genres and the Freebase ID of the film titled \"Twin Peaks: Fire Walk with Me\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P136> ?var6 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P646> ?var5 . FILTER ( ( CONTAINS ( LCASE ( ?var2 ) , \"twin peaks\"@en ) ) ) . } LIMIT 10"}}
{"id": "test_4916", "question": "List items with images on Wikimedia Commons.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?image WHERE {\n  ?item wdt:P18 ?image .\n}\nLIMIT 100", "paraphrases": ["Which items on Wikidata have associated images on Wikimedia Commons?", "Show me up to 100 entities from Wikidata that have images linked to them on Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var4Label ?var5 ?var5Label ?var6 ?var6Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1196> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P361> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P138> ?var6 . } } LIMIT 100"}}
{"id": "test_4917", "question": "List of Nigerian National Assembly members with English labels.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?member ?memberLabel WHERE {\n  ?member wdt:P4139 ?id .\n  ?member wdt:P31 wd:Q5 .\n  ?member rdfs:label ?memberLabel .\n  FILTER(LANG(?memberLabel) = \"en\")\n}", "paraphrases": ["Who are the members of the Nigerian National Assembly whose names are available in English?", "Please provide the English names of all individuals who are members of the Nigerian National Assembly."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4139> [] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_4918", "question": "Citations received per year by Gitte Moos Knudsen, Giselle M. Knudsen, and Gitte M. Knudsen", "sparql": "SELECT ?year ?author ?authorLabel ?citationCount WHERE { { SELECT ?author ?year (COUNT(?citation) AS ?citationCount) WHERE { VALUES ?author { wd:Q36652100 wd:Q5565155 wd:Q36462772 } ?work wdt:P50 ?author . ?work wdt:P577 ?pubDate . BIND(YEAR(?pubDate) AS ?year) ?citation wdt:P2860 ?work . } GROUP BY ?author ?year } ?author rdfs:label ?authorLabel . FILTER(LANG(?authorLabel) = \"en\") } ORDER BY ?year", "paraphrases": ["How many times were papers by Gitte Moos Knudsen, Giselle M. Knudsen, and Gitte M. Knudsen cited each year?", "Show the number of citations received annually by the works of Gitte Moos Knudsen, Giselle M. Knudsen, and Gitte M. Knudsen, grouped by publication year."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var3Label WHERE { { SELECT ?var3 ?var1 ( COUNT ( ?var4 ) AS ?var2 ) WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q36652100> ) ( <http://www.wikidata.org/entity/Q5565155> ) ( <http://www.wikidata.org/entity/Q36462772> ) } BIND ( STR ( YEAR ( ?var5 ) ) AS ?var1 ). ?var6 <http://www.wikidata.org/prop/direct/P50> ?var3 . ?var6 <http://www.wikidata.org/prop/direct/P577> ?var5 . ?var4 <http://www.wikidata.org/prop/direct/P2860> ?var6 . } GROUP BY ?var3 ?var1 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_4919", "question": "Who is Steve Jobs\u2019s father?", "sparql": "SELECT ?father ?fatherLabel WHERE { wd:Q19837 wdt:P22 ?father . ?father rdfs:label ?fatherLabel . FILTER(LANG(?fatherLabel) = \"en\") }", "paraphrases": ["What is the name of Steve Jobs\u2019s biological father?", "Can you tell me the English label of Steve Jobs\u2019s father?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q89> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"20\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> \"100\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P22> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P22> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_4920", "question": "What software systems are based on TeX?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?system ?systemLabel WHERE {\n  ?system wdt:P144 wd:Q5301 .\n  ?system rdfs:label ?systemLabel .\n  FILTER ( LANG( ?systemLabel ) = \"en\" )\n}", "paraphrases": ["Which typesetting systems were developed as adaptations of TeX?", "List the programs that use TeX as their foundation."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P144> <http://www.wikidata.org/entity/Q5301> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4921", "question": "Administrative hierarchy and continent of Munse village in Indonesia.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item WHERE {\n  {\n    wd:Q26218478(wdt:P131) + ?item .\n  } UNION {\n    wd:Q26218478(wdt:P131) + ?country .\n    ?country wdt:P30 ?item .\n  }\n}", "paraphrases": ["What administrative regions and continent is the village of Munse part of?", "List all higher-level administrative divisions and the continent that include the village of Munse."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q26218478> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_4922", "question": "Administrative territories Rzesz\u00f3w has belonged to, including historical ones.", "sparql": "SELECT ?administrativeEntity ?administrativeEntityLabel WHERE { wd:Q598 wdt:P131* ?administrativeEntity . ?administrativeEntity rdfs:label ?administrativeEntityLabel . FILTER(LANG(?administrativeEntityLabel) = \"en\")}", "paraphrases": ["What countries and regions has Rzesz\u00f3w been part of throughout history?", "List all administrative entities that Rzesz\u00f3w is or has been located in, from the past to the present."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q598> <http://www.wikidata.org/prop/direct/P131> * ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en, pl\". } }"}}
{"id": "test_4923", "question": "Countries with ISO 3166-2 codes and their codes", "sparql": "SELECT DISTINCT ?country ?isoCode WHERE { ?country wdt:P300 ?isoCode . ?country wdt:P31 wd:Q6256 . }", "paraphrases": ["Which countries have ISO 3166-2 subdivision codes, and what are those codes?", "List all countries that are assigned ISO 3166-2 codes along with their corresponding codes."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P300> ?var2 . ?var1 ?var3 <http://www.wikidata.org/entity/Q6256> . }"}}
{"id": "test_4924", "question": "What are the Wikipedia articles in different languages about the European Union Agency for Cybersecurity?", "sparql": "SELECT ?wikipediaPage WHERE { ?wikipediaPage schema:about wd:Q1377194 . }", "paraphrases": ["Which Wikimedia pages are linked to the European Union Agency for Cybersecurity?", "Can you list all web pages that describe ENISA?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var2 <http://schema.org/about> <http://www.wikidata.org/entity/Q1377194> . }"}}
{"id": "test_4925", "question": "What administrative regions and continent include the Bukowno Przymiarki train station?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?var1 ?label WHERE {\n  {\n    wd:Q1900354(wdt:P131) + ?var1\n  } UNION {\n    wd:Q1900354 wdt:P17 ?country .\n    ?country wdt:P30 ?var1\n  }\n  .\n  ?var1 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["List all geographic entities, from town to continent, that the Bukowno Przymiarki railway station belongs to.", "Show the town, county, voivodeship, country, and continent associated with Bukowno Przymiarki train stop."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q1900354> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_4926", "question": "What are the films without directors that have a Catalan Wikipedia page and an English label?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?film ?filmLabel WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  FILTER ( NOT EXISTS {\n    ?film wdt:P57 []\n  }\n  ) .\n  FILTER ( EXISTS {\n    [] schema:about ?film ; schema:isPartOf <https://ca.wikipedia.org/>\n  }\n  ) .\n  ?film rdfs:label ?filmLabel .\n  FILTER ( LANG( ?filmLabel ) = \"en\" )\n}", "paraphrases": ["Can you list films that are not directed by anyone, are available on the Catalan Wikipedia, and have an English title?", "Show me films classified as movies that have no director assigned, a page on the Catalan Wikipedia, and an English name."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var4 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://ca.wikipedia.org/> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P57> ?var5 . } ) ) . ?var1 <http://wikiba.se/ontology#sitelinks> \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://wikiba.se/ontology#statements> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en,ca\". } }"}}
{"id": "test_4927", "question": "Female human artists", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?artist ?artistLabel WHERE {\n  ?artist wdt:P31 wd:Q5 ; wdt:P21 wd:Q6581072 ; wdt:P106 wd:Q483501 .\n  ?artist rdfs:label ?artistLabel .\n  FILTER ( LANG( ?artistLabel ) = \"en\" )\n}\nORDER BY ?artistLabel\nLIMIT 100", "paraphrases": ["Who are some female artists who are human?", "List 100 English-named female human artists, showing their names and Wikidata IDs."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> ; <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q483501> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_4928", "question": "What are the occupations of Will Smith?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?occupationLabel WHERE {\n  wd:Q40096 wdt:P106 ?occupation .\n  ?occupation rdfs:label ?occupationLabel .\n  FILTER(LANG(?occupationLabel) = \"en\")\n}", "paraphrases": ["Is Will Smith an actor, singer, or film producer?", "Can you tell me what jobs Will Smith has had in his career?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Will Smith\"@en . ?var1 <http://www.wikidata.org/prop/direct/P107> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4929", "question": "What properties are used to describe animated series on Wikidata?", "sparql": "SELECT ?prop ?propLabel ?propDescription WHERE { wd:Q581714 ?directProp ?value . BIND(IRI(REPLACE(STR(?directProp), \"http://www.wikidata.org/prop/direct/\", \"http://www.wikidata.org/entity/\")) AS ?prop) . ?prop a wikibase:Property . ?prop rdfs:label ?propLabel . ?prop schema:description ?propDescription . FILTER(LANG(?propLabel) = \"en\") FILTER(LANG(?propDescription) = \"en\") } LIMIT 100", "paraphrases": ["Can you list the English labels and descriptions of all properties that are used to characterize the concept of \"animated series\"?", "Show me the English labels and descriptions of the properties linked to the entity \"animated series\" (Q581714)."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q581714> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_4930", "question": "List all U.S. Secretaries of State with their birth and death dates, places of birth and death, education, religion, tenure periods, and who they replaced or were replaced by.", "sparql": "SELECT ?person ?sex ?birthDate ?deathDate ?birthPlace ?deathPlace ?causeOfDeath ?burialPlace ?educatedAt ?religion ?startDate ?endDate ?replacedBy ?replaced WHERE { ?person wdt:P31 wd:Q5 . ?person p:P39 ?positionStatement . ?positionStatement ps:P39 wd:Q14213 . OPTIONAL { ?person wdt:P21 ?sex . } OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } OPTIONAL { ?person wdt:P19 ?birthPlace . } OPTIONAL { ?person wdt:P20 ?deathPlace . } OPTIONAL { ?person wdt:P509 ?causeOfDeath . } OPTIONAL { ?person wdt:P119 ?burialPlace . } OPTIONAL { ?person wdt:P69 ?educatedAt . } OPTIONAL { ?person wdt:P140 ?religion . } OPTIONAL { ?positionStatement pq:P580 ?startDate . } OPTIONAL { ?positionStatement pq:P582 ?endDate . } OPTIONAL { ?positionStatement pq:P1365 ?replacedBy . } OPTIONAL { ?positionStatement pq:P1366 ?replaced . } } ORDER BY ASC(?startDate)", "paraphrases": ["Who have been the U.S. Secretaries of State, and what are their personal details and the timeline of their terms, including their predecessors and successors?", "Provide a chronological list of all U.S. Secretaries of State, including their gender, birth and death information, education, religion, term start and end dates, and the people who held the position before and after them."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 ?var12 ?var13 ?var13Label ?var14 ?var14Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/P39> ?var15 . { ?var15 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q14213> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P20> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P509> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P119> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P69> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P140> ?var10 . } OPTIONAL { ?var15 <http://www.wikidata.org/prop/qualifier/P580> ?var11 . } OPTIONAL { ?var15 <http://www.wikidata.org/prop/qualifier/P582> ?var12 . } OPTIONAL { ?var15 <http://www.wikidata.org/prop/qualifier/P1365> ?var13 . } OPTIONAL { ?var15 <http://www.wikidata.org/prop/qualifier/P1366> ?var14 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var11 )"}}
{"id": "test_4931", "question": "Video games and their Steam App IDs", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?game ?steamId WHERE {\n  ?game wdt:P31 wd:Q7889 .\n  ?game wdt:P1733 ?steamId .\n}\nLIMIT 100", "paraphrases": ["What are the Steam application IDs for video games?", "List all video games along with their corresponding Steam IDs."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7889> . ?var1 <http://www.wikidata.org/prop/direct/P1733> ?var3 . } LIMIT 100"}}
{"id": "test_4932", "question": "What genetic variants in renal cell carcinoma are associated with positive therapeutic predictions for drugs like everolimus and pazopanib?", "sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3Label WHERE { ?var2 wdt:P3329 ?var1 . ?var2 p:P3354 ?var4 . ?var4 ps:P3354 ?var3 . ?var4 pq:P2175 wd:Q1164529 . ?var2 rdfs:label ?var2Label . ?var3 rdfs:label ?var3Label . FILTER(LANG(?var2Label) = \"en\") FILTER(LANG(?var3Label) = \"en\") }", "paraphrases": ["Which genetic mutations in renal cell carcinoma are predicted to respond to specific treatments, and what are those treatments?", "List the CIViC variant IDs, genetic variants, and their corresponding treatments that are predicted to be effective against renal cell carcinoma."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3329> ?var1 . ?var2 <http://www.wikidata.org/prop/P3354> ?var4 . ?var4 <http://www.wikidata.org/prop/reference/P3354> ?var3 . ?var4 <http://www.wikidata.org/prop/qualifier/P2175> <http://www.wikidata.org/entity/Q1164529> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4933", "question": "List of all popes in history with their English names.", "sparql": "SELECT DISTINCT ?pope ?popeLabel WHERE { ?popeStatement ps:P39 wd:Q19546 . ?pope p:P39 ?popeStatement . ?pope rdfs:label ?popeLabel FILTER(LANG(?popeLabel) = \"en\") }", "paraphrases": ["Who are all the people who have held the office of the Pope?", "Show me the English names of all individuals who have been Pope."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q19546> . ?var2 <http://www.wikidata.org/prop/P39> ?var1 . }"}}
{"id": "test_4934", "question": "What property is most commonly used to link entities to the Academy Awards ceremony?", "sparql": "SELECT ?property (COUNT(?property) AS ?count) WHERE { ?item ?propertyStatement wd:Q16913666 . ?property wikibase:directClaim ?propertyStatement . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which property appears most frequently in statements where the Academy Awards ceremony is the object?", "How many times is \"instance of\" used to connect award ceremony editions to the main Academy Awards ceremony entity?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q16913666> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_4935", "question": "Female biologists born in England with BHL IDs and dates of birth", "sparql": "SELECT DISTINCT ?person ?personLabel ?dateOfBirth ?occupationLabel ?bhlId WHERE { ?person (wdt:P106/wdt:P279*) wd:Q864503 . ?person (wdt:P19/wdt:P131*) wd:Q21 . ?person wdt:P31 wd:Q5 . ?person wdt:P21 wd:Q6581072 . ?person wdt:P106 ?occupation . OPTIONAL { ?person wdt:P569 ?dateOfBirth . } OPTIONAL { ?person wdt:P4081 ?bhlId . } ?person rdfs:label ?personLabel . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?personLabel) = \"en\") FILTER(LANG(?occupationLabel) = \"en\") } ORDER BY ASC(?dateOfBirth)", "paraphrases": ["Who are the female human biologists born in England, and what are their occupations, dates of birth, and BHL creator IDs?", "List all female humans from England whose occupation is a type of biologist, including their English labels, birth dates, and BHL identifiers, sorted by birth date."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 WHERE { { SELECT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q864503> . } } ?var1 ( <http://www.wikidata.org/prop/direct/P19> / <http://www.wikidata.org/prop/direct/P131> *) <http://www.wikidata.org/entity/Q21> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,it\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P4081> ?var4 . } } ORDER BY ASC( ?var2 )"}}
{"id": "test_4936", "question": "What are all the taxonomic ancestors of Armaniinae?", "sparql": "SELECT DISTINCT ?taxon WHERE { wd:Q33137630 wdt:P171* ?taxon }", "paraphrases": ["What is the full taxonomic lineage of the fossil insect group Armaniinae?", "Show me the complete hierarchy of parent taxa leading up from Armaniinae."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q33137630> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P171> | <http://www.wikidata.org/prop/direct/P273> | <http://www.wikidata.org/prop/direct/P75> | <http://www.wikidata.org/prop/direct/P76> | <http://www.wikidata.org/prop/direct/P77> | <http://www.wikidata.org/prop/direct/P70> | <http://www.wikidata.org/prop/direct/P71> | <http://www.wikidata.org/prop/direct/P74> | <http://www.wikidata.org/prop/direct/P89> )* ?var1 . }"}}
{"id": "test_4937", "question": "Subclasses of non-alcoholic beverage", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?subclass ?subclassLabel WHERE {\n  ?subclass wdt:P279 * wd:Q2647467 .\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER ( LANG( ?subclassLabel ) = \"en\" )\n}\nORDER BY ?subclassLabel", "paraphrases": ["What are all the types of non-alcoholic beverages listed in Wikidata?", "List all the subclasses of non-alcoholic beverage in English."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q11850905> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_4938", "question": "What is the most common property used to link entities to urban geography?", "sparql": "SELECT ?property (COUNT(?property) AS ?count) WHERE { ?item ?propertyUsed wd:Q690068 . ?property wikibase:directClaim ?propertyUsed . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which Wikidata property is used most often to indicate that someone\u2019s field of work is urban geography, and how many entities use it?", "Show me the property that is most frequently associated with urban geography and the number of times it appears."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q690068> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_4939", "question": "What film has MyDramaList title ID 7672?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P3868 \"7672\" .\n}", "paraphrases": ["Which movie on Wikidata is identified by the MyDramaList ID 7672?", "Find the Wikidata item for the film with MyDramaList title ID 7672."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3868> \"7672\". }"}}
{"id": "test_4940", "question": "What is the most frequently used property that has Angola as its value?", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?claim wd:Q916 . ?property wikibase:directClaim ?claim . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["How many times is Angola listed as a country in Wikidata?", "Which property links the most entities to Angola, and how many such links exist?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q916> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_4941", "question": "Which person or entity is associated with the Freebase ID /m/02z4b_8?", "sparql": "SELECT ?item WHERE { ?item wdt:P646 \"/m/02z4b_8\" . }", "paraphrases": ["Find the Wikidata item with Freebase ID /m/02z4b_8", "Tell me who has the Freebase identifier /m/02z4b_8"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P646> \"/m/02z4b_8\". }"}}
{"id": "test_4942", "question": "Image of Howard Pyle with SNAC ARK ID w6930zbq", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6930zbq\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with Howard Pyle in Wikidata, given his SNAC ARK ID is w6930zbq?", "Show me the Wikimedia Commons image of the person whose SNAC ARK ID is w6930zbq."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6930zbq\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_4943", "question": "What properties are used to describe or link entities to the concept of a \"sign\" in Wikidata?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?propertyItem ?propertyItemLabel ?propertyItemDescription WHERE {\n  ?item ?directClaim wd:Q3695082 .\n  ?propertyItem wikibase:directClaim ?directClaim .\n  ?propertyItem a wikibase:Property .\n  ?propertyItem rdfs:label ?propertyItemLabel .\n  ?propertyItem schema:description ?propertyItemDescription .\n  FILTER ( LANG( ?propertyItemLabel ) = \"en\" ) FILTER ( LANG( ?propertyItemDescription ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Which properties have \"sign\" as their object, and what are their English labels and descriptions?", "Can you list the English labels and descriptions of properties that are used in statements where the object is a sign?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q3695082> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_4944", "question": "What Wikipedia template is used for populated places in Ukraine?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?template ?templateLabel WHERE {\n  ?template wdt:P1423 wd:Q12051488 .\n  ?template rdfs:label ?templateLabel .\n  FILTER ( LANG( ?templateLabel ) = \"en\" )\n}", "paraphrases": ["Which infobox template is associated with populated places in Ukraine?", "Show me the English name of the Wikipedia template for Ukrainian populated places."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P1423> <http://www.wikidata.org/entity/Q12051488> . }"}}
{"id": "test_4945", "question": "Entities with variant identifiers using P1255", "sparql": "SELECT ?item ?variantId WHERE { ?item p:P1255 ?statement . ?statement ps:P1255 ?variantId . } LIMIT 10", "paraphrases": ["Which entities have identifiers that are marked as variants of other identifiers?", "Show me the entities and their variant identifier strings that are linked using the \"is a variant of\" property."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/P1255> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_4946", "question": "German label, description, and image of the North Region of Brazil", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?label ?description ?image WHERE {\n  OPTIONAL {\n    wd:Q478465 rdfs:label ?label .\n    FILTER(LANG(?label) = \"de\")\n  }\n  OPTIONAL {\n    wd:Q478465 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q478465 schema:description ?description .\n    FILTER(LANG(?description) = \"de\")\n  }\n}", "paraphrases": ["What is the German label and description of the North Region of Brazil, and what image is associated with it?", "Show me the German name, German description, and an image of the North Region of Brazil."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q478465> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"de\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q478465> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q478465> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"de\" ) ) ) . } }"}}
{"id": "test_4947", "question": "What are the Caverphone codes used in Wikidata?", "sparql": "SELECT DISTINCT ?caverphoneCode WHERE { ?entity wdt:P3880 ?caverphoneCode . } LIMIT 1000", "paraphrases": ["What different phonetic encodings does Wikidata use for names via the Caverphone algorithm?", "List all unique Caverphone codes assigned to entities in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3880> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } } LIMIT 1000"}}
{"id": "test_4948", "question": "Alumni of the University of Wisconsin\u2013Madison", "sparql": "SELECT ?alumnus WHERE { ?alumnus wdt:P69 wd:Q838330 .}", "paraphrases": ["Who are the people who attended the University of Wisconsin\u2013Madison?", "List all individuals who graduated from or studied at the University of Wisconsin\u2013Madison."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P69> <http://www.wikidata.org/entity/Q838330> . }"}}
{"id": "test_4949", "question": "Rivers in Russia and their coordinates", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?river ?coordinates WHERE {\n  ?river wdt:P31 wd:Q4022 .\n  ?river wdt:P17 wd:Q159 .\n  ?river wdt:P625 ?coordinates .\n}", "paraphrases": ["What are the geographic coordinates of all rivers located in Russia?", "List all rivers in Russia along with their WKT coordinate points."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4022> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q159> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . }"}}
{"id": "test_4950", "question": "Arabic-speaking countries with places named \"\u062a\u0644\" in their Arabic descriptions", "sparql": "SELECT DISTINCT ?place ?country WHERE { wd:Q143487 wdt:P17 ?country . ?place wdt:P17 ?country . ?place schema:description ?desc . FILTER(LANG(?desc) = \"ar\") FILTER(CONTAINS(LCASE(?desc), \"\u062a\u0644\")) ?place wdt:P31/wdt:P279* ?type . VALUES ?type { wd:Q515 wd:Q532 wd:Q839954 } }", "paraphrases": ["Which places in Arab countries have Arabic descriptions containing the word \"\u062a\u0644\"?", "List archaeological sites, cities, and villages in Arabic-speaking countries whose Arabic descriptions include \"\u062a\u0644\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { BIND ( \"\u062a\u0644\"@ar AS ?var3 ). ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . ?var1 <http://schema.org/description> ?var4 . ?var1 <http://schema.org/description> ?var3 . }"}}
{"id": "test_4951", "question": "List named domestic cats and their images from Wikidata.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?cat ?label ?image WHERE {\n  ?cat wdt:P31 wd:Q146 .\n  ?cat rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    ?cat wdt:P18 ?image .\n  }\n}\nORDER BY ASC(?label)", "paraphrases": ["What are the names of domestic cats that have images on Wikimedia Commons?", "Show me all known domestic cats with their English names and, if available, their photos from Wikimedia Commons, sorted alphabetically by name."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q146> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_4952", "question": "What are the geographic coordinates of the Irano-Turanian Region, and do any of the administrative areas it belongs to have coordinates listed?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?regionCoordinates ?administrativeEntityCoordinates WHERE {\n  wd:Q16624712 wdt:P625 ?regionCoordinates .\n  OPTIONAL {\n    wd:Q16624712 wdt:P131 ?administrativeEntity .\n    ?administrativeEntity wdt:P625 ?administrativeEntityCoordinates .\n  }\n}", "paraphrases": ["Can you provide the coordinates of the Irano-Turanian Region and the coordinates of any country or region it is administratively part of?", "Show the location of the Irano-Turanian Region and, if available, the location of the administrative entities it is located in."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q16624712> <http://www.wikidata.org/prop/direct/P625> ?var1 . OPTIONAL { <http://www.wikidata.org/entity/Q16624712> <http://www.wikidata.org/prop/direct/P131> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var2 . } }"}}
{"id": "test_4953", "question": "What are the three-level subclass hierarchies starting from \"building\"?", "sparql": "SELECT ?subclass1 ?subclass1Label ?subclass2 ?subclass3 WHERE { wd:Q41176 wdt:P279 ?subclass1 . ?subclass1 wdt:P279 ?subclass2 . ?subclass2 wdt:P279 ?subclass3 . ?subclass1 rdfs:label ?subclass1Label . FILTER(LANG(?subclass1Label) = \"en\") }", "paraphrases": ["What classes is a building a subclass of, going up three levels in the hierarchy?", "Show me the chain of superclass relationships from building to its top-level categories, including the name of the first superclass."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { <http://www.wikidata.org/entity/Q41176> <http://www.wikidata.org/prop/direct/P279> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P279> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en,en\". } }"}}
{"id": "test_4954", "question": "What groups is George Washington a part of?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?group ?label WHERE {\n  wd:Q23 wdt:P361 ?group .\n  ?group rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}\nLIMIT 50", "paraphrases": ["What is the English label of the group that George Washington is a part of?", "Show me the English name of the group that George Washington belongs to as a member."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q23> <http://www.wikidata.org/prop/direct/P361> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } LIMIT 50"}}
{"id": "test_4955", "question": "What entities were created, discovered, published, or officially opened on November 25, 1991?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nSELECT DISTINCT ?item WHERE {\n  ?item wdt:P571 | wdt:P575 | wdt:P577 | wdt:P1619 ?date .\n  FILTER(?date >= \"1991-11-25T00:00:00Z\" ^^ xsd:dateTime && ?date <= \"1991-11-25T23:59:59Z\" ^^ xsd:dateTime)\n}", "paraphrases": ["Which items on Wikidata have a date of inception, discovery, publication, or official opening on November 25, 1991?", "List all items that were founded, invented, published, or officially opened on November 25, 1991."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P571> | <http://www.wikidata.org/prop/direct/P575> | <http://www.wikidata.org/prop/direct/P577> | <http://www.wikidata.org/prop/direct/P1619> ) ?var2 . FILTER ( ( ( ?var2 >= \"1991-11-25T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1991-11-25T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_4956", "question": "List all presidents of France with their terms, who they replaced, and who replaced them.", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ?var1 ?var1Label ?var2 ?var3 ?var4Label ?var5Label WHERE {\n  ?var1 wdt:P31 wd:Q5 .\n  ?var1 p:P39 ?var6 .\n  ?var6 ps:P39 wd:Q191954 .\n  ?var6 pq:P580 ?var2 .\n  ?var6 pq:P582 ?var3 .\n  ?var6 pq:P1365 ?var4 .\n  ?var6 pq:P1366 ?var5 .\n  ?var1 rdfs:label ?var1Label .\n  ?var4 rdfs:label ?var4Label .\n  ?var5 rdfs:label ?var5Label .\n  FILTER ( LANG( ?var1Label ) = \"en\" ) FILTER ( LANG( ?var4Label ) = \"en\" ) FILTER ( LANG( ?var5Label ) = \"en\" )\n}\nORDER BY ASC ( ?var2 )", "paraphrases": ["Who were the presidents of France, when did they serve, and who were their predecessors and successors?", "Show me the sequence of French presidents, including their time in office and the individuals they succeeded and were succeeded by."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4Label ?var5Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/P39> ?var6 . ?var6 <http://www.wikidata.org/prop/qualifier/P580> ?var2 . ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var3 . ?var6 <http://www.wikidata.org/prop/qualifier/P1365> ?var4 . ?var6 <http://www.wikidata.org/prop/qualifier/P1366> ?var5 . FILTER ( ( ?var6 IN ( <http://www.wikidata.org/entity/Q191954> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var2 )"}}
{"id": "test_4957", "question": "What properties are used to describe the Croatian Parliament, and what are their values?", "sparql": "SELECT ?directClaim ?propertyLabel (COUNT(?value) AS ?count) (GROUP_CONCAT(?valueLabel; SEPARATOR=\", \") AS ?valueLabels)\nWHERE {\n  wd:Q371576 ?directClaim ?value .\n  ?value rdfs:label ?valueLabel .\n  FILTER(LANG(?valueLabel) = \"en\") .\n  ?property wikibase:directClaim ?directClaim .\n  ?property rdfs:label ?propertyLabel .\n  FILTER(LANG(?propertyLabel) = \"en\") .\n}\nGROUP BY ?directClaim ?propertyLabel", "paraphrases": ["For each property of the Croatian Parliament, show its label, how many values it has, and what those values are in English.", "Can you list the English labels of all properties linked to the Croatian Parliament, along with the count of their values and the English labels of those values?"], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q11350399> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_4958", "question": "Number of works citing Gitte M. Knudsen\u2019s publications per year, distinguishing self-citations from others.", "sparql": "SELECT ?year (COUNT(DISTINCT ?citingWork) AS ?count) ?isSelfCitation WHERE { ?citedWork wdt:P50 wd:Q36462772 . ?citingWork wdt:P2860 ?citedWork . ?citingWork wdt:P577 ?publicationDate . FILTER(isLiteral(?publicationDate)) FILTER(xsd:date(?publicationDate)) BIND(STR(YEAR(?publicationDate)) AS ?year) BIND(IF(EXISTS { ?citingWork wdt:P50 wd:Q36462772 }, \"self-citation\", \"other\") AS ?isSelfCitation) } GROUP BY ?year ?isSelfCitation ORDER BY DESC(?year)", "paraphrases": ["How many works cite Gitte M. Knudsen\u2019s research each year, and how many of those are self-citations by her?", "Show me a yearly breakdown of works that cite Gitte M. Knudsen\u2019s publications, with a flag indicating whether the citing work was also authored by her."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q36462772> . } , \"string1\", \"string2\" ) AS ?var4 ). BIND ( STR ( YEAR ( ?var5 ) ) AS ?var1 ). ?var6 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q36462772> . ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var6 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var5 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_4959", "question": "List all municipalities in Brazil with population data.", "sparql": "SELECT ?municipality WHERE { ?municipality wdt:P31 wd:Q3184121 ; wdt:P1082 ?population .}", "paraphrases": ["Which Brazilian municipalities have a recorded population?", "Show me all the municipalities in Brazil that have population statistics."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3184121> ; <http://www.wikidata.org/prop/direct/P1082> ?var2 . }"}}
{"id": "test_4960", "question": "Who is the Czech Olympic athlete with ID 1776 and what is their occupation?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?athlete ?athleteLabel ?description WHERE {\n  ?athlete wdt:P4062 \"1776\" .\n  OPTIONAL {\n    ?athlete rdfs:label ?athleteLabel .\n    FILTER(LANG(?athleteLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?athlete schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["What is the name and description in English of the athlete with Czech Olympic Committee ID 1776?", "Find the English name and occupation of the athlete identified by ID 1776 in the Czech Olympic Committee database."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4062> \"1776\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4961", "question": "What geographic entities are connected to Lake V\u00e4ster\u00e5s via country, administrative divisions, or continent?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?result WHERE {\n  VALUES ?start {\n    wd:Q18001094\n  }\n  .\n  {\n    ?start ?p ?result .\n    FILTER ( ?p IN ( wdt:P17 , wdt:P131 ) )\n  } UNION {\n    ?start wdt:P17 ?country .\n    ?country wdt:P30 ?result .\n  } UNION {\n    ?start wdt:P131 ?mid .\n    ?mid wdt:P131 ?result .\n  } UNION {\n    VALUES ?result {\n      wd:Q18001094\n    }\n  }\n}", "paraphrases": ["Which countries, counties, municipalities, and continents include or are related to Lake V\u00e4ster\u00e5s?", "List all administrative and geographic entities that Lake V\u00e4ster\u00e5s is part of, including its country and continent."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q18001094> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_4962", "question": "Paintings and their locations in English.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?painting ?location ?locationLabel WHERE {\n  ?painting wdt:P31 wd:Q3305213 .\n  ?painting wdt:P276 ?location .\n  ?location rdfs:label ?locationLabel .\n  FILTER ( LANG( ?locationLabel ) = \"en\" )\n}", "paraphrases": ["What are the paintings and where are they located, with their location names in English?", "Show me a list of paintings along with the English names of the places where they are held."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . ?var1 <http://www.wikidata.org/prop/P276> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P276> ?var7 . ?var1 <http://www.wikidata.org/prop/direct/P276> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4963", "question": "Image of the person with SNAC ARK ID w6zk5qm1", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6zk5qm1\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with James H. McClintock in Wikidata?", "Show me the Wikimedia Commons image for the individual identified by SNAC ARK ID w6zk5qm1."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6zk5qm1\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_4964", "question": "Subclasses of fruit in Wikidata", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?fruitSubclass WHERE {\n  ?fruitSubclass wdt:P279 wd:Q3314483 .\n}\nLIMIT 50", "paraphrases": ["What are some types of fruit classified as subclasses of fruit in Wikidata?", "List up to 50 subclasses of the fruit food group (Q3314483) in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q3314483> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { } OPTIONAL { } } LIMIT 50"}}
{"id": "test_4965", "question": "What countries and administrative areas is Sungai Tatas Hilir directly located in?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?location ?locationLabel WHERE {\n  VALUES ?locationProperty {\n    wdt:P17 wdt:P131\n  }\n  wd:Q19732599 ?locationProperty ?location .\n  ?location rdfs:label ?locationLabel .\n  FILTER(LANG(?locationLabel) = \"en\")\n}", "paraphrases": ["Show the direct geographical and administrative locations of the village Sungai Tatas Hilir in English.", "Which entity is Sungai Tatas Hilir part of, according to Wikidata\u2019s direct location data?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q19732599> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_4966", "question": "What is the English label, image, coordinates, and Italian Wikipedia article for Arkadi Atarik?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?label ?image ?coordinates ?wikipediaArticle WHERE {\n  OPTIONAL {\n    wd:Q28091288 rdfs:label ?label .\n    FILTER ( LANG( ?label ) = ?lang ) VALUES ( ?lang ?priority ) {\n      ( \"en\" 1 ) ( \"it\" 2 ) ( \"de\" 3 ) ( \"fr\" 4 )\n    }\n  }\n  OPTIONAL {\n    wd:Q28091288 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q28091288 wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    ?wikipediaArticle rdf:type schema:Article ; schema:about wd:Q28091288 ; schema:inLanguage \"it\" ; schema:isPartOf <https://it.wikipedia.org/> .\n  }\n}\nORDER BY ASC ( ?priority )", "paraphrases": ["Can you provide the English name of Arkadi Atarik, along with any available image, geographic coordinates, and a link to his Italian Wikipedia page?", "Show me the preferred label (in English first, then Italian, German, French) for Arkadi Atarik, and include his image, location coordinates, and Italian Wikipedia link if they exist."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q28091288> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var7 ) ) ) . VALUES ( ?var7 ?var8 ) { ( \"it\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q28091288> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q28091288> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"it\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q28091288> <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q28091288> ; <http://schema.org/inLanguage> \"it\"; <http://schema.org/isPartOf> <https://it.wikipedia.org/> . } } ORDER BY ASC( ?var8 )"}}
{"id": "test_4967", "question": "How many things associated with Marie Curie are related to physics?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ( COUNT( ?thing ) AS ?count ) WHERE {\n  wd:Q7186 ?p ?thing .\n  ?thing ( wdt:P31 | wdt:P279 ) * wd:Q413 .\n}", "paraphrases": ["How many entities linked to Marie Curie are instances or subclasses of physics?", "Count the number of entities connected to Marie Curie that belong to the hierarchy of physics."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { <http://www.wikidata.org/entity/Q7186> ?var3 ?var4 . ?var4 ( <http://www.wikidata.org/prop/direct/P31> ?/ <http://www.wikidata.org/prop/direct/P279> *) ?var1 . ?var1 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q413> . }"}}
{"id": "test_4968", "question": "What is the image of Johann Wolfgang von Goethe, identified by the GND ID 118540238?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?image WHERE {\n  wd:Q5879 wdt:P227 \"118540238\" .\n  wd:Q5879 wdt:P18 ?image .\n}", "paraphrases": ["Image of the person with GND ID 118540238.", "Show me the Wikimedia Commons image associated with the GND ID 118540238."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P227> \"118540238\"^^<http://www.w3.org/2001/XMLSchema#integer> . ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . }"}}
{"id": "test_4969", "question": "What are all the direct properties and their values for Gabriela Vergara, with property names in English and entity values translated to English?", "sparql": "SELECT ?property ?propertyLabel ?finalValue WHERE { wd:Q2034467 ?property ?value . FILTER(STRSTARTS(STR(?property), \"http://www.wikidata.org/prop/direct/\")) . BIND(IRI(REPLACE(STR(?property), \"http://www.wikidata.org/prop/direct/\", \"http://www.wikidata.org/entity/\")) AS ?propertyItem) . ?propertyItem rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") OPTIONAL { ?value rdfs:label ?valueLabel . FILTER(LANG(?valueLabel) = \"en\") } BIND(IF(BOUND(?valueLabel), ?valueLabel, ?value) AS ?finalValue) } ORDER BY ASC(?propertyLabel) LIMIT 1000", "paraphrases": ["Show me Gabriela Vergara\u2019s Wikidata properties, their English labels, and whether the values are literals or English-labeled entities.", "List all the information about Gabriela Vergara from Wikidata, including property names in English and values either as-is or in English if they are entities."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/entity/Q2034467> AS ?var4 ). { ?var4 ?var1 ?var3 . ?var2 <http://wikiba.se/ontology#directClaim> ?var1 . FILTER ( ( isLITERAL ( ?var3 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } UNION { ?var4 ?var1 ?var5 . ?var2 <http://wikiba.se/ontology#directClaim> ?var1 . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( !( isLITERAL ( ?var5 ) ) ) ) . FILTER ( ( !( isLITERAL ( ?var3 ) ) || ( LANG ( ?var3 ) = \"en\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } } ORDER BY ASC( ?var2Label ) LIMIT 1000"}}
{"id": "test_4970", "question": "What are the paternal ancestors of Vladimir Putin up to four generations, along with their images and spouses?", "sparql": "SELECT DISTINCT ?ancestor ?ancestorLabel ?image ?spouse WHERE { { wd:Q7747 wdt:P22 ?ancestor . } UNION { wd:Q7747 wdt:P22/wdt:P22 ?ancestor . } UNION { wd:Q7747 wdt:P22/wdt:P22/wdt:P22 ?ancestor . } UNION { wd:Q7747 wdt:P22/wdt:P22/wdt:P22/wdt:P22 ?ancestor . } OPTIONAL { ?ancestor wdt:P18 ?image . } OPTIONAL { ?ancestor wdt:P26 ?spouse . } ?ancestor rdfs:label ?ancestorLabel . FILTER(LANG(?ancestorLabel) = \"en\") }", "paraphrases": ["Show me Vladimir Putin\u2019s father, grandfather, great-grandfather, and great-great-grandfather, including their pictures and spouses.", "Who are Vladimir Putin\u2019s direct male ancestors in the paternal line for four generations, and what are their spouses and images?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7747> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var4 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P22> . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/direct/P22> / <http://www.wikidata.org/prop/direct/P26> ) ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4971", "question": "What businesses have parent organizations with a known start date, and what are their names?", "sparql": "SELECT DISTINCT ?var1 ?var2 ?var1Label ?var2Label WHERE { ?var1 p:P749 ?var5 . ?var5 ps:P749 ?var2 . ?var5 pq:P580 ?startTime . ?var1 rdfs:label ?var1Label . ?var2 rdfs:label ?var2Label . ?var1 (wdt:P31/wdt:279*) wd:Q4830453 . FILTER(LANG(?var1Label) = \"en\") FILTER(LANG(?var2Label) = \"en\") }", "paraphrases": ["List companies and their parent organizations in English, where the parent-child relationship has a documented start time.", "Which organizations are subsidiaries of other companies, and who owns them, assuming the ownership began at a known time?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var1Label ?var2Label ?var3Label ?var4Label WHERE { { } UNION { ?var1 <http://www.wikidata.org/prop/P749> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P749> ?var2 . ?var5 <http://www.wikidata.org/prop/qualifier/P580> _:n1 . } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/279> *) <http://www.wikidata.org/entity/Q4830453> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4972", "question": "Chinese labels of properties and their values for Fran\u00e7ois Hollande, with counts.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ( SAMPLE( ?propertyLabelRaw ) AS ?propertyLabel ) ( COUNT( ?value ) AS ?valueCount ) ( GROUP_CONCAT( ?valueLabel ; SEPARATOR = \", \" ) AS ?valueLabels ) WHERE {\n  wd:Q157 ?property ?value .\n  ?value rdfs:label ?valueLabel .\n  FILTER ( LANG( ?valueLabel ) = \"zh\" ) .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?propertyLabelRaw .\n  FILTER ( LANG( ?propertyLabelRaw ) = \"zh\" ) .\n}\nGROUP BY ?property", "paraphrases": ["What are the Chinese names of the properties associated with Fran\u00e7ois Hollande, how many values each has, and what are the Chinese labels of those values?", "Show me the Chinese labels of Fran\u00e7ois Hollande\u2019s properties, the number of values for each, and the Chinese labels of those values."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q157> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"zh\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"zh\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_4973", "question": "Paintings with images on Wikimedia Commons", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?painting ?label WHERE {\n  ?painting ( wdt:P31 / wdt:P279 * ) wd:Q3305213 .\n  ?painting wdt:P18 ?image .\n  ?painting rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}", "paraphrases": ["What are the English-labeled paintings and their subclasses that have images on Wikimedia Commons?", "List all paintings (including subtypes) that have an image on Commons, along with their English titles."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3305213> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,fr,en\". } }"}}
{"id": "test_4974", "question": "In how many languages are there Wikipedia articles about the federated states of Germany?", "sparql": "SELECT DISTINCT ?lang WHERE { ?region wdt:P31 wd:Q1221156 . ?region wdtn:P1566 ?geonames_id . ?wikipedia schema:about ?region ; schema:inLanguage ?lang . }", "paraphrases": ["What languages have Wikipedia pages for German states like Bavaria?", "Which language versions of Wikipedia cover the administrative regions of Germany?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P2452> \"A.ADM1\". ?var4 <http://www.wikidata.org/prop/direct/P2452> ?var5 . FILTER ( ( EXISTS { ?var3 <http://www.wikidata.org/prop/direct/P300> ?var6 . } ) ) . FILTER ( ( ( STR ( ?var7 ) = <http://www.wikidata.org/entity/Q980> ) ) ) . OPTIONAL { ?var8 <http://schema.org/about> ?var3 . ?var8 <http://schema.org/inLanguage> ?var1 . FILTER ( ( CONTAINS ( STR ( ?var8 ) , \"wikipedia\" ) ) ) . } }"}}
{"id": "test_4975", "question": "Items in Bahia and their official websites", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?website WHERE {\n  ?item wdt:P131 wd:Q40430 .\n  OPTIONAL {\n    ?item wdt:P856 ?website .\n  }\n}\nLIMIT 500", "paraphrases": ["What are the official websites of places and organizations located in the state of Bahia, Brazil?", "List all entities in Bahia along with their official websites, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pt,en\". } ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q40430> . OPTIONAL { } OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var2 . } } LIMIT 500"}}
{"id": "test_4976", "question": "What are some examples of humans in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item WHERE {\n  ?item wdt:P31 wd:Q5 .\n}\nLIMIT 10", "paraphrases": ["List 10 people who are classified as humans in Wikidata.", "Can you show me 10 entities that are instances of the class \"human\"?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/entity/P31> <http://www.wikidata.org/entity/Q22964231> . } LIMIT 10"}}
{"id": "test_4977", "question": "What film has the KINENOTE ID 79745?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P2508 \"79745\" .\n}", "paraphrases": ["Which movie in Wikidata is identified by the KINENOTE film ID 79745?", "Find the Wikidata item for the film with KINENOTE ID 79745."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2508> \"79745\". }"}}
{"id": "test_4978", "question": "What are the subclasses of material up to three levels deep?", "sparql": "SELECT ?item ?itemLabel WHERE {\n  { wd:Q214609 wdt:P279 ?item }  # 1-hop\n  UNION\n  { wd:Q214609 wdt:P279 ?mid1 . ?mid1 wdt:P279 ?item }  # 2-hop\n  UNION\n  { wd:Q214609 wdt:P279 ?mid1 . ?mid1 wdt:P279 ?mid2 . ?mid2 wdt:P279 ?item }  # 3-hop\n  \n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = 'en')\n}", "paraphrases": ["What entities are subclasses of material at a distance of up to three subclass relationships?", "List all concepts that are derived from material through up to three levels of subclass inheritance, along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q214609> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Undirected\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var4 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } OPTIONAL { ?var1 ?var2 ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4979", "question": "Female writers on Wikidata with their date of birth and Twitter username.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?writer ?dateOfBirth ?twitterUsername ?label WHERE {\n  ?writer wdt:P31 wd:Q5 .\n  ?writer wdt:P21 wd:Q6581072 .\n  ?writer wdt:P106 wd:Q36180 .\n  OPTIONAL {\n    ?writer wdt:P569 ?dateOfBirth .\n  }\n  OPTIONAL {\n    ?writer wdt:P2002 ?twitterUsername .\n  }\n  ?writer rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nLIMIT 50", "paraphrases": ["Who are the female human writers, and what are their dates of birth and Twitter handles?", "List up to 50 female writers along with their birth dates and X (Twitter) usernames, if available."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var3 . } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q36180> . } LIMIT 50"}}
{"id": "test_4980", "question": "Female writers on Wikidata with their birth dates, Twitter handles, images, and English Wikipedia links.", "sparql": "SELECT DISTINCT ?person ?label ?birthDate ?twitter ?image ?wikipediaPage WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P21 wd:Q6581072 . ?person wdt:P106 wd:Q36180 . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P2002 ?twitter . } OPTIONAL { ?person wdt:P18 ?image . } ?wikipediaPage schema:about ?person ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> . ?person rdfs:label ?label . FILTER(LANG(?label) = \"en\") } LIMIT 1000", "paraphrases": ["Who are the female human writers on Wikidata, and what are their birth dates, Twitter usernames, images, and English Wikipedia pages?", "List all female writers with their English labels, dates of birth, Twitter handles, images, and links to their English Wikipedia articles."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q36180> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } { ?var6 <http://schema.org/about> ?var1 . ?var6 <http://schema.org/inLanguage> \"en\". ?var6 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } LIMIT 100000000"}}
{"id": "test_4981", "question": "Labels of L\u00e6titia Agab in English, German, French, and Italian, ordered by language preference, with image, coordinates, and Italian Wikipedia link.", "sparql": "SELECT ?label ?image ?coordinates ?wikipediaArticle WHERE { OPTIONAL { wd:Q3269955 rdfs:label ?label . FILTER (LANG(?label) IN (\"en\", \"de\", \"fr\", \"it\")) } OPTIONAL { wd:Q3269955 wdt:P18 ?image . } OPTIONAL { wd:Q3269955 wdt:P625 ?coordinates . } OPTIONAL { ?wikipediaArticle schema:about wd:Q3269955 ; schema:inLanguage \"it\" ; schema:isPartOf <https://it.wikipedia.org/> . } VALUES (?lang ?order) { (\"en\" 1) (\"de\" 2) (\"fr\" 3) (\"it\" 4) } FILTER (?lang = LANG(?label)) } ORDER BY ?order", "paraphrases": ["What are the labels for the footballer L\u00e6titia Agab in English, German, French, and Italian, and does she have an image, location coordinates, or an Italian Wikipedia page?", "Show me the names of L\u00e6titia Agab in English, German, French, and Italian, sorted by that order, along with her image, place of coordinates, and whether there\u2019s an Italian Wikipedia article about her."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q3269955> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var7 ) ) ) . VALUES ( ?var7 ?var8 ) { ( \"it\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q3269955> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q3269955> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"it\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q3269955> <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q3269955> ; <http://schema.org/inLanguage> \"it\"; <http://schema.org/isPartOf> <https://it.wikipedia.org/> . } } ORDER BY ASC( ?var8 )"}}
{"id": "test_4982", "question": "Wikidata properties that are both identifiers and data elements", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?property ?propertyLabel WHERE {\n  ?property ( wdt:P31 / wdt:P279 * ) wd:Q853614 .\n  ?property ( wdt:P31 / wdt:P279 * ) wd:Q18616576 .\n  ?property rdfs:label ?propertyLabel .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" )\n}", "paraphrases": ["Which Wikidata properties are used to identify entities and are classified as data elements in the Wikidata data model?", "List all Wikidata properties that serve as identifiers and are part of the Wikidata data model as data elements."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q853614> . ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q18616576> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4983", "question": "What properties are commonly used to describe books in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?propItem ?propLabel ?propDescription WHERE {\n  ?item wdt:P31 wd:Q571 .\n  ?item ?prop ?value .\n  ?propItem wikibase:directClaim ?prop .\n  ?propItem rdfs:label ?propLabel .\n  ?propItem schema:description ?propDescription .\n  FILTER(LANG(?propLabel) = \"en\")\n  FILTER(LANG(?propDescription) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Can you list the English labels and descriptions of properties that are applied to items classified as books?", "Which properties describe books, and what do they mean in English?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q571> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_4984", "question": "What are the names of all known cats in Wikidata?", "sparql": "SELECT ?cat ?catLabel WHERE { ?cat wdt:P31 wd:Q146 . ?cat rdfs:label ?catLabel . FILTER(LANG(?catLabel) = \"en\") }", "paraphrases": ["Can you list the English names of all animals that are instances of house cats?", "Which fictional or real cats have English-language entries in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q146> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_4985", "question": "What properties (other than \"instance of\") are used to link entities to non-coding RNA in Wikidata?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?property WHERE {\n  ?item ?statementProperty wd:Q427087 .\n  ?property wikibase:statementProperty ?statementProperty .\n  FILTER ( ?property != wd:P31 )\n}", "paraphrases": ["Which types of relationships connect other items to non-coding RNA, excluding the \"instance of\" relationship?", "How is non-coding RNA related to other entities in Wikidata, through which direct properties?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 ?var3 <http://www.wikidata.org/entity/Q427087> . ?var1 <http://wikiba.se/ontology#statementProperty> ?var3 . FILTER ( ( ( ?var1 != <http://www.wikidata.org/entity/P31> ) ) ) . }"}}
{"id": "test_4986", "question": "People with the given name Abraham", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P735 wd:Q17997608 .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = 'en')\n}", "paraphrases": ["Who are the people named Abraham?", "List all individuals whose first name is Abraham."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P735> <http://www.wikidata.org/entity/Q17997608> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_4987", "question": "What are the labels for the insect species Apia lineolata in Italian, English, German, and French, and what is its image, location, and Italian Wikipedia page?", "sparql": "SELECT ?label ?image ?coordinates ?wikipediaArticle WHERE { VALUES (?lang ?order) { (\"it\" 1) (\"en\" 2) (\"de\" 3) (\"fr\" 4) } OPTIONAL { wd:Q10415617 rdfs:label ?label . FILTER (LANG(?label) = ?lang) } OPTIONAL { wd:Q10415617 wdt:P18 ?image . } OPTIONAL { wd:Q10415617 wdt:P625 ?coordinates . } OPTIONAL { ?wikipediaArticle rdf:type schema:Article ; schema:about wd:Q10415617 ; schema:inLanguage \"it\" ; schema:isPartOf <https://it.wikipedia.org/> . } } ORDER BY ?order", "paraphrases": ["Show me the multilingual names of Apia lineolata (in order: Italian, English, German, French), along with its image, geographic coordinates, and link to its Italian Wikipedia article.", "Can you retrieve the labels of Apia lineolata in four languages, its image, coordinates, and the Italian Wikipedia article about it?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q10415617> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var7 ) ) ) . VALUES ( ?var7 ?var8 ) { ( \"it\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q10415617> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q10415617> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"it\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q10415617> <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q10415617> ; <http://schema.org/inLanguage> \"it\"; <http://schema.org/isPartOf> <https://it.wikipedia.org/> . } } ORDER BY ASC( ?var8 )"}}
{"id": "test_4988", "question": "Lists of cities with their English labels and associated images.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?list ?listLabel ?image WHERE {\n  ?list wdt:P360 wd:Q515 .\n  ?list rdfs:label ?listLabel .\n  FILTER(LANG(?listLabel) = \"en\")\n  OPTIONAL {\n    ?list wdt:P18 ?image .\n  }\n}\nLIMIT 100", "paraphrases": ["What are the English labels of lists whose main topic is a city, and do they have any images?", "Show me the English names of lists that are about cities, along with any images they might have."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P360> <http://www.wikidata.org/entity/Q515> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pt-br\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_4989", "question": "List all landlocked countries in Wikidata.", "sparql": "SELECT ?country WHERE { ?country wdt:P31 wd:Q123480 . }", "paraphrases": ["Which countries are landlocked according to Wikidata?", "Show me the list of sovereign states that have no access to the open sea."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/class/yago/LandlockedCountries> . }"}}
{"id": "test_4990", "question": "Descendants of Genghis Khan up to 4 generations with images and children", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?descendant ?descendantLabel ?image ?child WHERE {\n  {\n    wd:Q720 wdt:P40 ?descendant .\n  } UNION {\n    wd:Q720 wdt:P40 / wdt:P40 ?descendant .\n  } UNION {\n    wd:Q720 wdt:P40 / wdt:P40 / wdt:P40 ?descendant .\n  } UNION {\n    wd:Q720 wdt:P40 / wdt:P40 / wdt:P40 / wdt:P40 ?descendant .\n  }\n  OPTIONAL {\n    ?descendant rdfs:label ?descendantLabel .\n    FILTER ( LANG( ?descendantLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?descendant wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?descendant wdt:P40 ?child .\n  }\n}\nLIMIT 100", "paraphrases": ["Who are the descendants of Genghis Khan within four generations, and what are their images and children?", "List the descendants of Genghis Khan up to four generations deep, including their English labels, any associated images, and their direct children."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q720> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var4 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P40> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P40> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"zh\". } }"}}
{"id": "test_4991", "question": "Movie theaters in Sweden and their municipalities", "sparql": "SELECT DISTINCT ?theater ?theaterLabel ?adminAreaLabel WHERE { ?theater wdt:P31 wd:Q41253 . ?theater wdt:P17 wd:Q34 . OPTIONAL { ?theater wdt:P131 ?adminArea . ?adminArea rdfs:label ?adminAreaLabel . FILTER(LANG(?adminAreaLabel) = \"en\") } ?theater rdfs:label ?theaterLabel . FILTER(LANG(?theaterLabel) = \"en\") } LIMIT 2000", "paraphrases": ["What are the movie theaters in Sweden, and in which administrative areas are they located?", "List all movie theaters in Sweden along with the names of the cities or municipalities they are in, using English labels."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q41253> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q34> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,sv,cy,fr,de,es,nl,hy,ja,ru,ca\". } } LIMIT 2000"}}
{"id": "test_4992", "question": "Who are the MPs who represented Maidenhead constituency, and when did their terms start and end? Include their images if available.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT DISTINCT ?person ?start ?end ?image WHERE {\n  ?person p:P39 ?statement .\n  ?statement pq:P768 wd:Q3336813 .\n  ?person wdt:P21 ?gender .\n  ?statement pq:P580 ?start .\n  OPTIONAL {\n    ?statement pq:P582 ?end .\n  }\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n}", "paraphrases": ["Which people have held the position of MP for Maidenhead, and what are the start and end dates of their terms? Do any of them have official portraits available?", "List all individuals who have served as the Member of Parliament for the Maidenhead constituency, along with the start and end dates of their terms and their official photos, if any."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { ?var1 <http://www.wikidata.org/prop/P39> ?var8 . ?var8 <http://www.wikidata.org/prop/qualifier/P768> <http://www.wikidata.org/entity/Q238803> . ?var1 <http://www.wikidata.org/prop/direct/P21> ?var9 . ?var8 <http://www.wikidata.org/prop/qualifier/P580> ?var3 . OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P582> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var10 . ?var10 <http://www.wikidata.org/prop/direct/P17> ?var11 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12 . ?var13 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . ?var9 <http://www.w3.org/2000/01/rdf-schema#label> ?var6 . } }"}}
{"id": "test_4993", "question": "Who were the Leaders of the Conservative Party and when did they die?", "sparql": "SELECT ?leader ?leaderLabel ?deathDate WHERE { ?leader wdt:P39 wd:Q3303456 . ?leader wdt:P570 ?deathDate . ?leader rdfs:label ?leaderLabel . FILTER(LANG(?leaderLabel) = \"en\") }", "paraphrases": ["Can you list the deceased leaders of the UK Conservative Party along with their dates of death?", "What are the death dates of all individuals who have held the position of Leader of the Conservative Party?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q3303456> . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_4994", "question": "Athletes with Hebrew Wikipedia pages but no Hebrew name label in Wikidata.", "sparql": "SELECT ?person ?personLabel ?heWikiPage WHERE { ?person wdt:P106/wdt:P279* wd:Q2066131 . ?heWikiPage schema:about ?person ; schema:inLanguage \"he\" ; schema:isPartOf <https://he.wikipedia.org/> . MINUS { ?person rdfs:label ?label . FILTER(LANG(?label) = \"he\") } OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } }", "paraphrases": ["Which athletes have a Hebrew Wikipedia article but are not labeled in Hebrew on Wikidata?", "Show me athletes who are featured on the Hebrew Wikipedia but don\u2019t have a Hebrew name in Wikidata, along with their English names and Wikipedia links."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/wdt:P279> ) <http://www.wikidata.org/entity/Q2066131> . ?var1 <http://www.wikidata.org/prop/P569> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P569> ?var3 . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"he\". MINUS { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"he\" ) ) ) . } OPTIONAL { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"he\". } }"}}
{"id": "test_4995", "question": "What properties are used to describe Wuluchi (son of Genghis Khan) in Portuguese, and what are the labels and counts of their associated values?", "sparql": "SELECT ?property (COUNT(?object) AS ?count) (GROUP_CONCAT(?objectLabel; SEPARATOR=', ') AS ?objectLabels) ?propertyLabel WHERE { wd:Q7063489 ?property ?object . ?object rdfs:label ?objectLabel . FILTER (lang(?objectLabel) = \"pt\") . ?propertyDescriptor wikibase:directClaim ?property . ?propertyDescriptor rdfs:label ?propertyLabel . FILTER (lang(?propertyLabel) = \"pt\") . } GROUP BY ?property ?propertyLabel ORDER BY ?propertyLabel", "paraphrases": ["For each property linking Wuluchi to other entities, show the Portuguese label of the property, how many objects it connects to, and what those objects are called in Portuguese.", "List the Portuguese labels of properties connected to Wuluchi, along with the number of objects and their Portuguese names."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q7063489> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"pt\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"pt\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_4996", "question": "What are the occupations and spouses of humans?", "sparql": "SELECT ?human ?occupation ?spouse ?spouseLabel WHERE { ?human wdt:P31 wd:Q5 . OPTIONAL { ?human wdt:P106 ?occupation . } OPTIONAL { ?human wdt:P26 ?spouse . ?spouse rdfs:label ?spouseLabel . FILTER(LANG(?spouseLabel) = \"en\") } } LIMIT 100", "paraphrases": ["Can you list humans along with their jobs and their spouses' names in English?", "Show me a list of people, their professions, and their spouses \u2014 if any \u2014 with the spouses' names in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var3Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P61> ?var3 . } } LIMIT 100"}}
{"id": "test_4997", "question": "People whose occupation is murderer", "sparql": "SELECT DISTINCT ?personOrCharacter WHERE { ?personOrCharacter wdt:P106 wd:Q931260 . } LIMIT 1000", "paraphrases": ["Who are the people (real or fictional) that have the occupation of murderer?", "List all individuals, including fictional characters, who are described as murderers in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q931260> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q931260> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P166> <http://www.wikidata.org/entity/Q931260> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q931260> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q931260> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P102> <http://www.wikidata.org/entity/Q931260> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q926345> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q926345> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P166> <http://www.wikidata.org/entity/Q926345> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q926345> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q926345> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P102> <http://www.wikidata.org/entity/Q926345> . } } LIMIT 1000"}}
{"id": "test_4998", "question": "What film has the elFilm ID 196538?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P3143 \"196538\" .\n}", "paraphrases": ["Which movie on Wikidata is identified by the elFilm film ID 196538?", "I need to find the Wikidata item for the film with elFilm ID 196538."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3143> \"196538\". }"}}
{"id": "test_4999", "question": "What sports events occurred during the 2016\u201317 season, and what sports, countries, and competitions are associated with them?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?event ?eventLabel ?sport ?sportLabel ?country ?countryLabel ?competition ?competitionLabel WHERE {\n  ?event wdt:P2348 wd:Q30201458 .\n  OPTIONAL {\n    ?event wdt:P641 ?sport .\n    ?sport rdfs:label ?sportLabel .\n    FILTER ( LANG( ?sportLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?event wdt:P17 ?country .\n    ?country rdfs:label ?countryLabel .\n    FILTER ( LANG( ?countryLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?event wdt:P3450 ?competition .\n    ?competition rdfs:label ?competitionLabel .\n    FILTER ( LANG( ?competitionLabel ) = \"en\" )\n  }\n  ?event rdfs:label ?eventLabel .\n  FILTER ( LANG( ?eventLabel ) = \"en\" )\n}", "paraphrases": ["Can you list the events from the 2016\u201317 season along with the sport played, the country where they took place, and the competition they belong to?", "Show me all events from the 2016\u201317 time period, including their English labels, the sport involved (if any), the host country, and the league or competition they are part of."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 ?var4Label ?var5 ?var5Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2348> <http://www.wikidata.org/entity/Q30201458> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P641> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3450> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5000", "question": "People born in 1821", "sparql": "SELECT DISTINCT ?person WHERE { ?person wdt:P569 ?birthDate . FILTER ( ?birthDate >= \"1821-01-01T00:00:00Z\"^^xsd:dateTime && ?birthDate <= \"1821-12-31T23:59:59Z\"^^xsd:dateTime ) }", "paraphrases": ["Who were born in the year 1821?", "List all individuals whose date of birth falls within the year 1821."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . FILTER ( ( ( ?var2 >= \"1821-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1821-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_5001", "question": "Types of Heineken", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?type WHERE {\n  wd:Q854383 wdt:P31 ?type .\n}", "paraphrases": ["What class of entity is Heineken an instance of?", "What are the specific beer categories that Heineken belongs to, such as brand or style?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q854383> <http://www.wikidata.org/prop/direct/P31> ?var1 . }"}}
{"id": "test_5002", "question": "How many items in Wikidata have an IUCN conservation status assigned?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ( COUNT( ?item ) AS ?count ) WHERE {\n  ?item wdt:P141 [] .\n}", "paraphrases": ["What is the total number of entities in Wikidata that are classified by the IUCN conservation status?", "How many species or organisms in Wikidata are tagged with an IUCN conservation status?"], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P141> [] . }"}}
{"id": "test_5003", "question": "How many classes is Lausanne an instance of in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ( COUNT( DISTINCT ?type ) AS ?count ) WHERE {\n  wd:Q807 wdt:P31 ?type .\n}", "paraphrases": ["What is the number of distinct types that Lausanne belongs to?", "List the count of different categories that Lausanne is classified under in Wikidata."], "info": {"raw_sparql": "SELECT( COUNT ( DISTINCT ?var1 ) AS ?var2 ) WHERE { <http://www.wikidata.org/entity/Q807> <http://www.wikidata.org/prop/direct/P31> ?var1 . }"}}
{"id": "test_5004", "question": "Labels of all entities located in Zurich in all languages.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label WHERE {\n  ?item wdt:P131 wd:Q72 .\n  ?item rdfs:label ?label .\n}", "paraphrases": ["What are the names (in all languages) of things located in Zurich?", "Show me every label (name) in every language for items that are situated within the administrative boundaries of Zurich."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var2 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q72> . }"}}
{"id": "test_5005", "question": "Which properties are most frequently used to link entities to Aguadilla, Puerto Rico, and how many times?", "sparql": "SELECT ?property ( COUNT( ?item ) AS ?count ) WHERE { ?item ?property wd:Q397826 . } GROUP BY ?property HAVING ( ?count > 1 ) ORDER BY DESC(?count)", "paraphrases": ["What are the top properties connecting other items to Aguadilla, and what are their usage counts?", "Show me all properties that link more than one entity to Aguadilla, sorted by how often they\u2019re used."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q397826> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_5006", "question": "What types of objects (e.g., sculptures, fountains) are classified as public art in Zurich?", "sparql": "SELECT DISTINCT ?instanceTypeLabel WHERE { ?art wdt:P136 wd:Q557141 . ?art wdt:P131 wd:Q72 . OPTIONAL { ?art wdt:P31 ?instanceType . ?instanceType rdfs:label ?instanceTypeLabel . FILTER(LANG(?instanceTypeLabel) = 'en') } }", "paraphrases": ["List the different kinds of public art found in Zurich, categorized by their instance types.", "What are the common categories of public artworks located in Zurich?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P136> <http://www.wikidata.org/entity/Q557141> . ?var2 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q72> . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P31> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5007", "question": "List all airports and their ICAO codes.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?airport ?icaoCode WHERE {\n  ?airport wdt:P31 wd:Q1248784 .\n  OPTIONAL {\n    ?airport wdt:P239 ?icaoCode .\n  }\n}", "paraphrases": ["Which airports have ICAO codes, and what are those codes?", "Can you provide a list of all airports in Wikidata along with their four-character ICAO identifiers, even if some don\u2019t have one listed?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1248784> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P239> ?var2 . } }"}}
{"id": "test_5008", "question": "What characters and adaptations are associated with the novel \"Allmen and the Pink Diamond\", and what properties link them?", "sparql": "SELECT ?item ?statement ?property (SAMPLE(?qualifierValue) AS ?sampledQualifier) WHERE { { SELECT DISTINCT ?item ?statement ?property WHERE { ?statement ?prop wd:Q20012581 . ?item ?claim ?statement . ?property wikibase:statementProperty ?prop . ?property wikibase:claim ?claim . FILTER (?property != wd:P31) } LIMIT 101 } OPTIONAL { ?statement ?qualifier ?value . ?qualifierTemplate wikibase:qualifier ?qualifier . } } GROUP BY ?item ?statement ?property", "paraphrases": ["Who are the characters portrayed in the novel \"Allmen and the Pink Diamond\", and is there any additional information (like dates or sources) attached to those claims?", "List the entities connected to the novel \"Allmen and the Pink Diamond\" through properties other than \"instance of\", and show any qualifiers that might be attached to those connections."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q20012581> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_5009", "question": "What properties are most commonly used to link entities to the Florida Department of Environmental Protection, and how many times?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(COUNT(?item) AS ?count) WHERE {\n  ?item ?property wd:Q730654 .\n}\nGROUP BY ?property\nHAVING(?count > 1)\nORDER BY DESC(?count)", "paraphrases": ["Which properties connect other items to the Florida Department of Environmental Protection more than once, and what are their counts?", "Show me the properties that relate other entities to the Florida Department of Environmental Protection, sorted by frequency, excluding those used only once."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q730654> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_5010", "question": "What is the English title of the movie with IMDb ID tt2934192?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P345 \"tt2934192\" .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["Which film on Wikidata is identified by the IMDb identifier tt2934192?", "Find the Wikidata item for the movie with IMDb ID tt2934192 and show its English name."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2934192\". }"}}
{"id": "test_5011", "question": "What are some places in the Netherlands near the German border, and what are their images and administrative regions?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX geof: <http://www.opengis.net/def/function/geosparql/>\nSELECT ?place ?placeLabel ?admin ?adminLabel ?image ?coord WHERE {\n  ?place wdt:P625 ?coord .\n  FILTER(geof:longitude(?coord) >= 5.0 && geof:longitude(?coord) <= 6.0 && geof:latitude(?coord) >= 51.5 && geof:latitude(?coord) <= 52.5)\n  OPTIONAL {\n    ?place wdt:P131 ?admin .\n  }\n  OPTIONAL {\n    ?place wdt:P18 ?image .\n  }\n  ?place rdfs:label ?placeLabel .\n  FILTER(LANG(?placeLabel) = 'en')\n  OPTIONAL {\n    ?admin rdfs:label ?adminLabel .\n    FILTER(LANG(?adminLabel) = 'en')\n  }\n}\nLIMIT 10", "paraphrases": ["Show me locations between longitude 5 and 6 and latitude 51.5 and 52.5 in the Netherlands, including their labels, administrative units, and associated images.", "List cultural or tourist sites in the Dutch-German border region with available images and their administrative divisions."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var5 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerWest> \"POINT(5 52)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerEast> \"POINT(6 52)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/P1435> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,fr,en\". } }"}}
{"id": "test_5012", "question": "Properties related to external superproperty (P2235) with English labels and descriptions.", "sparql": "SELECT ?property ?label ?description WHERE { ?property wdt:P1659 wd:P2235 . ?property rdfs:label ?label . ?property schema:description ?description . FILTER(LANG(?label) = \"en\") FILTER(LANG(?description) = \"en\") }", "paraphrases": ["Which Wikidata properties are related to the external superproperty (P2235), and what are their English labels and descriptions?", "Show me the English labels and descriptions of all properties that are related to the external superproperty (P2235)."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P2235> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . }"}}
{"id": "test_5013", "question": "Who were born on November 30, 1996, and what are their occupations?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nSELECT ?person ?occupation WHERE {\n  ?person wdt:P569 \"1996-11-30T00:00:00Z\" ^^ xsd:dateTime .\n  OPTIONAL {\n    ?person wdt:P106 ?occupation .\n  }\n}", "paraphrases": ["List people born on 1996-11-30 along with their jobs.", "What professions do people born on November 30, 1996, have?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P569> \"1996-11-30T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_5014", "question": "Films released after January 25, 2008, with their English titles and release years.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?year ?title WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P577 ?releaseDate .\n  BIND( STR( YEAR( ?releaseDate ) ) AS ?year ) .\n  ?film rdfs:label ?title .\n  FILTER ( LANG( ?title ) = \"en\" ) .\n  FILTER ( ?releaseDate >= \"2008-01-25T00:00:00Z\" ^^ xsd:dateTime ) .\n}", "paraphrases": ["What are the English titles and release years of films released on or after January 25, 2008?", "List the English titles and release years of all films from 2008 onwards."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { BIND ( STR ( YEAR ( ?var3 ) ) AS ?var1 ). ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var4 <http://www.wikidata.org/prop/direct/P577> ?var3 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . FILTER ( ( ( ?var3 >= \"2008-01-25T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_5015", "question": "What are the English-language labels of humans that contain the substring \"einst\"?", "sparql": "SELECT ?human ?label ?lang WHERE { ?human wdt:P31 wd:Q5 ; rdfs:label ?label . FILTER (LANG(?label) = \"en\") . FILTER (CONTAINS(LCASE(?label), \"einst\")) . } LIMIT 10", "paraphrases": ["Find all humans whose names in English include \"einst\" \u2014 such as Einstein or Weinstein.", "Show me people who are human and have \"einst\" in their English name."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ( LANG ( ?var2Label ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( LANG ( ?var2Label ) IN ( \"en\" ) ) ) . FILTER ( ( CONTAINS ( LCASE ( ?var2Label ) , \"einst\" ) ) ) . } LIMIT 3"}}
{"id": "test_5016", "question": "What are the release dates and filming locations of films?", "sparql": "SELECT ?film ?filmLabel ?releaseDate ?filmingLocation ?filmingLocationLabel WHERE { ?film wdt:P31 wd:Q11424 . OPTIONAL { ?film wdt:P577 ?releaseDate . } OPTIONAL { ?film wdt:P915 ?filmingLocation . } OPTIONAL { ?film rdfs:label ?filmLabel . FILTER(LANG(?filmLabel) = \"en\") } OPTIONAL { ?filmingLocation rdfs:label ?filmingLocationLabel . FILTER(LANG(?filmingLocationLabel) = \"en\") } } LIMIT 10", "paraphrases": ["Can you list films along with their release dates and where they were filmed?", "Show me films, their publication dates, and the locations where they were shot, in English."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P915> ?var3 . } } LIMIT 10"}}
{"id": "test_5017", "question": "What are the birth and death dates of Earl C. Long?", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { BIND( wd:Q31090492 AS ?person ) . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["Can you tell me when Earl C. Long was born and when he died?", "Provide the full name, date of birth, and date of death for the U.S. Marine Corps general Earl C. Long."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q31090492> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5018", "question": "What is the English label of the California Military Department, and when was it founded or dissolved?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?organizationLabel ?inception ?dissolved WHERE {\n  BIND( wd:Q5020692 AS ?organization ) .\n  OPTIONAL {\n    ?organization wdt:P571 ?inception .\n  }\n  OPTIONAL {\n    ?organization wdt:P576 ?dissolved .\n  }\n  ?organization rdfs:label ?organizationLabel .\n  FILTER ( LANG( ?organizationLabel ) = \"en\" )\n}", "paraphrases": ["Can you provide the name, founding date, and dissolution date of the California Military Department?", "When was the California Military Department established, and is it still active?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q5020692> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5019", "question": "List mausoleums with their English labels, images from Wikimedia Commons, and corresponding English Wikipedia pages.", "sparql": "SELECT DISTINCT ?mausoleum ?mausoleumLabel ?image ?wikipediaPage WHERE {  ?mausoleum wdt:P31 wd:Q162875 .  OPTIONAL {    ?mausoleum wdt:P18 ?image .  }  OPTIONAL {    ?wikipediaPage schema:about ?mausoleum ;                   schema:isPartOf <https://en.wikipedia.org/> .  }  ?mausoleum rdfs:label ?mausoleumLabel .  FILTER(LANG(?mausoleumLabel) = \"en\")} LIMIT 50", "paraphrases": ["What are the English names, images, and Wikipedia links of mausoleums in Wikidata?", "Show me up to 50 mausoleums, including their English labels, any associated images on Commons, and links to their English Wikipedia articles."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q162875> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,fr,es,de,ru,it,nl,ja,zh,pl,cs\". } } LIMIT 50"}}
{"id": "test_5020", "question": "Gustaf Otto Stenbock birth and death dates", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  BIND(wd:Q968941 AS ?person)\n  ?person wdt:P31 wd:Q5 .\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}", "paraphrases": ["When was Gustaf Otto Stenbock born and when did he die?", "Can you tell me the birth and death dates of Gustaf Otto Stenbock, the Swedish field marshal?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q968941> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5021", "question": "Who received the Medal of French Gratitude, and what are their birth and death dates?", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { ?person wdt:P166 wd:Q3332347 ; wdt:P31 wd:Q5 . ?person rdfs:label ?personLabel . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["List the names, birth dates, and death dates of humans awarded the Medal of French Gratitude.", "Can you tell me the English names, dates of birth, and dates of death of people who were given the French Medal of Gratitude?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q3332347> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5022", "question": "George Jung's date of birth and date of death", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?var1Label ?var3 ?var4 WHERE {\n  BIND( wd:Q354047 AS ?var1 ) .\n  ?var1 wdt:P31 wd:Q5 .\n  ?var1 rdfs:label ?var1Label .\n  FILTER ( LANG( ?var1Label ) = \"en\" ) OPTIONAL {\n    ?var1 wdt:P569 ?var3 .\n  }\n  OPTIONAL {\n    ?var1 wdt:P570 ?var4 .\n  }\n}", "paraphrases": ["When was George Jung born and when did he die?", "Please provide the birth and death dates of George Jung, along with his name."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q4947911> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5023", "question": "People affiliated with the University of Central Florida and their roles or academic degrees.", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?person ?statement ?property ( SAMPLE( ?qualifierLabel ) AS ?resultLabel ) WHERE {\n  {\n    VALUES ?property {\n      wd:P69\n    }\n    VALUES ?qualifierProperty {\n      pq:P512 pq:P580 pq:P582\n    }\n    ?statement ps:P69 wd:Q143451 .\n    ?person wdt:P69 wd:Q143451 .\n    ?statement ?qualifierProperty ?qualifierValue .\n    ?qualifierValue rdfs:label ?qualifierLabel .\n    FILTER ( LANG( ?qualifierLabel ) = \"en\" )\n  } UNION {\n    VALUES ?property {\n      wd:P108\n    }\n    VALUES ?qualifierProperty {\n      pq:P2868 pq:P580 pq:P582\n    }\n    ?statement ps:P108 wd:Q143451 .\n    ?person wdt:P108 wd:Q143451 .\n    ?statement ?qualifierProperty ?qualifierValue .\n    ?qualifierValue rdfs:label ?qualifierLabel .\n    FILTER ( LANG( ?qualifierLabel ) = \"en\" )\n  }\n}\nGROUP BY ?person ?statement ?property\nLIMIT 101", "paraphrases": ["Who are the individuals associated with the University of Central Florida, and what are the specific roles or qualifications linked to their affiliation?", "List all people connected to the University of Central Florida along with the nature of their connection (e.g., employer or educated at) and any associated qualifiers like job title or degree earned."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q143451> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_5024", "question": "Most used property linking to the 2012 Brownlow Medal", "sparql": "SELECT ?property (COUNT(?property) AS ?count) WHERE { ?subject ?statementProperty wd:Q4624953 . ?property wikibase:directClaim ?statementProperty . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) ?property LIMIT 1", "paraphrases": ["Which property is most commonly used to connect other entities to the 2012 Brownlow Medal?", "Show me the property that has the highest number of statements pointing to the 2012 Brownlow Medal."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q4624953> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_5025", "question": "What are the broader categories (superclasses) of the types Krishna belongs to, up to five levels up?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?superclass ?superclassLabel ?directSuperclass WHERE {\n  wd:Q42891 wdt:P31 ?class .\n  ?class wdt:P279 * ?superclass .\n  ?superclass rdfs:label ?superclassLabel .\n  FILTER(LANG(?superclassLabel) = \"en\")\n  OPTIONAL {\n    ?superclass wdt:P279 ?directSuperclass .\n  }\n}\nORDER BY ?superclass\nLIMIT 100", "paraphrases": ["Show me the classification hierarchy above Krishna\u2019s categories in Wikidata, including their English labels and immediate parents.", "What are the parent classes of the classes that Krishna is an instance of, and how are they organized in the taxonomy?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q42891> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> \"6\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5026", "question": "What administrative regions and continent does Guokeng Town belong to?", "sparql": "SELECT DISTINCT ?ancestor WHERE { wd:Q14422505 (wdt:P131|wdt:P17|wdt:P30)* ?ancestor .}", "paraphrases": ["What is the geographic hierarchy of Guokeng Town, from its immediate administrative division up to the continent?", "List all the countries, provinces, districts, and continents that Guokeng Town is part of, including itself."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q14422505> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_5027", "question": "Non-German capitalized labels for the unit \"year\"", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?label ?lang WHERE {\n  wd:Q577 rdfs:label ?label .\n  BIND(LANG(?label) AS ?lang)\n  .\n  FILTER(STR(?label) != LCASE(STR(?label)))\n  .\n  FILTER(?lang NOT IN(\"de\" , \"de-at\" , \"de-ch\"))\n}", "paraphrases": ["What are the labels for the unit \"year\" in languages other than German that contain uppercase letters?", "Show me all non-German language labels for the word \"year\" that are properly capitalized (not all lowercase)."], "info": {"raw_sparql": "SELECT * WHERE { BIND ( LANG ( ?var1Label ) AS ?var2 ). <http://www.wikidata.org/entity/Q577> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( STR ( ?var1Label ) != LCASE ( STR ( ?var1Label ) ) ) ) ) . FILTER ( ( ?var2 NOT IN ( \"de\", \"de-at\", \"de-ch\" ) ) ) . }"}}
{"id": "test_5028", "question": "What cities are located in Finland?", "sparql": "SELECT ?city WHERE { ?city wdt:P31 wd:Q515 . ?city wdt:P17 wd:Q33 .}", "paraphrases": ["Cities in Finland", "List all cities in Finland, based on their location."], "info": {"raw_sparql": "SELECT ?var1 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { } OPTIONAL { } OPTIONAL { } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . OPTIONAL { } ?var1 <http://www.wikidata.org/prop/direct/P495> <http://www.wikidata.org/entity/Q33> . }"}}
{"id": "test_5029", "question": "What are all the continents and microcontinents listed in Wikidata?", "sparql": "SELECT DISTINCT ?continentInstance WHERE { ?continentInstance wdt:P31 ?continentClass . ?continentClass wdt:P279* wd:Q5107 . } LIMIT 500", "paraphrases": ["Which entities are classified as continents or subclasses of continents?", "List all known continental landmasses, including ancient and microcontinents, that are categorized under the concept of continent in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var2 ( <http://www.wikidata.org/prop/direct/P279> | <http://www.wikidata.org/prop/direct/P131> )* <http://www.wikidata.org/entity/Q5107> . } LIMIT 500"}}
{"id": "test_5030", "question": "What is the English name of the surfing spot known as Mundaka wave in Wikidata?", "sparql": "SELECT ?item ?label WHERE { ?item schema:name \"Mundaka wave\"@en . BIND(\"Mundaka wave\" AS ?label) }", "paraphrases": ["Find the Wikidata item for the Mundaka wave surfing spot and its English label.", "Show me the entity in Wikidata that represents the Mundaka wave surfing spot."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3338> \"mundaka\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5031", "question": "Who is the human with the Freebase ID /m/02mjmr?", "sparql": "SELECT ?person WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P646 \"/m/02mjmr\" . } LIMIT 100", "paraphrases": ["Which person is identified by the Freebase identifier /m/02mjmr?", "Find the human entity linked to the Freebase ID /m/02mjmr."], "info": {"raw_sparql": "SELECT ?var1 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P646> \"m.0v4lq14\". } LIMIT 100"}}
{"id": "test_5032", "question": "Human with Freebase ID /m/09b6zr", "sparql": "SELECT ?item WHERE { ?item wdt:P31 wd:Q5 . ?item wdt:P646 \"/m/09b6zr\" . } LIMIT 100", "paraphrases": ["Who is the person with Freebase ID /m/09b6zr?", "Find the Wikidata item for the person whose Freebase ID is /m/09b6zr."], "info": {"raw_sparql": "SELECT ?var1 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P646> \"m.0k6pfrr\". } LIMIT 100"}}
{"id": "test_5033", "question": "What city is Agra Airport located in?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?iataCode ?airport ?location ?locationLabel WHERE {\n  ?airport wdt:P31 wd:Q1248784 .\n  ?airport wdt:P238 ?iataCode .\n  FILTER ( ?iataCode = \"AGR\" ) .\n  OPTIONAL {\n    ?airport wdt:P131 ?location .\n    ?location rdfs:label ?locationLabel .\n    FILTER ( LANG( ?locationLabel ) = \"en\" )\n  }\n}", "paraphrases": ["Which city is the airport with IATA code AGR located in?", "Tell me the administrative location of Agra Civil Enclave airport, which has the IATA code AGR."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var3Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1248784> . ?var2 <http://www.wikidata.org/prop/direct/P238> ?var1 . FILTER ( ( ( ?var1 = \"AGR\" ) ) ) . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P131> ?var3 . } }"}}
{"id": "test_5034", "question": "Names of individual cats documented in Wikidata.", "sparql": "SELECT ?label WHERE { ?cat wdt:P31 wd:Q146 . ?cat rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["What are the names of cats that are instances of the house cat species on Wikidata?", "List the English labels of all individual cats in Wikidata."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q146> . }"}}
{"id": "test_5035", "question": "Which cities in Wikidata have both an English label and a Ukrainian label?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?city ?labelEn ?labelUk WHERE {\n  ?city wdt:P31 wd:Q515 .\n  ?city rdfs:label ?labelEn .\n  FILTER ( LANG( ?labelEn ) = \"en\" ) .\n  ?city rdfs:label ?labelUk .\n  FILTER ( LANG( ?labelUk ) = \"uk\" ) .\n}\nLIMIT 100", "paraphrases": ["Cities with English and Ukrainian labels", "Show me cities that are labeled in both English and Ukrainian."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en-GB\" ) ) ) . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"uk\" ) ) ) . } LIMIT 100"}}
{"id": "test_5036", "question": "Entities related to Haverbeck via statement properties (excluding \"instance of\"), along with their qualifiers.", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?entity ?statement ?property ( SAMPLE( ?qualifier ) AS ?qualifierProperty ) WHERE {\n  {\n    SELECT ?entity ?statement ?property WHERE {\n      ?statement ?statementProperty wd:Q13583667 .\n      ?entity ?claimProperty ?statement .\n      ?property wikibase:statementProperty ?statementProperty .\n      ?property wikibase:claim ?claimProperty .\n      FILTER ( ?property != wd:P31 )\n    }\n    LIMIT 101\n  }\n  OPTIONAL {\n    ?statement ?qualifier ?qualifierValue .\n  }\n}\nGROUP BY ?entity ?statement ?property", "paraphrases": ["What entities are connected to Haverbeck through specific claims (not \"instance of\"), and what qualifiers are used on those claims?", "List the entities linked to Haverbeck using statement-based relationships (excluding P31), and show one qualifier per relationship."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q13583667> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_5037", "question": "List all mountains in Wikidata.", "sparql": "SELECT ?mountain WHERE { ?mountain wdt:P31 wd:Q8502 }", "paraphrases": ["What are the entities classified as mountains in Wikidata?", "Show me all items that are instances of the mountain landform."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/P31> <http://www.wikidata.org/prop/direct/Q22667> . }"}}
{"id": "test_5038", "question": "What diseases are predicted by genetic variants linked to the bladder cancer pathway WP2828?", "sparql": "SELECT ?disease ?diseaseLabel ?gene ?geneLabel ?variant ?variantLabel WHERE {  VALUES (?wikiPathwaysId) { (\"WP2828\") }  ?pathway wdt:P2410 ?wikiPathwaysId ;           wdt:P527 ?gene .  ?variant wdt:P3433 ?gene ;           wdt:P3329 ?civicId .  {    ?variant wdt:P3356 ?disease .  } UNION {    ?variant wdt:P3357 ?disease .  } UNION {    ?variant wdt:P3358 ?disease .  } UNION {    ?variant wdt:P3359 ?disease .  }  ?disease rdfs:label ?diseaseLabel .  ?gene rdfs:label ?geneLabel .  ?variant rdfs:label ?variantLabel .  FILTER(LANG(?diseaseLabel) = \"en\")  FILTER(LANG(?geneLabel) = \"en\")  FILTER(LANG(?variantLabel) = \"en\")}", "paraphrases": ["Which genetic variants in bladder cancer (WikiPathways WP2828) serve as diagnostic or prognostic predictors for other diseases?", "For bladder cancer (WP2828), what specific gene variants are associated with diagnostic or prognostic predictions for other cancers?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { VALUES ( ?var4 ) { ( \"WP2828\" ) } ?var5 <http://www.wikidata.org/prop/direct/P2410> ?var4 ; <http://www.wikidata.org/prop/direct/P527> ?var2 . ?var3 <http://www.wikidata.org/prop/direct/P3329> ?var6 ; <http://www.wikidata.org/prop/direct/P3433> ?var2 . { ?var3 <http://www.wikidata.org/prop/direct/P3356> ?var1 . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P3357> ?var1 . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P3358> ?var1 . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P3359> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,en\". } }"}}
{"id": "test_5039", "question": "List paintings from the Louvre\u2019s Department of Paintings with their titles, images, and artist descriptions in English.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?painting ?title ?image ?description WHERE {\n  ?painting wdt:P195 wd:Q3044768 .\n  ?painting wdt:P18 ?image .\n  ?painting rdfs:label ?title .\n  ?painting schema:description ?description .\n  FILTER ( LANG( ?title ) = \"en\" ) .\n  FILTER ( LANG( ?description ) = \"en\" ) .\n}", "paraphrases": ["What are the titles, images, and artist descriptions of paintings in the Louvre\u2019s Department of Paintings in English?", "Show me the English titles, Wikimedia Commons images, and artist descriptions for all paintings that belong to the Louvre\u2019s Department of Paintings."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P195> <http://www.wikidata.org/entity/Q3044768> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var4 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . }"}}
{"id": "test_5040", "question": "Who are the people convicted of crimes against humanity?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?label WHERE {\n  ?person wdt:P1399 wd:Q173462 .\n  ?person rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nLIMIT 500", "paraphrases": ["List the English names of individuals who have been convicted of crimes against humanity.", "Can you provide a list of people found guilty of crimes against humanity, with their names in English?"], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?var2 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/class/yago/WikicatPeopleIndictedForCrimesAgainstHumanity> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . } FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . } LIMIT 500"}}
{"id": "test_5041", "question": "What Wikidata item has Czech cultural heritage ID 104557?", "sparql": "SELECT DISTINCT (STRAFTER(STR(?item), STR(wd:)) AS ?itemId) WHERE { ?item wdt:P762 \"104557\" . }", "paraphrases": ["Which entity in Wikidata is associated with the Czech cultural heritage identifier 104557?", "Find the Wikidata Q-number for the cultural heritage site with ID 104557 in the Czech Republic."], "info": {"raw_sparql": "SELECT DISTINCT( STRAFTER ( STR ( ?var1 ) , STR ( <http://www.wikidata.org/entity/> ) ) AS ?var2 ) WHERE { VALUES ( ?var3 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"104557\" ) ( \"string4\" ) } ?var1 <http://www.wikidata.org/prop/direct/P762> ?var3 . }"}}
{"id": "test_5042", "question": "Which films has Shah Rukh Khan acted in?", "sparql": "SELECT ?film ?filmLabel WHERE { ?film wdt:P161 wd:Q9535 . ?film rdfs:label ?filmLabel . FILTER(LANG(?filmLabel) = \"en\") } LIMIT 100", "paraphrases": ["List of movies featuring Shah Rukh Khan", "Can you show me the English titles of all films where Shah Rukh Khan was a cast member?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P161> <http://www.wikidata.org/entity/Q9535> . } LIMIT 100"}}
{"id": "test_5043", "question": "List all communes in France with their French names.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commune ?communeLabel WHERE {\n  ?commune wdt:P31 wd:Q484170 .\n  ?commune rdfs:label ?communeLabel .\n  FILTER ( LANG( ?communeLabel ) = \"fr\" )\n}\nLIMIT 40000", "paraphrases": ["What are the names of all communes in France in French?", "Show me the French-language labels for all administrative communes in France."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q484170> . } LIMIT 40000"}}
{"id": "test_5044", "question": "What movie has the IMDb identifier tt1609168?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P345 \"tt1609168\"\n}", "paraphrases": ["Which film is associated with the IMDb ID tt1609168?", "Can you find the Wikidata entity for the movie with IMDb ID tt1609168?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1609168\". }"}}
{"id": "test_5045", "question": "What are the coordinates of the town named \"Nowy S\u0105cz\" in Poland?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?var1 ?var3 WHERE {\n  ?var1 rdfs:label \"Nowy S\u0105cz\" @pl .\n  ?var1 wdt:P625 ?var3 .\n}", "paraphrases": ["Show me the geographic coordinates for the place called \"Nowy S\u0105cz\" in Polish.", "Where is Nowy S\u0105cz located? Return its coordinates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 ?var4Label \"Nowy S\u0105cz\"@pl . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q486972> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl\". } }"}}
{"id": "test_5046", "question": "Female scientists born on August 22 with their occupations.", "sparql": "SELECT ?personLabel ?birthDate (GROUP_CONCAT(?occupationLabel; SEPARATOR=\", \") AS ?occupations) WHERE { ?person wdt:P31 wd:Q5 ; wdt:P21 wd:Q6581072 ; wdt:P106 ?occupation . ?occupation wdt:P279* wd:Q901 . ?person (p:P569/psv:P569) ?statement . ?statement wikibase:timeValue ?birthDate ; wikibase:timePrecision \"11\"^^xsd:integer . FILTER (DAY(?birthDate) = 22 && MONTH(?birthDate) = 8) ?person rdfs:label ?personLabel . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?personLabel) = \"en\") FILTER(LANG(?occupationLabel) = \"en\") } GROUP BY ?personLabel ?birthDate ORDER BY ASC(?birthDate) LIMIT 100", "paraphrases": ["Who are the female scientists born on August 22, and what are their occupations?", "List the names, birth dates, and occupations of all female humans whose profession is a subclass of scientist and who were born on August 22, sorted by birth date."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ( GROUP_CONCAT ( ?var3Label ; SEPARATOR = \", \" ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var5 <http://wikiba.se/ontology#timePrecision> \"11\"^^<http://www.w3.org/2001/XMLSchema#integer> . ?var5 <http://wikiba.se/ontology#timeValue> ?var2 . FILTER ( ( ( YEAR ( ?var2 ) > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( DAY ( ?var2 ) = \"22\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( MONTH ( ?var2 ) = \"8\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var1 ( <http://www.wikidata.org/prop/P569> / <http://www.wikidata.org/prop/statement/value/P569> ) ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q901> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var1 <http://www.wikidata.org/prop/direct/P106> ?var3 . OPTIONAL { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . } } GROUP BY ?var1Label ?var2 ORDER BY ASC( ?var2 ) LIMIT 100"}}
{"id": "test_5047", "question": "Administrative divisions and country of Port Washington, Wisconsin.", "sparql": "SELECT DISTINCT ?item ?itemLabel WHERE { { wd:Q1016131 (wdt:P131)+ ?item . } UNION { wd:Q1016131 wdt:P17 ?item . } UNION { wd:Q1016131 wdt:P30 ?item . } UNION { wd:Q1016131 wdt:P376 ?item . } UNION { wd:Q1016131 wdt:P501 ?item . } OPTIONAL { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } }", "paraphrases": ["What countries and administrative regions is Port Washington, Wisconsin part of?", "List all the higher-level geographic and administrative entities that include Port Washington, Wisconsin."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q1016131> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_5048", "question": "What are the heritage monuments in Paris with their images and administrative locations?", "sparql": "PREFIX geof: <http://www.opengis.net/def/function/geosparql/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?monument ?monumentLabel ?adminArea ?adminAreaLabel ?image ?coord WHERE {\n  VALUES ?monumentType {\n    wd:Q16970 wd:Q15275719 wd:Q18041274\n  }\n  ?monument wdt:P31 ?monumentType .\n  ?monument wdt:P625 ?coord .\n  FILTER ( geof:latitude ( ?coord ) >= 48.815 && geof:latitude ( ?coord ) <= 48.902 && geof:longitude ( ?coord ) >= 2.224 && geof:longitude ( ?coord ) <= 2.4697 ) .\n  OPTIONAL {\n    ?monument wdt:P131 ?adminArea .\n  }\n  OPTIONAL {\n    ?monument wdt:P18 ?image .\n  }\n  {\n    ?monument p:P1435 ?heritageDesignation .\n  } UNION {\n    ?monument p:P2186 ?wlmId .\n  }\n  ?monument rdfs:label ?monumentLabel .\n  FILTER ( LANG( ?monumentLabel ) = \"en\" ) .\n  OPTIONAL {\n    ?adminArea rdfs:label ?adminAreaLabel .\n    FILTER ( LANG( ?adminAreaLabel ) = \"en\" ) .\n  }\n}\nLIMIT 20", "paraphrases": ["Show me cultural heritage sites in the Paris region that are listed in Wiki Loves Monuments, along with their labels and pictures.", "List churches and monuments in central Paris that have heritage designations, including their coordinates and nearby administrative areas."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var5 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerWest> \"POINT(2 49)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerEast> \"POINT(2 49)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } { ?var1 <http://www.wikidata.org/prop/P1435> ?var6 . } UNION { ?var1 <http://www.wikidata.org/prop/P2186> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } }"}}
{"id": "test_5049", "question": "List all subsidiaries of the Australian Army and their sub-subsidiaries, with English labels.", "sparql": "SELECT DISTINCT ?subsidiary ?subsidiaryLabel ?subsubsidiaryLabel WHERE { wd:Q781360 wdt:P355* ?subsidiary . FILTER (?subsidiary != wd:Q781360) OPTIONAL { ?subsidiary wdt:P355 ?subsubsidiary . ?subsubsidiary rdfs:label ?subsubsidiaryLabel . FILTER(LANG(?subsubsidiaryLabel) = \"en\") } ?subsidiary rdfs:label ?subsidiaryLabel . FILTER(LANG(?subsidiaryLabel) = \"en\") }", "paraphrases": ["What are the direct and indirect subsidiaries of the Australian Army, and which of them have their own subsidiaries?", "Show me the English names of all units under the Australian Army, including any units under those units, but exclude the Australian Army itself."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { <http://www.wikidata.org/entity/Q781360> <http://www.wikidata.org/prop/direct/P355> * ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P355> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5050", "question": "What films or shows did Jack Nicholson perform in, and what character did he play in each?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?work ?character WHERE {\n  ?work p:P175 ?statement .\n  ?statement ps:P175 wd:Q39792 .\n  OPTIONAL {\n    ?statement pq:P10663 ?character .\n  }\n}\nORDER BY ?work", "paraphrases": ["Show all works where Jack Nicholson was a performer, along with any associated role character (if recorded).", "List Jack Nicholson\u2019s acting roles and the characters he portrayed, based on Wikidata\u2019s qualifier data."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P175> <http://www.wikidata.org/entity/Q39792> . ?var1 <http://www.wikidata.org/prop/P175> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_5051", "question": "People who belong to noble families and their family names.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?family ?familyLabel WHERE {\n  ?person wdt:P53 ?family .\n  ?person wdt:P31 wd:Q5 .\n  ?person rdfs:label ?personLabel .\n  ?family rdfs:label ?familyLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) FILTER ( LANG( ?familyLabel ) = \"en\" )\n}\nLIMIT 1000", "paraphrases": ["Which human individuals are members of noble families, and what are the names of those families?", "List all people linked to noble houses along with the names of those houses."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P53> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 1000"}}
{"id": "test_5052", "question": "How many scholarly articles are there in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT(COUNT(DISTINCT ?article) AS ?count) WHERE {\n  ?article wdt:P31 wd:Q13442814 .\n}", "paraphrases": ["What is the total number of items classified as scholarly articles in Wikidata?", "Count the number of distinct entities that are instances of scholarly articles in Wikidata."], "info": {"raw_sparql": "SELECT( COUNT ( DISTINCT ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13442814> . } LIMIT 100"}}
{"id": "test_5053", "question": "What is the English description of the film with \u010cSFD ID 10135?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P2529 \"10135\" .\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Find the movie in Wikidata that has the \u010cSFD identifier 10135 and show its English description if available.", "Which film is identified by the \u010cSFD ID 10135, and what is its English description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2529> \"397132\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5054", "question": "Who is a human writer named George Orwell?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?writer ?writerLabel WHERE {\n  ?writer wdt:P31 wd:Q5 .\n  ?writer wdt:P106 wd:Q36180 .\n  ?writer rdfs:label \"George Orwell\" @en .\n}", "paraphrases": ["Which human has the occupation of writer and is named George Orwell in English?", "List the writer named George Orwell who is a human."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q36180> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"string1\"@en . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_5055", "question": "Mathematicians in MacTutor with known gender and English labels.", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P1563 ?macTutorId . ?person wdt:P21 ?gender . ?person wdt:P31 wd:Q5 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["Who are the human mathematicians listed in the MacTutor History of Mathematics archive with a defined biological sex and an English-language name?", "List the English names of all human mathematicians from the MacTutor archive who have a recorded gender."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1563> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P21> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_5056", "question": "Which property is most commonly used to classify other properties as unique identifiers in Wikidata?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nSELECT ?property ( COUNT( ?property ) AS ?count ) WHERE {\n  ?item ?claim wd:Q6545185 .\n  ?property wikibase:directClaim ?claim .\n  ?property rdf:type wikibase:Property .\n}\nGROUP BY ?property\nORDER BY DESC ( ?count )\nLIMIT 1", "paraphrases": ["What property is used most frequently to indicate that a property is an instance of a unique identifier?", "Show me the property that is used to classify the most number of identifier properties as instances of \"unique identifier\"."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q6545185> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_5057", "question": "What organizations has Lisbeth Marner been affiliated with or employed by, and when did those associations begin?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?image ?organization ?organizationLabel ?start ?end ?degreeLabel WHERE {\n  {\n    wd:Q26333529 p:P1416 ?statement .\n  } UNION {\n    wd:Q26333529 p:P108 ?statement .\n  }\n  {\n    ?statement ps:P1416 ?organization .\n  } UNION {\n    ?statement ps:P108 ?organization .\n  }\n  ?organization rdfs:label ?organizationLabel .\n  FILTER ( LANG( ?organizationLabel ) = \"en\" ) OPTIONAL {\n    ?organization wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?statement pq:P580 ?start .\n  }\n  OPTIONAL {\n    ?statement pq:P582 ?end .\n  }\n  OPTIONAL {\n    ?statement pq:P512 ?degree .\n    ?degree rdfs:label ?degreeLabel .\n    FILTER ( LANG( ?degreeLabel ) = \"en\" )\n  }\n}", "paraphrases": ["Show me the images and start dates of the institutions Lisbeth Marner is connected to, such as the University of Copenhagen and Copenhagen University Hospital.", "Which organizations is researcher Lisbeth Marner associated with, and does any of those associations include an academic degree?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label ?var4 ?var5 ?var6Label WHERE { { <http://www.wikidata.org/entity/Q26333529> <http://www.wikidata.org/prop/P1416> ?var7 . } UNION { <http://www.wikidata.org/entity/Q26333529> <http://www.wikidata.org/prop/P108> ?var7 . } { ?var7 <http://www.wikidata.org/prop/statement/P1416> ?var2 . } UNION { ?var7 <http://www.wikidata.org/prop/statement/P108> ?var2 . } ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P580> ?var4 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P582> ?var5 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P512> ?var8 . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_5058", "question": "What country, city, and continent is the Laurier Palace located in?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?location WHERE {\n  {\n    wd:Q37762390 wdt:P131 ?location .\n  } UNION {\n    wd:Q37762390 wdt:P17 ?location .\n  } UNION {\n    wd:Q37762390 wdt:P17 ?country .\n    ?country wdt:P30 ?location .\n  }\n}", "paraphrases": ["Can you tell me the geographic location hierarchy of the Laurier Palace Theatre, including its city, country, and continent?", "Where was the Laurier Palace situated in terms of administrative division, nation, and continent?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q37762390> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_5059", "question": "Locomotives on the Isle of Wight with their fleet numbers from Southern Railway and names.", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?locomotive ?label(GROUP_CONCAT(DISTINCT ?fleetNumber ; SEPARATOR = \" \") AS ?fleetNumbers)(GROUP_CONCAT(DISTINCT ?name ; SEPARATOR = \" \") AS ?names) WHERE {\n  ?locomotive(wdt:P31 / wdt:P279 *) wd:Q93301 .\n  ?locomotive wdt:P131 * wd:Q9679 .\n  OPTIONAL {\n    ?locomotive p:P2802 ?fleetStmt .\n    ?fleetStmt ps:P2802 ?fleetNumber ; pq:P2378 wd:Q741266 .\n  }\n  OPTIONAL {\n    ?locomotive wdt:P2561 ?name .\n  }\n  ?locomotive rdfs:label ?label .\n  FILTER(LANG(?label) = 'en')\n}\nGROUP BY ?locomotive ?label\nLIMIT 100", "paraphrases": ["Which locomotives are located on the Isle of Wight, and what are their fleet numbers (assigned by Southern Railway) and names?", "List all locomotives on the Isle of Wight, including their names and Southern Railway fleet numbers if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( GROUP_CONCAT ( DISTINCT ?var2 ) AS ?var3 )( GROUP_CONCAT ( DISTINCT ?var4 ) AS ?var5 ) WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q93301> . ?var1 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q9679> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/P2802> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P2802> ?var2 ; <http://www.wikidata.org/prop/qualifier/P2378> <http://www.wikidata.org/entity/Q741266> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/P131> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2561> ?var4 . } } GROUP BY ?var1 ?var1Label LIMIT 100"}}
{"id": "test_5060", "question": "List instances of discrimination with their English labels, Wikipedia pages, and images.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item ?itemLabel ( SAMPLE( ?imageUri ) AS ?image ) ( SAMPLE( ?wikipediaUri ) AS ?wikipediaPage ) WHERE {\n  ?item wdt:P31 wd:Q169207 .\n  OPTIONAL {\n    ?item wdt:P18 ?imageUri .\n  }\n  OPTIONAL {\n    ?wikipediaUri schema:about ?item ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}\nGROUP BY ?item ?itemLabel\nLIMIT 50", "paraphrases": ["What are the known forms of discrimination in English, along with their corresponding Wikipedia articles and associated images on Wikimedia Commons?", "Show me up to 50 types of discrimination, including their English names, links to English Wikipedia pages, and any available images from Commons."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var3 ) ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q169207> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,fr,es,de,ru,it,nl,ja,zh,pl,cs\". } } GROUP BY ?var1 ?var1Label ?var2 ?var4 LIMIT 50"}}
{"id": "test_5061", "question": "What property is most commonly used to link other works to the 1973 film Westworld?", "sparql": "SELECT ?property (COUNT(?property) AS ?count) WHERE { ?item ?propertyUse wd:Q503343 . ?property wikibase:directClaim ?propertyUse . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which Wikidata property connects the most items to the movie Westworld (1973)?", "Among all properties that relate entities to Westworld (1973), which one is used the most?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q503343> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_5062", "question": "Female humans born in Lithuania with their birth coordinates and images", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel ?birthCoordinates ?image WHERE {\n  ?person wdt:P31 wd:Q5 ; wdt:P21 wd:Q6581072 ; wdt:P19 [ wdt:P625 ?birthCoordinates ; wdt:P17 wd:Q37 ] .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}", "paraphrases": ["Who are the women born in Lithuania, and what are the coordinates of their birthplaces and their images?", "List all female humans born in Lithuania, including their English names, birthplace coordinates, and any available images."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> ; <http://www.wikidata.org/prop/direct/P19> [ <http://www.wikidata.org/prop/direct/P625> ?var2 ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q37> ] . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"lt,en\". } }"}}
{"id": "test_5063", "question": "Films released in 2016 with their IMDb IDs", "sparql": "SELECT DISTINCT ?film ?publicationDate ?imdbId WHERE { ?film (wdt:P31/wdt:P279*) wd:Q11424 . OPTIONAL { ?film wdt:P577 ?publicationDate . } OPTIONAL { ?film wdt:P345 ?imdbId . } FILTER (YEAR(?publicationDate) = 2016) }", "paraphrases": ["What films (including subtypes like documentaries or animated films) were released in 2016, and what are their IMDb identifiers?", "List all films from 2016 along with their IMDb IDs, including all subtypes of film."], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11424> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . } FILTER ( ( ( YEAR ( ?var2 ) = \"2016\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . }"}}
{"id": "test_5064", "question": "Highest mountains in the United Arab Emirates with their elevation and coordinates.", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?mountain ?latitude ?longitude ?elevationAmount ?administrativeEntity WHERE {\n  ?mountain ( wdt:P31 / wdt:P279 * ) wd:Q8502 .\n  ?mountain wdt:P17 wd:Q878 .\n  OPTIONAL {\n    ?mountain ( p:P625 / psv:P625 ) ?coord .\n    ?coord wikibase:geoLatitude ?latitude ; wikibase:geoLongitude ?longitude .\n  }\n  OPTIONAL {\n    ?mountain ( p:P2044 / psv:P2044 ) ?elevation .\n    ?elevation wikibase:quantityAmount ?elevationAmount .\n  }\n  OPTIONAL {\n    ?mountain wdt:P131 ?administrativeEntity .\n  }\n}\nORDER BY DESC ( ?elevationAmount )\nLIMIT 50", "paraphrases": ["What are the tallest mountains in the UAE, and what are their elevations and geographic coordinates?", "List the top 50 highest peaks in the United Arab Emirates, including their latitude, longitude, and elevation above sea level."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6Label ?var7 ?var8Label ?var9 ?var10Label ?var11 ?var11Label ?var12Label ?var13 ?var13Label ?var14 ?var14Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q8502> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q878> . OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P625> / <http://www.wikidata.org/prop/statement/value/P625> ) ?var15 . ?var15 <http://wikiba.se/ontology#geoLatitude> ?var2 ; <http://wikiba.se/ontology#geoLongitude> ?var3 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2046> / <http://www.wikidata.org/prop/statement/value/P2046> ) ?var16 . ?var16 <http://wikiba.se/ontology#quantityAmount> ?var4 . ?var16 <http://wikiba.se/ontology#quantityUnit> ?var17 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2044> / <http://www.wikidata.org/prop/statement/value/P2044> ) ?var18 . ?var18 <http://wikiba.se/ontology#quantityAmount> ?var5 . ?var18 <http://wikiba.se/ontology#quantityUnit> ?var6 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2659> / <http://www.wikidata.org/prop/statement/value/P2659> ) ?var19 . ?var19 <http://wikiba.se/ontology#quantityAmount> ?var7 . ?var19 <http://wikiba.se/ontology#quantityUnit> ?var8 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2660> / <http://www.wikidata.org/prop/statement/value/P2660> ) ?var20 . ?var20 <http://wikiba.se/ontology#quantityAmount> ?var9 . ?var20 <http://wikiba.se/ontology#quantityUnit> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3137> ?var11 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P186> ?var12 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P361> ?var13 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var14 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en,fr,it,es,ru\". } } ORDER BY DESC( ?var5 )"}}
{"id": "test_5065", "question": "What are the geographic details (coordinates, area, length, width, etc.) of lakes in Guernsey?", "sparql": "SELECT DISTINCT ?lake ?lakeLabel ?latitude ?longitude ?area ?areaUnit ?length ?lengthUnit ?width ?widthUnit ?watershedArea ?watershedAreaUnit ?volume ?volumeUnit ?perimeter ?perimeterUnit WHERE { ?lake (wdt:P31/wdt:P279*) wd:Q23397 . ?lake wdt:P17 wd:Q25230 . ?lake rdfs:label ?lakeLabel . FILTER(LANG(?lakeLabel) = \"en\") OPTIONAL { ?lake (p:P625/psv:P625) ?coord . ?coord wikibase:geoLatitude ?latitude ; wikibase:geoLongitude ?longitude . } OPTIONAL { ?lake (p:P2046/psv:P2046) ?areaStmt . ?areaStmt wikibase:quantityAmount ?area ; wikibase:quantityUnit ?areaUnit . } OPTIONAL { ?lake (p:P2043/psv:P2043) ?lengthStmt . ?lengthStmt wikibase:quantityAmount ?length ; wikibase:quantityUnit ?lengthUnit . } OPTIONAL { ?lake (p:P2049/psv:P2049) ?widthStmt . ?widthStmt wikibase:quantityAmount ?width ; wikibase:quantityUnit ?widthUnit . } OPTIONAL { ?lake (p:P2053/psv:P2053) ?watershedStmt . ?watershedStmt wikibase:quantityAmount ?watershedArea ; wikibase:quantityUnit ?watershedAreaUnit . } OPTIONAL { ?lake (p:P2234/psv:P2234) ?volumeStmt . ?volumeStmt wikibase:quantityAmount ?volume ; wikibase:quantityUnit ?volumeUnit . } OPTIONAL { ?lake (p:P2547/psv:P2547) ?perimeterStmt . ?perimeterStmt wikibase:quantityAmount ?perimeter ; wikibase:quantityUnit ?perimeterUnit . } } ORDER BY DESC(?area) LIMIT 1", "paraphrases": ["Can you tell me about the largest lake in Guernsey, including its size, location, and other physical properties?", "Show me the one lake in Guernsey with its location and measurements like area, length, and volume, if available."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 ?var12 ?var13 ?var14 ?var15 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q23397> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q25230> . OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P625> / <http://www.wikidata.org/prop/statement/value/P625> ) ?var16 . ?var16 <http://wikiba.se/ontology#geoLatitude> ?var2 ; <http://wikiba.se/ontology#geoLongitude> ?var3 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2046> / <http://www.wikidata.org/prop/statement/value/P2046> ) ?var17 . ?var17 <http://wikiba.se/ontology#quantityAmount> ?var4 . ?var17 <http://wikiba.se/ontology#quantityUnit> ?var5 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2043> / <http://www.wikidata.org/prop/statement/value/P2043> ) ?var18 . ?var18 <http://wikiba.se/ontology#quantityAmount> ?var6 . ?var18 <http://wikiba.se/ontology#quantityUnit> ?var7 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2049> / <http://www.wikidata.org/prop/statement/value/P2049> ) ?var19 . ?var19 <http://wikiba.se/ontology#quantityAmount> ?var8 . ?var19 <http://wikiba.se/ontology#quantityUnit> ?var9 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2234> / <http://www.wikidata.org/prop/statement/value/P2234> ) ?var20 . ?var20 <http://wikiba.se/ontology#quantityUnit> ?var11 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2053> / <http://www.wikidata.org/prop/statement/value/P2053> ) ?var21 . ?var21 <http://wikiba.se/ontology#quantityAmount> ?var12 . ?var21 <http://wikiba.se/ontology#quantityUnit> ?var13 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2547> / <http://www.wikidata.org/prop/statement/value/P2547> ) ?var22 . ?var22 <http://wikiba.se/ontology#quantityAmount> ?var14 . ?var22 <http://wikiba.se/ontology#quantityUnit> ?var15 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } } ORDER BY DESC( ?var4 )"}}
{"id": "test_5066", "question": "Lakes in Libya with their area, coordinates, length, width, volume, watershed area, and perimeter.", "sparql": "PREFIX geof: <http://www.opengis.net/def/function/geosparql/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nSELECT DISTINCT ?lake ?label ?lat ?lon ?area ?areaUnit ?length ?lengthUnit ?width ?widthUnit ?volume ?volumeUnit ?watershedArea ?watershedAreaUnit ?perimeter ?perimeterUnit WHERE {\n  ?lake ( wdt:P31 / wdt:P279 * ) wd:Q23397 .\n  ?lake wdt:P17 wd:Q1016 .\n  OPTIONAL {\n    ?lake wdt:P625 ?coord .\n    BIND( geof:latitude ( ?coord ) AS ?lat ) BIND( geof:longitude ( ?coord ) AS ?lon )\n  }\n  OPTIONAL {\n    ?lake p:P2046 / psv:P2046 ?areaStmt .\n    ?areaStmt wikibase:quantityAmount ?area ; wikibase:quantityUnit ?areaUnit .\n  }\n  OPTIONAL {\n    ?lake p:P2043 / psv:P2043 ?lengthStmt .\n    ?lengthStmt wikibase:quantityAmount ?length ; wikibase:quantityUnit ?lengthUnit .\n  }\n  OPTIONAL {\n    ?lake p:P2049 / psv:P2049 ?widthStmt .\n    ?widthStmt wikibase:quantityAmount ?width ; wikibase:quantityUnit ?widthUnit .\n  }\n  OPTIONAL {\n    ?lake p:P2234 / psv:P2234 ?volumeStmt .\n    ?volumeStmt wikibase:quantityAmount ?volume ; wikibase:quantityUnit ?volumeUnit .\n  }\n  OPTIONAL {\n    ?lake p:P2053 / psv:P2053 ?watershedStmt .\n    ?watershedStmt wikibase:quantityAmount ?watershedArea ; wikibase:quantityUnit ?watershedAreaUnit .\n  }\n  OPTIONAL {\n    ?lake p:P2547 / psv:P2547 ?perimeterStmt .\n    ?perimeterStmt wikibase:quantityAmount ?perimeter ; wikibase:quantityUnit ?perimeterUnit .\n  }\n  OPTIONAL {\n    ?lake rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n}\nORDER BY DESC ( ?area )", "paraphrases": ["What are the lakes in Libya, and what are their geographic coordinates, surface area, length, width, volume, watershed size, and perimeter?", "Please list all lakes in Libya along with their available measurements: location (latitude/longitude), area, length, width, volume, watershed area, and perimeter, sorted by largest area first."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 ?var12 ?var13 ?var14 ?var15 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q23397> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q1016> . OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P625> / <http://www.wikidata.org/prop/statement/value/P625> ) ?var16 . ?var16 <http://wikiba.se/ontology#geoLatitude> ?var2 ; <http://wikiba.se/ontology#geoLongitude> ?var3 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2046> / <http://www.wikidata.org/prop/statement/value/P2046> ) ?var17 . ?var17 <http://wikiba.se/ontology#quantityAmount> ?var4 . ?var17 <http://wikiba.se/ontology#quantityUnit> ?var5 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2043> / <http://www.wikidata.org/prop/statement/value/P2043> ) ?var18 . ?var18 <http://wikiba.se/ontology#quantityAmount> ?var6 . ?var18 <http://wikiba.se/ontology#quantityUnit> ?var7 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2049> / <http://www.wikidata.org/prop/statement/value/P2049> ) ?var19 . ?var19 <http://wikiba.se/ontology#quantityAmount> ?var8 . ?var19 <http://wikiba.se/ontology#quantityUnit> ?var9 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2234> / <http://www.wikidata.org/prop/statement/value/P2234> ) ?var20 . ?var20 <http://wikiba.se/ontology#quantityUnit> ?var11 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2053> / <http://www.wikidata.org/prop/statement/value/P2053> ) ?var21 . ?var21 <http://wikiba.se/ontology#quantityAmount> ?var12 . ?var21 <http://wikiba.se/ontology#quantityUnit> ?var13 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2547> / <http://www.wikidata.org/prop/statement/value/P2547> ) ?var22 . ?var22 <http://wikiba.se/ontology#quantityAmount> ?var14 . ?var22 <http://wikiba.se/ontology#quantityUnit> ?var15 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } } ORDER BY DESC( ?var4 )"}}
{"id": "test_5067", "question": "What are the lakes in Serbia, ordered by their area from largest to smallest, along with their coordinates and other physical dimensions?", "sparql": "SELECT DISTINCT ?lake ?lakeLabel ?latitude ?longitude ?area ?areaUnit ?length ?lengthUnit ?width ?widthUnit ?volumeUnit ?watershedArea ?watershedAreaUnit ?perimeter ?perimeterUnit WHERE {  ?lake (wdt:P31/wdt:P279*) wd:Q23397 .  ?lake wdt:P17 wd:Q403 .  OPTIONAL {    ?lake wdt:P625 ?coord .    BIND(geof:latitude(?coord) AS ?latitude)    BIND(geof:longitude(?coord) AS ?longitude)  }  OPTIONAL {    ?lake p:P2046 ?areaStmt .    ?areaStmt psv:P2046 ?areaValue .    ?areaValue wikibase:quantityAmount ?area ;               wikibase:quantityUnit ?areaUnit .  }  OPTIONAL {    ?lake p:P2043 ?lengthStmt .    ?lengthStmt psv:P2043 ?lengthValue .    ?lengthValue wikibase:quantityAmount ?length ;                 wikibase:quantityUnit ?lengthUnit .  }  OPTIONAL {    ?lake p:P2049 ?widthStmt .    ?widthStmt psv:P2049 ?widthValue .    ?widthValue wikibase:quantityAmount ?width ;                wikibase:quantityUnit ?widthUnit .  }  OPTIONAL {    ?lake p:P2234 ?volumeStmt .    ?volumeStmt psv:P2234 ?volumeValue .    ?volumeValue wikibase:quantityUnit ?volumeUnit .  }  OPTIONAL {    ?lake p:P2053 ?watershedStmt .    ?watershedStmt psv:P2053 ?watershedValue .    ?watershedValue wikibase:quantityAmount ?watershedArea ;                    wikibase:quantityUnit ?watershedAreaUnit .  }  OPTIONAL {    ?lake p:P2547 ?perimeterStmt .    ?perimeterStmt psv:P2547 ?perimeterValue .    ?perimeterValue wikibase:quantityAmount ?perimeter ;                    wikibase:quantityUnit ?perimeterUnit .  }  ?lake rdfs:label ?lakeLabel .  FILTER(LANG(?lakeLabel) = \"en\")} ORDER BY DESC(?area)", "paraphrases": ["Show me the lakes in Serbia with their area, length, width, volume, and watershed size, and include their geographic coordinates where available.", "List all lakes in Serbia, including their area in square kilometers, length, width, volume, and watershed area, sorted by the largest lake first."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 ?var12 ?var13 ?var14 ?var15 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q23397> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q403> . OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P625> / <http://www.wikidata.org/prop/statement/value/P625> ) ?var16 . ?var16 <http://wikiba.se/ontology#geoLatitude> ?var2 ; <http://wikiba.se/ontology#geoLongitude> ?var3 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2046> / <http://www.wikidata.org/prop/statement/value/P2046> ) ?var17 . ?var17 <http://wikiba.se/ontology#quantityAmount> ?var4 . ?var17 <http://wikiba.se/ontology#quantityUnit> ?var5 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2043> / <http://www.wikidata.org/prop/statement/value/P2043> ) ?var18 . ?var18 <http://wikiba.se/ontology#quantityAmount> ?var6 . ?var18 <http://wikiba.se/ontology#quantityUnit> ?var7 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2049> / <http://www.wikidata.org/prop/statement/value/P2049> ) ?var19 . ?var19 <http://wikiba.se/ontology#quantityAmount> ?var8 . ?var19 <http://wikiba.se/ontology#quantityUnit> ?var9 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2234> / <http://www.wikidata.org/prop/statement/value/P2234> ) ?var20 . ?var20 <http://wikiba.se/ontology#quantityUnit> ?var11 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2053> / <http://www.wikidata.org/prop/statement/value/P2053> ) ?var21 . ?var21 <http://wikiba.se/ontology#quantityAmount> ?var12 . ?var21 <http://wikiba.se/ontology#quantityUnit> ?var13 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2547> / <http://www.wikidata.org/prop/statement/value/P2547> ) ?var22 . ?var22 <http://wikiba.se/ontology#quantityAmount> ?var14 . ?var22 <http://wikiba.se/ontology#quantityUnit> ?var15 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } } ORDER BY DESC( ?var4 )"}}
{"id": "test_5068", "question": "What properties does the scholarly article tRNAscan-SE use, and what are the English labels of those properties and their values?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?propertyLabel(COUNT(?value) AS ?valueCount)(GROUP_CONCAT(?valueLabel ; SEPARATOR = \", \") AS ?valueLabels) WHERE {\n  wd:Q24544402 ?property ?value .\n  ?value rdfs:label ?valueLabel .\n  FILTER(LANG(?valueLabel) = \"en\")\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?propertyLabel .\n  FILTER(LANG(?propertyLabel) = \"en\")\n}\nGROUP BY ?property ?propertyLabel", "paraphrases": ["For the article tRNAscan-SE, which properties link it to entities with English labels, how many such entities does each property have, and what are their labels?", "List all properties of tRNAscan-SE that point to English-labeled entities, along with the count of such entities and their concatenated labels."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q24544402> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_5069", "question": "Italian labels and descriptions of positions held in Wikidata", "sparql": "SELECT ?position ?label ?description WHERE { ?person p:P39 ?statement . ?statement ps:P39 ?position . ?position rdfs:label ?label . ?position schema:description ?description . FILTER(LANG(?label) = \"it\") . FILTER(LANG(?description) = \"it\") } LIMIT 100", "paraphrases": ["What are the positions held that have Italian-language labels and descriptions?", "List up to 100 public offices or jobs with their Italian names and descriptions."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/statement/P39> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"it\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"it\" ) ) ) . } LIMIT 100"}}
{"id": "test_5070", "question": "What are the largest islands in Austria, and what are their areas and lengths?", "sparql": "SELECT DISTINCT \n  ?island \n  ?latitude ?longitude \n  ?area \n  ?length\n  ?partOf \n  ?adminArea\nWHERE {\n  ?island (wdt:P31/wdt:P279*) wd:Q23442 .\n  ?island wdt:P17 wd:Q40 .\n\n  OPTIONAL {\n    ?island wdt:P625 ?coord .\n    ?coord wikibase:geoLatitude ?latitude ;\n           wikibase:geoLongitude ?longitude .\n  }\n\n  OPTIONAL {\n    ?island p:P2046 / psv:P2046 ?areaStmt .\n    ?areaStmt wikibase:quantityAmount ?area .\n  }\n\n  OPTIONAL {\n    ?island p:P2043 / psv:P2043 ?lengthStmt .\n    ?lengthStmt wikibase:quantityAmount ?length .\n  }\n\n  OPTIONAL { ?island wdt:P361 ?partOf . }\n  OPTIONAL { ?island wdt:P131 ?adminArea . }\n}\nORDER BY DESC(?area)\nLIMIT 10", "paraphrases": ["Can you list islands in Austria along with the municipalities they belong to and any larger bodies of water they are part of?", "Show me the top 10 islands in Austria by area, including their dimensions and geographic relationships."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var5Label ?var6 ?var7 ?var7Label ?var8 ?var9 ?var9Label ?var10 ?var11Label ?var12 ?var13 ?var13Label ?var14 ?var14Label ?var15 ?var15Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q23442> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q40> . OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P625> / <http://www.wikidata.org/prop/statement/value/P625> ) ?var16 . ?var16 <http://wikiba.se/ontology#geoLatitude> ?var2 ; <http://wikiba.se/ontology#geoLongitude> ?var3 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2046> / <http://www.wikidata.org/prop/statement/value/P2046> ) ?var17 . ?var17 <http://wikiba.se/ontology#quantityAmount> ?var4 . ?var17 <http://wikiba.se/ontology#quantityUnit> ?var5 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2043> / <http://www.wikidata.org/prop/statement/value/P2043> ) ?var18 . ?var18 <http://wikiba.se/ontology#quantityAmount> ?var6 . ?var18 <http://wikiba.se/ontology#quantityUnit> ?var7 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2049> / <http://www.wikidata.org/prop/statement/value/P2049> ) ?var19 . ?var19 <http://wikiba.se/ontology#quantityAmount> ?var8 . ?var19 <http://wikiba.se/ontology#quantityUnit> ?var9 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2547> / <http://www.wikidata.org/prop/statement/value/P2547> ) ?var20 . ?var20 <http://wikiba.se/ontology#quantityAmount> ?var10 . ?var20 <http://wikiba.se/ontology#quantityUnit> ?var11 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P2044> / <http://www.wikidata.org/prop/statement/value/P2044> ) ?var21 . ?var21 <http://wikiba.se/ontology#quantityAmount> ?var12 . ?var21 <http://wikiba.se/ontology#quantityUnit> ?var13 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P361> ?var14 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var15 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en,fr,es,se,sv,it,ru\". } } ORDER BY DESC( ?var4 )"}}
{"id": "test_5071", "question": "List news articles with their publication dates.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?article ?articleLabel ?publicationDate WHERE {\n  ?article wdt:P31 wd:Q5707594 .\n  OPTIONAL {\n    ?article wdt:P577 ?publicationDate .\n  }\n  ?article rdfs:label ?articleLabel .\n  FILTER(LANG(?articleLabel) = \"en\")\n}\nLIMIT 1000", "paraphrases": ["What are the English titles and publication dates of news articles in Wikidata?", "Show me up to 1000 news articles along with their English titles and when they were published."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5707594> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var2 . } } LIMIT 1000"}}
{"id": "test_5072", "question": "What are the English-labeled properties related to the Commons gallery property (P935) on Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?relatedProperty ?label ?description WHERE {\n  wd:P935 wdt:P1659 ?relatedProperty .\n  ?relatedProperty rdfs:label ?label .\n  ?relatedProperty schema:description ?description .\n  FILTER ( LANG( ?label ) = \"en\" ) FILTER ( LANG( ?description ) = \"en\" )\n}", "paraphrases": ["Which properties are linked to the Commons gallery (P935) via the \"related property\" relation, and what are their English labels and descriptions?", "Show me the English labels and descriptions of all properties that are related to the Wikimedia Commons gallery property (P935)."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P935> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . }"}}
{"id": "test_5073", "question": "Countries that share a border with Finland.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?borderingCountry ?borderingCountryLabel WHERE {\n  wd:Q33 wdt:P47 ?borderingCountry .\n  ?borderingCountry wdt:P31 wd:Q3624078 .\n  ?borderingCountry rdfs:label ?borderingCountryLabel .\n  FILTER(LANG(?borderingCountryLabel) = \"en\")\n}", "paraphrases": ["Which countries border Finland and are sovereign states?", "List the English names of all sovereign states that share a land border with Finland."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q33> <http://www.wikidata.org/prop/direct/P47> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3624078> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5074", "question": "French Members of the European Parliament and their occupations", "sparql": "SELECT ?person ?personLabel ?occupation ?occupationLabel WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P39 wd:Q27169 . ?person wdt:P27 wd:Q142 . OPTIONAL { ?person wdt:P106 ?occupation . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") OPTIONAL { ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = \"en\") } }", "paraphrases": ["Who are the French citizens who have served as Members of the European Parliament, and what are their occupations?", "List all French Members of the European Parliament along with their occupations."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var2 . } ?var1 <http://www.wikidata.org/prop/direct/P495> <http://www.wikidata.org/entity/Q30> . ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q27169> . } LIMIT 100"}}
{"id": "test_5075", "question": "Top-grossing movies and their cast members by box office earnings", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?filmLabel ?actorLabel ?boxOffice WHERE {\n  ?film wdt:P31 wd:Q11424 ; wdt:P161 ?actor ; wdt:P2142 ?boxOffice .\n  FILTER ( isLiteral( ?boxOffice ) ) FILTER ( xsd:decimal ( ?boxOffice ) ) ?film rdfs:label ?filmLabel .\n  ?actor rdfs:label ?actorLabel .\n  FILTER ( LANG( ?filmLabel ) = \"en\" ) FILTER ( LANG( ?actorLabel ) = \"en\" )\n}\nGROUP BY ?filmLabel ?actorLabel ?boxOffice\nORDER BY DESC ( ?boxOffice )", "paraphrases": ["Which films have the highest box office earnings, and who are the actors in them?", "List movies along with their main actors and their total box office revenue, sorted from highest to lowest earnings."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/P161> [ <http://www.wikidata.org/prop/statement/P161> ?var2 ] . ?var1 <http://www.wikidata.org/prop/direct/P2142> ?var3 . } GROUP BY ?var1Label ?var2Label ?var3 ORDER BY DESC( ?var3 )"}}
{"id": "test_5076", "question": "What are some types of boxers?", "sparql": "SELECT ?subclass ?subclassLabel WHERE { ?subclass wdt:P279 wd:Q11338576 . ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") } LIMIT 11", "paraphrases": ["What professions are subclasses of boxer?", "Can you list the specific kinds of boxing professionals?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q11338576> . } LIMIT 11 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5077", "question": "Who are the first 10 members of the Swiss Parliament by ID, and what are their Swiss Parliament IDs?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?member ?memberLabel ?parliamentId WHERE {\n  ?member wdt:P1307 ?parliamentId .\n  ?member rdfs:label ?memberLabel .\n  FILTER ( LANG( ?memberLabel ) = \"en\" )\n}\nORDER BY ASC ( xsd:integer ( ?parliamentId ) )\nLIMIT 10", "paraphrases": ["Which Swiss Parliament members have the lowest IDs, and what are their names?", "List the 10 earliest Swiss Parliament members by their official ID, along with their full names."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1307> ?var3 . } ORDER BY ASC( <http://www.w3.org/2001/XMLSchema#integer> ( ?var3 ) ) LIMIT 10"}}
{"id": "test_5078", "question": "What are the subclasses of metaclass in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?subclass WHERE {\n  ?subclass wdt:P279 * wd:Q1924819 .\n}\nLIMIT 100", "paraphrases": ["Which classes are subclasses of the metaclass concept in programming languages?", "List all entities that are subclasses (direct or indirect) of metaclass."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q1924819> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_5079", "question": "What places or things are named after John Wayne?", "sparql": "SELECT ?item ?itemLabel WHERE {  ?statement ps:P138 wd:Q40531 .  ?item p:P138 ?statement .  ?item rdfs:label ?itemLabel .  FILTER(LANG(?itemLabel) = \"en\")}", "paraphrases": ["Can you list entities that have been named in honor of John Wayne?", "Which items have John Wayne as their namesake?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P138> <http://www.wikidata.org/entity/Q40531> . ?var1 <http://www.wikidata.org/prop/P138> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_5080", "question": "What is the second fiscal quarter (Q2) in terms of its classification and relation to fiscal years?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?subclass ?fiscalYear WHERE {\n  wd:Q12411214 rdfs:label ?label .\n  wd:Q12411214 wdt:P279 ?subclass .\n  wd:Q12411214 wdt:P361 ?fiscalYear .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["Is Q2 a type of time interval, and which fiscal year does it belong to?", "Can you tell me the English label, parent category, and containing period for the fiscal quarter Q2?"], "info": {"raw_sparql": "Describe <htttp://www.wikidata.org/entity/Q2>"}}
{"id": "test_5081", "question": "Communes and what they are part of in Wikidata", "sparql": "SELECT ?commune ?part ?partLabel WHERE { ?commune wdt:P31 wd:Q3266850 . OPTIONAL { ?commune wdt:P361 ?part . ?part rdfs:label ?partLabel . FILTER(LANG(?partLabel) = \"en\") } } LIMIT 100", "paraphrases": ["Which communes are part of larger regions or administrative entities, and what are those regions called?", "List communes along with the administrative or geographic regions they belong to, using English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P361> ?var2 . } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3266850> . } LIMIT 100"}}
{"id": "test_5082", "question": "Buildings and airports near London with opening dates and images, within 5 km", "sparql": "PREFIX geof: <http://www.opengis.net/def/function/geosparql/>\nPREFIX geo: <http://www.opengis.net/ont/geosparql#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel ?coord ?distance ?instance ?instanceLabel ?date ?image ?typeLabel WHERE {\n  VALUES ?center {\n    \"POINT(0 52)\" ^^ geo:wktLiteral\n  }\n  ?item wdt:P625 ?coord ; wdt:P31 ?instance .\n  VALUES ?instance {\n    wd:Q41176 wd:Q13406463 wd:Q1248784 wd:Q1549591 wd:Q170584 wd:Q12876\n  }\n  BIND( geof:distance ( ?center , ?coord ) AS ?distance ) FILTER ( ?item != wd:Q84 ) FILTER ( ?distance <= 5000 ) ?item ( wdt:P1619 | wdt:P571 | wdt:P580 | wdt:P585 ) ?date .\n  OPTIONAL {\n    ?item wdt:P18 ?image\n  }\n  OPTIONAL {\n    ?item wdt:P1619 ?openingDate\n  }\n  OPTIONAL {\n    ?item wdt:P571 ?inceptionDate\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" ) OPTIONAL {\n    ?instance rdfs:label ?instanceLabel .\n    FILTER ( LANG( ?instanceLabel ) = \"en\" )\n  }\n  BIND( IF( BOUND( ?openingDate ) || BOUND( ?inceptionDate ) , \"string1\" , \"events\" ) AS ?typeLabel )\n}\nORDER BY ASC ( ?distance )\nLIMIT 20", "paraphrases": ["What are the buildings, museums, and airports within 5 kilometers of London that have known opening or inception dates and associated images?", "List places near London (excluding London itself) that have coordinates, a founding or opening date, and an image, sorted by distance."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5Label ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> \"POINT(0 52)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"5\". <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#distance> ?var3 . } FILTER ( ( ( ?var1 != <http://www.wikidata.org/entity/Q84> ) ) ) . ?var1 ( <http://www.wikidata.org/prop/direct/P1619> | <http://www.wikidata.org/prop/direct/P571> | <http://www.wikidata.org/prop/direct/P580> | <http://www.wikidata.org/prop/direct/P585> ) ?var6 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1619> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var9 . } BIND ( IF ( BOUND ( ?var8 ) || BOUND ( ?var9 ) , \"string1\", \"events\" ) AS ?var4 ). OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var3 )"}}
{"id": "test_5083", "question": "What are the names of Umberto I of Italy in Italian, English, German, and French, along with his image and Italian Wikipedia page?", "sparql": "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?label ?image ?wikipediaArticle WHERE {\n  OPTIONAL {\n    wd:Q153688 rdfs:label ?label .\n    FILTER ( LANG( ?label ) IN ( \"it\" , \"en\" , \"de\" , \"fr\" ) ) VALUES ( ?lang ?order ) {\n      ( \"it\" 1 ) ( \"en\" 2 ) ( \"de\" 3 ) ( \"fr\" 4 )\n    }\n    FILTER ( ?lang = LANG( ?label ) )\n  }\n  OPTIONAL {\n    wd:Q153688 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?wikipediaArticle rdf:type schema:Article ; schema:about wd:Q153688 ; schema:inLanguage \"it\" ; schema:isPartOf <https://it.wikipedia.org/> .\n  }\n}\nORDER BY ?order", "paraphrases": ["Can you show me the multilingual labels for Umberto I of Italy, ordered by language (Italian first), plus his image and the link to his Italian Wikipedia article?", "I want to see the official names of Umberto I of Italy in four languages, his portrait from Wikimedia Commons, and the link to his Italian Wikipedia entry."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q153688> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var7 ) ) ) . VALUES ( ?var7 ?var8 ) { ( \"it\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q153688> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q153688> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"it\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q153688> <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q153688> ; <http://schema.org/inLanguage> \"it\"; <http://schema.org/isPartOf> <https://it.wikipedia.org/> . } } ORDER BY ASC( ?var8 )"}}
{"id": "test_5084", "question": "Ships registered in Melbourne with start time or end time qualifiers.", "sparql": "SELECT ?shipLabel ?statement (SAMPLE(?qualifierLabel) AS ?qualifierProperty) WHERE { ?ship p:P532 ?statement . ?statement ps:P532 wd:Q3141 . ?ship rdfs:label ?shipLabel . FILTER(LANG(?shipLabel) = \"en\") OPTIONAL { ?statement ?qualifier ?value . FILTER(?qualifier = <http://www.wikidata.org/prop/qualifier/P580>) BIND(\"start time\" AS ?qualifierLabel) } OPTIONAL { ?statement ?qualifier ?value . FILTER(?qualifier = <http://www.wikidata.org/prop/qualifier/P582>) BIND(\"end time\" AS ?qualifierLabel) } } GROUP BY ?ship ?statement ?shipLabel ORDER BY ?shipLabel", "paraphrases": ["Which ships have their port of registry in Melbourne, and what qualifier properties (like start time) are associated with those registrations?", "List all ships registered in Melbourne and indicate if any have a start time or end time qualifier on their registration."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P532> <http://www.wikidata.org/entity/Q3141> . ?var1 <http://www.wikidata.org/prop/P532> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_5085", "question": "Italian architect Mario Tamagno: his image, Wikipedia link, and labels in English, German, French, and Italian.", "sparql": "SELECT ?label ?image ?coordinates ?wikipediaArticle WHERE { OPTIONAL { wd:Q128169 rdfs:label ?label . FILTER (LANG(?label) IN (\"it\", \"en\", \"de\", \"fr\")) VALUES (?lang ?sort) { (\"it\" 1) (\"en\" 2) (\"de\" 3) (\"fr\" 4) } FILTER (?lang = LANG(?label)) } OPTIONAL { wd:Q128169 wdt:P18 ?image . } OPTIONAL { wd:Q128169 wdt:P625 ?coordinates . } OPTIONAL { ?wikipediaArticle rdf:type schema:Article ; schema:about wd:Q128169 ; schema:inLanguage \"it\" ; schema:isPartOf <https://it.wikipedia.org/> . } } ORDER BY ASC(?sort)", "paraphrases": ["What are the labels for Mario Tamagno in Italian, English, German, and French, along with his image and Italian Wikipedia page?", "Show me the multilingual labels, image, and Italian Wikipedia link for the Italian architect Mario Tamagno, sorted by language priority."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q128169> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var7 ) ) ) . VALUES ( ?var7 ?var8 ) { ( \"it\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q128169> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q128169> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"it\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q128169> <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q128169> ; <http://schema.org/inLanguage> \"it\"; <http://schema.org/isPartOf> <https://it.wikipedia.org/> . } } ORDER BY ASC( ?var8 )"}}
{"id": "test_5086", "question": "Roberto Bettega\u2019s labels in Italian, English, German, and French, along with his image and Italian Wikipedia link.", "sparql": "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?label ?image ?wikipedia WHERE {\n  wd:Q67990 rdfs:label ?label .\n  VALUES(?lang ?sort) {(\"it\" 1)(\"en\" 2)(\"de\" 3)(\"fr\" 4)\n  }\n  FILTER(LANG(?label) = ?lang)\n  OPTIONAL {\n    wd:Q67990 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?wikipedia rdf:type schema:Article ; schema:about wd:Q67990 ; schema:inLanguage \"it\" ; schema:isPartOf <https://it.wikipedia.org/> .\n  }\n}\nORDER BY ASC(?sort)", "paraphrases": ["What are the labels for Roberto Bettega in Italian, English, German, and French, and what is his image and Italian Wikipedia page?", "Show me Roberto Bettega\u2019s name in Italian, English, German, and French, his image from Wikimedia Commons, and his Italian Wikipedia article."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q67990> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var7 ) ) ) . VALUES ( ?var7 ?var8 ) { ( \"it\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q67990> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q67990> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"it\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q67990> <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q67990> ; <http://schema.org/inLanguage> \"it\"; <http://schema.org/isPartOf> <https://it.wikipedia.org/> . } } ORDER BY ASC( ?var8 )"}}
{"id": "test_5087", "question": "What are the administrative locations where Wawel Cathedral is situated?", "sparql": "SELECT ?location ?locationLabel WHERE { wd:Q638519 (wdt:P276 / wdt:P131*) ?location . ?location rdfs:label ?locationLabel . FILTER(LANG(?locationLabel) = \"en\") }", "paraphrases": ["Starting from Wawel Cathedral, what cities, regions, and countries include it in their territory?", "Can you list the geographic hierarchy of Wawel Cathedral, from the immediate area up to the country?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q638519> ( <http://www.wikidata.org/prop/direct/P276> / <http://www.wikidata.org/prop/direct/P131> *) ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en, fr, pl\". } }"}}
{"id": "test_5088", "question": "Stars that are part of the Local Bubble", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?star ?statement WHERE {\n  ?star p:P361 ?statement .\n  ?statement ps:P361 wd:Q329182 .\n}\nLIMIT 10", "paraphrases": ["Which stars are located within the Local Bubble?", "List the stars that are part of the Local Bubble, along with their statement identifiers."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/P361> ?var2 . ?var2 <http://www.wikidata.org/prop/statement/P361> <http://www.wikidata.org/entity/Q329182> . } LIMIT 10"}}
{"id": "test_5089", "question": "Most common combinations of first name, last name, gender, language, birth and death details, and cause of death among humans, ordered by frequency.", "sparql": "SELECT ?givenName ?familyName ?gender ?language ?dateOfBirth ?placeOfBirth ?dateOfDeath ?causeOfDeath (COUNT(*) AS ?count) ?familyNameLabel WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P735 ?givenName . ?person wdt:P734 ?familyName . ?person wdt:P21 ?gender . ?person wdt:P103 ?language . ?person wdt:P569 ?dateOfBirth . ?person wdt:P19 ?placeOfBirth . ?person wdt:P570 ?dateOfDeath . ?person wdt:P509 ?causeOfDeath . ?familyName rdfs:label ?familyNameLabel . FILTER(LANG(?familyNameLabel) = \"en\") } GROUP BY ?givenName ?familyName ?gender ?language ?dateOfBirth ?placeOfBirth ?dateOfDeath ?causeOfDeath ?familyNameLabel ORDER BY DESC(?count) ASC(?causeOfDeath) LIMIT 1000", "paraphrases": ["What are the most frequently occurring combinations of given names, family names, genders, native languages, birth and death dates, places of birth, and causes of death among humans, listed from most common to least common?", "Show me the top 1000 most common profiles of deceased humans, including their first and last names, gender, native language, birth and death details, and cause of death, sorted by how often each profile appears and then by cause of death."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var2Label WHERE { { SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ( COUNT (* ) AS ?var9 ) WHERE { ?var10 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var10 <http://www.wikidata.org/prop/direct/P735> ?var1 . ?var10 <http://www.wikidata.org/prop/direct/P734> ?var2 . ?var10 <http://www.wikidata.org/prop/direct/P21> ?var3 . ?var10 <http://www.wikidata.org/prop/direct/P103> ?var4 . ?var10 <http://www.wikidata.org/prop/direct/P569> ?var5 . ?var10 <http://www.wikidata.org/prop/direct/P19> ?var6 . ?var10 <http://www.wikidata.org/prop/direct/P570> ?var7 . ?var10 <http://www.wikidata.org/prop/direct/P509> ?var8 . } GROUP BY ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var9 )ASC( ?var8 ) LIMIT 1000"}}
{"id": "test_5090", "question": "What countries, administrative regions, and continents is the National Film School of Denmark located in?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?location WHERE {\n  wd:Q936354 ( wdt:P131 | wdt:P17 | wdt:P30 ) + ?location .\n}", "paraphrases": ["Show all geographic locations associated with the National Film School of Denmark, including its country and continent.", "What is the geographic hierarchy of the National Film School of Denmark, from local to continental level?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q936354> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_5091", "question": "Publications where Lucie-Aim\u00e9e Kaffee has published, ranked by number of works, with short names if available.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?publication ?publicationLabel ( COUNT( ?work ) AS ?count ) WHERE {\n  ?work wdt:P50 wd:Q37860261 .\n  ?work wdt:P1433 ?publication .\n  ?publication rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) OPTIONAL {\n    ?publication wdt:P1813 ?shortName .\n  }\n  BIND( COALESCE ( ?shortName , ?label ) AS ?publicationLabel )\n}\nGROUP BY ?publication ?publicationLabel\nORDER BY DESC ( ?count )", "paraphrases": ["Which journals or conference proceedings has Lucie-Aim\u00e9e Kaffee published in, and how many works did she publish in each, using abbreviated titles where possible?", "Show me a list of publications (using short names like \u201cOpenSym '17\u201d when available) where Lucie-Aim\u00e9e Kaffee has authored papers, sorted by the number of papers per publication, highest first."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q37860261> . ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1813> ?var6 . } BIND ( COALESCE ( ?var6 , ?var5Label ) AS ?var2Label ). } GROUP BY ?var1 ?var2Label ORDER BY DESC( ?var4 )"}}
{"id": "test_5092", "question": "List all counties in the United States with their English names.", "sparql": "SELECT ?county ?label WHERE { ?county wdt:P17 wd:Q30 ; wdt:P31 wd:Q47168 ; rdfs:label ?label . FILTER(LANG(?label) = \"en\") } LIMIT 100", "paraphrases": ["What are the English names of all counties in the United States?", "Show me the names of all U.S. counties in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q30> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q47168> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P129> ?var3 . } } LIMIT 100"}}
{"id": "test_5093", "question": "What are the English Wikipedia featured articles about countries, and what are the countries' names?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?wikipediaPage ?countryLabel WHERE {\n  ?country wdt:P31 wd:Q6256 .\n  ?wikipediaPage schema:isPartOf <https://en.wikipedia.org/> ; schema:about ?country ; wikibase:badge wd:Q17437796 .\n  ?country rdfs:label ?countryLabel .\n  FILTER(LANG(?countryLabel) = \"en\")\n}\nORDER BY ASC(?countryLabel)", "paraphrases": ["Which countries have featured articles on English Wikipedia?", "List the featured country articles on English Wikipedia in alphabetical order by country name."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var1 <http://schema.org/isPartOf> <https://en.wikipedia.org/> ; <http://schema.org/about> ?var2 ; <http://wikiba.se/ontology#badge> <http://www.wikidata.org/entity/Q17437796> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var2Label )"}}
{"id": "test_5094", "question": "Most used property linking to RKDartists database", "sparql": "SELECT ?property (COUNT(?entity) AS ?count) WHERE { ?entity ?property wd:Q17299517 . FILTER(STRSTARTS(STR(?property), \"http://www.wikidata.org/prop/direct/\")) } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which property is most frequently used to connect entities to the RKDartists database on Wikidata?", "Show me the property that links the most items to the RKDartists database entity, along with how many times it's used."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q17299517> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_5095", "question": "French labels and descriptions of image-related properties in Wikidata (e.g., logo, flag, coat of arms).", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?prop ?propLabel ?propDescription WHERE {\n  VALUES ?prop {\n    wd:P18 wd:P41 wd:P94 wd:P158 wd:P2910\n  }\n  ?prop rdfs:label ?propLabel .\n  ?prop schema:description ?propDescription .\n  FILTER(LANG(?propLabel) = \"fr\")\n  FILTER(LANG(?propDescription) = \"fr\")\n}", "paraphrases": ["What are the French labels and descriptions for properties like image, flag, coat of arms, seal, and icon in Wikidata?", "Please provide the French labels and descriptions for the Wikidata properties used to represent images, such as P18 (image), P94 (coat of arms), P41 (flag), P158 (seal), and P2910 (icon)."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P154> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"fr\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"fr\" ) ) ) . }"}}
{"id": "test_5096", "question": "Most frequent property used to classify entities with native names in Wikidata metadata.", "sparql": "SELECT ?property (COUNT(?property) AS ?count) WHERE { ?entity ?prop wd:P1449 . ?property wikibase:directClaim ?prop . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which property is most commonly used as the \"instance of\" relation for entities that have a native name?", "Show me the property that appears most often in metadata triples where the object is the native name property (P1449)."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/P1449> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_5097", "question": "Films in Spanish with Spanish-labeled directors and Spanish Wikipedia pages.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?film ?filmLabel ?directorLabel ( COUNT( DISTINCT ?wikipediaPage ) AS ?count ) WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P57 ?director .\n  OPTIONAL {\n    ?director rdfs:label ?directorLabel .\n    FILTER ( LANG( ?directorLabel ) = \"es\" )\n  }\n  ?wikipediaPage schema:about ?film .\n  FILTER ( STRSTARTS( STR( ?wikipediaPage ) , \"https://es.wikipedia.org/\" ) ) ?film rdfs:label ?filmLabel .\n  FILTER ( LANG( ?filmLabel ) = \"es\" )\n}\nGROUP BY ?film ?filmLabel ?directorLabel\nORDER BY DESC ( ?count )", "paraphrases": ["Which films have Spanish titles, Spanish-labeled directors, and are covered on the Spanish Wikipedia?", "List all films with Spanish labels and their Spanish-labeled directors, along with their Spanish Wikipedia pages."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ( COUNT ( DISTINCT ?var4 ) AS ?var5 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P57> ?var6 . OPTIONAL { ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"es\" ) ) ) . } ?var4 <http://schema.org/about> ?var1 . FILTER ( ( ( SUBSTR ( STR ( ?var4 ) ,\"11\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"15\"^^<http://www.w3.org/2001/XMLSchema#integer> ) = \"string1\" ) ) ) . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"es\" ) ) ) . } GROUP BY ?var1 ?var2 ?var3 ORDER BY DESC( ?var5 )"}}
{"id": "test_5098", "question": "Image of William Henry Allen (SNAC ARK ID w6k36wbn)", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6k36wbn\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6k36wbn?", "Show me the Wikimedia Commons image for the person with SNAC ARK ID w6k36wbn."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6k36wbn\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5099", "question": "Cities and their countries, where cities are instances or subclasses of \"city\" in Wikidata.", "sparql": "SELECT DISTINCT ?city ?cityLabel ?country ?countryLabel WHERE { ?city (wdt:P31/wdt:P279*) wd:Q515 . ?city wdt:P17 ?country . ?city rdfs:label ?cityLabel . ?country rdfs:label ?countryLabel . FILTER(LANG(?cityLabel) = \"en\") FILTER(LANG(?countryLabel) = \"en\") } LIMIT 5", "paraphrases": ["What cities are located in which countries, based on Wikidata\u2019s classification of cities?", "List five cities and their corresponding countries, ensuring the cities are classified as cities or subtypes of cities in Wikidata, with English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } } LIMIT 5"}}
{"id": "test_5100", "question": "Living fashion models with Wikipedia pages and images on Wikimedia Commons.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?image ?wikipediaPage WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P106 wd:Q4610556 .\n  ?person wdt:P18 ?image .\n  ?wikipediaPage schema:about ?person .\n  ?wikipediaPage schema:isPartOf <https://en.wikipedia.org/> .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) .\n  FILTER NOT EXISTS {\n    ?person wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["Who are the living fashion models who have a Wikipedia page and an image on Wikimedia Commons?", "List the names, Wikipedia links, and images of all living fashion models."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q4610556> . ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var5 . } ) ) . } GROUP BY ?var1Label ?var2Label ?var1 ?var3 ?var4"}}
{"id": "test_5101", "question": "Architectural heritage monuments in Heidekreis with coordinates and images", "sparql": "SELECT DISTINCT ?monument ?coordinates ?image WHERE { ?monument wdt:P131* wd:Q5922 . ?monument wdt:P1435 wd:Q811165 . OPTIONAL { ?monument wdt:P625 ?coordinates . } OPTIONAL { ?monument wdt:P18 ?image . } } ORDER BY ?monument", "paraphrases": ["What are the heritage-listed buildings in Heidekreis, and where are they located? Do they have photos available?", "List all architectural monuments in the Heidekreis district along with their geographic coordinates and associated images from Wikimedia Commons."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q5922> . ?var1 <http://www.wikidata.org/prop/direct/P1435> <http://www.wikidata.org/entity/Q811165> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_5102", "question": "English-labeled entities and their types from Wikidata.", "sparql": "SELECT ?type ?label WHERE { ?item wdt:P31 ?type . ?item rdfs:label ?label . FILTER (LANG(?label) = \"en\") } LIMIT 10", "paraphrases": ["What are some English-named things and what categories do they belong to in Wikidata?", "List 10 English labels of entities along with the class they are instances of, such as demonym or food name."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> ?var1 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } LIMIT 10"}}
{"id": "test_5103", "question": "What are the cities within 140 kilometers of 9\u00b0E, 37\u00b0N, listed in order of proximity?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX geof: <http://www.opengis.net/def/function/geosparql/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?city ?cityLabel ?distance ?coordinate ?wikipediaPage WHERE {\n  ?city ( wdt:P31 / wdt:P279 * ) wd:Q515 .\n  ?city wdt:P625 ?coordinate .\n  ?wikipediaPage schema:about ?city ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n  ?city rdfs:label ?cityLabel .\n  FILTER ( LANG( ?cityLabel ) = \"en\" ) BIND( geof:latitude ( ?coordinate ) AS ?lat ) BIND( geof:longitude ( ?coordinate ) AS ?long ) BIND( ( ?lat - 37 ) * 111 AS ?latDist ) BIND( ( ?long - 9 ) * 88.6 AS ?longDist ) BIND( ?latDist * ?latDist + ?longDist * ?longDist AS ?distance ) FILTER ( ?distance <= 19600 )\n}\nORDER BY ASC ( ?distance )", "paraphrases": ["List English Wikipedia pages for cities near the coordinates (9, 37), sorted by how close they are to that point.", "Show me cities classified as urban settlements within 140 km of Khartoum, along with their Wikipedia articles and approximate distances (squared)."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var3 ) ?var4 WHERE { SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> \"POINT(9 37)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"140\". <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#distance> ?var2 . } ?var4 <http://schema.org/about> ?var1 . ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var4 <http://schema.org/inLanguage> \"en\". ?var4 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var1Label ?var4 ?var2 ORDER BY ASC( ?var2 )"}}
{"id": "test_5104", "question": "Cities within 40 km of coordinates 8\u00b0E, 36\u00b0N with their countries and ISO codes.", "sparql": "SELECT DISTINCT ?city ?cityLabel ?coord ?country ?countryLabel ?isoCode WHERE {\n  ?city (wdt:P31/wdt:P279*) wd:Q515 .\n  ?city wdt:P625 ?coord .\n  FILTER(geof:latitude(?coord) >= 35.64 && geof:latitude(?coord) <= 36.36)\n  FILTER(geof:longitude(?coord) >= 7.56 && geof:longitude(?coord) <= 8.44)\n  OPTIONAL { ?city wdt:P17 ?country . }\n  OPTIONAL { ?city wdt:P300 ?isoCode . }\n  ?city rdfs:label ?cityLabel .\n  FILTER(LANG(?cityLabel) = \"en\")\n  OPTIONAL { ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") }\n} ORDER BY ?cityLabel", "paraphrases": ["What cities are located near 8\u00b0E and 36\u00b0N, and what countries and ISO 3166-2 codes do they belong to?", "List the cities in the region around 8\u00b0E, 36\u00b0N, including their labels, countries, and ISO subdivision codes, all in English."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var4Label ?var5 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> \"POINT(8 36)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"40\". <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#distance> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P300> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var4 . } } ORDER BY ASC( ?var3 )"}}
{"id": "test_5105", "question": "State parks in Pennsylvania with their coordinates and images", "sparql": "SELECT ?park ?parkLabel ?image ?protectedAreaLabel ?coordinates WHERE { ?park (wdt:P31/wdt:P279*) wd:Q1761072 . ?park (wdt:P131/wdt:P279*) wd:Q1400 . ?park wdt:P625 ?coordinates . OPTIONAL { ?park wdt:P3018 ?protectedArea . ?protectedArea rdfs:label ?protectedAreaLabel . FILTER(LANG(?protectedAreaLabel) = \"en\") } OPTIONAL { ?park wdt:P18 ?image . } ?park rdfs:label ?parkLabel . FILTER(LANG(?parkLabel) = \"en\") }", "paraphrases": ["What are the state parks in Pennsylvania, and what are their locations and images?", "List all state parks in Pennsylvania, including their English labels, geographic coordinates, images from Wikimedia Commons, and any protected areas they are located within (if any)."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1761072> . ?var1 ( <http://www.wikidata.org/prop/direct/P131> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1400> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3018> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } }"}}
{"id": "test_5106", "question": "Drugs with labels starting with \"aspirin\" and their Wikidata IDs", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?drug ?label ( REPLACE( STR( ?drug ) , \".*Q\" , \"Q\" ) AS ?qid ) WHERE {\n  ?drug rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) .\n  FILTER ( STRSTARTS( LCASE( ?label ) , \"aspirin\" ) ) .\n  ?drug wdt:P31 / wdt:P279 * wd:Q11173 .\n}\nLIMIT 15", "paraphrases": ["What are the chemical compounds whose English names start with \"aspirin\", and what are their Wikidata identifiers?", "List all drug formulations that include aspirin in their name, along with their Q-IDs and English labels."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ( REPLACE ( STR ( ?var1 ) , \".*Q\", \"Q\" ) AS ?var3 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q8386> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . FILTER ( ( STRSTARTS ( LCASE ( ?var2 ) , LCASE ( \"qweqw\" ) ) ) ) . } LIMIT 15"}}
{"id": "test_5107", "question": "What movie has the IMDb ID tt0077393?", "sparql": "SELECT ?movie WHERE { ?movie wdt:P345 \"tt0077393\" . }", "paraphrases": ["Which film is identified by the IMDb identifier tt0077393?", "Find the movie in Wikidata that corresponds to the IMDb ID tt0077393."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0077393\". }"}}
{"id": "test_5108", "question": "What Wikidata item has the IMDb ID tt0149516?", "sparql": "SELECT ?item WHERE { ?item wdt:P345 \"tt0149516\" . }", "paraphrases": ["Which TV series or movie on Wikidata is associated with the IMDb identifier tt0149516?", "Find the Wikidata entry for the item with IMDb ID tt0149516."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0149516\". }"}}
{"id": "test_5109", "question": "Human settlements in the United Kingdom with their English descriptions and geographic coordinates.", "sparql": "SELECT DISTINCT ?settlement ?settlementLabel ?description ?coordinates WHERE { ?settlement wdt:P31/wdt:P279* wd:Q486972 . ?settlement wdt:P17 wd:Q145 . OPTIONAL { ?settlement schema:description ?description . FILTER(LANG(?description) = \"en\") } ?settlement wdt:P625 ?coordinates . }", "paraphrases": ["What are the human settlements in the United Kingdom, and what are their English descriptions and coordinates?", "List all human settlements located in the United Kingdom, along with their English descriptions and geographic coordinates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q4925245> ) ( <http://www.wikidata.org/entity/Q1106604> ) } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q486972> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> * ?var4 . } FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q145> ) ) ) . OPTIONAL { ?var1 <http://schema.org/description> ?var2 . } FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . }"}}
{"id": "test_5110", "question": "What are the superclass categories of the mouse gene Mmd (Q18262555)?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?superclass WHERE {\n  wd:Q18262555 wdt:P279 + ?superclass .\n}\nLIMIT 20", "paraphrases": ["What broader biological or ontological classes does the gene Mmd in Mus musculus belong to?", "List all the direct and indirect parent classes of the gene Mmd (Q18262555) in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q18262555> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_5111", "question": "What is the name of the cat named Pixel in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label WHERE {\n  wd:Q25471040 rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}", "paraphrases": ["Which entity represents the shortest cat in the world?", "What is the English label for the cat Pixel?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/entity/> ? <http://www.wikidata.org/entity/Q25471040> . }"}}
{"id": "test_5112", "question": "What are the hierarchical classes above Elizabeth II in Wikidata\u2019s type system, up to three levels?", "sparql": "SELECT ?class1 ?class1Label ?class2 ?class2Label ?class3 ?class3Label WHERE { wd:Q9682 wdt:P31 ?class1 . OPTIONAL { ?class1 wdt:P31 ?class2 . } OPTIONAL { ?class2 wdt:P31 ?class3 . } OPTIONAL { ?class1 rdfs:label ?class1Label . FILTER(LANG(?class1Label) = \"en\") } OPTIONAL { ?class2 rdfs:label ?class2Label . FILTER(LANG(?class2Label) = \"en\") } OPTIONAL { ?class3 rdfs:label ?class3Label . FILTER(LANG(?class3Label) = \"en\") } FILTER(STRSTARTS(STR(?class1), \"http://www.wikidata.org/entity/Q\")) FILTER(STRSTARTS(STR(?class2), \"http://www.wikidata.org/entity/Q\")) FILTER(STRSTARTS(STR(?class3), \"http://www.wikidata.org/entity/Q\")) } LIMIT 10", "paraphrases": ["What categories does Queen Elizabeth II belong to, and what are the broader categories those belong to?", "Show me the chain of types from Elizabeth II upward in the Wikidata ontology, including labels in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q9682> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5113", "question": "What are the parent categories of sport up to three levels up in the hierarchy?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?superclass ?superclassLabel ?distance WHERE {\n  VALUES ?start {\n    wd:Q349\n  }\n  {\n    ?start wdt:P279 ?superclass .\n    BIND( 1 AS ?distance )\n  } UNION {\n    ?start wdt:P279 ?mid .\n    ?mid wdt:P279 ?superclass .\n    BIND( 2 AS ?distance )\n  } UNION {\n    ?start wdt:P279 ?mid1 .\n    ?mid1 wdt:P279 ?mid2 .\n    ?mid2 wdt:P279 ?superclass .\n    BIND( 3 AS ?distance )\n  }\n  OPTIONAL {\n    ?superclass rdfs:label ?superclassLabel .\n    FILTER ( LANG( ?superclassLabel ) = \"en\" )\n  }\n}\nORDER BY ?distance", "paraphrases": ["What classes is sport a subclass of, going up three levels in the taxonomy?", "Show me the hierarchy of categories above sport, with each level labeled in English, up to three generations higher."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q349> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Reverse\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5114", "question": "What is the English label for the Simple Knowledge Organization System?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label WHERE {\n  wd:Q2288360 rdfs:label ?label .\n  FILTER ( LANGMATCHES( LANG( ?label ) , \"en\" ) )\n}", "paraphrases": ["What is the English name of SKOS (Simple Knowledge Organization System)?", "Please provide the English label of the Simple Knowledge Organization System."], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { <http://www.wikidata.org/entity/Q2288360> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( LANGMATCHES ( LANG ( ?var1Label ) , \"EN\" ) ) ) . } LIMIT 1"}}
{"id": "test_5115", "question": "What are the mountains that are part of the Pyrenees?", "sparql": "SELECT ?mountainLabel WHERE { ?mountain wdt:P31 wd:Q8502 . ?mountain wdt:P361 wd:Q12431 . ?mountain rdfs:label ?mountainLabel . FILTER(LANG(?mountainLabel) = \"en\") }", "paraphrases": ["List the English names of all mountains located within the Pyrenees mountain range.", "Which individual peaks are classified as mountains and belong to the Pyrenees?"], "info": {"raw_sparql": "SELECT ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q8502> . ?var1 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q12431> . }"}}
{"id": "test_5116", "question": "Watercourses in France", "sparql": "SELECT ?var3Label WHERE { ?var3 (wdt:P31/wdt:P279) wd:Q355304 ; wdt:P17 wd:Q142 . }", "paraphrases": ["What are the watercourses located in France?", "List all rivers, streams, and other flowing water bodies (including their subclasses) that are located in France."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q355304> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q142> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_5117", "question": "What film has the Unifrance ID 13791?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P3961 \"13791\" .\n}", "paraphrases": ["Which film on Wikidata is identified by the Unifrance film ID \"13791\"?", "Find the Wikidata item for the film with Unifrance ID 13791."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3961> \"13791\". }"}}
{"id": "test_5118", "question": "Places in Innsbruck with their administrative district, coordinates, and type.", "sparql": "SELECT DISTINCT ?place ?placeLabel ?adminUnit ?adminUnitLabel ?coordinates ?instanceType ?instanceTypeLabel\nWHERE {\n  ?adminUnit wdt:P131 wd:Q1735 .\n  ?place wdt:P131 ?adminUnit .\n  ?place wdt:P625 ?coordinates .\n  \n  OPTIONAL { ?place wdt:P31 ?instanceType . }\n  \n  OPTIONAL {\n    ?adminUnit rdfs:label ?adminUnitLabel .\n    FILTER(LANG(?adminUnitLabel) = \"en\")\n  }\n  \n  OPTIONAL {\n    ?instanceType rdfs:label ?instanceTypeLabel .\n    FILTER(LANG(?instanceTypeLabel) = \"en\")\n  }\n  \n  OPTIONAL {\n    ?place rdfs:label ?placeLabel .\n    FILTER(LANG(?placeLabel) = \"en\")\n  }\n}\nORDER BY ASC(?placeLabel)\nLIMIT 20", "paraphrases": ["What places are located within the administrative divisions of Innsbruck, and what are their types and locations?", "List all places directly under Innsbruck\u2019s administrative units, including their English labels, geographic coordinates, and classifications."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ( SAMPLE ( ?var2 ) AS ?var2 )( SAMPLE ( ?var2Label ) AS ?var2Label )( SAMPLE ( ?var3 ) AS ?var3 )( SAMPLE ( ?var4 ) AS ?var4 ) ?var5 ?var5Label ?var6 ?var6Label ?var7 ?var7Label WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var2 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q1735> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . ?var1 <http://www.wikidata.org/prop/P1435> ?var8 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . } OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( LANG ( ?var2Label ) IN ( \"en\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P149> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P84> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,de\". } } GROUP BY ?var1 ?var1Label ?var5 ?var5Label ?var6 ?var6Label ?var7 ?var7Label ORDER BY ASC( ?var1Label )"}}
{"id": "test_5119", "question": "What is the name of the city with GeoNames ID 2110394?", "sparql": "SELECT ?cityLabel ?city WHERE { ?city wdt:P1566 \"2110394\" . ?city rdfs:label ?cityLabel . FILTER(LANG(?cityLabel) = \"en\") }", "paraphrases": ["Which city is identified by the GeoNames identifier 2110394?", "Find the English label of the geographical location with GeoNames ID 2110394."], "info": {"raw_sparql": "SELECT ?var1Label ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1566> \"2110394\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5120", "question": "Events that started on the same day as World War II", "sparql": "SELECT ?event ?eventLabel ?startDate WHERE { wd:Q362 wdt:P580 ?startDate . ?event wdt:P580 ?startDate . ?event rdfs:label ?eventLabel . FILTER(LANG(?eventLabel) = 'en') }", "paraphrases": ["What military operations and events began on September 1, 1939, the same day as World War II?", "List all historical events that started on the same date as the beginning of World War II, along with their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q362> <http://www.wikidata.org/prop/direct/P580> * ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P580> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5121", "question": "What are some real-world entities and their categories, excluding abstract concepts like properties or identifiers?", "sparql": "SELECT ?item ?class WHERE { ?item wdt:P31 ?class . FILTER NOT EXISTS { ?class wdt:P279* wd:Q714737 } FILTER NOT EXISTS { ?class wdt:P279* wd:Q853614 } FILTER NOT EXISTS { ?class wdt:P279* wd:Q937228 } } LIMIT 100", "paraphrases": ["Show me entities from Wikidata that are instances of concrete classes, not subclasses of abstract categories such as \"property\", \"identifier\", or \"category of being\".", "List examples of organizations or things that belong to non-abstract classes in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/statement/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var2 . FILTER ( ( NOT EXISTS { ?var2 <http://www.wikidata.org/entity/> ? <http://www.wikidata.org/entity/Q714737> . } ) ) . FILTER ( ( NOT EXISTS { ?var2 <http://www.wikidata.org/entity/> ? <http://www.wikidata.org/entity/Q853614> . } ) ) . FILTER ( ( NOT EXISTS { ?var2 <http://www.wikidata.org/entity/> ? <http://www.wikidata.org/entity/Q937228> . } ) ) . } LIMIT 100"}}
{"id": "test_5122", "question": "Administrative hierarchy of County Tipperary including country and province", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?administrativeEntity ?administrativeEntityLabel WHERE {\n  wd:Q184618 wdt:P131 * ?administrativeEntity .\n  ?administrativeEntity rdfs:label ?administrativeEntityLabel .\n  FILTER ( LANG( ?administrativeEntityLabel ) = \"en\" )\n}", "paraphrases": ["What countries, provinces, and counties include County Tipperary in its administrative structure?", "List all administrative regions that County Tipperary belongs to, from itself up to Ireland."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q184618> <http://www.wikidata.org/prop/direct/P131> * ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en, en\". } }"}}
{"id": "test_5123", "question": "List all places and features located in the Province of Sassari.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel WHERE {\n  VALUES(?administrativeUnit) {(wd:Q16272)\n  }\n  ?item wdt:P131 ?administrativeUnit .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["What towns, islands, and natural areas are directly within the administrative boundaries of the Province of Sassari?", "Show me the English names of all entities that are administratively part of the Province of Sassari."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q16272> ) } ?var1 <http://www.wikidata.org/prop/direct/P131> * ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . } }"}}
{"id": "test_5124", "question": "What properties describe Gruff Rhys in Wikidata, along with their English labels and descriptions?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?directProperty ?propertyLabel ?propertyDescription WHERE {\n  wd:Q3050590 ?directProperty ?value .\n  FILTER(STRSTARTS(STR(?directProperty) , \"http://www.wikidata.org/prop/direct/\"))\n  .\n  BIND(STRAFTER(STR(?directProperty) , \"http://www.wikidata.org/prop/direct/\") AS ?propId)\n  .\n  BIND(IRI(CONCAT(\"http://www.wikidata.org/entity/\" , ?propId)) AS ?property)\n  .\n  ?property rdfs:label ?propertyLabel .\n  ?property schema:description ?propertyDescription .\n  FILTER(LANG(?propertyLabel) = \"en\")\n  FILTER(LANG(?propertyDescription) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Which properties are used to describe the Welsh musician Gruff Rhys, and what are their English labels and descriptions?", "Please list all the properties (with their English labels and descriptions) that are used to characterize Gruff Rhys on Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q3050590> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_5125", "question": "List current sovereign countries with their official languages and currencies, excluding former states.", "sparql": "SELECT DISTINCT \n  ?country \n  ?countryLabel \n  ?continent \n  ?language \n  ?currency \nWHERE {\n  ?country wdt:P31 wd:Q3624078 .\n  FILTER (NOT EXISTS { ?country wdt:P31 wd:Q3024240 })\n\n  OPTIONAL { ?country wdt:P30 ?continent . }\n  OPTIONAL { ?country wdt:P37 ?language . }\n  OPTIONAL { ?country wdt:P38 ?currency . }\n\n  OPTIONAL { ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") }\n}\nLIMIT 10", "paraphrases": ["What are the official languages and currencies of all currently existing countries, and on which continents are they located?", "Please provide a list of all active nations, along with their official languages, currencies, and continents, but exclude any defunct or historical countries."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label ?var5 ?var5Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3624078> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3024240> . } ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P30> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P37> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P38> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P122> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_5126", "question": "Most commonly used properties on people with known birthdays, ranked by frequency.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?property ?propertyLabel ?count WHERE {\n  {\n    SELECT ?prop(COUNT(DISTINCT ?item) AS ?count) WHERE {\n      ?item wdt:P3150 [] .\n      ?item ?prop [] .\n    }\n    GROUP BY ?prop\n  }\n  ?property wikibase:claim ?prop .\n  ?property rdfs:label ?propertyLabel .\n  FILTER(LANG(?propertyLabel) = \"en\")\n}\nORDER BY DESC(?count)", "paraphrases": ["Which properties are most frequently associated with individuals who have a known birthday, and how many such individuals have each property?", "Show me the English labels and usage counts of properties that are most often used on people with a birthday (P3150), ordered from most to least common."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 WHERE { { SELECT ?var5 ( COUNT ( DISTINCT ?var6 ) AS ?var3 )( COUNT ( DISTINCT ?var7 ) AS ?var4 ) WHERE { ?var7 <http://www.wikidata.org/prop/direct/P3150> ?var8 . ?var7 ?var5 ?var6 . } GROUP BY ?var5 } ?var1 <http://wikiba.se/ontology#claim> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . } ORDER BY DESC( ?var4 )"}}
{"id": "test_5127", "question": "What are the most common types of populated places in Wikidata that have recorded population data?", "sparql": "SELECT ?placeType (COUNT(DISTINCT ?place) AS ?count) WHERE { ?place wdt:P1082 ?population . ?place wdt:P31 ?placeType . } GROUP BY ?placeType ORDER BY DESC(?count)", "paraphrases": ["How many places of each type (like village, hamlet, commune) in Wikidata have population statistics, and which types are most frequent?", "Can you list the types of locations that have population numbers, sorted by how many instances exist for each type?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P1082> ?var4 . ?var2 <http://www.wikidata.org/prop/direct/P31> ?var1 . } GROUP BY ?var1 ORDER BY DESC( ?var3 )"}}
{"id": "test_5128", "question": "What are some examples of pigments?", "sparql": "SELECT ?pigment ?pigmentLabel WHERE { ?pigment wdt:P31 wd:Q161179 . ?pigment rdfs:label ?pigmentLabel . FILTER(LANG(?pigmentLabel) = \"en\") }", "paraphrases": ["List the names of pigments in English.", "Can you show me a list of pigments and their labels?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q31842115> . ?var1 <http://www.wikidata.org/prop/direct/P186> <http://www.wikidata.org/entity/Q161179> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,de\". } }"}}
{"id": "test_5129", "question": "Films released in 2017 with their English genre, title, and country of origin.", "sparql": "SELECT ?film ?filmLabel ?year ?title ?countryLabel ?genreLabel WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P577 ?date . ?film wdt:P1476 ?title . ?film wdt:P495 ?country . ?film wdt:P136 ?genre . BIND(YEAR(?date) AS ?year) . ?genre rdfs:label ?genreLabel . FILTER(LANG(?genreLabel) = \"en\") . ?film rdfs:label ?filmLabel . FILTER(LANG(?filmLabel) = \"en\") . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") . FILTER(YEAR(?date) = 2017) } LIMIT 10", "paraphrases": ["What are the English-labeled genres, titles, and countries of origin for films released in 2017?", "Show me a list of films from 2017, including their English titles, countries, and genres."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { BIND ( STR ( YEAR ( ?var5 ) ) AS ?var2 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P136> ?var6 . ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P495> ?var4 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . OPTIONAL { } FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . FILTER ( ( ( ?var5 = \"2017-00-00T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . } LIMIT 10"}}
{"id": "test_5130", "question": "Types of Bucharest in Wikidata hierarchy", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?type(REPLACE(STR(?typeLabel) , \" \\\\(lang:en\\\\)\" , \"\") AS ?cleanLabel) WHERE {\n  wd:Q19660(wdt:P31 / wdt:P279 *) ?type .\n  ?type rdfs:label ?typeLabel .\n  FILTER(LANG(?typeLabel) = \"en\")\n}\nORDER BY ?cleanLabel", "paraphrases": ["What classes does Bucharest belong to, including its parent categories?", "List all the categories and supercategories that Bucharest is classified under in Wikidata, in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q19660> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl, en\". } }"}}
{"id": "test_5131", "question": "How many works cite publications by Fr\u00e9d\u00e9rique Penault-Llorca, and how many of those are self-citations?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ( COUNT( DISTINCT ?citing_work ) AS ?count ) ?selfCitationFlag WHERE {\n  ?her_work wdt:P50 wd:Q30728827 .\n  ?citing_work wdt:P2860 ?her_work .\n  BIND( IF( EXISTS {\n    ?citing_work wdt:P50 wd:Q30728827\n  }\n  , \"self-citation exists\" , \"no self-citation\" ) AS ?selfCitationFlag )\n}\nGROUP BY ?selfCitationFlag\nORDER BY DESC ( ?count )", "paraphrases": ["Are there self-citations in the works that cite Fr\u00e9d\u00e9rique Penault-Llorca, and how many total citations are there?", "What is the breakdown of citations to Fr\u00e9d\u00e9rique Penault-Llorca\u2019s works between external citations and self-citations?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q30728827> . } , \"string1\", \"string2\" ) AS ?var4 ). BIND ( STR ( YEAR ( ?var5 ) ) AS ?var1 ). ?var6 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q30728827> . ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var6 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var5 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_5132", "question": "List active Wikimedia projects and initiatives operated by the Wikimedia Foundation with official websites, excluding those with only root domain URLs ending in \u201c.org/\u201d.", "sparql": "SELECT DISTINCT ?project (STR(?website) AS ?websiteStr) WHERE { { ?project wdt:P31 wd:Q14827288 . } UNION { ?project wdt:P279 wd:Q14827288 . } UNION { ?project wdt:P137|wdt:P127 wd:Q180 . } ?project wdt:P856 ?website . OPTIONAL { ?project wdt:P576 ?dissolvedDate . } FILTER ( !BOUND(?dissolvedDate) ) FILTER ( ( STRAFTER(STR(?website), \".org\") != \"/\" ) || STRSTARTS(STR(?website), \"http:\") ) }", "paraphrases": ["Which Wikimedia projects and Foundation-operated websites are still active and have a non-root official URL (i.e., not just \u201chttps://example.org/\u201d)?", "Please provide the official websites of all currently active Wikimedia projects (including those directly owned or operated by the Wikimedia Foundation), but exclude any that point only to the root domain with a trailing slash."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ( STR ( ?var2 ) AS ?var3 ) WHERE { { ?var1 ( <http://www.wikidata.org/prop/direct/P279> / <http://www.wikidata.org/prop/direct/P31> *) <http://www.wikidata.org/entity/Q14827288> . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P137> | <http://www.wikidata.org/prop/direct/P127> ) <http://www.wikidata.org/entity/Q180> . } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P576> ?var4 . } FILTER ( ( !( BOUND ( ?var4 ) ) ) ) . FILTER ( ( ( STRAFTER ( STR ( ?var2 ) , \".org\" ) != \"/\" ) || STRSTARTS ( STR ( ?var2 ) , \"http:\" ) ) ) . }"}}
{"id": "test_5133", "question": "What properties are used to describe items that are daughters, and what are their German labels and descriptions?", "sparql": "SELECT ?property ?propertyLabel ?propertyDescription WHERE { ?item wdt:P31 wd:Q308194 . ?item ?property ?value . FILTER(isIRI(?value)) . BIND(IRI(REPLACE(STR(?property), \"http://www.wikidata.org/prop/direct/\", \"http://www.wikidata.org/entity/\")) AS ?propertyItem) . ?propertyItem rdfs:label ?propertyLabel . ?propertyItem schema:description ?propertyDescription . FILTER(LANG(?propertyLabel) = \"de\") . FILTER(LANG(?propertyDescription) = \"de\") } GROUP BY ?property ?propertyLabel ?propertyDescription ORDER BY DESC(COUNT(?item)) LIMIT 100", "paraphrases": ["In German, what are the labels and descriptions of properties commonly used for people who are daughters?", "Which properties link to entities classified as daughters, and how are they described in German?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q308194> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"de\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"de\" ) ) ) . } LIMIT 100"}}
{"id": "test_5134", "question": "What are the multilingual labels for each year in Wikidata, and what numeric year do they represent?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?yearLabel ?yearValue WHERE {\n  ?year wdt:P31 wd:Q577 .\n  ?year rdfs:label ?yearLabel .\n  ?year wdt:P585 ?date .\n  BIND(YEAR(?date) AS ?yearValue)\n}", "paraphrases": ["Show me all the year entities in Wikidata along with their labels in different languages and the corresponding year number.", "How are years represented in different languages in Wikidata, and what is the numeric value of each year?"], "info": {"raw_sparql": "SELECT * WHERE { BIND ( LANG ( ?var1Label ) AS ?var2 ). BIND ( YEAR ( ?var3 ) AS ?var4 ). BIND ( REPLACE ( STR ( ?var5 ) , STR ( ?var4 ) , \"YEAR\" ) AS ?var5 ). ?var6 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q577> . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var6 <http://www.wikidata.org/prop/direct/P585> ?var3 . }"}}
{"id": "test_5135", "question": "Who has the Dictionary of Swedish National Biography ID 12016?", "sparql": "SELECT ?person WHERE { ?person wdt:P3217 \"12016\" . } LIMIT 1", "paraphrases": ["Which person is identified by the SBL ID 12016 in the Dictionary of Swedish National Biography?", "Find the Wikidata item for the individual with SBL ID 12016."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3217> \"12016\". } LIMIT 1"}}
{"id": "test_5136", "question": "Human monks with English labels and no Arabic descriptions, including their gender and country.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?person ?country ?gender ?personLabel WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P106 wd:Q733786 .\n  OPTIONAL {\n    ?person wdt:P17 ?country .\n  }\n  OPTIONAL {\n    ?person wdt:P21 ?gender .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) FILTER ( NOT EXISTS {\n    ?person schema:description ?desc .\n    FILTER ( LANG( ?desc ) = \"ar\" )\n  }\n  )\n}\nORDER BY ASC ( ?personLabel )", "paraphrases": ["Who are the human monks that have an English label and no Arabic description, and what are their gender and country?", "List all human monks with their English names, gender, and country, excluding those with Arabic descriptions."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q733786> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var5 . } FILTER ( ( NOT EXISTS { ?var1 <http://schema.org/description> ?var6 . FILTER ( ( ( LANG ( ?var6 ) = \"ar\" ) ) ) . } ) ) . } ORDER BY ASC( ?var1Label )"}}
{"id": "test_5137", "question": "Communes bordering Rennes and their qualifier properties on the border statement.", "sparql": "SELECT ?neighbor ?statement (SAMPLE(?qualifier) AS ?qualifierProperty) WHERE { ?statement ps:P47 wd:Q647 . ?neighbor p:P47 ?statement . OPTIONAL { ?statement ?qualifier ?value . ?qualifier wdt:P1687 [] . } } GROUP BY ?neighbor ?statement LIMIT 101", "paraphrases": ["Which communes share a border with Rennes, and what qualifier properties are used on those border relationships?", "List the communes adjacent to Rennes and indicate if any qualifiers are attached to their border relationships in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P47> <http://www.wikidata.org/entity/Q647> . ?var1 <http://www.wikidata.org/prop/P47> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_5138", "question": "Which years from 2017 onwards had more than 30 works published in English-labeled genres?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?year ( COUNT( ?work ) AS ?count ) WHERE {\n  ?work wdt:P577 ?publicationDate .\n  ?work wdt:P136 ?genre .\n  ?genre rdfs:label ?genreLabel .\n  FILTER ( LANG( ?genreLabel ) = \"en\" ) .\n  BIND( STR( YEAR( ?publicationDate ) ) AS ?year ) .\n  FILTER ( ?publicationDate >= \"2017-01-01T00:00:00Z\" ^^ xsd:dateTime )\n}\nGROUP BY ?year\nHAVING ( ?count > 30 )", "paraphrases": ["In which years after 2017 were more than 30 creative works released, each belonging to a genre described in English?", "Show me the count of works published each year since 2017 that are associated with English-language genres, but only include years with over 30 works."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 )( ?var1 AS ?var3 ) WHERE { BIND ( STR ( YEAR ( ?var4 ) ) AS ?var1 ). ?var5 <http://www.wikidata.org/prop/direct/P577> ?var4 . ?var5 <http://www.wikidata.org/prop/direct/P136> ?var6 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . FILTER ( ( ( ?var4 >= \"2017-00-00T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . } GROUP BY ?var1 HAVING ( ( ?var2 > \"30\"^^<http://www.w3.org/2001/XMLSchema#integer> ) )"}}
{"id": "test_5139", "question": "What source and identifier are associated with the reference ref:dd19c4e16b5e1e2400f9ba014dd059d9cc9337fc?", "sparql": "PREFIX ref: <http://www.wikidata.org/reference/>\nSELECT ?property ?value WHERE {\n  ref:dd19c4e16b5e1e2400f9ba014dd059d9cc9337fc ?property ?value .\n}", "paraphrases": ["Which database and ID does the reference ref:dd19c4e16b5e1e2400f9ba014dd059d9cc9337fc cite as its source?", "What information does this Wikidata reference contain about its source?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/reference/dd19c4e16b5e1e2400f9ba014dd059d9cc9337fc> ?var1 ?var2 . }"}}
{"id": "test_5140", "question": "Properties and descriptions for Hamamatsu", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?property ?propertyLabel ?propertyDescription WHERE {\n  wd:Q185125 ?directProperty ?value .\n  ?property wikibase:directClaim ?directProperty .\n  ?property rdfs:label ?propertyLabel .\n  ?property schema:description ?propertyDescription .\n  FILTER(LANG(?propertyLabel) = \"en\")\n  FILTER(LANG(?propertyDescription) = \"en\")\n}\nLIMIT 100", "paraphrases": ["What properties are used to describe the Japanese city of Hamamatsu, and what are their English labels and descriptions?", "Show me all the properties with their English labels and descriptions that are used to provide information about Hamamatsu."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q185125> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_5141", "question": "List all Rijksmonuments in Gelderland with their type, ID, location, coordinates, and whether they have an image on Wikimedia Commons.", "sparql": "SELECT \n  (SAMPLE(?typeLabel) AS ?type) \n  ?monument \n  ?monumentLabel \n  ?adminLabel \n  ?coordinates \n  ?rijksmonumentId \n  ?image \n  (BOUND(?image) AS ?hasImage)\nWHERE {\n  ?monument wdt:P1435 wd:Q916333 .           # Rijksmonument\n  ?monument wdt:P31 ?typeItem .              # Instance of (type item)\n  ?monument wdt:P359 ?rijksmonumentId .\n  ?monument wdt:P625 ?coordinates .\n  ?monument wdt:P131 ?admin .\n  ?admin wdt:P131 wd:Q775 .                  # In Gelderland\n\n  OPTIONAL { ?monument wdt:P18 ?image . }\n\n  # Get English labels\n  ?monument rdfs:label ?monumentLabel .\n  ?admin rdfs:label ?adminLabel .\n  ?typeItem rdfs:label ?typeLabel .\n\n  # Filter for English labels\n  FILTER(LANG(?monumentLabel) = \"en\")\n  FILTER(LANG(?adminLabel) = \"en\")\n  FILTER(LANG(?typeLabel) = \"en\")\n}\nGROUP BY ?monument ?monumentLabel ?adminLabel ?coordinates ?rijksmonumentId ?image\nORDER BY ASC(?adminLabel) ASC(?rijksmonumentId)", "paraphrases": ["What are the Rijksmonuments located in the province of Gelderland, and do they have images on Commons? Include their type, administrative municipality, and coordinates.", "Please provide a list of heritage sites in Gelderland designated as Rijksmonumenten, showing their names, types, IDs, locations, coordinates, and whether they have associated images on Wikimedia Commons, sorted by municipality and ID."], "info": {"raw_sparql": "SELECT( SAMPLE ( ?var1Label ) AS ?var2 ) ?var3 ?var3Label ?var4Label ?var5 ?var6 ?var7 ?var8 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P1435> <http://www.wikidata.org/entity/Q916333> . ?var3 <http://www.wikidata.org/prop/direct/P31> ?var1 . ?var3 <http://www.wikidata.org/prop/direct/P359> ?var6 . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var5 . ?var3 <http://www.wikidata.org/prop/direct/P131> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q775> . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var7 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P969> ?var9 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P276> ?var10 . } BIND ( BOUND ( ?var7 ) AS ?var8 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,en\". ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var10 <http://www.w3.org/2000/01/rdf-schema#label> ?var11Label . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . } } GROUP BY ?var3 ?var3Label ?var4Label ?var5 ?var6 ?var7 ?var8 ORDER BY ASC( ?var4Label )ASC( ?var6 )"}}
{"id": "test_5142", "question": "Who died in 1906?", "sparql": "SELECT DISTINCT ?person WHERE { ?person wdt:P570 ?deathDate . FILTER ( YEAR(?deathDate) = 1906 ) }", "paraphrases": ["List of people who died in 1906", "Can you provide a list of individuals who passed away in the year 1906?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . FILTER ( ( ( ?var2 >= \"1906-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1906-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_5143", "question": "Spanish labels and descriptions of subclasses of mountain.", "sparql": "SELECT ?subclass ?subclassLabel ?subclassDescription WHERE { wd:Q8502 wdt:P279 ?subclass . ?subclass rdfs:label ?subclassLabel . ?subclass schema:description ?subclassDescription . FILTER(LANG(?subclassLabel) = \"es\") FILTER(LANG(?subclassDescription) = \"es\") } LIMIT 100", "paraphrases": ["What are the subclasses of mountain that have Spanish labels and descriptions?", "Show me the Spanish names and descriptions of all subclasses of mountain."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P279> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"es\" ) ) ) . } LIMIT 100"}}
{"id": "test_5144", "question": "What academic works and web pages are associated with Harald Sack?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel ?property WHERE {\n  ?item ?property wd:Q30078997 .\n  FILTER(! STRSTARTS(STR(?item) , \"http://www.wikidata.org/entity/statement/\"))\n  FILTER(! STRSTARTS(STR(?item) , \"http://www.wikidata.org/reference/\"))\n  FILTER(?item != wd:Q30078997)\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER(LANG(?itemLabel) = \"en\")\n  }\n}\nORDER BY ?item", "paraphrases": ["Who are the people and publications connected to Harald Sack, such as his students or the works he authored?", "List all entities that have Harald Sack as their object in Wikidata, excluding internal system entries."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q30078997> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_5145", "question": "What item and property are linked to the statement with ID Q28444944-135A3EC7-2B95-408E-826D-8A0C536F4961?", "sparql": "SELECT ?item ?property WHERE { ?item ?property s:Q28444944-135A3EC7-2B95-408E-826D-8A0C536F4961 . }", "paraphrases": ["Which gene expression event uses the genomic end property in the statement Q28444944-135A3EC7-2B95-408E-826D-8A0C536F4961?", "Find the subject and property of the Wikidata statement with identifier Q28444944-135A3EC7-2B95-408E-826D-8A0C536F4961."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q28444944-135A3EC7-2B95-408E-826D-8A0C536F4961> . }"}}
{"id": "test_5146", "question": "What are the publication dates of works authored by Norman Foster Ramsey?", "sparql": "SELECT DISTINCT ?publicationDate ?workLabel ?image WHERE { ?work wdt:P50 wd:Q107419 . ?work wdt:P577 ?publicationDate . OPTIONAL { ?work rdfs:label ?workLabel . FILTER(LANG(?workLabel) = \"en\") } OPTIONAL { ?work wdt:P18 ?image . } } ORDER BY ?publicationDate", "paraphrases": ["Can you list the academic papers and publications written by Norman Foster Ramsey along with their publication years?", "Show me the works created by Nobel laureate Norman Foster Ramsey and when they were published, including any available images."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2Label ?var3Label ?var4 WHERE { { <http://www.wikidata.org/entity/Q107419> ?var5 ?var1 . FILTER ( ( ( DATATYPE ( ?var1 ) = <http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . ?var3 <http://wikiba.se/ontology#directClaim> ?var5 . } UNION { BIND ( IRI ( CONCAT ( CONCAT ( SUBSTR ( STR ( ?var6 ) ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"29\"^^<http://www.w3.org/2001/XMLSchema#integer> ) , \"direct/\" ) , SUBSTR ( STR ( ?var6 ) ,\"40\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) AS ?var7 ). <http://www.wikidata.org/entity/Q107419> ?var8 ?var9 . FILTER ( ( REGEX ( STR ( ?var8 ) , \"prop/P\" ) ) ) . ?var9 ?var10 ?var1 . FILTER ( ( REGEX ( STR ( ?var10 ) , \"string1\" ) ) ) . FILTER ( ( ( DATATYPE ( ?var1 ) = <http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . ?var9 ?var6 ?var3 . FILTER ( ( REGEX ( STR ( ?var6 ) , \"string2\" ) ) ) . ?var2 <http://wikiba.se/ontology#directClaim> ?var7 . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var4 . } } UNION { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q107419> . ?var3 <http://www.wikidata.org/prop/direct/P577> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5147", "question": "What movie has the IMDb ID tt6859344?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie WHERE {\n  ?movie wdt:P345 \"tt6859344\" .\n}", "paraphrases": ["Which film is associated with the IMDb identifier tt6859344?", "Find the Wikidata entry for the movie with IMDb ID tt6859344."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6859344\". }"}}
{"id": "test_5148", "question": "Mutations on human chromosome 4 using GRCh37 genome assembly", "sparql": "SELECT ?mutation ?mutationLabel WHERE { ?mutation p:P1057 ?statement . ?statement ps:P1057 wd:Q836605 . ?statement pq:P659 wd:Q21067546 . ?mutation rdfs:label ?mutationLabel . FILTER(LANG(?mutationLabel) = \"en\")}", "paraphrases": ["Which mutations are located on human chromosome 4 according to the GRCh37 genome assembly?", "List all mutations associated with human chromosome 4 and the GRCh37 genome assembly."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q28444945-B1AF45AD-8988-4BF8-BA60-621DEE5E6D4A> ?var1 ?var2 . }"}}
{"id": "test_5149", "question": "What is the English Wikipedia page, official website, and type of Air Europa?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?airline ?airlineLabel ?wikipediaPage ?officialWebsite ?instanceType WHERE {\n  BIND( wd:Q332980 AS ?airline ) .\n  ?wikipediaPage schema:about ?airline ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n  OPTIONAL {\n    ?airline wdt:P856 ?officialWebsite .\n  }\n  OPTIONAL {\n    ?airline wdt:P31 ?instanceType .\n  }\n  ?airline rdfs:label ?airlineLabel .\n  FILTER ( LANG( ?airlineLabel ) = 'en' )\n}", "paraphrases": ["Can you tell me the official website and what kind of company Air Europa is, along with its English Wikipedia link?", "Show me the English Wikipedia article, website, and classification of the airline Air Europa."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P127> <http://www.wikidata.org/entity/Q332980> . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"en\". ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P127> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5150", "question": "What is the genomic end position of the NAT2 gene on human chromosome 8, and which genome assembly was used?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?position ?chromosome ?assembly WHERE {\n  wd:Q17680081 p:P645 ?statement .\n  ?statement ps:P645 ?position .\n  ?statement pq:P1057 ?chromosome .\n  ?statement pq:P659 ?assembly .\n}", "paraphrases": ["Where does the NAT2 gene end on chromosome 8 according to the GRCh37 and GRCh38 genome assemblies?", "What are the genomic coordinates for the end of the NAT2 gene?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q17680081-456039EF-62DE-46CD-AE82-2298CB9C091B> ?var1 ?var2 . }"}}
{"id": "test_5151", "question": "What are all the taxonomic ancestors of Boletus rhodoxanthus?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?ancestor WHERE {\n  wd:Q2475501 wdt:P171 * ?ancestor .\n}", "paraphrases": ["Show the full biological classification hierarchy above Boletus rhodoxanthus.", "What higher taxa does Boletus rhodoxanthus belong to in the fungal lineage?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q2475501> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P171> | <http://www.wikidata.org/prop/direct/P273> | <http://www.wikidata.org/prop/direct/P75> | <http://www.wikidata.org/prop/direct/P76> | <http://www.wikidata.org/prop/direct/P77> | <http://www.wikidata.org/prop/direct/P70> | <http://www.wikidata.org/prop/direct/P71> | <http://www.wikidata.org/prop/direct/P74> | <http://www.wikidata.org/prop/direct/P89> )* ?var1 . }"}}
{"id": "test_5152", "question": "Who are the people buried in Phipps Street Burying Ground, and when were they born and died?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  ?person wdt:P119 wd:Q7186417 .\n  ?person wdt:P31 wd:Q5 .\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}", "paraphrases": ["List the names, birth dates, and death dates of humans interred at Phipps Street Burying Ground.", "What are the birth and death dates of individuals buried in the Phipps Street Burying Ground in Charlestown, Massachusetts?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q7186417> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5153", "question": "What is the English label of the fictional character Emil Svensson, and what are his date of birth and date of death?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var1Label ?var3 ?var4 WHERE {\n  BIND( wd:Q783843 AS ?var1 ) .\n  ?var1 rdfs:label ?var1Label .\n  FILTER ( LANG( ?var1Label ) = \"en\" ) OPTIONAL {\n    ?var1 wdt:P569 ?var3 .\n  }\n  OPTIONAL {\n    ?var1 wdt:P570 ?var4 .\n  }\n}", "paraphrases": ["Can you tell me the name, birth date, and death date of Emil Svensson from Astrid Lindgren\u2019s books?", "Show me the English name of Emil Svensson and any recorded birth or death dates associated with him."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q783843> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5154", "question": "What are the birth and death dates of John Hughey, and what is his name?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  BIND(wd:Q17626849 AS ?person)\n  .\n  ?person rdfs:label ?personLabel .\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate\n  }\n}", "paraphrases": ["When was John Hughey born and when did he die?", "Can you tell me the full name, birth date, and death date of the Medal of Honor recipient John Hughey?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q17626849> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5155", "question": "What are the birth and death dates of Alexander Farnese?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?label ?birthDate ?deathDate WHERE {\n  wd:Q312903 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    wd:Q312903 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q312903 wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["Can you tell me when Alexander Farnese was born and when he died?", "Show me the life span of Alexander Farnese, including his birth and death dates."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q312903> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5156", "question": "What are the birth and death dates of Jason Wingreen?", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { BIND( wd:Q2490894 AS ?person ) . ?person wdt:P31 wd:Q5 . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["Can you tell me when Jason Wingreen was born and when he died?", "As an American actor who lived from 1920 to 2015, what were Jason Wingreen\u2019s exact birth and death dates?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q2490894> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5157", "question": "What is Nathan Furst's date of birth and is he still alive?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  BIND( wd:Q1505392 AS ?person ) .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) .\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["When was Nathan Furst born, and does Wikidata record his date of death?", "Please provide Nathan Furst\u2019s full name, birth date, and death date (if available)."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q1505392> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5158", "question": "English Wikipedia page, Rotten Tomatoes ID, and awards for the film with IMDb ID tt0347840", "sparql": "SELECT ?wiki_page ?rotten_tomatoes ?award WHERE { ?film wdt:P31/wdt:P279* wd:Q11424 . ?film wdt:P345 \"tt0347840\" . OPTIONAL { ?wiki_page schema:about ?film ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> . } OPTIONAL { ?film p:P166 ?award_stmt . ?award_stmt ps:P166 ?award . ?award rdfs:label ?award_label . FILTER (LANG(?award_label) = \"en\") } OPTIONAL { ?film wdt:P1258 ?rotten_tomatoes . } }", "paraphrases": ["What is the English Wikipedia page, Rotten Tomatoes ID, and any awards received for the film \"Rabbits\" (IMDb: tt0347840)?", "Please provide the English Wikipedia link, Rotten Tomatoes identifier, and awards for the movie with IMDb ID tt0347840."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var4 <http://www.wikidata.org/prop/direct/P345> ?var5 . OPTIONAL { ?var1 <http://schema.org/about> ?var4 . ?var1 <http://schema.org/inLanguage> \"en\". ?var1 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/P166> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P166> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P1258> ?var2 . } FILTER ( ( ( ?var5 = \"tt0347840\" ) ) ) . }"}}
{"id": "test_5159", "question": "What properties and values describe the gene AU015777 in Mus musculus?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?value WHERE {\n  wd:Q18271497 ?property ?value .\n}", "paraphrases": ["Can you list all the attributes of the gene Q18271497 from Wikidata?", "What information is available about the expressed sequence AU015777 in mice?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q18271497> . }"}}
{"id": "test_5160", "question": "What are the scientific names of taxa and their associated Wikimedia Commons category or page links, excluding image files?", "sparql": "SELECT ?taxon ?commonsPage WHERE { ?taxon wdt:P225 ?scientificName . ?commonsPage schema:about ?taxon . ?commonsPage schema:isPartOf <https://commons.wikimedia.org/> . FILTER ( !STRSTARTS( STR(?commonsPage), \"File:\" ) ) }", "paraphrases": ["Taxa with Commons pages (not files) \u2014 list the Wikidata items and their Commons links.", "Show me the Wikidata items for biological taxa along with their related Wikimedia Commons pages, but skip any image files."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P225> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P935> ?var4 . } ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/isPartOf> <https://commons.wikimedia.org/> . FILTER ( ( !( STRSTARTS ( STR ( ?var2 ) , \"string1\" ) ) ) ) . FILTER ( ( !( BOUND ( ?var5 ) ) ) ) . }"}}
{"id": "test_5161", "question": "Who has the IMDb ID nm1436693?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P345 \"nm1436693\" .\n}", "paraphrases": ["Which Wikidata item is associated with the IMDb identifier nm1436693?", "Find the person in Wikidata whose IMDb ID is nm1436693."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"nm1436693\". } ORDER BY ASC( ?var1 )"}}
{"id": "test_5162", "question": "Streets in Amsterdam with their Wikipedia pages, images, and coordinates.", "sparql": "SELECT ?street ?streetLabel ?wikipediaPage ?image ?coordinates WHERE { ?street wdt:P31 wd:Q79007 . ?street wdt:P131 wd:Q9899 . OPTIONAL { ?wikipediaPage schema:about ?street . ?wikipediaPage schema:isPartOf <https://nl.wikipedia.org/> . } OPTIONAL { ?street wdt:P18 ?image . } OPTIONAL { ?street wdt:P625 ?coordinates . } ?street rdfs:label ?streetLabel . FILTER(LANG(?streetLabel) = \"en\") }", "paraphrases": ["What are the streets in Amsterdam, along with their English names, Dutch Wikipedia links, images, and geographic coordinates?", "List all streets in Amsterdam, including their English labels, links to Dutch Wikipedia articles (if any), images from Wikimedia Commons (if any), and their GPS coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q79007> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q9899> . OPTIONAL { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/isPartOf> <https://nl.wikipedia.org/> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,nl\". } }"}}
{"id": "test_5163", "question": "What are the Swedish disambiguation pages whose labels have four consecutive consonants starting at the 10th character?", "sparql": "SELECT ?item ?label ?c10 ?c11 ?c12 ?c13 WHERE { ?item wdt:P31 wd:Q4167410 . ?item rdfs:label ?label . FILTER(LANG(?label) = 'sv') . FILTER(STRLEN(?label) >= 13) . BIND(UCASE(SUBSTR(?label, 10, 1)) AS ?c10) . BIND(UCASE(SUBSTR(?label, 11, 1)) AS ?c11) . BIND(UCASE(SUBSTR(?label, 12, 1)) AS ?c12) . BIND(UCASE(SUBSTR(?label, 13, 1)) AS ?c13) . FILTER(?c10 NOT IN ('A','O','U','\u00c5','E','I','Y','\u00c4','\u00d6','\u00d3','\u00d4','\u00c9')) . FILTER(?c11 NOT IN ('A','O','U','\u00c5','E','I','Y','\u00c4','\u00d6','\u00d3','\u00d4','\u00c9')) . FILTER(?c12 NOT IN ('A','O','U','\u00c5','E','I','Y','\u00c4','\u00d6','\u00d3','\u00d4','\u00c9')) . FILTER(?c13 NOT IN ('A','O','U','\u00c5','E','I','Y','\u00c4','\u00d6','\u00d3','\u00d4','\u00c9')) . } LIMIT 100", "paraphrases": ["Show me Swedish Wikipedia disambiguation pages where characters 10 through 13 of the title are all consonants.", "Are there any Swedish disambiguation pages with four consonants in a row starting at position 10 in the label?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { BIND ( UCASE ( SUBSTR ( ?var2 ,\"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var3 ). BIND ( UCASE ( SUBSTR ( ?var2 ,\"11\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var4 ). BIND ( UCASE ( SUBSTR ( ?var2 ,\"12\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var5 ). BIND ( UCASE ( SUBSTR ( ?var2 ,\"13\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var6 ). BIND ( UCASE ( SUBSTR ( ?var2 ,\"14\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var7 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167836> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( STR ( ?var3 ) NOT IN ( \"A\", \"O\", \"U\", \"\u00c5\", \"E\", \"I\", \"Y\", \"\u00c4\", \"\u00d6\", \"\u00d3\", \"\u00d4\", \"\u00c9\" ) ) ) . FILTER ( ( STR ( ?var4 ) NOT IN ( \"A\", \"O\", \"U\", \"\u00c5\", \"E\", \"I\", \"Y\", \"\u00c4\", \"\u00d6\", \"\u00d3\", \"\u00d4\", \"\u00c9\" ) ) ) . FILTER ( ( STR ( ?var5 ) NOT IN ( \"A\", \"O\", \"U\", \"\u00c5\", \"E\", \"I\", \"Y\", \"\u00c4\", \"\u00d6\", \"\u00d3\", \"\u00d4\", \"\u00c9\" ) ) ) . FILTER ( ( STR ( ?var6 ) NOT IN ( \"A\", \"O\", \"U\", \"\u00c5\", \"E\", \"I\", \"Y\", \"\u00c4\", \"\u00d6\", \"\u00d3\", \"\u00d4\", \"\u00c9\" ) ) ) . FILTER ( ( STR ( ?var7 ) NOT IN ( \"A\", \"O\", \"U\", \"\u00c5\", \"E\", \"I\", \"Y\", \"\u00c4\", \"\u00d6\", \"\u00d3\", \"\u00d4\", \"\u00c9\" ) ) ) . FILTER ( ( ( LANG ( ?var2 ) = \"sv\" ) ) ) . } LIMIT 100"}}
{"id": "test_5164", "question": "Railway stations in the United Kingdom and their names in different languages.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?station ?label WHERE {\n  ?station ( wdt:P31 / wdt:P279 * ) wd:Q55488 ; wdt:P17 wd:Q145 .\n  ?station rdfs:label ?label .\n}\nLIMIT 100", "paraphrases": ["What are the railway stations in the United Kingdom, and what are their names in various languages?", "List all railway stations in the UK along with their labels in different languages."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2Label ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q55488> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q145> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_5165", "question": "What gene and property does the statement s:Q18035369-2291E7C5-5C7C-4447-A0D7-9B6A181042AE refer to?", "sparql": "PREFIX s: <http://www.wikidata.org/entity/statement/>\nSELECT ?entity ?property WHERE {\n  ?entity ?property s:Q18035369-2291E7C5-5C7C-4447-A0D7-9B6A181042AE .\n}", "paraphrases": ["Which entity and property are linked to the statement with ID Q18035369-2291E7C5-5C7C-4447-A0D7-9B6A181042AE?", "For the statement about TESK2's strand orientation, what is the entity and property involved?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q18035369-2291E7C5-5C7C-4447-A0D7-9B6A181042AE> . }"}}
{"id": "test_5166", "question": "Humans from India with their gender and occupation, excluding those with Arabic descriptions.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?gender ?occupation ?personLabel WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P27 wd:Q668 .\n  OPTIONAL {\n    ?person wdt:P21 ?gender .\n  }\n  OPTIONAL {\n    ?person wdt:P106 ?occupation .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) FILTER ( NOT EXISTS {\n    ?person schema:description ?desc .\n    FILTER ( LANG( ?desc ) = \"ar\" )\n  }\n  )\n}", "paraphrases": ["Who are the Indian citizens, what are their genders and occupations, and which of them don\u2019t have an Arabic description?", "List the names, genders, and occupations of all Indian people who do not have an Arabic-language description."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var4 . } ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q668> . FILTER ( ( NOT EXISTS { ?var1 <http://schema.org/description> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"ar\" ) ) ) . } ) ) . }"}}
{"id": "test_5167", "question": "What are the most common properties linking Hans-Otto Borgmann to other entities, excluding statement qualifiers?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ( COUNT( ?item ) AS ?count ) WHERE {\n  ?item ?property wd:Q95492 .\n  FILTER ( regex( STR( ?property ) , \"^http://www.wikidata.org/prop/direct/\" ) || ! regex( STR( ?property ) , \"^http://www.wikidata.org/prop/\" ) )\n}\nGROUP BY ?property\nHAVING ( ?count > 1 )\nORDER BY DESC ( ?count )", "paraphrases": ["Which properties connect Hans-Otto Borgmann to more than one other item, and how many items are linked via each?", "Show me the properties that associate Hans-Otto Borgmann with multiple works or resources, ordered by frequency, and exclude Wikidata statement properties."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q95492> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_5168", "question": "What is the English label and description of the geographic location with Australian Statistical Geography 2016 ID SSC60136?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?location ?locationLabel ?description WHERE {\n  ?location wdt:P4093 \"SSC60136\" .\n  OPTIONAL {\n    ?location rdfs:label ?locationLabel .\n    FILTER(LANG(?locationLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?location schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Find the name and description in English of the place identified by ASGS2016 code SSC60136.", "Which location in Australia has the ID SSC60136 in the 2016 Australian Statistical Geography Standard, and what is its description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4093> \"SSC60136\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5169", "question": "What are the names of all villages in the People's Republic of China in Chinese?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?village ?villageLabel WHERE {\n  ?village wdt:P31 wd:Q13100073 .\n  ?village rdfs:label ?villageLabel .\n  FILTER ( LANGMATCHES( LANG( ?villageLabel ) , \"zh\" ) )\n}\nLIMIT 155000", "paraphrases": ["List all Chinese villages and their Chinese names.", "Can you provide a list of villages in China with their local (Mandarin) names?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13100073> . } LIMIT 155000 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sq\". } }"}}
{"id": "test_5170", "question": "English name of LGV Sud Europe Atlantique", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?label WHERE {\n  wd:Q674784 rdfs:label ?label .\n  FILTER(LANGMATCHES(LANG(?label) , \"EN\"))\n}\nLIMIT 1", "paraphrases": ["What is the English name of the LGV Sud Europe Atlantique railway line?", "Please provide the English label for the entity LGV Sud Europe Atlantique."], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { <http://www.wikidata.org/entity/Q674784> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( LANGMATCHES ( LANG ( ?var1Label ) , \"EN\" ) ) ) . } LIMIT 1"}}
{"id": "test_5171", "question": "What are the names of all provinces in Italy?", "sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 wdt:P31 wd:Q15089 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") } LIMIT 300", "paraphrases": ["Can you list the English labels of all administrative provinces in Italy?", "Show me the provinces of Italy and their official names in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,it-IT\". } OPTIONAL { } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q15089> . } LIMIT 300"}}
{"id": "test_5172", "question": "Journals where Karsten Juhl J\u00f8rgensen has published most frequently, using abbreviations if available.", "sparql": "SELECT ?publication ?pubLabel (COUNT(?work) AS ?count)\nWHERE {\n  ?work wdt:P50 wd:Q30004125 .\n  ?work wdt:P1433 ?publication .\n  ?publication rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    ?publication wdt:P1813 ?shortName .\n  }\n  BIND(COALESCE(?shortName, ?label) AS ?pubLabel)\n}\nGROUP BY ?publication ?pubLabel\nORDER BY DESC(?count)", "paraphrases": ["Which medical journals have Karsten Juhl J\u00f8rgensen published in the most, and how many papers did he publish in each, using their short names when possible?", "Show me a list of journals that Karsten Juhl J\u00f8rgensen has contributed to, ranked by the number of publications, with preferred abbreviations like \"BMJ\" instead of full titles."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q30004125> . ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1813> ?var6 . } BIND ( COALESCE ( ?var6 , ?var5Label ) AS ?var2Label ). } GROUP BY ?var1 ?var2Label ORDER BY DESC( ?var4 )"}}
{"id": "test_5173", "question": "Artifacts in the Mus\u00e9e Saint-Raymond collection with inventory numbers, images, and Joconde IDs.", "sparql": "SELECT DISTINCT ?itemLabel ?item (GROUP_CONCAT(DISTINCT ?inventoryNumber; SEPARATOR=\" ; \") AS ?inventoryNumbers) (SAMPLE(?image) AS ?sampleImage) ?jocondeId WHERE { ?item wdt:P195 wd:Q1376 . OPTIONAL { ?item wdt:P217 ?inventoryNumber . } OPTIONAL { ?item wdt:P18 ?image . } OPTIONAL { ?item wdt:P347 ?jocondeId . } } GROUP BY ?itemLabel ?item ?jocondeId ORDER BY ASC(?inventoryNumbers)", "paraphrases": ["What are the artifacts in the Mus\u00e9e Saint-Raymond museum, along with their inventory numbers, sample images, and Joconde identifiers, sorted by inventory number?", "List all items from the Mus\u00e9e Saint-Raymond collection, showing their inventory numbers (if any), a sample image from Wikimedia Commons, and their Joconde ID, ordered by inventory number."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var1 ( GROUP_CONCAT ( DISTINCT ?var2 ; SEPARATOR = \" ; \" ) AS ?var3 )( SAMPLE ( ?var4 ) AS ?var5 ) ?var6 ?var7 ?var8 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P195> <http://www.wikidata.org/entity/Q1376> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P217> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P973> ?var6 . FILTER ( ( STRSTARTS ( STR ( ?var6 ) , \"string1\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P973> ?var7 . FILTER ( ( STRSTARTS ( STR ( ?var7 ) , \"string2\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P347> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } GROUP BY ?var1Label ?var1 ?var8 ?var6 ?var7 ORDER BY ASC( ?var3 )"}}
{"id": "test_5174", "question": "What Wikipedia pages are about Inc. magazine, which has the official website inc.com?", "sparql": "SELECT ?item ?itemLabel ?relatedPage WHERE { { ?item wdt:P856 <https://www.inc.com> . } UNION { ?item wdt:P856 <http://www.inc.com> . } UNION { ?item wdt:P856 <https://www.inc.com/> . } UNION { ?item wdt:P856 <http://www.inc.com/> . } ?relatedPage schema:about ?item . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["Which Wikipedia and Commons pages are linked to Inc. magazine through its official website www.inc.com?", "Show me all the external links (like Wikipedia articles) about the company Inc. that uses www.inc.com as its official website."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.inc.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.inc.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.inc.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.inc.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.inc.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.inc.com> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5175", "question": "What film has the IMDb ID tt1054666?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P345 \"tt1054666\" .\n}", "paraphrases": ["Which movie on Wikidata is associated with the IMDb identifier tt1054666?", "Find the Wikidata item for the film with IMDb ID tt1054666."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1054666\". }"}}
{"id": "test_5176", "question": "Top authors of Foreign Policy articles by publication count, with images.", "sparql": "SELECT (SAMPLE(?image) AS ?imageSample) ?author ?authorLabel ?articleCount WHERE { { SELECT ?author (COUNT(?article) AS ?articleCount) WHERE { ?article wdt:P1433 wd:Q1063573 ; wdt:P50 ?author . } GROUP BY ?author } ?author rdfs:label ?authorLabel . FILTER(LANG(?authorLabel) = \"en\") ?author wdt:P18 ?image . } GROUP BY ?author ?authorLabel ?articleCount ORDER BY DESC(?articleCount) LIMIT 50", "paraphrases": ["Who are the authors with the most articles published in Foreign Policy, and how many did they write?", "Show me the top 50 authors of Foreign Policy, ranked by number of articles, along with their names and profile images."], "info": {"raw_sparql": "SELECT( SAMPLE ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ?var4 WHERE { { SELECT ?var3 ( COUNT ( ?var5 ) AS ?var4 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P1433> <http://www.wikidata.org/entity/Q1063573> ; <http://www.wikidata.org/prop/direct/P50> ?var3 . } GROUP BY ?var3 } ?var3 <http://www.wikidata.org/prop/direct/P18> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,fr,zh,jp,es\". } } GROUP BY ?var3 ?var3Label ?var4 ORDER BY DESC( ?var4 ) LIMIT 50"}}
{"id": "test_5177", "question": "Subsidiaries of The Walt Disney Company with qualifiers", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subsidiary ?subsidiaryLabel ( SAMPLE( ?qualifierProperty ) AS ?qualifierPropertySample ) WHERE {\n  ?subsidiary p:P749 ?statement .\n  ?statement ps:P749 wd:Q7414 .\n  OPTIONAL {\n    ?statement ?qualifierProperty ?value .\n  }\n  OPTIONAL {\n    ?subsidiary rdfs:label ?subsidiaryLabel .\n    FILTER ( LANG( ?subsidiaryLabel ) = \"en\" )\n  }\n}\nGROUP BY ?subsidiary ?subsidiaryLabel", "paraphrases": ["What are the subsidiaries of The Walt Disney Company, and what qualifiers are associated with their parent-child relationships?", "Show me all companies owned by The Walt Disney Company and indicate if any of these relationships have additional details like end dates."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P749> <http://www.wikidata.org/entity/Q7414> . ?var1 <http://www.wikidata.org/prop/P749> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_5178", "question": "Wikipedia pages about Facebook, given its official website is facebook.com", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?entity ?wikipediaPage WHERE {\n  ?entity wdt:P856 <https://www.facebook.com> .\n  ?wikipediaPage schema:about ?entity .\n}", "paraphrases": ["What Wikipedia pages are about the entity whose official website is https://www.facebook.com?", "List all Wikipedia articles that are about Facebook, using its official website URL."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.facebook.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.facebook.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.facebook.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.facebook.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.facebook.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.facebook.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://facebook.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://facebook.com> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5179", "question": "What Wikipedia pages are about Talking Points Memo, and what is its official website?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?var1 ?var1Label ?var2 WHERE {\n  ?var1 wdt:P856 ?url .\n  FILTER(CONTAINS(STR(?url) , \"talkingpointsmemo.com\"))\n  .\n  ?var2 schema:about ?var1 .\n  OPTIONAL {\n    ?var1 rdfs:label ?var1Label .\n    FILTER(LANG(?var1Label) = \"en\")\n  }\n}", "paraphrases": ["Which Wikipedia articles link to Talking Points Memo as their subject, and what is its official URL?", "Show me all Wikipedia pages that are about Talking Points Memo, along with its official website and English label."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.talkingpointsmemo.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.talkingpointsmemo.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://talkingpointsmemo.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://talkingpointsmemo.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://talkingpointsmemo.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://talkingpointsmemo.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://talkingpointsmemo.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://talkingpointsmemo.com> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5180", "question": "What is the Ensembl transcript ID for the gene APOE, according to the statement with ID s:Q14890475-223E9508-83B2-45B8-9549-062B6B28C1F3?", "sparql": "PREFIX s: <http://www.wikidata.org/entity/statement/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ?gene ?property ?transcriptId WHERE {\n  ?gene ?property s:Q14890475-223E9508-83B2-45B8-9549-062B6B28C1F3 .\n  s:Q14890475-223E9508-83B2-45B8-9549-062B6B28C1F3 ps:P704 ?transcriptId .\n}", "paraphrases": ["Which gene and property are associated with the Wikidata statement s:Q14890475-223E9508-83B2-45B8-9549-062B6B28C1F3, and what is its value?", "Can you tell me the gene, property, and transcript ID for the statement identified by s:Q14890475-223E9508-83B2-45B8-9549-062B6B28C1F3?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q14890475-223E9508-83B2-45B8-9549-062B6B28C1F3> . }"}}
{"id": "test_5181", "question": "Web pages about people who are freelancers", "sparql": "SELECT ?website ?item ?itemLabel WHERE { ?website schema:about ?item . ?item wdt:P106 wd:Q215279 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = 'en') } LIMIT 10", "paraphrases": ["What web pages are about individuals whose occupation is freelancer?", "Show me websites or articles that are about freelancers."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.selbststaendigkeit.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.selbststaendigkeit.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://selbststaendigkeit.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://selbststaendigkeit.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://selbststaendigkeit.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://selbststaendigkeit.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://selbststaendigkeit.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://selbststaendigkeit.de> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5182", "question": "Entities affiliated with TU Berlin that have official websites and Wikipedia pages.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?page WHERE {\n  ?item wdt:P856 ?url .\n  FILTER ( CONTAINS( STR( ?url ) , \"tu-berlin.de\" ) ) .\n  ?page schema:about ?item .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER ( LANG( ?itemLabel ) = \"en\" )\n  }\n}", "paraphrases": ["Which TU Berlin departments or researchers have official websites and corresponding Wikipedia pages?", "Show me the Wikipedia pages for all TU Berlin-affiliated entities that list an official website."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.entrepreneurship.tu-berlin.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.entrepreneurship.tu-berlin.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.entrepreneurship.tu-berlin.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.entrepreneurship.tu-berlin.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.entrepreneurship.tu-berlin.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.entrepreneurship.tu-berlin.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://entrepreneurship.tu-berlin.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://entrepreneurship.tu-berlin.de> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5183", "question": "What Wikipedia and Commons pages are linked to Computer Bild\u2019s official website?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var1 ?var1Label ?var2 WHERE {\n  {\n    ?var1 wdt:P856 <https://www.computerbild.de/> .\n  } UNION {\n    ?var1 wdt:P856 <http://www.computerbild.de/> .\n  } UNION {\n    ?var1 wdt:P856 <https://www.computerbild.de> .\n  } UNION {\n    ?var1 wdt:P856 <http://www.computerbild.de> .\n  } UNION {\n    ?var1 wdt:P856 <https://computerbild.de> .\n  } UNION {\n    ?var1 wdt:P856 <http://computerbild.de> .\n  } UNION {\n    ?var1 wdt:P856 <https://computerbild.de/> .\n  } UNION {\n    ?var1 wdt:P856 <http://computerbild.de/> .\n  }\n  ?var1 rdfs:label ?var1Label .\n  ?var2 schema:about ?var1 .\n}", "paraphrases": ["Which Wikipedia articles and Wikimedia Commons categories are about the German computer magazine Computer Bild, based on its official website?", "List all Wikipedia pages and Wikimedia Commons resources related to Computer Bild, using any variation of its official URL (including www, non-www, HTTP, HTTPS)."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.computerbild.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.computerbild.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.computerbild.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.computerbild.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.computerbild.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.computerbild.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://computerbild.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://computerbild.de> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5184", "question": "Number of works composed by Beethoven after 1900, grouped by year", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?year ( COUNT( ?work ) AS ?count ) WHERE {\n  ?work wdt:P86 wd:Q255 .\n  ?work wdt:P571 ?date .\n  BIND( YEAR( ?date ) AS ?year ) .\n  FILTER ( ?year > 1900 )\n}\nGROUP BY ?year", "paraphrases": ["How many works did Beethoven compose after 1900, and in which years?", "Show me the count of Beethoven\u2019s compositions created after 1900, grouped by year."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { BIND ( YEAR ( ?var4 ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P175> <http://www.wikidata.org/entity/Q255> . ?var2 <http://www.wikidata.org/prop/direct/P571> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( ( ?var1 > \"1900\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } GROUP BY ?var1"}}
{"id": "test_5185", "question": "What are the controlled-access highways in the Kanto region of Japan, and what are their Japanese and English names?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX geof: <http://www.opengis.net/def/function/geosparql/>\nSELECT DISTINCT ?highway ?coord ?label_ja ?label_en WHERE {\n  ?highway wdt:P31 / wdt:P279 * wd:Q46622 .\n  ?highway wdt:P625 ?coord .\n  FILTER(geof:longitude(?coord) >= 138.5 && geof:longitude(?coord) <= 141.5)\n  FILTER(geof:latitude(?coord) >= 34.5 && geof:latitude(?coord) <= 37.5)\n  ?highway rdfs:label ?label_ja\n  FILTER(LANG(?label_ja) = \"ja\")\n  ?highway rdfs:label ?label_en\n  FILTER(LANG(?label_en) = \"en\")\n}", "paraphrases": ["List Japanese expressways with their English names and coordinates, located between 138.5\u00b0E and 141.5\u00b0E longitude and 34.5\u00b0N and 37.5\u00b0N latitude.", "Show me the Japanese and English labels of all highways in Japan\u2019s Kanto area that are designed for high-speed vehicular traffic."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerWest> \"string1\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerEast> \"string2\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q46622> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"ja\" ) ) ) . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . }"}}
{"id": "test_5186", "question": "Who are the bishops consecrated by Pope John Paul II that have passed away?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?bishop ?bishopLabel WHERE {\n  ?bishop wdt:P1598 wd:Q989 .\n  ?bishop wdt:P570 ?deathDate .\n  ?bishop rdfs:label ?bishopLabel .\n  FILTER(LANG(?bishopLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["List the names of all bishops ordained by John Paul II who are deceased.", "Which bishops did Pope John Paul II consecrate, and have since died?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P1598> <http://www.wikidata.org/entity/Q989> . ?var1 <http://www.wikidata.org/prop/direct/P971> <http://www.wikidata.org/entity/Q4> . } LIMIT 100"}}
{"id": "test_5187", "question": "All species and genera in the Nolidae family of moths with English names.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?taxon ?taxonLabel WHERE {\n  ?taxon wdt:P171 * wd:Q546390 .\n  OPTIONAL {\n    ?taxon rdfs:label ?taxonLabel .\n    FILTER ( LANG( ?taxonLabel ) = \"en\" )\n  }\n}", "paraphrases": ["What are the English names of all taxonomic descendants of the Nolidae family of moths?", "List all moth taxa under the Nolidae family along with their English scientific names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P171> * <http://www.wikidata.org/entity/Q546390> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5188", "question": "What are the municipalities near Frankfurt, Germany, and what are their populations?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX geof: <http://www.opengis.net/def/function/geosparql/>\nSELECT DISTINCT ?municipalityLabel ?coord ?population WHERE {\n  ?municipality ( wdt:P31 / wdt:P279 * ) wd:Q15284 .\n  ?municipality wdt:P625 ?coord .\n  ?municipality wdt:P1082 ?population .\n  FILTER ( isNumeric( ?population ) ) FILTER ( geof:latitude ( ?coord ) >= 48.55 && geof:latitude ( ?coord ) <= 49.45 ) FILTER ( geof:longitude ( ?coord ) >= 8.313 && geof:longitude ( ?coord ) <= 9.687 ) ?municipality rdfs:label ?municipalityLabel .\n  FILTER ( LANG( ?municipalityLabel ) = \"en\" )\n}\nORDER BY ?municipalityLabel", "paraphrases": ["List all towns and municipalities within 50 kilometers of 9\u00b0E, 49\u00b0N along with their population figures.", "Show me the names and populations of populated places classified as municipalities in the region around 49\u00b0N, 9\u00b0E."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q17067486> . SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> \"POINT(9 49)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"50\". <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#distance> ?var3 . } ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var3 )"}}
{"id": "test_5189", "question": "Entities with YouTube as official website and their Wikipedia pages", "sparql": "SELECT ?entity ?entityLabel ?wikipediaPage WHERE { ?entity wdt:P856 ?website . FILTER(CONTAINS(LCASE(STR(?website)), \"youtube.com\")) . ?wikipediaPage schema:about ?entity . ?entity rdfs:label ?entityLabel . }", "paraphrases": ["Which Wikipedia articles are about entities that have YouTube as their official website?", "Show me all Wikipedia pages linked to entities whose official website is YouTube."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://youtube.com/> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5190", "question": "Musicians born in Rotterdam who died between January 1, 1946 and January 1, 1947", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?musician ?musicianLabel ?deathDate WHERE {\n  ?musician wdt:P106 / wdt:P279 * wd:Q639669 .\n  ?musician wdt:P19 wd:Q34370 .\n  ?musician wdt:P570 ?deathDate .\n  FILTER(?deathDate >= \"1946-01-01T00:00:00Z\" ^^ xsd:dateTime && ?deathDate <= \"1947-01-01T00:00:00Z\" ^^ xsd:dateTime)\n  ?musician rdfs:label ?musicianLabel .\n  FILTER(langMatches(lang(?musicianLabel) , \"en\"))\n}", "paraphrases": ["Who are the musicians born in Rotterdam that died in 1946?", "List the names and death dates of all musicians (including composers, singers, etc.) born in Rotterdam who died in the first year after World War II."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q639669> . ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q34370> . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . FILTER ( ( ( ?var3 >= \"1946-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var3 <= \"1947-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,nl\". } }"}}
{"id": "test_5191", "question": "What is the English name of the entity with official website www.harvardbusinessmanager.de, and which Wikipedia page is about it?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?wikipediaPage WHERE {\n  ?item wdt:P856 <http://www.harvardbusinessmanager.de/> .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n  .\n  ?wikipediaPage schema:about ?item .\n  FILTER(REGEX(STR(?wikipediaPage) , \"wikipedia.org\"))\n}", "paraphrases": ["Which entity has the official website http://www.harvardbusinessmanager.de/, what is its English label, and which Wikipedia article is about it?", "Show me the English name and the corresponding Wikipedia page for the organization whose official website is www.harvardbusinessmanager.de."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.harvardbusinessmanager.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.harvardbusinessmanager.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.harvardbusinessmanager.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.harvardbusinessmanager.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.harvardbusinessmanager.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.harvardbusinessmanager.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://harvardbusinessmanager.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://harvardbusinessmanager.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://harvardbusinessmanager.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://harvardbusinessmanager.de/> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5192", "question": "Which companies are owned by Alphabet Inc.?", "sparql": "SELECT ?company WHERE { ?company wdt:P127 wd:Q20800404 . }", "paraphrases": ["Can you list all the subsidiaries of Alphabet Inc.?", "What entities have Alphabet Inc. as their owner?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P127> <http://www.wikidata.org/entity/Q20800404> . }"}}
{"id": "test_5193", "question": "What types or categories is the legendary wizard Merlin classified as in Wikidata?", "sparql": "SELECT ?type WHERE { wd:Q188044 wdt:P31 ?type . } LIMIT 1000", "paraphrases": ["Is Merlin considered a human, a mythical being, or something else according to Wikidata?", "Can you list all the classes that Merlin belongs to in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q188044> <http://www.wikidata.org/prop/direct/P31> ?var1 . } LIMIT 1000 OFFSET 1000"}}
{"id": "test_5194", "question": "What is the English label, description, and alternative label for the Wikidata item \"life\" (Q3)?", "sparql": "SELECT ?label ?description ?altLabel WHERE { wd:Q3 rdfs:label ?label ; schema:description ?description ; skos:altLabel ?altLabel . FILTER(LANG(?label) = \"en\") FILTER(LANG(?description) = \"en\") FILTER(LANG(?altLabel) = \"en\") } LIMIT 100", "paraphrases": ["Can you show me the English name, definition, and synonyms for the concept of life in Wikidata?", "What are the English terms used to describe the entity Q3 (life) in Wikidata, including its label, description, and alternative labels?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } <http://www.wikidata.org/entity/Q3> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Item> ; <http://www.w3.org/2000/01/rdf-schema#label> \"string1\"@en ; <http://www.w3.org/2004/02/skos/core#prefLabel> \"string1\"@en ; <http://schema.org/name> \"string1\"@en ; <http://schema.org/description> \"string2\"@en ; <http://www.w3.org/2004/02/skos/core#altLabel> \"everything\"@en ; <http://www.wikidata.org/prop/direct/P2> <http://www.wikidata.org/entity/Q3> ; <http://www.wikidata.org/prop/direct/P7> \"value1\", \"value2\"; <http://www.wikidata.org/prop/P2> <http://www.wikidata.org/entity/statement/Q3-4cc1f2d1-490e-c9c7-4560-46c3cce05bb7> ; <http://www.wikidata.org/prop/P7> <http://www.wikidata.org/entity/statement/Q3-24bf3704-4c5d-083a-9b59-1881f82b6b37> , <http://www.wikidata.org/entity/statement/Q3-45abf5ca-4ebf-eb52-ca26-811152eb067c> . } LIMIT 100"}}
{"id": "test_5195", "question": "List of musicians with their English names.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?musician ?musicianLabel WHERE {\n  ?musician wdt:P106 wd:Q639669 .\n  ?musician rdfs:label ?musicianLabel .\n  FILTER ( LANG( ?musicianLabel ) = \"en\" )\n}", "paraphrases": ["Who are the musicians in Wikidata, and what are their names in English?", "Show me the English labels of all people whose occupation is musician."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P161> <http://www.wikidata.org/entity/Q639669> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5196", "question": "Image of James Tate with SNAC ARK ID w6029hj9", "sparql": "SELECT ?image WHERE { wd:Q531155 wdt:P3430 \"w6029hj9\" . OPTIONAL { wd:Q531155 wdt:P18 ?image . } }", "paraphrases": ["What is the image of James Tate, who has the SNAC ARK ID w6029hj9?", "Show me the Wikimedia Commons image linked to James Tate\u2019s SNAC ARK ID w6029hj9."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6029hj9\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5197", "question": "What Wikipedia articles are about The Verge?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel ?wikipediaArticle WHERE {\n  ?item wdt:P856 <https://www.theverge.com> .\n  ?item rdfs:label ?itemLabel .\n  ?wikipediaArticle schema:about ?item .\n  FILTER ( STRSTARTS( STR( ?wikipediaArticle ) , \"https://\" ) && CONTAINS( STR( ?wikipediaArticle ) , \".wikipedia.org\" ) )\n}", "paraphrases": ["Can you list all the language versions of Wikipedia pages that mention The Verge, along with how The Verge is named in those languages?", "Show me all the Wikipedia links pointing to The Verge\u2019s Wikidata item and the names used for The Verge in different languages."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.theverge.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.theverge.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.theverge.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.theverge.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.theverge.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.theverge.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://theverge.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://theverge.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://theverge.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://theverge.com/> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5198", "question": "People born in the United Kingdom who died between 1946 and 1947, along with their occupations and birthplaces.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?person ?personLabel ?occupation ?occupationLabel ?deathDate ?birthPlace ?birthPlaceLabel WHERE {\n  ?person wdt:P19 ?birthPlace .\n  ?birthPlace wdt:P131 * wd:Q145 .\n  ?person wdt:P570 ?deathDate .\n  ?person wdt:P106 ?occupation .\n  FILTER ( ?deathDate >= \"1946-01-01T00:00:00Z\" ^^ xsd:dateTime && ?deathDate <= \"1947-01-01T00:00:00Z\" ^^ xsd:dateTime ) OPTIONAL {\n    ?person rdfs:label ?personLabel .\n    FILTER ( LANG( ?personLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?occupation rdfs:label ?occupationLabel .\n    FILTER ( LANG( ?occupationLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?birthPlace rdfs:label ?birthPlaceLabel .\n    FILTER ( LANG( ?birthPlaceLabel ) = \"en\" )\n  }\n}", "paraphrases": ["Who were the people born in the United Kingdom (including its administrative regions) that died in 1946 or 1947, and what were their occupations and birthplaces?", "List all individuals who were born in the UK and died between January 1, 1946, and January 1, 1947, showing their names, occupations, and exact birth locations."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q145> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q145> . } ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var3 . FILTER ( ( ( ?var4 >= \"1946-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var4 <= \"1947-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5199", "question": "List chemical compounds and their Guide to Pharmacology (IUPHAR) IDs.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?ligand ?ligandLabel ?iupharId WHERE {\n  ?ligand wdt:P595 ?iupharId .\n  ?ligand rdfs:label ?ligandLabel .\n  FILTER ( LANG( ?ligandLabel ) = \"en\" )\n}", "paraphrases": ["What are the English names of chemical compounds and their corresponding IUPHAR ligand identifiers in the Guide to Pharmacology database?", "Show me the names of ligands and their IUPHAR IDs from the Guide to Pharmacology database."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P595> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_5200", "question": "What are the top 10 countries by population, and what are their populations?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?country ?countryLabel ?population WHERE {\n  ?country wdt:P31 wd:Q6256 .\n  ?country wdt:P1082 ?population .\n  ?country rdfs:label ?countryLabel .\n  FILTER ( LANG( ?countryLabel ) = \"en\" )\n}\nLIMIT 10", "paraphrases": ["Can you list 10 countries along with their population numbers?", "Which countries are recognized as sovereign states, and how many people live in them?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . SERVICE <http://dbpedia.org/sparql> { ?var1 ( <http://purl.org/voc/vrank#hasRank> / <http://purl.org/voc/vrank#rankValue> ) ?var2 . } } LIMIT 10"}}
{"id": "test_5201", "question": "What items are located on or near Jan Mayen, and what are their images and Wikimedia Commons categories?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel ?location ?image ?commonsCategory WHERE {\n  {\n    VALUES ?item {\n      wd:Q14056\n    }\n  } UNION {\n    ?item wdt:P131 wd:Q14056\n  }\n  OPTIONAL {\n    ?item wdt:P625 ?location\n  }\n  OPTIONAL {\n    ?item wdt:P18 ?image\n  }\n  OPTIONAL {\n    ?item wdt:P373 ?commonsCategory\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}\nLIMIT 3000", "paraphrases": ["Show me the geographic features of Jan Mayen, including their coordinates, images, and associated Commons categories.", "Retrieve all entities related to Jan Mayen, such as glaciers and nature reserves, along with their English labels, images, and Commons categories."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(-11 71)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(-6 71)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_5202", "question": "Video games with Chinese Simplified and Traditional Chinese labels", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?game ?labelEn ?labelZhHans ?labelZhHant WHERE {\n  ?game wdt:P31 / wdt:P279 * wd:Q7889 .\n  OPTIONAL {\n    ?game rdfs:label ?labelEn .\n    FILTER(LANG(?labelEn) = \"en\")\n  }\n  OPTIONAL {\n    ?game rdfs:label ?labelZhHans .\n    FILTER(LANG(?labelZhHans) = \"zh-hans\")\n  }\n  OPTIONAL {\n    ?game rdfs:label ?labelZhHant .\n    FILTER(LANG(?labelZhHant) = \"zh-hant\")\n  }\n}\nORDER BY ?game\nLIMIT 20", "paraphrases": ["Which video games have labels in both Simplified and Traditional Chinese?", "Show me video games along with their English, Simplified Chinese, and Traditional Chinese labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11410> . OPTIONAL { ?var1 <http://wikiba.se/ontology#sitelinks> ?var4 . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"zh\" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"zh-hans\" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"zh-hant\" ) ) ) . } } GROUP BY ?var1 ?var1Label ?var2 ?var3 ?var4 ORDER BY DESC( ?var4 )"}}
{"id": "test_5203", "question": "People with a genealogics.org ID and their English names.", "sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 wdt:P1819 ?id . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") } LIMIT 11", "paraphrases": ["Who are the 11 people listed in Wikidata that have a genealogics.org person ID, and what are their English names?", "List up to 11 individuals from Wikidata who have a genealogics.org identifier, along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1819> _:bnode . } LIMIT 11 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5204", "question": "Most common property linking items to the Maya civilization", "sparql": "SELECT ?property (COUNT(?property) AS ?count) WHERE { { SELECT ?property WHERE { ?item ?prop wd:Q28567 . ?property wikibase:directClaim ?prop . ?property rdf:type wikibase:Property . } LIMIT 10000 } } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which property is used most often to associate other items with the Maya civilization?", "Show me the property that connects the most entities to the Maya civilization, along with how many times it\u2019s used."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q28567> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_5205", "question": "People who became members of the French National Assembly on or after December 9, 1958.", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ?person ?startDate ?personLabel WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person p:P39 ?stmt .\n  ?stmt ps:P39 wd:Q3044918 .\n  ?stmt pq:P580 ?startDate .\n  FILTER ( ?startDate >= \"1958-12-09T00:00:00Z\" ^^ xsd:dateTime ) .\n  ?person rdfs:label ?personLabel .\n  FILTER ( lang( ?personLabel ) = \"en\" )\n}\nORDER BY ?startDate", "paraphrases": ["Who were the members of the French National Assembly starting from December 9, 1958, and when did their terms begin?", "List the names and start dates of all humans who held the position of member of the French National Assembly beginning on or after December 9, 1958."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://schema.org/dateModified> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/P39> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q3044918> . ?var3 <http://www.wikidata.org/prop/qualifier/P580> ?var4 . FILTER ( ( ( ?var4 >= \"1958-12-09T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_5206", "question": "List Swedish municipalities with their counties and coordinates.", "sparql": "SELECT ?municipality (GROUP_CONCAT(DISTINCT ?municipalityLabel; SEPARATOR=\"; \") AS ?municipalityLabelAgg) (GROUP_CONCAT(DISTINCT ?countyLabel; SEPARATOR=\" / \") AS ?countyAgg) (SAMPLE(?coordinates) AS ?sampledCoordinates) WHERE { ?municipality wdt:P31 wd:Q127448 . ?municipality wdt:P131 ?county . ?municipality wdt:P625 ?coordinates . ?municipality rdfs:label ?municipalityLabel . ?county rdfs:label ?countyLabel . FILTER(LANG(?municipalityLabel) = \"en\") FILTER(LANG(?countyLabel) = \"en\") } GROUP BY ?municipality", "paraphrases": ["What are the English names of Swedish municipalities, the counties they belong to, and their geographic coordinates?", "Show me all Swedish municipalities, including their English labels, the counties they are located in (separated by \u201c/\u201d if multiple), and one representative coordinate each."], "info": {"raw_sparql": "SELECT ?var1 ( GROUP_CONCAT ( DISTINCT ?var1Label ; SEPARATOR = \"; \" ) AS ?var1Label )( GROUP_CONCAT ( DISTINCT ?var2Label ; SEPARATOR = \" / \" ) AS ?var3 )( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q127448> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } GROUP BY ?var1"}}
{"id": "test_5207", "question": "What are the entities named \"Belgrade\" in Wikidata?", "sparql": "SELECT ?item ?label WHERE { VALUES ?item { wd:Q3711 wd:Q815570 wd:Q581832 wd:Q2745909 wd:Q2301099 wd:Q3476260 wd:Q647393 wd:Q15198234 wd:Q4882633 wd:Q16951069 } ?item rdfs:label ?label . FILTER (LANG(?label) = 'en') }", "paraphrases": ["List all places and things called \"Belgrade\" with their English names.", "Show me the English labels for all entities that are named Belgrade."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SERVICE <http://dbpedia.org/sparql> { SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://dbpedia.org/property/name> ?var2 . FILTER ( ( REGEX ( ?var2 , \"^belgrade^\", \"i\" ) ) ) . } LIMIT 10 } }"}}
{"id": "test_5208", "question": "What is the English label and Wikipedia page for the entity with official website http://www.canadinns.com?", "sparql": "SELECT ?item ?itemLabel ?wikipediaPage WHERE { ?item wdt:P856 <http://www.canadinns.com> . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") . ?wikipediaPage schema:about ?item . FILTER(STRSTARTS(STR(?wikipediaPage), \"https://en.wikipedia.org/\")) }", "paraphrases": ["Which entity has the official website http://www.canadinns.com, and what is its English name and corresponding Wikipedia page?", "Show me the English name and Wikipedia link of the company whose official website is http://www.canadinns.com."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.canadinns.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.canadinns.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.canadinns.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.canadinns.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.canadinns.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.canadinns.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://canadinns.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://canadinns.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://canadinns.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://canadinns.com/> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5209", "question": "What is the English Wikipedia article about Canalta Hotels?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel ?wikipediaArticle WHERE {\n  VALUES ?item {\n    wd:Q5031103\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" ) ?wikipediaArticle schema:about ?item .\n  FILTER ( STRSTARTS( STR( ?wikipediaArticle ) , \"https://en.wikipedia.org/\" ) )\n}", "paraphrases": ["Can you find the official Wikipedia page for the Canadian hotel chain Canalta Hotels?", "Show me the Wikipedia link associated with the Wikidata item for Canalta Hotels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.canaltahotels.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.canaltahotels.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://canaltahotels.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://canaltahotels.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://canaltahotels.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://canaltahotels.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://canaltahotels.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://canaltahotels.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://canaltahotels.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://canaltahotels.com/> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5210", "question": "What is the English Wikipedia page for Hostelling International \u2013 Canada, which has the official website hihostels.ca?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?hostel ?hostelLabel ?wikipediaPage WHERE {\n  {\n    ?hostel wdt:P856 <https://www.hihostels.ca/> .\n  } UNION {\n    ?hostel wdt:P856 <http://www.hihostels.ca/> .\n  } UNION {\n    ?hostel wdt:P856 <https://hihostels.ca/> .\n  } UNION {\n    ?hostel wdt:P856 <http://hihostels.ca/> .\n  } UNION {\n    ?hostel wdt:P856 <https://hihostels.ca> .\n  } UNION {\n    ?hostel wdt:P856 <http://hihostels.ca> .\n  }\n  ?hostel rdfs:label ?hostelLabel .\n  ?wikipediaPage schema:about ?hostel .\n  FILTER ( STRSTARTS( STR( ?wikipediaPage ) , \"https://en.wikipedia.org/\" ) )\n}", "paraphrases": ["Which English Wikipedia article is about Hostelling International \u2013 Canada, and what is its official website?", "Show me the English Wikipedia page linked to Hostelling International \u2013 Canada, given that its official website is hihostels.ca."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.hihostels.ca/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.hihostels.ca/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://hihostels.ca/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://hihostels.ca/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://hihostels.ca> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://hihostels.ca> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://hihostels.ca> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://hihostels.ca> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://hihostels.ca/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://hihostels.ca/> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5211", "question": "What is the official website of the travel company Viator?", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P856 <https://www.viator.com/> . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["Can you tell me the name of the company that has https://www.viator.com/ as its official website?", "Which company uses viator.com as its official homepage?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.viato.travel/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.viato.travel/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.viato.travel/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.viato.travel/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.viato.travel> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.viato.travel> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://viato.travel> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://viato.travel> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://viato.travel/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://viato.travel/> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5212", "question": "What is the English Wikipedia article about the company with the official website containing \"skorpios.cl\"?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?wikipediaPage WHERE {\n  ?item wdt:P856 ?website .\n  FILTER ( CONTAINS( STR( ?website ) , \"skorpios.cl\" ) ) .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" ) .\n  ?wikipediaPage schema:about ?item .\n  FILTER ( STRSTARTS( STR( ?wikipediaPage ) , \"https://en.wikipedia.org/\" ) )\n}", "paraphrases": ["Which company has an official website with \"skorpios.cl\" in the URL, and what is its English Wikipedia page?", "Can you find the English Wikipedia page for any entity whose official website includes \"skorpios.cl\"?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.skorpios.cl/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.skorpios.cl/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.skorpios.cl/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.skorpios.cl/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.skorpios.cl> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.skorpios.cl> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://skorpios.cl> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://skorpios.cl> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://skorpios.cl/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://skorpios.cl/> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5213", "question": "What is the official website of Disney Cruise Line, and which Wikipedia pages or other resources are about it?", "sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 wdt:P856 <http://www.disneycruise.com/> . ?var1 rdfs:label ?var1Label . ?var2 schema:about ?var1 . FILTER(LANG(?var1Label) = \"en\")}", "paraphrases": ["Find all web pages that discuss Disney Cruise Line, given its official website is www.disneycruise.com.", "Which articles or websites are linked to Disney Cruise Line through its official homepage?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.disneycruise.disney.go.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.disneycruise.disney.go.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://disneycruise.disney.go.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://disneycruise.disney.go.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://disneycruise.disney.go.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://disneycruise.disney.go.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://disneycruise.disney.go.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://disneycruise.disney.go.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://disneycruise.disney.go.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://disneycruise.disney.go.com/> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5214", "question": "What Wikipedia pages are about P&O Cruises Australia?", "sparql": "SELECT ?company ?wikipediaPage WHERE { ?company wdt:P856 <https://www.pocruises.com.au/> . ?wikipediaPage schema:about ?company .}", "paraphrases": ["Can you list all the Wikipedia articles linked to the official website of P&O Cruises Australia?", "Which language versions of Wikipedia have articles about the cruise line with the website pocruises.com.au?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.pocruises.com.au/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.pocruises.com.au/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.pocruises.com.au/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.pocruises.com.au/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.pocruises.com.au> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.pocruises.com.au> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://pocruises.com.au> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://pocruises.com.au> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://pocruises.com.au/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://pocruises.com.au/> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5215", "question": "What companies or ships have official websites related to seabourn.com, and what Wikipedia pages are about them?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?company ?companyLabel ?resource WHERE {\n  ?company wdt:P856 ?website .\n  FILTER ( CONTAINS( STR( ?website ) , \"seabourn.com\" ) ) .\n  ?resource schema:about ?company .\n  OPTIONAL {\n    ?company rdfs:label ?companyLabel .\n    FILTER ( LANG( ?companyLabel ) = \"en\" )\n  }\n}", "paraphrases": ["Can you list the Seabourn cruise line and its ships that have websites with \"seabourn.com\", along with the Wikipedia articles about them?", "Show me the English names of Seabourn-related entities and the external pages that reference them, based on their official websites."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.seabourn.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.seabourn.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.seabourn.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.seabourn.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.seabourn.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.seabourn.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://seabourn.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://seabourn.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://seabourn.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://seabourn.com/> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5216", "question": "What Wikipedia and Commons pages are about Atlas Obscura, given its official website?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?var1 ?var1Label ?var2 WHERE {\n  ?var1 wdt:P856 <https://www.atlasobscura.com/> .\n  ?var1 rdfs:label ?var1Label .\n  ?var2 schema:about ?var1 .\n}", "paraphrases": ["Which online articles and media categories are linked to Atlas Obscura through its official website?", "Show me all the Wikipedia and Wikimedia Commons pages that are about Atlas Obscura, based on its official URL."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.atlasobscura.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.atlasobscura.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.atlasobscura.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.atlasobscura.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.atlasobscura.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.atlasobscura.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://atlasobscura.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://atlasobscura.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://atlasobscura.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://atlasobscura.com/> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5217", "question": "What Wikipedia articles or web content are about the travel company CheapTickets?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?content WHERE {\n  ?item wdt:P856 <https://www.cheaptickets.com/> .\n  ?content schema:about ?item .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["Which entities have www.cheaptickets.com as their official website, and what content is about them?", "Can you find the official website of CheapTickets and list the articles or pages that mention it?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.cheapticketscanada.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.cheapticketscanada.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://cheapticketscanada.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://cheapticketscanada.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://cheapticketscanada.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://cheapticketscanada.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://cheapticketscanada.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://cheapticketscanada.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://cheapticketscanada.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://cheapticketscanada.com/> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5218", "question": "Official website of Club Med and its associated Wikipedia pages.", "sparql": "SELECT ?company ?companyLabel ?article WHERE { ?company wdt:P856 <https://www.clubmed.com> . ?company rdfs:label ?companyLabel . ?article schema:about ?company . }", "paraphrases": ["What Wikipedia articles are about Club Med, based on its official website?", "Show me all the Wikipedia pages and schema.org resources linked to Club Med through its official website at https://www.clubmed.com."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.clubmed.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.clubmed.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.clubmed.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.clubmed.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.clubmed.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.clubmed.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://clubmed.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://clubmed.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://clubmed.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://clubmed.com/> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5219", "question": "What is the official website of Reiseb\u00fcro Schmidt, and which Wikipedia page is about it?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?itemLabel ?wikipediaPage WHERE {\n  ?item wdt:P856 <http://www.der-schmidt.de> .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n  .\n  ?wikipediaPage schema:about ?item .\n  FILTER(CONTAINS(STR(?wikipediaPage) , \"wikipedia.org\"))\n}", "paraphrases": ["Which Wikipedia page discusses Reiseb\u00fcro Schmidt, and what is its official website?", "Show me the English label of Reiseb\u00fcro Schmidt and the Wikipedia article about it, given that its official website is http://www.der-schmidt.de."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.der-schmidt.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.der-schmidt.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.der-schmidt.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.der-schmidt.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.der-schmidt.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.der-schmidt.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://der-schmidt.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://der-schmidt.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://der-schmidt.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://der-schmidt.de/> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5220", "question": "What Wikipedia articles are about I:FAO AG, which has the official website ifao.net?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?article WHERE {\n  ?item wdt:P856 <http://www.ifao.net> .\n  ?item rdfs:label ?itemLabel .\n  ?article schema:about ?item .\n  FILTER(STRSTARTS(STR(?article) , \"http\"))\n  FILTER(REGEX(STR(?article) , \"wikipedia.org\"))\n}", "paraphrases": ["Which Wikipedia pages describe the organization with the official website www.ifao.net?", "Show me the Wikipedia articles related to the entity whose official website is http://www.ifao.net."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.ifao.net/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.ifao.net/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.ifao.net/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.ifao.net/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.ifao.net> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.ifao.net> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://ifao.net> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://ifao.net> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://ifao.net/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://ifao.net/> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5221", "question": "Lufthansa official website entities and their Wikipedia pages", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?about WHERE {\n  ?item wdt:P856 ?url .\n  FILTER ( CONTAINS( STR( ?url ) , 'lufthansa.com' ) ) .\n  ?about schema:about ?item .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER ( LANG( ?itemLabel ) = 'en' )\n  }\n}", "paraphrases": ["What are the Lufthansa-related entities with official websites on lufthansa.com, and which Wikipedia articles or resources are about them?", "Show me the English names of Lufthansa-related organizations that have lufthansa.com as their official website, along with the external pages that mention them."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.lufthansaholidays.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.lufthansaholidays.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.lufthansaholidays.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.lufthansaholidays.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.lufthansaholidays.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.lufthansaholidays.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://lufthansaholidays.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://lufthansaholidays.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://lufthansaholidays.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://lufthansaholidays.com/> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5222", "question": "What is the Wikidata entry for outdooractive.com?", "sparql": "SELECT ?website ?label WHERE { ?website wdt:P856 <https://www.outdooractive.com> . ?website rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["Which Wikidata entity has the official website https://www.outdooractive.com, and what is its English label?", "Show me the English label of the Wikidata item for outdooractive.com."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.outdooractive.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.outdooractive.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.outdooractive.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.outdooractive.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.outdooractive.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.outdooractive.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://outdooractive.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://outdooractive.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://outdooractive.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://outdooractive.com/> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5223", "question": "What Wikipedia pages are about SkyscraperCity, the website with the official URL skyscrapercity.com?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?entity ?wikipediaPage WHERE {\n  ?entity wdt:P856 <https://www.skyscrapercity.com/> .\n  ?wikipediaPage schema:about ?entity .\n}", "paraphrases": ["List all Wikipedia articles linked to the official website of SkyscraperCity.", "Which language versions of Wikipedia have articles about the forum SkyscraperCity?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.skyscrapercity.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.skyscrapercity.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.skyscrapercity.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.skyscrapercity.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.skyscrapercity.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.skyscrapercity.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://skyscrapercity.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://skyscrapercity.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://skyscrapercity.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://skyscrapercity.com/> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5224", "question": "Tourism organizations with official websites and associated Wikipedia articles.", "sparql": "SELECT ?item ?itemLabel ?url ?about WHERE { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = 'en') FILTER(CONTAINS(LCASE(?itemLabel), 'tourism')) . ?item wdt:P856 ?url . ?about schema:about ?item .}", "paraphrases": ["Which tourism-related entities have official websites, and what resources are about them?", "Show me tourism organizations that have official websites and the Wikipedia pages or other resources linked to them."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.tourmis.info/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.tourmis.info/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.tourmis.info/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.tourmis.info/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.tourmis.info> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.tourmis.info> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://tourmis.info> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://tourmis.info> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://tourmis.info/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://tourmis.info/> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5225", "question": "What are the official websites and Wikipedia articles for entities related to \"world statistics\"?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?website ?about WHERE {\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" ) .\n  FILTER ( CONTAINS( LCASE( ?itemLabel ) , \"world statistics\" ) ) .\n  ?item wdt:P856 ?website .\n  ?about schema:about ?item .\n  ?about schema:isPartOf <https://en.wikipedia.org/> .\n}", "paraphrases": ["Can you find the Wikipedia pages about World Statistics Day and its official websites?", "Show me the official websites and corresponding Wikipedia articles for any organization or event named \"world statistics\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.world-statistics.org/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.world-statistics.org/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://world-statistics.org/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://world-statistics.org/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://world-statistics.org> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://world-statistics.org> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://world-statistics.org> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://world-statistics.org> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://world-statistics.org/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://world-statistics.org/> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5226", "question": "What is the English Wikipedia page for Gametime, and what is its official website?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var1 ?var1Label ?var2 WHERE {\n  ?var1 wdt:P856 <https://gametime.co/> .\n  ?var2 schema:about ?var1 .\n  ?var1 rdfs:label ?var1Label .\n  FILTER(LANG(?var1Label) = \"en\")\n  FILTER(STRSTARTS(STR(?var2) , \"https://en.wikipedia.org/\"))\n}", "paraphrases": ["Which Wikipedia article is about the company Gametime, and what is its official website?", "Show me the English Wikipedia link and official website for Gametime."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.gametime.co/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.gametime.co/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.gametime.co/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.gametime.co/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.gametime.co> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.gametime.co> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://gametime.co> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://gametime.co> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://gametime.co/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://gametime.co/> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5227", "question": "What Wikipedia articles are about the roller coaster simulation software NoLimits 2?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity ?entityLabel ?about WHERE {\n  ?entity wdt:P856 <http://www.nolimitscoaster.com> .\n  ?entity rdfs:label ?entityLabel .\n  ?about schema:about ?entity .\n  FILTER(LANG(?entityLabel) = \"en\")\n  FILTER(STRSTARTS(STR(?about) , \"https://\") && CONTAINS(STR(?about) , \".wikipedia.org\"))\n}", "paraphrases": ["Which external resources link to the official website of NoLimits 2?", "Can you find the Wikipedia page linked to NoLimits 2\u2019s official website at www.nolimitscoaster.com?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.nolimits24.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.nolimits24.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.nolimits24.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.nolimits24.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.nolimits24.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.nolimits24.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://nolimits24.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://nolimits24.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://nolimits24.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://nolimits24.de/> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5228", "question": "Wikipedia articles about China Southern Airlines with its official website.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nSELECT ?company ?wikipediaPage ?companyLabel WHERE {\n  ?company wdt:P856 <http://www.csair.com/> .\n  ?wikipediaPage schema:about ?company .\n  ?company skos:prefLabel ?companyLabel\n  FILTER(LANG(?companyLabel) = \"en\")\n  .\n  FILTER(STRSTARTS(STR(?wikipediaPage) , \"https://\"))\n  FILTER(! STRSTARTS(STR(?wikipediaPage) , \"https://www.wikidata.org\"))\n}", "paraphrases": ["What Wikipedia pages are about China Southern Airlines, given that its official website is http://www.csair.com/?", "List all Wikipedia articles that mention China Southern Airlines, and show the English label for the airline."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.csair.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.csair.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.csair.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.csair.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.csair.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.csair.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://csair.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://csair.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://csair.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://csair.com/> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5229", "question": "Wikidata properties related to government and state", "sparql": "SELECT DISTINCT ?property WHERE { ?property wdt:P31 wd:Q22997934 . }", "paraphrases": ["Which Wikidata properties are classified as being related to government and state?", "List all Wikidata properties that are instances of the category \"Wikidata property related to government and state\"."], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q22997934> . }"}}
{"id": "test_5230", "question": "What are the direct subclasses of \"person\" and \"organization\" in Wikidata?", "sparql": "SELECT ?subclass WHERE { VALUES ?parent { wd:Q215627 wd:Q43229 } ?subclass wdt:P279 ?parent . }", "paraphrases": ["Can you list all the immediate subcategories of person and organization?", "Which entities are directly classified as types of person or organization?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q215627> ) ( <http://www.wikidata.org/entity/Q43229> ) } ?var1 <http://www.wikidata.org/prop/direct/P279> * ?var2 . }"}}
{"id": "test_5231", "question": "What Wikipedia pages are about Royal Air Maroc and its subsidiaries?", "sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 wdt:P856 <http://www.royalairmaroc.com> . ?var1 rdfs:label ?var1Label . ?var2 schema:about ?var1 . }", "paraphrases": ["Which Wikipedia articles are linked to the official website of Royal Air Maroc?", "Show me all Wikipedia pages and other resources that are about Royal Air Maroc, its group, or its express division, based on their shared official website."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.royalairmaroc.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.royalairmaroc.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.royalairmaroc.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.royalairmaroc.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.royalairmaroc.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.royalairmaroc.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://royalairmaroc.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://royalairmaroc.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://royalairmaroc.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://royalairmaroc.com/> . } ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5232", "question": "What is the main topic of the Wikimedia category \"Category:Particle physics\"?", "sparql": "SELECT ?topic ?topicLabel WHERE { wd:Q7139413 wdt:P301 ?topic. ?topic rdfs:label ?topicLabel FILTER(LANG(?topicLabel) = 'en') }", "paraphrases": ["Which article is the primary subject of the particle physics category on Wikipedia?", "Can you tell me the main subject represented by the Wikipedia category \"Category:Particle physics\"?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P301> <http://www.wikidata.org/entity/Q8169386> . } LIMIT 100"}}
{"id": "test_5233", "question": "WikiPathways IDs of biological pathways in Homo sapiens", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?pathwayId WHERE {\n  ?pathway wdt:P2410 ?pathwayId ; wdt:P703 wd:Q15978631 .\n}", "paraphrases": ["What are the WikiPathways identifiers for pathways found in humans?", "List all WikiPathways IDs for pathways that occur in Homo sapiens."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://identifiers.org/wikipathways/WP3812_r86498> <http://www.wikidata.org/prop/direct/P2410> ?var1 ; <http://www.wikidata.org/prop/direct/P703> <http://www.wikidata.org/entity/Q15978631> . }"}}
{"id": "test_5234", "question": "Administrative hierarchy of Thomaskerk in Amsterdam", "sparql": "SELECT DISTINCT ?administrativeEntity ?administrativeEntityLabel WHERE { wd:Q2124264 (wdt:P276 / wdt:P131*) ?administrativeEntity . ?administrativeEntity rdfs:label ?administrativeEntityLabel . FILTER(LANG(?administrativeEntityLabel) = \"en\") }", "paraphrases": ["What administrative regions is Thomaskerk in Amsterdam part of, up to the national level?", "Show me all administrative areas that Thomaskerk in Amsterdam belongs to, from neighborhood up to the Kingdom of the Netherlands."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q2124264> ( <http://www.wikidata.org/prop/direct/P276> / <http://www.wikidata.org/prop/direct/P131> *) ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es, en, nl, fy\". } }"}}
{"id": "test_5235", "question": "List of English-language names of musical groups.", "sparql": "SELECT ?groupName WHERE { ?group wdt:P31 wd:Q215380 . ?group rdfs:label ?groupName . FILTER(LANG(?groupName) = \"en\") } LIMIT 100", "paraphrases": ["What are some musical groups with English labels in Wikidata?", "Can you show me 100 examples of musical groups (bands) that have English names in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q215380> . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } FILTER ( ( ( LANG ( ?var1 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_5236", "question": "English-labeled musical groups and their English-labeled members", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?groupName ?memberName WHERE {\n  ?group wdt:P31 wd:Q215380 .\n  ?group rdfs:label ?groupName .\n  FILTER(LANG(?groupName) = \"en\")\n  .\n  ?member wdt:P463 ?group .\n  ?member rdfs:label ?memberName .\n  FILTER(LANG(?memberName) = \"en\")\n  .\n}\nLIMIT 5", "paraphrases": ["What are some musical groups and their members, both with English-language labels?", "List up to five musical groups in English along with their members who also have English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { { SELECT ?var3 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q215380> . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"en\" ) ) ) . } LIMIT 2 } ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . ?var4 <http://www.wikidata.org/prop/direct/P463> ?var3 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } LIMIT 5"}}
{"id": "test_5237", "question": "Current heads of government by country", "sparql": "SELECT DISTINCT ?country ?office ?person WHERE { ?country wdt:P31 wd:Q6256 . ?office wdt:P279* wd:Q2285706 ; wdt:P1001 ?country . FILTER ( NOT EXISTS { ?office wdt:P576 [] } ) . OPTIONAL { ?statement ps:P39 ?office ; pq:P580 ?start . FILTER ( NOT EXISTS { ?statement pq:P582 [] } ) . ?person p:P39 ?statement ; wdt:P31 wd:Q5 . } }", "paraphrases": ["Who are the current heads of government in each country, and what offices do they hold?", "List all countries along with the current office held (e.g., Prime Minister or President) and the name of the person holding it, excluding any offices that have been abolished."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var2 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q2285706> ; <http://www.wikidata.org/prop/direct/P1001> ?var1 . FILTER ( ( NOT EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P576> ?var4 . } ) ) . OPTIONAL { ?var5 <http://www.wikidata.org/prop/statement/P39> ?var2 ; <http://www.wikidata.org/prop/qualifier/P580> ?var6 . FILTER ( ( NOT EXISTS { ?var5 <http://www.wikidata.org/prop/qualifier/P582> ?var4 . } ) ) . ?var3 <http://www.wikidata.org/prop/P39> ?var5 ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . } }"}}
{"id": "test_5238", "question": "Athletes with their teams, jersey numbers, and weights in kilograms, with English names.", "sparql": "SELECT ?athlete ?team ?jerseyNumber ?mass ?athleteLabel WHERE { ?athlete wdt:P54 ?team . ?athlete wdt:P1618 ?jerseyNumber . ?athlete wdt:P2067 ?mass . OPTIONAL { ?athlete rdfs:label ?athleteLabel . FILTER (LANG(?athleteLabel) = \"en\") } }", "paraphrases": ["Which athletes have played for sports teams, what were their jersey numbers and weights, and what are their English names?", "Show me a list of athletes, including the teams they played for, their jersey numbers, their mass in kilograms, and their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P54> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P1618> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P2067> ?var4 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var6 . FILTER ( ( ( LANG ( ?var6 ) = \"en\" ) ) ) . } }"}}
{"id": "test_5239", "question": "Wikimedia pages about capital cities", "sparql": "SELECT ?page ?capital WHERE { ?capital wdt:P31 wd:Q5119 . ?page schema:about ?capital . } LIMIT 100", "paraphrases": ["What Wikipedia and other Wikimedia pages are about capital cities?", "List all language versions of Wikipedia articles that are about capital cities."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5119> . ?var1 <http://schema.org/about> ?var2 . } LIMIT 100"}}
{"id": "test_5240", "question": "What are some examples of volcanic landforms?", "sparql": "SELECT ?volcano ?volcanoLabel WHERE { ?volcano wdt:P31 wd:Q29025902 . ?volcano rdfs:label ?volcanoLabel . FILTER(LANG(?volcanoLabel) = 'en') }", "paraphrases": ["List the English names of all geographic features classified as volcanic landforms in Wikidata.", "Show me the names of volcanoes and volcanic features that are categorized as volcanic landforms."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q28020773> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_5241", "question": "Subclasses of work with their labels and direct parent classes", "sparql": "SELECT ?subclass ?subclassLabel ?directParent WHERE { ?subclass wdt:P279* wd:Q386724 . OPTIONAL { ?subclass wdt:P279 ?directParent . } ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") }", "paraphrases": ["What are all the subclasses of creative works, their English names, and their immediate parent categories?", "List all types of creative works and their direct parent categories in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q386724> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5242", "question": "What cities or places are part of \u00cele-de-France?", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P361 wd:Q13917 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = 'en') }", "paraphrases": ["Which entity is directly located within the \u00cele-de-France region according to Wikidata?", "Can you tell me the name of the main city that belongs to \u00cele-de-France?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { <http://www.wikidata.org/entity/statement/Q90-31c14517-4cf7-e3ff-c14a-a12ffbd59794> ?var1 ?var2Label . }"}}
{"id": "test_5243", "question": "What are the instances of the modelling activity in Wikidata?", "sparql": "SELECT ?modelingInstance ?modelingInstanceLabel WHERE { ?modelingInstance wdt:P31 wd:Q17143560 . ?modelingInstance rdfs:label ?modelingInstanceLabel . FILTER(LANG(?modelingInstanceLabel) = \"en\") } LIMIT 100", "paraphrases": ["Which competitions or events are classified as instances of modelling?", "List the English-labeled entities that are examples of the economic activity called modelling."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q17143560> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 20000"}}
{"id": "test_5244", "question": "What properties are associated with Mrs. Chippy, and what are their values and labels in English?", "sparql": "SELECT ?property (SAMPLE(?pl) AS ?propertyLabel) (COUNT(?object) AS ?count) (GROUP_CONCAT(?ol; SEPARATOR=\", \") AS ?objectLabels) WHERE { wd:Q851190 ?property ?object . ?object rdfs:label ?ol . FILTER(LANG(?ol) = \"en\") . ?statement wikibase:directClaim ?property . ?statement rdfs:label ?pl . FILTER(LANG(?pl) = \"en\") . } GROUP BY ?property", "paraphrases": ["For each property of Mrs. Chippy, can you show me the English label of the property, how many values it has, and what those values are called in English?", "List all the direct properties of Mrs. Chippy, along with their English names, the count of their values, and the English labels of those values."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q851190> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_5245", "question": "Universities in Germany with their official websites, student counts, coordinates, and founding years.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?universityLabel ?website ?coordinates ?studentCount ?inceptionDate WHERE {\n  ?university ( wdt:P31 / wdt:P279 * ) wd:Q3918 ; wdt:P17 wd:Q183 ; wdt:P625 ?coordinates ; wdt:P2196 ?studentCount ; wdt:P571 ?inceptionDate .\n  OPTIONAL {\n    ?university wdt:P856 ?website .\n  }\n  ?university rdfs:label ?universityLabel .\n  FILTER ( LANG( ?universityLabel ) = \"en\" )\n}", "paraphrases": ["What are the names, websites, locations, number of students, and founding dates of universities in Germany?", "Please list all universities in Germany along with their official websites, geographic coordinates, student enrollment numbers, and dates of establishment."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3918> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> ; <http://www.wikidata.org/prop/direct/P625> ?var4 ; <http://www.wikidata.org/prop/direct/P2196> ?var5 ; <http://www.wikidata.org/prop/direct/P571> ?var6 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,de\". } }"}}
{"id": "test_5246", "question": "What properties are used to link entities to the geographical feature \"hill\"?", "sparql": "SELECT DISTINCT ?property WHERE { ?item ?property wd:Q54050 . FILTER (STRSTARTS(STR(?property), \"http://www.wikidata.org/prop/direct/\")) FILTER (?property != wd:P31) }", "paraphrases": ["Which Wikidata properties, excluding \"instance of\", connect items to the concept of a hill?", "Can you list the direct relationships in Wikidata that associate objects with hills?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 ?var3 <http://www.wikidata.org/entity/Q54050> . ?var1 <http://wikiba.se/ontology#statementProperty> ?var3 . FILTER ( ( ( ?var1 != <http://www.wikidata.org/entity/P31> ) ) ) . }"}}
{"id": "test_5247", "question": "What property and value does the statement s:q42-D8404CDA-25E4-4334-AF13-A3290BCD9C0F represent?", "sparql": "SELECT ?property ?value WHERE { s:q42-D8404CDA-25E4-4334-AF13-A3290BCD9C0F ?psProperty ?value . FILTER(STRSTARTS(STR(?psProperty), \"http://www.wikidata.org/prop/statement/P\")) BIND(IRI(REPLACE(STR(?psProperty), \"ps:\", \"wdt:\")) AS ?property) }", "paraphrases": ["For the statement with IRI s:q42-D8404CDA-25E4-4334-AF13-A3290BCD9C0F, what is the property and its value?", "What is the main fact (property and value) stored in the Wikidata statement s:q42-D8404CDA-25E4-4334-AF13-A3290BCD9C0F?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q79793-BC044CDA-7A10-40C2-B63D-A5FFDD7B3826> . }"}}
{"id": "test_5248", "question": "What are the properties and values associated with Type 1 diabetes in Wikidata, including its classification, identifiers, and descriptions?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?property ?value WHERE {\n  wd:Q124407 ?property ?value .\n  FILTER(?property IN(rdfs:label , schema:description , wdt:P31 , wdt:P279 , wdt:P672 , wdt:P604 , wdt:P1583 , wdt:P673 , wdt:P1417 , wdt:P373 , wdt:P10283 , wdt:P4233))\n}", "paraphrases": ["What information does Wikidata provide about Type 1 diabetes, such as its type, subclass, medical codes, and multilingual descriptions?", "Show me all the key details about Type 1 diabetes from Wikidata, including its medical identifiers, category links, and descriptions in different languages."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q124407> ?var1 ?var2 . }"}}
{"id": "test_5249", "question": "What is the subject and property of the statement about plague being a subclass of disease?", "sparql": "SELECT ?subject ?property WHERE { ?subject ?property s:Q133780-A5B03BCD-AF72-470C-860B-64AD56B24A34 . }", "paraphrases": ["Which entity and relationship does the statement s:Q133780-A5B03BCD-AF72-470C-860B-64AD56B24A34 represent?", "Can you tell me the subject and property linked to this Wikidata statement identifier?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q133780-A5B03BCD-AF72-470C-860B-64AD56B24A34> . }"}}
{"id": "test_5250", "question": "Metadata for statement linking tularemia to DOID:2123", "sparql": "PREFIX s: <http://www.wikidata.org/entity/statement/>\nSELECT ?predicate ?object WHERE {\n  s:Q153861-19805F5C-14F5-4CB5-A1CF-75C37CB4C408 ?predicate ?object .\n}", "paraphrases": ["What are the rank, type, and derivation details of the statement that connects tularemia to Alzheimer\u2019s disease via exact match?", "Show all properties and values associated with the Wikidata statement identified by s:Q153861-19805F5C-14F5-4CB5-A1CF-75C37CB4C408."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q153861-19805F5C-14F5-4CB5-A1CF-75C37CB4C408> ?var1 ?var2 . }"}}
{"id": "test_5251", "question": "What is scabies classified as, and what are its descriptions in different languages?", "sparql": "SELECT ?label (GROUP_CONCAT(DISTINCT ?description; SEPARATOR=\"; \") AS ?descriptions) (GROUP_CONCAT(DISTINCT ?instanceLabel; SEPARATOR=\"; \") AS ?instances) (GROUP_CONCAT(DISTINCT ?subclassLabel; SEPARATOR=\"; \") AS ?subclasses) WHERE { wd:Q167178 rdfs:label ?label . FILTER(LANG(?label) = \"en\") OPTIONAL { wd:Q167178 schema:description ?description . } OPTIONAL { wd:Q167178 wdt:P31 ?instance . } OPTIONAL { wd:Q167178 wdt:P279 ?subclass . } OPTIONAL { ?instance rdfs:label ?instanceLabel . FILTER(LANG(?instanceLabel) = \"en\") } OPTIONAL { ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") } } GROUP BY ?label", "paraphrases": ["Can you tell me the English label of scabies, its medical classifications, and how it\u2019s described in other languages?", "What diseases is scabies a type of, and what do different languages call it?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q167178> ?var1 ?var2 . }"}}
{"id": "test_5252", "question": "What metadata is associated with the statement linking arthritis to DOID:848?", "sparql": "SELECT ?property ?value WHERE { s:Q170990-4B036E81-74F8-4F5F-83AD-630E533D0FD2 ?property ?value . }", "paraphrases": ["Show all properties and values of the statement with ID s:Q170990-4B036E81-74F8-4F5F-83AD-630E533D0FD2.", "Can you list all the details (like rank, source, and type) of this Wikidata statement?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q170990-4B036E81-74F8-4F5F-83AD-630E533D0FD2> ?var1 ?var2 . }"}}
{"id": "test_5253", "question": "What properties are used to link items to the United States in Wikidata, and what are their English labels and descriptions?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?property ?propertyLabel ?propertyDescription WHERE {\n  ?item ?directProperty wd:Q30 .\n  ?property wikibase:directClaim ?directProperty .\n  ?property rdfs:label ?propertyLabel .\n  ?property schema:description ?propertyDescription .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" ) FILTER ( LANG( ?propertyDescription ) = \"en\" )\n}\nLIMIT 20", "paraphrases": ["Can you list the English labels and descriptions of properties that have the United States as an object in their statements?", "Show me the properties connected to the United States with their English names and definitions."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q30> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 20 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 20"}}
{"id": "test_5254", "question": "English labels of all occupations in Wikidata.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?occupation ?label WHERE {\n  ?occupation wdt:P31 wd:Q12737077 .\n  ?occupation rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["What are the English names of all occupations listed in Wikidata?", "List all occupations in Wikidata with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { OPTIONAL { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"en\" ) ) ) . } ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q12737077> . }"}}
{"id": "test_5255", "question": "Entities associated with the University of Ottawa that are also related to Ottawa.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?item WHERE {\n  wd:Q627969 ?property1 ?item .\n  ?item ?property2 wd:Q1930 .\n}\nLIMIT 1000", "paraphrases": ["What organizations, places, or institutions are linked to both the University of Ottawa and the city of Ottawa?", "List all things connected to the University of Ottawa that are also connected to Ottawa."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { <http://www.wikidata.org/entity/Q627969> ?var2 ?var1 . ?var1 ?var3 <http://www.wikidata.org/entity/Q1930> . } LIMIT 1000"}}
{"id": "test_5256", "question": "What images are linked to the SNAC ARK ID w6mw32jh?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6mw32jh\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Show me the Wikimedia Commons images for the entity with SNAC ARK ID w6mw32jh.", "Find all images associated with the SNAC ARK ID w6mw32jh."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6mw32jh\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5257", "question": "What are the immediate and second-level superclass categories of Cabernet Sauvignon wine?", "sparql": "SELECT ?ancestor ?ancestorLabel ?directParent WHERE { { wd:Q17329260 wdt:P279 ?ancestor . OPTIONAL { ?ancestor wdt:P279 ?directParent . } OPTIONAL { ?ancestor rdfs:label ?ancestorLabel . FILTER(LANG(?ancestorLabel) = \"en\") } } UNION { wd:Q17329260 wdt:P279 ?intermediate . ?intermediate wdt:P279 ?ancestor . OPTIONAL { ?ancestor wdt:P279 ?directParent . } OPTIONAL { ?ancestor rdfs:label ?ancestorLabel . FILTER(LANG(?ancestorLabel) = \"en\") } } }", "paraphrases": ["Show me the hierarchy above Cabernet Sauvignon wine, including its parent and grandparent categories in the wine taxonomy.", "List all broader categories that Cabernet Sauvignon wine belongs to, up to two levels up in the classification hierarchy, along with their English labels and direct superclasses."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q17329260> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> \"100\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5258", "question": "What is the English label of the entity with the official website https://www.centarahotelsresorts.com/?", "sparql": "SELECT ?entity ?entityLabel WHERE { ?entity wdt:P856 <https://www.centarahotelsresorts.com/> . ?entity rdfs:label ?entityLabel . FILTER(LANG(?entityLabel) = \"en\") }", "paraphrases": ["Which company has its official website at centarahotelsresorts.com, and what is its name in English?", "Can you tell me the name of the hotel chain that uses www.centarahotelsresorts.com as its official site?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.centarahotelsresorts.com/centaragrand/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.centarahotelsresorts.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.centarahotelsresorts.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.centarahotelsresorts.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.centarahotelsresorts.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.centarahotelsresorts.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.centarahotelsresorts.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://centarahotelsresorts.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://centarahotelsresorts.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://centarahotelsresorts.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://centarahotelsresorts.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5259", "question": "What are the English and German Wikipedia pages about the Berlin Conference?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?enwiki ?dewiki WHERE {\n  OPTIONAL {\n    ?enwiki schema:about wd:Q13582 ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n  OPTIONAL {\n    ?dewiki schema:about wd:Q13582 ; schema:isPartOf <https://de.wikipedia.org/> .\n  }\n}", "paraphrases": ["Show me the links to the English and German Wikipedia articles for the 1884\u20131885 Berlin Conference.", "Can you find the Wikipedia articles in English and German that discuss the Berlin Conference?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.berlinconference.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.berlinconference.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.berlinconference.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.berlinconference.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.berlinconference.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.berlinconference.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.berlinconference.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://berlinconference.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://berlinconference.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://berlinconference.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://berlinconference.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5260", "question": "Official website of Meininger Hotel Group and its Wikipedia pages in English or German.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?var1 ?var1Label ?var2 WHERE {\n  ?var1 wdt:P856 <https://www.meininger-hotels.com/> .\n  ?var2 schema:about ?var1 ; schema:inLanguage ?lang .\n  FILTER(STRSTARTS(STR(?var2) , \"https://en.wikipedia.org/\") || STRSTARTS(STR(?var2) , \"https://de.wikipedia.org/\"))\n  OPTIONAL {\n    ?var1 rdfs:label ?var1Label .\n    FILTER(LANG(?var1Label) IN(\"en\" , \"de\"))\n  }\n}", "paraphrases": ["What are the Wikipedia pages in English or German about Meininger Hotel Group, and what is its official website?", "Show me the official website of Meininger Hotel Group and any associated Wikipedia articles in English or German."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.meininger-hotels.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.meininger-hotels.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.meininger-hotels.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.meininger-hotels.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.meininger-hotels.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.meininger-hotels.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.meininger-hotels.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://meininger-hotels.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://meininger-hotels.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://meininger-hotels.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://meininger-hotels.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5261", "question": "What is the official website of Robinson Helicopter Company, and what are its English and German descriptions?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P856 <http://www.robinsonheli.com> . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\" || LANG(?itemLabel) = \"de\") . ?item schema:description ?description . FILTER(LANG(?description) = \"en\" || LANG(?description) = \"de\") }", "paraphrases": ["Show me the label and description in English or German for the company whose official website is www.robinsonheli.com.", "Can you find the company with the website robinsonheli.com and tell me its name and description in English or German?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://robinsonshotels.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.robinsonshotels.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.robinsonshotels.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://robinsonshotels.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://robinsonshotels.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://robinsonshotels.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://robinsonshotels.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://robinsonshotels.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://robinsonshotels.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://robinsonshotels.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://robinsonshotels.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5262", "question": "Who are the Fields Medal winners who have served as legislators?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?personLabel ?person ?awardLabel ?positionLabel WHERE {\n  ?person wdt:P166 ?award .\n  ?award wdt:P279 * wd:Q28835 .\n  ?person wdt:P39 ?position .\n  ?position wdt:P279 * wd:Q4175034 .\n  ?person rdfs:label ?personLabel .\n  ?award rdfs:label ?awardLabel .\n  ?position rdfs:label ?positionLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n  FILTER(LANG(?awardLabel) = \"en\")\n  FILTER(LANG(?positionLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Which people have received the Fields Medal and also held a legislative position?", "List individuals who have won the Fields Medal and have been members of a national assembly or similar legislative body."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var1 ?var2Label ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P166> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q28835> . ?var1 <http://www.wikidata.org/prop/direct/P39> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q4175034> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_5263", "question": "What is the official website of dnata Travel Services, its English Wikipedia page, and its English label?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?label ?wikipediaPage ?website WHERE {\n  ?item wdt:P856 ?website .\n  ?wikipediaPage schema:about ?item ; schema:inLanguage \"en\" .\n  ?item rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) FILTER ( ?website = <http://www.dnatatravel.com/> )\n}", "paraphrases": ["Can you find the English label and Wikipedia page for dnata Travel Services, along with its official website?", "Show me the English name, English Wikipedia link, and official website for the company with the official URL http://www.dnatatravel.com/."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.dnatatravel.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.dnatatravel.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.dnatatravel.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.dnatatravel.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.dnatatravel.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.dnatatravel.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.dnatatravel.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://dnatatravel.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://dnatatravel.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://dnatatravel.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://dnatatravel.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5264", "question": "EVT Limited official website and English Wikipedia page", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?var1 ?var1Label ?var2 WHERE {\n  ?var1 wdt:P856 <https://www.evt.com/> .\n  ?var2 schema:about ?var1 ; schema:inLanguage \"en\" .\n  ?var1 rdfs:label ?var1Label .\n  FILTER ( LANG( ?var1Label ) = \"en\" )\n}", "paraphrases": ["What is the English Wikipedia page for EVT Limited, and what is its official website?", "Show me the official website and English label of EVT Limited, along with its English Wikipedia article."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.evt.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.evt.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.evt.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.evt.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.evt.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.evt.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.evt.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://evt.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://evt.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://evt.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://evt.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5265", "question": "What is the official website of Germany\u2019s financial regulatory authority (BaFin), and what are its labels in English and German?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel ?website WHERE {\n  VALUES ?item {\n    wd:Q314211\n  }\n  .\n  ?item wdt:P856 ?website .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) IN(\"en\" , \"de\"))\n}", "paraphrases": ["Show me the English and German labels along with the official websites for BaFin.", "Which organization in Germany is responsible for financial supervision, and what are its official URLs and language labels?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.pep-ausweis.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.pep-ausweis.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.pep-ausweis.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.pep-ausweis.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.pep-ausweis.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.pep-ausweis.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.pep-ausweis.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://pep-ausweis.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://pep-ausweis.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://pep-ausweis.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://pep-ausweis.de/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5266", "question": "Entities with official website wikipedia.org in English or German", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P856 <https://wikipedia.org/> .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\" || LANG(?itemLabel) = \"de\")\n}", "paraphrases": ["What are the English and German labels for the entity whose official website is wikipedia.org?", "Show me the English and German labels of the item that has https://wikipedia.org as its official website."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.statravel.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.statravel.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.statravel.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.statravel.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.statravel.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.statravel.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.statravel.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://statravel.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://statravel.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://statravel.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://statravel.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5267", "question": "Official website of The Good Pub Guide and its English Wikipedia page.", "sparql": "SELECT ?item ?itemLabel ?wikipediaArticle WHERE { ?item wdt:P856 <https://thegoodpubguide.co.uk/> . ?wikipediaArticle schema:about ?item ; schema:inLanguage \"en\" . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["What is the official website of The Good Pub Guide, and what is its English Wikipedia article?", "Show me the English label and Wikipedia article for the entity with the official website https://thegoodpubguide.co.uk/."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.thegoodpubguide.co.uk/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.thegoodpubguide.co.uk/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.thegoodpubguide.co.uk/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.thegoodpubguide.co.uk/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.thegoodpubguide.co.uk/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.thegoodpubguide.co.uk> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.thegoodpubguide.co.uk> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://thegoodpubguide.co.uk> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://thegoodpubguide.co.uk> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://thegoodpubguide.co.uk/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://thegoodpubguide.co.uk/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5268", "question": "What are the sporting events with the most Wikipedia language versions, and do they have Chinese, Simplified Chinese, or Traditional Chinese labels?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?event ?label_zh ?label_zh_hans ?label_zh_hant ?sitelinkCount WHERE {\n  ?event wdt:P31 / wdt:P279 * wd:Q16510064 .\n  OPTIONAL {\n    ?event rdfs:label ?label_zh .\n    FILTER(LANG(?label_zh) = \"zh\")\n  }\n  OPTIONAL {\n    ?event rdfs:label ?label_zh_hans .\n    FILTER(LANG(?label_zh_hans) = \"zh-hans\")\n  }\n  OPTIONAL {\n    ?event rdfs:label ?label_zh_hant .\n    FILTER(LANG(?label_zh_hant) = \"zh-hant\")\n  }\n  OPTIONAL {\n    ?event wikibase:sitelinks ?sitelinkCount .\n  }\n}\nGROUP BY ?event ?label_zh ?label_zh_hans ?label_zh_hant ?sitelinkCount\nORDER BY DESC(?sitelinkCount)", "paraphrases": ["Show me all sports events in Wikidata, sorted by how popular they are across Wikipedia languages, along with their Chinese translations if available.", "Which sporting events have Chinese-language labels, and how many Wikipedia editions cover them?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q16510064> . OPTIONAL { ?var1 <http://wikiba.se/ontology#sitelinks> ?var4 . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"zh\" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"zh-hans\" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"zh-hant\" ) ) ) . } } GROUP BY ?var1 ?var1Label ?var2 ?var3 ?var4 ORDER BY DESC( ?var4 )"}}
{"id": "test_5269", "question": "What English and German webpages are about Wikipedia, which has the official website wikipedia.org?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?page ?lang WHERE {\n  ?item wdt:P856 <https://wikipedia.org/> .\n  ?page schema:about ?item .\n  ?page schema:inLanguage ?lang .\n  FILTER ( ?lang IN ( 'en' , 'de' ) )\n}", "paraphrases": ["Which English and German-language pages discuss Wikipedia, given that its official website is https://wikipedia.org/?", "Show me the English and German Wikipedia-related pages that are about the entity whose official website is https://wikipedia.org/."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.virtualnights.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.virtualnights.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.virtualnights.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.virtualnights.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.virtualnights.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.virtualnights.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.virtualnights.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://virtualnights.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://virtualnights.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://virtualnights.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://virtualnights.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5270", "question": "Entities with official website https://about.google/ and their English or German labels", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P856 <https://about.google/> . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\" || LANG(?itemLabel) = \"de\") }", "paraphrases": ["What are the English and German labels for the entity with the official website https://about.google/?", "Show me the labels in English and German for the company whose official website is https://about.google/"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.flightright.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.flightright.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.flightright.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.flightright.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.flightright.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.flightright.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.flightright.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://flightright.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://flightright.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://flightright.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://flightright.de/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5271", "question": "Official website of Gate Gourmet and its English and German Wikipedia pages", "sparql": "SELECT ?item ?label ?page WHERE { ?item wdt:P856 <http://www.gategroup.com/> . ?item rdfs:label ?label . FILTER(LANG(?label) = \"en\" || LANG(?label) = \"de\") . ?page schema:about ?item . FILTER(REGEX(STR(?page), \"^https?://(en|de)\\\\.wikipedia\\\\.org/\") || STR(?page) = \"https://commons.wikimedia.org/wiki/Category:Gate_Group\") }", "paraphrases": ["What are the English and German Wikipedia pages about Gate Gourmet, and what is its official website?", "Show me the official website of Gate Gourmet along with its English and German Wikipedia articles and the Commons category."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.gategroup.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.gategroup.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.gategroup.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.gategroup.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.gategroup.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.gategroup.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.gategroup.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://gategroup.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://gategroup.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://gategroup.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://gategroup.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5272", "question": "Lists that have wine as their main topic", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?list ?statement WHERE {\n  ?list p:P360 ?statement .\n  ?statement ps:P360 wd:Q282 .\n}\nLIMIT 100", "paraphrases": ["What lists are about wine?", "Show me all Wikipedia lists that list wine as their main subject."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P360> <http://www.wikidata.org/entity/Q282> . ?var1 <http://www.wikidata.org/prop/P360> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_5273", "question": "What is the official website of Japan Airlines, and what are its English and German Wikipedia pages?", "sparql": "SELECT ?airlineLabel ?wikipediaEn ?wikipediaDe ?website WHERE { wd:Q213140 wdt:P856 ?website . ?wikipediaEn schema:about wd:Q213140 ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> . ?wikipediaDe schema:about wd:Q213140 ; schema:inLanguage \"de\" ; schema:isPartOf <https://de.wikipedia.org/> . wd:Q213140 rdfs:label ?airlineLabel . FILTER(LANG(?airlineLabel) = \"en\") }", "paraphrases": ["Show me the English and German Wikipedia links for Japan Airlines along with its official website URLs.", "Retrieve the English label, German Wikipedia page, English Wikipedia page, and official website URLs for Japan Airlines."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.jal.co.jp/jta/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.jal.co.jp/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.jal.co.jp/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.jal.co.jp/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.jal.co.jp/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.jal.co.jp> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.jal.co.jp> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://jal.co.jp> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://jal.co.jp> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://jal.co.jp/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://jal.co.jp/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5274", "question": "What is the English Wikipedia page for the Professional Pilots Rumour Network, and what is its official website?", "sparql": "SELECT DISTINCT ?entity ?entityLabel ?wikipediaPage WHERE { ?entity wdt:P856 <http://www.pprune.org/> . ?wikipediaPage schema:about ?entity ; schema:inLanguage \"en\" . ?entity rdfs:label ?entityLabel . FILTER(LANG(?entityLabel) = \"en\") }", "paraphrases": ["Can you find the English Wikipedia article about the organization whose official website is pprune.org?", "Show me the name and English Wikipedia link of the organization that uses www.pprune.org as its official website."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.pprune.org/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.pprune.org/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.pprune.org/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.pprune.org/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.pprune.org/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.pprune.org> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.pprune.org> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://pprune.org> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://pprune.org> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://pprune.org/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://pprune.org/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5275", "question": "Which entities have an official website containing \"flysas.com\", and what are their English or German Wikipedia or Commons page titles?", "sparql": "SELECT ?var1 ?var1Label ?var2Title ?var3 WHERE { ?var1 wdt:P856 ?var3 . FILTER(CONTAINS(STR(?var3), \"flysas.com\")) . ?var2 schema:about ?var1 ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") . BIND(REPLACE(STR(?var2), \"^.*/wiki/\", \"\") AS ?rawTitle) . BIND(REPLACE(?rawTitle, \"^Category:\", \"\") AS ?var2Title) . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\" || LANG(?var1Label) = \"de\") }", "paraphrases": ["What are the entities with \"flysas.com\" as their official website, along with their English or German Wikipedia article titles and labels?", "List all entities whose official website includes \"flysas.com\", showing their labels in English or German and the titles of their associated English or German Wikipedia or Commons pages."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.flysas.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.flysas.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.flysas.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.flysas.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.flysas.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.flysas.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.flysas.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://flysas.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://flysas.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://flysas.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://flysas.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5276", "question": "What is the official website and English Wikipedia page of The Airline Cooperative?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?organization ?label ?wikipediaPage ?website WHERE {\n  ?organization wdt:P856 ?website .\n  FILTER(REGEX(STR(?website) , \"^https?://(www\\\\.)?airlinecoop\\\\.org(/)?$\"))\n  .\n  ?wikipediaPage schema:about ?organization ; schema:inLanguage \"en\" .\n  ?organization rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["Which organization has an official website at airlinecoop.org, and what is its English Wikipedia page and label?", "Show me the English label, Wikipedia page, and official website for any organization whose website is airlinecoop.org or www.airlinecoop.org (with or without https)."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://airlinecoop.org/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.airlinecoop.org/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.airlinecoop.org/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://airlinecoop.org/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://airlinecoop.org/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://airlinecoop.org> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://airlinecoop.org> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://airlinecoop.org> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://airlinecoop.org> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://airlinecoop.org/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://airlinecoop.org/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5277", "question": "What is the official website of X Pro, and which English or German Wikipedia page describes it?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item ?itemLabel ?wikipediaPage WHERE {\n  ?item wdt:P856 <http://tweetdeck.twitter.com> .\n  ?wikipediaPage schema:about ?item .\n  ?wikipediaPage schema:inLanguage ?lang .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = ?lang ) .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" )\n}", "paraphrases": ["Which Wikipedia articles in English or German are about the entity with the official website tweetdeck.twitter.com?", "Show me the entity that uses tweetdeck.twitter.com as its official website, along with its label and corresponding English or German Wikipedia page."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://tweetdeck.twitter.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.tweetdeck.twitter.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.tweetdeck.twitter.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://tweetdeck.twitter.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://tweetdeck.twitter.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://tweetdeck.twitter.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://tweetdeck.twitter.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://tweetdeck.twitter.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://tweetdeck.twitter.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://tweetdeck.twitter.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://tweetdeck.twitter.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5278", "question": "What subject and property are associated with the statement s:L1329984-90142c5c-4d2c-05c9-ab13-36b3546bcf30?", "sparql": "SELECT ?subject ?predicate WHERE { ?subject ?predicate s:L1329984-90142c5c-4d2c-05c9-ab13-36b3546bcf30 . }", "paraphrases": ["Which item and property does the Wikidata statement s:L1329984-90142c5c-4d2c-05c9-ab13-36b3546bcf30 refer to?", "Show me the subject and predicate of the Wikidata statement with ID s:L1329984-90142c5c-4d2c-05c9-ab13-36b3546bcf30."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q19000882-980DF9A4-41B5-4252-9296-606B85CB1625> . }"}}
{"id": "test_5279", "question": "Which content management systems have a German-language official website, and what is their English label and German Wikipedia description?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?itemLabel ?description ?website WHERE {\n  {\n    ?item wdt:P856 ?website .\n    FILTER(?website = <https://de.wordpress.org/>)\n  } UNION {\n    ?item wdt:P856 ?website .\n    FILTER(?website = <https://de.drupal.org/>)\n  }\n  ?description schema:about ?item ; schema:inLanguage \"de\" .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["What is the English name of the content management system that has an official website at https://de.wordpress.org/, and what is its German-language Wikipedia page?", "Show me the English label, German Wikipedia description, and official website for any content management system with a German-language homepage like https://de.wordpress.org/ or https://de.drupal.org/."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.contentmanager.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.contentmanager.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.contentmanager.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.contentmanager.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.contentmanager.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.contentmanager.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.contentmanager.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://contentmanager.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://contentmanager.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://contentmanager.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://contentmanager.de/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5280", "question": "What is the English label of the entity with official website www.davaotoday.com?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P856 <http://www.davaotoday.com/> .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["Which entity has the official website http://www.davaotoday.com/, and what is its English name?", "Please show me the English name of the organization whose official website is www.davaotoday.com."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://davaotoday.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.davaotoday.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.davaotoday.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://davaotoday.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://davaotoday.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://davaotoday.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://davaotoday.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://davaotoday.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://davaotoday.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://davaotoday.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://davaotoday.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5281", "question": "Who were the participants in the 2017 Congressional baseball shooting, and what are their dates of birth and death?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?participantLabel ?birth ?death WHERE {\n  wd:Q30278163 wdt:P710 ?participant .\n  ?participant rdfs:label ?participantLabel .\n  FILTER ( LANG( ?participantLabel ) = \"en\" ) OPTIONAL {\n    ?participant wdt:P569 ?birth .\n  }\n  OPTIONAL {\n    ?participant wdt:P570 ?death .\n  }\n}", "paraphrases": ["What is the birth date of Steve Scalise, who was shot during the 2017 Congressional baseball shooting?", "Can you list the names, birth dates, and death dates of all people involved in the 2017 Virginia shooting?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q30278163> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5282", "question": "Living Russian computer scientists with Wikipedia pages and images", "sparql": "SELECT ?person ?personLabel ?imageFilename ?wikipediaPageTitle WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P27 wd:Q159 . ?person wdt:P106 wd:Q82594 . FILTER (NOT EXISTS { ?person wdt:P570 ?deathDate }) . ?person wdt:P18 ?image . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") . BIND(SUBSTR(STR(?image), 50) AS ?imageFilename) . ?wikipediaPage schema:about ?person ; schema:isPartOf <https://en.wikipedia.org/> . BIND(SUBSTR(STR(?wikipediaPage), 31) AS ?wikipediaPageTitle) } ORDER BY ?personLabel", "paraphrases": ["Who are the living Russian computer scientists who have an image on Wikimedia Commons and a page on English Wikipedia?", "List all living Russian computer scientists along with their English names, Wikimedia Commons image filenames, and English Wikipedia page titles."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q159> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82594> . ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var5 . } ) ) . } GROUP BY ?var1Label ?var2Label ?var1 ?var3 ?var4"}}
{"id": "test_5283", "question": "What is the official website of Unsplash, and what are its English and German labels?", "sparql": "SELECT ?item ?itemLabel ?url WHERE { VALUES ?url { <https://unsplash.com> } ?item wdt:P856 ?url . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\" || LANG(?itemLabel) = \"de\") }", "paraphrases": ["Show me the entity with the official website https://unsplash.com along with its labels in English and German.", "Which Wikidata item has https://unsplash.com as its official website, and how is it labeled in English and German?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.yayimages.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.yayimages.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.yayimages.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.yayimages.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.yayimages.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.yayimages.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.yayimages.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://yayimages.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://yayimages.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://yayimages.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://yayimages.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5284", "question": "List 21 natural heritage sites in English.", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P31 wd:Q386426 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } LIMIT 21", "paraphrases": ["What are 21 examples of natural heritage sites, and what are their English names?", "Show me up to 21 protected natural areas classified as natural heritage, along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q386426> . } LIMIT 21 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5285", "question": "Who disappeared or was retired from service on June 29, 1972?", "sparql": "SELECT DISTINCT ?item WHERE { ?item (wdt:P730 | wdt:P746) ?date . FILTER ( ?date >= \"1972-06-29T00:00:00Z\"^^xsd:dateTime && ?date <= \"1972-06-29T23:59:59Z\"^^xsd:dateTime ) }", "paraphrases": ["Which person was last seen alive or retired from service on June 29, 1972?", "Find individuals whose date of disappearance or service retirement was on June 29, 1972."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P730> | <http://www.wikidata.org/prop/direct/P746> ) ?var2 . FILTER ( ( ( ?var2 >= \"1972-06-29T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1972-06-29T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_5286", "question": "Properties linking other entities to Allo Mahar with more than one occurrence, sorted by frequency.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(COUNT(?item) AS ?count) WHERE {\n  ?item ?property wd:Q4732970 .\n}\nGROUP BY ?property\nHAVING(?count > 1)\nORDER BY DESC(?count)", "paraphrases": ["What properties are used to connect other items to Allo Mahar, and how many times are they used, considering only those used more than once?", "List the properties that link other entities to the village of Allo Mahar in Pakistan, showing only those used more than once, ordered by how often they appear."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q4732970> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_5287", "question": "What are the birth and death dates of Charles Mynn Thruston?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?birthDate ?deathDate WHERE {\n  wd:Q5081179 rdfs:label ?label .\n  OPTIONAL {\n    wd:Q5081179 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q5081179 wdt:P570 ?deathDate .\n  }\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["Can you tell me when Charles Mynn Thruston was born and when he died?", "Who is Charles Mynn Thruston, and what are his dates of birth and death?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q5081179> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5288", "question": "What writing systems or symbols are used for the English language, and do they have associated images?", "sparql": "SELECT ?item ?itemLabel ?image WHERE {\n  ?item wdt:P366 wd:Q1860 .\n  OPTIONAL { ?item wdt:P18 ?image . }\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Show me items that have English as their main use, along with their English labels and images if available.", "Which alphabets or scripts are designed for use with English, and can I see pictures of them?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P366> <http://www.wikidata.org/entity/Q38201321> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_5289", "question": "Self-citations and other citations of Michael S. Engel\u2019s works by year", "sparql": "SELECT ?year (COUNT(DISTINCT ?citingWork) AS ?citationCount) ?isSelfCitation WHERE { ?engelWork wdt:P50 wd:Q2348034 . ?citingWork wdt:P2860 ?engelWork . OPTIONAL { ?citingWork wdt:P577 ?pubDate . BIND(STR(YEAR(?pubDate)) AS ?year) } BIND(IF(EXISTS { ?citingWork wdt:P50 wd:Q2348034 }, \"self-citation\", \"other-citation\") AS ?isSelfCitation) } GROUP BY ?year ?isSelfCitation ORDER BY DESC(?year)", "paraphrases": ["How many works citing Michael S. Engel\u2019s publications were published each year, and how many of those are self-citations?", "Show me the count of works that cite Michael S. Engel\u2019s publications, grouped by publication year and whether they are self-citations."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q2348034> . } , \"string1\", \"string2\" ) AS ?var4 ). BIND ( STR ( YEAR ( ?var5 ) ) AS ?var1 ). ?var6 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q2348034> . ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var6 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var5 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_5290", "question": "What are the European Union member states ranked by population, along with their capitals and capital coordinates?", "sparql": "SELECT ?country ?countryLabel ?population ?capital ?capitalCoordinates WHERE { ?country wdt:P31 wd:Q3624078 ; wdt:P463 wd:Q458 . OPTIONAL { ?country wdt:P1082 ?population . } OPTIONAL { ?country wdt:P36 ?capital . } OPTIONAL { ?capital wdt:P625 ?capitalCoordinates . } ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") } ORDER BY DESC(?population)", "paraphrases": ["List the EU countries by population size, showing each country\u2019s capital and its geographic coordinates.", "Which EU countries have the largest populations, and what are the names and locations of their capitals?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( MAX ( ?var2 ) AS ?var3 )( SAMPLE ( ?var4 ) AS ?var5 )( MAX ( ?var6 ) AS ?var7 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q185441> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P36> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var2 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/direct/P625> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var3 )"}}
{"id": "test_5291", "question": "Items in Chicago suburbs with images and Wikimedia Commons categories", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel ?coord ?image ?commonsCategory WHERE {\n  ?item wdt:P625 ?coord .\n  BIND( STRBEFORE( STR( ?coord ) , \" \" ) AS ?longStr ) .\n  BIND( STRBEFORE( STR( ?longStr ) , \"(\" ) AS ?longPrefix ) .\n  BIND( STRAFTER( ?longStr , \"(\" ) AS ?longVal ) .\n  BIND( xsd:double ( ?longVal ) AS ?longitude ) .\n  BIND( STRAFTER( STR( ?coord ) , \" \" ) AS ?latStr ) .\n  BIND( STRBEFORE( ?latStr , \")\" ) AS ?latVal ) .\n  BIND( xsd:double ( ?latVal ) AS ?latitude ) .\n  FILTER ( ?longitude >= -88.2 && ?longitude <= -87.5 ) .\n  FILTER ( ?latitude >= 41.6 && ?latitude <= 42.1 ) .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  .\n  OPTIONAL {\n    ?item wdt:P373 ?commonsCategory .\n  }\n  .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}\nLIMIT 3000", "paraphrases": ["What are the places in the Chicago area that have photos and associated Wikimedia Commons categories?", "List entities located between longitude -88.2 and -87.5 and latitude 41.6 and 42.1, along with their English labels, images, and Commons categories."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(-88 36)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(-88 36)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_5292", "question": "Cultural heritage sites in Jyv\u00e4skyl\u00e4, Kuopio, Savonlinna, Mikkeli, and Varkaus with national or UNESCO status, including images and Commons categories.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?site ?siteLabel ?coord ?image ?commonsCategory WHERE {\n  ?site wdt:P1435 ?heritageDesignation .\n  VALUES ?heritageDesignation {\n    wd:Q29966257 wd:Q9259\n  }\n  ?site wdt:P131 ?municipality .\n  VALUES ?municipality {\n    wd:Q134620 wd:Q162279 wd:Q683512 wd:Q190583 wd:Q683525\n  }\n  OPTIONAL {\n    ?site wdt:P625 ?coord .\n  }\n  OPTIONAL {\n    ?site wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?site wdt:P373 ?commonsCategory .\n  }\n  ?site rdfs:label ?siteLabel .\n  FILTER(LANG(?siteLabel) = \"en\" || LANG(?siteLabel) = \"\")\n}\nLIMIT 3000", "paraphrases": ["What are the cultural heritage sites in the Finnish municipalities of Jyv\u00e4skyl\u00e4, Kuopio, Savonlinna, Mikkeli, and Varkaus that are designated as nationally significant or UNESCO World Heritage Sites, and what are their images and Wikimedia Commons categories?", "List all cultural heritage sites in the specified Finnish towns (Jyv\u00e4skyl\u00e4, Kuopio, Savonlinna, Mikkeli, Varkaus) that have either national significance or UNESCO status, along with their coordinates, images, and associated Wikimedia Commons categories."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(23 61)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(29 63)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } VALUES ( ?var7 ) { ( <http://www.wikidata.org/entity/Q29966257> ) ( <http://www.wikidata.org/entity/Q9259> ) } ?var8 <http://www.wikidata.org/prop/direct/P1435> ?var7 . ?var8 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q33> . ?var1 (( <http://www.wikidata.org/prop/direct/P131> / <http://www.wikidata.org/prop/direct/P279> *)|( <http://www.wikidata.org/prop/direct/P276> / <http://www.wikidata.org/prop/direct/P279> *)|( <http://www.wikidata.org/prop/direct/P361> / <http://www.wikidata.org/prop/direct/P279> *)) ?var8 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_5293", "question": "What are some geographic locations in Germany?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?location ?locationLabel WHERE {\n  ?location wdt:P31 wd:Q2221906 .\n  ?location wdt:P17 wd:Q183 .\n  ?location rdfs:label ?locationLabel .\n  FILTER ( LANG( ?locationLabel ) = \"en\" )\n}\nLIMIT 20", "paraphrases": ["List places in Germany that are classified as geographic locations.", "Show me English-named locations in Germany, such as cities or natural features."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q17334923> . ?var1 <http://www.wikidata.org/prop/direct/P495> <http://www.wikidata.org/entity/Q183> . } LIMIT 20"}}
{"id": "test_5294", "question": "Models and tailors with English Wikipedia pages", "sparql": "SELECT ?person ?personLabel ?countryLabel ?wikipediaPage WHERE {\n  {\n    ?person wdt:P106 wd:Q4610556 .\n  } UNION {\n    ?person wdt:P101 wd:Q4610556 .\n  } UNION {\n    ?person wdt:P106 wd:Q242468 .\n  } UNION {\n    ?person wdt:P101 wd:Q242468 .\n  }\n  ?person wdt:P31 wd:Q5 .\n  \n  OPTIONAL { ?person wdt:P27 ?country . }\n  \n  ?wikipediaPage schema:isPartOf <https://en.wikipedia.org/> ;\n                 schema:about ?person .\n  \n  OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }\n  OPTIONAL { ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") }\n}\nLIMIT 20000", "paraphrases": ["Who are the human models and tailors that have an English Wikipedia article?", "List the names and Wikipedia links of all humans whose occupation or field of work is model or tailor, along with their country of citizenship if known."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 WHERE { { ?var1 ( <http://www.wikidata.org/prop/direct/P106> ?/ <http://www.wikidata.org/prop/direct/P101> ?) <http://www.wikidata.org/entity/Q4610556> . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P106> ?/ <http://www.wikidata.org/prop/direct/P101> ?) <http://www.wikidata.org/entity/Q242468> . } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ca,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2003> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2013> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2847> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2397> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2035> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var11 . } OPTIONAL { ?var3 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . ?var3 <http://schema.org/about> ?var1 . } } LIMIT 20000"}}
{"id": "test_5295", "question": "What is the English label and description of the painting by Serge Poliakoff, and does it have an image on Wikimedia Commons?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?label ?description ?image WHERE {\n  OPTIONAL {\n    wd:Q20355076 rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n  OPTIONAL {\n    wd:Q20355076 schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n  OPTIONAL {\n    wd:Q20355076 wdt:P18 ?image .\n  }\n}", "paraphrases": ["Show me the name, description, and image of the painting Q20355076 in English.", "Can you provide the English name and description of Serge Poliakoff\u2019s painting, along with its associated image?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q20355076> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q20355076> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q20355076> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_5296", "question": "List all tailors and their other occupations, along with their countries of citizenship.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?country ?occupation WHERE {\n  {\n    ?person wdt:P106 wd:Q242468 .\n  } UNION {\n    ?person wdt:P101 wd:Q242468 .\n  }\n  ?person wdt:P31 wd:Q5 .\n  OPTIONAL {\n    ?person wdt:P27 ?country .\n  }\n  OPTIONAL {\n    ?person wdt:P106 ?occupation .\n  }\n}\nLIMIT 100", "paraphrases": ["Who are the humans whose profession or field of work is tailor, and what other jobs do they have?", "Show me a list of people who work as tailors, including all their occupations and their countries, even if they have multiple jobs."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 ( GROUP_CONCAT ( ?var12 ; SEPARATOR = \"; \" ) AS ?var13 ) WHERE { { ?var1 ( <http://www.wikidata.org/prop/direct/P106> ?/ <http://www.wikidata.org/prop/direct/P101> ?) <http://www.wikidata.org/entity/Q242468> . } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ca,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2003> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2013> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2847> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2397> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2035> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var12 . } OPTIONAL { ?var11 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . ?var11 <http://schema.org/about> ?var1 . } } GROUP BY ?var1 ?var1Label ?var2Label ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 LIMIT 20000"}}
{"id": "test_5297", "question": "What is the English label, description, and image of a television set?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?label ?description ?image WHERE {\n  OPTIONAL {\n    wd:Q8075 rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n  OPTIONAL {\n    wd:Q8075 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q8075 schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Can you show me the English name, definition, and a picture of a television set?", "Please provide the English label, description, and Wikimedia Commons image for the item 'television set'."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q8075> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q8075> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q8075> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_5298", "question": "What are the birth, death, and publication dates of Honor\u00e9 de Balzac and his notable works?", "sparql": "SELECT DISTINCT ?date ?item ?itemLabel ?propertyLabel WHERE { { wd:Q9711 ?property ?date . FILTER (DATATYPE(?date) = xsd:dateTime) . BIND(?property AS ?item) . OPTIONAL { ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") } } UNION { wd:Q9711 wdt:P800 ?work . ?work wdt:P577 ?date . BIND(?work AS ?item) . BIND(wdt:P800 AS ?property) . OPTIONAL { ?work rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } . OPTIONAL { ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") } } } ORDER BY ASC(?date)", "paraphrases": ["Can you list the dates associated with Honor\u00e9 de Balzac, including his birth, death, and when his literary works were published?", "Show me the timeline of Honor\u00e9 de Balzac\u2019s life and literary output, including his birth, death, and the publication years of his major works."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3Label ?var2Label ?var4Label ?var5 WHERE { { <http://www.wikidata.org/entity/Q9711> ?var6 ?var1 . FILTER ( ( ( DATATYPE ( ?var1 ) = <http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . ?var2 <http://wikiba.se/ontology#directClaim> ?var6 . } UNION { BIND ( IRI ( CONCAT ( CONCAT ( SUBSTR ( STR ( ?var7 ) ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"29\"^^<http://www.w3.org/2001/XMLSchema#integer> ) , \"direct/\" ) , SUBSTR ( STR ( ?var7 ) ,\"40\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) AS ?var8 ). BIND ( IRI ( CONCAT ( CONCAT ( SUBSTR ( STR ( ?var9 ) ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"29\"^^<http://www.w3.org/2001/XMLSchema#integer> ) , \"direct/\" ) , SUBSTR ( STR ( ?var9 ) ,\"40\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) AS ?var10 ). <http://www.wikidata.org/entity/Q9711> ?var11 ?var12 . FILTER ( ( REGEX ( STR ( ?var11 ) , \"prop/P\" ) ) ) . ?var12 ?var9 ?var1 . FILTER ( ( REGEX ( STR ( ?var9 ) , \"string1\" ) ) ) . FILTER ( ( ( DATATYPE ( ?var1 ) = <http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . ?var12 ?var7 ?var2 . FILTER ( ( REGEX ( STR ( ?var7 ) , \"string2\" ) ) ) . ?var4 <http://wikiba.se/ontology#directClaim> ?var8 . ?var3 <http://wikiba.se/ontology#directClaim> ?var10 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var5 . } } UNION { <http://www.wikidata.org/entity/Q9711> <http://www.wikidata.org/prop/direct/P800> ?var2 . ?var2 ?var6 ?var1 . FILTER ( ( ( DATATYPE ( ?var1 ) = <http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . ?var4 <http://wikiba.se/ontology#directClaim> <http://www.wikidata.org/prop/direct/P800> . ?var3 <http://wikiba.se/ontology#directClaim> ?var6 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var5 . } } UNION { ?var2 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q9711> . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var1 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var5 . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_5299", "question": "Given names with Soundex code starting with A and their native language spellings.", "sparql": "SELECT ?soundex (GROUP_CONCAT(DISTINCT CONCAT(\"[[\", STRAFTER(STR(?nameEntity), \"entity/\"), \"|\", ?nativeLabel, \"]]\"); SEPARATOR=\", \") AS ?nameList) WHERE { ?nameEntity (wdt:P31/wdt:P279*) wd:Q202444 ; wdt:P1705 ?nativeLabel ; wdt:P3878 ?soundex . FILTER(SUBSTR(?soundex, 1, 1) = \"A\") } GROUP BY ?soundex ORDER BY ASC(?soundex)", "paraphrases": ["What are all the given names in their original languages that have a Soundex code starting with 'A', grouped by their phonetic code?", "Show me a list of first names from different languages that sound similar in English, grouped by their Soundex code starting with A."], "info": {"raw_sparql": "SELECT ?var1 ( GROUP_CONCAT ( DISTINCT CONCAT ( \"[[\", STRAFTER ( STR ( ?var2 ) , \"y/\" ) , \"|\", ?var3 , \"]]\" ) ; SEPARATOR = \", \" ) AS ?var4 ) WHERE { ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q202444> ; <http://www.wikidata.org/prop/direct/P1705> ?var3 ; <http://www.wikidata.org/prop/direct/P3878> ?var1 . FILTER ( ( ( SUBSTR ( ?var1 ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) = \"A\" ) ) ) . } GROUP BY ?var1 ORDER BY ASC( ?var1 )"}}
{"id": "test_5300", "question": "What are the direct parent categories of a company in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?subclass ?label WHERE {\n  wd:Q783794 wdt:P279 ?subclass .\n  ?subclass rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["Superclasses of company in English", "Show me the English labels of the classes that a company is a subclass of."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q783794> <http://www.wikidata.org/prop/direct/P279> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } LIMIT 50"}}
{"id": "test_5301", "question": "What entities are owned by someone in Wikidata?", "sparql": "SELECT DISTINCT ?item ?itemLabel WHERE { ?item wdt:P127 ?owner . FILTER(STRSTARTS(STR(?item), \"http://www.wikidata.org/entity/Q\")) . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } LIMIT 10", "paraphrases": ["Which items (such as buildings, websites, or roads) have owners listed in Wikidata?", "List the English-labeled items that have an owner in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P127> ?var2 . }"}}
{"id": "test_5302", "question": "What are Dutch-labeled and Dutch-described items used for in Wikidata?", "sparql": "SELECT ?item ?label ?description WHERE { ?x wdt:P366 ?item . ?item rdfs:label ?label . ?item schema:description ?description . FILTER(LANG(?label) = \"nl\") FILTER(LANG(?description) = \"nl\") } LIMIT 100", "paraphrases": ["Which items, used for something, have both a Dutch label and a Dutch description?", "Show me items that are used for something and have Dutch labels and descriptions."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P366> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"nl\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"nl\" ) ) ) . } LIMIT 100"}}
{"id": "test_5303", "question": "Organizations in the UK with .uk websites linked to Wikipedia.", "sparql": "SELECT ?item ?website WHERE { VALUES ?type { wd:Q4830453 wd:Q43229 wd:Q17350442 } ?item wdt:P31 ?type . ?item wdt:P856 ?website . FILTER (STRENDS(STR(?website), \".uk\") || STRENDS(STR(?website), \".uk/\")) . ?article schema:about ?item ; schema:isPartOf <https://en.wikipedia.org/> . } LIMIT 50", "paraphrases": ["Which UK-based businesses, organizations, or venues have official websites ending in .uk and are mentioned on English Wikipedia?", "List all UK organizations, businesses, or venues with .uk official websites that have Wikipedia articles about them."], "info": {"raw_sparql": "SELECT ?var1 WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q16933227> ) } { VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q4830453> ) ( <http://www.wikidata.org/entity/Q35127> ) ( <http://www.wikidata.org/entity/Q43229> ) ( <http://www.wikidata.org/entity/Q17350442> ) } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var2 . } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . FILTER ( ( STRENDS ( STR ( ?var3 ) , \".uk/\" ) || STRENDS ( STR ( ?var3 ) , \".uk\" ) ) ) . [] <http://schema.org/about> ?var1 . }"}}
{"id": "test_5304", "question": "What are some landmarks in Western Europe with their coordinates, images, and Wikimedia Commons categories?", "sparql": "SELECT ?item ?itemLabel ?coord ?image ?category WHERE { VALUES ?country { wd:Q27 wd:Q145 wd:Q39 wd:Q36 wd:Q38 wd:Q142 wd:Q183 } ?item wdt:P17 ?country . ?item wdt:P625 ?coord . OPTIONAL { ?item wdt:P18 ?image } . OPTIONAL { ?item wdt:P373 ?category } . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } LIMIT 3000", "paraphrases": ["Show me places in countries like France, Germany, and the UK that have images and Commons categories, along with their geographic coordinates.", "Retrieve items located in Western European countries, including their names, locations, associated images, and Commons categories."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(-7 49)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(9 54)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_5305", "question": "Female heads of government of Danish municipalities and their images.", "sparql": "SELECT ?municipality ?municipalityLabel ?headOfGovernment ?headOfGovernmentLabel ?image WHERE { ?municipality wdt:P31 wd:Q2177636 . ?municipality wdt:P6 ?headOfGovernment . ?headOfGovernment wdt:P21 wd:Q6581072 . OPTIONAL { ?headOfGovernment wdt:P18 ?image . } ?municipality rdfs:label ?municipalityLabel . ?headOfGovernment rdfs:label ?headOfGovernmentLabel . FILTER(LANG(?municipalityLabel) = \"en\") FILTER(LANG(?headOfGovernmentLabel) = \"en\") }", "paraphrases": ["Which Danish municipalities have female heads of government, and do we have photos of them?", "List all Danish municipalities along with the names of their female mayors and any available images of the mayors."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2177636> . ?var1 <http://www.wikidata.org/prop/direct/P6> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_5306", "question": "What country, city, and continent is the A. Kasteyev State Museum of Arts located in?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?geographicEntity WHERE {\n  {\n    wd:Q2324596 wdt:P17 ?country .\n    ?country wdt:P30 ?geographicEntity\n  } UNION {\n    wd:Q2324596 wdt:P131 ?geographicEntity\n  } UNION {\n    wd:Q2324596 wdt:P17 ?geographicEntity\n  }\n}", "paraphrases": ["In which country, administrative region, and continent is the A. Kasteyev State Museum of Arts situated?", "Please list the geographic hierarchy (country, city, and continent) of the A. Kasteyev State Museum of Arts."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q2324596> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_5307", "question": "Basketball players with their birth date, birthplace, coordinates, and image, sorted by newest birth date first.", "sparql": "SELECT ?player ?playerLabel ?image ?birthDate ?birthPlace ?birthCoordinates WHERE { ?player wdt:P106 wd:Q3665646 . ?player wdt:P18 ?image . ?player wdt:P569 ?birthDate . ?player wdt:P19 ?birthPlace . ?birthPlace wdt:P625 ?birthCoordinates . ?player rdfs:label ?playerLabel . FILTER(LANG(?playerLabel) = \"en\") } ORDER BY DESC(?birthDate)", "paraphrases": ["Who are the most recently born basketball players, and what are their birthplaces, birth coordinates, and images?", "List basketball players along with their photos, dates of birth, places of birth, and the geographic coordinates of those birthplaces, ordered from newest to oldest."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 ?var6 <http://www.wikidata.org/entity/Q3665646> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P625> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var3 )"}}
{"id": "test_5308", "question": "What organizations or places are located in Cornwall?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P131 wd:Q23148 .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}\nLIMIT 10000", "paraphrases": ["Can you list the English-labeled entities that are administratively located in Cornwall?", "Show me the names of things in Cornwall, such as villages or transport authorities."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q23148> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 10000"}}
{"id": "test_5309", "question": "Image of the person with SNAC ARK ID w6v73cpn", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6v73cpn\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Dulce Mar\u00eda Loynaz in Wikidata?", "Can you show me the image of the Cuban poet Dulce Mar\u00eda Loynaz, identified by the SNAC ARK ID w6v73cpn?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6v73cpn\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5310", "question": "What museums hold artworks by A. R. Penck, excluding the Museum Boijmans Van Beuningen?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?artist ?artistLabel ?collection ?collectionLabel WHERE {\n  ?work wdt:P170 wd:Q279088 .\n  ?work wdt:P195 ?collection .\n  FILTER ( ?collection != wd:Q679527 ) BIND( wd:Q279088 AS ?artist ) ?artist rdfs:label ?artistLabel .\n  ?collection rdfs:label ?collectionLabel .\n  FILTER ( LANG( ?artistLabel ) = \"en\" ) FILTER ( LANG( ?collectionLabel ) = \"en\" )\n}\nLIMIT 500", "paraphrases": ["Which art collections besides Museum Boijmans Van Beuningen contain works by the German artist A. R. Penck?", "List all museums that have pieces created by A. R. Penck, but not the Museum Boijmans Van Beuningen."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var3 <http://www.wikidata.org/prop/direct/P195> <http://www.wikidata.org/entity/Q679527> . ?var3 <http://www.wikidata.org/prop/direct/P170> <http://www.wikidata.org/entity/Q279088> . ?var3 <http://www.wikidata.org/prop/direct/P170> ?var1 . ?var4 <http://www.wikidata.org/prop/direct/P170> ?var1 . MINUS { ?var4 <http://www.wikidata.org/prop/direct/P195> <http://www.wikidata.org/entity/Q679527> . } ?var4 <http://www.wikidata.org/prop/direct/P195> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,en\". } } LIMIT 500"}}
{"id": "test_5311", "question": "Who is the Swedish actor with SBL ID 14364, and what is their description?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P3217 \"14364\" .\n  ?item rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["What is the name and English description of the person identified by the Dictionary of Swedish National Biography ID 14364?", "Show me the English label and description of the individual whose SBL ID is 14364."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3217> \"14364\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5312", "question": "Who is the person with Australian Women's Register ID AWE1385b, and what is their description?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P4186 \"AWE1385b\" .\n  ?item rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["What is the name and English description of the individual listed in the Australian Women's Register with ID AWE1385b?", "Please provide the English label and description of the person identified by AWE1385b in the Australian Women's Register."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4186> \"AWE1385b\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5313", "question": "What is the English label and description of the female track and field athlete with ID 649 on Track and Field Statistics?", "sparql": "SELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P3924 \"649\" .\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["Who is the Polish long jumper with Track and Field Statistics ID 649, and what is her English description?", "Find the English name and description of the female athlete identified by 649 on the Track and Field Statistics website."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3924> \"6497\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5314", "question": "What are the parts of 3D computer graphics?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?var1 ?var1Label ?var3 WHERE {\n  ?var1 wdt:P361 wd:Q189177 .\n  OPTIONAL {\n    ?var1 wdt:P18 ?var3 .\n  }\n  ?var1 rdfs:label ?var1Label .\n  FILTER(LANG(?var1Label) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Can you list the English-named components of 3D computer graphics, along with any associated images?", "Which concepts are considered parts of 3D computer graphics, and do they have images on Wikimedia Commons?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q189177> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_5315", "question": "What is the English label and description of the artwork with MoMA work ID 34854?", "sparql": "SELECT ?item ?label ?description WHERE {\n  ?item wdt:P2014 \"34854\" .\n  OPTIONAL {\n    ?item rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\") .\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\") .\n  }\n}", "paraphrases": ["Show me the title and description in English of the painting identified by MoMA ID 34854.", "Find the English name and description of the Museum of Modern Art artwork with ID 34854."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2014> \"34858\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5316", "question": "People who held positions in the US Cabinet since 1815, ordered by longest tenure, with their images and references.", "sparql": "SELECT DISTINCT ?person ?personLabel ?positionLabel ?image ?referenceLabel ?startTime ?endTime ?duration WHERE { ?person wdt:P39 ?position . ?position wdt:P361 wd:Q639738 . OPTIONAL { ?person wdt:P18 ?image . } OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } OPTIONAL { ?position rdfs:label ?positionLabel . FILTER(LANG(?positionLabel) = \"en\") } ?person p:P39 ?statement . ?statement ps:P39 ?position . ?statement pq:P580 ?startTime . OPTIONAL { ?statement pq:P582 ?endTime . } BIND( IF( BOUND(?endTime), ?endTime, NOW() ) AS ?endTimeOrNow ) BIND( FLOOR( ( ?endTimeOrNow - ?startTime ) ) AS ?duration ) OPTIONAL { ?statement pq:P794 ?reference . ?reference rdfs:label ?referenceLabel . FILTER( LANG(?referenceLabel) = \"en\" ) } FILTER( ?startTime >= \"1815-01-01T00:00:00Z\"^^xsd:dateTime ) } ORDER BY DESC(?duration) ASC(?personLabel)", "paraphrases": ["Who are the individuals that served in the United States Cabinet since 1815, and how long did they serve, sorted by longest service first?", "List all US Cabinet members since 1815, including their position, tenure duration, image, and any English-language references, ordered by longest service and then alphabetically by name."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q640506> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . ?var1 <http://www.wikidata.org/prop/P39> ?var8 . ?var8 <http://www.wikidata.org/prop/statement/P39> ?var2 . ?var8 <http://www.wikidata.org/prop/qualifier/P580> ?var5 . ?var2 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q639738> . OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P582> ?var9 . } OPTIONAL { ?var8 ( <http://www.wikidata.org/prop/qualifier/P794> / <http://www.w3.org/2000/01/rdf-schema#label> ) ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } BIND ( IF ( BOUND ( ?var9 ) , ?var9 , NOW ( ) ) AS ?var6 ). BIND ( FLOOR ( ( ?var6 - ?var5 ) ) AS ?var7 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( ( ?var5 >= \"1815-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . } ORDER BY DESC( ?var7 )ASC( ?var1Label )"}}
{"id": "test_5317", "question": "U.S. presidential cabinets and their official names", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?cabinet ?cabinetLabel ?officialName WHERE {\n  ?cabinet wdt:P31 wd:Q640506 ; wdt:P17 wd:Q30 .\n  ?cabinet rdfs:label ?cabinetLabel .\n  FILTER ( LANG( ?cabinetLabel ) = \"en\" ) OPTIONAL {\n    ?cabinet wdt:P1448 ?officialName\n  }\n}\nLIMIT 100", "paraphrases": ["What are the cabinets of the United States, and what are their official names?", "List the English-labeled cabinets of the United States."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q640506> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q30> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1448> ?var2 . } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q5> . } LIMIT 100"}}
{"id": "test_5318", "question": "Who is the person with Australian Women's Register ID AWE1866b, and what is their description?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?label ?description WHERE {\n  ?person wdt:P4186 \"AWE1866b\" .\n  ?person rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) OPTIONAL {\n    ?person schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["What is the name and English description of the person identified by AWE1866b in the Australian Women's Register?", "Please provide the English name and description of the person whose Australian Women's Register ID is AWE1866b."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4186> \"AWE1866b\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5319", "question": "What are some occupations and their corresponding fields, along with links to English Wikipedia articles about those fields?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?occupation ?occupationLabel ?field ?fieldLabel ?wikipediaPage WHERE {\n  ?occupation wdt:P425 ?field .\n  ?wikipediaPage schema:about ?field .\n  FILTER(CONTAINS(STR(?wikipediaPage) , \"en.wikipedia.org\"))\n  ?occupation rdfs:label ?occupationLabel .\n  ?field rdfs:label ?fieldLabel .\n  FILTER(LANG(?occupationLabel) = \"en\")\n  FILTER(LANG(?fieldLabel) = \"en\")\n}", "paraphrases": ["Can you list jobs and the areas they belong to, with links to their Wikipedia pages?", "Which professions are linked to specific academic or professional fields, and where can I read more about those fields on Wikipedia?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P425> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } BIND ( ?var3 AS ?var6 ). ?var5 <http://schema.org/about> ?var6 . FILTER ( ( REGEX ( STR ( ?var5 ) , \"string1\" ) ) ) . }"}}
{"id": "test_5320", "question": "Who is the person with Australian Women's Register ID AWE2336b, and what is their description?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P4186 \"AWE2336b\" .\n  ?item rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["What is the name and English description of the individual identified by AWE2336b in the Australian Women's Register?", "Please provide the English name and description of the person listed in the Australian Women's Register with ID AWE2336b."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4186> \"AWE2336b\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5321", "question": "What properties are most commonly used to link other entities to Maurizio Margaglio in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(COUNT(?entity) AS ?count) WHERE {\n  ?entity ?property wd:Q1343704 .\n}\nGROUP BY ?property\nHAVING(?count > 1)\nORDER BY DESC(?count)", "paraphrases": ["How many times is each property used to connect entities to the Italian ice dancer Maurizio Margaglio, and which ones appear more than once?", "Show me the properties that connect other items to Maurizio Margaglio, sorted by how frequently they\u2019re used, excluding those used only once."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q1343704> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_5322", "question": "What properties are most frequently used to associate athletes or entities with the discus throw event in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(COUNT(?item) AS ?count) WHERE {\n  ?item ?property wd:Q182570 .\n}\nGROUP BY ?property\nHAVING(?count > 1)\nORDER BY DESC(?count)", "paraphrases": ["How many times is each property used to link items to discus throw, excluding properties used only once?", "Which Wikidata properties connect discus throw to other entities, ranked by usage frequency?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q182570> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_5323", "question": "Countries with businesses headquartered there, ranked by population.", "sparql": "SELECT ?country ?countryLabel ?population WHERE { ?country wdt:P31 wd:Q6256 . ?country wdt:P1082 ?population . FILTER(EXISTS { ?business (wdt:P31/wdt:P279*) wd:Q4830453 . ?business (wdt:P159/wdt:P131*) ?country . FILTER(NOT EXISTS { ?business wdt:P576 [] }) }) OPTIONAL { ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") } } ORDER BY DESC(?population)", "paraphrases": ["Which countries have at least one active business headquartered within their borders, and what are their populations, sorted from highest to lowest?", "List all countries that host at least one non-dissolved business, along with their population, ordered by population in descending order."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT (* ) AS ?var2 ) WHERE { { SELECT DISTINCT ?var4 ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var4 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q4830453> . ?var4 ( <http://www.wikidata.org/prop/direct/P159> / <http://www.wikidata.org/prop/direct/P131> *) ?var1 . FILTER ( ( NOT EXISTS { ?var4 <http://www.wikidata.org/prop/direct/P576> ?var5 . } ) ) . } } } GROUP BY ?var1 } ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var6 )"}}
{"id": "test_5324", "question": "Spanish terms for types of professions", "sparql": "SELECT ?professionLabel WHERE { ?subclass wdt:P279 wd:Q28640 . ?subclass rdfs:label ?professionLabel . FILTER (LANG(?professionLabel) = \"es\") }", "paraphrases": ["What are some professions in Spanish?", "List all subclasses of profession in Spanish."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q28640> . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"es\" ) ) ) . }"}}
{"id": "test_5325", "question": "What countries, regions, and continents is Kleine Kappl located in?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?location ?locationLabel WHERE {\n  wd:Q1350909(wdt:P131 | wdt:P17 | wdt:P30) + ?location .\n  ?location rdfs:label ?locationLabel .\n  FILTER(LANG(?locationLabel) = \"en\")\n}", "paraphrases": ["Can you list all the administrative divisions and larger geographic areas that Kleine Kappl belongs to, starting from its immediate locality up to the continent?", "Where is Kleine Kappl situated geographically? Show its path from local area to continent."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q1350909> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_5326", "question": "American citizens who are human, with English and Hebrew labels.", "sparql": "SELECT ?person ?personEnLabel ?personHeLabel WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P27 wd:Q30 . ?person rdfs:label ?personEnLabel . FILTER (LANG(?personEnLabel) = \"en\") . ?person rdfs:label ?personHeLabel . FILTER (LANG(?personHeLabel) = \"he\") }", "paraphrases": ["Who are the human citizens of the United States, and what are their names in English and Hebrew?", "Please list all American human citizens along with their names in English and Hebrew."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q30> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"he\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5327", "question": "Who are the current members of the 37th Parliament of Finland, along with their political party or parliamentary group, electoral district, and Twitter username?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT DISTINCT ?member ?partyOrGroup ?electoralDistrict ?twitterUsername WHERE {\n  ?member p:P39 ?statement .\n  ?statement ps:P39 wd:Q17592486 ; pq:P2937 wd:Q20253302 .\n  OPTIONAL {\n    ?statement ( pq:P4100 | pq:P102 ) ?partyOrGroup .\n  }\n  OPTIONAL {\n    ?statement pq:P768 ?electoralDistrict .\n  }\n  OPTIONAL {\n    ?member wdt:P2002 ?twitterUsername .\n  }\n  FILTER ( NOT EXISTS {\n    ?statement pq:P582 [] .\n  }\n  )\n}", "paraphrases": ["What are the names, party affiliations, electoral districts, and Twitter handles of all currently serving members of the Finnish Parliament during the 2015\u20132019 term?", "List all current members of the Finnish Parliament from the 37th term, including their political party, the constituency they represent, and their X (Twitter) username, if available."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/P39> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q17592486> ; <http://www.wikidata.org/prop/qualifier/P2937> <http://www.wikidata.org/entity/Q20253302> . OPTIONAL { ?var6 ( <http://www.wikidata.org/prop/qualifier/P4100> | <http://www.wikidata.org/prop/qualifier/P102> ) ?var2 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P768> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var5 . } FILTER ( ( NOT EXISTS { ?var6 <http://www.wikidata.org/prop/qualifier/P582> [] . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . } }"}}
{"id": "test_5328", "question": "What are the parent categories of home appliances, car rental companies, and telecommunications service providers?", "sparql": "SELECT ?businessClass ?parentClass ?parentClassLabel WHERE { VALUES ?businessClass { wd:Q212920 wd:Q291240 wd:Q7696092 } ?businessClass wdt:P279 ?parentClass . ?parentClass rdfs:label ?parentClassLabel . FILTER(LANG(?parentClassLabel) = \"en\") }", "paraphrases": ["Can you tell me the broader classes that include home appliance, car rental company, and telecommunications service provider?", "Show me the immediate higher-level categories for these types of businesses: home appliance, car rental company, and telecommunications service provider."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q155026> ) ( <http://www.wikidata.org/entity/Q155026> ) ( <http://www.wikidata.org/entity/Q291240> ) ( <http://www.wikidata.org/entity/Q155026> ) ( <http://www.wikidata.org/entity/Q212920> ) ( <http://www.wikidata.org/entity/Q212920> ) ( <http://www.wikidata.org/entity/Q6739267> ) ( <http://www.wikidata.org/entity/Q212920> ) ( <http://www.wikidata.org/entity/Q212920> ) ( <http://www.wikidata.org/entity/Q291240> ) ( <http://www.wikidata.org/entity/Q212920> ) ( <http://www.wikidata.org/entity/Q291240> ) ( <http://www.wikidata.org/entity/Q212920> ) ( <http://www.wikidata.org/entity/Q291240> ) ( <http://www.wikidata.org/entity/Q6739267> ) ( <http://www.wikidata.org/entity/Q6739267> ) ( <http://www.wikidata.org/entity/Q6739267> ) ( <http://www.wikidata.org/entity/Q7696092> ) ( <http://www.wikidata.org/entity/Q7696092> ) ( <http://www.wikidata.org/entity/Q6739267> ) ( <http://www.wikidata.org/entity/Q6739267> ) ( <http://www.wikidata.org/entity/Q6739267> ) ( <http://www.wikidata.org/entity/Q7696092> ) ( <http://www.wikidata.org/entity/Q291240> ) ( <http://www.wikidata.org/entity/Q6739267> ) ( <http://www.wikidata.org/entity/Q155026> ) ( <http://www.wikidata.org/entity/Q7696092> ) ( <http://www.wikidata.org/entity/Q291240> ) ( <http://www.wikidata.org/entity/Q7696092> ) ( <http://www.wikidata.org/entity/Q6739267> ) ( <http://www.wikidata.org/entity/Q6739267> ) ( <http://www.wikidata.org/entity/Q7696092> ) ( <http://www.wikidata.org/entity/Q7696092> ) ( <http://www.wikidata.org/entity/Q7696092> ) ( <http://www.wikidata.org/entity/Q7696092> ) ( <http://www.wikidata.org/entity/Q7696092> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5329", "question": "What are all the different types and varieties of bread?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?breadType ?breadTypeLabel WHERE {\n  ?breadType ( wdt:P279 * / wdt:P31 * ) wd:Q7802 .\n  ?breadType rdfs:label ?breadTypeLabel .\n  FILTER ( LANG( ?breadTypeLabel ) = \"en\" )\n}", "paraphrases": ["Can you list all kinds of bread, including subtypes like buns and regional varieties?", "Show me all entities that are either bread or a type of bread in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P279> */ <http://www.wikidata.org/prop/direct/P31> *) <http://www.wikidata.org/entity/Q7802> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5330", "question": "Who are the employees of Telenor?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?employee ?employeeLabel ?employer WHERE {\n  ?employee wdt:P108 wd:Q845632 .\n  BIND(wd:Q845632 AS ?employer)\n  OPTIONAL {\n    ?employee rdfs:label ?employeeLabel .\n    FILTER(LANG(?employeeLabel) = \"en\")\n  }\n}", "paraphrases": ["Can you list the people who work for Telenor, along with their names?", "Which individuals are employed by Telenor ASA, and what are their English-language labels in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q845632> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Undirected\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P108> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P108> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5331", "question": "What are the most common categories that cryptocurrencies belong to, and how many cryptocurrencies are in each category?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?category ?categoryLabel(COUNT(?crypto) AS ?count) WHERE {\n  ?crypto wdt:P31 wd:Q13479982 .\n  ?crypto wdt:P31 ?category .\n  ?category rdfs:label ?categoryLabel .\n  FILTER(LANG(?categoryLabel) = \"en\")\n}\nGROUP BY ?category ?categoryLabel\nORDER BY DESC(?count)\nLIMIT 20", "paraphrases": ["List the top 20 types of cryptocurrencies based on how many individual cryptocurrencies fall under each type, along with their English labels.", "Which classes are most frequently used to classify cryptocurrencies, and how many instances belong to each?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( DISTINCT ?var4 ) AS ?var3 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q13479982> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Undirected\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var5 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P31> . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P31> ?var1 . } } GROUP BY ?var1 } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5332", "question": "What is the English label and description of the person in the Australian Women's Register with ID AWE1231b?", "sparql": "SELECT ?item ?label ?description WHERE { ?item wdt:P4186 \"AWE1231b\" . ?item rdfs:label ?label . FILTER(LANG(?label) = \"en\") . OPTIONAL { ?item schema:description ?description . FILTER(LANG(?description) = \"en\") . } }", "paraphrases": ["Who is Jan Wilson, and what is her professional description according to the Australian Women's Register?", "Can you tell me the English name and brief bio of the individual identified as AWE1231b in the Australian Women's Register?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4186> \"AWE1231b\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5333", "question": "List people and organizations in the Australian Women's Register with their English descriptions.", "sparql": "SELECT ?item ?description WHERE { ?item wdt:P4186 ?id . OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } } LIMIT 5", "paraphrases": ["Who are some individuals listed in the Australian Women's Register, and what are their English descriptions?", "Show me up to five entries from the Australian Women's Register along with their English-language biographical summaries."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4186> \"AWE3206b\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5334", "question": "Railway stations in New York state with Wikipedia pages and images", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?station ?stationLabel ?wikipediaPage(SAMPLE(?image) AS ?sampledImage) WHERE {\n  ?station wdt:P31 wd:Q55488 .\n  ?station wdt:P131 wd:Q1384 .\n  OPTIONAL {\n    ?station wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?wikipediaPage schema:about ?station .\n    ?wikipediaPage schema:isPartOf <https://en.wikipedia.org/> .\n  }\n}\nGROUP BY ?station ?stationLabel ?wikipediaPage", "paraphrases": ["What are the railway stations in New York state, and do they have associated images or Wikipedia articles?", "List railway stations located in New York state, including their English Wikipedia links and any available images."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var3 ) ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q55488> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q1384> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,fr,es,de,ru,it,nl,ja,zh,pl,cs\". } } GROUP BY ?var1 ?var1Label ?var2 ?var4"}}
{"id": "test_5335", "question": "What venues have published work by Alexandre Robicquet, and how many papers did he publish in each, using short names where available?", "sparql": "SELECT ?venue ?venueLabel (COUNT(?work) AS ?count)\nWHERE {\n  ?work wdt:P50 wd:Q38269230 .\n  ?work wdt:P1433 ?venue .\n  ?venue rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL { ?venue wdt:P1813 ?shortName }\n  BIND(COALESCE(?shortName, ?label) AS ?venueLabel)\n}\nGROUP BY ?venue ?venueLabel\nORDER BY DESC(?count)", "paraphrases": ["Which conference or journal has Alexandre Robicquet published in, and how many publications does he have in each, with preference for abbreviated titles?", "List the publication venues of Alexandre Robicquet\u2019s works, showing the count per venue and using abbreviations like \u201cCVPR 2016\u201d instead of full titles when possible, sorted by most frequent first."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q38269230> . ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1813> ?var6 . } BIND ( COALESCE ( ?var6 , ?var5Label ) AS ?var2Label ). } GROUP BY ?var1 ?var2Label ORDER BY DESC( ?var4 )"}}
{"id": "test_5336", "question": "Types of entities that have a \"has part\" relationship and their superclasses.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?type ?superclass WHERE {\n  ?item wdt:P51 ?part .\n  ?item wdt:P31 ?type .\n  ?type wdt:P279 ?superclass .\n}\nLIMIT 10", "paraphrases": ["What types of things can have parts, and what broader categories do those types belong to?", "Show me the categories of items that have parts, along with their parent categories."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/P51> <http://www.wikidata.org/prop/direct/P31> ?var1 . <http://www.wikidata.org/entity/P51> <http://www.wikidata.org/prop/direct/P279> ?var2 . }"}}
{"id": "test_5337", "question": "How many academic papers cited \"Evidence of Complex Contagion of Information in Social Media: An Experiment Using Twitter Bots\" each year?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?year ( COUNT( DISTINCT ?citingWork ) AS ?count ) WHERE {\n  BIND( wd:Q29042620 AS ?targetArticle ) .\n  ?citingWork wdt:P2860 ?targetArticle .\n  ?citingWork wdt:P577 ?publicationDate .\n  BIND( YEAR( ?publicationDate ) AS ?year )\n}\nGROUP BY ?year\nORDER BY DESC ( ?year )", "paraphrases": ["Can you show the number of works that cited this Twitter bot experiment paper, grouped by their publication year?", "In which years were the most papers published that referenced the study on social media contagion using Twitter bots?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q29042620> AS ?var5 ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var5 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var6 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_5338", "question": "Entities and their types (instance of) in Wikidata", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?item ?statement ?value WHERE {\n  ?item p:P31 ?statement .\n  ?statement ps:P31 ?value .\n}\nLIMIT 10", "paraphrases": ["What entities are classified under which types in Wikidata?", "List the items and their class types using the statement structure in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { <http://www.wikidata.org/entity/P31> <http://wikiba.se/ontology#claim> ?var1 . <http://www.wikidata.org/entity/P31> <http://wikiba.se/ontology#statementValue> ?var2 . ?var3 ?var1 ?var4 . } LIMIT 10"}}
{"id": "test_5339", "question": "What film has the elFilm ID 200298?", "sparql": "SELECT ?film WHERE { ?film wdt:P3143 \"200298\" .}", "paraphrases": ["Which movie on Wikidata is identified by the elFilm ID 200298?", "Find the Wikidata item for the film with elFilm ID 200298."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3143> \"200298\". }"}}
{"id": "test_5340", "question": "What Wikidata item corresponds to the IMDb ID tt2566578?", "sparql": "SELECT ?film WHERE { ?film wdt:P345 \"tt2566578\" . }", "paraphrases": ["Which film on Wikidata has the IMDb identifier tt2566578?", "Find the Wikidata entry for the movie with IMDb ID tt2566578."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2566578\". }"}}
{"id": "test_5341", "question": "What is the English title and description of the 2007 film \"Machine\", and does it have an image on Wikimedia Commons?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?label ?description ?image WHERE {\n  OPTIONAL {\n    wd:Q6723628 rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n  OPTIONAL {\n    wd:Q6723628 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q6723628 schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Show me the English name and description of the movie Machine from 2007, along with its official image if available.", "What does the Wikidata entry for the film Machine (2007) say in English, and is there a picture associated with it?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q6723628> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q6723628> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q6723628> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_5342", "question": "What are the most common Arabic-language taxonomic ranks used for fungi in the class Pucciniomycetes on Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?rankLabel(COUNT(?rankLabel) AS ?count) WHERE {\n  ?taxon wdt:P31 wd:Q16521 .\n  ?taxon wdt:P171 * wd:Q132006 .\n  ?taxon wdt:P105 ?rank .\n  ?rank rdfs:label ?rankLabel .\n  FILTER(LANG(?rankLabel) = \"ar\")\n}\nGROUP BY ?rankLabel\nORDER BY DESC(?count)\nLIMIT 100", "paraphrases": ["How many times does each Arabic term for taxonomic rank (like species or genus) appear among taxa descended from Pucciniomycetes?", "Can you list the top Arabic labels for taxonomic ranks in the fungal group Pucciniomycetes, ordered by frequency?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P105> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"ar\" ) ) ) . ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16521> . ?var3 <http://www.wikidata.org/prop/direct/P171> * <http://www.wikidata.org/entity/Q132006> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 100"}}
{"id": "test_5343", "question": "Greek-named people who died in 1998 and their death dates", "sparql": "SELECT ?greekLabel ?deathDate WHERE { ?person wdt:P570 ?deathDate . OPTIONAL { ?person rdfs:label ?greekLabel . FILTER (LANG(?greekLabel) = \"el\") } FILTER (?deathDate >= \"1998-01-01T00:00:00Z\"^^xsd:dateTime && ?deathDate <= \"1998-12-31T23:59:59Z\"^^xsd:dateTime) FILTER (BOUND(?greekLabel)) } ORDER BY ASC(?deathDate)", "paraphrases": ["Who are the people with Greek names that died in 1998, and when did they die?", "List the names of people in Greek and their dates of death for those who died in 1998."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { ?var3 <http://www.wikidata.org/prop/direct/P570> ?var2 . OPTIONAL { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"el\" ) ) ) . } FILTER ( ( ( ?var2 >= \"1998-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1998-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ?var1 ) ) . } ORDER BY ASC( ?var2 )"}}
{"id": "test_5344", "question": "What characters and locations appear in the Harry Potter series?", "sparql": "SELECT ?entity WHERE { ?entity wdt:P1441 wd:Q8337 . }", "paraphrases": ["List all fictional entities featured in the Harry Potter books.", "Which entities are present in the Harry Potter universe according to Wikidata?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/P1441> <http://www.wikidata.org/entity/Q8337> . }"}}
{"id": "test_5345", "question": "Who is Albert Einstein, and what is his occupation and date of birth?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person WHERE {\n  {\n    ?person rdfs:label \"Albert Einstein\" @en .\n  } UNION {\n    ?person rdfs:label \"Albert Einstein\" @fr .\n  } UNION {\n    ?person rdfs:label \"Albert Einstein\" @es .\n  }\n  ?person wdt:P569 ?birthDate .\n  ?person wdt:P106 ?occupation .\n}", "paraphrases": ["Which person named \"Albert Einstein\" in English, French, or Spanish has a recorded birth date and occupation?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"string1\"@en . } UNION { { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"string1\"@fr . } } UNION { { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"string1\"@es . } } ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5346", "question": "Cultural heritage sites in Finland with national or UNESCO designation, including their coordinates and images.", "sparql": "SELECT ?site ?siteLabel ?coord ?image ?commonsCategory WHERE {\n  VALUES ?heritageDesignation {\n    wd:Q29966257  # Cultural Heritage Site of National Significance\n    wd:Q9259      # World Heritage Site\n  }\n  ?site wdt:P1435 ?heritageDesignation .\n  ?site wdt:P17 wd:Q33 .  # Located in Finland\n  ?site wdt:P625 ?coord .\n  \n  OPTIONAL { ?site wdt:P18 ?image . }\n  OPTIONAL { ?site wdt:P373 ?commonsCategory . }\n  \n  ?site rdfs:label ?siteLabel .\n  FILTER(LANG(?siteLabel) = \"en\")\n}\nLIMIT 3000", "paraphrases": ["What are the cultural heritage sites in Finland that are either nationally recognized or UNESCO World Heritage Sites, and what are their locations and images?", "List all cultural heritage sites in Finland that have either the national significance status or are UNESCO World Heritage Sites, along with their geographic coordinates, images, and Wikimedia Commons categories."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(9 58)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(44 65)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } VALUES ( ?var7 ) { ( <http://www.wikidata.org/entity/Q29966257> ) ( <http://www.wikidata.org/entity/Q9259> ) } ?var8 <http://www.wikidata.org/prop/direct/P1435> ?var7 . ?var8 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q33> . ?var1 (( <http://www.wikidata.org/prop/direct/P131> / <http://www.wikidata.org/prop/direct/P279> *)|( <http://www.wikidata.org/prop/direct/P276> / <http://www.wikidata.org/prop/direct/P279> *)|( <http://www.wikidata.org/prop/direct/P361> / <http://www.wikidata.org/prop/direct/P279> *)) ?var8 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_5347", "question": "What is the English name of the person with SBL ID 16842 in the Dictionary of Swedish National Biography?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P3217 \"16842\" . OPTIONAL { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } OPTIONAL { ?item schema:description ?description . FILTER(LANG(?description) = \"en\") } }", "paraphrases": ["Who is listed as entry 16842 in the Dictionary of Swedish National Biography, and what is their English description?", "Find the English label for the individual identified by SBL ID 16842."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3217> \"16842\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5348", "question": "What are the English labels of properties and values associated with the surname \"Addams\", excluding the \"has part\" relationship?", "sparql": "SELECT ?addamsLabel ?property ?propertyLabel ?item ?itemLabel WHERE { wd:Q352821 ?property ?item . ?item rdfs:label ?itemLabel . wd:Q352821 rdfs:label ?addamsLabel . BIND (IRI(REPLACE(STR(?property), \"http://www.wikidata.org/prop/direct/\", \"http://www.wikidata.org/entity/\")) AS ?propertyEntity) . ?propertyEntity rdfs:label ?propertyLabel . FILTER (LANG(?addamsLabel) = \"en\") FILTER (LANG(?propertyLabel) = \"en\") FILTER (LANG(?itemLabel) = \"en\") FILTER (?property != wdt:P1963) } LIMIT 30", "paraphrases": ["Show me how the family name \"Addams\" is classified and related to other terms in English, including the property names and their meanings.", "List all English-language relationships of the surname Addams, showing the property, its label, and the linked entity\u2019s label \u2014 but skip any \"has part\" links."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { <http://www.wikidata.org/entity/Q352821> ?var4 ?var3 . ?var2 ?var5 ?var4 . ?var2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . <http://www.wikidata.org/entity/Q352821> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . FILTER ( ( ( ?var4 != <http://www.wikidata.org/prop/direct/P1963> ) ) ) . } LIMIT 30"}}
{"id": "test_5349", "question": "What are the names of the Angolan footballer Kali in English, German, French, and Italian, along with his Wikipedia page?", "sparql": "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nSELECT ?label ?image ?coordinates ?wikipediaArticle WHERE {\n  OPTIONAL {\n    wd:Q508382 rdfs:label ?label .\n    FILTER ( LANG( ?label ) = ?langCode ) VALUES ( ?langCode ?orderIndex ) {\n      ( \"en\" \"1\" ^^ xsd:integer ) ( \"de\" \"3\" ^^ xsd:integer ) ( \"fr\" \"4\" ^^ xsd:integer ) ( \"it\" \"5\" ^^ xsd:integer )\n    }\n  }\n  OPTIONAL {\n    wd:Q508382 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q508382 wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    ?wikipediaArticle rdf:type schema:Article ; schema:about wd:Q508382 ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n}\nORDER BY ASC ( ?orderIndex )", "paraphrases": ["Can you show me the English, German, French, and Italian labels for the footballer Kali from Wikidata, ordered by language preference, and include his Wikipedia article?", "I want to see the multilingual labels for the Angolan footballer Kali, his image, coordinates, and English Wikipedia link \u2014 can you list them with English first?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q508382> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var5 ) ) ) . VALUES ( ?var5 ?var6 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q508382> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q508382> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q508382> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var6 )"}}
{"id": "test_5350", "question": "What are the names of H\u00e9lder Crist\u00f3v\u00e3o in English, German, French, and Italian, along with his image and Wikipedia link?", "sparql": "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?label ?image ?location ?wikipedia WHERE {\n  VALUES ( ?lang ?order ) {\n    ( \"en\" 1 ) ( \"de\" 2 ) ( \"fr\" 3 ) ( \"it\" 4 )\n  }\n  wd:Q667306 rdfs:label ?label .\n  FILTER ( LANG( ?label ) = ?lang ) OPTIONAL {\n    wd:Q667306 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q667306 wdt:P625 ?location .\n  }\n  OPTIONAL {\n    ?wikipedia rdf:type schema:Article ; schema:about wd:Q667306 ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n}\nORDER BY ?order", "paraphrases": ["Can you show me H\u00e9lder Crist\u00f3v\u00e3o\u2019s multilingual labels, his photo from Commons, and his Wikipedia page?", "For H\u00e9lder Crist\u00f3v\u00e3o, what are his labels in four languages, his image, and the link to his English Wikipedia article?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q667306> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var5 ) ) ) . VALUES ( ?var5 ?var6 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q667306> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q667306> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q667306> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var6 )"}}
{"id": "test_5351", "question": "Who are the people educated at Harvard University?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P69 wd:Q13371 .\n}", "paraphrases": ["Which humans have attended Harvard University as their alma mater?", "Can you list all individuals who studied at Harvard?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q215627> . ?var1 <http://www.wikidata.org/prop/direct/P69> <http://www.wikidata.org/entity/Q13371> . }"}}
{"id": "test_5352", "question": "What is the English name, description, and image of Lincoln, Illinois?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?label ?description ?image WHERE {\n  OPTIONAL {\n    wd:Q568563 rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n  OPTIONAL {\n    wd:Q568563 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q568563 schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Can you show me the picture of Lincoln, Illinois along with its English label and description?", "Tell me about Lincoln, Illinois: what is it called in English, what is its description, and what image represents it?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q568563> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q568563> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q568563> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_5353", "question": "Megaliths in Western Europe with coordinates, images, and Commons categories", "sparql": "SELECT ?megalith ?megalithLabel ?coord ?image ?commonsCat WHERE { ?megalith (wdt:P31/wdt:P279*) wd:Q164240 . ?megalith wdt:P625 ?coord . BIND(STRBEFORE(SUBSTR(STR(?coord), 7), \")\") AS ?coordPair) . BIND(STRBEFORE(?coordPair, \" \") AS ?lonStr) . BIND(STRAFTER(?coordPair, \" \") AS ?latStr) . BIND(xsd:double(?lonStr) AS ?lon) . BIND(xsd:double(?latStr) AS ?lat) . FILTER(?lon >= -8.5 && ?lon <= 7.5 && ?lat >= 38 && ?lat <= 55) . OPTIONAL { ?megalith wdt:P18 ?image . } OPTIONAL { ?megalith wdt:P373 ?commonsCat . } } LIMIT 3000", "paraphrases": ["What are the megaliths located between longitude -8.5 and 7.5 and latitude 38 and 55, and do they have images or Wikimedia Commons categories?", "List megaliths in the region covering Portugal, Spain, France, and Ireland, including their locations, images, and associated Wikimedia Commons categories."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(-8 39)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(7 54)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q164240> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_5354", "question": "WikiPathways IDs of biological pathways in humans", "sparql": "SELECT ?pathway ?pathwayId WHERE { ?pathway wdt:P31 wd:Q4915012 ; wdt:P2410 ?pathwayId ; wdt:P703 wd:Q15978631 . }", "paraphrases": ["Which WikiPathways pathways are associated with Homo sapiens?", "List all biological pathways linked to humans and their WikiPathways identifiers."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://identifiers.org/wikipathways/WP3825_r88113> <http://www.wikidata.org/prop/direct/P2410> ?var1 ; <http://www.wikidata.org/prop/direct/P703> <http://www.wikidata.org/entity/Q15978631> . }"}}
{"id": "test_5355", "question": "Musical groups and their countries of origin", "sparql": "SELECT ?group ?country WHERE { ?group wdt:P31 wd:Q215380 . OPTIONAL { ?group wdt:P495 ?country . } } LIMIT 100", "paraphrases": ["Which musical groups are from which countries?", "List musical groups along with the countries they originate from."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var3Label ?var2Label ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q215380> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P495> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P175> ?var3 . } } LIMIT 500"}}
{"id": "test_5356", "question": "Who is the Swedish person with SBL ID 7756, and what is their profession?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?label ?description WHERE {\n  ?person wdt:P3217 \"7756\" .\n  OPTIONAL {\n    ?person rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n  OPTIONAL {\n    ?person schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["What is the name and English description of the individual listed as entry 7756 in the Dictionary of Swedish National Biography?", "Show me the English label and description of the person identified by SBL ID 7756 in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3217> \"7756\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5357", "question": "When did Thomas Klestil marry Edith Klestil, and when did their marriage end?", "sparql": "SELECT ?start ?end WHERE { wd:Q78490 p:P26 ?statement . ?statement ps:P26 wd:Q86115 . OPTIONAL { ?statement pq:P580 ?start } . OPTIONAL { ?statement pq:P582 ?end } }", "paraphrases": ["What are the start and end dates of the marriage between Thomas Klestil and Edith Klestil?", "Can you tell me the duration of Thomas Klestil\u2019s marriage to Edith Klestil?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q78490> <http://www.wikidata.org/entity/P26> ?var3 . <http://www.wikidata.org/entity/Q86115> <http://www.wikidata.org/entity/P26> ?var4 . OPTIONAL { ?var3 <http://www.wikidata.org/prop/qualifier/P580> ?var1 . ?var4 <http://www.wikidata.org/prop/qualifier/P580> ?var1 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/qualifier/P582> ?var2 . ?var4 <http://www.wikidata.org/prop/qualifier/P582> ?var2 . } }"}}
{"id": "test_5358", "question": "What are the heritage sites in Ireland with Wiki Loves Monuments IDs or heritage designations, along with their images and locations?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?item ?itemLabel ?admin ?adminLabel ?image ?coord WHERE {\n  ?item wdt:P17 wd:Q27 .\n  {\n    ?item p:P1435 ?h .\n  } UNION {\n    ?item p:P2186 ?h .\n  }\n  ?item wdt:P625 ?coord .\n  OPTIONAL {\n    ?item wdt:P131 ?admin .\n  }\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER ( LANG( ?itemLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?admin rdfs:label ?adminLabel .\n    FILTER ( LANG( ?adminLabel ) = \"en\" )\n  }\n}\nLIMIT 10", "paraphrases": ["Show me cultural heritage monuments in Ireland, including their names, administrative regions, images, and coordinates.", "List monuments in Ireland that are part of the Wiki Loves Monuments project or have a heritage designation, with their associated details."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var5 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerWest> \"POINT(-9 52)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerEast> \"POINT(-9 53)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } { ?var1 <http://www.wikidata.org/prop/P1435> ?var6 . } UNION { ?var1 <http://www.wikidata.org/prop/P2186> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_5359", "question": "US Navy fleet submarines with their pennant numbers, vessel classes, and namesakes.", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?submarine ?submarineLabel ?pennantNumber ?vesselClassLabel ?namedAfterLabel WHERE {\n  ?submarine wdt:P31 wd:Q5458453 .\n  ?submarine wdt:P137 wd:Q11220 .\n  OPTIONAL {\n    ?submarine p:P879 ?pennantStatement .\n    ?pennantStatement ps:P879 ?pennantNumber .\n  }\n  OPTIONAL {\n    ?submarine wdt:P289 ?vesselClass .\n    ?vesselClass rdfs:label ?vesselClassLabel .\n    FILTER ( LANG( ?vesselClassLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?submarine wdt:P138 ?namedAfter .\n    ?namedAfter rdfs:label ?namedAfterLabel .\n    FILTER ( LANG( ?namedAfterLabel ) = \"en\" )\n  }\n  ?submarine rdfs:label ?submarineLabel .\n  FILTER ( LANG( ?submarineLabel ) = \"en\" )\n}\nORDER BY ASC ( ?submarine )\nLIMIT 150", "paraphrases": ["Which fleet submarines were operated by the United States Navy, and what are their pennant numbers, vessel classes, and who or what they were named after?", "List all US Navy fleet submarines, including their official names, hull numbers, classes, and the people or animals they were named after."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4Label ?var5Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5458453> . ?var1 <http://www.wikidata.org/prop/direct/P137> <http://www.wikidata.org/entity/Q11220> . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/P879> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P879> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P289> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P138> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,de\". } } ORDER BY ASC( ?var7 ) LIMIT 150"}}
{"id": "test_5360", "question": "What are the capital cities of countries around the world, and what are their population, head of government, twin cities, and other key attributes?", "sparql": "SELECT ?continent ?continentLabel ?country ?countryLabel ?capital ?capitalLabel ?capital_image ?property ?property_value ?propertyLabel WHERE { ?continent wdt:P31 wd:Q5107 . ?country wdt:P30 ?continent ; wdt:P31 wd:Q6256 ; wdt:P36 ?capital . ?capital wdt:P31 wd:Q515 . OPTIONAL { ?capital wdt:P18 ?capital_image . } VALUES ?property { wdt:P1082 wdt:P6 wdt:P190 wdt:P31 wdt:P571 wdt:P150 wdt:P206 wdt:P527 } ?capital ?property ?property_value . OPTIONAL { ?continent rdfs:label ?continentLabel . FILTER(LANG(?continentLabel) = \"en\") } OPTIONAL { ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") } OPTIONAL { ?capital rdfs:label ?capitalLabel . FILTER(LANG(?capitalLabel) = \"en\") } OPTIONAL { ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") } } LIMIT 100", "paraphrases": ["Show me the capitals of countries grouped by continent, including their images and properties like population, founding date, and sister cities.", "List countries and their capitals by continent, and display additional facts about each capital such as population, image, and administrative relationships."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label ?var5 ?var6 ?var6Label ?var7 ?var7Label WHERE { { SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5107> . ?var2 <http://www.wikidata.org/prop/direct/P30> ?var1 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var2 <http://www.wikidata.org/prop/direct/P150> ?var3 . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P36> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . ?var4 <http://www.wikidata.org/prop/direct/P18> ?var5 . OPTIONAL { VALUES ( ?var8 ) { ( <http://www.wikidata.org/prop/direct/P1082> ) ( <http://www.wikidata.org/prop/direct/P6> ) ( <http://www.wikidata.org/prop/direct/P190> ) ( <http://www.wikidata.org/prop/direct/P31> ) ( <http://www.wikidata.org/prop/direct/P571> ) ( <http://www.wikidata.org/prop/direct/P150> ) ( <http://www.wikidata.org/prop/direct/P206> ) ( <http://www.wikidata.org/prop/direct/P527> ) } ?var4 ?var8 ?var7 . ?var6 ?var9 ?var8 . ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } } } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 100"}}
{"id": "test_5361", "question": "What are the developer, image, logo, file extensions, and official website of HTML5?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?html5Label ?developer ?image ?logo ?extension ?website WHERE {\n  wd:Q2053 rdfs:label ?html5Label .\n  OPTIONAL {\n    wd:Q2053 wdt:P178 ?developer .\n  }\n  OPTIONAL {\n    wd:Q2053 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q2053 wdt:P154 ?logo .\n  }\n  OPTIONAL {\n    wd:Q2053 wdt:P1195 ?extension .\n  }\n  OPTIONAL {\n    wd:Q2053 wdt:P856 ?website .\n  }\n  FILTER ( LANG( ?html5Label ) = \"en\" )\n}", "paraphrases": ["Who developed HTML5, and what are its official logo, image, file extensions, and website?", "Please provide the developer, logo, image, file extensions (like .html and .htm), and official website for the HTML5 specification."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q2053> <http://www.wikidata.org/prop/direct/P178> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q2053> <http://www.wikidata.org/prop/direct/P18> ?var4 . } OPTIONAL { <http://www.wikidata.org/entity/Q2053> <http://www.wikidata.org/prop/direct/P154> ?var5 . } OPTIONAL { <http://www.wikidata.org/entity/Q2053> <http://www.wikidata.org/prop/direct/P1195> ?var6 . } OPTIONAL { <http://www.wikidata.org/entity/Q2053> <http://www.wikidata.org/prop/direct/P856> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da\". <http://www.wikidata.org/entity/Q2053> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . <http://www.wikidata.org/entity/Q2053> <http://schema.org/description> ?var2 . } }"}}
{"id": "test_5362", "question": "What is the image of the person with SNAC ARK ID w64j0f6n?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w64j0f6n\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Image for Joseph C. O'Mahoney based on SNAC ARK ID w64j0f6n.", "Show me the Wikimedia Commons image linked to the SNAC ARK ID w64j0f6n."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6gx5b3v\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5363", "question": "What are the coordinates and English description of the village Landbeach in the United Kingdom?", "sparql": "SELECT ?place ?placeLabel ?description ?coordinates WHERE { wd:Q2397165 wdt:P31/wdt:P279* wd:Q486972 . wd:Q2397165 wdt:P131+ wd:Q145 . OPTIONAL { wd:Q2397165 schema:description ?description . FILTER(LANG(?description) = \"en\") } wd:Q2397165 wdt:P625 ?coordinates . wd:Q2397165 rdfs:label ?placeLabel . FILTER(LANG(?placeLabel) = \"en\") }", "paraphrases": ["Tell me about Landbeach: where is it located, what is it called in English, and what is its description?", "Is Landbeach a human settlement in the UK, and if so, what are its coordinates and English description?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q2397165> ) } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q486972> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> * ?var4 . } FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q145> ) ) ) . OPTIONAL { ?var1 <http://schema.org/description> ?var2 . } FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . }"}}
{"id": "test_5364", "question": "Coordinates of Cardiff Road Lodge at Belle Vue Park and its administrative area (Newport).", "sparql": "SELECT ?gatehouseCoordinates ?administrativeAreaCoordinates WHERE { wd:Q29500283 wdt:P625 ?gatehouseCoordinates . OPTIONAL { wd:Q29500283 wdt:P131 ?administrativeArea . ?administrativeArea wdt:P625 ?administrativeAreaCoordinates . } }", "paraphrases": ["What are the geographic coordinates of the Cardiff Road Lodge at Belle Vue Park, and where is the administrative area it belongs to located?", "Please provide the GPS coordinates of the Cardiff Road Lodge at Belle Vue Park and the coordinates of the city it is located in."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q29500283> <http://www.wikidata.org/prop/direct/P625> ?var1 . OPTIONAL { <http://www.wikidata.org/entity/Q29500283> <http://www.wikidata.org/prop/direct/P131> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var2 . } }"}}
{"id": "test_5365", "question": "Australian Women\u2019s Register ID AWE3763b, label and description in English", "sparql": "SELECT ?person ?personLabel ?description WHERE { ?person wdt:P4186 \"AWE3763b\" . OPTIONAL { ?person rdfs:label ?personLabel . FILTER (LANG(?personLabel) = \"en\") } OPTIONAL { ?person schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Who is the person with Australian Women\u2019s Register ID AWE3763b, and what is their English description?", "Show me the name and English description of the woman listed in the Australian Women\u2019s Register with ID AWE3763b."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4186> \"AWE3763b\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5366", "question": "What is the Arabic label of a taxon that has a description in another language?", "sparql": "SELECT ?label ?description ?lang WHERE { ?taxon wdt:P105 ?rank . ?taxon rdfs:label ?label . ?taxon schema:description ?description . FILTER (LANG(?label) = \"ar\") BIND(LANG(?description) AS ?lang) } LIMIT 1", "paraphrases": ["Show me an insect family (taxon) with an Arabic name and its description language.", "Can you find a taxonomic rank entity with an Arabic label and tell me what language its description is in?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { BIND ( LANG ( ?var3 ) AS ?var4 ). ?var2 <http://schema.org/description> ?var3 . ?var2 <http://www.wikidata.org/prop/direct/P105> ?var5 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"ar\" ) ) ) . } LIMIT 1"}}
{"id": "test_5367", "question": "Humans with DNB edition IDs and their GND IDs", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel ?dnbId ?gndId WHERE {\n  ?person wdt:P1292 ?dnbId .\n  ?person wdt:P31 wd:Q5 .\n  OPTIONAL {\n    ?person wdt:P227 ?gndId .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}\nLIMIT 500", "paraphrases": ["Which humans have a DNB edition ID, and what are their GND IDs if available?", "Show me the names of people who have a DNB edition ID, along with their GND IDs if they have one."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1292> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P227> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } } LIMIT 500"}}
{"id": "test_5368", "question": "Authors of works about citation with multiple contributors", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?author1 ?author1Label ?author2 ?author2Label WHERE {\n  ?work wdt:P921 wd:Q1713 .\n  ?work wdt:P50 ?author1 .\n  ?work wdt:P50 ?author2 .\n  FILTER(?author1 != ?author2)\n  .\n  ?author1 rdfs:label ?author1Label .\n  ?author2 rdfs:label ?author2Label .\n  FILTER(lang(?author1Label) = \"en\")\n  .\n  FILTER(lang(?author2Label) = \"en\")\n}\nLIMIT 10", "paraphrases": ["Who are two different authors of scholarly works whose main subject is citation?", "List pairs of different authors who co-authored works on citation."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q28843308> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P361> +) <http://www.wikidata.org/entity/Q28843308> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P1269> +) <http://www.wikidata.org/entity/Q28843308> . } ?var3 <http://www.wikidata.org/prop/direct/P50> ?var1 . ?var3 <http://www.wikidata.org/prop/direct/P50> ?var2 . FILTER ( ( ( ?var1 != ?var2 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_5369", "question": "What entities and properties are linked to cabbage in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subject ?property WHERE {\n  ?subject ?property wd:Q14328596 .\n}", "paraphrases": ["Which items mention cabbage as their object, and how are they connected?", "Can you show me all the relationships where cabbage is the target?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q14328596> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_5370", "question": "What is the English label and Wikipedia pages for Booking.com?", "sparql": "SELECT ?companyLabel ?wikipediaPage WHERE { wd:Q4035313 rdfs:label ?companyLabel . FILTER (lang(?companyLabel) = \"en\") ?wikipediaPage schema:about wd:Q4035313 . FILTER (STRSTARTS(STR(?wikipediaPage), \"https://en.wikipedia.org/\") || STRSTARTS(STR(?wikipediaPage), \"https://de.wikipedia.org/\")) }", "paraphrases": ["Show me the English name of Booking.com and its German and English Wikipedia links.", "Can you find the official website of Booking.com and return its English label along with its Wikipedia pages in English or German?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.holidaytaxis.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.holidaytaxis.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.holidaytaxis.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.holidaytaxis.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.holidaytaxis.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.holidaytaxis.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.holidaytaxis.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://holidaytaxis.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://holidaytaxis.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://holidaytaxis.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://holidaytaxis.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5371", "question": "German-language Wikipedia pages for entities with official websites", "sparql": "SELECT ?item ?itemLabel ?website ?wikipedia WHERE { ?item wdt:P856 ?website . ?wikipedia schema:about ?item ; schema:inLanguage \"de\" . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"de\") } LIMIT 10", "paraphrases": ["Which German entities have both an official website and a German Wikipedia page?", "Show me German-labeled organizations or topics that have an official website and a corresponding German Wikipedia article."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.mietwagen.info/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.mietwagen.info/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.mietwagen.info/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.mietwagen.info/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.mietwagen.info/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.mietwagen.info> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.mietwagen.info> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://mietwagen.info> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://mietwagen.info> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://mietwagen.info/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://mietwagen.info/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5372", "question": "What is the Wikidata item for the movie with IMDb ID tt0219977?", "sparql": "SELECT ?movie WHERE { ?movie wdt:P345 \"tt0219977\" .}", "paraphrases": ["Which movie on Wikidata has the IMDb identifier tt0219977?", "Find the Wikidata entry for the film identified by tt0219977 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0219977\". }"}}
{"id": "test_5373", "question": "What are the taxonomic ranks above species in biological classification?", "sparql": "SELECT ?rank ?rankLabel WHERE { VALUES ?rank { wd:Q34740 wd:Q35409 wd:Q36602 wd:Q37517 wd:Q38348 wd:Q36732 wd:Q146481 } . ?rank rdfs:label ?rankLabel . FILTER(LANG(?rankLabel) = \"en\") } ORDER BY ?rankLabel", "paraphrases": ["List the main biological classification ranks higher than species, such as genus and family.", "Which taxonomic levels are more general than species in the hierarchy of life?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P151> * <http://www.wikidata.org/entity/Q7432> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ar,ar\". } } LIMIT 10000"}}
{"id": "test_5374", "question": "People with given names that are disambiguation pages on Wikidata, along with their English names and native names.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person(SAMPLE(?personLabel) AS ?personLabelEn) ?givenName(SAMPLE(?givenNameLabel) AS ?givenNameLabelEn) ?nativeName WHERE {\n  ?person wdt:P735 ?givenName .\n  ?givenName wdt:P31 wd:Q4167410 .\n  ?person rdfs:label ?personLabel .\n  ?givenName rdfs:label ?givenNameLabel .\n  OPTIONAL {\n    ?person wdt:P1559 ?nativeName .\n  }\n  FILTER(LANG(?personLabel) = \"en\")\n  FILTER(LANG(?givenNameLabel) = \"en\")\n}\nGROUP BY ?person ?givenName ?nativeName", "paraphrases": ["Which people have first names that are also disambiguation pages on Wikipedia, and what are their English and native names?", "Show me a list of people whose first names are disambiguation pages, including their English names and any native names they have."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167410> ; <http://www.wikidata.org/prop/direct/P1889> ?var5 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1559> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5375", "question": "What is the English description and geographic coordinates of Ramsgate, Kent, a human settlement in the United Kingdom?", "sparql": "SELECT DISTINCT ?item ?itemLabel ?description ?coord WHERE { VALUES ?item { wd:Q736439 } ?item (wdt:P31/wdt:P279*) wd:Q486972 . FILTER EXISTS { ?item wdt:P131+ wd:Q145 . } OPTIONAL { ?item schema:description ?description . FILTER(LANG(?description) = \"en\") } ?item wdt:P625 ?coord .}", "paraphrases": ["Ramsgate, UK: English description and coordinates of this human settlement", "Show me the English description and location coordinates for Ramsgate, Kent, which is a human settlement in the United Kingdom."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q736439> ) ( <http://www.wikidata.org/entity/Q7290261> ) ( <http://www.wikidata.org/entity/Q7290262> ) ( <http://www.wikidata.org/entity/Q18555798> ) ( <http://www.wikidata.org/entity/Q2380586> ) ( <http://www.wikidata.org/entity/Q7290266> ) ( <http://www.wikidata.org/entity/Q21971465> ) ( <http://www.wikidata.org/entity/Q24677898> ) ( <http://www.wikidata.org/entity/Q1897319> ) ( <http://www.wikidata.org/entity/Q7290259> ) ( <http://www.wikidata.org/entity/Q7231245> ) ( <http://www.wikidata.org/entity/Q7290260> ) ( <http://www.wikidata.org/entity/Q30114295> ) ( <http://www.wikidata.org/entity/Q28404826> ) ( <http://www.wikidata.org/entity/Q26552922> ) ( <http://www.wikidata.org/entity/Q7290265> ) ( <http://www.wikidata.org/entity/Q26640082> ) ( <http://www.wikidata.org/entity/Q28026341> ) ( <http://www.wikidata.org/entity/Q18161946> ) ( <http://www.wikidata.org/entity/Q28541944> ) ( <http://www.wikidata.org/entity/Q26375562> ) ( <http://www.wikidata.org/entity/Q7290269> ) ( <http://www.wikidata.org/entity/Q26375708> ) ( <http://www.wikidata.org/entity/Q18393405> ) ( <http://www.wikidata.org/entity/Q7290264> ) ( <http://www.wikidata.org/entity/Q7290267> ) ( <http://www.wikidata.org/entity/Q7290268> ) ( <http://www.wikidata.org/entity/Q7290270> ) } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q486972> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> * ?var4 . } FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q145> ) ) ) . OPTIONAL { ?var1 <http://schema.org/description> ?var2 . } FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . }"}}
{"id": "test_5376", "question": "What are the entities linked to Heidelberg via properties, excluding \"has part\", and what are their English labels?", "sparql": "SELECT ?heidelbergLabel ?property ?object ?objectLabel WHERE { wd:Q2966 ?property ?object . FILTER (isIRI(?object)) . ?object skos:prefLabel ?objectLabel . wd:Q2966 skos:prefLabel ?heidelbergLabel . FILTER (LANG(?objectLabel) = \"en\") . FILTER (LANG(?heidelbergLabel) = \"en\") . FILTER (?property != wdt:P1963) . } LIMIT 3", "paraphrases": ["Show me the English-labeled objects connected to Heidelberg and the properties used, but not the \"has part\" property.", "List the English labels of things associated with Heidelberg and the properties that connect them, excluding property P1963."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { <http://www.wikidata.org/entity/Q2966> ?var4 ?var3 . ?var2 ?var5 ?var4 . ?var2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . <http://www.wikidata.org/entity/Q2966> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . FILTER ( ( ( ?var4 != <http://www.wikidata.org/prop/direct/P1963> ) ) ) . } LIMIT 3"}}
{"id": "test_5377", "question": "Twin cities of Amsterdam and their qualifiers", "sparql": "SELECT ?twinCity ?statement (SAMPLE(?qualifierProp) AS ?qualifier) WHERE { ?statement ps:P190 wd:Q727 . ?twinCity p:P190 ?statement . OPTIONAL { ?statement ?qualifierProp ?qualifierValue . ?qualifierNode wikibase:qualifier ?qualifierProp . } } GROUP BY ?twinCity ?statement", "paraphrases": ["Which cities are twinned with Amsterdam, and what qualifiers are associated with those relationships?", "List the cities that have a twin city relationship with Amsterdam, along with any additional details like when the relationship started."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P190> <http://www.wikidata.org/entity/Q727> . ?var1 <http://www.wikidata.org/prop/P190> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_5378", "question": "Wikimedia Commons categories that include Amsterdam as a combined topic", "sparql": "SELECT ?category ?statement (SAMPLE(?qualifierProperty) AS ?qualifier) WHERE { { SELECT DISTINCT ?category ?statement WHERE { ?statement ps:P971 wd:Q727 . ?category p:P971 ?statement . } } OPTIONAL { ?statement ?qualifierProperty ?value . ?qualifierProperty wikibase:qualifier true . } } GROUP BY ?category ?statement", "paraphrases": ["What Wikimedia Commons categories combine Amsterdam with other topics?", "List all categories on Wikimedia Commons that are linked to Amsterdam using the \"category combines topics\" property."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P971> <http://www.wikidata.org/entity/Q727> . ?var1 <http://www.wikidata.org/prop/P971> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_5379", "question": "Human settlements in the United Kingdom with coordinates and English descriptions.", "sparql": "SELECT DISTINCT ?settlement ?settlementLabel ?description ?coordinates WHERE { ?settlement (wdt:P31/wdt:P279*) wd:Q486972 . ?settlement wdt:P131* wd:Q145 . OPTIONAL { ?settlement schema:description ?description . FILTER(LANG(?description) = \"en\") } ?settlement wdt:P625 ?coordinates . ?settlement rdfs:label ?settlementLabel . FILTER(LANG(?settlementLabel) = \"en\") }", "paraphrases": ["What are the human settlements in the United Kingdom that have geographic coordinates and an English description?", "List all human settlements in the UK along with their English names, descriptions, and geographic coordinates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q1147435> ) ( <http://www.wikidata.org/entity/Q354494> ) ( <http://www.wikidata.org/entity/Q2344932> ) ( <http://www.wikidata.org/entity/Q22358578> ) ( <http://www.wikidata.org/entity/Q22358552> ) ( <http://www.wikidata.org/entity/Q31465721> ) ( <http://www.wikidata.org/entity/Q31705541> ) ( <http://www.wikidata.org/entity/Q37572668> ) ( <http://www.wikidata.org/entity/Q25385> ) ( <http://www.wikidata.org/entity/Q20849921> ) ( <http://www.wikidata.org/entity/Q12651728> ) ( <http://www.wikidata.org/entity/Q363034> ) ( <http://www.wikidata.org/entity/Q12962399> ) ( <http://www.wikidata.org/entity/Q12723091> ) ( <http://www.wikidata.org/entity/Q22169460> ) ( <http://www.wikidata.org/entity/Q28657083> ) ( <http://www.wikidata.org/entity/Q1017867> ) ( <http://www.wikidata.org/entity/Q16277211> ) ( <http://www.wikidata.org/entity/Q29535853> ) ( <http://www.wikidata.org/entity/Q1017875> ) ( <http://www.wikidata.org/entity/Q22169480> ) ( <http://www.wikidata.org/entity/Q1017871> ) ( <http://www.wikidata.org/entity/Q18616978> ) ( <http://www.wikidata.org/entity/Q1017884> ) ( <http://www.wikidata.org/entity/Q1017882> ) ( <http://www.wikidata.org/entity/Q21618653> ) ( <http://www.wikidata.org/entity/Q17622378> ) ( <http://www.wikidata.org/entity/Q21618654> ) ( <http://www.wikidata.org/entity/Q26407> ) ( <http://www.wikidata.org/entity/Q30023276> ) ( <http://www.wikidata.org/entity/Q233684> ) ( <http://www.wikidata.org/entity/Q235152> ) ( <http://www.wikidata.org/entity/Q457471> ) ( <http://www.wikidata.org/entity/Q852194> ) ( <http://www.wikidata.org/entity/Q1260070> ) ( <http://www.wikidata.org/entity/Q833963> ) ( <http://www.wikidata.org/entity/Q151335> ) ( <http://www.wikidata.org/entity/Q840141> ) ( <http://www.wikidata.org/entity/Q754889> ) ( <http://www.wikidata.org/entity/Q997503> ) ( <http://www.wikidata.org/entity/Q1273226> ) ( <http://www.wikidata.org/entity/Q600791> ) ( <http://www.wikidata.org/entity/Q586194> ) ( <http://www.wikidata.org/entity/Q1270261> ) ( <http://www.wikidata.org/entity/Q780340> ) ( <http://www.wikidata.org/entity/Q1272859> ) ( <http://www.wikidata.org/entity/Q282079> ) ( <http://www.wikidata.org/entity/Q1052043> ) ( <http://www.wikidata.org/entity/Q1266370> ) ( <http://www.wikidata.org/entity/Q1275471> ) } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q486972> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> * ?var4 . } FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q145> ) ) ) . OPTIONAL { ?var1 <http://schema.org/description> ?var2 . } FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . }"}}
{"id": "test_5380", "question": "Dutch labels of properties and objects associated with Sylt", "sparql": "SELECT ?propertyLabel ?objectLabel ?object ?property WHERE { wd:Q3107 ?property ?object . BIND (IRI(REPLACE(STR(?property), \"http://www.wikidata.org/prop/direct/\", \"http://www.wikidata.org/entity/\")) AS ?propertyItem) . ?propertyItem rdfs:label ?propertyLabel . FILTER (LANG(?propertyLabel) = \"nl\") OPTIONAL { ?object rdfs:label ?objectLabel . FILTER (LANG(?objectLabel) = \"nl\") } FILTER (isLiteral(?object) || BOUND(?objectLabel)) } LIMIT 100", "paraphrases": ["What are the Dutch labels of properties and their corresponding objects connected to the island of Sylt?", "Show me all properties of Sylt in Dutch, along with their Dutch-labeled objects or literal values."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { { <http://www.wikidata.org/entity/Q3107> ?var4 ?var3 . ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"nl\" ) ) ) . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"nl\" ) ) ) . } UNION { <http://www.wikidata.org/entity/Q3107> ?var4 ?var2 . ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . FILTER ( ( isLITERAL ( ?var2 ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"nl\" ) ) ) . } } LIMIT 100"}}
{"id": "test_5381", "question": "Who are the fathers of Ivar Broman?", "sparql": "SELECT ?child ?statement ?property (SAMPLE(?qualifierValue) AS ?qualifier) WHERE { ?statement ?prop wd:Q588731 . ?child ?claim ?statement . ?property wikibase:statementProperty ?prop . ?property wikibase:claim ?claim . FILTER (?property != wd:P31) OPTIONAL { ?statement ?qualifierProperty ?qualifierValue . ?property wikibase:qualifier ?qualifierProperty . } } GROUP BY ?child ?statement ?property", "paraphrases": ["What are the statements linking Ivar Broman to his fathers, and are there any qualifiers on those relationships?", "List the individuals who are recorded as the father of the Swedish embryologist Ivar Broman, along with any additional details provided in the statements."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q588731> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_5382", "question": "Which museum holds works from Williams International?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?collection ?collectionLabel WHERE {\n  wd:Q2032942 wdt:P6379 ?collection .\n  ?collection schema:name ?collectionLabel .\n  FILTER ( LANG( ?collectionLabel ) = \"en\" )\n}\nLIMIT 500", "paraphrases": ["What collections contain items owned by Williams International?", "Does Williams International have any other collections besides Museum Boijmans Van Beuningen?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var3 <http://www.wikidata.org/prop/direct/P195> <http://www.wikidata.org/entity/Q679527> . ?var3 <http://www.wikidata.org/prop/direct/P170> <http://www.wikidata.org/entity/Q2032942> . ?var3 <http://www.wikidata.org/prop/direct/P170> ?var1 . ?var4 <http://www.wikidata.org/prop/direct/P170> ?var1 . MINUS { ?var4 <http://www.wikidata.org/prop/direct/P195> <http://www.wikidata.org/entity/Q679527> . } ?var4 <http://www.wikidata.org/prop/direct/P195> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,en\". } } LIMIT 500"}}
{"id": "test_5383", "question": "Who are some people and their mothers, listed with their English names?", "sparql": "SELECT ?child ?childLabel ?mother ?motherLabel WHERE { ?child wdt:P25 ?mother . ?child rdfs:label ?childLabel . FILTER(LANG(?childLabel) = \"en\") . ?mother rdfs:label ?motherLabel . FILTER(LANG(?motherLabel) = \"en\") }", "paraphrases": ["Can you list children along with their mothers' names in English?", "What are the English labels of people and their biological mothers in Wikidata?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/entity/Q35332> ?var2 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P25> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . }"}}
{"id": "test_5384", "question": "How many humans in Wikidata have an associated image?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT(COUNT(?human) AS ?count) WHERE {\n  ?human wdt:P18 ?image .\n  ?human wdt:P31 wd:Q5 .\n}", "paraphrases": ["What is the number of human beings in Wikidata that are depicted with an image on Wikimedia Commons?", "Count the number of humans in Wikidata that have at least one image linked to them."], "info": {"raw_sparql": "SELECT DISTINCT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5385", "question": "What external ontology classes are equivalent to the type \"human\" as applied to Barack Obama?", "sparql": "SELECT ?instanceType ?equivalentClass WHERE { wd:Q76 wdt:P31 ?instanceType . ?instanceType wdt:P1709 ?equivalentClass . }", "paraphrases": ["Which classes from external ontologies like Schema.org or FOAF are considered equivalent to the class \"human\" that Barack Obama is an instance of?", "Show me the equivalent classes in external knowledge bases (like Schema.org or FOAF) for the type \"human\" associated with Barack Obama."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { BIND ( <http://www.wikidata.org/entity/Q76> AS ?var1 ). ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P1709> ) ?var2 . }"}}
{"id": "test_5386", "question": "Properties linking multiple items to the Boehncke disambiguation page on Wikidata.", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q19835584 . } GROUP BY ?property HAVING (COUNT(?item) > 1) ORDER BY DESC(?count)", "paraphrases": ["Which properties are used to connect more than one Wikipedia page to the Wikidata item for \"Boehncke\"?", "Show me the properties that link more than one resource to the disambiguation page for \"Boehncke\", sorted by how often they are used."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q19835584> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_5387", "question": "What are the types (instance-of classes) of the Mar\u00eda Elena commune and the Mar\u00eda Elena Solar Power Plant?", "sparql": "SELECT ?item ?instance ?itemLabel ?instanceLabel WHERE {  VALUES ?item { wd:Q16923 wd:Q15249886 }  ?item (p:P31/ps:P31) ?instance .  OPTIONAL { ?item rdfs:label ?itemLabel FILTER(LANG(?itemLabel) = \"en\") }  OPTIONAL { ?instance rdfs:label ?instanceLabel FILTER(LANG(?instanceLabel) = \"en\") } }", "paraphrases": ["Is Mar\u00eda Elena a town or a commune, and what type of facility is the Mar\u00eda Elena Solar Power Plant?", "Can you tell me what categories the Mar\u00eda Elena town and its solar power plant belong to?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label ?var2Label WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q16923> ) ( <http://www.wikidata.org/entity/Q15249886> ) } ?var1 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/statement/P31> ) ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,ru,de,es\". } }"}}
{"id": "test_5388", "question": "Who were the members of the 11th Riigikogu, and in which election were they elected?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?person ?personLabel ?election ?electionLabel WHERE {\n  ?person p:P39 [ ps:P39 wd:Q21100241 ; pq:P2937 wd:Q3352921 ; pq:P2715 ?election ] .\n  ?person rdfs:label ?personLabel .\n  ?election rdfs:label ?electionLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n  FILTER(LANG(?electionLabel) = \"en\")\n}", "paraphrases": ["List the people who served in the 2007\u20132011 Estonian Parliament and the election that brought them into office.", "Which election elected Ivi Eenmaa to the Riigikogu during the 11th legislative term?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { BIND ( <http://www.wikidata.org/entity/Q3352921> AS ?var3 ). ?var1 <http://www.wikidata.org/prop/P39> [ <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q21100241> ; <http://www.wikidata.org/prop/qualifier/P2937> ?var3 ; <http://www.wikidata.org/prop/qualifier/P2715> ?var2 ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5389", "question": "DNB edition ID, author's name, GND ID, and date of birth for books and works", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?work ?workTitle ?creatorLabel ?creatorGND ?dateOfBirth ?dnbId WHERE {\n  ?work wdt:P1292 ?dnbId .\n  ?work wdt:P50 ?creator .\n  OPTIONAL {\n    ?creator wdt:P227 ?creatorGND .\n  }\n  OPTIONAL {\n    ?creator wdt:P569 ?dateOfBirth .\n  }\n  ?work wdt:P1476 ?workTitle .\n  ?creator rdfs:label ?creatorLabel .\n  FILTER ( LANG( ?creatorLabel ) = \"en\" )\n}\nLIMIT 500", "paraphrases": ["Which works have a DNB edition ID, and who are their authors, along with the authors' birth dates and GND IDs?", "List works with their DNB IDs and the names, birth dates, and GND identifiers of their authors."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1292> ?var5 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P227> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } } LIMIT 500"}}
{"id": "test_5390", "question": "What types of administrative divisions contain communes in France?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?administrativeType ?administrativeTypeLabel WHERE {\n  ?commune wdt:P31 wd:Q484170 ; wdt:P131 ?administrativeEntity .\n  ?administrativeEntity wdt:P31 ?administrativeType .\n  ?administrativeType rdfs:label ?administrativeTypeLabel .\n  FILTER(LANG(?administrativeTypeLabel) = \"en\")\n}", "paraphrases": ["What kinds of entities are communes in France located within, according to Wikidata?", "List the different kinds of administrative entities (like districts or regions) that French communes are part of, along with their English labels."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q484170> ; <http://www.wikidata.org/prop/direct/P131> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P31> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_5391", "question": "Most used property on Cristiano Ronaldo's Wikidata page", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nSELECT ?property(COUNT(?property) AS ?count) WHERE {\n  {\n    SELECT ?property WHERE {\n      wd:Q7109021 ?directClaim ?o .\n      ?property wikibase:directClaim ?directClaim .\n      ?property rdf:type wikibase:Property .\n    }\n    LIMIT 10000\n  }\n}\nGROUP BY ?property\nORDER BY DESC(?count)\nLIMIT 1", "paraphrases": ["Which property is used most frequently in statements about Cristiano Ronaldo?", "Show me the property that appears the most times in Cristiano Ronaldo's Wikidata data, along with how many times it appears."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q7109021> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_5392", "question": "What notable geographic features are located near the coordinates 0\u00b0 longitude and 52\u00b0 latitude?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX geof: <http://www.opengis.net/def/function/geosparql/>\nSELECT ?item ?label ?lat ?lon WHERE {\n  ?item wdt:P625 ?coord .\n  BIND(geof:latitude(?coord) AS ?lat)\n  BIND(geof:longitude(?coord) AS ?lon)\n  FILTER(?lat >= 51.9979875 && ?lat <= 52.0020125)\n  FILTER(?lon >= -0.003269 && ?lon <= 0.003269)\n  ?item rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nORDER BY ?label\nLIMIT 20", "paraphrases": ["Can you list the entities on the 52nd parallel north near the prime meridian, along with their latitude and longitude?", "Show me the most documented place exactly at 52\u00b0N and 0\u00b0E, including its name and coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 ?var4 ?var5 . ?var1 <http://www.wikidata.org/prop/P625> ?var6 ; <http://www.wikidata.org/prop/P625> [ <http://www.wikidata.org/prop/statement/P625> ?var7 ; <http://www.wikidata.org/prop/statement/value/P625> [ <http://wikiba.se/ontology#geoLongitude> ?var3 ; <http://wikiba.se/ontology#geoLatitude> ?var2 ] ] . SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var8 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> \"POINT(0 52)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"0.22338902991700593\". } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var1Label ?var2 ?var3 ORDER BY DESC(COUNT ( ?var4 )) LIMIT 20"}}
{"id": "test_5393", "question": "Euston human settlements in the UK with coordinates and descriptions", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?item ?itemLabel ?description ?coord WHERE {\n  ?item rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) FILTER ( CONTAINS( LCASE( ?label ) , \"euston\" ) ) ?item wdt:P31 / wdt:P279 * wd:Q486972 .\n  ?item wdt:P625 ?coord .\n  ?item wdt:P131 * wd:Q145 .\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["What are the Euston-named human settlements in the United Kingdom, and where are they located?", "Show me the English descriptions and geographic coordinates of all human settlements named Euston in the UK."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q800751> ) ( <http://www.wikidata.org/entity/Q1990621> ) ( <http://www.wikidata.org/entity/Q412332> ) ( <http://www.wikidata.org/entity/Q37070113> ) ( <http://www.wikidata.org/entity/Q1366453> ) ( <http://www.wikidata.org/entity/Q1366438> ) ( <http://www.wikidata.org/entity/Q1378779> ) ( <http://www.wikidata.org/entity/Q2389056> ) ( <http://www.wikidata.org/entity/Q5414364> ) ( <http://www.wikidata.org/entity/Q5414362> ) ( <http://www.wikidata.org/entity/Q2290320> ) ( <http://www.wikidata.org/entity/Q21910776> ) ( <http://www.wikidata.org/entity/Q15936479> ) ( <http://www.wikidata.org/entity/Q5414361> ) ( <http://www.wikidata.org/entity/Q23988281> ) ( <http://www.wikidata.org/entity/Q2062684> ) ( <http://www.wikidata.org/entity/Q36536035> ) ( <http://www.wikidata.org/entity/Q20656900> ) ( <http://www.wikidata.org/entity/Q28406339> ) ( <http://www.wikidata.org/entity/Q12788603> ) ( <http://www.wikidata.org/entity/Q27924409> ) ( <http://www.wikidata.org/entity/Q5414358> ) ( <http://www.wikidata.org/entity/Q15217066> ) ( <http://www.wikidata.org/entity/Q20876109> ) ( <http://www.wikidata.org/entity/Q2350029> ) ( <http://www.wikidata.org/entity/Q2372651> ) ( <http://www.wikidata.org/entity/Q26475629> ) ( <http://www.wikidata.org/entity/Q28450744> ) ( <http://www.wikidata.org/entity/Q5414359> ) ( <http://www.wikidata.org/entity/Q17548675> ) ( <http://www.wikidata.org/entity/Q5414360> ) ( <http://www.wikidata.org/entity/Q3308692> ) ( <http://www.wikidata.org/entity/Q5414363> ) } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q486972> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> * ?var4 . } FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q145> ) ) ) . OPTIONAL { ?var1 <http://schema.org/description> ?var2 . } FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . }"}}
{"id": "test_5394", "question": "Renuka Chowdhury's English, German, and French labels, image, and Wikipedia link.", "sparql": "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?label ?image ?coordinates ?wikipediaArticle WHERE {\n  OPTIONAL {\n    wd:Q541539 rdfs:label ?label .\n    VALUES ( ?lang ?langOrder ) {\n      ( \"en\" 1 ) ( \"de\" 2 ) ( \"fr\" 3 ) ( \"it\" 4 )\n    }\n    FILTER ( LANG( ?label ) = ?lang )\n  }\n  OPTIONAL {\n    wd:Q541539 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q541539 wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    ?wikipediaArticle rdf:type schema:Article ; schema:about wd:Q541539 ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n}\nORDER BY ?langOrder", "paraphrases": ["What are Renuka Chowdhury\u2019s labels in English, German, and French, along with her image and English Wikipedia page?", "Show me Renuka Chowdhury\u2019s name in English, German, and French, her image from Wikimedia Commons, and the link to her English Wikipedia article, ordered by language preference."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q541539> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var5 ) ) ) . VALUES ( ?var5 ?var6 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q541539> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q541539> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q541539> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var6 )"}}
{"id": "test_5395", "question": "What is the birth date of William Guise-Tucker, and when did he die?", "sparql": "SELECT ?label ?birthDate ?deathDate WHERE { wd:Q30067644 wdt:P31 wd:Q5 . OPTIONAL { wd:Q30067644 wdt:P569 ?birthDate . } OPTIONAL { wd:Q30067644 wdt:P570 ?deathDate . } wd:Q30067644 rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["Can you tell me the birth and death dates of William Guise-Tucker?", "Who is William Guise-Tucker, and what are his birth and death dates?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q30067644> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5396", "question": "Eli Lilly birth and death date", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { BIND( wd:Q2984214 AS ?person ) . ?person wdt:P31 wd:Q5 . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["When was Eli Lilly born and when did he die?", "Please provide the full name, date of birth, and date of death of Eli Lilly."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q632240> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5397", "question": "Birth and death dates of members of the Chateaubriant family.", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { ?person wdt:P53 wd:Q3065730 . ?person wdt:P31 wd:Q5 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } }", "paraphrases": ["Who are the human members of the Chateaubriant family, and when were they born and died?", "List the English names, birth dates, and death dates of all people belonging to the Chateaubriant family."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q3065730> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5398", "question": "What is the death date of Sir William Portman, 5th Baronet, and when was he born?", "sparql": "SELECT ?label ?birthDate ?deathDate WHERE { wd:Q7529732 wdt:P31 wd:Q5 . OPTIONAL { wd:Q7529732 wdt:P569 ?birthDate . } OPTIONAL { wd:Q7529732 wdt:P570 ?deathDate . } wd:Q7529732 rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["Can you tell me the English label and death date of Sir William Portman, 5th Baronet?", "Who is Sir William Portman, 5th Baronet, and when did he die?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q7529732> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5399", "question": "Number of works citing Michael I. Jordan's publications by year", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?year ( COUNT( DISTINCT ?citingWork ) AS ?count ) WHERE {\n  ?authoredWork wdt:P50 wd:Q3308285 .\n  ?citingWork wdt:P2860 ?authoredWork .\n  ?citingWork wdt:P577 ?pubDate .\n  BIND( STR( YEAR( ?pubDate ) ) AS ?year )\n}\nGROUP BY ?year\nORDER BY DESC ( ?year )", "paraphrases": ["How many works cite Michael I. Jordan's research each year?", "Show me a count of publications that cite Michael I. Jordan\u2019s work, grouped by the year they were published."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q3308285> . } , \"string1\", \"string2\" ) AS ?var4 ). BIND ( STR ( YEAR ( ?var5 ) ) AS ?var1 ). ?var6 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q3308285> . ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var6 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var5 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_5400", "question": "What properties are associated with the 2016 Summer Paralympics, and what are their values and counts?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?propertyLabel ( COUNT( ?value ) AS ?valueCount ) ( GROUP_CONCAT( ?valueLabel ; SEPARATOR = \", \" ) AS ?valueLabels ) WHERE {\n  wd:Q1142161 ?property ?value .\n  ?propertyClaim wikibase:directClaim ?property .\n  ?propertyClaim rdfs:label ?propertyLabel .\n  ?value rdfs:label ?valueLabel .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" ) FILTER ( LANG( ?valueLabel ) = \"en\" )\n}\nGROUP BY ?property ?propertyLabel", "paraphrases": ["For each property of the 2016 Summer Paralympics, show its English label, how many values it has, and what those values are.", "List the English labels of all properties used in the 2016 Summer Paralympics entry, along with the number of values and a comma-separated list of the value labels."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q22302160> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_5401", "question": "WikiPathways ID for Type II diabetes mellitus", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?pathwayId WHERE {\n  wd:Q30225382 wdt:P2410 ?pathwayId .\n}", "paraphrases": ["What is the WikiPathways identifier for Type II diabetes mellitus?", "Tell me the WikiPathways ID associated with Type II diabetes mellitus."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://identifiers.org/wikipathways/WP1584_r81779> <http://www.wikidata.org/prop/direct/P2410> ?var1 ; <http://www.wikidata.org/prop/direct/P703> <http://www.wikidata.org/entity/Q15978631> . }"}}
{"id": "test_5402", "question": "List German municipalities with their administrative regions, postal codes, areas, coordinates, and populations.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?municipality ?municipalityLabel ?adminLabel ?capitalLabel ?postalCode ?municipalityKey ?area ?coordinates ?population WHERE {\n  ?municipality wdt:P31 wd:Q262166 .\n  OPTIONAL {\n    ?municipality rdfs:label ?municipalityLabel .\n    FILTER ( LANG( ?municipalityLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?municipality wdt:P131 ?admin .\n    ?admin rdfs:label ?adminLabel .\n    FILTER ( LANG( ?adminLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?municipality wdt:P1376 ?capital .\n    ?capital rdfs:label ?capitalLabel .\n    FILTER ( LANG( ?capitalLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?municipality wdt:P281 ?postalCode .\n  }\n  OPTIONAL {\n    ?municipality wdt:P439 ?municipalityKey .\n  }\n  OPTIONAL {\n    ?municipality wdt:P2046 ?area .\n  }\n  OPTIONAL {\n    ?municipality wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    ?municipality wdt:P1082 ?population .\n  }\n}\nLIMIT 100", "paraphrases": ["What are the names, locations, populations, and areas of municipalities in Germany, along with their administrative divisions and postal codes?", "Show me details about German municipalities including their labels, the administrative entities they belong to, postal codes, area in square kilometers, geographic coordinates, and population numbers."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4Label ?var5Label ?var6Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q262166> . ?var1 <http://www.wikidata.org/prop/direct/P439> ?var7 . ?var1 <http://www.wikidata.org/prop/direct/P281> ?var8 . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P1376> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P2046> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var6 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en,de\". } } LIMIT 100"}}
{"id": "test_5403", "question": "What are the international airports in Portugal and their IATA codes?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?airport ?airportLabel ?iataCode ?coordinates WHERE {\n  ?airport wdt:P31 wd:Q644371 .\n  ?airport wdt:P17 wd:Q45 .\n  ?airport wdt:P238 ?iataCode .\n  ?airport wdt:P625 ?coordinates .\n  ?airport rdfs:label ?airportLabel .\n  FILTER(LANG(?airportLabel) = \"en\")\n}\nORDER BY ?airportLabel\nLIMIT 10", "paraphrases": ["Which international airport is closest to Lisbon, Portugal?", "Show me the names, IATA codes, and coordinates of all international airports in Portugal."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 WHERE { ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q644371> . ?var1 ?var5 ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P238> ?var3 . SERVICE <http://wikiba.se/ontology#around> { ?var2 <http://www.wikidata.org/prop/direct/P625> ?var6 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> \"POINT(-9 39)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"200\". <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#distance> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P625> ?var4 . } } ORDER BY ASC( ?var7 ) LIMIT 1"}}
{"id": "test_5404", "question": "Types and superclasses of Nazi Germany with English labels and Wikipedia links", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?class ?classLabel ?wikipediaPage WHERE {\n  wd:Q7318 wdt:P31 ?type .\n  ?type wdt:P279 * ?class .\n  OPTIONAL {\n    ?wikipediaPage schema:about ?class ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n  ?class rdfs:label ?classLabel .\n  FILTER ( LANG( ?classLabel ) = \"en\" )\n}", "paraphrases": ["What are all the categories and their broader classifications that Nazi Germany falls under, and which of these have English Wikipedia pages?", "List all the classes (including parent classes) that Nazi Germany is an instance of, along with their English names and corresponding Wikipedia articles."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q7318> ( <http://www.wikidata.org/prop/direct/P31> ?/ <http://www.wikidata.org/prop/direct/P279> *) ?var1 . OPTIONAL { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5405", "question": "All language labels for Andorra", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label WHERE {\n  wd:Q228 rdfs:label ?label .\n}", "paraphrases": ["What are the names of Andorra in different languages?", "Show me how Andorra is called in various languages."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q228> <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . }"}}
{"id": "test_5406", "question": "What is the English Wikipedia page, Rotten Tomatoes ID, and award received by the film with IMDb ID tt2267998?", "sparql": "SELECT ?wikipediaPage ?rottenTomatoesId ?awardLabel WHERE { ?film wdt:P31 wd:Q11424 ; wdt:P345 \"tt2267998\" . OPTIONAL { ?wikipediaPage schema:about ?film ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> . } OPTIONAL { ?film p:P166 ?awardStatement . ?awardStatement ps:P166 ?award . ?award rdfs:label ?awardLabel . FILTER(LANG(?awardLabel) = \"en\") } OPTIONAL { ?film wdt:P1258 ?rottenTomatoesId . } }", "paraphrases": ["Can you tell me the English Wikipedia link, Rotten Tomatoes identifier, and any English-language awards won by the movie Gone Girl?", "Please provide the Wikipedia page, Rotten Tomatoes ID, and awards for the film Gone Girl (IMDb: tt2267998)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var4 <http://www.wikidata.org/prop/direct/P345> ?var5 . OPTIONAL { ?var1 <http://schema.org/about> ?var4 . ?var1 <http://schema.org/inLanguage> \"en\". ?var1 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/P166> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P166> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P1258> ?var2 . } FILTER ( ( ( ?var5 = \"tt2267998\" ) ) ) . }"}}
{"id": "test_5407", "question": "What are the parent categories of volcanic landform in Wikidata?", "sparql": "SELECT DISTINCT ?superclass WHERE { { wd:Q29025902 wdt:P279 ?superclass } UNION { wd:Q29025902 wdt:P279/wdt:P279 ?superclass } UNION { wd:Q29025902 wdt:P279/wdt:P279/wdt:P279 ?superclass } }", "paraphrases": ["What classes is a volcanic landform a subclass of?", "Show me the hierarchy of classes above volcanic landform."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q44287862> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_5408", "question": "How many Czech municipalities are in each administrative district, grouped by count ranges (0-20, 20-40, etc.) and linked to their Wikimedia Commons geoshapes?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?municipalityCount ?administrativeEntityLabel ?geoshape ?countRange WHERE {\n  {\n    SELECT ( COUNT( ?municipality ) AS ?municipalityCount ) ?administrativeEntity WHERE {\n      ?municipality wdt:P31 wd:Q5153359 .\n      ?municipality wdt:P131 ?administrativeEntity .\n    }\n    GROUP BY ?administrativeEntity\n  }\n  ?administrativeEntity rdfs:label ?administrativeEntityLabel .\n  FILTER ( LANG( ?administrativeEntityLabel ) = \"en\" ) ?administrativeEntity wdt:P3896 ?geoshape .\n  VALUES ( ?minCount ?maxCount ?countRange ) {\n    ( 0 19 \"0-20 obc\u00ed\" ) ( 20 39 \"20-40 obc\u00ed\" ) ( 40 59 \"40-60 obc\u00ed\" ) ( 60 79 \"60-80 obc\u00ed\" ) ( 80 119 \"80-120 obc\u00ed\" ) ( 120 139 \"120-140 obc\u00ed\" ) ( 140 159 \"140-160 obc\u00ed\" ) ( 160 179 \"160-180 obc\u00ed\" ) ( 180 199 \"180-200 obc\u00ed\" ) ( 200 999999 \"200+ obc\u00ed\" )\n  }\n  FILTER ( ?municipalityCount >= ?minCount && ?municipalityCount <= ?maxCount )\n}\nORDER BY ASC ( ?municipalityCount )", "paraphrases": ["Which Czech administrative districts have between 1 and 200 municipalities, and what are their corresponding geoshapes and count ranges?", "List all Czech administrative districts with the number of municipalities they contain, categorized into ranges like \"0-20 obc\u00ed\" to \"200+ obc\u00ed\", along with their Wikimedia Commons map data."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 WHERE { { SELECT( COUNT ( ?var5 ) AS ?var1 ) ?var2 WHERE { ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5153359> . ?var5 <http://www.wikidata.org/prop/direct/P131> ?var2 . } GROUP BY ?var2 } BIND ( IF ( ( ?var1 < \"20\"^^<http://www.w3.org/2001/XMLSchema#integer> ), \"0-20 obc\u00ed\", IF ( ( ?var1 < \"40\"^^<http://www.w3.org/2001/XMLSchema#integer> ), \"20-40 obc\u00ed\", IF ( ( ?var1 < \"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ), \"40-60 obc\u00ed\", IF ( ( ?var1 < \"80\"^^<http://www.w3.org/2001/XMLSchema#integer> ), \"60-80 obc\u00ed\", IF ( ( ?var1 < \"120\"^^<http://www.w3.org/2001/XMLSchema#integer> ), \"string1\", IF ( ( ?var1 < \"140\"^^<http://www.w3.org/2001/XMLSchema#integer> ), \"string2\", IF ( ( ?var1 < \"160\"^^<http://www.w3.org/2001/XMLSchema#integer> ), \"string3\", IF ( ( ?var1 < \"180\"^^<http://www.w3.org/2001/XMLSchema#integer> ), \"string4\", IF ( ( ?var1 < \"200\"^^<http://www.w3.org/2001/XMLSchema#integer> ), \"string5\", \"string6\" ) ) ) ) ) ) ) ) ) AS ?var4 ). ?var2 <http://www.wikidata.org/prop/direct/P3896> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_5409", "question": "Scholarly articles about Zika virus with title, journal, and publication date.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?article ?title ?journal ?publicationDate WHERE {\n  ?article wdt:P31 wd:Q13442814 ; wdt:P921 wd:Q202864 .\n  OPTIONAL {\n    ?article wdt:P1476 ?title .\n  }\n  OPTIONAL {\n    ?article wdt:P1433 ?journal .\n  }\n  OPTIONAL {\n    ?article wdt:P577 ?publicationDate .\n  }\n}", "paraphrases": ["What are the titles, journals, and publication dates of scholarly articles about the Zika virus?", "Can you list all academic papers on Zika virus along with where they were published and when?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13442814> ; <http://www.wikidata.org/prop/direct/P921> <http://www.wikidata.org/entity/Q202864> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1433> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var4 . } }"}}
{"id": "test_5410", "question": "Images of institutions where Louise Bezuidenhout works or studied", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?image WHERE {\n  {\n    wd:Q43281567 wdt:P18 ?image .\n  } UNION {\n    wd:Q43281567 ( wdt:P108 | wdt:P69 ) / wdt:P18 ?image .\n  }\n}", "paraphrases": ["What are the images of the universities and organizations associated with Louise Bezuidenhout?", "Show me pictures of the places Louise Bezuidenhout is affiliated with, including where she works and studied."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { <http://www.wikidata.org/entity/Q43281567> <http://www.wikidata.org/prop/direct/P18> ?var1 . } UNION { <http://www.wikidata.org/entity/Q43281567> !( <http://www.wikidata.org/prop/direct/P1889> ) ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . FILTER ( ( ( ?var2 != <http://www.wikidata.org/entity/Q5> ) ) ) . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q43281567> . { ?var3 <http://www.wikidata.org/prop/direct/P921> [ <http://www.wikidata.org/prop/direct/P18> ?var1 ] . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P50> ?var3 . ?var4 <http://www.wikidata.org/prop/direct/P18> ?var1 . } } }"}}
{"id": "test_5411", "question": "What universities did Krasimira Tsaneva-Atanasova attend, and when did she study there?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?institution ?institutionLabel ?startDate ?endDate ?degreeLabel WHERE {\n  wd:Q41044233 p:P69 ?statement .\n  ?statement ps:P69 ?institution .\n  ?institution rdfs:label ?institutionLabel .\n  FILTER(LANG(?institutionLabel) = \"en\")\n  OPTIONAL {\n    ?statement pq:P580 ?startDate .\n  }\n  OPTIONAL {\n    ?statement pq:P582 ?endDate .\n  }\n  OPTIONAL {\n    ?statement pq:P512 ?degree .\n    ?degree rdfs:label ?degreeLabel .\n    FILTER(LANG(?degreeLabel) = \"en\")\n  }\n}", "paraphrases": ["What academic degree did Krasimira Tsaneva-Atanasova earn from the University of Auckland, and during what period?", "Tell me about Krasimira Tsaneva-Atanasova\u2019s education at the University of Auckland, including any degrees and attendance dates."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 ?var5Label WHERE { <http://www.wikidata.org/entity/Q41044233> <http://www.wikidata.org/prop/P69> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P69> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P580> ?var3 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var4 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P512> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_5412", "question": "What organizations has David Mattingly been affiliated with or employed by, and when did these associations start or end?", "sparql": "SELECT ?image ?organization ?organizationLabel ?startDate ?endDate ?degreeLabel WHERE { { wd:Q45968 p:P1416 ?statement . } UNION { wd:Q45968 p:P108 ?statement . } { ?statement ps:P1416 ?organization . } UNION { ?statement ps:P108 ?organization . } ?organization rdfs:label ?organizationLabel . FILTER (LANG(?organizationLabel) = \"en\") OPTIONAL { ?organization wdt:P18 ?image . } OPTIONAL { ?statement pq:P580 ?startDate . } OPTIONAL { ?statement pq:P582 ?endDate . } OPTIONAL { ?statement pq:P512 ?degree . ?degree rdfs:label ?degreeLabel . FILTER (LANG(?degreeLabel) = \"en\") } }", "paraphrases": ["Show me images of the universities and institutes David Mattingly worked for, along with the dates of his employment or affiliation.", "Which institutions is David Mattingly associated with, and what are the start and end dates of those associations? Include any academic degrees linked to these roles."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label ?var4 ?var5 ?var6Label WHERE { { <http://www.wikidata.org/entity/Q45968> <http://www.wikidata.org/prop/P1416> ?var7 . } UNION { <http://www.wikidata.org/entity/Q45968> <http://www.wikidata.org/prop/P108> ?var7 . } { ?var7 <http://www.wikidata.org/prop/statement/P1416> ?var2 . } UNION { ?var7 <http://www.wikidata.org/prop/statement/P108> ?var2 . } ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P580> ?var4 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P582> ?var5 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P512> ?var8 . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_5413", "question": "What are the known domesticated animals and their types?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item ?itemLabel WHERE {\n  {\n    ?item wdt:P31 wd:Q622852 .\n  } UNION {\n    ?item wdt:P279 wd:Q622852 .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["List all animals that are either instances of or subclasses of domesticated animals, along with their English names.", "Can you show me a list of domesticated animals, including categories like livestock and therapy animals, in English?"], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { { SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q622852> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } } UNION { SELECT ?var2 ?var2Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q622852> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } } }"}}
{"id": "test_5414", "question": "What are the specific crafts and categories of crafts?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?instance ?subclass WHERE {\n  {\n    ?instance wdt:P31 wd:Q2207288 .\n  } UNION {\n    ?subclass wdt:P279 wd:Q2207288 .\n  }\n}", "paraphrases": ["List all known types of craft and the specific crafts that fall under this category.", "Show me all the crafts and their broader craft categories."], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { { SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2207288> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } } UNION { SELECT ?var2 ?var2Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q2207288> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } } }"}}
{"id": "test_5415", "question": "French-labeled artists with French alternative names", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nSELECT ?artist ?label ?sitelinkCount ?altLabel WHERE {\n  ?artist wdt:P106 wd:Q483501 .\n  ?artist rdfs:label ?label .\n  ?artist skos:altLabel ?altLabel .\n  OPTIONAL {\n    ?artist wikibase:sitelinks ?sitelinkCount .\n  }\n  FILTER ( LANG( ?label ) = \"fr\" ) FILTER ( LANG( ?altLabel ) = \"fr\" )\n}", "paraphrases": ["Which artists have both a French label and a French alternative name?", "List artists whose occupation is artist, who have a French label and a French alternative label, along with their sitelink count."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q483501> . } OPTIONAL { ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> ?var3 . } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . OPTIONAL { ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . } FILTER ( ( ( LANG ( ?var3 ) = \"fr\" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"fr\" ) ) ) . }"}}
{"id": "test_5416", "question": "What properties are most frequently used to link items to sausage, excluding those used only once?", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q131419 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["Which properties connect the most items to sausage, and how many items are connected via each?", "List all properties that link more than one item to sausage, sorted by how many items they link, in descending order."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q131419> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_5417", "question": "Cities and their countries and administrative regions in English", "sparql": "SELECT ?cityLabel ?countryLabel ?adminTerritoryLabel WHERE { ?city (wdt:P31/wdt:P279*) wd:Q515 . ?city wdt:P17 ?country . OPTIONAL { ?city wdt:P131 ?adminTerritory . } ?city rdfs:label ?cityLabel . ?country rdfs:label ?countryLabel . OPTIONAL { ?adminTerritory rdfs:label ?adminTerritoryLabel . } FILTER(LANG(?cityLabel) = \"en\") FILTER(LANG(?countryLabel) = \"en\") } LIMIT 10", "paraphrases": ["What are some cities around the world, their countries, and the administrative areas they belong to, with names in English?", "List 10 cities with their countries and, where available, their administrative territories, using English names."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pt\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var3 . } } LIMIT 10"}}
{"id": "test_5418", "question": "What entity has https://www.google.com as its official website?", "sparql": "SELECT ?item WHERE { ?item wdt:P856 <https://www.google.com> }", "paraphrases": ["Which company owns the official website www.google.com?", "Find the Wikidata item for the entity whose official website is https://www.google.com."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://query.wikidata.org/bigdata/namespace/wdq/www.google.com> . }"}}
{"id": "test_5419", "question": "Postal codes of items in Switzerland", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?postalCode WHERE {\n  ?item wdt:P17 wd:Q39 .\n  ?item wdt:P281 ?postalCode .\n}\nLIMIT 1000", "paraphrases": ["What are the postal codes of places located in Switzerland?", "List all items in Switzerland along with their postal codes."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q39> . ?var1 <http://www.wikidata.org/prop/direct/P281> ?var2 . } LIMIT 1000"}}
{"id": "test_5420", "question": "What properties are used to describe baseball positions like pitcher or shortstop?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?propertyEntity ?propertyLabel ?propertyDescription WHERE {\n  ?baseballPosition wdt:P31 wd:Q1151733 .\n  ?baseballPosition ?property ?value .\n  FILTER(STRSTARTS(STR(?property) , \"http://www.wikidata.org/prop/direct/\"))\n  BIND(IRI(REPLACE(STR(?property) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\")) AS ?propertyEntity)\n  ?propertyEntity rdfs:label ?propertyLabel .\n  ?propertyEntity schema:description ?propertyDescription .\n  FILTER(LANG(?propertyLabel) = \"en\")\n  FILTER(LANG(?propertyDescription) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Can you list the English labels and descriptions of properties that are applied to entities classified as baseball positions?", "Show me the English labels and descriptions of all properties used on instances of baseball position in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q1151733> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_5421", "question": "What is the image of Jules Langsner, identified by the SNAC ARK ID w61c238h?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w61c238h\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Image of Jules Langsner (SNAC ARK ID: w61c238h)", "Show me the Wikimedia Commons image associated with the SNAC ARK ID w61c238h."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w61c238h\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5422", "question": "What artworks are associated with Rembrandt van Rijn, and what are the relationships and images for them?", "sparql": "SELECT ?rembrandtLabel ?artwork ?artworkLabel ?property ?propertyLabel ?artworkImage ?rembrandtImage WHERE {\n  wd:Q5598 rdfs:label ?rembrandtLabel .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?propertyLabel .\n  ?artwork ?property wd:Q5598 .\n  ?artwork rdfs:label ?artworkLabel .\n  OPTIONAL {\n    ?artwork wdt:P18 ?artworkImage .\n  }\n  OPTIONAL {\n    wd:Q5598 wdt:P18 ?rembrandtImage .\n  }\n  FILTER (LANG(?rembrandtLabel) = \"en\")\n  FILTER (LANG(?propertyLabel) = \"en\")\n  FILTER (LANG(?artworkLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["List all items connected to Rembrandt van Rijn by any property, including the property names, item labels, and images of both the items and Rembrandt.", "Show me the works linked to Rembrandt van Rijn, the type of relationship (like creator or after), their English labels, and their images, along with Rembrandt\u2019s own image."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { <http://www.wikidata.org/entity/Q5598> <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . ?var8 <http://wikiba.se/ontology#directClaim> ?var4 . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . ?var2 ?var4 <http://www.wikidata.org/entity/Q5598> . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var6 . } OPTIONAL { <http://www.wikidata.org/entity/Q5598> <http://www.wikidata.org/prop/direct/P18> ?var7 . } FILTER ( ( ( LANG ( ?var1 ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_5423", "question": "What film has the Cineplex Germany film ID 260026?", "sparql": "SELECT ?film WHERE { ?film wdt:P3077 \"260026\" . }", "paraphrases": ["Which movie is identified by the Cineplex ID 260026 in Wikidata?", "Find the film in Wikidata with the Cineplex Germany film ID 260026."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3077> \"260026\". }"}}
{"id": "test_5424", "question": "Composers with English labels", "sparql": "SELECT ?composer ?composerLabel WHERE { ?composer wdt:P106 wd:Q36834 . ?composer rdfs:label ?composerLabel . FILTER(LANG(?composerLabel) = \"en\") }", "paraphrases": ["Who are the composers listed in English on Wikidata?", "List the names of all people whose occupation is composer, in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q36834> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5425", "question": "What places are listed as being located in Fiera dei Morti?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P131 wd:Q3744598 .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["Which items have Fiera dei Morti as their administrative location in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q3744598> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs,en\". } }"}}
{"id": "test_5426", "question": "Image of Lachlan McIntosh with SNAC ARK ID w61z4p0k", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w61z4p0k\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the person having SNAC ARK ID w61z4p0k?", "Show me the Wikimedia Commons image for Lachlan McIntosh, identified by SNAC ARK ID w61z4p0k."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w61z4p0k\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5427", "question": "What are the communes in France with \"Oulches\" in their name?", "sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 wdt:P31 wd:Q484170 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"fr\") FILTER(CONTAINS(LCASE(?var1Label), \"oulches\")) } ORDER BY ASC(?var1Label)", "paraphrases": ["Can you list the French communes whose French-language labels contain the word \"oulches\"?", "Show me the names of all communes in France that are spelled with \"Oulches\", sorted alphabetically."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/P31> ?var2 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"oulches\". ?var2 <http://www.wikidata.org/prop/statement/P31> <http://www.wikidata.org/entity/Q484170> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_5428", "question": "Artworks in the Mus\u00e9e d'Orsay collection and their description URLs", "sparql": "SELECT ?artwork ?url WHERE { ?artwork wdt:P195 wd:Q23402 . ?artwork wdt:P973 ?url . }", "paraphrases": ["What artworks are in the Mus\u00e9e d'Orsay collection, and where can I find more information about them online?", "Show me all the artworks from the Mus\u00e9e d'Orsay that have a webpage describing them."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P195> <http://www.wikidata.org/entity/Q23402> . ?var1 <http://www.wikidata.org/prop/direct/P973> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5429", "question": "Most common Wikidata property linked to entities with Wikimedia usernames", "sparql": "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?property ( COUNT( ?property ) AS ?count ) WHERE {\n  {\n    SELECT ?property WHERE {\n      ?entity wdt:P4174 ?username .\n      ?entity ?p ?value .\n      ?property wikibase:directClaim ?p .\n      ?property rdf:type wikibase:Property .\n    }\n    LIMIT 10000\n  }\n}\nGROUP BY ?property\nORDER BY DESC ( ?count )\nLIMIT 1", "paraphrases": ["Which Wikidata property is most frequently used to describe entities that have a Wikimedia username?", "Show me the Wikidata property that is most commonly mapped from Wikipedia infoboxes for users with Wikimedia usernames."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/P4174> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_5430", "question": "Entities with official websites containing \"gov\"", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P856 ?url . FILTER(REGEX(STR(?url), \"gov\")) . FILTER(NOT EXISTS { ?item a wikibase:Property }) . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["Which entities have an official website with a .gov domain?", "Show me the names of organizations or institutions whose official website URL includes \"gov\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var2 . FILTER ( ( REGEX ( STR ( ?var2 ) , \"string1\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5431", "question": "What are the English names and identifiers (PubChem and ChemSpider) of aspirin and its isotopologues?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?var1 ?var2 ?var1Label ?var3 ?var4 WHERE {\n  ?var1 wdt:P235 ?var2 .\n  FILTER(STRSTARTS(?var2 , \"BSYNRYMUTXBXSQ\"))\n  OPTIONAL {\n    ?var1 wdt:P662 ?var3 .\n  }\n  OPTIONAL {\n    ?var1 wdt:P661 ?var4 .\n  }\n  ?var1 rdfs:label ?var1Label .\n  FILTER(LANG(?var1Label) = \"en\")\n}", "paraphrases": ["Show me the PubChem CID and ChemSpider ID for compounds with the InChIKey starting with BSYNRYMUTXBXSQ, along with their English names.", "Which chemical compounds have the same core structure as aspirin, and what are their database IDs and names?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var1Label ?var3 ?var4 WHERE { { SELECT * WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11173> . } } UNION { SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P235> ?var2 . FILTER ( ( STRSTARTS ( ?var2 , \"ASPIRIG\" ) ) ) . } } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P662> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P661> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P235> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5432", "question": "Image of Hugo Gellert with SNAC ARK ID w6m74ffj", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?person wdt:P3430 \"w6m74ffj\" .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Hugo Gellert's SNAC ARK ID w6m74ffj?", "Show me the photograph of the person identified by the SNAC ARK ID w6m74ffj."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6m74ffj\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5433", "question": "Subclasses of aerial tramway with their labels and images", "sparql": "SELECT ?subclass ?label ?image WHERE { ?subclass wdt:P279 wd:Q498002 . OPTIONAL { ?subclass rdfs:label ?label . } OPTIONAL { ?subclass wdt:P18 ?image . } } LIMIT 100", "paraphrases": ["What are the different types of aerial tramways, and what are their names and images?", "List all known subclasses of aerial tramway along with their labels, and include any available images."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q498002> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_5434", "question": "What places in the geographic area between longitude 16\u201317 and latitude 49\u201350 have images, Commons categories, or street addresses listed on Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX geof: <http://www.opengis.net/def/function/geosparql/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?location ?image ?commonsCategory ?address WHERE {\n  ?item wdt:P625 ?location .\n  FILTER ( geof:longitude ( ?location ) >= 16 && geof:longitude ( ?location ) <= 17 && geof:latitude ( ?location ) >= 49 && geof:latitude ( ?location ) <= 50 ) OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?item wdt:P373 ?commonsCategory .\n  }\n  OPTIONAL {\n    ?item wdt:P969 ?address .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" || LANG( ?itemLabel ) = \"\" )\n}\nLIMIT 10", "paraphrases": ["Show me towns and landmarks in Central Europe (around Prague) that have coordinates, photos, and Wikimedia Commons categories.", "List items located in the Czech Republic near Brno and Lan\u0161kroun with their labels, images, and associated Commons categories."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(16 49)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(17 50)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_5435", "question": "What are the official names of the Unified Socialist Party in English, German, French, and Italian?", "sparql": "SELECT ?label WHERE {\n  VALUES (?lang ?priority) {\n    (\"en\" 1)\n    (\"de\" 2)\n    (\"fr\" 3)\n    (\"it\" 4)\n  }\n  wd:Q862828 rdfs:label ?label .\n  FILTER (LANG(?label) = ?lang)\n}\nORDER BY ?priority", "paraphrases": ["Show me the labels of the Unified Socialist Party (Q862828) in priority order: English first, then German, French, and Italian.", "How is the Unified Socialist Party named in different languages, ordered by language preference?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q862828> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var7 ) ) ) . VALUES ( ?var7 ?var8 ) { ( \"undefined\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q862828> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q862828> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"undefined\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q862828> <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q862828> ; <http://schema.org/inLanguage> \"undefined\"; <http://schema.org/isPartOf> <https://undefined.wikipedia.org/> . } } ORDER BY ASC( ?var8 )"}}
{"id": "test_5436", "question": "What are some types of songs?", "sparql": "SELECT ?subclass ?subclassLabel WHERE { ?subclass wdt:P279 wd:Q7366 . ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") }", "paraphrases": ["What are the subclasses of the musical genre \"song\"?", "List the English-labeled subtypes of song in Wikidata, such as folk songs or cantilena."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q7366> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,zh\". } }"}}
{"id": "test_5437", "question": "PageRank multilingual labels, image, and English Wikipedia link", "sparql": "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?label ?image ?wikipediaArticle WHERE {\n  wd:Q184316 rdfs:label ?label .\n  FILTER ( LANG( ?label ) IN ( \"en\" , \"de\" , \"fr\" , \"it\" ) ) OPTIONAL {\n    wd:Q184316 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?wikipediaArticle rdf:type schema:Article ; schema:about wd:Q184316 ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n}\nORDER BY ( LANG( ?label ) )", "paraphrases": ["What are the labels for PageRank in German, English, French, and Italian, along with its image and Wikipedia article?", "Show me the labels for PageRank in German, English, French, and Italian, plus its image on Wikimedia Commons and its English Wikipedia page."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q184316> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var12 ) ) ) . VALUES ( ?var12 ?var13 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q184316> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q184316> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q184316> <http://www.wikidata.org/prop/direct/P1651> ?var5 . } OPTIONAL { <http://www.wikidata.org/entity/Q184316> <http://www.wikidata.org/prop/direct/P2037> ?var6 . } OPTIONAL { <http://www.wikidata.org/entity/Q184316> <http://www.wikidata.org/prop/direct/P2002> ?var7 . } OPTIONAL { <http://www.wikidata.org/entity/Q184316> <http://www.wikidata.org/prop/direct/P2013> ?var8 . } OPTIONAL { <http://www.wikidata.org/entity/Q184316> <http://www.wikidata.org/prop/direct/P2003> ?var9 . } OPTIONAL { <http://www.wikidata.org/entity/Q184316> <http://www.wikidata.org/prop/direct/P856> ?var10 . } OPTIONAL { <http://www.wikidata.org/entity/Q184316> <http://www.wikidata.org/prop/direct/P496> ?var11 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q184316> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var13 )"}}
{"id": "test_5438", "question": "Film with film-documentaire.fr ID 47576", "sparql": "SELECT ?film WHERE { ?film wdt:P3673 \"47576\" . }", "paraphrases": ["What film is identified by the ID 47576 in film-documentaire.fr?", "Find the film that has the identifier 47576 in the film-documentaire.fr database."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3673> \"47576\". }"}}
{"id": "test_5439", "question": "List members of the Senedd with their birth places, coordinates, and birth century, ordered by birth date.", "sparql": "SELECT DISTINCT ?member ?memberLabel ?birthPlace ?birthPlaceLabel ?coordinates ?century ?birthDate WHERE { ?member wdt:P39/wdt:P279* wd:Q3406079 . ?member wdt:P19 ?birthPlace . ?birthPlace wdt:P625 ?coordinates . OPTIONAL { ?member wdt:P569 ?birthDate . BIND( FLOOR( ( xsd:integer(YEAR(?birthDate)) - 1 ) / 100 ) + 1 AS ?centuryNum ) BIND( CONCAT( STR(?centuryNum), \"th century\" ) AS ?century ) } OPTIONAL { ?member rdfs:label ?memberLabel . FILTER(LANG(?memberLabel) = \"en\") } OPTIONAL { ?birthPlace rdfs:label ?birthPlaceLabel . FILTER(LANG(?birthPlaceLabel) = \"en\") } } ORDER BY ASC(?birthDate)", "paraphrases": ["Who are the members of the Welsh Parliament, where were they born, what are the coordinates of their birthplaces, and in which century were they born?", "Show me the names, birth locations, geographic coordinates, and birth centuries of all members of the Senedd, sorted by their birth dates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var4Label ?var5 ?var6 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P39> [ <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q3406079> ] . } ?var1 <http://www.wikidata.org/prop/direct/P19> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P625> ?var3 . OPTIONAL { BIND ( ( FLOOR ( ( ( YEAR ( ?var5 ) +\"-1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) /\"100\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) +\"+1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var7 ). ?var1 <http://www.wikidata.org/prop/direct/P569> ?var5 . } BIND ( COALESCE ( CONCAT ( STR ( ?var7 ) , \"th century\"@en ) , \"unknown\"@e ) AS ?var6 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var5 )"}}
{"id": "test_5440", "question": "Administrative regions Magdeburg belongs to", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?administrativeEntity ?administrativeEntityLabel WHERE {\n  wd:Q1733 wdt:P131 * ?administrativeEntity .\n  ?administrativeEntity rdfs:label ?administrativeEntityLabel .\n  FILTER(LANG(?administrativeEntityLabel) = \"en\")\n}", "paraphrases": ["What administrative areas include Magdeburg, including Magdeburg itself?", "List all administrative entities that Magdeburg is located in, from the city up to the country."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q1733> <http://www.wikidata.org/prop/direct/P131> * ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5441", "question": "What are the labels for Lyon in French, English, German, and Italian, along with its image, coordinates, and French Wikipedia link?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?label ?image ?coordinates ?wikipedia WHERE {\n  wd:Q456 rdfs:label ?label .\n  FILTER(LANG(?label) IN('fr' , 'en' , 'de' , 'it'))\n  OPTIONAL {\n    wd:Q456 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q456 wdt:P625 ?coordinates .\n  }\n  ?wikipedia schema:about wd:Q456 ; schema:isPartOf <https://fr.wikipedia.org/> ; schema:inLanguage \"fr\" .\n}\nORDER BY ?label", "paraphrases": ["Show me the different language names for the city of Lyon, its image from Wikimedia Commons, its geographic coordinates, and the link to its French Wikipedia article.", "Retrieve the multilingual labels for Lyon, its associated image, coordinates, and the French Wikipedia page it's linked to."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q456> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var7 ) ) ) . VALUES ( ?var7 ?var8 ) { ( \"fr\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q456> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q456> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"fr\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q456> <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q456> ; <http://schema.org/inLanguage> \"fr\"; <http://schema.org/isPartOf> <https://fr.wikipedia.org/> . } } ORDER BY ASC( ?var8 )"}}
{"id": "test_5442", "question": "Male actors with English labels", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P21 wd:Q6581097 ; wdt:P106 wd:Q33999 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["Who are some male actors listed in Wikidata with English names?", "List English-named male actors from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 WHERE { ?var1 <http://schema.org/description> \"string1\"@en . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581097> . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sq\". } }"}}
{"id": "test_5443", "question": "Films and TV shows featuring H\u00e9l\u00e8ne Vincent, ordered by release year, with English and Ukrainian titles and Wikipedia links.", "sparql": "SELECT ?typeLabel (YEAR(MIN(?date)) AS ?year) ?ukLabel ?enLabel ?ukWiki ?enWiki WHERE { ?work wdt:P161 wd:Q3144876 . ?work wdt:P577 ?date . ?work wdt:P31 ?type . OPTIONAL { ?work rdfs:label ?ukLabel . FILTER(LANG(?ukLabel) = \"uk\") } ?enWiki schema:about ?work . ?enWiki schema:inLanguage \"en\" . ?enWiki schema:isPartOf <https://en.wikipedia.org/> . OPTIONAL { ?ukWiki schema:about ?work . ?ukWiki schema:inLanguage \"uk\" . ?ukWiki schema:isPartOf <https://uk.wikipedia.org/> . } ?work rdfs:label ?enLabel . FILTER(LANG(?enLabel) = \"en\") } GROUP BY ?typeLabel ?ukLabel ?enLabel ?work ?ukWiki ?enWiki ORDER BY ASC(?year)", "paraphrases": ["What works has French actress H\u00e9l\u00e8ne Vincent appeared in, and what are their English and Ukrainian titles, release years, and corresponding Wikipedia pages?", "Please list all works in which H\u00e9l\u00e8ne Vincent acted, sorted by release date, showing the English title, Ukrainian title (if available), and links to the English and Ukrainian Wikipedia articles."], "info": {"raw_sparql": "SELECT ?var1Label ( YEAR ( MIN ( ?var2 ) ) AS ?var3 ) ?var4Label ?var5Label ?var6 ?var7 ?var8 WHERE { ?var9 <http://www.wikidata.org/prop/direct/P161> <http://www.wikidata.org/entity/Q3144876> . ?var9 <http://www.wikidata.org/prop/direct/P577> ?var2 . ?var9 <http://www.wikidata.org/prop/direct/P31> ?var1 . OPTIONAL { ?var9 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"uk\" ) ) ) . } ?var7 <http://schema.org/about> ?var9 . ?var7 <http://schema.org/inLanguage> \"en\". ?var7 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . OPTIONAL { ?var6 <http://schema.org/about> ?var9 . ?var6 <http://schema.org/inLanguage> \"uk\". ?var6 <http://schema.org/isPartOf> <https://uk.wikipedia.org/> . } ?var9 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"uk,en\". } } GROUP BY ?var4Label ?var5Label ?var1Label ?var9 ?var6 ?var7 ?var8 ORDER BY ASC( ?var3 )"}}
{"id": "test_5444", "question": "Most frequently used property to indicate someone was a pharaoh", "sparql": "SELECT ?property (COUNT(?property) AS ?count) WHERE { ?person ?propertyUsed wd:Q37110 . ?property wikibase:directClaim ?propertyUsed . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which property on Wikidata is most commonly used to state that a person held the position of pharaoh?", "Show me the property that is used the most times to assign the role of pharaoh to historical figures, along with how many times it was used."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q37110> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_5445", "question": "Female actors born in South Africa with their dates of birth.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?actor ?dateOfBirth ?actorLabel WHERE {\n  ?actor wdt:P106 wd:Q33999 .\n  ?actor wdt:P21 wd:Q6581072 .\n  ?actor wdt:P19 wd:Q258 .\n  OPTIONAL {\n    ?actor wdt:P569 ?dateOfBirth .\n  }\n  ?actor rdfs:label ?actorLabel .\n  FILTER ( LANG( ?actorLabel ) = \"en\" )\n}\nLIMIT 50", "paraphrases": ["Who are the female actors from South Africa, and when were they born?", "List the English names of female actors born in South Africa, along with their birth dates if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q258> . } LIMIT 50"}}
{"id": "test_5446", "question": "What modern country and continent are historically associated with the Republic of Florence?", "sparql": "SELECT DISTINCT ?related WHERE { wd:Q148540 (wdt:P30|wdt:P17|wdt:P1366/wdt:P17|wdt:P1366/wdt:P30) ?related . FILTER(?related != wd:Q148540) }", "paraphrases": ["Which geopolitical entities succeeded or encompassed the Republic of Florence?", "Tell me the continent and country linked to the historical Republic of Florence through its successors."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q148540> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_5447", "question": "Which property is most frequently used to indicate that another property has Wikipedia article titles as qualifiers?", "sparql": "SELECT ?property (COUNT(?property) AS ?count) WHERE { ?item ?statementProperty wd:P1810 . ?property wikibase:directClaim ?statementProperty . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["What is the most common property that links other properties to their Wikipedia article title qualifiers?", "Among all properties that are used to specify which qualifier is associated with a Wikipedia article title, which one appears most often?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/P1810> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_5448", "question": "What are the exact dates (with metadata) when Cincinnatus served as Roman dictator?", "sparql": "PREFIX pqv: <http://www.wikidata.org/prop/qualifier/value/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?timeValue ?property ?value WHERE {\n  wd:Q309637 p:P39 ?statement .\n  ?statement ps:P39 wd:Q236885 ; pqv:P585 ?timeValue .\n  ?timeValue ?property ?value .\n}", "paraphrases": ["When did Cincinnatus hold the office of Roman dictator, and what are the details of those dates?", "Show the full time value information (calendar, precision, timezone, and date) for each term Cincinnatus served as Roman dictator."], "info": {"raw_sparql": "SELECT * WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q309637> ) } ?var1 ( <http://www.wikidata.org/prop/P39> / <http://www.wikidata.org/prop/qualifier/value/P585> ) ?var2 . ?var2 ?var3 ?var4 . } LIMIT 100"}}
{"id": "test_5449", "question": "Dates of birth of CEOs of Orange telecommunications companies", "sparql": "SELECT ?company ?companyLabel ?ceoBirthDate WHERE {  VALUES ?company {    wd:Q1431486    wd:Q1465005    wd:Q266341    wd:Q2992995    wd:Q7099654    wd:Q24038997  }  ?company wdt:P169/wdt:P569 ?ceoBirthDate .  ?company rdfs:label ?companyLabel .  FILTER(LANG(?companyLabel) = \"en\")}", "paraphrases": ["Who are the CEOs of Orange telecom subsidiaries, and when were they born?", "List the birth dates of the chief executives of Orange\u2019s international telecom branches."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q39338> ) ( <http://www.wikidata.org/entity/Q187796> ) ( <http://www.wikidata.org/entity/Q1376645> ) ( <http://www.wikidata.org/entity/Q2992995> ) ( <http://www.wikidata.org/entity/Q6455823> ) ( <http://www.wikidata.org/entity/Q7099470> ) ( <http://www.wikidata.org/entity/Q7099501> ) ( <http://www.wikidata.org/entity/Q7099504> ) ( <http://www.wikidata.org/entity/Q13191> ) ( <http://www.wikidata.org/entity/Q1087121> ) ( <http://www.wikidata.org/entity/Q2416514> ) ( <http://www.wikidata.org/entity/Q6051789> ) ( <http://www.wikidata.org/entity/Q7099469> ) ( <http://www.wikidata.org/entity/Q7099495> ) ( <http://www.wikidata.org/entity/Q7099654> ) ( <http://www.wikidata.org/entity/Q22134074> ) ( <http://www.wikidata.org/entity/Q181475> ) ( <http://www.wikidata.org/entity/Q491350> ) ( <http://www.wikidata.org/entity/Q982388> ) ( <http://www.wikidata.org/entity/Q1134648> ) ( <http://www.wikidata.org/entity/Q2224931> ) ( <http://www.wikidata.org/entity/Q2417452> ) ( <http://www.wikidata.org/entity/Q3107849> ) ( <http://www.wikidata.org/entity/Q3355038> ) ( <http://www.wikidata.org/entity/Q7099499> ) ( <http://www.wikidata.org/entity/Q17150891> ) ( <http://www.wikidata.org/entity/Q19708075> ) ( <http://www.wikidata.org/entity/Q22134075> ) ( <http://www.wikidata.org/entity/Q266341> ) ( <http://www.wikidata.org/entity/Q580973> ) ( <http://www.wikidata.org/entity/Q677019> ) ( <http://www.wikidata.org/entity/Q1253863> ) ( <http://www.wikidata.org/entity/Q3040333> ) ( <http://www.wikidata.org/entity/Q3884326> ) ( <http://www.wikidata.org/entity/Q7099505> ) ( <http://www.wikidata.org/entity/Q16280394> ) ( <http://www.wikidata.org/entity/Q1465005> ) ( <http://www.wikidata.org/entity/Q3355041> ) ( <http://www.wikidata.org/entity/Q7099496> ) ( <http://www.wikidata.org/entity/Q21613676> ) ( <http://www.wikidata.org/entity/Q24038997> ) ( <http://www.wikidata.org/entity/Q531215> ) ( <http://www.wikidata.org/entity/Q754766> ) ( <http://www.wikidata.org/entity/Q1431486> ) ( <http://www.wikidata.org/entity/Q2009691> ) ( <http://www.wikidata.org/entity/Q2021222> ) ( <http://www.wikidata.org/entity/Q2028096> ) ( <http://www.wikidata.org/entity/Q2305582> ) ( <http://www.wikidata.org/entity/Q3708606> ) ( <http://www.wikidata.org/entity/Q7099502> ) ( <http://www.wikidata.org/entity/Q18788443> ) } ?var1 ( <http://www.wikidata.org/prop/direct/P169> / <http://www.wikidata.org/prop/direct/P569> ) ?var2 . }"}}
{"id": "test_5450", "question": "What sources and retrieval dates are cited for Albert Einstein\u2019s place of birth?", "sparql": "PREFIX prov: <http://www.w3.org/ns/prov#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?reference ?property ?value WHERE {\n  wd:Q937 p:P19 ?statement .\n  ?statement prov:wasDerivedFrom ?reference .\n  ?reference ?property ?value .\n}", "paraphrases": ["Show all reference information, including the source and retrieval date, for the statement that Albert Einstein was born in Ulm.", "What provenance data (like source and retrieval time) is attached to Albert Einstein\u2019s birthplace claim in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/reference/3a42b7051597193c6f05691019087c1dacf0b5b7> ?var1 ?var2 . }"}}
{"id": "test_5451", "question": "Polish films from 1933 with IMDb IDs and English titles.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?imdbId ?filmLabel ?year WHERE {\n  ?film wdt:P31 wd:Q11424 ; wdt:P577 ?date ; wdt:P345 ?imdbId ; wdt:P495 wd:Q36 ; rdfs:label ?filmLabel .\n  BIND( YEAR( ?date ) AS ?year ) FILTER ( ?year = 1933 ) FILTER ( STRSTARTS( ?imdbId , \"tt\" ) ) FILTER ( LANG( ?filmLabel ) = \"en\" )\n}\nORDER BY ASC ( ?imdbId )\nLIMIT 10", "paraphrases": ["What are the English titles and IMDb IDs of Polish films released in 1933?", "List the IMDb identifiers, English titles, and release year (1933) of all films produced in Poland that year, sorted by IMDb ID."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( YEAR ( ?var4 ) AS ?var3 ). ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var4 . ?var2 <http://www.wikidata.org/prop/direct/P345> ?var1 . ?var2 <http://www.wikidata.org/prop/direct/P495> <http://www.wikidata.org/entity/Q36> . FILTER ( ( ( ?var3 = \"1933\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } FILTER ( ( STRSTARTS ( ?var1 , \"tt\" ) ) ) . } ORDER BY ASC( ?var1 ) LIMIT 10"}}
{"id": "test_5452", "question": "What educational institutions did Ferr\u00e1n Catal\u00e1-L\u00f3pez attend, when did he study there, and what degrees did he earn?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?institution ?institutionLabel ?start ?end ?degreeLabel WHERE {\n  wd:Q28606975 p:P69 ?statement .\n  ?statement ps:P69 ?institution .\n  ?institution rdfs:label ?institutionLabel .\n  FILTER ( LANG( ?institutionLabel ) = \"en\" ) OPTIONAL {\n    ?statement pq:P580 ?start .\n  }\n  OPTIONAL {\n    ?statement pq:P582 ?end .\n  }\n  OPTIONAL {\n    ?statement pq:P512 ?degree .\n    ?degree rdfs:label ?degreeLabel .\n    FILTER ( LANG( ?degreeLabel ) = \"en\" )\n  }\n}", "paraphrases": ["Educational history of Ferr\u00e1n Catal\u00e1-L\u00f3pez including institutions, enrollment periods, and degrees.", "Show me the universities Ferr\u00e1n Catal\u00e1-L\u00f3pez went to, the start and end dates of his studies, and the academic degrees he obtained, all in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 ?var5Label WHERE { <http://www.wikidata.org/entity/Q28606975> <http://www.wikidata.org/prop/P69> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P69> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P580> ?var3 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var4 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P512> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_5453", "question": "What are the image, coordinates, social media handles, website, and ORCID of the scholarly article \"G8: a novel domain associated with polycystic kidney disease and non-syndromic hearing loss\"?", "sparql": "SELECT ?label ?image ?coordinates ?youtubeId ?githubUsername ?twitterUsername ?facebookUsername ?instagramUsername ?website ?orcid ?wikipediaArticle WHERE { wd:Q24319899 rdfs:label ?label . FILTER(LANG(?label) = \"en\") OPTIONAL { wd:Q24319899 wdt:P18 ?image . } OPTIONAL { wd:Q24319899 wdt:P625 ?coordinates . } OPTIONAL { wd:Q24319899 wdt:P1651 ?youtubeId . } OPTIONAL { wd:Q24319899 wdt:P2037 ?githubUsername . } OPTIONAL { wd:Q24319899 wdt:P2002 ?twitterUsername . } OPTIONAL { wd:Q24319899 wdt:P2013 ?facebookUsername . } OPTIONAL { wd:Q24319899 wdt:P2003 ?instagramUsername . } OPTIONAL { wd:Q24319899 wdt:P856 ?website . } OPTIONAL { wd:Q24319899 wdt:P496 ?orcid . } OPTIONAL { ?wikipediaArticle schema:about wd:Q24319899 ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> . } }", "paraphrases": ["Does the academic paper titled \"G8: a novel domain associated with polycystic kidney disease and non-syndromic hearing loss\" have any associated YouTube video, GitHub profile, Twitter handle, or ORCID iD?", "Please provide the English label, official website, and any available social media usernames (Twitter, Instagram, Facebook, GitHub), ORCID, and Wikipedia link for the article \"G8: a novel domain associated with polycystic kidney disease and non-syndromic hearing loss\"."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q24319899> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var12 ) ) ) . VALUES ( ?var12 ?var13 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q24319899> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q24319899> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q24319899> <http://www.wikidata.org/prop/direct/P1651> ?var5 . } OPTIONAL { <http://www.wikidata.org/entity/Q24319899> <http://www.wikidata.org/prop/direct/P2037> ?var6 . } OPTIONAL { <http://www.wikidata.org/entity/Q24319899> <http://www.wikidata.org/prop/direct/P2002> ?var7 . } OPTIONAL { <http://www.wikidata.org/entity/Q24319899> <http://www.wikidata.org/prop/direct/P2013> ?var8 . } OPTIONAL { <http://www.wikidata.org/entity/Q24319899> <http://www.wikidata.org/prop/direct/P2003> ?var9 . } OPTIONAL { <http://www.wikidata.org/entity/Q24319899> <http://www.wikidata.org/prop/direct/P856> ?var10 . } OPTIONAL { <http://www.wikidata.org/entity/Q24319899> <http://www.wikidata.org/prop/direct/P496> ?var11 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q24319899> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var13 )"}}
{"id": "test_5454", "question": "List members of the Senedd with their parliamentary term numbers, excluding those with Welsh Wikipedia pages.", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT DISTINCT ?person ?personLabel ( GROUP_CONCAT( DISTINCT ?termOrdinal ; SEPARATOR = \" \" ) AS ?termOrdinals ) WHERE {\n  ?person p:P39 ?statement .\n  ?statement ps:P39 ?position .\n  ?position wdt:P279 * wd:Q3406079 .\n  ?statement pq:P2937 ?term .\n  OPTIONAL {\n    ?term p:P31 ?termInstance .\n    ?termInstance pq:P1545 ?termOrdinal .\n  } MINUS {\n    ?wikipediaPage schema:about ?person ; schema:inLanguage \"cy\" .\n    ?wikipediaPage schema:isPartOf <https://cy.wikipedia.org/> .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}\nGROUP BY ?person ?personLabel", "paraphrases": ["Who are the people who served in the Welsh Parliament, what terms did they serve in, and which of them do not have a Welsh-language Wikipedia page?", "Please provide the names and the sequence of parliamentary terms (e.g., 1st, 2nd, etc.) for all members of the Senedd, but exclude anyone who has a Welsh-language Wikipedia article."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ( GROUP_CONCAT ( DISTINCT ?var2 ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/P39> [ ( <http://www.wikidata.org/prop/statement/P39> / <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q3406079> ; <http://www.wikidata.org/prop/qualifier/P2937> ?var4 ] . OPTIONAL { ?var4 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/qualifier/P1545> ) ?var2 . } ?var5 <http://schema.org/about> ?var1 . MINUS { ?var6 <http://schema.org/about> ?var1 . ?var6 <http://schema.org/inLanguage> \"cy\". } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } GROUP BY ?var1 ?var1Label"}}
{"id": "test_5455", "question": "Chemical compounds and the number of distinct physical entities they interact with.", "sparql": "SELECT ?compound ?compoundLabel ( COUNT( DISTINCT ?interactingEntity ) AS ?interactionCount ) WHERE { ?compound wdt:P31 wd:Q11173 . ?compound wdt:P129 ?interactingEntity . ?compound rdfs:label ?compoundLabel . FILTER(LANG(?compoundLabel) = \"en\") } GROUP BY ?compound ?compoundLabel", "paraphrases": ["Which chemical compounds interact with other physical entities, and how many distinct entities does each one interact with?", "List all chemical compounds along with the count of distinct physical entities they physically interact with."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11173> . ?var1 <http://www.wikidata.org/prop/direct/P129> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } GROUP BY ?var1 ?var1Label"}}
{"id": "test_5456", "question": "Who are the politicians that have served in both the UK House of Commons and the Welsh Assembly?", "sparql": "SELECT DISTINCT ?person ?personLabel WHERE { ?person (wdt:P39/wdt:P279*) wd:Q3406079 . ?person (wdt:P39/wdt:P279*) wd:Q16707842 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["List all individuals who have held a seat in the UK Parliament and also been a Member of the Senedd.", "Which Welsh politicians have been members of both the British Parliament and the Welsh National Assembly?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P39> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3406079> . ?var1 ( <http://www.wikidata.org/prop/direct/P39> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q16707842> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_5457", "question": "What are the city districts of Z\u00fcrich and which districts border the Z\u00fcrich District?", "sparql": "SELECT ?kreis ?kreisLabel ?bordering_district ?bordering_districtLabel WHERE { ?bordering_district wdt:P47 wd:Q660732 . ?kreis wdt:P31 wd:Q19644409 . ?kreis rdfs:label ?kreisLabel . ?bordering_district rdfs:label ?bordering_districtLabel . FILTER(LANG(?kreisLabel) = \"en\") FILTER(LANG(?bordering_districtLabel) = \"en\") }", "paraphrases": ["List all the Kreise in the city of Z\u00fcrich along with the districts that share a border with Z\u00fcrich District.", "Show me the administrative subdivisions of Z\u00fcrich city and the neighboring districts in the canton."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P47> <http://www.wikidata.org/entity/Q660732> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19644409> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5458", "question": "What are the image, coordinates, Wikipedia link, official website, and social media handles for Flat Time House?", "sparql": "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?label ?image ?coordinates ?wikipediaArticle ?youtubeId ?githubUsername ?twitterUsername ?facebookUsername ?instagramUsername ?website ?orcid WHERE {\n  OPTIONAL {\n    wd:Q28407491 rdfs:label ?label .\n    FILTER ( LANG( ?label ) = ?lang ) VALUES ( ?lang ?priority ) {\n      ( \"en\" 1 ) ( \"de\" 2 ) ( \"fr\" 3 ) ( \"it\" 4 )\n    }\n  }\n  OPTIONAL {\n    wd:Q28407491 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q28407491 wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    wd:Q28407491 wdt:P1651 ?youtubeId .\n  }\n  OPTIONAL {\n    wd:Q28407491 wdt:P2037 ?githubUsername .\n  }\n  OPTIONAL {\n    wd:Q28407491 wdt:P2002 ?twitterUsername .\n  }\n  OPTIONAL {\n    wd:Q28407491 wdt:P2013 ?facebookUsername .\n  }\n  OPTIONAL {\n    wd:Q28407491 wdt:P2003 ?instagramUsername .\n  }\n  OPTIONAL {\n    wd:Q28407491 wdt:P856 ?website .\n  }\n  OPTIONAL {\n    wd:Q28407491 wdt:P496 ?orcid .\n  }\n  OPTIONAL {\n    ?wikipediaArticle rdf:type schema:Article ; schema:about wd:Q28407491 ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n}\nORDER BY ?priority", "paraphrases": ["What is the English label, image, location, and official website of Flat Time House, and does it have any Twitter, Instagram, GitHub, or ORCID identifiers?", "Can you provide the public information available for Flat Time House in the UK, including its image, geographic coordinates, Wikipedia page, official website, and any social media profiles?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q28407491> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var12 ) ) ) . VALUES ( ?var12 ?var13 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q28407491> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q28407491> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q28407491> <http://www.wikidata.org/prop/direct/P1651> ?var5 . } OPTIONAL { <http://www.wikidata.org/entity/Q28407491> <http://www.wikidata.org/prop/direct/P2037> ?var6 . } OPTIONAL { <http://www.wikidata.org/entity/Q28407491> <http://www.wikidata.org/prop/direct/P2002> ?var7 . } OPTIONAL { <http://www.wikidata.org/entity/Q28407491> <http://www.wikidata.org/prop/direct/P2013> ?var8 . } OPTIONAL { <http://www.wikidata.org/entity/Q28407491> <http://www.wikidata.org/prop/direct/P2003> ?var9 . } OPTIONAL { <http://www.wikidata.org/entity/Q28407491> <http://www.wikidata.org/prop/direct/P856> ?var10 . } OPTIONAL { <http://www.wikidata.org/entity/Q28407491> <http://www.wikidata.org/prop/direct/P496> ?var11 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q28407491> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var13 )"}}
{"id": "test_5459", "question": "What is the English label and image of the Antiquarian Museum in Caerleon?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?image ?coordinates ?youtubeId ?githubUsername ?twitterUsername ?facebookUsername ?instagramUsername ?website ?orcid WHERE {\n  wd:Q25893856 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    wd:Q25893856 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q25893856 wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    wd:Q25893856 wdt:P1651 ?youtubeId .\n  }\n  OPTIONAL {\n    wd:Q25893856 wdt:P2037 ?githubUsername .\n  }\n  OPTIONAL {\n    wd:Q25893856 wdt:P2002 ?twitterUsername .\n  }\n  OPTIONAL {\n    wd:Q25893856 wdt:P2013 ?facebookUsername .\n  }\n  OPTIONAL {\n    wd:Q25893856 wdt:P2003 ?instagramUsername .\n  }\n  OPTIONAL {\n    wd:Q25893856 wdt:P856 ?website .\n  }\n  OPTIONAL {\n    wd:Q25893856 wdt:P496 ?orcid .\n  }\n}", "paraphrases": ["Can you provide the official image and any social media or website links for the Antiquarian Museum, Caerleon?", "What are the details available for the Antiquarian Museum, Caerleon on Wikidata, including its location, image, and online profiles?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q25893856> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var12 ) ) ) . VALUES ( ?var12 ?var13 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q25893856> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q25893856> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q25893856> <http://www.wikidata.org/prop/direct/P1651> ?var5 . } OPTIONAL { <http://www.wikidata.org/entity/Q25893856> <http://www.wikidata.org/prop/direct/P2037> ?var6 . } OPTIONAL { <http://www.wikidata.org/entity/Q25893856> <http://www.wikidata.org/prop/direct/P2002> ?var7 . } OPTIONAL { <http://www.wikidata.org/entity/Q25893856> <http://www.wikidata.org/prop/direct/P2013> ?var8 . } OPTIONAL { <http://www.wikidata.org/entity/Q25893856> <http://www.wikidata.org/prop/direct/P2003> ?var9 . } OPTIONAL { <http://www.wikidata.org/entity/Q25893856> <http://www.wikidata.org/prop/direct/P856> ?var10 . } OPTIONAL { <http://www.wikidata.org/entity/Q25893856> <http://www.wikidata.org/prop/direct/P496> ?var11 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q25893856> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var13 )"}}
{"id": "test_5460", "question": "Companies with CEOs and their occupations", "sparql": "SELECT ?company ?companyLabel ?ceo ?ceoLabel ?occupation ?occupationLabel WHERE { ?company p:P169 ?statement . ?statement ps:P169 ?ceo . ?statement pq:P106 ?occupation . ?company rdfs:label ?companyLabel . ?ceo rdfs:label ?ceoLabel . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?companyLabel) = \"en\") FILTER(LANG(?ceoLabel) = \"en\") FILTER(LANG(?occupationLabel) = \"en\") } LIMIT 10", "paraphrases": ["Which companies have CEOs, and what are the occupations of those CEOs?", "List companies along with their chief executive officers and the occupations of those officers."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 ( <http://www.wikidata.org/prop/P169> / <http://www.wikidata.org/prop/qualifier/P794> ) [] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_5461", "question": "What is the English label, description, and image of Paris, Kentucky?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?description ?image WHERE {\n  OPTIONAL {\n    wd:Q3181341 rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n  OPTIONAL {\n    wd:Q3181341 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q3181341 schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["Can you show me the description and picture of Paris, Kentucky, in English?", "What does Paris, Kentucky look like, and what is it known as in English?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q3181341> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q3181341> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q3181341> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_5462", "question": "How many cities are listed in Wikidata?", "sparql": "SELECT (COUNT(?city) AS ?count) WHERE { ?city wdt:P31 wd:Q515 . }", "paraphrases": ["What is the total number of cities in Wikidata?", "Count the number of entities classified as cities in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1114> <http://www.wikidata.org/entity/Q515> . }"}}
{"id": "test_5463", "question": "Author names and fallback URLs for the artwork \"<script>alert(\"!Mediengruppe Bitnik\");</script>\"", "sparql": "SELECT ?authorName (CONCAT(\"string1\", ENCODE_FOR_URI(?authorName)) AS ?fallback) WHERE { wd:Q43981055 wdt:P2093 ?authorName . }", "paraphrases": ["What are the names of the authors of the artwork \"<script>alert(\"!Mediengruppe Bitnik\");</script>\", and what are the fallback strings generated from those names?", "Please list the authors of the artwork \"<script>alert(\"!Mediengruppe Bitnik\");</script>\" and provide a URL-encoded fallback string prefixed with \"string1\" for each."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COALESCE ( ?var2 , CONCAT ( \"string1\", ENCODE_FOR_URI ( ?var1Label ) ) ) AS ?var3 ) WHERE { <http://www.wikidata.org/entity/Q43981055> <http://www.wikidata.org/prop/direct/P50> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,da,de,es,fr,nl,no,ru,sv,zh\". } }"}}
{"id": "test_5464", "question": "Multilingual descriptions and external IDs for Skype", "sparql": "SELECT ?propertyLabel ?value WHERE { { wd:Q40984 schema:description ?value . BIND(\"Description\" AS ?propertyLabel) } UNION { wd:Q40984 wdt:P9346 ?value . BIND(\"France 24 topic ID (French)\" AS ?propertyLabel) } UNION { wd:Q40984 wdt:P9618 ?value . BIND(\"AlternativeTo software ID\" AS ?propertyLabel) } UNION { wd:Q40984 wdt:P973 ?value . BIND(\"Described at URL\" AS ?propertyLabel) } UNION { wd:Q40984 wdt:P9885 ?value . BIND(\"Bing entity ID\" AS ?propertyLabel) } } ORDER BY ?propertyLabel", "paraphrases": ["What are the descriptions of Skype in different languages, and what are its external identifiers like France 24 topic ID, AlternativeTo ID, and Bing entity ID?", "Show me all the language descriptions of Skype along with its URLs and external IDs such as AlternativeTo and Bing entity ID."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q40984> ?var1 ?var2 . }"}}
{"id": "test_5465", "question": "Treffpunkt and the German label of Wikipedia:Kontor Hamburg", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?term ?meetingPoint ?meetingPointLabel WHERE {\n  BIND(\"Treffpunkt\" AS ?term)\n  BIND(wd:Q18577776 AS ?meetingPoint)\n  ?meetingPoint rdfs:label ?meetingPointLabel .\n  FILTER(LANG(?meetingPointLabel) = \"de\")\n}", "paraphrases": ["What is the German name of the Wikipedia meeting point in Hamburg, and how is it related to the term 'Treffpunkt'?", "Show me the term 'Treffpunkt' alongside the German label of the Wikimedia regional meeting point in Hamburg."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { BIND ( \"Treffpunkt\" AS ?var1 ). VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q18577776> ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_5466", "question": "What is the image of the person with SNAC ARK ID w6252f9b?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?person wdt:P3430 \"w6252f9b\" .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n}", "paraphrases": ["Can you show me the Wikimedia Commons image associated with Harve Bennett?", "Which image is linked to the Social Networks and Archival Context identifier w6252f9b?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6252f9b\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5467", "question": "People born on August 3rd and their birth years", "sparql": "SELECT ?personLabel (YEAR(?birthDate) AS ?birthYear) WHERE { ?person wdt:P569 ?birthDate . FILTER (MONTH(?birthDate) = 8 && DAY(?birthDate) = 3) . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } LIMIT 10", "paraphrases": ["Who were born on August 3rd, and in what years?", "List up to 10 people with their English names and the years they were born, if their birth date is August 3rd."], "info": {"raw_sparql": "SELECT ?var1Label ( YEAR ( ?var2 ) AS ?var3 ) WHERE { BIND ( MONTH ( NOW ( ) ) AS ?var4 ). BIND ( DAY ( NOW ( ) ) AS ?var5 ). ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . FILTER ( ( ( MONTH ( ?var2 ) = \"08\" ) && ( DAY ( ?var2 ) = \"03\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10"}}
{"id": "test_5468", "question": "Image of James McDowell with SNAC ARK ID w6hh6qvt", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6hh6qvt\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the Wikimedia Commons image for James McDowell, identified by the SNAC ARK ID w6hh6qvt?", "Show me the image associated with the SNAC ARK ID w6hh6qvt."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6hh6qvt\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5469", "question": "Italian politician Giancarlo Innocenzi: labels in English, German, French, and Italian, his image on Commons, and his Italian Wikipedia page.", "sparql": "SELECT ?label ?image ?coordinates ?wikipediaArticle WHERE { wd:Q3762879 rdfs:label ?label . FILTER (LANG(?label) IN (\"it\", \"en\", \"de\", \"fr\")) OPTIONAL { wd:Q3762879 wdt:P18 ?image . } OPTIONAL { wd:Q3762879 wdt:P625 ?coordinates . } OPTIONAL { ?wikipediaArticle rdf:type schema:Article ; schema:about wd:Q3762879 ; schema:inLanguage \"it\" ; schema:isPartOf <https://it.wikipedia.org/> . } VALUES (?labelLang ?sortOrder) { (\"it\" 1) (\"en\" 2) (\"de\" 3) (\"fr\" 4) } FILTER (LANG(?label) = ?labelLang) } ORDER BY ?sortOrder", "paraphrases": ["What are the labels for Giancarlo Innocenzi in English, German, French, and Italian, along with his image and Italian Wikipedia link?", "Show me the multilingual labels, image, and Italian Wikipedia article for the Italian politician Giancarlo Innocenzi, ordered by language preference: Italian first, then English, German, and French."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q3762879> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var7 ) ) ) . VALUES ( ?var7 ?var8 ) { ( \"it\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q3762879> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q3762879> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"it\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q3762879> <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q3762879> ; <http://schema.org/inLanguage> \"it\"; <http://schema.org/isPartOf> <https://it.wikipedia.org/> . } } ORDER BY ASC( ?var8 )"}}
{"id": "test_5470", "question": "What properties are associated with pulmonary valve disease?", "sparql": "SELECT DISTINCT ?property WHERE { ?subject ?property wd:Q18556989 . }", "paraphrases": ["Which properties link other entities to pulmonary valve disease?", "List all properties that have pulmonary valve disease as their object."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q18556989> . }"}}
{"id": "test_5471", "question": "What are the names and images of amateur wrestlers on Wikidata?", "sparql": "SELECT ?person ?personLabel ?image WHERE { ?person wdt:P106 wd:Q12369333 . OPTIONAL { ?person wdt:P18 ?image . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } LIMIT 100", "paraphrases": ["Show me a list of amateur wrestlers along with their photos, if available.", "Who are the people whose occupation is amateur wrestler, and do they have any images associated with them?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q19595175> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_5472", "question": "Image of the person with SNAC ARK ID w6nk6kq9", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6nk6kq9\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What images are associated with Sigmar Polke in Wikimedia Commons?", "Show me the images of the individual identified by the SNAC ARK ID w6nk6kq9."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6nk6kq9\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5473", "question": "Hillforts in Latvia", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?hillfort ?hillfortLabel WHERE {\n  ?hillfort wdt:P31 wd:Q744099 .\n  ?hillfort wdt:P17 wd:Q211 .\n  ?hillfort rdfs:label ?hillfortLabel .\n  FILTER ( LANG( ?hillfortLabel ) = \"en\" )\n}", "paraphrases": ["What are the hillforts located in Latvia?", "List the English-named hillforts in Latvia."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q744099> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q211> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"lv\". } }"}}
{"id": "test_5474", "question": "Author of SVCCA paper and their ORCID ID", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?author ?authorLabel(COALESCE(?orcid , \"No ORCID\") AS ?orcidOrFallback) WHERE {\n  wd:Q44652630 wdt:P50 ?author .\n  OPTIONAL {\n    ?author wdt:P496 ?orcid .\n  }\n  ?author rdfs:label ?authorLabel .\n  FILTER(LANG(?authorLabel) = \"en\")\n}", "paraphrases": ["Who is the author of the academic article \"SVCCA: Singular Vector Canonical Correlation Analysis for Deep Learning Dynamics and Interpretability\", and what is their ORCID identifier?", "List the author of the SVCCA article along with their ORCID, or indicate if no ORCID is available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COALESCE ( ?var2 , CONCAT ( \"string1\", ENCODE_FOR_URI ( ?var1Label ) ) ) AS ?var3 ) WHERE { <http://www.wikidata.org/entity/Q44652630> <http://www.wikidata.org/prop/direct/P50> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,da,de,es,fr,nl,no,ru,sv,zh\". } }"}}
{"id": "test_5475", "question": "What is the image of the person with SNAC ARK ID w6n58r5t?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6n58r5t\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Can you show me the Wikimedia Commons image associated with Orson F. Whitney?", "Show the image file for the archival record identified by SNAC ARK ID w6n58r5t."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6n58r5t\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5476", "question": "List of concert halls in Wikidata with English labels.", "sparql": "SELECT ?concertHall ?label WHERE { ?concertHall wdt:P31 wd:Q1060829 . ?concertHall rdfs:label ?label . FILTER(LANG(?label) = \"en\") } LIMIT 10", "paraphrases": ["What are some examples of concert halls that have English labels in Wikidata?", "Show me up to 10 concert halls with their English names from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1060829> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr\". } } LIMIT 10"}}
{"id": "test_5477", "question": "Administrative subdivisions of China, France, Canada, and Germany with English, Chinese, French, and German labels, plus ISO 3166-2 and INSEE codes.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subdivision ?label_en ?label_zh ?label_fr ?label_de ?iso_code ?insee_code WHERE {\n  VALUES ?country {\n    wd:Q148 wd:Q142 wd:Q16 wd:Q183\n  }\n  ?country wdt:P150 ?subdivision .\n  OPTIONAL {\n    ?subdivision rdfs:label ?label_en .\n    FILTER ( LANG( ?label_en ) = \"en\" )\n  }\n  OPTIONAL {\n    ?subdivision rdfs:label ?label_zh .\n    FILTER ( LANG( ?label_zh ) = \"zh\" )\n  }\n  OPTIONAL {\n    ?subdivision rdfs:label ?label_fr .\n    FILTER ( LANG( ?label_fr ) = \"fr\" )\n  }\n  OPTIONAL {\n    ?subdivision rdfs:label ?label_de .\n    FILTER ( LANG( ?label_de ) = \"de\" )\n  }\n  OPTIONAL {\n    ?subdivision wdt:P300 ?iso_code\n  }\n  OPTIONAL {\n    ?subdivision wdt:P2585 ?insee_code\n  }\n}", "paraphrases": ["What are the administrative divisions of China, France, Canada, and Germany, along with their names in English, Chinese, French, and German, and their ISO 3166-2 and INSEE region codes?", "Please list all administrative subdivisions of China, France, Canada, and Germany, including their labels in four languages and their corresponding ISO 3166-2 and INSEE codes."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { VALUES ( ?var8 ) { ( <http://www.wikidata.org/entity/Q148> ) ( <http://www.wikidata.org/entity/Q142> ) ( <http://www.wikidata.org/entity/Q16> ) ( <http://www.wikidata.org/entity/Q183> ) } ?var8 <http://www.wikidata.org/prop/direct/P150> ?var1 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"zh\" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"fr\" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"de\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P300> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2585> ?var7 . } }"}}
{"id": "test_5478", "question": "Administrative divisions of France, Canada, and China with English, Chinese, French, German labels, ISO codes, and French INSEE codes.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?division(SAMPLE(?enLabel) AS ?labelEn)(SAMPLE(?zhLabel) AS ?labelZh)(SAMPLE(?frLabel) AS ?labelFr)(SAMPLE(?deLabel) AS ?labelDe)(SAMPLE(?isoCodeVar) AS ?isoCode)(SAMPLE(?inseeCodeVar) AS ?inseeCode) WHERE {\n  VALUES ?country {\n    wd:Q142 wd:Q16 wd:Q148\n  }\n  ?country wdt:P150 ?division .\n  OPTIONAL {\n    ?division rdfs:label ?enLabel .\n    FILTER(LANG(?enLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?division rdfs:label ?zhLabel .\n    FILTER(LANG(?zhLabel) = \"zh\")\n  }\n  OPTIONAL {\n    ?division rdfs:label ?frLabel .\n    FILTER(LANG(?frLabel) = \"fr\")\n  }\n  OPTIONAL {\n    ?division rdfs:label ?deLabel .\n    FILTER(LANG(?deLabel) = \"de\")\n  }\n  OPTIONAL {\n    ?division wdt:P300 ?isoCodeVar\n  }\n  OPTIONAL {\n    ?division wdt:P2585 ?inseeCodeVar\n  }\n}\nGROUP BY ?division", "paraphrases": ["What are the administrative subdivisions of France, Canada, and China, and what are their names in English, Chinese, French, and German, along with their ISO 3166-2 and (for France) INSEE region codes?", "Please list all administrative regions of France, Canada, and China, including their labels in four languages (English, Chinese, French, German), their ISO 3166-2 codes, and if applicable, their French INSEE region codes."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( SAMPLE ( ?var3 ) AS ?var3 )( SAMPLE ( ?var4 ) AS ?var4 )( SAMPLE ( ?var5 ) AS ?var5 )( SAMPLE ( ?var6 ) AS ?var6 )( SAMPLE ( ?var7 ) AS ?var7 ) WHERE { VALUES ( ?var8 ) { ( <http://www.wikidata.org/entity/Q148> ) ( <http://www.wikidata.org/entity/Q142> ) ( <http://www.wikidata.org/entity/Q16> ) } ?var8 <http://www.wikidata.org/prop/direct/P150> ?var1 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"zh\" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"fr\" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"de\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P300> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2585> ?var7 . } } GROUP BY ?var1"}}
{"id": "test_5479", "question": "WikiPathways pathways associated with humans", "sparql": "SELECT ?pathway ?wpId WHERE { ?pathway wdt:P2410 ?wpId ; wdt:P703 wd:Q15978631 . }", "paraphrases": ["What are the WikiPathways IDs for biological pathways found in Homo sapiens?", "List all WikiPathways pathways that occur in humans."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://identifiers.org/wikipathways/WP2654_r87979> <http://www.wikidata.org/prop/direct/P2410> ?var1 ; <http://www.wikidata.org/prop/direct/P703> <http://www.wikidata.org/entity/Q15978631> . }"}}
{"id": "test_5480", "question": "Official website and English Wikipedia page for OneJet airline.", "sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 wdt:P856 <http://www.onejet.com/> . OPTIONAL { ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") } ?var2 schema:about ?var1 ; schema:inLanguage \"en\" ; a schema:Article . FILTER(STRSTARTS(STR(?var2), \"https://en.wikipedia.org/\")) }", "paraphrases": ["What is the official website of OneJet, and what is its English Wikipedia article?", "Show me the English label and Wikipedia page for the airline with the official website http://www.onejet.com."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.onejet.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.onejet.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.onejet.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.onejet.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.onejet.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.onejet.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.onejet.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://onejet.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://onejet.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://onejet.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://onejet.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5481", "question": "What is the English and German label and description of Skyward Express?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { VALUES ?item { wd:Q26794481 } ?item rdfs:label ?itemLabel . ?item schema:description ?description . FILTER(LANG(?itemLabel) IN (\"en\", \"de\")) FILTER(LANG(?description) IN (\"en\", \"de\")) }", "paraphrases": ["Can you show me the name and description of the Kenyan airline Skyward Express in English and German?", "What do we know about Skyward Express in English and German, such as its name and description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.skywardexpress.co.ke/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.skywardexpress.co.ke/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.skywardexpress.co.ke/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.skywardexpress.co.ke/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.skywardexpress.co.ke/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.skywardexpress.co.ke> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.skywardexpress.co.ke> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://skywardexpress.co.ke> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://skywardexpress.co.ke> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://skywardexpress.co.ke/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://skywardexpress.co.ke/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5482", "question": "Catwoman labels in English, German, French, and Italian with image, Wikipedia link, and official website.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?label ?image ?wikipedia ?website WHERE {\n  VALUES(?lang ?order) {(\"en\" 1)(\"de\" 2)(\"fr\" 3)(\"it\" 4)\n  }\n  wd:Q158952 rdfs:label ?label .\n  FILTER(LANG(?label) = ?lang)\n  OPTIONAL {\n    wd:Q158952 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q158952 wdt:P856 ?website .\n  }\n  ?wikipedia schema:about wd:Q158952 ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n}\nORDER BY ?order", "paraphrases": ["What are the labels for Catwoman in English, German, French, and Italian, along with her image, Wikipedia page, and official website?", "Show me Catwoman\u2019s name in English, German, French, and Italian, plus her Wikimedia image, English Wikipedia article, and DC Comics official website, ordered by language."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q158952> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var12 ) ) ) . VALUES ( ?var12 ?var13 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q158952> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q158952> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q158952> <http://www.wikidata.org/prop/direct/P1651> ?var5 . } OPTIONAL { <http://www.wikidata.org/entity/Q158952> <http://www.wikidata.org/prop/direct/P2037> ?var6 . } OPTIONAL { <http://www.wikidata.org/entity/Q158952> <http://www.wikidata.org/prop/direct/P2002> ?var7 . } OPTIONAL { <http://www.wikidata.org/entity/Q158952> <http://www.wikidata.org/prop/direct/P2013> ?var8 . } OPTIONAL { <http://www.wikidata.org/entity/Q158952> <http://www.wikidata.org/prop/direct/P2003> ?var9 . } OPTIONAL { <http://www.wikidata.org/entity/Q158952> <http://www.wikidata.org/prop/direct/P856> ?var10 . } OPTIONAL { <http://www.wikidata.org/entity/Q158952> <http://www.wikidata.org/prop/direct/P496> ?var11 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q158952> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var13 )"}}
{"id": "test_5483", "question": "What properties and values are associated with Claude Monet in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?objectLabel ?propertyLabel ?object WHERE {\n  wd:Q296 ?property ?object .\n  FILTER ( STRSTARTS( STR( ?property ) , \"http://www.wikidata.org/prop/direct/\" ) ) OPTIONAL {\n    ?object rdfs:label ?objectLabel .\n    FILTER ( LANG( ?objectLabel ) = \"en\" )\n  }\n  BIND( IRI( REPLACE( STR( ?property ) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\" ) ) AS ?propertyEntity ) OPTIONAL {\n    ?propertyEntity rdfs:label ?propertyLabel .\n    FILTER ( LANG( ?propertyLabel ) = \"en\" )\n  }\n}", "paraphrases": ["What are the English labels of the properties and their values for the painter Claude Monet?", "Show me all the Wikidata properties (with their English names) and corresponding values for Claude Monet, excluding non-Wikidata properties."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2Label ?var2 WHERE { ?var3 ?var2 ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q296> ) ) ) . }"}}
{"id": "test_5484", "question": "Chemical compounds and their UMLS CUI identifiers", "sparql": "SELECT ?compound ?umlsCui WHERE { ?compound wdt:P31 wd:Q11173 . ?compound wdt:P2892 ?umlsCui . }", "paraphrases": ["Which chemical compounds have UMLS CUI codes, and what are those codes?", "List all chemical compounds along with their corresponding UMLS CUI numbers."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11173> . ?var1 <http://www.wikidata.org/prop/direct/P2892> ?var2 . }"}}
{"id": "test_5485", "question": "What are the most common topics in the scientific works authored by Todd R. Klaenhammer?", "sparql": "SELECT ?count ?subjectLabel WHERE { { SELECT ?subject (COUNT(?work) AS ?count) WHERE { ?work wdt:P50 wd:Q44797166 . ?work wdt:P921 ?subject . } GROUP BY ?subject ORDER BY DESC(?count) } ?subject rdfs:label ?subjectLabel . FILTER(LANG(?subjectLabel) = \"en\") }", "paraphrases": ["How many works by Todd R. Klaenhammer are about each subject, and what are those subjects in English?", "List the main subjects of Todd R. Klaenhammer\u2019s publications, sorted by how often they appear, with English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label WHERE { { SELECT ?var4 ( COUNT ( ?var5 ) AS ?var1 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q44797166> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . } GROUP BY ?var4 ORDER BY DESC( ?var1 ) } BIND ( SUBSTR ( ?var6Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q44797166> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . }"}}
{"id": "test_5486", "question": "What geographic regions is Cape Town part of, including its administrative divisions, country, and continent?", "sparql": "SELECT DISTINCT ?location WHERE { wd:Q5465 (wdt:P131|wdt:P17|wdt:P30)* ?location . }", "paraphrases": ["Show all places that Cape Town belongs to through administrative, national, or continental hierarchy.", "List all entities connected to Cape Town via country, administrative region, or continent relationships."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q13817023> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_5487", "question": "Images related to Gilean McVean, including his works\u2019 topics and co-authors.", "sparql": "SELECT DISTINCT ?image WHERE { { wd:Q5561586 wdt:P18 ?image . } UNION { ?work wdt:P50 wd:Q5561586 ; wdt:P921 ?topic . ?topic wdt:P18 ?image . } UNION { ?work wdt:P50 wd:Q5561586 . ?coauthor wdt:P50 ?work ; wdt:P18 ?image . } }", "paraphrases": ["What images are associated with Gilean McVean, either as his own photo, the subjects of his publications, or his co-authors?", "Show me all images connected to Gilean McVean \u2014 including those of the topics he wrote about and his collaborators."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { <http://www.wikidata.org/entity/Q5561586> <http://www.wikidata.org/prop/direct/P18> ?var1 . } UNION { <http://www.wikidata.org/entity/Q5561586> !( <http://www.wikidata.org/prop/direct/P1889> ) ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . FILTER ( ( ( ?var2 != <http://www.wikidata.org/entity/Q5> ) ) ) . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q5561586> . { ?var3 <http://www.wikidata.org/prop/direct/P921> [ <http://www.wikidata.org/prop/direct/P18> ?var1 ] . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P50> ?var3 . ?var4 <http://www.wikidata.org/prop/direct/P18> ?var1 . } } }"}}
{"id": "test_5488", "question": "ISO codes, capitals, areas, continents, currencies, top-level domains, calling codes, mobile codes, official languages, emergency numbers, highest and lowest points of all countries.", "sparql": "SELECT DISTINCT \n  ?isoCode \n  ?countryLabel \n  ?capitalLabel \n  ?area \n  ?continentLabel \n  ?currencyLabel \n  ?tld \n  ?callingCode \n  ?mcc \n  ?officialLanguageLabel \n  ?emergencyNumber \n  ?highestPointLabel \n  ?lowestPointLabel \nWHERE {\n  ?country wdt:P297 ?isoCode .\n  ?country wdt:P36 ?capital .\n  ?country wdt:P30 ?continent .\n  ?country wdt:P2046 ?area .\n  ?country wdt:P38 ?currency .\n  ?country wdt:P78 ?tld .\n  ?country wdt:P474 ?callingCode .\n  ?country wdt:P2258 ?mcc .\n  ?country wdt:P37 ?officialLanguage .\n  ?country wdt:P2852 ?emergencyNumber .\n  ?country wdt:P610 ?highestPoint .\n  ?country wdt:P1589 ?lowestPoint .\n\n  OPTIONAL { ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") }\n  OPTIONAL { ?capital rdfs:label ?capitalLabel . FILTER(LANG(?capitalLabel) = \"en\") }\n  OPTIONAL { ?continent rdfs:label ?continentLabel . FILTER(LANG(?continentLabel) = \"en\") }\n  OPTIONAL { ?currency rdfs:label ?currencyLabel . FILTER(LANG(?currencyLabel) = \"en\") }\n  OPTIONAL { ?officialLanguage rdfs:label ?officialLanguageLabel . FILTER(LANG(?officialLanguageLabel) = \"en\") }\n  OPTIONAL { ?highestPoint rdfs:label ?highestPointLabel . FILTER(LANG(?highestPointLabel) = \"en\") }\n  OPTIONAL { ?lowestPoint rdfs:label ?lowestPointLabel . FILTER(LANG(?lowestPointLabel) = \"en\") }\n}\nORDER BY ASC(?isoCode)", "paraphrases": ["What are the ISO 3166-1 alpha-2 codes, capitals, areas, continents, currencies, internet domains, country calling codes, mobile country codes, official languages, emergency phone numbers, highest points, and lowest points for each country?", "Please list all countries with their ISO codes, capitals, areas, continents, currencies, top-level domains, calling codes, mobile codes, official languages, emergency numbers, and their highest and lowest geographic points."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2Label ?var3Label ?var4 ?var5Label ?var6Label ?var7Label ?var8 ?var9 ?var10Label ?var11Label ?var12Label ?var13Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P297> ?var1 . ?var2 <http://www.wikidata.org/prop/direct/P17> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P36> ?var3 . ?var2 <http://www.wikidata.org/prop/direct/P30> ?var5 . ?var2 <http://www.wikidata.org/prop/direct/P2046> ?var4 . ?var2 <http://www.wikidata.org/prop/direct/P38> ?var6 . ?var2 <http://www.wikidata.org/prop/direct/P78> ?var7 . ?var2 <http://www.wikidata.org/prop/direct/P474> ?var8 . ?var2 <http://www.wikidata.org/prop/direct/P2258> ?var9 . ?var2 <http://www.wikidata.org/prop/direct/P37> ?var10 . ?var2 <http://www.wikidata.org/prop/direct/P2852> ?var11 . ?var2 <http://www.wikidata.org/prop/direct/P610> ?var12 . ?var2 <http://www.wikidata.org/prop/direct/P1589> ?var13 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pt,pt,en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_5489", "question": "Image of Herbert Baxter Adams (SNAC ARK ID: w6xg9zbh)", "sparql": "SELECT ?image WHERE { ?person wdt:P3430 \"w6xg9zbh\" . OPTIONAL { ?person wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with Herbert Baxter Adams in Wikidata?", "Show me the Wikimedia Commons image for the person with SNAC ARK ID w6xg9zbh."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6xg9zbh\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5490", "question": "What are the Arabic-script spellings of male given names?", "sparql": "SELECT ?name ?arabicName WHERE { ?name wdt:P31 wd:Q12308941 . ?name wdt:P282 wd:Q8196 . ?name wdt:P1705 ?arabicName . }", "paraphrases": ["Can you list male first names that are written in the Arabic alphabet and show their native Arabic forms?", "Show me the original Arabic names of boys' names that use the Arabic script."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q12308941> . ?var1 <http://www.wikidata.org/prop/direct/P282> <http://www.wikidata.org/entity/Q8196> . ?var1 <http://www.wikidata.org/prop/direct/P1705> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ar\". } }"}}
{"id": "test_5491", "question": "Items near longitude 2, latitude 41 with images, Commons categories, and addresses.", "sparql": "SELECT ?item ?itemLabel ?coord ?image ?commonsCategory ?address WHERE { ?item wdt:P625 ?coord . BIND(REPLACE(STR(?coord), \"POINT\\\\((.*)\\\\)\", \"$1\") AS ?coords) BIND(STRBEFORE(?coords, \" \") AS ?lonStr) BIND(STRAFTER(?coords, \" \") AS ?latStr) BIND(xsd:double(?lonStr) AS ?lon) BIND(xsd:double(?latStr) AS ?lat) FILTER(?lon >= 1.6 && ?lon <= 2.2 && ?lat >= 41.2 && ?lat <= 41.5) OPTIONAL { ?item wdt:P18 ?image . } OPTIONAL { ?item wdt:P373 ?commonsCategory . } OPTIONAL { ?item wdt:P969 ?address . } ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } LIMIT 100", "paraphrases": ["What are the places located around 2\u00b0E and 41\u00b0N that have an image, a Wikimedia Commons category, or a street address?", "Show me entities in the Pened\u00e8s region of Spain near the coordinates (2, 41), including their labels, images, Commons categories, and addresses."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(2 41)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(2 41)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_5492", "question": "List of English-labeled politicians who are human beings.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?politician ( STR( ?politicianLabel ) AS ?label ) WHERE {\n  ?politician wdt:P31 wd:Q5 .\n  ?politician wdt:P106 wd:Q82955 .\n  ?politician rdfs:label ?politicianLabel .\n  FILTER ( LANG( ?politicianLabel ) = \"en\" )\n}\nLIMIT 10000", "paraphrases": ["Who are some human politicians with English labels?", "Show me the names of politicians who are humans, in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82955> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,fr\". } } LIMIT 10000"}}
{"id": "test_5493", "question": "Football players who played for S.L. Benfica B.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?player WHERE {\n  ?player wdt:P54 wd:Q7387221 .\n}", "paraphrases": ["Which football players have been members of S.L. Benfica B?", "List all players who have played for the reserve team of S.L. Benfica."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P54> <http://www.wikidata.org/entity/Q7387221> . }"}}
{"id": "test_5494", "question": "What are the known volcanic landforms in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?volcanic_landform WHERE {\n  ?volcanic_landform wdt:P31 wd:Q29025902 .\n}", "paraphrases": ["List all entities that are instances of volcanic landforms.", "Can you show me examples of volcanic landforms from Wikidata?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q22302160> . }"}}
{"id": "test_5495", "question": "What are the administrative divisions of China, Canada, and Germany, along with their English, Chinese, French, and German names, ISO codes, and flag images?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?division(SAMPLE(?en_label) AS ?label_en)(SAMPLE(?zh_label) AS ?label_zh)(SAMPLE(?fr_label) AS ?label_fr)(SAMPLE(?de_label) AS ?label_de)(SAMPLE(?iso_code_val) AS ?iso_code)(SAMPLE(?insee_code_val) AS ?insee_code)(SAMPLE(?flag_image_val) AS ?flag_image)(SAMPLE(?flag_icon_val) AS ?flag_icon) WHERE {\n  VALUES ?country {\n    wd:Q148 wd:Q16 wd:Q183\n  }\n  ?country wdt:P150 ?division .\n  OPTIONAL {\n    ?division rdfs:label ?en_label .\n    FILTER(LANG(?en_label) = \"en\")\n  }\n  OPTIONAL {\n    ?division rdfs:label ?zh_label .\n    FILTER(LANG(?zh_label) = \"zh\")\n  }\n  OPTIONAL {\n    ?division rdfs:label ?fr_label .\n    FILTER(LANG(?fr_label) = \"fr\")\n  }\n  OPTIONAL {\n    ?division rdfs:label ?de_label .\n    FILTER(LANG(?de_label) = \"de\")\n  }\n  OPTIONAL {\n    ?division wdt:P300 ?iso_code_val\n  }\n  OPTIONAL {\n    ?division wdt:P2585 ?insee_code_val\n  }\n  OPTIONAL {\n    ?division wdt:P163 ?flag_image_val\n  }\n  OPTIONAL {\n    ?division wdt:P41 ?flag_icon_val\n  }\n}\nGROUP BY ?division", "paraphrases": ["Show me the regions and states of China, Germany, and Canada, including their names in four languages and any available flag or ISO codes.", "List the subdivisions of China, Canada, and Germany with their local language labels and official identifiers like ISO 3166-2 codes and flag icons."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( SAMPLE ( ?var3 ) AS ?var3 )( SAMPLE ( ?var4 ) AS ?var4 )( SAMPLE ( ?var5 ) AS ?var5 )( SAMPLE ( ?var6 ) AS ?var6 )( SAMPLE ( ?var7 ) AS ?var7 )( SAMPLE ( ?var8 ) AS ?var8 )( SAMPLE ( ?var9 ) AS ?var9 ) WHERE { VALUES ( ?var10 ) { ( <http://www.wikidata.org/entity/Q148> ) ( <http://www.wikidata.org/entity/Q16> ) ( <http://www.wikidata.org/entity/Q183> ) } ?var10 <http://www.wikidata.org/prop/direct/P150> ?var1 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"zh\" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"fr\" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"de\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P300> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2585> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P163> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P41> ?var9 . } } GROUP BY ?var1"}}
{"id": "test_5496", "question": "Image of Robert Louis Stevenson from SNAC ARK ID w63t9f52", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w63t9f52\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Robert Louis Stevenson's SNAC ARK ID w63t9f52?", "Show me the Wikimedia Commons image of Robert Louis Stevenson, identified by the SNAC ARK ID w63t9f52."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w63t9f52\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5497", "question": "Years when works by Linda Hurcombe and Oliver Creighton were cited, with author names and IDs.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?publicationYear ?authorLabelFinal WHERE {\n  {\n    SELECT ?author ?publicationYear(COUNT(?citedWork) AS ?citationCount) WHERE {\n      VALUES ?author {\n        wd:Q42942906 wd:Q42309863\n      }\n      ?work wdt:P50 ?author .\n      ?work wdt:P577 ?publicationDate .\n      BIND(YEAR(?publicationDate) AS ?publicationYear)\n      ?citedWork wdt:P2860 ?work .\n    }\n    GROUP BY ?author ?publicationYear\n  }\n  ?author rdfs:label ?authorLabel .\n  FILTER(LANG(?authorLabel) = \"en\")\n  BIND(REPLACE(STR(?author) , \"http://www.wikidata.org/entity/\" , \"\") AS ?authorId)\n  BIND(CONCAT(?authorLabel , \" (\" , ?authorId , \")\") AS ?authorLabelFinal)\n}\nORDER BY ASC(?publicationYear)", "paraphrases": ["In which years were the scholarly works of archaeologists Linda Hurcombe and Oliver Creighton cited by other works, and what are their full names and Wikidata IDs?", "Show me a list of publication years and author names (with Wikidata IDs) for works authored by Linda Hurcombe and Oliver Creighton that have been cited by other publications."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label WHERE { { SELECT ?var1 ?var2 ?var4 ?var5 WHERE { { SELECT ?var4 ?var1 ( COUNT ( ?var6 ) AS ?var2 ) WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". VALUES ( ?var4 ) { ( <http://www.wikidata.org/entity/Q42942906> ) ( <http://www.wikidata.org/entity/Q42309863> ) } BIND ( STR ( YEAR ( ?var7 ) ) AS ?var1 ). ?var8 <http://www.wikidata.org/prop/direct/P50> ?var4 . ?var8 <http://www.wikidata.org/prop/direct/P577> ?var7 . ?var6 <http://www.wikidata.org/prop/direct/P2860> ?var8 . } GROUP BY ?var4 ?var1 } ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . } } BIND ( CONCAT ( ?var5 , \" (\", SUBSTR ( STR ( ?var4 ) ,\"32\"^^<http://www.w3.org/2001/XMLSchema#integer> ) , \")\" ) AS ?var3Label ). } ORDER BY ASC( ?var1 )"}}
{"id": "test_5498", "question": "Items that started between 1988 and 1998 and ended between 1998 and 2008.", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item WHERE {\n  ?item wdt:P580 ?startTime .\n  ?item wdt:P582 ?endTime .\n  FILTER ( ?startTime >= \"1988-11-22T00:00:00Z\" ^^ xsd:dateTime && ?startTime <= \"1998-11-22T23:59:59Z\" ^^ xsd:dateTime ) FILTER ( ?endTime >= \"1998-11-22T00:00:00Z\" ^^ xsd:dateTime && ?endTime <= \"2008-11-22T23:59:59Z\" ^^ xsd:dateTime )\n}", "paraphrases": ["What events, projects, or exhibitions began between November 1988 and November 1998 and ended between November 1998 and November 2008?", "Show me time-bound entities like exhibitions, TV series, or research trials that were active from the late 1980s to the late 1990s and concluded in the 2000s."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P580> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P582> ?var3 . FILTER ( ( ( ?var2 >= \"1988-11-22T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1998-11-22T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var3 >= \"1998-11-22T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var3 <= \"2008-11-22T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_5499", "question": "What is Aristotle an instance of?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?class WHERE {\n  wd:Q868 wdt:P31 ?class .\n}", "paraphrases": ["What category does the philosopher Aristotle belong to?", "List the classes that Aristotle is an example of."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q868> . }"}}
{"id": "test_5500", "question": "What administrative entity contains the Bludenz District?", "sparql": "SELECT ?containing_entity WHERE { ?containing_entity wdt:P150 wd:Q698606 . }", "paraphrases": ["Which region includes Bludenz District as one of its subdivisions?", "What is the larger administrative unit that Bludenz District belongs to?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P150> <http://www.wikidata.org/prop/direct/Q698606> . }"}}
{"id": "test_5501", "question": "What is the English label and description of the album \"Metal\" by Annihilator, and does it have an image?", "sparql": "SELECT ?label ?description ?image WHERE { OPTIONAL { wd:Q650812 rdfs:label ?label . FILTER (LANG(?label) = \"en\") } OPTIONAL { wd:Q650812 schema:description ?description . FILTER (LANG(?description) = \"en\") } OPTIONAL { wd:Q650812 wdt:P18 ?image . } }", "paraphrases": ["Can you show me the title, description, and image of Annihilator\u2019s 2007 album \"Metal\"?", "What does the Wikidata entry for the album \"Metal\" by Annihilator say in English, and is there a picture available?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q650812> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q650812> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q650812> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_5502", "question": "Female Harvard PhD graduates and their occupations, with graduation year.", "sparql": "SELECT DISTINCT ?person ?personLabel ?end_date ?occupation WHERE { ?person wdt:P21 wd:Q6581072 . ?person wdt:P106 ?occupation . ?person p:P69 ?education_stmt . ?education_stmt ps:P69 wd:Q49112 . ?education_stmt pq:P512 wd:Q752297 . ?education_stmt pq:P582 ?end_date . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["Who are the women who earned a PhD from Harvard, what are their occupations, and when did they complete their degrees?", "List female individuals who completed a PhD at Harvard University, along with their occupations and the year they graduated."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P69> <http://www.wikidata.org/entity/Q49112> ; <http://www.wikidata.org/prop/P69> [ <http://www.wikidata.org/prop/qualifier/P512> <http://www.wikidata.org/entity/Q752297> ] ; <http://www.wikidata.org/prop/P69> [ <http://www.wikidata.org/prop/qualifier/P582> ?var2 ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_5503", "question": "What is the official website of C++?", "sparql": "SELECT ?website WHERE { wd:Q2407 wdt:P856 ?website .}", "paraphrases": ["Can you tell me the official website for the C++ programming language?", "Where can I find the official website for C++?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q2407-0dca5a16-4402-2c8c-c6f1-44bc66b4e95e> . }"}}
{"id": "test_5504", "question": "What are the most common occupations of people with articles on the Bengali Wikipedia?", "sparql": "SELECT (COUNT(?human) AS ?count) ?occupationLabel WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P106 ?occupation . ?article schema:about ?human ; schema:isPartOf <https://bn.wikipedia.org/> . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = \"en\") } GROUP BY ?occupationLabel ORDER BY DESC(?count)", "paraphrases": ["How many people on Bengali Wikipedia have each occupation, ranked from most to least common?", "Which professions are most represented among humans with Bengali Wikipedia articles?"], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) ?var1Label WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var3 <http://www.wikidata.org/prop/direct/P106> ?var1 . ?var4 <http://schema.org/about> ?var3 . ?var4 <http://schema.org/isPartOf> <https://bn.wikipedia.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"bn,en\". } } GROUP BY ?var1Label ORDER BY DESC( ?var2 )"}}
{"id": "test_5505", "question": "Lighthouses that are marked as different from others but not reciprocally in Wikidata.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?lighthouseA ?lighthouseALabel ?lighthouseB ?lighthouseBLabel WHERE {\n  ?lighthouseA wdt:P31 wd:Q39715 .\n  ?lighthouseB wdt:P31 wd:Q39715 .\n  ?lighthouseB wdt:P1889 ?lighthouseA .\n  FILTER ( ?lighthouseA != ?lighthouseB ) FILTER NOT EXISTS {\n    ?lighthouseA wdt:P1889 ?lighthouseB .\n  }\n  OPTIONAL {\n    ?lighthouseA rdfs:label ?lighthouseALabel .\n    FILTER ( LANG( ?lighthouseALabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?lighthouseB rdfs:label ?lighthouseBLabel .\n    FILTER ( LANG( ?lighthouseBLabel ) = \"en\" )\n  }\n}\nORDER BY ASC ( ?lighthouseALabel )", "paraphrases": ["Which lighthouses are listed as different from other lighthouses, but the reverse is not true?", "Show me pairs of lighthouses where one is identified as distinct from the other, but not the other way around, along with their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ( STRAFTER ( STR ( ?var1 ) , \"y/\" ) AS ?var3 )( \"P1889\" AS ?var4 )( STRAFTER ( STR ( ?var2 ) , \"y/\" ) AS ?var5 )( \"S3452\" AS ?var6 )( STRAFTER ( STR ( ?var2 ) , \"y/\" ) AS ?var7 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q39715> . ?var2 <http://www.wikidata.org/prop/direct/P1889> + ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q39715> . FILTER ( ( ( ?var2 != ?var1 ) ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P1889> ?var2 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en,es,fr,sv\". } } ORDER BY ASC( ?var1Label )ASC( ?var1 )"}}
{"id": "test_5506", "question": "Image of John J. McGilvra with SNAC ARK ID w6k37jf7", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6k37jf7\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6k37jf7?", "Show me the Wikimedia Commons image for the person identified by SNAC ARK ID w6k37jf7."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6k37jf7\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5507", "question": "What entities are connected to Penelope in Wikidata through non-instance-of statements, and what properties link them?", "sparql": "SELECT ?item ?statement ?property (SAMPLE(?qualifierProperty) AS ?qualifier) WHERE { { SELECT DISTINCT ?item ?statement ?property WHERE { ?statement ?prop wd:Q165769 . ?item ?claim ?statement . ?property wikibase:statementProperty ?prop . ?property wikibase:claim ?claim . FILTER (?property != wd:P31) } LIMIT 101 } OPTIONAL { ?statement ?qualifierProperty ?qualifierValue . ?qualifierProperty wikibase:qualifier ?qualifierProperty . } } GROUP BY ?item ?statement ?property", "paraphrases": ["Which works, characters, or media portray or reference Penelope from Greek mythology, and what type of relationship do they have with her?", "List all entities that are linked to Penelope via statements (excluding \"instance of\"), along with the properties used in those statements."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q165769> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_5508", "question": "What are the Wikipedia categories that combine South Carolina with other topics?", "sparql": "SELECT DISTINCT ?category ?categoryLabel WHERE { ?category p:P971 ?stmt . ?stmt ps:P971 wd:Q1456 . ?category rdfs:label ?categoryLabel . FILTER(LANG(?categoryLabel) = \"en\") } LIMIT 101", "paraphrases": ["List up to 101 categories on Wikipedia that include South Carolina as one of their intersecting topics.", "Which categories on Wikipedia are defined to intersect with South Carolina?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P971> <http://www.wikidata.org/entity/Q1456> . ?var1 <http://www.wikidata.org/prop/P971> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_5509", "question": "What is the Wikidata item for the film with IMDb ID tt5802404?", "sparql": "SELECT ?item WHERE { ?item wdt:P345 \"tt5802404\" . }", "paraphrases": ["Which movie on Wikidata has the IMDb identifier tt5802404?", "Find the Wikidata entity linked to the IMDb ID tt5802404."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5802404\". }"}}
{"id": "test_5510", "question": "What is Donald Trump\u2019s English label, description, image, number of children, and the position he held?", "sparql": "SELECT ?label ?description ?image ?children ?positionLabel WHERE { wd:Q22686 rdfs:label ?label . FILTER (LANG(?label) = \"en\") wd:Q22686 schema:description ?description . FILTER (LANG(?description) = \"en\") OPTIONAL { wd:Q22686 wdt:P18 ?image . } OPTIONAL { wd:Q22686 wdt:P1971 ?children . } OPTIONAL { wd:Q22686 wdt:P39 ?position . ?position rdfs:label ?positionLabel . FILTER (LANG(?positionLabel) = \"en\") } }", "paraphrases": ["Can you show me Donald Trump\u2019s profile including his photo, how many children he has, and the title of the office he held?", "Tell me about Donald Trump: his official title, description, image, and number of children, all in English."], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q22686> <http://schema.org/description> ?var1 . OPTIONAL { <http://www.wikidata.org/entity/Q22686> <http://www.wikidata.org/prop/direct/P1308> ?var2 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . ?var2 <http://www.wikidata.org/prop/direct/P18> ?var4 . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } <http://www.wikidata.org/entity/Q22686> <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . OPTIONAL { <http://www.wikidata.org/entity/Q22686> <http://www.wikidata.org/prop/direct/P18> ?var4 . } OPTIONAL { <http://www.wikidata.org/entity/Q22686> <http://www.wikidata.org/prop/direct/P1971> ?var6 . } FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var1 ) = \"en\" ) ) ) . }"}}
{"id": "test_5511", "question": "What are the identifiers and image associated with the botanist Clarke Courson Zeliff in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT * WHERE {\n  ?person rdfs:label \"Clarke Courson Zeliff\" @en .\n  OPTIONAL {\n    ?person wdt:P213 ?isni .\n  }\n  OPTIONAL {\n    ?person wdt:P214 ?viaf .\n  }\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?person wdt:P496 ?orcid .\n  }\n  OPTIONAL {\n    ?person wdt:P586 ?ipni .\n  }\n  OPTIONAL {\n    ?person wdt:P2006 ?zoobank .\n  }\n}", "paraphrases": ["Can you find the ISNI, VIAF, ORCID, IPNI, and ZooBank IDs for Clarke Courson Zeliff, along with his image if available?", "Show me the available authority control data and a photo for the American parasitologist Clarke Courson Zeliff."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"C C Zeliff\"@en . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/isPartOf> <https://species.wikimedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P213> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P214> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P586> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2006> ?var8 . } }"}}
{"id": "test_5512", "question": "What are the buildings that are also classified as universities?", "sparql": "SELECT ?universityBuilding ?universityBuildingLabel WHERE { ?universityBuilding wdt:P31 wd:Q3918 . ?universityBuilding wdt:P31 wd:Q41176 . ?universityBuilding rdfs:label ?universityBuildingLabel . FILTER(LANG(?universityBuildingLabel) = \"en\") } LIMIT 1000", "paraphrases": ["Show me the main buildings of universities that are categorized as both buildings and universities.", "List the English-named entities that are both a university and a building."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3918> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q41176> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 1000"}}
{"id": "test_5513", "question": "Czech labels and descriptions of political positions held by people.", "sparql": "SELECT ?position ?positionLabel ?positionDescription WHERE { ?person wdt:P39 ?position . ?position rdfs:label ?positionLabel . ?position schema:description ?positionDescription . FILTER (LANG(?positionLabel) = \"cs\") FILTER (LANG(?positionDescription) = \"cs\") } LIMIT 100", "paraphrases": ["What are the Czech names and descriptions of political offices held by individuals in Wikidata?", "Show me all political positions with their Czech labels and descriptions that have been held by people."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/statement/P39> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"cs\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"cs\" ) ) ) . } LIMIT 100"}}
{"id": "test_5514", "question": "Which film has the MovieMeter ID 1112906?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P1970 \"1112906\" .\n}", "paraphrases": ["What is the name of the film identified by the MovieMeter ID 1112906?", "Find the Wikidata item for the film with MovieMeter ID 1112906."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1970> \"1112906\". }"}}
{"id": "test_5515", "question": "Which properties are most commonly used on celestial bodies with known orbital semi-major axes?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?claimProperty ?label ?usageCount WHERE {\n  {\n    SELECT ?property ( COUNT( DISTINCT ?celestialBody ) AS ?usageCount ) WHERE {\n      ?celestialBody wdt:P2233 ?semiMajorAxis .\n      ?celestialBody ?property ?value .\n    }\n    GROUP BY ?property\n  }\n  ?claimProperty wikibase:claim ?property .\n  ?claimProperty rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}\nORDER BY DESC ( ?usageCount )", "paraphrases": ["What other data about planets and moons are most frequently recorded alongside their orbital semi-major axis in Wikidata?", "Show me the Wikidata properties most frequently associated with celestial bodies that have a semi-major axis value, sorted by usage count."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 WHERE { { SELECT ?var5 ( COUNT ( DISTINCT ?var6 ) AS ?var3 )( COUNT ( DISTINCT ?var7 ) AS ?var4 ) WHERE { ?var7 <http://www.wikidata.org/prop/direct/P223393> ?var8 . ?var7 ?var5 ?var6 . } GROUP BY ?var5 } ?var1 <http://wikiba.se/ontology#claim> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . } ORDER BY DESC( ?var4 )"}}
{"id": "test_5516", "question": "Which property links to the list of show caves in Germany?", "sparql": "SELECT ?property (COUNT(?property) AS ?count) WHERE { ?item ?prop wd:Q1850946 . ?property wikibase:directClaim ?prop . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["What property is used to connect the category \"Caves in Germany\" to the list \"List of show caves in Germany\"?", "Find the most frequently used property that points to the Wikidata item for \"list of show caves in Germany\"."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q1850946> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_5517", "question": "Who are the children of Arthur Conan Doyle, and what are their dates of birth?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?child ?childLabel ?birthDate WHERE {\n  wd:Q35610 wdt:P40 ?child .\n  OPTIONAL {\n    ?child wdt:P569 ?birthDate .\n  }\n  ?child rdfs:label ?childLabel .\n  FILTER(LANG(?childLabel) = \"en\")\n}\nLIMIT 10", "paraphrases": ["Children of Arthur Conan Doyle and their birth dates", "Can you list the names and birth dates of Arthur Conan Doyle\u2019s children?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q35610> <http://www.wikidata.org/prop/direct/P40> ?var1 . OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } } LIMIT 10"}}
{"id": "test_5518", "question": "Image of Abraham ibn Ezra from SNAC ARK ID w6gx4hnq", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6gx4hnq\" .\n  ?item wdt:P18 ?image\n}", "paraphrases": ["What is the Wikimedia Commons image associated with Abraham ibn Ezra\u2019s SNAC ARK ID w6gx4hnq?", "Show me the image linked to the entity identified by the SNAC ARK ID w6gx4hnq."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6gx4hnq\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5519", "question": "What journals have Paula Mart\u00ednez-Lavanchy published in, and how many times has she published in each, ranked by frequency?", "sparql": "SELECT ?journal ?journalLabel (COUNT(?work) AS ?publicationCount)\nWHERE {\n  ?work wdt:P50 wd:Q42411158 .\n  ?work wdt:P1433 ?journal .\n  ?journal rdfs:label ?journalLabelRaw .\n  FILTER(LANG(?journalLabelRaw) = \"en\") .\n  OPTIONAL { ?journal wdt:P1813 ?journalAbbrev } \n  BIND(COALESCE(?journalAbbrev, ?journalLabelRaw) AS ?journalLabel)\n}\nGROUP BY ?journal ?journalLabel\nORDER BY DESC(?publicationCount)", "paraphrases": ["Show the publication venues for researcher Paula Mart\u00ednez-Lavanchy, using abbreviated journal names where available, sorted by the number of her publications in each.", "Which scientific journals have featured the most publications by Paula Maria Mart\u00ednez-Lavanchy, and what are their common abbreviations?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q42411158> . ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1813> ?var6 . } BIND ( COALESCE ( ?var6 , ?var5Label ) AS ?var2Label ). } GROUP BY ?var1 ?var2Label ORDER BY DESC( ?var4 )"}}
{"id": "test_5520", "question": "What property is used to represent a ticker symbol in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?property ?propertyLabel WHERE {\n  ?property wdt:P1629 wd:Q1548784 .\n  ?property rdfs:label ?propertyLabel .\n  FILTER(LANG(?propertyLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Which Wikidata property corresponds to the concept of a stock ticker symbol?", "Can you tell me the name of the Wikidata property that is associated with ticker symbols?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P1629> <http://www.wikidata.org/entity/Q1548784> . } LIMIT 100"}}
{"id": "test_5521", "question": "What drugs are predicted to be effective against missense mutations in genes, along with the gene names and Ensembl IDs?", "sparql": "SELECT ?drug ?mutationType ?mutation ?ensemblId ?gene WHERE { ?gene wdt:P31 wd:Q7187 ; wdt:P594 ?ensemblId . ?mutation wdt:P3433 ?gene ; wdt:P31 ?mutationType ; wdt:P3354 ?drug . ?mutationType wdt:P2888 <http://purl.obolibrary.org/obo/SO_0001583> . }", "paraphrases": ["Which cancer drugs are associated with missense mutations in specific genes, and what are the corresponding gene identifiers in the Ensembl database?", "Show me the list of drugs that have a positive therapeutic prediction for missense mutations in human genes, including the mutation names, gene names, and their Ensembl IDs."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7187> ; <http://www.wikidata.org/prop/direct/P594> ?var4 . ?var3 <http://www.wikidata.org/prop/direct/P3433> ?var5 ; <http://www.wikidata.org/prop/direct/P31> ?var2 ; <http://www.wikidata.org/prop/direct/P3354> ?var1 . ?var2 <http://www.wikidata.org/prop/direct/P2888> <http://purl.obolibrary.org/obo/SO_0001583> . }"}}
{"id": "test_5522", "question": "Church buildings in Bas-Rhin with and without coordinates", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?var1 WHERE {\n  {\n    SELECT(\"Avec\" AS ?var1) WHERE {\n      ?church wdt:P131 + wd:Q12717 .\n      ?church(wdt:P31 / wdt:P279 *) wd:Q16970 .\n      ?church wdt:P625 ?coords .\n    }\n    LIMIT 1\n  } UNION {\n    SELECT(\"Sans\" AS ?var1) WHERE {\n      ?church wdt:P131 + wd:Q12717 .\n      ?church(wdt:P31 / wdt:P279 *) wd:Q16970 . MINUS {\n        ?church wdt:P625 [] .\n      }\n    }\n    LIMIT 1\n  }\n}\nORDER BY ASC(?var1)", "paraphrases": ["Are there church buildings in Bas-Rhin that have geographic coordinates, and are there any that don't?", "List whether church buildings in Bas-Rhin exist with and without coordinate data."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { { SELECT( \"Avec\" AS ?var1 )( COUNT ( DISTINCT ?var3 ) AS ?var2 ) WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var3 <http://www.wikidata.org/prop/direct/P131> + <http://www.wikidata.org/entity/Q12717> . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q16970> . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var4 . } } UNION { SELECT( \"Sans\" AS ?var1 )( COUNT ( DISTINCT ?var3 ) AS ?var2 ) WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var3 <http://www.wikidata.org/prop/direct/P131> + <http://www.wikidata.org/entity/Q12717> . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q16970> . MINUS { ?var3 <http://www.wikidata.org/prop/direct/P625> [] . } } } } ORDER BY ASC( ?var1 )"}}
{"id": "test_5523", "question": "French labels and descriptions of taxa with NCBI taxonomy IDs.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?taxon ?label ?description WHERE {\n  ?taxon wdt:P685 ?ncbiId .\n  ?taxon rdfs:label ?label .\n  ?taxon schema:description ?description .\n  FILTER(LANG(?label) = \"fr\")\n  FILTER(LANG(?description) = \"fr\")\n}\nLIMIT 100", "paraphrases": ["Which biological taxa have French labels and descriptions in Wikidata, and what are their NCBI IDs?", "Show me the French names and descriptions of species and other taxa that are registered in the NCBI taxonomy database."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P685> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"fr\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"fr\" ) ) ) . } LIMIT 100"}}
{"id": "test_5524", "question": "What is the English description of the item with Encyclopedia of Modern Ukraine ID 29999?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P4613 \"29999\" . OPTIONAL { ?item schema:description ?description FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Find the entity in Wikidata that has the ID 29999 in the Encyclopedia of Modern Ukraine and show its English description if available.", "Show the English description for the item identified by 29999 in the Encyclopedia of Modern Ukraine."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4613> \"55020\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5525", "question": "What Wikidata entity is described by the academic article \"Instances of Instances Modeled via Higher-Order Classes\"?", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P1343 wd:Q23959013 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["Which class is cited as a source for the scholarly article on higher-order classes?", "What is the name of the Wikidata class that references this academic article as its source?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q23959013> . }"}}
{"id": "test_5526", "question": "Female French-speaking mathematicians who died before 1947 and have a French Wikipedia page but not on Wikisource.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?mathematician ?mathematicianLabel ?deathDate ?wikipediaPage WHERE {\n  ?mathematician wdt:P106 wd:Q170790 ; wdt:P570 ?deathDate ; wdt:P1412 wd:Q150 ; wdt:P21 wd:Q6581072 .\n  FILTER ( YEAR( ?deathDate ) < 1947 ) .\n  ?wikipediaPage schema:about ?mathematician ; schema:isPartOf <https://fr.wikipedia.org/> . MINUS {\n    ?wikisourcePage schema:about ?mathematician ; schema:isPartOf <https://fr.wikisource.org/> .\n  }\n  ?mathematician rdfs:label ?mathematicianLabel .\n  FILTER ( LANG( ?mathematicianLabel ) = \"fr\" )\n}", "paraphrases": ["Who are the female mathematicians that spoke French, died before 1947, and have a French Wikipedia article but no page on French Wikisource?", "List the names, death dates, and French Wikipedia links of female mathematicians who used French as a language and passed away before 1947, excluding those with entries on French Wikisource."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q170790> ; <http://www.wikidata.org/prop/direct/P570> ?var2 ; <http://www.wikidata.org/prop/direct/P1412> <http://www.wikidata.org/entity/Q150> ; <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . FILTER ( ( ( YEAR ( ?var2 ) < \"1947\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/isPartOf> <https://fr.wikipedia.org/> . MINUS { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://fr.wikisource.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_5527", "question": "Cities with their English names and country codes", "sparql": "SELECT ?city ?cityLabel ?countryCode WHERE { ?city wdt:P31 wd:Q515 . ?city wdt:P17 ?country . ?country wdt:P297 ?countryCode . ?city rdfs:label ?cityLabel . FILTER(LANG(?cityLabel) = \"en\") } LIMIT 10", "paraphrases": ["What are the English names of cities and their corresponding ISO 3166-1 alpha-2 country codes?", "List the English names of cities along with the two-letter country codes of the countries they belong to."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P297> ?var2 . } LIMIT 10"}}
{"id": "test_5528", "question": "Wikimedia categories with main topic Serge Gainsbourg", "sparql": "SELECT ?category ?categoryLabel WHERE { ?category p:P301 ?statement . ?statement ps:P301 wd:Q1698 . ?category rdfs:label ?categoryLabel . }", "paraphrases": ["What Wikimedia categories have Serge Gainsbourg as their main topic?", "List all Wikipedia categories that are about Serge Gainsbourg."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P301> <http://www.wikidata.org/entity/Q1698> . ?var1 <http://www.wikidata.org/prop/P301> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_5529", "question": "Songs and albums where Bruce Springsteen is credited as performer or producer, along with any role qualifiers.", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?work ?statement ?property ?qualifierProperty WHERE {\n  ?statement ?statementProperty wd:Q1225 .\n  ?work ?claimProperty ?statement .\n  ?property wikibase:claim ?claimProperty ; wikibase:statementProperty ?statementProperty .\n  FILTER ( ?property != wd:P31 ) FILTER ( ?property IN ( wd:P175 , wd:P162 ) ) OPTIONAL {\n    ?statement ?qualifierProperty ?qualifierValue .\n    ?qualifierTemplate wikibase:qualifier ?qualifierProperty .\n  }\n}\nLIMIT 101", "paraphrases": ["What songs and albums is Bruce Springsteen associated with as a performer or producer, and what specific roles (like lead vocalist or guitarist) are mentioned?", "List all the music works linked to Bruce Springsteen with his role (performer or producer), and show any additional details about his role in each."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q1225> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_5530", "question": "Indian chess players", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?label WHERE {\n  ?person wdt:P106 wd:Q10873124 ; wdt:P27 wd:Q668 .\n  ?person rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Who are the Indian citizens who are professional chess players?", "List the names of chess players from India."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q10873124> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q668> . } LIMIT 100"}}
{"id": "test_5531", "question": "Image of Charles Carroll Everett with SNAC ARK ID w6qv41ct", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6qv41ct\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6qv41ct?", "Show me the Wikimedia Commons image for the person identified by SNAC ARK ID w6qv41ct."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6qv41ct\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5532", "question": "What is the English label for the occupation \"proprietor\" on Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?label WHERE {\n  wd:Q12794619 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["Show me the English name of the entity representing the occupation of proprietor.", "What is the English term used for \"proprietor\" as an occupation in Wikidata?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label WHERE { <http://www.wikidata.org/entity/Q12332456> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . }"}}
{"id": "test_5533", "question": "Image of the person with SNAC ARK ID w6bk1c9r.", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6bk1c9r\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the Wikimedia Commons image associated with Ewen Whitaker\u2019s SNAC ARK ID?", "Show me the image of the individual identified by the SNAC ARK ID w6bk1c9r."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6bk1c9r\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5534", "question": "Self-citations and external citations of John Goodall\u2019s works by year", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?publicationYear(COUNT(DISTINCT ?citingWork) AS ?selfCitationCount) ?citationType WHERE {\n  ?citedWork wdt:P50 wd:Q6235684 .\n  ?citingWork wdt:P2860 ?citedWork .\n  ?citingWork wdt:P577 ?publicationDate .\n  BIND(STR(YEAR(?publicationDate)) AS ?publicationYear)\n  BIND(IF(EXISTS {\n    ?citingWork wdt:P50 wd:Q6235684\n  }\n  , \"Self-citation\" , \"External citation\") AS ?citationType)\n}\nGROUP BY ?publicationYear ?citationType\nORDER BY DESC(?publicationYear)", "paraphrases": ["How many times has John Goodall cited his own works versus how many times have others cited them, grouped by publication year?", "Show me the count of self-citations and external citations of John Goodall\u2019s publications, broken down by year."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q6235684> . } , \"string1\", \"string2\" ) AS ?var4 ). BIND ( STR ( YEAR ( ?var5 ) ) AS ?var1 ). ?var6 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q6235684> . ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var6 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var5 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_5535", "question": "What roles or relationships is Cher known for in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?propertyLabel WHERE {\n  ?statement ?property wd:Q12003 .\n  FILTER ( STRSTARTS( STR( ?property ) , \"http://www.wikidata.org/prop/\" ) ) .\n  BIND( REPLACE( STR( ?property ) , \"http://www.wikidata.org/prop/(statement|qualifier|reference)/\" , \"\" ) AS ?propId ) .\n  BIND( IRI( CONCAT ( \"http://www.wikidata.org/entity/\" , ?propId ) ) AS ?wdProp ) .\n  ?wdProp rdfs:label ?propertyLabel .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" )\n}", "paraphrases": ["What people or things is Cher connected to as a relative, performer, or mother?", "Can you list all the relationships where Cher is the object, such as being a performer or winner?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q12003> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5536", "question": "Image of Guy Stanton Ford with SNAC ARK ID w6t74bw0", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6t74bw0\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with Guy Stanton Ford in Wikidata, given his SNAC ARK ID is w6t74bw0?", "Show me the Wikimedia Commons image of the person whose SNAC ARK ID is w6t74bw0."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6t74bw0\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5537", "question": "What is the image of Franz Liszt, identified by the SNAC ARK ID w63777pp?", "sparql": "SELECT ?image WHERE { ?person wdt:P3430 \"w63777pp\" . OPTIONAL { ?person wdt:P18 ?image . } }", "paraphrases": ["Image of person with SNAC ARK ID w63777pp", "Show me the Wikimedia Commons image associated with the SNAC ARK ID w63777pp."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w63777pp\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5538", "question": "What is the image of Oliver Ellsworth, identified by the SNAC ARK ID w6vt1vmn?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?image WHERE {\n  wd:Q515858 wdt:P3430 \"w6vt1vmn\" .\n  OPTIONAL {\n    wd:Q515858 wdt:P18 ?image .\n  }\n}", "paraphrases": ["Image of Oliver Ellsworth with SNAC ARK ID w6vt1vmn.", "Show me the Wikimedia Commons image for Oliver Ellsworth, whose SNAC ARK ID is w6vt1vmn."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6vt1vmn\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5539", "question": "Suburbs in the world with their names", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?suburb ?suburbLabel WHERE {\n  ?suburb wdt:P31 wd:Q188509 .\n  ?suburb rdfs:label ?suburbLabel .\n  FILTER ( LANG( ?suburbLabel ) = \"en\" )\n}", "paraphrases": ["What are the names of all suburbs listed in Wikidata?", "List all places that are classified as suburbs along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q188509> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_5540", "question": "What is the most commonly used property to indicate that someone is a fashion model?", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?statementProperty wd:Q4610556 . ?property wikibase:directClaim ?statementProperty . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which Wikidata property is used most frequently to assign the occupation \"fashion model\"?", "Show the property that has the highest number of instances linked to the profession of fashion model."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q4610556> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_5541", "question": "Hospitals and their geographic coordinates in English", "sparql": "SELECT ?location ?hospital ?hospitalLabel WHERE { ?hospital wdt:P31/wdt:P279* wd:Q16917 ; wdt:P625 ?location . ?hospital rdfs:label ?hospitalLabel . FILTER(LANG(?hospitalLabel) = \"en\") }", "paraphrases": ["What are the locations and names of all hospitals and their subclasses in English?", "List the English names and geographic coordinates of all entities that are hospitals or subclasses of hospitals."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { ?var2 ( <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q16917> ; <http://www.wikidata.org/prop/direct/P625> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,nl\". } }"}}
{"id": "test_5542", "question": "What are the current administrative subdivisions of the European Union (excluding France), and what are their ISO codes, English labels, and flag images?", "sparql": "SELECT ?division (SAMPLE(?isoCode_raw) AS ?isoCode) (SAMPLE(?inseeCode_raw) AS ?inseeCode) (SAMPLE(?flag_raw) AS ?flag) (SAMPLE(?label_raw) AS ?label) WHERE { wd:Q458 wdt:P150 ?eu_division . FILTER (?eu_division != wd:Q142) . ?eu_division p:P150 ?statement . ?statement ps:P150 ?division . FILTER (NOT EXISTS { ?statement pq:P582 ?end } ) . OPTIONAL { ?division wdt:P300 ?isoCode_raw . } OPTIONAL { ?division wdt:P2585 ?inseeCode_raw . } OPTIONAL { ?division wdt:P41 ?flag_raw . } OPTIONAL { ?division rdfs:label ?label_raw . FILTER (LANG(?label_raw) = \"en\") . } } GROUP BY ?division", "paraphrases": ["List the municipalities in the EU that are not part of France, along with their ISO 3166-2 codes and English names.", "Show me the English names and ISO codes of all current subdivisions of the European Union, excluding France."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( SAMPLE ( ?var3 ) AS ?var3 )( SAMPLE ( ?var4 ) AS ?var4 )( SAMPLE ( ?var5 ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q458> <http://www.wikidata.org/prop/direct/P150> ?var6 . FILTER ( ( ( ?var6 != <http://www.wikidata.org/entity/Q142> ) ) ) . ?var6 <http://www.wikidata.org/prop/P150> ?var7 . ?var7 <http://www.wikidata.org/prop/statement/P150> ?var1 . FILTER ( ( NOT EXISTS { ?var7 <http://www.wikidata.org/prop/qualifier/P582> ?var8 . } ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P300> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2585> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P41> ?var4 . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . } } GROUP BY ?var1"}}
{"id": "test_5543", "question": "Japanese prime ministers and their names in kana", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?primeMinister ?primeMinisterLabel ?kanaName WHERE {\n  ?primeMinister wdt:P39 wd:Q274948 .\n  ?primeMinister rdfs:label ?primeMinisterLabel .\n  FILTER ( LANG( ?primeMinisterLabel ) = \"en\" ) OPTIONAL {\n    ?primeMinister wdt:P1814 ?kanaName .\n  }\n}\nLIMIT 100", "paraphrases": ["Who are the prime ministers of Japan, and what are their names written in kana?", "List all Japanese prime ministers with their English names and corresponding kana readings, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja,en\". } ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q274948> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1814> ?var2 . } } LIMIT 100"}}
{"id": "test_5544", "question": "What are the parent categories or classes that long-term care belongs to as a subclass?", "sparql": "SELECT ?subclass ?subclassLabel WHERE { wd:Q6672123 wdt:P279 ?subclass . ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") }", "paraphrases": ["Parent classes of long-term care in Wikidata.", "Show me the English labels of the categories that long-term care is a subclass of."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q6672123> <http://www.wikidata.org/prop/direct/P31> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,zh\". } }"}}
{"id": "test_5545", "question": "Authors of the book Phantoms in the Brain", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?author WHERE {\n  ?author wdt:P800 wd:Q2149841 .\n}", "paraphrases": ["Who wrote the book Phantoms in the Brain?", "Can you list the people who are credited as authors of Phantoms in the Brain?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P800> <http://www.wikidata.org/entity/Q2149841> . } LIMIT 10000"}}
{"id": "test_5546", "question": "People educated at the University of Edinburgh with Twitter usernames and birthplaces, showing their names, Twitter handles prefixed with \"string1\", and birth locations.", "sparql": "SELECT DISTINCT ?personLabel (CONCAT(\"string1\", ?twitter) AS ?twitterPrefixed) ?birthLabel WHERE { ?person wdt:P31 wd:Q5 ; wdt:P69 wd:Q160302 ; wdt:P2002 ?twitter ; wdt:P19 ?birth . ?person rdfs:label ?personLabel . ?birth rdfs:label ?birthLabel . FILTER(LANG(?personLabel) = \"en\") . FILTER(LANG(?birthLabel) = \"en\") } LIMIT 10", "paraphrases": ["Who are some people educated at the University of Edinburgh who have Twitter accounts, and what are their birthplaces and Twitter usernames (with \"string1\" prepended)?", "List the names, Twitter usernames (prefixed with \"string1\"), and birthplaces of humans who studied at the University of Edinburgh."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ( CONCAT ( \"string1\", ?var2 ) AS ?var3 ) ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P69> <http://www.wikidata.org/entity/Q160302> . ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10"}}
{"id": "test_5547", "question": "People educated at the University of Edinburgh who have Twitter accounts and their residence locations.", "sparql": "SELECT DISTINCT ?person ?personLabel ?twitter ?residenceLabel ?location WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P69 wd:Q160302 . ?person wdt:P2002 ?twitter . ?person wdt:P551 ?residence . ?residence wdt:P625 ?location . ?person rdfs:label ?personLabel . ?residence rdfs:label ?residenceLabel . FILTER(LANG(?personLabel) = \"en\") FILTER(LANG(?residenceLabel) = \"en\") }", "paraphrases": ["Who are the humans educated at the University of Edinburgh that have Twitter usernames, and where do they reside?", "List the names of University of Edinburgh alumni with Twitter handles and their current places of residence, including geographic coordinates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ( CONCAT ( \"string1\", ?var2 ) AS ?var3 ) ?var4Label ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P69> <http://www.wikidata.org/entity/Q160302> . ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P551> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P625> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5548", "question": "Who are the Nobel laureates that have performed or appeared at Carnegie Hall?", "sparql": "SELECT DISTINCT ?awardRecipientLabel WHERE { ?awardRecipient (wdt:P166 / wdt:P279*) wd:Q7191 . ?awardRecipient wdt:P4104 ?carnegieHallId . ?awardRecipient rdfs:label ?awardRecipientLabel . FILTER(LANG(?awardRecipientLabel) = \"en\") }", "paraphrases": ["Which people who have won a Nobel Prize also have an identifier in the Carnegie Hall Linked Open Data database?", "Can you list the English names of all Nobel Prize winners (including subcategories like Physics or Literature) who are listed in the Carnegie Hall performer database?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P166> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7191> . ?var1 <http://www.wikidata.org/prop/direct/P4104> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5549", "question": "Living businesspeople who worked at McKinsey & Company, with their birth dates and images, sorted by oldest first.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?dob ?image WHERE {\n  ?person wdt:P106 wd:Q43845 .\n  ?person wdt:P108 wd:Q310207 .\n  ?person wdt:P18 ?image .\n  OPTIONAL {\n    ?person wdt:P569 ?dob .\n  }\n  FILTER NOT EXISTS {\n    ?person wdt:P570 ?deathDate .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}\nORDER BY DESC ( ?dob )", "paraphrases": ["Who are the living businesspeople employed by McKinsey & Company, and what are their birth dates and images?", "List the names, birth dates, and images of all living businesspeople who have worked at McKinsey & Company, ordered from oldest to youngest."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q43845> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P108> <http://www.wikidata.org/entity/Q310207> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } ) ) . } GROUP BY ?var1 ?var1Label ?var2 ?var3Label ORDER BY DESC( ?var5 )"}}
{"id": "test_5550", "question": "Hungarian labels and descriptions of properties used on hospitals", "sparql": "SELECT ?property ?propertyLabel ?propertyDescription WHERE { ?hospital wdt:P31 wd:Q16917 . ?hospital ?property ?value . FILTER(isIRI(?property)) FILTER(STRSTARTS(STR(?property), \"http://www.wikidata.org/prop/direct/\")) BIND(IRI(REPLACE(STR(?property), \"http://www.wikidata.org/prop/direct/\", \"http://www.wikidata.org/entity/\")) AS ?propertyItem) ?propertyItem rdfs:label ?propertyLabel . ?propertyItem schema:description ?propertyDescription . FILTER(LANG(?propertyLabel) = \"hu\") FILTER(LANG(?propertyDescription) = \"hu\") } LIMIT 100", "paraphrases": ["Which properties applied to hospitals have Hungarian labels and descriptions?", "Show me the Hungarian labels and descriptions of all properties that are used to describe hospitals in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q16917> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"hu\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"hu\" ) ) ) . } LIMIT 100"}}
{"id": "test_5551", "question": "Churches named after Mary Magdalene with their coordinates and countries", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?church ?coord ?countryLabel ?wikipedia WHERE {\n  VALUES ?church {\n    wd:Q333594 wd:Q1980605 wd:Q3501799 wd:Q784852 wd:Q17529460 wd:Q28706624 wd:Q17533721\n  }\n  ?church wdt:P625 ?coord .\n  OPTIONAL {\n    ?church wdt:P17 ?countryItem .\n    ?countryItem rdfs:label ?countryLabel .\n    FILTER(LANG(?countryLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?wikipedia schema:about ?church .\n  }\n}\nORDER BY ?church", "paraphrases": ["What are the geographic coordinates and countries of churches dedicated to Mary Magdalene, along with their Wikipedia pages?", "List churches named after Mary Magdalene, including their locations (coordinates), the countries they are in (in English), and links to their Wikipedia articles."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16970> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( CONTAINS ( ?var4Label , \"Magdalene\" ) || CONTAINS ( ?var4Label , \"Maddalena\" ) || CONTAINS ( ?var4Label , \"Madeleine\" ) || CONTAINS ( ?var4Label , \"Magdalena\" ) || CONTAINS ( ?var4Label , \"Madalena\" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var5 . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . } OPTIONAL { ?var3 <http://schema.org/about> ?var1 . FILTER ( ( !( STRSTARTS ( STR ( ?var3 ) , \"https://ca\" ) ) ) ) . } } ORDER BY ASC( ?var5Label )"}}
{"id": "test_5552", "question": "Artworks in the Louvre\u2019s Department of Paintings and their creation years with date precision.", "sparql": "SELECT DISTINCT ?artwork ( YEAR( ?date ) AS ?year ) ?precision WHERE { ?artwork wdt:P195 wd:Q3044768 ; p:P571 ?statement . ?statement psv:P571 [ wikibase:timeValue ?date ; wikibase:timePrecision ?precision ] . }", "paraphrases": ["What are the paintings in the Louvre\u2019s Department of Paintings, and when were they created, with how much precision (year, decade, etc.)?", "List all artworks from the Louvre\u2019s Department of Paintings, showing the year they were made and whether the date is precise to the year, decade, or another unit."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ( YEAR ( ?var2 ) AS ?var3 ) ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P195> <http://www.wikidata.org/entity/Q3044768> ; <http://www.wikidata.org/prop/P571> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/value/P571> [ <http://wikiba.se/ontology#timePrecision> ?var4 ; <http://wikiba.se/ontology#timeValue> ?var2 ] . }"}}
{"id": "test_5553", "question": "Scientific publications published in December 1996", "sparql": "SELECT DISTINCT ?publication WHERE { ?publication wdt:P577 ?date . FILTER ( ?date >= \"1996-12-01\"^^xsd:date && ?date <= \"1996-12-31\"^^xsd:date ) }", "paraphrases": ["Which scientific papers were published in December 1996?", "List all academic publications released in December 1996."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P571> | <http://www.wikidata.org/prop/direct/P575> | <http://www.wikidata.org/prop/direct/P577> | <http://www.wikidata.org/prop/direct/P1619> ) ?var2 . FILTER ( ( ( ?var2 >= \"1996-12-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1996-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_5554", "question": "What are the different types of entities named \"Hobart\" in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?entity ?entityLabel ?instanceTypeLabel WHERE {\n  ?entity wdt:P31 ?instanceType .\n  ?entity rdfs:label ?entityLabel .\n  FILTER ( ?entityLabel = \"Hobart\" @en ) .\n  ?instanceType rdfs:label ?instanceTypeLabel .\n  FILTER ( LANG( ?instanceTypeLabel ) = \"en\" )\n}", "paraphrases": ["Can you list all the things called \"Hobart\" and what category each one belongs to?", "Which classes do entities with the English label \"Hobart\" belong to?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Hobart\"@en . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_5555", "question": "List screamo bands with their official websites, Facebook usernames, countries, MusicBrainz IDs, and images.", "sparql": "SELECT ?bandLabel ?website ?facebookUsername ?countryLabel ?musicBrainzId ?image WHERE { ?band wdt:P31 wd:Q215380 . ?band wdt:P136 wd:Q11363 . OPTIONAL { ?band wdt:P856 ?website . } OPTIONAL { ?band wdt:P2013 ?facebookUsername . } OPTIONAL { ?band wdt:P495 ?country . ?country wdt:P31 wd:Q6256 . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") } OPTIONAL { ?band wdt:P434 ?musicBrainzId . } OPTIONAL { ?band wdt:P18 ?image . } ?band rdfs:label ?bandLabel . FILTER(LANG(?bandLabel) = \"en\") } LIMIT 10000", "paraphrases": ["Which screamo musical groups have official websites, Facebook profiles, countries of origin, MusicBrainz IDs, and images on Wikimedia Commons?", "Show me a list of screamo bands including their country of origin, official website, Facebook username, MusicBrainz ID, and logo image, if available."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4Label ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q215380> . ?var1 <http://www.wikidata.org/prop/direct/P136> <http://www.wikidata.org/entity/Q11363> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2013> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P4003> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P495> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P434> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var6 . } } LIMIT 10000"}}
{"id": "test_5556", "question": "How many medical conditions are caused by AIDS?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT(COUNT(?condition) AS ?count) WHERE {\n  ?condition wdt:P828 wd:Q12199 .\n}", "paraphrases": ["What is the number of diseases or outcomes that have AIDS as their underlying cause?", "List the count of conditions resulting from AIDS infection."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P828> <http://www.wikidata.org/entity/Q12199> . }"}}
{"id": "test_5557", "question": "Which software programs are named after other entities, and what are those entities?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var1Label ?var2Label WHERE {\n  ?var1 wdt:P31 / wdt:P279 * wd:Q7397 .\n  ?var1 wdt:P138 ?var2 .\n  ?var1 rdfs:label ?var1Label .\n  ?var2 rdfs:label ?var2Label .\n  FILTER(LANG(?var1Label) = \"en\")\n  FILTER(LANG(?var2Label) = \"en\")\n}", "paraphrases": ["Software named after people or things", "Show me a list of software and the entities they are named after."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label WHERE { ?var1 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/statement/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . ?var1 <http://www.wikidata.org/prop/direct/P138> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5558", "question": "Albert Einstein English label and all other language labels", "sparql": "SELECT ?item ?label WHERE { ?item rdfs:label \"Albert Einstein\"@en . ?item rdfs:label ?label . }", "paraphrases": ["What are all the language labels for the entity whose English label is \"Albert Einstein\"?", "Show me all the labels for Albert Einstein in every language, given that his English label is \"Albert Einstein\"."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"string1\"@en . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_5559", "question": "Who are the female siblings of Barack Obama?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?sibling WHERE {\n  wd:Q76 wdt:P3373 ?sibling .\n  ?sibling wdt:P21 wd:Q6581072 .\n}", "paraphrases": ["List all sisters of the 44th President of the United States.", "Which of Barack Obama\u2019s siblings are women?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { FILTER ( ( ( ?var1 != <http://rdf.freebase.com/ns/m.06w2sn5> ) ) ) . <http://rdf.freebase.com/ns/m.06w2sn5> <http://rdf.freebase.com/ns/people.person.sibling_s> ?var2 . ?var2 <http://rdf.freebase.com/ns/people.sibling_relationship.sibling> ?var1 . ?var1 <http://rdf.freebase.com/ns/people.person.gender> <http://rdf.freebase.com/ns/m.05zppz> . }"}}
{"id": "test_5560", "question": "What are Bill Clinton\u2019s official social media handles, website, Wikipedia page, and image on Wikimedia Commons, in English, German, French, and Italian?", "sparql": "SELECT ?label ?image ?coordinates ?wikipediaArticle ?youtubeId ?githubUsername ?twitterUsername ?facebookUsername ?instagramUsername ?officialWebsite ?orcid WHERE { wd:Q1124 rdfs:label ?label . VALUES (?lang ?order) { (\"en\" 1) (\"de\" 2) (\"fr\" 3) (\"it\" 4) } FILTER (LANG(?label) = ?lang) OPTIONAL { wd:Q1124 wdt:P18 ?image . } OPTIONAL { wd:Q1124 wdt:P625 ?coordinates . } OPTIONAL { wd:Q1124 wdt:P1651 ?youtubeId . } OPTIONAL { wd:Q1124 wdt:P2037 ?githubUsername . } OPTIONAL { wd:Q1124 wdt:P2002 ?twitterUsername . } OPTIONAL { wd:Q1124 wdt:P2013 ?facebookUsername . } OPTIONAL { wd:Q1124 wdt:P2003 ?instagramUsername . } OPTIONAL { wd:Q1124 wdt:P856 ?officialWebsite . } OPTIONAL { wd:Q1124 wdt:P496 ?orcid . } OPTIONAL { ?wikipediaArticle rdf:type schema:Article ; schema:about wd:Q1124 ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> . } } ORDER BY ?order", "paraphrases": ["Can you show me Bill Clinton\u2019s label in English, German, French, and Italian, along with his image, Wikipedia link, Twitter, Facebook, Instagram, official website, and other identifiers?", "Please retrieve Bill Clinton\u2019s multilingual labels and his public identifiers including his image, coordinates, YouTube ID, GitHub, Twitter, Facebook, Instagram, official website, and ORCID, sorted by language preference: English first, then German, French, and Italian."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q1124> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var12 ) ) ) . VALUES ( ?var12 ?var13 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q1124> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q1124> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q1124> <http://www.wikidata.org/prop/direct/P1651> ?var5 . } OPTIONAL { <http://www.wikidata.org/entity/Q1124> <http://www.wikidata.org/prop/direct/P2037> ?var6 . } OPTIONAL { <http://www.wikidata.org/entity/Q1124> <http://www.wikidata.org/prop/direct/P2002> ?var7 . } OPTIONAL { <http://www.wikidata.org/entity/Q1124> <http://www.wikidata.org/prop/direct/P2013> ?var8 . } OPTIONAL { <http://www.wikidata.org/entity/Q1124> <http://www.wikidata.org/prop/direct/P2003> ?var9 . } OPTIONAL { <http://www.wikidata.org/entity/Q1124> <http://www.wikidata.org/prop/direct/P856> ?var10 . } OPTIONAL { <http://www.wikidata.org/entity/Q1124> <http://www.wikidata.org/prop/direct/P496> ?var11 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q1124> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var13 )"}}
{"id": "test_5561", "question": "Artworks in the Museum of Fine Arts Boston collection with online descriptions", "sparql": "SELECT ?item ?itemLabel ?descriptionUrl WHERE { ?item wdt:P195 wd:Q49133 . ?item wdt:P973 ?descriptionUrl . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["What artworks from the Museum of Fine Arts Boston have online descriptions, and where can they be viewed?", "Show me the names of items in the Museum of Fine Arts Boston\u2019s collection along with the URLs where they are described online, in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P195> <http://www.wikidata.org/entity/Q49133> . ?var1 <http://www.wikidata.org/prop/direct/P973> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5562", "question": "Administrative region Dresden is part of", "sparql": "SELECT ?admin WHERE { wd:Q1731 wdt:P131 ?admin . }", "paraphrases": ["What is Dresden a part of?", "Tell me the administrative entity that Dresden belongs to."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P361> <http://www.wikidata.org/entity/Q1731> . ?var1 <http://www.wikidata.org/prop/P361> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_5563", "question": "Image of Tadeusz Borowski based on SNAC ARK ID w61w3c0s", "sparql": "SELECT ?image WHERE { ?entity wdt:P3430 \"w61w3c0s\" . OPTIONAL { ?entity wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w61w3c0s?", "Show me the Wikimedia Commons image for the entity with SNAC ARK ID w61w3c0s."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6tt608d\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5564", "question": "List of intentional communities and their names.", "sparql": "SELECT ?commune ?communeLabel WHERE { ?commune wdt:P31 wd:Q517760 . ?commune rdfs:label ?communeLabel . FILTER(LANG(?communeLabel) = \"en\") } LIMIT 100", "paraphrases": ["What are some examples of communes, and what are their names in English?", "Show me the English names of all known communes."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q517760> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 100"}}
{"id": "test_5565", "question": "Dutch descriptions of buildings that are not lighthouses, with English labels", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel WHERE {\n  ?item schema:description \"gebouw\" @nl .\n  FILTER ( NOT EXISTS {\n    ?item wdt:P31 wd:Q39715\n  }\n  ) .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["What are the English names of items described as \"gebouw\" in Dutch, excluding lighthouses?", "Show me the English labels of all non-lighthouse structures that are described as \"gebouw\" in Dutch."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://schema.org/description> \"string1\"@nl . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q39715> . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv\". } }"}}
{"id": "test_5566", "question": "What is the image of David Bates Douglass, identified by the SNAC ARK ID w6jw92cx?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?person wdt:P3430 \"w6jw92cx\" .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n}", "paraphrases": ["Image of person with SNAC ARK ID w6jw92cx", "Show me the Wikimedia Commons image associated with the SNAC record w6jw92cx."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6jw92cx\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5567", "question": "What are pairs of entities in Wikidata that are considered synonyms or variant spellings of each other?", "sparql": "SELECT ?item1 ?item1Label ?item2 ?item2Label WHERE { ?item1 wdt:P460 ?item2 . FILTER(STRSTARTS(STR(?item1), \"http://www.wikidata.org/entity/Q\")) FILTER(STRSTARTS(STR(?item2), \"http://www.wikidata.org/entity/Q\")) ?item1 rdfs:label ?item1Label . ?item2 rdfs:label ?item2Label . FILTER(LANG(?item1Label) = \"en\") FILTER(LANG(?item2Label) = \"en\") } LIMIT 1000", "paraphrases": ["Which names or concepts in English are listed as being the same as other names or concepts in Wikidata?", "Show me English names and their alternative spellings or equivalent terms from Wikidata, where the equivalence is marked as \"said to be the same as\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P460> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs,en\". } } LIMIT 1000"}}
{"id": "test_5568", "question": "Most common causes of death for fictional human characters in Wikidata, with English labels and counts.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?cause_of_death ?label(COUNT(*) AS ?count) WHERE {\n  ?fictional_human wdt:P31 wd:Q15632617 .\n  ?fictional_human wdt:P509 ?cause_of_death .\n  OPTIONAL {\n    ?cause_of_death rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n}\nGROUP BY ?cause_of_death ?label\nORDER BY DESC(?count) ASC(?label)\nLIMIT 40", "paraphrases": ["What are the most frequent causes of death among fictional humans, and how many times does each occur, with their English names?", "Show me the top 40 causes of death for fictional human characters, sorted by frequency, along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( COUNT (* ) AS ?var4 ) WHERE { BIND ( <http://www.wikidata.org/entity/Q15632617> AS ?var5 ). ?var6 <http://www.wikidata.org/prop/direct/P31> ?var5 . ?var6 <http://www.wikidata.org/prop/direct/P509> ?var1 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P31> ?var2 . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } } GROUP BY ?var1 ?var3 ?var2 ORDER BY DESC( ?var4 )ASC( ?var3 ) LIMIT 40"}}
{"id": "test_5569", "question": "Public limited companies in the UK and Ireland with English labels, sorted by Wikipedia popularity.", "sparql": "SELECT ?company ?label ?sitelinks WHERE { { ?company wdt:P17 wd:Q145 . } UNION { ?company wdt:P17 wd:Q27 . } ?company wdt:P31 wd:Q5225895 . OPTIONAL { ?company wikibase:sitelinks ?sitelinks . } ?company rdfs:label ?label . FILTER (LANG(?label) = \"en\") } GROUP BY ?company ?label ?sitelinks ORDER BY DESC(?sitelinks)", "paraphrases": ["What are the public limited companies in the United Kingdom and Ireland, and how many language versions of their Wikipedia pages exist?", "List the English names of public limited companies based in the UK or Ireland, ordered by the number of Wikipedia language editions they have."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q145> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q22> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q21> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q25> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q27> . } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5225895> . OPTIONAL { ?var1 <http://wikiba.se/ontology#sitelinks> ?var3 . } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1 ?var2 ?var3 ORDER BY DESC( ?var3 )"}}
{"id": "test_5570", "question": "List associations and their names.", "sparql": "SELECT ?association ?associationLabel WHERE { ?association wdt:P31 wd:Q15911314 . ?association rdfs:label ?associationLabel . } LIMIT 100", "paraphrases": ["What are some examples of associations and what are they called?", "Show me a list of organizations that are classified as associations along with their labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q15911314> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 100"}}
{"id": "test_5571", "question": "Japanese artists and their occupations", "sparql": "SELECT ?person ?personLabel WHERE { ?person (wdt:P106/wdt:P279*) wd:Q483501 . ?person wdt:P27 wd:Q17 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } LIMIT 100", "paraphrases": ["Who are some Japanese citizens who are artists or work in artistic professions?", "List up to 100 Japanese artists, including animators, painters, and other artistic roles."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja\". } ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q483501> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q17> . } LIMIT 100"}}
{"id": "test_5572", "question": "All properties and values associated with the architectural term \"fa\u00e7ade\" on Wikidata.", "sparql": "SELECT DISTINCT ?value ?property WHERE { wd:Q183061 ?property ?value .}", "paraphrases": ["What are all the properties and their corresponding values for the entity \"fa\u00e7ade\" in Wikidata?", "Show me every piece of information linked to the fa\u00e7ade (Q183061), including its multilingual descriptions and external database identifiers."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q183061> ?var2 ?var1 . }"}}
{"id": "test_5573", "question": "Works by Chantal Mayer-Crittenden, including publication date, journal, and co-authors.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?publicationDate ?work ?workLabel ( GROUP_CONCAT( DISTINCT ?instanceLabel ; SEPARATOR = \", \" ) AS ?instances ) ?numberOfPages ?publishedIn ?publishedInLabel ( GROUP_CONCAT( DISTINCT ?authorLabel ; SEPARATOR = \", \" ) AS ?allAuthors ) WHERE {\n  ?work wdt:P50 wd:Q44832229 .\n  OPTIONAL {\n    ?work wdt:P577 ?publicationDate\n  }\n  OPTIONAL {\n    ?work wdt:P1104 ?numberOfPages\n  }\n  OPTIONAL {\n    ?work wdt:P1433 ?publishedIn .\n    ?publishedIn rdfs:label ?publishedInLabel .\n    FILTER ( LANG( ?publishedInLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?work wdt:P31 ?instance .\n    ?instance rdfs:label ?instanceLabel .\n    FILTER ( LANG( ?instanceLabel ) = \"en\" )\n  }\n  ?work rdfs:label ?workLabel .\n  FILTER ( LANG( ?workLabel ) = \"en\" ) ?work wdt:P50 ?author .\n  ?author rdfs:label ?authorLabel .\n  FILTER ( LANG( ?authorLabel ) = \"en\" )\n}\nGROUP BY ?work ?workLabel ?publishedIn ?publishedInLabel ?publicationDate ?numberOfPages\nORDER BY DESC ( ?publicationDate )", "paraphrases": ["What are the scholarly articles authored by Chantal Mayer-Crittenden, and who are the co-authors, publication dates, and journals they were published in?", "List all works written by Chantal Mayer-Crittenden, sorted by most recent first, showing their publication dates, journals, instance types (e.g., scholarly article), and all contributing authors."], "info": {"raw_sparql": "SELECT( MIN ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ( GROUP_CONCAT ( DISTINCT ?var4Label ; SEPARATOR = \", \" ) AS ?var5 )( SAMPLE ( ?var6 ) AS ?var7 ) ?var8 ?var8Label ( GROUP_CONCAT ( DISTINCT ?var9Label ; SEPARATOR = \", \" ) AS ?var10 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q44832229> . ?var3 <http://www.wikidata.org/prop/direct/P50> ?var11 . OPTIONAL { ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12 . FILTER ( ( ( LANG ( ?var12 ) = \"en\" ) ) ) . } BIND ( COALESCE ( ?var12 , SUBSTR ( STR ( ?var11 ) ,\"32\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var9Label ). OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . } OPTIONAL { BIND ( <http://www.w3.org/2001/XMLSchema#date> ( ?var13 ) AS ?var1 ). ?var3 <http://www.wikidata.org/prop/direct/P577> ?var13 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1104> ?var6 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,no,ru,sv,zh\". } } GROUP BY ?var3 ?var3Label ?var8 ?var8Label ORDER BY DESC( ?var2 )"}}
{"id": "test_5574", "question": "Which human-associated WikiPathways pathway has the ID WP501?", "sparql": "SELECT ?pathway ?pathwayId WHERE { ?pathway wdt:P2410 \"WP501\" ; wdt:P703 wd:Q15978631 . BIND(\"WP501\" AS ?pathwayId) }", "paraphrases": ["Is there a WikiPathways pathway with ID WP501 that is found in humans, and if so, what is it?", "Show me the Wikidata item for the human pathway WP501 from WikiPathways."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://identifiers.org/wikipathways/WP501_r79715> <http://www.wikidata.org/prop/direct/P2410> ?var1 ; <http://www.wikidata.org/prop/direct/P703> <http://www.wikidata.org/entity/Q15978631> . }"}}
{"id": "test_5575", "question": "Image of Ice-T with SNAC ARK ID w64b3b9t", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w64b3b9t\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with Ice-T\u2019s SNAC ARK ID w64b3b9t?", "Show me the Wikimedia Commons image for the person identified by SNAC ARK ID w64b3b9t."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w64b3b9t\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5576", "question": "What are the municipalities in the world, along with their population, area, capital city, and coordinates?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?administrative_unitLabel ?municipalityLabel ?population ?area ?capital ?capitalLabel ?capital_population ?coordinates WHERE {\n  ?municipality wdt:P31 wd:Q15284 .\n  OPTIONAL {\n    ?municipality wdt:P131 ?administrative_unit .\n  }\n  OPTIONAL {\n    ?municipality wdt:P36 ?capital .\n    ?capital wdt:P1082 ?capital_population .\n  }\n  OPTIONAL {\n    ?municipality wdt:P2046 ?area .\n  }\n  OPTIONAL {\n    ?municipality wdt:P1082 ?population .\n  }\n  OPTIONAL {\n    ?municipality wdt:P625 ?coordinates .\n  }\n}\nORDER BY ASC(?administrative_unitLabel) ASC(?municipalityLabel)", "paraphrases": ["List all municipalities with their administrative region, population, area, capital, and geographic location.", "Show me details of municipalities including their population, area, capital city (and its population), and coordinates."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3 ?var4 ?var5 ?var5Label ?var6 ?var7 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2008050> . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P131> ?var1 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P36> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P1082> ?var6 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P2046> ?var4 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P1082> ?var3 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P625> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv,en\". } } ORDER BY ASC( ?var1Label )ASC( ?var2Label )"}}
{"id": "test_5577", "question": "What film has the elCinema ID 1004245?", "sparql": "SELECT ?film WHERE { ?film wdt:P3135 \"1004245\" . }", "paraphrases": ["Which movie in Wikidata is identified by the elCinema film ID 1004245?", "Find the film entity in Wikidata that corresponds to the elCinema film ID 1004245."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3135> \"1004245\". }"}}
{"id": "test_5578", "question": "People with NTA ID starting with 12067 and their English names.", "sparql": "SELECT ?item ?itemLabel ?nta WHERE { ?item wdt:P1006 ?nta . FILTER(STRSTARTS(?nta, \"12067\")) . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["Who are the people in Wikidata whose Dutch National Thesaurus for Author Names ID starts with 12067, and what are their names in English?", "List the English names and NTA IDs of all authors whose Dutch author ID begins with 12067."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1006> \"120673606\". ?var1 <http://www.wikidata.org/prop/direct/P1006> ?var2 . }"}}
{"id": "test_5579", "question": "Members of the Hellenic Parliament with given or family names", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT DISTINCT ?person ?personLabel ?givenName ?familyName WHERE {\n  ?person p:P39 [ ps:P39 wd:Q18915989 ] .\n  OPTIONAL {\n    ?person wdt:P735 ?givenName .\n  }\n  OPTIONAL {\n    ?person wdt:P734 ?familyName .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) FILTER ( BOUND( ?givenName ) || BOUND( ?familyName ) )\n}\nLIMIT 10", "paraphrases": ["Who are the members of the Hellenic Parliament that have a recorded given name or family name?", "List the names of members of the Hellenic Parliament, including their given and family names where available."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4Label ?var5Label WHERE { ?var1 <http://www.wikidata.org/prop/P39> [ ( <http://www.wikidata.org/prop/statement/P39> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q18915989> ] . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var3 . } ?var1 <http://www.wikidata.org/prop/direct/P2937> <http://www.wikidata.org/entity/Q28846500> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_5580", "question": "Lighthouses made of reinforced concrete with their locations, images, and countries.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?lighthouse ?lighthouseLabel ?image ?countryLabel ?coordinates WHERE {\n  ?lighthouse wdt:P31 wd:Q39715 ; wdt:P625 ?coordinates ; wdt:P186 wd:Q184190 .\n  OPTIONAL {\n    ?lighthouse wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?lighthouse wdt:P17 ?country .\n  }\n  ?lighthouse rdfs:label ?lighthouseLabel .\n  FILTER(LANG(?lighthouseLabel) = \"en\")\n  OPTIONAL {\n    ?country rdfs:label ?countryLabel .\n    FILTER(LANG(?countryLabel) = \"en\")\n  }\n}", "paraphrases": ["Which lighthouses are constructed from reinforced concrete, and where are they located, along with their images and countries?", "Show me a list of reinforced concrete lighthouses, including their names, coordinates, images from Wikimedia Commons, and the countries they are in."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q39715> ; <http://www.wikidata.org/prop/direct/P625> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P186> <http://www.wikidata.org/entity/Q184190> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5581", "question": "What country and administrative region is Tahiti part of, and what continent is it located on?", "sparql": "SELECT DISTINCT ?location WHERE { { wd:Q42000 (wdt:P17 | wdt:P131) ?location . } UNION { wd:Q42000 wdt:P17 ?country . ?country wdt:P30 ?location . } }", "paraphrases": ["List all geographic and political entities associated with Tahiti, including its continent.", "To which country, territory, and continent does Tahiti belong?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q42000> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_5582", "question": "What properties are used to describe text corpora in Wikidata?", "sparql": "SELECT ?property ?propertyLabel ?propertyDescription WHERE { ?item wdt:P31 wd:Q461183 . ?item ?property ?value . FILTER(isIRI(?property)) . BIND(IRI(REPLACE(STR(?property), \"http://www.wikidata.org/prop/direct/\", \"http://www.wikidata.org/entity/\")) AS ?propertyItem) . ?propertyItem rdfs:label ?propertyLabel . ?propertyItem schema:description ?propertyDescription . FILTER(LANG(?propertyLabel) = \"en\") . FILTER(LANG(?propertyDescription) = \"en\") } GROUP BY ?property ?propertyLabel ?propertyDescription LIMIT 100", "paraphrases": ["Can you list the English labels and descriptions of properties that are applied to items classified as text corpora?", "Show me the characteristics of text corpora by listing the properties used on them, along with their English names and descriptions."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q461183> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_5583", "question": "UK Parliament members with their birth dates and genders", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person ?personLabel ?birthDate ?genderLabel WHERE {\n  ?person p:P39 [ ps:P39 / wdt:P279 * wd:Q16707842 ] .\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P21 ?gender .\n  }\n  OPTIONAL {\n    ?person rdfs:label ?personLabel .\n    FILTER(LANG(?personLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?gender rdfs:label ?genderLabel .\n    FILTER(LANG(?genderLabel) = \"en\")\n  }\n}", "paraphrases": ["Who are the people who have held a position in the UK Parliament, and what are their birth dates and genders?", "Please list all individuals who have served as Members of Parliament in the UK, along with their date of birth and biological sex."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4Label ?var5Label WHERE { ?var1 <http://www.wikidata.org/prop/P39> [ ( <http://www.wikidata.org/prop/statement/P39> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q16707842> ] . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var4 . } FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var5 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_5584", "question": "Social networking services and their number of registered users", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?service ?serviceLabel ?users WHERE {\n  ?service wdt:P31 wd:Q3220391 .\n  ?service wdt:P1833 ?users .\n  ?service rdfs:label ?serviceLabel\n  FILTER ( LANG( ?serviceLabel ) = \"en\" )\n}", "paraphrases": ["Which social media platforms have registered user counts listed in Wikidata, and how many users do they have?", "List the names of social networking services along with their number of registered users."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3220391> . ?var1 <http://www.wikidata.org/prop/direct/P1114> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_5585", "question": "What is the English label of the movie with IMDb ID tt0468569?", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P345 \"tt0468569\" . ?item rdfs:label ?itemLabel FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["Which movie in Wikidata has the IMDb identifier tt0468569, and what is its title in English?", "Find the English title of the film identified by tt0468569 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1928104\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_5586", "question": "What are the cities and regions in Germany and their populations?", "sparql": "SELECT ?item ?itemLabel ?population WHERE { ?item wdt:P17 wd:Q183 . OPTIONAL { ?item wdt:P1082 ?population . } } LIMIT 100", "paraphrases": ["List places in Germany along with their population numbers.", "Show me the population data for locations in Germany."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q37946917> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var2 . } } LIMIT 100"}}
{"id": "test_5587", "question": "Geographic locations associated with the Battle of Jerusalem, including country, region, and continent.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?location ?locationLabel WHERE {\n  {\n    wd:Q1378270 wdt:P276 ?location\n  } UNION {\n    wd:Q1378270 wdt:P276 ?mid .\n    ?mid wdt:P131 ?location\n  } UNION {\n    wd:Q1378270 wdt:P276 ?mid .\n    ?mid wdt:P17 ?location\n  } UNION {\n    wd:Q1378270 wdt:P276 ?mid .\n    ?mid wdt:P30 ?location\n  } UNION {\n    wd:Q1378270 wdt:P276 ?mid1 .\n    ?mid1 wdt:P131 ?mid2 .\n    ?mid2 wdt:P17 ?location\n  } UNION {\n    wd:Q1378270 wdt:P276 ?mid1 .\n    ?mid1 wdt:P131 ?mid2 .\n    ?mid2 wdt:P30 ?location\n  }\n  OPTIONAL {\n    ?location rdfs:label ?locationLabel .\n    FILTER ( LANG( ?locationLabel ) = \"en\" )\n  }\n}", "paraphrases": ["What countries, regions, and continents are connected to the location of the Battle of Jerusalem?", "List all administrative divisions, countries, and continents linked to the Battle of Jerusalem through its location in Jerusalem."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q1378270> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_5588", "question": "What are some films that are categorized as a specific type of film (like animated or documentary), but not just called \"film\"?", "sparql": "SELECT ?film WHERE { ?film (wdt:P31 / wdt:P279+) wd:Q11424 . MINUS { ?film wdt:P31 wd:Q11424 . } }", "paraphrases": ["Show me films that belong to a subclass of film, excluding those directly classified as film.", "Which movies are instances of subtypes of cinema, such as horror or comedy films, rather than just being labeled as films?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> +) <http://www.wikidata.org/entity/Q11424> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . } }"}}
{"id": "test_5589", "question": "What is the English label and description of the diamond called \"The Creator\", and is there an image of it?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?description ?image WHERE {\n  OPTIONAL {\n    wd:Q25260094 rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n  OPTIONAL {\n    wd:Q25260094 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q25260094 schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["Can you show me the name and description in English of the 298.48-carat diamond known as \"The Creator\", along with any associated image?", "Tell me about \"The Creator\" diamond: what is its name in English, what is its description, and does it have a picture on Wikimedia Commons?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q25260094> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q25260094> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q25260094> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_5590", "question": "List properties that are uniquely associated with a single item and are not used as main properties.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ( STRAFTER( STR( ?item ) , STR( wd: ) ) AS ?itemId ) ( STRAFTER( STR( ?property ) , STR( wd: ) ) AS ?propertyId ) WHERE {\n  ?property wdt:P1629 ?item ; wikibase:propertyType [] . MINUS {\n    ?property wdt:P1687 [] .\n  } MINUS {\n    ?item wdt:P1687 [] .\n  } MINUS {\n    ?otherProperty wdt:P1629 ?item .\n    FILTER ( ?otherProperty != ?property )\n  }\n}\nORDER BY ASC ( ?property )", "paraphrases": ["Which Wikidata properties are linked to exactly one item that is not a property and is not itself a main property?", "Show me the IDs of Wikidata properties and their associated items, where each item is linked to only that one property, and neither the property nor the item is used as a main property."], "info": {"raw_sparql": "SELECT( STRAFTER ( STR ( ?var1 ) , STR ( <http://www.wikidata.org/entity/> ) ) AS ?var2 )( STRAFTER ( STR ( ?var3 ) , STR ( <http://www.wikidata.org/entity/> ) ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P1629> ?var1 ; <http://wikiba.se/ontology#propertyType> [] . MINUS { ?var3 ^ <http://www.wikidata.org/prop/direct/P1687> [] . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P1687> [] . } MINUS { ?var1 ^ <http://www.wikidata.org/prop/direct/P1629> ?var5 . FILTER ( ( ( ?var5 != ?var3 ) ) ) . } } ORDER BY ASC( ?var3 )"}}
{"id": "test_5591", "question": "People born in S\u00e3o Paulo between 1900 and 1990 with Portuguese names and optional death dates, ordered by birth year.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person ?label ?birthDate ?deathDate WHERE {\n  ?person wdt:P19 wd:Q174 ; wdt:P569 ?birthDate ; rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"pt\" ) .\n  FILTER ( ?birthDate > \"1900-01-01\" ^^ xsd:date && ?birthDate < \"1990-01-01\" ^^ xsd:date ) .\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate\n  }\n}\nORDER BY ASC ( ?birthDate )", "paraphrases": ["Who were people born in S\u00e3o Paulo between 1900 and 1990, what are their Portuguese names, and when did they die (if applicable)?", "List all individuals born in S\u00e3o Paulo from 1900 to 1990, showing their Portuguese-language labels and death dates if available, sorted by birth date."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var4 <http://dbpedia.org/ontology/birthPlace> <http://dbpedia.org/resource/S\u00e3o_Paulo> . ?var4 <http://dbpedia.org/ontology/birthDate> ?var2 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"pt\" ) ) ) . OPTIONAL { ?var4 <http://dbpedia.org/ontology/deathDate> ?var3 . } FILTER ( ( ( ?var2 > \"1900-01-01\"^^<http://www.w3.org/2001/XMLSchema#date> ) && ( ?var2 < \"1990-01-01\"^^<http://www.w3.org/2001/XMLSchema#date> ) ) ) . } ORDER BY ASC( ?var2 )"}}
{"id": "test_5592", "question": "List all municipalities in Estonia with their coordinates and official websites.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?label ?website ?coordinates WHERE {\n  ?municipality ( wdt:P31 / wdt:P279 * ) wd:Q612229 .\n  ?municipality wdt:P17 wd:Q191 .\n  ?municipality wdt:P625 ?coordinates .\n  OPTIONAL {\n    ?municipality wdt:P856 ?website .\n  }\n  ?municipality rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}", "paraphrases": ["What are the names, official websites, and geographic coordinates of all municipalities in Estonia?", "Show me the English names, websites, and locations of every municipality in Estonia."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q612229> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q191> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5593", "question": "Turkish-labeled entities with a main template on Wikipedia", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P1424 ?template .\n  ?item rdfs:label ?label .\n  ?item schema:description ?description .\n  FILTER ( LANG( ?label ) = \"tr\" ) .\n  FILTER ( LANG( ?description ) = \"tr\" )\n}\nLIMIT 100", "paraphrases": ["Which entities have a Turkish label and description and are associated with a main template?", "Show me items that have a Turkish label and description and are linked to a Wikipedia template via the main template property."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1424> ?var4 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"tr\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"tr\" ) ) ) . } LIMIT 100"}}
{"id": "test_5594", "question": "Countries in Central European Time zone that are still existing and have English labels.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?countryLabel WHERE {\n  ?country wdt:P421 wd:Q25989 .\n  ?country wdt:P31 wd:Q3624078 .\n  FILTER NOT EXISTS {\n    ?country wdt:P576 ?dissolutionDate\n  }\n  .\n  ?country rdfs:label ?countryLabel .\n  FILTER(LANG(?countryLabel) = \"en\")\n}\nORDER BY ?countryLabel", "paraphrases": ["Which sovereign countries currently use Central European Time (CET) and have English-language names?", "List the English names of all currently existing countries that observe Central European Time."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Country> . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . { } UNION { ?var3 <http://dbpedia.org/property/timezone> ?var4 . FILTER ( ( ( STR ( ?var4 ) = \"CET\" ) ) ) . } FILTER ( ( NOT EXISTS { ?var2 <http://dbpedia.org/ontology/dissolutionDate> ?var5 . } ) ) . FILTER ( ( ( LANG ( ?var1 ) = \"en\" ) ) ) . } ORDER BY DESC( ?var6 )"}}
{"id": "test_5595", "question": "What are the peaks and landforms within the Giant Mountains, and where are they located?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?feature ?featureLabel ?coordinates WHERE {\n  ?feature ( wdt:P361 | wdt:P4552 ) + wd:Q214644 .\n  ?feature wdt:P31 / wdt:P279 * wd:Q271669 .\n  OPTIONAL {\n    ?feature wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    ?feature rdfs:label ?featureLabel .\n    FILTER ( LANG( ?featureLabel ) = \"en\" )\n  }\n}\nLIMIT 1000", "paraphrases": ["Which geographic features are part of the Giant Mountains, and what are their coordinates?", "List all landform subtypes (like peaks or rock formations) that are part of the Giant Mountains, along with their locations if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { <http://www.wikidata.org/entity/Q214644> ^( <http://www.wikidata.org/prop/direct/P361> | <http://www.wikidata.org/prop/direct/P4552> )+ ?var1 . <http://www.wikidata.org/entity/Q271669> (^ <http://www.wikidata.org/prop/direct/P279> */^ <http://www.wikidata.org/prop/direct/P31> ) ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . } } LIMIT 1000"}}
{"id": "test_5596", "question": "What is the English label and description of the entity in Wikidata with the Art & Architecture Thesaurus ID 300007676?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?itemDescription WHERE {\n  ?item wdt:P1014 \"300007676\" .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" ) .\n  OPTIONAL {\n    ?item schema:description ?itemDescription .\n    FILTER ( LANG( ?itemDescription ) = \"en\" )\n  }\n}", "paraphrases": ["Find the term in English that corresponds to AAT ID 300007676 and its description.", "What does the AAT ID 300007676 refer to, and what is its English definition?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1014> \"300007675\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5597", "question": "How many author statements are there in Wikidata?", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nSELECT(COUNT(*) AS ?authorStatementCount) WHERE {\n  [] p:P50 [] .\n}", "paraphrases": ["What is the total number of times an author has been assigned to a work in Wikidata?", "Count all the author relationships recorded in Wikidata."], "info": {"raw_sparql": "SELECT( COUNT (* ) AS ?var1 ) WHERE { [] <http://www.wikidata.org/prop/P50> [] . }"}}
{"id": "test_5598", "question": "Universities in Germany with their websites and coordinates", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?universityLabel ?website ?coordinates WHERE {\n  ?university(wdt:P31 / wdt:P279 *) wd:Q3918 ; wdt:P17 wd:Q183 ; wdt:P625 ?coordinates .\n  ?university rdfs:label ?universityLabel .\n  OPTIONAL {\n    ?university wdt:P856 ?website .\n  }\n  FILTER(LANG(?universityLabel) = \"en\")\n}", "paraphrases": ["What are the names, official websites, and geographic locations of universities in Germany?", "List all universities in Germany along with their official websites and coordinates."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3918> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> ; <http://www.wikidata.org/prop/direct/P625> ?var4 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es\". } }"}}
{"id": "test_5599", "question": "Species in the genus Felis with images on Wikimedia Commons", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?species ?speciesLabel ?image WHERE {\n  ?species wdt:P171 wd:Q228283 .\n  ?species wdt:P18 ?image .\n  ?species rdfs:label ?speciesLabel .\n  FILTER(LANG(?speciesLabel) = \"en\")\n}", "paraphrases": ["Which species belonging to the genus Felis have images available on Wikimedia Commons, and what are their English names?", "Show me the English names and images of all cat species in the genus Felis."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q228283> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } }"}}
{"id": "test_5600", "question": "Companies listed on Crunchbase with English or German labels and Wikipedia descriptions.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?company ?label ?description WHERE {\n  ?company wdt:P2088 ?crunchbaseId .\n  ?company rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\" || LANG(?label) = \"de\")\n  .\n  ?wikipedia_page schema:about ?company ; schema:inLanguage ?lang ; schema:description ?description .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n}\nLIMIT 10", "paraphrases": ["Which companies have a Crunchbase organization ID and are described in English or German on Wikipedia?", "Show me companies from Crunchbase along with their English or German labels and Wikipedia summaries."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.crunchbase.com/organization/travelopia> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.crunchbase.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.crunchbase.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.crunchbase.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.crunchbase.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.crunchbase.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.crunchbase.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://crunchbase.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://crunchbase.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://crunchbase.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://crunchbase.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5601", "question": "Wikimedia categories and their main topics with reciprocal links in English", "sparql": "SELECT ?topic ?topicLabel ?category ?categoryLabel WHERE { ?category wdt:P301 ?topic ; rdfs:label ?categoryLabel . ?topic wdt:P910 ?category . FILTER (LANG(?categoryLabel) = \"en\") . FILTER (STRSTARTS(?categoryLabel, \"Category:\")) . OPTIONAL { ?topic rdfs:label ?topicLabel . FILTER (LANG(?topicLabel) = \"en\") . } } LIMIT 1000", "paraphrases": ["Which topics have a main category that also lists them as the main topic, and both are labeled in English?", "Show me pairs of English-labeled topics and their main Wikimedia categories where the relationship is mutual."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P301> ?var1 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P910> ?var2 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 1000"}}
{"id": "test_5602", "question": "Show anatomical structures from the UBERON ontology that have a Wikimedia Commons category, along with their English labels, images, and galleries.", "sparql": "SELECT ?uberonId ?anatomyLabel ?image ?commonsCategory ?commonsGallery WHERE { ?anatomy wdt:P1554 ?uberonId . OPTIONAL { ?anatomy wdt:P18 ?image . } OPTIONAL { ?anatomy wdt:P373 ?commonsCategory . } OPTIONAL { ?anatomy wdt:P935 ?commonsGallery . } FILTER (BOUND(?commonsCategory)) ?anatomy rdfs:label ?anatomyLabel . FILTER(LANG(?anatomyLabel) = \"en\") }", "paraphrases": ["Which human or animal anatomical structures have a corresponding Commons category on Wikimedia Commons, and what are their images and gallery links?", "Please list all UBERON-identified anatomical entities with their English names, associated Wikimedia Commons images, categories, and galleries \u2014 but only include those that have a Commons category."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 ?var5 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P1554> ?var1 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P373> ?var4 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P935> ?var5 . } FILTER ( ( BOUND ( ?var4 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_5603", "question": "List 200 films starting from the 18801st film in Wikidata, ordered by ID.", "sparql": "SELECT ?film ?filmLabel WHERE { ?film wdt:P31 wd:Q11424 . ?film rdfs:label ?filmLabel . FILTER(LANG(?filmLabel) = \"en\") } ORDER BY ASC(?film) LIMIT 200 OFFSET 18800", "paraphrases": ["What are the English titles of films numbered 18801 to 19000 in Wikidata when sorted by their entity IDs?", "Show me the English labels of 200 films, skipping the first 18800 films in Wikidata, ordered by their internal IDs."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } } ORDER BY ASC( ?var1 ) LIMIT 200 OFFSET 18800"}}
{"id": "test_5604", "question": "Films that are instances of cinematic works, ordered by ID, starting from the 31,201st.", "sparql": "SELECT ?film ?filmLabel WHERE { ?film wdt:P31 wd:Q11424 . ?film rdfs:label ?filmLabel . FILTER(LANG(?filmLabel) = \"en\") } ORDER BY ASC(?film) LIMIT 200 OFFSET 31200", "paraphrases": ["What are the 200 films listed as instances of cinema, starting from the 31,201st in alphabetical order by their Wikidata ID?", "List 200 English-labeled films (instances of cinematic works), skipping the first 31,200, sorted by their Wikidata identifiers."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } } ORDER BY ASC( ?var1 ) LIMIT 200 OFFSET 31200"}}
{"id": "test_5605", "question": "What are the English titles of films starting from the 33,401st film in Wikidata?", "sparql": "SELECT ?film ?filmLabel WHERE { ?film wdt:P31 wd:Q11424 . ?film rdfs:label ?filmLabel . FILTER(LANG(?filmLabel) = \"en\") } ORDER BY ASC(?film) LIMIT 200 OFFSET 33400", "paraphrases": ["List 200 films (movies) after the first 33,400, showing their English titles.", "Can you provide the English labels of films, ordered by their Wikidata IDs, from position 33,401 to 33,600?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } } ORDER BY ASC( ?var1 ) LIMIT 200 OFFSET 33400"}}
{"id": "test_5606", "question": "List 200 English-language films starting from the 51601st film in alphabetical order.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?filmLabel WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film rdfs:label ?filmLabel .\n  FILTER(LANG(?filmLabel) = \"en\")\n}\nORDER BY ASC(?filmLabel)\nLIMIT 200\nOFFSET 51600", "paraphrases": ["What are the 200 English films listed alphabetically after the first 51600 films in Wikidata?", "Can you show me the titles of 200 films (in English), ordered alphabetically, starting from the 51601st film in the Wikidata database?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } } ORDER BY ASC( ?var1 ) LIMIT 200 OFFSET 51600"}}
{"id": "test_5607", "question": "How many gene products are encoded by the CCDC82 gene?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT(COUNT(?geneProduct) AS ?count) WHERE {\n  ?geneProduct wdt:P702 wd:Q18046343 .\n}", "paraphrases": ["What is the number of proteins encoded by the human gene CCDC82?", "Tell me how many gene products are produced by the CCDC82 gene in humans."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P702> <http://www.wikidata.org/entity/Q18046343> . }"}}
{"id": "test_5608", "question": "English-language films listed in Wikidata, starting from the 132,801st entry, limited to 200 results.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?film ?filmLabel WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film rdfs:label ?filmLabel .\n  FILTER(LANG(?filmLabel) = \"en\")\n}\nORDER BY ASC(?film)\nLIMIT 200\nOFFSET 132800", "paraphrases": ["What are the English titles of films (movies) in Wikidata, ordered by their IDs, starting from the 132,801st film and showing the next 200?", "Show me 200 English-labeled films from Wikidata, starting after the first 132,800 films, sorted by their entity IDs."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } } ORDER BY ASC( ?var1 ) LIMIT 200 OFFSET 132800"}}
{"id": "test_5609", "question": "List of films (movies) with their English titles.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?filmLabel WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film rdfs:label ?filmLabel .\n  FILTER(LANG(?filmLabel) = \"en\")\n}\nLIMIT 200", "paraphrases": ["What are some films and their English titles?", "Can you show me 200 films along with their English names?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } } ORDER BY ASC( ?var1 ) LIMIT 200 OFFSET 174600"}}
{"id": "test_5610", "question": "Films starting from position 181,601 in Wikidata with their labels", "sparql": "SELECT ?var1 ?label WHERE { ?var1 wdt:P31 wd:Q11424 . ?var1 rdfs:label ?label . } ORDER BY ASC(?var1) LIMIT 200 OFFSET 181600", "paraphrases": ["What are the 200 films after the 181,600th film in Wikidata, and what are their titles?", "List 200 films (instances of film) from Wikidata, starting from the 181,601st film, along with their labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } } ORDER BY ASC( ?var1 ) LIMIT 200 OFFSET 181600"}}
{"id": "test_5611", "question": "How many subclasses of angioedema are there in Wikidata?", "sparql": "SELECT (COUNT(?subclass) AS ?count) WHERE { ?subclass wdt:P279 wd:Q1129007 . }", "paraphrases": ["What is the number of direct subclasses of the disease angioedema?", "List the count of all known direct subtypes of angioedema."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q1129007> . }"}}
{"id": "test_5612", "question": "What Wikidata item represents the WikiPathways pathway WP3617 in humans?", "sparql": "SELECT ?pathway WHERE { ?pathway wdt:P2410 \"WP3617\" ; wdt:P703 wd:Q15978631 . }", "paraphrases": ["Which biological pathway in Wikidata has the ID WP3617 and is found in Homo sapiens?", "Find the Wikidata entry for the human pathway WP3617."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://identifiers.org/wikipathways/WP3617_r88316> <http://www.wikidata.org/prop/direct/P2410> ?var1 ; <http://www.wikidata.org/prop/direct/P703> <http://www.wikidata.org/entity/Q15978631> . }"}}
{"id": "test_5613", "question": "What property is most commonly used to link entities to the gene/protein P113?", "sparql": "SELECT ?propertyItem (COUNT(?propertyItem) AS ?count) WHERE { ?item ?directClaim wd:P113 . ?propertyItem wikibase:directClaim ?directClaim . ?propertyItem rdf:type wikibase:Property . } GROUP BY ?propertyItem ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which Wikidata property is used most often to assert that an item is the P113 gene?", "Among all properties that connect items to the P113 protein, which one is used the most?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/P113> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_5614", "question": "Dutch football players with German Wikipedia articles", "sparql": "SELECT ?player WHERE { ?player wdt:P31 wd:Q5 . ?player p:P54 [ ps:P54 wd:Q47050 ] . ?de_article schema:about ?player . ?de_article schema:inLanguage \"de\" . }", "paraphrases": ["Who are the Dutch national team football players that have a Wikipedia page in German?", "List all humans who played for the Netherlands national football team and have a German-language Wikipedia article about them."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/P54> [ <http://www.wikidata.org/prop/statement/P54> <http://www.wikidata.org/entity/Q47050> ] . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"de\". }"}}
{"id": "test_5615", "question": "Who played women's association football?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?athlete ?athleteLabel WHERE {\n  ?athlete wdt:P2416 wd:Q606060 .\n  ?athlete rdfs:label ?athleteLabel .\n  FILTER ( LANG( ?athleteLabel ) = \"en\" )\n}", "paraphrases": ["Which athletes or teams have competed in women's football?", "List the names of people and teams associated with women's association football in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P2416> <http://www.wikidata.org/entity/Q606060> . ?var1 <http://www.wikidata.org/prop/P2416> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_5616", "question": "List the top 101 women\u2019s football clubs that play women\u2019s association football.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?club ?clubLabel WHERE {\n  ?club p:P641 ?statement .\n  ?statement ps:P641 wd:Q606060 .\n  OPTIONAL {\n    ?club rdfs:label ?clubLabel FILTER ( LANG( ?clubLabel ) = \"en\" )\n  }\n}\nLIMIT 101", "paraphrases": ["Which women\u2019s football clubs participate in women\u2019s association football?", "Can you show me up to 101 women\u2019s football teams and their English names that are associated with women\u2019s association football?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P641> <http://www.wikidata.org/entity/Q606060> . ?var1 <http://www.wikidata.org/prop/P641> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_5617", "question": "Top 10 official languages used by international organizations with at least two member countries.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?language ?languageLabel ?count WHERE {\n  {\n    SELECT ?language(COUNT(DISTINCT ?country) AS ?count) WHERE {\n      ?country wdt:P463 ?org1 .\n      ?org1 wdt:P31 wd:Q484652 .\n      ?country wdt:P463 ?org2 .\n      ?org2 wdt:P31 wd:Q484652 .\n      ?org2 wdt:P37 ?language .\n      FILTER(?org1 != ?org2)\n    }\n    GROUP BY ?language\n    ORDER BY DESC(?count)\n    LIMIT 10\n  }\n  ?language rdfs:label ?languageLabel .\n  FILTER(LANG(?languageLabel) = \"en\")\n}\nORDER BY DESC(?count)", "paraphrases": ["Which languages are most commonly used as official languages by international organizations that have multiple member states?", "Show me the 10 most frequently used official languages in international organizations that have at least two different member countries, along with how many countries use each."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 )( COUNT ( DISTINCT ?var4 ) AS ?var3 ) WHERE { { SELECT ?var1 ?var4 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . { { { ?var4 <http://www.wikidata.org/prop/direct/P463> ?var5 . { { ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q484652> . } } } } } ?var4 <http://www.wikidata.org/prop/direct/P463> ?var6 . { { ?var6 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q484652> . } } ?var6 <http://www.wikidata.org/prop/direct/P37> ?var1 . } LIMIT 2000000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 10 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var2 )"}}
{"id": "test_5618", "question": "What film has the EDb ID t0002810?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P3141 \"t0002810\" .\n}", "paraphrases": ["Which movie in Wikidata is identified by the EDb film ID t0002810?", "Find the Wikidata item for the Israeli movie with EDb ID t0002810."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3141> \"t0002810\". }"}}
{"id": "test_5619", "question": "What is the English label and description of the HTML entity \"&dagger;\"?", "sparql": "SELECT ?item ?label ?description WHERE { ?item wdt:P4575 \"&dagger;\" . OPTIONAL { ?item rdfs:label ?label . FILTER (LANG(?label) = \"en\") } OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["What symbol does the HTML escape sequence \"&dagger;\" represent, and what is its English description?", "Show me the name and English description of the typographic symbol represented by the HTML entity &dagger;."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4575> \"&dagger;\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5620", "question": "What property links the list of circulating currencies to its associated category?", "sparql": "SELECT ?property ?propertyLabel (COUNT(?item) AS ?count) WHERE { ?item ?prop wd:Q80167 . ?property wikibase:directClaim ?prop . ?property rdf:type wikibase:Property . ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") } GROUP BY ?property ?propertyLabel ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which property is used to connect the Wikidata list \"list of circulating currencies\" to a category?", "Show me the most frequently used property that connects items to the list of circulating currencies, along with its label."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q80167> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_5621", "question": "Top 10 international organizations with the most member countries that have diplomatic relations with other countries.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?organization ?organizationLabel ?countryCount WHERE {\n  {\n    SELECT ?organization(COUNT(?country) AS ?countryCount) WHERE {\n      ?country wdt:P31 wd:Q6256 .\n      ?country wdt:P463 ?organization .\n      ?country wdt:P530 ?relatedCountry .\n      ?relatedCountry wdt:P31 wd:Q6256 .\n    }\n    GROUP BY ?organization\n    ORDER BY DESC(?countryCount)\n    LIMIT 10\n  }\n  ?organization rdfs:label ?organizationLabel .\n  FILTER(LANG(?organizationLabel) = \"en\")\n}\nORDER BY DESC(?countryCount)", "paraphrases": ["Which international organizations have the highest number of member countries that maintain diplomatic relations with other sovereign states?", "List the 10 international organizations with the most member countries that have diplomatic ties with other countries, along with their member counts."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 )( COUNT ( DISTINCT ?var4 ) AS ?var3 ) WHERE { { SELECT ?var1 ?var4 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . { { { ?var4 <http://www.wikidata.org/prop/direct/P530> ?var5 . } } } ?var4 <http://www.wikidata.org/prop/direct/P463> ?var1 . } LIMIT 2000000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 10 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var2 )"}}
{"id": "test_5622", "question": "What properties are most commonly used to describe EU member states?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?prop ?propLabel ?count WHERE {\n  {\n    SELECT ?prop ( COUNT( ?euMember ) AS ?count ) WHERE {\n      ?euMember wdt:P31 wd:Q185441 .\n      ?euMember ?p ?o .\n      ?prop wikibase:directClaim ?p .\n    }\n    GROUP BY ?prop\n    ORDER BY DESC ( ?count )\n    LIMIT 40\n  }\n  ?prop rdfs:label ?propLabel .\n  FILTER ( LANG( ?propLabel ) = \"en\" )\n}\nORDER BY DESC ( ?count )", "paraphrases": ["Which attributes appear most frequently in the data about countries in the European Union?", "Can you list the top 40 properties used to describe EU member states, ranked by how often they appear?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 )( COUNT ( DISTINCT ?var4 ) AS ?var3 ) WHERE { { SELECT ?var1 ?var4 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . { { { ?var4 <http://www.wikidata.org/prop/direct/P530> ?var5 . { { ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q185441> . } } } } } ?var4 ?var6 ?var7 . ?var1 <http://wikiba.se/ontology#directClaim> ?var6 . } LIMIT 2000000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var2 ) LIMIT 40"}}
{"id": "test_5623", "question": "Who is the person with the Collective Biographies of Women ID \"22184\", and what is their English label and description?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?person ?personLabel ?description WHERE {\n  ?person wdt:P4539 \"22184\" .\n  OPTIONAL {\n    ?person rdfs:label ?personLabel .\n    FILTER(LANG(?personLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?person schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Retrieve the English name and description of the woman identified as \"22184\" in the Collective Biographies of Women database.", "Show me the Wikidata entry for the person with ID 22184 in the Collective Biographies of Women database, including their English label and description if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4539> \"17859\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5624", "question": "Who is the person with Collective Biographies of Women ID 20261, and what is their English label and description?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?person ?label ?description WHERE {\n  ?person wdt:P4539 \"20261\" .\n  OPTIONAL {\n    ?person rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n  OPTIONAL {\n    ?person schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["What is the English name and description of the person identified as 20261 in the Collective Biographies of Women database?", "Show me the English label and description of the person whose Collective Biographies of Women ID is 20261."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4539> \"20261\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5625", "question": "Automobile models without a brand", "sparql": "SELECT ?var1 ?label WHERE { ?var1 wdt:P31 wd:Q3231690 . MINUS { ?var1 wdt:P1716 [] . } ?var1 rdfs:label ?label . FILTER(LANG(?label) = \"en\") } LIMIT 10000", "paraphrases": ["Which car models do not have an associated brand?", "List all automobile models that are not branded."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3231690> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P1716> ?var2 . } } LIMIT 10000"}}
{"id": "test_5626", "question": "What are some examples of volcanic landforms?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?volcanicLandformLabel WHERE {\n  ?volcanicLandform wdt:P31 wd:Q29025902 .\n  ?volcanicLandform rdfs:label ?volcanicLandformLabel .\n  FILTER(LANG(?volcanicLandformLabel) = \"en\")\n}", "paraphrases": ["List the English names of all entities classified as volcanic landforms.", "Show me the names of geographical features that are volcanic landforms."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13390680> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ka,en\". } }"}}
{"id": "test_5627", "question": "Association football players who played in Serie A", "sparql": "SELECT DISTINCT ?player WHERE { ?player wdt:P106 wd:Q937857 . ?player wdt:P118 wd:Q15804 . } LIMIT 10000", "paraphrases": ["Which football players have played in Italy's Serie A league?", "List all professional footballers who have participated in Serie A."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q937857> . ?var1 <http://www.wikidata.org/prop/P54> ?var2 . ?var2 <http://www.wikidata.org/prop/statement/P54> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P118> ?var4 . ?var3 <http://www.wikidata.org/prop/direct/P17> ?var5 . FILTER ( ( ?var4 IN ( <http://www.wikidata.org/entity/Q15804> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } } LIMIT 10000 OFFSET 0"}}
{"id": "test_5628", "question": "Show me humans who died by suicide, homicide, or accident, along with their birth and death dates, country, gender, occupation, and place of death.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?mannerOfDeathLabel ?dateOfBirth ?dateOfDeath ?countryLabel ?sexLabel ?occupationLabel ?placeOfDeathLabel WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P1196 ?mannerOfDeath .\n  ?person wdt:P569 ?dateOfBirth .\n  ?person wdt:P570 ?dateOfDeath .\n  ?person wdt:P27 ?country .\n  OPTIONAL {\n    ?mannerOfDeath rdfs:label ?mannerOfDeathLabel .\n    FILTER(LANG(?mannerOfDeathLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?country rdfs:label ?countryLabel .\n    FILTER(LANG(?countryLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?person wdt:P21 ?sex .\n    ?sex rdfs:label ?sexLabel .\n    FILTER(LANG(?sexLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?person wdt:P106 ?occupation .\n    ?occupation rdfs:label ?occupationLabel .\n    FILTER(LANG(?occupationLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?person wdt:P20 ?placeOfDeath .\n    ?placeOfDeath rdfs:label ?placeOfDeathLabel .\n    FILTER(LANG(?placeOfDeathLabel) = \"en\")\n  }\n  FILTER(STR(?mannerOfDeathLabel) IN(\"suicide\" , \"homicide\" , \"accident\"))\n}", "paraphrases": ["Who are the people in Wikidata that died from suicide, homicide, or accident, and what are their details such as birth date, country, occupation, and where they died?", "Please list all recorded human deaths in Wikidata caused by suicide, homicide, or accident, including their date of birth, country of citizenship, sex, occupation, and place of death, with labels in English."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var6Label ?var7 ?var7Label ?var8 ?var8Label ?var9 ?var9Label ?var10 ?var10Label ?var11 ?var11Label ?var12 ?var12Label WHERE { ?var13 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var13 <http://www.wikidata.org/prop/direct/P1196> ?var14 . ?var13 <http://www.wikidata.org/prop/direct/P569> ?var3 . ?var13 <http://www.wikidata.org/prop/direct/P570> ?var4 . ?var13 <http://www.wikidata.org/prop/direct/P27> ?var15 . OPTIONAL { ?var13 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"en\" ) ) ) . } OPTIONAL { ?var14 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } OPTIONAL { ?var15 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . } FILTER ( ( ( STR ( ?var2 ) = \"suicide\" ) || ( STR ( ?var2 ) = \"homicide\" ) || ( STR ( ?var2 ) = \"string1\" ) || ( STR ( ?var2 ) = \"accident\" ) ) ) . OPTIONAL { ?var13 <http://www.wikidata.org/prop/direct/P21> ?var6 . } OPTIONAL { ?var13 <http://www.wikidata.org/prop/direct/P103> ?var7 . } OPTIONAL { ?var13 <http://www.wikidata.org/prop/direct/P106> ?var8 . } OPTIONAL { ?var13 <http://www.wikidata.org/prop/direct/P39> ?var9 . } OPTIONAL { ?var13 <http://www.wikidata.org/prop/direct/P140> ?var10 . } OPTIONAL { ?var13 <http://www.wikidata.org/prop/direct/P157> ?var11 . } OPTIONAL { ?var13 <http://www.wikidata.org/prop/direct/P20> ?var12 . } }"}}
{"id": "test_5629", "question": "What are the names of all Stolperstein memorials?", "sparql": "SELECT ?stolperstein ?label WHERE { ?stolperstein wdt:P31 wd:Q26703203 . ?stolperstein rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["Can you list the English labels for each Stolperstein dedicated to victims of Nazism?", "Show me the individual Stolperstein plaques and their inscriptions in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q26703203> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_5630", "question": "Architectural landmarks in Poland and their heights", "sparql": "SELECT ?landmarkLabel ?height ?landmark WHERE { ?landmark wdt:P31 wd:Q2319498 . ?landmark wdt:P17 wd:Q36 . ?landmark wdt:P2048 ?height . ?landmark rdfs:label ?landmarkLabel . FILTER(LANG(?landmarkLabel) = \"en\") }", "paraphrases": ["What are the heights of architectural landmarks in Poland?", "List the architectural landmarks in Poland along with their heights in meters."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2319498> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q36> . ?var1 <http://www.wikidata.org/prop/direct/P2048> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5631", "question": "What are the IDs and end dates of former municipalities in Estonia?", "sparql": "SELECT ?id ?endDate WHERE { ?municipality wdt:P31 wd:Q26742250 . ?municipality wdt:P582 ?endDate . BIND( SUBSTR( STR( ?municipality ) , ( STRLEN( STR( wd: ) ) + 1 ) ) AS ?id ) . }", "paraphrases": ["List all former Estonian municipalities along with when they ceased to exist.", "When did each former municipality in Estonia stop being an administrative unit?"], "info": {"raw_sparql": "SELECT ?var1 ( \"P31\" AS ?var2 )( \"Q26742250\" AS ?var3 ) ?var4 WHERE { { ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q28122896> . } UNION { ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q43227691> . } UNION { ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q21583365> . } ?var5 <http://www.wikidata.org/prop/direct/P582> ?var4 . MINUS { ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q26742250> . } BIND ( SUBSTR ( STR ( ?var5 ) , ( STRLEN ( STR ( <http://www.wikidata.org/entity/> ) ) +\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var1 ). }"}}
{"id": "test_5632", "question": "Jean d'Ormesson's date of birth and date of death.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?name ?birth ?death WHERE {\n  wd:Q353866 rdfs:label ?name .\n  FILTER ( LANG( ?name ) = \"en\" ) .\n  OPTIONAL {\n    wd:Q353866 wdt:P569 ?birth .\n  }\n  OPTIONAL {\n    wd:Q353866 wdt:P570 ?death .\n  }\n}", "paraphrases": ["When was Jean d'Ormesson born and when did he die?", "Please provide the English name, birth date, and death date of Jean d'Ormesson."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q353866> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5633", "question": "What are the birth and death dates of Princess Daowen?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?princessLabel ?birthDate ?deathDate WHERE {\n  wd:Q11073242 rdfs:label ?princessLabel .\n  FILTER(LANG(?princessLabel) = \"en\")\n  .\n  wd:Q11073242 wdt:P31 wd:Q5 .\n  OPTIONAL {\n    wd:Q11073242 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q11073242 wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["Can you tell me when Princess Daowen was born and when she died?", "Show me the life span of Princess Daowen, including her birth and death years."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q11073242> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5634", "question": "What is the English name, date of birth, and date of death of Thuthukile Zuma?", "sparql": "SELECT ?label ?dateOfBirth ?dateOfDeath WHERE { wd:Q18394313 rdfs:label ?label . FILTER(LANG(?label) = \"en\") . OPTIONAL { wd:Q18394313 wdt:P569 ?dateOfBirth . } OPTIONAL { wd:Q18394313 wdt:P570 ?dateOfDeath . } }", "paraphrases": ["Can you tell me when Thuthukile Zuma was born and when she died, along with her full name?", "Provide the birth and death dates of Thuthukile Zuma, and confirm her name in English."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q18394313> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5635", "question": "What is the date of birth of Irvin Khoza, and is he still alive?", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { BIND( wd:Q3154591 AS ?person ) . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } }", "paraphrases": ["Can you tell me Irvin Khoza\u2019s full name, when he was born, and when he died?", "Who is Irvin Khoza, and what are his birth and death dates?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q3154591> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5636", "question": "Naniwa Kawashima's date of birth and date of death", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { BIND( wd:Q6146536 AS ?person ) . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } }", "paraphrases": ["When was Naniwa Kawashima born and when did they die?", "What are the birth and death dates of the Japanese spy Naniwa Kawashima, and what is their full name?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q6146536> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5637", "question": "What are the birth and death dates of George Low?", "sparql": "SELECT ?label ?birthDate ?deathDate WHERE { wd:Q3028610 rdfs:label ?label . FILTER(LANG(?label) = \"en\") OPTIONAL { wd:Q3028610 wdt:P569 ?birthDate . } OPTIONAL { wd:Q3028610 wdt:P570 ?deathDate . } }", "paraphrases": ["Can you tell me the English name, birth date, and death date of George Low?", "Who is George Low, and when was he born and when did he die?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q3028610> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5638", "question": "What are the birth and death dates of William J. Fetterman?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  BIND(wd:Q4346001 AS ?person)\n  ?person wdt:P31 wd:Q5 .\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}", "paraphrases": ["Can you tell me when William J. Fetterman was born and when he died?", "Provide the full name, date of birth, and date of death for the U.S. Army officer William J. Fetterman."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q4346001> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5639", "question": "What are Emilio G. Segr\u00e8\u2019s birth and death dates, identifiers (VIAF, GND, etc.), image, and descriptions mentioning \u201cphysicist\u201d or \u201cNobel\u201d?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?label ?image ?birthDate ?deathDate ?sbn ?viaf ?treccani ?lccn ?gnd ?bnf ?descPhysicist ?descNobel WHERE {\n  wd:Q173028 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    wd:Q173028 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q173028 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q173028 wdt:P570 ?deathDate .\n  }\n  OPTIONAL {\n    wd:Q173028 wdt:P396 ?sbn .\n  }\n  OPTIONAL {\n    wd:Q173028 wdt:P214 ?viaf .\n  }\n  OPTIONAL {\n    wd:Q173028 wdt:P1986 ?treccani .\n  }\n  OPTIONAL {\n    wd:Q173028 wdt:P244 ?lccn .\n  }\n  OPTIONAL {\n    wd:Q173028 wdt:P227 ?gnd .\n  }\n  OPTIONAL {\n    wd:Q173028 wdt:P268 ?bnf .\n  }\n  OPTIONAL {\n    wd:Q173028 schema:description ?descPhysicist .\n    FILTER(CONTAINS(STR(?descPhysicist) , \"physicist\"))\n  }\n  OPTIONAL {\n    wd:Q173028 schema:description ?descNobel .\n    FILTER(CONTAINS(STR(?descNobel) , \"Nobel\"))\n  }\n}", "paraphrases": ["Can you provide the biographical details of Emilio G. Segr\u00e8, including his date of birth, death, notable IDs, image, and any descriptions that mention he was a physicist or a Nobel laureate?", "Show me Emilio G. Segr\u00e8\u2019s profile: his image, birth and death dates, library and authority IDs, and any textual descriptions that refer to him as a physicist or Nobel Prize winner."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 ?var12 ?var13 ?var14 ?var15 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". <http://www.wikidata.org/entity/Q173028> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . <http://www.wikidata.org/entity/Q173028> <http://schema.org/description> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q173028> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q173028> <http://www.wikidata.org/prop/direct/P569> ?var4 . } OPTIONAL { <http://www.wikidata.org/entity/Q173028> <http://www.wikidata.org/prop/direct/P19> ?var16 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var16 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . } } OPTIONAL { <http://www.wikidata.org/entity/Q173028> <http://www.wikidata.org/prop/direct/P570> ?var6 . } OPTIONAL { <http://www.wikidata.org/entity/Q173028> <http://www.wikidata.org/prop/direct/P20> ?var17 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var17 <http://www.w3.org/2000/01/rdf-schema#label> ?var7 . } } OPTIONAL { <http://www.wikidata.org/entity/Q173028> <http://www.wikidata.org/prop/direct/P396> ?var10 . } OPTIONAL { <http://www.wikidata.org/entity/Q173028> <http://www.wikidata.org/prop/direct/P214> ?var11 . } OPTIONAL { <http://www.wikidata.org/entity/Q173028> <http://www.wikidata.org/prop/direct/P1986> ?var12 . } OPTIONAL { <http://www.wikidata.org/entity/Q173028> <http://www.wikidata.org/prop/direct/P244> ?var13 . } OPTIONAL { <http://www.wikidata.org/entity/Q173028> <http://www.wikidata.org/prop/direct/P227> ?var14 . } OPTIONAL { <http://www.wikidata.org/entity/Q173028> <http://www.wikidata.org/prop/direct/P268> ?var15 . } OPTIONAL { BIND ( STR ( ?var18 ) AS ?var8 ). ?var18 <http://schema.org/about> <http://www.wikidata.org/entity/Q173028> . FILTER ( ( CONTAINS ( STR ( ?var18 ) , \"string2\" ) ) ) . } OPTIONAL { BIND ( STR ( ?var19 ) AS ?var9 ). ?var19 <http://schema.org/about> <http://www.wikidata.org/entity/Q173028> . FILTER ( ( CONTAINS ( STR ( ?var19 ) , \"string3\" ) ) ) . } }"}}
{"id": "test_5640", "question": "Image of Virginia Durr with SNAC ARK ID w6sf3068", "sparql": "SELECT ?image WHERE { ?person wdt:P3430 \"w6sf3068\" . OPTIONAL { ?person wdt:P18 ?image . } }", "paraphrases": ["What is the image of the person identified by SNAC ARK ID w6sf3068?", "Show me the Wikimedia Commons image for Virginia Durr, whose SNAC ID is w6sf3068."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6sf3068\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5641", "question": "What is the English description of the Wikidata item Q2692869?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?itemLabel ?description WHERE {\n  VALUES ?item {\n    wd:Q2692869\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Can you show me the label and English description for Q2692869?", "Tell me about the entity Q2692869 \u2014 what is its name and English description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1667> \"2692869\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5642", "question": "Properties used on spouses of heads of state with English labels and descriptions.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?property ?propertyLabel ?propertyDescription WHERE {\n  ?person wdt:P39 ?position .\n  ?position wdt:P31 wd:Q48352 .\n  ?spouse wdt:P26 ?person .\n  ?spouse ?property ?value .\n  FILTER(isIRI(?property))\n  .\n  BIND(IRI(REPLACE(STR(?property) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\")) AS ?propertyItem)\n  .\n  ?propertyItem rdfs:label ?propertyLabel .\n  ?propertyItem schema:description ?propertyDescription .\n  FILTER(LANG(?propertyLabel) = \"en\")\n  FILTER(LANG(?propertyDescription) = \"en\")\n}\nLIMIT 100", "paraphrases": ["What properties are used on people who are spouses of heads of state, and what are their English labels and descriptions?", "Show me the English labels and descriptions of all properties that are used on individuals who are married to heads of state."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q24091400> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_5643", "question": "List the top 11 sports seasons with participating teams.", "sparql": "SELECT DISTINCT ?season ?seasonLabel WHERE { ?season wdt:P1923 ?team . ?season rdfs:label ?seasonLabel . FILTER(LANG(?seasonLabel) = \"en\") } LIMIT 11", "paraphrases": ["What are the 11 sports seasons that had at least one team participating?", "Show me the names of 11 sports seasons that include participating teams, in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1923> _:bnode . } LIMIT 11 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5644", "question": "What lists are associated with the category 'Lists of people by nationality'?", "sparql": "SELECT ?list ?listLabel WHERE { ?list wdt:P1753 wd:Q835515 . ?list rdfs:label ?listLabel . FILTER(LANG(?listLabel) = 'en') }", "paraphrases": ["Which Wikimedia lists correspond to the category Category:Lists of people by nationality?", "Find the lists that are linked to the category 'Lists of people by nationality' in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1754> <http://www.wikidata.org/entity/Q835515> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . }"}}
{"id": "test_5645", "question": "Firearms that use cartridges and their ammunition qualifiers", "sparql": "SELECT ?firearm ?statement (SAMPLE(?qualifierProperty) AS ?qualifier) WHERE { { SELECT DISTINCT ?firearm ?statement WHERE { ?statement ps:P739 wd:Q37144 . ?firearm p:P739 ?statement . } } OPTIONAL { ?statement ?qualifierProperty ?qualifierValue . } } GROUP BY ?firearm ?statement LIMIT 10", "paraphrases": ["What are the qualifiers (like quantity or used-by) for the ammunition (cartridge) used by each firearm?", "List all firearms that use cartridges and show one of the additional details (like how many rounds they carry) associated with that ammunition."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P739> <http://www.wikidata.org/entity/Q37144> . ?var1 <http://www.wikidata.org/prop/P739> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_5646", "question": "Gender, birth date, birth place, death date, and country of citizenship for Q239328.", "sparql": "SELECT ?gender ?birthDate ?birthPlace ?deathDate ?country WHERE { OPTIONAL { wd:Q239328 wdt:P21 ?gender . } OPTIONAL { wd:Q239328 wdt:P569 ?birthDate . } OPTIONAL { wd:Q239328 wdt:P19 ?birthPlace . } OPTIONAL { wd:Q239328 wdt:P570 ?deathDate . } OPTIONAL { wd:Q239328 wdt:P27 ?country . } }", "paraphrases": ["What is the gender, date of birth, place of birth, date of death, and country of citizenship of the person with Wikidata ID Q239328?", "Please provide the biographical details \u2014 including gender, birth date, birth place, death date, and nationality \u2014 for the individual identified as Q239328 on Wikidata."], "info": {"raw_sparql": "SELECT * WHERE { OPTIONAL { <http://www.wikidata.org/entity/q239328> <http://www.wikidata.org/prop/direct/P21> ?var1 . } OPTIONAL { <http://www.wikidata.org/entity/q239328> <http://www.wikidata.org/prop/direct/P569> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/q239328> <http://www.wikidata.org/prop/direct/P19> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/q239328> <http://www.wikidata.org/prop/direct/P570> ?var4 . } OPTIONAL { <http://www.wikidata.org/entity/q239328> <http://www.wikidata.org/prop/direct/P27> ?var5 . } OPTIONAL { <http://www.wikidata.org/entity/q239328> <http://www.wikidata.org/prop/direct/P27> ?var5 . } }"}}
{"id": "test_5647", "question": "Brockhaus and Efron Encyclopedic Dictionary entries about humans not explicitly citing Brockhaus as source.", "sparql": "SELECT DISTINCT ?var1 ?var2Label ?var1Label WHERE { ?var2 wdt:P31 wd:Q13433827 ; wdt:P1433 ?var4 ; wdt:P921 ?var1 . ?var4 wdt:P361 wd:Q602358 . ?var1 wdt:P31 wd:Q5 . ?var2 rdfs:label ?var2Label . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var2Label) = \"en\" && LANG(?var1Label) = \"en\") OPTIONAL { ?var1 p:P1343 ?statement . ?statement ps:P1343 wd:Q602358 . ?statement pq:P248 ?var5 . } FILTER ( !BOUND(?var5) ) } ORDER BY ASC(?var2Label) LIMIT 10", "paraphrases": ["Which entries in the Brockhaus and Efron Encyclopedic Dictionary are about humans, but do not directly cite the encyclopedia as their source?", "List the human subjects of articles in the Brockhaus and Efron Encyclopedic Dictionary where the article\u2019s description of the person is not formally referenced to the encyclopedia."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label ?var1Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q17329259> ; <http://www.wikidata.org/prop/direct/P1433> ?var4 ; <http://www.wikidata.org/prop/direct/P921> ?var1 . ?var4 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q602358> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1343> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P1343> <http://www.wikidata.org/entity/Q602358> . ?var3 <http://www.wikidata.org/prop/qualifier/P248> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru\". } FILTER ( ( !( BOUND ( ?var5 ) ) ) ) . } ORDER BY ASC( ?var2Label )"}}
{"id": "test_5648", "question": "What film has the Scope.dk ID 6382?", "sparql": "SELECT ?film WHERE { ?film wdt:P2518 \"6382\" . }", "paraphrases": ["Which movie is identified by the Scope.dk film ID 6382?", "Tell me the title of the film with Scope.dk ID 6382."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2518> \"6382\". }"}}
{"id": "test_5649", "question": "Towns in the Czech Republic with streets but no images or Commons categories", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?administrativeUnit ?coordinates WHERE {\n  ?street wdt:P31 wd:Q79007 .\n  ?street wdt:P17 wd:Q213 .\n  ?street wdt:P131 ?administrativeUnit .\n  ?administrativeUnit wdt:P625 ?coordinates . MINUS {\n    ?street wdt:P373 ?category .\n  } MINUS {\n    ?street wdt:P18 ?image .\n  }\n}\nGROUP BY ?administrativeUnit ?coordinates\nORDER BY ?administrativeUnit", "paraphrases": ["Which municipalities in the Czech Republic contain streets that lack both images and Wikimedia Commons categories?", "List the coordinates of Czech towns that have streets without any associated images or Commons categories."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q79007> . ?var3 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q213> . ?var3 <http://www.wikidata.org/prop/direct/P131> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . MINUS { ?var3 <http://www.wikidata.org/prop/direct/P373> ?var4 . } MINUS { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var5 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_5650", "question": "Languages spoken in Indonesia, ranked by number of speakers, with their ISO 639-3, IETF, BPS codes, and Ethnologue status.", "sparql": "SELECT ?language ?languageLabel ?bpsCode ?iso639_3 ?ietfTag ?ethnologueStatus ?speakerCount ?officialName WHERE { ?language wdt:P31 wd:Q34770 . ?language wdt:P17 wd:Q252 . OPTIONAL { ?language wdt:P2590 ?bpsCode . } OPTIONAL { ?language wdt:P220 ?iso639_3 . } OPTIONAL { ?language wdt:P305 ?ietfTag . } OPTIONAL { ?language wdt:P3823 ?ethnologueStatus . } OPTIONAL { ?language wdt:P1098 ?speakerCount . } OPTIONAL { ?language wdt:P1448 ?officialName . } ?language rdfs:label ?languageLabel . FILTER(LANG(?languageLabel) = \"en\") } ORDER BY DESC(?speakerCount)", "paraphrases": ["What are the languages spoken in Indonesia, ordered by how many people speak them, and what are their official codes and status levels?", "Please list all languages in Indonesia with their speaker counts, ISO 639-3 codes, IETF tags, BPS codes, and Ethnologue EGIDS status, sorted from most to least spoken."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5Label ?var6 ?var7 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q34770> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q252> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1448> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2590> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P220> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P305> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3823> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1098> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"id,en,nl\". } } ORDER BY DESC( ?var6 )"}}
{"id": "test_5651", "question": "What are the French names of humans who have both an ISNI and a Mus\u00e9e d'Orsay artist ID?", "sparql": "SELECT DISTINCT ?label WHERE { ?artist wdt:P31 wd:Q5 ; wdt:P2268 ?orsayId ; wdt:P213 ?isni ; rdfs:label ?label . FILTER (LANG(?label) = \"fr\") }", "paraphrases": ["List all French-labeled artists in the Mus\u00e9e d'Orsay database who also have an International Standard Name Identifier.", "Show me the French labels of people in Wikidata who are identified by both an ISNI and a Mus\u00e9e d'Orsay artist ID."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P2268> ?var2 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var1 <http://www.wikidata.org/prop/direct/P213> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } FILTER ( ( ( LANG ( ?var3Label ) = \"fr\" ) ) ) . }"}}
{"id": "test_5652", "question": "Types of deposition and their images on Wikimedia Commons", "sparql": "SELECT ?var1 ?var1Label ?var3 WHERE { ?var1 wdt:P1557 wd:Q871279 . OPTIONAL { ?var1 wdt:P18 ?var3 . } ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") } LIMIT 100", "paraphrases": ["What are the physical manifestations of deposition, and do they have associated images?", "Show me the different forms of deposition (like frost or rime ice) along with any available images of them."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1557> <http://www.wikidata.org/entity/Q871279> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_5653", "question": "What property links Guy de Maupassant to other entities the most times?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ( COUNT( ?property ) AS ?count ) WHERE {\n  ?work ?directProperty wd:Q9327 .\n  ?property wikibase:directClaim ?directProperty .\n  ?property rdf:type wikibase:Property .\n}\nGROUP BY ?property\nORDER BY DESC ( ?count )\nLIMIT 1", "paraphrases": ["Which property is most frequently used to indicate that Guy de Maupassant is the author of a work?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q9327> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_5654", "question": "What organizations has Chris Gorgolewski been affiliated with or employed by, and do they have official images?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image ?organization ?organizationLabel ?start ?end ?degreeLabel WHERE {\n  {\n    wd:Q23992201 p:P1416 ?statement .\n    ?statement ps:P1416 ?organization .\n  } UNION {\n    wd:Q23992201 p:P108 ?statement .\n    ?statement ps:P108 ?organization .\n  }\n  ?organization rdfs:label ?organizationLabel .\n  FILTER(LANG(?organizationLabel) = \"en\")\n  OPTIONAL {\n    ?organization wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?statement pq:P580 ?start .\n  }\n  OPTIONAL {\n    ?statement pq:P582 ?end .\n  }\n  OPTIONAL {\n    ?statement pq:P512 ?degree .\n    ?degree rdfs:label ?degreeLabel .\n    FILTER(LANG(?degreeLabel) = \"en\")\n  }\n}", "paraphrases": ["Can you show me the image of Google, since Chris Gorgolewski was affiliated with them, along with any start or end dates of that affiliation?", "Which companies or institutions is researcher Chris Gorgolewski connected to, and what are the time periods and academic qualifications linked to those affiliations?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label ?var4 ?var5 ?var6Label WHERE { { <http://www.wikidata.org/entity/Q23992201> <http://www.wikidata.org/prop/P1416> ?var7 . } UNION { <http://www.wikidata.org/entity/Q23992201> <http://www.wikidata.org/prop/P108> ?var7 . } { ?var7 <http://www.wikidata.org/prop/statement/P1416> ?var2 . } UNION { ?var7 <http://www.wikidata.org/prop/statement/P108> ?var2 . } ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P580> ?var4 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P582> ?var5 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P512> ?var8 . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_5655", "question": "What are the labels for Palisades, New York in different languages, along with its coordinates and Wikipedia link?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nSELECT ?label ?coord ?wikipedia ?image ?youtube ?github ?twitter ?facebook ?instagram ?website ?orcid WHERE {\n  VALUES ?lang {\n    \"en\" \"de\" \"fr\" \"it\"\n  }\n  wd:Q776781 rdfs:label ?label .\n  FILTER(LANG(?label) = ?lang)\n  OPTIONAL {\n    wd:Q776781 wdt:P625 ?coord\n  }\n  OPTIONAL {\n    ?wikipedia rdf:type schema:Article ; schema:about wd:Q776781 ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n  OPTIONAL {\n    wd:Q776781 wdt:P18 ?image\n  }\n  OPTIONAL {\n    wd:Q776781 wdt:P1651 ?youtube\n  }\n  OPTIONAL {\n    wd:Q776781 wdt:P2037 ?github\n  }\n  OPTIONAL {\n    wd:Q776781 wdt:P2002 ?twitter\n  }\n  OPTIONAL {\n    wd:Q776781 wdt:P2013 ?facebook\n  }\n  OPTIONAL {\n    wd:Q776781 wdt:P2003 ?instagram\n  }\n  OPTIONAL {\n    wd:Q776781 wdt:P856 ?website\n  }\n  OPTIONAL {\n    wd:Q776781 wdt:P496 ?orcid\n  }\n}\nORDER BY ?lang", "paraphrases": ["Show me the multilingual labels for Palisades, NY, its geographic coordinates, English Wikipedia page, and any associated social media or website identifiers.", "Retrieve the English, German, French, and Italian labels for Palisades, New York, plus its location coordinates, Wikipedia article, and any available YouTube, GitHub, Twitter, Facebook, Instagram, official website, or ORCID identifiers."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q776781> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var12 ) ) ) . VALUES ( ?var12 ?var13 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q776781> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q776781> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q776781> <http://www.wikidata.org/prop/direct/P1651> ?var5 . } OPTIONAL { <http://www.wikidata.org/entity/Q776781> <http://www.wikidata.org/prop/direct/P2037> ?var6 . } OPTIONAL { <http://www.wikidata.org/entity/Q776781> <http://www.wikidata.org/prop/direct/P2002> ?var7 . } OPTIONAL { <http://www.wikidata.org/entity/Q776781> <http://www.wikidata.org/prop/direct/P2013> ?var8 . } OPTIONAL { <http://www.wikidata.org/entity/Q776781> <http://www.wikidata.org/prop/direct/P2003> ?var9 . } OPTIONAL { <http://www.wikidata.org/entity/Q776781> <http://www.wikidata.org/prop/direct/P856> ?var10 . } OPTIONAL { <http://www.wikidata.org/entity/Q776781> <http://www.wikidata.org/prop/direct/P496> ?var11 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q776781> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var13 )"}}
{"id": "test_5656", "question": "Who are the alumni of the William F. Harrah College of Hotel Administration?", "sparql": "SELECT DISTINCT ?human WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P69 wd:Q8008802 . } LIMIT 500", "paraphrases": ["People educated at William F. Harrah College of Hotel Administration", "List all humans who attended the William F. Harrah College of Hotel Administration."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P69> ?var2 . ?var2 ( <http://www.wikidata.org/prop/direct/P279> | <http://www.wikidata.org/prop/direct/P131> )* <http://www.wikidata.org/entity/Q8008802> . } LIMIT 500"}}
{"id": "test_5657", "question": "Subclasses of processional parade ranked by number of instances.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?subclass ?subclassLabel ( COUNT( ?instance ) AS ?count ) WHERE {\n  ?subclass wdt:P279 wd:Q898830 .\n  ?instance ( wdt:P31 / wdt:P279 * ) ?subclass .\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER ( LANG( ?subclassLabel ) = \"en\" )\n}\nGROUP BY ?subclass ?subclassLabel\nORDER BY DESC ( ?count )", "paraphrases": ["Which types of processional parades are most common, and how many instances does each have?", "List all subclasses of processional parade along with how many events belong to each category, sorted by popularity."], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { { SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 ( COUNT ( ?var3 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q898830> . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var1 . } GROUP BY ?var1 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } } UNION { SELECT ?var4 ?var4Label ?var2 WHERE { { SELECT ?var4 ( COUNT ( ?var3 ) AS ?var2 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q898830> . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var4 . } GROUP BY ?var4 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } } }"}}
{"id": "test_5658", "question": "Which institutions were retired in the year 1333?", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?institution WHERE {\n  ?institution ( wdt:P730 | wdt:P746 ) ?retirementDate .\n  FILTER ( ?retirementDate >= \"1333-01-01T00:00:00Z\" ^^ xsd:dateTime && ?retirementDate <= \"1333-12-31T23:59:59Z\" ^^ xsd:dateTime )\n}", "paraphrases": ["What entities had their service ended or went missing in 1333?", "Can you list any government or military entities that ceased operations in 1333?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P730> | <http://www.wikidata.org/prop/direct/P746> ) ?var2 . FILTER ( ( ( ?var2 >= \"1333-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1333-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_5659", "question": "Title: \"Inception\", director, and image of the film", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel ?image ?director WHERE {\n  ?item wdt:P1476 \"Inception\" @en .\n  ?item wdt:P57 ?director .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["Who directed the film titled \"Inception\", and what is its image?", "Show me the English title, director, and image of the movie \"Inception\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1476> \"string1\"@en . ?var1 <http://www.wikidata.org/prop/direct/P57> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } }"}}
{"id": "test_5660", "question": "People with Russian citizenship who are listed in the Encyclop\u00e6dia Universalis.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person WHERE {\n  ?person wdt:P3219 [] .\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P27 wd:Q159 .\n}", "paraphrases": ["Who are the Russian citizens that have an entry in the Encyclop\u00e6dia Universalis?", "List all humans who are citizens of Russia and have an Encyclop\u00e6dia Universalis ID."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3219> [] . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q159> . }"}}
{"id": "test_5661", "question": "List all Wikidata properties used for authority control.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?property WHERE {\n  ?property wdt:P31 ?class .\n  ?class(wdt:P279 *) wd:Q18614948 .\n}", "paraphrases": ["Which Wikidata properties are instances of classes related to authority control?", "Show me all the identifiers in Wikidata that are used for authority control, such as GND or VIAF IDs."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q18614948> . }"}}
{"id": "test_5662", "question": "Most frequently used property for assigning blacksmith as an occupation in Wikidata", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?prop wd:Q1639825 . ?property wikibase:directClaim ?prop . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["What property is used most often to indicate that someone's occupation is blacksmith, and how many people have it?", "Show me the main property used to mark blacksmith as an occupation in Wikidata and the number of people associated with it."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q1639825> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_5663", "question": "Images related to George C. Boon, including those of his co-authors, works he authored, and entities confused with him.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?image WHERE {\n  {\n    wd:Q44610004 wdt:P18 ?image .\n  } UNION {\n    ?confusedEntity wdt:P1889 wd:Q44610004 .\n    ?confusedEntity wdt:P18 ?image .\n    FILTER(?confusedEntity != wd:Q5)\n  } UNION {\n    ?work wdt:P50 wd:Q44610004 .\n    ?work wdt:P921 ?subject .\n    ?subject wdt:P18 ?image .\n  } UNION {\n    ?work wdt:P50 wd:Q44610004 .\n    ?coAuthor wdt:P50 ?work .\n    ?coAuthor wdt:P18 ?image .\n  }\n}", "paraphrases": ["What images are associated with George C. Boon, either directly, through works he wrote, or through people or things commonly confused with him?", "Show me all Wikimedia Commons images connected to George C. Boon \u2014 including images of his co-authors, the subjects of his publications, and entities he is often confused with (excluding humans)."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { <http://www.wikidata.org/entity/Q44610004> <http://www.wikidata.org/prop/direct/P18> ?var1 . } UNION { <http://www.wikidata.org/entity/Q44610004> !( <http://www.wikidata.org/prop/direct/P1889> ) ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . FILTER ( ( ( ?var2 != <http://www.wikidata.org/entity/Q5> ) ) ) . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q44610004> . { ?var3 <http://www.wikidata.org/prop/direct/P921> [ <http://www.wikidata.org/prop/direct/P18> ?var1 ] . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P50> ?var3 . ?var4 <http://www.wikidata.org/prop/direct/P18> ?var1 . } } }"}}
{"id": "test_5664", "question": "List the names and heights of all humans in Wikidata with English labels.", "sparql": "SELECT ?humanLabel ?height WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P2048 ?height . ?human rdfs:label ?humanLabel . FILTER(LANG(?humanLabel) = \"en\") }", "paraphrases": ["What are the heights of humans, along with their names in English?", "Show me the English names and corresponding heights of people in Wikidata."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P2048> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5665", "question": "What are the dates that fall on January 1?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?entity ?entityLabel WHERE {\n  ?entity wdt:P31 wd:Q2150 .\n  ?entity rdfs:label ?entityLabel .\n  FILTER ( LANG( ?entityLabel ) = \"en\" )\n}", "paraphrases": ["Can you list the entities that are instances of January 1 along with their labels?", "Which specific days are categorized as January 1 in the Gregorian calendar?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/entity/Q47223> <http://www.wikidata.org/entity/Q2150> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"el,en\". } }"}}
{"id": "test_5666", "question": "What are the English-named administrative entities and their longitudes where museums with a Museofile ID are located?", "sparql": "SELECT DISTINCT ?administrativeEntity ?administrativeEntityLabel ?longitude WHERE { ?museum wdt:P539 ?museofileId . ?museum wdt:P131 ?administrativeEntity . ?administrativeEntity rdfs:label ?administrativeEntityLabel . FILTER(LANG(?administrativeEntityLabel) = \"en\") ?museum p:P625 ?coordinateStatement . ?coordinateStatement psv:P625 ?coordinateValue . ?coordinateValue wikibase:geoLongitude ?longitude .} ORDER BY ASC(?administrativeEntityLabel)", "paraphrases": ["List the locations (with coordinates) of museums registered in the French Museofile database, grouped by their administrative territories.", "Show me the administrative areas and longitude coordinates for museums identified by a Museofile ID, using English labels."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ( ?var2Label AS ?var3 ) ?var4 WHERE { ?var5 <http://www.wikidata.org/prop/direct/P539> ?var6 . ?var5 <http://www.wikidata.org/prop/direct/P131> ?var2 . OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P856> ?var7 . } OPTIONAL { } OPTIONAL { ?var5 <http://www.wikidata.org/prop/P625> ?var8 . ?var8 <http://www.wikidata.org/prop/statement/value/P625> ?var9 . ?var9 <http://wikiba.se/ontology#geoLongitude> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } ORDER BY ASC( ?var2Label )"}}
{"id": "test_5667", "question": "What is the English description of the entity with Theatricalia theatre ID \"156\"?", "sparql": "SELECT ?theatre ?theatreLabel ?description WHERE { ?theatre wdt:P2468 \"156\" . OPTIONAL { ?theatre schema:description ?description . FILTER ( LANG( ?description ) = \"en\" ) } }", "paraphrases": ["Which entity in Wikidata has the Theatricalia ID \"156\", and what is its English description?", "Show the entity and its English description linked to the Theatricalia ID \"156\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2468> \"31f\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5668", "question": "Image of the person with SNAC ARK ID w6445m8c", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6445m8c\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What image is linked to the SNAC ARK ID w6445m8c?", "Show me the Wikimedia Commons image for the individual identified by the SNAC ARK ID w6445m8c."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6445m8c\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5669", "question": "Streets in Czech Republic with coordinates, images, and addresses within longitude 12\u201319 and latitude 48.5\u201351", "sparql": "SELECT ?street ?streetLabel ?location ?image ?address WHERE { ?street wdt:P31 wd:Q79007 ; wdt:P17 wd:Q213 ; wdt:P625 ?location ; rdfs:label ?streetLabel . FILTER(LANG(?streetLabel) = \"en\") BIND(strafter(STR(?location), \"POINT(\") AS ?coords) BIND(strbefore(?coords, \")\") AS ?coords_clean) BIND(strbefore(?coords_clean, \" \") AS ?lon_str) BIND(strafter(?coords_clean, \" \") AS ?lat_str) BIND(xsd:double(?lon_str) AS ?lon) BIND(xsd:double(?lat_str) AS ?lat) FILTER(?lon >= 12 && ?lon <= 19 && ?lat >= 48.5 && ?lat <= 51) OPTIONAL { ?street wdt:P18 ?image . } OPTIONAL { ?street wdt:P969 ?address . } } LIMIT 3000", "paraphrases": ["What are the streets in the Czech Republic that have coordinates, images, and addresses, located between 12\u00b0E and 19\u00b0E and 48.5\u00b0N and 51\u00b0N?", "List streets in the Czech Republic with their locations, images, and addresses, within the geographic bounds of 12\u201319\u00b0E and 48.5\u201351\u00b0N."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(17 49)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(21 51)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q79007> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q213> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_5670", "question": "What are the English names and descriptions of venues listed on Theatricalia.com?", "sparql": "SELECT ?theatre ?theatreLabel ?description WHERE { ?theatre wdt:P2468 ?theatricaliaId . OPTIONAL { ?theatre schema:description ?description . FILTER (LANG(?description) = \"en\") } ?theatre rdfs:label ?theatreLabel . FILTER (LANG(?theatreLabel) = \"en\") }", "paraphrases": ["Can you list the theatres and performance venues with Theatricalia IDs along with their English descriptions?", "Show me the names and English descriptions of all venues that have a Theatricalia identifier."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2468> \"tw\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5671", "question": "What are the English descriptions of entities named \"The Clique\"?", "sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 rdfs:label ?var1Label . FILTER (?var1Label = \"The Clique\"@en) OPTIONAL { ?var1 schema:description ?var2 . FILTER (LANG(?var2) = \"en\") } }", "paraphrases": ["Show me the entities called \"The Clique\" and their English descriptions.", "Can you find information about \"The Clique\" in English, including what it refers to?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3417> \"Clique-Art\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5672", "question": "Father of Albert Einstein and statement type", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?fatherLabel ?statementType WHERE {\n  wd:Q937 p:P22 ?statement .\n  ?statement ps:P22 ?father .\n  ?statement rdf:type ?statementType .\n  ?father rdfs:label ?fatherLabel .\n  FILTER(LANG(?fatherLabel) = \"en\")\n}", "paraphrases": ["Who is Albert Einstein's father, and what is the type of the statement recording this relationship?", "Show me the name of Albert Einstein's father along with the types of the statement that links him as the father."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { { <http://www.wikidata.org/entity/Q937> <http://www.wikidata.org/prop/P22> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P22> ?var1 . OPTIONAL { ?var3 <http://www.wikidata.org/prop/statement/value/P22> ?var4 . ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?var2 . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5673", "question": "Image of John Bidwell with SNAC ARK ID w6z322m6", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6z322m6\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with John Bidwell in Wikidata, identified by the SNAC ARK ID w6z322m6?", "Show me the Wikimedia Commons image for the person whose SNAC ARK ID is w6z322m6."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6z322m6\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5674", "question": "People who died in January 2017", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?person ?personLabel WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P570 ?deathDate .\n  FILTER(?deathDate >= \"2017-01-01T00:00:00Z\" ^^ xsd:dateTime && ?deathDate < \"2017-02-01T00:00:00Z\" ^^ xsd:dateTime)\n  .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}", "paraphrases": ["Who died in January 2017?", "List the names of people who died in January 2017."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } FILTER ( ( ( ?var2 >= \"2017-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 < \"2017-02-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_5675", "question": "German states, their legislative bodies, and member roles excluding speakers", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?state ?stateLabel ?legislativeBody ?legislativeBodyLabel ?memberType ?memberTypeLabel WHERE {\n  ?state ( wdt:P31 / wdt:P279 * ) wd:Q10864048 ; wdt:P17 wd:Q183 ; MINUS {\n    ?state ( wdt:P582 | wdt:P576 ) [] .\n  }\n  OPTIONAL {\n    ?state wdt:P194 ?legislativeBody . MINUS {\n      ?legislativeBody ( wdt:P582 | wdt:P576 ) [] .\n    }\n  }\n  OPTIONAL {\n    ?legislativeBody ( wdt:P527 | wdt:P2670 ) ?memberType .\n    ?memberType wdt:P279 * wd:Q4175034 . MINUS {\n      ?memberType wdt:P279 * wd:Q1758037 .\n    }\n  }\n  OPTIONAL {\n    ?state rdfs:label ?stateLabel .\n    FILTER ( LANG( ?stateLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?legislativeBody rdfs:label ?legislativeBodyLabel .\n    FILTER ( LANG( ?legislativeBodyLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?memberType rdfs:label ?memberTypeLabel .\n    FILTER ( LANG( ?memberTypeLabel ) = \"en\" )\n  }\n}\nORDER BY ASC ( ?stateLabel ) ASC ( ?legislativeBodyLabel )", "paraphrases": ["What are the current first-level administrative divisions of Germany, their legislative bodies, and the types of members serving in those bodies, excluding speakers?", "List the German states along with their legislative bodies and the roles of members in those bodies, making sure to exclude speaker positions and only include current entities."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label ?var5 ?var5Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q10864048> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P194> ?var2 . MINUS { ?var2 ( <http://www.wikidata.org/prop/direct/P582> | <http://www.wikidata.org/prop/direct/P576> ) [] . } } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1001> ?var1 ; ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q10553309> . MINUS { ?var3 ( <http://www.wikidata.org/prop/direct/P582> | <http://www.wikidata.org/prop/direct/P576> ) [] . } OPTIONAL { ?var3 ( <http://www.wikidata.org/prop/direct/P527> | <http://www.wikidata.org/prop/direct/P2670> ) ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q4175034> . MINUS { ?var4 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q1758037> . } } OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q4175034> ; <http://www.wikidata.org/prop/direct/P361> ?var3 . MINUS { ?var5 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q1758037> . } } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,de\". } } ORDER BY ASC( ?var1Label )ASC( ?var2Label )"}}
{"id": "test_5676", "question": "Manga titles in English containing \"Dead\"", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?manga ?mangaTitle WHERE {\n  ?manga wdt:P31 wd:Q8274 ; schema:name ?mangaTitle .\n  FILTER ( LANG( ?mangaTitle ) = \"en\" ) .\n  FILTER ( CONTAINS( ?mangaTitle , \"Dead\" ) ) .\n}\nLIMIT 100", "paraphrases": ["What are the English titles of manga that include the word \"Dead\"?", "List all English-language manga titles that have \"Dead\" in their name."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q8274> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( CONTAINS ( ?var2Label , \"Dead\" ) ) ) . } LIMIT 100"}}
{"id": "test_5677", "question": "What are the publication years and titles (first 20 characters) of Qingqing Huang\u2019s academic works?", "sparql": "SELECT ?year ?title WHERE { ?work wdt:P50 wd:Q39025079 . ?work wdt:P577 ?date . BIND(YEAR(?date) AS ?year) . ?work rdfs:label ?label . FILTER(LANG(?label) = \"en\") . BIND(SUBSTR(?label, 1, 20) AS ?title) } ORDER BY ?year", "paraphrases": ["List Qingqing Huang\u2019s publications in chronological order, showing the year and abbreviated title.", "Can you show me the years and short titles of all papers authored by Qingqing Huang?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label WHERE { { SELECT ?var1 ( SAMPLE ( ?var4 ) AS ?var2 ) ?var3Label WHERE { { SELECT( STR ( ?var5 ) AS ?var1 )( \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var4 )( \"_\" AS ?var3Label ) WHERE { BIND ( YEAR ( ?var6 ) AS ?var5 ). ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q577> . ?var7 <http://www.wikidata.org/prop/direct/P585> ?var6 . { SELECT( MIN ( ?var5 ) AS ?var8 )( MAX ( ?var5 ) AS ?var9 ) WHERE { BIND ( YEAR ( ?var10 ) AS ?var5 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q39025079> . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var10 . } } FILTER ( ( ( ?var5 >= ?var8 ) && ( ?var5 <= ?var9 ) ) ) . } } UNION { BIND ( SUBSTR ( ?var12Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"20\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q39025079> . ?var11 <http://www.wikidata.org/prop/direct/P1104> ?var4 . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var6 . ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12Label . FILTER ( ( ( LANG ( ?var12Label ) = \"en\" ) ) ) . } } GROUP BY ?var1 ?var11 ?var3Label ORDER BY ASC( ?var1 ) } }"}}
{"id": "test_5678", "question": "List of web frameworks", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?framework ?frameworkLabel WHERE {\n  ?framework wdt:P31 wd:Q1330336 .\n  ?framework rdfs:label ?frameworkLabel .\n  FILTER ( LANG( ?frameworkLabel ) = \"en\" )\n}", "paraphrases": ["What are some examples of web frameworks?", "Can you show me the names of all web frameworks in English?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1330336> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_5679", "question": "Danish labels and descriptions of lifestyles from Wikidata", "sparql": "SELECT ?lifestyle ?label ?description WHERE { ?item wdt:P1576 ?lifestyle . ?lifestyle rdfs:label ?label . ?lifestyle schema:description ?description . FILTER(LANG(?label) = \"da\") FILTER(LANG(?description) = \"da\") } LIMIT 100", "paraphrases": ["What are the Danish-language labels and descriptions for lifestyles in Wikidata?", "Show me the Danish names and descriptions of lifestyles used in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P1576> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"da\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"da\" ) ) ) . } LIMIT 100"}}
{"id": "test_5680", "question": "What is the ORCID of the author of the article \"A Note on Beaked Towers\", and if none exists, what is their name?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?author ?authorLabel(COALESCE(?orcid , CONCAT(\"No ORCID: \" , ?authorLabel)) AS ?fallback) WHERE {\n  wd:Q42355203 wdt:P50 ?author .\n  OPTIONAL {\n    ?author wdt:P496 ?orcid .\n  }\n  ?author rdfs:label ?authorLabel .\n  FILTER(LANG(?authorLabel) = \"en\")\n}", "paraphrases": ["Show the ORCID identifier for the author of \"A Note on Beaked Towers\"; if unavailable, return the author\u2019s name instead.", "Who wrote \"A Note on Beaked Towers\"? Provide their ORCID if known, otherwise their name."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COALESCE ( ?var2 , CONCAT ( \"string1\", ENCODE_FOR_URI ( ?var1Label ) ) ) AS ?var3 ) WHERE { <http://www.wikidata.org/entity/Q42355203> <http://www.wikidata.org/prop/direct/P50> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,da,de,es,fr,nl,no,ru,sv,zh\". } }"}}
{"id": "test_5681", "question": "All properties and values for the footballer Hulk with a FIFA player ID.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT DISTINCT ?player ?property WHERE {\n  ?player p:P1469 ?statement .\n  ?player rdfs:label \"Hulk\" @en .\n  ?player ?property ?value .\n}", "paraphrases": ["What are all the properties and values associated with the footballer Hulk, who has a FIFA player ID?", "Show me all the information known about the footballer Hulk in Wikidata, but only if he has a FIFA player ID."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/P1469> ?var3 . ?var1 ?var4Label \"Hulk\"@en . ?var1 ?var2 ?var5 . }"}}
{"id": "test_5682", "question": "What time zones is Ohio in?", "sparql": "SELECT ?timeZoneLabel WHERE { wd:Q1397 wdt:P421 ?timeZone . ?timeZone rdfs:label ?timeZoneLabel . FILTER(LANG(?timeZoneLabel) = \"en\") }", "paraphrases": ["What are the English names of the time zones that apply to Ohio?", "Can you tell me the time zone labels for the state of Ohio?"], "info": {"raw_sparql": "SELECT ?var1Label WHERE { <http://www.wikidata.org/entity/Q1397> <http://www.wikidata.org/prop/direct/P421> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5683", "question": "Which football player nicknamed \"Hulk\" played for a team in Portugal?", "sparql": "SELECT DISTINCT ?player ?team WHERE { ?player rdfs:label \"Hulk\"@en . ?player wdt:P1469 ?fifaId . ?player wdt:P54 ?team . ?team wdt:P17 wd:Q45 . }", "paraphrases": ["Footballer \"Hulk\" with FIFA ID who played for a Portuguese club", "Show me the Portuguese football club that Hulk played for."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/P1469> ?var3 . ?var1 ?var4Label \"Hulk\"@en . ?var1 <http://www.wikidata.org/prop/P54> ?var2 . ?var2 <http://www.wikidata.org/prop/qualifier/P17> <http://www.wikidata.org/entity/Q45> . }"}}
{"id": "test_5684", "question": "List manga titles in English and their number of chapters.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?manga ?mangaLabel ?partCount WHERE {\n  ?manga wdt:P31 wd:Q8274 ; rdfs:label ?mangaLabel .\n  FILTER ( LANG( ?mangaLabel ) = \"en\" ) OPTIONAL {\n    ?manga wdt:P2635 ?partCount .\n  }\n}\nLIMIT 100", "paraphrases": ["What are the English titles of manga, and how many parts do they have?", "Show me up to 100 English-named manga works along with their chapter counts, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q8274> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2635> ?var2 . } } LIMIT 100"}}
{"id": "test_5685", "question": "List Iranian districts with their English administrative county names and Persian labels.", "sparql": "SELECT ?administrativeEntityLabel ?district ?label_fa ?label_uk WHERE { ?district wdt:P31 wd:Q11353 . ?district wdt:P131 ?administrativeEntity . OPTIONAL { ?district rdfs:label ?label_fa . FILTER(LANG(?label_fa) = \"fa\") } OPTIONAL { ?district rdfs:label ?label_uk . FILTER(LANG(?label_uk) = \"uk\") } ?administrativeEntity rdfs:label ?administrativeEntityLabel . FILTER(LANG(?administrativeEntityLabel) = \"en\") } ORDER BY ASC(?administrativeEntityLabel)", "paraphrases": ["What are the districts in Iran, their corresponding counties in English, and their Persian names?", "Show me all districts in Iran, sorted alphabetically by their county names in English, along with their Persian labels (if available)."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11353> . ?var2 <http://www.wikidata.org/prop/direct/P131> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"uk,en,fr,ru,fa\". } OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"fa\" ) ) ) . } OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"uk\" ) ) ) . } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_5686", "question": "What is the French label and description of the 2007 film \"La France\", and is there an image available for it?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?description ?image WHERE {\n  OPTIONAL {\n    wd:Q3209212 rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"fr\" )\n  }\n  OPTIONAL {\n    wd:Q3209212 schema:description ?description .\n    FILTER ( LANG( ?description ) = \"fr\" )\n  }\n  OPTIONAL {\n    wd:Q3209212 wdt:P18 ?image .\n  }\n}", "paraphrases": ["French title, description, and image of the film \"La France\" (2007)", "Can you provide the French-language title and description of the 2007 film \"La France\" directed by Serge Bozon, along with its image from Wikimedia Commons if one exists?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q3209212> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"fr\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q3209212> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q3209212> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"fr\" ) ) ) . } }"}}
{"id": "test_5687", "question": "French label and description of the 1919 film \"Pr\u00e6sidenten\", and its image on Wikimedia Commons.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?description ?image WHERE {\n  OPTIONAL {\n    wd:Q3226056 rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"fr\" )\n  }\n  OPTIONAL {\n    wd:Q3226056 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q3226056 schema:description ?description .\n    FILTER ( LANG( ?description ) = \"fr\" )\n  }\n}", "paraphrases": ["What is the French title and description of the 1919 film \"Pr\u00e6sidenten\", and does it have an image on Wikimedia Commons?", "Please provide the French label and description of the film \"Pr\u00e6sidenten\" (1919), along with its image if available."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q3226056> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"fr\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q3226056> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q3226056> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"fr\" ) ) ) . } }"}}
{"id": "test_5688", "question": "German label \"Deutschland\" and a property of the country", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?prop ?value WHERE {\n  ?item wdt:P1705 \"Deutschland\" @de .\n  ?item wdt:P31 wd:Q3624078 .\n  ?item ?prop ?value .\n}\nLIMIT 1", "paraphrases": ["What is a property of the country that is called \"Deutschland\" in German?", "Show me one property-value pair for Germany, which is known as \"Deutschland\" in German."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ?var2Label \"string1\"@de . ?var1 ?var3 ?var4 . } LIMIT 1"}}
{"id": "test_5689", "question": "What Unicode character is represented by the HTML entity \"&bdquo;\" and what is its English description?", "sparql": "SELECT ?character ?label ?description WHERE { ?character wdt:P4575 \"&bdquo;\" . ?character rdfs:label ?label . FILTER (LANG(?label) = \"en\") OPTIONAL { ?character schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Which Unicode character corresponds to the HTML entity \"&bdquo;\", and what is its English label and description?", "Show me the English label and description of the Unicode character that uses \"&bdquo;\" as its HTML entity."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4575> \"&bdquo;\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5690", "question": "Portuguese labels and descriptions of properties related to official name.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?property ?label ?description WHERE {\n  wd:P1448 wdt:P1659 ?property .\n  ?property rdfs:label ?label .\n  ?property schema:description ?description .\n  FILTER(LANG(?label) = \"pt\")\n  FILTER(LANG(?description) = \"pt\")\n}", "paraphrases": ["What are the Portuguese labels and descriptions of properties related to the official name property in Wikidata?", "Show me the Portuguese labels and descriptions of properties that are related to the official name property."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P1448> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"pt\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"pt\" ) ) ) . }"}}
{"id": "test_5691", "question": "Number of humans in Wikidata", "sparql": "SELECT ( COUNT( ?human ) AS ?count ) WHERE { ?human wdt:P31 wd:Q5 . }", "paraphrases": ["How many humans are listed in Wikidata?", "Count the total number of humans in Wikidata."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2868> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_5692", "question": "What are the different types of rivers?", "sparql": "SELECT ?var1 ?label WHERE { ?var1 wdt:P279+ wd:Q4022 . ?var1 rdfs:label ?label . FILTER(LANG(?label) = \"en\") } ORDER BY ?label", "paraphrases": ["List all subclasses of river in English.", "Can you show me the various kinds of rivers, such as alluvial rivers or wadis?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P279> + <http://www.wikidata.org/entity/Q4022> . } } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,es,pt,de,fr,nl,cs,sk,pl,it,ru,ja,zh,hu,lv,lt,et,hr,fi,da,el,ca,uk,be,sv,no,ko,bg,ar,fy,he,ta\". } } ORDER BY ASC( <http://www.w3.org/2001/XMLSchema#integer> ( SUBSTR ( STR ( ?var1 ) , ( STRLEN ( \"string1\" ) +\"+1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) )"}}
{"id": "test_5693", "question": "What are all the association football clubs listed in Wikidata?", "sparql": "SELECT ?club WHERE { ?club wdt:P31 wd:Q476028 . }", "paraphrases": ["List all entities that are instances of an association football club.", "Show me a list of soccer clubs according to Wikidata."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q290884> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pt,en\". } }"}}
{"id": "test_5694", "question": "What is the image of the musical group ZZ Top?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?band ?bandLabel ?image WHERE {\n  ?band wdt:P31 wd:Q215380 .\n  ?band rdfs:label ?bandLabel .\n  OPTIONAL {\n    ?band wdt:P18 ?image .\n  }\n  FILTER ( ?band = wd:Q136591 )\n}\nLIMIT 1", "paraphrases": ["Can you show me the label and image of ZZ Top, which is a musical group?", "What does ZZ Top look like? (Show its image and name)"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q215380> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } FILTER ( ( ( ?var1 = <http://www.wikidata.org/entity/Q136591> ) ) ) . } LIMIT 1"}}
{"id": "test_5695", "question": "What are the administrative regions above Yateley, and what is each one\u2019s direct parent?", "sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { wd:Q507125 wdt:P131+ ?var1 . MINUS { ?var1 (wdt:P576|wdt:P582) [] . } OPTIONAL { ?var1 wdt:P131 ?var2 . MINUS { ?var2 (wdt:P576|wdt:P582) [] . } } ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") }", "paraphrases": ["List all current administrative areas that contain Yateley, along with their English names and immediate superior regions.", "Show the chain of administrative divisions from Yateley up to the country level, excluding any that have been abolished."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". <http://www.wikidata.org/entity/Q507125> <http://www.wikidata.org/prop/direct/P131> * ?var1 . MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P576> | <http://www.wikidata.org/prop/direct/P582> ) [] . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . MINUS { ?var2 ( <http://www.wikidata.org/prop/direct/P576> | <http://www.wikidata.org/prop/direct/P582> ) [] . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en, en\". } }"}}
{"id": "test_5696", "question": "Software libraries written in Python or Python 3", "sparql": "SELECT ?library ?libraryLabel WHERE { ?library wdt:P31 wd:Q188860 . { ?library wdt:P277 wd:Q28865 . } UNION { ?library wdt:P277 wd:Q31205855 . } OPTIONAL { ?library rdfs:label ?libraryLabel . FILTER(LANG(?libraryLabel) = \"en\") } } LIMIT 100", "paraphrases": ["What are the software libraries programmed in Python or Python 3?", "List the English names of software libraries that are written in either Python or Python 3."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q188860> . { ?var1 <http://www.wikidata.org/prop/direct/P277> <http://www.wikidata.org/entity/Q31205855> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P277> <http://www.wikidata.org/entity/Q28865> . } } LIMIT 100"}}
{"id": "test_5697", "question": "Who are the people married to someone named Brigitte?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?spouse ?spouseLabel WHERE {\n  ?brigitte wdt:P735 wd:Q18175370 ; wdt:P31 wd:Q5 .\n  ?spouse wdt:P26 ?brigitte .\n  ?spouse rdfs:label ?spouseLabel .\n  FILTER(LANG(?spouseLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Spouses of people with the given name Brigitte", "List the husbands or wives of individuals named Brigitte."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } ?var1 <http://www.wikidata.org/prop/direct/P26> <http://www.wikidata.org/entity/Q18175370> . } LIMIT 100"}}
{"id": "test_5698", "question": "Who are the people with the given name Brigitte?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P735 wd:Q18175370 .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["List all individuals named Brigitte.", "Can you show me the people who have Brigitte as their first name?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } ?var1 <http://www.wikidata.org/prop/direct/P1039> <http://www.wikidata.org/entity/Q18175370> . } LIMIT 100"}}
{"id": "test_5699", "question": "Images and countries of origin for king cake", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?value ?valueLabel WHERE {\n  wd:Q177166 ?property ?value .\n  FILTER(?property = wdt:P18 || ?property = wdt:P495)\n  OPTIONAL {\n    ?value rdfs:label ?valueLabel .\n    FILTER(LANG(?valueLabel) = \"en\")\n  }\n}", "paraphrases": ["What images and countries are associated with king cake?", "Show me the image files and the countries where king cake originates from."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q177166> ?var2 ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pt,pt\". } FILTER ( ( ( ?var2 = <http://www.wikidata.org/prop/direct/P18> ) || ( ?var2 = <http://www.wikidata.org/prop/direct/P495> ) ) ) . }"}}
{"id": "test_5700", "question": "Image of Immanuel Velikovsky from Wikidata using SNAC ARK ID w63r1m96.", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w63r1m96\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with Immanuel Velikovsky\u2019s SNAC ARK ID w63r1m96?", "Show me the Wikimedia Commons image for the person with SNAC ARK ID w63r1m96."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w63r1m96\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5701", "question": "Football players with \"goalkeeper\" in their position label", "sparql": "SELECT DISTINCT ?player ?playerLabel ?position ?positionLabel WHERE { ?player wdt:P413 ?position . ?player rdfs:label ?playerLabel . ?position rdfs:label ?positionLabel . FILTER (LANG(?playerLabel) = \"en\") FILTER (LANG(?positionLabel) = \"en\") FILTER (REGEX(?positionLabel, \"goalkeeper\", \"i\")) } ORDER BY ASC(?positionLabel)", "paraphrases": ["Which association football players have a position that includes the word \"goalkeeper\"?", "List all English-language football players and their positions where the position contains \"goalkeeper\", sorted alphabetically by position."], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q628099> ) ( <http://www.wikidata.org/entity/Q937857> ) } ?var2 <http://www.wikidata.org/prop/Q21705947> ?var1 . FILTER ( ( REGEX ( ?var3 , \"string1\", \"i\" ) ) ) . } ORDER BY ASC( ?var4 )"}}
{"id": "test_5702", "question": "Film with film-documentaire.fr ID 23556", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P3673 \"23556\" .\n}", "paraphrases": ["Which film has the identifier 23556 in the film-documentaire.fr database?", "Tell me the name of the film that is listed as 23556 on film-documentaire.fr."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3673> \"23556\". }"}}
{"id": "test_5703", "question": "English label, description, and image of Park (street in Wanroij, Netherlands)", "sparql": "SELECT ?label ?description ?image WHERE { OPTIONAL { wd:Q19406088 rdfs:label ?label . FILTER (LANG(?label) = \"en\") } OPTIONAL { wd:Q19406088 wdt:P18 ?image . } OPTIONAL { wd:Q19406088 schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["What is the English name, description, and image of the street named Park in Wanroij, the Netherlands?", "Please provide the English label and description of Park in Wanroij, along with any associated image from Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q19406088> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q19406088> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q19406088> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_5704", "question": "French playwright Jean Anouilh: given name, birth and death dates, image, and years of birth and death.", "sparql": "SELECT ?person ?personLabel ?givenName ?birthDate ?deathDate ?image ?birthYear ?deathYear WHERE { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"fr\") . FILTER(?personLabel = \"Jean Anouilh\"@fr) . ?person wdt:P735 ?givenName . ?person wdt:P569 ?birthDate . ?person wdt:P570 ?deathDate . OPTIONAL { ?person wdt:P18 ?image . } BIND(YEAR(?birthDate) AS ?birthYear) BIND(YEAR(?deathDate) AS ?deathYear) }", "paraphrases": ["Who is Jean Anouilh, and what are his birth and death dates, given name, and image on Wikimedia Commons?", "Show me the details of the French playwright Jean Anouilh, including his first name, birth and death years, and a photo if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 WHERE { BIND ( YEAR ( ?var4 ) AS ?var6 ). BIND ( YEAR ( ?var5 ) AS ?var7 ). ?var1 ?var8 \"anouilh\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P735> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } }"}}
{"id": "test_5705", "question": "What are the labels for Jos\u00e9 Luis L\u00f3pez V\u00e1zquez in different languages, along with his image and English Wikipedia article?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?label ?image ?wikipediaArticle WHERE {\n  wd:Q727726 rdfs:label ?label .\n  FILTER ( LANG( ?label ) IN ( \"en\" , \"de\" , \"fr\" , \"it\" ) ) OPTIONAL {\n    wd:Q727726 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?wikipediaArticle schema:about wd:Q727726 ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n}\nORDER BY ?label", "paraphrases": ["Show me the multilingual labels, image, and Wikipedia link for Spanish actor Jos\u00e9 Luis L\u00f3pez V\u00e1zquez.", "Retrieve the German, English, French, and Italian labels for Jos\u00e9 Luis L\u00f3pez V\u00e1zquez, plus his Wikimedia Commons image and English Wikipedia page."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q727726> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var12 ) ) ) . VALUES ( ?var12 ?var13 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q727726> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q727726> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q727726> <http://www.wikidata.org/prop/direct/P1651> ?var5 . } OPTIONAL { <http://www.wikidata.org/entity/Q727726> <http://www.wikidata.org/prop/direct/P2037> ?var6 . } OPTIONAL { <http://www.wikidata.org/entity/Q727726> <http://www.wikidata.org/prop/direct/P2002> ?var7 . } OPTIONAL { <http://www.wikidata.org/entity/Q727726> <http://www.wikidata.org/prop/direct/P2013> ?var8 . } OPTIONAL { <http://www.wikidata.org/entity/Q727726> <http://www.wikidata.org/prop/direct/P2003> ?var9 . } OPTIONAL { <http://www.wikidata.org/entity/Q727726> <http://www.wikidata.org/prop/direct/P856> ?var10 . } OPTIONAL { <http://www.wikidata.org/entity/Q727726> <http://www.wikidata.org/prop/direct/P496> ?var11 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q727726> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var13 )"}}
{"id": "test_5706", "question": "What paintings and other artworks did Georges Kars create, including their creation dates, inventory numbers, and images?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?work ?inception ?typeLabel ?inventoryNumber ?image WHERE {\n  ?work wdt:P170 wd:Q1508974 .\n  ?work wdt:P31 ?type .\n  OPTIONAL {\n    ?work wdt:P571 ?inception .\n  }\n  OPTIONAL {\n    ?work wdt:P217 ?inventoryNumber .\n  }\n  OPTIONAL {\n    ?work wdt:P18 ?image .\n  }\n  ?type rdfs:label ?typeLabel .\n  FILTER ( LANG( ?typeLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Can you list all artworks created by the Czech painter Georges Kars, along with their types (e.g., painting or sculpture), when they were made, their collection inventory numbers, and any available images?", "Show me the artworks by Georges Kars with their types, creation years, inventory numbers in collections, and links to images on Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label ?var4 ?var5 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en,cs,de,fr\". } ?var1 <http://www.wikidata.org/prop/direct/P170> <http://www.wikidata.org/entity/Q1508974> . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P217> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } } LIMIT 100"}}
{"id": "test_5707", "question": "What is the English Wikipedia page, official website, and type of Canadian North airline?", "sparql": "SELECT DISTINCT ?airlineLabel ?wikipediaPage ?website ?instance WHERE { wd:Q1032237 rdfs:label ?airlineLabel . FILTER(LANG(?airlineLabel) = \"en\") . ?wikipediaPage schema:about wd:Q1032237 ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> . OPTIONAL { wd:Q1032237 wdt:P856 ?website } OPTIONAL { wd:Q1032237 wdt:P31 ?instance } }", "paraphrases": ["Show me the label, Wikipedia link, website, and category of Canadian North.", "Can you provide details about Canadian North, including its Wikipedia page, official site, and what kind of entity it is?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P127> <http://www.wikidata.org/entity/Q1032237> . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"en\". ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P127> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5708", "question": "Humans buried in Sweden with their birth and death dates, images, and grave photos.", "sparql": "SELECT ?person ?personLabel ?burialPlace ?burialPlaceLabel ?graveImage ?image ?birthDate ?deathDate WHERE { ?person wdt:P31 wd:Q5 ; p:P119 ?burialStatement . ?burialStatement ps:P119 ?burialPlace . ?burialPlace wdt:P17 wd:Q34 . OPTIONAL { ?person wdt:P1442 ?graveImage . } OPTIONAL { ?person wdt:P18 ?image . } OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } ?person rdfs:label ?personLabel . ?burialPlace rdfs:label ?burialPlaceLabel . FILTER(LANG(?personLabel) = \"en\") FILTER(LANG(?burialPlaceLabel) = \"en\") } ORDER BY ASC(?personLabel)", "paraphrases": ["Who are the people buried in Sweden, and what are their birth and death dates, along with any available images of them or their graves?", "List all humans buried in Sweden, including their names, burial locations, dates of birth and death, and any associated images or grave photos, sorted alphabetically by name."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var8 <http://www.wikidata.org/prop/qualifier/P625> ?var3 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerWest> \"POINT(17 58)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerEast> \"POINT(19 59)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } ?var1 <http://www.wikidata.org/prop/P119> ?var8 ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1442> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_5709", "question": "Museums in Germany with their coordinates", "sparql": "SELECT DISTINCT ?museum ?museumLabel ?location WHERE { ?museum (wdt:P31/wdt:P279*) wd:Q33506 ; wdt:P131 wd:Q183 ; wdt:P625 ?location . ?museum rdfs:label ?museumLabel . FILTER(LANG(?museumLabel) = \"en\") }", "paraphrases": ["What are the English-named museums in Germany and their geographic coordinates?", "List all museums and their subtypes located in Germany along with their latitude and longitude in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q33506> ; <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q229632> ; <http://www.wikidata.org/prop/direct/P625> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl, en\". } }"}}
{"id": "test_5710", "question": "Dedicatees of temples and shrines in Japan with available images", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?var1Label ?var2 WHERE {\n  ?var3 wdt:P825 ?var1 .\n  ?var3 wdt:P17 wd:Q17 .\n  OPTIONAL {\n    ?var3 wdt:P18 ?var2 .\n  }\n  ?var1 rdfs:label ?var1Label .\n  FILTER(LANG(?var1Label) = \"en\")\n}", "paraphrases": ["Who are the people or deities that Japanese shrines and temples are dedicated to, and what images exist of them on Wikimedia Commons?", "List the English names of entities to which cultural sites in Japan are dedicated, along with any associated images from Wikimedia Commons."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P825> ?var1 . ?var3 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q17> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja, en\". } OPTIONAL { } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var2 . } }"}}
{"id": "test_5711", "question": "Main subjects of scientific papers by Dirk Inz\u00e9, ranked by number of papers.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?count ?subjectLabel WHERE {\n  {\n    SELECT ?subject ( COUNT( ?work ) AS ?count ) WHERE {\n      ?work wdt:P50 wd:Q2539349 .\n      ?work wdt:P921 ?subject .\n    }\n    GROUP BY ?subject\n    ORDER BY DESC ( ?count )\n  }\n  ?subject rdfs:label ?subjectLabel .\n  FILTER ( LANG( ?subjectLabel ) = \"en\" )\n}", "paraphrases": ["What are the most common research topics in the scientific publications authored by Dirk Inz\u00e9, and how many papers are there on each topic?", "List the main subjects of Dirk Inz\u00e9\u2019s publications in English, along with how many publications each subject appears in, sorted from most to least frequent."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label WHERE { { SELECT ?var4 ( COUNT ( ?var5 ) AS ?var1 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q2539349> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . } GROUP BY ?var4 ORDER BY DESC( ?var1 ) } BIND ( SUBSTR ( ?var6Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q2539349> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . }"}}
{"id": "test_5712", "question": "What are the English titles of the academic papers cited by the article \"Supramolecular Coordination: Self-Assembly of Finite Two- and Three-Dimensional Ensembles\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?citedWork ?title WHERE {\n  wd:Q27010271 wdt:P2860 ?citedWork .\n  ?citedWork rdfs:label ?title .\n  FILTER ( LANG( ?title ) = \"en\" )\n}\nLIMIT 50", "paraphrases": ["Which scholarly works does this 2011 paper reference, and what are their titles in English?", "List the English titles of works cited in the article on supramolecular coordination."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q27010271> <http://www.wikidata.org/prop/direct/P2860> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } LIMIT 50"}}
{"id": "test_5713", "question": "Who are the people buried in graves, and what are their birth and death dates, along with images of both the person and the grave?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?graveImage ?personImage ?birthDate ?deathDate WHERE {\n  ?grave wdt:P31 wd:Q173387 .\n  ?person wdt:P119 ?grave .\n  OPTIONAL {\n    ?grave wdt:P18 ?graveImage .\n  }\n  OPTIONAL {\n    ?person wdt:P18 ?personImage .\n  }\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n}\nORDER BY ASC(?personLabel)", "paraphrases": ["Show me a list of people interred in burial sites, including their portraits, the graves' images, and their lifespans, sorted alphabetically by name.", "Find graves and the individuals buried in them, with available photos of the person and the grave, plus birth and death years."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var8 <http://www.wikidata.org/prop/direct/P625> ?var3 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerWest> \"POINT(9 44)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerEast> \"POINT(9 45)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } ?var8 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q173387> . ?var8 <http://www.wikidata.org/prop/P31> ?var9 . ?var9 <http://www.wikidata.org/prop/qualifier/P642> ?var1 . OPTIONAL { ?var8 <http://www.wikidata.org/prop/direct/P18> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_5714", "question": "What are the rivers located in Germany?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?river ?riverLabel WHERE {\n  ?river wdt:P31 wd:Q4022 .\n  ?river wdt:P17 wd:Q183 .\n  ?river rdfs:label ?riverLabel .\n  FILTER ( LANG( ?riverLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Can you list the rivers in Germany with their English names?", "Which rivers in Germany are classified as rivers in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4022> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q183> . } LIMIT 100"}}
{"id": "test_5715", "question": "What are the most commonly used properties in Wikidata for quantity values that include both lower and upper bounds?", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property ?valueNode . ?valueNode wikibase:quantityLowerBound ?lowerBound ; wikibase:quantityUpperBound ?upperBound . } GROUP BY ?property ORDER BY DESC(?count)", "paraphrases": ["List all properties that are used with quantity values having uncertainty ranges, sorted by how many times they appear.", "Which properties in Wikidata are most frequently associated with numerical values that have defined minimum and maximum bounds?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var4 [ ?var5 [ <http://wikiba.se/ontology#quantityLowerBound> ?var6 ; <http://wikiba.se/ontology#quantityUpperBound> ?var7 ] ] . } GROUP BY ?var1 ORDER BY DESC( ?var3 )"}}
{"id": "test_5716", "question": "Entities near latitude 52 and longitude 0 with their types and labels.", "sparql": "PREFIX geof: <http://www.opengis.net/def/function/geosparql/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel ?lat ?lon ?instance ?instanceLabel WHERE {\n  ?item wdt:P31 ?instance .\n  ?item wdt:P625 ?location .\n  BIND( geof:latitude ( ?location ) AS ?lat ) BIND( geof:longitude ( ?location ) AS ?lon ) FILTER ( ?lat >= 51.6 && ?lat <= 52.4 ) FILTER ( ?lon >= -0.4 && ?lon <= 0.4 ) OPTIONAL {\n    ?item rdfs:label ?itemLabel FILTER ( LANG( ?itemLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?instance rdfs:label ?instanceLabel FILTER ( LANG( ?instanceLabel ) = \"en\" )\n  }\n}\nORDER BY ?item\nLIMIT 20", "paraphrases": ["What are the buildings and geographic features located within 45 kilometers of the coordinates 0\u00b0 longitude and 52\u00b0 latitude, and what types are they?", "List up to 20 locations near (0, 52) with their English labels, coordinates, and instance types."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var4Label WHERE { ?var1 ?var5 ?var6 . ?var1 <http://www.wikidata.org/prop/P625> ?var7 ; <http://www.wikidata.org/prop/P625> [ <http://www.wikidata.org/prop/statement/P625> ?var8 ; <http://www.wikidata.org/prop/statement/value/P625> [ <http://wikiba.se/ontology#geoLongitude> ?var3 ; <http://wikiba.se/ontology#geoLatitude> ?var2 ] ] . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var4 . SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var9 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> \"POINT(0 52)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"0.40184448607556844\". } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],de,en\". } } GROUP BY ?var1 ?var1Label ?var2 ?var3 ?var4 ?var4Label ORDER BY DESC(COUNT ( ?var5 )) LIMIT 20"}}
{"id": "test_5717", "question": "Entities near latitude 52, longitude 0 with their types and coordinates", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX geof: <http://www.opengis.net/def/function/geosparql/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX geo: <http://www.opengis.net/ont/geosparql#>\nSELECT ?item ?itemLabel ?latitude ?longitude ?instanceType ?instanceTypeLabel WHERE {\n  ?item wdt:P625 ?coord .\n  ?item wdt:P31 ?instanceType .\n  BIND( geof:latitude ( ?coord ) AS ?latitude ) .\n  BIND( geof:longitude ( ?coord ) AS ?longitude ) .\n  BIND( geof:distance ( ?coord , \"POINT(0 52)\" ^^ geo:wktLiteral ) AS ?dist ) .\n  FILTER ( ?dist < 1 ) .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER ( LANG( ?itemLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?instanceType rdfs:label ?instanceTypeLabel .\n    FILTER ( LANG( ?instanceTypeLabel ) = \"en\" )\n  }\n}\nORDER BY ?dist\nLIMIT 20", "paraphrases": ["What are the places located within 110 kilometers of the point (0\u00b0 longitude, 52\u00b0 latitude), and what are their types?", "Show me up to 20 locations near the North Sea at 52\u00b0N, including their names, coordinates, and whether they are buildings, archaeological sites, or other types."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var4Label WHERE { ?var1 ?var5 ?var6 . ?var1 <http://www.wikidata.org/prop/P625> ?var7 ; <http://www.wikidata.org/prop/P625> [ <http://www.wikidata.org/prop/statement/P625> ?var8 ; <http://www.wikidata.org/prop/statement/value/P625> [ <http://wikiba.se/ontology#geoLongitude> ?var3 ; <http://wikiba.se/ontology#geoLatitude> ?var2 ] ] . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var4 . SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var9 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> \"POINT(0 52)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"0.40173862150911144\". } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],de,en\". } } GROUP BY ?var1 ?var1Label ?var2 ?var3 ?var4 ?var4Label ORDER BY DESC(COUNT ( ?var5 )) LIMIT 20"}}
{"id": "test_5718", "question": "What Wikipedia categories are associated with the city of Ingolstadt?", "sparql": "SELECT ?category ?label WHERE { ?category wdt:P971 wd:Q3004 . ?category rdfs:label ?label . FILTER(LANG(?label) = 'en') } LIMIT 101", "paraphrases": ["List the English-language Wikipedia categories that have Ingolstadt as a topic.", "Which categories on Wikipedia combine Ingolstadt with other subjects?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P971> <http://www.wikidata.org/entity/Q3004> . ?var1 <http://www.wikidata.org/prop/P971> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_5719", "question": "People with no children and the materials they are made of", "sparql": "PREFIX wdno: <http://www.wikidata.org/prop/novalue/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?itemLabel ?materialLabel WHERE {\n  ?item rdf:type wdno:P40 .\n  OPTIONAL {\n    ?item wdt:P186 ?material .\n    ?material rdfs:label ?materialLabel .\n    FILTER ( LANG( ?materialLabel ) = \"en\" )\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" ) FILTER ( STRSTARTS( STR( ?item ) , \"http://www.wikidata.org/entity/Q\" ) )\n}", "paraphrases": ["Who are the people known to have no children, and what materials are they made of?", "List the English labels of individuals with no children, along with any materials they are made from."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.wikidata.org/prop/novalue/P40> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P186> ?var2 . } }"}}
{"id": "test_5720", "question": "Organizations in China that are classified as organizations.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?organization ?organizationLabel WHERE {\n  ?organization wdt:P31 wd:Q43229 ; wdt:P17 wd:Q148 .\n  ?organization rdfs:label ?organizationLabel .\n  FILTER ( LANG( ?organizationLabel ) = \"en\" )\n}", "paraphrases": ["What are the names of organizations located in China?", "List the English labels of all organizations (Q43229) that are based in China (Q148)."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q43229> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q148> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5721", "question": "What are Be'lakor's official website, Facebook username, MusicBrainz ID, genre, formation location, and image?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?bandLabel ?image ?website ?locationLabel ?facebook ?genreLabel ?musicbrainz WHERE {\n  BIND(wd:Q4875428 AS ?band)\n  ?band rdfs:label ?bandLabel .\n  FILTER(LANG(?bandLabel) = \"en\")\n  OPTIONAL {\n    ?band wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?band wdt:P856 ?website .\n  }\n  OPTIONAL {\n    ?band wdt:P740 ?location .\n    ?location rdfs:label ?locationLabel .\n    FILTER(LANG(?locationLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?band wdt:P2013 ?facebook .\n  }\n  OPTIONAL {\n    ?band wdt:P136 ?genre .\n    ?genre rdfs:label ?genreLabel .\n    FILTER(LANG(?genreLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?band wdt:P434 ?musicbrainz .\n  }\n}\nLIMIT 1", "paraphrases": ["Can you tell me the genre, formation location, and social media details of the Australian metal band Be'lakor?", "Please provide the image, official website, Facebook handle, MusicBrainz identifier, genre, and where Be'lakor was formed."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4Label ?var5 ?var6Label ?var7 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q215380> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P740> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2013> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P434> ?var7 . } FILTER ( ( ( ?var1 = <http://www.wikidata.org/entity/Q4875428> ) ) ) . } LIMIT 1"}}
{"id": "test_5722", "question": "Official names of countries and their continents", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?officialName ?continent WHERE {\n  ?country wdt:P31 wd:Q6256 .\n  ?country wdt:P1448 ?officialName .\n  ?country wdt:P30 ?continent .\n}\nLIMIT 1000", "paraphrases": ["What are the official names of all countries and which continents do they belong to?", "Can you list the official names of countries in their native languages along with the continents they are located in?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var3 <http://www.wikidata.org/prop/direct/P1448> ?var1 . ?var3 <http://www.wikidata.org/prop/direct/P30> ?var2 . } LIMIT 1000"}}
{"id": "test_5723", "question": "What properties are associated with type 2 diabetes in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?property WHERE {\n  ?item ?property wd:Q3025883 .\n}", "paraphrases": ["Which properties in Wikidata have type 2 diabetes as their object, including direct statements, qualifiers, and semantic links?", "List all properties that connect to type 2 diabetes in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q3025883> . }"}}
{"id": "test_5724", "question": "What is the official description, label, image, and primary use of the White House?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?description ?label ?image ?use ?family WHERE {\n  wd:Q35525 schema:description ?description .\n  wd:Q35525 rdfs:label ?label .\n  OPTIONAL {\n    wd:Q35525 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q35525 wdt:P366 ?useNode .\n    ?useNode rdfs:label ?use .\n    FILTER(LANG(?use) = \"en\")\n  }\n  OPTIONAL {\n    wd:Q35525 wdt:P53 ?familyNode .\n    ?familyNode rdfs:label ?family .\n    FILTER(LANG(?family) = \"en\")\n  }\n  FILTER(LANG(?description) = \"en\")\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["Can you show me the English label and description of the White House, along with its image and main function?", "Tell me about the White House: what is it called, what is it used for, and is there a picture of it?"], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q35525> <http://schema.org/description> ?var1 . <http://www.wikidata.org/entity/Q35525> <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . OPTIONAL { <http://www.wikidata.org/entity/Q35525> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q35525> <http://www.wikidata.org/prop/direct/P969> ?var4 . OPTIONAL { <http://www.wikidata.org/prop/direct/P969> <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . } } OPTIONAL { <http://www.wikidata.org/entity/Q35525> <http://www.wikidata.org/prop/direct/P366> ?var6 . OPTIONAL { ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var7 . FILTER ( ( ( LANG ( ?var7 ) = \"en\" ) ) ) . } } OPTIONAL { <http://www.wikidata.org/entity/Q35525> <http://www.wikidata.org/prop/direct/P53> ?var8 . OPTIONAL { ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var9 . FILTER ( ( ( LANG ( ?var9 ) = \"en\" ) ) ) . } } OPTIONAL { <http://www.wikidata.org/entity/Q35525> <http://www.wikidata.org/prop/direct/P1932> ?var10 . OPTIONAL { ?var10 <http://www.w3.org/2000/01/rdf-schema#label> ?var11 . FILTER ( ( ( LANG ( ?var11 ) = \"en\" ) ) ) . } } FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var1 ) = \"en\" ) ) ) . }"}}
{"id": "test_5725", "question": "Images, countries of origin, and subclasses of plain bread.", "sparql": "SELECT ?value ?valueLabel WHERE { wd:Q134152 ?property ?value . FILTER ( ?property IN (wdt:P495, wdt:P18, wdt:P279) ) OPTIONAL { ?value rdfs:label ?valueLabel . FILTER (LANG(?valueLabel) = \"en\") } }", "paraphrases": ["What are the images, countries where plain bread originates from, and what categories is it a subclass of?", "List the images, origin countries, and broader food categories for plain bread."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q134152> ?var2 ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pt,pt\". } FILTER ( ( ( ?var2 = <http://www.wikidata.org/prop/direct/P495> ) || ( ?var2 = <http://www.wikidata.org/prop/direct/P18> ) || ( ?var2 = <http://www.wikidata.org/prop/direct/P279> ) ) ) . }"}}
{"id": "test_5726", "question": "Which entity has the Portuguese nickname 'As \u00c1guias'?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity WHERE {\n  ?entity wdt:P1449 \"As \u00c1guias\" @pt .\n}", "paraphrases": ["What is the Portuguese name 'As \u00c1guias' associated with in Wikidata?", "Find the entity that is known as 'As \u00c1guias' in Portuguese."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> \"Benfas\"@pt . }"}}
{"id": "test_5727", "question": "What organizations was Leslie Alcock affiliated with or employed by, and what are their images and employment dates?", "sparql": "SELECT ?image ?organization ?orgLabel ?start ?end WHERE {\n  {\n    wd:Q1032387 p:P1416 ?affiliation .\n  } UNION {\n    wd:Q1032387 p:P108 ?affiliation .\n  }\n  \n  ?affiliation ps:P1416|ps:P108 ?organization .\n  \n  ?organization rdfs:label ?orgLabel .\n  FILTER (LANG(?orgLabel) = \"en\")\n  \n  OPTIONAL {\n    ?organization wdt:P18 ?image .\n  }\n  \n  OPTIONAL {\n    ?affiliation pq:P580 ?start .\n  }\n  \n  OPTIONAL {\n    ?affiliation pq:P582 ?end .\n  }\n}", "paraphrases": ["Which universities did Leslie Alcock work for or affiliate with, and when did he start and end those positions? Can you also show images of those universities?", "Please list the institutions Leslie Alcock was associated with as an employer or affiliate, including the start and end years of his association and images of the institutions."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label ?var4 ?var5 ?var6Label WHERE { { <http://www.wikidata.org/entity/Q1032387> <http://www.wikidata.org/prop/P1416> ?var7 . } UNION { <http://www.wikidata.org/entity/Q1032387> <http://www.wikidata.org/prop/P108> ?var7 . } { ?var7 <http://www.wikidata.org/prop/statement/P1416> ?var2 . } UNION { ?var7 <http://www.wikidata.org/prop/statement/P108> ?var2 . } ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P580> ?var4 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P582> ?var5 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P512> ?var8 . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_5728", "question": "How many times has Richard Dawkins been cited by others each year, and how many of those citations are self-citations?", "sparql": "SELECT ?year (COUNT(DISTINCT ?citingWork) AS ?count) ?isSelfCitation WHERE { ?dawkinsWork wdt:P50 wd:Q44461 . ?citingWork wdt:P2860 ?dawkinsWork . ?citingWork wdt:P577 ?pubDate . FILTER(datatype(?pubDate) = xsd:dateTime) BIND(STR(YEAR(?pubDate)) AS ?year) BIND(IF(EXISTS { ?citingWork wdt:P50 wd:Q44461 }, \"self-citation\", \"not self-citation\") AS ?isSelfCitation) } GROUP BY ?year ?isSelfCitation ORDER BY DESC(?year)", "paraphrases": ["Show the number of works citing Richard Dawkins, grouped by publication year and whether they were written by him.", "Which years saw Richard Dawkins cited the most, and were any of those citations from his own publications?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q44461> . } , \"string1\", \"string2\" ) AS ?var4 ). BIND ( STR ( YEAR ( ?var5 ) ) AS ?var1 ). ?var6 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q44461> . ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var6 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var5 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_5729", "question": "Comets in the Solar System with discovery dates and images", "sparql": "SELECT DISTINCT ?cometLabel ?comet ?discoveryDate ?image WHERE { ?comet wdt:P361 wd:Q544 ; wdt:P575 ?discoveryDate ; wdt:P18 ?image . ?comet rdfs:label ?cometLabel . FILTER(LANG(?cometLabel) = \"en\") }", "paraphrases": ["What are the comets that are part of the Solar System, when were they discovered, and what images are associated with them?", "Show me the English names, discovery dates, and images of celestial objects that are parts of the Solar System."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var1 ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q544> ; <http://www.wikidata.org/prop/direct/P575> ?var3 ; <http://www.wikidata.org/prop/direct/P18> ?var4 . ?var1 <http://www.wikidata.org/prop/P18> ?var5 . OPTIONAL { ?var5 <http://www.wikidata.org/prop/qualifier/P642> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en, fr, de, it\". } }"}}
{"id": "test_5730", "question": "Scientific articles about tauopathy", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?work WHERE {\n  ?work wdt:P921 wd:Q2397106 .\n}", "paraphrases": ["What research papers discuss tauopathy as their main topic?", "List all academic works that focus on tauopathy."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P921> <http://www.wikidata.org/entity/Q2397106> . } LIMIT 10000"}}
{"id": "test_5731", "question": "List the names of all states with a defined area.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?label WHERE {\n  ?state wdt:P31 wd:Q7275 ; wdt:P2046 ?area .\n  ?state rdfs:label ?label\n  FILTER(LANG(?label) = 'en')\n}\nLIMIT 100", "paraphrases": ["Which states have their area recorded in Wikidata, and what are their English names?", "Show me the English labels of all entities classified as states that have a known area value."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7275> . ?var1 <http://www.wikidata.org/prop/direct/P2046> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } } LIMIT 100"}}
{"id": "test_5732", "question": "What properties are used to classify entities as military divisions, and what are their English labels and descriptions?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?property ?propertyLabel ?propertyDescription WHERE {\n  ?item ?property wd:Q169534 .\n  FILTER(STRSTARTS(STR(?property) , \"http://www.wikidata.org/prop/direct/\"))\n  BIND(IRI(REPLACE(STR(?property) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\")) AS ?propertyEntity)\n  ?propertyEntity rdfs:label ?propertyLabel .\n  ?propertyEntity schema:description ?propertyDescription .\n  FILTER(LANG(?propertyLabel) = \"en\")\n  FILTER(LANG(?propertyDescription) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Which properties link items to the concept of a military division, and what are their English labels and descriptions?", "Show me the English labels and descriptions of all properties that are used to associate entities with military divisions."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q169534> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_5733", "question": "What are the image, official website, formation location, genre, and MusicBrainz ID of the Russian ska band Spitfire?", "sparql": "SELECT ?bandLabel ?image ?website ?formationLocationLabel ?facebook ?genreLabel ?musicbrainzId WHERE { BIND(wd:Q1311070 AS ?band) ?band wdt:P31 wd:Q215380 . OPTIONAL { ?band wdt:P18 ?image . } OPTIONAL { ?band wdt:P856 ?website . } OPTIONAL { ?band wdt:P740 ?formationLocation . } OPTIONAL { ?band wdt:P2013 ?facebook . } OPTIONAL { ?band wdt:P136 ?genre . } OPTIONAL { ?band wdt:P434 ?musicbrainzId . } OPTIONAL { ?band rdfs:label ?bandLabel . FILTER(LANG(?bandLabel) = \"en\") } OPTIONAL { ?formationLocation rdfs:label ?formationLocationLabel . FILTER(LANG(?formationLocationLabel) = \"en\") } OPTIONAL { ?genre rdfs:label ?genreLabel . FILTER(LANG(?genreLabel) = \"en\") } } LIMIT 1", "paraphrases": ["Can you tell me the official website, image, and where the Russian band Spitfire was formed, along with its genre and MusicBrainz identifier?", "Please provide the Wikipedia image, official website, formation location in Saint Petersburg, genre (ska punk), and MusicBrainz ID for the band Spitfire."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4Label ?var5 ?var6Label ?var7 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q215380> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P740> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2013> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P434> ?var7 . } FILTER ( ( ( ?var1 = <http://www.wikidata.org/entity/Q1311070> ) ) ) . } LIMIT 1"}}
{"id": "test_5734", "question": "What is the English label and description of the LACMA item with ID 197532?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P4611 \"197532\" . OPTIONAL { ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") } OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Who is the person associated with LACMA ID 197532, and what is their English description?", "Please provide the English name and description of the artwork or artist identified by LACMA ID 197532."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4611> \"2240264\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5735", "question": "Mountain passes without geographic coordinates in Wikidata", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?mountainPass ?mountainPassLabel WHERE {\n  ?mountainPass wdt:P31 wd:Q133056 . MINUS {\n    ?mountainPass wdt:P625 [] .\n  }\n  ?mountainPass rdfs:label ?mountainPassLabel .\n  FILTER ( LANG( ?mountainPassLabel ) = \"en\" )\n}", "paraphrases": ["Which mountain passes in Wikidata do not have assigned coordinates?", "List the English names of all mountain passes in Wikidata that lack geographic coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q133056> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P625> [] . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_5736", "question": "How many file formats use the .3d extension?", "sparql": "SELECT ?extension (COUNT(?format) AS ?count) WHERE { BIND(\"3d\" AS ?extension) . ?format wdt:P31/wdt:P279* wd:Q235557 ; wdt:P1195 ?extension . } GROUP BY ?extension ORDER BY ASC(?count)", "paraphrases": ["What is the count of file formats that have the file extension \"3d\"?", "List the number of file formats associated with the .3d file extension."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { BIND ( \"3d\" AS ?var1 ). ?var2 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/statement/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q235557> ; <http://www.wikidata.org/prop/direct/P1195> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var1Label ORDER BY ASC( ?var3 )"}}
{"id": "test_5737", "question": "Which properties are most commonly used to associate items with habilitation, and how many times each is used?", "sparql": "SELECT ?property ?propertyLabel ?count WHERE { { SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?prop wd:Q308678 . ?property wikibase:directClaim ?prop . } GROUP BY ?property HAVING (?count > 1) } ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") } ORDER BY DESC(?count)", "paraphrases": ["What are the top properties linking academic items to habilitation, and how many items use each?", "Show me the properties that connect more than one item to habilitation, ordered by frequency, with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var4 ) AS ?var3 ) WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q308678> . ?var1 <http://wikiba.se/ontology#directClaim> ?var5 . } GROUP BY ?var1 ?var1Label HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } } ORDER BY DESC( ?var3 )"}}
{"id": "test_5738", "question": "Wikidata item for GND ID 1053392133", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P227 \"1053392133\" .\n}", "paraphrases": ["Who is the person identified by the GND ID 1053392133?", "Find the Wikidata entity corresponding to the German National Library ID 1053392133."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"1053392133\". }"}}
{"id": "test_5739", "question": "Which Wikidata item has the GND ID 104183586?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P227 \"104183586\" .\n}", "paraphrases": ["Who is the person identified by the German National Library ID 104183586?", "Tell me the Wikidata entity for the GND identifier 104183586."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"104183586\". }"}}
{"id": "test_5740", "question": "What are the most common topics in the scientific works authored by Hanne Demant Hansen, and how many works are there on each topic?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?count ?subjectLabel WHERE {\n  {\n    SELECT ?subject ( COUNT( ?work ) AS ?count ) WHERE {\n      ?work wdt:P50 wd:Q27490907 .\n      ?work wdt:P921 ?subject .\n    }\n    GROUP BY ?subject\n    ORDER BY DESC ( ?count )\n  }\n  ?subject rdfs:label ?subjectLabel .\n  FILTER ( LANG( ?subjectLabel ) = \"en\" )\n}", "paraphrases": ["Which subjects are most frequently associated with publications by Hanne Demant Hansen, listed in order of popularity?", "Can you list the main subjects of Hanne Demant Hansen\u2019s research papers along with the number of papers per subject?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label WHERE { { SELECT ?var4 ( COUNT ( ?var5 ) AS ?var1 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q27490907> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . } GROUP BY ?var4 ORDER BY DESC( ?var1 ) } BIND ( SUBSTR ( ?var6Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q27490907> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . }"}}
{"id": "test_5741", "question": "Image of the person with SNAC ARK ID w6v457fk", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6v457fk\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Rudolph Goclenius in Wikidata?", "Show me the Wikimedia Commons image for the individual identified by SNAC ARK ID w6v457fk."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6v457fk\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5742", "question": "What are some English word senses that represent events or occurrences?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?sense ?senseLabel WHERE {\n  ?sense(wdt:P31 / wdt:P279 *) wd:Q1190554 .\n  ?sense rdfs:label ?senseLabel .\n  FILTER(LANG(?senseLabel) = \"en\")\n}\nLIMIT 10", "paraphrases": ["Can you list English meanings of words that are classified as occurrences in Wikidata?", "Show me verbs or event-related word definitions in English that are tagged as occurrences in Wikidata\u2019s lexicon."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1190554> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } LIMIT 10"}}
{"id": "test_5743", "question": "What events or entities occurred in 1923, as recorded in Wikidata with English labels?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel ?date WHERE {\n  ?item wdt:P585 ?date .\n  FILTER(YEAR(?date) = 1923)\n  .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["Can you list all English-labeled items in Wikidata that are associated with the year 1923?", "Which entities in Wikidata have a documented date in 1923, and what are their English names?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { BIND ( STR ( YEAR ( ?var2 ) ) AS ?var3 ). ?var1 <http://www.wikidata.org/prop/direct/P585> ?var2 . FILTER ( ( ( ?var3 = \"1923\" ) ) ) . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . }"}}
{"id": "test_5744", "question": "Which person has the GND ID 124613551?", "sparql": "SELECT ?person WHERE { ?person wdt:P227 \"124613551\" . }", "paraphrases": ["Who is the individual identified by the German National Library ID 124613551?", "Can you tell me the Wikidata item for the GND ID 124613551, which corresponds to a 17th-century preacher?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"124613551\". }"}}
{"id": "test_5745", "question": "List English-labeled places located in Brittany.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?brittanyLabel WHERE {\n  ?item wdt:P131 wd:Q12130 .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n  .\n  wd:Q12130 rdfs:label ?brittanyLabel .\n  FILTER(LANG(?brittanyLabel) = \"en\")\n  .\n}", "paraphrases": ["What are some places in Brittany, and what are their English names?", "Show me the English names of locations in Brittany, along with the name of the region."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/31> <http://www.wikidata.org/entity/Q12130> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_5746", "question": "How many cities in Wikidata have a recorded population?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT(COUNT(DISTINCT ?city) AS ?count) WHERE {\n  ?city wdt:P31 wd:Q515 .\n  ?city wdt:P1082 ?population .\n}", "paraphrases": ["What is the total number of cities that have population data?", "Can you tell me how many urban settlements are listed with their population numbers in Wikidata?"], "info": {"raw_sparql": "SELECT( COUNT (* ) AS ?var1 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . ?var2 <http://www.wikidata.org/prop/direct/P1082> ?var3 . } GROUP BY ?var2"}}
{"id": "test_5747", "question": "What are some animals classified under the animal kingdom in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?animal ?animalLabel WHERE {\n  ?animal wdt:P31 wd:Q729 .\n  ?animal rdfs:label ?animalLabel .\n  FILTER(LANG(?animalLabel) = \"en\")\n}\nLIMIT 50", "paraphrases": ["List the names of entities that are instances of the animal kingdom.", "Show me animals (from the animal kingdom) with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q729> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 50"}}
{"id": "test_5748", "question": "What countries and administrative regions is Eilean Glas Lighthouse located in?", "sparql": "SELECT DISTINCT ?location ?locationLabel WHERE { { wd:Q14544324 wdt:P30 ?location . } UNION { wd:Q14544324 wdt:P17 ?location . } UNION { wd:Q14544324 wdt:P131 ?location . } UNION { wd:Q14544324 wdt:P376 ?location . } UNION { wd:Q14544324 wdt:P501 ?location . } ?location rdfs:label ?locationLabel . FILTER(LANG(?locationLabel) = \"en\") }", "paraphrases": ["Which geographic entities are directly connected to Eilean Glas Lighthouse, such as its country or region?", "Tell me the location hierarchy of Eilean Glas Lighthouse, including its country and administrative area."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q14544324> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_5749", "question": "What are all the superclass categories of a foghorn in Wikidata?", "sparql": "SELECT DISTINCT ?ancestor WHERE { wd:Q1320847 wdt:P279* ?ancestor } LIMIT 100", "paraphrases": ["Can you list all the broader categories that a foghorn belongs to, including indirect parent classes?", "What is the full hierarchy of classes that foghorn is a subclass of?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q1320847> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_5750", "question": "Images of K\u00e4the Kollwitz from SNAC ARK ID w6vh5q7g", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6vh5q7g\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What images are associated with K\u00e4the Kollwitz in Wikidata, identified by the SNAC ARK ID w6vh5q7g?", "Show me the Wikimedia Commons images of the person with SNAC ARK ID w6vh5q7g."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6vh5q7g\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5751", "question": "Which cats have held the position of Chief Mouser to the Cabinet Office?", "sparql": "SELECT ?cat ?catLabel WHERE { ?cat wdt:P31 wd:Q146 . ?cat wdt:P39 wd:Q198641 . }", "paraphrases": ["Can you list the domestic cats that serve as Chief Mouser at 10 Downing Street?", "Who are the cats officially appointed as Chief Mouser to the Cabinet Office in the UK?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q146> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q198641> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q207672> . }"}}
{"id": "test_5752", "question": "What are the most frequently cited scientific papers on Zika virus and Zika fever?", "sparql": "SELECT ?citedWork ?citedWorkLabel (COUNT(?citedWork) AS ?citationCount) WHERE {  VALUES ?zikaTopic { wd:Q202864 wd:Q8071861 }  ?zikaWork wdt:P921 ?zikaTopic .  ?zikaWork wdt:P2860 ?citedWork .  ?citedWork rdfs:label ?citedWorkLabel .  FILTER(LANG(?citedWorkLabel) = \"en\")} GROUP BY ?citedWork ?citedWorkLabel ORDER BY DESC(?citationCount)", "paraphrases": ["Which research articles about Zika virus or Zika fever are cited the most often in the scientific literature?", "Show me the top cited publications in Zika virus research, ordered by citation count."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { ?var3 <http://www.wikidata.org/prop/direct/P921> <http://www.wikidata.org/entity/Q202864> . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P921> <http://www.wikidata.org/entity/Q8071861> . } ?var3 <http://www.wikidata.org/prop/direct/P2860> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var2 )"}}
{"id": "test_5753", "question": "What is the image of the person with SNAC ARK ID \"w6tr9n21\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6tr9n21\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Can you show me the Wikimedia Commons image associated with the Social Networks and Archival Context identifier w6tr9n21?", "Who is identified by the SNAC ARK ID w6tr9n21, and what is their image?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6tr9n21\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5754", "question": "What links to Fumiaki Maruto on Wikidata?", "sparql": "SELECT ?item ?property WHERE { ?item ?property wd:Q10877245 .}", "paraphrases": ["What works or external pages is Fumiaki Maruto associated with as an object in Wikidata?", "Show me all the relationships where Fumiaki Maruto is the target, including his screenwriting credits and Wikipedia links."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q10877245> . }"}}
{"id": "test_5755", "question": "Chemical compounds with formulas containing C6 and their English and German names.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?chemical ?formula ?labelEn ?labelDe WHERE {\n  ?chemical wdt:P274 ?formula .\n  OPTIONAL {\n    ?chemical rdfs:label ?labelEn\n    FILTER(LANG(?labelEn) = \"en\")\n  }\n  OPTIONAL {\n    ?chemical rdfs:label ?labelDe\n    FILTER(LANG(?labelDe) = \"de\")\n  }\n  FILTER(REGEX(?formula , \"C6\"))\n}\nORDER BY ASC(?formula)", "paraphrases": ["Which chemical compounds have molecular formulas containing \"C6\", and what are their English and German labels?", "List all chemical compounds whose chemical formula includes \"C6\", along with their labels in English and German, sorted by formula."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P274> ?var2 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"de\" ) ) ) . } FILTER ( ( REGEX ( ?var2 , \"string1\" ) ) ) . } ORDER BY ASC( ?var2 )"}}
{"id": "test_5756", "question": "Which entities in Wikidata have an unspecified or unknown gender?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item ?itemLabel WHERE {\n  ?item wdt:P21 ?gender .\n  FILTER ( isBLANK( ?gender ) ) .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n  }\n}", "paraphrases": ["Can you list people and other entities whose gender is not specified in Wikidata?", "Show me items in Wikidata where the sex or gender property is left blank to indicate unknown identity."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . FILTER ( ( isBLANK ( ?var2 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ca,en\". } }"}}
{"id": "test_5757", "question": "Show the English, German, French, and Italian labels for Warsaw, along with its image and coordinates.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?image ?coordinates ?langOrder WHERE {\n  wd:Q270 rdfs:label ?label .\n  FILTER ( LANG( ?label ) IN ( \"en\" , \"de\" , \"fr\" , \"it\" ) ) OPTIONAL {\n    wd:Q270 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q270 wdt:P625 ?coordinates .\n  }\n  VALUES ( ?lang ?langOrder ) {\n    ( \"en\" 1 ) ( \"de\" 2 ) ( \"fr\" 3 ) ( \"it\" 4 )\n  }\n  FILTER ( LANG( ?label ) = ?lang )\n}\nORDER BY ?langOrder", "paraphrases": ["What are the names of Warsaw in English, German, French, and Italian, and what is its image and geographic location?", "Please provide the labels of Warsaw in English, German, French, and Italian, its image from Wikimedia Commons, and its GPS coordinates, sorted by language priority."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q270> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var7 ) ) ) . VALUES ( ?var7 ?var8 ) { ( \"undefined\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q270> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q270> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"undefined\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q270> <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q270> ; <http://schema.org/inLanguage> \"undefined\"; <http://schema.org/isPartOf> <https://undefined.wikipedia.org/> . } } ORDER BY ASC( ?var8 )"}}
{"id": "test_5758", "question": "Who are some notable people born in Antwerp?", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P19 wd:Q12892 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } LIMIT 10", "paraphrases": ["List the English names of people who were born in the city of Antwerp.", "Can you show me 10 people from Antwerp with their full names?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q101352> . FILTER ( ( REGEX ( ?var1Label , \"Antwerp\", \"i\" ) ) ) . } LIMIT 10"}}
{"id": "test_5759", "question": "People with the family name Borges", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P734 wd:Q16739664 .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}\nLIMIT 10", "paraphrases": ["Who are the people whose last name is Borges?", "List the English names of people who have the family name Borges."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q101352> . <http://www.wikidata.org/entity/Q101352> <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( REGEX ( ?var3 , \"Borges\", \"i\" ) ) ) . } LIMIT 10"}}
{"id": "test_5760", "question": "Artworks depicting flowers with their creators, creation dates, and images on Wikimedia Commons.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?artwork ?artworkLabel ?creatorLabel ?date ?image WHERE {\n  ?artwork ( wdt:P180 / wdt:P279 * ) wd:Q506 .\n  ?artwork wdt:P170 ?creator .\n  ?artwork wdt:P571 ?date .\n  ?artwork wdt:P18 ?image .\n  OPTIONAL {\n    ?artwork rdfs:label ?artworkLabel FILTER ( LANG( ?artworkLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?creator rdfs:label ?creatorLabel FILTER ( LANG( ?creatorLabel ) = \"en\" )\n  }\n}", "paraphrases": ["Which paintings or images show flowers, who created them, when were they made, and where can I see them online?", "Show me a list of artworks that feature flowers, including the artist\u2019s name, the year they were created, and a link to the image on Wikimedia Commons."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3 ?var4 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P180> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q506> . ?var1 <http://www.wikidata.org/prop/direct/P170> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P571> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5761", "question": "Businesses with English and Chinese labels and descriptions", "sparql": "SELECT ?business ?label_en ?label_zh ?desc_en ?desc_zh WHERE {\n  ?business wdt:P31 wd:Q4830453 .\n  OPTIONAL { ?business rdfs:label ?label_en . FILTER(LANG(?label_en) = \"en\") }\n  OPTIONAL { ?business rdfs:label ?label_zh . FILTER(LANG(?label_zh) = \"zh\") }\n  OPTIONAL { ?business schema:description ?desc_en . FILTER(LANG(?desc_en) = \"en\") }\n  OPTIONAL { ?business schema:description ?desc_zh . FILTER(LANG(?desc_zh) = \"zh\") }\n} LIMIT 100", "paraphrases": ["What are some businesses, and what are their English and Chinese names and descriptions?", "Show me up to 100 businesses along with their English and Chinese labels and descriptions."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q4830453> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"zh\" ) ) ) . } OPTIONAL { ?var1 <http://schema.org/description> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } OPTIONAL { ?var1 <http://schema.org/description> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"zh\" ) ) ) . } } LIMIT 1000000 OFFSET 0"}}
{"id": "test_5762", "question": "Superclasses of objects in Wikidata", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestor ?ancestorLabel WHERE {\n  wd:Q488383 wdt:P279 + ?ancestor .\n  ?ancestor rdfs:label ?ancestorLabel .\n  FILTER(LANG(?ancestorLabel) = \"en\")\n}\nORDER BY ?ancestor", "paraphrases": ["What is the superclass hierarchy above the concept of \"objects\" in Wikidata?", "Show me all the parent classes of \"objects\" in the Wikidata ontology, going up the subclass chain."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label ?var5 ?var5Label ?var6 ?var6Label WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q488383> ) } ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P279> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P279> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P279> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P279> ?var6 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5763", "question": "American authors or historical figures mentioned on Russian Wikisource who have no recorded language in Wikidata.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?person ?label WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P569 ?birth .\n  ?person wdt:P570 ?death .\n  ?article schema:about ?person ; schema:isPartOf <https://ru.wikisource.org/> .\n  OPTIONAL {\n    ?person wdt:P1412 ?lang .\n  }\n  ?person wdt:P27 wd:Q30 .\n  FILTER(NOT EXISTS {\n    ?person wdt:P1412 ?lang\n  })\n  .\n  ?person rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nORDER BY ASC(?label)", "paraphrases": ["Who are deceased American citizens with known birth and death dates, mentioned on Russian Wikisource, but for whom no language is specified in Wikidata?", "List the English names of Americans who died, were born, are referenced on Russian Wikisource, and have no language listed in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . ?var4 <http://schema.org/isPartOf> <https://ru.wikisource.org/> ; <http://schema.org/about> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1412> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var6 . } FILTER ( ( !( BOUND ( ?var5 ) ) ) ) . FILTER ( ( ( ?var6 = <http://www.wikidata.org/entity/Q30> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_5764", "question": "Who are the members of the Democratic Alliance in South Africa, and what are their occupations, genders, and positions held?", "sparql": "SELECT ?person ?occupation ?gender ?position ?image WHERE { ?person wdt:P102 wd:Q761877 . OPTIONAL { ?person wdt:P106 ?occupation . } OPTIONAL { ?person wdt:P21 ?gender . } OPTIONAL { ?person wdt:P39 ?position . } OPTIONAL { ?person wdt:P18 ?image . } } LIMIT 100", "paraphrases": ["List South African politicians from the Democratic Alliance along with their gender, job titles, and profile images.", "What are the occupations and public offices of members of the Democratic Alliance party, and what is their gender and image?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label ?var5 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P102> <http://www.wikidata.org/entity/Q761877> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var2 . } OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P39> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } } LIMIT 100"}}
{"id": "test_5765", "question": "What is the English label and description of the entity with YSO ID 108648?", "sparql": "SELECT ?item ?label ?description WHERE { ?item wdt:P2347 \"108648\" . OPTIONAL { ?item rdfs:label ?label . FILTER(LANG(?label) = \"en\") } OPTIONAL { ?item schema:description ?description . FILTER(LANG(?description) = \"en\") } }", "paraphrases": ["Which country has the YSO ID 108648, and what is its English name and description?", "Please provide the English name and description of the entity identified by the YSO ID 108648."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2347> \"108648\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5766", "question": "What film has the ID 23073 on film-documentaire.fr?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P3673 \"23073\" .\n}", "paraphrases": ["Which film on Wikidata is identified by the film-documentaire.fr ID 23073?", "I\u2019m looking for the Wikidata entry for the documentary film with the identifier 23073 in the French film database film-documentaire.fr."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3673> \"23073\". }"}}
{"id": "test_5767", "question": "French-language labels of all lighthouses starting with \"phare\"", "sparql": "SELECT ?lighthouse ?label WHERE { ?lighthouse wdt:P31 wd:Q39715 ; rdfs:label ?label . FILTER ( LANG(?label) = \"fr\" ) . FILTER ( REGEX(?label, \"^phare\") ) . }", "paraphrases": ["What are the French names of all lighthouses that begin with \"phare\"?", "List all lighthouses with their French labels that start with \"phare\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q39715> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"fr\" ) ) ) . FILTER ( ( REGEX ( ?var1Label , \"^Phare\" ) ) ) . }"}}
{"id": "test_5768", "question": "Female Swedish musicians in the Dictionary of Swedish National Biography without a Spotify ID, associated with a music genre.", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P3217 ?sblId . ?person wdt:P21 wd:Q6581072 . MINUS { ?person wdt:P1902 ?spotifyId . } ?person wdt:P136 ?musicGenre . ?musicGenre (wdt:P31*/wdt:P279*) wd:Q188451 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } ORDER BY ?personLabel", "paraphrases": ["Who are the female Swedish musicians listed in the Dictionary of Swedish National Biography who have a music genre but no Spotify artist profile?", "List the English names of female Swedish musicians from the Dictionary of Swedish National Biography who are associated with a music genre and do not have a Spotify ID."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3217> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P1902> ?var3 . } ?var1 <http://www.wikidata.org/prop/direct/P136> ?var4 . ?var4 ( <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q188451> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv\", \"en\". } } GROUP BY ?var1 ?var1Label ?var5Label ?var6 ?var7 ORDER BY DESC( ?var8 )"}}
{"id": "test_5769", "question": "What are the English names of places that have geographic coordinates?", "sparql": "SELECT ?label WHERE { ?item wdt:P625 ?coord . ?item rdfs:label ?label . FILTER(LANG(?label) = \"en\") } LIMIT 100", "paraphrases": ["List of locations with coordinates in English.", "Show me the English labels of all entities that have defined geographic coordinates."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } } LIMIT 100"}}
{"id": "test_5770", "question": "What are the subclasses of human settlement?", "sparql": "SELECT ?subclass ?subclassLabel WHERE { ?subclass wdt:P279 wd:Q486972 . ?subclass rdfs:label ?subclassLabel . } ORDER BY ?subclassLabel", "paraphrases": ["Can you list all types of human settlements, such as villages or towns?", "What categories exist below \"human settlement\" in the Wikidata ontology?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q486972> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } } LIMIT 1"}}
{"id": "test_5771", "question": "Image of Heinrich Sch\u00fctz based on SNAC ARK ID w6cv53tr", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6cv53tr\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6cv53tr?", "Show me the Wikimedia Commons image for the person identified by the SNAC ARK ID w6cv53tr."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6cv53tr\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5772", "question": "People affiliated with Coastal NLP group, ordered by number of papers authored, with birth dates and ORCID IDs.", "sparql": "SELECT (SAMPLE(?count) AS ?workCount) ?person ?personLabel (MAX(?birthDate) AS ?maxBirthDate) ?orcid WHERE { { SELECT ?person (COUNT(?work) AS ?count) WHERE { { ?person (wdt:P108|wdt:P463) wd:Q28152817 . } UNION { ?person wdt:P1416 ?affil . ?affil (wdt:P361)* wd:Q28152817 . } OPTIONAL { ?work wdt:P50 ?person . } } GROUP BY ?person } OPTIONAL { ?person wdt:P569 ?birth . BIND(xsd:date(?birth) AS ?birthDate) } OPTIONAL { ?person wdt:P496 ?orcid } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } GROUP BY ?person ?personLabel ?orcid ORDER BY DESC(?workCount)", "paraphrases": ["Who are the researchers affiliated with the Coastal NLP group at DIKU, and how many papers have they authored? Include their birth dates and ORCID IDs if available.", "List all people associated with the Coastal NLP research group, sorted by the number of academic papers they\u2019ve written, along with their names, birth dates, and ORCID identifiers."], "info": {"raw_sparql": "SELECT( SAMPLE ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ( MAX ( ?var4 ) AS ?var5 ) ?var6 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT( COUNT ( ?var7 ) AS ?var1 ) ?var3 WHERE { { SELECT DISTINCT ?var3 WHERE { { ?var3 ( <http://www.wikidata.org/prop/direct/P108> | <http://www.wikidata.org/prop/direct/P463> ) <http://www.wikidata.org/entity/Q28152817> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P1416> / <http://www.wikidata.org/prop/direct/P361> *) <http://www.wikidata.org/entity/Q28152817> . } } } OPTIONAL { ?var7 <http://www.wikidata.org/prop/direct/P50> ?var3 . } } GROUP BY ?var3 } OPTIONAL { BIND ( <http://www.w3.org/2001/XMLSchema#date> ( ?var8 ) AS ?var4 ). ?var3 <http://www.wikidata.org/prop/direct/P569> ?var8 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P496> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,nl,no,ru,sv,zh\". } } GROUP BY ?var3 ?var3Label ?var6 ORDER BY DESC( ?var2 )"}}
{"id": "test_5773", "question": "Food items with \"apple\" in their name", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel WHERE {\n  ?item ( wdt:P31 / wdt:P279 * ) wd:Q2095 .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( REGEX( STR( ?itemLabel ) , \"apple\" , \"i\" ) ) FILTER ( LANG( ?itemLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["What are the food items whose names contain the word \"apple\"?", "Show me all food items and their labels where the label includes \"apple\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q2095> . ?var1 ?var2Label ?var3 . FILTER ( ( REGEX ( STR ( ?var3 ) , \"string1\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_5774", "question": "What are Megadeth's official website, image, location of formation, Facebook username, genre, and MusicBrainz ID?", "sparql": "SELECT ?groupLabel ?image ?website ?locationLabel ?facebook ?genreLabel ?musicbrainz WHERE { wd:Q83431 rdfs:label ?groupLabel . FILTER(langMatches(lang(?groupLabel), \"en\")) OPTIONAL { wd:Q83431 wdt:P18 ?image . } OPTIONAL { wd:Q83431 wdt:P856 ?website . } OPTIONAL { wd:Q83431 wdt:P740 ?location . ?location rdfs:label ?locationLabel . FILTER(langMatches(lang(?locationLabel), \"en\")) } OPTIONAL { wd:Q83431 wdt:P2013 ?facebook . } OPTIONAL { wd:Q83431 wdt:P136 ?genre . ?genre rdfs:label ?genreLabel . FILTER(langMatches(lang(?genreLabel), \"en\")) } OPTIONAL { wd:Q83431 wdt:P434 ?musicbrainz . } } LIMIT 1", "paraphrases": ["Can you show me the details of the band Megadeth, including its genre, where it was formed, and its online presence?", "Provide the image, official website, Facebook profile, MusicBrainz ID, genre, and formation location for the heavy metal band Megadeth."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4Label ?var5 ?var6Label ?var7 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q215380> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P740> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2013> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P434> ?var7 . } FILTER ( ( ( ?var1 = <http://www.wikidata.org/entity/Q83431> ) ) ) . } LIMIT 1"}}
{"id": "test_5775", "question": "What are all the categories and subcategories that Belgium belongs to, and which of them have English Wikipedia pages?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?var1 ?var1Label ?var2 WHERE {\n  wd:Q31 wdt:P31 ?type .\n  ?type wdt:P279 * ?var1 .\n  OPTIONAL {\n    ?var2 schema:about ?var1 .\n    ?var2 schema:isPartOf <https://en.wikipedia.org/> .\n  }\n  OPTIONAL {\n    ?var1 rdfs:label ?var1Label .\n    FILTER ( LANG( ?var1Label ) = \"en\" )\n  }\n}", "paraphrases": ["Can you list all the classes (and their subclasses) that Belgium is an instance of, along with their English labels and corresponding Wikipedia articles?", "Show me the hierarchical classifications of Belgium, from its direct types down to their subclasses, and indicate which ones are documented on English Wikipedia."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q31> ( <http://www.wikidata.org/prop/direct/P31> ?/ <http://www.wikidata.org/prop/direct/P279> *) ?var1 . OPTIONAL { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5776", "question": "What are the classes and their subclasses that the Wikidata property \"has part\" (P199) belongs to?", "sparql": "SELECT DISTINCT ?class ?classLabel ?wikipediaPage WHERE { wd:P199 wdt:P31 ?rootClass . ?class wdt:P279* ?rootClass . OPTIONAL { ?wikipediaPage schema:about ?class ; schema:isPartOf <https://en.wikipedia.org/> . } ?class rdfs:label ?classLabel . FILTER(LANG(?classLabel) = \"en\") }", "paraphrases": ["List all Wikidata property classes that include the property \"has part\" (P199), either directly or through inheritance, along with their English labels.", "Which Wikipedia pages, if any, are about the classes that the property P199 is an instance of or a subclass of?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/P199> ( <http://www.wikidata.org/prop/direct/P31> ?/ <http://www.wikidata.org/prop/direct/P279> *) ?var1 . OPTIONAL { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5777", "question": "What are all the types (including subclasses) that Central Visayas belongs to, and which of them have English Wikipedia pages?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?type ?typeLabel ?wikipediaPage WHERE {\n  wd:Q13669 ( wdt:P31 ? / wdt:P279 * ) ?type .\n  OPTIONAL {\n    ?wikipediaPage schema:about ?type ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n  OPTIONAL {\n    ?type rdfs:label ?typeLabel .\n    FILTER ( LANG( ?typeLabel ) = \"en\" )\n  }\n}", "paraphrases": ["What classes and their subclasses does the Philippine region Central Visayas belong to, and what are the corresponding English Wikipedia articles for those classes?", "List all the categories (direct and inherited) that Central Visayas is an instance of, along with their English labels and links to English Wikipedia pages if they exist."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q13669> ( <http://www.wikidata.org/prop/direct/P31> ?/ <http://www.wikidata.org/prop/direct/P279> *) ?var1 . OPTIONAL { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5778", "question": "What are the hierarchical types of the Khakas language, and what are their English Wikipedia pages?", "sparql": "SELECT DISTINCT ?var1 ?label ?var2 WHERE { wd:Q33575 wdt:P31/wdt:P279* ?var1 . OPTIONAL { ?var2 schema:about ?var1 . ?var2 schema:isPartOf <https://en.wikipedia.org/> . } ?var1 rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["List the English labels and Wikipedia articles for all categories that Khakas is classified under, from specific to general.", "What are the broader categories of the Khakas language in Wikidata, and which of them have English Wikipedia pages?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q33575> ( <http://www.wikidata.org/prop/direct/P31> ?/ <http://www.wikidata.org/prop/direct/P279> *) ?var1 . OPTIONAL { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5779", "question": "What are the types or categories that the Dodecanese belongs to, and which of them have English Wikipedia pages?", "sparql": "SELECT DISTINCT ?class ?classLabel ?wikipediaPage WHERE { wd:Q131555 (wdt:P31 | wdt:P279*) ?class . OPTIONAL { ?wikipediaPage schema:about ?class ; schema:isPartOf <https://en.wikipedia.org/> . } ?class rdfs:label ?classLabel . FILTER(LANG(?classLabel) = \"en\") }", "paraphrases": ["Show me the English labels of all classes that the Dodecanese is an instance of or a subclass of, along with their corresponding Wikipedia pages.", "Which Wikipedia pages are associated with the Dodecanese and its broader classifications in the Wikidata hierarchy?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q131555> ( <http://www.wikidata.org/prop/direct/P31> ?/ <http://www.wikidata.org/prop/direct/P279> *) ?var1 . OPTIONAL { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5780", "question": "What is the Wikidata entity for the WikiPathways pathway WP1591 in humans?", "sparql": "SELECT ?pathway ?label WHERE { ?pathway wdt:P2410 \"WP1591\" ; wdt:P703 wd:Q15978631 . ?pathway rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["Which biological pathway in humans has the WikiPathways ID WP1591?", "Find the name of the human biological pathway identified by WikiPathways ID WP1591."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://identifiers.org/wikipathways/WP1591_r90186> <http://www.wikidata.org/prop/direct/P2410> ?var1 ; <http://www.wikidata.org/prop/direct/P703> <http://www.wikidata.org/entity/Q15978631> . }"}}
{"id": "test_5781", "question": "What is the image associated with the SNAC ARK ID w65d8xq4?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w65d8xq4\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Can you show me the picture of the person or entity with SNAC ARK ID w65d8xq4?", "I need the Wikimedia Commons image for the record identified by SNAC ARK ID w65d8xq4."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w65d8xq4\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5782", "question": "Which entities are named after the Ob River?", "sparql": "SELECT DISTINCT ?item ?statement WHERE { ?statement ps:P138 wd:Q973 . ?item p:P138 ?statement . }", "paraphrases": ["List of things named after the Ob River", "Show me all items that have been named in honor of the Ob River"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P138> <http://www.wikidata.org/entity/Q973> . ?var1 <http://www.wikidata.org/prop/P138> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_5783", "question": "UK Parliament members who died after 1874 and have a History of Parliament ID.", "sparql": "SELECT ?person ?deathDate WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P1614 ?hoppId . ?person wdt:P570 ?deathDate . FILTER ( ?deathDate >= \"1875-01-01T00:00:00Z\"^^xsd:dateTime ) }", "paraphrases": ["Who were the members of the UK Parliament that died on or after January 1, 1875, and what were their dates of death?", "List the names and death dates of all UK Parliament members with a History of Parliament ID who died in 1875 or later."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P1614> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . FILTER ( ( ( ?var2 >= \"1875-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_5784", "question": "What are the names of all communes in the French department of Ille-et-Vilaine?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?communeLabel ?departmentLabel WHERE {\n  ?commune wdt:P31 wd:Q484170 ; wdt:P131 wd:Q12549 .\n  wd:Q12549 rdfs:label ?departmentLabel .\n  ?commune rdfs:label ?communeLabel .\n  FILTER(LANG(?communeLabel) = \"en\")\n  FILTER(LANG(?departmentLabel) = \"en\")\n}\nORDER BY ASC(?communeLabel)", "paraphrases": ["Can you list the communes of France that are located in Ille-et-Vilaine, along with the department name?", "Which towns in Ille-et-Vilaine are officially recognized as communes in France?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3Label ?var4 ?var5Label ?var6Label WHERE { ?var3 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q12549> . ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q484170> . ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . ?var3 <http://www.wikidata.org/prop/direct/P131> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6465> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } ORDER BY ASC( ?var3Label )"}}
{"id": "test_5785", "question": "Streets in Russia named after people", "sparql": "SELECT ?street WHERE { ?street wdt:P31 wd:Q79007 . ?street wdt:P17 wd:Q159 . ?street wdt:P138 ?namesake . }", "paraphrases": ["Which streets in Russia are named after someone?", "List all streets in Russia that have a namesake."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q79007> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q159> . ?var1 <http://www.wikidata.org/prop/direct/P138> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } ORDER BY ASC( ?var3 )"}}
{"id": "test_5786", "question": "Who are the people with the occupation of sniper?", "sparql": "SELECT ?person WHERE { ?person wdt:P106 wd:Q201948 . }", "paraphrases": ["Which individuals are listed as snipers in Wikidata?", "Can you list all the people who are identified as snipers, including fictional characters?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q201948> . }"}}
{"id": "test_5787", "question": "Number of horror and documentary films released each year.", "sparql": "SELECT ?year (COUNT(?film) AS ?count) ?genreLabel WHERE {  VALUES ?genre { wd:Q200092 wd:Q93204 }  ?film wdt:P31/wdt:P279* wd:Q11424 ;        wdt:P577 ?date ;                    wdt:P136 ?genre .  BIND(YEAR(?date) AS ?year)  ?genre rdfs:label ?genreLabel .  FILTER(LANG(?genreLabel) = \"en\")} GROUP BY ?year ?genreLabel ORDER BY ?year", "paraphrases": ["How many horror films and documentary films were released each year, and in which years?", "Show me the yearly count of horror films and documentary films, grouped by year and genre."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) ?var4Label WHERE { VALUES ( ?var4 ) { ( <http://www.wikidata.org/entity/Q45171911> ) ( <http://www.wikidata.org/entity/Q45172088> ) } BIND ( STR ( YEAR ( ?var5 ) ) AS ?var1 ). ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11424> ; <http://www.wikidata.org/prop/direct/P577> ?var5 ; <http://www.wikidata.org/prop/direct/P1552> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs,en\". } } GROUP BY ?var1 ?var4Label"}}
{"id": "test_5788", "question": "Authors of \"A new yeast poly(A) polymerase complex involved in RNA quality control\" and their ORCID IDs or fallback URLs.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?author ?authorLabel ( COALESCE ( ?orcid , CONCAT ( \"https://orcid.org/\" , ENCODE_FOR_URI( ?authorLabel ) ) ) AS ?orcidUrl ) WHERE {\n  wd:Q21146099 wdt:P50 ?author .\n  OPTIONAL {\n    ?author wdt:P496 ?orcid .\n  }\n  ?author rdfs:label ?authorLabel .\n  FILTER ( LANG( ?authorLabel ) = \"en\" )\n}", "paraphrases": ["Who are the authors of the article \"A new yeast poly(A) polymerase complex involved in RNA quality control\", and what are their ORCID identifiers? If an ORCID is not available, what is the fallback URL constructed from their name?", "Please list the English names of the authors of the article \"A new yeast poly(A) polymerase complex involved in RNA quality control\" along with their ORCID identifiers; if no ORCID is registered, provide a URL in the format https://orcid.org/ followed by the URL-encoded author name."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COALESCE ( ?var2 , CONCAT ( \"string1\", ENCODE_FOR_URI ( ?var1Label ) ) ) AS ?var3 ) WHERE { <http://www.wikidata.org/entity/Q21146099> <http://www.wikidata.org/prop/direct/P50> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,da,de,es,fr,nl,no,ru,sv,zh\". } }"}}
{"id": "test_5789", "question": "Who died in 2017?", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P570 ?deathDate . FILTER(STRSTARTS(STR(?deathDate), \"2017-\")) } LIMIT 50", "paraphrases": ["Can you list humans who passed away in the year 2017?", "What are the names of people who died in 2017?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var3Label WHERE { ?var3 <http://www.wikidata.org/prop/direct/P570> <http://www.wikidata.org/entity/Q25290> . ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . } LIMIT 50"}}
{"id": "test_5790", "question": "What countries and administrative regions does the Rhenish Massif span?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?locatedIn WHERE {\n  wd:Q313834(wdt:P30 | wdt:P17 | wdt:P131 | wdt:P376 | wdt:P501) ?locatedIn .\n  FILTER(?locatedIn != wd:Q2)\n}", "paraphrases": ["Which entities are directly associated with the Rhenish Massif as its continent, country, or administrative territory?", "List all the places the Rhenish Massif is located in, including countries and regions."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q313834> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_5791", "question": "Humans with Greek native names, along with their family and given names as Wikidata items.", "sparql": "SELECT ?person ?familyName ?givenName ?nativeName WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P734 ?familyName . ?person wdt:P735 ?givenName . ?person wdt:P1559 ?nativeName . FILTER (LANG(?nativeName) = \"el\") . }", "paraphrases": ["Who are the humans whose native name is written in Greek, and what are their family and given names according to Wikidata?", "List all people with Greek native names, showing their family name, given name, and full native name from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P734> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P735> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P1559> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( ( LANG ( ?var4 ) = \"el\" ) ) ) . }"}}
{"id": "test_5792", "question": "What is the inception date of English Wikipedia?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?inceptionDate WHERE {\n  wd:Q328 wdt:P571 ?inceptionDate .\n}", "paraphrases": ["When was English Wikipedia launched?", "Find the date when English Wikipedia was created."], "info": {"raw_sparql": "SELECT ?var1 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var2 <http://www.wikidata.org/prop/direct/Q328> ?var1 . }"}}
{"id": "test_5793", "question": "What properties are most frequently used to assign the handball position \"back\" to players, and how many times?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?var1 ?var1Label ?var3 WHERE {\n  {\n    SELECT ?var1(COUNT(?var4) AS ?var3) WHERE {\n      ?var4 ?var5 wd:Q285676 .\n      ?var1 wikibase:directClaim ?var5 .\n    }\n    GROUP BY ?var1\n    HAVING(?var3 > 1)\n  }\n  ?var1 rdfs:label ?var1Label .\n  FILTER(LANG(?var1Label) = \"en\")\n}\nORDER BY DESC(?var3)", "paraphrases": ["Which Wikidata properties are used more than once to indicate that a player plays the \"back\" position in handball, and what are their usage counts?", "List the properties and their counts that are used to assign the handball position \"back\", sorted by most frequent usage."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var4 ) AS ?var3 ) WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q285676> . ?var1 <http://wikiba.se/ontology#directClaim> ?var5 . } GROUP BY ?var1 ?var1Label HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } } ORDER BY DESC( ?var3 )"}}
{"id": "test_5794", "question": "Lighthouses with the most Wikimedia Commons media files and their associated languages.", "sparql": "SELECT ?lighthouse ( COUNT( DISTINCT ?media ) AS ?mediaCount ) ( GROUP_CONCAT( DISTINCT ?language ) AS ?languages ) WHERE { ?lighthouse wdt:P31 wd:Q39715 . ?media schema:about ?lighthouse . ?media schema:inLanguage ?language . } GROUP BY ?lighthouse ORDER BY DESC ( ?mediaCount ) LIMIT 200", "paraphrases": ["Which lighthouses have the highest number of media files on Wikimedia Commons, and in what languages are those files?", "Show me the top 200 lighthouses ordered by how many images and media files they have on Wikimedia Commons, along with the languages of those files."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 )( GROUP_CONCAT ( DISTINCT ?var4 ) AS ?var5 )( GROUP_CONCAT ( DISTINCT ?var6 ) AS ?var7 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q39715> . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://wikiba.se/ontology#badge> ?var6 . ?var2 <http://schema.org/isPartOf> ?var8 . ?var2 <http://schema.org/inLanguage> ?var4 . } GROUP BY ?var1 ORDER BY DESC( ?var3 ) LIMIT 200"}}
{"id": "test_5795", "question": "What countries, regions, and continents is the Madonna Inn located in?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?var1 ?label WHERE {\n  {\n    wd:Q3842409 ( wdt:P17 | wdt:P131 | wdt:P30 ) ?var1 .\n  } UNION {\n    wd:Q3842409 ( wdt:P17 | wdt:P131 ) ?mid .\n    ?mid ( wdt:P17 | wdt:P131 | wdt:P30 ) ?var1 .\n  }\n  OPTIONAL {\n    ?var1 rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n}\nLIMIT 100", "paraphrases": ["Can you list all the geographic areas \u2014 such as country, state, or continent \u2014 that the Madonna Inn is part of, including indirect connections?", "Show me the full geographic hierarchy of the Madonna Inn, from its immediate location up to the continent it belongs to."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q3842409> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_5796", "question": "How many academic articles cite \"Being tough, being healthy: local forms of counselling in response to adult death in northwest Tanzania\" each year, and do they have listed authors?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?year(COUNT(DISTINCT ?citing_work) AS ?count) ?has_author WHERE {\n  BIND(wd:Q39303202 AS ?cited_work)\n  ?citing_work wdt:P2860 ?cited_work .\n  ?citing_work wdt:P577 ?citation_date .\n  BIND(STR(YEAR(?citation_date)) AS ?year)\n  BIND(IF(EXISTS {\n    ?citing_work wdt:P50 []\n  }\n  , \"has_author\" , \"no_author\") AS ?has_author)\n}\nGROUP BY ?year ?has_author\nORDER BY DESC(?year)", "paraphrases": ["Show the number of citing works per year for the 2013 article on counselling in Tanzania, grouped by whether they have authors.", "Which years saw publications citing the 2013 Tanzanian study on HIV and counselling, and were those citing works authored?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q39303202> AS ?var5 ). ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var5 . OPTIONAL { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> ?var6 . } , \"string1\", \"string2\" ) AS ?var4 ). ?var5 <http://www.wikidata.org/prop/direct/P50> ?var6 . } BIND ( STR ( YEAR ( ?var7 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P577> ?var7 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_5797", "question": "What are the top 100 most frequently used types in Wikidata that have Chinese labels and descriptions?", "sparql": "SELECT ?type ?label ?description WHERE { ?item wdt:P31 ?type . ?type rdfs:label ?label . ?type schema:description ?description . FILTER(LANG(?label) = \"zh\") . FILTER(LANG(?description) = \"zh\") . } GROUP BY ?type ?label ?description ORDER BY DESC(COUNT(?item)) LIMIT 100", "paraphrases": ["Show me Chinese labels and descriptions for the most common categories in Wikidata.", "Which Wikidata classes are used most often and have Chinese translations for their names and descriptions?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/p31> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"zh\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"zh\" ) ) ) . } LIMIT 100"}}
{"id": "test_5798", "question": "Equipment retired or disappeared in April 1953", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?equipment WHERE {\n  ?equipment ( wdt:P730 | wdt:P746 ) ?retirementDate .\n  FILTER ( ?retirementDate >= \"1953-04-01\" ^^ xsd:date && ?retirementDate <= \"1953-04-30\" ^^ xsd:date )\n}", "paraphrases": ["Which equipment was retired or went missing in April 1953?", "List all pieces of equipment that were taken out of service or disappeared during April 1953."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P730> | <http://www.wikidata.org/prop/direct/P746> ) ?var2 . FILTER ( ( ( ?var2 >= \"1953-04-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1953-04-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_5799", "question": "Image of Vincent Hallinan with SNAC ARK ID w60k555w", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w60k555w\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w60k555w?", "Show me the Wikimedia Commons image for the person identified by SNAC ARK ID w60k555w."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w60k555w\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5800", "question": "What people are related to Agda Montelius through non-instance-of relationships, and what qualifiers apply to those relationships?", "sparql": "SELECT ?relatedPerson ?statement ?property (SAMPLE(?qualifierProperty) AS ?qualifier) WHERE { ?statement ?prop wd:Q4691673 . ?property wikibase:statementProperty ?prop ; wikibase:claim ?claim . ?relatedPerson ?claim ?statement . FILTER (?property != wd:P31) OPTIONAL { ?statement ?qualifierProperty ?qualifierValue . ?qualifierItem wikibase:qualifier ?qualifierProperty . } } GROUP BY ?relatedPerson ?statement ?property LIMIT 101", "paraphrases": ["Who are the individuals connected to Agda Montelius via specific roles or events (like spouse or founder), and what additional details (qualifiers) are provided for those connections?", "Show me all the people linked to Agda Montelius (excluding basic typing) and list any contextual details like dates or roles associated with those links."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q4691673> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_5801", "question": "What is the image of the person with SNAC ARK ID w6cr8s62?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6cr8s62\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Can you find a Wikimedia Commons image for Robert Winchelsey, identified by the SNAC ARK ID w6cr8s62?", "Show the image associated with the archival record having SNAC ARK ID w6cr8s62, if available."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6cr8s62\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5802", "question": "Image of John Monteith with SNAC ARK ID w6bg2z77", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6bg2z77\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the person having SNAC ARK ID w6bg2z77?", "Show me the Wikimedia Commons image for John Monteith, identified by SNAC ARK ID w6bg2z77."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6bg2z77\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5803", "question": "Alternative names for Luke Skywalker excluding Luke Starkiller", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nSELECT DISTINCT ?altLabel WHERE {\n  wd:Q51746 skos:altLabel ?altLabel .\n  FILTER ( STR( ?altLabel ) != \"Luke Starkiller\" )\n}", "paraphrases": ["What are the alternative names for Luke Skywalker, but not including \"Luke Starkiller\"?", "Show me all the alternate names for Luke Skywalker except \"Luke Starkiller\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { <http://www.wikidata.org/entity/Q51746> <http://www.w3.org/2004/02/skos/core#altLabel> ?var1 . FILTER ( ( NOT EXISTS { FILTER ( ( REGEX ( ?var1 , \"string1\" ) ) ) . } ) ) . }"}}
{"id": "test_5804", "question": "Is the Wikidata entity Q5 recognized as a valid IRI and does its URI start with the Wikidata entity namespace?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ( isIRI( wd:Q5 ) AS ?isIRI ) ( STRSTARTS( STR( wd:Q5 ) , \"http://www.wikidata.org/entity/Q\" ) AS ?isWikidataEntity ) WHERE {\n}", "paraphrases": ["How can I check if a Wikidata entity identifier like Q5 is a proper IRI in the Wikidata namespace?", "Does a Wikidata entity URI like http://www.wikidata.org/entity/Q5 satisfy the conditions of being an IRI and starting with the entity prefix?"], "info": {"raw_sparql": "SELECT( isIRI ( ?var1 ) && STRSTARTS ( STR ( ?var1 ) , STR ( <http://www.wikidata.org/entity/Q> ) ) AS ?var2 ) WHERE { BIND ( <http://www.wikidata.org/entity/> AS ?var1 ). }"}}
{"id": "test_5805", "question": "Who are the children of Jacob Axel Josephson?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?child WHERE {\n  ?child wdt:P22 wd:Q1677426 .\n}\nLIMIT 101", "paraphrases": ["Which people have Jacob Axel Josephson as their father?", "List the offspring of the Swedish conductor and composer Jacob Axel Josephson."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/P22> ?var2 . ?var2 <http://www.wikidata.org/prop/statement/P22> <http://www.wikidata.org/entity/Q1677426> . } LIMIT 101"}}
{"id": "test_5806", "question": "What are the types of beer?", "sparql": "SELECT ?subclass ?subclassLabel WHERE { ?subclass wdt:P279 wd:Q44 . ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") }", "paraphrases": ["Which beer varieties are classified as subclasses of beer in Wikidata?", "List the English-labeled subclasses of beer, such as abbey beer, brown beer, and beer can."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q44> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja,en\". } }"}}
{"id": "test_5807", "question": "List all species articles published in Mammalian Species journal with page numbers up to 680, including volume, DOI, and title.", "sparql": "SELECT ?item ?publicationDate ?volume ?startPage ?doi ?jstor ?title WHERE { ?item wdt:P1433 wd:Q1637051 . OPTIONAL { ?item wdt:P577 ?date . BIND(SUBSTR(?date, 1, 10) AS ?publicationDate) } OPTIONAL { ?item wdt:P478 ?volume } OPTIONAL { ?item wdt:P304 ?pageRange } OPTIONAL { ?item wdt:P356 ?doi } OPTIONAL { ?item wdt:P888 ?jstor } OPTIONAL { ?item rdfs:label ?title . FILTER(LANG(?title) = \"en\") } BIND( REPLACE( ?pageRange , \"-\" , \"\u2013\" ) AS ?pageRangeNorm ) BIND( IF( CONTAINS( ?pageRangeNorm , \"\u2013\" ) , STRBEFORE( ?pageRangeNorm , \"\u2013\" ) , ?pageRangeNorm ) AS ?startPage ) BIND( IF( CONTAINS( ?pageRangeNorm , \"\u2013\" ) , STRAFTER( ?pageRangeNorm , \"\u2013\" ) , ?pageRangeNorm ) AS ?endPage ) FILTER ( BOUND(?startPage) && xsd:integer(?startPage) <= 680 ) } ORDER BY ASC(?publicationDate) ASC(xsd:integer(?startPage))", "paraphrases": ["What are the titles, volumes, and starting page numbers of articles about mammalian species in the journal Mammalian Species, sorted by page number?", "Please provide the titles, DOIs, and starting page numbers of all articles on mammalian species in Mammalian Species journal that begin on or before page 680, ordered by page number."], "info": {"raw_sparql": "SELECT ?var1 ( SUBSTR ( ?var2 ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3 ) ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1433> <http://www.wikidata.org/entity/Q1637051> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P478> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P433> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P304> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P356> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P888> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var9 . } BIND ( REPLACE ( ?var10 , \"-\", \"\u2013\" ) AS ?var6 ). BIND ( IF ( CONTAINS ( ?var6 , \"\u2013\" ) , STRBEFORE ( ?var6 , \"\u2013\" ) , ?var6 ) AS ?var11 ). BIND ( IF ( CONTAINS ( ?var6 , \"\u2013\" ) , STRAFTER ( ?var6 , \"\u2013\" ) , ?var6 ) AS ?var12 ). FILTER ( ( ( <http://www.w3.org/2001/XMLSchema#integer> ( ?var5 ) <= \"680\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY ASC( ?var3 )ASC( <http://www.w3.org/2001/XMLSchema#integer> ( ?var5 ) )ASC( <http://www.w3.org/2001/XMLSchema#integer> ( ?var11 ) )"}}
{"id": "test_5808", "question": "What properties are used to describe the JUN gene in Wikidata, and what are their English labels and descriptions?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?propertyItem ?propertyLabel ?propertyDescription WHERE {\n  wd:Q14911907 ?property ?value .\n  FILTER(STRSTARTS(STR(?property) , \"http://www.wikidata.org/prop/direct/\"))\n  BIND(IRI(REPLACE(STR(?property) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\")) AS ?propertyItem)\n  ?propertyItem rdfs:label ?propertyLabel .\n  ?propertyItem schema:description ?propertyDescription .\n  FILTER(LANG(?propertyLabel) = \"en\")\n  FILTER(LANG(?propertyDescription) = \"en\")\n}\nLIMIT 100", "paraphrases": ["List the English labels and descriptions of all properties that have statements about the JUN gene.", "Which properties are associated with the JUN gene, and what do they mean in English?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q14911907> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_5809", "question": "What are the names of Johann Sebastian Bach\u2019s children in all languages?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?childLabel WHERE {\n  ?child wdt:P22 wd:Q1339 .\n  ?child rdfs:label ?childLabel .\n}", "paraphrases": ["Names of Johann Sebastian Bach\u2019s children in different languages", "Can you list all the labels (names in various languages) of the children of Johann Sebastian Bach?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P22> <http://www.wikidata.org/entity/Q1339> . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . }"}}
{"id": "test_5810", "question": "What institutions are associated with Tanja Kassuba as her employer or place of education, and where are they located?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT DISTINCT ?image ?institution ?institutionLabel ?coordinates ?relationshipLabel WHERE {\n  wd:Q25796309 ?property ?institution .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem skos:prefLabel ?relationshipLabel .\n  FILTER(LANG(?relationshipLabel) = \"en\")\n  OPTIONAL {\n    ?institution wdt:P18 ?image .\n  }\n  ?institution wdt:P625 ?coordinates .\n  ?institution rdfs:label ?institutionLabel .\n  FILTER(LANG(?institutionLabel) = \"en\")\n}", "paraphrases": ["Show me the images, locations, and whether Tanja Kassuba was employed by or educated at each institution.", "Which universities or employers are linked to Tanja Kassuba, and what are their geographic coordinates and official names in English?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ( ?var4Label AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q25796309> ?var6 ?var2 . ?var2 (( <http://www.wikidata.org/prop/P159> / <http://www.wikidata.org/prop/qualifier/P625> )|( <http://www.wikidata.org/prop/direct/P276> */ <http://www.wikidata.org/prop/direct/P625> )) ?var3 . ?var7 <http://wikiba.se/ontology#directClaim> ?var6 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,nl,no,ru,sv,zh\". } ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . }"}}
{"id": "test_5811", "question": "What are the different types of walking?", "sparql": "SELECT ?subclass ?subclassLabel WHERE { ?subclass wdt:P279 wd:Q6537379 . ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") }", "paraphrases": ["Can you list the English names of activities that are types of walking?", "Which activities are considered subclasses of walking in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6537379> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . }"}}
{"id": "test_5812", "question": "What are the Spanish labels and descriptions of properties that are related to the property \"located in or next to body of water\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?relatedProperty ?relatedPropertyLabel ?relatedPropertyDescription WHERE {\n  wd:P206 wdt:P1659 ?relatedProperty .\n  ?relatedProperty rdfs:label ?relatedPropertyLabel .\n  ?relatedProperty schema:description ?relatedPropertyDescription .\n  FILTER ( LANG( ?relatedPropertyLabel ) = \"es\" ) FILTER ( LANG( ?relatedPropertyDescription ) = \"es\" )\n}", "paraphrases": ["Spanish labels and descriptions of properties related to P206 (located in or next to body of water)", "Show me the Spanish names and descriptions of properties that are semantically related to \"located in or next to body of water\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P206> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"es\" ) ) ) . }"}}
{"id": "test_5813", "question": "Women born in Barcelona", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person WHERE {\n  ?person wdt:P31 wd:Q5 ; wdt:P19 wd:Q1492 ; wdt:P21 wd:Q6581072 .\n}\nLIMIT 100", "paraphrases": ["Who are the women born in Barcelona?", "List all female humans who were born in Barcelona."], "info": {"raw_sparql": "SELECT ?var1 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q467> . OPTIONAL { } ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q1492> . } LIMIT 100"}}
{"id": "test_5814", "question": "Who are some human geologists who have a father?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?geologist ?geologistLabel WHERE {\n  ?geologist wdt:P31 wd:Q5 .\n  ?geologist wdt:P106 wd:Q520549 .\n  ?geologist wdt:P22 ?father .\n  ?geologist rdfs:label ?geologistLabel .\n  FILTER ( LANG( ?geologistLabel ) = \"en\" )\n}\nLIMIT 10", "paraphrases": ["List English names of geologists who are human and have a recorded father.", "Can you provide a list of geologists (humans) with known fathers, along with their English labels?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q520549> . ?var1 <http://www.wikidata.org/prop/direct/P22> ?var2 . MINUS { ?var2 <http://www.wikidata.org/prop/direct/P40> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10"}}
{"id": "test_5815", "question": "English label for the male given name Mervyn", "sparql": "SELECT DISTINCT ?label WHERE { wd:Q1922174 rdfs:label ?label . FILTER (LANGMATCHES(LANG(?label), \"en\")) } LIMIT 1", "paraphrases": ["What is the English name for the given name Mervyn?", "Show me the English label for the Wikidata entity representing the name Mervyn."], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { <http://www.wikidata.org/entity/Q1922174> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( LANGMATCHES ( LANG ( ?var1Label ) , \"EN\" ) ) ) . } LIMIT 1"}}
{"id": "test_5816", "question": "Villages in Ardabil Province, Iran, with Persian and Ukrainian names.", "sparql": "SELECT ?village ?villageLabel ?persianLabel ?ukrainianLabel WHERE { ?village wdt:P31 wd:Q532 . ?village wdt:P17 wd:Q794 . ?village wdt:P131 wd:Q134228 . OPTIONAL { ?village rdfs:label ?villageLabel FILTER(LANG(?villageLabel) = \"en\") } OPTIONAL { ?village rdfs:label ?persianLabel FILTER(LANG(?persianLabel) = \"fa\") } OPTIONAL { ?village rdfs:label ?ukrainianLabel FILTER(LANG(?ukrainianLabel) = \"uk\") } } ORDER BY ?village", "paraphrases": ["What are the villages in Ardabil Province, Iran, and what are their names in Persian and Ukrainian?", "List all villages in Ardabil Province, Iran, showing their English, Persian, and Ukrainian labels where available."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var2Label ?var3 ?var4 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q532> . ?var2 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q794> . ?var2 <http://www.wikidata.org/prop/direct/P131> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1344695> . ?var2 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q134228> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,uk,fr,ru,uk\". } OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"fa\" ) ) ) . } OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"uk\" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"uk\" ) ) ) . } } ORDER BY ASC( ?var2 )"}}
{"id": "test_5817", "question": "Native surnames and birthplace coordinates of Maltese citizens.", "sparql": "SELECT ?surnameLabel ?birthPlaceCoordinates WHERE { ?person wdt:P27 wd:Q233 ; wdt:P734 ?surnameEntity ; wdt:P19 ?birthPlace . ?surnameEntity wdt:P1705 ?surnameLabel . ?birthPlace wdt:P625 ?birthPlaceCoordinates . }", "paraphrases": ["What are the native-language spellings of the surnames and the birthplace coordinates of people who are citizens of Malta?", "Show me the Maltese citizens' family names in their original language and where they were born, with geographic coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 ( <http://www.wikidata.org/prop/direct/P734> / <http://www.wikidata.org/prop/direct/P1705> ) ?var1 ; ( <http://www.wikidata.org/prop/direct/P19> / <http://www.wikidata.org/prop/direct/P625> ) ?var2 ; <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q233> . }"}}
{"id": "test_5818", "question": "What are the most common properties used to link individuals or items to the Swedish Liberal Party, and how many times are they used?", "sparql": "SELECT ?property ?propertyLabel ?count WHERE { { SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?prop wd:Q110857 . ?property wikibase:directClaim ?prop . } GROUP BY ?property HAVING (?count > 1) } ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") } ORDER BY DESC(?count)", "paraphrases": ["Which properties have been used more than once to associate entities with the Liberal People's Party of Sweden, and what are their labels?", "List the properties and their English labels that connect the most people to the Swedish Liberal Party, ordered by frequency."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var4 ) AS ?var3 ) WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q110857> . ?var1 <http://wikiba.se/ontology#directClaim> ?var5 . } GROUP BY ?var1 ?var1Label HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } } ORDER BY DESC( ?var3 )"}}
{"id": "test_5819", "question": "Top 100 most cited authors of articles published in Nature, with their ORCID and VIAF IDs.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?author ?authorLabel ?viafId ?orcid ( COUNT( DISTINCT ?citing_work ) AS ?citationCount ) WHERE {\n  ?nature_article wdt:P1433 wd:Q180445 .\n  ?citing_work wdt:P2860 ?nature_article .\n  ?nature_article wdt:P50 ?author .\n  ?author rdfs:label ?authorLabel .\n  FILTER ( LANG( ?authorLabel ) = \"en\" ) OPTIONAL {\n    ?author wdt:P214 ?viafId\n  }\n  OPTIONAL {\n    ?author wdt:P496 ?orcid\n  }\n}\nGROUP BY ?author ?authorLabel ?viafId ?orcid\nORDER BY DESC ( ?citationCount )\nLIMIT 100", "paraphrases": ["Who are the authors of Nature journal articles that have been cited the most times in other scholarly works, and what are their ORCID and VIAF identifiers?", "List the 100 authors whose articles in Nature have received the highest number of citations in other publications, along with their English names, ORCID iDs, and VIAF IDs."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ( COUNT ( DISTINCT ?var5 ) AS ?var6 ) WHERE { ?var7 <http://www.wikidata.org/prop/direct/P1433> <http://www.wikidata.org/entity/Q180445> . ?var5 <http://www.wikidata.org/prop/direct/P2860> ?var7 . ?var7 <http://www.wikidata.org/prop/direct/P50> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P214> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var4 . } } GROUP BY ?var1 ?var2 ?var3 ?var4 ORDER BY DESC( ?var6 ) LIMIT 100"}}
{"id": "test_5820", "question": "What are the most frequently used properties connecting other entities to Chemins de fer du Nord?", "sparql": "SELECT ?property (COUNT(?entity) AS ?count) WHERE { ?entity ?property wd:Q541879 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["Which relationships (properties) link other items to the French railway company Chemins de fer du Nord, and how often do they occur?", "Can you list the properties that relate other entities to Chemins de fer du Nord, sorted by how many times they\u2019re used, excluding those used only once?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q541879> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_5821", "question": "Films and their producers", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?producer ?producerLabel WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P162 ?producer .\n  ?producer rdfs:label ?producerLabel .\n  FILTER ( LANG( ?producerLabel ) = \"en\" )\n}", "paraphrases": ["Which films have producers listed in Wikidata, and who are those producers?", "List films along with the names of their producers in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P162> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE], en\". } } LIMIT 200 OFFSET 1800"}}
{"id": "test_5822", "question": "Films and their producers", "sparql": "SELECT ?film ?producer ?producerLabel WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P162 ?producer . ?producer rdfs:label ?producerLabel . FILTER(LANG(?producerLabel) = \"en\") } LIMIT 200", "paraphrases": ["Who produced each film in the Wikidata database?", "List films along with the names of their producers in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P162> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE], en\". } } LIMIT 200 OFFSET 3000"}}
{"id": "test_5823", "question": "What are some films and their composers?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?composer ?composerLabel WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P86 ?composer .\n  ?composer rdfs:label ?composerLabel .\n  FILTER ( LANG( ?composerLabel ) = \"en\" )\n}\nLIMIT 200", "paraphrases": ["Can you list 200 films along with the names of the composers who created their music?", "Who composed the music for films, and which films are they associated with?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P86> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE], en\". } } LIMIT 200 OFFSET 28600"}}
{"id": "test_5824", "question": "Artworks depicting the brigata from Boccaccio\u2019s Decameron", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P180 wd:Q43256358 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["What paintings or artworks show the group of storytellers from the Decameron?", "Show me images or illustrations that feature the brigata from the Decameron."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 ^ <http://www.wikidata.org/prop/direct/P180> <http://www.wikidata.org/entity/Q43256358> . OPTIONAL { ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 ; <http://wikiba.se/ontology#statements> ?var3 ; <http://wikiba.se/ontology#identifiers> ?var4 . } }"}}
{"id": "test_5825", "question": "List films and their producers.", "sparql": "SELECT ?film ?producer ?producerLabel WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P162 ?producer . ?producer rdfs:label ?producerLabel . FILTER(LANG(?producerLabel) = \"en\") } LIMIT 200", "paraphrases": ["Who produced each film in the database?", "Show me the names of films along with the names of their producers in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P162> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE], en\". } } LIMIT 200 OFFSET 52000"}}
{"id": "test_5826", "question": "What are the features on Mars and their diameters?", "sparql": "SELECT ?feature ?featureLabel ?diameter WHERE { ?feature wdt:P376 wd:Q111 . OPTIONAL { ?feature wdt:P2386 ?diameter . } ?feature rdfs:label ?featureLabel . FILTER(LANG(?featureLabel) = \"en\") } LIMIT 999", "paraphrases": ["Can you list the names of craters and other features located on Mars along with their sizes in meters?", "Which named features on Mars have known diameters, and what are those diameters?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { } ?var1 <http://www.wikidata.org/prop/direct/P376> <http://www.wikidata.org/entity/Q111> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2386> ?var2 . } } LIMIT 999"}}
{"id": "test_5827", "question": "Who has the Swedish National Biography ID 19115?", "sparql": "SELECT ?person WHERE { ?person wdt:P3217 \"19115\" . }", "paraphrases": ["Which person is associated with the SBL ID 19115?", "Find the Wikidata item for the person with Dictionary of Swedish National Biography ID 19115."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3217> \"19115\". } LIMIT 1"}}
{"id": "test_5828", "question": "Armenian citizens with Swedish Wikipedia pages", "sparql": "SELECT ?person ?label ?swedishPage WHERE { ?person wdt:P27 wd:Q399 . ?swedishPage schema:about ?person ; schema:isPartOf <https://sv.wikipedia.org/> . ?person rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["Who are Armenian citizens that have a page on the Swedish Wikipedia, and what are their English names?", "List all Armenian nationals who are featured on the Swedish Wikipedia, along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q399> . OPTIONAL { ?var2 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://sv.wikipedia.org/> . } FILTER ( ( BOUND ( ?var2 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv,en\". } }"}}
{"id": "test_5829", "question": "Danish labels and descriptions of properties related to series ordinal (P1545)", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?relatedProperty ?label ?description WHERE {\n  wd:P1545 wdt:P1659 ?relatedProperty .\n  ?relatedProperty rdfs:label ?label .\n  ?relatedProperty schema:description ?description .\n  FILTER ( LANG( ?label ) = \"da\" ) .\n  FILTER ( LANG( ?description ) = \"da\" ) .\n}", "paraphrases": ["What are the Danish labels and descriptions of properties that are related to the series ordinal property in Wikidata?", "Show me the Danish-language labels and descriptions of properties that are linked as related to the series ordinal (P1545)."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P1545> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"da\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"da\" ) ) ) . }"}}
{"id": "test_5830", "question": "What are all the subclasses of carboxylic acid in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?subclass WHERE {\n  wd:Q134856 wdt:P279 * ?subclass .\n}\nLIMIT 1000", "paraphrases": ["List all chemical classes that are subclasses of carboxylic acid, including indirect ones.", "Show the full hierarchy of chemical subclasses descending from carboxylic acid."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q134856> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_5831", "question": "Dental clinics in Wikidata", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?dentalClinic WHERE {\n  ?dentalClinic wdt:P31 wd:Q2979300 .\n}\nLIMIT 100", "paraphrases": ["What are some dental clinics listed in Wikidata?", "List all dental practices registered in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q27349> . } LIMIT 100"}}
{"id": "test_5832", "question": "Image of Jean-Fr\u00e9d\u00e9ric Waldeck with SNAC ARK ID w6523jmw", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6523jmw\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the Wikimedia Commons image for Jean-Fr\u00e9d\u00e9ric Waldeck, identified by SNAC ARK ID w6523jmw?", "Show me the image linked to the SNAC ARK ID w6523jmw."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6523jmw\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5833", "question": "Italian labels and descriptions of properties related to \"notable work\" on Wikidata.", "sparql": "SELECT ?relatedProperty ?label ?description WHERE { ?relatedProperty wdt:P1659 wd:P800 . ?relatedProperty a wikibase:Property . ?relatedProperty rdfs:label ?label . ?relatedProperty schema:description ?description . FILTER (LANG(?label) = \"it\") . FILTER (LANG(?description) = \"it\") . }", "paraphrases": ["Which properties in Italian are related to the \"notable work\" property on Wikidata, and what do they mean?", "Show me the Italian labels and descriptions of all properties that are linked as related to \"notable work\" (P800) on Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P800> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"it\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"it\" ) ) ) . }"}}
{"id": "test_5834", "question": "Top 200 most published scientists in Wikidata by number of scholarly articles", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?author ?authorLabel(COUNT(?publication) AS ?publicationCount) WHERE {\n  ?publication wdt:P50 ?author .\n  ?publication wdt:P31 wd:Q13442814 .\n  ?author wdt:P31 wd:Q5 .\n  ?author rdfs:label ?authorLabel .\n  FILTER(LANG(?authorLabel) = \"en\")\n}\nGROUP BY ?author ?authorLabel\nORDER BY DESC(?publicationCount)\nLIMIT 200", "paraphrases": ["Who are the 200 humans with the most scholarly publications in Wikidata, ranked by count?", "List the 200 most prolific authors of scholarly articles in Wikidata, along with their publication counts and English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://species.wikimedia.org/> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var2 <http://www.wikidata.org/prop/direct/P50> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,en\". } } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var3 ) LIMIT 200"}}
{"id": "test_5835", "question": "Which Wikidata entities have Twitter handles like IGN, Geoportail, or sarthefr?", "sparql": "SELECT ?item ?twitterHandle WHERE { ?item wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { \"IGNFrance\" \"Riallant\" \"IGN\" \"hespul\" \"lamayenne\" \"sarthefr\" \"talmondais\" \"formlabs\" \"nantesfr\" \"ignfab\" \"IGNpresse\" \"Geoportail\" \"ENSG_IGN\" \"IGNrando\" \"ATV86\" \"xcaitucoli\" \"houlleM\" \"poitiersfr\" \"nrpoitiers\" \"7apoitiers\" \"SartheDev\" \"LMUM72\" \"LavalAgglo\" \"CDLM53\" } }", "paraphrases": ["What are the Wikidata items associated with the Twitter usernames IGNFrance, lamayenne, and nantesfr?", "List all entities on Wikidata that use any of these Twitter handles: IGN, Geoportail, poitiersfr, CDLM53, and others from French departments."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"IGNFrance\" ) ( \"Riallant\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"IGN\" ) ( \"hespul\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"Prefet72\" ) ( \"string9\" ) ( \"lamayenne\" ) ( \"sarthefr\" ) ( \"string10\" ) ( \"talmondais\" ) ( \"formlabs\" ) ( \"string11\" ) ( \"string12\" ) ( \"string13\" ) ( \"string14\" ) ( \"nantesfr\" ) ( \"string15\" ) ( \"string16\" ) ( \"ignfab\" ) ( \"IGNpresse\" ) ( \"string17\" ) ( \"string18\" ) ( \"Geoportail\" ) ( \"ENSG_IGN\" ) ( \"IGNrando\" ) ( \"string19\" ) ( \"string20\" ) ( \"string21\" ) ( \"string22\" ) ( \"string23\" ) ( \"ATV86\" ) ( \"string24\" ) ( \"string25\" ) ( \"string26\" ) ( \"string27\" ) ( \"string28\" ) ( \"xcaitucoli\" ) ( \"string29\" ) ( \"string30\" ) ( \"string31\" ) ( \"string32\" ) ( \"string33\" ) ( \"houlleM\" ) ( \"string34\" ) ( \"string35\" ) ( \"poitiersfr\" ) ( \"string36\" ) ( \"string37\" ) ( \"nrpoitiers\" ) ( \"7apoitiers\" ) ( \"SartheDev\" ) ( \"string38\" ) ( \"string39\" ) ( \"F3Centre\" ) ( \"LMUM72\" ) ( \"string40\" ) ( \"LavalAgglo\" ) ( \"string41\" ) ( \"CDLM53\" ) ( \"string42\" ) } }"}}
{"id": "test_5836", "question": "Wikidata items with Twitter usernames envlh, thomasp85, or numerennes", "sparql": "SELECT ?item ?twitterUsername WHERE { ?item wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"envlh\" \"thomasp85\" \"numerennes\" } }", "paraphrases": ["Who are the people or organizations on Wikidata with the Twitter usernames envlh, thomasp85, and numerennes?", "List the Wikidata entities and their corresponding Twitter usernames for envlh, thomasp85, and numerennes."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"thomasp85\" ) ( \"numerennes\" ) ( \"poxxk\" ) ( \"dataandme\" ) ( \"Cyberrolle\" ) } }"}}
{"id": "test_5837", "question": "Places located in Ireland", "sparql": "SELECT ?place ?placeLabel WHERE { ?place wdt:P131* wd:Q27 . OPTIONAL { ?place rdfs:label ?placeLabel . FILTER(LANG(?placeLabel) = \"en\") } } LIMIT 100", "paraphrases": ["What are some places in Ireland?", "List up to 100 entities and their English names that are located in Ireland, including those in its administrative regions."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q27> . } LIMIT 100"}}
{"id": "test_5838", "question": "Scholarly works about Apple Inc.", "sparql": "SELECT ?work ?workLabel WHERE { ?work wdt:P921 wd:Q312 . ?work rdfs:label ?workLabel . FILTER(LANG(?workLabel) = \"en\") }", "paraphrases": ["What academic publications discuss Apple as their main subject?", "List articles and papers that focus on Apple Inc."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q312> <http://www.wikidata.org/prop/direct/P3176> * ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3176> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_5839", "question": "What products and founders are associated with Apple Inc.?", "sparql": "SELECT ?entity ?entityLabel WHERE { { wd:Q312 wdt:P1056 ?entity . } UNION { wd:Q312 wdt:P112 ?entity . } FILTER (isIRI(?entity) && STRSTARTS(STR(?entity), 'http://www.wikidata.org/entity/')) OPTIONAL { ?entity rdfs:label ?entityLabel . FILTER (lang(?entityLabel) = 'en') } } ORDER BY ?entityLabel LIMIT 15", "paraphrases": ["Show me Apple\u2019s products and its founders, along with their English labels.", "Which entities are directly connected to Apple \u2014 either as products it makes or people who founded it?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q312> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Undirected\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P1963> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1963> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_5840", "question": "Who are the members of the German comedy trio Y-Titty, and what are their occupations?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?member ?memberLabel ?occupation ?occupationLabel WHERE {\n  wd:Q1865360 wdt:P527 ?member .\n  ?member wdt:P106 ?occupation .\n  ?member rdfs:label ?memberLabel .\n  ?occupation rdfs:label ?occupationLabel .\n  FILTER ( LANG( ?memberLabel ) = \"en\" ) .\n  FILTER ( LANG( ?occupationLabel ) = \"en\" )\n}", "paraphrases": ["What roles do Matthias Roll, Phil Laude, and O\u011fuz Y\u0131lmaz have as members of the comedy group Y-Titty?", "List the occupations of each person in the comedy trio Y-Titty."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label WHERE { ?var3 <http://wikiba.se/ontology#claim> ?var5 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#qualifier> ?var7 . ?var3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var4 <http://wikiba.se/ontology#claim> ?var8 . ?var4 <http://wikiba.se/ontology#qualifier> ?var9 . ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var1 ?var5 ?var10 . ?var10 ?var6 ?var2 . ?var10 ?var9 <http://www.wikidata.org/entity/Q1865360> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5841", "question": "What historical events occurred on January 29, 1919?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?event WHERE {\n  ?event ( wdt:P585 | wdt:P606 | wdt:P619 | wdt:P620 | wdt:P621 | wdt:P622 | wdt:P729 | wdt:P1191 ) ?date .\n  FILTER ( ?date >= \"1919-01-29T00:00:00Z\" ^^ xsd:dateTime && ?date <= \"1919-01-29T23:59:59Z\" ^^ xsd:dateTime ) ?event wdt:P31 / wdt:P279 * wd:Q1190554 .\n}", "paraphrases": ["Can you list any events like flights, launches, or performances that took place on January 29, 1919?", "Which events are recorded as happening on the exact day of January 29, 1919?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P585> | <http://www.wikidata.org/prop/direct/P606> | <http://www.wikidata.org/prop/direct/P619> | <http://www.wikidata.org/prop/direct/P620> | <http://www.wikidata.org/prop/direct/P621> | <http://www.wikidata.org/prop/direct/P622> | <http://www.wikidata.org/prop/direct/P729> | <http://www.wikidata.org/prop/direct/P1191> ) ?var2 . FILTER ( ( ( ?var2 >= \"1919-01-29T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1919-01-29T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_5842", "question": "Norwegian female snowboarders with their date of birth", "sparql": "SELECT ?person ?personLabel ?birthDate ?occupationLabel WHERE { ?person wdt:P21 wd:Q6581072 ; wdt:P27 wd:Q20 ; wdt:P106 wd:Q15709642 ; rdfs:label ?personLabel . OPTIONAL { ?person wdt:P569 ?birthDate . } wd:Q15709642 rdfs:label ?occupationLabel . FILTER(LANG(?personLabel) = \"en\") FILTER(LANG(?occupationLabel) = \"en\") }", "paraphrases": ["Who are the female snowboarders from Norway, and when were they born?", "List the names and birth dates of all Norwegian women who are snowboarders."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q20> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q15709642> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var3 . } }"}}
{"id": "test_5843", "question": "What is the Wikidata item for the IMDb ID tt3422314?", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P345 \"tt3422314\" . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["Which movie or film has the IMDb identifier tt3422314?", "Show me the English name of the film with IMDb ID tt3422314."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt3422314\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_5844", "question": "What are the other main themes (besides the Great Depression) found in films and works that also focus on the Great Depression?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?other ?otherLabel WHERE {\n  ?work wdt:P921 wd:Q696482 .\n  ?work wdt:P921 ?other .\n  FILTER(?other != wd:Q696482)\n  .\n  ?other rdfs:label ?otherLabel .\n  FILTER(LANG(?otherLabel) = \"en\")\n}", "paraphrases": ["Which topics, besides the Great Depression, are commonly paired as main subjects in works like \"South of 8\"?", "Show me the additional main subjects of works that have the Great Depression as one of their main topics."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q27536704> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P361> +) <http://www.wikidata.org/entity/Q27536704> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P1269> +) <http://www.wikidata.org/entity/Q27536704> . } ?var3 <http://www.wikidata.org/prop/direct/P921> ?var1 , ?var2 . FILTER ( ( ( <http://www.wikidata.org/entity/Q27536704> != ?var1 ) && ( <http://www.wikidata.org/entity/Q27536704> != ?var2 ) && ( ?var1 != ?var2 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_5845", "question": "Male politicians without a given name in Wikidata", "sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 wdt:P31 wd:Q5 ; wdt:P106 wd:Q82955 ; wdt:P21 wd:Q6581097 . FILTER ( NOT EXISTS { ?var1 wdt:P735 [] } ) . ?var1 rdfs:label ?var1Label . FILTER (LANG(?var1Label) = \"en\") . BIND (\"\" AS ?var2) . BIND (\"\" AS ?var2Label) }", "paraphrases": ["Which male politicians do not have a recorded first name in Wikidata?", "List all male politicians who are missing a given name in their Wikidata entries, with English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82955> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581097> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var2 . } FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P735> [] . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_5846", "question": "Dams located next to a body of water.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?dam WHERE {\n  ?dam ( wdt:P31 / wdt:P279 * ) wd:Q12323 .\n  ?dam wdt:P206 ?bodyOfWater .\n}", "paraphrases": ["Which dams are situated in or next to a body of water?", "List all dams, including types like arch dams or embankment dams, that are adjacent to a river, lake, or other body of water."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q12323> . ?var1 <http://www.wikidata.org/prop/direct/P206> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5847", "question": "Dams located next to a body of water", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?dam ?damLabel WHERE {\n  ?dam ( wdt:P31 / wdt:P279 * ) wd:Q12323 .\n  ?dam wdt:P206 ?waterBody .\n  ?dam rdfs:label ?damLabel .\n  FILTER ( langMatches( lang( ?damLabel ) , \"en\" ) )\n}", "paraphrases": ["What are the names of dams that are situated next to a river, lake, or sea?", "List the English names of all dams and dam-like structures that are adjacent to a body of water."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q12323> . ?var1 <http://www.wikidata.org/prop/direct/P206> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5848", "question": "Which entity has the X username \"CityOfBoston\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"CityOfBoston\"\n  }\n}", "paraphrases": ["Who is the organization on X (formerly Twitter) with the username CityOfBoston?", "Tell me the Wikidata item for the X account CityOfBoston."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"Lustucrew\" ) } }"}}
{"id": "test_5849", "question": "Wikidata properties with \"label\" or \"name\" in their label or description", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX schema: <http://schema.org/>\nSELECT ?property ?label ?description WHERE {\n  ?property a wikibase:Property .\n  ?property rdfs:label ?label .\n  ?property schema:description ?description .\n  FILTER ( LANG( ?label ) = \"en\" ) FILTER ( LANG( ?description ) = \"en\" ) FILTER ( CONTAINS( LCASE( ?label ) , \"label\" ) || CONTAINS( LCASE( ?label ) , \"name\" ) || CONTAINS( LCASE( ?description ) , \"label\" ) || CONTAINS( LCASE( ?description ) , \"name\" ) )\n}\nORDER BY ?label\nLIMIT 100", "paraphrases": ["Which Wikidata properties are used to assign names or labels to entities, and what are their English descriptions?", "List all Wikidata properties that have \"label\" or \"name\" in their English name or description, along with their descriptions."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q26211141> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_5850", "question": "What places and entities are located in Asturias?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel ?adminUnit WHERE {\n  ?item wdt:P131 wd:Q3934 .\n  ?item rdfs:label ?itemLabel .\n  OPTIONAL {\n    ?item wdt:P131 ?adminUnit .\n  }\n}", "paraphrases": ["Which municipalities, towns, and other locations are administratively part of Asturias?", "List all items (such as towns, rivers, or institutions) that are located within the autonomous community of Asturias, along with their labels and administrative unit."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3934> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Reverse\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P131> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es\". } }"}}
{"id": "test_5851", "question": "Spanish municipalities with heads of government lacking a work location.", "sparql": "SELECT ?municipality ?municipalityLabel WHERE { ?municipality wdt:P31 wd:Q2074737 . ?municipality wdt:P6 ?headOfGovernment . FILTER (NOT EXISTS { ?headOfGovernment wdt:P937 [] }) ?municipality rdfs:label ?municipalityLabel . FILTER(LANG(?municipalityLabel) = \"en\") }", "paraphrases": ["Which municipalities in Spain have heads of government that do not have a known work location?", "List all Spanish municipalities where the head of government\u2019s workplace is not specified in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2074737> . ?var1 <http://www.wikidata.org/prop/direct/P6> ?var3 . FILTER ( ( NOT EXISTS { ?var3 <http://www.wikidata.org/prop/direct/P937> [] . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5852", "question": "Image of Clint Eastwood using his SNAC ARK ID w6280f7q", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6280f7q\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image of Clint Eastwood associated with the SNAC ARK ID w6280f7q?", "Please provide the Wikimedia Commons image file for Clint Eastwood, identified by the SNAC ARK ID w6280f7q."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6280f7q\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5853", "question": "What entities have the English label \"Do\"?", "sparql": "SELECT ?item ?label WHERE { ?item rdfs:label ?label . FILTER(?label = \"Do\"@en) . }", "paraphrases": ["Can you list all items in Wikidata that are named \"Do\" in English?", "Which people, places, or concepts are referred to as \"Do\" in English?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( ?var4 AS ?var2Label ). ?var1 <http://wikiba.se/ontology#label> \"Do*\". }"}}
{"id": "test_5854", "question": "Which organization has the Twitter usernames 'NMBS' or 'SNCB'?", "sparql": "SELECT ?organization ?twitterUsername WHERE { ?organization wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"SNCB\" \"NMBS\" } }", "paraphrases": ["What is the Belgian railway company that uses both 'NMBS' and 'SNCB' as its Twitter handles?", "Show me the entity associated with the Twitter usernames 'SNCB' and 'NMBS'."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"SNCB\" ) ( \"NMBS\" ) } }"}}
{"id": "test_5855", "question": "Which Wikidata entities have the Twitter usernames \"envlh\" or \"LauraJMG\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?twitterUsername WHERE {\n  ?person wdt:P2002 ?twitterUsername .\n  VALUES ?twitterUsername {\n    \"envlh\" \"LauraJMG\"\n  }\n}", "paraphrases": ["Who are the people on Wikidata with the Twitter handles @envlh and @LauraJMG?", "Show me the Wikidata items for the Twitter accounts envlh and LauraJMG."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"string1\" ) ( \"matsunobu\" ) ( \"PoulpyWP\" ) ( \"string2\" ) ( \"string3\" ) ( \"LauraJMG\" ) ( \"string4\" ) } }"}}
{"id": "test_5856", "question": "List of sandwich types and their alternative names in English.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nSELECT ?subclass ?subclassLabel ?altName WHERE {\n  ?subclass wdt:P279 wd:Q28803 .\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER(LANG(?subclassLabel) = \"en\")\n  OPTIONAL {\n    ?subclass skos:altLabel ?altName .\n    FILTER(LANG(?altName) = \"en\")\n  }\n}\nLIMIT 100", "paraphrases": ["What are the different kinds of sandwiches and what are some other names they are known by in English?", "Please provide a list of all sandwich varieties with their English names and any alternative English names they might have."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q28803> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2561> ?var2 . } } LIMIT 100"}}
{"id": "test_5857", "question": "Image of Joseph K. Mansfield with SNAC ARK ID w6223hrb", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6223hrb\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6223hrb?", "Show me the Wikimedia Commons image for the person identified by SNAC ARK ID w6223hrb."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6223hrb\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5858", "question": "All properties and values for the Wikidata entity of Tove Lo.", "sparql": "SELECT ?entity ?property ?value WHERE { ?entity rdfs:label \"Tove Lo\"@en . ?entity ?property ?value . }", "paraphrases": ["What are all the statements (properties and values) associated with the singer Tove Lo in Wikidata?", "Show me all the data available in Wikidata about the Swedish artist Tove Lo."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ?var2Label \"Tove Lo\"@en . ?var1 ?var3 ?var4 . }"}}
{"id": "test_5859", "question": "German postal codes starting with 99", "sparql": "SELECT ?var1Label ?var2 ( SUBSTR( ?var2 , 1 , 2 ) AS ?var3 ) WHERE { ?var1 wdt:P17 wd:Q183 . ?var1 wdt:P281 ?var2 . FILTER ( isLiteral(?var2) && REGEX( SUBSTR( ?var2 , 1 , 2 ) , \"^99\" ) ) . } ORDER BY DESC ( SUBSTR( ?var2 , 1 , 2 ) ) LIMIT 20", "paraphrases": ["Which places in Germany have postal codes that begin with \"99\"?", "List the postal codes in Germany starting with \"99\", sorted in descending order, along with the locations they belong to."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ( SUBSTR ( ?var2Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . ?var1 <http://www.wikidata.org/prop/direct/P281> ?var2 . FILTER ( ( REGEX ( SUBSTR ( ?var2Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ,\"99\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } } ORDER BY DESC( SUBSTR ( ?var2Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) LIMIT 20"}}
{"id": "test_5860", "question": "What are the names and postal codes of locations in Germany that start with the postal code \"9\", sorted by the first two digits in descending order?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?var1Label ?var2(SUBSTR(?var2 , 1 , 2) AS ?var3) WHERE {\n  ?var1 wdt:P17 wd:Q183 .\n  ?var1 wdt:P281 ?var2 .\n  ?var1 rdfs:label ?var1Label .\n  FILTER(STRSTARTS(?var2 , \"9\"))\n}\nORDER BY DESC(SUBSTR(?var2 , 1 , 2))\nLIMIT 200", "paraphrases": ["Show me places in Germany with postal codes beginning with 9, along with their labels and the first two digits of their postal codes."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ( SUBSTR ( ?var2Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . ?var1 <http://www.wikidata.org/prop/direct/P281> ?var2 . FILTER ( ( REGEX ( ?var2Label , \"^9.\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } } ORDER BY DESC( SUBSTR ( ?var2Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) LIMIT 200"}}
{"id": "test_5861", "question": "How many people were influenced by Terry Winograd?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ( COUNT( ?influencedPerson ) AS ?count ) WHERE {\n  ?influencedPerson wdt:P737 wd:Q92826 .\n}", "paraphrases": ["How many individuals in Wikidata are listed as having been influenced by Terry Winograd?", "Show the number of people who cite Terry Winograd as an influence."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P737> <http://www.wikidata.org/entity/Q92826> . }"}}
{"id": "test_5862", "question": "What are the French and English labels for the WikiProject Electronics on Wikipedia?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ( xsd:string ( ?label_fr ) AS ?label_fr_string ) ( xsd:string ( ?label_en ) AS ?label_en_string ) WHERE {\n  wd:Q10802636 rdfs:label ?label_fr .\n  wd:Q10802636 rdfs:label ?label_en .\n  FILTER ( LANGMATCHES( LANG( ?label_fr ) , \"fr\" ) ) FILTER ( LANGMATCHES( LANG( ?label_en ) , \"en\" ) )\n}", "paraphrases": ["Show me the French and English names of the WikiProject Electronics.", "What are the different English versions and their corresponding French translation for WikiProject Electronics?"], "info": {"raw_sparql": "SELECT DISTINCT( <http://www.w3.org/2001/XMLSchema#string> ( ?var1 ) AS ?var2 )( <http://www.w3.org/2001/XMLSchema#string> ( ?var3 ) AS ?var4 ) WHERE { <http://www.wikidata.org/entity/Q10802636> <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . <http://www.wikidata.org/entity/Q10802636> <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( LANGMATCHES ( LANG ( ?var1 ) , \"FR\" ) ) ) . FILTER ( ( LANGMATCHES ( LANG ( ?var3 ) , \"EN\" ) ) ) . } LIMIT 10"}}
{"id": "test_5863", "question": "Which Wikidata items have the Twitter/X usernames \"envlh\" or \"datagouvfr\"?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"envlh\" \"datagouvfr\" \"Gallorum\" } }", "paraphrases": ["Who or what entities on Wikidata are associated with the Twitter handle \"envlh\" or the account \"datagouvfr\"?", "Show me the entities on Wikidata that are linked to the X (Twitter) usernames \"envlh\" and \"datagouvfr\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"Gallorum\" ) ( \"datagouvfr\" ) ( \"string1\" ) ( \"string2\" ) } }"}}
{"id": "test_5864", "question": "Female Instagram bloggers who are human", "sparql": "SELECT ?person ?label WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P21 wd:Q6581072 . ?person wdt:P106 wd:Q45217546 . ?person rdfs:label ?label . FILTER(LANG(?label) = \"en\") } LIMIT 100", "paraphrases": ["Who are the female humans working as Instagram bloggers?", "List the English names of all female human Instagram bloggers."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q45217546> . } LIMIT 100"}}
{"id": "test_5865", "question": "Which Wikidata entities have the Twitter usernames axelrokvam, CecileEdel, fxbellamy, g2premare, or jmlemene?", "sparql": "SELECT ?person ?twitterUsername WHERE { ?person wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"axelrokvam\" \"CecileEdel\" \"fxbellamy\" \"g2premare\" \"jmlemene\" } }", "paraphrases": ["Who are the people on Wikidata whose Twitter/X handle is one of: axelrokvam, CecileEdel, fxbellamy, g2premare, or jmlemene?", "List the Wikidata items and their corresponding Twitter usernames for the handles: axelrokvam, CecileEdel, fxbellamy, g2premare, and jmlemene."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"lysenfleur\" ) ( \"string5\" ) ( \"Cynhope\" ) ( \"string6\" ) ( \"chdemeyer\" ) ( \"jmlemene\" ) ( \"string7\" ) ( \"CecileEdel\" ) ( \"string8\" ) ( \"g2premare\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) ( \"string13\" ) ( \"axelrokvam\" ) ( \"fxbellamy\" ) ( \"jcvllmn\" ) ( \"CB2S2L\" ) } }"}}
{"id": "test_5866", "question": "What German-language properties are associated with the same values as Albert Einstein\u2019s properties?", "sparql": "SELECT DISTINCT ?property ?propertyLabel ?propertyDescription WHERE { wd:Q937 ?p ?value . ?property ?p2 ?value . ?property a wikibase:Property . ?property rdfs:label ?propertyLabel . ?property schema:description ?propertyDescription . FILTER(LANG(?propertyLabel) = \"de\") FILTER(LANG(?propertyDescription) = \"de\") } LIMIT 100", "paraphrases": ["Which properties in German use values that are also used by Albert Einstein?", "Find all properties in German that share object values with any property of Albert Einstein."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q8973829> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"de\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"de\" ) ) ) . } LIMIT 100"}}
{"id": "test_5867", "question": "Who has the Twitter username \"sarahleah1\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?twitterUsername WHERE {\n  ?person wdt:P2002 ?twitterUsername .\n  VALUES ?twitterUsername {\n    \"sarahleah1\"\n  }\n}", "paraphrases": ["What is the Wikidata item for the Twitter account @sarahleah1?", "Find the person associated with the Twitter username sarahleah1."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"hickspeggy\" ) ( \"sarahleah1\" ) ( \"string1\" ) } }"}}
{"id": "test_5868", "question": "Who has the Twitter username \"Macky_Sall\"?", "sparql": "SELECT ?person ?twitterUsername WHERE {\n  ?person wdt:P2002 ?twitterUsername .\n  VALUES ?twitterUsername { \"Macky_Sall\" }\n}", "paraphrases": ["Which person is associated with the Twitter handle Macky_Sall?", "Please find the entity that uses \"Macky_Sall\" as its X (Twitter) username."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"Macky_Sall\" ) ( \"string1\" ) } }"}}
{"id": "test_5869", "question": "Female members of the National Academy of Sciences with a Ph.D. and their alma maters.", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ?member ?memberLabel ?institution ?institutionLabel WHERE {\n  ?member wdt:P463 wd:Q270794 .\n  ?member wdt:P21 wd:Q6581072 ; p:P69 [ ps:P69 ?institution ; pq:P512 wd:Q752297 ] .\n  ?member rdfs:label ?memberLabel .\n  ?institution rdfs:label ?institutionLabel .\n  FILTER ( LANG( ?memberLabel ) = \"en\" ) FILTER ( LANG( ?institutionLabel ) = \"en\" )\n}", "paraphrases": ["Which female scientists who are members of the National Academy of Sciences earned a Ph.D., and where did they study?", "Show me the names of female members of the U.S. National Academy of Sciences who hold a Doctor of Philosophy degree, along with the universities where they earned their Ph.D.s."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q270794> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> ; <http://www.wikidata.org/prop/P69> [ <http://www.wikidata.org/prop/statement/P69> ?var2 ; <http://www.wikidata.org/prop/qualifier/P512> <http://www.wikidata.org/entity/Q752297> ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_5870", "question": "Which Wikidata entities have the Twitter handles \"CDEssonne\", \"durovray\", \"bieparis\", \"Paris\", \"VilledEvry\", or \"Paris2024\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity ?twitterHandle WHERE {\n  ?entity wdt:P2002 ?twitterHandle .\n  VALUES ?twitterHandle {\n    \"CDEssonne\" \"durovray\" \"bieparis\" \"Paris\" \"VilledEvry\" \"Paris2024\"\n  }\n}", "paraphrases": ["Who or what organizations on Wikidata use these X (Twitter) usernames: CDEssonne, durovray, bieparis, Paris, VilledEvry, and Paris2024?", "List the entities associated with the Twitter handles for Essonne, Paris, \u00c9vry, the 2024 Olympics bid, Fran\u00e7ois Durovray, and the Bureau of International Expositions."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"CDEssonne\" ) ( \"string5\" ) ( \"string6\" ) ( \"CDC_IDF\" ) ( \"durovray\" ) ( \"bieparis\" ) ( \"string7\" ) ( \"Paris\" ) ( \"string8\" ) ( \"string9\" ) ( \"VilledEvry\" ) ( \"Paris2024\" ) } }"}}
{"id": "test_5871", "question": "Who are the children of Ture Gabriel Bielke?", "sparql": "SELECT DISTINCT ?child WHERE { ?child wdt:P22 wd:Q4083246 . } LIMIT 101", "paraphrases": ["Children of Ture Gabriel Bielke", "List all children of the Swedish politician Ture Gabriel Bielke."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/P22> ?var2 . ?var2 <http://www.wikidata.org/prop/statement/P22> <http://www.wikidata.org/entity/Q4083246> . } LIMIT 101"}}
{"id": "test_5872", "question": "Which Wikidata entities have Twitter handles including DevilleSy, le_gorafi, nature, Pontifex, leouieda, SciBry, Chronopost, franceinfo, or GWeindel?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity ?twitterHandle WHERE {\n  ?entity wdt:P2002 ?twitterHandle .\n  FILTER(?twitterHandle IN(\"DevilleSy\" , \"le_gorafi\" , \"nature\" , \"Pontifex\" , \"leouieda\" , \"SciBry\" , \"Chronopost\" , \"franceinfo\" , \"GWeindel\"))\n}", "paraphrases": ["Who are the people or organizations on Wikidata that use any of these Twitter usernames: DevilleSy, le_gorafi, nature, Pontifex, leouieda, SciBry, Chronopost, franceinfo, or GWeindel?", "List all entities in Wikidata that are associated with the Twitter handles: DevilleSy, le_gorafi, nature, Pontifex, leouieda, SciBry, Chronopost, franceinfo, and GWeindel."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"DevilleSy\" ) ( \"string1\" ) ( \"le_gorafi\" ) ( \"nature\" ) ( \"SciTania\" ) ( \"Pontifex\" ) ( \"GWeindel\" ) ( \"string2\" ) ( \"leouieda\" ) ( \"guertin\" ) ( \"string3\" ) ( \"string4\" ) ( \"franceinfo\" ) ( \"string5\" ) ( \"SciBry\" ) ( \"Chronopost\" ) } }"}}
{"id": "test_5873", "question": "Which organization has the X (Twitter) username \"LCL\"?", "sparql": "SELECT ?entity ?username ?entityLabel WHERE { ?entity wdt:P2002 ?username . VALUES ?username { \"LCL\" } . ?entity rdfs:label ?entityLabel . FILTER(LANG(?entityLabel) = \"en\") }", "paraphrases": ["What is the name of the entity on Wikidata that uses \"LCL\" as its X username?", "Show me the English label of the entity whose X username is \"LCL\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"LCL\" ) } }"}}
{"id": "test_5874", "question": "Which Wikidata entity has the Twitter username FBOrleans?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity ?twitterHandle WHERE {\n  ?entity wdt:P2002 ?twitterHandle .\n  VALUES ?twitterHandle {\n    \"FBOrleans\"\n  }\n}", "paraphrases": ["What is the Wikidata item for the football club with the Twitter handle FBOrleans?", "Show me the entity on Wikidata that uses FBOrleans as its Twitter/X username."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"pourinfo\" ) ( \"string1\" ) ( \"FBOrleans\" ) } }"}}
{"id": "test_5875", "question": "What is the English title and description of the movie with \u010cSFD ID 150988?", "sparql": "SELECT ?movie ?label ?description WHERE { ?movie wdt:P2529 \"150988\" . OPTIONAL { ?movie rdfs:label ?label . FILTER (LANG(?label) = \"en\") } OPTIONAL { ?movie schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Can you tell me the English name and a brief description of the film identified by the \u010cSFD ID 150988?", "Show me the English title and description of the movie that has the \u010cSFD film ID 150988."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2529> \"150988\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5876", "question": "Film directors with their birth dates, genders, and countries of citizenship, in English.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?name ?birthDate ?gender ?country WHERE {\n  ?director wdt:P106 wd:Q2526255 .\n  ?director rdfs:label ?name .\n  ?director wdt:P569 ?birthDate .\n  ?director wdt:P21 ?genderItem .\n  ?genderItem rdfs:label ?gender .\n  ?director wdt:P27 ?country .\n  FILTER ( LANG( ?name ) = \"en\" ) FILTER ( LANG( ?gender ) = \"en\" )\n}", "paraphrases": ["Who are film directors, and what are their birth dates, genders, and countries of citizenship, with labels in English?", "List the names, birth dates, genders, and nationalities of all film directors who have English-language labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var5 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q2526255> . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . ?var5 <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var5 <http://www.wikidata.org/prop/direct/P21> ?var6 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . ?var5 <http://www.wikidata.org/prop/direct/P495> ?var7 . FILTER ( ( ( LANG ( ?var1 ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . ?var5 <http://www.wikidata.org/prop/direct/P17> ?var4 . }"}}
{"id": "test_5877", "question": "What are some places located in Natal, Brazil, and what country are they in?", "sparql": "SELECT ?item ?itemLabel ?country ?countryLabel WHERE {\n  ?item wdt:P131 wd:Q131620 .\n  OPTIONAL {\n    ?item wdt:P17 ?country .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n  OPTIONAL {\n    ?country rdfs:label ?countryLabel .\n    FILTER(LANG(?countryLabel) = \"en\")\n  }\n}\nLIMIT 100", "paraphrases": ["List entities in the city of Natal along with their English names and country.", "Which buildings, institutions, or sites are administratively part of Natal, and are they in Brazil?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 ( <http://www.wikidata.org/prop/P131> / <http://www.wikidata.org/prop/statement/P131> / <http://www.wikidata.org/prop/direct/P131> *) <http://www.wikidata.org/entity/Q131620> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . } } LIMIT 100"}}
{"id": "test_5878", "question": "Properties linking \"Les Odes\" to other items, used more than once.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(COUNT(?item) AS ?count) WHERE {\n  ?item ?property wd:Q19212064 .\n}\nGROUP BY ?property\nHAVING(?count > 1)\nORDER BY DESC(?count)", "paraphrases": ["Which properties are used to connect other items to the work \"Les Odes\" more than once, and how often?", "Show me the properties that relate other entities to \"Les Odes\" with a count greater than one, sorted by frequency."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q19212064> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_5879", "question": "Who are the living people born between 1915 and 1930?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?birthDate ?name WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P569 ?birthDate .\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  FILTER ( ?birthDate >= \"1915-01-01T00:00:00Z\" ^^ xsd:dateTime ) FILTER ( ?birthDate < \"1930-01-01T00:00:00Z\" ^^ xsd:dateTime ) FILTER ( ! BOUND( ?deathDate ) ) OPTIONAL {\n    ?person rdfs:label ?name .\n    FILTER ( LANG( ?name ) = \"en\" )\n  }\n}\nLIMIT 100", "paraphrases": ["List names of people born between 1915 and 1930 who are still alive.", "Show the English names and birth dates of people born between 1915 and 1930 who have not recorded a date of death."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } FILTER ( ( ( ?var2 < \"1930-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var2 > \"1915-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( !( BOUND ( ?var4 ) ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1448> ?var3 . } } LIMIT 100"}}
{"id": "test_5880", "question": "What are the light characteristics of lighthouses?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?lighthouse ?lightCharacteristic WHERE {\n  ?lighthouse wdt:P1030 ?lightCharacteristic .\n}\nLIMIT 10", "paraphrases": ["List lighthouses and their light patterns.", "Show the light sequence (e.g., Fl W 10s) for each lighthouse."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ( GROUP_CONCAT ( ?var3Label ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1030> ?var2 . ?var3 <http://www.wikidata.org/prop/P1813> [ <http://www.wikidata.org/prop/qualifier/P1013> <http://www.wikidata.org/entity/Q1738955> ; <http://www.wikidata.org/prop/qualifier/P1793> ?var5 ] . FILTER ( ( REGEX ( STR ( ?var2 ) , ?var5 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } GROUP BY ?var1 ?var1Label ?var2"}}
{"id": "test_5881", "question": "Which microRNAs regulate the CASS4 gene?", "sparql": "SELECT ?regulator WHERE { ?regulator wdt:P128 wd:Q18042877 . }", "paraphrases": ["What RNA molecules are known to regulate the expression of the CASS4 gene?", "List all microRNAs that target and regulate the CASS4 gene according to Wikidata."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P128> <http://www.wikidata.org/entity/Q18042877> . } LIMIT 10000"}}
{"id": "test_5882", "question": "Which microRNAs regulate the MPZL1 gene?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?microRNA ?microRNALabel WHERE {\n  ?microRNA wdt:P128 wd:Q18033761 .\n  ?microRNA rdfs:label ?microRNALabel .\n  FILTER ( LANG( ?microRNALabel ) = \"en\" )\n}", "paraphrases": ["What human microRNAs are known to regulate the expression of the MPZL1 gene?", "List the names of microRNAs that target and regulate the MPZL1 gene in humans."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P128> <http://www.wikidata.org/entity/Q18033761> . } LIMIT 10000"}}
{"id": "test_5883", "question": "Humans born in Nijmegen who play keyboard instruments like piano or organ, with their Wikipedia pages and images.", "sparql": "SELECT DISTINCT ?person ?personLabel ?instrument ?instrumentLabel (SAMPLE(?img) AS ?image) ?wikipediaPage WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P19 wd:Q47887 . ?person wdt:P1303 ?instrument . ?instrument wdt:P279 wd:Q52954 . OPTIONAL { ?person wdt:P18 ?img . } OPTIONAL { ?wikipediaPage schema:about ?person . ?wikipediaPage schema:isPartOf <https://en.wikipedia.org/> . } ?person rdfs:label ?personLabel . ?instrument rdfs:label ?instrumentLabel . FILTER(LANG(?personLabel) = \"en\") FILTER(LANG(?instrumentLabel) = \"en\") } GROUP BY ?person ?personLabel ?instrument ?instrumentLabel ?wikipediaPage LIMIT 50", "paraphrases": ["Who are the people born in Nijmegen that play keyboard instruments, and what are their Wikipedia pages and images?", "List people born in Nijmegen who play keyboard instruments, including their names, the instruments they play, their English Wikipedia links, and any available images."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var3 ) ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q47887> . ?var1 <http://www.wikidata.org/prop/direct/P1303> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q52954> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,fr,es,de,ru,it,nl,ja,zh,pl,cs\". } } GROUP BY ?var1 ?var1Label ?var2 ?var4 LIMIT 50"}}
{"id": "test_5884", "question": "Publications by Patrick Haggard with year and title (first 20 characters), sorted by year.", "sparql": "SELECT ?year ?title WHERE { ?work wdt:P50 wd:Q30118490 ; wdt:P577 ?date ; rdfs:label ?label . FILTER(LANG(?label) = \"en\") BIND(YEAR(?date) AS ?year) BIND(SUBSTR(?label, 1, 20) AS ?title) } ORDER BY ?year", "paraphrases": ["What are the titles and publication years of Patrick Haggard\u2019s works, with titles truncated to 20 characters?", "Show me the years and first 20 characters of the titles of all works authored by Patrick Haggard, ordered chronologically."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label WHERE { { SELECT ?var1 ( SAMPLE ( ?var4 ) AS ?var2 ) ?var3Label WHERE { { SELECT( STR ( ?var5 ) AS ?var1 )( \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var4 )( \"_\" AS ?var3Label ) WHERE { BIND ( YEAR ( ?var6 ) AS ?var5 ). ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q577> . ?var7 <http://www.wikidata.org/prop/direct/P585> ?var6 . { SELECT( MIN ( ?var5 ) AS ?var8 )( MAX ( ?var5 ) AS ?var9 ) WHERE { BIND ( YEAR ( ?var10 ) AS ?var5 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q30118490> . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var10 . } } FILTER ( ( ( ?var5 >= ?var8 ) && ( ?var5 <= ?var9 ) ) ) . } } UNION { BIND ( SUBSTR ( ?var12Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"20\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q30118490> . ?var11 <http://www.wikidata.org/prop/direct/P1104> ?var4 . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var6 . ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12Label . FILTER ( ( ( LANG ( ?var12Label ) = \"en\" ) ) ) . } } GROUP BY ?var1 ?var11 ?var3Label ORDER BY ASC( ?var1 ) } }"}}
{"id": "test_5885", "question": "What is the English label for the TimedMediaHandler extension, and does it have a French label?", "sparql": "SELECT ?labelEn ?labelFr WHERE { wd:Q21678857 rdfs:label ?labelEn . FILTER (LANGMATCHES(LANG(?labelEn), \"en\")) OPTIONAL { wd:Q21678857 rdfs:label ?labelFr . FILTER (LANGMATCHES(LANG(?labelFr), \"fr\")) } }", "paraphrases": ["Show the English and French labels of the MediaWiki extension TimedMediaHandler.", "Does the TimedMediaHandler extension have labels in English and French? If so, what are they?"], "info": {"raw_sparql": "SELECT DISTINCT( <http://www.w3.org/2001/XMLSchema#string> ( ?var1 ) AS ?var2 )( <http://www.w3.org/2001/XMLSchema#string> ( ?var3 ) AS ?var4 ) WHERE { <http://www.wikidata.org/entity/Q21678857> <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . <http://www.wikidata.org/entity/Q21678857> <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( LANGMATCHES ( LANG ( ?var1 ) , \"FR\" ) ) ) . FILTER ( ( LANGMATCHES ( LANG ( ?var3 ) , \"EN\" ) ) ) . } LIMIT 10"}}
{"id": "test_5886", "question": "What are all the categories or classes that the Moog synthesizer belongs to, including its direct and indirect superclasses?", "sparql": "SELECT DISTINCT ?superclass WHERE { wd:Q426035 wdt:P279* ?superclass . } LIMIT 50", "paraphrases": ["What is the full taxonomic hierarchy above the Moog synthesizer in Wikidata?", "List all the broader categories that the Moog synthesizer is a type of, from specific to general."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q426035> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_5887", "question": "Who has the Twitter username \"daveharte\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?username WHERE {\n  ?person wdt:P2002 ?username .\n  VALUES ?username {\n    \"daveharte\"\n  }\n}", "paraphrases": ["Which Wikidata entity is associated with the Twitter handle daveharte?", "Find the person on Wikidata whose X (Twitter) username is daveharte."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"daveharte\" ) ( \"podnosh\" ) } }"}}
{"id": "test_5888", "question": "Main subjects of works by Ralph H. Baer, with count and sample work title", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?count ?mainSubjectLabel ?workLabelTruncated WHERE {\n  {\n    SELECT ?mainSubject(COUNT(?work) AS ?count)(SAMPLE(?workLabel) AS ?sampledWorkLabel) WHERE {\n      ?work wdt:P50 wd:Q70997 .\n      ?work wdt:P921 ?mainSubject .\n      ?work rdfs:label ?workLabel .\n    }\n    GROUP BY ?mainSubject\n    ORDER BY DESC(?count)\n  }\n  ?mainSubject rdfs:label ?mainSubjectLabel .\n  FILTER(LANG(?mainSubjectLabel) = \"en\")\n  BIND(SUBSTR(?sampledWorkLabel , 1 , 60) AS ?workLabelTruncated)\n}", "paraphrases": ["What are the main topics of the works authored by Ralph H. Baer, how many works are there for each, and what is a sample title of one such work?", "Show me the main subjects of Ralph H. Baer\u2019s works, the number of works per subject, and a truncated title of one work, filtering subject labels to English."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label WHERE { { SELECT ?var4 ( COUNT ( ?var5 ) AS ?var1 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q70997> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . } GROUP BY ?var4 ORDER BY DESC( ?var1 ) } BIND ( SUBSTR ( ?var6Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q70997> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . }"}}
{"id": "test_5889", "question": "What are the locations and associated properties of Ralph H. Baer, including images and entity labels?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ( ?var4Label AS ?var5 ) WHERE {\n  wd:Q70997 ?var6 ?var2 .\n  ?var2 wdt:P625 ?var3 .\n  ?var7 wikibase:directClaim ?var6 .\n  ?var7 rdfs:label ?var4Label .\n  FILTER ( LANG( ?var4Label ) = \"en\" ) OPTIONAL {\n    ?var2 wdt:P18 ?var1 .\n  }\n  OPTIONAL {\n    ?var2 rdfs:label ?var2Label .\n    FILTER ( LANG( ?var2Label ) = \"en\" )\n  }\n}", "paraphrases": ["Which places are connected to Ralph H. Baer, what are their coordinates, and what properties link them to him?", "Show me all entities linked to Ralph H. Baer, their English labels, coordinates, images, and the English names of the properties connecting them."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ( ?var4Label AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q70997> ?var6 ?var2 . ?var2 (( <http://www.wikidata.org/prop/P159> / <http://www.wikidata.org/prop/qualifier/P625> )|( <http://www.wikidata.org/prop/direct/P276> */ <http://www.wikidata.org/prop/direct/P625> )) ?var3 . ?var7 <http://wikiba.se/ontology#directClaim> ?var6 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,nl,no,ru,sv,zh\". } ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . }"}}
{"id": "test_5890", "question": "English title of the film A Dog's Love (Q18149371)", "sparql": "SELECT ?label WHERE { wd:Q18149371 rdfs:label ?label . FILTER (LANGMATCHES(LANG(?label), \"EN\")) }", "paraphrases": ["What is the English name of the 1914 film 'A Dog's Love'?", "Please provide the English label for the Wikidata item Q18149371, which is the film A Dog's Love."], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { <http://www.wikidata.org/entity/Q18149371> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( LANGMATCHES ( LANG ( ?var1Label ) , \"EN\" ) ) ) . } LIMIT 1"}}
{"id": "test_5891", "question": "French and English titles of the film Barcelone, Parc au cr\u00e9puscule", "sparql": "SELECT ?label_fr ?label_en WHERE { wd:Q4078527 rdfs:label ?label_fr FILTER(LANGMATCHES(LANG(?label_fr), \"fr\")) wd:Q4078527 rdfs:label ?label_en FILTER(LANGMATCHES(LANG(?label_en), \"en\")) }", "paraphrases": ["What is the French title and English title of the 1904 film Barcelone, Parc au cr\u00e9puscule?", "Please provide the French and English labels for the film Barcelone, Parc au cr\u00e9puscule."], "info": {"raw_sparql": "SELECT DISTINCT( <http://www.w3.org/2001/XMLSchema#string> ( ?var1 ) AS ?var2 )( <http://www.w3.org/2001/XMLSchema#string> ( ?var3 ) AS ?var4 ) WHERE { <http://www.wikidata.org/entity/Q4078527> <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . <http://www.wikidata.org/entity/Q4078527> <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( LANGMATCHES ( LANG ( ?var1 ) , \"FR\" ) ) ) . FILTER ( ( LANGMATCHES ( LANG ( ?var3 ) , \"EN\" ) ) ) . } LIMIT 10"}}
{"id": "test_5892", "question": "Which Wikidata entities have the Twitter usernames bchameroy, Europe1, gkierzek, or MissFrance?", "sparql": "SELECT ?entity ?twitterUsername WHERE { ?entity wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"bchameroy\" \"Europe1\" \"gkierzek\" \"MissFrance\" } }", "paraphrases": ["Who are the people or organizations on Wikidata associated with the Twitter handles @bchameroy, @Europe1, @gkierzek, and @MissFrance?", "Please list the Wikidata items for the Twitter accounts bchameroy, Europe1, gkierzek, and MissFrance."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"Europe1\" ) ( \"bchameroy\" ) ( \"EAssayag\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"MissFrance\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"gkierzek\" ) ( \"string12\" ) ( \"CoBoul1\" ) ( \"string13\" ) ( \"string14\" ) ( \"Summers069\" ) ( \"string15\" ) ( \"chypnou\" ) } }"}}
{"id": "test_5893", "question": "What is Karim Benzema\u2019s Twitter/X username?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?player ?username WHERE {\n  ?player wdt:P2002 ?username .\n  VALUES ?username {\n    \"Benzema\"\n  }\n}", "paraphrases": ["Which person has the Twitter/X username \"Benzema\"?", "Show me the entity that uses \"Benzema\" as its X (Twitter) handle."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"Benzema\" ) } }"}}
{"id": "test_5894", "question": "Who is the person with SBL ID 5802?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person WHERE {\n  ?person wdt:P3217 \"5802\" .\n}", "paraphrases": ["Which individual is listed in the Dictionary of Swedish National Biography with the ID 5802?", "Tell me the name of the person identified by the Swedish National Biography ID 5802."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3217> \"5802\". } LIMIT 1"}}
{"id": "test_5895", "question": "Female painters with National Gallery of Victoria artist IDs", "sparql": "SELECT ?person ?personLabel ?ngvId WHERE { ?person wdt:P106 wd:Q1028181 . ?person wdt:P21 wd:Q6581072 . OPTIONAL { ?person wdt:P2041 ?ngvId . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } LIMIT 100", "paraphrases": ["Who are the female painters in Wikidata, and do they have an NGV artist ID?", "List the English names of female painters and their National Gallery of Victoria artist IDs, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1028181> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2041> ?var2 . } } LIMIT 100"}}
{"id": "test_5896", "question": "What film in Wikidata has the elCinema ID 2011469?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P3135 \"2011469\"\n}", "paraphrases": ["Which movie is identified by the elCinema film ID \"2011469\"?", "Show me the Wikidata entity for the film with elCinema ID 2011469."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3135> \"2046868\". }"}}
{"id": "test_5897", "question": "Which Wikidata items have Twitter/X usernames \"aha_io\", \"FilmCourt\", \"mixcloud\", or \"YouTube\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterHandle WHERE {\n  ?item wdt:P2002 ?twitterHandle .\n  VALUES ?twitterHandle {\n    \"aha_io\" \"FilmCourt\" \"mixcloud\" \"YouTube\"\n  }\n}", "paraphrases": ["What entities on Wikidata are associated with the Twitter handles aha_io, FilmCourt, mixcloud, and YouTube?", "I need to find the Wikidata entries for Aha!, Brest European Short Film Festival, Mixcloud, and YouTube based on their Twitter/X usernames: aha_io, FilmCourt, mixcloud, and YouTube."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"FERAROCK\" ) ( \"tunein\" ) ( \"string1\" ) ( \"FilmCourt\" ) ( \"jimlejeune\" ) ( \"rvleroux\" ) ( \"string2\" ) ( \"aha_io\" ) ( \"Lebravex\" ) ( \"string3\" ) ( \"string4\" ) ( \"Canaltizef\" ) ( \"string5\" ) ( \"foxoo29\" ) ( \"string6\" ) ( \"CoteBrest\" ) ( \"string7\" ) ( \"RadioPikez\" ) ( \"string8\" ) ( \"string9\" ) ( \"cultureetc\" ) ( \"string10\" ) ( \"Flinery\" ) ( \"string11\" ) ( \"string12\" ) ( \"mixcloud\" ) ( \"YouTube\" ) ( \"_Xsilence\" ) ( \"BrestLife\" ) ( \"FAC251\" ) ( \"LeQuartz\" ) } }"}}
{"id": "test_5898", "question": "Which film has the elCinema ID 1004170?", "sparql": "SELECT ?film WHERE { ?film wdt:P3135 \"1004170\" . }", "paraphrases": ["What is the Wikidata item for the Egyptian horror film \"The Woman Who Defeated the Devil\" as identified by elCinema ID 1004170?", "Find the film entity in Wikidata that is linked to the elCinema film ID \"1004170\"."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3135> \"1004170\". }"}}
{"id": "test_5899", "question": "Who is the person with Twitter username erwanamice?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?username WHERE {\n  ?person wdt:P2002 ?username .\n  VALUES ?username {\n    \"erwanamice\"\n  }\n}", "paraphrases": ["Which Wikidata entity is associated with the Twitter handle erwanamice?", "Tell me the name of the person who uses erwanamice on X (formerly Twitter)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"erwanamice\" ) } }"}}
{"id": "test_5900", "question": "Which Wikidata item has the Twitter username \"steffclarke\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"steffclarke\"\n  }\n}", "paraphrases": ["Who is the person on Wikidata whose X (Twitter) username is steffclarke?", "Show me the entity and its X username for the handle \"steffclarke\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"steffdelaz\" ) } }"}}
{"id": "test_5901", "question": "Wikidata entities with Twitter handles: afpfr, ash_crow, BFMTV, chunkymark, _F_B_G_, lemondefr, PremiereFR, qz, wikidata", "sparql": "SELECT ?entity ?twitterHandle WHERE { ?entity wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { \"afpfr\" \"ash_crow\" \"BFMTV\" \"chunkymark\" \"_F_B_G_\" \"lemondefr\" \"PremiereFR\" \"qz\" \"wikidata\" } }", "paraphrases": ["Which organizations or people on Wikidata have the Twitter usernames afpfr, ash_crow, BFMTV, chunkymark, _F_B_G_, lemondefr, PremiereFR, qz, or wikidata?", "Show me the Wikidata items that are associated with the Twitter handles afpfr, ash_crow, BFMTV, chunkymark, _F_B_G_, lemondefr, PremiereFR, qz, and wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"afpfr\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"Lyoko6\" ) ( \"PoulpyWP\" ) ( \"string4\" ) ( \"PremiereFR\" ) ( \"string5\" ) ( \"Civvy_Joe\" ) ( \"_F_B_G_\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"Erdrokan\" ) ( \"string12\" ) ( \"string13\" ) ( \"string14\" ) ( \"string15\" ) ( \"string16\" ) ( \"string17\" ) ( \"string18\" ) ( \"string19\" ) ( \"string20\" ) ( \"pierrebrt\" ) ( \"lemondefr\" ) ( \"Blouchtika\" ) ( \"qz\" ) ( \"string21\" ) ( \"string22\" ) ( \"Pymouss\" ) ( \"string23\" ) ( \"Thaliane_K\" ) ( \"string24\" ) ( \"BFMTV\" ) ( \"string25\" ) ( \"string26\" ) ( \"string27\" ) ( \"string28\" ) ( \"ellensalvi\" ) ( \"palais_au\" ) ( \"string29\" ) ( \"string30\" ) ( \"lesagithes\" ) ( \"string31\" ) ( \"chunkymark\" ) ( \"ash_crow\" ) ( \"le_RESET\" ) ( \"wikidata\" ) } }"}}
{"id": "test_5902", "question": "Who were the humans who served in the 10th Cavalry Regiment, and what were their birth and death dates?", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { ?person wdt:P7779 wd:Q4547016 ; wdt:P31 wd:Q5 . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["Can you list the names, birth dates, and death dates of soldiers from the 10th Cavalry Regiment?", "Which individuals from the 10th Cavalry Regiment have recorded birth and death dates in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q4547016> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5903", "question": "Birth and death dates of members of the Bach family.", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { ?person wdt:P53 wd:Q169509 . ?person wdt:P31 wd:Q5 . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["Who are the human members of the Bach family, and when were they born and died?", "List the names, birth dates, and death dates of all individuals in the Bach family."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q169509> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5904", "question": "Japanese Wikipedia pages for entities linked to Yokohama Civic Art Gallery Azamino, with property names and URL templates.", "sparql": "SELECT ?propertyItem ?propertyItemLabel ?object ?objectLabel ?jaWikipediaPage ?formatterUrl WHERE { wd:Q11543026 ?property ?object . ?propertyItem wikibase:directClaim ?property . OPTIONAL { ?propertyItem wdt:P1630 ?formatterUrl . } OPTIONAL { ?jaWikipediaPage schema:about ?object ; schema:inLanguage \"ja\" . FILTER(STRSTARTS(STR(?jaWikipediaPage), \"https://ja.wikipedia.org/wiki/\")) } OPTIONAL { ?propertyItem rdfs:label ?propertyItemLabel . FILTER(LANG(?propertyItemLabel) = \"en\") } OPTIONAL { ?object rdfs:label ?objectLabel . FILTER(LANG(?objectLabel) = \"en\") } }", "paraphrases": ["What Japanese Wikipedia pages are associated with the entities connected to the Yokohama Civic Art Gallery Azamino, and what properties link them?", "Show me the Japanese Wikipedia links for things related to the Yokohama Civic Art Gallery Azamino, along with the names of the connecting properties and their URL formats."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label ?var4 ?var5 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". <http://www.wikidata.org/entity/Q11543026> ?var1 ?var3 . ?var2 <http://wikiba.se/ontology#directClaim> ?var1 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P1630> ?var4 . } OPTIONAL { ?var5 <http://schema.org/about> ?var3 . ?var5 <http://schema.org/inLanguage> \"ja\". FILTER ( ( ( SUBSTR ( STR ( ?var5 ) ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"25\"^^<http://www.w3.org/2001/XMLSchema#integer> ) = \"string1\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja,en\". } }"}}
{"id": "test_5905", "question": "How many academic works cite \"The Unreasonable Effectiveness of Mathematics in the Natural Sciences\"?", "sparql": "SELECT (COUNT(?citingWork) AS ?citationCount) WHERE { ?citingWork wdt:P2860 wd:Q3349460 . }", "paraphrases": ["How many papers reference Eugene Wigner\u2019s 1960 article on the effectiveness of mathematics in the natural sciences?", "Count the number of scholarly publications that cite the paper \"The Unreasonable Effectiveness of Mathematics in the Natural Sciences\"."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2860> <http://www.wikidata.org/entity/Q3349460> . }"}}
{"id": "test_5906", "question": "What is the location (country and coordinates) of the airport with IATA code UTC?", "sparql": "SELECT ?airport ?airportLabel ?country ?coordinates WHERE { ?airport wdt:P238 \"UTC\" . ?airport wdt:P17 ?country . ?airport wdt:P625 ?coordinates . ?airport rdfs:label ?airportLabel . FILTER(LANG(?airportLabel) = \"en\") }", "paraphrases": ["Where is Soesterberg Air Base located, and what country is it in?", "Can you tell me the country and geographic coordinates for the air base that uses UTC as its IATA code?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P238> \"UTC\". ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5907", "question": "List Swedish obstetricians with their Dictionary of Swedish National Biography (SBL) IDs and images, including links to their SBL entries.", "sparql": "SELECT ?person ?personLabel ?image ?sblUrl WHERE { ?person wdt:P106 wd:Q13638192 . ?person wdt:P3217 ?sblId . OPTIONAL { ?person wdt:P18 ?image . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) IN (\"en\", \"sv\")) BIND(CONCAT(\"https://sbl.sverige.se/sbl/\", ?sblId) AS ?sblUrl) } LIMIT 100", "paraphrases": ["Who are the obstetricians listed in the Dictionary of Swedish National Biography, and what are their SBL IDs, images, and web links to their biographies?", "Show me the names, SBL IDs, images, and direct links to the Dictionary of Swedish National Biography entries for all obstetricians in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( IRI ( CONCAT ( \"\", ?var5 ) ) AS ?var4 ). ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q13638192> . ?var1 <http://www.wikidata.org/prop/direct/P3217> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_5908", "question": "What works or creations are associated with Ruth Alm\u00e9n, and what roles do they have (e.g., composer, author)?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?statement ?property ( SAMPLE( ?qv ) AS ?qualifierValue ) WHERE {\n  ?statement ?statementProperty wd:Q4935182 .\n  ?item ?claimProperty ?statement .\n  ?property wikibase:statementProperty ?statementProperty .\n  ?property wikibase:claim ?claimProperty .\n  FILTER ( ?property != wd:P31 ) OPTIONAL {\n    ?statement ?qualifier ?qv .\n    ?qualifier wikibase:qualifier ?statementProperty .\n  }\n}\nGROUP BY ?item ?statement ?property", "paraphrases": ["Which properties link Ruth Alm\u00e9n to other items, and are there any additional details (qualifiers) about those connections?", "List all non-instance-of relationships involving Ruth Alm\u00e9n and the entities they connect to, such as compositions or names."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q4935182> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_5909", "question": "People educated in Belgium and their education qualifiers", "sparql": "SELECT ?person ?statement (SAMPLE(?qualifierProperty) AS ?qualifier) WHERE { { SELECT DISTINCT ?person ?statement WHERE { ?statement ps:P69 wd:Q31 . ?person p:P69 ?statement . } LIMIT 101 } OPTIONAL { ?statement ?qualifierProperty ?qualifierValue . ?qualifierProperty wdt:P1687 wd:P69 . } } GROUP BY ?person ?statement", "paraphrases": ["Who are the people educated in Belgium, and what qualifiers are associated with their alma mater statements?", "List people who attended a university in Belgium and show any additional details (like graduation year or degree) recorded for their education."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P69> <http://www.wikidata.org/entity/Q31> . ?var1 <http://www.wikidata.org/prop/P69> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_5910", "question": "Most frequently used properties of countries that have diplomatic relations with the United States.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?property ?propertyLabel ?count WHERE {\n  {\n    SELECT ?property ( COUNT( ?property ) AS ?count ) WHERE {\n      ?country wdt:P31 wd:Q6256 .\n      ?country wdt:P530 wd:Q30 .\n      ?country ?statementProperty ?value .\n      ?property wikibase:directClaim ?statementProperty .\n    }\n    GROUP BY ?property\n    ORDER BY DESC ( ?count )\n  }\n  ?property rdfs:label ?propertyLabel .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" )\n}\nORDER BY DESC ( ?count )\nLIMIT 40", "paraphrases": ["What properties are most commonly used to describe countries that maintain diplomatic relations with the United States?", "Show me the top 40 properties most often used to describe countries with diplomatic ties to the United States, along with their labels and usage counts."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 )( COUNT ( DISTINCT ?var4 ) AS ?var3 ) WHERE { { SELECT ?var1 ?var4 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . { { { ?var4 <http://www.wikidata.org/prop/direct/P530> <http://www.wikidata.org/entity/Q865> . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P530> <http://www.wikidata.org/entity/Q30> . } } } { { { ?var4 <http://www.wikidata.org/prop/direct/P463> ?var5 . } } } ?var4 ?var6 ?var7 . ?var1 <http://wikiba.se/ontology#directClaim> ?var6 . } LIMIT 2000000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var2 ) LIMIT 40"}}
{"id": "test_5911", "question": "What companies operate in the same industry as Microsoft?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?company ?companyLabel ?industry ?industryLabel WHERE {\n  wd:Q2283 wdt:P452 ?industry .\n  FILTER ( ?industry != wd:Q1666934 ) ?company wdt:P452 ?industry .\n  FILTER ( ?company != wd:Q2283 ) ?company rdfs:label ?companyLabel .\n  ?industry rdfs:label ?industryLabel .\n  FILTER ( LANG( ?companyLabel ) = \"en\" ) FILTER ( LANG( ?industryLabel ) = \"en\" )\n}\nORDER BY ?companyLabel", "paraphrases": ["Can you list companies that are in the software industry or software development, just like Microsoft?", "Show me businesses that share Microsoft\u2019s industry classification, excluding the meta-classification system."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q4649915> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> \"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P452> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P452> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5912", "question": "What is the superclass of \"common name\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?var1 ?var1Label WHERE {\n  wd:Q502895 wdt:P279 ?var1 .\n  ?var1 rdfs:label ?var1Label .\n  FILTER ( LANG( ?var1Label ) = \"en\" )\n}", "paraphrases": ["What category does \"common name\" belong to?", "Is \"common name\" a type of something? If so, what?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q502895> <http://www.wikidata.org/prop/direct/P31> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5913", "question": "Which film has the film-documentaire.fr ID 12067?", "sparql": "SELECT ?film ?filmLabel WHERE { ?film wdt:P3673 \"12067\" . ?film rdfs:label ?filmLabel . FILTER(LANG(?filmLabel) = \"en\") }", "paraphrases": ["What is the name of the documentary film identified as 12067 on film-documentaire.fr?", "Find the English title of the film with ID 12067 in the film-documentaire.fr database."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3673> \"12067\". }"}}
{"id": "test_5914", "question": "Which Wikidata entities have the Twitter usernames \"AleteiaFR\", \"mapillary\", or \"univamu\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity ?username WHERE {\n  ?entity wdt:P2002 ?username .\n  VALUES ?username {\n    \"AleteiaFR\" \"mapillary\" \"univamu\"\n  }\n}", "paraphrases": ["What organizations on Wikidata use \"AleteiaFR\", \"mapillary\", or \"univamu\" as their Twitter/X handles?", "List the entities on Wikidata that are associated with the Twitter accounts @AleteiaFR, @mapillary, and @univamu."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"moododd\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"AleteiaFR\" ) ( \"creapills\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"Midenews\" ) ( \"string8\" ) ( \"tomipa06\" ) ( \"string9\" ) ( \"mapillary\" ) ( \"fab_mob\" ) ( \"XDurang\" ) ( \"univamu\" ) ( \"Vauvert39\" ) ( \"string10\" ) ( \"ThomasG77\" ) } }"}}
{"id": "test_5915", "question": "How many humans in Wikidata have no specified sex or gender?", "sparql": "SELECT (COUNT(*) AS ?count) WHERE { ?human wdt:P31 wd:Q5 . OPTIONAL { ?human wdt:P21 ?gender . } FILTER(!BOUND(?gender)) }", "paraphrases": ["What is the count of human entities in Wikidata that lack information about their biological sex or gender?", "Can you tell me how many people in Wikidata are recorded without a gender?"], "info": {"raw_sparql": "SELECT( COUNT (* ) AS ?var1 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P21> ?var3 . } FILTER ( ( !( BOUND ( ?var3 ) ) ) ) . }"}}
{"id": "test_5916", "question": "Online usernames that are instances of user in Wikidata", "sparql": "SELECT ?username WHERE { ?username wdt:P31 wd:Q278368 . } LIMIT 10000", "paraphrases": ["Which Wikidata items represent online user accounts such as Discord or Wikipedia handles?", "List the usernames of online service users modeled in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q278368> . } LIMIT 10000"}}
{"id": "test_5917", "question": "Properties used on items classified as class property", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?prop ?propLabel ?propDescription WHERE {\n  ?item wdt:P31 wd:Q2123335 .\n  ?item ?prop ?value .\n  FILTER ( STRSTARTS( STR( ?prop ) , \"http://www.wikidata.org/prop/direct/\" ) ) .\n  BIND( IRI( REPLACE( STR( ?prop ) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\" ) ) AS ?propItem ) .\n  ?propItem rdfs:label ?propLabel .\n  ?propItem schema:description ?propDescription .\n  FILTER ( LANG( ?propLabel ) = \"en\" ) .\n  FILTER ( LANG( ?propDescription ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["What properties are commonly used on items that are instances of \"class property\"?", "List the English labels and descriptions of properties that are used on items of type \"class property\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q2123335> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_5918", "question": "What are the alternative names or aliases for Leo Tolstoy in different languages?", "sparql": "SELECT ?alias WHERE { wd:Q7243 skos:altLabel ?alias . }", "paraphrases": ["Can you list all the known alternative spellings and translations of Leo Tolstoy\u2019s name?", "What are the different ways Leo Tolstoy\u2019s name appears across languages in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q7243> <http://www.w3.org/2000/01/rdf-schema#aliases> ?var1 . }"}}
{"id": "test_5919", "question": "What is the entity with Twitter username leJDD?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"leJDD\"\n  }\n}", "paraphrases": ["Which organization uses the Twitter handle leJDD?", "Find the Wikidata item that has the Twitter username leJDD."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"jdd\" ) } }"}}
{"id": "test_5920", "question": "Which TV networks have Twitter handles 3sat, ZDF, or DasErste?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?organization ?twitterHandle WHERE {\n  ?organization wdt:P2002 ?twitterHandle .\n  VALUES ?twitterHandle {\n    \"3sat\" \"ZDF\" \"DasErste\"\n  }\n}", "paraphrases": ["What are the organizations on Twitter with the usernames 3sat, ZDF, and DasErste?", "List the media organizations whose Twitter/X username is 3sat, ZDF, or DasErste."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"3sat\" ) ( \"ZDF\" ) ( \"DasErste\" ) } }"}}
{"id": "test_5921", "question": "What are the direct properties of the Australia men's national soccer team?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?value WHERE {\n  wd:Q268208 ?property ?value .\n  FILTER(STRSTARTS(STR(?property) , 'http://www.wikidata.org/prop/direct/'))\n}", "paraphrases": ["Show all direct attributes of the Australian national football team (Socceroos) in Wikidata.", "List all the direct facts known about the Australia men's national soccer team in Wikidata."], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q268208> ?var1 ?var2 . FILTER ( ( STRSTARTS ( STR ( ?var1 ) , \"string1\" ) ) ) . }"}}
{"id": "test_5922", "question": "Image of Julius Stern with SNAC ARK ID w6r78ssx", "sparql": "SELECT ?image WHERE { wd:Q526966 wdt:P3430 \"w6r78ssx\" . OPTIONAL { wd:Q526966 wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with Julius Stern in Wikidata, given his SNAC ARK ID is w6r78ssx?", "Show me the Wikimedia Commons image of Julius Stern, who has the SNAC ARK ID w6r78ssx."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6r78ssx\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5923", "question": "Swedish obstetricians with SBL ID and other occupations", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ( SAMPLE( ?personLabel ) AS ?label ) ?sblId ( GROUP_CONCAT( DISTINCT ?otherOccupationLabel ; SEPARATOR = \", \" ) AS ?otherOccupations ) ?sblUrl WHERE {\n  ?person wdt:P106 wd:Q13638192 .\n  ?person wdt:P3217 ?sblId .\n  BIND( IRI( CONCAT ( \"https://sbl.sverige.se/sbl/\" , ?sblId ) ) AS ?sblUrl ) .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" || LANG( ?personLabel ) = \"sv\" ) OPTIONAL {\n    ?person wdt:P106 ?otherOccupation .\n    FILTER ( ?otherOccupation != wd:Q13638192 ) .\n    ?otherOccupation rdfs:label ?otherOccupationLabel .\n    FILTER ( LANG( ?otherOccupationLabel ) = \"en\" || LANG( ?otherOccupationLabel ) = \"sv\" )\n  }\n}\nGROUP BY ?person ?sblId ?sblUrl\nORDER BY ASC ( ?label )\nLIMIT 100", "paraphrases": ["Who are the obstetricians in Sweden who have an entry in the Dictionary of Swedish National Biography, and what other professions did they have?", "List Swedish obstetricians with their SBL profile links and any additional occupations they held."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ( GROUP_CONCAT ( ?var3Label ) AS ?var4 ) ?var5 WHERE { BIND ( IRI ( CONCAT ( \"string1\", ?var6 ) ) AS ?var5 ). ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q13638192> . ?var1 <http://www.wikidata.org/prop/direct/P3217> ?var6 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv\". } } GROUP BY ?var1 ?var1Label ?var2 ?var5 ORDER BY ASC( ?var1Label ) LIMIT 100"}}
{"id": "test_5924", "question": "What are the known concussion grading systems?", "sparql": "SELECT ?gradingSystem ?gradingSystemLabel WHERE { ?gradingSystem wdt:P31 wd:Q5159121 . ?gradingSystem rdfs:label ?gradingSystemLabel . FILTER(LANG(?gradingSystemLabel) = \"en\") }", "paraphrases": ["List all concussion grading systems in Wikidata with their English labels.", "How many concussion grading systems are defined in Wikidata?"], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { { SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var3 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5159121> . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var1 . } GROUP BY ?var1 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } } UNION { SELECT ?var4 ?var4Label ?var2 ?var3 WHERE { { SELECT ?var4 ( COUNT ( ?var3 ) AS ?var2 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q5159121> . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var4 . } GROUP BY ?var4 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } } }"}}
{"id": "test_5925", "question": "Melting points of all chemical elements", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?element ?elementLabel ?meltingPoint WHERE {\n  ?element wdt:P31 wd:Q11344 .\n  ?element wdt:P2101 ?meltingPoint .\n  ?element rdfs:label ?elementLabel .\n  FILTER(LANG(?elementLabel) = \"en\")\n}\nORDER BY ?element\nLIMIT 100", "paraphrases": ["What are the melting points of chemical elements, and what are their names in English?", "List the English names and melting points of all chemical elements."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11344> . ?var1 <http://www.wikidata.org/prop/direct/P2101> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_5926", "question": "Which Wikidata items have the Twitter usernames \"envlh\", \"archives35\", or \"Jean_no\"?", "sparql": "SELECT ?item ?twitterUsername WHERE { ?item wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"envlh\" \"archives35\" \"Jean_no\" } }", "paraphrases": ["Who or what entities on Wikidata are associated with the Twitter handles envlh, archives35, and Jean_no?", "Show me the Wikidata entries for the people or organizations with the X (Twitter) usernames envlh, archives35, and Jean_no."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"archives35\" ) ( \"string1\" ) ( \"string2\" ) ( \"Jean_no\" ) ( \"string3\" ) ( \"PoulpyWP\" ) } }"}}
{"id": "test_5927", "question": "Scholarly articles by Jessica Lasky-Su, including all co-authors, publication venues, and publication dates, sorted by most recent first.", "sparql": "SELECT \n  ?pubDate \n  ?work \n  ?workLabel \n  (GROUP_CONCAT(DISTINCT ?authorLabel; SEPARATOR=\", \") AS ?allAuthors) \n  (SAMPLE(?pages) AS ?numPages) \n  ?journal \n  ?journalLabel \n  (GROUP_CONCAT(DISTINCT ?typeLabel; SEPARATOR=\", \") AS ?workTypes)\nWHERE {\n  ?work wdt:P50 wd:Q30002011 .\n  ?work wdt:P50 ?author .\n  ?work wdt:P577 ?pubDate .\n  OPTIONAL { ?work wdt:P1104 ?pages . }\n  ?work wdt:P1433 ?journal .\n  ?work wdt:P31 ?type .\n\n  ?work rdfs:label ?workLabel .\n  FILTER(LANG(?workLabel) = \"en\")\n  ?journal rdfs:label ?journalLabel .\n  FILTER(LANG(?journalLabel) = \"en\")\n  ?author rdfs:label ?authorLabel .\n  FILTER(LANG(?authorLabel) = \"en\")\n  ?type rdfs:label ?typeLabel .\n  FILTER(LANG(?typeLabel) = \"en\")\n}\nGROUP BY ?work ?workLabel ?journal ?journalLabel ?pubDate\nORDER BY DESC(?pubDate)", "paraphrases": ["What are the most recent scholarly articles authored by Jessica Lasky-Su, and who are all the co-authors, journals, and types of these publications?", "List all research papers written by Jessica Lasky-Su, showing the full list of authors, the journal they were published in, the publication date, and the work type, ordered from newest to oldest."], "info": {"raw_sparql": "SELECT( MIN ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ( GROUP_CONCAT ( DISTINCT ?var4Label ; SEPARATOR = \", \" ) AS ?var5 )( SAMPLE ( ?var6 ) AS ?var7 ) ?var8 ?var8Label ( GROUP_CONCAT ( DISTINCT ?var9Label ; SEPARATOR = \", \" ) AS ?var10 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q30002011> . ?var3 <http://www.wikidata.org/prop/direct/P50> ?var11 . OPTIONAL { ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12 . FILTER ( ( ( LANG ( ?var12 ) = \"en\" ) ) ) . } BIND ( COALESCE ( ?var12 , SUBSTR ( STR ( ?var11 ) ,\"32\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var9Label ). OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . } OPTIONAL { BIND ( <http://www.w3.org/2001/XMLSchema#date> ( ?var13 ) AS ?var1 ). ?var3 <http://www.wikidata.org/prop/direct/P577> ?var13 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1104> ?var6 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,no,ru,sv,zh\". } } GROUP BY ?var3 ?var3Label ?var8 ?var8Label ORDER BY DESC( ?var2 )"}}
{"id": "test_5928", "question": "Wikidata items with Twitter handles \"envlh\", \"twitter\", or \"wikidata\"", "sparql": "SELECT ?item ?handle WHERE { ?item wdt:P2002 ?handle . VALUES ?handle { \"envlh\" \"twitter\" \"wikidata\" } }", "paraphrases": ["Which Wikidata items have the Twitter usernames \"envlh\", \"twitter\", or \"wikidata\"?", "Show me the entities on Wikidata that are associated with the Twitter handles \"envlh\", \"twitter\", or \"wikidata\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"PoulpyWP\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"wikidata\" ) ( \"twitter\" ) ( \"Gallorum\" ) } }"}}
{"id": "test_5929", "question": "What are the locations, images, and Commons categories of places in Turkey, Syria, Lebanon, Israel, Jordan, and Iraq?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel ?coord ?image ?commonsCat ?postalCode WHERE {\n  VALUES ?country {\n    wd:Q43 wd:Q858 wd:Q822 wd:Q801 wd:Q810 wd:Q796\n  }\n  ?item wdt:P17 ?country .\n  FILTER ( STRSTARTS( STR( ?item ) , \"http://www.wikidata.org/entity/Q\" ) ) OPTIONAL {\n    ?item wdt:P625 ?coord .\n  }\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?item wdt:P373 ?commonsCat .\n  }\n  OPTIONAL {\n    ?item wdt:P969 ?postalCode .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}\nLIMIT 3000", "paraphrases": ["Show me entities in the Middle East with their coordinates and associated images from Wikimedia Commons.", "List landmarks and sites in the countries of the Eastern Mediterranean with their postal codes, images, and Commons categories."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(34 36)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(48 48)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_5930", "question": "What are the properties and values of Anna Delprato in English, with counts and labels?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(SAMPLE(?propertyLabel) AS ?propertyLabelName)(COUNT(?value) AS ?valueCount)(GROUP_CONCAT(?valueLabel ; SEPARATOR = \", \") AS ?valueLabels) WHERE {\n  wd:Q42306009 ?property ?value .\n  ?value rdfs:label ?valueLabel .\n  FILTER(LANG(?valueLabel) = \"en\")\n  .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?propertyLabel .\n  FILTER(LANG(?propertyLabel) = \"en\")\n}\nGROUP BY ?property", "paraphrases": ["For Anna Delprato, what are the English labels of her properties, how many values each has, and what are the English labels of those values?", "Show me a breakdown of Anna Delprato\u2019s data in English: property names, number of values per property, and the corresponding value labels."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q42306009> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_5931", "question": "Image of the person with SNAC ARK ID w6f480ns", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?person wdt:P3430 \"w6f480ns\" .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Louis Jean Marie de Bourbon, Duke of Penthi\u00e8vre in Wikidata?", "Show me the Wikimedia Commons image for the individual identified by the SNAC ARK ID w6f480ns."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6f480ns\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5932", "question": "Which Wikidata items have the Twitter usernames AfpFactuel, ash_crow, BoingBoing, Bouletcorp, Fakir_, mfmazuecos, NLWales, RJBOTANICO, RTLFrance, or vgcerf?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterHandle WHERE {\n  ?item wdt:P2002 ?twitterHandle .\n  VALUES ?twitterHandle {\n    \"AfpFactuel\" \"ash_crow\" \"BoingBoing\" \"Bouletcorp\" \"Fakir_\" \"mfmazuecos\" \"NLWales\" \"RJBOTANICO\" \"RTLFrance\" \"vgcerf\"\n  }\n}", "paraphrases": ["Who are the people or organizations on Wikidata that use these Twitter handles: AfpFactuel, ash_crow, BoingBoing, Bouletcorp, Fakir_, mfmazuecos, NLWales, RJBOTANICO, RTLFrance, and vgcerf?", "Please list the Wikidata entities and their corresponding Twitter handles for the following usernames: AfpFactuel, ash_crow, BoingBoing, Bouletcorp, Fakir_, mfmazuecos, NLWales, RJBOTANICO, RTLFrance, and vgcerf."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"Fakir_\" ) ( \"string1\" ) ( \"h_ingo\" ) ( \"Grickit\" ) ( \"string2\" ) ( \"string3\" ) ( \"susegray\" ) ( \"vgcerf\" ) ( \"string4\" ) ( \"string5\" ) ( \"PoulpyWP\" ) ( \"janl\" ) ( \"string6\" ) ( \"string7\" ) ( \"ValKphotos\" ) ( \"fnielsen\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) ( \"Bouletcorp\" ) ( \"avvokes\" ) ( \"WIKI_NLW\" ) ( \"NLWales\" ) ( \"string13\" ) ( \"mfmazuecos\" ) ( \"string14\" ) ( \"string15\" ) ( \"RJBOTANICO\" ) ( \"hamzafassi\" ) ( \"string16\" ) ( \"tech_faq\" ) ( \"string17\" ) ( \"ash_crow\" ) ( \"string18\" ) ( \"Pymouss\" ) ( \"hatonjan\" ) ( \"K_rho\" ) ( \"AfpFactuel\" ) ( \"string19\" ) ( \"string20\" ) ( \"gpciczar\" ) ( \"RTLFrance\" ) ( \"BoingBoing\" ) ( \"string21\" ) ( \"string22\" ) ( \"string23\" ) } }"}}
{"id": "test_5933", "question": "What Wikidata item has the Twitter username \"LeMediaTV\"?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 \"LeMediaTV\" . }", "paraphrases": ["Which organization or entity on Wikidata uses the Twitter handle \"LeMediaTV\"?", "Please find the Wikidata entry for the account \"LeMediaTV\" on X (formerly Twitter)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"LeMediaTV\" ) ( \"string2\" ) } }"}}
{"id": "test_5934", "question": "Image of the person with SNAC ARK ID w6bc4j53.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6bc4j53\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w6bc4j53?", "Show me the Wikimedia Commons image for the entity identified by SNAC ARK ID w6bc4j53."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6bc4j53\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5935", "question": "Wikidata entities with Twitter handles: booba, lafouine78, nekfeu, rohff, SkyrockFM", "sparql": "SELECT ?artist ?twitterHandle WHERE { ?artist wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { \"booba\" \"lafouine78\" \"nekfeu\" \"rohff\" \"SkyrockFM\" } }", "paraphrases": ["Who are the artists or organizations on Wikidata that use the Twitter usernames \"booba\", \"lafouine78\", \"nekfeu\", \"rohff\", and \"SkyrockFM\"?", "List the Wikidata items for the French rappers Booba, La Fouine, Nekfeu, Rohff, and the music platform Skyrock, using their Twitter usernames."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"fredmusa\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"SkyrockFM\" ) ( \"string4\" ) ( \"nekfeu\" ) ( \"OPduFGS\" ) ( \"rohff\" ) ( \"lafouine78\" ) ( \"string5\" ) ( \"CchriisS26\" ) ( \"creat_one\" ) ( \"doc_gyneco\" ) ( \"string6\" ) ( \"string7\" ) ( \"NouniYM\" ) ( \"booba\" ) ( \"piot_f\" ) ( \"string8\" ) ( \"string9\" ) } }"}}
{"id": "test_5936", "question": "Lexical entries that are parts of semantic categories like \"human body\" or \"carbohydrate\".", "sparql": "SELECT ?lexicalEntry ?semanticCategory WHERE { ?lexicalEntry wdt:P361 ?semanticCategory . } LIMIT 10", "paraphrases": ["Which words or lexical entries are considered parts of concepts such as \"high society\" or \"electronic component\"?", "Show me some words from Wikidata\u2019s lexemes that belong to broader semantic domains like \"noon\" or \"dependent clause\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P361> ?var2 . } LIMIT 10"}}
{"id": "test_5937", "question": "What paintings depicting S\u00e8vres were created by artists from the Barbizon school, and what are their images?", "sparql": "SELECT ?painting ?paintingLabel ?artistLabel ?image WHERE { ?painting wdt:P170 ?artist . ?artist wdt:P463 wd:Q143357 . ?painting wdt:P180 wd:Q206493 . ?painting wdt:P18 ?image . ?painting rdfs:label ?paintingLabel . ?artist rdfs:label ?artistLabel . FILTER(LANG(?paintingLabel) = \"en\") FILTER(LANG(?artistLabel) = \"en\") }", "paraphrases": ["Which artist from the Barbizon school painted a scene of S\u00e8vres, and what is the image of that painting?", "Show me images of artworks by Barbizon school members that feature S\u00e8vres as the subject."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P170> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q143357> . ?var1 <http://www.wikidata.org/prop/direct/P180> <http://www.wikidata.org/entity/Q206493> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_5938", "question": "Which entities on Wikidata have the Twitter usernames \"gdufy\", \"lequipe\", \"libe\", or \"riouyoann\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity ?twitterHandle WHERE {\n  ?entity wdt:P2002 ?twitterHandle .\n  VALUES ?twitterHandle {\n    \"gdufy\" \"lequipe\" \"libe\" \"riouyoann\"\n  }\n}", "paraphrases": ["Who are the people or organizations on Wikidata associated with the Twitter handles @gdufy, @lequipe, @libe, and @riouyoann?", "Show me the Wikidata entities for the Twitter accounts gdufy, lequipe, libe, and riouyoann."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"riouyoann\" ) ( \"string1\" ) ( \"libe\" ) ( \"Soltanefcb\" ) ( \"string2\" ) ( \"janeyss87\" ) ( \"OL_Plus\" ) ( \"string3\" ) ( \"string4\" ) ( \"FrenchAFC\" ) ( \"ASCFR\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"gdufy\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) ( \"string13\" ) ( \"string14\" ) ( \"string15\" ) ( \"string16\" ) ( \"windreport\" ) ( \"string17\" ) ( \"string18\" ) ( \"CKuchly\" ) ( \"string19\" ) ( \"lequipe\" ) ( \"string20\" ) ( \"string21\" ) ( \"ch_lemaire\" ) ( \"string22\" ) ( \"string23\" ) ( \"string24\" ) ( \"string25\" ) ( \"GRadulphe\" ) ( \"XelleQui\" ) ( \"string26\" ) } }"}}
{"id": "test_5939", "question": "What film has the Cineplex Germany film ID 343768?", "sparql": "SELECT ?film WHERE { ?film wdt:P3077 \"343768\" . }", "paraphrases": ["Which movie is identified by the Cineplex ID 343768 in Wikidata?", "Can you tell me the title of the film that corresponds to the Cineplex Germany film ID 343768?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3077> \"343768\". }"}}
{"id": "test_5940", "question": "What is the Wikidata item for the movie with IMDb ID tt0243559?", "sparql": "SELECT ?movie WHERE { ?movie wdt:P345 \"tt0243559\" . }", "paraphrases": ["Which movie on Wikidata has the IMDb identifier tt0243559?", "I need to find the Wikidata entity for the film identified by the IMDb ID tt0243559."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0243559\". }"}}
{"id": "test_5941", "question": "List all wines in Wikidata.", "sparql": "SELECT ?wine WHERE { ?wine wdt:P31 wd:Q282 . }", "paraphrases": ["What are all the individual types of wine documented in Wikidata?", "Show me all the entities that are instances of wine (Q282) in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q282> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"el,en\". } }"}}
{"id": "test_5942", "question": "Which Wikidata entities have the Twitter/X usernames \"WikiDonne\" or \"Wikimedia\"?", "sparql": "SELECT ?entity ?username WHERE { ?entity wdt:P2002 ?username . VALUES ?username { \"WikiDonne\" \"Wikimedia\" } }", "paraphrases": ["What are the Wikidata items associated with the Twitter handles \"WikiDonne\" and \"Wikimedia\"?", "Show me the Wikidata entities for the Twitter usernames \"WikiDonne\" and \"Wikimedia\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"e_j_hayes\" ) ( \"Wikimedia\" ) ( \"WikiDonne\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) } }"}}
{"id": "test_5943", "question": "Which entities on Wikidata have the Twitter/X usernames \"thebeatles\", \"UN\", or \"Russia\"?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"thebeatles\" \"UN\" \"Russia\" } }", "paraphrases": ["What are the Wikidata items associated with the Twitter/X accounts @thebeatles, @UN, and @Russia?", "Show me the Wikidata entities that are linked to the Twitter/X usernames \"thebeatles\", \"UN\", and \"Russia\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"KelamWiki\" ) ( \"SourceGoat\" ) } }"}}
{"id": "test_5944", "question": "List of types of sports in Wikidata", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?sportTypeLabel WHERE {\n  ?sportType wdt:P31 wd:Q31629 .\n  ?sportType rdfs:label ?sportTypeLabel .\n  FILTER(LANG(?sportTypeLabel) = \"en\")\n}", "paraphrases": ["What are the different types of sports recognized in Wikidata?", "Show me all the categories of sports that exist in Wikidata, in English."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,gl,ast,eu,cat\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q31629> . }"}}
{"id": "test_5945", "question": "List all Wikidata properties and their English labels.", "sparql": "SELECT DISTINCT ?property ?label WHERE { ?property rdf:type wikibase:Property . ?property rdfs:label ?label . FILTER(LANG(?label) = \"en\") } ORDER BY ?property", "paraphrases": ["What are all the properties in Wikidata and what are their English names?", "Can you provide a list of all Wikidata properties with their English labels?"], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . }"}}
{"id": "test_5946", "question": "Subclasses of each superclass of pleural effusion and their counts", "sparql": "SELECT ?superclass ?superclassLabel (COUNT(?subclass) AS ?subclassCount) WHERE { wd:Q1334541 wdt:P279 ?superclass . ?subclass wdt:P279* ?superclass . ?superclass rdfs:label ?superclassLabel . FILTER(LANG(?superclassLabel) = \"en\") } GROUP BY ?superclass ?superclassLabel", "paraphrases": ["How many medical conditions are subclasses of each parent class of pleural effusion?", "List the parent categories of pleural effusion and how many conditions fall under each."], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { { SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var3 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1334541> . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var1 . } GROUP BY ?var1 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } } UNION { SELECT ?var4 ?var4Label ?var2 ?var3 WHERE { { SELECT ?var4 ( COUNT ( ?var3 ) AS ?var2 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q1334541> . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var4 . } GROUP BY ?var4 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } } }"}}
{"id": "test_5947", "question": "Japanese names in kana (furigana)", "sparql": "SELECT DISTINCT ?item ?kanaName WHERE { ?item wdt:P1814 ?kanaName . } LIMIT 1000", "paraphrases": ["What are the kana readings of Japanese names in Wikidata?", "Show me the Japanese individuals and their names written in kana script."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1814> ?var3 . OPTIONAL { ?var1 ?var4 ?var5 . ?var5 <http://www.wikidata.org/prop/qualifier/P1814> ?var3 . ?var5 ?var6 ?var2 . ?var7 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var7 <http://wikiba.se/ontology#claim> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja\". } } LIMIT 1000"}}
{"id": "test_5948", "question": "Music singles performed by Helloween with their labels and type.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?single ?singleLabel ?typeLabel WHERE {\n  ?single wdt:P175 wd:Q158895 .\n  ?single wdt:P31 wd:Q134556 .\n  ?single rdfs:label ?singleLabel .\n  wd:Q134556 rdfs:label ?typeLabel .\n  FILTER(LANG(?singleLabel) = \"en\")\n  FILTER(LANG(?typeLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["What are the English-labeled music singles performed by the band Helloween, and what is their type?", "List all music singles by Helloween in English, along with their type label."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } ?var1 <http://www.wikidata.org/prop/direct/P175> <http://www.wikidata.org/entity/Q158895> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q134556> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } FILTER ( ( ( ?var2 = <http://www.wikidata.org/entity/Q134556> ) ) ) . } LIMIT 100"}}
{"id": "test_5949", "question": "What is the entity with the Twitter username \"LePoint\"?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username ?itemLabel WHERE {\n  ?item wdt:P2002 \"LePoint\" .\n  ?item rdfs:label ?itemLabel .\n}", "paraphrases": ["Which organization uses \"@LePoint\" on Twitter/X, and what is its name?", "Can you tell me the name of the publication that has the Twitter handle LePoint?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"LePoint\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_5950", "question": "Twitter usernames of entities on Wikidata", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n}\nORDER BY ?username\nLIMIT 10", "paraphrases": ["Which entities on Wikidata have Twitter accounts, and what are their usernames?", "List the Twitter usernames of entities in Wikidata, sorted alphabetically."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"Lirectrad\" ) ( \"string2\" ) ( \"guardian\" ) ( \"string3\" ) ( \"iLangle\" ) ( \"tcatf_\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"thejba\" ) ( \"leplanning\" ) ( \"D_FOSSE\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"ActuSF\" ) ( \"string11\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_5951", "question": "Which Twitter/X usernames from the list \"LibeMonde\", \"string1\", \"libe\", \"string2\", \"string3\" are used on Wikidata, and how many Wikipedia sitelinks do those entities have?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?username(COUNT(?site) AS ?sitelinkCount) WHERE {\n  ?item wdt:P2002 ?username .\n  ?site schema:about ?item ; schema:isPartOf ?wiki .\n  VALUES ?username {\n    \"LibeMonde\" \"string1\" \"libe\" \"string2\" \"string3\"\n  }\n}\nGROUP BY ?item ?username\nORDER BY ASC(?sitelinkCount)", "paraphrases": ["What is the Wikidata item for the Twitter username \"libe\", and how many language versions of Wikipedia link to it?", "Show me the Wikidata items and their sitelink counts for the Twitter usernames \"LibeMonde\", \"libe\", and the placeholder strings \"string1\", \"string2\", \"string3\", sorted by the number of sitelinks."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"LibeMonde\" ) ( \"string1\" ) ( \"libe\" ) ( \"string2\" ) ( \"string3\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_5952", "question": "French labels and descriptions of properties used to classify entities as female organisms.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?propEntity ?propLabel ?propDescription WHERE {\n  ?item ?prop wd:Q43445 .\n  BIND(IRI(REPLACE(STR(?prop) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\")) AS ?propEntity)\n  .\n  ?propEntity rdfs:label ?propLabel .\n  ?propEntity schema:description ?propDescription .\n  FILTER(LANG(?propLabel) = \"fr\")\n  FILTER(LANG(?propDescription) = \"fr\")\n}\nLIMIT 100", "paraphrases": ["Which properties in French describe entities as female organisms, and what are their descriptions?", "Show me the French labels and descriptions of all properties that assign the value \"female organism\" to items in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q43445> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"fr\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"fr\" ) ) ) . } LIMIT 100"}}
{"id": "test_5953", "question": "What are the secondary sex characteristics listed in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P31 wd:Q1784017 .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["Which entity in Wikidata is classified as a secondary sex characteristic?", "Show me the item in Wikidata that is an instance of a secondary sex characteristic."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1784017> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_5954", "question": "What are the direct subclasses of genodermatosis, and how many diseases are classified under each?", "sparql": "SELECT ?subclass ?subclassLabel (COUNT(?disease) AS ?count)\nWHERE {\n  wd:Q666075 wdt:P279 ?subclass .\n  ?disease wdt:P31 ?subclass .\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER(LANG(?subclassLabel) = \"en\")\n}\nGROUP BY ?subclass ?subclassLabel\nORDER BY DESC(?count)", "paraphrases": ["List the types of diseases that are immediate categories of genodermatosis, along with the number of known diseases in each category.", "Which categories directly contain genodermatosis, and how many specific diseases belong to each?"], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { { SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var3 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q666075> . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var1 . } GROUP BY ?var1 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } } UNION { SELECT ?var4 ?var4Label ?var2 ?var3 WHERE { { SELECT ?var4 ( COUNT ( ?var3 ) AS ?var2 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q666075> . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var4 . } GROUP BY ?var4 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } } }"}}
{"id": "test_5955", "question": "Taxonomic groups that are instances or subclasses of taxon, with their number of species and subgroups.", "sparql": "SELECT DISTINCT ?taxon ?taxonLabel ?count WHERE { { SELECT ?taxon (COUNT(?instance) AS ?count) WHERE { ?taxon wdt:P31 wd:Q16521 . ?instance (wdt:P31/wdt:P279*) ?taxon . } GROUP BY ?taxon } UNION { SELECT ?taxon (COUNT(?instance) AS ?count) WHERE { ?taxon wdt:P279 wd:Q16521 . ?instance (wdt:P31/wdt:P279*) ?taxon . } GROUP BY ?taxon } ?taxon rdfs:label ?taxonLabel . FILTER(LANG(?taxonLabel) = \"en\") } LIMIT 10", "paraphrases": ["Which biological taxonomic groups (like genus or family) are either instances of or subclasses of \"taxon\", and how many species or subgroups do they contain?", "List all taxonomic categories that are either directly classified as a taxon or are a subclass of taxon, along with the count of organisms that belong to them or their subcategories."], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { { SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var3 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q18554378> . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var1 . } GROUP BY ?var1 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } } UNION { SELECT ?var4 ?var4Label ?var2 ?var3 WHERE { { SELECT ?var4 ( COUNT ( ?var3 ) AS ?var2 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q18554378> . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var4 . } GROUP BY ?var4 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } } }"}}
{"id": "test_5956", "question": "Subclasses of epilepsy", "sparql": "SELECT ?subclass ?subclassLabel WHERE { ?subclass wdt:P279 wd:Q41571 . ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") } ORDER BY ?subclassLabel", "paraphrases": ["What are the different types of epilepsy classified as subclasses in Wikidata?", "List all known subclasses of epilepsy with their English names."], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { { SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var3 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q41571> . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var1 . } GROUP BY ?var1 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } } UNION { SELECT ?var4 ?var4Label ?var2 ?var3 WHERE { { SELECT ?var4 ( COUNT ( ?var3 ) AS ?var2 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q41571> . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var4 . } GROUP BY ?var4 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } } }"}}
{"id": "test_5957", "question": "What TV series and media items are part of the Super Sentai franchise?", "sparql": "SELECT ?item ?itemLabel ?relationship WHERE { { ?item wdt:P179 wd:Q1054760 . BIND(\"series\" AS ?relationship) } UNION { ?item wdt:P361 wd:Q1054760 . BIND(\"part of\" AS ?relationship) } UNION { ?item wdt:P31 wd:Q1054760 . BIND(\"instance of\" AS ?relationship) } ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } ORDER BY ?itemLabel", "paraphrases": ["List all the Super Sentai series and related media, including those incorrectly labeled as instances.", "Which media belong to the Super Sentai franchise, and how are they connected in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q1054760> ) } ?var1 <http://www.wikidata.org/prop/direct/P279> * ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } }"}}
{"id": "test_5958", "question": "Subclasses of musculoskeletal disorders and how many diseases belong to each.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subclass ?subclassLabel(COUNT(?disease) AS ?count) WHERE {\n  ?subclass wdt:P279 * wd:Q4116663 .\n  ?disease wdt:P31 ?subclass .\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER(LANG(?subclassLabel) = \"en\")\n}\nGROUP BY ?subclass ?subclassLabel\nORDER BY DESC(?count)", "paraphrases": ["What are the subclasses of musculoskeletal disorders, and how many diseases are classified under each?", "List all diseases classified under musculoskeletal disorders, grouped by their subclass and sorted by count."], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { { SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var3 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4116663> . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var1 . } GROUP BY ?var1 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } } UNION { SELECT ?var4 ?var4Label ?var2 ?var3 WHERE { { SELECT ?var4 ( COUNT ( ?var3 ) AS ?var2 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q4116663> . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var4 . } GROUP BY ?var4 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } } }"}}
{"id": "test_5959", "question": "Albums and EPs by the band Carcass, including their publication dates and types.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?work ?workLabel ?instanceType ?instanceTypeLabel ?publicationDate WHERE {\n  ?work wdt:P175 wd:Q283835 .\n  ?work wdt:P31 wd:Q482994 .\n  OPTIONAL {\n    ?work wdt:P31 ?instanceType .\n  }\n  OPTIONAL {\n    ?work wdt:P577 ?publicationDate .\n  }\n  OPTIONAL {\n    ?work rdfs:label ?workLabel .\n    FILTER ( LANG( ?workLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?instanceType rdfs:label ?instanceTypeLabel .\n    FILTER ( LANG( ?instanceTypeLabel ) = \"en\" )\n  }\n}\nLIMIT 300", "paraphrases": ["What albums and extended plays have been released by the band Carcass, and when were they published?", "List all musical releases by Carcass that are classified as albums, along with their other possible types (like EPs) and release dates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } ?var1 <http://www.wikidata.org/prop/direct/P175> <http://www.wikidata.org/entity/Q283835> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q482994> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var3 . } } LIMIT 300"}}
{"id": "test_5960", "question": "How many academic articles cite \"Trigocherrierin A, a potent inhibitor of chikungunya virus replication\" by year, and how many of them have authors?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?year ( COUNT( DISTINCT ?citingWork ) AS ?count ) ?hasAuthor WHERE {\n  wd:Q42229444 wdt:P2860 ?citingWork .\n  ?citingWork wdt:P577 ?pubDate .\n  OPTIONAL {\n    ?citingWork wdt:P50 ?author .\n  }\n  BIND( STR( YEAR( xsd:date ( ?pubDate ) ) ) AS ?year ) BIND( IF( BOUND( ?author ) , \"string1\" , \"string2\" ) AS ?hasAuthor )\n}\nGROUP BY ?year ?hasAuthor\nORDER BY DESC ( ?year )", "paraphrases": ["For each year, how many articles cite the 2014 study on Trigocherrierin A, and what proportion of those cited articles list at least one author?", "Show me the count of citing works for each year that reference the article on Trigocherrierin A, distinguishing between those with and without listed authors."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q42229444> AS ?var5 ). ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var5 . OPTIONAL { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> ?var6 . } , \"string1\", \"string2\" ) AS ?var4 ). ?var5 <http://www.wikidata.org/prop/direct/P50> ?var6 . } BIND ( STR ( YEAR ( ?var7 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P577> ?var7 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_5961", "question": "Who are the members of the French National Assembly?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P39 wd:Q3044918 .\n}", "paraphrases": ["List all people who have served as a member of the French National Assembly.", "Which individuals have held the position of deputy in the French National Assembly?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2937> <http://www.wikidata.org/entity/Q3044918> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_5962", "question": "What is the official website of South African Tourism, and is there an English or German Wikipedia article about it?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?wikipediaArticle WHERE {\n  ?item wdt:P856 <https://www.southafrica.net/> .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER ( LANG( ?itemLabel ) = \"en\" || LANG( ?itemLabel ) = \"de\" )\n  }\n  {\n    ?wikipediaArticle schema:about ?item ; schema:isPartOf <https://en.wikipedia.org/> .\n  } UNION {\n    ?wikipediaArticle schema:about ?item ; schema:isPartOf <https://de.wikipedia.org/> .\n  }\n}", "paraphrases": ["Find the entity with the official website southafrica.net and show its label and corresponding Wikipedia page in English or German.", "Which organization has the website https://www.southafrica.net/, and what are its English or German Wikipedia links?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://afrotourism.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.afrotourism.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.afrotourism.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://afrotourism.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://afrotourism.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://afrotourism.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://afrotourism.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://afrotourism.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://afrotourism.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://afrotourism.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://afrotourism.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_5963", "question": "Properties linking Ignacy Dudrewicz to others used more than once", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?propertyLabel ?count WHERE {\n  {\n    SELECT ?property(COUNT(?item) AS ?count) WHERE {\n      ?item ?prop wd:Q11711156 .\n      ?property wikibase:directClaim ?prop .\n    }\n    GROUP BY ?property\n    HAVING(?count > 1)\n  }\n  ?property rdfs:label ?propertyLabel .\n  FILTER(LANG(?propertyLabel) = \"en\")\n}\nORDER BY DESC(?count)", "paraphrases": ["What property connects Ignacy Dudrewicz to more than one other person, and how many times is it used?", "Show me the property that links Ignacy Dudrewicz to multiple people and the number of such links."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var4 ) AS ?var3 ) WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q11711156> . ?var1 <http://wikiba.se/ontology#directClaim> ?var5 . } GROUP BY ?var1 ?var1Label HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } } ORDER BY DESC( ?var3 )"}}
{"id": "test_5964", "question": "Who were the members of the French National Assembly during the 15th legislature of the Fifth French Republic, and what are their Twitter usernames?", "sparql": "SELECT ?member ?memberLabel ?twitter WHERE { ?member wdt:P31 wd:Q5 ; p:P39 [ rdf:type wikibase:BestRank ; ps:P39 wd:Q3044918 ; pq:P2937 wd:Q24939798 ] . OPTIONAL { ?member wdt:P2002 ?twitter . } ?member rdfs:label ?memberLabel . FILTER(LANG(?memberLabel) = \"fr\") } ORDER BY ASC(?memberLabel)", "paraphrases": ["Which French politicians served in the National Assembly between 2017 and 2022, and do they have public X (Twitter) accounts?", "List the French members of parliament from the 15th legislative term of the Fifth Republic, sorted alphabetically by their French names, along with their X (Twitter) handles if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/P39> [ <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#BestRank> ; <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q3044918> ; <http://www.wikidata.org/prop/qualifier/P2937> <http://www.wikidata.org/entity/Q24939798> ] . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_5965", "question": "Which Twitter accounts (sciencespo and Taurillon) are linked to Wikidata items, and how many Wikipedia articles exist about them?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?username(COUNT(?sitelink) AS ?sitelinks) WHERE {\n  ?item wdt:P2002 ?username .\n  ?sitelink schema:about ?item ; schema:isPartOf ?wiki .\n  FILTER(STRSTARTS(STR(?wiki) , \"https://\"))\n  VALUES ?username {\n    \"sciencespo\" \"Taurillon\"\n  }\n}\nGROUP BY ?item ?username\nORDER BY ASC(?sitelinks)", "paraphrases": ["What are the Wikidata items for the Twitter usernames \"sciencespo\" and \"Taurillon\", and how many language versions of Wikipedia have articles about each?", "List the entities on Wikidata with Twitter usernames \"sciencespo\" or \"Taurillon\", sorted by the number of Wikipedia pages about them, from least to most."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"sciencespo\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"IICP\" ) ( \"Taurillon\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_5966", "question": "Humans who play badminton and have a German Wikipedia page", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?var1 ?var1Label WHERE {\n  ?var1 wdt:P31 wd:Q5 .\n  ?var1 wdt:P641 wd:Q7291 .\n  ?var2 schema:about ?var1 ; schema:inLanguage \"de\" .\n  ?var1 rdfs:label ?var1Label .\n  FILTER(LANG(?var1Label) = \"en\")\n}", "paraphrases": ["Who are the badminton players that have a German-language Wikipedia article?", "List the names of badminton players who are featured on the German Wikipedia."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P641> <http://www.wikidata.org/entity/Q7291> . FILTER ( ( EXISTS { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"de\". } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var3 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } } GROUP BY ?var1 ?var1Label"}}
{"id": "test_5967", "question": "Which Wikidata items have Twitter handles \"Senat\" or \"Senat_Direct\", and how many Wikipedia articles exist about them?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterHandle ( COUNT( ?site ) AS ?sitelinkCount ) WHERE {\n  ?item wdt:P2002 ?twitterHandle .\n  ?site schema:about ?item ; schema:isPartOf ?wiki .\n  VALUES ?twitterHandle {\n    \"Senat\" \"Senat_Direct\"\n  }\n}\nGROUP BY ?item ?twitterHandle\nORDER BY ASC ( ?sitelinkCount )", "paraphrases": ["How many Wikipedia language editions feature articles about the French Senate, given its Twitter handles \"Senat\" and \"Senat_Direct\"?", "Show me the Twitter handles \"Senat\" and \"Senat_Direct\" along with the number of Wikipedia articles linked to them in Wikidata, sorted by the smallest number of articles first."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"othpb\" ) ( \"string3\" ) ( \"string4\" ) ( \"j_gourault\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"UC_Senat\" ) ( \"CNAJMJ\" ) ( \"ccifrance\" ) ( \"string8\" ) ( \"medef\" ) ( \"UDI_off\" ) ( \"UdiMonde\" ) ( \"string9\" ) ( \"LamureE\" ) ( \"string10\" ) ( \"string11\" ) ( \"ACanayer\" ) ( \"JMGabouty\" ) ( \"string12\" ) ( \"string13\" ) ( \"string14\" ) ( \"string15\" ) ( \"string16\" ) ( \"yvesjego\" ) ( \"string17\" ) ( \"fzocchetto\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_5968", "question": "Which Wikidata entities have Twitter/X usernames \"CNNum\" or \"GMeurice\", and how many Wikipedia articles are linked to them?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username ( COUNT( ?article ) AS ?sitelinks ) WHERE {\n  ?item wdt:P2002 ?username .\n  ?article schema:about ?item ; schema:isPartOf [ wikibase:wikiGroup \"wikipedia\" ] .\n  VALUES ?username {\n    \"GMeurice\" \"CNNum\"\n  }\n}\nGROUP BY ?item ?username\nORDER BY ASC ( ?sitelinks )", "paraphrases": ["What are the Twitter/X accounts \"CNNum\" and \"GMeurice\" associated with on Wikidata, and how many Wikipedia language editions feature articles about them?", "List the entities on Wikidata with the Twitter handles \"CNNum\" and \"GMeurice\", sorted by the number of Wikipedia articles about them, from least to most."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"d_helfer\" ) ( \"OSM_FR\" ) ( \"string3\" ) ( \"BiblioQC\" ) ( \"Wikipedia\" ) ( \"string4\" ) ( \"string5\" ) ( \"DZone\" ) ( \"string6\" ) ( \"string7\" ) ( \"ameli_actu\" ) ( \"string8\" ) ( \"vivelefeu\" ) ( \"Meteos_\" ) ( \"skaping\" ) ( \"flonot\" ) ( \"Melusine_2\" ) ( \"string9\" ) ( \"regionpaca\" ) ( \"string10\" ) ( \"string11\" ) ( \"LyC_Triqui\" ) ( \"string12\" ) ( \"OpenPACA\" ) ( \"string13\" ) ( \"string14\" ) ( \"string15\" ) ( \"string16\" ) ( \"string17\" ) ( \"SgtTCS\" ) ( \"string18\" ) ( \"KayKween_\" ) ( \"string19\" ) ( \"efoulon1\" ) ( \"paularies7\" ) ( \"gvwilson\" ) ( \"string20\" ) ( \"string21\" ) ( \"LeHuffPost\" ) ( \"string22\" ) ( \"bigblueboo\" ) ( \"gmqlrd\" ) ( \"string23\" ) ( \"a_berut\" ) ( \"mart1oeil\" ) ( \"string24\" ) ( \"aigverte\" ) ( \"marc_rr\" ) ( \"THD_IT\" ) ( \"CNNum\" ) ( \"achabus\" ) ( \"GMeurice\" ) ( \"fnielsen\" ) ( \"K_rho\" ) ( \"Weneldur\" ) ( \"string25\" ) ( \"string26\" ) ( \"PoulpyWP\" ) ( \"larrykim\" ) ( \"string27\" ) ( \"leJDD\" ) ( \"string28\" ) ( \"alphoenix\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_5969", "question": "Which organizations have Twitter accounts \"philomag\", \"MuseeOrsay\", or \"Gallimard\", and how many Wikipedia language editions feature them?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?handle ( COUNT( ?sitelink ) AS ?sitelinkCount ) WHERE {\n  ?item wdt:P2002 ?handle .\n  ?sitelink schema:about ?item ; schema:isPartOf ?wikipedia .\n  FILTER ( STRSTARTS( STR( ?wikipedia ) , \"https://\" ) ) FILTER ( ?handle IN ( \"philomag\" , \"MuseeOrsay\" , \"Gallimard\" ) )\n}\nGROUP BY ?item ?handle\nORDER BY ASC ( ?sitelinkCount )", "paraphrases": ["What are the Twitter handles of the entities \"philomag\", \"MuseeOrsay\", and \"Gallimard\" on Wikidata, and how many Wikipedia articles are linked to each?", "List the Wikidata items with Twitter handles \"philomag\", \"MuseeOrsay\", or \"Gallimard\", sorted by the number of Wikipedia language editions they appear in, from least to most."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"philomag\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"EdeMinuit\" ) ( \"string8\" ) ( \"string9\" ) ( \"MuseeOrsay\" ) ( \"Gallimard\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_5970", "question": "How many inventions are attributed to Claude Shannon?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ( COUNT( ?invention ) AS ?count ) WHERE {\n  ?invention wdt:P61 wd:Q92760 .\n}", "paraphrases": ["How many discoveries or inventions did Claude Shannon make?", "Count the number of items in Wikidata where Claude Shannon is listed as the discoverer or inventor."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P61> <http://www.wikidata.org/entity/Q92760> . }"}}
{"id": "test_5971", "question": "Which Wikidata entities have Twitter usernames including \"Le_Figaro\", \"vpecresse\", or \"ffhandball\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"arnaudpln\" \"repidf\" \"vpecresse\" \"PLequiller\" \"Sdemarquet\" \"GBarbotin\" \"j_mmoreau\" \"Armelle67\" \"apericard\" \"KARLOLIVE\" \"jp_lecoq\" \"ffhandball\" \"fatenhidri\" \"sdeschiens\" \"AgnesEvren\" \"vldsr\" \"pere_anne\" \"SPiganeau\" \"JLBINI\" \"MadeJessey\" \"Le_Figaro\" \"abbeamar\"\n  }\n}\nORDER BY ?username", "paraphrases": ["Who are the people or organizations on Wikidata with the Twitter handles \"AgnesEvren\", \"jp_lecoq\", \"KARLOLIVE\", and \"Le_Figaro\"?", "List all entities in Wikidata that are associated with the Twitter usernames \"Le_Figaro\", \"vpecresse\", \"jp_lecoq\", \"KARLOLIVE\", \"ffhandball\", \"PLequiller\", \"MadeJessey\", and \"AgnesEvren\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"arnaudpln\" ) ( \"repidf\" ) ( \"string1\" ) ( \"vpecresse\" ) ( \"string2\" ) ( \"RepIDF\" ) ( \"PLequiller\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"ADublanche\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"Sdemarquet\" ) ( \"GBarbotin\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) ( \"j_mmoreau\" ) ( \"Armelle67\" ) ( \"apericard\" ) ( \"KARLOLIVE\" ) ( \"string13\" ) ( \"string14\" ) ( \"jp_lecoq\" ) ( \"string15\" ) ( \"ffhandball\" ) ( \"string16\" ) ( \"fatenhidri\" ) ( \"string17\" ) ( \"sdeschiens\" ) ( \"AgnesEvren\" ) ( \"vldsr\" ) ( \"string18\" ) ( \"pere_anne\" ) ( \"string19\" ) ( \"SPiganeau\" ) ( \"string20\" ) ( \"JLBINI\" ) ( \"string21\" ) ( \"mcciuntu\" ) ( \"string22\" ) ( \"string23\" ) ( \"MadeJessey\" ) ( \"string24\" ) ( \"string25\" ) ( \"string26\" ) ( \"string27\" ) ( \"string28\" ) ( \"Le_Figaro\" ) ( \"string29\" ) ( \"abbeamar\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_5972", "question": "What are the top-ranked universities in Switzerland according to Wikidata, and what are their rankings?", "sparql": "SELECT DISTINCT ?university ?universityLabel ?rank WHERE { ?university wdt:P31/wdt:P279* wd:Q3918 . ?university wdt:P17 wd:Q39 . ?university wdt:P1352 ?rank . ?university rdfs:label ?universityLabel . FILTER(LANG(?universityLabel) = \"en\") } ORDER BY DESC(?rank) LIMIT 50", "paraphrases": ["List Swiss universities with their international rankings, ordered from highest to lowest.", "Which universities in Switzerland have been ranked, and what are their positions in global university rankings?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3918> . SERVICE <http://dbpedia.org/sparql> { ?var1 ( <http://purl.org/voc/vrank#hasRank> / <http://purl.org/voc/vrank#rankValue> ) ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q39> . } ORDER BY DESC( ?var2 ) LIMIT 50"}}
{"id": "test_5973", "question": "Which entities have Twitter handles JY_LeDrian, Le_Figaro, or RFI, and how many Wikipedia pages are linked to each?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterHandle ( COUNT( ?page ) AS ?sitelinks ) WHERE {\n  ?item wdt:P2002 ?twitterHandle .\n  VALUES ?twitterHandle {\n    \"JY_LeDrian\" \"Le_Figaro\" \"RFI\"\n  }\n  .\n  ?item ^ schema:about ?page .\n  FILTER ( STRSTARTS( STR( ?page ) , \"https://\" ) )\n}\nGROUP BY ?item ?twitterHandle\nORDER BY ASC ( ?sitelinks )", "paraphrases": ["What are the Twitter accounts for Jean-Yves Le Drian, Le Figaro, and RFI, and how many language versions of Wikipedia link to each?", "List the Twitter handles of Jean-Yves Le Drian, Le Figaro, and Radio France Internationale, sorted by the number of Wikipedia articles about them, from least to most."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"JY_LeDrian\" ) ( \"POTUS\" ) ( \"string2\" ) ( \"string3\" ) ( \"Le_Figaro\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"jclagarde\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) ( \"RFI\" ) ( \"string13\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_5974", "question": "German names of mountains and their class label in German.", "sparql": "SELECT ?itemLabel ?classLabel WHERE {\n  ?item wdt:P31 wd:Q8502 .\n  ?item rdfs:label ?itemLabel FILTER(LANG(?itemLabel) = \"de\") .\n  wd:Q8502 rdfs:label ?classLabel FILTER(LANG(?classLabel) = \"de\") .\n}\nLIMIT 10000", "paraphrases": ["What are the German-language names of mountains, and what is the German term for \"mountain\"?", "Please list the German labels of all mountains in Wikidata along with the German label of the class \"mountain\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q20982366> . ?var3 <http://www.wikidata.org/prop/direct/P31> ?var2 . OPTIONAL { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"de\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } } LIMIT 10000"}}
{"id": "test_5975", "question": "What are some entities on Wikidata that have Instagram usernames, and what are those usernames?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?instagramUsername WHERE {\n  ?item wdt:P2003 ?instagramUsername .\n}\nLIMIT 10", "paraphrases": ["Can you list 10 items from Wikidata along with their Instagram handles?", "Which organizations, places, or people have official Instagram accounts registered in Wikidata?"], "info": {"raw_sparql": "SELECT * WHERE { OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2003> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru,en\". } }"}}
{"id": "test_5976", "question": "List all entities in Wikidata with English labels starting with 'A'.", "sparql": "SELECT ?item ?label WHERE { ?item rdfs:label ?label . FILTER(LANG(?label) = \"en\") FILTER(STRSTARTS(?label, \"A\")) }", "paraphrases": ["What are the English-labeled entities in Wikidata whose names begin with the letter A?", "Show me the English labels of items in Wikidata that start with the letter A."], "info": {"raw_sparql": "SELECT( REGEX ( \"A\", \"[a-z]\" ) AS ?var1 ) WHERE { }"}}
{"id": "test_5977", "question": "Who are the men named Vladimir?", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P735 wd:Q2253934 . ?person wdt:P21 wd:Q6581097 . }", "paraphrases": ["Males with the given name Vladimir", "List all men named Vladimir."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P735> <http://www.wikidata.org/entity/Q2253934> . ?var1 <http://www.wikidata.org/prop/direct/21> <http://www.wikidata.org/entity/6581097> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru,en\". } }"}}
{"id": "test_5978", "question": "Film with AFI Catalog ID 19965", "sparql": "SELECT ?film WHERE { ?film wdt:P3593 \"19965\" . }", "paraphrases": ["What film is identified by the AFI Catalog ID 19965?", "Tell me the name of the film that has the AFI Catalog ID 19965."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3593> \"19965\". }"}}
{"id": "test_5979", "question": "Image of Johnny Mercer with SNAC ARK ID w65140xb", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w65140xb\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w65140xb?", "Show me the Wikimedia Commons image of the person identified by the SNAC ARK ID w65140xb."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w65140xb\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5980", "question": "What are the items with a minimum value, and what are those values?", "sparql": "SELECT ?item ?itemLabel ?minValue ?sourceType WHERE { { BIND(\"mainsnak\" AS ?sourceType) ?item p:P2313/ps:P2313 ?minValue . OPTIONAL { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } } UNION { BIND(\"reference\" AS ?sourceType) ?refStatement pr:P2313 ?minValue . ?ref prov:wasDerivedFrom ?refStatement . ?item ?p ?ref . OPTIONAL { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } } } LIMIT 100", "paraphrases": ["Show me the minimum values for entities like tariffs and municipalities, and indicate if they come from the main statement or a citation.", "Which entities have a defined minimum quantity, and are those values stated directly or sourced from a reference?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ?var2 ?var3 WHERE { { BIND ( \"mainsnak\" AS ?var3 ). ?var1 ( <http://www.wikidata.org/prop/P2313> / <http://www.wikidata.org/prop/statement/P2313> ) ?var2 . } UNION { BIND ( \"reference\" AS ?var3 ). ?var4 <http://www.wikidata.org/prop/reference/P2313> ?var2 . ?var5 <http://www.w3.org/ns/prov#wasDerivedFrom> ?var4 . ?var1 ?var6 ?var5 . } } LIMIT 100 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_5981", "question": "Humans educated at Cazenovia College or institutions related to it by location or subclass.", "sparql": "SELECT DISTINCT ?person WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P69 ?institution . ?institution (wdt:P279|wdt:P131)* wd:Q5055525 . } LIMIT 500", "paraphrases": ["Who are the people educated at Cazenovia College or any institution that is a subclass of or located within Cazenovia College?", "List all alumni of Cazenovia College or any educational institution that is geographically or hierarchically connected to Cazenovia College."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P69> ?var2 . ?var2 ( <http://www.wikidata.org/prop/direct/P279> | <http://www.wikidata.org/prop/direct/P131> )* <http://www.wikidata.org/entity/Q5055525> . } LIMIT 500"}}
{"id": "test_5982", "question": "Spanish names of sports and sports categories", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?var1Label WHERE {\n  ?var1(wdt:P31 | wdt:P279 *) wd:Q349 .\n  ?var1 rdfs:label ?var1Label .\n  FILTER(LANG(?var1Label) = \"es\")\n}", "paraphrases": ["What are the names of sports and their subcategories in Spanish?", "List all sports and types of sports in Spanish."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q349> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en,eu,gl,ca,ast,an,ext\". } FILTER ( ( ( LANG ( ?var1Label ) = \"es\" ) ) ) . }"}}
{"id": "test_5983", "question": "Independent cities in North Rhine-Westphalia", "sparql": "SELECT DISTINCT ?city ?cityLabel WHERE { ?city wdt:P31/wdt:P279* wd:Q22865 ; wdt:P131/wdt:P131* wd:Q1198 . OPTIONAL { ?city rdfs:label ?cityLabel . FILTER(LANG(?cityLabel) = \"en\") } }", "paraphrases": ["Which cities in North Rhine-Westphalia are independent cities of Germany?", "List all the independent cities located in North Rhine-Westphalia, including those classified under its administrative subdivisions."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/P31> <http://www.wikidata.org/entity/Q22865> . ?var1 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q1198> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_5984", "question": "Who are the alumni of the Cornell University College of Architecture, Art, and Planning?", "sparql": "SELECT DISTINCT ?person WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P69 wd:Q5171562 . } LIMIT 500", "paraphrases": ["List all people who studied at Cornell University's College of Architecture, Art, and Planning.", "Which humans attended the Cornell University College of Architecture, Art, and Planning?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P69> ?var2 . ?var2 ( <http://www.wikidata.org/prop/direct/P279> | <http://www.wikidata.org/prop/direct/P131> )* <http://www.wikidata.org/entity/Q5171562> . } LIMIT 500"}}
{"id": "test_5985", "question": "French labels of events and calendar dates on the same date that differ", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?eventLabel ?calendarLabel WHERE {\n  ?event wdt:P585 ?date .\n  ?calendarDate wdt:P31 wd:Q205892 .\n  ?calendarDate wdt:P585 ?date .\n  ?event rdfs:label ?eventLabel .\n  ?calendarDate rdfs:label ?calendarLabel .\n  FILTER ( LANG( ?eventLabel ) = \"fr\" && LANG( ?calendarLabel ) = \"fr\" ) FILTER ( ?eventLabel != ?calendarLabel )\n}\nLIMIT 10", "paraphrases": ["Which events and calendar dates in French have different labels for the same date?", "Show me French labels of events and their corresponding calendar dates that don't match, for the same date."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q205892> . ?var1 <http://www.wikidata.org/prop/direct/P585> ?var2 . ?var3 <http://www.wikidata.org/prop/direct/P2837> ?var4 . FILTER ( ( ( STR ( MONTH ( ?var2 ) ) = STR ( ?var4 ) ) ) ) . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . { BIND ( STRLANG ( CONCAT ( STR ( DAY ( ?var2 ) ) , \" \", ?var5 , \" \", STR ( YEAR ( ?var2 ) ) ) , \"fr\" ) AS ?var6 ). FILTER ( ( ( LANG ( ?var5 ) = \"fr\" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var7 . FILTER ( ( ( LANG ( ?var7 ) = \"fr\" ) ) ) . } FILTER ( ( ( ?var7 != ?var6 ) ) ) . } LIMIT 10"}}
{"id": "test_5986", "question": "List countries with their ISO 3166-1 alpha-2 codes, English names, and Russian names.", "sparql": "SELECT ?countryCode ?labelEn ?labelRu WHERE { ?country wdt:P297 ?countryCode . ?country rdfs:label ?labelEn . FILTER(LANG(?labelEn) = \"en\") . ?country rdfs:label ?labelRu . FILTER(LANG(?labelRu) = \"ru\") . }", "paraphrases": ["What are the English and Russian names of countries along with their two-letter ISO country codes?", "Provide a table showing each country\u2019s ISO code, its name in English, and its name in Russian."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P297> ?var1 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"ru\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl\". } }"}}
{"id": "test_5987", "question": "Show the genus and species under Aplodontiidae with their images.", "sparql": "SELECT ?genus ?genusImage ?genusLabel ?species ?speciesImage ?speciesLabel ?subspecies ?subspeciesImage ?subspeciesLabel WHERE {  ?genus wdt:P171 wd:Q1887673 ;         wdt:P18 ?genusImage .  ?genus rdfs:label ?genusLabel .  FILTER(LANG(?genusLabel) = \"en\")  OPTIONAL {    ?species wdt:P171 ?genus ;             wdt:P18 ?speciesImage .    ?species rdfs:label ?speciesLabel .    FILTER(LANG(?speciesLabel) = \"en\")  }  OPTIONAL {    ?species wdt:P171 ?genus .    ?subspecies wdt:P171 ?species ;                wdt:P18 ?subspeciesImage .    ?subspecies rdfs:label ?subspeciesLabel .    FILTER(LANG(?subspeciesLabel) = \"en\")  } }", "paraphrases": ["What are the genera and species in the Aplodontiidae family, and what images are associated with them?", "List all direct descendants of the Aplodontiidae family, including their children and grandchildren, along with their English names and images from Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label ?var3 ?var4 ?var3Label ?var5 ?var6 ?var5Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P171> <http://www.wikidata.org/entity/Q1887673> ; <http://www.wikidata.org/prop/direct/P18> ?var2 . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P171> ?var1 ; <http://www.wikidata.org/prop/direct/P18> ?var4 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P171> ?var1 . ?var5 <http://www.wikidata.org/prop/direct/P171> ?var3 ; <http://www.wikidata.org/prop/direct/P18> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_5988", "question": "Musical groups signed to Excelsior Recordings", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?group ?groupLabel WHERE {\n  ?group wdt:P31 wd:Q215380 .\n  ?group wdt:P264 wd:Q2661783 .\n  ?group rdfs:label ?groupLabel .\n  FILTER ( LANG( ?groupLabel ) = \"en\" )\n}", "paraphrases": ["Which musical groups are associated with the record label Excelsior Recordings?", "List the English names of all musical groups that are signed to Excelsior Recordings."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q215380> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P264> <http://www.wikidata.org/entity/Q2661783> . }"}}
{"id": "test_5989", "question": "Czech wayside crosses with a monument catalogue number.", "sparql": "SELECT ?waysideCross WHERE { ?waysideCross wdt:P4075 ?catalogueNumber . ?waysideCross wdt:P31 wd:Q2309609 . }", "paraphrases": ["Which wayside crosses in the Czech Republic have been assigned a Czech Monument Catalogue Number?", "List all wayside crosses that are registered in the Czech Monument Catalogue."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4075> [] . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2309609> . }"}}
{"id": "test_5990", "question": "What are the subsidiaries of Elsevier?", "sparql": "SELECT ?imprint ?imprintLabel WHERE { ?imprint wdt:P361 wd:Q746413 . ?imprint rdfs:label ?imprintLabel . FILTER(LANG(?imprintLabel) = \"en\") }", "paraphrases": ["Which publishing companies are part of Elsevier?", "Can you list the imprints owned by Elsevier?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q746413> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_5991", "question": "Swedish National Biography ID holders with family names starting with T to Z in Swedish.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?familyLabel ?firstLetter WHERE {\n  ?person wdt:P3217 ?sblId .\n  ?person wdt:P734 ?familyName .\n  ?familyName rdfs:label ?familyLabel .\n  FILTER(LANG(?familyLabel) = \"sv\")\n  .\n  BIND(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(?familyLabel , \"af \" , \"\") , \"de la \" , \"\") , \"d'\" , \"\") , \"van \" , \"\") , \"von \" , \"\") , \"de \" , \"\") AS ?cleanedName)\n  .\n  BIND(SUBSTR(?cleanedName , 1 , 1) AS ?firstLetter)\n  .\n  FILTER(STR(?firstLetter) > \"S\")\n}\nORDER BY ASC(?firstLetter)", "paraphrases": ["Which people listed in the Dictionary of Swedish National Biography have Swedish family names that start with a letter after S, after removing prefixes like von or de?", "Show me the Swedish family names (after removing common prefixes like von or de) of people with a Swedish National Biography ID, but only those starting with T, U, V, or W."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { BIND ( SUBSTR ( STR ( REPLACE ( REPLACE ( REPLACE ( REPLACE ( REPLACE ( REPLACE ( ?var2 , \"af \", \"\" ) , \"de la \", \"\" ) , \"d'\", \"\" ) , \"van \", \"\" ) , \"von \", \"\" ) , \"de \", \"\" ) ) ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3 ). ?var1 <http://www.wikidata.org/prop/direct/P3217> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P734> ?var5 . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"sv\" ) ) ) . FILTER ( ( ( ?var3 > \"S\" ) ) ) . } ORDER BY ASC( ?var3 )"}}
{"id": "test_5992", "question": "Publications by Uffe Schj\u00f8dt with publication years and English titles.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?year ?title WHERE {\n  ?work wdt:P50 wd:Q46225794 .\n  ?work wdt:P577 ?date .\n  BIND( YEAR( ?date ) AS ?year ) .\n  ?work rdfs:label ?title .\n  FILTER ( LANG( ?title ) = \"en\" )\n}\nORDER BY ?year", "paraphrases": ["What are the English titles and publication years of works authored by Uffe Schj\u00f8dt?", "List all English-language publications by Uffe Schj\u00f8dt, sorted by year."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label WHERE { { SELECT ?var1 ( SAMPLE ( ?var4 ) AS ?var2 ) ?var3Label WHERE { { SELECT( STR ( ?var5 ) AS ?var1 )( \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var4 )( \"_\" AS ?var3Label ) WHERE { BIND ( YEAR ( ?var6 ) AS ?var5 ). ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q577> . ?var7 <http://www.wikidata.org/prop/direct/P585> ?var6 . { SELECT( MIN ( ?var5 ) AS ?var8 )( MAX ( ?var5 ) AS ?var9 ) WHERE { BIND ( YEAR ( ?var10 ) AS ?var5 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q46225794> . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var10 . } } FILTER ( ( ( ?var5 >= ?var8 ) && ( ?var5 <= ?var9 ) ) ) . } } UNION { BIND ( SUBSTR ( ?var12Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"20\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q46225794> . ?var11 <http://www.wikidata.org/prop/direct/P1104> ?var4 . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var6 . ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12Label . FILTER ( ( ( LANG ( ?var12Label ) = \"en\" ) ) ) . } } GROUP BY ?var1 ?var11 ?var3Label ORDER BY ASC( ?var1 ) } }"}}
{"id": "test_5993", "question": "What properties in Spanish describe people who are poets?", "sparql": "SELECT DISTINCT ?prop ?propLabel ?propDescription WHERE { ?item ?directProp wd:Q49757 . ?prop wikibase:directClaim ?directProp . ?prop a wikibase:Property . ?prop rdfs:label ?propLabel . ?prop schema:description ?propDescription . FILTER(LANG(?propLabel) = \"es\") FILTER(LANG(?propDescription) = \"es\") } LIMIT 100", "paraphrases": ["Which properties have Spanish labels and descriptions for entities whose occupation is poet?", "Show me the Spanish labels and descriptions of properties used to indicate that someone is a poet."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q49757> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"es\" ) ) ) . } LIMIT 100"}}
{"id": "test_5994", "question": "Image of Giovanni Battista Cirri with SNAC ARK ID w6cz6q36", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6cz6q36\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the Wikimedia Commons image associated with the SNAC ARK ID w6cz6q36?", "Show me the picture of the person identified by the SNAC ARK ID w6cz6q36."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6cz6q36\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_5995", "question": "Which Wikidata items have Twitter/X usernames like \"CNES\", \"Wikimedia\", or \"Jean_no\", and how many Wikipedia links do they have, sorted by least links first?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?twitterUsername ( COUNT( ?site ) AS ?sitelinkCount ) WHERE {\n  ?item wdt:P2002 ?twitterUsername .\n  VALUES ?twitterUsername {\n    \"Wikimedia\" \"CNES\" \"Everipedia\" \"Jean_no\" \"Pyb75\" \"WikiValley\"\n  }\n  .\n  ?site schema:about ?item .\n  FILTER ( STRSTARTS( STR( ?site ) , \"https://\" ) )\n}\nGROUP BY ?item ?twitterUsername\nORDER BY ASC ( ?sitelinkCount )", "paraphrases": ["What are the Wikidata entities associated with the Twitter usernames \"CNES\", \"Wikimedia\", \"Everipedia\", \"Jean_no\", \"Pyb75\", and \"WikiValley\", and how many sitelinks (e.g., Wikipedia pages) are connected to each, ordered from fewest to most?", "List the Wikidata items that use any of these Twitter handles \u2014 \"CNES\", \"Wikimedia\", \"Everipedia\", \"Jean_no\", \"Pyb75\", or \"WikiValley\" \u2014 along with their sitelink counts, sorted by the number of links in ascending order."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"laBnF\" ) ( \"wikidata\" ) ( \"Pymouss\" ) ( \"string1\" ) ( \"string2\" ) ( \"enenvor\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"Lepsyleon\" ) ( \"Wikimedia\" ) ( \"numerennes\" ) ( \"PoulpyWP\" ) ( \"string9\" ) ( \"Everipedia\" ) ( \"string10\" ) ( \"string11\" ) ( \"Jean_no\" ) ( \"string12\" ) ( \"string13\" ) ( \"Pyb75\" ) ( \"string14\" ) ( \"WikiValley\" ) ( \"CNES\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_5996", "question": "Female psychoanalysts without a German Wikipedia page.", "sparql": "SELECT ?person WHERE { ?person wdt:P21 wd:Q6581072 . ?person wdt:P106 wd:Q3410028 . FILTER ( NOT EXISTS { ?article schema:about ?person . ?article schema:inLanguage \"de\" . } ) } LIMIT 1000", "paraphrases": ["Who are the female psychoanalysts who do not have a Wikipedia article in German?", "List all female psychoanalysts who are not represented by a German-language Wikipedia article."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q3410028> . ?var2 <http://schema.org/about> ?var1 . FILTER ( ( NOT EXISTS { ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> \"de\". } ) ) . } LIMIT 1000"}}
{"id": "test_5997", "question": "What books, films, or other works are written in English?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P407 wd:Q1860 .\n  ?item wdt:P31 / wdt:P279 * wd:Q571 .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["Can you list works in the English language, such as books or articles, along with their titles?", "Which cultural works, like novels or research papers, use English as their language?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/prop/direct/Q146> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,en\". } }"}}
{"id": "test_5998", "question": "Which French institutions have Twitter accounts \"Senat\" or \"_Bercy_\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?handle WHERE {\n  ?item wdt:P2002 ?handle .\n  VALUES ?handle {\n    \"Senat\" \"_Bercy_\"\n  }\n}", "paraphrases": ["What entities on Wikidata are associated with the Twitter usernames \"Senat\" and \"_Bercy_\"?", "Show me the entities that use \"Senat\" or \"_Bercy_\" as their Twitter/X handle."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"Senat\" ) ( \"string2\" ) ( \"string3\" ) ( \"_Bercy_\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"YGuichaoua\" ) ( \"string11\" ) ( \"string12\" ) ( \"UC_Senat\" ) ( \"string13\" ) ( \"string14\" ) ( \"string15\" ) ( \"string16\" ) ( \"string17\" ) ( \"string18\" ) ( \"string19\" ) ( \"string20\" ) ( \"string21\" ) ( \"string22\" ) ( \"string23\" ) ( \"string24\" ) ( \"string25\" ) ( \"string26\" ) ( \"string27\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_5999", "question": "What movie has the EDb ID t0011014?", "sparql": "SELECT ?movie WHERE { ?movie wdt:P3141 \"t0011014\" . }", "paraphrases": ["Which film in Wikidata is identified by the EDb film ID t0011014?", "Find the movie entity in Wikidata that corresponds to the EDb ID t0011014."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3141> \"t0011014\". }"}}
{"id": "test_6000", "question": "What are the Twitter usernames for Mozilla and Firefox on Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterUsername WHERE {\n  ?item wdt:P2002 ?twitterUsername .\n  VALUES ?twitterUsername {\n    \"mozilla\" \"firefox\"\n  }\n}\nORDER BY ?twitterUsername", "paraphrases": ["Which Wikidata items have the Twitter usernames \"mozilla\" or \"firefox\"?", "Can you list the entities on Wikidata that use \"mozilla\" or \"firefox\" as their X (Twitter) handle?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"mozilla_fr\" ) ( \"Firefox\" ) ( \"string1\" ) ( \"Quadrature\" ) ( \"osunick\" ) ( \"Mozilla\" ) ( \"Biblinsa\" ) ( \"string2\" ) ( \"LinClark\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"oss_paris\" ) ( \"OSS_Paris\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6001", "question": "Swedish urban areas with multiple P775 codes", "sparql": "SELECT ?urbanArea ?code1 ?code2 WHERE { ?urbanArea wdt:P775 ?code1 . ?urbanArea wdt:P775 ?code2 . FILTER (?code1 < ?code2) }", "paraphrases": ["Which urban areas in Sweden have been assigned more than one Swedish urban area code (P775), and what are those codes?", "List all Swedish urban areas that have two different Swedish urban area codes (P775), showing the smaller code first, sorted lexicographically."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P775> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P775> ?var3 . FILTER ( ( ( ?var2 < ?var3 ) ) ) . }"}}
{"id": "test_6002", "question": "Which organizations have Twitter accounts \"CNRS\", \"Ifremer_fr\", \"navalgroup\", \"TotalEnergies\", \"USNavy\", or \"WWFEU\"?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"Ifremer_fr\" \"USNavy\" \"navalgroup\" \"CNRS\" \"TotalEnergies\" \"WWFEU\" } }", "paraphrases": ["What are the Wikidata items corresponding to the Twitter usernames CNRS, Ifremer_fr, navalgroup, TotalEnergies, USNavy, and WWFEU?", "List the entities on Wikidata that are linked to the Twitter handles CNRS, Ifremer_fr, navalgroup, TotalEnergies, USNavy, and WWFEU."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"_lemarin\" ) ( \"string1\" ) ( \"Maersk\" ) ( \"TT_LeMarin\" ) ( \"eni\" ) ( \"Shell\" ) ( \"string2\" ) ( \"bjegou\" ) ( \"IUEM_Brest\" ) ( \"LemarLab\" ) ( \"cnrs\" ) ( \"string3\" ) ( \"string4\" ) ( \"OCyachts\" ) ( \"Ifremer_fr\" ) ( \"StTRAVERT\" ) ( \"CNCFrance\" ) ( \"Change\" ) ( \"Cie_ponant\" ) ( \"string5\" ) ( \"EU_MARE\" ) ( \"string6\" ) ( \"EU2017EE\" ) ( \"string7\" ) ( \"string8\" ) ( \"Pew_EU\" ) ( \"string9\" ) ( \"WWFEU\" ) ( \"CEPESCA\" ) ( \"ICES_ASC\" ) ( \"string10\" ) ( \"MSF_Sea\" ) ( \"string11\" ) ( \"string12\" ) ( \"string13\" ) ( \"N_Hulot\" ) ( \"RoyalNavy\" ) ( \"USNavy\" ) ( \"string14\" ) ( \"Total\" ) ( \"Bloom_FR\" ) ( \"string15\" ) ( \"string16\" ) ( \"string17\" ) ( \"TechnipFMC\" ) ( \"navalgroup\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6003", "question": "Which organizations have Twitter handles \"InseeFr\", \"ENGIEgroup\", \"ENSM\", or \"sudouest\" on Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username ?label WHERE {\n  ?item wdt:P2002 ?username .\n  ?item rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) FILTER ( STR( ?username ) IN ( \"InseeFr\" , \"ENGIEgroup\" , \"ENSM\" , \"sudouest\" ) )\n}\nORDER BY ?username", "paraphrases": ["What are the English-labeled entities on Wikidata that use the Twitter usernames InseeFr, ENGIEgroup, ENSM, or sudouest?", "List the entities and their English labels that are associated with the Twitter accounts InseeFr, ENGIEgroup, ENSM, or sudouest."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"SGMer\" ) ( \"string1\" ) ( \"tvbafr\" ) ( \"string2\" ) ( \"sudouest\" ) ( \"InfoBassin\" ) ( \"string3\" ) ( \"string4\" ) ( \"Aqua904\" ) ( \"witfm\" ) ( \"_lemarin\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"LKB_FEPORT\" ) ( \"ENGIEgroup\" ) ( \"WWFFrance\" ) ( \"Cie_ponant\" ) ( \"ENSM\" ) ( \"InseeFr\" ) ( \"string8\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6004", "question": "Which organizations have Twitter accounts named Maersk, McKinsey, GM, UNCTAD, WTO, MSNBC, or MaerskLine, and how many Wikipedia articles are there about each?", "sparql": "SELECT ?item ?twitter (COUNT(?sitelink) AS ?sitelinks) WHERE { ?item wdt:P2002 ?twitter . ?sitelink schema:about ?item ; schema:isPartOf ?wiki . VALUES ?twitter { \"Maersk\" \"mckinsey\" \"McKinsey\" \"GM\" \"unctad\" \"wto\" \"MSNBC\" \"MaerskLine\" } } GROUP BY ?item ?twitter ORDER BY ASC(?sitelinks)", "paraphrases": ["What are the Twitter handles of Maersk, McKinsey, GM, UNCTAD, WTO, MSNBC, and MaerskLine on Wikidata, and how many language versions of their Wikipedia pages exist?", "List the Wikidata items for the Twitter handles Maersk, mckinsey, McKinsey, GM, unctad, wto, MSNBC, and MaerskLine, sorted by the number of Wikipedia articles about them."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"Maersk\" ) ( \"McKinsey\" ) ( \"string1\" ) ( \"string2\" ) ( \"Damco\" ) ( \"MaerskLine\" ) ( \"ToftSoren\" ) ( \"GM\" ) ( \"wto\" ) ( \"ITCnews\" ) ( \"string3\" ) ( \"verogbogbo\" ) ( \"string4\" ) ( \"UNCTAD\" ) ( \"string5\" ) ( \"ICTSD\" ) ( \"WTO\" ) ( \"MSNBC\" ) ( \"string6\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6005", "question": "Who are the Japanese male physicists?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person WHERE {\n  ?person wdt:P31 wd:Q5 ; wdt:P21 wd:Q6581097 ; wdt:P106 wd:Q169470 ; wdt:P27 wd:Q17 .\n}", "paraphrases": ["Can you list all male humans who are citizens of Japan and work as physicists?", "Which individuals are both Japanese citizens and male physicists?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581097> ; <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q169470> ; <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q17> . FILTER ( ( NOT EXISTS { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"ar\" ) ) ) . } ) ) . FILTER ( ( EXISTS { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( REGEX ( ?var2 , \"Japanese \" ) ) ) . } ) ) . }"}}
{"id": "test_6006", "question": "What are the car models and their associated brands in Wikidata, with English labels?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?model ?modelLabel ?brand ?brandLabel WHERE {\n  ?model wdt:P1716 ?brand .\n  ?model rdfs:label ?modelLabel .\n  ?brand rdfs:label ?brandLabel .\n  FILTER(LANG(?modelLabel) = \"en\")\n  FILTER(LANG(?brandLabel) = \"en\")\n}\nLIMIT 10000", "paraphrases": ["List vehicle models and their brands.", "Show me which car models are associated with which brands, using their English names."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1716> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10000"}}
{"id": "test_6007", "question": "List World Heritage Sites in Belgium with their English labels, Wikipedia pages, and images.", "sparql": "SELECT DISTINCT ?heritageSite ?label ?wikipediaPage (SAMPLE(?image) AS ?sampledImage) WHERE { ?heritageSite wdt:P1435 wd:Q9259 . ?heritageSite wdt:P17 wd:Q31 . OPTIONAL { ?heritageSite wdt:P18 ?image . } OPTIONAL { ?wikipediaPage schema:about ?heritageSite . ?wikipediaPage schema:isPartOf <https://en.wikipedia.org/> . } ?heritageSite rdfs:label ?label . FILTER(LANG(?label) = \"en\") } GROUP BY ?heritageSite ?label ?wikipediaPage LIMIT 50", "paraphrases": ["What are the World Heritage Sites located in Belgium, and what are their English names, Wikipedia links, and associated images?", "Show me the English names, Wikipedia articles, and sample images of all UNESCO World Heritage Sites in Belgium."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var3 ) ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1435> <http://www.wikidata.org/entity/Q9259> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q31> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,fr,es,de,ru,it,nl,ja,zh,pl,cs\". } } GROUP BY ?var1 ?var1Label ?var2 ?var4 LIMIT 50"}}
{"id": "test_6008", "question": "Current provincial party secretaries of the Chinese Communist Party with Chinese Wikipedia links and English position titles", "sparql": "SELECT ?person ?wikilink ?positionLabel WHERE { ?person p:P39 ?statement . ?statement ps:P39 ?position . ?statement pq:P580 ?start . FILTER (NOT EXISTS { ?statement pq:P582 ?end }) . ?position wdt:P279 wd:Q30067901 . ?wikipedia schema:about ?person ; schema:inLanguage \"zh\" ; schema:isPartOf <https://zh.wikipedia.org/> ; schema:name ?zhTitle . BIND(CONCAT(\"[[\", ?zhTitle, \"]]\") AS ?wikilink) . ?position rdfs:label ?positionLabel . FILTER(LANG(?positionLabel) = \"en\") }", "paraphrases": ["Who are the current secretaries of provincial-level Chinese Communist Party committees, what are their Chinese Wikipedia page titles, and what are their official English position titles?", "List all current provincial party secretaries in China, along with their Chinese Wikipedia page links and the English names of their positions."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label WHERE { BIND ( CONCAT ( \"[[\", ?var4 , \"]]\" ) AS ?var2 ). ?var1 <http://www.wikidata.org/prop/P39> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P39> ?var3 . ?var5 <http://www.wikidata.org/prop/qualifier/P580> ?var6 . FILTER ( ( NOT EXISTS { ?var5 <http://www.wikidata.org/prop/qualifier/P582> ?var7 . } ) ) . ?var3 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q30067901> . ?var8 <http://schema.org/about> ?var1 ; <http://schema.org/inLanguage> \"zh\"; <http://schema.org/name> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"zh\". } }"}}
{"id": "test_6009", "question": "What are the Spanish titles of all Star Wars films?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?filmLabel WHERE {\n  ?film wdt:P31 wd:Q11424 ; wdt:P179 + ?series .\n  ?series wdt:P361 + wd:Q462 .\n  ?film rdfs:label ?filmLabel .\n  FILTER ( LANGMATCHES( LANG( ?filmLabel ) , \"es\" ) )\n}", "paraphrases": ["List the Spanish-language labels of movies in the Star Wars franchise.", "Which Star Wars movies have Spanish titles in Wikidata?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q462> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"es\" ) ) ) . }"}}
{"id": "test_6010", "question": "Publication channels published by Springer Vienna, ranked by number of works, with their main subjects and Danish scientific levels.", "sparql": "SELECT (COUNT(?work) AS ?workCount) (MAX(?danishLevel) AS ?maxDanishLevel) ?publicationChannel ?publicationChannelLabel (GROUP_CONCAT(?mainSubjectLabel; SEPARATOR=\", \") AS ?mainSubjects) WHERE { ?publicationChannel wdt:P123 wd:Q27960430 . ?work wdt:P1433 ?publicationChannel . OPTIONAL { ?publicationChannel wdt:P1240 ?danishLevel . } OPTIONAL { ?publicationChannel wdt:P921 ?mainSubject . ?mainSubject rdfs:label ?mainSubjectLabel . FILTER(LANG(?mainSubjectLabel) = \"en\") } ?publicationChannel rdfs:label ?publicationChannelLabel . FILTER(LANG(?publicationChannelLabel) = \"en\") } GROUP BY ?publicationChannel ?publicationChannelLabel ORDER BY DESC(?workCount)", "paraphrases": ["Which publication channels are published by Springer Vienna, how many works are in each, what are their main subjects in English, and what are their Danish scientific levels?", "List all publication channels published by Springer Vienna, sorted by the number of works they contain, along with their English labels, main subjects, and Danish scientific levels."], "info": {"raw_sparql": "SELECT( SAMPLE ( ?var1 ) AS ?var2 )( MAX ( ?var3 ) AS ?var4 ) ?var5 ?var5Label ( GROUP_CONCAT ( ?var6 ; SEPARATOR = \", \" ) AS ?var7 ) WHERE { { SELECT ?var5 ( COUNT ( ?var8 ) AS ?var1 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P123> <http://www.wikidata.org/entity/Q27960430> . ?var8 <http://www.wikidata.org/prop/direct/P1433> ?var5 . } GROUP BY ?var5 } OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P921> ?var9 . ?var9 <http://www.w3.org/2000/01/rdf-schema#label> ?var6 . FILTER ( ( ( LANG ( ?var6 ) = \"en\" ) ) ) . } OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P1240> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,fr,jp,de,nl\". } } GROUP BY ?var5 ?var5Label ORDER BY DESC( ?var2 )"}}
{"id": "test_6011", "question": "What is the English label for Pure Land Buddhism?", "sparql": "SELECT DISTINCT ?label WHERE { wd:Q262244 rdfs:label ?label . FILTER (LANGMATCHES(LANG(?label), \"EN\")) }", "paraphrases": ["Can you show me all English-language names for Pure Land Buddhism?", "What are the official names of Pure Land Buddhism in English?"], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { <http://www.wikidata.org/entity/Q262244> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( LANGMATCHES ( LANG ( ?var1Label ) , \"EN\" ) ) ) . } LIMIT 1"}}
{"id": "test_6012", "question": "What are the types of LilyPond?", "sparql": "SELECT ?type ?typeLabel WHERE { wd:Q195946 wdt:P31 ?type . ?type rdfs:label ?typeLabel . FILTER(LANG(?typeLabel) = \"en\") }", "paraphrases": ["What categories is LilyPond classified as an instance of?", "List all the direct instance-of classifications for LilyPond."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { <http://www.wikidata.org/entity/Q195946> <http://www.wikidata.org/prop/P31> ?var1 . ?var1 <http://www.wikidata.org/prop/statement/P31> <http://www.wikidata.org/entity/Q341> . ?var1 <http://www.wikidata.org/prop/statement/P31> <http://www.wikidata.org/entity/Q7397> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6013", "question": "What are the properties and values for key institutions and landmarks in Karlsruhe, such as KIT Archive and the Botanical Garden?", "sparql": "SELECT ?itemLabel ?propItemLabel ?valueLabel WHERE { VALUES ?item { wd:Q9010949 wd:Q1733965 wd:Q2358348 wd:Q1660769 wd:Q1134870 wd:Q1718711 wd:Q28738641 wd:Q1432182 wd:Q1319982 wd:Q15782794 wd:Q1397280 wd:Q19962153 wd:Q19823649 wd:Q1229415 wd:Q18625973 wd:Q1267387 wd:Q1008310 wd:Q1327646 wd:Q21040684 wd:Q1664948 wd:Q1877945 wd:Q445605 wd:Q883348 wd:Q28737478 wd:Q29426438 wd:Q1437757 wd:Q1698463 wd:Q1590614 wd:Q15726482 wd:Q30343035 } VALUES ?property { wdt:P625 wdt:P31 wdt:P17 wdt:P131 wdt:P856 wdt:P18 wdt:P373 wdt:P1435 wdt:P571 wdt:P361 wdt:P227 wdt:P214 wdt:P1813 wdt:P969 wdt:P791 wdt:P463 wdt:P138 wdt:P2427 wdt:P1705 wdt:P527 wdt:P421 wdt:P213 wdt:P154 } ?item ?property ?value . ?propItem wikibase:directClaim ?property . ?item rdfs:label ?itemLabel . ?propItem rdfs:label ?propItemLabel . ?value rdfs:label ?valueLabel . FILTER(LANG(?itemLabel) = \"en\" || LANG(?itemLabel) = \"\") FILTER(LANG(?propItemLabel) = \"en\" || LANG(?propItemLabel) = \"\") FILTER(LANG(?valueLabel) = \"en\" || LANG(?valueLabel) = \"\") }", "paraphrases": ["For each of the 30 Karlsruhe entities like the University of Karlsruhe and Fraunhofer IOSB, which properties like 'instance of' or 'located in' do they have, and what are their values?", "Can you list the labels of properties and their values for major research institutes, buildings, and organizations in Karlsruhe?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3Label WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q9010949> ) ( <http://www.wikidata.org/entity/Q1733965> ) ( <http://www.wikidata.org/entity/Q2358348> ) ( <http://www.wikidata.org/entity/Q1660769> ) ( <http://www.wikidata.org/entity/Q1134870> ) ( <http://www.wikidata.org/entity/Q1718711> ) ( <http://www.wikidata.org/entity/Q28738641> ) ( <http://www.wikidata.org/entity/Q1432182> ) ( <http://www.wikidata.org/entity/Q1319982> ) ( <http://www.wikidata.org/entity/Q15782794> ) ( <http://www.wikidata.org/entity/Q1397280> ) ( <http://www.wikidata.org/entity/Q19962153> ) ( <http://www.wikidata.org/entity/Q19823649> ) ( <http://www.wikidata.org/entity/Q1229415> ) ( <http://www.wikidata.org/entity/Q18625973> ) ( <http://www.wikidata.org/entity/Q1267387> ) ( <http://www.wikidata.org/entity/Q1008310> ) ( <http://www.wikidata.org/entity/Q1327646> ) ( <http://www.wikidata.org/entity/Q21040684> ) ( <http://www.wikidata.org/entity/Q1664948> ) ( <http://www.wikidata.org/entity/Q1877945> ) ( <http://www.wikidata.org/entity/Q445605> ) ( <http://www.wikidata.org/entity/Q883348> ) ( <http://www.wikidata.org/entity/Q28737478> ) ( <http://www.wikidata.org/entity/Q29426438> ) ( <http://www.wikidata.org/entity/Q1437757> ) ( <http://www.wikidata.org/entity/Q1698463> ) ( <http://www.wikidata.org/entity/Q1590614> ) ( <http://www.wikidata.org/entity/Q15726482> ) ( <http://www.wikidata.org/entity/Q30343035> ) } VALUES ( ?var4 ) { ( <http://www.wikidata.org/prop/direct/P625> ) ( <http://www.wikidata.org/prop/direct/P31> ) ( <http://www.wikidata.org/prop/direct/P17> ) ( <http://www.wikidata.org/prop/direct/P131> ) ( <http://www.wikidata.org/prop/direct/P856> ) ( <http://www.wikidata.org/prop/direct/P18> ) ( <http://www.wikidata.org/prop/direct/P373> ) ( <http://www.wikidata.org/prop/direct/P1435> ) ( <http://www.wikidata.org/prop/direct/P571> ) ( <http://www.wikidata.org/prop/direct/P361> ) ( <http://www.wikidata.org/prop/direct/P227> ) ( <http://www.wikidata.org/prop/direct/P214> ) ( <http://www.wikidata.org/prop/direct/P1813> ) ( <http://www.wikidata.org/prop/direct/P969> ) ( <http://www.wikidata.org/prop/direct/P791> ) ( <http://www.wikidata.org/prop/direct/P463> ) ( <http://www.wikidata.org/prop/direct/P138> ) ( <http://www.wikidata.org/prop/direct/P2427> ) ( <http://www.wikidata.org/prop/direct/P1705> ) ( <http://www.wikidata.org/prop/direct/P527> ) ( <http://www.wikidata.org/prop/direct/P421> ) ( <http://www.wikidata.org/prop/direct/P213> ) ( <http://www.wikidata.org/prop/direct/P154> ) } ?var1 ?var4 ?var3 . ?var2 <http://wikiba.se/ontology#directClaim> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_6014", "question": "Albums without tracklists that have a genre and performer", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?albumLabel ?genreLabel ?performerLabel WHERE {\n  ?album wdt:P31 wd:Q482994 .\n  ?album wdt:P136 ?genre .\n  ?album wdt:P175 ?performer .\n  ?album rdfs:label ?albumLabel .\n  ?genre rdfs:label ?genreLabel .\n  ?performer rdfs:label ?performerLabel .\n  FILTER NOT EXISTS {\n    ?album wdt:P658 ?tracklist .\n  }\n  FILTER ( LANG( ?albumLabel ) = \"en\" ) FILTER ( LANG( ?genreLabel ) = \"en\" ) FILTER ( LANG( ?performerLabel ) = \"en\" )\n}\nLIMIT 10", "paraphrases": ["What are some music albums that have a known genre and performer but are missing a tracklist in Wikidata?", "List albums that are classified as music releases with a genre and performer, but do not have any associated tracklist entries."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2Label ?var3Label ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q482994> . ?var1 <http://www.wikidata.org/prop/direct/P136> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P175> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P658> ?var4 . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P658> ?var4 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } LIMIT 10"}}
{"id": "test_6015", "question": "Technologies without Chinese labels but categorized under Chinese-named categories", "sparql": "SELECT ?var1 ?var2Label ?var3Label WHERE { ?var1 wdt:P910 ?var3 . ?var1 wdt:P31 wd:Q11016 . ?var3 rdfs:label ?var3Label . FILTER (LANG(?var3Label) = \"zh\") . FILTER NOT EXISTS { ?var1 rdfs:label ?ignore . FILTER (LANG(?ignore) = \"zh\") } . ?var1 rdfs:label ?var2Label . FILTER (LANG(?var2Label) != \"zh\") } LIMIT 100", "paraphrases": ["Which technologies are classified under Chinese-labeled categories but do not have a Chinese label themselves?", "Show me technologies in the field of technology that have a Chinese main category but no Chinese label, along with their labels in other languages and the Chinese category name."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P910> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11016> . FILTER ( ( EXISTS { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"zh\" ) ) ) . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"zh\" ) ) ) . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"zh\". } } LIMIT 100"}}
{"id": "test_6016", "question": "Who are American actors listed in Wikidata with their labels?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?itemLabel WHERE {\n  ?item schema:description \"American actor\" @en .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["What are the names of people in Wikidata whose description is 'American actor'?", "List the English labels of entities in Wikidata that are described as 'American actor'."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 ?var3Label WHERE { ?var1 <http://schema.org/description> \"string1\"@en . } LIMIT 50000 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_6017", "question": "Russian labels of properties used with humans, their usage counts, and the Russian labels of their values.", "sparql": "SELECT ?property (SAMPLE(?propLabelBound) AS ?propertyLabel) (COUNT(?value) AS ?count) (GROUP_CONCAT(?valueLabel; SEPARATOR=\", \") AS ?valueLabels) WHERE { wd:Q5 ?property ?value . ?value rdfs:label ?valueLabel . FILTER(LANG(?valueLabel) = \"ru\") . ?propertyItem wikibase:directClaim ?property . ?propertyItem rdfs:label ?propLabelBound . FILTER(LANG(?propLabelBound) = \"ru\") . } GROUP BY ?property", "paraphrases": ["What are the Russian labels of properties applied to humans, how often are they used, and what are the Russian labels of their values?", "Show me a summary of all properties used with humans in Wikidata, including their Russian labels, how many times each is used, and the Russian labels of their values."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q5> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"ru\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"ru\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_6018", "question": "What classes and subclasses does the Wikidata property for items about people or organisations belong to, and what are their English Wikipedia pages?", "sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { wd:P488 wdt:P31/wdt:P279* ?var1 . OPTIONAL { ?var2 schema:about ?var1 . ?var2 schema:isPartOf <https://en.wikipedia.org/> . } ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") }", "paraphrases": ["What are the types and their subtypes of the Wikidata property P488, and which of them have English Wikipedia articles?", "List all the classes and their subclasses that the property \"property for items about people or organisations\" is an instance of, along with their corresponding English Wikipedia links."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/P488> ( <http://www.wikidata.org/prop/direct/P31> ?/ <http://www.wikidata.org/prop/direct/P279> *) ?var1 . OPTIONAL { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6019", "question": "List all mountains in Wikidata with their English names.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?mountain ?mountainLabel WHERE {\n  ?mountain wdt:P31 wd:Q8502 .\n  ?mountain rdfs:label ?mountainLabel .\n  FILTER ( LANG( ?mountainLabel ) = \"en\" )\n}", "paraphrases": ["What are the names of all mountains in the world according to Wikidata?", "Show me the English labels of all entities classified as mountains in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/prop/direct/Q929072> . }"}}
{"id": "test_6020", "question": "How many schools are there in Wikidata?", "sparql": "SELECT (COUNT(?school) AS ?count) WHERE { ?school wdt:P31 wd:Q3914 . }", "paraphrases": ["What is the total number of educational institutions classified as schools in Wikidata?", "Can you tell me how many entities in Wikidata are instances of a school?"], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3914> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr, en\". } }"}}
{"id": "test_6021", "question": "How many schools are listed in Wikidata?", "sparql": "SELECT (COUNT(?school) AS ?count) WHERE { ?school wdt:P31 wd:Q3914 . }", "paraphrases": ["What is the total number of educational institutions classified as schools in Wikidata?", "Can you tell me how many items in Wikidata are marked as instances of a school?"], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3914> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr, en\". } }"}}
{"id": "test_6022", "question": "Russian-labeled countries that are origins of creative works or products", "sparql": "SELECT DISTINCT ?country ?label ?description WHERE { ?item wdt:P495 ?country . ?country wdt:P31 wd:Q3624078 . ?country rdfs:label ?label . ?country schema:description ?description . FILTER(LANG(?label) = \"ru\") FILTER(LANG(?description) = \"ru\") } LIMIT 100", "paraphrases": ["Which countries, described in Russian, are the origin of items listed in Wikidata?", "Show me the countries of origin (in Russian) for any creative works or products in Wikidata, along with their Russian labels and descriptions."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P495> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"ru\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"ru\" ) ) ) . } LIMIT 100"}}
{"id": "test_6023", "question": "Ski resorts in Italy with their coordinates and English names", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?skiResort ?coordinates ?skiResortLabel WHERE {\n  ?skiResort wdt:P31 wd:Q130003 .\n  ?skiResort wdt:P17 wd:Q38 .\n  OPTIONAL {\n    ?skiResort wdt:P625 ?coordinates .\n  }\n  ?skiResort rdfs:label ?skiResortLabel .\n  FILTER(LANG(?skiResortLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["What are the ski resorts in Italy, and where are they located geographically?", "List the English names of all ski resorts located in Italy, along with their geographic coordinates if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var3Label ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru,it,en,fr,de\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q130003> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q38> . } LIMIT 100"}}
{"id": "test_6024", "question": "Capital cities and their countries, including dissolution dates of former countries.", "sparql": "SELECT ?capital ?country ?countryLabel ?dissolutionDate WHERE { ?capital wdt:P31 wd:Q5119 . ?capital wdt:P17 ?country . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") . OPTIONAL { ?country wdt:P576 ?dissolutionDate . } } LIMIT 1000", "paraphrases": ["Which cities are capitals of countries, and when did those countries cease to exist?", "List all capital cities along with the names of their countries in English and the dates those countries were dissolved, if applicable."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var3 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,de\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5119> . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P576> ?var3 . } } LIMIT 1000"}}
{"id": "test_6025", "question": "Which countries share a land border with the United States?", "sparql": "SELECT ?borderingCountryLabel WHERE { wd:Q30 wdt:P47 ?borderingCountry . ?borderingCountry rdfs:label ?borderingCountryLabel . FILTER(LANG(?borderingCountryLabel) = \"en\")}", "paraphrases": ["Countries bordering the United States.", "List the English names of all countries that the United States borders."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { <http://www.wikidata.org/entity/Q30> <http://www.wikidata.org/prop/direct/P47> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_6026", "question": "Human settlements in Greenland", "sparql": "SELECT ?settlement ?settlementLabel WHERE { ?settlement wdt:P131* wd:Q223 . ?settlement wdt:P31 ?type . ?type wdt:P279* wd:Q486972 . ?settlement rdfs:label ?settlementLabel . FILTER(LANG(?settlementLabel) = \"en\") }", "paraphrases": ["What are the human settlements located in Greenland?", "List all inhabited places in Greenland, including villages and towns."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 ( <http://www.wikidata.org/prop/P131> / <http://www.wikidata.org/prop/statement/P131> / <http://www.wikidata.org/prop/direct/P131> ) <http://www.wikidata.org/entity/Q223> . ?var1 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/statement/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q486972> . }"}}
{"id": "test_6027", "question": "Wikidata items with labels containing \"ei\"", "sparql": "SELECT ?item ?label WHERE { ?item rdfs:label ?label . FILTER (CONTAINS(LCASE(?label), \"ei\")) } LIMIT 15", "paraphrases": ["Which entities in Wikidata have labels that contain the substring \"ei\"?", "Show me up to 15 entities from Wikidata whose labels include the letters \"ei\", along with their labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( CONTAINS ( ?var2Label , \"ei\"@en ) ) ) . } LIMIT 15"}}
{"id": "test_6028", "question": "Editions and translations of creative works", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?edition ?editionLabel WHERE {\n  ?edition ( wdt:P31 / wdt:P279 * ) wd:Q3331189 .\n  ?edition wdt:P629 ?work .\n  ?work wdt:P31 wd:Q17537576 .\n  ?edition rdfs:label ?editionLabel .\n  FILTER ( LANG( ?editionLabel ) = \"en\" )\n}", "paraphrases": ["What are some editions or translations of creative works?", "List the editions and translations of creative works in English."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3331189> . ?var1 <http://www.wikidata.org/prop/direct/P629> <http://www.wikidata.org/entity/Q17537576> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_6029", "question": "Which Twitter/X accounts from this list (e.g., lemondefr, EliseLucet, lucbronner) have the fewest Wikipedia language editions linked to them?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username ( COUNT( ?sitelink ) AS ?sitelinkCount ) WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"nikkholas\" \"OClairouin\" \"Lyxor\" \"Airbnb\" \"LeaSalame\" \"ndemorand\" \"EliseLucet\" \"lucbronner\" \"Gil_Paris\" \"lauhaim\" \"lemondefr\" \"sleen3\" \"dbeckpolka\" \"lemonde_M\" \"jf_leroy\" \"laurentvds\"\n  }\n  .\n  ?sitelink schema:about ?item ; schema:isPartOf ?site .\n  FILTER ( STRSTARTS( STR( ?site ) , \"http\" ) )\n}\nGROUP BY ?item ?username\nORDER BY ASC ( ?sitelinkCount )", "paraphrases": ["Among the Twitter handles like \"lemondefr\", \"EliseLucet\", and \"lucbronner\", which entities have the smallest number of Wikipedia articles in different languages?", "Show me the Twitter/X usernames from this list along with how many Wikipedia language editions they have, sorted from least to most."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"nikkholas\" ) ( \"OClairouin\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"Lyxor\" ) ( \"Airbnb\" ) ( \"LeaSalame\" ) ( \"ndemorand\" ) ( \"EliseLucet\" ) ( \"lucbronner\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"Gil_Paris\" ) ( \"string7\" ) ( \"lauhaim\" ) ( \"lemondefr\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"sleen3\" ) ( \"string11\" ) ( \"string12\" ) ( \"dbeckpolka\" ) ( \"string13\" ) ( \"lemonde_M\" ) ( \"string14\" ) ( \"jf_leroy\" ) ( \"laurentvds\" ) ( \"string15\" ) ( \"string16\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6030", "question": "What are the names of primary schools in Amsterdam?", "sparql": "SELECT ?school ?schoolLabel WHERE { ?school wdt:P31 wd:Q9842 ; wdt:P131 wd:Q9899 . ?school rdfs:label ?schoolLabel . FILTER(LANG(?schoolLabel) = \"en\") }", "paraphrases": ["List all elementary schools located in Amsterdam.", "Which schools in Amsterdam are classified as primary schools?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <https://adamlink.nl/geo/building/de-wiekslag/22> <https://www.wikidata.org/wiki/Property:P31> <http://www.wikidata.org/entity/Q13691604> ; <https://www.wikidata.org/wiki/Property:P131> <http://www.wikidata.org/entity/Q9899> . }"}}
{"id": "test_6031", "question": "Buildings in Groningen", "sparql": "SELECT ?building ?buildingLabel WHERE { ?building wdt:P31 wd:Q41176 ; wdt:P131 wd:Q749 . ?building rdfs:label ?buildingLabel . FILTER(LANG(?buildingLabel) = \"en\") }", "paraphrases": ["What buildings are located in Groningen, Netherlands?", "List the English-labeled buildings in the city of Groningen."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <https://adamlink.nl/geo/building/huis-van-brienen/197> <https://www.wikidata.org/wiki/Property:P31> <http://www.wikidata.org/entity/Q13691604> ; <https://www.wikidata.org/wiki/Property:P131> <http://www.wikidata.org/entity/Q9899> . }"}}
{"id": "test_6032", "question": "Buildings in Amsterdam", "sparql": "SELECT ?building WHERE { ?building wdt:P31 wd:Q41176 ; wdt:P131 wd:Q9899 . }", "paraphrases": ["What buildings are located in Amsterdam?", "List all buildings in Amsterdam."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <https://adamlink.nl/geo/building/kleine-wittenburgerstraat-92/840> <https://www.wikidata.org/wiki/Property:P31> <http://www.wikidata.org/entity/Q13691604> ; <https://www.wikidata.org/wiki/Property:P131> <http://www.wikidata.org/entity/Q9899> . }"}}
{"id": "test_6033", "question": "What are the buildings located in Amsterdam?", "sparql": "SELECT ?building WHERE { ?building wdt:P31 wd:Q13691604 ; wdt:P131 wd:Q9899 . }", "paraphrases": ["Can you list all the buildings in Amsterdam?", "How many buildings are there in Amsterdam according to Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <https://adamlink.nl/geo/building/lijnbaansgracht-88/798> <https://www.wikidata.org/wiki/Property:P31> <http://www.wikidata.org/entity/Q13691604> ; <https://www.wikidata.org/wiki/Property:P131> <http://www.wikidata.org/entity/Q9899> . }"}}
{"id": "test_6034", "question": "French department with INSEE code 91 and its region in French.", "sparql": "SELECT DISTINCT ?department ?departmentLabel ?inseeCode ?region ?regionLabel WHERE {  VALUES ?adminType { wd:Q6465 wd:Q202216 wd:Q719487 wd:Q3408484 }  ?department p:P31 ?statement .  ?statement ps:P31 ?adminType .  FILTER(NOT EXISTS { ?statement pq:P582 ?endTime })  ?department rdfs:label ?departmentLabel .  FILTER(LANG(?departmentLabel) = \"fr\")  ?department wdt:P2586 ?inseeCode .  FILTER(?inseeCode = \"91\")  ?department wdt:P131 ?region .  ?region p:P31 ?regionStatement .  ?regionStatement ps:P31 wd:Q36784 .  FILTER(NOT EXISTS { ?regionStatement pq:P582 ?regionEndTime })  ?region rdfs:label ?regionLabel .  FILTER(LANG(?regionLabel) = \"fr\") }", "paraphrases": ["What is the French department with INSEE code 91, and which French region is it located in?", "Show me the French name of the department with INSEE code 91 and the French name of the region it belongs to."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2Label ?var3 ?var4 ?var5Label WHERE { ?var1 <http://www.wikidata.org/prop/P31> ?var6 . { ?var6 <http://www.wikidata.org/prop/statement/P31> <http://www.wikidata.org/entity/Q6465> . } UNION { ?var6 <http://www.wikidata.org/prop/statement/P31> <http://www.wikidata.org/entity/Q202216> . } UNION { ?var6 <http://www.wikidata.org/prop/statement/P31> <http://www.wikidata.org/entity/Q719487> . } UNION { ?var6 <http://www.wikidata.org/prop/statement/P31> <http://www.wikidata.org/entity/Q3408484> . } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"fr\" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P2586> ?var3 . FILTER ( ( NOT EXISTS { ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var7 . } ) ) . ?var4 <http://www.wikidata.org/prop/P31> ?var8 . ?var8 <http://www.wikidata.org/prop/statement/P31> <http://www.wikidata.org/entity/Q36784> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"fr\" ) ) ) . FILTER ( ( NOT EXISTS { ?var8 <http://www.wikidata.org/prop/qualifier/P582> ?var7 . } ) ) . FILTER ( ( ?var3 IN ( \"91\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var9 . ?var9 <http://www.w3.org/2000/01/rdf-schema#label> ?var10Label . FILTER ( ( ( LANG ( ?var10Label ) = \"fr\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_6035", "question": "Minangkabau houses and their locations", "sparql": "SELECT ?building ?buildingLabel ?location ?locationLabel WHERE { ?building wdt:P31 wd:Q13691604 ; wdt:P131 ?location . ?building rdfs:label ?buildingLabel . ?location rdfs:label ?locationLabel . FILTER(LANG(?buildingLabel) = \"en\") FILTER(LANG(?locationLabel) = \"en\") }", "paraphrases": ["Where are the known Minangkabau houses located?", "List all Minangkabau houses along with the cities they are in."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <https://adamlink.nl/geo/building/minangkabause-huis/870> <https://www.wikidata.org/wiki/Property:P31> <http://www.wikidata.org/entity/Q13691604> ; <https://www.wikidata.org/wiki/Property:P131> <http://www.wikidata.org/entity/Q9899> . }"}}
{"id": "test_6036", "question": "Chinese labels of all music genres on Wikidata.", "sparql": "SELECT ?genre ?label WHERE { ?genre wdt:P31 wd:Q188451 . ?genre rdfs:label ?label . FILTER (LANG(?label) = \"zh\") }", "paraphrases": ["What are the Chinese names of music genres listed in Wikidata?", "Show me the Chinese-language labels for all items classified as music genres in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q188451> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"zh\" ) ) ) . }"}}
{"id": "test_6037", "question": "Image of James Morrison Harris with SNAC ARK ID w6s76wvm", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6s76wvm\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the Wikimedia Commons image of James Morrison Harris, who has the SNAC ARK ID w6s76wvm?", "Show me the picture of the person identified by the SNAC ARK ID w6s76wvm."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6s76wvm\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6038", "question": "List of English labels for Gene Ontology terms.", "sparql": "SELECT ?term ?label WHERE { ?term wdt:P686 [] . ?term rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["What are the English names of biological processes, functions, and components in the Gene Ontology?", "Show me the human-readable English names of all items in Wikidata that have a Gene Ontology ID."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P686> ?var3 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . }"}}
{"id": "test_6039", "question": "Unclassified items in Japan", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item WHERE {\n  ?item wdt:P17 wd:Q17 .\n  FILTER(NOT EXISTS {\n    ?item wdt:P31 ?class\n  })\n  FILTER(NOT EXISTS {\n    ?item wdt:P279 ?subclass\n  })\n}", "paraphrases": ["What items in Japan have no defined type or subclass in Wikidata?", "List all entities in Japan that are not categorized as instances or subclasses of any class."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q17> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var3 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6040", "question": "Materials used in the Mona Lisa", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?material ?materialLabel WHERE {\n  wd:Q12418 wdt:P186 ?material .\n  ?material rdfs:label ?materialLabel .\n  FILTER ( LANG( ?materialLabel ) = \"en\" )\n}", "paraphrases": ["What is the Mona Lisa made of?", "List the materials used to create the painting known as the Mona Lisa, in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q12418> <http://www.wikidata.org/prop/P186> ?var1 . ?var1 <http://www.wikidata.org/prop/statement/P186> <http://www.wikidata.org/entity/Q296966> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6041", "question": "What films were directed by the same directors who directed movies starring Arnold Schwarzenegger?", "sparql": "SELECT DISTINCT ?film ?filmLabel WHERE { ?schwarzeneggerFilm wdt:P161 wd:Q2685 ; wdt:P57 ?director . ?film wdt:P57 ?director . ?film wdt:P1476 ?filmLabel . FILTER(LANG(?filmLabel) = \"en\") } LIMIT 10", "paraphrases": ["Show me all movies directed by anyone who has directed a film with Arnold Schwarzenegger.", "Which films share a director with any movie featuring Arnold Schwarzenegger?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P161> <http://www.wikidata.org/entity/Q2685> . ?var2 <http://www.wikidata.org/prop/direct/P57> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P57> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_6042", "question": "People born in 2019", "sparql": "SELECT DISTINCT ?person WHERE { ?person wdt:P569 ?birthDate . FILTER ( ?birthDate >= \"2019-01-01T00:00:00Z\"^^xsd:dateTime && ?birthDate <= \"2019-12-31T23:59:59Z\"^^xsd:dateTime ) }", "paraphrases": ["Who were born in the year 2019?", "List all individuals whose date of birth falls within the calendar year 2019."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . FILTER ( ( ( ?var2 >= \"2019-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"2019-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_6043", "question": "What items are categorized under \"house\" on Wikimedia, and what qualifiers are attached to those categorizations?", "sparql": "SELECT ?item ?statement (SAMPLE(?qualifier) AS ?qualifierProperty) WHERE { ?item p:P301 ?statement . ?statement ps:P301 wd:Q3947 . OPTIONAL { ?statement ?qualifier ?value . ?qualifier wikibase:qualifier true . } } GROUP BY ?item ?statement LIMIT 10", "paraphrases": ["Which Wikimedia category pages have \"house\" as their main topic, and do those statements have any qualifiers?", "List the items linked to the \"house\" category via P301 and show any qualifier properties used on those links."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P301> <http://www.wikidata.org/entity/Q3947> . ?var1 <http://www.wikidata.org/prop/P301> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_6044", "question": "List buildings and landmarks in Saint-\u00c9tienne with their coordinates, French Wikipedia pages, and images.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?image ?coordinates ?wikipediaPage WHERE {\n  ?item wdt:P131 wd:Q42716 .\n  ?item wdt:P625 ?coordinates .\n  ?wikipediaPage schema:about ?item ; schema:isPartOf <https://fr.wikipedia.org/> .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["What are the places in Saint-\u00c9tienne, their geographic coordinates, French Wikipedia links, and associated images?", "Show me all notable locations in Saint-\u00c9tienne, including their English names, GPS coordinates, links to their French Wikipedia articles, and any available images from Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q42716> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . ?var5 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://fr.wikipedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,fr\". } }"}}
{"id": "test_6045", "question": "Female Swedish historical figures with SBL ID but no SELIBR ID, including their birth and death dates and SBL URL.", "sparql": "SELECT ?person ?personLabel ?birthDate ?deathDate ?sblUrl WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P21 wd:Q6581072 . ?person wdt:P3217 ?sblId . MINUS { ?person wdt:P906 ?selibrId . } ?person (p:P569/psv:P569) ?birthStatement . ?birthStatement wikibase:timeValue ?birthDate . OPTIONAL { ?person (p:P570/psv:P570) ?deathStatement . ?deathStatement wikibase:timeValue ?deathDate . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\" || LANG(?personLabel) = \"\") BIND( IRI( CONCAT( \"https://sbl.sverige.se/sbl/artikel/\", ?sblId ) ) AS ?sblUrl ) } ORDER BY ?personLabel", "paraphrases": ["Who are the female Swedish individuals listed in the Dictionary of Swedish National Biography who do not have a SELIBR ID, and what are their birth and death dates along with links to their SBL entries?", "Please list all female Swedish people from the Dictionary of Swedish National Biography (SBL) who are not in the LIBRIS catalog, along with their birth and death dates and direct links to their SBL biographies."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var7 . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P3217> ?var8 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P906> ?var6 . } BIND ( IRI ( CONCAT ( \"string1\", ?var8 ) ) AS ?var4 ). ?var1 ( <http://www.wikidata.org/prop/P569> / <http://www.wikidata.org/prop/statement/value/P569> ) ?var9 . ?var9 <http://wikiba.se/ontology#timeValue> ?var2 . ?var9 <http://wikiba.se/ontology#timePrecision> ?var10 . OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P570> / <http://www.wikidata.org/prop/statement/value/P570> ) ?var11 . ?var11 <http://wikiba.se/ontology#timeValue> ?var3 . ?var11 <http://wikiba.se/ontology#timePrecision> ?var12 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv\", \"en\". } } ORDER BY DESC( ?var13 )"}}
{"id": "test_6046", "question": "What is the Spanish name of the political party that John Cranley belongs to?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?party ?partyLabel WHERE {\n  wd:Q6227508 wdt:P102 ?party .\n  ?party rdfs:label ?partyLabel .\n  FILTER ( LANG( ?partyLabel ) = \"es\" )\n}", "paraphrases": ["Spanish label of John Cranley\u2019s political party", "Can you tell me the Spanish name of the political party John Cranley is a member of?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q6227508> <http://www.wikidata.org/prop/direct/P102> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"es\" ) ) ) . } LIMIT 50"}}
{"id": "test_6047", "question": "Which media outlets on Wikidata have Twitter/X accounts including FRANCE24, TechCrunch, AFP, Culturebox, Variety, and mashable, sorted by how many Wikipedia editions they appear in?", "sparql": "SELECT ?item ?twitterHandle WHERE { ?item wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { \"FRANCE24\" \"TechCrunch\" \"AFP\" \"Culturebox\" \"Variety\" \"mashable\" } } ORDER BY ASC(wikibase:sitelinks)", "paraphrases": ["What are the Twitter handles of major news organizations like AFP, TechCrunch, and France24 on Wikidata, listed in order of their Wikipedia presence?", "List the Wikidata entities for the Twitter accounts @AFP, @TechCrunch, @Culturebox, @Variety, @FRANCE24, and @mashable, ordered by the number of language Wikipedias they are linked to."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"LouiseWSB\" ) ( \"MashableFR\" ) ( \"France24\" ) ( \"Pure_Break\" ) ( \"Culturebox\" ) ( \"string1\" ) ( \"string2\" ) ( \"kanthos\" ) ( \"variety\" ) ( \"laystary\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"Variety\" ) ( \"TechCrunch\" ) ( \"string8\" ) ( \"TechF24\" ) ( \"string9\" ) ( \"marin_eben\" ) ( \"string10\" ) ( \"AFP\" ) ( \"W_Chloe\" ) ( \"C_Hosebian\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6048", "question": "Which Wikidata items have the Twitter handles \"reussir\", \"FNSEA\", or \"StTRAVERT\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?handle WHERE {\n  ?item wdt:P2002 ?handle .\n  VALUES ?handle {\n    \"reussir\" \"FNSEA\" \"StTRAVERT\"\n  }\n}", "paraphrases": ["Show me the entities on Wikidata that are associated with the Twitter accounts @reussir, @FNSEA, and @StTRAVERT.", "What are the Wikidata entries for organizations or people using the Twitter usernames FNSEA, reussir, and StTRAVERT?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"reussir\" ) ( \"agrapresse\" ) ( \"string2\" ) ( \"string3\" ) ( \"AAPicarde\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"la_feef\" ) ( \"am_oliv\" ) ( \"string8\" ) ( \"string9\" ) ( \"FNSEA\" ) ( \"Fnicgv\" ) ( \"string10\" ) ( \"string11\" ) ( \"VinMotin\" ) ( \"string12\" ) ( \"string13\" ) ( \"VirginiePA\" ) ( \"StTRAVERT\" ) ( \"string14\" ) ( \"VSBlettre\" ) ( \"string15\" ) ( \"Agreenium\" ) ( \"lesmarches\" ) ( \"ReussirFL\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6049", "question": "Which French government and media entities have Twitter accounts, sorted by their Wikipedia page count?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?twitterHandle(COUNT(?sitelink) AS ?sitelinksCount) WHERE {\n  ?item wdt:P2002 ?twitterHandle .\n  ?sitelink schema:about ?item ; schema:isPartOf ?wiki .\n  VALUES ?twitterHandle {\n    \"ANSSI_FR\" \"_Bercy_\" \"Elysee\" \"Matignon\" \"France2tv\" \"mounir\" \"ebothorel\"\n  }\n}\nGROUP BY ?item ?twitterHandle\nORDER BY ASC(?sitelinksCount)", "paraphrases": ["What are the Twitter handles of French official institutions like ANSSI, the \u00c9lys\u00e9e, and the Prime Minister\u2019s office, and how many Wikipedia articles are linked to each?", "List the Twitter usernames of French public figures and institutions (like Elysee, Matignon, ANSSI_FR) along with the number of Wikipedia sitelinks they have, ordered from least to most popular."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"ANSSI_FR\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"Matignon\" ) ( \"Elysee\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"LaCABAT\" ) ( \"string12\" ) ( \"ebothorel\" ) ( \"bgpilliet\" ) ( \"RemyNollet\" ) ( \"string13\" ) ( \"GardeNatFR\" ) ( \"string14\" ) ( \"string15\" ) ( \"string16\" ) ( \"mounir\" ) ( \"string17\" ) ( \"_Bercy_\" ) ( \"string18\" ) ( \"France2tv\" ) ( \"string19\" ) ( \"string20\" ) ( \"string21\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6050", "question": "What are the English names of urban municipalities in Germany, along with their properties and values?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?municipalityLabel ?propertyLabel ?valueLabel WHERE {\n  ?municipality wdt:P31 wd:Q42744322 .\n  ?municipality ?property ?value .\n  ?municipality rdfs:label ?municipalityLabel .\n  FILTER(LANG(?municipalityLabel) = \"en\")\n  .\n  BIND(IRI(REPLACE(STR(?property) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\")) AS ?propertyItem)\n  .\n  ?propertyItem rdfs:label ?propertyLabel .\n  FILTER(LANG(?propertyLabel) = \"en\")\n  .\n  OPTIONAL {\n    ?value rdfs:label ?valueLabel .\n    FILTER(LANG(?valueLabel) = \"en\")\n  }\n}\nLIMIT 500", "paraphrases": ["Show me the English labels of German urban municipalities, the properties describing them (like population or location), and the English labels of any related entities (like neighboring towns).", "List all urban municipalities in Germany with their English names and the English descriptions of their attributes, such as area, population, or neighboring cities."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2Label ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q550808> . ?var1 ?var2 ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,de\". } FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . } LIMIT 500"}}
{"id": "test_6051", "question": "People educated at Hebrew Union College \u2013 Jewish Institute of Religion \u2013 Cincinnati or its subclasses or administrative descendants.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P69 ?institution .\n  ?institution ( wdt:P279 | wdt:P131 ) * wd:Q1526305 .\n}", "paraphrases": ["Who are the people who studied at institutions related to Hebrew Union College \u2013 Jewish Institute of Religion \u2013 Cincinnati?", "List all humans who attended an educational institution that is either a subclass of or located within the administrative area of Hebrew Union College \u2013 Jewish Institute of Religion \u2013 Cincinnati."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P69> ?var2 . ?var2 ( <http://www.wikidata.org/prop/direct/P279> | <http://www.wikidata.org/prop/direct/P131> )* <http://www.wikidata.org/entity/Q1526305> . } LIMIT 500"}}
{"id": "test_6052", "question": "Which Wikidata entities have Twitter handles like airfrance, AS_Monaco, or OL?", "sparql": "SELECT ?item ?handle WHERE { VALUES ?handle { \"airfrance\" \"AngersSCO\" \"AS_Monaco\" \"Bakambu17\" \"canalplus\" \"le_gorafi\" \"OL\" \"SMCaen\" \"VAFC\" } ?item wdt:P2002 ?handle . }", "paraphrases": ["What are the Wikidata items associated with the Twitter usernames \"airfrance\", \"AS_Monaco\", \"OL\", \"canalplus\", \"le_gorafi\", \"SMCaen\", \"VAFC\", \"AngersSCO\", and \"Bakambu17\"?", "List the entities on Wikidata that are linked to these Twitter accounts: airfrance, AS_Monaco, OL, canalplus, le_gorafi, SMCaen, VAFC, AngersSCO, and Bakambu17."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"DomArmand\" ) ( \"1DavidWall\" ) ( \"airfrance\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"Bakambu17\" ) ( \"canalplus\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"BeyeHabib\" ) ( \"string9\" ) ( \"string10\" ) ( \"OL\" ) ( \"string11\" ) ( \"string12\" ) ( \"19H30SPORT\" ) ( \"string13\" ) ( \"string14\" ) ( \"string15\" ) ( \"string16\" ) ( \"string17\" ) ( \"string18\" ) ( \"le_gorafi\" ) ( \"string19\" ) ( \"string20\" ) ( \"UEFAcom_fr\" ) ( \"string21\" ) ( \"string22\" ) ( \"jplusun\" ) ( \"AngersSCO\" ) ( \"VAFC\" ) ( \"SMCaen\" ) ( \"AS_Monaco\" ) ( \"string23\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6053", "question": "Athens in English, German, French, and Italian with its description, image, coordinates, and Wikipedia link.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?description ?image ?coordinates ?wikipediaArticle WHERE {\n  wd:Q1524 rdfs:label ?label .\n  FILTER ( LANG( ?label ) IN ( \"en\" , \"de\" , \"fr\" , \"it\" ) ) OPTIONAL {\n    wd:Q1524 schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n  OPTIONAL {\n    wd:Q1524 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q1524 wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    ?wikipediaArticle schema:about wd:Q1524 ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n  VALUES ( ?lang ?order ) {\n    ( \"en\" 1 ) ( \"de\" 2 ) ( \"fr\" 3 ) ( \"it\" 4 )\n  }\n  FILTER ( LANG( ?label ) = ?lang )\n}\nORDER BY ?order", "paraphrases": ["What are the names of Athens in different languages (English, German, French, Italian), along with its description, image, coordinates, and English Wikipedia page?", "Show me the labels of Athens in English, German, French, and Italian, along with its English abstract, image on Commons, geographic coordinates, and the corresponding English Wikipedia article, ordered by language priority."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q1524> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var7 ) ) ) . VALUES ( ?var7 ?var8 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q1524> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q1524> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q1524> <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q1524> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var8 )"}}
{"id": "test_6054", "question": "What are the names, countries, coordinates, and elevations of mountains around the world?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?mountain ?mountainLabel ?country ?countryLabel ?coordinates ?elevation WHERE {\n  ?mountain wdt:P31 wd:Q8502 .\n  OPTIONAL {\n    ?mountain wdt:P17 ?country .\n  }\n  ?mountain wdt:P625 ?coordinates .\n  ?mountain wdt:P2044 ?elevation .\n  ?mountain rdfs:label ?mountainLabel .\n  FILTER(LANG(?mountainLabel) = 'en')\n  OPTIONAL {\n    ?country rdfs:label ?countryLabel .\n    FILTER(LANG(?countryLabel) = 'en')\n  }\n}\nLIMIT 100", "paraphrases": ["Can you list mountains with their English names, the countries they are in, their geographic coordinates, and how high they are above sea level?", "Show me a list of mountains including their labels, associated countries (in English), coordinates, and elevation data."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q21002266> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . } ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P2044> ?var4 . } LIMIT 100"}}
{"id": "test_6055", "question": "Chinese-labeled properties related to country (P17) in Wikidata", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?property ?propertyLabel ?propertyDescription WHERE {\n  ?property wdt:P1659 wd:P17 .\n  ?property rdf:type wikibase:Property .\n  ?property rdfs:label ?propertyLabel .\n  ?property schema:description ?propertyDescription .\n  FILTER(LANG(?propertyLabel) = \"zh\")\n  FILTER(LANG(?propertyDescription) = \"zh\")\n}", "paraphrases": ["What properties in Wikidata are related to the country property (P17) and have Chinese labels and descriptions?", "Show me the Chinese names and descriptions of properties in Wikidata that are semantically related to country (P17)."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P17> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"zh\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"zh\" ) ) ) . }"}}
{"id": "test_6056", "question": "Which Wikidata items have Twitter usernames elonmusk, BarackObama, nasa, or wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"elonmusk\" \"BarackObama\" \"nasa\" \"wikidata\"\n  }\n}", "paraphrases": ["Who are the entities on Wikidata with the Twitter handles @elonmusk, @BarackObama, @nasa, or @wikidata?", "List the Wikidata entities linked to the Twitter accounts elonmusk, BarackObama, nasa, and wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"miamsete\" ) ( \"string1\" ) ( \"string2\" ) ( \"Friche_BDM\" ) ( \"string3\" ) ( \"string4\" ) ( \"Culture_ML\" ) ( \"AFT_TL\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"JL_Cougy\" ) ( \"JEP\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6057", "question": "Items with IMDb IDs starting with \"nm\" or \"tt\"", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?imdbId WHERE {\n  ?item wdt:P345 ?imdbId .\n  FILTER(STRSTARTS(?imdbId , \"nm\") || STRSTARTS(?imdbId , \"tt\"))\n}", "paraphrases": ["Which entities on Wikidata have IMDb identifiers that begin with \"nm\" or \"tt\"?", "Show me the Wikidata items and their IMDb IDs for people (nm prefix) and titles (tt prefix)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> ?var2 . FILTER ( ( REGEX ( STR ( ?var2 ) , \"nm|tt\" ) ) ) . }"}}
{"id": "test_6058", "question": "What are all the known facts and identifiers about Enrico Fermi, given his Freebase ID `/m/02sdx`?", "sparql": "SELECT ?entity ?entityLabel ?property ?value ?valueLabel WHERE { ?entity wdt:P646 \"/m/02sdx\" . ?entity ?property ?value . OPTIONAL { ?entity rdfs:label ?entityLabel . FILTER(LANG(?entityLabel) = \"en\") } OPTIONAL { ?value rdfs:label ?valueLabel . FILTER(LANG(?valueLabel) = \"en\") } }", "paraphrases": ["Can you show me all the properties and values associated with Enrico Fermi, including his external identifiers and biographical data?", "Which external IDs and descriptions are linked to Enrico Fermi in Wikidata, using his Freebase identifier?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label WHERE { ?var1 ?var2 ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P646> \"/m/02sdx\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6059", "question": "What is the name and description of the person with IMIS ID 20064?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P3191 \"20064\" . ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Can you tell me the English label and description of the marine scientist identified by IMIS ID 20064?", "Who is the individual in Wikidata assigned the IMIS person ID 20064, and what is their English description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3191> \"28417\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6060", "question": "Which entities on Wikidata have the Twitter handles \"fipradio\", \"BleuElsass\", or \"alsace20\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterHandle WHERE {\n  ?item wdt:P2002 ?twitterHandle .\n  VALUES ?twitterHandle {\n    \"fipradio\" \"BleuElsass\" \"alsace20\"\n  }\n}", "paraphrases": ["What are the Wikidata items associated with the Twitter usernames fipradio, BleuElsass, and alsace20?", "Show me the Wikidata entities that use \"fipradio\", \"BleuElsass\", or \"alsace20\" as their Twitter/X username."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"olcalsace\" ) ( \"BleuElsass\" ) ( \"string1\" ) ( \"alsace20\" ) ( \"string2\" ) ( \"CLandomiel\" ) ( \"BertinCyr\" ) ( \"string3\" ) ( \"languesFR\" ) ( \"string4\" ) ( \"Strasbourg\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"Paris\" ) ( \"string8\" ) ( \"string9\" ) ( \"fipradio\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6061", "question": "Which Wikidata entities have Twitter usernames \"FCMetz\" or \"RCSA\"?", "sparql": "SELECT ?entity ?username WHERE { ?entity wdt:P2002 ?username . VALUES ?username { \"FCMetz\" \"RCSA\" } } ORDER BY ASC (?username)", "paraphrases": ["Who are the organizations on Wikidata that use the Twitter handles FCMetz and RCSA?", "List the entities in Wikidata that are associated with the Twitter accounts FCMetz and RCSA, sorted alphabetically by username."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"bleualsace\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"OL_Plus\" ) ( \"athorstub\" ) ( \"string5\" ) ( \"string6\" ) ( \"Qofficiel\" ) ( \"BleuAlsace\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) ( \"matfaure\" ) ( \"RCSA\" ) ( \"FCMetz\" ) ( \"YaPasPeno\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6062", "question": "Which Wikidata items have Twitter usernames \"envlh\" or \"mediawiki\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"envlh\" \"mediawiki\"\n  }\n}", "paraphrases": ["Who are the people or organizations on Wikidata with the Twitter handles \"envlh\" and \"mediawiki\"?", "Show me the entities on Wikidata that are associated with the Twitter usernames \"envlh\" and \"mediawiki\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"katiesays_\" ) ( \"mediawiki\" ) ( \"Wikimedia\" ) ( \"Outreachy\" ) ( \"string1\" ) ( \"davidfrum\" ) ( \"string2\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6063", "question": "What film has the Allcinema ID 87722?", "sparql": "SELECT ?film WHERE { ?film wdt:P2465 \"87722\" . }", "paraphrases": ["Which movie is identified by the Allcinema film ID 87722?", "Tell me the name of the film with Allcinema ID 87722."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2465> \"87722\". }"}}
{"id": "test_6064", "question": "Which organizations have Twitter accounts \"Lyxor\", \"AggloLTC\", or \"LeTregor\", and how many Wikipedia sitelinks do they have?", "sparql": "SELECT ?item ?username (COUNT(?site) AS ?sitelinks) ?itemLabel WHERE { VALUES ?username { \"Lyxor\" \"TebeoTV\" \"CAILabs\" \"radioimmo\" \"saooti\" \"AFT_TL\" \"salonsimi\" \"LeTregor\" \"Ahmed\" \"BzhP\" \"AggloLTC\" } ?item wdt:P2002 ?username . ?site schema:about ?item . FILTER(STRSTARTS(STR(?site), \"https://\")) ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } GROUP BY ?item ?username ?itemLabel ORDER BY DESC(?sitelinks)", "paraphrases": ["What are the entities on Wikidata with Twitter usernames Lyxor, AggloLTC, or LeTregor, and how many language versions of their Wikipedia pages do they have?", "Show me the entities with Twitter handles Lyxor, AggloLTC, or LeTregor, sorted by the number of Wikipedia sitelinks they have, along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"AggloLTC\" ) ( \"string1\" ) ( \"string2\" ) ( \"TebeoTV\" ) ( \"Lyxor\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"Ahmed\" ) ( \"BzhP\" ) ( \"string10\" ) ( \"CAILabs\" ) ( \"radioimmo\" ) ( \"string11\" ) ( \"saooti\" ) ( \"AFT_TL\" ) ( \"salonsimi\" ) ( \"string12\" ) ( \"LeTregor\" ) ( \"string13\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6065", "question": "Who are the male grandfathers of Gustaf Adam von Nolcken?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?grandfather ?child WHERE {\n  ?grandfather wdt:P21 wd:Q6581097 .\n  ?grandfather wdt:P40 ?child .\n  ?child wdt:P40 wd:Q11702918 .\n}\nLIMIT 101", "paraphrases": ["Find all males who have a child that is the parent of Gustaf Adam von Nolcken.", "Which man is the grandfather of the Swedish politician Gustaf Adam von Nolcken?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/P21> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P21> <http://www.wikidata.org/entity/Q6581097> . ?var1 <http://www.wikidata.org/prop/P40> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P40> ?var2 . ?var2 <http://www.wikidata.org/prop/P40> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P40> <http://www.wikidata.org/entity/Q33620960> . } LIMIT 101"}}
{"id": "test_6066", "question": "Deceased researchers with ORCID IDs, their English names, Wikimedia Commons images, and English Wikipedia links.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?person ?personLabel ?orcid(SAMPLE(?image) AS ?sampledImage) ?wikipediaArticle WHERE {\n  ?person wdt:P496 ?orcid .\n  ?person wdt:P570 ?deathDate .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?wikipediaArticle schema:about ?person ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}\nGROUP BY ?person ?personLabel ?orcid ?wikipediaArticle\nLIMIT 100", "paraphrases": ["Who are deceased scientists with ORCID identifiers, and what are their English names, images, and Wikipedia articles?", "List up to 100 deceased researchers who have ORCID IDs, showing their English names, any available Wikimedia Commons images, and links to their English Wikipedia pages."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var3 ) ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var6 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,fr,es,de,ru,it,nl,ja,zh,pl,cs\". } } GROUP BY ?var1 ?var1Label ?var2 ?var4 LIMIT 100"}}
{"id": "test_6067", "question": "Chemical elements and compounds with English names starting with A to M and known mass", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P31 ?type .\n  FILTER ( ?type IN ( wd:Q11173 , wd:Q11344 ) ) .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" ) .\n  ?item wdt:P2067 ?mass .\n  FILTER ( REGEX( ?itemLabel , \"^[A-M]\" , \"i\" ) )\n}\nORDER BY ASC ( ?itemLabel )\nLIMIT 3500", "paraphrases": ["Which chemical elements and compounds have English names beginning with A through M and a recorded mass?", "List chemical elements and compounds whose English names start with A\u2013M and have a defined mass."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11173> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11344> . } ?var1 <http://www.wikidata.org/prop/direct/P2067> ?var2 . FILTER ( ( !( isBLANK ( ?var2 ) ) ) ) . ?var3 <http://schema.org/about> ?var1 . FILTER ( ( EXISTS { ?var4 <http://schema.org/about> ?var1 ; <http://schema.org/inLanguage> \"pl\". } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl\". } FILTER ( ( REGEX ( ?var1Label , \"^[A-M]\", \"i\" ) ) ) . } GROUP BY ?var1 ?var1Label ORDER BY ASC( ?var1Label ) LIMIT 3500"}}
{"id": "test_6068", "question": "What are some food items, their English names, images, and corresponding English Wikipedia pages?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?food ?foodLabel ?image ?wikipediaPage WHERE {\n  ?food wdt:P31 wd:Q2095 .\n  ?food rdfs:label ?foodLabel .\n  OPTIONAL {\n    ?food wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?wikipediaPage schema:about ?food ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n  FILTER ( LANG( ?foodLabel ) = \"en\" )\n}", "paraphrases": ["Show me a list of foods with their English labels, available images from Wikimedia Commons, and links to their English Wikipedia articles.", "Can you provide the English names, images, and Wikipedia links for all known food items?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var3 ) ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2095> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,fr,es,de,ru,it,nl,ja,zh,pl,cs\". } } GROUP BY ?var1 ?var1Label ?var2 ?var4"}}
{"id": "test_6069", "question": "Film with Cineplex Germany film ID 243578", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P3077 \"243578\" .\n}", "paraphrases": ["Which film has the Cineplex Germany film ID 243578?", "Tell me the name of the film identified by 243578 in the Cineplex Germany database."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3077> \"243578\". }"}}
{"id": "test_6070", "question": "Person with SBL ID 9142", "sparql": "SELECT ?person WHERE { ?person wdt:P3217 \"9142\" . }", "paraphrases": ["Who is the person listed as entry 9142 in the Dictionary of Swedish National Biography?", "Tell me the Wikidata item for Anders Viktor Martinsson using his SBL ID 9142."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3217> \"9142\". } LIMIT 1"}}
{"id": "test_6071", "question": "List all continents ordered by their Wikidata ID.", "sparql": "SELECT ?continent ?continentLabel WHERE { ?continent wdt:P31 wd:Q5107 . ?continent rdfs:label ?continentLabel . FILTER(LANG(?continentLabel) = \"en\") } ORDER BY ASC ( xsd:integer( SUBSTR( STR(?continent), 33 ) ) )", "paraphrases": ["What are the continents, sorted by their Q-number in ascending order?", "Show me the names of all continents (in English) sorted by the numeric part of their Wikidata entity IDs."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5107> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( <http://www.w3.org/2001/XMLSchema#integer> ( SUBSTR ( STR ( ?var1 ) , ( STRLEN ( \"string1\" ) +\"+1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) )"}}
{"id": "test_6072", "question": "People with authorized access points who held positions like king or ambassador.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?authorizedAccessPoint ?positionLabel WHERE {\n  ?person wdt:P1810 ?authorizedAccessPoint .\n  ?person wdt:P39 ?position .\n  ?person rdfs:label ?personLabel .\n  ?position rdfs:label ?positionLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) FILTER ( LANG( ?positionLabel ) = \"en\" )\n}\nLIMIT 10", "paraphrases": ["Who are historical figures that have standardized bibliographic names and have held public offices such as king or ambassador?", "List historical persons who have an authorized access point in library catalogs and have held positions like king, ambassador, or professor, along with their names and positions in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1810> ?var2 . VALUES ( ?var3 ) { ( \"string1\" ) ( \"string2\" ) } ?var1 <http://www.wikidata.org/prop/direct/P39> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_6073", "question": "Current members of the 12th National Assembly of Zambia, including their gender, birth year, electoral district, party, and reference URLs.", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pr: <http://www.wikidata.org/prop/reference/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX prov: <http://www.w3.org/ns/prov#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?member ?memberLabel ?gender ?birthYear ?district ?party ?group ?referenceUrl ?descriptionUrl ?authorizedName WHERE {\n  ?member p:P39 ?statement .\n  ?statement ps:P39 wd:Q18607856 ; pq:P2937 wd:Q45380990 .\n  FILTER(NOT EXISTS {\n    ?statement pq:P582 []\n  })\n  OPTIONAL {\n    ?member wdt:P21 ?gender\n  }\n  OPTIONAL {\n    ?member wdt:P569 ?birthDate .\n    BIND(SUBSTR(STR(?birthDate) , 1 , 4) AS ?birthYear)\n  }\n  OPTIONAL {\n    ?statement pq:P768 ?district\n  }\n  OPTIONAL {\n    ?statement pq:P102 ?party\n  }\n  OPTIONAL {\n    ?statement pq:P4100 ?group\n  }\n  OPTIONAL {\n    ?statement prov:wasDerivedFrom ?ref .\n    ?ref pr:P854 ?referenceUrl\n  }\n  OPTIONAL {\n    ?member wdt:P973 ?descriptionUrl\n  }\n  OPTIONAL {\n    ?statement pq:P1810 ?authorizedName\n  }\n  OPTIONAL {\n    ?member rdfs:label ?memberLabel .\n    FILTER(LANG(?memberLabel) = \"en\")\n  }\n}", "paraphrases": ["Who are the current members of Zambia\u2019s 12th National Assembly, and what are their gender, date of birth, electoral district, political party, and official web links?", "List all currently serving members of Zambia\u2019s 12th National Assembly along with their personal details (gender, birth year), electoral district, party affiliation, and any available reference or description URLs."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 WHERE { ?var1 <http://www.wikidata.org/prop/P39> ?var10 . ?var10 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q18607856> ; <http://www.wikidata.org/prop/qualifier/P2937> <http://www.wikidata.org/entity/Q45380990> . FILTER ( ( NOT EXISTS { ?var10 <http://www.wikidata.org/prop/qualifier/P582> [] . } ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/P973> ?var11 . ?var11 <http://www.wikidata.org/prop/statement/P973> ?var12 . ?var11 <http://www.wikidata.org/prop/qualifier/P1810> ?var3 . } OPTIONAL { ?var10 ( <http://www.wikidata.org/prop/qualifier/P4100> | <http://www.wikidata.org/prop/qualifier/P102> ) ?var13 . } OPTIONAL { ?var10 <http://www.wikidata.org/prop/qualifier/P768> ?var14 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var15 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var16 . } OPTIONAL { ?var10 <http://www.w3.org/ns/prov#wasDerivedFrom> ?var17 . OPTIONAL { ?var17 <http://www.wikidata.org/prop/reference/P854> ?var9 . } } BIND ( SUBSTR ( STR ( ?var16 ) ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var8 ). BIND ( COALESCE ( ?var3 , ?var2 ) AS ?var4 ). VALUES ( ?var18 ) { ( \"string1\" ) ( \"string2\" ) } FILTER ( ( ( ?var18 = ?var1 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var14 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . ?var13 <http://www.w3.org/2000/01/rdf-schema#label> ?var6 . ?var15 <http://www.w3.org/2000/01/rdf-schema#label> ?var7 . } }"}}
{"id": "test_6074", "question": "What image is associated with Otto Nikodym in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?person wdt:P3430 \"w6st8dzs\" .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n}", "paraphrases": ["Show the Wikimedia Commons image linked to the person with SNAC ARK ID w6st8dzs.", "Can you find the picture of Otto Nikodym using his SNAC identifier?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6st8dzs\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6075", "question": "Which property is most commonly used to link items to Google Earth, and how many times is it used?", "sparql": "SELECT ?property (COUNT(?property) AS ?count) WHERE { ?item ?prop wd:Q42274 . ?property wikibase:directClaim ?prop . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Most frequent property linking to Google Earth", "Show me the main property used to associate articles or datasets with Google Earth, along with its usage count."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q42274> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_6076", "question": "What property is most commonly used to link articles to the chemical element indium?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nSELECT ?property(COUNT(?property) AS ?count) WHERE {\n  ?item ?prop wd:Q1094 .\n  ?property wikibase:directClaim ?prop .\n  ?property rdf:type wikibase:Property .\n}\nGROUP BY ?property\nORDER BY DESC(?count)\nLIMIT 1", "paraphrases": ["Which Wikidata property connects the most items to indium as their main topic?", "Among all properties linking to indium, which one appears most frequently in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q1094> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_6077", "question": "Images related to Nick van de Giesen\u2019s research, publications, and academic context.", "sparql": "SELECT DISTINCT ?image WHERE { { wd:Q41664435 wdt:P18 ?image . } UNION { ?differentEntity wdt:P1889 wd:Q41664435 . ?differentEntity wdt:P18 ?image . FILTER (?differentEntity != wd:Q5) } UNION { ?work wdt:P50 wd:Q41664435 . ?work wdt:P18 ?image . } UNION { ?work wdt:P50 wd:Q41664435 . ?work wdt:P921 ?topic . ?topic wdt:P18 ?image . } UNION { ?work wdt:P50 wd:Q41664435 . ?coauthor wdt:P50 ?work . ?coauthorWork wdt:P50 ?coauthor . ?coauthorWork wdt:P18 ?image . } }", "paraphrases": ["What images are associated with Nick van de Giesen, his works, or the topics he has written about?", "Please provide all Wikimedia Commons images connected to Nick van de Giesen, including those from his publications, co-authors\u2019 works, or the subjects of his research."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { <http://www.wikidata.org/entity/Q41664435> <http://www.wikidata.org/prop/direct/P18> ?var1 . } UNION { <http://www.wikidata.org/entity/Q41664435> !( <http://www.wikidata.org/prop/direct/P1889> ) ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . FILTER ( ( ( ?var2 != <http://www.wikidata.org/entity/Q5> ) ) ) . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q41664435> . { ?var3 <http://www.wikidata.org/prop/direct/P921> [ <http://www.wikidata.org/prop/direct/P18> ?var1 ] . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P50> ?var3 . ?var4 <http://www.wikidata.org/prop/direct/P18> ?var1 . } } }"}}
{"id": "test_6078", "question": "Most common property linking to DL-proline", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nSELECT ?property(COUNT(?property) AS ?count) WHERE {\n  ?item ?statementProperty wd:Q484583 .\n  ?property wikibase:directClaim ?statementProperty .\n  ?property rdf:type wikibase:Property .\n}\nGROUP BY ?property\nORDER BY DESC(?count)\nLIMIT 1", "paraphrases": ["Which property is most frequently used to associate entities with DL-proline, and how many times is it used?", "Show the property that connects the most items to DL-proline, along with its usage count."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q484583> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_6079", "question": "Image of the person with SNAC ARK ID w6w19v74", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?person wdt:P3430 \"w6w19v74\" .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Michael Faraday in Wikidata?", "Can you find the Wikimedia Commons image for the individual identified by the SNAC ARK ID w6w19v74?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6w19v74\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6080", "question": "Which Wikidata items have Twitter usernames \"Gallimard\" or \"correards\"?", "sparql": "SELECT ?item ?twitterHandle WHERE { ?item wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { \"Gallimard\" \"correards\" } }", "paraphrases": ["Who are the people or organizations on Wikidata with the Twitter handles @Gallimard and @correards?", "Show me the Wikidata entries for the Twitter accounts Gallimard and correards."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"DisputeFC\" ) ( \"string2\" ) ( \"string3\" ) ( \"grazia_fr\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"PiasFrance\" ) ( \"CFerrandiz\" ) ( \"cejema1\" ) ( \"string11\" ) ( \"clemclem88\" ) ( \"string12\" ) ( \"string13\" ) ( \"thibaultka\" ) ( \"pchevilley\" ) ( \"lio_red\" ) ( \"string14\" ) ( \"GDeleur\" ) ( \"string15\" ) ( \"correards\" ) ( \"perceval45\" ) ( \"mondeperse\" ) ( \"string16\" ) ( \"Gallimard\" ) ( \"string17\" ) ( \"string18\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6081", "question": "Give me the first names of all Nobel Prize winners, sorted alphabetically.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?givenName ?givenNameLabel WHERE {\n  ?person wdt:P166 ?award .\n  ?award wdt:P279 * wd:Q7191 .\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P735 ?givenName .\n  ?person rdfs:label ?personLabel .\n  ?givenName rdfs:label ?givenNameLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) FILTER ( LANG( ?givenNameLabel ) = \"en\" )\n}\nORDER BY ASC ( ?givenNameLabel )", "paraphrases": ["What are the given names of humans who have received a Nobel Prize, and what are their full names?", "List the English names and given names of all Nobel laureates, ordered by their given names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P166> / <http://www.wikidata.org/prop/direct/P31> ) <http://www.wikidata.org/entity/Q7191> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P735> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY ASC( ?var2 )"}}
{"id": "test_6082", "question": "What are the Twitter accounts of Luxembourgish newspapers?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitter WHERE {\n  ?item wdt:P2002 ?twitter .\n  FILTER(?twitter = 'jornalcontacto' || ?twitter = 'Letzland')\n}", "paraphrases": ["Which entities on Wikidata have the Twitter usernames 'jornalcontacto' or 'Letzland'?", "Can you list the newspaper organizations in Luxembourg that are active on Twitter with the handles 'jornalcontacto' and 'Letzland'?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"Wort_FR\" ) ( \"Wort_LU\" ) ( \"LuxTimes\" ) ( \"string1\" ) ( \"string2\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6083", "question": "Heavy metal bands from Finland and their formation locations with coordinates.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3 WHERE {\n  ?var1 wdt:P31 wd:Q215380 .\n  ?var1 wdt:P136 wd:Q38848 .\n  ?var1 wdt:P495 wd:Q33 .\n  OPTIONAL {\n    ?var1 wdt:P740 ?var2 .\n    ?var2 wdt:P625 ?var3 .\n    ?var2 rdfs:label ?var2Label .\n  }\n  ?var1 rdfs:label ?var1Label .\n  FILTER(LANG(?var1Label) = \"en\")\n  FILTER(LANG(?var2Label) = \"en\")\n}\nORDER BY ASC(?var1Label)", "paraphrases": ["Which heavy metal musical groups are from Finland, and where were they formed? Include geographic coordinates if available.", "List all Finnish heavy metal bands alphabetically, along with the cities where they were formed and their GPS coordinates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3 ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q215380> . ?var5 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q215380> . ?var4 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q29881657> . ?var6 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q38848> . ?var1 <http://www.wikidata.org/prop/direct/P136> ?var6 . ?var1 <http://www.wikidata.org/prop/direct/P495> <http://www.wikidata.org/entity/Q33> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P740> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P625> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,de,en\". } } ORDER BY ASC( ?var4Label )"}}
{"id": "test_6084", "question": "What are the geographic coordinates of Thomas Gee's house and the administrative area it is located in?", "sparql": "SELECT ?houseCoordinates ?administrativeAreaCoordinates WHERE { wd:Q17741171 wdt:P625 ?houseCoordinates . OPTIONAL { wd:Q17741171 wdt:P131 ?adminArea . ?adminArea wdt:P625 ?administrativeAreaCoordinates . } }", "paraphrases": ["Coordinates of Thomas Gee's house and its administrative location (e.g., town or parish)", "Show me the GPS coordinates of Thomas Gee's house and the coordinates of the town or administrative region it belongs to."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q17741171> <http://www.wikidata.org/prop/direct/P625> ?var1 . OPTIONAL { <http://www.wikidata.org/entity/Q17741171> <http://www.wikidata.org/prop/direct/P131> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var2 . } }"}}
{"id": "test_6085", "question": "List all Czech streets with official IDs named after Jaroslav Seifert, Zden\u011bk Fibich, Franti\u0161ek \u0160kroup, and other Czech cultural figures.", "sparql": "SELECT (STRAFTER(STR(?street), STR(wd:)) AS ?streetId) (STRAFTER(STR(?namesake), STR(wd:)) AS ?namesakeId)\nWHERE {\n  ?street wdt:P4533 [] .\n  ?street rdfs:label ?label .\n  VALUES (?label ?namesake) {\n    (\"Seifertova\"@cs wd:Q102483)\n    (\"Lidick\u00e1\"@cs wd:Q154888)\n    (\"Al\u0161ova\"@cs wd:Q446948)\n    (\"Fibichova\"@cs wd:Q117110)\n    (\"Sokolovsk\u00e1\"@cs wd:Q727383)\n    (\"Riegrova\"@cs wd:Q701743)\n    (\"Plze\u0148sk\u00e1\"@cs wd:Q43453)\n    (\"\u0160afa\u0159\u00edkova\"@cs wd:Q158354)\n    (\"Moravsk\u00e1\"@cs wd:Q43266)\n    (\"\u0160kroupova\"@cs wd:Q1375928)\n    (\"Klicperova\"@cs wd:Q1970213)\n    (\"Myslbekova\"@cs wd:Q980407)\n  }\n  FILTER(LANG(?label) = \"cs\")\n}\nORDER BY ASC(?namesakeId)", "paraphrases": ["Which streets in the Czech Republic are named after notable Czech people like Seifert, Fibich, or \u0160afa\u0159\u00edk, and what are their official street IDs?", "Please provide the Wikidata IDs of Czech streets and the people they are named after, specifically for streets labeled in Czech as Seifertova, Fibichova, \u0160kroupova, and similar."], "info": {"raw_sparql": "SELECT( STRAFTER ( STR ( ?var1 ) , STR ( <http://www.wikidata.org/entity/> ) ) AS ?var2 )( STRAFTER ( STR ( ?var3 ) , STR ( <http://www.wikidata.org/entity/> ) ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4533> [] . VALUES ( ?var5Label ?var3 ) { ( \"Seifertova\"@cs <http://www.wikidata.org/entity/Q102483> ) ( \"Lidick\u00e1\"@cs <http://www.wikidata.org/entity/Q154888> ) ( \"Al\u0161ova\"@cs <http://www.wikidata.org/entity/Q446948> ) ( \"Fibichova\"@cs <http://www.wikidata.org/entity/Q117110> ) ( \"Sokolovsk\u00e1\"@cs <http://www.wikidata.org/entity/Q727383> ) ( \"Riegrova\"@cs <http://www.wikidata.org/entity/Q701743> ) ( \"string1\"@cs <http://www.wikidata.org/entity/Q283121> ) ( \"string2\"@cs <http://www.wikidata.org/entity/Q709676> ) ( \"Plze\u0148sk\u00e1\"@cs <http://www.wikidata.org/entity/Q43453> ) ( \"string3\"@cs <http://www.wikidata.org/entity/Q545818> ) ( \"string4\"@cs <http://www.wikidata.org/entity/Q539798> ) ( \"\u0160afa\u0159\u00edkova\"@cs <http://www.wikidata.org/entity/Q158354> ) ( \"Moravsk\u00e1\"@cs <http://www.wikidata.org/entity/Q43266> ) ( \"\u0160kroupova\"@cs <http://www.wikidata.org/entity/Q1375928> ) ( \"Klicperova\"@cs <http://www.wikidata.org/entity/Q1970213> ) ( \"Myslbekova\"@cs <http://www.wikidata.org/entity/Q980407> ) ( \"string5\"@cs <http://www.wikidata.org/entity/Q10815733> ) ( \"string6\"@cs <http://www.wikidata.org/entity/Q384544> ) ( \"string7\"@cs <http://www.wikidata.org/entity/Q78492> ) } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P138> [] . } } ORDER BY ASC( ?var4 )"}}
{"id": "test_6086", "question": "Is Sebasti\u00e1n Pi\u00f1era classified as software through his type or any of its superclasses?", "sparql": "ASK WHERE { wd:Q306 (wdt:P31/wdt:P279*) wd:Q7397 . }", "paraphrases": ["Does Sebasti\u00e1n Pi\u00f1era belong to a category that is a subclass of software?", "Is Sebasti\u00e1n Pi\u00f1era an instance of something that is a kind of software?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q306> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6087", "question": "Which French media organizations have Twitter accounts and how many Wikipedia language versions cover them?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterHandle ( COUNT( ?sitelink ) AS ?sitelinksCount ) WHERE {\n  ?item wdt:P2002 ?twitterHandle .\n  ?sitelink schema:about ?item ; schema:isPartOf ?wiki .\n  VALUES ?twitterHandle {\n    \"FRANCE24\" \"LCI\" \"LEXPRESS\" \"Gallimard\"\n  }\n}\nGROUP BY ?item ?twitterHandle\nORDER BY ASC ( ?sitelinksCount )", "paraphrases": ["What are the Twitter handles of French media outlets like France 24, LCI, L'Express, and Gallimard, and how popular are they across Wikipedia?", "List the Twitter accounts of France 24, LCI, L'Express, and \u00c9ditions Gallimard, sorted by the number of Wikipedia language editions that have articles about them, from least to most."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"lemondefr\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"diacritik\" ) ( \"Gallimard\" ) ( \"string10\" ) ( \"string11\" ) ( \"zoobizarre\" ) ( \"TropismesL\" ) ( \"string12\" ) ( \"string13\" ) ( \"string14\" ) ( \"24hPujadas\" ) ( \"LCI\" ) ( \"string15\" ) ( \"Cecileski\" ) ( \"string16\" ) ( \"string17\" ) ( \"FRANCE24\" ) ( \"string18\" ) ( \"string19\" ) ( \"string20\" ) ( \"string21\" ) ( \"string22\" ) ( \"string23\" ) ( \"string24\" ) ( \"LEXPRESS\" ) ( \"LEntretien\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6088", "question": "Which Wikidata items have Twitter handles \"metmuseum\", \"bevellin\", or \"techmoan\", and how many Wikipedia links do they have?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterHandle ( COUNT( ?sitelink ) AS ?sitelinkCount ) WHERE {\n  ?item wdt:P2002 ?twitterHandle .\n  VALUES ?twitterHandle {\n    \"metmuseum\" \"bevellin\" \"techmoan\"\n  }\n  ?sitelink schema:about ?item ; schema:isPartOf ?site .\n}\nGROUP BY ?item ?twitterHandle\nORDER BY ASC ( ?sitelinkCount )", "paraphrases": ["What are the Twitter usernames of the entities \"metmuseum\", \"bevellin\", and \"techmoan\" in Wikidata, and how many sitelinks (e.g., Wikipedia pages) are associated with each?", "List the entities on Wikidata with Twitter usernames \"metmuseum\", \"bevellin\", and \"techmoan\", sorted by the number of associated Wikipedia and other language links, from lowest to highest."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"gblardone\" ) ( \"string4\" ) ( \"string5\" ) ( \"rodho_g\" ) ( \"ATMBinfo\" ) ( \"bevellin\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) ( \"Patafisik\" ) ( \"string13\" ) ( \"Teggy\" ) ( \"string14\" ) ( \"string15\" ) ( \"framasoft\" ) ( \"string16\" ) ( \"Obs_ineg\" ) ( \"Wikimedia\" ) ( \"string17\" ) ( \"mySociety\" ) ( \"odekro\" ) ( \"string18\" ) ( \"string19\" ) ( \"Techmoan\" ) ( \"XboxFR\" ) ( \"N_Henin\" ) ( \"string20\" ) ( \"immcouncil\" ) ( \"JimMFelton\" ) ( \"string21\" ) ( \"dark_shark\" ) ( \"MarkScherz\" ) ( \"TeamKMCC\" ) ( \"nightrose\" ) ( \"string22\" ) ( \"string23\" ) ( \"LeHuffPost\" ) ( \"string24\" ) ( \"string25\" ) ( \"string26\" ) ( \"Deloitte\" ) ( \"string27\" ) ( \"string28\" ) ( \"Pymouss\" ) ( \"PoulpyWP\" ) ( \"string29\" ) ( \"metmuseum\" ) ( \"DocaBrest\" ) ( \"carenes\" ) ( \"dbourrion\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6089", "question": "How many archives are associated with a country?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT(COUNT(*) AS ?count) WHERE {\n  ?archive wdt:P31 wd:Q166118 .\n  ?archive wdt:P17 ?country .\n}", "paraphrases": ["What is the total number of institutional archives that have a specified country?", "Can you tell me how many archives around the world are linked to a sovereign state?"], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q166118> . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . }"}}
{"id": "test_6090", "question": "Who has the Twitter username \"SJocelino\"?", "sparql": "SELECT ?item ?twitterUsername WHERE { ?item wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"SJocelino\" } }", "paraphrases": ["Which Wikidata item is associated with the Twitter handle SJocelino?", "Find the person or entity linked to the Twitter account @SJocelino."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"ben_botica\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"leszacrau\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"SJocelino\" ) ( \"string9\" ) ( \"string10\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6091", "question": "What film has the elCinema ID 2007253?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P3135 \"2007253\" .\n}", "paraphrases": ["Which movie in Wikidata is identified by the elCinema film ID 2007253?", "Tell me the Wikidata entry for the film with elCinema ID 2007253."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3135> \"2007253\". }"}}
{"id": "test_6092", "question": "Film with Scope.dk ID 5890", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P2518 \"5890\" .\n}", "paraphrases": ["Which film has the Scope.dk film ID 5890?", "Tell me the name of the film identified as 5890 on Scope.dk."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2518> \"5890\". }"}}
{"id": "test_6093", "question": "What are the names of all fictional cats listed in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?cat ?catLabel WHERE {\n  ?cat wdt:P31 wd:Q146 .\n  ?cat rdfs:label ?catLabel .\n  FILTER(LANG(?catLabel) = \"en\")\n}", "paraphrases": ["Can you list the English labels of all entities classified as house cats?", "Show me the names of characters that are pets and are specifically instances of domestic cats."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q146> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"id,en\". } }"}}
{"id": "test_6094", "question": "What meta-types are associated with the class 'river' through instance-of relationships?", "sparql": "SELECT ?metaType ?metaTypeLabel ?typeOfMetaType WHERE { { wd:Q4022 wdt:P31 ?metaType . OPTIONAL { ?metaType wdt:P31 ?typeOfMetaType . } OPTIONAL { ?metaType rdfs:label ?metaTypeLabel . FILTER(LANG(?metaTypeLabel) = \"en\") } } UNION { wd:Q4022 wdt:P31 ?level1 . ?level1 wdt:P31 ?metaType . OPTIONAL { ?metaType wdt:P31 ?typeOfMetaType . } OPTIONAL { ?metaType rdfs:label ?metaTypeLabel . FILTER(LANG(?metaTypeLabel) = \"en\") } } UNION { wd:Q4022 wdt:P31 ?level1 . ?level1 wdt:P31 ?level2 . ?level2 wdt:P31 ?metaType . OPTIONAL { ?metaType wdt:P31 ?typeOfMetaType . } OPTIONAL { ?metaType rdfs:label ?metaTypeLabel . FILTER(LANG(?metaTypeLabel) = \"en\") } } }", "paraphrases": ["What are the types of types of river in Wikidata, up to three levels deep?", "List all the higher-level categories that 'river' belongs to via instance-of relationships, along with their own types and English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q4022> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P31> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6095", "question": "What places are located within 1 kilometer of the Mus\u00e9e L\u00e9on-Dierx in Saint-Denis, R\u00e9union?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX geof: <http://www.opengis.net/def/function/geosparql/>\nSELECT ?item ?itemLabel ?coord ?typeLabel WHERE {\n  wd:Q3329255 wdt:P625 ?museumCoord .\n  BIND(geof:latitude(?museumCoord) AS ?lat)\n  BIND(geof:longitude(?museumCoord) AS ?long)\n  BIND(?lat - 0.009 AS ?latMin)\n  BIND(?lat + 0.009 AS ?latMax)\n  BIND(?long - 0.009 AS ?longMin)\n  BIND(?long + 0.009 AS ?longMax)\n  ?item wdt:P625 ?coord .\n  BIND(geof:latitude(?coord) AS ?itemLat)\n  BIND(geof:longitude(?coord) AS ?itemLong)\n  FILTER(?itemLat >= ?latMin && ?itemLat <= ?latMax)\n  FILTER(?itemLong >= ?longMin && ?itemLong <= ?longMax)\n  ?item wdt:P31 ?type .\n  FILTER(?type IN(wd:Q134774 , wd:Q197299 , wd:Q170584 , wd:Q173618 , wd:Q1549591 , wd:Q3329255))\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER(LANG(?itemLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?type rdfs:label ?typeLabel .\n    FILTER(LANG(?typeLabel) = \"en\")\n  }\n}", "paraphrases": ["List nearby museums, buildings, or tourist attractions close to the Mus\u00e9e L\u00e9on-Dierx, along with their types.", "Show me points of interest near the Mus\u00e9e L\u00e9on-Dierx, including their names and categories, within a 1 km radius."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label WHERE { <http://www.wikidata.org/entity/Q3329255> <http://www.wikidata.org/prop/direct/P625> ?var4 . SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> ?var4 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"1\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } BIND ( <http://www.opengis.net/def/geosparql/function/distance> ( ?var4 , ?var2 ) AS ?var5 ). } ORDER BY ASC( ?var5 )"}}
{"id": "test_6096", "question": "Image of James Brown with SNAC ARK ID w6k64s8s", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6k64s8s\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with James Brown in Wikidata, identified by the SNAC ARK ID w6k64s8s?", "Please provide the Wikimedia Commons image for the person whose SNAC ARK ID is w6k64s8s."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6k64s8s\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6097", "question": "What properties are used for Mizuho Rugby Stadium, and what are their formatter URLs?", "sparql": "SELECT ?property ?statementPropertyLabel ?valueLabel ?formatterUrl ?japanesePage WHERE { wd:Q11415013 ?property ?value . ?statementProperty wikibase:directClaim ?property . OPTIONAL { ?statementProperty wdt:P1630 ?formatterUrl . } OPTIONAL { ?japanesePage schema:about ?value ; schema:inLanguage \"ja\" . FILTER (SUBSTR(STR(?japanesePage), 1, 25) = \"https://ja.wikipedia.org/wiki/\") } }", "paraphrases": ["What are the direct properties of Mizuho Rugby Stadium, and do they have URL templates for generating links from their values?", "Show me all the properties of Mizuho Rugby Stadium along with their formatter URLs and any corresponding Japanese Wikipedia pages."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label ?var4 ?var5 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". <http://www.wikidata.org/entity/Q11415013> ?var1 ?var3 . ?var2 <http://wikiba.se/ontology#directClaim> ?var1 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P1630> ?var4 . } OPTIONAL { ?var5 <http://schema.org/about> ?var3 . ?var5 <http://schema.org/inLanguage> \"ja\". FILTER ( ( ( SUBSTR ( STR ( ?var5 ) ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"25\"^^<http://www.w3.org/2001/XMLSchema#integer> ) = \"string1\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja,en\". } }"}}
{"id": "test_6098", "question": "What are works about African Americans, along with their English Wikipedia pages and images?", "sparql": "SELECT DISTINCT ?work ?workLabel (SAMPLE(?img) AS ?image) ?wikipediaPage WHERE { ?work wdt:P921 ?topic . ?topic wdt:P172 wd:Q49085 . OPTIONAL { ?work wdt:P18 ?img . } OPTIONAL { ?wikipediaPage schema:about ?work ; schema:isPartOf <https://en.wikipedia.org/> . } ?work rdfs:label ?workLabel . FILTER(LANG(?workLabel) = \"en\") } GROUP BY ?work ?workLabel ?wikipediaPage", "paraphrases": ["Show me works that have African Americans as their main subject, including their titles, any associated images, and links to their English Wikipedia pages.", "Works with African Americans as main subject: title, image, Wikipedia link"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var3 ) ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P921> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P172> <http://www.wikidata.org/entity/Q49085> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,fr,es,de,ru,it,nl,ja,zh,pl,cs\". } } GROUP BY ?var1 ?var1Label ?var2 ?var4"}}
{"id": "test_6099", "question": "What is the UniProt ID and Wikidata item for the human protein that matches http://purl.uniprot.org/uniprot/Q13936?", "sparql": "SELECT ?uniprotId ?protein WHERE { ?protein wdt:P352 ?uniprotId ; wdt:P2888 <http://purl.uniprot.org/uniprot/Q13936> ; wdt:P703 wd:Q15978631 . }", "paraphrases": ["Which human protein has the UniProt ID Q13936 and is exactly matched to the UniProt entry Q13936?", "Show me the Wikidata item and UniProt ID for the calcium voltage-gated channel subunit alpha1 C protein in humans."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P352> ?var1 ; <http://www.wikidata.org/prop/direct/P2888> <http://purl.uniprot.org/uniprot/Q13936> ; <http://www.wikidata.org/prop/direct/P703> <http://www.wikidata.org/entity/Q15978631> . FILTER ( ( !( isLITERAL ( <http://purl.uniprot.org/uniprot/Q13936> ) ) ) ) . }"}}
{"id": "test_6100", "question": "Employers of the National School of Judiciary and Public Prosecution in Poland", "sparql": "SELECT ?property ?propertyLabel ?count WHERE { { SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?propertyUri wd:Q11747790 . ?property wikibase:directClaim ?propertyUri . } GROUP BY ?property HAVING (?count > 1) } ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") } ORDER BY DESC(?count)", "paraphrases": ["How many people are listed as employed by the National School of Judiciary and Public Prosecution in Poland?", "Which property is most frequently used to associate individuals with the National School of Judiciary and Public Prosecution in Poland, and how many associations are there?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var4 ) AS ?var3 ) WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q11747790> . ?var1 <http://wikiba.se/ontology#directClaim> ?var5 . } GROUP BY ?var1 ?var1Label HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } } ORDER BY DESC( ?var3 )"}}
{"id": "test_6101", "question": "Railway stations in Belgium and their iRail identifiers", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?station ?externalId WHERE {\n  ?station wdt:P31 wd:Q55488 .\n  ?station wdt:P17 wd:Q31 .\n  ?station wdt:P2888 ?externalId .\n}", "paraphrases": ["Which railway stations in Belgium have external identifiers in the iRail database?", "List all railway stations in Belgium together with their corresponding iRail.be station codes."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P2888> \"string1\". ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q55488> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q31> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6102", "question": "Is Albert Einstein classified as software or a subclass of software?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q937 wdt:P31 / wdt:P279 * wd:Q7397 .\n}", "paraphrases": ["Does Albert Einstein belong to any category that is a subclass of software?", "Confirm whether Albert Einstein is an instance of a class that is a subclass of software."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q937> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6103", "question": "Image of Lowitja O'Donoghue using her SNAC ARK ID (w6vx3r5c)", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6vx3r5c\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6vx3r5c?", "Show me the Wikimedia Commons image for the person identified by SNAC ARK ID w6vx3r5c."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6vx3r5c\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6104", "question": "What chemical compounds are commonly discussed alongside vanillin in scientific publications?", "sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var3 wdt:P921 wd:Q33495 . ?var3 wdt:P921 ?var1 . ?var3 wdt:P921 ?var2 . ?var1 rdfs:label ?var1Label . ?var2 rdfs:label ?var2Label . FILTER (LANG(?var1Label) = \"en\") FILTER (LANG(?var2Label) = \"en\") FILTER (?var1 != ?var2) FILTER (?var1 != wd:Q33495) FILTER (?var2 != wd:Q33495) }", "paraphrases": ["Which pairs of substances, other than vanillin, are main topics of the same scientific works that feature vanillin?", "Show me pairs of distinct chemical compounds or biological topics that appear together with vanillin as main subjects in the same research works."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q33495> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P361> +) <http://www.wikidata.org/entity/Q33495> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P1269> +) <http://www.wikidata.org/entity/Q33495> . } ?var3 <http://www.wikidata.org/prop/direct/P921> ?var1 , ?var2 . FILTER ( ( ( <http://www.wikidata.org/entity/Q33495> != ?var1 ) && ( <http://www.wikidata.org/entity/Q33495> != ?var2 ) && ( ?var1 != ?var2 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_6105", "question": "What are the coordinates of Old Falinge and the administrative area it belongs to?", "sparql": "SELECT ?manorCoordinates ?administrativeAreaCoordinates WHERE { wd:Q26629817 wdt:P625 ?manorCoordinates . OPTIONAL { wd:Q26629817 wdt:P131 ?administrativeArea . ?administrativeArea wdt:P625 ?administrativeAreaCoordinates . } }", "paraphrases": ["Can you tell me the geographic location of Old Falinge and the center point of Rochdale, the town it is in?", "Where is Old Falinge located, and where is the center of the local administrative area it falls under?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q26629817> <http://www.wikidata.org/prop/direct/P625> ?var1 . OPTIONAL { <http://www.wikidata.org/entity/Q26629817> <http://www.wikidata.org/prop/direct/P131> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var2 . } }"}}
{"id": "test_6106", "question": "What chemical elements make up vanillin?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?component ?componentLabel WHERE {\n  wd:Q33495 wdt:P527 ?component .\n  ?component rdfs:label ?componentLabel .\n  FILTER ( LANG( ?componentLabel ) = \"en\" )\n}", "paraphrases": ["Which elements are components of the chemical compound vanillin?", "List the parts of vanillin according to Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P361> + <http://www.wikidata.org/entity/Q33495> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_6107", "question": "Films with IMDb ID and English title \"Big Hero 6\"", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?film ?imdbId ?filmLabel WHERE {\n  ?film wdt:P31 / wdt:P279 * wd:Q11424 .\n  ?film wdt:P345 ?imdbId .\n  ?film rdfs:label ?filmLabel .\n  FILTER(?filmLabel = \"Big Hero 6\" @en)\n}", "paraphrases": ["What is the IMDb ID of the film titled \"Big Hero 6\" in English?", "Show me the IMDb identifier and English title for the film \"Big Hero 6\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P345> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P1705> <http://www.wikidata.org/entity/Q11424> . FILTER ( ( ( LANG ( ?var3Label ) = \"Big Hero 6\" ) ) ) . }"}}
{"id": "test_6108", "question": "Who are the Speakers of the Parliament of Finland?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?speaker ?speakerLabel WHERE {\n  ?speaker wdt:P39 wd:Q392228 .\n  ?speaker rdfs:label ?speakerLabel .\n  FILTER(LANG(?speakerLabel) = \"en\")\n}\nORDER BY ?speaker", "paraphrases": ["List the English names of all individuals who have held the position of Speaker of the Parliament of Finland.", "Can you provide the names of all past and present Speakers of the Finnish Parliament in English?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q392228> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q17592486> . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fi,en\". } }"}}
{"id": "test_6109", "question": "What Wikidata items or properties are associated with the OpenStreetMap key \"height\"?", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P1282 \"Key:height\" . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } LIMIT 300", "paraphrases": ["Which entities in Wikidata represent the concept or property of height as defined in OpenStreetMap?", "In Wikidata, what are the English-labeled entities linked to the OpenStreetMap tag key \"Key:height\"?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P1282> \"Key:height\". } LIMIT 300"}}
{"id": "test_6110", "question": "Author of the article \"A new whitefly genus and species, Himalayaleyrodes ... infesting Christmas box\" and their ORCID.", "sparql": "SELECT ?author ?authorLabel ?orcidUrl WHERE { wd:Q36404169 wdt:P50 ?author . OPTIONAL { ?author wdt:P496 ?orcid . } BIND(COALESCE(?orcid, CONCAT(\"https://orcid.org/\", ENCODE_FOR_URI(?authorLabel))) AS ?orcidUrl) ?author rdfs:label ?authorLabel . FILTER(LANG(?authorLabel) = \"en\") }", "paraphrases": ["Who is the author of the scientific article on Himalayaleyrodes, and what is their ORCID identifier?", "Show me the English name of the author of the article about the new whitefly species in the Western Himalaya, along with their ORCID if available; if not, provide a link constructed from their name."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COALESCE ( ?var2 , CONCAT ( \"string1\", ENCODE_FOR_URI ( ?var1Label ) ) ) AS ?var3 ) WHERE { <http://www.wikidata.org/entity/Q36404169> <http://www.wikidata.org/prop/direct/P50> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,da,de,es,fr,nl,no,ru,sv,zh\". } }"}}
{"id": "test_6111", "question": "List Christmas traditions with their locations and images, including those that are instances, subclasses, or parts of Christmas traditions.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?tradition ?traditionLabel ?location ?image WHERE {\n  ?tradition ( wdt:P31 | wdt:P279 | wdt:P361 ) + wd:Q717040 ; wdt:P625 ?location .\n  OPTIONAL {\n    ?tradition wdt:P18 ?image .\n  }\n  ?tradition rdfs:label ?traditionLabel .\n  FILTER ( LANG( ?traditionLabel ) = \"en\" )\n}", "paraphrases": ["What are the Christmas traditions around the world, where are they located, and do they have associated images?", "Show me the names, geographic coordinates, and images of all Christmas traditions (including related events, subtypes, or components) that have English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> | <http://www.wikidata.org/prop/direct/P361> )+ <http://www.wikidata.org/entity/Q717040> ; <http://www.wikidata.org/prop/direct/P625> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"lv,en\". } }"}}
{"id": "test_6112", "question": "What are all the broader categories that a Wikimedia article page belongs to?", "sparql": "SELECT DISTINCT ?superclass ?superclassLabel WHERE { wd:Q15138389 wdt:P279* ?superclass . ?superclass rdfs:label ?superclassLabel . FILTER(LANG(?superclassLabel) = 'en') }", "paraphrases": ["List the parent classes of a Wikipedia article in Wikidata, including indirect ones.", "What abstract concepts describe a Wikimedia article page, such as publication or information?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q15138389> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_6113", "question": "What are the direct parent categories of a register (AC register)?", "sparql": "SELECT DISTINCT ?superclass WHERE { wd:Q23665953 wdt:P279 ?superclass .}", "paraphrases": ["What classes does an air conditioning register belong to?", "Is a register a type of grille or automotive part?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q23665953> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_6114", "question": "List 20 humans with their English labels.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?human ?humanLabel WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human rdfs:label ?humanLabel .\n  FILTER ( LANG( ?humanLabel ) = \"en\" )\n}\nLIMIT 20", "paraphrases": ["Who are 20 people listed in Wikidata with English labels, and what are their names?", "Show me up to 20 individuals classified as humans in Wikidata, along with their English-language names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 20"}}
{"id": "test_6115", "question": "What are the birth and death dates of Wilhelm Victor Alfred Tepe, the architect of St. Catherine's Cathedral in Utrecht?", "sparql": "SELECT ?architectLabel ?birthDate ?deathDate WHERE { BIND( wd:Q249119 AS ?architect ) . ?architect wdt:P31 wd:Q5 . ?architect rdfs:label ?architectLabel . FILTER(LANG(?architectLabel) = \"en\") OPTIONAL { ?architect wdt:P569 ?birthDate . } OPTIONAL { ?architect wdt:P570 ?deathDate . } }", "paraphrases": ["Who designed St. Catherine's Cathedral, and when were they born and died?", "Can you tell me the lifespan of the architect of St. Catherine's Cathedral in Utrecht?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q1627233> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6116", "question": "What are the birth and death dates of Edward Synge, and what is his name?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?birthDate ?deathDate WHERE {\n  wd:Q5345518 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    wd:Q5345518 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q5345518 wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["Can you tell me when Edward Synge was born and when he died, along with his full name?", "Provide the English label, date of birth, and date of death for the person Edward Synge."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q5345518> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6117", "question": "What are the birth and death dates of Johann Jakob Weitbrecht?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  BIND( wd:Q1443722 AS ?person ) .\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}", "paraphrases": ["Can you tell me when Johann Jakob Weitbrecht was born and when he died?", "Show me the full name, birth date, and death date of the German publisher Johann Jakob Weitbrecht."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q1443722> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6118", "question": "What are the date of birth and date of death of Lucas Cornelius Steyn?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  wd:Q3838348 wdt:P31 wd:Q5 .\n  wd:Q3838348 rdfs:label ?personLabel .\n  OPTIONAL {\n    wd:Q3838348 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q3838348 wdt:P570 ?deathDate .\n  }\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}", "paraphrases": ["Lucas Cornelius Steyn birth and death dates", "Can you tell me the full name, birth date, and death date of Lucas Cornelius Steyn, the former Chief Justice of South Africa?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q3838348> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6119", "question": "What properties link entities to community settlements in Israel, and what qualifiers are used on those links, excluding direct \"instance of\" relationships?", "sparql": "SELECT ?item ?statement ?property (SAMPLE(?qualifier) AS ?qualifierProperty)\nWHERE {\n  {\n    SELECT DISTINCT ?item ?statement ?property\n    WHERE {\n      ?statement ?statementProperty wd:Q1501046 .\n      ?item ?claimProperty ?statement .\n      ?property wikibase:statementProperty ?statementProperty .\n      ?property wikibase:claim ?claimProperty .\n      FILTER (?property != wd:P31)\n    }\n    LIMIT 101\n  }\n  OPTIONAL {\n    ?statement ?qualifier ?qualifierValue .\n  }\n}\nGROUP BY ?item ?statement ?property", "paraphrases": ["For statements connecting entities to community settlements in Israel (excluding P31), which qualifier properties are attached to them?", "Show entities connected to community settlements in Israel through non-instance-of properties, along with any qualifiers on those connections."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q1501046> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_6120", "question": "Image of the person with SNAC ARK ID w6gq7hp7", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6gq7hp7\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Douglas V. Steere in Wikidata?", "Can you show me the Wikimedia Commons image linked to the SNAC ARK ID w6gq7hp7?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6gq7hp7\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6121", "question": "What geographic and administrative regions is the village of Peta in Indonesia part of?", "sparql": "SELECT DISTINCT ?result ?resultLabel WHERE { wd:Q12505311 (wdt:P30|wdt:P17|wdt:P131|wdt:P376|wdt:P501)* ?result . FILTER (?result != wd:Q12505311) . ?result rdfs:label ?resultLabel . FILTER (lang(?resultLabel) = \"en\") } LIMIT 100", "paraphrases": ["List all countries, continents, and administrative divisions connected to Peta, Palopo, through direct or indirect relationships.", "Show me the full geographic hierarchy from Peta village up to the continent, including country and province."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q12505311> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_6122", "question": "What properties are most commonly used to link entities to the city of Maghagha, and how many times are they used?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ( COUNT( ?entity ) AS ?count ) WHERE {\n  ?entity ?property wd:Q1827283 .\n}\nGROUP BY ?property\nHAVING ( ?count > 1 )\nORDER BY DESC ( ?count )", "paraphrases": ["Which relationships connect people or data to Maghagha, and which ones appear more than once?", "How many times is Maghagha mentioned as a birthplace or reference point in Wikidata, and what other connections does it have?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q1827283> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_6123", "question": "What are all the superclass categories of the British Rail Class 700 train?", "sparql": "SELECT DISTINCT ?subclass WHERE { wd:Q14907242 wdt:P279* ?subclass . }", "paraphrases": ["What classes does the British Rail Class 700 belong to through the subclass-of relationship?", "List all the broader categories that the British Rail Class 700 is a subclass of, including indirect ones."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q14907242> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_6124", "question": "Wikidata properties for sports people and their images", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?propertyLabel ?image WHERE {\n  ?property wdt:P279 wd:Q28106456 .\n  OPTIONAL {\n    ?property wdt:P18 ?image .\n  }\n  ?property rdfs:label ?propertyLabel .\n  FILTER(LANG(?propertyLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["What are the Wikidata properties used to describe sports people, and do they have associated images?", "List all Wikidata properties that are subclasses of 'Wikidata property related to sports people', along with their English labels and any images."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q28106456> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv\", \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_6125", "question": "What image is associated with the SNAC ARK ID \"w61c22pg\"?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w61c22pg\" . OPTIONAL { ?item wdt:P18 ?image . }}", "paraphrases": ["Show me the Commons image for the entity identified by SNAC ARK ID w61c22pg.", "Find the image linked to the SNAC ARK ID w61c22pg."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w61c22pg\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6126", "question": "What are the immediate and second-level superclass categories of the British Rail Class 317?", "sparql": "SELECT DISTINCT ?subclass WHERE { { wd:Q665023 wdt:P279 ?subclass . } UNION { wd:Q665023 wdt:P279/wdt:P279 ?subclass . } }", "paraphrases": ["What classes does the British Rail Class 317 belong to, including its parent classes?", "List all the train-related classes that the British Rail Class 317 is a subclass of, up to two levels up in the hierarchy."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q665023> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_6127", "question": "Films directed by Kurt Neumann without a LdiF ID, along with their release dates and English titles.", "sparql": "SELECT ?film ?filmTitle ?publicationDate WHERE { ?film wdt:P57 wd:Q69843 . OPTIONAL { ?film wdt:P3107 ?ldifId . } ?film wdt:P1476 ?filmTitle . ?film wdt:P577 ?publicationDate . FILTER ( !BOUND(?ldifId) ) } ORDER BY ASC(?filmTitle)", "paraphrases": ["Which films did Kurt Neumann direct that don\u2019t have an entry in the Lexikon des Internationalen Films, and when were they released?", "List the English titles and release years of all movies directed by Kurt Neumann that are not listed in the Lexikon des Internationalen Films, sorted alphabetically by title."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P57> <http://www.wikidata.org/entity/Q69843> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3107> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P57> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it\". } FILTER ( ( !( BOUND ( ?var5 ) ) ) ) . } ORDER BY ASC( ?var1Label )"}}
{"id": "test_6128", "question": "Czech streets named after countries (not people) with official IDs", "sparql": "SELECT (STRAFTER(STR(?street), STR(wd:)) AS ?streetId) (STRAFTER(STR(?country), STR(wd:)) AS ?countryId)\nWHERE {\n  ?street wdt:P4533 [] .\n  VALUES (?label ?country) {\n    (\"Litevsk\u00e1\"@cs wd:Q37)\n    (\"Estonsk\u00e1\"@cs wd:Q191)\n    (\"\u0160pan\u011blsk\u00e1\"@cs wd:Q29)\n    (\"Norsk\u00e1\"@cs wd:Q20)\n    (\"Loty\u0161sk\u00e1\"@cs wd:Q211)\n    (\"Rumunsk\u00e1\"@cs wd:Q218)\n    (\"Polsk\u00e1\"@cs wd:Q36)\n    (\"N\u011bmeck\u00e1\"@cs wd:Q183)\n    (\"D\u00e1nsk\u00e1\"@cs wd:Q35)\n    (\"Rakousk\u00e1\"@cs wd:Q40)\n    (\"\u0160v\u00fdcarsk\u00e1\"@cs wd:Q39)\n  }\n  ?street rdfs:label ?label .\n  MINUS {\n    ?street wdt:P138 [] .\n  }\n}\nORDER BY ASC(?countryId)", "paraphrases": ["Which Czech streets are named after countries like Denmark or Switzerland and not after people?", "List the Czech streets with official IDs that are named after European countries in Czech (e.g., \u201cD\u00e1nsk\u00e1\u201d, \u201c\u0160v\u00fdcarsk\u00e1\u201d) and are not named after individuals."], "info": {"raw_sparql": "SELECT( STRAFTER ( STR ( ?var1 ) , STR ( <http://www.wikidata.org/entity/> ) ) AS ?var2 )( STRAFTER ( STR ( ?var3 ) , STR ( <http://www.wikidata.org/entity/> ) ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4533> [] . VALUES ( ?var5Label ?var3 ) { ( \"Litevsk\u00e1\"@cs <http://www.wikidata.org/entity/Q37> ) ( \"Mikulovsk\u00e1\"@cs <http://www.wikidata.org/entity/Q682544> ) ( \"Mimo\u0148sk\u00e1\"@cs <http://www.wikidata.org/entity/Q149229> ) ( \"Turnovsk\u00e1\"@cs <http://www.wikidata.org/entity/Q851419> ) ( \"Vla\u0161imsk\u00e1\"@cs <http://www.wikidata.org/entity/Q1000101> ) ( \"string1\"@cs <http://www.wikidata.org/entity/Q347611> ) ( \"string2\"@cs <http://www.wikidata.org/entity/Q161368> ) ( \"Barrandova\"@cs <http://www.wikidata.org/entity/Q547714> ) ( \"Bavorovsk\u00e1\"@cs <http://www.wikidata.org/entity/Q791533> ) ( \"string3\"@cs <http://www.wikidata.org/entity/Q457687> ) ( \"string4\"@cs <http://www.wikidata.org/entity/Q274171> ) ( \"Estonsk\u00e1\"@cs <http://www.wikidata.org/entity/Q191> ) ( \"\u0160pan\u011blsk\u00e1\"@cs <http://www.wikidata.org/entity/Q29> ) ( \"string5\"@cs <http://www.wikidata.org/entity/Q45> ) ( \"Norsk\u00e1\"@cs <http://www.wikidata.org/entity/Q20> ) ( \"Loty\u0161sk\u00e1\"@cs <http://www.wikidata.org/entity/Q211> ) ( \"Rumunsk\u00e1\"@cs <http://www.wikidata.org/entity/Q218> ) ( \"Polsk\u00e1\"@cs <http://www.wikidata.org/entity/Q36> ) ( \"N\u011bmeck\u00e1\"@cs <http://www.wikidata.org/entity/Q183> ) ( \"D\u00e1nsk\u00e1\"@cs <http://www.wikidata.org/entity/Q35> ) ( \"Rakousk\u00e1\"@cs <http://www.wikidata.org/entity/Q40> ) ( \"\u0160v\u00fdcarsk\u00e1\"@cs <http://www.wikidata.org/entity/Q39> ) ( \"\"@cs <http://www.wikidata.org/entity/> ) ( \"\"@cs <http://www.wikidata.org/entity/> ) ( \"\"@cs <http://www.wikidata.org/entity/> ) ( \"\"@cs <http://www.wikidata.org/entity/> ) } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P138> [] . } } ORDER BY ASC( ?var4 )"}}
{"id": "test_6129", "question": "What rivers in Russia have Russian-language Wikipedia pages but are not officially registered in the State Water Register?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?river WHERE {\n  ?river wdt:P31 wd:Q4022 .\n  ?river wdt:P17 wd:Q159 .\n  ?wikipediaPage schema:about ?river .\n  ?wikipediaPage schema:inLanguage \"ru\" . MINUS {\n    ?river wdt:P884 [] .\n  }\n}", "paraphrases": ["List rivers in Russia that are notable enough to have a Russian Wikipedia article but lack an official government water code.", "Which rivers in Russia appear on Russian Wikipedia but are missing from the national water registry?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4022> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q159> . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"ru\". MINUS { ?var1 <http://www.wikidata.org/prop/direct/P884> [] . } }"}}
{"id": "test_6130", "question": "List 100 people and their places of birth.", "sparql": "SELECT ?person ?birthPlace WHERE { ?person wdt:P19 ?birthPlace . } LIMIT 100", "paraphrases": ["Who are 100 people and where were they born?", "Show me a list of 100 individuals along with the cities where they were born."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var2 . } } LIMIT 100"}}
{"id": "test_6131", "question": "What are the names of rivers in Russia that are not registered in the State Water Register?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?var1 ?var1Label WHERE {\n  ?var1 wdt:P31 wd:Q4022 .\n  ?var1 wdt:P17 wd:Q159 .\n  ?page schema:about ?var1 ; schema:inLanguage \"ru\" ; schema:name ?var1Label .\n  OPTIONAL {\n    ?var1 wdt:P131 ?admin .\n  } MINUS {\n    ?var1 wdt:P884 ?code .\n  }\n}", "paraphrases": ["Can you list Russian rivers that don't have a State Water Register Code, along with their Russian names?", "Which rivers in Russia are missing from the State Water Register, and what are their names in Russian?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4022> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q159> . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"ru\". OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var3 . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P884> ?var4 . } MINUS { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.wikidata.org/prop/novalue/P884> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru,en\". } } GROUP BY ?var1 ?var1Label"}}
{"id": "test_6132", "question": "What country and continent is the river Vrbanja located in?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?country ?continent WHERE {\n  wd:Q642003 wdt:P17 ?country .\n  ?country wdt:P30 ?continent .\n}", "paraphrases": ["Which continent does Bosnia and Herzegovina, the country where Vrbanja flows, belong to?", "Tell me the country and continent associated with the river Vrbanja."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q642003> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_6133", "question": "What are the Russian-named rivers in Russia, and in which administrative regions are they located?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?river ?riverLabel(SAMPLE(?adminLabelTemp) AS ?adminLabel) WHERE {\n  ?river wdt:P31 wd:Q4022 .\n  ?river wdt:P17 wd:Q159 .\n  OPTIONAL {\n    ?river wdt:P131 ?admin .\n    ?admin rdfs:label ?adminLabelTemp .\n    FILTER(LANG(?adminLabelTemp) = \"ru\")\n  }\n  OPTIONAL {\n    ?river rdfs:label ?riverLabel .\n    FILTER(LANG(?riverLabel) = \"ru\")\n  } MINUS {\n    ?river wdt:P884 ?code .\n  }\n}\nGROUP BY ?river ?riverLabel", "paraphrases": ["List rivers in Russia with Russian labels, excluding those registered in the State Water Register, along with the Russian names of the regions they flow through.", "Show me Russian-language names of rivers in Russia and their administrative areas, but skip rivers that have a State Water Register Code."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( SAMPLE ( ?var2Label ) AS ?var2Label ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4022> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q159> . ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> \"ru\". OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"ru\" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"ru\" ) ) ) . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P884> ?var4 . } MINUS { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.wikidata.org/prop/novalue/P884> . } } GROUP BY ?var1 ?var1Label"}}
{"id": "test_6134", "question": "Image of Ferdinand Bruneti\u00e8re with SNAC ARK ID w69g9g13", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w69g9g13\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w69g9g13?", "Show me the Wikimedia Commons image for the person whose SNAC ARK ID is w69g9g13."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w69g9g13\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6135", "question": "What are the different types or categories that Wikidata belongs to?", "sparql": "SELECT ?instanceLabel WHERE { wd:Q2013 p:P31 ?stmt . ?stmt ps:P31 ?instance . ?instance rdfs:label ?instanceLabel . FILTER(LANG(?instanceLabel) = \"en\") }", "paraphrases": ["Can you list the categories that describe Wikidata as an entity?", "What kinds of knowledge bases or projects is Wikidata classified as?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label WHERE { <http://www.wikidata.org/entity/Q2013> <http://www.wikidata.org/prop/P31> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P31> ?var1 . OPTIONAL { ?var3 <http://www.wikidata.org/prop/qualifier/P642> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_6136", "question": "People born in 1066 with Greek labels", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?label ?birthDate WHERE {\n  ?person wdt:P569 ?birthDate .\n  OPTIONAL {\n    ?person rdfs:label ?label .\n    FILTER(LANG(?label) = \"el\")\n  }\n  FILTER(?birthDate >= \"1066-01-01T00:00:00Z\" ^^ xsd:dateTime)\n  FILTER(?birthDate <= \"1066-12-31T23:59:59Z\" ^^ xsd:dateTime)\n  FILTER(bound(?label))\n}\nORDER BY ASC(?birthDate)", "paraphrases": ["Who were the people born in the year 1066 that have a Greek-language label on Wikidata?", "List the names of historical figures born in 1066 in Greek, along with their birth dates."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P569> ?var2 . OPTIONAL { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"el\" ) ) ) . } FILTER ( ( ( ?var2 >= \"1066-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1066-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ?var1 ) ) . } ORDER BY ASC( ?var2 )"}}
{"id": "test_6137", "question": "Who are the people whose occupation is seal hunting?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person WHERE {\n  ?person wdt:P106 wd:Q1502014 .\n}", "paraphrases": ["List individuals employed in seal hunting.", "Which people have seal hunting as their job?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q36963> . }"}}
{"id": "test_6138", "question": "What medical conditions are associated with fever as a symptom?", "sparql": "SELECT ?patient WHERE { ?patient wdt:P780 wd:Q38933 } LIMIT 10", "paraphrases": ["Which diseases include fever among their symptoms?", "List conditions that commonly present with elevated body temperature."], "info": {"raw_sparql": "SELECT ?var1 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q38933> . OPTIONAL { } } LIMIT 100"}}
{"id": "test_6139", "question": "Authors of \"Anglo-Saxon Pottery: A Symposium\" and their ORCID IDs or Wikidata links.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?author ?authorLabel(COALESCE(?orcid , CONCAT(\"https://www.wikidata.org/wiki/\" , SUBSTR(STR(?author) , 32))) AS ?orcidOrLink) WHERE {\n  wd:Q42310241 wdt:P50 ?author .\n  OPTIONAL {\n    ?author wdt:P496 ?orcid .\n  }\n  ?author rdfs:label ?authorLabel .\n  FILTER(LANG(?authorLabel) = \"en\")\n}", "paraphrases": ["Who are the authors of the article \"Anglo-Saxon Pottery: A Symposium\", and do they have ORCID identifiers? If not, what are their Wikidata URLs?", "List the English names of the authors of \"Anglo-Saxon Pottery: A Symposium\" along with their ORCID IDs if available; otherwise, provide a link to their Wikidata page."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COALESCE ( ?var2 , CONCAT ( \"string1\", ENCODE_FOR_URI ( ?var1Label ) ) ) AS ?var3 ) WHERE { <http://www.wikidata.org/entity/Q42310241> <http://www.wikidata.org/prop/direct/P50> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,da,de,es,fr,nl,no,ru,sv,zh\". } }"}}
{"id": "test_6140", "question": "Is Elvis Presley a human?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX hint: <http://www.bigdata.com/queryHints#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  wd:Q303(wdt:P31 / wdt:P279 *) wd:Q5 .\n  hint:Prior hint:gearing \"forwards\" .\n}", "paraphrases": ["Does Elvis Presley belong to the category of human beings?", "Is Elvis Presley classified as a person in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q2631227> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6141", "question": "Is Padre considered software?", "sparql": "ASK WHERE { wd:Q7123927 wdt:P31 ?class . ?class wdt:P279* wd:Q7397 . }", "paraphrases": ["Does Padre belong to a category that is a type of software?", "Is Padre an example of software, either directly or through its classification hierarchy?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q7123927> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6142", "question": "Chemical compounds linked to chaetoxanthone C and their properties", "sparql": "SELECT ?compound ?compoundLabel ?property ?propertyLabel WHERE { ?compound ?property wd:Q27134079 . ?compound rdfs:label ?compoundLabel . FILTER(STRSTARTS(STR(?property), \"http://www.wikidata.org/prop/direct/\")) BIND(IRI(REPLACE(STR(?property), \"http://www.wikidata.org/prop/direct/\", \"http://www.wikidata.org/entity/\")) AS ?propertyItem) . ?propertyItem rdfs:label ?propertyLabel . FILTER(LANG(?compoundLabel) = \"en\") FILTER(LANG(?propertyLabel) = \"en\") }", "paraphrases": ["Which chemical compounds have chaetoxanthone C as their main subject, and what property is used to link them?", "Show me the chemical compounds that are associated with chaetoxanthone C and the labels of the properties used to connect them."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label WHERE { ?var3 <http://wikiba.se/ontology#claim> ?var5 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#qualifier> ?var7 . ?var3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var4 <http://wikiba.se/ontology#claim> ?var8 . ?var4 <http://wikiba.se/ontology#qualifier> ?var9 . ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var1 ?var5 ?var10 . ?var10 ?var6 ?var2 . ?var10 ?var9 <http://www.wikidata.org/entity/Q27134079> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6143", "question": "Number of works citing \"Cooperative Behavior in the Ultimatum Game and Prisoner's Dilemma Depends on Players' Contributions\" by year, grouped by whether they have authors.", "sparql": "SELECT ?year (COUNT(DISTINCT ?citingWork) AS ?count) ?hasAuthor WHERE { BIND(wd:Q33804458 AS ?targetArticle) . ?citingWork wdt:P2860 ?targetArticle . ?citingWork wdt:P577 ?pubDate . BIND(STR(YEAR(?pubDate)) AS ?year) . BIND(IF(EXISTS { ?citingWork wdt:P50 [] }, \"has author\", \"no author\") AS ?hasAuthor) } GROUP BY ?year ?hasAuthor ORDER BY DESC(?year)", "paraphrases": ["How many works citing the article \"Cooperative Behavior in the Ultimatum Game and Prisoner's Dilemma Depends on Players' Contributions\" were published each year, and do those works have listed authors?", "Show me the count of citing works for the article \"Cooperative Behavior in the Ultimatum Game and Prisoner's Dilemma Depends on Players' Contributions\", broken down by publication year and whether they have authors."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q33804458> AS ?var5 ). ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var5 . OPTIONAL { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> ?var6 . } , \"string1\", \"string2\" ) AS ?var4 ). ?var5 <http://www.wikidata.org/prop/direct/P50> ?var6 . } BIND ( STR ( YEAR ( ?var7 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P577> ?var7 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_6144", "question": "Which Wikidata entities have Twitter handles \"franceinfo\", \"fhollande\", \"al_rousset\", \"Elysee\", or \"LCP\"?", "sparql": "SELECT ?item ?handle WHERE { ?item wdt:P2002 ?handle . VALUES ?handle { \"franceinfo\" \"fhollande\" \"al_rousset\" \"Elysee\" \"LCP\" } }", "paraphrases": ["Who are the people or organizations on Wikidata with the Twitter usernames \"franceinfo\", \"fhollande\", \"al_rousset\", \"Elysee\", or \"LCP\"?", "List the entities from Wikidata that are associated with the Twitter handles: franceinfo, fhollande, al_rousset, Elysee, and LCP."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"aqui_fr\" ) ( \"string2\" ) ( \"Elysee\" ) ( \"fhollande\" ) ( \"al_rousset\" ) ( \"franceinfo\" ) ( \"MehdiYanis\" ) ( \"string3\" ) ( \"LCP\" ) ( \"string4\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6145", "question": "Works with multiple main subjects and their topics", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE {\n  ?work wdt:P921 ?var1 , ?var2 .\n  FILTER(?var1 != ?var2)\n  OPTIONAL {\n    ?var1 rdfs:label ?var1Label .\n    FILTER(LANG(?var1Label) = \"en\")\n  }\n  OPTIONAL {\n    ?var2 rdfs:label ?var2Label .\n    FILTER(LANG(?var2Label) = \"en\")\n  }\n}\nLIMIT 10", "paraphrases": ["What pairs of main subjects are associated with the same work on Wikidata?", "Show me pairs of different main subjects that appear together on the same work."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q46183446> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P361> +) <http://www.wikidata.org/entity/Q46183446> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P1269> +) <http://www.wikidata.org/entity/Q46183446> . } ?var3 <http://www.wikidata.org/prop/direct/P921> ?var1 , ?var2 . FILTER ( ( ( <http://www.wikidata.org/entity/Q46183446> != ?var1 ) && ( <http://www.wikidata.org/entity/Q46183446> != ?var2 ) && ( ?var1 != ?var2 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_6146", "question": "Number of terms considered equivalent to engineering in Wikidata", "sparql": "SELECT (COUNT(?item) AS ?count) WHERE { ?item wdt:P460 wd:Q11023 . }", "paraphrases": ["How many entities are said to be the same as engineering in Wikidata?", "List how many alternative names for engineering are recognized as equivalent in Wikidata."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P460> <http://www.wikidata.org/entity/Q11023> . }"}}
{"id": "test_6147", "question": "What are some types of leave of absence?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?subclass ?subclassLabel WHERE {\n  ?subclass wdt:P279 wd:Q13561011 .\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER ( LANG( ?subclassLabel ) = \"en\" )\n}", "paraphrases": ["Can you list the subclasses of leave of absence in English?", "What are examples of specific kinds of leave from work, such as maternity or furlough?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { BIND ( <http://www.wikidata.org/entity/Q13561011> AS ?var2 ). ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 ; <http://www.wikidata.org/prop/direct/P279> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_6148", "question": "What work is the 1972 film *The Godfather* directly based on?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestor ?ancestorLabel WHERE {\n  {\n    wd:Q47703 wdt:P144 ?ancestor .\n    OPTIONAL {\n      ?ancestor rdfs:label ?ancestorLabel .\n      FILTER(LANG(?ancestorLabel) = \"en\")\n    }\n  } UNION {\n    wd:Q47703 wdt:P144 ?level1 .\n    ?level1 wdt:P144 ?ancestor .\n    OPTIONAL {\n      ?ancestor rdfs:label ?ancestorLabel .\n      FILTER(LANG(?ancestorLabel) = \"en\")\n    }\n  } UNION {\n    wd:Q47703 wdt:P144 ?level1 .\n    ?level1 wdt:P144 ?level2 .\n    ?level2 wdt:P144 ?ancestor .\n    OPTIONAL {\n      ?ancestor rdfs:label ?ancestorLabel .\n      FILTER(LANG(?ancestorLabel) = \"en\")\n    }\n  }\n}", "paraphrases": ["What are the source works that inspired *The Godfather* movie, going up to three levels deep?", "Can you show me the chain of inspiration behind *The Godfather* film, starting from its original source?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7593> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Reverse\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> \"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P144> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P144> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6149", "question": "Which countries observe which holidays as public holidays?", "sparql": "SELECT ?country ?holiday WHERE { ?country wdt:P832 ?holiday . ?holiday wdt:P31 wd:Q1445650 . } OFFSET 20 LIMIT 10", "paraphrases": ["What are the public holidays in each country, where the holiday is classified as a general holiday?", "List 10 public holidays (that are classified as holidays) along with the countries that celebrate them, starting from the 21st result."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P793> ) <http://www.wikidata.org/entity/Q1445650> . ?var1 <http://www.wikidata.org/prop/direct/P832> ?var2 . } OFFSET 20 LIMIT 10"}}
{"id": "test_6150", "question": "What are the subclasses of megalithic tomb?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subclass ?subclassLabel WHERE {\n  ?subclass wdt:P279 wd:Q10521078 .\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER(LANG(?subclassLabel) = \"en\")\n}", "paraphrases": ["Can you list the types of megalithic tombs, such as dolmens and passage graves, that are classified under this category?", "Show me the English-labeled subclasses of the megalithic tomb category in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { BIND ( <http://www.wikidata.org/entity/Q10521078> AS ?var2 ). ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 ; <http://www.wikidata.org/prop/direct/P279> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_6151", "question": "What are some examples of genes?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?gene WHERE {\n  ?gene wdt:P31 wd:Q7187 .\n}", "paraphrases": ["List all items that are instances of the gene class in Wikidata.", "Show me the genes in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q7187> . }"}}
{"id": "test_6152", "question": "What are the taxonomic ancestors of the lion?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?ancestor ?ancestorLabel WHERE {\n  wd:Q140 wdt:P171 * ?ancestor .\n  ?ancestor rdfs:label ?ancestorLabel .\n  FILTER ( LANG( ?ancestorLabel ) = \"en\" )\n}", "paraphrases": ["Show me the biological classification hierarchy of the lion, including all higher taxa up to kingdom, with their English names.", "List all the scientific names of the groups that the lion belongs to, from species up to the highest taxonomic rank."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q140> <http://www.wikidata.org/prop/direct/P171> * ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P171> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6153", "question": "Which Wikidata entities have the Twitter usernames \"elonmusk\", \"BarackObama\", or \"NASA\"?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"elonmusk\" \"BarackObama\" \"NASA\" } }", "paraphrases": ["Who are the people or organizations on Wikidata with the Twitter handles \"elonmusk\", \"BarackObama\", and \"NASA\"?", "Show me the Wikidata items that are linked to the Twitter accounts @elonmusk, @BarackObama, and @NASA."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"xxdamouxx\" ) ( \"string2\" ) ( \"Splifux\" ) ( \"string3\" ) ( \"BonnardDam\" ) ( \"string4\" ) ( \"string5\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6154", "question": "People who died in 1945", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person ?personLabel WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P570 ?deathDate .\n  FILTER ( ?deathDate >= \"1945-01-01T00:00:00Z\" ^^ xsd:dateTime && ?deathDate <= \"1946-01-01T00:00:00Z\" ^^ xsd:dateTime ) .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}", "paraphrases": ["Who were the humans that died in 1945?", "List the English names of all people who died between January 1, 1945, and December 31, 1945."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . FILTER ( ( ( ?var2 >= \"1945-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1946-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_6155", "question": "Which Wikidata items have Twitter handles 'EcoleduTNS', 'IerActe', 'thnet', 'IoGazette', or 'T2G_tweet'?", "sparql": "SELECT ?item ?twitterHandle WHERE { ?item wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { \"EcoleduTNS\" \"IerActe\" \"thnet\" \"IoGazette\" \"T2G_tweet\" } } ORDER BY DESC(wikibase:sitelinks)", "paraphrases": ["What entities on Wikidata are associated with the Twitter usernames 'T2G_tweet', 'IoGazette', 'thnet', 'IerActe', or 'EcoleduTNS'?", "Show me the Wikidata items that use any of these Twitter handles: 'EcoleduTNS', 'IerActe', 'thnet', 'IoGazette', or 'T2G_tweet', sorted by how widely they are referenced across Wikipedia languages."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"EcoleduTNS\" ) ( \"IerActe\" ) ( \"string3\" ) ( \"thnet\" ) ( \"IoGazette\" ) ( \"string4\" ) ( \"T2G_tweet\" ) ( \"string5\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6156", "question": "Which organizations have Twitter handles \"LesEchos\", \"ARTEfr\", \"lemondefr\", or \"lesinrocks\", sorted by number of Wikipedia links?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterHandle WHERE {\n  ?item wdt:P2002 ?twitterHandle .\n  FILTER ( ?twitterHandle IN ( \"LesEchos\" , \"ARTEfr\" , \"lemondefr\" , \"lesinrocks\" ) )\n}\nORDER BY ASC ( ?sitelinkCount )", "paraphrases": ["What entities on Wikidata use the Twitter usernames \"LesEchos\", \"ARTEfr\", \"lemondefr\", or \"lesinrocks\", and which ones have the fewest Wikipedia language versions?", "List the entities associated with the Twitter handles \"LesEchos\", \"ARTEfr\", \"lemondefr\", and \"lesinrocks\", ordered by their sitelink count in ascending order."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"yewan75\" ) ( \"_MDT_\" ) ( \"Isatagada\" ) ( \"string5\" ) ( \"Ga_el0068\" ) ( \"lesinrocks\" ) ( \"pchevilley\" ) ( \"LesEchos\" ) ( \"Radio_NEO\" ) ( \"ARTEfr\" ) ( \"string6\" ) ( \"lemondefr\" ) ( \"yuminghey\" ) ( \"AgenceMYRA\" ) ( \"string7\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6157", "question": "Which Wikidata items have Twitter/X usernames: franceinfo, lemondefr, LesEchos, LePoint, LaVillette, or DLDanse?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterHandle WHERE {\n  ?item wdt:P2002 ?twitterHandle .\n  VALUES ?twitterHandle {\n    \"franceinfo\" \"lemondefr\" \"LesEchos\" \"LePoint\" \"LaVillette\" \"DLDanse\"\n  }\n}\nORDER BY ASC ( ?twitterHandle )", "paraphrases": ["What are the Wikidata entities associated with the Twitter handles \"franceinfo\", \"lemondefr\", \"LesEchos\", \"LePoint\", \"LaVillette\", and \"DLDanse\"?", "List all Wikidata items that are linked to any of these Twitter accounts: franceinfo, lemondefr, LesEchos, LePoint, LaVillette, DLDanse."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"LaVillette\" ) ( \"string7\" ) ( \"DisputeFC\" ) ( \"BHlepoint\" ) ( \"LePoint\" ) ( \"string8\" ) ( \"VMDNRFI\" ) ( \"string9\" ) ( \"DLDanse\" ) ( \"string10\" ) ( \"string11\" ) ( \"franceinfo\" ) ( \"lemondefr\" ) ( \"axelit0\" ) ( \"CultureEtc\" ) ( \"string12\" ) ( \"string13\" ) ( \"pchevilley\" ) ( \"LesEchos\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6158", "question": "Types of counties in the United States", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?countyType ?countyTypeLabel WHERE {\n  ?countyType wdt:P279 wd:Q47168 .\n  ?countyType rdfs:label ?countyTypeLabel .\n  FILTER(LANG(?countyTypeLabel) = \"en\")\n}", "paraphrases": ["What are the different kinds of counties in the United States, such as state-specific counties or consolidated city-counties?", "List all the types of U.S. counties, including those specific to each state and consolidated city-counties, with their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ca,en\". } ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q47168> . }"}}
{"id": "test_6159", "question": "Hackspaces in Germany", "sparql": "SELECT ?label WHERE { ?hackspace wdt:P31 wd:Q1032372 . ?hackspace wdt:P17 wd:Q183 . ?hackspace rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["What are the names of hackspaces located in Germany?", "List the English labels of all hackspaces (makerspaces) in Germany."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1032372> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_6160", "question": "First-level administrative divisions in Portugal", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?administrativeDivision WHERE {\n  ?administrativeDivision ( wdt:P31 / wdt:P279 * ) wd:Q10864048 ; wdt:P17 wd:Q45 .\n}", "paraphrases": ["What are the first-level administrative divisions of Portugal according to Wikidata?", "List all entities in Portugal that are classified as first-level administrative divisions, including their subclasses."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q10864048> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q45> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6161", "question": "Image of Henry St John, 1st Viscount Bolingbroke using SNAC ARK ID w61v5w0d", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w61v5w0d\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w61v5w0d?", "Show me the Wikimedia Commons image for the person identified by SNAC ARK ID w61v5w0d."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w61v5w0d\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6162", "question": "What regions and organizations are part of the People's Republic of China?", "sparql": "SELECT ?part ?partLabel WHERE { ?part wdt:P361 wd:Q148 . ?part rdfs:label ?partLabel . FILTER(LANG(?partLabel) = \"en\")}", "paraphrases": ["Parts of China including provinces, territories, and military branches.", "List all entities that are components of the People's Republic of China."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q148> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_6163", "question": "Things located in Athens with English labels", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P131 wd:Q1524 . ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") .}", "paraphrases": ["What entities are located in Athens, and what are their English names?", "List all items administratively located in Athens along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q1524> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . }"}}
{"id": "test_6164", "question": "What is the image of Edmund P. Gaines as identified by the SNAC ARK ID w6jd4wtz?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6jd4wtz\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Can you show me the Wikimedia Commons image associated with the person having SNAC ARK ID w6jd4wtz?", "Which image is linked to the Social Networks and Archival Context (SNAC) record w6jd4wtz?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6jd4wtz\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6165", "question": "Entities related to African Americans, sorted by how many statements they have, top 100.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?entity ?entityLabel(COUNT(?statement) AS ?statementCount) WHERE {\n  ?entity ?property wd:Q49085 .\n  ?entity ?statement ?value .\n  ?entity rdfs:label ?entityLabel .\n  FILTER(LANG(?entityLabel) = \"en\")\n}\nGROUP BY ?entity ?entityLabel\nORDER BY ASC(?statementCount) ASC(?entity)\nLIMIT 100", "paraphrases": ["Which entities are associated with African Americans, and how many statements does each have, ordered from least to most documented?", "Show me the top 100 entities connected to African Americans, along with their English labels and statement counts, sorted by how well-documented they are."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE { { SELECT * WHERE { ?var1 ?var4 <http://www.wikidata.org/entity/Q49085> . ?var1 <http://wikiba.se/ontology#statements> ?var3 . } ORDER BY ASC( ?var3 )ASC( ?var1 ) LIMIT 100 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY ASC( ?var3 )ASC( ?var1 )"}}
{"id": "test_6166", "question": "Entities connected to Vermont sorted by number of statements", "sparql": "SELECT ?item ?itemLabel (COUNT(?statement) AS ?statementCount)\nWHERE {\n  ?item ?p wd:Q16551 .\n  ?item ?statement ?value .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = 'en')\n  FILTER NOT EXISTS { ?item wdt:P31/wdt:P279* wd:Q186162 }\n}\nGROUP BY ?item ?itemLabel\nORDER BY ASC(?statementCount) ASC(?item)\nLIMIT 100", "paraphrases": ["What are the entities related to Vermont with the fewest statements in Wikidata?", "List the top 100 entities associated with Vermont, ordered by how many claims they have, showing their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE { { SELECT * WHERE { ?var1 ?var4 <http://www.wikidata.org/entity/Q16551> . ?var1 <http://wikiba.se/ontology#statements> ?var3 . } ORDER BY ASC( ?var3 )ASC( ?var1 ) LIMIT 100 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY ASC( ?var3 )ASC( ?var1 )"}}
{"id": "test_6167", "question": "List geolocated places in northern Canada and Greenland with coordinates between 50\u00b0N\u201360\u00b0N and 80\u00b0W\u201365\u00b0W, including their images and Wikimedia Commons categories.", "sparql": "SELECT ?item ?itemLabel ?location ?image ?commonsCategory ?address WHERE { ?item wdt:P625 ?location . BIND(SUBSTR(STR(?location), 7) AS ?coords) BIND(STRBEFORE(?coords, \" \") AS ?longStr) BIND(STRAFTER(?coords, \" \") AS ?latStr) BIND(xsd:double(?longStr) AS ?long) BIND(xsd:double(SUBSTR(?latStr, 1, STRLEN(?latStr)-1)) AS ?lat) FILTER(?lat >= 50 && ?lat <= 60 && ?long >= -80 && ?long <= -65) OPTIONAL { ?item wdt:P18 ?image . } OPTIONAL { ?item wdt:P373 ?commonsCategory . } OPTIONAL { ?item wdt:P969 ?address . } ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } GROUP BY ?item ?itemLabel ?location ?image ?commonsCategory ?address ORDER BY ?itemLabel LIMIT 3000", "paraphrases": ["What lakes, islands, and other geographic features in eastern Canada and Greenland have coordinates within the range of 50 to 60 degrees north and 65 to 80 degrees west, and what images or Commons categories are associated with them?", "Show me all named geographic locations between 50\u00b0N and 60\u00b0N latitude and 65\u00b0W and 80\u00b0W longitude, along with their English names, any associated images from Wikimedia Commons, Commons categories, and street addresses if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"string1\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(-65 60)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string2\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_6168", "question": "Urban areas in Sweden and their corresponding provinces", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?provinceLabel ?urbanArea ?urbanAreaLabel WHERE {\n  ?urbanArea wdt:P31 wd:Q12813115 .\n  ?urbanArea wdt:P131 ?province .\n  ?province wdt:P31 wd:Q193556 .\n  ?province rdfs:label ?provinceLabel .\n  ?urbanArea rdfs:label ?urbanAreaLabel .\n  FILTER(LANG(?provinceLabel) = \"en\" || LANG(?provinceLabel) = \"\")\n  FILTER(LANG(?urbanAreaLabel) = \"en\" || LANG(?urbanAreaLabel) = \"\")\n}\nORDER BY ASC(?provinceLabel) ASC(?urbanAreaLabel)", "paraphrases": ["Which urban areas in Sweden are located in each province, and what are their names?", "Show me a list of all urban areas (t\u00e4torter) in Sweden, grouped by the province they belong to, with their English labels."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var2Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q12813115> . ?var2 <http://www.wikidata.org/prop/direct/P131> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q193556> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv,en\". } } ORDER BY ASC( ?var1Label )ASC( ?var2Label )"}}
{"id": "test_6169", "question": "List all urban areas and minor localities in Sweden with their provinces.", "sparql": "SELECT ?settlementLabel ?provinceLabel WHERE {  VALUES ?type { wd:Q14839548 wd:Q12813115 }  ?settlement wdt:P31 ?type .  ?settlement wdt:P17 wd:Q34 .  ?settlement rdfs:label ?settlementLabel .  FILTER(LANG(?settlementLabel) = \"en\")  OPTIONAL {    ?settlement wdt:P131 ?province .    ?province wdt:P31 wd:Q193556 .    ?province rdfs:label ?provinceLabel .    FILTER(LANG(?provinceLabel) = \"en\")  }} ORDER BY ASC(?settlementLabel)", "paraphrases": ["What are the English names of urban areas and minor localities in Sweden, and in which Swedish provinces are they located?", "Show me the names of all small settlements (t\u00e4tort and sm\u00e5ort) in Sweden and the historical provinces they belong to, if any."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q14839548> ) ( <http://www.wikidata.org/entity/Q12813115> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q34> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q193556> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv,en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_6170", "question": "Which entities on Wikidata have Twitter usernames including UnivTours, IEA, FunMooc, Assystem, ch_bouchet, PBelaval, SFENorg, F3Centre, or Egal_FH?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"UnivTours\" \"IEA\" \"FunMooc\" \"Assystem\" \"ch_bouchet\" \"PBelaval\" \"SFENorg\" \"F3Centre\" \"Egal_FH\"\n  }\n}\nORDER BY ?username", "paraphrases": ["What are the Wikidata items associated with the Twitter usernames \"UnivTours\", \"IEA\", \"FunMooc\", \"Assystem\", \"ch_bouchet\", \"PBelaval\", \"SFENorg\", \"F3Centre\", and \"Egal_FH\"?", "List all Wikidata entities that use any of these Twitter handles: UnivTours, IEA, FunMooc, Assystem, ch_bouchet, PBelaval, SFENorg, F3Centre, or Egal_FH."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"SFENjg\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"SFENorg\" ) ( \"FunMooc\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"Assystem\" ) ( \"string12\" ) ( \"string13\" ) ( \"string14\" ) ( \"string15\" ) ( \"string16\" ) ( \"string17\" ) ( \"string18\" ) ( \"string19\" ) ( \"string20\" ) ( \"string21\" ) ( \"string22\" ) ( \"F3Centre\" ) ( \"FBTouraine\" ) ( \"TVTOURS\" ) ( \"NR_Tours\" ) ( \"NR_Chinon\" ) ( \"ch_bouchet\" ) ( \"string23\" ) ( \"string24\" ) ( \"NRJTOURS37\" ) ( \"ToursLive\" ) ( \"cg371\" ) ( \"IEA\" ) ( \"string25\" ) ( \"string26\" ) ( \"Twitter\" ) ( \"string27\" ) ( \"string28\" ) ( \"Loudunet\" ) ( \"LoudunInfo\" ) ( \"string29\" ) ( \"string30\" ) ( \"string31\" ) ( \"string32\" ) ( \"LeCMN\" ) ( \"UnivTours\" ) ( \"string33\" ) ( \"string34\" ) ( \"string35\" ) ( \"Egal_FH\" ) ( \"string36\" ) ( \"string37\" ) ( \"PBelaval\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6171", "question": "List all minor localities and urban areas in Sweden with their provinces in Swedish.", "sparql": "SELECT DISTINCT ?locality ?localityLabel ?provinceLabel WHERE {  VALUES ?localityType { wd:Q14839548 wd:Q12813115 }  ?locality wdt:P31 ?localityType .  ?locality wdt:P17 wd:Q34 .  ?locality wdt:P131 ?province .  ?province wdt:P31 wd:Q193556 .  ?locality rdfs:label ?localityLabel .  ?province rdfs:label ?provinceLabel .  FILTER(LANG(?localityLabel) = \"sv\")  FILTER(LANG(?provinceLabel) = \"sv\")} ORDER BY ASC(?locality)", "paraphrases": ["What are the Swedish towns and urban areas, and which provinces are they located in?", "Show me all the small settlements and urban areas in Sweden along with the Swedish names of the provinces they belong to."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q14839548> ) ( <http://www.wikidata.org/entity/Q912813115> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q34> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q193556> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv,en\". } FILTER ( ( BOUND ( ?var2 ) ) ) . } ORDER BY ASC( ?var1 )"}}
{"id": "test_6172", "question": "Swedish urban areas and minor localities spanning multiple municipalities", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?place ( COUNT( ?municipality ) AS ?municipalityCount ) WHERE {\n  VALUES ?placeType {\n    wd:Q14839548 wd:Q12813115\n  }\n  ?place wdt:P31 ?placeType .\n  ?place wdt:P17 wd:Q34 .\n  ?place wdt:P131 ?municipality .\n  ?municipality wdt:P31 wd:Q127448 .\n}\nGROUP BY ?place\nHAVING ( ?municipalityCount > 1 )\nORDER BY DESC ( ?municipalityCount ) ASC ( ?place )", "paraphrases": ["Which towns and urban areas in Sweden are located in more than one municipality?", "List all Swedish minor localities and urban areas that cross municipal boundaries, sorted by how many municipalities they span."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { VALUES ( ?var4 ) { ( <http://www.wikidata.org/entity/Q14839548> ) ( <http://www.wikidata.org/entity/Q12813115> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q34> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q127448> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv,en\". } } GROUP BY ?var1 ?var1Label HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )ASC( ?var1Label )"}}
{"id": "test_6173", "question": "What are all the parts (direct and indirect) of the Grebbe Line and their coordinates?", "sparql": "SELECT ?part ?partLabel ?coordinates WHERE { ?part wdt:P361* wd:Q18775429 . OPTIONAL { ?part wdt:P625 ?coordinates . } ?part rdfs:label ?partLabel .}", "paraphrases": ["Which defensive structures are part of the Grebbe Line, and where are they located geographically?", "List all components of the Grebbe Line, including subcomponents, along with their geographic coordinates and names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P361> * <http://www.wikidata.org/entity/Q18775429> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } }"}}
{"id": "test_6174", "question": "Most frequently used property linking Manhattan Transfer (novel) to another entity", "sparql": "SELECT ?directProperty (COUNT(?directProperty) AS ?count) WHERE { { SELECT ?directProperty WHERE { ?item ?statementProperty wd:Q1648409 . ?directProperty wikibase:directClaim ?statementProperty . ?directProperty rdf:type wikibase:Property . } LIMIT 10000 } } GROUP BY ?directProperty ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which property is most commonly used to relate the novel \"Manhattan Transfer\" to a different entity it might be confused with?", "Show me the property that connects the novel Manhattan Transfer to another entity it is distinguished from, ordered by usage frequency, and return only the most used one."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q1648409> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_6175", "question": "What are the most common Library of Congress subject headings (LCSH) starting with \"sh\" by entity type?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?type(COUNT(DISTINCT ?item) AS ?count) WHERE {\n  ?item wdt:P244 ?lccn .\n  ?item wdt:P31 ?type .\n  FILTER(REGEX(STR(?lccn) , \"^sh\" , \"i\"))\n}\nGROUP BY ?type\nORDER BY DESC(?count)\nLIMIT 100", "paraphrases": ["Which types of entities (like rivers, ethnic groups, or taxa) are most frequently represented as Library of Congress subject headings that begin with \"sh\"?", "Show me the top 100 types of entities that have Library of Congress authority records starting with \"sh\", ordered by how many such records exist for each type."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P244> ?var4 . ?var2 <http://www.wikidata.org/prop/direct/P31> ?var1 . FILTER ( ( REGEX ( STR ( ?var4 ) , \"^sh\", \"i\" ) ) ) . } GROUP BY ?var1 ORDER BY DESC( ?var3 ) LIMIT 100"}}
{"id": "test_6176", "question": "Components of architectural heritage monuments and their qualifiers", "sparql": "SELECT ?item ?statement (SAMPLE(?qualifierProperty) AS ?qualifier) WHERE { ?item p:P361 ?statement . ?statement ps:P361 wd:Q811165 . OPTIONAL { ?statement ?qualifierProperty ?qualifierValue . ?qualifierProperty wikibase:qualifier true . } } GROUP BY ?item ?statement LIMIT 100", "paraphrases": ["Which buildings are part of architectural heritage monuments, and what qualifiers are attached to those relationships?", "List all items that are part of architectural heritage monuments, along with any qualifier properties used in those associations."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P361> <http://www.wikidata.org/entity/Q811165> . ?var1 <http://www.wikidata.org/prop/P361> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_6177", "question": "Which Wikidata entity has the Twitter username \"FFRugby\"?", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ?entity ?handle ?label WHERE {\n  ?entity p:P2002 ?statement .\n  ?statement ps:P2002 \"FFRugby\" .\n  ?entity rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["What is the name of the organization that uses @FFRugby on Twitter?", "Show me the English label of the entity linked to the Twitter handle FFRugby."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"FFRugby\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"RugbySdus\" ) ( \"string10\" ) ( \"leJSD\" ) ( \"string11\" ) ( \"string12\" ) ( \"string13\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6178", "question": "Which Wikidata items have Twitter handles \"TwistoCaen\" or \"Prefet14\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterHandle WHERE {\n  ?item wdt:P2002 ?twitterHandle .\n  VALUES ?twitterHandle {\n    \"TwistoCaen\" \"Prefet14\"\n  }\n}", "paraphrases": ["What public entities in Caen, France, are associated with the Twitter usernames \"TwistoCaen\" and \"Prefet14\" on Wikidata?", "List the Wikidata entries for the Caen-area organizations Twisto and the Prefect of Calvados, using their Twitter handles."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"Prefet14\" ) ( \"string2\" ) ( \"string3\" ) ( \"Caenlamer\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"TwistoCaen\" ) ( \"HSC_14200\" ) ( \"string7\" ) ( \"string8\" ) ( \"Epron14\" ) ( \"string9\" ) ( \"string10\" ) ( \"CCIdeCaen\" ) ( \"CaenDev\" ) ( \"string11\" ) ( \"string12\" ) ( \"string13\" ) ( \"string14\" ) ( \"string15\" ) ( \"KeolisCaen\" ) ( \"string16\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6179", "question": "Which types of entities in Wikidata are most commonly linked to both FAST and VIAF authority IDs?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?type(COUNT(DISTINCT ?item) AS ?count) WHERE {\n  ?item wdt:P31 ?type .\n  ?item wdt:P2163 ?fastId .\n  ?item wdt:P214 ?viafId .\n}\nGROUP BY ?type\nORDER BY DESC(?count)", "paraphrases": ["How many entities of each type have both a FAST ID and a VIAF ID, and which types are most frequently identified by both?", "Show me a ranked list of entity types based on how many of their instances are assigned both FAST and VIAF identifiers."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> ?var1 . ?var2 <http://www.wikidata.org/prop/direct/P2163> ?var4 . ?var2 <http://www.wikidata.org/prop/direct/P214> ?var5 . } GROUP BY ?var1 ORDER BY DESC( ?var3 )"}}
{"id": "test_6180", "question": "Films directed by Chilean film directors who studied at Spanish-named universities in Chile.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?universityLabel ?film WHERE {\n  ?director wdt:P31 wd:Q5 .\n  ?director wdt:P106 wd:Q2526255 .\n  ?director wdt:P69 ?university .\n  ?university wdt:P31 wd:Q3918 .\n  ?university wdt:P17 wd:Q298 .\n  ?university rdfs:label ?universityLabel .\n  ?film wdt:P57 ?director .\n  FILTER(LANG(?universityLabel) = \"es\")\n}", "paraphrases": ["Which films were directed by people who studied at universities in Chile and whose university names are in Spanish?", "List the films and the Spanish-language names of the Chilean universities attended by their directors."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . ?var3 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q2526255> . ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3918> . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . ?var5 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q298> . ?var3 <http://www.wikidata.org/prop/direct/P69> ?var5 . ?var2 <http://www.wikidata.org/prop/direct/P57> ?var3 . FILTER ( ( ( LANG ( ?var1 ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var6 ) = \"es\" ) ) ) . }"}}
{"id": "test_6181", "question": "What are some specific types of head of state positions?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var2 ?label WHERE {\n  ?var2 wdt:P279 wd:Q48352 .\n  ?var2 rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Which official positions are classified as subclasses of \"head of state\" in Wikidata?", "List the English names of all known head-of-state roles, such as president or emir, that are subclasses of the general head of state position."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var2 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q48352> . } LIMIT 100"}}
{"id": "test_6182", "question": "Polish family names with country of origin in Poland", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?surname ?surnameLabel WHERE {\n  ?surname wdt:P31 wd:Q101352 ; wdt:P495 wd:Q36 .\n  ?surname rdfs:label ?surnameLabel .\n  FILTER(LANG(?surnameLabel) = \"en\")\n}", "paraphrases": ["What are some Polish surnames listed in Wikidata?", "List English-labeled family names that originate from Poland."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q8436> ; <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q36> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } }"}}
{"id": "test_6183", "question": "Events held at the Leipzig fairgrounds", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?event WHERE {\n  ?event wdt:P276 wd:Q46967564 .\n}", "paraphrases": ["What events have taken place at the Leipzig fairgrounds?", "List all events that occurred at the Congress Center Leipzig."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P276> <http://www.wikidata.org/entity/Q46967564> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_6184", "question": "Which Wikidata items have the Twitter usernames \"MuckRock\" or \"wikidata\"?", "sparql": "SELECT ?item ?twitterUsername WHERE { VALUES ?twitterUsername { \"MuckRock\" \"wikidata\" } ?item wdt:P2002 ?twitterUsername . }", "paraphrases": ["What entities on Wikidata are associated with the Twitter handles \"MuckRock\" and \"wikidata\"?", "Show me the Wikidata items that use \"MuckRock\" or \"wikidata\" as their Twitter username."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"Ludovic_P_\" ) ( \"string1\" ) ( \"PoulpyWP\" ) ( \"zaibatsu\" ) ( \"pijeed\" ) ( \"string2\" ) ( \"string3\" ) ( \"Chaoborus\" ) ( \"ash_crow\" ) ( \"WikiMoyg\" ) ( \"sappiotti\" ) ( \"le_gorafi\" ) ( \"Auregann\" ) ( \"string4\" ) ( \"Teolemon\" ) ( \"string5\" ) ( \"brightbyte\" ) ( \"Pymouss\" ) ( \"InseeFr\" ) ( \"wikidata\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"amaranto__\" ) ( \"yannbisiou\" ) ( \"string9\" ) ( \"cdaenerys\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) ( \"Gjpvernant\" ) ( \"string13\" ) ( \"borborigm\" ) ( \"JeanSeb\" ) ( \"K_rho\" ) ( \"string14\" ) ( \"garydagorn\" ) ( \"UnGarage\" ) ( \"string15\" ) ( \"MicroSFF\" ) ( \"MuckRock\" ) ( \"Ostpolitik\" ) ( \"string16\" ) ( \"form_pro\" ) ( \"tcatf_\" ) ( \"version2dk\" ) ( \"string17\" ) ( \"string18\" ) ( \"sitnikcode\" ) ( \"Jules78120\" ) ( \"bevellin\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6185", "question": "What classes does the property P31 (instance of) belong to?", "sparql": "SELECT ?class ?classLabel WHERE { wd:P31 wdt:P31 ?class . ?class rdfs:label ?classLabel . FILTER(LANG(?classLabel) = 'en') }", "paraphrases": ["What is the type of the 'instance of' property in Wikidata?", "Is P31 a property? If so, what kind of property is it?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/wiki/Special:EntityData/P31> ?var2 ?var1 . }"}}
{"id": "test_6186", "question": "Which Wikidata entities have Twitter usernames including agoravox, LCP, Politis_fr, AlterEco_, nawaat, MAIF, snips, sciencespo, or fhollande?", "sparql": "SELECT ?entity ?twitterHandle WHERE { ?entity wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { \"agoravox\" \"LCP\" \"Politis_fr\" \"AlterEco_\" \"nawaat\" \"MAIF\" \"snips\" \"sciencespo\" \"fhollande\" } }", "paraphrases": ["Who or what organizations on Wikidata use the Twitter handles @agoravox, @LCP, @Politis_fr, @AlterEco_, @nawaat, @MAIF, @snips, @sciencespo, or @fhollande?", "List all entities in Wikidata that are linked to these Twitter accounts: agoravox, LCP, Politis_fr, AlterEco_, nawaat, MAIF, snips, sciencespo, and fhollande."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"pierrobine\" ) ( \"string3\" ) ( \"agoravox\" ) ( \"LCP\" ) ( \"xfrison\" ) ( \"string4\" ) ( \"Politis_fr\" ) ( \"string5\" ) ( \"AlterEco_\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) ( \"string13\" ) ( \"string14\" ) ( \"nawaat\" ) ( \"club_jade\" ) ( \"string15\" ) ( \"string16\" ) ( \"string17\" ) ( \"string18\" ) ( \"MAIF\" ) ( \"NUMAparis\" ) ( \"string19\" ) ( \"La_FING\" ) ( \"snips\" ) ( \"sciencespo\" ) ( \"fhollande\" ) ( \"string20\" ) ( \"string21\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6187", "question": "What is the English name and description of the theatre with Theatricalia ID 26?", "sparql": "SELECT ?theatre ?theatreLabel ?description WHERE { ?theatre wdt:P2468 \"26\" . OPTIONAL { ?theatre schema:description ?description . FILTER (LANG(?description) = \"en\") } ?theatre rdfs:label ?theatreLabel . FILTER (LANG(?theatreLabel) = \"en\") }", "paraphrases": ["Can you tell me about the Swan Theatre in Stratford-upon-Avon, including its Theatricalia identifier?", "Which theatre in Wikidata has the Theatricalia ID \"26\", and what is its English label and description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2468> \"26g\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6188", "question": "Film with Scope.dk ID 9981", "sparql": "SELECT ?film WHERE { ?film wdt:P2518 \"9981\" . }", "paraphrases": ["Which film has the Scope.dk film ID 9981?", "Can you tell me the film that is identified by the ID 9981 on Scope.dk?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2518> \"9981\". }"}}
{"id": "test_6189", "question": "Drugs starting with 'p' and their Wikidata IDs", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?drug ?label(SUBSTR(STR(?drug) , 32) AS ?qid) WHERE {\n  ?drug(wdt:P31 / wdt:P279 *) wd:Q8386 .\n  ?drug rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\" && STRSTARTS(LCASE(?label) , \"p\"))\n}\nLIMIT 15", "paraphrases": ["What are the drugs whose English names start with the letter 'p', and what are their Wikidata identifiers?", "List the English names and Wikidata IDs of all drugs and drug subclasses that begin with the letter 'p'."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ( REPLACE ( STR ( ?var1 ) , \".*Q\", \"Q\" ) AS ?var3 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q8386> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . FILTER ( ( STRSTARTS ( LCASE ( ?var2 ) , LCASE ( \"p\" ) ) ) ) . } LIMIT 15"}}
{"id": "test_6190", "question": "What academic works or publications discuss the prisoner\u2019s dilemma?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?label WHERE {\n  ?item wdt:P921 wd:Q41693 .\n  ?item rdfs:label ?label .\n  FILTER ( LANG( ?label ) = 'en' )\n}", "paraphrases": ["Can you list the English titles of books or papers that are about the prisoner\u2019s dilemma?", "Show me works where the main subject is the prisoner\u2019s dilemma, with their English labels."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P921> <http://www.wikidata.org/entity/Q1862087> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( CONTAINS ( LCASE ( ?var1Label ) , \"dilemm\" ) ) ) . }"}}
{"id": "test_6191", "question": "Which Wikidata items have the Twitter/X usernames: emcandre, envlh, mlpoulter, nightrose, okfde, SemanticMW, wikidata, wikipedia, or zuphilip?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterUsername WHERE {\n  ?item wdt:P2002 ?twitterUsername .\n  VALUES ?twitterUsername {\n    \"emcandre\" \"envlh\" \"mlpoulter\" \"nightrose\" \"okfde\" \"SemanticMW\" \"wikidata\" \"wikipedia\" \"zuphilip\"\n  }\n}", "paraphrases": ["Who are the Wikidata entities associated with the Twitter handles emcandre, envlh, mlpoulter, nightrose, okfde, SemanticMW, wikidata, wikipedia, and zuphilip?", "List the Wikidata items and their corresponding Twitter/X usernames for the handles: emcandre, envlh, mlpoulter, nightrose, okfde, SemanticMW, wikidata, wikipedia, and zuphilip."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"Wikidata\" ) ( \"SemanticMW\" ) ( \"wikidata\" ) ( \"wikipedia\" ) ( \"nightrose\" ) ( \"auregann\" ) ( \"envlh\" ) ( \"string3\" ) ( \"okfde\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"mlpoulter\" ) ( \"emcandre\" ) ( \"string8\" ) ( \"string9\" ) ( \"SciHiBlog\" ) ( \"zuphilip\" ) } }"}}
{"id": "test_6192", "question": "Human artists with Web Gallery of Art IDs and their Getty ULAN IDs.", "sparql": "SELECT ?artist ?wgaId ?ulanId WHERE { ?artist wdt:P31 wd:Q5 . ?artist wdt:P1882 ?wgaId . OPTIONAL { ?artist wdt:P245 ?ulanId . } }", "paraphrases": ["Which human artists have a Web Gallery of Art ID, and what are their corresponding Getty ULAN IDs?", "List all human artists who are identified in the Web Gallery of Art, along with their ULAN identifiers where available."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P1882> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P245> ?var3 . } }"}}
{"id": "test_6193", "question": "List academic works about earthquakes and their associated images.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?work ?image ?imageLabel WHERE {\n  ?work wdt:P921 wd:Q7944 .\n  OPTIONAL {\n    ?work wdt:P18 ?image .\n  }\n}\nLIMIT 100", "paraphrases": ["What scholarly articles are about earthquakes, and do any of them have images linked in Wikidata?", "Show me up to 100 works whose main subject is an earthquake, along with any images associated with them \u2014 even if no images exist."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P921> <http://www.wikidata.org/entity/Q7944> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } } LIMIT 100"}}
{"id": "test_6194", "question": "Publication years and truncated titles of David M. Blei\u2019s academic papers.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?year ?truncatedTitle WHERE {\n  ?work wdt:P50 wd:Q3017519 .\n  ?work wdt:P577 ?pubDate .\n  ?work rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  .\n  BIND(YEAR(?pubDate) AS ?year)\n  .\n  BIND(SUBSTR(?label , 1 , 20) AS ?truncatedTitle)\n}\nORDER BY ?year", "paraphrases": ["What are the publication years and first 20 characters of the titles of papers written by David M. Blei?", "Show me the year and shortened title (first 20 characters) of each work authored by David M. Blei, sorted by year."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label WHERE { { SELECT ?var1 ( SAMPLE ( ?var4 ) AS ?var2 ) ?var3Label WHERE { { SELECT( STR ( ?var5 ) AS ?var1 )( \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var4 )( \"_\" AS ?var3Label ) WHERE { BIND ( YEAR ( ?var6 ) AS ?var5 ). ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q577> . ?var7 <http://www.wikidata.org/prop/direct/P585> ?var6 . { SELECT( MIN ( ?var5 ) AS ?var8 )( MAX ( ?var5 ) AS ?var9 ) WHERE { BIND ( YEAR ( ?var10 ) AS ?var5 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q3017519> . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var10 . } } FILTER ( ( ( ?var5 >= ?var8 ) && ( ?var5 <= ?var9 ) ) ) . } } UNION { BIND ( SUBSTR ( ?var12Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"20\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q3017519> . ?var11 <http://www.wikidata.org/prop/direct/P1104> ?var4 . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var6 . ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12Label . FILTER ( ( ( LANG ( ?var12Label ) = \"en\" ) ) ) . } } GROUP BY ?var1 ?var11 ?var3Label ORDER BY ASC( ?var1 ) } }"}}
{"id": "test_6195", "question": "Carlos R. Vilela ORCID, ISNI, VIAF, IPNI, ZooBank ID, image", "sparql": "SELECT ?item ?label ?isni ?viaf ?image ?orcid ?ipni ?zooank WHERE { ?item rdfs:label \"Carlos R. Vilela\"@en . OPTIONAL { ?item wdt:P213 ?isni } OPTIONAL { ?item wdt:P214 ?viaf } OPTIONAL { ?item wdt:P18 ?image } OPTIONAL { ?item wdt:P496 ?orcid } OPTIONAL { ?item wdt:P586 ?ipni } OPTIONAL { ?item wdt:P2006 ?zooank } }", "paraphrases": ["What are the identifiers (ISNI, VIAF, ORCID, IPNI, ZooBank) and image of the botanist Carlos R. Vilela?", "Please provide the ORCID, ISNI, VIAF, IPNI, ZooBank ID, and image for Carlos R. Vilela if available."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"C R Vilela\"@en . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/isPartOf> <https://species.wikimedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P213> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P214> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P586> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2006> ?var8 . } }"}}
{"id": "test_6196", "question": "Streets in Haarlem, ordered by founding date, with their namesakes", "sparql": "SELECT ?street ?streetLabel ?inceptionDate ?namedAfter ?namedAfterLabel WHERE { ?street wdt:P31 wd:Q79007 . ?street wdt:P131 wd:Q9920 . ?street wdt:P571 ?inceptionDate . OPTIONAL { ?street rdfs:label ?streetLabel . FILTER(LANG(?streetLabel) = \"en\") } OPTIONAL { ?street wdt:P138 ?namedAfter . ?namedAfter rdfs:label ?namedAfterLabel . FILTER(LANG(?namedAfterLabel) = \"en\") } } ORDER BY ASC(?inceptionDate)", "paraphrases": ["What are the streets in Haarlem and who or what were they named after, listed from oldest to newest?", "Show me all streets in Haarlem, including when they were established and who they are named after, sorted by year of inception."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q79007> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q9920> . ?var1 <http://www.wikidata.org/prop/direct/P571> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P138> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,nl\". } } ORDER BY ASC( ?var2 )"}}
{"id": "test_6197", "question": "Image of the person with SNAC ARK ID w6st7tmw", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6st7tmw\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Jan Struther in Wikidata?", "Can you find the Wikimedia Commons image for the British writer Jan Struther, identified by SNAC ARK ID w6st7tmw?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6st7tmw\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6198", "question": "Image of the person with SNAC ARK ID w6dp9ds4", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6dp9ds4\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Albert Paris G\u00fctersloh in Wikidata?", "Can you find the Wikimedia Commons image for the individual identified by the SNAC ARK ID w6dp9ds4?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6dp9ds4\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6199", "question": "Most common types of protected areas in Wikidata and their counts", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?type ( SAMPLE( ?typeLabel ) AS ?label ) ?count WHERE {\n  {\n    SELECT ?type ( COUNT( * ) AS ?count ) WHERE {\n      ?area wdt:P809 ?wdpaId ; wdt:P31 ?type .\n    }\n    GROUP BY ?type\n    ORDER BY DESC ( ?count )\n    LIMIT 50\n  } UNION {\n    SELECT ?type ( COUNT( * ) AS ?count ) WHERE {\n      ?area wdt:P809 ?wdpaId ; wdt:P279 ?type .\n    }\n    GROUP BY ?type\n    ORDER BY DESC ( ?count )\n    LIMIT 50\n  }\n  ?type rdfs:label ?typeLabel .\n}\nGROUP BY ?type ?count\nORDER BY DESC ( ?count ) ASC ( ?type )", "paraphrases": ["What are the most frequent classifications of protected areas in Wikidata, and how many protected areas fall under each?", "List the top 50 types of protected areas in Wikidata based on how many areas belong to each type, whether directly or via subclass relationships."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label WHERE { { SELECT ?var1 ( COUNT (* ) AS ?var2 )( <http://www.wikidata.org/entity/P31> AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P809> ?var5 ; <http://www.wikidata.org/prop/direct/P31> ?var1 . } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 50 } UNION { SELECT ?var1 ( COUNT (* ) AS ?var2 )( <http://www.wikidata.org/entity/P279> AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P809> ?var5 ; <http://www.wikidata.org/prop/direct/P279> ?var1 . } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 50 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY DESC( ?var2 )ASC( ?var1 )"}}
{"id": "test_6200", "question": "Current heads of state of sovereign countries and when their term began.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT DISTINCT ?var1Label ?var2 WHERE {\n  ?var3 wdt:P31 wd:Q3624078 .\n  FILTER(NOT EXISTS {\n    ?var3 wdt:P31 wd:Q3024240\n  })\n  .\n  ?var3 p:P35 ?var4 .\n  ?var4 ps:P35 ?var1 .\n  ?var4 pq:P580 ?var2 .\n  FILTER(NOT EXISTS {\n    ?var4 pq:P582 ?var5\n  })\n  .\n  ?var1 rdfs:label ?var1Label .\n}\nLIMIT 10", "paraphrases": ["Who are the current heads of state of existing countries, and when did they take office?", "List the names and start dates of current heads of state for all sovereign nations."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3624078> . FILTER ( ( NOT EXISTS { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3024240> . } ) ) . ?var3 <http://www.wikidata.org/prop/P35> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P35> ?var1 . ?var3 <http://www.wikidata.org/prop/direct/P35> ?var1 . ?var4 <http://www.wikidata.org/prop/P580> ?var2 . FILTER ( ( NOT EXISTS { ?var4 <http://www.wikidata.org/prop/qualifier/P582> ?var5 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10"}}
{"id": "test_6201", "question": "What are the Twitter/X usernames for Elon Musk on Wikidata, ordered by the popularity of his Wikipedia pages?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"elonmusk\" \"cyb3rgam3r420\"\n  }\n}\nORDER BY DESC(wikibase:sitelinks)", "paraphrases": ["Which Wikidata items have the Twitter usernames \"elonmusk\" or \"cyb3rgam3r420\", and how notable are they based on Wikipedia links?", "Show me the Twitter accounts linked to Wikidata for \"elonmusk\" and \"cyb3rgam3r420\", sorted by how many language versions of their Wikipedia pages exist."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"FlaviePrz\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"24images\" ) ( \"string10\" ) ( \"Folaefolc\" ) ( \"string11\" ) ( \"freddelams\" ) ( \"string12\" ) ( \"chersmokes\" ) ( \"LibeMonde\" ) ( \"RBalenieri\" ) ( \"rooks_hana\" ) ( \"string13\" ) ( \"nanoulc91\" ) ( \"crm_plf\" ) ( \"WeChatApp\" ) ( \"string14\" ) ( \"KlemJoce\" ) ( \"Rizzo_OM\" ) ( \"string15\" ) ( \"leyvanCsr\" ) ( \"SophianF\" ) ( \"bylijing\" ) ( \"string16\" ) ( \"niamorpg\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6202", "question": "Children of Genghis Khan with their gender and CBDB ID.", "sparql": "SELECT DISTINCT ?child ?childLabel ?genderLabel ?cbdbId WHERE { wd:Q720 wdt:P40 ?child . ?child rdfs:label ?childLabel . FILTER(LANG(?childLabel) = \"en\") OPTIONAL { ?child wdt:P21 ?gender . ?gender rdfs:label ?genderLabel . FILTER(LANG(?genderLabel) = \"en\") } OPTIONAL { ?child wdt:P497 ?cbdbId . } } ORDER BY ?child", "paraphrases": ["Who are the children of Genghis Khan, what is their gender, and do they have a China Biographical Database ID?", "List the direct descendants of Genghis Khan, including their English names, gender, and CBDB IDs if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 ?var3Label ?var4 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q720> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var5 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P40> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P40> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P497> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"zh,en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var6 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var7 . } }"}}
{"id": "test_6203", "question": "What is the UniProt ID and Wikidata item for the human protein that matches Q92985?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?uniprot_id ?protein WHERE {\n  ?protein wdt:P352 ?uniprot_id ; wdt:P2888 <http://purl.uniprot.org/uniprot/Q92985> ; wdt:P703 wd:Q15978631 .\n}", "paraphrases": ["Which human protein has the UniProt ID Q92985, and what is its Wikidata identifier?", "Show me the Wikidata item and UniProt ID for the human protein that is exactly matched to Q92985."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P352> ?var1 ; <http://www.wikidata.org/prop/direct/P129> ?var3 ; <http://www.wikidata.org/prop/direct/P2888> <http://purl.uniprot.org/uniprot/Q92985> ; <http://www.wikidata.org/prop/direct/P703> <http://www.wikidata.org/entity/Q15978631> . FILTER ( ( !( isLITERAL ( <http://purl.uniprot.org/uniprot/Q92985> ) ) ) ) . }"}}
{"id": "test_6204", "question": "Which French media organizations and public officials have Twitter accounts, and how many Wikipedia language editions cover them?", "sparql": "SELECT ?entity ?twitterHandle (COUNT(?site) AS ?sitelinks) WHERE { VALUES ?twitterHandle { \"lemondefr\" \"mediapart\" \"LaCroix\" \"Europe1\" \"Prefet93\" \"montreuil\" } ?entity wdt:P2002 ?twitterHandle . ?site schema:isPartOf ?wikipedia ; schema:about ?entity . FILTER(STRSTARTS(STR(?site), \"https://\")) } GROUP BY ?entity ?twitterHandle ORDER BY ASC(?sitelinks)", "paraphrases": ["What are the Twitter handles of French entities like Le Monde, La Croix, and Europe 1, and how many Wikipedia articles exist about each?", "List the Twitter usernames of major French media outlets and the Prefect of Seine-Saint-Denis, sorted by how many Wikipedia versions mention them."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"lacimade\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"24hPujadas\" ) ( \"LienSocial\" ) ( \"lemondefr\" ) ( \"edwyplenel\" ) ( \"mediapart\" ) ( \"string10\" ) ( \"Prefet93\" ) ( \"montreuil\" ) ( \"string11\" ) ( \"FEP\" ) ( \"string12\" ) ( \"LaCroix\" ) ( \"string13\" ) ( \"string14\" ) ( \"Europe1\" ) ( \"string15\" ) ( \"string16\" ) ( \"string17\" ) ( \"string18\" ) ( \"string19\" ) ( \"BrnoMorel\" ) ( \"string20\" ) ( \"string21\" ) ( \"dversini\" ) ( \"string22\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6205", "question": "What is the human protein with UniProt ID P04629?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?uniprot_id ?protein ?label WHERE {\n  ?protein wdt:P352 ?uniprot_id ; wdt:P2888 <http://purl.uniprot.org/uniprot/P04629> ; wdt:P703 wd:Q15978631 ; rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["Which human protein is exactly matched to the UniProt entry P04629?", "Show me the name and UniProt ID of the human protein that corresponds to the UniProt entry http://purl.uniprot.org/uniprot/P04629."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P352> ?var1 ; <http://www.wikidata.org/prop/direct/P129> ?var3 ; <http://www.wikidata.org/prop/direct/P2888> <http://purl.uniprot.org/uniprot/P04629> ; <http://www.wikidata.org/prop/direct/P703> <http://www.wikidata.org/entity/Q15978631> . FILTER ( ( !( isLITERAL ( <http://purl.uniprot.org/uniprot/P04629> ) ) ) ) . }"}}
{"id": "test_6206", "question": "People who became UK Members of Parliament on February 2nd", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?positionLabel ?startDate WHERE {\n  ?position wdt:P279 * wd:Q16707842 .\n  ?person p:P39 ?statement .\n  ?statement ps:P39 ?position ; pq:P580 ?startDate .\n  FILTER(MONTH(?startDate) = 2 && DAY(?startDate) = 2)\n  .\n  ?person rdfs:label ?personLabel .\n  ?position rdfs:label ?positionLabel .\n  FILTER(LANG(?personLabel) = \"en\" || LANG(?personLabel) = \"\")\n  .\n  FILTER(LANG(?positionLabel) = \"en\" || LANG(?positionLabel) = \"\")\n}", "paraphrases": ["Who became a Member of Parliament in the UK on February 2nd, and in which parliamentary term?", "List all individuals who started serving as a Member of Parliament in the UK on February 2nd, along with the specific parliament they joined and their names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4Label ?var5 ?var6 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q16707842> . { ?var1 <http://www.wikidata.org/prop/P39> ?var7 . ?var7 <http://www.wikidata.org/prop/statement/P39> ?var2 ; <http://www.wikidata.org/prop/qualifier/P580> ?var3 . FILTER ( ( ( MONTH ( ?var3 ) = \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . FILTER ( ( ( DAY ( ?var3 ) = \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_6207", "question": "Citing works of \"Ancient Landscapes and the Dead\" by year and author presence", "sparql": "SELECT ?year ( COUNT( DISTINCT ?citingWork ) AS ?count ) ?hasAuthor WHERE { wd:Q44284381 wdt:P2860 ?citingWork . ?citingWork wdt:P577 ?publicationDate . FILTER(isLiteral(?publicationDate)) BIND( STR( YEAR( ?publicationDate ) ) AS ?year ) BIND( IF( EXISTS { ?citingWork wdt:P50 [] } , \"has author\" , \"no author\" ) AS ?hasAuthor ) } GROUP BY ?year ?hasAuthor ORDER BY DESC ( ?year )", "paraphrases": ["For the academic article \"Ancient Landscapes and the Dead\", in which years were its citing works published, and did those works have authors?", "Show me the number of works that cite \"Ancient Landscapes and the Dead\" grouped by publication year and whether they have authors, considering only works with known publication dates."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q44284381> AS ?var5 ). ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var5 . OPTIONAL { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> ?var6 . } , \"string1\", \"string2\" ) AS ?var4 ). ?var5 <http://www.wikidata.org/prop/direct/P50> ?var6 . } BIND ( STR ( YEAR ( ?var7 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P577> ?var7 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_6208", "question": "Wikidata properties without Greek descriptions", "sparql": "SELECT ?property WHERE { ?property rdf:type wikibase:Property . OPTIONAL { ?property schema:description ?greekDescription . FILTER ( LANG( ?greekDescription ) = \"el\" ) } FILTER ( !BOUND( ?greekDescription ) ) }", "paraphrases": ["Which Wikidata properties do not have a description in Greek?", "List all Wikidata properties that are not described in Greek."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"el\" ) ) ) . } FILTER ( ( !( BOUND ( ?var2 ) ) ) ) . } ORDER BY ASC( ?var2 )"}}
{"id": "test_6209", "question": "Which Wikidata items have Twitter handles \"CocaCola\", \"DALS_TF1\", \"AupraDance\", or \"aupradance\"?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterHandle WHERE {\n  ?item wdt:P2002 ?twitterHandle .\n  VALUES ?twitterHandle {\n    \"CocaCola\" \"DALS_TF1\" \"AupraDance\" \"aupradance\"\n  }\n}\nORDER BY ASC(wikibase:sitelinks)", "paraphrases": ["What entities on Wikidata are associated with the Twitter usernames CocaCola, DALS_TF1, AupraDance, or aupradance, sorted by their Wikipedia coverage?", "List the Wikidata items that use any of these Twitter handles: CocaCola, DALS_TF1, AupraDance, or aupradance, ordered by how many language versions of Wikipedia they have."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"DALS_TF1\" ) ( \"string6\" ) ( \"string7\" ) ( \"CocaCola\" ) ( \"string8\" ) ( \"string9\" ) ( \"AupraDance\" ) ( \"aupradance\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6210", "question": "Which Twitter/X accounts (BarackObama, taylorswift13, RoyalFamily, elonmusk) have the fewest Wikipedia articles linked in Wikidata?", "sparql": "SELECT ?item ?username (COUNT(?page) AS ?sitelinkCount) WHERE { ?item wdt:P2002 ?username . ?page schema:about ?item . FILTER(?username IN (\"BarackObama\", \"taylorswift13\", \"RoyalFamily\", \"elonmusk\")) } GROUP BY ?item ?username ORDER BY ASC(?sitelinkCount)", "paraphrases": ["How many Wikipedia pages are linked to each of these Twitter profiles: BarackObama, taylorswift13, RoyalFamily, and elonmusk, sorted by least to most?", "List the Wikidata items for the Twitter handles BarackObama, taylorswift13, RoyalFamily, and elonmusk, along with how many Wikipedia editions they have articles in, ordered from least to most popular."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"Mr_Tweetts\" ) ( \"string7\" ) ( \"string8\" ) ( \"xavham\" ) ( \"MaryPatrux\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6211", "question": "Which organizations with Twitter handles scifri, BBC, afpfr, lemondefr, or iste have the fewest Wikipedia language editions?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterUsername ( COUNT( ?sitelink ) AS ?sitelinks ) WHERE {\n  ?item wdt:P2002 ?twitterUsername .\n  VALUES ?twitterUsername {\n    \"scifri\" \"BBC\" \"afpfr\" \"lemondefr\" \"iste\"\n  }\n  ?sitelink schema:about ?item ; schema:isPartOf ?wikipedia .\n  FILTER ( STRSTARTS( STR( ?wikipedia ) , \"https://\" ) )\n}\nGROUP BY ?item ?twitterUsername\nORDER BY ASC ( ?sitelinks )", "paraphrases": ["What are the Twitter accounts of media organizations like BBC and Le Monde, and how many Wikipedia versions link to them, sorted by least to most?", "List the entities linked to the Twitter accounts \"scifri\", \"BBC\", \"afpfr\", \"lemondefr\", and \"iste\", along with the number of Wikipedia language editions they appear on, ordered from the least to the most."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"joseenadia\" ) ( \"string1\" ) ( \"string2\" ) ( \"paslap\" ) ( \"evebeaudin\" ) ( \"string3\" ) ( \"clicjf\" ) ( \"JoeDator\" ) ( \"Oatmeal\" ) ( \"scifri\" ) ( \"string4\" ) ( \"string5\" ) ( \"afpfr\" ) ( \"lemondefr\" ) ( \"BBC\" ) ( \"FPJQ\" ) ( \"string6\" ) ( \"Mantzarlis\" ) ( \"Educmedias\" ) ( \"ObsODI\" ) ( \"iste\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6212", "question": "What buildings, landmarks, or places in the region between longitude 6\u20138 and latitude 47\u201348 have images, Wikimedia Commons categories, or street addresses listed?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel ?coord ?image ?commonsCategory ?address WHERE {\n  ?item wdt:P625 ?coord .\n  BIND(xsd:double(strbefore(strafter(str(?coord) , \"POINT(\") , \" \")) AS ?lon)\n  BIND(xsd:double(strbefore(strafter(str(?coord) , \" \") , \")\")) AS ?lat)\n  FILTER(?lon >= 6 && ?lon <= 8 && ?lat >= 47 && ?lat <= 48)\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?item wdt:P373 ?commonsCategory .\n  }\n  OPTIONAL {\n    ?item wdt:P969 ?address .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}\nLIMIT 3000", "paraphrases": ["Show me entities with geographic coordinates in southwestern Germany, eastern France, and northwestern Switzerland, along with their labels, images, Commons categories, and addresses.", "List all items located within the bounding box defined by coordinates (6,47) and (8,48), including their English names, photos, Wikimedia Commons categories, and street addresses if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(6 47)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(8 48)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_6213", "question": "Categories on Wikipedia for humans that have a corresponding article on Arabic Wikipedia, along with the human\u2019s name and the category title.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?category ?categoryLabel ?enCategoryName ?humanLabel WHERE {\n  ?human wdt:P31 wd:Q5 ; wdt:P910 ?category .\n  ?category wdt:P301 ?human .\n  ?enPage schema:about ?category ; schema:isPartOf <https://en.wikipedia.org/> ; schema:name ?enCategoryName .\n  ?arPage schema:about ?category ; schema:isPartOf <https://ar.wikipedia.org/> .\n  ?category rdfs:label ?categoryLabel .\n  ?human rdfs:label ?humanLabel .\n  FILTER(LANG(?categoryLabel) = \"en\")\n  FILTER(LANG(?humanLabel) = \"en\")\n}\nLIMIT 10000", "paraphrases": ["Which human beings have a Wikipedia category that exists in both English and Arabic, and what are the names of those categories and the humans?", "List the English Wikipedia category names and the corresponding human names for all humans whose main Wikipedia category also has an Arabic Wikipedia page."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P27> ?var4 ; <http://www.wikidata.org/prop/direct/P21> ?var5 . ?var3 <http://www.wikidata.org/prop/direct/P910> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P301> ?var3 . ?var6 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://en.wikipedia.org/> ; <http://schema.org/name> ?var2 . ?var7 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://ar.wikipedia.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ar,en\". } } LIMIT 10000"}}
{"id": "test_6214", "question": "What is the image of the person with SNAC ARK ID w6f29nwg?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6f29nwg\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Image for SNAC ARK ID w6f29nwg", "Show me the Wikimedia Commons image linked to Barack Obama via his SNAC ARK ID."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6c82nz5\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6215", "question": "Official websites and their languages for entities in Wikidata", "sparql": "SELECT ?item ?website ?language WHERE { ?item p:P856 ?statement . ?statement ps:P856 ?website . ?statement pq:P407 ?language . FILTER(STRSTARTS(STR(?item), \"http://www.wikidata.org/entity/Q\")) }", "paraphrases": ["What are the official websites of entities and in which languages are they written?", "List all official websites along with the language they are in, for real-world entities like schools or regions."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/P856> ?var2 . ?var2 <http://www.wikidata.org/prop/qualifier/P407> ?var3 . }"}}
{"id": "test_6216", "question": "Image of Harry Carter (SNAC ARK ID: w6dv5hns)", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6dv5hns\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image\n  }\n}", "paraphrases": ["What is the Wikimedia Commons image for Harry Carter, identified by SNAC ARK ID w6dv5hns?", "Show me the image linked to the Wikidata entity with SNAC ARK ID w6dv5hns."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6dv5hns\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6217", "question": "Which Wikidata items are associated with the Twitter usernames 'wikidata', 'lemondefr', 'brightbyte', and 'Cdanslair'?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"wikidata\" \"lemondefr\" \"brightbyte\" \"Cdanslair\" } } ORDER BY ?username", "paraphrases": ["Show me the entities on Wikidata that have these Twitter handles: @wikidata, @lemondefr, @brightbyte, and @Cdanslair.", "What are the Wikidata entries linked to the Twitter accounts brightbyte, Cdanslair, lemondefr, and wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"ruppelsive\" ) ( \"string2\" ) ( \"Dusepo\" ) ( \"KayKween_\" ) ( \"string3\" ) ( \"PoulpyWP\" ) ( \"Snoopy\" ) ( \"string4\" ) ( \"Cdanslair\" ) ( \"GDeleur\" ) ( \"CGdrawing\" ) ( \"string5\" ) ( \"echinoblog\" ) ( \"string6\" ) ( \"string7\" ) ( \"cartogeek\" ) ( \"string8\" ) ( \"wikidata\" ) ( \"Auregann\" ) ( \"JeanSeb\" ) ( \"string9\" ) ( \"string10\" ) ( \"Kiddo_hah\" ) ( \"string11\" ) ( \"kassovitz1\" ) ( \"brightbyte\" ) ( \"string12\" ) ( \"Pyb75\" ) ( \"Herdir\" ) ( \"string13\" ) ( \"string14\" ) ( \"string15\" ) ( \"mna_inah\" ) ( \"botan_ical\" ) ( \"string16\" ) ( \"string17\" ) ( \"reesmarc\" ) ( \"Variane\" ) ( \"MashableFR\" ) ( \"string18\" ) ( \"string19\" ) ( \"lemondefr\" ) ( \"avriogata\" ) ( \"string20\" ) ( \"schloren\" ) ( \"string21\" ) ( \"string22\" ) ( \"string23\" ) ( \"Jules78120\" ) ( \"0x010C\" ) ( \"PruneTG\" ) ( \"string24\" ) ( \"GTatu\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6218", "question": "Which Wikidata entities have the Twitter usernames \"kanyewest\", \"RaulGonzalez\", or \"taylorswift13\"?", "sparql": "SELECT ?entity ?username WHERE { ?entity wdt:P2002 ?username . VALUES ?username { \"kanyewest\" \"RaulGonzalez\" \"taylorswift13\" } }", "paraphrases": ["Who are the people on Wikidata with the Twitter handles @kanyewest, @RaulGonzalez, and @taylorswift13?", "Show me the Wikidata items for Kanye West, Ra\u00fal, and Taylor Swift based on their Twitter usernames."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"Kanyewecsh\" ) ( \"RAULkenel1\" ) ( \"FwSmite\" ) ( \"string1\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6219", "question": "List businesses and their PermID identifiers.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?business ?permId WHERE {\n  ?business wdt:P31 wd:Q4830453 .\n  ?business wdt:P3347 ?permId .\n}", "paraphrases": ["Which businesses have a Thomson Reuters PermID, and what are those IDs?", "Can you provide a list of all organizations classified as businesses in Wikidata along with their corresponding PermID numbers?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4830453> . ?var1 <http://www.wikidata.org/prop/direct/P3347> ?var2 . }"}}
{"id": "test_6220", "question": "Paintings in the Dutch art collections without known creators, but with matching descriptions to items that have creators \u2014 who are the likely artists?", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT(CONCAT(REPLACE(STR(?painting) , \"http://www.wikidata.org/entity/\" , \"\") , \"\\tP170\\t\" , REPLACE(STR(?creator) , \"http://www.wikidata.org/entity/\" , \"\")) AS ?result) WHERE {\n  ?painting wdt:P31 wd:Q3305213 .\n  {\n    ?painting wdt:P195 wd:Q28045665 .\n  } UNION {\n    ?painting wdt:P195 wd:Q18600731 .\n  } MINUS {\n    ?painting p:P170 [] .\n  }\n  ?painting schema:description ?description .\n  FILTER(LANG(?description) = \"en\")\n  ?matching_item schema:description ?description .\n  ?matching_item wdt:P170 ?creator .\n}\nORDER BY DESC(?description)\nLIMIT 250", "paraphrases": ["Which paintings from the Stichting Nederlands Kunstbezit or the Cultural Heritage Agency of the Netherlands Art Collection lack a credited artist, but share their English description with another item that does have a creator?", "Find pairs of unattributed paintings and their inferred creators from the Dutch post-WWII art collections, based on matching English descriptions."], "info": {"raw_sparql": "SELECT DISTINCT( CONCAT ( REPLACE ( STR ( ?var1 ) , \"string1\", \"\" ) , \"\\tP170\\t\", REPLACE ( STR ( ?var2 ) , \"string1\", \"\" ) ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . { ?var1 <http://www.wikidata.org/prop/direct/P195> <http://www.wikidata.org/entity/Q28045665> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P195> <http://www.wikidata.org/entity/Q18600731> . } MINUS { ?var1 <http://www.wikidata.org/prop/P170> [] . } ?var1 <http://schema.org/description> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . ?var5 <http://schema.org/description> ?var4 . ?var5 <http://www.wikidata.org/prop/direct/P170> ?var2 . } ORDER BY DESC( ?var4 ) LIMIT 250"}}
{"id": "test_6221", "question": "What film has the IMDb ID tt6990206?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P345 \"tt6990206\" .\n}\nORDER BY ASC(?film)", "paraphrases": ["Which movie is associated with the IMDb identifier tt6990206?", "Show me the Wikidata item for the film with IMDb ID tt6990206."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6990206\". } ORDER BY ASC( ?var1 )"}}
{"id": "test_6222", "question": "Total number of alternative labels on Wikidata properties", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nSELECT(SUM(?count) AS ?total) WHERE {\n  SELECT ?property(COUNT(?altLabel) AS ?count) WHERE {\n    ?property rdf:type wikibase:Property ; skos:altLabel ?altLabel .\n  }\n  GROUP BY ?property\n}", "paraphrases": ["How many alternative labels are there in total across all Wikidata properties?", "Please compute the total count of skos:altLabel usage on all Wikidata properties."], "info": {"raw_sparql": "SELECT ?var1 ( SUM ( ?var2 ) AS ?var3 ) WHERE { SELECT ?var4 ?var1 ( COUNT ( ?var5Label ) AS ?var2 ) WHERE { BIND ( LANG ( ?var6 ) AS ?var5Label ). ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> ; <http://www.w3.org/2004/02/skos/core#altLabel> ?var5Label . } GROUP BY ?var4 ?var1 } GROUP BY ?var1 ORDER BY DESC( ?var3 )"}}
{"id": "test_6223", "question": "Images of Robert W. Gore with SNAC ARK ID w6417v0d", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6417v0d\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What images are associated with Robert W. Gore in Wikidata, identified by the SNAC ARK ID w6417v0d?", "Show me the Wikimedia Commons images linked to Robert W. Gore\u2019s SNAC ARK ID w6417v0d."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6417v0d\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6224", "question": "YouTube official website, English and German Wikipedia pages with matching labels", "sparql": "SELECT ?youtube ?youtubeLabel ?article WHERE { ?youtube wdt:P856 <https://www.youtube.com/> . ?article schema:about ?youtube . ?article schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") . ?youtube rdfs:label ?youtubeLabel . FILTER(LANG(?youtubeLabel) = ?lang) }", "paraphrases": ["What are the English and German Wikipedia/Wikimedia pages about YouTube, and what are their corresponding labels in those languages?", "Show me the English and German articles about YouTube (from Wikipedia, Wikinews, etc.) along with the name of YouTube in the same language as the article."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.youtube.com/channel/UCdOEiZ09CPsgXhxcBOPV6kw/videos> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://youtube.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6225", "question": "What are the English and German Wikipedia/Wikimedia pages about YouTube, and what is its official website?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var1 ?var1Label ?var2 WHERE {\n  ?var1 wdt:P856 <https://www.youtube.com/> .\n  ?var2 schema:about ?var1 ; schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" ) OPTIONAL {\n    ?var1 rdfs:label ?var1Label .\n    FILTER ( LANG( ?var1Label ) = \"en\" )\n  }\n}", "paraphrases": ["Which Wikimedia project pages in English or German discuss YouTube, and what is YouTube\u2019s official website URL?", "Show me the English labels for YouTube and all its related pages on English and German Wikimedia sites."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.youtube.com/channel/UCdoPuCSswQBCk5k-Qzq0HYA/videos> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://youtube.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6226", "question": "Musical groups with their founding year, disbanding year, and location.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?group ?location ( YEAR( ?founded ) AS ?foundedYear ) ( YEAR( ?dissolved ) AS ?dissolvedYear ) WHERE {\n  ?group ( wdt:P31 / wdt:P279 * ) wd:Q215380 .\n  OPTIONAL {\n    ?group wdt:P276 ?location .\n  }\n  OPTIONAL {\n    ?group wdt:P571 ?founded .\n  }\n  OPTIONAL {\n    ?group wdt:P576 ?dissolved .\n  }\n}\nORDER BY ASC ( ?group )", "paraphrases": ["Which musical groups have known founding or disbanding years, and where are they based?", "List musical groups along with the years they were founded and disbanded, and their locations if available."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ( YEAR ( ?var3 ) AS ?var4 )( YEAR ( ?var5 ) AS ?var6 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q10438410> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P276> ?var2 . } OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var5 . } OPTIONAL { } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,ar,be,bg,bn,ca,cs,da,de,el,en,es,et,fa,fi,he,hi,hu,hy,id,it,ja,jv,ko,nb,nl,eo,pa,pl,pt,ro,ru,sh,sk,sr,sv,sw,te,th,tr,uk,yue,vec,vi,zh\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_6227", "question": "What movie has the EDb ID t0011116?", "sparql": "SELECT ?movie WHERE { ?movie wdt:P3141 \"t0011116\" . }", "paraphrases": ["Which film is identified by the EDb film ID t0011116?", "Find the movie in Wikidata with the EDb film ID t0011116."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3141> \"t0011116\". }"}}
{"id": "test_6228", "question": "What countries and administrative regions is the Moscow Canal located in?", "sparql": "SELECT DISTINCT ?location WHERE { wd:Q741351 (wdt:P30 | wdt:P17 | wdt:P131 | wdt:P376 | wdt:P501) ?location . }", "paraphrases": ["Moscow Canal country and city", "Show me the direct geographic and political locations of the Moscow Canal."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q741351> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_6229", "question": "What are some examples of civil disorder events in history?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?event ?label WHERE {\n  ?event wdt:P31 wd:Q686984 .\n  ?event rdfs:label ?label .\n  FILTER(langMatches(lang(?label) , \"en\"))\n}\nORDER BY ASC(?label)", "paraphrases": ["List all recorded instances of civil unrest with their English names, sorted alphabetically.", "Can you provide a list of protests, riots, and uprisings that are classified as civil disorder?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q686984> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_6230", "question": "Wikidata properties with labels matching other entities", "sparql": "SELECT ?property ?label ?entity WHERE { ?property rdf:type wikibase:Property . ?property rdfs:label ?label . ?entity rdfs:label ?label . } LIMIT 10", "paraphrases": ["Which Wikidata properties have labels that are also used by non-property entities?", "Show me examples of Wikidata properties whose labels are shared with entities like Unicode characters."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } LIMIT 10"}}
{"id": "test_6231", "question": "Wikidata properties with the same label as an item", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nSELECT ?property ?label ?item WHERE {\n  ?property rdf:type wikibase:Property .\n  ?property rdfs:label ?label .\n  ?item rdfs:label ?label .\n  FILTER(?property != ?item)\n}\nLIMIT 10", "paraphrases": ["Which Wikidata properties share their label with another item in the database?", "Show me properties in Wikidata that are named the same as some other entity, like \"3D model\" being both a property and an item."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( ?var1 != ?var3 ) ) ) . } LIMIT 10"}}
{"id": "test_6232", "question": "Mountain peaks in Bulgaria with their elevation, coordinates, and images", "sparql": "SELECT ?peak ?label ?coordinates ?elevation ?image WHERE { ?peak wdt:P2044 ?elevation . ?peak wdt:P625 ?coordinates . ?peak wdt:P17 wd:Q219 . ?peak wdt:P31 wd:Q207326 . ?peak wdt:P18 ?image . ?peak rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["What are the names, elevations, coordinates, and images of mountain peaks in Bulgaria?", "Show me a list of all mountain peaks in Bulgaria, including their English names, heights above sea level, geographic coordinates, and associated Wikimedia Commons images."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2044> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q219> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q207326> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"bg\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } }"}}
{"id": "test_6233", "question": "English label, description, and image of the Music software suite.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?label ?description ?image WHERE {\n  OPTIONAL {\n    wd:Q3328461 rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n  OPTIONAL {\n    wd:Q3328461 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q3328461 schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["What is the English label and description of the entity \"Music\" on Wikidata, and does it have an associated image?", "Show me the English name and definition of Music (the music creation program), along with its image if available."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q3328461> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q3328461> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q3328461> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_6234", "question": "What Wikidata item corresponds to the IMDb ID tt5517480?", "sparql": "SELECT ?item WHERE { ?item wdt:P345 \"tt5517480\" . }", "paraphrases": ["Which film on Wikidata has the IMDb identifier tt5517480?", "Find the Wikidata entry for the movie with IMDb ID tt5517480, which is titled \"Obezyanki, vpered\"."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5517480\". }"}}
{"id": "test_6235", "question": "Image of the person with SNAC ARK ID w65x6nzc", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w65x6nzc\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the Wikimedia Commons image associated with the SNAC ARK ID w65x6nzc?", "Show me the photo of the individual identified by the SNAC ARK ID w65x6nzc."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w65x6nzc\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6236", "question": "Tourist attractions within 100 km of M\u00f6nchengladbach with their names and coordinates.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX geof: <http://www.opengis.net/def/function/geosparql/>\nSELECT ?attraction ?attractionLabel ?coords WHERE {\n  wd:Q2758 wdt:P625 ?centerCoords .\n  ?attraction wdt:P625 ?coords .\n  ?attraction rdfs:label ?attractionLabel .\n  FILTER(LANG(?attractionLabel) = \"en\")\n  FILTER(EXISTS {\n    ?attraction wdt:P31 / wdt:P279 * wd:Q570116 .\n  })\n  FILTER(geof:distance(?coords , ?centerCoords) <= 100)\n}", "paraphrases": ["What are the English-named tourist attractions located within 100 kilometers of M\u00f6nchengladbach, and where are they located geographically?", "List all tourist attractions near M\u00f6nchengladbach (within 100 km), including their English labels and geographic coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q2758> <http://www.wikidata.org/prop/direct/P625> ?var3 . SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> ?var3 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"100\". } FILTER ( ( EXISTS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q570116> . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6237", "question": "List of U.S. presidents and their start dates in office.", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?president ?presidentLabel ?startDate WHERE {\n  ?president wdt:P31 wd:Q5 ; p:P39 ?statement .\n  ?statement ps:P39 wd:Q11696 ; pq:P580 ?startDate .\n  ?president rdfs:label ?presidentLabel .\n  FILTER(LANG(?presidentLabel) = \"en\")\n}", "paraphrases": ["Who are the presidents of the United States and when did they begin their terms?", "Show me the names of all U.S. presidents along with the dates they assumed office."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/P39> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q11696> ; <http://www.wikidata.org/prop/qualifier/P580> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_6238", "question": "What are the geographic coordinates of Saint-Omer, France?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?coordinates WHERE {\n  ?place rdfs:label \"Saint-Omer\" @en ; wdt:P17 wd:Q142 ; wdt:P131 wd:Q12689 ; wdt:P625 ?coordinates .\n}", "paraphrases": ["Can you tell me the latitude and longitude of the town of Saint-Omer in the Pas-de-Calais department?", "Where is Saint-Omer located in France? Return its coordinates."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> \"France\"@en ; <http://www.wikidata.org/prop/direct/P17> ?var3 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> \"St. Omer\"@en ; ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q486972> ; <http://www.wikidata.org/prop/direct/P17> ?var3 ; <http://www.wikidata.org/prop/direct/P625> ?var1 . }"}}
{"id": "test_6239", "question": "What are the geographic coordinates of Rouen, France?", "sparql": "SELECT DISTINCT ?coord WHERE { wd:Q30974 wdt:P17 wd:Q142 ; wdt:P625 ?coord .}", "paraphrases": ["Can you tell me the latitude and longitude of the city of Rouen in France?", "Show me the location of Rouen, which is in France."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> \"France\"@en ; <http://www.wikidata.org/prop/direct/P17> ?var3 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> \"Rouen\"@en ; ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q486972> ; <http://www.wikidata.org/prop/direct/P17> ?var3 ; <http://www.wikidata.org/prop/direct/P625> ?var1 . }"}}
{"id": "test_6240", "question": "What are the editions of the Nations Cup rowing event?", "sparql": "SELECT ?nationsCupEdition WHERE { ?nationsCupEdition wdt:P31 wd:Q47000422 .}", "paraphrases": ["Which years had a Nations Cup rowing competition?", "List all the individual instances of the Nations Cup (Q47000422) as a recurring international rowing regatta."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q47000422> . }"}}
{"id": "test_6241", "question": "Metadata properties of properties used to describe The Thundermans with literal values.", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?metadataProperty WHERE {\n  wd:Q9197118 ?property ?value .\n  FILTER(isLiteral(?value))\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem ?metadataProperty ?metadataValue .\n}", "paraphrases": ["What properties describe the Wikidata properties that have literal values for the TV series \"The Thundermans\"?", "List all metadata properties (like descriptions or labels) of the properties that assign literal data to \"The Thundermans\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { <http://www.wikidata.org/entity/Q9197118> ?var2 ?var3 . FILTER ( ( isLITERAL ( ?var3 ) ) ) . ?var4 <http://wikiba.se/ontology#directClaim> ?var2 . ?var4 ?var1 ?var5 . }"}}
{"id": "test_6242", "question": "Which entities on Wikidata have Twitter/X usernames like IssaRae, canalplus, or lemondefr, sorted by how many Wikipedia pages they have?", "sparql": "SELECT ?entity ?twitterHandle (COUNT(?site) AS ?sitelinkCount) WHERE { ?entity wdt:P2002 ?twitterHandle . ?site schema:about ?entity ; schema:isPartOf ?wiki . VALUES ?twitterHandle { \"IssaRae\" \"canalplus\" \"lemondefr\" \"lalibrebe\" \"RezoFilms\" \"mycineplus\" \"OCSTV\" \"IrisBrey\" } } GROUP BY ?entity ?twitterHandle ORDER BY ASC(?sitelinkCount)", "paraphrases": ["Who are the people or organizations on Wikidata with Twitter handles such as IssaRae, OCSTV, or RezoFilms, and how many language versions of Wikipedia cover each?", "List the Wikidata entities linked to the Twitter handles IssaRae, canalplus, lemondefr, lalibrebe, RezoFilms, mycineplus, OCSTV, and IrisBrey, ordered by the number of Wikipedia articles about them, from least to most."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"canalplus\" ) ( \"string4\" ) ( \"string5\" ) ( \"France_ACS\" ) ( \"OCSTV\" ) ( \"string6\" ) ( \"string7\" ) ( \"IssaRae\" ) ( \"IrisBrey\" ) ( \"lemondefr\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) ( \"lalibrebe\" ) ( \"string13\" ) ( \"RezoFilms\" ) ( \"string14\" ) ( \"mycineplus\" ) ( \"TF1Studio\" ) ( \"pbriday\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6243", "question": "Who are the members of the Swiss Federal Council and when did their terms start and end?", "sparql": "SELECT ?person ?personLabel ?startDate ?endDate WHERE { ?person p:P39 ?statement . ?statement ps:P39 wd:Q11811941 . ?statement pq:P580 ?startDate . OPTIONAL { ?statement pq:P582 ?endDate . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } ORDER BY ?person LIMIT 100", "paraphrases": ["List Swiss Federal Council members with their start and end dates.", "Show me the names of people who have served on the Swiss Federal Council, along with the beginning and, if applicable, the end of their terms."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/P39> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q11811941> . ?var3 <http://www.wikidata.org/prop/qualifier/P580> ?var2 . OPTIONAL { ?var3 <http://www.wikidata.org/prop/qualifier/P582> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_6244", "question": "What events, works, or systems had a significant date in 2010?", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item WHERE {\n  ?item wdt:P585 | wdt:P606 | wdt:P619 | wdt:P620 | wdt:P621 | wdt:P622 | wdt:P729 | wdt:P1191 ?date .\n  FILTER(?date >= \"2010-01-01T00:00:00Z\" ^^ xsd:dateTime && ?date <= \"2010-12-31T23:59:59Z\" ^^ xsd:dateTime)\n}", "paraphrases": ["Which items in Wikidata had a premiere, first flight, service entry, spacecraft launch/landing, orbit decay, docking, or point in time occurring in the year 2010?", "List all entities that experienced a key event \u2014 such as a premiere, launch, or entry into service \u2014 during 2010."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P585> | <http://www.wikidata.org/prop/direct/P606> | <http://www.wikidata.org/prop/direct/P619> | <http://www.wikidata.org/prop/direct/P620> | <http://www.wikidata.org/prop/direct/P621> | <http://www.wikidata.org/prop/direct/P622> | <http://www.wikidata.org/prop/direct/P729> | <http://www.wikidata.org/prop/direct/P1191> ) ?var2 . FILTER ( ( ( ?var2 >= \"2010-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"2010-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_6245", "question": "What are all the subclasses and superclasses of inner product space within six levels, and what are their direct superclasses?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?item ?itemLabel ?directSuperclass WHERE {\n  {\n    wd:Q214159 ^ wdt:P279 ?item1 .\n    BIND(?item1 AS ?item)\n  } UNION {\n    wd:Q214159 ^ wdt:P279 / ^ wdt:P279 ?item2 .\n    BIND(?item2 AS ?item)\n  } UNION {\n    wd:Q214159 ^ wdt:P279 / ^ wdt:P279 / ^ wdt:P279 ?item3 .\n    BIND(?item3 AS ?item)\n  } UNION {\n    wd:Q214159 ^ wdt:P279 / ^ wdt:P279 / ^ wdt:P279 / ^ wdt:P279 ?item4 .\n    BIND(?item4 AS ?item)\n  } UNION {\n    wd:Q214159 ^ wdt:P279 / ^ wdt:P279 / ^ wdt:P279 / ^ wdt:P279 / ^ wdt:P279 ?item5 .\n    BIND(?item5 AS ?item)\n  } UNION {\n    wd:Q214159 ^ wdt:P279 / ^ wdt:P279 / ^ wdt:P279 / ^ wdt:P279 / ^ wdt:P279 / ^ wdt:P279 ?item6 .\n    BIND(?item6 AS ?item)\n  } UNION {\n    wd:Q214159 wdt:P279 ?item7 .\n    BIND(?item7 AS ?item)\n  } UNION {\n    wd:Q214159 wdt:P279 / wdt:P279 ?item8 .\n    BIND(?item8 AS ?item)\n  } UNION {\n    wd:Q214159 wdt:P279 / wdt:P279 / wdt:P279 ?item9 .\n    BIND(?item9 AS ?item)\n  } UNION {\n    wd:Q214159 wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 ?item10 .\n    BIND(?item10 AS ?item)\n  } UNION {\n    wd:Q214159 wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 ?item11 .\n    BIND(?item11 AS ?item)\n  } UNION {\n    wd:Q214159 wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 ?item12 .\n    BIND(?item12 AS ?item)\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n  OPTIONAL {\n    ?item wdt:P279 ?directSuperclass .\n  }\n}\nORDER BY ?item", "paraphrases": ["Show me the hierarchy around inner product space \u2014 including both broader and narrower concepts \u2014 up to six levels deep, along with each concept\u2019s immediate parent class.", "List all mathematical concepts related to inner product space through subclass relationships (up to six steps away), and for each, what is its direct superclass?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q214159> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"6\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> \"6\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } UNION { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q214159> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Reverse\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"6\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> \"6\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pt\". } }"}}
{"id": "test_6246", "question": "What Wikidata item has the Twitter username 'wikidata'?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 \"wikidata\" .\n}", "paraphrases": ["Which entity on Wikidata is associated with the X (Twitter) handle 'wikidata'?", "Find the Wikidata item for the X username 'wikidata'."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"wikidata\" ) } }"}}
{"id": "test_6247", "question": "Which people on Wikidata have the Twitter usernames \"andrawaag\", \"mpedson\", or \"nichtich\"?", "sparql": "SELECT ?person ?twitterUsername WHERE { ?person wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"andrawaag\" \"mpedson\" \"nichtich\" } }", "paraphrases": ["Who are the individuals associated with the Twitter handles andrawaag, mpedson, and nichtich?", "Show me the Wikidata entries for people whose X (Twitter) usernames are andrawaag, mpedson, or nichtich."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"andrawaag\" ) ( \"string1\" ) ( \"chandopant\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"mpedson\" ) ( \"string6\" ) ( \"blinry\" ) ( \"nichtich\" ) ( \"string7\" ) ( \"string8\" ) } }"}}
{"id": "test_6248", "question": "Image of Elizabeth Blackwell with SNAC ARK ID w64q82r1", "sparql": "SELECT ?image WHERE {\n  ?item wdt:P3430 \"w64q82r1\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Elizabeth Blackwell in Wikidata, identified by the SNAC ARK ID w64q82r1?", "Show me the Wikimedia Commons image for the person whose SNAC ARK ID is w64q82r1."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w64q82r1\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6249", "question": "Image of Charles Montagu Doughty using SNAC ARK ID w6kw5mr8", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6kw5mr8\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6kw5mr8?", "Show me the Wikimedia Commons image for the entity with SNAC ARK ID w6kw5mr8."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6kw5mr8\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6250", "question": "Living American baseball or basketball players born today, born after 1930.", "sparql": "SELECT DISTINCT ( YEAR( ?dob ) AS ?birthYear ) ?personLabel ?genderLabel WHERE { BIND( MONTH( NOW() ) AS ?currentMonth ) . BIND( DAY( NOW() ) AS ?currentDay ) . ?person wdt:P569 ?dob ; wdt:P21 ?gender ; wdt:P27 wd:Q30 . { ?person wdt:P106 wd:Q10871364 . } UNION { ?person wdt:P106 wd:Q3665646 . } OPTIONAL { ?person wdt:P570 ?deathDate . } FILTER ( !BOUND( ?deathDate ) ) . FILTER ( YEAR( ?dob ) > 1930 ) . FILTER ( MONTH( ?dob ) = ?currentMonth && DAY( ?dob ) = ?currentDay ) . ?person rdfs:label ?personLabel . ?gender rdfs:label ?genderLabel . FILTER ( LANG( ?personLabel ) = \"en\" ) . FILTER ( LANG( ?genderLabel ) = \"en\" ) . } LIMIT 100", "paraphrases": ["Who are the living American athletes who play baseball or basketball and were born on this day after 1930?", "List the names, genders, and birth years of all living American baseball or basketball players born on today\u2019s date since 1930."], "info": {"raw_sparql": "SELECT DISTINCT( YEAR ( ?var1 ) AS ?var2 ) ?var3Label ?var4 ?var5Label WHERE { BIND ( MONTH ( NOW ( ) ) AS ?var6 ). BIND ( DAY ( NOW ( ) ) AS ?var7 ). ?var3 <http://www.wikidata.org/prop/direct/P569> ?var1 ; <http://www.wikidata.org/prop/direct/P21> ?var5 ; <http://www.wikidata.org/prop/direct/P166> ?var8 ; <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q30> . { ?var3 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q10871364> . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q3665646> . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P570> ?var9 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( !( BOUND ( ?var9 ) ) ) ) . FILTER ( ( ( YEAR ( ?var1 ) > \"1930\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . FILTER ( ( ( MONTH ( ?var1 ) = ?var6 ) && ( DAY ( ?var1 ) = ?var7 ) ) ) . } LIMIT 100"}}
{"id": "test_6251", "question": "What film has the Russiancinema.ru ID 6720?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P2678 \"6720\" .\n}", "paraphrases": ["Which Wikidata item corresponds to the Russiancinema.ru film ID \"6720\"?", "Find the film in Wikidata that is identified by the Russiancinema.ru ID 6720."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2678> \"6720\". }"}}
{"id": "test_6252", "question": "What items are listed in the catalog of paintings in the Gem\u00e4ldegalerie Berlin, and what are their German labels?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?labelDe ?labelNds WHERE {\n  ?item wdt:P972 wd:Q5460604 .\n  OPTIONAL {\n    ?item rdfs:label ?labelDe\n    FILTER(LANG(?labelDe) = \"de\")\n  }\n  OPTIONAL {\n    ?item rdfs:label ?labelNds\n    FILTER(LANG(?labelNds) = \"nds\")\n  }\n}\nORDER BY ASC(?item)", "paraphrases": ["Show me any items from the Berlin Gem\u00e4ldegalerie painting catalog along with their German and Low German names.", "Which entries in the Gem\u00e4ldegalerie Berlin\u2019s painting catalog have a German label?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P972> <http://www.wikidata.org/entity/Q5460604> . OPTIONAL { ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . } OPTIONAL { ?var1 <http://wikiba.se/ontology#statements> ?var3 . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"de\" ) ) ) . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"nds\" ) ) ) . } } ORDER BY ASC( ?var1 )"}}
{"id": "test_6253", "question": "What are some Wikidata properties and their English labels?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nSELECT DISTINCT ?property ?propertyLabel WHERE {\n  ?property rdf:type wikibase:Property .\n  ?property rdfs:label ?propertyLabel .\n  FILTER(LANG(?propertyLabel) = \"en\")\n}\nLIMIT 10", "paraphrases": ["Can you list 10 properties in Wikidata along with their English names?", "Show me the English labels for 10 Wikidata properties."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 10"}}
{"id": "test_6254", "question": "What properties are used to describe the Bergier Commission Reports in English?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?propertyItem ?propertyLabel ?propertyDescription WHERE {\n  wd:Q44041193 ?directProperty ?value .\n  FILTER ( STRSTARTS( STR( ?directProperty ) , \"http://www.wikidata.org/prop/direct/\" ) ) BIND( IRI( REPLACE( STR( ?directProperty ) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\" ) ) AS ?propertyItem ) ?propertyItem rdfs:label ?propertyLabel .\n  ?propertyItem schema:description ?propertyDescription .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" ) FILTER ( LANG( ?propertyDescription ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Which English-labeled properties link to the publication \"Publications of the Independent Commission of Experts Switzerland \u2013 Second World War\"?", "Can you list the English labels and descriptions of all properties that have the Bergier Commission Reports as their subject?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q44041193> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_6255", "question": "What source properties are commonly used to cite cast members in animated films and series on Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX prov: <http://www.w3.org/ns/prov#>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT DISTINCT ?provenanceProperty WHERE {\n  ?work(wdt:P31 | wdt:P136) / wdt:P279 * ?animatedType ; p:P161 ?castStatement .\n  ?castStatement prov:wasDerivedFrom ?source .\n  ?source ?provenanceProperty ?sourceValue .\n  VALUES ?animatedType {\n    wd:Q202866 wd:Q581714\n  }\n  FILTER(STRSTARTS(STR(?provenanceProperty) , \"http://www.wikidata.org/prop/reference/\"))\n}\nLIMIT 100", "paraphrases": ["Which reference properties, like publisher or archive URL, are used to support claims about who voiced characters in animated movies and TV shows?", "Can you show me the types of sources (e.g., websites, books, other wikis) that are cited when listing actors in animated films and series?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { ?var2 (( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P136> )/ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q202866> ; <http://www.wikidata.org/prop/P161> ?var3 . } UNION { ?var2 (( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P136> )/ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q581714> ; <http://www.wikidata.org/prop/P161> ?var3 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/qualifier/P453> ?var4 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/qualifier/P518> ?var5 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/qualifier/P1810> ?var6 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/qualifier/P1932> ?var7 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/qualifier/P3831> ?var8 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/qualifier/P1545> ?var9 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/qualifier/P642> ?var10 . } OPTIONAL { ?var3 <http://www.w3.org/ns/prov#wasDerivedFrom> ?var11 . ?var11 ?var1 ?var12 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_6256", "question": "Who are the grandchildren of people who are priests?", "sparql": "SELECT ?grandchild ?grandchildLabel WHERE { ?person wdt:P106 wd:Q42603 . ?person wdt:P40 ?child . ?child wdt:P40 ?grandchild . ?grandchild rdfs:label ?grandchildLabel . FILTER(LANG(?grandchildLabel) = \"en\") }", "paraphrases": ["Grandchildren of priests in Wikidata", "List the names of the grandchildren of individuals whose occupation is priest."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q42603> <http://www.wikidata.org/prop/direct/P40> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P40> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6257", "question": "Who are some people who are priests?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?priest ?priestLabel WHERE {\n  ?priest wdt:P106 wd:Q42603 .\n  ?priest rdfs:label ?priestLabel .\n  FILTER ( LANG( ?priestLabel ) = \"en\" )\n}\nLIMIT 50", "paraphrases": ["List 50 individuals with the occupation of priest.", "Can you show me the names of people who work as priests?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q42603> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 50"}}
{"id": "test_6258", "question": "Czech streets named \"H\u0159bitovn\u00ed\" and the cemeteries they are named after.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ( STRAFTER( STR( ?street ) , STR( wd: ) ) AS ?streetId ) ( STRAFTER( STR( ?cemetery ) , STR( wd: ) ) AS ?cemeteryId ) WHERE {\n  ?street wdt:P4533 [] ; rdfs:label \"H\u0159bitovn\u00ed\" @cs ; wdt:P138 ?cemetery .\n  ?cemetery wdt:P31 wd:Q39614 .\n}", "paraphrases": ["Which streets in the Czech Republic named \"H\u0159bitovn\u00ed\" are named after a cemetery, and what are the cemeteries?", "List the Wikidata IDs of Czech streets called \"H\u0159bitovn\u00ed\" and the cemeteries they are named after."], "info": {"raw_sparql": "SELECT( STRAFTER ( STR ( ?var1 ) , STR ( <http://www.wikidata.org/entity/> ) ) AS ?var2 )( STRAFTER ( STR ( ?var3 ) , STR ( <http://www.wikidata.org/entity/> ) ) AS ?var4 ) WHERE { VALUES ( ?var5Label ?var6 ) { ( \"H\u0159bitovn\u00ed\"@cs <http://www.wikidata.org/entity/Q39614> ) } ?var1 <http://www.wikidata.org/prop/direct/P4533> [] ; <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label ; <http://www.wikidata.org/prop/direct/P131> ?var7 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P138> [] . } ?var7 ^ <http://www.wikidata.org/prop/direct/P131> + ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P31> ?var6 . MINUS { ?var7 ^ <http://www.wikidata.org/prop/direct/P131> + ?var8 . ?var8 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var6 . FILTER ( ( ( ?var3 != ?var8 ) ) ) . } }"}}
{"id": "test_6259", "question": "What entities are linked to the Rettig Report through statements, and what properties are used in those statements?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?statement ?property(SAMPLE(?qualifierProperty) AS ?qualifier) WHERE {\n  {\n    SELECT DISTINCT ?item ?statement ?property WHERE {\n      ?statement ?statementProperty wd:Q2517561 .\n      ?item ?claimProperty ?statement .\n      ?property wikibase:statementProperty ?statementProperty .\n      ?property wikibase:claim ?claimProperty .\n      FILTER(?property != wd:P31)\n    }\n  }\n  OPTIONAL {\n    ?statement ?qualifierProperty ?qualifierValue .\n    ?property wikibase:qualifier ?qualifierProperty .\n  }\n}\nGROUP BY ?item ?statement ?property", "paraphrases": ["Which items have statements referencing the Chilean Truth and Reconciliation Report, and what kind of relationships do those statements express?", "Can you list the entities connected to the Rettig Report via statement nodes, along with the properties used to link them, and any qualifiers on those links?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q2517561> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_6260", "question": "How many living Estonian citizens are documented in Wikidata per million of Estonia's total population?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?country(SAMPLE(?label) AS ?countryLabel) ?totalPopulation(ROUND((COUNT(*) / ?totalPopulation) * 1000000) AS ?livingCitizensPerMillion) WHERE {\n  BIND(wd:Q191 AS ?country)\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P27 ?country .\n  ?person wdt:P569 ?dateOfBirth .\n  FILTER(NOT EXISTS {\n    ?person wdt:P570 ?dateOfDeath .\n  })\n  ?country wdt:P1082 ?totalPopulation .\n  ?country rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nGROUP BY ?country ?totalPopulation\nORDER BY DESC(?livingCitizensPerMillion)", "paraphrases": ["What percentage of Estonia's population is represented in Wikidata as living citizens?", "Show the number of living Estonian citizens in Wikidata per million people in Estonia, along with the country's total population."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ( ROUND ( ( ( ?var2 / ?var3 ) *\"1000000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var4 ) WHERE { { SELECT ?var1 ( COUNT (* ) AS ?var2 ) WHERE { { SELECT DISTINCT ?var5 ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q191> AS ?var1 ). ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var5 <http://www.wikidata.org/prop/direct/P27> ?var1 . ?var5 <http://www.wikidata.org/prop/direct/P569> ?var6 . FILTER ( ( NOT EXISTS { ?var5 <http://www.wikidata.org/prop/direct/P570> ?var6 . } ) ) . } } } GROUP BY ?var1 } ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var6 )"}}
{"id": "test_6261", "question": "What are the entities on Wikidata that have the Twitter usernames \"CityOfBoston\", \"melroserugby\", or \"deventergem\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity ?twitterUsername WHERE {\n  ?entity wdt:P2002 ?twitterUsername .\n  VALUES ?twitterUsername {\n    \"CityOfBoston\" \"melroserugby\" \"deventergem\"\n  }\n}", "paraphrases": ["Show me the Wikidata items linked to the Twitter accounts @CityOfBoston, @melroserugby, and @deventergem.", "Which entities in Wikidata use these Twitter handles: CityOfBoston, melroserugby, and deventergem?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"smresel\" ) ( \"string2\" ) ( \"string3\" ) ( \"MPlantavid\" ) ( \"franceinfo\" ) ( \"string4\" ) ( \"JeanHugon3\" ) ( \"Aazaz222\" ) ( \"munmn9169\" ) ( \"v_fii_\" ) ( \"string5\" ) ( \"string6\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6262", "question": "What Wikidata properties are classified as BFO classes?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?property WHERE {\n  ?property wdt:P31 wd:Q35120 .\n}", "paraphrases": ["List all properties in Wikidata that are instances of the Basic Formal Ontology class.", "Which entities in Wikidata are properties and belong to the BFO class?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://wikiba.se/ontology#Property> <http://www.wikidata.org/entity/Q35120> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_6263", "question": "Properties linking items to the Encore Award with more than one occurrence.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ( COUNT( ?item ) AS ?count ) WHERE {\n  ?item ?property wd:Q5375541 .\n  FILTER ( STRSTARTS( STR( ?property ) , \"http://www.wikidata.org/prop/direct/\" ) || STRSTARTS( STR( ?property ) , \"http://schema.org/\" ) )\n}\nGROUP BY ?property\nHAVING ( ?count > 1 )\nORDER BY DESC ( ?count )", "paraphrases": ["Which properties are used to associate multiple items with the Encore Award, and how many items are linked by each?", "Show me the properties that connect more than one entity to the Encore Award, along with the count of connections."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q5375541> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_6264", "question": "Top 100 cities in Germany by population, with website and coordinates, population over 10,000", "sparql": "SELECT DISTINCT ?city ?cityLabel ?website ?population ?coordinates WHERE {  ?city (wdt:P31/wdt:P279*) wd:Q515 ;        wdt:P17 wd:Q183 ;        wdt:P1082 ?population ;        wdt:P625 ?coordinates ;        wdt:P856 ?website .  OPTIONAL { ?city rdfs:label ?cityLabel . FILTER(LANG(?cityLabel) = \"en\") }  FILTER (?population >= 10000)} ORDER BY DESC(?population) ASC(?cityLabel) LIMIT 100", "paraphrases": ["What are the largest cities in Germany with more than 10,000 residents, and what are their official websites and coordinates?", "List the 100 most populous German cities with a population of at least 10,000, including their English names, official websites, and geographic coordinates, sorted by population size."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P856> ?var2 . FILTER ( ( ( ?var3 >= \"10000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } } ORDER BY DESC( ?var3 )ASC( ?var1Label ) LIMIT 100"}}
{"id": "test_6265", "question": "Film with Russiancinema.ru ID 6502", "sparql": "SELECT ?film WHERE { ?film wdt:P2678 \"6502\" . }", "paraphrases": ["What film has the Russiancinema.ru ID 6502?", "Tell me the name of the film identified by 6502 on Russiancinema.ru."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2678> \"6502\". }"}}
{"id": "test_6266", "question": "What are the Twitter handles of major French organizations and individuals, and what are their English Wikipedia labels?", "sparql": "SELECT ?entity ?twitterHandle ?entityLabel WHERE { ?entity wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { \"GroupeBPCE\" \"Bpifrance\" \"GroupeSNCF\" \"alainjuppe\" \"Paris2024\" \"canalplus\" \"ffescrime\" } . ?entity rdfs:label ?entityLabel . FILTER(LANG(?entityLabel) = 'en') } ORDER BY ?entityLabel", "paraphrases": ["Show me the entities on Wikidata that have Twitter usernames like 'GroupeBPCE', 'Bpifrance', or 'alainjuppe', along with their English names.", "Which French entities have verified Twitter accounts, and what are their official English names?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"GroupeBPCE\" ) ( \"bjuppet\" ) ( \"20minutes\" ) ( \"string3\" ) ( \"SayYess\" ) ( \"string4\" ) ( \"LADAPT\" ) ( \"string5\" ) ( \"MyHumanKit\" ) ( \"GroupeSII\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"s_cluzel\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) ( \"ONU_fr\" ) ( \"Paris2024\" ) ( \"string13\" ) ( \"E_Assmann\" ) ( \"string14\" ) ( \"string15\" ) ( \"MJEREMIASZ\" ) ( \"string16\" ) ( \"string17\" ) ( \"string18\" ) ( \"string19\" ) ( \"TCurin\" ) ( \"string20\" ) ( \"string21\" ) ( \"brutsport\" ) ( \"BETCParis\" ) ( \"string22\" ) ( \"string23\" ) ( \"tendanceh\" ) ( \"RennesSB\" ) ( \"string24\" ) ( \"string25\" ) ( \"canalplus\" ) ( \"string26\" ) ( \"havas\" ) ( \"string27\" ) ( \"string28\" ) ( \"SportEDF\" ) ( \"HavasMedia\" ) ( \"Bpifrance\" ) ( \"string29\" ) ( \"string30\" ) ( \"string31\" ) ( \"ffescrime\" ) ( \"string32\" ) ( \"fencingnet\" ) ( \"string33\" ) ( \"string34\" ) ( \"string35\" ) ( \"string36\" ) ( \"string37\" ) ( \"AGuyart\" ) ( \"bguyart\" ) ( \"GroupeSNCF\" ) ( \"string38\" ) ( \"alainjuppe\" ) ( \"Bordeaux\" ) ( \"gironde\" ) ( \"string39\" ) ( \"string40\" ) ( \"ERPTokyo\" ) ( \"string41\" ) ( \"string42\" ) ( \"Fabien976\" ) ( \"string43\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6267", "question": "Theatre buildings in Brazil and their locations", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?theatre ?location WHERE {\n  ?theatre ( p:P31 / ps:P31 / wdt:P279 * ) wd:Q24354 .\n  ?theatre wdt:P17 wd:Q155 .\n  OPTIONAL {\n    ?theatre wdt:P131 ?location .\n  }\n}\nLIMIT 385", "paraphrases": ["What are the theatre buildings in Brazil and where are they located?", "List all theatre buildings in Brazil along with the cities or regions they are in."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,pt\". } ?var1 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/statement/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q24354> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q155> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . } } LIMIT 385"}}
{"id": "test_6268", "question": "What Wikidata entities have the Twitter usernames \"Telerama\", \"CNIL\", or \"ParisMatch\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterHandle WHERE {\n  ?item wdt:P2002 ?twitterHandle .\n  FILTER(?twitterHandle = \"Telerama\" || ?twitterHandle = \"CNIL\" || ?twitterHandle = \"ParisMatch\")\n}", "paraphrases": ["Which organizations or publications on Wikidata use \"Telerama\", \"CNIL\", or \"ParisMatch\" as their Twitter handle?", "Show me the Wikidata items for the French media outlets T\u00e9l\u00e9rama, CNIL, and Paris Match, along with their Twitter handles."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"woumpah\" ) ( \"string7\" ) ( \"string8\" ) ( \"Telerama\" ) ( \"supbruss\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) ( \"CNIL\" ) ( \"LINCnil\" ) ( \"string13\" ) ( \"string14\" ) ( \"latruffe\" ) ( \"string15\" ) ( \"ParisMatch\" ) ( \"string16\" ) ( \"string17\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6269", "question": "Social institutions with GRID IDs, their English labels, descriptions, images, ISNI numbers, and Q-numbers.", "sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 wdt:P31 wd:Q178706 ; wdt:P2427 ?var6 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") . ?var1 schema:description ?var5 . FILTER(LANG(?var5) = \"en\") . OPTIONAL { ?var1 wdt:P18 ?var3 . } OPTIONAL { ?var1 wdt:P213 ?var4 . } BIND( STRAFTER( STR( ?var1 ) , \"Q\" ) AS ?var2 ) .} LIMIT 10", "paraphrases": ["What are the English-named social institutions that have a GRID ID, and what are their descriptions, images, ISNI identifiers, and Q-numbers?", "List up to 10 social institutions that have a GRID ID, showing their English name, description, image (if available), ISNI (if available), and the numeric part of their Wikidata ID."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/P31> <http://www.wikidata.org/entity/Q178706> ; <http://www.wikidata.org/prop/P2427> ?var6 . ?var1 <http://schema.org/description> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P213> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } BIND ( STRAFTER ( STR ( ?var1 ) , \"string1\" ) AS ?var2 ). } LIMIT 10"}}
{"id": "test_6270", "question": "Which organizations or people have Twitter usernames \"Le_Figaro\", \"francebleu\", or \"DenisPayre\"?", "sparql": "SELECT ?item ?twitter WHERE { ?item wdt:P2002 ?twitter . VALUES ?twitter { \"Le_Figaro\" \"francebleu\" \"DenisPayre\" } }", "paraphrases": ["Who are the entities on Wikidata associated with the Twitter handles \"Le_Figaro\", \"francebleu\", and \"DenisPayre\"?", "List the Wikidata items that have the Twitter usernames \"Le_Figaro\", \"francebleu\", or \"DenisPayre\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"DenisPayre\" ) ( \"string1\" ) ( \"string2\" ) ( \"anecaro\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"xjfontanet\" ) ( \"string7\" ) ( \"string8\" ) ( \"Cdanslair\" ) ( \"string9\" ) ( \"francebleu\" ) ( \"string10\" ) ( \"string11\" ) ( \"Le_Figaro\" ) ( \"Delphine_D\" ) ( \"string12\" ) ( \"string13\" ) ( \"string14\" ) ( \"string15\" ) ( \"24hPujadas\" ) ( \"Tapanur\" ) ( \"Xavier75\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6271", "question": "What are the subclasses of software publisher?", "sparql": "SELECT ?subclass ?subclassLabel WHERE { ?subclass wdt:P279 wd:Q7554349 . ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") }", "paraphrases": ["Is there a specific type of software publisher that is a subclass of software publisher?", "What are the English names of all direct subclasses of the entity \"software publisher\"?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q7554349> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_6272", "question": "German theologians' children or parents and their occupations", "sparql": "SELECT ?person ?personLabel ?parent_or_child ?parent_or_childLabel ?image ?religion ?religionLabel ?occupation ?occupationLabel WHERE {\n  {\n    ?person wdt:P22 ?parent_or_child .\n  } UNION {\n    ?parent_or_child wdt:P40 ?person .\n  }\n  \n  ?parent_or_child wdt:P106 ?parent_occupation .\n  FILTER(?parent_occupation = wd:Q1234713 || ?parent_occupation = wd:Q955464)\n  \n  ?person wdt:P106 ?occupation .\n  ?person wdt:P140 ?religion .\n  \n  {\n    ?person wdt:P27 wd:Q183 .\n  } UNION {\n    ?person wdt:P1412 wd:Q188 .\n  }\n  \n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n  \n  # Get labels\n  ?person rdfs:label ?personLabel .\n  ?parent_or_child rdfs:label ?parent_or_childLabel .\n  ?religion rdfs:label ?religionLabel .\n  ?occupation rdfs:label ?occupationLabel .\n  \n  # Filter for English labels\n  FILTER(LANG(?personLabel) = \"en\")\n  FILTER(LANG(?parent_or_childLabel) = \"en\")\n  FILTER(LANG(?religionLabel) = \"en\")\n  FILTER(LANG(?occupationLabel) = \"en\")\n}\nLIMIT 1000", "paraphrases": ["Who are German-speaking people whose father or child is a theologian or parson, and what are their religion and occupation?", "List people from Germany or who speak German that have a theologian or parson as a parent or child, along with their religion, occupation, and image."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var4Label ?var5 ?var5Label WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P22> ?var2 . } UNION { ?var2 <http://www.wikidata.org/prop/direct/P40> ?var1 . } { ?var2 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1234713> . } UNION { ?var2 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q955464> . } ?var1 <http://www.wikidata.org/prop/direct/P106> ?var5 . { ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q183> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P1412> <http://www.wikidata.org/entity/Q188> . } ?var1 <http://www.wikidata.org/prop/direct/P140> ?var4 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P140> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P27> ?var6 . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q183> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 1000"}}
{"id": "test_6273", "question": "What is the image associated with the person having SNAC ARK ID w65791rg?", "sparql": "SELECT ?image WHERE { ?person wdt:P3430 \"w65791rg\" . OPTIONAL { ?person wdt:P18 ?image . } }", "paraphrases": ["Can you find the Wikimedia Commons image for James Alexander Smith, identified by SNAC ARK ID w65791rg?", "Show the image of the individual linked to the SNAC ARK ID w65791rg, if one exists."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w65791rg\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6274", "question": "Wikimedia categories with Jupiter as main topic", "sparql": "SELECT ?category ?categoryLabel ?statement WHERE { ?category p:P301 ?statement . ?statement ps:P301 wd:Q319 . OPTIONAL { ?category rdfs:label ?categoryLabel . FILTER(LANG(?categoryLabel) = 'en') } } LIMIT 10", "paraphrases": ["Which Wikimedia categories have Jupiter as their main topic?", "List all Wikimedia categories whose main subject is the planet Jupiter."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P301> <http://www.wikidata.org/entity/Q319> . ?var1 <http://www.wikidata.org/prop/P301> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_6275", "question": "What property is most commonly used to indicate that places or things are named after Anne Frank?", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?prop wd:Q4583 . ?property wikibase:directClaim ?prop . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which Wikidata property links the most entities to Anne Frank as their namesake?", "How many things are named after Anne Frank, and what property is used to express this relationship?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q4583> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_6276", "question": "Greek-language labels of people born in 1983", "sparql": "SELECT ?label ?birthDate WHERE { ?person wdt:P569 ?birthDate . ?person rdfs:label ?label . FILTER ( LANG(?label) = \"el\" ) FILTER ( ?birthDate >= \"1983-01-01T00:00:00Z\"^^xsd:dateTime && ?birthDate <= \"1983-12-31T23:59:59Z\"^^xsd:dateTime ) } ORDER BY ASC(?birthDate)", "paraphrases": ["Who are the people born in 1983 that have a Greek-language label on Wikidata?", "List the names (in Greek) of all individuals born between January 1 and December 31, 1983, along with their birth dates."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P569> ?var2 . OPTIONAL { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"el\" ) ) ) . } FILTER ( ( ( ?var2 >= \"1983-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1983-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ?var1 ) ) . } ORDER BY ASC( ?var2 )"}}
{"id": "test_6277", "question": "What are some notable demolition events listed in Wikidata?", "sparql": "SELECT DISTINCT ?demolitionEvent ?label WHERE { ?demolitionEvent wdt:P31 wd:Q331483 . ?demolitionEvent rdfs:label ?label . FILTER(LANG(?label) = \"en\") } ORDER BY ASC(?label)", "paraphrases": ["Can you list the English names of all documented demolition events?", "Which historical events involved the destruction of buildings or structures, and what are their English names?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q331483> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_6278", "question": "Who are the most prolific authors affiliated with the University of Cambridge, and how many works have they authored?", "sparql": "SELECT (SAMPLE(?workCount) AS ?count) ?person ?personLabel (MAX(?birthDate) AS ?birthYear)\nWHERE {\n  {\n    SELECT ?person (COUNT(?work) AS ?workCount)\n    WHERE {\n      {\n        ?person (wdt:P108 | wdt:P463) wd:Q35794 .\n      } UNION {\n        ?person wdt:P1416 / wdt:P361* wd:Q35794 .\n      }\n      OPTIONAL {\n        ?work wdt:P50 ?person .\n      }\n    }\n    GROUP BY ?person\n  }\n  OPTIONAL {\n    ?person wdt:P569 ?birthDateRaw .\n    BIND(xsd:date(?birthDateRaw) AS ?birthDate)\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}\nGROUP BY ?person ?personLabel\nORDER BY DESC(?count)\nLIMIT 10", "paraphrases": ["Can you list the University of Cambridge affiliates who have written the most publications, along with their birth years?", "Show me the top 10 authors linked to the University of Cambridge by employment or affiliation, sorted by the number of works they\u2019ve written, and include their dates of birth if available."], "info": {"raw_sparql": "SELECT( SAMPLE ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ( MAX ( ?var4 ) AS ?var5 ) WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT( COUNT ( ?var6 ) AS ?var1 ) ?var3 WHERE { { SELECT DISTINCT ?var3 WHERE { { ?var3 ( <http://www.wikidata.org/prop/direct/P108> | <http://www.wikidata.org/prop/direct/P463> ) <http://www.wikidata.org/entity/Q13371> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P1416> / <http://www.wikidata.org/prop/direct/P361> *) <http://www.wikidata.org/entity/Q13371> . } } } OPTIONAL { ?var6 <http://www.wikidata.org/prop/direct/P50> ?var3 . } } GROUP BY ?var3 } OPTIONAL { BIND ( <http://www.w3.org/2001/XMLSchema#date> ( ?var7 ) AS ?var4 ). ?var3 <http://www.wikidata.org/prop/direct/P569> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,nl,no,ru,sv,zh\". } } GROUP BY ?var3 ?var3Label ORDER BY DESC( ?var2 )"}}
{"id": "test_6279", "question": "List all failed attacks with their English names.", "sparql": "SELECT DISTINCT ?item ?itemLabel WHERE { ?item wdt:P31 wd:Q28945444 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } ORDER BY ASC(?itemLabel)", "paraphrases": ["What are the English labels of all events classified as failed attacks on Wikidata?", "Show me the names of all failed attacks in English, sorted alphabetically."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q28945444> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_6280", "question": "Countries without a defined head of state or head of government in Wikidata.", "sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 wdt:P31 wd:Q6256 . FILTER ( NOT EXISTS { ?var1 wdt:P1906 [] } ) . FILTER ( NOT EXISTS { ?var1 wdt:P1313 [] } ) . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") } ORDER BY ASC(?var1)", "paraphrases": ["Which countries in Wikidata do not have any information about their head of state or head of government?", "List all entities classified as countries that lack any office held by head of state or head of government."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1906> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1313> ?var2 . } FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P1906> [] . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P1313> [] . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_6281", "question": "Image of the person with SNAC ARK ID w66q2gbz", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w66q2gbz\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w66q2gbz?", "Can you show me the Wikimedia Commons image for John Milton Niles, identified by the SNAC ARK ID w66q2gbz?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w66q2gbz\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6282", "question": "What film has the Scope.dk ID 9403?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P2518 \"9403\" .\n}", "paraphrases": ["Which film is identified by the Scope.dk film ID \"9403\"?", "Find the film associated with the Scope.dk identifier 9403."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2518> \"9403\". }"}}
{"id": "test_6283", "question": "Who became the Prime Minister of Singapore in 2004?", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person WHERE {\n  ?person p:P39 ?statement .\n  ?statement ps:P39 wd:Q866756 .\n  ?statement pq:P580 ?startDate .\n  FILTER ( YEAR( ?startDate ) = 2004 )\n}\nLIMIT 100", "paraphrases": ["List the person who assumed the office of Prime Minister of Singapore in 2004.", "Which individual started serving as Prime Minister of Singapore in the year 2004?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q866756> . ?var1 ( <http://www.wikidata.org/prop/direct/P39> / <http://www.wikidata.org/prop/direct/P580> ) ?var2 . FILTER ( ( ( YEAR ( ?var2 ) = \"2004\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } LIMIT 100"}}
{"id": "test_6284", "question": "What film has the EDb ID \"t0005710\"?", "sparql": "SELECT ?film WHERE { ?film wdt:P3141 \"t0005710\" . }", "paraphrases": ["Which movie in Wikidata is identified by the EDb film ID t0005710?", "Can you find the Wikidata item for the film with the EDb identifier t0005710?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3141> \"t0005710\". }"}}
{"id": "test_6285", "question": "People born on January 29 with an Odia Wikipedia page", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX schema: <http://schema.org/>\nPREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?var1 ?var2 ?var3 WHERE {\n  ?var1 ^ schema:about ?var3 .\n  ?var3 schema:isPartOf <https://or.wikipedia.org/> .\n  ?var1 p:P569 / psv:P569 ?valueNode .\n  ?valueNode wikibase:timeValue ?var2 .\n  ?valueNode wikibase:timePrecision \"11\" ^^ xsd:integer .\n  FILTER(MONTH(?var2) = 1 && DAY(?var2) = 29)\n}", "paraphrases": ["Who are the people born on January 29 who have a Wikipedia page in Odia?", "List individuals born on January 29 and link them to their Odia Wikipedia articles."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 ^ <http://schema.org/about> ?var3 . ?var3 <http://schema.org/isPartOf> <https://or.wikipedia.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"or,en\". } ?var4 <http://wikiba.se/ontology#timePrecision> \"11\"^^<http://www.w3.org/2001/XMLSchema#integer> . ?var4 <http://wikiba.se/ontology#timeValue> ?var2 . FILTER ( ( ( MONTH ( ?var2 ) = \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( DAY ( ?var2 ) = \"29\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var1 ( <http://www.wikidata.org/prop/P569> / <http://www.wikidata.org/prop/statement/value/P569> ) ?var4 . }"}}
{"id": "test_6286", "question": "Is Archangels' wooden church in Culcea a type of software?", "sparql": "ASK WHERE { wd:Q12722197 wdt:P31/wdt:P279* wd:Q7397 .}", "paraphrases": ["Could Archangels' wooden church in Culcea be considered software, either directly or through its class hierarchy?", "Confirm whether Archangels' wooden church in Culcea belongs to the category of software, including any of its superclasses."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q12722197> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6287", "question": "What is the image associated with the SNAC ARK ID \"w6mw59bg\"?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6mw59bg\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Can you find the Wikimedia Commons image for the archival record with SNAC ID w6mw59bg?", "Show the picture of the person identified by the SNAC ARK ID w6mw59bg, if one exists."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6mw59bg\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6288", "question": "Who died on January 29 and have a page on the Odia Wikipedia?", "sparql": "SELECT ?person ?personLabel ?deathDate ?wikiPage WHERE { ?wikiPage schema:about ?person . ?wikiPage schema:isPartOf <https://or.wikipedia.org/> . ?person p:P570 ?deathStatement . ?deathStatement psv:P570 ?deathValue . ?deathValue wikibase:timeValue ?deathDate . ?deathValue wikibase:timePrecision 11 . FILTER (MONTH(?deathDate) = 1 && DAY(?deathDate) = 29) . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"or\") }", "paraphrases": ["Can you list people who passed away on January 29, along with their Odia names and corresponding Odia Wikipedia pages?", "What are the Odia-language Wikipedia entries for individuals who died on January 29 of any year?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 ^ <http://schema.org/about> ?var3 . ?var3 <http://schema.org/isPartOf> <https://or.wikipedia.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"or,en\". } ?var4 <http://wikiba.se/ontology#timePrecision> \"11\"^^<http://www.w3.org/2001/XMLSchema#integer> . ?var4 <http://wikiba.se/ontology#timeValue> ?var2 . FILTER ( ( ( MONTH ( ?var2 ) = \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( DAY ( ?var2 ) = \"29\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var1 ( <http://www.wikidata.org/prop/P570> / <http://www.wikidata.org/prop/statement/value/P570> ) ?var4 . }"}}
{"id": "test_6289", "question": "What is the ORCID iD of the author of the article \"D-Limonene: safety and clinical applications\"?", "sparql": "SELECT ?author ?authorLabel (COALESCE(?orcid, CONCAT(\"string1\", ENCODE_FOR_URI(?authorLabel))) AS ?fallback) WHERE { wd:Q34723942 wdt:P2093 \"Jidong Sun\" . BIND(wd:Q131113833 AS ?author) . ?author rdfs:label ?authorLabel . FILTER(LANG(?authorLabel) = \"en\") . OPTIONAL { ?author wdt:P496 ?orcid . } }", "paraphrases": ["Show the name and ORCID of the author of the scholarly article D-Limonene: safety and clinical applications, or generate a fallback string if no ORCID is available.", "Who wrote the article \"D-Limonene: safety and clinical applications\", and do they have an ORCID identifier?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COALESCE ( ?var2 , CONCAT ( \"string1\", ENCODE_FOR_URI ( ?var1Label ) ) ) AS ?var3 ) WHERE { <http://www.wikidata.org/entity/Q34723942> <http://www.wikidata.org/prop/direct/P50> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,da,de,es,fr,nl,no,ru,sv,zh\". } }"}}
{"id": "test_6290", "question": "Find all stereoisomers of (+)-limonene using their InChIKey prefix and list their CAS, ChemSpider, and PubChem IDs.", "sparql": "SELECT ?chemical ?inchikey ?cas ?chemspider ?pubchem ?label WHERE { wd:Q27888324 wdt:P235 ?targetInchikey . ?chemical wdt:P235 ?inchikey . OPTIONAL { ?chemical wdt:P231 ?cas . } OPTIONAL { ?chemical wdt:P661 ?chemspider . } OPTIONAL { ?chemical wdt:P662 ?pubchem . } FILTER ( REGEX( STR(?inchikey), CONCAT(\"^\", SUBSTR(?targetInchikey, 1, 14), \"-\") ) ) OPTIONAL { ?chemical rdfs:label ?label . FILTER(LANG(?label) = \"en\") } }", "paraphrases": ["What are the chemical identifiers (CAS, ChemSpider, PubChem) for all stereoisomers of (+)-limonene that share the same molecular skeleton?", "Return the English names and chemical database identifiers (CAS, ChemSpider, PubChem) for all compounds that are stereoisomers of (+)-limonene, identified by matching the first 14 characters of their InChIKey."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { <http://www.wikidata.org/entity/Q27888324> <http://www.wikidata.org/prop/direct/P235> ?var6 . ?var1 <http://www.wikidata.org/prop/direct/P235> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P231> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P661> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P662> ?var5 . } FILTER ( ( REGEX ( STR ( ?var2 ) , CONCAT ( \"^\", SUBSTR ( ?var6 ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"14\"^^<http://www.w3.org/2001/XMLSchema#integer> ) , \"-\" ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6291", "question": "Buildings designed by Austrian architects with their coordinates and names.", "sparql": "SELECT ?building ?architectLabel ?buildingLabel ?coordinates WHERE { ?building wdt:P84 ?architect . ?building wdt:P625 ?coordinates . ?architect wdt:P27 wd:Q40 . ?architect rdfs:label ?architectLabel . ?building rdfs:label ?buildingLabel . FILTER(LANG(?architectLabel) = \"en\") FILTER(LANG(?buildingLabel) = \"en\") } ORDER BY ASC(?architectLabel)", "paraphrases": ["Which buildings in the world were designed by architects who are citizens of Austria, and what are their names and locations?", "List all buildings designed by Austrian architects, including the architect\u2019s name, building name, and geographic coordinates, sorted alphabetically by architect name."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P84> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . ?var2 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q40> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } } ORDER BY ASC( ?var2Label )"}}
{"id": "test_6292", "question": "Italian labels and descriptions of properties used to describe the Solar System in Wikidata.", "sparql": "SELECT ?prop ?propLabel ?propDescription WHERE { wd:Q544 ?prop ?value . ?property wikibase:directClaim ?prop . ?property rdfs:label ?propLabel . ?property schema:description ?propDescription . FILTER(LANG(?propLabel) = \"it\") FILTER(LANG(?propDescription) = \"it\") } LIMIT 100", "paraphrases": ["What properties describe the Solar System in Italian, and what are their labels and descriptions?", "Show me the Italian labels and descriptions of all properties that are used to provide information about the Solar System on Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q544> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"it\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"it\" ) ) ) . } LIMIT 100"}}
{"id": "test_6293", "question": "What countries and continents is Buenos Aires located in?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?relatedEntity WHERE {\n  wd:Q1486 ( wdt:P30 | wdt:P17 | wdt:P131 ) ?relatedEntity .\n}", "paraphrases": ["Which administrative regions and geopolitical entities are directly associated with Buenos Aires?", "Show all geographic and political entities that Buenos Aires belongs to, such as its country and continent."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q1486> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_6294", "question": "Image of Martha May Eliot with SNAC ARK ID w6543w4f", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6543w4f\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with Martha May Eliot in Wikidata, given her SNAC ARK ID is w6543w4f?", "Show me the Wikimedia Commons image for the person identified by SNAC ARK ID w6543w4f."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6543w4f\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6295", "question": "Which Twitter accounts (elonmusk, NASA, Beyonce) have the fewest Wikipedia articles, and how many?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?entity ?username(COUNT(?wikipage) AS ?sitelinks) WHERE {\n  ?entity wdt:P2002 ?username .\n  ?wikipage schema:about ?entity ; schema:isPartOf ?wiki .\n  FILTER(STRSTARTS(STR(?wiki) , \"https://\"))\n  FILTER(?username = \"elonmusk\" || ?username = \"NASA\" || ?username = \"Beyonce\")\n}\nGROUP BY ?entity ?username\nORDER BY ASC(?sitelinks)", "paraphrases": ["How many Wikipedia pages are there for the Twitter accounts @elonmusk, @NASA, and @Beyonce, sorted from least to most popular?", "Show me the Twitter usernames for elonmusk, NASA, and Beyonce along with the number of Wikipedia articles about them, ordered by the smallest number of articles first."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"TCEOPERA\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"Mairiedu4e\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6296", "question": "Towns, airports, and cemeteries in Texas between longitude -97.5 and -96.5 and latitude 32.5 and 33.5, with their images and Wikimedia Commons categories.", "sparql": "SELECT ?item ?itemLabel ?coord ?image ?commonsCategory WHERE {\n  ?item wdt:P625 ?coord .\n  FILTER(geof:longitude(?coord) >= -97.5 && geof:longitude(?coord) <= -96.5)\n  FILTER(geof:latitude(?coord) >= 32.5 && geof:latitude(?coord) <= 33.5)\n  OPTIONAL { ?item wdt:P18 ?image . }\n  OPTIONAL { ?item wdt:P373 ?commonsCategory . }\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n} LIMIT 3000", "paraphrases": ["What places in the Dallas-Fort Worth area have geographic coordinates and are listed on Wikimedia Commons with images or categories?", "List all entities in north-central Texas (between -97.5\u00b0 and -96.5\u00b0 longitude and 32.5\u00b0 and 33.5\u00b0 latitude) with their English names, coordinates, images, and associated Wikimedia Commons categories."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(-95 30)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(-95 30)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_6297", "question": "What are all the superclass categories of the association to which De Oeteldonksche Club van 1882 belongs?", "sparql": "SELECT DISTINCT ?superclass WHERE { wd:Q13571350 wdt:P31 ?cls . ?cls wdt:P279* ?superclass .}", "paraphrases": ["What broader categories does De Oeteldonksche Club van 1882 fall under through its class hierarchy?", "What types of groups or entities are more general than De Oeteldonksche Club van 1882?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q13571350> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_6298", "question": "What are the names of streets in M\u011bste\u010dko that have official Czech street IDs?", "sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 wdt:P131 wd:Q594811 . ?var1 wdt:P4533 ?id . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"cs\") } LIMIT 30", "paraphrases": ["List the Czech names of public spaces in M\u011bste\u010dko that are registered in the Czech street registry.", "Which streets in the village of M\u011bste\u010dko are assigned official identifiers in the Czech Republic?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q594811> . ?var1 <http://www.wikidata.org/prop/direct/P4533> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs,en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 30"}}
{"id": "test_6299", "question": "Lighthouses in France with images and coordinates", "sparql": "SELECT DISTINCT ?lighthouse ?location ?image WHERE {\n  ?lighthouse wdt:P31 wd:Q39715 ;\n            wdt:P17 wd:Q142 ;\n            wdt:P625 ?location .\n  OPTIONAL { ?lighthouse wdt:P18 ?image . }\n} LIMIT 20", "paraphrases": ["Which lighthouses in France have images and where are they located?", "Please list lighthouses in France along with their images and geographic coordinates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q39715> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerWest> \"POINT(2 49)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerEast> \"POINT(2 49)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nb,nn,en,fi\". } }"}}
{"id": "test_6300", "question": "Which Wikidata item has the Twitter username \"bymichalak\"?", "sparql": "SELECT ?item ?twitterHandle WHERE { ?item wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { \"bymichalak\" } }", "paraphrases": ["Who is the person behind the Twitter handle @bymichalak on Wikidata?", "Find the Wikidata entity associated with the Twitter username bymichalak."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"TF1\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"sebfraysse\" ) ( \"string12\" ) ( \"string13\" ) ( \"ti_tom\" ) ( \"string14\" ) ( \"AxensGroup\" ) ( \"string15\" ) ( \"PadPado\" ) ( \"string16\" ) ( \"string17\" ) ( \"bymichalak\" ) ( \"string18\" ) ( \"string19\" ) ( \"cedbzhlib\" ) ( \"ACarlesimo\" ) ( \"string20\" ) ( \"string21\" ) ( \"string22\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6301", "question": "List dioceses with their countries, including Church of Sweden Pastoratskod if available, sorted by country and diocese name.", "sparql": "SELECT ?dioceseLabel ?pastoratskod ?diocese ?countryLabel ?svWikiPage WHERE { ?diocese wdt:P31 wd:Q665487 . ?diocese wdt:P17 ?country . OPTIONAL { ?diocese wdt:P779 ?pastoratskod . } OPTIONAL { ?svWikiPage schema:about ?diocese ; schema:isPartOf <https://sv.wikipedia.org/> . } ?country rdfs:label ?countryLabel . ?diocese rdfs:label ?dioceseLabel . FILTER(LANG(?countryLabel) = \"en\") FILTER(LANG(?dioceseLabel) = \"en\") } ORDER BY ASC(?countryLabel) ASC(?pastoratskod) ASC(?dioceseLabel)", "paraphrases": ["What are the dioceses around the world, their countries, and their Swedish Wikipedia links, along with any Church of Sweden Pastoratskod identifiers?", "Show me all dioceses in English, along with the countries they are located in, and if applicable, their Pastoratskod from the Church of Sweden and links to their Swedish Wikipedia pages \u2014 sorted alphabetically by country and diocese name."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var3Label ?var4 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q665487> . ?var3 <http://www.wikidata.org/prop/direct/P17> ?var1 . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P779> ?var2 . } OPTIONAL { ?var4 <http://schema.org/about> ?var3 ; <http://schema.org/isPartOf> <https://sv.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv,en\". } } ORDER BY ASC( ?var1Label )ASC( ?var2 )ASC( ?var3Label )"}}
{"id": "test_6302", "question": "What are the English labels and descriptions of properties that are related to the \"volume\" property in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?var1 ?var2Label ?var3 WHERE {\n  ?var1 wdt:P1659 wd:P478 .\n  ?var1 rdfs:label ?var2Label .\n  ?var1 schema:description ?var3 .\n  FILTER(LANG(?var2Label) = \"en\")\n  FILTER(LANG(?var3) = \"en\")\n}", "paraphrases": ["Which properties are listed as \"see also\" for the volume property, and what do they mean in English?", "Can you show me the English labels and descriptions of properties that are semantically related to the volume of a book or series?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P478> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . }"}}
{"id": "test_6303", "question": "Rowing events held in a different location than their parent event's venue", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?rowingEvent ?rowingEventLabel ?parentEventLocation ?parentEventLocationLabel ?rowingVenue ?rowingVenueLabel WHERE {\n  ?rowingEvent wdt:P31 wd:Q21246076 ;(wdt:P361 / wdt:P276) ?parentEventLocation ; wdt:P276 ?rowingVenue .\n  FILTER(?parentEventLocation != ?rowingVenue)\n  OPTIONAL {\n    ?rowingEvent rdfs:label ?rowingEventLabel .\n    FILTER(LANG(?rowingEventLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?parentEventLocation rdfs:label ?parentEventLocationLabel .\n    FILTER(LANG(?parentEventLocationLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?rowingVenue rdfs:label ?rowingVenueLabel .\n    FILTER(LANG(?rowingVenueLabel) = \"en\")\n  }\n}", "paraphrases": ["Which rowing events have their official location different from the location of the event they are part of?", "Show me rowing events where the city where they are held differs from the venue of the larger event they belong to."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q21246076> ; ( <http://www.wikidata.org/prop/direct/P361> / <http://www.wikidata.org/prop/direct/P276> ) ?var2 ; <http://www.wikidata.org/prop/direct/P276> ?var3 . FILTER ( ( ( ?var2 != ?var3 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6304", "question": "What is Stephen King's country of citizenship?", "sparql": "SELECT ?country WHERE { wd:Q39829 wdt:P27 ?country .}", "paraphrases": ["Which country does Stephen King hold citizenship in?", "Can you tell me the country associated with Stephen King's nationality?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q39829> <http://www.wikidata.org/prop/direct/P27> ?var1 . }"}}
{"id": "test_6305", "question": "Is a Wikimedia template a type of human?", "sparql": "ASK WHERE { wd:Q11266439 (wdt:P279*) wd:Q5 . }", "paraphrases": ["Does the Wikimedia template belong to the category of humans through any subclass relationship?", "Are MediaWiki templates classified as humans in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q11266439> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6306", "question": "People with the surname Latzko on Wikidata", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?label WHERE {\n  ?person rdfs:label ?label .\n  FILTER ( CONTAINS( LCASE( ?label ) , \"latzko\" ) ) .\n  FILTER ( LANG( ?label ) = \"en\" ) .\n  ?person wdt:P31 wd:Q5\n}\nORDER BY ?label", "paraphrases": ["Who are the people named Latzko listed on Wikidata?", "List all humans with \"Latzko\" in their name on Wikidata, sorted alphabetically."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"JLATZKO\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6307", "question": "Is Mathieu Santos a human?", "sparql": "ASK WHERE { wd:Q47008147 wdt:P31 wd:Q5 . }", "paraphrases": ["Does Mathieu Santos belong to the category of humans?", "Confirm that Mathieu Santos is classified as a human."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q47008147> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6308", "question": "Is West Tanjung Jabung Regency classified under any category that is a subclass of software?", "sparql": "ASK WHERE { wd:Q7388 wdt:P31/wdt:P279* wd:Q7397 . }", "paraphrases": ["Does West Tanjung Jabung Regency belong to a class hierarchy that includes software as an ancestor?", "Confirm whether West Tanjung Jabung Regency is an instance of a class that is, directly or indirectly, a subclass of software."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q7388> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6309", "question": "Who are the people born in Juru\u00e1?", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P19 wd:Q1008285 . ?person wdt:P31 wd:Q5 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["Can you list humans who were born in the municipality of Juru\u00e1?", "Which individuals have Juru\u00e1 as their place of birth?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q1008285> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6310", "question": "Is Zeta Capricorni classified as a human?", "sparql": "ASK WHERE { wd:Q2447251 wdt:P31 ?type . ?type wdt:P279* wd:Q5 . }", "paraphrases": ["Does the star Zeta Capricorni belong to any category that includes humans?", "Could Zeta Capricorni be considered a human being based on its classification in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q2447251> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6311", "question": "What are the top 100 election events with the most Wikidata statements, along with their winners and English labels?", "sparql": "SELECT ?election ?electionLabel ?candidate (COUNT(?statement) AS ?statementCount) WHERE { ?election wdt:P991 ?candidate . ?election ?statement ?o . FILTER(STRSTARTS(STR(?statement), \"http://www.wikidata.org/prop/\")) OPTIONAL { ?election rdfs:label ?electionLabel . FILTER(LANG(?electionLabel) = \"en\") } } GROUP BY ?election ?electionLabel ?candidate ORDER BY DESC(?statementCount) ASC(?election) LIMIT 100", "paraphrases": ["Show me the elections with the highest number of data entries in Wikidata, who won them, and what their English names are.", "Which election events are the most documented in Wikidata, and who were their successful candidates?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P991> ?var2 ; <http://wikiba.se/ontology#statements> ?var3 . } ORDER BY DESC( ?var3 ) LIMIT 100 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY DESC( ?var3 )ASC( ?var1 )"}}
{"id": "test_6312", "question": "People who died in 1791", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person WHERE {\n  ?person wdt:P570 ?deathDate .\n  FILTER ( ?deathDate >= \"1791-01-01T00:00:00Z\" ^^ xsd:dateTime && ?deathDate <= \"1791-12-31T23:59:59Z\" ^^ xsd:dateTime )\n}", "paraphrases": ["Who died in the year 1791?", "List all individuals whose date of death was between January 1 and December 31, 1791."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . FILTER ( ( ( ?var2 >= \"1791-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1791-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_6313", "question": "Which Wikidata items are linked to the Twitter handles MarsFilms, OmarSy, W9, and WalyDIA?", "sparql": "SELECT ?item ?twitterHandle WHERE { ?item wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { \"Samelam95\" \"AmandaF2\" \"MarsFilms\" \"WalyDIA\" \"HeleneSy\" \"OmarSy\" \"Elalouf\" \"W9\" } } LIMIT 100", "paraphrases": ["Who or what entities on Wikidata have the Twitter usernames MarsFilms, OmarSy, W9, or WalyDIA?", "Show me the Wikidata entries for the Twitter accounts MarsFilms, OmarSy, W9, and WalyDIA."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"Samelam95\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"AmandaF2\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) ( \"MarsFilms\" ) ( \"string13\" ) ( \"string14\" ) ( \"string15\" ) ( \"string16\" ) ( \"string17\" ) ( \"string18\" ) ( \"string19\" ) ( \"WalyDIA\" ) ( \"string20\" ) ( \"string21\" ) ( \"string22\" ) ( \"HeleneSy\" ) ( \"OmarSy\" ) ( \"Elalouf\" ) ( \"string23\" ) ( \"W9\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6314", "question": "List all Wikipedia language editions, their languages, and official websites.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?wikipedia ?wikipediaLabel ?languageLabel ?website WHERE {\n  ?wikipedia wdt:P31 wd:Q10876391 .\n  ?wikipedia wdt:P407 ?language .\n  ?wikipedia wdt:P856 ?website .\n  ?wikipedia rdfs:label ?wikipediaLabel .\n  ?language rdfs:label ?languageLabel .\n  FILTER ( LANG( ?wikipediaLabel ) = \"en\" ) FILTER ( LANG( ?languageLabel ) = \"en\" )\n}", "paraphrases": ["What are the official websites of Wikipedia editions in different languages, and what are the names of those languages?", "Can you show me the English names of all Wikipedia language editions, the languages they are written in, and their URLs?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q10876391> . ?var1 <http://www.wikidata.org/prop/direct/P407> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P856> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6315", "question": "Is the article \"Solid-state conformation of poly(O-benzyloxycarbonyl-L-tyrosine)\" considered an academic article?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q45281119 wdt:P31 / wdt:P279 * wd:Q191067 .\n}", "paraphrases": ["Does the scholarly article on solid-state conformation belong to the category of academic articles?", "Is \"Solid-state conformation of poly(O-benzyloxycarbonyl-L-tyrosine)\" classified as an academic article through its type hierarchy?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q45281119> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6316", "question": "Is Haplogroup H2a2 a subclass of human?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX hint: <http://www.bigdata.com/queryHints#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  wd:Q46997694 wdt:P31 / wdt:P279 * wd:Q5 .\n  hint:Prior hint:gearing \"forwards\" .\n}", "paraphrases": ["Is Haplogroup H2a2 an instance of a category that is a subclass of human?", "Check whether Haplogroup H2a2 belongs to any classification hierarchy that leads to human beings."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q46997694> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6317", "question": "Is the TV program \"Minns du s\u00e5ngen\" a type of software?", "sparql": "ASK WHERE { wd:Q10585893 wdt:P31/wdt:P279* wd:Q7397 .}", "paraphrases": ["Does the Swedish TV show \"Minns du s\u00e5ngen\" belong to the category of software?", "Confirm whether \"Minns du s\u00e5ngen\" is classified as software in Wikidata."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q10585893> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6318", "question": "What is the image associated with the entity having SNAC ARK ID w6057t3g?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6057t3g\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Show the Wikimedia Commons image for the person identified by the SNAC ARK ID w6057t3g, if one exists.", "Find the image of the item with SNAC ARK ID w6057t3g \u2014 return nothing if no image is available."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6057t3g\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6319", "question": "Film with Cineplex Germany film ID 62319", "sparql": "SELECT ?film WHERE { ?film wdt:P3077 \"62319\" . }", "paraphrases": ["Which film has the Cineplex Germany ID 62319?", "Can you find the Wikidata item for the movie identified as 62319 in the Cineplex Germany database?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3077> \"62319\". }"}}
{"id": "test_6320", "question": "Which Wikidata items have Twitter usernames LesEchos, samahsoula, LCI, or AnneFulda?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"LesEchos\" \"samahsoula\" \"LCI\" \"AnneFulda\" } }", "paraphrases": ["Who are the people or organizations on Wikidata with the Twitter handles @LesEchos, @samahsoula, @LCI, and @AnneFulda?", "List the Wikidata entities linked to the Twitter accounts LesEchos, samahsoula, LCI, and AnneFulda."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"FigaroVox\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"LesEchos\" ) ( \"Juliliette\" ) ( \"string4\" ) ( \"string5\" ) ( \"samahsoula\" ) ( \"ThatsEarth\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"Polony_tv\" ) ( \"LCI\" ) ( \"sudradio\" ) ( \"AnneFulda\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6321", "question": "Image of the person with SNAC ARK ID w6736vd1", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6736vd1\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Hans Vredeman de Vries in Wikidata?", "Show me the Wikimedia Commons image for the individual identified by the SNAC ARK ID w6736vd1."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6736vd1\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6322", "question": "What is the image of Nathaniel Prime?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w67d3m0q\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Can you find the Wikimedia Commons image associated with the SNAC ARK ID \"w67d3m0q\"?", "Show me the portrait linked to the SNAC ARK ID w67d3m0q in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w67d3m0q\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6323", "question": "What are the date of birth and date of death of the Spanish singing teacher Manuel Garc\u00eda?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  wd:Q333183 rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n  OPTIONAL {\n    wd:Q333183 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q333183 wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["Manuel Garc\u00eda birth and death dates", "Can you tell me when Manuel Garc\u00eda was born and when he died?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q333183> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6324", "question": "What are the birth and death dates of Thomas Brash?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  BIND(wd:Q7787843 AS ?person)\n  ?person rdfs:label ?personLabel .\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  FILTER(LANG(?personLabel) = \"en\")\n}", "paraphrases": ["When was Thomas Brash born and when did he die?", "Can you tell me the full name, birth date, and death date of Thomas Brash?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q7787843> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6325", "question": "What is the date of birth of the American actress Viva, and is she deceased?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  BIND(wd:Q545396 AS ?person)\n  ?person wdt:P31 wd:Q5 .\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}", "paraphrases": ["Can you tell me the name, birth date, and death date of the person known as Viva?", "Who is Viva, when was she born, and when did she die?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q545396> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6326", "question": "What are the birth and death dates of Johannes Tornberg?", "sparql": "SELECT ?label ?birthDate ?deathDate WHERE { wd:Q6213655 rdfs:label ?label . FILTER(LANG(?label) = \"en\") . OPTIONAL { wd:Q6213655 wdt:P569 ?birthDate . } OPTIONAL { wd:Q6213655 wdt:P570 ?deathDate . } }", "paraphrases": ["Johannes Tornberg birth and death dates", "Can you tell me the date of birth and date of death for the Swedish priest Johannes Tornberg?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q6213655> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6327", "question": "What is the name and type of the Tasmanian Seafarers' Memorial?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?memorialLabel ?typeLabel WHERE {\n  BIND( wd:Q28943010 AS ?memorial ) .\n  ?memorial wdt:P31 ?type .\n  ?memorial rdfs:label ?memorialLabel\n  FILTER ( LANG( ?memorialLabel ) = \"en\" ) .\n  ?type rdfs:label ?typeLabel FILTER ( LANG( ?typeLabel ) = \"en\" ) .\n}", "paraphrases": ["What kind of monument is the Tasmanian Seafarers' Memorial?", "Can you tell me the label and category of the Tasmanian Seafarers' Memorial?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q28943010> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6328", "question": "What are the birth and death dates of William Adam?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  BIND( wd:Q8004134 AS ?person ) .\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}", "paraphrases": ["Can you tell me the life span of William Adam, including his birth and death years?", "Show me the English name of William Adam along with his birth and death dates."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q8004134> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6329", "question": "Which film has the Cineplex Germany film ID 232231?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P3077 \"232231\" .\n}", "paraphrases": ["What is the name of the film identified by the Cineplex ID 232231?", "Tell me the film associated with Cineplex Germany film ID 232231."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3077> \"232231\". }"}}
{"id": "test_6330", "question": "What are all the properties and values associated with Barack Obama in Wikidata?", "sparql": "SELECT ?property ?value WHERE { wd:Q76 ?property ?value .}", "paraphrases": ["Can you list everything that is known about Barack Obama in Wikidata?", "Show all triples where Barack Obama is the subject."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { <http://www.wikidata.org/entity/Q76> ?var3 ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6331", "question": "Image of Alexandre Bisson with SNAC ARK ID w6n30jgn", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?entity wdt:P3430 \"w6n30jgn\" .\n  OPTIONAL {\n    ?entity wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w6n30jgn?", "Show me the Wikimedia Commons image for the person identified by SNAC ARK ID w6n30jgn."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6n30jgn\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6332", "question": "Is intimacy considered a human being?", "sparql": "ASK WHERE { wd:Q16358629 (wdt:P31/wdt:P279*) wd:Q5 . }", "paraphrases": ["Does the concept of intimacy fall under the category of humans, either directly or through any subclass relationship?", "Is intimacy a type of human?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q22059479> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6333", "question": "Is Skype for Business a type of software?", "sparql": "ASK WHERE { wd:Q1416838 ( wdt:P31 / wdt:P279* ) wd:Q7397 . }", "paraphrases": ["Does Skype for Business belong to the category of software through its type or subclass relationships?", "Is Skype for Business classified as software, either directly or via its hierarchical class relationships?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q1416838> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6334", "question": "What properties are used to describe instances of natural landscapes, excluding \"instance of\" statements?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?statement ?property(SAMPLE(?qv) AS ?qualifierValue) WHERE {\n  {\n    SELECT DISTINCT ?item ?statement ?property WHERE {\n      ?statement ?statementProperty wd:Q1286517 .\n      ?item ?claimProperty ?statement .\n      ?property wikibase:statementProperty ?statementProperty .\n      ?property wikibase:claim ?claimProperty .\n      FILTER(?property != wd:P31)\n    }\n    LIMIT 101\n  }\n  OPTIONAL {\n    ?statement ?qualifierProperty ?qv .\n    ?qualifierConfig wikibase:qualifier ?qualifierProperty .\n  }\n}\nGROUP BY ?item ?statement ?property", "paraphrases": ["Show me the items and properties linked to natural landscapes, along with any qualifier values attached to those statements.", "Which statements about natural landscapes use properties other than \"instance of\", and what optional qualifiers do they have?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q1286517> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_6335", "question": "Is Sportkanalen a geographical feature or a subclass of one?", "sparql": "ASK WHERE { wd:Q42885257 ( wdt:P31 / wdt:P279* ) wd:Q12418 . }", "paraphrases": ["Does the Wikimedia disambiguation page for Sportkanalen belong to the category of geographical features?", "Is Sportkanalen classified as a geographical entity in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q42885257> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6336", "question": "Is Fritz Schulte (disambiguation page) an instance of a Wikimedia internal item?", "sparql": "ASK WHERE { wd:Q15810802 (wdt:P31 / wdt:P279*) wd:Q17442446 . }", "paraphrases": ["Does the Wikimedia disambiguation page for Fritz Schulte belong to a class that is a subclass of Wikimedia internal item?", "Confirm whether the disambiguation page for Fritz Schulte is categorized under Wikimedia internal items through its class hierarchy."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q15810802> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6337", "question": "Is Yui Asaka a type of software?", "sparql": "ASK WHERE { wd:Q456215 wdt:P31/wdt:P279* wd:Q7397 .}", "paraphrases": ["Does Yui Asaka belong to the class of software or any of its subclasses?", "Confirm whether Yui Asaka is categorized as software in Wikidata."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q456215> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6338", "question": "Is the city of Asaka classified as a human?", "sparql": "ASK WHERE { wd:Q646834 wdt:P31/wdt:P279* wd:Q5 . }", "paraphrases": ["Does Asaka belong to the category of humans or any of its subclasses?", "Can a city like Asaka be considered a human being according to Wikidata's classification?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q646834> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6339", "question": "Is the album \"Empty Words\" classified under the category of album in Wikidata's hierarchy?", "sparql": "ASK WHERE { wd:Q47009500 ( wdt:P31 / wdt:P279* ) wd:Q482994 . hint:Prior hint:gearing \"forwards\" .}", "paraphrases": ["Does the album \"Empty Words\" belong to a class that is, directly or indirectly, a subclass of album?", "Confirm that \"Empty Words\" is an instance of an album or a subtype of album according to Wikidata's classification system."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q47009500> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6340", "question": "Is Monogatari a musical group or a subclass of a musical group?", "sparql": "ASK WHERE { wd:Q47009629 (wdt:P31 / wdt:P279*) wd:Q215380 . }", "paraphrases": ["Does the musical group Monogatari belong to the category of musical groups through its type or inheritance?", "Confirm whether Monogatari is categorized as a musical group, either directly or via its class hierarchy."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q47009629> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6341", "question": "Is a monk considered a person in Wikidata?", "sparql": "ASK WHERE { wd:Q733786 wdt:P279* wd:Q215627 . }", "paraphrases": ["Are monks classified as persons according to Wikidata\u2019s hierarchy?", "Does the category of monk fall under the broader category of person?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q1058106> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6342", "question": "Is the Italian commune of Assoro a type of software?", "sparql": "ASK WHERE { wd:Q56197 wdt:P31/wdt:P279* wd:Q7397 .}", "paraphrases": ["Does Assoro fall under any category that is a subclass of software?", "Could Assoro be considered a kind of computer software?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q56197> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6343", "question": "Is utility software classified as a type of software in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q312466 ( wdt:P31 / wdt:P279 * ) wd:Q7397 .\n}", "paraphrases": ["Does utility software belong to the category of software through its class hierarchy?", "Is utility software a subclass of software according to Wikidata\u2019s ontology?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q312466> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6344", "question": "List Bien de Inter\u00e9s Cultural sites in Toledo with their images and English Wikipedia links.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item ?itemLabel ( SAMPLE( ?img ) AS ?image ) ?wikipediaPage WHERE {\n  ?item wdt:P1435 wd:Q23712 .\n  ?item wdt:P131 wd:Q5836 .\n  OPTIONAL {\n    ?item wdt:P18 ?img .\n  }\n  OPTIONAL {\n    ?wikipediaPage schema:about ?item ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n  ?item rdfs:label ?itemLabel .\n}\nGROUP BY ?item ?itemLabel ?wikipediaPage\nLIMIT 200", "paraphrases": ["What are the cultural heritage monuments in Toledo, Spain, that have a designated Bien de Inter\u00e9s Cultural status, along with their images and corresponding Wikipedia pages?", "Show me the cultural heritage sites in Toledo that are classified as Bien de Inter\u00e9s Cultural, including one image of each and a link to their English Wikipedia article."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var3 ) ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1435> <http://www.wikidata.org/entity/Q23712> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q5836> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,fr,es,de,ru,it,nl,ja,zh,pl,cs\". } } GROUP BY ?var1 ?var1Label ?var2 ?var4 LIMIT 200"}}
{"id": "test_6345", "question": "Which Wikidata items have Twitter handles \"le_gorafi\" or \"envlh\"?", "sparql": "SELECT ?item ?twitterHandle ?label WHERE { ?item wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { \"le_gorafi\" \"envlh\" } . ?item rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["Who are the people or organizations on Wikidata with the Twitter usernames \"le_gorafi\" and \"envlh\"?", "List the English labels and Twitter handles for entities with the usernames \"le_gorafi\" and \"envlh\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"le_gorafi\" ) ( \"acherm\" ) ( \"fagerving\" ) ( \"string1\" ) ( \"string2\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6346", "question": "Is Pacman classified as a human in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q69952 wdt:P31 / wdt:P279 * wd:Q5 .\n}", "paraphrases": ["Does the Arch Linux package manager Pacman belong to the category of humans?", "Confirm whether Pacman is a human based on its class hierarchy in Wikidata."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q69952> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6347", "question": "Monoclonal antibodies with assigned pregnancy categories", "sparql": "SELECT ?var1 ?label WHERE { ?var1 wdt:P31 wd:Q422248 . ?var1 wdt:P3489 ?category . ?var1 rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["Which monoclonal antibodies have a pregnancy category classification?", "List the monoclonal antibodies that have a pregnancy safety category assigned."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q422248> . ?var1 <http://www.wikidata.org/prop/direct/P3489> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"he,en\". } }"}}
{"id": "test_6348", "question": "Who are some physicians, what do they look like (if images are available), and what broader professional category do they belong to?", "sparql": "SELECT ?person ?image ?subclass ?subclassLabel WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P106 wd:Q39631 . wd:Q39631 wdt:P279 ?subclass . OPTIONAL { ?person wdt:P18 ?image . } ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") }", "paraphrases": ["List physicians with images and their occupational superclass.", "Can you show me people who are doctors, along with their photos and the category their job falls under?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q849189> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q39631> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } }"}}
{"id": "test_6349", "question": "Parents of Elisabeth Sabina of Sweden linked via the child property, with any qualifiers.", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?parent ?statementItem ?propertyItem ( SAMPLE( ?qualifierProperty ) AS ?sampleQualifier ) WHERE {\n  {\n    SELECT DISTINCT ?parent ?statementItem ?propertyItem WHERE {\n      ?statementItem ?statementProperty wd:Q24248846 .\n      ?parent ?claimProperty ?statementItem .\n      ?propertyItem wikibase:statementProperty ?statementProperty .\n      ?propertyItem wikibase:claim ?claimProperty .\n      FILTER ( ?propertyItem != wd:P31 )\n    }\n    LIMIT 101\n  }\n  OPTIONAL {\n    ?statementItem ?qualifierProperty ?qualifierValue .\n    ?qualifierItem wikibase:qualifier ?qualifierProperty .\n  }\n}\nGROUP BY ?parent ?statementItem ?propertyItem", "paraphrases": ["Who are the parents of Elisabeth Sabina of Sweden according to Wikidata statements using the child property, and do those statements have any qualifiers?", "List the individuals who are recorded as parents of Elisabeth Sabina of Sweden using the 'child' property in Wikidata statements, and indicate if any qualifiers are attached to those statements."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q24248846> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_6350", "question": "What are the English-named music groups formed in Milan that have a record label and an official website?", "sparql": "SELECT DISTINCT ?band ?bandLabel ?website WHERE { ?band wdt:P740 wd:Q490 ; wdt:P264 ?recordLabel ; wdt:P856 ?website . ?band rdfs:label ?bandLabel . FILTER(LANG(?bandLabel) = \"en\") } LIMIT 100", "paraphrases": ["List the official websites and names of music bands from Milan that are signed to a record label.", "Which Italian music groups based in Milan have both a record label and a website, and what are their names?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P264> ?var4Label ; <http://www.wikidata.org/prop/direct/P740> ?var5 ; <http://www.wikidata.org/prop/direct/P856> ?var6 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var7 . FILTER ( ( REGEX ( ?var7 , \"Milano\" ) ) ) . } LIMIT 100"}}
{"id": "test_6351", "question": "List of musicians and their names.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?musician ?musicianLabel WHERE {\n  ?musician wdt:P106 wd:Q639669 .\n  ?musician rdfs:label ?musicianLabel .\n  FILTER ( LANG( ?musicianLabel ) = \"en\" )\n}", "paraphrases": ["Who are the people whose occupation is musician?", "Show me the names of all individuals listed as musicians on Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q639669> . }"}}
{"id": "test_6352", "question": "Wikidata item with Twitter username GillesCC", "sparql": "SELECT ?item ?twitterUsername WHERE { ?item wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"GillesCC\" } }", "paraphrases": ["Who is the person associated with the Twitter handle GillesCC on Wikidata?", "Show me the Wikidata entry for the user GillesCC on Twitter."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"envlh\" ) ( \"GillesCC\" ) ( \"string2\" ) ( \"string3\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6353", "question": "What are the direct parent categories of tennis tournaments, grouped by each tournament's name?", "sparql": "SELECT ?tournament ?tournamentLabel (GROUP_CONCAT(?superclassLabel; SEPARATOR=\", \") AS ?superclasses) WHERE { ?tournament wdt:P279* wd:Q13219666 ; rdfs:label ?tournamentLabel ; wdt:P279 ?superclass . ?superclass rdfs:label ?superclassLabel . FILTER(LANG(?tournamentLabel) = \"en\") FILTER(LANG(?superclassLabel) = \"en\") } GROUP BY ?tournament ?tournamentLabel", "paraphrases": ["For each English-named tennis tournament, what are its immediate superclass categories in Wikidata?", "List all tennis tournaments in English along with the comma-separated list of their direct superclass labels (e.g., \u201cWTA tennis tournament\u201d, \u201csports league\u201d)."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ( GROUP_CONCAT ( ?var3 ; SEPARATOR = \", \" ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q13219666> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label ; <http://www.wikidata.org/prop/direct/P279> [ <http://www.w3.org/2000/01/rdf-schema#label> ?var3 ] . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } GROUP BY ?var1 ?var2Label"}}
{"id": "test_6354", "question": "Who are the defenders who played for Maccabi Tel Aviv F.C.?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?player ?playerLabel WHERE {\n  ?player wdt:P31 wd:Q5 .\n  ?player wdt:P413 wd:Q336286 .\n  ?player wdt:P54 wd:Q223728 .\n  ?player rdfs:label ?playerLabel .\n  FILTER ( LANG( ?playerLabel ) = \"en\" )\n}", "paraphrases": ["Which human players have played as defenders for Maccabi Tel Aviv?", "List the names of all human players who played the defender position for Maccabi Tel Aviv F.C. in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P413> <http://www.wikidata.org/entity/Q336286> . ?var1 <http://www.wikidata.org/prop/direct/P54> <http://www.wikidata.org/entity/Q223728> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"he ,en\". } }"}}
{"id": "test_6355", "question": "People educated at Barnard College", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P69 wd:Q167733 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } LIMIT 10", "paraphrases": ["Who are some people who attended Barnard College?", "List up to 10 people who studied at Barnard College, along with their names in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P69> <http://www.wikidata.org/entity/Q167733> . ?var1 <http://www.wikidata.org/prop/direct/P2561> <http://www.wikidata.org/entity/Q6551737> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10"}}
{"id": "test_6356", "question": "Is Klavaro classified as free software?", "sparql": "ASK WHERE { wd:Q16648561 (wdt:P31/wdt:P279*) wd:Q341 . }", "paraphrases": ["Does Klavaro belong to the category of free software, either directly or through inheritance?", "Is Klavaro an example of free software?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q16648561> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6357", "question": "Is libvirt a type of software?", "sparql": "ASK WHERE { wd:Q1188957 (wdt:P31/wdt:P279*) wd:Q7397 . }", "paraphrases": ["Does libvirt belong to the category of software, either directly or through its class hierarchy?", "Is libvirt classified as software or a subclass of software?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q1188957> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6358", "question": "What are the labels for \"mineral\" in English, German, French, and Italian, along with its image?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?image ?coordinates WHERE {\n  VALUES(?lang ?sort) {(\"en\" 1)(\"de\" 2)(\"fr\" 3)(\"it\" 4)\n  }\n  wd:Q7946 rdfs:label ?label .\n  FILTER(LANG(?label) = ?lang)\n  OPTIONAL {\n    wd:Q7946 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q7946 wdt:P625 ?coordinates .\n  }\n}\nORDER BY ?sort", "paraphrases": ["Show me the different language names for the mineral class and its associated image from Wikimedia Commons.", "Retrieve the labels for mineral in English, German, French, and Italian, and include the image if available."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q7946> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var12 ) ) ) . VALUES ( ?var12 ?var13 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q7946> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q7946> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q7946> <http://www.wikidata.org/prop/direct/P1651> ?var5 . } OPTIONAL { <http://www.wikidata.org/entity/Q7946> <http://www.wikidata.org/prop/direct/P2037> ?var6 . } OPTIONAL { <http://www.wikidata.org/entity/Q7946> <http://www.wikidata.org/prop/direct/P2002> ?var7 . } OPTIONAL { <http://www.wikidata.org/entity/Q7946> <http://www.wikidata.org/prop/direct/P2013> ?var8 . } OPTIONAL { <http://www.wikidata.org/entity/Q7946> <http://www.wikidata.org/prop/direct/P2003> ?var9 . } OPTIONAL { <http://www.wikidata.org/entity/Q7946> <http://www.wikidata.org/prop/direct/P856> ?var10 . } OPTIONAL { <http://www.wikidata.org/entity/Q7946> <http://www.wikidata.org/prop/direct/P496> ?var11 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q7946> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var13 )"}}
{"id": "test_6359", "question": "Image of William Heath Davis with SNAC ARK ID w64x62qw", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w64x62qw\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with William Heath Davis in Wikidata, given his SNAC ARK ID is w64x62qw?", "Show me the Wikimedia Commons image for the historical figure William Heath Davis, identified by the SNAC ARK ID w64x62qw."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w64x62qw\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6360", "question": "Wikidata items with Twitter usernames \"doctorow\", \"WalkMeInc\", or \"Wikipedia\"", "sparql": "SELECT ?item ?twitterUsername WHERE { ?item wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"doctorow\" \"WalkMeInc\" \"Wikipedia\" } }", "paraphrases": ["Which entities on Wikidata have the Twitter usernames \"doctorow\", \"WalkMeInc\", or \"Wikipedia\"?", "Show me the Wikidata items for Cory Doctorow, WalkMe, and Wikipedia, along with their Twitter usernames."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"Sci_Hub\" ) ( \"Wikipedia\" ) ( \"Pentaho\" ) ( \"doctorow\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"WalkMeInc\" ) ( \"K_rho\" ) ( \"string7\" ) ( \"string8\" ) } }"}}
{"id": "test_6361", "question": "Properties used on disease instances in Wikidata.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?property ?propertyLabel WHERE {\n  ?disease wdt:P31 wd:Q12136 .\n  ?disease ?property ?value .\n  OPTIONAL {\n    ?property rdfs:label ?propertyLabel .\n    FILTER(LANG(?propertyLabel) = \"en\")\n  }\n}", "paraphrases": ["What properties are associated with items classified as diseases in Wikidata?", "List all properties used on diseases in Wikidata, along with their labels if available."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q12136> . ?var2 ?var1 ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6362", "question": "What is the image of the person with SNAC ARK ID w6kw680n?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6kw680n\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Image for Harry Verelst SNAC ARK ID w6kw680n", "Show me the Wikimedia Commons image linked to the SNAC ARK ID w6kw680n."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6kw680n\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6363", "question": "Is LV2 a type of software?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  wd:Q221935 ( wdt:P31 / wdt:P279 * ) wd:Q7397 .\n}", "paraphrases": ["Does the LV2 audio plugin standard fall under the category of software?", "Is LV2 classified as software through its instance and subclass relationships?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q221935> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6364", "question": "What film has the Cineplex Germany film ID 226114?", "sparql": "SELECT ?film WHERE { ?film wdt:P3077 \"226114\" . }", "paraphrases": ["Which movie in Wikidata is associated with the Cineplex ID 226114?", "Find the Wikidata item for the film identified by Cineplex Germany film ID 226114."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3077> \"226114\". }"}}
{"id": "test_6365", "question": "Image of the person with SNAC ARK ID w6902t1r", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6902t1r\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with Charles Gardiner, 1st Earl of Blessington in Wikidata?", "Can you find the Wikimedia Commons image linked to the Social Networks and Archival Context (SNAC) identifier w6902t1r?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6902t1r\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6366", "question": "What are the least common awards received by people who have no external links or imported references in Wikidata?", "sparql": "SELECT ?award (COUNT(*) AS ?count)\nWHERE {\n  ?human wdt:P31 wd:Q5 ;\n         wdt:P166 ?award .\n  \n  # Ensure no provenance from common import sources\n  OPTIONAL {\n    ?human ?p [ prov:wasDerivedFrom [ ?refProp ?refValue ] ] .\n    FILTER ( ?refProp IN (pr:P143, pr:P3452) )\n  }\n  FILTER ( !BOUND(?p) )\n\n  # Ensure no external URLs\n  MINUS {\n    ?human (p:P973 | p:P1343) [] .\n  }\n}\nGROUP BY ?award\nORDER BY ASC(?count)\nLIMIT 500", "paraphrases": ["Can you list awards that were given to only one person each, where that person has no Wikipedia links, no identifiers, and no source citations?", "Show me obscure awards given to individuals with no digital footprint beyond their Wikidata entry."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT (* ) AS ?var2 ) WHERE { ?var3 <http://wikiba.se/ontology#sitelinks> \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://wikiba.se/ontology#identifiers> \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://wikiba.se/ontology#statements> \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> . ?var3 <http://www.wikidata.org/prop/direct/P166> ?var1 . MINUS { [] ?var4 ?var3 . } OPTIONAL { ?var3 ?var5 [ <http://www.w3.org/ns/prov#wasDerivedFrom> [ ?var6 [] ] ] . FILTER ( ( ?var6 NOT IN ( <http://www.wikidata.org/prop/reference/P143> , <http://www.wikidata.org/prop/reference/P3452> ) ) ) . } FILTER ( ( !( BOUND ( ?var5 ) ) ) ) . MINUS { ?var3 ( <http://www.wikidata.org/prop/P973> | <http://www.wikidata.org/prop/P1343> ) [] . } } GROUP BY ?var1 ORDER BY ASC( ?var2 ) LIMIT 500"}}
{"id": "test_6367", "question": "Organizations affiliated with or employed by Vladimir B. Bajic, including start dates and images.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?image ?organization ?organizationLabel ?startDate ?endDate ?degreeLabel WHERE {\n  {\n    wd:Q30347500 p:P1416 ?statement .\n    ?statement ps:P1416 ?organization .\n  } UNION {\n    wd:Q30347500 p:P108 ?statement .\n    ?statement ps:P108 ?organization .\n  }\n  ?organization rdfs:label ?organizationLabel .\n  FILTER(LANG(?organizationLabel) = \"en\")\n  OPTIONAL {\n    ?organization wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?statement pq:P580 ?startDate .\n  }\n  OPTIONAL {\n    ?statement pq:P582 ?endDate .\n  }\n  OPTIONAL {\n    ?statement pq:P512 ?degree .\n    ?degree rdfs:label ?degreeLabel .\n    FILTER(LANG(?degreeLabel) = \"en\")\n  }\n}", "paraphrases": ["Which organizations has Vladimir B. Bajic been affiliated with or employed by, and when did he start working there?", "Show me the organizations Vladimir B. Bajic is associated with through employment or affiliation, along with their images, start dates, and any academic degrees linked to those associations."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label ?var4 ?var5 ?var6Label WHERE { { <http://www.wikidata.org/entity/Q30347500> <http://www.wikidata.org/prop/P1416> ?var7 . } UNION { <http://www.wikidata.org/entity/Q30347500> <http://www.wikidata.org/prop/P108> ?var7 . } { ?var7 <http://www.wikidata.org/prop/statement/P1416> ?var2 . } UNION { ?var7 <http://www.wikidata.org/prop/statement/P108> ?var2 . } ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P580> ?var4 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P582> ?var5 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P512> ?var8 . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_6368", "question": "What are the main subjects of Vladimir B. Bajic\u2019s publications, how many publications per subject, and sample titles?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?count ?subjectLabel ?workLabelSubstring WHERE {\n  {\n    SELECT ?subject ( COUNT( ?work ) AS ?count ) WHERE {\n      ?work wdt:P50 wd:Q30347500 .\n      ?work wdt:P921 ?subject .\n    }\n    GROUP BY ?subject\n    ORDER BY DESC ( ?count )\n  }\n  ?work wdt:P50 wd:Q30347500 .\n  ?work wdt:P921 ?subject .\n  ?subject rdfs:label ?subjectLabel .\n  FILTER ( LANG( ?subjectLabel ) = \"en\" ) ?work rdfs:label ?workLabel .\n  FILTER ( LANG( ?workLabel ) = \"en\" ) BIND( SUBSTR( ?workLabel , 1 , 60 ) AS ?workLabelSubstring )\n}", "paraphrases": ["For each main subject of Vladimir B. Bajic\u2019s works, how many works are there, and what are the titles of some of those works?", "List the main topics of Vladimir B. Bajic\u2019s research, the number of publications per topic, and the beginning of each publication\u2019s title."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label WHERE { { SELECT ?var4 ( COUNT ( ?var5 ) AS ?var1 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q30347500> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . } GROUP BY ?var4 ORDER BY DESC( ?var1 ) } BIND ( SUBSTR ( ?var6Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q30347500> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . }"}}
{"id": "test_6369", "question": "What properties are associated with the FGFR3::BAIAP2L1 genetic variant, and what are their English labels and linked values?", "sparql": "SELECT ?property ?propertyLabel (COUNT(?value) AS ?valueCount) (GROUP_CONCAT(?valueLabel; SEPARATOR=', ') AS ?valueLabels)\nWHERE {\n  wd:Q28370993 ?property ?value .\n  ?value rdfs:label ?valueLabel .\n  FILTER(LANG(?valueLabel) = \"en\") .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?propertyLabel .\n  FILTER(LANG(?propertyLabel) = \"en\") .\n}\nGROUP BY ?property ?propertyLabel", "paraphrases": ["For the transcript fusion FGFR3::BAIAP2L1, which properties link it to other entities, and what are the English labels of those properties and the entities they point to?", "List all properties that connect the FGFR3::BAIAP2L1 genetic variant to other entities, along with their English labels, the count of connected values, and the English labels of those values."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q28370993> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_6370", "question": "What film is identified by the AFI Catalog ID 23322?", "sparql": "SELECT ?film WHERE { ?film wdt:P3593 \"23322\" . }", "paraphrases": ["Film with AFI Catalog ID 23322.", "Tell me the film that has the AFI Catalog number 23322."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3593> \"23322\". }"}}
{"id": "test_6371", "question": "Politicians by occupation in Wikidata", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?politician ?politicianLabel WHERE {\n  ?politician wdt:P106 wd:Q82955 .\n  ?politician rdfs:label ?politicianLabel .\n  FILTER(LANG(?politicianLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Who are some people whose occupation is politician?", "List up to 100 politicians with their English names from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82955> . } LIMIT 100"}}
{"id": "test_6372", "question": "List of politicians with their English labels", "sparql": "SELECT ?politician ?politicianLabel WHERE { ?politician wdt:P106 wd:Q82955 . ?politician rdfs:label ?politicianLabel . FILTER(LANG(?politicianLabel) = \"en\") } LIMIT 1000", "paraphrases": ["Who are some politicians and what are their names in English?", "Show me up to 1,000 politicians and their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82955> . } LIMIT 1000"}}
{"id": "test_6373", "question": "What is the Wikidata item for the Twitter/X username \"corifnet\"?", "sparql": "SELECT ?item ?username ?itemLabel WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"corifnet\" } . ?item rdfs:label ?itemLabel . }", "paraphrases": ["Which organization has the Twitter handle \"corifnet\", and what is its name?", "Can you find the entity on Wikidata with the X username \"corifnet\" and show its label?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"corifnet\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6374", "question": "Lutz Marmor labels in German, English, French, and Italian, with his image and German Wikipedia link.", "sparql": "SELECT ?label ?image ?wikipediaArticle WHERE { wd:Q1878160 rdfs:label ?label . FILTER (LANG(?label) IN (\"de\", \"en\", \"fr\", \"it\")) OPTIONAL { wd:Q1878160 wdt:P18 ?image . } ?wikipediaArticle schema:about wd:Q1878160 ; schema:isPartOf <https://de.wikipedia.org/> ; schema:inLanguage \"de\" . VALUES (?lang ?sort) { (\"de\" 1) (\"en\" 2) (\"fr\" 3) (\"it\" 4) } FILTER (LANG(?label) = ?lang) } ORDER BY ?sort", "paraphrases": ["What are the labels for Lutz Marmor in German, English, French, and Italian, along with his image and Wikipedia page?", "Show me Lutz Marmor\u2019s name in German, English, French, and Italian, his image from Wikimedia Commons, and his German Wikipedia article."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q1878160> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var12 ) ) ) . VALUES ( ?var12 ?var13 ) { ( \"de\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q1878160> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q1878160> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q1878160> <http://www.wikidata.org/prop/direct/P1651> ?var5 . } OPTIONAL { <http://www.wikidata.org/entity/Q1878160> <http://www.wikidata.org/prop/direct/P2037> ?var6 . } OPTIONAL { <http://www.wikidata.org/entity/Q1878160> <http://www.wikidata.org/prop/direct/P2002> ?var7 . } OPTIONAL { <http://www.wikidata.org/entity/Q1878160> <http://www.wikidata.org/prop/direct/P2013> ?var8 . } OPTIONAL { <http://www.wikidata.org/entity/Q1878160> <http://www.wikidata.org/prop/direct/P2003> ?var9 . } OPTIONAL { <http://www.wikidata.org/entity/Q1878160> <http://www.wikidata.org/prop/direct/P856> ?var10 . } OPTIONAL { <http://www.wikidata.org/entity/Q1878160> <http://www.wikidata.org/prop/direct/P496> ?var11 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q1878160> ; <http://schema.org/inLanguage> \"de\"; <http://schema.org/isPartOf> <https://de.wikipedia.org/> . } } ORDER BY ASC( ?var13 )"}}
{"id": "test_6375", "question": "Australian actors with their official names", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel ?officialName WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P106 wd:Q33999 .\n  ?person wdt:P27 wd:Q408 .\n  OPTIONAL {\n    ?person wdt:P1448 ?officialName .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Who are the Australian actors, and what are their official names?", "List all actors from Australia along with their English names and, if available, their legal or official names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1448> ?var2 . } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q408> . } LIMIT 20000"}}
{"id": "test_6376", "question": "People educated at Yeshiva University or its affiliated schools.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P69 ?institution .\n  ?institution wdt:P361 * wd:Q1048851 .\n}\nLIMIT 500", "paraphrases": ["Who are the alumni of Yeshiva University or any of its constituent institutions?", "List all humans who attended Yeshiva University or any of its component colleges or schools."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P69> ?var2 . ?var2 ( <http://www.wikidata.org/prop/direct/P279> | <http://www.wikidata.org/prop/direct/P131> )* <http://www.wikidata.org/entity/Q1048851> . } LIMIT 500"}}
{"id": "test_6377", "question": "Image of Charles H. Cowles from SNAC ARK ID w6b03gbb", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6b03gbb\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6b03gbb?", "Show me the Wikimedia Commons image for the person identified by SNAC ARK ID w6b03gbb."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6b03gbb\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6378", "question": "Children of Johann Sebastian Bach", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?child ?childLabel WHERE {\n  ?child wdt:P22 wd:Q1339 .\n  ?child rdfs:label ?childLabel .\n  FILTER(LANG(?childLabel) = 'en')\n}", "paraphrases": ["Who are the children of Johann Sebastian Bach?", "List the names of Johann Sebastian Bach's children."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/entity/Q1339> <http://www.wikidata.org/prop/direct/P22> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6379", "question": "Which organizations have Twitter/X accounts \"metoffice\" or \"LCI\", and how many Wikipedia articles are about them?", "sparql": "SELECT ?item ?twitterHandle (COUNT(?sitelink) AS ?sitelinkCount)\nWHERE {\n  ?item wdt:P2002 ?twitterHandle .\n  ?sitelink schema:about ?item ;\n        schema:isPartOf ?wikipedia .\n  VALUES ?twitterHandle { \"metoffice\" \"LCI\" }\n}\nGROUP BY ?item ?twitterHandle\nORDER BY ASC(?sitelinkCount)", "paraphrases": ["What are the Wikipedia sitelink counts for the Twitter accounts @metoffice and @LCI?", "Show me the number of Wikipedia language editions linked to the entities with Twitter handles \"metoffice\" and \"LCI\", sorted by the smallest number of links first."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"GWoznica\" ) ( \"LCI\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"metoffice\" ) ( \"string6\" ) ( \"Enedis\" ) ( \"string7\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6380", "question": "List all Uniform Type Identifiers (UTIs) in Wikidata.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?uti WHERE {\n  ?item wdt:P3641 ?uti .\n}", "paraphrases": ["What are all the Apple Uniform Type Identifiers documented in Wikidata?", "Show me all the file type identifiers used by Apple that are stored in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3641> ?var1 . }"}}
{"id": "test_6381", "question": "Which Wikidata items have Twitter usernames 'jdverdiere' or 'LehmannDrC'?", "sparql": "SELECT ?item ?twitterUsername WHERE { ?item wdt:P2002 ?twitterUsername . FILTER(?twitterUsername = \"jdverdiere\" || ?twitterUsername = \"LehmannDrC\") } ORDER BY ?twitterUsername", "paraphrases": ["Who are the people on Wikidata with the Twitter handles jdverdiere and LehmannDrC?", "Show me the Wikidata entities for the Twitter usernames jdverdiere and LehmannDrC."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"DDupagne\" ) ( \"docdu16\" ) ( \"NetflixFR\" ) ( \"string1\" ) ( \"jdverdiere\" ) ( \"string2\" ) ( \"string3\" ) ( \"LehmannDrC\" ) ( \"Jehanlb\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"Fraslin\" ) ( \"string7\" ) ( \"RaderSerge\" ) ( \"Sylvqin\" ) ( \"string8\" ) ( \"string9\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6382", "question": "What movie has the Box Office Mojo ID \"gravity\"?", "sparql": "SELECT ?movie ?movieLabel WHERE { ?movie wdt:P1237 \"gravity\" . ?movie rdfs:label ?movieLabel . FILTER(LANG(?movieLabel) = \"en\") }", "paraphrases": ["Which film is identified by the Box Office Mojo ID \"gravity\"?", "Find the English name of the movie with Box Office Mojo ID \"gravity\"."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1237> \"gravity\". }"}}
{"id": "test_6383", "question": "What Wikidata item corresponds to the Apple Uniform Type Identifier \"public.image\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P3641 \"public.image\" .\n}", "paraphrases": ["Which file type in Wikidata is identified by the UTI \"public.image\"?", "Show me the entity in Wikidata that has the UTI value \"public.image\"."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3641> \"string1\". }"}}
{"id": "test_6384", "question": "Which Twitter accounts in Wikidata have the fewest Wikipedia sitelinks? Include FFCyclisme, directvelo, AggloCAPSO, LeTour, F3nord, _Corentin_, and willbonnet.", "sparql": "SELECT ?item ?handle (COUNT(?sitelink) AS ?sitelinkCount)\nWHERE {\n  ?item wdt:P2002 ?handle .\n  ?sitelink schema:about ?item ; schema:isPartOf ?wiki .\n  VALUES ?handle {\n    \"FFCyclisme\"\n    \"directvelo\"\n    \"AggloCAPSO\"\n    \"LeTour\"\n    \"F3nord\"\n    \"_Corentin_\"\n    \"willbonnet\"\n  }\n}\nGROUP BY ?item ?handle\nORDER BY ASC(?sitelinkCount)", "paraphrases": ["What are the Twitter usernames of organizations and people in Wikidata, sorted by how many Wikipedia pages link to them, for accounts like FFCyclisme, directvelo, and LeTour?", "List the Wikidata items with Twitter handles FFCyclisme, directvelo, AggloCAPSO, LeTour, F3nord, _Corentin_, and willbonnet, along with their sitelink counts, ordered from least to most popular."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"montchoue\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"willbonnet\" ) ( \"sebminard\" ) ( \"riblon\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"LeTour\" ) ( \"string12\" ) ( \"directvelo\" ) ( \"string13\" ) ( \"cabuzz59\" ) ( \"string14\" ) ( \"FFCyclisme\" ) ( \"string15\" ) ( \"string16\" ) ( \"string17\" ) ( \"string18\" ) ( \"string19\" ) ( \"string20\" ) ( \"fBariseau\" ) ( \"fdecoster\" ) ( \"AggloCAPSO\" ) ( \"string21\" ) ( \"string22\" ) ( \"string23\" ) ( \"string24\" ) ( \"F3nord\" ) ( \"string25\" ) ( \"string26\" ) ( \"string27\" ) ( \"brandtremi\" ) ( \"_Corentin_\" ) ( \"string28\" ) ( \"string29\" ) ( \"string30\" ) ( \"string31\" ) ( \"string32\" ) ( \"string33\" ) ( \"string34\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6385", "question": "List 101 drugs that have a known medical use.", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?drug ?statement WHERE {\n  ?drug p:P366 ?statement .\n}\nLIMIT 101", "paraphrases": ["What are 101 drugs that have been assigned a use in Wikidata?", "Show me up to 101 drugs along with their use statements from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P366> <http://www.wikidata.org/entity/Q12140> . ?var1 <http://www.wikidata.org/prop/P366> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_6386", "question": "Which Twitter accounts (romainhard, fortuneo, Danielmxm, a_pichot, lauPichon, oscaro, actufr) have the fewest Wikipedia links?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterUsername(COUNT(?sitelink) AS ?sitelinkCount) WHERE {\n  ?item wdt:P2002 ?twitterUsername .\n  ?sitelink schema:about ?item ; schema:isPartOf ?wiki .\n  FILTER(STRSTARTS(STR(?wiki) , \"https://\"))\n  VALUES ?twitterUsername {\n    \"romainhard\" \"fortuneo\" \"Danielmxm\" \"a_pichot\" \"lauPichon\" \"oscaro\" \"actufr\"\n  }\n}\nGROUP BY ?item ?twitterUsername\nORDER BY ASC(?sitelinkCount)", "paraphrases": ["How many Wikipedia articles are linked to each of these Twitter accounts: romainhard, fortuneo, Danielmxm, a_pichot, lauPichon, oscaro, and actufr? Sort them by least to most.", "List the entities associated with these Twitter usernames \u2014 romainhard, fortuneo, Danielmxm, a_pichot, lauPichon, oscaro, actufr \u2014 along with their Wikipedia sitelink counts, ordered from lowest to highest."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"romainhard\" ) ( \"string1\" ) ( \"string2\" ) ( \"fortuneo\" ) ( \"string3\" ) ( \"lookcycle\" ) ( \"string4\" ) ( \"Danielmxm\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"a_pichot\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"lauPichon\" ) ( \"string11\" ) ( \"string12\" ) ( \"TeamOscaro\" ) ( \"string13\" ) ( \"string14\" ) ( \"actufr\" ) ( \"string15\" ) ( \"string16\" ) ( \"string17\" ) ( \"string18\" ) ( \"string19\" ) ( \"string20\" ) ( \"string21\" ) ( \"string22\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6387", "question": "Which Wikidata items have the Twitter usernames \"LeTour\" or \"Tom_degand\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"LeTour\" \"Tom_degand\"\n  }\n}", "paraphrases": ["Who or what is associated with the Twitter handles \"LeTour\" and \"Tom_degand\" on Wikidata?", "Show me the Wikidata entities linked to the Twitter usernames \"LeTour\" and \"Tom_degand\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"LeTour\" ) ( \"string2\" ) ( \"string3\" ) ( \"Tom_degand\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"RTBFMeteo\" ) ( \"string8\" ) ( \"string9\" ) ( \"VsbPieter\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6388", "question": "Is the Unix file command considered software?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q181820 wdt:P31 / wdt:P279 * wd:Q7397 .\n}", "paraphrases": ["Is the file utility classified as software based on its type and inheritance?", "Confirm whether the file command, as a Unix utility, falls under the category of software."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q181820> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6389", "question": "Is Sparse a type of software?", "sparql": "ASK WHERE { wd:Q7573783 (wdt:P31/wdt:P279*) wd:Q7397 . }", "paraphrases": ["Does Sparse belong to a category that is a subclass of software?", "Is Sparse classified as an instance of something that is ultimately a kind of software?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q7573783> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6390", "question": "Museums in Brazil with their names, latitude, longitude, and titles", "sparql": "PREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?museum ?label ?coord ?lat ?long ?title WHERE {\n  ?museum wdt:P131 * wd:Q155 .\n  ?museum ( wdt:P31 / wdt:P279 * ) wd:Q33506 .\n  ?museum wdt:P625 ?coord .\n  ?museum p:P625 ?stmt .\n  ?stmt psv:P625 ?coordNode .\n  ?coordNode wikibase:geoLatitude ?lat .\n  ?coordNode wikibase:geoLongitude ?long .\n  OPTIONAL {\n    ?museum wdt:P1476 ?title .\n  }\n  ?museum rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}\nORDER BY ASC ( ?label )", "paraphrases": ["What are the names, locations, and titles of museums in Brazil?", "List all museums in Brazil along with their English names, geographic coordinates, and any official titles they have."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q155> . ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q33506> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . ?var1 <http://www.wikidata.org/prop/P625> ?var7 . ?var7 <http://www.wikidata.org/prop/statement/value/P625> ?var8 . ?var8 <http://wikiba.se/ontology#geoLatitude> ?var4 . ?var8 <http://wikiba.se/ontology#geoLongitude> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ca\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var6 . } } ORDER BY ASC( ?var2 )"}}
{"id": "test_6391", "question": "Which Wikidata item has the Twitter username \"KSchwanke\"?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"KSchwanke\" } }", "paraphrases": ["Who is the person on Wikidata with the Twitter handle KSchwanke?", "Find the Wikidata entity associated with the Twitter username KSchwanke."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"KSchwanke\" ) ( \"string1\" ) ( \"string2\" ) } }"}}
{"id": "test_6392", "question": "What are the tributaries of the Clackamas River and their drainage basins?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?tributary ?tributaryLabel ?basin ?basinLabel WHERE {\n  ?tributary wdt:P403 wd:Q2310768 .\n  ?tributary wdt:P4614 ?basin .\n  ?tributary wdt:P31 / wdt:P279 * wd:Q355304 .\n  ?tributary rdfs:label ?tributaryLabel .\n  ?basin rdfs:label ?basinLabel .\n  FILTER ( LANG( ?tributaryLabel ) = \"en\" ) FILTER ( LANG( ?basinLabel ) = \"en\" )\n}", "paraphrases": ["Can you list the rivers that flow into the Clackamas River along with the name of the basin they belong to?", "Show me the names of the Clackamas River\u2019s tributaries and their corresponding watershed areas."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { ?var3 <http://www.wikidata.org/prop/direct/P403> * <http://www.wikidata.org/entity/Q2310768> . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q355304> . ?var3 <http://www.wikidata.org/prop/direct/P4614> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P201> ?var3 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P4614> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6393", "question": "Which organization has the Twitter handle \"metoffice\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterHandle WHERE {\n  ?item wdt:P2002 ?twitterHandle .\n  VALUES ?twitterHandle {\n    \"metoffice\"\n  }\n}", "paraphrases": ["What is the Wikidata item for the Twitter account @metoffice?", "Find the entity in Wikidata that uses \"metoffice\" as its X (Twitter) username."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"JoeTasker\" ) ( \"string11\" ) ( \"string12\" ) ( \"momabearG\" ) ( \"AmyLizTwit\" ) ( \"metoffice\" ) ( \"string13\" ) ( \"petmalfeck\" ) ( \"string14\" ) ( \"string15\" ) ( \"string16\" ) } }"}}
{"id": "test_6394", "question": "What are the Wikidata items associated with the Twitter usernames 'CityOfBoston', 'melroserugby', and 'deventergem'?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"CityOfBoston\" \"melroserugby\" \"deventergem\"\n  }\n}", "paraphrases": ["Which entities on Wikidata have the Twitter handles CityOfBoston, melroserugby, or deventergem?", "Show me the items on Wikidata that are linked to these Twitter accounts: CityOfBoston, melroserugby, and deventergem."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"webissimo\" ) ( \"string2\" ) ( \"ReportUK\" ) ( \"string3\" ) ( \"string4\" ) ( \"zimmerTHFC\" ) ( \"string5\" ) ( \"string6\" ) ( \"LillyAli1\" ) ( \"string7\" ) ( \"ybawife\" ) ( \"string8\" ) ( \"string9\" ) ( \"atxlands\" ) ( \"cehamblin\" ) ( \"OVO_Nirry\" ) ( \"string10\" ) ( \"AsimahS\" ) } }"}}
{"id": "test_6395", "question": "Which film has the KMDb ID '00673'?", "sparql": "SELECT ?film WHERE { ?film wdt:P3704 \"00673\" . }", "paraphrases": ["What is the name of the film with the Korean Movie Database ID 00673?", "Find the film in Wikidata that is identified by the KMDb film ID 00673."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3704> \"00673\". }"}}
{"id": "test_6396", "question": "What is the image associated with the SNAC ARK ID \"w62525pz\"?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w62525pz\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Can you find the Wikimedia Commons image for the person identified by the SNAC ARK ID w62525pz?", "Show me the picture of the individual whose SNAC ARK ID is w62525pz, if one exists."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w62525pz\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6397", "question": "People with occupations similar to Rajinikanth who have Twitter accounts and their profile images.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?personLabel(CONCAT(\"https://twitter.com/\" , ?twitterUsername) AS ?twitterUrl) ?image WHERE {\n  wd:Q60068 wdt:P106 ?rajiniOcc .\n  ?person wdt:P106 ?occ .\n  ?occ wdt:P279 * ?rajiniOcc .\n  ?person wdt:P2002 ?twitterUsername .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}", "paraphrases": ["Who are the people on Twitter whose professions are related to Rajinikanth\u2019s occupations, and what are their Twitter handles and profile pictures?", "List the names, Twitter URLs, and images of individuals whose occupations are subclasses of Rajinikanth\u2019s occupations."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ( CONCAT ( \"string1\", ?var2 ) AS ?var3 ) ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var5 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . } ?var5 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q60068> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6398", "question": "Wikidata entities with Twitter usernames JFMBAYE, F_Charvier, c_naegelen, SCazenove, jlbricout, or odelphine, sorted by number of Wikipedia pages.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitter ( COUNT( ?sitelink ) AS ?sitelinks ) WHERE {\n  ?item wdt:P2002 ?twitter .\n  ?sitelink schema:about ?item ; schema:isPartOf ?wikipedia .\n  FILTER ( STRSTARTS( STR( ?wikipedia ) , \"https://\" ) ) VALUES ?twitter {\n    \"JFMBAYE\" \"F_Charvier\" \"c_naegelen\" \"SCazenove\" \"jlbricout\" \"odelphine\"\n  }\n}\nGROUP BY ?item ?twitter\nORDER BY ASC ( ?sitelinks )", "paraphrases": ["Which people on Wikidata have the Twitter usernames JFMBAYE, F_Charvier, c_naegelen, SCazenove, jlbricout, or odelphine, and how many Wikipedia articles are about them, ordered by least to most?", "List the Wikidata items for the Twitter accounts JFMBAYE, F_Charvier, c_naegelen, SCazenove, jlbricout, and odelphine, along with the count of Wikipedia sitelinks, sorted by the number of sitelinks in ascending order."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"eztoken\" ) ( \"string3\" ) ( \"string4\" ) ( \"JFMBAYE\" ) ( \"string5\" ) ( \"F_Charvier\" ) ( \"c_naegelen\" ) ( \"string6\" ) ( \"string7\" ) ( \"SCazenove\" ) ( \"string8\" ) ( \"jlbricout\" ) ( \"string9\" ) ( \"odelphine\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) ( \"JPmars3\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6399", "question": "What are the most popular programming languages used in software on Wikidata, and how many software items use each?", "sparql": "SELECT ?languageLabel (COUNT(?software) AS ?count) WHERE { ?software wdt:P277 ?language . ?language rdfs:label ?languageLabel . FILTER(LANG(?languageLabel) = \"en\") } GROUP BY ?languageLabel ORDER BY DESC(?count)", "paraphrases": ["Which programming languages are most commonly used to develop software, and how many software projects are written in each?", "List all programming languages used by software on Wikidata, ranked by the number of software items written in each language, with English labels."], "info": {"raw_sparql": "SELECT ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P277> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } } GROUP BY ?var1Label"}}
{"id": "test_6400", "question": "What are the different types of fever, and what are their English labels?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?fever ?label ?image WHERE {\n  ?fever wdt:P31 wd:Q24869936 .\n  OPTIONAL {\n    ?fever rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n  OPTIONAL {\n    ?fever wdt:P18 ?image .\n  }\n}\nLIMIT 100", "paraphrases": ["Can you list the types of fever and their corresponding images from Wikimedia Commons?", "Show me the English names of all fever types classified as clinical findings in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q24869936> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_6401", "question": "Which media organizations and journalists have Twitter handles like \"lemondefr\", \"Le_Figaro\", \"CNEWS\", \"Kataeb_Eng\", \"libe\", or \"sebcote34\"?", "sparql": "SELECT ?item ?twitterHandle ?itemLabel WHERE { ?item wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { \"lemondefr\" \"Le_Figaro\" \"CNEWS\" \"Kataeb_Eng\" \"libe\" \"sebcote34\" } . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } ORDER BY ?itemLabel", "paraphrases": ["What are the English-labeled entities on Wikidata that are associated with the Twitter usernames \"lemondefr\", \"Le_Figaro\", \"CNEWS\", \"Kataeb_Eng\", \"libe\", or \"sebcote34\"?", "List the entities on Wikidata with these Twitter handles: \"lemondefr\", \"Le_Figaro\", \"CNEWS\", \"Kataeb_Eng\", \"libe\", and \"sebcote34\", along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"chdemeyer\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"CNEWS\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"Kataeb_Eng\" ) ( \"string12\" ) ( \"string13\" ) ( \"string14\" ) ( \"Le_Figaro\" ) ( \"sebcote34\" ) ( \"string15\" ) ( \"lemondefr\" ) ( \"libe\" ) ( \"string16\" ) ( \"string17\" ) ( \"IFEgypte\" ) ( \"string18\" ) ( \"LA_CHREDO\" ) ( \"string19\" ) ( \"string20\" ) ( \"string21\" ) ( \"string22\" ) ( \"string23\" ) ( \"jmlemene\" ) ( \"string24\" ) ( \"LB2S\" ) ( \"MicahZenko\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6402", "question": "People in the Dictionary of Swedish National Biography who do not have a LIBRIS ID, with their SBL URLs.", "sparql": "SELECT ?person ?personLabel ?sblUrl WHERE { ?person wdt:P3217 ?sblId . MINUS { ?person wdt:P906 ?selibrId . } OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } BIND( IRI( CONCAT( \"https://sbl.spraakdata.gu.se/sbl/\", ?sblId ) ) AS ?sblUrl ) }", "paraphrases": ["Who are the individuals listed in the Swedish National Biography without a corresponding SELIBR ID, and what are their SBL URLs?", "List the names and SBL web links of people in the Swedish National Biography who are not registered in the National Library of Sweden\u2019s Libris catalog."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3217> ?var4 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P906> ?var5 . } BIND ( IRI ( CONCAT ( \"string1\", ?var4 ) ) AS ?var2 ). BIND ( IRI ( CONCAT ( \"string2\", ?var5 , \"string3\" ) ) AS ?var3 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\", \"SV\". } }"}}
{"id": "test_6403", "question": "Subclasses of conflict and their instance counts", "sparql": "SELECT ?subclass ?subclassLabel (COUNT(?item) AS ?instanceCount)\nWHERE {\n  ?subclass wdt:P279 wd:Q180684 .\n  ?item (wdt:P31/wdt:P279*) ?subclass .\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER(LANG(?subclassLabel) = \"en\")\n}\nGROUP BY ?subclass ?subclassLabel\nORDER BY DESC(?instanceCount)", "paraphrases": ["What are the different types of conflict and how many instances does each have?", "List all subclasses of conflict ranked by how many events or cases belong to them, with English labels."], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { { SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var3 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q180684> . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var1 . } GROUP BY ?var1 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } } UNION { SELECT ?var4 ?var4Label ?var2 ?var3 WHERE { { SELECT ?var4 ( COUNT ( ?var3 ) AS ?var2 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q180684> . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var4 . } GROUP BY ?var4 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } } }"}}
{"id": "test_6404", "question": "List all churches in the Mayenne department of France with their administrative locations, messes.info URLs, OPR IDs, Clochers de France IDs, M\u00e9rim\u00e9e IDs, and Wikimedia Commons categories.", "sparql": "SELECT DISTINCT \n  ?church \n  ?churchLabel \n  ?administrativeEntity \n  ?administrativeEntityLabel \n  ?messesUrl \n  ?oprId \n  ?clochersId \n  ?merimeeId \n  ?commonsCategory \nWHERE {\n  ?church wdt:P31 wd:Q16970 .\n  ?church wdt:P131 ?administrativeEntity .\n  ?administrativeEntity wdt:P131* wd:Q12620 .\n  \n  OPTIONAL { ?church wdt:P1644 ?messesId . \n    BIND(IRI(CONCAT(\"https://www.messes.info/\", ?messesId)) AS ?messesUrl) \n  }\n  OPTIONAL { ?church wdt:P3371 ?oprId . }\n  OPTIONAL { ?church wdt:P3963 ?clochersId . }\n  OPTIONAL { ?church wdt:P380 ?merimeeId . }\n  OPTIONAL { ?church wdt:P373 ?commonsCategory . }\n  \n  OPTIONAL { ?church rdfs:label ?churchLabel . FILTER(LANG(?churchLabel) = \"en\") }\n  OPTIONAL { ?administrativeEntity rdfs:label ?administrativeEntityLabel . FILTER(LANG(?administrativeEntityLabel) = \"en\") }\n}", "paraphrases": ["What are the names and details of churches located in Mayenne, France, including their identifiers on messes.info, OPR, Clochers de France, M\u00e9rim\u00e9e, and their corresponding Wikimedia Commons categories?", "Please provide a list of all church buildings in the Mayenne department, showing their English names, the communes they are in, and any available IDs from messes.info, OPR, Clochers de France, M\u00e9rim\u00e9e, and links to their Wikimedia Commons categories."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ( CONCAT ( \"string1\", ?var3 , \"]\" ) AS ?var4 ) ?var5 ?var6 ?var7 ?var8 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16970> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q12620> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1644> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3371> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3963> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P380> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_6405", "question": "Which entities on Wikidata have these Twitter/X usernames: wikidata, troyhunt, BFMTV, metmuseum, schiste, ericbrunet, lesinrocks, archives35, or libe?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"wikidata\" \"troyhunt\" \"BFMTV\" \"metmuseum\" \"schiste\" \"ericbrunet\" \"lesinrocks\" \"archives35\" \"libe\"\n  }\n}", "paraphrases": ["Show me the Wikidata items for the Twitter handles: wikidata, troyhunt, BFMTV, metmuseum, schiste, ericbrunet, lesinrocks, archives35, and libe.", "What are the Wikidata entities associated with the following Twitter usernames: BFMTV, troyhunt, and libe?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"ericbrunet\" ) ( \"string5\" ) ( \"string6\" ) ( \"VDNLille\" ) ( \"troyhunt\" ) ( \"string7\" ) ( \"Ludovic_P_\" ) ( \"EUwatchers\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"MaelLeHir\" ) ( \"nixcraft\" ) ( \"lesinrocks\" ) ( \"string11\" ) ( \"LMonpouet\" ) ( \"archives35\" ) ( \"libe\" ) ( \"string12\" ) ( \"string13\" ) ( \"string14\" ) ( \"string15\" ) ( \"fandeSassa\" ) ( \"BFMTV\" ) ( \"string16\" ) ( \"string17\" ) ( \"string18\" ) ( \"benestaar\" ) ( \"reg_nerd\" ) ( \"string19\" ) ( \"coachella\" ) ( \"string20\" ) ( \"mrjamesob\" ) ( \"string21\" ) ( \"Calimaq\" ) ( \"string22\" ) ( \"string23\" ) ( \"string24\" ) ( \"CaughtCctv\" ) ( \"string25\" ) ( \"string26\" ) ( \"string27\" ) ( \"string28\" ) ( \"Wikidata\" ) ( \"WikiCite\" ) ( \"metmuseum\" ) ( \"string29\" ) ( \"otourly\" ) ( \"string30\" ) ( \"schiste\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6406", "question": "What are the businesses and their headquarters locations and countries?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?business ?headquarters ?country WHERE {\n  ?business ( wdt:P31 / wdt:P279 * ) wd:Q4830453 .\n  ?business wdt:P159 ?headquarters .\n  OPTIONAL {\n    ?headquarters wdt:P17 ?country .\n  }\n}", "paraphrases": ["List all organizations along with where they are headquartered and in which country.", "Show me the headquarters and country for every business entity."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var5 ?var6 ?var6Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q4830453> . ?var1 <http://www.wikidata.org/prop/direct/P452> ?var7 . ?var1 <http://www.wikidata.org/prop/P159> ?var8 . ?var8 <http://www.wikidata.org/prop/statement/P159> ?var2 . OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P969> ?var3 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P281> ?var5 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P625> ?var4 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/17> ?var9 . ?var9 <http://www.wikidata.org/prop/statement/17> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6407", "question": "How many countries in Wikidata have an official name recorded?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ( COUNT( ?item ) AS ?count ) WHERE {\n  ?item wdt:P1448 ?officialName .\n  ?item wdt:P297 ?countryCode .\n  FILTER ( ?officialName != \"\" )\n}", "paraphrases": ["What is the count of entities with both an ISO 3166-1 alpha-2 code and a non-empty official name?", "Can you tell me how many items in Wikidata are associated with a country code and have a non-blank official name?"], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1448> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P297> ?var4 . FILTER ( ( ( ?var3 != \"\" ) ) ) . }"}}
{"id": "test_6408", "question": "What properties are used by Fuji-Hakone-Izu National Park, and what are the English labels, counts, and object values for each?", "sparql": "SELECT ?property (SAMPLE(?propLabel) AS ?propertyLabel) (COUNT(?object) AS ?count) (GROUP_CONCAT(?objectLabel; SEPARATOR=\", \") AS ?objectLabels) WHERE { wd:Q1137542 ?property ?object . ?object rdfs:label ?objectLabel . FILTER(LANG(?objectLabel) = \"en\") . ?propertyItem wikibase:directClaim ?property . ?propertyItem rdfs:label ?propLabel . FILTER(LANG(?propLabel) = \"en\") . } GROUP BY ?property", "paraphrases": ["For Fuji-Hakone-Izu National Park, list each property in English, how many things it links to, and what those things are called in English.", "Show me the English labels of all properties connected to Fuji-Hakone-Izu National Park, along with the number of associated objects and their English names."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q1137542> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_6409", "question": "Which Wikidata items have the Twitter handles \"Le_Figaro\", \"Senat\", \"TopGear_FR\", or \"NDaragon\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterHandle WHERE {\n  ?item wdt:P2002 ?twitterHandle .\n  VALUES ?twitterHandle {\n    \"Le_Figaro\" \"Senat\" \"TopGear_FR\" \"NDaragon\"\n  }\n}\nORDER BY ?twitterHandle", "paraphrases": ["Who or what entities on Wikidata are associated with the Twitter usernames Le_Figaro, Senat, TopGear_FR, and NDaragon?", "Show me the Wikidata items and their corresponding Twitter usernames for Le_Figaro, Senat, TopGear_FR, and NDaragon, sorted alphabetically by username."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"Le_Figaro\" ) ( \"string5\" ) ( \"Senat\" ) ( \"string6\" ) ( \"NDaragon\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"chmorin26\" ) ( \"string11\" ) ( \"string12\" ) ( \"string13\" ) ( \"PBrunelM\" ) ( \"string14\" ) ( \"string15\" ) ( \"CAutajon\" ) ( \"string16\" ) ( \"string17\" ) ( \"jacqlade\" ) ( \"string18\" ) ( \"string19\" ) ( \"s_cellier\" ) ( \"TopGear_FR\" ) ( \"string20\" ) ( \"string21\" ) ( \"string22\" ) ( \"string23\" ) ( \"LeDL26et07\" ) ( \"tomzim26\" ) ( \"string24\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6410", "question": "What film has the Scope.dk ID 1484?", "sparql": "SELECT ?film WHERE { ?film wdt:P2518 \"1484\" . }", "paraphrases": ["Which film is identified by the number 1484 on Scope.dk?", "Tell me the film that corresponds to the Scope.dk film ID 1484."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2518> \"1484\". }"}}
{"id": "test_6411", "question": "Which railway station has the ESR station code 252401?", "sparql": "SELECT ?station WHERE { ?station wdt:P2815 \"252401\" . }", "paraphrases": ["What is the name of the railway station in the former USSR with the code 252401?", "Tell me the railway station identified by the ESR code 252401."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2815> \"252401\". }"}}
{"id": "test_6412", "question": "Which entities on Wikidata have the Twitter usernames \"Disney\", \"mySociety\", or \"plantu\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item(STR(?twitterUsername) AS ?username) WHERE {\n  ?item wdt:P2002 ?twitterUsername .\n  FILTER(STR(?twitterUsername) = \"Disney\" || STR(?twitterUsername) = \"mySociety\" || STR(?twitterUsername) = \"plantu\")\n}", "paraphrases": ["Show me the Wikidata items that are linked to the Twitter accounts @Disney, @mySociety, and @plantu.", "What are the Wikidata entities corresponding to the Twitter handles Disney, mySociety, and plantu?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"wikidata\" ) ( \"K_rho\" ) ( \"string2\" ) ( \"Pymouss\" ) ( \"MaelLeHir\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"PoulpyWP\" ) ( \"string6\" ) ( \"Wikinade\" ) ( \"Gallorum\" ) ( \"string7\" ) ( \"uhdp33\" ) ( \"Salemioche\" ) ( \"string8\" ) ( \"Mart4400\" ) ( \"plantu\" ) ( \"string9\" ) ( \"string10\" ) ( \"BrexitBin\" ) ( \"string11\" ) ( \"RabbiMagic\" ) ( \"ash_crow\" ) ( \"alphosWP\" ) ( \"Edhral\" ) ( \"string12\" ) ( \"arriabelli\" ) ( \"Le_Woodman\" ) ( \"legrugru\" ) ( \"string13\" ) ( \"string14\" ) ( \"hatonjan\" ) ( \"Disney\" ) ( \"string15\" ) ( \"mySociety\" ) ( \"string16\" ) ( \"string17\" ) ( \"Jean_no\" ) ( \"string18\" ) ( \"string19\" ) ( \"DocSevenTV\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6413", "question": "People with Korean family names and their native Korean names.", "sparql": "SELECT DISTINCT ?person ?personLabel ?familyName ?familyNameRomanized ?nativeName WHERE {  ?person wdt:P734 ?familyName .  ?familyName wdt:P31 wd:Q498782 .  OPTIONAL {    ?person rdfs:label ?personLabel .    FILTER(LANG(?personLabel) = \"en\")  }  OPTIONAL {    ?familyName wdt:P2001 ?familyNameRomanized .  }  OPTIONAL {    ?person wdt:P1559 ?nativeName .  }  }", "paraphrases": ["Which people have Korean surnames, and what are their names written in Hangul?", "Show me humans who have Korean family names, including the Romanized version of their surname and their full name in Korean script if available."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q498782> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1559> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6414", "question": "Which organizations have Twitter handles \"UnivNantes\" or \"EDFofficiel\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?twitterHandle ?itemLabel WHERE {\n  ?item wdt:P2002 ?twitterHandle .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n  VALUES ?twitterHandle {\n    \"UnivNantes\" \"EDFofficiel\"\n  }\n}\nORDER BY ?twitterHandle", "paraphrases": ["What are the Wikidata entities associated with the Twitter usernames \"UnivNantes\" and \"EDFofficiel\"?", "Show me the names of the entities on Wikidata that use \"UnivNantes\" or \"EDFofficiel\" as their Twitter handle."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"SNAudacity\" ) ( \"string1\" ) ( \"LeMarsoins\" ) ( \"Mut_PDL\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"LePeriscop\" ) ( \"lo_rennes\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"gepstechno\" ) ( \"EDFpulse\" ) ( \"string12\" ) ( \"string13\" ) ( \"Move_Rent\" ) ( \"string14\" ) ( \"string15\" ) ( \"UnivNantes\" ) ( \"string16\" ) ( \"string17\" ) ( \"string18\" ) ( \"string19\" ) ( \"string20\" ) ( \"string21\" ) ( \"string22\" ) ( \"string23\" ) ( \"string24\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6415", "question": "Which Wikidata entities have Twitter handles \"Prefet44\", \"nantesfr\", \"VilleReze\", \"sainteluce\", \"SHerblain\", or \"lcse44240\"?", "sparql": "SELECT ?item ?twitterHandle WHERE { ?item wdt:P2002 ?twitterHandle . FILTER(?twitterHandle = \"Prefet44\" || ?twitterHandle = \"nantesfr\" || ?twitterHandle = \"VilleReze\" || ?twitterHandle = \"sainteluce\" || ?twitterHandle = \"SHerblain\" || ?twitterHandle = \"lcse44240\") } ORDER BY ?twitterHandle", "paraphrases": ["Can you list the entities on Wikidata that are associated with the Twitter usernames Prefet44, nantesfr, VilleReze, sainteluce, SHerblain, and lcse44240?", "Show me the Wikidata items linked to these Twitter accounts: Prefet44, nantesfr, VilleReze, sainteluce, SHerblain, and lcse44240."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"Prefet44\" ) ( \"string2\" ) ( \"string3\" ) ( \"CHUnantes\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"nantesfr\" ) ( \"string7\" ) ( \"VilleReze\" ) ( \"string8\" ) ( \"string9\" ) ( \"airpl_org\" ) ( \"SHerblain\" ) ( \"sainteluce\" ) ( \"lcse44240\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6416", "question": "Wikimedia categories ending in ' in Latvia' or ' in Taiwan' that are not subcategories", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?category ?categoryLabel WHERE {\n  VALUES ?suffix {\n    \" in Latvia\" \" in Taiwan\"\n  }\n  ?category wdt:P31 wd:Q4167836 ; rdfs:label ?categoryLabel .\n  FILTER(LANG(?categoryLabel) = \"en\")\n  FILTER(STRENDS(?categoryLabel , ?suffix))\n  FILTER(NOT EXISTS {\n    ?category wdt:P301 ?other\n  })\n}\nORDER BY ASC(?categoryLabel)\nLIMIT 500", "paraphrases": ["What are the English-language Wikimedia categories for Latvia and Taiwan that are not subcategories of other categories?", "List the main Wikimedia categories in English that are named after locations in Latvia and Taiwan, excluding subcategories."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { VALUES ( ?var4 ) { ( \"string1\" ) ( \" in Latvia\" ) ( \" in Taiwan\" ) ( \"string2\" ) ( \"string3\" ) } ?var2 <http://www.wikidata.org/prop/direct/P910> ?var1 ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167836> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . FILTER ( ( STRENDS ( ?var5Label , ?var4 ) ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P301> ?var2 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label ) LIMIT 500"}}
{"id": "test_6417", "question": "What are all the active administrative regions above Saint-Georges-de-Commiers, and what is each one\u2019s immediate parent?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestor ?ancestorLabel ?immediateParent ?immediateParentLabel WHERE {\n  wd:Q686097 wdt:P131 * ?ancestor .\n  FILTER NOT EXISTS {\n    ?ancestor wdt:P576 | wdt:P582 []\n  }\n  ?ancestor rdfs:label ?ancestorLabel .\n  FILTER(LANG(?ancestorLabel) = \"en\")\n  OPTIONAL {\n    ?ancestor wdt:P131 ?immediateParent .\n    FILTER NOT EXISTS {\n      ?immediateParent wdt:P576 | wdt:P582 []\n    }\n    ?immediateParent rdfs:label ?immediateParentLabel .\n    FILTER(LANG(?immediateParentLabel) = \"en\")\n  }\n}", "paraphrases": ["Show me the administrative hierarchy of Saint-Georges-de-Commiers in France, excluding any dissolved entities, along with their English labels and immediate\u4e0a\u7ea7 entities.", "List the administrative ancestors of Saint-Georges-de-Commiers that are still in use, and for each, indicate which larger entity it belongs to."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". <http://www.wikidata.org/entity/Q686097> <http://www.wikidata.org/prop/direct/P131> * ?var1 . MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P576> | <http://www.wikidata.org/prop/direct/P582> ) [] . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . MINUS { ?var2 ( <http://www.wikidata.org/prop/direct/P576> | <http://www.wikidata.org/prop/direct/P582> ) [] . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr, en, fr, fr, fr\". } }"}}
{"id": "test_6418", "question": "What items are located in geographic locations?", "sparql": "SELECT ?item ?location WHERE { ?item wdt:P131 ?location . ?location wdt:P31 wd:Q2221906 . }", "paraphrases": ["Show me places and the geographic locations they are situated in.", "Which entities have a geographic location as their administrative area?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/Q30461> ?var2 . ?var2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#P31> <http://www.wikidata.org/prop/direct/Q6256> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_6419", "question": "Which Wikidata items have Twitter/X usernames: easyJet, lavuelta, tourdelain, AlexGeniez, or p_latour?", "sparql": "SELECT ?item ?twitterHandle WHERE { ?item wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { \"easyJet\" \"lavuelta\" \"tourdelain\" \"AlexGeniez\" \"p_latour\" } }", "paraphrases": ["What entities on Wikidata are associated with the Twitter handles easyJet, lavuelta, tourdelain, AlexGeniez, or p_latour?", "Show me the Wikidata items linked to the Twitter accounts easyJet, lavuelta, tourdelain, AlexGeniez, and p_latour."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"AlexGeniez\" ) ( \"string1\" ) ( \"ergysport\" ) ( \"RenaudB31\" ) ( \"velo101\" ) ( \"easyJet\" ) ( \"string2\" ) ( \"p_latour\" ) ( \"TDWsport\" ) ( \"badencooke\" ) ( \"string3\" ) ( \"string4\" ) ( \"gouby34\" ) ( \"string5\" ) ( \"string6\" ) ( \"tourdelain\" ) ( \"lavuelta\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6420", "question": "Images of Alberico Gentili with SNAC ARK ID w6wn6m6v", "sparql": "SELECT ?image WHERE { wd:Q1445910 wdt:P3430 \"w6wn6m6v\" . OPTIONAL { wd:Q1445910 wdt:P18 ?image . } }", "paraphrases": ["What images are available for Alberico Gentili on Wikimedia Commons?", "Show me the images linked to Alberico Gentili, the father of international law, from his SNAC ARK ID."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6wn6m6v\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6421", "question": "English TV series with their IMDb, AllMovie, Box Office Mojo, and OMDB IDs.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?series ?imdbId ?allMovieId ?boxOfficeMojoId ?omdbId ?label WHERE {\n  ?series wdt:P31 wd:Q5398426 .\n  ?series rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) .\n  OPTIONAL {\n    ?series wdt:P345 ?imdbId .\n  }\n  OPTIONAL {\n    ?series wdt:P1562 ?allMovieId .\n  }\n  OPTIONAL {\n    ?series wdt:P1237 ?boxOfficeMojoId .\n  }\n  OPTIONAL {\n    ?series wdt:P3302 ?omdbId .\n  }\n}", "paraphrases": ["What are the English titles of television series and their corresponding identifiers on IMDb, AllMovie, Box Office Mojo, and Open Media Database?", "Please list all English-language television series along with their IMDb, AllMovie, Box Office Mojo, and OMDB identifiers."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5398426> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var6 . FILTER ( ( ( LANG ( ?var6 ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P345> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1562> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1237> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3302> ?var5 . } }"}}
{"id": "test_6422", "question": "What Wikidata entity has the Twitter/X username \"envlh\"?", "sparql": "SELECT ?entity WHERE { ?entity wdt:P2002 \"envlh\" . }", "paraphrases": ["Who is the person on Wikidata with the Twitter handle envlh?", "Can you find the Wikidata item for the user with the X username envlh?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"string1\" ) ( \"ornikkar\" ) ( \"panarmorix\" ) ( \"string2\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6423", "question": "What is the English label for the person with Library of Congress ID no00073481?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P244 \"no00073481\" .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER ( LANG( ?itemLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["Can you find the English description and name of the individual identified by the LCCN no00073481?", "Who is the person with LCCN no00073481, and what is their English name and description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P244> \"no00073481\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6424", "question": "How many humans died in the year 1910 according to Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?deathYear(COUNT(?human) AS ?count) WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human wdt:P570 ?deathDate .\n  BIND(YEAR(?deathDate) AS ?deathYear)\n  FILTER(?deathYear = 1910)\n}\nGROUP BY ?deathYear", "paraphrases": ["What is the number of human deaths recorded in Wikidata for 1910?", "Can you tell me how many people died in 1910, based on Wikidata's data?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P569> ?var4 . } BIND ( STR ( YEAR ( ?var5 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P570> ?var5 . FILTER ( ( ( ?var5 >= \"1910-12-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var5 < \"1911-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1"}}
{"id": "test_6425", "question": "What is the image of the person with SNAC ARK ID w61w3c0s?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w61w3c0s\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image\n  }\n}", "paraphrases": ["Can you show me the Wikimedia Commons image associated with the SNAC ARK ID w61w3c0s?", "Which image is linked to the Social Networks and Archival Context identifier w61w3c0s?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6j68hgc\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6426", "question": "Image of Samuel Marinus Zwemer with SNAC ARK ID w6j39chh", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6j39chh\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What image is linked to the Wikidata item for Samuel Marinus Zwemer, identified by the SNAC ARK ID w6j39chh?", "Show me the Wikimedia Commons image associated with the person who has the SNAC ARK ID w6j39chh."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6j39chh\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6427", "question": "Danish parishes with codes, coordinates, and Freebase IDs, including English and Danish labels.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nSELECT DISTINCT ?parishCode ?enLabel ?daLabel ?lat ?lng ?freebaseId WHERE {\n  ?item wdt:P17 wd:Q35 ; wdt:P2290 ?parishCode ; wdt:P646 ?freebaseId ; wdt:P625 ?coord .\n  ?item p:P625 ?coordStatement .\n  ?coordStatement psv:P625 ?coordValue .\n  ?coordValue wikibase:geoLatitude ?lat ; wikibase:geoLongitude ?lng .\n  OPTIONAL {\n    ?item rdfs:label ?enLabel .\n    FILTER(LANG(?enLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?item rdfs:label ?daLabel .\n    FILTER(LANG(?daLabel) = \"da\")\n  }\n}\nORDER BY ASC(?parishCode)", "paraphrases": ["What are the Danish parishes that have a parish code, geographic coordinates, and a Freebase ID, along with their English and Danish names?", "List all Danish parishes that have a P2290 parish code, their latitude and longitude, Freebase ID, and their labels in English and Danish, sorted by parish code."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { ?var7 ( <http://www.wikidata.org/prop/direct/P131> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q35> . ?var7 <http://www.wikidata.org/prop/direct/P625> ?var8 . ?var7 <http://www.wikidata.org/prop/P625> ?var9 . ?var9 <http://www.wikidata.org/prop/statement/value/P625> ?var10 . ?var10 <http://wikiba.se/ontology#geoLatitude> ?var4 . ?var10 <http://wikiba.se/ontology#geoLongitude> ?var5 . ?var7 <http://www.wikidata.org/prop/direct/P646> ?var6 . ?var7 <http://www.wikidata.org/prop/direct/P2290> ?var1 . OPTIONAL { ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } OPTIONAL { ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"da\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_6428", "question": "What are the Wikipedia link, image, YouTube ID, social media handles, and website for the song \"Unchained Melody\"?", "sparql": "SELECT ?label ?image ?coordinates ?youtubeId ?githubUsername ?twitterUsername ?facebookUsername ?instagramUsername ?website ?orcid ?wikipedia WHERE {\n  wd:Q949416 rdfs:label ?label .\n  FILTER (LANG(?label) = \"en\")\n  OPTIONAL { wd:Q949416 wdt:P18 ?image . }\n  OPTIONAL { wd:Q949416 wdt:P625 ?coordinates . }\n  OPTIONAL { wd:Q949416 wdt:P1651 ?youtubeId . }\n  OPTIONAL { wd:Q949416 wdt:P2037 ?githubUsername . }\n  OPTIONAL { wd:Q949416 wdt:P2002 ?twitterUsername . }\n  OPTIONAL { wd:Q949416 wdt:P2013 ?facebookUsername . }\n  OPTIONAL { wd:Q949416 wdt:P2003 ?instagramUsername . }\n  OPTIONAL { wd:Q949416 wdt:P856 ?website . }\n  OPTIONAL { wd:Q949416 wdt:P496 ?orcid . }\n  OPTIONAL {\n    ?wikipedia rdf:type schema:Article ;\n               schema:about wd:Q949416 ;\n               schema:inLanguage \"en\" ;\n               schema:isPartOf <https://en.wikipedia.org/> .\n  }\n}", "paraphrases": ["Can you provide the official website, social media profiles, and Wikipedia page for the song \"Unchained Melody\"?", "Show me all available external links and metadata for the musical composition \"Unchained Melody\", including its Wikipedia article and any associated YouTube, Twitter, Instagram, or GitHub accounts."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q949416> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var12 ) ) ) . VALUES ( ?var12 ?var13 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q949416> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q949416> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q949416> <http://www.wikidata.org/prop/direct/P1651> ?var5 . } OPTIONAL { <http://www.wikidata.org/entity/Q949416> <http://www.wikidata.org/prop/direct/P2037> ?var6 . } OPTIONAL { <http://www.wikidata.org/entity/Q949416> <http://www.wikidata.org/prop/direct/P2002> ?var7 . } OPTIONAL { <http://www.wikidata.org/entity/Q949416> <http://www.wikidata.org/prop/direct/P2013> ?var8 . } OPTIONAL { <http://www.wikidata.org/entity/Q949416> <http://www.wikidata.org/prop/direct/P2003> ?var9 . } OPTIONAL { <http://www.wikidata.org/entity/Q949416> <http://www.wikidata.org/prop/direct/P856> ?var10 . } OPTIONAL { <http://www.wikidata.org/entity/Q949416> <http://www.wikidata.org/prop/direct/P496> ?var11 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q949416> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var13 )"}}
{"id": "test_6429", "question": "What property is used to link the 26th D\u00e1il to another entity in Wikidata?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ( COUNT( ?property ) AS ?count ) WHERE {\n  wd:Q28976307 ?statementProperty ?value .\n  ?property wikibase:directClaim ?statementProperty .\n  ?property rdf:type wikibase:Property .\n}\nGROUP BY ?property\nORDER BY DESC ( ?count )\nLIMIT 1", "paraphrases": ["Which property has been used most often to connect the 26th D\u00e1il to other items, and how many times?", "What is the relationship between the 26th D\u00e1il and the 27th D\u00e1il in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q28976307> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_6430", "question": "Which Wikidata items have Twitter usernames BarackObama, NASA, BBCNews, or Google?", "sparql": "SELECT ?item ?twitterUsername WHERE { ?item wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"BarackObama\" \"NASA\" \"BBCNews\" \"Google\" } }", "paraphrases": ["What entities on Wikidata are associated with the Twitter accounts @BarackObama, @NASA, @BBCNews, and @Google?", "List the Wikidata items that have the Twitter usernames \"BarackObama\", \"NASA\", \"BBCNews\", and \"Google\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"FigaroTech\" ) ( \"string2\" ) ( \"_4nth0_\" ) ( \"toma3775\" ) ( \"OnymmeAnne\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6431", "question": "Countries with English demonyms and their official languages.", "sparql": "SELECT DISTINCT ?country ?countryLabel ?demonym ?language ?languageLabel WHERE { ?country (wdt:P31/wdt:P279*) wd:Q6256 . ?country wdt:P1549 ?demonym . ?country wdt:P37 ?language . FILTER(LANG(?demonym) = \"en\") . ?country rdfs:label ?countryLabel . ?language rdfs:label ?languageLabel . FILTER(LANG(?countryLabel) = \"en\") . FILTER(LANG(?languageLabel) = \"en\") .}", "paraphrases": ["Which countries have English demonyms, and what are their official languages?", "List all countries in English, along with their English demonyms and the names of their official languages."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var3Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q6256> . ?var1 <http://www.wikidata.org/prop/direct/P1549> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P37> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P305> ?var4 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6432", "question": "Who are some film directors?", "sparql": "SELECT ?person WHERE { ?person wdt:P106 wd:Q2526255 . } LIMIT 10", "paraphrases": ["List up to 10 people whose occupation is film director.", "Can you show me 10 individuals employed as film directors?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/P106> <http://www.wikidata.org/entity/statement/Q8949569> . } LIMIT 10"}}
{"id": "test_6433", "question": "Subclasses of battle and how many battles belong to each.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?battleClass ?battleClassLabel ( COUNT( ?battle ) AS ?count ) WHERE {\n  ?battleClass wdt:P279 wd:Q178561 .\n  ?battle ( wdt:P31 / wdt:P279 * ) ?battleClass .\n  ?battleClass rdfs:label ?battleClassLabel .\n  FILTER ( LANG( ?battleClassLabel ) = \"en\" )\n}\nGROUP BY ?battleClass ?battleClassLabel\nORDER BY DESC ( ?count )", "paraphrases": ["Which categories of battles have the most instances in Wikidata, and how many are in each?", "List all subclasses of battle with the count of battles in each category, in descending order of size."], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { { SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var3 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q15991159> . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var1 . } GROUP BY ?var1 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } } UNION { SELECT ?var4 ?var4Label ?var2 ?var3 WHERE { { SELECT ?var4 ( COUNT ( ?var3 ) AS ?var2 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q15991159> . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var4 . } GROUP BY ?var4 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } } }"}}
{"id": "test_6434", "question": "What is the most commonly used property to describe the company Computers and Structures in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?prop(COUNT(?prop) AS ?count) WHERE {\n  wd:Q3459192 ?prop ?object .\n  FILTER(STRSTARTS(STR(?prop) , \"http://www.wikidata.org/prop/direct/\"))\n}\nGROUP BY ?prop\nORDER BY DESC(?count)\nLIMIT 1", "paraphrases": ["Which Wikidata property is used most often to provide information about Computers and Structures?", "Among all direct properties linked to Computers and Structures, which one appears the most times?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q3459192> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_6435", "question": "Humans with French names and their occupations", "sparql": "SELECT ?human ?label ?occupation WHERE { ?human wdt:P31 wd:Q5 . ?human rdfs:label ?label FILTER(LANG(?label) = 'fr') . OPTIONAL { ?human wdt:P106 ?occupation . } } LIMIT 10", "paraphrases": ["Who are some humans that have French-language labels, and what are their occupations?", "List humans with French labels along with their professions."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 ?var4 \"string1\"@fr . ?var1 ?var2 ?var3 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P31> ?var5 . } }"}}
{"id": "test_6436", "question": "What are the subclasses of volcanic landform?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?subclass ?subclassLabel WHERE {\n  ?subclass wdt:P279 wd:Q29025902 .\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER ( LANG( ?subclassLabel ) = 'en' )\n}", "paraphrases": ["Can you list all the types of volcanic landforms, such as volcanoes and craters?", "Which geological features are considered specific forms of volcanic landforms in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/QQ8148> . }"}}
{"id": "test_6437", "question": "How many subclasses of word-sense disambiguation exist in Wikidata?", "sparql": "SELECT (COUNT(?subclass) AS ?count) WHERE { ?subclass wdt:P279 wd:Q48522 . }", "paraphrases": ["What is the number of direct subclasses of word-sense disambiguation?", "List the count of entities that are direct subclasses of word-sense disambiguation."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q48522> . }"}}
{"id": "test_6438", "question": "Image of Giuseppe Terragni from SNAC ARK ID w62v3201", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w62v3201\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Giuseppe Terragni\u2019s SNAC ARK ID w62v3201?", "Show me the Wikimedia Commons image for the person with SNAC ARK ID w62v3201."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w62v3201\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6439", "question": "List all subclasses of \"thing\" (wd:Q35120) up to two levels deep, showing how many direct subclasses each has and their English labels.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?class ?classLabel ?level ( COUNT( ?subclass ) AS ?subclassCount ) ( GROUP_CONCAT( ?subclassLabel ; SEPARATOR = \", \" ) AS ?subclassLabels ) WHERE {\n  {\n    BIND( wd:Q35120 AS ?class ) BIND( 0 AS ?level ) ?subclass wdt:P279 ?class .\n    ?subclass rdfs:label ?subclassLabel .\n    FILTER ( LANG( ?subclassLabel ) = \"en\" )\n  } UNION {\n    ?class wdt:P279 wd:Q35120 .\n    BIND( 1 AS ?level ) ?subclass wdt:P279 ?class .\n    ?subclass rdfs:label ?subclassLabel .\n    FILTER ( LANG( ?subclassLabel ) = \"en\" )\n  } UNION {\n    ?class wdt:P279 ?parent .\n    ?parent wdt:P279 wd:Q35120 .\n    BIND( 2 AS ?level ) ?subclass wdt:P279 ?class .\n    ?subclass rdfs:label ?subclassLabel .\n    FILTER ( LANG( ?subclassLabel ) = \"en\" )\n  }\n  ?class rdfs:label ?classLabel .\n  FILTER ( LANG( ?classLabel ) = \"en\" )\n}\nGROUP BY ?class ?classLabel ?level\nORDER BY ?level", "paraphrases": ["What are the top-level class \"thing\" and its first two levels of subclasses in Wikidata, along with the count and names of their direct subclasses in English?", "Please show me the hierarchy of the class \"thing\" in Wikidata, including its direct subclasses and their subclasses, with the number of subclasses at each level and their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4Label ( MAX ( ?var5 ) AS ?var6 ) WHERE { SELECT DISTINCT ?var1 ?var1Label ?var2 ( GROUP_CONCAT ( DISTINCT ?var4 ; SEPARATOR = \", \" ) AS ?var3 )( GROUP_CONCAT ( DISTINCT ?var7Label ; SEPARATOR = \", \" ) AS ?var4Label )( COUNT ( ?var4 ) AS ?var5 ) WHERE { { BIND ( \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var2 ). BIND ( <http://www.wikidata.org/entity/Q35120> AS ?var1 ). ?var4 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q35120> . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var7Label . FILTER ( ( ( LANG ( ?var7Label ) = \"en\" ) ) ) . } UNION { BIND ( \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var2 ). BIND ( ?var8 AS ?var1 ). ?var8 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q35120> . ?var4 <http://www.wikidata.org/prop/direct/P279> ?var8 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var7Label . FILTER ( ( ( LANG ( ?var7Label ) = \"en\" ) ) ) . } UNION { BIND ( \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var2 ). BIND ( ?var9 AS ?var1 ). ?var8 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q35120> . ?var9 <http://www.wikidata.org/prop/direct/P279> ?var8 . ?var4 <http://www.wikidata.org/prop/direct/P279> ?var9 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var7Label . FILTER ( ( ( LANG ( ?var7Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var1Label ?var2 ORDER BY ASC( ?var2 ) } GROUP BY ?var1 ?var1Label ?var2 ?var3 ?var4Label ORDER BY ASC( ?var2 )"}}
{"id": "test_6440", "question": "Items with their main category and type in English.", "sparql": "SELECT ?item ?itemLabel ?category ?categoryLabel ?itemType ?itemTypeLabel WHERE { ?item wdt:P910 ?category . OPTIONAL { ?item wdt:P31 ?itemType . } ?item rdfs:label ?itemLabel . ?category rdfs:label ?categoryLabel . OPTIONAL { ?itemType rdfs:label ?itemTypeLabel . } FILTER(LANG(?itemLabel) = \"en\") FILTER(LANG(?categoryLabel) = \"en\") FILTER(!BOUND(?itemTypeLabel) || LANG(?itemTypeLabel) = \"en\") } LIMIT 100", "paraphrases": ["What are the English-labeled items that have a main category, and what are those categories and the items' types?", "List up to 100 English-labeled items along with their main categories and types, including labels for both the items and categories."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 WHERE { { BIND ( \"mainsnak\" AS ?var4 ). ?var1 <http://www.wikidata.org/prop/direct/P910> ?var2 . } UNION { BIND ( \"qualifier\" AS ?var4 ). ?var5 <http://www.wikidata.org/prop/qualifier/P910> ?var2 . ?var1 ?var6 ?var5 . } UNION { BIND ( \"reference\" AS ?var4 ). ?var7 <http://www.wikidata.org/prop/reference/P910> ?var2 . ?var8 <http://www.w3.org/ns/prov#wasDerivedFrom> ?var7 . ?var1 ?var9 ?var8 . } VALUES ( ?var10 ) { ( <http://www.wikidata.org/entity/Q4167836> ) } MINUS { ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var10 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P31> ?var3 . } } LIMIT 100 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6441", "question": "What are the publications where Nicky Garland has published the most works, and how many works did he publish in each?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?publication ?publicationLabel ( COUNT( ?work ) AS ?count ) WHERE {\n  ?work wdt:P50 wd:Q47068539 .\n  ?work wdt:P1433 ?publication .\n  ?publication rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) OPTIONAL {\n    ?publication wdt:P1813 ?shortName .\n  }\n  BIND( COALESCE ( ?shortName , ?label ) AS ?publicationLabel )\n}\nGROUP BY ?publication ?publicationLabel\nORDER BY DESC ( ?count )", "paraphrases": ["List the journals and books that Nicky Garland has contributed to, using their abbreviated names if available, sorted by the number of his publications in each.", "Which academic publications have featured the most works by archaeologist Nicky Garland?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q47068539> . ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1813> ?var6 . } BIND ( COALESCE ( ?var6 , ?var5Label ) AS ?var2Label ). } GROUP BY ?var1 ?var2Label ORDER BY DESC( ?var4 )"}}
{"id": "test_6442", "question": "Gender of children listed as qualifiers on child relationships in Wikidata", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?parent ?child_gender WHERE {\n  ?parent ( p:P40 / pq:P21 ) ?child_gender .\n}", "paraphrases": ["What is the gender of the children of people who have specified gender qualifiers for their children in Wikidata?", "List all people and the gender of their children as recorded in the qualifiers of their child relationships."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ( <http://www.wikidata.org/prop/P40> / <http://www.wikidata.org/prop/qualifier/P21> ) ?var2 . }"}}
{"id": "test_6443", "question": "What countries and continents are associated with the Judeo-Tat language?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?country ?countryLabel ?continent ?continentLabel WHERE {\n  wd:Q56495 wdt:P17 ?country .\n  ?country wdt:P30 ?continent .\n  ?country rdfs:label ?countryLabel .\n  ?continent rdfs:label ?continentLabel .\n  FILTER(LANG(?countryLabel) = \"en\")\n  FILTER(LANG(?continentLabel) = \"en\")\n}", "paraphrases": ["In which countries is Judeo-Tat spoken, and on which continents are those countries located?", "Show me the countries where Judeo-Tat is used and their corresponding continents."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q56495> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_6444", "question": "Which Wikidata entities have Twitter/X usernames like Russia, UN, or decodeurs?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"Russia\" \"servicepublicfr\" \"AuCanada\" \"govbrazil\" \"UN\" \"thebeatles\" \"decodeurs\" } }", "paraphrases": ["What are the Wikidata items associated with the Twitter usernames \"Russia\", \"UN\", \"thebeatles\", and \"decodeurs\"?", "List the entities on Wikidata that are linked to the Twitter accounts \"Russia\", \"UN\", \"AuCanada\", \"govbrazil\", \"servicepublicfr\", \"thebeatles\", and \"decodeurs\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"neoxytrium\" ) ( \"Bronoli\" ) ( \"elcojano\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"E2Bdx\" ) ( \"WiiSiiF\" ) ( \"CetAnimal\" ) ( \"David10kut\" ) ( \"string5\" ) ( \"SobeTBT\" ) ( \"string6\" ) ( \"MehdyH2302\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"xnsjjeus\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) ( \"string13\" ) ( \"S6Stren\" ) ( \"PiRChst\" ) ( \"bonob0h\" ) ( \"string14\" ) ( \"lchkrn2\" ) ( \"novytweety\" ) ( \"Twelkyz\" ) ( \"string15\" ) ( \"string16\" ) ( \"decodeurs\" ) ( \"string17\" ) ( \"string18\" ) ( \"string19\" ) ( \"eunhtae\" ) ( \"AHittme\" ) ( \"MaximeDFL\" ) ( \"Mousyneska\" ) ( \"wonderclod\" ) ( \"gberthaut\" ) ( \"string20\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6445", "question": "Earthquakes with Mercalli intensity scale, their location, year, and death toll.", "sparql": "SELECT DISTINCT ?earthquake ?earthquakeLabel ?location (YEAR(?date) AS ?year) ?deathCount WHERE { ?earthquake wdt:P31 wd:Q7944 . OPTIONAL { ?earthquake wdt:P625 ?location . } OPTIONAL { ?earthquake wdt:P585 ?date . } OPTIONAL { ?earthquake wdt:P1120 ?deathCount . } ?earthquake wdt:P2784 ?intensity . ?intensity wdt:P31 wd:Q2091629 . ?earthquake rdfs:label ?earthquakeLabel . FILTER(LANG(?earthquakeLabel) = \"en\") }", "paraphrases": ["What are the earthquakes that have a recorded Modified Mercalli intensity, along with their location, year, and number of deaths?", "List all earthquakes with a documented Modified Mercalli intensity, including their coordinates, year, and death count, with English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ( YEAR ( ?var3 ) AS ?var4 ) ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7944> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P585> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1120> ?var6 . } { ?var1 <http://www.wikidata.org/prop/direct/P2784> [ <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2091629> ] . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6446", "question": "Which Wikidata entities have the Twitter usernames \"envlh\", \"elonmusk\", \"timberners_lee\", \"Wikipedia\", or \"Wikimedia\"?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"envlh\" \"elonmusk\" \"timberners_lee\" \"Wikipedia\" \"Wikimedia\" } }", "paraphrases": ["Who are the people or organizations on Wikidata that use the Twitter handles @envlh, @elonmusk, @timberners_lee, @Wikipedia, or @Wikimedia?", "List the Wikidata items associated with the Twitter usernames: envlh, elonmusk, timberners_lee, Wikipedia, and Wikimedia."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"Jules78120\" ) ( \"string1\" ) ( \"hpiedcoq\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6447", "question": "List of English-language occupations", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?occupation ?occupationLabel WHERE {\n  ?occupation wdt:P31 wd:Q12737077 .\n  ?occupation rdfs:label ?occupationLabel .\n  FILTER ( LANG( ?occupationLabel ) = \"en\" )\n}", "paraphrases": ["What are some occupations in English?", "Can you show me the English labels for all occupations?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q12737077> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P31> * <http://www.wikidata.org/entity/Q4164871> . } ) ) . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . }"}}
{"id": "test_6448", "question": "What is the English label for the person with Library of Congress ID no98078892?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P244 \"no98078892\" .\n  OPTIONAL {\n    ?item rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Who is the person identified by the Library of Congress authority ID no98078892, and what is their English description?", "Show me the English name and description of the individual with LCCN no98078892."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P244> \"no98078892\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6449", "question": "Subclasses of human rights activist and their direct parent classes.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?subclass ?subclassLabel ?directParent WHERE {\n  ?subclass wdt:P279 * wd:Q1476215 .\n  OPTIONAL {\n    ?subclass wdt:P279 ?directParent .\n  }\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER ( LANG( ?subclassLabel ) = \"en\" )\n}", "paraphrases": ["What are the different types of human rights activists, and what is their immediate parent category?", "List all occupations that are subclasses of human rights activist, along with their direct superclass, and show their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q1476215> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6450", "question": "What English-language Wikimedia pages are about Fran\u00e7ois Fillon?", "sparql": "SELECT ?page WHERE { ?page schema:about wd:Q101410 ; schema:inLanguage \"en\" . }", "paraphrases": ["English Wikipedia, Wikinews, and Commons pages about Fran\u00e7ois Fillon", "Show me all English-language pages on Wikimedia projects related to Fran\u00e7ois Fillon."], "info": {"raw_sparql": "SELECT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q101410> AS ?var2 ). ?var1 <http://schema.org/about> ?var2 . ?var1 <http://schema.org/inLanguage> \"en\". }"}}
{"id": "test_6451", "question": "Which Wikidata items have Twitter handles: UnivEvry, Genopole, fchouat, Prefet91, CDEssonne, or VilledEvry?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?item ?twitterHandle WHERE {\n  ?item p:P2002 ?stmt .\n  ?stmt ps:P2002 ?twitterHandle .\n  VALUES ?twitterHandle {\n    \"UnivEvry\" \"Genopole\" \"fchouat\" \"Prefet91\" \"CDEssonne\" \"VilledEvry\"\n  }\n}", "paraphrases": ["Who or what entities on Wikidata are associated with the Twitter usernames UnivEvry, Genopole, fchouat, Prefet91, CDEssonne, or VilledEvry?", "List the Wikidata items linked to the Twitter accounts UnivEvry, Genopole, fchouat, Prefet91, CDEssonne, and VilledEvry."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"UnivEvry\" ) ( \"string3\" ) ( \"string4\" ) ( \"VilledEvry\" ) ( \"ENSIIE\" ) ( \"TelecomEM\" ) ( \"Genopole\" ) ( \"string5\" ) ( \"string6\" ) ( \"EYParis\" ) ( \"string7\" ) ( \"fchouat\" ) ( \"Prefet91\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"CDEssonne\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6452", "question": "Top occupations of authors in the SHARE Catalogue, ranked by count.", "sparql": "SELECT ?occupationLabel ( COUNT( ?person ) AS ?count ) WHERE { ?person wdt:P106 ?occupation . ?person wdt:P3987 ?shareId . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = \"en\") } GROUP BY ?occupationLabel ORDER BY DESC(?count) LIMIT 100", "paraphrases": ["What are the most common occupations of people who have a SHARE Catalogue author ID, and how many are there for each?", "Show me the list of occupations of SHARE Catalogue authors, sorted by how many people have each occupation, with English labels."], "info": {"raw_sparql": "SELECT ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P106> ?var1 . ?var2 <http://www.wikidata.org/prop/direct/P3987> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it\". } } GROUP BY ?var1Label LIMIT 100"}}
{"id": "test_6453", "question": "What film has the KMDb ID 15925?", "sparql": "SELECT ?film WHERE { ?film wdt:P3704 \"15925\" . }", "paraphrases": ["Which movie on Wikidata is associated with the Korean Movie Database ID 15925?", "Find the Wikidata item for the film identified by the KMDb film ID 15925."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3704> \"15925\". }"}}
{"id": "test_6454", "question": "What property links to KP Snacks most frequently in Wikidata?", "sparql": "SELECT ?property (COUNT(?property) AS ?count) WHERE { ?item ?statementProperty wd:Q6336059 . ?property wikibase:directClaim ?statementProperty . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which property is used to connect other entities to KP Snacks, and how many times is it used?", "Show me the most common property that has KP Snacks as its object in Wikidata, along with its usage count."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q6336059> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_6455", "question": "Is Faust by Goethe a human?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  wd:Q29478 wdt:P31 ?type .\n  ?type wdt:P279 * wd:Q5 .\n}", "paraphrases": ["Is the literary character Faust considered a human being in Wikidata?", "Confirm whether Faust, the play by Goethe, is classified as a human or a subclass of human."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q29478> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6456", "question": "Male children of Carl Fredrik Adelcrantz", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?child ( SAMPLE( ?childLabel ) AS ?label ) WHERE {\n  ?child p:P40 ?stmt .\n  ?stmt ps:P40 wd:Q1037921 .\n  ?child p:P21 ?genderStmt .\n  ?genderStmt ps:P21 wd:Q6581097 .\n  ?child rdfs:label ?childLabel .\n}\nGROUP BY ?child\nLIMIT 101", "paraphrases": ["Who are the male children of Carl Fredrik Adelcrantz?", "List all male individuals who have Carl Fredrik Adelcrantz as a parent."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/P40> ?var2 . ?var2 <http://www.wikidata.org/prop/statement/P40> <http://www.wikidata.org/entity/Q1037921> . ?var1 <http://www.wikidata.org/prop/P21> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P21> <http://www.wikidata.org/entity/Q6581097> . } LIMIT 101"}}
{"id": "test_6457", "question": "English-named archives with their geographic coordinates", "sparql": "SELECT ?archiveLabel ?coordinates WHERE { ?archive wdt:P625 ?coordinates . ?archive rdfs:label ?archiveLabel . ?archive wdt:P31 wd:Q166118 . FILTER (LANG(?archiveLabel) = \"en\") }", "paraphrases": ["What are the names and locations of all archives in the world that have English labels?", "List all archives with their coordinates, using English names."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P625> ?var2 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q166118> . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . }"}}
{"id": "test_6458", "question": "French family names that have the same name as a disambiguation page and are not marked as different from it.", "sparql": "SELECT ?familyName ?disambigPage ?label WHERE { ?familyName wdt:P31 wd:Q101352 ; rdfs:label ?label . FILTER ( LANG(?label) = \"fr\" ) FILTER NOT EXISTS { ?familyName wdt:P31 ?otherType . FILTER (?otherType != wd:Q101352) } ?disambigPage wdt:P31 wd:Q4167410 ; rdfs:label ?label . FILTER NOT EXISTS { ?disambigPage wdt:P31 ?otherType . FILTER (?otherType != wd:Q4167410) } FILTER NOT EXISTS { ?familyName wdt:P1889 ?disambigPage } } LIMIT 40", "paraphrases": ["Which French family names share their exact name with a Wikimedia disambiguation page, and are not listed as being confused with it?", "Show me French-language family names that are also the title of a disambiguation page, where neither has any other type classification and they are not marked as distinct from each other."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q101352> ; <http://www.wikidata.org/prop/direct/P31> ?var3 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167410> ; <http://www.wikidata.org/prop/direct/P31> ?var5 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"fr\" ) ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P1889> ?var2 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var2 ?var1Label ?var2Label HAVING ( ( COUNT ( ?var3 ) = \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( COUNT ( ?var5 ) = \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) LIMIT 40"}}
{"id": "test_6459", "question": "Who has the Twitter username \"vivelefeu\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"vivelefeu\"\n  }\n}", "paraphrases": ["Which Wikidata item is associated with the Twitter handle vivelefeu?", "Show me the entity on Wikidata that uses vivelefeu as its Twitter username."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"vivelefeu\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6460", "question": "Who are the people awarded the French designation \"mort pour la France\"?", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P166 wd:Q3324507 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = 'fr' || LANG(?personLabel) = 'en') } LIMIT 100", "paraphrases": ["Which soldiers are officially recognized as having died for France?", "List the names of individuals honored with the title \"mort pour la France\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3324507> . } LIMIT 100"}}
{"id": "test_6461", "question": "Which entities on Wikidata have Twitter usernames \"BarackObama\", \"NASA\", \"BBC\", or \"Wikipedia\"?", "sparql": "SELECT ?item ?username WHERE { ?item p:P2002 ?stmt . ?stmt ps:P2002 ?username . VALUES ?username { \"BarackObama\" \"NASA\" \"BBC\" \"Wikipedia\" } }", "paraphrases": ["Who are the Wikipedia entities that use \"BarackObama\", \"NASA\", \"BBC\", or \"Wikipedia\" as their Twitter handle?", "List the Wikidata items and their Twitter usernames for the handles: BarackObama, NASA, BBC, and Wikipedia."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"ntsigil\" ) ( \"alelorier1\" ) ( \"liline1974\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"FleurOkina\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"TEA_ebook\" ) ( \"string7\" ) ( \"Geckobold\" ) ( \"DobyAdjo\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"eyrolles\" ) ( \"string11\" ) ( \"string12\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6462", "question": "How many works citing Evangelos E. Milios's publications were published each year, and how many of those are self-citations versus external citations?", "sparql": "SELECT ?year (COUNT(DISTINCT ?citingWork) AS ?count) ?citationType WHERE { ?miliosWork wdt:P50 wd:Q47086642 . ?citingWork wdt:P2860 ?miliosWork . ?citingWork wdt:P577 ?pubDate . BIND(YEAR(?pubDate) AS ?year) BIND(IF(EXISTS { ?citingWork wdt:P50 wd:Q47086642 }, \"self-citation\", \"external-citation\") AS ?citationType) } GROUP BY ?year ?citationType ORDER BY DESC(?year)", "paraphrases": ["Show the number of citations to Evangelos E. Milios's works, grouped by year and whether they were written by him or by others.", "Break down the citations to Evangelos E. Milios's research by publication year and classify them as self-citations or external citations."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q47086642> . } , \"string1\", \"string2\" ) AS ?var4 ). BIND ( STR ( YEAR ( ?var5 ) ) AS ?var1 ). ?var6 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q47086642> . ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var6 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var5 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_6463", "question": "What countries and continents is Svalbard part of?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?var1 ?var1Label WHERE {\n  wd:Q25231(wdt:P17 | wdt:P131 | wdt:P30) + ?var1 .\n  OPTIONAL {\n    ?var1 rdfs:label ?var1Label .\n    FILTER(LANG(?var1Label) = \"en\")\n  }\n}", "paraphrases": ["Can you list all the geographic and political entities that Svalbard belongs to, such as its country and continent?", "Through which administrative, national, or continental relationships is Svalbard connected to other places?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q42311715> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_6464", "question": "Which publishers have published works by Yahya Hassan, and how many works per publisher?", "sparql": "SELECT ?publisher ?publisherLabel (COUNT(?work) AS ?workCount) WHERE { ?work wdt:P50 wd:Q15102503 . ?work wdt:P123 ?publisher . ?publisher rdfs:label ?publisherLabelRaw . FILTER(LANG(?publisherLabelRaw) = \"en\") . OPTIONAL { ?publisher wdt:P1813 ?publisherShortName . } BIND(COALESCE(?publisherShortName, ?publisherLabelRaw) AS ?publisherLabel) } GROUP BY ?publisher ?publisherLabel ORDER BY DESC(?workCount)", "paraphrases": ["How many works by the Danish poet Yahya Hassan were published by each publisher, and what are their names?", "List the publishers of Yahya Hassan\u2019s works, using their short names if available, and count how many works each published."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q15102503> . ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1813> ?var6 . } BIND ( COALESCE ( ?var6 , ?var5Label ) AS ?var2Label ). } GROUP BY ?var1 ?var2Label ORDER BY DESC( ?var4 )"}}
{"id": "test_6465", "question": "List Roman emperors with their birth dates and maternal grandparents (mother\u2019s father and mother\u2019s mother).", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?emperorLabel ?motherLabel ?birthDate ?maternalGrandfatherLabel ?maternalGrandmotherLabel WHERE {\n  ?emperor wdt:P39 wd:Q842606 .\n  ?emperor wdt:P569 ?birthDate .\n  ?emperor wdt:P25 ?mother .\n  ?mother wdt:P22 ?maternalGrandfather .\n  ?mother wdt:P25 ?maternalGrandmother .\n  ?emperor rdfs:label ?emperorLabel .\n  ?mother rdfs:label ?motherLabel .\n  ?maternalGrandfather rdfs:label ?maternalGrandfatherLabel .\n  ?maternalGrandmother rdfs:label ?maternalGrandmotherLabel .\n  FILTER ( LANG( ?emperorLabel ) = \"en\" ) FILTER ( LANG( ?motherLabel ) = \"en\" ) FILTER ( LANG( ?maternalGrandfatherLabel ) = \"en\" ) FILTER ( LANG( ?maternalGrandmotherLabel ) = \"en\" )\n}\nORDER BY ASC ( ?birthDate )", "paraphrases": ["Who were the maternal grandparents of each Roman emperor, and when were the emperors born?", "Show me the names of Roman emperors, their birth dates, and the names of their mother\u2019s parents."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2Label ?var3 ?var4Label ?var5Label ?var2 ?var1 ?var4 ?var5 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q842606> . ?var2 <http://www.wikidata.org/prop/direct/P569> ?var3 . ?var6 <http://www.wikidata.org/prop/direct/P22> ?var2 . ?var6 <http://www.wikidata.org/prop/direct/P25> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P22> ?var4 ; <http://www.wikidata.org/prop/direct/P25> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6466", "question": "Chinese name \"\u674e\u9023\u6770\", born in 1963, occupation", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?name ?birthDate ?occupationLabel WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P1559 ?name .\n  FILTER(?name = \"\u674e\u9023\u6770\" @zh)\n  .\n  ?person wdt:P569 ?birthDate .\n  FILTER(YEAR(?birthDate) = 1963)\n  .\n  ?person wdt:P106 ?occupation .\n  ?occupation rdfs:label ?occupationLabel .\n  FILTER(LANG(?occupationLabel) = \"en\" || LANG(?occupationLabel) = \"zh\")\n}", "paraphrases": ["Who is the Chinese actor named \"\u674e\u9023\u6770\" born in 1963, and what are their occupations?", "Show me the occupations of the person named \"\u674e\u9023\u6770\" in Chinese who was born in 1963."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,zh\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 ?var4 \"\u674e\u8fde\u6770\"@zh . ?var1 ?var5 \"1963\"^^<http://www.w3.org/2001/XMLSchema#integer> . ?var1 ?var2 ?var3 . }"}}
{"id": "test_6467", "question": "What is the image of the person with SNAC ARK ID \"w6bp2zvc\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6bp2zvc\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Can you find a Wikimedia Commons image for William Shaw Mason, identified by SNAC ARK ID w6bp2zvc?", "Show the image associated with the SNAC ARK ID w6bp2zvc, if one exists."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6bp2zvc\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6468", "question": "Items that have entered the public domain with their public domain date and image.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?pdDate ?image ?itemLabel WHERE {\n  ?item wdt:P3893 ?pdDate .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}\nLIMIT 1000", "paraphrases": ["Which works have entered the public domain, when did they enter it, and do they have an image on Wikimedia Commons?", "Show me works in the public domain, their entry date, and any associated images, with English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3893> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 1000"}}
{"id": "test_6469", "question": "Metro stations in the Brussels Metro system located in Belgium with their Freebase IDs.", "sparql": "SELECT DISTINCT ?station ?stationLabel ?freebaseId WHERE { ?station wdt:P31 wd:Q928830 . ?station wdt:P361 wd:Q506298 . ?station wdt:P17 wd:Q31 . OPTIONAL { ?station wdt:P646 ?freebaseId . } ?station rdfs:label ?stationLabel . FILTER(LANG(?stationLabel) = \"en\") }", "paraphrases": ["What are the metro stations in the Brussels Metro that are in Belgium, and what are their Freebase identifiers?", "List all metro stations in Belgium that are part of the Brussels Metro, along with their English names and Freebase IDs."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q928830> . ?var1 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q506298> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q31> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P646> ?var2 . } }"}}
{"id": "test_6470", "question": "List 122 humans with their English labels.", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P31 wd:Q5 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } LIMIT 122", "paraphrases": ["What are the English labels of 122 human beings in Wikidata?", "Show me 122 people from Wikidata along with their names in English."], "info": {"raw_sparql": "SELECT * WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 122"}}
{"id": "test_6471", "question": "Humans born on January 1, 2003, with their given names, family names, gender, and birthplaces.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?human ?humanLabel ?familyNameLabel ?givenNameLabel ?genderLabel ?birthDate ?birthPlaceLabel ?birthPlace WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human wdt:P569 ?birthDate .\n  OPTIONAL {\n    ?human wdt:P734 ?familyName .\n    ?familyName rdfs:label ?familyNameLabel .\n    FILTER(LANG(?familyNameLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?human wdt:P735 ?givenName .\n    ?givenName rdfs:label ?givenNameLabel .\n    FILTER(LANG(?givenNameLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?human wdt:P21 ?gender .\n    ?gender rdfs:label ?genderLabel .\n    FILTER(LANG(?genderLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?human wdt:P19 ?birthPlace .\n    ?birthPlace rdfs:label ?birthPlaceLabel .\n    FILTER(LANG(?birthPlaceLabel) = \"en\")\n  }\n  FILTER(?birthDate >= \"2003-01-01\" ^^ xsd:date && ?birthDate < \"2003-01-02\" ^^ xsd:date)\n}\nORDER BY ASC(?human)", "paraphrases": ["Who were the people born on January 1, 2003, and what are their genders and places of birth?", "List all humans born on January 1, 2003, including their first names, last names, gender, and birth locations in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4 ?var5 ?var6Label ?var7 ?var8Label ?var8 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var7 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var10 . } BIND ( ( ( ?var9 - ?var7 ) /\"365.2425\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) AS ?var11 ). FILTER ( ( ( ?var7 >= \"2003-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var7 < \"2003-01-02\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_6472", "question": "Humans born between January 2 and July 1, 1928, with their gender and birthplace.", "sparql": "SELECT ?person ?dob ?gender ?placeOfBirth WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P569 ?dob . OPTIONAL { ?person wdt:P21 ?gender . } OPTIONAL { ?person wdt:P19 ?placeOfBirth . } FILTER ( ?dob >= \"1928-01-02\"^^xsd:date && ?dob < \"1928-07-01\"^^xsd:date ) } ORDER BY ASC(?person) LIMIT 10", "paraphrases": ["Who were the people born between January 2 and July 1, 1928, and where and what gender were they?", "List 10 people born in the first half of 1928, along with their gender and place of birth."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4 ?var5 ?var6Label ?var7 ?var8Label ?var8 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var7 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var10 . } BIND ( ( ( ?var9 - ?var7 ) /\"365.2425\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) AS ?var11 ). FILTER ( ( ( ?var7 >= \"1928-01-02\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var7 < \"1928-07-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_6473", "question": "What is the image associated with Harold R. Bull\u2019s SNAC ARK ID w60c7chj?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w60c7chj\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Show me the Wikimedia Commons image for the person identified by SNAC ARK ID w60c7chj.", "What image is linked to the SNAC ARK ID w60c7chj?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w60c7chj\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6474", "question": "Image of the person with SNAC ARK ID w69p35hf", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w69p35hf\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w69p35hf?", "Show me the Wikimedia Commons image for Pierre-Louis Moreau de Maupertuis, identified by SNAC ARK ID w69p35hf."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w69p35hf\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6475", "question": "What is the most frequently used property in Wikidata that links items to other properties?", "sparql": "SELECT ?directProp (COUNT(?directProp) AS ?count) ?propLabel WHERE { ?item ?statementProp ?otherProp . ?otherProp rdf:type wikibase:Property . ?directProp wikibase:directClaim ?statementProp . ?directProp rdfs:label ?propLabel . FILTER(LANG(?propLabel) = \"en\") } GROUP BY ?directProp ?propLabel ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which property is most commonly used to relate one property to another in Wikidata?", "What property has the highest number of statements where the object is another property?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/P3618> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_6476", "question": "Who are some people educated at universities in Chile, what universities did they attend, and when did they die \u2014 with their names in Spanish?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?humanLabel ?universityLabel ?deathDate WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human wdt:P69 ?university .\n  ?university wdt:P31 wd:Q3918 .\n  ?university wdt:P17 wd:Q298 .\n  ?human rdfs:label ?humanLabel .\n  ?university rdfs:label ?universityLabel .\n  FILTER(LANG(?humanLabel) = \"es\")\n  FILTER(LANG(?universityLabel) = \"es\")\n  ?human wdt:P570 ?deathDate .\n}\nORDER BY ASC(?humanLabel)", "paraphrases": ["List Spanish-language names of deceased individuals who studied at Chilean universities and the names of those universities.", "Can you show me the Spanish names of people who went to universities in Chile, along with the university names and their dates of death?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var4 <http://www.wikidata.org/prop/direct/P69> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3918> . ?var5 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q298> . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var1 ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var2 ) = \"es\" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . } ORDER BY ASC( ?var1 )"}}
{"id": "test_6477", "question": "Top 32 patron saints of churches in the Czech Republic, with total number of active churches and how many each saint patronizes.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT * WHERE {\n  {\n    SELECT ( COUNT( DISTINCT ?church ) AS ?total_churches ) WHERE {\n      ?church ( wdt:P31 / wdt:P279 * ) wd:Q16970 ; wdt:P417 ?patron_saint ; wdt:P17 wd:Q213 . MINUS {\n        ?church wdt:P31 wd:Q19899465 .\n      }\n    }\n  }\n  {\n    SELECT ?patron_saint ( COUNT( DISTINCT ?church ) AS ?count ) WHERE {\n      ?church ( wdt:P31 / wdt:P279 * ) wd:Q16970 ; wdt:P417 ?patron_saint ; wdt:P17 wd:Q213 . MINUS {\n        ?church wdt:P31 wd:Q19899465 .\n      }\n    }\n    GROUP BY ?patron_saint\n    ORDER BY DESC ( ?count )\n    LIMIT 32\n  }\n}", "paraphrases": ["Which are the most common patron saints of active churches in the Czech Republic, and how many churches are dedicated to each?", "Show me the total number of non-former churches in the Czech Republic that have a patron saint, along with the top 32 patron saints ranked by how many churches they are associated with."], "info": {"raw_sparql": "SELECT * WHERE { { SELECT( COUNT ( DISTINCT ?var1 ) AS ?var2 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q16970> ; <http://www.wikidata.org/prop/direct/P417> [] ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q213> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19899465> . } } } { SELECT ?var3 ( COUNT ( DISTINCT ?var1 ) AS ?var4 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q16970> ; <http://www.wikidata.org/prop/direct/P417> ?var3 ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q213> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19899465> . } } GROUP BY ?var3 ORDER BY DESC( ?var4 ) LIMIT 32 } } LIMIT 1000"}}
{"id": "test_6478", "question": "What roles has W\u0142odzimierz Press been credited for more than once in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?propertyLabel ?count WHERE {\n  {\n    SELECT ?property ( COUNT( ?item ) AS ?count ) WHERE {\n      ?item ?prop wd:Q4377464 .\n      ?property wikibase:directClaim ?prop .\n    }\n    GROUP BY ?property\n    HAVING ( ?count > 1 )\n  }\n  ?property rdfs:label ?propertyLabel .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" )\n}\nORDER BY DESC ( ?count )", "paraphrases": ["Which property links W\u0142odzimierz Press to other items the most times, and how many times is it used?", "Show me the properties used more than once to connect W\u0142odzimierz Press to other entities, along with their labels and usage counts."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var4 ) AS ?var3 ) WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q4377464> . ?var1 <http://wikiba.se/ontology#directClaim> ?var5 . } GROUP BY ?var1 ?var1Label HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } } ORDER BY DESC( ?var3 )"}}
{"id": "test_6479", "question": "Who were born between July 1, 1944, and December 31, 1944?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?birthDate ?birthPlace ?gender WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P569 ?birthDate .\n  OPTIONAL {\n    ?person wdt:P19 ?birthPlace .\n  }\n  OPTIONAL {\n    ?person wdt:P21 ?gender .\n  }\n  FILTER(?birthDate >= \"1944-07-01\" ^^ xsd:date && ?birthDate < \"1945-01-01\" ^^ xsd:date)\n}\nORDER BY ASC(?person)\nLIMIT 10", "paraphrases": ["Can you list humans born in the second half of 1944, along with their birthplace and gender?", "What is the birth date, place, and gender of people born in the last six months of 1944?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4 ?var5 ?var6Label ?var7 ?var8Label ?var8 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var7 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var10 . } BIND ( ( ( ?var9 - ?var7 ) /\"365.2425\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) AS ?var11 ). FILTER ( ( ( ?var7 >= \"1944-07-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var7 < \"1945-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_6480", "question": "Publications with DOIs from organizations", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?publication ?doi WHERE {\n  ?publication wdt:P50 ?author .\n  ?author wdt:P108 ?organization .\n  ?organization ( wdt:P31 / wdt:P279 * ) wd:Q43229 .\n  ?publication p:P356 ?statement .\n  ?statement ps:P356 ?doi .\n  FILTER ( REGEX( ?doi , \"10.\" ) ) FILTER ( ?doi != \"10.1000/xyz\" )\n}\nLIMIT 500", "paraphrases": ["Which academic publications have DOIs and are authored by people affiliated with organizations?", "Show me publications with DOIs starting with \"10.\" that are not \"10.1000/xyz\", written by authors working for organizations."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q43229> . ?var1 ( <http://www.wikidata.org/prop/P356> / <http://www.wikidata.org/prop/statement/P356> ) ?var2 . FILTER ( ( REGEX ( ?var2 , \"string1\" ) ) ) . FILTER ( ( ( ?var2 != \"string2\" ) ) ) . } LIMIT 500"}}
{"id": "test_6481", "question": "Humans who died in 1918, with their birth dates, places of birth, gender, and calculated age at death.", "sparql": "SELECT ?person ?dob ?dod ?age ?birthPlace ?gender WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P570 ?dod . OPTIONAL { ?person wdt:P569 ?dob . } OPTIONAL { ?person wdt:P19 ?birthPlace . } OPTIONAL { ?person wdt:P21 ?gender . } BIND( ( ( ?dod - ?dob ) / \"365.2425\" ^^ xsd:decimal ) AS ?age ) FILTER(YEAR(?dod) = 1918) } LIMIT 5", "paraphrases": ["Who were the people that died in 1918, and how old were they when they died?", "Show me a list of people who died in 1918, including their date of birth, place of birth, gender, and age at death."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4 ?var5 ?var6Label ?var7 ?var8Label ?var8 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var9 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var10 . } BIND ( ( ( ?var9 - ?var7 ) /\"365.2425\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) AS ?var11 ). FILTER ( ( ( ?var9 >= \"1918-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var9 < \"1918-01-02\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_6482", "question": "Is Fleury Di Nallo a type of software?", "sparql": "ASK WHERE { wd:Q4237 wdt:P31/wdt:P279* wd:Q7397 .}", "paraphrases": ["Could Fleury Di Nallo be classified as software based on his instance and subclass relationships in Wikidata?", "Confirm whether Fleury Di Nallo, as a human and football player, falls under any category that is a subclass of software."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q4237> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6483", "question": "People who died in 1955 with their age and image", "sparql": "SELECT ?person ?personLabel ?dod ?age ?image WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P570 ?dod . OPTIONAL { ?person wdt:P569 ?dob . } BIND( ( ( ?dod - ?dob ) / \"365.2425\" ^^ xsd:decimal ) AS ?age ) . FILTER ( YEAR(?dod) = 1955 ) ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") OPTIONAL { ?person wdt:P18 ?image . } } ORDER BY ASC(?person) LIMIT 10", "paraphrases": ["Who were the people that died in 1955, and how old were they when they died?", "List the names, death dates, and images of people who died in 1955."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4 ?var4Label ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var7 . } ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P20> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var6 . } BIND ( ( ( ?var3 - ?var7 ) /\"365.2425\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) AS ?var5 ). FILTER ( ( ( ?var3 >= \"1955-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var3 < \"1955-01-02\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_6484", "question": "Items cataloged in the Biblioteca Nacional de Chile with English labels", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?label WHERE {\n  ?item wdt:P1966 [] .\n  OPTIONAL {\n    ?item rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n}\nLIMIT 11", "paraphrases": ["What are some books or publications cataloged by the Biblioteca Nacional de Chile, and what are their English titles?", "List up to 11 items from the Biblioteca Nacional de Chile\u2019s catalogue along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1966> _:bnode . } LIMIT 11 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6485", "question": "Municipalities in Germany without Japanese labels", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?var1(SAMPLE(?label) AS ?var1Label) WHERE {\n  ?var1 wdt:P31 wd:Q262166 .\n  ?var1 rdfs:label ?label .\n  FILTER NOT EXISTS {\n    ?var1 rdfs:label ?jaLabel .\n    FILTER(LANG(?jaLabel) = \"ja\")\n  }\n}\nGROUP BY ?var1", "paraphrases": ["Which municipalities in Germany do not have a label in Japanese?", "Show me the names of all municipalities in Germany that don\u2019t have any Japanese label, using their available labels in other languages."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q262166> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"ja\" ) ) ) . } FILTER ( ( !( BOUND ( ?var2 ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja,de,en,fr\". } }"}}
{"id": "test_6486", "question": "People with Kansallisbiografia ID and their English names", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?kansallisbiografiaId WHERE {\n  ?person wdt:P2180 ?kansallisbiografiaId .\n  ?person rdfs:label ?personLabel .\n  FILTER ( langMatches( lang( ?personLabel ) , \"en\" ) )\n}\nLIMIT 100", "paraphrases": ["Who are the people listed in the Finnish National Biography with their English names?", "Show me up to 100 people who have a Kansallisbiografia ID, along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2180> ?var3 . MINUS { VALUES ( ?var4 ) { ( <http://www.wikidata.org/entity/Q5> ) ( <http://www.wikidata.org/entity/Q8436> ) } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } } LIMIT 100 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fi\". } }"}}
{"id": "test_6487", "question": "Names classified as instances of \"name\" in Wikidata with their labels.", "sparql": "SELECT ?nameItem ?nameLabel WHERE { ?nameItem wdt:P31 wd:Q82799 . FILTER(STRSTARTS(STR(?nameItem), \"http://www.wikidata.org/entity/Q\")) . ?nameItem skos:prefLabel ?nameLabel . } LIMIT 100", "paraphrases": ["What are the named entities in Wikidata that are classified as \"names\", and what are their labels?", "List up to 100 named entities from Wikidata that are instances of the concept \"name\", along with their preferred labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,et\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q82799> . } LIMIT 100"}}
{"id": "test_6488", "question": "Subclasses of \"entity\" in Wikidata and their direct sub-subclasses, with English labels.", "sparql": "SELECT DISTINCT ?subclass ?subclassLabel (CONCAT(\"[\", GROUP_CONCAT(DISTINCT ?grandchildLabel; SEPARATOR=\", \"), \"]\") AS ?grandchildrenLabels) WHERE { { BIND(wd:Q35120 AS ?subclass) BIND(\"0\"^^xsd:integer AS ?depth) OPTIONAL { ?grandchild wdt:P279 ?subclass . ?grandchild rdfs:label ?grandchildLabel . FILTER(LANG(?grandchildLabel) = \"en\") } } UNION { ?subclass wdt:P279 wd:Q35120 . BIND(\"1\"^^xsd:integer AS ?depth) OPTIONAL { ?grandchild wdt:P279 ?subclass . ?grandchild rdfs:label ?grandchildLabel . FILTER(LANG(?grandchildLabel) = \"en\") } } UNION { ?intermediate wdt:P279 wd:Q35120 . ?subclass wdt:P279 ?intermediate . BIND(\"2\"^^xsd:integer AS ?depth) OPTIONAL { ?grandchild wdt:P279 ?subclass . ?grandchild rdfs:label ?grandchildLabel . FILTER(LANG(?grandchildLabel) = \"en\") } } ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") } GROUP BY ?subclass ?subclassLabel ?depth ORDER BY ASC(?depth)", "paraphrases": ["What are the subclasses of the concept \"entity\", and for each, what are the names of their immediate subcategories in English?", "List all entities that are subclasses of \"entity\" (wd:Q35120), including those two levels down, and show for each the list of their direct subcategories in English."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ( CONCAT ( \"[\", GROUP_CONCAT ( DISTINCT ?var3 ; SEPARATOR = \", \" ) , \"]\" ) AS ?var4 ) WHERE { { ?var3 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q35120> . OPTIONAL { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . } BIND ( <http://www.wikidata.org/entity/Q35120> AS ?var2 ). BIND ( \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var1 ). } UNION { ?var6 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q35120> . ?var3 <http://www.wikidata.org/prop/direct/P279> ?var6 . OPTIONAL { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . } BIND ( ?var6 AS ?var2 ). BIND ( \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var1 ). } UNION { ?var6 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q35120> . ?var7 <http://www.wikidata.org/prop/direct/P279> ?var6 . ?var3 <http://www.wikidata.org/prop/direct/P279> ?var7 . OPTIONAL { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . } BIND ( ?var7 AS ?var8 ). BIND ( \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var1 ). } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var2 ?var2Label ?var1 ORDER BY ASC( ?var1 )"}}
{"id": "test_6489", "question": "What film has the EDb ID t0012764?", "sparql": "SELECT ?film WHERE { ?film wdt:P3141 \"t0012764\" . }", "paraphrases": ["Which movie is identified by the EDb film ID t0012764?", "Find the Wikidata item for the film with EDb ID t0012764."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3141> \"t0012764\". }"}}
{"id": "test_6490", "question": "Which lakes or geographical features have a volume recorded in Wikidata and are described in Dutch?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?entity ?entityLabel ?entityDescription WHERE {\n  ?entity wdt:P2234 ?volume .\n  ?entity rdfs:label ?entityLabel .\n  ?entity schema:description ?entityDescription .\n  FILTER(LANG(?entityLabel) = \"nl\")\n  FILTER(LANG(?entityDescription) = \"nl\")\n}\nLIMIT 100", "paraphrases": ["Dutch labels and descriptions of entities with volume data (P2234)", "Show me the Dutch names and descriptions of places that have a known volume."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P2234> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"nl\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"nl\" ) ) ) . } LIMIT 100"}}
{"id": "test_6491", "question": "List all countries with their coordinates and English Wikipedia pages.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?country ?countryLabel ?coordinates ?wikipediaPage WHERE {\n  ?country wdt:P31 wd:Q6256 .\n  ?country wdt:P625 ?coordinates .\n  ?wikipediaPage schema:about ?country .\n  ?wikipediaPage schema:isPartOf <https://en.wikipedia.org/> .\n  ?country rdfs:label ?countryLabel .\n  FILTER(LANG(?countryLabel) = \"en\")\n}", "paraphrases": ["What are the geographic coordinates and English Wikipedia links for all sovereign countries?", "Show me the names, coordinates, and corresponding English Wikipedia articles for every country in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en, de\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . }"}}
{"id": "test_6492", "question": "Image of Jos\u00e9 Augusto S\u00e1nchez P\u00e9rez with SNAC ARK ID w6b420kp", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6b420kp\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Is there an image available for the person with SNAC ARK ID w6b420kp?", "Show me the Wikimedia Commons image associated with the SNAC ARK ID w6b420kp."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6b420kp\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6493", "question": "List all films and their English titles from Wikidata.", "sparql": "SELECT DISTINCT ?item ?itemLabel WHERE { ?item (wdt:P31/wdt:P279*) wd:Q11424 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } LIMIT 100", "paraphrases": ["What are the names of all films and their subtypes in English?", "Show me up to 100 films and their English labels, including subtypes like animated films or documentaries."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11424> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en,de,ru,fr,es,it,ja,zh\". } } LIMIT 100"}}
{"id": "test_6494", "question": "List occupations with their KldB-2010 occupation codes in English.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?occupation ?occupationLabel ?code WHERE {\n  ?occupation wdt:P1021 ?code .\n  ?occupation rdfs:label ?occupationLabel .\n  FILTER ( LANG( ?occupationLabel ) = \"en\" )\n}", "paraphrases": ["What are the English names of occupations and their corresponding KldB-2010 classification codes?", "Show me the English labels and KldB-2010 codes for all occupations in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1021> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_6495", "question": "What are the mountains, lakes, or villages near Geneva, Switzerland?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var1Label ?var2 ?var2Label ?var3 WHERE {\n  ?var1 wdt:P625 ?var3 .\n  FILTER ( REGEX( STR( ?var3 ) , \"POINT\\\\((6\\\\.1[0-9]|6\\\\.2[0-9]|6\\\\.15)[0-9]* 46\\\\.2[0-9]*\\\\)\" ) ) ?var1 wdt:P31 ?var2 .\n  FILTER ( ?var2 IN ( wd:Q8502 , wd:Q23397 , wd:Q532 ) ) ?var1 rdfs:label ?var1Label .\n  FILTER ( LANG( ?var1Label ) = \"en\" ) ?var2 rdfs:label ?var2Label .\n  FILTER ( LANG( ?var2Label ) = \"en\" )\n}", "paraphrases": ["Show me geographic features like mountains, lakes, or villages located close to the coordinates of Geneva.", "List the names and types of geographic features (mountains, lakes, villages) within 20 km of Geneva."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var2Label ?var3 WHERE { { SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> \"POINT(1 46)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"20\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } } } GROUP BY ?var1Label ?var2 ?var2Label ?var3"}}
{"id": "test_6496", "question": "List all human settlements in Wikidata.", "sparql": "SELECT ?settlement WHERE { ?settlement (wdt:P31/wdt:P279*) wd:Q486972 . }", "paraphrases": ["What are all the places in Wikidata that are either instances of or subclasses of human settlement?", "Show me all populated places, including villages, towns, and cities, that are classified as human settlements in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q486972> . }"}}
{"id": "test_6497", "question": "What are the German-language types of conflict that have more than 100 documented events (like battles or campaigns) with known start dates?", "sparql": "SELECT ?conflictType ?eventCount ?label WHERE { ?conflictType (wdt:P31/wdt:P279*) wd:Q180684 . ?conflictType rdfs:label ?label . { SELECT ?conflictType (COUNT(DISTINCT ?event) AS ?eventCount) WHERE { ?event (wdt:P31/wdt:P279*) ?conflictType . ?event (wdt:P580|wdt:P585) ?date . } GROUP BY ?conflictType } FILTER (?eventCount > 100) FILTER (LANG(?label) = \"de\") } GROUP BY ?conflictType ?eventCount ?label", "paraphrases": ["German labels for conflict types with over 100 dated events", "Show me the German names of conflict categories that have more than 100 associated events with known dates."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q180684> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . { SELECT ?var1 ( COUNT ( DISTINCT ?var4 ) AS ?var2 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q180684> . ?var4 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var1 . ?var4 ( <http://www.wikidata.org/prop/direct/P580> | <http://www.wikidata.org/prop/direct/P585> ) ?var5 . } GROUP BY ?var1 } FILTER ( ( ( ?var2 > \"100\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"de\" ) ) ) . } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_6498", "question": "UNESCO World Heritage Site ID 403", "sparql": "SELECT DISTINCT ?site WHERE { ?site wdt:P757 \"403\" . FILTER NOT EXISTS { ?site rdf:type wikibase:Property . } } LIMIT 1000", "paraphrases": ["Which UNESCO World Heritage Site has the ID 403?", "Tell me the name of the site in Wikidata that is assigned the UNESCO World Heritage Site ID 403."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P757> \"403\". FILTER ( ( NOT EXISTS { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } ) ) . } LIMIT 1000"}}
{"id": "test_6499", "question": "What are the geographical locations (city, country, continent) associated with the Warrington Wolves rugby club?", "sparql": "SELECT DISTINCT ?location ?locationLabel WHERE { { wd:Q2549837 wdt:P131 ?location . ?location rdfs:label ?locationLabel . FILTER(LANG(?locationLabel) = \"en\") } UNION { wd:Q2549837 wdt:P17 ?location . ?location rdfs:label ?locationLabel . FILTER(LANG(?locationLabel) = \"en\") } UNION { wd:Q2549837 wdt:P17 ?country . ?country wdt:P30 ?location . ?location rdfs:label ?locationLabel . FILTER(LANG(?locationLabel) = \"en\") } }", "paraphrases": ["Where is the Warrington Wolves team located, including its country and continent?", "Show me the administrative area, country, and continent of Warrington Wolves."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q2549837> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_6500", "question": "Is Alexandra David-N\u00e9el an instance of software or any of its subclasses?", "sparql": "ASK WHERE { wd:Q230456 wdt:P31/wdt:P279* wd:Q7397 . }", "paraphrases": ["Does Alexandra David-N\u00e9el belong to a category that is a type of software?", "Is software a category that Alexandra David-N\u00e9el fits into through her type hierarchy?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q230456> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6501", "question": "What World Heritage Site has the UNESCO ID 1440?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item WHERE {\n  ?item wdt:P757 \"1440\" .\n}\nLIMIT 1000", "paraphrases": ["Which site is identified by the UNESCO World Heritage Site ID 1440?", "Tell me the name of the UNESCO World Heritage Site with ID 1440."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P757> \"1231\". FILTER ( ( NOT EXISTS { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } ) ) . } LIMIT 1000"}}
{"id": "test_6502", "question": "Is Haplogroup E a type of haplogroup?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q1033982 ( wdt:P31 / wdt:P279 * ) wd:Q80686 .\n}", "paraphrases": ["Does Haplogroup E belong to the category of haplogroups through its classification hierarchy?", "Is Haplogroup E classified under the broader category of haplogroups?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q1033982> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6503", "question": "How many scholarly articles cite \"The field archaeology of mottes in England and Wales: Eine kurze \u00dcbersicht\", grouped by publication year, and do they all have authors?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?year ( COUNT( DISTINCT ?citingWork ) AS ?count ) ?hasAuthorLabel WHERE {\n  BIND( wd:Q47089090 AS ?citedArticle ) .\n  ?citingWork wdt:P2860 ?citedArticle .\n  ?citingWork wdt:P577 ?publicationDate .\n  BIND( SUBSTR( STR( ?publicationDate ) , 1 , 4 ) AS ?year ) .\n  OPTIONAL {\n    ?citingWork wdt:P50 [] .\n    BIND( \"hasAuthor\" AS ?hasAuthor )\n  }\n  BIND( COALESCE ( ?hasAuthor , \"noAuthor\" ) AS ?hasAuthorLabel )\n}\nGROUP BY ?year ?hasAuthorLabel\nORDER BY DESC ( ?year )", "paraphrases": ["Are all articles citing the 1972 paper on mottes in England and Wales authored, and in which years were they published?", "Show the count of citing works for each year since 1976 that reference the article on mottes in England and Wales, and confirm whether each has at least one author."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q47089090> AS ?var5 ). ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var5 . OPTIONAL { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> ?var6 . } , \"string1\", \"string2\" ) AS ?var4 ). ?var5 <http://www.wikidata.org/prop/direct/P50> ?var6 . } BIND ( STR ( YEAR ( ?var7 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P577> ?var7 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_6504", "question": "Richie Porte stage wins and corresponding jersey images", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?event ?eventLabel ?jersey ?jerseyLabel ?jerseyImage WHERE {\n  BIND( wd:Q518222 AS ?richePorte ) ?event p:P2417 ?stmt .\n  ?stmt ps:P2417 ?richePorte .\n  ?stmt pq:P2912 ?jersey .\n  ?jersey wdt:P18 ?jerseyImage .\n  OPTIONAL {\n    ?event rdfs:label ?eventLabel .\n    FILTER ( LANG( ?eventLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?jersey rdfs:label ?jerseyLabel .\n    FILTER ( LANG( ?jerseyLabel ) = \"en\" )\n  }\n}", "paraphrases": ["Which stage races did Richie Porte win, and what distinctive jerseys did he wear during those stages?", "Show me the events where Richie Porte won a stage, along with the images of the jerseys he wore."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label ?var4 ( CONCAT ( \"string1\", STRAFTER ( STR ( ?var4 ) , \"string2\" ) , \"|\", ?var3Label , \"}}\" ) AS ?var5 ) ?var6Label ?var7 ( CONCAT ( \"string1\", STRAFTER ( STR ( ?var7 ) , \"string2\" ) , \"|\", ?var6Label , \"}}\" ) AS ?var8 ) WHERE { BIND ( <http://www.wikidata.org/entity/Q518222> AS ?var9 ). ?var1 <http://www.wikidata.org/prop/direct/P1346> ?var9 . ?var1 <http://www.wikidata.org/prop/P1346> ?var10 . ?var10 <http://www.wikidata.org/prop/statement/P1346> ?var9 . ?var10 <http://www.wikidata.org/prop/qualifier/P642> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/P2417> ?var11 . ?var11 <http://www.wikidata.org/prop/statement/P2417> ?var9 . ?var11 <http://www.wikidata.org/prop/qualifier/P2912> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P18> ?var4 . } FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P2417> ?var12 . } ) ) . FILTER ( ( NOT EXISTS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q18131152> . } ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/P2321> ?var13 . ?var13 <http://www.wikidata.org/prop/statement/P2321> ?var9 . ?var13 <http://www.wikidata.org/prop/qualifier/P2912> ?var6 . ?var6 <http://www.wikidata.org/prop/direct/P18> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ar,en,fr\". } }"}}
{"id": "test_6505", "question": "What UNESCO World Heritage Sites were established in 1847?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item WHERE {\n  ?item wdt:P571 ?date .\n  FILTER(YEAR(?date) = 1847)\n  .\n  ?item wdt:P1435 wd:Q9259 .\n  FILTER(NOT EXISTS {\n    ?item rdf:type wikibase:Property\n  })\n}\nLIMIT 1000", "paraphrases": ["List the World Heritage Sites that were founded in the year 1847.", "Which heritage sites designated by UNESCO were built in 1847?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P757> \"1847\". FILTER ( ( NOT EXISTS { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } ) ) . } LIMIT 1000"}}
{"id": "test_6506", "question": "Film directors educated at universities in Chile with Spanish names.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?directorLabel WHERE {\n  ?university wdt:P31 wd:Q3918 .\n  ?university wdt:P17 wd:Q298 .\n  ?director wdt:P31 wd:Q5 .\n  ?director wdt:P106 wd:Q2526255 .\n  ?director wdt:P69 ?university .\n  ?director rdfs:label ?directorLabel .\n  FILTER(LANG(?directorLabel) = \"es\")\n}", "paraphrases": ["Who are the film directors from Chile who studied at universities and have their names in Spanish?", "List the names of film directors who attended universities in Chile and are labeled in Spanish."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3918> . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . ?var3 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q298> . ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var5 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q2526255> . ?var5 <http://www.wikidata.org/prop/direct/P69> ?var3 . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var6 ) = \"es\" ) ) ) . }"}}
{"id": "test_6507", "question": "Chilean film directors educated at Chilean universities with Spanish labels", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?directorLabel ?universityLabel ?director WHERE {\n  ?university wdt:P31 wd:Q3918 ; wdt:P17 wd:Q298 ; rdfs:label ?universityLabel .\n  ?director wdt:P69 ?university ; wdt:P106 wd:Q2526255 ; rdfs:label ?directorLabel .\n  FILTER(LANG(?universityLabel) = \"es\")\n  FILTER(LANG(?directorLabel) = \"es\")\n}", "paraphrases": ["Who are the film directors from Chile, where did they study, and what are their names in Spanish?", "List the Spanish names of Chilean film directors and the Chilean universities they attended."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3918> . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var4 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q298> . ?var3 <http://www.wikidata.org/prop/direct/P69> ?var4 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . ?var3 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q2526255> . ?var5 <http://www.wikidata.org/prop/direct/P57> ?var3 . FILTER ( ( ( LANG ( ?var2 ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var1 ) = \"es\" ) ) ) . }"}}
{"id": "test_6508", "question": "Who were born in Galashiels, and in which administrative region is Galashiels located?", "sparql": "SELECT ?person ?personLabel ?region ?regionLabel WHERE { ?person wdt:P19 wd:Q1016925 . wd:Q1016925 wdt:P131 ?region . ?person rdfs:label ?personLabel . ?region rdfs:label ?regionLabel . FILTER(LANG(?personLabel) = 'en') FILTER(LANG(?regionLabel) = 'en') }", "paraphrases": ["List people born in Galashiels along with the region they are from.", "Which individuals have Galashiels as their birthplace, and what is the larger administrative area that contains Galashiels?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P276> <http://www.wikidata.org/entity/Q1016925> . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P276> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6509", "question": "Businesses in the automotive industry and their associated sectors.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?business ?businessLabel ?industry ?industryLabel WHERE {\n  ?business wdt:P452 ?industry .\n  ?business wdt:P31 wd:Q4830453 .\n  ?industry rdfs:label ?industryLabel .\n  FILTER ( CONTAINS( LCASE( ?industryLabel ) , \"automotive\" @en ) )\n}\nLIMIT 100", "paraphrases": ["Which companies operate in industries related to automotive, and what are those industries?", "List businesses and their industries where the industry label includes \"automotive\" in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P452> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4830453> . ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( CONTAINS ( LCASE ( ?var3Label ) , \"automotive\"@en ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 100"}}
{"id": "test_6510", "question": "Image of Rabbi Joshua Loth Liebman (SNAC ARK ID w6k07sc6)", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6k07sc6\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w6k07sc6?", "Show me the Wikimedia Commons image for the person with SNAC ARK ID w6k07sc6."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6k07sc6\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6511", "question": "What are the broader categories that dog breeds belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?parent ?parentLabel WHERE {\n  wd:Q39367 wdt:P279 + ?parent .\n  ?parent rdfs:label ?parentLabel .\n  FILTER(LANG(?parentLabel) = \"en\")\n}", "paraphrases": ["What classes is a dog breed a subclass of?", "Can you list the parent categories of dog breeds in the taxonomy?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q39367> <http://www.wikidata.org/prop/direct/P31> * ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6512", "question": "What are some fantasy literary works with English titles?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?literaryWork ?literaryWorkLabel WHERE {\n  ?literaryWork wdt:P31 wd:Q7725634 ; wdt:P136 wd:Q132311 .\n  ?literaryWork rdfs:label ?literaryWorkLabel .\n  FILTER ( LANG( ?literaryWorkLabel ) = \"en\" )\n}", "paraphrases": ["Can you list the English names of all literary works that belong to the fantasy genre?", "Show me the titles in English of books that are classified as fantasy fiction."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7725634> ; <http://www.wikidata.org/prop/direct/P136> <http://www.wikidata.org/entity/Q132311> . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . }"}}
{"id": "test_6513", "question": "Most common properties linking items to Berezhany, Ukraine", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?propertyItem ?propertyLabel ?count WHERE {\n  {\n    SELECT ?propertyItem ( COUNT( ?item ) AS ?count ) WHERE {\n      ?item ?directProperty wd:Q793424 .\n      ?propertyItem wikibase:directClaim ?directProperty .\n    }\n    GROUP BY ?propertyItem\n    HAVING ( ?count > 1 )\n  }\n  ?propertyItem rdfs:label ?propertyLabel .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" )\n}\nORDER BY DESC ( ?count )", "paraphrases": ["What are the most frequently used properties associated with Berezhany, and how many times are they used?", "Show me the properties that connect other items to Berezhany, ordered by frequency, excluding those used only once."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var4 ) AS ?var3 ) WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q793424> . ?var1 <http://wikiba.se/ontology#directClaim> ?var5 . } GROUP BY ?var1 ?var1Label HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } } ORDER BY DESC( ?var3 )"}}
{"id": "test_6514", "question": "Universities in Chile, Spanish labels, alumni causes of death, count", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?universityLabel ?causeOfDeathLabel(COUNT(?person) AS ?count) WHERE {\n  ?university wdt:P31 wd:Q3918 ; wdt:P17 wd:Q298 ; rdfs:label ?universityLabel .\n  ?person wdt:P69 ?university ; wdt:P509 ?cause .\n  ?cause rdfs:label ?causeOfDeathLabel .\n  FILTER(LANG(?universityLabel) = \"es\")\n  FILTER(LANG(?causeOfDeathLabel) = \"es\")\n}\nGROUP BY ?universityLabel ?causeOfDeathLabel\nORDER BY ASC(?universityLabel) DESC(?count)", "paraphrases": ["What are the most common causes of death among alumni of universities in Chile, listed by university and sorted by frequency?", "Show me a list of universities in Chile and the causes of death of their alumni, in Spanish, along with how many alumni died from each cause, ordered alphabetically by university name."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { SELECT ?var1 ?var2 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3918> . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . ?var4 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q298> . ?var5 <http://www.wikidata.org/prop/direct/P69> ?var4 . ?var5 <http://www.wikidata.org/prop/direct/P509> ?var6 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var1 ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var2 ) = \"es\" ) ) ) . } GROUP BY ?var1 ?var2 ORDER BY ASC( ?var1 ) DESC( ?var3 ) }"}}
{"id": "test_6515", "question": "Publication venues where Mark Grahame has published, ordered by number of publications.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?publication_venue ?venue_label(COUNT(?work) AS ?count) WHERE {\n  ?work wdt:P50 wd:Q47091428 .\n  ?work wdt:P1433 ?publication_venue .\n  ?publication_venue rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    ?publication_venue wdt:P1813 ?short_name\n  }\n  BIND(COALESCE(?short_name , ?label) AS ?venue_label)\n}\nGROUP BY ?publication_venue ?venue_label\nORDER BY DESC(?count)", "paraphrases": ["Which books or conference proceedings has Mark Grahame published in, and how many times has he published in each?", "Show me the venues where Mark Grahame\u2019s works have been published, along with the count of his publications per venue, sorted from most to least frequent."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q47091428> . ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1813> ?var6 . } BIND ( COALESCE ( ?var6 , ?var5Label ) AS ?var2Label ). } GROUP BY ?var1 ?var2Label ORDER BY DESC( ?var4 )"}}
{"id": "test_6516", "question": "Publication years and truncated titles of books by Andrew Wallace-Hadrill", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?year ?truncatedTitle WHERE {\n  ?work wdt:P50 wd:Q4758833 .\n  ?work wdt:P577 ?date .\n  BIND( YEAR( ?date ) AS ?year ) .\n  ?work rdfs:label ?title .\n  FILTER ( LANG( ?title ) = \"en\" ) .\n  BIND( SUBSTR( ?title , 1 , 20 ) AS ?truncatedTitle )\n}\nORDER BY ?year", "paraphrases": ["What are the publication years and first 20 characters of the titles of works authored by Andrew Wallace-Hadrill?", "List the years and shortened titles (first 20 characters) of all English-language works written by Andrew Wallace-Hadrill, sorted by year."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label WHERE { { SELECT ?var1 ( SAMPLE ( ?var4 ) AS ?var2 ) ?var3Label WHERE { { SELECT( STR ( ?var5 ) AS ?var1 )( \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var4 )( \"_\" AS ?var3Label ) WHERE { BIND ( YEAR ( ?var6 ) AS ?var5 ). ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q577> . ?var7 <http://www.wikidata.org/prop/direct/P585> ?var6 . { SELECT( MIN ( ?var5 ) AS ?var8 )( MAX ( ?var5 ) AS ?var9 ) WHERE { BIND ( YEAR ( ?var10 ) AS ?var5 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q4758833> . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var10 . } } FILTER ( ( ( ?var5 >= ?var8 ) && ( ?var5 <= ?var9 ) ) ) . } } UNION { BIND ( SUBSTR ( ?var12Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"20\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q4758833> . ?var11 <http://www.wikidata.org/prop/direct/P1104> ?var4 . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var6 . ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12Label . FILTER ( ( ( LANG ( ?var12Label ) = \"en\" ) ) ) . } } GROUP BY ?var1 ?var11 ?var3Label ORDER BY ASC( ?var1 ) } }"}}
{"id": "test_6517", "question": "German labels and descriptions of sports played by athletes in Wikidata", "sparql": "SELECT DISTINCT ?sport ?sportLabel ?sportDescription WHERE { ?athlete wdt:P641 ?sport . ?sport rdfs:label ?sportLabel . ?sport schema:description ?sportDescription . FILTER(LANG(?sportLabel) = \"de\") FILTER(LANG(?sportDescription) = \"de\") } LIMIT 100", "paraphrases": ["Which sports have both a German label and a German description in Wikidata, and are used by athletes?", "Show me up to 100 sports that are associated with athletes and have German-language labels and descriptions."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P641> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"de\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"de\" ) ) ) . } LIMIT 100"}}
{"id": "test_6518", "question": "Who else was born on the same day as Mark Zuckerberg?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel WHERE {\n  wd:Q36215 wdt:P569 ?birthDate .\n  ?person wdt:P31 wd:Q5 ; wdt:P569 ?birthDate .\n  FILTER ( ?person != wd:Q36215 ) .\n  ?person rdfs:label ?personLabel .\n  FILTER ( lang( ?personLabel ) = \"en\" )\n}", "paraphrases": ["List all humans born on May 14, 1984, excluding Mark Zuckerberg.", "What are the names of people who share Mark Zuckerberg\u2019s birthday?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q36215> <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q95074> . ?var3 <http://www.wikidata.org/prop/direct/P569> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } }"}}
{"id": "test_6519", "question": "Fictional characters born on the same date as Ankie Geeneen", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?charLabel WHERE {\n  wd:Q105659380 wdt:P569 ?birthDate .\n  ?char wdt:P31 wd:Q95074 .\n  ?char wdt:P569 ?birthDate .\n  ?char rdfs:label ?charLabel .\n  FILTER(LANG(?charLabel) = \"en\")\n}", "paraphrases": ["Which fictional characters share the same birth date as Ankie Geeneen?", "List the English labels of all fictional characters who were born on the same day as Ankie Geeneen."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q3783568> <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q95074> . ?var3 <http://www.wikidata.org/prop/direct/P569> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6520", "question": "Electoral districts in Hungary", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?constituency ?constituencyLabel WHERE {\n  ?constituency wdt:P31 wd:Q192611 .\n  ?constituency wdt:P17 wd:Q28 .\n  ?constituency rdfs:label ?constituencyLabel .\n  FILTER ( LANG( ?constituencyLabel ) = \"en\" )\n}\nLIMIT 200", "paraphrases": ["What are the names of electoral constituencies in Hungary?", "List all electoral units in Hungary with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q192611> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q28> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"hu\". } } LIMIT 200"}}
{"id": "test_6521", "question": "Japanese-labeled lexemes and their lexical categories in Wikidata", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?lexeme ?instance ?label WHERE {\n  ?lexeme wdt:P31 ?instance .\n  ?lexeme rdfs:label ?label .\n  FILTER(LANG(?label) = \"ja\")\n}\nLIMIT 100", "paraphrases": ["What Japanese-labeled linguistic entries exist in Wikidata, and what types are they instances of?", "List up to 100 Japanese labels of lexemes in Wikidata along with their lexical categories (e.g., noun, adjective)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/P31> ?var2 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"ja\" ) ) ) . } LIMIT 100"}}
{"id": "test_6522", "question": "List all electoral districts in Hungary and their elected candidates, if any.", "sparql": "SELECT ?constituency ?constituencyLabel ?candidate ?candidateLabel WHERE { ?constituency wdt:P31 wd:Q192611 . ?constituency wdt:P17 wd:Q28 . OPTIONAL { ?constituency rdfs:label ?constituencyLabel . FILTER(LANG(?constituencyLabel) = \"en\") } OPTIONAL { ?constituency wdt:P991 ?candidate . OPTIONAL { ?candidate rdfs:label ?candidateLabel . FILTER(LANG(?candidateLabel) = \"en\") } } } LIMIT 200", "paraphrases": ["Which candidates won elections in Hungary\u2019s electoral districts, and which districts have no recorded winner?", "Show me the names of Hungary\u2019s electoral districts in English, along with the names of the candidates who won in each district \u2014 if the winner is known in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q192611> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q28> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"hu\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P991> ?var2 . } } LIMIT 200"}}
{"id": "test_6523", "question": "What are the images of Andrew S. Tanenbaum available on Wikimedia Commons?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6b71wh6\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Can you show me the pictures linked to Andrew S. Tanenbaum in Wikidata using his SNAC ARK ID?", "Show me the Commons images associated with the SNAC ARK ID w6b71wh6."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6b71wh6\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6524", "question": "List all Brazilian states and their populations, sorted from least to most populous.", "sparql": "SELECT ?state ?population WHERE { ?state wdt:P31 wd:Q485258 . OPTIONAL { ?state wdt:P1082 ?population . } } ORDER BY ASC(?population) LIMIT 100", "paraphrases": ["What are the populations of all Brazilian states, ordered from smallest to largest?", "Show me the population figures for each federative unit of Brazil, including historical data, sorted in ascending order of population."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q485258> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var2 . } } ORDER BY ASC( ?var2 ) LIMIT 100"}}
{"id": "test_6525", "question": "Image of George Henry Chase with SNAC ARK ID w64f363h", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?person wdt:P3430 \"w64f363h\" .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the person having the SNAC ARK ID w64f363h?", "Show me the Wikimedia Commons image for George Henry Chase, identified by the SNAC ARK ID w64f363h."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w64f363h\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6526", "question": "List all Rijksmonuments in South Holland with their type, ID, location, and coordinates.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT(SAMPLE(?var1Label) AS ?instanceTypeLabel) ?var3 ?var3Label ?var8 ?var6Label ?var7 ?var4 WHERE {\n  ?var3 wdt:P1435 wd:Q916333 .\n  ?var3 wdt:P31 ?var1 .\n  ?var3 wdt:P359 ?var8 .\n  ?var3 wdt:P625 ?var7 .\n  ?var3 wdt:P131 ?var6 .\n  ?var6 wdt:P131 wd:Q694 .\n  OPTIONAL {\n    ?var3 wdt:P969 ?var4 .\n  }\n  ?var1 rdfs:label ?var1Label .\n  ?var3 rdfs:label ?var3Label .\n  ?var6 rdfs:label ?var6Label .\n  FILTER(LANG(?var1Label) = \"en\")\n  FILTER(LANG(?var3Label) = \"en\")\n  FILTER(LANG(?var6Label) = \"en\")\n}\nGROUP BY ?var3 ?var3Label ?var6Label ?var7 ?var8 ?var4\nORDER BY ASC(?var6Label) ASC(?var8)", "paraphrases": ["What are the heritage sites in South Holland that are designated as Rijksmonuments, and what are their types, IDs, and addresses?", "Show me the Rijksmonuments located in South Holland, including their administrative town, instance type, Rijksmonument ID, geographic coordinates, and street address if available, sorted by town and ID."], "info": {"raw_sparql": "SELECT( SAMPLE ( ?var1Label ) AS ?var2 ) ?var3 ?var3Label ( SAMPLE ( ?var4 ) AS ?var4 )( SAMPLE ( ?var5Label ) AS ?var5 ) ?var6Label ?var7 ?var8 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P1435> <http://www.wikidata.org/entity/Q916333> . ?var3 <http://www.wikidata.org/prop/direct/P31> ?var1 . ?var3 <http://www.wikidata.org/prop/direct/P359> ?var8 . { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var9 . } ?var3 <http://www.wikidata.org/prop/direct/P625> ?var7 . ?var3 <http://www.wikidata.org/prop/direct/P131> ?var6 . ?var6 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q694> . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P969> ?var4 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P276> ?var10 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,en\". ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var10 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . } } GROUP BY ?var3 ?var3Label ?var6Label ?var7 ?var8 ORDER BY ASC( ?var6Label )ASC( ?var8 )"}}
{"id": "test_6527", "question": "Japanese Wikipedia featured articles with French Wikipedia equivalents that are not featured.", "sparql": "SELECT DISTINCT ?item ?itemLabel ?ja_page ?fr_page WHERE { ?ja_page schema:about ?item ; schema:inLanguage \"ja\" ; wikibase:badge wd:Q17437796 ; FILTER (REGEX(STR(?ja_page), \"wikipedia.org\")) . ?fr_page schema:about ?item ; schema:inLanguage \"fr\" ; FILTER (REGEX(STR(?fr_page), \"wikipedia.org\")) . FILTER NOT EXISTS { ?fr_page wikibase:badge wd:Q17437796 . } ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") }", "paraphrases": ["Which Wikidata items have a featured article on Japanese Wikipedia but a non-featured article on French Wikipedia?", "Show me items that are featured on the Japanese Wikipedia but not on the French Wikipedia, along with their English labels and the URLs of both articles."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"ja\". ?var2 <http://wikiba.se/ontology#badge> <http://www.wikidata.org/entity/Q17437796> . ?var3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> . ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> \"fr\". FILTER ( ( NOT EXISTS { ?var3 <http://wikiba.se/ontology#badge> <http://www.wikidata.org/entity/Q17437796> . } ) ) . FILTER ( ( REGEX ( STR ( ?var3 ) , \"wikipedia\" ) ) ) . FILTER ( ( REGEX ( STR ( ?var2 ) , \"wikipedia\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_6528", "question": "Composers born, died, or lived in London and the musical keys of their compositions.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?composer ?composerLabel ?image ?key ?keyLabel ?composition ?compositionLabel WHERE {\n  ?composer wdt:P31 wd:Q5 .\n  ?composer ( wdt:P19 | wdt:P20 | wdt:P551 ) wd:Q84 .\n  OPTIONAL {\n    ?composer wdt:P18 ?image .\n  }\n  ?composition wdt:P86 ?composer .\n  ?composition wdt:P826 ?key .\n  ?composer rdfs:label ?composerLabel\n  FILTER ( LANG( ?composerLabel ) = \"en\" ) .\n  ?key rdfs:label ?keyLabel FILTER ( LANG( ?keyLabel ) = \"en\" ) .\n  ?composition rdfs:label ?compositionLabel FILTER ( LANG( ?compositionLabel ) = \"en\" ) .\n}\nORDER BY ASC ( ?composerLabel ) ASC ( ?keyLabel )", "paraphrases": ["Which composers associated with London wrote musical pieces, and in what keys were those pieces composed?", "Show me the names of composers linked to London, the titles of their musical compositions, the keys those compositions are in, and their images \u2014 all in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 ?var4Label WHERE { BIND ( <http://www.wikidata.org/entity/Q84> AS ?var5 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 ( <http://www.wikidata.org/prop/direct/P19> | <http://www.wikidata.org/prop/direct/P20> | <http://www.wikidata.org/prop/direct/P551> ) ?var5 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } ?var4 <http://www.wikidata.org/prop/direct/P86> ?var1 . ?var4 <http://www.wikidata.org/prop/direct/P826> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,de-at,de\". } } ORDER BY ASC( ?var1Label )ASC( ?var3Label )"}}
{"id": "test_6529", "question": "Official website of Manila and its English/German Wikipedia/Wikivoyage pages", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?city ?label ?wikiPage WHERE {\n  ?city wdt:P856 <https://manila.gov.ph/> .\n  ?wikiPage schema:about ?city .\n  {\n    ?wikiPage schema:inLanguage \"en\" .\n  } UNION {\n    ?wikiPage schema:inLanguage \"de\" .\n  }\n  OPTIONAL {\n    ?city rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n}", "paraphrases": ["What English and German language Wikipedia and Wikivoyage pages are about Manila, given that its official website is manila.gov.ph?", "Show me all English and German Wikimedia pages (like Wikipedia and Wikivoyage) that are about Manila, along with its English label."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://manila.gov.ph/feed/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.manila.gov.ph/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.manila.gov.ph/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://manila.gov.ph/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://manila.gov.ph/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://manila.gov.ph> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://manila.gov.ph> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://manila.gov.ph> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://manila.gov.ph> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://manila.gov.ph/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://manila.gov.ph/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6530", "question": "Image of Walther Gerlach with SNAC ARK ID w6fj5hrb", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?person wdt:P3430 \"w6fj5hrb\" .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Walther Gerlach in Wikidata, given his SNAC ARK ID is w6fj5hrb?", "Show me the Wikimedia Commons image for the person identified by the SNAC ARK ID w6fj5hrb."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6fj5hrb\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6531", "question": "What country has the ISO 3166-1 alpha-2 code CZ?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?country ?code ?label WHERE {\n  ?country wdt:P297 ?code .\n  ?country rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) .\n  FILTER ( ?code = \"CZ\" ) .\n}", "paraphrases": ["What is the English name of the country with the country code CZ?", "Please tell me the English label for the country whose ISO two-letter code is CZ."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P297> ?var2 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . FILTER ( ( ( ?var2 = \"CZ\" ) ) ) . }"}}
{"id": "test_6532", "question": "What are the main topics of Simon Kamronn\u2019s publications, how many works per topic, and what are the titles of those works?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?count ?subjectLabel(SUBSTR(?workLabel , 1 , 60) AS ?workLabelShort) WHERE {\n  {\n    SELECT ?subject(COUNT(?work) AS ?count) WHERE {\n      ?work wdt:P50 wd:Q28912380 .\n      ?work wdt:P921 ?subject .\n    }\n    GROUP BY ?subject\n    ORDER BY DESC(?count)\n  }\n  ?work wdt:P50 wd:Q28912380 .\n  ?work wdt:P921 ?subject .\n  ?subject rdfs:label ?subjectLabel .\n  ?work rdfs:label ?workLabel .\n  FILTER(LANG(?subjectLabel) = \"en\")\n  FILTER(LANG(?workLabel) = \"en\")\n}\nORDER BY DESC(?count)", "paraphrases": ["For each main subject of Simon Kamronn\u2019s academic works, how many works are there, what is the subject\u2019s name, and what are the titles of the works (truncated to 60 characters)?", "List all subjects of Simon Kamronn\u2019s publications, count how many works each subject appears in, and show the first 60 characters of each work\u2019s title in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label WHERE { { SELECT ?var4 ( COUNT ( ?var5 ) AS ?var1 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q28912380> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . } GROUP BY ?var4 ORDER BY DESC( ?var1 ) } BIND ( SUBSTR ( ?var6Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q28912380> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . }"}}
{"id": "test_6533", "question": "Citing works of \"Fast, Lean, and Accurate: Modeling Password Guessability Using Neural Networks\" (2016) with authors", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?year ( COUNT( DISTINCT ?citing_work ) AS ?citation_count ) ?has_author WHERE {\n  BIND( wd:Q40537921 AS ?target_article ) .\n  ?citing_work wdt:P2860 ?target_article .\n  ?target_article wdt:P577 ?publication_date .\n  BIND( YEAR( ?publication_date ) AS ?year ) .\n  OPTIONAL {\n    BIND( IF( EXISTS {\n      ?citing_work wdt:P50 ?author\n    }\n    , \"has_author\" , \"no_author\" ) AS ?has_author )\n  }\n}\nGROUP BY ?year ?has_author\nORDER BY DESC ( ?year )", "paraphrases": ["How many works cite the 2016 academic paper \"Fast, Lean, and Accurate: Modeling Password Guessability Using Neural Networks\", and do they have authors?", "Show the number of works that cite the 2016 paper on password guessability, grouped by whether they have authors."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q40537921> AS ?var5 ). ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var5 . OPTIONAL { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> ?var6 . } , \"string1\", \"string2\" ) AS ?var4 ). ?var5 <http://www.wikidata.org/prop/direct/P50> ?var6 . } BIND ( STR ( YEAR ( ?var7 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P577> ?var7 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_6534", "question": "Biological classes with English Wikipedia pages but no Arabic equivalents", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?english_title WHERE {\n  ?item wdt:P105 wd:Q37517 .\n  ?english_page schema:about ?item ; schema:isPartOf <https://en.wikipedia.org/> ; schema:name ?english_title .\n  FILTER(NOT EXISTS {\n    ?arabic_page schema:about ?item ; schema:isPartOf <https://ar.wikipedia.org/> .\n  })\n}", "paraphrases": ["Which biological classes have an English Wikipedia article but not an Arabic one?", "List all taxonomic classes (like Actinomycetia) that have an English Wikipedia page but are missing an Arabic Wikipedia page."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P105> <http://www.wikidata.org/entity/Q37517> . ?var3 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://en.wikipedia.org/> ; <http://schema.org/name> ?var2 . FILTER ( ( NOT EXISTS { ?var4 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://ar.wikipedia.org/> . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ar,en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . } }"}}
{"id": "test_6535", "question": "What are the birth and death dates of Edmund Hillary?", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { BIND( wd:Q33817 AS ?person ) . ?person wdt:P31 wd:Q5 . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["Can you tell me when Edmund Hillary was born and when he died?", "Show me the birth and death dates of the New Zealand mountaineer Edmund Hillary."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q4864953> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6536", "question": "What are the names, birthplaces, coordinates, and birth dates of Polish actors born after 1945?", "sparql": "SELECT ?actorLabel ?birthPlaceLabel ?coordinates ?dateOfBirth WHERE { ?actor wdt:P106 wd:Q33999 ; wdt:P27 wd:Q36 ; wdt:P19 ?birthPlace ; wdt:P569 ?dateOfBirth . ?birthPlace wdt:P625 ?coordinates . FILTER ( YEAR(?dateOfBirth) > 1945 ) OPTIONAL { ?actor rdfs:label ?actorLabel . FILTER(LANG(?actorLabel) = \"en\") } OPTIONAL { ?birthPlace rdfs:label ?birthPlaceLabel . FILTER(LANG(?birthPlaceLabel) = \"en\") } }", "paraphrases": ["Show me actors from Poland who were born after 1945, along with where they were born (including coordinates) and their birth dates.", "List all actors who are citizens of Poland, were born after 1945, and have known birthplace coordinates."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> ; <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q36> ; <http://www.wikidata.org/prop/direct/P19> ?var2 ; <http://www.wikidata.org/prop/direct/P569> ?var4 . ?var2 <http://www.wikidata.org/prop/direct/P625> ?var3 . FILTER ( ( ( YEAR ( ?var4 ) > \"1945\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } }"}}
{"id": "test_6537", "question": "Mountain peaks in Italy higher than 4000 meters with coordinates and images.", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX psn: <http://www.wikidata.org/prop/statement/value-normalized/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?peak ?coordinates ?elevation ?image WHERE {\n  ?peak ( p:P2044 / psn:P2044 / wikibase:quantityAmount ) ?elevation ; wdt:P625 ?coordinates ; wdt:P17 wd:Q38 ; wdt:P18 ?image .\n  FILTER ( ?elevation > 4000 )\n}", "paraphrases": ["What are the mountain peaks in Italy that are over 4000 meters above sea level, and what are their coordinates and images?", "Show me images, coordinates, and elevations of all mountain peaks in Italy that exceed 4000 meters in height."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 ( <http://www.wikidata.org/prop/P2044> / <http://www.wikidata.org/prop/statement/value-normalized/P2044> / <http://wikiba.se/ontology#quantityAmount> ) ?var3 ; <http://www.wikidata.org/prop/direct/P625> ?var2 ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q38> ; <http://www.wikidata.org/prop/direct/P18> ?var4 . FILTER ( ( ( ?var3 > \"4000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . }"}}
{"id": "test_6538", "question": "Wikipedia articles about the artist with Getty ULAN ID 500007674.", "sparql": "SELECT ?wikipediaPage ?artist WHERE { ?artist wdtn:P245 <http://vocab.getty.edu/ulan/500007674> . ?wikipediaPage schema:about ?artist . }", "paraphrases": ["Which Wikipedia pages are about the photographer Dorothea Lange, identified by the Getty ULAN ID 500007674?", "Show me all the Wikipedia articles linked to the Wikidata item for Dorothea Lange, using her ULAN identifier from Getty."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/direct-normalized/P245> <http://vocab.getty.edu/ulan/500007674> . ?var1 <http://schema.org/about> ?var2 . }"}}
{"id": "test_6539", "question": "What Wikipedia and Wikimedia pages are about Joel Meyerowitz, identified by his ULAN ID 500017876?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdtn: <http://www.wikidata.org/prop/direct-normalized/>\nSELECT ?page ?artist WHERE {\n  ?artist wdtn:P245 <http://vocab.getty.edu/ulan/500017876> .\n  ?page schema:about ?artist .\n}", "paraphrases": ["Show all web pages related to the artist with Getty ULAN ID 500017876.", "Which pages on Wikimedia projects link to the Wikidata item for Joel Meyerowitz?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/direct-normalized/P245> <http://vocab.getty.edu/ulan/500017876> . ?var1 <http://schema.org/about> ?var2 . }"}}
{"id": "test_6540", "question": "Wikipedia pages and media about John Vanderlyn using his ULAN ID 500002618.", "sparql": "SELECT ?page ?artist WHERE { ?artist wdt:P245 \"500002618\" . ?page schema:about ?artist . }", "paraphrases": ["What Wikipedia articles and Wikimedia Commons pages are about the artist with ULAN ID 500002618?", "Show me all web pages linked to the Wikidata item for John Vanderlyn, identified by his ULAN ID 500002618."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/direct-normalized/P245> <http://vocab.getty.edu/ulan/500002618> . ?var1 <http://schema.org/about> ?var2 . }"}}
{"id": "test_6541", "question": "Web pages about Harry Sternberg using ULAN ID 500055727", "sparql": "SELECT ?page ?artist WHERE { ?artist wdtn:P245 <http://vocab.getty.edu/ulan/500055727> . ?page schema:about ?artist .}", "paraphrases": ["What Wikipedia and Commons pages are about the artist with Getty ULAN ID 500055727?", "Show me all online resources about the artist identified by the ULAN ID 500055727."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/direct-normalized/P245> <http://vocab.getty.edu/ulan/500055727> . ?var1 <http://schema.org/about> ?var2 . }"}}
{"id": "test_6542", "question": "What articles are about Pablo Picasso according to Wikidata?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?article ?item WHERE {\n  ?item wdt:P245 \"500009666\" .\n  ?article schema:about ?item .\n}", "paraphrases": ["Which Wikipedia or Wikiquote pages are about the artist with Getty ULAN ID 500009666?", "Show me all the articles linked to Pablo Picasso\u2019s Wikidata item via schema:about."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/direct-normalized/P245> <http://vocab.getty.edu/ulan/500232143> . ?var1 <http://schema.org/about> ?var2 . }"}}
{"id": "test_6543", "question": "Wikipedia articles about the artist with ULAN ID 500125782", "sparql": "SELECT ?page ?item WHERE { ?item wdt:P245 \"500125782\" . ?page schema:about ?item . FILTER(STRSTARTS(STR(?page), \"https://\")) }", "paraphrases": ["What Wikipedia pages are about the artist identified by the ULAN ID 500125782?", "Show me all Wikipedia articles related to the artist whose Union List of Artist Names ID is 500125782."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/direct-normalized/P245> <http://vocab.getty.edu/ulan/500125782> . ?var1 <http://schema.org/about> ?var2 . }"}}
{"id": "test_6544", "question": "Cities and locations in India between 78\u00b0E and 82\u00b0E longitude and 12\u00b0N and 14\u00b0N latitude, with their images, Wikimedia Commons categories, and addresses.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?coord ?image ?commonsCategory ?address WHERE {\n  ?item wdt:P625 ?coord .\n  BIND(substr(STR(?coord) , 7 , strlen(STR(?coord)) -7) AS ?lonLat)\n  BIND(strbefore(?lonLat , \" \") AS ?lonStr)\n  BIND(strafter(?lonLat , \" \") AS ?latStr)\n  BIND(xsd:double(?lonStr) AS ?lon)\n  BIND(xsd:double(?latStr) AS ?lat)\n  FILTER(?lon >= 78 && ?lon <= 82 && ?lat >= 12 && ?lat <= 14)\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?item wdt:P373 ?commonsCategory .\n  }\n  OPTIONAL {\n    ?item wdt:P969 ?address .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}\nLIMIT 3000", "paraphrases": ["What places in southern India (between 78\u00b0E and 82\u00b0E longitude and 12\u00b0N and 14\u00b0N latitude) have images, Commons categories, or street addresses listed on Wikidata?", "List all entities in the geographic region spanning 78\u201382\u00b0E and 12\u201314\u00b0N, including their English labels, coordinates, images, Wikimedia Commons categories, and street addresses."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(78 12)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(82 14)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_6545", "question": "Rowers from Poland, Canada, Russia, Soviet Union, Denmark, Romania, Ukraine, Norway, Switzerland, Spain, China, or the UK who have no Spanish description and no other occupation.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?rower ?gender ?country WHERE {\n  VALUES ?country {\n    wd:Q36 wd:Q16 wd:Q159 wd:Q15180 wd:Q35 wd:Q218 wd:Q212 wd:Q20 wd:Q39 wd:Q29 wd:Q148 wd:Q145\n  }\n  ?rower wdt:P106 wd:Q13382576 ; wdt:P27 ?country ; wdt:P21 ?gender .\n  FILTER NOT EXISTS {\n    ?rower wdt:P106 ?otherOccupation .\n    FILTER ( ?otherOccupation != wd:Q13382576 )\n  }\n  OPTIONAL {\n    ?rower schema:description ?desc .\n    FILTER ( LANG( ?desc ) = \"es\" )\n  }\n  FILTER ( ! BOUND( ?desc ) )\n}", "paraphrases": ["Who are the rowers from countries like the UK, Canada, or Romania who have no other occupation besides rowing and do not have a Spanish-language description on Wikidata?", "List all rowers from the specified countries who are exclusively rowers and lack a Spanish description, along with their gender and country of citizenship."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q36> ) ( <http://www.wikidata.org/entity/Q16> ) ( <http://www.wikidata.org/entity/Q159> ) ( <http://www.wikidata.org/entity/Q15180> ) ( <http://www.wikidata.org/entity/Q35> ) ( <http://www.wikidata.org/entity/Q218> ) ( <http://www.wikidata.org/entity/Q212> ) ( <http://www.wikidata.org/entity/Q20> ) ( <http://www.wikidata.org/entity/Q39> ) ( <http://www.wikidata.org/entity/Q29> ) ( <http://www.wikidata.org/entity/Q148> ) ( <http://www.wikidata.org/entity/Q145> ) } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q13382576> ; <http://www.wikidata.org/prop/direct/P27> ?var3 ; <http://www.wikidata.org/prop/direct/P21> ?var2 . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var4 . FILTER ( ( ( ?var4 != <http://www.wikidata.org/entity/Q13382576> ) ) ) . } ) ) . OPTIONAL { ?var1 <http://schema.org/description> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"es\" ) ) ) . } FILTER ( ( !( BOUND ( ?var5 ) ) ) ) . }"}}
{"id": "test_6546", "question": "Subclasses of natural numbers and their direct subclasses", "sparql": "SELECT ?subclass ?subclassLabel ?directSubclass WHERE { ?subclass wdt:P279* wd:Q21199 . OPTIONAL { ?subclass wdt:P279 ?directSubclass . } ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"\" || LANG(?subclassLabel) = \"en\") }", "paraphrases": ["What are the subclasses of natural numbers, and what are their immediate subclasses?", "List all types of numbers that are subclasses of natural numbers, along with one of their direct subtypes."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { <http://www.wikidata.org/entity/Q21199> <http://www.wikidata.org/prop/direct/P279> * ?var1 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q21199> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pt\". } }"}}
{"id": "test_6547", "question": "Subclasses of goods and services", "sparql": "SELECT ?subclass WHERE { ?subclass wdt:P279* wd:Q2897903 . } LIMIT 100", "paraphrases": ["What are all the subclasses (including indirect ones) of goods and services?", "List up to 100 items that are subclasses of goods and services, including sub-subclasses."], "info": {"raw_sparql": "SELECT ?var1 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q2897903> . ?var2 ?var3Label \"Snickers\"@en . OPTIONAL { } } LIMIT 100"}}
{"id": "test_6548", "question": "List all Wikidata entities (items or properties) with an official website.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity WHERE {\n  ?entity wdt:P856 ?website .\n}\nLIMIT 50000", "paraphrases": ["Which items and properties in Wikidata have an official website?", "Show me the IDs of all entities in Wikidata that are linked to an official website URL, such as software, organizations, or authority control properties."], "info": {"raw_sparql": "SELECT ?var1 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var2 . } } LIMIT 50000"}}
{"id": "test_6549", "question": "What are the official colors and hex codes of major German political parties like the CDU, SPD, and Greens?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?party ?partyLabel ?color ?hexColor WHERE {\n  VALUES ?party {\n    wd:Q49762 wd:Q49768 wd:Q13124 wd:Q49766 wd:Q49764 wd:Q6721203\n  }\n  OPTIONAL {\n    ?party wdt:P462 ?color .\n  }\n  OPTIONAL {\n    ?party wdt:P465 ?hexColor .\n  }\n  ?party rdfs:label ?partyLabel .\n  FILTER(LANG(?partyLabel) = 'en')\n}", "paraphrases": ["Which German political parties have defined colors and sRGB hex codes, and what are they?", "List the names, color entities, and hex color codes for Germany\u2019s main political parties including the CDU, SPD, FDP, Greens, The Left, and AfD."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q49762> ) ( <http://www.wikidata.org/entity/Q49768> ) ( <http://www.wikidata.org/entity/Q13124> ) ( <http://www.wikidata.org/entity/Q49766> ) ( <http://www.wikidata.org/entity/Q49764> ) ( <http://www.wikidata.org/entity/Q6721203> ) } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P462> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P465> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_6550", "question": "Is the Boxer Rebellion a human?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q150229 wdt:P31 / wdt:P279 * wd:Q5\n}", "paraphrases": ["Does the Boxer Rebellion belong to a category that is a subclass of human?", "Is the Boxer Rebellion classified as a person or any of its subtypes?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q150229> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6551", "question": "Top occupations and genders of people after whom streets in Rennes are named.", "sparql": "SELECT ?occupationLabel ?genderLabel ( COUNT( ?thoroughfare ) AS ?count ) WHERE { ?thoroughfare wdt:P31 ?instance ; ( wdt:P31 / wdt:P279* ) wd:Q83620 ; wdt:P131 wd:Q647 ; wdt:P138 ?person . ?person wdt:P106 ?occupation ; wdt:P21 ?gender . ?occupation rdfs:label ?occupationLabel . ?gender rdfs:label ?genderLabel . FILTER(LANG(?occupationLabel) = \"en\") FILTER(LANG(?genderLabel) = \"en\") } GROUP BY ?occupationLabel ?genderLabel ORDER BY DESC(?count)", "paraphrases": ["Which occupations and genders are most common among the people that streets in Rennes are named after?", "Show me a list of how many streets in Rennes are named after people with each occupation and gender, sorted by frequency."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> ?var5 ; ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q83620> ; <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q647> ; ( <http://www.wikidata.org/prop/direct/P138> / <http://www.wikidata.org/prop/direct/P21> ) ?var2 ; ( <http://www.wikidata.org/prop/direct/P138> / <http://www.wikidata.org/prop/direct/P106> ) ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } GROUP BY ?var1Label ?var2Label ORDER BY DESC( ?var4 )"}}
{"id": "test_6552", "question": "Coordinates of Long Beach Convention Center and its state (California).", "sparql": "SELECT ?venueCoordinates ?administrativeEntityCoordinates WHERE { wd:Q1757660 wdt:P625 ?venueCoordinates . OPTIONAL { wd:Q1757660 wdt:P131 ?administrativeEntity . ?administrativeEntity wdt:P625 ?administrativeEntityCoordinates . } }", "paraphrases": ["What are the geographic coordinates of the Long Beach Convention Center and the administrative region it is located in?", "Show me the exact location of the Long Beach Convention Center and the centroid of the state it belongs to."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q1757660> <http://www.wikidata.org/prop/direct/P625> ?var1 . OPTIONAL { <http://www.wikidata.org/entity/Q1757660> <http://www.wikidata.org/prop/direct/P131> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var2 . } }"}}
{"id": "test_6553", "question": "What properties describe Elsa from Disney's Frozen?", "sparql": "SELECT DISTINCT ?property ?propertyLabel WHERE { wd:Q15620419 ?property ?value . ?propertyItem wikibase:directClaim ?property . ?propertyItem rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") }", "paraphrases": ["What are the English labels of all properties that are used to describe the character Elsa from Disney?", "Show me the English names of all the properties associated with Elsa (Disney) in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2Label WHERE { ?var3 <http://www.wikidata.org/entity/Q6422240> ? <http://www.wikidata.org/entity/Q15620419> . ?var3 ?var1 ?var4 . <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var2 <http://wikiba.se/ontology#directClaim> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6554", "question": "Russian translators and their notable works", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?translator ?translatorLabel ?work ?workLabel WHERE {\n  ?translator wdt:P106 wd:Q333634 .\n  ?translator wdt:P27 wd:Q159 .\n  ?translator wdt:P800 ?work .\n  ?translator rdfs:label ?translatorLabel .\n  ?work rdfs:label ?workLabel .\n  FILTER(LANG(?translatorLabel) = \"en\")\n  FILTER(LANG(?workLabel) = \"en\")\n}\nLIMIT 10000", "paraphrases": ["Which notable works have been created by Russian translators?", "List the English-labeled notable works of translators who are citizens of Russia."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P800> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q333634> . ?var1Label <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q7737> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10000"}}
{"id": "test_6555", "question": "Who has the GND ID 1011175770?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P227 \"1011175770\" .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["What is the name of the person identified by the German National Library ID 1011175770?", "Tell me the name of the individual linked to the GND ID 1011175770."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"1011175770\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6556", "question": "What are all the superclass categories of algebraic numbers in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?superclass WHERE {\n  wd:Q168817 wdt:P279 * ?superclass .\n}", "paraphrases": ["Can you list all the broader categories that algebraic numbers belong to, including indirect ones?", "What is the full taxonomic hierarchy above algebraic numbers?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q168817> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_6557", "question": "What is the X (Twitter) username for Rethink Mental Illness?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?organization ?twitterUsername WHERE {\n  wd:Q7316698 wdt:P2002 ?twitterUsername .\n  BIND( wd:Q7316698 AS ?organization )\n}", "paraphrases": ["What is the Twitter handle of the organization Rethink Mental Illness?", "Please provide the X username associated with Rethink Mental Illness."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"Rethink_\" ) ( \"string1\" ) ( \"string2\" ) } }"}}
{"id": "test_6558", "question": "Most frequently used properties connecting entities to Pau, France, excluding those used only once.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ( COUNT( ?entity ) AS ?count ) WHERE {\n  ?entity ?property wd:Q132671 .\n}\nGROUP BY ?property\nHAVING ( ?count > 1 )\nORDER BY DESC ( ?count )", "paraphrases": ["Which properties are used to link the most entities to the city of Pau in France, and how many times are they used?", "Show me the properties that connect other entities to Pau, France, ordered by how often they are used, but only include properties used more than once."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q132671> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_6559", "question": "Which properties link other resources to \u00c9glise Notre-Dame-de-l'Assomption d'Aigrefeuille-sur-Maine more than once?", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q3580258 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["How many times is the schema:about property used to reference \u00c9glise Notre-Dame-de-l'Assomption d'Aigrefeuille-sur-Maine, and are there any other properties used more than once?", "Show me the properties that connect external resources to the church \u00c9glise Notre-Dame-de-l'Assomption d'Aigrefeuille-sur-Maine, but only if they are used more than once, sorted by usage count."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q3580258> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_6560", "question": "How many items have medicine as their main subject?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT(COUNT(?item) AS ?count) WHERE {\n  ?item wdt:P921 wd:Q11190 .\n}", "paraphrases": ["What is the number of works primarily about medicine?", "Can you tell me how many articles, books, or media items focus on medicine as their central topic?"], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P921> <http://www.wikidata.org/entity/Q11190> . }"}}
{"id": "test_6561", "question": "What property is most commonly used to describe UK rainfall records?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nSELECT ?property(COUNT(?property) AS ?count) WHERE {\n  wd:Q7865012 ?propertyUri ?value .\n  ?property wikibase:directClaim ?propertyUri .\n  ?property rdf:type wikibase:Property .\n}\nGROUP BY ?property\nORDER BY DESC(?count)\nLIMIT 1", "paraphrases": ["Which Wikidata property links UK rainfall records to other entities, and how many times is it used?", "Show the main property used in statements about UK rainfall records, ordered by frequency."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q7865012> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_6562", "question": "What Wikidata entity is the Hindi Wikipedia page for \"\u0939\u0930\u0940 \u092a\u0941\u091f\u0930\" about?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nSELECT ?item ?type WHERE {\n  <https://hi.wikipedia.org/wiki/%E0%A4%B9%E0%A5%88%E0%A4%B0%E0%A5%80_%E0%A4%AA%E0%A5%89%E0%A4%9F%E0%A4%B0> schema:about ?item .\n  <https://hi.wikipedia.org/wiki/%E0%A4%B9%E0%A5%88%E0%A4%B0%E0%A5%80_%E0%A4%AA%E0%A5%89%E0%A4%9F%E0%A4%B0> rdf:type schema:Article .\n}", "paraphrases": ["Can you tell me the Wikidata item and type of the Hindi Wikipedia page titled \"\u0939\u0930\u0940 \u092a\u0941\u091f\u0930\"?", "Is the Hindi Wikipedia page on \"\u0939\u0930\u0940 \u092a\u0941\u091f\u0930\" an article, and if so, which Wikidata item does it refer to?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <https://hi.wikipedia.org/wiki/%E0%A4%B9%E0%A5%88%E0%A4%B0%E0%A5%80_%E0%A4%AA%E0%A5%89%E0%A4%9F%E0%A4%B0> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?var2 . <https://hi.wikipedia.org/wiki/%E0%A4%B9%E0%A5%88%E0%A4%B0%E0%A5%80_%E0%A4%AA%E0%A5%89%E0%A4%9F%E0%A4%B0> <http://schema.org/about> ?var1 . }"}}
{"id": "test_6563", "question": "List some humans in Wikidata.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?human WHERE {\n  ?human wdt:P31 wd:Q5\n}\nLIMIT 10", "paraphrases": ["What are some examples of humans in Wikidata?", "Show me 10 entities that are classified as humans."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/prop/direct/Q5> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 10"}}
{"id": "test_6564", "question": "What are the journals where Timo Lassmann has published the most papers, and what are their names (using abbreviations if available)?", "sparql": "SELECT ?publication ?displayLabel (COUNT(?work) AS ?count)\nWHERE {\n  ?work wdt:P50 wd:Q30303513 .\n  ?work wdt:P1433 ?publication .\n  ?publication rdfs:label ?pubLabel .\n  FILTER(LANG(?pubLabel) = \"en\")\n  OPTIONAL {\n    ?publication wdt:P1813 ?shortName .\n  }\n  BIND(COALESCE(?shortName, ?pubLabel) AS ?displayLabel)\n}\nGROUP BY ?publication ?displayLabel\nORDER BY DESC(?count)", "paraphrases": ["List Timo Lassmann\u2019s most frequently used publication venues, showing abbreviated names like \u201cNAR\u201d instead of full titles where possible, sorted by publication count.", "Which scientific journals have published the highest number of works by researcher Timo Lassmann, and what are their standard names or abbreviations?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q30303513> . ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1813> ?var6 . } BIND ( COALESCE ( ?var6 , ?var5Label ) AS ?var2Label ). } GROUP BY ?var1 ?var2Label ORDER BY DESC( ?var4 )"}}
{"id": "test_6565", "question": "What are the occupations of Norwegian citizens born between 1930 and 2000 that have at least three male and three female representatives, and what percentage of each occupation is female?", "sparql": "SELECT ?occupationLabel ?femaleCount ?maleCount ( (?femaleCount / (?femaleCount + ?maleCount)) AS ?femaleProportion ) WHERE { { SELECT ?occupation (COUNT(?femalePerson) AS ?femaleCount) (COUNT(?malePerson) AS ?maleCount) WHERE { { ?femalePerson wdt:P21 wd:Q6581072 ; wdt:P27 wd:Q20 ; wdt:P106 ?occupation ; wdt:P569 ?birthDate . BIND( STR(YEAR(?birthDate)) AS ?birthYearStr ) } UNION { ?malePerson wdt:P21 wd:Q6581097 ; wdt:P27 wd:Q20 ; wdt:P106 ?occupation ; wdt:P569 ?birthDate . BIND( STR(YEAR(?birthDate)) AS ?birthYearStr ) } FILTER( xsd:integer(?birthYearStr) >= 1930 && xsd:integer(?birthYearStr) <= 2000 ) } GROUP BY ?occupation } FILTER( ?femaleCount > 2 && ?maleCount > 2 ) ?occupation rdfs:label ?occupationLabel . FILTER( LANG(?occupationLabel) = \"en\" ) }", "paraphrases": ["Norwegian occupations 1930\u20132000 with at least 3 men and 3 women \u2014 female proportion", "Show me occupations in Norway from 1930 to 2000 with more than two men and women, along with the share of women in each."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ( ( ?var2 / ( ?var2 + ?var3 ) ) AS ?var4 ) WHERE { { SELECT ?var1 ( COUNT ( ?var5 ) AS ?var2 )( COUNT ( ?var6 ) AS ?var3 ) WHERE { { SELECT ?var7 ( ?var8 AS ?var5 ) ?var1 WHERE { BIND ( STR ( YEAR ( ?var9 ) ) AS ?var7 ). ?var8 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> ; <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q20> ; <http://www.wikidata.org/prop/direct/P106> ?var1 ; <http://www.wikidata.org/prop/direct/P569> ?var9 . } } UNION { SELECT ?var7 ( ?var8 AS ?var6 ) ?var1 WHERE { BIND ( STR ( YEAR ( ?var9 ) ) AS ?var7 ). ?var8 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581097> ; <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q20> ; <http://www.wikidata.org/prop/direct/P106> ?var1 ; <http://www.wikidata.org/prop/direct/P569> ?var9 . } } FILTER ( ( ( <http://www.w3.org/2001/XMLSchema#integer> ( ?var7 ) >= \"1930\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( <http://www.w3.org/2001/XMLSchema#integer> ( ?var7 ) <= \"2000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } GROUP BY ?var1 } FILTER ( ( ( ?var2 > \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( ?var3 > \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nb,en\". } }"}}
{"id": "test_6566", "question": "Most common properties linking entities to Debrecen, Hungary", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q79880 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["What are the most frequently used properties associated with Debrecen in Wikidata, excluding properties used only once?", "Show me the properties that connect other items to Debrecen, ordered by how often they are used, but only include those used more than once."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q79880> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_6567", "question": "Which entities have the Twitter usernames \"gleonhard\" or \"toggl\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity ?username WHERE {\n  ?entity wdt:P2002 ?username .\n  VALUES ?username {\n    \"gleonhard\" \"toggl\"\n  }\n}", "paraphrases": ["Who are the people or organizations on Wikidata with the Twitter handle \"gleonhard\" or \"toggl\"?", "Show me the Wikidata entities and their corresponding Twitter usernames for \"gleonhard\" and \"toggl\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"gleonhard\" ) ( \"SwissPost\" ) ( \"kuenzler\" ) ( \"toggl\" ) ( \"stardog_db\" ) ( \"string1\" ) ( \"sbbnews\" ) ( \"string2\" ) ( \"JihadiJew\" ) ( \"string3\" ) ( \"string4\" ) ( \"_sabin_\" ) ( \"string5\" ) } }"}}
{"id": "test_6568", "question": "Coordinates of Salt Palace arena and the city it is located in.", "sparql": "SELECT ?arenaCoordinates ?administrativeEntityCoordinates WHERE { wd:Q17030210 wdt:P625 ?arenaCoordinates . OPTIONAL { wd:Q17030210 wdt:P131 ?administrativeEntity . ?administrativeEntity wdt:P625 ?administrativeEntityCoordinates . } }", "paraphrases": ["What are the geographic coordinates of the Salt Palace arena and the administrative entity it belongs to?", "Show me the location of the Salt Palace arena and the location of the city it is in."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q17030210> <http://www.wikidata.org/prop/direct/P625> ?var1 . OPTIONAL { <http://www.wikidata.org/entity/Q17030210> <http://www.wikidata.org/prop/direct/P131> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var2 . } }"}}
{"id": "test_6569", "question": "Image of Delos Franklin Wilcox (SNAC ARK ID w60g415t)", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w60g415t\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image of the person with SNAC ARK ID w60g415t?", "Show me the Wikimedia Commons image for Delos Franklin Wilcox, identified by SNAC ARK ID w60g415t."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w60g415t\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6570", "question": "What are the images of non-human entities in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?image WHERE {\n  ?entity wdt:P18 ?image .\n  FILTER NOT EXISTS {\n    ?entity wdt:P31 wd:Q5\n  }\n}", "paraphrases": ["Show me all images from Wikimedia Commons that are not of people.", "Can you list images of things like objects, concepts, or buildings, excluding portraits of humans?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { <http://www.wikidata.org/entity/Q24283608> <http://www.wikidata.org/prop/direct/P18> ?var1 . } UNION { <http://www.wikidata.org/entity/Q24283608> !( <http://www.wikidata.org/prop/direct/P1889> ) ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . FILTER ( ( ( ?var2 != <http://www.wikidata.org/entity/Q5> ) ) ) . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q24283608> . { ?var3 <http://www.wikidata.org/prop/direct/P921> [ <http://www.wikidata.org/prop/direct/P18> ?var1 ] . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P50> ?var3 . ?var4 <http://www.wikidata.org/prop/direct/P18> ?var1 . } } }"}}
{"id": "test_6571", "question": "What organizations was Matilda Smith affiliated with or employed by, and do they have images on Commons?", "sparql": "SELECT ?organizationImage ?organization ?organizationLabel ?startDate ?endDate ?degreeLabel WHERE { { wd:Q3299110 p:P1416 ?statement . ?statement ps:P1416 ?organization . } UNION { wd:Q3299110 p:P108 ?statement . ?statement ps:P108 ?organization . } ?organization rdfs:label ?organizationLabel . FILTER (LANG(?organizationLabel) = \"en\") OPTIONAL { ?organization wdt:P18 ?organizationImage . } OPTIONAL { ?statement pq:P580 ?startDate . } OPTIONAL { ?statement pq:P582 ?endDate . } OPTIONAL { ?statement pq:P512 ?degree . ?degree rdfs:label ?degreeLabel . FILTER (LANG(?degreeLabel) = \"en\") } }", "paraphrases": ["Which organizations did the British botanical illustrator Matilda Smith work for or affiliate with, what are their English labels, do they have images, and when did those affiliations start or end?", "Show me the organizations Matilda Smith was connected to (either as employer or affiliation), including their English names, any associated images, and the start/end dates of those relationships \u2014 also, did she hold any academic degrees?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label ?var4 ?var5 ?var6Label WHERE { { <http://www.wikidata.org/entity/Q3299110> <http://www.wikidata.org/prop/P1416> ?var7 . } UNION { <http://www.wikidata.org/entity/Q3299110> <http://www.wikidata.org/prop/P108> ?var7 . } { ?var7 <http://www.wikidata.org/prop/statement/P1416> ?var2 . } UNION { ?var7 <http://www.wikidata.org/prop/statement/P108> ?var2 . } ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P580> ?var4 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P582> ?var5 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P512> ?var8 . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_6572", "question": "What are the names of Donald Trump\u2019s spouses and the start and end dates of each marriage?", "sparql": "SELECT ?spouseLabel ?start ?end WHERE { wd:Q22686 p:P26 ?statement . ?statement ps:P26 ?spouse . OPTIONAL { ?statement pq:P580 ?start . ?statement pq:P582 ?end . } ?spouse rdfs:label ?spouseLabel . FILTER(LANG(?spouseLabel) = \"en\") }", "paraphrases": ["When did Donald Trump marry each of his wives, and when did those marriages end?", "List Donald Trump\u2019s spouses along with the time periods of their marriages."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { <http://www.wikidata.org/entity/Q22686> <http://www.wikidata.org/prop/P26> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P26> ?var1 . OPTIONAL { ?var5 <http://www.wikidata.org/prop/qualifier/P580> ?var2 . ?var5 <http://www.wikidata.org/prop/qualifier/P582> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6573", "question": "Image of Henry Cohen, 1st Baron Cohen of Birkenhead (SNAC ARK ID: w6b14bpw)", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6b14bpw\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6b14bpw?", "Show me the Wikimedia Commons image for the person with SNAC ARK ID w6b14bpw."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6b14bpw\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6574", "question": "English Wikipedia pages about cities and their Wikidata IDs", "sparql": "SELECT DISTINCT ?label ?wikipedia_page ?city WHERE { ?city (wdt:P31/wdt:P279*) wd:Q515 . ?wikipedia_page schema:about ?city ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> . BIND(\"city\" AS ?label) } ORDER BY ?wikipedia_page LIMIT 100", "paraphrases": ["What are the English Wikipedia pages that describe cities, and which Wikidata entities do they link to?", "List all English Wikipedia articles about cities along with the corresponding city entities in Wikidata."], "info": {"raw_sparql": "SELECT( \"city\" AS ?var1 )( ?var2 AS ?var3 )( GROUP_CONCAT ( DISTINCT ?var4 ) AS ?var5 ) WHERE { ?var4 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var2 <http://schema.org/about> ?var4 . ?var2 <http://schema.org/inLanguage> \"en\". ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } GROUP BY ?var2 LIMIT 1000000"}}
{"id": "test_6575", "question": "Films starring Jean-Paul Belmondo", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?film WHERE {\n  ?film wdt:P161 wd:Q106255 .\n  ?film wdt:P31 wd:Q11424 .\n}", "paraphrases": ["Which films did Jean-Paul Belmondo act in?", "List all movies in which Jean-Paul Belmondo was a cast member."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P161> <http://www.wikidata.org/entity/Q106255> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . }"}}
{"id": "test_6576", "question": "Most used property to classify entities as classification schemes", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?prop wd:Q5962346 . ?property wikibase:directClaim ?prop . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which property is most commonly used to classify entities as classification schemes?", "Show me the property that is used the most to categorize things as classification schemes."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q5962346> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_6577", "question": "Cooperatives with their founding dates and images", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?cooperative ?cooperativeLabel ?inception(SAMPLE(?image) AS ?imageSample) WHERE {\n  ?cooperative wdt:P31 wd:Q4539 .\n  ?cooperative wdt:P571 ?inception .\n  OPTIONAL {\n    ?cooperative wdt:P18 ?image .\n  }\n  ?cooperative rdfs:label ?cooperativeLabel .\n  FILTER(LANG(?cooperativeLabel) = 'en')\n  FILTER(isLiteral(?inception))\n}\nGROUP BY ?cooperative ?cooperativeLabel ?inception", "paraphrases": ["What are some cooperatives, when were they founded, and do they have images?", "List cooperatives along with their inception dates and, if available, their images, in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q21514624> . ?var1 <http://www.wikidata.org/prop/direct/P571> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q4539> . } GROUP BY ?var1 ?var1Label ?var2"}}
{"id": "test_6578", "question": "Subclasses of sport that have instances in Wikidata.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?sportSubclass WHERE {\n  ?sportSubclass wdt:P279 * wd:Q349 .\n  ?instance wdt:P31 ?sportSubclass .\n}", "paraphrases": ["What types of sports are actually used in Wikidata as categories with examples?", "List all subcategories of sport that have at least one documented example."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q349> . ?var3 <http://www.wikidata.org/prop/direct/P31> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . } }"}}
{"id": "test_6579", "question": "What is the taxon rank of the Pygmy blue whale?", "sparql": "SELECT DISTINCT ?taxonRank WHERE { wd:Q738361 wdt:P105 ?taxonRank . }", "paraphrases": ["At what taxonomic rank is the Pygmy blue whale classified?", "Can you tell me the taxonomic rank (like species or subspecies) of the Pygmy blue whale (wd:Q738361)?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q738361> <http://www.wikidata.org/prop/direct/P105> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . } }"}}
{"id": "test_6580", "question": "What body of water does the Suwannee River flow into, and what is its drainage basin?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?outflow ?outflowLabel ?basin ?basinLabel ?river ?riverLabel WHERE {\n  wd:Q2299655 wdt:P403 ?outflow .\n  wd:Q2299655 wdt:P31 / wdt:P279 * wd:Q355304 .\n  wd:Q2299655 wdt:P4614 ?basin .\n  ?outflow wdt:P200 wd:Q2299655 . MINUS {\n    ?outflow wdt:P4614 ?basin .\n  }\n  ?outflow rdfs:label ?outflowLabel .\n  ?basin rdfs:label ?basinLabel .\n  wd:Q2299655 rdfs:label ?riverLabel .\n  FILTER(LANG(?outflowLabel) = \"en\")\n  FILTER(LANG(?basinLabel) = \"en\")\n  FILTER(LANG(?riverLabel) = \"en\")\n}", "paraphrases": ["Which sea or lake receives the Suwannee River as an inflow, and how does its drainage basin differ from the river's?", "Show the outflow destination of the Suwannee River and its drainage basin, excluding any outflow that shares the same basin."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { ?var3 <http://www.wikidata.org/prop/direct/P403> * <http://www.wikidata.org/entity/Q2299655> . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q355304> . ?var3 <http://www.wikidata.org/prop/direct/P4614> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P200> ?var3 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P4614> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6581", "question": "Which property is most often used to link other properties to IMDb ID (P436)?", "sparql": "SELECT ?propertyItem (COUNT(?propertyItem) AS ?count) WHERE { ?relatedProperty ?directClaim wd:P436 . ?propertyItem wikibase:directClaim ?directClaim . ?propertyItem rdf:type wikibase:Property . } GROUP BY ?propertyItem ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["What property is used to indicate that other properties are related to the IMDb ID (P436), and how many times is it used?", "Show me the property that has the most statements connecting other properties to the IMDb ID (P436), along with the count."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/P436> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_6582", "question": "Communes in Aisne department, France", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commune ?departmentLabel WHERE {\n  ?commune wdt:P31 wd:Q484170 .\n  ?commune wdt:P131 wd:Q3093 .\n  wd:Q3093 rdfs:label ?departmentLabel .\n  FILTER ( LANG( ?departmentLabel ) = \"en\" )\n}", "paraphrases": ["What are the communes located in the Aisne department of France?", "List all communes in Aisne, France, along with the department name."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label WHERE { { SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q484170> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q142> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q3093> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6465> . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } }"}}
{"id": "test_6583", "question": "What are all the broader categories (superclasses) that \"ambassador of Egypt\" belongs to through the subclass hierarchy?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?superclass WHERE {\n  wd:Q30068618 wdt:P279 * ?superclass .\n}\nLIMIT 100", "paraphrases": ["Superclasses of ambassador of Egypt in Wikidata", "Show me the full hierarchy of classes that \"ambassador of Egypt\" is a subclass of, going up to the most general categories."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q30068618> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_6584", "question": "Where did Kourosh Kalantar-zadeh study, what degree did he earn, and when did his studies begin and end?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?institution ?institutionLabel ?startDate ?endDate ?degreeLabel WHERE {\n  wd:Q42301564 p:P69 ?statement .\n  ?statement ps:P69 ?institution .\n  ?institution rdfs:label ?institutionLabel .\n  FILTER(LANG(?institutionLabel) = \"en\")\n  OPTIONAL {\n    ?statement pq:P580 ?startDate .\n  }\n  OPTIONAL {\n    ?statement pq:P582 ?endDate .\n  }\n  OPTIONAL {\n    ?statement pq:P512 ?degree .\n    ?degree rdfs:label ?degreeLabel .\n    FILTER(LANG(?degreeLabel) = \"en\")\n  }\n}", "paraphrases": ["Kourosh Kalantar-zadeh\u2019s alma mater, academic degree, and study period", "Show me the educational background of Kourosh Kalantar-zadeh, including the university, degree, and dates if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 ?var5Label WHERE { <http://www.wikidata.org/entity/Q42301564> <http://www.wikidata.org/prop/P69> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P69> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P580> ?var3 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var4 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P512> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_6585", "question": "Species with the scientific name containing 'thomsonii'", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?species ?taxonName WHERE {\n  ?species wdt:P225 ?taxonName .\n  FILTER(CONTAINS(LCASE(?taxonName) , \"thomsonii\"))\n}", "paraphrases": ["Which species have 'thomsonii' in their scientific name?", "List all taxonomic names in Wikidata that include the word 'thomsonii'."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,ar\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . } FILTER ( ( CONTAINS ( LCASE ( ?var2 ) , \"thomsonii\" ) ) ) . }"}}
{"id": "test_6586", "question": "Cities within 10 km of longitude 8, latitude 49", "sparql": "SELECT ?city ?label ?location ?distance WHERE {\n  ?city (wdt:P31/wdt:P279*) wd:Q515 .\n  ?city wdt:P625 ?location .\n  BIND(geof:distance(?location, \"POINT(8 49)\"^^geo:wktLiteral) AS ?distance)\n  FILTER(?distance < 10000)\n  ?city rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n} ORDER BY ASC(?distance)", "paraphrases": ["What cities are located within 10 kilometers of the point (8, 49)?", "List the cities near (8, 49) in order of proximity, up to 10 km away."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> \"POINT(8 49)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"10\". <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#distance> ?var3 . } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6587", "question": "Chemicals with both InChI and KEGG identifiers and English labels", "sparql": "SELECT ?label ?inchi ?kegg_id WHERE { ?chemical wdt:P234 ?inchi ; wdt:P665 ?kegg_id ; rdfs:label ?label . FILTER (LANG(?label) = \"en\") } LIMIT 190", "paraphrases": ["Which chemical compounds have both an InChI identifier and a KEGG ID, along with an English name?", "Show me the English names, InChI codes, and KEGG IDs of chemical compounds that have both identifiers."], "info": {"raw_sparql": "SELECT * WHERE { VALUES ( ?var1Label ) { ( \"string1\" ) } ?var2 <http://www.wikidata.org/prop/direct/P234> ?var3 . ?var2 <http://www.wikidata.org/prop/direct/P665> ?var4 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } LIMIT 190"}}
{"id": "test_6588", "question": "Argentine scientists with Dictionary Grierson ID and Spanish Wikipedia pages", "sparql": "SELECT ?scientist ?griersonId ?wikipediaPage WHERE { ?scientist wdt:P3946 ?griersonId . ?wikipediaPage schema:about ?scientist . FILTER ( STRSTARTS( STR(?wikipediaPage), \"https://es.wikipedia.org/\" ) ) }", "paraphrases": ["Which Argentine scientists listed in the Diccionario de cient\u00edficos argentinos Dra. Grierson have articles on the Spanish Wikipedia?", "Show me the Spanish Wikipedia pages and Grierson IDs for Argentine scientists."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3946> ?var2 . ?var3 <http://schema.org/about> ?var1 . FILTER ( ( STRSTARTS ( STR ( ?var3 ) , \"string1\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,nl,de,it,es\". } }"}}
{"id": "test_6589", "question": "What is the image of the person with SNAC ARK ID w6dz0q9x?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6dz0q9x\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Can you show me the Wikimedia Commons image associated with Theodore Frelinghuysen Seward?", "Which image is linked to the Social Networks and Archival Context identifier w6dz0q9x?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6dz0q9x\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6590", "question": "Multilingual names and descriptions of Hombli\u00e8res, France", "sparql": "SELECT ?property ?value WHERE { wd:Q850345 ?property ?value . } LIMIT 100", "paraphrases": ["What are the different language versions of the name and description for the commune of Hombli\u00e8res?", "Show me all the multilingual labels and descriptions for Hombli\u00e8res."], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q850345> ?var1 ?var2 . } LIMIT 100"}}
{"id": "test_6591", "question": "What is the Wikidata item for the movie with IMDb ID tt0073935 and what is its title?", "sparql": "SELECT ?movie ?movieLabel WHERE { ?movie wdt:P345 \"tt0073935\" . ?movie rdfs:label ?movieLabel .}", "paraphrases": ["Which film on Wikidata has the IMDb identifier tt0073935, and what are its titles in different languages?", "Show me the Wikidata entry and labels for the movie identified by IMDb ID tt0073935."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0073935\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6592", "question": "What country and administrative division is Madonna della Croce part of?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?var1 WHERE {\n  wd:Q18427391(wdt:P30 | wdt:P17 | wdt:P131) ?var1 .\n}", "paraphrases": ["Which geographic entities contain Madonna della Croce?", "Tell me the location hierarchy of Madonna della Croce, including its country and municipality."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q18427391> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_6593", "question": "Researchers whose field of work is algebraic number theory.", "sparql": "SELECT DISTINCT ?researcher WHERE { ?researcher wdt:P101 wd:Q613048 . }", "paraphrases": ["Who are the researchers specializing in algebraic number theory?", "List all people whose academic discipline is algebraic number theory."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P101> <http://www.wikidata.org/entity/Q613048> . }"}}
{"id": "test_6594", "question": "What property is most frequently used to link Co Hoedeman to other entities in Wikidata?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?directProperty ( COUNT( ?directProperty ) AS ?count ) WHERE {\n  ?item ?statementProperty wd:Q1104084 .\n  ?directProperty wikibase:directClaim ?statementProperty .\n  ?directProperty rdf:type wikibase:Property .\n}\nGROUP BY ?directProperty\nORDER BY DESC ( ?count )\nLIMIT 1", "paraphrases": ["Which Wikidata property connects Co Hoedeman to other items the most times, and how many times is it used?", "Show me the most common property associated with Co Hoedeman in Wikidata statements."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q1104084> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_6595", "question": "What are some entities located in Quebec, Canada, along with their images, Wikimedia Commons categories, and street addresses?", "sparql": "SELECT ?item ?itemLabel ?image ?commonsCat ?address WHERE { ?item wdt:P131 wd:Q176 . OPTIONAL { ?item wdt:P18 ?image . } OPTIONAL { ?item wdt:P373 ?commonsCat . } OPTIONAL { ?item wdt:P969 ?address . } ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } LIMIT 3000", "paraphrases": ["Show me English-labeled places in Quebec that have photos or Commons categories.", "List landmarks, institutions, or natural features in Quebec with available images or public domain files on Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(-66 46)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(-66 46)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_6596", "question": "What are the most common wine subtypes by number of instances, and what broader alcoholic beverage categories do they belong to?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?wineSubtype ?wineSubtypeLabel ?broaderCategory ?broaderCategoryLabel ?instanceCount WHERE {\n  {\n    SELECT ?wineSubtype ( COUNT( DISTINCT ?instance ) AS ?instanceCount ) WHERE {\n      ?wineSubtype wdt:P279 + wd:Q282 .\n      ?instance wdt:P31 ?wineSubtype .\n    }\n    GROUP BY ?wineSubtype\n  }\n  ?wineSubtype wdt:P279 * ?broaderCategory .\n  ?broaderCategory wdt:P279 wd:Q154 .\n  OPTIONAL {\n    ?wineSubtype rdfs:label ?wineSubtypeLabel .\n    FILTER ( LANG( ?wineSubtypeLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?broaderCategory rdfs:label ?broaderCategoryLabel .\n    FILTER ( LANG( ?broaderCategoryLabel ) = \"en\" )\n  }\n}\nORDER BY DESC ( ?instanceCount ) ASC ( ?broaderCategoryLabel )\nLIMIT 100", "paraphrases": ["Which wine types have the most examples in Wikidata, and what are their parent categories within alcoholic beverages?", "Show me the top wine subtypes ranked by how many specific wines are classified under them, along with their broader categories like \"fermented alcoholic beverage\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE { { SELECT ?var1 ( COUNT ( DISTINCT ?var4 ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> + <http://www.wikidata.org/entity/Q282> . ?var4 <http://www.wikidata.org/prop/direct/P31> ?var1 . } GROUP BY ?var1 } ?var1 <http://www.wikidata.org/prop/direct/P279> * ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q154> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var3 )ASC( ?var2Label ) LIMIT 100"}}
{"id": "test_6597", "question": "Is Borja G. Cosio classified as software or any type of software?", "sparql": "ASK WHERE { wd:Q47149799 (wdt:P31/wdt:P279*) wd:Q7397 . }", "paraphrases": ["Is Borja G. Cosio an instance of software or any of its superclasses?", "Confirm whether Borja G. Cosio, the researcher, is categorized under software or any broader category that includes software."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q47149799> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6598", "question": "Which properties are most frequently used to link entities to Odds BK, excluding those used only once?", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q215302 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["How many times are different properties used to connect items to the football club Odds BK, and which ones appear more than once?", "Show me the properties that connect other items to Odds BK (Q215302), sorted by how often they\u2019re used, but only include properties used more than once."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q215302> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_6599", "question": "Is Stanko Nick a type of software or a subclass of software?", "sparql": "ASK WHERE { wd:Q47028506 wdt:P31/wdt:P279* wd:Q7397 . }", "paraphrases": ["Does Stanko Nick, as a human, belong to any category that is a subclass of software?", "Can Stanko Nick be classified as software?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q47028506> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6600", "question": "Who is the person with Stuttgart Database of Scientific Illustrators ID 8161, and what is their English description?", "sparql": "SELECT ?illustrator ?illustratorLabel ?description WHERE { ?illustrator wdt:P2349 \"8161\" . ?illustrator rdfs:label ?illustratorLabel . FILTER (LANG(?illustratorLabel) = \"en\") OPTIONAL { ?illustrator schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["What is the name and English description of the scientific illustrator identified as 8161 in the Stuttgart Database?", "Please provide the English name and description of the individual whose ID in the Stuttgart Database of Scientific Illustrators is 8161."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2349> \"8160\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6601", "question": "Thoroughfares in Leeds", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?thoroughfare ?thoroughfareLabel WHERE {\n  ?thoroughfare ( wdt:P31 / wdt:P279 * ) wd:Q83620 .\n  ?thoroughfare wdt:P131 wd:Q39121 .\n  ?thoroughfare rdfs:label ?thoroughfareLabel .\n  FILTER ( LANG( ?thoroughfareLabel ) = \"en\" )\n}", "paraphrases": ["What bridges, roads, or streets are located in Leeds?", "List all thoroughfares such as roads and bridges in the city of Leeds."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q83620> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q39121> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6602", "question": "Which company has the Twitter username \"mesosphere\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?company ?twitterUsername WHERE {\n  ?company wdt:P2002 ?twitterUsername .\n  FILTER(STR(?twitterUsername) = \"mesosphere\")\n}", "paraphrases": ["What is the entity associated with the Twitter handle mesosphere?", "Show me the company that uses mesosphere as its X (Twitter) username."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"mesosphere\" ) ( \"string1\" ) } }"}}
{"id": "test_6603", "question": "Who has the Twitter handle \"robla\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?twitterHandle WHERE {\n  ?person wdt:P2002 ?twitterHandle .\n  VALUES ?twitterHandle {\n    \"robla\"\n  }\n}", "paraphrases": ["Twitter username \"robla\" \u2014 who is it?", "Find the person associated with the Twitter handle robla."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"robla\" ) ( \"string1\" ) ( \"saimadhup\" ) } }"}}
{"id": "test_6604", "question": "What film has the Cineplex Germany film ID 252210?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P3077 \"252210\" .\n}", "paraphrases": ["Which movie in Wikidata is identified by the Cineplex ID 252210?", "I need to find the Wikidata item for the film with Cineplex Germany ID 252210."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3077> \"252210\". }"}}
{"id": "test_6605", "question": "List all OpenStreetMap tags and keys with their English labels and associated English Wikipedia or Commons pages.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?osmEntity ?osmEntityLabel ?osmTag ?relatedPage WHERE {\n  ?osmEntity wdt:P1282 ?osmTag .\n  OPTIONAL {\n    ?relatedPage schema:about ?osmEntity ; schema:inLanguage \"en\" .\n  }\n  ?osmEntity rdfs:label ?osmEntityLabel .\n  FILTER(LANG(?osmEntityLabel) = \"en\")\n}", "paraphrases": ["What are the OpenStreetMap tags and keys in Wikidata, what are their English names, and which English-language Wikipedia or Commons pages describe them?", "Show me the mapping between OpenStreetMap tags/keys and their English labels, along with any related English Wikipedia or Commons articles."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1282> ?var2 . OPTIONAL { ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> \"en\". } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var2 ?var1 ?var1Label ?var3"}}
{"id": "test_6606", "question": "Which Wikidata items have Twitter usernames \"Oreo\" or \"Pyb75\"?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"Oreo\" \"Pyb75\" } }", "paraphrases": ["Who are the people or entities on Wikidata with the Twitter handles \"Oreo\" and \"Pyb75\"?", "List the Wikidata entities associated with the Twitter usernames \"Oreo\" and \"Pyb75\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"Litlok\" ) ( \"xternisien\" ) ( \"Oreo\" ) ( \"Erdrokan\" ) ( \"K_rho\" ) ( \"PoulpyWP\" ) ( \"Pyb75\" ) ( \"string1\" ) ( \"cha_matou\" ) ( \"Ludovic_P_\" ) ( \"SJ_Mage\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_6607", "question": "List all humans with their ORCID iDs.", "sparql": "SELECT ?human ?orcid WHERE { ?human wdt:P496 ?orcid . ?human wdt:P31 wd:Q5 .}", "paraphrases": ["Which humans have an ORCID identifier, and what are their ORCID numbers?", "Show me the Wikidata items and corresponding ORCID iDs for all registered human researchers."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_6608", "question": "Is the village Q23876991 a geographical feature?", "sparql": "ASK WHERE { wd:Q23876991 (wdt:P31/wdt:P279*) wd:Q618123 . }", "paraphrases": ["Does the village Q23876991 belong to the category of geographical features, either directly or through inheritance?", "Is Q23876991 classified as a geographical feature or any of its subclasses?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q23876991> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6609", "question": "Airports in Portuguese starting with \"Aeroporto\"", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?airport ?airportLabel WHERE {\n  ?airport wdt:P31 wd:Q1248784 .\n  ?airport rdfs:label ?airportLabel .\n  FILTER(LANG(?airportLabel) = \"pt\")\n  FILTER(REGEX(?airportLabel , \"^aeroporto\" , \"i\"))\n}\nLIMIT 100", "paraphrases": ["What are the airports in Portuguese that have names starting with \"Aeroporto\"?", "List all airports in Portuguese whose names begin with \"Aeroporto\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1248784> . FILTER ( ( REGEX ( ?var1Label , \"aeroporto^\", \"i\" ) ) ) . } LIMIT 100"}}
{"id": "test_6610", "question": "How many items in Wikidata have a Twitter/X username?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ( COUNT( * ) AS ?count ) WHERE {\n  ?item wdt:P2002 ?username .\n}", "paraphrases": ["Number of Wikidata entities with a Twitter handle.", "Tell me how many Wikidata items are linked to a Twitter/X account."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var3 <http://www.wikidata.org/prop/direct/P2002> ?var1 . }"}}
{"id": "test_6611", "question": "German labels and descriptions of legal forms in Wikidata", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?legalForm ?label ?description WHERE {\n  ?legalForm wdt:P31 wd:Q10541491 .\n  ?legalForm rdfs:label ?label .\n  ?legalForm schema:description ?description .\n  FILTER(LANG(?label) = \"de\")\n  FILTER(LANG(?description) = \"de\")\n}\nLIMIT 100", "paraphrases": ["Which legal forms have German-language labels and descriptions in Wikidata?", "List all legal forms with their German labels and descriptions from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/P1454> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"de\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"de\" ) ) ) . } LIMIT 100"}}
{"id": "test_6612", "question": "What are the flags of sovereign states, and what countries do they belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?flagImage ?countryLabel WHERE {\n  ?country ( wdt:P31 / wdt:P279 * ) wd:Q3624078 ; wdt:P163 ?flag .\n  ?flag wdt:P18 ?flagImage .\n  ?country rdfs:label ?countryLabel .\n  FILTER ( LANG( ?countryLabel ) = \"en\" )\n}\nLIMIT 10", "paraphrases": ["Show me the images of national flags for countries, along with their names in English.", "List the flag images of countries and their English names."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3624078> ; <http://www.wikidata.org/prop/direct/P163> [ <http://www.wikidata.org/prop/direct/P18> ?var1 ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 10"}}
{"id": "test_6613", "question": "Most frequently depicted subjects in the Welsh Landscape Collection, with their occurrence counts.", "sparql": "SELECT DISTINCT ?depictedItem (SAMPLE(?labelTemp) AS ?label) (COUNT(DISTINCT ?item) AS ?count) WHERE { ?item wdt:P361 wd:Q21542493 . ?item wdt:P180 ?depictedItem . OPTIONAL { ?depictedItem rdfs:label ?labelTemp . FILTER(LANG(?labelTemp) = \"en\") } } GROUP BY ?depictedItem ORDER BY DESC(?count) ASC(?label)", "paraphrases": ["What are the most common entities depicted in the Welsh Landscape Collection, and how many times does each appear?", "List the English-labeled entities depicted in the Welsh Landscape Collection, sorted by how often they appear (highest first), and then alphabetically."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ( SAMPLE ( ?var2 ) AS ?var1Label )( COUNT ( DISTINCT ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q21542493> . ?var3 <http://www.wikidata.org/prop/direct/P180> ?var1 . ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var5 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } } GROUP BY ?var1 ORDER BY DESC( ?var4 )ASC( ?var1Label )"}}
{"id": "test_6614", "question": "What are the German-labeled properties of Paul Luther, and what are the German names of their values along with how many values each has?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(SAMPLE(?pl) AS ?propertyLabel)(COUNT(?value) AS ?valueCount)(GROUP_CONCAT(?valueLabel ; SEPARATOR = \", \") AS ?valueLabels) WHERE {\n  wd:Q86832 ?property ?value .\n  ?value rdfs:label ?valueLabel .\n  FILTER(LANG(?valueLabel) = \"de\")\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?pl .\n  FILTER(LANG(?pl) = \"de\")\n}\nGROUP BY ?property", "paraphrases": ["For Paul Luther, list each of his properties in German, how many values each has, and what those values are called in German.", "Show me Paul Luther\u2019s German-labeled occupations, employers, and other attributes, including the count and German names of their associated values."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q86832> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"de\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"de\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_6615", "question": "How many cultural properties on Wikidata have both an image and a specified location?", "sparql": "SELECT (COUNT(DISTINCT ?item) AS ?count) WHERE { ?item wdt:P31 wd:Q2065736 . ?item wdt:P18 ?image . ?item wdt:P131 ?location . }", "paraphrases": ["What is the count of cultural heritage items that are documented with an image and a geographic location?", "Can you tell me how many cultural properties are illustrated with images and assigned to an administrative region?"], "info": {"raw_sparql": "SELECT( COUNT ( DISTINCT ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2065736> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var4 . } ORDER BY DESC( ?var2 )"}}
{"id": "test_6616", "question": "Cities in the United States", "sparql": "SELECT DISTINCT ?city ?cityLabel WHERE { ?city (wdt:P31 / wdt:P279*) wd:Q515 . ?city wdt:P17 wd:Q30 . ?city rdfs:label ?cityLabel . FILTER(LANG(?cityLabel) = \"en\") }", "paraphrases": ["What are the cities in the United States?", "List all cities in the United States, including their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q30> . }"}}
{"id": "test_6617", "question": "What are all the superclass categories of the Pythagorean mean in Wikidata?", "sparql": "SELECT DISTINCT ?ancestor WHERE { { wd:Q3281360 wdt:P279 ?ancestor . } UNION { wd:Q3281360 wdt:P279/wdt:P279 ?ancestor . } UNION { wd:Q3281360 wdt:P279/wdt:P279/wdt:P279 ?ancestor . } UNION { wd:Q3281360 wdt:P279/wdt:P279/wdt:P279/wdt:P279 ?ancestor . } UNION { wd:Q3281360 wdt:P279/wdt:P279/wdt:P279/wdt:P279/wdt:P279 ?ancestor . } UNION { wd:Q3281360 wdt:P279/wdt:P279/wdt:P279/wdt:P279/wdt:P279/wdt:P279 ?ancestor . } UNION { wd:Q3281360 wdt:P279/wdt:P279/wdt:P279/wdt:P279/wdt:P279/wdt:P279/wdt:P279 ?ancestor . } UNION { wd:Q3281360 wdt:P279/wdt:P279/wdt:P279/wdt:P279/wdt:P279/wdt:P279/wdt:P279/wdt:P279 ?ancestor . } UNION { wd:Q3281360 wdt:P279/wdt:P279/wdt:P279/wdt:P279/wdt:P279/wdt:P279/wdt:P279/wdt:P279/wdt:P279 ?ancestor . } }", "paraphrases": ["Show me the full taxonomic hierarchy above Pythagorean mean, from direct parent to the top-level entity.", "What broader concepts does the Pythagorean mean belong to, going all the way up to the most general category?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q3281360> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_6618", "question": "What are the most common types of properties in Wikidata, and how many of each type exist?", "sparql": "SELECT (COUNT(?property) AS ?count) ?propertyType WHERE { ?property rdf:type wikibase:Property . ?property wikibase:propertyType ?propertyType . } GROUP BY ?propertyType ORDER BY DESC(?count)", "paraphrases": ["How is the distribution of property types across Wikidata? Show the count of properties for each type, ordered from most to least frequent.", "Which Wikidata property types are used the most, and which are rare?"], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) ?var3 WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var1 <http://wikiba.se/ontology#propertyType> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,en\". } } GROUP BY ?var3 ORDER BY DESC( ?var2 )"}}
{"id": "test_6619", "question": "Museums in Barcelona with their coordinates and labels", "sparql": "SELECT ?museum ?museumLabel ?coordinateWKT ?longitude ?latitude WHERE { ?museum wdt:P131 wd:Q1492 . ?museum wdt:P31 wd:Q33506 . ?museum p:P625 ?statement . ?statement ps:P625 ?coordinateWKT . ?statement psv:P625 ?coordinateNode . ?coordinateNode wikibase:geoLongitude ?longitude . ?coordinateNode wikibase:geoLatitude ?latitude . ?museum rdfs:label ?museumLabel . FILTER(LANG(?museumLabel) = \"en\") }", "paraphrases": ["What are the names, locations, and geographic coordinates of all museums in Barcelona?", "List all museums in Barcelona along with their English names and exact latitude and longitude coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q1492> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q33506> . ?var1 <http://www.wikidata.org/prop/P625> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P625> ?var2 . ?var5 <http://www.wikidata.org/prop/statement/value/P625> ?var6 . ?var6 <http://wikiba.se/ontology#geoLongitude> ?var3 . ?var6 <http://wikiba.se/ontology#geoLatitude> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6620", "question": "What is the image of the person with SNAC ARK ID \"w6v45g13\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6v45g13\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Can you show me the Wikimedia Commons image associated with Andreas Achenbach\u2019s SNAC identifier?", "Retrieve the image linked to the Social Networks and Archival Context (SNAC) ARK ID w6v45g13."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6v45g13\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6621", "question": "Paintings with known artists and their images", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?painting ?paintingLabel ?artist ?artistLabel ?image WHERE {\n  ?painting ( wdt:P31 / wdt:P279 * ) wd:Q3305213 .\n  ?painting rdfs:label ?paintingLabel .\n  FILTER ( LANG( ?paintingLabel ) = \"en\" ) OPTIONAL {\n    ?painting wdt:P170 ?artist .\n    ?artist rdfs:label ?artistLabel .\n    FILTER ( LANG( ?artistLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?painting wdt:P18 ?image .\n  }\n  FILTER EXISTS {\n    ?painting wdt:P170 ?artist\n  }\n}\nORDER BY ?paintingLabel\nLIMIT 100", "paraphrases": ["Which paintings have identified creators, and who are the artists?", "List the top 100 paintings with their creators and, if available, an image of the painting."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3305213> ; <http://wikiba.se/ontology#sitelinks> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P170> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( ( ?var3 > \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var3 ) LIMIT 100"}}
{"id": "test_6622", "question": "Humans with no children", "sparql": "SELECT ?human ?humanLabel WHERE { ?human wdt:P31 wd:Q5 . FILTER NOT EXISTS { ?human wdt:P40 [] . } ?human rdfs:label ?humanLabel . FILTER(LANG(?humanLabel) = \"en\") }", "paraphrases": ["Who are the humans who do not have any children?", "List all humans who have no recorded children, along with their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.wikidata.org/prop/novalue/P40> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nb,en\". } }"}}
{"id": "test_6623", "question": "Japanese voice actors with the surname Kat\u014d", "sparql": "SELECT ?person WHERE { ?person wdt:P106 wd:Q622807 . ?person wdt:P734 wd:Q15985375 .}", "paraphrases": ["Who are the Japanese voice actors/actresses whose family name is Kat\u014d?", "List all people who are Japanese voice actors and have the family name Kat\u014d."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q622807> . ?var1 <http://www.wikidata.org/prop/direct/P734> <http://www.wikidata.org/entity/Q15985375> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } }"}}
{"id": "test_6624", "question": "What properties are used to describe the Philippines in Wikidata, along with how many values each has and what those values are in English?", "sparql": "SELECT ?property (SAMPLE(?pl) AS ?propertyLabel) (COUNT(?value) AS ?valueCount) (GROUP_CONCAT(?vl; SEPARATOR=\", \") AS ?valueLabels) WHERE { wd:Q928 ?property ?value . ?value rdfs:label ?vl . FILTER(LANG(?vl) = \"en\") . ?propertyItem wikibase:directClaim ?property . ?propertyItem rdfs:label ?pl . FILTER(LANG(?pl) = \"en\") . } GROUP BY ?property", "paraphrases": ["Can you list the English labels of properties connected to the Philippines, how many times each is used, and the English names of the values they point to?", "Show me a summary of all the English-labeled properties and their values for the Philippines, including counts and value lists."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q928> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_6625", "question": "What is the most specific occupation infobox template that has a Russian Wikipedia page?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?template ?topic(COUNT(?subclass) AS ?subclassCount) WHERE {\n  ?template wdt:P31 wd:Q19887878 .\n  ?template wdt:P1423 ?topic .\n  ?topic wdt:P279 * wd:Q12737077 .\n  ?subclass wdt:P279 * ?topic .\n  FILTER(?subclass != ?topic)\n  ?wikipedia schema:about ?template ; schema:isPartOf <https://ru.wikipedia.org/> .\n}\nGROUP BY ?template ?topic\nORDER BY ASC(?subclassCount)\nLIMIT 1", "paraphrases": ["Which Wikipedia infobox template is used for the narrowest category of occupation, and is available in Russian?", "Find the infobox template for an occupation with the fewest subclasses that also has a corresponding article on the Russian Wikipedia."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ( COUNT ( ?var5 ) AS ?var6 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ( COUNT ( ?var7 ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19887878> . ?var1 <http://www.wikidata.org/prop/direct/P1423> ?var2 . <http://www.wikidata.org/entity/Q1042031> ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P106> ) ?var8 . ?var8 <http://www.wikidata.org/prop/direct/P279> * ?var7 . ?var7 <http://www.wikidata.org/prop/direct/P279> * ?var2 . } GROUP BY ?var1 ?var2 } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> * ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P279> * ?var3 . } } GROUP BY ?var1 ?var2 ?var3 ?var4 } FILTER ( ( EXISTS { ?var9 <http://schema.org/about> ?var1 . ?var9 <http://schema.org/isPartOf> <https://ru.wikipedia.org/> . } ) ) . } ORDER BY ASC( ?var4 ) DESC( ?var6 ) LIMIT 1"}}
{"id": "test_6626", "question": "Which human is linked to the Species Wiki page about Ar\u016bnas Di\u0161kus?", "sparql": "SELECT ?person WHERE { VALUES ?wikiPage { <https://species.wikimedia.org/wiki/Ar%C5%ABnas_Di%C5%A1kus> } ?wikiPage schema:about ?person . ?person wdt:P31 wd:Q5 .}", "paraphrases": ["Is Ar\u016bnas Di\u0161kus a human, and what is his Wikidata item based on the Species Wiki page?", "Find the Wikidata entity for Ar\u016bnas Di\u0161kus that is classified as a human and linked from the Species Wiki."], "info": {"raw_sparql": "SELECT * WHERE { VALUES ( ?var1 ) { ( <https://species.wikimedia.org/wiki/Arunas_Di\u0161kus> ) } ?var1 <http://schema.org/about> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_6627", "question": "Labels for Q40006707 and Q30345737, with default value 1 if missing.", "sparql": "SELECT ?entity ?label (COALESCE(?label, \"1\"^^xsd:integer) AS ?defaultLabel) WHERE { VALUES ?entity { wd:Q40006707 wd:Q30345737 } OPTIONAL { ?entity rdfs:label ?label } }", "paraphrases": ["What are the labels of the entities Q40006707 and Q30345737, and what is the default value if a label is not available?", "Return the labels of Vladimir Pustogarov (Q30345737) and the entity Q40006707; if no label exists, return 1."], "info": {"raw_sparql": "SELECT ?var1 ( IF ( REGEX ( STR ( ?var1Label ) , \"^Q[0-9]+$\" ) , ?var2Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3 ) WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q40006707> ) ( <http://www.wikidata.org/entity/Q30345737> ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"lv, fr\". } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . }"}}
{"id": "test_6628", "question": "Greek names of people born in 1203", "sparql": "SELECT ?label ?birthDate WHERE { ?person wdt:P569 ?birthDate . OPTIONAL { ?person rdfs:label ?label . FILTER(LANG(?label) = \"el\") } FILTER(?birthDate >= \"1203-01-01T00:00:00Z\"^^xsd:dateTime && ?birthDate <= \"1203-12-31T23:59:59Z\"^^xsd:dateTime) FILTER(BOUND(?label)) } ORDER BY ASC(?birthDate)", "paraphrases": ["Who were the people born in 1203 with Greek-language labels?", "List the Greek names and birth dates of individuals born in the year 1203."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P569> ?var2 . OPTIONAL { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"el\" ) ) ) . } FILTER ( ( ( ?var2 >= \"1203-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1203-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ?var1 ) ) . } ORDER BY ASC( ?var2 )"}}
{"id": "test_6629", "question": "Is Uta Syrbe\u2019s research field related to software?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q47160913 wdt:P106 ?occupation .\n  ?occupation wdt:P425 ?field .\n  ?field wdt:P279 * wd:Q7397 .\n}", "paraphrases": ["Does Uta Syrbe work in a field that is a subclass of software?", "Check whether Uta Syrbe\u2019s occupation has a field of work connected to software."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q47160913> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6630", "question": "Is Thomas Fouqueau a software developer, software engineer, or programmer?", "sparql": "ASK WHERE { wd:Q47160500 wdt:P106 ?occ . VALUES ?software_occupation { wd:Q183888 wd:Q1709010 wd:Q5482740 } ?occ (wdt:P279*) ?software_occupation .}", "paraphrases": ["Does Thomas Fouqueau have an occupation related to software development?", "Check whether Thomas Fouqueau\u2019s occupation is in the field of software engineering or programming."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q47160500> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6631", "question": "Software used for 3D computer graphics and their release dates", "sparql": "SELECT ?software ?softwareLabel ?inceptionDate WHERE { ?software wdt:P31 ?class . ?class wdt:P279* wd:Q7397 . ?software wdt:P366 wd:Q189177 . ?software wdt:P571 ?inceptionDate . ?software rdfs:label ?softwareLabel . FILTER(LANG(?softwareLabel) = \"en\") }", "paraphrases": ["Which software applications are used for 3D computer graphics, and when were they created?", "List the names and inception dates of software programs designed for 3D computer graphics."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/statement/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . ?var1 <http://www.wikidata.org/prop/direct/P366> <http://www.wikidata.org/entity/Q189177> . ?var1 <http://www.wikidata.org/prop/direct/P571> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6632", "question": "What are the English names and coordinates of all airports that have an IATA code?", "sparql": "SELECT DISTINCT ?airport ?airportLabel ?coordinates WHERE { ?airport wdt:P31 wd:Q1248784 . ?airport wdt:P238 ?iataCode . ?airport wdt:P625 ?coordinates . ?airport wdt:P1705 ?airportLabel . FILTER(LANG(?airportLabel) = \"en\") }", "paraphrases": ["List airports with IATA codes along with their locations in English.", "Show me the names and geographic coordinates of airports that are identified by IATA codes."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1248784> . ?var1 ?var3 <http://www.wikidata.org/entity/Q192824> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_6633", "question": "Open-source software projects affiliated with Software in the Public Interest", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?project ?projectLabel WHERE {\n  ?project wdt:P1416 wd:Q685777 .\n  ?project rdfs:label ?projectLabel .\n  FILTER ( LANG( ?projectLabel ) = \"en\" )\n}", "paraphrases": ["Which open-source software projects are affiliated with Software in the Public Interest (SPI)?", "List the English names of open-source software projects that are affiliated with SPI."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1416> <http://www.wikidata.org/entity/Q685777> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } }"}}
{"id": "test_6634", "question": "Airports and their countries", "sparql": "SELECT DISTINCT ?airport ?country ?airportLabel WHERE { ?airport wdt:P31 wd:Q1248784 . ?airport wdt:P17 ?country . ?airport rdfs:label ?airportLabel . FILTER(LANG(?airportLabel) = \"en\") }", "paraphrases": ["What are the airports in the world and which countries are they located in?", "List the English names of all airports along with the countries they are located in."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1248784> . }"}}
{"id": "test_6635", "question": "Streets in Amsterdam named after women", "sparql": "SELECT ?street ?streetLabel WHERE { ?street wdt:P31 wd:Q79007 . ?street wdt:P131 wd:Q9899 . ?street wdt:P138 ?person . ?person wdt:P31 wd:Q5 . ?person wdt:P21 wd:Q6581072 . ?street rdfs:label ?streetLabel . FILTER(LANG(?streetLabel) = \"nl\")}", "paraphrases": ["Which streets in Amsterdam are named after female historical figures?", "List the names of streets in Amsterdam that honor women as their namesakes."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q79007> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q9899> . ?var1 <http://www.wikidata.org/prop/direct/P138> <http://www.wikidata.org/entity/Q6581072> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,en\". } }"}}
{"id": "test_6636", "question": "Is George Rodriguez a researcher whose field of work is software?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  wd:Q47169022 wdt:P101 wd:Q7397 .\n}", "paraphrases": ["Does George Rodriguez work in the field of software?", "Is software the area of research for George Rodriguez?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q47169022> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6637", "question": "Is Michael C. Burger a type of software or a subclass of software?", "sparql": "ASK WHERE { wd:Q47167317 (wdt:P31/wdt:P279*) wd:Q7397 . }", "paraphrases": ["Does Michael C. Burger belong to a category that is a subclass of software?", "Check whether Michael C. Burger is classified as software or any of its subclasses."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q47167317> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6638", "question": "Is Mindaugas Margelevicius a type of software?", "sparql": "ASK WHERE { wd:Q47158265 ( wdt:P31 / wdt:P279* ) wd:Q7397 . }", "paraphrases": ["Does Mindaugas Margelevicius belong to a class that is a subclass of software?", "Is Mindaugas Margelevicius categorized as software?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q47158265> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6639", "question": "What are films with their creators and release years, listed alphabetically by title?", "sparql": "SELECT DISTINCT ?film ?filmLabel ?creatorLabel (YEAR(?inception) AS ?year) WHERE { ?film wdt:P31 wd:Q11424 . OPTIONAL { ?film wdt:P170 ?creator . } OPTIONAL { ?film wdt:P571 ?inception . } ?film rdfs:label ?filmLabel . FILTER(LANG(?filmLabel) = \"en\") } ORDER BY ASC(?filmLabel)", "paraphrases": ["Show me a list of films in English, along with who created them and when they were made, sorted by title.", "Retrieve films, their directors, and release dates, ordered by the film\u2019s English title."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ( YEAR ( ?var3 ) AS ?var4 ) ?var5 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11424> ; <http://wikiba.se/ontology#sitelinks> ?var5 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P170> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } FILTER ( ( ( ?var5 > \"70\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var5 )ASC( ?var1Label )"}}
{"id": "test_6640", "question": "German politicians affiliated with feminist or national conservative parties who have images on Wikimedia Commons.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel ?image ?partyLabel WHERE {\n  VALUES ?ideology {\n    wd:Q852739 wd:Q7252\n  }\n  ?party wdt:P1142 ?ideology .\n  ?party wdt:P17 wd:Q183 .\n  ?person wdt:P102 ?party .\n  ?person wdt:P18 ?image .\n  ?person rdfs:label ?personLabel .\n  ?party rdfs:label ?partyLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) FILTER ( LANG( ?partyLabel ) = \"en\" )\n}", "paraphrases": ["Who are German politicians that belong to political parties with either feminist or national conservative ideologies, and what are their images?", "List the names and images of German politicians who are members of political parties that identify as either feminist or national conservative, along with the names of those parties."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4 WHERE { { ?var3 <http://www.wikidata.org/prop/direct/P1142> <http://www.wikidata.org/entity/Q852739> . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P1142> <http://www.wikidata.org/entity/Q7252> . } BIND ( ( ?var5 = <http://www.wikidata.org/entity/Q852739> ) AS ?var4 ). ?var3 <http://www.wikidata.org/prop/direct/P1142> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P102> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . ?var3 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_6641", "question": "Who were French-speaking female, intersex, or transgender writers and poets alive in 1538, ranked by their Wikipedia article popularity?", "sparql": "SELECT ?name_fr ?country_name_fr ?bnf_id ?birth_year ?death_year (COUNT(?wikipedia_article) AS ?article_count)\nWHERE {\n  ?person wdt:P268 ?bnf_id .\n  ?person wdt:P1412 wd:Q150 .\n  {\n    ?person wdt:P106 wd:Q36180 .\n  } UNION {\n    ?person wdt:P106 wd:Q482980 .\n  } UNION {\n    ?person wdt:P106 wd:Q49757 .\n  }\n  \n  ?person wdt:P27 ?country .\n  \n  {\n    ?person wdt:P21 wd:Q6581072 .\n  } UNION {\n    ?person wdt:P21 wd:Q1097630 .\n  } UNION {\n    ?person wdt:P21 wd:Q1052281 .\n  } UNION {\n    ?person wdt:P21 wd:Q2449503 .\n  }\n  \n  OPTIONAL { ?person wdt:P569 ?birth_date . }\n  BIND(YEAR(?birth_date) AS ?birth_year)\n  \n  OPTIONAL { ?person wdt:P570 ?death_date . }\n  BIND(YEAR(?death_date) AS ?death_year)\n  \n  ?wikipedia_article schema:about ?person .\n  \n  OPTIONAL {\n    ?person rdfs:label ?name_fr .\n    FILTER(LANG(?name_fr) = \"fr\")\n  }\n  \n  OPTIONAL {\n    ?country rdfs:label ?country_name_fr .\n    FILTER(LANG(?country_name_fr) = \"fr\")\n  }\n  \n  FILTER(?birth_year <= 1538 && (!BOUND(?death_year) || ?death_year >= 1538))\n}\nGROUP BY ?name_fr ?country_name_fr ?bnf_id ?birth_year ?death_year\nORDER BY DESC(?article_count)\nLIMIT 10", "paraphrases": ["List the top 10 Francophone authors, poets, or writers from the 16th century who were alive in 1538, along with their country, BnF ID, and birth/death years.", "Find historical writers in French with a BnF ID who were born before or in 1538 and died after or in 1538, and show their French names, countries, and how popular their Wikipedia pages are."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 ( COUNT ( DISTINCT ?var6 ) AS ?var7 ) WHERE { { ?var8 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q36180> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q482980> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q49757> . } ?var8 <http://www.wikidata.org/prop/direct/P27> ?var9 . ?var8 <http://www.wikidata.org/prop/direct/P268> ?var3 . { ?var8 <http://www.wikidata.org/prop/direct/P1412> <http://www.wikidata.org/entity/Q150> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P1412> <http://www.wikidata.org/entity/Q1473289> . } { ?var8 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q1097630> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q1052281> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q2449503> . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/direct/P569> ?var10 . } BIND ( YEAR ( ?var10 ) AS ?var4 ). OPTIONAL { ?var8 <http://www.wikidata.org/prop/direct/P570> ?var11 . } BIND ( YEAR ( ?var11 ) AS ?var5 ). ?var6 <http://schema.org/about> ?var8 . OPTIONAL { ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"fr\" ) ) ) . } OPTIONAL { ?var9 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"fr\" ) ) ) . } FILTER ( ( ( ?var4 <= \"1538\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( ?var5 >= \"1538\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } GROUP BY ?var2 ?var1 ?var3 ?var4 ?var5 ORDER BY DESC( ?var7 )"}}
{"id": "test_6642", "question": "15th-century French-speaking female, trans, or intersex writers, poets, or authors with known birth and death dates, and their Wikipedia article counts.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?name ?countryLabelFinal ?bnfId ?birthYear ?deathYear(COUNT(DISTINCT ?article) AS ?articleCount) WHERE {\n  {\n    ?person wdt:P106 wd:Q36180 .\n  } UNION {\n    ?person wdt:P106 wd:Q482980 .\n  } UNION {\n    ?person wdt:P106 wd:Q49757 .\n  }\n  ?person wdt:P27 ?country .\n  ?person wdt:P268 ?bnfId .\n  {\n    ?person wdt:P1412 wd:Q150 .\n  } UNION {\n    ?person wdt:P1412 wd:Q1473289 .\n  }\n  {\n    ?person wdt:P21 wd:Q6581072 .\n  } UNION {\n    ?person wdt:P21 wd:Q1052281 .\n  } UNION {\n    ?person wdt:P21 wd:Q2449503 .\n  } UNION {\n    ?person wdt:P21 wd:Q1097630 .\n  }\n  ?person wdt:P569 ?birthDate .\n  ?person wdt:P570 ?deathDate .\n  BIND(YEAR(?birthDate) AS ?birthYear)\n  BIND(YEAR(?deathDate) AS ?deathYear)\n  ?article schema:about ?person .\n  OPTIONAL {\n    ?person rdfs:label ?name .\n    FILTER(LANG(?name) = \"fr\")\n  }\n  OPTIONAL {\n    ?country rdfs:label ?countryLabel .\n    FILTER(LANG(?countryLabel) = \"fr\")\n  }\n  FILTER(?birthYear <= 1448 && ?deathYear >= 1446)\n  BIND(COALESCE(?countryLabel , ?country) AS ?countryLabelFinal)\n}\nGROUP BY ?name ?countryLabelFinal ?bnfId ?birthYear ?deathYear\nORDER BY DESC(?articleCount)", "paraphrases": ["Who were the French-speaking female, trans, or intersex writers, authors, or poets alive between 1446 and 1448, and how many Wikipedia articles exist about each of them?", "List the French-labeled names, countries, BnF IDs, birth and death years, and Wikipedia article counts for 15th-century female, trans, or intersex writers, authors, or poets who were alive during the years 1446\u20131448."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 ( COUNT ( DISTINCT ?var6 ) AS ?var7 ) WHERE { { ?var8 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q36180> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q482980> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q49757> . } ?var8 <http://www.wikidata.org/prop/direct/P27> ?var9 . ?var8 <http://www.wikidata.org/prop/direct/P268> ?var3 . { ?var8 <http://www.wikidata.org/prop/direct/P1412> <http://www.wikidata.org/entity/Q150> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P1412> <http://www.wikidata.org/entity/Q1473289> . } { ?var8 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q1097630> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q1052281> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q2449503> . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/direct/P569> ?var10 . } BIND ( YEAR ( ?var10 ) AS ?var4 ). OPTIONAL { ?var8 <http://www.wikidata.org/prop/direct/P570> ?var11 . } BIND ( YEAR ( ?var11 ) AS ?var5 ). ?var6 <http://schema.org/about> ?var8 . OPTIONAL { ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"fr\" ) ) ) . } OPTIONAL { ?var9 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"fr\" ) ) ) . } FILTER ( ( ( ?var4 <= \"1448\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( ?var5 >= \"1446\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } GROUP BY ?var2 ?var1 ?var3 ?var4 ?var5 ORDER BY DESC( ?var7 )"}}
{"id": "test_6643", "question": "Image of George R. R. Martin based on SNAC ARK ID w6z97811", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6z97811\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w6z97811?", "Show me the Wikimedia Commons image for the person with SNAC ARK ID w6z97811."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6z97811\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6644", "question": "List all subclasses of artistic genre.", "sparql": "SELECT ?genreSubclass WHERE { ?genreSubclass wdt:P279* wd:Q483394 .}", "paraphrases": ["What are the different types of genres in Wikidata?", "Show me all specific genre categories that are subclasses of artistic genre."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q483394> . }"}}
{"id": "test_6645", "question": "Number of Wikipedia articles in all languages about airports in Peru with coordinates.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?countryLabel(COUNT(?language) AS ?articleCount) WHERE {\n  ?airport wdt:P31 wd:Q1248784 .\n  ?airport wdt:P17 ?country .\n  ?airport wdt:P625 ?coord .\n  ?wikipediaArticle schema:about ?airport ; schema:inLanguage ?language .\n  ?country rdfs:label ?countryLabel .\n  FILTER(LANG(?countryLabel) = \"en\")\n}\nGROUP BY ?countryLabel", "paraphrases": ["How many Wikipedia articles in different languages are there about airports in Peru that have geographic coordinates?", "Show me the total count of Wikipedia language versions for airports in Peru that have known coordinates."], "info": {"raw_sparql": "SELECT ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1248784> . ?var4 <http://www.wikidata.org/prop/direct/P17> ?var1 . FILTER ( ( ( ?var1 = <http://www.wikidata.org/entity/Q419> ) ) ) . ?var4 <http://www.wikidata.org/prop/direct/P625> ?var5 . ?var6 <http://schema.org/about> ?var4 ; <http://schema.org/inLanguage> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv,en\". } } GROUP BY ?var1Label"}}
{"id": "test_6646", "question": "Microbreweries with geographic coordinates", "sparql": "SELECT ?microbrewery ?location WHERE { ?microbrewery wdt:P31/wdt:P279* wd:Q5487333 . ?microbrewery wdt:P625 ?location . } LIMIT 10", "paraphrases": ["What are the locations of all microbreweries and their subclasses in Wikidata?", "Show me the coordinates of microbreweries, including those classified under broader categories like craft breweries."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5487333> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . }"}}
{"id": "test_6647", "question": "What are the communes in the French department of Doubs?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commune WHERE {\n  ?commune wdt:P31 wd:Q484170 .\n  ?commune wdt:P17 wd:Q142 .\n  ?commune wdt:P131 wd:Q3361 .\n}", "paraphrases": ["Can you list all the communes located in Doubs, France?", "Which municipalities in France are part of the Doubs department?"], "info": {"raw_sparql": "SELECT( isIRI ( ?var1 ) AS ?var2 ) WHERE { { SELECT * WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q484170> . ?var3 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q142> . ?var3 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q3361> . ?var3 <http://www.wikidata.org/prop/direct/P131> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6465> . } ORDER BY DESC( ?var3 ) LIMIT 10000 } }"}}
{"id": "test_6648", "question": "What audiovisual work has the \u010cSFD film ID 252584?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?csfdId WHERE {\n  ?item ( wdt:P31 / wdt:P279 * ) wd:Q2431196 .\n  ?item wdt:P2529 ?csfdId .\n  FILTER ( ?csfdId = \"252584\" )\n}", "paraphrases": ["Which TV show or film in the Czech-Slovak film database (\u010cSFD) is identified by the code 252584?", "Find the audiovisual work (such as a movie or TV program) with the \u010cSFD identifier 252584."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q2431196> . ?var1 <http://www.wikidata.org/prop/direct/P2529> ?var2 . FILTER ( ( ( ?var2 = \"252584\" ) ) ) . }"}}
{"id": "test_6649", "question": "What is the title, publication date, authors, journal, main subjects, and DOI of the scholarly article \"New Neotropical Nepticulidae (Lepidoptera) from the western Amazonian rainforest and the Andes of Ecuador\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?title ?publicationDate ?author ?journal ?mainSubject ?doi WHERE {\n  wd:Q47166718 wdt:P1476 ?title ; wdt:P577 ?publicationDate ; wdt:P50 ?author ; wdt:P1433 ?journal ; wdt:P921 ?mainSubject ; wdt:P356 ?doi .\n}", "paraphrases": ["Can you list the authors, journal, and main taxonomic subjects of the 2002 scientific paper on Nepticulidae moths from Ecuador, along with its DOI?", "Provide the bibliographic details of the 2002 article describing new Nepticulidae species in Ecuador, including its title, authors, publication venue, main topics, and digital identifier."], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q47166718> ?var1 ?var2 . }"}}
{"id": "test_6650", "question": "What are the subclasses of algebraic structure in mathematics, and how many instances does each have?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subclass ?subclassLabel(COUNT(?instance) AS ?instanceCount) WHERE {\n  wd:Q205464 wdt:P279 * ?subclass .\n  ?instance wdt:P31 ?subclass .\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER(LANG(?subclassLabel) = \"en\")\n}\nGROUP BY ?subclass ?subclassLabel\nORDER BY DESC(?instanceCount)", "paraphrases": ["List all mathematical structures derived from algebraic structures along with how many examples exist for each.", "Which types of mathematical objects are most commonly classified as subclasses of algebraic structure, and how many instances of each are there?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( DISTINCT ?var4 ) AS ?var3 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q205464> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var5 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"100\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> \"100\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P2820> ?var1 . } } GROUP BY ?var1 } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pt\". } }"}}
{"id": "test_6651", "question": "List all human settlements with their English names.", "sparql": "SELECT ?settlement ?settlementLabel WHERE { ?settlement wdt:P31 wd:Q486972 . ?settlement rdfs:label ?settlementLabel . FILTER(LANG(?settlementLabel) = \"en\") }", "paraphrases": ["What are the names of all human settlements in English?", "Show me the English labels of all places that are classified as human settlements."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q486972> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"yi,he\". } }"}}
{"id": "test_6652", "question": "Scholarly articles published in Zeitschrift f\u00fcr die Neutestamentliche Wissenschaft with English titles", "sparql": "SELECT ?article ?articleLabel ?title WHERE { ?article wdt:P31 wd:Q13442814 . ?article wdt:P1433 wd:Q186801 . ?article wdt:P1476 ?title . ?article rdfs:label ?articleLabel . FILTER(LANG(?articleLabel) = \"en\") } LIMIT 1000", "paraphrases": ["What are the English titles of scholarly articles published in the journal Zeitschrift f\u00fcr die Neutestamentliche Wissenschaft?", "List the titles of academic articles that appeared in the journal Zeitschrift f\u00fcr die Neutestamentliche Wissenschaft, in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q5633421> . ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P1433> <http://www.wikidata.org/entity/Q186801> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,nl,no,ru,sv,zh\". } } LIMIT 1000"}}
{"id": "test_6653", "question": "What properties in Hebrew describe entities that are states?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?property ?propertyLabel ?propertyDescription WHERE {\n  ?item ?prop wd:Q7275 .\n  ?property wikibase:directClaim ?prop .\n  ?property rdfs:label ?propertyLabel .\n  ?property schema:description ?propertyDescription .\n  FILTER ( LANG( ?propertyLabel ) = \"he\" ) .\n  FILTER ( LANG( ?propertyDescription ) = \"he\" ) .\n}\nLIMIT 100", "paraphrases": ["Which properties are used to link items to the concept of a state, and what are their Hebrew labels and descriptions?", "Show me the Hebrew names and descriptions of properties that are commonly used with states in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q7275> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"he\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"he\" ) ) ) . } LIMIT 100"}}
{"id": "test_6654", "question": "Books in the thriller genre", "sparql": "SELECT ?book ?bookLabel WHERE { ?book wdt:P31 wd:Q571 . ?book wdt:P136 wd:Q182015 . ?book rdfs:label ?bookLabel . FILTER(LANG(?bookLabel) = \"en\") }", "paraphrases": ["What are some thriller books?", "List English-named books that are thrillers."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q571> . ?var1 <http://www.wikidata.org/prop/direct/P136> <http://www.wikidata.org/entity/Q182015> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_6655", "question": "French-labeled political offices named \"pr\u00e9sident\"", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?office WHERE {\n  ?office rdfs:label \"pr\u00e9sident\" @fr .\n  ?office wdt:P31 wd:Q4164871\n}", "paraphrases": ["What political office in France is called \"pr\u00e9sident\"?", "Show me the French political office with the label \"pr\u00e9sident\"."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ( <http://www.w3.org/2000/01/rdf-schema#label> | <http://www.w3.org/2004/02/skos/core#altLabel> ) \"string1\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4164871> . }"}}
{"id": "test_6656", "question": "Scholarly articles authored by Philip G Conaghan, including publication venues, co-authors, and earliest publication date.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ( MIN( ?pubDate ) AS ?earliestPubDate ) ?work ?workLabel ( GROUP_CONCAT( DISTINCT ?typeLabel ; SEPARATOR = \", \" ) AS ?types ) ( SAMPLE( ?pages ) AS ?samplePages ) ?venue ?venueLabel ( GROUP_CONCAT( DISTINCT ?coAuthorLabel ; SEPARATOR = \", \" ) AS ?coAuthors ) WHERE {\n  ?work wdt:P50 wd:Q37829390 .\n  OPTIONAL {\n    ?work wdt:P577 ?pubDateLiteral .\n    BIND( xsd:date ( ?pubDateLiteral ) AS ?pubDate )\n  }\n  OPTIONAL {\n    ?work wdt:P31 ?type .\n    ?type rdfs:label ?typeLabel .\n    FILTER ( LANG( ?typeLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?work wdt:P1104 ?pages .\n  }\n  OPTIONAL {\n    ?work wdt:P1433 ?venue .\n    ?venue rdfs:label ?venueLabel .\n    FILTER ( LANG( ?venueLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?work wdt:P50 ?coAuthor .\n    ?coAuthor rdfs:label ?coAuthorLabel .\n    FILTER ( LANG( ?coAuthorLabel ) = \"en\" ) FILTER ( ?coAuthor != wd:Q37829390 )\n  }\n}\nGROUP BY ?work ?workLabel ?venue ?venueLabel\nORDER BY DESC ( ?earliestPubDate )", "paraphrases": ["What are the publications by Philip G Conaghan, who are his co-authors, and when was his earliest work published?", "List all scholarly works authored by Philip G Conaghan, showing their publication venues, co-authors (excluding himself), and sort them by the earliest publication date first."], "info": {"raw_sparql": "SELECT( MIN ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ( GROUP_CONCAT ( DISTINCT ?var4Label ; SEPARATOR = \", \" ) AS ?var5 )( SAMPLE ( ?var6 ) AS ?var7 ) ?var8 ?var8Label ( GROUP_CONCAT ( DISTINCT ?var9Label ; SEPARATOR = \", \" ) AS ?var10 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q37829390> . ?var3 <http://www.wikidata.org/prop/direct/P50> ?var11 . OPTIONAL { ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12 . FILTER ( ( ( LANG ( ?var12 ) = \"en\" ) ) ) . } BIND ( COALESCE ( ?var12 , SUBSTR ( STR ( ?var11 ) ,\"32\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var9Label ). OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . } OPTIONAL { BIND ( <http://www.w3.org/2001/XMLSchema#date> ( ?var13 ) AS ?var1 ). ?var3 <http://www.wikidata.org/prop/direct/P577> ?var13 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1104> ?var6 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,no,ru,sv,zh\". } } GROUP BY ?var3 ?var3Label ?var8 ?var8Label ORDER BY DESC( ?var2 )"}}
{"id": "test_6657", "question": "Most common properties linking entities to South Yorkshire, excluding single-use ones.", "sparql": "SELECT ?propertyItem ?propertyItemLabel ?count WHERE { { SELECT ?propertyItem ( COUNT(?item) AS ?count ) WHERE { ?item ?directProperty wd:Q23095 . ?propertyItem wikibase:directClaim ?directProperty . } GROUP BY ?propertyItem HAVING (?count > 1) } ?propertyItem rdfs:label ?propertyItemLabel . FILTER(LANG(?propertyItemLabel) = \"en\") } ORDER BY DESC(?count)", "paraphrases": ["Which properties are most frequently used to associate items with South Yorkshire, and how many times are they used?", "Show me the properties (with their labels) that connect the most entities to South Yorkshire, but only include those used more than once, sorted by usage count descending."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var4 ) AS ?var3 ) WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q23095> . ?var1 <http://wikiba.se/ontology#directClaim> ?var5 . } GROUP BY ?var1 ?var1Label HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } } ORDER BY DESC( ?var3 )"}}
{"id": "test_6658", "question": "Streets in Amsterdam named after people or places and their namesakes.", "sparql": "SELECT ?street ?streetLabel ?namedAfter ?namedAfterLabel WHERE { ?street wdt:P31 wd:Q79007 . ?street wdt:P131 wd:Q9899 . ?street wdt:P138 ?namedAfter . ?street rdfs:label ?streetLabel . ?namedAfter rdfs:label ?namedAfterLabel . FILTER(LANG(?streetLabel) = \"en\") FILTER(LANG(?namedAfterLabel) = \"en\") }", "paraphrases": ["Which streets in Amsterdam are named after whom, and what are their namesakes in English?", "List the English names of streets in Amsterdam and the people or places they are named after."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q79007> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q9899> . ?var1 <http://www.wikidata.org/prop/direct/P138> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P31> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,en\". } }"}}
{"id": "test_6659", "question": "Institutions associated with Karen Dempsey, their locations, and whether she worked or studied there.", "sparql": "SELECT DISTINCT ?image ?institution ?institutionLabel ?coordinates ?relationshipLabel WHERE { wd:Q47202449 ?relationshipProperty ?institution . ?institution ( ( p:P159 / pq:P625 ) | ( wdt:P276 * / wdt:P625 ) ) ?coordinates . ?propertyEntity wikibase:directClaim ?relationshipProperty . OPTIONAL { ?institution wdt:P18 ?image . } ?propertyEntity rdfs:label ?relationshipLabel . FILTER (LANG(?relationshipLabel) = \"en\") ?institution rdfs:label ?institutionLabel . FILTER (LANG(?institutionLabel) = \"en\") }", "paraphrases": ["Which universities did Karen Dempsey work for or study at, and where are they located? Also, show images of these universities and the nature of her association (e.g., employer or educated at).", "List all universities linked to Karen Dempsey with their geographic coordinates, images (if available), and whether she was employed by them or educated there \u2014 all in English."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ( ?var4Label AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q47202449> ?var6 ?var2 . ?var2 (( <http://www.wikidata.org/prop/P159> / <http://www.wikidata.org/prop/qualifier/P625> )|( <http://www.wikidata.org/prop/direct/P276> */ <http://www.wikidata.org/prop/direct/P625> )) ?var3 . ?var7 <http://wikiba.se/ontology#directClaim> ?var6 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,nl,no,ru,sv,zh\". } ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . }"}}
{"id": "test_6660", "question": "What is the Wikimedia Commons image associated with the SNAC ARK ID w69w0ddx?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w69w0ddx\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Show me the photo of the person whose SNAC ARK ID is w69w0ddx.", "Image of Ira Gershwin (SNAC ARK ID: w69w0ddx)"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w69w0ddx\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6661", "question": "Wikipedia articles about journal articles in different languages", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?article WHERE {\n  ?article schema:about wd:Q191067 .\n}", "paraphrases": ["Which language editions of Wikipedia have articles on journal articles?", "Show me all the Wikipedia pages that discuss journal articles, across different languages."], "info": {"raw_sparql": "SELECT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q191067> AS ?var2 ). ?var1 <http://schema.org/about> ?var2 . }"}}
{"id": "test_6662", "question": "What are the English and Portuguese labels for lexical entries that have translations in both languages?", "sparql": "SELECT ?item ?labelEn ?labelPt WHERE { ?item rdfs:label ?labelEn . FILTER(LANG(?labelEn) = \"en\") . ?item rdfs:label ?labelPt . FILTER(LANG(?labelPt) = \"pt\") } LIMIT 100", "paraphrases": ["Show me words or phrases that have both an English and a Portuguese definition in Wikidata.", "Which terms in Wikidata are defined in both English and Portuguese?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ?var2 ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) || ( LANG ( ?var3 ) = \"pt\" ) ) ) . } LIMIT 100"}}
{"id": "test_6663", "question": "What are the English and Portuguese labels for the movie \"Inception\"?", "sparql": "SELECT ?label ?lang WHERE { wd:Q25188 rdfs:label ?label . FILTER(LANG(?label) = 'en' || LANG(?label) = 'pt') }", "paraphrases": ["How is the film \"Inception\" called in English and Portuguese?", "Show me the names of the movie Inception in English and Portuguese."], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/statement/Q10320255-B78FC306-7E3A-4B14-B91E-64243F02731B> ?var1 ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) || ( LANG ( ?var2 ) = \"pt\" ) ) ) . } LIMIT 1000"}}
{"id": "test_6664", "question": "English Wikipedia pages about quantum mechanics", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?page ?item WHERE {\n  BIND( wd:Q944 AS ?item ) .\n  ?page schema:about ?item .\n  ?page schema:inLanguage \"en\" .\n}", "paraphrases": ["What is the English Wikipedia article about the Wikidata item for quantum mechanics?", "Show me the English-language Wikimedia pages that are about the quantum mechanics concept."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { BIND ( <http://www.wikidata.org/entity/Q191067> AS ?var2 ). ?var1 <http://schema.org/about> ?var2 . ?var2 <http://wikiba.se/ontology#language> \"en\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q171> . }"}}
{"id": "test_6665", "question": "What are some examples of aviation incidents recorded in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var1 ?var1Label WHERE {\n  ?var1 wdt:P31 wd:Q3149875 .\n  ?var1 rdfs:label ?var1Label .\n  FILTER ( LANG( ?var1Label ) = \"en\" )\n}\nLIMIT 1000", "paraphrases": ["Can you list the English names of all known aviation incidents?", "Show me the names of events classified as aviation incidents in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q15733640> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 1000"}}
{"id": "test_6666", "question": "Is Carlos Dickinson classified as a type of software?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q9184682 ( wdt:P31 / wdt:P279 * ) wd:Q7397 .\n}", "paraphrases": ["Does Carlos Dickinson belong to any category that is a subclass of software?", "Is there any path from Carlos Dickinson\u2019s type to software through inheritance of categories?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q9184682> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6667", "question": "Is Arthur Rushen classified as software or any type of software?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q9160493 wdt:P31 / wdt:P279 * wd:Q7397 .\n}", "paraphrases": ["Does Arthur Rushen belong to the class of software or any of its superclasses?", "Check whether Arthur Rushen is an instance of software or any of its parent categories."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q9160493> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6668", "question": "Image of John Bovee Dods with SNAC ARK ID w6jm53sf", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6jm53sf\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6jm53sf?", "Show me the Wikimedia Commons image for the person identified by SNAC ARK ID w6jm53sf."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6jm53sf\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6669", "question": "What are some given names in Spanish?", "sparql": "SELECT ?name ?nameLabel WHERE { ?name wdt:P31 wd:Q202444 . ?name dct:language wd:Q1321 . ?name rdfs:label ?nameLabel . }", "paraphrases": ["Which first names are used in the Spanish language?", "List the Spanish given names stored in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var3Label ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q202444> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var1 <http://www.wikidata.org/prop/direct/P407> <http://www.wikidata.org/entity/Q29> . }"}}
{"id": "test_6670", "question": "Is John Ibbotson a type of software?", "sparql": "ASK WHERE { wd:Q3181797 (wdt:P31/wdt:P279*) wd:Q7397 . }", "paraphrases": ["Does the category that John Ibbotson belongs to include software?", "Could John Ibbotson be classified as a kind of computer program?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q3181797> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6671", "question": "Image of William Blair-Bell with SNAC ARK ID w65h7f11", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w65h7f11\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image of William Blair-Bell, identified by the SNAC ARK ID w65h7f11?", "Show me the Wikimedia Commons image associated with William Blair-Bell\u2019s SNAC ARK ID w65h7f11."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w65h7f11\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6672", "question": "What protein is encoded by the gene with NCBI locus tag lmo0235 in Listeria monocytogenes?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?gene ?protein WHERE {\n  ?taxon wdt:P685 \"169963\" .\n  ?gene wdt:P2393 \"lmo0235\" ; wdt:P703 ?taxon ; wdt:P688 ?protein .\n}", "paraphrases": ["In Listeria monocytogenes, which protein does the gene lmo0235 encode?", "Show me the protein product of the gene lmo0235 from Listeria monocytogenes."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P685> \"169963\". ?var1 <http://www.wikidata.org/prop/direct/P2393> \"lmo0235\"; <http://www.wikidata.org/prop/direct/P703> ?var3 ; <http://www.wikidata.org/prop/direct/P688> ?var2 . }"}}
{"id": "test_6673", "question": "Is Dmytro Koczyndyk classified as software or a subtype of software?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q9208018 wdt:P31 / wdt:P279 * wd:Q7397 .\n}", "paraphrases": ["Is Dmytro Koczyndyk an instance of a class that is a subclass of software?", "Check whether Dmytro Koczyndyk belongs to any category that is a subclass of software."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q9208018> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6674", "question": "Is Cezary Marek Graj a type of software?", "sparql": "ASK WHERE { wd:Q9188441 (wdt:P31/wdt:P279*) wd:Q7397 . }", "paraphrases": ["Does Cezary Marek Graj belong to any category that is a subclass of software?", "Could Cezary Marek Graj be considered a form of computer software?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q9188441> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6675", "question": "Is Jan Scherff an instance of a category that is a subclass of software?", "sparql": "ASK WHERE { wd:Q21499557 (wdt:P31/wdt:P279*) wd:Q7397 . }", "paraphrases": ["Could Jan Scherff be classified as software?", "Does Jan Scherff belong to any class that is a type of software?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q21499557> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6676", "question": "What are the English and German Wikipedia pages about Atlantic Airways, and what is its official website?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?company ?label ?page WHERE {\n  ?company wdt:P856 ?website .\n  FILTER regex( str( ?website ) , \"^(https?://)?(www\\\\.)?atlantic\\\\.fo(/)?$\" ) .\n  ?page schema:about ?company .\n  ?page schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" ) .\n  ?company rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" || LANG( ?label ) = \"de\" )\n}", "paraphrases": ["Which Wikipedia and Wikinews pages in English or German mention Atlantic Airways, and what are the company\u2019s labels in those languages?", "Find all English and German-language Wikipedia pages related to Atlantic Airways and confirm its official website is atlantic.fo."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.atlantic.fo/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.atlantic.fo/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.atlantic.fo/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.atlantic.fo/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.atlantic.fo/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.atlantic.fo> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.atlantic.fo> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://atlantic.fo> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://atlantic.fo> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://atlantic.fo/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://atlantic.fo/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6677", "question": "What are the English and German Wikipedia pages for CommuteAir, and what is its official website?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?company ?companyLabel ?wikipediaPage WHERE {\n  ?company wdt:P856 <https://www.flycommutair.com/> .\n  ?wikipediaPage schema:about ?company .\n  {\n    ?wikipediaPage schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipediaPage schema:inLanguage \"de\" .\n  }\n  ?company rdfs:label ?companyLabel .\n  FILTER(LANG(?companyLabel) = \"en\")\n}", "paraphrases": ["Which English and German Wikipedia pages link to the airline CommuteAir, and what is its official website?", "Show me the English label of CommuteAir and its associated English and German Wikipedia pages, given that its official website is https://www.flycommutair.com/."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.flycommutair.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.flycommutair.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.flycommutair.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.flycommutair.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.flycommutair.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.flycommutair.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.flycommutair.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://flycommutair.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://flycommutair.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://flycommutair.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://flycommutair.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6678", "question": "Is Karl Wertgartner classified as a type of software?", "sparql": "ASK WHERE { wd:Q16565565 (wdt:P31/wdt:P279*) wd:Q7397 . }", "paraphrases": ["Does Karl Wertgartner belong to any category that is a subclass of software?", "Confirm whether Karl Wertgartner is a kind of software based on Wikidata\u2019s classification hierarchy."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q16565565> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6679", "question": "Official website of Yeti Airlines and its English and German Wikipedia pages.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?company ?companyLabel ?wikipediaPage WHERE {\n  ?company wdt:P856 <http://www.yetiairlines.com> .\n  ?wikipediaPage schema:about ?company ; schema:inLanguage ?lang .\n  FILTER(?lang IN('en' , 'de'))\n  .\n  OPTIONAL {\n    ?company rdfs:label ?companyLabel .\n    FILTER(LANG(?companyLabel) = 'en')\n  }\n}", "paraphrases": ["What are the English and German Wikipedia pages about Yeti Airlines, and what is its official website?", "Show me the English Wikipedia page and German Wikipedia page for Yeti Airlines, along with its official website and company name in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.yetiairlines.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.yetiairlines.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.yetiairlines.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.yetiairlines.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.yetiairlines.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.yetiairlines.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.yetiairlines.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://yetiairlines.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://yetiairlines.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://yetiairlines.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://yetiairlines.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6680", "question": "Is Paul Spitzkopf an instance of a type that is a subclass of software?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q11813725 wdt:P31 / wdt:P279 * wd:Q7397 .\n}", "paraphrases": ["Does Paul Spitzkopf belong to any category that is a kind of software?", "Is Paul Spitzkopf classified as software or any broader category that includes software?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q11813725> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6681", "question": "Subclasses of novel in Wikidata", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subclass ?subclassLabel WHERE {\n  VALUES ?novel {\n    wd:Q8261\n  }\n  {\n    ?subclass wdt:P279 ?novel .\n  } UNION {\n    ?subclass wdt:P279 ?intermediate .\n    ?intermediate wdt:P279 ?novel .\n  }\n  OPTIONAL {\n    ?subclass rdfs:label ?subclassLabel .\n    FILTER ( LANG( ?subclassLabel ) = \"en\" )\n  }\n}", "paraphrases": ["What are the different types of novels, including subgenres, according to Wikidata?", "List all direct and indirect subclasses of the literary form \"novel\", along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q8261> ) } ?var1 <http://www.wikidata.org/prop/direct/P279> * ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } }"}}
{"id": "test_6682", "question": "Communes in Gironde department, France", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commune ?communeLabel ?departmentLabel WHERE {\n  ?commune wdt:P31 wd:Q484170 .\n  ?commune wdt:P17 wd:Q142 .\n  ?commune wdt:P131 wd:Q12526 .\n  wd:Q12526 rdfs:label ?departmentLabel .\n  FILTER ( LANG( ?departmentLabel ) = \"en\" ) .\n  ?commune rdfs:label ?communeLabel .\n  FILTER ( LANG( ?communeLabel ) = \"en\" )\n}", "paraphrases": ["What are the communes in the Gironde department of France, and what is the name of the department they belong to?", "List all communes located in Gironde, France, along with the department name."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label WHERE { { SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q484170> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q142> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q12526> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6465> . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } }"}}
{"id": "test_6683", "question": "Image of Granville Stuart with SNAC ARK ID w6sx72z9", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6sx72z9\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image of Granville Stuart, identified by the SNAC ARK ID w6sx72z9?", "Show me the Wikimedia Commons image for Granville Stuart, whose SNAC ARK ID is w6sx72z9."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6sx72z9\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6684", "question": "What properties are used to link entities to the 18th German Bundestag?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?propertyLabel WHERE {\n  ?item ?property wd:Q15081430 .\n  FILTER ( STRSTARTS( STR( ?property ) , \"http://www.wikidata.org/prop/direct/\" ) ) .\n  BIND( IRI( REPLACE( STR( ?property ) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\" ) ) AS ?propertyItem ) .\n  ?propertyItem rdfs:label ?propertyLabel .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" )\n}\nORDER BY ?propertyLabel", "paraphrases": ["Which relationships connect other items to the 18th German Bundestag in Wikidata?", "Can you list the English labels of all Wikidata properties that have the 18th German Bundestag as their object?"], "info": {"raw_sparql": "SELECT ?var1Label WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q15081430> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_6685", "question": "List entities and their labels in Wikidata.", "sparql": "SELECT ?item ?label WHERE { ?item rdfs:label ?label . } LIMIT 10", "paraphrases": ["What are the labels assigned to entities in Wikidata?", "Show me the entities along with their human-readable labels from Wikidata."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ?var2 ?var3 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#label> . } LIMIT 10"}}
{"id": "test_6686", "question": "Nobel Prize in Physiology or Medicine winners and their birthplaces", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?laureate ?laureateLabel ?birthplace WHERE {\n  ?laureate wdt:P166 wd:Q80061 .\n  ?laureate wdt:P19 ?birthplace .\n  ?laureate rdfs:label ?laureateLabel .\n  FILTER ( LANG( ?laureateLabel ) = \"en\" )\n}", "paraphrases": ["Who are the recipients of the Nobel Prize in Physiology or Medicine, and where were they born?", "List the English names of Nobel Prize in Physiology or Medicine laureates along with their birth locations."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P166> <http://www.wikidata.org/entity/Q80061> . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P625> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6687", "question": "Consecutive calendar dates after 1900 with both dates occurring in Wikidata events.", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?date1 ?date2 WHERE {\n  ?item1 wdt:P585 ?date1 .\n  ?item2 wdt:P585 ?date2 .\n  FILTER ( ?date1 >= \"1900-01-01T00:00:00Z\" ^^ xsd:dateTime ) FILTER ( ?date1 < \"2020-01-01T00:00:00Z\" ^^ xsd:dateTime ) FILTER ( YEAR( ?date2 ) = YEAR( ?date1 ) && MONTH( ?date2 ) = MONTH( ?date1 ) && DAY( ?date2 ) = DAY( ?date1 ) + 1 )\n}\nLIMIT 100", "paraphrases": ["What are pairs of consecutive calendar dates between 1900 and 2020 that appear as event dates in Wikidata?", "Show me 100 examples of two days in a row, both after 1900, that are recorded as event dates in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 ?var5 ?var5Label ( STRAFTER ( STR ( ?var3 ) , \"y/\" ) AS ?var6 )( \"P31\" AS ?var7 )( \"Q47150325\" AS ?var8 )( \"P156\" AS ?var9 )( STRAFTER ( STR ( ?var5 ) , \"y/\" ) AS ?var10 ) WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q47150325> ; <http://www.wikidata.org/prop/direct/P585> ?var11 . FILTER ( ( ( YEAR ( ?var11 ) > \"1800\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var3 <http://www.wikidata.org/prop/P31> ?var12 . ?var12 <http://www.wikidata.org/prop/statement/P31> <http://www.wikidata.org/entity/Q47150325> . OPTIONAL { ?var12 <http://www.wikidata.org/prop/qualifier/P156> ?var13 . } FILTER ( ( !( BOUND ( ?var13 ) ) ) ) . ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q47150325> ; <http://www.wikidata.org/prop/direct/P585> ?var14 . FILTER ( ( ( YEAR ( ?var14 ) > \"1800\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( ( ?var14 - ?var11 ) = \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 1000"}}
{"id": "test_6688", "question": "Is the MediaWiki extension \"PageViewInfo\" a type of human?", "sparql": "ASK WHERE { wd:Q25931189 (wdt:P31/wdt:P279*) wd:Q5 . }", "paraphrases": ["Does the software extension PageViewInfo belong to any class that is a subclass of human?", "Is PageViewInfo, a MediaWiki extension, categorized under any hierarchy that includes humans?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q25931189> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6689", "question": "Film with Cineplex Germany film ID 248355", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P3077 \"248355\" .\n}", "paraphrases": ["What film has the Cineplex Germany film ID 248355?", "Show me the film identified by the Cineplex ID 248355."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3077> \"248355\". }"}}
{"id": "test_6690", "question": "What are the multilingual descriptions, PubMed, PMC, and Fatcat IDs, and main subjects (in English) of the academic article \"BioNames: linking taxonomy, texts, and trees\"?", "sparql": "SELECT ?description ?pubmedId ?pmcId ?fatcatId ?mainSubject ?mainSubjectLabel WHERE { wd:Q28661767 schema:description ?description . wd:Q28661767 p:P698 ?pubmedStmt . ?pubmedStmt ps:P698 ?pubmedId . wd:Q28661767 p:P932 ?pmcStmt . ?pmcStmt ps:P932 ?pmcId . wd:Q28661767 p:P8608 ?fatcatStmt . ?fatcatStmt ps:P8608 ?fatcatId . wd:Q28661767 p:P921 ?mainStmt . ?mainStmt ps:P921 ?mainSubject . ?mainSubject rdfs:label ?mainSubjectLabel . FILTER(LANG(?mainSubjectLabel) = \"en\") }", "paraphrases": ["Can you list all the language descriptions of the 2013 article \"BioNames: linking taxonomy, texts, and trees\", along with its PubMed ID, PMC ID, Fatcat ID, and its main topics in English?", "Please provide the descriptions in different languages of the article \"BioNames: linking taxonomy, texts, and trees\", as well as its external identifiers (PubMed, PMC, Fatcat) and the English labels of its two main subjects."], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q28661767> ?var1 ?var2 . }"}}
{"id": "test_6691", "question": "French name Eric Lucas in Wikidata", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?item WHERE {\n  ?item rdfs:label \"Eric Lucas\" @fr .\n}", "paraphrases": ["Who is Eric Lucas in French?", "Find the Wikidata item for the person named Eric Lucas in French."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1559> \"eric lucas\"@fr . }"}}
{"id": "test_6692", "question": "Writers born on January 12", "sparql": "SELECT DISTINCT ?person WHERE { ?person wdt:P31 wd:Q5 ; wdt:P106/wdt:P279* wd:Q36180 ; wdt:P569 ?birthDate . FILTER ( MONTH(?birthDate) = 1 && DAY(?birthDate) = 12 ) } LIMIT 10", "paraphrases": ["Who are the writers born on January 12?", "List up to 10 human writers (including those in subclasses like novelist or screenwriter) who were born on January 12."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q36180> ; <http://www.wikidata.org/prop/direct/P569> ?var2 . FILTER ( ( ( MONTH ( ?var2 ) = \"01\" ) && ( DAY ( ?var2 ) = \"12\" ) ) ) . } LIMIT 10"}}
{"id": "test_6693", "question": "What are the types of professions in Wikidata?", "sparql": "SELECT DISTINCT ?professionLabel WHERE { ?profession (wdt:P31/wdt:P279*) wd:Q28640 . ?profession rdfs:label ?professionLabel . FILTER(LANG(?professionLabel) = \"en\") }", "paraphrases": ["Which classes are considered types of professions according to Wikidata?", "List all English labels for classes that are classified as professions or subclasses of professions in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label WHERE { ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q28640> . }"}}
{"id": "test_6694", "question": "Spanish municipalities in Soria Province with postal codes, official websites, and OpenStreetMap IDs.", "sparql": "SELECT DISTINCT ?municipality ?label ?postalCode ?website ?osmRelationId WHERE { ?municipality wdt:P31 wd:Q2074737 . ?municipality wdt:P131 wd:Q55276 . OPTIONAL { ?municipality wdt:P281 ?postalCode . } OPTIONAL { ?municipality wdt:P856 ?website . } OPTIONAL { ?municipality wdt:P402 ?osmRelationId . } ?municipality rdfs:label ?label . FILTER (LANG(?label) = \"es\") }", "paraphrases": ["What are the Spanish-language names, postal codes, official websites, and OpenStreetMap relation IDs of municipalities in Soria Province, Spain?", "List all municipalities in Soria Province, Spain, along with their Spanish names, postal codes, websites, and OpenStreetMap IDs."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2074737> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q55276> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P281> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P402> ?var5 . } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"es\" ) ) ) . }"}}
{"id": "test_6695", "question": "List 100 humans with their English names and dates of birth.", "sparql": "SELECT ?human ?humanLabel ?birthDate WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P569 ?birthDate . ?human rdfs:label ?humanLabel . FILTER(LANG(?humanLabel) = \"en\") } LIMIT 100", "paraphrases": ["Who are some humans, what are their names in English, and when were they born?", "Show me up to 100 people who are classified as humans, along with their English labels and birth dates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/p569> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 100"}}
{"id": "test_6696", "question": "What are the different types of athletes listed in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?athleteType ?label WHERE {\n  ?athleteType wdt:P279 wd:Q2066131 ; rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["What are the English-labeled subclasses of the occupation \"athlete\" in Wikidata?", "Can you list all specific kinds of athletes, like pitcher or League of Legends player, that are classified as subclasses of athlete in Wikidata, using their English labels?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q2066131> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . }"}}
{"id": "test_6697", "question": "Humans with \"Georg\" in their name, their English descriptions, and images.", "sparql": "SELECT ?person ?label ?image ?description WHERE { ?person wdt:P31 wd:Q5 . ?person rdfs:label ?label . ?person schema:description ?description . FILTER (LANG(?label) = \"en\") . FILTER (LANG(?description) = \"en\") . FILTER (CONTAINS(LCASE(?label), \"georg\")) . OPTIONAL { ?person wdt:P18 ?image . } } LIMIT 10", "paraphrases": ["Who are the humans whose English name contains \"Georg\", and what are their descriptions and images?", "List up to 10 humans named with \"Georg\" in their English label, along with their English descriptions and any associated images from Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var4 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . FILTER ( ( CONTAINS ( ?var2Label , \"Georg\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 10"}}
{"id": "test_6698", "question": "Image of George Weston Anderson with SNAC ARK ID w62c1svb", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w62c1svb\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the Wikimedia Commons image associated with the SNAC ARK ID w62c1svb?", "Show me the photo of the person whose SNAC ARK ID is w62c1svb."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w62c1svb\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6699", "question": "Image for George Washington Gift (SNAC ARK ID w6b01f6c)", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6b01f6c\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6b01f6c?", "Show me the Wikimedia Commons image for the entity with SNAC ARK ID w6b01f6c."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6b01f6c\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6700", "question": "People in the Swedish Musical Heritage database with birth dates from the Dictionary of Swedish National Biography, including their SBL ID and entry title.", "sparql": "PREFIX prov: <http://www.w3.org/ns/prov#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX pr: <http://www.wikidata.org/prop/reference/>\nSELECT ?person ?personLabel ?sblId ?sblTitle ?sblBirthDate ?precisionLabel WHERE {\n  ?person wdt:P4607 ?musicalHeritageId .\n  ?person p:P569 ?birthStatement .\n  ?birthStatement ps:P569 ?sblBirthDate .\n  ?birthStatement psv:P569 ?birthValue .\n  ?birthValue wikibase:timePrecision ?precision .\n  ?birthStatement prov:wasDerivedFrom ?ref .\n  ?ref pr:P248 wd:Q379406 .\n  OPTIONAL {\n    ?ref pr:P3217 ?sblId .\n  }\n  OPTIONAL {\n    ?ref pr:P1476 ?sblTitle .\n  }\n  BIND(IF(?precision = 9 , \"\u00e5r\" , IF(?precision = 10 , \"m\u00e5nad\" , IF(?precision = 11 , \"dag\" , STR(?precision)))) AS ?precisionLabel)\n}\nORDER BY ?personLabel", "paraphrases": ["Who are the musicians in the Swedish Musical Heritage database that have a biography in the Dictionary of Swedish National Biography, and what are their birth dates and SBL entry titles?", "List all individuals linked to the Swedish Musical Heritage database who have a birth record in the Dictionary of Swedish National Biography, showing their SBL ID, the title of their biography entry, and their exact birth date."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ( ?var3 AS ?var4 ) ?var5 ?var6Label ( ?var7 AS ?var8 ) ?var9 ?var10 ?var11 WHERE { BIND ( IF ( ( ?var12 = \"11\"^^<http://www.w3.org/2001/XMLSchema#integer> ), \"dag\", IF ( ( ?var12 = \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ), \"m\u00e5nad\", IF ( ( ?var12 = \"9\"^^<http://www.w3.org/2001/XMLSchema#integer> ), \"\u00e5r\", ?var12 ) ) ) AS ?var5 ). BIND ( IF ( ( ?var12 = \"9\"^^<http://www.w3.org/2001/XMLSchema#integer> ), YEAR ( ?var13 ) , ?var13 ) AS ?var3 ). ?var1 <http://www.wikidata.org/prop/direct/P4607> ?var14 . ?var1 <http://www.wikidata.org/prop/P569> ?var15 . ?var15 <http://www.wikidata.org/prop/statement/P569> ?var13 . ?var15 <http://www.wikidata.org/prop/statement/value/P569> ?var16 . ?var16 <http://wikiba.se/ontology#timePrecision> ?var12 . ?var15 <http://www.w3.org/ns/prov#wasDerivedFrom> ?var17 . ?var17 <http://www.wikidata.org/prop/reference/P143> ?var6 . OPTIONAL { ?var17 <http://www.wikidata.org/prop/reference/P248> ?var18 . } BIND ( IF ( ( ?var19 = \"11\"^^<http://www.w3.org/2001/XMLSchema#integer> ), \"dag\", IF ( ( ?var19 = \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ), \"m\u00e5nad\", IF ( ( ?var19 = \"9\"^^<http://www.w3.org/2001/XMLSchema#integer> ), \"\u00e5r\", ?var19 ) ) ) AS ?var9 ). FILTER ( ( !( BOUND ( ?var18 ) ) ) ) . ?var1 <http://www.wikidata.org/prop/P569> ?var20 . ?var20 <http://www.wikidata.org/prop/statement/P569> ?var7 . ?var20 <http://www.wikidata.org/prop/statement/value/P569> ?var21 . ?var21 <http://wikiba.se/ontology#timePrecision> ?var19 . ?var20 <http://www.w3.org/ns/prov#wasDerivedFrom> ?var22 . ?var22 <http://www.wikidata.org/prop/reference/P248> <http://www.wikidata.org/entity/Q379406> . OPTIONAL { ?var22 <http://www.wikidata.org/prop/reference/P3217> ?var10 . } OPTIONAL { ?var22 <http://www.wikidata.org/prop/reference/P1476> ?var11 . } BIND ( <http://www.w3.org/2001/XMLSchema#integer> ( ( ?var13 - ?var7 ) ) AS ?var2 ). BIND ( IF ( ( ?var2 < \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ), ( \"-1\"^^<http://www.w3.org/2001/XMLSchema#integer> * ?var2 ) , ?var2 ) AS ?var23 ). FILTER ( ( ( ?var13 != ?var7 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv,en\". } } ORDER BY DESC( ?var23 )"}}
{"id": "test_6701", "question": "Coordinates of Enfield Vicarage and its administrative area.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?buildingCoords ?administrativeAreaCoords WHERE {\n  wd:Q26352284 wdt:P625 ?buildingCoords .\n  OPTIONAL {\n    wd:Q26352284 wdt:P131 ?adminArea .\n    ?adminArea wdt:P625 ?administrativeAreaCoords .\n  }\n}", "paraphrases": ["What are the geographic coordinates of Enfield Vicarage and the administrative entity it belongs to?", "Show me the exact location of Enfield Vicarage and the centroid of the borough it is located in."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q26352284> <http://www.wikidata.org/prop/direct/P625> ?var1 . OPTIONAL { <http://www.wikidata.org/entity/Q26352284> <http://www.wikidata.org/prop/direct/P131> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var2 . } }"}}
{"id": "test_6702", "question": "Scholarly articles by Carina Blomstr\u00f6m-Lundqvist, including co-authors and journals.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?work ?workLabel ( GROUP_CONCAT( DISTINCT ?instanceTypeLabel ; SEPARATOR = \", \" ) AS ?instanceTypes ) ?journal ?journalLabel ( GROUP_CONCAT( DISTINCT ?coAuthorLabel ; SEPARATOR = \", \" ) AS ?coAuthors ) WHERE {\n  ?work wdt:P50 wd:Q47261899 .\n  ?work rdfs:label ?workLabel .\n  FILTER ( LANG( ?workLabel ) = \"en\" ) OPTIONAL {\n    ?work wdt:P1433 ?journal .\n    ?journal rdfs:label ?journalLabel .\n    FILTER ( LANG( ?journalLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?work wdt:P31 ?instanceType .\n    ?instanceType rdfs:label ?instanceTypeLabel .\n    FILTER ( LANG( ?instanceTypeLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?work wdt:P50 ?coAuthor .\n    ?coAuthor rdfs:label ?coAuthorLabel .\n    FILTER ( LANG( ?coAuthorLabel ) = \"en\" )\n  }\n}\nGROUP BY ?work ?workLabel ?journal ?journalLabel\nORDER BY DESC ( ?workLabel )\nLIMIT 50", "paraphrases": ["What are the publications authored by Carina Blomstr\u00f6m-Lundqvist, and who are her co-authors and where were they published?", "List all works written by Carina Blomstr\u00f6m-Lundqvist, showing their publication venues, types (e.g., scholarly article), and co-authors."], "info": {"raw_sparql": "SELECT( MIN ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ( GROUP_CONCAT ( DISTINCT ?var4Label ; SEPARATOR = \", \" ) AS ?var5 )( SAMPLE ( ?var6 ) AS ?var7 ) ?var8 ?var8Label ( GROUP_CONCAT ( DISTINCT ?var9Label ; SEPARATOR = \", \" ) AS ?var10 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q47261899> . ?var3 <http://www.wikidata.org/prop/direct/P50> ?var11 . OPTIONAL { ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12 . FILTER ( ( ( LANG ( ?var12 ) = \"en\" ) ) ) . } BIND ( COALESCE ( ?var12 , SUBSTR ( STR ( ?var11 ) ,\"32\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var9Label ). OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . } OPTIONAL { BIND ( <http://www.w3.org/2001/XMLSchema#date> ( ?var13 ) AS ?var1 ). ?var3 <http://www.wikidata.org/prop/direct/P577> ?var13 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1104> ?var6 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,no,ru,sv,zh\". } } GROUP BY ?var3 ?var3Label ?var8 ?var8Label ORDER BY DESC( ?var2 )"}}
{"id": "test_6703", "question": "Creative works about house cats", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?work ?workLabel WHERE {\n  ?work wdt:P921 wd:Q146 .\n  ?work rdfs:label ?workLabel\n  FILTER(LANG(?workLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["What movies, books, or other creative works have the house cat as their main subject?", "List English-labeled creative works that are primarily about domestic cats."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P136> <http://www.wikidata.org/entity/Q146> . ?var1 <http://www.wikidata.org/prop/P136> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_6704", "question": "What groups have members with a specific occupation, and what are those occupations?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?group ?groupLabel ?occupation ?occupationLabel WHERE {\n  ?group wdt:P3989 ?occupation .\n  ?group rdfs:label ?groupLabel .\n  ?occupation rdfs:label ?occupationLabel .\n  FILTER ( LANG( ?groupLabel ) = \"en\" ) FILTER ( LANG( ?occupationLabel ) = \"en\" )\n}", "paraphrases": ["Which organizations or teams consist of people who are, for example, actors or composers, and what are the names of those groups?", "List all groups and the occupations of their members, such as the Greensboro Four being university students or I's Sound having composers."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3989> ?var2 . } }"}}
{"id": "test_6705", "question": "French women with native names starting with \"Sonia\"", "sparql": "SELECT DISTINCT ?item ?nativeName WHERE { ?item wdt:P1559 ?nativeName . FILTER(LANG(?nativeName) = 'fr') . FILTER(STRSTARTS(LCASE(?nativeName), 'sonia')) }", "paraphrases": ["Who are the French women whose native names begin with \"Sonia\"?", "List all people in Wikidata whose native name in French starts with \"Sonia\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1559> \"sonia l\u00e9on\"@fr . }"}}
{"id": "test_6706", "question": "Image of Isaac Benrubi from SNAC ARK ID w67v0dpj", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w67v0dpj\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Isaac Benrubi's SNAC ARK ID (w67v0dpj)?", "Show me the Wikimedia Commons image of the person identified by SNAC ARK ID w67v0dpj."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w67v0dpj\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6707", "question": "What are all the episodes of the TV series Tatort?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?episode ?episodeTitle WHERE {\n  ?episode wdt:P179 wd:Q689438 .\n  ?episode wdt:P1476 ?episodeTitle .\n}\nORDER BY ?episodeTitle\nLIMIT 2000", "paraphrases": ["Can you list the titles of all episodes in the German crime series Tatort, sorted alphabetically?", "I want to know the names of every episode of Tatort \u2014 can you provide them?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { BIND ( <http://www.wikidata.org/entity/Q689438> AS ?var3 ). ?var1 <http://www.wikidata.org/prop/direct/P179> ?var3 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/qualifier/P1545> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,de,en\". } } ORDER BY ASC( ?var2 ) LIMIT 2000"}}
{"id": "test_6708", "question": "List all Wikidata properties used for authority control of people.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?propertyLabel WHERE {\n  ?property wdt:P31 wd:Q19595382 .\n  ?property rdfs:label ?propertyLabel .\n  FILTER(LANG(?propertyLabel) = \"en\")\n}", "paraphrases": ["Which Wikidata properties are used to uniquely identify individuals through authority control systems?", "Show me the English labels of all Wikidata properties that are instances of 'authority control for people', such as ORCID or VIAF identifiers."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19595382> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } }"}}
{"id": "test_6709", "question": "Communes in Deux-S\u00e8vres, France", "sparql": "SELECT ?commune ?communeLabel ?departmentLabel WHERE { ?commune wdt:P31 wd:Q484170 . ?commune wdt:P17 wd:Q142 . ?commune wdt:P131 wd:Q12765 . wd:Q12765 wdt:P31 wd:Q6465 . MINUS { wd:Q12765 wdt:P576 [] . } wd:Q12765 rdfs:label ?departmentLabel . ?commune rdfs:label ?communeLabel . FILTER(LANG(?communeLabel) = \"en\") FILTER(LANG(?departmentLabel) = \"en\") }", "paraphrases": ["What are the communes in the French department of Deux-S\u00e8vres?", "List the names of all communes located in Deux-S\u00e8vres, France, along with the department name, ensuring the department is still active."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label WHERE { { SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q484170> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q142> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q12765> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6465> . MINUS { ?var3 <http://www.wikidata.org/prop/direct/P576> [] . } } LIMIT 20000 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } }"}}
{"id": "test_6710", "question": "Countries with English, Polish, and Esperanto labels", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?country ?label_en ?label_pl ?label_eo WHERE {\n  ?country wdt:P31 wd:Q6256 .\n  ?country rdfs:label ?label_en .\n  FILTER ( LANG( ?label_en ) = \"en\" ) .\n  ?country rdfs:label ?label_pl .\n  FILTER ( LANG( ?label_pl ) = \"pl\" ) .\n  ?country rdfs:label ?label_eo .\n  FILTER ( LANG( ?label_eo ) = \"eo\" ) .\n}", "paraphrases": ["What are the English, Polish, and Esperanto names of all countries?", "Show me the names of all countries in English, Polish, and Esperanto."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"pl\" ) ) ) . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"eo\" ) ) ) . }"}}
{"id": "test_6711", "question": "What properties are used for Montenegro, and what are their values in English?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?propertyLabel ( COUNT( ?value ) AS ?valueCount ) ( GROUP_CONCAT( ?valueLabel ; SEPARATOR = \", \" ) AS ?valueLabels ) WHERE {\n  wd:Q236 ?property ?value .\n  ?value rdfs:label ?valueLabel .\n  FILTER ( LANG( ?valueLabel ) = \"en\" ) .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?propertyLabel .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" ) .\n}\nGROUP BY ?property ?propertyLabel", "paraphrases": ["Can you list all the English-labeled properties of Montenegro, how many values each has, and what those values are?", "Show me a summary of Montenegro\u2019s data profile: for each property connected to it in English, give the property name, the number of values, and the list of those values."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q236> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_6712", "question": "What is the name of the school identified by Wikidata ID Q795826?", "sparql": "SELECT ?school ?schoolLabel WHERE { BIND( wd:Q795826 AS ?school ) . ?school rdfs:label ?schoolLabel . }", "paraphrases": ["Can you tell me the label of the entity wd:Q795826?", "What are the available names for BEST-Sabel-Grundschule in different languages?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { BIND ( <http://www.wikidata.org/entity/Q795826> AS ?var1 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ar\". } }"}}
{"id": "test_6713", "question": "Labels for Roxane disambiguation page in English, French, German, and Italian, along with its French Wikipedia link and social media identifiers.", "sparql": "SELECT ?label ?image ?coord ?youtube ?github ?twitter ?facebook ?instagram ?website ?orcid ?wikipediaArticle WHERE { VALUES ?lang { \"en\" \"fr\" \"de\" \"it\" } wd:Q354265 rdfs:label ?label . FILTER(LANG(?label) = ?lang) OPTIONAL { wd:Q354265 wdt:P18 ?image } OPTIONAL { wd:Q354265 wdt:P625 ?coord } OPTIONAL { wd:Q354265 wdt:P1651 ?youtube } OPTIONAL { wd:Q354265 wdt:P2037 ?github } OPTIONAL { wd:Q354265 wdt:P2002 ?twitter } OPTIONAL { wd:Q354265 wdt:P2013 ?facebook } OPTIONAL { wd:Q354265 wdt:P2003 ?instagram } OPTIONAL { wd:Q354265 wdt:P856 ?website } OPTIONAL { wd:Q354265 wdt:P496 ?orcid } OPTIONAL { ?wikipediaArticle schema:about wd:Q354265 ; schema:inLanguage \"fr\" ; schema:isPartOf <https://fr.wikipedia.org/> . } } ORDER BY ?lang", "paraphrases": ["What are the labels for the disambiguation page 'Roxane' in English, French, German, and Italian, and what is its corresponding French Wikipedia article?", "Show me the multilingual labels for the Wikidata item Q354265 (Roxane disambiguation), its French Wikipedia page, and any associated image, coordinates, YouTube, GitHub, Twitter, Facebook, Instagram, website, or ORCID ID."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q354265> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var12 ) ) ) . VALUES ( ?var12 ?var13 ) { ( \"fr\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q354265> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q354265> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q354265> <http://www.wikidata.org/prop/direct/P1651> ?var5 . } OPTIONAL { <http://www.wikidata.org/entity/Q354265> <http://www.wikidata.org/prop/direct/P2037> ?var6 . } OPTIONAL { <http://www.wikidata.org/entity/Q354265> <http://www.wikidata.org/prop/direct/P2002> ?var7 . } OPTIONAL { <http://www.wikidata.org/entity/Q354265> <http://www.wikidata.org/prop/direct/P2013> ?var8 . } OPTIONAL { <http://www.wikidata.org/entity/Q354265> <http://www.wikidata.org/prop/direct/P2003> ?var9 . } OPTIONAL { <http://www.wikidata.org/entity/Q354265> <http://www.wikidata.org/prop/direct/P856> ?var10 . } OPTIONAL { <http://www.wikidata.org/entity/Q354265> <http://www.wikidata.org/prop/direct/P496> ?var11 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q354265> ; <http://schema.org/inLanguage> \"fr\"; <http://schema.org/isPartOf> <https://fr.wikipedia.org/> . } } ORDER BY ASC( ?var13 )"}}
{"id": "test_6714", "question": "Businesses in the United States, skipping the first 10,000 results.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?business ?businessLabel WHERE {\n  ?business(wdt:P31 / wdt:P279 *) wd:Q4830453 ; wdt:P17 wd:Q30 .\n  ?business rdfs:label ?businessLabel .\n  FILTER(LANG(?businessLabel) = \"en\")\n}\nLIMIT 200\nOFFSET 10000", "paraphrases": ["What are some businesses located in the United States, starting from the 10,001st entry?", "List the English names of businesses (including subtypes like restaurants or corporations) in the United States, starting from the 10,001st result and showing the next 200."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q4830453> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q30> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 200 OFFSET 10000"}}
{"id": "test_6715", "question": "People with the surname Payen in French", "sparql": "SELECT DISTINCT ?person WHERE { ?person wdt:P31/wdt:P279* wd:Q5 ; wdt:P1559 ?nativeName . FILTER(LANG(?nativeName) = 'fr') . FILTER(CONTAINS(LCASE(STR(?nativeName)), 'payen')) }", "paraphrases": ["Who are the people whose native French name includes \"Payen\"?", "List all humans whose native name in French contains \"Payen\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1559> \"Payen\"@fr . }"}}
{"id": "test_6716", "question": "English label, description, and image of Floyd, Iowa", "sparql": "SELECT ?label ?description ?image WHERE { OPTIONAL { wd:Q1932698 rdfs:label ?label . FILTER ( LANG(?label) = \"en\" ) } OPTIONAL { wd:Q1932698 wdt:P18 ?image . } OPTIONAL { wd:Q1932698 schema:description ?description . FILTER ( LANG(?description) = \"en\" ) } }", "paraphrases": ["What is the English name, description, and image of the city Floyd in Iowa?", "Show me the English label, description, and Wikimedia Commons image for Floyd, Iowa."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q1932698> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q1932698> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q1932698> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_6717", "question": "Most used property to classify entities as goddesses in Wikidata", "sparql": "SELECT ?propertyItem (COUNT(?item) AS ?count) WHERE { ?item ?prop wd:Q205985 . FILTER(STRSTARTS(STR(?prop), \"http://www.wikidata.org/prop/direct/\")) BIND(IRI(REPLACE(STR(?prop), \"http://www.wikidata.org/prop/direct/\", \"http://www.wikidata.org/entity/\")) AS ?propertyItem) } GROUP BY ?propertyItem ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which property is most commonly used to state that something is a goddess?", "Show me the property that is used the most to classify entities as goddesses, along with how many times it's used."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q205985> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_6718", "question": "List all communes in Essonne, France, with their English names.", "sparql": "SELECT ?commune ?communeLabel ?departmentLabel WHERE { ?commune wdt:P31 wd:Q484170 . ?commune wdt:P17 wd:Q142 . ?commune wdt:P131 wd:Q3368 . FILTER NOT EXISTS { wd:Q3368 wdt:P576 [] } . ?commune rdfs:label ?communeLabel . BIND(\"Essonne\" AS ?departmentLabel) . FILTER(LANG(?communeLabel) = \"en\") }", "paraphrases": ["What are the names of the communes located in the Essonne department of France?", "Please provide the English names of all communes in Essonne, France, that are still active."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label WHERE { { SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q484170> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q142> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q3368> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6465> . MINUS { ?var3 <http://www.wikidata.org/prop/direct/P576> [] . } } LIMIT 20000 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } }"}}
{"id": "test_6719", "question": "People with native French names containing \"de Boisson\"", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person WHERE {\n  ?person wdt:P1559 ?name .\n  FILTER ( LANG( ?name ) = 'fr' ) .\n  FILTER ( REGEX( ?name , \"de\\\\s+boisson\" , \"i\" ) )\n}", "paraphrases": ["Who are the people whose native name in French includes \"de Boisson\"?", "List all individuals whose French native name contains the substring \"de Boisson\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1559> \"De boisson\"@fr . }"}}
{"id": "test_6720", "question": "Image of the person with SNAC ARK ID w61g0jz4", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w61g0jz4\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image of John Crichton-Stuart, 3rd Marquess of Bute, as identified by the SNAC ARK ID w61g0jz4?", "Show me the Wikimedia Commons image associated with the SNAC ARK ID w61g0jz4."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w61g0jz4\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6721", "question": "Ministerial positions in the Second Merkel Cabinet", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?position ?positionLabel WHERE {\n  wd:Q632985 wdt:P2670 ?position .\n  ?position rdfs:label ?positionLabel .\n  FILTER ( LANG( ?positionLabel ) = \"en\" )\n}", "paraphrases": ["What are the ministerial roles in Angela Merkel\u2019s second government?", "List the English-labeled federal minister positions that were part of the Second Merkel Cabinet."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q632985> <http://www.wikidata.org/prop/direct/P2670> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6722", "question": "What are the months of the French Republican Calendar?", "sparql": "SELECT ?month ?monthLabel WHERE { ?month wdt:P279 wd:Q18602415 . ?month rdfs:label ?monthLabel . FILTER(LANG(?monthLabel) = \"en\") }", "paraphrases": ["Which months are part of the French Republican Calendar?", "List all the months used in the French Republican Calendar."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q18602415> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6723", "question": "Is Louis Antoine de Gontaut classified under any category that is a type of software?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q768786 wdt:P31 ?type .\n  ?type wdt:P279 * wd:Q7397 .\n}", "paraphrases": ["Does Louis Antoine de Gontaut belong to a class that is a subclass of software?", "Check whether Louis Antoine de Gontaut is an instance of a category that falls under software."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q768786> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6724", "question": "List all scholarly works by Georgia Tsiliki, including their publication dates, journals, types (e.g., article or chapter), number of pages, and co-authors.", "sparql": "SELECT \n  (MIN(?pubDate) AS ?earliestPublicationDate) \n  ?work \n  ?workLabel \n  (GROUP_CONCAT(DISTINCT ?instanceLabel; SEPARATOR=\", \") AS ?instanceTypes) \n  (SAMPLE(?numberOfPages) AS ?sampledPages) \n  ?publishedIn \n  ?publishedInLabel \n  (GROUP_CONCAT(DISTINCT ?authorLabel; SEPARATOR=\", \") AS ?coAuthors)\nWHERE {\n  ?work wdt:P50 wd:Q28854903 .  # Works authored by Georgia Tsiliki\n\n  # Get publication date\n  OPTIONAL { ?work wdt:P577 ?pubDateRaw . BIND(xsd:date(?pubDateRaw) AS ?pubDate) }\n\n  # Get instance of (type)\n  OPTIONAL {\n    ?work wdt:P31 ?instance .\n    ?instance rdfs:label ?instanceLabel .\n    FILTER(LANG(?instanceLabel) = \"en\")\n  }\n\n  # Get number of pages\n  OPTIONAL { ?work wdt:P1104 ?numberOfPages }\n\n  # Get published in\n  OPTIONAL {\n    ?work wdt:P1433 ?publishedIn .\n    ?publishedIn rdfs:label ?publishedInLabel .\n    FILTER(LANG(?publishedInLabel) = \"en\")\n  }\n\n  # Get work label\n  ?work rdfs:label ?workLabel .\n  FILTER(LANG(?workLabel) = \"en\")\n\n  # Get all authors (including Georgia Tsiliki) and their labels\n  OPTIONAL {\n    ?work wdt:P50 ?author .\n    ?author rdfs:label ?authorLabel .\n    FILTER(LANG(?authorLabel) = \"en\")\n  }\n}\nGROUP BY ?work ?workLabel ?publishedIn ?publishedInLabel\nORDER BY DESC(?earliestPublicationDate)", "paraphrases": ["What are the publications authored by Georgia Tsiliki, and who are her co-authors, along with the journals they were published in and their publication dates?", "Show me a list of Georgia Tsiliki\u2019s publications with their titles, publication years, journals, types (like scholarly article or chapter), co-authors, and number of pages, sorted by the most recent first."], "info": {"raw_sparql": "SELECT( MIN ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ( GROUP_CONCAT ( DISTINCT ?var4Label ; SEPARATOR = \", \" ) AS ?var5 )( SAMPLE ( ?var6 ) AS ?var7 ) ?var8 ?var8Label ( GROUP_CONCAT ( DISTINCT ?var9Label ; SEPARATOR = \", \" ) AS ?var10 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q28854903> . ?var3 <http://www.wikidata.org/prop/direct/P50> ?var11 . OPTIONAL { ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12 . FILTER ( ( ( LANG ( ?var12 ) = \"en\" ) ) ) . } BIND ( COALESCE ( ?var12 , SUBSTR ( STR ( ?var11 ) ,\"32\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var9Label ). OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . } OPTIONAL { BIND ( <http://www.w3.org/2001/XMLSchema#date> ( ?var13 ) AS ?var1 ). ?var3 <http://www.wikidata.org/prop/direct/P577> ?var13 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1104> ?var6 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,no,ru,sv,zh\". } } GROUP BY ?var3 ?var3Label ?var8 ?var8Label ORDER BY DESC( ?var2 )"}}
{"id": "test_6725", "question": "Is Africanis a breed?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q516079 wdt:P31 / wdt:P279 * wd:Q38829\n}", "paraphrases": ["Is Africanis an instance of a class that is a subclass of breed?", "Confirm whether Africanis belongs to the category of breeds."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q516079> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6726", "question": "What works have been published in Poland?", "sparql": "SELECT ?work ?workLabel ?statement (SAMPLE(?qualifierValue) AS ?qualifier) WHERE { ?work p:P291 ?statement . ?statement ps:P291 wd:Q36 . OPTIONAL { ?statement ?qualifierProperty ?qualifierValue . ?qualifierProperty wikibase:qualifier true . } ?work rdfs:label ?workLabel . FILTER(LANG(?workLabel) = \"en\") } GROUP BY ?work ?workLabel ?statement LIMIT 100", "paraphrases": ["Can you list the titles of creative works (like books or albums) that were published in Poland, along with any additional publication details?", "Show me works associated with Poland as their place of publication, including their English titles and any qualifier information such as edition or date."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P1433> <http://www.wikidata.org/entity/Q36> . ?var1 <http://www.wikidata.org/prop/P1433> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_6727", "question": "Is New Orleans a type of software or a subclass of software?", "sparql": "ASK WHERE { wd:Q34404 (wdt:P31/wdt:P279*) wd:Q7397 . }", "paraphrases": ["Does New Orleans belong to the class hierarchy of software, either directly or through inheritance?", "Confirm whether New Orleans is categorized as software or any of its subclasses."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q34404> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6728", "question": "Is V473 Lyrae a star or a subclass of star?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q6828699 ( wdt:P31 / wdt:P279 * ) wd:Q523 .\n}", "paraphrases": ["Does V473 Lyrae belong to the class of stars through direct or indirect classification?", "Confirm whether V473 Lyrae is categorized as a star, including any of its subclasses."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q6828699> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6729", "question": "What are the types of spouse relationships, and what are their broader categories?", "sparql": "SELECT DISTINCT ?subclass ?subclassLabel ?directParent WHERE { { wd:Q1196129 wdt:P279 ?subclass . OPTIONAL { ?subclass wdt:P279 ?directParent . } OPTIONAL { ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") } } UNION { wd:Q1196129 wdt:P279 ?parent . ?parent wdt:P279 ?subclass . OPTIONAL { ?subclass wdt:P279 ?directParent . } OPTIONAL { ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") } } }", "paraphrases": ["Show me subclasses of \"spouse\" up to two levels deep, along with their English labels and immediate parent classes.", "Can you list all the more specific types of spouse, such as significant other or relative, and what they are subclasses of?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1196129> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6730", "question": "Image of the person with SNAC ARK ID w6d63dkb", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6d63dkb\" . ?item wdt:P18 ?image }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6d63dkb?", "Show me the Wikimedia Commons image for the individual identified by the SNAC ARK ID w6d63dkb."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6d63dkb\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6731", "question": "Who has \"Eric Cantona\" as their native name in French?", "sparql": "SELECT DISTINCT ?person WHERE { ?person wdt:P1559 \"Eric Cantona\" @fr . }", "paraphrases": ["Which person is known by the native name Eric Cantona in French?", "Find the Wikidata item for the French person whose native name is Eric Cantona."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1559> \"Eric Wable\"@fr . }"}}
{"id": "test_6732", "question": "Is Frank H. Mahnke an instance of a class that is a subclass of software?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  wd:Q47022801 wdt:P31 / wdt:P279 * wd:Q7397\n}", "paraphrases": ["Was Frank H. Mahnke classified under any category that is a type of software?", "Confirm whether Frank H. Mahnke\u2019s type or any of its superclasses is software."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q47022801> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6733", "question": "What are the organizations associated with Edward Impey, their locations, and the nature of the association?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT DISTINCT ?image ?organization ?organizationLabel ?coordinates ?propertyLabel WHERE {\n  wd:Q24263689 ?property ?organization .\n  ?organization ( ( p:P159 / pq:P625 ) | ( wdt:P276 * / wdt:P625 ) ) ?coordinates .\n  ?propertyItem wikibase:directClaim ?property .\n  OPTIONAL {\n    ?organization wdt:P18 ?image .\n  }\n  ?propertyItem rdfs:label ?propertyLabel .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" )\n}", "paraphrases": ["Show me the places Edward Impey is connected to (like schools or employers), their geographic coordinates, and the type of relationship, along with any images.", "List all organizations linked to Edward Impey (e.g., where he was educated or employed), including their coordinates and the English label of the relationship type."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ( ?var4Label AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q24263689> ?var6 ?var2 . ?var2 (( <http://www.wikidata.org/prop/P159> / <http://www.wikidata.org/prop/qualifier/P625> )|( <http://www.wikidata.org/prop/direct/P276> */ <http://www.wikidata.org/prop/direct/P625> )) ?var3 . ?var7 <http://wikiba.se/ontology#directClaim> ?var6 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,nl,no,ru,sv,zh\". } ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . }"}}
{"id": "test_6734", "question": "What are all the taxonomic ancestors of the blue whale, and what is each one\u2019s immediate parent?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestor ?ancestorLabel ?parent WHERE {\n  wd:Q42196 wdt:P171 * ?ancestor .\n  OPTIONAL {\n    ?ancestor wdt:P171 ?parent .\n  }\n  ?ancestor rdfs:label ?ancestorLabel .\n  FILTER(LANG(?ancestorLabel) = \"en\")\n}\nORDER BY ?ancestorLabel", "paraphrases": ["Show the full biological classification hierarchy of the blue whale, including each level and its parent.", "List the English names of all higher taxa above the blue whale in the tree of life, along with their direct parent taxa."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q42196> <http://www.wikidata.org/prop/direct/P171> * ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P171> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6735", "question": "Is My\u014dgi-Arafune-Saku K\u014dgen Quasi-National Park classified as a human?", "sparql": "ASK WHERE { wd:Q1069265 ( wdt:P31 / wdt:P279 * ) wd:Q5 . }", "paraphrases": ["Is the My\u014dgi-Arafune-Saku K\u014dgen Quasi-National Park an instance of a human or any subclass of human?", "Confirm whether My\u014dgi-Arafune-Saku K\u014dgen Quasi-National Park belongs to the category of humans through any inheritance chain."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q1069265> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6736", "question": "Airports with their coordinates and English labels", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?airport ?airportLabel ?coordinates WHERE {\n  ?airport wdt:P31 wd:Q1248784 .\n  ?airport wdt:P625 ?coordinates .\n  ?airport rdfs:label ?airportLabel .\n  FILTER ( LANG( ?airportLabel ) = \"en\" )\n}", "paraphrases": ["What are the English names and geographic coordinates of all airports?", "Show me a list of airports, including their English names and exact geographic coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q1248784> <http://www.wikidata.org/prop/direct/P625> * ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6737", "question": "German cities with Wikipedia pages and images", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?city ?cityLabel ?wikipediaPage ?image WHERE {\n  ?city(wdt:P31 / wdt:P279 *) wd:Q515 .\n  ?city wdt:P17 wd:Q183 .\n  ?wikipediaPage schema:about ?city ; schema:isPartOf <https://de.wikipedia.org/> .\n  OPTIONAL {\n    ?city wdt:P18 ?image .\n  }\n  ?city rdfs:label ?cityLabel .\n  FILTER(LANG(?cityLabel) = \"de\")\n}", "paraphrases": ["What are the cities in Germany, their German Wikipedia articles, and their associated images?", "List all cities and towns in Germany with links to their German Wikipedia pages and any available images from Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label ?var3 ?var4 ?var5 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://de.wikipedia.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } }"}}
{"id": "test_6738", "question": "What is the most specific infobox template associated with dreadnought battleships?", "sparql": "SELECT ?template ?topic ?hasRuPage WHERE { { SELECT ?topic (COUNT(?mid) AS ?pathLength) WHERE { wd:Q847109 wdt:P279+ ?mid . ?mid wdt:P279* ?topic . } GROUP BY ?topic ORDER BY ASC(?pathLength) LIMIT 1 } ?template wdt:P31 wd:Q19887878 . ?template wdt:P1423 ?topic . OPTIONAL { ?wikipedia schema:about ?template ; schema:isPartOf <https://ru.wikipedia.org/> . BIND(BOUND(?wikipedia) AS ?hasRuPage) } }", "paraphrases": ["Does the infobox template for battleships have a Russian Wikipedia page?", "Which Wikipedia infobox template best matches the category of dreadnought, and is it available in Russian?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ( COUNT ( ?var5 ) AS ?var6 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ( COUNT ( ?var7 ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19887878> . ?var1 <http://www.wikidata.org/prop/direct/P1423> ?var2 . <http://www.wikidata.org/entity/Q847109> ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P106> ) ?var8 . ?var8 <http://www.wikidata.org/prop/direct/P279> * ?var7 . ?var7 <http://www.wikidata.org/prop/direct/P279> * ?var2 . } GROUP BY ?var1 ?var2 } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> * ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P279> * ?var3 . } } GROUP BY ?var1 ?var2 ?var3 ?var4 } FILTER ( ( EXISTS { ?var9 <http://schema.org/about> ?var1 . ?var9 <http://schema.org/isPartOf> <https://ru.wikipedia.org/> . } ) ) . } ORDER BY ASC( ?var4 ) DESC( ?var6 ) LIMIT 1"}}
{"id": "test_6739", "question": "Author of the article \"Whitland Abbey, Carmarthenshire: a Cistercian site re-examined, 1994\u201399\" and their ORCID or fallback URL.", "sparql": "SELECT ?author ?authorLabel ( COALESCE ( ?orcid , CONCAT ( \"https://orcid.org/\" , ENCODE_FOR_URI( ?authorLabel ) ) ) AS ?orcidUrl ) WHERE { wd:Q47168803 wdt:P50 ?author . OPTIONAL { ?author wdt:P496 ?orcid . } ?author rdfs:label ?authorLabel . FILTER (LANG(?authorLabel) = \"en\") }", "paraphrases": ["Who is the author of the academic article about Whitland Abbey, and what is their ORCID identifier or a URL constructed from their name if no ORCID exists?", "Show me the name of the author of the article \"Whitland Abbey, Carmarthenshire: a Cistercian site re-examined, 1994\u201399\" and provide their ORCID if available; otherwise, generate a URL using their name."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COALESCE ( ?var2 , CONCAT ( \"string1\", ENCODE_FOR_URI ( ?var1Label ) ) ) AS ?var3 ) WHERE { <http://www.wikidata.org/entity/Q47168803> <http://www.wikidata.org/prop/direct/P50> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,da,de,es,fr,nl,no,ru,sv,zh\". } }"}}
{"id": "test_6740", "question": "Is Lauri Vuolasvirta an instance of software or any subclass of software?", "sparql": "ASK WHERE { wd:Q42901693 wdt:P31/wdt:P279* wd:Q7397 . }", "paraphrases": ["Does Lauri Vuolasvirta belong to a category that is a type of software?", "Is Lauri Vuolasvirta classified as software?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q42901693> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6741", "question": "Image of Jakob Ayrer with SNAC ARK ID w66f003h", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w66f003h\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the person having the SNAC ARK ID w66f003h?", "Show me the Wikimedia Commons image for Jakob Ayrer, identified by the SNAC ARK ID w66f003h."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w66f003h\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6742", "question": "What pairs of topics are commonly associated with works about Strata Florida Abbey?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?topic1 ?topic1Label ?topic2 ?topic2Label WHERE {\n  ?work wdt:P921 wd:Q1814107 .\n  ?work wdt:P921 ?topic1 , ?topic2 .\n  FILTER(?topic1 != wd:Q1814107 && ?topic2 != wd:Q1814107 && ?topic1 != ?topic2)\n  .\n  ?topic1 rdfs:label ?topic1Label .\n  ?topic2 rdfs:label ?topic2Label .\n  FILTER(LANG(?topic1Label) = \"en\" && LANG(?topic2Label) = \"en\")\n}", "paraphrases": ["Which two topics frequently appear together as main subjects in works that are about Strata Florida Abbey?", "Show me all distinct pairs of subjects (excluding Strata Florida Abbey itself) that are mentioned together in works about Strata Florida Abbey."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1814107> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P361> +) <http://www.wikidata.org/entity/Q1814107> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P1269> +) <http://www.wikidata.org/entity/Q1814107> . } ?var3 <http://www.wikidata.org/prop/direct/P921> ?var1 , ?var2 . FILTER ( ( ( <http://www.wikidata.org/entity/Q1814107> != ?var1 ) && ( <http://www.wikidata.org/entity/Q1814107> != ?var2 ) && ( ?var1 != ?var2 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_6743", "question": "List medical identifier properties in Wikidata with their P-codes.", "sparql": "SELECT DISTINCT (CONCAT(\"['\", STRAFTER(STR(?property), \"/entity/\"), \"']= \", ?label, \",\") AS ?formatted) WHERE { ?property wdt:P31 wd:Q19847637 . ?property wdt:P31 wd:Q19887775 . ?property rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["Which Wikidata properties are used as medical identifiers and have English labels?", "Show me all Wikidata properties that represent medical identifiers, formatted as ['PXXXXX']= Label, with English names."], "info": {"raw_sparql": "SELECT DISTINCT( CONCAT ( \"['\", STRAFTER ( STR ( ?var1 ) , \"/entity/\" ) , \"']= \", ?var2 , \",\" ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19847637> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19887775> . }"}}
{"id": "test_6744", "question": "What awards has Gordon Strachan received, and when were they awarded?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?personLabel ?date ?awardLabel WHERE {\n  wd:Q314095 wdt:P641 ?sport .\n  wd:Q314095 p:P166 ?awardStatement .\n  ?awardStatement ps:P166 ?award .\n  OPTIONAL {\n    ?awardStatement pq:P585 ?date .\n  }\n  wd:Q314095 rdfs:label ?personLabel .\n  ?award rdfs:label ?awardLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n  FILTER(LANG(?awardLabel) = \"en\")\n}", "paraphrases": ["Show me the awards won by the Scottish footballer Gordon Strachan in English, along with the dates they were received.", "Which honors has Gordon Strachan been given?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2 ?var3Label ?var4Label ?var5 ?var5Label ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P641> ?var12 . <https://fr.wikipedia.org/wiki/Gordon%20Strachan> <http://schema.org/about> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/P166> ?var13 . ?var13 <http://www.wikidata.org/prop/statement/P166> ?var3 . OPTIONAL { ?var13 <http://www.wikidata.org/prop/qualifier/P585> ?var2 . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_6745", "question": "Is the painting \"Automobil and Lady \u2013 Color Masses in the 4th Dimension\" classified as a painting in Wikidata's taxonomy?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q28736712 ( wdt:P31 / wdt:P279 * ) wd:Q3305213 .\n}", "paraphrases": ["Does the artwork \"Automobil and Lady \u2013 Color Masses in the 4th Dimension\" belong to the category of paintings, either directly or through its class hierarchy?", "Confirm whether \"Automobil and Lady \u2013 Color Masses in the 4th Dimension\" is a painting according to Wikidata\u2019s classification system."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q28736712> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6746", "question": "Beaches in Germany with coordinates, German Wikipedia links, and images", "sparql": "SELECT ?beach ?beachLabel ?coordinates ?wikipediaPage ?image WHERE { ?beach (wdt:P31/wdt:P279*) wd:Q40080 . ?beach wdt:P17 wd:Q183 . ?beach wdt:P625 ?coordinates . ?wikipediaPage schema:about ?beach ; schema:isPartOf <https://de.wikipedia.org/> . OPTIONAL { ?beach wdt:P18 ?image . } ?beach rdfs:label ?beachLabel . FILTER(LANG(?beachLabel) = \"de\") }", "paraphrases": ["What are the beaches in Germany, their locations, corresponding German Wikipedia pages, and available images?", "List all beaches in Germany along with their geographic coordinates, links to their German Wikipedia articles, and associated images from Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label ?var3 ?var4 ?var5 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q40080> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://de.wikipedia.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } }"}}
{"id": "test_6747", "question": "Is Jeffrey Alan Paris an instance of software or any subclass of software?", "sparql": "ASK WHERE { wd:Q26261005 ( wdt:P31 / wdt:P279 * ) wd:Q7397 . }", "paraphrases": ["Does Jeffrey Alan Paris belong to a category that is a type of software?", "Is Jeffrey Alan Paris classified as software?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q26261005> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6748", "question": "What awards did Scottish footballer Scott Brown receive, and when?", "sparql": "SELECT DISTINCT ?playerLabel ?awardLabel ?awardDate WHERE { ?player wdt:P641 wd:Q2736 . <https://en.wikipedia.org/wiki/Scott_Brown_(footballer,_born_June_1985)> schema:about ?player . ?player rdfs:label ?playerLabel . FILTER(LANG(?playerLabel) = \"en\") OPTIONAL { ?player p:P166 ?awardStmt . ?awardStmt ps:P166 ?award . ?award rdfs:label ?awardLabel . FILTER(LANG(?awardLabel) = \"en\") . ?awardStmt pq:P585 ?awardDate . } }", "paraphrases": ["Show the sport and any awards of Scott Brown, the footballer born in June 1985, along with the dates he received them.", "Is there any record of Scott Brown (footballer, born 1985) receiving awards? If so, what are they and when?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2 ?var3Label ?var4Label ?var5 ?var5Label ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P641> ?var12 . <https://fr.wikipedia.org/wiki/Scott%20Brown%20%28football%2C%20juin%201985%29> <http://schema.org/about> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/P166> ?var13 . ?var13 <http://www.wikidata.org/prop/statement/P166> ?var3 . OPTIONAL { ?var13 <http://www.wikidata.org/prop/qualifier/P585> ?var2 . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_6749", "question": "Is Albert Einstein an instance of software or a subclass of software?", "sparql": "ASK WHERE { wd:Q937 (wdt:P31/wdt:P279*) wd:Q7397 . }", "paraphrases": ["Does Albert Einstein belong to any category that is a type of software?", "Is software a category that includes Albert Einstein?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q44906658> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6750", "question": "What is the Wikidata item for the IMDb ID tt2582008?", "sparql": "SELECT ?item WHERE { ?item wdt:P345 \"tt2582008\" . }", "paraphrases": ["Which movie or TV show on Wikidata has the IMDb identifier tt2582008?", "Find the Wikidata entity associated with the IMDb ID tt2582008."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2582008\". }"}}
{"id": "test_6751", "question": "Is Spanish actor Avel\u00b7l\u00ed Galceran i Calbet\u00f3 a type of software?", "sparql": "ASK WHERE { wd:Q19289927 (wdt:P31/wdt:P279*) wd:Q7397 . }", "paraphrases": ["Does the person Avel\u00b7l\u00ed Galceran i Calbet\u00f3 belong to a class that is a subclass of software?", "Check whether Avel\u00b7l\u00ed Galceran i Calbet\u00f3, who is an actor, is categorized under any subclass of software."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q19289927> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6752", "question": "How many cities are listed in Wikidata?", "sparql": "SELECT (COUNT(DISTINCT ?city) AS ?count) WHERE { ?city wdt:P31 wd:Q515 . }", "paraphrases": ["What is the total number of cities in Wikidata that are marked as instances of the class \"city\"?", "Can you tell me how many entities in Wikidata are classified as cities?"], "info": {"raw_sparql": "SELECT( COUNT ( DISTINCT ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . }"}}
{"id": "test_6753", "question": "Hindi films released between 1968 and 1970, with their IMDb IDs, statement counts, and image counts on Commons.", "sparql": "SELECT ?film (COUNT(?statement) AS ?statementCount) (COUNT(?image) AS ?imageCount) ?filmLabel ?publicationDate ?imdbId WHERE { ?film wdt:P31 wd:Q11424 ; wdt:P364 wd:Q1568 ; wdt:P577 ?publicationDate . FILTER (?publicationDate >= \"1968-01-01\"^^xsd:date && ?publicationDate < \"1970-01-01\"^^xsd:date) OPTIONAL { ?film wdt:P345 ?imdbId } ?film ?statement ?o . OPTIONAL { ?image schema:about ?film . ?image schema:contentUrl ?url . } ?film rdfs:label ?filmLabel . FILTER (LANG(?filmLabel) = \"en\") } GROUP BY ?film ?filmLabel ?publicationDate ?imdbId ORDER BY ASC(?imdbId)", "paraphrases": ["How many Hindi-language films were released between 1968 and 1970, and what are their IMDb IDs, number of statements on Wikidata, and associated media images?", "List all Hindi films from 1968\u20131970, including their English labels, publication dates, IMDb IDs, total Wikidata statements, and number of associated Commons images."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( COUNT ( DISTINCT ?var3 ) AS ?var4 ) ?var1Label ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P364> <http://www.wikidata.org/entity/Q1568> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var5 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P345> ?var6 . } BIND ( <http://www.w3.org/2001/XMLSchema#integer> ( STRAFTER ( STR ( ?var1 ) , \"Q\" ) ) AS ?var7 ). FILTER ( ( ( \"1968-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> <= ?var5 ) && ( ?var5 < \"1970-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . ?var1 <http://wikiba.se/ontology#statements> ?var2 . OPTIONAL { ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"or, hi, en\". } } GROUP BY ?var1 ?var2 ?var1Label ?var5 ?var6 ORDER BY ASC( ?var6 )"}}
{"id": "test_6754", "question": "Image of the person with SNAC ARK ID w6jq1rqx", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6jq1rqx\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Andrew Gregg in Wikidata?", "Show me the Wikimedia Commons image for the individual identified by SNAC ARK ID w6jq1rqx."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6jq1rqx\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6755", "question": "What are the birth and death dates of Charles Bierer Wrightsman?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  wd:Q5075601 rdfs:label ?personLabel .\n  FILTER(LANGMATCHES(LANG(?personLabel) , \"en\"))\n  OPTIONAL {\n    wd:Q5075601 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q5075601 wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["When was Charles Bierer Wrightsman born and when did he die?", "Show me the birth and death dates for the American art collector Charles Bierer Wrightsman, including any conflicting birth dates."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q5075601> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6756", "question": "What are the birth and death dates of Henry T. Mudd?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  BIND(wd:Q16012482 AS ?person)\n  ?person wdt:P31 wd:Q5 .\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}", "paraphrases": ["Can you tell me when Henry T. Mudd was born and when he died?", "Who is Henry T. Mudd, and what are his birth and death dates?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q16012482> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6757", "question": "Franz Josef Schild birth and death dates", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { BIND( wd:Q21032006 AS ?person ) . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\")}", "paraphrases": ["When was Franz Josef Schild born and when did he die?", "Show me the birth and death dates of Franz Josef Schild, along with his name."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q21032006> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6758", "question": "What are the teams in the National Football League?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?team ?teamLabel WHERE {\n  ?team wdt:P31 wd:Q17156793 .\n  ?team wdt:P463 wd:Q1215884 .\n  ?team rdfs:label ?teamLabel .\n  FILTER ( LANG( ?teamLabel ) = \"en\" )\n}\nORDER BY ?teamLabel", "paraphrases": ["Which American football teams are members of the NFL?", "List all organizations classified as American football teams that belong to the NFL."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q17156793> . ?var1 <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q1215884> . } LIMIT 1000000"}}
{"id": "test_6759", "question": "Image of the person with SNAC ARK ID w6cf9s13", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6cf9s13\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w6cf9s13?", "Show me the Wikimedia Commons image for the entity identified by the SNAC ARK ID w6cf9s13."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6cf9s13\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6760", "question": "Film with Megogo ID 1372601", "sparql": "SELECT ?film WHERE { ?film wdt:P2826 \"1372601\" . }", "paraphrases": ["Which film is identified by the Megogo ID 1372601?", "Tell me the Wikidata item for the film that has the Megogo ID 1372601."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2826> \"1372601\". }"}}
{"id": "test_6761", "question": "What mathematical concepts are composed of positive integers?", "sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 wdt:P527 wd:Q28920044 . OPTIONAL { ?var1 wdt:P527 ?var2 . } OPTIONAL { ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") } }", "paraphrases": ["Which entities include positive integers as components, and what other parts do they have?", "List all things that are made up of positive integers and describe their composition."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { <http://www.wikidata.org/entity/Q28920044> <http://www.wikidata.org/prop/direct/P527> * ?var1 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P527> * <http://www.wikidata.org/entity/Q28920044> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P527> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pt\". } }"}}
{"id": "test_6762", "question": "What film has the identifier 37812 in the French film-documentaire.fr database?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P3673 \"37812\" .\n}", "paraphrases": ["Find the movie in Wikidata that is identified as 37812 on film-documentaire.fr", "Which film corresponds to the film-documentaire.fr ID 37812?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3673> \"37812\". }"}}
{"id": "test_6763", "question": "Washington Monument: labels in English, German, French, and Italian, along with its image, coordinates, Facebook page, and official website.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?image ?coordinates ?facebook ?website WHERE {\n  wd:Q178114 rdfs:label ?label .\n  FILTER(LANG(?label) IN(\"en\" , \"de\" , \"fr\" , \"it\"))\n  OPTIONAL {\n    wd:Q178114 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q178114 wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    wd:Q178114 wdt:P2013 ?facebook .\n  }\n  OPTIONAL {\n    wd:Q178114 wdt:P856 ?website .\n  }\n  VALUES(?lang ?priority) {(\"en\" 1)(\"de\" 2)(\"fr\" 3)(\"it\" 4)\n  }\n  FILTER(LANG(?label) = ?lang)\n}\nORDER BY ?priority", "paraphrases": ["What are the multilingual labels, image, coordinates, Facebook username, and official website of the Washington Monument, ordered by language priority?", "Show me the Washington Monument\u2019s name in English, German, French, and Italian, plus its image, location, Facebook handle, and official website, sorted by language preference."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q178114> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var12 ) ) ) . VALUES ( ?var12 ?var13 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q178114> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q178114> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q178114> <http://www.wikidata.org/prop/direct/P1651> ?var5 . } OPTIONAL { <http://www.wikidata.org/entity/Q178114> <http://www.wikidata.org/prop/direct/P2037> ?var6 . } OPTIONAL { <http://www.wikidata.org/entity/Q178114> <http://www.wikidata.org/prop/direct/P2002> ?var7 . } OPTIONAL { <http://www.wikidata.org/entity/Q178114> <http://www.wikidata.org/prop/direct/P2013> ?var8 . } OPTIONAL { <http://www.wikidata.org/entity/Q178114> <http://www.wikidata.org/prop/direct/P2003> ?var9 . } OPTIONAL { <http://www.wikidata.org/entity/Q178114> <http://www.wikidata.org/prop/direct/P856> ?var10 . } OPTIONAL { <http://www.wikidata.org/entity/Q178114> <http://www.wikidata.org/prop/direct/P496> ?var11 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q178114> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var13 )"}}
{"id": "test_6764", "question": "Who are French people whose first name is Charlon?", "sparql": "SELECT DISTINCT ?item ?label WHERE { ?item rdfs:label ?label . FILTER(LANGMATCHES(LANG(?label), 'fr')) . FILTER(STRSTARTS(?label, 'Charlon')) . ?item wdt:P31 wd:Q5 }", "paraphrases": ["List people with the name Charlon in French.", "Find individuals whose French label begins with \"Charlon\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1559> \"charlon\"@fr . }"}}
{"id": "test_6765", "question": "Painters who specialize in portrait painting.", "sparql": "SELECT ?artist WHERE { ?artist wdt:P136 wd:Q1400853 .}", "paraphrases": ["Who are the artists whose artistic genre is portrait painting?", "List all painters associated with the genre of portrait painting."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P136> <http://www.wikidata.org/entity/Q1400853> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_6766", "question": "Who were the members of the Japanese House of Representatives elected in the 2017 general election, and what are their electoral districts, political parties, birth dates, and genders?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?member ?district ?party ?startDate ?endDate ?birthDate ?gender WHERE {\n  ?member p:P39 ?statement .\n  ?statement ps:P39 wd:Q17506823 ; pq:P2937 wd:Q41655079 .\n  OPTIONAL {\n    ?statement pq:P580 ?startDate .\n  }\n  OPTIONAL {\n    ?statement pq:P582 ?endDate .\n  }\n  OPTIONAL {\n    ?statement pq:P768 ?district .\n  }\n  OPTIONAL {\n    ?statement pq:P4100 ?party .\n  }\n  OPTIONAL {\n    ?member wdt:P21 ?gender .\n  }\n  OPTIONAL {\n    ?member wdt:P569 ?birthDate .\n  }\n}", "paraphrases": ["List the names, birth dates, and parties of all representatives elected to Japan\u2019s House of Representatives in 2017.", "What are the details of the members of Japan\u2019s 48th House of Representatives term, including their constituencies, party affiliations, and dates of birth?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { ?var1 <http://www.wikidata.org/prop/P39> ?var8 . ?var8 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q17506823> ; <http://www.wikidata.org/prop/qualifier/P2937> <http://www.wikidata.org/entity/Q41655079> . OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P580> ?var4 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P582> ?var5 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P768> ?var2 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P4100> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var6 . } }"}}
{"id": "test_6767", "question": "Image of Johann Geiler von Kaisersberg (SNAC ARK ID w6md1pzr)", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6md1pzr\" . OPTIONAL { ?item wdt:P18 ?image . } } LIMIT 1", "paraphrases": ["What is the Wikimedia Commons image of Johann Geiler von Kaisersberg?", "Show me the picture of the person with SNAC ARK ID w6md1pzr."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6md1pzr\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6768", "question": "What are the different types of wine and wine regions that fall under viticulture?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?subclass ?subclassLabel WHERE {\n  {\n    ?subclass wdt:P279 wd:Q253140 .\n  } UNION {\n    ?subclass wdt:P279 ?level1 .\n    ?level1 wdt:P279 wd:Q253140 .\n  } UNION {\n    ?subclass wdt:P279 ?level1 .\n    ?level1 wdt:P279 ?level2 .\n    ?level2 wdt:P279 wd:Q253140 .\n  }\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER(LANG(?subclassLabel) = \"en\")\n}", "paraphrases": ["List all subclasses of viticulture (such as types of wine or wine-producing regions) in English.", "Can you show me the names of wine categories that are derived from grape growing?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3Label WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q253140> . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q253140> . ?var1 <http://www.wikidata.org/prop/direct/P279> ?var4 . } UNION { ?var5 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q253140> . ?var4 <http://www.wikidata.org/prop/direct/P279> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P279> ?var4 . } UNION { ?var6 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q253140> . ?var5 <http://www.wikidata.org/prop/direct/P279> ?var6 . ?var4 <http://www.wikidata.org/prop/direct/P279> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P279> ?var4 . } UNION { ?var7 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q253140> . ?var6 <http://www.wikidata.org/prop/direct/P279> ?var7 . ?var5 <http://www.wikidata.org/prop/direct/P279> ?var6 . ?var4 <http://www.wikidata.org/prop/direct/P279> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P279> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,fr\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . } }"}}
{"id": "test_6769", "question": "Spanish labels of properties and their values for C\u00f3rdoba Province, with counts.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?property ( SAMPLE( ?pl ) AS ?propertyLabel ) ( COUNT( ?value ) AS ?valueCount ) ( GROUP_CONCAT( ?vl ; SEPARATOR = \", \" ) AS ?valueLabels ) WHERE {\n  wd:Q44759 ?property ?value .\n  ?value rdfs:label ?vl .\n  FILTER ( LANG( ?vl ) = \"es\" ) .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?pl .\n  FILTER ( LANG( ?pl ) = \"es\" ) .\n}\nGROUP BY ?property", "paraphrases": ["What are the Spanish names of properties associated with C\u00f3rdoba Province, how many values each has, and what are those values in Spanish?", "Show me a summary of all properties of C\u00f3rdoba Province in Spanish, including their labels, the number of values, and the Spanish labels of those values."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q44759> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"es\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"es\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_6770", "question": "Distribution of number of occupations among rowing-related people with Wikipedia articles.", "sparql": "SELECT ?occupationCount (COUNT(?person) AS ?personCount)\nWHERE {\n  {\n    SELECT ?person (COUNT(?occupation) AS ?occupationCount)\n    WHERE {\n      ?person wdt:P106 / wdt:P279* wd:Q26270618 .\n      ?article schema:about ?person .\n      ?person wdt:P106 ?occupation .\n    }\n    GROUP BY ?person\n  }\n}\nGROUP BY ?occupationCount\nORDER BY ?occupationCount", "paraphrases": ["How many people with an occupation related to rowing have exactly one occupation, two occupations, etc.?", "Show me how many rowing-related individuals have 1 occupation, 2 occupations, and so on, based on their Wikidata occupation entries and Wikipedia presence."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var3 ( COUNT ( ?var3 ) AS ?var1 ) WHERE { ?var3 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q26270618> . [] <http://schema.org/about> ?var3 . } GROUP BY ?var3 ORDER BY DESC( ?var1 ) } } GROUP BY ?var1"}}
{"id": "test_6771", "question": "What are the key details about the 2015\u201316 protests in Brazil in Wikidata?", "sparql": "SELECT ?item ?itemLabel ?itemDescription ?instance ?country ?pointInTime WHERE { wd:Q19595400 rdfs:label ?itemLabel ; schema:description ?itemDescription ; wdt:P31 ?instance ; wdt:P17 ?country ; wdt:P585 ?pointInTime . FILTER(LANG(?itemLabel) = \"en\") FILTER(LANG(?itemDescription) = \"en\") }", "paraphrases": ["What type of event were the 2015\u201316 protests in Brazil, and in which country did they occur?", "Can you tell me the description and time period of the 2015 protests in Brazil?"], "info": {"raw_sparql": "SELECT * WHERE { { <http://dbpedia.org/resource/2015\u201316_protests_in_Brazil> ?var1 ?var2 . } } LIMIT 1000"}}
{"id": "test_6772", "question": "What are other identifiers similar to the Crunchbase organization ID, and what do they describe?", "sparql": "SELECT ?relatedProperty ?label ?description WHERE { wd:P2088 wdt:P1659 ?relatedProperty . ?relatedProperty rdfs:label ?label . ?relatedProperty schema:description ?description . FILTER (LANG(?label) = \"en\") . FILTER (LANG(?description) = \"en\") . }", "paraphrases": ["Which properties are linked to Crunchbase organization ID as related identifiers, and what are their English labels and descriptions?", "Can you list the English-labeled properties that are related to Crunchbase organization ID in Wikidata, along with their descriptions?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P2088> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . }"}}
{"id": "test_6773", "question": "List 100 notable humans with their English labels from Wikidata.", "sparql": "SELECT DISTINCT ?human ?humanLabel WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P106 ?occupation . ?human rdfs:label ?humanLabel . FILTER(LANG(?humanLabel) = \"en\") } LIMIT 100", "paraphrases": ["Who are 100 notable humans in Wikidata, and what are their English names?", "Show me up to 100 humans who have a known occupation, along with their English labels."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . }"}}
{"id": "test_6774", "question": "Castles in France with their coordinates, official websites, and images.", "sparql": "SELECT ?castle ?label ?coordinates ?website ?image WHERE { ?castle wdt:P31 wd:Q23413 . ?castle wdt:P17 wd:Q142 . ?castle wdt:P625 ?coordinates . ?castle wdt:P18 ?image . ?castle wdt:P856 ?website . ?castle rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["What are the English names, locations, official websites, and images of all castles in France?", "List all castles in France along with their English labels, geographic coordinates, official websites, and Wikimedia Commons images."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q23413> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q142> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,fr\". } ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . }"}}
{"id": "test_6775", "question": "Airports in Australia", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?airport ?airportLabel WHERE {\n  ?airport wdt:P31 wd:Q62447 .\n  ?airport wdt:P17 wd:Q408 .\n  ?airport rdfs:label ?airportLabel .\n  FILTER(LANG(?airportLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["What are the names of airports in Australia?", "List the English names of all aerodromes located in Australia."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q62447> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q408> . } LIMIT 100"}}
{"id": "test_6776", "question": "Aerodromes in Australia", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?aerodrome ?aerodromeLabel WHERE {\n  ?aerodrome wdt:P31 wd:Q62447 .\n  ?aerodrome wdt:P17 wd:Q408 .\n  ?aerodrome rdfs:label ?aerodromeLabel .\n  FILTER(LANG(?aerodromeLabel) = \"en\")\n}", "paraphrases": ["What are the names of all aerodromes located in Australia?", "List the English names of all airports and airfields in Australia."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q62447> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q408> . }"}}
{"id": "test_6777", "question": "Who are the governors of Florida?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?governor WHERE {\n  ?governor wdt:P31 wd:Q5 .\n  ?governor wdt:P39 wd:Q20198851 .\n}\nLIMIT 500", "paraphrases": ["List all people who have held the office of Governor of Florida.", "Find all humans who have served as the Governor of Florida."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P39> ?var2 . ?var2 ( <http://www.wikidata.org/prop/direct/P279> | <http://www.wikidata.org/prop/direct/P131> )* <http://www.wikidata.org/entity/Q20198851> . } LIMIT 500"}}
{"id": "test_6778", "question": "Tennis play-off events with years and Wikidata IDs", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?label ( xsd:integer ( REPLACE( STR( ?label ) , \"^(\\\\d{4}).*$\" , \"$1\" ) ) AS ?year ) ( STRAFTER( STR( ?item ) , \"y/\" ) AS ?qid ) WHERE {\n  ?item wdt:P641 wd:Q847 .\n  ?item rdfs:label ?label\n  FILTER ( LANG( ?label ) = \"en\" ) FILTER ( CONTAINS( LCASE( ?label ) , \"play-off\" ) )\n}\nORDER BY ASC ( ?year ) ASC ( ?label )", "paraphrases": ["What are the tennis play-off events in English, and what years and Wikidata IDs are associated with them?", "List all tennis play-off events in English, sorted by year, along with their extraction year and Wikidata identifier."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ( ( ?var5 != ?var6 ) AS ?var7 )( STRAFTER ( STR ( ?var5 ) , \" \" ) AS ?var8 )( STRAFTER ( STR ( ?var1 ) , \"y/\" ) AS ?var9 )( \"P31\" AS ?var10 )( STRAFTER ( STR ( <http://www.wikidata.org/entity/Q47405126> ) , \"y/\" ) AS ?var11 ) WHERE { BIND ( LANG ( ?var5 ) AS ?var2 ). ?var1 <http://www.wikidata.org/prop/direct/P641> <http://www.wikidata.org/entity/Q847> ; <http://wikiba.se/ontology#statements> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . FILTER ( ( CONTAINS ( LCASE ( STR ( ?var5 ) ) , \"play-off\" ) ) ) . OPTIONAL { [] <http://schema.org/about> ?var1 ; <http://schema.org/inLanguage> ?var2 ; <http://schema.org/name> ?var6 . } BIND ( <http://www.w3.org/2001/XMLSchema#integer> ( REPLACE ( STR ( ?var5 ) , \"string1\", \"$2\" ) ) AS ?var3 ). BIND ( <http://www.w3.org/2001/XMLSchema#integer> ( REPLACE ( STR ( ?var6 ) , \"string1\", \"$2\" ) ) AS ?var4 ). } ORDER BY ASC( ?var2 )ASC( ?var8 )ASC( ?var3 )ASC( ?var4 )ASC( ?var2 )ASC( ?var8 )ASC( ?var5 )"}}
{"id": "test_6779", "question": "What are some examples of people who are named after someone who was named after someone else who was named after a historical figure?", "sparql": "SELECT ?person1 ?person1Label ?person2 ?person2Label ?person3 ?person3Label ?person4 ?person4Label WHERE { ?person1 wdt:P138 ?person2 . ?person2 wdt:P138 ?person3 . ?person3 wdt:P138 ?person4 . ?person1 rdfs:label ?person1Label . ?person2 rdfs:label ?person2Label . ?person3 rdfs:label ?person3Label . ?person4 rdfs:label ?person4Label . FILTER( lang(?person1Label) = 'en' ) . FILTER( lang(?person2Label) = 'en' ) . FILTER( lang(?person3Label) = 'en' ) . FILTER( lang(?person4Label) = 'en' ) . ?person1 wdt:P31 wd:Q5 . ?person2 wdt:P31 wd:Q5 . ?person3 wdt:P31 wd:Q5 . ?person4 wdt:P31 wd:Q5 . } LIMIT 10", "paraphrases": ["Show me chains of four people where each person is named after the next, such as Martin Luther King Bouwman being named after Martin Luther King Jr., who was named after his father, who was named after Martin Luther.", "Which individuals in history have a lineage of being named after three generations of predecessors, all of whom are humans?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P138> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P138> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P138> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6780", "question": "What is the Statue of Liberty part of?", "sparql": "SELECT ?parent ?parentLabel WHERE { wd:Q9202 wdt:P361 ?parent . OPTIONAL { ?parent rdfs:label ?parentLabel . FILTER(LANG(?parentLabel) = \"en\") } }", "paraphrases": ["What is the name of the national monument that includes the Statue of Liberty?", "Show the English label of the entity that the Statue of Liberty belongs to as a part."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q9202> <http://www.wikidata.org/prop/direct/P361> * ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P361> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6781", "question": "What awards, songs, and other items are associated with The Cranberries, and what properties link them?", "sparql": "SELECT ?item ?itemLabel ?property ?propertyLabel WHERE { ?item ?statementProperty wd:Q483810 . ?property wikibase:directClaim ?statementProperty . ?item rdfs:label ?itemLabel . ?property rdfs:label ?propertyLabel . FILTER(LANG(?itemLabel) = \"en\") FILTER(LANG(?propertyLabel) = \"en\") } LIMIT 100", "paraphrases": ["Which items have been connected to The Cranberries, and what are the direct properties used in those connections?", "List all entities linked to The Cranberries along with the English labels of the properties that connect them."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ?var3 <http://www.wikidata.org/entity/Q483810> . ?var2 <http://wikiba.se/ontology#directClaim> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_6782", "question": "What is the property used to store IATA airport codes in Wikidata, and what is its description?", "sparql": "SELECT ?property ?propertyLabel ?propertyDescription WHERE { wd:P238 rdfs:label ?propertyLabel . wd:P238 schema:description ?propertyDescription . FILTER(LANG(?propertyLabel) = \"en\") FILTER(LANG(?propertyDescription) = \"en\") }", "paraphrases": ["Show the English label and description of the property that assigns IATA codes to airports.", "Which Wikidata property represents IATA airport codes, and what does it mean?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q9607058> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_6783", "question": "Is Licurgo Angelo Fava a type of software?", "sparql": "ASK WHERE { wd:Q47233979 wdt:P31/wdt:P279* wd:Q7397 }", "paraphrases": ["Does Licurgo Angelo Fava belong to the class of software or any of its superclasses?", "Check whether Licurgo Angelo Fava is categorized as software or any broader category that includes software."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q47233979> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6784", "question": "What is the English label for Jean-Jacques Becker?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?label WHERE {\n  wd:Q1684904 rdfs:label ?label .\n  FILTER(LANGMATCHES(LANG(?label) , \"en\"))\n}\nLIMIT 1", "paraphrases": ["Can you show me the English name of the French historian Jean-Jacques Becker?", "What is Jean-Jacques Becker called in English?"], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { <http://www.wikidata.org/entity/Q1684904> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( LANGMATCHES ( LANG ( ?var1Label ) , \"EN\" ) ) ) . } LIMIT 1"}}
{"id": "test_6785", "question": "Is the Icelandic pianist G\u00edsli Magn\u00fasson classified as a type of software?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q47131142 ( wdt:P31 / wdt:P279 * ) wd:Q7397 .\n}", "paraphrases": ["Does G\u00edsli Magn\u00fasson belong to any category that is a subclass of software?", "Could G\u00edsli Magn\u00fasson be considered software?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q47131142> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6786", "question": "Image of Stanford White with SNAC ARK ID w66m379z", "sparql": "SELECT ?image WHERE { ?entity wdt:P3430 \"w66m379z\" . OPTIONAL { ?entity wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w66m379z?", "Show me the Wikimedia Commons image for the person identified by the SNAC ARK ID w66m379z."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w66m379z\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6787", "question": "What are the English labels of Yong-Yeol Ahn\u2019s occupations, and do any of them have associated images?", "sparql": "SELECT DISTINCT ?occupation ?occupationLabel ?image WHERE { wd:Q30505440 wdt:P106 ?occupation . ?occupation rdfs:label ?occupationLabel . OPTIONAL { ?occupation wdt:P18 ?image . } FILTER (LANG(?occupationLabel) = \"en\") }", "paraphrases": ["Show the occupations of Yong-Yeol Ahn in English, along with any available images of those occupations.", "List Yong-Yeol Ahn\u2019s professions and their images from Wikimedia Commons, using English labels."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ( ?var4Label AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q30505440> ?var6 ?var2 . ?var2 (( <http://www.wikidata.org/prop/P159> / <http://www.wikidata.org/prop/qualifier/P625> )|( <http://www.wikidata.org/prop/direct/P276> */ <http://www.wikidata.org/prop/direct/P625> )) ?var3 . ?var7 <http://wikiba.se/ontology#directClaim> ?var6 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,nl,no,ru,sv,zh\". } ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . }"}}
{"id": "test_6788", "question": "Airports and their coordinates by country, sorted by coordinate in descending order.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?countryLabel ?coordinate WHERE {\n  ?airport wdt:P31 wd:Q1248784 .\n  ?airport wdt:P2786 ?coordinate .\n  ?airport wdt:P17 ?country .\n  ?country rdfs:label ?countryLabel .\n  FILTER ( LANG( ?countryLabel ) = \"en\" )\n}\nGROUP BY ?coordinate ?countryLabel\nORDER BY DESC ( ?coordinate )", "paraphrases": ["Which countries have airports with the highest coordinates, and what are those coordinates?", "List the countries with their airports' reference point coordinates, ordered from highest to lowest coordinate."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var1 <http://www.wikidata.org/prop/direct/P2786> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var2 ?var1Label ORDER BY DESC( ?var2 )"}}
{"id": "test_6789", "question": "Items in the Czech Republic with street addresses located in the same administrative unit as the item.", "sparql": "SELECT ?item ?streetAdmin WHERE { ?item wdt:P17 wd:Q213 ; wdt:P669 ?street ; wdt:P131 ?admin . MINUS { ?item wdt:P131 ?otherAdmin . FILTER (?otherAdmin != ?admin) } ?street wdt:P131 ?streetAdmin . FILTER (?streetAdmin = ?admin) }", "paraphrases": ["Which buildings and landmarks in the Czech Republic have street addresses that lie within the same town or district as the building itself?", "List all cultural and architectural sites in the Czech Republic that are located on streets belonging to the same administrative division as the site."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q213> ; <http://www.wikidata.org/prop/direct/P669> ?var3 ; <http://www.wikidata.org/prop/direct/P131> ?var4 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var5 . FILTER ( ( ( ?var5 != ?var4 ) ) ) . } ?var3 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P131> + ?var4 . }"}}
{"id": "test_6790", "question": "What are the IATA codes of airports and the populations of the towns or cities they are located in?", "sparql": "SELECT ?airport ?iataCode ?location ?population WHERE { ?airport wdt:P31 wd:Q1248784 ; wdt:P238 ?iataCode ; wdt:P131 ?location . ?location wdt:P1082 ?population . }", "paraphrases": ["Can you list airports with their IATA codes and the population of the administrative area they are situated in?", "Which airports have IATA codes, and what are the populations of the places they are located in?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1248784> ; <http://www.wikidata.org/prop/direct/P238> ?var2 ; <http://www.wikidata.org/prop/direct/P131> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P1082> ?var4 . }"}}
{"id": "test_6791", "question": "How many times is the Arch Linux package property (P3454) used in different contexts (statements, references, qualifiers), and what are the rank distributions for statements?", "sparql": "SELECT ?usageType ?rank ?count WHERE { { SELECT (wikibase:statementProperty AS ?usageType) ?rank (COUNT(?stmt) AS ?count) WHERE { ?item p:P3454 ?stmt . OPTIONAL { ?stmt wikibase:rank ?rank . } } GROUP BY ?rank } UNION { SELECT (wikibase:reference AS ?usageType) ?rank (COUNT(?ref) AS ?count) WHERE { ?item pr:P3454 ?ref . BIND(\"n/a\" AS ?rank) } GROUP BY ?rank } UNION { SELECT (wikibase:qualifier AS ?usageType) ?rank (COUNT(?qual) AS ?count) WHERE { ?item pq:P3454 ?qual . BIND(\"n/a\" AS ?rank) } GROUP BY ?rank } } ORDER BY DESC(?usageType) DESC(?count) ASC(?rank)", "paraphrases": ["Break down the usage of Arch Linux package IDs in Wikidata by type: how many are direct statements (with Normal/Deprecated/Preferred rank), references, or qualifiers?", "What is the distribution of rank types and usage contexts for the Arch Linux package property (P3454) in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { { SELECT( <http://wikiba.se/ontology#statementProperty> AS ?var1 )( COUNT ( DISTINCT ?var5 ) AS ?var3 )( COUNT ( ?var6 ) AS ?var4 ) WHERE { ?var5 <http://www.wikidata.org/prop/P3454> ?var6 . } } UNION { SELECT( <http://wikiba.se/ontology#statementProperty> AS ?var1 )( <http://wikiba.se/ontology#BestRank> AS ?var2 )( COUNT ( DISTINCT ?var5 ) AS ?var3 )( COUNT ( ?var7 ) AS ?var4 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P3454> ?var7 . } } UNION { SELECT( <http://wikiba.se/ontology#statementProperty> AS ?var1 ) ?var2 ( COUNT ( DISTINCT ?var5 ) AS ?var3 )( COUNT ( ?var8 ) AS ?var4 ) WHERE { ?var5 <http://www.wikidata.org/prop/P3454> ?var8 . ?var8 <http://wikiba.se/ontology#rank> ?var2 . } GROUP BY ?var2 } UNION { SELECT( <http://wikiba.se/ontology#reference> AS ?var1 )( COUNT ( DISTINCT ?var5 ) AS ?var3 )( COUNT ( ?var6 ) AS ?var4 ) WHERE { ?var5 <http://www.wikidata.org/prop/reference/P3454> ?var6 . } } UNION { SELECT( <http://wikiba.se/ontology#qualifier> AS ?var1 )( COUNT ( DISTINCT ?var5 ) AS ?var3 )( COUNT ( ?var6 ) AS ?var4 ) WHERE { ?var5 <http://www.wikidata.org/prop/qualifier/P3454> ?var6 . } } } ORDER BY DESC( ?var1 ) DESC( ?var3 )ASC( ?var2 )"}}
{"id": "test_6792", "question": "Image of Paul Fung with SNAC ARK ID w6p287n5", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6p287n5\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with Paul Fung in the SNAC database?", "Show me the Wikimedia Commons image for the person identified by SNAC ARK ID w6p287n5."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6p287n5\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6793", "question": "What properties are considered equivalent to the \"dissolved or abolished\" property in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?equivalentProperty WHERE {\n  wd:P1365 wdt:P1628 ?equivalentProperty .\n}", "paraphrases": ["Which ontologies define a property equivalent to \"dissolved or abolished\"?", "Can you list the external property equivalents of the Wikidata property for when an organization was dissolved?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/prop/direct/P1365> <http://www.wikidata.org/prop/direct/P1628> ?var1 . }"}}
{"id": "test_6794", "question": "Image of Jack Haley with SNAC ARK ID w6v72fws", "sparql": "SELECT ?image WHERE { ?person wdt:P3430 \"w6v72fws\" . OPTIONAL { ?person wdt:P18 ?image . } }", "paraphrases": ["What is the Wikimedia Commons image associated with Jack Haley, identified by the SNAC ARK ID w6v72fws?", "Show me the picture of the person whose SNAC ARK ID is w6v72fws."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6v72fws\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6795", "question": "Most used property linking entities to the 1990 Teenage Mutant Ninja Turtles movie", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nSELECT ?property(COUNT(?property) AS ?count) WHERE {\n  ?statement ?propertyClaim wd:Q58439 .\n  ?property wikibase:directClaim ?propertyClaim .\n  ?property rdf:type wikibase:Property .\n}\nGROUP BY ?property\nORDER BY DESC(?count)\nLIMIT 1", "paraphrases": ["Which property is used most often to connect characters or elements to the 1990 Teenage Mutant Ninja Turtles film?", "Show me the property that appears most frequently in statements about the 1990 Teenage Mutant Ninja Turtles film."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q58439> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_6796", "question": "Is GTK an instance of a type that is a subclass of software?", "sparql": "ASK { wd:Q189464 wdt:P31 ?type . ?type wdt:P279* wd:Q7397 . }", "paraphrases": ["Does GTK belong to a category that is part of the software hierarchy?", "Is GTK classified under something that ultimately falls under software?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q189464> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_6797", "question": "Properties and their values for the Benois Madonna painting, with English labels and counts.", "sparql": "SELECT ?property ?propertyLabel (COUNT(?value) AS ?valueCount) (GROUP_CONCAT(?valueLabel; SEPARATOR=\", \") AS ?valueLabels)\nWHERE {\n  wd:Q1142058 ?property ?value .\n  ?value rdfs:label ?valueLabel .\n  FILTER(LANG(?valueLabel) = \"en\") .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?propertyLabel .\n  FILTER(LANG(?propertyLabel) = \"en\") .\n}\nGROUP BY ?property ?propertyLabel", "paraphrases": ["What properties are used to describe the Benois Madonna, and what are their English labels and corresponding object values?", "Show me all the properties of the Benois Madonna painting, including their English names, how many values each has, and what those values are in English."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q1142058> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_6798", "question": "Scientific journals published by IEEE, sorted by launch date (newest first).", "sparql": "SELECT ?inceptionDate ?journal ?journalLabel WHERE { ?journal wdt:P123 wd:Q131566 . ?journal wdt:P31 wd:Q5633421 . ?journal wdt:P571 ?inceptionDate . ?journal rdfs:label ?journalLabel . FILTER(LANG(?journalLabel) = \"en\") } ORDER BY DESC(?inceptionDate) LIMIT 50", "paraphrases": ["What are the scientific journals published by IEEE, and when were they first published?", "List the English-named scientific journals published by IEEE, ordered from the most recently launched to the oldest, along with their inception dates."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P123> <http://www.wikidata.org/entity/Q131566> . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5633421> . ?var2 <http://www.wikidata.org/prop/direct/P571> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY DESC( ?var1 ) LIMIT 50"}}
{"id": "test_6799", "question": "What is the English label, description, and image of the Roman legion?", "sparql": "SELECT ?label ?description ?image WHERE { OPTIONAL { wd:Q163323 rdfs:label ?label . FILTER (LANG(?label) = \"en\") } OPTIONAL { wd:Q163323 schema:description ?description . FILTER (LANG(?description) = \"en\") } OPTIONAL { wd:Q163323 wdt:P18 ?image . } }", "paraphrases": ["Can you show me the English description and image of a Roman legion, along with its name in English?", "What does the Wikipedia page for Roman legion say in English, and what image is associated with it?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q163323> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q163323> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q163323> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_6800", "question": "What are Bill Irwin\u2019s official website, image, Wikipedia page, and multilingual labels?", "sparql": "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?label ?image ?coordinates ?wikipediaArticle ?youtubeId ?githubUsername ?twitterUsername ?facebookUsername ?instagramUsername ?website ?orcid WHERE {\n  wd:Q603317 rdfs:label ?label .\n  FILTER(LANG(?label) IN(\"en\" , \"de\" , \"fr\" , \"it\"))\n  OPTIONAL {\n    wd:Q603317 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q603317 wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    wd:Q603317 wdt:P1651 ?youtubeId .\n  }\n  OPTIONAL {\n    wd:Q603317 wdt:P2037 ?githubUsername .\n  }\n  OPTIONAL {\n    wd:Q603317 wdt:P2002 ?twitterUsername .\n  }\n  OPTIONAL {\n    wd:Q603317 wdt:P2013 ?facebookUsername .\n  }\n  OPTIONAL {\n    wd:Q603317 wdt:P2003 ?instagramUsername .\n  }\n  OPTIONAL {\n    wd:Q603317 wdt:P856 ?website .\n  }\n  OPTIONAL {\n    wd:Q603317 wdt:P496 ?orcid .\n  }\n  OPTIONAL {\n    ?wikipediaArticle rdf:type schema:Article ; schema:about wd:Q603317 ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n  VALUES(?lang ?order) {(\"en\" 1)(\"de\" 2)(\"fr\" 3)(\"it\" 4)\n  }\n  FILTER(?lang = LANG(?label))\n}\nORDER BY ?order", "paraphrases": ["Can you show me Bill Irwin\u2019s name in English, German, French, and Italian, along with his image, Wikipedia link, and official website?", "Please retrieve Bill Irwin\u2019s multilingual labels, Wikimedia Commons image, English Wikipedia article, and official website, ordered by language preference (English first)."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q603317> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var12 ) ) ) . VALUES ( ?var12 ?var13 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q603317> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q603317> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q603317> <http://www.wikidata.org/prop/direct/P1651> ?var5 . } OPTIONAL { <http://www.wikidata.org/entity/Q603317> <http://www.wikidata.org/prop/direct/P2037> ?var6 . } OPTIONAL { <http://www.wikidata.org/entity/Q603317> <http://www.wikidata.org/prop/direct/P2002> ?var7 . } OPTIONAL { <http://www.wikidata.org/entity/Q603317> <http://www.wikidata.org/prop/direct/P2013> ?var8 . } OPTIONAL { <http://www.wikidata.org/entity/Q603317> <http://www.wikidata.org/prop/direct/P2003> ?var9 . } OPTIONAL { <http://www.wikidata.org/entity/Q603317> <http://www.wikidata.org/prop/direct/P856> ?var10 . } OPTIONAL { <http://www.wikidata.org/entity/Q603317> <http://www.wikidata.org/prop/direct/P496> ?var11 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q603317> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var13 )"}}
{"id": "test_6801", "question": "Films titled \"Godzilla\"", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?filmLabel WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film rdfs:label ?filmLabel .\n  FILTER ( LANG( ?filmLabel ) = \"en\" ) FILTER ( STRSTARTS( ?filmLabel , \"Godzilla\" ) )\n}\nLIMIT 200", "paraphrases": ["What are the films with titles starting with \"Godzilla\"?", "List all English-language films that have titles beginning with \"Godzilla\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . FILTER ( ( REGEX ( ?var1Label , \"^Godzilla\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 200"}}
{"id": "test_6802", "question": "Who are some scholars whose field of work is biblical criticism?", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P101 wd:Q373665 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = 'en') } LIMIT 100", "paraphrases": ["Can you list 100 people who specialize in biblical criticism?", "Which individuals are known for working in the academic field of biblical criticism?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q373665> . } LIMIT 100"}}
{"id": "test_6803", "question": "What materials is the painting \"Nuda Veritas\" by Gustav Klimt made of?", "sparql": "SELECT ?material ?materialLabel WHERE { wd:Q3879244 wdt:P186 ?material . ?material rdfs:label ?materialLabel . FILTER (LANG(?materialLabel) = \"en\") } LIMIT 50", "paraphrases": ["In what materials was the artwork \"Nuda Veritas\" created?", "List the English names of the materials used in the painting \"Nuda Veritas\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q3879244> <http://www.wikidata.org/prop/direct/P186> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } LIMIT 50"}}
{"id": "test_6804", "question": "Organizations in the Czech Republic without a headquarters location but with a specified city or town.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?organization ?organizationLabel ?administrativeEntity ?administrativeEntityLabel WHERE {\n  ?organization wdt:P31 wd:Q43229 ; wdt:P17 wd:Q213 ; wdt:P131 ?administrativeEntity . MINUS {\n    ?organization wdt:P159 [] .\n  }\n  ?organization rdfs:label ?organizationLabel .\n  ?administrativeEntity rdfs:label ?administrativeEntityLabel .\n  FILTER(LANG(?organizationLabel) = \"en\")\n  FILTER(LANG(?administrativeEntityLabel) = \"en\")\n}", "paraphrases": ["Which organizations in the Czech Republic are located in a specific city but do not have a headquarters location listed?", "Show me organizations based in Czech cities (like Prague or Ostrava) that don\u2019t have a headquarters location specified in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q43229> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q213> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P159> [] . } ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . }"}}
{"id": "test_6805", "question": "French-language chronological articles from 1962 and their preceding years.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?event ?label ?predecessor WHERE {\n  ?event wdt:P31 wd:Q18340514 ; rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"fr\" ) FILTER ( REGEX( ?label , \"1962\" ) ) OPTIONAL {\n    ?event wdt:P155 ?predecessor .\n  }\n}", "paraphrases": ["What are the French-labeled events from 1962, and what was the event immediately before each one?", "List all French Wikipedia-style chronological articles about 1962 and identify the previous year\u2019s article in the series, if it exists."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q18340514> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"fr\" ) ) ) . FILTER ( ( REGEX ( ?var1Label , \"string1\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P155> ?var2 . } }"}}
{"id": "test_6806", "question": "Who has the native name \"Paul Goma\"?", "sparql": "SELECT DISTINCT ?person WHERE { ?person wdt:P1559 \"Paul Goma\"@ro . }", "paraphrases": ["Which person is known in their native language as Paul Goma?", "Can you tell me the Wikidata entity for the person whose native name is Paul Goma?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1559> \"Nelly Goma\"@fr . }"}}
{"id": "test_6807", "question": "Film with LdiF ID 527309", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P3107 \"527309\" .\n}", "paraphrases": ["Which film has the LdiF ID 527309?", "Can you tell me the Wikidata item for the movie identified as 527309 in the Lexikon des Internationalen Films?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3107> \"527309\". }"}}
{"id": "test_6808", "question": "What are the occupations of Jan Akkerman?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?occupation WHERE {\n  wd:Q943804 wdt:P106 ?occupation .\n}", "paraphrases": ["List the jobs held by the Dutch guitarist Jan Akkerman.", "What does Jan Akkerman do for a living?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q943804> <https://www.wikidata.org/wiki/Property:P106> ?var1 . }"}}
{"id": "test_6809", "question": "What are the occupations of Fred Carasso?", "sparql": "SELECT ?occupation WHERE { wd:Q2326022 wdt:P106 ?occupation . }", "paraphrases": ["What jobs did Fred Carasso have?", "Can you list the professions associated with the Dutch sculptor Fred Carasso?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q2326022> <https://www.wikidata.org/wiki/Property:P106> ?var1 . }"}}
{"id": "test_6810", "question": "What are the occupations of Willem de Clercq?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?occupation WHERE {\n  wd:Q1407733 wdt:P106 ?occupation .\n}", "paraphrases": ["What jobs did Willem de Clercq have?", "Can you list the professions associated with the Dutch writer Willem de Clercq?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q1407733> <https://www.wikidata.org/wiki/Property:P106> ?var1 . }"}}
{"id": "test_6811", "question": "What are the occupations of Willem Diepraam?", "sparql": "SELECT ?occupation WHERE { wd:Q2268769 wdt:P106 ?occupation .}", "paraphrases": ["Can you list the jobs or professions associated with the Dutch photographer Willem Diepraam?", "What types of work has Willem Diepraam been involved in, according to Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q2268769> <https://www.wikidata.org/wiki/Property:P106> ?var1 . }"}}
{"id": "test_6812", "question": "What are the occupations of Metten Koornstra?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?occupation WHERE {\n  wd:Q2106747 wdt:P106 ?occupation .\n}", "paraphrases": ["What jobs did the Dutch painter Metten Koornstra have?", "Is Metten Koornstra known for being a painter or a lithographer?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q2106747> <https://www.wikidata.org/wiki/Property:P106> ?var1 . }"}}
{"id": "test_6813", "question": "Towns in France with their coordinates and official websites", "sparql": "SELECT ?label ?website ?coordinates WHERE { ?town wdt:P17 wd:Q142 . ?town wdt:P625 ?coordinates . OPTIONAL { ?town wdt:P856 ?website . } ?town rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["What are the names, coordinates, and official websites of towns in France?", "List all towns in France, including their English names, geographic coordinates, and official websites if available."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q142> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,de\". } }"}}
{"id": "test_6814", "question": "What is Jacob Obrecht's occupation?", "sparql": "SELECT ?occupation WHERE { wd:Q311629 wdt:P106 ?occupation }", "paraphrases": ["What job did the Flemish composer Jacob Obrecht have?", "Can you tell me the profession associated with Jacob Obrecht in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q311629> <https://www.wikidata.org/wiki/Property:P106> ?var1 . }"}}
{"id": "test_6815", "question": "What are the occupations of Abraham Rademaker?", "sparql": "SELECT ?occupation WHERE { wd:Q2534646 wdt:P106 ?occupation .}", "paraphrases": ["What jobs did the Dutch artist Abraham Rademaker have?", "Can you list the professions associated with Abraham Rademaker, such as painter or engraver?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q2534646> <https://www.wikidata.org/wiki/Property:P106> ?var1 . }"}}
{"id": "test_6816", "question": "Who are the painters born in Amsterdam?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P31 wd:Q5 ; wdt:P106 wd:Q1028181 ; wdt:P19 wd:Q727 .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}", "paraphrases": ["Can you list all people who are painters and were born in Amsterdam?", "What is the name of every person whose occupation is painter and place of birth is Amsterdam?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q2210562> <https://www.wikidata.org/wiki/Property:P106> <https://www.wikidata.org/wiki/Q1028181> ; <https://www.wikidata.org/wiki/Property:P19> <https://www.wikidata.org/wiki/Q727> . }"}}
{"id": "test_6817", "question": "Was Karl Marx an economist and born in Trier?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  wd:Q9061 wdt:P106 wd:Q188094 ; wdt:P19 wd:Q3138 .\n}", "paraphrases": ["What are Karl Marx\u2019s occupation and place of birth?", "Confirm that Karl Marx worked as an economist and was born in Trier, Germany."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q1871479> <https://www.wikidata.org/wiki/Property:P106> <https://www.wikidata.org/wiki/Q1028181> ; <https://www.wikidata.org/wiki/Property:P19> <https://www.wikidata.org/wiki/Q727> . }"}}
{"id": "test_6818", "question": "Who are the film directors born in Germany?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item WHERE {\n  ?item wdt:P106 wd:Q2526255 ; wdt:P19 wd:Q183 .\n}", "paraphrases": ["List all people who are film directors and were born in Germany.", "Show me the entities in Wikidata that have the occupation of film director and place of birth as Germany."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q2104492> <https://www.wikidata.org/wiki/Property:P106> <https://www.wikidata.org/wiki/Q1028181> ; <https://www.wikidata.org/wiki/Property:P19> <https://www.wikidata.org/wiki/Q727> . }"}}
{"id": "test_6819", "question": "Is Thomas M\u00fcller a football player born in Germany?", "sparql": "ASK WHERE { wd:Q43666 wdt:P106 wd:Q937857 ; wdt:P19/wdt:P17 wd:Q183 . }", "paraphrases": ["Does Thomas M\u00fcller have the occupation of association football player and was he born in Germany?", "Confirm that Thomas M\u00fcller is an association football player whose birthplace is in Germany."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q2616117> <https://www.wikidata.org/wiki/Property:P106> <https://www.wikidata.org/wiki/Q1028181> ; <https://www.wikidata.org/wiki/Property:P19> <https://www.wikidata.org/wiki/Q727> . }"}}
{"id": "test_6820", "question": "What are the occupations and place of birth of Keith Haring?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?occupation ?birthplace WHERE {\n  wd:Q485635 wdt:P106 ?occupation ; wdt:P19 ?birthplace .\n}", "paraphrases": ["Can you tell me what jobs Keith Haring had and where he was born?", "Show me Keith Haring\u2019s profession(s) and birth location."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q485635> <https://www.wikidata.org/wiki/Property:P106> <https://www.wikidata.org/wiki/Q1028181> ; <https://www.wikidata.org/wiki/Property:P19> <https://www.wikidata.org/wiki/Q727> . }"}}
{"id": "test_6821", "question": "Was Johann Sebastian Bach a composer born in Eisenach?", "sparql": "ASK WHERE { wd:Q1339 wdt:P106 wd:Q36834 ; wdt:P19 wd:Q7070 . }", "paraphrases": ["Did Johann Sebastian Bach have the occupation of composer and was he born in Eisenach?", "Confirm that Johann Sebastian Bach was a composer and that his place of birth was Eisenach."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q436726> <https://www.wikidata.org/wiki/Property:P106> <https://www.wikidata.org/wiki/Q1028181> ; <https://www.wikidata.org/wiki/Property:P19> <https://www.wikidata.org/wiki/Q727> . }"}}
{"id": "test_6822", "question": "Football players born in Germany", "sparql": "SELECT ?player ?playerLabel WHERE { ?player wdt:P106 wd:Q937857 ; wdt:P19 wd:Q183 . ?player rdfs:label ?playerLabel . FILTER(LANG(?playerLabel) = 'en') } LIMIT 10", "paraphrases": ["Who are some football players born in Germany?", "List ten football players who were born in Germany."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q2496999> <https://www.wikidata.org/wiki/Property:P106> <https://www.wikidata.org/wiki/Q1028181> ; <https://www.wikidata.org/wiki/Property:P19> <https://www.wikidata.org/wiki/Q727> . }"}}
{"id": "test_6823", "question": "How many National Register of Historic Places listings are there in each U.S. county, grouped by state?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?county ?countyLabel ?state ?stateLabel(COUNT(?nrhpItem) AS ?count) WHERE {\n  ?county(wdt:P31 / wdt:P279 *) wd:Q47168 .\n  ?county wdt:P131 ?state .\n  ?state wdt:P31 wd:Q35657 .\n  ?nrhpItem wdt:P649 ?nrhpId .\n  ?nrhpItem wdt:P131 ?county .\n  ?county rdfs:label ?countyLabel .\n  ?state rdfs:label ?stateLabel .\n  FILTER(LANG(?countyLabel) = \"en\")\n  FILTER(LANG(?stateLabel) = \"en\")\n}\nGROUP BY ?county ?countyLabel ?state ?stateLabel\nORDER BY DESC(?count)", "paraphrases": ["Which U.S. counties have the most NRHP-listed sites, and in which states are they located?", "Show me a list of U.S. counties with the count of historic places registered on the National Register of Historic Places, along with their corresponding states."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ( COUNT (* ) AS ?var3 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q47168> . ?var1 <http://www.wikidata.org/prop/direct/P361> * ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q35657> . ?var4 <http://www.wikidata.org/prop/direct/P649> ?var5 . ?var4 <http://www.wikidata.org/prop/direct/P131> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var1Label ?var2Label"}}
{"id": "test_6824", "question": "What is the occupation and place of birth of Jacob Colijn?", "sparql": "SELECT ?itemLabel ?occupationLabel ?birthPlaceLabel WHERE { wd:Q41263839 wdt:P106 ?occupation ; wdt:P19 ?birthPlace . ?occupation rdfs:label ?occupationLabel . ?birthPlace rdfs:label ?birthPlaceLabel . wd:Q41263839 rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") FILTER(LANG(?occupationLabel) = \"en\") FILTER(LANG(?birthPlaceLabel) = \"en\")}", "paraphrases": ["Can you tell me the English labels for Jacob Colijn\u2019s occupation and where he was born?", "Show me Jacob Colijn\u2019s profession and birthplace in English."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q41263839> <https://www.wikidata.org/wiki/Property:P106> <https://www.wikidata.org/wiki/Q1734662> ; <https://www.wikidata.org/wiki/Property:P19> <https://www.wikidata.org/wiki/Q727> . }"}}
{"id": "test_6825", "question": "Was Johann Sebastian Bach a composer and born in Eisenach?", "sparql": "ASK WHERE { wd:Q1339 wdt:P106 wd:Q36834 ; wdt:P19 wd:Q7070 .}", "paraphrases": ["Johann Sebastian Bach occupation composer and place of birth Eisenach", "Confirm that Johann Sebastian Bach was a composer and born in Eisenach."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q170345> <https://www.wikidata.org/wiki/Property:P106> <https://www.wikidata.org/wiki/Q1734662> ; <https://www.wikidata.org/wiki/Property:P19> <https://www.wikidata.org/wiki/Q727> . }"}}
{"id": "test_6826", "question": "What was Karl Marx\u2019s occupation and where was he born?", "sparql": "SELECT ?occupationLabel ?birthPlaceLabel WHERE { wd:Q9061 wdt:P106 wd:Q188094 ; wdt:P19 wd:Q3138 . wd:Q188094 rdfs:label ?occupationLabel . wd:Q3138 rdfs:label ?birthPlaceLabel . FILTER(LANG(?occupationLabel) = 'en') . FILTER(LANG(?birthPlaceLabel) = 'en') }", "paraphrases": ["Can you tell me the English labels for Karl Marx\u2019s occupation as an economist and his place of birth in Trier?", "Show me the English names for the occupation (economist) and birthplace (Trier) associated with Karl Marx."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q3259434> <https://www.wikidata.org/wiki/Property:P106> <https://www.wikidata.org/wiki/Q1734662> ; <https://www.wikidata.org/wiki/Property:P19> <https://www.wikidata.org/wiki/Q727> . }"}}
{"id": "test_6827", "question": "Actors born in Germany", "sparql": "SELECT ?person WHERE { ?person wdt:P106 wd:Q33999 ; wdt:P19 wd:Q183 . }", "paraphrases": ["Who are the people born in Germany who work as actors?", "List people who are actors and were born in Germany."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q2158389> <https://www.wikidata.org/wiki/Property:P106> <https://www.wikidata.org/wiki/Q1734662> ; <https://www.wikidata.org/wiki/Property:P19> <https://www.wikidata.org/wiki/Q727> . }"}}
{"id": "test_6828", "question": "Is Thomas M\u00fcller a football player born in Germany?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK {\n  wd:Q43666 wdt:P106 wd:Q937857 ; wdt:P19 / wdt:P17 wd:Q183 .\n}", "paraphrases": ["Was Thomas M\u00fcller born in Germany and does he play football professionally?", "Confirm that Thomas M\u00fcller is a German football player."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q2465260> <https://www.wikidata.org/wiki/Property:P106> <https://www.wikidata.org/wiki/Q1734662> ; <https://www.wikidata.org/wiki/Property:P19> <https://www.wikidata.org/wiki/Q727> . }"}}
{"id": "test_6829", "question": "Is Pope Francis a priest and was he born in Flores, Argentina?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q450675 wdt:P106 wd:Q1469535 ; wdt:P19 wd:Q643907 .\n}", "paraphrases": ["What are the occupation and birthplace of Pope Francis, and do they match being a Latin Catholic priest and being born in Flores?", "Does Pope Francis have the occupation of a Latin Catholic priest and was born in Flores, Argentina?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q864092> <https://www.wikidata.org/wiki/Property:P106> <https://www.wikidata.org/wiki/Q1734662> ; <https://www.wikidata.org/wiki/Property:P19> <https://www.wikidata.org/wiki/Q727> . }"}}
{"id": "test_6830", "question": "Actors born in Germany", "sparql": "SELECT ?actor ?actorLabel WHERE { ?actor wdt:P106 wd:Q33999 ; wdt:P19 wd:Q183 . ?actor rdfs:label ?actorLabel . FILTER(LANG(?actorLabel) = 'en') } LIMIT 10", "paraphrases": ["Who are some actors who were born in Germany?", "List actors from Germany."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q720035> <https://www.wikidata.org/wiki/Property:P106> <https://www.wikidata.org/wiki/Q1734662> ; <https://www.wikidata.org/wiki/Property:P19> <https://www.wikidata.org/wiki/Q727> . }"}}
{"id": "test_6831", "question": "Who are the people with the surname Velde, and what are their occupations and places of birth?", "sparql": "SELECT ?person ?personLabel ?occupationLabel ?birthplaceLabel WHERE { ?person wdt:P734 wd:Q30233156 ; wdt:P106 ?occupation ; wdt:P19 ?birthplace . ?occupation rdfs:label ?occupationLabel . ?birthplace rdfs:label ?birthplaceLabel . FILTER(LANG(?occupationLabel) = 'en') FILTER(LANG(?birthplaceLabel) = 'en') }", "paraphrases": ["Can you list individuals named Velde along with their jobs and where they were born?", "Show me the occupations and birthplaces of people who have the family name Velde."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q30233156> <https://www.wikidata.org/wiki/Property:P106> <https://www.wikidata.org/wiki/Q1734662> ; <https://www.wikidata.org/wiki/Property:P19> <https://www.wikidata.org/wiki/Q727> . }"}}
{"id": "test_6832", "question": "People with signature images on Wikimedia Commons, in English.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel(strafter(str(?signatureImageURL) , \"Special:FilePath/\") AS ?filename) WHERE {\n  ?person wdt:P109 ?signatureImageURL .\n  ?person wdt:P31 wd:Q5 .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}\nORDER BY ?personLabel\nLIMIT 50", "paraphrases": ["Who are some notable people whose signatures are available as images on Wikimedia Commons?", "List 50 humans with their signature images and the filenames of those images, using English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P109> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } } LIMIT 50"}}
{"id": "test_6833", "question": "What educational institutions did Dr. Rajeev Singh attend, and when did he study there? What degrees did he earn?", "sparql": "SELECT ?institution ?institutionLabel ?start ?end ?degreeLabel WHERE { wd:Q130475262 p:P69 ?statement . ?statement ps:P69 ?institution . ?institution rdfs:label ?institutionLabel . FILTER (LANG(?institutionLabel) = \"en\") . OPTIONAL { ?statement pq:P580 ?start . } OPTIONAL { ?statement pq:P582 ?end . } OPTIONAL { ?statement pq:P512 ?degree . ?degree rdfs:label ?degreeLabel . FILTER (LANG(?degreeLabel) = \"en\") . } }", "paraphrases": ["List the universities Dr. Rajeev Singh went to, along with the start and end years of his studies and any academic degrees he obtained.", "For each educational institution attended by Dr. Rajeev Singh, what are the enrollment period and the corresponding academic degree?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 ?var5Label WHERE { <http://www.wikidata.org/entity/Q47450703> <http://www.wikidata.org/prop/P69> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P69> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P580> ?var3 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var4 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P512> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_6834", "question": "Most common birth dates on Wikidata, by month and day", "sparql": "SELECT ?monthDay WHERE { { SELECT ?month ?day (SUM(?count) AS ?total) WHERE { { SELECT ?birthDate (COUNT(*) AS ?count) WHERE { ?human wdt:P31 wd:Q5 ; p:P569/psv:P569 [ wikibase:timeValue ?birthDate ; wikibase:timePrecision \"11\"^^xsd:integer ] . } GROUP BY ?birthDate } BIND(MONTH(?birthDate) AS ?month) BIND(DAY(?birthDate) AS ?day) } GROUP BY ?month ?day ORDER BY DESC(?total) } BIND(CONCAT(STR(?month), \"-\", STR(?day)) AS ?monthDay) }", "paraphrases": ["Which days of the year have the most recorded human births in Wikidata?", "Show me the days of the year with the highest number of human births, formatted as month-day."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { { SELECT ?var3 ?var4 ( SUM ( ?var5 ) AS ?var2 ) WHERE { { SELECT ?var6 ( COUNT ( ?var7 ) AS ?var5 ) WHERE { ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; ( <http://www.wikidata.org/prop/P569> / <http://www.wikidata.org/prop/statement/value/P569> ) [ <http://wikiba.se/ontology#timeValue> ?var6 ; <http://wikiba.se/ontology#timePrecision> \"11\"^^<http://www.w3.org/2001/XMLSchema#integer> ] . } GROUP BY ?var6 } BIND ( MONTH ( ?var6 ) AS ?var3 ). BIND ( DAY ( ?var6 ) AS ?var4 ). } GROUP BY ?var3 ?var4 } BIND ( CONCAT ( STR ( ?var3 ) , \"-\", STR ( ?var4 ) ) AS ?var1 ). }"}}
{"id": "test_6835", "question": "Who are the members of the AfD political party, and what are their genders and dates of birth?", "sparql": "SELECT ?member ?dateOfBirth ?gender ?genderLabel WHERE { ?member wdt:P102 wd:Q6721203 . OPTIONAL { ?member wdt:P569 ?dateOfBirth . } OPTIONAL { ?member wdt:P21 ?gender . } VALUES (?gender ?genderLabel) { (wd:Q6581097 \"male\") (wd:Q6581072 \"female\") } } LIMIT 10", "paraphrases": ["Can you list up to 10 members of Alternative f\u00fcr Deutschland along with their birth dates and whether they are male or female?", "Show me the gender and birth date of people who belong to the German political party AfD."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var3Label ?var4 ?var4Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P102> <http://www.wikidata.org/entity/Q6721203> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var4 . } } LIMIT 10"}}
{"id": "test_6836", "question": "What infobox template on Russian Wikipedia is associated with the most narrowly defined and deeply nested topic?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?infobox ?topic ?directSubclassCount ?indirectSubclassCount WHERE {\n  ?infobox wdt:P31 wd:Q19887878 ; wdt:P1423 ?topic .\n  ?article schema:about ?infobox ; schema:isPartOf <https://ru.wikipedia.org/> .\n  {\n    SELECT ?topic(COUNT(?direct) AS ?directSubclassCount) WHERE {\n      ?direct wdt:P279 ?topic .\n    }\n    GROUP BY ?topic\n  }\n  {\n    SELECT ?topic(COUNT(?indirect) AS ?indirectSubclassCount) WHERE {\n      ?indirect wdt:P279 ?mid .\n      ?mid wdt:P279 ?topic .\n    }\n    GROUP BY ?topic\n  }\n}\nORDER BY ASC(?directSubclassCount) DESC(?indirectSubclassCount)\nLIMIT 1", "paraphrases": ["Which infobox template used on Russian Wikipedia has the fewest direct subclasses but the most indirect subclasses under its topic?", "Find the infobox template for artificial languages that is used on Russian Wikipedia and has the most specialized subcategories."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ( COUNT ( ?var5 ) AS ?var6 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ( COUNT ( ?var7 ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19887878> . ?var1 <http://www.wikidata.org/prop/direct/P1423> ?var2 . <http://www.wikidata.org/entity/Q16673362> ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P106> ) ?var8 . ?var8 <http://www.wikidata.org/prop/direct/P279> * ?var7 . ?var7 <http://www.wikidata.org/prop/direct/P279> * ?var2 . } GROUP BY ?var1 ?var2 } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> * ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P279> * ?var3 . } } GROUP BY ?var1 ?var2 ?var3 ?var4 } FILTER ( ( EXISTS { ?var9 <http://schema.org/about> ?var1 . ?var9 <http://schema.org/isPartOf> <https://ru.wikipedia.org/> . } ) ) . } ORDER BY ASC( ?var4 ) DESC( ?var6 ) LIMIT 1"}}
{"id": "test_6837", "question": "What properties link other entities to Stanley Kubrick in Wikidata, and what are their English labels and descriptions?", "sparql": "SELECT DISTINCT ?propItem ?propLabel ?propDescription WHERE { ?item ?directClaim wd:Q2001 . ?propItem wikibase:directClaim ?directClaim . ?propItem rdfs:label ?propLabel . ?propItem schema:description ?propDescription . FILTER(LANG(?propLabel) = \"en\") FILTER(LANG(?propDescription) = \"en\") } LIMIT 100", "paraphrases": ["Which roles or relationships are associated with Stanley Kubrick in Wikidata, described in English?", "Show me the English labels and descriptions of all properties that have Stanley Kubrick as their object in Wikidata statements."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q2001> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_6838", "question": "How many genes encode the protein Nectin cell adhesion molecule 2?", "sparql": "SELECT (COUNT(?gene) AS ?count) WHERE { ?gene wdt:P688 wd:Q21132881 . }", "paraphrases": ["How many genes code for the protein Nectin-2?", "Tell me the number of genes that produce the protein Nectin cell adhesion molecule 2."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P688> <http://www.wikidata.org/entity/Q21132881> . }"}}
{"id": "test_6839", "question": "Who are the living male individuals born today (month and day) after 1950, and in what year were they born?", "sparql": "SELECT ?personLabel (YEAR(?birthDate) AS ?yearOfBirth) WHERE { ?person wdt:P569 ?birthDate . ?person wdt:P21 wd:Q6581097 . FILTER (YEAR(?birthDate) > 1950) . FILTER (MONTH(?birthDate) = MONTH(NOW()) && DAY(?birthDate) = DAY(NOW())) . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") . } LIMIT 10000", "paraphrases": ["Male celebrities born today since 1950 \u2014 their birth years", "Show me the names and birth years of all living men born on this day since 1950."], "info": {"raw_sparql": "SELECT ?var1Label ( YEAR ( ?var2 ) AS ?var3 ) WHERE { BIND ( MONTH ( NOW ( ) ) AS ?var4 ). BIND ( DAY ( NOW ( ) ) AS ?var5 ). ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581097> . FILTER ( ( ( YEAR ( ?var2 ) > \"1950\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . FILTER ( ( ( MONTH ( ?var2 ) = ?var4 ) && ( DAY ( ?var2 ) = ?var5 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10000"}}
{"id": "test_6840", "question": "Female alumni of Imperial College London and their birthplace coordinates", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?birthPlaceLabel ?coordinates WHERE {\n  ?person wdt:P69 wd:Q189022 .\n  ?person wdt:P21 wd:Q6581072 .\n  ?person wdt:P19 ?birthPlace .\n  ?birthPlace wdt:P625 ?coordinates .\n  ?person rdfs:label ?personLabel .\n  ?birthPlace rdfs:label ?birthPlaceLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) FILTER ( LANG( ?birthPlaceLabel ) = \"en\" )\n}", "paraphrases": ["Who are the female graduates of Imperial College London, and where were they born?", "List the names of women educated at Imperial College London, along with the names of their birthplaces and geographic coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P69> <http://www.wikidata.org/entity/Q189022> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P625> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6841", "question": "What are the editions of the ITF Women's Circuit tennis tour?", "sparql": "SELECT ?edition ?editionLabel WHERE { ?edition wdt:P3450 wd:Q2701085 . ?edition rdfs:label ?editionLabel . FILTER(LANG(?editionLabel) = \"en\")}", "paraphrases": ["List all the yearly seasons of the ITF Women's Circuit.", "Which years had an ITF Women's Circuit tournament edition?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3450> <http://www.wikidata.org/entity/Q2701085> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6842", "question": "What properties describe the German battleship Bismarck, along with their English labels and descriptions?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?prop ?propLabel ?propDescription WHERE {\n  wd:Q150857 ?directClaim ?value .\n  ?prop wikibase:directClaim ?directClaim .\n  ?prop rdf:type wikibase:Property .\n  ?prop rdfs:label ?propLabel .\n  ?prop schema:description ?propDescription .\n  FILTER(LANG(?propLabel) = \"en\")\n  FILTER(LANG(?propDescription) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Which properties are used to describe the Bismarck battleship in Wikidata, and what are their English labels and descriptions?", "Show me the English labels and descriptions of all properties used to describe the Bismarck battleship."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q150857> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_6843", "question": "Taxonomic hierarchy of the blue whale including parent taxa.", "sparql": "SELECT ?taxon ?taxonLabel ?parentTaxon WHERE { wd:Q42196 wdt:P171* ?taxon . OPTIONAL { ?taxon wdt:P171 ?parentTaxon . } FILTER(LANG(?taxonLabel) = \"en\") . ?taxon rdfs:label ?taxonLabel . }", "paraphrases": ["What are the taxonomic ranks above the blue whale, and what is each one's immediate parent?", "Show me the full taxonomic lineage of the blue whale, with each level and its parent taxon."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q4930019> <http://www.wikidata.org/prop/direct/P171> * ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P171> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6844", "question": "What are the linguistic classifications of Kildin Sami on Wikipedia?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?class ?classLabel ?wikipediaPage WHERE {\n  wd:Q33656 wdt:P31 / ( wdt:P279 * ) ?class .\n  OPTIONAL {\n    ?wikipediaPage schema:about ?class ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n  ?class rdfs:label ?classLabel .\n  FILTER ( LANG( ?classLabel ) = \"en\" )\n}", "paraphrases": ["What classes does Kildin Sami belong to, including its broader linguistic categories, and which of these have English Wikipedia pages?", "Show me the English labels and corresponding Wikipedia pages for all classes that Kildin Sami is an instance of or a subclass of."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q33656> ( <http://www.wikidata.org/prop/direct/P31> ?/ <http://www.wikidata.org/prop/direct/P279> *) ?var1 . OPTIONAL { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6845", "question": "Image of Alberto Vargas with SNAC ARK ID w6m62vtb", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6m62vtb\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the Wikimedia Commons image associated with the SNAC ARK ID w6m62vtb?", "Show me the image of the person identified by the SNAC ARK ID w6m62vtb."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6m62vtb\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6846", "question": "List all businesses and the industries they operate in.", "sparql": "SELECT ?business ?industry WHERE { ?business wdt:P31 wd:Q4830453 . ?business wdt:P452 ?industry . } ORDER BY ?business ?industry", "paraphrases": ["What industries are associated with each business entity?", "Show me the names of businesses and their corresponding industries according to Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en,fr,de,ru,pl,ar,zh,es,cs,nl,no,nb,he,bn,sl,ro,fa,hu,bg,cy,sv,ja,da,tr,pt\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4830453> . ?var1 <http://www.wikidata.org/prop/direct/P452> ?var2 . } GROUP BY ?var1 ?var2"}}
{"id": "test_6847", "question": "Enzymes with EC numbers and Japanese labels that have \"kinase\" in their alternative names.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?enzyme ?label ?altLabel WHERE {\n  ?enzyme wdt:P591 ?ec ; rdfs:label ?label ; skos:altLabel ?altLabel .\n  FILTER ( REGEX( ?altLabel , \"kinase\" ) ) .\n  FILTER ( LANG( ?label ) = \"ja\" ) .\n}\nLIMIT 10", "paraphrases": ["What enzymes in Wikidata have a Japanese label and an alternative name containing \"kinase\"?", "Show me enzymes that are classified with an EC number, have a Japanese name, and are also known by names including \"kinase\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 WHERE { OPTIONAL { ?var2 <http://www.wikidata.org/prop/P591> ?var10 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var5 ; <http://www.w3.org/2004/02/skos/core#altLabel> ?var8 . FILTER ( ( REGEX ( ?var8 , \"string1\" ) ) ) . FILTER ( ( ( LANG ( ?var5 ) = \"ja\" ) ) ) . } } LIMIT 10"}}
{"id": "test_6848", "question": "What type of artwork is Guernica classified as?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?classLabel WHERE {\n  wd:Q175036 wdt:P31 ?class .\n  ?class rdfs:label ?classLabel .\n  FILTER(LANG(?classLabel) = \"en\")\n}", "paraphrases": ["What is the category or class that the painting Guernica belongs to?", "Show the English label for the type of entity that Guernica is an instance of."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { <http://www.wikidata.org/entity/Q175036> <http://www.wikidata.org/prop/direct/P31> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it\". } }"}}
{"id": "test_6849", "question": "What are enzymes with EC numbers that have \"hydrolase\" in their English name?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?enzyme ?enzymeLabel ?ecNumber WHERE {\n  ?enzyme wdt:P591 ?ecNumber .\n  ?enzyme rdfs:label ?enzymeLabel .\n  FILTER(LANG(?enzymeLabel) = \"en\")\n  FILTER(REGEX(?enzymeLabel , \"hydrolase\" , \"i\"))\n}\nLIMIT 10", "paraphrases": ["List enzymes classified by EC number whose labels contain the word \"hydrolase\".", "Show me enzymes that are hydrolases, along with their EC classification numbers."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { OPTIONAL { ?var4 <http://www.wikidata.org/prop/P591> ?var5 ; <http://www.w3.org/2004/02/skos/core#altLabel> ?var6 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var7 . FILTER ( ( REGEX ( ?var7 , \"string1\" ) ) ) . FILTER ( ( ( LANG ( ?var6 ) = \"ja\" ) ) ) . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/P591> ?var9 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var10 ; <http://www.w3.org/2004/02/skos/core#altLabel> ?var11 . FILTER ( ( REGEX ( ?var11 , \"string1\" ) ) ) . FILTER ( ( ( LANG ( ?var10 ) = \"ja\" ) ) ) . } OPTIONAL { ?var12 <http://www.wikidata.org/prop/P591> ?var13 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var14 ; <http://www.w3.org/2004/02/skos/core#prefLabel> ?var15 . FILTER ( ( REGEX ( ?var15 , \"string1\" ) ) ) . FILTER ( ( ( LANG ( ?var14 ) = \"ja\" ) ) ) . } BIND ( CONCAT ( ?var4 , \"\", ?var8 , \"\", ?var12 ) AS ?var1 ). BIND ( CONCAT ( ?var7 , \"\", ?var10 , \"\", ?var14 ) AS ?var2 ). BIND ( CONCAT ( ?var6 , \"\", ?var11 , \"\", ?var15 ) AS ?var3 ). } LIMIT 10"}}
{"id": "test_6850", "question": "English name of AgentSheets", "sparql": "SELECT ?label WHERE { wd:Q4692057 rdfs:label ?label . FILTER (LANGMATCHES(LANG(?label), \"en\")) }", "paraphrases": ["What is the English label for AgentSheets?", "Tell me the English name of AgentSheets."], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { <http://www.wikidata.org/entity/Q4692057> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( LANGMATCHES ( LANG ( ?var1Label ) , \"EN\" ) ) ) . } LIMIT 1"}}
{"id": "test_6851", "question": "What sports are governed by organizations in Germany?", "sparql": "SELECT ?sport ?sportLabel WHERE { ?org wdt:P31 wd:Q4438121 ; wdt:P17 wd:Q183 ; wdt:P641 ?sport . ?sport rdfs:label ?sportLabel . FILTER(LANG(?sportLabel) = \"en\") }", "paraphrases": ["Which sports have their national federations based in Germany?", "Can you list sports that are organized by German sports associations?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q349> . ?var2 <http://www.wikidata.org/prop/direct/P495> <http://www.wikidata.org/entity/Q183> . }"}}
{"id": "test_6852", "question": "What are the label, description, and identifiers (UMLS, Mondo, DOID) for Jewett-Marshall bladder cancer?", "sparql": "SELECT ?diseaseLabel ?description ?instanceOfLabel ?umlsCui ?mondoId ?diseaseOntologyId WHERE { wd:Q18557548 rdfs:label ?diseaseLabel . FILTER(LANG(?diseaseLabel) = \"en\") wd:Q18557548 schema:description ?description . FILTER(LANG(?description) = \"en\") wd:Q18557548 wdt:P31 ?instanceOf . ?instanceOf rdfs:label ?instanceOfLabel . FILTER(LANG(?instanceOfLabel) = \"en\") wd:Q18557548 wdt:P2892 ?umlsCui . wd:Q18557548 wdt:P5270 ?mondoId . wd:Q18557548 wdt:P699 ?diseaseOntologyId .}", "paraphrases": ["What is the English label and description of Jewett-Marshall bladder cancer, and what class of disease does it belong to, along with its UMLS CUI, Mondo ID, and Disease Ontology ID?", "Please provide the English name, description, type (as a class of disease), and medical identifiers (UMLS, Mondo, and Disease Ontology) for Jewett-Marshall bladder cancer."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q18557548> ?var1 ?var2 . }"}}
{"id": "test_6853", "question": "What are the multilingual names, medical codes, and classification of pulmonary scar carcinoma?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?property ?value ?valueLabel WHERE {\n  wd:Q3658383 ?property ?value .\n  FILTER ( ?property IN ( rdfs:label , schema:description , wdt:P279 , wdt:P493 , wdt:P494 ) ) OPTIONAL {\n    ?value rdfs:label ?valueLabel .\n    FILTER ( LANG( ?valueLabel ) = \"en\" )\n  }\n}", "paraphrases": ["What is pulmonary scar carcinoma, and what are its ICD codes and parent category in medical classification?", "Show me the English and other language names, descriptions, ICD-9 and ICD-10 codes, and the type of cancer that pulmonary scar carcinoma belongs to."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q3658383> ?var1 ?var2 . }"}}
{"id": "test_6854", "question": "What are the main subjects of works authored by David Start, and how many works are there for each?", "sparql": "SELECT ?count ?subjectLabel WHERE { { SELECT ?subject (COUNT(?work) AS ?count) WHERE { ?work wdt:P50 wd:Q42720223 . ?work wdt:P921 ?subject . } GROUP BY ?subject ORDER BY DESC(?count) } ?subject rdfs:label ?subjectLabel . FILTER(LANG(?subjectLabel) = \"en\") }", "paraphrases": ["Which topics are most commonly associated with books or articles written by David Start, and how many works cover each topic?", "List the main subjects of David Start\u2019s works in English, sorted by how many works each subject appears in, with the count."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label WHERE { { SELECT ?var4 ( COUNT ( ?var5 ) AS ?var1 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q42720223> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . } GROUP BY ?var4 ORDER BY DESC( ?var1 ) } BIND ( SUBSTR ( ?var6Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q42720223> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . }"}}
{"id": "test_6855", "question": "How many scholarly articles cite \"The Merchants' Warehouse, Castlefield, Manchester\" by year, and do they have authors?", "sparql": "SELECT ?year ( COUNT( DISTINCT ?citingWork ) AS ?count ) ?hasAuthor WHERE { BIND( wd:Q42721065 AS ?citedArticle ) . ?citingWork wdt:P2860 ?citedArticle . ?citingWork wdt:P577 ?publicationDate . BIND( SUBSTR( STR( ?publicationDate ), 1, 4 ) AS ?year ) . OPTIONAL { BIND( IF( EXISTS { ?citingWork wdt:P50 [] } , \"has author\" , \"no author\" ) AS ?hasAuthor ) } } GROUP BY ?year ?hasAuthor ORDER BY DESC ( ?year )", "paraphrases": ["In which years were articles citing \"The Merchants' Warehouse, Castlefield, Manchester\" published, and were those articles authored?", "Show me the count of articles that cite \"The Merchants' Warehouse, Castlefield, Manchester\", grouped by their publication year and whether they have authors."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q42721065> AS ?var5 ). ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var5 . OPTIONAL { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> ?var6 . } , \"string1\", \"string2\" ) AS ?var4 ). ?var5 <http://www.wikidata.org/prop/direct/P50> ?var6 . } BIND ( STR ( YEAR ( ?var7 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P577> ?var7 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_6856", "question": "Items located in Taiwan with their country statement qualifiers", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?item ?statement ( SAMPLE( ?qualifierProperty ) AS ?sampleQualifier ) WHERE {\n  ?item p:P17 ?statement .\n  ?statement ps:P17 wd:Q865 .\n  OPTIONAL {\n    ?statement ?qualifierProperty ?qualifierValue .\n    ?qualifierEntity wikibase:qualifier ?qualifierProperty .\n  }\n}\nGROUP BY ?item ?statement\nLIMIT 101", "paraphrases": ["What items are located in Taiwan, and what qualifiers are used on their country statements?", "Show me up to 101 items in Taiwan and any qualifiers on their country (P17) statements."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P17> <http://www.wikidata.org/entity/Q865> . ?var1 <http://www.wikidata.org/prop/P17> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_6857", "question": "Which Wikidata property is most frequently used to link entities to the Nobel Laureate Meetings at Lindau?", "sparql": "SELECT ?directProp (COUNT(?directProp) AS ?count)\nWHERE {\n  ?item ?statementProp wd:Q835775 .\n  ?directProp wikibase:directClaim ?statementProp .\n  ?directProp rdf:type wikibase:Property .\n}\nGROUP BY ?directProp\nORDER BY DESC(?count)\nLIMIT 1", "paraphrases": ["What is the most common property used in statements that connect participants to the Nobel Laureate Meetings at Lindau?", "Show me the Wikidata property that is used most often to relate individuals to the Nobel Laureate Meetings at Lindau, based on their statement claims."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q835775> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_6858", "question": "Films with their titles and filming locations in English", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?film ?title ?filmingLocation ?filmingLocationLabel WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  OPTIONAL {\n    ?film wdt:P1476 ?title .\n  }\n  OPTIONAL {\n    ?film wdt:P915 ?filmingLocation .\n    ?filmingLocation rdfs:label ?filmingLocationLabel .\n    FILTER(LANG(?filmingLocationLabel) = \"en\")\n  }\n}\nLIMIT 100", "paraphrases": ["What are the titles and filming locations of films in Wikidata, with English labels for the locations?", "Show me a list of films, including their titles and where they were filmed, with the filming locations named in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var3Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P915> ?var3 . } } LIMIT 100"}}
{"id": "test_6859", "question": "What items are located in Guernsey, and what are their labels and the label of the location?", "sparql": "SELECT ?item ?itemLabel ?location ?locationLabel ?property ?propertyLabel WHERE { ?item wdt:P131 wd:Q25230 . ?item rdfs:label ?itemLabel . wd:Q25230 rdfs:label ?locationLabel . wd:P131 rdfs:label ?propertyLabel . FILTER(LANG(?itemLabel) = \"en\") FILTER(LANG(?locationLabel) = \"en\") FILTER(LANG(?propertyLabel) = \"en\") }", "paraphrases": ["Show me all entities in Guernsey along with their English labels and the property used to link them to Guernsey.", "List the English-labeled items that are administratively located in Guernsey, including the name of the location and the property used."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label WHERE { ?var3 <http://wikiba.se/ontology#claim> ?var5 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#qualifier> ?var7 . ?var3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var4 <http://wikiba.se/ontology#claim> ?var8 . ?var4 <http://wikiba.se/ontology#qualifier> ?var9 . ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var1 ?var5 ?var10 . ?var10 ?var6 ?var2 . ?var10 ?var9 <http://www.wikidata.org/entity/Q24695677> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6860", "question": "Image of Marilyn Hacker (SNAC ARK ID w6md1tq8)", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6md1tq8\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Is there an image available for Marilyn Hacker in Wikidata, identified by the SNAC ARK ID w6md1tq8?", "Please retrieve the Wikimedia Commons image associated with the SNAC ARK ID w6md1tq8."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6md1tq8\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6861", "question": "What are the occupations of Audrey Hepburn?", "sparql": "SELECT ?occupation WHERE { wd:Q42786 wdt:P106 ?occupation .}", "paraphrases": ["What roles or professions is Audrey Hepburn known for?", "Can you list the jobs Audrey Hepburn had during her career?"], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q42786> <http://www.wikidata.org/prop/direct/1196> ?var1 . }"}}
{"id": "test_6862", "question": "What awards did Audrey Hepburn receive?", "sparql": "SELECT ?award WHERE { wd:Q42786 wdt:P166 ?award .}", "paraphrases": ["Awards won by Audrey Hepburn.", "List all the awards that Audrey Hepburn was given during her career."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/5509> <http://www.wikidata.org/entity/Q42786> . }"}}
{"id": "test_6863", "question": "Encyclopedia articles in the Brockhaus and Efron Dictionary about humans", "sparql": "SELECT DISTINCT ?article ?human ?articleLabel ?humanLabel WHERE { ?article wdt:P31 wd:Q13433827 ; wdt:P1433 ?encyclopedia ; wdt:P921 ?human . ?encyclopedia wdt:P361 wd:Q602358 . ?human wdt:P31 wd:Q5 . ?article rdfs:label ?articleLabel FILTER(LANG(?articleLabel) = 'en') . ?human rdfs:label ?humanLabel FILTER(LANG(?humanLabel) = 'en') . } ORDER BY ASC(?humanLabel)", "paraphrases": ["Which humans are the main subjects of articles in the Brockhaus and Efron Encyclopedic Dictionary?", "List all biographical entries from the Brockhaus and Efron Encyclopedic Dictionary along with the names of the humans they are about."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var1Label ?var2Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q17329259> ; <http://www.wikidata.org/prop/direct/P1433> ?var3 ; <http://www.wikidata.org/prop/direct/P921> ?var1 . ?var3 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q602358> . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var4 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/P1343> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P1343> <http://www.wikidata.org/entity/Q602358> . ?var5 <http://www.wikidata.org/prop/qualifier/P248> ?var6 . ?var5 <http://www.wikidata.org/prop/qualifier/P805> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru\". } FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q5> ) ) ) . FILTER ( ( !( BOUND ( ?var6 ) ) && !( BOUND ( ?var7 ) ) ) ) . } ORDER BY ASC( ?var1Label )"}}
{"id": "test_6864", "question": "Humans described in Brockhaus and Efron Encyclopedic Dictionary but not in the Russian Biographical Dictionary.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?human ?humanLabel WHERE {\n  ?human wdt:P31 wd:Q5 ; wdt:P1343 wd:Q602358 .\n  FILTER NOT EXISTS {\n    ?human wdt:P1343 wd:Q1960551\n  }\n  .\n  ?human rdfs:label ?humanLabel FILTER ( LANG( ?humanLabel ) = \"en\" )\n}\nORDER BY ?humanLabel", "paraphrases": ["Which people are mentioned in the Brockhaus and Efron Encyclopedic Dictionary but not in the Russian Biographical Dictionary?", "List the names of individuals who appear in the Brockhaus and Efron Encyclopedic Dictionary but do not appear in the Russian Biographical Dictionary."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var1Label ?var2Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q602358> ; <http://www.wikidata.org/prop/direct/P1433> ?var3 ; <http://www.wikidata.org/prop/direct/P921> ?var1 . ?var3 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q1960551> . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var4 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/P1343> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P1343> <http://www.wikidata.org/entity/Q602358> . ?var5 <http://www.wikidata.org/prop/qualifier/P248> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/P1343> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P1343> <http://www.wikidata.org/entity/Q602358> . ?var5 <http://www.wikidata.org/prop/qualifier/P805> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru\". } FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q5> ) ) ) . FILTER ( ( !( BOUND ( ?var6 ) ) ) ) . } ORDER BY ASC( ?var2Label )"}}
{"id": "test_6865", "question": "Males born on February 3rd in the United States after 1900", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel(YEAR(?birthDate) AS ?birthYear) ?givenName ?familyName WHERE {\n  ?person wdt:P569 ?birthDate .\n  ?person wdt:P21 wd:Q6581097 .\n  ?person wdt:P19 ?birthPlace .\n  ?birthPlace wdt:P131 * wd:Q30 .\n  FILTER(YEAR(?birthDate) > 1900)\n  FILTER(MONTH(?birthDate) = 2 && DAY(?birthDate) = 3)\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n  OPTIONAL {\n    ?person wdt:P735 ?givenNameNode .\n    ?givenNameNode rdfs:label ?givenName .\n    FILTER(LANG(?givenName) = \"en\")\n  }\n  OPTIONAL {\n    ?person wdt:P734 ?familyNameNode .\n    ?familyNameNode rdfs:label ?familyName .\n    FILTER(LANG(?familyName) = \"en\")\n  }\n}\nLIMIT 10000", "paraphrases": ["Who are the men born on February 3rd in the United States after 1900, and what are their birth years?", "List the names and birth years of American men born on February 3rd since 1900."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ( YEAR ( ?var3 ) AS ?var4 ) WHERE { BIND ( \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var5 ). BIND ( \"3\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var6 ). ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581097> . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var7 . ?var7 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q30> . ?var1 <http://www.wikidata.org/prop/direct/P1477> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( ( YEAR ( ?var3 ) > \"1900\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . FILTER ( ( ( MONTH ( ?var3 ) = ?var5 ) && ( DAY ( ?var3 ) = ?var6 ) ) ) . } LIMIT 10000"}}
{"id": "test_6866", "question": "People who are cooks", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P106 wd:Q156839 .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Who are some people whose occupation is cook?", "List up to 100 English-named individuals who work as cooks."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"zh,en\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q156839> . } LIMIT 100"}}
{"id": "test_6867", "question": "What are the Instagram usernames and coordinates of zoos in Finland?", "sparql": "SELECT ?zoo ?label ?instagramUsername ?coordinates WHERE { ?zoo (wdt:P31/wdt:P279*) wd:Q43501 . ?zoo wdt:P2003 ?instagramUsername . ?zoo wdt:P625 ?coordinates . ?zoo wdt:P17 wd:Q33 . ?zoo rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["Can you list the zoos in Finland along with their Instagram handles and geographic locations?", "Which zoos in Finland have public Instagram accounts, and where are they located?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q43501> . ?var1 <http://www.wikidata.org/prop/direct/P2003> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fi,sv\". } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q33> . }"}}
{"id": "test_6868", "question": "What are some businesses located in Finland?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?businessLabel WHERE {\n  ?business wdt:P31 wd:Q4830453 ; wdt:P17 wd:Q33 .\n  ?business rdfs:label ?businessLabel .\n  FILTER(LANG(?businessLabel) = \"en\")\n}\nLIMIT 1000", "paraphrases": ["List English-named companies in Finland.", "Show me the names of businesses based in Finland."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4830453> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q33> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en,fi,sv\". } } LIMIT 1000"}}
{"id": "test_6869", "question": "Businesses with official websites", "sparql": "SELECT ?business ?businessLabel WHERE { ?business wdt:P31 wd:Q4830453 . ?business wdt:P856 ?website . ?business rdfs:label ?businessLabel . FILTER(LANG(?businessLabel) = \"en\") } LIMIT 100", "paraphrases": ["Which businesses have an official website listed in Wikidata?", "List the names of businesses (in English) that have an official website associated with them."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4830453> . ?var1 <http://www.wikidata.org/prop/direct/P527> <http://www.wikidata.org/entity/P856> . } LIMIT 100"}}
{"id": "test_6870", "question": "What countries, regions, and continents is Brookside Theatre located in?", "sparql": "SELECT DISTINCT ?location WHERE { wd:Q4975121 (wdt:P30 | wdt:P17 | wdt:P131)+ ?location .}", "paraphrases": ["Through what administrative and geographic entities is Brookside Theatre connected, starting from its immediate location up to the continent?", "List all geographic and political entities that Brookside Theatre is part of, including its country, region, and continent."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q4975121> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_6871", "question": "Fictional characters on English Wikipedia with their occupations and the works they appear in.", "sparql": "SELECT DISTINCT ?character ?characterLabel ?wikipediaPage ?work ?workLabel ?occupation ?occupationLabel WHERE { ?character wdt:P31 wd:Q95074 . ?wikipediaPage schema:about ?character ; schema:isPartOf <https://en.wikipedia.org/> ; schema:name ?pageTitle . OPTIONAL { ?character wdt:P1441 ?work . ?work rdfs:label ?workLabel . FILTER(LANG(?workLabel) = \"en\") } OPTIONAL { ?character wdt:P106 ?occupation . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = \"en\") } ?character rdfs:label ?characterLabel . FILTER(LANG(?characterLabel) = \"en\") } LIMIT 300", "paraphrases": ["Which fictional characters have Wikipedia pages, and what works and occupations are associated with them?", "List fictional characters along with the English Wikipedia pages, the works they appear in, and their occupations, if any."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q95074> . ?var2 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://en.wikipedia.org/> ; <http://schema.org/name> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1441> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var4 . } } LIMIT 300"}}
{"id": "test_6872", "question": "Humans buried in Luxembourg City, Metz, or Trier with their birth and death dates, images, and grave photos.", "sparql": "SELECT ?person ?personLabel ?graveImage ?image ?birthDate ?deathDate WHERE { ?person wdt:P31 wd:Q5 ; p:P119 ?burialStatement . ?burialStatement ps:P119 ?burialPlace . VALUES ?burialPlace { wd:Q1842 wd:Q22690 wd:Q3138 } OPTIONAL { ?person wdt:P1442 ?graveImage . } OPTIONAL { ?person wdt:P18 ?image . } OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } ORDER BY ASC(?personLabel)", "paraphrases": ["Who are the notable people buried in Luxembourg City, Metz, or Trier, and what are their birth and death dates, along with any available images or grave photos?", "List all humans buried in Luxembourg City, Metz, or Trier, including their labels, dates of birth and death, and any associated images or grave pictures."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var8 <http://www.wikidata.org/prop/qualifier/P625> ?var3 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerWest> \"POINT(1 48)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerEast> \"POINT(4 49)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } ?var1 <http://www.wikidata.org/prop/P119> ?var8 ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1442> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_6873", "question": "Biological taxa with \"mouse\" in their English name", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?taxon ?taxonLabel WHERE {\n  VALUES ?taxon {\n    wd:Q39275 wd:Q83310\n  }\n  ?taxon rdfs:label ?taxonLabel .\n  ?taxon wdt:P31 wd:Q16521 .\n  FILTER ( langMatches( lang( ?taxonLabel ) , \"en\" ) )\n}", "paraphrases": ["What are the scientific species or genera of mice in Wikidata?", "List the English labels of all taxonomic units that include the word \"mouse\" in their name."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16521> . FILTER ( ( CONTAINS ( LCASE ( ?var1Label ) , \"mouse\"@en ) ) ) . } LIMIT 100"}}
{"id": "test_6874", "question": "What is the image of Galileo Galilei on Wikimedia Commons?", "sparql": "SELECT ?image WHERE { wd:Q307 wdt:P18 ?image .}", "paraphrases": ["Can you show me the picture of Galileo Galilei?", "Please provide the image file associated with Galileo Galilei."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q307> <http://www.wikidata.org/prop/direct/P18> ?var1 . }"}}
{"id": "test_6875", "question": "Towers and monuments with English labels in Wikidata", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?item ?itemLabel WHERE {\n  VALUES ?class {\n    wd:Q4989906 wd:Q12518\n  }\n  ?item wdt:P31 ?class .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["What are some notable towers and monuments listed in Wikidata with English names?", "List English-named structures that are either towers or monuments."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q4989906> ) ( <http://www.wikidata.org/entity/Q12518> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\", \"it\", \"fr\", \"de\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } }"}}
{"id": "test_6876", "question": "What are the people or events linked by kinship roles like mother or father, and what are those roles?", "sparql": "SELECT DISTINCT ?item ?itemLabel ?kinshipRole ?kinshipRoleLabel WHERE { ?item p:P3342 ?statement . ?statement pq:P3831 ?kinshipRole . ?kinshipRole wdt:P31 wd:Q171318 . ?item rdfs:label ?itemLabel . ?kinshipRole rdfs:label ?kinshipRoleLabel . FILTER(LANG(?itemLabel) = \"en\") FILTER(LANG(?kinshipRoleLabel) = \"en\") }", "paraphrases": ["Which entities have significant persons associated with them through kinship relationships, and what are those relationships called in English?", "Show me the English names of items and their associated kinship roles (e.g., brother-in-law, nephew) from Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/P3342> ?var3 . ?var3 <http://www.wikidata.org/prop/qualifier/P3831> ?var2 . { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q21073947> . } UNION { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q171318> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_6877", "question": "Significant persons and their roles, excluding those who performed the fastest lap.", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?item ?itemLabel ?roleLabel WHERE {\n  ?item p:P3342 ?statement .\n  ?statement pq:P3831 ?role .\n  FILTER ( ?role != wd:Q28947301 ) ?item rdfs:label ?itemLabel .\n  ?role rdfs:label ?roleLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" ) FILTER ( LANG( ?roleLabel ) = \"en\" )\n}", "paraphrases": ["Who are the people associated with others in a significant way, and what roles did they play, excluding those who were the fastest lap performer?", "List all individuals linked as significant persons along with their roles, but omit any roles labeled as \u201cperformer of the fastest lap.\u201d"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/P3342> ?var3 . ?var3 <http://www.wikidata.org/prop/qualifier/P3831> ?var2 . FILTER ( ( ( ?var2 != <http://www.wikidata.org/entity/Q28947301> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_6878", "question": "How many biological taxa in Wikidata are linked to Species Wiki?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ( COUNT( ?taxon ) AS ?count ) WHERE {\n  ?taxon wdt:P31 wd:Q4167836 .\n  ?wikiPage schema:about ?taxon ; schema:isPartOf <https://species.wikimedia.org/> .\n}", "paraphrases": ["What is the number of species or taxonomic groups in Wikidata that have a corresponding page on the Species Wiki?", "Can you tell me how many items classified as biological taxa in Wikidata are referenced by the Species Wiki?"], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167836> . ?var3 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://species.wikimedia.org/> . }"}}
{"id": "test_6879", "question": "Biological classes with scientific name \"Mammalia\"", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?class ?classLabel ?scientificName WHERE {\n  ?class wdt:P31 wd:Q16521 .\n  ?class wdt:P105 wd:Q37517 .\n  ?class wdt:P225 ?scientificName .\n  ?class rdfs:label ?classLabel .\n  FILTER(CONTAINS(STR(?scientificName) , \"Mammalia\"))\n}\nORDER BY DESC(?scientificName)\nLIMIT 500", "paraphrases": ["What are the biological classes that have the scientific name \"Mammalia\"?", "List all taxonomic classes with the scientific name \"Mammalia\", including their labels in different languages."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q21146257> . ?var1 <http://wikiba.se/ontology#identifiers> ?var2 . ?var1 ( <http://www.wikidata.org/prop/direct/Q830106> | <http://www.wikidata.org/prop/direct/Q36578> | <http://www.wikidata.org/prop/direct/Q611299> ) ?var3 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,de\". } FILTER ( ( ( ?var2 != \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . FILTER ( ( CONTAINS ( STR ( ?var4Label ) , \"string1\" ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 500"}}
{"id": "test_6880", "question": "People associated with the Grosvenor Museum and the number of works they authored, sorted by most prolific.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel ?orcid(COUNT(?work) AS ?workCount) WHERE {\n  {\n    ?person(wdt:P108 | wdt:P463) wd:Q5610644 .\n  } UNION {\n    ?person wdt:P1416 / wdt:P361 * wd:Q5610644 .\n  }\n  OPTIONAL {\n    ?work wdt:P50 ?person .\n  }\n  OPTIONAL {\n    ?person wdt:P496 ?orcid .\n  }\n  OPTIONAL {\n    ?person rdfs:label ?personLabel .\n    FILTER(LANG(?personLabel) = \"en\")\n  }\n}\nGROUP BY ?person ?personLabel ?orcid\nORDER BY DESC(?workCount)", "paraphrases": ["Who are the authors linked to the Grosvenor Museum, and how many works has each authored?", "List the names and ORCID IDs of people affiliated with the Grosvenor Museum, along with their publication counts, ordered from highest to lowest."], "info": {"raw_sparql": "SELECT( SAMPLE ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ( MAX ( ?var4 ) AS ?var5 ) ?var6 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT( COUNT ( ?var7 ) AS ?var1 ) ?var3 WHERE { { SELECT DISTINCT ?var3 WHERE { { ?var3 ( <http://www.wikidata.org/prop/direct/P108> | <http://www.wikidata.org/prop/direct/P463> ) <http://www.wikidata.org/entity/Q5610644> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P1416> / <http://www.wikidata.org/prop/direct/P361> *) <http://www.wikidata.org/entity/Q5610644> . } } } OPTIONAL { ?var7 <http://www.wikidata.org/prop/direct/P50> ?var3 . } } GROUP BY ?var3 } OPTIONAL { BIND ( <http://www.w3.org/2001/XMLSchema#date> ( ?var8 ) AS ?var4 ). ?var3 <http://www.wikidata.org/prop/direct/P569> ?var8 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P496> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,nl,no,ru,sv,zh\". } } GROUP BY ?var3 ?var3Label ?var6 ORDER BY DESC( ?var2 )"}}
{"id": "test_6881", "question": "Images of Tolga Bolukbasi and the universities he attended.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?image WHERE {\n  {\n    wd:Q44794684 wdt:P18 ?image .\n  } UNION {\n    wd:Q44794684 wdt:P69 ?institution .\n    ?institution wdt:P18 ?image .\n  }\n}", "paraphrases": ["What are the images associated with Tolga Bolukbasi and the institutions where he studied?", "Show me pictures of Tolga Bolukbasi and the universities he went to."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { <http://www.wikidata.org/entity/Q44794684> <http://www.wikidata.org/prop/direct/P18> ?var1 . } UNION { <http://www.wikidata.org/entity/Q44794684> !( <http://www.wikidata.org/prop/direct/P1889> ) ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . FILTER ( ( ( ?var2 != <http://www.wikidata.org/entity/Q5> ) ) ) . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q44794684> . { ?var3 <http://www.wikidata.org/prop/direct/P921> [ <http://www.wikidata.org/prop/direct/P18> ?var1 ] . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P50> ?var3 . ?var4 <http://www.wikidata.org/prop/direct/P18> ?var1 . } } }"}}
{"id": "test_6882", "question": "People with the surname Dupont", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person WHERE {\n  ?person wdt:P31 wd:Q5 ; wdt:P734 wd:Q18627472\n}", "paraphrases": ["Who are the people whose family name is Dupont?", "List all humans in Wikidata who have the surname Dupont."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1559> \"dupont\"@fr . }"}}
{"id": "test_6883", "question": "What are all the superclass ancestors of association football, and their immediate superclasses?", "sparql": "SELECT ?ancestor ?ancestorLabel ?superancestor WHERE { wd:Q2736 wdt:P279* ?ancestor . OPTIONAL { ?ancestor wdt:P279 ?superancestor . } OPTIONAL { ?ancestor rdfs:label ?ancestorLabel . FILTER(LANG(?ancestorLabel) = \"en\") } }", "paraphrases": ["What classes does association football belong to, and what are the classes above those?", "List all the subclasses in the hierarchy above association football, including their English labels, and for each, show if it has a further superclass."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q2736> <http://www.wikidata.org/prop/direct/P279> * ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_6884", "question": "Who is Laurent Dang-Vu?", "sparql": "PREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?person WHERE {\n  ?person schema:name \"Laurent Dang-Vu\" @en\n}", "paraphrases": ["What is the Wikidata item for the person named Laurent Dang-Vu?", "Find the Wikidata entity for Laurent Dang-Vu."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1559> \"Laure dang\"@fr . }"}}
{"id": "test_6885", "question": "What is the category or type of Alois-Konstantin, Prince of L\u00f6wenstein-Wertheim-Rosenberg?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?instanceOf WHERE {\n  wd:Q104235 wdt:P31 ?instanceOf .\n}", "paraphrases": ["Is Alois-Konstantin, Prince of L\u00f6wenstein-Wertheim-Rosenberg a human?", "What class does Alois-Konstantin, 9th Prince of L\u00f6wenstein-Wertheim-Rosenberg belong to in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q104235> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?var1 . }"}}
{"id": "test_6886", "question": "Works originally written in Slavic languages and their authors.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?work ?title WHERE {\n  ?work wdt:P407 ?language .\n  ?language wdt:P279 * wd:Q23526 .\n  ?work wdt:P50 ?author .\n  ?work wdt:P1476 ?title .\n}", "paraphrases": ["What are the titles of works written in Slavic languages, and who are their authors?", "List all creative works in Slavic languages along with their titles and authors."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P364> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q23526> . ?var1 <http://www.wikidata.org/prop/direct/P50> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_6887", "question": "Films and books originally in Slavic languages", "sparql": "SELECT ?work ?workLabel WHERE { ?work wdt:P407 ?language . ?language wdt:P279* wd:Q23526 . ?work rdfs:label ?workLabel . FILTER(LANG(?workLabel) = \"en\" || LANG(?workLabel) = \"\") { ?work wdt:P31 wd:Q11424 } UNION { ?work wdt:P31 wd:Q571 } UNION { ?work wdt:P31 wd:Q21191277 } UNION { ?work wdt:P31 wd:Q131575 } }", "paraphrases": ["What films and books have a Slavic language as their original language?", "List creative works such as films and books that were originally created in a Slavic language."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P364> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q23526> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_6888", "question": "What class is the White Cloud Mountains an instance of, and what is the superclass of the Mirage of astronomical objects?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?mountainType ?mirageType WHERE {\n  wd:Q7994576 wdt:P31 ?mountainType .\n  wd:Q5964459 wdt:P279 ?mirageType .\n}", "paraphrases": ["What type of geographical feature are the White Cloud Mountains, and what category does the Mirage of astronomical objects belong to?", "Is the White Cloud Mountains a mountain system, and is the Mirage of astronomical objects a type of mirage?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://dbpedia.org/resource/White_Cloud_Mountains> <http://www.wikidata.org/prop/direct/P31> ?var2 . <http://www.wikidata.org/entity/Q5964459> <http://www.wikidata.org/prop/direct/P31> ?var1 . }"}}
{"id": "test_6889", "question": "What film has the Cineplex Germany film ID 243917?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P3077 \"243917\" .\n}", "paraphrases": ["Which movie in Wikidata is associated with the Cineplex ID 243917?", "Can you find the Wikidata item for the film identified as 243917 in the Cineplex Germany database?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3077> \"243917\". }"}}
{"id": "test_6890", "question": "What are the categories that the voiced alveolar lateral flap belongs to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?parent WHERE {\n  wd:Q1399615 wdt:P279 ?parent .\n}", "paraphrases": ["What type of consonant is the voiced alveolar lateral flap classified as?", "Can you list the linguistic classifications for the voiced alveolar lateral flap?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://dbpedia.org/resource/Benteng,_Selayar_Islands> <http://www.wikidata.org/prop/direct/P31> ?var2 . <http://dbpedia.org/resource/Dental,_alveolar_and_postalveolar_lateral_flaps> <http://www.wikidata.org/prop/direct/P31> ?var1 . }"}}
{"id": "test_6891", "question": "Image of Clarence Streit (SNAC ARK ID w6fn170p)", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6fn170p\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Is there an image available for Clarence Streit, who has the SNAC ARK ID w6fn170p?", "Please retrieve the Wikimedia Commons image for the person with SNAC ARK ID w6fn170p."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6fn170p\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6892", "question": "What type of entity is Wolfgang Martini classified as?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?instanceOf WHERE {\n  wd:Q100341 wdt:P31 ?instanceOf .\n}", "paraphrases": ["Is Wolfgang Martini a human according to Wikidata?", "What is the category that Wolfgang Martini belongs to in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> ?var1 . FILTER ( ( ( ?var2 = <http://www.wikidata.org/entity/Q100341> ) ) ) . }"}}
{"id": "test_6893", "question": "What type of legal document is the Scottish Representative Peers Act 1707?", "sparql": "SELECT ?type WHERE { wd:Q7437938 wdt:P31 ?type }", "paraphrases": ["Instance type of the Scottish Representative Peers Act 1707.", "Tell me the category that the Scottish Representative Peers Act 1707 belongs to."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://dbpedia.org/resource/List_of_Scottish_representative_peers> <http://www.wikidata.org/prop/direct/P31> ?var2 . }"}}
{"id": "test_6894", "question": "What are the names and locations of all parks and their subtypes (like national parks) around the world?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?parkLabel ?coord WHERE {\n  ?park wdt:P31 / wdt:P279 * wd:Q22698 .\n  ?park wdt:P625 ?coord .\n  ?park rdfs:label ?parkLabel .\n  FILTER ( LANG( ?parkLabel ) = \"en\" )\n}", "paraphrases": ["List all parks with their coordinates, using their English names.", "Can you show me the geographic coordinates of all places classified as parks or any of their subclasses?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { ?var3 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/statement/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q22698> . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var2 . }"}}
{"id": "test_6895", "question": "List all members of the German Bundestag along with the start and end dates of their terms.", "sparql": "SELECT ?person ?startDate ?endDate WHERE {\n  ?person p:P39 [ ps:P39 wd:Q1939555 ; pq:P580 ?startDate ; pq:P582 ?endDate ] .\n}", "paraphrases": ["Who have served as members of the German Bundestag, and when did each of their terms begin and end?", "Show me the names of people who held a seat in the German Bundestag and the time periods during which they served."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/P39> [ <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q1939555> ; <http://www.wikidata.org/prop/qualifier/P580> ?var2 ; <http://www.wikidata.org/prop/qualifier/P582> ?var3 ] . }"}}
{"id": "test_6896", "question": "Who is the Luxembourgish author with the identifier \"709/709\" in the Dictionnaire des auteurs luxembourgeois, and what is their English description?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?author ?authorLabel ?description WHERE {\n  ?author wdt:P4749 \"709/709\" .\n  OPTIONAL {\n    ?author schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n  ?author rdfs:label ?authorLabel .\n  FILTER ( LANG( ?authorLabel ) = \"en\" )\n}", "paraphrases": ["What is the English label and description of the person listed as \"709/709\" in the Dictionnaire des auteurs luxembourgeois?", "Can you find the English name and biography of the Luxembourgish author identified by \"709/709\" in the Dictionnaire des auteurs luxembourgeois?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4749> \"709/7097\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6897", "question": "List all consecutive episode pairs in Breaking Bad, showing each episode and its immediate successor.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?episode ?episodeTitle ?nextEpisode ?nextEpisodeTitle WHERE {\n  wd:Q1079 wdt:P527 ?season .\n  ?season wdt:P527 ?episode .\n  ?episode wdt:P156 ?nextEpisode .\n  ?episode wdt:P1476 ?episodeTitle .\n  ?nextEpisode wdt:P1476 ?nextEpisodeTitle .\n}", "paraphrases": ["What are the next episodes that follow each episode in the TV series Breaking Bad?", "Show me each episode of Breaking Bad along with the episode that comes right after it."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { BIND ( <http://www.wikidata.org/entity/Q1079> AS ?var3 ). { ?var4 <http://www.wikidata.org/prop/direct/P361> ?var3 . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P179> ?var3 . } ?var1 <http://www.wikidata.org/prop/direct/P361> ?var4 . ?var2 <http://www.wikidata.org/prop/direct/P155> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P156> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6898", "question": "What Wikidata item has the Metacritic ID \"movie/rapt\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P1712 \"movie/rapt\" .\n}", "paraphrases": ["Which movie on Wikidata is identified by the Metacritic URL path \"movie/rapt\"?", "Find the Wikidata entry for the documentary \"Rapt\" using its Metacritic identifier."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1712> \"movie/rapt\". }"}}
{"id": "test_6899", "question": "What entities are associated with significant events, and what are the types and sources of those events?", "sparql": "SELECT ?item ?itemLabel ?event ?eventLabel ?eventType ?eventTypeLabel ?sourceType WHERE { { BIND(\"mainsnak\" AS ?sourceType) . ?item wdt:P793 ?event . } UNION { BIND(\"qualifier\" AS ?sourceType) . ?statement pq:P793 ?event . ?item ?p ?statement . } UNION { BIND(\"reference\" AS ?sourceType) . ?reference pr:P793 ?event . ?statement prov:wasDerivedFrom ?reference . ?item ?p ?statement . } ?event wdt:P31 wd:Q13406463 . OPTIONAL { ?event wdt:P31 ?eventType . } OPTIONAL { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } OPTIONAL { ?event rdfs:label ?eventLabel . FILTER(LANG(?eventLabel) = \"en\") } OPTIONAL { ?eventType rdfs:label ?eventTypeLabel . FILTER(LANG(?eventTypeLabel) = \"en\") } } LIMIT 100", "paraphrases": ["Which entities have significant events linked to them as main statements, qualifiers, or references, and what are the labels and types of those events?", "List entities with their associated significant events, including the event labels, event types (like financial crisis), and whether the event is linked as a main statement, qualifier, or reference."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 WHERE { { BIND ( \"mainsnak\" AS ?var4 ). ?var1 <http://www.wikidata.org/prop/direct/P793> ?var2 . } UNION { BIND ( \"qualifier\" AS ?var4 ). ?var5 <http://www.wikidata.org/prop/qualifier/P793> ?var2 . ?var1 ?var6 ?var5 . } UNION { BIND ( \"reference\" AS ?var4 ). ?var7 <http://www.wikidata.org/prop/reference/P793> ?var2 . ?var8 <http://www.w3.org/ns/prov#wasDerivedFrom> ?var7 . ?var1 ?var9 ?var8 . } ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13406463> . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P31> ?var3 . } } LIMIT 100 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6900", "question": "What film has the EDb ID t0026722?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P3141 \"t0026722\" .\n}", "paraphrases": ["Which movie in Wikidata is identified by the EDb film ID \"t0026722\"?", "Find the Wikidata item for the film with EDb ID t0026722."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3141> \"t0026722\". }"}}
{"id": "test_6901", "question": "Which movie has the EDb film ID t0000890?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie WHERE {\n  ?movie wdt:P3141 \"t0000890\" .\n}", "paraphrases": ["What is the title of the movie identified by the EDb ID t0000890?", "Find the movie in Wikidata that is assigned the EDb film ID t0000890."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3141> \"t0000890\". }"}}
{"id": "test_6902", "question": "Which Wikidata items have the Twitter/X usernames: dbpedia, emcandre, fnielsen, nwspk, Rosiestep, SemanticMW, or wikidata?", "sparql": "SELECT ?item ?twitterHandle WHERE { ?item wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { \"dbpedia\" \"emcandre\" \"fnielsen\" \"nwspk\" \"Rosiestep\" \"SemanticMW\" \"wikidata\" } }", "paraphrases": ["Who are the Wikidata entities associated with the Twitter handles dbpedia, emcandre, fnielsen, nwspk, Rosiestep, SemanticMW, and wikidata?", "List the Wikidata items and their corresponding Twitter/X usernames for the handles: dbpedia, emcandre, fnielsen, nwspk, Rosiestep, SemanticMW, and wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"Wikidata\" ) ( \"SemanticMW\" ) ( \"WikidataAT\" ) ( \"string3\" ) ( \"wikidata\" ) ( \"string4\" ) ( \"string5\" ) ( \"csl_\" ) ( \"string6\" ) ( \"fnielsen\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"dbpedia\" ) ( \"emcandre\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) ( \"string13\" ) ( \"nwspk\" ) ( \"string14\" ) ( \"Rosiestep\" ) } }"}}
{"id": "test_6903", "question": "Which Wikidata item has the Twitter username \"wikidigi\"?", "sparql": "SELECT ?item ?twitterUsername WHERE { ?item wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"wikidigi\" } }", "paraphrases": ["What entity on Wikidata is associated with the Twitter handle @wikidigi?", "Find the item in Wikidata that has \"wikidigi\" as its X (formerly Twitter) username."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"WikiDigi\" ) ( \"string2\" ) ( \"string3\" ) } }"}}
{"id": "test_6904", "question": "What movie has the elCinema ID 2026030?", "sparql": "SELECT ?movie WHERE { ?movie wdt:P3135 \"2026030\" . }", "paraphrases": ["Which film on Wikidata is associated with the elCinema identifier 2026030?", "Find the Wikidata entity for the movie identified as 2026030 in elCinema."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3135> \"2026030\". }"}}
{"id": "test_6905", "question": "Image of the person with SNAC ARK ID w65q658j", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?person wdt:P3430 \"w65q658j\" .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w65q658j?", "Show me the Wikimedia Commons image for the individual identified by the SNAC ARK ID w65q658j."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w65q658j\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6906", "question": "What is Neymar's occupation?", "sparql": "SELECT ?occupation ?occupationLabel WHERE { wd:Q142794 wdt:P106 ?occupation . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = \"en\") }", "paraphrases": ["What class or profession does Neymar belong to according to Wikidata?", "Can you tell me the English label of Neymar's occupation?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { <http://www.wikidata.org/entity/Q142794> <http://www.wikidata.org/prop/direct/P279> * ?var1 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q142794> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6907", "question": "What properties are used to link other entities to Zhanna Gromova, and how many times is each used?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(COUNT(?entity) AS ?count) WHERE {\n  ?entity ?property wd:Q4150228 .\n}\nGROUP BY ?property\nHAVING(?count > 1)\nORDER BY DESC(?count)", "paraphrases": ["Which properties connect more than one entity to the figure skating coach Zhanna Gromova?", "How many entities are connected to Zhanna Gromova via each property, and which ones appear more than once?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q4150228> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_6908", "question": "Properties linked to Elizabeth Punsalan with more than one occurrence", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ( COUNT( ?statement ) AS ?count ) WHERE {\n  ?statement ?property wd:Q5363391 .\n}\nGROUP BY ?property\nHAVING ( ?count > 1 )\nORDER BY DESC ( ?count )", "paraphrases": ["What properties are used more than once to connect other entities to Elizabeth Punsalan, and how many times?", "Show me the properties that relate other items to Elizabeth Punsalan, counting only those used more than once, sorted by frequency."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q5363391> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_6909", "question": "What external resources are linked to Serguei Likhanski via schema:about, and how many are there?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?property(COUNT(?resource) AS ?count) WHERE {\n  ?resource schema:about wd:Q17285510\n}\nGROUP BY ?property\nHAVING(?count > 1)\nORDER BY DESC(?count)", "paraphrases": ["How many web resources mention Serguei Likhanski as their main topic using the schema:about property?", "Show me the properties used to link external resources to Serguei Likhanski, but only include those used more than once."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q17285510> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_6910", "question": "Properties linking multiple resources to Galina Karelina", "sparql": "SELECT ?property (COUNT(?resource) AS ?count) WHERE { ?resource ?property wd:Q139369 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["What properties are used to link more than one article or page to the Soviet figure skater Galina Karelina?", "Show me the properties that connect Galina Karelina to more than one Wikipedia article, along with the count."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q139369> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_6911", "question": "Properties linking other items to Wilhelm Bietak with more than one usage, ordered by frequency.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ( COUNT( ?item ) AS ?count ) WHERE {\n  ?item ?property wd:Q8002098 .\n}\nGROUP BY ?property\nHAVING ( ?count > 1 )\nORDER BY DESC ( ?count )", "paraphrases": ["Which properties are used to connect other entities to the figure skater Wilhelm Bietak, and how many times are they used, considering only those used more than once?", "Show me the properties that relate other items to Wilhelm Bietak, listing only those used more than once, sorted from most to least frequent."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q8002098> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_6912", "question": "What properties are most frequently used to link to Uschi Keszler in Wikidata, excluding single-use links?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ( COUNT( ?item ) AS ?count ) WHERE {\n  ?item ?property wd:Q2502464 .\n}\nGROUP BY ?property\nHAVING ( ?count > 1 )\nORDER BY DESC ( ?count )", "paraphrases": ["Which properties connect more than one entity to the German figure skater Uschi Keszler, and how many times are they used?", "Show me the properties that link to Uschi Keszler more than once, sorted by frequency."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q2502464> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_6913", "question": "What external properties link to Frances Claudet more than once, and how many times?", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q5478569 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["How many external resources reference Frances Claudet via schema:about?", "Which properties are used to connect multiple web pages to Frances Claudet\u2019s Wikidata item?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q5478569> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_6914", "question": "What properties are used more than once to link other items to John Nightingale in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(COUNT(?item) AS ?count) WHERE {\n  ?item ?property wd:Q6250498 .\n}\nGROUP BY ?property\nHAVING(?count > 1)\nORDER BY DESC(?count)", "paraphrases": ["Which connections to John Nightingale appear in at least two different statements?", "How is John Nightingale referenced multiple times in Wikidata, and through which properties?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q6250498> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_6915", "question": "Cities in the Netherlands with their English and Russian names, population, and coordinates.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?city ?labelRu ?labelEn ?coordinates ?population WHERE {\n  ?city wdt:P17 wd:Q55 ;(wdt:P31 / wdt:P279 *) wd:Q515 .\n  OPTIONAL {\n    ?city wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    ?city wdt:P1082 ?population .\n  }\n  OPTIONAL {\n    ?city rdfs:label ?labelEn .\n    FILTER(LANG(?labelEn) = \"en\")\n  }\n  OPTIONAL {\n    ?city rdfs:label ?labelRu .\n    FILTER(LANG(?labelRu) = \"ru\")\n  }\n}", "paraphrases": ["What are the cities in the Netherlands, along with their English and Russian labels, population figures, and geographic coordinates?", "Could you list all cities in the Netherlands, including their names in English and Russian, their populations, and their geographic locations?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q55> ; ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var5 . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"ru\" ) ) ) . } }"}}
{"id": "test_6916", "question": "Which Irish institutions have Twitter/X accounts with usernames atlantic, NLIreland, NMIreland, or RIAdawson?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"atlantic\" \"NLIreland\" \"NMIreland\" \"RIAdawson\" } }", "paraphrases": ["What are the Wikidata items for organizations in Ireland that use the Twitter handles @atlantic, @NLIreland, @NMIreland, and @RIAdawson?", "Show me the Wikidata entries for Irish organizations whose Twitter/X usernames are atlantic, NLIreland, NMIreland, or RIAdawson."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"resdatall\" ) ( \"string2\" ) ( \"atlantic\" ) ( \"NMIreland\" ) ( \"IHTA_RIA\" ) ( \"IrishTimes\" ) ( \"RIAdawson\" ) ( \"string3\" ) ( \"bearloga\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"DiscProg\" ) ( \"NIVAL_NCAD\" ) ( \"string7\" ) ( \"ucdscience\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) ( \"Beck_Grant\" ) ( \"stu_kenny\" ) ( \"aaocarroll\" ) ( \"wsharon145\" ) ( \"string13\" ) ( \"martab_lib\" ) ( \"string14\" ) ( \"NLIreland\" ) ( \"NaiFeely\" ) ( \"Atlantic\" ) ( \"string15\" ) } }"}}
{"id": "test_6917", "question": "Film with MKRF ID 153300084", "sparql": "SELECT ?film WHERE { ?film wdt:P2636 \"153300084\" . }", "paraphrases": ["What is the name of the film identified by the Russian Ministry of Culture ID 153300084?", "Find the film in Wikidata that has the Russian public film register ID 153300084."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2636> \"153300084\". }"}}
{"id": "test_6918", "question": "What events occurred on December 8, 1955?", "sparql": "SELECT DISTINCT ?event WHERE { ?event (wdt:P585 | wdt:P606 | wdt:P619 | wdt:P620 | wdt:P621 | wdt:P622 | wdt:P729 | wdt:P1191) ?date . FILTER (?date >= \"1955-12-08T00:00:00Z\"^^xsd:dateTime && ?date < \"1955-12-09T00:00:00Z\"^^xsd:dateTime) }", "paraphrases": ["Which entities are linked to a date on December 8, 1955, such as first flights, service entries, or premieres?", "List all items in Wikidata that have a recorded date of occurrence, launch, landing, or performance on December 8, 1955."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P585> | <http://www.wikidata.org/prop/direct/P606> | <http://www.wikidata.org/prop/direct/P619> | <http://www.wikidata.org/prop/direct/P620> | <http://www.wikidata.org/prop/direct/P621> | <http://www.wikidata.org/prop/direct/P622> | <http://www.wikidata.org/prop/direct/P729> | <http://www.wikidata.org/prop/direct/P1191> ) ?var2 . FILTER ( ( ( ?var2 >= \"1955-12-08T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1955-12-08T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_6919", "question": "List Dutch national heritage sites in Velsen with their images and English labels.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?var1 ?var1Label(SAMPLE(?var3) AS ?image) ?var4 WHERE {\n  ?var1 wdt:P1435 wd:Q916333 .\n  ?var1 wdt:P131 wd:Q9970 .\n  OPTIONAL {\n    ?var1 wdt:P18 ?var3 .\n  }\n  OPTIONAL {\n    ?var4 schema:about ?var1 .\n    ?var4 schema:isPartOf <https://en.wikipedia.org/> .\n  }\n  ?var1 rdfs:label ?var1Label .\n  FILTER(LANG(?var1Label) = \"en\")\n}\nGROUP BY ?var1 ?var1Label ?var4\nLIMIT 50", "paraphrases": ["What are the Rijksmonument heritage sites located in Velsen, Netherlands, and what are their English names and associated images?", "Show me the English names, images, and Wikipedia links for all Rijksmonument-designated buildings in the municipality of Velsen."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var3 ) ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1435> <http://www.wikidata.org/entity/Q916333> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q9970> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,fr,es,de,ru,it,nl,ja,zh,pl,cs\". } } GROUP BY ?var1 ?var1Label ?var2 ?var4 LIMIT 50"}}
{"id": "test_6920", "question": "What properties link to Jean-Michel Bombardier in Wikidata, and how often?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(COUNT(?item) AS ?count) WHERE {\n  ?item ?property wd:Q6169680 .\n}\nGROUP BY ?property\nHAVING(?count > 1)\nORDER BY DESC(?count)", "paraphrases": ["How many times is each property used to connect other items to the figure skater Jean-Michel Bombardier, and which ones appear more than once?", "List the properties that have more than one connection to Jean-Michel Bombardier, sorted by frequency."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q6169680> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_6921", "question": "Who has \"Madame du Barry\" as their native name in French?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person WHERE {\n  ?person wdt:P1559 \"Madame du Barry\" @fr .\n}", "paraphrases": ["Which person is known by the native French name \"Madame du Barry\"?", "Find the Wikidata item for the French historical figure whose native name is \"Madame du Barry\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1559> \"Maud Barre\"@fr . }"}}
{"id": "test_6922", "question": "Lighthouses in Libya without Spanish descriptions", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?lighthouse ?lighthouseLabel WHERE {\n  ?lighthouse wdt:P31 wd:Q39715 ; wdt:P17 wd:Q1016 .\n  OPTIONAL {\n    ?lighthouse schema:description ?desc .\n    FILTER ( LANG( ?desc ) = \"es\" )\n  }\n  FILTER ( ! BOUND( ?desc ) ) .\n  ?lighthouse rdfs:label ?lighthouseLabel .\n  FILTER ( LANG( ?lighthouseLabel ) = \"en\" )\n}", "paraphrases": ["What are the lighthouses in Libya that do not have a description in Spanish?", "List the English names of lighthouses located in Libya that lack a Spanish description."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q39715> . OPTIONAL { ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"es\" ) ) ) . } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q1016> . FILTER ( ( !( BOUND ( ?var3 ) ) ) ) . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es\". } }"}}
{"id": "test_6923", "question": "Properties linking Don Fraser to other items, used more than once.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ( COUNT( ?item ) AS ?count ) WHERE {\n  ?item ?property wd:Q5292633 .\n}\nGROUP BY ?property\nHAVING ( ?count > 1 )\nORDER BY DESC ( ?count )", "paraphrases": ["What properties are used more than once to connect items to Don Fraser, and how often?", "Show me the properties that relate other things to Don Fraser more than once, sorted by frequency."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q5292633> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_6924", "question": "What properties are used more than once to link other entities to the German figure skater Werner Mensching?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ( COUNT( ?item ) AS ?count ) WHERE {\n  ?item ?property wd:Q16013897 .\n}\nGROUP BY ?property\nHAVING ( ?count > 1 )\nORDER BY DESC ( ?count )", "paraphrases": ["Which relationships connect other items to Werner Mensching, and how many times do they appear?", "Show the most common ways other entities are connected to Werner Mensching in Wikidata, excluding single-use links."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q16013897> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_6925", "question": "Image of Galileo Galilei with SNAC ARK ID w6833x7s", "sparql": "SELECT ?image WHERE { ?person wdt:P3430 \"w6833x7s\" . OPTIONAL { ?person wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with Galileo Galilei in Wikidata, given his SNAC ARK ID is w6833x7s?", "Show me the Wikimedia Commons image of the person whose SNAC ARK ID is w6833x7s."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6833x7s\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6926", "question": "Buildings officially opened on October 23, 1904", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item ?itemLabel WHERE {\n  ?item wdt:P1619 \"1904-10-23T00:00:00Z\" ^^ xsd:dateTime .\n  ?item rdfs:label ?itemLabel .\n}", "paraphrases": ["Which monuments or churches were officially opened on October 23, 1904?", "List all entities that had their official opening on October 23, 1904."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P571> | <http://www.wikidata.org/prop/direct/P575> | <http://www.wikidata.org/prop/direct/P577> | <http://www.wikidata.org/prop/direct/P1619> ) ?var2 . FILTER ( ( ( ?var2 >= \"1904-10-23T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1904-10-23T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_6927", "question": "What is the Wikidata item for the movie with EDb ID t0004180?", "sparql": "SELECT ?movie WHERE { ?movie wdt:P3141 \"t0004180\" . }", "paraphrases": ["Which movie is identified by the EDb ID t0004180?", "Can you tell me the title of the film that has the EDb identifier t0004180?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3141> \"t0004180\". }"}}
{"id": "test_6928", "question": "Most frequently used property to link entities to B\u00e9k\u00e9s County", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nSELECT ?property ( COUNT( ?property ) AS ?count ) WHERE {\n  ?item ?propertyUsed wd:Q191616 .\n  ?property wikibase:directClaim ?propertyUsed .\n  ?property rdf:type wikibase:Property .\n}\nGROUP BY ?property\nORDER BY DESC ( ?count )\nLIMIT 1", "paraphrases": ["Which property is used most often to associate items with B\u00e9k\u00e9s County, and how many times is it used?", "Show the property that connects the most entities to B\u00e9k\u00e9s County, along with the count of such connections."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q191616> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_6929", "question": "What movie has the IMDb ID tt0402223?", "sparql": "SELECT ?movie WHERE { ?movie wdt:P345 \"tt0402223\" . }", "paraphrases": ["Which film is identified by the IMDb identifier tt0402223?", "Find the Wikidata item for the movie with IMDb ID tt0402223."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0402223\". }"}}
{"id": "test_6930", "question": "What properties are used to link other entities to Philippe P\u00e9lissier, and how many times is each used (only showing those used more than once)?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(COUNT(?entity) AS ?count) WHERE {\n  ?entity ?property wd:Q768365 .\n}\nGROUP BY ?property\nHAVING(?count > 1)\nORDER BY DESC(?count)", "paraphrases": ["Which properties connect other entities to Philippe P\u00e9lissier more than once, and in what order of frequency?", "Show me the properties that relate other entities to Philippe P\u00e9lissier, sorted by how often they appear, excluding properties used only once."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q768365> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_6931", "question": "What is the Wikidata ID for Joe Wiart?", "sparql": "SELECT DISTINCT ?item WHERE { ?item rdfs:label \"Joe Wiart\"@en . }", "paraphrases": ["Which Wikidata entity corresponds to the name Joe Wiart?", "Show me the Wikidata item for Joe Wiart."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1559> \"Joe Wiart\"@fr . }"}}
{"id": "test_6932", "question": "What entities are associated with Wales as their country?", "sparql": "SELECT ?item WHERE { ?item ( p:P17 / ps:P17 ) wd:Q25 .}", "paraphrases": ["Which items, including properties and organizations, have Wales listed as their country in Wikidata?", "Can you list everything in Wikidata that is located in Wales, even if it\u2019s not a geographic place \u2014 like properties or societies?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/P17> / <http://www.wikidata.org/prop/statement/P17> ) <http://www.wikidata.org/entity/Q25> . }"}}
{"id": "test_6933", "question": "Lighthouses with Spanish descriptions containing \"faro\"", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?lighthouse WHERE {\n  ?lighthouse wdt:P31 wd:Q39715 .\n  ?lighthouse schema:description ?desc .\n  FILTER(LANG(?desc) = \"es\")\n  .\n  FILTER(CONTAINS(LCASE(?desc) , \"faro\"))\n}", "paraphrases": ["Which lighthouses have a Spanish description that includes the word \"faro\"?", "Show me all lighthouses that are described in Spanish as \"faro\" something."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q39715> . OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"es\" ) ) ) . } FILTER ( ( ( <http://schema.org/description> = \"string1\" ) ) ) . }"}}
{"id": "test_6934", "question": "What events took place on December 31, 1996?", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?event WHERE {\n  ?event ( wdt:P585 | wdt:P606 | wdt:P619 | wdt:P620 | wdt:P621 | wdt:P622 | wdt:P729 | wdt:P1191 ) ?date .\n  FILTER ( ?date >= \"1996-12-31T00:00:00Z\" ^^ xsd:dateTime && ?date <= \"1996-12-31T23:59:59Z\" ^^ xsd:dateTime )\n}", "paraphrases": ["Which entities in Wikidata are associated with an event that happened on the last day of 1996?", "List all known first performances, spacecraft launches, service entries, and other timed events that occurred on December 31, 1996."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P585> | <http://www.wikidata.org/prop/direct/P606> | <http://www.wikidata.org/prop/direct/P619> | <http://www.wikidata.org/prop/direct/P620> | <http://www.wikidata.org/prop/direct/P621> | <http://www.wikidata.org/prop/direct/P622> | <http://www.wikidata.org/prop/direct/P729> | <http://www.wikidata.org/prop/direct/P1191> ) ?var2 . FILTER ( ( ( ?var2 >= \"1996-12-31T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1996-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_6935", "question": "List 100 humans with their English labels from Wikidata.", "sparql": "SELECT ?humanLabel WHERE { ?human wdt:P31 wd:Q5 . ?human rdfs:label ?humanLabel . FILTER(LANG(?humanLabel) = \"en\") } LIMIT 100", "paraphrases": ["Who are 100 notable humans listed in Wikidata with English names?", "Can you provide a list of 100 human individuals from Wikidata along with their English-language names?"], "info": {"raw_sparql": "SELECT ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . } LIMIT 100"}}
{"id": "test_6936", "question": "People with \"Abad\" in their native name", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item WHERE {\n  ?item wdt:P1559 ?name .\n  FILTER ( CONTAINS( STR( ?name ) , \"Abad\" ) )\n}", "paraphrases": ["Who are the people whose native name includes the surname \"Abad\"?", "List all individuals whose native name contains the word \"Abad\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1559> \"Abad\"@fr . }"}}
{"id": "test_6937", "question": "Who are the oldest living actors born before 1960, and how old are they?", "sparql": "SELECT ?actorLabel ?birthDate ?age WHERE { ?actor wdt:P31 wd:Q5 ; wdt:P106 wd:Q33999 ; wdt:P569 ?birthDate ; rdfs:label ?actorLabel . OPTIONAL { ?actor wdt:P570 ?deathDate } BIND( YEAR(NOW()) - YEAR(?birthDate) AS ?age ) FILTER( !BOUND(?deathDate) ) FILTER( ?birthDate <= \"1960-12-31T23:59:59Z\"^^xsd:dateTime ) FILTER( ?age < 110 ) FILTER( LANG(?actorLabel) = \"en\" ) } ORDER BY DESC(?age) LIMIT 100", "paraphrases": ["Living actors born before 1960, sorted by age (oldest first), under 110 years old.", "List the names, birth dates, and current ages of all living actors born in or before 1960 who are younger than 110."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> ; <http://www.wikidata.org/prop/direct/P569> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } BIND ( ( YEAR ( NOW ( ) ) - YEAR ( ?var2 ) ) AS ?var3 ). FILTER ( ( ( ?var2 <= \"1960-00-00T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( !( BOUND ( ?var4 ) ) ) ) . FILTER ( ( ( ?var3 < \"110\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var3 ) LIMIT 100"}}
{"id": "test_6938", "question": "Male football forwards who played for both FC Barcelona and Real Madrid, with their birth dates, places of birth, coordinates, and images.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?player ?playerLabel ?dateOfBirth ?placeOfBirth ?coordinates ?image WHERE {\n  ?player wdt:P106 wd:Q937857 .\n  ?player wdt:P21 wd:Q6581097 .\n  ?player wdt:P413 wd:Q280658 .\n  ?player wdt:P54 wd:Q7156 .\n  ?player wdt:P54 wd:Q8682 .\n  OPTIONAL {\n    ?player wdt:P569 ?dateOfBirth .\n  }\n  OPTIONAL {\n    ?player wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?player wdt:P19 ?placeOfBirth .\n    ?placeOfBirth wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    ?player rdfs:label ?playerLabel\n    FILTER(LANG(?playerLabel) = 'en')\n  }\n}\nORDER BY DESC(?dateOfBirth)", "paraphrases": ["Who are the male association football forwards that have played for both FC Barcelona and Real Madrid, and what are their birth dates, birthplaces, and images?", "List all male football players who played as forwards for both FC Barcelona and Real Madrid, including their date of birth, place of birth with coordinates, and profile image if available, sorted from oldest to youngest."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q937857> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581097> . ?var1 <http://www.wikidata.org/prop/direct/P413> <http://www.wikidata.org/entity/Q280658> . ?var1 <http://www.wikidata.org/prop/direct/P54> <http://www.wikidata.org/entity/Q7156> . ?var1 <http://www.wikidata.org/prop/direct/P54> <http://www.wikidata.org/entity/Q8682> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ur,ar,en\". } } ORDER BY DESC( ?var2 )"}}
{"id": "test_6939", "question": "Who died on July 17, 2002?", "sparql": "SELECT DISTINCT ?person WHERE { ?person wdt:P570 ?deathDate . FILTER ( ?deathDate >= \"2002-07-17T00:00:00Z\"^^xsd:dateTime && ?deathDate <= \"2002-07-17T23:59:59Z\"^^xsd:dateTime ) }", "paraphrases": ["List of people who died on July 17, 2002", "Can you tell me the names of all individuals who passed away on July 17, 2002?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . FILTER ( ( ( ?var2 >= \"2002-07-17T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"2002-07-17T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_6940", "question": "Time periods starting in the 2030s and ending in the 2040s or early 2050s.", "sparql": "SELECT DISTINCT ?period WHERE { ?period wdt:P580 ?startTime . ?period wdt:P582 ?endTime . FILTER ( ?startTime >= \"2030-01-01T00:00:00Z\"^^xsd:dateTime && ?startTime <= \"2040-12-31T23:59:59Z\"^^xsd:dateTime ) FILTER ( ?endTime >= \"2040-01-01T00:00:00Z\"^^xsd:dateTime && ?endTime <= \"2050-12-31T23:59:59Z\"^^xsd:dateTime ) }", "paraphrases": ["Which time periods began between 2030 and 2040 and ended between 2040 and 2050?", "List all defined time intervals that started in the 2030s and extended into the 2040s or 2050s."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P580> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P582> ?var3 . FILTER ( ( ( ?var2 >= \"2030-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"2040-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var3 >= \"2040-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var3 <= \"2050-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_6941", "question": "Humans taller than 2.5 meters who do not have gigantism.", "sparql": "SELECT ?person ?height WHERE { ?person wdt:P31 wd:Q5 ; wdt:P2048 ?height . FILTER ( NOT EXISTS { ?person wdt:P1050 wd:Q501829 } ) FILTER ( ?height > \"2.5\"^^xsd:decimal ) } ORDER BY ASC(?height) LIMIT 1000", "paraphrases": ["Who are the tallest humans (over 2.5 meters) that do not suffer from gigantism?", "List up to 1000 people who are taller than 2.5 meters and are not diagnosed with gigantism, sorted by height."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P31> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P2048> ?var2 . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P1050> <http://www.wikidata.org/entity/Q501829> . } ) ) . } GROUP BY ?var1 ?var2 HAVING ( ( ?var2 > \"2.5\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) && ( \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> = \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY ASC( ?var2 ) LIMIT 1000"}}
{"id": "test_6942", "question": "Projects that started between 2005 and 2015 and ended between 2015 and 2025.", "sparql": "SELECT DISTINCT ?project WHERE { ?project wdt:P580 ?startTime . ?project wdt:P582 ?endTime . FILTER ( ?startTime >= \"2005-03-20T00:00:00Z\"^^xsd:dateTime && ?startTime <= \"2015-03-20T23:59:59Z\"^^xsd:dateTime ) FILTER ( ?endTime >= \"2015-03-20T00:00:00Z\"^^xsd:dateTime && ?endTime <= \"2025-03-20T23:59:59Z\"^^xsd:dateTime ) }", "paraphrases": ["Which research projects began between March 2005 and March 2015 and concluded between March 2015 and March 2025?", "List all projects with a start date in the 2005\u20132015 window and an end date in the 2015\u20132025 window."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P580> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P582> ?var3 . FILTER ( ( ( ?var2 >= \"2005-03-20T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"2015-03-20T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var3 >= \"2015-03-20T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var3 <= \"2025-03-20T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_6943", "question": "What film has the AFI Catalog ID 69411?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P3593 \"69411\" .\n}", "paraphrases": ["Which movie is identified by the AFI Catalog number 69411?", "Find the Wikidata item for the film with AFI Catalog ID 69411."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3593> \"69411\". }"}}
{"id": "test_6944", "question": "What events occurred on November 18, 1999?", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?event WHERE {\n  ?event(wdt:P585 | wdt:P606 | wdt:P619 | wdt:P620 | wdt:P621 | wdt:P622 | wdt:P729 | wdt:P1191) ?date .\n  FILTER(?date >= \"1999-11-18T00:00:00Z\" ^^ xsd:dateTime && ?date <= \"1999-11-18T23:59:59Z\" ^^ xsd:dateTime)\n}", "paraphrases": ["Which items had a premiere, first flight, service entry, or similar event on November 18, 1999?", "List all entities associated with a time-based event on November 18, 1999, such as spacecraft launches or radio station launches."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P585> | <http://www.wikidata.org/prop/direct/P606> | <http://www.wikidata.org/prop/direct/P619> | <http://www.wikidata.org/prop/direct/P620> | <http://www.wikidata.org/prop/direct/P621> | <http://www.wikidata.org/prop/direct/P622> | <http://www.wikidata.org/prop/direct/P729> | <http://www.wikidata.org/prop/direct/P1191> ) ?var2 . FILTER ( ( ( ?var2 >= \"1999-11-18T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1999-11-18T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_6945", "question": "Image of William Cowper with SNAC ARK ID w65q4z89", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w65q4z89\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image of the person identified by the SNAC ARK ID w65q4z89?", "Show me the Wikimedia Commons image for the individual with SNAC ARK ID w65q4z89."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w65q4z89\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6946", "question": "Works featuring Queen Victoria as a character with narrative role qualifier.", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?work ?statement ?qualifierLabel WHERE {\n  ?statement ps:P674 wd:Q9439 .\n  ?work p:P674 ?statement .\n  ?statement pq:P5800 ?value .\n  wd:P5800 rdfs:label ?qualifierLabel .\n  FILTER(LANG(?qualifierLabel) = \"en\")\n}", "paraphrases": ["Which films or books portray Queen Victoria as a character, and what is the narrative role assigned to her in those portrayals?", "Show me the works in which Queen Victoria appears as a character, along with the narrative role qualifier used for her portrayal."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P674> <http://www.wikidata.org/entity/Q9439> . ?var1 <http://www.wikidata.org/prop/P674> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_6947", "question": "Top Wikidata properties by usage count with English labels, descriptions, formatter URLs, and regex patterns, including Twitter, Instagram, Facebook, YouTube, IMDb, Twitch, LinkedIn, and MusicBrainz identifiers.", "sparql": "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?property ?directClaim ?noValueClass ?propertyLabel ?description ?formatterUrl ?regex ?usageCount WHERE {\n  VALUES ?property {\n    wd:P2013 wd:P4003 wd:P2002 wd:P2003 wd:P434 wd:P345 wd:P2397 wd:P5797 wd:P4264\n  }\n  ?property wikibase:directClaim ?directClaim ; wikibase:novalue ?noValueClass ; rdf:type wikibase:Property ; rdfs:label ?propertyLabel ; schema:description ?description .\n  FILTER(LANG(?propertyLabel) = \"en\")\n  FILTER(LANG(?description) = \"en\")\n  OPTIONAL {\n    ?property wdt:P1630 ?formatterUrl\n  }\n  OPTIONAL {\n    ?property wdt:P1793 ?regex\n  }\n  {\n    SELECT ?property(COUNT(DISTINCT ?subject) AS ?usageCount) WHERE {\n      ?subject ?directClaim ?value .\n    }\n    GROUP BY ?property\n  }\n}\nORDER BY DESC(?usageCount)", "paraphrases": ["Which social media and database identifier properties on Wikidata are used the most, and what are their English labels, descriptions, URL formats, and validation regexes?", "Please list the most frequently used Wikidata properties for social media and external IDs (like Twitter, Instagram, Twitch, IMDb, etc.), showing their English labels, descriptions, URL templates, and regex patterns, sorted by usage count."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4Label ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 WHERE { { SELECT ?var1 ?var2 ?var3 ( COUNT ( DISTINCT ?var12 ) AS ?var9 )( COUNT (* ) AS ?var10 )( COUNT ( DISTINCT ?var13 ) AS ?var11 )( COUNT ( DISTINCT ?var14 ) AS ?var8 ) WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/P2013> ) ( <http://www.wikidata.org/entity/P4003> ) ( <http://www.wikidata.org/entity/P2002> ) ( <http://www.wikidata.org/entity/P2003> ) ( <http://www.wikidata.org/entity/P434> ) ( <http://www.wikidata.org/entity/P345> ) ( <http://www.wikidata.org/entity/P2397> ) ( <http://www.wikidata.org/entity/P2035> ) ( <http://www.wikidata.org/entity/P4264> ) } ?var1 <http://wikiba.se/ontology#directClaim> ?var2 ; <http://wikiba.se/ontology#novalue> ?var3 . { ?var12 ?var2 ?var13 . } UNION { ?var14 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?var3 . } } GROUP BY ?var1 ?var2 ?var3 } ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label ; <http://schema.org/description> ?var5 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1630> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1793> ?var7 . } FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . } ORDER BY DESC( ?var9 )"}}
{"id": "test_6948", "question": "Film with PORT film ID 14525", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P905 \"14525\" .\n}", "paraphrases": ["Which film has the PORT film ID 14525?", "Tell me the film identified by PORT ID 14525."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P905> \"14525\". }"}}
{"id": "test_6949", "question": "What entity has the VIAF ID 122530980?", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P214 \"122530980\" . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["Which item in Wikidata is associated with the VIAF identifier 122530980?", "Show me the English name of the entity with VIAF ID 122530980."], "info": {"raw_sparql": "SELECT * WHERE { ?var1Label <http://www.wikidata.org/prop/direct/P214> \"122530980\"^^<http://www.w3.org/2001/XMLSchema#integer> . }"}}
{"id": "test_6950", "question": "Which German-labeled social media username properties are related to X (Twitter) username?", "sparql": "SELECT ?relatedProperty ?label ?description WHERE { wd:P2002 wdt:P1659 ?relatedProperty . ?relatedProperty rdfs:label ?label . ?relatedProperty schema:description ?description . FILTER (LANG(?label) = \"de\") . FILTER (LANG(?description) = \"de\") .}", "paraphrases": ["What are the German labels and descriptions of properties that are related to the X (Twitter) username property?", "Show me the German labels and descriptions of properties that are linked as related to the X (formerly Twitter) username property."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P2002> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"de\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"de\" ) ) ) . }"}}
{"id": "test_6951", "question": "What image is associated with Lynda Obst in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?person wdt:P3430 \"w6fw0nz7\" .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n}", "paraphrases": ["Can you find the Wikimedia Commons image for the person with SNAC ARK ID w6fw0nz7?", "Show me the picture of the individual identified by the SNAC ARK ID w6fw0nz7."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6fw0nz7\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6952", "question": "What films has Sean Bean acted in?", "sparql": "SELECT DISTINCT ?filmLabel WHERE { ?film (wdt:P31/wdt:P279*) wd:Q11424 ; wdt:P161 wd:Q191104 . ?film rdfs:label ?filmLabel . FILTER(LANG(?filmLabel) = \"en\") } ORDER BY ASC(?filmLabel)", "paraphrases": ["List all movies featuring Sean Bean as a cast member.", "Which films include Sean Bean in the cast?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2 WHERE { BIND ( EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . } || EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P20> ?var4 . } || EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P509> ?var5 . } || EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P157> ?var6 . } AS ?var2 ). ?var7 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11424> ; <http://www.wikidata.org/prop/P161> [ <http://www.wikidata.org/prop/statement/P161> <http://www.wikidata.org/entity/Q191104> ; <http://www.wikidata.org/prop/qualifier/P453> ?var1 ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY DESC( ?var2 )ASC( ?var1Label )"}}
{"id": "test_6953", "question": "What film has the elCinema ID 2047018?", "sparql": "SELECT ?film WHERE { ?film wdt:P3135 \"2047018\" . }", "paraphrases": ["Which movie on Wikidata is identified by the elCinema film ID 2047018?", "Find the Wikidata item for the film with elCinema identifier 2047018."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3135> \"2047018\". }"}}
{"id": "test_6954", "question": "Most common properties associated with French figure skater Charles Sabouret.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(COUNT(?entity) AS ?count) WHERE {\n  ?entity ?property wd:Q6087554 .\n}\nGROUP BY ?property\nHAVING(?count > 1)\nORDER BY DESC(?count)", "paraphrases": ["Which properties connect other entities to Charles Sabouret more than once, and how many times do they appear?", "Show me the properties that link Charles Sabouret to other entities, ordered by frequency, excluding properties used only once."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q6087554> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_6955", "question": "French people named Yvon Alain", "sparql": "SELECT DISTINCT ?person WHERE { ?person rdfs:label \"Yvon Alain\"@fr . }", "paraphrases": ["Who are the French individuals with the name Yvon Alain?", "List all people in Wikidata whose name in French is \"Yvon Alain\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1559> \"Yvon alain\"@fr . }"}}
{"id": "test_6956", "question": "Glaciers in Kazakhstan with a Kazakh Wikipedia page but no Russian one.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?glacier ?glacierLabel WHERE {\n  ?glacier wdt:P31 wd:Q35666 .\n  ?glacier wdt:P17 wd:Q232 .\n  ?glacier rdfs:label ?glacierLabel .\n  FILTER(LANG(?glacierLabel) = \"en\")\n  FILTER(EXISTS {\n    ?article schema:about ?glacier .\n    ?article schema:inLanguage \"kk\" .\n  })\n  FILTER(NOT EXISTS {\n    ?article schema:about ?glacier .\n    ?article schema:inLanguage \"ru\" .\n  })\n}", "paraphrases": ["Which glaciers in Kazakhstan have a Wikipedia article in Kazakh but not in Russian?", "List glaciers located in Kazakhstan that are described on the Kazakh Wikipedia but not on the Russian Wikipedia."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . FILTER ( ( ( ?var2 = <http://www.wikidata.org/entity/Q35666> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . FILTER ( ( ( ?var3 = <http://www.wikidata.org/entity/Q232> ) ) ) . FILTER ( ( EXISTS { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/inLanguage> \"kk\". } ) ) . FILTER ( ( NOT EXISTS { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/inLanguage> \"ru\". } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru,uk,be,tg,kk,ky,uz,tk,az,et,lt,lv,ro,ka,hy\". } }"}}
{"id": "test_6957", "question": "List obituary articles from the Royal Society journals and the associated Oxford Dictionary of National Biography IDs of the people they are about.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?article ?person ?odnbId WHERE {\n  {\n    ?article wdt:P1433 wd:Q4914871 .\n  } UNION {\n    ?article wdt:P1433 wd:Q29043655 .\n  }\n  OPTIONAL {\n    ?article wdt:P921 ?person .\n    ?person wdt:P1415 ?odnbId .\n  }\n}", "paraphrases": ["Which people, if any, are the subjects of obituary articles published in the Biographical Memoirs or Obituary Notices of the Royal Society, and what are their ODNB IDs?", "Please provide the list of obituary articles from the Royal Society\u2019s two journals, along with the names of the individuals they cover and their Oxford Dictionary of National Biography identifiers."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P1433> <http://www.wikidata.org/entity/Q4914871> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P1433> <http://www.wikidata.org/entity/Q29043655> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P921> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P1415> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_6958", "question": "Organizations John Kuriyan was affiliated with or employed by, along with their images.", "sparql": "SELECT ?image ?organization ?orgLabel WHERE { { wd:Q6243502 p:P1416 ?statement . } UNION { wd:Q6243502 p:P108 ?statement . } { ?statement ps:P1416 ?organization . } UNION { ?statement ps:P108 ?organization . } ?organization rdfs:label ?orgLabel . FILTER (LANG(?orgLabel) = \"en\") OPTIONAL { ?organization wdt:P18 ?image . } }", "paraphrases": ["Which institutions has John Kuriyan been affiliated with or worked for, and what are their images on Wikimedia Commons?", "Show me the English names and images of the universities or organizations John Kuriyan has been associated with through employment or affiliation."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label ?var4 ?var5 ?var6Label WHERE { { <http://www.wikidata.org/entity/Q6243502> <http://www.wikidata.org/prop/P1416> ?var7 . } UNION { <http://www.wikidata.org/entity/Q6243502> <http://www.wikidata.org/prop/P108> ?var7 . } { ?var7 <http://www.wikidata.org/prop/statement/P1416> ?var2 . } UNION { ?var7 <http://www.wikidata.org/prop/statement/P108> ?var2 . } ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P580> ?var4 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P582> ?var5 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P512> ?var8 . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_6959", "question": "List of ski resorts in Wikidata", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?skiResort ?skiResortLabel WHERE {\n  ?skiResort wdt:P31 wd:Q130003 .\n  ?skiResort rdfs:label ?skiResortLabel .\n  FILTER ( LANG( ?skiResortLabel ) = \"en\" )\n}", "paraphrases": ["What are some ski resorts listed in Wikidata?", "Show me the English names of all ski resorts in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q894120> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_6960", "question": "Image of the person with SNAC ARK ID w6fr2599", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?person wdt:P3430 \"w6fr2599\" .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Julius Pollux in Wikidata?", "Show me the Wikimedia Commons image for the individual identified by SNAC ARK ID w6fr2599."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6fr2599\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6961", "question": "Transfermarkt player ID 36128, name and English description", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?player ?playerLabel ?description WHERE {\n  ?player wdt:P2446 \"36128\" .\n  ?player rdfs:label ?playerLabel .\n  FILTER(LANG(?playerLabel) = \"en\")\n  .\n  OPTIONAL {\n    ?player schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Who is the football player with Transfermarkt ID 36128, and what is their English description?", "Show me the name and English description of the footballer linked to Transfermarkt ID 36128."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2446> \"361283\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6962", "question": "Items founded, discovered, published, or officially opened in 2020.", "sparql": "SELECT DISTINCT ?item WHERE { ?item (wdt:P571 | wdt:P575 | wdt:P577 | wdt:P1619) ?date . FILTER ( ?date >= \"2020-01-01T00:00:00Z\"^^xsd:dateTime && ?date <= \"2020-12-31T23:59:59Z\"^^xsd:dateTime ) }", "paraphrases": ["What entities had their inception, discovery, publication, or official opening in the year 2020?", "List all items that were created, invented, published, or opened between January 1 and December 31, 2020."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P571> | <http://www.wikidata.org/prop/direct/P575> | <http://www.wikidata.org/prop/direct/P577> | <http://www.wikidata.org/prop/direct/P1619> ) ?var2 . FILTER ( ( ( ?var2 >= \"2200-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"2200-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_6963", "question": "German films released between 1990 and 2000 with English titles.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?film ?filmLabel ?releaseDate WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P577 ?releaseDate .\n  ?film wdt:P495 wd:Q183 .\n  ?film rdfs:label ?filmLabel .\n  FILTER ( LANG( ?filmLabel ) = \"en\" ) .\n  FILTER ( ?releaseDate >= \"1990-01-01T00:00:00Z\" ^^ xsd:dateTime && ?releaseDate <= \"2000-12-31T00:00:00Z\" ^^ xsd:dateTime )\n}", "paraphrases": ["What are the English titles and release dates of German films made between 1990 and 2000?", "List all German films from the 1990s with their English titles and release dates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P495> <http://www.wikidata.org/entity/Q183> . FILTER ( ( ( ?var2 >= \"1990-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"2000-12-31T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,de,en\". } }"}}
{"id": "test_6964", "question": "People in the Finnish National Biography without a Swedish Wikipedia page.", "sparql": "SELECT DISTINCT ?person WHERE { ?person p:P2180 [] . FILTER ( NOT EXISTS { ?swPage schema:about ?person ; schema:inLanguage \"sv\" ; schema:isPartOf <https://sv.wikipedia.org/> . } ) }", "paraphrases": ["Which individuals listed in the Kansallisbiografia (National Biography of Finland) do not have a corresponding article on the Swedish Wikipedia?", "Show me all Finnish historical figures who have a Kansallisbiografia ID but are not covered in the Swedish-language Wikipedia."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/P2180> ?var2 . FILTER ( ( NOT EXISTS { ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> \"sv\". ?var3 <http://schema.org/isPartOf> <https://sv.wikipedia.org/> . } ) ) . }"}}
{"id": "test_6965", "question": "Who has 'Boudi\u00e8res' as their French name?", "sparql": "SELECT DISTINCT ?item WHERE { ?item rdfs:label ?label . FILTER(LANG(?label) = 'fr') . FILTER(REGEX(?label, 'Boudi\u00e8res', 'i')) }", "paraphrases": ["Which person is known as 'Boudi\u00e8res' in French?", "Find the individual whose name in French includes 'Boudi\u00e8res'."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1559> \"boudiere\"@fr . }"}}
{"id": "test_6966", "question": "What are the countries in Europe and their capitals?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?country ?countryLabel ?capital ?capitalLabel WHERE {\n  ?country wdt:P30 wd:Q46 ; wdt:P31 wd:Q3624078 .\n  OPTIONAL {\n    ?country wdt:P36 ?capital .\n    ?capital rdfs:label ?capitalLabel .\n    FILTER ( LANG( ?capitalLabel ) = \"en\" )\n  }\n  ?country rdfs:label ?countryLabel .\n  FILTER ( LANG( ?countryLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Can you list the sovereign states located in Europe along with their capital cities?", "Which European countries have capitals assigned in Wikidata, and what are those capitals called in English?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } ?var1 <http://www.wikidata.org/prop/direct/P30> <http://www.wikidata.org/entity/Q46> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P36> ?var2 . } } LIMIT 100"}}
{"id": "test_6967", "question": "What is the image of the person with SNAC ARK ID w61w3c0s?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w61w3c0s\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Image for Tadeusz Borowski based on SNAC ARK ID w61w3c0s.", "Show me the Wikimedia Commons image linked to the SNAC ARK ID w61w3c0s."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6mp6m58\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6968", "question": "What is the Polish label and description of the property related to price?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?relatedProperty ?label ?description WHERE {\n  wd:P2284 wdt:P1659 ?relatedProperty .\n  ?relatedProperty rdfs:label ?label .\n  ?relatedProperty schema:description ?description .\n  FILTER(LANG(?label) = \"pl\")\n  FILTER(LANG(?description) = \"pl\")\n}", "paraphrases": ["In Polish, what property is associated with price via \"related property\" and what does it mean?", "Which property is considered related to price in Wikidata, and how is it described in Polish?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P2284> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"pl\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"pl\" ) ) ) . }"}}
{"id": "test_6969", "question": "Who are Madonna\u2019s spouses?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?spouse WHERE {\n  wd:Q1744 wdt:P26 ?spouse\n}", "paraphrases": ["Which people have been married to Madonna?", "List all individuals who have been married to the singer Madonna."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q1744> <http://www.wikidata.org/prop/direct/P26> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6970", "question": "List concert halls and their maximum seating capacities.", "sparql": "SELECT DISTINCT ?concertHall ?concertHallLabel ?capacity WHERE { ?concertHall wdt:P31 wd:Q1060829 . ?concertHall wdt:P1083 ?capacity . ?concertHall rdfs:label ?concertHallLabel . FILTER(LANG(?concertHallLabel) = \"en\") }", "paraphrases": ["What are the English names and capacities of all concert halls in Wikidata?", "Show me the names and how many people each concert hall can hold."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1083> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1060829> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en,fr,es,de,ru,it,nl,ja,zh,pl,cs\". } }"}}
{"id": "test_6971", "question": "Coordinates of Gosau, Austria", "sparql": "SELECT ?coordinates WHERE { wd:Q167108 wdt:P625 ?coordinates .}", "paraphrases": ["What are the geographic coordinates of Gosau?", "Can you tell me the latitude and longitude of the municipality of Gosau in Austria?"], "info": {"raw_sparql": "SELECT DISTINCT( SAMPLE ( ?var1 ) AS ?var2 ) WHERE { ?var3 <http://schema.org/about> ?var4 . FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q167108> ) ) ) . OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P625> ?var1 . } }"}}
{"id": "test_6972", "question": "What are the longest films directed by people from China or Taiwan, and how long are they?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?director ?directorLabel ?film ?filmLabel ?duration WHERE {\n  VALUES(?country) {(wd:Q148)(wd:Q29520)(wd:Q865)\n  }\n  ?director wdt:P27 ?country .\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P57 ?director .\n  ?film wdt:P2047 ?duration .\n  ?director rdfs:label ?directorLabel .\n  ?film rdfs:label ?filmLabel .\n  FILTER(LANG(?directorLabel) = \"en\")\n  FILTER(LANG(?filmLabel) = \"en\")\n}\nORDER BY DESC(?duration)", "paraphrases": ["List films directed by citizens of China or Taiwan, ordered by duration from longest to shortest.", "Which films from Chinese or Taiwanese directors have the greatest runtime, and who directed them?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE { VALUES ( ?var4 ) { ( <http://www.wikidata.org/entity/Q148> ) ( <http://www.wikidata.org/entity/Q29520> ) ( <http://www.wikidata.org/entity/Q865> ) } ?var1 <http://www.wikidata.org/prop/direct/P27> ?var4 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var2 <http://www.wikidata.org/prop/direct/P57> ?var1 . ?var2 <http://www.wikidata.org/prop/direct/P2047> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"zh,en\". } } ORDER BY DESC( ?var5 )"}}
{"id": "test_6973", "question": "Image of the person with SNAC ARK ID w6x38j0w", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6x38j0w\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w6x38j0w?", "Show me the Wikimedia Commons image for the individual identified by the SNAC ARK ID w6x38j0w."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6x38j0w\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6974", "question": "Silent films that are not classified as films", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?silentFilm ?silentFilmLabel WHERE {\n  ?silentFilm wdt:P31 wd:Q226730 .\n  FILTER(NOT EXISTS {\n    ?silentFilm wdt:P31 wd:Q11424 .\n  })\n  ?silentFilm rdfs:label ?silentFilmLabel .\n}", "paraphrases": ["Which silent films are not explicitly categorized as films in Wikidata?", "List all silent films that do not have a direct classification as films."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q226730> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6975", "question": "Which property is most commonly used to link lists to the concept of \"settlement of Hungary\"?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nSELECT ?property(COUNT(?property) AS ?count) WHERE {\n  ?item ?statementProperty wd:Q14502790 .\n  ?property wikibase:directClaim ?statementProperty .\n  ?property rdf:type wikibase:Property .\n}\nGROUP BY ?property\nORDER BY DESC(?count)\nLIMIT 1", "paraphrases": ["Most frequent property linking to settlement of Hungary as main topic", "Show me the property that appears most often in statements where \"settlement of Hungary\" is the object, along with its count."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q14502790> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_6976", "question": "French labels of properties and their values for Paul Gauguin, ordered by property ID", "sparql": "SELECT ?propertyLabel ?property ?objectLabelOrUri WHERE {  VALUES ?subject { wd:Q37693 }  ?subject ?propertyUri ?object .  ?property wikibase:directClaim ?propertyUri .  ?property rdfs:label ?propertyLabel .  OPTIONAL {    ?object rdfs:label ?objectLabel .    FILTER ( LANG(?objectLabel) = \"fr\" )  }  BIND( COALESCE(?objectLabel, ?object) AS ?objectLabelOrUri )  FILTER ( LANG(?propertyLabel) = \"fr\" )} ORDER BY ASC( xsd:integer( REPLACE(STR(?property), \".*P\", \"\") ) )", "paraphrases": ["What are the French labels of properties used for Paul Gauguin, and what are the corresponding values in French or as identifiers?", "List all properties linked to Paul Gauguin in French, along with their object values \u2014 if available in French, otherwise show the identifier \u2014 sorted by property number."], "info": {"raw_sparql": "SELECT ?var1Label ?var1 ?var2Label WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q37693> ) } ?var3 ?var4 ?var5 . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . OPTIONAL { ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"fr\" ) ) ) . } BIND ( COALESCE ( ?var5Label , ?var5 ) AS ?var2Label ). FILTER ( ( ( LANG ( ?var1Label ) = \"fr\" ) ) ) . } ORDER BY ASC( <http://www.w3.org/2001/XMLSchema#integer> ( STRAFTER ( STR ( ?var1 ) , \"string1\" ) ) )"}}
{"id": "test_6977", "question": "Heritage-designated items without a location or administrative territory.", "sparql": "SELECT ?item WHERE { ?item wdt:P1435 ?designation . FILTER NOT EXISTS { ?item wdt:P131 | wdt:P276 [] . } } LIMIT 100000", "paraphrases": ["Which heritage-designated items in Wikidata do not have a specified location or administrative placement?", "List all cultural or natural heritage sites that are not linked to any city, region, or country in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1435> ?var2 . FILTER ( ( NOT EXISTS { ?var1 ( <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P276> ) [] . } ) ) . } LIMIT 100000"}}
{"id": "test_6978", "question": "Image of Charlotte Friend with SNAC ARK ID w6ns151j", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?person wdt:P3430 \"w6ns151j\" .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n}", "paraphrases": ["Is there an image available for Charlotte Friend, who has the SNAC ARK ID w6ns151j?", "Please return the Wikimedia Commons image associated with the person identified by SNAC ARK ID w6ns151j."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6ns151j\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6979", "question": "Image of Ihor Kalynets (SNAC ARK ID w63k712k)", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w63k712k\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the Wikimedia Commons image associated with the SNAC ARK ID w63k712k?", "Show me the picture of the person with SNAC ARK ID w63k712k."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w63k712k\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6980", "question": "Who are the kings (as human rulers) and their countries of citizenship?", "sparql": "SELECT ?person ?personLabel ?country ?countryLabel WHERE { ?person wdt:P39 wd:Q12097 . OPTIONAL { ?person wdt:P27 ?country . } } LIMIT 20", "paraphrases": ["List people who have held the position of king and the countries they are citizens of.", "Show me the names of historical kings along with their associated countries."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q138> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . } } LIMIT 20"}}
{"id": "test_6981", "question": "Films with their titles and English descriptions", "sparql": "SELECT ?film ?title ?description WHERE { ?film wdt:P31 wd:Q11424 . OPTIONAL { ?film wdt:P1476 ?title . } OPTIONAL { ?film schema:description ?description . FILTER ( LANG(?description) = \"en\" ) } } LIMIT 20", "paraphrases": ["What are the titles and English descriptions of films in Wikidata?", "Show me the Wikidata items, titles, and English descriptions of films."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . } OPTIONAL { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"en\". FILTER ( ( ( SUBSTR ( STR ( ?var2 ) ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"25\"^^<http://www.w3.org/2001/XMLSchema#integer> ) = \"string1\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var3 . } OPTIONAL { ?var6 <http://schema.org/description> ?var4 . } } LIMIT 20"}}
{"id": "test_6982", "question": "Who are the humans with the surname \"Payman\"?", "sparql": "SELECT DISTINCT ?person WHERE { ?person wdt:P31 wd:Q5 ; wdt:P734 wd:Q126909132 . }", "paraphrases": ["Can you list all people whose last name is Payman?", "Which individuals in Wikidata have the family name Payman?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Payman\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_6983", "question": "What scholarly works have been authored by Douglas Hanahan?", "sparql": "SELECT ?work WHERE { ?work wdt:P50 wd:Q3038005 . } LIMIT 100", "paraphrases": ["List the publications written by the biologist Douglas Hanahan.", "Which papers is Douglas Hanahan known for as an author?"], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q3038005> <https://www.wikidata.org/wiki/Property:P50> ?var1 . } LIMIT 100"}}
{"id": "test_6984", "question": "Wikipedia pages about J. R. R. Tolkien", "sparql": "SELECT ?wikipediaPage WHERE { ?wikipediaPage schema:about wd:Q892 . } LIMIT 100", "paraphrases": ["On which Wikipedia language editions can I find the article about J. R. R. Tolkien?", "Show me all the Wikipedia URLs that link to the Wikidata item for J. R. R. Tolkien using the schema:about relation."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q892> . } LIMIT 100"}}
{"id": "test_6985", "question": "Cities with current female mayors or heads of government, their population, and images of the leaders.", "sparql": "SELECT DISTINCT ?city ?cityLabel ?head ?headLabel ?image WHERE { ?city wdt:P31 wd:Q515 . ?city p:P6 ?headStmt . ?headStmt ps:P6 ?head . FILTER NOT EXISTS { ?headStmt pq:P582 [] } . ?head wdt:P21 wd:Q6581072 . ?city wdt:P1082 ?population . OPTIONAL { ?head wdt:P18 ?image . } OPTIONAL { ?city rdfs:label ?cityLabel . FILTER(LANG(?cityLabel) = \"en\") } OPTIONAL { ?head rdfs:label ?headLabel . FILTER(LANG(?headLabel) = \"en\") } } LIMIT 10", "paraphrases": ["Which cities currently have a female head of government, and who are they? Can we see their population and a photo of the leader?", "List cities that have a woman currently serving as head of government, along with the person\u2019s name, the city\u2019s population, and an image of the leader if available."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/entity/Q6581072> AS ?var4 ). BIND ( <http://www.wikidata.org/entity/Q515> AS ?var5 ). ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/279> *) ?var5 . ?var1 <http://www.wikidata.org/prop/P6> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P6> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P21> ?var4 . FILTER ( ( NOT EXISTS { ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var7 . } ) ) . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var8 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANG],en\". } }"}}
{"id": "test_6986", "question": "Image of William North Rice with SNAC ARK ID w6g175bq", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6g175bq\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with William North Rice in Wikidata, identified by the SNAC ARK ID w6g175bq?", "Show me the Wikimedia Commons image for the person whose SNAC ARK ID is w6g175bq."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6g175bq\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6987", "question": "What are the English names of taxonomic groups that have an Encyclopedia of Life ID, and what are those IDs?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?taxonLabel ?taxon ?eolId WHERE {\n  ?taxon wdt:P31 wd:Q16521 .\n  ?taxon wdt:P830 ?eolId .\n  ?taxon rdfs:label ?taxonLabel .\n  FILTER ( LANG( ?taxonLabel ) = \"en\" )\n}", "paraphrases": ["Can you list the species and other taxonomic groups with their Encyclopedia of Life identifiers?", "Which organisms classified as taxa in Wikidata have an EoL ID, and what is their English name?"], "info": {"raw_sparql": "SELECT ?var1Label ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16521> . ?var1 <http://www.wikidata.org/prop/direct/P830> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,en,en\". } }"}}
{"id": "test_6988", "question": "Australian rules football players born in a specific year, with their names and birth dates.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nSELECT DISTINCT ?player ?playerLabel ?birthDate WHERE {\n  ?player wdt:P31 wd:Q5 ; wdt:P106 wd:Q13414980 ; ( p:P569 / psv:P569 ) [ wikibase:timePrecision \"9\" ^^ xsd:integer ; wikibase:timeValue ?birthDate ] .\n  ?player rdfs:label ?playerLabel .\n  FILTER ( LANG( ?playerLabel ) = \"en\" )\n}", "paraphrases": ["Who are the Australian rules football players and what are their birth years?", "List the English-labeled Australian rules football players along with their year of birth, ensuring each player appears only once."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P106> ?var3 ; ( <http://www.wikidata.org/prop/P569> / <http://www.wikidata.org/prop/statement/value/P569> ) [ <http://wikiba.se/ontology#timePrecision> \"9\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://wikiba.se/ontology#timeValue> ?var2 ] . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q13414980> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6989", "question": "Dee Snider's date of birth and death, and his name.", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { BIND( wd:Q366044 AS ?person ) . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["When was Dee Snider born, and is he still alive?", "Give me Dee Snider\u2019s full name, birth date, and death date (if applicable)."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q366044> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6990", "question": "What are the birth and death dates of George D. Lamont?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?birthDate ?deathDate WHERE {\n  wd:Q5538310 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    wd:Q5538310 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q5538310 wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["Can you tell me when George D. Lamont was born and when he died?", "Provide the English name, birth date, and death date of the American politician George D. Lamont."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q5538310> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6991", "question": "Date of birth and death of Richard Avedon", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?label ?birthDate ?deathDate WHERE {\n  wd:Q305497 rdfs:label ?label .\n  OPTIONAL {\n    wd:Q305497 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q305497 wdt:P570 ?deathDate .\n  }\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["When was Richard Avedon born and when did he die?", "Can you tell me the birth and death dates of the American photographer Richard Avedon?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q305497> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6992", "question": "What are the birth and death dates of Joshua Lee, the American politician?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  BIND( wd:Q6290015 AS ?person ) .\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}", "paraphrases": ["Can you tell me when Joshua Lee was born and when he died, based on Wikidata?", "Why are there two different death dates listed for Joshua Lee in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q6290015> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6993", "question": "Who are the notable people born in Imperial, Nebraska, and when were they born and died?", "sparql": "SELECT ?personLabel ?dob ?dod WHERE { ?person wdt:P19 wd:Q963439 . ?person wdt:P31 wd:Q5 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") . OPTIONAL { ?person wdt:P569 ?dob . } OPTIONAL { ?person wdt:P570 ?dod . } }", "paraphrases": ["List the birth and death dates of humans from Imperial, Nebraska.", "Can you tell me the names, birth dates, and death dates of people born in Imperial, Nebraska?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q963439> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_6994", "question": "What is the image of the person with SNAC ARK ID w62f9sv2?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w62f9sv2\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Can you show me the Wikimedia Commons image for George Vasey?", "Which image is associated with the Social Networks and Archival Context identifier w62f9sv2?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w62f9sv2\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_6995", "question": "List the top 10 businesses with their official websites, countries, founding years, and logos, sorted alphabetically.", "sparql": "SELECT ?business ?businessLabel ?website ?countryLabel ?inceptionDate ?logo WHERE { ?business wdt:P31 wd:Q4830453 . ?business rdfs:label ?businessLabel . FILTER (LANG(?businessLabel) = \"en\") . ?business wdt:P856 ?website . ?business wdt:P17 ?country . ?country rdfs:label ?countryLabel . FILTER (LANG(?countryLabel) = \"en\") . ?business wdt:P571 ?inceptionDate . ?business wdt:P154 ?logo .} ORDER BY ASC(?businessLabel) LIMIT 10", "paraphrases": ["What are the names, websites, countries, founding dates, and logo images of the first 10 businesses listed in Wikidata, ordered by name?", "Show me a table of 10 businesses (in English), including their official websites, countries, when they were founded, and their logos, sorted by business name."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4830453> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P571> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P154> ?var6 . } ORDER BY ASC( ?var2Label ) LIMIT 10"}}
{"id": "test_6996", "question": "Film with danskefilm ID 183", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P3785 \"183\" .\n}", "paraphrases": ["What film is identified by the danskefilm ID 183?", "Find the Wikidata item for the film that has the danskefilm database ID 183."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3785> \"183\". }"}}
{"id": "test_6997", "question": "German labels for tennis qualifying events at Grand Slam tournaments", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?event ?label WHERE {\n  ?event wdt:P31 wd:Q16510064 .\n  ?event wdt:P641 wd:Q847 .\n  ?event rdfs:label ?label .\n  FILTER(LANG(?label) = \"de\" && CONTAINS(?label , \"Qualifikation\"))\n}", "paraphrases": ["What are the German-language names of tennis qualifying tournaments?", "Show me the German labels of all tennis qualifying events listed in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16510064> . ?var1 <http://www.wikidata.org/prop/direct/P641> <http://www.wikidata.org/entity/Q847> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"de\" ) && CONTAINS ( STR ( ?var2 ) , \"/Qu\" ) ) ) . }"}}
{"id": "test_6998", "question": "What property is most frequently used to assign the semantic category \"date\" to lexicographical senses in Wikidata?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nSELECT ?property ( COUNT( ?property ) AS ?count ) WHERE {\n  ?item ?prop wd:Q3016931 .\n  ?property wikibase:directClaim ?prop .\n  ?property rdf:type wikibase:Property .\n}\nGROUP BY ?property\nORDER BY DESC ( ?count )\nLIMIT 1", "paraphrases": ["Which Wikidata property links the most lexicographical senses to the concept of \"date\"?", "Among all properties used to categorize word senses, which one is most commonly associated with the date category?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q3016931> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_6999", "question": "What is the English label and description of the person with British Book Trade Index ID 6388?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P2945 \"6388\" .\n  OPTIONAL {\n    ?item rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Who is the individual listed in the British Book Trade Index with ID 6388, and what is their English description?", "Please provide the English name and description of the person identified by the BBTI ID 6388."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2945> \"37375\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7000", "question": "Which film has the Cineplex Germany film ID 243356?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P3077 \"243356\" .\n}", "paraphrases": ["What is the Wikidata item for the film identified by Cineplex Germany ID 243356?", "Find the film in Wikidata that is assigned the Cineplex ID 243356."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3077> \"243356\". }"}}
{"id": "test_7001", "question": "What film has the Scope.dk ID 9953?", "sparql": "SELECT ?film WHERE { ?film wdt:P2518 \"9953\" . }", "paraphrases": ["Which film is identified by the Scope.dk film ID 9953?", "Can you tell me the name of the film with the Scope.dk identifier 9953?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2518> \"9953\". }"}}
{"id": "test_7002", "question": "What are all the superclass categories of a Latin-script trigraph?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?superclass WHERE {\n  wd:Q27875987 wdt:P279 * ?superclass .\n}", "paraphrases": ["What broader concepts does a Latin-script trigraph belong to in the hierarchy of knowledge?", "Can you list all the classes that a Latin-script trigraph is a subclass of, including indirect ancestors?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q27875987> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_7003", "question": "Image of Ludwig Wilhelm Maurer with SNAC ARK ID w66t0zrd", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w66t0zrd\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Ludwig Wilhelm Maurer in Wikidata?", "Show the Wikimedia Commons image for the person identified by SNAC ARK ID w66t0zrd."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w66t0zrd\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7004", "question": "Sports clubs in Germany", "sparql": "SELECT ?club ?clubLabel WHERE { ?club wdt:P31 wd:Q847017 . ?club wdt:P17 wd:Q183 . ?club rdfs:label ?clubLabel . FILTER(LANG(?clubLabel) = \"en\") } LIMIT 100", "paraphrases": ["What are the names of sports clubs in Germany?", "List the English names of all sports clubs located in Germany."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q847017> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . } LIMIT 100"}}
{"id": "test_7005", "question": "Human settlements in the United Kingdom with names starting with \"Bally\" and their coordinates.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?settlement ?settlementLabel ?coordinates WHERE {\n  ?settlement wdt:P31 / wdt:P279 * wd:Q486972 ; wdt:P17 wd:Q145 ; rdfs:label ?settlementLabel ; wdt:P625 ?coordinates .\n  FILTER ( LANG( ?settlementLabel ) = \"en\" ) .\n  FILTER ( REGEX( ?settlementLabel , \"Bally\" ) ) .\n  FILTER ( NOT EXISTS {\n    ?settlement wdt:P131 wd:Q33788 .\n  }\n  ) .\n}", "paraphrases": ["What are the English-named settlements in the UK that contain \"Bally\" in their name, and where are they located?", "List all human settlements in the United Kingdom whose English labels include \"Bally\", excluding any located in New Caledonia, along with their geographic coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q486972> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q145> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label ; <http://www.wikidata.org/prop/direct/P625> ?var2 . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . FILTER ( ( REGEX ( ?var1Label , \"%Bally\" ) ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q33788> . } ) ) . }"}}
{"id": "test_7006", "question": "What is the image associated with the SNAC ARK ID \"w66d673b\"?", "sparql": "SELECT ?image WHERE { ?person wdt:P3430 \"w66d673b\" . OPTIONAL { ?person wdt:P18 ?image . }}", "paraphrases": ["Can you show me the Wikimedia Commons image for the person whose SNAC ARK ID is w66d673b?", "Who is the person with SNAC ARK ID w66d673b, and what does their image look like?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w66d673b\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7007", "question": "Image of H. B. Marriott Watson with SNAC ARK ID w65h7kdm", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w65h7kdm\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with H. B. Marriott Watson in Wikidata, given his SNAC ARK ID is w65h7kdm?", "Show me the Wikimedia Commons image for the person identified by SNAC ARK ID w65h7kdm."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w65h7kdm\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7008", "question": "French military officers and their places of death", "sparql": "SELECT ?person ?placeOfDeath WHERE { ?person wdt:P106 wd:Q201559 . ?person wdt:P27 wd:Q142 . ?person wdt:P20 ?placeOfDeath . }", "paraphrases": ["Where did French military officers die?", "List all people who were French citizens and had the occupation of military officer, along with the locations where they died."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q201559> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q142> . ?var1 <http://www.wikidata.org/prop/direct/P20> ?var2 . }"}}
{"id": "test_7009", "question": "Who is Sarah Brosnan in French, and is she a human?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?person WHERE {\n  ?person rdfs:label \"Sarah Brosnan\" @fr .\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["Is there a human named Sarah Brosnan with a French label in Wikidata?", "Find the Wikidata entity for Sarah Brosnan that is labeled in French and is a human."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Sarah Bros\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_7010", "question": "What are the Chinese-language terms for subclasses of \"given name\" in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subclass ?label WHERE {\n  ?subclass wdt:P279 wd:Q202444 .\n  ?subclass rdfs:label ?label .\n  FILTER(LANG(?label) = \"zh\")\n}", "paraphrases": ["In Chinese, what are the different types of given names recognized in Wikidata?", "List all Chinese labels for types of given names and their Wikidata identifiers."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q202444> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"zh\" ) ) ) . } LIMIT 10000"}}
{"id": "test_7011", "question": "Which film has the LdiF ID 3484?", "sparql": "SELECT ?film WHERE { ?film wdt:P3107 \"3484\" . }", "paraphrases": ["What is the film identified by the LdiF ID 3484 in the Lexikon des Internationalen Films?", "Find the movie in Wikidata that corresponds to the LdiF ID 3484."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3107> \"3484\". }"}}
{"id": "test_7012", "question": "Image of Anatoly Gladilin (SNAC ARK ID w6p98gg7)", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6p98gg7\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w6p98gg7?", "Show me the Wikimedia Commons image for the person with SNAC ARK ID w6p98gg7."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6p98gg7\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7013", "question": "List all DreamWorks Animation feature films in release order with their titles, directors, IMDb IDs, Box Office Mojo IDs, durations, and release years.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?ordinal(MIN(YEAR(?publicationDate)) AS ?year)(SAMPLE(?titleValue) AS ?title)(GROUP_CONCAT(DISTINCT ?directorLabel ; SEPARATOR = \", \") AS ?directors)(SAMPLE(?imdbValue) AS ?imdbId)(SAMPLE(?boxOfficeValue) AS ?boxOfficeMojoId)(SAMPLE(?durationValue) AS ?duration) WHERE {\n  ?film p:P179 ?seriesStatement .\n  ?seriesStatement ps:P179 wd:Q26196748 .\n  ?seriesStatement pq:P1545 ?ordinal .\n  ?film wdt:P577 ?publicationDate .\n  OPTIONAL {\n    ?film wdt:P1476 ?titleValue .\n  }\n  OPTIONAL {\n    ?film wdt:P57 ?director .\n    ?director rdfs:label ?directorLabel .\n    FILTER(LANG(?directorLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?film wdt:P345 ?imdbValue .\n  }\n  OPTIONAL {\n    ?film wdt:P1237 ?boxOfficeValue .\n  }\n  OPTIONAL {\n    ?film wdt:P2047 ?durationValue .\n  }\n}\nGROUP BY ?film ?ordinal\nORDER BY ASC(xsd:integer(?ordinal))", "paraphrases": ["What are the titles, directors, release years, IMDb IDs, and runtimes of all DreamWorks Animation feature films, ordered by their position in the series?", "Please provide a complete list of DreamWorks Animation films in chronological order, including each film\u2019s title, director(s), release year, IMDb ID, Box Office Mojo ID, and duration in minutes."], "info": {"raw_sparql": "SELECT ?var1 ( MIN ( YEAR ( ?var2 ) ) AS ?var3 ) ?var4 ( SAMPLE ( ?var5 ) AS ?var5 ) ?var4Label ( GROUP_CONCAT ( DISTINCT ?var6 ; SEPARATOR = \", \" ) AS ?var7 )( SAMPLE ( ?var8 ) AS ?var8 )( SAMPLE ( ?var9 ) AS ?var9 )( SAMPLE ( ?var10 ) AS ?var10 ) WHERE { ?var4 <http://www.wikidata.org/prop/P179> ?var11 . ?var11 <http://www.wikidata.org/prop/statement/P179> <http://www.wikidata.org/entity/Q26196748> . ?var11 <http://www.wikidata.org/prop/qualifier/P1545> ?var1 . OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P57> ?var12 . ?var12 <http://www.w3.org/2000/01/rdf-schema#label> ?var6 . FILTER ( ( ( LANG ( ?var6 ) = \"en\" ) ) ) . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P345> ?var9 . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P1237> ?var10 . } ?var4 <http://www.wikidata.org/prop/direct/P577> ?var2 . OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P1476> ?var5 . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P2047> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } } GROUP BY ?var4 ?var4Label ?var1 ORDER BY ASC( <http://www.w3.org/2001/XMLSchema#integer> ( ?var1 ) )"}}
{"id": "test_7014", "question": "What is the English label for the Wikimedia list article \"Algorithms/Unweighted Graph Algorithms\"?", "sparql": "SELECT ?label WHERE { wd:Q22974950 rdfs:label ?label . FILTER (LANGMATCHES(LANG(?label), \"en\")) }", "paraphrases": ["Show the English name of the entity representing unweighted graph algorithms.", "What is the English title of the list of unweighted graph algorithms on Wikidata?"], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { <http://www.wikidata.org/entity/Q3245720> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( LANGMATCHES ( LANG ( ?var1Label ) , \"EN\" ) ) ) . } LIMIT 1"}}
{"id": "test_7015", "question": "List entities with 'Washington' in their English label.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel WHERE {\n  ?item rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) FILTER ( contains( lcase( ?label ) , \"washington\" ) ) BIND( STR( ?label ) AS ?itemLabel )\n}\nLIMIT 10", "paraphrases": ["What are the entities in Wikidata that have 'Washington' in their English name?", "Show me the English labels of all items related to Washington."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ?var2Label \"washington\"@en . ?var1 ?var3 ?var4 . }"}}
{"id": "test_7016", "question": "Male painters who are also university teachers and their countries of citizenship.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?country ?countryLabel ?spouse ?spouseLabel WHERE {\n  ?person wdt:P106 wd:Q1028181 ; wdt:P106 wd:Q1622272 ; wdt:P21 wd:Q6581097 .\n  OPTIONAL {\n    ?person wdt:P27 ?country .\n    ?country rdfs:label ?countryLabel .\n    FILTER ( LANG( ?countryLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?person wdt:P26 ?spouse .\n    ?spouse rdfs:label ?spouseLabel .\n    FILTER ( LANG( ?spouseLabel ) = \"en\" )\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Who are the male individuals that are both painters and university teachers, and which countries are they citizens of?", "List male painters who are university teachers, along with their countries of citizenship and spouses, if any."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1028181> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . } ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581097> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1622272> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P26> ?var3 . } } LIMIT 100"}}
{"id": "test_7017", "question": "Tennis-associated entities with the most properties in Wikidata", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity ?entityLabel ( COUNT( * ) AS ?propertyCount ) WHERE {\n  ?entity wdt:P641 wd:Q847 .\n  ?entity ?p ?o .\n  ?entity rdfs:label ?entityLabel .\n  FILTER ( LANG( ?entityLabel ) = 'en' )\n}\nGROUP BY ?entity ?entityLabel\nHAVING ( ?propertyCount > 10 )\nORDER BY DESC ( ?propertyCount )\nLIMIT 10", "paraphrases": ["Which tennis-related entities in Wikidata have the highest number of associated facts?", "Show me the top 10 tennis-linked entities in Wikidata that are most extensively documented, ordered by how many properties they have."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var1 <http://www.wikidata.org/prop/direct/P641> <http://www.wikidata.org/entity/Q847> . ?var2 ?var4 ?var1 . ?var5 <http://wikiba.se/ontology#directClaim> ?var4 . } GROUP BY ?var1 HAVING ( ( ?var3 > \"100\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_7018", "question": "What are the capitals of Angola's provinces, along with their coordinates, population, images, and English Wikipedia pages?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?capital ?capitalLabel ?coordinates ( SAMPLE( ?img ) AS ?image ) ( SAMPLE( ?pop ) AS ?population ) ( SAMPLE( ?wiki ) AS ?wikipediaPage ) WHERE {\n  wd:Q916 wdt:P150 ?subdivision .\n  ?subdivision wdt:P36 ?capital .\n  ?capital wdt:P625 ?coordinates .\n  OPTIONAL {\n    ?capital wdt:P18 ?img .\n  }\n  OPTIONAL {\n    ?capital wdt:P1082 ?pop .\n  }\n  OPTIONAL {\n    ?wiki schema:about ?capital ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n  ?capital rdfs:label ?capitalLabel .\n  FILTER ( LANG( ?capitalLabel ) = \"en\" )\n}\nGROUP BY ?capital ?capitalLabel ?coordinates", "paraphrases": ["Show me the cities that serve as provincial capitals in Angola, including their population, location, and links to their English Wikipedia articles.", "List the administrative capitals of Angola\u2019s provinces and provide their geographic coordinates, population figures, and associated Wikimedia Commons images where available."], "info": {"raw_sparql": "SELECT REDUCED ?var1 ?var1Label ( SAMPLE ( ?var2 ) AS ?var2 )( SAMPLE ( ?var3 ) AS ?var3 )( SAMPLE ( ?var4 ) AS ?var4 )( SAMPLE ( ?var5 ) AS ?var5 ) WHERE { BIND ( <http://www.wikidata.org/entity/Q916> AS ?var6 ). VALUES ( ?var7 ) { ( <http://www.wikidata.org/entity/Q34876> ) ( <http://www.wikidata.org/entity/Q7275> ) } ?var8 <http://www.wikidata.org/prop/direct/P131> ?var6 . FILTER ( ( EXISTS { ?var8 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var7 ; <http://www.wikidata.org/prop/direct/P17> ?var6 . } ) ) . FILTER ( ( ( ?var8 != ?var6 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var8 <http://www.wikidata.org/prop/direct/P36> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var4 . } OPTIONAL { ?var5 <http://schema.org/about> ?var1 . ?var5 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } GROUP BY ?var1 ?var1Label"}}
{"id": "test_7019", "question": "What properties and values are associated with Johann Caspar Ferdinand Fischer on Wikidata?", "sparql": "SELECT DISTINCT ?property ?value WHERE { wd:Q704728 ?property ?value . } LIMIT 100", "paraphrases": ["What multilingual descriptions and labels are available for the composer Johann Caspar Ferdinand Fischer?", "Show me all the metadata (like descriptions and labels in different languages) for Johann Caspar Ferdinand Fischer."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q704728> ?var1 ?var2 . } LIMIT 100"}}
{"id": "test_7020", "question": "Walt Disney films set in real locations and their coordinates", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?filmLabel ?location ?locationLabel ?coordinates WHERE {\n  ?film wdt:P31 / wdt:P279 * wd:Q11424 ; wdt:P272 wd:Q191224 ; p:P840 ?statement .\n  ?statement ps:P840 ?location .\n  ?location wdt:P625 ?coordinates .\n  ?film rdfs:label ?filmLabel .\n  ?location rdfs:label ?locationLabel .\n  FILTER(LANG(?filmLabel) = \"en\")\n  FILTER(LANG(?locationLabel) = \"en\")\n}", "paraphrases": ["Which Walt Disney animated films are set in specific real-world places, and where are those places located geographically?", "Show me a list of Walt Disney Pictures movies along with the cities or countries where their stories take place and the geographic coordinates of those locations."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11424> ; <http://www.wikidata.org/prop/direct/P272> <http://www.wikidata.org/entity/Q191224> ; ( <http://www.wikidata.org/prop/P840> / <http://www.wikidata.org/prop/statement/P840> ) ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P625> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_7021", "question": "People born in 1147 with Greek labels.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?greekLabel ?birthDate WHERE {\n  ?person wdt:P569 ?birthDate .\n  ?person rdfs:label ?greekLabel .\n  FILTER ( LANG( ?greekLabel ) = \"el\" ) .\n  FILTER ( ?birthDate >= \"1147-01-01T00:00:00Z\" ^^ xsd:dateTime && ?birthDate <= \"1147-12-31T23:59:59Z\" ^^ xsd:dateTime ) .\n}\nORDER BY ASC ( ?birthDate )", "paraphrases": ["Who were the people born in 1147, and what are their names in Greek?", "List the Greek-language names of historical figures born between January 1 and December 31, 1147, sorted by birth date."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P569> ?var2 . OPTIONAL { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"el\" ) ) ) . } FILTER ( ( ( ?var2 >= \"1147-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1147-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ?var1 ) ) . } ORDER BY ASC( ?var2 )"}}
{"id": "test_7022", "question": "What are Disney-owned animated films and where are they set?", "sparql": "SELECT ?film ?filmLabel ?narrativeLocation ?narrativeLocationLabel ?coordinates ?productionCompany WHERE { ?film wdt:P840 ?narrativeLocation ; wdt:P31 wd:Q202866 ; wdt:P272 ?productionCompany . ?productionCompany wdt:P127 wd:Q7414 . OPTIONAL { ?narrativeLocation wdt:P625 ?coordinates . } ?film rdfs:label ?filmLabel . ?narrativeLocation rdfs:label ?narrativeLocationLabel . FILTER(LANG(?filmLabel) = \"en\") FILTER(LANG(?narrativeLocationLabel) = \"en\") }", "paraphrases": ["Can you list animated films produced by companies owned by The Walt Disney Company, along with their narrative locations and geographic coordinates?", "Show me the names of Disney-produced animated movies, the places where their stories take place, and the coordinates of those locations."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P840> ?var2 ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q29168811> ; <http://www.wikidata.org/prop/direct/P272> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P127> * <http://www.wikidata.org/entity/Q7414> . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P625> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_7023", "question": "Humans with the surname Bichara in French labels", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?item WHERE {\n  ?item rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"fr\" ) .\n  FILTER ( CONTAINS( LCASE( ?label ) , \"bichara\" ) ) .\n  ?item wdt:P31 wd:Q5 .\n}", "paraphrases": ["Who are the French-speaking people with the last name Bichara?", "List all humans whose French Wikipedia label includes 'Bichara'."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Bichara\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_7024", "question": "Labels for the 17th G7 summit and its event type", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?summitLabel ?instanceTypeLabel WHERE {\n  wd:Q4553598 wdt:P31 ?instanceType ; rdfs:label ?summitLabel .\n  ?instanceType rdfs:label ?instanceTypeLabel .\n  FILTER(LANG(?instanceTypeLabel) = \"en\")\n}", "paraphrases": ["What are the different language names for the 17th G7 summit, and what kind of event is it?", "Show me all the language versions of the name of the 17th G7 summit, along with the English name of its category."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q4553598> <http://www.wikidata.org/prop/direct/P31> ?var2 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . }"}}
{"id": "test_7025", "question": "What are the language labels and instance type of the Office qu\u00e9b\u00e9cois de la langue fran\u00e7aise?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?instanceType WHERE {\n  wd:Q2578454 wdt:P31 ?instanceType ; rdfs:label ?label .\n}", "paraphrases": ["In how many languages is the Office qu\u00e9b\u00e9cois de la langue fran\u00e7aise named, and what type of organization is it?", "Show me all the names of the Office qu\u00e9b\u00e9cois de la langue fran\u00e7aise in different languages and confirm it is classified as a language regulator."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q2578454> <http://www.wikidata.org/prop/direct/P31> ?var2 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . }"}}
{"id": "test_7026", "question": "What are the different language labels for the list of ships built at Meyer Werft on Wikimedia, and what type of page is it?", "sparql": "SELECT ?label ?type WHERE { wd:Q811467 wdt:P31 ?type ; rdfs:label ?label .}", "paraphrases": ["What is the type of the Wikimedia page listing ships built at Meyer Werft, and what are its labels in various languages?", "Show me the multilingual names and classification of the Wikipedia list for ships built at Meyer Werft."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q811467> <http://www.wikidata.org/prop/direct/P31> ?var2 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . }"}}
{"id": "test_7027", "question": "English name and types of the Saadi Mausoleum", "sparql": "SELECT ?label ?instanceTypeLabel WHERE { wd:Q326263 rdfs:label ?label ; wdt:P31 ?instanceType . FILTER (LANG(?label) = \"en\") . ?instanceType rdfs:label ?instanceTypeLabel . FILTER (LANG(?instanceTypeLabel) = \"en\") }", "paraphrases": ["What is the English name of the Saadi Mausoleum, and what categories does it belong to?", "Show me the English label of the Saadi Mausoleum and the English labels of its instance types."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q326263> <http://www.wikidata.org/prop/direct/P31> ?var2 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( \"en\" = LANG ( ?var1Label ) ) ) ) . }"}}
{"id": "test_7028", "question": "English label of Hyogo University and its type", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?typeLabel ?entityLabel WHERE {\n  wd:Q1641740 wdt:P31 ?type ; rdfs:label ?entityLabel .\n  ?type rdfs:label ?typeLabel .\n  FILTER(LANG(?entityLabel) = \"en\")\n  FILTER(LANG(?typeLabel) = \"en\")\n}", "paraphrases": ["What is Hyogo University called in English, and what type of institution is it?", "Show me the English name of Hyogo University and the English name of the category it belongs to."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { <http://www.wikidata.org/entity/Q1641740> <http://www.wikidata.org/prop/direct/P31> ?var3 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( \"en\" = LANG ( ?var2Label ) ) ) ) . FILTER ( ( ( \"en\" = LANG ( ?var1 ) ) ) ) . }"}}
{"id": "test_7029", "question": "What are the places of worship (like churches, mosques, temples) that have both geographic coordinates and images available on Wikidata?", "sparql": "SELECT ?place ?location ?image WHERE { ?place (wdt:P31/wdt:P279*) wd:Q1370598 . ?place wdt:P625 ?location . ?place wdt:P18 ?image . } LIMIT 100", "paraphrases": ["Show me a list of religious buildings with their locations on a map and associated photos from Wikimedia Commons.", "Find all types of places of worship, including their subclasses, along with their latitude/longitude and images."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1370598> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . }"}}
{"id": "test_7030", "question": "What are all the broader categories that \"engageante\" belongs to, including indirect ones?", "sparql": "SELECT DISTINCT ?superclass WHERE { { wd:Q1341710 wdt:P279 ?superclass . } UNION { wd:Q1341710 wdt:P279 ?level1 . ?level1 wdt:P279 ?superclass . } UNION { wd:Q1341710 wdt:P279 ?level1 . ?level1 wdt:P279 ?level2 . ?level2 wdt:P279 ?superclass . } }", "paraphrases": ["What classes is the fashion item \"engageante\" a subclass of, up to three levels up in the hierarchy?", "List all the parent categories of engageante in the Wikidata ontology."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q1341710> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_7031", "question": "What is Altnau's type and its English label, along with the English label of that type?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?instanceTypeLabel ?entityLabel ?instanceType WHERE {\n  wd:Q69237 wdt:P31 ?instanceType ; rdfs:label ?entityLabel .\n  ?instanceType rdfs:label ?instanceTypeLabel .\n  FILTER ( LANG( ?entityLabel ) = \"en\" ) FILTER ( LANG( ?instanceTypeLabel ) = \"en\" )\n}", "paraphrases": ["What is Altnau, and what class does it belong to, in English?", "Show me the English name of the Swiss municipality Altnau and the English name of the category it is an instance of."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.wikidata.org/entity/Q69237> <http://www.wikidata.org/prop/direct/P31> ?var3 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( \"en\" = LANG ( ?var2Label ) ) ) ) . FILTER ( ( ( \"en\" = LANG ( ?var1 ) ) ) ) . }"}}
{"id": "test_7032", "question": "What are the types (in English) that General Motors Chapter 11 reorganization belongs to, and what is its English label?", "sparql": "SELECT ?typeLabel ?subjectLabel WHERE { wd:Q5532041 wdt:P31 ?type ; rdfs:label ?subjectLabel . ?type rdfs:label ?typeLabel . FILTER(LANG(?subjectLabel) = \"en\") FILTER(LANG(?typeLabel) = \"en\") }", "paraphrases": ["English labels of the classes and the name of General Motors Chapter 11 reorganization.", "Show me the English names of the categories General Motors Chapter 11 reorganization is classified under, along with its own name in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { <http://www.wikidata.org/entity/Q5532041> <http://www.wikidata.org/prop/direct/P31> ?var3 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( \"en\" = LANG ( ?var2Label ) ) ) ) . FILTER ( ( ( \"en\" = LANG ( ?var1 ) ) ) ) . }"}}
{"id": "test_7033", "question": "What is the type and label of the event \"1802 in the United States\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?typeLabel ?entityLabel WHERE {\n  wd:Q2809715 wdt:P31 ?type ; rdfs:label ?entityLabel .\n  ?type rdfs:label ?typeLabel .\n  FILTER(LANG(?entityLabel) = \"en\")\n  FILTER(LANG(?typeLabel) = \"en\")\n}", "paraphrases": ["What kind of event is \"1802 in the United States\", and what is its English label?", "Show me the English label of \"1802 in the United States\" and the English label of its category."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { <http://www.wikidata.org/entity/Q2809715> <http://www.wikidata.org/prop/direct/P31> ?var3 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( \"en\" = LANG ( ?var2Label ) ) ) ) . FILTER ( ( ( \"en\" = LANG ( ?var1 ) ) ) ) . }"}}
{"id": "test_7034", "question": "English label of Daphni Monastery and its type", "sparql": "SELECT ?typeLabel ?entityLabel WHERE { wd:Q500444 wdt:P31 ?type ; rdfs:label ?entityLabel . ?type rdfs:label ?typeLabel . FILTER(LANG(?entityLabel) = \"en\") FILTER(LANG(?typeLabel) = \"en\") }", "paraphrases": ["What is Daphni Monastery called in English, and what type of entity is it?", "Show me the English name of Daphni Monastery and the English term for its category."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { <http://www.wikidata.org/entity/Q500444> <http://www.wikidata.org/prop/direct/P31> ?var3 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( \"en\" = LANG ( ?var2Label ) ) ) ) . FILTER ( ( ( \"en\" = LANG ( ?var1 ) ) ) ) . }"}}
{"id": "test_7035", "question": "What is the English label of Fotini Pipili and what class is she an instance of?", "sparql": "SELECT ?instanceLabel ?personLabel WHERE { wd:Q5473954 wdt:P31 ?instance ; rdfs:label ?personLabel . ?instance rdfs:label ?instanceLabel . FILTER(LANG(?personLabel) = \"en\") FILTER(LANG(?instanceLabel) = \"en\") }", "paraphrases": ["Is Fotini Pipili a human, and what is her name in English?", "Show the English name of Fotini Pipili and her type in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { <http://www.wikidata.org/entity/Q5473954> <http://www.wikidata.org/prop/direct/P31> ?var3 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( \"en\" = LANG ( ?var2Label ) ) ) ) . FILTER ( ( ( \"en\" = LANG ( ?var1 ) ) ) ) . }"}}
{"id": "test_7036", "question": "Who is Anne Lagny in French Wikipedia?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person WHERE {\n  ?person rdfs:label \"Anne Lagny\" @fr .\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["What is the Wikidata item for the person named Anne Lagny in French?", "Find the Wikidata entity for Anne Lagny, a human, with the French label 'Anne Lagny'."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Anne Lagny\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_7037", "question": "Female humans on Wikidata with Instagram usernames", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel ?instagramUsername WHERE {\n  ?person wdt:P21 wd:Q6581072 ; wdt:P31 wd:Q5 .\n  OPTIONAL {\n    ?person wdt:P2003 ?instagramUsername .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Who are some female humans on Wikidata, and what are their Instagram usernames?", "List 100 female humans from Wikidata along with their English labels and Instagram handles, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var3 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru,en\". } ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2003> ?var3 . } } LIMIT 100"}}
{"id": "test_7038", "question": "Films titled \"Sunshine\"", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film rdfs:label \"Sunshine\" @en .\n  ?film wdt:P31 wd:Q11424 .\n}", "paraphrases": ["What is the Wikidata item for the film \"Sunshine\"?", "Find all films named \"Sunshine\" in English from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1237> \"sunshine\". }"}}
{"id": "test_7039", "question": "What is the English description of the entry in the Great Russian Encyclopedia with ID 3515565?", "sparql": "SELECT ?item ?description WHERE { ?item wdt:P2924 \"3515565\" . OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Which country is identified by the ID 3515565 in the Great Russian Encyclopedia Online, and what is its English description?", "Find the English description for the Great Russian Encyclopedia entry with the identifier 3515565."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"2379090\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7040", "question": "Australian federal electoral divisions established in 1901 that are still active, and their states.", "sparql": "SELECT ?division ?divisionLabel ?stateLabel WHERE { ?division wdt:P31 wd:Q2713747 . ?division wdt:P571 \"1901-01-01T00:00:00Z\"^^xsd:dateTime . ?division wdt:P131 ?state . FILTER ( NOT EXISTS { ?division pq:P576 ?abolished . } ) . ?division rdfs:label ?divisionLabel . ?state rdfs:label ?stateLabel . FILTER(LANG(?divisionLabel) = \"en\") . FILTER(LANG(?stateLabel) = \"en\") . } ORDER BY ASC(?divisionLabel)", "paraphrases": ["Which Australian federal electoral divisions were created in 1901 and have not been abolished, and in which states are they located?", "List the names of all current Australian federal electoral divisions established in 1901 along with the states they belong to."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2713747> . ?var1 <http://www.wikidata.org/prop/direct/P571> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var3 . FILTER ( ( ( ?var4 = \"1901-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/qualifier/P576> ?var5 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_7041", "question": "What are the broader categories or classes that internet marketing belongs to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?superclass ?superclassLabel WHERE {\n  wd:Q189507 wdt:P279 + ?superclass .\n  ?superclass rdfs:label ?superclassLabel .\n  FILTER ( LANG( ?superclassLabel ) = \"en\" )\n}\nLIMIT 50", "paraphrases": ["What are all the superclass categories of internet marketing in the Wikidata hierarchy?", "Can you list all the parent classes of internet marketing, going up the subclass hierarchy?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q189507> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_7042", "question": "What are the Czech cultural heritage IDs in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?czech_id WHERE {\n  ?item wdt:P762 ?czech_id .\n}\nLIMIT 100", "paraphrases": ["Can you list some Czech cultural heritage IDs assigned to cultural sites in Wikidata?", "Show me examples of Czech cultural heritage IDs used in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P762> ?var1 . } GROUP BY ?var1"}}
{"id": "test_7043", "question": "Films directed by Gustav Ucicky not listed in the Lexikon des Internationalen Films, with release dates.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?film ?filmLabel ?publicationDate ?directorLabel WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P57 wd:Q78666 .\n  OPTIONAL {\n    ?film wdt:P3107 ?ldifId .\n  }\n  OPTIONAL {\n    ?film wdt:P577 ?publicationDate .\n  }\n  FILTER(! BOUND(?ldifId))\n  ?film rdfs:label ?filmLabel .\n  FILTER(LANG(?filmLabel) = \"en\")\n  wd:Q78666 rdfs:label ?directorLabel .\n  FILTER(LANG(?directorLabel) = \"en\")\n}", "paraphrases": ["Which films directed by Gustav Ucicky do not have an entry in the Lexikon des Internationalen Films, and when were they released?", "Show me the English titles and release years of all films directed by Gustav Ucicky that are absent from the Lexikon des Internationalen Films."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P57> <http://www.wikidata.org/entity/Q78666> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3107> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P57> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } FILTER ( ( !( BOUND ( ?var5 ) ) ) ) . }"}}
{"id": "test_7044", "question": "What direct properties are used to describe diseases in Wikidata, and what are their English labels?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?property ?propertyLabel WHERE {\n  ?disease wdt:P31 wd:Q12136 .\n  ?disease ?property ?value .\n  FILTER(STRSTARTS(STR(?property) , \"http://www.wikidata.org/prop/direct/\"))\n  BIND(REPLACE(STR(?property) , \".*prop/direct/\" , \"\") AS ?pid)\n  BIND(IRI(CONCAT(\"http://www.wikidata.org/entity/\" , ?pid)) AS ?propertyItem)\n  ?propertyItem rdfs:label ?propertyLabel .\n  FILTER(LANG(?propertyLabel) = \"en\")\n}\nORDER BY ?propertyLabel", "paraphrases": ["Which metadata and external identifiers are associated with diseases in Wikidata?", "Can you list the properties like 'ICD-10 code' or 'described at URL' that are used to provide information about diseases?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q12136> . ?var2 ?var1 ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 5000"}}
{"id": "test_7045", "question": "What countries are associated with entities in Wikidata?", "sparql": "SELECT ?country WHERE { ?item wdt:P17 ?country . } LIMIT 10", "paraphrases": ["Can you list some countries linked to items in Wikidata?", "Which sovereign states or territories are listed as countries for various Wikidata items?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P17> ?var1 . ?var2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Item> . } LIMIT 10"}}
{"id": "test_7046", "question": "What are all the superclass categories of occupation, and what is each one's direct parent?", "sparql": "SELECT ?ancestor ?parent WHERE {\n  wd:Q12737077 wdt:P279* ?ancestor .\n  OPTIONAL {\n    ?ancestor wdt:P279 ?parent .\n  }\n}", "paraphrases": ["Show the full hierarchy of classes that occupation belongs to, including each class\u2019s immediate superclass.", "List all subclasses above occupation in the taxonomy, along with their direct parent classes."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q12737077> <http://www.wikidata.org/prop/direct/P279> * ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7047", "question": "What are the direct properties and their values for Leipzig University?", "sparql": "SELECT ?property ?propertyLabel ?value ?valueLabel WHERE { wd:Q154804 ?property ?value . FILTER(STRSTARTS(STR(?property), \"http://www.wikidata.org/prop/direct/\")) OPTIONAL { ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") } OPTIONAL { ?value rdfs:label ?valueLabel . FILTER(LANG(?valueLabel) = \"en\") } } ORDER BY ?property", "paraphrases": ["Can you list all known facts about Leipzig University, including its memberships, locations, and identifiers?", "Show me what information Wikidata has about the University of Leipzig, with human-readable labels for properties and values."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q154804> ?var1 ?var2 . ?var2 ?var3 ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_7048", "question": "Top countries by population, ordered from highest to lowest.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?countryLabel ?population WHERE {\n  ?country wdt:P31 wd:Q6256 ; wdt:P1082 ?population .\n  ?country rdfs:label ?countryLabel .\n  FILTER(LANG(?countryLabel) = \"en\")\n}\nORDER BY DESC(?population)", "paraphrases": ["Which countries have the largest populations, and what are their population numbers?", "Show me a list of all countries ranked by their population in descending order, along with their population figures."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> ; <http://www.wikidata.org/prop/direct/P1082> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru,en\". } } GROUP BY ?var2 ?var1Label ORDER BY DESC( ?var2 )"}}
{"id": "test_7049", "question": "Dutch labels and descriptions of properties used by the Netherlands national football team", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX schema: <http://schema.org/>\nSELECT ?propertyLabel ?propertyDescription WHERE {\n  wd:Q47050 ?wdtProperty ?value .\n  FILTER(STRSTARTS(STR(?wdtProperty) , \"http://www.wikidata.org/prop/direct/\"))\n  .\n  ?property wikibase:directClaim ?wdtProperty .\n  ?property rdfs:label ?propertyLabel .\n  ?property schema:description ?propertyDescription .\n  FILTER(LANG(?propertyLabel) = \"nl\")\n  FILTER(LANG(?propertyDescription) = \"nl\")\n}\nLIMIT 100", "paraphrases": ["What are the Dutch labels and descriptions of the properties that describe the Netherlands national football team?", "Show me the Dutch names and descriptions of all Wikidata properties used to describe the Netherlands national football team."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q47050> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"nl\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"nl\" ) ) ) . } LIMIT 100"}}
{"id": "test_7050", "question": "Who has the NTA ID 297483218?", "sparql": "SELECT ?person WHERE { ?person wdt:P1006 \"297483218\" . }", "paraphrases": ["Which person is associated with the Nationale Thesaurus voor Auteursnamen ID 297483218?", "Tell me the person whose Dutch National Thesaurus for Author Names ID is 297483218."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1006> \"297483218\". ?var1 <http://www.wikidata.org/prop/direct/P1006> ?var2 . }"}}
{"id": "test_7051", "question": "Most common property used to indicate someone is an inventor.", "sparql": "SELECT ?property (COUNT(?property) AS ?count)\nWHERE {\n  ?item ?propUsed wd:Q205375 .\n  ?property wikibase:directClaim ?propUsed .\n  ?property rdf:type wikibase:Property .\n}\nGROUP BY ?property\nORDER BY DESC(?count)\nLIMIT 1", "paraphrases": ["Which Wikidata property is most often used to assign the occupation of inventor?", "Show me the property that is most frequently used to state that a person is an inventor, along with how many times it's used."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q205375> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_7052", "question": "How many people specialize in oncology?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ( COUNT( ?person ) AS ?count ) WHERE {\n  ?person wdt:P101 wd:Q162555 .\n}", "paraphrases": ["How many individuals have oncology as their field of work?", "Count the number of people whose field of work is oncology."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P101> <http://www.wikidata.org/entity/Q162555> . }"}}
{"id": "test_7053", "question": "Wikidata properties with their types, English labels, descriptions, and alternative labels.", "sparql": "SELECT ?property ?propertyType ?propertyLabel (GROUP_CONCAT(DISTINCT ?altLabel; SEPARATOR=\"|\") AS ?altLabels) ?description WHERE { ?property wikibase:propertyType ?propertyType . OPTIONAL { ?property rdfs:label ?propertyLabel . FILTER (LANG(?propertyLabel) = \"en\") } OPTIONAL { ?property schema:description ?description . FILTER (LANG(?description) = \"en\") } OPTIONAL { ?property skos:altLabel ?altLabel . FILTER (LANG(?altLabel) = \"en\") } } GROUP BY ?property ?propertyType ?propertyLabel ?description ORDER BY ASC(?property)", "paraphrases": ["What are all Wikidata properties, their types, English labels, descriptions, and alternative labels, sorted by property ID?", "List all Wikidata properties along with their property type, English label, English description, and any English alternative labels, grouped by property and sorted alphabetically."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label ?var3 ?var4 WHERE { { SELECT ?var1 ?var2 ?var3 ( GROUP_CONCAT ( DISTINCT ?var5 ; SEPARATOR = \"|\" ) AS ?var4 ) WHERE { ?var1 <http://wikiba.se/ontology#propertyType> ?var2 . OPTIONAL { ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . } OPTIONAL { ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } } GROUP BY ?var1 ?var2 ?var3 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_7054", "question": "Properties and values associated with Douglas Adams, including labels and image.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?propertyLabel ?value ?valueLabel ?image WHERE {\n  wd:Q42 ?property ?value .\n  OPTIONAL {\n    ?value rdfs:label ?valueLabel .\n    FILTER(LANG(?valueLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?property rdfs:label ?propertyLabel .\n    FILTER(LANG(?propertyLabel) = \"en\")\n  }\n  OPTIONAL {\n    wd:Q42 wdt:P18 ?image\n  }\n}\nORDER BY ?property ?value", "paraphrases": ["What are the properties (like occupation or IMDb ID) linked to Douglas Adams, and what are their English labels and values?", "Show me all the information about Douglas Adams, including what he is associated with (e.g., occupations, IDs), the English names of those associations, and his image."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4Label ?var5 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { BIND ( <http://www.wikidata.org/entity/Q42> AS ?var3 ). BIND ( \"N/A\" AS ?var1 ). BIND ( \"identity\"@en AS ?var2Label ). } UNION { <http://www.wikidata.org/entity/Q42> ?var1 ?var3 . ?var6 ?var7 ?var1 . ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#ExternalId> . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var5 . } FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . } ORDER BY ASC( ?var1 )ASC( ?var3 )"}}
{"id": "test_7055", "question": "List religious building landscapes in Finland with their RKY heritage IDs and labels.", "sparql": "SELECT ?landscape ?landscapeLabel ?rkyId WHERE { ?landscape wdt:P31 wd:Q29968390 . { ?landscape wdt:P361 ?parent . ?parent wdt:P4009 ?rkyId . } UNION { ?landscape wdt:P4009 ?rkyId . } OPTIONAL { ?landscape rdfs:label ?landscapeLabel . } }", "paraphrases": ["What are the names and RKY identification numbers of religious building landscapes in Finland, including those that are parts of larger heritage sites?", "Please provide the labels and RKY IDs of all religious building landscapes, even if their ID is assigned to a larger site they belong to."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q29968390> . { ?var1 <http://www.wikidata.org/prop/direct/P361> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P4009> ?var2 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P4009> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fi\". } }"}}
{"id": "test_7056", "question": "Who are the individuals associated with Bosnia and Herzegovina through citizenship qualifiers in Wikidata, and what properties are linked to them?", "sparql": "SELECT ?person ?personLabel ?value ?valueLabel WHERE { ?person ?claim ?statement . ?statement pq:P27 wd:Q225 . ?statement ?prop ?value . FILTER(STRSTARTS(STR(?prop), \"http://www.wikidata.org/prop/statement/\")) . ?person rdfs:label ?personLabel . ?value rdfs:label ?valueLabel . FILTER(LANG(?personLabel) = \"en\") FILTER(LANG(?valueLabel) = \"en\") }", "paraphrases": ["What awards or attributes are associated with people who have Bosnia and Herzegovina as their country of citizenship in Wikidata?", "List entities from Wikidata that have a citizenship qualifier pointing to Bosnia and Herzegovina, along with the values of their statements."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label WHERE { ?var3 <http://wikiba.se/ontology#claim> ?var5 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#qualifier> ?var7 . ?var3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var4 <http://wikiba.se/ontology#claim> ?var8 . ?var4 <http://wikiba.se/ontology#qualifier> ?var9 . ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var1 ?var5 ?var10 . ?var10 ?var6 ?var2 . ?var10 ?var9 <http://www.wikidata.org/entity/Q20700466> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7057", "question": "What academic articles cite the study on cardio-ankle vascular index and left ventricular ejection fraction?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?citingArticle ?citingArticleTitle ?property ?propertyLabel WHERE {\n  ?citingArticle ?statementProperty wd:Q38127313 .\n  ?property wikibase:directClaim ?statementProperty .\n  ?citingArticle wdt:P1476 ?citingArticleTitle .\n  ?property rdfs:label ?propertyLabel .\n  FILTER(LANG(?citingArticleTitle) = \"en\")\n  FILTER(LANG(?propertyLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Which papers reference the 2013 study on cardio-ankle vascular index, and what is the citation property used?", "List the titles of articles that cite the research titled \"Cardio-ankle vascular index relates to left ventricular ejection fraction in patients with heart failure\" and confirm the citation relationship."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ?var3 <http://www.wikidata.org/entity/Q38127313> . ?var2 <http://wikiba.se/ontology#directClaim> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_7058", "question": "What are the properties and values associated with Trevor Storton in Wikidata, along with their English labels?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?propertyLabel ?value ?valueLabel WHERE {\n  wd:Q1192904 ?property ?value .\n  OPTIONAL {\n    ?property rdfs:label ?propertyLabel .\n    FILTER ( LANG( ?propertyLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?value rdfs:label ?valueLabel .\n    FILTER ( LANG( ?valueLabel ) = \"en\" )\n  }\n}\nLIMIT 100", "paraphrases": ["Can you show me what teams Trevor Storton played for and other details about him, using Wikidata?", "I want to know all the information Wikidata has about Trevor Storton \u2014 including his teams, nationality, and IDs on football databases."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ?var3 <http://www.wikidata.org/entity/Q1192904> . ?var2 <http://wikiba.se/ontology#directClaim> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_7059", "question": "What gene encodes the hypothetical protein XCC0613?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?gene ?geneLabel ?propertyLabel WHERE {\n  ?gene wdt:P688 wd:Q24099045 .\n  ?gene rdfs:label ?geneLabel .\n  wd:P688 rdfs:label ?propertyLabel .\n  FILTER ( LANG( ?geneLabel ) = \"en\" ) FILTER ( LANG( ?propertyLabel ) = \"en\" )\n}", "paraphrases": ["Which gene is linked to the protein XCC0613 via the 'encodes' relationship?", "Show the gene that produces the protein XCC0613 and the property used to link them."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ?var3 <http://www.wikidata.org/entity/Q24099045> . ?var2 <http://wikiba.se/ontology#directClaim> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_7060", "question": "Which academic articles cite \"The coordination dynamics of economic decision making: a multilevel approach to social neuroeconomics\"?", "sparql": "SELECT ?citingArticle ?citingArticleLabel ?citedArticle ?citedArticleLabel WHERE { ?citingArticle wdt:P2860 wd:Q40010206 . BIND(wd:Q40010206 AS ?citedArticle) . ?citingArticle rdfs:label ?citingArticleLabel . ?citedArticle rdfs:label ?citedArticleLabel . FILTER(LANG(?citingArticleLabel) = \"en\") . FILTER(LANG(?citedArticleLabel) = \"en\") }", "paraphrases": ["Articles citing the paper on coordination dynamics in economic decision making.", "Show me the scholarly works that reference the article about social neuroeconomics coordination dynamics."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label WHERE { ?var3 <http://wikiba.se/ontology#claim> ?var5 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#qualifier> ?var7 . ?var3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var4 <http://wikiba.se/ontology#claim> ?var8 . ?var4 <http://wikiba.se/ontology#qualifier> ?var9 . ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var1 ?var5 ?var10 . ?var10 ?var6 ?var2 . ?var10 ?var9 <http://www.wikidata.org/entity/Q40010206> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7061", "question": "What are the direct properties and values associated with Suzanne Vitu in Wikidata?", "sparql": "SELECT ?property ?propertyLabel ?value ?valueLabel WHERE { wd:Q20203379 ?wdtProperty ?value . ?property wikibase:directClaim ?wdtProperty . ?property rdfs:label ?propertyLabel . ?value rdfs:label ?valueLabel . FILTER(LANG(?propertyLabel) = \"en\") FILTER(LANG(?valueLabel) = \"en\") }", "paraphrases": ["Can you list the relationships Suzanne Vitu has with other entities, such as her parents, children, and gender, along with their English labels?", "Show me all the facts about Suzanne Vitu, including who her parents and children are, and what her gender and occupation are, using English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label WHERE { ?var3 <http://wikiba.se/ontology#claim> ?var5 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#qualifier> ?var7 . ?var3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var4 <http://wikiba.se/ontology#claim> ?var8 . ?var4 <http://wikiba.se/ontology#qualifier> ?var9 . ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var1 ?var5 ?var10 . ?var10 ?var6 ?var2 . ?var10 ?var9 <http://www.wikidata.org/entity/Q20203379> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7062", "question": "List of Nobel Prize in Physics winners with their names", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P166 wd:Q38104. ?person rdfs:label ?personLabel FILTER(LANG(?personLabel) = \"en\"). }", "paraphrases": ["Who are the people who have won the Nobel Prize in Physics?", "Show me the names of all individuals who have been awarded the Nobel Prize in Physics."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label WHERE { ?var3 <http://wikiba.se/ontology#claim> ?var5 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#qualifier> ?var7 . ?var3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var4 <http://wikiba.se/ontology#claim> ?var8 . ?var4 <http://wikiba.se/ontology#qualifier> ?var9 . ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var1 ?var5 ?var10 . ?var10 ?var6 ?var2 . ?var10 ?var9 <http://www.wikidata.org/entity/Q11630950> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7063", "question": "Is an anonymous artist considered a type of software?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  wd:Q4233718 wdt:P31 / wdt:P279 * wd:Q7397 .\n}", "paraphrases": ["Does the anonymous artist entity belong to the category of software or any of its subclasses?", "Is software a superclass of the anonymous artist?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q4233718> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_7064", "question": "List all Elite Prospects player IDs in Wikidata.", "sparql": "SELECT ?eliteProspectsId WHERE { ?player wdt:P2481 ?eliteProspectsId . } GROUP BY ?eliteProspectsId ORDER BY ?eliteProspectsId", "paraphrases": ["What are all the unique Elite Prospects player IDs assigned to ice hockey players in Wikidata?", "Can you provide a complete list of the Elite Prospects IDs used to identify ice hockey players in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P2481> ?var1 . } GROUP BY ?var1"}}
{"id": "test_7065", "question": "List animation studios and their official websites.", "sparql": "SELECT ?studio ?studioLabel ?website WHERE { ?studio wdt:P31 wd:Q1107679 . ?studio wdt:P856 ?website . ?studio rdfs:label ?studioLabel . FILTER(LANG(?studioLabel) = \"en\") }", "paraphrases": ["What are the official websites of animation studios on Wikidata?", "Can you show me the names of animation studios and their corresponding official websites in English?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1107679> . ?var1 <http://www.wikidata.org/prop/direct/P856> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"zh\". } }"}}
{"id": "test_7066", "question": "What properties are most commonly used to indicate that a person has been declared \"Venerable\" in the Catholic Church?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?property ?propertyLabel ( COUNT( ?entity ) AS ?count ) WHERE {\n  ?entity ?property wd:Q51619 .\n  BIND( STRAFTER( STR( ?property ) , \"http://www.wikidata.org/prop/direct/\" ) AS ?propId ) BIND( STRAFTER( STR( ?property ) , \"http://www.wikidata.org/prop/statement/\" ) AS ?propId2 ) BIND( STRAFTER( STR( ?property ) , \"http://www.wikidata.org/prop/qualifier/\" ) AS ?propId3 ) BIND( COALESCE ( ?propId , ?propId2 , ?propId3 ) AS ?propIdClean ) BIND( IRI( CONCAT ( \"http://www.wikidata.org/entity/\" , ?propIdClean ) ) AS ?propertyEntity ) OPTIONAL {\n    ?propertyEntity rdfs:label ?propertyLabel .\n    FILTER ( LANG( ?propertyLabel ) = \"en\" )\n  }\n}\nGROUP BY ?property ?propertyLabel\nHAVING ( ?count > 1 )\nORDER BY DESC ( ?count )", "paraphrases": ["Which statements (e.g., canonization status, honorific prefix) are frequently associated with individuals who hold the title \"Venerable\"?", "Show me the top properties linked to the \"Venerable\" canonization status, along with their English labels, ordered by frequency."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q51619> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_7067", "question": "What country, administrative region, and continent is Kosovo and Metohija part of?", "sparql": "SELECT ?country ?admin ?continent WHERE { wd:Q1255 wdt:P17 ?country ; wdt:P131 ?admin ; wdt:P30 ?continent .}", "paraphrases": ["Is Kosovo and Metohija a country or an administrative region, and which country and continent does it belong to?", "Which nation and continent contain the administrative entity of Kosovo and Metohija?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q28162803> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_7068", "question": "What properties are used to link other entities to Hedi Chaker, and how many times each, considering only those used more than once?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ( COUNT( ?entity ) AS ?count ) WHERE {\n  ?entity ?property wd:Q3144583 .\n}\nGROUP BY ?property\nHAVING ( ?count > 1 )\nORDER BY DESC ( ?count )", "paraphrases": ["How many entities are connected to Hedi Chaker via each property, and which properties are used more than once?", "Show me the properties that link other items to Hedi Chaker, sorted by frequency, but only include properties used more than once."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q3144583> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_7069", "question": "What film has Cineplex Germany film ID 56224?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P3077 \"56224\" .\n}", "paraphrases": ["Which movie in Wikidata is associated with the Cineplex ID 56224?", "Find the Wikidata entity for the film with Cineplex Germany film ID 56224."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3077> \"56224\". }"}}
{"id": "test_7070", "question": "Multilingual descriptions of French language using Freebase ID /m/064_8sq", "sparql": "SELECT ?entity ?entityLabel ?description ?language WHERE { ?entity wdt:P646 \"/m/064_8sq\" . ?entity schema:description ?description . ?entity rdfs:label ?entityLabel . FILTER(LANG(?entityLabel) = \"en\") . BIND(LANG(?description) AS ?language) }", "paraphrases": ["What are the descriptions of the French language in different languages?", "Show me how the French language is described in various languages, identified by its Freebase ID /m/064_8sq."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label WHERE { ?var1 ?var2 ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P646> \"/m/064_8sq\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7071", "question": "Which film has the Cineplex Germany film ID 104744?", "sparql": "SELECT ?film WHERE { ?film wdt:P3077 \"104744\" .}", "paraphrases": ["What is the name of the movie identified by 104744 in the Cineplex database?", "Tell me the film associated with Cineplex ID 104744."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3077> \"104744\". }"}}
{"id": "test_7072", "question": "What film has the Cineplex Germany ID 36003?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P3077 \"36003\" .\n}", "paraphrases": ["Which movie is identified by the Cineplex film ID 36003?", "Find the film in Wikidata that corresponds to Cineplex Germany ID 36003."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3077> \"36003\". }"}}
{"id": "test_7073", "question": "Swedish football players who played for FC Barcelona, their height, birthplace, and birthplace coordinates.", "sparql": "SELECT ?player ?playerLabel ?height ?birthPlace ?birthPlaceLabel ?coordinates WHERE { ?player wdt:P54 wd:Q7156 . ?player wdt:P106 wd:Q937857 . ?player wdt:P2048 ?height . ?player wdt:P19 ?birthPlace . ?birthPlace wdt:P17 wd:Q34 . ?birthPlace wdt:P625 ?coordinates . ?player rdfs:label ?playerLabel . ?birthPlace rdfs:label ?birthPlaceLabel . FILTER(LANG(?playerLabel) = \"en\") FILTER(LANG(?birthPlaceLabel) = \"en\") } LIMIT 300", "paraphrases": ["Who are the Swedish footballers that played for FC Barcelona, and what are their heights and places of birth with coordinates?", "List the names, heights, birthplaces, and geographic coordinates of all Swedish players who have played for FC Barcelona."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var3 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P54> <http://www.wikidata.org/entity/Q7156> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q937857> . ?var1 <http://www.wikidata.org/prop/direct/P2048> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q34> . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 300"}}
{"id": "test_7074", "question": "What film has the AFI Catalog ID 66167?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?title WHERE {\n  ?film wdt:P3593 \"66167\" .\n  ?film wdt:P1476 ?title .\n  FILTER(LANG(?title) = \"en\")\n}", "paraphrases": ["Which movie is identified by the AFI Catalog number 66167?", "Can you find the English title of the film with AFI Catalog ID 66167?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3593> \"66167\". }"}}
{"id": "test_7075", "question": "Film with Box Office Mojo ID \"trial\"", "sparql": "SELECT ?film ?filmLabel WHERE { ?film wdt:P1237 \"trial\" . ?film rdfs:label ?filmLabel . FILTER(LANG(?filmLabel) = \"en\") }", "paraphrases": ["Which film has the Box Office Mojo film ID \"trial\"?", "Tell me the name of the film that has the Box Office Mojo ID \"trial\"."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1237> \"trial\". }"}}
{"id": "test_7076", "question": "Which film has the AFI Catalog ID 5123?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P3593 \"5123\" .\n}", "paraphrases": ["What is the film identified by the AFI Catalog number 5123?", "Can you tell me the name of the movie listed as 5123 in the American Film Institute Catalog?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3593> \"5123\". }"}}
{"id": "test_7077", "question": "Which movie has the EDb film ID t0009454?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie WHERE {\n  ?movie wdt:P3141 \"t0009454\" .\n}", "paraphrases": ["What is the Wikidata item for the Israeli film with EDb ID t0009454?", "Find the movie in Wikidata that is identified by the EDb film ID t0009454."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3141> \"t0009454\". }"}}
{"id": "test_7078", "question": "Who are the Indian singers born in Thiruvananthapuram?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?singerLabel WHERE {\n  ?singer wdt:P106 wd:Q177220 .\n  ?singer wdt:P27 wd:Q668 .\n  ?singer wdt:P19 wd:Q167715 .\n  ?singer rdfs:label ?singerLabel .\n  FILTER ( LANG( ?singerLabel ) = \"en\" )\n}", "paraphrases": ["Indian singers from Thiruvananthapuram", "List all singers who are citizens of India and were born in Thiruvananthapuram."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q177220> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q668> . ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q167715> . } LIMIT 100"}}
{"id": "test_7079", "question": "Singers who are Indian citizens and their countries of birth", "sparql": "SELECT ?singerLabel ?birthCountryLabel WHERE { ?singer wdt:P106 wd:Q177220 . ?singer wdt:P27 wd:Q668 . ?singer wdt:P19 ?birthplace . ?birthplace wdt:P131* ?birthCountry . ?birthCountry wdt:P31 wd:Q3624078 . ?singer rdfs:label ?singerLabel . ?birthCountry rdfs:label ?birthCountryLabel . FILTER(LANG(?singerLabel) = \"en\") FILTER(LANG(?birthCountryLabel) = \"en\") } LIMIT 100", "paraphrases": ["Which singers who are citizens of India were born in which countries?", "List Indian citizen singers along with the countries where they were born."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q177220> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q668> . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P17> ?var2 . } LIMIT 100"}}
{"id": "test_7080", "question": "Who is the French author named Marc Levy?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?item WHERE {\n  ?item rdfs:label \"Marc Levy\" @en .\n  ?item wdt:P31 wd:Q5 .\n  ?item wdt:P27 wd:Q142 .\n}", "paraphrases": ["What human entity, who is a citizen of France, has the English label \"Marc Levy\"?", "Can you find the French citizen who is a writer and is known in English as Marc Levy?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Marc levy\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_7081", "question": "Postal codes of municipalities in French department 35 (Ille-et-Vilaine)", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?postalCode ?municipalityLabel WHERE {\n  ?municipality wdt:P31 wd:Q484170 .\n  ?municipality p:P131 ?stmt1 .\n  ?stmt1 ps:P131 ?department .\n  ?department wdt:P2586 \"35\" .\n  FILTER(NOT EXISTS {\n    ?stmt1 pq:P582 ?end1 .\n  })\n  ?municipality p:P281 ?stmt2 .\n  ?stmt2 ps:P281 ?postalCode .\n  FILTER(NOT EXISTS {\n    ?stmt2 pq:P582 ?end2 .\n  })\n  ?municipality rdfs:label ?municipalityLabel .\n  FILTER(LANG(?municipalityLabel) = \"en\")\n}\nORDER BY ASC(?postalCode)", "paraphrases": ["What are the postal codes of all municipalities in the Ille-et-Vilaine department of France?", "List the current postal codes for every commune in the French department with INSEE code 35."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2Label WHERE { ?var2 <http://www.wikidata.org/prop/P31> ?var3 . ?var4 <http://www.wikidata.org/prop/P31> ?var5 . ?var4 <http://www.wikidata.org/prop/direct/P2586> ?var6 . ?var4 <http://www.wikidata.org/prop/direct/P131> ?var7 . ?var7 <http://www.wikidata.org/prop/direct/P2585> ?var8 . FILTER ( ( NOT EXISTS { ?var5 <http://www.wikidata.org/prop/qualifier/P582> ?var9 . } ) ) . ?var2 <http://www.wikidata.org/prop/direct/P131> ?var4 . ?var2 <http://www.wikidata.org/prop/direct/P374> ?var1 . ?var2 <http://www.wikidata.org/prop/direct/P281> ?var10 . FILTER ( ( NOT EXISTS { ?var3 <http://www.wikidata.org/prop/qualifier/P582> ?var9 . } ) ) . FILTER ( ( ?var6 IN ( \"35\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_7082", "question": "Which Wikidata entities have the Twitter usernames \"chrisalbon\", \"ASBMB\", or \"moefeliu\"?", "sparql": "SELECT ?entity ?username WHERE { ?entity wdt:P2002 ?username . VALUES ?username { \"chrisalbon\" \"ASBMB\" \"moefeliu\" } }", "paraphrases": ["Who or what organizations are associated with the Twitter handles @chrisalbon, @ASBMB, and @moefeliu?", "Show me the entities on Wikidata that use \"chrisalbon\", \"ASBMB\", and \"moefeliu\" as their X (Twitter) usernames."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"chrisalbon\" ) ( \"ASBMB\" ) ( \"moefeliu\" ) } }"}}
{"id": "test_7083", "question": "Which properties link multiple resources to the 1969 Moscow Skate figure skating competition?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(COUNT(?resource) AS ?count) WHERE {\n  ?resource ?property wd:Q3324713 .\n}\nGROUP BY ?property\nHAVING(?count > 1)\nORDER BY DESC(?count)", "paraphrases": ["What property is used more than once to connect external resources to the 1969 Moscow Skate competition?", "Show me the properties that are used to reference the 1969 Moscow Skate competition in more than one external resource."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q3324713> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_7084", "question": "What are the capital cities of Brazil\u2019s states, along with their coordinates, population, images, and Arabic Wikipedia links?", "sparql": "SELECT ?capital ?capitalLabel ?capitalCoords ?capitalImage (SAMPLE(?pop) AS ?capitalPopulation) ?arWikipediaPage WHERE { BIND(wd:Q155 AS ?country) . ?state wdt:P31 wd:Q485258 ; wdt:P17 ?country . ?state wdt:P36 ?capital . ?capital wdt:P625 ?capitalCoords . OPTIONAL { ?capital wdt:P1082 ?pop . } OPTIONAL { ?capital wdt:P18 ?capitalImage . } OPTIONAL { ?arWikipediaPage schema:about ?capital ; schema:isPartOf <https://ar.wikipedia.org/> . } ?capital rdfs:label ?capitalLabel . FILTER(LANG(?capitalLabel) = \"en\") } GROUP BY ?capital ?capitalLabel ?capitalCoords ?capitalImage ?arWikipediaPage", "paraphrases": ["Can you list the capitals of all Brazilian states, including their population, location coordinates, and whether they have an image or Arabic Wikipedia page?", "Show me the main cities that serve as capitals of Brazil\u2019s federative units, with their geographic data, population figures, and links to Arabic Wikipedia."], "info": {"raw_sparql": "SELECT REDUCED ?var1 ?var1Label ( SAMPLE ( ?var2 ) AS ?var2 )( SAMPLE ( ?var3 ) AS ?var3 )( SAMPLE ( ?var4 ) AS ?var4 )( SAMPLE ( ?var5 ) AS ?var5 ) WHERE { BIND ( <http://www.wikidata.org/entity/Q155> AS ?var6 ). VALUES ( ?var7 ) { ( <http://www.wikidata.org/entity/Q34876> ) ( <http://www.wikidata.org/entity/Q7275> ) } ?var8 <http://www.wikidata.org/prop/direct/P131> ?var6 . FILTER ( ( EXISTS { ?var8 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var7 ; <http://www.wikidata.org/prop/direct/P17> ?var6 . } ) ) . FILTER ( ( ( ?var8 != ?var6 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ar\". } ?var8 <http://www.wikidata.org/prop/direct/P36> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var4 . } OPTIONAL { ?var5 <http://schema.org/about> ?var1 . ?var5 <http://schema.org/isPartOf> <https://ar.wikipedia.org/> . } } GROUP BY ?var1 ?var1Label"}}
{"id": "test_7085", "question": "Parent-child pairs where parent is at least 13 years older than child", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?parent ?child ?ageDifferenceYears WHERE {\n  ?parent wdt:P40 ?child ; wdt:P569 ?parentBirthDate .\n  ?child wdt:P569 ?childBirthDate .\n  BIND( ( YEAR( ?childBirthDate ) - YEAR( ?parentBirthDate ) ) AS ?ageDifferenceYears ) FILTER ( ?ageDifferenceYears >= 13 )\n}\nLIMIT 100", "paraphrases": ["Which parents in Wikidata are at least 13 years older than their children?", "Show me parent-child relationships where the parent was at least 13 years old when the child was born."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 WHERE { BIND ( ( ?var4 - ?var5 ) AS ?var3 ). ?var1 <http://www.wikidata.org/prop/direct/P40> ?var2 ; <http://www.wikidata.org/prop/direct/P569> ?var5 . ?var2 <http://www.wikidata.org/prop/direct/P569> ?var4 . FILTER ( ( ( ( ?var4 - ?var5 ) <= \"388\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_7086", "question": "Spanish municipalities in Castile and Le\u00f3n with their coordinates, postal codes, official websites, INE codes, GeoNames IDs, OSM relations, and BDCYL IDs.", "sparql": "SELECT DISTINCT ?municipality ?label ?coordinates ?postalCode ?website ?osmRelation ?ineCode ?geonamesId ?bdcyId WHERE { ?municipality wdt:P31 wd:Q2074737 . ?municipality (wdt:P131/wdt:P279*) wd:Q5739 . ?municipality rdfs:label ?label . FILTER (LANG(?label) = \"es\") OPTIONAL { ?municipality wdt:P625 ?coordinates . } OPTIONAL { ?municipality wdt:P281 ?postalCode . } OPTIONAL { ?municipality wdt:P856 ?website . } OPTIONAL { ?municipality wdt:P402 ?osmRelation . } OPTIONAL { ?municipality wdt:P772 ?ineCode . } OPTIONAL { ?municipality wdt:P1566 ?geonamesId . } OPTIONAL { ?municipality wdt:P3964 ?bdcyId . } }", "paraphrases": ["What are the Spanish municipalities in Castile and Le\u00f3n, and what are their official websites, postal codes, geographic coordinates, INE codes, GeoNames IDs, OpenStreetMap IDs, and BDCYL identifiers?", "Please list all Spanish municipalities located in Castile and Le\u00f3n, along with their Spanish names, coordinates, postal codes, official websites, INE codes, GeoNames IDs, OpenStreetMap relation IDs, and BDCYL IDs."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 ?var12 ?var13 ?var14 ?var15 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2074737> . { ?var1 ( <http://www.wikidata.org/prop/direct/P131> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5739> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P281> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P402> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P772> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1566> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P214> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P950> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P244> ?var11 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P268> ?var12 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P227> ?var13 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P269> ?var14 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3964> ?var15 . } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"es\" ) ) ) . }"}}
{"id": "test_7087", "question": "Publications with author name starting with D and ending with Katz", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?publication ?authorName WHERE {\n  ?publication wdt:P2093 ?authorName .\n  FILTER ( REGEX( ?authorName , \"^D.+Katz$\" ) )\n}\nLIMIT 1", "paraphrases": ["Which publications have an author whose name starts with 'D' and ends with 'Katz'?", "Show me publications where the author is named something like David Katz \u2014 starting with D and ending with Katz."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2093> ?var2 . FILTER ( ( REGEX ( ?var2 , \"^D.+Katz$\" ) ) ) . } LIMIT 1"}}
{"id": "test_7088", "question": "Maiken Nedergaard publications by year and title", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?year ?title WHERE {\n  ?work wdt:P50 wd:Q15845100 ; wdt:P577 ?date ; rdfs:label ?title .\n  FILTER ( LANGMATCHES( LANG( ?title ) , \"en\" ) ) BIND( YEAR( ?date ) AS ?year )\n}\nORDER BY ASC ( ?year )", "paraphrases": ["What are the English-language publications by Maiken Nedergaard, ordered by publication year?", "List the titles and publication years of all English-language works authored by Maiken Nedergaard, sorted from earliest to latest."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label WHERE { { SELECT ?var1 ( SAMPLE ( ?var4 ) AS ?var2 ) ?var3Label WHERE { { SELECT( STR ( ?var5 ) AS ?var1 )( \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var4 )( \"_\" AS ?var3Label ) WHERE { BIND ( YEAR ( ?var6 ) AS ?var5 ). ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q577> . ?var7 <http://www.wikidata.org/prop/direct/P585> ?var6 . { SELECT( MIN ( ?var5 ) AS ?var8 )( MAX ( ?var5 ) AS ?var9 ) WHERE { BIND ( YEAR ( ?var10 ) AS ?var5 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q15845100> . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var10 . } } FILTER ( ( ( ?var5 >= ?var8 ) && ( ?var5 <= ?var9 ) ) ) . } } UNION { BIND ( SUBSTR ( ?var12Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"20\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q15845100> . ?var11 <http://www.wikidata.org/prop/direct/P1104> ?var4 . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var6 . ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12Label . FILTER ( ( ( LANG ( ?var12Label ) = \"en\" ) ) ) . } } GROUP BY ?var1 ?var11 ?var3Label ORDER BY ASC( ?var1 ) } }"}}
{"id": "test_7089", "question": "What is the GeoNames ID for Antananarivo?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?geoNamesId WHERE {\n  wd:Q3915 wdt:P1566 ?geoNamesId .\n}\nLIMIT 100", "paraphrases": ["GeoNames ID of Antananarivo", "Can you tell me the GeoNames identifier for the capital of Madagascar?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P1566> ?var1 . VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q3915> ) } } LIMIT 100 OFFSET 10"}}
{"id": "test_7090", "question": "What Portuguese names are used both as first names and last names in Wikidata, but are not explicitly marked as identical?", "sparql": "SELECT DISTINCT ?givenName ?familyName WHERE { ?familyName wdt:P31 wd:Q101352 ; wdt:P31 ?familyInstance ; rdfs:label ?label . ?givenName (wdt:P31/wdt:P279*) wd:Q202444 ; wdt:P31 ?givenInstance ; rdfs:label ?label . FILTER(LANG(?label) = \"pt\") FILTER(NOT EXISTS { ?givenName wdt:P1533 ?familyName . }) } GROUP BY ?givenName ?familyName HAVING (COUNT(?familyInstance) = 1 && COUNT(?givenInstance) = 1) LIMIT 5000", "paraphrases": ["Show me pairs of Portuguese given names and surnames that share the same spelling, excluding those explicitly linked by the \"family name identical to this given name\" property.", "Which words in Portuguese serve as both a first name and a surname in Wikidata, with no direct relationship between them?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var1Label ?var2Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q101352> ; <http://www.wikidata.org/prop/direct/P31> ?var3 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q202444> ; <http://www.wikidata.org/prop/direct/P31> ?var5 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"pt\" ) ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P1533> ?var2 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var2 ?var1Label ?var2Label HAVING ( ( COUNT ( ?var3 ) = \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( COUNT ( ?var5 ) = \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) LIMIT 5000"}}
{"id": "test_7091", "question": "French historical monuments in Rennes with their addresses, M\u00e9rim\u00e9e IDs, and images", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?monument ?monumentLabel(GROUP_CONCAT(DISTINCT ?addressFull ; SEPARATOR = \", \") AS ?addresses)(GROUP_CONCAT(DISTINCT ?merimeeId ; SEPARATOR = \", \") AS ?merimeeIds)(GROUP_CONCAT(DISTINCT ?startTime ; SEPARATOR = \", \") AS ?startTimes)(GROUP_CONCAT(DISTINCT ?designationLabel ; SEPARATOR = \", \") AS ?designations)(GROUP_CONCAT(DISTINCT ?architectLabel ; SEPARATOR = \", \") AS ?architects)(SAMPLE(?imageTemp) AS ?image) WHERE {\n  ?monument wdt:P1435 ?designation .\n  {\n    ?monument wdt:P1435 wd:Q10387575 .\n  } UNION {\n    ?monument wdt:P1435 wd:Q10387684 .\n  }\n  ?monument p:P1435 [ ps:P1435 ?designation ; pq:P580 ?startTime ] ; wdt:P625 ?coordinates ; wdt:P380 ?merimeeId ; wdt:P131 + wd:Q647 .\n  ?monument rdfs:label ?monumentLabel .\n  FILTER(LANG(?monumentLabel) = \"fr\")\n  ?designation rdfs:label ?designationLabel .\n  FILTER(LANG(?designationLabel) = \"fr\")\n  OPTIONAL {\n    ?monument wdt:P669 ?address .\n    OPTIONAL {\n      ?monument p:P669 [ ps:P669 ?address ; pq:P670 ?houseNumber ] .\n      BIND(CONCAT(?houseNumber , \" \" , ?addressLabel) AS ?addressFull)\n    }\n    OPTIONAL {\n      ?address rdfs:label ?addressLabel .\n      FILTER(LANG(?addressLabel) = \"fr\")\n    }\n  }\n  OPTIONAL {\n    ?monument wdt:P669 ?architect .\n    ?architect rdfs:label ?architectLabel .\n    FILTER(LANG(?architectLabel) = \"fr\")\n  }\n  OPTIONAL {\n    ?monument wdt:P18 ?imageTemp .\n  }\n}\nGROUP BY ?monument ?monumentLabel", "paraphrases": ["What are the classified and inscribed historical monuments in Rennes, and what are their addresses, heritage designations, architects, and images?", "List all French historical monuments in Rennes, including their street addresses, M\u00e9rim\u00e9e identifiers, designation types, architects (in French), and associated images."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( GROUP_CONCAT ( ?var2 ; SEPARATOR = \", \" ) AS ?var3 )( GROUP_CONCAT ( ?var4 ; SEPARATOR = \", \" ) AS ?var5 )( GROUP_CONCAT ( ?var6 ; SEPARATOR = \", \" ) AS ?var7 )( GROUP_CONCAT ( ?var8Label ; SEPARATOR = \", \" ) AS ?var8Label )( GROUP_CONCAT ( ?var9 ; SEPARATOR = \", \" ) AS ?var10 )( SAMPLE ( ?var11 ) AS ?var11 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1435> ?var8 . { ?var1 <http://www.wikidata.org/prop/direct/P1435> <http://www.wikidata.org/entity/Q10387575> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P1435> <http://www.wikidata.org/entity/Q10387684> . } ?var1 <http://www.wikidata.org/prop/P1435> [ <http://www.wikidata.org/prop/statement/P1435> [] ; <http://www.wikidata.org/prop/qualifier/P580> ?var9 ] ; <http://www.wikidata.org/prop/direct/P625> ?var4 ; <http://www.wikidata.org/prop/direct/P380> ?var6 ; <http://www.wikidata.org/prop/direct/P131> + <http://www.wikidata.org/entity/Q647> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P669> ?var12 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/P669> [ <http://www.wikidata.org/prop/statement/P669> ?var12 ; <http://www.wikidata.org/prop/qualifier/P670> ?var13 ] . } BIND ( CONCAT ( ?var13 , \" \", ?var12Label ) AS ?var2 ). ?var12 <http://www.w3.org/2000/01/rdf-schema#label> ?var12Label . FILTER ( ( ( LANG ( ?var12Label ) = \"fr\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var11 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } GROUP BY ?var1 ?var1Label"}}
{"id": "test_7092", "question": "Recent events in April 2024 with English labels", "sparql": "SELECT ?event ?eventLabel ?date WHERE { ?event (wdt:P31/wdt:P279*) wd:Q1190554 . OPTIONAL { ?event wdt:P585 ?date . } OPTIONAL { ?event wdt:P580 ?date . } FILTER(BOUND(?date) && DATATYPE(?date) = xsd:dateTime) FILTER(?date >= \"2024-04-01T00:00:00\"^^xsd:dateTime && ?date < \"2024-05-01T00:00:00\"^^xsd:dateTime) OPTIONAL { ?event rdfs:label ?eventLabel . FILTER(LANG(?eventLabel) = \"en\") } } LIMIT 10", "paraphrases": ["What events occurred between April 1 and April 30, 2024, and what are their English names?", "List up to 10 recent occurrences (like elections or incidents) from April 2024, including their English names and exact dates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1190554> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P585> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P580> ?var2 . } BIND ( ( NOW ( ) - ?var2 ) AS ?var3 ). FILTER ( ( BOUND ( ?var2 ) && ( DATATYPE ( ?var2 ) = <http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> <= ?var3 ) && ( ?var3 < \"31\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } } LIMIT 10"}}
{"id": "test_7093", "question": "What are the occupations of Vijay Gokhale?", "sparql": "SELECT ?occupation ?occupationLabel WHERE { wd:Q7929144 wdt:P106 ?occupation . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = \"en\") }", "paraphrases": ["What jobs has Vijay Gokhale held in his career?", "Is Vijay Gokhale known as an actor, director, or television performer?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label WHERE { ?var3 <http://wikiba.se/ontology#claim> ?var5 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#qualifier> ?var7 . ?var3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var4 <http://wikiba.se/ontology#claim> ?var8 . ?var4 <http://wikiba.se/ontology#qualifier> ?var9 . ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var1 ?var5 ?var10 . ?var10 ?var6 ?var2 . ?var10 ?var9 <http://www.wikidata.org/entity/Q7929144> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7094", "question": "Authors of articles citing \"Advances in imaging of vertebral and spinal cord injury\".", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?article ?articleTitle ?author ?authorLabel WHERE {\n  ?article wdt:P2860 wd:Q37756849 .\n  ?article wdt:P50 ?author .\n  OPTIONAL {\n    ?article wdt:P1476 ?articleTitle .\n  }\n  OPTIONAL {\n    ?author rdfs:label ?authorLabel .\n    FILTER ( LANG( ?authorLabel ) = \"en\" )\n  }\n}", "paraphrases": ["Who are the authors of scholarly articles that cite the paper \"Advances in imaging of vertebral and spinal cord injury\"?", "List the authors and titles of papers that reference the article \"Advances in imaging of vertebral and spinal cord injury\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label WHERE { ?var3 <http://wikiba.se/ontology#claim> ?var5 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#qualifier> ?var7 . ?var3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var4 <http://wikiba.se/ontology#claim> ?var8 . ?var4 <http://wikiba.se/ontology#qualifier> ?var9 . ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var1 ?var5 ?var10 . ?var10 ?var6 ?var2 . ?var10 ?var9 <http://www.wikidata.org/entity/Q37756849> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7095", "question": "What scholarly articles are cited by the paper \"Profile of serogroup Y meningococcal infections in Canada: Implications for vaccine selection\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?citedArticle ?citedArticleLabel WHERE {\n  wd:Q33593690 wdt:P2860 ?citedArticle .\n  OPTIONAL {\n    ?citedArticle rdfs:label ?citedArticleLabel .\n    FILTER(LANG(?citedArticleLabel) = \"en\")\n  }\n}", "paraphrases": ["Which research papers does the 2009 article on serogroup Y meningococcal infections in Canada reference?", "List the academic works referenced in the study on meningococcal vaccine selection in Canada."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label WHERE { ?var3 <http://wikiba.se/ontology#claim> ?var5 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#qualifier> ?var7 . ?var3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var4 <http://wikiba.se/ontology#claim> ?var8 . ?var4 <http://wikiba.se/ontology#qualifier> ?var9 . ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var1 ?var5 ?var10 . ?var10 ?var6 ?var2 . ?var10 ?var9 <http://www.wikidata.org/entity/Q33593690> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7096", "question": "English labels of types the Catholic Church is an instance of", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label WHERE {\n  wd:Q9592 wdt:P31 ?type .\n  ?type rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}", "paraphrases": ["What are the English labels for the categories that the Catholic Church belongs to?", "Show me the English names of the classes that the Catholic Church is an example of."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q131069> <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> \"string1\"@en . FILTER ( ( ( \"en\" = LANG ( \"string1\"@en ) ) ) ) . }"}}
{"id": "test_7097", "question": "What are the English labels for the types of Cao Wei?", "sparql": "SELECT ?typeLabel WHERE { wd:Q320930 wdt:P31 ?type . ?type rdfs:label ?typeLabel . FILTER(LANG(?typeLabel) = \"en\") }", "paraphrases": ["What categories does the historical state of Cao Wei belong to, in English?", "Show me the English names of the categories that classify Cao Wei as an entity."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q320930> <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> \"string1\"@en . FILTER ( ( ( \"en\" = LANG ( \"string1\"@en ) ) ) ) . }"}}
{"id": "test_7098", "question": "What is the English label of the type of the musical group \"1995\"?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?label WHERE {\n  wd:Q2813204 wdt:P31 ?type .\n  ?type rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}", "paraphrases": ["What category in English does the French hip-hop band \"1995\" belong to?", "Tell me the English term that classifies the band \"1995\" on Wikidata."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q2813204> <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> \"string1\"@en . FILTER ( ( ( \"en\" = LANG ( \"string1\"@en ) ) ) ) . }"}}
{"id": "test_7099", "question": "What is the English label of the type (instance of) of Brooke Vibber?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?label WHERE {\n  wd:Q14956410 wdt:P31 ?type .\n  ?type rdfs:label ?label .\n  FILTER(LANG(?label) = 'en')\n}", "paraphrases": ["English label of the category that Brooke Vibber belongs to.", "Tell me what category Brooke Vibber is classified as in English."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q14956410> <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> \"string1\"@en . FILTER ( ( ( \"en\" = LANG ( \"string1\"@en ) ) ) ) . }"}}
{"id": "test_7100", "question": "What are the English labels of the categories that the United States belongs to?", "sparql": "SELECT ?instanceLabel WHERE { wd:Q30 wdt:P31 ?instance . ?instance rdfs:label ?instanceLabel . FILTER(LANG(?instanceLabel) = \"en\") }", "paraphrases": ["What types of entities is the United States an instance of, in English?", "List the English names of the categories that classify the United States in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q154064> <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> \"string1\"@en . FILTER ( ( ( \"en\" = LANG ( \"string1\"@en ) ) ) ) . }"}}
{"id": "test_7101", "question": "What is the instance type of the Catholic Church that is labeled \"Christian denomination\" in English?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?instanceType WHERE {\n  wd:Q9592 wdt:P31 ?instanceType .\n  ?instanceType rdfs:label \"Christian denomination\" @en .\n}", "paraphrases": ["Is the Catholic Church classified as a Christian denomination in Wikidata?", "Show me the Wikidata entity for the type \"Christian denomination\" that applies to the Catholic Church."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q253140> <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> \"string1\"@en . FILTER ( ( ( \"en\" = LANG ( \"string1\"@en ) ) ) ) . }"}}
{"id": "test_7102", "question": "Which Wikidata items have the Twitter usernames \"hathitrust\", \"nowviskie\", or \"CLIRDLF\"?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"hathitrust\" \"nowviskie\" \"CLIRDLF\" } }", "paraphrases": ["What organizations on Wikidata are associated with the Twitter handles \"hathitrust\" and \"CLIRDLF\"?", "Show me the Wikidata entities for the Twitter usernames \"hathitrust\", \"nowviskie\", and \"CLIRDLF\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"hathitrust\" ) ( \"nowviskie\" ) ( \"CLIRDLF\" ) } }"}}
{"id": "test_7103", "question": "What are the known tennis tournaments and venues in English?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?tennisInstance ?tennisInstanceLabel WHERE {\n  ?tennisInstance wdt:P31 wd:Q847 .\n  ?tennisInstance rdfs:label ?tennisInstanceLabel .\n  FILTER(LANG(?tennisInstanceLabel) = \"en\")\n}", "paraphrases": ["List all entities that are instances of tennis and have English labels.", "Can you show me the names of tennis-related events and facilities in English?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q847> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_7104", "question": "List English-labeled food products in Wikidata.", "sparql": "SELECT DISTINCT ?item ?itemLabel ?classLabel WHERE { ?item wdt:P31 wd:Q951964 ; rdfs:label ?itemLabel . wd:Q951964 rdfs:label ?classLabel . FILTER(LANG(?itemLabel) = \"en\") FILTER(LANG(?classLabel) = \"en\") }", "paraphrases": ["What are some examples of food products in English on Wikidata?", "Show me the names of all food products that are labeled in English on Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q951964> ) ( <http://www.wikidata.org/entity/Q26904113> ) ( <http://www.wikidata.org/entity/Q26902770> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 ; ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var3 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . }"}}
{"id": "test_7105", "question": "List of diseases and their subclasses", "sparql": "SELECT ?disease WHERE { { ?disease wdt:P31 wd:Q12136 . } UNION { ?disease wdt:P279 wd:Q12136 . } } LIMIT 10", "paraphrases": ["What are the diseases and their direct subclasses in Wikidata?", "Show me all entities that are either instances of or direct subclasses of the disease category."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q134763> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q17537576> . }"}}
{"id": "test_7106", "question": "What are the notable creative works by Oluf Falck-Ytter?", "sparql": "SELECT ?work ?workLabel WHERE { wd:Q7088808 wdt:P800 ?work . ?work rdfs:label ?workLabel . FILTER(LANG(?workLabel) = \"en\") }", "paraphrases": ["Which books or literary works did the Norwegian writer Oluf Falck-Ytter create?", "List the English-labeled works associated with Oluf Falck-Ytter as his notable creations."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q7088808> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q17537576> . }"}}
{"id": "test_7107", "question": "Is the painting 'Africa' classified as a creative work?", "sparql": "SELECT ?type WHERE { wd:Q28810314 wdt:P31 ?type . ?type wdt:P279* wd:Q17537576 . }", "paraphrases": ["What type of creative work is the painting 'Africa'?", "Show me the category that the painting 'Africa' belongs to, within the hierarchy of creative works."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q28810314> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q17537576> . }"}}
{"id": "test_7108", "question": "List command-line interface tools and their images from Wikimedia Commons.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?cli ?label ?image WHERE {\n  ?cli wdt:P31 wd:Q189053 .\n  ?cli rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) OPTIONAL {\n    ?cli wdt:P18 ?image .\n  }\n}\nLIMIT 100", "paraphrases": ["What are the English-named command-line interface tools, and which ones have associated images on Wikimedia Commons?", "Show me the names and images of all command-line interface programs in English, including those without images."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q189053> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_7109", "question": "What is the Wikidata item for the person Albert Einstein?", "sparql": "SELECT ?item ?label WHERE { ?item rdfs:label \"Albert Einstein\"@en . ?item wdt:P31 wd:Q5 . BIND(\"Albert Einstein\" AS ?label) }", "paraphrases": ["Find the entity representing the physicist Albert Einstein in Wikidata.", "Which Wikidata entity corresponds to Albert Einstein, the human, and what is its label?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"string1\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,de,en\". <http://www.wikidata.org/entity/Q123> <http://www.w3.org/2004/02/skos/core#altLabel> ?var2 . <http://www.wikidata.org/entity/Q123> <http://schema.org/description> ?var3 . <http://www.wikidata.org/entity/Q321> <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . } }"}}
{"id": "test_7110", "question": "What is the English label and description of the person in Wikidata with China Vitae ID 2503?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P1631 \"2503\" .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER ( LANG( ?itemLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["Who is the Chinese leader with China Vitae ID 2503, and what is their English description?", "Find the English name and brief description of the person identified by the China Vitae ID 2503."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1631> \"1207\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7111", "question": "Castles in Italy with their coordinates and English names.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?castle ?castleLabel ?coordinates WHERE {\n  ?castle wdt:P31 wd:Q23413 .\n  ?castle wdt:P17 wd:Q38 .\n  OPTIONAL {\n    ?castle wdt:P625 ?coordinates .\n  }\n  ?castle rdfs:label ?castleLabel .\n  FILTER(LANG(?castleLabel) = \"en\")\n}", "paraphrases": ["What are the English names and geographic coordinates of all castles located in Italy?", "List all castles in Italy along with their English labels and coordinates, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q23413> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q38> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . } }"}}
{"id": "test_7112", "question": "Who is married to Georg Lundstr\u00f6m, and when did the marriage start?", "sparql": "SELECT ?person ?statement ?property (SAMPLE(?qualifierProp) AS ?qualifier)\nWHERE {\n  VALUES ?person { wd:Q4964260 }\n  VALUES ?property { wd:P26 }\n  ?statement ps:P26 wd:Q5967787 .\n  ?person p:P26 ?statement .\n  OPTIONAL {\n    ?statement ?qualifierProp ?qualifierValue .\n    ?qualifierEntity wikibase:qualifier ?qualifierProp .\n  }\n}\nGROUP BY ?person ?statement ?property", "paraphrases": ["What is the start date of Mathilda Lundstr\u00f6m\u2019s marriage to Georg Lundstr\u00f6m?", "Show me the spouse relationship between Mathilda Lundstr\u00f6m and Georg Lundstr\u00f6m, including the start time of the marriage."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q5967787> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_7113", "question": "Who is the person with IMDb ID nm0401382, and what is their native name?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?person ?label ?nativeName WHERE {\n  ?person wdt:P345 \"nm0401382\" .\n  ?person rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    ?person wdt:P1559 ?nativeName .\n  }\n}\nLIMIT 100", "paraphrases": ["What is the English name and native name of the actor with IMDb ID nm0401382?", "Please provide the English label and native name (if available) for the person identified by IMDb ID nm0401382."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"nm0401382\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1559> ?var3 . } } LIMIT 100"}}
{"id": "test_7114", "question": "Subclasses of syphilis with their English labels, alternative names, and descriptions.", "sparql": "SELECT ?subclass ?subclassLabel (GROUP_CONCAT(DISTINCT ?altLabel; SEPARATOR = \"|\") AS ?altLabels) ?description WHERE { ?subclass wdt:P279 wd:Q41083 . OPTIONAL { ?subclass rdfs:label ?subclassLabel . FILTER (LANG(?subclassLabel) = \"en\") } OPTIONAL { ?subclass skos:altLabel ?altLabel . FILTER (LANG(?altLabel) = \"en\") } OPTIONAL { ?subclass schema:description ?description . FILTER (LANG(?description) = \"en\") } } GROUP BY ?subclass ?subclassLabel ?description", "paraphrases": ["What are the different forms of syphilis, including their alternative names and descriptions in English?", "List all subclasses of syphilis along with their English labels, any alternative labels, and their English descriptions."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label ?var3 ?var4 WHERE { { SELECT ?var1 ?var2 ?var3 ( GROUP_CONCAT ( DISTINCT ?var5 ; SEPARATOR = \"|\" ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q41083> . OPTIONAL { ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . } OPTIONAL { ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } } GROUP BY ?var1 ?var2 ?var3 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_7115", "question": "Swedish minor urban areas with population data as of December 31, 2015", "sparql": "SELECT ?place WHERE { ?place wdt:P776 ?code . ?place p:P1082 ?popStmt . ?popStmt pq:P585 \"2015-12-31T00:00:00Z\"^^xsd:dateTime . OPTIONAL { ?place p:P2046 ?areaStmt . ?areaStmt pq:P585 \"2015-12-31T00:00:00Z\"^^xsd:dateTime . } } LIMIT 100", "paraphrases": ["Which Swedish minor urban areas had their population recorded on December 31, 2015?", "List Swedish minor urban areas that have population statistics for the end of 2015, and optionally include their area if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P776> ?var3 . ?var1 <http://www.wikidata.org/prop/P1082> ?var4 . ?var4 <http://www.wikidata.org/prop/qualifier/P585> \"+2015-12-31T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/P2046> ?var5 . ?var5 <http://www.wikidata.org/prop/qualifier/P585> \"+2015-12-31T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> . } } LIMIT 100"}}
{"id": "test_7116", "question": "Person named Jean Dury in French who is human", "sparql": "SELECT ?person WHERE { ?person rdfs:label \"Jean Dury\"@fr . ?person wdt:P31 wd:Q5 .}", "paraphrases": ["Who is the French-named Jean Dury that is a human?", "Find the human individual whose French label is \"Jean Dury\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Jean Dury\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_7117", "question": "Movie theaters in Vienna", "sparql": "SELECT ?theater ?theaterLabel WHERE { ?theater wdt:P31 wd:Q41253 . ?theater wdt:P276 wd:Q1741 . ?theater rdfs:label ?theaterLabel . FILTER(LANG(?theaterLabel) = \"en\") } LIMIT 100", "paraphrases": ["What are the movie theaters located in Vienna?", "List the English-named movie theaters in Vienna."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q41253> . ?var1 <http://www.wikidata.org/prop/direct/P276> <http://www.wikidata.org/entity/Q1741> . } LIMIT 100"}}
{"id": "test_7118", "question": "List 1000 humans with their English labels from Wikidata.", "sparql": "SELECT ?human ?label WHERE { ?human wdt:P31 wd:Q5 . ?human rdfs:label ?label . FILTER (LANG(?label) = \"en\") } LIMIT 1000", "paraphrases": ["What are the English names of 1000 randomly selected humans in Wikidata?", "Can you retrieve the English labels of 1000 human entities from Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . } LIMIT 1000"}}
{"id": "test_7119", "question": "What properties link \"elf in a work of fiction\" to other entities, and what are their labels, usage counts, and connected object labels?", "sparql": "SELECT ?property (SAMPLE(?pl) AS ?propertyLabel) (COUNT(?object) AS ?count) (GROUP_CONCAT(?objectLabel; SEPARATOR=\", \") AS ?objectLabels) WHERE { wd:Q3050815 ?property ?object . ?object rdfs:label ?objectLabel . FILTER(LANG(?objectLabel) = \"en\") . ?propertyItem wikibase:directClaim ?property . ?propertyItem rdfs:label ?pl . FILTER(LANG(?pl) = \"en\") . } GROUP BY ?property", "paraphrases": ["For the entity \"elf in a work of fiction\", which properties connect it to other entities, and what are the English labels of those properties, how often are they used, and what are the labels of the connected entities?", "Show me a summary of all properties used with \"elf in a work of fiction\", including their English names, how many times each is used, and the English labels of the entities they point to."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q3050815> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_7120", "question": "Who are the people of S\u00e1mi ethnicity?", "sparql": "SELECT ?person WHERE { ?person wdt:P172 wd:Q48199 . } LIMIT 100", "paraphrases": ["Which individuals are ethnically S\u00e1mi?", "List up to 100 people who belong to the S\u00e1mi ethnic group."], "info": {"raw_sparql": "SELECT ?var1 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P172> <http://www.wikidata.org/entity/Q48199> . OPTIONAL { } } LIMIT 100"}}
{"id": "test_7121", "question": "What types is klezmer classified as?", "sparql": "SELECT ?type ?typeLabel WHERE { wd:Q212944 wdt:P31 ?type . ?type rdfs:label ?typeLabel . FILTER (LANG(?typeLabel) = \"en\") }", "paraphrases": ["What are the English labels of the categories that klezmer belongs to as an instance?", "Show me the English names of the classes that klezmer is an instance of."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q212944> <http://www.wikidata.org/prop/direct/P31> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } LIMIT 50"}}
{"id": "test_7122", "question": "Movie theaters in Vienna with their Cinema Treasures IDs", "sparql": "SELECT ?cinema ?cinemaLabel ?cinemaTreasuresId WHERE { ?cinema wdt:P31 wd:Q41253 . ?cinema wdt:P131 wd:Q1741 . OPTIONAL { ?cinema wdt:P4129 ?cinemaTreasuresId . } ?cinema rdfs:label ?cinemaLabel . FILTER(LANG(?cinemaLabel) = \"en\") } LIMIT 100", "paraphrases": ["Which movie theaters in Vienna have a Cinema Treasures ID, and what are their names?", "List all cinemas in Vienna along with their English names and Cinema Treasures IDs, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q41253> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q1741> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P4129> ?var2 . } OPTIONAL { } OPTIONAL { } } LIMIT 100"}}
{"id": "test_7123", "question": "What is the most specific infobox template used for archaeological sites that also has a Russian Wikipedia article?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?template ?topic(COUNT(?path) AS ?pathCount) WHERE {\n  wd:Q2475401 wdt:P31 ?type .\n  ?template wdt:P31 wd:Q19887878 ; wdt:P1423 ?topic .\n  ?topic wdt:P279 * ?path .\n  ?path wdt:P279 * ?type .\n  ?article schema:about ?template ; schema:isPartOf <https://ru.wikipedia.org/> .\n}\nGROUP BY ?template ?topic\nORDER BY ASC(?pathCount)\nLIMIT 1", "paraphrases": ["Which Wikipedia infobox template has a topic most closely related to Ordu-Baliq (an archaeological site), based on subclass hierarchy, and is available in Russian?", "Find the infobox template whose main topic is a direct subclass of Ordu-Baliq\u2019s type and has a Russian Wikipedia page."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ( COUNT ( ?var5 ) AS ?var6 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ( COUNT ( ?var7 ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19887878> . ?var1 <http://www.wikidata.org/prop/direct/P1423> ?var2 . <http://www.wikidata.org/entity/Q2475401> ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P106> ) ?var8 . ?var8 <http://www.wikidata.org/prop/direct/P279> * ?var7 . ?var7 <http://www.wikidata.org/prop/direct/P279> * ?var2 . } GROUP BY ?var1 ?var2 } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> * ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P279> * ?var3 . } } GROUP BY ?var1 ?var2 ?var3 ?var4 } FILTER ( ( EXISTS { ?var9 <http://schema.org/about> ?var1 . ?var9 <http://schema.org/isPartOf> <https://ru.wikipedia.org/> . } ) ) . } ORDER BY ASC( ?var4 ) DESC( ?var6 ) LIMIT 1"}}
{"id": "test_7124", "question": "Top 40 cities in Bavaria, Germany, by population.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?city ?cityLabel ?population WHERE {\n  ?city wdt:P31 / wdt:P279 * wd:Q515 .\n  ?city wdt:P1082 ?population .\n  ?city wdt:P17 wd:Q183 .\n  ?city wdt:P131 * wd:Q980 .\n  ?city rdfs:label ?cityLabel .\n  FILTER(LANG(?cityLabel) = \"en\")\n}\nORDER BY DESC(?population)\nLIMIT 40", "paraphrases": ["Which are the largest cities in Bavaria, Germany, and what are their populations?", "List the 40 most populous cities in Bavaria, Germany, along with their English names and population figures."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { BIND ( <http://www.wikidata.org/entity/Q515> AS ?var3 ). ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . ?var1 ( <http://www.wikidata.org/prop/direct/P131> ?/ <http://www.wikidata.org/prop/direct/P131> ?/ <http://www.wikidata.org/prop/direct/P131> ) <http://www.wikidata.org/entity/Q980> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } } ORDER BY DESC( ?var2 ) LIMIT 40"}}
{"id": "test_7125", "question": "What external resource properties are linked to more than one page about Czechoslovak figure skater Libu\u0161e Vesel\u00e1?", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q27130987 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["How many web pages are about Libu\u0161e Vesel\u00e1, and which metadata property connects them to her Wikidata item?", "Which property is used to link multiple websites to the Wikidata entry of Libu\u0161e Vesel\u00e1, and how many are there?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q27130987> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_7126", "question": "What organizations is Hans Erik B\u00f8tker affiliated with or employed by, and what are their images, start dates, and academic degrees?", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ?image ?organization ?organizationLabel ?start ?end ?degreeLabel WHERE {\n  wd:Q31229530 ( p:P108 | p:P1416 ) ?statement .\n  ?statement ps:P108 | ps:P1416 ?organization .\n  ?organization rdfs:label ?organizationLabel .\n  FILTER ( LANG( ?organizationLabel ) = \"en\" ) OPTIONAL {\n    ?organization wdt:P18 ?image\n  }\n  OPTIONAL {\n    ?statement pq:P580 ?start\n  }\n  OPTIONAL {\n    ?statement pq:P582 ?end\n  }\n  OPTIONAL {\n    ?statement pq:P512 ?degree .\n    ?degree rdfs:label ?degreeLabel .\n    FILTER ( LANG( ?degreeLabel ) = \"en\" )\n  }\n}", "paraphrases": ["Which organizations has Hans Erik B\u00f8tker been associated with as an employer or affiliate, when did the association start, and is there an image or academic degree linked to it?", "Show me the organizations Hans Erik B\u00f8tker is connected to through employment or affiliation, including their English names, images, start dates, and any academic degrees associated with those relationships."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label ?var4 ?var5 ?var6Label WHERE { { <http://www.wikidata.org/entity/Q31229530> <http://www.wikidata.org/prop/P1416> ?var7 . } UNION { <http://www.wikidata.org/entity/Q31229530> <http://www.wikidata.org/prop/P108> ?var7 . } { ?var7 <http://www.wikidata.org/prop/statement/P1416> ?var2 . } UNION { ?var7 <http://www.wikidata.org/prop/statement/P108> ?var2 . } ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P580> ?var4 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P582> ?var5 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P512> ?var8 . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_7127", "question": "What is the ORCID identifier of the author of the article \"Effects of hypoglycemia on myocardial susceptibility to ... in hearts from rats with and without type 2 diabetes\"?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?author ?authorLabel(COALESCE(?orcid , ENCODE_FOR_URI(?authorLabel)) AS ?fallback) WHERE {\n  wd:Q47146935 wdt:P50 ?author .\n  OPTIONAL {\n    ?author wdt:P496 ?orcid .\n  }\n  ?author rdfs:label ?authorLabel .\n  FILTER(LANG(?authorLabel) = \"en\")\n}", "paraphrases": ["Show the author of the scientific article on hypoglycemia in rats and their ORCID, or their name if no ORCID is available.", "Who wrote the 2017 study on hypoglycemia and heart susceptibility in diabetic rats, and do they have an ORCID? If not, what\u2019s their name?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COALESCE ( ?var2 , CONCAT ( \"string1\", ENCODE_FOR_URI ( ?var1Label ) ) ) AS ?var3 ) WHERE { <http://www.wikidata.org/entity/Q47146935> <http://www.wikidata.org/prop/direct/P50> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,da,de,es,fr,nl,no,ru,sv,zh\". } }"}}
{"id": "test_7128", "question": "What is the image of the person with SNAC ARK ID w6m350nv?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6m350nv\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Can you find the Wikimedia Commons image associated with Saul Dushman's SNAC ARK ID?", "Show me the photo of the individual identified by the SNAC ARK ID w6m350nv."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6m350nv\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7129", "question": "Types of brands in Wikidata", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?brandType ?brandTypeLabel WHERE {\n  ?brandType wdt:P279 wd:Q431289 .\n  ?brandType rdfs:label ?brandTypeLabel .\n  FILTER ( LANG( ?brandTypeLabel ) = \"en\" )\n}", "paraphrases": ["What are some examples of subclasses of the concept \"brand\" on Wikidata?", "List all English-labeled types of brands, such as car brand or tea brand, that are subclasses of the general concept of a brand."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q431289> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_7130", "question": "Image of Ernest DeWitt Burton with SNAC ARK ID w6sj20m9", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6sj20m9\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6sj20m9?", "Show me the Wikimedia Commons image for the person identified by the SNAC ARK ID w6sj20m9."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6sj20m9\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7131", "question": "Multilingual descriptions of Aleksandr Ivanovich Medvedkin", "sparql": "SELECT ?description WHERE { wd:Q1394755 schema:description ?description .}", "paraphrases": ["What are the descriptions of Soviet Russian film director Aleksandr Ivanovich Medvedkin in different languages?", "Show me the descriptions of Aleksandr Ivanovich Medvedkin in various languages."], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q1394755> ?var1 ?var2 . }"}}
{"id": "test_7132", "question": "List all educational institutions with English labels.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?itemLabel WHERE {\n  ?item wdt:P31 / wdt:P279 * wd:Q2385804 .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["What are the English names of all schools and educational institutions in Wikidata?", "Please provide the English labels for every entity that is an educational institution or a subclass of one."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { <http://www.wikidata.org/entity/Q5868198> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q2385804> . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( \"en\" = LANG ( ?var1Label ) ) ) ) . }"}}
{"id": "test_7133", "question": "What are the most common properties used to link entities to Taipei, and how many times are they used?", "sparql": "SELECT ?property (COUNT(?entity) AS ?count) WHERE { ?entity ?property wd:Q1867 . OPTIONAL { ?property rdfs:label ?label . FILTER (LANG(?label) = \"en\") } } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["Which properties connect the most entities to Taipei, excluding those used only once?", "Show me the properties that link other items to Taipei City, ranked by frequency of use."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q1867> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_7134", "question": "What is the English name of The College of New Jersey?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label WHERE {\n  wd:Q7726772 rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}", "paraphrases": ["Can you tell me the label in English for The College of New Jersey?", "What is the official English name of this educational institution: The College of New Jersey?"], "info": {"raw_sparql": "SELECT ?var1Label WHERE { <http://www.wikidata.org/entity/Q7726772> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q2385804> . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( \"en\" = LANG ( ?var1Label ) ) ) ) . }"}}
{"id": "test_7135", "question": "What is the English title of U.S. Executive Order 13546?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P1555 \"13546\" .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["Find the official name of Executive Order 13546 in English.", "What is Executive Order 13546 called in English?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2858> \"13546\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7136", "question": "English labels of educational institutions in Frankfurt", "sparql": "SELECT ?institutionLabel WHERE { ?institution wdt:P31 wd:Q2385804 ; wdt:P131 wd:Q1794 . ?institution rdfs:label ?institutionLabel . FILTER(LANG(?institutionLabel) = \"en\") }", "paraphrases": ["What are the English names of educational institutions located in Frankfurt?", "List the English-language names of schools and universities in Frankfurt."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { <http://www.wikidata.org/entity/Q1885741> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q2385804> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( \"en\" = LANG ( ?var1Label ) ) ) ) . }"}}
{"id": "test_7137", "question": "What properties link items to the figure skating ice dancing event at the 2018 Winter Olympics, and how often are they used?", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q47296003 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["Which properties are used more than once to connect entities to the 2018 Winter Olympics ice dancing event, and what are their frequencies?", "Show me the most common properties associated with the figure skating ice dancing event at the 2018 Winter Olympics, excluding those used only once."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q47296003> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_7138", "question": "Who are the members of the Swiss National Council, and what political parties do they belong to?", "sparql": "SELECT ?personLabel ?person ?partyLabel ?parliamentId WHERE { ?person wdt:P39 wd:Q18510612 . OPTIONAL { ?person wdt:P1307 ?parliamentId . } OPTIONAL { ?person wdt:P102 ?party . } OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } OPTIONAL { ?party rdfs:label ?partyLabel . FILTER(LANG(?partyLabel) = \"en\") } } LIMIT 10", "paraphrases": ["List the English names of people who served in the Swiss National Council, along with their parliamentary ID and political party, if available.", "Can you show me the Swiss parliament members from the National Council, their party affiliations, and their official IDs?"], "info": {"raw_sparql": "SELECT ?var1Label ?var1 ?var2Label ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/P39> <http://www.wikidata.org/entity/Q18510612> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1307> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P102> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,fr\". } }"}}
{"id": "test_7139", "question": "What is the image linked to the SNAC ARK ID w60v9ktn?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w60v9ktn\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Show the Wikimedia Commons image for the entity with SNAC ARK ID w60v9ktn.", "Find the picture associated with SNAC ARK ID w60v9ktn."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w60v9ktn\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7140", "question": "What are the direct subclasses of unit of measurement?", "sparql": "SELECT ?subclass ?subclassLabel WHERE { ?subclass wdt:P279 wd:Q47574 . ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") }", "paraphrases": ["Which units are direct subclasses of the unit of measurement?", "List all the direct types of units that are classified under unit of measurement."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q47574> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7141", "question": "What are all the broader categories that the African Union belongs to through its types?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?ancestor WHERE {\n  wd:Q7159 wdt:P31 ?type .\n  ?type wdt:P279 * ?ancestor .\n}", "paraphrases": ["What classes are the African Union\u2019s types (like regional organization) subclasses of, directly or indirectly?", "Show me the full hierarchy of classes that the African Union is categorized under, including all parent classes of its types."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q7159> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_7142", "question": "List association football players without a Spanish description.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?player WHERE {\n  ?player wdt:P31 wd:Q5 .\n  ?player wdt:P106 wd:Q937857 .\n  ?player wdt:P21 ?gender .\n  ?player wdt:P27 ?country .\n  OPTIONAL {\n    ?player schema:description ?desc .\n    FILTER ( LANG( ?desc ) = \"es\" )\n  }\n  FILTER ( ! BOUND( ?desc ) )\n}\nLIMIT 1300", "paraphrases": ["Which football players do not have a Spanish-language description on Wikidata?", "Can you provide a list of human football players who are not described in Spanish on Wikidata?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q937857> . ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P27> ?var3 . OPTIONAL { ?var1 <http://schema.org/description> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"es\" ) ) ) . } FILTER ( ( !( BOUND ( ?var4 ) ) ) ) . } LIMIT 1300"}}
{"id": "test_7143", "question": "Image of the person with SNAC ARK ID w61w3c0s", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w61w3c0s\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Tadeusz Borowski in Wikidata?", "Can you show me the Wikimedia Commons image for the individual identified by the SNAC ARK ID w61w3c0s?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6z89b52\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7144", "question": "Image of the person with SNAC ARK ID w6kd2twk", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6kd2twk\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w6kd2twk?", "Show me the Wikimedia Commons image for the entity identified by SNAC ARK ID w6kd2twk."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6kd2twk\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7145", "question": "Female chemists with their date of birth, place of birth, and image on Wikimedia Commons.", "sparql": "SELECT ?chemist ?chemistLabel ?birthDate ?birthPlace ?birthPlaceLabel ?image WHERE { ?chemist wdt:P106 wd:Q593644 . ?chemist wdt:P21 wd:Q6581072 . ?chemist wdt:P18 ?image . ?chemist wdt:P569 ?birthDate . ?chemist wdt:P19 ?birthPlace . ?chemist rdfs:label ?chemistLabel . ?birthPlace rdfs:label ?birthPlaceLabel . FILTER(LANG(?chemistLabel) = \"en\") FILTER(LANG(?birthPlaceLabel) = \"en\")}", "paraphrases": ["Who are the female chemists with known birth dates, birth places, and images available on Wikimedia Commons?", "Show me a list of female chemists including their names, when and where they were born, and a photo of them."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q593644> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7146", "question": "Who is the person with Merkelstiftung person ID I19970 and what is their English description?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?description WHERE {\n  ?person wdt:P4620 \"I19970\" .\n  OPTIONAL {\n    ?person schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["Find the person identified by I19970 in the Merkelstiftung database and show their English description if available.", "What is the English description for Georg Wilhelm Friedrich Hegel, who has the Merkelstiftung person ID I19970?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4620> \"I13050\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7147", "question": "What is the English label for the geological process of orogeny?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?label WHERE {\n  wd:Q184554 rdfs:label ?label .\n  FILTER ( LANGMATCHES( LANG( ?label ) , \"en\" ) )\n}", "paraphrases": ["Can you show me the English names for orogeny?", "What are the English-language labels for the concept of mountain building?"], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { <http://www.wikidata.org/entity/Q184554> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( LANGMATCHES ( LANG ( ?var1Label ) , \"EN\" ) ) ) . } LIMIT 1"}}
{"id": "test_7148", "question": "What properties are used to indicate that someone is a writer, and what are their English labels and descriptions?", "sparql": "SELECT ?property ?propertyLabel ?propertyDescription WHERE { ?item ?property wd:Q36180 . FILTER(STRSTARTS(STR(?property), \"http://www.wikidata.org/prop/direct/\")) . BIND(IRI(REPLACE(STR(?property), \"http://www.wikidata.org/prop/direct/\", \"http://www.wikidata.org/entity/\")) AS ?propEntity) . ?propEntity rdfs:label ?propertyLabel . ?propEntity schema:description ?propertyDescription . FILTER(LANG(?propertyLabel) = \"en\") . FILTER(LANG(?propertyDescription) = \"en\") } LIMIT 20", "paraphrases": ["List the English labels and descriptions of all properties that have \"writer\" as an object value in Wikidata.", "Which properties link items to the entity \"writer\" (Q36180), and what do they mean in English?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 20 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 20"}}
{"id": "test_7149", "question": "What are the properties and values associated with Novartis, along with their English labels?", "sparql": "SELECT ?property ?propertyLabel ?value ?valueLabel WHERE { wd:Q507154 ?property ?value . BIND(IRI(REPLACE(STR(?property), \"http://www.wikidata.org/prop/direct/\", \"http://www.wikidata.org/entity/\")) AS ?propertyItem) . ?propertyItem rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") OPTIONAL { ?value rdfs:label ?valueLabel . FILTER(LANG(?valueLabel) = \"en\") } } ORDER BY ?property", "paraphrases": ["Can you show me all the information linked to Novartis on Wikidata, including the English names of its properties and connected entities?", "List all the direct relationships of the pharmaceutical company Novartis, showing property names in English and the English labels of any linked entities."], "info": {"raw_sparql": "SELECT * WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { ?var1 ?var2Label \"Novartis\"@en . } UNION { ?var1 ?var2Label \"Novartis\"@en . ?var1 ?var3 ?var4 . ?var3 ?var5 ?var6 . FILTER ( ( isLITERAL ( ?var4 ) ) ) . } UNION { ?var1 ?var2Label \"Novartis\"@en . ?var1 ?var3 ?var7 . ?var3 ?var5 ?var6 . FILTER ( ( isIRI ( ?var7 ) && !( REGEX ( STR ( ?var7 ) , \"string1\" ) ) ) ) . } UNION { ?var1 ?var2Label \"Novartis\"@en . ?var1 ?var3 ?var7 . ?var3 ?var5 ?var6 . FILTER ( ( isIRI ( ?var7 ) && REGEX ( STR ( ?var7 ) , \"string1\" ) ) ) . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7150", "question": "Official websites of weekly newspapers in Germany", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?newspaper ?website ?newspaperLabel WHERE {\n  ?newspaper wdt:P856 ?website .\n  ?newspaper wdt:P31 wd:Q2305295 .\n  ?newspaper wdt:P17 wd:Q183 .\n  ?newspaper rdfs:label ?newspaperLabel .\n  FILTER(LANG(?newspaperLabel) = \"en\")\n}\nLIMIT 1000", "paraphrases": ["What are the official websites of weekly newspapers based in Germany?", "List the names and official websites of all weekly newspapers in Germany."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2305295> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . } LIMIT 1000"}}
{"id": "test_7151", "question": "What pairs of topics are commonly associated with items related to the auditory cortex?", "sparql": "SELECT DISTINCT ?topic1 ?topic1Label ?topic2 ?topic2Label WHERE { { ?item (wdt:P921 / wdt:P31* / wdt:P279*) wd:Q18676 . } UNION { ?item (wdt:P921 / wdt:P361+) wd:Q18676 . } UNION { ?item (wdt:P921 / wdt:P1269+) wd:Q18676 . } ?item wdt:P921 ?topic1 , ?topic2 . FILTER ( ?topic1 != wd:Q18676 && ?topic2 != wd:Q18676 && ?topic1 != ?topic2 ) ?topic1 rdfs:label ?topic1Label . ?topic2 rdfs:label ?topic2Label . FILTER (lang(?topic1Label) = \"en\" && lang(?topic2Label) = \"en\") }", "paraphrases": ["Which two concepts frequently appear together as main subjects of works or items connected to the auditory cortex?", "List pairs of distinct topics (excluding the auditory cortex itself) that are main subjects of items linked to the auditory cortex through being its part, aspect, or subclass."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q18676> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P361> +) <http://www.wikidata.org/entity/Q18676> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P1269> +) <http://www.wikidata.org/entity/Q18676> . } ?var3 <http://www.wikidata.org/prop/direct/P921> ?var1 , ?var2 . FILTER ( ( ( <http://www.wikidata.org/entity/Q18676> != ?var1 ) && ( <http://www.wikidata.org/entity/Q18676> != ?var2 ) && ( ?var1 != ?var2 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_7152", "question": "What are the German names of languages used as the original language in films or TV shows?", "sparql": "SELECT ?language ?languageLabel WHERE { ?film wdt:P407 ?language . ?language rdfs:label ?languageLabel . FILTER (LANG(?languageLabel) = \"de\") } LIMIT 100", "paraphrases": ["Which languages, when translated into German, are the original languages of creative works like movies and series?", "Show me the German labels for languages that films and TV shows were originally produced in."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P364> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"de\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"de\" ) ) ) . } LIMIT 100"}}
{"id": "test_7153", "question": "List the English names of all German federal states.", "sparql": "SELECT ?stateLabel WHERE { ?state wdt:P31 wd:Q1221156 . ?state rdfs:label ?stateLabel . FILTER(LANG(?stateLabel) = \"en\") } ORDER BY ASC(?stateLabel)", "paraphrases": ["What are the names of the 16 states in Germany in English?", "Show me the English labels of all administrative states of Germany."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1221156> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_7154", "question": "What are the English labels of Wikidata items that have the Italian label \"Serbia\"?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?item ?itemLabel WHERE {\n  ?item rdfs:label \"Serbia\" @it .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["Show me all entities in Wikidata labeled \"Serbia\" in Italian, along with their English names.", "Which items in Wikidata are incorrectly labeled as \"Serbia\" in Italian, and what are their English labels?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { { ?var1 ?var3Label \"Serbia\"@it . } UNION { ?var1 ?var3Label \"serbia\"@it . } ?var1 ?var4 ?var5 . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6 . FILTER ( ( ( LANG ( ?var6 ) = \"en\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,en\". } }"}}
{"id": "test_7155", "question": "What is the image of the person with SNAC ARK ID w6rf616h?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6rf616h\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Can you show me the Wikimedia Commons image associated with Robert Bulwer-Lytton, 2nd Baron Lytton?", "Is there a picture available for the individual identified by the SNAC ARK ID w6rf616h?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6rf616h\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7156", "question": "What are the most common types of entities that have children, and how many of each type are there?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?type ( COUNT( ?item ) AS ?count ) WHERE {\n  ?item wdt:P40 ?child .\n  ?item wdt:P31 ?type .\n}\nGROUP BY ?type\nORDER BY DESC ( ?count )", "paraphrases": ["Top classes of parents in Wikidata by number of individuals", "List the types of beings that have offspring, ranked by how many of them exist in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { { SELECT DISTINCT ?var2 ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P40> ?var4 . ?var2 <http://www.wikidata.org/prop/direct/P31> ?var1 . } } } GROUP BY ?var1 ORDER BY DESC( ?var3 )"}}
{"id": "test_7157", "question": "What are the properties of Novartis and the countries of the entities they point to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?property ?value ?country WHERE {\n  wd:Q507154 ?property ?value .\n  FILTER(isIRI(?value))\n  OPTIONAL {\n    ?value wdt:P17 ?country .\n  }\n}", "paraphrases": ["Which organizations or locations are associated with Novartis, and in which countries are they located?", "Show all relationships from Novartis to other entities and their respective countries."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { ?var4 ?var5Label \"Novartis\"@en . } UNION { ?var4 ?var5Label \"Novartis\"@en . ?var4 ?var1 ?var6 . OPTIONAL { ?var6 <http://www.wikidata.org/prop/direct/P17> ?var6 . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7158", "question": "People with the surname Zaikin", "sparql": "SELECT ?person ?label WHERE { ?person wdt:P734 wd:Q18390678 . ?person rdfs:label ?label . FILTER(LANG(?label) = 'en') }", "paraphrases": ["Who are the people whose last name is Zaikin?", "List the English names of all individuals who have the family name Zaikin."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P734> <http://www.wikidata.org/entity/Q18390678> . }"}}
{"id": "test_7159", "question": "Cities in Baden-W\u00fcrttemberg, Germany, with English names.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?city ?cityLabel ?stateLabel WHERE {\n  ?city ( wdt:P31 / wdt:P279 * ) wd:Q515 .\n  ?city wdt:P17 wd:Q183 .\n  ?city wdt:P131 + wd:Q985 .\n  ?city rdfs:label ?cityLabel .\n  wd:Q985 rdfs:label ?stateLabel .\n  FILTER ( LANG( ?cityLabel ) = \"en\" ) FILTER ( LANG( ?stateLabel ) = \"de\" )\n}\nLIMIT 100", "paraphrases": ["What are the cities in Germany's Baden-W\u00fcrttemberg state, and what are their English names?", "List all cities located in Baden-W\u00fcrttemberg, Germany, along with their English labels and the German label of the state."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q985> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } } LIMIT 100"}}
{"id": "test_7160", "question": "People with the surname Zaikin, including their birth and death dates, sorted alphabetically by name.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel ?birthDate ?deathDate WHERE {\n  ?person wdt:P734 wd:Q18390678 .\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\" || LANG(?personLabel) = \"\")\n}\nORDER BY ASC(?personLabel)", "paraphrases": ["Who are the people with the last name Zaikin, and when were they born and died?", "List all individuals named Zaikin along with their birth and death dates, ordered by their full names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P734> <http://www.wikidata.org/entity/Q18390678> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_7161", "question": "Humans born between January 2 and July 1, 1925, including their place of birth and country of citizenship.", "sparql": "SELECT ?human ?birthDate ?placeOfBirth ?country WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P569 ?birthDate . OPTIONAL { ?human wdt:P19 ?placeOfBirth . } OPTIONAL { ?human wdt:P27 ?country . } FILTER ( ?birthDate >= \"1925-01-02\"^^xsd:date && ?birthDate < \"1925-07-01\"^^xsd:date ) } ORDER BY ?human", "paraphrases": ["Who were the people born between January 2 and July 1, 1925, and where were they born and which countries did they belong to?", "List all humans born in the first half of 1925, along with their birthplaces and citizenship countries, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var9 . } BIND ( ( ( ?var5 - ?var2 ) /\"365.2425\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) AS ?var10 ). FILTER ( ( ( ?var2 >= \"1925-01-02\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 < \"1925-07-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_7162", "question": "List of eye diseases", "sparql": "SELECT ?eyeDisease ?eyeDiseaseLabel WHERE { ?eyeDisease wdt:P31 wd:Q3041498 . ?eyeDisease rdfs:label ?eyeDiseaseLabel . FILTER(LANG(?eyeDiseaseLabel) = \"en\") }", "paraphrases": ["What are some examples of eye diseases?", "Can you show me the English names of all known eye diseases?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3041498> . }"}}
{"id": "test_7163", "question": "List file formats and their PRONOM identifiers (PUIDs).", "sparql": "SELECT ?fileFormat ?fileFormatLabel ?pronomId WHERE { ?fileFormat wdt:P2748 ?pronomId . ?fileFormat rdfs:label ?fileFormatLabel . FILTER(LANG(?fileFormatLabel) = \"en\") }", "paraphrases": ["What are the English names of file formats and their corresponding PRONOM PUIDs?", "Show me the names of file formats in English along with their PRONOM file format IDs."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2748> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7164", "question": "What are the English names of all kremlins in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?kremlin ?kremlinLabel WHERE {\n  ?kremlin wdt:P31 wd:Q263274 .\n  ?kremlin rdfs:label ?kremlinLabel .\n  FILTER(LANGMATCHES(LANG(?kremlinLabel) , \"en\"))\n}", "paraphrases": ["List of kremlins with their English labels", "Show me all known kremlins and their English names from Wikidata"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q263274> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru,en\". } }"}}
{"id": "test_7165", "question": "Which academic articles cite the study on fosmidomycin and clindamycin for treating pediatric malaria?", "sparql": "SELECT ?citingArticle WHERE { ?citingArticle wdt:P2860 wd:Q24680404 . }", "paraphrases": ["What research papers reference the clinical trial of fosmidomycin plus clindamycin in children with Plasmodium falciparum malaria?", "List all scholarly works that cite the article describing the use of fosmidomycin and clindamycin to treat malaria in pediatric patients aged 1 to 14 years."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2860> <http://www.wikidata.org/entity/Q24680404> . } LIMIT 10000"}}
{"id": "test_7166", "question": "What journal published the article \"The Malaria Atlas Project: developing global maps of malaria risk\"?", "sparql": "SELECT ?publication WHERE { wd:Q21144685 wdt:P1433 ?publication . } LIMIT 10000", "paraphrases": ["In which publication did The Malaria Atlas Project appear?", "Which academic journal is the source of the study on global malaria risk maps?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1433> <http://www.wikidata.org/entity/Q21144685> . } LIMIT 10000"}}
{"id": "test_7167", "question": "Wikipedia articles about GNU Bash", "sparql": "SELECT ?article WHERE { ?article schema:about wd:Q189248 . FILTER (REGEX(STR(?article), \"Bash\", \"i\")) }", "paraphrases": ["What Wikipedia pages discuss GNU Bash?", "Show me the URLs of all Wikipedia articles that are about the Bash shell, regardless of language."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { BIND ( <http://www.wikidata.org/entity/Q52> AS ?var3 ). ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q189248> . ?var1 <http://schema.org/about> ?var3 . FILTER ( ( REGEX ( STR ( ?var1 ) , \"string1\" ) ) ) . }"}}
{"id": "test_7168", "question": "Who is the ancient Greek legislator named Solon?", "sparql": "SELECT DISTINCT ?person WHERE { ?person rdfs:label \"Solon\"@en . ?person wdt:P31 wd:Q5 . ?person wdt:P106 wd:Q4175034 . }", "paraphrases": ["Find the human who is a legislator and has the English label \"Solon\".", "What is the name of the famous Athenian lawmaker known as Solon?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Jean Solon\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_7169", "question": "Who is the human named Rollo in English?", "sparql": "SELECT DISTINCT ?item WHERE { ?item rdfs:label \"Rollo\"@en . ?item wdt:P31 wd:Q5 . }", "paraphrases": ["Find the person named Rollo with English label.", "Show me the Wikidata item for the historical figure Rollo, who is a human and has the English label \"Rollo\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"rollo\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_7170", "question": "What are pairs of main subjects (excluding Statens Museum for Kunst) of items that have Statens Museum for Kunst as a main subject?", "sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?item wdt:P921 wd:Q671384 . ?item wdt:P921 ?var1 . ?item wdt:P921 ?var2 . FILTER ( ?var1 != wd:Q671384 ) FILTER ( ?var2 != wd:Q671384 ) FILTER ( ?var1 != ?var2 ) ?var1 rdfs:label ?var1Label . ?var2 rdfs:label ?var2Label . FILTER ( LANG(?var1Label) = \"en\" ) FILTER ( LANG(?var2Label) = \"en\" ) }", "paraphrases": ["Which two topics, other than Statens Museum for Kunst, are jointly associated as main subjects with the same item?", "Show me all pairs of digital themes (like virtual museum and digital art history) that appear together as main subjects in works about Statens Museum for Kunst."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q671384> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P361> +) <http://www.wikidata.org/entity/Q671384> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P1269> +) <http://www.wikidata.org/entity/Q671384> . } ?var3 <http://www.wikidata.org/prop/direct/P921> ?var1 , ?var2 . FILTER ( ( ( <http://www.wikidata.org/entity/Q671384> != ?var1 ) && ( <http://www.wikidata.org/entity/Q671384> != ?var2 ) && ( ?var1 != ?var2 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_7171", "question": "What events, premieres, or operational milestones occurred in 1985?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nSELECT DISTINCT ?item WHERE {\n  ?item wdt:P585 | wdt:P606 | wdt:P619 | wdt:P620 | wdt:P621 | wdt:P622 | wdt:P729 | wdt:P1191 ?date .\n  FILTER(?date >= \"1985-01-01T00:00:00Z\" ^^ xsd:dateTime && ?date <= \"1985-12-31T23:59:59Z\" ^^ xsd:dateTime)\n}", "paraphrases": ["Which items in Wikidata have a date of first performance, service entry, spacecraft launch, or similar event in 1985?", "List all notable entities (like elections, laws, spacecraft, or musical works) that took place or were first performed in the year 1985."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P585> | <http://www.wikidata.org/prop/direct/P606> | <http://www.wikidata.org/prop/direct/P619> | <http://www.wikidata.org/prop/direct/P620> | <http://www.wikidata.org/prop/direct/P621> | <http://www.wikidata.org/prop/direct/P622> | <http://www.wikidata.org/prop/direct/P729> | <http://www.wikidata.org/prop/direct/P1191> ) ?var2 . FILTER ( ( ( ?var2 >= \"1985-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1985-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_7172", "question": "How many unclassified entities are associated with tennis as a sport in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?sport(COUNT(DISTINCT ?item) AS ?unclassifiedCount) ?statisticCategory WHERE {\n  BIND(wd:Q847 AS ?sport)\n  BIND(wd:Q47498838 AS ?statisticCategory)\n  ?item wdt:P641 ?sport .\n  FILTER(NOT EXISTS {\n    ?item wdt:P31 []\n  })\n  FILTER(NOT EXISTS {\n    ?item wdt:P279 []\n  })\n  FILTER(NOT EXISTS {\n    ?item wdt:P3450 []\n  })\n  FILTER(NOT EXISTS {\n    ?item wdt:P361 []\n  })\n  FILTER(NOT EXISTS {\n    ?item wdt:P179 []\n  })\n}\nGROUP BY ?sport ?statisticCategory", "paraphrases": ["Can you find the number of tennis-related items in Wikidata that lack any classification such as instance of, subclass of, or part of?", "What is the count of tennis-associated items that are not categorized under any standard Wikidata class or hierarchy?"], "info": {"raw_sparql": "SELECT( <http://www.wikidata.org/entity/Q847> AS ?var1 )( SAMPLE ( ?var2 ) AS ?var3 )( COUNT ( DISTINCT ?var2 ) AS ?var4 )( <http://www.wikidata.org/entity/Q47498838> AS ?var5 )( \"string1\" AS ?var6 )( \"string2\" AS ?var7 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P641> <http://www.wikidata.org/entity/Q847> . FILTER ( ( NOT EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P31> [] . } ) ) . FILTER ( ( NOT EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P279> [] . } ) ) . FILTER ( ( NOT EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P3450> [] . } ) ) . FILTER ( ( NOT EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P361> [] . } ) ) . FILTER ( ( NOT EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P179> [] . } ) ) . }"}}
{"id": "test_7173", "question": "Slovak given names and family names that are spelled the same but not explicitly linked as identical.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?givenName ?familyName ?givenNameLabel ?familyNameLabel WHERE {\n  ?familyName wdt:P31 ?familyInstance ; rdfs:label ?label .\n  ?givenName ( wdt:P31 / wdt:P279 * ) wd:Q202444 ; wdt:P31 ?givenInstance ; rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"sk\" ) FILTER NOT EXISTS {\n    ?givenName wdt:P1533 ?familyName .\n  }\n  BIND( ?label AS ?givenNameLabel ) BIND( ?label AS ?familyNameLabel )\n}\nGROUP BY ?givenName ?familyName ?givenNameLabel ?familyNameLabel\nHAVING ( COUNT( ?familyInstance ) = 1 && COUNT( ?givenInstance ) = 1 )\nLIMIT 5000", "paraphrases": ["Which Slovak given names have the same spelling as Slovak family names, and are not marked as identical in Wikidata?", "List all pairs of Slovak given names and family names that share the same spelling, excluding those explicitly connected by the 'family name identical to this given name' property."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var1Label ?var2Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q101352> ; <http://www.wikidata.org/prop/direct/P31> ?var3 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q202444> ; <http://www.wikidata.org/prop/direct/P31> ?var5 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"sk\" ) ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P1533> ?var2 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var2 ?var1Label ?var2Label HAVING ( ( COUNT ( ?var3 ) = \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( COUNT ( ?var5 ) = \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) LIMIT 5000"}}
{"id": "test_7174", "question": "List all mathematical functions that are up to six subclass levels away from bijection, including their English labels and direct subclasses.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?entity ?entityLabel ?subclass WHERE {\n  {\n    wd:Q180907 wdt:P279 ?entity1 .\n    BIND( ?entity1 AS ?entity )\n  } UNION {\n    wd:Q180907 wdt:P279 / wdt:P279 ?entity2 .\n    BIND( ?entity2 AS ?entity )\n  } UNION {\n    wd:Q180907 wdt:P279 / wdt:P279 / wdt:P279 ?entity3 .\n    BIND( ?entity3 AS ?entity )\n  } UNION {\n    wd:Q180907 wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 ?entity4 .\n    BIND( ?entity4 AS ?entity )\n  } UNION {\n    wd:Q180907 wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 ?entity5 .\n    BIND( ?entity5 AS ?entity )\n  } UNION {\n    wd:Q180907 wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 ?entity6 .\n    BIND( ?entity6 AS ?entity )\n  } UNION {\n    wd:Q180907 ^ wdt:P279 ?entity7 .\n    BIND( ?entity7 AS ?entity )\n  } UNION {\n    wd:Q180907 ^ wdt:P279 / ^ wdt:P279 ?entity8 .\n    BIND( ?entity8 AS ?entity )\n  } UNION {\n    wd:Q180907 ^ wdt:P279 / ^ wdt:P279 / ^ wdt:P279 ?entity9 .\n    BIND( ?entity9 AS ?entity )\n  } UNION {\n    wd:Q180907 ^ wdt:P279 / ^ wdt:P279 / ^ wdt:P279 / ^ wdt:P279 ?entity10 .\n    BIND( ?entity10 AS ?entity )\n  } UNION {\n    wd:Q180907 ^ wdt:P279 / ^ wdt:P279 / ^ wdt:P279 / ^ wdt:P279 / ^ wdt:P279 ?entity11 .\n    BIND( ?entity11 AS ?entity )\n  } UNION {\n    wd:Q180907 ^ wdt:P279 / ^ wdt:P279 / ^ wdt:P279 / ^ wdt:P279 / ^ wdt:P279 / ^ wdt:P279 ?entity12 .\n    BIND( ?entity12 AS ?entity )\n  } UNION {\n    BIND( wd:Q180907 AS ?entity )\n  }\n  OPTIONAL {\n    ?entity rdfs:label ?entityLabel .\n    FILTER ( LANG( ?entityLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?entity wdt:P279 ?subclass .\n  }\n}", "paraphrases": ["What are all the entities related to bijection through up to six levels of subclass or superclass relationships, and what are their English labels and direct subclasses?", "Show me the hierarchy of bijection up to six levels deep in both directions, with English labels and one of each entity's direct subclasses."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q180907> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"6\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> \"6\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } UNION { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q180907> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Reverse\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"6\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> \"6\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pt\". } }"}}
{"id": "test_7175", "question": "House cats from the United Kingdom", "sparql": "SELECT ?cat ?catLabel WHERE { ?cat wdt:P31 wd:Q146 . ?cat wdt:P27 wd:Q145 . ?cat rdfs:label ?catLabel . FILTER(LANG(?catLabel) = \"en\") }", "paraphrases": ["Which house cats are citizens of the United Kingdom?", "List famous house cats associated with the United Kingdom."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q146> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q145> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_7176", "question": "Who is the French painter known as \"Auguste Renoir\" in French?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item WHERE {\n  ?item rdfs:label \"Auguste Renoir\" @fr .\n  ?item wdt:P31 wd:Q5\n}", "paraphrases": ["Find all humans whose French label is \"Auguste Renoir\".", "What entity in Wikidata is classified as a human and has the French label \"Auguste Renoir\"?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"L\u00e9o Ancher\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_7177", "question": "What are all the broader categories that a mountain belongs to, including itself?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?superclass WHERE {\n  wd:Q8502 wdt:P279 * ?superclass .\n}", "paraphrases": ["What classes is a mountain a subclass of?", "Can you list all the parent classes in the hierarchy above \"mountain\"?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q4388180> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_7178", "question": "What criterion was used to distinguish the disambiguation page for the name \"Jo\" from the concept of the name \"Jo\"?", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?disambiguationPage ?statement ?qualifier WHERE {\n  ?disambiguationPage p:P1889 ?statement .\n  ?statement ps:P1889 wd:Q336878 .\n  ?statement pq:P1013 ?qualifierValue .\n  BIND(wd:P1013 AS ?qualifier)\n}\nGROUP BY ?disambiguationPage ?statement ?qualifier", "paraphrases": ["Which entity is marked as different from the given name \"Jo\" on Wikidata, and what qualifier explains this distinction?", "On Wikidata, how is the disambiguation page for people named \"Jo\" differentiated from the name itself, and what property indicates this difference?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P1889> <http://www.wikidata.org/entity/Q336878> . ?var1 <http://www.wikidata.org/prop/P1889> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_7179", "question": "Types of names different from given name", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P1889 wd:Q202444 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\")}", "paraphrases": ["What are some types of names that are distinct from a given name?", "List all name types that are categorized as different from a given name in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P1889> <http://www.wikidata.org/entity/Q202444> . ?var1 <http://www.wikidata.org/prop/P1889> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_7180", "question": "Participants in wars and the specific conflicts they were involved in.", "sparql": "SELECT ?participant ?participantLabel ?conflict ?conflictLabel WHERE { ?conflict (wdt:P279*) wd:Q198 . ?participant wdt:P607 ?conflict . ?participant rdfs:label ?participantLabel . ?conflict rdfs:label ?conflictLabel . FILTER(LANG(?participantLabel) = \"en\") FILTER(LANG(?conflictLabel) = \"en\") } LIMIT 20", "paraphrases": ["Who are the participants in conflicts that are considered types of war, and what are those conflicts?", "List all people or entities that participated in any conflict classified as a war, along with the names of those conflicts."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q198> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Undirected\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"40\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> \"28\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P607> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P607> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7181", "question": "What properties are used to describe Jovenel Mo\u00efse on Wikidata, and what are their English labels and descriptions?", "sparql": "SELECT ?property ?propertyLabel ?propertyDescription WHERE { VALUES ?property { wd:P31 wd:P106 wd:P21 wd:P569 wd:P27 wd:P39 wd:P19 } ?property rdfs:label ?propertyLabel . ?property schema:description ?propertyDescription . FILTER(LANG(?propertyLabel) = \"en\") FILTER(LANG(?propertyDescription) = \"en\") }", "paraphrases": ["Show me the English labels and descriptions of the properties that describe the Haitian president Jovenel Mo\u00efse.", "Which properties describe Jovenel Mo\u00efse, and what do they mean in English?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q21294765> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_7182", "question": "Subclasses of motor cars with their direct parent class and images.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?car ?carLabel ?directSubclass ?image WHERE {\n  ?car wdt:P279 * wd:Q1420 .\n  OPTIONAL {\n    ?car wdt:P279 ?directSubclass .\n  }\n  OPTIONAL {\n    ?car wdt:P18 ?image .\n  }\n  ?car rdfs:label ?carLabel .\n  FILTER(LANG(?carLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["What are the different types of motor cars, their immediate vehicle categories, and associated images?", "Show me a list of car models that are subclasses of motor cars, including their direct subclass and image if available, in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q1420> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_7183", "question": "What are the facets of the retail industry in Wikidata?", "sparql": "SELECT ?item ?itemLabel WHERE { ?item p:P1269 ?statement . ?statement ps:P1269 wd:Q126793 . OPTIONAL { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } }", "paraphrases": ["Which items are considered aspects or subtopics of the retail industry?", "List all items that are described as facets of retail, along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P1269> <http://www.wikidata.org/entity/Q126793> . ?var1 <http://www.wikidata.org/prop/P1269> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_7184", "question": "How many film and television directors are there by gender, in English?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?genderLabel(COUNT(?director) AS ?count) WHERE {\n  ?director wdt:P31 wd:Q5 .\n  {\n    ?director wdt:P106 wd:Q2059704 .\n  } UNION {\n    ?director wdt:P106 wd:Q2526255 .\n  }\n  ?director wdt:P21 ?gender .\n  ?gender rdfs:label ?genderLabel .\n  FILTER(LANG(?genderLabel) = \"en\")\n}\nGROUP BY ?genderLabel\nORDER BY DESC(?count)", "paraphrases": ["What is the distribution of male and female film and TV directors on Wikidata?", "Can you show me the count of human film directors and television directors grouped by their gender identity, with labels in English?"], "info": {"raw_sparql": "SELECT ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . { ?var2 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q2059704> . } UNION { ?var2 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q2526255> . } ?var2 <http://www.wikidata.org/prop/direct/P21> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } GROUP BY ?var1Label"}}
{"id": "test_7185", "question": "What are the government buildings in Latin American countries?", "sparql": "SELECT ?building ?buildingLabel WHERE { VALUES ?buildingType { wd:Q16831714 wd:Q25550691 wd:Q3284499 wd:Q7138926 wd:Q1137809 } ?building wdt:P31 ?buildingType ; wdt:P17 ?country . ?country wdt:P361 wd:Q12585 . OPTIONAL { ?building rdfs:label ?buildingLabel . FILTER(LANG(?buildingLabel) = \"en\") } }", "paraphrases": ["Can you list government buildings such as town halls, courthouses, and capitol buildings located in countries that are part of Latin America?", "Show me the English-labeled government buildings in Latin America, including town halls, courthouses, and parliaments."], "info": {"raw_sparql": "SELECT ?var1 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16831714> ; <http://www.wikidata.org/prop/direct/P17> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q12585> . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( \"en\" = LANG ( ?var3 ) ) ) ) . } }"}}
{"id": "test_7186", "question": "What is the gender of Q27062616 in English?", "sparql": "SELECT ?genderLabel WHERE { wd:Q27062616 owl:sameAs ?canonical . ?canonical wdt:P21 ?gender . ?gender rdfs:label ?genderLabel . FILTER(LANG(?genderLabel) = \"en\") }", "paraphrases": ["Is the entity with ID Q27062616 male or female?", "What label does the gender of Q27062616 have in English?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q27062616> <http://www.wikidata.org/prop/direct/P21> ?var2 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> \"female\"^^<http://www.w3.org/2001/XMLSchema#string> . }"}}
{"id": "test_7187", "question": "What are all the properties and values associated with Gary Numan in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?value WHERE {\n  wd:Q331731 ?property ?value .\n}\nORDER BY ?property", "paraphrases": ["Can you show me everything Wikidata knows about the musician Gary Numan?", "List all statements about Gary Numan, including his occupations, descriptions, and external IDs."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { <http://www.wikidata.org/entity/Q331731> ?var2 ?var3 . }"}}
{"id": "test_7188", "question": "What are the current administrative regions that Vienna belongs to, and what is the immediate parent of each?", "sparql": "SELECT ?administrativeEntity ?administrativeEntityLabel ?parentEntity WHERE { wd:Q1741 wdt:P131* ?administrativeEntity . FILTER NOT EXISTS { ?administrativeEntity (wdt:P576|wdt:P582) [] } OPTIONAL { ?administrativeEntity wdt:P131 ?parentEntity . FILTER NOT EXISTS { ?parentEntity (wdt:P576|wdt:P582) [] } } ?administrativeEntity rdfs:label ?administrativeEntityLabel . FILTER(LANG(?administrativeEntityLabel) = \"en\") }", "paraphrases": ["List Vienna and all its higher-level administrative divisions that are still active, along with each one\u2019s direct parent.", "Which administrative entities include Vienna and have not been dissolved, and what is the next level up for each?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". <http://www.wikidata.org/entity/Q1741> <http://www.wikidata.org/prop/direct/P131> * ?var1 . MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P576> | <http://www.wikidata.org/prop/direct/P582> ) [] . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . MINUS { ?var2 ( <http://www.wikidata.org/prop/direct/P576> | <http://www.wikidata.org/prop/direct/P582> ) [] . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es, en, de\". } }"}}
{"id": "test_7189", "question": "Images and start dates of U.S. presidents, with number of spouses", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ?image ?start_date ( COUNT( ?spouse ) AS ?spouse_count ) WHERE {\n  ?president wdt:P31 wd:Q5 .\n  ?president p:P39 ?presidency_statement .\n  ?presidency_statement ps:P39 wd:Q11696 .\n  ?presidency_statement pq:P580 ?start_date .\n  OPTIONAL {\n    ?presidency_statement pq:P582 ?end_date .\n  }\n  ?president wdt:P26 ?spouse .\n  OPTIONAL {\n    ?president wdt:P18 ?image .\n  }\n}\nGROUP BY ?image ?start_date\nORDER BY ASC ( ?start_date )", "paraphrases": ["For each U.S. president, what is their official portrait, when did their presidency begin, and how many spouses did they have?", "List the start dates of U.S. presidential terms along with the presidents' images and the count of their spouses, ordered chronologically."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var5 <http://www.wikidata.org/prop/P39> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q11696> . ?var6 <http://www.wikidata.org/prop/qualifier/P580> ?var2 . OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var7 . } ?var5 <http://www.wikidata.org/prop/direct/P26> ?var3 . OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P18> ?var1 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var2 ORDER BY ASC( ?var2 )"}}
{"id": "test_7190", "question": "What are free software applications and which operating systems do they support, with English labels?", "sparql": "SELECT DISTINCT \n  (SAMPLE(COALESCE(?enLabel, ?anyLabel)) AS ?label) \n  ?software \n  (SAMPLE(?osLabelRaw) AS ?osLabel)\nWHERE {\n  ?software wdt:P31 wd:Q341 .\n  \n  OPTIONAL {\n    ?software rdfs:label ?enLabel .\n    FILTER(LANG(?enLabel) = \"en\")\n  }\n  \n  OPTIONAL {\n    ?software rdfs:label ?anyLabel .\n  }\n  \n  OPTIONAL {\n    ?software wdt:P306 ?os .\n    ?os rdfs:label ?osLabelRaw .\n    FILTER(LANG(?osLabelRaw) = \"en\")\n  }\n}\nGROUP BY ?software\nORDER BY ASC(?label)", "paraphrases": ["List free software with their English names and supported operating systems in English.", "Can you show me free software, their names in English (or any language if English isn't available), and the English names of the operating systems they run on?"], "info": {"raw_sparql": "SELECT DISTINCT( SAMPLE ( COALESCE ( ?var1Label , ?var2Label ) ) AS ?var3 ) ?var4 ( SAMPLE ( ?var5Label ) AS ?var6 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q341> . OPTIONAL { ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P306> ?var6 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P275> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } GROUP BY ?var4 ORDER BY ASC( ?var8Label )"}}
{"id": "test_7191", "question": "What positions did Angela Merkel hold?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?position ?positionLabel WHERE {\n  wd:Q567 wdt:P39 ?position .\n  ?position rdfs:label ?positionLabel .\n  FILTER(LANG(?positionLabel) = 'en')\n}", "paraphrases": ["Did Angela Merkel serve as Chancellor of Germany?", "List all the political positions held by Angela Merkel in English."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q186202> <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q13423495> . }"}}
{"id": "test_7192", "question": "Who are the people who have held the position of President of the United States?", "sparql": "SELECT ?person WHERE { ?person wdt:P39 wd:Q11696 }", "paraphrases": ["List all individuals who have served as President of the United States.", "Which persons have been President of the United States?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q1829603> <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q13423495> . }"}}
{"id": "test_7193", "question": "List all members of the 1st Scottish Parliament with their electoral districts, political parties, start and end dates, elections, and reasons for leaving, sorted by district and start date.", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT DISTINCT ?member ?memberLabel ?constituencyLabel ?partyLabel ?startDate ?electionLabel ?endDate ?endCauseLabel WHERE {\n  ?member p:P39 ?statement .\n  ?statement ps:P39 wd:Q30580541 .\n  OPTIONAL {\n    ?member rdfs:label ?memberLabel .\n    FILTER ( LANG( ?memberLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?statement pq:P768 ?constituency .\n    ?constituency rdfs:label ?constituencyLabel .\n    FILTER ( LANG( ?constituencyLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?statement pq:P102 ?party .\n    ?party rdfs:label ?partyLabel .\n    FILTER ( LANG( ?partyLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?statement pq:P580 ?startDate\n  }\n  OPTIONAL {\n    ?statement pq:P2715 ?election .\n    ?election rdfs:label ?electionLabel .\n    FILTER ( LANG( ?electionLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?statement pq:P582 ?endDate\n  }\n  OPTIONAL {\n    ?statement pq:P1534 ?endCause .\n    ?endCause rdfs:label ?endCauseLabel .\n    FILTER ( LANG( ?endCauseLabel ) = \"en\" )\n  }\n}\nORDER BY ASC ( ?constituencyLabel ) ASC ( ?startDate )", "paraphrases": ["Who were the members of the 1st Scottish Parliament, and what were their constituencies, parties, election details, and terms of service?", "Please provide a table of all 1st Scottish Parliament members, including their names, constituencies, political parties, when they started and ended their terms, the election they won, and why their term ended, ordered by constituency and start date."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3Label ?var4 ?var5Label ?var6 ?var7Label WHERE { ?var1 <http://www.wikidata.org/prop/P39> ?var8 . ?var8 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q30580541> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var9 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P768> ?var2 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P102> ?var3 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P580> ?var4 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P2715> ?var5 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P582> ?var6 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P1534> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var2Label )ASC( ?var4 )"}}
{"id": "test_7194", "question": "Is Germany a member of the European Union?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK {\n  wd:Q183 wdt:P463 wd:Q458 .\n}", "paraphrases": ["Germany member of European Union", "Confirm whether Germany is a member of the European Union."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q41327220> <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q856831> . }"}}
{"id": "test_7195", "question": "Image of Jared Leto using his SNAC ARK ID w69k56mx", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w69k56mx\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with Jared Leto in Wikidata, identified by the SNAC ARK ID w69k56mx?", "Please provide the Wikimedia Commons image for the person whose SNAC ARK ID is w69k56mx."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w69k56mx\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7196", "question": "Is Hendrik Andriessen a member of the Bicker family?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q1605020 wdt:P463 wd:Q856831 .\n}", "paraphrases": ["Was Hendrik Andriessen part of the Dutch noble Bicker family?", "Does Wikidata record Hendrik Andriessen as belonging to the Bicker family?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q1605020> <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q856831> . }"}}
{"id": "test_7197", "question": "People born in 1866", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person WHERE {\n  ?person wdt:P569 ?birthDate .\n  FILTER ( ?birthDate >= \"1866-01-01T00:00:00Z\" ^^ xsd:dateTime && ?birthDate <= \"1866-12-31T23:59:59Z\" ^^ xsd:dateTime )\n}", "paraphrases": ["Who were born in the year 1866?", "List all individuals whose date of birth is within the year 1866."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . FILTER ( ( ( ?var2 >= \"1866-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1866-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_7198", "question": "Which Wikidata entity has the VIAF ID 31394571?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P214 \"31394571\" .\n}", "paraphrases": ["Who is the person identified by the VIAF number 31394571?", "Tell me the Wikidata item for the Virtual International Authority File ID 31394571."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"313945847\". }"}}
{"id": "test_7199", "question": "What image is associated with the SNAC ARK ID w6ms3rsw?", "sparql": "SELECT ?image WHERE { ?entity wdt:P3430 \"w6ms3rsw\" . OPTIONAL { ?entity wdt:P18 ?image . } }", "paraphrases": ["Can you find the Wikimedia Commons image for the entity with SNAC ARK ID w6ms3rsw?", "Show the photo linked to the SNAC ARK ID w6ms3rsw."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6ms3rsw\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7200", "question": "Who are the male grandchildren of Gustaf Mauritz Armfelt, and who are their parents?", "sparql": "SELECT DISTINCT ?grandchild ?parent WHERE { wd:Q543935 wdt:P40 ?parent . ?parent wdt:P40 ?grandchild . ?grandchild wdt:P21 wd:Q6581097 . } LIMIT 101", "paraphrases": ["List all male descendants two generations below Gustaf Mauritz Armfelt and their immediate parents.", "Which sons of Gustaf Mauritz Armfelt\u2019s children are male, and who are their mothers or fathers?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/P21> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P21> <http://www.wikidata.org/entity/Q6581097> . <http://www.wikidata.org/entity/Q543935> <http://www.wikidata.org/prop/P40> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P40> ?var2 . ?var2 <http://www.wikidata.org/prop/P40> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P40> ?var1 . } LIMIT 101"}}
{"id": "test_7201", "question": "Image of the person with SNAC ARK ID w6003w89", "sparql": "SELECT ?image WHERE {\n  ?item wdt:P3430 \"w6003w89\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Lawrence Taylor in Wikidata?", "Can you show me the portrait image of Lawrence Taylor, who has the SNAC ARK ID w6003w89?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6003w89\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7202", "question": "What are the names of sports practiced in geographic regions, excluding tennis, along with their Wikimedia Commons categories?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?var1 ?var1Label ?var3 WHERE {\n  ?var1 wdt:P31 wd:Q29791211 .\n  FILTER(NOT EXISTS {\n    ?var1 wdt:P641 wd:Q847\n  })\n  OPTIONAL {\n    ?var1 wdt:P373 ?var3\n  }\n  ?var1 rdfs:label ?var1Label .\n  FILTER(LANG(?var1Label) = \"en\")\n}", "paraphrases": ["Show me the English names of regional sports (like \"basketball in Japan\") that are not tennis, and their corresponding Wikimedia Commons categories.", "Which sports are played in specific locations around the world (excluding tennis), and what are their associated Wikimedia Commons category names?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q29791211> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P641> <http://www.wikidata.org/entity/Q847> . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,es,it,fr\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var3 . } }"}}
{"id": "test_7203", "question": "Image of the person with SNAC ARK ID w6hx1z9s", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6hx1z9s\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Is there an image available for Henry Elsynge in Wikidata?", "Can you find the Wikimedia Commons image associated with the SNAC ARK ID \"w6hx1z9s\"?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6hx1z9s\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7204", "question": "What physical quantities are measured by units in Wikidata, and what are their English labels and descriptions?", "sparql": "SELECT ?physicalQuantity ?physicalQuantityLabel ?physicalQuantityDescription WHERE { ?unit wdt:P111 ?physicalQuantity . ?physicalQuantity rdfs:label ?physicalQuantityLabel . ?physicalQuantity schema:description ?physicalQuantityDescription . FILTER(LANG(?physicalQuantityLabel) = \"en\") FILTER(LANG(?physicalQuantityDescription) = \"en\") } LIMIT 100", "paraphrases": ["English labels and descriptions of physical quantities measured by units in Wikidata", "Show me the English names and descriptions of all physical quantities that units measure in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/P111> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_7205", "question": "English names of politicians born after 1950.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?name WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P106 wd:Q82955 .\n  ?person wdt:P569 ?birthDate .\n  ?person rdfs:label ?name .\n  FILTER(LANG(?name) = \"en\")\n  FILTER(YEAR(?birthDate) > 1950)\n}", "paraphrases": ["Who are the politicians born after 1950, listed by their English names?", "List the English-language names of all living politicians born after 1950."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var2 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82955> . ?var2 <http://www.wikidata.org/prop/direct/P569> ?var3 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"en\" ) ) ) . FILTER ( ( ( YEAR ( ?var3 ) > \"1950\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . }"}}
{"id": "test_7206", "question": "When was Katheryn Winnick born?", "sparql": "SELECT ?dob WHERE { wd:Q268298 wdt:P569 ?dob }", "paraphrases": ["What is the birth date of the actress Katheryn Winnick?", "Can you tell me the date of birth for Katheryn Winnick?"], "info": {"raw_sparql": "SELECT * WHERE { <https://en.wikipedia.org/wiki/Kathery_Winnick> <http://www.wikidata.org/prop/direct/P569> ?var1 . }"}}
{"id": "test_7207", "question": "Who are the Members of the Scottish Parliament, their electoral districts, political parties, and tenure dates?", "sparql": "SELECT DISTINCT ?person ?electoral_district ?party ?start_time ?election ?end_time ?end_cause WHERE { ?person p:P39 ?statement . ?statement ps:P39 ?position . ?position wdt:P279* wd:Q1711695 . OPTIONAL { ?statement pq:P768 ?electoral_district . } OPTIONAL { ?statement pq:P102 ?party . } OPTIONAL { ?statement pq:P580 ?start_time . } OPTIONAL { ?statement pq:P2715 ?election . } OPTIONAL { ?statement pq:P582 ?end_time . } OPTIONAL { ?statement pq:P1534 ?end_cause . } } LIMIT 10", "paraphrases": ["Which individuals have served as Members of the Scottish Parliament, and what are the details of their terms including the elections they won, start and end dates, and reasons for leaving office?", "List all people who have held the position of Member of the Scottish Parliament, along with their electoral district, political party, when they started and ended their term, the election they were elected in, and why their term ended."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { ?var1 <http://www.wikidata.org/prop/P39> ?var8 . ?var8 <http://www.wikidata.org/prop/statement/P39> [ <http://www.wikidata.org/entity/P279> * <http://www.wikidata.org/entity/Q1711695> ] . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var9 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P768> ?var2 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P102> ?var3 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P580> ?var4 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P2715> ?var5 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P582> ?var6 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P1534> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7208", "question": "Who has the IMDb ID nm1942413?", "sparql": "SELECT ?person WHERE { ?person wdt:P345 \"nm1942413\" . } ORDER BY ASC(?person)", "paraphrases": ["Which person on Wikidata is linked to the IMDb identifier nm1942413?", "Find the Wikidata item for the person with IMDb ID nm1942413."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"nm1942413\". } ORDER BY ASC( ?var1 )"}}
{"id": "test_7209", "question": "Units of energy and their SI conversions", "sparql": "SELECT ?unit ?unitLabel ?siAmount ?siUnit WHERE { ?unit wdt:P111 wd:Q11379 . ?unit p:P2370 ?stmt . ?stmt psv:P2370 ?valueNode . ?valueNode wikibase:quantityAmount ?siAmount ; wikibase:quantityUnit ?siUnit . ?unit rdfs:label ?unitLabel . FILTER(LANG(?unitLabel) = \"en\") } LIMIT 10000", "paraphrases": ["What are the units that measure energy, and what are their equivalent values in joules?", "List all energy units along with their conversion factors to the SI unit."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P111> <http://www.wikidata.org/entity/Q11379> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/P2370> ?var2 . ?var2 <http://www.wikidata.org/prop/qualifier/value/2370> ?var3 . } } LIMIT 10000"}}
{"id": "test_7210", "question": "What properties are used for Shelkan (Chol-khan), and what are their values and counts in English?", "sparql": "SELECT ?property ?propertyLabel (COUNT(?value) AS ?valueCount) (GROUP_CONCAT(?valueLabel; SEPARATOR=\", \") AS ?valueLabels) WHERE { wd:Q4528621 ?property ?value . ?propertyItem wikibase:directClaim ?property . ?propertyItem rdfs:label ?propertyLabel . ?value rdfs:label ?valueLabel . FILTER(LANG(?propertyLabel) = \"en\") FILTER(LANG(?valueLabel) = \"en\") } GROUP BY ?property ?propertyLabel", "paraphrases": ["For the historical figure Shelkan, what are the English labels of the properties applied to him, how many values does each have, and what are those values?", "List all properties of Shelkan (Chol-khan) with their English labels, the number of values each has, and the English labels of those values."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q4528621> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_7211", "question": "What is the most specific category that both North Korea and Nigeria belong to directly?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?ancestor ( 0 AS ?totalDist ) WHERE {\n  wd:Q423 wdt:P31 ?ancestor .\n  wd:Q1033 wdt:P31 ?ancestor .\n}\nORDER BY ASC ( ?totalDist )\nLIMIT 1", "paraphrases": ["Which class is both North Korea and Nigeria directly classified as?", "What is the common direct superclass of North Korea and Nigeria in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q423> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1033> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7212", "question": "What is the most specific category that both North Korea and the United States belong to?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonClass ?commonClassLabel ( COUNT( ?superClass ) AS ?depth ) WHERE {\n  wd:Q423 wdt:P31 ?commonClass .\n  wd:Q30 wdt:P31 ?commonClass .\n  OPTIONAL {\n    ?commonClass rdfs:label ?commonClassLabel .\n    FILTER ( LANG( ?commonClassLabel ) = \"en\" )\n  }\n  ?commonClass wdt:P279 * ?superClass .\n  FILTER ( ?superClass != ?commonClass )\n}\nGROUP BY ?commonClass ?commonClassLabel\nORDER BY DESC ( ?depth )\nLIMIT 1", "paraphrases": ["Which class is the deepest common classification shared by North Korea and the United States in Wikidata?", "Find the most precise shared category for North Korea and the United States based on their types in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q423> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q30> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7213", "question": "What is the English description of the video game company Kixeye?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { VALUES ?item { wd:Q6418945 } ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Can you show me the label and English description for Kixeye from Wikidata?", "What does Wikidata say about Kixeye in English?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4073> \"kixeye\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7214", "question": "What is the most specific common superclass between Nigeria and Goldman Sachs in the Wikidata taxonomy?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?common ( MIN( ?steps1 ) AS ?dist1 ) ( MIN( ?steps2 ) AS ?dist2 ) WHERE {\n  {\n    SELECT ?common ( COUNT( ?mid ) AS ?steps1 ) WHERE {\n      wd:Q1033 wdt:P31 ?class1 .\n      ?class1 wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?common .\n    }\n    GROUP BY ?common\n  }\n  {\n    SELECT ?common ( COUNT( ?mid ) AS ?steps2 ) WHERE {\n      wd:Q193326 wdt:P31 ?class2 .\n      ?class2 wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?common .\n    }\n    GROUP BY ?common\n  }\n}\nGROUP BY ?common\nORDER BY ( ?dist1 + ?dist2 )\nLIMIT 1", "paraphrases": ["Which entity is the closest common ancestor in the subclass hierarchy of Nigeria and Goldman Sachs, and how many steps away are they?", "Find the entity that is the most specific shared category for Nigeria and Goldman Sachs, minimizing the sum of their distances in the subclass tree."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1033> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q193326> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7215", "question": "What are the common superclass categories between Nigeria and Arizona in the Wikidata knowledge graph?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?common_ancestor ?label WHERE {\n  wd:Q1033 wdt:P31 ?type1 .\n  wd:Q816 wdt:P31 ?type2 .\n  ?type1 wdt:P279 * ?common_ancestor .\n  ?type2 wdt:P279 * ?common_ancestor .\n  FILTER ( ?common_ancestor != wd:Q1033 && ?common_ancestor != wd:Q816 ) .\n  ?common_ancestor rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}\nORDER BY ASC ( ?common_ancestor )\nLIMIT 20", "paraphrases": ["Which entity is the most specific common ancestor of Nigeria and Arizona in terms of subclass hierarchy?", "Find the shared administrative or political categories that apply to both Nigeria and Arizona."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1033> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q816> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7216", "question": "What is the most specific category that both Nigeria and Algeria belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?class ?classLabel(COUNT(?super) AS ?depth) WHERE {\n  wd:Q1033 wdt:P31 ?class .\n  wd:Q262 wdt:P31 ?class .\n  ?class rdfs:label ?classLabel .\n  FILTER(LANG(?classLabel) = \"en\")\n  .\n  ?class wdt:P279 * ?super .\n  ?super rdfs:label ?superLabel .\n  FILTER(LANG(?superLabel) = \"en\")\n  .\n  FILTER(?super != ?class)\n}\nGROUP BY ?class ?classLabel\nORDER BY DESC(?depth)\nLIMIT 1", "paraphrases": ["Which subclass is shared by Nigeria and Algeria and is the most specific in the hierarchy?", "Find the common classification with the deepest hierarchy level that applies to both Nigeria and Algeria."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1033> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q262> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7217", "question": "What is the most specific shared category (in the type hierarchy) between American Airlines and the city of Slidell?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestor ?ancestorLabel WHERE {\n  wd:Q32396 wdt:P31 ?type1 .\n  wd:Q988156 wdt:P31 ?type2 .\n  ?type1 wdt:P279 * ?ancestor .\n  ?type2 wdt:P279 * ?ancestor .\n  ?ancestor rdfs:label ?ancestorLabel .\n  FILTER(LANG(?ancestorLabel) = \"en\")\n}\nORDER BY ASC(STRLEN(?ancestorLabel))\nLIMIT 1", "paraphrases": ["Which abstract concept do both American Airlines and Slidell belong to through their types?", "What is the highest-level common class that includes both American Airlines and Slidell via their instance-of relationships?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q32396> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q988156> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7218", "question": "What is the most specific category that both South Dakota and Seoul belong to in the Wikidata taxonomy?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?ancestor ?ancestorLabel WHERE {\n  wd:Q35657 wdt:P279 * ?ancestor .\n  wd:Q108178728 wdt:P279 * ?ancestor .\n  ?ancestor rdfs:label ?ancestorLabel .\n  FILTER ( LANG( ?ancestorLabel ) = \"en\" )\n}\nORDER BY DESC ( STRLEN( ?ancestorLabel ) )\nLIMIT 1", "paraphrases": ["What abstract concept do South Dakota and Seoul have in common at the most detailed level in their classification hierarchy?", "Find the most detailed shared category between the U.S. state of South Dakota and the capital city of Seoul."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1211> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q8684> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7219", "question": "What is the most specific category that both the United States and Israel belong to?", "sparql": "SELECT ?commonClass ?commonClassLabel (COUNT(?ancestor) AS ?depth)\nWHERE {\n  wd:Q30 wdt:P31 ?commonClass .\n  wd:Q801 wdt:P31 ?commonClass .\n  ?commonClass wdt:P279* ?ancestor .\n  ?commonClass rdfs:label ?commonClassLabel .\n  FILTER(LANG(?commonClassLabel) = \"en\")\n}\nGROUP BY ?commonClass ?commonClassLabel\nORDER BY DESC(?depth)\nLIMIT 1", "paraphrases": ["Which taxonomic class is the deepest common ancestor of the United States and Israel in the Wikidata hierarchy?", "Find the class that both the United States and Israel are instances of, which has the longest chain of subclasses leading up to it."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q30> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q801> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7220", "question": "What is the most specific common category that both the United States and New South Wales belong to in Wikidata's taxonomy?", "sparql": "SELECT ?commonAncestor WHERE { wd:Q30 wdt:P31 ?type1 . wd:Q3224 wdt:P31 ?type2 . ?type1 wdt:P279* ?commonAncestor . ?type2 wdt:P279* ?commonAncestor . FILTER(?commonAncestor != wd:Q17389828) } ORDER BY ?commonAncestor LIMIT 1", "paraphrases": ["What is the least specific shared ancestor in the type hierarchy between the United States and New South Wales?", "What abstract concept do the United States and New South Wales have in common in terms of their classification in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q30> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3224> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7221", "question": "What is the most specific category that both Afghanistan and Beijing belong to?", "sparql": "SELECT ?commonClass ?label WHERE { wd:Q6256 wdt:P279* ?commonClass . wd:Q515 wdt:P279* ?commonClass . ?commonClass rdfs:label ?label . FILTER(LANG(?label) = \"en\") } ORDER BY ?label LIMIT 5", "paraphrases": ["Find the common superclass in the Wikidata hierarchy between the country Afghanistan and the city Beijing.", "Which taxonomic class is shared by Afghanistan and Beijing, and is the most specific one?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q889> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q956> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7222", "question": "What is the most specific common ancestor in the subclass hierarchy between Red Bull Racing and Angola?", "sparql": "SELECT ?commonAncestor ?label WHERE { wd:Q10497835 wdt:P279* ?commonAncestor . { wd:Q3624078 wdt:P279* ?commonAncestor } UNION { wd:Q6256 wdt:P279* ?commonAncestor } . ?commonAncestor rdfs:label ?label . FILTER(LANG(?label) = \"en\") } ORDER BY DESC(?commonAncestor) LIMIT 1", "paraphrases": ["What category do both Red Bull Racing and Angola belong to in the Wikidata hierarchy?", "What is the highest-level class that includes both Red Bull Racing and Angola as subclasses?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q173663> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q916> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7223", "question": "What is the most specific category that both Brazil and Islamism belong to?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?common ?commonLabel ( COUNT( ?ancestor ) AS ?depth ) WHERE {\n  wd:Q155 wdt:P31 ?type1 .\n  wd:Q189746 wdt:P31 ?type2 .\n  ?type1 wdt:P279 * ?common .\n  ?type2 wdt:P279 * ?common .\n  ?common wdt:P279 + ?ancestor .\n  ?common rdfs:label ?commonLabel .\n  FILTER ( LANG( ?commonLabel ) = \"en\" )\n}\nGROUP BY ?common ?commonLabel\nORDER BY DESC ( ?depth )\nLIMIT 1", "paraphrases": ["Find the shared abstract class that best describes both Brazil and Islamism based on their types.", "Which human-made concept category encompasses both a country like Brazil and a political ideology like Islamism?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q155> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q189746> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7224", "question": "What is the most specific category that both Elon Musk and Reuters belong to?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonAncestor ?label WHERE {\n  wd:Q317521 wdt:P31 ?class1 .\n  wd:Q130879 wdt:P31 ?class2 .\n  ?class1 wdt:P279 * ?commonAncestor .\n  ?class2 wdt:P279 * ?commonAncestor .\n  ?commonAncestor rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}\nORDER BY ?label\nLIMIT 1", "paraphrases": ["What common superclass do the classes of Elon Musk and Reuters share?", "What is the highest-level concept that includes both humans and news agencies like Reuters?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q317521> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q130879> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7225", "question": "What occupation is held by both Elon Musk and at least one U.S. citizen?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?occupation WHERE {\n  wd:Q317521 wdt:P106 ?occupation .\n  ?person wdt:P27 wd:Q30 ; wdt:P106 ?occupation .\n}\nORDER BY ?occupation\nLIMIT 1", "paraphrases": ["Which of Elon Musk\u2019s professions is also common among Americans?", "Find an occupation shared between Elon Musk and people from the United States."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q317521> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q684535> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7226", "question": "What is the most specific category that both Seattle and NPR belong to, based on their hierarchical classification in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonAncestor ( ( ?distSeattle + ?distNPR ) AS ?totalDistance ) ?label WHERE {\n  {\n    SELECT ?typeSeattle ?distSeattle WHERE {\n      VALUES ?start {\n        wd:Q1093829 wd:Q1549591 wd:Q62049\n      }\n      {\n        ?start wdt:P279 ?typeSeattle .\n        BIND( 1 AS ?distSeattle )\n      } UNION {\n        ?start wdt:P279 ?step1 .\n        ?step1 wdt:P279 ?typeSeattle .\n        BIND( 2 AS ?distSeattle )\n      } UNION {\n        ?start wdt:P279 ?step1 .\n        ?step1 wdt:P279 ?step2 .\n        ?step2 wdt:P279 ?typeSeattle .\n        BIND( 3 AS ?distSeattle )\n      } UNION {\n        ?start wdt:P279 ?step1 .\n        ?step1 wdt:P279 ?step2 .\n        ?step2 wdt:P279 ?step3 .\n        ?step3 wdt:P279 ?typeSeattle .\n        BIND( 4 AS ?distSeattle )\n      } UNION {\n        ?start wdt:P279 ?step1 .\n        ?step1 wdt:P279 ?step2 .\n        ?step2 wdt:P279 ?step3 .\n        ?step3 wdt:P279 ?step4 .\n        ?step4 wdt:P279 ?typeSeattle .\n        BIND( 5 AS ?distSeattle )\n      }\n    }\n  }\n  {\n    SELECT ?typeNPR ?distNPR WHERE {\n      VALUES ?start {\n        wd:Q163740 wd:Q1061197 wd:Q1126006 wd:Q17084016\n      }\n      {\n        ?start wdt:P279 ?typeNPR .\n        BIND( 1 AS ?distNPR )\n      } UNION {\n        ?start wdt:P279 ?step1 .\n        ?step1 wdt:P279 ?typeNPR .\n        BIND( 2 AS ?distNPR )\n      } UNION {\n        ?start wdt:P279 ?step1 .\n        ?step1 wdt:P279 ?step2 .\n        ?step2 wdt:P279 ?typeNPR .\n        BIND( 3 AS ?distNPR )\n      } UNION {\n        ?start wdt:P279 ?step1 .\n        ?step1 wdt:P279 ?step2 .\n        ?step2 wdt:P279 ?step3 .\n        ?step3 wdt:P279 ?typeNPR .\n        BIND( 4 AS ?distNPR )\n      } UNION {\n        ?start wdt:P279 ?step1 .\n        ?step1 wdt:P279 ?step2 .\n        ?step2 wdt:P279 ?step3 .\n        ?step3 wdt:P279 ?step4 .\n        ?step4 wdt:P279 ?typeNPR .\n        BIND( 5 AS ?distNPR )\n      }\n    }\n  }\n  ?typeSeattle wdt:P279 * ?commonAncestor .\n  ?typeNPR wdt:P279 * ?commonAncestor .\n  FILTER ( ?commonAncestor != wd:Q1093829 && ?commonAncestor != wd:Q1549591 && ?commonAncestor != wd:Q62049 && ?commonAncestor != wd:Q163740 && ?commonAncestor != wd:Q1061197 && ?commonAncestor != wd:Q1126006 && ?commonAncestor != wd:Q17084016 ) ?commonAncestor rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}\nORDER BY ASC ( ?totalDistance )\nLIMIT 1", "paraphrases": ["Which abstract concept is closest to both Seattle and NPR in terms of subclass hierarchy depth?", "What is the common superclass of Seattle and NPR with the smallest total distance in the Wikidata ontology?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q5083> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q671510> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7227", "question": "What is the most general category that both New England and Slidell belong to in the Wikidata taxonomy?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestor ( COUNT( ?mid1 ) AS ?dist1 ) ( COUNT( ?mid2 ) AS ?dist2 ) ( ( ?dist1 + ?dist2 ) AS ?total ) WHERE {\n  wd:Q18389 wdt:P31 ?type1 .\n  wd:Q988156 wdt:P31 ?type2 .\n  ?type1 wdt:P279 * ?mid1 .\n  ?mid1 wdt:P279 ?ancestor .\n  ?type2 wdt:P279 * ?mid2 .\n  ?mid2 wdt:P279 ?ancestor .\n  FILTER ( ?ancestor != ?type1 && ?ancestor != ?type2 )\n}\nGROUP BY ?ancestor\nORDER BY ASC ( ?total )\nLIMIT 1", "paraphrases": ["What is the common ancestor class of New England and Slidell when tracing their type hierarchies through subclass relationships?", "Which top-level class do the types of New England and Slidell both inherit from in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q18389> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q988156> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7228", "question": "What is the most specific common superclass of a human and an association football club, based on the shortest path in the subclass hierarchy?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonAncestor ( SUM( ?dist1 + ?dist2 ) AS ?totalDistance ) WHERE {\n  {\n    SELECT ?ancestor1 ( COUNT( ?mid1 ) AS ?dist1 ) WHERE {\n      wd:Q5 wdt:P279 + ?mid1 .\n      ?mid1 wdt:P279 * ?ancestor1 .\n    }\n    GROUP BY ?ancestor1\n  }\n  {\n    SELECT ?ancestor2 ( COUNT( ?mid2 ) AS ?dist2 ) WHERE {\n      wd:Q476028 wdt:P279 + ?mid2 .\n      ?mid2 wdt:P279 * ?ancestor2 .\n    }\n    GROUP BY ?ancestor2\n  }\n  FILTER ( ?ancestor1 = ?ancestor2 ) BIND( ?ancestor1 AS ?commonAncestor )\n}\nGROUP BY ?commonAncestor\nORDER BY ASC ( ?totalDistance )\nLIMIT 1", "paraphrases": ["Which class is the closest common ancestor to both Felipe Massa and FC Energiya Volzhsky when considering their types and their subclass relationships?", "Find the entity that minimizes the sum of subclass distances from human and association football club, and return it along with the total distance."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q82652> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1975949> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7229", "question": "What is the most specific category that both Louisiana and South Korea belong to, based on their types in the Wikidata hierarchy?", "sparql": "SELECT ?commonSuperclass (?dist1 + ?dist2 AS ?total)\nWHERE {\n  {\n    SELECT ?commonSuperclass (COUNT(?mid1) AS ?dist1)\n    WHERE {\n      wd:Q35657 wdt:P279+ ?mid1 .\n      ?mid1 wdt:P279* ?commonSuperclass .\n    }\n    GROUP BY ?commonSuperclass\n  }\n  {\n    SELECT ?commonSuperclass (COUNT(?mid2) AS ?dist2)\n    WHERE {\n      wd:Q6256 wdt:P279+ ?mid2 .\n      ?mid2 wdt:P279* ?commonSuperclass .\n    }\n    GROUP BY ?commonSuperclass\n  }\n}\nORDER BY ?total\nLIMIT 1", "paraphrases": ["Which common superclass has the shortest combined path from the type of Louisiana (U.S. state) and the type of South Korea (country)?", "Find the least specific common ancestor in the subclass hierarchy between U.S. state and country, measured by the sum of shortest paths."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1588> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q884> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7230", "question": "What is the most closely related common category (in the subclass hierarchy) between U.S. states and cities?", "sparql": "SELECT ?common ?totalDistance WHERE { { SELECT ?common (MIN(?dist1) AS ?min1) (MIN(?dist2) AS ?min2) ((MIN(?dist1) + MIN(?dist2)) AS ?totalDistance) WHERE { { SELECT ?common (COUNT(?mid1) AS ?dist1) WHERE { wd:Q35657 wdt:P279+ ?mid1 . ?mid1 wdt:P279* ?common . } GROUP BY ?common } { SELECT ?common (COUNT(?mid2) AS ?dist2) WHERE { wd:Q515 wdt:P279+ ?mid2 . ?mid2 wdt:P279* ?common . } GROUP BY ?common } } GROUP BY ?common } } ORDER BY ASC(?totalDistance) LIMIT 1", "paraphrases": ["Which Wikidata class is the nearest common ancestor of \"U.S. state\" and \"city\", measured by the sum of shortest subclass paths?", "Find the entity that is a shared superclass of both U.S. states and cities with the smallest total distance in the subclass tree."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1588> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q5838> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7231", "question": "Birth and death dates of John Dutton, 2nd Baron Sherborne", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  BIND( wd:Q6230556 AS ?person ) .\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANGMATCHES( LANG( ?personLabel ) , \"en\" ) )\n}", "paraphrases": ["When were John Dutton, 2nd Baron Sherborne born and when did he die?", "Can you tell me the full name, birth date, and death date of John Dutton, 2nd Baron Sherborne?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q6230556> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7232", "question": "What are the birth and death dates of Charles R. Ellet?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?birthDate ?deathDate WHERE {\n  wd:Q5081829 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    wd:Q5081829 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q5081829 wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["When was Charles R. Ellet born and when did he die?", "Can you tell me the life span of Charles R. Ellet, including his birth and death years?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q5081829> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7233", "question": "What is the most specific category that both Mars and Manhattan belong to?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?ancestor ?ancestorLabel WHERE {\n  wd:Q111 wdt:P31 ?type1 .\n  ?type1 wdt:P279 * ?ancestor .\n  wd:Q11299 wdt:P31 ?type2 .\n  ?type2 wdt:P279 * ?ancestor .\n  OPTIONAL {\n    ?ancestor rdfs:label ?ancestorLabel .\n    FILTER ( LANG( ?ancestorLabel ) = \"en\" )\n  }\n}\nORDER BY ?ancestorLabel\nLIMIT 1", "paraphrases": ["What do Mars and Manhattan have in common in terms of their classification in Wikidata?", "What is the highest-level class that includes both the planet Mars and the borough of Manhattan?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q111> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q11299> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7234", "question": "What categories do Cincinnati and Chicago have in common?", "sparql": "SELECT ?commonType WHERE { wd:Q43196 wdt:P31 ?commonType . wd:Q1297 wdt:P31 ?commonType . }", "paraphrases": ["Which class is both Cincinnati and Chicago an instance of?", "What is the shared type between the cities of Cincinnati and Chicago?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q111> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q43196> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7235", "question": "What is the most specific shared category that both the T\u014dhoku region and the 2008 Brazilian Grand Prix belong to?", "sparql": "SELECT ?commonAncestor ?label\nWHERE {\n  BIND(wd:Q35120 AS ?commonAncestor)\n  ?commonAncestor rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["What is the highest-level common class in Wikidata that includes both a geographic region and a motorsport event?", "What is the most general type that applies to both the T\u014dhoku region and the 2008 Brazilian Grand Prix?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q129465> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q54431> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7236", "question": "Birth and death dates of Louis de Geer the Elder", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?birthDate ?deathDate WHERE {\n  wd:Q52950 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    wd:Q52950 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q52950 wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["When was Louis de Geer the Elder born and when did he die?", "Please provide the name, birth date, and death date of Louis de Geer the Elder."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q52950> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7237", "question": "What is a common higher-level category shared by Angola and New England?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonSuperclass ?label WHERE {\n  wd:Q916 wdt:P31 ?type1 .\n  ?type1 wdt:P279 ?super1 .\n  ?super1 wdt:P279 ?commonSuperclass .\n  wd:Q18389 wdt:P31 ?type2 .\n  ?type2 wdt:P279 ?super2 .\n  ?super2 wdt:P279 ?commonSuperclass .\n  ?commonSuperclass rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}\nGROUP BY ?commonSuperclass ?label\nORDER BY ?commonSuperclass", "paraphrases": ["What superclass do the types of Angola and New England have in common?", "What category do both Angola and New England belong to at a higher level of classification?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q916> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q18389> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7238", "question": "What is the most specific category that both Angola and the 2006 Brazilian Grand Prix belong to?", "sparql": "SELECT ?commonClass WHERE { wd:Q916 wdt:P31 ?class1 . wd:Q54429 wdt:P31 ?class2 . ?class1 wdt:P279* ?commonClass . ?class2 wdt:P279* ?commonClass . FILTER(?commonClass != ?class1) FILTER(?commonClass != ?class2) FILTER(isIRI(?commonClass)) } LIMIT 1", "paraphrases": ["Is there any shared superclass in the Wikidata ontology between Angola and the 2006 Brazilian Grand Prix?", "What do Angola and the 2006 Brazilian Grand Prix have in common in terms of their classification in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q916> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q54429> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7239", "question": "What is the most specific common superclass of the classes that Delta Air Lines and Angola belong to?", "sparql": "SELECT DISTINCT ?commonSuperclass WHERE { wd:Q188920 wdt:P31 ?deltaClass . wd:Q916 wdt:P31 ?angolaClass . ?deltaClass wdt:P279 ?mid1 . ?mid1 wdt:P279 ?commonSuperclass . ?angolaClass wdt:P279 ?mid2 . ?mid2 wdt:P279 ?commonSuperclass . } LIMIT 1", "paraphrases": ["Find a category that both Delta Air Lines and Angola are indirectly classified under through two levels of subclass relationships.", "What entity is a superclass of a superclass of both Delta Air Lines and Angola?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q188920> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q916> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7240", "question": "What is the most specific shared category that both Detroit and Abu Dhabi belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonClass ?commonClassLabel WHERE {\n  wd:Q12439 wdt:P31 ?dClass .\n  wd:Q1519 wdt:P31 ?aClass .\n  ?dClass wdt:P279 ?commonClass .\n  ?aClass wdt:P279 ?commonClass .\n  ?commonClass rdfs:label ?commonClassLabel .\n  FILTER(LANG(?commonClassLabel) = \"en\")\n}\nLIMIT 1", "paraphrases": ["What class do the cities of Detroit and Abu Dhabi have in common in the Wikidata hierarchy?", "What is the common superclass of Detroit and Abu Dhabi in terms of their type classification?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q12439> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1519> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7241", "question": "What are the birth and death dates of Frederick Luther Fowke?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?birthDate ?deathDate WHERE {\n  wd:Q5498319 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    wd:Q5498319 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q5498319 wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["When was Frederick Luther Fowke born and when did he die?", "Can you tell me the lifespan of Canadian politician Frederick Luther Fowke?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q5498319> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7242", "question": "What is the shared subclass ancestor of Los Angeles and China?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?ancestorLabel WHERE {\n  wd:Q65 wdt:P31 ?i1 .\n  ?i1 wdt:P279 * wd:Q618123 .\n  wd:Q148 wdt:P31 ?i2 .\n  ?i2 wdt:P279 * wd:Q618123 .\n  wd:Q618123 rdfs:label ?ancestorLabel .\n  FILTER(lang(?ancestorLabel) = \"en\")\n}", "paraphrases": ["What is the most specific category that both Los Angeles and the People's Republic of China belong to through their hierarchical classifications?", "Find the lowest common ancestor in the subclass hierarchy between Los Angeles and China."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q65> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q148> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7243", "question": "What is the most specific category that both Japan and Los Angeles belong to?", "sparql": "SELECT ?commonSuper WHERE { wd:Q17 wdt:P31 ?c1 . wd:Q65 wdt:P31 ?c2 . ?c1 wdt:P279* ?commonSuper . ?c2 wdt:P279* ?commonSuper . FILTER (?commonSuper = wd:Q56061) }", "paraphrases": ["What is the common administrative classification shared by Japan and Los Angeles?", "What is the highest-level administrative entity type that includes both countries and cities?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q65> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q17> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7244", "question": "Howard W. Hunter's date of birth and date of death", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  wd:Q945517 rdfs:label ?personLabel .\n  FILTER(LANGMATCHES(LANG(?personLabel) , \"en\"))\n  .\n  OPTIONAL {\n    wd:Q945517 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q945517 wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["When was Howard W. Hunter born and when did he die?", "Can you tell me the birth and death dates of Howard W. Hunter, the former president of The Church of Jesus Christ of Latter-day Saints?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q945517> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7245", "question": "What is the most specific common superclass of South Korea and Nature Air in the Wikidata taxonomy?", "sparql": "SELECT ?ancestor ?dist1 ?dist2 (?dist1 + ?dist2 AS ?totalDist)\nWHERE {\n  {\n    SELECT ?ancestor (COUNT(?mid) AS ?dist1)\n    WHERE {\n      wd:Q3624078 wdt:P279+ ?mid .\n      ?mid wdt:P279* ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n  {\n    SELECT ?ancestor (COUNT(?mid) AS ?dist2)\n    WHERE {\n      wd:Q46970 wdt:P279+ ?mid .\n      ?mid wdt:P279* ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n}\nORDER BY ASC(?totalDist)\nLIMIT 1", "paraphrases": ["Find the entity that is a common ancestor in the subclass hierarchy of both South Korea and Nature Air, with the smallest total distance from both.", "What concept do South Korea and Nature Air share as a common parent in Wikidata\u2019s classification system, and how many steps away is each from it?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q980781> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q884> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7246", "question": "What are the most specific categories that both an airline and a spaceport belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?common WHERE {\n  wd:Q11032 wdt:P279 * ?common .\n  wd:Q174782 wdt:P279 * ?common .\n  FILTER ( ?common != wd:Q11032 && ?common != wd:Q174782 ) FILTER NOT EXISTS {\n    ?common2 wdt:P279 * ?common .\n    wd:Q11032 wdt:P279 * ?common2 .\n    wd:Q174782 wdt:P279 * ?common2 .\n    FILTER ( ?common2 != ?common )\n  }\n}", "paraphrases": ["What is the lowest common superclass of the type of Nature Air and the type of Kennedy Space Center?", "What is the most specific shared category between an airline and a spaceport in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q980781> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q48821> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7247", "question": "Adelaide, Countess of Carcassonne \u2014 English label, birth date, and death date", "sparql": "SELECT ?label ?birthDate ?deathDate WHERE { wd:Q19997631 rdfs:label ?label . wd:Q19997631 wdt:P31 wd:Q5 . OPTIONAL { wd:Q19997631 wdt:P569 ?birthDate . } OPTIONAL { wd:Q19997631 wdt:P570 ?deathDate . } FILTER(LANG(?label) = \"en\")}", "paraphrases": ["What is the English name of Adelaide, Countess of Carcassonne, and when was she born and when did she die?", "Please provide the English label, birth date, and death date for Adelaide, Countess of Carcassonne."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q19997631> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7248", "question": "What is the most specific category that both Tokyo and Russia belong to?", "sparql": "SELECT ?commonSuperclass\nWHERE {\n  VALUES ?commonSuperclass { wd:Q82794 }\n  wd:Q1490 wdt:P31 ?classTokyo .\n  wd:Q159 wdt:P31 ?classRussia .\n  ?classTokyo wdt:P279* ?commonSuperclass .\n  ?classRussia wdt:P279* ?commonSuperclass .\n}\nLIMIT 1", "paraphrases": ["What is the common superclass of the classes that Tokyo and Russia are instances of?", "Which geographic category encompasses both the city of Tokyo and the country of Russia?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1490> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q159> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7249", "question": "What is the most general category that both Chrissy Teigen and Seattle belong to?", "sparql": "SELECT DISTINCT ?ancestor WHERE { wd:Q5111202 wdt:P31 ?class1 . wd:Q5083 wdt:P31 ?class2 . ?class1 wdt:P279* wd:Q35120 . ?class2 wdt:P279* wd:Q35120 . BIND(wd:Q35120 AS ?ancestor) } LIMIT 1", "paraphrases": ["What is the highest-level common ancestor in the Wikidata ontology for the person Chrissy Teigen and the city Seattle?", "Which top-level concept in Wikidata encompasses both a human like Chrissy Teigen and a city like Seattle?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q5111202> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q5083> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7250", "question": "What is the most specific common class that both Chrissy Teigen and Kim Jong belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?common WHERE {\n  wd:Q5111202 wdt:P31 ?common .\n  wd:Q6408963 wdt:P31 ?common .\n}\nLIMIT 1", "paraphrases": ["Which human category do Chrissy Teigen and Kim Jong share as their only common instance class?", "Find the class that both Chrissy Teigen and Kim Jong are instances of."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q5111202> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q6408963> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7251", "question": "What is the most specific category that both Tokyo and Sioux Falls belong to?", "sparql": "SELECT ?common\nWHERE {\n  wd:Q1490 wdt:P31 ?common .\n  wd:Q131335 wdt:P31 ?common .\n}\nLIMIT 1", "paraphrases": ["Which class do Tokyo and Sioux Falls have in common in Wikidata?", "What type of entity is both Tokyo and Sioux Falls classified as in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1490> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q131335> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7252", "question": "What are the birth and death dates of Theophilus T. Garrard?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?birthDate ?deathDate WHERE {\n  wd:Q1710497 rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) OPTIONAL {\n    wd:Q1710497 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q1710497 wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["Can you tell me when Theophilus T. Garrard was born and when he died?", "Show me the English label, birth date, and death date for the person with Wikidata ID Q1710497."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q1710497> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7253", "question": "What is the most specific category that both All Nippon Airways and Luke Harding belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonAncestor WHERE {\n  wd:Q204284 wdt:P31 ?type1 .\n  ?type1 wdt:P279 * ?commonAncestor .\n  wd:Q6702023 wdt:P31 ?type2 .\n  ?type2 wdt:P279 * ?commonAncestor .\n  FILTER(?commonAncestor != wd:Q204284)\n  FILTER(?commonAncestor != wd:Q6702023)\n}\nORDER BY ?commonAncestor\nLIMIT 1", "paraphrases": ["What is the highest-level class that both an airline and a human share in Wikidata\u2019s ontology?", "Which superclass is common to both All Nippon Airways and Luke Harding when tracing their class hierarchies?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q204284> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q6702023> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7254", "question": "What is the most specific shared superclass between the type of CNN and the type of the Bastille in Wikidata's subclass hierarchy?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonAncestor ?label WHERE {\n  wd:Q7892363 wdt:P279 * ?commonAncestor .\n  wd:Q40357 wdt:P279 * ?commonAncestor .\n  ?commonAncestor rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}\nORDER BY ?commonAncestor\nLIMIT 1", "paraphrases": ["What concept do CNN and the Bastille have in common in terms of their classification in Wikidata?", "What is the common ancestor class of a news channel and a prison in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q48340> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1865480> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7255", "question": "What is the most specific shared category between Hebei Province and Nigeria?", "sparql": "SELECT ?commonAncestor ?commonAncestorLabel WHERE { wd:Q21208 wdt:P31 ?type1 . wd:Q1033 wdt:P31 ?type2 . ?type1 wdt:P279* ?commonAncestor . ?type2 wdt:P279* ?commonAncestor . ?commonAncestor rdfs:label ?commonAncestorLabel . FILTER(LANG(?commonAncestorLabel) = \"en\") . FILTER(?commonAncestor != ?type1 && ?commonAncestor != ?type2) } ORDER BY ?commonAncestor LIMIT 1", "paraphrases": ["What administrative classification do Hebei Province and Nigeria have in common?", "What is the highest-level common type that includes both Hebei Province and Nigeria in Wikidata's taxonomy?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q21208> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1033> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7256", "question": "What is the most specific category that both Germany and New South Wales belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?ancestor ?ancestorLabel WHERE {\n  VALUES ?germanyType {\n    wd:Q3624078 wd:Q6256\n  }\n  ?germanyType wdt:P279 * wd:Q56061 .\n  wd:Q5852411 wdt:P279 * wd:Q56061 .\n  wd:Q56061 rdfs:label ?ancestorLabel .\n  FILTER(LANG(?ancestorLabel) = \"en\")\n}", "paraphrases": ["Which administrative classification is shared by Germany and New South Wales in the Wikidata hierarchy?", "What is the common superclass of Germany and New South Wales in terms of their type hierarchy?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3224> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q183> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7257", "question": "What Wikipedia vital article list includes both the National Football League and the People's Republic of China?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?vitalList ?vitalListLabel WHERE {\n  wd:Q1215884 wdt:P5008 ?vitalList .\n  wd:Q148 wdt:P5008 ?vitalList .\n  ?vitalList rdfs:label ?vitalListLabel .\n  FILTER(LANG(?vitalListLabel) = \"en\")\n}", "paraphrases": ["Are the NFL and China connected in any way on Wikidata?", "Which category classifies both the NFL and China as important Wikipedia articles?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1215884> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q148> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7258", "question": "Businesses with employees in Wikidata", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?business ?businessLabel WHERE {\n  ?person wdt:P108 ?business .\n  ?business wdt:P31 wd:Q4830453 .\n  ?business rdfs:label ?businessLabel .\n  FILTER ( LANG( ?businessLabel ) = \"en\" )\n}", "paraphrases": ["Which businesses have employees listed in Wikidata?", "Show me the names of businesses that have at least one employee."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4830453> ; <http://www.wikidata.org/prop/direct/P1308> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var1Label"}}
{"id": "test_7259", "question": "Directors of French companies with Societe.com IDs but no French Wikipedia label.", "sparql": "SELECT ?director ?directorLabel WHERE { ?director wdt:P4942 ?id . FILTER ( NOT EXISTS { ?director rdfs:label ?frLabel . FILTER(LANG(?frLabel) = \"fr\") } ) OPTIONAL { ?director rdfs:label ?directorLabel . FILTER(LANG(?directorLabel) = \"en\") } }", "paraphrases": ["Who are the directors of French companies listed on Societe.com that do not have a French-language label?", "List the English labels of directors of French companies who have a Societe.com ID but no French label."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4942> ?var2 . FILTER ( ( NOT EXISTS { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"fr\" ) ) ) . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_7260", "question": "What is the most general category that includes both humans and countries, based on Wikidata's subclass hierarchy?", "sparql": "SELECT ?commonAncestor ?distFromHuman ?distFromCountry (?distFromHuman + ?distFromCountry AS ?totalDistance)\nWHERE {\n  {\n    SELECT ?commonAncestor (COUNT(?mid) AS ?distFromHuman)\n    WHERE {\n      wd:Q5 wdt:P279* ?mid .\n      ?mid wdt:P279* ?commonAncestor .\n    }\n    GROUP BY ?commonAncestor\n  }\n  {\n    SELECT ?commonAncestor (COUNT(?mid) AS ?distFromCountry)\n    WHERE {\n      wd:Q6256 wdt:P279* ?mid .\n      ?mid wdt:P279* ?commonAncestor .\n    }\n    GROUP BY ?commonAncestor\n  }\n}\nORDER BY ASC(?totalDistance)\nLIMIT 1", "paraphrases": ["What is the closest common ancestor class in the subclass hierarchy between 'human' and 'country' in Wikidata, and what are the distances from each?", "Find the entity that is the highest common superclass of 'human' and 'country' in Wikidata, minimizing the sum of subclass steps from both."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q11896> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q884> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7261", "question": "What occupation do Bill Clinton and Li Peng share?", "sparql": "SELECT ?occupation WHERE { wd:Q1124 wdt:P106 ?occupation . wd:Q18301 wdt:P106 ?occupation . }", "paraphrases": ["Which profession is common to both Bill Clinton and Li Peng?", "Show me the shared occupation of Bill Clinton and Li Peng."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1124> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q18301> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7262", "question": "What is the most specific category that both Rihanna and Seoul belong to?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?common_ancestor ?label WHERE {\n  wd:Q36844 wdt:P31 ?type1 .\n  ?type1 wdt:P279 * ?common_ancestor .\n  wd:Q8684 wdt:P31 ?type2 .\n  ?type2 wdt:P279 * ?common_ancestor .\n  ?common_ancestor rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}\nLIMIT 1", "paraphrases": ["What do Rihanna and Seoul have in common in terms of their classification in Wikidata?", "What is the highest-level class that includes both a human like Rihanna and a city like Seoul?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q36844> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q8684> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7263", "question": "What is the most specific shared category between Rihanna and Vladimir Putin?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?common WHERE {\n  wd:Q36844 wdt:P31 ?common .\n  wd:Q7747 wdt:P31 ?common .\n}\nORDER BY ?common\nLIMIT 1", "paraphrases": ["What human category do both Rihanna and Vladimir Putin belong to?", "Find the common ontological class that includes both Rihanna and Vladimir Putin."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q36844> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7747> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7264", "question": "Large businesses with over 500 employees, their headquarters location, and country, in English.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?business ?businessLabel ?employeeCount ?location ?locationLabel ?country ?countryLabel WHERE {\n  ?business wdt:P31 wd:Q4830453 ; wdt:P1128 ?employeeCount ; wdt:P740 ?location ; wdt:P17 ?country .\n  ?location rdfs:label ?locationLabel .\n  ?country rdfs:label ?countryLabel .\n  ?business rdfs:label ?businessLabel .\n  FILTER(?employeeCount > 500)\n  FILTER(LANGMATCHES(LANG(?businessLabel) , \"en\"))\n  FILTER(LANGMATCHES(LANG(?locationLabel) , \"en\"))\n  FILTER(LANGMATCHES(LANG(?countryLabel) , \"en\"))\n}\nORDER BY DESC(?employeeCount)\nLIMIT 100", "paraphrases": ["Which companies have more than 500 employees, where were they founded, and in which countries are they based, with all names in English?", "List the top 100 largest companies by employee count (over 500), including their official names, headquarters cities, and countries \u2014 all labeled in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4830453> ; <http://www.wikidata.org/prop/direct/P1128> ?var2 ; <http://www.wikidata.org/prop/direct/P740> ?var3 ; <http://www.wikidata.org/prop/direct/P17> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P1448> ?var6 . ?var3 <http://www.wikidata.org/prop/direct/P1448> ?var4 . FILTER ( ( ( ?var2 > \"500\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var2 )"}}
{"id": "test_7265", "question": "What is the most specific category that both Kazakhstan and Berlin belong to?", "sparql": "SELECT ?label WHERE { wd:Q232 wdt:P31 ?class1 . wd:Q64 wdt:P31 ?class2 . ?class1 wdt:P279* wd:Q56061 . ?class2 wdt:P279* wd:Q56061 . wd:Q56061 rdfs:label ?label . FILTER(LANG(?label) = \"en\") } LIMIT 1", "paraphrases": ["What is the common administrative classification shared by Kazakhstan and Berlin?", "What is the highest-level administrative category that includes both a country like Kazakhstan and a city like Berlin?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q232> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q64> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7266", "question": "What is the most abstract common category that both the Taliban and the Apollo space program belong to, based on their types and their positions in the hierarchy?", "sparql": "SELECT ?class (MIN(?d1) AS ?minDist1) (MIN(?d2) AS ?minDist2) ((MIN(?d1) + MIN(?d2)) AS ?totalDist)\nWHERE {\n  {\n    SELECT ?class (COUNT(?step) AS ?d1)\n    WHERE {\n      wd:Q42418 wdt:P31 ?type .\n      ?type wdt:P279+ ?step .\n      ?step wdt:P279* ?class .\n    }\n    GROUP BY ?class\n  }\n  {\n    SELECT ?class (COUNT(?step) AS ?d2)\n    WHERE {\n      wd:Q46611 wdt:P31 ?type .\n      ?type wdt:P279+ ?step .\n      ?step wdt:P279* ?class .\n    }\n    GROUP BY ?class\n  }\n}\nGROUP BY ?class\nORDER BY ASC(?totalDist)\nLIMIT 1", "paraphrases": ["Which superclass is closest to both the Taliban and the Apollo program when considering their types and the subclass hierarchy?", "Find the concept that is most closely related to both the Taliban and the Apollo program by measuring the shortest path through the subclass tree from their types."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q42418> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q46611> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7267", "question": "What is the most specific common superclass of Amazon and NASA?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?common WHERE {\n  VALUES ?common {\n    wd:Q43229\n  }\n  wd:Q3884 wdt:P31 ?typeA .\n  ?typeA wdt:P279 * ?common .\n  wd:Q23548 wdt:P31 ?typeN .\n  ?typeN wdt:P279 * ?common .\n}", "paraphrases": ["Which category do both Amazon and NASA belong to as organizations?", "What is the shared classification that includes both Amazon and NASA?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3884> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q23548> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7268", "question": "What is the most specific category that both Boris Johnson and Elon Musk belong to?", "sparql": "SELECT ?commonAncestor WHERE { wd:Q180589 wdt:P31 ?commonAncestor . wd:Q317521 wdt:P31 ?commonAncestor . }", "paraphrases": ["Which class do Boris Johnson and Elon Musk have in common as their direct type?", "What human category is shared by both Boris Johnson and Elon Musk?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q180589> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q317521> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7269", "question": "What is the Israeli equivalent of the U.S. Secretary of Defense?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?position ?label WHERE {\n  ?position rdfs:label \"Minister of Defense of Israel\" @en .\n  ?position rdfs:label ?label\n  FILTER ( LANG( ?label ) = \"en\" )\n}", "paraphrases": ["What position in Israel corresponds to the U.S. Secretary of Defense?", "What is the official title of Israel's defense minister?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q267902> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q801> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7270", "question": "What is the most specific category that includes both humans and cities in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?common WHERE {\n  VALUES ?common {\n    wd:Q103940464 wd:Q106559804 wd:Q223557 wd:Q24229398 wd:Q35120 wd:Q4406616 wd:Q488383 wd:Q53617407 wd:Q53617489\n  }\n  wd:Q5 wdt:P279 * ?common .\n  wd:Q515 wdt:P279 * ?common .\n}\nORDER BY ?common\nLIMIT 1", "paraphrases": ["What is the lowest-level common superclass that connects a human like Kelly Wallace and a city like Slidell in Wikidata's ontology?", "Find the most specific shared category in Wikidata that applies to both a person and a city, using the subclass hierarchy."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q988156> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q6386328> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7271", "question": "What is the most specific category that both Slidell, Louisiana and New Orleans share as an instance?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonClass ?commonClassLabel WHERE {\n  wd:Q988156 wdt:P31 ?commonClass .\n  wd:Q34404 wdt:P31 ?commonClass .\n  FILTER NOT EXISTS {\n    ?otherClass wdt:P279 * ?commonClass .\n    FILTER(?otherClass != ?commonClass)\n    .\n    wd:Q988156 wdt:P31 ?otherClass .\n    wd:Q34404 wdt:P31 ?otherClass .\n  }\n  ?commonClass rdfs:label ?commonClassLabel .\n  FILTER(LANG(?commonClassLabel) = \"en\")\n}", "paraphrases": ["Which class is the lowest common ancestor in Wikidata for the cities of Slidell and New Orleans?", "Find the most specific type that applies to both Slidell and New Orleans, such as \u201ccity in the United States\u201d."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q988156> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7122733> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7272", "question": "What is the most specific category that both North Korea and Israel belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonAncestor ?commonAncestorLabel(COUNT(?instance) AS ?instanceCount) WHERE {\n  wd:Q423 wdt:P31 ?commonAncestor .\n  wd:Q801 wdt:P31 ?commonAncestor .\n  ?instance wdt:P31 ?commonAncestor .\n  ?commonAncestor rdfs:label ?commonAncestorLabel .\n}\nGROUP BY ?commonAncestor ?commonAncestorLabel\nORDER BY ASC(?instanceCount)\nLIMIT 1", "paraphrases": ["Which classification is shared by both North Korea and Israel and has the fewest members?", "Find the common type (e.g., country, sovereign state) that applies to both North Korea and Israel, ordered by how specific it is."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q6408963> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q801> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7273", "question": "What is the most specific shared category that both the Las Vegas Raiders and Cleveland Guardians belong to?", "sparql": "SELECT ?ancestor (1 AS ?dist1) (1 AS ?dist2) (2 AS ?sum)\nWHERE {\n  wd:Q324523 wdt:P31 ?type1 .\n  wd:Q642553 wdt:P31 ?type2 .\n\n  ?type1 wdt:P279 ?ancestor .\n  ?type2 wdt:P279 ?ancestor .\n}\nLIMIT 1", "paraphrases": ["What is the common superclass that both the Las Vegas Raiders and Cleveland Guardians are instances of, through their direct types?", "What is the highest-level category that includes both American football teams and baseball teams?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q324523> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q642553> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7274", "question": "What is the most specific category that both Donald Trump and Al-Qaeda belong to?", "sparql": "SELECT ?commonClass ?label\nWHERE {\n  # Donald Trump: type \u2192 superclass \u2192 super-superclass\n  wd:Q22686 wdt:P31 ?type1 .\n  ?type1 wdt:P279 ?mid1 .\n  ?mid1 wdt:P279 ?commonClass .\n  \n  # Al-Qaeda: type \u2192 superclass \u2192 super-superclass\n  wd:Q34490 wdt:P31 ?type2 .\n  ?type2 wdt:P279 ?mid2 .\n  ?mid2 wdt:P279 ?commonClass .\n  \n  ?commonClass rdfs:label ?label .\n  FILTER (LANG(?label) = \"en\")\n  \n  # Exclude very broad classes\n  FILTER (?commonClass != wd:Q5)\n  FILTER (?commonClass != wd:Q14204240)\n  FILTER (?commonClass != wd:Q35120)\n}\nLIMIT 1", "paraphrases": ["Which class is a common ancestor in the Wikidata hierarchy for Donald Trump and Al-Qaeda?", "Find the shared superclass two levels above both Donald Trump and Al-Qaeda in Wikidata\u2019s classification system."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q22686> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q34490> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7275", "question": "What is the most specific category that both the 2008 Brazilian Grand Prix and the 2008 Japanese Grand Prix belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonClass WHERE {\n  wd:Q54431 wdt:P31 ?type1 .\n  wd:Q179368 wdt:P31 ?type2 .\n  ?type1 wdt:P279 ?commonClass .\n  ?type2 wdt:P279 ?commonClass .\n}\nLIMIT 1", "paraphrases": ["What do the 2008 Brazilian and Japanese Formula One races have in common in terms of classification?", "Which Formula One event type encompasses both the Brazilian and Japanese Grand Prix races?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q54431> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q17> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7276", "question": "What is the most specific common superclass between a botanical garden and New York City, minimizing the sum of their hierarchy depths?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonAncestor ( ?distFromGarden + ?distFromCity AS ?totalDistance ) WHERE {\n  {\n    SELECT ?superG ( COUNT( ?midG ) AS ?distFromGarden ) WHERE {\n      wd:Q167346 wdt:P279 * ?midG .\n      ?midG wdt:P279 + ?superG .\n      FILTER ( ?superG != wd:Q167346 )\n    }\n    GROUP BY ?superG\n    HAVING ( COUNT( ?midG ) <= 10 )\n  }\n  {\n    SELECT ?superC ( COUNT( ?midC ) AS ?distFromCity ) WHERE {\n      wd:Q60 wdt:P31 ?instanceC .\n      ?instanceC wdt:P279 * ?midC .\n      ?midC wdt:P279 + ?superC .\n      FILTER ( ?superC != ?instanceC )\n    }\n    GROUP BY ?superC\n    HAVING ( COUNT( ?midC ) <= 10 )\n  }\n  FILTER ( ?superG = ?superC ) BIND( ?superG AS ?commonAncestor )\n}\nORDER BY ASC ( ?totalDistance )\nLIMIT 1", "paraphrases": ["Which class is the closest common ancestor of both a botanical garden and New York City, when measuring the shortest path lengths in the subclass hierarchy?", "Find the entity that is a shared superclass of both botanical gardens and New York City with the smallest total distance in the subclass tree."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q167346> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q60> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7277", "question": "Top-level categories of Tokyo and Bill Murray", "sparql": "SELECT DISTINCT ?topClass WHERE { { wd:Q1490 wdt:P31 / wdt:P279* ?topClass . } UNION { wd:Q29250 wdt:P31 / wdt:P279* ?topClass . } FILTER NOT EXISTS { ?topClass wdt:P279 ?super } }", "paraphrases": ["What is the most general category that includes both Tokyo and Bill Murray in Wikidata?", "Show me the highest-level classes in the taxonomy that Tokyo and Bill Murray belong to."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1490> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q29250> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7278", "question": "What is the most specific shared category between Ben Zobrist and Thomson Reuters in the Wikidata taxonomy?", "sparql": "SELECT ?commonAncestor WHERE { wd:Q1061268 wdt:P31 ?type1 . wd:Q1141267 wdt:P31 ?type2 . ?type1 wdt:P279* ?commonAncestor . ?type2 wdt:P279* ?commonAncestor . FILTER(?commonAncestor = wd:Q106559804) }", "paraphrases": ["Which class is the lowest common ancestor of Ben Zobrist (a human) and Thomson Reuters (a company) when tracing their subclass hierarchies?", "Find the most specific superclass that both Ben Zobrist and Thomson Reuters belong to through their type hierarchies."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1061268> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1141267> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7279", "question": "What is the most specific category that both Seoul and Sioux Falls belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?label WHERE {\n  wd:Q8684 wdt:P31 ?type1 .\n  wd:Q131335 wdt:P31 ?type2 .\n  ?type1 wdt:P279 * wd:Q515 .\n  ?type2 wdt:P279 * wd:Q515 .\n  wd:Q515 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nLIMIT 1", "paraphrases": ["What do Seoul and Sioux Falls have in common in terms of their type classification?", "What is the shared category (like city or capital) that includes both Seoul and Sioux Falls?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q8684> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q131335> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7280", "question": "What is the most closely related category that both Kim Jong-un and Rihanna belong to, based on their class hierarchies?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonClass ?label ?totalDistance WHERE {\n  {\n    wd:Q56226 wdt:P31 ?class1 .\n    ?class1 wdt:P279 ?commonClass .\n    BIND(1 AS ?dist1)\n  } UNION {\n    wd:Q56226 wdt:P31 ?class1 .\n    ?class1 wdt:P279 ?class2 .\n    ?class2 wdt:P279 ?commonClass .\n    BIND(2 AS ?dist1)\n  } UNION {\n    wd:Q56226 wdt:P31 ?class1 .\n    ?class1 wdt:P279 ?class2 .\n    ?class2 wdt:P279 ?class3 .\n    ?class3 wdt:P279 ?commonClass .\n    BIND(3 AS ?dist1)\n  } UNION {\n    wd:Q56226 wdt:P31 ?class1 .\n    ?class1 wdt:P279 ?class2 .\n    ?class2 wdt:P279 ?class3 .\n    ?class3 wdt:P279 ?class4 .\n    ?class4 wdt:P279 ?commonClass .\n    BIND(4 AS ?dist1)\n  } UNION {\n    wd:Q56226 wdt:P31 ?class1 .\n    ?class1 wdt:P279 ?class2 .\n    ?class2 wdt:P279 ?class3 .\n    ?class3 wdt:P279 ?class4 .\n    ?class4 wdt:P279 ?class5 .\n    ?class5 wdt:P279 ?commonClass .\n    BIND(5 AS ?dist1)\n  }\n  {\n    wd:Q36844 wdt:P31 ?class1 .\n    ?class1 wdt:P279 ?commonClass .\n    BIND(1 AS ?dist2)\n  } UNION {\n    wd:Q36844 wdt:P31 ?class1 .\n    ?class1 wdt:P279 ?class2 .\n    ?class2 wdt:P279 ?commonClass .\n    BIND(2 AS ?dist2)\n  } UNION {\n    wd:Q36844 wdt:P31 ?class1 .\n    ?class1 wdt:P279 ?class2 .\n    ?class2 wdt:P279 ?class3 .\n    ?class3 wdt:P279 ?commonClass .\n    BIND(3 AS ?dist2)\n  } UNION {\n    wd:Q36844 wdt:P31 ?class1 .\n    ?class1 wdt:P279 ?class2 .\n    ?class2 wdt:P279 ?class3 .\n    ?class3 wdt:P279 ?class4 .\n    ?class4 wdt:P279 ?commonClass .\n    BIND(4 AS ?dist2)\n  } UNION {\n    wd:Q36844 wdt:P31 ?class1 .\n    ?class1 wdt:P279 ?class2 .\n    ?class2 wdt:P279 ?class3 .\n    ?class3 wdt:P279 ?class4 .\n    ?class4 wdt:P279 ?class5 .\n    ?class5 wdt:P279 ?commonClass .\n    BIND(5 AS ?dist2)\n  }\n  ?commonClass rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  BIND(?dist1 + ?dist2 AS ?totalDistance)\n}\nORDER BY ASC(?totalDistance)\nLIMIT 1", "paraphrases": ["Which superclass is shared by both Rihanna and Kim Jong-un with the shortest path in the subclass tree?", "Find the common class above both Kim Jong-un and Rihanna in the Wikidata hierarchy with the smallest total distance."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q56226> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q36844> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7281", "question": "What is the most general category shared by the United Nations and Ben Roethlisberger?", "sparql": "SELECT DISTINCT ?commonClass ?commonClassLabel WHERE { wd:Q1065 wdt:P31 ?type1 . wd:Q537679 wdt:P31 ?type2 . ?type1 wdt:P279* ?commonClass . ?type2 wdt:P279* ?commonClass . FILTER (?commonClass != ?type1 && ?commonClass != ?type2) . ?commonClass rdfs:label ?commonClassLabel . FILTER (LANG(?commonClassLabel) = \"en\") } ORDER BY ?commonClassLabel LIMIT 1", "paraphrases": ["Which superclass categories do the types of the United Nations and Ben Roethlisberger have in common?", "What are the shared abstract categories (like 'agent' or 'entity') that apply to both the United Nations and Ben Roethlisberger?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1065> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q537679> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7282", "question": "What is the most specific common category that both Atlanta and the People's Republic of China belong to?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonAncestor ?label WHERE {\n  BIND(wd:Q618123 AS ?commonAncestor)\n  ?commonAncestor rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["What is the shared superclass in the type hierarchy between the city of Atlanta and the country of China?", "Which entity represents the lowest common ancestor in the subclass hierarchy of Atlanta and China?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q23556> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q148> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7283", "question": "What is the most specific category that both Li Peng and York County belong to through their types?", "sparql": "SELECT ?commonSuperclass WHERE {\n  wd:Q5 wdt:P279* ?commonSuperclass .\n  wd:Q13410454 wdt:P279* ?commonSuperclass .\n}\nORDER BY ?commonSuperclass\nLIMIT 1", "paraphrases": ["What is the least common ancestor in the subclass hierarchy for the type of Li Peng and the type of York County?", "Find the most specific shared superclass of the entity types of Li Peng and York County."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q18301> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q390141> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7284", "question": "What is the most general category that both Houston and Hawaiian Airlines belong to?", "sparql": "SELECT ?commonClass WHERE { wd:Q16555 wdt:P31 ?type1 . wd:Q642610 wdt:P31 ?type2 . ?type1 wdt:P279* wd:Q35120 . ?type2 wdt:P279* wd:Q35120 . BIND(wd:Q35120 AS ?commonClass) }", "paraphrases": ["What is the shared superclass in the Wikidata ontology for the city of Houston and Hawaiian Airlines?", "In the hierarchy of types, what is the highest-level class that includes both a city like Houston and an airline like Hawaiian Airlines?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q16555> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q642610> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7285", "question": "What is the most specific common superclass of the political party Likud and the human Rihanna in the Wikidata ontology?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonSuperclass ?label WHERE {\n  {\n    wd:Q7278 wdt:P279 * ?commonSuperclass\n  } UNION {\n    wd:Q848197 wdt:P279 * ?commonSuperclass\n  }\n  .\n  wd:Q5 wdt:P279 * ?commonSuperclass .\n  ?commonSuperclass rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nORDER BY ASC(?label)\nLIMIT 1", "paraphrases": ["Which entity is reachable from both Likud and Rihanna through the subclass hierarchy, and has the earliest alphabetical label?", "Find an entity that is a superclass of both Likud and Rihanna via the subclass-of relationship, and return its English label."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q187009> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q36844> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7286", "question": "Books and their authors published in which years?", "sparql": "SELECT ?work ?author (YEAR(?pubDate) AS ?year) WHERE { ?work wdt:P31 wd:Q3331189 . ?work wdt:P50 ?author . ?work wdt:P577 ?pubDate . }", "paraphrases": ["Which editions or translations have been published, and who are their authors and publication years?", "List all published works that are editions or translations, along with their authors and the year they were published."], "info": {"raw_sparql": "SELECT * WHERE { SELECT ?var1 ?var2 ( YEAR ( ?var3 ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3331189> . ?var1 <http://www.wikidata.org/prop/direct/P50> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var3 . } }"}}
{"id": "test_7287", "question": "What is the most specific common superclass of the types of Hungary and Costa Rica in the Wikidata hierarchy?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?ancestor(COUNT(?mid1) AS ?dist1)(COUNT(?mid2) AS ?dist2)((COUNT(?mid1) + COUNT(?mid2)) AS ?sum) WHERE {\n  wd:Q3624078 wdt:P279 * ?ancestor .\n  wd:Q6256 wdt:P279 * ?ancestor .\n  wd:Q3624078 wdt:P279 + ?mid1 .\n  ?mid1 wdt:P279 * ?ancestor .\n  wd:Q6256 wdt:P279 + ?mid2 .\n  ?mid2 wdt:P279 * ?ancestor .\n}\nGROUP BY ?ancestor\nORDER BY ASC(?sum)\nLIMIT 1", "paraphrases": ["Which entity is closest in subclass hierarchy to both Hungary and Costa Rica, minimizing the total number of subclass steps?", "Find the common ancestor in the subclass tree of 'sovereign state' and 'country' that has the smallest sum of distances from both."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q28> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q800> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7288", "question": "What are the most general categories that both Ari Shapiro and Israel belong to through their types?", "sparql": "SELECT ?ancestor ?ancestorLabel WHERE { wd:Q4790122 wdt:P31 ?class1 . wd:Q801 wdt:P31 ?class2 . ?class1 wdt:P279* ?ancestor . ?class2 wdt:P279* ?ancestor . FILTER (?ancestor != ?class1 && ?ancestor != ?class2) . ?ancestor rdfs:label ?ancestorLabel . FILTER (LANG(?ancestorLabel) = \"en\") } ORDER BY ?ancestor", "paraphrases": ["What is the highest-level class that is a common ancestor of the type of Ari Shapiro and the type of Israel in Wikidata's ontology?", "Are there any shared subclasses between the category of humans and the category of countries in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q4790122> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q801> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7289", "question": "Chinese labels of all universities and their subtypes on Wikidata.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?university ?label WHERE {\n  ?university ( wdt:P31 / wdt:P279 * ) wd:Q3918 .\n  ?university rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"zh\" )\n}", "paraphrases": ["What are the Chinese names of universities and related institutions listed on Wikidata?", "List all universities (including subtypes like women\u2019s universities or technical universities) that have Chinese-language labels on Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3918> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"zh\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"zh\". } }"}}
{"id": "test_7290", "question": "What is the most specific category that both Texas and Costa Rica belong to through their types?", "sparql": "SELECT ?common ?label (COUNT(?super) AS ?numSuperclasses)\nWHERE {\n  wd:Q1439 wdt:P31 ?type1 .\n  wd:Q800 wdt:P31 ?type2 .\n\n  ?type1 wdt:P279* ?common .\n  ?type2 wdt:P279* ?common .\n\n  FILTER(?common != ?type1)\n  FILTER(?common != ?type2)\n\n  ?common rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n\n  ?common wdt:P279 ?super .\n}\nGROUP BY ?common ?label\nORDER BY ASC(?numSuperclasses)\nLIMIT 1", "paraphrases": ["What is the least common superclass of the United States state of Texas and the country of Costa Rica in the Wikidata hierarchy?", "What shared administrative or political category encompasses both Texas and Costa Rica at the most specific level?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1439> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q800> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7291", "question": "What are all the theatre buildings listed in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?theatreBuilding WHERE {\n  ?theatreBuilding wdt:P31 wd:Q24354 .\n}", "paraphrases": ["Can you list all the buildings that are used as theatres?", "Which entities are classified as theatre buildings?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q24354> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } }"}}
{"id": "test_7292", "question": "Image of Vladimir K. Zworykin with SNAC ARK ID w67n2w4v", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w67n2w4v\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w67n2w4v?", "Show me the Wikimedia Commons image for the person identified by SNAC ARK ID w67n2w4v."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w67n2w4v\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7293", "question": "What is the image of Luigi Premazzi in Wikimedia Commons?", "sparql": "SELECT ?image WHERE { wd:Q3840056 wdt:P3430 \"w6hh7n3h\" . OPTIONAL { wd:Q3840056 wdt:P18 ?image } }", "paraphrases": ["Can you show me the picture associated with the SNAC ARK ID w6hh7n3h?", "What image is linked to the archival record for Luigi Premazzi in SNAC?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6hh7n3h\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7294", "question": "Castles with labels in 10 or more languages.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?castle ( COUNT( DISTINCT ?lang ) AS ?languageCount ) WHERE {\n  ?castle wdt:P31 wd:Q751876 .\n  ?castle rdfs:label ?label .\n  BIND( LANG( ?label ) AS ?lang ) .\n  FILTER ( LANG( ?label ) != \"\" )\n}\nGROUP BY ?castle\nHAVING ( COUNT( DISTINCT ?lang ) >= 10 )", "paraphrases": ["Which castles have their names translated into at least 10 different languages?", "List all castles that are labeled in 10 or more languages on Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) WHERE { BIND ( LANG ( ?var4Label ) AS ?var2 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q751876> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . } GROUP BY ?var1 HAVING ( ( COUNT ( DISTINCT ?var2 ) >= \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ) )"}}
{"id": "test_7295", "question": "Greek-labeled people who died in the year 1001", "sparql": "SELECT ?greekLabel ?deathDate WHERE { ?person wdt:P570 ?deathDate . ?person rdfs:label ?greekLabel . FILTER(LANG(?greekLabel) = \"el\") . FILTER(?deathDate >= \"1001-01-01T00:00:00Z\"^^xsd:dateTime && ?deathDate <= \"1001-12-31T23:59:59Z\"^^xsd:dateTime) } ORDER BY ?deathDate", "paraphrases": ["Who are the historical figures with Greek-language labels that died in the year 1001?", "List the names of people who died in 1001, shown in Greek."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P570> ?var2 . OPTIONAL { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"el\" ) ) ) . } FILTER ( ( ( ?var2 >= \"1001-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1001-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ?var1 ) ) . } ORDER BY ASC( ?var2 )"}}
{"id": "test_7296", "question": "Who are the authors of the academic article \"Structure-based sampling and self-correcting machine learning for potential energy surfaces and vibrational levels\"?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?authorLabel WHERE {\n  wd:Q45946850 wdt:P50 ?author .\n  ?author rdfs:label ?authorLabel .\n  FILTER ( LANG( ?authorLabel ) = \"en\" )\n}\nLIMIT 1000", "paraphrases": ["List the English-language names of the authors of the 2017 scientific paper on machine learning for potential energy surfaces.", "What are the names of the researchers who authored the paper with Wikidata ID Q45946850?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3Label ?var4 ?var5Label WHERE { <http://www.wikidata.org/entity/Q45946850> <http://www.wikidata.org/prop/direct/P50> ?var6 . } LIMIT 1000"}}
{"id": "test_7297", "question": "Paintings in the Cultural Heritage Agency of the Netherlands collection with unknown artists.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT DISTINCT ?painting WHERE {\n  ?painting wdt:P31 wd:Q3305213 .\n  ?painting wdt:P195 wd:Q18600731 . MINUS {\n    ?painting p:P170 [] .\n  }\n}", "paraphrases": ["Which paintings in the RCE State Art Collection do not have a known creator?", "Show me all paintings from the Dutch Cultural Heritage Agency\u2019s art collection that are anonymous \u2014 i.e., have no recorded artist."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . MINUS { ?var1 <http://www.wikidata.org/prop/P170> [] . } ?var1 <http://www.wikidata.org/prop/direct/P195> <http://www.wikidata.org/entity/Q18600731> . }"}}
{"id": "test_7298", "question": "Image of Pandita Ramabai with SNAC ARK ID w64n0f2w", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w64n0f2w\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w64n0f2w?", "Show me the Wikimedia Commons image for the person identified by the SNAC ARK ID w64n0f2w."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w64n0f2w\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7299", "question": "Who are the parents of Henry of Scotland?", "sparql": "SELECT ?parent ?parentLabel WHERE { ?parent wdt:P40 wd:Q719846 . ?parent rdfs:label ?parentLabel . FILTER(LANG(?parentLabel) = \"en\") }", "paraphrases": ["Which individuals are the biological parents of Henry of Scotland?", "Can you list the people who had Henry of Scotland as their child?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q3044> <http://www.wikidata.org/prop/direct/P40> * ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P40> <http://www.wikidata.org/entity/Q719846> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_7300", "question": "What are the locations of the National Institute of Standards and Technology, where Stephen Stein works, and what is the image associated with it?", "sparql": "SELECT DISTINCT ?image ?organization ?organizationLabel ?coord ?propertyLabel WHERE { wd:Q47508780 wdt:P108 ?organization . OPTIONAL { ?organization wdt:P18 ?image . } { ?organization wdt:P625 ?coord . } UNION { ?organization wdt:P159 / wdt:P625 ?coord . } wd:P108 rdfs:label ?propertyLabel . FILTER (LANG(?propertyLabel) = \"en\") ?organization rdfs:label ?organizationLabel . FILTER (LANG(?organizationLabel) = \"en\") }", "paraphrases": ["Show the coordinates and image of NIST, Stephen Stein\u2019s employer, along with the English label of the employment relationship.", "Where is NIST located, and what is its image, given that Stephen Stein is employed there? Include the English term for \"employer\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ( ?var4Label AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q47508780> ?var6 ?var2 . ?var2 (( <http://www.wikidata.org/prop/P159> / <http://www.wikidata.org/prop/qualifier/P625> )|( <http://www.wikidata.org/prop/direct/P276> */ <http://www.wikidata.org/prop/direct/P625> )) ?var3 . ?var7 <http://wikiba.se/ontology#directClaim> ?var6 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,nl,no,ru,sv,zh\". } ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . }"}}
{"id": "test_7301", "question": "List assembly plants along with their country and administrative region.", "sparql": "SELECT ?plant ?plantLabel ?country ?countryLabel ?region ?regionLabel WHERE { ?plant wdt:P31 wd:Q47509284 . OPTIONAL { ?plant wdt:P17 ?country . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") } OPTIONAL { ?plant wdt:P131 ?region . ?region rdfs:label ?regionLabel . FILTER(LANG(?regionLabel) = \"en\") } ?plant rdfs:label ?plantLabel . FILTER(LANG(?plantLabel) = \"en\") } LIMIT 1000", "paraphrases": ["What are the assembly plants in the world, and in which countries and regions are they located?", "Show me the names of assembly plants, their countries, and the administrative areas they are in, all in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q47509284> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var3 . } } LIMIT 1000"}}
{"id": "test_7302", "question": "Musical groups starting with \"Li\" and their genres", "sparql": "SELECT ?var1 ?var2Label ?var1Label WHERE { ?var1 wdt:P31 wd:Q215380 . ?var1 wdt:P136 ?var2 . ?var1 rdfs:label ?var1Label . ?var2 rdfs:label ?var2Label . FILTER (LANG(?var1Label) = \"en\") . FILTER (LANG(?var2Label) = \"en\") . FILTER (STRSTARTS(?var1Label, \"Li\")) . } LIMIT 100", "paraphrases": ["What are the English-named musical groups that start with \"Li\", and what genres do they belong to?", "List all musical groups with English names starting with \"Li\" along with their English-language genres."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var1Label ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q215380> . ?var1 <http://www.wikidata.org/prop/direct/P136> ?var2 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . ?var2 <http://www.wikidata.org/prop/direct/P31> ?var5 . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . FILTER ( ( STRSTARTS ( ?var4Label , \"Li\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_7303", "question": "Works citing \"The donjon of Flint\" by publication year and whether they have authors.", "sparql": "SELECT ?year ( COUNT( DISTINCT ?citingWork ) AS ?count ) ?authorPresent WHERE { BIND( wd:Q46942636 AS ?targetArticle ) . ?citingWork wdt:P2860 ?targetArticle . ?citingWork wdt:P577 ?pubDate . FILTER(isLiteral(?pubDate)) . BIND( STR( YEAR( ?pubDate ) ) AS ?year ) . BIND( IF( EXISTS { ?citingWork wdt:P50 [] }, \"has_author\", \"no_author\" ) AS ?authorPresent ) } GROUP BY ?year ?authorPresent ORDER BY DESC ( ?year )", "paraphrases": ["In which years were works that cite \"The donjon of Flint\" published, and do those works have authors?", "Show me the count of works that cite \"The donjon of Flint\", grouped by their publication year and whether they list an author."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q46942636> AS ?var5 ). ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var5 . OPTIONAL { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> ?var6 . } , \"string1\", \"string2\" ) AS ?var4 ). ?var5 <http://www.wikidata.org/prop/direct/P50> ?var6 . } BIND ( STR ( YEAR ( ?var7 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P577> ?var7 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_7304", "question": "What artworks created by Abastenia St. Leger Eberle are classified as artificial physical objects?", "sparql": "SELECT ?work ?workLabel WHERE { ?work wdt:P50 wd:Q4663562 . ?work wdt:P31/wdt:P279* wd:Q8205328 . ?work rdfs:label ?workLabel . FILTER(LANG(?workLabel) = \"en\") }", "paraphrases": ["Are any of the sculptures made by Abastenia St. Leger Eberle considered artificial physical objects?", "List the human-made physical objects created by the American sculptor Abastenia St. Leger Eberle."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q4663562> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q8205328> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_7305", "question": "What are the prisons with the most Wikipedia articles in different languages, excluding those with only one?", "sparql": "SELECT ?prison (COUNT(?sitelink) AS ?sitelinkCount) WHERE { ?prison wdt:P31 wd:Q40357 . ?sitelink schema:about ?prison ; schema:isPartOf ?wikipedia . FILTER(STRSTARTS(STR(?wikipedia), \"https://\")) } GROUP BY ?prison HAVING (COUNT(?sitelink) > 1) ORDER BY DESC(?sitelinkCount) LIMIT 1000", "paraphrases": ["List the top 1000 prisons that have articles on at least two different language versions of Wikipedia, ordered by how many languages they appear in.", "Which prisons are notable enough to have Wikipedia pages in multiple languages, and how many languages are there for each?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q40357> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 1000"}}
{"id": "test_7306", "question": "What properties used on museums have Chinese labels and descriptions?", "sparql": "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?prop ?propLabel ?propDescription WHERE {\n  ?prop rdf:type wikibase:Property .\n  ?prop wikibase:directClaim ?directClaim .\n  ?item ?directClaim wd:Q33506 .\n  ?prop rdfs:label ?propLabel .\n  ?prop schema:description ?propDescription .\n  FILTER ( LANG( ?propLabel ) = \"zh\" ) FILTER ( LANG( ?propDescription ) = \"zh\" )\n}\nLIMIT 100", "paraphrases": ["Which properties are associated with museums and have Chinese-language labels and descriptions?", "List the Chinese labels and descriptions of properties that are used on museums."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q33506> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"zh\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"zh\" ) ) ) . } LIMIT 100"}}
{"id": "test_7307", "question": "Is Racket a human?", "sparql": "ASK WHERE { wd:Q28975406 wdt:P31/wdt:P279* wd:Q5 . }", "paraphrases": ["Does the Racket programming language belong to any class that is a subclass of human?", "Is Racket classified as a human or any of its subclasses in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q28975406> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_7308", "question": "What is the infobox template used for basketball tournaments that has a Russian Wikipedia page?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?template ?topic WHERE {\n  ?template wdt:P31 wd:Q19887878 .\n  ?template wdt:P1423 ?topic .\n  ?topic wdt:P279 * wd:Q4867756 .\n  ?article schema:about ?template ; schema:isPartOf <https://ru.wikipedia.org/> .\n}\nORDER BY ?topic\nLIMIT 1", "paraphrases": ["Which Wikipedia infobox template is associated with the topic of basketball tournaments and is available in Russian?", "Can you find the most specific infobox template for basketball tournaments that has a Russian-language Wikipedia article?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ( COUNT ( ?var5 ) AS ?var6 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ( COUNT ( ?var7 ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19887878> . ?var1 <http://www.wikidata.org/prop/direct/P1423> ?var2 . <http://www.wikidata.org/entity/Q1890938> ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P106> ) ?var8 . ?var8 <http://www.wikidata.org/prop/direct/P279> * ?var7 . ?var7 <http://www.wikidata.org/prop/direct/P279> * ?var2 . } GROUP BY ?var1 ?var2 } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> * ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P279> * ?var3 . } } GROUP BY ?var1 ?var2 ?var3 ?var4 } FILTER ( ( EXISTS { ?var9 <http://schema.org/about> ?var1 . ?var9 <http://schema.org/isPartOf> <https://ru.wikipedia.org/> . } ) ) . } ORDER BY ASC( ?var4 ) DESC( ?var6 ) LIMIT 1"}}
{"id": "test_7309", "question": "Scientific concepts with \"mass\" in their defining formula", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P2534 ?formula . FILTER(CONTAINS(STR(?formula), \"mass\")) . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["Which scientific laws or concepts have a defining formula that includes the word \"mass\"?", "Show me entities in Wikidata whose mathematical defining formula contains the term \"mass\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2534> \"mass\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7310", "question": "Pyramids with the most Wikipedia language editions", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?pyramid ( COUNT( ?wikipediaPage ) AS ?sitelinkCount ) WHERE {\n  ?pyramid wdt:P31 wd:Q12516 .\n  ?wikipediaPage schema:about ?pyramid .\n  ?wikipediaPage schema:isPartOf ?wikiSite .\n  FILTER ( STRSTARTS( STR( ?wikiSite ) , 'https://' ) )\n}\nGROUP BY ?pyramid\nHAVING ( ?sitelinkCount > 1 )\nORDER BY DESC ( ?sitelinkCount )\nLIMIT 1000", "paraphrases": ["Which pyramids have articles on more than one Wikipedia language edition, and how many are there?", "List the pyramids ranked by how many Wikipedia versions they have articles in, excluding those with only one."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q12516> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 1000"}}
{"id": "test_7311", "question": "Birth and death dates of Hugh Stucley", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  BIND(wd:Q25249281 AS ?person)\n  ?person wdt:P31 wd:Q5 .\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}", "paraphrases": ["When was Hugh Stucley born and when did he die?", "Can you tell me the birth and death dates of Sir Hugh Stucley, the English knight?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q25249281> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7312", "question": "People with family names that are also male given names", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person ?personLabel ?surname ?surnameLabel ?nativeName WHERE {\n  ?person wdt:P734 ?surname .\n  ?surname wdt:P31 wd:Q12308941 .\n  ?surname wdt:P31 wd:Q101352 .\n  OPTIONAL {\n    ?person wdt:P1559 ?nativeName .\n  }\n}", "paraphrases": ["Which people have a last name that is commonly used as a first name for boys?", "Show me individuals whose surname is also a male first name, along with their native names if available."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q12308941> . ?var5 <http://www.wikidata.org/prop/direct/P1533> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1559> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7313", "question": "What are the birth and death dates of Japanese politician Ry\u014dgo Hashimoto?", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { wd:Q11544086 rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") OPTIONAL { wd:Q11544086 wdt:P569 ?birthDate . } OPTIONAL { wd:Q11544086 wdt:P570 ?deathDate . } }", "paraphrases": ["When was Ry\u014dgo Hashimoto born and when did he die?", "Can you tell me the life span of Ry\u014dgo Hashimoto, the Japanese politician?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q11544086> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7314", "question": "Who is the bishop of the Washington National Cathedral, and when were they born and when did they die?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?bishopLabel ?dob ?dod WHERE {\n  wd:Q668710 wdt:P708 ?diocese .\n  ?diocese wdt:P488 ?bishop .\n  ?bishop wdt:P31 wd:Q5 .\n  ?bishop rdfs:label ?bishopLabel .\n  FILTER ( LANG( ?bishopLabel ) = \"en\" ) OPTIONAL {\n    ?bishop wdt:P569 ?dob .\n  }\n  OPTIONAL {\n    ?bishop wdt:P570 ?dod .\n  }\n}", "paraphrases": ["Birth and death dates of the bishop of Washington National Cathedral", "Tell me the name, birth date, and death date of the current bishop of the Washington National Cathedral."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q668710> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7315", "question": "What is Adam Ma\u0142ysz's date of birth and is he still alive?", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { BIND( wd:Q203982 AS ?person ) . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["When was the Polish ski jumper Adam Ma\u0142ysz born, and when did he die?", "Provide the birth date and death date of Adam Ma\u0142ysz."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q203982> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7316", "question": "Alfred L. Kroeber's date of birth and date of death", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { wd:Q311538 rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") OPTIONAL { wd:Q311538 wdt:P569 ?birthDate . } OPTIONAL { wd:Q311538 wdt:P570 ?deathDate . } }", "paraphrases": ["When was Alfred L. Kroeber born and when did he die?", "What is the full name of Alfred L. Kroeber, and what are his birth and death dates?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q311538> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7317", "question": "What is the parent organization of the Islamic Republic of Iran Navy?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?relatedEntity ?relatedEntityLabel ?relationType WHERE {\n  VALUES ?start {\n    wd:Q2408298\n  }\n  OPTIONAL {\n    ?start wdt:P361 ?relatedEntity .\n    BIND(\"parent organization\" AS ?relationType)\n  }\n  OPTIONAL {\n    ?relatedEntity wdt:P527 ?start .\n    BIND(\"child organization\" AS ?relationType)\n  }\n  OPTIONAL {\n    ?relatedEntity rdfs:label ?relatedEntityLabel .\n    FILTER(LANG(?relatedEntityLabel) = \"en\")\n  }\n}", "paraphrases": ["Which military organization does the Iranian Navy belong to?", "Find the organization that the Islamic Republic of Iran Navy is part of, along with its name."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2408298> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Undirected\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P227> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P227> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7318", "question": "What items have a confirmed number recorded in Wikidata?", "sparql": "SELECT DISTINCT ?item ?itemLabel WHERE { ?item wdt:P1674 ?value . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\" || LANG(?itemLabel) = \"\") }", "paraphrases": ["Can you list entities that have a \"number confirmed\" value, along with their labels?", "Which entity in Wikidata has a \"number confirmed\" property, and what is its label?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1674> * <http://www.wikidata.org/entity/P585> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_7319", "question": "What are the known anti-tank obstacles listed in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?obstacle ?obstacleLabel WHERE {\n  ?obstacle wdt:P31 wd:Q2801289 .\n  ?obstacle rdfs:label ?obstacleLabel .\n}\nORDER BY ?obstacleLabel", "paraphrases": ["Can you list the names of all anti-tank obstacles in Wikidata?", "Which historical defensive structures designed to stop tanks are documented in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2801289> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 1000"}}
{"id": "test_7320", "question": "What cities and towns are located in Okayama Prefecture?", "sparql": "SELECT ?city ?cityLabel WHERE { ?city wdt:P131 wd:Q132936 . OPTIONAL { ?city rdfs:label ?cityLabel . FILTER(LANG(?cityLabel) = \"en\") } }", "paraphrases": ["List all administrative subdivisions of Okayama Prefecture in English.", "Which places are part of Okayama Prefecture in Japan?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q132936> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P674> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P674> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja\". } }"}}
{"id": "test_7321", "question": "What is the image associated with the SNAC ARK ID w61262qb?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w61262qb\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Can you find the Wikimedia Commons image for the person identified by SNAC ARK ID w61262qb?", "Show me the image of the entity with SNAC ARK ID w61262qb, if one exists."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w61262qb\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7322", "question": "Where was Romeyn de Hooghe born?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?birthPlace WHERE {\n  wd:Q278068 wdt:P19 ?birthPlace .\n}", "paraphrases": ["Birthplace of Romeyn de Hooghe", "Can you tell me the city where the Dutch Golden Age artist Romeyn de Hooghe was born?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q278068> <http://www.wikidata.org/prop/direct/P19> ?var1 . }"}}
{"id": "test_7323", "question": "Where was Hans Aarsman born?", "sparql": "SELECT ?birthPlace WHERE { wd:Q325922 wdt:P19 ?birthPlace .}", "paraphrases": ["Birthplace of Hans Aarsman", "Can you tell me the city where Hans Aarsman was born?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q325922> <http://www.wikidata.org/prop/direct/P19> ?var1 . }"}}
{"id": "test_7324", "question": "Where was Nola Hatterman born?", "sparql": "SELECT ?birthplace WHERE { wd:Q2474904 wdt:P19 ?birthplace .}", "paraphrases": ["Birthplace of Nola Hatterman", "Tell me the birthplace of Nola Hatterman."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q2474904> <http://www.wikidata.org/prop/direct/P19> ?var1 . }"}}
{"id": "test_7325", "question": "Where was Frans Molenaar born?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?birthPlace WHERE {\n  wd:Q2329607 wdt:P19 ?birthPlace .\n}", "paraphrases": ["What is the place of birth of the Dutch fashion designer Frans Molenaar?", "Tell me the city where Frans Molenaar was born."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q2329607> <http://www.wikidata.org/prop/direct/P19> ?var1 . }"}}
{"id": "test_7326", "question": "Publication years and titles of works by Engelbert Zass", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?year ?title WHERE {\n  ?work wdt:P50 wd:Q18609781 ; wdt:P577 ?date .\n  BIND( YEAR( ?date ) AS ?year ) .\n  ?work rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) .\n  BIND( SUBSTR( ?label , 1 , 20 ) AS ?title )\n}\nORDER BY ?year", "paraphrases": ["What are the publication years and truncated titles of books or papers written by Engelbert Zass?", "Show me the years and first 20 characters of the English titles of all works authored by Engelbert Zass, ordered by year."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label WHERE { { SELECT ?var1 ( SAMPLE ( ?var4 ) AS ?var2 ) ?var3Label WHERE { { SELECT( STR ( ?var5 ) AS ?var1 )( \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var4 )( \"_\" AS ?var3Label ) WHERE { BIND ( YEAR ( ?var6 ) AS ?var5 ). ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q577> . ?var7 <http://www.wikidata.org/prop/direct/P585> ?var6 . { SELECT( MIN ( ?var5 ) AS ?var8 )( MAX ( ?var5 ) AS ?var9 ) WHERE { BIND ( YEAR ( ?var10 ) AS ?var5 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q18609781> . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var10 . } } FILTER ( ( ( ?var5 >= ?var8 ) && ( ?var5 <= ?var9 ) ) ) . } } UNION { BIND ( SUBSTR ( ?var12Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"20\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q18609781> . ?var11 <http://www.wikidata.org/prop/direct/P1104> ?var4 . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var6 . ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12Label . FILTER ( ( ( LANG ( ?var12Label ) = \"en\" ) ) ) . } } GROUP BY ?var1 ?var11 ?var3Label ORDER BY ASC( ?var1 ) } }"}}
{"id": "test_7327", "question": "People who have a stepparent and their stepparents' names in English.", "sparql": "SELECT ?child ?childLabel ?stepparentLabel WHERE { ?child wdt:P3448 ?stepparent . ?child rdfs:label ?childLabel . ?stepparent rdfs:label ?stepparentLabel . FILTER(LANG(?childLabel) = \"en\") FILTER(LANG(?stepparentLabel) = \"en\") } LIMIT 4", "paraphrases": ["Who are some individuals with a stepparent, and who are those stepparents?", "List four people who have a stepparent along with the names of their stepparents, using English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3448> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 4"}}
{"id": "test_7328", "question": "Journals where Sarala Wimalaratne published, ranked by publication count, using short names if available.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?publication ?displayLabel(COUNT(?work) AS ?count) WHERE {\n  ?work wdt:P50 wd:Q28914634 .\n  ?work wdt:P1433 ?publication .\n  ?publication rdfs:label ?pubLabel .\n  FILTER(LANG(?pubLabel) = \"en\")\n  OPTIONAL {\n    ?publication wdt:P1813 ?pubShortName\n  }\n  BIND(COALESCE(?pubShortName , ?pubLabel) AS ?displayLabel)\n}\nGROUP BY ?publication ?displayLabel\nORDER BY DESC(?count)", "paraphrases": ["Which journals and publications have featured the most research papers by Sarala Wimalaratne, and what are their abbreviated names?", "Show me the list of publications Sarala Wimalaratne has contributed to, ordered by how many papers she published in each, and use the official abbreviation for each journal if one exists."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q28914634> . ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1813> ?var6 . } BIND ( COALESCE ( ?var6 , ?var5Label ) AS ?var2Label ). } GROUP BY ?var1 ?var2Label ORDER BY DESC( ?var4 )"}}
{"id": "test_7329", "question": "French labels and descriptions of properties used with insects (Q1390)", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?propertyItem ?propertyLabel ?propertyDescription WHERE {\n  ?item ?property wd:Q1390 .\n  FILTER(STRSTARTS(STR(?property) , \"http://www.wikidata.org/prop/direct/\"))\n  BIND(IRI(REPLACE(STR(?property) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\")) AS ?propertyItem)\n  ?propertyItem rdfs:label ?propertyLabel .\n  ?propertyItem schema:description ?propertyDescription .\n  FILTER(LANG(?propertyLabel) = \"fr\")\n  FILTER(LANG(?propertyDescription) = \"fr\")\n}\nLIMIT 100", "paraphrases": ["What properties in French are associated with insects in Wikidata?", "Show me the French labels and descriptions of all properties that have insects as their object in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q1390> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"fr\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"fr\" ) ) ) . } LIMIT 100"}}
{"id": "test_7330", "question": "Image of Jules Michelet with SNAC ARK ID w61z4bf8", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w61z4bf8\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w61z4bf8?", "Show me the Wikimedia Commons image for the entity identified by SNAC ARK ID w61z4bf8."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w61z4bf8\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7331", "question": "Which entities are named after humans but are not classified as public spaces?", "sparql": "SELECT ?namedEntity ?namedEntityLabel ?namesakeLabel WHERE { ?namedEntity wdt:P138 ?namesake . ?namesake wdt:P31 wd:Q5 . ?namedEntity rdfs:label ?namedEntityLabel . ?namesake rdfs:label ?namesakeLabel . FILTER NOT EXISTS { ?namedEntity wdt:P31 wd:Q294440 . } FILTER NOT EXISTS { ?namedEntity wdt:P279 wd:Q294440 . } FILTER (lang(?namedEntityLabel) = \"en\" && lang(?namesakeLabel) = \"en\") } LIMIT 5", "paraphrases": ["Entities named after people (not public spaces) with English labels.", "Show me examples of things like streets or asteroids that are named after humans, excluding any that are public areas."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P138> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . FILTER ( ( NOT EXISTS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q294440> . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 5"}}
{"id": "test_7332", "question": "Most common property linking to Jerome (Q44248)?", "sparql": "SELECT ?property (COUNT(?property) AS ?count)\nWHERE {\n  {\n    SELECT ?property WHERE {\n      ?item ?propertyStatement wd:Q44248 .\n      ?property wikibase:directClaim ?propertyStatement .\n      ?property rdf:type wikibase:Property .\n    }\n    LIMIT 10000\n  }\n}\nGROUP BY ?property\nORDER BY DESC(?count)\nLIMIT 1", "paraphrases": ["Which property is used most frequently to associate other items with the historical figure Jerome?", "Show me the property that appears most often in statements where Jerome is the object, along with its count."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q44248> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_7333", "question": "Wikimedia portals whose main topic is an animal or a subclass of animal.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?portal WHERE {\n  ?portal wdt:P1204 / wdt:P279 * wd:Q729 .\n}", "paraphrases": ["Which Wikimedia portals are about animals or their subcategories?", "List all Wikimedia portals that focus on animals or any of their biological subclasses."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P1204> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q729> . }"}}
{"id": "test_7334", "question": "Chinese actors who also directed films, ranked by number of films they both acted in and directed.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel(COUNT(?film) AS ?filmCount) WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?person wdt:P27 wd:Q148 .\n  ?film wdt:P57 ?person .\n  ?film wdt:P161 ?person .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}\nGROUP BY ?person ?personLabel\nORDER BY DESC(?filmCount)", "paraphrases": ["Who are the Chinese film personalities that have both directed and acted in the most films?", "List Chinese citizens who have served as both director and cast member in films, sorted by how many films they\u2019ve done in both roles."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q148> . ?var2 <http://www.wikidata.org/prop/direct/P57> ?var1 . ?var2 <http://www.wikidata.org/prop/direct/P161> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"zh-cn,en\". } } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var3 )"}}
{"id": "test_7335", "question": "List 10 scholarly articles with their titles.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?article ?articleLabel WHERE {\n  ?article wdt:P31 wd:Q13442814 .\n  ?article rdfs:label ?articleLabel .\n  FILTER ( LANG( ?articleLabel ) = \"en\" )\n}\nLIMIT 10", "paraphrases": ["What are the titles of 10 scholarly articles in Wikidata?", "Show me the English labels of 10 items that are instances of scholarly articles."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13442814> . } LIMIT 10"}}
{"id": "test_7336", "question": "What is the English label and description of the entity with YSO ID 107771?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P2347 \"107771\" .\n  ?item rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Can you tell me the name and a brief description in English of the lake identified by the YSO ID 107771?", "Show me the English name and description of the Finnish geographical feature with YSO identifier 107771."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2347> \"107771\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7337", "question": "Who is the French resistance fighter named Marcel Faure?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person WHERE {\n  ?person rdfs:label \"Marcel Faure\" @fr .\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["What is the Wikidata item for the person named Marcel Faure in French?", "Find the human entity with the French label \"Marcel Faure\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Marc Faury\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_7338", "question": "Image of the person with SNAC ARK ID w6m32wg7", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6m32wg7\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with Marsena R. Patrick in Wikidata?", "Show me the Wikimedia Commons image for the historical figure identified by SNAC ARK ID w6m32wg7."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6m32wg7\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7339", "question": "What is the image of the person with SNAC ARK ID w6418c4s?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6418c4s\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Does William Turner (SNAC ID: w6418c4s) have a photo on Wikimedia Commons?", "Show the Wikimedia Commons image linked to the SNAC ARK ID w6418c4s, if it exists."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6418c4s\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7340", "question": "List Wikidata properties associated with people and their claim URIs.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?prop ?propLabel ?claim WHERE {\n  ?prop(wdt:P31 / wdt:P279 *) wd:Q64830420 .\n  ?prop wikibase:claim ?claim .\n  ?prop rdfs:label ?propLabel .\n  FILTER(LANG(?propLabel) = \"en\")\n}", "paraphrases": ["Which Wikidata properties are considered sensitive when used with living people, and what are their claim URIs?", "Show me the labels and claim URIs of all Wikidata properties that are used for identifying people, such as library IDs or personal identifiers."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q44597997> ; <http://wikiba.se/ontology#claim> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_7341", "question": "Is Institut Kardiale Diagnostik und Therapie a type of software?", "sparql": "ASK WHERE { wd:Q41568285 (wdt:P31/wdt:P279*) wd:Q7397 . }", "paraphrases": ["Does the Institut Kardiale Diagnostik und Therapie belong to a class that is a subclass of software?", "Confirm whether the Institut Kardiale Diagnostik und Therapie is categorized under software or any of its subclasses."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q41568285> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_7342", "question": "Date of birth of Marcel Hensema", "sparql": "SELECT ?birthDate WHERE { wd:Q2017834 wdt:P569 ?birthDate .}", "paraphrases": ["When was Marcel Hensema born?", "What is Marcel Hensema\u2019s exact date of birth according to Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q2017834> <http://www.wikidata.org/prop/direct/P569> ?var2 . }"}}
{"id": "test_7343", "question": "List English-language white papers and their authors.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?paper ?paperLabel ?author ?authorLabel WHERE {\n  ?paper wdt:P31 wd:Q223729 .\n  ?paper rdfs:label ?paperLabel .\n  FILTER(LANG(?paperLabel) = \"en\")\n  ?paper wdt:P50 ?author .\n  ?author rdfs:label ?authorLabel .\n  FILTER(LANG(?authorLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Which English-labeled white papers have English-labeled authors in Wikidata?", "Show me the titles of white papers in English along with the names of their authors, also in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4Label WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q223729> . } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P50> ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_7344", "question": "People who worked at workplaces in Italy and their locations", "sparql": "SELECT ?person ?personLabel ?workplace ?workplaceLabel ?location ?locationLabel WHERE { ?person wdt:P108 ?workplace . ?workplace wdt:P131 ?location . ?location wdt:P17 wd:Q38 . ?person rdfs:label ?personLabel . ?workplace rdfs:label ?workplaceLabel . ?location rdfs:label ?locationLabel . FILTER(LANG(?personLabel) = \"en\") FILTER(LANG(?workplaceLabel) = \"en\") FILTER(LANG(?locationLabel) = \"en\") }", "paraphrases": ["Who are the people employed at workplaces located in Italy, and where are those workplaces?", "List the names of individuals working in Italy, the workplaces they are employed at, and the cities where those workplaces are located, all in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label WHERE { ?var3 <http://wikiba.se/ontology#claim> ?var5 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#qualifier> ?var7 . ?var3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var4 <http://wikiba.se/ontology#claim> ?var8 . ?var4 <http://wikiba.se/ontology#qualifier> ?var9 . ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var1 ?var5 ?var10 . ?var10 ?var6 ?var2 . ?var10 ?var9 <http://www.wikidata.org/entity/Q15216312> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7345", "question": "What properties are used to describe the women's water skiing jump event at the 2014 South American Games, and what are their values and labels?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?directProperty ?property ?propertyLabel ?value ?valueLabel WHERE {\n  wd:Q16564134 ?directProperty ?value .\n  FILTER ( STRSTARTS( STR( ?directProperty ) , \"http://www.wikidata.org/prop/direct/\" ) ) .\n  ?property wikibase:directClaim ?directProperty .\n  ?property rdfs:label ?propertyLabel .\n  ?value rdfs:label ?valueLabel .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" || LANG( ?propertyLabel ) = \"\" ) .\n  FILTER ( LANG( ?valueLabel ) = \"en\" || LANG( ?valueLabel ) = \"\" )\n}\nLIMIT 100", "paraphrases": ["List the direct properties and their corresponding labels for the event \"Women's water skiing jump event at the 2014 South American Games\", along with the labeled values.", "For the 2014 South American Games women's water skiing jump event, which attributes (properties) are assigned to it, and what are the human-readable names of those properties and their values?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ?var3 <http://www.wikidata.org/entity/Q16564134> . ?var2 <http://wikiba.se/ontology#directClaim> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_7346", "question": "Belgian authors on French Wikisource with most works", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?authorLabel ?authorPage(COUNT(?work) AS ?workCount) WHERE {\n  ?workItem wdt:P50 ?author .\n  ?author wdt:P27 wd:Q31 .\n  ?authorPage schema:about ?author ; schema:isPartOf <https://fr.wikisource.org/> .\n  ?work schema:about ?workItem ; schema:isPartOf <https://fr.wikisource.org/> .\n  ?author rdfs:label ?authorLabel .\n  FILTER(LANG(?authorLabel) = \"fr\")\n}\nGROUP BY ?authorLabel ?authorPage\nORDER BY DESC(?workCount)", "paraphrases": ["Which Belgian authors have the most works available on French Wikisource, and how many works do they have?", "List Belgian authors along with their French Wikisource pages and the number of their works on French Wikisource, sorted by the number of works in descending order."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P50> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q31> . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/isPartOf> <https://fr.wikisource.org/> . ?var3 <http://schema.org/about> ?var5 . ?var3 <http://schema.org/isPartOf> <https://fr.wikisource.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } GROUP BY ?var1Label ?var2 ORDER BY DESC( ?var4 )"}}
{"id": "test_7347", "question": "Which Wikidata items have the Twitter usernames csarven, EvoMRI, atomotic, jhsoby, or Wikicite?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterUsername WHERE {\n  ?item wdt:P2002 ?twitterUsername .\n  VALUES ?twitterUsername {\n    \"csarven\" \"EvoMRI\" \"atomotic\" \"jhsoby\" \"Wikicite\"\n  }\n}", "paraphrases": ["Who are the people or organizations on Wikidata that use the Twitter handles csarven, EvoMRI, atomotic, jhsoby, and Wikicite?", "List the Wikidata entities associated with the Twitter usernames: csarven, EvoMRI, atomotic, jhsoby, and Wikicite."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"csarven\" ) ( \"EvoMRI\" ) ( \"atomotic\" ) ( \"string1\" ) ( \"string2\" ) ( \"robbi5\" ) ( \"string3\" ) ( \"string4\" ) ( \"jhsoby\" ) ( \"SciHiBlog\" ) ( \"MasinAD\" ) ( \"Wikicite\" ) ( \"string5\" ) ( \"ylenews\" ) } }"}}
{"id": "test_7348", "question": "Wikidata items with Twitter handles: mlpoulter, EvoMRI, csarven, atomotic, waldyrious, nichtich, belett, johl, wikidata, Wikipedia.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterHandle WHERE {\n  ?item wdt:P2002 ?twitterHandle .\n  VALUES ?twitterHandle {\n    \"mlpoulter\" \"EvoMRI\" \"csarven\" \"atomotic\" \"waldyrious\" \"nichtich\" \"belett\" \"johl\" \"wikidata\" \"Wikipedia\"\n  }\n}", "paraphrases": ["Which entities on Wikidata have the Twitter usernames \"mlpoulter\", \"EvoMRI\", \"csarven\", \"atomotic\", \"waldyrious\", \"nichtich\", \"belett\", \"johl\", \"wikidata\", or \"Wikipedia\"?", "List the Wikidata items that are associated with the following Twitter handles: mlpoulter, EvoMRI, csarven, atomotic, waldyrious, nichtich, belett, johl, wikidata, and Wikipedia."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"mlpoulter\" ) ( \"EvoMRI\" ) ( \"maxlath\" ) ( \"csarven\" ) ( \"atomotic\" ) ( \"waldyrious\" ) ( \"nichtich\" ) ( \"string1\" ) ( \"shona_gon\" ) ( \"Tpt93\" ) ( \"belett\" ) ( \"almereyda\" ) ( \"Jokrates\" ) ( \"addshore\" ) ( \"string2\" ) ( \"johl\" ) ( \"bzg2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"wikidata\" ) ( \"Wikipedia\" ) } }"}}
{"id": "test_7349", "question": "List all works by Katherine Thornton, including their types, publication dates, number of pages, venues, and co-authors, sorted by newest first.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT(MIN(?pubDate) AS ?earliestPubDate) ?work ?workLabel(GROUP_CONCAT(DISTINCT ?typeLabel ; SEPARATOR = \", \") AS ?types)(SAMPLE(?pages) AS ?numberOfPages) ?venue ?venueLabel(GROUP_CONCAT(DISTINCT ?authorLabel ; SEPARATOR = \", \") AS ?allAuthors) WHERE {\n  ?work wdt:P50 wd:Q41533116 .\n  OPTIONAL {\n    ?work wdt:P31 ?type .\n    ?type rdfs:label ?typeLabel .\n    FILTER(LANG(?typeLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?work wdt:P577 ?pubDateRaw .\n    BIND(xsd:date(?pubDateRaw) AS ?pubDate)\n  }\n  OPTIONAL {\n    ?work wdt:P1104 ?pages\n  }\n  OPTIONAL {\n    ?work wdt:P1433 ?venue .\n    ?venue rdfs:label ?venueLabel .\n    FILTER(LANG(?venueLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?work wdt:P50 ?author .\n    ?author rdfs:label ?authorLabel .\n    FILTER(LANG(?authorLabel) = \"en\")\n  }\n}\nGROUP BY ?work ?workLabel ?venue ?venueLabel\nORDER BY DESC(?earliestPubDate)", "paraphrases": ["What are the publications authored by Katherine Thornton, and who are their co-authors, types, publication venues, and publication dates, ordered from most recent to oldest?", "Please provide a list of all works created by Katherine Thornton, showing each work\u2019s type, publication date, number of pages, publication venue, and full list of authors, sorted by publication date in descending order."], "info": {"raw_sparql": "SELECT( MIN ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ( GROUP_CONCAT ( DISTINCT ?var4Label ; SEPARATOR = \", \" ) AS ?var5 )( SAMPLE ( ?var6 ) AS ?var7 ) ?var8 ?var8Label ( GROUP_CONCAT ( DISTINCT ?var9Label ; SEPARATOR = \", \" ) AS ?var10 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q41533116> . ?var3 <http://www.wikidata.org/prop/direct/P50> ?var11 . OPTIONAL { ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12 . FILTER ( ( ( LANG ( ?var12 ) = \"en\" ) ) ) . } BIND ( COALESCE ( ?var12 , SUBSTR ( STR ( ?var11 ) ,\"32\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var9Label ). OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . } OPTIONAL { BIND ( <http://www.w3.org/2001/XMLSchema#date> ( ?var13 ) AS ?var1 ). ?var3 <http://www.wikidata.org/prop/direct/P577> ?var13 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1104> ?var6 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,no,ru,sv,zh\". } } GROUP BY ?var3 ?var3Label ?var8 ?var8Label ORDER BY DESC( ?var2 )"}}
{"id": "test_7350", "question": "List all districts of Z\u00fcrich with their population, coat of arms, and museum-digital IDs, along with the property names used.", "sparql": "SELECT ?district ?districtLabel ?property ?propertyItemLabel ?value WHERE { ?district wdt:P31 wd:Q19644409 . ?district ?property ?value . ?propertyItem wikibase:directClaim ?property . ?district rdfs:label ?districtLabel . ?propertyItem rdfs:label ?propertyItemLabel . FILTER(LANG(?districtLabel) = \"en\") FILTER(LANG(?propertyItemLabel) = \"en\") }", "paraphrases": ["What are the population, coat of arms images, and museum-digital IDs of each district in Z\u00fcrich, and what are the names of the properties these values are associated with?", "Show me the English labels of Z\u00fcrich districts and the human-readable names of the properties (like population or coat of arms) that describe them, along with the corresponding values."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5 ?var5Label ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19644409> . ?var1 ?var2 ?var5 . ?var3 <http://wikiba.se/ontology#directClaim> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7351", "question": "Image of the person with SNAC ARK ID w6pk2k4g", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?entity wdt:P3430 \"w6pk2k4g\" .\n  OPTIONAL {\n    ?entity wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w6pk2k4g?", "Can you show me the Wikimedia Commons image for Ivan Kliun, identified by the SNAC ARK ID w6pk2k4g?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6pk2k4g\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7352", "question": "Artworks in the Royal Museum of Fine Arts Antwerp with their Egyptian Arabic Wikipedia articles and language edition.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?article ?wikipedia ?artwork WHERE {\n  ?artwork wdt:P195 wd:Q1471477 .\n  ?article schema:about ?artwork ; schema:isPartOf ?wikiBaseURL .\n  ?wikipedia wdt:P856 ?wikiURL .\n  FILTER(?wikiBaseURL = IRI(?wikiURL))\n  .\n  ?wikipedia wdt:P31 wd:Q10876391 .\n}\nLIMIT 10", "paraphrases": ["Which artworks from the Royal Museum of Fine Arts Antwerp have articles on the Egyptian Arabic Wikipedia, and what is the Wikipedia edition?", "Show me the artworks from the Royal Museum of Fine Arts Antwerp that are covered on the Egyptian Arabic Wikipedia, along with the corresponding article URLs and the Wikipedia language edition."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { BIND ( IRI ( ?var4 ) AS ?var5 ). ?var3 <http://www.wikidata.org/prop/direct/P195> <http://www.wikidata.org/entity/Q1471477> . ?var1 <http://schema.org/about> ?var3 ; <http://schema.org/isPartOf> ?var5 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q10876391> . ?var2 <http://www.wikidata.org/prop/direct/P856> ?var4 . } LIMIT 10"}}
{"id": "test_7353", "question": "What properties are associated with association football players who play association football?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?prop WHERE {\n  ?person wdt:P106 wd:Q937857 ; wdt:P641 wd:Q2736 .\n  ?person ?prop ?value .\n  FILTER ( STRSTARTS( STR( ?prop ) , \"http://www.wikidata.org/prop/direct/\" ) )\n}\nLIMIT 10", "paraphrases": ["Which direct properties are used on people whose occupation is association football player and whose sport is association football?", "Can you list the direct properties used on football players who play association football?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 <http://www.wikidata.org/entity/Q6422240> ? <http://www.wikidata.org/entity/Q8060Q6636> . ?var2 ?var1 ?var3 . <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var4 <http://wikiba.se/ontology#directClaim> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7354", "question": "Wikimedia portals whose main topic is an animal or a subclass of animal.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?portal ?label WHERE {\n  ?portal wdt:P31 wd:Q4663903 .\n  ?portal ( wdt:P1204 / wdt:P279 * ) wd:Q729 .\n  OPTIONAL {\n    ?portal rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n}", "paraphrases": ["Which Wikimedia portals are about animals or any of their subclasses?", "List all Wikimedia portals that focus on animals or any group within the animal kingdom."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P1204> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q729> . }"}}
{"id": "test_7355", "question": "What is the title and English description of the film with LdiF ID 527727?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?film ?title ?description WHERE {\n  ?film wdt:P3107 \"527727\" .\n  ?film wdt:P1476 ?title .\n  OPTIONAL {\n    ?film schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Can you tell me the title and a brief English description of the film identified by the LdiF ID 527727?", "Show me the English title and description of the film that has the LdiF ID 527727."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3107> \"527727\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7356", "question": "Female humans born in Uruguay without an image on Wikimedia Commons.", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P21 wd:Q6581072 . ?person wdt:P19 wd:Q77 . FILTER NOT EXISTS { ?person wdt:P18 ?image } . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } LIMIT 100", "paraphrases": ["Who are the female people born in Uruguay that don't have a photo on Wikipedia?", "List the names of women from Uruguay who are not pictured on Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q77> . FILTER ( ( NOT EXISTS { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var4 . } ) ) . } LIMIT 100"}}
{"id": "test_7357", "question": "List biographical articles from the Royal Society\u2019s journals about deceased fellows, including their DOIs, birth and death dates, and Oxford Dictionary of National Biography IDs.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?article ?articleLabel ?doi ?person ?personLabel ?birthDate ?deathDate ?odnbId ?instanceOf WHERE {\n  {\n    ?article wdt:P1433 wd:Q4914871 .\n  } UNION {\n    ?article wdt:P1433 wd:Q29043655 .\n  }\n  ?article wdt:P921 ?person .\n  ?article wdt:P356 ?doi .\n  ?article wdt:P1476 ?articleLabel .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n  OPTIONAL {\n    ?person wdt:P31 ?instanceOf .\n  }\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  OPTIONAL {\n    ?person wdt:P1415 ?odnbId .\n  }\n}\nORDER BY ASC(?doi)", "paraphrases": ["Who are the deceased fellows of the Royal Society featured in the Biographical Memoirs and Obituary Notices journals, and what are their birth dates, death dates, DOIs, and ODNB IDs?", "Please provide a list of all biographical articles published in the Royal Society\u2019s journals about its deceased fellows, along with each person\u2019s full name, date of birth, date of death, DOI of the article, and their ODNB identifier if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 ?var5 ?var6 ?var7 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P1433> <http://www.wikidata.org/entity/Q4914871> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P1433> <http://www.wikidata.org/entity/Q29043655> . } ?var1 <http://www.wikidata.org/prop/direct/P921> ?var3 . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P31> ?var7 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P569> ?var4 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P570> ?var5 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1415> ?var6 . } ?var1 <http://www.wikidata.org/prop/direct/P356> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY ASC( ?var2 )"}}
{"id": "test_7358", "question": "Who is Paul Boos, a human being?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?var1 WHERE {\n  ?var1 rdfs:label \"Paul Boos\" @en .\n  ?var1 wdt:P31 wd:Q5 .\n}", "paraphrases": ["What human entity has the English label 'Paul Boos'?", "Find the Wikidata item for the person named Paul Boos."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Paul BOOSZ\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_7359", "question": "What is the news agency headquartered in Beijing?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P31 wd:Q192283 ; wdt:P159 wd:Q956 .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}\nORDER BY ASC(?itemLabel)\nLIMIT 1", "paraphrases": ["List news agencies based in Beijing, ordered alphabetically, and return only the first one.", "Which organization that is a news agency has its headquarters in Beijing?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q956> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q130879> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7360", "question": "What is the most specific common ancestor in the subclass hierarchy between human and country?", "sparql": "SELECT ?commonAncestor WHERE { wd:Q5 wdt:P279* ?commonAncestor . wd:Q6256 wdt:P279* ?commonAncestor . } ORDER BY ASC(?commonAncestor) LIMIT 1", "paraphrases": ["What entity is a superclass of both the type of Kimi R\u00e4ikk\u00f6nen and the type of Brazil?", "Find the lowest common subclass in the hierarchy that both Kimi R\u00e4ikk\u00f6nen's type and Brazil's type belong to."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q11192> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q155> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7361", "question": "What is the most specific category that both the Pittsburgh Steelers and the New England Patriots belong to?", "sparql": "SELECT ?type WHERE { wd:Q191477 wdt:P31 ?type . wd:Q193390 wdt:P31 ?type . }", "paraphrases": ["What do the Pittsburgh Steelers and the New England Patriots have in common in terms of their type in Wikidata?", "Which class is shared by both the Pittsburgh Steelers and the New England Patriots as their direct type?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q191477> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q6408963> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7362", "question": "What properties are used to link entities to the Usta\u0161e?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?property WHERE {\n  ?item ?directClaim wd:Q151179 .\n  ?property wikibase:directClaim ?directClaim .\n}", "paraphrases": ["Which Wikidata properties connect other entities to the Usta\u0161e terrorist organization?", "List all direct claims in Wikidata that have the Usta\u0161e as their object."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 <http://www.wikidata.org/entity/Q6422240> ? <http://www.wikidata.org/entity/Q151179> . ?var2 ?var1 ?var3 . <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var4 <http://wikiba.se/ontology#directClaim> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7363", "question": "What properties are associated with the West Slavs ethnic group on Wikidata?", "sparql": "SELECT DISTINCT ?property WHERE { wd:Q840454 ?property ?value . FILTER(STRSTARTS(STR(?property), \"http://www.wikidata.org/prop/direct/\")) }", "paraphrases": ["List the direct properties of the West Slavs ethnic group.", "What direct claims are made about the West Slavs ethnic group in Wikidata?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 <http://www.wikidata.org/entity/Q6422240> ? <http://www.wikidata.org/entity/Q840454> . ?var2 ?var1 ?var3 . <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var4 <http://wikiba.se/ontology#directClaim> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7364", "question": "ISO 3166 codes and areas of sovereign countries in square kilometers, with English Wikipedia links.", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nSELECT ?isoCode ?countryLabel ?wikipediaPage ?area WHERE {\n  ?country wdt:P31 wd:Q3624078 .\n  ?country p:P297 ?isoStmt .\n  ?isoStmt ps:P297 ?isoCode .\n  ?country p:P2046 ?areaStmt .\n  ?areaStmt psv:P2046 ?areaNode .\n  ?areaNode wikibase:quantityAmount ?area .\n  ?areaNode wikibase:quantityUnit wd:Q712226 .\n  ?wikipediaPage schema:about ?country ; schema:isPartOf <https://en.wikipedia.org/> .\n  ?country rdfs:label ?countryLabel .\n  FILTER(LANG(?countryLabel) = \"en\")\n}", "paraphrases": ["What are the ISO country codes, areas in square kilometers, and English Wikipedia pages for all sovereign states?", "List all sovereign countries with their two-letter ISO codes, land area in square kilometers, and links to their English Wikipedia pages."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4Label ?var5 ?var6 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3624078> . ?var5 <http://schema.org/about> ?var4 . ?var5 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . ?var4 <http://www.wikidata.org/prop/P297> ?var1 . ?var1 ?var2 ?var3 . ?var4 <http://www.wikidata.org/prop/P2046> ?var7 . ?var7 <http://www.wikidata.org/prop/statement/value/P2046> ?var8 . ?var8 <http://wikiba.se/ontology#quantityAmount> ?var6 . ?var8 <http://wikiba.se/ontology#quantityUnit> <http://www.wikidata.org/entity/Q712226> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7365", "question": "What is a common superclass of the National Football League and Equifax?", "sparql": "SELECT ?commonType WHERE { wd:Q1215884 wdt:P31 ?typeNFL . wd:Q5384453 wdt:P31 ?typeEquifax . ?typeNFL wdt:P279 ?mid1 . ?mid1 wdt:P279 ?commonType . ?typeEquifax wdt:P279 ?commonType . } LIMIT 1", "paraphrases": ["What is the most specific category that both the National Football League and Equifax belong to through their types?", "What is the shared parent category in the hierarchy for the types of the National Football League and Equifax?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1215884> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q5384453> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7366", "question": "What country is both the German rock band Neu! and the newspaper S\u00fcddeutsche Zeitung associated with?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?country WHERE {\n  wd:Q181874 wdt:P495 ?country .\n  wd:Q158870 wdt:P17 ?country .\n}", "paraphrases": ["Which country is the origin of the band Neu! and the home country of S\u00fcddeutsche Zeitung?", "Find the common country linked to Neu! and S\u00fcddeutsche Zeitung, using their respective country of origin and country properties."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q181874> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q158870> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7367", "question": "Top 1000 coral reefs with the most Wikipedia language editions", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ( COUNT( ?wiki ) AS ?sitelinks ) WHERE {\n  ?item wdt:P31 wd:Q11292 .\n  ?wiki schema:about ?item ; schema:isPartOf / wikibase:wikiGroup \"wikipedia\" .\n}\nGROUP BY ?item\nORDER BY DESC ( ?sitelinks )\nLIMIT 1000", "paraphrases": ["Which coral reefs have the most Wikipedia articles in different languages, and how many are there?", "List the coral reefs ranked by the number of Wikipedia language versions they have, up to 1000."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11292> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 1000"}}
{"id": "test_7368", "question": "What are the direct subclasses of physical substance?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?subclass ?directSuperclass WHERE {\n  ?subclass wdt:P279 wd:Q28732711 .\n  BIND(wd:Q28732711 AS ?directSuperclass)\n}", "paraphrases": ["Direct subclasses of physical substance and their superclass", "Show me all the immediate subcategories of physical substance and confirm their superclass is physical substance."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q28732711> ) } ?var1 <http://www.wikidata.org/prop/direct/P279> * ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } }"}}
{"id": "test_7369", "question": "Image of the entity with SNAC ARK ID w6f29nwg", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6f29nwg\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6f29nwg?", "Please provide the Wikimedia Commons image for the entity identified by the SNAC ARK ID w6f29nwg."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6pk8cbz\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7370", "question": "Image of William Pickering with SNAC ARK ID w6xh07br", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6xh07br\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w6xh07br?", "Show me the Wikimedia Commons image for the entity identified by the SNAC ARK ID w6xh07br."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6xh07br\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7371", "question": "Humans born in 1938 with their place of birth and country of citizenship.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nSELECT ?person ?personLabel ?birthDate ?placeOfBirthLabel ?countryOfCitizenshipLabel ?countryOfCitizenship WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P569 ?birthDate .\n  OPTIONAL {\n    ?person wdt:P19 ?placeOfBirth .\n    ?placeOfBirth rdfs:label ?placeOfBirthLabel .\n    FILTER ( LANG( ?placeOfBirthLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?person wdt:P27 ?countryOfCitizenship .\n    ?countryOfCitizenship rdfs:label ?countryOfCitizenshipLabel .\n    FILTER ( LANG( ?countryOfCitizenshipLabel ) = \"en\" )\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) FILTER ( ?birthDate >= \"1938-01-01\" ^^ xsd:date && ?birthDate < \"1939-01-01\" ^^ xsd:date )\n}\nORDER BY ?person", "paraphrases": ["Who were the people born between January 1, 1938, and December 31, 1938, and where and in which country were they born?", "List all humans born in 1938, including their English labels, birth dates, places of birth, and countries of citizenship."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var9 . } BIND ( ( ( ?var5 - ?var2 ) /\"365.2425\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) AS ?var10 ). FILTER ( ( ( ?var2 >= \"1938-01-02\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 < \"1939-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_7372", "question": "People who lived in Cambridge and have a start time qualifier on their residence record.", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?statement(SAMPLE(?qualifierInfo) AS ?qualifier) WHERE {\n  {\n    SELECT DISTINCT ?person ?statement WHERE {\n      ?statement ps:P551 wd:Q350 .\n      ?person p:P551 ?statement .\n    }\n    LIMIT 101\n  }\n  OPTIONAL {\n    {\n      ?statement pq:P580 ?value .\n      BIND(CONCAT(\"start time (pq:P580)\" , \"\") AS ?qualifierInfo)\n    } UNION {\n      ?statement pq:P582 ?value .\n      BIND(CONCAT(\"end time (pq:P582)\" , \"\") AS ?qualifierInfo)\n    } UNION {\n      ?statement pq:P1365 ?value .\n      BIND(CONCAT(\"replaced by (pq:P1365)\" , \"\") AS ?qualifierInfo)\n    } UNION {\n      ?statement pq:P1416 ?value .\n      BIND(CONCAT(\"replaced (pq:P1416)\" , \"\") AS ?qualifierInfo)\n    }\n  }\n}\nGROUP BY ?person ?statement", "paraphrases": ["Which people have lived in Cambridge, and for how many of them is the start date of their residence recorded?", "List up to 101 people who resided in Cambridge and show if any of their residence records include a start time or end time qualifier."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P551> <http://www.wikidata.org/entity/Q350> . ?var1 <http://www.wikidata.org/prop/P551> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_7373", "question": "Wikidata items with Twitter handle MokraneMA, DrVicSimms, RouteToPA, DMPonline, or fwf_at", "sparql": "SELECT ?item ?twitterHandle WHERE { ?item wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { \"DrVicSimms\" \"MokraneMA\" \"RouteToPA\" \"DMPonline\" \"fwf_at\" } }", "paraphrases": ["Who on Wikidata has the Twitter username MokraneMA, DrVicSimms, RouteToPA, DMPonline, or fwf_at?", "Find the Wikidata entities corresponding to the Twitter handles: MokraneMA, DrVicSimms, RouteToPA, DMPonline, and fwf_at."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"DrVicSimms\" ) ( \"MokraneMA\" ) ( \"RouteToPA\" ) ( \"DMPonline\" ) ( \"string2\" ) ( \"fwf_at\" ) } }"}}
{"id": "test_7374", "question": "Which Wikidata items have the Twitter handles \"CERICnews\", \"EU_H2020\", or \"NatureNews\"?", "sparql": "SELECT ?item ?twitterHandle WHERE { ?item wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { \"CERICnews\" \"EU_H2020\" \"NatureNews\" } }", "paraphrases": ["What organizations or entities on Wikidata are associated with the Twitter usernames CERICnews, EU_H2020, and NatureNews?", "Find the Wikidata entries for the Twitter accounts CERICnews, EU_H2020, and NatureNews."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"CERICnews\" ) ( \"kemijski\" ) ( \"string1\" ) ( \"Nanowerk\" ) ( \"EU_H2020\" ) ( \"kolarjana\" ) ( \"Moedas\" ) ( \"string2\" ) ( \"EUSciComm\" ) ( \"ESOF_eu\" ) ( \"NatureNews\" ) ( \"ESFRI_eu\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) } }"}}
{"id": "test_7375", "question": "Musician names, images, official websites, and places of birth from Wikidata", "sparql": "SELECT ?artistName ?image ?homepage ?placeOfBirth WHERE { ?artist wdt:P31 wd:Q5 ; wdt:P106 wd:Q639669 ; rdfs:label ?artistName ; wdt:P18 ?image . OPTIONAL { ?artist wdt:P856 ?homepage . } OPTIONAL { ?artist wdt:P19 ?placeOfBirth . } FILTER(LANG(?artistName) = \"en\") } LIMIT 10", "paraphrases": ["Who are some musicians with known images, official websites, and places of birth?", "Show me a list of English-named musicians along with their photos, websites, and birthplaces."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/ontology/mo/MusicArtist> ; <http://xmlns.com/foaf/0.1/name> ?var1 ; <http://xmlns.com/foaf/0.1/img> ?var2 ; <http://xmlns.com/foaf/0.1/homepage> ?var3 ; <http://xmlns.com/foaf/0.1/based_near> ?var4 . }"}}
{"id": "test_7376", "question": "Image of Porto, Portugal", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?image WHERE {\n  ?settlement wdt:P17 wd:Q45 .\n  ?settlement ( wdt:P31 / wdt:P279 * ) wd:Q486972 .\n  ?settlement rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"pt\" || LANG( ?label ) = \"en\" ) FILTER ( ?label = \"Porto\" @pt || ?label = \"Porto\" @en || ?label = \"Oporto\" @pt || ?label = \"Oporto\" @en ) OPTIONAL {\n    ?settlement wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image of the city of Porto in Portugal?", "Show me the photo of Porto, which is a human settlement in Portugal."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q486972> . ?var2 ?var3 \"Porto\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7377", "question": "Properties describing Cladotheria with English labels and descriptions", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?prop ?propLabel ?propDescription WHERE {\n  wd:Q766050 ?prop ?value .\n  FILTER ( STRSTARTS( STR( ?prop ) , \"http://www.wikidata.org/prop/direct/\" ) ) BIND( IRI( REPLACE( STR( ?prop ) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\" ) ) AS ?propItem ) ?propItem rdfs:label ?propLabel .\n  ?propItem schema:description ?propDescription .\n  FILTER ( LANG( ?propLabel ) = \"en\" ) FILTER ( LANG( ?propDescription ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["What properties are used to describe the taxon Cladotheria, and what are their English labels and descriptions?", "Show me the English labels and descriptions of all properties that are used to describe Cladotheria."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q766050> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_7378", "question": "Finnish heritage sites with RKY or archaeological IDs, coordinates, and images.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?rkyId ?archaeoId ?location ?image WHERE {\n  {\n    ?item wdt:P361 ?part .\n    ?part wdt:P4009 ?rkyId .\n  } UNION {\n    ?item wdt:P4009 ?rkyId .\n  } UNION {\n    ?item wdt:P4106 ?archaeoId .\n  } UNION {\n    ?item wdt:P361 ?part2 .\n    ?part2 wdt:P4106 ?archaeoId .\n  }\n  OPTIONAL {\n    ?item wdt:P625 ?location .\n  }\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER ( LANG( ?itemLabel ) = \"en\" )\n  }\n}", "paraphrases": ["What are the Finnish built heritage and archaeological sites, their official identifiers, locations, and associated images on Wikimedia Commons?", "Please list all Finnish heritage sites that have either an RKY national built heritage ID or a Finnish archaeological heritage ID, along with their geographic coordinates and images if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P361> ?var6 . ?var6 <http://www.wikidata.org/prop/direct/P4009> ?var2 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P4009> ?var2 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P4106> ?var3 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P361> ?var7 . ?var7 <http://www.wikidata.org/prop/direct/P4106> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fi\". } }"}}
{"id": "test_7379", "question": "Image of James A. Van Allen with SNAC ARK ID w6833tf7", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6833tf7\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with James A. Van Allen in Wikidata, given his SNAC ARK ID is w6833tf7?", "Show me the Wikimedia Commons image linked to the entity identified by SNAC ARK ID w6833tf7."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6833tf7\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7380", "question": "What is the English name and description of the country with the Dagens Nyheter topic ID \"portugal\"?", "sparql": "SELECT ?item ?label ?description WHERE { ?item wdt:P3509 \"portugal\" . OPTIONAL { ?item rdfs:label ?label . FILTER (LANG(?label) = \"en\") } OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Which country is identified as \"portugal\" in Dagens Nyheter\u2019s topic system, and what is its English description?", "Show me the English label and description of the Wikidata item linked to the Dagens Nyheter topic \"portugal\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3509> \"portugal\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7381", "question": "Items with declared part counts and actual counts of components belonging to specific classes.", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ( COUNT( DISTINCT ?var4 ) AS ?var5 ) WHERE {\n  ?var1 p:P2670 [ ps:P2670 ?var2 ; pq:P1114 ?var3 ] .\n  ?var1 ( wdt:P527 | ^ wdt:P361 ) ?var4 .\n  ?var4 ( wdt:P31 / wdt:P279 * ) ?var2 .\n  ?var1 rdfs:label ?var1Label .\n  ?var2 rdfs:label ?var2Label .\n  FILTER ( LANG( ?var1Label ) = \"en\" ) FILTER ( LANG( ?var2Label ) = \"en\" )\n}\nGROUP BY ?var1 ?var2 ?var3 ?var1Label ?var2Label", "paraphrases": ["For each item, what is the difference between the stated number of parts of a certain class and the actual number of instances of that class or its subclasses?", "Show me items that have parts classified under specific types, along with the expected quantity of those parts and how many actually exist, limited to English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ( COUNT ( DISTINCT ?var4 ) AS ?var5 ) WHERE { ?var1 <http://www.wikidata.org/prop/P2670> [ <http://www.wikidata.org/prop/statement/P2670> ?var2 ; <http://www.wikidata.org/prop/qualifier/P1114> ?var3 ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } ?var1 ( <http://www.wikidata.org/prop/direct/P527> |^ <http://www.wikidata.org/prop/direct/P361> ) ?var4 . ?var4 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var2 . } GROUP BY ?var1 ?var2 ?var3 ?var1Label ?var2Label"}}
{"id": "test_7382", "question": "List current first-level administrative divisions of South Korea excluding cities and metropolitan cities.", "sparql": "SELECT DISTINCT ?division ?divisionLabel WHERE { ?division ( wdt:P31 / wdt:P279 * ) wd:Q41156 . ?division ( wdt:P31 / wdt:P279 * ) wd:Q10864048 . ?division rdfs:label ?divisionLabel . FILTER(LANG(?divisionLabel) = \"en\") MINUS { ?division wdt:P576 [] . } MINUS { ?division wdt:P31 wd:Q515 . } MINUS { ?division wdt:P31 wd:Q482821 . } MINUS { ?division wdt:P31 wd:Q16181672 . } MINUS { ?division wdt:P31 wd:Q4249901 . } }", "paraphrases": ["What are the current provinces of South Korea that are not classified as cities or metropolitan cities?", "Show me the names of South Korea's current administrative provinces, excluding metropolitan cities, special cities, and regular cities."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q515> ) ( <http://www.wikidata.org/entity/Q29045219> ) ( <http://www.wikidata.org/entity/Q482821> ) ( <http://www.wikidata.org/entity/Q16181672> ) ( <http://www.wikidata.org/entity/Q4249901> ) } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q41156> . ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q10864048> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P576> [] . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_7383", "question": "Places associated with Jer\u00f3nimo L\u00f3pez de Ayala, their coordinates, and the nature of the association (e.g., birthplace, citizenship).", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?image ?associatedEntity ?coordinates ?propertyLabel WHERE {\n  wd:Q21755533 ?property ?associatedEntity .\n  ?associatedEntity wdt:P625 ?coordinates .\n  ?propertyEntity wikibase:directClaim ?property .\n  ?propertyEntity rdfs:label ?propertyLabel .\n  OPTIONAL {\n    ?associatedEntity wdt:P18 ?image .\n  }\n  FILTER ( LANG( ?propertyLabel ) = \"en\" )\n}", "paraphrases": ["What are the locations linked to Jer\u00f3nimo L\u00f3pez de Ayala, what are their coordinates, and how is he connected to each (e.g., place of birth, member of)?", "Show me the places connected to Jer\u00f3nimo L\u00f3pez de Ayala, including their geographic coordinates and the English labels of the relationships (like 'place of death' or 'member of')."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ( ?var4Label AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q21755533> ?var6 ?var2 . ?var2 (( <http://www.wikidata.org/prop/P159> / <http://www.wikidata.org/prop/qualifier/P625> )|( <http://www.wikidata.org/prop/direct/P276> */ <http://www.wikidata.org/prop/direct/P625> )) ?var3 . ?var7 <http://wikiba.se/ontology#directClaim> ?var6 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,nl,no,ru,sv,zh\". } ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . }"}}
{"id": "test_7384", "question": "What are the names of departmental archives in France that do not have an ARK NAAN identifier?", "sparql": "SELECT DISTINCT ?var1Label WHERE { ?var1 rdfs:label ?var1Label . ?var1 (wdt:P31/wdt:P279*) wd:Q2860456 . MINUS { ?var1 wdt:P1870 ?var3 . } }", "paraphrases": ["List all departmental archives that are not registered in the Archival Resource Key system.", "Which archival institutions classified as departmental archives lack an ARK identifier?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q2860456> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P1870> ?var3 . } }"}}
{"id": "test_7385", "question": "English labels of departmental archives in France with an ARK NAAN identifier.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?var1Label WHERE {\n  ?var1(wdt:P31 / wdt:P279 *) wd:Q2860456 .\n  ?var1 wdt:P1870 ?ark .\n  ?var1 rdfs:label ?var1Label .\n  FILTER(LANG(?var1Label) = \"en\")\n}", "paraphrases": ["Which departmental archives in France have an Archival Resource Key Name Assigning Authority Number (ARK NAAN)?", "List the English names of all departmental archives in France that are assigned an ARK NAAN."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q2860456> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } ?var1 <http://www.wikidata.org/prop/direct/P1870> ?var3 . }"}}
{"id": "test_7386", "question": "Short names and multilingual labels of the World Trade Organization", "sparql": "SELECT DISTINCT ?item ?shortName (LANG(?shortName) AS ?shortLang) ?label (LANG(?label) AS ?labelLang) WHERE { BIND(wd:Q7825 AS ?item) OPTIONAL { ?item wdt:P1813 ?shortName . } ?item rdfs:label ?label . FILTER (LANG(?label) IN (\"en\", \"it\", \"de\", \"es\", \"fr\")) } ORDER BY ASC(?item)", "paraphrases": ["What are the abbreviations and official names in different languages for the World Trade Organization?", "Show me all the short names (like WTO or OMC) and translated names in English, French, German, Spanish, and Italian for the World Trade Organization."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ( LANG ( ?var2 ) AS ?var3 ) ?var4Label ( LANG ( ?var4Label ) AS ?var5 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q7825> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1813> ?var2 . } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) || ( LANG ( ?var4Label ) = \"it\" ) || ( LANG ( ?var4Label ) = \"de\" ) || ( LANG ( ?var4Label ) = \"es\" ) || ( LANG ( ?var4Label ) = \"fr\" ) ) ) . } ORDER BY ASC( ?var1 )"}}
{"id": "test_7387", "question": "What was the population of Belgium each year between 1950 and 2000, according to Wikidata?", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?date ?population WHERE {\n  wd:Q31 p:P1082 ?statement .\n  ?statement pq:P585 ?date .\n  ?statement ps:P1082 ?population .\n  FILTER(?date >= \"1950-01-01T00:00:00Z\" ^^ xsd:dateTime && ?date <= \"2000-01-01T00:00:00Z\" ^^ xsd:dateTime)\n}\nORDER BY ASC(?date)", "paraphrases": ["Belgium population from 1950 to 2000", "Show me the historical population figures for Belgium between 1950 and 2000, ordered by year."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q31> <http://www.wikidata.org/prop/P1082> ?var3 . ?var3 <http://www.wikidata.org/prop/qualifier/P585> ?var1 . ?var3 <http://www.wikidata.org/prop/statement/P1082> ?var2 . FILTER ( ( ( ?var1 >= \"1950-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var1 <= \"2000-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . } ORDER BY ASC( ?var1 )"}}
{"id": "test_7388", "question": "Who are some people who are citizens of Spain?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P27 wd:Q29 .\n  ?person rdfs:label ?personLabel\n  FILTER(LANG(?personLabel) = 'en')\n}\nLIMIT 102", "paraphrases": ["List up to 102 individuals with Spanish citizenship along with their names.", "Can you show me the names of people who hold Spanish nationality?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q3995> . } LIMIT 102"}}
{"id": "test_7389", "question": "Properties and their types for humans, excluding external IDs.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?type ?property ?propertyType WHERE {\n  wd:Q868 wdt:P31 ?type .\n  ?type wdt:P1963 ?property .\n  ?property wikibase:propertyType ?propertyType .\n  FILTER(NOT EXISTS {\n    ?property wikibase:propertyType wikibase:ExternalId .\n  })\n}", "paraphrases": ["What properties are commonly used to describe humans, and what data types do they have, excluding external identifiers like URLs or ISBNs?", "List all properties associated with the human class (like occupation or nationality), along with their data types, but skip any that are external IDs."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { <http://www.wikidata.org/entity/Q868> <http://www.wikidata.org/prop/direct/P31> ?var1 . ?var6 <http://www.wikidata.org/prop/direct/P279> * ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P1963> ?var3 . ?var3 <http://wikiba.se/ontology#propertyType> ?var5 . ?var3 <http://wikiba.se/ontology#directClaim> ?var7 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . } FILTER ( ( NOT EXISTS { ?var3 <http://wikiba.se/ontology#propertyType> <http://wikiba.se/ontology#ExternalId> . } ) ) . }"}}
{"id": "test_7390", "question": "Which organizations and individuals on Wikidata have Twitter usernames including \"360Giving\", \"Wikipedia\", \"Yale\", or \"ontotext\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity ?twitterUsername WHERE {\n  ?entity wdt:P2002 ?twitterUsername .\n  VALUES ?twitterUsername {\n    \"360Giving\" \"atomotic\" \"csarven\" \"cthealth\" \"dfg_public\" \"kidehen\" \"NWONieuws\" \"ontotext\" \"Wikipedia\" \"Yale\"\n  }\n}", "paraphrases": ["Who are the entities on Wikidata with Twitter handles such as \"csarven\", \"dfg_public\", or \"NWONieuws\"?", "List the Wikidata items and their corresponding Twitter usernames for the accounts: 360Giving, atomotic, csarven, cthealth, dfg_public, kidehen, NWONieuws, ontotext, Wikipedia, and Yale."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"kidehen\" ) ( \"csarven\" ) ( \"atomotic\" ) ( \"ontotext\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"NWONieuws\" ) ( \"FnrLux\" ) ( \"string7\" ) ( \"Wikipedia\" ) ( \"DBpedia\" ) ( \"Wikidata\" ) ( \"string8\" ) ( \"dfg_public\" ) ( \"360Giving\" ) ( \"Gwellsny\" ) ( \"string9\" ) ( \"Chem_space\" ) ( \"string10\" ) ( \"Google\" ) ( \"ctdata\" ) ( \"cfgnh\" ) ( \"Yale\" ) ( \"cthealth\" ) ( \"EvoMRI\" ) ( \"string11\" ) ( \"string12\" ) ( \"Bendremmel\" ) ( \"string13\" ) ( \"string14\" ) ( \"string15\" ) ( \"string16\" ) ( \"string17\" ) } }"}}
{"id": "test_7391", "question": "What are the immediate and second-level superclass categories of government in Wikidata?", "sparql": "SELECT ?level1 ?level1Label ?level2 ?level2Label WHERE { wd:Q7188 wdt:P279 ?level1 . OPTIONAL { ?level1 rdfs:label ?level1Label . FILTER(LANG(?level1Label) = \"en\") } ?level1 wdt:P279 ?level2 . OPTIONAL { ?level2 rdfs:label ?level2Label . FILTER(LANG(?level2Label) = \"en\") } }", "paraphrases": ["Show me the hierarchy above government: what classes is it directly a subclass of, and what are those classes' superclasses?", "What are the parent and grandparent categories of government in the Wikidata ontology?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7188> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Reverse\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7392", "question": "What are the non-external properties used to describe Miguel de Cervantes in Wikidata?", "sparql": "SELECT DISTINCT ?property ?propertyLabel WHERE { wd:Q5682 ?property ?value . FILTER NOT EXISTS { ?value rdf:type wikibase:Statement } . FILTER NOT EXISTS { ?property wikibase:propertyType wikibase:ExternalId } . ?wdProperty wikibase:directClaim ?property . ?wdProperty rdfs:label ?propertyLabel . FILTER (LANG(?propertyLabel) = \"en\") }", "paraphrases": ["Can you list the human-readable properties (like occupation or place of birth) that are associated with Miguel de Cervantes, excluding things like IDs?", "Show me the types of information (e.g., occupation, citizenship) that are recorded about Miguel de Cervantes in Wikidata, using descriptive labels instead of technical IDs."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { <http://www.wikidata.org/entity/Q5682> <http://www.wikidata.org/prop/direct/P31> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P1963> ?var3 . <http://www.wikidata.org/entity/Q5682> ?var3 ?var7 . ?var7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Statement> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var6 . } FILTER ( ( NOT EXISTS { ?var3 <http://wikiba.se/ontology#propertyType> <http://wikiba.se/ontology#ExternalId> . } ) ) . }"}}
{"id": "test_7393", "question": "Is there a Wikidata item with VIAF ID 39646363?", "sparql": "ASK WHERE { ?item wdt:P214 \"39646363\" . }", "paraphrases": ["Does the Virtual International Authority File ID 39646363 correspond to any entity in Wikidata?", "Check if the VIAF identifier 39646363 is linked to any person in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"39646363\". }"}}
{"id": "test_7394", "question": "What is the image of the person with SNAC ARK ID w6f29nwg?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6f29nwg\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Show me the Wikimedia Commons image associated with the SNAC ARK ID w6f29nwg.", "Which image is linked to the Social Networks and Archival Context record w6f29nwg?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w63r106d\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7395", "question": "What are the earliest films and TV shows featuring German actress Veronica Ferres, listed in chronological order?", "sparql": "SELECT ?var1 ?var1Label (MIN(?var2) AS ?earliestDate) ?var3 WHERE { ?var1 wdt:P161 wd:Q63059 . ?var1 wdt:P577 ?var2 . OPTIONAL { ?var1 wdt:P18 ?var3 . } ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") } GROUP BY ?var1 ?var1Label ?var3 ORDER BY ASC(?earliestDate)", "paraphrases": ["Show me a list of works Veronica Ferres acted in, sorted by release date, along with their release years and images if available.", "Which productions did Veronica Ferres appear in, and when were they first released? Include an image for each if one exists."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( MIN ( ?var2 ) AS ?var2 ) ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P161> <http://www.wikidata.org/entity/Q63059> . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } GROUP BY ?var1 ?var1Label ?var3 ORDER BY ASC( ?var2 )"}}
{"id": "test_7396", "question": "Scholarly articles, scientific books, white papers, and lectures with their authors in English.", "sparql": "SELECT ?work ?workLabel ?author ?authorLabel ?typeLabel WHERE {  ?work wdt:P31 ?type .  FILTER (?type IN (wd:Q13442814, wd:Q7433672, wd:Q223729, wd:Q603773)) .  ?type rdfs:label ?typeLabel .  FILTER (LANG(?typeLabel) = \"en\") .  ?work rdfs:label ?workLabel .  FILTER (LANG(?workLabel) = \"en\") .  ?work wdt:P50 ?author .  ?author rdfs:label ?authorLabel .  FILTER (LANG(?authorLabel) = \"en\") .} LIMIT 10", "paraphrases": ["What are the English titles of scholarly articles, scientific books, white papers, and lectures, along with the names of their authors?", "List the titles of academic works (scholarly articles, scientific books, white papers, or lectures), their authors, and the type of work, all in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4Label ?var5Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var6 . FILTER ( ( ( ?var6 = <http://www.wikidata.org/entity/Q13442814> ) || ( ?var6 = <http://www.wikidata.org/entity/Q7433672> ) || ( ?var6 = <http://www.wikidata.org/entity/Q223729> ) || ( ?var6 = <http://www.wikidata.org/entity/Q603773> ) ) ) . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P50> ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . } OFFSET 0 LIMIT 10"}}
{"id": "test_7397", "question": "German politicians and their spoken languages and genders", "sparql": "SELECT DISTINCT ?politician ?politicianLabel ?languageLabel ?genderLabel WHERE { ?politician wdt:P106 wd:Q82955 . ?politician wdt:P27 wd:Q183 . OPTIONAL { ?politician wdt:P1412 ?language . ?language rdfs:label ?languageLabel . FILTER(LANG(?languageLabel) = \"en\") } OPTIONAL { ?politician wdt:P21 ?gender . ?gender rdfs:label ?genderLabel . FILTER(LANG(?genderLabel) = \"en\") } ?politician rdfs:label ?politicianLabel . FILTER(LANG(?politicianLabel) = \"en\") } ORDER BY ASC(?politicianLabel)", "paraphrases": ["Who are the German politicians, what languages do they speak, and what is their gender?", "List all German politicians along with the languages they speak and their gender, in alphabetical order by name."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82955> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q183> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"olo\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1412> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var4 . } } ORDER BY ASC( ?var1 )"}}
{"id": "test_7398", "question": "Works authored by Gregor Mendel", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?work ?workLabel WHERE {\n  ?work wdt:P50 wd:Q37970 .\n  ?work rdfs:label ?workLabel .\n  FILTER(LANG(?workLabel) = \"en\")\n}", "paraphrases": ["What books or papers are listed as written by Gregor Mendel in Wikidata?", "Show me the English titles of all works that have Gregor Mendel listed as the author."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q37970> . }"}}
{"id": "test_7399", "question": "Episodes of Game of Thrones and their titles", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?episode ?episodeTitle WHERE {\n  ?episode wdt:P179 wd:Q23572 .\n  ?episode wdt:P1476 ?episodeTitle .\n}", "paraphrases": ["What are the titles of all episodes in the TV series Game of Thrones?", "Show me the titles of all episodes from Game of Thrones."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label WHERE { ?var2 <http://www.wikidata.org/prop/P179> <http://www.wikidata.org/entity/Q23572> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7400", "question": "Arabic books with Arabic author names and no Arabic description", "sparql": "SELECT DISTINCT \n  (STRAFTER(STR(?book), \"/entity/\") AS ?bookId)\n  (CONCAT(?bookLabel, \" \u0645\u0646 \u062a\u0623\u0644\u064a\u0641 \", ?authorLabel) AS ?sentence)\nWHERE {\n  ?book (wdt:P31/wdt:P279*) wd:Q571 .\n  ?book wdt:P50 ?author .\n  ?author wdt:P31 wd:Q5 .\n\n  ?book rdfs:label ?bookLabel .\n  FILTER(LANG(?bookLabel) = \"ar\")\n\n  ?author rdfs:label ?authorLabel .\n  FILTER(LANG(?authorLabel) = \"ar\")\n\n  OPTIONAL { ?book schema:description ?desc . FILTER(LANG(?desc) = \"ar\") }\n  FILTER(!BOUND(?desc))\n\n  FILTER NOT EXISTS { ?book wdt:P31 wd:Q19389637 }\n  FILTER NOT EXISTS { ?book wdt:P31 wd:Q3331189 }\n}\nLIMIT 10", "paraphrases": ["What are Arabic-language books written by Arabic-speaking authors that do not have an Arabic description on Wikidata?", "List Arabic book titles and their authors in the format \"[Book Title] \u0645\u0646 \u062a\u0623\u0644\u064a\u0641 [Author Name]\" where neither the book nor the author has an Arabic description."], "info": {"raw_sparql": "SELECT DISTINCT( CONCAT ( STRAFTER ( STR ( ?var1 ) , \"/entity/\" ) ) AS ?var2 )( CONCAT ( \"Dar\" ) AS ?var3 )( CONCAT ( \"\"\", ?var4 , \" \u0645\u0646 \u062a\u0623\u0644\u064a\u0641 \", ?var5 , \"\"\" ) AS ?var6 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q571> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q571> . } ) ) . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var7 . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19389637> . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3331189> . } ) ) . ?var1 <http://www.wikidata.org/prop/direct/P50> ?var8 . ?var8 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"ar\" ) ) ) . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"ar\" ) ) ) . OPTIONAL { ?var1 <http://schema.org/description> ?var9 . FILTER ( ( ( LANG ( ?var9 ) = \"ar\" ) ) ) . } FILTER ( ( !( BOUND ( ?var9 ) ) ) ) . }"}}
{"id": "test_7401", "question": "What is the title of Game of Thrones and the name of its first episode?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT DISTINCT ?seriesTitle ?episodeLabel WHERE {\n  wd:Q23572 wdt:P1476 ?seriesTitle .\n  wd:Q1658029 p:P527 ?stmt .\n  ?stmt ps:P527 ?episode .\n  ?stmt pq:P1545 \"1\" .\n  ?episode rdfs:label ?episodeLabel .\n  FILTER ( LANG( ?episodeLabel ) = \"en\" )\n}", "paraphrases": ["Show me the title of the TV series Game of Thrones and the label of the first episode of its first season.", "Which episode is the first one in season 1 of Game of Thrones, and what is the series' title?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5398426> . ?var2 <http://www.wikidata.org/prop/direct/P1476> ?var1 . FILTER ( ( ( ?var2 = \"string1\" ) ) ) . ?var3 <http://www.wikidata.org/prop/direct/P179> <http://www.wikidata.org/entity/Q23572> . ?var4 <http://www.wikidata.org/prop/direct/P179> <http://www.wikidata.org/entity/Q23572> . ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3464665> . ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q21191270> . ?var3 <http://www.wikidata.org/prop/direct/P361> ?var4 . ?var4 <http://www.wikidata.org/prop/P179> ?var5 . ?var5 <http://www.wikidata.org/prop/qualifier/P1545> ?var6 . ?var3 <http://www.wikidata.org/prop/P179> ?var7 . ?var7 <http://www.wikidata.org/prop/qualifier/P1545> ?var8 . FILTER ( ( ( ?var8 = \"1\" ) ) ) . FILTER ( ( ( ?var6 = \"1\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7402", "question": "What are the species in the Jacaranda genus, and do they have recorded geographic coordinates?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?species ?speciesLabel ?coordinates WHERE {\n  ?species wdt:P171 wd:Q311105 .\n  OPTIONAL {\n    ?species wdt:P625 ?coordinates .\n  }\n  .\n  ?species rdfs:label ?speciesLabel .\n  FILTER(LANG(?speciesLabel) = 'en')\n}\nLIMIT 100", "paraphrases": ["List all Jacaranda plant species with their English names and locations, if available.", "Which species belong to the Jacaranda genus, and where are they geographically distributed?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } ?var1 <http://www.wikidata.org/prop/direct/P1269> <http://www.wikidata.org/entity/Q311105> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } } LIMIT 100"}}
{"id": "test_7403", "question": "French-labeled humans with the surname Boxebeld", "sparql": "SELECT DISTINCT ?human ?label WHERE { ?human wdt:P734 wd:Q65098728 ; rdfs:label ?label . FILTER(LANG(?label) = \"fr\") }", "paraphrases": ["Who is a French person with the last name Boxebeld?", "Show me the French name of the person whose family name is Boxebeld."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Boxebeld\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_7404", "question": "Number of works citing Walter Bodmer by year, and how many are self-citations.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?year(COUNT(DISTINCT ?citingWork) AS ?count) ?hasSelfCitation WHERE {\n  ?bodmerWork wdt:P50 wd:Q7964332 .\n  ?citingWork wdt:P2860 ?bodmerWork .\n  ?citingWork wdt:P577 ?pubDate .\n  BIND(STR(YEAR(?pubDate)) AS ?year)\n  BIND(IF(EXISTS {\n    ?citingWork wdt:P50 wd:Q7964332\n  }\n  , \"yes\" , \"no\") AS ?hasSelfCitation)\n}\nGROUP BY ?year ?hasSelfCitation\nORDER BY DESC(?year)", "paraphrases": ["How many works cite Walter Bodmer\u2019s publications each year, and which of those were also written by him?", "Show me the annual count of works citing Walter Bodmer, along with an indicator of whether any of those citing works were authored by him."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q7964332> . } , \"string1\", \"string2\" ) AS ?var4 ). BIND ( STR ( YEAR ( ?var5 ) ) AS ?var1 ). ?var6 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q7964332> . ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var6 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var5 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_7405", "question": "Which Wikidata entities have the Twitter usernames \"denials\", \"GJPvWesten\", \"ORCID_Org\", or \"wmcounter\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity ?username WHERE {\n  ?entity wdt:P2002 ?username .\n  VALUES ?username {\n    \"denials\" \"GJPvWesten\" \"ORCID_Org\" \"wmcounter\"\n  }\n}", "paraphrases": ["Who are the people or organizations on Wikidata that use \"denials\", \"GJPvWesten\", \"ORCID_Org\", or \"wmcounter\" as their Twitter/X handles?", "List the Wikidata items associated with the Twitter usernames denials, GJPvWesten, ORCID_Org, and wmcounter."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"LoicTallon\" ) ( \"MetMuseum\" ) ( \"denials\" ) ( \"GasnCoal\" ) ( \"wmcounter\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"GJPvWesten\" ) ( \"string7\" ) ( \"SciHiBlog\" ) ( \"j0kaso\" ) ( \"string8\" ) ( \"ORCID_Org\" ) } }"}}
{"id": "test_7406", "question": "What is the Wikidata item for the disease with NE.se ID \"bilharzios\", and what is its English label and description?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?disease ?diseaseLabel ?description WHERE {\n  ?disease wdt:P3222 \"bilharzios\" .\n  OPTIONAL {\n    ?disease rdfs:label ?diseaseLabel .\n    FILTER(LANG(?diseaseLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?disease schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["What is the English name and description of the disease known as \"bilharzios\" on the Swedish Nationalencyklopedin website?", "Show me the English label and description of the disease linked to the NE.se ID \"bilharzios\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3222> \"bilharzios\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7407", "question": "What are some Polish novelists, along with their images and Polish Wikipedia pages?", "sparql": "SELECT DISTINCT ?person ?name (SAMPLE(?img) AS ?image) ?wikipediaPage WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P106/wdt:P279* wd:Q6625963 . ?person wdt:P103 wd:Q809 . OPTIONAL { ?person wdt:P18 ?img . } OPTIONAL { ?wikipediaPage schema:about ?person ; schema:isPartOf <https://pl.wikipedia.org/> . } ?person rdfs:label ?name . FILTER(LANG(?name) = \"en\") } GROUP BY ?person ?name ?wikipediaPage LIMIT 10", "paraphrases": ["Show me a list of humans who are Polish novelists, including their names, possible photos, and links to their Polish Wikipedia articles.", "Can you find Polish writers who write novels and provide their English names, images from Commons, and links to their Polish Wikipedia pages?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var3 ) ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q6625963> . ?var1 <http://www.wikidata.org/prop/direct/P103> <http://www.wikidata.org/entity/Q809> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://pl.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,fr,es,de,ru,it,nl,ja,zh,pl,cs\". } } GROUP BY ?var1 ?var1Label ?var2 ?var4 LIMIT 10"}}
{"id": "test_7408", "question": "Professions with English labels containing uppercase letters", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?profession ?professionLabel WHERE {\n  ?profession wdt:P31 wd:Q28640 .\n  ?profession rdfs:label ?professionLabel .\n  FILTER(LANG(?professionLabel) = \"en\")\n  FILTER(LCASE(?professionLabel) != ?professionLabel)\n}\nLIMIT 100", "paraphrases": ["Which professions in Wikidata have English labels that include uppercase letters?", "Show me the English names of professions that are capitalized, like \"Southeast Asianist\" or \"Buddhologist\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q28640> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv\". } BIND ( STR ( ?var1Label ) AS ?var3 ). BIND ( STR ( ?var1 ) AS ?var2 ). FILTER ( ( ( LCASE ( STR ( ?var1 ) ) != STR ( ?var1 ) ) ) ) . } LIMIT 100"}}
{"id": "test_7409", "question": "Who is the KVAB member with ID 248, and what is their English description?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P3887 \"248\" . OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") . } ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") . }", "paraphrases": ["What is the name and English description of the person who has the KVAB member ID 248?", "Please provide the English name and description of the individual identified as member 248 of the Royal Flemish Academy of Belgium for Science and the Arts."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3887> \"248\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7410", "question": "Properties linking more than one item to Giorgi Chelebadze", "sparql": "SELECT ?property (COUNT(?item) AS ?count) (SAMPLE(?label) AS ?propertyLabel)\nWHERE {\n  ?item ?property wd:Q5563412 .\n  OPTIONAL {\n    ?property rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n}\nGROUP BY ?property\nHAVING (?count > 1)\nORDER BY DESC(?count)", "paraphrases": ["Which properties are used to link more than one resource to the Wikidata item for Giorgi Chelebadze?", "Show me the properties that connect other items to Giorgi Chelebadze, but only if they are used more than once, ordered by frequency."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q5563412> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_7411", "question": "French communes named \"Neuville\" and their coordinates", "sparql": "SELECT ?commune ?communeLabel ?coord WHERE { ?commune wdt:P31 wd:Q484170 . ?commune rdfs:label ?communeLabel . FILTER (LANG(?communeLabel) = \"fr\") ?commune wdt:P625 ?coord . FILTER (REGEX(?communeLabel, \"Neuville\", \"i\")) }", "paraphrases": ["What are the French communes with \"Neuville\" in their name and their geographic coordinates?", "Show me the geographic coordinates of all French communes whose French name contains \"Neuville\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q484170> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"fr\" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . FILTER ( ( REGEX ( ?var1Label , \"string1\" ) ) ) . }"}}
{"id": "test_7412", "question": "Authors of \"The sum of all human knowledge\" paper and their ORCID IDs.", "sparql": "SELECT ?author (STR(?authorLabel) AS ?authorName) ( COALESCE ( ?orcid , CONCAT ( \"https://orcid.org/\" , ENCODE_FOR_URI( STR( ?authorLabel ) ) ) ) AS ?orcidOrFallback ) WHERE { wd:Q22329083 wdt:P50 ?author . OPTIONAL { ?author wdt:P496 ?orcid . } ?author rdfs:label ?authorLabel . FILTER (LANG(?authorLabel) = \"en\") }", "paraphrases": ["Who are the authors of the academic article \"The sum of all human knowledge\": A systematic review of scholarly research on the content of Wikipedia, and what are their ORCID identifiers?", "List the English names of the authors of the paper \"The sum of all human knowledge\" and provide their ORCID IDs; if an ORCID is not available, generate a fallback URL using their name."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COALESCE ( ?var2 , CONCAT ( \"string1\", ENCODE_FOR_URI ( ?var1Label ) ) ) AS ?var3 ) WHERE { <http://www.wikidata.org/entity/Q22329083> <http://www.wikidata.org/prop/direct/P50> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,da,de,es,fr,nl,no,ru,sv,zh\". } }"}}
{"id": "test_7413", "question": "Which properties link multiple resources to the entity \"Weinek\"?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(COUNT(?item) AS ?count) WHERE {\n  ?item ?property wd:Q1464209 .\n}\nGROUP BY ?property\nHAVING(?count > 1)\nORDER BY DESC(?count)", "paraphrases": ["What properties are used to connect more than one resource to the Wikidata item for Weinek?", "Show me the properties that are used to associate more than one web page or resource with Weinek, ordered by how often they are used."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q1464209> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_7414", "question": "French label \"Paul Pierre Gomez\" and is a human", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person WHERE {\n  ?person rdfs:label \"Paul Pierre Gomez\" @fr .\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["Who is the person named \"Paul Pierre Gomez\" in French and is a human?", "Find the human entity with the French label \"Paul Pierre Gomez\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Paul Gomez\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_7415", "question": "Lighthouses in Spain with their coordinates and images", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?lighthouse ?lighthouseLabel ?coordinates ?image WHERE {\n  ?lighthouse wdt:P31 wd:Q39715 .\n  ?lighthouse wdt:P17 wd:Q29 .\n  OPTIONAL {\n    ?lighthouse wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    ?lighthouse wdt:P18 ?image .\n  }\n  ?lighthouse rdfs:label ?lighthouseLabel .\n  FILTER(LANG(?lighthouseLabel) = \"en\")\n}\nORDER BY ASC(?lighthouseLabel)", "paraphrases": ["What are the English-named lighthouses in Spain, and where are they located and what do they look like?", "Show me a list of lighthouses in Spain, including their names, geographic coordinates, and images from Wikimedia Commons."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q39715> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/spain> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nb,nn,en,fi\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_7416", "question": "What are the dogs that have white as one of their colors?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?dog WHERE {\n  ?dog wdt:P31 wd:Q144 .\n  ?dog wdt:P462 wd:Q23444 .\n}", "paraphrases": ["Can you list all dogs that are white?", "Which dogs are known to have the color white?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q144> . ?var1 <http://www.wikidata.org/prop/direct/P462> <http://www.wikidata.org/entity/Q23444> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_7417", "question": "How many works citing the article \"Frontal lobe activation during object permanence: data from near-infrared spectroscopy\" were published each year, and how many of them have listed authors?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?year(COUNT(DISTINCT ?citingWork) AS ?count) ?hasAuthor WHERE {\n  BIND(wd:Q25975509 AS ?targetArticle)\n  ?citingWork wdt:P2860 ?targetArticle .\n  ?citingWork wdt:P577 ?publicationDate .\n  BIND(STR(YEAR(?publicationDate)) AS ?year)\n  OPTIONAL {\n    ?citingWork wdt:P50 ?author .\n    BIND(\"has author\" AS ?hasAuthorTemp)\n  }\n  BIND(IF(BOUND(?hasAuthorTemp) , ?hasAuthorTemp , \"no author\") AS ?hasAuthor)\n}\nGROUP BY ?year ?hasAuthor\nORDER BY DESC(?year)", "paraphrases": ["Can you show the yearly trend of citations to this neuroscience paper, grouped by whether the citing works have authors?", "Which years saw the most citations to the study on frontal lobe activation, and were those citations from works with known authors?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q25975509> AS ?var5 ). ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var5 . OPTIONAL { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> ?var6 . } , \"string1\", \"string2\" ) AS ?var4 ). ?var5 <http://www.wikidata.org/prop/direct/P50> ?var6 . } BIND ( STR ( YEAR ( ?var7 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P577> ?var7 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_7418", "question": "What is the image of the Leinestra\u00dfe U-Bahn station in Berlin, and on which Wikipedia pages is it mentioned?", "sparql": "SELECT ?image ?wikipediaPage WHERE { wd:Q668563 wdt:P18 ?image . ?wikipediaPage schema:about wd:Q668563 . FILTER(regex(STR(?wikipediaPage), \"https://[a-z]+\\\\.wikipedia\\\\.org\")) }", "paraphrases": ["Show the Wikimedia Commons image and corresponding Wikipedia articles for the Leinestra\u00dfe Berlin U-Bahn station.", "Where can I find Wikipedia articles about Leinestra\u00dfe station, and what image represents it?"], "info": {"raw_sparql": "SELECT * WHERE { BIND ( <http://www.wikidata.org/entity/Q668563> AS ?var1 ). <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . ?var3 <http://schema.org/about> ?var2 . }"}}
{"id": "test_7419", "question": "List of volcanoes", "sparql": "SELECT ?volcano WHERE { ?volcano wdt:P31 wd:Q8072 . } LIMIT 100", "paraphrases": ["What are some examples of volcanoes?", "Can you show me 100 entities that are classified as volcanoes?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q8072> . } LIMIT 100"}}
{"id": "test_7420", "question": "French people with \"Rib\u00e8re\" in their name", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person WHERE {\n  ?person rdfs:label ?label .\n  FILTER(LANG(?label) = 'fr')\n  .\n  FILTER(CONTAINS(LCASE(?label) , 'rib\u00e8re'))\n  .\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["Who are the French individuals whose names include \"Rib\u00e8re\"?", "List all humans in Wikidata who have a French label containing the name \"Rib\u00e8re\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"RIBERE\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_7421", "question": "What are the Slovenian-labeled properties related to place of birth in Wikidata?", "sparql": "SELECT ?relatedProp ?label ?desc WHERE { wd:P19 wdt:P1659 ?relatedProp . ?relatedProp rdfs:label ?label . ?relatedProp schema:description ?desc . FILTER(LANG(?label) = \"sl\" && LANG(?desc) = \"sl\") }", "paraphrases": ["Which properties, described in Slovenian, are considered related to the place of birth?", "Can you show me the Slovenian labels and descriptions of properties that are linked as related to birth location?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P19> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"sl\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"sl\" ) ) ) . }"}}
{"id": "test_7422", "question": "List of railway stations in English", "sparql": "SELECT ?station ?stationLabel WHERE { ?station wdt:P31 wd:Q55488 . ?station rdfs:label ?stationLabel . FILTER(LANG(?stationLabel) = \"en\") } LIMIT 20", "paraphrases": ["What are some examples of railway stations?", "Show me the names of 20 railway stations in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q55488> . } LIMIT 20"}}
{"id": "test_7423", "question": "Is there a Wikidata item with GND ID 1146949073?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P227 \"1146949073\" .\n}", "paraphrases": ["Does the German National Library ID 1146949073 exist in Wikidata?", "Can you confirm that the person with GND ID 1146949073 is represented in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"1146949073\". }"}}
{"id": "test_7424", "question": "Who are the people with the surname Beluche?", "sparql": "SELECT DISTINCT ?human WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P734 wd:Q65097933 . }", "paraphrases": ["Which humans have the family name Beluche in Wikidata?", "List all individuals whose last name is Beluche."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"beluche\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_7425", "question": "What are the Spanish labels of properties and their values associated with the 1978 Superman film?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?supermanLabel ?propertyItemLabel ?valueLabel WHERE {\n  BIND( wd:Q213053 AS ?superman ) .\n  ?superman ?directProperty ?value .\n  ?propertyItem wikibase:directClaim ?directProperty .\n  ?propertyItem rdfs:label ?propertyItemLabel .\n  ?value rdfs:label ?valueLabel .\n  ?superman rdfs:label ?supermanLabel .\n  FILTER ( LANG( ?supermanLabel ) = \"es\" ) FILTER ( LANG( ?propertyItemLabel ) = \"es\" ) FILTER ( LANG( ?valueLabel ) = \"es\" )\n}", "paraphrases": ["Show me all the Spanish-language property-value pairs for the movie Superman (1978).", "For the 1978 Superman movie, list all its Spanish-labeled properties and the corresponding Spanish-labeled values."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2Label ?var3Label WHERE { BIND ( <http://www.wikidata.org/entity/Q213053> AS ?var1 ). ?var1 ?var4 ?var5 . ?var6 ?var7 ?var4 . ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var3Label ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"es\" ) ) ) . }"}}
{"id": "test_7426", "question": "What are the most common top-level meta-classes in Wikidata, and how many instances are linked to them through a three-level type hierarchy?", "sparql": "SELECT ?topLevelClass (COUNT(?instance) AS ?count)\nWHERE {\n  ?instance wdt:P31 ?class .\n  ?class wdt:P31 ?metaClass .\n  ?metaClass wdt:P31 ?topLevelClass .\n}\nGROUP BY ?topLevelClass\nORDER BY DESC(?count)\nLIMIT 10", "paraphrases": ["Which classes in Wikidata are classified as classes of classes of classes, and how many items belong to them via this hierarchy?", "List the highest-level classification categories in Wikidata by how many items are connected through three levels of typing."], "info": {"raw_sparql": "SELECT( MIN ( ?var1 ) AS ?var1 ) ?var2 WHERE { { SELECT ?var1 ?var3 ?var4 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P31> ?var2 . } LIMIT 20000 } } GROUP BY ?var2"}}
{"id": "test_7427", "question": "Who are the female Canadian actors born after 2003?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?actor ?actorLabel WHERE {\n  ?actor wdt:P31 wd:Q5 .\n  ?actor wdt:P106 wd:Q33999 .\n  ?actor wdt:P27 wd:Q16 .\n  ?actor wdt:P21 wd:Q6581072 .\n  ?actor wdt:P569 ?birthDate .\n  FILTER ( ?birthDate > \"2003-01-01T00:00:00\" ^^ xsd:dateTime ) .\n  ?actor rdfs:label ?actorLabel .\n  FILTER ( LANG( ?actorLabel ) = \"en\" )\n}", "paraphrases": ["Female Canadian actors born after January 1, 2003", "List the English names of all female Canadian actors born after 2003."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q16> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . FILTER ( ( ( ?var2 > \"2003-01-01T00:00:00\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"C,en\". } }"}}
{"id": "test_7428", "question": "What are the most common legal penalties assigned in Wikidata, and how many times have they been used?", "sparql": "SELECT ?penalty ?penaltyLabel (COUNT(?person) AS ?count) WHERE { ?person wdt:P1596 ?penalty . ?penalty rdfs:label ?penaltyLabel . FILTER(LANG(?penaltyLabel) = 'en') . FILTER(?penalty IN (wd:Q8454, wd:Q68676, wd:Q853735, wd:Q841236, wd:Q4737759, wd:Q40357, wd:Q1373376, wd:Q694381, wd:Q1230779)) } GROUP BY ?penalty ?penaltyLabel ORDER BY DESC(?count) LIMIT 50", "paraphrases": ["Which punishments are most frequently recorded in Wikidata, ranked by frequency?", "Show the top penalties like capital punishment and life imprisonment, along with their occurrence counts in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label WHERE { { SELECT ?var1 ( COUNT (* ) AS ?var2 )( SAMPLE ( ?var4 ) AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P1596> ?var1 . } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1000 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs,en\". } } ORDER BY DESC( ?var2 )ASC( ?var1 )"}}
{"id": "test_7429", "question": "Entities located on the Seine river", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?statement WHERE {\n  ?statement ps:P706 wd:Q1471 .\n  ?item p:P706 ?statement .\n}", "paraphrases": ["What objects or structures are situated on the Seine river?", "List all items that are located on the Seine river, along with their statement identifiers."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P706> <http://www.wikidata.org/entity/Q1471> . ?var1 <http://www.wikidata.org/prop/P706> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_7430", "question": "Is Cargo a type of software?", "sparql": "ASK WHERE { wd:Q47258851 (wdt:P31/wdt:P279*) wd:Q7397 . }", "paraphrases": ["Does Cargo belong to the category of software?", "Is Cargo classified as software through its type or subclass relationships?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q47258851> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_7431", "question": "English labels and descriptions of properties used on items in the \"Military rank insignia of Israel\" category.", "sparql": "SELECT DISTINCT ?propItem ?propLabel ?propDescription WHERE { ?item wdt:P910 wd:Q8630904 . ?item ?prop ?value . BIND(IRI(REPLACE(STR(?prop), \"http://www.wikidata.org/prop/direct/\", \"http://www.wikidata.org/entity/\")) AS ?propItem) . ?propItem a wikibase:Property . ?propItem rdfs:label ?propLabel . ?propItem schema:description ?propDescription . FILTER(LANG(?propLabel) = \"en\") FILTER(LANG(?propDescription) = \"en\") } LIMIT 100", "paraphrases": ["What properties with English labels and descriptions are used on items categorized under \"Military rank insignia of Israel\"?", "Show me the English names and descriptions of all properties applied to items that belong to the Wikimedia category for Israeli military rank insignia."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q8630904> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_7432", "question": "What is the English name of the person with KVAB member ID 429?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P3887 \"429\" .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER ( LANG( ?itemLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["Who is the member of the Royal Flemish Academy of Belgium for Science and the Arts with ID 429?", "Can you tell me the name in English of the KVAB member numbered 429?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3887> \"429\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7433", "question": "What are the English labels of entities associated with Albert Einstein through Wikidata properties?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?entityLabel ?property ?value ?valueLabel WHERE {\n  wd:Q937 rdfs:label ?entityLabel .\n  FILTER ( LANG( ?entityLabel ) = \"en\" ) .\n  wd:Q937 ?property ?value .\n  FILTER ( isIRI( ?value ) ) .\n  ?value rdfs:label ?valueLabel .\n  FILTER ( LANG( ?valueLabel ) = \"en\" )\n}", "paraphrases": ["List the people, places, and concepts linked to Albert Einstein in Wikidata, along with their English names.", "What entities does Albert Einstein have relationships with in Wikidata, and what are their English labels?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5Label WHERE { BIND ( <http://www.wikidata.org/entity/undefined> AS ?var1 ). ?var1 ?var2 ?var4 . ?var6 ?var7 ?var2 . ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . }"}}
{"id": "test_7434", "question": "What Wikidata item is the Wikipedia page about the film \"Angels & Demons\" linked to?", "sparql": "SELECT ?item WHERE { <https://en.wikipedia.org/wiki/Angels_%26_Demons_(film)> schema:about ?item .}", "paraphrases": ["Which Wikidata entity corresponds to the English Wikipedia article on \"Angels & Demons\"?", "Find the Wikidata item for the film \"Angels & Demons\" as referenced by its English Wikipedia page."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <https://en.wikipedia.org/wiki/Angels_%26_Demons_(film)> <http://schema.org/about> ?var1 . }"}}
{"id": "test_7435", "question": "What are all the occupations and other properties of Wolverine, along with their English labels and values?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?entity ?entityLabel ?property ?propertyLabel ?value ?valueLabel ?image WHERE {\n  BIND( wd:Q186422 AS ?entity ) .\n  ?entity ?property ?value .\n  BIND( IRI( REPLACE( STR( ?property ) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\" ) ) AS ?propertyEntity ) .\n  ?propertyEntity rdfs:label ?propertyLabel .\n  ?value rdfs:label ?valueLabel .\n  ?entity rdfs:label ?entityLabel .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" ) .\n  FILTER ( LANG( ?valueLabel ) = \"en\" ) .\n  FILTER ( LANG( ?entityLabel ) = \"en\" ) .\n  OPTIONAL {\n    ?entity wdt:P18 ?image .\n  }\n}", "paraphrases": ["Show me all the facts about Wolverine from Wikidata, including property names, values, and his image.", "List all English-labeled properties and their values for the character Wolverine, and include his image if available."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5Label ?var6 WHERE { BIND ( <http://www.wikidata.org/entity/Q186422> AS ?var1 ). ?var1 ?var2 ?var4 . ?var7 ?var8 ?var2 . ?var7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var6 . } }"}}
{"id": "test_7436", "question": "Scholarly articles, reports, or textbooks authored by someone named Smith.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?work WHERE {\n  ?work wdt:P31 ?type .\n  FILTER(?type IN(wd:Q13442814 , wd:Q10870555 , wd:Q18918145 , wd:Q7433672 , wd:Q83790))\n  .\n  ?work wdt:P50 ?author .\n  ?author rdfs:label ?authorLabel .\n  FILTER(LANG(?authorLabel) = \"en\")\n  .\n  FILTER(REGEX(?authorLabel , \"Smith\" , \"i\"))\n}\nLIMIT 5", "paraphrases": ["What academic works (like articles or books) are authored by people with \"Smith\" in their name?", "List up to five scientific publications written by authors whose names include \"Smith\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . FILTER ( ( ( ?var2 = <http://www.wikidata.org/entity/Q13442814> ) || ( ?var2 = <http://www.wikidata.org/entity/Q7433672> ) || ( ?var2 = <http://www.wikidata.org/entity/Q18918145> ) || ( ?var2 = <http://www.wikidata.org/entity/Q10870555> ) || ( ?var2 = <http://www.wikidata.org/entity/Q83790> ) || ( ?var2 = <http://www.wikidata.org/entity/P1026> ) || ( ?var2 = <http://www.wikidata.org/entity/Q732577> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P50> ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . FILTER ( ( REGEX ( ?var4Label , \"string1\", \"i\" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P921> ?var5 . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( REGEX ( ?var6Label , \"\", \"i\" ) ) ) . } OFFSET 0 LIMIT 10"}}
{"id": "test_7437", "question": "Films with Kinopoisk IDs and Ukrainian Wikipedia pages.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?kinopoiskId ?ukWikipediaPage WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P2603 ?kinopoiskId .\n  ?ukWikipediaPage schema:about ?film ; schema:isPartOf <https://uk.wikipedia.org/> .\n}", "paraphrases": ["Which films have a Kinopoisk ID and a corresponding page on the Ukrainian Wikipedia?", "Show me the list of films, their Kinopoisk identifiers, and links to their Ukrainian Wikipedia articles."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P2603> ?var2 . ?var3 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://uk.wikipedia.org/> . }"}}
{"id": "test_7438", "question": "Which football player has the Transfermarkt ID 1318?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?player WHERE {\n  ?player wdt:P2446 \"1318\"\n}", "paraphrases": ["Who is the footballer identified by the Transfermarkt player ID 1318?", "Find the Wikidata item for the football player with Transfermarkt ID 1318."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2446> \"1318\". } LIMIT 1"}}
{"id": "test_7439", "question": "What is the Italian label for the main subject of the article \"Altmetric: enriching scholarly content with article-level discussion and metrics\"?", "sparql": "SELECT ?mainSubject ?label WHERE { wd:Q47399715 wdt:P921 ?mainSubject . ?mainSubject rdfs:label ?label . FILTER (LANG(?label) = \"it\") } LIMIT 50", "paraphrases": ["In Italian, what is the topic of the academic article about Altmetric's role in tracking scholarly impact?", "Please provide the Italian name of the main subject discussed in the Altmetric scholarly article."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q47399715> <http://www.wikidata.org/prop/direct/P921> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"it\" ) ) ) . } LIMIT 50"}}
{"id": "test_7440", "question": "Spanish-labeled church buildings with modern architecture, ordered by construction date.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?label ?inception WHERE {\n  ?church wdt:P31 wd:Q16970 .\n  ?church rdfs:label ?label .\n  FILTER(LANG(?label) = \"es\")\n  .\n  ?church wdt:P149 wd:Q245188 .\n  ?church wdt:P571 ?inception .\n}\nORDER BY ASC(?inception)", "paraphrases": ["What are the modern-style church buildings in Spanish-speaking regions and when were they built?", "Show me a list of church buildings constructed in modern architectural style, with their Spanish names and construction dates, sorted from earliest to latest."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16970> . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"es\" ) ) ) . ?var3 <http://www.wikidata.org/prop/direct/P149> <http://www.wikidata.org/entity/Q245188> . ?var3 <http://www.wikidata.org/prop/direct/P571> ?var2 . } ORDER BY ASC( ?var2 )"}}
{"id": "test_7441", "question": "List of English-named creative work series in Wikidata", "sparql": "SELECT ?series ?seriesLabel WHERE { ?series wdt:P31 wd:Q7725310 . ?series rdfs:label ?seriesLabel . FILTER(LANGMATCHES(LANG(?seriesLabel), \"en\")) }", "paraphrases": ["What are the English names of all series of creative works in Wikidata?", "Show me all creative work series with English labels from Wikidata."], "info": {"raw_sparql": "CONSTRUCT { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/CreativeWorkSeries> ; <http://schema.org/name> ?var1Label } WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7442", "question": "French labels and descriptions of properties used for video games in Wikidata.", "sparql": "SELECT ?propertyEntity ?label ?description WHERE { wd:Q7889 ?directProperty ?value . FILTER (STRSTARTS(STR(?directProperty), \"http://www.wikidata.org/prop/direct/\")) BIND (IRI(REPLACE(STR(?directProperty), \"http://www.wikidata.org/prop/direct/\", \"http://www.wikidata.org/entity/\")) AS ?propertyEntity) ?propertyEntity rdf:type wikibase:Property . ?propertyEntity rdfs:label ?label . ?propertyEntity schema:description ?description . FILTER (LANG(?label) = \"fr\") FILTER (LANG(?description) = \"fr\") } LIMIT 100", "paraphrases": ["What properties are used to describe video games, and what are their French labels and descriptions?", "Show me the French labels and descriptions of all properties that are used in statements about video games."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q7889> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"fr\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"fr\" ) ) ) . } LIMIT 100"}}
{"id": "test_7443", "question": "Hungarian sociologists and their birthplaces", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?sociologist ?sociologistLabel ?birthPlace WHERE {\n  ?sociologist wdt:P106 wd:Q2306091 .\n  ?sociologist wdt:P27 wd:Q28 .\n  OPTIONAL {\n    ?sociologist wdt:P19 ?birthPlace .\n  }\n  OPTIONAL {\n    ?sociologist rdfs:label ?sociologistLabel .\n    FILTER ( LANG( ?sociologistLabel ) = \"en\" )\n  }\n}\nLIMIT 100", "paraphrases": ["Who are the sociologists from Hungary, and where were they born?", "List Hungarian sociologists along with their places of birth."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q2306091> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q28> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var2 . } } LIMIT 100"}}
{"id": "test_7444", "question": "Who are the female alumni of Pembroke College, Oxford, and what are their English Wikipedia pages?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?person ?personLabel ?wikipediaPage WHERE {\n  ?person wdt:P31 wd:Q5 ; wdt:P21 wd:Q6581072 ; wdt:P69 wd:Q82606 .\n  OPTIONAL {\n    ?wikipediaPage schema:about ?person ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}\nORDER BY ASC ( ?personLabel )", "paraphrases": ["List female graduates of Pembroke College, Oxford with English Wikipedia links.", "Show me the names of women educated at Pembroke College, Oxford, sorted alphabetically, along with their English Wikipedia articles if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> ; <http://www.wikidata.org/prop/direct/P69> <http://www.wikidata.org/entity/Q82606> . OPTIONAL { ?var3 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_7445", "question": "Who are all the people who have held the position of President of the United States?", "sparql": "SELECT ?president ?presidentLabel WHERE { ?president wdt:P39 wd:Q11696 . ?president rdfs:label ?presidentLabel . FILTER(LANG(?presidentLabel) = \"en\") }", "paraphrases": ["Which individuals, real or fictional, have been portrayed as President of the United States?", "List all entities that have held the office of President of the United States, including fictional portrayals."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q11696> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ko,en\". } }"}}
{"id": "test_7446", "question": "Who is a person with the surname Rotalier?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?human WHERE {\n  ?human rdfs:label ?label .\n  FILTER(CONTAINS(LCASE(?label) , \"rotalier\"))\n  .\n  ?human wdt:P31 wd:Q5 .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["Can you find any humans whose name includes \"Rotalier\"?", "Which person, known in English as having \"Rotalier\" in their name, is classified as a human?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Rotalier\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_7447", "question": "What are the subclasses of volcanic landform in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subclass WHERE {\n  ?subclass wdt:P279 wd:Q29025902 .\n}\nLIMIT 1000", "paraphrases": ["List all types of volcanic landforms that are classified as subclasses of volcanic landform.", "Which geological features are considered specific kinds of volcanic landforms?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q180163> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 1000"}}
{"id": "test_7448", "question": "What is the English label and description of the Great Russian Encyclopedia entry with ID 1983540?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P2924 \"1983540\" .\n  ?item rdfs:label ?itemLabel\n  FILTER(LANG(?itemLabel) = \"en\")\n  .\n  OPTIONAL {\n    ?item schema:description ?description\n    FILTER(LANG(?description) = \"en\")\n    .\n  }\n}", "paraphrases": ["Who is the person listed in the Great Russian Encyclopedia with ID 1983540, and what is their English description?", "Show me the English name and description of the encyclopedia entry for Jean Jaur\u00e8s from the Great Russian Encyclopedia (old ID: 1983540)."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"1983194\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7449", "question": "What is the English label and description of the entity with Great Russian Encyclopedia Online ID 1941846?", "sparql": "SELECT ?item ?label ?description WHERE { ?item wdt:P2924 \"1941846\" . OPTIONAL { ?item rdfs:label ?label . FILTER (LANG(?label) = \"en\") } OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Find the name and English description of the mountain range listed in the Great Russian Encyclopedia with ID 1941846.", "Which entity in Wikidata has the Great Russian Encyclopedia Online ID 1941846, and what is its English name and description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"1941846\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7450", "question": "What is the English label and description of beer on Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?label ?description WHERE {\n  wd:Q44 rdfs:label ?label .\n  wd:Q44 schema:description ?description .\n  FILTER(LANG(?label) = \"en\")\n  .\n  FILTER(LANG(?description) = \"en\")\n}", "paraphrases": ["Can you tell me the English name and definition of beer from Wikidata?", "Show me the English label and description for the Wikidata item about beer."], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q44> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . <http://www.wikidata.org/entity/Q44> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_7451", "question": "Capital cities without a head of government", "sparql": "SELECT ?capital ?capitalLabel WHERE { ?capital wdt:P31 wd:Q5119 . MINUS { ?capital wdt:P6 [] . } ?capital rdfs:label ?capitalLabel . FILTER(LANG(?capitalLabel) = \"en\") }", "paraphrases": ["Which capital cities in the world do not have a designated head of government?", "List the capital cities that are not linked to any head of government, along with their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5119> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P6> [] . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs,en\". } }"}}
{"id": "test_7452", "question": "Which entities on Wikidata have the Twitter usernames cdsouthan, jessamyn, mySociety, p_barbera, or wmcounter?", "sparql": "SELECT ?entity ?twitterUsername WHERE { ?entity wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"cdsouthan\" \"jessamyn\" \"mySociety\" \"p_barbera\" \"wmcounter\" } }", "paraphrases": ["Who are the people or organizations on Wikidata associated with the Twitter handles @cdsouthan, @jessamyn, @mySociety, @p_barbera, and @wmcounter?", "Show me the Wikidata entities for the Twitter accounts cdsouthan, jessamyn, mySociety, p_barbera, and wmcounter."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"OccupySTM\" ) ( \"wmcounter\" ) ( \"string3\" ) ( \"string4\" ) ( \"cdsouthan\" ) ( \"string5\" ) ( \"IpfsPics\" ) ( \"jessamyn\" ) ( \"e_j_hayes\" ) ( \"Museocat\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"mySociety\" ) ( \"string10\" ) ( \"string11\" ) ( \"p_barbera\" ) } }"}}
{"id": "test_7453", "question": "Does the movie with IMDb ID tt2387601 exist in Wikidata?", "sparql": "ASK WHERE { ?item wdt:P345 \"tt2387601\" . }", "paraphrases": ["Is there a Wikidata item for the film 'The Special Need' identified by the IMDb ID tt2387601?", "Check if the IMDb identifier tt2387601 is linked to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2387601\". }"}}
{"id": "test_7454", "question": "People educated at Lyc\u00e9e Georges-Clemenceau in Nantes", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P69 wd:Q3268696 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["Who are the alumni of Lyc\u00e9e Georges-Clemenceau in Nantes, France?", "List the names of individuals who attended Lyc\u00e9e Georges-Clemenceau."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P69> <http://www.wikidata.org/entity/Q3268696> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,fr\". } }"}}
{"id": "test_7455", "question": "Who are the members of the Workers' Party in Brazil?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P102 wd:Q657089 .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}", "paraphrases": ["Which Brazilian politicians are affiliated with the Workers' Party?", "List the English names of all people who are members of the Workers' Party (PT)."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P102> <http://www.wikidata.org/entity/Q657089> . }"}}
{"id": "test_7456", "question": "Female members of the Workers' Party in Brazil", "sparql": "SELECT ?person (SAMPLE(?label) AS ?personLabel) WHERE { ?person wdt:P102 wd:Q657089 . ?person wdt:P21 wd:Q6581072 . ?person rdfs:label ?label . FILTER(LANG(?label) = \"pt\") } GROUP BY ?person", "paraphrases": ["Who are the female politicians affiliated with the Workers' Party in Brazil?", "List the names of all women who are members of the Workers' Party in Brazil, in Portuguese."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P102> <http://www.wikidata.org/entity/Q657089> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . }"}}
{"id": "test_7457", "question": "Who is the singer-songwriter with the given name James and the family name Bay?", "sparql": "SELECT ?person ?givenNameLabel ?familyNameLabel ?personLabel WHERE { ?person wdt:P106 wd:Q488205 . ?person wdt:P735 wd:Q677191 . ?person wdt:P734 wd:Q16479551 . ?person rdfs:label ?personLabel . wd:Q677191 rdfs:label ?givenNameLabel . wd:Q16479551 rdfs:label ?familyNameLabel . FILTER(LANG(?personLabel) = \"en\") FILTER(LANG(?givenNameLabel) = \"en\") FILTER(LANG(?familyNameLabel) = \"en\") } LIMIT 20", "paraphrases": ["What are the full name and occupation of the person named James Bay?", "Which singer-songwriter has the first name James and last name Bay?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q488205> . ?var1 <http://www.wikidata.org/prop/direct/P735> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P734> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P735> <http://www.wikidata.org/entity/Q677191> . ?var1 <http://www.wikidata.org/prop/direct/P734> <http://www.wikidata.org/entity/Q16479551> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 20"}}
{"id": "test_7458", "question": "What people, organizations, or entities are associated with either Batavia (Jakarta) or Batavia, New York?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?entity WHERE {\n  {\n    ?entity wdt:P19 wd:Q1199713 .\n  } UNION {\n    ?entity wdt:P19 wd:Q1380988 .\n  } UNION {\n    ?entity wdt:P551 wd:Q1199713 .\n  } UNION {\n    ?entity wdt:P551 wd:Q1380988 .\n  } UNION {\n    ?entity wdt:P131 wd:Q1199713 .\n  } UNION {\n    ?entity wdt:P131 wd:Q1380988 .\n  } UNION {\n    ?entity wdt:P159 wd:Q1199713 .\n  } UNION {\n    ?entity wdt:P159 wd:Q1380988 .\n  } UNION {\n    ?entity wdt:P937 wd:Q1199713 .\n  } UNION {\n    ?entity wdt:P937 wd:Q1380988 .\n  }\n}\nLIMIT 1000", "paraphrases": ["Can you list all entities that were born in, lived in, or are located in Batavia (historical Jakarta) or Batavia, New York?", "Show me all known connections \u2014 such as residence, birthplace, or headquarters \u2014 between entities and the two cities named Batavia: one in Indonesia and one in New York."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q1199713> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q1199713> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q1199713> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P166> <http://www.wikidata.org/entity/Q1199713> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1199713> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1199713> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P102> <http://www.wikidata.org/entity/Q1199713> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q1380988> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q1380988> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q1380988> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P166> <http://www.wikidata.org/entity/Q1380988> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1380988> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1380988> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P102> <http://www.wikidata.org/entity/Q1380988> . } } LIMIT 1000"}}
{"id": "test_7459", "question": "Who is the person with IMDb ID nm0776469?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person WHERE {\n  ?person wdt:P345 \"nm0776469\" .\n}", "paraphrases": ["What Wikidata entity corresponds to the IMDb identifier nm0776469?", "Can you find the person associated with the IMDb ID nm0776469?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"nm0776469\". } LIMIT 1"}}
{"id": "test_7460", "question": "Is the statue of Saint Vit in Saverne classified as a type of software?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  wd:Q29111792 wdt:P31 / wdt:P279 * wd:Q7397 .\n}", "paraphrases": ["Does the statuette of Saint Vit in the Church of Notre-Dame de la Nativit\u00e9 in Saverne belong to any category that is a subclass of software?", "Confirm whether the physical statue of Saint Vit is considered an instance of software or any of its subclasses."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q29111792> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_7461", "question": "Does the VIAF ID 5180149068413365730000 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?person wdt:P214 \"5180149068413365730000\" .\n}", "paraphrases": ["Is there a person in Wikidata with the VIAF identifier 5180149068413365730000?", "Confirm if the Virtual International Authority File ID 5180149068413365730000 is linked to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"5180149068413365730000\". }"}}
{"id": "test_7462", "question": "Image of Charles-Joseph Natoire with SNAC ARK ID w6h16jz8", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6h16jz8\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with Charles-Joseph Natoire in Wikidata?", "Show me the Commons image for the person identified by SNAC ARK ID w6h16jz8."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6h16jz8\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7463", "question": "What are the subclasses of the Basque language up to three levels deep?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?item ?itemLabel ?subclass WHERE {\n  {\n    wd:Q8752 wdt:P279 ?item\n  } UNION {\n    wd:Q8752 wdt:P279 ?mid .\n    ?mid wdt:P279 ?item\n  } UNION {\n    wd:Q8752 wdt:P279 ?mid1 .\n    ?mid1 wdt:P279 ?mid2 .\n    ?mid2 wdt:P279 ?item\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" ) OPTIONAL {\n    ?item wdt:P279 ?subclass\n  }\n}", "paraphrases": ["What languages or language categories are classified as subclasses of the Basque language within three levels of classification?", "List all entities that are subclasses of the Basque language, up to three generations of classification, along with their direct superclass."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q8752> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Undirected\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7464", "question": "What properties link the FSK rating category property to its associated entities like its category and issuer?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?object WHERE {\n  wd:P1981 ?property ?object .\n  FILTER ( ?object IN ( wd:Q23649977 , wd:Q329126 ) )\n}", "paraphrases": ["Which entities are connected to the FSK rating category property (P1981) via direct relationships?", "Show the relationships between the FSK rating category property and its category (Q23649977) and issuer (Q329126)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/P1981> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_7465", "question": "Subclasses of film in Wikidata", "sparql": "SELECT DISTINCT ?filmSubclass WHERE { ?filmSubclass wdt:P279 wd:Q11424 . } LIMIT 10000", "paraphrases": ["What types of films are recognized as direct subclasses of film in Wikidata?", "List all known subgenres or categories of film in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q11424> . } LIMIT 10000"}}
{"id": "test_7466", "question": "What are the most common types of entities that Earth is classified as, either directly or through one intermediate category, and how many things belong to each of those types?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?class ?classLabel ( COUNT( ?item ) AS ?instanceCount ) WHERE {\n  {\n    wd:Q2 wdt:P31 ?class .\n  } UNION {\n    wd:Q2 wdt:P31 ?intermediate .\n    ?intermediate wdt:P31 ?class .\n  }\n  ?item wdt:P31 ?class .\n  ?class rdfs:label ?classLabel .\n  FILTER ( LANG( ?classLabel ) = \"en\" )\n}\nGROUP BY ?class ?classLabel\nORDER BY DESC ( ?instanceCount )", "paraphrases": ["Show me the categories that Earth belongs to (up to two levels deep in the type hierarchy) and how many items in Wikidata are instances of each category.", "Which classes are reachable from Earth via 'instance of' relationships in at most two steps, and how many entities are instances of each class?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( DISTINCT ?var4 ) AS ?var3 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Undirected\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var5 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P31> . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P2067> ?var1 . } } GROUP BY ?var1 } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7467", "question": "List football players and their EU-Football.info IDs sorted by ID.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?player ?playerLabel ?eufootball_id WHERE {\n  ?player wdt:P3726 ?eufootball_id .\n  ?player rdfs:label ?playerLabel .\n  FILTER(LANG(?playerLabel) = \"en\")\n}\nORDER BY ASC(?eufootball_id)", "paraphrases": ["Who are the football players registered on EU-Football.info, and what are their IDs, ordered from lowest to highest?", "Please provide a list of football players with their English names and corresponding EU-Football.info player IDs, sorted by the ID in ascending order."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3726> ?var2 . } ORDER BY ASC( ?var2 )"}}
{"id": "test_7468", "question": "What properties in Wikidata are used to assign colors to items, and what qualifiers are used on those color assignments?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?statement ?property ( SAMPLE( ?qualifierProperty ) AS ?qualifier ) WHERE {\n  {\n    SELECT DISTINCT ?item ?statement ?property WHERE {\n      ?statement ?statementProperty wd:P462 .\n      ?item ?claimProperty ?statement .\n      ?property wikibase:statementProperty ?statementProperty .\n      ?property wikibase:claim ?claimProperty .\n      FILTER ( ?property != wd:P31 )\n    }\n    LIMIT 101\n  }\n  OPTIONAL {\n    ?statement ?qualifierProperty ?value .\n    ?qualifierConfig wikibase:qualifier ?qualifierProperty .\n  }\n}\nGROUP BY ?item ?statement ?property", "paraphrases": ["Show me the properties that link items to their colors in Wikidata, along with any additional context (qualifiers) provided in those statements.", "Which properties in Wikidata have statements about color, and what qualifiers are attached to those color statements?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/P462> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_7469", "question": "What languages use the Latin script, which is also used by English?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?language ?languageLabel WHERE {\n  ?language wdt:P282 wd:Q8229 .\n  ?language wdt:P31 wd:Q34770 .\n  ?language rdfs:label ?languageLabel .\n  FILTER ( LANG( ?languageLabel ) = \"en\" )\n}\nLIMIT 101", "paraphrases": ["List up to 101 languages that write in the Latin alphabet.", "Which languages are written using the same script as English?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P282> <http://www.wikidata.org/entity/Q1860> . ?var1 <http://www.wikidata.org/prop/P282> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_7470", "question": "Academic disciplines that include forensic science as a part, along with any qualifiers on that relationship.", "sparql": "SELECT ?discipline ?disciplineLabel (SAMPLE(?qualifierProperty) AS ?qualifier) WHERE {  ?discipline p:P527 ?statement .  ?statement ps:P527 wd:Q495304 .  ?statement ?qualifierProperty ?qualifierValue .  FILTER( ?qualifierProperty != ps:P527 )  ?discipline rdfs:label ?disciplineLabel .  FILTER(LANG(?disciplineLabel) = \"en\")} GROUP BY ?discipline ?disciplineLabel ORDER BY ?discipline", "paraphrases": ["Which academic disciplines have forensic science as a component, and what qualifiers are attached to that relationship?", "List the academic disciplines that are composed of forensic science, and show one example of a qualifier used on that connection."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P527> <http://www.wikidata.org/entity/Q495304> . ?var1 <http://www.wikidata.org/prop/P527> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_7471", "question": "List of humans who play association football with their English names.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?player ?playerLabel WHERE {\n  ?player wdt:P641 wd:Q2736 .\n  ?player wdt:P31 wd:Q5 .\n  OPTIONAL {\n    ?player rdfs:label ?playerLabel .\n    FILTER ( LANG( ?playerLabel ) = \"en\" )\n  }\n}\nLIMIT 100", "paraphrases": ["Who are the humans that play association football, and what are their English names?", "Please provide the English names of all humans associated with association football."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P641> <http://www.wikidata.org/entity/Q2736> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } } LIMIT 100000"}}
{"id": "test_7472", "question": "Humans who died in 1943 with their English names and death dates.", "sparql": "SELECT ?person ?personLabel ?deathDate WHERE { ?person wdt:P31 wd:Q5 ; wdt:P570 ?deathDate . FILTER ( ?deathDate >= \"1943-01-01\"^^xsd:date && ?deathDate < \"1944-01-01\"^^xsd:date ) . ?person rdfs:label ?personLabel . FILTER (lang(?personLabel) = \"en\") } ORDER BY ?person LIMIT 10", "paraphrases": ["Who were the people who died in 1943, and what were their names and exact dates of death?", "List the English names and death dates of all humans who died in the year 1943."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var3 . } ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var9 . } BIND ( ( ( ?var2 - ?var4 ) /\"365.2425\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) AS ?var10 ). FILTER ( ( ( ?var2 >= \"1943-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 < \"1943-01-02\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_7473", "question": "Is there a video game with ZXDB ID 0006740 in Wikidata?", "sparql": "ASK WHERE { ?item wdt:P4705 \"0006740\" }", "paraphrases": ["Does the game 'The Neverending Story' have the ZXDB identifier 0006740?", "Confirm if the ZXDB ID 0006740 is assigned to any video game in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4705> \"0006740\". }"}}
{"id": "test_7474", "question": "Items located in Brazil, Canada, Italy, India, Paraguay, Colombia, Lebanon, Taiwan, South Korea, or Mexico", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?country WHERE {\n  VALUES ?country {\n    wd:Q155 wd:Q16 wd:Q38 wd:Q668 wd:Q733 wd:Q739 wd:Q822 wd:Q865 wd:Q884 wd:Q96\n  }\n  ?item wdt:P17 ?country .\n  FILTER NOT EXISTS {\n    ?item wdt:P31 / wdt:P279 * wd:Q18616576\n  }\n}", "paraphrases": ["What entities (such as organizations, buildings, or research papers) are associated with Brazil, Canada, Italy, India, Paraguay, Colombia, Lebanon, Taiwan, South Korea, or Mexico?", "List all non-property items (like companies, research studies, or institutions) that are located in any of these countries: Brazil, Canada, Italy, India, Paraguay, Colombia, Lebanon, Taiwan, South Korea, or Mexico."], "info": {"raw_sparql": "SELECT * WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q155> ) ( <http://www.wikidata.org/entity/Q16> ) ( <http://www.wikidata.org/entity/Q739> ) ( <http://www.wikidata.org/entity/Q38> ) ( <http://www.wikidata.org/entity/Q668> ) ( <http://www.wikidata.org/entity/Q822> ) ( <http://www.wikidata.org/entity/Q96> ) ( <http://www.wikidata.org/entity/Q733> ) ( <http://www.wikidata.org/entity/Q884> ) ( <http://www.wikidata.org/entity/Q865> ) } ?var2 <http://www.wikidata.org/prop/direct/P17> ?var1 . }"}}
{"id": "test_7475", "question": "Works featuring Harry Potter as a character", "sparql": "SELECT ?work WHERE { ?work wdt:P674 wd:Q3244512 . FILTER (?work != wd:Q8337) . ?work wdt:P31 ?instance . FILTER (?instance IN (wd:Q11424, wd:Q571, wd:Q7889)) }", "paraphrases": ["In which films, books, or video games does Harry Potter appear?", "List all canonical works where Harry Potter is a character, excluding the character himself."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P674> <http://www.wikidata.org/entity/Q3244512> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7476", "question": "Coordinates of Michael Jackson's birthplace", "sparql": "SELECT ?coordinates WHERE { wd:Q2831 wdt:P19 ?birthPlace . ?birthPlace wdt:P625 ?coordinates .}", "paraphrases": ["What are the geographic coordinates of the city where Michael Jackson was born?", "Tell me the latitude and longitude of Gary, Indiana, where Michael Jackson was born."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q2831> <http://www.wikidata.org/prop/direct/P19> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P625> ?var1 . }"}}
{"id": "test_7477", "question": "Does the ship with IMO number 9170999 exist in Wikidata?", "sparql": "ASK WHERE { ?ship wdt:P458 \"9170999\" . }", "paraphrases": ["Is there a ship registered in Wikidata with the IMO number 9170999?", "Confirm if the vessel MN Pelican is listed in Wikidata using its IMO number 9170999."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P458> \"9170999\". }"}}
{"id": "test_7478", "question": "What is the English title and description of the film with LdiF ID 512530?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?filmLabel ?description WHERE {\n  ?film wdt:P3107 \"512530\" .\n  OPTIONAL {\n    ?film rdfs:label ?filmLabel .\n    FILTER(LANG(?filmLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?film schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["What is the English name and a brief description of the film identified by the LdiF ID 512530?", "Please provide the English title and description of the film that has the LdiF ID 512530."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3107> \"512530\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7479", "question": "Is there a ship with IMO number 9243758?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?ship wdt:P458 \"9243758\" .\n}", "paraphrases": ["Does the International Maritime Organization assign the number 9243758 to any ship?", "Confirm whether the ship identified by IMO 9243758 is registered in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P458> \"9243758\". }"}}
{"id": "test_7480", "question": "Is there a ship with IMO number 8408961?", "sparql": "ASK WHERE { ?ship wdt:P458 \"8408961\" . }", "paraphrases": ["Does the ship Monnik have the IMO number 8408961?", "Confirm whether the IMO ship number 8408961 is assigned to any vessel in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P458> \"8408961\". }"}}
{"id": "test_7481", "question": "Who are some human pornographic actors and what are their images?", "sparql": "SELECT ?person ?personLabel ?image WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P106 wd:Q488111 . ?person wdt:P18 ?image . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["List of pornographic actors with their photos", "Can you show me the names and images of people whose occupation is pornographic actor?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q488111> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } OFFSET 1000 LIMIT 1000"}}
{"id": "test_7482", "question": "List of bridges that are instances of the bridge structure class.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?bridge ?bridgeLabel WHERE {\n  ?bridge wdt:P31 wd:Q12280 .\n  ?bridge rdfs:label ?bridgeLabel .\n  FILTER(LANG(?bridgeLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["What are some examples of bridges in Wikidata?", "Show me the names of 100 bridges, each of which is an instance of the bridge structure type, in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q12280> . } LIMIT 100"}}
{"id": "test_7483", "question": "How many conference papers in Wikidata have a DOI assigned?", "sparql": "SELECT (COUNT(DISTINCT ?paper) AS ?count) WHERE { ?paper wdt:P31 wd:Q23927052 ; wdt:P356 ?doi . }", "paraphrases": ["What is the number of conference papers that are identified by a Digital Object Identifier (DOI)?", "Count the distinct conference papers in Wikidata that have a DOI value associated with them."], "info": {"raw_sparql": "SELECT( COUNT ( DISTINCT ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q23927052> ; <http://www.wikidata.org/prop/direct/P356> ?var3 . }"}}
{"id": "test_7484", "question": "List association football players born in 1990, including their height, weight, handedness, birthplace, and citizenship.", "sparql": "SELECT ?player ?playerLabel ?birthDate ?height ?mass ?sportCountry ?birthPlace ?citizenship ?handedness WHERE { ?player wdt:P31 wd:Q5 . ?player wdt:P641 wd:Q2736 . ?player wdt:P569 ?birthDate . OPTIONAL { ?player wdt:P2048 ?height . } OPTIONAL { ?player wdt:P2067 ?mass . } OPTIONAL { ?player wdt:P1532 ?sportCountry . } OPTIONAL { ?player wdt:P19 ?birthPlace . } OPTIONAL { ?player wdt:P27 ?citizenship . } OPTIONAL { ?player wdt:P552 ?handedness . } ?player rdfs:label ?playerLabel . FILTER (lang(?playerLabel) = \"en\") FILTER (YEAR(?birthDate) = 1990) }", "paraphrases": ["Who are the human football players born in 1990, and what are their birthplaces, citizenships, and physical attributes like height and weight?", "Please provide a list of all association football players born in 1990, along with their English names, birth dates, and any available information on their height, mass, handedness, country of citizenship, and place of birth."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5Label ?var6Label ?var7Label ?var8 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P641> <http://www.wikidata.org/entity/Q2736> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2048> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2067> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1532> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P552> ?var8 . } FILTER ( ( ( YEAR ( ?var2 ) = \"1990\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_7485", "question": "List of whisky brands that are instances of whisky on Wikidata.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?whisky ?whiskyLabel WHERE {\n  ?whisky wdt:P31 wd:Q281 .\n  ?whisky rdfs:label ?whiskyLabel .\n  FILTER(LANG(?whiskyLabel) = \"en\")\n}", "paraphrases": ["What are the English-named whisky brands classified as instances of whisky?", "Show me the English labels of all whisky products listed as instances of whisky on Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q281> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_7486", "question": "Districts in Germany", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?district ?label WHERE {\n  ?district wdt:P17 wd:Q183 .\n  ?district wdt:P31 wd:Q106658 .\n  ?district rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}\nORDER BY ?label", "paraphrases": ["What are the names of all districts in Germany?", "List the English labels of all administrative districts in Germany."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var3 ?var3Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q106658> . }"}}
{"id": "test_7487", "question": "People with the given name Angelina and their countries of citizenship.", "sparql": "SELECT ?person ?personLabel ?nativeName ?countryLabel WHERE { ?person wdt:P735 wd:Q1097621 . OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } OPTIONAL { ?person wdt:P1559 ?nativeName } OPTIONAL { ?person wdt:P27 ?country . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") } }", "paraphrases": ["Who are the people named Angelina, and what countries are they citizens of?", "List all individuals whose first name is Angelina, along with their full names and nationalities."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P735> <http://www.wikidata.org/entity/Q1097621> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1559> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en, fr, de, ru, zh\". } }"}}
{"id": "test_7488", "question": "Is there a Wikidata item for the movie with IMDb ID tt6781638?", "sparql": "ASK WHERE { ?movie wdt:P345 \"tt6781638\" . }", "paraphrases": ["Does the IMDb ID tt6781638 correspond to any entry in Wikidata?", "Check if the movie 'Dolphin Reef' is linked to the IMDb ID tt6781638 in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6781638\". }"}}
{"id": "test_7489", "question": "Does the IMDb ID tt7328154 exist in Wikidata?", "sparql": "ASK WHERE { ?item wdt:P345 \"tt7328154\" . }", "paraphrases": ["Is there a movie or TV show in Wikidata with the IMDb identifier tt7328154?", "Confirm if the film 'Holiday' (2018) is linked to the IMDb ID tt7328154 in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt7328154\". }"}}
{"id": "test_7490", "question": "What are the property values associated with the TV series \"Two and a Half Men\"?", "sparql": "SELECT ?var1Label ?var2 WHERE {\n  VALUES ( ?var5 ) {\n    ( wd:Q189267 )\n  }\n  ?var5 ?var6 ?var7 .\n  ?var7 ?var8 ?var2 .\n  ?var1 wikibase:claim ?var6 .\n  ?var1 wikibase:statementProperty ?var8 .\n  ?var1 rdfs:label ?var1Label .\n  FILTER(LANG(?var1Label) = \"en\")\n}\nORDER BY ?var1 ?var7 ?var2", "paraphrases": ["List all external IDs and identifiers linked to the television show \"Two and a Half Men\".", "Show the labels and values of all properties for the TV show \"Two and a Half Men\"."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var2 ?var3Label ?var4Label ?var4 WHERE { VALUES ( ?var5 ) { ( <http://www.wikidata.org/entity/Q189267> ) } ?var5 ?var6 ?var7 . ?var7 ?var8 ?var2 . ?var1 <http://wikiba.se/ontology#claim> ?var6 . ?var1 <http://wikiba.se/ontology#statementProperty> ?var8 . OPTIONAL { ?var7 ?var9 ?var4 . ?var3 <http://wikiba.se/ontology#qualifier> ?var9 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )ASC( ?var7 )ASC( ?var2 )"}}
{"id": "test_7491", "question": "What properties are used to connect other entities to the Canadian Union of Public Employees more than once?", "sparql": "SELECT ?property (COUNT(?item) AS ?count)\nWHERE {\n  ?item ?property wd:Q3508241 .\n  FILTER(STRSTARTS(STR(?property), \"http://www.wikidata.org/prop/direct/\"))\n}\nGROUP BY ?property\nHAVING (?count > 1)\nORDER BY DESC(?count)", "paraphrases": ["Which relationships are shared by multiple entities linked to CUPE?", "List the most common ways other entities are connected to the Canadian Union of Public Employees, excluding those used only once."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q3508241> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_7492", "question": "ISO 3166-2 code and coordinates of New York State, where the TV series Elementary is set.", "sparql": "SELECT DISTINCT ?state ?stateLabel ?isoCode ?coordinates WHERE { wd:Q247643 wdt:P495 wd:Q30 . wd:Q30 wdt:P150 ?state . ?state wdt:P300 ?isoCode ; wdt:P625 ?coordinates . ?state rdfs:label ?stateLabel . FILTER(LANG(?stateLabel) = \"en\") FILTER(?state = wd:Q1384) } ORDER BY ?state", "paraphrases": ["What are the ISO code and geographic coordinates of the U.S. state where the TV show Elementary is primarily set?", "Please provide the ISO 3166-2 code and coordinates for New York State, the location associated with the TV series Elementary."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2Label ( LANG ( ?var2Label ) AS ?var3 ) ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q247643> ; <http://www.wikidata.org/prop/direct/P300> ?var4 ; <http://www.wikidata.org/prop/direct/P625> ?var5 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } ORDER BY ASC( ?var1 )"}}
{"id": "test_7493", "question": "What is the name, country of citizenship's native label, and occupation labels of the person with ORCID 0000-0001-5000-0074?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item ?qId ?label ?nativeCountryLabel ?occupationLabel WHERE {\n  BIND( REPLACE( STR( ?item ) , \"http://www.wikidata.org/entity/\" , \"\" , \"i\" ) AS ?qId ) .\n  ?item wdt:P496 \"0000-0001-5000-0074\" .\n  OPTIONAL {\n    ?item rdfs:label ?label .\n  }\n  OPTIONAL {\n    ?item wdt:P27 ?country .\n    ?country wdt:P1705 ?nativeCountryLabel .\n  }\n  OPTIONAL {\n    ?item ( wdt:P106 / rdfs:label ) ?occupationLabel .\n  }\n}\nLIMIT 2000", "paraphrases": ["Show me the Wikidata ID, label, native country name, and occupations in different languages for the researcher with ORCID 0000-0001-5000-0074.", "Retrieve the Q-ID, label, native language label of the country of citizenship, and all occupation labels for the person identified by ORCID 0000-0001-5000-0074."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { BIND ( REPLACE ( STR ( ?var1 ) , \"string1\", \"\", \"i\" ) AS ?var2 ). ?var1 <http://www.wikidata.org/prop/direct/P496> \"string2\". OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var7 . ?var7 <http://www.wikidata.org/prop/direct/P1705> ?var4 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.w3.org/2000/01/rdf-schema#label> ) ?var5 . } } LIMIT 2000"}}
{"id": "test_7494", "question": "What is the image of Earth on Wikimedia Commons?", "sparql": "SELECT ?image WHERE { wd:Q2 wdt:P18 ?image . } ORDER BY ASC(?image)", "paraphrases": ["Show the image associated with the planet Earth.", "Retrieve the file name of the image representing Earth from Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/prop/direct/Q1881833> <http://www.wikidata.org/prop/direct/P18> ?var1 . } ORDER BY ASC( ?var1 )"}}
{"id": "test_7495", "question": "What are the subclasses and superclasses of ring up to three levels deep, along with their direct superclasses?", "sparql": "SELECT DISTINCT ?entity ?entityLabel ?directSuperclass WHERE { VALUES ?start { wd:Q161172 } { ?start wdt:P279 ?entity . } UNION { ?start wdt:P279 ?level1 . ?level1 wdt:P279 ?entity . } UNION { ?start wdt:P279 ?level1 . ?level1 wdt:P279 ?level2 . ?level2 wdt:P279 ?entity . } UNION { ?entity wdt:P279 ?start . } UNION { ?entity wdt:P279 ?level1 . ?level1 wdt:P279 ?start . } UNION { ?entity wdt:P279 ?level1 . ?level1 wdt:P279 ?level2 . ?level2 wdt:P279 ?start . } OPTIONAL { ?entity rdfs:label ?entityLabel . FILTER(LANG(?entityLabel) = \"en\") } OPTIONAL { ?entity wdt:P279 ?directSuperclass } }", "paraphrases": ["Which algebraic structures are directly related to ring through up to three levels of subclass relationships, and what are their immediate superclasses?", "List all entities that are up to three subclass steps away from ring in either direction, including their English labels and the classes they are directly subclasses of."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q161172> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> \"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } UNION { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q161172> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Reverse\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> \"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pt\". } }"}}
{"id": "test_7496", "question": "Is there a Wikidata item with IMDb ID nm6642808?", "sparql": "ASK WHERE { ?item wdt:P345 \"nm6642808\" }", "paraphrases": ["Does the IMDb identifier nm6642808 exist in Wikidata?", "Check if nm6642808 is a valid IMDb ID for any person in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"nm6642808\". }"}}
{"id": "test_7497", "question": "Does the IMDb ID nm1516489 exist in Wikidata?", "sparql": "ASK WHERE { ?item wdt:P345 \"nm1516489\" . }", "paraphrases": ["Is there a Wikidata item associated with the IMDb identifier nm1516489?", "Confirm if nm1516489 is a valid IMDb ID linked to a Wikidata entity."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"nm1516489\". }"}}
{"id": "test_7498", "question": "What is Bob Buys' occupation in Dutch?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?occupationLabel ?occupation WHERE {\n  wd:Q1828881 wdt:P106 ?occupation .\n  ?occupation rdfs:label ?occupationLabel .\n  FILTER ( LANG( ?occupationLabel ) = \"nl\" )\n}", "paraphrases": ["In Dutch, what term describes Bob Buys' profession?", "What is the Dutch label for Bob Buys' occupation?"], "info": {"raw_sparql": "SELECT ?var1Label ?var1 WHERE { <http://www.wikidata.org/entity/Q1828881> <http://www.wikidata.org/prop/direct/P106> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( ?var1Label = \"schrijver\" ) ) ) . FILTER ( ( ( \"nl\" = LANG ( ?var1Label ) ) ) ) . }"}}
{"id": "test_7499", "question": "How many of the works citing J\u00f6rg Tiedemann\u2019s publications are also written by him?", "sparql": "SELECT ?year (COUNT(DISTINCT ?citingWork) AS ?count) ?isAuthorOfCitingWork WHERE { ?tiedemannWork wdt:P50 wd:Q47538991 . ?citingWork wdt:P2860 ?tiedemannWork . ?citingWork wdt:P577 ?publicationDate . BIND(STR(YEAR(?publicationDate)) AS ?year) BIND(IF(EXISTS { ?citingWork wdt:P50 wd:Q47538991 }, \"Yes\", \"No\") AS ?isAuthorOfCitingWork) } GROUP BY ?year ?isAuthorOfCitingWork ORDER BY DESC(?year)", "paraphrases": ["Can you show me the number of self-citations by J\u00f6rg Tiedemann, grouped by year?", "Which years have publications that cite J\u00f6rg Tiedemann\u2019s work, and how many of those citing publications are authored by him?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q47538991> . } , \"string1\", \"string2\" ) AS ?var4 ). BIND ( STR ( YEAR ( ?var5 ) ) AS ?var1 ). ?var6 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q47538991> . ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var6 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var5 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_7500", "question": "Image of C. Maxwell Stanley with SNAC ARK ID w6697n09", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6697n09\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Is there an image available for C. Maxwell Stanley, whose SNAC ARK ID is w6697n09?", "Show me the Wikimedia Commons image for the person identified by SNAC ARK ID w6697n09."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6697n09\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7501", "question": "Image of the person with SNAC ARK ID w64j0f6n", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w64j0f6n\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Joseph C. O'Mahoney in Wikidata?", "Can you find the Wikimedia Commons image for the individual identified by the SNAC ARK ID w64j0f6n?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w65z68xq\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7502", "question": "Who has the IMDb ID nm1920924?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P345 \"nm1920924\" .\n  ?person rdfs:label ?personLabel\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}", "paraphrases": ["Which person is associated with the IMDb identifier nm1920924?", "Tell me the name of the person with IMDb ID nm1920924."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"nm1920924\". }"}}
{"id": "test_7503", "question": "Does the IMDb ID nm0435836 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P345 \"nm0435836\" .\n}", "paraphrases": ["Is there a Wikidata item associated with the IMDb identifier nm0435836?", "Confirm if the person with IMDb ID nm0435836 is listed in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"nm0435836\". }"}}
{"id": "test_7504", "question": "List primary schools with their administrative regions and countries in English.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?school ?schoolLabel ?adminAreaLabel ?countryLabel WHERE {\n  ?school wdt:P31 wd:Q9842 .\n  ?school wdt:P131 ?adminArea .\n  ?school wdt:P17 ?country .\n  ?school rdfs:label ?schoolLabel .\n  ?adminArea rdfs:label ?adminAreaLabel .\n  ?country rdfs:label ?countryLabel .\n  FILTER(LANG(?schoolLabel) = \"en\")\n  FILTER(LANG(?adminAreaLabel) = \"en\")\n  FILTER(LANG(?countryLabel) = \"en\")\n}\nLIMIT 3000", "paraphrases": ["What are the primary schools around the world, and in which towns and countries are they located?", "Please provide a list of primary schools, including the name of the town or district they are in and their country, all in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4Label WHERE { { SELECT ?var1 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q9842> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var4 . } LIMIT 3000 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl\". } }"}}
{"id": "test_7505", "question": "Wikimedia list articles and their main categories", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?mountain ?mountainLabel ?category ?categoryLabel WHERE {\n  {\n    SELECT DISTINCT ?mountain ?category WHERE {\n      ?mountain wdt:P910 ?category .\n      ?mountain wdt:P31 wd:Q13406463 .\n    }\n    ORDER BY ASC ( ?category )\n    LIMIT 100\n  }\n  OPTIONAL {\n    ?mountain rdfs:label ?mountainLabel .\n    FILTER ( LANG( ?mountainLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?category rdfs:label ?categoryLabel .\n    FILTER ( LANG( ?categoryLabel ) = \"en\" )\n  }\n}", "paraphrases": ["What are the main categories of Wikimedia list articles?", "Show me the top 100 Wikimedia list articles along with their English-labeled main categories, sorted alphabetically by category."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { { SELECT DISTINCT ?var1 ?var2 ?var4 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P910> ?var3 . VALUES ( ?var4 ) { ( <http://www.wikidata.org/entity/Q13406463> ) } BIND ( <http://www.wikidata.org/entity/P31> AS ?var2 ). ?var1 <http://www.wikidata.org/prop/direct/P31> ?var4 . } ORDER BY ASC( ?var3 ) LIMIT 100 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7506", "question": "Humans from Ethiopia with no specified gender", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?human WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human wdt:P27 wd:Q115 .\n  OPTIONAL {\n    ?human wdt:P21 ?gender .\n  }\n  FILTER ( ! BOUND( ?gender ) )\n}", "paraphrases": ["Which humans are citizens of Ethiopia but do not have a gender specified in Wikidata?", "List all Ethiopian citizens who have not been assigned a sex or gender in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q115> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var3 . } BIND ( <http://www.w3.org/2001/XMLSchema#integer> ( STRAFTER ( STR ( ?var1 ) , \"Q\" ) ) AS ?var4 ). FILTER ( ( ( ?var2 >= \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . FILTER ( ( !( BOUND ( ?var3 ) ) ) ) . FILTER ( ( ( ?var4 < \"9999950000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . }"}}
{"id": "test_7507", "question": "Image of John Brown with SNAC ARK ID w6x64nb4", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6x64nb4\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6x64nb4?", "Show me the Wikimedia Commons image for the person identified by SNAC ARK ID w6x64nb4."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6x64nb4\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7508", "question": "Bodies of water in the Community of Madrid with images and coordinates", "sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 wdt:P131+ wd:Q5756 . ?var1 (wdt:P31/wdt:P279*) wd:Q15324 . OPTIONAL { ?var1 wdt:P18 ?var2 . } OPTIONAL { ?var1 wdt:P625 ?var3 . } OPTIONAL { ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") } }", "paraphrases": ["What bodies of water are located within the Community of Madrid, and what are their images and geographic coordinates?", "List all bodies of water (like lakes, rivers, or reservoirs) that are part of the administrative area of the Community of Madrid, along with their English labels, images from Wikimedia Commons, and geographic coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q5756> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Reverse\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var4 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"12\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P131> . } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q15324> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es\". } }"}}
{"id": "test_7509", "question": "Who is the French person named \"Didier Deschamps\"?", "sparql": "SELECT DISTINCT ?person WHERE { ?person rdfs:label \"Didier Deschamps\" @fr . ?person wdt:P31 wd:Q5 }", "paraphrases": ["What is the Wikidata item for the human named \"Didier Deschamps\" in French?", "Find the entity in Wikidata that has the French label \"Didier Deschamps\" and is a human."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Didier Ury\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_7510", "question": "Non-sovereign territories with ISO 3166-1 alpha-2 codes that are still active", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?territory ?isoCode ?territoryLabel WHERE {\n  ?territory wdt:P297 ?isoCode .\n  FILTER NOT EXISTS {\n    ?territory wdt:P31 / wdt:P279 * wd:Q6256 .\n  }\n  FILTER NOT EXISTS {\n    ?territory wdt:P582 ?endDate .\n  }\n  ?territory rdfs:label ?territoryLabel .\n  FILTER(LANG(?territoryLabel) = \"en\")\n}", "paraphrases": ["Which territories are not countries but have ISO country codes and are still in use?", "List all active dependent territories and special regions that have two-letter ISO codes."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P297> ?var2 . FILTER ( ( NOT EXISTS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q6256> . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P582> ?var3 . } ) ) . }"}}
{"id": "test_7511", "question": "Who are the athletes from Bahrain?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?athlete ?athleteLabel WHERE {\n  ?athlete wdt:P31 wd:Q5 ; wdt:P27 wd:Q801 .\n  ?athlete rdfs:label ?athleteLabel .\n  FILTER ( LANG( ?athleteLabel ) = \"en\" )\n}", "paraphrases": ["List all human athletes who are citizens of Bahrain.", "Can you show me the names of people from Bahrain who are athletes?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3171> \"bahrain\". }"}}
{"id": "test_7512", "question": "French-named people with 'Teai' in their name", "sparql": "SELECT ?entity ?label WHERE { ?entity rdfs:label ?label . FILTER(LANG(?label) = 'fr') . FILTER(CONTAINS(LCASE(?label), 'teai')) . ?entity wdt:P31 wd:Q5 }", "paraphrases": ["Who are the humans in Wikidata whose French label contains 'Teai'?", "List all humans with French names containing 'Teai'."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"teai\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_7513", "question": "Is there a film on Wikidata with IMDb ID tt0266751?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P345 \"tt0266751\" .\n}", "paraphrases": ["Does the movie with IMDb identifier tt0266751 have a corresponding entry in Wikidata?", "Confirm whether the IMDb ID tt0266751 is linked to any item in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0266751\". }"}}
{"id": "test_7514", "question": "Humans who are musicians or have an occupation that is a subclass of musician.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person ( SAMPLE( ?label ) AS ?personLabel ) WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person ( wdt:P106 / wdt:P279 * ) wd:Q639669 .\n  ?person rdfs:label ?label .\n}\nGROUP BY ?person\nLIMIT 500", "paraphrases": ["Who are the humans whose occupation is musician or a subcategory of musician?", "List all musicians and people whose occupations are subclasses of musician."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q639669> . } LIMIT 500"}}
{"id": "test_7515", "question": "What tournaments has Roger Federer won?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?tournament ?tournamentLabel WHERE {\n  wd:Q1426 wdt:P2522 ?tournament .\n  ?tournament rdfs:label ?tournamentLabel .\n  FILTER ( LANG( ?tournamentLabel ) = \"en\" )\n}", "paraphrases": ["List all the tennis competitions that Roger Federer has won.", "Which events did Roger Federer claim victory in during his career?"], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q2652750> ?var1 ?var2 . ?var2 ?var3 ?var4 . ?var4 ?var5 ?var6 . ?var6 ?var7 ?var8 . ?var8 ?var9 <http://www.wikidata.org/entity/Q1426> . }"}}
{"id": "test_7516", "question": "Who are the male Indian dancers?", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P27 wd:Q668 . ?person wdt:P21 wd:Q6581097 . ?person wdt:P106 wd:Q5716684 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } LIMIT 50", "paraphrases": ["List 50 Indian male individuals whose profession is dancing.", "Can you provide the names of men from India who work as dancers?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q668> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581097> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q5716684> . } LIMIT 50"}}
{"id": "test_7517", "question": "Indian painters born in New Delhi", "sparql": "SELECT ?person WHERE { ?person wdt:P27 wd:Q668 . ?person wdt:P19 wd:Q987 . ?person wdt:P106 wd:Q1028181 . } LIMIT 100", "paraphrases": ["Who are the painters from India who were born in New Delhi?", "List all Indian painters born in New Delhi."], "info": {"raw_sparql": "SELECT ?var1 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q668> . ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q987> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1028181> . } LIMIT 100"}}
{"id": "test_7518", "question": "List Wikipedia articles on the Slovenian site that lack a Slovenian label but have an English label.", "sparql": "SELECT ?page ?label WHERE { ?page schema:isPartOf <https://sl.wikipedia.org/> ; schema:about ?item . ?item rdfs:label ?label . FILTER (LANG(?label) = \"en\") FILTER (NOT EXISTS { ?item rdfs:label ?slLabel . FILTER (LANG(?slLabel) = \"sl\") }) } ORDER BY ASC(?label)", "paraphrases": ["Which articles on the Slovenian Wikipedia do not have a Slovenian-language label on Wikidata, and what are their English names?", "Show me the English titles of Wikipedia pages on the Slovenian Wikipedia that are not labeled in Slovenian on Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://schema.org/isPartOf> <https://sl.wikipedia.org/> . FILTER ( ( NOT EXISTS { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"sl\" ) ) ) . } ) ) . } ORDER BY ASC( ?var1Label )"}}
{"id": "test_7519", "question": "Who are French writers, authors, or poets who have only a French Wikipedia page and no IdRef identifier?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?label ?wikipage ?sitelinks WHERE {\n  {\n    ?person wdt:P106 wd:Q36180 .\n  } UNION {\n    ?person wdt:P106 wd:Q482980 .\n  } UNION {\n    ?person wdt:P106 wd:Q49757 .\n  }\n  ?person wdt:P27 wd:Q142 .\n  ?wikipage schema:about ?person ; schema:inLanguage \"fr\" ; schema:isPartOf <https://fr.wikipedia.org/> .\n  OPTIONAL {\n    ?person rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"fr\" )\n  } MINUS {\n    ?person wdt:P269 []\n  }\n  {\n    SELECT ?person ( COUNT( ?wp ) AS ?sitelinks ) WHERE {\n      ?person wdt:P106 ?occ .\n      VALUES ?occ {\n        wd:Q36180 wd:Q482980 wd:Q49757\n      }\n      ?wp schema:about ?person ; schema:isPartOf ?site .\n      FILTER ( CONTAINS( STR( ?site ) , \"wikipedia.org\" ) )\n    }\n    GROUP BY ?person\n  }\n  FILTER ( ?sitelinks = 1 )\n}\nORDER BY DESC ( ?sitelinks )", "paraphrases": ["List French literary figures (writers, authors, poets) with exactly one Wikipedia page \u2014 the French one \u2014 and no SUDOC authority ID.", "Find French citizens who are writers, authors, or poets, have a French Wikipedia article, no other Wikipedia pages, and are not in the French library authority system."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q36180> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q482980> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q49757> . } ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q142> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var4 . { ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> \"fr\". ?var3 <http://schema.org/isPartOf> <https://fr.wikipedia.org/> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P269> [] . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"fr\" ) ) ) . } } GROUP BY ?var1 ?var2 ?var3 ?var4 HAVING ( ( ?var4 = \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var4 )"}}
{"id": "test_7520", "question": "Who are the members of the Royal Galician Academy of Fine Arts?", "sparql": "SELECT ?member ?memberLabel WHERE { ?member wdt:P463 wd:Q12398699 . ?member wdt:P31 wd:Q5 . ?member rdfs:label ?memberLabel . FILTER(LANG(?memberLabel) = \"gl\") } LIMIT 200", "paraphrases": ["Can you list the human members of the Royal Galician Academy of Fine Arts in Galician?", "Which individuals are part of the Royal Galician Academy of Fine Arts, and what are their names in Galician?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } ?var1 <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q12398699> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . } LIMIT 200"}}
{"id": "test_7521", "question": "What is Lodewijk van Deyssel\u2019s name in Dutch?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label WHERE {\n  wd:Q2080152 rdfs:label ?label .\n  FILTER(LANG(?label) = \"nl\")\n}", "paraphrases": ["Show the Dutch-language label for the Wikidata item of Lodewijk van Deyssel.", "Is there a Dutch label for the Dutch writer Lodewijk van Deyssel? If so, what is it?"], "info": {"raw_sparql": "SELECT ?var1Label ?var1 WHERE { <http://www.wikidata.org/entity/Q2080152> <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( \"nl\" = LANG ( ?var1Label ) ) ) ) . }"}}
{"id": "test_7522", "question": "What are the occupations of Johan Engelbert Elias?", "sparql": "SELECT ?occupation WHERE { wd:Q1849155 wdt:P106 ?occupation . }", "paraphrases": ["What jobs did J.E. Elias have?", "List the professions of the Dutch historian J.E. Elias."], "info": {"raw_sparql": "SELECT( \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var1 ) WHERE { <http://www.wikidata.org/entity/Q1849155> <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . }"}}
{"id": "test_7523", "question": "Occupations of John R\u00e4decker", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?occupation WHERE {\n  wd:Q2215148 wdt:P106 ?occupation .\n}", "paraphrases": ["What occupations did John R\u00e4decker have?", "List the professions of the Dutch painter and sculptor John R\u00e4decker."], "info": {"raw_sparql": "SELECT( \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var1 ) WHERE { <http://www.wikidata.org/entity/Q2215148> <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . }"}}
{"id": "test_7524", "question": "Was Cornelis Johannes Karel van Aalst a university teacher?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT(IF(EXISTS {\n  wd:Q2237728 wdt:P106 wd:Q1622272\n}\n, 1 , 0) AS ?isUniversityTeacher) WHERE {\n}", "paraphrases": ["Does the Dutch banker and art collector Cornelis Johannes Karel van Aalst have the occupation of university teacher?", "Check if Cornelis Johannes Karel van Aalst was a university teacher and return 1 if true, 0 if false."], "info": {"raw_sparql": "SELECT( \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var1 ) WHERE { <http://www.wikidata.org/entity/Q2237728> <http://www.wikidata.org/prop/direct/P106> ?var2 . FILTER ( ( EXISTS { <http://www.wikidata.org/entity/Q2237728> <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1622272> . } ) ) . }"}}
{"id": "test_7525", "question": "Occupations of Ger Lataster if he is a painter", "sparql": "SELECT ?occupation WHERE { wd:Q884048 wdt:P106 ?occupation . FILTER EXISTS { wd:Q884048 wdt:P106 wd:Q1028181 . } }", "paraphrases": ["What are all the occupations of Ger Lataster, given that he is a painter?", "List all the jobs held by Ger Lataster, but only if he works as a painter."], "info": {"raw_sparql": "SELECT( \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var1 ) WHERE { <http://www.wikidata.org/entity/Q884048> <http://www.wikidata.org/prop/direct/P106> ?var2 . FILTER ( ( EXISTS { <http://www.wikidata.org/entity/Q884048> <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1028181> . } ) ) . }"}}
{"id": "test_7526", "question": "How many works cite Felicja Meisel-Miko\u0142ajczyk\u2019s research, grouped by publication year?", "sparql": "SELECT ?year (COUNT(DISTINCT ?citingWork) AS ?count) WHERE { ?citedWork wdt:P50 wd:Q16334858 . ?citingWork wdt:P2860 ?citedWork . ?citingWork wdt:P577 ?pubDate . BIND(STR(YEAR(?pubDate)) AS ?year) } GROUP BY ?year ORDER BY DESC(?year)", "paraphrases": ["Can you show me the number of academic papers that reference Felicja Meisel-Miko\u0142ajczyk\u2019s work, broken down by year?", "What is the yearly distribution of citations to Felicja Meisel-Miko\u0142ajczyk\u2019s single published work?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q16334858> . } , \"string1\", \"string2\" ) AS ?var4 ). BIND ( STR ( YEAR ( ?var5 ) ) AS ?var1 ). ?var6 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q16334858> . ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var6 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var5 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_7527", "question": "What are the top journals and publications that featured the most research papers by Felicja Meisel-Miko\u0142ajczyk, and how many papers did each publish?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?publication ?displayName(COUNT(?work) AS ?count) WHERE {\n  ?work wdt:P50 wd:Q16334858 .\n  ?work wdt:P1433 ?publication .\n  ?publication rdfs:label ?pubLabel .\n  FILTER(LANG(?pubLabel) = \"en\")\n  OPTIONAL {\n    ?publication wdt:P1813 ?pubShortName .\n  }\n  BIND(COALESCE(?pubShortName , ?pubLabel) AS ?displayName)\n}\nGROUP BY ?publication ?displayName\nORDER BY DESC(?count)", "paraphrases": ["Which journals published Felicja Meisel-Miko\u0142ajczyk\u2019s work the most frequently, using their official short names if available?", "Can you list the English-named publications where Felicja Meisel-Miko\u0142ajczyk\u2019s research appeared, sorted by the number of her publications in each?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q16334858> . ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1813> ?var6 . } BIND ( COALESCE ( ?var6 , ?var5Label ) AS ?var2Label ). } GROUP BY ?var1 ?var2Label ORDER BY DESC( ?var4 )"}}
{"id": "test_7528", "question": "Who are the computer scientists listed on Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?label WHERE {\n  ?var1 wdt:P106 wd:Q82594 ; wdt:P31 wd:Q5 ; rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}", "paraphrases": ["List of English-named people whose occupation is computer scientist.", "Show me the names of all human computer scientists in English."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82594> . ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_7529", "question": "Does the mountain with Peakbagger ID 35687 exist in Wikidata?", "sparql": "ASK WHERE { ?mountain wdt:P3109 \"35687\" . }", "paraphrases": ["Is there a mountain in Wikidata identified by the Peakbagger ID 35687?", "Does Wikidata contain an entry for the mountain with Peakbagger ID 35687?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3109> \"35687\". }"}}
{"id": "test_7530", "question": "Does the mountain with Peakbagger ID 78958 exist in Wikidata?", "sparql": "ASK WHERE { ?mountain wdt:P3109 \"78958\" }", "paraphrases": ["Is there a mountain in Wikidata that has the Peakbagger mountain ID 78958?", "Confirm if Mount D'Archiac is linked to the Peakbagger ID 78958 in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3109> \"78958\". }"}}
{"id": "test_7531", "question": "Politicians born in Hungary", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?politician WHERE {\n  ?politician wdt:P106 wd:Q82955 .\n  ?politician wdt:P19 wd:Q28 .\n}\nLIMIT 10000", "paraphrases": ["Who are the politicians that were born in Hungary?", "List all politicians with Hungary as their place of birth."], "info": {"raw_sparql": "SELECT ?var1 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q82955> . ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q28> . } LIMIT 10000"}}
{"id": "test_7532", "question": "List of English-named space stations", "sparql": "SELECT ?spaceStationLabel WHERE { ?spaceStation wdt:P31 wd:Q25956 . ?spaceStation rdfs:label ?spaceStationLabel . FILTER(LANG(?spaceStationLabel) = \"en\") }", "paraphrases": ["What are the names of all space stations in English?", "Show me the English labels of all entities that are instances of space stations."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q25956> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_7533", "question": "Image for SNAC ARK ID w6nk3n0k", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6nk3n0k\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What image is linked to the SNAC ARK ID w6nk3n0k?", "Show me the Wikimedia Commons image associated with the SNAC ARK ID w6nk3n0k."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6nk3n0k\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7534", "question": "What publications have published the most works by Anne McCaffrey, and how many works appeared in each?", "sparql": "SELECT ?publication ?pubLabel (COUNT(?work) AS ?count)\nWHERE {\n  ?work wdt:P50 wd:Q233046 .\n  ?work wdt:P1433 ?publication .\n  ?publication rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    ?publication wdt:P1813 ?shortName .\n  }\n  BIND(COALESCE(?shortName, ?label) AS ?pubLabel)\n}\nGROUP BY ?publication ?pubLabel\nORDER BY DESC(?count)", "paraphrases": ["List the journals and books where Anne McCaffrey\u2019s stories were published, ranked by the number of publications per outlet.", "Show me the English names of the publications that featured Anne McCaffrey\u2019s writings, along with how many of her works each one contained."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q233046> . ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1813> ?var6 . } BIND ( COALESCE ( ?var6 , ?var5Label ) AS ?var2Label ). } GROUP BY ?var1 ?var2Label ORDER BY DESC( ?var4 )"}}
{"id": "test_7535", "question": "List of computers that are instances of the general-purpose computer class.", "sparql": "SELECT ?computer ?computerLabel WHERE { ?computer wdt:P31 wd:Q68 . ?computer rdfs:label ?computerLabel . FILTER(LANG(?computerLabel) = \"en\") } LIMIT 100", "paraphrases": ["What are some examples of computers in Wikidata?", "Show me the English labels of all items classified as computers (instance of Q68)."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q68> . } LIMIT 100"}}
{"id": "test_7536", "question": "What is the scientific name, rank, and parent taxon of the genus Onthophagus?", "sparql": "SELECT ?scientificName ?taxonRankLabel ?parentTaxonLabel WHERE { wd:Q1945822 wdt:P225 ?scientificName ; wdt:P105 ?taxonRank ; wdt:P171 ?parentTaxon . ?taxonRank rdfs:label ?taxonRankLabel . ?parentTaxon rdfs:label ?parentTaxonLabel . FILTER(LANG(?taxonRankLabel) = \"en\") FILTER(LANG(?parentTaxonLabel) = \"en\") }", "paraphrases": ["Is Onthophagus a genus, and if so, what family does it belong to?", "Tell me about the taxonomic classification of Onthophagus."], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q1945822> ?var1 ?var2 . }"}}
{"id": "test_7537", "question": "Does Wikidata contain an item with VIAF ID 17983151?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P214 \"17983151\" .\n}", "paraphrases": ["Is there a person in Wikidata identified by the VIAF number 17983151?", "Check if the Virtual International Authority File identifier 17983151 is linked to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"17983151\". }"}}
{"id": "test_7538", "question": "Towns in Hungary with their population and area", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?town ?townLabel ?population ?area WHERE {\n  ?town wdt:P31 wd:Q13218690 .\n  OPTIONAL {\n    ?town wdt:P1082 ?population .\n  }\n  OPTIONAL {\n    ?town wdt:P2046 ?area .\n  }\n  ?town rdfs:label ?townLabel .\n  FILTER ( LANG( ?townLabel ) = \"en\" )\n}", "paraphrases": ["What are the population and area of towns in Hungary?", "List all towns in Hungary along with their English names, population, and area."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13218690> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2046> ?var4 . } } LIMIT 100000"}}
{"id": "test_7539", "question": "What are the capital cities of countries?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?countryLabel ?capitalLabel WHERE {\n  ?country wdt:P31 wd:Q6256 .\n  ?country wdt:P36 ?capital .\n  ?country rdfs:label ?countryLabel .\n  ?capital rdfs:label ?capitalLabel .\n  FILTER ( LANG( ?countryLabel ) = \"en\" && LANG( ?capitalLabel ) = \"en\" )\n}\nLIMIT 10", "paraphrases": ["Countries and their capitals", "Show me the names of countries along with the names of their capital cities in English."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var1 <http://www.wikidata.org/entity/Q19093> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7540", "question": "Public transport routes in Austria", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?route ?routeLabel WHERE {\n  ?route ( wdt:P31 / wdt:P279 * ) wd:Q1067164 .\n  ?route wdt:P17 wd:Q40 .\n  ?route rdfs:label ?routeLabel .\n  FILTER ( LANG( ?routeLabel ) = \"en\" )\n}", "paraphrases": ["What are the names of public transport lines (like U-Bahn or train routes) operating in Austria?", "List the English-labeled public transport itineraries in Austria, such as metro lines or train services."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1067164> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q40> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_7541", "question": "Image of Harry Parr-Davies with SNAC ARK ID w6d227g5", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6d227g5\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the person having the SNAC ARK ID w6d227g5?", "Show me the Wikimedia Commons image of the individual identified by the SNAC ARK ID w6d227g5."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6d227g5\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7542", "question": "Politicians who served as MSPs, their birthplaces, and the administrative regions those birthplaces belong to.", "sparql": "SELECT DISTINCT ?person ?birthPlace ?adminEntity WHERE { ?person wdt:P106 wd:Q82955 . ?person wdt:P39 ?position . ?position wdt:P279 wd:Q1711695 . ?person wdt:P19 ?birthPlace . ?birthPlace wdt:P131* ?adminEntity . }", "paraphrases": ["Which politicians have been Members of the Scottish Parliament, where were they born, and what administrative areas include their birthplaces?", "List all MSPs along with their birth locations and the hierarchy of administrative regions those locations are part of."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82955> . ?var1 <http://www.wikidata.org/prop/direct/P39> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q1711695> . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P131> * ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } GROUP BY ?var1 ?var1Label ?var2Label ?var3Label ?var4"}}
{"id": "test_7543", "question": "Does the HockeyDB player ID 172193 exist in Wikidata?", "sparql": "ASK WHERE { ?player wdt:P2602 \"172193\" . }", "paraphrases": ["Is there a Wikidata item for the ice hockey player with HockeyDB ID 172193?", "Confirm if the player with HockeyDB ID 172193 is listed in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2602> \"172193\". }"}}
{"id": "test_7544", "question": "What UK films have won an Oscar (or an Oscar subclass award), and how many such awards did each win?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?filmLabel ( COUNT( ?award ) AS ?awardCount ) WHERE {\n  ?film wdt:P495 wd:Q145 .\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P166 ?award .\n  ?award wdt:P279 wd:Q19020 .\n  ?film rdfs:label ?filmLabel .\n  FILTER ( LANG( ?filmLabel ) = \"en\" )\n}\nGROUP BY ?film ?filmLabel\nORDER BY ?filmLabel\nLIMIT 200", "paraphrases": ["Can you list English-language films from the United Kingdom that received an Academy Award subclass, along with the number of such awards per film?", "Which British films have been honored with an Oscar-category award, and how many times each?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P495> <http://www.wikidata.org/entity/Q145> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P166> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q19020> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } GROUP BY ?var1 ?var1Label LIMIT 200"}}
{"id": "test_7545", "question": "Who is the hockey player with HockeyDB ID 89806?", "sparql": "SELECT ?player WHERE { ?player wdt:P2602 \"89806\" . }", "paraphrases": ["Which ice hockey player is associated with the HockeyDB identifier 89806?", "Find the Wikidata item for the ice hockey player whose HockeyDB ID is 89806."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2602> \"89806\". } LIMIT 1"}}
{"id": "test_7546", "question": "UK Members of Parliament born after 1945 with precise birth years.", "sparql": "SELECT DISTINCT ?var1Label ?var2 WHERE { ?var1 wdt:P39 [ wdt:P279* wd:Q16707842 ] . ?var1 wdt:P569 ?var2 . FILTER (year(?var2) > 1945) . ?var1 (p:P569/psv:P569) ?var4 . ?var4 wikibase:timePrecision \"9\"^^xsd:integer . ?var1 rdfs:label ?var1Label . FILTER (lang(?var1Label) = \"en\") }", "paraphrases": ["Who are the UK Members of Parliament born after 1945, and what are their birth dates?", "List the names and birth dates of all UK Members of Parliament born after 1945, using only those with exact year-of-birth records."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P39> [ <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q16707842> ] . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . FILTER ( ( ( ?var3 > \"1945\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var1 ( <http://www.wikidata.org/prop/P569> / <http://www.wikidata.org/prop/statement/value/P569> ) ?var4 . ?var4 <http://wikiba.se/ontology#timePrecision> \"9\"^^<http://www.w3.org/2001/XMLSchema#integer> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7547", "question": "Volcanoes in Garrotxa, Catalonia", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?volcano ?volcanoLabel WHERE {\n  ?volcano ( wdt:P31 / wdt:P279 * ) wd:Q8072 .\n  ?volcano wdt:P131 ?admin .\n  ?admin wdt:P131 wd:Q10932 .\n  ?volcano rdfs:label ?volcanoLabel .\n  FILTER ( LANG( ?volcanoLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Which volcanoes are located in the Garrotxa comarca in Catalonia?", "List the volcanoes in the Garrotxa region, including their names in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ca,en\". } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q8072> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q10932> . } LIMIT 100"}}
{"id": "test_7548", "question": "What is the image of the person with SNAC ARK ID w6f29nwg?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6f29nwg\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Image of Barack Obama from SNAC ARK ID w6f29nwg.", "Show me the Wikimedia Commons image associated with the SNAC ARK ID w6f29nwg."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6f26bs8\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7549", "question": "Does the game with MobyGames ID \"mega-man-v\" exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P1933 \"mega-man-v\" .\n}", "paraphrases": ["Is there a video game in Wikidata that has the MobyGames identifier \"mega-man-v\"?", "Confirm if \"mega-man-v\" is a valid MobyGames ID for any game in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1933> \"mega-man-v\". }"}}
{"id": "test_7550", "question": "Is F1 2017 listed in Wikidata with MobyGames ID f1-2017?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P1933 \"f1-2017\" .\n}", "paraphrases": ["Does the video game F1 2017 have the MobyGames game ID \"f1-2017\"?", "Confirm if F1 2017 is identified in Wikidata using the old MobyGames identifier f1-2017."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1933> \"f1-2017\". }"}}
{"id": "test_7551", "question": "What entity has the National Library of Spain ID XX450954, and what is its English description?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P950 \"XX450954\" .\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Which country is identified by the BNE ID XX450954, and what is its English Wikipedia description?", "Show me the item with the National Library of Spain ID XX450954 along with its English description."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P950> \"XX1504883\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7552", "question": "Female alumni of the University of Edinburgh with their birth dates, images, and Wikipedia page counts, sorted by popularity.", "sparql": "SELECT ?person ?personLabel ?birthDate ?precision ?image (COUNT(DISTINCT ?article) AS ?wikipediaCount) WHERE { ?person wdt:P69 wd:Q160302 . ?person wdt:P31 wd:Q5 . ?person wdt:P21 wd:Q6581072 . ?person (p:P569/psv:P569) ?birthNode . ?birthNode wikibase:timeValue ?birthDate . ?birthNode wikibase:timePrecision ?precision . OPTIONAL { ?person wdt:P18 ?image . } OPTIONAL { ?article schema:about ?person . } } GROUP BY ?person ?personLabel ?birthDate ?precision ?image ORDER BY DESC(?wikipediaCount)", "paraphrases": ["Who are the female graduates of the University of Edinburgh, when were they born, do they have photos, and how many Wikipedia articles mention them?", "List all women who studied at the University of Edinburgh, including their birth dates, available images, and the number of Wikipedia pages about them, ordered by how popular they are."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ( COUNT ( DISTINCT ?var8 ) AS ?var9 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P69> <http://www.wikidata.org/entity/Q160302> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 ( <http://www.wikidata.org/prop/P569> / <http://www.wikidata.org/prop/statement/value/P569> ) ?var10 . ?var10 <http://wikiba.se/ontology#timeValue> ?var2 . ?var10 <http://wikiba.se/ontology#timePrecision> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var11 . OPTIONAL { ?var11 <http://www.wikidata.org/prop/direct/P17> ?var12 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var7 . } OPTIONAL { ?var8 <http://schema.org/about> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var12 <http://www.w3.org/2000/01/rdf-schema#label> ?var6 . ?var13 <http://www.w3.org/2000/01/rdf-schema#label> ?var14 . ?var15 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . } } GROUP BY ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var14 ?var6 ?var7 ORDER BY DESC( ?var9 )"}}
{"id": "test_7553", "question": "Items with native labels in Wikidata", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P1705 [] .\n}", "paraphrases": ["Which entities in Wikidata have a name in their official or original language?", "List all items in Wikidata that have a native label defined."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1705> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7554", "question": "Image and details of University of Leeds as affiliation of Henry Clarke", "sparql": "SELECT ?image ?affiliation ?affiliationLabel ?start ?end ?degreeLabel WHERE {\n  {\n    wd:Q47068509 p:P1416 ?statement .\n  } UNION {\n    wd:Q47068509 p:P108 ?statement .\n  }\n  \n  {\n    ?statement ps:P1416 ?affiliation .\n  } UNION {\n    ?statement ps:P108 ?affiliation .\n  }\n  \n  ?affiliation rdfs:label ?affiliationLabel .\n  FILTER (LANG(?affiliationLabel) = \"en\")\n  \n  OPTIONAL {\n    ?affiliation wdt:P18 ?image .\n  }\n  \n  OPTIONAL {\n    ?statement pq:P580 ?start .\n  }\n  \n  OPTIONAL {\n    ?statement pq:P582 ?end .\n  }\n  \n  OPTIONAL {\n    ?statement pq:P512 ?degree .\n    ?degree rdfs:label ?degreeLabel .\n    FILTER (LANG(?degreeLabel) = \"en\")\n  }\n}", "paraphrases": ["What is the image of the institution where Henry Clarke worked or was affiliated, and when did this affiliation start and end?", "Show me the image of Henry Clarke\u2019s employer or affiliation (University of Leeds), along with any start/end dates or academic degrees linked to that relationship."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label ?var4 ?var5 ?var6Label WHERE { { <http://www.wikidata.org/entity/Q47068509> <http://www.wikidata.org/prop/P1416> ?var7 . } UNION { <http://www.wikidata.org/entity/Q47068509> <http://www.wikidata.org/prop/P108> ?var7 . } { ?var7 <http://www.wikidata.org/prop/statement/P1416> ?var2 . } UNION { ?var7 <http://www.wikidata.org/prop/statement/P108> ?var2 . } ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P580> ?var4 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P582> ?var5 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P512> ?var8 . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_7555", "question": "What political parties are connected to Arnold Schwarzenegger through chains of political membership up to four steps deep?", "sparql": "SELECT ?person ?personLabel ?party WHERE { { wd:Q2685 wdt:P102 ?person } UNION { wd:Q2685 wdt:P102 ?p1 . ?p1 wdt:P102 ?person } UNION { wd:Q2685 wdt:P102 ?p1 . ?p1 wdt:P102 ?p2 . ?p2 wdt:P102 ?person } UNION { wd:Q2685 wdt:P102 ?p1 . ?p1 wdt:P102 ?p2 . ?p2 wdt:P102 ?p3 . ?p3 wdt:P102 ?person } . OPTIONAL { ?person wdt:P102 ?party } . ?person rdfs:label ?personLabel FILTER(LANG(?personLabel) = 'en') } LIMIT 100", "paraphrases": ["Who are the people affiliated with the same political parties as Arnold Schwarzenegger, through up to four degrees of party membership connections?", "Show all political parties linked to Arnold Schwarzenegger via membership networks of length 1 to 4, along with their direct party affiliations."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2685> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Undirected\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P102> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P102> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7556", "question": "Countries and their continents in English", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?country ?countryLabel ?continentLabel WHERE {\n  ?country wdt:P31 wd:Q6256 .\n  ?country wdt:P30 ?continent .\n  ?country rdfs:label ?countryLabel .\n  ?continent rdfs:label ?continentLabel .\n  FILTER(LANG(?countryLabel) = \"en\")\n  FILTER(LANG(?continentLabel) = \"en\")\n}", "paraphrases": ["Which countries are listed in Wikidata with their assigned continents, and what are their English names?", "Please list all countries and their continents using English labels from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var1 <http://www.wikidata.org/prop/direct/P30> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7557", "question": "What is the English title of the TV series \"The Good Place\"?", "sparql": "SELECT ?var1Label WHERE { wd:Q22908690 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") }", "paraphrases": ["What is the label of the Wikidata item for \"The Good Place\" in English?", "Can you tell me the name of the TV show \"The Good Place\" as it appears in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1Label WHERE { BIND ( <http://www.wikidata.org/entity/Q22908690> AS ?var1 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_7558", "question": "What is the English title and description of the film with \u010cSFD ID 10135?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P2529 \"10135\" . ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") . OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") . } }", "paraphrases": ["Can you tell me the English name and a brief description of the movie identified as 10135 in the \u010cSFD database?", "Please provide the English label and description for the film that has the \u010cSFD identifier 10135."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2529> \"219469\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7559", "question": "Image and coordinates of Moscow State University as employer of Igor Pletnev", "sparql": "SELECT DISTINCT ?image ?organization ?coordinates ?relationshipLabel WHERE { wd:Q30853960 wdt:P108 ?organization . OPTIONAL { ?organization wdt:P18 ?image . } ?organization (wdt:P159/wdt:P625 | wdt:P276/wdt:P625) ?coordinates . BIND(\"employer\" AS ?relationshipLabel) }", "paraphrases": ["What are the coordinates of the locations associated with Moscow State University, where Igor Pletnev worked, and what is the image of the university?", "Show me the image of Moscow State University and its coordinates via its headquarters and district locations, since Igor Pletnev was employed there."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ( ?var4Label AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q30853960> ?var6 ?var2 . ?var2 (( <http://www.wikidata.org/prop/P159> / <http://www.wikidata.org/prop/qualifier/P625> )|( <http://www.wikidata.org/prop/direct/P276> */ <http://www.wikidata.org/prop/direct/P625> )) ?var3 . ?var7 <http://wikiba.se/ontology#directClaim> ?var6 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,nl,no,ru,sv,zh\". } ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . }"}}
{"id": "test_7560", "question": "Is GNOME Disk Usage Analyzer a human?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q1792893 wdt:P31 / wdt:P279 * wd:Q5\n}", "paraphrases": ["Is the software application GNOME Disk Usage Analyzer classified as a human or any of its subclasses?", "Confirm whether GNOME Disk Usage Analyzer is a human based on its type hierarchy in Wikidata."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q1792893> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_7561", "question": "List of female humans in Wikidata with English labels", "sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 wdt:P31 wd:Q5 . ?var1 wdt:P21 wd:Q6581072 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") } LIMIT 100", "paraphrases": ["Who are some female humans in Wikidata, and what are their names?", "Show me up to 100 female humans from Wikidata along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q215627> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . } LIMIT 100"}}
{"id": "test_7562", "question": "What geographical features are located within 10 kilometers of Stargard, Poland?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX geof: <http://www.opengis.net/def/function/geosparql/>\nSELECT ?feature ?featureLabel ?coord WHERE {\n  wd:Q106268 wdt:P625 ?centerCoord .\n  ?feature wdt:P625 ?coord .\n  ?feature wdt:P31 / wdt:P279 * wd:Q618123 .\n  FILTER(geof:latitude(?coord) >= 53.2487 && geof:latitude(?coord) <= 53.4287)\n  FILTER(geof:longitude(?coord) >= 14.8947 && geof:longitude(?coord) <= 15.1947)\n  OPTIONAL {\n    ?feature rdfs:label ?featureLabel .\n    FILTER(LANG(?featureLabel) = \"en\")\n  }\n}\nLIMIT 10", "paraphrases": ["Show me the names and locations of natural and man-made geographical features near Stargard.", "List nearby landmarks or terrain features around the city of Stargard, including their coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q106268> <http://www.wikidata.org/prop/direct/P625> ?var3 . SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> ?var3 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"10\". } FILTER ( ( EXISTS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q618123> . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,pl\". } }"}}
{"id": "test_7563", "question": "Who is Rabah Sa\u00e2dane in French, and is he a human?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person WHERE {\n  ?person rdfs:label \"Rabah Sa\u00e2dane\" @fr .\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["What human entity has the French label \"Rabah Sa\u00e2dane\"?", "Find the person in Wikidata whose French name is \"Rabah Sa\u00e2dane\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Rabah Seba\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_7564", "question": "What institutions has Dina Schneidman-Duhovny been affiliated with or employed by, and when did those affiliations start?", "sparql": "SELECT ?image ?organization ?organizationLabel ?startDate ?endDate ?degreeLabel WHERE {\n  {\n    wd:Q47155716 p:P1416 ?statement .\n    ?statement ps:P1416 ?organization .\n  } UNION {\n    wd:Q47155716 p:P108 ?statement .\n    ?statement ps:P108 ?organization .\n  }\n  \n  ?organization rdfs:label ?organizationLabel .\n  FILTER(LANG(?organizationLabel) = \"en\")\n  \n  OPTIONAL {\n    ?organization wdt:P18 ?image .\n  }\n  \n  OPTIONAL {\n    ?statement pq:P580 ?startDate .\n  }\n  \n  OPTIONAL {\n    ?statement pq:P582 ?endDate .\n  }\n  \n  OPTIONAL {\n    ?statement pq:P512 ?degree .\n    ?degree rdfs:label ?degreeLabel .\n    FILTER(LANG(?degreeLabel) = \"en\")\n  }\n}", "paraphrases": ["Show the image and employment timeline of Dina Schneidman-Duhovny\u2019s institutional affiliations, including any academic degrees linked to them.", "When did Dina Schneidman-Duhovny begin her roles at the Hebrew University of Jerusalem, and is there an image of the university?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label ?var4 ?var5 ?var6Label WHERE { { <http://www.wikidata.org/entity/Q47155716> <http://www.wikidata.org/prop/P1416> ?var7 . } UNION { <http://www.wikidata.org/entity/Q47155716> <http://www.wikidata.org/prop/P108> ?var7 . } { ?var7 <http://www.wikidata.org/prop/statement/P1416> ?var2 . } UNION { ?var7 <http://www.wikidata.org/prop/statement/P108> ?var2 . } ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P580> ?var4 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P582> ?var5 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P512> ?var8 . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_7565", "question": "What are the Japanese labels of properties used by New York University, along with how many times each is used and the Japanese labels of their values?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?property ( SAMPLE( ?propLabel ) AS ?propertyLabel ) ( COUNT( ?value ) AS ?count ) ( GROUP_CONCAT( ?valueLabel ; SEPARATOR = \", \" ) AS ?valueLabels ) WHERE {\n  wd:Q49210 ?property ?value .\n  ?value rdfs:label ?valueLabel .\n  FILTER ( LANG( ?valueLabel ) = \"ja\" ) .\n  ?propEntity wikibase:directClaim ?property .\n  ?propEntity rdfs:label ?propLabel .\n  FILTER ( LANG( ?propLabel ) = \"ja\" ) .\n}\nGROUP BY ?property", "paraphrases": ["For each property connected to New York University, what is its Japanese name, how many values does it have, and what are the Japanese labels of those values?", "Show me a summary of New York University\u2019s properties in Japanese: include the property name in Japanese, the count of its values, and the Japanese labels of those values."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q49210> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"ja\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"ja\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_7566", "question": "Jurisdictions where local institutions operate", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?jurisdiction ?jurisdictionLabel WHERE {\n  ?institution wdt:P1001 ?jurisdiction .\n  ?jurisdiction rdfs:label ?jurisdictionLabel .\n  FILTER(LANG(?jurisdictionLabel) = \"en\")\n}\nLIMIT 21", "paraphrases": ["What are 21 places where local organizations are legally applicable?", "List 21 municipalities or countries where public institutions have jurisdiction, along with their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { _:bnode <http://www.wikidata.org/prop/direct/P1001> ?var1 . FILTER ( ( isIRI ( ?var1 ) ) ) . } LIMIT 21 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7567", "question": "Japanese labels of properties and their values for the entity \"vegetable\"", "sparql": "SELECT ?property (SAMPLE(?propertyLabelJa) AS ?propertyLabel) (COUNT(?value) AS ?valueCount) (GROUP_CONCAT(?valueLabel; SEPARATOR=\", \") AS ?valueLabels) WHERE { wd:Q11004 ?property ?value . ?value rdfs:label ?valueLabel . FILTER(LANG(?valueLabel) = \"ja\") . ?propertyClaim wikibase:directClaim ?property . ?propertyClaim rdfs:label ?propertyLabelJa . FILTER(LANG(?propertyLabelJa) = \"ja\") . } GROUP BY ?property", "paraphrases": ["What are the Japanese labels of properties that connect to \"vegetable\", how many values each has, and what are those values in Japanese?", "Show me all properties of \"vegetable\" with their Japanese names, the count of their values, and the Japanese labels of those values."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q11004> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"ja\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"ja\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_7568", "question": "What is the relationship between George Washington and the United States?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?property ?propertyLabel WHERE {\n  wd:Q23 ?property wd:Q30 .\n  BIND( IRI( REPLACE( STR( ?property ) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\" ) ) AS ?propertyItem ) .\n  ?propertyItem rdfs:label ?propertyLabel .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" )\n}", "paraphrases": ["What property connects George Washington to the United States in Wikidata?", "What does Wikidata say about George Washington\u2019s connection to the United States?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { { <http://www.wikidata.org/entity/Q23> ?var1 <http://www.wikidata.org/entity/Q30> . } UNION { <http://www.wikidata.org/entity/Q30> ?var1 <http://www.wikidata.org/entity/Q23> . } } LIMIT 10"}}
{"id": "test_7569", "question": "What properties are used by the entity 'Fills' in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?property WHERE {\n  wd:Q24643242 ?property ?value .\n}\nORDER BY ?property", "paraphrases": ["List all the properties associated with the rock formation called Fills.", "Which statements describe the entity Fills (Q24643242)?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q24643242> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_7570", "question": "Properties and objects linked to Mel Gibson, with labels.", "sparql": "SELECT ?property ?propertyLabel ?object ?objectLabel WHERE { wd:Q42229 ?property ?object . OPTIONAL { ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") } OPTIONAL { ?object rdfs:label ?objectLabel . FILTER(LANG(?objectLabel) = \"en\") } FILTER(?property != wdt:P31) } ORDER BY ?propertyLabel", "paraphrases": ["What are the relationships and associated values connected to Mel Gibson on Wikidata?", "Show me all the properties that describe Mel Gibson and their corresponding values, including labels in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 ?var5 ?var5Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . VALUES ( ?var2Label ) { ( \"Mel Gibson\"@es ) } { ?var5 ?var3 ?var1 . } UNION { ?var1 ?var3 ?var5 . } OPTIONAL { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,es\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_7571", "question": "What is the English name and description of the entity with SELIBR ID 146174?", "sparql": "SELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P906 \"146174\" .\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER (LANG(?description) = \"en\")\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER (LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["Show me the English label and description for the item identified by the National Library of Sweden's LIBRIS ID 146174.", "Which entity has the SELIBR ID 146174, and what is its English name and description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P906> \"273098\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7572", "question": "Countries and their English names", "sparql": "SELECT ?country ?label WHERE { ?country wdt:P31 wd:Q6256 . ?country rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["What are the names of all countries in English?", "Show me a list of all countries with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ro\". } }"}}
{"id": "test_7573", "question": "Top educational institutions attended by Irish Members of Parliament", "sparql": "SELECT ( COUNT( ?mp ) AS ?count ) ?institution ?institutionLabel WHERE { ?mp wdt:P39 wd:Q18019039 ; wdt:P69 ?institution . ?institution rdfs:label ?institutionLabel . FILTER(LANG(?institutionLabel) = \"en\") } GROUP BY ?institution ?institutionLabel ORDER BY DESC(?count)", "paraphrases": ["Which universities and schools have produced the most Irish MPs, and how many each?", "List the educational institutions most commonly attended by members of the Parliament of Ireland, ranked by the number of MPs who went there."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q18019039> ; <http://www.wikidata.org/prop/direct/P69> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } GROUP BY ?var3 ?var3Label ?var4 ORDER BY DESC( ?var2 )"}}
{"id": "test_7574", "question": "What are the names of tram services in Vienna?", "sparql": "SELECT ?var1 ?var1Label WHERE { { ?var1 wdt:P31 wd:Q15145593 ; wdt:P131 wd:Q1741 . } UNION { ?var1 wdt:P31 wd:Q15145593 ; wdt:P131 ?district . ?district wdt:P131 wd:Q1741 . } ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") } ORDER BY ASC(?var1Label)", "paraphrases": ["List all tram lines located in Vienna or its districts, sorted alphabetically.", "Can you show me the English labels of all tram services that operate in Vienna, including those in its administrative districts?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q15145593> ; <http://www.wikidata.org/prop/direct/P131> + <http://www.wikidata.org/entity/Q1741> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_7575", "question": "What are the tram services in Vienna, either directly or through their district?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?tram ?tramLabel WHERE {\n  {\n    ?tram wdt:P31 wd:Q15145593 ; wdt:P131 wd:Q1741 .\n  } UNION {\n    ?tram wdt:P31 wd:Q15145593 ; wdt:P131 ?district .\n    ?district wdt:P131 wd:Q1741 ; wdt:P31 wd:Q261023 .\n  }\n  ?tram rdfs:label ?tramLabel .\n  FILTER(LANG(?tramLabel) = \"en\")\n}\nORDER BY ASC(?tramLabel)", "paraphrases": ["Can you list all tram lines in Vienna, including those located in its districts?", "Show me the names of all tram routes in Vienna, whether they are located in the city itself or in one of its administrative districts."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q15145593> ; <http://www.wikidata.org/prop/direct/P131> [ <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q1741> ] , <http://www.wikidata.org/entity/Q1741> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_7576", "question": "List Vincent van Gogh\u2019s artworks sorted by F-number in ascending order, including letter suffixes like F1a, F2b.", "sparql": "SELECT ?work ?fNumber WHERE { ?work p:P528 [ pq:P972 wd:Q17280421 ; ps:P528 ?fNumber ] . FILTER( REGEX( ?fNumber , \"^F[0-9]+[a-z]?\" ) ) BIND( xsd:integer( REPLACE( ?fNumber , \"[a-zA-Z]\" , \"\" ) ) AS ?fNumberNumeric ) BIND( REPLACE( ?fNumber , \"F[0-9]*\" , \"\" ) AS ?fNumberSuffix ) } ORDER BY ASC( ?fNumberNumeric ) ASC( ?fNumberSuffix )", "paraphrases": ["What are Vincent van Gogh\u2019s paintings and drawings as listed in the F-numbered catalogue raisonn\u00e9, ordered numerically and then by suffix?", "Please provide the list of Van Gogh\u2019s artworks with their F-numbers from the de la Faille catalogue, sorted by number first and then by any trailing letter (e.g., F1, F1a, F2)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { BIND ( <http://www.w3.org/2001/XMLSchema#integer> ( REPLACE ( ?var2 , \"[a-zA-Z]\", \"\" ) ) AS ?var4 ). BIND ( REPLACE ( ?var2 , \"F[0-9]*\", \"\" ) AS ?var5 ). ?var1 <http://www.wikidata.org/prop/P528> [ <http://www.wikidata.org/prop/qualifier/P972> <http://www.wikidata.org/entity/Q17280421> ; <http://www.wikidata.org/prop/statement/P528> ?var2 ] . } ORDER BY ASC( ?var4 )ASC( ?var5 )"}}
{"id": "test_7577", "question": "Is there a Wikidata item with VIAF ID 127565097?", "sparql": "ASK WHERE { ?item wdt:P214 \"127565097\" . }", "paraphrases": ["Does the Virtual International Authority File identifier 127565097 correspond to any entity in Wikidata?", "Does the VIAF ID 127565097 exist in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"127565097\". }"}}
{"id": "test_7578", "question": "Does Wikidata have an item with VIAF ID 114802595?", "sparql": "ASK WHERE { ?item wdt:P214 \"114802595\" . }", "paraphrases": ["Is there a person or entity in Wikidata identified by the VIAF number 114802595?", "Confirm if the Virtual International Authority File ID 114802595 is linked to any Wikidata item."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"114802595\". }"}}
{"id": "test_7579", "question": "Who are the people with the surname Piroth?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person WHERE {\n  ?person wdt:P31 wd:Q5 ; wdt:P734 wd:Q83376225 .\n}", "paraphrases": ["List all humans whose family name is Piroth.", "Which individuals are known to have the last name Piroth?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"piroth\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_7580", "question": "What is the image of the person with SNAC ARK ID w6988ccw?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6988ccw\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Image for SNAC ARK ID w6988ccw", "Show me the Wikimedia Commons image for Andr\u00e9 Pr\u00e9vost (SNAC ID: w6988ccw)"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6988ccw\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7581", "question": "What property is most commonly used to classify organisms as a race in Wikidata, and how many times is it used?", "sparql": "SELECT ?property (COUNT(?property) AS ?count) WHERE { ?item ?prop wd:Q918036 . ?property wikibase:directClaim ?prop . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which Wikidata property links the most entities to the concept of \"race\" (Q918036)?", "How many entities are classified as \"race\" using the most frequent property in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q918036> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_7582", "question": "What are the English names of domesticated animals in Wikidata?", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P31 wd:Q622852 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } ORDER BY ASC(?itemLabel) LIMIT 100", "paraphrases": ["List the domesticated animals in Wikidata with their English labels, sorted alphabetically.", "Which animals have been domesticated and are listed in Wikidata with an English name?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( EXISTS { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } ) ) . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q622852> . } ORDER BY ASC( ?var1Label ) LIMIT 100"}}
{"id": "test_7583", "question": "Humans with the surname Vacher", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P734 wd:Q21510238\n}", "paraphrases": ["Who are the people with the last name Vacher?", "List all humans whose family name is Vacher."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Vacher\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_7584", "question": "What are the names and birth places of people who have a National Library of Spain ID?", "sparql": "SELECT ?personOrEntity ?personOrEntityLabel ?birthPlaceLabel ?bneId WHERE { ?personOrEntity wdt:P950 ?bneId . OPTIONAL { ?personOrEntity rdfs:label ?personOrEntityLabel . FILTER(LANG(?personOrEntityLabel) = \"en\") } OPTIONAL { ?personOrEntity wdt:P19 ?birthPlace . ?birthPlace rdfs:label ?birthPlaceLabel . FILTER(LANG(?birthPlaceLabel) = \"en\") } }", "paraphrases": ["List the English names and birth locations of individuals registered in the Spanish National Library.", "Show the BNE IDs, names, and birth cities of entities in Wikidata that are linked to the Biblioteca Nacional de Espa\u00f1a."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P950> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es\". } }"}}
{"id": "test_7585", "question": "What is the English label for the MediaWiki extension \"Extension:Mustache i18n\"?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?englishLabel ?frenchLabel WHERE {\n  wd:Q26251455 rdfs:label ?englishLabel .\n  FILTER ( LANGMATCHES( LANG( ?englishLabel ) , \"en\" ) ) OPTIONAL {\n    wd:Q26251455 rdfs:label ?frenchLabel .\n    FILTER ( LANGMATCHES( LANG( ?frenchLabel ) , \"fr\" ) )\n  }\n}", "paraphrases": ["Does the MediaWiki extension \"Extension:Mustache i18n\" have a French label, and what is its English label?", "Provide the English and French names of the MediaWiki extension \"Extension:Mustache i18n\"."], "info": {"raw_sparql": "SELECT DISTINCT( <http://www.w3.org/2001/XMLSchema#string> ( ?var1 ) AS ?var2 )( <http://www.w3.org/2001/XMLSchema#string> ( ?var3 ) AS ?var4 ) WHERE { <http://www.wikidata.org/entity/Q26251455> <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . <http://www.wikidata.org/entity/Q26251455> <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( LANGMATCHES ( LANG ( ?var1 ) , \"FR\" ) ) ) . FILTER ( ( LANGMATCHES ( LANG ( ?var3 ) , \"EN\" ) ) ) . } LIMIT 10"}}
{"id": "test_7586", "question": "What is the average number of pages per scholarly article for each author employed by the University of Melbourne?", "sparql": "SELECT ?authorLabel (SUM(?pages) / COUNT(?article) AS ?avgPagesPerAuthor) WHERE { ?article wdt:P31 wd:Q13442814 . ?article wdt:P50 ?authorItem . ?authorItem wdt:P108 wd:Q319078 . ?authorItem rdfs:label ?authorLabel . FILTER(LANG(?authorLabel) = \"en\") ?article wdt:P1104 ?pages . } GROUP BY ?authorLabel ORDER BY ASC(?authorLabel)", "paraphrases": ["For authors affiliated with the University of Melbourne, how many pages on average are there per article they\u2019ve written?", "List the authors from the University of Melbourne and their average article length in pages."], "info": {"raw_sparql": "SELECT ?var1 ( SUM ( ?var2 ) AS ?var3 ) ?var4Label WHERE { { SELECT ?var4Label ?var5 ?var1 ( ( SAMPLE ( ?var6 )/COUNT ( ?var7 ) ) AS ?var2 ) WHERE { { ?var8 <http://www.wikidata.org/prop/direct/P108> <http://www.wikidata.org/entity/Q319078> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P1416> <http://www.wikidata.org/entity/Q319078> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P1416> ?var9 . ?var9 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q319078> . } BIND ( STR ( YEAR ( ?var10 ) ) AS ?var1 ). ?var5 ( <http://www.wikidata.org/prop/direct/P50> | <http://www.wikidata.org/prop/direct/P2093> ) ?var7 . ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13442814> . ?var5 <http://www.wikidata.org/prop/direct/P50> ?var8 . ?var5 <http://www.wikidata.org/prop/direct/P1104> ?var6 . ?var5 <http://www.wikidata.org/prop/direct/P577> ?var10 . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . } GROUP BY ?var5 ?var4Label ?var1 } } GROUP BY ?var1 ?var4Label ORDER BY ASC( ?var1 )"}}
{"id": "test_7587", "question": "Who are the French-named people with the surname Becette?", "sparql": "SELECT DISTINCT ?entity ?label WHERE { ?entity rdfs:label ?label . FILTER(LANG(?label) = 'fr') . FILTER(CONTAINS(LCASE(?label), 'becette')) . ?entity wdt:P31 wd:Q5 . }", "paraphrases": ["Which humans have 'Becette' in their French name on Wikidata?", "List all humans whose French label includes the name Becette."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Becette\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_7588", "question": "Who are the people whose occupation is stage actor?", "sparql": "SELECT ?person WHERE { ?person wdt:P106 wd:Q2259451 }", "paraphrases": ["List all individuals who work as stage actors.", "Find people with the occupation of stage actor."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q2259451> . [] <http://wikiba.se/ontology#statementValue> ?var2 . }"}}
{"id": "test_7589", "question": "What geographic regions and countries is the Eiffel Tower part of, directly or indirectly?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?location ?locationLabel WHERE {\n  wd:Q243(wdt:P131 | wdt:P17 | wdt:P30) * ?location .\n  ?location rdfs:label ?locationLabel .\n  FILTER(LANG(?locationLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["List all places the Eiffel Tower is located in, including its city, region, and country.", "Through what administrative and political divisions does the Eiffel Tower connect to France and Europe?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q25223034> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_7590", "question": "What films are available on the Internet Archive, and what countries produced them?", "sparql": "SELECT ?film ?iaId ?countryLabel WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P724 ?iaId . OPTIONAL { ?film wdt:P495 ?country . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") } } LIMIT 100", "paraphrases": ["List films from Wikidata that have an Internet Archive ID, along with their country of origin in English.", "Which countries are the origins of films archived on the Internet Archive?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P724> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P495> ?var3 . } } LIMIT 100"}}
{"id": "test_7591", "question": "What are some cities in Europe, along with their population, coordinates, and country?", "sparql": "SELECT ?city ?cityLabel ?coordinates ?population ?country ?continentLabel WHERE { ?city wdt:P31 wd:Q515 . ?city wdt:P625 ?coordinates . ?city wdt:P1082 ?population . ?city wdt:P17 ?country . ?country wdt:P30 wd:Q46 . ?city rdfs:label ?cityLabel . ?country rdfs:label ?countryLabel . wd:Q46 rdfs:label ?continentLabel . FILTER (LANG(?cityLabel) = \"en\") FILTER (LANG(?countryLabel) = \"en\") FILTER (LANG(?continentLabel) = \"en\") } LIMIT 20", "paraphrases": ["Can you list 20 cities located in Europe, showing their population, geographic coordinates, and the country they belong to?", "Show me cities in Europe with their population and location data, including the historical country they were part of."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4Label ?var5Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P30> ?var5 . FILTER ( ( ( LANG ( ?var5Label ) = \"Europe\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 20"}}
{"id": "test_7592", "question": "All superclass and instance-of categories of the arachnid species Ramonoppia amparoae.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?type WHERE {\n  wd:Q4563120 ( wdt:P31 * / wdt:P279 * ) ?type .\n}", "paraphrases": ["What classes and types does the species Ramonoppia amparoae belong to, including its ancestors in the classification hierarchy?", "Show me the full hierarchy of categories that Ramonoppia amparoae is part of, from species up to the most general ontological classes."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q4563120> ( <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) ?var1 . }"}}
{"id": "test_7593", "question": "Is Sam Hallam a human?", "sparql": "ASK WHERE { wd:Q19873810 (wdt:P31/wdt:P279*) wd:Q5 . }", "paraphrases": ["Does Sam Hallam belong to a category that includes all humans?", "Is Sam Hallam classified as a person in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q22337774> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_7594", "question": "Films with IMDb IDs and Ukrainian Wikipedia pages", "sparql": "SELECT ?film ?imdb ?ukPage WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P345 ?imdb . ?ukPage schema:about ?film ; schema:isPartOf <https://uk.wikipedia.org/> . }", "paraphrases": ["Which films have both an IMDb ID and a corresponding page on the Ukrainian Wikipedia?", "Show me the films, their IMDb IDs, and their Ukrainian Wikipedia links."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P345> ?var2 . ?var3 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://ua.wikipedia.org/> . }"}}
{"id": "test_7595", "question": "Historic houses without images on Wikimedia Commons", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?historicHouse WHERE {\n  ?historicHouse wdt:P31 wd:Q5773747 .\n  OPTIONAL {\n    ?historicHouse wdt:P18 ?image .\n  }\n  FILTER ( ! BOUND( ?image ) )\n}", "paraphrases": ["Which historic houses do not have an associated image in Wikidata?", "List all historic houses that are missing a photo on Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5773747> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } FILTER ( ( !( BOUND ( ?var2 ) ) ) ) . }"}}
{"id": "test_7596", "question": "What are the subclasses and superclasses of optics in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel WHERE {\n  {\n    wd:Q14620 wdt:P279 * ?item .\n  } UNION {\n    wd:Q14620 ^ wdt:P279 * ?item .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}\nLIMIT 80", "paraphrases": ["What fields of study are directly or indirectly related to optics through the subclass relationship?", "List all the English-labeled concepts that are either subclasses or superclasses of optics, up to 8 levels away."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q14620> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"8\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> \"80\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } UNION { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q14620> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Reverse\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"8\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> \"80\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7597", "question": "Main subjects of publications by Kit Melissa Larsen, ranked by count", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ( COUNT( ?work ) AS ?count ) ?subjectLabel WHERE {\n  ?work wdt:P50 wd:Q47767019 .\n  ?work wdt:P921 ?subject .\n  ?subject rdfs:label ?subjectLabel .\n  FILTER ( LANG( ?subjectLabel ) = \"en\" )\n}\nGROUP BY ?subject ?subjectLabel\nORDER BY DESC ( ?count )", "paraphrases": ["What are the most common research topics in the works authored by Kit Melissa Larsen, and how many works are there for each?", "Show me the English-labeled main subjects of Kit Melissa Larsen\u2019s publications, sorted by how many publications each subject appears in, with the most frequent first."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label WHERE { { SELECT ?var4 ( COUNT ( ?var5 ) AS ?var1 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q47767019> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . } GROUP BY ?var4 ORDER BY DESC( ?var1 ) } BIND ( SUBSTR ( ?var6Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q47767019> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . }"}}
{"id": "test_7598", "question": "What educational institution did Sofi da Cunha-Bang attend, and when did she start and end her studies there? Did she earn any academic degree?", "sparql": "PREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?institution ?institutionLabel ?startDate ?endDate ?degreeLabel WHERE {\n  wd:Q38819723 p:P69 ?statement .\n  ?statement ps:P69 ?institution .\n  ?institution rdfs:label ?institutionLabel .\n  FILTER ( LANG( ?institutionLabel ) = \"en\" ) OPTIONAL {\n    ?statement pq:P580 ?startDate .\n  }\n  OPTIONAL {\n    ?statement pq:P582 ?endDate .\n  }\n  OPTIONAL {\n    ?statement pq:P512 ?degree .\n    ?degree rdfs:label ?degreeLabel .\n    FILTER ( LANG( ?degreeLabel ) = \"en\" )\n  }\n}", "paraphrases": ["Sofi da Cunha-Bang's alma mater, attendance period, and academic degree", "Show me the university Sofi da Cunha-Bang went to, the dates of her attendance, and any degree she obtained, with English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 ?var5Label WHERE { <http://www.wikidata.org/entity/Q38819723> <http://www.wikidata.org/prop/P69> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P69> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P580> ?var3 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var4 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P512> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_7599", "question": "List international airports with their IATA codes and English names.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?airport ?airportLabel ?iataCode WHERE {\n  ?airport wdt:P31 wd:Q644371 .\n  OPTIONAL {\n    ?airport wdt:P238 ?iataCode .\n  }\n  ?airport rdfs:label ?airportLabel .\n  FILTER ( LANG( ?airportLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["What are the English names and IATA codes of international airports?", "Can you provide a list of up to 100 international airports, including their official English names and three-letter IATA airport codes?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,it\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q644371> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P238> ?var2 . } } LIMIT 100"}}
{"id": "test_7600", "question": "Humans named Jean Robin in French", "sparql": "SELECT DISTINCT ?person WHERE { ?person rdfs:label \"Jean Robin\" @fr . ?person wdt:P31 wd:Q5 .}", "paraphrases": ["Who are the people named Jean Robin in French-speaking contexts?", "List all individuals named Jean Robin who are classified as humans, using their French label."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Jean Robin\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_7601", "question": "German districts and their corresponding states", "sparql": "SELECT ?district ?districtLabel ?state ?stateLabel WHERE { ?district wdt:P31 wd:Q106658 . ?district wdt:P131 ?state . ?district rdfs:label ?districtLabel . ?state rdfs:label ?stateLabel . FILTER(LANG(?districtLabel) = \"en\" || LANG(?districtLabel) = \"\") FILTER(LANG(?stateLabel) = \"en\" || LANG(?stateLabel) = \"\") } ORDER BY ?districtLabel", "paraphrases": ["Which German districts are located in which states?", "List all districts in Germany along with the state they belong to."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q106658> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P150> ?var4 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P150> ?var4 . OPTIONAL { VALUES ( ?var5 ) { ( <http://www.wikidata.org/prop/direct/P1082> ) ( <http://www.wikidata.org/prop/direct/P6> ) ( <http://www.wikidata.org/prop/direct/P190> ) ( <http://www.wikidata.org/prop/direct/P31> ) ( <http://www.wikidata.org/prop/direct/P571> ) ( <http://www.wikidata.org/prop/direct/P150> ) ( <http://www.wikidata.org/prop/direct/P206> ) ( <http://www.wikidata.org/prop/direct/P527> ) } } } } } ORDER BY DESC( ?var1 )"}}
{"id": "test_7602", "question": "People who died from abdominal aortic aneurysm, grouped by death location with coordinates and their English names.", "sparql": "SELECT ?person ?coordinates ?deathPlace (COUNT(?person) AS ?count) ?personLabel WHERE { ?person wdt:P509 wd:Q2256736 ; rdfs:label ?personLabel ; wdt:P20 ?deathPlace . ?deathPlace wdt:P625 ?coordinates . FILTER(LANG(?personLabel) = \"en\") } GROUP BY ?person ?deathPlace ?coordinates ?personLabel", "paraphrases": ["How many people died from abdominal aortic aneurysm in each city, and what are their names and the coordinates of where they died?", "Show me a list of people who died from abdominal aortic aneurysm, including their English names, the place they died, the coordinates of that place, and how many people died at each location."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( COUNT ( ?var1 ) AS ?var4 ) ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P509> [ <http://www.w3.org/2000/01/rdf-schema#label> \"string1\"@en ] ; <http://www.w3.org/2000/01/rdf-schema#prefLabel> ?var5 ; <http://www.wikidata.org/prop/direct/P20> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var2 . } GROUP BY ?var1 ?var3 ?var2 ?var5"}}
{"id": "test_7603", "question": "What is the most specific shared category between the People's Republic of China and the fictional character Ari Gold?", "sparql": "SELECT ?commonClass WHERE { wd:Q148 wdt:P31 ?c1 . ?c1 wdt:P279* ?commonClass . wd:Q2861136 wdt:P31 ?c2 . ?c2 wdt:P279* ?commonClass . } LIMIT 1", "paraphrases": ["Which class is the closest common ancestor in the subclass hierarchy for China and the TV character Ari Gold?", "Find the entity that both China and Ari Gold belong to through their class hierarchies, with the shortest combined path length."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q148> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2861136> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7604", "question": "What is the most specific common superclass of a city and a local government area in the Wikidata taxonomy?", "sparql": "SELECT ?ancestor (COUNT(?child) AS ?numChildren) WHERE { wd:Q515 wdt:P279* ?ancestor . wd:Q1639634 wdt:P279* ?ancestor . OPTIONAL { ?child wdt:P279 ?ancestor . } } GROUP BY ?ancestor ORDER BY DESC(?numChildren) LIMIT 1", "paraphrases": ["Find the lowest common ancestor in the subclass hierarchy between the type of Ramallah and the type of Chibok.", "What class do both Ramallah and Chibok belong to at the most specific level in the Wikidata classification system?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q158119> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q5095348> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7605", "question": "What is the most specific common superclass of Crystal Palace F.C. and Israel?", "sparql": "SELECT ?commonAncestor ?label WHERE { VALUES ?commonAncestor { wd:Q24229398 } ?commonAncestor rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["What concept do both Crystal Palace F.C. and Israel belong to at the highest level of abstraction?", "What is the shared category in the Wikidata ontology that includes both a football club and a country?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q19467> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q801> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7606", "question": "What is the common category that both Kim Jong and Jesse Louis Lasky belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?class ?classLabel WHERE {\n  wd:Q6408963 wdt:P31 ?class .\n  wd:Q1384661 wdt:P31 ?class .\n  ?class rdfs:label ?classLabel .\n  FILTER ( LANG( ?classLabel ) = 'en' )\n}", "paraphrases": ["What class do the North Korean table tennis player Kim Jong and the American film producer Jesse Louis Lasky share?", "What is the most specific shared classification between Kim Jong and Jesse Louis Lasky?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q6408963> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1384661> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7607", "question": "What country is associated with both Ban Ki-moon and the town of Maynard, Massachusetts?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?country WHERE {\n  wd:Q1253 wdt:P108 wd:Q1065 .\n  wd:Q1065 wdt:P159 wd:Q60 .\n  wd:Q60 wdt:P17 ?country .\n  wd:Q684535 wdt:P17 ?country .\n}", "paraphrases": ["Which country serves as the common location link between Ban Ki-moon\u2019s employer and Maynard, MA?", "Where is the United Nations headquartered, and how does that connect Ban Ki-moon and Maynard, MA?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q684535> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1253> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7608", "question": "What is the most specific common category that both Scarsdale and North Korea belong to, based on their hierarchical classification?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestor ( ?dist1 + ?dist2 AS ?totalDist ) WHERE {\n  {\n    SELECT ?ancestor ( COUNT( ?mid ) AS ?dist1 ) WHERE {\n      wd:Q106071004 wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n  {\n    SELECT ?ancestor ( COUNT( ?mid ) AS ?dist2 ) WHERE {\n      wd:Q3624078 wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n}\nORDER BY ?totalDist\nLIMIT 1", "paraphrases": ["Which class is the closest common ancestor in the subclass hierarchy between the type of Scarsdale and the type of North Korea?", "Find the entity that minimizes the sum of subclass distances from Scarsdale's type and North Korea's type."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2300959> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q423> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7609", "question": "What is the most specific shared category that both Afghanistan and Ohio belong to, based on their hierarchical types?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?common(?distA + ?distO AS ?totalDistance) WHERE {\n  {\n    wd:Q889 wdt:P31 ?typeA .\n    {\n      ?typeA wdt:P279 ?common .\n      BIND(1 AS ?distA)\n    } UNION {\n      ?typeA wdt:P279 ?mid1 .\n      ?mid1 wdt:P279 ?common .\n      BIND(2 AS ?distA)\n    } UNION {\n      ?typeA wdt:P279 ?mid1 .\n      ?mid1 wdt:P279 ?mid2 .\n      ?mid2 wdt:P279 ?common .\n      BIND(3 AS ?distA)\n    }\n  }\n  {\n    wd:Q1397 wdt:P31 ?typeO .\n    {\n      ?typeO wdt:P279 ?common .\n      BIND(1 AS ?distO)\n    } UNION {\n      ?typeO wdt:P279 ?mid1 .\n      ?mid1 wdt:P279 ?common .\n      BIND(2 AS ?distO)\n    } UNION {\n      ?typeO wdt:P279 ?mid1 .\n      ?mid1 wdt:P279 ?mid2 .\n      ?mid2 wdt:P279 ?common .\n      BIND(3 AS ?distO)\n    }\n  }\n}\nORDER BY ASC(?totalDistance)\nLIMIT 1", "paraphrases": ["Which class is the closest common ancestor in the taxonomy between Afghanistan and Ohio, minimizing the sum of subclass steps from each?", "Find the most specific type that both Afghanistan and Ohio are instances of, through their class hierarchies, with the shortest combined path length."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q889> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1397> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7610", "question": "What is the most specific category that both Mazar-i-Sharif and Ohio belong to?", "sparql": "SELECT DISTINCT ?commonSuperclass ?label WHERE {\n  wd:Q130469 wdt:P31 ?type1 .\n  wd:Q1397 wdt:P31 ?type2 .\n  ?type1 wdt:P279 ?mid1 .\n  ?mid1 wdt:P279 ?commonSuperclass .\n  ?type2 wdt:P279 ?mid2 .\n  ?mid2 wdt:P279 ?commonSuperclass .\n  ?commonSuperclass rdfs:label ?label .\n  FILTER(LANG(?label) = 'en')\n}", "paraphrases": ["What do Mazar-i-Sharif and Ohio have in common in terms of their classification in Wikidata?", "What is the shared administrative classification between the city of Mazar-i-Sharif and the state of Ohio?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q130469> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1397> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7611", "question": "Peruvian districts and provinces with Arabic labels but no Arabic Wikipedia page, but with English Wikipedia pages.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?place WHERE {\n  {\n    ?place wdt:P31 wd:Q2179958 .\n  } UNION {\n    ?place wdt:P31 wd:Q509686 .\n  } UNION {\n    ?place wdt:P31 wd:Q861184 .\n  }\n  ?place rdfs:label ?arLabel .\n  FILTER ( LANG( ?arLabel ) = \"ar\" ) FILTER NOT EXISTS {\n    ?arWpPage schema:about ?place ; schema:isPartOf <https://ar.wikipedia.org/> .\n  }\n  FILTER EXISTS {\n    ?enWpPage schema:about ?place ; schema:isPartOf <https://en.wikipedia.org/> ; schema:name ?enPageName .\n  }\n}\nLIMIT 1000", "paraphrases": ["Which Peruvian administrative divisions (districts, provinces, or departments) have Arabic labels but are not represented on Arabic Wikipedia, even though they have English Wikipedia pages?", "List all Peruvian districts, provinces, and departments that are labeled in Arabic and have an English Wikipedia page, but lack an Arabic Wikipedia page."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2179958> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q509686> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q861184> . } { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"ar\" ) ) ) . } OPTIONAL { ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/isPartOf> <https://ar.wikipedia.org/> . } FILTER ( ( !( BOUND ( ?var3 ) ) ) ) . ?var4 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://en.wikipedia.org/> ; <http://schema.org/name> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ar,en\". } } LIMIT 1000"}}
{"id": "test_7612", "question": "Villages in the United States", "sparql": "SELECT ?village ?villageLabel WHERE { ?village wdt:P31 wd:Q532 ; wdt:P17 wd:Q30 . ?village rdfs:label ?villageLabel . FILTER(LANG(?villageLabel) = \"en\") }", "paraphrases": ["What are the names of villages in the United States?", "List the English labels of all villages located in the United States."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 ?var3Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q532> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q30> . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sq\". } }"}}
{"id": "test_7613", "question": "Engineers with Spanish names, Wikipedia pages, citizenship countries, and gender identities.", "sparql": "SELECT ?engineer ?esLabel ?esWikipediaPage ?country ?countryLabel ?gender ?genderLabel WHERE { ?engineer wdt:P106 wd:Q81096 . OPTIONAL { ?engineer rdfs:label ?esLabel . FILTER (LANG(?esLabel) = \"es\") } OPTIONAL { ?esWikipediaPage schema:about ?engineer ; schema:inLanguage \"es\" ; schema:isPartOf <https://es.wikipedia.org/> . } OPTIONAL { ?engineer wdt:P27 ?country . ?country rdfs:label ?countryLabel . FILTER (LANG(?countryLabel) = \"en\") } OPTIONAL { ?engineer wdt:P21 ?gender . ?gender rdfs:label ?genderLabel . FILTER (LANG(?genderLabel) = \"en\") } }", "paraphrases": ["Who are engineers that have Spanish-language labels or Wikipedia pages, and what are their countries of citizenship and gender identities?", "List engineers whose occupation is engineering, including their Spanish names (if any), Spanish Wikipedia links (if any), their country of citizenship in English, and their gender identity in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var4Label ?var5 ?var5Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q81096> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"es\" ) ) ) . } OPTIONAL { ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> \"es\". ?var3 <http://schema.org/isPartOf> <https://es.wikipedia.org/> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var5 . } }"}}
{"id": "test_7614", "question": "What class is both a direct category of Israel and a broader category that includes Maiduguri?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?ancestor WHERE {\n  wd:Q221436 wdt:P31 ?class1 .\n  wd:Q801 wdt:P31 ?class2 .\n  ?class1 wdt:P279 * ?ancestor .\n  FILTER ( ?class2 = ?ancestor ) .\n}\nLIMIT 1", "paraphrases": ["Which geographic category is shared between Israel and Maiduguri, where Israel is directly an instance of it and Maiduguri is a subclass of it?", "What is the most specific common classification that applies to both Israel (as a direct instance) and Maiduguri (as a subclass)?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q221436> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q801> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7615", "question": "What is the most specific shared ancestor in the subclass hierarchy between Seoul and Guanacaste Province?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?lca ?lcaLabel WHERE {\n  wd:Q56061 rdfs:label ?lcaLabel .\n  FILTER(LANG(?lcaLabel) = \"en\")\n  BIND(wd:Q56061 AS ?lca)\n}", "paraphrases": ["What category do both Seoul and Guanacaste Province belong to in the Wikidata taxonomy?", "What is the common administrative category that includes both a national capital and a province?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q8684> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q690026> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7616", "question": "What is the most specific common superclass shared by the categories that World War II and the Ministry of Social Security belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?common WHERE {\n  wd:Q362 wdt:P31 ?class1 .\n  wd:Q6867439 wdt:P31 ?class2 .\n  ?class1 wdt:P279 + ?common .\n  ?class2 wdt:P279 + ?common .\n}\nORDER BY ?common\nLIMIT 1", "paraphrases": ["Which class is the highest-level common category that includes both World War II and the Ministry of Social Security through their instance-of relationships?", "Find the most specific class that is a superclass of both the class of World War II and the class of the Ministry of Social Security."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q362> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q6867439> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7617", "question": "What category do NPR and the BBC both belong to?", "sparql": "SELECT ?commonClass ?commonClassLabel WHERE { wd:Q671510 wdt:P31 ?commonClass . wd:Q9531 wdt:P31 ?commonClass . ?commonClass rdfs:label ?commonClassLabel . FILTER(LANG(?commonClassLabel) = \"en\") }", "paraphrases": ["Which shared classification applies to both NPR and the British Broadcasting Corporation?", "What is the common type that links NPR and BBC in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1860> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q671510> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7618", "question": "What is the most general category that connects North Korean state television and Vladimir Putin in terms of their types?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?ancestor ?label WHERE {\n  VALUES ?ancestor {\n    wd:Q106559804\n  }\n  ?ancestor rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}", "paraphrases": ["Which class is both a superclass of broadcasters and humans, and is the closest common ancestor in Wikidata\u2019s hierarchy?", "Find the top-level category that includes both organizations like Korean Central Television and humans like Vladimir Putin."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q697648> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7747> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7619", "question": "Image of Antonio Fogazzaro with SNAC ARK ID w62z8hf5", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w62z8hf5\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image of the person with SNAC ARK ID w62z8hf5?", "Show me the Wikimedia Commons image for Antonio Fogazzaro, identified by SNAC ARK ID w62z8hf5."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w62z8hf5\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7620", "question": "Is Richard Segerblom a citizen of the United States?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?country ?countryLabel WHERE {\n  wd:Q7800620 wdt:P27 wd:Q30 .\n  wd:Q7800620 rdfs:label ?personLabel .\n  wd:Q30 rdfs:label ?countryLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) FILTER ( LANG( ?countryLabel ) = \"en\" )\n}", "paraphrases": ["What country is Richard Segerblom a citizen of?", "How are Richard Segerblom and the United States connected in terms of nationality?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q30> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7800620> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7621", "question": "What entity is associated with both World War II and the Billboard Hot 100?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?common WHERE {\n  wd:Q362 ?p1 ?common .\n  wd:Q180072 ?p2 ?common .\n  FILTER ( ?common != wd:Q362 && ?common != wd:Q180072 && ?common != wikibase:Item )\n}\nORDER BY ASC ( ?common )\nLIMIT 1", "paraphrases": ["Which country is linked to both the historical event of World War II and the music chart Billboard Hot 100?", "Find the common connection between World War II and the Billboard Hot 100 in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q362> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q180072> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7622", "question": "What are the administrative electoral divisions and their governing legislative bodies, along with the jurisdictions they apply to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?electoralUnit ?electoralUnitLabel ?legislativeBody ?legislativeBodyLabel ?jurisdiction WHERE {\n  ?electoralUnit wdt:P279 + wd:Q192611 .\n  ?electoralUnit wdt:P194 ?legislativeBody .\n  OPTIONAL {\n    ?legislativeBody wdt:P1001 ?jurisdiction .\n  }\n  OPTIONAL {\n    ?electoralUnit rdfs:label ?electoralUnitLabel .\n    FILTER(LANG(?electoralUnitLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?legislativeBody rdfs:label ?legislativeBodyLabel .\n    FILTER(LANG(?legislativeBodyLabel) = \"en\")\n  }\n}", "paraphrases": ["List the legislative bodies for each type of electoral unit (like departments or municipalities), and where they operate.", "Which legislative councils govern electoral units such as departments and municipalities, and in which countries or regions do they function?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3Label ?var4Label ?var5 ?var5Label ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> + <http://www.wikidata.org/entity/Q192611> . MINUS { ?var1 ( <http://www.wikidata.org/prop/P279> +/ <http://www.wikidata.org/prop/qualifier/P642> ) ?var2 . } ?var1 <http://www.wikidata.org/prop/direct/P194> ?var5 . OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P1001> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7623", "question": "What positions did Barack Obama hold, and when did he start each one?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?position ?startDate ?propertyLabel WHERE {\n  wd:Q76 p:P39 ?statement .\n  ?statement ps:P39 ?position .\n  ?statement pq:P580 ?startDate .\n  wd:P39 rdfs:label ?propertyLabel .\n  FILTER(LANG(?propertyLabel) = \"en\")\n}\nLIMIT 1000", "paraphrases": ["List the offices held by Barack Obama along with their start dates, using the property label \"position held\".", "When did Barack Obama begin serving in each of his public offices?"], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q76> <http://www.wikidata.org/prop/P39> ?var1 . ?var1 <http://www.wikidata.org/prop/statement/P39> ?var2 . <http://www.wikidata.org/prop/P39> <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var1 <http://www.wikidata.org/prop/qualifier/P580> ?var4 . ?var1 <http://www.wikidata.org/prop/qualifier/P580> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 1000"}}
{"id": "test_7624", "question": "What pairs of topics are commonly associated as main subjects in works about the 11th century?", "sparql": "SELECT DISTINCT ?topic1 ?topic1Label ?topic2 ?topic2Label WHERE { { ?item (wdt:P921/wdt:P31*/wdt:P279*) wd:Q7063 . } UNION { ?item (wdt:P921/wdt:P361+) wd:Q7063 . } UNION { ?item (wdt:P921/wdt:P1269+) wd:Q7063 . } ?item wdt:P921 ?topic1 , ?topic2 . FILTER ( ?topic1 != wd:Q7063 && ?topic2 != wd:Q7063 && ?topic1 != ?topic2 ) OPTIONAL { ?topic1 rdfs:label ?topic1Label . FILTER(LANG(?topic1Label) = \"en\") } OPTIONAL { ?topic2 rdfs:label ?topic2Label . FILTER(LANG(?topic2Label) = \"en\") } }", "paraphrases": ["Which historical regions and academic subjects are both main topics of works centered on the 11th century?", "Can you list two main subjects that appear together in works related to the 11th century, excluding the century itself?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7063> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P361> +) <http://www.wikidata.org/entity/Q7063> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P1269> +) <http://www.wikidata.org/entity/Q7063> . } ?var3 <http://www.wikidata.org/prop/direct/P921> ?var1 , ?var2 . FILTER ( ( ( <http://www.wikidata.org/entity/Q7063> != ?var1 ) && ( <http://www.wikidata.org/entity/Q7063> != ?var2 ) && ( ?var1 != ?var2 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_7625", "question": "Is there any biological taxon in Wikidata with the GRIN URL \"Raffi\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P1421 \"Raffi\" .\n}", "paraphrases": ["Does the string \"Raffi\" correspond to a GRIN identifier for any species in Wikidata?", "Is \"Raffi\" a valid GRIN ID for any organism in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1421> \"Raffi\". }"}}
{"id": "test_7626", "question": "Taxon with scientific name Calluna", "sparql": "ASK WHERE { ?taxon wdt:P225 \"Calluna\" . }", "paraphrases": ["Is there a plant genus named Calluna?", "Show me if Calluna is a recognized scientific name for a taxon."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1421> \"Calle\". }"}}
{"id": "test_7627", "question": "What is the most specific common superclass of Japan and the Korean Peninsula?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?common WHERE {\n  {\n    wd:Q17 wdt:P31 ?type1 .\n    ?type1 wdt:P279 * ?common\n  }\n  {\n    wd:Q483134 wdt:P31 ?type2 .\n    ?type2 wdt:P279 * ?common\n  }\n  FILTER(?common = wd:Q123349660)\n}", "paraphrases": ["What category do both Japan and the Korean Peninsula belong to at the most specific level?", "What is the shared classification category that is most specific to both Japan and the Korean Peninsula?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q17> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q483134> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7628", "question": "What is the most specific category that both San Jose, California and San Jose, Costa Rica belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?class ?label WHERE {\n  wd:Q16553 wdt:P31 ?class .\n  wd:Q3070 wdt:P31 ?class .\n  ?class rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["Which class is shared by San Jose, California and San Jose, Costa Rica?", "What type of city is both San Jose in California and San Jose in Costa Rica classified as?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q16553> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7416357> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7629", "question": "What is the most specific shared category between Punta Islita Airport and Louisville in the Wikidata hierarchy?", "sparql": "SELECT ?ancestor (?dist1 + ?dist2 AS ?totalDistance)\nWHERE {\n  wd:Q1248784 wdt:P279* ?ancestor .\n  wd:Q515 wdt:P279* ?ancestor .\n  FILTER(?ancestor != wd:Q1248784)\n  FILTER(?ancestor != wd:Q515)\n\n  {\n    SELECT ?ancestor (COUNT(?mid1) AS ?dist1)\n    WHERE {\n      wd:Q1248784 wdt:P279+ ?mid1 .\n      ?mid1 wdt:P279* ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n\n  {\n    SELECT ?ancestor (COUNT(?mid2) AS ?dist2)\n    WHERE {\n      wd:Q515 wdt:P279+ ?mid2 .\n      ?mid2 wdt:P279* ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n}\nORDER BY ASC(?totalDistance)\nLIMIT 1", "paraphrases": ["What do Punta Islita Airport and Louisville have in common in terms of their classification in Wikidata, and which category is closest to both?", "Find the common ancestor in the subclass hierarchy that is nearest to both Punta Islita Airport and Louisville."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3545312> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q43668> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7630", "question": "What is the most specific category that both Germany and the European Union belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonAncestor WHERE {\n  wd:Q183 wdt:P31 ?type1 .\n  ?type1 wdt:P279 * ?commonAncestor .\n  wd:Q458 wdt:P31 ?type2 .\n  ?type2 wdt:P279 * ?commonAncestor .\n}\nORDER BY ASC ( STRLEN( STR( ?commonAncestor ) ) )\nLIMIT 1", "paraphrases": ["Is there a common superclass between Germany and the European Union in the Wikidata ontology?", "What do Germany and the European Union have in common in terms of their classification in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7414418> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q183> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7631", "question": "What is the most specific shared category (in the subclass hierarchy) between Beckenham and the Promenade des Anglais, and how many steps up does each need to reach it?", "sparql": "SELECT ?common (?dist1 + ?dist2 AS ?total)\nWHERE {\n  {\n    SELECT ?common (COUNT(?mid1) AS ?dist1)\n    WHERE {\n      wd:Q2755753 wdt:P279+ ?mid1 .\n      ?mid1 wdt:P279* ?common .\n    }\n    GROUP BY ?common\n  }\n  {\n    SELECT ?common (COUNT(?mid2) AS ?dist2)\n    WHERE {\n      wd:Q79007 wdt:P279+ ?mid2 .\n      ?mid2 wdt:P279* ?common .\n    }\n    GROUP BY ?common\n  }\n}\nORDER BY ASC(?total)\nLIMIT 1", "paraphrases": ["Find the common ancestor class with the shortest combined path length from Beckenham and the Promenade des Anglais in Wikidata\u2019s subclass hierarchy.", "Which concept do Beckenham and the Promenade des Anglais most closely share through their class hierarchies, and what is the total number of subclass steps from each to that concept?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q123372> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1849491> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7632", "question": "What country is connected to both China and New Addington?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonEntity WHERE {\n  wd:Q148 ?p1 ?commonEntity .\n  wd:Q7005189 ?p2 ?commonEntity .\n}\nLIMIT 1", "paraphrases": ["Which entity has a relationship with both the People's Republic of China and New Addington?", "Find the common link between China and New Addington in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q148> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7005189> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7633", "question": "What is the most specific category that both Dallas and Argentina belong to through their classification hierarchy?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?commonSuperclass WHERE {\n  VALUES ?cityClass {\n    wd:Q1093829 wd:Q1549591\n  }\n  VALUES ?countryClass {\n    wd:Q3624078 wd:Q512187 wd:Q6256 wd:Q6266 wd:Q10551526\n  }\n  ?cityClass wdt:P279 ?step1 .\n  ?step1 wdt:P279 ?step2 .\n  ?step2 wdt:P279 ?commonSuperclass .\n  ?countryClass wdt:P279 ?step3 .\n  ?step3 wdt:P279 ?step4 .\n  ?step4 wdt:P279 ?commonSuperclass .\n}\nLIMIT 1", "paraphrases": ["What is the highest-level class that includes both cities and sovereign states like Dallas and Argentina?", "Which administrative or political classification encompasses both a city like Dallas and a country like Argentina?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q16557> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q414> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7634", "question": "What international organization are both France and Argentina members of?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?organization WHERE {\n  wd:Q142 wdt:P463 ?organization .\n  wd:Q414 wdt:P463 ?organization .\n}", "paraphrases": ["Which entity do France and Argentina both belong to?", "Find the organization that has both France and Argentina as members."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q142> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q414> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7635", "question": "What is the most general category that both a U.S. state and a historical region belong to?", "sparql": "SELECT ?ancestor ?ancestorLabel (?dist1 + ?dist2 AS ?totalDist)\nWHERE {\n  {\n    SELECT ?ancestor (COUNT(?mid) AS ?dist1)\n    WHERE {\n      wd:Q35657 wdt:P279+ ?mid .\n      ?mid wdt:P279* ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n  {\n    SELECT ?ancestor (COUNT(?mid) AS ?dist2)\n    WHERE {\n      wd:Q1620908 wdt:P279+ ?mid .\n      ?mid wdt:P279* ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n  OPTIONAL { ?ancestor rdfs:label ?ancestorLabel . FILTER(LANG(?ancestorLabel) = \"en\") }\n}\nORDER BY ASC(?totalDist)\nLIMIT 1", "paraphrases": ["Which concept is the closest common ancestor in the hierarchy between Nevada and Judea?", "What is the shared superclass with the shortest combined path length from U.S. state and historical region?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1227> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q104028> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7636", "question": "What is the most specific shared category (in the hierarchy of types) between North Africa and Seoul, based on the shortest combined path through subclass relationships?", "sparql": "SELECT ?commonAncestor (SUM(?distNorth) + SUM(?distSeoul) AS ?totalDistance)\nWHERE {\n  {\n    SELECT ?northAncestor (COUNT(?mid) AS ?distNorth)\n    WHERE {\n      wd:Q27381 wdt:P31 ?northClass .\n      ?northClass wdt:P279+ ?mid .\n      ?mid wdt:P279* ?northAncestor .\n    }\n    GROUP BY ?northAncestor\n  }\n  {\n    SELECT ?seoulAncestor (COUNT(?mid) AS ?distSeoul)\n    WHERE {\n      wd:Q8684 wdt:P31 ?seoulClass .\n      ?seoulClass wdt:P279+ ?mid .\n      ?mid wdt:P279* ?seoulAncestor .\n    }\n    GROUP BY ?seoulAncestor\n  }\n  FILTER(?northAncestor = ?seoulAncestor)\n  BIND(?northAncestor AS ?commonAncestor)\n}\nGROUP BY ?commonAncestor\nORDER BY ASC(?totalDistance)\nLIMIT 1", "paraphrases": ["Which concept is the closest common ancestor in the Wikidata taxonomy for both North Africa and Seoul, measured by the sum of subclass steps from each?", "Find the entity that both North Africa and Seoul are most closely related to through their type hierarchies, with the smallest total number of subclass links."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q27381> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q8684> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7637", "question": "What is the most specific category that both countries and cities belong to?", "sparql": "SELECT ?common ?label WHERE { wd:Q3624078 wdt:P279* ?common . wd:Q515 wdt:P279* ?common . ?common rdfs:label ?label . FILTER(LANG(?label) = \"en\") OPTIONAL { ?child wdt:P279 ?common } } GROUP BY ?common ?label ORDER BY ASC(COUNT(?child)) LIMIT 1", "paraphrases": ["What do Algeria and Los Angeles have in common in terms of their type hierarchy?", "What is the highest-level concept that includes both sovereign states and cities?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q262> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q65> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7638", "question": "What are the common classes that both Tunisia and Louisville belong to in the Wikidata taxonomy?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestor ?ancestorLabel WHERE {\n  wd:Q6256 wdt:P279 * ?ancestor .\n  wd:Q515 wdt:P279 * ?ancestor .\n  ?ancestor rdfs:label ?ancestorLabel .\n  FILTER(LANG(?ancestorLabel) = \"en\")\n}\nORDER BY ?ancestor\nLIMIT 10", "paraphrases": ["What is the most specific category that includes both countries and cities, such as Tunisia and Louisville?", "What is the highest-level shared classification between a country like Tunisia and a city like Louisville?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q948> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q43668> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7639", "question": "What is the most specific category that both Los Angeles and Croydon University Hospital belong to, and how far up the classification tree is it from each?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonClass ?distLA ?distCroydon(?distLA + ?distCroydon AS ?totalDist) WHERE {\n  wd:Q65 wdt:P31 ?typeLA .\n  wd:Q5189706 wdt:P31 ?typeCroydon .\n  OPTIONAL {\n    ?typeLA wdt:P279 ?super1LA .\n  }\n  OPTIONAL {\n    ?super1LA wdt:P279 ?super2LA .\n  }\n  OPTIONAL {\n    ?super2LA wdt:P279 ?super3LA .\n  }\n  OPTIONAL {\n    ?super3LA wdt:P279 ?super4LA .\n  }\n  OPTIONAL {\n    ?super4LA wdt:P279 ?super5LA .\n  }\n  OPTIONAL {\n    ?typeCroydon wdt:P279 ?super1Croydon .\n  }\n  OPTIONAL {\n    ?super1Croydon wdt:P279 ?super2Croydon .\n  }\n  OPTIONAL {\n    ?super2Croydon wdt:P279 ?super3Croydon .\n  }\n  OPTIONAL {\n    ?super3Croydon wdt:P279 ?super4Croydon .\n  }\n  OPTIONAL {\n    ?super4Croydon wdt:P279 ?super5Croydon .\n  }\n  BIND(COALESCE(?super5LA , ?super4LA , ?super3LA , ?super2LA , ?super1LA , ?typeLA) AS ?commonClassLA)\n  BIND(COALESCE(?super5Croydon , ?super4Croydon , ?super3Croydon , ?super2Croydon , ?super1Croydon , ?typeCroydon) AS ?commonClassCroydon)\n  FILTER(?commonClassLA = ?commonClassCroydon)\n  BIND(?commonClassLA AS ?commonClass)\n  BIND(IF(BOUND(?super5LA) , 5 , IF(BOUND(?super4LA) , 4 , IF(BOUND(?super3LA) , 3 , IF(BOUND(?super2LA) , 2 , IF(BOUND(?super1LA) , 1 , 0))))) AS ?distLA)\n  BIND(IF(BOUND(?super5Croydon) , 5 , IF(BOUND(?super4Croydon) , 4 , IF(BOUND(?super3Croydon) , 3 , IF(BOUND(?super2Croydon) , 2 , IF(BOUND(?super1Croydon) , 1 , 0))))) AS ?distCroydon)\n  FILTER(STRSTARTS(STR(?commonClass) , \"http://www.wikidata.org/entity/Q\"))\n}\nORDER BY ASC(?totalDist)\nLIMIT 1", "paraphrases": ["How many subclass steps separate Los Angeles and Croydon Hospital from their most specific shared category in Wikidata?", "Find the common superclass with the smallest total distance from both Los Angeles and Croydon University Hospital, based on their types in the Wikidata taxonomy."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q65> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q5189706> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7640", "question": "What is the most general shared subclass of a city and a U.S. state?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?ancestor ( ?dist1 + ?dist2 AS ?totalDistance ) WHERE {\n  {\n    SELECT ?ancestor ( COUNT( ?mid ) AS ?dist1 ) WHERE {\n      wd:Q515 wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n  {\n    SELECT ?ancestor ( COUNT( ?mid ) AS ?dist2 ) WHERE {\n      wd:Q35657 wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n}\nORDER BY ASC ( ?totalDistance )\nLIMIT 1", "paraphrases": ["What is the highest-level category that both a city like Kunduz and a state like Ohio belong to?", "Find the most abstract class that includes both cities and U.S. states as subclasses, based on the shortest path in the Wikidata hierarchy."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q108155> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1397> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7641", "question": "What is the most specific shared category that both Terrigal and Croydon University Hospital belong to, based on their types in the Wikidata hierarchy?", "sparql": "SELECT ?commonAncestor ?commonAncestorLabel\nWHERE {\n  wd:Q599583 wdt:P31 ?type1 .\n  wd:Q5189706 wdt:P31 ?type2 .\n  ?type1 wdt:P279* ?commonAncestor .\n  ?type2 wdt:P279* ?commonAncestor .\n  ?commonAncestor rdfs:label ?commonAncestorLabel .\n  FILTER(LANG(?commonAncestorLabel) = \"en\")\n}\nORDER BY ASC(STRLEN(STR(?commonAncestor)))\nLIMIT 1", "paraphrases": ["What is the common superclass of \"suburb\" and \"hospital\" in Wikidata's classification system?", "Which entity represents the most specific shared classification for Terrigal (a suburb) and Croydon University Hospital (a hospital)?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q599583> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q5189706> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7642", "question": "What is the most specific category that both the Las Vegas Strip and World War II belong to through their class hierarchies?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonClass WHERE {\n  BIND(wd:Q58415929 AS ?commonClass)\n  wd:Q745608 wdt:P31 ?class1 .\n  wd:Q362 wdt:P31 ?class2 .\n  ?class1 wdt:P279 * ?commonClass .\n  ?class2 wdt:P279 * ?commonClass .\n}", "paraphrases": ["Which entity in Wikidata is the common ancestor in the subclass hierarchy for both the Las Vegas Strip and World War II?", "Find the shared superclass in the Wikidata ontology that connects the entertainment district of Las Vegas Strip and the historical period of World War II."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q745608> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q362> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7643", "question": "What hospitals are located in the West Bank?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?hospital ?hospitalLabel WHERE {\n  ?hospital wdt:P31 wd:Q16917 ; wdt:P17 wd:Q219060 .\n  ?hospital rdfs:label ?hospitalLabel\n  FILTER ( LANG( ?hospitalLabel ) = 'en' )\n}\nORDER BY ?hospitalLabel\nLIMIT 100", "paraphrases": ["Can you list the English names of hospitals in Palestine, since the West Bank is part of it?", "Show me all hospitals in the West Bank region, using their official English names."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q5189706> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q36678> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7644", "question": "What is the most specific class that both Hong Kong and Beijing belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonClass WHERE {\n  wd:Q8646 wdt:P31 wd:Q515 .\n  wd:Q956 wdt:P31 ?beijing_type .\n  ?beijing_type wdt:P279 * wd:Q5119 .\n  wd:Q5119 wdt:P279 wd:Q515 .\n  BIND(wd:Q515 AS ?commonClass)\n}", "paraphrases": ["What class is a common superclass of both Hong Kong and Beijing?", "What is the shared category that includes both Hong Kong and Beijing in the Wikidata hierarchy?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q8646> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q956> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7645", "question": "What are the common higher-level categories that both Israel\u2013United States relations and London belong to?", "sparql": "SELECT ?commonSuperclass WHERE { wd:Q15221623 wdt:P279* ?commonSuperclass . wd:Q515 wdt:P279* ?commonSuperclass . } ORDER BY ?commonSuperclass", "paraphrases": ["What superclass categories are shared by the type of Israel\u2013US relations and the type of London?", "Find all abstract categories that classify both bilateral relations and cities."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q607505> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q84> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7646", "question": "What is the most specific shared category in the type hierarchy between the United Kingdom and Israel\u2013United States relations, and how far are they from it?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonAncestor ?distUK ?distIS(?distUK + ?distIS AS ?totalDist) WHERE {\n  {\n    SELECT ?typeUK ?ancestorUK(COUNT(?mid) AS ?distUK) WHERE {\n      wd:Q145 wdt:P31 ?typeUK .\n      ?typeUK wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?ancestorUK .\n    }\n    GROUP BY ?typeUK ?ancestorUK\n  }\n  {\n    SELECT ?typeIS ?ancestorIS(COUNT(?mid) AS ?distIS) WHERE {\n      wd:Q607505 wdt:P31 ?typeIS .\n      ?typeIS wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?ancestorIS .\n    }\n    GROUP BY ?typeIS ?ancestorIS\n  }\n  FILTER(?ancestorUK = ?ancestorIS)\n  BIND(?ancestorUK AS ?commonAncestor)\n}\nORDER BY ASC(?totalDist)\nLIMIT 1", "paraphrases": ["Which class is the closest common ancestor in the Wikidata ontology for both the United Kingdom and the Israel\u2013United States relations?", "Find the entity that is the most specific common superclass of the types of the United Kingdom and Israel\u2013United States relations, based on shortest path distance."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q607505> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q145> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7647", "question": "What is the most specific category that both Jerusalem and the Promenade des Anglais belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?commonAncestor ?label WHERE {\n  wd:Q1218 wdt:P31 ?c1 .\n  ?c1 wdt:P279 * ?commonAncestor .\n  wd:Q1849491 wdt:P31 ?c2 .\n  ?c2 wdt:P279 * ?commonAncestor .\n  ?commonAncestor rdfs:label ?label .\n  FILTER(LANG(?label) = 'en')\n}\nORDER BY DESC(STRLEN(?label))\nLIMIT 1", "paraphrases": ["What do Jerusalem and the Promenade des Anglais have in common in terms of their classification in Wikidata?", "Which class is the most specific shared ancestor of the types of Jerusalem and the Promenade des Anglais?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1849491> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1218> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7648", "question": "What is the relationship between anarcho-communism and anarcho-syndicalism?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ideology1 ?property ?propertyLabel ?ideology2 WHERE {\n  VALUES ( ?ideology1 ?ideology2 ) {\n    ( wd:Q188670 wd:Q188993 )\n  }\n  ?ideology1 ?property ?ideology2 .\n  FILTER ( ?property = wdt:P1889 ) BIND( \"different from\" AS ?propertyLabel )\n}", "paraphrases": ["How is anarcho-communism related to anarcho-syndicalism in Wikidata?", "Show me the Wikidata property that states anarcho-communism is different from anarcho-syndicalism."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var3 WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q188670> ) } VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q188993> ) } ?var1 ?var2 ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7649", "question": "What is the most specific category that both San Jose and Belleair belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonSuperclass WHERE {\n  VALUES ?type1 {\n    wd:Q13218391 wd:Q1549591 wd:Q62049\n  }\n  ?type1 wdt:P279 * ?commonSuperclass .\n  wd:Q15127012 wdt:P279 * ?commonSuperclass .\n}\nLIMIT 1", "paraphrases": ["What is the common superclass in the hierarchy between San Jose and Belleair?", "What type of place do San Jose and Belleair have in common in Wikidata\u2019s classification system?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q16553> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2092758> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7650", "question": "What are novels written by authors whose names are labeled in German?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?work ?authorLabel WHERE {\n  ?work wdt:P50 ?author .\n  ?work wdt:P136 wd:Q8261 .\n  ?work wdt:P31 wd:Q7725634 .\n  ?author rdfs:label ?authorLabel .\n  FILTER(LANG(?authorLabel) = \"de\")\n}", "paraphrases": ["Show me German-language author names of literary works that are novels.", "Which novels have authors with German labels in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P50> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P136> <http://www.wikidata.org/entity/Q8261> . ?var1 <http://www.wikidata.org/prop/direct/P31> * <http://www.wikidata.org/entity/Q7725634> . { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var4 ) = \"de\" ) ) ) . } }"}}
{"id": "test_7651", "question": "What is the most general category that includes both Later Zhao and Hannah Arendt?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?label WHERE {\n  wd:Q35120 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["What do Later Zhao and Hannah Arendt have in common in terms of their classification in Wikidata?", "What is the top-level entity type that both a historical Chinese state and a philosopher belong to?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2314907> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q60025> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7652", "question": "What country is Scarsdale, NY in, and where is English an official language?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?country ?countryLabel WHERE {\n  wd:Q2300959 wdt:P17 ?country .\n  ?country wdt:P37 wd:Q1860 .\n  ?country rdfs:label ?countryLabel .\n  FILTER ( LANG( ?countryLabel ) = \"en\" )\n}\nLIMIT 1", "paraphrases": ["Which country has English as an official language and contains the village of Scarsdale?", "Where is English spoken officially and where is Scarsdale located?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2300959> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1860> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7653", "question": "What is the most closely related category that both the Associated Press and World War II belong to?", "sparql": "SELECT ?commonAncestor (?dist1 + ?dist2 AS ?totalDistance)\nWHERE {\n  {\n    SELECT ?commonAncestor (COUNT(?step) AS ?dist1)\n    WHERE {\n      VALUES ?type { wd:Q163740 wd:Q192283 wd:Q860572 }\n      ?type wdt:P279+ ?step .\n      ?step wdt:P279* ?commonAncestor .\n    }\n    GROUP BY ?commonAncestor\n  }\n  {\n    SELECT ?commonAncestor (COUNT(?step) AS ?dist2)\n    WHERE {\n      VALUES ?type { wd:Q103495 wd:Q11514315 }\n      ?type wdt:P279+ ?step .\n      ?step wdt:P279* ?commonAncestor .\n    }\n    GROUP BY ?commonAncestor\n  }\n  FILTER(?commonAncestor = ?commonAncestor)\n}\nORDER BY ASC(?totalDistance)\nLIMIT 1", "paraphrases": ["Which top-level class is shared by news agencies and wars in the Wikidata ontology?", "Find the common ancestor class with the shortest path from both Associated Press and World War II."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q40469> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q362> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7654", "question": "What is the most specific category that both Christian Estrosi and Kim Jong belong to?", "sparql": "SELECT ?commonAncestor WHERE { wd:Q749029 wdt:P31 ?c1 . wd:Q6408963 wdt:P31 ?c2 . ?c1 wdt:P279* ?commonAncestor . ?c2 wdt:P279* ?commonAncestor . FILTER(?commonAncestor = ?c1) } LIMIT 1", "paraphrases": ["What class do Christian Estrosi and Kim Jong have in common as their most specific shared classification?", "What is the common superclass of Christian Estrosi and Kim Jong in the Wikidata ontology?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q749029> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q6408963> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7655", "question": "What is the most general category that both Donald Trump and Hwangju County belong to, based on their types?", "sparql": "SELECT ?commonAncestor\nWHERE {\n  wd:Q22686 wdt:P31 ?type1 .\n  wd:Q705723 wdt:P31 ?type2 .\n  ?type1 wdt:P279* ?commonAncestor .\n  ?type2 wdt:P279* ?commonAncestor .\n}\nORDER BY ?commonAncestor\nLIMIT 1", "paraphrases": ["What is the highest-level shared classification in Wikidata for Donald Trump and Hwangju County?", "What is the common superclass of the types of Donald Trump and Hwangju County?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q705723> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q22686> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7656", "question": "What are the names of organizations in Hungary?", "sparql": "SELECT ?orgLabel ?isni WHERE { ?org (wdt:P31/wdt:P279*) wd:Q43229 . ?org wdt:P17 wd:Q28 . OPTIONAL { ?org wdt:P213 ?isni . } ?org rdfs:label ?orgLabel . FILTER(LANG(?orgLabel) = \"en\") }", "paraphrases": ["Can you list the English names of all organizations and institutions located in Hungary, along with their ISNI identifiers?", "Which organizations in Hungary have an International Standard Name Identifier (ISNI)?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q43229> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q28> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P213> ?var3 . } }"}}
{"id": "test_7657", "question": "Organizations in the British Virgin Islands with their ISNI identifiers.", "sparql": "SELECT ?label ?isni WHERE { ?organization (wdt:P31 / wdt:P279*) wd:Q43229 . ?organization wdt:P17 wd:Q25305 . OPTIONAL { ?organization wdt:P213 ?isni . } ?organization rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["What are the English names of organizations in the British Virgin Islands, and which ones have an ISNI?", "List all organizations (including types of organizations) located in the British Virgin Islands along with their English labels and ISNI numbers, if available."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q43229> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q25305> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P213> ?var3 . } }"}}
{"id": "test_7658", "question": "ACM conference proceedings and the papers published in them", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?proceedingsLabel ?paper ?paperLabel WHERE {\n  ?paper wdt:P1433 ?proceedings .\n  ?proceedings wdt:P31 wd:Q1143604 .\n  ?proceedings wdt:P123 wd:Q127992 .\n  ?proceedings rdfs:label ?proceedingsLabel .\n  ?paper rdfs:label ?paperLabel .\n  FILTER ( LANG( ?proceedingsLabel ) = \"en\" ) FILTER ( LANG( ?paperLabel ) = \"en\" )\n}\nORDER BY ASC ( ?proceedingsLabel ) ASC ( ?paperLabel )", "paraphrases": ["What papers were published in ACM conference proceedings, and what are the names of those proceedings?", "List all academic papers published in ACM conference proceedings, along with the proceedings titles, sorted alphabetically."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var2Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P1433> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1143604> . ?var1 <http://www.wikidata.org/prop/direct/P123> <http://www.wikidata.org/entity/Q127992> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label )ASC( ?var2Label )"}}
{"id": "test_7659", "question": "Most frequently used properties on tram stops in Wikidata.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?property ?propertyLabel(COUNT(*) AS ?count) WHERE {\n  ?tramStop(wdt:P31 / wdt:P279 *) wd:Q2175765 ; ?propertyUri [] .\n  ?property rdf:type wikibase:Property ; wikibase:claim ?propertyUri .\n  ?property rdfs:label ?propertyLabel .\n  FILTER(LANG(?propertyLabel) = \"en\")\n}\nGROUP BY ?property ?propertyLabel\nORDER BY DESC(?count)", "paraphrases": ["Which properties are most commonly used to describe tram stops, and how often are they used?", "Show me the top properties used on tram stops, ordered by usage count, along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT (* ) AS ?var2 ) WHERE { ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q2175765> ; ?var4 [] . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> ; <http://wikiba.se/ontology#claim> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var2 )"}}
{"id": "test_7660", "question": "What is the most specific category that both Tennessee and the United States belong to through their hierarchical classifications?", "sparql": "SELECT ?common (?distT + ?distUS AS ?totalDist)\nWHERE {\n  # Find common subclass reachable from both classes\n  wd:Q35657 wdt:P279* ?common .\n  wd:Q3624078 wdt:P279* ?common .\n\n  # Count steps from U.S. state to common\n  {\n    SELECT ?common (COUNT(?mid) AS ?distT)\n    WHERE {\n      wd:Q35657 wdt:P279+ ?mid .\n      ?mid wdt:P279* ?common .\n    }\n    GROUP BY ?common\n  }\n\n  # Count steps from sovereign state to common\n  {\n    SELECT ?common (COUNT(?mid) AS ?distUS)\n    WHERE {\n      wd:Q3624078 wdt:P279+ ?mid .\n      ?mid wdt:P279* ?common .\n    }\n    GROUP BY ?common\n  }\n}\nORDER BY ASC(?totalDist)\nLIMIT 1", "paraphrases": ["Which class is the closest common ancestor of U.S. states and sovereign states in Wikidata's ontology?", "How many steps away is the most specific shared superclass between Tennessee and the United States, and what is it?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1509> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q30> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7661", "question": "What are the components of a tennis tour that are related to tennis?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?item ?itemLabel WHERE {\n  ?item wdt:P641 wd:Q847 .\n  wd:Q7700500 wdt:P2670 * ?item .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["List all tennis-related events and sub-events that are part of a tennis tour.", "Which entities, such as tournaments or matches, are part of a tennis tour and involve the sport of tennis?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { BIND ( <http://www.wikidata.org/entity/Q47459169> AS ?var3 ). ?var1 <http://www.wikidata.org/prop/direct/P641> <http://www.wikidata.org/entity/Q847> . <http://www.wikidata.org/entity/Q7700500> <http://www.wikidata.org/prop/direct/P2670> * ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_7662", "question": "What is the most specific category that both Kathy Dahlkemper and Newsweek belong to through their types?", "sparql": "SELECT ?commonClass WHERE { wd:Q3813932 wdt:P31 ?inst1 . wd:Q188413 wdt:P31 ?inst2 . ?inst1 wdt:P279* ?commonClass . ?inst2 wdt:P279* ?commonClass . FILTER(STRSTARTS(STR(?commonClass), \"http://www.wikidata.org/entity/Q\")) } ORDER BY DESC(?commonClass) LIMIT 1", "paraphrases": ["What is the highest-level shared classification between a human and a news magazine in Wikidata?", "Find the most specific superclass that connects the type of Kathy Dahlkemper (a person) with the type of Newsweek (a publication)."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3813932> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q188413> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7663", "question": "What is the flag, BAG code, and population of Delft, Netherlands?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?flag ?bag ?population WHERE {\n  wd:Q690 wdt:P41 ?flag ; wdt:P981 ?bag ; wdt:P1082 ?population .\n}", "paraphrases": ["Can you show me the flag image, BAG residence ID, and population number for the city of Delft?", "I need the flag, administrative code (BAG), and population of Delft \u2014 can you provide those?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { { ?var4 <http://www.w3.org/2000/01/rdf-schema#label> \"Dun\"@nl ; <http://www.wikidata.org/prop/direct/P981> ?var2 ; <http://www.wikidata.org/prop/direct/P1082> ?var3 . FILTER ( ( isLITERAL ( \"Dun\"@nl ) ) ) . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P41> ?var1 . } }"}}
{"id": "test_7664", "question": "What are the Dutch places named \"Heenweg\", and where are they located?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity ?label ?country ?location WHERE {\n  ?entity rdfs:label \"Heenweg\" @nl .\n  OPTIONAL {\n    ?entity wdt:P17 ?country .\n  }\n  OPTIONAL {\n    ?entity wdt:P131 ?location .\n  }\n  OPTIONAL {\n    ?entity wdt:P41 ?flag .\n  }\n}", "paraphrases": ["Can you find the flag, country, and administrative location of the Dutch location called \"Heenweg\"?", "Is there a place in the Netherlands called \"Heenweg\"? If so, what is its country and administrative region?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { { ?var4 <http://www.w3.org/2000/01/rdf-schema#label> \"Heenweg\"@nl ; <http://www.wikidata.org/prop/direct/P981> ?var2 ; <http://www.wikidata.org/prop/direct/P1082> ?var3 . FILTER ( ( isLITERAL ( \"Heenweg\"@nl ) ) ) . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P41> ?var1 . } }"}}
{"id": "test_7665", "question": "BAG code and population of Zijderveld, Netherlands", "sparql": "SELECT ?flagImage ?bagCode ?population ?place WHERE { ?place rdfs:label \"Zijderveld\"@nl ; wdt:P981 ?bagCode ; wdt:P1082 ?population . OPTIONAL { ?place wdt:P41 ?flagImage . } }", "paraphrases": ["What is the population and BAG residence ID of Zijderveld, and does it have a flag image?", "Show me the BAG code, population, and flag image for the Dutch village Zijderveld."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { { ?var4 <http://www.w3.org/2000/01/rdf-schema#label> \"Zijderveld\"@nl ; <http://www.wikidata.org/prop/direct/P981> ?var2 ; <http://www.wikidata.org/prop/direct/P1082> ?var3 . FILTER ( ( isLITERAL ( \"Zijderveld\"@nl ) ) ) . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P41> ?var1 . } }"}}
{"id": "test_7666", "question": "Nuland village in the Netherlands, its BAG code, flag image, and population", "sparql": "SELECT ?place ?flag ?bagCode ?population WHERE { ?place rdfs:label ?label . FILTER(LANG(?label) = \"en\" && STR(?label) = \"Nuland\") . ?place wdt:P981 ?bagCode . OPTIONAL { ?place wdt:P41 ?flag . } OPTIONAL { ?place wdt:P1082 ?population . } }", "paraphrases": ["What is the flag image and BAG code of the Dutch village named Nuland, and what is its population?", "Show me the flag, BAG residence ID, and population of the place in the Netherlands called Nuland in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { { ?var4 <http://www.w3.org/2000/01/rdf-schema#label> \"Nuland\"@nl ; <http://www.wikidata.org/prop/direct/P981> ?var2 ; <http://www.wikidata.org/prop/direct/P1082> ?var3 . FILTER ( ( isLITERAL ( \"Nuland\"@nl ) ) ) . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P41> ?var1 . } }"}}
{"id": "test_7667", "question": "Flag, BAG ID, and population of the Dutch municipality named \"Enschede\"", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?flag ?bagId ?population ?municipality WHERE {\n  ?municipality rdfs:label \"Enschede\" @nl ; wdt:P41 ?flag ; wdt:P981 ?bagId ; wdt:P1082 ?population .\n}", "paraphrases": ["What is the flag image, BAG residence ID, and population of Enschede in the Netherlands?", "Please provide the flag image, BAG code, and population for the Dutch town called \"Enschede\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { { ?var4 <http://www.w3.org/2000/01/rdf-schema#label> \"Het Wild\"@nl ; <http://www.wikidata.org/prop/direct/P981> ?var2 ; <http://www.wikidata.org/prop/direct/P1082> ?var3 . FILTER ( ( isLITERAL ( \"Het Wild\"@nl ) ) ) . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P41> ?var1 . } }"}}
{"id": "test_7668", "question": "List all types of Wikidata properties and their English labels.", "sparql": "SELECT ?property ?propertyLabel WHERE { ?property wdt:P279* wd:Q18616576 . ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") }", "paraphrases": ["What are the different kinds of properties in Wikidata, categorized by their subclass relationships?", "Show me all the specific categories of Wikidata properties, such as those for fictional characters or cemeteries, along with their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q18616576> . }"}}
{"id": "test_7669", "question": "What is the population and flag of the municipality that contains the hamlet Kruishaar?", "sparql": "SELECT ?municipality ?municipalityLabel ?bagCode ?population ?flag WHERE { wd:Q2211350 wdt:P131 ?municipality . ?municipality rdfs:label ?municipalityLabel . FILTER(LANG(?municipalityLabel) = \"nl\" || LANG(?municipalityLabel) = \"en\") OPTIONAL { ?municipality wdt:P981 ?bagCode . } OPTIONAL { ?municipality wdt:P1082 ?population . } OPTIONAL { ?municipality wdt:P41 ?flag . } }", "paraphrases": ["Can you find the Dutch or English name, population, flag, and BAG code of the administrative municipality where Kruishaar is located?", "Which municipality is Kruishaar part of, and what are its population, flag, and BAG code?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { { ?var4 <http://www.w3.org/2000/01/rdf-schema#label> \"Kruishaar\"@nl ; <http://www.wikidata.org/prop/direct/P981> ?var2 ; <http://www.wikidata.org/prop/direct/P1082> ?var3 . FILTER ( ( isLITERAL ( \"Kruishaar\"@nl ) ) ) . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P41> ?var1 . } }"}}
{"id": "test_7670", "question": "What is the population and BAG ID of Lunteren, and does it have a flag image?", "sparql": "SELECT ?flag ?bagId ?population ?place WHERE { ?place rdfs:label \"Lunteren\"@nl ; wdt:P981 ?bagId ; wdt:P1082 ?population . OPTIONAL { ?place wdt:P41 ?flag . } }", "paraphrases": ["What is the population and BAG residence ID of the Dutch town Lunteren, and is there a flag image associated with it?", "Please provide the BAG ID, population, and flag image (if any) for the Dutch municipality Lunteren."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { { ?var4 <http://www.w3.org/2000/01/rdf-schema#label> \"Lunteren\"@nl ; <http://www.wikidata.org/prop/direct/P981> ?var2 ; <http://www.wikidata.org/prop/direct/P1082> ?var3 . FILTER ( ( isLITERAL ( \"Lunteren\"@nl ) ) ) . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P41> ?var1 . } }"}}
{"id": "test_7671", "question": "English-labeled items used as component types in Wikidata", "sparql": "SELECT ?item ?label ?description WHERE { { SELECT DISTINCT ?item WHERE { ?x wdt:P2670 ?item . } } ?item rdfs:label ?label . ?item schema:description ?description . FILTER (LANG(?label) = \"en\") . FILTER (LANG(?description) = \"en\") . } LIMIT 20", "paraphrases": ["What are the English-named items that are classified as parts of a class in Wikidata?", "List up to 20 items that serve as component types in Wikidata, along with their English labels and descriptions."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P2670> ?var1 . } LIMIT 20 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 20"}}
{"id": "test_7672", "question": "All pigeon and dove species in the Columbidae family.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?taxon ?taxonLabel WHERE {\n  ?taxon wdt:P171 * wd:Q10856 .\n  ?taxon rdfs:label ?taxonLabel .\n  FILTER ( LANG( ?taxonLabel ) = \"en\" )\n}", "paraphrases": ["What are the English names of all species and genera in the pigeon family (Columbidae)?", "List all the taxonomic members of the Columbidae family with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P171> * <http://www.wikidata.org/entity/Q10856> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_7673", "question": "What companies succeeded Sud-Aviation through replacement, up to three generations?", "sparql": "SELECT ?successor ?successorLabel WHERE { { wd:Q1428793 ^wdt:P1365 ?successor . } UNION { wd:Q1428793 ^wdt:P1365 ?step1 . ?step1 ^wdt:P1365 ?successor . } UNION { wd:Q1428793 ^wdt:P1365 ?step1 . ?step1 ^wdt:P1365 ?step2 . ?step2 ^wdt:P1365 ?successor . } OPTIONAL { ?successor rdfs:label ?successorLabel . FILTER(LANG(?successorLabel) = \"en\") } }", "paraphrases": ["List the organizations that directly or indirectly replaced Sud-Aviation in the aerospace industry.", "Who took over Sud-Aviation in the chain of corporate succession, within three steps?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1428793> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P1365> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1365> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_7674", "question": "French-labeled humans with the surname Carayol", "sparql": "SELECT DISTINCT ?person WHERE { ?person rdfs:label ?label . FILTER(LANG(?label) = \"fr\") . FILTER(contains(lcase(?label), \"carayol\")) . ?person wdt:P31 wd:Q5 .}", "paraphrases": ["Who are the people named Carayol that have a French label and are human?", "List all humans whose French name includes 'Carayol'."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Carayol\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_7675", "question": "Who were the presidents of Argentina and what are their native names?", "sparql": "SELECT ?person ?nativeName WHERE { ?person (p:P39/ps:P39) wd:Q12969145 . OPTIONAL { ?person wdt:P1559 ?nativeName . } }", "paraphrases": ["Can you list all individuals who have served as President of Argentina along with their names in their native language?", "Show me the names of all people who held the office of President of Argentina, including their native names if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/P39> / <http://www.wikidata.org/prop/statement/P39> ) <http://www.wikidata.org/entity/Q12969145> . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1559> ?var2 . } }"}}
{"id": "test_7676", "question": "Humans with the surname Nussbaumer or Nu\u00dfbaumer", "sparql": "SELECT DISTINCT ?person WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P734 ?surname . VALUES ?surname { wd:Q28555787 wd:Q76426206 } }", "paraphrases": ["Who are the people with the family name Nussbaumer or Nu\u00dfbaumer?", "List all humans whose family name is Nussbaumer or Nu\u00dfbaumer."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Nussbaumer\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_7677", "question": "What are the birth and death dates of Engelbert Humperdinck?", "sparql": "SELECT ?label ?birthDate ?deathDate WHERE { wd:Q55010 rdfs:label ?label . FILTER(LANG(?label) = \"en\") OPTIONAL { wd:Q55010 wdt:P569 ?birthDate . } OPTIONAL { wd:Q55010 wdt:P570 ?deathDate . } }", "paraphrases": ["Can you tell me when Engelbert Humperdinck was born and when he died?", "Provide the lifespan of the German composer Engelbert Humperdinck, including his birth and death years."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q55010> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7678", "question": "What are the birth and death dates of Sybil Sassoon?", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { wd:Q2373505 rdfs:label ?personLabel . OPTIONAL { wd:Q2373505 wdt:P569 ?birthDate . } OPTIONAL { wd:Q2373505 wdt:P570 ?deathDate . } FILTER(LANG(?personLabel) = \"en\")}", "paraphrases": ["What is the English label of Sybil Sassoon, and when was she born and when did she die?", "Can you tell me the birth and death dates of Sybil Sassoon, along with her name in English?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q2373505> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7679", "question": "Typefaces and their copyright licenses", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?typeface ?typefaceLabel ?license ?licenseLabel WHERE {\n  ?typeface wdt:P31 wd:Q17451 .\n  ?typeface wdt:P275 ?license .\n  OPTIONAL {\n    ?typeface rdfs:label ?typefaceLabel FILTER ( LANG( ?typefaceLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?license rdfs:label ?licenseLabel FILTER ( LANG( ?licenseLabel ) = \"en\" )\n  }\n}", "paraphrases": ["What are the typefaces and the licenses under which they are released?", "Show me the names of font families and the corresponding open or proprietary licenses they use, in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q17451> . ?var1 <http://www.wikidata.org/prop/direct/P275> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_7680", "question": "Scholarly articles authored by Valerie Speirs", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?article ?articleLabel WHERE {\n  ?article wdt:P31 wd:Q13442814 ; wdt:P50 wd:Q46110266 .\n  ?article rdfs:label ?articleLabel .\n  FILTER ( LANG( ?articleLabel ) = \"en\" )\n}", "paraphrases": ["What are the scholarly articles written by Valerie Speirs?", "Please list all academic papers where Valerie Speirs is the author."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13442814> . ?var2 <http://www.wikidata.org/prop/direct/P50> ?var1 . VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q46110266> ) } ?var2 <http://www.wikidata.org/prop/direct/P2093> ?var3 . FILTER ( ( CONTAINS ( STR ( ?var3 ) , \"string1\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7681", "question": "Who is the person named \"Baaziz\" in French?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person WHERE {\n  ?person rdfs:label \"Baaziz\" @fr .\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["French-labeled \"Baaziz\" who is a human.", "Find the human individual whose name in French is \"Baaziz\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"baaziz\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_7682", "question": "What is the most specific category that both Seattle and South Dakota belong to through their types and their superclasses?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonClass WHERE {\n  {\n    wd:Q5083 wdt:P31 ?type1 .\n    ?type1 wdt:P279 / wdt:P279 ?commonClass .\n  }\n  FILTER EXISTS {\n    wd:Q1211 wdt:P31 ?type2 .\n    ?type2 wdt:P279 ?commonClass .\n  }\n}\nLIMIT 1", "paraphrases": ["Which administrative category is shared by Seattle and South Dakota via their classification hierarchy?", "What is the common superclass two levels above Seattle\u2019s type and one level above South Dakota\u2019s type?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q5083> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1211> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7683", "question": "Image of the person with SNAC ARK ID w61d5mw8", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w61d5mw8\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with Zhuangzi in Wikidata?", "Show me the Wikimedia Commons image for the entity identified by SNAC ARK ID w61d5mw8."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w61d5mw8\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7684", "question": "Arabic taxon ranks of brown algae without Arabic descriptions", "sparql": "SELECT ?taxon ?rankLabel WHERE { ?taxon wdt:P31 wd:Q16521 ; wdt:P171* wd:Q184573 ; wdt:P105 ?rank . ?rank rdfs:label ?rankLabel . FILTER(LANG(?rankLabel) = \"ar\") . OPTIONAL { ?taxon schema:description ?description . FILTER(LANG(?description) = \"ar\") } . FILTER(!BOUND(?description)) }", "paraphrases": ["Which brown algae taxa have Arabic labels for their taxonomic rank but no Arabic description?", "List all species and families within brown algae that are labeled in Arabic by their taxon rank but lack an Arabic description."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P105> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16521> . ?var1 <http://www.wikidata.org/prop/direct/P171> * <http://www.wikidata.org/entity/Q184573> . { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"ar\" ) ) ) . } OPTIONAL { ?var1 <http://schema.org/description> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"ar\" ) ) ) . } FILTER ( ( !( BOUND ( ?var4 ) ) ) ) . }"}}
{"id": "test_7685", "question": "What are the sources cited in Wikidata references?", "sparql": "SELECT ?source WHERE { ?reference pr:P248 ?source . } LIMIT 10", "paraphrases": ["Which books, websites, or databases are used as references in Wikidata statements?", "Can you list some of the publications or institutions that serve as sources for claims in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/reference/value/P248> ?var3 . } LIMIT 1"}}
{"id": "test_7686", "question": "What is the most specific category that both Kimi R\u00e4ikk\u00f6nen and the Houston Texans belong to?", "sparql": "SELECT ?label WHERE { wd:Q106559804 rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["What do a Formula One driver and an American football team have in common in terms of Wikidata classification?", "What is the highest-level shared category between humans and sports teams in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q11192> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q223514> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7687", "question": "What is the most specific shared superclass between Ben Zobrist and the Las Vegas Raiders in the Wikidata taxonomy?", "sparql": "SELECT ?commonAncestor (COUNT(?mid1) + COUNT(?mid2) AS ?totalDistance)\nWHERE {\n  wd:Q5 wdt:P279+ ?mid1 .\n  ?mid1 wdt:P279* ?commonAncestor .\n  wd:Q17156793 wdt:P279+ ?mid2 .\n  ?mid2 wdt:P279* ?commonAncestor .\n}\nGROUP BY ?commonAncestor\nORDER BY ASC(?totalDistance)\nLIMIT 1", "paraphrases": ["Which entity is the closest common ancestor in the subclass hierarchy for both Ben Zobrist and the Las Vegas Raiders?", "Find the lowest common ancestor in the taxonomy that connects Ben Zobrist (a human) and the Las Vegas Raiders (a sports team) via subclass-of relationships."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1061268> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q324523> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7688", "question": "What is the most central administrative region shared by Massachusetts and York County, Maine, and how many steps away is each from it?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestor(?dist1 + ?dist2 AS ?totalDist) WHERE {\n  wd:Q771 wdt:P131 * ?ancestor .\n  wd:Q390141 wdt:P131 * ?ancestor .\n  {\n    SELECT ?ancestor(COUNT(?mid1) AS ?dist1) WHERE {\n      wd:Q771 wdt:P131 + ?mid1 .\n      ?mid1 wdt:P131 * ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n  {\n    SELECT ?ancestor(COUNT(?mid2) AS ?dist2) WHERE {\n      wd:Q390141 wdt:P131 + ?mid2 .\n      ?mid2 wdt:P131 * ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n}\nORDER BY ASC(?totalDist)\nLIMIT 1", "paraphrases": ["Find the common ancestor in the administrative hierarchy between Massachusetts and York County, Maine, and calculate the total number of administrative levels between them.", "Which entity is the highest-level common location for both Massachusetts and York County, Maine, and what is the sum of the shortest paths from each to this entity?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q771> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q390141> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7689", "question": "Wikimedia categories that combine climate change as a topic", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?category ?categoryLabel WHERE {\n  ?category wdt:P971 wd:Q125928 .\n  ?category rdfs:label ?categoryLabel .\n  FILTER ( LANG( ?categoryLabel ) = \"en\" )\n}", "paraphrases": ["What are the Wikimedia categories that include climate change among their combined topics?", "List all English-language Wikimedia categories that are defined to combine climate change as one of their topics."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P971> <http://www.wikidata.org/entity/Q13406463> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P301> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_7690", "question": "What is the most specific category that includes both SpaceX and Jeff Bezos?", "sparql": "SELECT ?commonLabel WHERE { wd:Q106559804 rdfs:label ?commonLabel . FILTER(LANG(?commonLabel) = \"en\") }", "paraphrases": ["What shared classification do SpaceX and Jeff Bezos belong to in the Wikidata hierarchy?", "What is the common superclass of SpaceX and Jeff Bezos based on their types?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q193701> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q312556> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7691", "question": "Who were the members of the French National Assembly during the 15th legislature (2017\u20132022), and which electoral districts did they represent?", "sparql": "SELECT ?person ?district WHERE { ?person wdt:P31 wd:Q5 . ?person p:P39 ?statement . ?statement ps:P39 wd:Q3044918 . ?statement pq:P2937 wd:Q24939798 . ?statement pq:P768 ?district . }", "paraphrases": ["French MPs in the 15th legislature and their constituencies", "List all people who served as members of the French National Assembly in the 15th legislature along with their electoral districts."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/P39> ?var3 . ?var4 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q3044918> . ?var4 <http://www.wikidata.org/prop/qualifier/P2937> <http://www.wikidata.org/entity/Q24939798> . ?var4 <http://www.wikidata.org/prop/qualifier/P768> ?var2 . }"}}
{"id": "test_7692", "question": "What is the most specific geographical region that both Hainan and Asia belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestor(?distAsia + ?distHainan AS ?totalDist) WHERE {\n  {\n    SELECT ?ancestor(COUNT(?mid) AS ?distAsia) WHERE {\n      wd:Q48 wdt:P361 * ?mid .\n      ?mid wdt:P361 * ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n  {\n    SELECT ?ancestor(COUNT(?mid) AS ?distHainan) WHERE {\n      wd:Q42200 wdt:P361 * ?mid .\n      ?mid wdt:P361 * ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n}\nORDER BY ASC(?totalDist)\nLIMIT 1", "paraphrases": ["Which geographical entity is the closest common ancestor of Hainan and Asia in the part-of hierarchy?", "Find the region that contains Hainan and is also part of Asia, with the shortest total path length."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q48> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q42200> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7693", "question": "What category do New England and the Southeastern United States share?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?commonType ?label WHERE {\n  wd:Q18389 wdt:P31 ?commonType .\n  wd:Q1139046 wdt:P31 ?commonType .\n  ?commonType rdfs:label ?label .\n  FILTER ( LANG( ?label ) = 'en' )\n}", "paraphrases": ["Which classification applies to both New England and the Southeastern United States?", "What is the common type that includes both New England and the Southeastern United States?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q18389> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q804909> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7694", "question": "Spanish labels for Edmund Husserl's properties and values, with image", "sparql": "SELECT DISTINCT ?entity ?entityLabel ?property ?propertyLabel ?value ?valueLabel ?image WHERE { BIND( wd:Q58586 AS ?entity ) . ?entity ?property ?value . BIND( IRI( REPLACE( STR(?property), \"http://www.wikidata.org/prop/direct/\", \"http://www.wikidata.org/entity/\" ) ) AS ?propertyEntity ) . ?propertyEntity a wikibase:Property . ?propertyEntity rdfs:label ?propertyLabel . ?value rdfs:label ?valueLabel . ?entity rdfs:label ?entityLabel . FILTER ( LANG( ?propertyLabel ) = \"es\" ) . FILTER ( LANG( ?valueLabel ) = \"es\" ) . FILTER ( LANG( ?entityLabel ) = \"es\" ) . OPTIONAL { ?entity wdt:P18 ?image . } }", "paraphrases": ["What are the Spanish-language properties and values associated with Edmund Husserl, and what is his image?", "Show me all the Spanish-labeled properties and their corresponding values for the philosopher Edmund Husserl, along with his image if available."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5Label ?var6 WHERE { BIND ( <http://www.wikidata.org/entity/Q58586> AS ?var1 ). ?var1 ?var2 ?var4 . ?var7 ?var8 ?var2 . ?var7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var5Label ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"es\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var6 . } }"}}
{"id": "test_7695", "question": "What are the countries and their corresponding international dialing codes?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?country ?countryLabel ?code WHERE {\n  ?country wdt:P474 ?code .\n  ?country wdt:P31 wd:Q6256 .\n  ?country rdfs:label ?countryLabel .\n  FILTER(LANG(?countryLabel) = \"en\")\n}\nORDER BY ?countryLabel", "paraphrases": ["Can you list all countries along with their country calling codes in English?", "Which countries have ITU E.164 country calling codes assigned to them?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q1588299> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_7696", "question": "What are the legislative bodies and the jurisdictions they govern?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?legislature ?legislatureLabel ?jurisdictionLabel WHERE {\n  ?legislature ( wdt:P31 / wdt:P279 * ) wd:Q11204 .\n  ?legislature wdt:P1001 ?jurisdiction .\n  ?legislature rdfs:label ?legislatureLabel .\n  ?jurisdiction rdfs:label ?jurisdictionLabel .\n  FILTER ( LANG( ?legislatureLabel ) = \"en\" ) FILTER ( LANG( ?jurisdictionLabel ) = \"en\" )\n}", "paraphrases": ["Which countries, states, or regions have legislative assemblies, and what are their names?", "Can you list all legislative institutions and the areas they apply to, such as nations or provinces?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11204> . ?var1 <http://www.wikidata.org/prop/direct/P1001> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7697", "question": "Citing works of \"Ailnoth 'The Engineer' and Orford Castle\" by publication year and whether they have authors.", "sparql": "SELECT ?year ( COUNT( DISTINCT ?citingWork ) AS ?citationCount ) ?hasAuthor WHERE { BIND( wd:Q42355098 AS ?citedArticle ) . ?citingWork wdt:P2860 ?citedArticle . ?citingWork wdt:P577 ?publicationDate . BIND( STR( YEAR( ?publicationDate ) ) AS ?year ) . OPTIONAL { ?citingWork wdt:P50 ?author . } BIND( IF( BOUND(?author), \"string1\", \"string2\" ) AS ?hasAuthor ) } GROUP BY ?year ?hasAuthor ORDER BY DESC ( ?year )", "paraphrases": ["How many scholarly articles cite \"Ailnoth 'The Engineer' and Orford Castle\" each year, and do they have listed authors?", "List the number of articles citing \"Ailnoth 'The Engineer' and Orford Castle\" grouped by their publication year, indicating whether each has an author."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q42355098> AS ?var5 ). ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var5 . OPTIONAL { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> ?var6 . } , \"string1\", \"string2\" ) AS ?var4 ). ?var5 <http://www.wikidata.org/prop/direct/P50> ?var6 . } BIND ( STR ( YEAR ( ?var7 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P577> ?var7 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_7698", "question": "List of municipalities in Japan with English labels", "sparql": "SELECT ?municipality ?label WHERE { ?municipality wdt:P31/wdt:P279* wd:Q1054813 . ?municipality rdfs:label ?label . FILTER(LANG(?label) = 'en') }", "paraphrases": ["What are the municipalities in Japan and what are their English names?", "Show me the English names of all municipalities in Japan."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1054813> . }"}}
{"id": "test_7699", "question": "How many academic articles citing \"Gender in Question\" were published each year, and do they all have listed authors?", "sparql": "SELECT ?year ( COUNT( DISTINCT ?citingWork ) AS ?count ) ?hasAuthor WHERE { BIND( wd:Q46997421 AS ?citedWork ) . ?citingWork wdt:P2860 ?citedWork . ?citingWork wdt:P577 ?pubDate . BIND( STR( YEAR( ?pubDate ) ) AS ?year ) . OPTIONAL { ?citingWork wdt:P50 ?author . BIND( \"string1\" AS ?hasAuthor ) } OPTIONAL { FILTER NOT EXISTS { ?citingWork wdt:P50 ?author } BIND( \"string2\" AS ?hasAuthor ) } } GROUP BY ?year ?hasAuthor ORDER BY DESC ( ?year )", "paraphrases": ["Show the count of articles that cite the 1994 paper \"Gender in Question\", grouped by publication year and whether they have authors.", "Were all articles citing \"Gender in Question\" authored? If so, how were they distributed by publication year?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q46997421> AS ?var5 ). ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var5 . OPTIONAL { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> ?var6 . } , \"string1\", \"string2\" ) AS ?var4 ). ?var5 <http://www.wikidata.org/prop/direct/P50> ?var6 . } BIND ( STR ( YEAR ( ?var7 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P577> ?var7 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_7700", "question": "What properties and associated values are linked to Coca-Cola (Q2813), and what are their English labels?", "sparql": "SELECT ?property ?propertyLabel ?value ?valueLabel WHERE { wd:Q2813 ?property ?value . FILTER(STRSTARTS(STR(?property), \"http://www.wikidata.org/prop/direct/\")) OPTIONAL { ?value rdfs:label ?valueLabel . FILTER(LANG(?valueLabel) = \"en\") } OPTIONAL { ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") } } LIMIT 100", "paraphrases": ["Show me all the direct relationships of the beverage Coca-Cola with other entities, including the names of the properties and the labeled values in English.", "List the attributes of Coca-Cola (like country, owner, product type) along with their labels from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ?var3 <http://www.wikidata.org/entity/Q25811425> . ?var2 <http://wikiba.se/ontology#directClaim> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_7701", "question": "All properties and values for Cluj-Napoca in Wikidata.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?property ?value WHERE {\n  VALUES ?item {\n    wd:Q100188\n  }\n  ?item ?property ?value .\n}", "paraphrases": ["What information is available in Wikidata about the city of Cluj-Napoca?", "Show me all the triples (subject-property-object) associated with Cluj-Napoca (Q100188), including its descriptions in different languages and external identifiers."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q100188> ) } ?var1 ?var2 ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7702", "question": "French National Assembly members from the 15th legislature (2017\u20132022) without a recorded surname in Wikidata.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person p:P39 ?statement .\n  ?statement ps:P39 wd:Q3044918 .\n  ?statement pq:P2937 wd:Q24939798 .\n  FILTER NOT EXISTS {\n    ?person wdt:P734 ?surname .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"fr\" )\n}", "paraphrases": ["Who are the members of the French National Assembly during the 15th legislature who do not have a family name listed in Wikidata?", "List the French deputies from the 2017\u20132022 legislative term who are missing a surname in their Wikidata profile."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/P39> ?var2 . ?var2 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q3044918> . ?var2 <http://www.wikidata.org/prop/qualifier/P2937> <http://www.wikidata.org/entity/Q24939798> . ?var2 <http://www.wikidata.org/prop/qualifier/P768> ?var3 . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var4 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_7703", "question": "Who is the father of Xue Yong, and what is his occupation or place of birth?", "sparql": "SELECT ?parent ?parentLabel ?occupation ?occupationLabel ?birthPlace ?birthPlaceLabel WHERE { wd:Q45652213 wdt:P22 ?parent . ?parent rdfs:label ?parentLabel . FILTER(LANG(?parentLabel) = \"en\") OPTIONAL { ?parent wdt:P106 ?occupation . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = \"en\") } OPTIONAL { ?parent wdt:P19 ?birthPlace . ?birthPlace rdfs:label ?birthPlaceLabel . FILTER(LANG(?birthPlaceLabel) = \"en\") } }", "paraphrases": ["Find the parent of the Tang dynasty figure Xue Yong and retrieve any available information about them, such as their job or birth location.", "What do we know about Xue Xin, the father of Xue Yong, including his profession and where he was born?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label WHERE { ?var3 <http://wikiba.se/ontology#claim> ?var5 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#qualifier> ?var7 . ?var3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var4 <http://wikiba.se/ontology#claim> ?var8 . ?var4 <http://wikiba.se/ontology#qualifier> ?var9 . ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var1 ?var5 ?var10 . ?var10 ?var6 ?var2 . ?var10 ?var9 <http://www.wikidata.org/entity/Q45652213> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7704", "question": "What administrative unit contains the village of Cangkoak in Indonesia?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?container ?containerLabel ?property ?propertyLabel WHERE {\n  ?container ?relation wd:Q11051412 .\n  ?property wikibase:directClaim ?relation .\n  ?container rdfs:label ?containerLabel .\n  ?property rdfs:label ?propertyLabel .\n  FILTER ( LANG( ?containerLabel ) = \"en\" ) FILTER ( LANG( ?propertyLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Which entity has Cangkoak as a contained administrative territorial entity, and what property describes this relationship?", "Show me the administrative unit that includes Cangkoak and the property used to express this containment relationship."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ?var3 <http://www.wikidata.org/entity/Q11051412> . ?var2 <http://wikiba.se/ontology#directClaim> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_7705", "question": "Image of George Nugent-Temple-Grenville, 1st Marquess of Buckingham (SNAC ARK ID: w6kp89n8)", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6kp89n8\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID \"w6kp89n8\"?", "Show me the Wikimedia Commons image of the person identified by the SNAC ARK ID w6kp89n8."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6kp89n8\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7706", "question": "What are the images associated with Mike Lynch, including his portrait, his employers, alma maters, and the main subjects of his works?", "sparql": "SELECT DISTINCT ?image WHERE { { wd:Q6847732 wdt:P18 ?image . } UNION { wd:Q6847732 ?prop ?entity . ?entity wdt:P18 ?image . FILTER (?entity != wd:Q5) . } UNION { ?work wdt:P50 wd:Q6847732 . ?work wdt:P921 ?topic . ?topic wdt:P18 ?image . } }", "paraphrases": ["Show all Wikimedia Commons images related to Mike Lynch, excluding images of humans other than himself.", "Find images of Mike Lynch, the institutions he is connected to, and the topics of his publications."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { <http://www.wikidata.org/entity/Q6847732> <http://www.wikidata.org/prop/direct/P18> ?var1 . } UNION { <http://www.wikidata.org/entity/Q6847732> !( <http://www.wikidata.org/prop/direct/P1889> ) ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . FILTER ( ( ( ?var2 != <http://www.wikidata.org/entity/Q5> ) ) ) . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q6847732> . { ?var3 <http://www.wikidata.org/prop/direct/P921> [ <http://www.wikidata.org/prop/direct/P18> ?var1 ] . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P50> ?var3 . ?var4 <http://www.wikidata.org/prop/direct/P18> ?var1 . } } }"}}
{"id": "test_7707", "question": "Volcanoes with elevation above 6000 meters", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?volcano ?elevation WHERE {\n  ?volcano wdt:P31 wd:Q8072 ; wdt:P2044 ?elevation .\n  FILTER ( ?elevation > 6000 )\n}\nLIMIT 100", "paraphrases": ["Which volcanoes are higher than 6000 meters above sea level?", "List the names and elevations of all volcanoes that are more than 6000 meters above sea level."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,fr\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q8072> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2044> ?var2 . } FILTER ( ( ( ?var2 > \"6000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } LIMIT 100"}}
{"id": "test_7708", "question": "Who is the person with the family name Scarbonchi?", "sparql": "SELECT DISTINCT ?person WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P734 wd:Q63140880 . }", "paraphrases": ["Which human has \"Scarbonchi\" as their surname in Wikidata?", "Find the individual whose family name is Scarbonchi."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Scarbonchi\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_7709", "question": "Who is a human with the French label 'Marie Curie'?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person WHERE {\n  ?person rdfs:label \"Marie Curie\" @fr .\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["Which person is identified as 'Marie Curie' in French and is a human?", "Find the human entity that has 'Marie Curie' as its French label."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"ABBUNKO\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_7710", "question": "What is the Douban film ID for the movie with IMDb ID tt6533250?", "sparql": "SELECT ?film ?doubanId WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P345 \"tt6533250\" . OPTIONAL { ?film wdt:P4529 ?doubanId . } }", "paraphrases": ["Which film on Douban corresponds to the IMDb movie tt6533250?", "Please provide the Douban ID for the film identified by IMDb ID tt6533250."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6533250\". OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P4529> ?var2 . } }"}}
{"id": "test_7711", "question": "How many male and female Members of Parliament are there in the UK Parliament according to Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?genderLabel(COUNT(?genderLabel) AS ?count) WHERE {\n  ?mp wdt:P39 wd:Q16707842 .\n  ?mp wdt:P21 ?gender .\n  ?gender rdfs:label ?genderLabel .\n  FILTER(LANG(?genderLabel) = \"en\")\n}\nGROUP BY ?genderLabel\nLIMIT 100", "paraphrases": ["Gender distribution of UK Members of Parliament", "Show me the count of male and female Members of Parliament in the United Kingdom."], "info": {"raw_sparql": "SELECT ?var1Label ( COUNT ( ?var1Label ) AS ?var2 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q16707842> . ?var3 <http://www.wikidata.org/prop/direct/P21> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . } GROUP BY ?var1Label LIMIT 100"}}
{"id": "test_7712", "question": "Female Members of Parliament in the UK House of Commons.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel WHERE {\n  ?person wdt:P39 wd:Q16707842 .\n  ?person wdt:P21 wd:Q6581072 .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Who are the female Members of Parliament in the United Kingdom?", "List the names of all female MPs in the UK House of Commons."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q16707842> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_7713", "question": "What Wikidata item corresponds to the OpenStreetMap relation ID 2315704?", "sparql": "SELECT ?item ?osm_id WHERE { ?item wdt:P402 ?osm_id . FILTER (?osm_id = \"2315704\") } LIMIT 1", "paraphrases": ["Which entity in Wikidata is linked to OSM relation 2315704?", "Find the item in Wikidata that has the OpenStreetMap relation ID \"2315704\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P402> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"zh,en\". } FILTER ( ( ( ?var2 = \"string1\" ) ) ) . } LIMIT 1"}}
{"id": "test_7714", "question": "Image of Sir Robert Spencer, 1st Baron Spencer of Wormleighton (SNAC ARK ID: w6pr8g1w)", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6pr8g1w\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w6pr8g1w?", "Show me the Wikimedia Commons image for the person identified by the SNAC ARK ID w6pr8g1w."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6pr8g1w\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7715", "question": "French-labeled humans with the surname Lestage", "sparql": "SELECT DISTINCT ?item WHERE { ?item rdfs:label ?label . FILTER(LANG(?label) = \"fr\") FILTER(CONTAINS(LCASE(?label), \"lestage\")) ?item wdt:P31 wd:Q5 .}", "paraphrases": ["Who are the humans in Wikidata that have a French label containing 'Lestage'?", "List all people with the last name Lestage who have a French-language label."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"LESTAGE\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_7716", "question": "Which Wikidata entities have Twitter usernames \"envlh\" or \"le_gorafi\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"envlh\" \"le_gorafi\"\n  }\n}\nORDER BY ?username", "paraphrases": ["Who are the people or organizations on Wikidata with the Twitter handles @envlh and @le_gorafi?", "List the entities on Wikidata that are linked to the Twitter accounts envlh and le_gorafi."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"le_gorafi\" ) ( \"K_rho\" ) ( \"string1\" ) ( \"Nouuill\" ) ( \"string2\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_7717", "question": "Which film has the AlloCin\u00e9 ID 170713?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P1265 \"170713\" .\n}", "paraphrases": ["What is the title of the movie identified by the AlloCin\u00e9 film ID 170713?", "Find the film in Wikidata that corresponds to the AlloCin\u00e9 ID 170713."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1265> \"170713\". }"}}
{"id": "test_7718", "question": "Wikidata properties without a proposal discussion page", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?property ?propertyLabel WHERE {\n  ?property a wikibase:Property .\n  FILTER(NOT EXISTS {\n    ?property p:P3254 []\n  })\n  .\n  ?property rdfs:label ?propertyLabel .\n  FILTER(LANG(?propertyLabel) = \"en\")\n}\nORDER BY ?property\nLIMIT 10", "paraphrases": ["Which Wikidata properties were created without a public discussion URL?", "List the English labels of Wikidata properties that have no recorded proposal discussion."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> ; <http://wikiba.se/ontology#statements> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P3254> [] . } ) ) . } LIMIT 5"}}
{"id": "test_7719", "question": "Which national football teams participated in the 2014 FIFA World Cup?", "sparql": "SELECT ?team ?teamLabel WHERE { ?group wdt:P361 wd:Q79859 . ?group wdt:P710 ?team . ?team wdt:P31 wd:Q6979593 . ?team rdfs:label ?teamLabel . FILTER(LANG(?teamLabel) = \"en\") }", "paraphrases": ["List the men's national football teams that played in the 2014 FIFA World Cup in Brazil.", "Who were the participating countries in the 2014 FIFA World Cup?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1923> <http://www.wikidata.org/entity/Q79859> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7720", "question": "What are the different types of administrative divisions in Latvia?", "sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 wdt:P279* wd:Q56061 . ?var1 wdt:P17 wd:Q211 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") } ORDER BY ?var1Label LIMIT 50", "paraphrases": ["Can you list the English names of all administrative territorial entities located in Latvia?", "What are some examples of administrative units like districts or regions in Latvia?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q56061> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q211> . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 50"}}
{"id": "test_7721", "question": "Children of Johann Sebastian Bach with 'a' in their name", "sparql": "SELECT ?child ?childLabel WHERE { ?child wdt:P22 wd:Q1339 . ?child rdfs:label ?childLabel . FILTER (langMatches(lang(?childLabel), \"en\")) FILTER (REGEX(?childLabel, \"a\", \"i\")) }", "paraphrases": ["Which of Johann Sebastian Bach\u2019s children have names containing the letter 'a'?", "List the English names of Johann Sebastian Bach\u2019s children that include the letter 'a'"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P22> <http://www.wikidata.org/entity/Q1339> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( REGEX ( ?var1Label , \"a\", \"i\" ) ) ) . }"}}
{"id": "test_7722", "question": "Subclasses of television channel", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?subclass ?subclassLabel WHERE {\n  ?subclass wdt:P279 wd:Q2001305 .\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER ( LANG( ?subclassLabel ) = \"en\" )\n}\nORDER BY ASC ( ?subclassLabel )", "paraphrases": ["What are some examples of types of television channels?", "List all known types of television channels in order, such as cable channel or streaming channel."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q2001305> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . } } ORDER BY ASC( ?var2 )"}}
{"id": "test_7723", "question": "Films directed by Steven Spielberg", "sparql": "SELECT DISTINCT ?film ?filmLabel WHERE { ?film wdt:P31/wdt:P279* wd:Q11424 . ?film wdt:P57 wd:Q8877 . ?film rdfs:label ?filmLabel FILTER(LANG(?filmLabel) = 'en') }", "paraphrases": ["Which films were directed by Steven Spielberg?", "List the English titles of all films (including subclasses of film) that have Steven Spielberg as their director."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { { ?var1 ( <http://www.wikidata.org/prop/P31> /( <http://www.wikidata.org/prop/statement/P31> / <http://www.wikidata.org/prop/direct/P279> *)) <http://www.wikidata.org/entity/Q11424> . { ?var1 <http://www.wikidata.org/prop/direct/P57> ?var2 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> \"string1\"@en . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7724", "question": "Does Wikidata contain an entity with VIAF ID 22339588?", "sparql": "ASK WHERE { ?item wdt:P214 \"22339588\" . }", "paraphrases": ["Is there a person in Wikidata identified by the VIAF number 22339588?", "Check if the Virtual International Authority File identifier 22339588 is linked to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"22339588\". }"}}
{"id": "test_7725", "question": "What are the capitals of all countries, listed in alphabetical order?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?var1 ?var2Label WHERE {\n  ?var1 wdt:P31 wd:Q6256 ; wdt:P36 ?var2 .\n  ?var2 rdfs:label ?var2Label .\n  FILTER(LANG(?var2Label) = \"en\")\n}\nORDER BY ASC(?var2Label)", "paraphrases": ["List the capitals of countries in English, sorted alphabetically.", "Show me the names of the capital cities of all countries, ordered from A to Z."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> ; <http://www.wikidata.org/prop/direct/undefined> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var2Label ?var1 ORDER BY ASC( ?var1 )"}}
{"id": "test_7726", "question": "Which organizations and people on Twitter have the most Wikipedia language editions, and what are their Twitter handles?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?twitterUsername(COUNT(?site) AS ?sitelinkCount) WHERE {\n  ?item wdt:P2002 ?twitterUsername .\n  ?site schema:about ?item .\n  VALUES ?twitterUsername {\n    \"halfak\" \"Newsweek\" \"CNN\" \"Wikipedia\" \"mySociety\" \"brianklaas\" \"mesosphere\"\n  }\n}\nGROUP BY ?item ?twitterUsername\nORDER BY DESC(?sitelinkCount)", "paraphrases": ["What are the Twitter usernames of entities like Wikipedia, CNN, and Newsweek, ranked by how many Wikipedia language versions they have?", "Show me the Twitter handles of notable entities such as Wikipedia, CNN, and mySociety, sorted by the number of Wikipedia language editions they appear in."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"PoulpyWP\" ) ( \"string1\" ) ( \"halfak\" ) ( \"okfnFr\" ) ( \"ardeche_07\" ) ( \"mesosphere\" ) ( \"anniekarni\" ) ( \"Newsweek\" ) ( \"string2\" ) ( \"Pyb75\" ) ( \"ScottMadin\" ) ( \"CNN\" ) ( \"hatonjan\" ) ( \"string3\" ) ( \"HChambo\" ) ( \"brianklaas\" ) ( \"string4\" ) ( \"string5\" ) ( \"FDJ_Sport\" ) ( \"FDJ\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"acklio\" ) ( \"string9\" ) ( \"string10\" ) ( \"mySociety\" ) ( \"string11\" ) ( \"durand101\" ) ( \"FromYukon\" ) ( \"ten24get\" ) ( \"SRuhle\" ) ( \"string12\" ) ( \"K_rho\" ) ( \"string13\" ) ( \"Wikipedia\" ) ( \"LomitaWP\" ) ( \"string14\" ) ( \"JavierAC2N\" ) ( \"string15\" ) ( \"string16\" ) ( \"string17\" ) ( \"string18\" ) ( \"Kimaali\" ) ( \"enmarchefr\" ) ( \"SiBurstyn\" ) ( \"string19\" ) ( \"MaelLeHir\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_7727", "question": "What entities on Wikidata have the Twitter usernames \"esa\" or \"almaobs\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  FILTER(?username = \"esa\" || ?username = \"almaobs\")\n}", "paraphrases": ["Show me the items on Wikidata that are associated with the Twitter accounts \"esa\" and \"almaobs\".", "Which Wikidata items have the Twitter handle \"esa\" or \"almaobs\"?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"esa\" ) ( \"string1\" ) ( \"almaobs\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_7728", "question": "Cities in Spain with population over 100,000, sorted by population descending", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?city ?cityLabel ?population WHERE {\n  ?city(wdt:P31 / wdt:P279 *) wd:Q515 .\n  ?city wdt:P1082 ?population .\n  FILTER(?population > 100000)\n  ?city wdt:P17 wd:Q29 .\n  ?city rdfs:label ?cityLabel .\n  FILTER(LANG(?cityLabel) = \"en\")\n}\nORDER BY DESC(?population)", "paraphrases": ["What are the largest cities in Spain by population, and what are their populations?", "List all cities in Spain that have more than 100,000 residents, ordered from most to least populous."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( ( ?var2 > \"100000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P30> <http://www.wikidata.org/entity/Q29> . } ORDER BY DESC( ?var2 )"}}
{"id": "test_7729", "question": "What are the names, dates of death, and causes of death of surgeons?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?surgeon ?surgeonLabel ?dateOfDeath ?causeOfDeath ?causeOfDeathLabel WHERE {\n  ?surgeon wdt:P31 wd:Q5 .\n  ?surgeon wdt:P106 wd:Q774306 .\n  OPTIONAL {\n    ?surgeon wdt:P570 ?dateOfDeath .\n  }\n  OPTIONAL {\n    ?surgeon wdt:P509 ?causeOfDeath .\n  }\n  OPTIONAL {\n    ?surgeon rdfs:label ?surgeonLabel .\n    FILTER(LANG(?surgeonLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?causeOfDeath rdfs:label ?causeOfDeathLabel .\n    FILTER(LANG(?causeOfDeathLabel) = \"en\")\n  }\n}\nLIMIT 500", "paraphrases": ["Can you list human surgeons along with their date of death and cause of death, if available?", "Show me surgeons and their death information \u2014 when and how they died \u2014 where such data exists in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q774306> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P509> ?var3 . } } LIMIT 500"}}
{"id": "test_7730", "question": "Church buildings of the Evangelical Church of Czech Brethren with their locations and images.", "sparql": "SELECT ?church ?location ?image WHERE { ?church wdt:P31 wd:Q16970 . ?church wdt:P140 wd:Q782911 . OPTIONAL { ?church wdt:P625 ?location . } OPTIONAL { ?church wdt:P18 ?image . } } LIMIT 100", "paraphrases": ["What are the church buildings belonging to the Evangelical Church of Czech Brethren, and where are they located? Do they have images available?", "Show me up to 100 church buildings associated with the Evangelical Church of Czech Brethren, including their geographic coordinates and Wikimedia Commons images if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16970> . ?var1 <http://www.wikidata.org/prop/direct/P140> <http://www.wikidata.org/entity/Q782911> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_7731", "question": "Lighthouses in Norway with coordinates and images", "sparql": "SELECT DISTINCT ?lighthouse ?lighthouseLabel ?coordinates ?image WHERE { ?lighthouse wdt:P31 wd:Q39715 ; wdt:P17 wd:Q20 ; wdt:P625 ?coordinates . OPTIONAL { ?lighthouse wdt:P18 ?image . } ?lighthouse rdfs:label ?lighthouseLabel . FILTER(LANG(?lighthouseLabel) = \"en\") } ORDER BY ASC(?lighthouseLabel)", "paraphrases": ["What are the lighthouses in Norway, their locations, and do they have images on Wikimedia Commons?", "List all lighthouses in Norway, including their English names, geographic coordinates, and available images."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q39715> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q20> ; <http://www.wikidata.org/prop/direct/P625> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"he,nb,nn,en,fi\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_7732", "question": "What is the most specific category that both Intel and Bitcoin belong to through their classifications?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonAncestor ?label WHERE {\n  wd:Q4830453 wdt:P279 * ?commonAncestor .\n  wd:Q986008 wdt:P279 * ?commonAncestor .\n  ?commonAncestor rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) FILTER NOT EXISTS {\n    ?otherAncestor wdt:P279 * ?commonAncestor .\n    FILTER ( ?otherAncestor != ?commonAncestor ) .\n    wd:Q4830453 wdt:P279 * ?otherAncestor .\n    wd:Q986008 wdt:P279 * ?otherAncestor .\n  }\n}\nORDER BY ?label\nLIMIT 1", "paraphrases": ["What common superclass do the business type of Intel and the payment system type of Bitcoin share?", "What is the highest-level concept that describes both Intel as a company and Bitcoin as a payment system?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q248> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q131723> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7733", "question": "Current members of the Australian House of Representatives, their political parties, and electoral districts.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?person ?party ?electorate ?startDate ?endDate WHERE {\n  ?person p:P39 ?statement .\n  ?statement ps:P39 wd:Q18912794 ; pq:P580 ?startDate .\n  OPTIONAL {\n    ?statement pq:P4100 ?party .\n  }\n  OPTIONAL {\n    ?statement pq:P768 ?electorate .\n  }\n  OPTIONAL {\n    ?statement pq:P582 ?endDate .\n  }\n  FILTER(! BOUND(?endDate) || ?endDate > NOW ())\n}\nORDER BY ASC(?startDate) ASC(?endDate)", "paraphrases": ["Who are the current members of the Australian House of Representatives, which parties do they belong to, and which electorates do they represent?", "List all currently serving members of the Australian House of Representatives along with their party affiliation and electoral district, sorted by start date."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/P39> ?var7 . ?var7 ( <http://www.wikidata.org/prop/statement/P39> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q18912794> ; <http://www.wikidata.org/prop/qualifier/P580> ?var5 . OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P2937> ?var4 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P582> ?var6 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P768> ?var3 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P4100> ?var2 . } FILTER ( ( !( BOUND ( ?var6 ) ) || ( ?var6 > NOW ( ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY ASC( ?var5 )ASC( ?var6 )"}}
{"id": "test_7734", "question": "Most common given names of people born in Miami.", "sparql": "SELECT ?givenName ?givenNameLabel (COUNT(*) AS ?count) WHERE { ?person wdt:P19 wd:Q8652 . ?person wdt:P735 ?givenName . OPTIONAL { ?givenName rdfs:label ?givenNameLabel . FILTER(LANG(?givenNameLabel) = \"en\") } } GROUP BY ?givenName ?givenNameLabel ORDER BY DESC(?count) ASC(?givenNameLabel) LIMIT 50", "paraphrases": ["What are the most frequent first names among people born in Miami, Florida?", "List the top 50 given names of people born in Miami, ordered by how many people have each name, with English labels and counts."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( COUNT (* ) AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q8652> . ?var4 <http://www.wikidata.org/prop/direct/P735> ?var1 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } } GROUP BY ?var1 ?var2 ORDER BY DESC( ?var3 )ASC( ?var2 ) LIMIT 50"}}
{"id": "test_7735", "question": "How many people have received an award from Japan?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT(COUNT(?human) AS ?count) WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human wdt:P166 ?award .\n  ?award wdt:P17 wd:Q17 .\n}", "paraphrases": ["What is the total number of humans who have been awarded an honor that is administered in Japan?", "Can you tell me how many individuals have received Japanese awards?"], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P166> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q17> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja,en\". } }"}}
{"id": "test_7736", "question": "What is the most specific category that both the Oval Office and China belong to?", "sparql": "SELECT ?commonAncestor ?commonAncestorLabel WHERE { { wd:Q338067 wdt:P31 ?c1 . ?c1 wdt:P279 ?commonAncestor . } UNION { wd:Q338067 wdt:P31 ?c1 . ?c1 wdt:P279 ?c2 . ?c2 wdt:P279 ?commonAncestor . } UNION { wd:Q338067 wdt:P31 ?c1 . ?c1 wdt:P279 ?c2 . ?c2 wdt:P279 ?c3 . ?c3 wdt:P279 ?commonAncestor . } { wd:Q148 wdt:P31 ?c4 . ?c4 wdt:P279 ?commonAncestor . } UNION { wd:Q148 wdt:P31 ?c4 . ?c4 wdt:P279 ?c5 . ?c5 wdt:P279 ?commonAncestor . } UNION { wd:Q148 wdt:P31 ?c4 . ?c4 wdt:P279 ?c5 . ?c5 wdt:P279 ?c6 . ?c6 wdt:P279 ?commonAncestor . } ?commonAncestor rdfs:label ?commonAncestorLabel . FILTER (LANG(?commonAncestorLabel) = \"en\") } ORDER BY ?commonAncestor LIMIT 1", "paraphrases": ["Which entity is the closest common ancestor in the subclass hierarchy between the Oval Office and the People's Republic of China?", "Find the shared superclass at the lowest level between the Oval Office and China."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q338067> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q148> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7737", "question": "Who are some politicians who died of cancer or other causes of death?", "sparql": "SELECT ?politician ?politicianLabel ?causeOfDeath ?causeOfDeathLabel WHERE { ?politician wdt:P39 wd:Q82955 ; wdt:P31 wd:Q5 ; wdt:P509 ?causeOfDeath . OPTIONAL { ?politician rdfs:label ?politicianLabel . FILTER(LANG(?politicianLabel) = \"en\") } OPTIONAL { ?causeOfDeath rdfs:label ?causeOfDeathLabel . FILTER(LANG(?causeOfDeathLabel) = \"en\") } } LIMIT 500", "paraphrases": ["Can you list politicians and the causes of their death?", "Which human politicians have a recorded cause of death in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q82955> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P971> <http://www.wikidata.org/entity/Q1931388> . } LIMIT 500"}}
{"id": "test_7738", "question": "What is the most specific category that both Paris and the Hollywood Bowl belong to through their types?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?ancestor(SUM(?distParis + ?distHB) AS ?totalDistance) WHERE {\n  {\n    SELECT ?typeParis ?ancestor(COUNT(?mid1) AS ?distParis) WHERE {\n      wd:Q90 wdt:P31 ?typeParis .\n      ?typeParis wdt:P279 * ?mid1 .\n      ?mid1 wdt:P279 * ?ancestor .\n      FILTER(?ancestor != ?typeParis)\n    }\n    GROUP BY ?typeParis ?ancestor\n  }\n  {\n    SELECT ?typeHB ?ancestor(COUNT(?mid2) AS ?distHB) WHERE {\n      wd:Q976218 wdt:P31 ?typeHB .\n      ?typeHB wdt:P279 * ?mid2 .\n      ?mid2 wdt:P279 * ?ancestor .\n      FILTER(?ancestor != ?typeHB)\n    }\n    GROUP BY ?typeHB ?ancestor\n  }\n}\nGROUP BY ?ancestor\nORDER BY ASC(?totalDistance)\nLIMIT 1", "paraphrases": ["Which superclass in the Wikidata hierarchy is the closest common ancestor of Paris and the Hollywood Bowl?", "What is the most specific shared classification between Paris and the Hollywood Bowl based on their instance types and subclass relationships?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q90> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q976218> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7739", "question": "What are Will Smith's occupations?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?occupation ?occupationLabel WHERE {\n  wd:Q40096 wdt:P106 ?occupation .\n  ?occupation rdfs:label ?occupationLabel .\n  FILTER ( LANG( ?occupationLabel ) = \"en\" )\n}", "paraphrases": ["Can you list the professions of the actor Will Smith in English?", "Show me the English labels for all the jobs that Will Smith has held."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". <http://www.wikidata.org/entity/Q40096> <http://www.wikidata.org/prop/direct/P106> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7740", "question": "What is the most specific category that both Instagram and London belong to as instances?", "sparql": "SELECT ?ancestor ?label WHERE { wd:Q11246 wdt:P279* ?ancestor . wd:Q515 wdt:P279* ?ancestor . ?ancestor rdfs:label ?label . FILTER(LANG(?label) = \"en\") . FILTER(?ancestor != wd:Q11246 && ?ancestor != wd:Q515) } ORDER BY ASC(?ancestor) LIMIT 1", "paraphrases": ["What is the common superclass of social networking services and cities in Wikidata?", "What is the highest-level shared category between Instagram and London in the Wikidata taxonomy?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q209330> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q84> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7741", "question": "What is the most specific category that both England and the Hollywood Bowl belong to?", "sparql": "SELECT ?commonClass ?commonClassLabel (COUNT(?super) AS ?numSuperclasses)\nWHERE {\n  # England's types and their superclasses\n  wd:Q21 wdt:P31 ?type1 .\n  ?type1 wdt:P279* ?commonClass .\n  \n  # Hollywood Bowl's types and their superclasses\n  wd:Q976218 wdt:P31 ?type2 .\n  ?type2 wdt:P279* ?commonClass .\n  \n  # Get label\n  ?commonClass rdfs:label ?commonClassLabel .\n  FILTER(LANG(?commonClassLabel) = \"en\")\n  \n  # Count how many superclasses this commonClass has (excluding itself)\n  ?commonClass wdt:P279* ?super .\n  FILTER(?super != ?commonClass)\n}\nGROUP BY ?commonClass ?commonClassLabel\nORDER BY DESC(?numSuperclasses)\nLIMIT 1", "paraphrases": ["What do England and the Hollywood Bowl have in common in terms of their classification in Wikidata?", "Which is the most detailed shared class in the hierarchy for England and the Hollywood Bowl?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q21> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q976218> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7742", "question": "What occupations do Quentin Tarantino and Prince have in common?", "sparql": "SELECT ?occupation WHERE { wd:Q3772 wdt:P106 ?occupation . wd:Q7542 wdt:P106 ?occupation . }", "paraphrases": ["Which roles are shared by both Quentin Tarantino and Prince in their careers?", "What are the common professions of filmmaker Quentin Tarantino and musician Prince?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3772> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7542> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7743", "question": "Who were the Prime Ministers of the Czech Republic, and when did their terms start and end?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?primeMinister ?startDate ?endDate ?replacedBy ?replaced WHERE {\n  ?primeMinister wdt:P31 wd:Q5 .\n  ?primeMinister p:P39 ?position .\n  ?position ps:P39 wd:Q3409229 .\n  OPTIONAL {\n    ?position pq:P580 ?startDate .\n  }\n  OPTIONAL {\n    ?position pq:P582 ?endDate .\n  }\n  OPTIONAL {\n    ?position pq:P1365 ?replacedBy .\n  }\n  OPTIONAL {\n    ?position pq:P1366 ?replaced .\n  }\n}\nORDER BY ASC(?startDate)", "paraphrases": ["List the sequence of Czech Prime Ministers, including who each one replaced and who replaced them.", "What is the chronological order of Czech Prime Ministers, along with their term dates and predecessor-successor relationships?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var4Label ?var5 ?var5Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/P39> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q3409229> . OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P580> ?var2 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var3 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P1365> ?var4 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P1366> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var2 )"}}
{"id": "test_7744", "question": "What are the geographic coordinates of the statue \"Merc\u00fario em Repouso\", and what are the coordinates of the administrative areas where it is located?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?statueCoords ?adminAreaCoords WHERE {\n  wd:Q45320144 wdt:P625 ?statueCoords .\n  OPTIONAL {\n    wd:Q45320144 wdt:P131 ?adminArea .\n    ?adminArea wdt:P625 ?adminAreaCoords .\n  }\n}", "paraphrases": ["Coordinates of Merc\u00fario em Repouso statue and its administrative locations.", "Show me the location of the Merc\u00fario em Repouso statue and the locations of the administrative regions it belongs to."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q45320144> <http://www.wikidata.org/prop/direct/P625> ?var1 . OPTIONAL { <http://www.wikidata.org/entity/Q45320144> <http://www.wikidata.org/prop/direct/P131> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var2 . } }"}}
{"id": "test_7745", "question": "Which entities on Wikidata have Twitter usernames like ash_crow, cstross, elonmusk, SpaceX, or EFF?", "sparql": "SELECT ?item ?handle WHERE { ?item wdt:P2002 ?handle . VALUES ?handle { \"ash_crow\" \"Aelmaire\" \"cstross\" \"elonmusk\" \"mesosphere\" \"SpaceX\" \"EFF\" \"Walldo\" \"K_rho\" \"meakoopa\" \"KelamWiki\" \"hatonjan\" \"samleecole\" \"PoulpyWP\" \"adshh\" \"geekezig\" \"bgoss44\" \"RERC_SNCF\" \"Bon_Ohm\" } } ORDER BY ?handle", "paraphrases": ["Who are the people or organizations on Wikidata that use the Twitter handles \"ash_crow\", \"cstross\", \"elonmusk\", \"SpaceX\", or \"EFF\"?", "List all Wikidata items that are associated with the Twitter handles: ash_crow, Aelmaire, cstross, elonmusk, mesosphere, SpaceX, EFF, Walldo, K_rho, meakoopa, KelamWiki, hatonjan, samleecole, PoulpyWP, adshh, geekezig, bgoss44, RERC_SNCF, and Bon_Ohm."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"ash_crow\" ) ( \"Aelmaire\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"mspowahs\" ) ( \"cstross\" ) ( \"elonmusk\" ) ( \"mesosphere\" ) ( \"SpaceX\" ) ( \"tds153\" ) ( \"EFF\" ) ( \"edzitron\" ) ( \"string5\" ) ( \"Walldo\" ) ( \"K_rho\" ) ( \"string6\" ) ( \"string7\" ) ( \"meakoopa\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"KelamWiki\" ) ( \"hatonjan\" ) ( \"samleecole\" ) ( \"string11\" ) ( \"string12\" ) ( \"string13\" ) ( \"PoulpyWP\" ) ( \"string14\" ) ( \"adshh\" ) ( \"geekezig\" ) ( \"string15\" ) ( \"string16\" ) ( \"bgoss44\" ) ( \"RERC_SNCF\" ) ( \"string17\" ) ( \"string18\" ) ( \"string19\" ) ( \"string20\" ) ( \"Bon_Ohm\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_7746", "question": "Countries and their supreme courts with English Wikipedia pages", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?country ?countryLabel ?court ?courtLabel ?countryWikipedia ?courtWikipedia WHERE {\n  ?country wdt:P209 ?court .\n  ?country rdfs:label ?countryLabel .\n  ?court rdfs:label ?courtLabel .\n  FILTER(LANG(?countryLabel) = \"en\")\n  FILTER(LANG(?courtLabel) = \"en\")\n  ?country wdt:P31 / wdt:P279 * wd:Q3624078 .\n  ?countryWikipedia schema:about ?country .\n  ?courtWikipedia schema:about ?court .\n  FILTER(REGEX(STR(?countryWikipedia) , \"en.wikipedia.org/wiki/\" , \"i\"))\n  FILTER(REGEX(STR(?courtWikipedia) , \"en.wikipedia.org/wiki/\" , \"i\"))\n}\nLIMIT 100", "paraphrases": ["Which countries have a supreme court, and what are the English Wikipedia links for both the country and the court?", "List all sovereign countries along with their highest judicial authority, showing only entries that have English Wikipedia articles for both."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P209> ?var2 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . ?var5 <http://schema.org/about> ?var1 . FILTER ( ( REGEX ( STR ( ?var5 ) , \"string1\", \"i\" ) ) ) . ?var6 <http://schema.org/about> ?var2 . FILTER ( ( REGEX ( STR ( ?var6 ) , \"string1\", \"i\" ) ) ) . } LIMIT 25000"}}
{"id": "test_7747", "question": "What are some concepts or people and the time periods they are associated with, as described on English Wikipedia?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item ?itemLabel ?period ?periodLabel WHERE {\n  ?item wdt:P1264 ?period .\n  ?item rdfs:label ?itemLabel .\n  ?period rdfs:label ?periodLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n  FILTER(LANG(?periodLabel) = \"en\")\n  ?itemPage schema:about ?item .\n  ?periodPage schema:about ?period .\n  FILTER(REGEX(STR(?itemPage) , \"en.wikipedia.org\" , \"i\"))\n  FILTER(REGEX(STR(?periodPage) , \"en.wikipedia.org\" , \"i\"))\n}\nLIMIT 25000", "paraphrases": ["Can you list entities and the time periods they apply to, where both are documented on English Wikipedia?", "Show me items like historical figures or traditions and the eras they belong to, based on English Wikipedia entries."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1264> ?var2 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . ?var5 <http://schema.org/about> ?var1 . FILTER ( ( REGEX ( STR ( ?var5 ) , \"string1\", \"i\" ) ) ) . ?var6 <http://schema.org/about> ?var2 . FILTER ( ( REGEX ( STR ( ?var6 ) , \"string1\", \"i\" ) ) ) . } LIMIT 25000"}}
{"id": "test_7748", "question": "Scholarly articles by Alison Fildes", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?article ?articleLabel WHERE {\n  ?article wdt:P31 wd:Q13442814 .\n  ?article wdt:P50 wd:Q38549441 .\n  ?article rdfs:label ?articleLabel .\n  FILTER(LANG(?articleLabel) = \"en\")\n}", "paraphrases": ["What academic papers has Alison Fildes authored?", "List the titles of scholarly articles written by Alison Fildes."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13442814> . ?var2 <http://www.wikidata.org/prop/direct/P50> ?var1 . VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q38549441> ) } ?var2 <http://www.wikidata.org/prop/direct/P2093> ?var3 . FILTER ( ( CONTAINS ( STR ( ?var3 ) , \"Fildes\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7749", "question": "What entities are related to the South Park episode \"Make Love, Not Warcraft\" and what qualifiers are used on those relationships?", "sparql": "SELECT ?entity ?statement ?property (SAMPLE(?qualifier) AS ?qualifierProperty)\nWHERE {\n  {\n    SELECT DISTINCT ?entity ?statement ?property\n    WHERE {\n      ?statement ?prop wd:Q174856 .\n      ?entity ?claim ?statement .\n      ?property wikibase:statementProperty ?prop .\n      ?property wikibase:claim ?claim .\n      FILTER (?property != wd:P31)\n    }\n  }\n  OPTIONAL {\n    ?statement ?qualifier ?value .\n  }\n}\nGROUP BY ?entity ?statement ?property", "paraphrases": ["Which episodes or seasons have a direct relationship with \"Make Love, Not Warcraft\", and what additional information (qualifiers) is attached to those relationships?", "List all entities connected to the episode \"Make Love, Not Warcraft\" via properties other than \"instance of\", along with any qualifiers on those connections."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q174856> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_7750", "question": "What are the most common historical periods that books and movies are set in?", "sparql": "SELECT DISTINCT ?period ?periodLabel WHERE { ?work wdt:P2408 ?period . FILTER(isIRI(?period)) OPTIONAL { ?period rdfs:label ?periodLabel . FILTER(LANG(?periodLabel) = \"en\") } } LIMIT 21", "paraphrases": ["Which 21 time periods or eras are most frequently used as settings in fictional works on Wikidata?", "List the top 21 distinct historical settings (with their names) used in creative works like novels, films, or games."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { _:bnode <http://www.wikidata.org/prop/direct/P2408> ?var1 . FILTER ( ( isIRI ( ?var1 ) ) ) . } LIMIT 21 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7751", "question": "People with the surname Faivre", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person WHERE {\n  ?person wdt:P31 wd:Q5 ; wdt:P734 wd:Q3064675 .\n}", "paraphrases": ["Who are the humans with the family name Faivre?", "List all people whose last name is Faivre."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"faivre\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_7752", "question": "What entities are linked to Hauptfriedhof Heilbronn and what properties connect them?", "sparql": "SELECT ?entity ?entityLabel ?property ?propertyLabel WHERE { ?entity ?statementProperty wd:Q1519669 . ?property wikibase:directClaim ?statementProperty . ?entity rdfs:label ?entityLabel . ?property rdfs:label ?propertyLabel . FILTER(LANG(?entityLabel) = \"en\") FILTER(LANG(?propertyLabel) = \"en\") } LIMIT 100", "paraphrases": ["Which people, places, or categories are associated with Hauptfriedhof Heilbronn, and how are they connected to it?", "Show me all entities related to Hauptfriedhof Heilbronn along with the names of the properties that link them to it."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ?var3 <http://www.wikidata.org/entity/Q1519669> . ?var2 <http://wikiba.se/ontology#directClaim> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_7753", "question": "Image of the person with SNAC ARK ID w6g46dzb", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6g46dzb\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image of the entity with SNAC ARK ID w6g46dzb?", "Show me the Wikimedia Commons image linked to the SNAC ARK ID w6g46dzb."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6g46dzb\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7754", "question": "List of literary works with their authors.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?literaryWork ?literaryWorkLabel ?authorLabel WHERE {\n  ?literaryWork wdt:P31 wd:Q7725634 .\n  ?literaryWork rdfs:label ?literaryWorkLabel .\n  FILTER ( LANG( ?literaryWorkLabel ) = \"en\" ) OPTIONAL {\n    ?literaryWork wdt:P50 ?author .\n    ?author rdfs:label ?authorLabel .\n    FILTER ( LANG( ?authorLabel ) = \"en\" )\n  }\n}\nLIMIT 10", "paraphrases": ["What are some examples of literary works and who wrote them?", "Show me 10 literary works in English along with their authors."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q7725634> . }"}}
{"id": "test_7755", "question": "What properties reference the taxonomic rank property in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?property WHERE {\n  ?subject ?property wdt:P1249 .\n}\nORDER BY ?property", "paraphrases": ["Which properties have wdt:P1249 (taxonomic rank) as their object in Wikidata?", "How is the taxonomic rank property used in metadata or ontological statements in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( MIN ( ?var1 ) AS ?var2 ) WHERE { ?var3 ?var1 <http://www.wikidata.org/prop/direct/P1249> . } GROUP BY ?var1 ORDER BY DESC( ?var2 )"}}
{"id": "test_7756", "question": "What Wikidata entities have the Twitter usernames \"Wikipedia\", \"Wikimedia\", or \"WikiValley\"?", "sparql": "SELECT ?entity ?twitterUsername WHERE { ?entity wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"WikiValley\" \"Wikipedia\" \"Wikimedia\" } }", "paraphrases": ["Which organizations or projects on Wikidata use \"Wikipedia\", \"Wikimedia\", or \"WikiValley\" as their Twitter handle?", "Show me the Wikidata items linked to the Twitter accounts @Wikipedia, @Wikimedia, and @WikiValley."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"_Epistaxis\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"maxlath\" ) ( \"Jules78120\" ) ( \"string8\" ) ( \"Wikipedia\" ) ( \"string9\" ) ( \"string10\" ) ( \"martelf\" ) ( \"WikiValley\" ) ( \"PoulpyWP\" ) ( \"Pymouss\" ) ( \"string11\" ) ( \"string12\" ) ( \"string13\" ) ( \"Wikimedia\" ) ( \"string14\" ) ( \"string15\" ) ( \"docarennes\" ) ( \"string16\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_7757", "question": "What is the English label and description for the Australian Women's Register ID AWE0020b?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P4186 \"AWE0020b\" . OPTIONAL { ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") } OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Can you find the entity in Wikidata with the Australian Women's Register ID AWE0020b and show its English name and description?", "Show me the English name and description of the person or organization listed in the Australian Women's Register with ID AWE0020b."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4186> \"AWE3220b\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7758", "question": "Films directed by Adrian Goiginger from Austria released after 2016 and their genres.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?film ?directorLabel ?countryLabel ?genreLabel WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P57 ?director .\n  ?director wdt:P31 wd:Q5 .\n  ?film wdt:P495 ?country .\n  ?country wdt:P31 wd:Q6256 .\n  ?film wdt:P136 ?genre .\n  ?genre wdt:P31 wd:Q201658 .\n  ?film wdt:P577 ?publicationDate .\n  FILTER ( ?director = wd:Q28796728 ) FILTER ( ?country = wd:Q40 ) FILTER ( ?publicationDate >= \"2016-01-01T00:00:00Z\" ^^ xsd:dateTime ) ?director rdfs:label ?directorLabel .\n  ?country rdfs:label ?countryLabel .\n  ?genre rdfs:label ?genreLabel .\n  FILTER ( lang( ?directorLabel ) = \"en\" ) FILTER ( lang( ?countryLabel ) = \"en\" ) FILTER ( lang( ?genreLabel ) = \"en\" )\n}", "paraphrases": ["Which films directed by Adrian Goiginger were produced in Austria after 2016, and what genres do they belong to?", "List the Austrian films directed by Adrian Goiginger that were released after January 1, 2016, along with their genres."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P57> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P136> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q201658> . ?var1 <http://www.wikidata.org/prop/direct/P495> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var1 <http://www.wikidata.org/prop/direct/P2047> ?var6 . FILTER ( ( ( ?var2 = <http://www.wikidata.org/entity/Q28796728> ) ) ) . FILTER ( ( ( ?var3 = <http://www.wikidata.org/entity/Q40> ) ) ) . FILTER ( ( ( ?var5 >= \"2016-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_7759", "question": "What property is most frequently used as the direct claim for properties that have P1741 as their object?", "sparql": "SELECT ?property (COUNT(?property) AS ?count) WHERE { { SELECT ?property WHERE { ?item ?propertyUsed wd:P1741 . ?property wikibase:directClaim ?propertyUsed . ?property rdf:type wikibase:Property . } LIMIT 10000 } } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which property is linked to P1741 through direct claim relationships?", "What is the property that is used to claim P1741 in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/P1741> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_7760", "question": "Which Wikidata entities have the Twitter/X handles \"clt_news\", \"hackaday\", \"ndr\", \"netflix\", \"tagesschau\", or \"Tesla\"?", "sparql": "SELECT ?item ?twitterHandle WHERE { ?item wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { \"clt_news\" \"hackaday\" \"ndr\" \"netflix\" \"tagesschau\" \"Tesla\" } }", "paraphrases": ["What entities on Wikidata are associated with the Twitter usernames \"clt_news\", \"hackaday\", \"ndr\", \"netflix\", \"tagesschau\", or \"Tesla\"?", "List all Wikidata items and their corresponding Twitter/X usernames for the handles: clt_news, hackaday, ndr, netflix, tagesschau, and Tesla."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"spacex\" ) ( \"Tesla\" ) ( \"DGLR_Jena\" ) ( \"krautspace\" ) ( \"string2\" ) ( \"LambrechtO\" ) ( \"ndr\" ) ( \"ChBaars\" ) ( \"string3\" ) ( \"tagesschau\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"hackadayio\" ) ( \"CosmoGecko\" ) ( \"string8\" ) ( \"tetalab\" ) ( \"turnoff_us\" ) ( \"string9\" ) ( \"netflix\" ) ( \"Vincinni\" ) ( \"clt_news\" ) ( \"hackaday\" ) } }"}}
{"id": "test_7761", "question": "What are the Dutch labels for the occupations of Vincent van Gogh?", "sparql": "SELECT ?occupationLabel ?occupation WHERE { ?artist wdt:P650 \"32439\" . ?artist wdt:P106 ?occupation . ?occupation rdfs:label ?occupationLabel . FILTER (LANG(?occupationLabel) = \"nl\") }", "paraphrases": ["In Dutch, what professions is Vincent van Gogh known for?", "What are the Dutch terms for the artistic roles of Vincent van Gogh?"], "info": {"raw_sparql": "SELECT ?var1Label ?var1 WHERE { <https://rkd.nl/explore/artists/4442> <http://www.wikidata.org/prop/direct/P106> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( \"nl\" = LANG ( ?var1Label ) ) ) ) . }"}}
{"id": "test_7762", "question": "Dutch labels for occupations of Joost van den Vondel", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?occupationLabel ?occupation WHERE {\n  wd:Q312673 wdt:P106 ?occupation .\n  ?occupation rdfs:label ?occupationLabel .\n  FILTER ( LANG( ?occupationLabel ) = \"nl\" )\n}", "paraphrases": ["What are the occupations of the Dutch poet Joost van den Vondel in Dutch?", "Show me the Dutch terms for the professions of Joost van den Vondel."], "info": {"raw_sparql": "SELECT ?var1Label ?var1 WHERE { <http://vocab.getty.edu/ulan/500342276> <http://www.wikidata.org/prop/direct/P106> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( \"nl\" = LANG ( ?var1Label ) ) ) ) . }"}}
{"id": "test_7763", "question": "List the presidents of Senegal with their terms and succession order, including who they replaced and who replaced them.", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ?president ?startDate ?endDate ?replaced ?replacedBy WHERE {\n  ?president wdt:P31 wd:Q5 .\n  ?president p:P39 ?statement .\n  ?statement ps:P39 wd:Q19116034 .\n  OPTIONAL {\n    ?statement pq:P580 ?startDate .\n  }\n  OPTIONAL {\n    ?statement pq:P582 ?endDate .\n  }\n  OPTIONAL {\n    ?statement pq:P1365 ?replaced .\n  }\n  OPTIONAL {\n    ?statement pq:P1366 ?replacedBy .\n  }\n}\nORDER BY ASC ( ?startDate )", "paraphrases": ["Who were the presidents of Senegal, when did they serve, and who succeeded or was succeeded by them?", "Show me the chronological sequence of Senegalese presidents, their start and end dates, and the predecessors and successors in office."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var4Label ?var5 ?var5Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/P39> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q19116034> . OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P580> ?var2 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var3 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P1365> ?var4 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P1366> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var2 )"}}
{"id": "test_7764", "question": "Female Spanish athletes with Spanish Wikipedia pages but no French ones, ordered by number of Wikipedia language editions.", "sparql": "SELECT ?person ?personLabel ?sitelinkCount WHERE { ?person wdt:P31 wd:Q5 ; wdt:P21 wd:Q6581072 ; wdt:P27 wd:Q29 ; wdt:P106 wd:Q2066131 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") . ?esArticle schema:about ?person ; schema:inLanguage \"es\" ; schema:isPartOf <https://es.wikipedia.org/> . FILTER NOT EXISTS { ?frArticle schema:about ?person ; schema:inLanguage \"fr\" ; schema:isPartOf <https://fr.wikipedia.org/> . } . { SELECT ?person (COUNT(?sitelink) AS ?sitelinkCount) WHERE { ?person wdt:P31 wd:Q5 ; wdt:P21 wd:Q6581072 ; wdt:P27 wd:Q29 ; wdt:P106 wd:Q2066131 . ?sitelink schema:about ?person ; schema:isPartOf [ wikibase:wikiGroup \"wikipedia\" ] . } GROUP BY ?person } } ORDER BY ASC(?sitelinkCount)", "paraphrases": ["Who are the female Spanish athletes who have a Wikipedia article in Spanish but not in French, and how many language versions of Wikipedia feature them?", "List all female Spanish athletes who are active in sports, have a Spanish Wikipedia page, lack a French one, and show the total number of Wikipedia language editions they appear in, sorted from least to most."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q29> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q2066131> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> \"es\". ?var3 <http://schema.org/isPartOf> <https://es.wikipedia.org/> . FILTER ( ( ( ?var2 >= \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . FILTER ( ( NOT EXISTS { ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> \"fr\". ?var3 <http://schema.org/isPartOf> <https://fr.wikipedia.org/> . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es, fr\". } } GROUP BY ?var1 ?var1Label ?var2 ORDER BY ASC( ?var2 )"}}
{"id": "test_7765", "question": "List all Prime Ministers of Vietnam with their terms, who they replaced, and who replaced them, sorted by start date.", "sparql": "SELECT ?primeMinister ?primeMinisterLabel ?startDate ?endDate ?replacedBy ?replacer WHERE { ?primeMinister wdt:P31 wd:Q5 . ?primeMinister p:P39 ?statement . ?statement ps:P39 wd:Q1043568 . OPTIONAL { ?statement pq:P580 ?startDate . } OPTIONAL { ?statement pq:P582 ?endDate . } OPTIONAL { ?statement pq:P1365 ?replacedBy . } OPTIONAL { ?statement pq:P1366 ?replacer . } OPTIONAL { ?primeMinister rdfs:label ?primeMinisterLabel . FILTER(LANG(?primeMinisterLabel) = \"en\") } } ORDER BY ASC(?startDate) LIMIT 20", "paraphrases": ["Who were the Prime Ministers of Vietnam, when did they serve, and who were their predecessors and successors?", "Show me the chronological list of Vietnam\u2019s Prime Ministers, including the start and end dates of their terms, and identify who they succeeded and who succeeded them."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var4Label ?var5 ?var5Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/P39> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q1043568> . OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P580> ?var2 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var3 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P1365> ?var4 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P1366> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var2 )"}}
{"id": "test_7766", "question": "What entities are located within 15 kilometers of the coordinates 40\u00b0N, 31\u00b0E?", "sparql": "SELECT ?item ?coord WHERE {\n  ?item wdt:P625 ?coord .\n  FILTER(geof:distance(?coord, \"POINT(40 31)\"^^geo:wktLiteral) <= 15000)\n}", "paraphrases": ["Show me places near longitude 40 and latitude 31 that are within a 15 km radius.", "List all items with geographic coordinates close to POINT(40 31) within a 15 km distance."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> \"POINT(40 31)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"15\". } }"}}
{"id": "test_7767", "question": "What laws, policies, or institutions apply to the Yukon territory?", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P1001 wd:Q2009 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["Which official actions or entities are specifically applicable to the jurisdiction of Yukon?", "List all the laws, elections, and government measures that are in effect in Yukon."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1001> <http://www.wikidata.org/entity/Q2009> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_7768", "question": "What is Amitabh Bachchan\u2019s country of citizenship and date of birth?", "sparql": "SELECT ?countryLabel ?dateOfBirth WHERE { wd:Q9570 wdt:P27 ?country ; wdt:P569 ?dateOfBirth . ?country rdfs:label ?countryLabel .}", "paraphrases": ["Can you tell me the nationality and birth date of the Indian actor Amitabh Bachchan?", "Show me the country and birth date associated with Amitabh Bachchan."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label WHERE { <http://www.wikidata.org/entity/Q9570> <http://www.wikidata.org/prop/direct/P27> ?var1 ; <http://www.wikidata.org/prop/direct/P569> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7769", "question": "Heritage sites in Sulkava with construction year and coordinates", "sparql": "PREFIX geof: <http://www.opengis.net/def/function/geosparql/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item ?itemLabel ?heritageSystem ?year ?lat ?lon WHERE {\n  {\n    ?item wdt:P361 ?heritageSystem .\n    ?heritageSystem wdt:P571 ?year .\n  } UNION {\n    ?item wdt:P571 ?year .\n  }\n  ?item wdt:P131 * wd:Q368997 .\n  OPTIONAL {\n    ?item wdt:P625 ?coord .\n    BIND(geof:latitude(?coord) AS ?lat)\n    BIND(geof:longitude(?coord) AS ?lon)\n  }\n  ?item rdfs:label ?itemLabel .\n}\nORDER BY ASC(?itemLabel)", "paraphrases": ["What are the heritage sites located in Sulkava, when were they built, and where are they located?", "List all heritage sites in Sulkava along with their construction years and geographic coordinates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ( SUBSTR ( STR ( ?var1 ) ,\"32\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"250\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var2 ) ?var1Label ?var3 ?var4 ?var5 ?var6 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P361> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P4009> ?var4 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P4009> ?var4 . } ?var1 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q368997> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/P625> ?var7 . ?var7 <http://www.wikidata.org/prop/statement/value/P625> ?var8 . ?var8 <http://wikiba.se/ontology#geoLatitude> ?var5 . ?var8 <http://wikiba.se/ontology#geoLongitude> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fi\". } } GROUP BY ?var4 ?var3 ?var1 ?var1Label ?var5 ?var6 ORDER BY ASC( ?var1Label )"}}
{"id": "test_7770", "question": "Current member states of the United Nations", "sparql": "SELECT ?member WHERE { ?member wdt:P463 wd:Q1065 . MINUS { ?member wdt:P576 ?dissolvedDate . } }", "paraphrases": ["Which countries are currently members of the United Nations?", "List all countries that are members of the United Nations and have not dissolved or left the organization."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q1065> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P576> ?var2 . } }"}}
{"id": "test_7771", "question": "Authors of \"A child's burial in unconsecrated ground in early modern Dorchester, Dorset\" and their ORCID IDs or fallback URLs.", "sparql": "SELECT ?author ?authorLabel ( COALESCE ( ?orcid , CONCAT ( \"https://orcid.org/\" , ENCODE_FOR_URI( ?authorLabel ) ) ) AS ?orcidUrl ) WHERE { wd:Q44967296 wdt:P50 ?author . OPTIONAL { ?author wdt:P496 ?orcid . } ?author rdfs:label ?authorLabel . FILTER(LANG(?authorLabel) = \"en\") }", "paraphrases": ["Who are the authors of the article \"A child's burial in unconsecrated ground in early modern Dorchester, Dorset\", and what are their ORCID identifiers? If an ORCID is not available, what is the fallback URL?", "Show me the authors of the 2011 academic article on a child's burial in Dorchester, along with their ORCID identifiers; if they don\u2019t have one, generate a URL using their name."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COALESCE ( ?var2 , CONCAT ( \"string1\", ENCODE_FOR_URI ( ?var1Label ) ) ) AS ?var3 ) WHERE { <http://www.wikidata.org/entity/Q44967296> <http://www.wikidata.org/prop/direct/P50> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,da,de,es,fr,nl,no,ru,sv,zh\". } }"}}
{"id": "test_7772", "question": "List U.S. counties with their English and Arabic names, and the states they belong to.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?county ?countyLabel ?countyLabelAr ?stateLabel WHERE {\n  ?county wdt:P279 wd:Q47168 .\n  ?county rdfs:label ?countyLabel .\n  FILTER(LANG(?countyLabel) = \"en\")\n  OPTIONAL {\n    ?county rdfs:label ?countyLabelAr .\n    FILTER(LANG(?countyLabelAr) = \"ar\")\n  }\n  OPTIONAL {\n    ?county wdt:P131 ?state .\n    ?state rdfs:label ?stateLabel .\n    FILTER(LANG(?stateLabel) = \"en\")\n  }\n}\nLIMIT 100", "paraphrases": ["What are the U.S. counties, their names in English and Arabic, and which states are they located in?", "Show me all counties in the United States, including their labels in English and Arabic, and the names of the states they are part of."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label ?var3Label ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q47168> . OPTIONAL { ?var1 <http://schema.org/description> ?var5 . FILTER ( ( ( LANG ( ?var6 ) = \"ar\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ar,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P316> ?var7 . } } LIMIT 100"}}
{"id": "test_7773", "question": "U.S. county types and their corresponding states", "sparql": "SELECT DISTINCT ?countyType ?state ?countyTypeLabel ?stateLabel WHERE { ?countyInstance wdt:P31 ?countyType . ?countyInstance wdt:P131 ?state . ?countyType wdt:P279 wd:Q47168 . ?countyType rdfs:label ?countyTypeLabel . ?state rdfs:label ?stateLabel . FILTER(LANG(?countyTypeLabel) = \"en\") FILTER(LANG(?stateLabel) = \"en\") } LIMIT 100", "paraphrases": ["What are the different types of counties in the United States, and which states or administrative regions are they located in?", "List all subclasses of U.S. counties along with the states or administrative entities they belong to, using English labels."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var1Label ?var3Label ?var4Label WHERE { ?var5 <http://www.wikidata.org/prop/direct/P31> ?var1 . ?var5 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q47168> . OPTIONAL { ?var1 <http://schema.org/description> ?var6 . FILTER ( ( ( LANG ( ?var7 ) = \"ar\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ar,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P361> ?var3 . } } LIMIT 100"}}
{"id": "test_7774", "question": "Presidents of Argentina who served between 1961 and 1983", "sparql": "SELECT ?president ?presidentLabel ?start ?end WHERE { ?president wdt:P31 wd:Q5 . ?president p:P39 ?statement . ?statement ps:P39 wd:Q12969145 ; pq:P580 ?start ; pq:P582 ?end . FILTER (YEAR(?start) <= 1983) . FILTER (!BOUND(?end) || YEAR(?end) >= 1961) . ?president rdfs:label ?presidentLabel . FILTER(LANG(?presidentLabel) = \"en\") } ORDER BY ASC(?start)", "paraphrases": ["Who were the presidents of Argentina whose terms overlapped with the period from 1961 to 1983?", "List all presidents of Argentina who took office by 1983 and left office after 1961, including those still in office or with unknown end dates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/position_held> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q12969145> ; <http://www.wikidata.org/prop/qualifier/P580> ?var2 ; <http://www.wikidata.org/prop/qualifier/P582> ?var3 . FILTER ( ( ( YEAR ( ?var2 ) <= \"1983\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( YEAR ( ?var3 ) >= \"1961\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY ASC( ?var2 )"}}
{"id": "test_7775", "question": "Who is buried in Chester Rural Cemetery?", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P119 wd:Q5093704 . ?person rdfs:label ?personLabel . } LIMIT 100", "paraphrases": ["What are the names of the people buried in Chester Rural Cemetery?", "List the individuals interred at Chester Rural Cemetery in Pennsylvania."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ?var3 <http://www.wikidata.org/entity/Q5093704> . ?var2 <http://wikiba.se/ontology#directClaim> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_7776", "question": "What properties are associated with the gene CDKN1A, and what are their English labels and descriptions?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?property ?propertyLabel ?propertyDescription WHERE {\n  wd:Q14902453 ?property ?value .\n  ?wdProperty wikibase:directClaim ?property .\n  ?wdProperty rdfs:label ?propertyLabel .\n  ?wdProperty schema:description ?propertyDescription .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" ) FILTER ( LANG( ?propertyDescription ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Show me the English labels and descriptions of all properties used to describe the CDKN1A gene in Wikidata.", "Which properties describe CDKN1A, and what do they mean in English?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q14902453> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_7777", "question": "Who is buried in Evergreen Cemetery and what is the property used to record burial place?", "sparql": "SELECT ?person ?personLabel ?propertyLabel WHERE { ?person wdt:P119 wd:Q5417187 . ?person rdfs:label ?personLabel . wd:P119 rdfs:label ?propertyLabel . FILTER(LANG(?personLabel) = \"en\" && LANG(?propertyLabel) = \"en\") } LIMIT 100", "paraphrases": ["Which person is buried in Evergreen Cemetery, and what is the English label for the \"place of burial\" property?", "List the name of the person buried in Evergreen Cemetery and the English term for the burial place property."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ?var3 <http://www.wikidata.org/entity/Q5417187> . ?var2 <http://wikiba.se/ontology#directClaim> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_7778", "question": "Which Wikidata items have the Twitter username \"Ivanhercaz\"?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"Ivanhercaz\" } }", "paraphrases": ["Who is the Wikidata item associated with the Twitter handle Ivanhercaz?", "Show me the Wikidata entity linked to the Twitter username Ivanhercaz."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"IvanHerCaz\" ) ( \"macgraveur\" ) ( \"Kuzulia_\" ) ( \"string4\" ) ( \"ar_granenn\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"Glamwiki\" ) ( \"string11\" ) ( \"molletfab\" ) ( \"string12\" ) ( \"string13\" ) ( \"string14\" ) ( \"LesCommuns\" ) ( \"string15\" ) ( \"salgo60\" ) ( \"string16\" ) ( \"string17\" ) ( \"Ploumplum1\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_7779", "question": "What is the administrative structure and location of L'\u00c9tang-Sal\u00e9?", "sparql": "SELECT DISTINCT ?instance (SAMPLE(?instanceLabelEn) AS ?instanceLabel) ?location (SAMPLE(?locationLabelEn) AS ?locationLabel) ?coordinates WHERE { wd:Q1014771 wdt:P31 ?instance . wd:Q1014771 wdt:P131 ?location . wd:Q1014771 wdt:P625 ?coordinates . OPTIONAL { ?instance rdfs:label ?instanceLabelEn . FILTER(LANG(?instanceLabelEn) = \"en\") } OPTIONAL { ?location rdfs:label ?locationLabelEn . FILTER(LANG(?locationLabelEn) = \"en\") } } GROUP BY ?instance ?location ?coordinates", "paraphrases": ["What type of entity is L'\u00c9tang-Sal\u00e9, and which administrative regions is it part of, along with its coordinates?", "Show me the instance type, location hierarchy, and geographic coordinates for the commune of L'\u00c9tang-Sal\u00e9."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q1014771> <http://www.wikidata.org/prop/direct/P31> ?var1 . } OPTIONAL { <http://www.wikidata.org/entity/Q1014771> <http://www.wikidata.org/prop/direct/P131> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q1014771> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q1014771> <http://www.wikidata.org/prop/direct/P585> ?var4 . } OPTIONAL { <http://www.wikidata.org/entity/Q1014771> <http://www.wikidata.org/prop/direct/P580> ?var5 . } OPTIONAL { <http://www.wikidata.org/entity/Q1014771> <http://www.wikidata.org/prop/direct/P580> ?var6 . } OPTIONAL { <http://www.wikidata.org/entity/Q1014771> <http://www.wikidata.org/prop/direct/P571> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_7780", "question": "Does the Commodore 64 game with Lemon 64 ID 2891 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?game wdt:P4816 \"2891\" .\n}", "paraphrases": ["Is there a video game on the Commodore 64 listed in Wikidata with the Lemon 64 identifier 2891?", "Confirm if the game 'World Cup Football' is registered in Wikidata with Lemon 64 ID 2891."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4816> \"2891\". }"}}
{"id": "test_7781", "question": "Does the Commodore 64 game Spy vs. Spy have a Lemon 64 ID of 2438?", "sparql": "ASK WHERE { ?game wdt:P4816 \"2438\" . }", "paraphrases": ["Is there a record in Wikidata for the Commodore 64 game with Lemon 64 ID 2438?", "Confirm if the game Spy vs. Spy is listed in Wikidata with the Lemon 64 identifier 2438."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4816> \"2438\". }"}}
{"id": "test_7782", "question": "What songs were composed by John Lennon or Paul McCartney but not performed by The Beatles?", "sparql": "SELECT DISTINCT ?work WHERE { VALUES ?composer { wd:Q2599 wd:Q1203 } ?work wdt:P86 ?composer . MINUS { ?work wdt:P175 wd:Q1299 . } } ORDER BY ?work", "paraphrases": ["Show me all musical works composed by either John Lennon or Paul McCartney that are not associated with The Beatles as performers.", "List all compositions credited to John Lennon or Paul McCartney as composers, excluding any tracks where The Beatles are listed as the performing artist."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P86> <http://www.wikidata.org/entity/Q2599> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P86> <http://www.wikidata.org/entity/Q1203> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P175> <http://www.wikidata.org/entity/Q1299> . } }"}}
{"id": "test_7783", "question": "Does the Commodore 64 game \"Garfield: Winter's Tail\" have the Lemon 64 ID 1025?", "sparql": "ASK WHERE { ?item wdt:P4816 \"1025\" }", "paraphrases": ["Is there a game in the Lemon 64 database with the identifier 1025?", "Does Wikidata contain an entry for the game identified by Lemon 64 ID 1025?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4816> \"1025\". }"}}
{"id": "test_7784", "question": "People born on October 11 after 1991 with their birth years.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var1Label ( YEAR( ?var2 ) AS ?birthYear ) WHERE {\n  ?var1 wdt:P569 ?var2 .\n  FILTER ( MONTH( ?var2 ) = 10 && DAY( ?var2 ) = 11 && YEAR( ?var2 ) > 1991 ) .\n  ?var1 rdfs:label ?var1Label .\n  FILTER ( LANG( ?var1Label ) = \"en\" )\n}\nLIMIT 10", "paraphrases": ["Who were born on October 11 after 1991, and in what year?", "List the English names and birth years of people born on October 11 starting from 1992."], "info": {"raw_sparql": "SELECT ?var1Label ( YEAR ( ?var2 ) AS ?var3 ) WHERE { BIND ( MONTH ( NOW ( ) ) AS ?var4 ). BIND ( DAY ( NOW ( ) ) AS ?var5 ). ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/p19> ?var6 . FILTER ( ( ( MONTH ( ?var2 ) = \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( DAY ( ?var2 ) = \"11\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( YEAR ( ?var2 ) > \"1991\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10"}}
{"id": "test_7785", "question": "What are the Dutch labels for films in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?var1 ?var1Label WHERE {\n  ?var1 wdt:P31 wd:Q11424 .\n  ?var1 rdfs:label ?var1Label .\n  FILTER(LANG(?var1Label) = \"nl\")\n}\nLIMIT 100", "paraphrases": ["List films (instances of film) with their Dutch titles.", "Show me the Dutch names of all films in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"nl\" ) && ( ?var2 = \"film\" ) ) ) . } LIMIT 100"}}
{"id": "test_7786", "question": "Is there a Commodore 64 game in Wikidata with Lemon 64 ID 859?", "sparql": "ASK WHERE { ?item wdt:P4816 \"859\" . }", "paraphrases": ["Does the game \"Everyone's A Wally\" have a Lemon 64 identifier of 859 in Wikidata?", "Confirm if the Lemon 64 ID 859 corresponds to a game in the Wikidata database."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4816> \"859\". }"}}
{"id": "test_7787", "question": "Who were born in November 1992, and what are their occupations and places of birth?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?personLabel ?dateOfBirth ?occupationLabel ?placeOfBirthLabel WHERE {\n  ?person wdt:P569 ?dateOfBirth .\n  ?person wdt:P19 ?placeOfBirth .\n  ?person wdt:P106 ?occupation .\n  FILTER ( MONTH( ?dateOfBirth ) = 11 && YEAR( ?dateOfBirth ) = 1992 ) .\n  ?person rdfs:label ?personLabel .\n  ?occupation rdfs:label ?occupationLabel .\n  ?placeOfBirth rdfs:label ?placeOfBirthLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) .\n  FILTER ( LANG( ?occupationLabel ) = \"en\" ) .\n  FILTER ( LANG( ?placeOfBirthLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Can you list people born in November 1992 along with their occupations and where they were born?", "Show me the names, occupations, and birthplaces of individuals born in November 1992."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3Label ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( ( MONTH ( ?var2 ) = \"11\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( YEAR ( ?var2 ) = \"1992\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } LIMIT 100"}}
{"id": "test_7788", "question": "What are the parent taxa of biological taxa in Wikidata?", "sparql": "SELECT ?taxon ?parentTaxon WHERE { ?taxon wdt:P171 ?parentTaxon . } LIMIT 100", "paraphrases": ["Which taxa are directly classified under which higher taxa in the biological hierarchy, according to Wikidata?", "Show me 100 examples of taxa and their immediate parent taxa from the biological classification system."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P171> ?var2 . } LIMIT 100"}}
{"id": "test_7789", "question": "Trademarks with English labels and English alternative labels", "sparql": "PREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item ?label WHERE {\n  ?item ( wdt:P31 / wdt:P279 * ) wd:Q167270 ; rdfs:label ?label ; skos:altLabel ?altLabel .\n  FILTER ( LANG( ?label ) = \"en\" ) FILTER ( LANG( ?altLabel ) = \"en\" )\n}", "paraphrases": ["Which trademarks have both an English name and an English alternative name?", "List all trademarks in English that also have an English alternative label."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q167270> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . OPTIONAL { ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> ?var2 . } FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . }"}}
{"id": "test_7790", "question": "Which entities on Wikidata have Twitter/X accounts with the usernames \"Wikipedia\", \"metmuseum\", \"Wikimedia\", or \"mesosphere\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterHandle WHERE {\n  ?item wdt:P2002 ?twitterHandle .\n  VALUES ?twitterHandle {\n    \"Wikipedia\" \"metmuseum\" \"Wikimedia\" \"mesosphere\"\n  }\n}", "paraphrases": ["Show me the Wikidata items for the Twitter handles Wikipedia, metmuseum, Wikimedia, and mesosphere.", "What are the Wikidata entities linked to these Twitter usernames: Wikipedia, metmuseum, Wikimedia, and mesosphere?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"bevellin\" ) ( \"string1\" ) ( \"mesosphere\" ) ( \"Pyb75\" ) ( \"Wikipedia\" ) ( \"metmuseum\" ) ( \"LoicTallon\" ) ( \"Wikimedia\" ) ( \"string2\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_7791", "question": "Who has the Vogue Paris ID 'kanye-west/611' and what is their English description?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P3404 \"kanye-west/611\" .\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["What is the English description of the person with Vogue List ID 'kanye-west/611'?", "Show me the English description for the individual identified by the Vogue Paris ID 'kanye-west/611'."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3404> \"iro-/892\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7792", "question": "What infobox template on Russian Wikipedia has the most specific topic in the Wikidata subclass hierarchy?", "sparql": "SELECT ?infobox ?topic (COUNT(?ancestor) AS ?depth) WHERE { ?infobox wdt:P31 wd:Q19887878 . ?infobox wdt:P1423 ?topic . ?wikipage schema:about ?infobox ; schema:isPartOf <https://ru.wikipedia.org/> . ?topic wdt:P279* ?ancestor . } GROUP BY ?infobox ?topic ORDER BY DESC(?depth) LIMIT 1", "paraphrases": ["Which infobox template used on Russian Wikipedia is associated with the topic that has the greatest number of parent classes in Wikidata?", "Show me the Russian Wikipedia infobox template that describes the most narrowly defined concept, based on Wikidata subclass depth."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ( COUNT ( ?var5 ) AS ?var6 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ( COUNT ( ?var7 ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19887878> . ?var1 <http://www.wikidata.org/prop/direct/P1423> ?var2 . <http://www.wikidata.org/entity/Q12554757> ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P106> ) ?var8 . ?var8 <http://www.wikidata.org/prop/direct/P279> * ?var7 . ?var7 <http://www.wikidata.org/prop/direct/P279> * ?var2 . } GROUP BY ?var1 ?var2 } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> * ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P279> * ?var3 . } } GROUP BY ?var1 ?var2 ?var3 ?var4 } FILTER ( ( EXISTS { ?var9 <http://schema.org/about> ?var1 . ?var9 <http://schema.org/isPartOf> <https://ru.wikipedia.org/> . } ) ) . } ORDER BY ASC( ?var4 ) DESC( ?var6 ) LIMIT 1"}}
{"id": "test_7793", "question": "What infobox template is used for the TV series \"Sharpe\" and has a Russian Wikipedia page?", "sparql": "SELECT DISTINCT ?template WHERE { wd:Q1215959 wdt:P31 ?topic . ?template wdt:P31 wd:Q19887878 . ?template wdt:P1423 ?topic . ?page schema:about ?template ; schema:isPartOf <https://ru.wikipedia.org/> . } LIMIT 1", "paraphrases": ["Which Wikipedia infobox template for television series is linked to the Russian Wikipedia?", "Find the template for TV series infoboxes that has a Russian-language Wikipedia article and is associated with the Sharpe series."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ( COUNT ( ?var5 ) AS ?var6 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ( COUNT ( ?var7 ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19887878> . ?var1 <http://www.wikidata.org/prop/direct/P1423> ?var2 . <http://www.wikidata.org/entity/Q1215959> ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P106> ) ?var8 . ?var8 <http://www.wikidata.org/prop/direct/P279> * ?var7 . ?var7 <http://www.wikidata.org/prop/direct/P279> * ?var2 . } GROUP BY ?var1 ?var2 } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> * ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P279> * ?var3 . } } GROUP BY ?var1 ?var2 ?var3 ?var4 } FILTER ( ( EXISTS { ?var9 <http://schema.org/about> ?var1 . ?var9 <http://schema.org/isPartOf> <https://ru.wikipedia.org/> . } ) ) . } ORDER BY ASC( ?var4 ) DESC( ?var6 ) LIMIT 1"}}
{"id": "test_7794", "question": "Performers of the album \"Music in a Foreign Language\" and their associated properties (excluding instance of).", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?performer ?property ?value WHERE {\n  wd:Q22981138 wdt:P175 ?performer .\n  ?performer ?property ?value .\n  FILTER ( ?property != wdt:P31 )\n}\nLIMIT 101", "paraphrases": ["What properties are linked to the performer of the album \"Music in a Foreign Language\"?", "Show me all the information about the performer of the album \"Music in a Foreign Language\", excluding their type."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q22981138> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_7795", "question": "Image of the person with SNAC ARK ID w6rj76f4", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?person wdt:P3430 \"w6rj76f4\" .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Henry Hope's SNAC ARK ID (w6rj76f4)?", "Please show me the Wikimedia Commons image for the individual identified by the SNAC ARK ID w6rj76f4."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6rj76f4\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_7796", "question": "What is the legislative body of Los Angeles?", "sparql": "SELECT DISTINCT ?legislativeBody ?legislativeBodyLabel WHERE { wd:Q65 wdt:P194 ?legislativeBody . ?legislativeBody rdfs:label ?legislativeBodyLabel . FILTER(LANG(?legislativeBodyLabel) = \"en\") } ORDER BY ?legislativeBodyLabel", "paraphrases": ["Which council governs the city of Los Angeles?", "Can you tell me the English name of the legislative body responsible for Los Angeles?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q65> <http://www.wikidata.org/prop/direct/P194> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var2 )"}}
{"id": "test_7797", "question": "Cities in the United States", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?city ?cityLabel WHERE {\n  ?city wdt:P31 wd:Q515 .\n  ?city wdt:P17 wd:Q30 .\n  ?city rdfs:label ?cityLabel .\n  FILTER ( LANG( ?cityLabel ) = \"en\" )\n}", "paraphrases": ["What are the names of cities in the United States?", "List the English names of all cities in the United States."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 ?var3Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q30> . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sq\". } }"}}
{"id": "test_7798", "question": "What properties are used for \"The Name of the Rose\", and what are their values and counts?", "sparql": "SELECT ?property ?propertyLabel (COUNT(?value) AS ?valueCount) (GROUP_CONCAT(?valueLabel; SEPARATOR=\", \") AS ?valueLabels)\nWHERE {\n  wd:Q172850 ?property ?value .\n  ?value rdfs:label ?valueLabel .\n  FILTER(LANG(?valueLabel) = \"en\") .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?propertyLabel .\n  FILTER(LANG(?propertyLabel) = \"en\") .\n}\nGROUP BY ?property ?propertyLabel", "paraphrases": ["For the novel \"The Name of the Rose\", what are the English labels of its properties, how many values does each have, and what are those values?", "List all properties of \"The Name of the Rose\" in English, along with the number of values each has and the labels of those values."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q172850> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_7799", "question": "Countries bordering Georgia and their qualifier properties (e.g., start time, disputed status).", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?country ?statement(SAMPLE(?qualifierProp) AS ?qualifier) WHERE {\n  {\n    SELECT DISTINCT ?country ?statement WHERE {\n      ?statement ps:P47 wd:Q230 .\n      ?country p:P47 ?statement .\n    }\n    LIMIT 101\n  }\n  OPTIONAL {\n    ?statement ?qualifierProp ?value .\n    VALUES ?qualifierProp {\n      pq:P805 pq:P1310 pq:P580\n    }\n  }\n}\nGROUP BY ?country ?statement", "paraphrases": ["Which countries share a border with Georgia, and what are the qualifiers (like when the border started or if it's disputed) associated with those border relationships?", "List the countries that border Georgia along with any known qualifiers on those border statements, such as start time or dispute status."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P47> <http://www.wikidata.org/entity/Q230> . ?var1 <http://www.wikidata.org/prop/P47> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_7800", "question": "What is the VIAF ID for Wilt L. Idema?", "sparql": "SELECT ?viafId WHERE { wd:Q16973058 wdt:P214 ?viafId . }", "paraphrases": ["Can you tell me the Virtual International Authority File identifier for the Dutch sinologist Wilt L. Idema?", "I need the VIAF cluster ID associated with Wilt L. Idema, the scholar born in 1944."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q16973058> <http://www.wikidata.org/prop/direct/P214> ?var1 . } LIMIT 1"}}
{"id": "test_7801", "question": "What are the oldest cities in the world based on their first written records, and what are their German names?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?cityLabelDe ?city ?earliestRecord WHERE {\n  ?city wdt:P31 wd:Q515 .\n  ?city wdt:P1249 ?earliestRecord .\n  OPTIONAL {\n    ?city rdfs:label ?cityLabelDe .\n    FILTER(LANG(?cityLabelDe) = \"de\")\n  }\n}\nORDER BY ASC(?earliestRecord)", "paraphrases": ["Cities with earliest written records and their German labels", "Show me a list of cities ordered by when they were first mentioned in writing, including their names in German where available."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . ?var2 <http://www.wikidata.org/prop/direct/P1249> ?var3 . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"de\" ) ) ) . } } ORDER BY ASC( ?var3 )"}}
{"id": "test_7802", "question": "What is the VIAF ID for Carl Gustaf Emil Mannerheim?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?viafId WHERE {\n  wd:Q152306 wdt:P214 ?viafId .\n}", "paraphrases": ["Can you tell me the Virtual International Authority File identifier for the Finnish military leader Carl Gustaf Emil Mannerheim?", "I need the VIAF cluster ID associated with Carl Gustaf Emil Mannerheim, the Finnish statesman and military officer."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q152306> <http://www.wikidata.org/prop/direct/P214> ?var1 . } LIMIT 1"}}
{"id": "test_7803", "question": "What is the VIAF ID for Richard Francis Burton?", "sparql": "SELECT ?viafId WHERE { wd:Q125057 wdt:P214 ?viafId .}", "paraphrases": ["What is the Virtual International Authority File identifier for the British explorer Richard Francis Burton?", "Please provide the VIAF cluster ID associated with Richard Francis Burton."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q125057> <http://www.wikidata.org/prop/direct/P214> ?var1 . } LIMIT 1"}}
{"id": "test_7804", "question": "How many people died in 1908?", "sparql": "SELECT ?year (COUNT(?person) AS ?count) WHERE { ?person wdt:P31 wd:Q5 ; wdt:P570 ?deathDate . BIND(YEAR(?deathDate) AS ?year) FILTER(YEAR(?deathDate) = 1908) } GROUP BY ?year", "paraphrases": ["What is the total number of humans recorded as having died in the year 1908 on Wikidata?", "Can you tell me how many individuals born as humans passed away during 1908?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P569> ?var4 . } BIND ( STR ( YEAR ( ?var5 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P570> ?var5 . FILTER ( ( ( ?var5 >= \"1908-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var5 < \"1908-01-02\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1"}}
{"id": "test_7805", "question": "How many humans died in 2004 according to Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?deathYear ( COUNT( ?human ) AS ?count ) WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human wdt:P570 ?deathDate .\n  BIND( YEAR( ?deathDate ) AS ?deathYear ) FILTER ( ?deathYear = 2004 )\n}\nGROUP BY ?deathYear", "paraphrases": ["What is the total number of recorded human deaths in the year 2004 on Wikidata?", "Show me the count of people who died in 2004, grouped by year."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P569> ?var4 . } BIND ( STR ( YEAR ( ?var5 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P570> ?var5 . FILTER ( ( ( ?var5 >= \"2004-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var5 < \"2004-01-02\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1"}}
{"id": "test_7806", "question": "What is the most specific shared category between Ramallah and Sarah Silverman in Wikidata?", "sparql": "SELECT ?common ?label WHERE { VALUES ?common { wd:Q223557 } wd:Q158119 wdt:P31 ?type1 . wd:Q229013 wdt:P31 ?type2 . ?type1 wdt:P279* ?common . ?type2 wdt:P279* ?common . ?common rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["What is the most specific concept that both Ramallah and Sarah Silverman belong to through their types in the Wikidata hierarchy?", "Find the deepest common superclass in the Wikidata ontology that includes both Ramallah and Sarah Silverman."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q158119> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q229013> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7807", "question": "What country is associated with both Donald Trump and Qualcomm?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?country WHERE {\n  wd:Q22686 wdt:P27 | wdt:P17 ?country .\n  wd:Q544847 wdt:P27 | wdt:P17 ?country .\n}", "paraphrases": ["Which nation links Donald Trump and Qualcomm in Wikidata?", "Find the common country connected to Donald Trump and Qualcomm, regardless of whether it's via citizenship or headquarters location."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q544847> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q22686> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7808", "question": "What is the most general category that both humans and sovereign states belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonAncestor ?label WHERE {\n  wd:Q5 wdt:P279 * ?commonAncestor .\n  wd:Q3624078 wdt:P279 * ?commonAncestor .\n  ?commonAncestor rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nLIMIT 1", "paraphrases": ["What is the shared superclass of Pavel Durov and Panama in the Wikidata ontology?", "Which entity is the highest-level common ancestor of a human and a country in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q149067> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q804> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7809", "question": "What is the most general category that both Rihanna and Broadcom belong to in Wikidata\u2019s taxonomy?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonAncestor(2 AS ?totalDist) WHERE {\n  wd:Q36844 wdt:P31 ?classRih .\n  wd:Q555925 wdt:P31 ?classBroad .\n  ?classRih wdt:P279 * wd:Q35120 .\n  ?classBroad wdt:P279 * wd:Q35120 .\n  BIND(wd:Q35120 AS ?commonAncestor)\n}\nLIMIT 1", "paraphrases": ["What is the highest-level class that includes both humans and organizations, given that Rihanna is a human and Broadcom is an organization?", "Which top-level entity class is the common ancestor of Rihanna\u2019s and Broadcom\u2019s categories in the Wikidata hierarchy?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q36844> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q555925> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7810", "question": "Female alumni of the University of the Basque Country with images.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person ?personLabel ?image WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P69 wd:Q1232428 .\n  ?person wdt:P21 wd:Q6581072 .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}\nORDER BY ASC ( ?personLabel )", "paraphrases": ["Who are the female graduates of the University of the Basque Country, and what are their images?", "List all women who studied at the University of the Basque Country, sorted alphabetically, along with their photos if available."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P69> <http://www.wikidata.org/entity/Q1232428> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"eu,es\". } ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . } ORDER BY ASC( ?var1Label )"}}
{"id": "test_7811", "question": "What is the most specific category that both Aroldis Chapman and Google belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonAncestor ?commonAncestorLabel WHERE {\n  wd:Q1133513 wdt:P31 ?type1 .\n  ?type1 wdt:P279 * ?commonAncestor .\n  wd:Q95 wdt:P31 ?type2 .\n  ?type2 wdt:P279 * ?commonAncestor .\n  ?commonAncestor rdfs:label ?commonAncestorLabel .\n  FILTER(LANG(?commonAncestorLabel) = \"en\")\n}", "paraphrases": ["What is the common superclass that includes both humans and companies in Wikidata?", "Which entity class is the least specific ancestor shared by Aroldis Chapman and Google?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1133513> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q95> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7812", "question": "What are the types of Instagram and the 2006 Brazilian Grand Prix in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity ?type ?typeLabel WHERE {\n  {\n    wd:Q209330 wdt:P31 ?type .\n    BIND( \"Instagram\" AS ?entity )\n  } UNION {\n    wd:Q54429 wdt:P31 ?type .\n    BIND( \"2006 Brazilian Grand Prix\" AS ?entity )\n  }\n  ?type rdfs:label ?typeLabel .\n  FILTER ( LANG( ?typeLabel ) = \"en\" )\n}\nORDER BY ?entity ?type", "paraphrases": ["Is there any shared category between Instagram and the 2006 Brazilian Grand Prix in Wikidata\u2019s hierarchy?", "Show me the categories that Instagram and the 2006 Brazilian Grand Prix belong to, and confirm if they have any in common."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q54429> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q209330> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7813", "question": "What is the most general category that both the Chicago Cubs and Tunisia belong to in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?commonAncestor ?label WHERE {\n  BIND( wd:Q35120 AS ?commonAncestor ) ?commonAncestor rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}", "paraphrases": ["What is the common superclass of the Chicago Cubs baseball team and the country of Tunisia?", "What is the top-level entity class that includes both sports teams and sovereign states in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q246782> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q948> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7814", "question": "What is the most specific category that both New England and South Dakota belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonAncestor ( COUNT( ?super ) AS ?depth ) WHERE {\n  wd:Q123615496 wdt:P279 * ?commonAncestor .\n  wd:Q35657 wdt:P279 * ?commonAncestor .\n  ?commonAncestor wdt:P279 + ?super .\n}\nGROUP BY ?commonAncestor\nORDER BY DESC ( ?depth )\nLIMIT 1", "paraphrases": ["What shared geographic classification includes both New England and South Dakota?", "What is the highest-level common type for New England (a U.S. region) and South Dakota (a U.S. state)?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q18389> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1211> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7815", "question": "What are the English-labeled items and their durations in minutes?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?duration WHERE {\n  ?item wdt:P2047 ?duration .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["List movies and other works along with how long they last, in minutes.", "Can you show me the titles of works and their durations, such as movie runtimes or pregnancy lengths?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1646> ?var2 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . }"}}
{"id": "test_7816", "question": "List the English names of U.S. congressional districts and their images.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?district ?label ?image WHERE {\n  ?district wdt:P31 wd:Q17166756 .\n  ?district rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  .\n  OPTIONAL {\n    ?district wdt:P18 ?image .\n  }\n}\nLIMIT 100", "paraphrases": ["What are the English names of the first 100 U.S. congressional districts, and do they have any associated images on Wikimedia Commons?", "Show me the English labels of U.S. congressional districts along with any available images from Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q17166756> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_7817", "question": "What is the most general category that both Afghanistan and Vancouver belong to?", "sparql": "SELECT ?commonAncestor WHERE { wd:Q889 wdt:P31 ?type1 . wd:Q24639 wdt:P31 ?type2 . ?type1 wdt:P279* wd:Q35120 . ?type2 wdt:P279* wd:Q35120 . } LIMIT 1", "paraphrases": ["What is the highest-level class that includes both the country Afghanistan and the city Vancouver?", "What do Afghanistan and Vancouver have in common in terms of their classification in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q889> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q24639> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7818", "question": "What is the most specific category that both Minneapolis and Abu Dhabi belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonSuperclass WHERE {\n  wd:Q36091 wdt:P31 ?c1 .\n  ?c1 wdt:P279 * wd:Q515 .\n  wd:Q1519 wdt:P31 ?c2 .\n  ?c2 wdt:P279 * wd:Q515 .\n  BIND(wd:Q515 AS ?commonSuperclass)\n}\nLIMIT 1", "paraphrases": ["What class do Minneapolis and Abu Dhabi have in common at the most detailed level in Wikidata\u2019s hierarchy?", "What is the shared type (like city or country) that applies to both Minneapolis and Abu Dhabi, based on their Wikidata classifications?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q36091> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1519> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7819", "question": "What is the most general concept that both Newcastle City Hall and the United States Fleet Forces Command belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?ancestor ?label ( ?dist1 + ?dist2 AS ?totalDistance ) WHERE {\n  VALUES ?ancestor {\n    wd:Q35120\n  }\n  BIND( 5 AS ?dist1 ) BIND( 4 AS ?dist2 ) ?ancestor rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}\nORDER BY ASC ( ?totalDistance )\nLIMIT 1", "paraphrases": ["Which top-level category in Wikidata's hierarchy is shared by Newcastle City Hall and the United States Fleet Forces Command, and how many subclass steps away is each from it?", "Find the common ancestor in the subclass hierarchy between Newcastle City Hall and the US Fleet Forces Command, and calculate the total number of subclass links from each to that ancestor."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7017384> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2297940> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7820", "question": "What is the capital city of Iran?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?capital ?capitalLabel WHERE {\n  wd:Q794 wdt:P36 ?capital .\n  ?capital rdfs:label ?capitalLabel .\n  FILTER(LANG(?capitalLabel) = \"en\")\n}", "paraphrases": ["Which city serves as the capital of Iran?", "Can you tell me the capital of Iran?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q794> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1490> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7821", "question": "What is the most specific category that both Iran and Nice belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?commonSuperclass ?commonSuperclassLabel WHERE {\n  {\n    wd:Q794 wdt:P31 ?iranType .\n    ?iranType wdt:P279 ?commonSuperclass .\n  } UNION {\n    wd:Q794 wdt:P31 ?iranType .\n    ?iranType wdt:P279 ?mid1 .\n    ?mid1 wdt:P279 ?commonSuperclass .\n  } UNION {\n    wd:Q794 wdt:P31 ?iranType .\n    ?iranType wdt:P279 ?mid1 .\n    ?mid1 wdt:P279 ?mid2 .\n    ?mid2 wdt:P279 ?commonSuperclass .\n  }\n  {\n    wd:Q33959 wdt:P31 ?niceType .\n    ?niceType wdt:P279 ?commonSuperclass .\n  } UNION {\n    wd:Q33959 wdt:P31 ?niceType .\n    ?niceType wdt:P279 ?mid1 .\n    ?mid1 wdt:P279 ?commonSuperclass .\n  } UNION {\n    wd:Q33959 wdt:P31 ?niceType .\n    ?niceType wdt:P279 ?mid1 .\n    ?mid1 wdt:P279 ?mid2 .\n    ?mid2 wdt:P279 ?commonSuperclass .\n  }\n  ?commonSuperclass rdfs:label ?commonSuperclassLabel .\n  FILTER(LANG(?commonSuperclassLabel) = \"en\")\n}\nORDER BY ?commonSuperclass\nLIMIT 1", "paraphrases": ["What shared administrative or political category includes both Iran and the city of Nice?", "What is the highest-level common classification for Iran and Nice in Wikidata\u2019s hierarchy?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q794> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q33959> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7822", "question": "What is the most specific shared category in the hierarchy that includes both Hungary and Wall Street?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?common WHERE {\n  wd:Q6256 wdt:P279 * ?common .\n  FILTER EXISTS {\n    wd:Q79007 wdt:P279 * ?common\n  }\n}\nORDER BY ?common\nLIMIT 1", "paraphrases": ["Which class is the closest common ancestor in the subclass tree for Hungary and Wall Street?", "Find the entity that is a superclass of both the class of Hungary and the class of Wall Street, with the shortest combined path length."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q28> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q11690> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7823", "question": "What is the most specific class that is a superclass of both a town hall and a country in the Wikidata hierarchy?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?superclass WHERE {\n  wd:Q25550691 wdt:P279 * ?superclass .\n  wd:Q6256 wdt:P279 * ?superclass .\n}\nORDER BY ?superclass\nLIMIT 1", "paraphrases": ["Find a common superclass in the subclass hierarchy between Houston City Hall and France.", "Which entity is the closest common ancestor in the 'subclass of' hierarchy between a town hall and a country?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1631477> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q142> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7824", "question": "What is the most general category that both Seattle and Wall Street belong to in the Wikidata taxonomy?", "sparql": "SELECT ?ancestor\nWHERE {\n  wd:Q5083 wdt:P31 ?type_seattle .\n  wd:Q11690 wdt:P31 ?type_wallstreet .\n  ?type_seattle wdt:P279* ?ancestor .\n  ?type_wallstreet wdt:P279* ?ancestor .\n}\nLIMIT 1", "paraphrases": ["What is the highest-level common class that includes both the city of Seattle and the street Wall Street?", "In the hierarchy of types, what is the broadest category that encompasses both Seattle and Wall Street?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q5083> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q11690> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7825", "question": "What is the most specific category that includes both Hollywood and Seoul?", "sparql": "SELECT ?label WHERE { wd:Q486972 rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["What do Hollywood and Seoul have in common in terms of their classification in Wikidata?", "What is the common superclass of the neighborhood Hollywood and the capital city Seoul?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q34006> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q8684> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7826", "question": "What is the highest-level administrative region that both South Dakota and Minneapolis belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?common WHERE {\n  wd:Q1211 wdt:P131 * ?common .\n  wd:Q36091 wdt:P131 * ?common .\n  FILTER(?common != wd:Q1211 && ?common != wd:Q36091)\n}\nLIMIT 1", "paraphrases": ["Which country contains both the state of South Dakota and the city of Minneapolis?", "Find the most specific geographic entity that includes both South Dakota and Minneapolis."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1211> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q36091> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7827", "question": "Words that mean \"child\" in any language", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?term ?label WHERE {\n  ?term wdt:P31 wd:Q7569 .\n  ?term rdfs:label ?label .\n}\nLIMIT 100", "paraphrases": ["What are the terms in different languages that refer to a child?", "List all the words from different languages that are classified as \"child\" in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7569> . } LIMIT 100"}}
{"id": "test_7828", "question": "What is the most specific category that both Afghanistan and Harvey Weinstein belong to?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonSuperclass ?label WHERE {\n  VALUES ?commonSuperclass {\n    wd:Q103940464\n  }\n  ?commonSuperclass rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["What philosophical category do a country like Afghanistan and a human like Harvey Weinstein share?", "What is the highest-level common class in Wikidata that includes both sovereign states and humans?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q889> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q531599> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7829", "question": "What is the most specific common category that both Croydon and Intel belong to?", "sparql": "SELECT ?lca ?lcaLabel WHERE {\n  wd:Q2213391 wdt:P31 ?type1 .\n  wd:Q248 wdt:P31 ?type2 .\n  ?type1 wdt:P279* wd:Q103940464 .\n  ?type2 wdt:P279* wd:Q103940464 .\n  BIND(wd:Q103940464 AS ?lca)\n  ?lca rdfs:label ?lcaLabel .\n  FILTER(LANG(?lcaLabel) = \"en\")\n} LIMIT 1", "paraphrases": ["What abstract category do Croydon and Intel share in Wikidata's taxonomy?", "What is the least common ancestor of Croydon and Intel in terms of their types?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2213391> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q248> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7830", "question": "What is the most specific common subclass of humans and countries?", "sparql": "SELECT ?commonAncestor (?dist1 + ?dist2 AS ?totalDistance)\nWHERE {\n  {\n    SELECT ?commonAncestor (COUNT(?mid1) AS ?dist1)\n    WHERE {\n      wd:Q5 wdt:P279+ ?mid1 .\n      ?mid1 wdt:P279* ?commonAncestor .\n    }\n    GROUP BY ?commonAncestor\n  }\n  {\n    SELECT ?commonAncestor (COUNT(?mid2) AS ?dist2)\n    WHERE {\n      wd:Q3624078 wdt:P279+ ?mid2 .\n      ?mid2 wdt:P279* ?commonAncestor .\n    }\n    GROUP BY ?commonAncestor\n  }\n}\nORDER BY ASC(?totalDistance)\nLIMIT 1", "paraphrases": ["Which entity is the closest common ancestor in the subclass hierarchy between a human like Michael Sheen and a country like Russia?", "Find the entity that is a subclass of both the class of Michael Sheen and the class of Russia, with the smallest total distance in the subclass tree."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q298276> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q159> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7831", "question": "What is the most general category that both Bitcoin and Boko Haram belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonAncestor ?label WHERE {\n  wd:Q212372 wdt:P31 ?type1 .\n  ?type1 wdt:P279 * ?commonAncestor .\n  FILTER EXISTS {\n    wd:Q131723 wdt:P31 ?type2 .\n    ?type2 wdt:P279 * ?commonAncestor .\n  }\n  OPTIONAL {\n    ?commonAncestor rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n}\nORDER BY ?commonAncestor\nLIMIT 1", "paraphrases": ["What do Bitcoin and Boko Haram have in common in terms of their classification in Wikidata?", "Are there any shared superclass relationships between Bitcoin and Boko Haram in Wikidata\u2019s ontology?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q212372> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q131723> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7832", "question": "What is the most central class in Wikidata's hierarchy that both Quentin Tarantino and Falcon Heavy belong to, based on their shortest paths through subclass relationships?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?ancestor ?dist1 ?dist2 ( ?dist1 + ?dist2 AS ?totalDist ) WHERE {\n  {\n    SELECT ?ancestor ( COUNT( ?mid ) AS ?dist1 ) WHERE {\n      wd:Q3772 wdt:P31 ?class1 .\n      ?class1 wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n  {\n    SELECT ?ancestor ( COUNT( ?mid ) AS ?dist2 ) WHERE {\n      wd:Q1093627 wdt:P31 ?class2 .\n      ?class2 wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n}\nORDER BY ASC ( ?totalDist )\nLIMIT 1", "paraphrases": ["Which entity is the closest common ancestor in the subclass tree for the human Quentin Tarantino and the rocket Falcon Heavy, measured by the sum of their path lengths?", "Find the shared superclass of Quentin Tarantino and Falcon Heavy that minimizes the total number of subclass steps from each, and return the distances from both."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3772> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1093627> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7833", "question": "What is the most specific category that both Apple and China belong to?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonSuperclass ?commonSuperclassLabel WHERE {\n  wd:Q312 wdt:P31 ?appleClass .\n  wd:Q148 wdt:P31 ?chinaClass .\n  ?appleClass wdt:P279 ?mid1 .\n  ?mid1 wdt:P279 ?commonSuperclass .\n  ?chinaClass wdt:P279 ?mid2 .\n  ?mid2 wdt:P279 ?commonSuperclass .\n  ?commonSuperclass rdfs:label ?commonSuperclassLabel .\n  FILTER ( LANG( ?commonSuperclassLabel ) = \"en\" )\n}\nLIMIT 1", "paraphrases": ["What do Apple and China have in common in terms of their classification in Wikidata?", "Which legal or organizational category includes both corporations like Apple and sovereign states like China?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q312> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q148> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7834", "question": "Show different Wikimedia project category names for User ru-1 that match the language of the Wikidata label but differ in wording.", "sparql": "SELECT ?label ?pageTitle WHERE { VALUES ?item { wd:Q6474435 } ?item wdt:P31 wd:Q20010800 . ?item rdfs:label ?label . ?page schema:about ?item ; schema:name ?pageTitle . FILTER (LANG(?pageTitle) = LANG(?label)) FILTER (?pageTitle != ?label) }", "paraphrases": ["For the Wikidata item representing the \"User ru-1\" category, which Wikimedia project pages have titles in the same language as the item\u2019s label but use different wording?", "List all language-specific page titles on Wikimedia projects (like Wikipedia) for the \"User ru-1\" category that are in the same language as the Wikidata label but are not identical to it."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { VALUES ( ?var4 ) { ( <http://www.wikidata.org/entity/Q6474435> ) } BIND ( LANG ( ?var2Label ) AS ?var1 ). ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q20010800> . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var5 <http://schema.org/about> ?var4 . ?var5 <http://schema.org/name> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = LANG ( ?var2Label ) ) ) ) . FILTER ( ( ( ?var3 != ?var2Label ) ) ) . }"}}
{"id": "test_7835", "question": "What are the English Wikipedia pages for things located in Nuremberg?", "sparql": "SELECT ?item ?itemLabel ?wikipediaPage WHERE { ?item wdt:P131 wd:Q2090 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") ?wikipediaPage schema:about ?item ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> . }", "paraphrases": ["Which items in Nuremberg have English Wikipedia articles and what are their labels?", "List the English labels and corresponding English Wikipedia pages for all entities located in Nuremberg."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( SAMPLE ( ?var2 ) AS ?var2 ) ?var3 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerWest> \"POINT(12 49)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerEast> \"POINT(12 49)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> \"en\". ?var3 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var1Label ?var3"}}
{"id": "test_7836", "question": "What are the federal states of Germany?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?state ?stateLabel WHERE {\n  wd:Q183 wdt:P150 ?state .\n  ?state rdfs:label ?stateLabel .\n  FILTER ( LANG( ?stateLabel ) = \"en\" )\n}", "paraphrases": ["Which administrative divisions does Germany have?", "List the names of the 16 states that make up Germany in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q183> <http://www.wikidata.org/prop/direct/P150> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_7837", "question": "Hebrew-labeled places of death with Hebrew descriptions in Wikidata", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?deathPlace ?label ?description WHERE {\n  ?person wdt:P20 ?deathPlace .\n  ?deathPlace rdfs:label ?label .\n  ?deathPlace schema:description ?description .\n  FILTER(LANG(?label) = \"he\")\n  .\n  FILTER(LANG(?description) = \"he\")\n}\nLIMIT 100", "paraphrases": ["Which places of death have both a Hebrew label and a Hebrew description on Wikidata?", "Show me places where people died, that are labeled and described in Hebrew on Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P20> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"he\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"he\" ) ) ) . } LIMIT 100"}}
{"id": "test_7838", "question": "Members of the Red Hot Chili Peppers in alphabetical order.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?member ?memberLabel WHERE {\n  wd:Q10708 wdt:P527 ?member .\n  ?member rdfs:label ?memberLabel .\n  FILTER ( LANGMATCHES( LANG( ?memberLabel ) , \"en\" ) )\n}\nORDER BY ASC ( ?memberLabel )", "paraphrases": ["Who are the members of the Red Hot Chili Peppers, sorted alphabetically by name?", "List the English names of all members of the Red Hot Chili Peppers in alphabetical order."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { <http://www.wikidata.org/entity/Q10708> <http://www.wikidata.org/prop/direct/P527> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en,de\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_7839", "question": "Which entities on Wikidata have Twitter usernames cgpgrey, Wix, or zerohedge?", "sparql": "SELECT ?item ?username ?label WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"cgpgrey\" \"Wix\" \"zerohedge\" } OPTIONAL { ?item rdfs:label ?label . FILTER(LANG(?label) = \"en\") } } ORDER BY ?username", "paraphrases": ["Who or what are the Wikidata items associated with the Twitter handles cgpgrey, Wix, and zerohedge?", "Show me the entities linked to the Twitter accounts cgpgrey, Wix, and zerohedge, along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"Pymouss\" ) ( \"string1\" ) ( \"INPIFrance\" ) ( \"Ouest\" ) ( \"string2\" ) ( \"cgpgrey\" ) ( \"karenanya\" ) ( \"string3\" ) ( \"string4\" ) ( \"Dareboost\" ) ( \"string5\" ) ( \"PoulpyWP\" ) ( \"JennChubb\" ) ( \"string6\" ) ( \"pennyb\" ) ( \"string7\" ) ( \"LaFTRSM\" ) ( \"string8\" ) ( \"NantesTech\" ) ( \"string9\" ) ( \"LizzieGadd\" ) ( \"numerennes\" ) ( \"MedStMalo\" ) ( \"string10\" ) ( \"JeanFred\" ) ( \"string11\" ) ( \"raydacteur\" ) ( \"string12\" ) ( \"string13\" ) ( \"string14\" ) ( \"rmounce\" ) ( \"ruthej\" ) ( \"PaperFury\" ) ( \"andwor\" ) ( \"acherm\" ) ( \"Wix\" ) ( \"EdKrassen\" ) ( \"dannykay68\" ) ( \"string15\" ) ( \"string16\" ) ( \"string17\" ) ( \"string18\" ) ( \"string19\" ) ( \"Lepsyleon\" ) ( \"string20\" ) ( \"ODEM_IO\" ) ( \"Ayack_fr\" ) ( \"string21\" ) ( \"WiciCymru\" ) ( \"string22\" ) ( \"zerohedge\" ) ( \"rdeveaud\" ) ( \"epuisette\" ) ( \"string23\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_7840", "question": "List heritage buildings in Helsinki with their RKY ID and coordinates.", "sparql": "PREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT DISTINCT ?item ?parent ?rky_id ?lat ?long WHERE {\n  {\n    ?item wdt:P361 ?parent .\n    ?parent wdt:P4009 ?rky_id .\n  } UNION {\n    ?item wdt:P4009 ?rky_id .\n  }\n  ?item wdt:P131 * wd:Q1757 .\n  OPTIONAL {\n    ?item p:P625 ?statement .\n    ?statement psv:P625 ?wikibaseValue .\n    ?wikibaseValue wikibase:geoLatitude ?lat .\n    ?wikibaseValue wikibase:geoLongitude ?long .\n  }\n}\nORDER BY ASC ( ?rky_id )", "paraphrases": ["What are the heritage sites in Helsinki, their parent complexes (if any), their RKY national heritage IDs, and their geographic coordinates?", "Please provide a list of all built heritage items in Helsinki, including their RKY identification numbers and GPS coordinates, sorted by RKY ID. Include which larger complex each item belongs to, if applicable."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3Label ( SUBSTR ( STR ( ?var1 ) ,\"32\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"250\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var4 ) ?var1Label ?var5 ?var6 ?var7 ?var8 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P361> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P4009> ?var6 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P4009> ?var6 . } ?var1 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q1757> . OPTIONAL { ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P170> *) ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P170> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/P625> ?var9 . ?var9 <http://www.wikidata.org/prop/statement/value/P625> ?var10 . ?var10 <http://wikiba.se/ontology#geoLatitude> ?var7 . ?var10 <http://wikiba.se/ontology#geoLongitude> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fi\". } } ORDER BY ASC( ?var6 )ASC( ?var5 )"}}
{"id": "test_7841", "question": "What is the most specific professional category that both Christian Horner and Harvey Weinstein share through their occupations?", "sparql": "SELECT ?commonClass WHERE { wd:Q173472 wdt:P106 ?occ1 . ?occ1 wdt:P279 ?super1 . ?super1 wdt:P279 ?commonClass . wd:Q531599 wdt:P106 ?occ2 . ?occ2 wdt:P279 ?super2 . ?super2 wdt:P279 ?commonClass . FILTER(?commonClass != wd:Q5) } LIMIT 1", "paraphrases": ["What common managerial role encompasses both the team management of Christian Horner and the film production leadership of Harvey Weinstein?", "Through their job roles, what higher-level category do Christian Horner and Harvey Weinstein both belong to?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q173472> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q531599> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7842", "question": "What is the most specific category that both Uma Thurman and the Cleveland Guardians belong to?", "sparql": "SELECT ?commonClass (COUNT(?instance) AS ?instanceCount) WHERE { wd:Q125017 wdt:P31 ?type1 . ?type1 wdt:P279* ?commonClass . wd:Q642553 wdt:P31 ?type2 . ?type2 wdt:P279* ?commonClass . ?instance wdt:P31 ?commonClass . } GROUP BY ?commonClass ORDER BY ASC(?instanceCount) LIMIT 1", "paraphrases": ["Find the narrowest class that is a superclass of both Uma Thurman and the Cleveland Guardians via Wikidata\u2019s subclass hierarchy.", "Which class, shared by Uma Thurman and the Cleveland Guardians, has the fewest members in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q125017> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q642553> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7843", "question": "What is the most specific category that both a human and an organization belong to in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?commonTypeLabel WHERE {\n  wd:Q106559804 rdfs:label ?commonTypeLabel .\n  FILTER ( LANG( ?commonTypeLabel ) = \"en\" )\n}", "paraphrases": ["What is the common superclass that includes both people and organizations?", "What category in Wikidata encompasses both individuals like Benjamin Netanyahu and entities like SpaceX?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q193701> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q43723> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7844", "question": "What is the English label and description of the entity with YSO ID 107892?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P2347 \"107892\" .\n  OPTIONAL {\n    ?item rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["What is the name and description in English of the place identified by YSO ID 107892?", "Please provide the English name and description of the town with YSO ID 107892."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2347> \"107892\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7845", "question": "What is the most specific category that both Afghanistan and Amy Tan belong to?", "sparql": "SELECT ?common WHERE { wd:Q889 wdt:P31 ?type1 . wd:Q234989 wdt:P31 ?type2 . ?type1 wdt:P279* ?common . ?type2 wdt:P279* ?common . } ORDER BY ?common LIMIT 1", "paraphrases": ["What do Afghanistan and Amy Tan have in common in terms of their classification in Wikidata?", "Which top-level class includes both countries and humans according to Wikidata\u2019s ontology?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q889> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q234989> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7846", "question": "All entities that are actors or subclasses of actors", "sparql": "SELECT ?actor WHERE { ?actor (wdt:P31/wdt:P279*) wd:Q33999 .}", "paraphrases": ["What are all the types of actors and people who are actors in Wikidata?", "List all entities classified as actors or any of their subtypes."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q4677712> . }"}}
{"id": "test_7847", "question": "What are the main categories that Ben Roethlisberger and York County, Maine belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?entity ?class ?label WHERE {\n  VALUES ?entity {\n    wd:Q537679 wd:Q390141\n  }\n  ?entity wdt:P31 ?class .\n  ?class rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nORDER BY ?entity", "paraphrases": ["What types are Ben Roethlisberger and York County, Maine classified as in Wikidata?", "Can you list the instance-of classes for Ben Roethlisberger and York County, Maine in English?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q537679> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q390141> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7848", "question": "Who are the members of the Royal Society and when did they join, ordered from youngest to oldest?", "sparql": "SELECT ?person ?organization ?membershipDate ?birthDate WHERE { ?person wdt:P31 wd:Q5 . ?person p:P463 ?statement . ?statement ps:P463 ?organization ; pq:P585 ?membershipDate . ?organization wdt:P279* wd:Q123885 . OPTIONAL { ?person wdt:P569 ?birthDate . } } ORDER BY DESC(?birthDate)", "paraphrases": ["List all human fellows of the Royal Society along with their membership dates and, if available, their birth dates, sorted by birth year in descending order.", "Which scientists are members of the Royal Society, when did they become members, and when were they born?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P463> ?var2 ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var2 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q123885> ; <http://www.wikidata.org/prop/qualifier/P585> ?var3 . OPTIONAL { ?var3 <http://www.wikidata.org/prop/qualifier/P585> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var4 )"}}
{"id": "test_7849", "question": "What is the most general category that both Isaac Luria and the Erie Times-News belong to, based on their classification hierarchy?", "sparql": "SELECT ?ancestor ( ( COALESCE(?dist1, 0) + COALESCE(?dist2, 0) ) AS ?totalDistance ) WHERE { { SELECT ?ancestor (COUNT(?mid1) AS ?dist1) WHERE { wd:Q339509 wdt:P31 ?class1 . ?class1 wdt:P279+ ?mid1 . ?mid1 wdt:P279* ?ancestor . } GROUP BY ?ancestor } { SELECT ?ancestor (COUNT(?mid2) AS ?dist2) WHERE { wd:Q5388342 wdt:P31 ?class2 . ?class2 wdt:P279+ ?mid2 . ?mid2 wdt:P279* ?ancestor . } GROUP BY ?ancestor } } ORDER BY ASC(?totalDistance) LIMIT 1", "paraphrases": ["Which entity is the closest common ancestor in the subclass tree for Isaac Luria and the Erie Times-News newspaper?", "Find the entity with the smallest total subclass distance from both Isaac Luria and the Erie Times-News."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q339509> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q5388342> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7850", "question": "What country connects Delta Air Lines and York County through their headquarters and location?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?country(?distDelta + ?distYork AS ?totalDist) WHERE {\n  wd:Q188920 wdt:P159 ?cityDelta .\n  ?cityDelta wdt:P17 ?country .\n  BIND(2 AS ?distDelta)\n  wd:Q390141 wdt:P131 ?stateYork .\n  ?stateYork wdt:P17 ?country .\n  BIND(2 AS ?distYork)\n}\nORDER BY ASC(?totalDist)\nLIMIT 1", "paraphrases": ["Which country is both the headquarters country of Delta Air Lines and the location country of York County?", "Find the country that links Delta Air Lines and York County via their respective geographic connections, and show the total path length."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q188920> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q390141> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7851", "question": "What is the most specific biological category that both Matthew C. Perry and Margot Robbie belong to, based on their classification hierarchy?", "sparql": "SELECT ?commonClass (MIN(?dist1) + MIN(?dist2) AS ?totalDistance)\nWHERE {\n  {\n    SELECT ?commonClass (COUNT(?mid1) AS ?dist1)\n    WHERE {\n      wd:Q61855 wdt:P31 ?type1 .\n      ?type1 wdt:P279+ ?mid1 .\n      ?mid1 wdt:P279* ?commonClass .\n    }\n    GROUP BY ?commonClass\n  }\n  \n  {\n    SELECT ?commonClass (COUNT(?mid2) AS ?dist2)\n    WHERE {\n      wd:Q1924847 wdt:P31 ?type2 .\n      ?type2 wdt:P279+ ?mid2 .\n      ?mid2 wdt:P279* ?commonClass .\n    }\n    GROUP BY ?commonClass\n  }\n}\nGROUP BY ?commonClass\nORDER BY ASC(?totalDistance)\nLIMIT 1", "paraphrases": ["Which superclass is closest to both Margot Robbie and Matthew C. Perry in the Wikidata taxonomy, and how far is it from each of their direct types?", "Find the common ancestor class in the subclass hierarchy that minimizes the total distance from both Margot Robbie and Matthew C. Perry\u2019s direct types."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q61855> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1924847> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7852", "question": "List of corporate groups and their subclasses on Wikidata", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?corporateGroup WHERE {\n  ?corporateGroup ( wdt:P31 / wdt:P279 * ) wd:Q197952 .\n}", "paraphrases": ["What are all the corporate groups and their subtypes in Wikidata?", "Show me all organizations that are corporate groups or belong to the corporate group category."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q197952> . }"}}
{"id": "test_7853", "question": "What is the most specific category that both Margot Robbie and Goldman Sachs belong to?", "sparql": "SELECT ?commonAncestor WHERE { wd:Q1924847 wdt:P31 ?class1 . wd:Q193326 wdt:P31 ?class2 . ?class1 wdt:P279* ?commonAncestor . ?class2 wdt:P279* ?commonAncestor . FILTER (?commonAncestor = wd:Q35120) }", "paraphrases": ["What is the common superclass in the Wikidata ontology for the human Margot Robbie and the company Goldman Sachs?", "Find the most abstract class that is a superclass of both the class of Margot Robbie and the class of Goldman Sachs."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1924847> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q193326> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7854", "question": "Top subjects of Dave Goulson\u2019s publications, with how many works per subject and truncated titles.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?count ?subjectLabel ?workTitleSubstring WHERE {\n  {\n    SELECT ?subject ( COUNT( ?work ) AS ?count ) WHERE {\n      ?work wdt:P50 wd:Q17285396 .\n      ?work wdt:P921 ?subject .\n    }\n    GROUP BY ?subject\n  }\n  ?work wdt:P50 wd:Q17285396 .\n  ?work wdt:P921 ?subject .\n  ?subject rdfs:label ?subjectLabel .\n  FILTER ( LANG( ?subjectLabel ) = \"en\" ) .\n  ?work rdfs:label ?workLabel .\n  FILTER ( LANG( ?workLabel ) = \"en\" ) .\n  BIND( SUBSTR( ?workLabel , 1 , 60 ) AS ?workTitleSubstring )\n}\nORDER BY DESC ( ?count )", "paraphrases": ["What are the main topics of Dave Goulson\u2019s scientific works, how many works does he have on each topic, and what are the titles of those works?", "List all works authored by Dave Goulson, showing the frequency of each main subject, the subject\u2019s name in English, and the first 60 characters of each work\u2019s title."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label WHERE { { SELECT ?var4 ( COUNT ( ?var5 ) AS ?var1 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q17285396> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . } GROUP BY ?var4 ORDER BY DESC( ?var1 ) } BIND ( SUBSTR ( ?var6Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q17285396> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . }"}}
{"id": "test_7855", "question": "What is the most specific shared category between Dundee United F.C. and the Arizona Cardinals?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestor ?label WHERE {\n  wd:Q192873 wdt:P31 ?type1 .\n  wd:Q224164 wdt:P31 ?type2 .\n  ?type1 wdt:P279 * wd:Q17270000 .\n  ?type2 wdt:P279 * wd:Q17270000 .\n  wd:Q17270000 rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}", "paraphrases": ["What type of organization do both Dundee United F.C. and the Arizona Cardinals belong to?", "What is the common superclass in the hierarchy for association football clubs and American football teams?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q192873> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q224164> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7856", "question": "What is the most closely related abstract category that both Brazil and NHK belong to through their class hierarchies?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?entity(?dist1 + ?dist2 AS ?totalDistance) WHERE {\n  {\n    SELECT ?entity(COUNT(?mid) AS ?dist1) WHERE {\n      VALUES ?brazilClass {\n        wd:Q3624078 wd:Q512187 wd:Q6256 wd:Q7378937 wd:Q859563\n      }\n      ?brazilClass wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?entity .\n    }\n    GROUP BY ?entity\n  }\n  {\n    SELECT ?entity(COUNT(?mid) AS ?dist2) WHERE {\n      VALUES ?nhkClass {\n        wd:Q1126006 wd:Q14350 wd:Q1616075\n      }\n      ?nhkClass wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?entity .\n    }\n    GROUP BY ?entity\n  }\n  FILTER(?entity != wd:Q3624078)\n  FILTER(?entity != wd:Q512187)\n  FILTER(?entity != wd:Q6256)\n  FILTER(?entity != wd:Q7378937)\n  FILTER(?entity != wd:Q859563)\n  FILTER(?entity != wd:Q1126006)\n  FILTER(?entity != wd:Q14350)\n  FILTER(?entity != wd:Q1616075)\n}\nORDER BY ASC(?totalDistance)\nLIMIT 1", "paraphrases": ["Which entity in the Wikidata subclass hierarchy is shortest-path-wise closest to both Brazil and NHK?", "What is the common superclass that Brazil and NHK are most connected to via subclass relationships?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q155> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q212128> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7857", "question": "What is the most specific category that both Apple and Florida belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label WHERE {\n  wd:Q312 wdt:P31 ?appleType .\n  wd:Q812 wdt:P31 ?floridaType .\n  ?appleType wdt:P279 * wd:Q155076 .\n  ?floridaType wdt:P279 * wd:Q155076 .\n  wd:Q155076 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["What common superclass do Apple and Florida share in the Wikidata hierarchy?", "Which entity class encompasses both Apple and Florida through their types?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q312> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q812> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7858", "question": "What is the most specific category that both Shinz\u014d Abe and All Nippon Airways belong to in the Wikidata hierarchy?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonAncestor ?label WHERE {\n  wd:Q132345 wdt:P31 / wdt:P279 * ?ancestor1 .\n  wd:Q204284 wdt:P31 / wdt:P279 * ?ancestor2 .\n  FILTER(?ancestor1 = ?ancestor2)\n  BIND(?ancestor1 AS ?commonAncestor)\n  ?commonAncestor rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nORDER BY ?label\nLIMIT 1", "paraphrases": ["What do Shinz\u014d Abe and All Nippon Airways have in common in terms of their class hierarchy?", "Find the closest shared ancestor in the subclass tree between the human Shinz\u014d Abe and the airline All Nippon Airways."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q204284> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q132345> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7859", "question": "What is the common category for the Liberal Democratic Party and the band Neu!?", "sparql": "SELECT ?commonAncestor ?label WHERE { wd:Q232595 wdt:P31 ?type1 . wd:Q181874 wdt:P31 ?type2 . ?type1 wdt:P279* wd:Q43229 . ?type2 wdt:P279* wd:Q43229 . wd:Q43229 rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["What is the most specific category that both the Liberal Democratic Party and the band Neu! belong to?", "Find the lowest-level superclass shared by the Liberal Democratic Party and the musical group Neu!."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q232595> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q181874> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7860", "question": "What is the most specific category that both Microsoft and Native Americans belong to, based on their classification hierarchy?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestor(?dist1 + ?dist2 AS ?totalDist) WHERE {\n  {\n    SELECT ?ancestor ?dist1 WHERE {\n      {\n        VALUES ?ms_instance {\n          wd:Q1058914 wd:Q18388277 wd:Q43229 wd:Q4830453 wd:Q891723\n        }\n        ?ms_instance wdt:P279 ?ancestor .\n        BIND(1 AS ?dist1)\n      } UNION {\n        VALUES ?ms_instance {\n          wd:Q1058914 wd:Q18388277 wd:Q43229 wd:Q4830453 wd:Q891723\n        }\n        ?ms_instance wdt:P279 / wdt:P279 ?ancestor .\n        BIND(2 AS ?dist1)\n      } UNION {\n        VALUES ?ms_instance {\n          wd:Q1058914 wd:Q18388277 wd:Q43229 wd:Q4830453 wd:Q891723\n        }\n        ?ms_instance wdt:P279 / wdt:P279 / wdt:P279 ?ancestor .\n        BIND(3 AS ?dist1)\n      } UNION {\n        VALUES ?ms_instance {\n          wd:Q1058914 wd:Q18388277 wd:Q43229 wd:Q4830453 wd:Q891723\n        }\n        ?ms_instance wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 ?ancestor .\n        BIND(4 AS ?dist1)\n      } UNION {\n        VALUES ?ms_instance {\n          wd:Q1058914 wd:Q18388277 wd:Q43229 wd:Q4830453 wd:Q891723\n        }\n        ?ms_instance wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 ?ancestor .\n        BIND(5 AS ?dist1)\n      } UNION {\n        VALUES ?ms_instance {\n          wd:Q1058914 wd:Q18388277 wd:Q43229 wd:Q4830453 wd:Q891723\n        }\n        ?ms_instance wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 ?ancestor .\n        BIND(6 AS ?dist1)\n      } UNION {\n        VALUES ?ms_instance {\n          wd:Q1058914 wd:Q18388277 wd:Q43229 wd:Q4830453 wd:Q891723\n        }\n        ?ms_instance wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 ?ancestor .\n        BIND(7 AS ?dist1)\n      } UNION {\n        VALUES ?ms_instance {\n          wd:Q1058914 wd:Q18388277 wd:Q43229 wd:Q4830453 wd:Q891723\n        }\n        ?ms_instance wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 ?ancestor .\n        BIND(8 AS ?dist1)\n      } UNION {\n        VALUES ?ms_instance {\n          wd:Q1058914 wd:Q18388277 wd:Q43229 wd:Q4830453 wd:Q891723\n        }\n        ?ms_instance wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 ?ancestor .\n        BIND(9 AS ?dist1)\n      } UNION {\n        VALUES ?ms_instance {\n          wd:Q1058914 wd:Q18388277 wd:Q43229 wd:Q4830453 wd:Q891723\n        }\n        ?ms_instance wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 ?ancestor .\n        BIND(10 AS ?dist1)\n      }\n    }\n  }\n  {\n    SELECT ?ancestor ?dist2 WHERE {\n      {\n        VALUES ?na_instance {\n          wd:Q41710\n        }\n        ?na_instance wdt:P279 ?ancestor .\n        BIND(1 AS ?dist2)\n      } UNION {\n        VALUES ?na_instance {\n          wd:Q41710\n        }\n        ?na_instance wdt:P279 / wdt:P279 ?ancestor .\n        BIND(2 AS ?dist2)\n      } UNION {\n        VALUES ?na_instance {\n          wd:Q41710\n        }\n        ?na_instance wdt:P279 / wdt:P279 / wdt:P279 ?ancestor .\n        BIND(3 AS ?dist2)\n      } UNION {\n        VALUES ?na_instance {\n          wd:Q41710\n        }\n        ?na_instance wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 ?ancestor .\n        BIND(4 AS ?dist2)\n      } UNION {\n        VALUES ?na_instance {\n          wd:Q41710\n        }\n        ?na_instance wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 ?ancestor .\n        BIND(5 AS ?dist2)\n      } UNION {\n        VALUES ?na_instance {\n          wd:Q41710\n        }\n        ?na_instance wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 ?ancestor .\n        BIND(6 AS ?dist2)\n      } UNION {\n        VALUES ?na_instance {\n          wd:Q41710\n        }\n        ?na_instance wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 ?ancestor .\n        BIND(7 AS ?dist2)\n      } UNION {\n        VALUES ?na_instance {\n          wd:Q41710\n        }\n        ?na_instance wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 ?ancestor .\n        BIND(8 AS ?dist2)\n      } UNION {\n        VALUES ?na_instance {\n          wd:Q41710\n        }\n        ?na_instance wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 ?ancestor .\n        BIND(9 AS ?dist2)\n      } UNION {\n        VALUES ?na_instance {\n          wd:Q41710\n        }\n        ?na_instance wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 / wdt:P279 ?ancestor .\n        BIND(10 AS ?dist2)\n      }\n    }\n  }\n}\nORDER BY ASC(?totalDist)\nLIMIT 1", "paraphrases": ["Which subclass is closest to both Microsoft and Native Americans in the Wikidata taxonomy?", "What common ancestor in the subclass tree connects organizations like Microsoft with ethnic groups like Native Americans?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q49297> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2283> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7861", "question": "What is the most specific concept that both Earth and Rihanna are classified under in the Wikidata ontology?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?ancestor ?ancestorLabel WHERE {\n  {\n    wd:Q128207 wdt:P279 * ?ancestor .\n  } UNION {\n    wd:Q3504248 wdt:P279 * ?ancestor .\n  }\n  wd:Q5 wdt:P279 * ?ancestor .\n  ?ancestor rdfs:label ?ancestorLabel .\n  FILTER(LANG(?ancestorLabel) = \"en\")\n}\nORDER BY ?ancestor\nLIMIT 1", "paraphrases": ["Find the common superclass of the types of Earth and Rihanna, using subclass relationships.", "What is the top-level category shared by the planet Earth and the singer Rihanna?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q36844> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7862", "question": "What is the most specific category that both CBS and France belong to through their subclass hierarchies?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonClass WHERE {\n  wd:Q43380 wdt:P31 ?class1 .\n  ?class1 wdt:P279 ?mid1 .\n  ?mid1 wdt:P279 ?commonClass .\n  wd:Q142 wdt:P31 ?class2 .\n  ?class2 wdt:P279 ?mid2 .\n  ?mid2 wdt:P279 ?commonClass .\n}\nLIMIT 1", "paraphrases": ["Find a common subclass of CBS and France that is reachable within three levels of inheritance.", "Which entity is a subclass of both a media organization like CBS and a country like France?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q43380> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q142> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7863", "question": "What is the most general category that both humans and countries belong to in the Wikidata ontology?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonClass WHERE {\n  wd:Q5 wdt:P279 * ?commonClass .\n  wd:Q6256 wdt:P279 * ?commonClass .\n}\nORDER BY DESC ( ?commonClass )\nLIMIT 1", "paraphrases": ["What is the highest-level common superclass of a human and a country?", "What is the most inclusive class that includes both the type of Amy Tan and the type of Germany?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q234989> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q183> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7864", "question": "What are the common superclass entities of Crystal Palace F.C. and Arianism in the Wikidata taxonomy?", "sparql": "SELECT DISTINCT ?commonSuperclass WHERE { wd:Q19467 wdt:P31 ?class1 . wd:Q83922 wdt:P31 ?class2 . ?class1 wdt:P279* ?commonSuperclass . ?class2 wdt:P279* ?commonSuperclass . } ORDER BY ?commonSuperclass LIMIT 10", "paraphrases": ["What is the most general category that both Crystal Palace F.C. and Arianism belong to through their class hierarchies?", "Which entities are ancestors of both the association football club Crystal Palace F.C. and the religious belief Arianism via subclass relationships?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q19467> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q83922> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7865", "question": "What is the most specific shared category (in the taxonomy) between Rihanna and Ban Ki-moon?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonAncestor(?distRihanna + ?distBan AS ?totalDistance) WHERE {\n  {\n    SELECT ?commonAncestor(COUNT(?step) AS ?distRihanna) WHERE {\n      wd:Q36844 wdt:P31 ?classRihanna .\n      ?classRihanna wdt:P279 + ?step .\n      ?step wdt:P279 * ?commonAncestor .\n    }\n    GROUP BY ?commonAncestor\n  }\n  {\n    SELECT ?commonAncestor(COUNT(?step) AS ?distBan) WHERE {\n      wd:Q1253 wdt:P31 ?classBan .\n      ?classBan wdt:P279 + ?step .\n      ?step wdt:P279 * ?commonAncestor .\n    }\n    GROUP BY ?commonAncestor\n  }\n  FILTER(?commonAncestor = ?commonAncestor)\n}\nORDER BY ASC(?totalDistance)\nLIMIT 1", "paraphrases": ["How many subclass steps away is the closest common ancestor of Rihanna and Ban Ki-moon, and what is it?", "Find the most closely related taxonomic class that both Rihanna and Ban Ki-moon belong to, based on their direct types and their subclass hierarchy."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q36844> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1253> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7866", "question": "What category do both Sioux Falls and Baoding belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?class ?classLabel WHERE {\n  wd:Q131335 wdt:P31 ?class .\n  wd:Q58584 wdt:P31 ?class .\n  ?class rdfs:label ?classLabel .\n  FILTER(LANG(?classLabel) = \"en\")\n}", "paraphrases": ["What is the common class that includes both Sioux Falls and Baoding as instances?", "Which category is shared by the cities of Sioux Falls and Baoding in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q131335> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q58584> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7867", "question": "What is the most specific shared category between Queens and Maiduguri in Wikidata's taxonomy?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestor(?distQueens + ?distMaiduguri AS ?totalDist) WHERE {\n  {\n    SELECT ?ancestor(COUNT(?mid) AS ?distQueens) WHERE {\n      wd:Q18424 wdt:P31 ?class1 .\n      ?class1 wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?ancestor .\n      FILTER(?mid != ?ancestor)\n    }\n    GROUP BY ?ancestor\n  }\n  {\n    SELECT ?ancestor(COUNT(?mid) AS ?distMaiduguri) WHERE {\n      wd:Q221436 wdt:P31 ?class2 .\n      ?class2 wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?ancestor .\n      FILTER(?mid != ?ancestor)\n    }\n    GROUP BY ?ancestor\n  }\n}\nORDER BY ASC(?totalDist)\nLIMIT 1", "paraphrases": ["Which class is the closest common ancestor of Queens and Maiduguri when tracing their subclass hierarchies?", "Find the entity that is the most specific shared superclass of any class that Queens and Maiduguri belong to, based on the fewest subclass hops combined."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q18424> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q221436> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7868", "question": "What is the most specific category that includes both Manhattan and Latin America?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonLabel WHERE {\n  wd:Q27096213 rdfs:label ?commonLabel .\n  FILTER ( LANG( ?commonLabel ) = \"en\" )\n}", "paraphrases": ["What do Manhattan and Latin America have in common in terms of classification in Wikidata?", "What is the common superclass of Manhattan and Latin America in the Wikidata ontology?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q11299> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q12585> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7869", "question": "Which properties in Russian describe entities as parts in Wikidata?", "sparql": "SELECT ?propItem ?propLabel ?propDescription WHERE { ?item ?prop wd:Q15989253 . ?propItem wikibase:directClaim ?prop . ?propItem rdfs:label ?propLabel . ?propItem schema:description ?propDescription . FILTER(LANG(?propLabel) = \"ru\") FILTER(LANG(?propDescription) = \"ru\") } LIMIT 100", "paraphrases": ["What are the Russian labels and descriptions of properties that relate things to the concept of \"part\"?", "Show me the Russian-language labels and descriptions of all properties used to classify entities as parts in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q15989253> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"ru\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"ru\" ) ) ) . } LIMIT 100"}}
{"id": "test_7870", "question": "What is the most common category that both Washington, D.C. and Kazakhstan belong to?", "sparql": "SELECT ?commonClass WHERE { wd:Q257391 wdt:P279* ?commonClass . wd:Q6256 wdt:P279* ?commonClass . ?instance wdt:P31 ?commonClass . } GROUP BY ?commonClass ORDER BY DESC(COUNT(?instance)) LIMIT 1", "paraphrases": ["What shared classification do the United States capital and Kazakhstan have in Wikidata?", "Which entity type encompasses both federal capitals and sovereign states according to Wikidata\u2019s hierarchy?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q61> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q232> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7871", "question": "What is the most specific category that both Arizona and New Zealand belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?ancestor ?ancestorLabel WHERE {\n  wd:Q816 wdt:P31 ?typeAZ .\n  ?typeAZ wdt:P279 * ?ancestor .\n  wd:Q664 wdt:P31 ?typeNZ .\n  ?typeNZ wdt:P279 * ?ancestor .\n  ?ancestor rdfs:label ?ancestorLabel .\n  FILTER(LANG(?ancestorLabel) = \"en\")\n  FILTER NOT EXISTS {\n    ?otherAncestor wdt:P279 + ?ancestor .\n    wd:Q816 wdt:P31 ?typeAZ2 .\n    ?typeAZ2 wdt:P279 * ?otherAncestor .\n    wd:Q664 wdt:P31 ?typeNZ2 .\n    ?typeNZ2 wdt:P279 * ?otherAncestor .\n    ?otherAncestor rdfs:label ?otherLabel .\n    FILTER(LANG(?otherLabel) = \"en\")\n    FILTER(?otherAncestor != ?ancestor)\n  }\n}\nORDER BY ?ancestorLabel\nLIMIT 1", "paraphrases": ["What is the least common ancestor in the subclass hierarchy for Arizona and New Zealand?", "Find the most specific shared class between the U.S. state of Arizona and the country of New Zealand."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q816> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q664> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7872", "question": "What type do Arizona and Massachusetts have in common?", "sparql": "SELECT ?ancestor ?ancestorLabel WHERE { wd:Q816 wdt:P31 ?ancestor . wd:Q771 wdt:P31 ?ancestor . ?ancestor rdfs:label ?ancestorLabel . FILTER(LANG(?ancestorLabel) = \"en\")}", "paraphrases": ["What is the shared category that both Arizona and Massachusetts belong to?", "Which administrative classification is shared by the U.S. states of Arizona and Massachusetts?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q816> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q771> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7873", "question": "What is the most general category that both Kabul and the Hollywood Bowl belong to through their class hierarchies?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonAncestor WHERE {\n  wd:Q5838 wdt:P31 ?class1 .\n  wd:Q976218 wdt:P31 ?class2 .\n  ?class1 wdt:P279 * ?commonAncestor .\n  ?class2 wdt:P279 * ?commonAncestor .\n  FILTER ( ?commonAncestor = wd:Q35120 )\n}\nLIMIT 1", "paraphrases": ["What is the highest-level common superclass of the categories that Kabul and the Hollywood Bowl are instances of?", "What is the top-level entity type shared by the city of Kabul and the Hollywood Bowl concert venue?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q5838> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q976218> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7874", "question": "What is the most specific category that both Brazil and California belong to through their types?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?common WHERE {\n  wd:Q155 wdt:P31 ?type1 .\n  ?type1 wdt:P279 / wdt:P279 ?common .\n  wd:Q99 wdt:P31 ?type2 .\n  ?type2 wdt:P279 / wdt:P279 ?common .\n  FILTER(?common != wd:Q35120)\n}\nORDER BY ASC(?common)\nLIMIT 1", "paraphrases": ["Which administrative or political category is shared by Brazil and California at the highest level of specificity?", "Find the common superclass two levels above both Brazil and California in the Wikidata taxonomy."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q155> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q99> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7875", "question": "What is the most specific common superclass of Brazil and North Rhine-Westphalia in the Wikidata taxonomy?", "sparql": "SELECT ?commonAncestor ?label (COUNT(?mid) AS ?dist)\nWHERE {\n  wd:Q6256 wdt:P279+ ?mid .\n  ?mid wdt:P279* ?commonAncestor .\n  wd:Q1221156 wdt:P279* ?commonAncestor .\n  ?commonAncestor rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nGROUP BY ?commonAncestor ?label\nORDER BY ASC(?dist)\nLIMIT 1", "paraphrases": ["What political entity class do Brazil and North Rhine-Westphalia both belong to, and how many subclass steps away is it from Brazil?", "Find the closest shared ancestor in the subclass hierarchy between the country Brazil and the German state North Rhine-Westphalia."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q155> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1198> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7876", "question": "What is the most general category that both Brownsville and Kazakhstan belong to, based on their hierarchical classification?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?ancestor ( ?dist1 + ?dist2 AS ?totalDistance ) WHERE {\n  {\n    SELECT ?ancestor ?dist1 WHERE {\n      {\n        wd:Q1093829 wdt:P279 ?ancestor .\n        BIND( 1 AS ?dist1 )\n      } UNION {\n        wd:Q1093829 wdt:P279 ?p1 .\n        ?p1 wdt:P279 ?ancestor .\n        BIND( 2 AS ?dist1 )\n      } UNION {\n        wd:Q1093829 wdt:P279 ?p1 .\n        ?p1 wdt:P279 ?p2 .\n        ?p2 wdt:P279 ?ancestor .\n        BIND( 3 AS ?dist1 )\n      } UNION {\n        wd:Q1093829 wdt:P279 ?p1 .\n        ?p1 wdt:P279 ?p2 .\n        ?p2 wdt:P279 ?p3 .\n        ?p3 wdt:P279 ?ancestor .\n        BIND( 4 AS ?dist1 )\n      } UNION {\n        wd:Q1093829 wdt:P279 ?p1 .\n        ?p1 wdt:P279 ?p2 .\n        ?p2 wdt:P279 ?p3 .\n        ?p3 wdt:P279 ?p4 .\n        ?p4 wdt:P279 ?ancestor .\n        BIND( 5 AS ?dist1 )\n      }\n    }\n  }\n  {\n    SELECT ?ancestor ?dist2 WHERE {\n      {\n        wd:Q3624078 wdt:P279 ?ancestor .\n        BIND( 1 AS ?dist2 )\n      } UNION {\n        wd:Q3624078 wdt:P279 ?p1 .\n        ?p1 wdt:P279 ?ancestor .\n        BIND( 2 AS ?dist2 )\n      } UNION {\n        wd:Q3624078 wdt:P279 ?p1 .\n        ?p1 wdt:P279 ?p2 .\n        ?p2 wdt:P279 ?ancestor .\n        BIND( 3 AS ?dist2 )\n      } UNION {\n        wd:Q3624078 wdt:P279 ?p1 .\n        ?p1 wdt:P279 ?p2 .\n        ?p2 wdt:P279 ?p3 .\n        ?p3 wdt:P279 ?ancestor .\n        BIND( 4 AS ?dist2 )\n      } UNION {\n        wd:Q3624078 wdt:P279 ?p1 .\n        ?p1 wdt:P279 ?p2 .\n        ?p2 wdt:P279 ?p3 .\n        ?p3 wdt:P279 ?p4 .\n        ?p4 wdt:P279 ?ancestor .\n        BIND( 5 AS ?dist2 )\n      }\n    }\n  }\n  FILTER ( ?dist1 + ?dist2 > 0 )\n}\nORDER BY ASC ( ?totalDistance )\nLIMIT 1", "paraphrases": ["Which political entity class is the closest common ancestor in the subclass hierarchy between the city of Brownsville and the country of Kazakhstan?", "Find the highest-level shared category in Wikidata\u2019s classification system that connects Brownsville, Texas, and Kazakhstan, measured by the sum of shortest subclass paths."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q51693> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q232> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7877", "question": "What are the hierarchical categories above the type of Tucindan?", "sparql": "SELECT DISTINCT ?superclass ?superclassLabel WHERE { wd:Q4466717 wdt:P31 ?class . ?class wdt:P279* ?superclass . FILTER(?superclass != ?class) OPTIONAL { ?superclass rdfs:label ?superclassLabel . FILTER(LANG(?superclassLabel) = \"en\") } } ORDER BY ?superclass", "paraphrases": ["What classes does Tucindan belong to, and what are their broader categories in Wikidata?", "Can you list the parent classes of the category that Tucindan is an example of?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { VALUES ( ?var4 ) { ( <http://www.wikidata.org/entity/Q47574> ) ( <http://www.wikidata.org/entity/Q309314> ) } BIND ( <http://www.wikidata.org/entity/Q4466717> AS ?var1 ). ?var1 ( <http://www.wikidata.org/prop/direct/P31> ?/ <http://www.wikidata.org/prop/direct/P279> *) ?var4 . ?var2 ^ <http://www.wikidata.org/prop/direct/P279> * ?var1 . ?var3 ^ <http://www.wikidata.org/prop/direct/P279> ?var2 . ?var3 <http://www.wikidata.org/prop/direct/P279> * ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de, en\". } }"}}
{"id": "test_7878", "question": "What categories do both Houston and San Jose belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonType ?label WHERE {\n  wd:Q16555 wdt:P31 ?commonType .\n  wd:Q16553 wdt:P31 ?commonType .\n  ?commonType rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nORDER BY ?label", "paraphrases": ["What are the common types shared by the cities of Houston and San Jose?", "Which categories describe both Houston and San Jose as instances?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q16555> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q16553> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7879", "question": "Sherlock Holmes novels ordered by publication date", "sparql": "SELECT ?novelLabel WHERE { ?novel wdt:P179 wd:Q12857071 . ?novel wdt:P577 ?pubDate . ?novel rdfs:label ?novelLabel . FILTER(LANG(?novelLabel) = \"en\") } ORDER BY ASC(?pubDate)", "paraphrases": ["What are the Sherlock Holmes novels in chronological order of publication?", "List the English titles of the Sherlock Holmes novels sorted by when they were published."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P179> <http://www.wikidata.org/entity/Q12857071> . ?var1 <http://www.wikidata.org/prop/direct/:P557> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } ORDER BY ASC( ?var2 )"}}
{"id": "test_7880", "question": "Humans who are Fellows of the Royal Society and members of the Royal Society", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P166 wd:Q15631401 ; wdt:P463 wd:Q123885 ; wdt:P31 wd:Q5 .\n}\nLIMIT 10", "paraphrases": ["Who are the humans that have been awarded the title of Fellow of the Royal Society and are also members of the Royal Society?", "List 10 people who are both Fellows of the Royal Society and members of the Royal Society."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P166> <http://www.wikidata.org/entity/Q15631401> ; <http://www.wikidata.org/prop/direct/P463> ?var2 ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var2 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q123885> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\uff0cfr,sp\". } } LIMIT 10"}}
{"id": "test_7881", "question": "What is the most specific category that both Abuja and Brazil belong to in the Wikidata taxonomy?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonSuperclass(COUNT(?super) AS ?depth) WHERE {\n  wd:Q3787 wdt:P31 ?abujaType .\n  wd:Q155 wdt:P31 ?brazilType .\n  ?abujaType wdt:P279 * ?commonSuperclass .\n  ?brazilType wdt:P279 * ?commonSuperclass .\n  ?commonSuperclass wdt:P279 + ?super .\n}\nGROUP BY ?commonSuperclass\nORDER BY DESC(?depth)\nLIMIT 1", "paraphrases": ["What do the classes of Abuja and Brazil have in common at the most specific level?", "Which superclass encompasses both the type of Abuja (a federal capital) and the type of Brazil (a sovereign state)?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3787> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q155> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7882", "question": "What is the most specific shared category that both Australia and Tennessee belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?commonAncestorLabel WHERE {\n  wd:Q1048835 rdfs:label ?commonAncestorLabel .\n  FILTER ( LANG( ?commonAncestorLabel ) = \"en\" )\n}", "paraphrases": ["What is the highest-level administrative category that includes both Australia and Tennessee?", "What type of entity do Australia and Tennessee have in common in terms of their classification in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q408> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1509> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7883", "question": "What is the name and English description of the architectural structure in Ireland with NIAH ID 21517285?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P4088 \"21517285\" .\n  OPTIONAL {\n    ?item rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Can you tell me the official name and a brief description in English of the War Memorial in Limerick, identified by NIAH ID 21517285?", "Please provide the English label and description for the Irish architectural site with NIAH ID 21517285."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4088> \"21517285\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7884", "question": "What category do both Tunisia and Georgia (country) belong to?", "sparql": "SELECT ?commonType ?commonTypeLabel WHERE { wd:Q948 wdt:P31 ?commonType . wd:Q230 wdt:P31 ?commonType . ?commonType rdfs:label ?commonTypeLabel . FILTER(LANG(?commonTypeLabel) = \"en\") }", "paraphrases": ["What is the common type shared by Tunisia and the country of Georgia?", "Which class is both Tunisia and Georgia (country) an instance of?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q948> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1428> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7885", "question": "What are the three-level subclass hierarchies for units of measurement and quantities in Wikidata?", "sparql": "SELECT DISTINCT ?level1 ?level1Label ?level2 ?level2Label ?level3 ?level3Label WHERE { VALUES ?level1 { wd:Q47574 wd:Q309314 } ?level1 wdt:P279 ?level2 . ?level2 wdt:P279 ?level3 . OPTIONAL { ?level1 rdfs:label ?level1Label . FILTER(LANG(?level1Label) = \"en\") } OPTIONAL { ?level2 rdfs:label ?level2Label . FILTER(LANG(?level2Label) = \"en\") } OPTIONAL { ?level3 rdfs:label ?level3Label . FILTER(LANG(?level3Label) = \"en\") } }", "paraphrases": ["Show the parent-child-grandchild relationships for units of measurement and quantities, including their English labels.", "How are units of measurement and quantities classified in Wikidata\u2019s hierarchy, up to three levels deep?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { VALUES ( ?var4 ) { ( <http://www.wikidata.org/entity/Q47574> ) ( <http://www.wikidata.org/entity/Q309314> ) } BIND ( <http://www.wikidata.org/entity/Q27283> AS ?var1 ). ?var1 ( <http://www.wikidata.org/prop/direct/P31> ?/ <http://www.wikidata.org/prop/direct/P279> *) ?var4 . ?var2 ^ <http://www.wikidata.org/prop/direct/P279> * ?var1 . ?var3 ^ <http://www.wikidata.org/prop/direct/P279> ?var2 . ?var3 <http://www.wikidata.org/prop/direct/P279> * ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de, en\". } }"}}
{"id": "test_7886", "question": "What is the most specific category that both Pennsylvania and Latin America belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?ancestor ?ancestorLabel(COUNT(?path) AS ?depth) WHERE {\n  wd:Q35657 wdt:P279 * ?ancestor .\n  wd:Q82794 wdt:P279 * ?ancestor .\n  ?ancestor wdt:P279 * ?path .\n  ?path rdfs:label ?pathLabel .\n  FILTER(LANG(?pathLabel) = \"en\")\n  ?ancestor rdfs:label ?ancestorLabel .\n  FILTER(LANG(?ancestorLabel) = \"en\")\n}\nGROUP BY ?ancestor ?ancestorLabel\nORDER BY DESC(?depth)\nLIMIT 1", "paraphrases": ["Which geographic classification is shared as the most specific ancestor between the U.S. state of Pennsylvania and the cultural region of Latin America?", "Find the lowest common taxonomic category in Wikidata between Pennsylvania and Latin America."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1400> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q12585> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7887", "question": "What is the most specific category that both Pyongyang and Auckland belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonClass ?label WHERE {\n  wd:Q18808 wdt:P31 ?commonClass .\n  wd:Q37100 wdt:P31 ?commonClass .\n  ?commonClass rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}\nORDER BY ASC ( STRLEN( ?label ) )\nLIMIT 1", "paraphrases": ["Which class do Pyongyang and Auckland have in common?", "What type of place is both Pyongyang and Auckland an example of?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q18808> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q37100> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7888", "question": "What is the most general category that includes both humans and baseball teams?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?ancestor ?ancestorLabel WHERE {\n  wd:Q5 wdt:P279 * ?ancestor .\n  wd:Q13027888 wdt:P279 * ?ancestor .\n  ?ancestor rdfs:label ?ancestorLabel .\n  FILTER(LANG(?ancestorLabel) = \"en\")\n}\nORDER BY STRLEN(STR(?ancestor))\nLIMIT 1", "paraphrases": ["What is the highest-level class that both Diego Rivera and the Los Angeles Dodgers belong to through their types?", "Find the most abstract superclass shared by the type of Diego Rivera and the type of the Los Angeles Dodgers."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q171128> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q334634> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7889", "question": "Most specific class that both Massachusetts and Pennsylvania are instances of.", "sparql": "SELECT ?commonClass (2 AS ?totalDistance)\nWHERE {\n  wd:Q771 wdt:P31 ?commonClass .\n  wd:Q1400 wdt:P31 ?commonClass .\n}\nLIMIT 1", "paraphrases": ["What is the most specific category that both Massachusetts and Pennsylvania belong to, and what is the total number of steps from each state to that category?", "Find the common type shared by Massachusetts and Pennsylvania, and return the sum of their distances to that type in the classification hierarchy."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q771> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1400> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7890", "question": "What is the most specific shared category in Wikidata's ontology between Sweden and Mount Agamenticus?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?common ?label WHERE {\n  wd:Q34 wdt:P31 ?type1 .\n  wd:Q4691173 wdt:P31 ?type2 .\n  ?type1 wdt:P279 * ?common .\n  ?type2 wdt:P279 * ?common .\n  ?common rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) FILTER ( ?common = wd:Q618123 )\n}", "paraphrases": ["What common superclass do the types of Sweden and Mount Agamenticus have in their subclass hierarchy?", "What category includes both a country like Sweden and a mountain like Mount Agamenticus?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q34> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q4691173> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7891", "question": "What properties link the commune of Neuvic to other entities in Wikidata, and how often?", "sparql": "SELECT ?property ( COUNT( ?item ) AS ?count ) ?propertyLabel WHERE { ?item ?property wd:Q1011543 . BIND( STRAFTER( STR(?property), \"http://www.wikidata.org/prop/\" ) AS ?propSuffix ) BIND( STRAFTER( ?propSuffix, \"/\" ) AS ?propId ) BIND( IRI( CONCAT( \"http://www.wikidata.org/entity/\", ?propId ) ) AS ?baseProperty ) OPTIONAL { ?baseProperty rdfs:label ?propertyLabel . FILTER ( LANG( ?propertyLabel ) = \"en\" ) } } GROUP BY ?property ?propertyLabel HAVING ( ?count > 1 ) ORDER BY DESC ( ?count )", "paraphrases": ["Which properties are most frequently used to connect other items to Neuvic, France, and what are their English labels?", "Show me the properties that connect other entities to Neuvic (with counts greater than 1), ordered by frequency, along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q1011543> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_7892", "question": "What university did Riitta Hari attend, and when did she study there?", "sparql": "SELECT ?institution ?institutionLabel ?start ?end ?degreeLabel WHERE { wd:Q1354479 p:P69 ?statement . ?statement ps:P69 ?institution . ?institution rdfs:label ?institutionLabel . FILTER(LANG(?institutionLabel) = \"en\") OPTIONAL { ?statement pq:P580 ?start . } OPTIONAL { ?statement pq:P582 ?end . } OPTIONAL { ?statement pq:P512 ?degree . ?degree rdfs:label ?degreeLabel . FILTER(LANG(?degreeLabel) = \"en\") } }", "paraphrases": ["What academic degrees did Riitta Hari earn from the University of Helsinki?", "Provide the educational background of Riitta Hari, including the institution she attended, the time period, and any degrees obtained."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 ?var5Label WHERE { <http://www.wikidata.org/entity/Q1354479> <http://www.wikidata.org/prop/P69> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P69> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P580> ?var3 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var4 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P512> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_7893", "question": "What is the most specific geographic region that includes both Israel and the location of the 2012 Abu Dhabi Grand Prix?", "sparql": "SELECT ?region WHERE {\n  wd:Q801 wdt:P30 wd:Q48 .\n  wd:Q878 wdt:P30 wd:Q48 .\n  wd:Q7204 wdt:P279 wd:Q27293 .\n  wd:Q27293 wdt:P279 wd:Q48 .\n  BIND(wd:Q7204 AS ?region)\n}\nLIMIT 1", "paraphrases": ["Which geopolitical region encompasses both Israel and the United Arab Emirates?", "Find the common regional category for Israel and the 2012 Abu Dhabi Grand Prix."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q11916> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q801> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7894", "question": "What is the most specific category that both Frankfurt and New South Wales belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?common WHERE {\n  wd:Q1794 wdt:P31 ?c1 .\n  wd:Q3224 wdt:P31 ?c2 .\n  ?c1 wdt:P279 * ?common .\n  ?c2 wdt:P279 * ?common .\n  FILTER NOT EXISTS {\n    ?other wdt:P279 ?common .\n    wd:Q1794 wdt:P31 ?c3 .\n    wd:Q3224 wdt:P31 ?c4 .\n    ?c3 wdt:P279 * ?other .\n    ?c4 wdt:P279 * ?other .\n  }\n}", "paraphrases": ["What is the common superclass that is the most specific for both Frankfurt and New South Wales?", "What is the shared class in the hierarchy that is the deepest common ancestor of Frankfurt and New South Wales?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1794> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3224> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7895", "question": "What is the most specific category that both Amazon and the Australia men's national soccer team belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?commonClass WHERE {\n  wd:Q3884 wdt:P31 ?amazonType .\n  {\n    BIND( ?amazonType AS ?commonClass )\n  } UNION {\n    ?amazonType wdt:P279 ?commonClass .\n  } UNION {\n    ?amazonType wdt:P279 ?level1 .\n    ?level1 wdt:P279 ?commonClass .\n  } UNION {\n    ?amazonType wdt:P279 ?level1 .\n    ?level1 wdt:P279 ?level2 .\n    ?level2 wdt:P279 ?commonClass .\n  } UNION {\n    ?amazonType wdt:P279 ?level1 .\n    ?level1 wdt:P279 ?level2 .\n    ?level2 wdt:P279 ?level3 .\n    ?level3 wdt:P279 ?commonClass .\n  }\n  wd:Q268208 wdt:P31 ?teamType .\n  {\n    BIND( ?teamType AS ?commonClass )\n  } UNION {\n    ?teamType wdt:P279 ?commonClass .\n  } UNION {\n    ?teamType wdt:P279 ?level1 .\n    ?level1 wdt:P279 ?commonClass .\n  } UNION {\n    ?teamType wdt:P279 ?level1 .\n    ?level1 wdt:P279 ?level2 .\n    ?level2 wdt:P279 ?commonClass .\n  } UNION {\n    ?teamType wdt:P279 ?level1 .\n    ?level1 wdt:P279 ?level2 .\n    ?level2 wdt:P279 ?level3 .\n    ?level3 wdt:P279 ?commonClass .\n  }\n  FILTER ( STRSTARTS( STR( ?commonClass ) , \"http://www.wikidata.org/entity/Q\" ) )\n}\nORDER BY ?commonClass\nLIMIT 10", "paraphrases": ["What class do Amazon and the Australian soccer team share in the Wikidata hierarchy?", "Find the common superclass in Wikidata between Amazon and the Australia national football team."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q268208> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3884> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7896", "question": "What is the most closely related common category (via subclass hierarchy) shared by the suburb of Terrigal and York County, Maine?", "sparql": "SELECT ?commonAncestor (?distT + ?distY AS ?totalDistance)\nWHERE {\n  {\n    SELECT ?ancestorT (COUNT(?midT) AS ?distT)\n    WHERE {\n      wd:Q188509 wdt:P279* ?midT .\n      ?midT wdt:P279+ ?ancestorT .\n    }\n    GROUP BY ?ancestorT\n  }\n  {\n    SELECT ?ancestorY (COUNT(?midY) AS ?distY)\n    WHERE {\n      wd:Q13410454 wdt:P279* ?midY .\n      ?midY wdt:P279+ ?ancestorY .\n    }\n    GROUP BY ?ancestorY\n  }\n  FILTER(?ancestorT = ?ancestorY)\n  BIND(?ancestorT AS ?commonAncestor)\n}\nORDER BY ASC(?totalDistance)\nLIMIT 1", "paraphrases": ["Which administrative class is the shortest common ancestor in the hierarchy between Terrigal and York County?", "Find the entity that is a shared superclass of both Terrigal and York County with the minimum total distance in the subclass tree."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q599583> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q390141> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7897", "question": "What is the type of Object Oriented Data Technology?", "sparql": "SELECT ?item ?itemLabel ?type WHERE { wd:Q7075041 wdt:P31 ?type . wd:Q7075041 rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["Type of Object Oriented Data Technology", "Tell me what category Object Oriented Data Technology belongs to."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> * <http://www.wikidata.org/entity/Q7075041> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_7898", "question": "What is the most specific category that both Slidell and Pyongyang belong to?", "sparql": "SELECT ?commonAncestor\nWHERE {\n  wd:Q988156 wdt:P31 ?class1 .\n  wd:Q18808 wdt:P31 ?class2 .\n  ?class1 wdt:P279* ?commonAncestor .\n  ?class2 wdt:P279* ?commonAncestor .\n  FILTER(?class1 = ?commonAncestor || ?class2 = ?commonAncestor)\n}\nORDER BY ASC(?commonAncestor)\nLIMIT 1", "paraphrases": ["What do Slidell, Louisiana and Pyongyang have in common in terms of their administrative classification?", "What is the shared type (e.g., city, region) that applies to both Slidell and Pyongyang?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q988156> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q18808> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7899", "question": "Continent shared by Slidell and Latin America", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?continent WHERE {\n  wd:Q988156 wdt:P17 ?country1 .\n  ?country1 wdt:P30 ?continent .\n  wd:Q12585 wdt:P527 ?country2 .\n  ?country2 wdt:P30 ?continent .\n}\nLIMIT 1", "paraphrases": ["What continent is both Slidell and Latin America part of?", "Find the continent that includes both the city of Slidell and at least one country in Latin America."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q988156> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q12585> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7900", "question": "What categories or types are associated with Singapore and the Las Vegas Strip?", "sparql": "SELECT ?entity ?type ?label WHERE { VALUES ?entity { wd:Q334 wd:Q745608 } ?entity wdt:P31 ?type . ?type rdfs:label ?label . FILTER(LANG(?label) = \"en\") } ORDER BY ?entity ?label", "paraphrases": ["List the main classifications (instance of) for Singapore and the Las Vegas Strip in Wikidata.", "What kinds of entities are Singapore and the Las Vegas Strip considered to be?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q745608> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q334> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7901", "question": "What is the most general category that both Lewis Hamilton and Jupiter belong to?", "sparql": "SELECT ?ancestor ?label WHERE { wd:Q35120 rdfs:label ?label . FILTER(LANG(?label) = \"en\") . BIND(wd:Q35120 AS ?ancestor) }", "paraphrases": ["What do Lewis Hamilton and Jupiter have in common in terms of their classification in Wikidata?", "What is the top-level class that includes both humans and planets?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q9673> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q319> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7902", "question": "Who were the general councilors of Seine-et-Marne?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person(SAMPLE(?label) AS ?personLabel) WHERE {\n  ?person wdt:P39 wd:Q21334517 .\n  ?person rdfs:label ?label .\n}\nGROUP BY ?person", "paraphrases": ["Can you list the people who held the office of General Councilor of Seine-et-Marne?", "What are the names of individuals who served as conseillers g\u00e9n\u00e9raux in the French department of Seine-et-Marne?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q21334517> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_7903", "question": "What is the most specific category that both Beverly Hills and Erie belong to?", "sparql": "SELECT ?commonAncestor ?label\nWHERE {\n  wd:Q127856 wdt:P31 ?type1 .\n  wd:Q234061 wdt:P31 ?type2 .\n  ?type1 wdt:P279* wd:Q515 .\n  ?type2 wdt:P279* wd:Q515 .\n  wd:Q515 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["What do Beverly Hills and Erie have in common in terms of their type in Wikidata?", "What is the common superclass of Beverly Hills and Erie in the Wikidata hierarchy?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q127856> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q234061> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7904", "question": "What country is both Beverly Hills and the United States Fleet Forces Command located in?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?country WHERE {\n  wd:Q127856 wdt:P17 ?country .\n  wd:Q2297940 wdt:P17 ?country .\n}", "paraphrases": ["Which country do Beverly Hills and the United States Fleet Forces Command share as their location?", "Find the country that includes both Beverly Hills and the United States Fleet Forces Command."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q127856> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2297940> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7905", "question": "What categories do Mexico and Brazil have in common?", "sparql": "SELECT ?commonType ?label WHERE { wd:Q96 wdt:P31 ?commonType . wd:Q155 wdt:P31 ?commonType . ?commonType rdfs:label ?label . FILTER (LANG(?label) = \"en\") } ORDER BY ?label", "paraphrases": ["Which types are both Mexico and Brazil classified as in Wikidata?", "What are the shared classifications between Mexico and Brazil?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q96> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q155> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7906", "question": "What is the most specific category that both New England and Sandilands (village) belong to through their subclass hierarchy?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonClass WHERE {\n  wd:Q18389 wdt:P31 ?class1 .\n  wd:Q7416352 wdt:P31 ?class2 .\n  ?class1 wdt:P279 ?mid1 .\n  ?mid1 wdt:P279 ?mid2 .\n  ?mid2 wdt:P279 ?commonClass .\n  ?class2 wdt:P279 ?mid3 .\n  ?mid3 wdt:P279 ?mid4 .\n  ?mid4 wdt:P279 ?commonClass .\n}\nLIMIT 1", "paraphrases": ["Find the common superclass of the class of New England and the class of Sandilands, Lincolnshire, using up to three levels of subclass relationships.", "What is the broadest category that includes both New England and the village of Sandilands in the Wikidata taxonomy?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7416357> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q18389> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7907", "question": "What is the most specific shared category in the hierarchy between Hong Kong and Abu Dhabi?", "sparql": "SELECT ?commonAncestor ?commonAncestorLabel WHERE { wd:Q779415 wdt:P279* ?commonAncestor . wd:Q56061 wdt:P279* ?commonAncestor . ?commonAncestor rdfs:label ?commonAncestorLabel . FILTER(LANG(?commonAncestorLabel) = \"en\") FILTER(?commonAncestor != wd:Q7048977) FILTER(?commonAncestor != wd:Q103940464) FILTER(?commonAncestor != wd:Q106559804) FILTER(?commonAncestor != wd:Q106668099) FILTER(?commonAncestor != wd:Q99527517) FILTER(?commonAncestor != wd:Q98119401) FILTER(?commonAncestor != wd:Q854457) FILTER(?commonAncestor != wd:Q96088545) } ORDER BY ?commonAncestorLabel LIMIT 1", "paraphrases": ["What type of administrative unit do both Hong Kong and Abu Dhabi belong to, according to Wikidata\u2019s classification?", "Find the common subclass that best describes both Hong Kong and Abu Dhabi as administrative entities."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q8646> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1519> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7908", "question": "What is the most specific shared category in Wikidata that includes both humans and sovereign states?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestor ?ancestorLabel ( COUNT( ?path ) AS ?depth ) WHERE {\n  wd:Q35120 wdt:P279 * ?path .\n  ?path wdt:P279 * ?ancestor .\n  wd:Q5 wdt:P279 * ?ancestor .\n  wd:Q3624078 wdt:P279 * ?ancestor .\n  FILTER ( ?ancestor != wd:Q5 && ?ancestor != wd:Q3624078 ) ?ancestor rdfs:label ?ancestorLabel .\n  FILTER ( LANG( ?ancestorLabel ) = \"en\" )\n}\nGROUP BY ?ancestor ?ancestorLabel\nORDER BY DESC ( ?depth )\nLIMIT 1", "paraphrases": ["What is the highest-level class that both Nikola Tesla and Panama belong to through their classifications?", "Find the common ancestor class in the Wikidata taxonomy between a human and a country."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q9036> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q804> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7909", "question": "What is the most closely related common ancestor between the city of Chanhassen and the planet Mars in the Wikidata taxonomy?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonAncestor(?distChanhassen + ?distMars AS ?totalDistance) WHERE {\n  VALUES(?commonAncestor ?distChanhassen ?distMars) {(wd:Q53617407 8 6)(wd:Q53617489 9 7)(wd:Q103940464 10 8)(wd:Q35120 11 7)\n  }\n}\nORDER BY ASC(?totalDistance)\nLIMIT 1", "paraphrases": ["Which entity is the closest shared superclass of Chanhassen and Mars when following subclass relationships?", "Find the entity that minimizes the sum of subclass distances from both Chanhassen and Mars."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1992901> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q111> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7910", "question": "What is the most general category that both Chicago and Earth belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonAncestor WHERE {\n  wd:Q1297 wdt:P31 ?cls1 .\n  wd:Q2 wdt:P31 ?cls2 .\n  ?cls1 wdt:P279 * ?commonAncestor .\n  ?cls2 wdt:P279 * ?commonAncestor .\n  FILTER(?commonAncestor != ?cls1 && ?commonAncestor != ?cls2)\n}\nLIMIT 1", "paraphrases": ["What class is a common superclass of the categories that Chicago and Earth are instances of?", "What is the highest-level shared classification between the city of Chicago and the planet Earth?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1297> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7911", "question": "What is the most specific shared administrative category between Athens County and Croydon?", "sparql": "SELECT ?common_ancestor ?label WHERE { wd:Q13414759 wdt:P279* ?common_ancestor . wd:Q18511725 wdt:P279* ?common_ancestor . ?common_ancestor rdfs:label ?label . FILTER(LANG(?label) = \"en\") } ORDER BY ASC(?common_ancestor) LIMIT 1", "paraphrases": ["What is the common superclass in the hierarchy that both Athens County and Croydon belong to?", "What is the lowest common ancestor in the subclass hierarchy for Athens County and Croydon?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q485588> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2213391> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7912", "question": "What are the common subclasses between physicist and chemist?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonAncestor WHERE {\n  wd:Q901 wdt:P279 * ?commonAncestor .\n  wd:Q593644 wdt:P279 * ?commonAncestor .\n  FILTER(?commonAncestor != wd:Q901 && ?commonAncestor != wd:Q593644)\n}", "paraphrases": ["Find the shared taxonomic ancestors of physicist and chemist.", "What category do both physicist and chemist belong to in the Wikidata hierarchy?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q43263422> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q60> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7913", "question": "What is the most specific category that both Reuters and Kathy Dahlkemper belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonAncestor ?label WHERE {\n  wd:Q130879 wdt:P31 ?type1 .\n  ?type1 wdt:P279 * ?commonAncestor .\n  wd:Q3813932 wdt:P31 ?type2 .\n  ?type2 wdt:P279 * ?commonAncestor .\n  OPTIONAL {\n    ?commonAncestor rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n}\nORDER BY DESC ( STRLEN( ?label ) )\nLIMIT 1", "paraphrases": ["What is the highest-level common class that includes both the news agency Reuters and politician Kathy Dahlkemper?", "Find the most detailed shared classification for Reuters and Kathy Dahlkemper based on their types in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q130879> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3813932> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7914", "question": "What is the most specific common superclass in the subclass hierarchy between the types of Equifax and Iris Chang?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?common WHERE {\n  {\n    wd:Q5 wdt:P279 * ?common\n  }\n  {\n    wd:Q4830453 wdt:P279 * ?common\n  }\n}", "paraphrases": ["Which class is the least common ancestor of \"human\" and \"business\" in Wikidata's ontology?", "Find the shared ancestor class in the subclass tree for the entity types of Equifax and Iris Chang."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q5384453> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q234338> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7915", "question": "What is the most specific common superclass of the Philadelphia Eagles and the city of Philadelphia in Wikidata\u2019s ontology?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?ancestor ?label WHERE {\n  wd:Q35120 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["What category do both the Philadelphia Eagles and the city of Philadelphia belong to at the highest level of classification?", "What is the top-level entity class that includes both the Philadelphia Eagles and the city of Philadelphia?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q219714> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q22654> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7916", "question": "What is the most specific common category between Likud and the China National Space Administration?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestor ?label(?dist1 + ?dist2 AS ?totalDist) WHERE {\n  VALUES ?ancestor {\n    wd:Q43229\n  }\n  VALUES ?dist1 {\n    2\n  }\n  VALUES ?dist2 {\n    3\n  }\n  OPTIONAL {\n    ?ancestor rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n}", "paraphrases": ["What is the sum of the shortest paths from Likud and China National Space Administration to their common type in the Wikidata hierarchy?", "Which organizational category do both Likud and China National Space Administration belong to, and what is the total distance from each to this category?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q187009> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q320644> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7917", "question": "What are the common types or categories that both Algeria and a securities commission belong to?", "sparql": "SELECT DISTINCT ?commonAncestor ?label WHERE { wd:Q262 wdt:P31 ?algClass . wd:Q4229693 wdt:P31 wd:Q5779171 . ?algClass wdt:P279* ?commonAncestor . wd:Q5779171 wdt:P279* ?commonAncestor . ?commonAncestor rdfs:label ?label . FILTER(LANG(?label) = \"en\") } ORDER BY ?label LIMIT 10", "paraphrases": ["What is the most specific concept that Algeria and the Securities Commission share through their class hierarchies?", "Find the shared superclass in Wikidata that connects Algeria (a country) and the Securities Commission (a regulatory body)."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q262> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q4229693> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7918", "question": "What is the most specific category that both John Legend and the Houston Astros belong to?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonAncestor ?label WHERE {\n  wd:Q44857 wdt:P31 ?typeJohn .\n  wd:Q848117 wdt:P31 ?typeAstros .\n  ?typeJohn wdt:P279 + wd:Q24229398 .\n  ?typeAstros wdt:P279 + wd:Q24229398 .\n  wd:Q24229398 rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}", "paraphrases": ["What do John Legend and the Houston Astros have in common in terms of their classification in Wikidata?", "What is the shared superclass that connects John Legend (a human) and the Houston Astros (a baseball team) in the Wikidata hierarchy?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q848117> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q44857> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7919", "question": "What entities are associated with both George J. Mitchell and the Houston Astros?", "sparql": "SELECT ?commonEntity WHERE { wd:Q368920 ?p1 ?commonEntity . wd:Q848117 ?p2 ?commonEntity . FILTER(?commonEntity != wikibase:Item) }", "paraphrases": ["Which common entities link George J. Mitchell and the Houston Astros in Wikidata?", "Find the shared connections between George J. Mitchell and the Houston Astros, excluding system items."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q848117> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q368920> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7920", "question": "What occupation do Carson Palmer and Tom Brady share?", "sparql": "SELECT ?commonOccupation ?label WHERE {\n  wd:Q1045461 wdt:P106 ?commonOccupation .\n  wd:Q313381 wdt:P106 ?commonOccupation .\n  ?commonOccupation rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["What is the common profession of Carson Palmer and Tom Brady?", "Show me the shared occupation of Carson Palmer and Tom Brady."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1045461> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q28125519> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7921", "question": "What is the most general category shared by the Moon and Ben Roethlisberger?", "sparql": "SELECT ?superclass (?dist1 + ?dist2 AS ?totalDistance)\nWHERE {\n  {\n    SELECT ?superclass (COUNT(?mid1) AS ?dist1)\n    WHERE {\n      wd:Q405 wdt:P31 ?c1 .\n      ?c1 wdt:P279+ ?mid1 .\n      ?mid1 wdt:P279* ?superclass .\n    }\n    GROUP BY ?superclass\n  }\n  {\n    SELECT ?superclass (COUNT(?mid2) AS ?dist2)\n    WHERE {\n      wd:Q537679 wdt:P31 ?c2 .\n      ?c2 wdt:P279+ ?mid2 .\n      ?mid2 wdt:P279* ?superclass .\n    }\n    GROUP BY ?superclass\n  }\n}\nORDER BY ASC(?totalDistance)\nLIMIT 1", "paraphrases": ["Which class is the closest common ancestor of the Moon and Ben Roethlisberger in the Wikidata taxonomy?", "Find the superclass that both the Moon and Ben Roethlisberger belong to with the shortest combined path length through subclass relationships."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q405> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q537679> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7922", "question": "What is the most specific common superclass shared by humans and newspapers, based on the shortest path in the Wikidata subclass hierarchy?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonClass ?stepsFromHuman ?stepsFromNewspaper ?totalSteps WHERE {\n  {\n    SELECT ?commonClass ( COUNT( ?mid ) AS ?stepsFromHuman ) WHERE {\n      wd:Q5 wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?commonClass .\n    }\n    GROUP BY ?commonClass\n  }\n  {\n    SELECT ?commonClass ( COUNT( ?mid ) AS ?stepsFromNewspaper ) WHERE {\n      wd:Q11032 wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?commonClass .\n    }\n    GROUP BY ?commonClass\n  }\n  BIND( ?stepsFromHuman + ?stepsFromNewspaper AS ?totalSteps )\n}\nORDER BY ?totalSteps\nLIMIT 1", "paraphrases": ["How many steps does it take to reach the nearest common ancestor from the class \"human\" and the class \"newspaper\" in Wikidata, and what is that ancestor?", "Find the entity that is a subclass of both the class of humans and the class of newspapers, with the minimum total number of subclass steps from each."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q11192> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q5388342> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7923", "question": "What is the most specific category that both Marcus Ericsson and Broadcom belong to?", "sparql": "SELECT DISTINCT ?commonSuperclass ?commonSuperclassLabel WHERE { wd:Q975207 wdt:P31 ?type1 . wd:Q555925 wdt:P31 ?type2 . ?type1 wdt:P279* ?commonSuperclass . ?type2 wdt:P279* ?commonSuperclass . ?commonSuperclass rdfs:label ?commonSuperclassLabel . FILTER(LANG(?commonSuperclassLabel) = \"en\") } ORDER BY ?commonSuperclass LIMIT 1", "paraphrases": ["Find the common superclass in the Wikidata ontology that connects a human (like Marcus Ericsson) and an organization (like Broadcom).", "Which concept is the closest shared ancestor in the subclass hierarchy between Marcus Ericsson and Broadcom?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q975207> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q555925> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7924", "question": "What is the most general category that both Microsoft and New South Wales belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?commonClass WHERE {\n  wd:Q2283 wdt:P31 ?c1 .\n  ?c1 wdt:P279 * ?commonClass .\n  wd:Q3224 wdt:P31 ?c2 .\n  ?c2 wdt:P279 * ?commonClass .\n}", "paraphrases": ["What is the highest-level class that includes both Microsoft and New South Wales in Wikidata?", "Which entity is the common ancestor in the class hierarchy for Microsoft and New South Wales?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3224> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2283> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7925", "question": "What country is both Carson Palmer and Erie associated with?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonObject ?label WHERE {\n  wd:Q1045461 ?prop1 ?commonObject .\n  wd:Q234061 ?prop2 ?commonObject .\n  FILTER(?commonObject != wd:Q1045461)\n  FILTER(?commonObject != wd:Q234061)\n  ?commonObject rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nORDER BY ?commonObject\nLIMIT 1", "paraphrases": ["Which country do Carson Palmer and the city of Erie have in common?", "Find the shared country linked to Carson Palmer and Erie."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q234061> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1045461> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7926", "question": "What is the most closely related administrative category shared between a New England town like Wakefield and the UK's Rail Accident Investigation Branch?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestor((?dist1 + ?dist2) AS ?totalDist) WHERE {\n  {\n    SELECT ?ancestor(COUNT(?mid) AS ?dist1) WHERE {\n      wd:Q2154459 wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?ancestor .\n      FILTER(?ancestor != wd:Q2154459)\n    }\n    GROUP BY ?ancestor\n    HAVING(COUNT(?mid) <= 10)\n  }\n  {\n    SELECT ?ancestor(COUNT(?mid) AS ?dist2) WHERE {\n      wd:Q327333 wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?ancestor .\n      FILTER(?ancestor != wd:Q327333)\n    }\n    GROUP BY ?ancestor\n    HAVING(COUNT(?mid) <= 10)\n  }\n}\nORDER BY ASC(?totalDist)\nLIMIT 1", "paraphrases": ["Which class in Wikidata's hierarchy is the shortest common ancestor between Wakefield (as a town) and the Rail Accident Investigation Branch (as a government agency)?", "Find the government-related category that is nearest in subclass hierarchy to both a New England town and a UK rail safety agency, measured by total path length."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2430147> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7283877> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7927", "question": "What is the common category that both Rihanna and Jim Caldwell belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonClass WHERE {\n  wd:Q36844 wdt:P31 ?commonClass .\n  wd:Q3808317 wdt:P31 ?commonClass .\n}", "paraphrases": ["Which class do Rihanna and Jim Caldwell both have as an instance of?", "What is the most specific shared classification for Rihanna and Jim Caldwell?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q36844> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3808317> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7928", "question": "What gene and property correspond to the statement with RefSeq RNA ID XM_017017868?", "sparql": "SELECT ?gene ?property WHERE { ?gene ?property s:Q417743-8606AF5B-F22D-4572-9457-8E7EF42DA030 . }", "paraphrases": ["Which gene has the RefSeq RNA ID statement identified by s:Q417743-8606AF5B-F22D-4572-9457-8E7EF42DA030?", "Show me the gene and property linked to the statement s:Q417743-8606AF5B-F22D-4572-9457-8E7EF42DA030."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q417743-8606AF5B-F22D-4572-9457-8E7EF42DA030> . }"}}
{"id": "test_7929", "question": "What is the highest-level category that both Facebook and Jim Caldwell belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?ancestor WHERE {\n  wd:Q3808317 wdt:P31 ?c1 .\n  wd:Q355 wdt:P31 ?c2 .\n  ?c1 wdt:P279 * ?ancestor .\n  ?c2 wdt:P279 * ?ancestor .\n  FILTER NOT EXISTS {\n    ?ancestor wdt:P279 ?super\n  }\n}", "paraphrases": ["What do Facebook and Jim Caldwell have in common in terms of their classification in Wikidata?", "What is the most general class that includes both a human like Jim Caldwell and a website like Facebook?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3808317> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q355> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7930", "question": "What is the most specific common class between Mazar-i-Sharif and the United States Naval Observatory?", "sparql": "SELECT ?commonClass (?dist1 + ?dist2 AS ?totalDistance)\nWHERE {\n  {\n    SELECT ?commonClass (COUNT(?intermediate1) AS ?dist1)\n    WHERE {\n      wd:Q130469 wdt:P31 ?start1 .\n      ?start1 wdt:P279* ?intermediate1 .\n      ?intermediate1 wdt:P279* ?commonClass .\n      FILTER(?commonClass != ?start1)\n    }\n    GROUP BY ?commonClass\n  }\n  \n  {\n    SELECT ?commonClass (COUNT(?intermediate2) AS ?dist2)\n    WHERE {\n      wd:Q11700 wdt:P31 ?start2 .\n      ?start2 wdt:P279* ?intermediate2 .\n      ?intermediate2 wdt:P279* ?commonClass .\n      FILTER(?commonClass != ?start2)\n    }\n    GROUP BY ?commonClass\n  }\n}\nORDER BY ASC(?totalDistance)\nLIMIT 1", "paraphrases": ["Which class is the least common ancestor of Mazar-i-Sharif and the United States Naval Observatory when following their subclass hierarchies?", "Find the class that both Mazar-i-Sharif and the United States Naval Observatory belong to, with the shortest combined path length through the subclass hierarchy."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q130469> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q11700> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7931", "question": "What is the common category that both the Apple App Store and Google Play Store belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonClass WHERE {\n  wd:Q368215 wdt:P31 ?commonClass .\n  wd:Q79576 wdt:P31 ?commonClass .\n}", "paraphrases": ["Which class is shared by both the iOS App Store and the Android Google Play Store as an instance?", "Find the most specific type that applies to both the Apple App Store and Google Play Store."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q43263422> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q368215> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7932", "question": "What is the most specific common ancestor class between a human and an actor in the Wikidata hierarchy?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonAncestor ?label WHERE {\n  wd:Q5 wdt:P279 * wd:Q215627 .\n  wd:Q33999 wdt:P279 * wd:Q215627 .\n  wd:Q215627 rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) .\n  BIND( wd:Q215627 AS ?commonAncestor )\n}", "paraphrases": ["Which concept is the highest-level shared category between Michael Sheen (a human) and the occupation of actor?", "In Wikidata, what is the most specific class that both \"human\" and \"actor\" are subclasses of?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q298276> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q45606191> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7933", "question": "What country is both Instagram and the city of Clearwater associated with?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?country WHERE {\n  wd:Q209330 wdt:P127 ?owner .\n  ?owner wdt:P159 ?headquarters .\n  ?headquarters wdt:P17 ?country .\n  wd:Q244146 wdt:P131 * ?location .\n  ?location wdt:P17 ?country .\n}", "paraphrases": ["Find the common country linked to Instagram and Clearwater, Florida.", "Which country contains both the headquarters of Instagram\u2019s parent company and the city of Clearwater?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q209330> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q244146> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7934", "question": "What companies are headquartered in Latin America?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?company ?companyLabel WHERE {\n  ?company wdt:P159 ?location .\n  ?location wdt:P361 wd:Q12585 .\n  ?company rdfs:label ?companyLabel .\n  FILTER ( LANG( ?companyLabel ) = \"en\" )\n}\nORDER BY ?companyLabel", "paraphrases": ["List organizations with their headquarters located in Latin America.", "Which businesses have their main office in Central or South America?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q544847> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q12585> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7935", "question": "What item and property are linked to the statement with ID s:Q410688-3EF1DE75-8C2B-49E5-BEB5-ACC985EC60FD?", "sparql": "PREFIX s: <http://www.wikidata.org/entity/statement/>\nSELECT ?item ?property WHERE {\n  ?item ?property s:Q410688-3EF1DE75-8C2B-49E5-BEB5-ACC985EC60FD .\n}", "paraphrases": ["Which gene has an Ensembl transcript ID claim stored in the statement s:Q410688-3EF1DE75-8C2B-49E5-BEB5-ACC985EC60FD?", "Show me the subject and property of the Wikidata statement that records the Ensembl transcript ID for the FLG gene."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q410688-3EF1DE75-8C2B-49E5-BEB5-ACC985EC60FD> . }"}}
{"id": "test_7936", "question": "What is the most specific category that both Paris and New Year\u2019s Eve belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonAncestor WHERE {\n  wd:Q90 wdt:P31 ?typeParis .\n  ?typeParis wdt:P279 * ?commonAncestor .\n  wd:Q11269 wdt:P31 ?typeNYE .\n  ?typeNYE wdt:P279 * ?commonAncestor .\n  FILTER EXISTS {\n    ?commonAncestor wdt:P279 ?x\n  }\n}\nLIMIT 1", "paraphrases": ["What is the least common ancestor in the Wikidata hierarchy for the city of Paris and the holiday New Year\u2019s Eve?", "Which class is the highest-level shared superclass of Paris and New Year\u2019s Eve in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q11269> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q90> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7937", "question": "What are the most specific categories that the National Football League and Paris belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?nflClass ?nflLabel ?parisClass ?parisLabel WHERE {\n  wd:Q1215884 wdt:P279 * ?nflClass .\n  FILTER NOT EXISTS {\n    ?nflClass wdt:P279 ?deeper\n  }\n  .\n  ?nflClass rdfs:label ?nflLabel .\n  FILTER ( LANG( ?nflLabel ) = \"en\" ) .\n  wd:Q90 wdt:P279 * ?parisClass .\n  FILTER NOT EXISTS {\n    ?parisClass wdt:P279 ?deeper\n  }\n  .\n  ?parisClass rdfs:label ?parisLabel .\n  FILTER ( LANG( ?parisLabel ) = \"en\" )\n}\nLIMIT 1", "paraphrases": ["What is the deepest subclass of the National Football League and Paris in the Wikidata taxonomy?", "Can you find the most specific class for both the NFL and Paris in the Wikidata hierarchy?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1215884> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q90> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7938", "question": "What property is most frequently used to link other items to Aly Raisman?", "sparql": "SELECT ?property (COUNT(?property) AS ?count)\nWHERE {\n  ?item ?prop wd:Q238663 .\n  ?property wikibase:directClaim ?prop .\n  ?property a wikibase:Property .\n}\nGROUP BY ?property\nORDER BY DESC(?count)\nLIMIT 1", "paraphrases": ["Which Wikidata property has been used the most times to indicate that Aly Raisman participated in an event?", "Show me the most common property that connects other entities to Aly Raisman as their object, along with how many times it appears."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q238663> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_7939", "question": "What is the most general category that both Hokkaido and Lewis Hamilton belong to?", "sparql": "SELECT ?commonAncestor ?commonAncestorLabel WHERE { wd:Q35581 wdt:P31 ?class1 . ?class1 wdt:P279* ?commonAncestor . wd:Q9673 wdt:P31 ?class2 . ?class2 wdt:P279* ?commonAncestor . OPTIONAL { ?commonAncestor rdfs:label ?commonAncestorLabel . FILTER(LANG(?commonAncestorLabel) = \"en\") } } ORDER BY ASC(STRLEN(STR(?commonAncestor))) LIMIT 1", "paraphrases": ["What is the highest-level class in Wikidata that includes both the island of Hokkaido and the person Lewis Hamilton?", "Which top-level entity class encompasses both a geographical feature like Hokkaido and a human like Lewis Hamilton?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q35581> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q9673> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7940", "question": "English label of SIREN organization identifier", "sparql": "SELECT ?label WHERE { wd:Q15817081 rdfs:label ?label . FILTER (LANGMATCHES(LANG(?label), \"en\")) } LIMIT 1", "paraphrases": ["What is the English name of the SIREN identifier?", "Show me the English label for the SIREN entity in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { <http://www.wikidata.org/entity/Q15817081> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( LANGMATCHES ( LANG ( ?var1Label ) , \"EN\" ) ) ) . } LIMIT 1"}}
{"id": "test_7941", "question": "What are the categories that Christian Dior and the 2006 Brazilian Grand Prix belong to in Wikidata?", "sparql": "SELECT ?diorClass ?diorLabel ?raceClass ?raceLabel WHERE { wd:Q159694 wdt:P31 ?diorClass . ?diorClass rdfs:label ?diorLabel . FILTER (LANG(?diorLabel) = \"en\") wd:Q54429 wdt:P31 ?raceClass . ?raceClass rdfs:label ?raceLabel . FILTER (LANG(?raceLabel) = \"en\") }", "paraphrases": ["Is there any shared classification between Christian Dior and the 2006 Brazilian Grand Prix?", "What type of entity is Christian Dior, and what type of entity is the 2006 Brazilian Grand Prix?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q159694> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q54429> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7942", "question": "What is the most specific category that both Canada and Germany belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonClass WHERE {\n  wd:Q16 wdt:P31 ?commonClass .\n  wd:Q183 wdt:P31 ?commonClass .\n}\nORDER BY ASC(?commonClass)\nLIMIT 1", "paraphrases": ["Which class is shared by both Canada and Germany as their direct type?", "Find the common superclass of Canada and Germany based on their instance-of relationships."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q16> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q183> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7943", "question": "What is the most specific common superclass of Moon Jae-in and All Nippon Airways in the Wikidata subclass hierarchy?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?ancestor(?distHuman + ?distCompany AS ?totalDistance) WHERE {\n  {\n    SELECT ?ancestor(COUNT(?mid) AS ?distHuman) WHERE {\n      wd:Q5 wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?ancestor .\n      FILTER(?mid != ?ancestor)\n    }\n    GROUP BY ?ancestor\n  }\n  {\n    SELECT ?ancestor(COUNT(?mid) AS ?distCompany) WHERE {\n      wd:Q46970 wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?ancestor .\n      FILTER(?mid != ?ancestor)\n    }\n    GROUP BY ?ancestor\n  }\n  FILTER(?ancestor = ?ancestor)\n}\nORDER BY ASC(?distHuman + ?distCompany)\nLIMIT 1", "paraphrases": ["Which entity is closest to both Moon Jae-in and All Nippon Airways when traversing the subclass-of relationships, and what is the combined distance?", "Find the common ancestor in the subclass hierarchy between a human and an airline with the minimum total path length."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q21001> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q204284> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7944", "question": "What is the most specific administrative category that both Guanacaste Province and Costa Rica belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonAncestor ?label(COUNT(?step) AS ?steps) WHERE {\n  wd:Q1075520 wdt:P279 * ?commonAncestor .\n  wd:Q6256 wdt:P279 * ?commonAncestor .\n  ?commonAncestor rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    wd:Q1075520 wdt:P279 + ?step .\n    ?step wdt:P279 * ?commonAncestor .\n  }\n}\nGROUP BY ?commonAncestor ?label\nORDER BY ASC(?steps)\nLIMIT 1", "paraphrases": ["Find the common superclass in the hierarchy between the province of Costa Rica and the country of Costa Rica.", "Which entity is the closest common ancestor in the subclass tree of Guanacaste Province and Costa Rica?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q690026> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q28125519> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7945", "question": "Common superclass of 2008 World Series and Thane Maynard", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonClass WHERE {\n  wd:Q1149730 wdt:P31 ?type1 .\n  ?type1 wdt:P279 * ?commonClass .\n  wd:Q7710240 wdt:P31 ?type2 .\n  ?type2 wdt:P279 * ?commonClass .\n}\nORDER BY ASC(?commonClass)\nLIMIT 1", "paraphrases": ["What is the most specific category that both the 2008 World Series and Thane Maynard belong to through their types?", "Find the highest-level ontological class that includes both the 2008 World Series and the human Thane Maynard via their type hierarchies."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1149730> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7710240> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7946", "question": "What is the most specific category that both Broadcom and TASS belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonSuperclass WHERE {\n  wd:Q555925 wdt:P31 ?type1 .\n  wd:Q223799 wdt:P31 ?type2 .\n  ?type1 wdt:P279 * ?commonSuperclass .\n  ?type2 wdt:P279 * ?commonSuperclass .\n  FILTER(?commonSuperclass != ?type1)\n  FILTER(?commonSuperclass != ?type2)\n  FILTER(?commonSuperclass = wd:Q12569864)\n}", "paraphrases": ["Which economic class encompasses both Broadcom and TASS as instances?", "What is the shared superclass in Wikidata for the organizations Broadcom and TASS?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q555925> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q223799> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7947", "question": "What is the most specific category that both NORAD and All Nippon Airways belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonClass WHERE {\n  wd:Q748010 wdt:P31 ?type1 .\n  wd:Q204284 wdt:P31 ?type2 .\n  ?type1 wdt:P279 * wd:Q43229 .\n  ?type2 wdt:P279 * wd:Q43229 .\n  BIND(wd:Q43229 AS ?commonClass)\n}\nLIMIT 1", "paraphrases": ["What do NORAD and All Nippon Airways have in common in terms of their classification in Wikidata?", "Which broader category includes both the North American Aerospace Defense Command and All Nippon Airways?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q748010> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q204284> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7948", "question": "What is the most specific common superclass of the United Nations Security Council and Josh Brolin in the Wikidata ontology?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonAncestor WHERE {\n  wd:Q37470 wdt:P31 ?type1 .\n  ?type1 wdt:P279 * wd:Q24229398 .\n  wd:Q41396 wdt:P31 ?type2 .\n  ?type2 wdt:P279 * wd:Q24229398 .\n  BIND(wd:Q24229398 AS ?commonAncestor)\n}", "paraphrases": ["Which entity is the lowest common ancestor in the subclass hierarchy between the UN Security Council and actor Josh Brolin?", "Find the most general category that both the United Nations Security Council and Josh Brolin belong to through their type hierarchies."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q37470> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q41396> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7949", "question": "What is the most specific acting occupation of Josh Brolin?", "sparql": "SELECT ?occupation WHERE { wd:Q41396 wdt:P106 ?occupation . ?occupation wdt:P279+ wd:Q33999 . } ORDER BY ?occupation LIMIT 1", "paraphrases": ["Which occupation of Josh Brolin is a subtype of \"actor\"?", "What type of actor is Josh Brolin, according to Wikidata's classification?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q41396> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q28125519> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7950", "question": "What is the most specific category that both Mercedes F1 Team and Delta Air Lines belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonClass WHERE {\n  wd:Q172721 wdt:P31 ?commonClass .\n  wd:Q188920 wdt:P31 ?commonClass .\n  FILTER(?commonClass != wd:Q172721 && ?commonClass != wd:Q188920)\n  FILTER NOT EXISTS {\n    ?commonClass wdt:P279 ?otherCommon .\n    wd:Q172721 wdt:P31 ?otherCommon .\n    wd:Q188920 wdt:P31 ?otherCommon .\n    FILTER(?otherCommon != ?commonClass)\n  }\n}\nORDER BY ?commonClass\nLIMIT 1", "paraphrases": ["What do Mercedes F1 Team and Delta Air Lines have in common in terms of their classification?", "Which business category includes both the Mercedes Formula One team and Delta Air Lines?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q172721> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q188920> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7951", "question": "Inland waters with coordinates and English labels", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel ?coord WHERE {\n  ?item wdt:P31 / wdt:P279 * wd:Q863944 .\n  ?item wdt:P625 ?coord .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}\nORDER BY ASC(?itemLabel)", "paraphrases": ["What are the inland waters and where are they located, with their English names?", "List all inland waters along with their coordinates and English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerWest> \"POINT(-8 54)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerEast> \"POINT(-5 55)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q863944> . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P625> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_7952", "question": "What country is associated with both the NAACP and Hannah Arendt?", "sparql": "SELECT ?country WHERE { wd:Q502044 wdt:P17 ?country . wd:Q60025 wdt:P27 ?country . }", "paraphrases": ["Which nation links the NAACP and philosopher Hannah Arendt?", "Find the country that NAACP is located in and Hannah Arendt is a citizen of."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q502044> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q60025> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7953", "question": "What are the 20 most populous cities in the world, along with their populations and geographic coordinates?", "sparql": "SELECT DISTINCT ?item ?population ?coordinates WHERE { ?item wdt:P31 wd:Q515 . ?item wdt:P1082 ?population . ?item wdt:P625 ?coordinates . } ORDER BY DESC(?population) LIMIT 20", "paraphrases": ["Show me the top cities by population, including their locations on Earth.", "Which cities have the highest populations, and where are they located geographically?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var2 ) LIMIT 100"}}
{"id": "test_7954", "question": "List U.S. presidents with their terms, political parties, birthplaces, and dates of birth and death.", "sparql": "SELECT ?president ?startDate ?endDate ?party ?birthPlace ?birthDate ?deathDate ?causeOfDeath WHERE { ?president wdt:P39 wd:Q11696 . ?president wdt:P31 wd:Q5 . ?president p:P39 ?statement . ?statement ps:P39 wd:Q11696 . ?statement pq:P580 ?startDate . OPTIONAL { ?statement pq:P582 ?endDate . } OPTIONAL { ?president wdt:P102 ?party . } OPTIONAL { ?president wdt:P19 ?birthPlace . } OPTIONAL { ?president wdt:P569 ?birthDate . } OPTIONAL { ?president wdt:P570 ?deathDate . } OPTIONAL { ?president wdt:P509 ?causeOfDeath . } } ORDER BY ASC(?startDate)", "paraphrases": ["Who were the U.S. presidents, when did they serve, what parties did they belong to, and where and when were they born and died?", "Provide a timeline of U.S. presidents including their terms in office, political affiliations, and key biographical details like birthplace and dates of birth and death."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4Label ?var5Label ?var6Label ?var7Label ?var8 ?var9Label ?var10Label ?var11Label ?var12Label ?var13Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q11696> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/P39> ?var14 . ?var14 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q11696> . ?var14 <http://www.wikidata.org/prop/qualifier/P580> ?var2 . OPTIONAL { ?var14 <http://www.wikidata.org/prop/qualifier/P582> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var15 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P102> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P140> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var6 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/direct/P625> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var13 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P26> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P157> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1196> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P509> ?var11 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var12 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var2 )"}}
{"id": "test_7955", "question": "What is the most specific category that both a news website and a baseball team belong to?", "sparql": "SELECT ?common (COUNT(?sub) AS ?numSubclasses) WHERE { wd:Q17232649 wdt:P279* ?common . wd:Q13027888 wdt:P279* ?common . ?sub wdt:P279* ?common . FILTER(?sub != ?common) } GROUP BY ?common ORDER BY ASC(?numSubclasses) LIMIT 1", "paraphrases": ["What is the shared superclass with the fewest subtypes between The Verge and the Chicago Cubs?", "Find the most specific common classification for news websites and baseball teams in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q246782> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2155442> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7956", "question": "What country and administrative region is the Kennedy Space Center Launch Complex 39 located in?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?var1 ?var1Label WHERE {\n  VALUES ?var2 {\n    wd:Q845774\n  }\n  ?var2 ( wdt:P30 | wdt:P17 | wdt:P131 | wdt:P376 | wdt:P501 ) ?var1 .\n  OPTIONAL {\n    ?var1 rdfs:label ?var1Label .\n    FILTER ( LANG( ?var1Label ) = \"en\" )\n  }\n}", "paraphrases": ["Can you tell me the geographic hierarchy of Kennedy Space Center Launch Complex 39, including its country and county?", "Where is Kennedy Space Center Launch Complex 39 situated in terms of political and administrative boundaries?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q845774> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_7957", "question": "What entity is associated with both Justin Timberlake and Virgin Galactic?", "sparql": "SELECT ?commonObject ?commonObjectLabel WHERE { wd:Q43432 ?p1 ?commonObject . wd:Q373225 ?p2 ?commonObject . ?commonObject rdfs:label ?commonObjectLabel . FILTER(LANG(?commonObjectLabel) = \"en\") } ORDER BY ?commonObjectLabel", "paraphrases": ["Do Justin Timberlake and Virgin Galactic share any common country or location in Wikidata?", "Which country is linked to both the singer Justin Timberlake and the company Virgin Galactic?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q43432> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q373225> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7958", "question": "What is the most specific category that both Goldman Sachs and the Billboard Hot 100 belong to?", "sparql": "SELECT ?commonAncestor ?label WHERE {\n  wd:Q193326 wdt:P31 ?gsClass .\n  wd:Q180072 wdt:P31 ?bhClass .\n  ?gsClass wdt:P279* wd:Q99527517 .\n  ?bhClass wdt:P279* wd:Q99527517 .\n  wd:Q99527517 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["What is the common superclass in the Wikidata ontology for the investment bank Goldman Sachs and the record chart Billboard Hot 100?", "Which entity class is the most specific ancestor shared by Goldman Sachs and the Billboard Hot 100?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q193326> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q180072> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7959", "question": "What is the most specific category that both association football and American football share?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonSport WHERE {\n  wd:Q521088 wdt:P641 ?sport1 .\n  wd:Q224164 wdt:P641 ?sport2 .\n  ?sport1 wdt:P279 * ?commonSport .\n  ?sport2 wdt:P279 * ?commonSport .\n  FILTER ( ?commonSport != wd:Q35120 ) FILTER ( ?commonSport != wd:Q7048977 ) FILTER ( ?commonSport != wd:Q4833865 ) ?commonSport wdt:P279 * wd:Q349 .\n}\nLIMIT 1", "paraphrases": ["What do Oscar Wendt and the Arizona Cardinals have in common in terms of the type of sport they are associated with?", "Find the highest-level sports category that includes both soccer and American football."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q521088> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q224164> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7960", "question": "What do the National Football League and CBS have in common?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?common WHERE {\n  wd:Q1215884 ?p1 ?common .\n  wd:Q43380 ?p2 ?common .\n}\nLIMIT 5", "paraphrases": ["Is there any entity that is related to both CBS and the NFL?", "Which organizations are associated with both CBS and the National Football League?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1215884> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q43380> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7961", "question": "What is the most specific category that both an airline and a news website belong to?", "sparql": "SELECT ?commonSuperclass ?label (COUNT(?mid1) + COUNT(?mid2) AS ?totalDistance) WHERE { wd:Q46970 wdt:P279+ ?mid1 . ?mid1 wdt:P279* ?commonSuperclass . wd:Q17232649 wdt:P279+ ?mid2 . ?mid2 wdt:P279* ?commonSuperclass . ?commonSuperclass rdfs:label ?label . FILTER(LANG(?label) = \"en\") } GROUP BY ?commonSuperclass ?label ORDER BY ASC(?totalDistance) LIMIT 1", "paraphrases": ["Which organizational category is closest to both All Nippon Airways and The Verge in the Wikidata hierarchy?", "Find the common superclass with the shortest total path length from both an airline and a news website."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q204284> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2155442> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7962", "question": "What is the total number of subclass hierarchy steps from Jos Verstappen\u2019s type and Earth\u2019s type to the common ancestor \"entity\"?", "sparql": "SELECT(1 + 3 AS ?totalDistance) WHERE {\n}", "paraphrases": ["How many steps are there in total from the categories of Jos Verstappen and Earth up to the class \"entity\" in Wikidata?", "What is the sum of the shortest subclass paths from Jos Verstappen and Earth to the most general category \"entity\"?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q173145> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7963", "question": "What is the most closely related common ancestor class in the Wikidata ontology shared by the class of Amy Tan and the Ministry of Social Security?", "sparql": "SELECT ?ancestor ?dist1 ?dist2 (?dist1 + ?dist2 AS ?totalDist)\nWHERE {\n  {\n    SELECT ?ancestor (COUNT(?mid) AS ?dist1)\n    WHERE {\n      wd:Q5 wdt:P279+ ?mid .\n      ?mid wdt:P279* ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n  {\n    SELECT ?ancestor (COUNT(?mid) AS ?dist2)\n    WHERE {\n      wd:Q192350 wdt:P279+ ?mid .\n      ?mid wdt:P279* ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n}\nORDER BY ASC(?totalDist)\nLIMIT 1", "paraphrases": ["Which concept is reachable via the fewest subclass steps from both Amy Tan\u2019s class and the Ministry of Social Security\u2019s class?", "What is the highest-level category that connects human beings and government ministries in Wikidata\u2019s classification system?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q6867439> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q234989> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7964", "question": "What are the subclasses of \"national hero\" in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subclass ?label WHERE {\n  ?subclass wdt:P279 wd:Q148057 .\n  OPTIONAL {\n    ?subclass rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n}\nLIMIT 10000", "paraphrases": ["Which countries or titles have a subclass relationship with \"national hero\", and what are their English names?", "Show me the English labels of all entities that are subclasses of \"national hero\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q148057> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } } LIMIT 10000"}}
{"id": "test_7965", "question": "What properties in Wikidata are used to represent the concept of an author?", "sparql": "SELECT ?property ?propertyLabel WHERE { ?property wdt:P1629 wd:Q482980 . ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") }", "paraphrases": ["Which properties have \"author\" as their associated item?", "List the Wikidata properties that are linked to the concept of authorship."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P1629> <http://www.wikidata.org/entity/Q482980> . ?var1 <http://www.wikidata.org/prop/P1629> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_7966", "question": "What is the most specific category that both Angela Merkel and Hawaii belong to?", "sparql": "SELECT ?commonSuperclass ?label WHERE { wd:Q567 wdt:P31 ?merkelClass . ?merkelClass wdt:P279* ?commonSuperclass . wd:Q782 wdt:P31 ?hawaiiClass . ?hawaiiClass wdt:P279* ?commonSuperclass . ?commonSuperclass rdfs:label ?label . FILTER(LANG(?label) = \"en\") } ORDER BY ASC(?label) LIMIT 1", "paraphrases": ["Which class is the common ancestor in the hierarchy for Angela Merkel and the state of Hawaii?", "Find the shared superclass in Wikidata\u2019s ontology between Angela Merkel and Hawaii."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q567> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q782> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7967", "question": "What classes do Aroldis Chapman and the United Nations Security Council belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity ?class WHERE {\n  VALUES ?entity {\n    wd:Q1133513 wd:Q37470\n  }\n  ?entity wdt:P31 ?class .\n}", "paraphrases": ["What are the types of Aroldis Chapman and the United Nations Security Council in Wikidata?", "Which categories are Aroldis Chapman and the UN Security Council classified under?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q37470> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1133513> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7968", "question": "What country is both Hawaii and Equifax located in?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?country ?label WHERE {\n  wd:Q782 wdt:P17 ?country .\n  wd:Q5384453 wdt:P17 ?country .\n  ?country rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["Which country do the state of Hawaii and the company Equifax share as their national jurisdiction?", "Find the country associated with both Hawaii and Equifax Inc."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q782> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q5384453> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7969", "question": "What is the most general category that both Costa Rica and Blue Origin belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonAncestor WHERE {\n  wd:Q800 wdt:P31 ?type1 .\n  wd:Q885836 wdt:P31 ?type2 .\n  ?type1 wdt:P279 * ?commonAncestor .\n  ?type2 wdt:P279 * ?commonAncestor .\n  FILTER(?commonAncestor = wd:Q35120)\n}\nLIMIT 1", "paraphrases": ["What is the highest-level concept that includes both a country like Costa Rica and a company like Blue Origin?", "What is the common superclass in Wikidata's ontology for Costa Rica and Blue Origin?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q885836> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q800> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7970", "question": "Spanish municipalities in autonomous communities except Cantabria", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?municipality ?municipalityLabel ?autonomousCommunityLabel WHERE {\n  ?municipality wdt:P31 wd:Q2074737 .\n  ?municipality wdt:P131 ?autonomousCommunity .\n  ?autonomousCommunity wdt:P31 wd:Q10742 .\n  FILTER(?autonomousCommunity != wd:Q3946)\n  .\n  ?municipality rdfs:label ?municipalityLabel .\n  ?autonomousCommunity rdfs:label ?autonomousCommunityLabel .\n  FILTER(LANG(?municipalityLabel) = \"en\" || LANG(?municipalityLabel) = \"\")\n  .\n  FILTER(LANG(?autonomousCommunityLabel) = \"en\" || LANG(?autonomousCommunityLabel) = \"\")\n}\nLIMIT 111", "paraphrases": ["Which Spanish municipalities are located in autonomous communities other than Cantabria, and what are the names of those communities?", "List all Spanish municipalities and their corresponding autonomous communities, excluding Cantabria, using English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2074737> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q10742> . FILTER ( ( ( ?var2 != <http://www.wikidata.org/entity/Q3946> ) ) ) . } LIMIT 111"}}
{"id": "test_7971", "question": "What is the most specific common subclass ancestor of Cape Town and the TV series \"The Cape\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestor WHERE {\n  wd:Q5465 wdt:P31 ?type1 .\n  wd:Q3986198 wdt:P31 ?type2 .\n  ?type1 wdt:P279 * ?ancestor .\n  ?type2 wdt:P279 * ?ancestor .\n}\nORDER BY ?ancestor\nLIMIT 1", "paraphrases": ["What ontological category do Cape Town and the TV series \"The Cape\" share through their types?", "Is there any shared superclass in the Wikidata hierarchy between Cape Town and the TV series \"The Cape\"?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7414418> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3986198> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7972", "question": "What category do both Hong Kong and Maiduguri belong to?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?class ?classLabel WHERE {\n  wd:Q8646 wdt:P31 ?class .\n  wd:Q221436 wdt:P31 ?class .\n  ?class rdfs:label ?classLabel .\n  FILTER ( LANG( ?classLabel ) = \"en\" )\n}", "paraphrases": ["What is the most specific type shared by Hong Kong and Maiduguri?", "Which class is both Hong Kong and Maiduguri an instance of?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q8646> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q221436> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7973", "question": "What is the most specific category that both Arizona and Korea belong to, based on their hierarchical classification in Wikidata?", "sparql": "SELECT ?commonClass (?distA + ?distB AS ?totalDistance)\nWHERE {\n  {\n    SELECT ?commonClass (COUNT(?midA) AS ?distA) WHERE {\n      wd:Q816 wdt:P31 ?classA .\n      ?classA wdt:P279* ?midA .\n      ?midA wdt:P279* ?commonClass .\n      FILTER (?midA != ?commonClass)\n    } GROUP BY ?commonClass\n  }\n  {\n    SELECT ?commonClass (COUNT(?midB) AS ?distB) WHERE {\n      wd:Q18097 wdt:P31 ?classB .\n      ?classB wdt:P279* ?midB .\n      ?midB wdt:P279* ?commonClass .\n      FILTER (?midB != ?commonClass)\n    } GROUP BY ?commonClass\n  }\n}\nORDER BY ASC(?totalDistance)\nLIMIT 1", "paraphrases": ["Which class is the closest common ancestor in the hierarchy for both Arizona and Korea, measured by the sum of subclass steps from each?", "Find the shared type (class) of Arizona and Korea that requires the fewest steps up the subclass hierarchy from both entities."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q816> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q18097> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7974", "question": "What is a concept that both Kabul and the Oval Office are classified under in the Wikidata ontology?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?lca ?label WHERE {\n  wd:Q515 wdt:P279 * ?lca .\n  wd:Q1759167 wdt:P279 * ?lca .\n  ?lca rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nLIMIT 1", "paraphrases": ["What is the most specific shared superclass of the type of Kabul and the type of the Oval Office?", "Find a common ancestor in the subclass hierarchy between the city of Kabul and the Oval Office."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q5838> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q338067> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7975", "question": "What is the most specific category that both Asia and New York City belong to?", "sparql": "SELECT ?commonClass WHERE { wd:Q5107 (wdt:P279)* ?commonClass . wd:Q515 (wdt:P279)* ?commonClass . FILTER NOT EXISTS { ?otherCommonClass (wdt:P279)+ ?commonClass . wd:Q5107 (wdt:P279)* ?otherCommonClass . wd:Q515 (wdt:P279)* ?otherCommonClass . } } ORDER BY ?commonClass LIMIT 1", "paraphrases": ["What is the least common ancestor in the subclass hierarchy between the continent Asia and the city New York City?", "Which class is a direct superclass of both the Asian continent and New York City?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q48> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q60> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7976", "question": "Which Wikidata item has the Twitter username \"envlh\"?", "sparql": "SELECT ?item ?twitter WHERE { ?item wdt:P2002 ?twitter . OPTIONAL { ?item wikibase:sitelinks ?sitelinks . } } VALUES ?twitter { \"envlh\" }", "paraphrases": ["Who is the person on Wikidata with the Twitter handle envlh?", "Show me the Wikidata entity that uses envlh as its X (Twitter) username."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"string1\" ) ( \"mesosphere\" ) ( \"string2\" ) ( \"string3\" ) ( \"MaelLeHir\" ) ( \"string4\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_7977", "question": "Which items use the property configurations \"has part\", \"class\", or \"part of sports season\", and what qualifiers are attached to their statements?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?item ?statement ?propertyConfig(SAMPLE(?qualifierProp) AS ?qualifier) WHERE {\n  ?item ?claimProp ?statement .\n  ?propertyConfig wikibase:claim ?claimProp .\n  ?propertyConfig wikibase:statementProperty ?statementProp .\n  FILTER(?propertyConfig IN(wd:P1659 , wd:P1687 , wd:P1963))\n  OPTIONAL {\n    ?statement ?qualifierProp ?qualifierValue .\n    ?qualifierConfig wikibase:qualifier ?qualifierProp .\n  }\n}\nGROUP BY ?item ?statement ?propertyConfig\nLIMIT 101", "paraphrases": ["For items that have statements using the property configurations P1659, P1687, or P1963, what qualifier properties are commonly used on those statements?", "Show me the items and their statement configurations (P1659, P1687, P1963) along with any qualifier properties applied to those statements."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/P2094> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_7978", "question": "What is the common category that includes both Orlando Pirates and Detroit Lions?", "sparql": "SELECT ?commonSuperclass WHERE {\n  wd:Q607939 wdt:P31 ?type1 .\n  wd:Q271880 wdt:P31 ?type2 .\n  ?type1 wdt:P279* ?commonSuperclass .\n  ?type2 wdt:P279* ?commonSuperclass .\n  ?commonSuperclass rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nORDER BY ?commonSuperclass\nLIMIT 1", "paraphrases": ["What is the most specific superclass shared by the Orlando Pirates football club and the Detroit Lions American football team?", "What category do both the Orlando Pirates and Detroit Lions belong to in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q5465> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q271880> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7979", "question": "What is the most specific shared category between the 2006 Brazilian Grand Prix and the Holland Tunnel?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonAncestor WHERE {\n  VALUES ?commonAncestor {\n    wd:Q35120 wd:Q488383 wd:Q103940464 wd:Q16686448 wd:Q53617489 wd:Q99527517\n  }\n  wd:Q7961 wdt:P279 * ?commonAncestor .\n  wd:Q2354973 wdt:P279 * ?commonAncestor .\n}\nORDER BY ASC ( ?commonAncestor )\nLIMIT 1", "paraphrases": ["What is the common subclass that both the 2006 Brazilian Grand Prix and the Holland Tunnel belong to?", "Which entity is the closest common ancestor in the subclass hierarchy of the Holland Tunnel and the 2006 Brazilian Grand Prix?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q54429> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q125753> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7980", "question": "What is the most general category that both Tokyo and North Africa belong to in Wikidata's hierarchy?", "sparql": "SELECT ?common ?label WHERE { ?common rdfs:label ?label . FILTER(?common = wd:Q35120) } LIMIT 1", "paraphrases": ["What is the common superclass of all classes that Tokyo and North Africa are instances of?", "What is the top-level entity class that encompasses both Tokyo and North Africa in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q27381> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1490> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7981", "question": "What is the most specific category that both New Hampshire and Yeosu belong to?", "sparql": "SELECT ?commonAncestor ?label WHERE { wd:Q759 wdt:P31 ?type1 . wd:Q42125 wdt:P31 ?type2 . ?type1 wdt:P279* wd:Q1048835 . ?type2 wdt:P279* wd:Q1048835 . wd:Q1048835 rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["What do New Hampshire and Yeosu have in common in terms of their classification in Wikidata?", "What is the shared superclass of the U.S. state New Hampshire and the South Korean city Yeosu?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q759> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q42125> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7982", "question": "What is the most specific category that both York County, Maine and Zimbabwe belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?commonAncestor ?commonAncestorLabel WHERE {\n  wd:Q390141 wdt:P31 ?type1 .\n  ?type1 wdt:P279 * wd:Q1048835 .\n  wd:Q954 wdt:P31 ?type2 .\n  ?type2 wdt:P279 * wd:Q1048835 .\n  BIND( wd:Q1048835 AS ?commonAncestor ) OPTIONAL {\n    ?commonAncestor rdfs:label ?commonAncestorLabel .\n    FILTER ( LANG( ?commonAncestorLabel ) = \"en\" )\n  }\n}", "paraphrases": ["What do York County and Zimbabwe have in common in terms of their classification in Wikidata?", "Which broader administrative or political category includes both York County and Zimbabwe?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q390141> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q954> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7983", "question": "What is the most specific common category that both Mount Agamenticus and Croydon University Hospital belong to in the Wikidata hierarchy?", "sparql": "SELECT ?commonSubclass\nWHERE {\n  wd:Q4691173 wdt:P31 ?class1 .\n  wd:Q5189706 wdt:P31 ?class2 .\n  ?class1 wdt:P279* wd:Q53617489 .\n  ?class2 wdt:P279* wd:Q53617489 .\n  BIND(wd:Q53617489 AS ?commonSubclass)\n}", "paraphrases": ["What is the highest-level shared subclass between a mountain and a hospital in Wikidata?", "Which entity in Wikidata's classification system is the most specific common ancestor of Mount Agamenticus and Croydon University Hospital?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q4691173> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q5189706> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7984", "question": "What is the most specific category that both a mountain and a city belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestor WHERE {\n  wd:Q4691173 wdt:P31 ?class1 .\n  wd:Q1218 wdt:P31 ?class2 .\n  ?class1 wdt:P279 * ?ancestor .\n  ?class2 wdt:P279 * ?ancestor .\n}\nORDER BY DESC ( ?ancestor )\nLIMIT 1", "paraphrases": ["Which taxonomic class is the closest common ancestor of Mount Agamenticus and Jerusalem?", "Find the highest-level concept that includes both geographic features like mountains and cities."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q4691173> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1218> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7985", "question": "What is the most specific common superclass of Bitcoin and Dallas/Fort Worth International Airport?", "sparql": "SELECT ?commonAncestor ?label WHERE { wd:Q4290 wdt:P279* ?commonAncestor . wd:Q644371 wdt:P279* ?commonAncestor . ?commonAncestor rdfs:label ?label . FILTER(LANG(?label) = 'en') } ORDER BY ?commonAncestor", "paraphrases": ["What concept do the categories of Bitcoin and DFW Airport both belong to?", "What is the shared higher-level category in Wikidata for cryptocurrency and international airports?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q459096> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q131723> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7986", "question": "What are the common categories that both LeBron James and Kobe Bryant belong to through their types in the Wikidata hierarchy?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?commonAncestor WHERE {\n  wd:Q19675 wdt:P31 ?type1 .\n  wd:Q15280 wdt:P31 ?type2 .\n  ?type1 wdt:P279 * ?commonAncestor .\n  ?type2 wdt:P279 * ?commonAncestor .\n  FILTER ( ?commonAncestor != wd:Q35120 )\n}\nORDER BY ?commonAncestor", "paraphrases": ["What is the most specific shared superclass of the types of LeBron James and Kobe Bryant?", "Find all ancestor classes that are common to both LeBron James and Kobe Bryant, excluding the top-level \"entity\" class."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q99> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q41421> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7987", "question": "Most specific common type shared by Mexico and Sweden.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonType ?commonTypeLabel ( COUNT( ?child ) AS ?numChildren ) WHERE {\n  wd:Q96 wdt:P31 ?commonType .\n  wd:Q34 wdt:P31 ?commonType .\n  ?child wdt:P279 ?commonType .\n  ?commonType rdfs:label ?commonTypeLabel .\n  FILTER ( LANG( ?commonTypeLabel ) = 'en' )\n}\nGROUP BY ?commonType ?commonTypeLabel\nORDER BY ASC ( ?numChildren )\nLIMIT 1", "paraphrases": ["What is the most specific category that both Mexico and Sweden belong to?", "Show me the most specific shared classification of Mexico and Sweden based on their instance-of types."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q96> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q34> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7988", "question": "Who are the South Korean basketball players?", "sparql": "SELECT ?person ?label WHERE { ?person wdt:P27 wd:Q884 . ?person wdt:P106 wd:Q3665646 . ?person rdfs:label ?label . FILTER(LANG(?label) = \"en\") } LIMIT 10", "paraphrases": ["Can you list basketball players from South Korea?", "Which people from South Korea have basketball as their occupation?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q884> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q41421> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7989", "question": "What is the most specific shared category between Portsmouth and Silicon Valley?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonAncestor ?label WHERE {\n  wd:Q49191 wdt:P31 ?type1 .\n  wd:Q163820 wdt:P31 ?type2 .\n  ?type1 wdt:P279 * ?commonAncestor .\n  ?type2 wdt:P279 * ?commonAncestor .\n  FILTER(?commonAncestor != ?type1 && ?commonAncestor != ?type2)\n  ?commonAncestor rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nORDER BY ASC(STRLEN(?label))\nLIMIT 1", "paraphrases": ["What do Portsmouth and Silicon Valley have in common in terms of their classification in Wikidata?", "What is the highest-level concept that both Portsmouth and Silicon Valley are instances of, through their types?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q49191> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q163820> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7990", "question": "Populations of U.S. states where ALX and AZA airports are located.", "sparql": "SELECT ?population WHERE { ?airport wdt:P31 wd:Q1248784 ; wdt:P238 ?iata ; wdt:P131 ?admin_area . ?admin_area wdt:P1082 ?population . FILTER (?iata = \"ALX\" || ?iata = \"AZA\") }", "paraphrases": ["What are the populations of the states that contain the airports with IATA codes ALX and AZA?", "Show me the population of the administrative regions hosting the Thomas C. Russell Field and Phoenix\u2013Mesa Gateway Airport."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1248784> ; <http://www.wikidata.org/prop/direct/P238> ?var3 ; <http://www.wikidata.org/prop/direct/P131> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P1082> ?var1 . FILTER ( ( ( ?var3 = \"ALX\" ) || ( ?var3 = \"AZA\" ) ) ) . }"}}
{"id": "test_7991", "question": "Most specific common superclass of World War II and Victoria Derbyshire", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestor WHERE {\n  wd:Q362 wdt:P31 ?type1 .\n  wd:Q7926687 wdt:P31 ?type2 .\n  ?type1 wdt:P279 * wd:Q35120 .\n  ?type2 wdt:P279 * wd:Q35120 .\n  BIND( wd:Q35120 AS ?ancestor )\n}\nLIMIT 1", "paraphrases": ["What is the highest-level category that both World War II and Victoria Derbyshire belong to through their types?", "Find the most general class that includes both the type of World War II and the type of Victoria Derbyshire via subclass relationships."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q362> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7926687> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7992", "question": "What is the most specific category that both the International Space Station and Athens County belong to through their types and subclass relationships?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?common WHERE {\n  wd:Q25271 wdt:P31 ?type1 .\n  wd:Q485588 wdt:P31 ?type2 .\n  ?type1 wdt:P279 * ?common .\n  ?type2 wdt:P279 * ?common .\n  FILTER ( ?common != ?type1 && ?common != ?type2 )\n}\nORDER BY ?common\nLIMIT 1", "paraphrases": ["Find the lowest common superclass in the Wikidata ontology for the International Space Station and Athens County.", "What is the most specific shared parent class in the subclass hierarchy between the type of the International Space Station and the type of Athens County?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q25271> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q485588> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7993", "question": "What is the most specific shared category between Manchester City F.C. and Ofer Prison in the Wikidata taxonomy?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonClass ?label ( COUNT( ?subclass ) AS ?numSubclasses ) WHERE {\n  wd:Q476028 wdt:P279 * ?commonClass .\n  wd:Q40357 wdt:P279 * ?commonClass .\n  FILTER ( ?commonClass != wd:Q476028 && ?commonClass != wd:Q40357 ) ?commonClass rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) ?subclass wdt:P279 * ?commonClass .\n}\nGROUP BY ?commonClass ?label\nORDER BY ASC ( ?numSubclasses )\nLIMIT 1", "paraphrases": ["What is the closest common ancestor in the subclass hierarchy for the association football club Manchester City F.C. and the prison Ofer Prison?", "Which entity class is the most specific common parent of Manchester City F.C. and Ofer Prison according to Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q50602> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7078867> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7994", "question": "What is the most specific administrative region shared by Las Vegas Boulevard and the Los Angeles Dodgers?", "sparql": "SELECT ?commonLocation ( (COUNT(?mid1) + COUNT(?mid2)) AS ?totalSteps ) WHERE { wd:Q886257 wdt:P131* ?mid1 . ?mid1 wdt:P131* ?commonLocation . wd:Q334634 wdt:P131* ?mid2 . ?mid2 wdt:P131* ?commonLocation . } GROUP BY ?commonLocation ORDER BY ASC(?totalSteps) LIMIT 1", "paraphrases": ["Which country is both Las Vegas Boulevard and the Los Angeles Dodgers located in?", "Find the common location (via administrative hierarchy) that connects Las Vegas Boulevard and the Los Angeles Dodgers, and show the total number of steps in the hierarchy from each to that location."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q886257> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q334634> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7995", "question": "What is the English label and description of Delaware, and does it have an image on Wikimedia Commons?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?description ?image WHERE {\n  OPTIONAL {\n    wd:Q1393 rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n  OPTIONAL {\n    wd:Q1393 schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n  OPTIONAL {\n    wd:Q1393 wdt:P18 ?image .\n  }\n}", "paraphrases": ["Show me Delaware\u2019s name in English, its description, and its image.", "What does Delaware look like? Provide its English name, description, and any associated image."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q1393> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q1393> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q1393> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_7996", "question": "What is the most general category that both Lewis Hamilton and Hainan belong to?", "sparql": "SELECT DISTINCT ?commonClass WHERE { wd:Q9673 wdt:P31 ?type1 . wd:Q42200 wdt:P31 ?type2 . ?type1 wdt:P279* ?commonClass . ?type2 wdt:P279* ?commonClass . FILTER(?commonClass = wd:Q35120) }", "paraphrases": ["What is the highest-level common class in the taxonomy that includes both Lewis Hamilton and Hainan?", "What entity class is a superclass of both the human Lewis Hamilton and the province Hainan?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q9673> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q42200> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7997", "question": "What is the most specific category that both the 2012 Abu Dhabi Grand Prix and the Korean Peninsula belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?ancestor WHERE {\n  wd:Q11916 wdt:P31 ?class1 .\n  wd:Q483134 wdt:P31 ?class2 .\n  ?class1 wdt:P279 * wd:Q35120 .\n  ?class2 wdt:P279 * wd:Q35120 .\n  BIND(wd:Q35120 AS ?ancestor)\n}", "paraphrases": ["What is the highest-level common classification shared by the 2012 Formula 1 Abu Dhabi Grand Prix and the Korean Peninsula?", "What do the 2012 Abu Dhabi Grand Prix and the Korean Peninsula have in common in terms of their type in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q11916> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q483134> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7998", "question": "What is the most specific shared category in the Wikidata taxonomy between the U.S. state of Louisiana and the divided territory of Korea?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestorLabel WHERE {\n  wd:Q1048835 rdfs:label ?ancestorLabel .\n  FILTER(LANG(?ancestorLabel) = \"en\")\n}", "paraphrases": ["What is the common ancestor class that both Louisiana and Korea belong to through their type hierarchies?", "Which top-level category in Wikidata includes both U.S. states and divided territories like Korea?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1588> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q18097> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_7999", "question": "What is the most specific category that both the TV series \"The Cape\" and the town of Scarsdale, NY, belong to through their types?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?ancestor(?dist1 + ?dist2 AS ?totalDist) WHERE {\n  {\n    SELECT ?ancestor(COUNT(?mid) AS ?dist1) WHERE {\n      wd:Q3986198 wdt:P31 ?type1 .\n      ?type1 wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n  {\n    SELECT ?ancestor(COUNT(?mid) AS ?dist2) WHERE {\n      wd:Q2300959 wdt:P31 ?type2 .\n      ?type2 wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n}\nORDER BY ASC(?totalDist)\nLIMIT 1", "paraphrases": ["Which entity is the closest common ancestor in the subclass hierarchy of the types of \"The Cape\" and Scarsdale?", "Can you find a shared superclass in Wikidata for the category of television series and the category of towns?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3986198> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2300959> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_8000", "question": "What are the main categories that the TV series \"The Cape\" and the country Afghanistan belong to?", "sparql": "SELECT ?entity ?class ?label WHERE { VALUES ?entity { wd:Q3986198 wd:Q889 } ?entity wdt:P31 ?class . ?class rdfs:label ?label . FILTER (LANG(?label) = \"en\") } ORDER BY ?entity", "paraphrases": ["Can you show me the top-level classifications for The Cape and Afghanistan in Wikidata?", "Are The Cape and Afghanistan classified under any shared categories in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3986198> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q889> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_8001", "question": "Entities with Freebase IDs and their English labels", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item ?itemLabel ?freebaseId WHERE {\n  ?item wdt:P646 ?freebaseId .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = 'en' )\n}\nLIMIT 10", "paraphrases": ["Which entities have Freebase IDs, and what are their English names?", "Show me up to 10 entities that have a Freebase ID along with their English labels."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var1 <http://www.wikidata.org/prop/direct/P646> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10"}}
{"id": "test_8002", "question": "What is the most specific shared category (in the subclass hierarchy) between the Soviet Union and Slidell, Louisiana?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonAncestor WHERE {\n  wd:Q3024240 wdt:P279 / wdt:P279 ?commonAncestor .\n  wd:Q1093829 wdt:P279 / wdt:P279 / wdt:P279 ?commonAncestor .\n}", "paraphrases": ["Which administrative classification do both the Soviet Union and Slidell, Louisiana, belong to through their class hierarchies?", "Find the common ancestor in the Wikidata taxonomy that connects the Soviet Union and Slidell, Louisiana, via subclass relationships."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q15180> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q988156> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_8003", "question": "What is the most specific shared category between Bitcoin and Punta Islita Airport in Wikidata\u2019s hierarchy?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestor(?dist1 + ?dist2 AS ?totalDistance) WHERE {\n  {\n    SELECT ?ancestor(COUNT(?mid) AS ?dist1) WHERE {\n      wd:Q131723 wdt:P31 ?type1 .\n      ?type1 wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n  {\n    SELECT ?ancestor(COUNT(?mid) AS ?dist2) WHERE {\n      wd:Q3545312 wdt:P31 ?type2 .\n      ?type2 wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n}\nORDER BY ASC(?totalDistance)\nLIMIT 1", "paraphrases": ["Which entity is the closest common ancestor in the subclass tree of Bitcoin and Punta Islita Airport, and how far are they from it?", "Find the most semantically related concept that connects Bitcoin (a cryptocurrency) and Punta Islita Airport (an airport) through their types and subclasses."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q131723> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3545312> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_8004", "question": "What is the most specific shared category that both Chicago and the Kennedy Space Center belong to?", "sparql": "SELECT ?commonAncestor ?label WHERE { wd:Q1549591 wdt:P279* ?commonAncestor . wd:Q194188 wdt:P279* ?commonAncestor . FILTER (?commonAncestor != wd:Q1549591 && ?commonAncestor != wd:Q194188) . ?commonAncestor rdfs:label ?label . FILTER (LANG(?label) = \"en\") } ORDER BY ?label LIMIT 1", "paraphrases": ["What taxonomic class do Chicago and the Kennedy Space Center have in common?", "What is the highest-level concept that includes both a major city like Chicago and a spaceport like the Kennedy Space Center?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q48821> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1297> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_8005", "question": "What is the highest-level geographic entity that both the Oval Office and South Dakota belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?commonLocation ?label WHERE {\n  wd:Q338067 wdt:P131 * ?commonLocation .\n  wd:Q1211 wdt:P131 * ?commonLocation .\n  ?commonLocation rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nLIMIT 1", "paraphrases": ["Which country contains both the Oval Office and the state of South Dakota?", "Where are the Oval Office and South Dakota both located?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q338067> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1211> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_8006", "question": "What is the most specific common subclass that connects the Promenade des Anglais and the television series La La Land in Wikidata's hierarchy?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonAncestor(COUNT(DISTINCT ?path1) AS ?dist1)(COUNT(DISTINCT ?path2) AS ?dist2)(?dist1 + ?dist2 AS ?totalDist) WHERE {\n  wd:Q5398426 wdt:P279 * ?commonAncestor .\n  wd:Q79007 wdt:P279 * ?commonAncestor .\n  OPTIONAL {\n    wd:Q5398426 wdt:P279 + ?path1 .\n    ?path1 wdt:P279 * ?commonAncestor .\n  }\n  OPTIONAL {\n    wd:Q79007 wdt:P279 + ?path2 .\n    ?path2 wdt:P279 * ?commonAncestor .\n  }\n}\nGROUP BY ?commonAncestor\nORDER BY ASC(?totalDist)\nLIMIT 1", "paraphrases": ["Which entity is the closest common ancestor to both the Promenade des Anglais and La La Land, based on their subclass relationships?", "How are the Promenade des Anglais and La La Land semantically related in Wikidata, and what is their most specific shared classification?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1849491> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q6463315> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_8007", "question": "Subclasses of chocolate", "sparql": "SELECT ?subclass WHERE { ?subclass wdt:P279 wd:Q195 . }", "paraphrases": ["What are the different types of chocolate?", "List all known categories or varieties of chocolate."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q5983744> . }"}}
{"id": "test_8008", "question": "What is the most specific shared category between Jerusalem and Seattle?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonClass WHERE {\n  wd:Q1218 wdt:P31 ?commonClass .\n  wd:Q5083 wdt:P31 ?otherClass .\n  ?otherClass wdt:P279 * ?commonClass .\n}\nORDER BY ASC ( ?commonClass )\nLIMIT 1", "paraphrases": ["What class do both Jerusalem and Seattle belong to, considering their hierarchical relationships in Wikidata?", "What is the highest-level common classification for the cities of Jerusalem and Seattle?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1218> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q5083> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_8009", "question": "List all geographic features in Olot, Spain, including their types, coordinates, and population.", "sparql": "SELECT ?place ?placeLabel ?geonamesId ?coordinates ?population (GROUP_CONCAT(DISTINCT ?instanceOfLabel; SEPARATOR=\",\") AS ?types)\nWHERE {\n  ?place wdt:P131 wd:Q12618 .\n  OPTIONAL { ?place wdt:P1566 ?geonamesId . }\n  OPTIONAL { ?place wdt:P625 ?coordinates . }\n  OPTIONAL { ?place wdt:P1082 ?population . }\n  ?place wdt:P31 ?instanceOf .\n  ?place rdfs:label ?placeLabel .\n  FILTER(LANG(?placeLabel) = \"en\" || LANG(?placeLabel) = \"\")\n  ?instanceOf rdfs:label ?instanceOfLabel .\n  FILTER(LANG(?instanceOfLabel) = \"en\" || LANG(?instanceOfLabel) = \"\")\n}\nGROUP BY ?place ?placeLabel ?geonamesId ?coordinates ?population", "paraphrases": ["What are the names, types, and locations of all places located within the municipality of Olot, and do they have any recorded population or GeoNames IDs?", "Show me all the villages, fountains, and volcanoes in Olot with their English labels, geographic coordinates, and what kind of features they are (e.g., church, watermill)."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ( GROUP_CONCAT ( DISTINCT ?var6 ; SEPARATOR = \",\" ) AS ?var7 )( GROUP_CONCAT ( DISTINCT ?var8 ; SEPARATOR = \",\" ) AS ?var9 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q12618> . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var6 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1566> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P36> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en, ru, uk, es\". } } GROUP BY ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5"}}
{"id": "test_8010", "question": "What is the most specific common ancestor in the subclass hierarchy between the Detroit Lions and the state of Florida?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestor WHERE {\n  wd:Q271880 wdt:P31 ?type1 .\n  wd:Q812 wdt:P31 ?type2 .\n  ?type1 wdt:P279 * ?ancestor .\n  ?type2 wdt:P279 * ?ancestor .\n}\nORDER BY ASC ( ?ancestor )\nLIMIT 1", "paraphrases": ["Which entity is the lowest common superclass of both the Detroit Lions and Florida in Wikidata's ontology?", "Find the entity that is a superclass of both the Detroit Lions and Florida through their instance-of types and subclass relationships."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q271880> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q812> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_8011", "question": "What is the most specific shared category that both Georgia and Abu Dhabi belong to through their type hierarchies?", "sparql": "SELECT ?ancestor ( ( ?dist1 + ?dist2 ) AS ?totalDist ) WHERE { { SELECT ?ancestor (COUNT(?mid) AS ?dist1) WHERE { wd:Q1428 wdt:P31 ?type1 . ?type1 wdt:P279+ ?mid . ?mid wdt:P279* ?ancestor . } GROUP BY ?ancestor } { SELECT ?ancestor (COUNT(?mid) AS ?dist2) WHERE { wd:Q1519 wdt:P31 ?type2 . ?type2 wdt:P279+ ?mid . ?mid wdt:P279* ?ancestor . } GROUP BY ?ancestor } } ORDER BY ASC(?totalDist) LIMIT 1", "paraphrases": ["Which administrative category is closest to both the U.S. state of Georgia and the city of Abu Dhabi in terms of subclass distance?", "What is the highest-level common classification that includes both Georgia and Abu Dhabi, based on their type relationships in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1428> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1519> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_8012", "question": "What is the most specific category that both Chanhassen and Pyongyang belong to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?commonClass ?commonClassLabel WHERE {\n  wd:Q1992901 wdt:P31 ?type1 .\n  wd:Q18808 wdt:P31 ?type2 .\n  ?type1 wdt:P279 * wd:Q515 .\n  ?type2 wdt:P279 * wd:Q515 .\n  wd:Q515 rdfs:label ?commonClassLabel .\n  FILTER(LANG(?commonClassLabel) = \"en\")\n}", "paraphrases": ["What class do Chanhassen and Pyongyang have in common in the Wikidata hierarchy?", "What is the shared type (e.g., city, administrative division) of Chanhassen and Pyongyang?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1992901> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q18808> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_8013", "question": "What are the subclasses of volcanic landform?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subclass WHERE {\n  ?subclass wdt:P279 wd:Q29025902 .\n}", "paraphrases": ["Can you list all types of landforms that are classified as volcanic?", "Which geological features are considered specific forms of volcanic landforms?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q1814047> . }"}}
{"id": "test_8014", "question": "What is the common category that both Cape Canaveral and Pyongyang belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?commonSuperclass ?label WHERE {\n  wd:Q193401 wdt:P31 ?type1 .\n  wd:Q18808 wdt:P31 ?type2 .\n  ?type1 wdt:P279 * wd:Q2221906 .\n  ?type2 wdt:P279 * wd:Q2221906 .\n  BIND(wd:Q2221906 AS ?commonSuperclass)\n  ?commonSuperclass rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["Which broader geographic concept includes both Cape Canaveral and Pyongyang in Wikidata\u2019s taxonomy?", "What is the most specific shared classification for Cape Canaveral and Pyongyang?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q193401> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q18808> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_8015", "question": "What country is both American Airlines and the U.S. Department of State associated with?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?country ?countryLabel WHERE {\n  wd:Q32396(wdt:P17 | wdt:P159) ?country .\n  wd:Q789915(wdt:P17 | wdt:P159) ?country .\n  ?country rdfs:label ?countryLabel .\n  FILTER(LANG(?countryLabel) = \"en\")\n}", "paraphrases": ["Which nation serves as the common country for American Airlines and the U.S. Department of State?", "Where are American Airlines and the U.S. Department of State both located or based?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q32396> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q789915> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_8016", "question": "Types of egg pasta", "sparql": "SELECT ?pasta WHERE { ?pasta wdt:P279 wd:Q53619707 . }", "paraphrases": ["What are some types of pasta that are subclasses of egg pasta?", "List the different kinds of egg pasta."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q20046> . }"}}
{"id": "test_8017", "question": "What is the most specific category that both Blair Walsh and Slidell belong to through their hierarchical classifications?", "sparql": "SELECT ?commonAncestor WHERE { wd:Q5 wdt:P279* ?commonAncestor . wd:Q515 wdt:P279* ?commonAncestor . ?commonAncestor wdt:P279* ?ancestorOfCommon . FILTER (?commonAncestor != ?ancestorOfCommon) } GROUP BY ?commonAncestor ORDER BY ASC(COUNT(?ancestorOfCommon)) LIMIT 1", "paraphrases": ["What is the lowest common ancestor in the subclass hierarchy between the type of Blair Walsh (a human) and the type of Slidell (a city)?", "Which category is the most specific shared ancestor of a human and a city in Wikidata's ontology?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3640832> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q988156> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_8018", "question": "What categories does tangyuan belong to?", "sparql": "SELECT ?superclass ?superclassLabel WHERE { wd:Q115474 wdt:P279 ?superclass . OPTIONAL { ?superclass rdfs:label ?superclassLabel . FILTER(LANG(?superclassLabel) = 'en') } }", "paraphrases": ["What are the parent classes of the Chinese dessert tangyuan?", "Is tangyuan a type of dumpling or rice dish? Show its broader categories."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q115474> . }"}}
{"id": "test_8019", "question": "What are some dishes that are types of rice and beans?", "sparql": "SELECT ?dish WHERE { ?dish wdt:P279 wd:Q2916401 . }", "paraphrases": ["Can you list the culinary variations of rice and beans found in different cultures?", "Which specific dishes are classified as subclasses of rice and beans in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q489703> . }"}}
{"id": "test_8020", "question": "What are the types (categories) of Wakefield, New Hampshire and Delta Air Lines in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?type1 ?type2 WHERE {\n  wd:Q2430147 wdt:P31 ?type1 .\n  wd:Q188920 wdt:P31 ?type2 .\n}", "paraphrases": ["What classes do Wakefield and Delta Air Lines belong to according to Wikidata?", "What are the instance-of classifications for Wakefield, NH and Delta Air Lines?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2430147> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q188920> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_8021", "question": "What is the most specific category that both New Hampshire and the National Football League belong to?", "sparql": "SELECT ?label WHERE { wd:Q759 wdt:P31 ?type1 . ?type1 wdt:P279+ wd:Q43229 . wd:Q1215884 wdt:P31 ?type2 . ?type2 wdt:P279+ wd:Q43229 . wd:Q43229 rdfs:label ?label . FILTER (LANG(?label) = \"en\") }", "paraphrases": ["What do New Hampshire and the NFL have in common in terms of their classification in Wikidata?", "What is the highest-level category shared by the state of New Hampshire and the National Football League?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q759> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1215884> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_8022", "question": "What is the most specific common category that both CBS and New South Wales belong to?", "sparql": "SELECT ?commonClass WHERE { wd:Q1254874 wdt:P279* ?commonClass . wd:Q5852411 wdt:P279* ?commonClass . FILTER(?commonClass = wd:Q43229) }", "paraphrases": ["Which entity is a subclass of both the television network type of CBS and the state type of New South Wales?", "What do CBS and New South Wales have in common in terms of their classification in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q43380> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3224> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_8023", "question": "What is the most general category that both Scarsdale, New York and Bill Murray belong to, based on their class hierarchies in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestor(MIN(?dist1) + MIN(?dist2) AS ?sumDistance) WHERE {\n  {\n    SELECT ?ancestor(COUNT(?mid) AS ?dist1) WHERE {\n      wd:Q2300959 wdt:P31 ?cls1 .\n      ?cls1 wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n  {\n    SELECT ?ancestor(COUNT(?mid) AS ?dist2) WHERE {\n      wd:Q29250 wdt:P31 ?cls2 .\n      ?cls2 wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?ancestor .\n    }\n    GROUP BY ?ancestor\n  }\n}\nGROUP BY ?ancestor\nORDER BY ASC(?sumDistance)\nLIMIT 1", "paraphrases": ["Which entity in the Wikidata ontology is the closest common ancestor of the town of Scarsdale and the person Bill Murray, measured by the sum of subclass steps?", "Find the least common subclass ancestor of Scarsdale and Bill Murray in Wikidata, and compute the total number of subclass relationships from each to that ancestor."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2300959> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q29250> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_8024", "question": "What is the most specific shared category (in the subclass hierarchy) between the town of Belleair, FL and the newspaper Erie Times-News?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestor(?dist1 + ?dist2 AS ?totalDist) WHERE {\n  {\n    SELECT ?ancestor(COUNT(?step1) AS ?dist1) WHERE {\n      wd:Q2092758 wdt:P31 ?type1 .\n      ?type1 wdt:P279 + ?step1 .\n      ?step1 wdt:P279 * ?ancestor .\n      FILTER(?ancestor != ?type1)\n    }\n    GROUP BY ?ancestor\n  }\n  {\n    SELECT ?ancestor(COUNT(?step2) AS ?dist2) WHERE {\n      wd:Q5388342 wdt:P31 ?type2 .\n      ?type2 wdt:P279 + ?step2 .\n      ?step2 wdt:P279 * ?ancestor .\n      FILTER(?ancestor != ?type2)\n    }\n    GROUP BY ?ancestor\n  }\n}\nORDER BY ASC(?totalDist)\nLIMIT 1", "paraphrases": ["Which entity in Wikidata's classification system is the closest common ancestor to both Belleair, Florida and the Erie Times-News newspaper?", "How are Belleair, FL and the Erie Times-News semantically related through their types in Wikidata, and what is their most specific shared superclass?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2092758> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q5388342> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_8025", "question": "What is the most specific category that both the Likud political party and Phil Dawson (the American football player) belong to?", "sparql": "SELECT ?commonSuperclass ?label WHERE { wd:Q7278 wdt:P279* ?commonSuperclass . wd:Q5 wdt:P279* ?commonSuperclass . ?commonSuperclass rdfs:label ?label . FILTER(LANG(?label) = \"en\") } ORDER BY DESC(STRLEN(?label)) LIMIT 1", "paraphrases": ["What is the highest-level class that includes both political parties and humans, based on Wikidata's classification hierarchy?", "Which superclass in Wikidata encompasses both Likud and Phil Dawson, and is the most specific one?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q187009> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3378763> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_8026", "question": "What are the common superclass categories shared between a country like Algeria and an American football team like the Indianapolis Colts?", "sparql": "SELECT ?commonAncestor ?commonAncestorLabel WHERE { wd:Q6256 wdt:P279* ?commonAncestor . wd:Q17156793 wdt:P279* ?commonAncestor . ?commonAncestor rdfs:label ?commonAncestorLabel . FILTER(LANG(?commonAncestorLabel) = \"en\") } ORDER BY ?commonAncestor", "paraphrases": ["What is the most specific category that both Algeria and the Indianapolis Colts belong to through their types?", "Can you find the shared ontological classes between countries and sports teams in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q262> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q193753> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_8027", "question": "What is the most specific common ancestor class between Israelis and Qualcomm?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestor ?label WHERE {\n  BIND(wd:Q3778211 AS ?ancestor)\n  ?ancestor rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["Which class is a subclass of both the population of Israelis and the company Qualcomm?", "What is the shared superclass in the hierarchy between Israeli people and Qualcomm Inc.?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q875556> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q544847> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_8028", "question": "What is the most specific common superclass of the types of Houston and the surname Zhang?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonAncestor ?label WHERE {\n  wd:Q16555 wdt:P31 ?type1 .\n  wd:Q804909 wdt:P31 ?type2 .\n  ?type1 wdt:P279 * ?commonAncestor .\n  ?type2 wdt:P279 * ?commonAncestor .\n  ?commonAncestor rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  FILTER(?commonAncestor = wd:Q35120)\n}", "paraphrases": ["In the Wikidata taxonomy, what is the highest-level category that both Houston and the surname Zhang belong to?", "What entity class encompasses both cities and family names in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q16555> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q804909> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_8029", "question": "Is the inventor of the chocolate chip cookie named Mary?", "sparql": "ASK WHERE { wd:Q14169302 wdt:P61 ?inventor . ?inventor rdfs:label ?label . FILTER (REGEX(?label, \"Mary\", \"i\")) }", "paraphrases": ["Does the creator of the chocolate chip cookie have \"Mary\" in their name?", "Was the person who invented the chocolate chip cookie called Mary?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q14169302> <http://www.wikidata.org/prop/direct/P26> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( REGEX ( ?var2 , \"Mary\" ) ) ) . }"}}
{"id": "test_8030", "question": "What is the most specific common superclass of Formula One teams and cities in the United States?", "sparql": "SELECT ?ancestor\nWHERE {\n  wd:Q10497835 wdt:P279* ?ancestor .\n  wd:Q1093829 wdt:P279* ?ancestor .\n  FILTER (?ancestor != wd:Q10497835)\n  FILTER (?ancestor != wd:Q1093829)\n}\nLIMIT 1", "paraphrases": ["What category do Williams Racing and New York City share at the highest level of classification?", "What is the shared ontological category between a Formula One team and a city?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q171337> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q60> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_8031", "question": "What is the most specific category that both A. J. Hinch and Rihanna belong to, and how many subclass steps separate each from it?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonAncestor ?distHinch ?distRihanna ( ?distHinch + ?distRihanna AS ?totalDist ) WHERE {\n  BIND( wd:Q5 AS ?commonAncestor ) {\n    SELECT ( COUNT( ?mid ) AS ?distHinch ) WHERE {\n      wd:Q2818926 wdt:P31 ?classHinch .\n      ?classHinch wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?commonAncestor .\n    }\n  }\n  {\n    SELECT ( COUNT( ?mid ) AS ?distRihanna ) WHERE {\n      wd:Q36844 wdt:P31 ?classRihanna .\n      ?classRihanna wdt:P279 + ?mid .\n      ?mid wdt:P279 * ?commonAncestor .\n    }\n  }\n}\nORDER BY ASC ( ?totalDist )\nLIMIT 1", "paraphrases": ["Which human category is shared by baseball manager A. J. Hinch and singer Rihanna, and what is the total distance from their direct classes to this category?", "Find the common superclass in Wikidata\u2019s ontology between A. J. Hinch and Rihanna, and compute the sum of the shortest paths from their respective classes to that superclass."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2818926> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q36844> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_8032", "question": "What are the GND IDs of districts of Prussia located in the M\u00fcnster Government Region?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?district ?districtLabel ?gndId WHERE {\n  ?district wdt:P131 wd:Q7920 .\n  ?district wdt:P31 wd:Q5283531 .\n  ?district wdt:P227 ?gndId .\n  ?district rdfs:label ?districtLabel .\n  FILTER ( LANG( ?districtLabel ) = \"en\" )\n}", "paraphrases": ["Which historical districts of Prussia are located within the M\u00fcnster Government Region in Germany, and what are their German National Library (GND) identifiers?", "List the English names and GND IDs of all districts that were part of Prussia and are now in the M\u00fcnster Government Region."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q7920> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5283531> . ?var1 <http://www.wikidata.org/prop/direct/P227> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_8033", "question": "Who is Draco Malfoy\u2019s spouse in the Harry Potter universe?", "sparql": "SELECT ?spouse WHERE { wd:Q179641 wdt:P26 ?spouse .}", "paraphrases": ["Spouse of Draco Malfoy", "Tell me the name of the person Draco Malfoy married according to Wikidata."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q179641> <http://www.wikidata.org/prop/direct/P26> ?var1 . }"}}
{"id": "test_8034", "question": "What is the most closely related common category between Formula One and Pavel Durov, based on their hierarchical classification paths?", "sparql": "SELECT ?ancestor (?dist1 + ?dist2 AS ?totalDistance)\nWHERE {\n  {\n    # Ancestors of Formula One's classes\n    VALUES ?start1 { wd:Q1968 }\n    ?start1 wdt:P31 ?fc .\n    {\n      ?fc wdt:P279 ?ancestor . BIND(1 AS ?dist1)\n    } UNION {\n      ?fc wdt:P279 ?l1 . ?l1 wdt:P279 ?ancestor . BIND(2 AS ?dist1)\n    } UNION {\n      ?fc wdt:P279 ?l1 . ?l1 wdt:P279 ?l2 . ?l2 wdt:P279 ?ancestor . BIND(3 AS ?dist1)\n    } UNION {\n      ?fc wdt:P279 ?l1 . ?l1 wdt:P279 ?l2 . ?l2 wdt:P279 ?l3 . ?l3 wdt:P279 ?ancestor . BIND(4 AS ?dist1)\n    } UNION {\n      ?fc wdt:P279 ?l1 . ?l1 wdt:P279 ?l2 . ?l2 wdt:P279 ?l3 . ?l3 wdt:P279 ?l4 . ?l4 wdt:P279 ?ancestor . BIND(5 AS ?dist1)\n    }\n  }\n  {\n    # Ancestors of Pavel Durov's classes\n    VALUES ?start2 { wd:Q149067 }\n    ?start2 wdt:P31 ?pc .\n    {\n      ?pc wdt:P279 ?ancestor . BIND(1 AS ?dist2)\n    } UNION {\n      ?pc wdt:P279 ?l1 . ?l1 wdt:P279 ?ancestor . BIND(2 AS ?dist2)\n    } UNION {\n      ?pc wdt:P279 ?l1 . ?l1 wdt:P279 ?l2 . ?l2 wdt:P279 ?ancestor . BIND(3 AS ?dist2)\n    } UNION {\n      ?pc wdt:P279 ?l1 . ?l1 wdt:P279 ?l2 . ?l2 wdt:P279 ?l3 . ?l3 wdt:P279 ?ancestor . BIND(4 AS ?dist2)\n    } UNION {\n      ?pc wdt:P279 ?l1 . ?l1 wdt:P279 ?l2 . ?l2 wdt:P279 ?l3 . ?l3 wdt:P279 ?l4 . ?l4 wdt:P279 ?ancestor . BIND(5 AS ?dist2)\n    }\n  }\n}\nORDER BY ASC(?totalDistance)\nLIMIT 1", "paraphrases": ["Which entity is the nearest shared ancestor in the Wikidata taxonomy for Formula One and Pavel Durov, and what is the sum of their distances to it?", "Find the top-level class that both Formula One and Pavel Durov belong to through their class hierarchies, with the shortest combined path length."], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1968> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q149067> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_8035", "question": "What is the most specific common superclass of a human and a technology company in Wikidata?", "sparql": "SELECT ?ancestor WHERE { wd:Q5 wdt:P279* ?ancestor . wd:Q4830453 wdt:P279* ?ancestor . } ORDER BY DESC(xsd:integer(REPLACE(STR(?ancestor), \".*Q\", \"\"))) LIMIT 1", "paraphrases": ["Find the highest-level category that both humans and technology companies belong to, based on subclass relationships.", "What is the most specific shared category between Stanley Crouch and Google in terms of their classifications?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q355531> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q95> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_8036", "question": "What are the subclasses of Islamism?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subclass ?subclassLabel WHERE {\n  wd:Q189746 wdt:P279 ?subclass .\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER ( LANG( ?subclassLabel ) = \"en\" )\n}\nORDER BY ?subclassLabel", "paraphrases": ["Can you list the categories that Islamism is a subclass of, in alphabetical order?", "How is Islamism categorized in the hierarchy of political ideologies?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q189746> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q5066520> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_8037", "question": "What is the most general category that both a human and a geographic region belong to?", "sparql": "SELECT ?ancestor ?label\nWHERE {\n  wd:Q5 wdt:P279* ?ancestor .\n  wd:Q82794 wdt:P279* ?ancestor .\n  ?ancestor rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nORDER BY ASC(STRLEN(STR(?ancestor)))\nLIMIT 1", "paraphrases": ["What is the highest-level class that includes both humans and geographical regions in Wikidata?", "What do humans and places like Samaria have in common in terms of their classification in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1294629> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q159694> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_8038", "question": "What class do both Uma Thurman and Moon Jae-in belong to?", "sparql": "SELECT ?class WHERE { wd:Q125017 wdt:P31 ?class . wd:Q21001 wdt:P31 ?class . }", "paraphrases": ["What is the common category shared by Uma Thurman and Moon Jae-in?", "Which human category includes both the actress Uma Thurman and the politician Moon Jae-in?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q125017> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q21001> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_8039", "question": "What country is both Costa Rica and The New York Times connected to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonEntity WHERE {\n  wd:Q800 ?p1 ?commonEntity .\n  wd:Q9684 ?p2 ?commonEntity .\n  FILTER(isIRI(?commonEntity) && STRSTARTS(STR(?commonEntity) , \"http://www.wikidata.org/entity/Q\"))\n}\nLIMIT 1", "paraphrases": ["Which entity shares a direct relationship with both Costa Rica and The New York Times?", "What is the common link between Costa Rica and The New York Times in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q9684> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q800> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_8040", "question": "How many scientific publications citing DisGeNET were published each year?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?year(COUNT(DISTINCT ?work) AS ?count) WHERE {\n  ?work wdt:P2860 wd:Q28584435 .\n  ?work wdt:P577 ?date .\n  BIND(YEAR(?date) AS ?year)\n}\nGROUP BY ?year\nORDER BY DESC(?year)", "paraphrases": ["Can you show me the yearly count of works that cite the DisGeNET database, ordered from most recent to oldest?", "In which years were most papers published that reference DisGeNET, and how many were there in each year?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q28584435> AS ?var5 ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var5 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var6 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_8041", "question": "Multilingual labels and descriptions of the TV series House of Cards.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?property ?value WHERE {\n  wd:Q3330940 ?property ?value .\n  FILTER(?property = rdfs:label || ?property = schema:description)\n}\nORDER BY ?property ?value", "paraphrases": ["What are the different language labels and descriptions for the Netflix series House of Cards?", "Show me all the translations and descriptions of the TV show House of Cards in different languages."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q3330940> ?var1 ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_8042", "question": "What is the most specific category that both botanical gardens and technology companies belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?commonAncestor ( COUNT( ?step1 ) + COUNT( ?step2 ) AS ?totalNodes ) WHERE {\n  wd:Q167346 wdt:P279 * ?step1 .\n  ?step1 wdt:P279 * ?commonAncestor .\n  wd:Q18388277 wdt:P279 * ?step2 .\n  ?step2 wdt:P279 * ?commonAncestor .\n}\nGROUP BY ?commonAncestor\nORDER BY ASC ( ?totalNodes )\nLIMIT 1", "paraphrases": ["What is the highest-level class that includes both research institutions like botanical gardens and companies like Google?", "What do botanical gardens and technology companies have in common in terms of their classification hierarchy?"], "info": {"raw_sparql": "SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q167346> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q95> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1"}}
{"id": "test_8043", "question": "Is there a Wikipedia category about Greek folk music?", "sparql": "ASK WHERE { ?category wdt:P301 wd:Q12876995 . }", "paraphrases": ["Does Wikipedia have a category with Greek folk music as its main topic?", "Show me if Greek folk music is the main topic of any Wikipedia category."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P301> <http://www.wikidata.org/entity/Q12876995> . }"}}
{"id": "test_8044", "question": "Religious sites associated with a diocese and their names", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?entity ( SAMPLE( ?entityLabel ) AS ?label ) WHERE {\n  ?entity wdt:P708 ?diocese .\n  ?entity wdt:P31 ?type .\n  FILTER ( ?type IN ( wd:Q44613 , wd:Q16970 , wd:Q1564373 ) ) ?entity rdfs:label ?entityLabel .\n}\nGROUP BY ?entity\nLIMIT 11", "paraphrases": ["What are 11 churches, monasteries, or mission stations that belong to a diocese, and what are their names?", "List 11 religious buildings linked to a diocese along with their labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P708> _:bnode . } LIMIT 11 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_8045", "question": "Subclasses of prophet of Islam", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subclass ?subclassLabel WHERE {\n  ?subclass wdt:P279 wd:Q168827 .\n  OPTIONAL {\n    ?subclass rdfs:label ?subclassLabel .\n    FILTER ( LANG( ?subclassLabel ) = 'en' )\n  }\n}", "paraphrases": ["What are the subclasses of the prophet of Islam in Wikidata?", "List all known subclasses of the prophet of Islam, along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q168827> . } LIMIT 11 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8046", "question": "What properties are used to describe human biblical figures in Wikidata, excluding \"instance of\", and what qualifiers are attached to those statements?", "sparql": "SELECT ?item ?statement ?property ?qualifierProperty WHERE { ?statement ?statementProperty wd:Q20643955 . ?item ?claimProperty ?statement . ?property wikibase:claim ?claimProperty ; wikibase:statementProperty ?statementProperty . FILTER (?property != wd:P31) OPTIONAL { ?statement ?qualifierProperty ?qualifierValue . ?qualifierProperty wikibase:qualifier [] . } } GROUP BY ?item ?statement ?property ?qualifierProperty LIMIT 100", "paraphrases": ["Which items (like paintings or depictions) are linked to human biblical figures through statements, and what properties are used in those statements, along with any qualifiers?", "List all non-instance-of statements connecting items (e.g., artworks) to human biblical figures, showing the property used and any qualifiers on those statements."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q20643955> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_8047", "question": "How many works cite Alexander van Oudenaarden\u2019s publications, grouped by year?", "sparql": "SELECT ?year (COUNT(DISTINCT ?citing_work) AS ?count) WHERE { ?van_oudenaarden_work wdt:P50 wd:Q4720523 . ?citing_work wdt:P2860 ?van_oudenaarden_work . ?citing_work wdt:P577 ?date . BIND(STR(YEAR(?date)) AS ?year) } GROUP BY ?year ORDER BY DESC(?year)", "paraphrases": ["In which years were most works published that cite Alexander van Oudenaarden\u2019s research?", "Show the number of citations to Alexander van Oudenaarden\u2019s works over time, ordered by year in descending order."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q4720523> . } , \"string1\", \"string2\" ) AS ?var4 ). BIND ( STR ( YEAR ( ?var5 ) ) AS ?var1 ). ?var6 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q4720523> . ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var6 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var5 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_8048", "question": "Occupations of Nancy Kanwisher in English", "sparql": "SELECT ?occupation ?occupationLabel WHERE { wd:Q6962770 wdt:P106 ?occupation . ?occupation rdfs:label ?occupationLabel . FILTER (LANG(?occupationLabel) = \"en\") } LIMIT 50", "paraphrases": ["What are the occupations of Nancy Kanwisher as labeled in English?", "List the English labels for the occupations of the cognitive neuroscientist Nancy Kanwisher."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q6962770> <http://www.wikidata.org/prop/direct/P106> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } LIMIT 50"}}
{"id": "test_8049", "question": "List all scholarly works by John Stewart Dugdale, including their publication dates, journals, types, and co-authors, sorted from newest to oldest.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ( MIN( ?pubDate ) AS ?minPubDate ) ?work ?workLabel ( GROUP_CONCAT( DISTINCT ?instanceTypeLabel ; SEPARATOR = \", \" ) AS ?types ) ( SAMPLE( ?pages ) AS ?numPages ) ?venue ?venueLabel ( GROUP_CONCAT( DISTINCT ?authorLabel ; SEPARATOR = \", \" ) AS ?authors ) WHERE {\n  ?work wdt:P50 wd:Q22113468 .\n  ?work wdt:P50 ?author .\n  OPTIONAL {\n    ?author rdfs:label ?authorLabel .\n    FILTER ( LANG( ?authorLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?work rdfs:label ?workLabel .\n    FILTER ( LANG( ?workLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?work wdt:P577 ?pubDate\n  }\n  OPTIONAL {\n    ?work wdt:P31 ?instanceType .\n    ?instanceType rdfs:label ?instanceTypeLabel .\n    FILTER ( LANG( ?instanceTypeLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?work wdt:P1104 ?pages\n  }\n  OPTIONAL {\n    ?work wdt:P1433 ?venue .\n    ?venue rdfs:label ?venueLabel .\n    FILTER ( LANG( ?venueLabel ) = \"en\" )\n  }\n}\nGROUP BY ?work ?workLabel ?venue ?venueLabel\nORDER BY DESC ( ?minPubDate )", "paraphrases": ["What are the publications authored by John Stewart Dugdale, and who are the co-authors, publication venues, and types of each work, ordered by publication date in descending order?", "Please provide a list of all works written by John Stewart Dugdale, showing the title, publication date, journal or book it was published in, the type of work (e.g., article or thesis), and all authors involved, sorted with the most recent first."], "info": {"raw_sparql": "SELECT( MIN ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ( GROUP_CONCAT ( DISTINCT ?var4Label ; SEPARATOR = \", \" ) AS ?var5 )( SAMPLE ( ?var6 ) AS ?var7 ) ?var8 ?var8Label ( GROUP_CONCAT ( DISTINCT ?var9Label ; SEPARATOR = \", \" ) AS ?var10 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q22113468> . ?var3 <http://www.wikidata.org/prop/direct/P50> ?var11 . OPTIONAL { ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12 . FILTER ( ( ( LANG ( ?var12 ) = \"en\" ) ) ) . } BIND ( COALESCE ( ?var12 , SUBSTR ( STR ( ?var11 ) ,\"32\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var9Label ). OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . } OPTIONAL { BIND ( <http://www.w3.org/2001/XMLSchema#date> ( ?var13 ) AS ?var1 ). ?var3 <http://www.wikidata.org/prop/direct/P577> ?var13 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1104> ?var6 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,no,ru,sv,zh\". } } GROUP BY ?var3 ?var3Label ?var8 ?var8Label ORDER BY DESC( ?var2 )"}}
{"id": "test_8050", "question": "List all genes from Chlamydia pneumoniae (NCBI taxon ID 115713) with their locus tags, Entrez IDs, genomic start/end positions, strand orientation, chromosome, RefSeq genome ID, and alternative names.", "sparql": "PREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?gene ?locusTag ?entrezId ?genomicStart ?genomicEnd ?strand ?refseqGenomeId ?chromosome ?altLabelsConcat WHERE {\n  ?taxon wdt:P685 \"115713\" .\n  ?gene wdt:P703 ?taxon ; wdt:P31 wd:Q7187 ; wdt:P2393 ?locusTag ; wdt:P351 ?entrezId ; wdt:P644 ?genomicStart ; wdt:P645 ?genomicEnd ; wdt:P2548 ?strand ; skos:altLabel ?altLabel .\n  ?gene p:P644 ?startStatement .\n  ?startStatement pq:P1057 ?chromosome .\n  ?chromosome wdt:P2249 ?refseqGenomeId .\n  OPTIONAL {\n    ?gene wdt:P688 ?protein ; wdt:P352 ?uniprotId ; wdt:P637 ?refseqProteinId .\n  }\n  BIND(GROUP_CONCAT(?altLabel ; SEPARATOR = \", \") AS ?altLabelsConcat)\n}\nGROUP BY ?gene ?locusTag ?entrezId ?genomicStart ?genomicEnd ?strand ?refseqGenomeId ?chromosome ?altLabelsConcat", "paraphrases": ["What are the genomic features (including coordinates, strand, and chromosome location) of all genes in Chlamydia pneumoniae, along with their NCBI locus tags and alternative gene names?", "Please provide a table of all genes in Chlamydia pneumoniae, showing their NCBI locus tags, Entrez IDs, genomic start and end positions, strand direction, the chromosome they're on, the RefSeq genome ID, and any alternative gene names they are known by."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var7Label ?var8 ?var8Label ?var9 ?var10 ?var11 ( GROUP_CONCAT ( ?var12 ; SEPARATOR = \", \" ) AS ?var13 ) WHERE { ?var14 <http://www.wikidata.org/prop/direct/P685> \"115713\". ?var1 <http://www.wikidata.org/prop/direct/P703> ?var14 ; <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q7187> ; <http://www.wikidata.org/prop/direct/P2393> ?var5 ; <http://www.wikidata.org/prop/direct/P351> ?var3 ; <http://www.wikidata.org/prop/direct/P644> ?var9 ; <http://www.wikidata.org/prop/direct/P645> ?var10 ; <http://www.wikidata.org/prop/direct/P2548> ?var11 ; <http://www.w3.org/2004/02/skos/core#altLabel> ?var12 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P688> ?var2 ; <http://www.wikidata.org/prop/direct/P352> ?var6 ; <http://www.wikidata.org/prop/direct/P637> ?var4 . } ?var1 <http://www.wikidata.org/prop/P644> ?var15 . ?var15 <http://www.wikidata.org/prop/qualifier/P1057> ?var7 . ?var7 <http://www.wikidata.org/prop/direct/P2249> ?var8 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var5 ?var6 ?var7 ?var7Label ?var9 ?var10 ?var11 ?var8 ?var8Label"}}
{"id": "test_8051", "question": "Which Wikidata items have Twitter usernames NHM_London, TetZoo, or BernieSanders?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . FILTER(?username IN (\"NHM_London\", \"TetZoo\", \"BernieSanders\")) }", "paraphrases": ["Who are the people or organizations on Wikidata with the Twitter handles NHM_London, TetZoo, and BernieSanders?", "List the Wikidata entities linked to the Twitter accounts NHM_London, TetZoo, and BernieSanders."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"Litlok\" ) ( \"Hugo_Lz\" ) ( \"darkoneko\" ) ( \"R_Bachelet\" ) ( \"string1\" ) ( \"Erdrokan\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"SUEtheTrex\" ) ( \"NHMdinolab\" ) ( \"NHM_London\" ) ( \"TetZoo\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"MCochard_\" ) ( \"SenSanders\" ) ( \"calopedie\" ) ( \"La_Chat_9\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8052", "question": "What are some mythical characters and the media they appear in?", "sparql": "SELECT DISTINCT ?mythicalCharacter ?mythicalCharacterLabel ?work ?workLabel WHERE { ?mythicalCharacter wdt:P31 wd:Q4271324 . ?work wdt:P161 ?mythicalCharacter . ?mythicalCharacter rdfs:label ?mythicalCharacterLabel . ?work rdfs:label ?workLabel . } LIMIT 100", "paraphrases": ["Which films or TV shows feature mythical characters as cast members?", "Can you list mythical figures along with the productions they are part of?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4271324> ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q95074> . ?var3 <http://www.wikidata.org/prop/direct/P161> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 100"}}
{"id": "test_8053", "question": "Which Wikidata items have the Twitter usernames 'Wikimedia', 'petapixel', 'Apple', 'datadoghq', 'attac_fr', or 'joelgombin'?", "sparql": "SELECT ?item ?username WHERE { VALUES ?username { \"Wikimedia\" \"petapixel\" \"Apple\" \"datadoghq\" \"attac_fr\" \"joelgombin\" } ?item wdt:P2002 ?username . }", "paraphrases": ["Show me the Wikidata entities linked to these Twitter accounts: Wikimedia, petapixel, Apple, datadoghq, attac_fr, and joelgombin.", "What are the Wikidata items corresponding to these X (Twitter) handles: Wikimedia, petapixel, Apple, datadoghq, attac_fr, and joelgombin?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"bitonio\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"_ColinFay\" ) ( \"joelgombin\" ) ( \"eva_dun\" ) ( \"string5\" ) ( \"ouisncf\" ) ( \"leellrc\" ) ( \"string6\" ) ( \"waxxgyver\" ) ( \"CerberusXt\" ) ( \"PoulpyWP\" ) ( \"TrizekWP\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"Wikimedia\" ) ( \"m_clem\" ) ( \"heindehaas\" ) ( \"renault_fr\" ) ( \"string10\" ) ( \"kwyxz\" ) ( \"string11\" ) ( \"string12\" ) ( \"string13\" ) ( \"wikidata\" ) ( \"string14\" ) ( \"DxOLabs\" ) ( \"Jastrow75\" ) ( \"Attakus\" ) ( \"string15\" ) ( \"petapixel\" ) ( \"string16\" ) ( \"GrobMatt\" ) ( \"Gwaradenn\" ) ( \"xorizo\" ) ( \"string17\" ) ( \"NFr21\" ) ( \"string18\" ) ( \"hatonjan\" ) ( \"c_laverdet\" ) ( \"string19\" ) ( \"MuslimIQ\" ) ( \"string20\" ) ( \"string21\" ) ( \"datadoghq\" ) ( \"Edhral\" ) ( \"string22\" ) ( \"string23\" ) ( \"attac_fr\" ) ( \"Apple\" ) ( \"string24\" ) ( \"string25\" ) ( \"Faskil\" ) ( \"string26\" ) ( \"string27\" ) ( \"sicoval31\" ) ( \"lcomparat\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8054", "question": "Image of the person with SNAC ARK ID w6pg324m", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6pg324m\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w6pg324m?", "Show me the Wikimedia Commons image for the individual identified by the SNAC ARK ID w6pg324m."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6pg324m\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8055", "question": "Female humans who are citizens of Arabic-speaking countries, with their birthplaces, dates of birth and death, and VIAF IDs.", "sparql": "SELECT ?person ?personLabel ?countryLabel ?birthPlaceLabel ?birthDate ?deathDate ?viafId WHERE { ?person wdt:P31 wd:Q5 ; wdt:P21 wd:Q6581072 ; wdt:P27 ?country . ?country wdt:P37 wd:Q13955 . OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } OPTIONAL { ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") } OPTIONAL { ?person wdt:P19 ?birthPlace . ?birthPlace rdfs:label ?birthPlaceLabel . FILTER(LANG(?birthPlaceLabel) = \"en\") } OPTIONAL { ?person wdt:P569 ?birthDate } OPTIONAL { ?person wdt:P570 ?deathDate } OPTIONAL { ?person wdt:P214 ?viafId } } ORDER BY ASC(?countryLabel)", "paraphrases": ["Who are the female individuals from Arabic-speaking countries, and what are their places of birth, birth and death dates, and VIAF identifiers?", "List all female humans who hold citizenship in Arabic-speaking nations, along with their English labels, birth locations, birth and death dates, and VIAF IDs, sorted by country name."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4Label ?var5Label ?var6 ?var7 ?var8 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/p214> ?var6 . } ?var1 <http://www.wikidata.org/prop/direct/P27> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P37> <http://www.wikidata.org/entity/Q13955> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY ASC( ?var2 )"}}
{"id": "test_8056", "question": "What are the most common types of fictional characters in IMDb that have IDs starting with \"ch\"?", "sparql": "SELECT DISTINCT ?type ?typeLabel ?count WHERE { { SELECT ?type (COUNT(?character) AS ?count) WHERE { ?character wdt:P345 ?imdbId . FILTER(STRSTARTS(?imdbId, \"ch\")) . ?character wdt:P31 ?type . } GROUP BY ?type } ?type rdfs:label ?typeLabel . FILTER(LANG(?typeLabel) = \"en\") } ORDER BY DESC(?count)", "paraphrases": ["Can you list the types of characters (like film or literary characters) that appear most frequently in IMDb under IDs beginning with \"ch\", along with how many there are of each?", "Show me the distribution of character types (e.g., fictional human, comics character) for IMDb entries with IDs starting with \"ch\", sorted by popularity."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { { SELECT DISTINCT ?var1 ( COUNT ( ?var3 ) AS ?var2 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P345> ?var4 . FILTER ( ( REGEX ( ?var4 , \"ch\" ) ) ) . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( LANG ( ?var5Label ) IN ( \"en\", \"ko\" ) ) ) . ?var3 <http://www.wikidata.org/prop/direct/P31> ?var1 . } GROUP BY ?var1 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var2 )"}}
{"id": "test_8057", "question": "What is the English label and description of the chemical compound with Great Russian Encyclopedia Online ID 4214920?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P2924 \"4214920\" .\n  OPTIONAL {\n    ?item rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Find the name and English description of the substance identified as 4214920 in the Great Russian Encyclopedia Online (old version).", "Which entity in Wikidata has the ID 4214920 in the Great Russian Encyclopedia, and what is its English name and description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"4214920\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8058", "question": "People who are politicians", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?politician WHERE {\n  ?politician wdt:P106 wd:Q82955 .\n}\nLIMIT 100", "paraphrases": ["Who are some politicians?", "List up to 100 individuals whose occupation is politician."], "info": {"raw_sparql": "SELECT ?var1 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82955> . OPTIONAL { } OPTIONAL { } } LIMIT 100"}}
{"id": "test_8059", "question": "What are all the relationships of the Marvel character X-23 with other entities, and what are their English labels?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?subject ?subjectLabel ?property ?propertyLabel ?object ?objectLabel ?image WHERE {\n  BIND( wd:Q1872439 AS ?subject ) .\n  ?object ?property ?subject .\n  ?propItem wikibase:directClaim ?property .\n  ?propItem rdfs:label ?propertyLabel .\n  ?object rdfs:label ?objectLabel .\n  ?subject rdfs:label ?subjectLabel .\n  FILTER ( LANG( ?subjectLabel ) = \"en\" ) .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" ) .\n  FILTER ( LANG( ?objectLabel ) = \"en\" ) .\n  OPTIONAL {\n    ?subject wdt:P18 ?image .\n  }\n}\nLIMIT 100", "paraphrases": ["List all entities connected to X-23 in Wikidata, along with the nature of the relationship and their names in English.", "Show me the English labels of all people, works, or concepts related to X-23, including the type of relationship and X-23\u2019s image if available."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5Label ?var6 WHERE { BIND ( <http://www.wikidata.org/entity/Q1872439> AS ?var1 ). ?var4 ?var2 ?var1 . ?var7 ?var8 ?var2 . ?var7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var6 . } } LIMIT 100"}}
{"id": "test_8060", "question": "Properties of Mead quadrangle on Venus with Spanish object labels and English property labels.", "sparql": "SELECT ?property ?propertyLabel ?value ?valueLabel ?image WHERE { wd:Q29514183 ?property ?value . FILTER (STRSTARTS(STR(?property), \"http://www.wikidata.org/prop/direct/\")) . BIND( IRI(REPLACE(STR(?property), \"http://www.wikidata.org/prop/direct/\", \"http://www.wikidata.org/entity/\")) AS ?propItem ) . ?propItem rdfs:label ?propertyLabel . ?value rdfs:label ?valueLabel . OPTIONAL { wd:Q29514183 wdt:P18 ?image . } FILTER (LANG(?valueLabel) = \"es\") FILTER (LANG(?propertyLabel) = \"en\") } LIMIT 100", "paraphrases": ["What are the properties of the Mead quadrangle on Venus, and what are their Spanish object labels?", "Show me the English names of the properties used by the Mead quadrangle on Venus, along with their Spanish object labels."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5Label ?var6 WHERE { BIND ( <http://www.wikidata.org/entity/Q29514183> AS ?var1 ). ?var4 ?var2 ?var1 . ?var7 ?var8 ?var2 . ?var7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var5Label ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"es\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var6 . } } LIMIT 100"}}
{"id": "test_8061", "question": "List anatomical structures with their UBERON identifiers and MeSH IDs.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?anatomy ?uberon_id ?mesh_id WHERE {\n  ?anatomy wdt:P1554 ?uberon_id .\n  OPTIONAL {\n    ?anatomy wdt:P486 ?mesh_id .\n  }\n}\nLIMIT 4000", "paraphrases": ["Which anatomical entities in Wikidata have UBERON IDs, and do any of them also have MeSH IDs?", "Show me the UBERON IDs for anatomical structures, and include their MeSH IDs if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1554> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1554> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P486> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 4000"}}
{"id": "test_8062", "question": "List all disambiguation pages on Wikidata.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P31 wd:Q4167410 .\n}", "paraphrases": ["What items are instances of a Wikimedia disambiguation page?", "Show me all Wikipedia disambiguation pages registered in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q111478> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8063", "question": "What are the two most frequently referenced zodiac signs in Chinese on Wikidata, and how many times are they mentioned?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?zodiac ?zodiacLabel ?count WHERE {\n  {\n    SELECT ?zodiac(COUNT(?entity) AS ?count) WHERE {\n      ?zodiac wdt:P31 wd:Q1795024 .\n      ?entity ?property ?zodiac .\n    }\n    GROUP BY ?zodiac\n    ORDER BY DESC(?count)\n    LIMIT 2\n  }\n  ?zodiac rdfs:label ?zodiacLabel .\n  FILTER(LANG(?zodiacLabel) = 'zh')\n}\nORDER BY DESC(?count) ASC(?zodiacLabel)", "paraphrases": ["Which Chinese-labeled zodiac signs appear in the most Wikidata entities, and what are their reference counts?", "Show the top two zodiac signs in Chinese that are most commonly associated with other entities in Wikidata, sorted by popularity."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 ( COUNT ( DISTINCT ?var3 ) AS ?var2 ) WHERE { ?var3 ?var4 ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"\u8655\u5973\u5ea7\"@zh . } GROUP BY ?var1 } } ORDER BY DESC( ?var2 )ASC( ?var1Label ) LIMIT 2"}}
{"id": "test_8064", "question": "All properties and values associated with the anime Dr. Slump.", "sparql": "SELECT ?property ?value WHERE { wd:Q3038453 ?property ?value . } LIMIT 100", "paraphrases": ["What information is available in Wikidata about the anime series Dr. Slump?", "Show me all the properties (like composer, official website, descriptions in different languages) and their values for the anime Dr. Slump."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q3038453> ?var1 ?var2 . } LIMIT 100"}}
{"id": "test_8065", "question": "What are the different language versions of the name \"Shoji Nishio\" on Wikidata?", "sparql": "SELECT DISTINCT ?label (LANG(?label) AS ?language) WHERE { wd:Q716152 rdfs:label ?label . } LIMIT 100", "paraphrases": ["In which languages is Shoji Nishio named differently, and what are those names?", "Show me all the labels for Shoji Nishio (Q716152) along with their language codes."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ( LANG ( ?var1 ) AS ?var2 ) WHERE { <http://www.wikidata.org/entity/Q716152> <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . } LIMIT 100"}}
{"id": "test_8066", "question": "People and their notable works in English", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?person ?workLabel WHERE {\n  ?person wdt:P800 ?work .\n  ?work rdfs:label ?workLabel .\n  FILTER(LANG(?workLabel) = \"en\")\n}", "paraphrases": ["Which people have notable works with English labels, and what are those works called?", "Show me a list of individuals along with the English titles of their notable works."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P800> ?var2 . } }"}}
{"id": "test_8067", "question": "Japanese names of dishes and their ingredients", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?dish ?dishLabelJa ?ingredient ?ingredientLabel WHERE {\n  ?dish wdt:P31 wd:Q746549 .\n  OPTIONAL {\n    ?dish rdfs:label ?dishLabelJa .\n    FILTER(LANG(?dishLabelJa) = \"ja\")\n  }\n  OPTIONAL {\n    ?dish wdt:P186 ?ingredient .\n    ?ingredient rdfs:label ?ingredientLabel .\n  }\n}\nLIMIT 100", "paraphrases": ["What are some dishes in Japanese, and what materials are they made from?", "Show me dishes that are instances of food dishes, along with their Japanese labels and the ingredients they contain."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q746549> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"ja\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P186> ?var3 . } } LIMIT 100"}}
{"id": "test_8068", "question": "Who are the professional baseball players that attended college or university?", "sparql": "SELECT DISTINCT ?player WHERE { ?player wdt:P106 wd:Q11336312 . ?player wdt:P69 ?institution . } LIMIT 100", "paraphrases": ["Professional baseball players with known alma maters", "List professional baseball players who have an educational background listed in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q11336312> . ?var2 <http://www.wikidata.org/prop/direct/P69> ?var3 . } LIMIT 100"}}
{"id": "test_8069", "question": "List scholarly articles in Wikidata.", "sparql": "SELECT ?item WHERE { ?item wdt:P31 wd:Q13442814 . } LIMIT 100", "paraphrases": ["What are some examples of scholarly articles on Wikidata?", "Show me up to 100 entities that are instances of scholarly articles."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> * <http://www.wikidata.org/prop/direct/Q13442814> . } LIMIT 100"}}
{"id": "test_8070", "question": "Municipalities in Lu\u010denec District, Slovakia, with their postal codes.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?municipality ?municipalityLabel ?postalCode WHERE {\n  ?municipality wdt:P131 wd:Q836205 .\n  ?municipality wdt:P31 wd:Q6784672 .\n  OPTIONAL {\n    ?municipality wdt:P281 ?postalCode .\n  }\n  ?municipality rdfs:label ?municipalityLabel .\n  FILTER ( LANG( ?municipalityLabel ) = \"sk\" )\n}\nLIMIT 100", "paraphrases": ["What are the names and postal codes of municipalities in the Lu\u010denec District of Slovakia?", "List all municipalities (obce) in the Lu\u010denec District of Slovakia along with their Slovak names and postal codes."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q836205> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P281> ?var3 . } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6784672> . } LIMIT 100"}}
{"id": "test_8071", "question": "Subclasses of guide book with English labels", "sparql": "SELECT ?subclass ?label WHERE { ?subclass wdt:P279 wd:Q223638 . ?subclass rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["What are the English-named subtypes of a guide book?", "List all types of guide books in English, such as travel guides or walking guides."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q223638> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . }"}}
{"id": "test_8072", "question": "Labels, image, coordinates, and Wikipedia links for the political party Action Front of National Socialists/National Activists in English, German, French, Italian, and Spanish.", "sparql": "SELECT ?label ?image ?coordinates ?wikipedia_url ?lang_code WHERE {\n  VALUES (?lang_code ?lang_order) {\n    (\"en\" 1)\n    (\"de\" 2)\n    (\"fr\" 3)\n    (\"it\" 4)\n    (\"es\" 5)\n  }\n\n  OPTIONAL { wd:Q160201 rdfs:label ?label . FILTER (LANG(?label) = ?lang_code) }\n  OPTIONAL { wd:Q160201 wdt:P18 ?image . }\n  OPTIONAL { wd:Q160201 wdt:P625 ?coordinates . }\n  OPTIONAL {\n    ?wikipedia_url schema:about wd:Q160201 ;\n                   schema:inLanguage ?lang_code ;\n                   schema:isPartOf ?wikipedia_site .\n    FILTER (STRSTARTS(STR(?wikipedia_site), \"https://\"))\n  }\n}\nORDER BY ASC(?lang_order)", "paraphrases": ["What are the labels, images, coordinates, and Wikipedia article links for the German political party \"Action Front of National Socialists/National Activists\" in English, German, French, Italian, and Spanish?", "Please provide the labels in English, German, French, Italian, and Spanish, along with any available image, coordinates, and Wikipedia links for the political party Action Front of National Socialists/National Activists."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q160201> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var7 ) ) ) . VALUES ( ?var7 ?var8 ) { ( \"undefined\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q160201> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q160201> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"undefined\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q160201> <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q160201> ; <http://schema.org/inLanguage> \"undefined\"; <http://schema.org/isPartOf> <https://undefined.wikipedia.org/> . } } ORDER BY ASC( ?var8 )"}}
{"id": "test_8073", "question": "Image of the person with SNAC ARK ID w6417sgv", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6417sgv\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6417sgv?", "Show me the Wikimedia Commons image for the individual identified by the SNAC ARK ID w6417sgv."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6417sgv\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8074", "question": "In which journal was the article \"Epidemiological notes on some viruses isolated in Uganda; ... Semliki forest, Bunyamwera, Ntaya, Uganda S and Zika viruses\" published?", "sparql": "SELECT ?publication WHERE { wd:Q22330892 wdt:P1433 ?publication }", "paraphrases": ["What is the publication venue for the scholarly article about Semliki forest and Zika viruses from Uganda?", "Where was the study on viruses isolated in Uganda published?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1433> <http://www.wikidata.org/entity/Q22330892> . } LIMIT 10000"}}
{"id": "test_8075", "question": "Does the ship with IMO number 9687784 exist in Wikidata?", "sparql": "ASK WHERE { ?ship wdt:P458 \"9687784\" . }", "paraphrases": ["Is there a ship registered with the IMO number 9687784 in Wikidata?", "Confirm whether the vessel identified by IMO 9687784 is listed in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P458> \"9687784\". }"}}
{"id": "test_8076", "question": "What is Elon Musk\u2019s birth name?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?birthName WHERE {\n  wd:Q317521 wdt:P1477 ?birthName .\n}", "paraphrases": ["What name was Elon Musk given at birth?", "What is the full birth name of the entrepreneur Elon Musk?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1477> <http://www.wikidata.org/entity/Q317521> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_8077", "question": "Does the ship with IMO number 7319553 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?ship wdt:P458 \"7319553\" .\n}", "paraphrases": ["Is there a ship registered in the International Maritime Organization with the number 7319553?", "Confirm if the IMO number 7319553 is assigned to any ship in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P458> \"7319553\". }"}}
{"id": "test_8078", "question": "What ship has IMO number 7112668?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?ship ?shipLabel WHERE {\n  ?ship wdt:P458 \"7112668\" .\n  ?ship rdfs:label ?shipLabel .\n  FILTER(LANG(?shipLabel) = \"en\")\n}", "paraphrases": ["Which ship is identified by the IMO number 7112668?", "Please tell me the name of the ship with IMO number 7112668."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P458> \"7112668\". }"}}
{"id": "test_8079", "question": "Which Wikidata items have the Twitter handles \"OrientXXI\", \"t_fortin\", \"GMeurice\", or \"s_assbague\"?", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ?item ?twitterHandle WHERE {\n  ?item p:P2002 ?statement .\n  ?statement ps:P2002 ?twitterHandle .\n  VALUES ?twitterHandle {\n    \"OrientXXI\" \"t_fortin\" \"GMeurice\" \"s_assbague\"\n  }\n}\nORDER BY ?twitterHandle", "paraphrases": ["Who are the people or organizations on Wikidata with the Twitter usernames \"OrientXXI\", \"t_fortin\", \"GMeurice\", and \"s_assbague\"?", "List the Wikidata entities linked to the Twitter accounts @OrientXXI, @t_fortin, @GMeurice, and @s_assbague."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"Anice_L\" ) ( \"WardaMD\" ) ( \"OrientXXI\" ) ( \"t_fortin\" ) ( \"obsarm\" ) ( \"zebastoc\" ) ( \"PasClair\" ) ( \"LREMeme\" ) ( \"string3\" ) ( \"MIdelovici\" ) ( \"string4\" ) ( \"75Sebthom\" ) ( \"GMeurice\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"ZabouF\" ) ( \"string9\" ) ( \"string10\" ) ( \"s_assbague\" ) ( \"Jakod91\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8080", "question": "Does the German National Library ID 109312813 exist in Wikidata?", "sparql": "ASK WHERE { ?entity wdt:P227 \"109312813\" . }", "paraphrases": ["Is there a Wikidata item associated with the GND ID 109312813?", "Can you find any entity in Wikidata with the GND ID 109312813?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"109312813\". }"}}
{"id": "test_8081", "question": "Who is Tony Blair in French and is a human?", "sparql": "SELECT DISTINCT ?person WHERE { ?person rdfs:label \"Tony Blair\" @fr . ?person wdt:P31 wd:Q5 . }", "paraphrases": ["Which human has the French label 'Tony Blair'?", "Find the Wikidata entity for Tony Blair that is classified as a human and has the French label 'Tony Blair'."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Tony Tison\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8082", "question": "Italian regions, their regional councils, and number of constituencies", "sparql": "SELECT ?region ?regionLabel ?council ?councilLabel ?numConstituencies WHERE { ?region (wdt:P31/wdt:P279*) wd:Q10864048 ; wdt:P17 wd:Q38 . ?council wdt:P1001 ?region ; wdt:P31 wd:Q1077701 . OPTIONAL { ?council wdt:P4253 ?numConstituencies . } MINUS { ?region wdt:P576 [] . } MINUS { ?council wdt:P576 [] . } ?region rdfs:label ?regionLabel . ?council rdfs:label ?councilLabel . FILTER(LANG(?regionLabel) = \"en\") FILTER(LANG(?councilLabel) = \"en\") } ORDER BY ?region", "paraphrases": ["What are the active regional councils in Italy, which regions they represent, and how many constituencies each has?", "Please list all active Italian regions along with their corresponding regional councils and the number of constituencies each council oversees."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var5 ?var5Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q10864048> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q38> . ?var2 <http://www.wikidata.org/prop/direct/P1001> ?var1 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1077701> ; <http://www.wikidata.org/prop/direct/P17> ?var6 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P4253> ?var3 . } OPTIONAL { SELECT( GROUP_CONCAT ( DISTINCT ?var7 ; SEPARATOR = \"//\" ) AS ?var4 ) WHERE { ?var8 <http://www.wikidata.org/prop/statement/P279> <http://www.wikidata.org/entity/Q192611> ; <http://www.wikidata.org/prop/qualifier/P642> ?var2 . ?var5 <http://www.wikidata.org/prop/P279> ?var8 . ?var7 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var5 . MINUS { ?var7 <http://www.wikidata.org/prop/direct/P576> [] . } } GROUP BY ?var7 } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P576> [] . } MINUS { ?var2 <http://www.wikidata.org/prop/direct/P576> [] . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_8083", "question": "Italian regions with their regional councils and number of constituencies", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?region ?regionLabel ?council ?councilLabel ?numConstituencies WHERE {\n  ?region wdt:P31 / wdt:P279 * wd:Q10864048 ; wdt:P17 wd:Q38 .\n  ?council wdt:P1001 ?region ; wdt:P31 wd:Q1077701 .\n  OPTIONAL {\n    ?council wdt:P4253 ?numConstituencies .\n  } MINUS {\n    ?region wdt:P576 [] .\n  } MINUS {\n    ?council wdt:P576 [] .\n  }\n  ?region rdfs:label ?regionLabel .\n  ?council rdfs:label ?councilLabel .\n  FILTER ( LANG( ?regionLabel ) = \"en\" && LANG( ?councilLabel ) = \"en\" )\n}\nORDER BY ASC ( ?regionLabel ) ASC ( ?councilLabel )", "paraphrases": ["What are the active regional councils in Italy, and how many constituencies does each one manage?", "List all Italian regions and their corresponding regional councils, including the number of constituencies each council oversees, excluding any that have been dissolved."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var4Label ?var5 ?var5Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q10864048> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q38> . ?var2 <http://www.wikidata.org/prop/direct/P1001> ?var1 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1077701> . ?var2 <http://www.wikidata.org/prop/direct/P17> ?var6 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P4253> ?var3 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/statement/P279> <http://www.wikidata.org/entity/Q192611> ; <http://www.wikidata.org/prop/qualifier/P642> ?var2 . ?var4 <http://www.wikidata.org/prop/P279> ?var7 . ?var5 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var4 . MINUS { ?var5 <http://www.wikidata.org/prop/direct/P576> [] . } } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P576> [] . } MINUS { ?var2 <http://www.wikidata.org/prop/direct/P576> [] . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY ASC( ?var1Label )ASC( ?var5Label )"}}
{"id": "test_8084", "question": "List businesses with their English names and logos.", "sparql": "SELECT ?business ?businessLabel ?image WHERE { ?business wdt:P31 wd:Q4830453 . ?business rdfs:label ?businessLabel . FILTER(LANG(?businessLabel) = \"en\") OPTIONAL { ?business wdt:P18 ?image . } }", "paraphrases": ["What are the English names of businesses, and which ones have images on Wikimedia Commons?", "Can you show me a list of all businesses, including their English labels and the images associated with them from Wikimedia Commons?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4830453> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_8085", "question": "Image of Leo Tolstoy from SNAC ARK ID w6jh3kzp", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6jh3kzp\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6jh3kzp?", "Show me the Wikimedia Commons image for the person identified by SNAC ARK ID w6jh3kzp."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6jh3kzp\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8086", "question": "What entities are located near the coordinates 30\u00b0 longitude and 60\u00b0 latitude?", "sparql": "SELECT ?item ?coord WHERE {\n  ?item wdt:P625 ?coord .\n  BIND(STR(?coord) AS ?coordStr)\n  BIND(REPLACE(?coordStr, \"POINT\\\\(\", \"\") AS ?lonLat)\n  BIND(REPLACE(?lonLat, \"\\\\)\", \"\") AS ?coords)\n  BIND(STRBEFORE(?coords, \" \") AS ?lonStr)\n  BIND(STRAFTER(?coords, \" \") AS ?latStr)\n  BIND(xsd:double(?lonStr) AS ?lon)\n  BIND(xsd:double(?latStr) AS ?lat)\n  FILTER(?lon >= 29.5 && ?lon <= 30.5 && ?lat >= 59.5 && ?lat <= 60.5)\n}", "paraphrases": ["Show me places within approximately 15 kilometers of (30, 60) on the map.", "List all items with geographic coordinates close to Saint Petersburg, Russia (around 30\u00b0E, 60\u00b0N)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> \"POINT(30 60)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"15\". } }"}}
{"id": "test_8087", "question": "Composers born between 1500 and 1900 with their birth dates, images, and lists of works.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?composerLabel ?dateOfBirth ?image ?listOfWorks WHERE {\n  ?composer wdt:P106 wd:Q36834 .\n  ?composer wdt:P569 ?dateOfBirth .\n  ?composer wdt:P18 ?image .\n  ?composer wdt:P1455 ?listOfWorks .\n  FILTER(?dateOfBirth >= \"1500-01-01T00:00:00Z\" ^^ xsd:dateTime)\n  FILTER(?dateOfBirth <= \"1900-01-01T00:00:00Z\" ^^ xsd:dateTime)\n  ?composer rdfs:label ?composerLabel .\n  FILTER(LANG(?composerLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Who are the composers born between 1500 and 1900, and what are their birth dates, images, and lists of works?", "Show me the names, birth dates, images, and lists of works of composers who were born between the years 1500 and 1900."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q36834> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . ?var5 <http://www.wikidata.org/prop/direct/P625> ?var6 . ?var1 <http://www.wikidata.org/prop/direct/P1455> ?var4 . FILTER ( ( ( ?var2 >= \"1500-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var2 <= \"1900-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 100"}}
{"id": "test_8088", "question": "French people with the surname Mal\u00e9zieux", "sparql": "SELECT DISTINCT ?human ?label WHERE { ?human wdt:P31 wd:Q5 ; wdt:P734 wd:Q63438387 . ?human rdfs:label ?label . FILTER(LANG(?label) = 'fr') }", "paraphrases": ["Who are the French individuals with the last name Mal\u00e9zieux?", "List the French-speaking humans whose family name is Mal\u00e9zieux."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Mal\u00e9zieux\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8089", "question": "Which Wikidata entities have Twitter usernames \"mompontet\" or \"LydieR_\"?", "sparql": "SELECT ?item ?twitterUsername WHERE { ?item wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"mompontet\" \"LydieR_\" } }", "paraphrases": ["Who on Wikidata uses the Twitter handle \"mompontet\" or \"LydieR_\"?", "Show me the Wikidata items that are linked to the Twitter accounts \"mompontet\" or \"LydieR_\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"mompontet\" ) ( \"LydieR_\" ) ( \"string2\" ) ( \"string3\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8090", "question": "Which Wikidata item has the Twitter username 'atterres'?", "sparql": "SELECT ?item ?twitterHandle WHERE { ?item wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { \"atterres\" } }", "paraphrases": ["What entity on Wikidata is associated with the Twitter handle @atterres?", "Show me the Wikidata item that uses 'atterres' as its Twitter username."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"atterres\" ) ( \"string1\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8091", "question": "List professors from Utrecht University with their catalog IDs, images, birth dates, and birth places.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?professor ?catalogId ?image ?dateOfBirth ?birthPlace WHERE {\n  ?professor wdt:P2862 ?catalogId .\n  OPTIONAL {\n    ?professor wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?professor wdt:P569 ?dateOfBirth .\n  }\n  OPTIONAL {\n    ?professor wdt:P19 ?birthPlace .\n  }\n}", "paraphrases": ["Who are the professors at Utrecht University, and what are their catalog numbers, birth dates, birth places, and images?", "Please provide a list of Utrecht University professors including their Catalogus Professorum ID, date of birth, place of birth, and any available images."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2862> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en,nl,de,es,fr\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var5 . } }"}}
{"id": "test_8092", "question": "What Wikidata item corresponds to the GND ID 4158485-5?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P227 \"4158485-5\" .\n}", "paraphrases": ["Which concept in Wikidata is identified by the German National Library ID 4158485-5?", "Find the Wikidata entity for the GND identifier 4158485-5."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"4158485-5\". } LIMIT 1"}}
{"id": "test_8093", "question": "Which properties are most frequently used to link entities to Ukraine in Wikidata?", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q212 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["How many times is Ukraine (Q212) referenced as a value in Wikidata statements, and which properties are used most often to make those connections?", "Show me all properties that connect more than one entity to Ukraine, sorted by how often they\u2019re used."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q212> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_8094", "question": "Official name of the People's Republic of China", "sparql": "SELECT DISTINCT ?officialName WHERE { wd:Q148 wdt:P1448 ?officialName . }", "paraphrases": ["What is the official name of China in its official language?", "Tell me the official name of the People's Republic of China."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { <http://www.wikidata.org/entity/Q148> <http://www.wikidata.org/prop/direct/P1448> ?var1 . } LIMIT 20"}}
{"id": "test_8095", "question": "Image of Roy Harris with SNAC ARK ID w64q7t1b", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w64q7t1b\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w64q7t1b?", "Show me the Wikimedia Commons image for the entity identified by SNAC ARK ID w64q7t1b."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w64q7t1b\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8096", "question": "Who is Paul Dirac in French, and is he a human?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person WHERE {\n  ?person rdfs:label \"Paul Dirac\" @fr .\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["What human entity is labeled as \"Paul Dirac\" in French?", "Can you find the Wikidata item for the person known as \"Paul Dirac\" in French?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"paul banse\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8097", "question": "Is there a person in Wikidata with the GND ID 116876476?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P227 \"116876476\" .\n}", "paraphrases": ["Wikidata entity with GND ID 116876476", "Check if the German National Library ID 116876476 is registered in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"116876476\". }"}}
{"id": "test_8098", "question": "What countries, administrative divisions, and continents is Narva part of?", "sparql": "SELECT DISTINCT ?location ?locationLabel WHERE { wd:Q102158 wdt:P17 ?country . wd:Q102158 wdt:P131 ?admin . ?country wdt:P30 ?continent . ?location rdfs:label ?locationLabel . FILTER(LANG(?locationLabel) = \"en\") VALUES ?location { wd:Q191 wd:Q23890604 wd:Q46 } }", "paraphrases": ["Can you tell me the country, city, and continent that Narva belongs to?", "Show me the geographic hierarchy of Narva, including its country, administrative area, and continent."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q102158> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_8099", "question": "RKDartists ID for Georges Emile Lebacq", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?rkdId WHERE {\n  wd:Q2083809 wdt:P650 ?rkdId .\n}", "paraphrases": ["What is the RKDartists ID of the Belgian painter Georges Emile Lebacq?", "Can you tell me the identifier used by the RKDartists database for Georges Emile Lebacq, the 19th-century painter and poet?"], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q2083809> <http://www.wikidata.org/prop/direct/P650> ?var1 . }"}}
{"id": "test_8100", "question": "Is there a Wikidata item with VIAF ID 311632212?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P214 \"311632212\" .\n}", "paraphrases": ["Does any person or entity in Wikidata have the VIAF identifier 311632212?", "Check if the Virtual International Authority File ID 311632212 is assigned to any item in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"311632212\". }"}}
{"id": "test_8101", "question": "Which Wikidata items have Twitter usernames envlh, Google, Wikipedia, or wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ( ?username ) {\n    ( \"envlh\" ) ( \"Google\" ) ( \"Wikipedia\" ) ( \"wikidata\" )\n  }\n}\nORDER BY ASC ( ?username )", "paraphrases": ["Who are the entities on Wikidata with the Twitter handles \"envlh\", \"Google\", \"Wikipedia\", and \"wikidata\"?", "List the Wikidata items and their Twitter usernames for the accounts envlh, Google, Wikipedia, and wikidata, sorted alphabetically by username."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"PoulpyWP\" ) ( \"GoogleFR\" ) ( \"string1\" ) ( \"string2\" ) ( \"BVallauri\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8102", "question": "Which districts in Vienna have tram services, and how many tram lines are in each?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?district ?districtLabel ( COUNT( ?tramLine ) AS ?count ) ( GROUP_CONCAT( ?tramLineLabel ; separator = \", \" ) AS ?tramLines ) WHERE {\n  ?district wdt:P31 wd:Q261023 ; rdfs:label ?districtLabel .\n  ?tramLine wdt:P31 wd:Q15145593 ; wdt:P131 ?district ; rdfs:label ?tramLineLabel .\n  FILTER ( LANG( ?districtLabel ) = \"en\" && LANG( ?tramLineLabel ) = \"en\" )\n}\nGROUP BY ?district ?districtLabel\nORDER BY DESC ( ?count )", "paraphrases": ["How many tram lines are located in each district of Vienna, and what are their names?", "Show me the district in Vienna with the most tram services, along with the count and names of those services."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT ( ?var2 ) AS ?var3 )( GROUP_CONCAT ( ?var2Label ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q261023> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q15145593> ; <http://www.wikidata.org/prop/direct/P131> ?var1 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) && ( LANG ( ?var1Label ) = \"en\" ) ) ) . } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var3 )"}}
{"id": "test_8103", "question": "What are the Twitter/X usernames for TechCrunch and the Hubble Space Telescope?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterUsername WHERE {\n  ?item wdt:P2002 ?twitterUsername .\n  VALUES ?twitterUsername {\n    \"TechCrunch\" \"NASAHubble\"\n  }\n}", "paraphrases": ["Which Wikidata items have the Twitter usernames \"TechCrunch\" or \"NASAHubble\"?", "Show me the entities on Wikidata that are associated with the Twitter handles TechCrunch and NASAHubble."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"TechCrunch\" ) ( \"NASAHubble\" ) ( \"string1\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8104", "question": "List all Wikimedia projects and their language codes.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?languageCode ?wikimediaProject ?projectLabel WHERE {\n  ?wikimediaProject wdt:P424 ?languageCode .\n  ?wikimediaProject rdfs:label ?projectLabel .\n  FILTER(LANG(?projectLabel) = \"en\")\n}", "paraphrases": ["What are the language codes used by Wikimedia projects, and what are the names of those projects in English?", "Show me the English names of Wikimedia projects along with their corresponding Wikimedia language codes."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P424> ?var1 . }"}}
{"id": "test_8105", "question": "List Dutch Rijksmonumenten with their IDs and Dutch names.", "sparql": "SELECT ?monument ?rijksmonumentId ?dutchLabel WHERE { ?monument wdt:P359 ?rijksmonumentId . OPTIONAL { ?monument rdfs:label ?dutchLabel . FILTER(LANG(?dutchLabel) = \"nl\") } } LIMIT 100", "paraphrases": ["What are the Rijksmonument IDs and Dutch names of cultural monuments in the Netherlands?", "Show me the Dutch labels and Rijksmonument IDs for all registered monuments in the Netherlands."], "info": {"raw_sparql": "SELECT * WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P359> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1705> ?var3 . } } LIMIT 100"}}
{"id": "test_8106", "question": "What is the Japanese Wikipedia page for the Japan Association of National Universities, and what is its Japanese title?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?label ?page WHERE {\n  ?page schema:about wd:Q11421246 .\n  ?page schema:inLanguage \"ja\" .\n  wd:Q11421246 rdfs:label ?label .\n  FILTER(LANG(?label) = \"ja\")\n  .\n  FILTER(STRSTARTS(STR(?page) , \"https://ja.wikipedia.org/\"))\n}", "paraphrases": ["Show me the Japanese-language Wikipedia article about the Japan Association of National Universities and its name in Japanese.", "Find the Japanese Wikipedia URL and the Japanese label for the Japan Association of National Universities."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2 WHERE { ?var2 <http://schema.org/about> <http://www.wikidata.org/entity/Q11421246> . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"ja\". FILTER ( ( ( SUBSTR ( STR ( ?var2 ) ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"25\"^^<http://www.w3.org/2001/XMLSchema#integer> ) = \"string1\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja,en\". } }"}}
{"id": "test_8107", "question": "Does the HockeyDB player ID 195150 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?player wdt:P2602 \"195150\"\n}", "paraphrases": ["Is there an ice hockey player in Wikidata with the HockeyDB ID 195150?", "Check if the HockeyDB player ID 195150 is assigned to any player in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2602> \"195150\". }"}}
{"id": "test_8108", "question": "What are the regional types of traditional Dutch clothing?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?subclass ?subclassLabel WHERE {\n  ?subclass wdt:P279 wd:Q2059698 .\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER ( LANG( ?subclassLabel ) = 'en' )\n}", "paraphrases": ["Can you list the subclasses of traditional clothing of the Netherlands in English?", "What specific folk costumes are considered variants of Dutch traditional dress?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q2059698> ) } ?var1 <http://www.wikidata.org/prop/direct/P279> * ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } }"}}
{"id": "test_8109", "question": "What properties are used to describe people who are mayors, excluding the \"instance of\" relationship?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?property WHERE {\n  ?subject ?property wd:Q30185 .\n  FILTER ( STRSTARTS( STR( ?property ) , \"http://www.wikidata.org/prop/direct/\" ) ) FILTER ( ?property != wdt:P31 )\n}", "paraphrases": ["Which properties connect individuals to the role of mayor in Wikidata, other than \"instance of\"?", "Can you list the types of information associated with mayors in Wikidata, such as occupation or employer, but not their classification as a position?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 ?var3 <http://www.wikidata.org/entity/Q30185> . ?var1 <http://wikiba.se/ontology#statementProperty> ?var3 . FILTER ( ( ( ?var1 != <http://www.wikidata.org/entity/P31> ) ) ) . }"}}
{"id": "test_8110", "question": "What is the official currency of Russia?", "sparql": "SELECT ?currency WHERE { wd:Q159 wdt:P38 ?currency .}", "paraphrases": ["Which currency is used in Russia?", "What is the monetary unit of the Russian Federation?"], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q159> <http://www.wikidata.org/entity/P38> ?var1 . }"}}
{"id": "test_8111", "question": "Who is the football player with Transfermarkt ID 1837?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?player WHERE {\n  ?player wdt:P2446 \"1837\" .\n}\nLIMIT 1", "paraphrases": ["Which Wikidata entity corresponds to the Transfermarkt player ID \"1837\"?", "Find the football player identified by the Transfermarkt ID 1837."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2446> \"1837\". } LIMIT 1"}}
{"id": "test_8112", "question": "Who is the football player with Transfermarkt ID 17400?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?player WHERE {\n  ?player wdt:P2446 \"17400\" .\n}\nLIMIT 1", "paraphrases": ["Which Wikidata entity corresponds to the Transfermarkt player ID 17400?", "Find the footballer in Wikidata who has the Transfermarkt ID 17400."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2446> \"17400\". } LIMIT 1"}}
{"id": "test_8113", "question": "Who is the football player with Transfermarkt ID 5412?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?player WHERE {\n  ?player wdt:P2446 \"5412\" .\n}", "paraphrases": ["Which footballer is identified by the Transfermarkt player ID 5412?", "Tell me the name of the football player whose Transfermarkt ID is 5412."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2446> \"5412\". } LIMIT 1"}}
{"id": "test_8114", "question": "What is the English label and description of the Australian geographic region with ASGS 2011 ID SSC40137?", "sparql": "SELECT ?item ?label ?description WHERE { ?item wdt:P4014 \"SSC40137\" . ?item rdfs:label ?label . FILTER (LANG(?label) = \"en\") OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["What is the name and description in English of the town in South Australia identified by the ASGS 2011 code SSC40137?", "Show me the English name and description of the geographic location in Australia that has the ASGS 2011 identifier SSC40137."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4014> \"SSC40137\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8115", "question": "What are the official presidential positions in countries or organizations?", "sparql": "SELECT DISTINCT ?presidentialOffice ?presidentialOfficeLabel WHERE { ?presidentialOffice wdt:P31 wd:Q30461 . ?presidentialOffice rdfs:label ?presidentialOfficeLabel . FILTER(langMatches(lang(?presidentialOfficeLabel), \"en\")) }", "paraphrases": ["List all roles that are instances of \"president\" with their English names.", "Which positions are held by presidents around the world, as listed in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q30461> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8116", "question": "List English titles of all films in Wikidata.", "sparql": "SELECT ?film ?filmLabel WHERE { ?film wdt:P31 wd:Q11424 . ?film rdfs:label ?filmLabel . FILTER(LANG(?filmLabel) = \"en\") } LIMIT 100", "paraphrases": ["What are the English-language titles of films listed in Wikidata?", "Show me up to 100 films with their English titles from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,nl\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . OPTIONAL { ?var1 <http://schema.org/description> ?var3 . } MINUS { FILTER ( ( ( LANG ( ?var3 ) = \"nl\" ) ) ) . } } LIMIT 100"}}
{"id": "test_8117", "question": "What ingredients are used in cocktails?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?ingredient ?ingredientLabel WHERE {\n  ?cocktail wdt:P31 wd:Q134768 .\n  ?cocktail wdt:P186 ?ingredient .\n  ?ingredient rdfs:label ?ingredientLabel .\n  FILTER(LANG(?ingredientLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["List the materials that make up cocktails, along with their English names.", "Which substances are commonly used as components in mixed drinks like cocktails?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q134768> . ?var2 <http://www.wikidata.org/prop/direct/P186> ?var1 . FILTER ( ( CONTAINS ( LCASE ( \"\" ) , \"\" ) ) ) . } LIMIT 100"}}
{"id": "test_8118", "question": "What property is most commonly used to classify entities as subclasses of astronomical coordinate systems?", "sparql": "SELECT ?property (COUNT(?property) AS ?count)\nWHERE {\n  ?item ?prop wd:Q86394 .\n  ?property wikibase:directClaim ?prop .\n  ?property rdf:type wikibase:Property .\n}\nGROUP BY ?property\nORDER BY DESC(?count)\nLIMIT 1", "paraphrases": ["Which Wikidata property links the most entities to the concept of astronomical coordinate systems?", "Among all properties used to relate entities to astronomical coordinate systems, which one appears most frequently?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q86394> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_8119", "question": "English names of humans in Wikidata", "sparql": "SELECT ?name WHERE { ?person wdt:P31 wd:Q5 . ?person rdfs:label ?name . FILTER(LANG(?name) = \"en\") FILTER(strlen(?name) > 3) } LIMIT 5", "paraphrases": ["What are some English-language names of people listed in Wikidata?", "Show me five human names in English from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . } LIMIT 2"}}
{"id": "test_8120", "question": "Which Twitter users have the usernames 'BarackObama', 'elonmusk', or 'cyb3rgam3r420', and how many Wikipedia articles are about them?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity ?username ( COUNT( ?sitelink ) AS ?sitelinkCount ) WHERE {\n  ?entity wdt:P2002 ?username .\n  ?sitelink schema:about ?entity ; schema:isPartOf ?wikipedia .\n  FILTER ( STRSTARTS( STR( ?wikipedia ) , \"https://\" ) ) VALUES ?username {\n    \"BarackObama\" \"elonmusk\" \"cyb3rgam3r420\"\n  }\n}\nGROUP BY ?entity ?username\nORDER BY ASC ( ?sitelinkCount )", "paraphrases": ["How many Wikipedia language editions exist for each of the Twitter accounts 'BarackObama', 'elonmusk', and 'cyb3rgam3r420', sorted by the number of articles?", "List the entities linked to the Twitter usernames 'BarackObama', 'elonmusk', and 'cyb3rgam3r420', along with the count of their Wikipedia sitelinks, ordered from least to most."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"LMarion60\" ) ( \"eventyr_a\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8121", "question": "What educational institutions did Shih-Fu Chang attend, what degrees did he earn, and when did he complete them?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?institution ?institutionLabel ?startDate ?endDate ?degreeLabel WHERE {\n  wd:Q37203066 p:P69 ?statement .\n  ?statement ps:P69 ?institution .\n  ?institution rdfs:label ?institutionLabel .\n  FILTER ( LANG( ?institutionLabel ) = \"en\" ) .\n  OPTIONAL {\n    ?statement pq:P580 ?startDate .\n  }\n  OPTIONAL {\n    ?statement pq:P582 ?endDate .\n  }\n  OPTIONAL {\n    ?statement pq:P512 ?degree .\n    ?degree rdfs:label ?degreeLabel .\n    FILTER ( LANG( ?degreeLabel ) = \"en\" ) .\n  }\n}", "paraphrases": ["Shih-Fu Chang\u2019s alma maters and corresponding degrees with graduation years.", "List the universities Shih-Fu Chang went to, the degrees he received, and the years he graduated, in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 ?var5Label WHERE { <http://www.wikidata.org/entity/Q37203066> <http://www.wikidata.org/prop/P69> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P69> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P580> ?var3 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var4 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P512> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_8122", "question": "Hotels in the West Bank", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?hotel ?hotelLabel WHERE {\n  ?hotel wdt:P31 wd:Q27686 .\n  ?hotel wdt:P17 wd:Q36678 .\n  ?hotel rdfs:label ?hotelLabel .\n  FILTER ( LANG( ?hotelLabel ) = 'en' )\n}", "paraphrases": ["Which hotels are located in the West Bank?", "List the names of hotels that are situated in the West Bank, using their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3898> <http://www.wikidata.org/entity/Q36678> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_8123", "question": "What universities did Ingemar J. Cox attend?", "sparql": "SELECT ?institution ?institutionLabel WHERE { wd:Q15995004 p:P69 ?statement . ?statement ps:P69 ?institution . ?institution rdfs:label ?institutionLabel . FILTER(LANG(?institutionLabel) = \"en\") }", "paraphrases": ["List the English names of the educational institutions associated with Ingemar J. Cox.", "Which academic institutions are linked to Ingemar J. Cox in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 ?var5Label WHERE { <http://www.wikidata.org/entity/Q15995004> <http://www.wikidata.org/prop/P69> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P69> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P580> ?var3 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var4 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P512> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_8124", "question": "List members of the Swiss National Council with their birth dates, parliamentary IDs, term periods, and start/end years.", "sparql": "SELECT ?personLabel ?person ?parliamentId ?startDate ?endDate ?term ?birthDate WHERE {\n  ?person p:P39 ?statement .\n  ?statement ps:P39 wd:Q18510612 .\n  \n  OPTIONAL { ?person wdt:P1307 ?parliamentId . }\n  OPTIONAL { ?statement pq:P580 ?startDate . }\n  OPTIONAL { ?statement pq:P582 ?endDate . }\n  OPTIONAL { ?statement pq:P2937 ?term . }\n  OPTIONAL { ?person wdt:P569 ?birthDate . }\n  \n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}\nORDER BY DESC(?birthDate)", "paraphrases": ["Who are the people who have served in the Swiss National Council, and what are their birth dates, parliamentary IDs, and the terms they served?", "Show me a list of Swiss National Council members, including their names, dates of birth, Swiss parliament IDs, the parliamentary terms they served, and the start and end dates of their terms, sorted by birth date from newest to oldest."], "info": {"raw_sparql": "SELECT ?var1Label ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/P39> ?var7 . ?var7 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q18510612> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var6 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P580> ?var3 . ?var7 <http://www.wikidata.org/prop/qualifier/P582> ?var4 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P2937> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1307> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P102> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,fr\". } } ORDER BY DESC( ?var6 )"}}
{"id": "test_8125", "question": "List all entities located in Germany with their English labels.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P131 wd:Q183 .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["What are the English names of all items located in Germany?", "Show me the names in English of everything that is administratively located in Germany."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/null> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } }"}}
{"id": "test_8126", "question": "Is there a person in Wikidata with AlloCin\u00e9 person ID 599554?", "sparql": "ASK WHERE { ?person wdt:P1266 \"599554\" . }", "paraphrases": ["Does the Wikidata database contain an entry for a person identified by the AlloCin\u00e9 ID 599554?", "Check if the AlloCin\u00e9 person ID 599554 is assigned to any person in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1266> \"599554\". }"}}
{"id": "test_8127", "question": "What are some diseases that are classified as types of inflammation?", "sparql": "SELECT ?disease ?diseaseLabel WHERE { ?disease (wdt:P279|wdt:P31) wd:Q101991 . ?disease rdfs:label ?diseaseLabel . FILTER(LANG(?diseaseLabel) = \"en\") } LIMIT 100", "paraphrases": ["List medical conditions that are subclasses or instances of inflammation.", "Which conditions are considered forms of inflammation according to Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q101991> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"zh\". } }"}}
{"id": "test_8128", "question": "What is the occupation with IDEO Job ID 100660 and its English description?", "sparql": "SELECT ?item ?label ?description WHERE { ?item wdt:P1043 \"100660\" . ?item rdfs:label ?label . FILTER (LANG(?label) = \"en\") . OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") . } }", "paraphrases": ["What is the English label and description of the occupation identified by IDEO Job ID 100660?", "Show me the name and English description of the job that has the IDEO ID 100660."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1043> \"100660\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8129", "question": "Artworks in New York City collections and their creators", "sparql": "SELECT ?itemLabel ?collectionLabel ?creatorLabel WHERE { ?item wdt:P195 ?collection . ?collection wdt:P276 ?location . ?location wdt:P131* wd:Q60 . ?item wdt:P170 ?creator . ?item rdfs:label ?itemLabel . ?collection rdfs:label ?collectionLabel . ?creator rdfs:label ?creatorLabel . FILTER(LANG(?itemLabel) = \"en\") FILTER(LANG(?collectionLabel) = \"en\") FILTER(LANG(?creatorLabel) = \"en\") }", "paraphrases": ["What artworks are held in museums located in New York City, and who created them?", "List the names of artworks, their collections, and their creators, where the collections are located in New York City."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P195> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P276> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q60> . ?var1 <http://www.wikidata.org/prop/direct/P170> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_8130", "question": "Artworks in the Metropolitan Museum of Art created by female artists with Met object IDs and links to their Wikidata search pages.", "sparql": "SELECT ?artworkLabel ?creatorLabel ?metLink ?creatorSearchLink WHERE { ?artwork wdt:P195 wd:Q160236 . ?artwork wdt:P170 ?creator . ?creator wdt:P21 wd:Q6581072 . ?artwork rdfs:label ?artworkLabel . ?creator rdfs:label ?creatorLabel . FILTER(LANG(?artworkLabel) = \"en\") FILTER(LANG(?creatorLabel) = \"en\") OPTIONAL { ?artwork wdt:P3634 ?metId . BIND(CONCAT(\"https://collection.metmuseum.org/objects/\", ?metId) AS ?metLink) BIND(CONCAT(\"https://www.wikidata.org/wiki/Special:Search?search=\", REPLACE(STR(?creatorLabel), \" \", \"%20\")) AS ?creatorSearchLink) } } LIMIT 5", "paraphrases": ["Which artworks in the Metropolitan Museum of Art were created by female artists, and what are the links to their Met collection pages and Wikidata search results?", "Show me female artists\u2019 artworks held by the Metropolitan Museum of Art, along with direct links to their Met object pages and Wikidata search links based on the artist\u2019s name."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3Label ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P195> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P276> ?var6 . ?var6 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q60> . ?var1 <http://www.wikidata.org/prop/direct/P170> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . OPTIONAL { BIND ( CONCAT ( \"string1\", ?var7 , \" \", \"string2\" ) AS ?var4 ). BIND ( CONCAT ( \"string3\", REPLACE ( STR ( ?var8 ) , \" \", \"%20\" ) , \"string4\" ) AS ?var5 ). ?var1 <http://www.wikidata.org/prop/direct/P3634> ?var7 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var8 . ?var1 <http://www.wikidata.org/prop/direct/P2014> ?var9 . FILTER ( ( ( LANG ( ?var8 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_8131", "question": "Image of Nicky Hilton with SNAC ARK ID w6dn603q", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6dn603q\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image of the person identified by the SNAC ARK ID w6dn603q?", "Show me the Wikimedia Commons image linked to the SNAC ARK ID w6dn603q."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6dn603q\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8132", "question": "Images related to Bert Meijer\u2019s scientific works and their topics.", "sparql": "SELECT DISTINCT ?image WHERE { { wd:Q2182596 wdt:P18 ?image } UNION { ?work wdt:P50 wd:Q2182596 . ?work wdt:P18 ?image } UNION { ?work wdt:P50 wd:Q2182596 . ?work wdt:P921 ?topic . ?topic wdt:P18 ?image } }", "paraphrases": ["What images are associated with Bert Meijer through the works he authored or the subjects those works cover?", "Show me all images from Wikimedia Commons that are linked to Bert Meijer either as the author of a work or as the main subject of a work he authored."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { <http://www.wikidata.org/entity/Q2182596> <http://www.wikidata.org/prop/direct/P18> ?var1 . } UNION { <http://www.wikidata.org/entity/Q2182596> !( <http://www.wikidata.org/prop/direct/P1889> ) ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . FILTER ( ( ( ?var2 != <http://www.wikidata.org/entity/Q5> ) ) ) . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q2182596> . { ?var3 <http://www.wikidata.org/prop/direct/P921> [ <http://www.wikidata.org/prop/direct/P18> ?var1 ] . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P50> ?var3 . ?var4 <http://www.wikidata.org/prop/direct/P18> ?var1 . } } }"}}
{"id": "test_8133", "question": "Which entities on Wikidata have Twitter/X usernames from this list: maxschrems, CNIL, AFNIC, bortzmeyer, Paris, CProcaccia, dascritch, benifei_, aprilorg, TouitTouit, sfr_sav, DandumontP, BGThierry, JBrodkin, pbeyssac, ccrn_pe, morandim77?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?handle WHERE {\n  ?item wdt:P2002 ?handle .\n  VALUES ?handle {\n    \"maxschrems\" \"CNIL\" \"AFNIC\" \"bortzmeyer\" \"Paris\" \"CProcaccia\" \"dascritch\" \"benifei_\" \"aprilorg\" \"TouitTouit\" \"sfr_sav\" \"DandumontP\" \"BGThierry\" \"JBrodkin\" \"pbeyssac\" \"ccrn_pe\" \"morandim77\"\n  }\n}\nORDER BY ?handle", "paraphrases": ["Show me the Wikidata items and their Twitter handles for the following usernames: maxschrems, CNIL, AFNIC, bortzmeyer, Paris, CProcaccia, dascritch, benifei_, aprilorg, TouitTouit, sfr_sav, DandumontP, BGThierry, JBrodkin, pbeyssac, ccrn_pe, morandim77.", "Find all organizations or people in Wikidata that use any of these Twitter handles: maxschrems, CNIL, AFNIC, bortzmeyer, Paris, CProcaccia, dascritch, benifei_, aprilorg, TouitTouit, sfr_sav, DandumontP, BGThierry, JBrodkin, pbeyssac, ccrn_pe, morandim77."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"pbeyssac\" ) ( \"string1\" ) ( \"SGOUYGOUX\" ) ( \"CProcaccia\" ) ( \"string2\" ) ( \"string3\" ) ( \"ccrn_pe\" ) ( \"morandim77\" ) ( \"dascritch\" ) ( \"benifei_\" ) ( \"string4\" ) ( \"aprilorg\" ) ( \"CNIL\" ) ( \"maxschrems\" ) ( \"TouitTouit\" ) ( \"sfr_sav\" ) ( \"string5\" ) ( \"string6\" ) ( \"DandumontP\" ) ( \"string7\" ) ( \"BGThierry\" ) ( \"string8\" ) ( \"string9\" ) ( \"JBrodkin\" ) ( \"string10\" ) ( \"Paris\" ) ( \"bortzmeyer\" ) ( \"string11\" ) ( \"AFNIC\" ) ( \"davlgd\" ) ( \"string12\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8134", "question": "Does the film \"1945\" have the AlloCin\u00e9 ID 253643?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q28954020 wdt:P1265 \"253643\" .\n}", "paraphrases": ["Is the AlloCin\u00e9 film ID for the movie \"1945\" equal to 253643?", "Confirm that the Hungarian film \"1945\" is identified as 253643 in the AlloCin\u00e9 database."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1265> \"253643\". }"}}
{"id": "test_8135", "question": "Does the film \"Les ex\" have the AlloCin\u00e9 ID 249113?", "sparql": "ASK { wd:Q30541725 wdt:P1265 \"249113\" . }", "paraphrases": ["Is the AlloCin\u00e9 film ID for \"Les ex\" equal to 249113?", "Confirm that the French movie \"Les ex\" is identified by the AlloCin\u00e9 ID 249113."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1265> \"249113\". }"}}
{"id": "test_8136", "question": "Does the film with AlloCin\u00e9 ID 255793 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?film wdt:P1265 \"255793\" .\n}", "paraphrases": ["Is there a film in Wikidata identified by the AlloCin\u00e9 film ID 255793?", "Confirm if the AlloCin\u00e9 film ID 255793 is assigned to any film in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1265> \"255793\". }"}}
{"id": "test_8137", "question": "Which film has the AlloCin\u00e9 ID 254758?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?label WHERE {\n  ?film wdt:P1265 \"254758\" .\n  ?film rdfs:label ?label .\n  FILTER ( LANGMATCHES( LANG( ?label ) , \"en\" ) )\n}", "paraphrases": ["What is the English title of the film identified by AlloCin\u00e9 film ID 254758?", "Show me the film in Wikidata that corresponds to the AlloCin\u00e9 movie ID 254758, along with its English name."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1265> \"254758\". }"}}
{"id": "test_8138", "question": "What are the Twitter usernames for BillGates, elonmusk, and Tesla on Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"BillGates\" \"elonmusk\" \"Tesla\"\n  }\n}\nORDER BY ASC(?sitelinks)", "paraphrases": ["Which entities on Wikidata have the Twitter usernames 'BillGates', 'elonmusk', or 'Tesla'?", "List the entities and their Twitter handles for the usernames BillGates, elonmusk, and Tesla, ordered by the number of Wikipedia links."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"BillGates\" ) ( \"elonmusk\" ) ( \"Tesla\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8139", "question": "People born between 1600 and 1700", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P569 ?birthDate .\n  FILTER ( YEAR( ?birthDate ) >= 1600 && YEAR( ?birthDate ) <= 1700 )\n}", "paraphrases": ["Who were the humans born between the years 1600 and 1700?", "List all humans born between 1600 and 1700, inclusive."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q5557614> <http://www.wikidata.org/prop/direct/P569> ?var2 . FILTER ( ( ( \"1700\"^^<http://www.w3.org/2001/XMLSchema#integer> > YEAR ( <http://www.w3.org/2001/XMLSchema#dateTime> ( ?var2 ) ) ) ) ) . FILTER ( ( ( \"1600\"^^<http://www.w3.org/2001/XMLSchema#integer> < YEAR ( <http://www.w3.org/2001/XMLSchema#dateTime> ( ?var2 ) ) ) ) ) . }"}}
{"id": "test_8140", "question": "What is known about Mount Zion Methodist Church in Wikidata?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?description ?location ?locationLabel ?inception WHERE {\n  wd:Q1951550 rdfs:label ?label .\n  OPTIONAL {\n    wd:Q1951550 schema:description ?description .\n  }\n  OPTIONAL {\n    wd:Q1951550 wdt:P131 ?location .\n  }\n  OPTIONAL {\n    wd:Q1951550 wdt:P571 ?inception .\n  }\n  FILTER ( LANG( ?label ) = \"en\" ) OPTIONAL {\n    ?location rdfs:label ?locationLabel .\n    FILTER ( LANG( ?locationLabel ) = \"en\" )\n  }\n}", "paraphrases": ["Where is Mount Zion Methodist Church located, and what type of building is it?", "Are there any other churches in Somers, New York, listed in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label WHERE { ?var3 <http://wikiba.se/ontology#claim> ?var5 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#qualifier> ?var7 . ?var3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var4 <http://wikiba.se/ontology#claim> ?var8 . ?var4 <http://wikiba.se/ontology#qualifier> ?var9 . ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var1 ?var5 ?var10 . ?var10 ?var6 ?var2 . ?var10 ?var9 <http://www.wikidata.org/entity/Q1951550> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8141", "question": "Is there a handball player with EHF ID 535275?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?player wdt:P3573 \"535275\" .\n}", "paraphrases": ["Does the European Handball Federation list a player with the numeric ID 535275?", "Find out if Robert Markoti\u0107 is registered in the EHF player database with ID 535275."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3573> \"535275\". }"}}
{"id": "test_8142", "question": "Who were the victims of the September 11 attacks?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P31 wd:Q5 ; wdt:P509 wd:Q10806 .\n}", "paraphrases": ["Can you list the names of people whose cause of death was the September 11 attacks?", "Show me the individuals who died as a result of the 9/11 terrorist attacks."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } ?var1 <http://www.wikidata.org/prop/direct/P1196> <http://www.wikidata.org/entity/Q10806> . }"}}
{"id": "test_8143", "question": "List of theologians who are human beings.", "sparql": "SELECT ?theologian ?theologianLabel WHERE { ?theologian wdt:P31 wd:Q5 ; wdt:P106 wd:Q1234713 . ?theologian rdfs:label ?theologianLabel . FILTER(LANG(?theologianLabel) = \"en\")}", "paraphrases": ["Who are the human theologians listed in Wikidata?", "Show me the names of all people whose occupation is theologian, in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1234713> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_8144", "question": "Which music single is performed by the artist with MusicBrainz ID a74b1b7f-71a5-4011-9441-d0b5e4122711?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?artist ?artistLabel ?singleLabel WHERE {\n  ?artist wdt:P434 \"a74b1b7f-71a5-4011-9441-d0b5e4122711\" .\n  ?single wdt:P31 wd:Q134556 .\n  ?single wdt:P175 ?artist .\n  ?artist rdfs:label ?artistLabel .\n  ?single rdfs:label ?singleLabel .\n  FILTER ( LANG( ?artistLabel ) = \"en\" ) FILTER ( LANG( ?singleLabel ) = \"en\" )\n}\nLIMIT 1", "paraphrases": ["What is the name of the music single performed by Radiohead, identified by its MusicBrainz ID?", "Show me the label of the music single and the artist name for the artist with MusicBrainz ID a74b1b7f-71a5-4011-9441-d0b5e4122711."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P434> ?var3 . FILTER ( ( ?var3 IN ( \"string1\" ) ) ) . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q134556> . ?var2 <http://www.wikidata.org/prop/direct/P175> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 1"}}
{"id": "test_8145", "question": "What is the English name and description of the person with National Library of Spain ID XX1228684?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P950 \"XX1228684\" . OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") }", "paraphrases": ["Who is the individual identified by the BNE ID XX1228684, and what is their English description?", "Please provide the English label and description of the entity linked to the Spanish National Library ID XX1228684."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P950> \"XX964416\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8146", "question": "Entities with Dagens Nyheter topic IDs and their English labels.", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P3509 ?topicId . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } LIMIT 11", "paraphrases": ["What are 11 entities that have a Dagens Nyheter topic ID, and what are their English names?", "List up to 11 topics covered by Dagens Nyheter along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3509> _:bnode . } LIMIT 11 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8147", "question": "Who are the people named Medhi with French-language labels in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item WHERE {\n  ?item rdfs:label ?label .\n  FILTER(LANG(?label) = \"fr\")\n  FILTER(CONTAINS(LCASE(?label) , \"medhi\"))\n  ?item wdt:P31 wd:Q5 .\n}", "paraphrases": ["Which humans have 'Medhi' in their French name on Wikidata?", "List all individuals whose French label contains 'Medhi' and are identified as human."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Medhi\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8148", "question": "What entities are associated with Coca-Cola, and what properties link them to it?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?var1 ?var1Label ?var2 ?var2Label WHERE {\n  ?var1 ?var3 wd:Q2813 .\n  ?var2 wikibase:directClaim ?var3 .\n  ?var1 rdfs:label ?var1Label .\n  ?var2 rdfs:label ?var2Label .\n  FILTER ( LANG( ?var1Label ) = \"en\" ) FILTER ( LANG( ?var2Label ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Which properties in Wikidata are used to connect other items to the Coca-Cola drink, and what are those items called?", "Show me all the things linked to Coca-Cola and the names of the relationships connecting them."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ?var3 <http://www.wikidata.org/entity/Q26434006> . ?var2 <http://wikiba.se/ontology#directClaim> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_8149", "question": "Photographers born before 1830 with images on Wikimedia Commons.", "sparql": "SELECT DISTINCT ?photographer ?label ?image ?birthDate WHERE { ?photographer wdt:P106 wd:Q33231 . ?photographer wdt:P569 ?birthDate . ?photographer rdfs:label ?label . ?photographer wdt:P18 ?image . FILTER(YEAR(?birthDate) < 1830) FILTER(LANG(?label) = \"en\") }", "paraphrases": ["Who are the photographers born before 1830, and what are their birth dates and images?", "List all English-named photographers born before 1830 along with their birth dates and associated images from Wikimedia Commons."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33231> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . FILTER ( ( ( YEAR ( ?var3 ) < \"1830\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en, de, fr\". } }"}}
{"id": "test_8150", "question": "What genes associated with colorectal cancer are located on chromosome 18, and what are their genomic start positions?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?gene ?geneLabel ?startPosition WHERE {\n  ?gene wdt:P2293 wd:Q188874 ; wdt:P1057 wd:Q780468 ; wdt:P644 ?startPosition .\n  ?gene rdfs:label ?geneLabel .\n  FILTER ( LANG( ?geneLabel ) = \"en\" )\n}", "paraphrases": ["Which genes on human chromosome 18 are genetically linked to colorectal cancer, and where do they start in the genome?", "Can you list the genes on chromosome 18 that are associated with colorectal cancer along with their genomic start coordinates?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2293> <http://www.wikidata.org/entity/Q188874> ; <http://www.wikidata.org/prop/direct/P1057> <http://www.wikidata.org/entity/Q780468> . ?var1 <http://www.wikidata.org/prop/direct/P644> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_8151", "question": "Image of John Harris with SNAC ARK ID w6cv6dzn", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6cv6dzn\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w6cv6dzn?", "Show me the Wikimedia Commons image for the person identified by SNAC ARK ID w6cv6dzn."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6cv6dzn\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8152", "question": "Image of Ephrem the Syrian based on SNAC ARK ID w62v2fbp", "sparql": "SELECT ?image WHERE { ?entity wdt:P3430 \"w62v2fbp\" . OPTIONAL { ?entity wdt:P18 ?image . } }", "paraphrases": ["What is the image of the person identified by the SNAC ARK ID w62v2fbp?", "Show me the Wikimedia Commons image associated with Ephrem the Syrian using his SNAC ARK ID."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w62v2fbp\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8153", "question": "What are the employers of Marie Curie, and where are they located?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?employer ?employerLabel ?image ?location WHERE {\n  wd:Q7186 wdt:P108 ?employer .\n  OPTIONAL {\n    ?employer wdt:P18 ?image .\n  }\n  ?employer wdt:P625 ?location .\n  ?employer rdfs:label ?employerLabel .\n  FILTER ( LANG( ?employerLabel ) = \"en\" )\n}", "paraphrases": ["Can you show me the organizations Marie Curie worked for, along with their geographic coordinates and images?", "Where are the institutions that employed Marie Curie based, and do they have images available?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ( ?var4Label AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q30347594> ?var6 ?var2 . ?var2 (( <http://www.wikidata.org/prop/P159> / <http://www.wikidata.org/prop/qualifier/P625> )|( <http://www.wikidata.org/prop/direct/P276> */ <http://www.wikidata.org/prop/direct/P625> )) ?var3 . ?var7 <http://wikiba.se/ontology#directClaim> ?var6 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,nl,no,ru,sv,zh\". } ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . }"}}
{"id": "test_8154", "question": "Who is \u00c9lie Vinet, and is he a human?", "sparql": "SELECT DISTINCT ?item WHERE { ?item rdfs:label \"\u00c9lie Vinet\"@fr . ?item wdt:P31 wd:Q5 . }", "paraphrases": ["What is the Wikidata item for the French-labeled person \"\u00c9lie Vinet\"?", "Find the entity in Wikidata that has the French label \"\u00c9lie Vinet\" and is classified as a human."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Guy Vinet\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8155", "question": "Images of Wikidata items from Wikimedia Commons", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P18 ?image .\n}\nLIMIT 100", "paraphrases": ["What are some images associated with items in Wikidata?", "Show me up to 100 image files from Wikimedia Commons that are linked to Wikidata items."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } LIMIT 100"}}
{"id": "test_8156", "question": "What are the birth and death dates of Joseph Burnett?", "sparql": "SELECT ?label ?birthDate ?deathDate WHERE { wd:Q6281808 rdfs:label ?label . FILTER(LANG(?label) = \"en\") . OPTIONAL { wd:Q6281808 wdt:P569 ?birthDate . } OPTIONAL { wd:Q6281808 wdt:P570 ?deathDate . } }", "paraphrases": ["Can you tell me the full name, birth date, and death date of Joseph Burnett?", "Who is Joseph Burnett, and when was he born and died?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q6281808> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8157", "question": "What are the birth and death dates of Elijah Muhammad?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?label ?birthDate ?deathDate WHERE {\n  wd:Q345182 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    wd:Q345182 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q345182 wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["Can you tell me the full name, birth date, and death date of Elijah Muhammad?", "Who was Elijah Muhammad, and when was he born and when did he die?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q345182> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8158", "question": "What are the birth and death dates of Frederik G\u00fcldencrone?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?birthDate ?deathDate WHERE {\n  wd:Q12312622 wdt:P31 wd:Q5 .\n  wd:Q12312622 rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) OPTIONAL {\n    wd:Q12312622 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q12312622 wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["Can you tell me when Frederik G\u00fcldencrone was born and when he died?", "Show me the life span of Frederik G\u00fcldencrone, including his date of birth and death."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q12312622> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8159", "question": "What are the birth and death dates of Percy Lavon Julian?", "sparql": "SELECT ?label ?birthDate ?deathDate WHERE { wd:Q705852 rdfs:label ?label . FILTER(LANG(?label) = \"en\") . OPTIONAL { wd:Q705852 wdt:P569 ?birthDate . } OPTIONAL { wd:Q705852 wdt:P570 ?deathDate . } }", "paraphrases": ["Can you tell me the full name, date of birth, and date of death of the chemist Percy Lavon Julian?", "Who is Percy Lavon Julian, and when was he born and died?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q705852> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8160", "question": "What is Terri Irwin's date of birth and is she deceased?", "sparql": "SELECT ?label ?birthDate ?deathDate WHERE { BIND( wd:Q2368306 AS ?person ) . ?person rdfs:label ?label . FILTER(LANG(?label) = \"en\") . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } }", "paraphrases": ["Terri Irwin birth date and death date", "Please provide Terri Irwin\u2019s full name, when she was born, and whether she has passed away."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q2368306> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8161", "question": "When was Rusty Schweickart born, and is he still alive?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  BIND( wd:Q363506 AS ?person ) .\n  ?person wdt:P31 wd:Q5 .\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}", "paraphrases": ["Birth date and death date of Rusty Schweickart", "Tell me the birth date of Rusty Schweickart and whether he has passed away."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q795306> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8162", "question": "What are the birth and death dates of Lee Yoon-hyung?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?birthDate ?deathDate WHERE {\n  wd:Q11266502 rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) OPTIONAL {\n    wd:Q11266502 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q11266502 wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["Can you tell me the English name, date of birth, and date of death for the South Korean businesswoman Lee Yoon-hyung?", "Show me Lee Yoon-hyung\u2019s birth and death dates in English."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q11266502> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8163", "question": "Who are the people with Twitter usernames \"hildabast\" and \"GinnyLDN\"?", "sparql": "SELECT ?person ?twitterUsername WHERE { ?person wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"hildabast\" \"GinnyLDN\" } }", "paraphrases": ["Which Wikidata entities have the Twitter handles \"hildabast\" or \"GinnyLDN\"?", "Show me the names of people whose Twitter/X usernames are \"hildabast\" and \"GinnyLDN\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"hildabast\" ) ( \"charkint\" ) ( \"string4\" ) ( \"GinnyLDN\" ) } }"}}
{"id": "test_8164", "question": "Humans with the surname L\u00e9villy", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nSELECT DISTINCT ?person WHERE {\n  ?person ( rdfs:label | skos:altLabel ) ?label .\n  FILTER ( regex( ?label , \"L\u00e9villy\" , \"i\" ) ) .\n  ?person wdt:P31 wd:Q5\n}\nLIMIT 10", "paraphrases": ["Who are the people named L\u00e9villy?", "List all humans whose name contains \"L\u00e9villy\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Levilly\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8165", "question": "Schools in Victoria, Australia", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?school ?schoolLabel WHERE {\n  ?school wdt:P31 wd:Q3914 .\n  ?school wdt:P131 wd:Q36687 .\n  ?school rdfs:label ?schoolLabel .\n  FILTER ( LANGMATCHES( LANG( ?schoolLabel ) , \"en\" ) )\n}", "paraphrases": ["What are the names of schools located in Victoria, Australia?", "List all schools in the state of Victoria, Australia."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3914> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q36687> . }"}}
{"id": "test_8166", "question": "What is Peter Hinz's occupation?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?occupationLabel WHERE {\n  wd:Q15434558 wdt:P106 ?occupation .\n  ?occupation rdfs:label ?occupationLabel .\n  FILTER ( LANG( ?occupationLabel ) = \"en\" )\n}", "paraphrases": ["Is Peter Hinz a politician?", "Can you tell me the profession of Peter Hinz?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q15434558> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_8167", "question": "Is Kay Gottschalk a type of software?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q40476219 ( wdt:P31 / wdt:P279 * ) wd:Q7397 .\n}", "paraphrases": ["Does Kay Gottschalk belong to any class that is a subclass of software?", "Check if the German politician Kay Gottschalk is categorized as software or any of its broader categories."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q40476219> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_8168", "question": "Properties and their descriptions for Koch, Inc.", "sparql": "SELECT ?property ?propertyLabel ?propertyDescription WHERE { wd:Q1496384 ?property ?value . FILTER(isIRI(?property)) . BIND(IRI(REPLACE(STR(?property), \"http://www.wikidata.org/prop/direct/\", \"http://www.wikidata.org/entity/\")) AS ?propertyItem) . ?propertyItem rdfs:label ?propertyLabel . ?propertyItem schema:description ?propertyDescription . FILTER(LANG(?propertyLabel) = \"en\") . FILTER(LANG(?propertyDescription) = \"en\") } LIMIT 100", "paraphrases": ["What properties are used to describe Koch, Inc., and what are their English labels and descriptions?", "Show me the English labels and descriptions of all properties that are used to describe Koch, Inc."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q1496384> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_8169", "question": "Does the EUAP ID \"EUAP0476\" exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?area wdt:P4800 \"EUAP0476\"\n}", "paraphrases": ["Is there a protected natural area in Italy with the EUAP identifier EUAP0476?", "Can you confirm that the Italian protected area with EUAP ID EUAP0476 is recorded in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4800> \"EUAP0476\". }"}}
{"id": "test_8170", "question": "Is there a protected natural area in Italy with EUAP ID EUAP0379?", "sparql": "ASK WHERE { ?area wdt:P4800 \"EUAP0379\" . }", "paraphrases": ["Does the EUAP ID \"EUAP0379\" correspond to any protected natural area in Italy?", "Confirm whether the Italian protected natural area identified by EUAP0379 is recorded in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4800> \"EUAP0379\". }"}}
{"id": "test_8171", "question": "Is there a protected natural area in Italy with EUAP ID EUAP0220?", "sparql": "ASK WHERE { ?area wdt:P4800 \"EUAP0220\" . }", "paraphrases": ["Does the EUAP ID EUAP0220 correspond to any Italian protected natural area?", "Confirm if EUAP0220 is a valid identifier for an Italian protected natural area."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4800> \"EUAP0220\". }"}}
{"id": "test_8172", "question": "Is there an Italian protected natural area with EUAP ID EUAP0498?", "sparql": "ASK WHERE { ?item wdt:P4800 \"EUAP0498\" . }", "paraphrases": ["Does the EUAP ID EUAP0498 correspond to any protected natural area in Italy?", "Check if the protected area with EUAP ID EUAP0498 exists in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4800> \"EUAP0498\". }"}}
{"id": "test_8173", "question": "What is the Italian protected natural area with EUAP ID EUAP0134, and where is it located?", "sparql": "SELECT ?item ?itemLabel ?location ?established ?area WHERE { ?item wdt:P4800 \"EUAP0134\" . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"it\") . OPTIONAL { ?item wdt:P131 ?location } . OPTIONAL { ?item wdt:P571 ?established } . OPTIONAL { ?item wdt:P2046 ?area } }", "paraphrases": ["Can you provide details about the nature reserve identified by EUAP0134, including its establishment date and size?", "Tell me about the protected area in Italy with the EUAP identifier EUAP0134."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4800> \"EUAP0134\". }"}}
{"id": "test_8174", "question": "Who is the person with the NTA ID 068350767?", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P1006 \"068350767\" . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["What is the name of the person identified by the Dutch National Thesaurus for Author Names ID 068350767?", "Can you tell me the English name of the person whose NTA ID is 068350767?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1006> \"068350767\". ?var1 <http://www.wikidata.org/prop/direct/P1006> ?var2 . }"}}
{"id": "test_8175", "question": "What Wikidata entity corresponds to GeoNames ID 453511?", "sparql": "SELECT ?location WHERE { ?location wdt:P1566 \"453511\" }", "paraphrases": ["Which geographical feature in Wikidata has the GeoNames ID 453511?", "Find the Wikidata item for the location with GeoNames ID 453511."], "info": {"raw_sparql": "SELECT * WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru,en\". } ?var1 <http://www.wikidata.org/prop/direct/P1566> \"453511\". } LIMIT 100"}}
{"id": "test_8176", "question": "Image of the person with SNAC ARK ID w6ff58z3", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6ff58z3\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w6ff58z3?", "Can you show me the Wikimedia Commons image of the individual identified by the SNAC ARK ID w6ff58z3?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6ff58z3\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8177", "question": "Male U.S. citizens who are photographers or in a subclass of photography, with English labels.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P27 wd:Q30 .\n  ?person wdt:P21 wd:Q6581097 .\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P106 / wdt:P279 * wd:Q33231 .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANGMATCHES(LANG(?personLabel) , \"en\"))\n  .\n  FILTER(NOT EXISTS {\n    ?person rdfs:label ?slLabel .\n    FILTER(LANG(?slLabel) = \"sl\")\n  })\n}\nORDER BY ASC(?personLabel)", "paraphrases": ["Who are the male American citizens working as photographers (or in related occupations), listed in alphabetical order by name?", "List the names of all male human citizens of the United States whose occupation is photographer or a subcategory of photographer, ensuring the names are in English and not in Slovenian."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q30> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581097> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q33231> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,de,nl,fr,it,es,no,pt,pl,cs,hr\". } FILTER ( ( NOT EXISTS { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"sl\" ) ) ) . } ) ) . } ORDER BY ASC( ?var1Label )"}}
{"id": "test_8178", "question": "What is the most common property used to associate entities with Vatican City?", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?propertyUri wd:Q237 . ?property wikibase:directClaim ?propertyUri . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["How many entities are linked to Vatican City via the 'country' property?", "Which Wikidata property connects the most items to Vatican City, and what is the count?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q237> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_8179", "question": "Who has the Dictionary of Swedish National Biography ID 20050?", "sparql": "SELECT ?person WHERE { ?person wdt:P3217 \"20050\" . }", "paraphrases": ["Which person is associated with the SBL ID 20050 in Wikidata?", "Find the Wikidata entity for the individual with SBL ID 20050."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3217> \"20050\". } LIMIT 1"}}
{"id": "test_8180", "question": "What are the English-labeled properties and values associated with Douglas Adams, along with any images of those values?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?prop ?propLabel ?value ?valueLabel(GROUP_CONCAT(DISTINCT STR(?image) ; SEPARATOR = \", \") AS ?images) WHERE {\n  wd:Q42 ?prop ?value .\n  ?propItem wikibase:directClaim ?prop .\n  ?propItem rdfs:label ?propLabel .\n  ?value rdfs:label ?valueLabel .\n  OPTIONAL {\n    ?value wdt:P18 ?image .\n  }\n  FILTER(LANG(?propLabel) = \"en\")\n  FILTER(LANG(?valueLabel) = \"en\")\n}\nGROUP BY ?prop ?propLabel ?value ?valueLabel\nORDER BY ASC(?prop) ASC(?value)\nLIMIT 200", "paraphrases": ["Can you list all the occupations, nationalities, and other attributes of Douglas Adams in English, including any images related to those attributes?", "Show me all the facts about Douglas Adams in English, including what each property means and any associated images of the values."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4Label ( GROUP_CONCAT ( DISTINCT ?var5 ; SEPARATOR = \", \" ) AS ?var6 ) WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { BIND ( <http://www.wikidata.org/entity/Q42> AS ?var3 ). BIND ( \"N/A\" AS ?var1 ). BIND ( \"identity\"@en AS ?var2Label ). OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var5 . } } UNION { <http://www.wikidata.org/entity/Q42> ?var1 ?var3 . ?var7 ?var8 ?var1 . ?var7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . } GROUP BY ?var1 ?var2Label ?var3 ?var4Label ORDER BY ASC( ?var1 )ASC( ?var3 ) LIMIT 200"}}
{"id": "test_8181", "question": "Number of scholarly works citing Jere D. Odell\u2019s publications, grouped by year.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?year ( COUNT( DISTINCT ?citingWork ) AS ?count ) ?relationship WHERE {\n  ?citingWork wdt:P2860 ?odellWork .\n  ?odellWork wdt:P50 wd:Q37371644 .\n  OPTIONAL {\n    ?citingWork wdt:P577 ?date .\n    BIND( STR( YEAR( ?date ) ) AS ?year )\n  }\n  BIND( \"cites Jere D. Odell\" AS ?relationship )\n}\nGROUP BY ?year ?relationship\nORDER BY DESC ( ?year )", "paraphrases": ["How many works cite Jere D. Odell\u2019s publications each year, and in which years did they appear?", "Show me a breakdown of how many times Jere D. Odell\u2019s works have been cited by other scholarly works, year by year."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q37371644> . } , \"string1\", \"string2\" ) AS ?var4 ). BIND ( STR ( YEAR ( ?var5 ) ) AS ?var1 ). ?var6 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q37371644> . ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var6 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var5 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_8182", "question": "Authors of the article \"Promotion and tenure for community-engaged research\" and their ORCID IDs or names.", "sparql": "SELECT ?author ?authorLabel (COALESCE(?orcid, ?authorLabel) AS ?identifier) WHERE { wd:Q37367828 wdt:P50 ?author . OPTIONAL { ?author wdt:P496 ?orcid . } ?author rdfs:label ?authorLabel . FILTER(LANG(?authorLabel) = \"en\") }", "paraphrases": ["Who are the authors of the academic article on promotion and tenure for community-engaged research, and what are their ORCID identifiers or names if no ORCID is available?", "List the authors of the 2013 article on community-engaged research promotion and tenure, showing their ORCID IDs if they have one; otherwise, show their names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COALESCE ( ?var2 , CONCAT ( \"string1\", ENCODE_FOR_URI ( ?var1Label ) ) ) AS ?var3 ) WHERE { <http://www.wikidata.org/entity/Q37367828> <http://www.wikidata.org/prop/direct/P50> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,da,de,es,fr,nl,no,ru,sv,zh\". } }"}}
{"id": "test_8183", "question": "List all episodes of The Simpsons with their episode numbers and English titles, ordered by number.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?episode ?episodeLabel ?ordinal WHERE {\n  ?episode wdt:P179 wd:Q886 .\n  ?episode wdt:P31 wd:Q116048824 .\n  ?episode p:P179 ?statement .\n  ?statement pq:P1545 ?ordinal .\n  ?episode rdfs:label ?episodeLabel .\n  FILTER ( LANG( ?episodeLabel ) = \"en\" )\n}\nORDER BY ASC ( xsd:integer ( ?ordinal ) )", "paraphrases": ["What are the English titles and episode numbers of all The Simpsons episodes, sorted by their order in the series?", "Please provide the labels and series ordinal numbers for every episode of The Simpsons, in order of appearance."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var3Label WHERE { BIND ( <http://www.wikidata.org/entity/Q886> AS ?var4 ). ?var5 <http://www.wikidata.org/prop/direct/P361> ?var4 . ?var3 <http://www.wikidata.org/prop/direct/P361> ?var5 . ?var6 <http://www.wikidata.org/prop/direct/P179> ?var4 . ?var5 <http://www.wikidata.org/prop/P179> [ <http://www.wikidata.org/prop/qualifier/P1545> ?var2 ] . ?var6 <http://www.wikidata.org/prop/P179> [ <http://www.wikidata.org/prop/qualifier/P1545> ?var7 ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( <http://www.w3.org/2001/XMLSchema#integer> ( ?var2 ) )"}}
{"id": "test_8184", "question": "Is there a Wikidata item associated with the IMDb ID tt3066052?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P345 \"tt3066052\" .\n}", "paraphrases": ["Does the movie or TV show with IMDb ID tt3066052 have a Wikidata entry?", "Is \"tt3066052\" a valid IMDb identifier in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt3066052\". }"}}
{"id": "test_8185", "question": "Members of the 51st Parliament of the United Kingdom", "sparql": "SELECT ?person WHERE { ?person wdt:P39 wd:Q41582627 }", "paraphrases": ["Who were the members of the 51st Parliament of the United Kingdom?", "List all individuals who held office in the 51st Parliament of the United Kingdom."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> * <http://www.wikidata.org/entity/Q41582627> . }"}}
{"id": "test_8186", "question": "Scholarly articles authored by Darren Gergle, including their publication dates, co-authors, venues, and page counts.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT(MIN(?pubDate) AS ?minPubDate) ?work ?workLabel(GROUP_CONCAT(DISTINCT ?typeLabel ; SEPARATOR = \", \") AS ?types)(SAMPLE(?pages) AS ?samplePages) ?venue ?venueLabel(GROUP_CONCAT(DISTINCT ?authorLabel ; SEPARATOR = \", \") AS ?authors) WHERE {\n  ?work wdt:P50 wd:Q42336681 .\n  ?work wdt:P50 ?author .\n  OPTIONAL {\n    ?author rdfs:label ?authorLabel .\n    FILTER(LANG(?authorLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?work rdfs:label ?workLabel .\n    FILTER(LANG(?workLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?work wdt:P31 ?type .\n    ?type rdfs:label ?typeLabel .\n    FILTER(LANG(?typeLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?work wdt:P577 ?pubDate\n  }\n  OPTIONAL {\n    ?work wdt:P1104 ?pages\n  }\n  OPTIONAL {\n    ?work wdt:P1433 ?venue .\n    ?venue rdfs:label ?venueLabel .\n    FILTER(LANG(?venueLabel) = \"en\")\n  }\n}\nGROUP BY ?work ?workLabel ?venue ?venueLabel\nORDER BY DESC(?minPubDate)", "paraphrases": ["What are the scholarly articles written by Darren Gergle, and who are their co-authors, publication venues, and publication dates?", "List all scholarly works by Darren Gergle, showing their publication dates, co-authors, venues, and number of pages, sorted by most recent first."], "info": {"raw_sparql": "SELECT( MIN ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ( GROUP_CONCAT ( DISTINCT ?var4Label ; SEPARATOR = \", \" ) AS ?var5 )( SAMPLE ( ?var6 ) AS ?var7 ) ?var8 ?var8Label ( GROUP_CONCAT ( DISTINCT ?var9Label ; SEPARATOR = \", \" ) AS ?var10 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q42336681> . ?var3 <http://www.wikidata.org/prop/direct/P50> ?var11 . OPTIONAL { ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12 . FILTER ( ( ( LANG ( ?var12 ) = \"en\" ) ) ) . } BIND ( COALESCE ( ?var12 , SUBSTR ( STR ( ?var11 ) ,\"32\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var9Label ). OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . } OPTIONAL { BIND ( <http://www.w3.org/2001/XMLSchema#date> ( ?var13 ) AS ?var1 ). ?var3 <http://www.wikidata.org/prop/direct/P577> ?var13 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1104> ?var6 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,no,ru,sv,zh\". } } GROUP BY ?var3 ?var3Label ?var8 ?var8Label ORDER BY DESC( ?var2 )"}}
{"id": "test_8187", "question": "What are the genre, country of origin, release date, director, screenwriter, and cast of the film \"No Country for Old Men\"?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?filmLabel ?genre ?genreLabel ?country ?countryLabel ?date ?director ?directorLabel ?screenwriter ?screenwriterLabel ?cast ?castLabel WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P1476 \"No Country for Old Men\" @en .\n  OPTIONAL {\n    ?film wdt:P136 ?genre .\n  }\n  OPTIONAL {\n    ?film wdt:P495 ?country .\n  }\n  OPTIONAL {\n    ?film wdt:P577 ?date .\n  }\n  OPTIONAL {\n    ?film wdt:P57 ?director .\n  }\n  OPTIONAL {\n    ?film wdt:P58 ?screenwriter .\n  }\n  OPTIONAL {\n    ?film wdt:P161 ?cast .\n  }\n  OPTIONAL {\n    ?film rdfs:label ?filmLabel .\n    FILTER ( LANG( ?filmLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?genre rdfs:label ?genreLabel .\n    FILTER ( LANG( ?genreLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?country rdfs:label ?countryLabel .\n    FILTER ( LANG( ?countryLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?director rdfs:label ?directorLabel .\n    FILTER ( LANG( ?directorLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?screenwriter rdfs:label ?screenwriterLabel .\n    FILTER ( LANG( ?screenwriterLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?cast rdfs:label ?castLabel .\n    FILTER ( LANG( ?castLabel ) = \"en\" )\n  }\n}\nLIMIT 5", "paraphrases": ["Can you tell me the genre, where it was produced, when it was released, who directed it, who wrote the screenplay, and who starred in the movie \"No Country for Old Men\"?", "Provide me with the details of the film \"No Country for Old Men\", including its genre, country of origin, release date, director, screenwriter, and main cast members."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var5 ?var5Label ?var6 ?var6Label ?var7 ?var7Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P495> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P57> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P58> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P161> ?var7 . } ?var1 <http://www.wikidata.org/prop/direct/P1476> <http://www.wikidata.org/entity/Q183081> . } LIMIT 5"}}
{"id": "test_8188", "question": "Properties that are subproperties of or inverses of subproperties of \"has part\"", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?var1 ?var1Label WHERE {\n  {\n    ?var1 wdt:P1647 * wd:P155 .\n  } UNION {\n    ?var1 wdt:P1696 ?inv .\n    ?inv wdt:P1647 * wd:P155 .\n  }\n  ?var1 rdfs:label ?var1Label .\n  FILTER(LANG(?var1Label) = \"en\")\n}", "paraphrases": ["What properties are related to \"has part\" through subproperty or inverse relationships?", "List all properties that are either direct subproperties of \"has part\" or are inverses of such subproperties."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P1647> */ <http://www.wikidata.org/prop/direct/P1696> / <http://www.wikidata.org/prop/direct/P1647> */ <http://www.wikidata.org/prop/direct/P1696> / <http://www.wikidata.org/prop/direct/P1647> *) <http://www.wikidata.org/entity/P155> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_8189", "question": "Head of government of the United States and the United States itself, with their respective heads of government.", "sparql": "SELECT ?entity ?entityLabel ?headOfGovernment WHERE { wd:Q30 wdt:P6* ?entity . OPTIONAL { ?entity wdt:P6 ?headOfGovernment . } ?entity rdfs:label ?entityLabel . FILTER(LANG(?entityLabel) = \"en\") }", "paraphrases": ["Who are the entities that are either the United States or its head of government, and who is the head of government for each?", "List the United States and its head of government, and for each, indicate who their head of government is."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q30> <http://www.wikidata.org/prop/direct/P6> * ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P6> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8190", "question": "What are the administrative and geographic entities associated with B\u1eafc H\u1ed3ng, Vietnam?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?location WHERE {\n  VALUES ?location {\n    wd:Q10743340 wd:Q881 wd:Q48\n  }\n}", "paraphrases": ["Which country and continent is B\u1eafc H\u1ed3ng located in?", "List all location-related entities connected to B\u1eafc H\u1ed3ng, including itself, its country, and its continent."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q10743340> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_8191", "question": "How many physical quantities in Wikidata have an ISQ dimension assigned?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ( COUNT( ?dimension ) AS ?count ) WHERE {\n  ?quantity wdt:P4020 ?dimension .\n}", "paraphrases": ["What is the total number of physical quantities annotated with their dimensional formula in the International System of Quantities?", "How many items in Wikidata are associated with a dimension expressed in base ISQ units?"], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P4020> ?var1 . }"}}
{"id": "test_8192", "question": "Image of Jaroslav R\u00f6ssler (SNAC ARK ID w6j98z0h)", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6j98z0h\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w6j98z0h?", "Please provide the Wikimedia Commons image for the entity identified by SNAC ARK ID w6j98z0h."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6j98z0h\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8193", "question": "Which companies produce cocoa powder?", "sparql": "SELECT ?company ?companyLabel WHERE { ?company wdt:P1056 wd:Q1062396 . }", "paraphrases": ["What are the manufacturers or producers of cocoa powder?", "Can you list the entities that produce cocoa powder as a product?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/2131> <http://www.wikidata.org/entity/Q1062396> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8194", "question": "Which properties are used more than once to link to Piotr Hemperek, and what are their labels?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?directClaim ?directClaimLabel(COUNT(?person) AS ?count) WHERE {\n  ?person ?prop wd:Q11817544 .\n  ?directClaim wikibase:directClaim ?prop .\n  ?directClaim rdfs:label ?directClaimLabel .\n  FILTER(LANG(?directClaimLabel) = \"en\")\n}\nGROUP BY ?directClaim ?directClaimLabel\nHAVING(?count > 1)\nORDER BY DESC(?count)", "paraphrases": ["What property has been used to link Piotr Hemperek as the object more than once, and what is its English label?", "Show me the English labels of properties that have been used more than once to connect someone to Piotr Hemperek, along with how many times they were used."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var4 ) AS ?var3 ) WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q11817544> . ?var1 <http://wikiba.se/ontology#directClaim> ?var5 . } GROUP BY ?var1 ?var1Label HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } } ORDER BY DESC( ?var3 )"}}
{"id": "test_8195", "question": "Who is \u00c9mile Cou\u00e9 in French?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?item WHERE {\n  ?item rdfs:label \"\u00c9mile Cou\u00e9\" @fr .\n  ?item wdt:P31 wd:Q5 .\n}", "paraphrases": ["What human entity is labeled as \"\u00c9mile Cou\u00e9\" in French?", "Can you find the French-labeled person named \u00c9mile Cou\u00e9?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Lo\u00efck COU\u00c9\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8196", "question": "What are the types of railway and subway stations in Berlin?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?coord ?typeLabel ?transportType WHERE {\n  VALUES ?item {\n    wd:Q1097 wd:Q698497 wd:Q376589 wd:Q1647893 wd:Q678125 wd:Q374018 wd:Q464094 wd:Q465972\n  }\n  ?item wdt:P625 ?coord .\n  ?item wdt:P31 ?type .\n  ?type rdfs:label ?typeLabel .\n  FILTER ( LANG( ?typeLabel ) = 'en' ) .\n  OPTIONAL {\n    VALUES ?type {\n      wd:Q928830 wd:Q128457\n    }\n    .\n    BIND( \"subway station\" AS ?subway )\n  }\n  OPTIONAL {\n    VALUES ?type {\n      wd:Q55488 wd:Q18543139 wd:Q55490 wd:Q55484 wd:Q1147171 wd:Q1406904\n    }\n    .\n    BIND( \"railway station\" AS ?railway )\n  }\n  OPTIONAL {\n    VALUES ?type {\n      wd:Q128458\n    }\n    .\n    BIND( \"tram stop\" AS ?tram )\n  }\n  OPTIONAL {\n    VALUES ?type {\n      wd:Q128459\n    }\n    .\n    BIND( \"light rail station\" AS ?light_rail )\n  }\n  OPTIONAL {\n    VALUES ?type {\n      wd:Q128456\n    }\n    .\n    BIND( \"platform\" AS ?platform )\n  }\n  BIND( COALESCE ( ?subway , ?railway , ?tram , ?light_rail , ?platform , \"other\" ) AS ?transportType )\n}\nORDER BY ?item", "paraphrases": ["List the transportation infrastructure in Berlin and classify them as subway, railway, tram, or other.", "Which stations in Berlin are subway stations, railway stations, or tram stops?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3Label ) AS ?var3Label ) ?var4 WHERE { SERVICE <http://linkedgeodata.org/sparql> { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://linkedgeodata.org/ontology/RailwayThing> ; <http://geovocab.org/geometry#geometry> [ <http://www.opengis.net/ont/geosparql#asWKT> ?var2 ] . FILTER ( ( <bif:st_intersects> ( ?var2 , <bif:st_point> (\"13.383333\"^^<http://www.w3.org/2001/XMLSchema#decimal> , \"52.516667\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) , \"0.1\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) ) ) . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . } OPTIONAL { BIND ( \"subway\"@en AS ?var5 ). ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://linkedgeodata.org/ontology/Subway> . } OPTIONAL { BIND ( \"rail\"@en AS ?var6 ). ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://linkedgeodata.org/ontology/Rail> . } OPTIONAL { BIND ( \"light rail\"@en AS ?var7 ). ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://linkedgeodata.org/ontology/LightRail> . } OPTIONAL { BIND ( \"tramway\"@en AS ?var8 ). ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://linkedgeodata.org/ontology/Tramway> . } OPTIONAL { BIND ( \"platform\"@en AS ?var9 ). ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://linkedgeodata.org/ontology/Platform> . } } BIND ( COALESCE ( ?var5 , ?var7 , ?var6 , ?var8 , ?var9 , \"other\"@en ) AS ?var4 ). } GROUP BY ?var1 ?var2 ?var4"}}
{"id": "test_8197", "question": "What are the names of humans that have labels in the \"mo\" language?", "sparql": "SELECT ?human ?label WHERE { ?human wdt:P31 wd:Q5 ; rdfs:label ?label . FILTER (LANG(?label) = \"mo\") } LIMIT 10", "paraphrases": ["Show me up to 10 humans whose labels are marked with the language code \"mo\".", "List the labels of human beings that are tagged as \"mo\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"mo\" ) ) ) . } LIMIT 10"}}
{"id": "test_8198", "question": "What occupations, awards, and organizations is Paul McCartney associated with?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?item ?itemLabel ?coordinates WHERE {\n  {\n    wd:Q2599 wdt:P361 ?item .\n  } UNION {\n    wd:Q2599 wdt:P463 ?item .\n  } UNION {\n    wd:Q2599 wdt:P39 ?item .\n  } UNION {\n    wd:Q2599 wdt:P166 ?item .\n  } UNION {\n    wd:Q2599 wdt:P106 ?item .\n  } UNION {\n    wd:Q2599 wdt:P31 ?item .\n  } UNION {\n    wd:Q2599 wdt:P102 ?item .\n  }\n  OPTIONAL {\n    ?item wdt:P625 ?coordinates .\n  }\n}\nLIMIT 1000", "paraphrases": ["Can you list all the groups, positions, and honors that Paul McCartney has been part of or received?", "Show me everything Paul McCartney is connected to via his occupations, memberships, awards, and roles \u2014 including their geographic coordinates if available."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q2599> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q2599> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q2599> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P166> <http://www.wikidata.org/entity/Q2599> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q2599> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2599> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P102> <http://www.wikidata.org/entity/Q2599> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q28052090> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q28052090> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q28052090> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P166> <http://www.wikidata.org/entity/Q28052090> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q28052090> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q28052090> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P102> <http://www.wikidata.org/entity/Q28052090> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],nl,en,de,fr\". } } LIMIT 1000"}}
{"id": "test_8199", "question": "What properties are subproperties of \"preceded by\"?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?var1 ?var1Label WHERE {\n  ?var1 wdt:P1647 * wd:P156 .\n  ?var1 rdfs:label ?var1Label .\n}", "paraphrases": ["List all properties that are inherited from or narrower than the \"preceded by\" property.", "Which properties in Wikidata are more specific versions of \"preceded by\"?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P1647> */ <http://www.wikidata.org/prop/direct/P1696> / <http://www.wikidata.org/prop/direct/P1647> *) <http://www.wikidata.org/entity/P155> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_8200", "question": "Clothing items invented or introduced in 1770", "sparql": "SELECT DISTINCT ?item WHERE { ?item (wdt:P571 | wdt:P575 | wdt:P577 | wdt:P1619) ?date . FILTER ( ?date >= \"1770-01-01T00:00:00Z\"^^xsd:dateTime && ?date <= \"1770-12-31T23:59:59Z\"^^xsd:dateTime ) }", "paraphrases": ["Which clothing styles were first created, discovered, or published in the year 1770?", "List all fashion items from Wikidata that have a recorded date of inception, invention, publication, or official opening in 1770."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P571> | <http://www.wikidata.org/prop/direct/P575> | <http://www.wikidata.org/prop/direct/P577> | <http://www.wikidata.org/prop/direct/P1619> ) ?var2 . FILTER ( ( ( ?var2 >= \"1770-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1770-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_8201", "question": "Singaporean alumni of the University of Oxford", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P69 wd:Q34433 . ?person wdt:P19 wd:Q334 . OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } }", "paraphrases": ["Who were born in Singapore and studied at the University of Oxford?", "List people who were born in Singapore and attended the University of Oxford."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P69> <http://www.wikidata.org/entity/Q34433> . ?var1 <http://www.wikidata.org/prop/direct/p19> <http://www.wikidata.org/entity/Q334> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_8202", "question": "People born in Singapore who studied at Oxford or Cambridge.", "sparql": "SELECT ?person ?personLabel ?universityLabel WHERE { { ?person wdt:P69 wd:Q34433 . BIND(wd:Q34433 AS ?university) } UNION { ?person wdt:P69 wd:Q35794 . BIND(wd:Q35794 AS ?university) } ?person wdt:P19 wd:Q334 . ?person rdfs:label ?personLabel . ?university rdfs:label ?universityLabel . FILTER(LANG(?personLabel) = \"en\") FILTER(LANG(?universityLabel) = \"en\") }", "paraphrases": ["Who are the people born in Singapore that attended either the University of Oxford or the University of Cambridge?", "List the names of individuals born in Singapore along with the university (Oxford or Cambridge) they attended."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P69> <http://www.wikidata.org/entity/Q34433> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P69> <http://www.wikidata.org/entity/Q35794> . } { ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q334> . } ?var1 <http://www.wikidata.org/prop/direct/p69> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_8203", "question": "Items with freely usable image URLs on Wikimedia Commons-compatible sites", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel ?imageURL WHERE {\n  ?item wdt:P4765 ?imageURL .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}\nLIMIT 1000", "paraphrases": ["What cultural items have publicly accessible, freely licensed images associated with them in Wikidata?", "Show me a list of artworks and clothing items along with their English names and links to their freely usable images."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4765> ?var3 . } LIMIT 100099999"}}
{"id": "test_8204", "question": "Top 100 countries with the most Nobel Prize winners", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?country ?countryLabel ?count WHERE {\n  {\n    SELECT ?country ( COUNT( DISTINCT ?laureate ) AS ?count ) WHERE {\n      ?laureate wdt:P166 ?award .\n      ?award wdt:P279 * wd:Q7191 .\n      ?laureate wdt:P27 ?country .\n    }\n    GROUP BY ?country\n  }\n  ?country rdfs:label ?countryLabel .\n  FILTER ( LANG( ?countryLabel ) = \"en\" )\n}\nORDER BY DESC ( ?count )\nLIMIT 100", "paraphrases": ["Which countries have produced the most Nobel laureates, and how many have they produced?", "Show me the list of countries ranked by the number of Nobel Prize recipients, including the count and country names in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 ( COUNT ( DISTINCT ?var3 ) AS ?var2 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P166> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7191> . ?var3 <http://www.wikidata.org/prop/direct/P27> ?var1 . } GROUP BY ?var1 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja,en\". } } ORDER BY DESC( ?var2 ) LIMIT 100"}}
{"id": "test_8205", "question": "What entities are linked to the Norwegian Church in Cardiff, and what properties are used to link them?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?entity ?entityLabel ?property ?propertyLabel WHERE {\n  ?entity ?property wd:Q1800343 .\n  ?entity rdfs:label ?entityLabel .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?propertyLabel .\n  FILTER ( LANG( ?entityLabel ) = \"en\" ) FILTER ( LANG( ?propertyLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Which buildings or places are connected to the Norwegian Church (Cardiff) via the 'location' property, and what is the property's name?", "Show me the entities that have a direct relationship with the Norwegian Church in Cardiff, along with the English labels of those relationships."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ?var3 <http://www.wikidata.org/entity/Q1800343> . ?var2 <http://wikiba.se/ontology#directClaim> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_8206", "question": "Is KJS a human?", "sparql": "ASK WHERE { wd:Q944678 wdt:P31 wd:Q5 . }", "paraphrases": ["Does the JavaScript engine KJS belong to the category of human beings?", "Is KJS classified as a human in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q944678> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_8207", "question": "Does the GND ID 1089286112 exist in Wikidata?", "sparql": "ASK WHERE { ?person wdt:P227 \"1089286112\" . }", "paraphrases": ["Is there a person in Wikidata with the German National Library ID 1089286112?", "Confirm whether the entity associated with the GND identifier 1089286112 is present in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"1089286112\". }"}}
{"id": "test_8208", "question": "Top 20 most cited academic papers by MIT Brain and Cognitive Sciences researchers", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?work ?workLabel(COUNT(?citingWork) AS ?citationCount) WHERE {\n  ?author wdt:P1416 wd:Q42307047 .\n  ?work wdt:P50 ?author .\n  ?citingWork wdt:P2860 ?work .\n  ?work rdfs:label ?workLabel .\n  FILTER(LANG(?workLabel) = 'en')\n}\nGROUP BY ?work ?workLabel\nORDER BY DESC(?citationCount)\nLIMIT 20", "paraphrases": ["Which publications authored by members of MIT's Department of Brain and Cognitive Sciences have been cited the most times?", "Show me the 20 most frequently cited works by researchers affiliated with the MIT Department of Brain and Cognitive Sciences, ranked by citation count."], "info": {"raw_sparql": "SELECT( COUNT ( DISTINCT ?var1 ) AS ?var2 ) ?var3 ?var3Label WHERE { { ?var4 <http://www.wikidata.org/prop/direct/P108> <http://www.wikidata.org/entity/Q42307047> . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P1416> <http://www.wikidata.org/entity/Q42307047> . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P1416> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q42307047> . } ?var3 <http://www.wikidata.org/prop/P50> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P50> ?var4 . ?var6 <http://www.wikidata.org/prop/qualifier/P1545> \"1\". ?var1 <http://www.wikidata.org/prop/direct/P2860> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var7 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp,da\". } } GROUP BY ?var3 ?var3Label ORDER BY DESC( ?var2 ) LIMIT 20"}}
{"id": "test_8209", "question": "What are the most recent papers citing research by authors affiliated with MIT\u2019s Department of Brain and Cognitive Sciences?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?publicationDate ?citingWork ?citingWorkLabel ?citedWork ?citedWorkLabel WHERE {\n  {\n    ?author wdt:P108 wd:Q42307047 .\n  } UNION {\n    ?author ( wdt:P1416 / wdt:P361 * ) wd:Q42307047 .\n  }\n  ?citedWork wdt:P50 ?author .\n  ?citingWork wdt:P2860 ?citedWork .\n  ?citingWork wdt:P577 ?publicationDate .\n  ?citingWork rdfs:label ?citingWorkLabel .\n  ?citedWork rdfs:label ?citedWorkLabel .\n  FILTER ( LANG( ?citingWorkLabel ) = \"en\" ) FILTER ( LANG( ?citedWorkLabel ) = \"en\" )\n}\nORDER BY DESC ( ?publicationDate )", "paraphrases": ["Which academic papers published most recently cite works authored by researchers employed by or affiliated with the MIT Department of Brain and Cognitive Sciences, and what were the original works they cited?", "Show me the citing and cited academic works linked to MIT\u2019s Brain and Cognitive Sciences department, ordered by the publication date of the citing papers."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ?var3Label WHERE { { ?var4 <http://www.wikidata.org/prop/direct/P108> <http://www.wikidata.org/entity/Q42307047> . } UNION { ?var4 ( <http://www.wikidata.org/prop/direct/P1416> / <http://www.wikidata.org/prop/direct/P361> *) <http://www.wikidata.org/entity/Q42307047> . } BIND ( <http://www.w3.org/2001/XMLSchema#date> ( ?var5 ) AS ?var1 ). ?var3 <http://www.wikidata.org/prop/direct/P50> ?var4 . ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var3 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,nl,nl,ru,sv,zh\". } } ORDER BY DESC( ?var1 )"}}
{"id": "test_8210", "question": "What is the language with UNESCO Atlas ID 1766 and its English description?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?language ?label ?description WHERE {\n  ?language wdt:P2355 \"1766\" .\n  ?language rdfs:label ?label .\n  OPTIONAL {\n    ?language schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["What is the name and English description of the language listed as 1766 in the UNESCO Atlas of Endangered Languages?", "Show me the English name and description of the language with UNESCO ID 1766."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2355> \"1766\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8211", "question": "What Spanish-labeled entities and properties are related to Grigori Rasputin, and what is his image?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?rasputin ?rasputinLabel ?property ?propertyLabel ?relatedEntity ?relatedEntityLabel ?image WHERE {\n  BIND(wd:Q43989 AS ?rasputin)\n  ?relatedEntity ?directProperty ?rasputin .\n  ?property wikibase:directClaim ?directProperty .\n  ?property rdfs:label ?propertyLabel .\n  ?relatedEntity rdfs:label ?relatedEntityLabel .\n  ?rasputin rdfs:label ?rasputinLabel .\n  FILTER(LANG(?propertyLabel) = \"es\")\n  FILTER(LANG(?relatedEntityLabel) = \"es\")\n  FILTER(LANG(?rasputinLabel) = \"es\")\n  OPTIONAL {\n    ?rasputin wdt:P18 ?image .\n  }\n}\nLIMIT 100", "paraphrases": ["Which entities in Spanish have a relationship with Grigori Rasputin, and what are those relationships called in Spanish?", "Show me all Spanish-language relationships involving Grigori Rasputin, including the names of the related entities and his image."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5Label ?var6 WHERE { BIND ( <http://www.wikidata.org/entity/Q43989> AS ?var1 ). ?var4 ?var2 ?var1 . ?var7 ?var8 ?var2 . ?var7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var5Label ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"es\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var6 . } } LIMIT 100"}}
{"id": "test_8212", "question": "What entities are linked to Nazi Germany, and how are they described in Spanish?", "sparql": "SELECT DISTINCT ?nazi_germany ?nazi_germanyLabel ?property ?propertyLabel ?related_item ?related_itemLabel ?image WHERE { BIND( wd:Q7318 AS ?nazi_germany ) . ?related_item ?property ?nazi_germany . BIND( SUBSTR( STR(?property), 37 ) AS ?propId ) . BIND( IRI( CONCAT( \"http://www.wikidata.org/entity/\", ?propId ) ) AS ?propertyEntity ) . ?propertyEntity rdfs:label ?propertyLabel . ?related_item rdfs:label ?related_itemLabel . ?nazi_germany rdfs:label ?nazi_germanyLabel . FILTER ( LANG( ?propertyLabel ) = \"es\" ) . FILTER ( LANG( ?related_itemLabel ) = \"es\" ) . FILTER ( LANG( ?nazi_germanyLabel ) = \"es\" ) . OPTIONAL { ?nazi_germany wdt:P18 ?image . } } LIMIT 100", "paraphrases": ["In Spanish, which items are associated with Nazi Germany and what are the names of those associations?", "Show me all Spanish-labeled relationships and related items connected to Nazi Germany."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5Label ?var6 WHERE { BIND ( <http://www.wikidata.org/entity/Q7318> AS ?var1 ). ?var4 ?var2 ?var1 . ?var7 ?var8 ?var2 . ?var7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var5Label ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"es\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var6 . } } LIMIT 100"}}
{"id": "test_8213", "question": "Image of fictional object (Q15706911)", "sparql": "SELECT DISTINCT ?fictionalObject ?image WHERE { BIND( wd:Q15706911 AS ?fictionalObject ) . OPTIONAL { ?fictionalObject wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the fictional object on Wikidata?", "Can you show me the image used to represent the category of fictional objects on Wikimedia Commons?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { BIND ( <http://www.wikidata.org/entity/Q15706911> AS ?var1 ). OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } }"}}
{"id": "test_8214", "question": "Image of the Nobel Prize in Physics", "sparql": "SELECT ?award ?image WHERE { BIND( wd:Q38104 AS ?award ) . OPTIONAL { ?award wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the Nobel Prize in Physics on Wikimedia Commons?", "Can you show me the official image of the Nobel Prize in Physics?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { BIND ( <http://www.wikidata.org/entity/Q38104> AS ?var1 ). OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } }"}}
{"id": "test_8215", "question": "What is the image of Richard Feynman?", "sparql": "SELECT ?image WHERE { wd:Q39246 wdt:P18 ?image .}", "paraphrases": ["Can you show me a picture of Richard Feynman?", "Which Wikimedia Commons image is associated with the physicist Richard Feynman?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { BIND ( <http://www.wikidata.org/entity/Q39246> AS ?var1 ). OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } }"}}
{"id": "test_8216", "question": "What is the image of John Everett Millais on Wikimedia Commons?", "sparql": "SELECT DISTINCT ?person ?image WHERE { VALUES ?person { wd:Q159606 } ?person wdt:P18 ?image .}", "paraphrases": ["Can you show me the picture of the British painter John Everett Millais?", "What image is associated with John Everett Millais in Wikidata?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { BIND ( <http://www.wikidata.org/entity/Q159606> AS ?var1 ). OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } }"}}
{"id": "test_8217", "question": "Image of the person with SNAC ARK ID w6133pk6", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6133pk6\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with Rosemarie Koczy in Wikidata?", "Show me the Wikimedia Commons image for the individual identified by the SNAC ARK ID w6133pk6."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6133pk6\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8218", "question": "What are the direct historical contexts of The Blitz, and what are their types and categories?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?part ?partLabel ?startTime ?endTime ?instance ?category WHERE {\n  wd:Q6900329 wdt:P361 ?part .\n  OPTIONAL {\n    ?part wdt:P580 ?startTime .\n  }\n  OPTIONAL {\n    ?part wdt:P582 ?endTime .\n  }\n  OPTIONAL {\n    ?part wdt:P31 ?instance .\n  }\n  OPTIONAL {\n    ?part wdt:P910 ?category .\n  }\n  OPTIONAL {\n    ?part rdfs:label ?partLabel .\n    FILTER(LANG(?partLabel) = \"en\")\n  }\n}", "paraphrases": ["What larger military or historical categories include The Blitz as a part, and do they have defined start and end times?", "Show me the immediate historical categories that The Blitz belongs to, along with their English labels, time periods, and main Wikimedia categories."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var5Label ?var6 ?var6Label WHERE { <http://www.wikidata.org/entity/Q6900329> <http://www.wikidata.org/prop/direct/P361> * ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P580> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P582> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P910> ?var6 . } }"}}
{"id": "test_8219", "question": "What is the English name of the Eiffel Tower?", "sparql": "SELECT ?label WHERE { wd:Q243 rdfs:label ?label . FILTER (LANG(?label) = \"en\") }", "paraphrases": ["How is the Eiffel Tower called in English?", "Can you tell me the English label for the Eiffel Tower?"], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q243> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . }"}}
{"id": "test_8220", "question": "Fictional universes with Danish labels and descriptions that have characters from them.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?universe ?label ?description WHERE {\n  ?entity wdt:P1080 ?universe .\n  ?universe rdfs:label ?label .\n  ?universe schema:description ?description .\n  FILTER(LANG(?label) = \"da\")\n  .\n  FILTER(LANG(?description) = \"da\")\n}\nLIMIT 100", "paraphrases": ["Which fictional universes have both a Danish label and a Danish description, and are associated with any fictional character or entity?", "Show me fictional universes that are referenced by any character or entity and have their name and description available in Danish."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P1080> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"da\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"da\" ) ) ) . } LIMIT 100"}}
{"id": "test_8221", "question": "Male humans born after 1980 with their height, weight, and date of birth.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel ?height ?mass ?birthDate WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P21 wd:Q6581097 .\n  ?person wdt:P2048 ?height .\n  ?person wdt:P2067 ?mass .\n  ?person wdt:P569 ?birthDate .\n  FILTER ( YEAR( ?birthDate ) >= 1980 ) .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}\nLIMIT 1000", "paraphrases": ["Who are male individuals born from 1980 onwards, and what are their heights, weights, and birth dates?", "List male people born since 1980, including their English names, heights in centimeters, masses in kilograms, and exact birth dates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581097> . ?var1 <http://www.wikidata.org/prop/direct/P2048> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P2067> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . FILTER ( ( ( YEAR ( ?var4 ) >= \"1980\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 1000"}}
{"id": "test_8222", "question": "Most common property linking other entities to Rory McIlroy as object", "sparql": "SELECT ?property (COUNT(?property) AS ?count)\nWHERE {\n  ?item ?property wd:Q380613 .\n  FILTER(STRSTARTS(STR(?property), \"http://www.wikidata.org/prop/direct/\"))\n}\nGROUP BY ?property\nORDER BY DESC(?count)\nLIMIT 1", "paraphrases": ["Which property is most frequently used to indicate that something has Rory McIlroy as its winner?", "Show me the property that is used the most times to state that Rory McIlroy won something."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q380613> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_8223", "question": "Who is the French-labeled person named \"Yazid Mansouri\"?", "sparql": "SELECT DISTINCT ?person WHERE { ?person rdfs:label \"Yazid Mansouri\" @fr . ?person wdt:P31 wd:Q5 . }", "paraphrases": ["Find the human in Wikidata whose name in French is \"Yazid Mansouri\".", "What entity in Wikidata has the French label \"Yazid Mansouri\" and is a human?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"mansoulier\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8224", "question": "List all singers in Wikidata.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?singer WHERE {\n  ?singer wdt:P31 wd:Q177220 .\n}", "paraphrases": ["Who are the people listed as singers in Wikidata?", "Show me all individuals classified as singers (instance of occupation: singer)."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q177220> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8225", "question": "What image is linked to the SNAC ARK ID \"w6pk0mbt\" in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6pk0mbt\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Does the entity with SNAC ARK ID w6pk0mbt have an image on Wikimedia Commons?", "Show the Commons image for the archival record identified by SNAC ARK ID w6pk0mbt."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6pk0mbt\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8226", "question": "What are the capitals of all countries in the world?", "sparql": "SELECT ?capital ?capitalLabel ?country ?countryLabel WHERE { ?country wdt:P31 wd:Q6256 . ?country wdt:P36 ?capital . ?capital rdfs:label ?capitalLabel . ?country rdfs:label ?countryLabel . FILTER(LANG(?capitalLabel) = \"en\") FILTER(LANG(?countryLabel) = \"en\") }", "paraphrases": ["Can you list each country along with its capital city, both in English?", "Which cities serve as the administrative capitals of sovereign nations, and what are the names of those nations?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var2 <http://www.wikidata.org/prop/direct/P36> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_8227", "question": "What paintings have English descriptions in Wikidata?", "sparql": "SELECT DISTINCT ?item WHERE { ?item wdt:P31 wd:Q3305213 . ?item schema:description ?desc . FILTER(LANG(?desc) = 'en') }", "paraphrases": ["Can you list all paintings that are described in English?", "Which works of art classified as paintings have a written description in English?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://schema.org/description> \"string1\"@en . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . }"}}
{"id": "test_8228", "question": "What are the hackspace locations in Germany?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?hackspace ?label WHERE {\n  ?hackspace wdt:P31 wd:Q1032372 .\n  ?hackspace wdt:P17 wd:Q183 .\n  ?hackspace rdfs:label ?label .\n}", "paraphrases": ["Can you list all makerspaces in Germany and their names?", "Show me the names of all community workshops in Germany that are classified as hackspaces."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1032372> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . }"}}
{"id": "test_8229", "question": "What is the Twitter/X username for the National Highway Traffic Safety Administration?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  FILTER ( STR( ?username ) = \"NHTSAgov\" )\n}", "paraphrases": ["Which Wikidata item has the Twitter handle \"NHTSAgov\"?", "Find the entity in Wikidata that uses NHTSAgov as its X (formerly Twitter) username."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"NHTSAgov\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8230", "question": "Is Brandon Montour listed in Wikidata with Eurohockey.com player ID 548582?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?player wdt:P2601 \"548582\" .\n}", "paraphrases": ["Does the Wikidata entry for Brandon Montour include the Eurohockey.com player identifier 548582?", "Confirm that the ice hockey player with Eurohockey.com ID 548582 is represented in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2601> \"548582\". }"}}
{"id": "test_8231", "question": "Is Josh MacNevin listed in Wikidata with Eurohockey.com player ID 21349?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?player wdt:P2601 \"21349\" .\n}", "paraphrases": ["Does Wikidata contain an entry for the ice hockey player with Eurohockey.com ID 21349?", "Confirm if the Eurohockey.com player ID 21349 corresponds to a known ice hockey player in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2601> \"21349\". }"}}
{"id": "test_8232", "question": "What entities are headquartered in Wolverine, Michigan?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?entity ?entityLabel ?propertyLabel ?wolverineLabel WHERE {\n  BIND( wd:Q2345681 AS ?wolverine ) .\n  ?entity ?property ?wolverine .\n  ?propItem wikibase:directClaim ?property .\n  ?propItem rdfs:label ?propertyLabel .\n  ?entity rdfs:label ?entityLabel .\n  ?wolverine rdfs:label ?wolverineLabel .\n  FILTER ( LANG( ?entityLabel ) = \"en\" ) FILTER ( LANG( ?propertyLabel ) = \"en\" ) FILTER ( LANG( ?wolverineLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Which organization has its headquarters in the village of Wolverine, and what property links them?", "Show me the label of the entity and the property that connects it to Wolverine, Michigan, in English."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5Label ?var6 WHERE { BIND ( <http://www.wikidata.org/entity/Q2345681> AS ?var1 ). ?var4 ?var2 ?var1 . ?var7 ?var8 ?var2 . ?var7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_8233", "question": "Is there a Wikidata entry for the ice hockey player with Eurohockey.com ID 508188?", "sparql": "ASK WHERE { ?player wdt:P2601 \"508188\" . }", "paraphrases": ["Does the ice hockey player Adam Pelech have a record in Wikidata with Eurohockey.com player ID 508188?", "Confirm if Eurohockey.com player ID 508188 corresponds to a known ice hockey player in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2601> \"508188\". }"}}
{"id": "test_8234", "question": "Is there a hockey player with Eurohockey.com ID 508860?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?player wdt:P2601 \"508860\" .\n}", "paraphrases": ["Does the Wikidata database contain an ice hockey player identified by the Eurohockey.com player ID 508860?", "Check if the Eurohockey.com player ID 508860 is assigned to any ice hockey player in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2601> \"508860\". }"}}
{"id": "test_8235", "question": "Is Mark Bomersback listed in Wikidata with Eurohockey.com player ID 491409?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?player wdt:P2601 \"491409\" .\n}", "paraphrases": ["Does Wikidata contain an entry for the ice hockey player with Eurohockey.com ID 491409?", "Confirm if the Eurohockey.com player ID 491409 corresponds to a known ice hockey player in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2601> \"491409\". }"}}
{"id": "test_8236", "question": "Is there a Wikidata entry for the ice hockey player with Eurohockey.com ID 104833?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?player wdt:P2601 \"104833\" .\n}", "paraphrases": ["Does the ice hockey player Jesse Ryh\u00e4nen have a record in Wikidata with the Eurohockey.com player ID 104833?", "Check if the Eurohockey.com player ID 104833 is linked to any ice hockey player in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2601> \"104833\". }"}}
{"id": "test_8237", "question": "Is there a Wikidata entry for the ice hockey player with Eurohockey.com ID 3967?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?player wdt:P2601 \"3967\" .\n}", "paraphrases": ["Does the ice hockey player Matti H\u00f6yl\u00e4 have a Wikidata page with the Eurohockey.com player ID 3967?", "Confirm if Eurohockey.com player ID 3967 corresponds to a known ice hockey player in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2601> \"3967\". }"}}
{"id": "test_8238", "question": "What are the subsidiaries of The Walt Disney Company that have headquarters with known coordinates, and what are their images and locations?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?image ?subsidiary ?subsidiaryLabel ?coordinates ?propertyLabel WHERE {\n  wd:Q7414 wdt:P355 ?subsidiary .\n  OPTIONAL {\n    ?subsidiary wdt:P18 ?image .\n  }\n  ?subsidiary ?locationProp ?location .\n  ?location wdt:P625 ?coordinates .\n  FILTER(?locationProp IN(wdt:P159 , wdt:P276))\n  wd:P355 rdfs:label ?propertyLabel .\n  ?subsidiary rdfs:label ?subsidiaryLabel .\n  FILTER(LANG(?propertyLabel) = \"en\" && LANG(?subsidiaryLabel) = \"en\")\n}", "paraphrases": ["Show me the image, name, and geographic coordinates of each subsidiary of The Walt Disney Company, along with the property used to link them.", "Which organizations are subsidiaries of Disney, where are they headquartered, and do they have images?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ( ?var4Label AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q48628346> ?var6 ?var2 . ?var2 (( <http://www.wikidata.org/prop/P159> / <http://www.wikidata.org/prop/qualifier/P625> )|( <http://www.wikidata.org/prop/direct/P276> */ <http://www.wikidata.org/prop/direct/P625> )) ?var3 . ?var7 <http://wikiba.se/ontology#directClaim> ?var6 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,nl,no,ru,sv,zh\". } ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . }"}}
{"id": "test_8239", "question": "Image of the person with SNAC ARK ID w6hr1v0s", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6hr1v0s\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the Wikimedia Commons image associated with the SNAC ARK ID w6hr1v0s?", "Show me the picture of the individual identified by the SNAC ARK ID w6hr1v0s."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6hr1v0s\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8240", "question": "List 1 million human beings from Wikidata starting after the first million.", "sparql": "SELECT ?human WHERE { ?human wdt:P31 wd:Q5 } LIMIT 1000000 OFFSET 1000000", "paraphrases": ["What are 1 million examples of humans in Wikidata, skipping the first million entries?", "Retrieve the next million human entities in Wikidata after the first million, for sampling purposes."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . } LIMIT 1000000 OFFSET 1000000"}}
{"id": "test_8241", "question": "Image of the person with SNAC ARK ID w6tq72x3", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6tq72x3\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w6tq72x3?", "Show me the Wikimedia Commons image for Jean-Baptiste Colbert, marquis de Seignelay, identified by SNAC ARK ID w6tq72x3."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6tq72x3\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8242", "question": "What is the English label and description of the person with Great Russian Encyclopedia Online ID 2195007?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P2924 \"2195007\" .\n  OPTIONAL {\n    ?item rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["Who is the individual identified by the Great Russian Encyclopedia Online ID 2195007, and what is their English description?", "Please provide the English name and description of the person whose Great Russian Encyclopedia Online ID is 2195007."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"2195007\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8243", "question": "What are the key facts about Blankes Flat, such as its location, country, and area?", "sparql": "SELECT ?property ?propertyLabel ?value ?valueLabel WHERE { wd:Q881618 ?property ?value . FILTER(STRSTARTS(STR(?property), \"http://www.wikidata.org/prop/direct/\")) . FILTER(?property != schema:description) OPTIONAL { ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") } OPTIONAL { ?value rdfs:label ?valueLabel . FILTER(LANG(?valueLabel) = \"en\") } } ORDER BY ?property", "paraphrases": ["Can you list the properties and their values for the nature reserve Blankes Flat in Germany?", "Show me the direct attributes of Blankes Flat, including its country, coordinates, and IUCN category."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label WHERE { ?var3 <http://wikiba.se/ontology#claim> ?var5 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#qualifier> ?var7 . ?var3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var4 <http://wikiba.se/ontology#claim> ?var8 . ?var4 <http://wikiba.se/ontology#qualifier> ?var9 . ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var1 ?var5 ?var10 . ?var10 ?var6 ?var2 . ?var10 ?var9 <http://www.wikidata.org/entity/Q881618> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8244", "question": "Images of the person with SNAC ARK ID w6qc03bv", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?person wdt:P3430 \"w6qc03bv\" .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n}", "paraphrases": ["What images are associated with Marion Mahony Griffin in Wikidata?", "Show me all Wikimedia Commons images linked to the individual identified by SNAC ARK ID w6qc03bv."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6qc03bv\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8245", "question": "What are some types of power stations?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?subclass ?subclassLabel WHERE {\n  ?subclass wdt:P279 wd:Q159719 .\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER ( LANG( ?subclassLabel ) = \"en\" )\n}", "paraphrases": ["What are the subclasses of power station in Wikidata?", "List the English-labeled subclasses of power station, such as coal-fired power station or wind-hydrogen system."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q159719> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_8246", "question": "List episodes of the TV series \"2 Broke Girls\" with their episode numbers, IMDb IDs, and adjacent episodes.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT DISTINCT ?episode ?episodeLabel ?episodeNumber ?imdbId ?previousEpisode ?nextEpisode WHERE {\n  ?episode wdt:P31 wd:Q21191270 ; wdt:P179 wd:Q32488 .\n  ?episode p:P179 ?stmt .\n  ?stmt pq:P1545 ?episodeNumber .\n  OPTIONAL {\n    ?episode wdt:P345 ?imdbId .\n  }\n  OPTIONAL {\n    ?episode wdt:P155 ?previousEpisode .\n  }\n  OPTIONAL {\n    ?episode wdt:P156 ?nextEpisode .\n  }\n  OPTIONAL {\n    ?episode rdfs:label ?episodeLabel .\n    FILTER ( LANG( ?episodeLabel ) = \"en\" )\n  }\n}\nORDER BY ASC ( ?episode ) ASC ( xsd:integer ( ?episodeNumber ) )", "paraphrases": ["What are the episodes of \"2 Broke Girls\", their order in the series, and which episodes come before and after them?", "Show me the episodes of \"2 Broke Girls\" sorted by season order, including their IMDb IDs and the episodes that precede and follow each one."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q21191270> . ?var3 <http://www.wikidata.org/prop/direct/P179> <http://www.wikidata.org/entity/Q32488> . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P361> ?var2 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1191> ?var7 . } ?var3 <http://www.wikidata.org/prop/direct/P179> ?var1 . ?var3 <http://www.wikidata.org/prop/P179> ?var10 . ?var10 <http://www.wikidata.org/prop/qualifier/P1545> ?var4 . ?var3 <http://www.wikidata.org/prop/P361> ?var11 . OPTIONAL { ?var11 <http://www.wikidata.org/prop/qualifier/P1545> ?var5 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P345> ?var6 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P155> ?var8 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P156> ?var9 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it\". } } ORDER BY ASC( ?var1 )ASC( <http://www.w3.org/2001/XMLSchema#integer> ( ?var4 ) )"}}
{"id": "test_8247", "question": "What are all the parent classes (superclasses) of an art print in Wikidata?", "sparql": "SELECT ?superclass ?superclassLabel WHERE { wd:Q11060274 wdt:P279* ?superclass . ?superclass rdfs:label ?superclassLabel . FILTER(LANG(?superclassLabel) = \"en\") }", "paraphrases": ["Can you list all the categories that an art print belongs to, including broader categories like artwork and physical objects?", "Show me the full hierarchy of classes that an art print is a subclass of, up to the most general categories."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q11060274> <http://www.wikidata.org/prop/direct/P31> * ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8248", "question": "Does the German National Library ID 1066352747 exist in Wikidata?", "sparql": "ASK WHERE { ?person wdt:P227 \"1066352747\" . }", "paraphrases": ["Is there a person in Wikidata with the GND ID 1066352747?", "Check if the GND identifier 1066352747 is linked to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"1066352747\". }"}}
{"id": "test_8249", "question": "What entities are linked to Dinas Emrys and have other associated properties?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?entity ?entityLabel ?prop1 ?prop1Label ?prop2 ?prop2Label ?value ?valueLabel WHERE {\n  ?entity ?prop1 wd:Q354820 .\n  ?entity ?prop2 ?value .\n  FILTER(?prop1 != ?prop2)\n  FILTER(STRSTARTS(STR(?entity) , \"http://www.wikidata.org/entity/Q\"))\n  FILTER(STRSTARTS(STR(?value) , \"http://www.wikidata.org/entity/Q\") || isLiteral(?value))\n  FILTER(! STRSTARTS(STR(?prop1) , \"http://www.wikidata.org/prop/statement/\"))\n  FILTER(! STRSTARTS(STR(?prop1) , \"http://www.wikidata.org/prop/qualifier/\"))\n  FILTER(! STRSTARTS(STR(?prop2) , \"http://www.wikidata.org/prop/statement/\"))\n  FILTER(! STRSTARTS(STR(?prop2) , \"http://www.wikidata.org/prop/qualifier/\"))\n  OPTIONAL {\n    ?entity rdfs:label ?entityLabel .\n    FILTER(LANG(?entityLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?value rdfs:label ?valueLabel .\n    FILTER(LANG(?valueLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?prop1 wdt:P1687 ?prop1Label .\n    FILTER(LANG(?prop1Label) = \"en\")\n  }\n  OPTIONAL {\n    ?prop2 wdt:P1687 ?prop2Label .\n    FILTER(LANG(?prop2Label) = \"en\")\n  }\n}", "paraphrases": ["Which items have Dinas Emrys as a value in one of their statements, and what other information do they contain?", "Show me all items connected to Dinas Emrys and their other properties, along with labels in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label WHERE { ?var3 <http://wikiba.se/ontology#claim> ?var5 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#qualifier> ?var7 . ?var3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var4 <http://wikiba.se/ontology#claim> ?var8 . ?var4 <http://wikiba.se/ontology#qualifier> ?var9 . ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var1 ?var5 ?var10 . ?var10 ?var6 ?var2 . ?var10 ?var9 <http://www.wikidata.org/entity/Q354820> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8250", "question": "Is the X Window System classified as software?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  wd:Q178481(wdt:P31 / wdt:P279 *) wd:Q7397 .\n}", "paraphrases": ["Is the X Window System an instance of a subclass of software?", "Confirm whether the X Window System falls under the category of software through its type or inheritance."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q178481> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_8251", "question": "List all cities in the world with their country, population, and official name, sorted by country.", "sparql": "SELECT ?country ?city ?population ?officialName WHERE { ?city (wdt:P31/wdt:P279*) wd:Q515 . ?city wdt:P17 ?country . ?city wdt:P1082 ?population . OPTIONAL { ?city wdt:P1448 ?officialName . } } ORDER BY ASC(?country)", "paraphrases": ["What are the names, populations, and official names of all cities globally, grouped by their countries?", "Can you provide a list of every city (including subclasses like towns) with its country, population, and official name in the local language, ordered alphabetically by country?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var2 <http://www.wikidata.org/prop/direct/P17> ?var1 . ?var2 <http://www.wikidata.org/prop/direct/P1082> ?var3 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P1448> ?var4 . } } ORDER BY ASC( ?var1 )"}}
{"id": "test_8252", "question": "Image of Jean Vigo with SNAC ARK ID w605821v", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w605821v\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w605821v?", "Show me the Wikimedia Commons image for the person identified by the SNAC ARK ID w605821v."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w605821v\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8253", "question": "What is the Twitter/X username for Chemnitz University of Technology?", "sparql": "SELECT ?item ?twitterUsername WHERE { ?item wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"TUChemnitz\" } }", "paraphrases": ["Which Wikidata entity has the Twitter handle @TUChemnitz?", "Can you find the entity in Wikidata that is linked to the Twitter username TUChemnitz?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"UBChemnitz\" ) } }"}}
{"id": "test_8254", "question": "Humans with autores.uy ID and MoMA artist ID and their birth dates", "sparql": "SELECT ?person ?personLabel ?birthDate WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P2558 [] . ?person wdt:P2174 [] . ?person wdt:P569 ?birthDate . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["Which Uruguayan artists listed in autores.uy also have a Museum of Modern Art artist ID, and when were they born?", "List the names and birth dates of all humans who are identified in both the autores.uy database and the Museum of Modern Art\u2019s artist registry."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P2558> [] . ?var1 <http://www.wikidata.org/prop/direct/P2174> [] . ?var1 <http://www.wikidata.org/prop/direct/P2174> [] . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } }"}}
{"id": "test_8255", "question": "Natural products derived from animals", "sparql": "SELECT ?product ?taxon WHERE { ?product wdt:P1582 ?taxon . ?taxon wdt:P171* wd:Q729 . } LIMIT 101", "paraphrases": ["What products are produced by animals or their subclasses?", "List all natural products that come from any animal, including specific species like bees or oysters."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P1056> <http://www.wikidata.org/entity/Q729> . ?var1 <http://www.wikidata.org/prop/P1056> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_8256", "question": "What is the image associated with the SNAC ARK ID w6sf3b7v?", "sparql": "SELECT ?image WHERE { ?person wdt:P3430 \"w6sf3b7v\" . OPTIONAL { ?person wdt:P18 ?image . } }", "paraphrases": ["Can you show me the Wikimedia Commons image for the person identified by the SNAC ARK ID w6sf3b7v?", "Which image is linked to the Social Networks and Archival Context (SNAC) identifier w6sf3b7v?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6sf3b7v\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8257", "question": "Book series with English labels", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?bookSeries ?bookSeriesLabel WHERE {\n  ?bookSeries wdt:P31 wd:Q277759 .\n  ?bookSeries rdfs:label ?bookSeriesLabel .\n  FILTER(LANG(?bookSeriesLabel) = \"en\")\n}\nLIMIT 21", "paraphrases": ["What are the first 21 book series in Wikidata and what are their English titles?", "Show me up to 21 book series and their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q277759> . } LIMIT 21 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8258", "question": "What is the Wikidata item for the lion species in French?", "sparql": "SELECT DISTINCT ?item WHERE { ?item rdfs:label \"lion\"@fr . ?item wdt:P31 wd:Q16521 . }", "paraphrases": ["Which animal in Wikidata is labeled \"lion\" in French and is a biological species?", "Find the entity representing the lion (Panthera leo) that has the French label \"lion\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Lion\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8259", "question": "What are the Wikipedia articles in different languages about the Nursing Outcomes Classification?", "sparql": "SELECT ?article ?language WHERE { ?article schema:about wd:Q2005404 ; schema:inLanguage ?language .}", "paraphrases": ["Languages of Wikipedia pages about Nursing Outcomes Classification (NOC)", "Show me all language versions of the Wikipedia page for the Nursing Outcomes Classification."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://schema.org/about> <http://www.wikidata.org/entity/Q2005404> ; <http://schema.org/inLanguage> ?var2 . }"}}
{"id": "test_8260", "question": "Spanish labels of people related to Vital Darbellay and their relationship type.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nSELECT DISTINCT ?person ?personLabel ?relationship ?relationshipLabel ?relatedPerson ?relatedPersonLabel WHERE {\n  BIND(wd:Q1340658 AS ?person)\n  ?relatedPerson ?relationship ?person .\n  ?propertyItem wikibase:directClaim ?relationship .\n  ?propertyItem rdf:type wikibase:Property .\n  ?propertyItem rdfs:label ?relationshipLabel .\n  ?relatedPerson rdfs:label ?relatedPersonLabel .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"es\")\n  FILTER(LANG(?relationshipLabel) = \"es\")\n  FILTER(LANG(?relatedPersonLabel) = \"es\")\n}\nLIMIT 100", "paraphrases": ["Who are the people related to Vital Darbellay in Spanish, and what is the Spanish term for their relationship?", "Show me, in Spanish, the names of people who have a familial relationship with Vital Darbellay and the term used for that relationship."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5Label ?var6 WHERE { BIND ( <http://www.wikidata.org/entity/Q1340658> AS ?var1 ). ?var4 ?var2 ?var1 . ?var7 ?var8 ?var2 . ?var7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var5Label ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"es\" ) ) ) . } LIMIT 100"}}
{"id": "test_8261", "question": "What are the occupations, political party, native language, and citizenship of Christoph M\u00f6rgeli in Spanish?", "sparql": "SELECT DISTINCT ?property ?value ?valueLabel WHERE { wd:Q117154 ?property ?value . FILTER (?property IN (wdt:P102, wdt:P103, wdt:P106, wdt:P27)) . ?value rdfs:label ?valueLabel . FILTER (LANG(?valueLabel) = \"es\") } LIMIT 100", "paraphrases": ["In Spanish, what entities describe Christoph M\u00f6rgeli\u2019s profession, nationality, and political affiliation?", "Show me the Spanish labels for the things that define Christoph M\u00f6rgeli, such as his job, party, and country."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5Label ?var6 WHERE { BIND ( <http://www.wikidata.org/entity/Q117154> AS ?var1 ). ?var4 ?var2 ?var1 . ?var7 ?var8 ?var2 . ?var7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var5Label ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"es\" ) ) ) . } LIMIT 100"}}
{"id": "test_8262", "question": "List all Nobel Prize in Literature winners with their award year and image.", "sparql": "SELECT DISTINCT ?laureate ?laureateLabel ?awardDate (YEAR(?awardDate) AS ?awardYear) ?image WHERE { ?laureate p:P166 ?statement . ?statement ps:P166 wd:Q37922 . ?statement pq:P585 ?awardDate . OPTIONAL { ?laureate wdt:P18 ?image . } ?laureate rdfs:label ?laureateLabel . FILTER(LANG(?laureateLabel) = \"en\") }", "paraphrases": ["Who have won the Nobel Prize in Literature, and in which year and with what image are they associated?", "Show me the names, award years, and photos of all recipients of the Nobel Prize in Literature."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ( YEAR ( ?var2 ) AS ?var3 ) ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/P166> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P166> <http://www.wikidata.org/entity/Q37922> . ?var5 <http://www.wikidata.org/prop/qualifier/P585> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . } }"}}
{"id": "test_8263", "question": "List all physical locations and their coordinates.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?location ?coordinates WHERE {\n  ?location ( wdt:P31 / wdt:P279 * ) wd:Q17334923 ; wdt:P625 ?coordinates .\n}", "paraphrases": ["What are the geographic coordinates of all places that are physical locations or subclasses of physical locations?", "Show me the names and GPS coordinates of every location on Earth that is classified as a physical location, including its subtypes like mountains, buildings, or mines."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q17334923> ; <http://www.wikidata.org/prop/direct/P625> ?var2 . }"}}
{"id": "test_8264", "question": "List Estonian counties by population, including their head of government and office, sorted from highest to lowest population.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?county ?countyLabel ?population ?office ?officeLabel ?head ?headLabel WHERE {\n  ?county(wdt:P31 / wdt:P279 *) wd:Q10864048 ; wdt:P17 wd:Q191 ; rdfs:label ?countyLabel .\n  FILTER(LANG(?countyLabel) = 'en')\n  FILTER(NOT EXISTS {\n    ?county wdt:P576 []\n  })\n  OPTIONAL {\n    ?county wdt:P1082 ?population\n  }\n  OPTIONAL {\n    ?county wdt:P1313 ?office .\n    ?office rdfs:label ?officeLabel .\n    FILTER(LANG(?officeLabel) = 'en')\n  }\n  OPTIONAL {\n    ?county wdt:P6 ?head .\n    ?head rdfs:label ?headLabel .\n    FILTER(LANG(?headLabel) = 'en')\n  }\n}\nORDER BY DESC(?population)", "paraphrases": ["What are the populations of Estonia\u2019s counties, and who are their heads of government and what offices do they hold?", "Show me all active administrative counties in Estonia, ordered by population descending, along with their head of government and the office they hold."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 ?var4Label ?var5 ?var5Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q10864048> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q191> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P576> [] . } ) ) . FILTER ( ( isBLANK ( ?var6 ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P6> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1313> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P194> ?var5 . } OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P576> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var2 )"}}
{"id": "test_8265", "question": "Logo images of entities with English labels", "sparql": "SELECT ?item ?itemLabel ?logoUrl WHERE { ?item wdt:P154 ?logoUrl . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } LIMIT 5", "paraphrases": ["Which entities have logo images, and what are their names and logo URLs in English?", "Show me up to five entities with their English labels and associated logo images from Wikimedia Commons."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/statement/P154> ?var2 . } LIMIT 5"}}
{"id": "test_8266", "question": "Who is Christian V\u00e9lot, a French-speaking human?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person WHERE {\n  ?person rdfs:label \"Christian V\u00e9lot\" @fr .\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["What is the Wikidata item for the French label 'Christian V\u00e9lot' who is a human?", "Find the Wikidata entity for the person named Christian V\u00e9lot in French who is a human."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Yvon VELOT\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8267", "question": "Does Andrew J. Sacks have a VIAF ID of 83559708?", "sparql": "ASK WHERE { ?item wdt:P214 \"83559708\" . }", "paraphrases": ["Is there a Wikidata item for the person with VIAF identifier 83559708?", "Confirm if the Virtual International Authority File ID 83559708 is assigned to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"83559708\". }"}}
{"id": "test_8268", "question": "What is the English label and description of the Great Russian Encyclopedia Online ID (old version) entry with ID 2137289?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P2924 \"2137289\" .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER ( LANG( ?itemLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["What is the English name and description of the mathematical concept identified as 2137289 in the Great Russian Encyclopedia Online (2014\u20132017)?", "Please provide the English label and description of the entity linked to the Great Russian Encyclopedia Online ID 2137289."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"2137289\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8269", "question": "Entities named after the company Q783794 and their naming context (language or specific name variant).", "sparql": "SELECT ?item ?statement (SAMPLE(?qualifierProperty) AS ?qualifier) WHERE { { SELECT DISTINCT ?item ?statement WHERE { ?statement ps:P138 wd:Q783794 . ?item p:P138 ?statement . } LIMIT 101 } OPTIONAL { ?statement ?qualifierProperty ?qualifierValue . FILTER(?qualifierProperty = pq:P407 || ?qualifierProperty = pq:P5168) } } GROUP BY ?item ?statement", "paraphrases": ["Which entities are named after the company Q783794, and what is the linguistic or contextual basis for their names?", "Show me the items named after the company Q783794 along with any qualifiers that explain how the naming applies, such as language or specific name usage."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P138> <http://www.wikidata.org/entity/Q783794> . ?var1 <http://www.wikidata.org/prop/P138> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_8270", "question": "Image of the person with SNAC ARK ID w6mg8kkx", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6mg8kkx\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Is there an image available for the individual with SNAC ARK ID w6mg8kkx?", "Show me the Wikimedia Commons image associated with the SNAC ARK ID w6mg8kkx."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6mg8kkx\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8271", "question": "What are the Wikidata entities associated with the Twitter handles \"leJDD\" and \"lobs\"?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"leJDD\" \"lobs\" } }", "paraphrases": ["Which organizations on Wikidata have the Twitter usernames \"leJDD\" or \"lobs\"?", "Show me the entities that use \"leJDD\" or \"lobs\" as their X (formerly Twitter) username."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"elovendra\" ) ( \"BGriveaux\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"Guy__Moux\" ) ( \"faizaz\" ) ( \"mariametig\" ) ( \"tyseria8\" ) ( \"GI581d\" ) ( \"string4\" ) ( \"leJDD\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"adia66\" ) ( \"lonaeva\" ) ( \"string8\" ) ( \"string9\" ) ( \"LObs\" ) ( \"string10\" ) ( \"_Pourquoi\" ) ( \"string11\" ) ( \"string12\" ) ( \"string13\" ) ( \"string14\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8272", "question": "List U.S. presidents by term number, their spouses, number of children, and images of both.", "sparql": "SELECT ?termNumber ?president ?presidentLabel ?spouse ?spouseLabel ?presidentImage ?spouseImage ?numberOfChildren WHERE { ?president wdt:P26 ?spouse ; wdt:P1971 ?numberOfChildren ; p:P39 ?statement . ?statement ps:P39 wd:Q11696 ; pq:P1545 ?termNumber . OPTIONAL { ?president wdt:P18 ?presidentImage . } OPTIONAL { ?spouse wdt:P18 ?spouseImage . } ?president rdfs:label ?presidentLabel . ?spouse rdfs:label ?spouseLabel . FILTER(LANG(?presidentLabel) = \"en\") FILTER(LANG(?spouseLabel) = \"en\") } ORDER BY ?termNumber", "paraphrases": ["Who are the spouses of U.S. presidents, how many children did each president have, and what are their images, ordered by presidential term?", "Show me a table of U.S. presidents with their term number, spouse's name, number of children, and photos of both the president and spouse, all in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var3 ?var4 ?var4Label ?var5 ?var6Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P26> ?var4 ; <http://www.wikidata.org/prop/direct/P1971> ?var6 ; <http://www.wikidata.org/prop/P39> ?var7 . ?var7 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q11696> ; <http://www.wikidata.org/prop/qualifier/P1545> ?var1 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var3 . ?var4 <http://www.wikidata.org/prop/direct/P18> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8273", "question": "Does the German National Library ID \"4534138-2\" exist in Wikidata?", "sparql": "ASK WHERE { ?item wdt:P227 \"4534138-2\" . }", "paraphrases": ["Is there a Wikidata item associated with the GND ID 4534138-2?", "Confirm whether the village Buchheim is identified in Wikidata by the GND ID 4534138-2."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"4534138-2\". }"}}
{"id": "test_8274", "question": "What is the administrative classification of a district in Indonesia?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?subclass WHERE {\n  wd:Q3700011 wdt:P279 ?subclass .\n  ?subclass rdfs:label ?label .\n  FILTER(LANG(?label) = 'en' || LANG(?label) = 'id')\n}", "paraphrases": ["What subclass does the district of Indonesia belong to in the administrative hierarchy?", "Show me the category that describes districts in Indonesia according to Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q3700011> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_8275", "question": "What properties are commonly used on classes in Wikidata?", "sparql": "SELECT ?property WHERE { ?class wdt:P1963 ?property . } LIMIT 100", "paraphrases": ["Which properties are typically applied to items that belong to a class (like human or city)?", "Can you list the properties that are associated with class types in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P1963> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_8276", "question": "What are the GTAA IDs and corresponding countries of citizenship for individuals in audiovisual archives?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?gtaaId ?country WHERE {\n  ?item wdt:P1741 ?gtaaId .\n  OPTIONAL {\n    ?item wdt:P27 ?country .\n  }\n}", "paraphrases": ["List the GTAA identifiers and their associated countries of citizenship for people in the NISV/EYE archives.", "Show me the GTAA IDs and the country entities (Q-codes) for people linked to audiovisual archives."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var3 <http://www.wikidata.org/prop/direct/P1741> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P27> ?var2 . } }"}}
{"id": "test_8277", "question": "Female children of U.S. presidents, their spouses, number of children, presidential term order, and start dates.", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT DISTINCT ?president ?presidentLabel ?spouse ?spouseLabel ?childrenCount ?presidentImage ?spouseImage ?termOrdinal ?termStart ?childLabel WHERE {\n  ?president wdt:P26 ?spouse ; wdt:P1971 ?childrenCount ; p:P39 ?positionStatement ; wdt:P40 ?child .\n  ?child wdt:P21 wd:Q6581072 .\n  ?positionStatement ps:P39 wd:Q11696 ; pq:P1545 ?termOrdinal ; pq:P580 ?termStart .\n  OPTIONAL {\n    ?president wdt:P18 ?presidentImage .\n  }\n  OPTIONAL {\n    ?spouse wdt:P18 ?spouseImage .\n  }\n  ?president rdfs:label ?presidentLabel .\n  ?spouse rdfs:label ?spouseLabel .\n  ?child rdfs:label ?childLabel .\n  FILTER ( LANG( ?presidentLabel ) = \"en\" ) FILTER ( LANG( ?spouseLabel ) = \"en\" ) FILTER ( LANG( ?childLabel ) = \"en\" )\n}\nORDER BY ASC ( ?termStart )\nLIMIT 10", "paraphrases": ["Which U.S. presidents have at least one daughter, and what are the details of their marriages, number of children, term numbers, and when they took office?", "List all U.S. presidents who have female children, including their spouses, how many children they had, their presidential term number, start date, and images of both the president and spouse."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 ?var5Label ?var6Label ?var7 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P26> ?var3 ; <http://www.wikidata.org/prop/direct/P1971> ?var5 ; <http://www.wikidata.org/prop/P39> ?var8 ; <http://www.wikidata.org/prop/direct/P40> ?var6 . ?var6 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var8 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q11696> ; <http://www.wikidata.org/prop/qualifier/P1545> ?var7 ; <http://www.wikidata.org/prop/qualifier/P580> ?var9 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . ?var3 <http://www.wikidata.org/prop/direct/P18> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var9 )"}}
{"id": "test_8278", "question": "French soldiers who died before 1939 with their M\u00e9moire des Hommes IDs and death dates.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?human(SAMPLE(?label) AS ?humanLabel)(SAMPLE(?id) AS ?memoireId)(SAMPLE(?deathDate) AS ?dateOfDeath) WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human wdt:P2071 ?id .\n  ?human wdt:P570 ?deathDate .\n  ?human rdfs:label ?label .\n  FILTER(YEAR(?deathDate) < 1939)\n}\nGROUP BY ?human", "paraphrases": ["Who were the French soldiers that died before 1939, and what were their M\u00e9moire des Hommes IDs and dates of death?", "List the names, M\u00e9moire des Hommes IDs, and death dates of French soldiers who died before 1939."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( SAMPLE ( ?var2 ) AS ?var2 )( SAMPLE ( ?var3 ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P2071> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . FILTER ( ( ( YEAR ( ?var3 ) < \"1939\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } } GROUP BY ?var1 ?var1Label"}}
{"id": "test_8279", "question": "Same-gender married couples on Wikidata", "sparql": "SELECT ?person ?spouse ?gender WHERE { ?person wdt:P21 ?gender . ?person wdt:P26 ?spouse . ?spouse wdt:P21 ?spouseGender . FILTER (?gender = ?spouseGender) } LIMIT 1000", "paraphrases": ["Who are the married couples where both partners have the same gender?", "List all married pairs where both individuals identify as the same gender."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P26> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P21> ?var4 . FILTER ( ( ( ?var3 = ?var4 ) ) ) . } LIMIT 1000"}}
{"id": "test_8280", "question": "Hungarian labels of properties and values for Elem\u00e9r Hankiss with images", "sparql": "SELECT DISTINCT ?propertyLabel ?value ?valueLabel ?image WHERE { wd:Q957435 ?prop ?value . BIND(IRI(REPLACE(STR(?prop), \"http://www.wikidata.org/prop/direct/\", \"http://www.wikidata.org/entity/\")) AS ?propertyItem) . ?propertyItem rdfs:label ?propertyLabel . ?value rdfs:label ?valueLabel . OPTIONAL { ?value wdt:P18 ?image . } FILTER (LANG(?propertyLabel) = \"hu\") FILTER (LANG(?valueLabel) = \"hu\") } ORDER BY ASC(?propertyLabel) ASC(?valueLabel) LIMIT 200", "paraphrases": ["What are the Hungarian labels of the properties and their values associated with Elem\u00e9r Hankiss, and which of those values have images?", "Show me all Hungarian-language property and value labels for Elem\u00e9r Hankiss, along with any associated images."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2Label ?var3 ?var4Label ?var5 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { BIND ( <http://www.wikidata.org/entity/Q957435> AS ?var3 ). BIND ( \"N/A\" AS ?var1 ). BIND ( \"identity\"@en AS ?var2Label ). } UNION { <http://www.wikidata.org/entity/Q957435> ?var1 ?var3 . ?var6 ?var7 ?var1 . ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var5 . } FILTER ( ( ( LANG ( ?var4Label ) = \"hu\" ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = \"hu\" ) ) ) . } ORDER BY ASC( ?var1 )ASC( ?var3 ) LIMIT 200"}}
{"id": "test_8281", "question": "List English titles of books and stories in the horror fiction genre.", "sparql": "SELECT ?work ?workTitle WHERE { ?work wdt:P136 wd:Q16575965 . ?work wdt:P1476 ?workTitle . FILTER(LANG(?workTitle) = \"en\") } LIMIT 1000", "paraphrases": ["What are the English titles of creative works that belong to the horror fiction genre?", "Show me the English titles of horror fiction works from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } ?var1 <http://www.wikidata.org/prop/direct/P136> <http://www.wikidata.org/entity/Q16575965> . } LIMIT 1000"}}
{"id": "test_8282", "question": "Streets with postal codes in English", "sparql": "SELECT DISTINCT ?street ?streetLabel ?postalCode WHERE { ?street wdt:P281 ?postalCode . ?street rdfs:label ?streetLabel . FILTER (LANG(?streetLabel) = \"en\") . ?street wdt:P31 wd:Q79007 } LIMIT 10", "paraphrases": ["What are the English names and postal codes of streets in Wikidata?", "List streets along with their English labels and postal codes."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P669> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P281> ?var2 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } LIMIT 10"}}
{"id": "test_8283", "question": "What is the Wikidata item for the VIAF ID 188258370?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P214 \"188258370\" .\n}\nLIMIT 1", "paraphrases": ["Which entity in Wikidata has the Virtual International Authority File identifier 188258370?", "Can you find the item in Wikidata that is linked to the VIAF cluster ID 188258370?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"188258370\". } LIMIT 1"}}
{"id": "test_8284", "question": "Italian businesses and their stock exchanges", "sparql": "SELECT ?business ?businessLabel ?stockExchange ?stockExchangeLabel WHERE { ?business wdt:P31 wd:Q4830453 . ?business wdt:P17 wd:Q38 . OPTIONAL { ?business wdt:P414 ?stockExchange . } OPTIONAL { ?business rdfs:label ?businessLabel . FILTER(LANG(?businessLabel) = \"en\") } OPTIONAL { ?stockExchange rdfs:label ?stockExchangeLabel . FILTER(LANG(?stockExchangeLabel) = \"en\") } } LIMIT 50", "paraphrases": ["Which businesses based in Italy are listed on a stock exchange, and which exchanges are they listed on?", "List Italian companies and the stock exchanges they are traded on, if any."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4830453> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q38> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P414> ?var2 . } } LIMIT 50"}}
{"id": "test_8285", "question": "Cities in Austria with population over 1 million and their coordinates", "sparql": "SELECT DISTINCT ?city ?cityLabel ?population ?coordinates WHERE { ?city (wdt:P31/wdt:P279*) wd:Q515 . ?city wdt:P1082 ?population . ?city wdt:P17 wd:Q40 . ?city wdt:P625 ?coordinates . ?city rdfs:label ?cityLabel . FILTER ( ?population > 1000000 ) FILTER (LANG(?cityLabel) = \"en\") }", "paraphrases": ["Which cities in Austria have more than one million residents, and where are they located?", "Show me the names and geographic coordinates of Austrian cities with a population exceeding one million."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 WHERE { { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . FILTER ( ( ( ?var2 > \"1000000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q40> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8286", "question": "Humans with the surname Trinquet", "sparql": "SELECT DISTINCT ?human WHERE { ?human wdt:P734 wd:Q41710541 . ?human wdt:P31 wd:Q5 . }", "paraphrases": ["Who are the people with the last name Trinquet?", "List all humans whose family name is Trinquet."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Trinquet\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8287", "question": "What are the populations of all countries in the world?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?country ?population WHERE {\n  ?country wdt:P31 wd:Q6256 .\n  OPTIONAL {\n    ?country wdt:P1082 ?population .\n  }\n}", "paraphrases": ["List countries and their populations, including those without population data.", "Show me a list of all countries, along with their population figures \u2014 if a country doesn't have a recorded population, just leave that field empty."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var2 . } }"}}
{"id": "test_8288", "question": "French-labeled humans with 'Bouvier' in their name", "sparql": "SELECT DISTINCT ?person ?label WHERE { ?person rdfs:label ?label . FILTER(LANG(?label) = 'fr') . FILTER(CONTAINS(LCASE(?label), 'bouvier')) . ?person wdt:P31 wd:Q5 . } ORDER BY ?label", "paraphrases": ["Who are the people with the surname Bouvier who have French-language labels on Wikidata?", "List all humans whose French labels contain the word 'Bouvier'."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"de bouvier\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8289", "question": "What category does the .338 Norma Magnum cartridge belong to?", "sparql": "SELECT DISTINCT ?subclass WHERE { wd:Q4545282 wdt:P279 ?subclass .}", "paraphrases": ["What is the parent class of the .338 Norma Magnum rifle cartridge?", "What type of cartridge is the .338 Norma Magnum classified as?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q4545282> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_8290", "question": "Which countries were members of the League of Nations?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?memberState ?memberStateLabel WHERE {\n  ?memberState wdt:P463 wd:Q38130 .\n  ?memberState rdfs:label ?memberStateLabel .\n  FILTER ( LANG( ?memberStateLabel ) = \"en\" )\n}\nORDER BY ?memberStateLabel\nLIMIT 100", "paraphrases": ["What were the member states of the League of Nations?", "List the English names of all countries that were members of the League of Nations."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q38130> . } LIMIT 10000"}}
{"id": "test_8291", "question": "What is the English label and description of the entry in the Great Russian Encyclopedia Online (old version) with ID 2091519?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?desc WHERE {\n  ?item wdt:P2924 \"2091519\" .\n  OPTIONAL {\n    ?item schema:description ?desc .\n    FILTER ( LANG( ?desc ) = \"en\" )\n  }\n  .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["Can you find the English name and definition of the musical ensemble listed as ID 2091519 in the Great Russian Encyclopedia?", "Which entity in the Great Russian Encyclopedia Online (old version) has the ID 2091519, and what is its English description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"2091601\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8292", "question": "What works are about Africa, and what qualifiers are associated with their \"main subject\" statements?", "sparql": "SELECT ?work ?statement (SAMPLE(?qualifier) AS ?qualifierProperty)\nWHERE {\n  {\n    SELECT DISTINCT ?work ?statement WHERE {\n      ?statement ps:P921 wd:Q15 .\n      ?work p:P921 ?statement .\n    }\n    LIMIT 101\n  }\n  OPTIONAL {\n    ?statement ?qualifier ?qualifierValue .\n    ?qualifier wikibase:qualifier p:P921 .\n  }\n}\nGROUP BY ?work ?statement", "paraphrases": ["List up to 101 works that have Africa as their main subject, along with any additional details (qualifiers) provided on those statements.", "Which publications or works focus on Africa, and do they include any qualifiers like date or source on their main subject claims?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P921> <http://www.wikidata.org/entity/Q15> . ?var1 <http://www.wikidata.org/prop/P921> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_8293", "question": "Academic fields studying Africa and their qualifiers", "sparql": "SELECT ?academicField ?statement (SAMPLE(?qualifierProperty) AS ?qualifier) WHERE { ?statement ps:P2578 wd:Q15 . ?academicField p:P2578 ?statement . OPTIONAL { ?statement ?qualifierProperty ?value . ?qualifierProperty wikibase:qualifier true . } } GROUP BY ?academicField ?statement", "paraphrases": ["What academic disciplines study Africa, and do their statements include any qualifiers such as time periods or sources?", "List the academic fields that focus on Africa and indicate if any additional information (like start dates or references) is attached to those academic relationships."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P2578> <http://www.wikidata.org/entity/Q15> . ?var1 <http://www.wikidata.org/prop/P2578> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_8294", "question": "What properties are used to associate entities with North America, excluding \"instance of\"?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?property WHERE {\n  ?item ?statementProperty wd:Q49 .\n  ?property wikibase:statementProperty ?statementProperty .\n  FILTER ( ?property != wd:P31 )\n}", "paraphrases": ["Which properties, besides \"instance of\", link items to North America in Wikidata?", "List all properties (except P31) that connect entities to North America."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 ?var3 <http://www.wikidata.org/entity/Q49> . ?var1 <http://wikiba.se/ontology#statementProperty> ?var3 . FILTER ( ( ( ?var1 != <http://www.wikidata.org/entity/P31> ) ) ) . }"}}
{"id": "test_8295", "question": "Which Wikidata items have the Twitter usernames \"CityOfBoston\", \"melroserugby\", or \"deventergem\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"CityOfBoston\" \"melroserugby\" \"deventergem\"\n  }\n}", "paraphrases": ["What entities on Wikidata are associated with the Twitter accounts @CityOfBoston, @melroserugby, and @deventergem?", "Show me the Wikidata items for the Twitter accounts CityOfBoston, melroserugby, and deventergem."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"___GC1\" ) ( \"string1\" ) ( \"Jyel\" ) } }"}}
{"id": "test_8296", "question": "Humans with the surname Domenech or Dom\u00e8nech", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?human WHERE {\n  VALUES ?human {\n    wd:Q192648 wd:Q317876 wd:Q18222883 wd:Q517106\n  }\n  ?human wdt:P31 wd:Q5\n}", "paraphrases": ["Who are the notable people with the surname Domenech in French-speaking contexts?", "List the French-speaking humans whose last name is Domenech or a variant like Dom\u00e8nech."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"domenech\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8297", "question": "What Wikimedia categories are associated with Cyprus as their main topic, and do they have any qualifiers?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?category ?statement(SAMPLE(?qualifierProperty) AS ?qualifier) WHERE {\n  ?category p:P301 ?statement .\n  ?statement ps:P301 wd:Q229 .\n  OPTIONAL {\n    ?statement ?qualifierProperty ?value .\n    ?qualifierProperty wikibase:qualifier true .\n  }\n}\nGROUP BY ?category ?statement", "paraphrases": ["Show me the categories on Wikipedia that have Cyprus as their main subject, along with any additional metadata (qualifiers) attached to those links.", "Are there any qualifiers (like time periods or sources) attached to the category-topic links for Cyprus in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P301> <http://www.wikidata.org/entity/Q229> . ?var1 <http://www.wikidata.org/prop/P301> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_8298", "question": "Journeys to Egypt with their end dates", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?item ?statement(SAMPLE(?qualifier) AS ?qualifier_property) WHERE {\n  ?item p:P1444 ?statement .\n  ?statement ps:P1444 wd:Q79 .\n  OPTIONAL {\n    ?statement pq:P585 ?value .\n    BIND(pq:P585 AS ?qualifier)\n  }\n}\nGROUP BY ?item ?statement\nLIMIT 101", "paraphrases": ["Which events or people had Egypt as their destination, and when did they arrive?", "List all journeys that ended in Egypt, including the time they occurred, if known."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P1444> <http://www.wikidata.org/entity/Q79> . ?var1 <http://www.wikidata.org/prop/P1444> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_8299", "question": "Wikimedia portal with Jordan as main topic and its qualifiers", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?portal ?statement ?qualifierProperty WHERE {\n  ?statement ps:P1204 wd:Q810 .\n  ?portal p:P1204 ?statement .\n  OPTIONAL {\n    ?statement ?qualifierProperty ?value .\n    ?qualifierProperty wikibase:qualifier wd:P1204 .\n  }\n}", "paraphrases": ["Which Wikimedia portal has Jordan as its main topic, and what qualifiers are used on that statement?", "Show me the Wikimedia portal that has Jordan as its main topic, along with any qualifiers attached to the statement."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P1204> <http://www.wikidata.org/entity/Q810> . ?var1 <http://www.wikidata.org/prop/P1204> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_8300", "question": "Who are the people buried in Qatar, and what additional details are recorded about their burial?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?statement(SAMPLE(?qualifierProperty) AS ?qualifier) WHERE {\n  ?statement ps:P119 wd:Q846 .\n  ?person p:P119 ?statement .\n  OPTIONAL {\n    ?statement ?qualifierProperty ?qualifierValue .\n    ?qualifierProperty wikibase:qualifier [] .\n  }\n}\nGROUP BY ?person ?statement", "paraphrases": ["People buried in Qatar with their burial statement qualifiers", "List the individuals buried in Qatar and show any qualifiers associated with their burial records, such as date or type of burial."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P119> <http://www.wikidata.org/entity/Q846> . ?var1 <http://www.wikidata.org/prop/P119> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_8301", "question": "Works with narrative set in Yemen", "sparql": "SELECT ?work ?statement WHERE { ?statement ps:P840 wd:Q805 . ?work p:P840 ?statement . } LIMIT 101", "paraphrases": ["Which works have their story set in Yemen?", "List all creative works (e.g., books, films) that are set in Yemen."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P840> <http://www.wikidata.org/entity/Q805> . ?var1 <http://www.wikidata.org/prop/P840> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_8302", "question": "Does Mark Davies have a Transfermarkt player ID of 36917?", "sparql": "ASK WHERE { ?player wdt:P2446 \"36917\" . }", "paraphrases": ["Is there a football player in Wikidata with the Transfermarkt ID 36917?", "Confirm if the Transfermarkt ID 36917 corresponds to a known football player in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2446> \"36917\". }"}}
{"id": "test_8303", "question": "Does the VIAF ID 165204956 exist in Wikidata?", "sparql": "ASK WHERE { ?item wdt:P214 \"165204956\" . }", "paraphrases": ["Is there a Wikidata item with the VIAF identifier 165204956?", "Check if the Virtual International Authority File ID 165204956 is linked to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"165204956\". }"}}
{"id": "test_8304", "question": "What Spanish-labeled entities are related to Sabretooth and by which Spanish-labeled properties?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?character ?characterLabel ?property ?propertyLabel ?relatedEntity ?relatedEntityLabel WHERE {\n  BIND( wd:Q431862 AS ?character ) .\n  ?relatedEntity ?property ?character .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?propertyLabel .\n  ?relatedEntity rdfs:label ?relatedEntityLabel .\n  ?character rdfs:label ?characterLabel .\n  FILTER ( LANG( ?characterLabel ) = \"es\" ) .\n  FILTER ( LANG( ?propertyLabel ) = \"es\" ) .\n  FILTER ( LANG( ?relatedEntityLabel ) = \"es\" ) .\n}\nLIMIT 100", "paraphrases": ["In Spanish, which characters are connected to Sabretooth, and what are the relationships between them?", "Show me all entities linked to Sabretooth in Spanish, along with the Spanish names of the relationships connecting them."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5Label ?var6 WHERE { BIND ( <http://www.wikidata.org/entity/Q431862> AS ?var1 ). ?var4 ?var2 ?var1 . ?var7 ?var8 ?var2 . ?var7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var5Label ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"es\" ) ) ) . } LIMIT 100"}}
{"id": "test_8305", "question": "What entities on Wikidata have Twitter/X accounts?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . } ORDER BY ?username LIMIT 20", "paraphrases": ["Can you list some organizations or people who have Twitter/X usernames, sorted alphabetically by username?", "Show me the first 20 Wikidata items that are linked to a Twitter/X account."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"lemondefr\" ) ( \"string2\" ) ( \"darkoneko\" ) ( \"pyg\" ) ( \"framasoft\" ) ( \"GforGilgo\" ) ( \"string3\" ) ( \"ohmymagfr\" ) ( \"string4\" ) ( \"string5\" ) ( \"Nordengail\" ) ( \"string6\" ) ( \"string7\" ) ( \"Sifaoui\" ) ( \"Auregann\" ) ( \"string8\" ) ( \"string9\" ) ( \"funnel_io\" ) ( \"string10\" ) ( \"string11\" ) ( \"flmwsh\" ) ( \"string12\" ) ( \"string13\" ) ( \"garydagorn\" ) ( \"string14\" ) ( \"string15\" ) ( \"lakatinou\" ) ( \"string16\" ) ( \"BavantEva\" ) ( \"string17\" ) ( \"string18\" ) ( \"Agamitsudo\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8306", "question": "What are the occupations of African Americans, ranked by how many people have each job, from least to most common?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?occupation(COUNT(DISTINCT ?person) AS ?count) ?occupationLabel WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P172 wd:Q49085 .\n  ?person wdt:P106 ?occupation .\n  ?occupation rdfs:label ?occupationLabel .\n  FILTER(LANG(?occupationLabel) = \"en\")\n}\nGROUP BY ?occupation ?occupationLabel\nORDER BY ASC(?count)", "paraphrases": ["Which occupations are held by the fewest African Americans, and which are the most common, based on Wikidata?", "List all occupations of African Americans along with the number of people in each, sorted from the smallest to the largest group."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 )( STR ( SAMPLE ( ?var1Label ) ) AS ?var1Label ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var2 <http://www.wikidata.org/prop/direct/P172> <http://www.wikidata.org/entity/Q49085> . ?var2 <http://www.wikidata.org/prop/direct/P106> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } GROUP BY ?var1 ORDER BY ASC( ?var3 )"}}
{"id": "test_8307", "question": "Libraries in Egypt and Tunisia", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?library ?administrative_entity ?country WHERE {\n  ?library ( wdt:P31 / wdt:P279 * ) wd:Q7075 .\n  ?library wdt:P131 ?administrative_entity .\n  ?administrative_entity wdt:P17 ?country .\n  FILTER ( ?country IN ( wd:Q79 , wd:Q948 ) )\n}", "paraphrases": ["What libraries are located in Egypt or Tunisia, and in which administrative regions?", "Show me all libraries in Egypt and Tunisia along with the cities or governorates they are in."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7075> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P17> ?var3 . FILTER ( ( ( ?var3 = <http://www.wikidata.org/entity/Q948> ) || ( ?var3 = <http://www.wikidata.org/entity/Q79> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_8308", "question": "What types of organizations is Apple classified as?", "sparql": "SELECT ?type WHERE { wd:Q312 wdt:P31 ?type } LIMIT 100", "paraphrases": ["What classes does Apple belong to in Wikidata?", "Is Apple a business, a corporation, or a technology company?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } BIND ( <http://www.wikidata.org/entity/Q312> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } LIMIT 100"}}
{"id": "test_8309", "question": "What anime titles have been released on which platforms?", "sparql": "SELECT ?anime ?platform ?animeLabel ?platformLabel WHERE { ?anime wdt:P31/wdt:P279* wd:Q1107 . ?anime wdt:P400 ?platform . ?anime rdfs:label ?animeLabel . ?platform rdfs:label ?platformLabel . FILTER(LANG(?animeLabel) = \"en\") FILTER(LANG(?platformLabel) = \"en\") } LIMIT 10", "paraphrases": ["Can you list anime and the platforms they were released on, with English labels?", "Which video game platforms have hosted anime-based games, and what are their names in English?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P400> <http://www.wikidata.org/entity/Q1107> . ?var1 <http://www.wikidata.org/prop/P400> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_8310", "question": "What are the most common given names among alumni of the University of Sydney?", "sparql": "SELECT ?givenName ?givenNameLabel (COUNT(*) AS ?count) WHERE { ?alumnus wdt:P69 wd:Q487556 . ?alumnus wdt:P735 ?givenName . OPTIONAL { ?givenName rdfs:label ?givenNameLabel . FILTER(LANG(?givenNameLabel) = \"en\") } } GROUP BY ?givenName ?givenNameLabel ORDER BY DESC(?count) ASC(?givenNameLabel) LIMIT 5000", "paraphrases": ["Can you list the given names of University of Sydney graduates, sorted by how many people have each name, with the most frequent first?", "How many University of Sydney alumni share each first name, and which names are the most popular?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( COUNT (* ) AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P69> <http://www.wikidata.org/entity/Q487556> . ?var4 <http://www.wikidata.org/prop/direct/P735> ?var1 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } } GROUP BY ?var1 ?var2 ORDER BY DESC( ?var3 )ASC( ?var2 ) LIMIT 5000"}}
{"id": "test_8311", "question": "List of bicameral legislatures in English.", "sparql": "SELECT ?parliament ?parliamentLabel WHERE { ?parliament wdt:P31 wd:Q189445 . ?parliament rdfs:label ?parliamentLabel FILTER(LANG(?parliamentLabel) = 'en') } LIMIT 10", "paraphrases": ["Which national or state legislatures are bicameral?", "Can you show me the names of all bicameral parliaments and assemblies?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/statement/P31> <http://www.wikidata.org/entity/Q1117578> ; <http://www.wikidata.org/prop/qualifier/P642> ?var3 . ?var2 <http://www.wikidata.org/prop/direct/P31> ?var1 . } LIMIT 10"}}
{"id": "test_8312", "question": "Humans with the surname Poroli", "sparql": "SELECT DISTINCT ?human WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P734 wd:Q107030136 . }", "paraphrases": ["Who are the people with the last name Poroli?", "List all humans whose family name is Poroli."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"poroli\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8313", "question": "Music genres with a Commons category but no direct image on Wikimedia Commons.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?musicGenre WHERE {\n  ?musicGenre wdt:P31 wd:Q188451 .\n  ?musicGenre wdt:P373 ?category . MINUS {\n    ?musicGenre wdt:P18 ?image .\n  }\n}", "paraphrases": ["Which music genres are categorized on Wikimedia Commons but do not have an associated image in Wikidata?", "List all music genres that have a Commons category but lack a direct image property in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q188451> . ?var1 <http://www.wikidata.org/prop/direct/P373> ?var2 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } }"}}
{"id": "test_8314", "question": "Does Wikidata contain an entity with VIAF ID 20166749?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P214 \"20166749\" .\n}", "paraphrases": ["Is there a person in Wikidata identified by the VIAF number 20166749?", "Confirm if the Virtual International Authority File identifier 20166749 is linked to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"20166749\". }"}}
{"id": "test_8315", "question": "Does the German National Library ID \"3018213-X\" exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P227 \"3018213-X\" .\n}", "paraphrases": ["Is there a Wikidata item associated with the GND ID 3018213-X?", "Confirm whether the organization with GND ID 3018213-X is listed in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"3018213-X\". }"}}
{"id": "test_8316", "question": "What is the Italian Wikipedia page for the film with IMDb ID tt0024216?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?wikipediaPage WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P345 \"tt0024216\" .\n  ?wikipediaPage schema:about ?film ; schema:isPartOf <https://it.wikipedia.org/> .\n}", "paraphrases": ["Show me the Italian Wikipedia article about King Kong (1933).", "Which Italian Wikipedia page is about the movie identified by tt0024216 on IMDb?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var2 <http://www.wikidata.org/prop/direct/P345> ?var3 . ?var1 <http://schema.org/about> ?var2 ; <http://schema.org/isPartOf> <https://it.wikipedia.org/> . FILTER ( ( ( ?var3 = \"tt0024216\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,it\". } }"}}
{"id": "test_8317", "question": "What is the Wikidata item for Albert Einstein?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item WHERE {\n  ?item rdfs:label \"Albert Einstein\" @en .\n}", "paraphrases": ["Find the entity in Wikidata that has the label \"Albert Einstein\" in English.", "Which Wikidata entity is named \"Albert Einstein\"?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/entity/name> \"string1\". }"}}
{"id": "test_8318", "question": "Italian names of countries that have cities.", "sparql": "SELECT DISTINCT ?countryLabel WHERE { ?city wdt:P31 wd:Q515 . ?city wdt:P17 ?country . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"it\") }", "paraphrases": ["Which countries have cities, with their names in Italian?", "List the Italian-language labels of all countries that contain at least one city."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2 ( LANG ( ?var1Label ) AS ?var3 ) WHERE { ?var4 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var4 <http://www.wikidata.org/prop/direct/P17> ?var2 . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } FILTER ( ( ( LANG ( ?var1Label ) = \"it\" ) ) ) . }"}}
{"id": "test_8319", "question": "What are the generic architectural elements that are not associated with any physical location or collection?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?component ?componentLabel WHERE {\n  ?component wdt:P31 wd:Q19603939 .\n  FILTER(NOT EXISTS {\n    ?component wdt:P195 []\n  })\n  .\n  FILTER(NOT EXISTS {\n    ?component wdt:P217 []\n  })\n  .\n  FILTER(NOT EXISTS {\n    ?component wdt:P276 []\n  })\n  .\n  FILTER(NOT EXISTS {\n    ?component wdt:P131 []\n  })\n  .\n  FILTER(NOT EXISTS {\n    ?component wdt:P17 []\n  })\n  .\n  FILTER(NOT EXISTS {\n    ?component wdt:P625 []\n  })\n  .\n  FILTER(NOT EXISTS {\n    ?component wdt:P361 ?container .\n    ?container wdt:P276 | wdt:P131 | wdt:P17 | wdt:P625 []\n  })\n  .\n  OPTIONAL {\n    ?component rdfs:label ?componentLabel .\n    FILTER(LANG(?componentLabel) = \"en\")\n  }\n}", "paraphrases": ["Show me building components like aisle or crossbeam that are not part of any specific building or museum.", "Which building parts exist only as conceptual types and are not instantiated in any real-world location or collection?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19603939> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P195> [] . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P217> [] . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P276> ?var2 . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P625> [] . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P361> ?var3 . ?var3 ( <http://www.wikidata.org/prop/direct/P276> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P625> ) [] . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_8320", "question": "What movie has the IMDb ID tt0218197?", "sparql": "SELECT ?movie WHERE { ?movie wdt:P345 \"tt0218197\" . }", "paraphrases": ["Which film on Wikidata is identified by the IMDb identifier tt0218197?", "Find the Wikidata entity for the movie with IMDb ID tt0218197."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0218197\". }"}}
{"id": "test_8321", "question": "What are the places associated with G\u00fcnter Burghardt (e.g., places of birth, employers, educational institutions), their geographic coordinates, and any available images?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?image ?obj ?coord ?propLabel WHERE {\n  wd:Q3124590 ?prop ?obj .\n  BIND( IRI( REPLACE( STR( ?prop ) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\" ) ) AS ?propItem ) .\n  ?propItem rdfs:label ?propLabel .\n  FILTER ( LANG( ?propLabel ) = \"en\" ) .\n  OPTIONAL {\n    ?obj wdt:P18 ?image\n  }\n  .\n  ?obj wdt:P625 ?coord .\n}", "paraphrases": ["Show me the organizations and locations linked to G\u00fcnter Burghardt, including their coordinates and images, along with the type of relationship (like \"employer\" or \"place of birth\").", "List all entities connected to G\u00fcnter Burghardt via direct properties, their coordinates, images (if any), and the English labels of those properties."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ( ?var4Label AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q3124590> ?var6 ?var2 . ?var2 (( <http://www.wikidata.org/prop/P159> / <http://www.wikidata.org/prop/qualifier/P625> )|( <http://www.wikidata.org/prop/direct/P276> */ <http://www.wikidata.org/prop/direct/P625> )) ?var3 . ?var7 <http://wikiba.se/ontology#directClaim> ?var6 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,nl,no,ru,sv,zh\". } ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . }"}}
{"id": "test_8322", "question": "Scientists and their birthplaces, death places, employers, alma maters, and sources describing them.", "sparql": "SELECT ?person ?personLabel ?birthPlace ?birthPlaceLabel ?deathPlace ?deathPlaceLabel ?employer ?employerLabel ?almaMater ?almaMaterLabel ?describedBy ?describedByLabel WHERE {  ?person (wdt:P106/wdt:P279*) wd:Q901 .  ?person rdfs:label ?personLabel .  ?person wdt:P19 ?birthPlace .  ?birthPlace rdfs:label ?birthPlaceLabel .  ?person wdt:P20 ?deathPlace .  ?deathPlace rdfs:label ?deathPlaceLabel .  ?person wdt:P108 ?employer .  ?employer rdfs:label ?employerLabel .  ?person wdt:P69 ?almaMater .  ?almaMater rdfs:label ?almaMaterLabel .  ?person wdt:P1343 ?describedBy .  ?describedBy rdfs:label ?describedByLabel .  FILTER(LANG(?personLabel) = \"en\")  FILTER(LANG(?birthPlaceLabel) = \"en\")  FILTER(LANG(?deathPlaceLabel) = \"en\")  FILTER(LANG(?employerLabel) = \"en\")  FILTER(LANG(?almaMaterLabel) = \"en\")  FILTER(LANG(?describedByLabel) = \"en\")} LIMIT 10000", "paraphrases": ["Who are scientists, and where were they born, where did they die, who employed them, where did they study, and in which works are they described?", "List English-labeled details about scientists including their place of birth, place of death, employer, alma mater, and the sources that describe them."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 ?var12 ?var13 ?var14 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q901> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var5 . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6 . ?var1 <http://www.wikidata.org/prop/direct/P20> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var8 . ?var1 <http://www.wikidata.org/prop/direct/P108> ?var9 . ?var9 <http://www.w3.org/2000/01/rdf-schema#label> ?var10 . ?var1 <http://www.wikidata.org/prop/direct/P69> ?var11 . ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12 . ?var1 <http://www.wikidata.org/prop/direct/P1343> ?var13 . ?var13 <http://www.w3.org/2000/01/rdf-schema#label> ?var14 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var6 ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var8 ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var10 ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var12 ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var14 ) = \"en\" ) ) ) . } LIMIT 10000"}}
{"id": "test_8323", "question": "Author of \"Migrants and Housing Investments: Theory and Evidence from Nigeria\" and their ORCID ID.", "sparql": "SELECT ?author ?authorLabel ( COALESCE ( ?orcid , \"No ORCID available\" ) AS ?orcidOrFallback ) WHERE { wd:Q33025087 wdt:P50 ?author . OPTIONAL { ?author wdt:P496 ?orcid . } ?author rdfs:label ?authorLabel . FILTER(LANG(?authorLabel) = \"en\") }", "paraphrases": ["Who is the author of the article \"Migrants and Housing Investments: Theory and Evidence from Nigeria\", and what is their ORCID identifier?", "Please provide the name and ORCID of the author of the academic article \"Migrants and Housing Investments: Theory and Evidence from Nigeria\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COALESCE ( ?var2 , CONCAT ( \"string1\", ENCODE_FOR_URI ( ?var1Label ) ) ) AS ?var3 ) WHERE { <http://www.wikidata.org/entity/Q33025087> <http://www.wikidata.org/prop/direct/P50> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,da,de,es,fr,nl,no,ru,sv,zh\". } }"}}
{"id": "test_8324", "question": "English label and description for the Great Russian Encyclopedia Online ID 4832606", "sparql": "SELECT ?item ?label ?description WHERE { ?item wdt:P2924 \"4832606\" . OPTIONAL { ?item rdfs:label ?label . FILTER (LANG(?label) = \"en\") } OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Who is the person with the Great Russian Encyclopedia Online ID 4832606, and what is their English description?", "Please provide the English name and description of the entity identified by the Great Russian Encyclopedia Online ID 4832606."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"4832606\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8325", "question": "Subclasses of film excluding those with \"has properties\"", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?subclass WHERE {\n  ?subclass wdt:P279 wd:Q11424 . MINUS {\n    ?subclass wdt:P1963 ?hasProperty\n  }\n}", "paraphrases": ["What are the types of films that are not annotated with typical properties?", "List all film genres that are subclasses of film and do not have any specified typical properties."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q11424> AS ?var5 ). ?var5 <http://www.wikidata.org/prop/direct/P31> * ?var1 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P1963> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . } }"}}
{"id": "test_8326", "question": "What educational institutions did Albert Einstein attend, and when did he study there?", "sparql": "SELECT ?institution ?institutionLabel ?start ?end ?degree ?degreeLabel WHERE {\n  wd:Q937 p:P69 ?stmt .\n  ?stmt ps:P69 ?institution .\n  ?institution rdfs:label ?institutionLabel .\n  FILTER(LANG(?institutionLabel) = \"en\")\n  OPTIONAL { ?stmt pq:P580 ?start . }\n  OPTIONAL { ?stmt pq:P582 ?end . }\n  OPTIONAL { ?stmt pq:P512 ?degree .\n    ?degree rdfs:label ?degreeLabel .\n    FILTER(LANG(?degreeLabel) = \"en\")\n  }\n}", "paraphrases": ["Which degrees did Albert Einstein earn, and at which universities?", "Can you list Albert Einstein\u2019s alma maters along with the start and end dates of his studies and the degrees he obtained?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 ?var5Label WHERE { <http://www.wikidata.org/entity/Q706516> <http://www.wikidata.org/prop/P69> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P69> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P580> ?var3 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var4 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P512> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_8327", "question": "Instances of season with their labels", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?season ?seasonLabel WHERE {\n  ?season wdt:P31 wd:Q24384 .\n  ?season rdfs:label ?seasonLabel .\n}", "paraphrases": ["What are some examples of seasons, and what are they called in different languages?", "List all known seasons and their names in any language."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q24384> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it\". } }"}}
{"id": "test_8328", "question": "What is the population of London?", "sparql": "SELECT ?population WHERE { wd:Q84 wdt:P1082 ?population . }", "paraphrases": ["How many people live in London?", "What is the number of inhabitants in London?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P1082> <http://www.wikidata.org/entity/Q84> . }"}}
{"id": "test_8329", "question": "Entities in Aberdeenshire and their countries, based on Braemar Parish Church's location.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel ?country ?countryLabel WHERE {\n  wd:Q17776956 wdt:P131 ?region .\n  ?item wdt:P131 ?region .\n  ?item wdt:P17 ?country .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER(LANG(?itemLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?country rdfs:label ?countryLabel .\n    FILTER(LANG(?countryLabel) = \"en\")\n  }\n}", "paraphrases": ["What countries are the entities located in the same administrative region as Braemar Parish Church in?", "List all entities located in the same area as Braemar Parish Church and their corresponding countries."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label WHERE { ?var3 <http://wikiba.se/ontology#claim> ?var5 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#qualifier> ?var7 . ?var3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var4 <http://wikiba.se/ontology#claim> ?var8 . ?var4 <http://wikiba.se/ontology#qualifier> ?var9 . ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var1 ?var5 ?var10 . ?var10 ?var6 ?var2 . ?var10 ?var9 <http://www.wikidata.org/entity/Q17776956> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8330", "question": "What are the names and VIAF identifiers of organizations located in Moldova?", "sparql": "SELECT ?organizationLabel ?viaf WHERE { ?organization (wdt:P31/wdt:P279*) wd:Q43229 . ?organization wdt:P17 wd:Q217 . OPTIONAL { ?organization wdt:P214 ?viaf . } ?organization rdfs:label ?organizationLabel . FILTER(LANG(?organizationLabel) = \"en\") }", "paraphrases": ["Can you list organizations in Moldova along with their VIAF IDs?", "Which organizations in Moldova have a Virtual International Authority File (VIAF) identifier?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q43229> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q217> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P213> ?var3 . } }"}}
{"id": "test_8331", "question": "Who are the people with the surname Muroni?", "sparql": "SELECT DISTINCT ?human WHERE { ?human wdt:P31 wd:Q5 ; wdt:P734 wd:Q60320150 . }", "paraphrases": ["Which humans have Muroni as their family name?", "List all individuals whose last name is Muroni."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"muroni\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8332", "question": "Who are the people with the surname B\u00e9nichou?", "sparql": "SELECT DISTINCT ?human WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P734 wd:Q42304206 .}", "paraphrases": ["List all humans whose family name is B\u00e9nichou.", "Which individuals have the last name B\u00e9nichou?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"BENICHOU\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8333", "question": "Films with the Bavarian porn genre", "sparql": "SELECT ?film ?filmTitle WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P136 wd:Q84041 . ?film wdt:P1476 ?filmTitle . } LIMIT 100", "paraphrases": ["What are the titles of films that belong to the Bavarian porn genre?", "List the German erotic comedy films set in Bavaria, often called Lederhosen films."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P136> <http://www.wikidata.org/entity/Q84041> . } LIMIT 100"}}
{"id": "test_8334", "question": "What is the English label and description of the artist with CLARA-ID 9992?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P1615 \"9992\" .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER(LANG(?itemLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Who is the woman visual artist identified by CLARA-ID 9992, and what is her description in English?", "Tell me the name and profession of the artist whose CLARA-ID is 9992."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1615> \"9994\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8335", "question": "What are the places associated with Brazilian neuroscientist Suzana Herculano-Houzel, and where are they located?", "sparql": "SELECT DISTINCT ?image ?place ?placeLabel ?coordinates ?propertyLabel WHERE { wd:Q10375239 ?property ?place . OPTIONAL { ?place wdt:P18 ?image . } ?place wdt:P625 ?coordinates . ?place rdfs:label ?placeLabel . ?propItem wikibase:directClaim ?property . ?propItem rdfs:label ?propertyLabel . FILTER (LANG(?propertyLabel) = \"en\") FILTER (LANG(?placeLabel) = \"en\") }", "paraphrases": ["Show me the institutions and cities linked to Suzana Herculano-Houzel, including where she was educated or employed, along with their coordinates and images.", "Where did Suzana Herculano-Houzel live, study, or work? Provide the location, map coordinates, and a picture of each place."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ( ?var4Label AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q10375239> ?var6 ?var2 . ?var2 (( <http://www.wikidata.org/prop/P159> / <http://www.wikidata.org/prop/qualifier/P625> )|( <http://www.wikidata.org/prop/direct/P276> */ <http://www.wikidata.org/prop/direct/P625> )) ?var3 . ?var7 <http://wikiba.se/ontology#directClaim> ?var6 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,nl,no,ru,sv,zh\". } ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . }"}}
{"id": "test_8336", "question": "Author of \"D\u00f8delig medicin og organiseret kriminalitet\" and their ORCID or name if ORCID is missing.", "sparql": "SELECT ?author ?authorLabel (COALESCE(?orcid, ?authorLabel) AS ?fallback) WHERE { wd:Q41659966 wdt:P50 ?author . OPTIONAL { ?author wdt:P496 ?orcid . } ?author rdfs:label ?authorLabel . FILTER(LANG(?authorLabel) = \"en\") }", "paraphrases": ["Who wrote the book \"D\u00f8delig medicin og organiseret kriminalitet\", and what is their ORCID? If they don\u2019t have one, what is their name?", "Please list the author of the book \"D\u00f8delig medicin og organiseret kriminalitet\" along with their ORCID identifier; if no ORCID is available, return their name instead."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COALESCE ( ?var2 , CONCAT ( \"string1\", ENCODE_FOR_URI ( ?var1Label ) ) ) AS ?var3 ) WHERE { <http://www.wikidata.org/entity/Q41659966> <http://www.wikidata.org/prop/direct/P50> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,da,de,es,fr,nl,no,ru,sv,zh\". } }"}}
{"id": "test_8337", "question": "What are all the different types of things in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?type WHERE {\n  ?item wdt:P31 ?type .\n}\nLIMIT 10000", "paraphrases": ["What classes are used to categorize entities in Wikidata?", "List up to 10,000 distinct categories (instance-of types) that entities in Wikidata belong to."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { _:bnode <http://www.wikidata.org/prop/direct/P31> ?var1 . FILTER ( ( isIRI ( ?var1 ) ) ) . } LIMIT 10000"}}
{"id": "test_8338", "question": "Who is Wafa Mustafa in French, and is she a human?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person WHERE {\n  ?person rdfs:label \"Wafa Mustafa\" @fr .\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["What is the Wikidata item for the person named Wafa Mustafa in French?", "Find the Wikidata entity for the French-labeled person 'Wafa Mustafa' who is classified as a human."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Wafa TRIEK\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8339", "question": "Which Wikidata entities are associated with the Twitter handles @KGoepfrich, @eLife, @EU_H2020, @J_A_C_S, @MaxSynBio, @mesosphere, @nanopore, @wikidata, and @ZENODO_ORG?", "sparql": "SELECT ?entity ?twitterHandle WHERE { ?entity wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { \"KGoepfrich\" \"BASEsearch\" \"eLife\" \"EU_H2020\" \"J_A_C_S\" \"MaxSynBio\" \"mesosphere\" \"nanopore\" \"wikidata\" \"ZENODO_ORG\" } }", "paraphrases": ["Can you tell me the Wikidata items for these Twitter accounts: BASEsearch, eLife, EU_H2020, J_A_C_S, KGoepfrich, MaxSynBio, mesosphere, nanopore, wikidata, and ZENODO_ORG?", "Show me the organizations and individuals on Wikidata that have these Twitter usernames: KGoepfrich, wikidata, eLife, EU_H2020, J_A_C_S, MaxSynBio, mesosphere, nanopore, BASEsearch, and ZENODO_ORG."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"KGoepfrich\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"ZENODO_ORG\" ) ( \"string4\" ) ( \"BASEsearch\" ) ( \"OK_Maps\" ) ( \"iansample\" ) ( \"string5\" ) ( \"string6\" ) ( \"wikidata\" ) ( \"MaxSynBio\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"eLife\" ) ( \"mesosphere\" ) ( \"string11\" ) ( \"string12\" ) ( \"J_A_C_S\" ) ( \"string13\" ) ( \"MSCActions\" ) ( \"string14\" ) ( \"string15\" ) ( \"string16\" ) ( \"EU_H2020\" ) ( \"EuraxessEU\" ) ( \"madrimasd\" ) ( \"string17\" ) ( \"nanopore\" ) ( \"NeuerTag\" ) } }"}}
{"id": "test_8340", "question": "What organization has the Twitter username \"UN\"?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"UN\" } }", "paraphrases": ["Which entity on Wikidata is associated with the Twitter handle @UN?", "Can you tell me which item in Wikidata has the X (Twitter) username \"UN\"?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"loicaroyer\" ) ( \"string2\" ) } }"}}
{"id": "test_8341", "question": "Ghats with English Wikipedia articles", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?label WHERE {\n  ?item wdt:P31 wd:Q1010155 .\n  ?item rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}\nORDER BY ?label\nLIMIT 250", "paraphrases": ["Which ghats in South Asia have English-language Wikipedia pages?", "List the ghats that are notable enough to have an English label on Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1010155> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 250"}}
{"id": "test_8342", "question": "Images of Robert Francis Withers Allston from Wikimedia Commons.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?person wdt:P3430 \"w6p84kbt\" .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n}", "paraphrases": ["What images are associated with Robert Francis Withers Allston in Wikidata?", "Can you show me the images linked to the SNAC ARK ID \"w6p84kbt\"?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6p84kbt\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8343", "question": "Volcanoes with the most Wikipedia language editions", "sparql": "SELECT ?volcano (COUNT(?wikipage) AS ?sitelinkCount) WHERE { ?volcano wdt:P31 wd:Q8072 . ?wikipage schema:about ?volcano . ?wikipage schema:isPartOf ?wiki . FILTER(STRSTARTS(STR(?wiki), \"https://\")) } GROUP BY ?volcano HAVING (?sitelinkCount > 0) ORDER BY DESC(?sitelinkCount) LIMIT 250", "paraphrases": ["Which volcanoes have the highest number of Wikipedia pages in different languages?", "List the top 250 volcanoes ranked by how many Wikipedia versions exist about them, from most to least."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q8072> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 250"}}
{"id": "test_8344", "question": "Is Xfburn classified as software?", "sparql": "ASK WHERE { wd:Q2598045 ( wdt:P31 / wdt:P279* ) wd:Q7397 }", "paraphrases": ["Does Xfburn belong to the category of software?", "Is Xfburn an instance of a class that is a subclass of software?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q2598045> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_8345", "question": "Rivers that flow into the Amazon River and their images on Wikimedia Commons.", "sparql": "SELECT ?tributary ?tributaryLabel ?image WHERE { ?tributary wdt:P403 wd:Q3783 . OPTIONAL { ?tributary wdt:P18 ?image . } ?tributary rdfs:label ?tributaryLabel . FILTER(LANG(?tributaryLabel) = \"en\") }", "paraphrases": ["Which rivers are tributaries of the Amazon River, and do they have photos available on Wikimedia Commons?", "List the English names of rivers that drain into the Amazon River, along with their images if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P403> <http://www.wikidata.org/entity/Q3783> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en,ca,gl,eu,fr,de,it\". } }"}}
{"id": "test_8346", "question": "Books and other creative works with the business genre.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?work ?workLabel WHERE {\n  ?work p:P136 ?statement .\n  ?statement ps:P136 wd:Q4830453 .\n  ?work rdfs:label ?workLabel .\n  FILTER ( LANG( ?workLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["What are some books, films, or TV shows that are classified under the business genre on Wikidata?", "List English-labeled creative works that have the genre of business."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P136> <http://www.wikidata.org/entity/Q4830453> . ?var1 <http://www.wikidata.org/prop/P136> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_8347", "question": "Films released in February 2018 with English labels", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?film ?filmLabel ?releaseDate WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P577 ?releaseDate .\n  FILTER(YEAR(?releaseDate) = 2018 && MONTH(?releaseDate) = 2)\n  FILTER(EXISTS {\n    ?film rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  })\n}\nORDER BY ?releaseDate", "paraphrases": ["Which films were released in February 2018 and have English-language titles?", "List all films from February 2018 that have English labels, sorted by release date."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } BIND ( ( \"2018-02-15\"^^<http://www.w3.org/2001/XMLSchema#date> - ?var2 ) AS ?var3 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q201658> . ?var1 <http://schema.org/dateModified> ?var2 . FILTER ( ( ( ?var3 < \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( ?var3 > \"-1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . FILTER ( ( EXISTS { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . } ) ) . } ORDER BY ASC( ?var1 )"}}
{"id": "test_8348", "question": "What is the English name of the topic \"trends and patterns in the etymologies of chemical elements\"?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?label WHERE {\n  wd:Q16003960 rdfs:label ?label .\n  FILTER(LANG(?label) = 'en')\n}", "paraphrases": ["How is \"naming of elements\" labeled in English on Wikidata?", "What is the label for the Wikidata item about the naming of chemical elements?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q16003960> <http://www.wikidata.org/prop/direct/P2561> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_8349", "question": "What is the most common property that links Zugspitze to other entities in Wikidata?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nSELECT ?property(COUNT(?property) AS ?count) WHERE {\n  ?item ?statementProperty wd:Q3375 .\n  ?property wikibase:directClaim ?statementProperty .\n  ?property rdf:type wikibase:Property .\n}\nGROUP BY ?property\nORDER BY DESC(?count)\nLIMIT 1", "paraphrases": ["Which property is used most often to indicate that Zugspitze is the highest point of a region or country?", "How many times is Zugspitze listed as the highest point, and what property is used for this?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q3375> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_8350", "question": "Artists or music entities associated with both hip-hop and rapping genres.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P136 wd:Q11401 .\n  ?item wdt:P136 wd:Q6010 .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["Which artists or music entities are tagged with both the hip-hop and rapping genres?", "Show me the English names of all music artists or labels that have both hip-hop and rapping listed as their genres in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P136> <http://www.wikidata.org/entity/Q11401> . ?var1 <http://www.wikidata.org/prop/direct/P136> <http://www.wikidata.org/entity/Q6010> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8351", "question": "Who are Harry Potter's parents and grandparents?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?ancestor ?ancestorLabel WHERE {\n  {\n    wd:Q3244512 wdt:P22 | wdt:P25 ?ancestor .\n  } UNION {\n    wd:Q3244512 wdt:P22 | wdt:P25 ?parent .\n    ?parent wdt:P22 | wdt:P25 ?ancestor .\n  }\n  ?ancestor rdfs:label ?ancestorLabel .\n  FILTER ( LANG( ?ancestorLabel ) = \"en\" )\n}", "paraphrases": ["List all known ancestors of Harry Potter up to two generations above him.", "What are the names of Harry Potter's immediate family members who are his parents or grandparents?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q3244512> (( <http://www.wikidata.org/prop/direct/P22> | <http://www.wikidata.org/prop/direct/P25> )+/( <http://www.wikidata.org/prop/direct/P22> | <http://www.wikidata.org/prop/direct/P25> )+/( <http://www.wikidata.org/prop/direct/P22> | <http://www.wikidata.org/prop/direct/P25> )+/( <http://www.wikidata.org/prop/direct/P22> | <http://www.wikidata.org/prop/direct/P25> )+/( <http://www.wikidata.org/prop/direct/P22> | <http://www.wikidata.org/prop/direct/P25> )+) ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_8352", "question": "Element symbols and atomic numbers of all chemical elements.", "sparql": "SELECT ?symbol ?element ?atomicNumber WHERE { ?element wdt:P31 wd:Q11344 . ?element wdt:P1086 ?atomicNumber . ?element wdt:P246 ?symbol . } ORDER BY ?element", "paraphrases": ["What are the chemical symbols and atomic numbers of all chemical elements?", "List the element symbols along with their corresponding atomic numbers for every known chemical element, ordered by the element."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var3 ( <http://www.wikidata.org/prop/direct/P1086> / <http://www.wikidata.org/prop/direct/P31> ) <http://www.wikidata.org/entity/Q11344> . ?var2 <http://www.wikidata.org/prop/direct/P246> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8353", "question": "What administrative regions and country is Costa Rei part of?", "sparql": "SELECT DISTINCT ?location WHERE { { wd:Q824805 wdt:P17 ?location . } UNION { wd:Q824805 wdt:P131 ?location . } UNION { wd:Q824805 wdt:P131 ?intermediate . ?intermediate wdt:P131 ?location . } }", "paraphrases": ["Can you list all the places that Costa Rei belongs to, including its municipality and country?", "Which higher-level geographic entities contain Costa Rei, such as its comune and nation?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q824805> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_8354", "question": "Which musical group has the VIAF ID 244968426?", "sparql": "SELECT ?item WHERE { ?item wdt:P214 \"244968426\" . } LIMIT 1", "paraphrases": ["Find the Wikidata item for VIAF ID 244968426", "What is the Wikidata entity associated with the Virtual International Authority File identifier 244968426?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"244968426\". } LIMIT 1"}}
{"id": "test_8355", "question": "What properties are used on football clubs in Portuguese?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?propEntity ?propEntityLabel ?propEntityDescription WHERE {\n  ?item wdt:P31 wd:Q17270000 .\n  ?propEntity wikibase:directClaim ?wdtProp .\n  ?item ?wdtProp ?val .\n  ?propEntity a wikibase:Property .\n  ?propEntity rdfs:label ?propEntityLabel .\n  ?propEntity schema:description ?propEntityDescription .\n  FILTER ( LANG( ?propEntityLabel ) = \"pt\" ) FILTER ( LANG( ?propEntityDescription ) = \"pt\" )\n}\nLIMIT 100", "paraphrases": ["Which properties have Portuguese labels and descriptions for items that are football clubs?", "Show me the Portuguese labels and descriptions of properties used to describe football clubs in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q476028> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"pt\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"pt\" ) ) ) . } LIMIT 100"}}
{"id": "test_8356", "question": "Historians and philosophers listed in Wikidata with their English labels.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?occupation ?personLabel ?occupationLabel WHERE {\n  VALUES ?occupation {\n    wd:Q201788 wd:Q4964182\n  }\n  ?person wdt:P106 ?occupation .\n  OPTIONAL {\n    ?person rdfs:label ?personLabel .\n    FILTER(LANG(?personLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?occupation rdfs:label ?occupationLabel .\n    FILTER(LANG(?occupationLabel) = \"en\")\n  }\n}", "paraphrases": ["Who are the people in Wikidata that have the occupation of historian or philosopher, and what are their English names and occupation labels?", "Please list all humans in Wikidata whose occupation is historian or philosopher, along with their English names and the English labels of their occupations."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var2Label ?var3Label WHERE { { VALUES ( ?var1 ?var4 ) { ( <http://ldf.fi/procope/occupation_historian> <http://ldf.fi/procope/occupation_historian> ) ( <http://ldf.fi/procope/occupation_philosopher> <http://ldf.fi/procope/occupation_philosopher> ) } ?var4 ?var5 ?var6 . } UNION { SELECT ?var1 ?var6 ?var5 WHERE { VALUES ( ?var1 ?var4 ) { ( <http://ldf.fi/procope/occupation_historian> <http://ldf.fi/procope/occupation_historian> ) ( <http://ldf.fi/procope/occupation_philosopher> <http://ldf.fi/procope/occupation_philosopher> ) } ?var6 ?var5 ?var4 . } LIMIT 5000 } BIND ( IF ( ( ?var5 = <http://www.w3.org/2000/01/rdf-schema#label> ), <http://www.w3.org/2004/02/skos/core#prefLabel> , ?var5 ) AS ?var2 ). BIND ( IF ( ( ?var6 = <http://www.wikidata.org/entity/Q5> ), <http://www.cidoc-crm.org/cidoc-crm/E21_Person> , IF ( ( ?var6 = <http://www.wikidata.org/entity/Q2221906> ), <http://www.cidoc-crm.org/cidoc-crm/E53_Place> , IF ( ( ?var6 = <http://www.wikidata.org/entity/Q16334295> ), <http://www.cidoc-crm.org/cidoc-crm/E74_Group> , ?var6 ) ) ) AS ?var3 ). OPTIONAL { ?var7 <http://wikiba.se/ontology#directClaim> ?var5 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var8 . FILTER ( ( LANGMATCHES ( LANG ( ?var8 ) , \"en\" ) ) ) . } BIND ( COALESCE ( ?var8 , REPLACE ( REPLACE ( REPLACE ( REPLACE ( STR ( ?var2 ) , \".*/\", \"\" ) , \".*#\", \"\" ) , \"_\", \" \" ) , \"([A-Z\u00c5\u00c4\u00d6])\", \" $1\" ) ) AS ?var2Label ). OPTIONAL { ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( LANGMATCHES ( LANG ( ?var3Label ) , \"en\" ) ) ) . } }"}}
{"id": "test_8357", "question": "What educational institutions did Albert Einstein attend, and when did he start and end his studies at each, along with the degrees he earned?", "sparql": "SELECT ?institution ?institutionLabel ?start ?end ?degreeLabel WHERE { wd:Q937 p:P69 ?statement . ?statement ps:P69 ?institution . ?institution rdfs:label ?institutionLabel . FILTER(LANG(?institutionLabel) = \"en\") . OPTIONAL { ?statement pq:P580 ?start . } OPTIONAL { ?statement pq:P582 ?end . } OPTIONAL { ?statement pq:P512 ?degree . ?degree rdfs:label ?degreeLabel . FILTER(LANG(?degreeLabel) = \"en\") . } }", "paraphrases": ["Show Albert Einstein\u2019s academic background: the schools he went to, the dates of attendance, and the degrees he obtained, all in English.", "List Albert Einstein\u2019s educational institutions in English, including the start and end years of attendance and any academic degrees earned."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 ?var5Label WHERE { <http://www.wikidata.org/entity/Q47091408> <http://www.wikidata.org/prop/P69> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P69> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P580> ?var3 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var4 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P512> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_8358", "question": "What are the coordinates of Castellbell i el Vilar and the administrative region it belongs to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?municipalityCoords ?administrativeAreaCoords WHERE {\n  wd:Q16684 wdt:P625 ?municipalityCoords .\n  OPTIONAL {\n    wd:Q16684 wdt:P131 ?adminArea .\n    ?adminArea wdt:P625 ?administrativeAreaCoords .\n  }\n}", "paraphrases": ["Show the geographic coordinates of the municipality of Castellbell i el Vilar and its parent administrative area, Bages.", "Where is Castellbell i el Vilar located, and where is the comarca of Bages centered?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q16684> <http://www.wikidata.org/prop/direct/P625> ?var1 . OPTIONAL { <http://www.wikidata.org/entity/Q16684> <http://www.wikidata.org/prop/direct/P131> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var2 . } }"}}
{"id": "test_8359", "question": "Is \"Down\" (as a directional term in railroads) a kind of software?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  wd:Q22342279 ( wdt:P31 / wdt:P279 * ) wd:Q7397 .\n}", "paraphrases": ["Does the concept of \"Down\" in transportation belong to the category of software?", "Is a relative direction like \"Down\" classified as software?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q22342279> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_8360", "question": "Who is the person with CineMagia ID 43211, and what is their English description?", "sparql": "SELECT ?person ?personLabel ?description WHERE { ?person wdt:P4666 \"43211\" . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") . OPTIONAL { ?person schema:description ?description . FILTER(LANG(?description) = \"en\") . } }", "paraphrases": ["What is the name and English description of the actor identified by CineMagia ID 43211?", "Show me the English name and description of the person whose CineMagia ID is 43211."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4666> \"43211\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8361", "question": "What are the most common relationships connecting other entities to the city of Bago in Wikidata?", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q800122 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["Which properties link the most number of items to Bago, and how many times are they used?", "Show me the properties that connect more than one entity to Bago (Pegu), ordered by frequency \u2014 what are they and how often do they appear?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q800122> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_8362", "question": "Cities within 100 km of longitude -2, latitude 57 with their administrative regions, images, and Wikipedia links.", "sparql": "SELECT DISTINCT ?city ?cityLabel ?admin1Label ?admin2Label ?image ?lat ?lon ?wikipediaPage WHERE { ?city (wdt:P31/wdt:P279*) wd:Q515 . ?city wdt:P625 ?coord . BIND(geof:latitude(?coord) AS ?lat) BIND(geof:longitude(?coord) AS ?lon) FILTER(?lat >= 56.1 && ?lat <= 57.9 && ?lon >= -3.65 && ?lon <= -0.35) OPTIONAL { ?city wdt:P18 ?image . } ?city wdt:P131 ?admin1 . ?admin1 wdt:P131 ?admin2 . OPTIONAL { ?wikipediaPage schema:about ?city ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> . } ?city rdfs:label ?cityLabel . ?admin1 rdfs:label ?admin1Label . ?admin2 rdfs:label ?admin2Label . FILTER(LANG(?cityLabel) = \"en\") FILTER(LANG(?admin1Label) = \"en\") FILTER(LANG(?admin2Label) = \"en\") } ORDER BY ASC(?city) LIMIT 5", "paraphrases": ["What are the cities near the coordinates 57\u00b0N, 2\u00b0W, and what are their administrative divisions, images, and English Wikipedia pages?", "Show me up to five cities in Scotland within 100 kilometers of the point (-2, 57), including their names, higher-level administrative areas, images, and links to their English Wikipedia articles."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3Label ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 WHERE { SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var10 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> \"POINT(-2 57)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"100\". <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#distance> ?var9 . } FILTER ( ( ( ?var9 > \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . } { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . } { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var3 . } { ?var3 <http://www.wikidata.org/prop/direct/P131> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var5 <http://schema.org/about> ?var1 . ?var5 <http://schema.org/inLanguage> \"en\". ?var5 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } ?var1 <http://www.wikidata.org/prop/direct/P625> ?var8 . ?var1 <http://www.wikidata.org/prop/P625> ?var11 . ?var11 <http://www.wikidata.org/prop/statement/value/P625> ?var12 . ?var12 <http://wikiba.se/ontology#geoLatitude> ?var6 . ?var12 <http://wikiba.se/ontology#geoLongitude> ?var7 . } ORDER BY ASC( ?var1 ) LIMIT 5"}}
{"id": "test_8363", "question": "All properties and values for Andr\u00e9 Bjerke on Wikidata.", "sparql": "SELECT ?property ?value WHERE { wd:Q517118 ?property ?value .}", "paraphrases": ["What information is available about the Norwegian poet Andr\u00e9 Bjerke in Wikidata?", "Show me all the statements, including multilingual descriptions and external identifiers, linked to Andr\u00e9 Bjerke in Wikidata."], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q517118> ?var1 ?var2 . }"}}
{"id": "test_8364", "question": "Television episodes without IMDb IDs", "sparql": "SELECT ?episode WHERE { ?episode wdt:P31 wd:Q21191270 . MINUS { ?episode wdt:P345 [] . } }", "paraphrases": ["Which television series episodes do not have an IMDb identifier?", "Show me all TV episodes that are not linked to the Internet Movie Database."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q21191270> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P345> [] . } }"}}
{"id": "test_8365", "question": "Which properties are most frequently used to link items to Animism?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ( COUNT( ?item ) AS ?count ) WHERE {\n  ?item ?property wd:Q43004 .\n}\nGROUP BY ?property\nHAVING ( ?count > 1 )\nORDER BY DESC ( ?count )", "paraphrases": ["What are the properties that connect more than one entity to the religion Animism, ranked by how often they are used?", "Show me the properties most commonly associated with Animism in Wikidata, excluding those used only once."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q43004> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_8366", "question": "Image of the person with SNAC ARK ID w6d79g4z", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6d79g4z\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6d79g4z?", "Please provide the Wikimedia Commons image for the entity identified by the SNAC ARK ID w6d79g4z."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6d79g4z\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8367", "question": "Which Wikidata items have Twitter usernames \"mesosphere\" or \"envlh\"?", "sparql": "SELECT ?item ?twitterUsername WHERE { ?item wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"mesosphere\" \"envlh\" } } ORDER BY ?item", "paraphrases": ["Who are the people or organizations on Wikidata with the Twitter handles \"mesosphere\" and \"envlh\"?", "Show me the entities on Wikidata that are linked to the Twitter accounts @mesosphere and @envlh (without the @ symbol)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"string1\" ) ( \"mesosphere\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"GuyHomard\" ) ( \"string5\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8368", "question": "What are the properties and values associated with Norway, along with their Spanish labels?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?country ?countryLabel ?property ?propertyLabel ?value ?valueLabel WHERE {\n  BIND( wd:Q20 AS ?country ) .\n  ?country ?property ?value .\n  ?country rdfs:label ?countryLabel .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?propertyLabel .\n  ?value rdfs:label ?valueLabel .\n  FILTER ( LANG( ?countryLabel ) = \"es\" ) .\n  FILTER ( LANG( ?propertyLabel ) = \"es\" ) .\n  FILTER ( LANG( ?valueLabel ) = \"es\" ) .\n}", "paraphrases": ["In Spanish, what information is known about Norway, including the property names and the labels of their values?", "Show me all Spanish-language facts about Norway, including the property names and the Spanish names of the values they point to."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5Label ?var6 ?var7 WHERE { BIND ( <http://www.wikidata.org/entity/Q20> AS ?var1 ). ?var1 ?var2 ?var4 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var8 ?var9 ?var2 . ?var8 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"es\" ) ) ) . }"}}
{"id": "test_8369", "question": "Cities and towns in Orange County, California with their coordinates and WOEIDs", "sparql": "SELECT ?place ?label ?coord ?woeid WHERE { ?place wdt:P131+ wd:Q5925 . ?place rdfs:label ?label . FILTER(LANG(?label) = \"en\") . ?place wdt:P625 ?coord . ?place wdt:P1281 ?woeid . } LIMIT 1000", "paraphrases": ["What are the English-named cities and towns located in Orange County, California, along with their geographic coordinates and Yahoo! WOEID identifiers?", "List all places within Orange County, California, including their English names, coordinates, and WOEID values."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5925> . ?var1 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q99> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P1281> * ?var4 . } LIMIT 1000"}}
{"id": "test_8370", "question": "Official websites of cities in California with English names", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?city ?label ?website WHERE {\n  ?city wdt:P31 wd:Q515 .\n  ?city wdt:P131 * wd:Q99 .\n  ?city wdt:P856 ?website .\n  OPTIONAL {\n    ?city rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" ) .\n  }\n}\nLIMIT 10000", "paraphrases": ["What are the English names and official websites of cities in California?", "List the cities in California along with their English labels and official websites."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q99> . ?var1 <http://www.wikidata.org/prop/direct/P856> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P590> ?var5 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } OPTIONAL { ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> \"en\". FILTER ( ( ( SUBSTR ( STR ( ?var3 ) ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"25\"^^<http://www.w3.org/2001/XMLSchema#integer> ) = \"string1\" ) ) ) . } } LIMIT 10000"}}
{"id": "test_8371", "question": "U.S. counties in California with official websites, English Wikipedia pages, and GNIS IDs.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?county ?label ?wikipediaPage ?website ?gnisId WHERE {\n  ?county wdt:P131 wd:Q99 .\n  ?county wdt:P31 / wdt:P279 * wd:Q47168 .\n  OPTIONAL {\n    ?county rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n  OPTIONAL {\n    ?county wdt:P856 ?website .\n  }\n  OPTIONAL {\n    ?county wdt:P590 ?gnisId .\n  }\n  OPTIONAL {\n    ?wikipediaPage schema:about ?county ; schema:inLanguage \"en\" ;\n    FILTER(STRSTARTS(STR(?wikipediaPage) , \"https://en.wikipedia.org/wiki/\"))\n  }\n}\nLIMIT 500", "paraphrases": ["What are the English-labeled U.S. counties in California, along with their official websites, GNIS IDs, and English Wikipedia links?", "List all counties in California that are classified as U.S. counties, showing their English names, official websites, GNIS Feature IDs, and corresponding English Wikipedia pages."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q47168> . ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q5925> . OPTIONAL { ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> \"en\". FILTER ( ( ( SUBSTR ( STR ( ?var3 ) ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"25\"^^<http://www.w3.org/2001/XMLSchema#integer> ) = \"string1\" ) ) ) . } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var4 . ?var1 ( <http://www.wikidata.org/prop/direct/P131> / <http://www.wikidata.org/prop/direct/P590> ) ?var5 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } } LIMIT 500"}}
{"id": "test_8372", "question": "Type and location hierarchy of La Pedrera in Barcelona", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?buildingTypeLabel ?neighborhoodTypeLabel ?neighborhoodLabel ?districtTypeLabel ?districtLabel WHERE {\n  wd:Q207870 wdt:P31 ?buildingType .\n  wd:Q207870 wdt:P131 ?neighborhood .\n  ?neighborhood wdt:P31 ?neighborhoodType .\n  ?neighborhood wdt:P131 ?district .\n  ?district wdt:P31 ?districtType .\n  ?buildingType rdfs:label ?buildingTypeLabel .\n  ?neighborhoodType rdfs:label ?neighborhoodTypeLabel .\n  ?neighborhood rdfs:label ?neighborhoodLabel .\n  ?districtType rdfs:label ?districtTypeLabel .\n  ?district rdfs:label ?districtLabel .\n  FILTER ( LANG( ?buildingTypeLabel ) = \"en\" ) FILTER ( LANG( ?neighborhoodTypeLabel ) = \"en\" ) FILTER ( LANG( ?neighborhoodLabel ) = \"en\" ) FILTER ( LANG( ?districtTypeLabel ) = \"en\" ) FILTER ( LANG( ?districtLabel ) = \"en\" )\n}", "paraphrases": ["What is the administrative hierarchy of La Pedrera, including its neighborhood and district types?", "Show me the type and name of the neighborhood and district where La Pedrera is located, along with the type of the building itself."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2Label ?var3 ?var3Label ?var4Label ?var5 ?var5Label WHERE { BIND ( <http://www.wikidata.org/entity/Q207870> AS ?var6 ). ?var6 <http://www.wikidata.org/prop/direct/P31> ?var1 . ?var6 <http://www.wikidata.org/prop/direct/P131> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var3 <http://www.wikidata.org/prop/direct/P131> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P31> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8373", "question": "What are the top 1000 guitarists with the most Wikipedia articles, ranked by the number of language editions?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?guitarist ( COUNT( ?wikipediaPage ) AS ?sitelinks ) WHERE {\n  ?guitarist wdt:P106 wd:Q855091 .\n  ?wikipediaPage schema:about ?guitarist ; schema:isPartOf [ wikibase:wikiGroup \"wikipedia\" ] .\n}\nGROUP BY ?guitarist\nORDER BY DESC ( ?sitelinks )\nLIMIT 1000", "paraphrases": ["List the most famous guitarists based on how many Wikipedia pages exist about them in different languages.", "Which guitarists have the highest number of Wikipedia language versions, and how many are there?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q855091> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 1000"}}
{"id": "test_8374", "question": "What are the German-labeled properties related to the pseudonym property in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?relatedProperty ?label ?description WHERE {\n  wd:P742 wdt:P1659 ?relatedProperty .\n  ?relatedProperty rdfs:label ?label .\n  ?relatedProperty schema:description ?description .\n  FILTER ( LANG( ?label ) = \"de\" ) .\n  FILTER ( LANG( ?description ) = \"de\" ) .\n}", "paraphrases": ["Which properties in Wikidata are considered related to pseudonyms, and what are their German labels and descriptions?", "Can you list the German descriptions and labels of properties that are semantically related to the alias property (P742)?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P742> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"de\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"de\" ) ) ) . }"}}
{"id": "test_8375", "question": "All language labels for Frankfurt am Main that are human settlements in Germany.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?label WHERE {\n  wd:Q1794 rdfs:label ?label .\n  wd:Q1794 ( wdt:P31 / wdt:P279 * ) wd:Q486972 .\n  wd:Q1794 wdt:P17 wd:Q183 .\n}", "paraphrases": ["What are all the different language names for Frankfurt am Main, given that it is a human settlement located in Germany?", "Show me every language version of the name of Frankfurt am Main, but only if it is a human settlement in Germany."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2Label WHERE { BIND ( <http://www.wikidata.org/entity/Q1794> AS ?var1 ). ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q486972> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . }"}}
{"id": "test_8376", "question": "What are the direct subclasses of the administrative territorial entity of California in Wikidata?", "sparql": "SELECT DISTINCT ?subclass WHERE { ?subclass wdt:P279 wd:Q21074401 . }", "paraphrases": ["What types of administrative divisions are specifically defined for California in Wikidata\u2019s taxonomy?", "List all known categories of administrative units that are classified under California\u2019s territorial entity in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q21074401> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_8377", "question": "Does the administrative unit with CATO ID 396835300 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?administrativeUnit wdt:P4838 \"396835300\" .\n}", "paraphrases": ["Is there an administrative-territorial object in Kazakhstan identified by the KATO ID 396835300?", "Confirm if the entity Tsabelov is assigned the CATO ID 396835300 in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4838> \"396835300\". }"}}
{"id": "test_8378", "question": "Does the village with CATO ID 596658500 exist in Wikidata?", "sparql": "ASK WHERE { ?village wdt:P4838 \"596658500\" . }", "paraphrases": ["Is there a village in Kazakhstan identified by the CATO ID 596658500?", "Confirm whether the administrative unit with CATO ID 596658500 is recorded in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4838> \"596658500\". }"}}
{"id": "test_8379", "question": "Image of Peter A. Porter with SNAC ARK ID w6bz6gk8", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6bz6gk8\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with Peter A. Porter in Wikidata, identified by the SNAC ARK ID w6bz6gk8?", "Show me the Wikimedia Commons image for the historical figure Peter A. Porter, whose SNAC ARK ID is w6bz6gk8."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6bz6gk8\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8380", "question": "Countries in Africa with their official languages and native-language country names.", "sparql": "SELECT DISTINCT ?country ?countryLabelEn ?languageLabelEn ?countryLabelLang WHERE { ?country wdt:P30 wd:Q15 ; wdt:P31 wd:Q6256 ; wdt:P37 ?language ; rdfs:label ?countryLabelEn . FILTER(LANG(?countryLabelEn) = \"en\") . ?language wdt:P424 ?langCode ; rdfs:label ?languageLabelEn . FILTER(LANG(?languageLabelEn) = \"en\") . ?country rdfs:label ?countryLabelLang . FILTER(LANG(?countryLabelLang) = ?langCode) } ORDER BY ASC(?countryLabelEn)", "paraphrases": ["What are the English names of African countries, their official languages (in English), and how are the country names written in those official languages?", "Show me a list of African countries, their official languages in English, and the country names spelled in the official language, sorted alphabetically by the English country name."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P30> <http://www.wikidata.org/entity/Q15> ; <http://www.wikidata.org/prop/direct/P37> ?var5 ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var5 <http://www.wikidata.org/prop/direct/P424> ?var6 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = ?var6 ) ) ) . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . } ORDER BY ASC( ?var2 )"}}
{"id": "test_8381", "question": "What are the properties of Karisma Kapoor, along with how many values each has and their English labels?", "sparql": "SELECT ?property ?propertyLabel (COUNT(?value) AS ?count) (GROUP_CONCAT(?valueLabel; SEPARATOR=\", \") AS ?valueLabels) WHERE { wd:Q464578 ?property ?value . ?value rdfs:label ?valueLabel . FILTER(LANG(?valueLabel) = \"en\") . ?propertyItem wikibase:directClaim ?property . ?propertyItem rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") . } GROUP BY ?property ?propertyLabel", "paraphrases": ["For each property used by the Indian actress Karisma Kapoor, show the property name in English, the count of its values, and the English labels of those values.", "List all English-labeled properties of Karisma Kapoor, how many times each is used, and the English names of the things they point to."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q464578> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_8382", "question": "Is Kes\u00e4maa an instance of a class that is a subclass of artificial physical structure?", "sparql": "ASK WHERE {\n  wd:Q11871168 wdt:P31 ?class .\n  ?class wdt:P279* wd:Q11908691 .\n  hint:Prior hint:gearing \"forwards\" .\n}", "paraphrases": ["Does the amusement park Kes\u00e4maa belong to a category that ultimately falls under artificial physical structures?", "Confirm whether Kes\u00e4maa is classified under any category that is a type of artificial physical structure."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q11871168> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_8383", "question": "People with the first name Im\u00e8ne in French-speaking countries.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?item WHERE {\n  ?item rdfs:label ?label .\n  FILTER(LANG(?label) = 'fr')\n  .\n  FILTER(STRSTARTS(?label , 'Im\u00e8ne'))\n  .\n  ?item wdt:P31 wd:Q5 .\n}", "paraphrases": ["Who are the humans whose French-language Wikipedia label starts with 'Im\u00e8ne'?", "List all humans whose French label begins with 'Im\u00e8ne'."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Imene\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8384", "question": "Is there a player in Wikidata with Eurohockey.com player ID 1234?", "sparql": "ASK WHERE { ?player wdt:P2601 1234 . }", "paraphrases": ["Does Wikidata contain any ice hockey player linked to the Eurohockey.com ID 1234?", "Can you find an ice hockey player in Wikidata whose Eurohockey.com identifier is 1234?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2601> \"36109\". }"}}
{"id": "test_8385", "question": "What are the German labels of properties and their values for the article \"Degrees of chloroquine resistance in Plasmodium - is the redox system involved?\"?", "sparql": "SELECT ?property ?propertyLabel (COUNT(?value) AS ?valueCount) (GROUP_CONCAT(?valueLabel; SEPARATOR=\", \") AS ?valueLabels) WHERE { wd:Q36072626 ?property ?value . ?value rdfs:label ?valueLabel . FILTER(LANG(?valueLabel) = \"de\") . ?propertyItem wikibase:directClaim ?property . ?propertyItem rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"de\") . } GROUP BY ?property ?propertyLabel", "paraphrases": ["In German, what properties are used in the scholarly article about chloroquine resistance, and what are their values?", "Show me the German labels of the properties and their corresponding values for the article on chloroquine resistance, along with how many values each property has."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q36072626> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"de\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"de\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_8386", "question": "What is the Twitter/X username of Andy Pavlo?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?person ?twitterHandle WHERE {\n  ?person wdt:P2002 ?twitterHandle .\n  OPTIONAL {\n    ?person wikibase:sitelinks ?sitelinks\n  }\n  VALUES ?twitterHandle {\n    \"andy_pavlo\"\n  }\n}\nORDER BY ASC(?sitelinks)", "paraphrases": ["Can you find the Wikidata item for the person with the Twitter handle \"andy_pavlo\"?", "Who on Wikidata has the Twitter username \"andy_pavlo\", and what is their identifier?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"andy_pavlo\" ) ( \"VadimTk\" ) ( \"mitooo18\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8387", "question": "Who is the human named \"Ida Noddack\" in Wikidata?", "sparql": "SELECT DISTINCT ?person WHERE { ?person rdfs:label \"Ida Noddack\"@en . ?person wdt:P31 wd:Q5 }", "paraphrases": ["Find the person in Wikidata whose English label is \"Ida Noddack\" and who is a human.", "What Wikidata item corresponds to the person Ida Noddack, identified by her English label and classified as a human?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Ida Romeuf\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8388", "question": "Image of Anna Yesipova with SNAC ARK ID w6255xvf", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6255xvf\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6255xvf?", "Show me the Wikimedia Commons image for the person identified by SNAC ARK ID w6255xvf."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6255xvf\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8389", "question": "Who are the French people with \"Noukou\" in their name?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?item ?label WHERE {\n  ?item rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"fr\" ) .\n  FILTER ( CONTAINS( LCASE( ?label ) , \"noukou\" ) ) .\n  ?item wdt:P31 wd:Q5 .\n}\nORDER BY ?label", "paraphrases": ["Can you list humans whose French label contains the word \"Noukou\"?", "Is there a French-speaking person named Eva Noukou? If not, who are the people with similar names?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Eva Noukou\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8390", "question": "Is the French certification \"Maisons des Illustres\" considered a type of human?", "sparql": "ASK WHERE { wd:Q3280355 ( wdt:P31 / wdt:P279* ) wd:Q5 . }", "paraphrases": ["Does the category \"Maisons des Illustres\" belong to the hierarchy of human beings?", "Can a historic house certification mark be classified as a human?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q3280355> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_8391", "question": "Dutch Wikipedia pages for tram lines in Amsterdam and their Dutch labels.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?tram ?tramLabel ?wikipediaPage WHERE {\n  ?tram wdt:P31 wd:Q15145593 .\n  ?tram wdt:P131 wd:Q9899 .\n  ?wikipediaPage schema:about ?tram .\n  ?wikipediaPage schema:inLanguage \"nl\" .\n  ?tram rdfs:label ?tramLabel .\n  FILTER ( LANG( ?tramLabel ) = \"nl\" )\n}\nORDER BY ASC ( ?tramLabel )", "paraphrases": ["What are the Dutch-language Wikipedia pages for tram services in Amsterdam, and what are their Dutch names?", "List all tram services in Amsterdam with their Dutch labels and corresponding Dutch Wikipedia links."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q15145593> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q9899> . ?var2 <http://schema.org/about> ?var1 . FILTER ( ( EXISTS { ?var2 <http://schema.org/inLanguage> \"nl\". } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_8392", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt1905041?", "sparql": "SELECT ?item ?wikipediaPage WHERE {\n  ?item wdt:P345 \"tt1905041\" .\n  ?wikipediaPage schema:about ?item .\n  {\n    ?wikipediaPage schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipediaPage schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Which Wikipedia articles in English or German are about the film with IMDb identifier tt1905041?", "Show me the English and German Wikipedia links for the movie identified by tt1905041 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1905041\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8393", "question": "What educational institution did Jeremy Taylor attend, and when did he start and end his studies there?", "sparql": "SELECT ?institution ?institutionLabel ?startDate ?endDate ?degreeLabel WHERE { wd:Q49000365 p:P69 ?statement . ?statement ps:P69 ?institution . ?institution rdfs:label ?institutionLabel . FILTER (LANG(?institutionLabel) = \"en\") . OPTIONAL { ?statement pq:P580 ?startDate . } OPTIONAL { ?statement pq:P582 ?endDate . } OPTIONAL { ?statement pq:P512 ?degree . ?degree rdfs:label ?degreeLabel . FILTER (LANG(?degreeLabel) = \"en\") . } }", "paraphrases": ["Which university did Jeremy Taylor go to, and what degree, if any, did he earn from it?", "Show me Jeremy Taylor\u2019s alma mater in English, along with any associated start date, end date, or academic degree."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 ?var5Label WHERE { <http://www.wikidata.org/entity/Q49000365> <http://www.wikidata.org/prop/P69> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P69> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P580> ?var3 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var4 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P512> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_8394", "question": "What are the cruise ships listed in Wikidata with English Wikipedia articles?", "sparql": "SELECT ?cruiseShip ?label WHERE { ?cruiseShip wdt:P31 wd:Q39804 . ?cruiseShip rdfs:label ?label . FILTER(LANG(?label) = \"en\") } ORDER BY ?label LIMIT 500", "paraphrases": ["Can you list the names of cruise ships in alphabetical order?", "Show me the top 500 cruise ships with English labels in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q39804> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 500"}}
{"id": "test_8395", "question": "What English and German-language pages are about the movie with IMDb ID tt0407304?", "sparql": "SELECT ?movie ?page WHERE { ?movie wdt:P345 \"tt0407304\" . ?page schema:about ?movie . { ?page schema:inLanguage \"en\" . } UNION { ?page schema:inLanguage \"de\" . } }", "paraphrases": ["Which Wikipedia and Wikiquote pages in English or German discuss the film \"War of the Worlds\" (2005)?", "Show me all the language-specific pages (in English or German) linked to the movie \"War of the Worlds\" (2005) via its IMDb ID."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0407304\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8396", "question": "Wikipedia and Wikiquote pages in English or German about the movie Rain Man (IMDb: tt0095953)", "sparql": "SELECT ?movie ?page WHERE { ?movie wdt:P345 \"tt0095953\" . ?page schema:about ?movie . { ?page schema:inLanguage \"en\" . } UNION { ?page schema:inLanguage \"de\" . } }", "paraphrases": ["What English and German language Wikipedia and Wikiquote pages are about the movie with IMDb ID tt0095953?", "Show me the English and German language pages on Wikipedia and Wikiquote that are about the movie Rain Man, identified by its IMDb ID tt0095953."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0095953\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8397", "question": "Which Wikidata items are associated with the Twitter usernames CityOfBoston, melroserugby, and deventergem?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"CityOfBoston\" \"melroserugby\" \"deventergem\" } }", "paraphrases": ["Can you find the entities on Wikidata that have these Twitter handles: CityOfBoston, melroserugby, and deventergem?", "What are the Wikidata items for the Twitter accounts @CityOfBoston, @melroserugby, and @deventergem?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"alazycat_\" ) ( \"Malefic111\" ) ( \"Piwi_47\" ) ( \"string1\" ) ( \"string2\" ) ( \"Nexus2033\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8398", "question": "Paintings depicting alcoholic beverages with their images and labels.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?painting ?paintingLabel ?beverageLabel ?image WHERE {\n  ?painting ( wdt:P31 / wdt:P279 * ) wd:Q3305213 ; wdt:P18 ?image ; wdt:P180 ?beverage .\n  ?beverage ( wdt:P279 * ) wd:Q154 .\n  OPTIONAL {\n    ?painting rdfs:label ?paintingLabel .\n    FILTER ( LANG( ?paintingLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?beverage rdfs:label ?beverageLabel .\n    FILTER ( LANG( ?beverageLabel ) = \"en\" )\n  }\n}", "paraphrases": ["What paintings show alcoholic drinks like wine or beer, and what do they look like?", "Show me English-labeled paintings of alcoholic beverages, along with the names of the beverages they depict and their corresponding images from Wikimedia Commons."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3305213> ; <http://www.wikidata.org/prop/direct/P18> ?var3 ; ( <http://www.wikidata.org/prop/direct/P180> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q154> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_8399", "question": "What English and German language pages are about the TV series Shameless (IMDb ID tt1586680)?", "sparql": "SELECT ?item ?page ?imdbId WHERE { ?item wdt:P345 \"tt1586680\" . ?page schema:about ?item . ?page schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") . ?item wdt:P345 ?imdbId . }", "paraphrases": ["Show me the Wikipedia and Wikiquote pages in English and German for the TV show Shameless, identified by IMDb ID tt1586680.", "Retrieve all language-specific pages (English and German) related to the TV series Shameless with IMDb identifier tt1586680."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1586680\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8400", "question": "Wikipedia and Wikiquote pages in English or German about Grey's Anatomy (IMDb tt0413573)", "sparql": "SELECT ?item ?page WHERE { ?item wdt:P345 \"tt0413573\" . ?page schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["What Wikipedia and Wikiquote pages in English or German are about the TV series Grey's Anatomy, identified by IMDb ID tt0413573?", "Show me the English and German language pages on Wikipedia and Wikiquote that are about the TV show Grey's Anatomy (IMDb ID: tt0413573)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0413573\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8401", "question": "What are the English and German Wikipedia or WikiQuote pages for the TV series with IMDb ID tt5834204?", "sparql": "SELECT ?item ?wiki_page WHERE { ?item wdt:P345 \"tt5834204\" . { ?wiki_page schema:about ?item ; schema:inLanguage \"en\" . } UNION { ?wiki_page schema:about ?item ; schema:inLanguage \"de\" . } }", "paraphrases": ["Can you show me the language-specific wiki pages about The Handmaid\u2019s Tale TV series in English and German?", "Which language versions of Wikipedia or WikiQuote link to the TV series identified by IMDb ID tt5834204?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5834204\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8402", "question": "What Wikipedia and Wikiquote pages in English and German are about the TV series with IMDb ID tt1843230?", "sparql": "SELECT ?item ?page WHERE { ?item wdt:P345 \"tt1843230\" . ?page schema:about ?item . { ?page schema:inLanguage \"en\" . } UNION { ?page schema:inLanguage \"de\" . } }", "paraphrases": ["Show me the language-specific pages (English or German) about the TV series \"Once Upon a Time\" identified by IMDb ID tt1843230.", "Which language versions of Wikipedia and Wikiquote have articles about the TV series with IMDb identifier tt1843230?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1843230\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8403", "question": "What are the English and German Wikipedia and Wikiquote pages for the TV series Ozark (IMDb ID tt5071412)?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?page WHERE {\n  ?item wdt:P345 \"tt5071412\" .\n  ?page schema:about ?item .\n  ?page schema:inLanguage ?lang .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n}", "paraphrases": ["Which language versions of Wikipedia and Wikiquote pages are available for the TV show Ozark, identified by its IMDb ID tt5071412?", "Show me the English and German language pages related to the TV series Ozark on Wikipedia and Wikiquote, using its IMDb ID tt5071412."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5071412\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8404", "question": "People born on May 3 in the Czech Republic", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P19 ?birthPlace .\n  ?birthPlace wdt:P17 wd:Q213 .\n  ?person wdt:P569 ?birthDate .\n  FILTER ( DAY( ?birthDate ) = 3 && MONTH( ?birthDate ) = 5 ) OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  ?person rdfs:label ?personLabel .\n}\nORDER BY ASC ( ?birthDate ) ASC ( ?person )\nLIMIT 4999", "paraphrases": ["Who were born on May 3 in the Czech Republic?", "List all humans born on May 3 in the Czech Republic, including their names and optionally their date of death, sorted by birth date."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var2 <http://wikiba.se/ontology#timePrecision> \"11\"^^<http://www.w3.org/2001/XMLSchema#integer> . ?var2 <http://wikiba.se/ontology#timeValue> ?var3 . FILTER ( ( ( YEAR ( ?var3 ) > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( DAY ( ?var3 ) = \"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( MONTH ( ?var3 ) = \"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var1 ( <http://www.wikidata.org/prop/P569> / <http://www.wikidata.org/prop/statement/value/P569> ) ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q213> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var5 . } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . } ORDER BY ASC( ?var3 )ASC( ?var1 ) LIMIT 4999"}}
{"id": "test_8405", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt1417075?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikiPage WHERE {\n  ?movie wdt:P345 \"tt1417075\" .\n  ?wikiPage schema:about ?movie .\n  {\n    ?wikiPage schema:inLanguage \"en\" .\n  } UNION {\n    ?wikiPage schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Show me the Wikipedia articles in English and German about the film In Darkness.", "Which language versions of Wikipedia have articles about the movie identified by tt1417075?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1417075\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8406", "question": "Wikidata items for the Wikipedia pages \"Harry Potter\" and \"Harry Potter (film series)\"", "sparql": "SELECT ?item WHERE { { <https://en.wikipedia.org/wiki/Harry_Potter_(film_series)> schema:about ?item . } UNION { <https://en.wikipedia.org/wiki/Harry_Potter> schema:about ?item . } }", "paraphrases": ["What Wikidata items correspond to the Wikipedia articles about Harry Potter and the Harry Potter film series?", "Please find the Wikidata entities linked to the English Wikipedia pages for Harry Potter and the Harry Potter film series."], "info": {"raw_sparql": "SELECT * WHERE { { <https://en.wikipedia.org/wiki/Harry_Potter_(film_series)> <http://schema.org/about> ?var1 . } UNION { <https://en.wikipedia.org/wiki/Harry_Potter> <http://schema.org/about> ?var1 . } }"}}
{"id": "test_8407", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt2338864?", "sparql": "SELECT ?item ?wikipedia_page WHERE { ?item wdt:P345 \"tt2338864\" . ?wikipedia_page schema:about ?item . ?wikipedia_page schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Show me the Wikipedia articles in English and German about the film Finsterworld.", "Which Wikipedia pages in English and German discuss the movie identified by tt2338864 on IMDb?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2338864\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8408", "question": "What are the English and German Wikipedia pages for the film with IMDb ID tt2320968?", "sparql": "SELECT ?wikipediaPage WHERE { ?film wdt:P345 \"tt2320968\" . ?wikipediaPage schema:about ?film . ?wikipediaPage schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Show me the Wikipedia articles about the movie \"Back on Track\" in English and German languages.", "Which language versions of Wikipedia have articles about the film identified by tt2320968 on IMDb?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2320968\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8409", "question": "Is there a Wikidata item with VIAF ID 33007982?", "sparql": "ASK WHERE { ?item wdt:P214 \"33007982\" . }", "paraphrases": ["Does the Virtual International Authority File identifier 33007982 exist in Wikidata?", "Confirm if the VIAF ID 33007982 is linked to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"33007982\". }"}}
{"id": "test_8410", "question": "List English labels of all Wikimedia templates.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?template ?label WHERE {\n  ?template wdt:P31 wd:Q11266439 .\n  ?template rdfs:label ?label .\n  FILTER ( LANG( ?label ) = 'en' )\n}\nLIMIT 20000", "paraphrases": ["What are the English names of all template pages on Wikimedia projects?", "Show me the English labels for all pages that are templates on Wikimedia sites."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 ?var3Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11266439> . } LIMIT 20000 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sq\". } }"}}
{"id": "test_8411", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt5154896?", "sparql": "SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 \"tt5154896\" . ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Show me the Wikipedia articles in English and German about the film \"The Most Beautiful Day\".", "Which language versions of Wikipedia have articles about the movie identified by tt5154896?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5154896\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8412", "question": "Which pianists have the most information in Wikidata, ranked by the number of facts about them?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?pianist ( COUNT( * ) AS ?statements ) WHERE {\n  ?pianist wdt:P106 wd:Q486748 .\n  ?pianist ?p ?o .\n}\nGROUP BY ?pianist\nORDER BY DESC ( ?statements )\nLIMIT 500", "paraphrases": ["List the top 500 pianists based on how many statements are recorded about them in Wikidata.", "Who are the most documented pianists on Wikidata, ordered by the volume of data available?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q486748> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 500"}}
{"id": "test_8413", "question": "What Wikipedia and Commons pages in English or German are about the movie with IMDb ID tt5376196?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?page WHERE {\n  ?item wdt:P345 \"tt5376196\" .\n  ?page schema:about ?item .\n  ?page schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" )\n}", "paraphrases": ["Show me the English and German language pages linked to the film Wild Mouse on Wikidata.", "Which language versions of Wikipedia or Wikimedia Commons pages are associated with the IMDb entry tt5376196?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5376196\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8414", "question": "English and German Wikipedia/Wikiquote pages about the movie Secret Window (IMDb tt0363988)", "sparql": "SELECT ?movie ?page ?language WHERE { ?movie wdt:P345 \"tt0363988\" . ?page schema:about ?movie ; schema:inLanguage ?language . FILTER(?language = \"en\" || ?language = \"de\") }", "paraphrases": ["What are the English and German language Wikipedia and Wikiquote pages for the movie Secret Window, identified by IMDb ID tt0363988?", "Show me the English and German language pages on Wikipedia and Wikiquote that are about the movie Secret Window with IMDb ID tt0363988."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0363988\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8415", "question": "English or German Wikipedia page for the movie with IMDb ID tt7843946", "sparql": "SELECT ?item ?wikipedia_page WHERE { ?item wdt:P345 \"tt7843946\" . ?wikipedia_page schema:about ?item . { ?wikipedia_page schema:inLanguage \"en\" . } UNION { ?wikipedia_page schema:inLanguage \"de\" . } }", "paraphrases": ["What is the English or German Wikipedia page for the movie identified by IMDb ID tt7843946?", "Show me the Wikipedia page in English or German for the film with IMDb ID tt7843946."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt7843946\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8416", "question": "What are the oldest municipalities in the Czech Republic, based on their first written record?", "sparql": "SELECT ?municipality ?municipalityLabel ?date WHERE { ?municipality wdt:P31 wd:Q5153359 . ?municipality wdt:P1249 ?date . FILTER (isLiteral(?date)) . ?municipality rdfs:label ?municipalityLabel . FILTER (lang(?municipalityLabel) = \"en\") } ORDER BY ASC(YEAR(?date))", "paraphrases": ["Can you list Czech municipalities in order of when they were first mentioned in historical documents, along with their names and dates?", "Show me the earliest recorded settlements in the Czech Republic and when they first appeared in writing."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5153359> . ?var1 <http://www.wikidata.org/prop/direct/P1249> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } } ORDER BY ASC( YEAR ( ?var2 ) )"}}
{"id": "test_8417", "question": "English and German pages about the movie with IMDb ID tt0373051", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?page WHERE {\n  ?movie wdt:P345 \"tt0373051\" .\n  ?page schema:about ?movie .\n  {\n    ?page schema:inLanguage \"en\" .\n  } UNION {\n    ?page schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["What English and German language pages are about the movie with IMDb ID tt0373051?", "Show me the Wikipedia and Wikiquote pages in English and German for the film identified by IMDb ID tt0373051."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0373051\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8418", "question": "Wikipedia and Wikiquote pages in English or German about the film with IMDb ID tt0884328.", "sparql": "SELECT ?film ?page WHERE { ?film wdt:P345 \"tt0884328\" . ?page schema:about ?film . { ?page schema:inLanguage \"en\" . } UNION { ?page schema:inLanguage \"de\" . } }", "paraphrases": ["What English and German language Wikipedia or Wikiquote pages are about the movie \"The Mist\" (IMDb: tt0884328)?", "Show me the English and German language pages on Wikipedia and Wikiquote that are about the film \"The Mist\", identified by its IMDb ID tt0884328."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0884328\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8419", "question": "Image of Jimmie Rodgers with SNAC ARK ID w6fj2f5r", "sparql": "SELECT ?image WHERE { wd:Q366358 wdt:P3430 \"w6fj2f5r\" . OPTIONAL { wd:Q366358 wdt:P18 ?image . } }", "paraphrases": ["What is the image of Jimmie Rodgers, who has the SNAC ARK ID w6fj2f5r?", "Show me the Wikimedia Commons image of the person whose SNAC ARK ID is w6fj2f5r."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6fj2f5r\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8420", "question": "People who are Egyptian citizens or speak Arabic.", "sparql": "SELECT ?person ?personLabel ?languageOrCountryLabel WHERE { ?person wdt:P31 wd:Q5 . { ?person wdt:P27 wd:Q79 . BIND(wd:Q79 AS ?languageOrCountry) } UNION { ?person wdt:P1412 wd:Q13955 . BIND(wd:Q13955 AS ?languageOrCountry) } ?person rdfs:label ?personLabel . ?languageOrCountry rdfs:label ?languageOrCountryLabel . FILTER(LANG(?personLabel) = \"en\") FILTER(LANG(?languageOrCountryLabel) = \"en\") }", "paraphrases": ["Who are the humans that are citizens of Egypt or speak Arabic?", "List the names of people who are either Egyptian citizens or speak Arabic, along with whether they are associated with Egypt or Arabic."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . { ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q79> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P1412> <http://www.wikidata.org/entity/Q13955> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_8421", "question": "Top 500 boxers with the most Wikipedia articles", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ( COUNT( ?sitelink ) AS ?sitelinkCount ) WHERE {\n  ?person wdt:P106 wd:Q11338576 ; wdt:P31 wd:Q5 .\n  ?sitelink schema:about ?person ; schema:isPartOf ?wiki .\n  FILTER ( STRSTARTS( STR( ?wiki ) , \"https://\" ) )\n}\nGROUP BY ?person\nORDER BY DESC ( ?sitelinkCount )\nLIMIT 500", "paraphrases": ["Who are the most famous boxers based on how many language versions of Wikipedia have articles about them?", "List the top 500 human boxers ordered by the number of Wikipedia language editions that have articles about them."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q2631720> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 500"}}
{"id": "test_8422", "question": "Who are the humans named Simon in French?", "sparql": "SELECT DISTINCT ?item WHERE { ?item rdfs:label \"Simon\"@fr . ?item wdt:P31 wd:Q5 . }", "paraphrases": ["Which people have the name 'Simon' in French?", "List all human individuals whose name in French is Simon."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"simon\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8423", "question": "Who has Elonet person ID 965018?", "sparql": "SELECT ?person WHERE { ?person wdt:P2387 \"965018\" } LIMIT 1", "paraphrases": ["Which person in Wikidata is identified by the Elonet ID 965018?", "Find the Wikidata item for the Elonet actor ID 965018."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2387> \"965018\". } LIMIT 1"}}
{"id": "test_8424", "question": "Does the IMDb ID \"tt1173427\" exist in Wikidata?", "sparql": "ASK WHERE { ?item wdt:P345 \"tt1173427\" . }", "paraphrases": ["Is there a Wikidata item associated with the IMDb identifier tt1173427?", "Can you confirm that tt1173427 is a valid IMDb ID in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1173427\". }"}}
{"id": "test_8425", "question": "Does the IMDb ID tt4547948 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P345 \"tt4547948\" .\n}", "paraphrases": ["Is there a Wikidata item associated with the IMDb identifier tt4547948?", "Can you confirm that the TV series 'The Three-Body Problem' has an entry in Wikidata using its IMDb ID tt4547948?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt4547948\". }"}}
{"id": "test_8426", "question": "Who has the IMDb ID nm0000217?", "sparql": "SELECT ?person WHERE { ?person wdt:P345 \"nm0000217\" . } LIMIT 1", "paraphrases": ["Which person on Wikidata is associated with the IMDb identifier nm0000217?", "Tell me the Wikidata entity for the IMDb ID nm0000217."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"nm0000217\". } LIMIT 1"}}
{"id": "test_8427", "question": "Who has the IMDb ID nm0001485?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P345 \"nm0001485\" .\n}\nLIMIT 1", "paraphrases": ["Which Wikidata item corresponds to the IMDb identifier nm0001485?", "Find the person in Wikidata whose IMDb ID is nm0001485."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"nm0001485\". } LIMIT 1"}}
{"id": "test_8428", "question": "Countries with their English and French names and international calling codes.", "sparql": "SELECT ?country ?labelEn ?labelFr ?callingCode WHERE { ?country wdt:P31 wd:Q6256 . ?country rdfs:label ?labelEn . ?country rdfs:label ?labelFr . FILTER (LANG(?labelEn) = \"en\") . FILTER (LANG(?labelFr) = \"fr\") . OPTIONAL { ?country wdt:P474 ?callingCode . } }", "paraphrases": ["What are the English and French names of all countries, along with their phone calling codes?", "Please list all countries, showing their labels in English and French, and their country calling codes if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"fr\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P474> ?var4 . } }"}}
{"id": "test_8429", "question": "What are some UK-based organizations focused on marine conservation?", "sparql": "SELECT DISTINCT ?item ?itemLabel WHERE { ?item wdt:P2650 wd:Q1916831 . ?item wdt:P159 / wdt:P131* / wdt:P17 wd:Q145 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } LIMIT 100", "paraphrases": ["Can you list marine conservation groups that have their headquarters in the United Kingdom?", "Which organizations in the UK work to protect oceans and marine ecosystems?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P2650> <http://www.wikidata.org/entity/Q1916831> . ?var1 <http://www.wikidata.org/prop/direct/P495> <http://www.wikidata.org/entity/Q145> . } LIMIT 100"}}
{"id": "test_8430", "question": "Is the Shoe-making Oven Museum in La Haye-de-Routot a type of software?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  wd:Q3280124 wdt:P31 ?type .\n  ?type wdt:P279 * wd:Q7397 .\n}", "paraphrases": ["Does the entity Q3280124 belong to a category that is a subclass of software?", "Is a museum considered a form of software?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q3280124> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_8431", "question": "Who were the members of the French National Assembly during the 15th legislature (2017\u20132022), and when did their terms begin?", "sparql": "SELECT ?member ?startDate WHERE { ?member wdt:P39 wd:Q3044918 . ?member p:P39 ?statement . ?statement pq:P2937 wd:Q24939798 . OPTIONAL { ?statement pq:P580 ?startDate . } }", "paraphrases": ["List of members of the 15th French National Assembly and their start dates", "Can you tell me the names of people who served in the 15th legislature of the French National Assembly and the dates they started their terms?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q3044918> . ?var1 <http://www.wikidata.org/prop/P39> ?var3 . ?var3 <http://www.wikidata.org/prop/qualifier/P2937> <http://www.wikidata.org/entity/Q24939798> . OPTIONAL { ?var3 <http://www.wikidata.org/prop/qualifier/P580> ?var2 . } }"}}
{"id": "test_8432", "question": "Sculptors from Spain and the languages they speak", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?sculptor ?sculptorLabel ?language ?languageLabel WHERE {\n  ?sculptor wdt:P106 wd:Q1281618 .\n  ?sculptor wdt:P27 wd:Q29 .\n  OPTIONAL {\n    ?sculptor wdt:P1412 ?language .\n    ?language rdfs:label ?languageLabel .\n    FILTER ( LANG( ?languageLabel ) = \"en\" )\n  }\n  ?sculptor rdfs:label ?sculptorLabel .\n  FILTER ( LANG( ?sculptorLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Who are the sculptors from Spain, and what languages do they speak?", "List all sculptors who are citizens of Spain along with the languages they speak."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1281618> . OPTIONAL { } ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q29> . ?var1 <http://www.wikidata.org/prop/direct/P1412> <http://www.wikidata.org/entity/Q9307> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1412> ?var2 . } } LIMIT 100"}}
{"id": "test_8433", "question": "Members of the 15th French National Assembly with their start dates and images, ordered by start date.", "sparql": "SELECT ?member ?memberLabel ?startDate ?image WHERE { ?member wdt:P39 wd:Q3044918 . ?member p:P39 ?term . ?term pq:P2937 wd:Q24939798 . OPTIONAL { ?term pq:P580 ?startDate . } OPTIONAL { ?member wdt:P18 ?image . } OPTIONAL { ?member wdt:P569 ?birthDate . } ?member rdfs:label ?memberLabel . FILTER(LANG(?memberLabel) = \"en\") } ORDER BY ASC(?startDate) ASC(?birthDate)", "paraphrases": ["Who are the members of the 15th legislature of the French National Assembly, when did their terms begin, and do they have photos available?", "List all members of the 15th French National Assembly along with the start date of their term and their official photo, sorted by when they started and then by their date of birth."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q3044918> . ?var1 <http://www.wikidata.org/prop/P39> ?var5 . ?var5 <http://www.wikidata.org/prop/qualifier/P2937> <http://www.wikidata.org/entity/Q24939798> . OPTIONAL { ?var5 <http://www.wikidata.org/prop/qualifier/P580> ?var2 . } OPTIONAL { ?var5 <http://www.wikidata.org/prop/qualifier/P768> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } } GROUP BY ?var1 ?var1Label ?var2 ORDER BY ASC( ?var2 )ASC( ?var7 )"}}
{"id": "test_8434", "question": "List of sovereign states referenced as countries in Wikidata.", "sparql": "SELECT DISTINCT ?country ?countryLabel WHERE { ?item wdt:P17 ?country . ?country wdt:P31 wd:Q3624078 . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") } LIMIT 1000", "paraphrases": ["Which countries are associated with entities in Wikidata as their sovereign state?", "Show me the names of all modern sovereign states that are used as the country value for any entity in Wikidata, in English."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P17> ?var1 . } LIMIT 1000"}}
{"id": "test_8435", "question": "List all episodes of Brooklyn Nine-Nine with their episode numbers, IMDb IDs, air dates, and neighboring episodes.", "sparql": "SELECT DISTINCT \n  ?episode \n  ?episodeNumber \n  ?subseries \n  ?subseriesNumber \n  ?imdb \n  ?airDate \n  ?previousEpisode \n  ?nextEpisode \nWHERE {\n  ?episode wdt:P31 wd:Q21191270 .  # instance of television series episode\n  ?episode wdt:P179 wd:Q13417244 . # part of Brooklyn Nine-Nine\n\n  OPTIONAL { ?episode wdt:P361 ?subseries . }  # part of sub-series\n  OPTIONAL { ?episode wdt:P1191 ?airDate . }   # air date\n  OPTIONAL { ?episode wdt:P345 ?imdb . }       # IMDb ID\n  OPTIONAL { ?episode wdt:P155 ?previousEpisode . }  # previous episode\n  OPTIONAL { ?episode wdt:P156 ?nextEpisode . }      # next episode\n\n  # Get episode number in main series\n  ?episode p:P179 ?statement .\n  ?statement pq:P1545 ?episodeNumber .\n\n  # Get episode number in sub-series\n  OPTIONAL {\n    ?episode p:P361 ?substatement .\n    ?substatement pq:P1545 ?subseriesNumber .\n  }\n}\nORDER BY ASC(?airDate) ASC(?episodeNumber)", "paraphrases": ["What are the episode numbers, IMDb IDs, and air dates of all Brooklyn Nine-Nine episodes, along with the episodes that come before and after each one?", "Please provide a sorted list of Brooklyn Nine-Nine episodes showing their position in the series, IMDb identifiers, premiere dates, and the episodes that precede and follow them."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q21191270> . ?var3 <http://www.wikidata.org/prop/direct/P179> <http://www.wikidata.org/entity/Q13417244> . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P361> ?var2 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1191> ?var7 . } ?var3 <http://www.wikidata.org/prop/direct/P179> ?var1 . ?var3 <http://www.wikidata.org/prop/P179> ?var10 . OPTIONAL { ?var10 <http://www.wikidata.org/prop/qualifier/P1545> ?var4 . } ?var3 <http://www.wikidata.org/prop/P361> ?var11 . OPTIONAL { ?var11 <http://www.wikidata.org/prop/qualifier/P1545> ?var5 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P345> ?var6 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P155> ?var8 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P156> ?var9 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,es\". } } ORDER BY ASC( ?var7 )ASC( ?var1 )ASC( <http://www.w3.org/2001/XMLSchema#integer> ( ?var4 ) )"}}
{"id": "test_8436", "question": "Does the IMDb ID nm1978582 exist in Wikidata?", "sparql": "ASK WHERE { ?item wdt:P345 \"nm1978582\" . }", "paraphrases": ["Is there a person in Wikidata with the IMDb identifier nm1978582?", "Check if the IMDb ID nm1978582 is linked to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"nm1978582\". }"}}
{"id": "test_8437", "question": "What are the German or English Wikipedia pages for the film with IMDb ID tt1473352?", "sparql": "SELECT ?item ?wikipediaPage ?imdbId WHERE { ?item wdt:P345 \"tt1473352\" . ?wikipediaPage schema:about ?item . { ?wikipediaPage schema:inLanguage \"en\" . } UNION { ?wikipediaPage schema:inLanguage \"de\" . } ?item wdt:P345 ?imdbId .}", "paraphrases": ["Which Wikipedia articles in German or English are about the movie 'The Crocodiles Strike Back'?", "Show me the Wikipedia links in German or English for the movie identified by IMDb ID tt1473352, along with its IMDb ID."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1473352\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8438", "question": "What films and TV shows were produced by Warner Bros.?", "sparql": "SELECT ?workLabel WHERE { ?work wdt:P272 wd:Q126399 . ?work rdfs:label ?workLabel . FILTER(LANG(?workLabel) = \"en\") }", "paraphrases": ["Can you list the English titles of all works produced by Warner Bros.?", "Which movies and shows has Warner Bros. produced, according to Wikidata?"], "info": {"raw_sparql": "SELECT ?var1Label WHERE { <http://www.wikidata.org/entity/Q126399> ^ <http://www.wikidata.org/prop/direct/P162> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_8439", "question": "Is there a Wikidata item for the German National Library ID \"1703722-0\"?", "sparql": "ASK WHERE { ?item wdt:P227 \"1703722-0\" . }", "paraphrases": ["Does the entity with GND ID 1703722-0 exist in Wikidata?", "Confirm whether the GND ID 1703722-0 is assigned to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"1703722-0\". }"}}
{"id": "test_8440", "question": "Wikidata item with VIAF ID 142977341", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P214 \"142977341\" .\n}\nLIMIT 1", "paraphrases": ["Who is the artist associated with the VIAF identifier 142977341?", "Tell me the name of the person identified by the VIAF cluster ID 142977341."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"142977341\". } LIMIT 1"}}
{"id": "test_8441", "question": "What English and German Wikipedia and Wikiquote pages are about the movie with IMDb ID tt0362227?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?page WHERE {\n  ?movie wdt:P345 \"tt0362227\" .\n  ?page schema:about ?movie .\n  {\n    ?page schema:inLanguage \"en\" .\n  } UNION {\n    ?page schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Which language-specific wiki pages (in English or German) discuss the film \"The Terminal\" (IMDb: tt0362227)?", "Show me the English and German Wikipedia and Wikiquote links for the movie \"The Terminal\" identified by its IMDb ID tt0362227."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0362227\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8442", "question": "What are the ISNI, VIAF, and ZooBank ID identifiers for the paleontologist D. M. S. Watson?", "sparql": "SELECT ?person ?label ?isni ?viaf ?zooBankId WHERE { ?person rdfs:label \"D. M. S. Watson\"@en . ?person wdt:P31 wd:Q5 . OPTIONAL { ?person wdt:P213 ?isni . } OPTIONAL { ?person wdt:P214 ?viaf . } OPTIONAL { ?person wdt:P2006 ?zooBankId . } BIND(\"D. M. S. Watson\" AS ?label) }", "paraphrases": ["Can you find the international identifiers for D. M. S. Watson, including ISNI, VIAF, and ZooBank?", "Who is D. M. S. Watson, and what are his author identifiers in scientific databases?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"i a watson\"@en . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/isPartOf> <https://species.wikimedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P213> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P214> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P586> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2006> ?var8 . } }"}}
{"id": "test_8443", "question": "What properties link Heidelsburg to other entities, and what properties do those entities have?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?prop ?propLabel ?obj ?objLabel ?prop2 ?prop2Label ?obj2 ?obj2Label WHERE {\n  wd:Q22607 ?prop ?obj .\n  FILTER ( STRSTARTS( STR( ?obj ) , \"http://www.wikidata.org/entity/\" ) ) .\n  ?obj ?prop2 ?obj2 .\n  FILTER ( STRSTARTS( STR( ?obj2 ) , \"http://www.wikidata.org/entity/\" ) ) .\n  OPTIONAL {\n    ?prop rdfs:label ?propLabel .\n    FILTER ( LANG( ?propLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?obj rdfs:label ?objLabel .\n    FILTER ( LANG( ?objLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?prop2 rdfs:label ?prop2Label .\n    FILTER ( LANG( ?prop2Label ) = \"en\" )\n  }\n  OPTIONAL {\n    ?obj2 rdfs:label ?obj2Label .\n    FILTER ( LANG( ?obj2Label ) = \"en\" )\n  }\n}", "paraphrases": ["Which entities are directly associated with Heidelsburg, and what other properties do those entities have?", "Show me the chain of relationships from Heidelsburg to other entities and then to their properties, with English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label WHERE { ?var3 <http://wikiba.se/ontology#claim> ?var5 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#qualifier> ?var7 . ?var3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var4 <http://wikiba.se/ontology#claim> ?var8 . ?var4 <http://wikiba.se/ontology#qualifier> ?var9 . ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var1 ?var5 ?var10 . ?var10 ?var6 ?var2 . ?var10 ?var9 <http://www.wikidata.org/entity/Q22607> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8444", "question": "What is the image of the person with SNAC ARK ID w6hh9v9f?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6hh9v9f\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Image of John Weston Brooke (SNAC ARK ID: w6hh9v9f)", "Show me the Wikimedia Commons image associated with the SNAC ARK ID w6hh9v9f."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6hh9v9f\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8445", "question": "Which Wikidata items have Twitter usernames \"OL\" or \"memphis\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  FILTER(?username = \"OL\" || ?username = \"memphis\")\n}\nORDER BY ASC(?username)", "paraphrases": ["Who are the people or organizations on Wikidata with the Twitter handles \"OL\" and \"memphis\"?", "Show me the entities in Wikidata that are associated with the Twitter usernames \"OL\" and \"memphis\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"OL\" ) ( \"ActuFoot_\" ) ( \"OnlyGones\" ) ( \"string1\" ) ( \"OL_English\" ) ( \"string2\" ) ( \"VideosCDL1\" ) ( \"string3\" ) ( \"WyseFIFA\" ) ( \"sftbI\" ) ( \"Memphis\" ) ( \"losclive\" ) ( \"StadePM\" ) ( \"RMCsport\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8446", "question": "What books or articles have been written by members of the German political party AfD?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?work ?workTitle ?author ?authorLabel WHERE {\n  ?work wdt:P50 ?author .\n  ?author wdt:P31 wd:Q5 ; wdt:P102 wd:Q6721203 .\n  ?work wdt:P1476 ?workTitle .\n  ?author rdfs:label ?authorLabel .\n  FILTER(LANG(?workTitle) = \"de\" || LANG(?workTitle) = \"\")\n  FILTER(LANG(?authorLabel) = \"de\" || LANG(?authorLabel) = \"\")\n}", "paraphrases": ["Show me the titles of works authored by humans who are members of the Alternative f\u00fcr Deutschland party.", "Which German-language publications are authored by individuals affiliated with the AfD political party?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P50> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P102> <http://www.wikidata.org/entity/Q6721203> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,de,en\". } }"}}
{"id": "test_8447", "question": "What Wikipedia and Wikiquote pages in English or German are about the movie with IMDb ID tt6133466?", "sparql": "SELECT ?item ?wiki_page WHERE { ?item wdt:P345 \"tt6133466\" . ?wiki_page schema:about ?item . { ?wiki_page schema:inLanguage \"en\" . } UNION { ?wiki_page schema:inLanguage \"de\" . } }", "paraphrases": ["Show me the language-specific Wikipedia and Wikiquote links for the film \"The First Purge\" (IMDb: tt6133466).", "Which language versions of Wikipedia and Wikiquote have articles about the movie identified by IMDb ID tt6133466?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6133466\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8448", "question": "List humans born on January 30, 1967, with their English names, genders, occupations, social media handles, and IMDb or Rotten Tomatoes IDs.", "sparql": "SELECT ?human ?humanLabel ?birthName (GROUP_CONCAT(DISTINCT ?gender; SEPARATOR=\";\") AS ?genders) (GROUP_CONCAT(DISTINCT ?occupation; SEPARATOR=\";\") AS ?occupations) ?website ?instagram ?twitter ?facebook ?birthDate ?deathDate ?imdbId ?rottenTomatoesId WHERE { ?human wdt:P31 wd:Q5 . ?human rdfs:label ?humanLabel . FILTER(LANG(?humanLabel) = \"en\") . ?human wdt:P569 \"1967-01-30T00:00:00Z\"^^xsd:dateTime . OPTIONAL { ?human wdt:P1477 ?birthName . FILTER(LANG(?birthName) = \"en\") } OPTIONAL { ?human wdt:P21 ?gender } OPTIONAL { ?human wdt:P106 ?occupation } OPTIONAL { ?human wdt:P856 ?website } OPTIONAL { ?human wdt:P2003 ?instagram } OPTIONAL { ?human wdt:P2002 ?twitter } OPTIONAL { ?human wdt:P2013 ?facebook } OPTIONAL { ?human wdt:P570 ?deathDate } OPTIONAL { ?human wdt:P345 ?imdbId } OPTIONAL { ?human wdt:P1258 ?rottenTomatoesId } } GROUP BY ?human ?humanLabel ?birthName ?website ?instagram ?twitter ?facebook ?birthDate ?deathDate ?imdbId ?rottenTomatoesId", "paraphrases": ["Who were the people born on January 30, 1967, and what are their occupations, genders, and online profiles?", "Show me all people born on January 30, 1967, including their English names, possible birth names, genders, occupations, social media usernames, websites, death dates, and identifiers on IMDb and Rotten Tomatoes."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ( GROUP_CONCAT ( DISTINCT ?var3 ; SEPARATOR = \";\" ) AS ?var4 )( GROUP_CONCAT ( DISTINCT ?var5 ; SEPARATOR = \";\" ) AS ?var6 ) ?var7 ?var8 ?var9 ?var10 ?var11 ?var12 ?var13 ?var14 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 ?var15Label \"string1\"@en . ?var1 <http://www.wikidata.org/prop/direct/P21> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1477> ?var2 . FILTER ( ( LANGMATCHES ( LANG ( ?var2 ) , \"en\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2003> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2013> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var11 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var12 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P345> ?var13 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1258> ?var14 . } FILTER ( ( ( ?var11 = \"1967-01-30T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var1Label ?var2 ?var7 ?var8 ?var9 ?var10 ?var11 ?var12 ?var13 ?var14"}}
{"id": "test_8449", "question": "Most common French first names among members of the French National Assembly during the 2017\u20132022 term.", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ?givenNameLabel ( COUNT( * ) AS ?count ) WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person p:P39 ?statement .\n  ?statement ps:P39 wd:Q3044918 .\n  ?statement pq:P2937 wd:Q24939798 .\n  ?person wdt:P735 ?givenName .\n  ?givenName rdfs:label ?givenNameLabel .\n  FILTER ( LANG( ?givenNameLabel ) = \"fr\" )\n}\nGROUP BY ?givenNameLabel\nHAVING ( ?count >= 3 )\nORDER BY DESC ( ?count )", "paraphrases": ["What are the most frequent given names of French National Assembly members in the 15th legislature, and how many people had each name?", "Show me the French first names shared by at least three members of the French National Assembly between 2017 and 2022, ranked by popularity."], "info": {"raw_sparql": "SELECT ?var1Label ( COUNT (* ) AS ?var2 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var3 <http://www.wikidata.org/prop/P39> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q3044918> . ?var4 <http://www.wikidata.org/prop/qualifier/P2937> <http://www.wikidata.org/entity/Q24939798> . ?var3 <http://www.wikidata.org/prop/direct/P735> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } GROUP BY ?var1Label HAVING ( ( ?var2 >= \"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var2 )"}}
{"id": "test_8450", "question": "List suburbs and the administrative areas they belong to.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?suburb ?administrativeEntity WHERE {\n  ?suburb wdt:P31 wd:Q188509 .\n  ?suburb wdt:P131 ?administrativeEntity .\n}\nLIMIT 10", "paraphrases": ["What administrative entities are suburbs located in?", "Show me examples of suburbs along with the cities, counties, or regions they are part of."], "info": {"raw_sparql": "SELECT( isIRI ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var3 ?var1 ?var4 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q188509> . ?var3 <http://www.wikidata.org/prop/direct/P131> ?var1 . } } } LIMIT 1"}}
{"id": "test_8451", "question": "Image of Julius Richard B\u00fcchi with SNAC ARK ID w6jv4hp3", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6jv4hp3\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Julius Richard B\u00fcchi in Wikidata, given his SNAC ARK ID is w6jv4hp3?", "Show me the Wikimedia Commons image for the person identified by the SNAC ARK ID w6jv4hp3."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6jv4hp3\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8452", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt4698684?", "sparql": "SELECT ?wikipediaPage ?imdbId WHERE { ?movie wdt:P345 \"tt4698684\" . ?wikipediaPage schema:about ?movie . ?wikipediaPage schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") . BIND(\"tt4698684\" AS ?imdbId) }", "paraphrases": ["Show me the Wikipedia articles in English and German about the film identified by tt4698684 on IMDb.", "I'm looking for the Wikipedia links in English and German for the movie that has the IMDb identifier tt4698684."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt4698684\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8453", "question": "Does Wikidata contain an entity with the GND ID 514542-9?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P227 \"514542-9\" .\n}", "paraphrases": ["Is there a record in Wikidata for the German National Library ID 514542-9?", "Does the Bonifatiushaus in Fulda have a GND ID of 514542-9?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"514542-9\". }"}}
{"id": "test_8454", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt5716380?", "sparql": "SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 \"tt5716380\" . ?wikipedia_page schema:about ?movie . { ?wikipedia_page schema:inLanguage \"en\" . } UNION { ?wikipedia_page schema:inLanguage \"de\" . } }", "paraphrases": ["Show me the Wikipedia page for the film \"Thumper\" in English or German.", "Which Wikipedia articles in English or German are about the movie identified by IMDb ID tt5716380?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5716380\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8455", "question": "List all episodes of the TV series Numbers with their IMDb IDs.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?episode ?episodeLabel ?imdbId WHERE {\n  ?episode wdt:P31 wd:Q21191270 .\n  ?episode wdt:P179 wd:Q5935 .\n  OPTIONAL {\n    ?episode wdt:P345 ?imdbId .\n  }\n  ?episode rdfs:label ?episodeLabel .\n  FILTER ( LANG( ?episodeLabel ) = \"en\" )\n}\nORDER BY ?episodeLabel", "paraphrases": ["What are the English titles of all episodes of the TV show Numbers, and what are their IMDb identifiers?", "Please provide the names and IMDb IDs of every episode from the television series Numbers."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 ?var12 ?var13 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q21191270> . ?var3 <http://www.wikidata.org/prop/direct/P179> <http://www.wikidata.org/entity/Q5935> . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P361> ?var2 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1191> ?var7 . } ?var3 <http://www.wikidata.org/prop/direct/P179> ?var1 . ?var3 <http://www.wikidata.org/prop/P179> ?var14 . ?var14 <http://www.wikidata.org/prop/qualifier/P1545> ?var4 . ?var3 <http://www.wikidata.org/prop/P361> ?var15 . OPTIONAL { ?var15 <http://www.wikidata.org/prop/qualifier/P1545> ?var5 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P345> ?var6 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P155> ?var8 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P156> ?var9 . } OPTIONAL { ?var15 <http://www.wikidata.org/prop/qualifier/P155> ?var10 . } OPTIONAL { ?var15 <http://www.wikidata.org/prop/qualifier/P156> ?var11 . } OPTIONAL { ?var14 <http://www.wikidata.org/prop/qualifier/P155> ?var12 . } OPTIONAL { ?var14 <http://www.wikidata.org/prop/qualifier/P156> ?var13 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it\". } } ORDER BY ASC( ?var1 )ASC( <http://www.w3.org/2001/XMLSchema#integer> ( ?var4 ) )"}}
{"id": "test_8456", "question": "Wikipedia and Wikiquote pages in English or German about the movie Re-Animator (IMDb tt0089885)", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?page WHERE {\n  ?movie wdt:P345 \"tt0089885\" .\n  {\n    ?page schema:about ?movie ; schema:inLanguage \"en\" .\n  } UNION {\n    ?page schema:about ?movie ; schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["What Wikipedia and Wikiquote pages in English or German are about the movie with IMDb ID tt0089885?", "Show me all English and German language pages on Wikipedia and Wikiquote that are about the film Re-Animator."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0089885\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8457", "question": "Wikidata items with Commons categories referenced by the same category, in English.", "sparql": "SELECT ?item ?itemLabel WHERE {\n  ?item wdt:P373 ?category .\n  ?item ?p ?statement .\n  ?statement prov:wasDerivedFrom ?ref .\n  ?ref pr:P373 ?category .\n  ?item rdfs:label ?itemLabel .\n  FILTER (LANG(?itemLabel) = \"en\")\n}\nLIMIT 3", "paraphrases": ["Which Wikidata items have their own Commons category used as a reference source, and what are their English labels?", "Show me the English labels of Wikidata items that are referenced using their own Wikimedia Commons category."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var2 <http://www.w3.org/ns/prov#wasDerivedFrom> ?var3 . ?var3 <http://www.wikidata.org/prop/reference/P373> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } LIMIT 3"}}
{"id": "test_8458", "question": "List of landmarks and their coordinates in Paranapiacaba, Brazil.", "sparql": "SELECT ?place ?placeLabel ?coordinates WHERE { ?place wdt:P131 wd:Q15963338 . ?place wdt:P625 ?coordinates . ?place rdfs:label ?placeLabel . FILTER(LANG(?placeLabel) = \"en\") } LIMIT 100", "paraphrases": ["What are the geographic coordinates of places located in Paranapiacaba?", "Show me the names and GPS coordinates of all notable locations within the Paranapiacaba district of S\u00e3o Paulo, Brazil."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q15963338> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } LIMIT 100"}}
{"id": "test_8459", "question": "Image of William Ivey Long with SNAC ARK ID w6088p6k", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6088p6k\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w6088p6k?", "Show me the Wikimedia Commons image for the person identified by SNAC ARK ID w6088p6k."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6088p6k\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8460", "question": "Film with exploitation mark number 64665", "sparql": "SELECT ?film WHERE { ?film wdt:P2755 \"64665\" . }", "paraphrases": ["What film is associated with the French exploitation mark number 64665?", "Tell me the film that has the exploitation visa number 64665."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2755> \"64665\". }"}}
{"id": "test_8461", "question": "Does Transfermarkt ID 952 correspond to a football player in Wikidata?", "sparql": "ASK WHERE { ?player wdt:P2446 \"952\" . }", "paraphrases": ["Is there a football player in Wikidata with the Transfermarkt ID \"952\"?", "Confirm if the Transfermarkt player ID \"952\" is assigned to any footballer in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2446> \"952\". }"}}
{"id": "test_8462", "question": "Humans born in early 1965 with place of birth and citizenship", "sparql": "SELECT ?human ?humanLabel ?dateOfBirth ?placeOfBirthLabel ?countryOfCitizenshipLabel ?countryOfCitizenship WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P569 ?dateOfBirth . OPTIONAL { ?human wdt:P19 ?placeOfBirth . ?placeOfBirth rdfs:label ?placeOfBirthLabel . FILTER(LANG(?placeOfBirthLabel) = \"en\") } OPTIONAL { ?human wdt:P27 ?countryOfCitizenship . ?countryOfCitizenship rdfs:label ?countryOfCitizenshipLabel . FILTER(LANG(?countryOfCitizenshipLabel) = \"en\") } FILTER ( ?dateOfBirth >= \"1965-01-02\"^^xsd:date && ?dateOfBirth < \"1965-07-01\"^^xsd:date ) } ORDER BY ASC(?human)", "paraphrases": ["Who were the people born between January 2 and July 1, 1965, and where were they born and what countries did they belong to?", "List all humans born in the first half of 1965, including their birthplace and country of citizenship, with English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var9 . } BIND ( ( ( ?var5 - ?var2 ) /\"365.2425\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) AS ?var10 ). FILTER ( ( ( ?var2 >= \"1965-01-02\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 < \"1965-07-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_8463", "question": "Wikipedia and Wikiquote pages in English or German about the movie \"Sixteen Candles\" (IMDb tt0088128)", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?page WHERE {\n  ?movie wdt:P345 \"tt0088128\" .\n  ?page schema:about ?movie .\n  {\n    ?page schema:inLanguage \"en\" .\n  } UNION {\n    ?page schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["What English and German language Wikipedia and Wikiquote pages are about the movie with IMDb ID tt0088128?", "Show me the English and German language pages on Wikipedia and Wikiquote that are about the movie \"Sixteen Candles\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0088128\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8464", "question": "English and German Wikipedia pages for the movie with IMDb ID tt1538403", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?page WHERE {\n  ?movie wdt:P345 \"tt1538403\" .\n  ?page schema:about ?movie .\n  VALUES ?lang {\n    \"en\" \"de\"\n  }\n  ?page schema:inLanguage ?lang .\n  FILTER(regex(str(?page) , \"wikipedia.org\"))\n}", "paraphrases": ["What are the English and German Wikipedia articles for the movie \"The Mortal Instruments: City of Bones\"?", "Show me the Wikipedia pages in English and German for the film identified by IMDb ID tt1538403."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1538403\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8465", "question": "English or German Wikipedia page for the movie with IMDb ID tt2085930", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?wikipedia_page WHERE {\n  ?item wdt:P345 \"tt2085930\" .\n  ?wikipedia_page schema:about ?item .\n  {\n    ?wikipedia_page schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipedia_page schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["What is the English or German Wikipedia page for the movie Starship Troopers: Invasion?", "Show me the Wikipedia page in English or German for the film identified by IMDb ID tt2085930."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2085930\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8466", "question": "What English and German web pages are about the movie Frankenstein (1931) with IMDb ID tt0021884?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?page WHERE {\n  ?item wdt:P345 \"tt0021884\" .\n  ?page schema:about ?item .\n  ?page schema:inLanguage ?lang .\n  FILTER ( ?lang IN ( \"en\" , \"de\" ) )\n}", "paraphrases": ["Which Wikipedia and Wikiquote pages in English or German discuss the 1931 film Frankenstein?", "Show me all external pages in English or German that are about the film Frankenstein (1931), identified by its IMDb ID tt0021884."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0021884\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8467", "question": "What are the English and German Wikipedia articles for the movie with IMDb ID tt0367093?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipedia_article WHERE {\n  ?movie wdt:P345 \"tt0367093\" .\n  ?wikipedia_article schema:about ?movie .\n  {\n    ?wikipedia_article schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipedia_article schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Show me the Wikipedia pages in English and German about the film identified by IMDb ID tt0367093."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0367093\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8468", "question": "Paintings by Edwin Austin Abbey", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?painting WHERE {\n  ?painting wdt:P31 wd:Q3305213 .\n  ?painting wdt:P170 wd:Q259538 .\n}\nLIMIT 1000", "paraphrases": ["What paintings were created by Edwin Austin Abbey?", "List all paintings created by the American artist Edwin Austin Abbey."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . ?var1 <http://www.wikidata.org/prop/direct/P170> <http://www.wikidata.org/entity/Q259538> . } LIMIT 1000"}}
{"id": "test_8469", "question": "English and German Wikipedia pages for the movie with IMDb ID tt1441395.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?wiki_page WHERE {\n  ?movie wdt:P345 \"tt1441395\" .\n  ?wiki_page schema:about ?movie ; schema:inLanguage ?lang .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n}", "paraphrases": ["What are the English and German Wikipedia articles for the film Under the Skin (2013)?", "Show me the English and German Wikipedia links for the movie identified by IMDb ID tt1441395."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1441395\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8470", "question": "English and German Wikipedia pages for the movie with IMDb ID tt0345061.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipediaPage WHERE {\n  ?movie wdt:P345 \"tt0345061\" .\n  ?wikipediaPage schema:about ?movie ; schema:inLanguage ?language .\n  FILTER ( ?language = \"en\" || ?language = \"de\" )\n}", "paraphrases": ["What are the English and German Wikipedia articles for the film Code 46?", "Show me the English and German Wikipedia links for the movie identified by IMDb ID tt0345061."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0345061\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8471", "question": "English and German Wikipedia and Wikiquote pages for the movie with IMDb ID tt0398165.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?page WHERE {\n  VALUES ?imdbId {\n    \"tt0398165\"\n  }\n  ?movie wdt:P345 ?imdbId .\n  ?page schema:about ?movie .\n  ?page schema:inLanguage ?lang .\n  FILTER(?lang IN(\"en\" , \"de\"))\n}", "paraphrases": ["What English and German language pages on Wikipedia and Wikiquote are about the movie \"The Longest Yard\" (2005)?", "Show me the English and German language links to Wikipedia and Wikiquote for the film identified by IMDb ID tt0398165."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0398165\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8472", "question": "What is the English or German Wikipedia page for the film with IMDb ID tt6149802?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipedia_page WHERE {\n  ?item wdt:P345 \"tt6149802\" .\n  ?wikipedia_page schema:about ?item .\n  {\n    ?wikipedia_page schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipedia_page schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Which Wikipedia pages in English or German are about the movie identified by IMDb ID tt6149802?", "Show me the Wikipedia links in English or German for the film with IMDb identifier tt6149802."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6149802\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8473", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0092112?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipedia_page WHERE {\n  ?movie wdt:P345 \"tt0092112\" .\n  ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang .\n  VALUES ?lang {\n    \"en\" \"de\"\n  }\n}", "paraphrases": ["Show me the Wikipedia articles in English and German about the film identified by tt0092112 on IMDb.", "Which Wikipedia pages in English and German describe the movie \"Trick or Treat\" (1986)?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0092112\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8474", "question": "What is the English or German Wikipedia page for the film with IMDb ID tt4607722?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipediaPage WHERE {\n  ?item wdt:P345 \"tt4607722\" .\n  ?wikipediaPage schema:about ?item .\n  {\n    ?wikipediaPage schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipediaPage schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Can you find the Wikipedia article in English or German about the movie identified by tt4607722 on IMDb?", "Which Wikipedia pages in English or German are linked to the IMDb entry tt4607722?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt4607722\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8475", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt1255919?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipedia_page WHERE {\n  ?movie wdt:P345 \"tt1255919\" .\n  ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang .\n  FILTER ( ?lang IN ( \"en\" , \"de\" ) )\n}", "paraphrases": ["Show me the Wikipedia articles in English and German about the film identified by tt1255919 on IMDb.", "Which Wikipedia pages in English and German discuss the movie Holmes & Watson?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1255919\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8476", "question": "Wikipedia and Wikiquote pages in English or German about the movie with IMDb ID tt0114148.", "sparql": "SELECT ?movie ?page WHERE { ?movie wdt:P345 \"tt0114148\" . ?page schema:about ?movie . ?page schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["What English and German language Wikipedia and Wikiquote pages are about the film with IMDb ID tt0114148?", "Show me all English and German Wikipedia and Wikiquote pages related to the movie Pocahontas (1995), identified by IMDb ID tt0114148."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0114148\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8477", "question": "What is the English label and description of the person with The Numbers ID 387720401?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?person ?personLabel ?description WHERE {\n  ?person wdt:P4657 \"387720401\" .\n  OPTIONAL {\n    ?person schema:description ?description\n    FILTER(LANG(?description) = \"en\")\n  }\n  .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}", "paraphrases": ["Who is the individual identified by the The Numbers person ID 387720401, and what is their English description?", "Find the name and English description of the person linked to the The Numbers identifier 387720401."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4657> \"1124860401\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8478", "question": "English and German Wikipedia or Wikiquote pages about the movie with IMDb ID tt1294226.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?article ?imdbId WHERE {\n  wd:Q900362 wdt:P345 ?imdbId .\n  ?article schema:about wd:Q900362 ; schema:inLanguage ?lang .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n}", "paraphrases": ["What English and German language articles are linked to the movie \"The Last Song\" on IMDb (tt1294226)?", "Show me the English and German Wikipedia and Wikiquote pages about the film \"The Last Song\" (IMDb: tt1294226)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1294226\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8479", "question": "What are the birth and death dates of Iven C. Kincheloe?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  wd:Q3132495 wdt:P31 wd:Q5 .\n  OPTIONAL {\n    wd:Q3132495 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q3132495 wdt:P570 ?deathDate .\n  }\n  wd:Q3132495 rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}", "paraphrases": ["Iven C. Kincheloe birth date and death date", "Can you tell me when Iven C. Kincheloe was born and when he died?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q6098670> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8480", "question": "French and English labels for quantum computer", "sparql": "SELECT ( xsd:string( ?label_fr ) AS ?labelFrench ) ( xsd:string( ?label_en ) AS ?labelEnglish ) WHERE { wd:Q176555 rdfs:label ?label_fr . wd:Q176555 rdfs:label ?label_en . FILTER ( LANGMATCHES( LANG( ?label_fr ), \"FR\" ) ) FILTER ( LANGMATCHES( LANG( ?label_en ), \"EN\" ) ) }", "paraphrases": ["What is the French and English name of a quantum computer?", "Show me the French and English labels for the quantum computer."], "info": {"raw_sparql": "SELECT DISTINCT( <http://www.w3.org/2001/XMLSchema#string> ( ?var1 ) AS ?var2 )( <http://www.w3.org/2001/XMLSchema#string> ( ?var3 ) AS ?var4 ) WHERE { <http://www.wikidata.org/entity/Q176555> <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . <http://www.wikidata.org/entity/Q176555> <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( LANGMATCHES ( LANG ( ?var1 ) , \"FR\" ) ) ) . FILTER ( ( LANGMATCHES ( LANG ( ?var3 ) , \"EN\" ) ) ) . } LIMIT 10"}}
{"id": "test_8481", "question": "What are the birth and death dates of John Tremayne Babington?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?birthDate ?deathDate WHERE {\n  wd:Q6261207 rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) .\n  OPTIONAL {\n    wd:Q6261207 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q6261207 wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["What is the full name, date of birth, and date of death of the person with Wikidata ID Q6261207?", "Can you tell me when John Tremayne Babington was born and when he died?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q6261207> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8482", "question": "What are the birth and death dates of Roy Olmstead?", "sparql": "SELECT ?label ?birth ?death WHERE { wd:Q7373221 rdfs:label ?label . FILTER(LANG(?label) = \"en\") . wd:Q7373221 wdt:P569 ?birth . wd:Q7373221 wdt:P570 ?death . }", "paraphrases": ["Can you tell me the full name, date of birth, and date of death of the Prohibition-era rum-runner Roy Olmstead?", "Who was Roy Olmstead, and when was he born and when did he die?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q7373221> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8483", "question": "What are the birth and death dates of Andronikos Palaiologos?", "sparql": "SELECT ?label ?birthDate ?deathDate WHERE { BIND( wd:Q15715576 AS ?person ) . ?person rdfs:label ?label . FILTER(LANG(?label) = \"en\") . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } }", "paraphrases": ["When was Andronikos Palaiologos born, and when did he die according to Wikidata?", "Show me the birth date and possible death dates of Andronikos Palaiologos."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q15715576> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8484", "question": "What are the birth and death dates of Jacques Viau, the Canadian jurist and lawyer?", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { BIND( wd:Q3160165 AS ?person ) . ?person wdt:P31 wd:Q5 . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["Jacques Viau birth and death dates", "Can you tell me when Jacques Viau was born and when he died?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q3160165> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8485", "question": "What are the birth and death dates of Jacques Futrelle?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?birthDate ?deathDate WHERE {\n  wd:Q763341 rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) OPTIONAL {\n    wd:Q763341 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q763341 wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["Can you tell me when Jacques Futrelle was born and when he died?", "Who is Jacques Futrelle, and what are his birth and death dates?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q763341> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8486", "question": "What are the birth and death dates of George Verney, 12th Baron Willoughby de Broke?", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { BIND( wd:Q5545482 AS ?person ) . ?person wdt:P31 wd:Q5 . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["Can you tell me when George Verney, 12th Baron Willoughby de Broke was born and when he died?", "Show me the life span (birth and death dates) of George Verney, 12th Baron Willoughby de Broke."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q5545482> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8487", "question": "Who were born in Potsdam, New York, and what are their birth and death dates?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  ?person wdt:P31 wd:Q5 ; wdt:P19 wd:Q1022943 .\n  ?person rdfs:label ?personLabel .\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["List people from Potsdam, New York, along with their dates of birth and death.", "Find all humans associated with Potsdam, New York as their place of birth, and show their names, birth years, and death years if available."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q1022943> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8488", "question": "What are the birth and death dates of Dike Beede?", "sparql": "SELECT ?label ?birthDate ?deathDate WHERE { wd:Q5276511 rdfs:label ?label . FILTER(LANG(?label) = \"en\") OPTIONAL { wd:Q5276511 wdt:P569 ?birthDate . } OPTIONAL { wd:Q5276511 wdt:P570 ?deathDate . } }", "paraphrases": ["Can you tell me the full name, birth date, and death date of the American football coach Dike Beede?", "When was Dike Beede born and when did he die?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q5276511> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8489", "question": "Paul Block birth and death dates", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { BIND( wd:Q18645989 AS ?person ) . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } }", "paraphrases": ["When was Paul Block born and when did he die?", "Can you tell me the full name, birth date, and death date of Paul Block, the American newspaper publisher?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q18645989> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8490", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt1758830?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipedia_page WHERE {\n  ?movie wdt:P345 \"tt1758830\" .\n  ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" ) FILTER ( REGEX( STR( ?wikipedia_page ) , \"^https://[a-z]{2}\\\\.wikipedia\\\\.org/wiki/\" ) )\n}", "paraphrases": ["Show me the Wikipedia articles in English and German about the film \"This Is 40\".", "Which Wikipedia pages in English and German discuss the movie identified by tt1758830?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1758830\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8491", "question": "English and German language pages about the movie Dial M for Murder (IMDb tt0046912)", "sparql": "SELECT ?movie ?page WHERE { ?movie wdt:P345 \"tt0046912\" . ?page schema:about ?movie . { ?page schema:inLanguage \"en\" . } UNION { ?page schema:inLanguage \"de\" . } }", "paraphrases": ["What English and German Wikipedia and Wikiquote pages are about the movie with IMDb ID tt0046912?", "Show me the English and German language web pages related to the movie Dial M for Murder, identified by its IMDb ID tt0046912."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0046912\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8492", "question": "Railway stations in Austria", "sparql": "SELECT ?station ?stationLabel WHERE { ?station wdt:P31 wd:Q55488 . ?station wdt:P17 wd:Q40 . ?station rdfs:label ?stationLabel . FILTER(langMatches(lang(?stationLabel), \"en\")) }", "paraphrases": ["What are the names of railway stations in Austria?", "List all railway stations in Austria with their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q55488> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q40> . }"}}
{"id": "test_8493", "question": "Image of Sarah Brown with SNAC ARK ID w6390tpr", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6390tpr\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the Wikimedia Commons image associated with Sarah Brown\u2019s SNAC ARK ID (w6390tpr)?", "Show me the photo linked to the person in the Social Networks and Archival Context system with ID w6390tpr."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6390tpr\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8494", "question": "What is the image of the person with SNAC ARK ID w61w3c0s?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w61w3c0s\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Image for SNAC ARK ID w61w3c0s", "Show me the Wikimedia Commons image linked to Tadeusz Borowski\u2019s SNAC ARK ID."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w65t6mgn\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8495", "question": "Stations on the Piccadilly line", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?station WHERE {\n  ?station wdt:P81 wd:Q207689\n}", "paraphrases": ["Which London Underground stations are on the Piccadilly line?", "List all the stations that serve the Piccadilly line."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/P197> / <http://www.wikidata.org/prop/qualifier/P81> ) <http://www.wikidata.org/entity/Q207689> . }"}}
{"id": "test_8496", "question": "Latvian surnames with German labels and their types", "sparql": "SELECT ?item ?lvLabel ?deLabel (GROUP_CONCAT(DISTINCT ?instanceLabel; SEPARATOR=\", \") AS ?instances) WHERE { VALUES ?item { wd:Q318923 wd:Q3559616 wd:Q3120909 wd:Q722083 wd:Q31199036 } ?item rdfs:label ?lvLabel . FILTER(LANG(?lvLabel) = \"lv\") ?item rdfs:label ?deLabel . FILTER(LANG(?deLabel) = \"de\") OPTIONAL { ?item wdt:P31 ?instance . ?instance rdfs:label ?instanceLabel . FILTER(LANG(?instanceLabel) = \"en\") } } GROUP BY ?item ?lvLabel ?deLabel", "paraphrases": ["Which people with the Latvian surname \"l\u016bsis\" have German-language labels, and what are their types?", "Show me the German labels and classifications of people whose Latvian names include \"l\u016bsis\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label ( GROUP_CONCAT ( ?var4 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . VALUES ( ?var2 ) { ( \"l\u016bsis\"@lv ) } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"de\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var4 . } } GROUP BY ?var1 ?var2 ?var3Label"}}
{"id": "test_8497", "question": "ISNI, VIAF, IPNI, and image for botanist G. Argent on species.wikimedia.org", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?isni ?viaf ?orcid ?ipni ?zooBankId ?image WHERE {\n  wd:Q5884115 rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) .\n  ?page schema:about wd:Q5884115 ; schema:isPartOf <https://species.wikimedia.org/> .\n  OPTIONAL {\n    wd:Q5884115 wdt:P213 ?isni .\n  }\n  OPTIONAL {\n    wd:Q5884115 wdt:P214 ?viaf .\n  }\n  OPTIONAL {\n    wd:Q5884115 wdt:P496 ?orcid .\n  }\n  OPTIONAL {\n    wd:Q5884115 wdt:P586 ?ipni .\n  }\n  OPTIONAL {\n    wd:Q5884115 wdt:P2006 ?zooBankId .\n  }\n  OPTIONAL {\n    wd:Q5884115 wdt:P18 ?image .\n  }\n}", "paraphrases": ["What are the ISNI, VIAF, and IPNI identifiers for Graham Charles George Argent, and is there an image of him linked from species.wikimedia.org?", "Please provide the ISNI, VIAF, ORCID, IPNI, ZooBank ID, and image for the botanist G. Argent whose authority page is on species.wikimedia.org."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"G Argent\"@en . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/isPartOf> <https://species.wikimedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P213> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P214> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P586> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2006> ?var8 . } }"}}
{"id": "test_8498", "question": "List all Olympic Games events and their images from Wikidata.", "sparql": "SELECT ?olympicEvent ?label ?image WHERE { ?olympicEvent (wdt:P31/wdt:P279*) wd:Q5389 . OPTIONAL { ?olympicEvent wdt:P18 ?image . } ?olympicEvent rdfs:label ?label . FILTER(LANG(?label) = \"en\") } LIMIT 100", "paraphrases": ["What are the names and images of all Olympic events, including past and future editions?", "Show me the English labels and associated images for all instances and subclasses of the Olympic Games."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5389> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_8499", "question": "Where did Ioana Oltean study, when did she start and end her studies, and what degree did she earn?", "sparql": "SELECT ?institution ?institutionLabel ?startDate ?endDate ?degreeLabel WHERE { wd:Q49226542 p:P69 ?statement . ?statement ps:P69 ?institution . ?institution rdfs:label ?institutionLabel . FILTER(LANG(?institutionLabel) = \"en\") OPTIONAL { ?statement pq:P580 ?startDate . } OPTIONAL { ?statement pq:P582 ?endDate . } OPTIONAL { ?statement pq:P512 ?degree . ?degree rdfs:label ?degreeLabel . FILTER(LANG(?degreeLabel) = \"en\") } }", "paraphrases": ["Ioana Oltean's alma mater, attendance period, and academic degree", "Show me the educational background of Ioana Oltean, including the institution, start and end dates, and any degree obtained."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 ?var5Label WHERE { <http://www.wikidata.org/entity/Q49226542> <http://www.wikidata.org/prop/P69> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P69> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P580> ?var3 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var4 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P512> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_8500", "question": "Is there a Wikidata item with the VIAF ID 1099151246527444131534?", "sparql": "ASK WHERE { ?item wdt:P214 \"1099151246527444131534\" . }", "paraphrases": ["VIAF ID 1099151246527444131534 in Wikidata?", "Check if the VIAF identifier 1099151246527444131534 is assigned to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"1099151246527444131534\". }"}}
{"id": "test_8501", "question": "Which Wikidata item has the Twitter handle \"CityOfBoston\", and how many Wikipedia articles are about it?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?twitterUsername(COUNT(?sitelink) AS ?sitelinkCount) WHERE {\n  ?item wdt:P2002 ?twitterUsername .\n  ?sitelink schema:about ?item ; schema:isPartOf ?wiki .\n  VALUES ?twitterUsername {\n    \"CityOfBoston\"\n  }\n}\nGROUP BY ?item ?twitterUsername\nORDER BY ASC(?sitelinkCount)", "paraphrases": ["What is the Wikidata item for the Twitter account @CityOfBoston, and how popular is it across Wikipedia language editions?", "Show me the Wikidata entity linked to the Twitter username CityOfBoston, along with the number of Wikipedia articles about it, sorted by popularity."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"lequipe\" ) ( \"string2\" ) ( \"Morinerie\" ) ( \"Europe1\" ) ( \"string3\" ) ( \"martinfkde\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"franceinfo\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"RMCsport\" ) ( \"ch_lemaire\" ) ( \"string11\" ) ( \"statsBDL\" ) ( \"ledauphine\" ) ( \"string12\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8502", "question": "Images, locations, and relationships of entities associated with Rudolf Jaenisch", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?image ?item ?coordinate ?propertyLabel WHERE {\n  wd:Q90073 ?directClaim ?item .\n  ?property wikibase:directClaim ?directClaim .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  ?item wdt:P625 ?coordinate .\n  ?property rdfs:label ?propertyLabel .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" )\n}", "paraphrases": ["What are the organizations, countries, and awards linked to Rudolf Jaenisch, their locations, and how are they connected to him?", "Show me the entities connected to Rudolf Jaenisch, their geographic coordinates, any available images, and the English labels of the relationships between them and him."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ( ?var4Label AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q90073> ?var6 ?var2 . ?var2 (( <http://www.wikidata.org/prop/P159> / <http://www.wikidata.org/prop/qualifier/P625> )|( <http://www.wikidata.org/prop/direct/P276> */ <http://www.wikidata.org/prop/direct/P625> )) ?var3 . ?var7 <http://wikiba.se/ontology#directClaim> ?var6 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,nl,no,ru,sv,zh\". } ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . }"}}
{"id": "test_8503", "question": "Natural heritage sites in Taiwan with coordinates, images, and Wikipedia links", "sparql": "SELECT ?item ?itemLabel ?coord ?wikipage ?image WHERE { ?item (wdt:P31/wdt:P279*) wd:Q386426 . ?item wdt:P17 wd:Q865 . ?item wdt:P625 ?coord . ?wikipage schema:about ?item . OPTIONAL { ?item wdt:P18 ?image . } ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = 'en') }", "paraphrases": ["What are the natural heritage sites in Taiwan, their locations, images, and associated Wikipedia pages?", "List all natural heritage sites in Taiwan, including their geographic coordinates, images from Wikimedia Commons, and links to English Wikipedia pages."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q386426> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q865> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . ?var3 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . } FILTER ( ( ( SUBSTR ( STR ( ?var3 ) ,\"09\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"18\"^^<http://www.w3.org/2001/XMLSchema#integer> ) = \"string1\" ) || ( SUBSTR ( STR ( ?var3 ) ,\"09\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"17\"^^<http://www.w3.org/2001/XMLSchema#integer> ) = \"string2\" ) || ( SUBSTR ( STR ( ?var3 ) ,\"09\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"18\"^^<http://www.w3.org/2001/XMLSchema#integer> ) = \"string3\" ) || ( SUBSTR ( STR ( ?var3 ) ,\"09\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"17\"^^<http://www.w3.org/2001/XMLSchema#integer> ) = \"string4\" ) ) ) . }"}}
{"id": "test_8504", "question": "What are the French-labeled properties used on fortifications, how many fortifications use each, and what are the French labels of their values?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(SAMPLE(?propLabel) AS ?propertyLabel)(COUNT(?instance) AS ?count)(GROUP_CONCAT(?instanceLabel ; SEPARATOR = \", \") AS ?instanceLabels) WHERE {\n  wd:Q57821 ?property ?instance .\n  ?instance rdfs:label ?instanceLabel .\n  FILTER(LANG(?instanceLabel) = \"fr\")\n  .\n  ?propertyEntity wikibase:directClaim ?property .\n  ?propertyEntity rdfs:label ?propLabel .\n  FILTER(LANG(?propLabel) = \"fr\")\n}\nGROUP BY ?property", "paraphrases": ["French property usage statistics for fortifications, including value labels and counts.", "Show me a summary of all properties applied to fortifications in French, with the number of uses and the French labels of the values they point to."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q57821> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"fr\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"fr\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_8505", "question": "Is the Majorelle Garden a type of software?", "sparql": "ASK WHERE { wd:Q1395431 wdt:P31/wdt:P279* wd:Q7397 . }", "paraphrases": ["Does the Majorelle Garden belong to a category that is a subclass of software?", "Check whether the Majorelle Garden is classified under software through its type hierarchy."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q1395431> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_8506", "question": "Which Wikidata entity has the Twitter username 'elonmusk'?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?twitterHandle WHERE {\n  ?person wdt:P2002 ?twitterHandle .\n  FILTER(?twitterHandle = \"elonmusk\")\n}", "paraphrases": ["Who is the person on Wikidata with the Twitter handle elonmusk?", "Show me the Wikidata item for the Twitter account @elonmusk."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"avenirfshm\" ) ( \"string1\" ) ( \"AndreHatz\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8507", "question": "List all land art works in English, sorted alphabetically.", "sparql": "SELECT ?item ?label WHERE { ?item (wdt:P31/wdt:P279*) wd:Q326478 . ?item rdfs:label ?label . FILTER(LANG(?label) = \"en\") } ORDER BY ASC(?label)", "paraphrases": ["What are the English names of all artworks that are instances of or subclasses of land art?", "Show me the English labels of all land art pieces and their subtypes, ordered by name."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q326478> . } ORDER BY ASC( STR ( ?var2 ) )"}}
{"id": "test_8508", "question": "Which Twitter accounts from this list (ARTEfr, lemondefr, Numerama, etc.) have the fewest Wikipedia pages linked to them?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?handle ( COUNT( ?site ) AS ?sitelinks ) WHERE {\n  ?item wdt:P2002 ?handle .\n  ?site schema:about ?item ; schema:isPartOf ?wiki .\n  VALUES ?handle {\n    \"TwAndroid\" \"Numerama\" \"Gamekult\" \"AJC_Paris\" \"ARTEfr\" \"EliseFrank\" \"CNEWS\" \"tommydu35\" \"lacaradec\" \"Vetitude\" \"N_Hulot\" \"Kea_ahahah\" \"Lexpress\" \"lemondefr\" \"SudRadio\" \"tcheka1917\"\n  }\n}\nGROUP BY ?item ?handle\nORDER BY ASC ( ?sitelinks )", "paraphrases": ["Among the listed Twitter handles like ARTEfr and lemondefr, which ones are associated with the smallest number of Wikipedia language editions?", "Show me the Twitter handles from this list \u2014 including ARTEfr, Numerama, and lemondefr \u2014 sorted by how many Wikipedia pages they have, starting with the ones with the least."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"TwAndroid\" ) ( \"Numerama\" ) ( \"Gamekult\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"AJC_Paris\" ) ( \"ARTEfr\" ) ( \"EliseFrank\" ) ( \"CNEWS\" ) ( \"string6\" ) ( \"tommydu35\" ) ( \"string7\" ) ( \"lacaradec\" ) ( \"Vetitude\" ) ( \"string8\" ) ( \"N_Hulot\" ) ( \"string9\" ) ( \"Kea_ahahah\" ) ( \"string10\" ) ( \"Lexpress\" ) ( \"string11\" ) ( \"lemondefr\" ) ( \"SudRadio\" ) ( \"string12\" ) ( \"string13\" ) ( \"tcheka1917\" ) ( \"string14\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8509", "question": "What is the population of Dumb\u00e9a?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?population WHERE {\n  wd:Q9712 wdt:P1082 ?population .\n}", "paraphrases": ["How many people live in Dumb\u00e9a?", "Can you tell me the number of inhabitants in the commune of Dumb\u00e9a?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q9712> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_8510", "question": "Does the German National Library ID 123852374 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P227 \"123852374\" .\n}", "paraphrases": ["Is there a Wikidata item associated with the GND ID 123852374?", "Check if the entity with GND ID 123852374 is present in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"123852374\". }"}}
{"id": "test_8511", "question": "What is the Twitter/X username for the city of Boston?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"CityOfBoston\"\n  }\n}\nORDER BY ?item", "paraphrases": ["Which Wikidata item has the Twitter handle \"CityOfBoston\"?", "Show me the entity linked to the Twitter username CityOfBoston."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"Tredok\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8512", "question": "Count of non-politician, non-MP items that are facets of Zurich.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT(COUNT(?item) AS ?count) ?type ?typeLabel WHERE {\n  ?item wdt:P1269 wd:Q72 .\n  ?item a ?type .\n  FILTER(?type NOT IN(wd:Q82955 , wd:Q486839))\n  OPTIONAL {\n    ?type rdfs:label ?typeLabel .\n    FILTER(LANG(?typeLabel) = \"en\")\n  }\n}\nGROUP BY ?type ?typeLabel\nORDER BY DESC(?count)", "paraphrases": ["How many items associated with Zurich as a facet are not politicians or members of parliament?", "Show me the types of items that are facets of Zurich, excluding politicians and members of parliament, along with their counts."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1269> <http://www.wikidata.org/entity/Q72> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( ?var3 NOT IN ( <http://www.wikidata.org/entity/Q82955> , <http://www.wikidata.org/entity/Q486839> ) ) ) . OPTIONAL { } } GROUP BY ?var3 ?var3Label ORDER BY DESC( ?var2 )"}}
{"id": "test_8513", "question": "What is the English label and description of the Great Russian Encyclopedia entry with ID 2334183?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P2924 \"2334183\" . OPTIONAL { ?item schema:description ?description FILTER(LANG(?description) = \"en\") } . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["Can you find the English name and description of the entity in Wikidata that has the Great Russian Encyclopedia Online ID 2334183?", "Show me the English label and description for the item identified by 2334183 in the Great Russian Encyclopedia Online (old version)."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"2049505\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8514", "question": "People employed by Vanderbilt University with ORCID iD", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P108 wd:Q29052 . ?person wdt:P496 ?orcid . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["Who are the researchers at Vanderbilt University that have an ORCID identifier?", "List the names of Vanderbilt University employees who have an ORCID profile."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P921> <http://www.wikidata.org/entity/Q51044> . ?var1 <http://www.wikidata.org/prop/direct/P108> <http://www.wikidata.org/entity/Q29052> . }"}}
{"id": "test_8515", "question": "What properties and values are associated with Husen Castle?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?value ?valueLabel ?property ?propertyLabel WHERE {\n  wd:Q652448 ?property ?value .\n  FILTER ( STRSTARTS( STR( ?property ) , \"http://www.wikidata.org/prop/direct/\" ) ) OPTIONAL {\n    ?value rdfs:label ?valueLabel .\n    FILTER ( LANG( ?valueLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?property rdfs:label ?propertyLabel .\n    FILTER ( LANG( ?propertyLabel ) = \"en\" )\n  }\n}\nLIMIT 100", "paraphrases": ["List all direct properties of Husen Castle along with their labels and values in English.", "Show me what is known about Husen Castle in Wikidata, including the property names and their corresponding values."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ?var3 <http://www.wikidata.org/entity/Q652448> . ?var2 <http://wikiba.se/ontology#directClaim> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_8516", "question": "Image of the person with SNAC ARK ID w6668hdc", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6668hdc\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the Wikimedia Commons image associated with the SNAC ARK ID w6668hdc?", "Show me the photo of Alva Belmont, identified by the SNAC ARK ID w6668hdc."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6668hdc\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8517", "question": "Is Canorus a human or a subclass/instance of something that is human?", "sparql": "ASK WHERE { wd:Q1033594 (wdt:P31/wdt:P279*) wd:Q5 . }", "paraphrases": ["Is the software Canorus classified as a human or any descendant of a human in the Wikidata ontology?", "Confirm whether Canorus belongs to the hierarchy of human beings through instance-of or subclass-of relationships."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q1033594> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_8518", "question": "Artists with given names starting with W", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?artistLabel ?artist ?givenNameLabel WHERE {\n  ?artist(wdt:P31 / wdt:P279 *) wd:Q483501 .\n  ?artist wdt:P735 ?givenName .\n  ?givenName rdfs:label ?givenNameLabel .\n  FILTER(LANG(?givenNameLabel) = \"en\")\n  FILTER(STRSTARTS(?givenNameLabel , \"W\"))\n}", "paraphrases": ["Who are the artists whose first name starts with the letter W?", "List all artists named Wataru or any other name beginning with W."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var1 ?var2Label ?var3Label ?var4Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q483501> . ?var1 <http://www.wikidata.org/prop/qualifier/P735> ?var4 . FILTER ( ( STRSTARTS ( ?var4Label , \"W\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_8519", "question": "Are jinn classified as humans or any subclass of humans in Wikidata?", "sparql": "ASK WHERE { wd:Q3465 (wdt:P31/wdt:P279*) wd:Q5 . }", "paraphrases": ["Is a jinn considered a human or a type of human according to Wikidata\u2019s ontology?", "Confirm whether jinn belong to the human category or any of its subcategories in Wikidata."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q3465> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_8520", "question": "English or German Wikipedia pages for the movie with IMDb ID tt2334871.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipediaPage WHERE {\n  ?movie wdt:P345 \"tt2334871\" .\n  ?wikipediaPage schema:about ?movie .\n  {\n    ?wikipediaPage schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipediaPage schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["What are the English or German Wikipedia pages about the movie with IMDb ID tt2334871?", "Show me the Wikipedia pages in English or German that are about the movie identified by IMDb ID tt2334871."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2334871\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8521", "question": "Wikipedia articles in English or German about the movie with IMDb ID tt1232200.", "sparql": "SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 \"tt1232200\" . ?wikipedia_page schema:about ?movie . { ?wikipedia_page schema:inLanguage \"en\" . } UNION { ?wikipedia_page schema:inLanguage \"de\" . } }", "paraphrases": ["What are the English and German Wikipedia pages for the movie \"That's My Boy\" (IMDb ID: tt1232200)?", "Show me the English and German Wikipedia links for the film identified by IMDb ID tt1232200."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1232200\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8522", "question": "What properties are used to describe \"electronic body music\" in Portuguese, and what are their values?", "sparql": "SELECT ?property (SAMPLE(?propLabelBinding) AS ?propertyLabel) (COUNT(?value) AS ?valueCount) (GROUP_CONCAT(?valueLabel; SEPARATOR=\", \") AS ?valueLabels) WHERE { wd:Q372103 ?property ?value . ?value rdfs:label ?valueLabel . FILTER(LANG(?valueLabel) = \"pt\") . ?propEntity wikibase:directClaim ?property . ?propEntity rdfs:label ?propLabelBinding . FILTER(LANG(?propLabelBinding) = \"pt\") } GROUP BY ?property", "paraphrases": ["For each property of electronic body music, show its Portuguese label, how many values it has, and what those values are called in Portuguese.", "Can you list the Portuguese labels of properties connected to electronic body music, along with the count and names of their Portuguese-labeled values?"], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q372103> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"pt\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"pt\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_8523", "question": "What is the English label and description of the Great Russian Encyclopedia Online entry with ID 3990993?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P2924 \"3990993\" .\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n  .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["Can you tell me the English name and description of the entity identified by the ID 3990993 in the Great Russian Encyclopedia Online?", "Show me the English label and description for the item in Wikidata that has the Great Russian Encyclopedia Online ID 3990993."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"3990961\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8524", "question": "What is the English label and description of the British Listed Building with ID 300014468?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P12485 \"300014468\" .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" ) OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["Can you tell me about the building identified by the British Listed Buildings ID 300014468?", "Which building in the UK has the reference number 300014468, and what is its description in English?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1014> \"300014468\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8525", "question": "Which entities on Wikidata have the Twitter usernames \"UN\", \"CityOfBoston\", or \"thebeatles\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  FILTER(?username IN(\"UN\" , \"CityOfBoston\" , \"thebeatles\"))\n}", "paraphrases": ["Who are the entities on Wikidata that use \"UN\", \"CityOfBoston\", or \"thebeatles\" as their X (Twitter) handles?", "Show me the Wikidata items that are linked to the X usernames \"UN\", \"CityOfBoston\", and \"thebeatles\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"demo_tic\" ) ( \"saqqara38\" ) } }"}}
{"id": "test_8526", "question": "List countries and their flag images with English names.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?country ?countryLabel ?flagImage WHERE {\n  ?country wdt:P31 wd:Q6256 .\n  OPTIONAL {\n    ?country wdt:P41 ?flagImage .\n  }\n  ?country rdfs:label ?countryLabel .\n  FILTER(LANG(?countryLabel) = \"en\")\n}", "paraphrases": ["What are the English names and flag images of all countries?", "Please provide a list of countries with their English labels and corresponding flag images from Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P41> ?var2 . } BIND ( STRAFTER ( STR ( ?var1 ) , \"string1\" ) AS ?var4 ). BIND ( <http://www.w3.org/2001/XMLSchema#dateTime> ( CONCAT ( ?var4 , \"string2\" ) ) AS ?var3 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_8527", "question": "What is the English or German Wikipedia page for the TV show with IMDb ID tt4181052?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipediaPage ?imdbId WHERE {\n  VALUES ?imdbId {\n    \"tt4181052\"\n  }\n  ?item wdt:P345 ?imdbId .\n  ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n}", "paraphrases": ["Which Wikipedia articles in English or German are about the item with IMDb identifier tt4181052?", "Show me the English or German Wikipedia links for the media item identified by IMDb ID tt4181052."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt4181052\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8528", "question": "Image of Decimus Burton (SNAC ARK ID w6pv7c4n)", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6pv7c4n\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the Wikimedia Commons image associated with the SNAC ARK ID w6pv7c4n?", "Show me the image of the individual with SNAC ARK ID w6pv7c4n."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6pv7c4n\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8529", "question": "List of countries in Wikidata", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?country ?countryLabel WHERE {\n  ?country p:P31 ?statement .\n  ?statement ps:P31 wd:Q6256 .\n  ?country rdfs:label ?countryLabel .\n  FILTER ( LANG( ?countryLabel ) = \"en\" )\n}\nLIMIT 1000", "paraphrases": ["Which entities are classified as countries in Wikidata?", "Show me the names of all countries in Wikidata, using their English labels."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/P31> ?var2 . ?var2 <http://www.wikidata.org/prop/statement/P31> <http://www.wikidata.org/entity/Q6256> . } LIMIT 1000"}}
{"id": "test_8530", "question": "What are the ecosystems listed in Wikidata?", "sparql": "SELECT ?item WHERE { ?item p:P31 ?statement . ?statement ps:P31 wd:Q37813 . } LIMIT 1000", "paraphrases": ["Which entities are classified as ecosystems in Wikidata?", "List all known ecosystem instances in Wikidata."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/P31> ?var2 . ?var2 <http://www.wikidata.org/prop/statement/P31> <http://www.wikidata.org/entity/Q37813> . } LIMIT 1000"}}
{"id": "test_8531", "question": "Entities with coordinates, their images, Commons categories, and addresses in English.", "sparql": "SELECT ?item ?itemLabel ?location ?image ?commonsCategory ?address WHERE { ?item wdt:P625 ?location . OPTIONAL { ?item wdt:P18 ?image . } OPTIONAL { ?item wdt:P373 ?commonsCategory . } OPTIONAL { ?item wdt:P969 ?address . } ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } LIMIT 3000", "paraphrases": ["What are the English-labeled entities that have geographic coordinates, along with their images, Wikimedia Commons categories, and street addresses?", "Show me up to 3000 entities that have location coordinates, and include their English names, images, Commons categories, and addresses if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(-100 33)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(-100 33)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_8532", "question": "French-language human individuals with the surname Gizard", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?item WHERE {\n  ?item rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"fr\" ) .\n  FILTER ( CONTAINS( LCASE( ?label ) , \"gizard\" ) ) .\n  ?item wdt:P31 wd:Q5 .\n}", "paraphrases": ["Who are the humans in Wikidata whose French label contains 'Gizard'?", "List all people with the last name Gizard who are described in French on Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"gizard\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8533", "question": "Main subjects of Penny Nymark\u2019s publications, ranked by number of works.", "sparql": "SELECT ?count ?subjectLabel WHERE { { SELECT ?subject (COUNT(?work) AS ?count) WHERE { ?work wdt:P50 wd:Q28530416 . ?work wdt:P921 ?subject . } GROUP BY ?subject ORDER BY DESC(?count) } ?subject rdfs:label ?subjectLabel . FILTER(LANG(?subjectLabel) = \"en\") }", "paraphrases": ["What are the most common topics in the scientific works authored by Penny Nymark, and how many works are there on each topic?", "Show me a list of the main subjects of Penny Nymark\u2019s research papers, sorted by how many papers cover each subject, with English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label WHERE { { SELECT ?var4 ( COUNT ( ?var5 ) AS ?var1 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q28530416> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . } GROUP BY ?var4 ORDER BY DESC( ?var1 ) } BIND ( SUBSTR ( ?var6Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q28530416> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . }"}}
{"id": "test_8534", "question": "Who is the person named \"H\u00e9l\u00e8ne Le Meliner\" in French?", "sparql": "SELECT DISTINCT ?person WHERE { ?person rdfs:label \"H\u00e9l\u00e8ne Le Meliner\"@fr . ?person wdt:P31 wd:Q5 .}", "paraphrases": ["What human entity has the French label \"H\u00e9l\u00e8ne Le Meliner\"?", "Can you find the French-labeled person named H\u00e9l\u00e8ne Le Meliner in Wikidata?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Le meliner\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8535", "question": "Wikidata items with Twitter usernames envlh, tomgauld, or mesosphere, ordered by number of Wikipedia links.", "sparql": "SELECT ?item ?twitterUsername (COUNT(?sitelink) AS ?sitelinkCount) WHERE { ?item wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"envlh\" \"tomgauld\" \"mesosphere\" } . ?sitelink schema:about ?item ; schema:isPartOf ?wikipediaSite . FILTER(STRSTARTS(STR(?wikipediaSite), \"https://\")) } GROUP BY ?item ?twitterUsername ORDER BY ASC(?sitelinkCount)", "paraphrases": ["Which people or organizations on Wikidata have the Twitter usernames \"envlh\", \"tomgauld\", or \"mesosphere\", and how many Wikipedia articles are about them?", "List the Wikidata items for the Twitter accounts envlh, tomgauld, and mesosphere, along with the count of Wikipedia pages linked to each, sorted by the smallest number of links first."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"string1\" ) ( \"string2\" ) ( \"NFr21\" ) ( \"string3\" ) ( \"string4\" ) ( \"ayoy\" ) ( \"mesosphere\" ) ( \"BlueBoat\" ) ( \"string5\" ) ( \"tomgauld\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8536", "question": "List all bird species in the genus Troglodytes with their scientific names, audio recordings, and images from Wikimedia Commons.", "sparql": "SELECT ?species ?scientificName ?audio ?image WHERE { ?species wdt:P171 wd:Q3888717 . OPTIONAL { ?species wdt:P225 ?scientificName . } OPTIONAL { ?species wdt:P51 ?audio . } OPTIONAL { ?species wdt:P18 ?image . } }", "paraphrases": ["What are the scientific names, audio files, and images of all bird species belonging to the genus Troglodytes?", "Show me the complete list of Troglodytes bird species, including their Latin names, any available bird call recordings, and photos from Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P171> <http://www.wikidata.org/entity/Q3888717> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"eu\". } OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P51> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } }"}}
{"id": "test_8537", "question": "What are the English and German Wikipedia and Wikiquote pages about the movie with IMDb ID tt0422774?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?page WHERE {\n  ?movie wdt:P345 \"tt0422774\" .\n  ?page schema:about ?movie .\n  VALUES ?lang {\n    \"en\" \"de\"\n  }\n  ?page schema:inLanguage ?lang .\n}", "paraphrases": ["Show me the pages in English and German that are about the film \"Are We Done Yet?\"", "Which language versions of pages link to the movie \"Are We Done Yet?\" on IMDb?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0422774\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8538", "question": "Does Wikidata contain an entity with VIAF ID 37091454?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P214 \"37091454\" .\n}", "paraphrases": ["Is there a person in Wikidata identified by the VIAF number 37091454?", "Confirm whether the Virtual International Authority File identifier 37091454 is linked to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"37091454\". }"}}
{"id": "test_8539", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt3578504?", "sparql": "SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 \"tt3578504\" . ?wikipedia_page schema:about ?movie . VALUES ?lang { \"en\" \"de\" } ?wikipedia_page schema:inLanguage ?lang . }", "paraphrases": ["Find the Wikipedia article about the film Korengal in English or German.", "Which Wikipedia pages cover the movie Korengal, and in which languages are they written?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt3578504\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8540", "question": "Wikipedia and Wikiquote pages in English or German about the IMDb movie tt0287839.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?page WHERE {\n  ?item wdt:P345 \"tt0287839\" .\n  ?page schema:about ?item .\n  {\n    ?page schema:inLanguage \"en\" .\n  } UNION {\n    ?page schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["What English and German language Wikipedia and Wikiquote pages are about the movie with IMDb ID tt0287839?", "Show me the English and German language pages linked to the IMDb item tt0287839."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0287839\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8541", "question": "Living American actors with gender, birth date, image, and Google or Freebase IDs.", "sparql": "SELECT DISTINCT ?actor ?genderLabel ?dateOfBirth ?image ?googleOrFreebaseId ?bbcThingsId WHERE { ?actorClass wdt:P279* wd:Q33999 . ?actor wdt:P106 ?actorClass . ?actor wdt:P27 wd:Q30 . ?actor wdt:P31 wd:Q5 . FILTER (NOT EXISTS { ?actor wdt:P570 ?dateOfDeath }) OPTIONAL { ?actor wdt:P21 ?gender . ?gender rdfs:label ?genderLabel . FILTER(LANG(?genderLabel) = \"en\") } OPTIONAL { ?actor wdt:P569 ?dateOfBirth } OPTIONAL { ?actor wdt:P18 ?image } OPTIONAL { { ?actor wdt:P2671 ?googleOrFreebaseId } UNION { ?actor wdt:P646 ?googleOrFreebaseId } } OPTIONAL { ?actor wdt:P1617 ?bbcThingsId } } ORDER BY ?actor LIMIT 1000", "paraphrases": ["Who are the living American actors, and what are their genders, birth dates, images, and Google or Freebase identifiers?", "List all living American actors along with their gender, date of birth, Wikimedia Commons image, and Google Knowledge Graph or Freebase IDs."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5 ?var6 ?var7 WHERE { ?var8 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q33999> . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var8 . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q30> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var9 . } ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } OPTIONAL { { ?var1 <http://www.wikidata.org/prop/direct/P2671> ?var6 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P646> ?var6 . } } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1617> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY ASC( ?var1Label ) LIMIT 50000"}}
{"id": "test_8542", "question": "Types of human settlements in English", "sparql": "SELECT ?subclass ?label WHERE { ?subclass wdt:P279+ wd:Q486972 . ?subclass rdfs:label ?label . FILTER(LANG(?label) = 'en') } LIMIT 10", "paraphrases": ["What are the subclasses of human settlement that have English labels?", "List 10 types of human settlements with their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q486972> . } LIMIT 10"}}
{"id": "test_8543", "question": "Works by Alfred de Vigny with their original titles and English labels", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?work ?originalTitle ?englishLabel WHERE {\n  ?work wdt:P50 wd:Q309702 ; wdt:P1476 ?originalTitle .\n  ?work rdfs:label ?englishLabel .\n  FILTER(LANG(?englishLabel) = \"en\")\n}\nORDER BY ASC(?originalTitle)", "paraphrases": ["What are the original titles and English translations of works authored by Alfred de Vigny?", "List all works by Alfred de Vigny, showing their original titles and their English-language labels, sorted alphabetically by title."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q309702> ; <http://www.wikidata.org/prop/direct/P1476> ?var2 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . } ORDER BY ASC( ?var2 )"}}
{"id": "test_8544", "question": "Which Wikidata entities have Twitter usernames \"envlh\", \"fnielsen\", or \"shona_gon\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"envlh\" \"fnielsen\" \"shona_gon\"\n  }\n}\nORDER BY ?username", "paraphrases": ["Who on Wikidata uses the Twitter handles \"envlh\", \"fnielsen\", or \"shona_gon\"?", "List the people associated with the Twitter usernames \"envlh\", \"fnielsen\", and \"shona_gon\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"fnielsen\" ) ( \"string1\" ) ( \"shona_gon\" ) ( \"string2\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8545", "question": "Peace-related entities with images on Wikimedia Commons.", "sparql": "SELECT ?peaceEntity ?peaceEntityLabel ?image WHERE { ?peaceEntity wdt:P31 wd:Q454 . ?peaceEntity wdt:P18 ?image . ?peaceEntity rdfs:label ?peaceEntityLabel . FILTER(LANG(?peaceEntityLabel) = \"en\")}", "paraphrases": ["What are the entities classified as peace that have an associated image?", "Show me the English names and images of all things that are instances of peace."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q454> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_8546", "question": "Does Wikidata contain an entry for the GND ID 1035094746?", "sparql": "ASK WHERE { ?entity wdt:P227 \"1035094746\" . }", "paraphrases": ["Is there a person in Wikidata identified by the GND number 1035094746?", "Confirm if the German National Library ID 1035094746 is registered in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"1035094746\". }"}}
{"id": "test_8547", "question": "Female Nobel laureates in Economic Sciences with Catalan-language articles", "sparql": "SELECT DISTINCT ?laureate ?article WHERE { ?laureate wdt:P21 wd:Q6581072 ; wdt:P166 wd:Q47170 . ?article rdf:type schema:Article ; schema:about ?laureate ; schema:inLanguage \"ca\" . }", "paraphrases": ["Who are the female recipients of the Nobel Memorial Prize in Economic Sciences, and what Catalan-language Wikipedia or Wikiquote articles exist about them?", "List all Catalan-language articles about women who have won the Nobel Prize in Economic Sciences."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> ; <http://www.wikidata.org/prop/direct/P166> <http://www.wikidata.org/entity/Q47170> . ?var2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> ?var1 ; <http://schema.org/inLanguage> \"ca\". }"}}
{"id": "test_8548", "question": "Humans with the family name Beck born between 1800 and 1905, with their English names and birth dates.", "sparql": "SELECT ?person ?birthDate ?label WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P569 ?birthDate . ?person wdt:P734 wd:Q2659856 . FILTER ( ?birthDate >= \"1800-01-01T00:00:00Z\"^^xsd:dateTime ) FILTER ( ?birthDate <= \"1905-01-01T00:00:00Z\"^^xsd:dateTime ) ?person rdfs:label ?label . FILTER ( LANG(?label) = \"en\" ) }", "paraphrases": ["Who were people with the last name Beck born between 1800 and 1905, and what were their English names and dates of birth?", "List the English names and birth dates of all people with the surname Beck who were born between 1800 and 1905."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . FILTER ( ( ( ?var4 >= \"1800-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var4 <= \"1905-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P734> <http://www.wikidata.org/entity/Q2659856> . }"}}
{"id": "test_8549", "question": "What films were released in February 2018?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?film ?filmTitle WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P577 ?releaseDate .\n  FILTER(YEAR(?releaseDate) = 2018 && MONTH(?releaseDate) = 2)\n  OPTIONAL {\n    ?film wdt:P1476 ?filmTitle .\n  }\n  FILTER(BOUND(?filmTitle))\n}\nORDER BY ?film\nLIMIT 10000", "paraphrases": ["Can you list the titles of movies that came out in February 2018?", "Which films had their release date in February 2018, and what are their titles?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11424> . ?var1 <http://schema.org/dateModified> ?var2 . FILTER ( ( ( ?var2 < \"2018-02-20T15:55:52\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 >= \"2018-02-19T15:55:52\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . } ORDER BY ASC( ?var1 ) LIMIT 10000 OFFSET 0"}}
{"id": "test_8550", "question": "What are the nominal GDP values for countries in English?", "sparql": "SELECT ?countryLabel ?gdp WHERE { ?country wdt:P31 wd:Q6256 . ?country wdt:P2131 ?gdp . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") }", "paraphrases": ["Can you list the English names of countries along with their nominal GDP?", "Show me the nominal GDP of each country, with country names in English."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var3 <http://www.wikidata.org/prop/direct/P2131> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pt,pt,en\". } }"}}
{"id": "test_8551", "question": "People and the languages they speak, along with the date when this was recorded.", "sparql": "SELECT ?person ?personLabel ?language ?languageLabel ?date WHERE { ?person p:P1412 ?stmt . ?stmt ps:P1412 ?language . ?stmt pq:P585 ?date . ?person rdfs:label ?personLabel . ?language rdfs:label ?languageLabel . FILTER(LANG(?personLabel) = \"en\") . FILTER(LANG(?languageLabel) = \"en\") . } LIMIT 10", "paraphrases": ["Which people speak which languages, and when were those languages recorded as spoken by them?", "Show me a list of people, the languages they speak, and the dates those languages were noted as spoken, with English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/P103> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P103> ?var2 . ?var4 <http://www.wikidata.org/prop/qualifier/P585> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10000"}}
{"id": "test_8552", "question": "What position did Ismail Abdul-Ganiyu play, and when did he play it?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?athlete ?position ?date WHERE {\n  ?athlete p:P413 ?statement .\n  ?statement ps:P413 ?position .\n  ?statement pq:P585 ?date .\n}", "paraphrases": ["Player positions and dates for Ismail Abdul-Ganiyu", "For each athlete, what position did they play and on what date was this position recorded?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/P413> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P413> ?var2 . ?var4 <http://www.wikidata.org/prop/qualifier/P585> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10000"}}
{"id": "test_8553", "question": "What is the English or German Wikipedia page for the Netflix special with IMDb ID tt6900644?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?wikipediaPage WHERE {\n  ?item wdt:P345 \"tt6900644\" .\n  ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n}", "paraphrases": ["Which Wikipedia pages in English or German are about the Netflix special \"Hasan Minhaj: Homecoming King\"?", "Please provide the Wikipedia links in English or German for the media item identified by IMDb ID tt6900644."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6900644\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8554", "question": "Image of Modest Tchaikovsky with SNAC ARK ID w6nc6kmw", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6nc6kmw\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Modest Tchaikovsky in Wikidata?", "Show the Wikimedia Commons image for the person identified by SNAC ARK ID w6nc6kmw."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6nc6kmw\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8555", "question": "What is the English Wikipedia page for the movie with IMDb ID tt1698010?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?wikipediaPage ?imdbId WHERE {\n  ?movie wdt:P345 ?imdbId .\n  ?wikipediaPage schema:about ?movie .\n  FILTER(?imdbId = \"tt1698010\")\n  {\n    ?wikipediaPage schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipediaPage schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Which Wikipedia page in English or German is about the movie identified by IMDb ID tt1698010?", "Can you find the English or German Wikipedia page for the movie with IMDb ID tt1698010?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1698010\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8556", "question": "Find the English title and description of the movie with CineMagia ID 430.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?movieTitle ?description WHERE {\n  ?movie wdt:P4665 \"430\" .\n  OPTIONAL {\n    ?movie wdt:P1476 ?movieTitle .\n    FILTER ( LANG( ?movieTitle ) = \"en\" )\n  }\n  OPTIONAL {\n    ?movie schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["What is the English title and description of the film identified by CineMagia ID 430?", "Show me the English title and description of the movie that has the CineMagia film ID 430."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4665> \"9832\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8557", "question": "What country is Amsterdam Central Station located in?", "sparql": "SELECT DISTINCT ?country ?countryLabel WHERE { BIND( wd:Q50719 AS ?station ) . ?station wdt:P17 ?country . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") }", "paraphrases": ["Which sovereign state does Amsterdam Centraal station belong to?", "Tell me the country associated with the railway station Amsterdam Central Station."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { BIND ( <http://www.wikidata.org/entity/Q50719> AS ?var3 ). ?var3 <http://www.wikidata.org/prop/direct/P17> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8558", "question": "English and German Wikipedia pages for the movie with IMDb ID tt0133093", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipedia_page WHERE {\n  ?movie wdt:P345 \"tt0133093\" .\n  ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" )\n}", "paraphrases": ["What are the English and German Wikipedia articles about the movie \"The Matrix\"?", "Show me the English and German Wikipedia pages linked to the movie on IMDb with ID tt0133093."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt8001144\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8559", "question": "What is the English Wikipedia page for the film with IMDb ID tt1999192?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?wikipedia_page WHERE {\n  ?item wdt:P345 \"tt1999192\" .\n  ?wikipedia_page schema:about ?item .\n  {\n    ?wikipedia_page schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipedia_page schema:inLanguage \"de\" .\n  }\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER ( LANG( ?itemLabel ) = \"en\" )\n  }\n}", "paraphrases": ["Which English or German Wikipedia page is about the movie \"Kevin Hart: Laugh at My Pain\"?", "Show me the Wikipedia page in English or German that corresponds to the IMDb movie ID tt1999192, along with the movie\u2019s title."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1999192\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8560", "question": "What Wikipedia and Wikiquote pages in English or German are about the film with IMDb ID tt6794476?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wiki_page WHERE {\n  ?item wdt:P345 \"tt6794476\" .\n  ?wiki_page schema:about ?item .\n  {\n    ?wiki_page schema:inLanguage \"en\"\n  } UNION {\n    ?wiki_page schema:inLanguage \"de\"\n  }\n}", "paraphrases": ["Show me the language-specific Wikipedia and Wikiquote pages for the movie \"Dear Basketball\" (IMDb: tt6794476) in English and German.", "Which language versions of Wikipedia and Wikiquote have articles about the short film \"Dear Basketball\" that has the IMDb identifier tt6794476?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6794476\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8561", "question": "English and German Wikipedia pages for the movie with IMDb ID tt1093842", "sparql": "SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 \"tt1093842\" . ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["What are the English and German Wikipedia articles for the movie \"My Winnipeg\" (IMDb ID: tt1093842)?", "Show me the English and German Wikipedia links for the movie identified by IMDb ID tt1093842."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1093842\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8562", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt1979172?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?wikipediaPage WHERE {\n  ?item wdt:P345 \"tt1979172\" .\n  ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang .\n  VALUES ?lang {\n    \"en\" \"de\"\n  }\n}", "paraphrases": ["Which Wikipedia articles in English or German are about the film identified by IMDb ID tt1979172?", "Show me the Wikipedia links in English or German for the movie that has the IMDb identifier tt1979172."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1979172\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8563", "question": "What is the Wikipedia page for the TV series with IMDb ID tt5810680 in English or German?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?wikipedia_page ?imdb_id WHERE {\n  VALUES ?imdb_id {\n    \"tt5810680\"\n  }\n  ?item wdt:P345 ?imdb_id .\n  ?wikipedia_page schema:about ?item .\n  {\n    ?wikipedia_page schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipedia_page schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Which Wikipedia articles in English or German are about the item with IMDb ID tt5810680?", "Show me the Wikidata item and its German or English Wikipedia page for the IMDb ID tt5810680."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5810680\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8564", "question": "Wikipedia pages in English and German about the movie with IMDb ID tt3756046.", "sparql": "SELECT ?movie ?page WHERE { ?movie wdt:P345 \"tt3756046\" . ?page schema:about ?movie . FILTER (regex(str(?page), \"wikipedia.org\")) . ?page schema:inLanguage ?lang . FILTER (?lang = \"en\" || ?lang = \"de\") . }", "paraphrases": ["What are the English and German Wikipedia articles for the movie \"The Bloom of Yesterday\"?", "Show me the English and German Wikipedia links for the movie identified by IMDb ID tt3756046."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt3756046\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8565", "question": "How many Australian Statistical Geography 2011 regions are there in Australia?", "sparql": "SELECT DISTINCT ?country ?countryLabel ( COUNT( DISTINCT ?region ) AS ?count ) WHERE { ?region wdt:P4014 [] ; wdt:P17 ?country . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") } GROUP BY ?country ?countryLabel ORDER BY DESC(?count)", "paraphrases": ["Which country has the most ASGS 2011 geographic regions, and how many are there?", "Can you tell me the number of geographic regions defined under the Australian Statistical Geography Standard 2011?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P4014> [] ; <http://www.wikidata.org/prop/direct/P17> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var3 )"}}
{"id": "test_8566", "question": "What country is Dobrich Zoo located in?", "sparql": "SELECT ?country ?countryLabel WHERE { wd:Q20498601 wdt:P17 ?country . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") }", "paraphrases": ["Show me the country where Dobrich Zoo is situated.", "Which sovereign state hosts Dobrich Zoo?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { BIND ( <http://www.wikidata.org/entity/Q20498601> AS ?var3 ). ?var3 <http://www.wikidata.org/prop/direct/P17> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8567", "question": "IMDb ID tt2815902, English or German Wikipedia page", "sparql": "SELECT ?film ?wikipediaPage WHERE { ?film wdt:P345 \"tt2815902\" . ?wikipediaPage schema:about ?film . { ?wikipediaPage schema:inLanguage \"en\" . } UNION { ?wikipediaPage schema:inLanguage \"de\" . } }", "paraphrases": ["What is the English or German Wikipedia page for the film with IMDb ID tt2815902?", "Show me the Wikipedia pages in English or German for the movie identified by tt2815902 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2815902\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8568", "question": "Who is the human named Bais?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person WHERE {\n  ?person rdfs:label \"Bais\" @en .\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["Is there a human named Bais in Wikidata?", "Find the Wikidata item for the person named Bais."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Baisus\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8569", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt5512872?", "sparql": "SELECT ?movie ?wikipediaPage WHERE { ?movie wdt:P345 \"tt5512872\" . ?wikipediaPage schema:about ?movie . ?wikipediaPage schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Find the Wikipedia articles in English or German about the film identified by IMDb ID tt5512872.", "Which Wikipedia pages in English or German are linked to the movie with IMDb ID tt5512872?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5512872\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8570", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt1694021?", "sparql": "SELECT ?item ?wiki_page WHERE { ?item wdt:P345 \"tt1694021\" . ?wiki_page schema:about ?item . ?wiki_page schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Show me the Wikipedia articles in English and German about the film \"Into the Grizzly Maze\".", "Which language versions of Wikipedia have articles about the movie identified by tt1694021?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1694021\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8571", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0433985?", "sparql": "SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 \"tt0433985\" . ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Show me the Wikipedia articles in English and German about the film identified by tt0433985 on IMDb.", "Which Wikipedia pages in English and German describe the movie \"Dieter: Der Film\"?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0433985\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8572", "question": "What is the English label for the Art & Architecture Thesaurus ID 300343820?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P1014 \"300343820\" .\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n  .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["Can you find the Wikidata item with AAT ID 300343820 and show its English name and description?", "Which concept in Wikidata has the AAT identifier 300343820, and what is its English description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1014> \"300343821\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8573", "question": "Wikipedia pages in English or German for the movie with IMDb ID tt5113028", "sparql": "SELECT ?item ?wikipediaPage WHERE { ?item wdt:P345 \"tt5113028\" . ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["What are the English or German Wikipedia pages about the movie with IMDb ID tt5113028?", "Show me the English or German Wikipedia links for the movie identified by IMDb ID tt5113028."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5113028\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8574", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0311320?", "sparql": "SELECT ?item ?wikipedia_page WHERE { ?item wdt:P345 \"tt0311320\" . ?wikipedia_page schema:about ?item . { ?wikipedia_page schema:inLanguage \"en\" . } UNION { ?wikipedia_page schema:inLanguage \"de\" . } }", "paraphrases": ["Show me the Wikipedia articles in English and German about the film identified by tt0311320 on IMDb.", "Which Wikipedia pages in English or German discuss the movie with IMDb identifier tt0311320?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0311320\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8575", "question": "Who is Charles Simic in French?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person WHERE {\n  ?person rdfs:label \"Charles Simic\" @fr .\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["What is the Wikidata item for the person known as \"Charles Simic\" in French?", "Can you find the human being whose name in French is \"Charles Simic\"?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Imre Simic\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8576", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0029210?", "sparql": "SELECT ?item ?wikipediaPage WHERE { ?item wdt:P345 \"tt0029210\" . ?wikipediaPage schema:about ?item . { ?wikipediaPage schema:inLanguage \"en\" . } UNION { ?wikipediaPage schema:inLanguage \"de\" . } }", "paraphrases": ["Show me the Wikipedia articles in English and German about the film identified by tt0029210 on IMDb.", "Which Wikipedia pages in English and German discuss the movie \"The Man Who Was Sherlock Holmes\"?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0029210\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8577", "question": "English or German Wikipedia page for the movie with IMDb ID tt2294729", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?wikipediaPage WHERE {\n  ?item wdt:P345 \"tt2294729\" .\n  ?wikipediaPage schema:about ?item .\n  {\n    ?wikipediaPage schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipediaPage schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["What is the English or German Wikipedia page for the film with IMDb ID tt2294729?", "Show me the Wikipedia page in English or German for the movie identified by IMDb ID tt2294729."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2294729\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8578", "question": "What are the English and German Wikipedia/Wikiquote pages about the film with IMDb ID tt0799954?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?page WHERE {\n  ?item wdt:P345 \"tt0799954\" .\n  ?page schema:about ?item .\n  {\n    ?page schema:inLanguage \"en\" .\n  } UNION {\n    ?page schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Show me the language-specific pages (in English or German) for the movie identified by tt0799954 on IMDb.", "Which Wikipedia and Wikiquote pages in English or German are linked to the documentary film with IMDb identifier tt0799954?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0799954\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8579", "question": "Which entities on Wikidata have the Twitter handles MIT, QwantCom, smwat, or yeoman?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity ?twitterHandle WHERE {\n  ?entity wdt:P2002 ?twitterHandle .\n  VALUES ?twitterHandle {\n    \"MIT\" \"QwantCom\" \"smwat\" \"yeoman\"\n  }\n}", "paraphrases": ["Who or what organizations are associated with the Twitter usernames MIT, QwantCom, smwat, and yeoman?", "Show me the Wikidata items for the Twitter accounts @MIT, @QwantCom, @smwat, and @yeoman (without the @ symbol)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"safepress\" ) ( \"string1\" ) ( \"QwantCom\" ) ( \"MIT\" ) ( \"smwat\" ) ( \"bkcharvard\" ) ( \"string2\" ) ( \"towcenter\" ) ( \"yeoman\" ) } }"}}
{"id": "test_8580", "question": "Who are the people born in Ulm, Germany?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person ?personLabel WHERE {\n  ?person wdt:P19 wd:Q3012 .\n  ?person rdfs:label ?personLabel .\n}\nLIMIT 5", "paraphrases": ["People with birthplace Ulm, Germany and their names in different languages.", "Show me the names of individuals born in Ulm, Germany, in various languages."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> \"Ulm\"@de . } LIMIT 5"}}
{"id": "test_8581", "question": "What is Albert Einstein\u2019s name in English?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?var1Label WHERE {\n  wd:Q937 wdt:P19 ?var3 .\n  wd:Q937 rdfs:label ?var1Label .\n  FILTER ( LANG( ?var1Label ) = \"en\" )\n}", "paraphrases": ["What is the English label of Albert Einstein, who was born in Ulm?", "Can you tell me the English name of Albert Einstein, given his place of birth?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/q937> <http://www.wikidata.org/prop/direct/P19> ?var3 . <http://www.wikidata.org/entity/q937> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } LIMIT 5"}}
{"id": "test_8582", "question": "Television series with film editors who lack Hebrew Wikipedia pages and have English labels.", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?series ?he_wiki_page ?editor ?editor_en_label WHERE {\n  ?series wdt:P31 wd:Q5398426 .\n  ?series p:P1040 ?stmt .\n  ?stmt ps:P1040 ?editor .\n  ?he_wiki_page schema:about ?series ; schema:inLanguage \"he\" . MINUS {\n    ?editor rdfs:label ?he_label .\n    FILTER ( LANG( ?he_label ) = \"he\" )\n  }\n  OPTIONAL {\n    ?editor rdfs:label ?editor_en_label .\n    FILTER ( LANG( ?editor_en_label ) = \"en\" )\n  }\n}", "paraphrases": ["Which television series have film editors that are not represented in Hebrew Wikipedia, and what are the English names of those editors?", "List all TV series along with their film editors\u2019 English names, excluding editors who have a Hebrew-language label on Wikipedia."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5398426> . ?var1 <http://www.wikidata.org/prop/P1040> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P1040> ?var3 . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"he\". MINUS { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"he\" ) ) ) . } OPTIONAL { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"he\". } }"}}
{"id": "test_8583", "question": "Municipalities in Spain that border other municipalities in Spain but are not reciprocally listed as bordering them.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT DISTINCT ?borderingPlace ?borderingPlaceLabel ?borderedPlace ?borderedPlaceLabel WHERE {\n  ?borderingPlace wdt:P17 wd:Q29 .\n  ?borderingPlace p:P47 / ps:P47 ?borderedPlace . MINUS {\n    ?borderedPlace p:P47 / ps:P47 ?borderingPlace .\n  }\n  ?borderingPlace rdfs:label ?borderingPlaceLabel .\n  ?borderedPlace rdfs:label ?borderedPlaceLabel .\n}\nLIMIT 500", "paraphrases": ["Which Spanish towns border other Spanish towns, but those other towns do not list them as neighbors in Wikidata?", "List all pairs of Spanish municipalities where one borders the other, but the reverse border relationship is missing from the data."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { { SELECT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/P47> / <http://www.wikidata.org/prop/statement/P47> ) ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q29> . MINUS { ?var2 ( <http://www.wikidata.org/prop/P47> / <http://www.wikidata.org/prop/statement/P47> ) ?var1 . } } LIMIT 500 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } }"}}
{"id": "test_8584", "question": "What is the employer of G\u00fcnter Blobel, and is there an image of it?", "sparql": "SELECT ?employerImage ?employer ?employerLabel ?startDate ?endDate ?degreeLabel WHERE { wd:Q60108 p:P108 ?statement . ?statement ps:P108 ?employer . ?employer rdfs:label ?employerLabel . FILTER(LANG(?employerLabel) = \"en\") OPTIONAL { ?employer wdt:P18 ?employerImage . } OPTIONAL { ?statement pq:P580 ?startDate . } OPTIONAL { ?statement pq:P582 ?endDate . } OPTIONAL { ?statement pq:P512 ?degree . ?degree rdfs:label ?degreeLabel . FILTER(LANG(?degreeLabel) = \"en\") } }", "paraphrases": ["Can you show me the organization G\u00fcnter Blobel worked for, along with its image, and whether his employment had start or end dates?", "Which institution was G\u00fcnter Blobel employed by, and does it have a picture? Were there any academic degrees linked to this employment?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label ?var4 ?var5 ?var6Label WHERE { { <http://www.wikidata.org/entity/Q60108> <http://www.wikidata.org/prop/P1416> ?var7 . } UNION { <http://www.wikidata.org/entity/Q60108> <http://www.wikidata.org/prop/P108> ?var7 . } { ?var7 <http://www.wikidata.org/prop/statement/P1416> ?var2 . } UNION { ?var7 <http://www.wikidata.org/prop/statement/P108> ?var2 . } ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P580> ?var4 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P582> ?var5 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P512> ?var8 . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_8585", "question": "What is the image of Edward Abbey as identified by the SNAC ARK ID w6c829cd?", "sparql": "SELECT ?image WHERE {\n  ?entity wdt:P3430 \"w6c829cd\" .\n  OPTIONAL {\n    ?entity wdt:P18 ?image .\n  }\n}", "paraphrases": ["Can you find a Wikimedia Commons image linked to the SNAC ARK ID w6c829cd?", "Show the image associated with the person whose SNAC ARK ID is w6c829cd, if one exists."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6c829cd\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8586", "question": "What is the image linked to the SNAC ARK ID w6b85kvt?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6b85kvt\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Show me the Wikimedia Commons file for the entity with SNAC ARK ID w6b85kvt.", "What does the person with SNAC ARK ID w6b85kvt look like? (Image available?)"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6b85kvt\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8587", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0078281?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?wikipediaPage WHERE {\n  ?movie wdt:P345 \"tt0078281\" .\n  ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n}", "paraphrases": ["Show me the Wikipedia articles in English and German about the Disney short film \"The Small One\".", "Which language versions of Wikipedia discuss the film identified by tt0078281?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0078281\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8588", "question": "What are the English and German Wikipedia pages for the film with IMDb ID tt3268850?", "sparql": "SELECT ?item ?wikipedia_page WHERE { ?item wdt:P345 \"tt3268850\" . ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Show me the Wikipedia articles in English and German about the movie \"Unrest\" (IMDb: tt3268850).", "Which language versions of Wikipedia have articles about the documentary \"Unrest\" linked to IMDb ID tt3268850?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt3268850\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8589", "question": "French-speaking humans with 'Vernade' in their name", "sparql": "SELECT DISTINCT ?human WHERE { ?human rdfs:label ?label . FILTER(LANG(?label) = \"fr\") . FILTER(CONTAINS(LCASE(?label), \"vernade\")) . ?human wdt:P31 wd:Q5 }", "paraphrases": ["Who are the humans in Wikidata whose French name includes 'Vernade'?", "List all humans whose French label contains the word 'Vernade'."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"vernade\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8590", "question": "What is the Wikidata item for the movie with IMDb ID tt1164999?", "sparql": "SELECT ?item ?label WHERE { ?item wdt:P345 \"tt1164999\" . ?item rdfs:label ?label . FILTER(langMatches(lang(?label), \"en\")) }", "paraphrases": ["Which movie on Wikidata has the IMDb identifier tt1164999?", "Show me the English label of the film identified by IMDb ID tt1164999."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1164999\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8591", "question": "English and German Wikipedia and Wikiquote pages about the movie with IMDb ID tt0329575.", "sparql": "SELECT ?movie ?page WHERE { ?movie wdt:P345 \"tt0329575\" . ?page schema:about ?movie . VALUES ?lang { \"en\" \"de\" } . ?page schema:inLanguage ?lang . }", "paraphrases": ["What English and German language pages on Wikipedia and Wikiquote are about the film Seabiscuit (IMDb: tt0329575)?", "Show me the English and German language pages related to the movie Seabiscuit, identified by its IMDb ID tt0329575."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0329575\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8592", "question": "What Wikipedia and Wikiquote pages in English or German are about the movie with IMDb ID tt0118747?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?page WHERE {\n  ?movie wdt:P345 \"tt0118747\" .\n  ?page schema:about ?movie .\n  VALUES ?lang {\n    \"en\" \"de\"\n  }\n  ?page schema:inLanguage ?lang .\n}", "paraphrases": ["Show me the English and German language Wikipedia and Wikiquote links for the film Blues Brothers 2000.", "Which language versions of Wikipedia and Wikiquote have articles about the movie identified by IMDb ID tt0118747?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0118747\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8593", "question": "What are the English and German Wikipedia pages for the TV series \"Waco\" (IMDb ID: tt6040674)?", "sparql": "SELECT ?item ?wikipedia_page WHERE { ?item wdt:P345 \"tt6040674\" . ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Show me the Wikipedia articles in English and German about the show with IMDb ID tt6040674.", "Which Wikipedia pages in English and German discuss the miniseries Waco, identified by IMDb ID tt6040674?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6040674\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8594", "question": "What are the English and German Wikipedia/Wikiquote pages for the movie with IMDb ID tt0083791?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wiki_page WHERE {\n  ?movie wdt:P345 \"tt0083791\" .\n  ?wiki_page schema:about ?movie .\n  {\n    ?wiki_page schema:inLanguage \"en\" .\n  } UNION {\n    ?wiki_page schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Show me the language-specific wiki pages about The Dark Crystal (IMDb: tt0083791) in English and German.", "Which Wikipedia and Wikiquote pages in English or German are about the movie identified by IMDb ID tt0083791?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0083791\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8595", "question": "Male house cats with English names", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?cat ?catLabel WHERE {\n  ?cat wdt:P31 wd:Q146 .\n  ?cat wdt:P21 wd:Q44148 .\n  ?cat rdfs:label ?catLabel .\n  FILTER ( LANG( ?catLabel ) = \"en\" )\n}", "paraphrases": ["What are the names of male domestic cats in Wikidata?", "List the English labels of all individual male house cats (Felis silvestris catus) in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q146> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q44148> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_8596", "question": "Is John Allen Nelson a person according to Wikidata?", "sparql": "ASK WHERE { wd:Q1149809 (wdt:P31/wdt:P279*) wd:Q215627 . }", "paraphrases": ["Does John Allen Nelson belong to the category of persons through his class hierarchy?", "Check if John Allen Nelson is classified as a person via his instance and subclass relationships."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q1149809> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_8597", "question": "What are some alternative spellings of the name Mahdi?", "sparql": "SELECT ?alternativeName ?alternativeNameLabel WHERE { ?alternativeName wdt:P460 wd:Q11766310 . ?alternativeName rdfs:label ?alternativeNameLabel . FILTER(LANG(?alternativeNameLabel) = \"en\")}", "paraphrases": ["Which names are considered equivalent to Mahdi according to Wikidata?", "Is there another way to spell Mahdi, like Mehdi?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P460> <http://www.wikidata.org/entity/Q11766310> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_8598", "question": "English label and description for Russia in the Great Russian Encyclopedia portal.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P11514 \"rossiia-2d5512\" .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" ) .\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["What is the English label and description of the Russia entry in the Great Russian Encyclopedia online portal?", "Please provide the English name and description of the Russia entry from the Great Russian Encyclopedia website."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"1861851\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8599", "question": "Ukrainian Wikipedia pages for TV series with their English titles", "sparql": "SELECT ?series ?seriesLabel ?ukPage WHERE { ?series wdt:P31 wd:Q5398426 . ?ukPage schema:about ?series ; schema:isPartOf <https://uk.wikipedia.org/> . ?series rdfs:label ?seriesLabel . FILTER(LANG(?seriesLabel) = \"en\") }", "paraphrases": ["What are the English names of television series that have pages on the Ukrainian Wikipedia?", "List all television series from Wikidata along with their English labels and corresponding Ukrainian Wikipedia links."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5398426> . ?var2 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://uk.wikipedia.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"uk\". } }"}}
{"id": "test_8600", "question": "List animated films with their IMDb IDs and Ukrainian Wikipedia links.", "sparql": "SELECT ?film ?filmLabel ?imdbId ?ukWikipediaPage WHERE { ?film wdt:P31 wd:Q202866 . ?film wdt:P345 ?imdbId . ?ukWikipediaPage schema:about ?film . ?ukWikipediaPage schema:isPartOf <https://uk.wikipedia.org/> . ?film rdfs:label ?filmLabel . FILTER(LANG(?filmLabel) = \"en\") }", "paraphrases": ["What are the English titles, IMDb IDs, and Ukrainian Wikipedia pages of all animated films?", "Please provide a list of animated films, including their English names, IMDb identifiers, and corresponding Ukrainian Wikipedia article URLs."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q202866> . ?var1 <http://www.wikidata.org/prop/direct/P345> ?var2 . ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/isPartOf> <https://uk.wikipedia.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"uk\". } }"}}
{"id": "test_8601", "question": "Who are the French people with the last name Hery?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?item WHERE {\n  ?item rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"fr\" ) FILTER ( STRENDS( ?label , \" Hery\" ) ) ?item wdt:P31 wd:Q5 .\n}", "paraphrases": ["Can you list all humans in Wikidata whose French label ends with \" Hery\"?", "Show me French individuals named Jean Hery or similar \u2014 specifically those with \"Hery\" as their surname."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Jean Hery\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8602", "question": "List of humans with GTAA IDs", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entityLabel WHERE {\n  ?entity wdt:P1741 ?gtaaId .\n  ?entity wdt:P31 wd:Q5 .\n  ?entity rdfs:label ?entityLabel .\n  FILTER ( LANG( ?entityLabel ) = \"en\" )\n}", "paraphrases": ["Who are the people that have a GTAA identifier?", "Show me the English names of all humans that are assigned a GTAA ID."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P1741> ?var3 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q18616576> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8603", "question": "Scholarly works by Magnus Sahlgren, including co-authors, publication dates, venues, and types, ordered by earliest publication.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nSELECT ( MIN( ?pubDate ) AS ?earliestPublicationDate ) ?work ?workLabel ( GROUP_CONCAT( DISTINCT ?typeLabel ; SEPARATOR = \", \" ) AS ?types ) ( SAMPLE( ?pages ) AS ?numberOfPages ) ?publicationVenue ?publicationVenueLabel ( GROUP_CONCAT( DISTINCT ?authorLabel ; SEPARATOR = \", \" ) AS ?allAuthors ) WHERE {\n  ?work wdt:P50 wd:Q6732182 .\n  ?work wdt:P50 ?author .\n  OPTIONAL {\n    ?author rdfs:label ?authorLabel .\n    FILTER ( LANG( ?authorLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?work wdt:P31 ?type .\n    ?type rdfs:label ?typeLabel .\n    FILTER ( LANG( ?typeLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?work wdt:P577 ?pubDateStr .\n    BIND( xsd:date ( ?pubDateStr ) AS ?pubDate )\n  }\n  OPTIONAL {\n    ?work wdt:P1104 ?pages\n  }\n  OPTIONAL {\n    ?work wdt:P1433 ?publicationVenue .\n    ?publicationVenue rdfs:label ?publicationVenueLabel .\n    FILTER ( LANG( ?publicationVenueLabel ) = \"en\" )\n  }\n}\nGROUP BY ?work ?workLabel ?publicationVenue ?publicationVenueLabel\nORDER BY DESC ( ?earliestPublicationDate )", "paraphrases": ["What are all the scholarly works authored by Magnus Sahlgren, who are his co-authors, when were they published, and in which venues did they appear?", "List all works where Magnus Sahlgren is an author, showing the full list of authors, publication date, number of pages, publication venue, and type of work, sorted from most recent to oldest."], "info": {"raw_sparql": "SELECT( MIN ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ( GROUP_CONCAT ( DISTINCT ?var4Label ; SEPARATOR = \", \" ) AS ?var5 )( SAMPLE ( ?var6 ) AS ?var7 ) ?var8 ?var8Label ( GROUP_CONCAT ( DISTINCT ?var9Label ; SEPARATOR = \", \" ) AS ?var10 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q6732182> . ?var3 <http://www.wikidata.org/prop/direct/P50> ?var11 . OPTIONAL { ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12 . FILTER ( ( ( LANG ( ?var12 ) = \"en\" ) ) ) . } BIND ( COALESCE ( ?var12 , SUBSTR ( STR ( ?var11 ) ,\"32\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var9Label ). OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . } OPTIONAL { BIND ( <http://www.w3.org/2001/XMLSchema#date> ( ?var13 ) AS ?var1 ). ?var3 <http://www.wikidata.org/prop/direct/P577> ?var13 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1104> ?var6 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,no,ru,sv,zh\". } } GROUP BY ?var3 ?var3Label ?var8 ?var8Label ORDER BY DESC( ?var2 )"}}
{"id": "test_8604", "question": "Who are some people affiliated with MIT who are older than 22, listed alphabetically, skipping the first 20 results?", "sparql": "SELECT ?person ?name WHERE { ?person wdt:P1416 wd:Q49108 . ?person rdfs:label ?name . ?person wdt:P569 ?birthDate . FILTER(YEAR(?birthDate) < 2002) FILTER(LANG(?name) = \"en\") } ORDER BY ASC(?name) LIMIT 20 OFFSET 20", "paraphrases": ["List the English names of MIT academics born before 2002, ordered by name, starting from the 21st result.", "Show me the names of MIT faculty or researchers older than 22, sorted alphabetically, with results paginated to show the second page of 20."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.mit.edu#registeredAt> ?var3 . ?var3 <http://xmlns.com/foaf/0.1/homepage> <http://www.mit.edu> . ?var1 <http://xmlns.com/foaf/0.1/name> ?var2 . ?var1 <http://xmlns.com/foaf/0.1/age> ?var4 . FILTER ( ( ( ?var4 > \"22\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY ASC( ?var2 ) LIMIT 20 OFFSET 20"}}
{"id": "test_8605", "question": "Top 1000 silos and their Wikipedia sitelink counts, ordered by popularity", "sparql": "SELECT ?item (COUNT(?sitelink) AS ?sitelinkCount) WHERE { ?item wdt:P31 / wdt:P279* wd:Q213643 . ?sitelink schema:about ?item ; schema:isPartOf ?wikipedia . FILTER(STRSTARTS(STR(?wikipedia), \"https://\")) } GROUP BY ?item ORDER BY DESC(?sitelinkCount) LIMIT 1000", "paraphrases": ["Which silos and their subclasses have the most Wikipedia sitelinks, and how many do they have?", "Show me the 1000 most-linked silos and their subclasses on Wikipedia, sorted by the number of sitelinks in descending order."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> * <http://www.wikidata.org/entity/Q213643> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 1000"}}
{"id": "test_8606", "question": "List of music historians with English Wikipedia labels, sorted alphabetically.", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P106 wd:Q20198542 . ?person rdfs:label ?personLabel . FILTER (lang(?personLabel) = \"en\") } ORDER BY ?personLabel LIMIT 1000", "paraphrases": ["Who are the music historians documented in Wikidata, and what are their English names?", "Please provide the names of all music historians in English from Wikidata, ordered alphabetically."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> * <http://www.wikidata.org/entity/Q20198542> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 1000"}}
{"id": "test_8607", "question": "Music theorists with the most Wikipedia articles", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?music_theorist(COUNT(?wikipedia_page) AS ?sitelink_count) WHERE {\n  ?music_theorist wdt:P106 wd:Q16031530 .\n  ?wikipedia_page schema:about ?music_theorist .\n  FILTER(STRSTARTS(STR(?wikipedia_page) , \"https://\"))\n}\nGROUP BY ?music_theorist\nORDER BY DESC(?sitelink_count)\nLIMIT 1000", "paraphrases": ["Who are the music theorists with the highest number of Wikipedia language editions?", "List the top 1000 music theorists sorted by the number of Wikipedia pages about them, in descending order."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> * <http://www.wikidata.org/entity/Q16031530> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 1000"}}
{"id": "test_8608", "question": "What qualifier property is most frequently used on items that have a GTAA ID, and how many times is it used?", "sparql": "SELECT ?qualifier (COUNT(?qualifierValue) AS ?count) WHERE { ?item wdt:P1741 ?id . ?statement ps:P1741 ?id ; ?qualifier ?qualifierValue . FILTER(STRSTARTS(STR(?qualifier), \"http://www.wikidata.org/prop/qualifier/\")) } GROUP BY ?qualifier ORDER BY DESC(?count)", "paraphrases": ["Among people with a GTAA ID, which alternative name variant is most commonly recorded as a qualifier in Wikidata?", "How many times is the \"subject named as\" qualifier used on statements linking people to their GTAA identifiers?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SELECT ?var1 ( COUNT ( ?var3 ) AS ?var2 ) WHERE { ?var3 ?var4 <http://www.wikidata.org/prop/direct/P1741> . ?var1 <http://wikiba.se/ontology#statementProperty> ?var4 . } GROUP BY ?var1 } ORDER BY DESC( ?var2 )"}}
{"id": "test_8609", "question": "What are all the properties defined in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?propertyLabel WHERE {\n  ?property wdt:P31 wd:Q18616576\n}", "paraphrases": ["Show me a list of all Wikidata properties.", "Which entities in Wikidata are classified as properties?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q18616576> . ?var1 <http://wikiba.se/ontology#statementProperty> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8610", "question": "List all Wikidata properties that are part of the data model and their corresponding statement properties with English labels.", "sparql": "SELECT ?property ?propertyLabel ?statementProperty WHERE { ?property wdt:P31 wd:Q18616576 . ?property wikibase:statementProperty ?statementProperty . ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") }", "paraphrases": ["Which Wikidata properties are used in statements, and what are their statement property equivalents in English?", "Show me the English labels and statement property URIs for all properties classified as data elements in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q18616576> . ?var1 <http://wikiba.se/ontology#statementProperty> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8611", "question": "What are the English and German Wikipedia pages for the film with IMDb ID tt0298131?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?wikipediaPage WHERE {\n  ?film wdt:P345 \"tt0298131\" .\n  ?wikipediaPage schema:about ?film ; schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" )\n}", "paraphrases": ["Can you show me the Wikipedia articles in English and German about the movie identified by tt0298131 on IMDb?", "Which Wikipedia pages in English and German discuss the film with the IMDb identifier tt0298131?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0298131\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8612", "question": "English and German Wikipedia pages for the movie with IMDb ID tt1913166", "sparql": "SELECT ?movie ?wikipediaPage WHERE { ?movie wdt:P345 \"tt1913166\" . ?wikipediaPage schema:about ?movie . { ?wikipediaPage schema:inLanguage \"en\" . } UNION { ?wikipediaPage schema:inLanguage \"de\" . } }", "paraphrases": ["What are the English and German Wikipedia articles for the movie Nurse 3D?", "Show me the English and German Wikipedia links for the film identified by IMDb ID tt1913166."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1913166\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8613", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0109758?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipediaPage WHERE {\n  VALUES ?imdbId {\n    \"tt0109758\"\n  }\n  .\n  ?movie wdt:P345 ?imdbId .\n  ?wikipediaPage schema:about ?movie .\n  ?wikipediaPage schema:inLanguage ?lang .\n  VALUES ?lang {\n    \"en\" \"de\"\n  }\n}", "paraphrases": ["Which Wikipedia pages in English and German are about the movie identified by the IMDb ID tt0109758?", "Show me the English and German Wikipedia links for the film that has the IMDb identifier tt0109758."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0109758\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8614", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt1244754?", "sparql": "SELECT ?film ?wikipediaPage WHERE { ?film wdt:P345 \"tt1244754\" . ?wikipediaPage schema:about ?film . ?wikipediaPage schema:inLanguage ?lang . VALUES ?lang { \"en\" \"de\" } }", "paraphrases": ["Can you show me the Wikipedia articles in English and German about the film \"Conviction\" (2010)?", "Which language versions of Wikipedia discuss the movie identified by tt1244754?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1244754\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8615", "question": "Which Twitter/X accounts (elonmusk, Wikimedia) have the fewest Wikipedia sitelinks?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username ( COUNT( ?sitelink ) AS ?sitelinkCount ) WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"elonmusk\" \"Wikimedia\"\n  }\n  .\n  ?sitelink schema:about ?item ; schema:isPartOf ?site .\n}\nGROUP BY ?item ?username\nORDER BY ASC ( ?sitelinkCount )", "paraphrases": ["Who are the entities with Twitter usernames \"elonmusk\" or \"Wikimedia\", and how many Wikipedia links do they have, sorted by least to most?", "List the entities linked to the Twitter usernames \"elonmusk\" and \"Wikimedia\", along with their number of sitelinks, ordered from lowest to highest."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"WikiAtlas\" ) ( \"Wikimedia\" ) ( \"Hugo_lz\" ) ( \"Planemad\" ) ( \"Hugo_Lz\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"mbostock\" ) ( \"nordpil\" ) ( \"Wikiatlas\" ) ( \"string4\" ) ( \"mxfh\" ) ( \"Caged\" ) ( \"elonmusk\" ) ( \"string5\" ) ( \"string6\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8616", "question": "Who are the humans named \"Ludwig\" in French?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?item WHERE {\n  ?item rdfs:label \"Ludwig\" @fr .\n  ?item wdt:P31 wd:Q5\n}", "paraphrases": ["What human entities have the French label \"Ludwig\"?", "Can you list all people whose name in French is Ludwig?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"ludwing\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8617", "question": "Who are the people with the surname Chambat?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?human WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human wdt:P734 wd:Q45491695 .\n}", "paraphrases": ["Can you list all humans whose family name is Chambat?", "Which individuals are known to have Chambat as their last name?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"chambat\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8618", "question": "Who is the Chinese writer named \u9093\u5fd7\u8c1f with the most Wikipedia articles about them?", "sparql": "SELECT ?entity (COUNT(?sitelink) AS ?count) WHERE { ?entity wdt:P31 wd:Q5 ; rdfs:label \"\u9093\u5fd7\u8c1f\"@zh . ?sitelink schema:about ?entity ; schema:isPartOf ?wiki . FILTER( STRSTARTS( STR(?wiki), \"https://\") ) } GROUP BY ?entity ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["How many Wikipedia pages are there about the historical Chinese writer Deng Zhimo, and who is he?", "Find the person named \u9093\u5fd7\u8c1f who is a human and has the highest number of Wikipedia articles linked to them."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { VALUES ( ?var4 ) { ( <http://www.w3.org/2000/01/rdf-schema#label> ) ( <http://www.w3.org/2004/02/skos/core#altlabel> ) } ?var1 ?var4 \"\u9127\u5fd7\u8b28\"@zh-hant ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var2 <http://schema.org/about> ?var1 . } MINUS { BIND ( YEAR ( ?var5 ) AS ?var6 ). ?var1 <http://www.wikidata.org/prop/direct/P569> ?var5 . FILTER ( ( ( ?var6 > \"1899\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } } GROUP BY ?var1 ORDER BY DESC( ?var3 ) LIMIT 1"}}
{"id": "test_8619", "question": "French labels and descriptions of properties used to indicate physicist as an occupation or field.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?prop ?propLabel ?propDescription WHERE {\n  ?item ?prop wd:Q169470 .\n  FILTER ( STRSTARTS( STR( ?prop ) , \"http://www.wikidata.org/prop/direct/\" ) ) .\n  BIND( IRI( REPLACE( STR( ?prop ) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\" ) ) AS ?propItem ) .\n  ?propItem rdfs:label ?propLabel .\n  ?propItem schema:description ?propDescription .\n  FILTER ( LANG( ?propLabel ) = \"fr\" ) FILTER ( LANG( ?propDescription ) = \"fr\" )\n}\nLIMIT 100", "paraphrases": ["What are the French labels and descriptions of properties in Wikidata that are used to assign the profession of physicist to individuals?", "Please list the French labels and descriptions of all properties in Wikidata that are used to indicate someone is a physicist."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q169470> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"fr\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"fr\" ) ) ) . } LIMIT 100"}}
{"id": "test_8620", "question": "Which Wikidata items have Twitter usernames \"tomgauld\", \"ActesSud\", or \"Medscape\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterUsername WHERE {\n  ?item wdt:P2002 ?twitterUsername .\n  VALUES ?twitterUsername {\n    \"tomgauld\" \"ActesSud\" \"Medscape\"\n  }\n}", "paraphrases": ["Who are the entities on Wikidata that use the Twitter handles \"tomgauld\", \"ActesSud\", and \"Medscape\"?", "Show me the Wikidata entities linked to the Twitter accounts @tomgauld, @ActesSud, and @Medscape."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"tomgauld\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"mercredibd\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"voxafrica\" ) ( \"dlang57500\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) ( \"AdlynLPP\" ) ( \"string13\" ) ( \"hcdahlem\" ) ( \"la_kube\" ) ( \"Leiloona\" ) ( \"string14\" ) ( \"string15\" ) ( \"lacqx\" ) ( \"ActesSud\" ) ( \"string16\" ) ( \"string17\" ) ( \"string18\" ) ( \"Belfond\" ) ( \"string19\" ) ( \"string20\" ) ( \"Medscape\" ) ( \"string21\" ) ( \"string22\" ) ( \"string23\" ) ( \"string24\" ) ( \"sylvie_d19\" ) ( \"MadameLit\" ) ( \"string25\" ) ( \"string26\" ) ( \"string27\" ) ( \"string28\" ) ( \"_AnaisW\" ) ( \"string29\" ) ( \"string30\" ) ( \"string31\" ) ( \"string32\" ) ( \"polybib\" ) ( \"string33\" ) ( \"Vain_eela\" ) ( \"valeriekl1\" ) ( \"string34\" ) ( \"string35\" ) ( \"Silvae\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8621", "question": "Female scientists from Sweden", "sparql": "SELECT ?scientist ?scientistLabel WHERE { ?scientist wdt:P31 wd:Q5 . ?scientist wdt:P21 wd:Q6581072 . ?scientist wdt:P106 wd:Q901 . ?scientist wdt:P27 wd:Q34 . ?scientist rdfs:label ?scientistLabel . FILTER(LANG(?scientistLabel) = \"en\") }", "paraphrases": ["Who are the female scientists who are citizens of Sweden?", "List the names of Swedish female scientists."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q901> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q34> . }"}}
{"id": "test_8622", "question": "List entities and their coordinates within 100 km of Berlin.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nSELECT ?item ?location WHERE {\n  ?item wdt:P625 ?location .\n  BIND(SUBSTR(STR(?location) , 7) AS ?lon_lat_str)\n  BIND(STRBEFORE(?lon_lat_str , \" \") AS ?lon_str)\n  BIND(STRAFTER(?lon_lat_str , \" \") AS ?lat_str)\n  BIND(xsd:double(?lon_str) AS ?lon)\n  BIND(xsd:double(SUBSTR(?lat_str , 1 , STRLEN(?lat_str) -1)) AS ?lat)\n  FILTER(?lon >= 12.505 && ?lon <= 14.305)\n  FILTER(?lat >= 51.62 && ?lat <= 53.42)\n}\nLIMIT 10", "paraphrases": ["What are the locations of places near Berlin within a 100-kilometer radius?", "Show me the items and their geographic coordinates that are approximately 100 km from Berlin."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> \"string1\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"100\". } }"}}
{"id": "test_8623", "question": "Image of Violet Hunt with SNAC ARK ID w60c4tgb", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w60c4tgb\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the person having SNAC ARK ID w60c4tgb?", "Show me the Wikimedia Commons image for Violet Hunt, identified by SNAC ARK ID w60c4tgb."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w60c4tgb\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8624", "question": "What is the infobox template used for humans on Russian Wikipedia?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?template ?templateLabel WHERE {\n  ?template wdt:P31 wd:Q19887878 .\n  ?template wdt:P1423 wd:Q5 .\n  ?wikipediaArticle schema:about ?template ; schema:isPartOf <https://ru.wikipedia.org/> .\n  ?template rdfs:label ?templateLabel .\n  FILTER(LANG(?templateLabel) = \"en\")\n}\nORDER BY ?templateLabel\nLIMIT 1", "paraphrases": ["Which infobox template is associated with the topic \"human\" and has a Russian Wikipedia article?", "Show me the most common infobox template for people that exists on the Russian Wikipedia."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ( COUNT ( ?var5 ) AS ?var6 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ( COUNT ( ?var7 ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19887878> . ?var1 <http://www.wikidata.org/prop/direct/P1423> ?var2 . <http://www.wikidata.org/entity/Q16673368> ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P106> ) ?var8 . ?var8 <http://www.wikidata.org/prop/direct/P279> * ?var7 . ?var7 <http://www.wikidata.org/prop/direct/P279> * ?var2 . } GROUP BY ?var1 ?var2 } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> * ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P279> * ?var3 . } } GROUP BY ?var1 ?var2 ?var3 ?var4 } FILTER ( ( EXISTS { ?var9 <http://schema.org/about> ?var1 . ?var9 <http://schema.org/isPartOf> <https://ru.wikipedia.org/> . } ) ) . } ORDER BY ASC( ?var4 ) DESC( ?var6 ) LIMIT 1"}}
{"id": "test_8625", "question": "Tom Hanks, actor, Golden Globe Awards recipient", "sparql": "SELECT DISTINCT ?name ?person WHERE { ?person wdt:P106 wd:Q33999 . ?person rdfs:label ?name . ?person wdt:P166 ?award . ?award wdt:P31 wd:Q1011547 . FILTER (LANG(?name) = \"en\") FILTER (REGEX(?name, \"^Tom Hanks$\", \"i\")) } LIMIT 10", "paraphrases": ["Has Tom Hanks won a Golden Globe Award?", "Show me the Wikidata entry for Tom Hanks, an actor who has received a Golden Globe Award."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var2 <http://www.wikidata.org/prop/direct/P166> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1011547> . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . FILTER ( ( REGEX ( ?var1Label , \"Tom Hanks*\", \"i\" ) ) ) . } LIMIT 10"}}
{"id": "test_8626", "question": "Top 2000 belvederes with most Wikipedia language versions", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ( COUNT( ?site ) AS ?sitelinkCount ) WHERE {\n  ?item wdt:P31 ?class .\n  ?class wdt:P279 * wd:Q816265 .\n  ?site schema:about ?item .\n}\nGROUP BY ?item\nORDER BY DESC ( ?sitelinkCount )\nLIMIT 2000", "paraphrases": ["Which belvederes and related structures have the most Wikipedia articles, ranked by number of languages?", "List all belvederes and their subclasses that have Wikipedia pages, sorted by how many language versions they appear in."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q816265> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 2000"}}
{"id": "test_8627", "question": "What paintings from the Art Museum of Estonia are available as images on Wikimedia Commons?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?painting ?paintingLabel ?image WHERE {\n  ?painting ( wdt:P31 / wdt:P279 * ) wd:Q3305213 .\n  ?painting wdt:P195 wd:Q1754105 .\n  ?painting wdt:P18 ?image .\n  ?painting rdfs:label ?paintingLabel .\n  FILTER ( LANG( ?paintingLabel ) = \"en\" )\n}", "paraphrases": ["Show me the names and images of paintings in the Art Museum of Estonia.", "Which artworks in the Estonian National Art Museum have been photographed and uploaded to Wikimedia Commons?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3305213> . { ?var1 <http://www.wikidata.org/prop/direct/P195> <http://www.wikidata.org/entity/Q12376420> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P195> <http://www.wikidata.org/entity/Q1754105> . } ?var1 <http://www.wikidata.org/prop/direct/P4525> [] . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"et\". } }"}}
{"id": "test_8628", "question": "Metallica band, when was it founded, what is its genre, and what is its official image?", "sparql": "SELECT ?band ?label ?inception ?image ?genre ?description WHERE { ?band wdt:P31 wd:Q215380 . ?band rdfs:label ?label . ?band schema:description ?description . ?band wdt:P571 ?inception . ?band wdt:P18 ?image . ?band wdt:P136 ?genreNode . ?genreNode rdfs:label ?genre . FILTER (LANG(?description) = \"en\") . FILTER (LANG(?genre) = \"en\") . FILTER (LANG(?label) = \"en\") . FILTER (CONTAINS(LCASE(?label), \"metallica\")) . } LIMIT 1", "paraphrases": ["What is the English label, founding date, image, genre, and description of the musical group Metallica?", "Show me the English name, founding year, image, genre, and description of Metallica, the American heavy metal band."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q215380> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var1 <http://schema.org/description> ?var7 . ?var1 <http://www.wikidata.org/prop/direct/P571> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P112> ?var8 . ?var1 <http://www.wikidata.org/prop/direct/P136> ?var9 . ?var9 <http://www.w3.org/2000/01/rdf-schema#label> ?var6 . FILTER ( ( ( LANG ( ?var7 ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var6 ) = \"en\" ) ) ) . FILTER ( ( CONTAINS ( LCASE ( ?var2 ) , \"metallica\" ) ) ) . } LIMIT 1"}}
{"id": "test_8629", "question": "Musical groups with \"elton\" in their name", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?group ?label ?description WHERE {\n  ?group wdt:P31 wd:Q215380 .\n  ?group rdfs:label ?label .\n  ?group schema:description ?description .\n  FILTER ( CONTAINS( LCASE( ?label ) , \"elton\" ) )\n}\nORDER BY ?label", "paraphrases": ["Which musical groups have names containing the substring \"elton\"?", "Show me all musical groups and their descriptions where the group's name includes \"elton\", regardless of language."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q215380> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( CONTAINS ( LCASE ( ?var2 ) , \"elton\" ) ) ) . }"}}
{"id": "test_8630", "question": "Who are the most notable people in computer science based on the number of Wikipedia articles about them?", "sparql": "SELECT ?person (COUNT(?page) AS ?sitelinks) WHERE { ?person wdt:P101 wd:Q21198 . ?page schema:about ?person . } GROUP BY ?person ORDER BY DESC(?sitelinks) LIMIT 2000", "paraphrases": ["List the top 2000 individuals and organizations associated with computer science, ordered by how many Wikipedia pages mention them.", "Which computer science professionals have the highest Wikipedia presence, and how many articles are there about each?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P106> */ <http://www.wikidata.org/prop/direct/P101> */ <http://www.wikidata.org/prop/direct/P39> *) <http://www.wikidata.org/entity/Q3766177> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 2000"}}
{"id": "test_8631", "question": "Wikimedia portals with main topic Mars", "sparql": "SELECT ?portal ?statement WHERE { ?statement ps:P1204 wd:Q111 . ?portal p:P1204 ?statement . }", "paraphrases": ["Which Wikimedia portal has Mars as its main topic?", "List the Wikimedia portal that is about Mars."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P1204> <http://www.wikidata.org/entity/Q111> . ?var1 <http://www.wikidata.org/prop/P1204> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_8632", "question": "List the superior planets in the Solar System.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?superiorPlanet ?superiorPlanetLabel WHERE {\n  ?superiorPlanet wdt:P31 wd:Q844911 .\n  ?superiorPlanet rdfs:label ?superiorPlanetLabel .\n  FILTER ( LANG( ?superiorPlanetLabel ) = \"en\" )\n}", "paraphrases": ["Which planets in our Solar System orbit farther from the Sun than Earth?", "What are the English names of the planets that are classified as superior planets in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q844911> . } LIMIT 21 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8633", "question": "English and German Wikipedia or Wikiquote pages about the movie with IMDb ID tt0110971.", "sparql": "SELECT ?movie ?page WHERE { ?movie wdt:P345 \"tt0110971\" . ?page schema:about ?movie . VALUES ?lang { \"en\" \"de\" } . ?page schema:inLanguage ?lang . }", "paraphrases": ["What English and German-language Wikipedia or Wikiquote pages are about the film \"Renaissance Man\"?", "Show me the English and German Wikipedia and Wikiquote links for the movie identified by IMDb ID tt0110971."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0110971\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8634", "question": "What are all the entities in Wikidata that use any writing system?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P282 ?writingSystem .\n}", "paraphrases": ["List all items (such as languages, names, or texts) that are associated with a writing system like Latin or Cyrillic.", "Show me all entities in Wikidata that have a writing system assigned to them."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P282> _:b3 . }"}}
{"id": "test_8635", "question": "English and German Wikipedia pages for the movie with IMDb ID tt2752200", "sparql": "SELECT ?movie ?wikipediaPage ?imdbId WHERE { VALUES ?imdbId { \"tt2752200\" } ?movie wdt:P345 ?imdbId . ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["What are the English and German Wikipedia articles for the film \"Young & Beautiful\" (IMDb tt2752200)?", "Show me the Wikipedia pages in English and German for the movie identified by IMDb ID tt2752200."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2752200\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8636", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt2333598?", "sparql": "SELECT ?movie ?wikipediaPage WHERE { ?movie wdt:P345 \"tt2333598\" . ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Which Wikipedia pages in English or German are about the movie identified by IMDb ID tt2333598?", "Show me the Wikipedia links in English or German for the movie with IMDb ID tt2333598."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2333598\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8637", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt2125698?", "sparql": "SELECT ?movie ?wikipediaPage ?imdbId WHERE { ?movie wdt:P345 \"tt2125698\" . ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang . VALUES ?lang { \"en\" \"de\" } BIND(\"tt2125698\" AS ?imdbId) }", "paraphrases": ["Which Wikipedia pages in English or German describe the film identified by the IMDb ID tt2125698?", "Show me the Wikidata item, the corresponding English or German Wikipedia page, and the IMDb ID for the movie tt2125698."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2125698\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8638", "question": "Does Wikidata contain an item with VIAF ID 315128090?", "sparql": "ASK WHERE { ?item wdt:P214 \"315128090\" . }", "paraphrases": ["Is there a Wikidata entity linked to the VIAF identifier 315128090?", "Check if the Virtual International Authority File ID 315128090 is assigned to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"315128090\". }"}}
{"id": "test_8639", "question": "Which spacecraft landed on Venus, and what qualifier was used to record their landing coordinates?", "sparql": "SELECT ?spacecraft ?statement ?qualifierLabelSample WHERE { ?statement ps:P1158 wd:Q313 . ?spacecraft p:P1158 ?statement . FILTER EXISTS { ?statement pq:P625 ?value } . BIND(\"coordinate location\" AS ?qualifierLabelSample) } GROUP BY ?spacecraft ?statement ?qualifierLabelSample", "paraphrases": ["Show the spacecraft that landed on Venus and had their landing coordinates recorded.", "For missions that landed on Venus, which ones include geographic coordinates as a qualifier in their Wikidata entries?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P1158> <http://www.wikidata.org/entity/Q313> . ?var1 <http://www.wikidata.org/prop/P1158> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_8640", "question": "Items depicting the planet Venus", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?item ?statement ?qualifierProperty ?qualifierValue ?itemLabel WHERE {\n  {\n    SELECT DISTINCT ?item ?statement WHERE {\n      ?statement ps:P180 wd:Q313 .\n      ?item p:P180 ?statement .\n    }\n    LIMIT 101\n  }\n  OPTIONAL {\n    ?statement ?qualifierProperty ?qualifierValue .\n    ?qualifierProperty wikibase:qualifier ?qualifierProperty .\n  }\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER(LANG(?itemLabel) = \"en\")\n  }\n}\nORDER BY ?itemLabel", "paraphrases": ["What artworks, symbols, or media depict the planet Venus?", "List all known depictions of Venus in art, emblems, or media, with their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P180> <http://www.wikidata.org/entity/Q313> . ?var1 <http://www.wikidata.org/prop/P180> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_8641", "question": "Which Wikidata entity has the Twitter username 'BBCNews'?", "sparql": "SELECT ?item ?label WHERE { ?item wdt:P2002 \"BBCNews\" . ?item rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["What is the English label of the entity with the Twitter handle BBCNews?", "Show me the English name of the organization that uses BBCNews as its Twitter username."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"AuntyFire\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8642", "question": "People whose occupation is spin doctor", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P106 wd:Q1256173 .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}\nORDER BY ?personLabel\nLIMIT 50", "paraphrases": ["Who are the people listed as spin doctors on Wikidata?", "List the English names of all individuals whose occupation is \"spin doctor\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q55> ) ( <http://www.wikidata.org/entity/Q29999> ) } ?var1 ( <http://www.wikidata.org/prop/direct/P106> */ <http://www.wikidata.org/prop/direct/P101> */ <http://www.wikidata.org/prop/direct/P39> *) <http://www.wikidata.org/entity/Q1256173> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 500"}}
{"id": "test_8643", "question": "Astronauts from the Kingdom of the Netherlands with the most Wikipedia language versions", "sparql": "SELECT ?person (COUNT(?wikipediaPage) AS ?sitelinkCount) WHERE { ?person (wdt:P106|wdt:P101|wdt:P39) wd:Q11631 . ?person wdt:P27 wd:Q29999 . ?wikipediaPage schema:about ?person . ?wikipediaPage schema:inLanguage ?lang . FILTER (STRSTARTS(STR(?wikipediaPage), \"https://\")) } GROUP BY ?person ORDER BY DESC(?sitelinkCount) LIMIT 500", "paraphrases": ["Who are the astronauts from the Kingdom of the Netherlands, and how many Wikipedia pages exist about them?", "List the astronauts associated with the Kingdom of the Netherlands, sorted by the number of Wikipedia language editions they have."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q55> ) ( <http://www.wikidata.org/entity/Q29999> ) } ?var1 ( <http://www.wikidata.org/prop/direct/P106> */ <http://www.wikidata.org/prop/direct/P101> */ <http://www.wikidata.org/prop/direct/P39> *) <http://www.wikidata.org/entity/Q11631> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 500"}}
{"id": "test_8644", "question": "Humans with official websites and geographic coordinates", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?humanLabel ?website ?coordinates WHERE {\n  ?human wdt:P31 / wdt:P279 * wd:Q5 .\n  ?human wdt:P856 ?website .\n  ?human wdt:P625 ?coordinates .\n  ?human rdfs:label ?humanLabel .\n  FILTER ( LANG( ?humanLabel ) = \"en\" )\n}", "paraphrases": ["Which humans have official websites and where are they located?", "Show me the names, official websites, and geographic locations of all humans and human-associated entities in Wikidata."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> ?) <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr\". } }"}}
{"id": "test_8645", "question": "Wikipedia articles in English and German about the film with IMDb ID tt1449175.", "sparql": "SELECT ?item ?wikipedia_page WHERE { ?item wdt:P345 \"tt1449175\" . ?wikipedia_page schema:about ?item . VALUES ?lang { \"en\" \"de\" } ?wikipedia_page schema:inLanguage ?lang .}", "paraphrases": ["What are the English and German Wikipedia pages for the movie with IMDb ID tt1449175?", "Show me the English and German Wikipedia links for the film identified by IMDb ID tt1449175."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1449175\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8646", "question": "Italian label, image, coordinates, and Italian Wikipedia page for Therese Giehse", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?label ?image ?coordinates ?wikipediaArticle WHERE {\n  wd:Q69638 rdfs:label ?label .\n  FILTER(LANG(?label) IN(\"it\" , \"en\" , \"de\" , \"fr\"))\n  OPTIONAL {\n    wd:Q69638 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q69638 wdt:P625 ?coordinates .\n  }\n  ?wikipediaArticle schema:about wd:Q69638 ; schema:inLanguage \"it\" ; schema:isPartOf <https://it.wikipedia.org/> .\n  VALUES(?lang ?sort) {(\"it\" 1)(\"en\" 2)(\"de\" 3)(\"fr\" 4)\n  }\n  FILTER(LANG(?label) = ?lang)\n}\nORDER BY ?sort\nLIMIT 1", "paraphrases": ["What is Therese Giehse\u2019s label in Italian, her image on Commons, her coordinates, and her Italian Wikipedia page?", "Show me the Italian name, image, location coordinates, and Italian Wikipedia link for the person Therese Giehse."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { OPTIONAL { <http://www.wikidata.org/entity/statement/Q69638-6E1FB0EA-6DC2-4071-8E33-7A9225193648> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var5 ) ) ) . VALUES ( ?var5 ?var6 ) { ( \"it\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/statement/Q69638-6E1FB0EA-6DC2-4071-8E33-7A9225193648> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/statement/Q69638-6E1FB0EA-6DC2-4071-8E33-7A9225193648> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/statement/Q69638-6E1FB0EA-6DC2-4071-8E33-7A9225193648> ; <http://schema.org/inLanguage> \"it\"; <http://schema.org/isPartOf> <https://it.wikipedia.org/> . } } ORDER BY ASC( ?var6 )"}}
{"id": "test_8647", "question": "What is the English label and description of the entity in the Great Russian Encyclopedia with ID 2334183?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P2924 \"2334183\" . OPTIONAL { ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") } OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Can you find the English name and definition of the Universe as listed in the Great Russian Encyclopedia Online?", "Show me the English title and description of the entry in the Great Russian Encyclopedia that has the ID 2334183."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"2333409\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8648", "question": "Top industrialists by number of Wikipedia and Wikidata statements", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ( COUNT( * ) AS ?popularity ) WHERE {\n  {\n    ?person wdt:P106 wd:Q6606110 .\n  } UNION {\n    ?person wdt:P101 wd:Q6606110 .\n  } UNION {\n    ?person wdt:P39 wd:Q6606110 .\n  }\n  ?person ?p ?o .\n}\nGROUP BY ?person\nORDER BY DESC ( ?popularity )\nLIMIT 2000", "paraphrases": ["Who are the most notable industrialists, ranked by how much information is available about them on Wikidata?", "List the people who are industrialists, ordered by how extensively they are documented on Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P106> */ <http://www.wikidata.org/prop/direct/P101> */ <http://www.wikidata.org/prop/direct/P39> *) <http://www.wikidata.org/entity/Q6606110> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 2000"}}
{"id": "test_8649", "question": "List corporations with their headquarters, CEO, and employee count, including the start date of the CEO.", "sparql": "SELECT ?corporation ?corporationName ?headquartersLabel ?ceoLabel ?ceoStartDate ?employeeCount WHERE { ?corporation wdt:P31 wd:Q167037 . OPTIONAL { ?corporation wdt:P1477 ?corporationName . FILTER(LANG(?corporationName) = \"en\") } OPTIONAL { ?corporation rdfs:label ?corporationName . FILTER(LANG(?corporationName) = \"en\") } OPTIONAL { ?corporation wdt:P159 ?headquarters . ?headquarters rdfs:label ?headquartersLabel . FILTER(LANG(?headquartersLabel) = \"en\") } OPTIONAL { ?corporation p:P169 ?ceoStmt . ?ceoStmt ps:P169 ?ceo . ?ceo rdfs:label ?ceoLabel . FILTER(LANG(?ceoLabel) = \"en\") OPTIONAL { ?ceoStmt pq:P580 ?ceoStartDate . } } OPTIONAL { ?corporation p:P1128 ?empStmt . ?empStmt ps:P1128 ?employeeCount . OPTIONAL { ?empStmt pq:P585 ?employeeCountDate . } } FILTER(BOUND(?employeeCount)) } LIMIT 500", "paraphrases": ["Which corporations have reported employee numbers, and who are their CEOs and headquarters locations?", "Show me the names of corporations, their headquarters, current or past CEOs (with start dates), and their number of employees."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3Label ?var4Label ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q167037> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P159> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/P169> ?var7 . ?var7 <http://www.wikidata.org/prop/statement/P169> ?var4 . OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P580> ?var5 . } } OPTIONAL { ?var1 <http://www.wikidata.org/prop/P1128> ?var8 . ?var8 <http://www.wikidata.org/prop/statement/P1128> ?var6 . OPTIONAL { ?var8 <http://www.wikidata.org/prop/qualifier/P585> ?var9 . } } FILTER ( ( BOUND ( ?var6 ) ) ) . } LIMIT 500"}}
{"id": "test_8650", "question": "What is the English title and English Wikipedia page for the Japanese literary work \"\u6e90\u6c0f\u7269\u8a9e\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?item ?itemLabel ?wikipediaPage WHERE {\n  ?item wdt:P1476 \"\u6e90\u6c0f\u7269\u8a9e\" @ja .\n  ?wikipediaPage schema:about ?item ; schema:isPartOf <https://en.wikipedia.org/> .\n  ?item rdfs:label ?itemLabel\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["Find the English Wikipedia article about The Tale of Genji and its English name.", "Show me the English label and corresponding English Wikipedia link for the Japanese classic \"\u6e90\u6c0f\u7269\u8a9e\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 ?var4Label \"\u6e90\u6c0f\u7269\u8a9e\"@jp . ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"jp\". } }"}}
{"id": "test_8651", "question": "Wikidata items with Japanese title \"\u7f85\u751f\u9580\" and their English labels.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?item ?itemLabel WHERE {\n  ?item wdt:P1476 \"\u7f85\u751f\u9580\" @ja .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER ( LANG( ?itemLabel ) = \"en\" )\n  }\n}", "paraphrases": ["What are the English names of the Wikidata items that have the Japanese title \"\u7f85\u751f\u9580\"?", "Show me the English labels for all Wikidata items titled \"\u7f85\u751f\u9580\" in Japanese."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 ?var4Label \"\u7f85\u751f\u9580\"@ja . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8652", "question": "Entities with Japanese label \"\u9f3b\"", "sparql": "SELECT DISTINCT ?item WHERE { ?item rdfs:label \"\u9f3b\"@ja . }", "paraphrases": ["Which Wikidata items are labeled \"\u9f3b\" in Japanese?", "Show me all Wikidata entities that have the Japanese word \"\u9f3b\" as their label."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 ?var6Label \"\u9f3b\"@ja . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8653", "question": "Image of Fred Hirsch with SNAC ARK ID w6dc1bzd", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6dc1bzd\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6dc1bzd?", "Show me the Wikimedia Commons image for the person whose SNAC ARK ID is w6dc1bzd."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6dc1bzd\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8654", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0165643?", "sparql": "SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 \"tt0165643\" . ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Show me the Wikipedia articles in English and German about the film identified by tt0165643 on IMDb.", "Which Wikipedia pages in English or German describe the movie \"Black and White\" (1999)?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0165643\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8655", "question": "English and German Wikipedia pages for the film with IMDb ID tt3062976", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?wikipediaPage WHERE {\n  ?item wdt:P345 \"tt3062976\" .\n  ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" )\n}", "paraphrases": ["What are the English and German Wikipedia articles for the movie \"Learning to Drive\" (IMDb tt3062976)?", "Show me the English and German Wikipedia links for the film identified by IMDb ID tt3062976."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt3062976\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8656", "question": "Libraries that are buildings with their official websites, coordinates, and GND IDs.", "sparql": "SELECT ?libraryLabel ?website ?coordinates ?library ?gndId WHERE { ?library wdt:P31 wd:Q7075 . ?library wdt:P31/wdt:P279* wd:Q41176 . ?library wdt:P856 ?website . ?library wdt:P625 ?coordinates . OPTIONAL { ?library wdt:P227 ?gndId . } ?library rdfs:label ?libraryLabel . FILTER(LANG(?libraryLabel) = \"en\") }", "paraphrases": ["What are the libraries that are also buildings, and what are their official websites, geographic coordinates, and GND identifiers?", "Please list all libraries that are physically buildings, along with their websites, locations, and optional GND IDs, in English."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var1 ?var5 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> ?) <http://www.wikidata.org/entity/Q41176> . ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P227> ?var5 . } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7075> . }"}}
{"id": "test_8657", "question": "Which entities on Wikidata have the Twitter usernames 'FUB_fr' or 'renault_fr'?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"FUB_fr\" \"renault_fr\"\n  }\n}\nORDER BY ?username", "paraphrases": ["What are the Wikidata items associated with the Twitter accounts @FUB_fr and @renault_fr?", "List the entities linked to the Twitter handles FUB_fr and renault_fr."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"IETR_Lab\" ) ( \"string4\" ) ( \"LaFTRSM\" ) ( \"renault_fr\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"FUB_fr\" ) ( \"string9\" ) ( \"bteitgen\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8658", "question": "Wikidata lists about countries and life expectancy", "sparql": "SELECT ?list ?listLabel WHERE { ?list wdt:P31 wd:Q13406463 . ?list wdt:P360 wd:Q6256 . ?list wdt:P360 wd:Q188419 . ?list rdfs:label ?listLabel . FILTER(LANG(?listLabel) = \"en\") }", "paraphrases": ["What are the Wikidata lists that list countries by life expectancy?", "Show me the English-labeled Wikidata lists that have both countries and life expectancy as main topics."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13406463> . ?var1 <http://www.wikidata.org/prop/direct/P360> <http://www.wikidata.org/entity/Q6256> . ?var1 <http://www.wikidata.org/prop/direct/P360> <http://www.wikidata.org/entity/Q188419> . ?var2 <http://www.wikidata.org/prop/direct/P1754> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_8659", "question": "Who died on January 1, 1977, and what were their countries of citizenship and ages at death?", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?country ?countryLabel ?age WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P570 ?deathDate .\n  FILTER ( ?deathDate >= \"1977-01-01\" ^^ xsd:date && ?deathDate < \"1977-01-02\" ^^ xsd:date ) OPTIONAL {\n    ?person wdt:P27 ?country .\n    ?country rdfs:label ?countryLabel .\n    FILTER ( LANG( ?countryLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n    BIND( ( ( ?deathDate - ?birthDate ) / \"365.2425\" ^^ xsd:decimal ) AS ?age )\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}\nORDER BY ?person", "paraphrases": ["List people who passed away on January 1, 1977, along with their English names, nationalities, and how old they were when they died.", "What are the names and nationalities of individuals who died on the first day of 1977, and how old were they?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var3 . } ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var9 . } BIND ( ( ( ?var2 - ?var4 ) /\"365.2425\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) AS ?var10 ). FILTER ( ( ( ?var2 >= \"1977-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 < \"1977-01-02\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_8660", "question": "What is the image of the person with SNAC ARK ID w6x06bk7?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?person wdt:P3430 \"w6x06bk7\" .\n  OPTIONAL {\n    ?person wdt:P18 ?image\n  }\n}", "paraphrases": ["Can you show me the Wikimedia Commons image associated with the SNAC ARK ID w6x06bk7?", "Which image is linked to the historical figure identified by the SNAC ARK ID w6x06bk7?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6x06bk7\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8661", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0112922?", "sparql": "SELECT ?movie ?wikipediaPage WHERE { ?movie wdt:P345 \"tt0112922\" . ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Can you find the Wikipedia articles in English and German about the film \"The Day of the Beast\"?", "Show me the Wikipedia links in English and German for the movie identified by tt0112922 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0112922\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8662", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0103994?", "sparql": "SELECT ?movie ?wikipediaPage WHERE { ?movie wdt:P345 \"tt0103994\" . ?wikipediaPage schema:about ?movie . { ?wikipediaPage schema:inLanguage \"en\" . } UNION { ?wikipediaPage schema:inLanguage \"de\" . } }", "paraphrases": ["Show me the Wikipedia articles in English and German about the film identified by tt0103994.", "Which Wikipedia pages in English and German describe the movie \"Like Water for Chocolate\"?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0103994\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8663", "question": "What are the German labels and descriptions of properties used on Albert Einstein?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?propertyLabel ?propertyDescription WHERE {\n  wd:Q937 ?property ?value .\n  FILTER ( isIRI( ?property ) ) .\n  FILTER ( STRSTARTS( STR( ?property ) , \"http://www.wikidata.org/prop/direct/\" ) ) .\n  OPTIONAL {\n    ?property rdfs:label ?propertyLabel .\n    FILTER ( LANG( ?propertyLabel ) = \"de\" )\n  }\n  OPTIONAL {\n    ?property schema:description ?propertyDescription .\n    FILTER ( LANG( ?propertyDescription ) = \"de\" )\n  }\n}\nLIMIT 100", "paraphrases": ["Show me the German-language labels and descriptions of all properties associated with Albert Einstein in Wikidata.", "Which properties of Albert Einstein have German labels or descriptions?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q937> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"de\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"de\" ) ) ) . } LIMIT 100"}}
{"id": "test_8664", "question": "What operating systems does HCL Domino support?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?os ?osLabel WHERE {\n  wd:Q60198 wdt:P306 ?os .\n  ?os rdfs:label ?osLabel .\n  FILTER(LANG(?osLabel) = \"en\")\n}", "paraphrases": ["Can you list the operating systems that HCL Domino runs on?", "Which platforms are compatible with HCL Domino according to Wikidata?"], "info": {"raw_sparql": "CONSTRUCT { <http://www.wikidata.org/entity/Q60198> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://query.wikidata.org/bigdata/namespace/wdq/id.loc.gov/vocabulary/preservation/environmentFunctionType/soa> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label ; <http://id.loc.gov/vocabulary/preservation/relationshipSubType/req> ?var2 . ?var2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://query.wikidata.org/bigdata/namespace/wdq/id.loc.gov/vocabulary/preservation/environmentFunctionType/ops> . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label } WHERE { <http://www.wikidata.org/entity/Q60198> <http://www.wikidata.org/prop/direct/P306> ?var2 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_8665", "question": "Which Wikidata entities have Twitter usernames \"envlh\" or \"mySociety\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"envlh\" \"mySociety\"\n  }\n}\nORDER BY ?username", "paraphrases": ["Who are the people or organizations on Wikidata with the Twitter handles \"envlh\" and \"mySociety\"?", "Show me the Wikidata items linked to the Twitter usernames \"envlh\" and \"mySociety\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"mySociety\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8666", "question": "German-language books published after 2000 with images, authors, genres, and ISBNs from Wikidata.", "sparql": "SELECT DISTINCT \n  ?book \n  ?bookLabel \n  ?image \n  ?authorLabel \n  ?publicationDate \n  (GROUP_CONCAT(DISTINCT ?openLibraryId; SEPARATOR=\", \") AS ?openLibraryIds) \n  (GROUP_CONCAT(DISTINCT ?genreLabel; SEPARATOR=\", \") AS ?genres) \n  (GROUP_CONCAT(DISTINCT ?isbn; SEPARATOR=\", \") AS ?isbns)\nWHERE {\n  ?book wdt:P31 wd:Q571 .  # instance of book\n  ?book rdfs:label ?bookLabel .\n  FILTER(LANG(?bookLabel) = \"de\") .\n  \n  ?book wdt:P18 ?image .\n  ?book wdt:P50 ?author .\n  ?author rdfs:label ?authorLabel .\n  FILTER(LANG(?authorLabel) = \"de\") .\n  \n  ?book wdt:P577 ?publicationDate .\n  FILTER(?publicationDate > \"2000-01-01T00:00:00Z\"^^xsd:dateTime) .\n  \n  OPTIONAL {\n    ?book wdt:P136 ?genre .\n    ?genre rdfs:label ?genreLabel .\n    FILTER(LANG(?genreLabel) = \"de\") .\n  }\n  \n  OPTIONAL {\n    ?book wdt:P648 ?openLibraryId .\n  }\n  \n  OPTIONAL {\n    ?book wdt:P212 ?isbn .\n  }\n}\nGROUP BY ?book ?bookLabel ?authorLabel ?image ?publicationDate\nLIMIT 100", "paraphrases": ["What are German-language books published after 2000, along with their authors, images, genres in German, and ISBNs?", "Show me a list of German books published after 2000, including their cover images, German author names, artistic genres, and ISBN numbers, grouped by book."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ( GROUP_CONCAT ( DISTINCT ?var5 ; SEPARATOR = \", \" ) AS ?var6 )( GROUP_CONCAT ( DISTINCT ?var7Label ; SEPARATOR = \", \" ) AS ?var8 )( GROUP_CONCAT ( DISTINCT ?var9 ; SEPARATOR = \", \" ) AS ?var10 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q571> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"de\" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P50> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var4 . FILTER ( ( ( ?var4 > \"2000-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P136> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var11 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var7Label . FILTER ( ( ( LANG ( ?var7Label ) = \"de\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P648> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P212> ?var9 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE], de\". } } GROUP BY ?var1 ?var1Label ?var3Label ?var2 ?var4 LIMIT 100"}}
{"id": "test_8667", "question": "English and German Wikipedia pages for the movie with IMDb ID tt0382357", "sparql": "SELECT ?movie ?wikipediaPage WHERE { ?movie wdt:P345 \"tt0382357\" . ?wikipediaPage schema:about ?movie . { ?wikipediaPage schema:inLanguage \"en\" . } UNION { ?wikipediaPage schema:inLanguage \"de\" . } }", "paraphrases": ["What are the English and German Wikipedia articles for the movie \"Land of Plenty\" (IMDb: tt0382357)?", "Show me the English and German Wikipedia links for the film identified by IMDb ID tt0382357."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0382357\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8668", "question": "Image of the person with SNAC ARK ID w6x08srm", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6x08srm\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6x08srm?", "Can you show me the Wikimedia Commons image of the individual identified by the SNAC ARK ID w6x08srm?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6x08srm\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8669", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt6725484?", "sparql": "SELECT ?item ?wikipediaPage ?imdbId WHERE { ?item wdt:P345 \"tt6725484\" . ?wikipediaPage schema:about ?item . VALUES ?lang { \"en\" \"de\" } ?wikipediaPage schema:inLanguage ?lang . BIND(\"tt6725484\" AS ?imdbId) }", "paraphrases": ["Which Wikipedia articles in English or German are about the film \"Can't Help Falling in Love\"?", "Show me the Wikipedia links in English or German for the movie identified by tt6725484 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6725484\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8670", "question": "Which Wikidata entities correspond to the English names John Glenn, Jim Lovell, John Young, and Don Walsh, and are astronauts or explorers?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?entity ?label WHERE {\n  VALUES ?label {\n    \"John Glenn\" @en \"Jim Lovell\" @en \"John Young\" @en \"Don Walsh\" @en\n  }\n  .\n  ?entity rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  .\n  ?entity wdt:P106 ?occupation .\n  FILTER(?occupation IN(wd:Q11631 , wd:Q11900058))\n}", "paraphrases": ["Who are the astronauts and explorers named John Glenn, Jim Lovell, John Young, and Don Walsh in Wikidata?", "Please list the Wikidata items for John Glenn, Jim Lovell, John Young, and Don Walsh, but only if they are known as astronauts or explorers."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { VALUES ( ?var2Label ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"John Glenn\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"Jim Lovell\" ) ( \"string11\" ) ( \"string12\" ) ( \"string13\" ) ( \"string14\" ) ( \"John Young\" ) ( \"string15\" ) ( \"string16\" ) ( \"string17\" ) ( \"string18\" ) ( \"string19\" ) ( \"string20\" ) ( \"string21\" ) ( \"Don Walsh\" ) ( \"string22\" ) ( \"string23\" ) ( \"string24\" ) ( \"string25\" ) ( \"string26\" ) ( \"string27\" ) } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . }"}}
{"id": "test_8671", "question": "People born between September 23 and October 22 with their birth dates and images.", "sparql": "SELECT ?birthDate ?personLabel ?image WHERE { ?person wdt:P569 ?birthDate . ?person wdt:P18 ?image . ?person skos:prefLabel ?personLabel . FILTER ( ( MONTH(?birthDate) = 9 && DAY(?birthDate) >= 23 ) || ( MONTH(?birthDate) = 10 && DAY(?birthDate) <= 22 ) ) FILTER (LANG(?personLabel) = \"en\") } LIMIT 100", "paraphrases": ["Who were born between September 23 and October 22, and what are their birth dates and images?", "Show me the names, birth dates, and images of people born in the Libra zodiac period (September 23 to October 22)."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P569> ?var1 . ?var2 <http://www.wikidata.org/prop/direct/P18> ?var3 . FILTER ( ( ( YEAR ( ?var1 ) > \"1672\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( YEAR ( ?var1 ) <= \"1682\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( MONTH ( ?var1 ) = \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( DAY ( ?var1 ) < \"23\"^^<http://www.w3.org/2001/XMLSchema#integer> ) || ( MONTH ( ?var1 ) = \"9\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( DAY ( ?var1 ) > \"22\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } LIMIT 100"}}
{"id": "test_8672", "question": "Who are the humans with the French label 'Paul Henry'?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person WHERE {\n  ?person rdfs:label \"Paul Henry\" @fr .\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["Which people named Paul Henry in French are classified as humans in Wikidata?", "List all humans in Wikidata whose French label is 'Paul Henry'."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"paul hanry\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8673", "question": "Top types used with retrieval dates on Wikidata, ranked by frequency", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?type ?typeLabel ?count ?propertyLabel WHERE {\n  {\n    SELECT ?type(COUNT(*) AS ?count) ?property WHERE {\n      ?item wdt:P813 ?retrievalDate ; ?property ?type .\n      VALUES ?property {\n        wdt:P31 wdt:P279\n      }\n    }\n    GROUP BY ?type ?property\n    LIMIT 50\n  }\n  ?type rdfs:label ?typeLabel .\n  VALUES(?property ?propertyEntity) {(wdt:P31 wd:P31)(wdt:P279 wd:P279)\n  }\n  ?propertyEntity rdfs:label ?propertyLabel .\n  FILTER(LANG(?typeLabel) = \"en\" && LANG(?propertyLabel) = \"en\")\n}\nORDER BY DESC(?count) ASC(?type)", "paraphrases": ["What are the most common instance-of and subclass-of types in Wikidata statements that include a retrieval date?", "Show me the top 50 types (instance of or subclass of) that appear most often in Wikidata statements with a retrieval date, along with their labels and usage counts."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label WHERE { { SELECT ?var1 ( COUNT (* ) AS ?var2 )( <http://www.wikidata.org/entity/P31> AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P813> ?var5 ; <http://www.wikidata.org/prop/direct/P31> ?var1 . } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 50 } UNION { SELECT ?var1 ( COUNT (* ) AS ?var2 )( <http://www.wikidata.org/entity/P279> AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P813> ?var5 ; <http://www.wikidata.org/prop/direct/P279> ?var1 . } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 50 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,en\". } } ORDER BY DESC( ?var2 )ASC( ?var1 )"}}
{"id": "test_8674", "question": "Cities with population over 100,000, sorted by population descending.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?city ?cityLabel ?population WHERE {\n  ?city(wdt:P31 / wdt:P279 *) wd:Q515 .\n  ?city wdt:P1082 ?population .\n  ?city rdfs:label ?cityLabel .\n  FILTER(?population > 100000)\n  FILTER(LANG(?cityLabel) = \"en\")\n}\nORDER BY DESC(?population)", "paraphrases": ["Which cities have a population greater than 100,000, and what are their populations?", "List all cities (including their English names) with a population exceeding 100,000, ordered from highest to lowest population."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2Label ?var1Label ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var3 . FILTER ( ( ( ?var3 > \"100000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var3 )"}}
{"id": "test_8675", "question": "Who are the Fields Medal winners born between September 23 and October 22?", "sparql": "SELECT ?birthDate ?winnerLabel WHERE { ?winner wdt:P569 ?birthDate . ?winner wdt:P166 wd:Q28835 . ?winner rdfs:label ?winnerLabel . FILTER ( ( MONTH(?birthDate) = 10 && DAY(?birthDate) < 23 ) || ( MONTH(?birthDate) = 9 && DAY(?birthDate) > 22 ) ) }", "paraphrases": ["List all recipients of the Fields Medal who were born in the Libra zodiac period.", "Which mathematicians won the Fields Medal and have a birth date from late September to early October?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P569> ?var1 . ?var2 <http://www.wikidata.org/prop/direct/P166> <http://www.wikidata.org/entity/Q28835> . FILTER ( ( ( MONTH ( ?var1 ) = \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( DAY ( ?var1 ) < \"23\"^^<http://www.w3.org/2001/XMLSchema#integer> ) || ( MONTH ( ?var1 ) = \"9\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( DAY ( ?var1 ) > \"22\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_8676", "question": "Who is Simon Maheux and is he a human?", "sparql": "SELECT DISTINCT ?person WHERE { ?person rdfs:label \"Simon Maheux\" @en . ?person wdt:P31 wd:Q5 . }", "paraphrases": ["Is there a human named Simon Maheux in Wikidata?", "Find the Wikidata item for the person named Simon Maheux who is a human."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Simon Mahe\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8677", "question": "Twitter handle \"Wikimedia\" and number of sitelinks", "sparql": "SELECT ?item ?username (COUNT(?sitelink) AS ?sitelinks) WHERE { ?item wdt:P2002 ?username . ?sitelink schema:about ?item ; schema:isPartOf ?wiki . VALUES ?username { \"Wikimedia\" } } GROUP BY ?item ?username ORDER BY ASC(?sitelinks)", "paraphrases": ["Which entity has the Twitter username \"Wikimedia\", and how many Wikipedia sitelinks does it have?", "Show me the entity with the Twitter handle \"Wikimedia\" along with its sitelink count."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"insidestat\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8678", "question": "Inventors born between September 23 and October 22", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?birthDate ?inventorLabel WHERE {\n  ?inventor wdt:P569 ?birthDate .\n  ?inventor wdt:P106 wd:Q205375 .\n  FILTER ( ( MONTH( ?birthDate ) = 10 && DAY( ?birthDate ) < 23 ) || ( MONTH( ?birthDate ) = 9 && DAY( ?birthDate ) > 22 ) ) .\n  ?inventor rdfs:label ?inventorLabel .\n  FILTER ( LANG( ?inventorLabel ) = \"en\" )\n}", "paraphrases": ["Who are the inventors born in the zodiac sign of Libra (September 23 to October 22)?", "List the names of inventors whose birthdays fall between September 23 and October 22."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P569> ?var1 . ?var2 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q205375> . FILTER ( ( ( MONTH ( ?var1 ) = \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( DAY ( ?var1 ) < \"23\"^^<http://www.w3.org/2001/XMLSchema#integer> ) || ( MONTH ( ?var1 ) = \"9\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( DAY ( ?var1 ) > \"22\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_8679", "question": "What are alcoholic drinks and their alcohol by volume percentages?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?drinkLabel ?alcohol WHERE {\n  ?drink wdt:P31 wd:Q40050 .\n  ?drink wdt:P2665 ?alcohol .\n  ?drink rdfs:label ?drinkLabel .\n  FILTER(LANG(?drinkLabel) = \"en\")\n}\nORDER BY ?drinkLabel\nLIMIT 100", "paraphrases": ["List drinks that contain alcohol along with their alcohol content in percent.", "Which beverages have an alcohol by volume percentage listed in English?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q40050> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2665> ?var2 . } } LIMIT 100"}}
{"id": "test_8680", "question": "Chemical compounds with their InChIKey, PubChem CID, and ChemSpider ID", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?var1 ?var2 ?var1Label ?var3 ?var4 WHERE {\n  ?var1 wdt:P31 wd:Q11173 .\n  OPTIONAL {\n    ?var1 wdt:P235 ?var2 .\n  }\n  OPTIONAL {\n    ?var1 wdt:P662 ?var3 .\n  }\n  OPTIONAL {\n    ?var1 wdt:P661 ?var4 .\n  }\n  ?var1 rdfs:label ?var1Label .\n}", "paraphrases": ["What are the chemical compounds in Wikidata, and what are their InChIKey, PubChem CID, and ChemSpider ID?", "List all chemical compounds along with their labels and any available InChIKey, PubChem CID, or ChemSpider ID."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var1Label ?var3 ?var4 WHERE { { SELECT * WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11173> . } } UNION { SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P235> ?var2 . FILTER ( ( STRSTARTS ( ?var2 , \"DSDSA\" ) ) ) . } } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P662> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P661> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P235> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8681", "question": "Does Michael Spallek have a VIAF ID of 45405249?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P214 \"45405249\" .\n}", "paraphrases": ["Is there a Wikidata item associated with the VIAF identifier 45405249?", "Confirm if the Virtual International Authority File ID 45405249 is linked to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"45405249\". }"}}
{"id": "test_8682", "question": "Drinks that contain gin as an ingredient.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?drink ?drinkLabel WHERE {\n  ?drink wdt:P186 wd:Q959362 .\n  ?drink wdt:P31 / wdt:P279 * wd:Q40050 .\n  ?drink rdfs:label ?drinkLabel .\n  FILTER(LANG(?drinkLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["What are some cocktails made with gin?", "List alcoholic beverages that have gin as a main component."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q40050> . ?var1 <http://www.wikidata.org/prop/direct/P527> <http://www.wikidata.org/entity/Q959362> . } LIMIT 100"}}
{"id": "test_8683", "question": "Who are the spouses of women who are citizens of Hungary?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?spouse ?spouseLabel ?woman ?womanLabel WHERE {\n  ?spouse wdt:P26 ?woman .\n  ?woman wdt:P27 wd:Q28 .\n  ?woman wdt:P21 wd:Q6581072 .\n  OPTIONAL {\n    ?spouse rdfs:label ?spouseLabel .\n    FILTER ( LANG( ?spouseLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?woman rdfs:label ?womanLabel .\n    FILTER ( LANG( ?womanLabel ) = \"en\" )\n  }\n}\nLIMIT 100", "paraphrases": ["List Hungarian women and their spouses.", "Find all married couples where the wife is a Hungarian citizen."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P26> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q28> . ?var2 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . } LIMIT 100"}}
{"id": "test_8684", "question": "What are the different types of languages classified in Wikidata?", "sparql": "SELECT ?languageType ?languageTypeLabel WHERE { ?languageType wdt:P31 wd:Q20829075 . ?languageType rdfs:label ?languageTypeLabel . FILTER(LANG(?languageTypeLabel) = \"en\") }", "paraphrases": ["Which language categories are recognized as instances of \"type of language\" in Wikidata?", "List all language types (such as literary language or lingua franca) that are classified under the metaclass \"type of language\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q20829075> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_8685", "question": "Wikipedia and Wikiquote pages in English or German about the movie with IMDb ID tt1083456.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?page WHERE {\n  ?movie wdt:P345 \"tt1083456\" .\n  ?page schema:about ?movie .\n  {\n    ?page schema:inLanguage \"en\" .\n  } UNION {\n    ?page schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["What Wikipedia and Wikiquote pages in English or German are about the movie with IMDb ID tt1083456?", "Show me the English and German language Wikipedia and Wikiquote pages for the movie Fired Up! (IMDb: tt1083456)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1083456\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8686", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt1160368?", "sparql": "SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 \"tt1160368\" . ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Which Wikipedia articles in English or German describe the film identified by the IMDb ID tt1160368?", "Show me the English and German Wikipedia links for the movie 12 Rounds, which has the IMDb identifier tt1160368."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1160368\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8687", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt1124039?", "sparql": "SELECT ?movie ?wikipediaPage WHERE { ?movie wdt:P345 \"tt1124039\" . ?wikipediaPage schema:about ?movie . { ?wikipediaPage schema:inLanguage \"en\" . } UNION { ?wikipediaPage schema:inLanguage \"de\" . } }", "paraphrases": ["Which Wikipedia articles in English and German describe the movie 'Echelon Conspiracy'?", "Show me the English and German Wikipedia links for the movie identified by IMDb ID tt1124039."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1124039\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8688", "question": "List of psychologists with English labels", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?psychologist ?psychologistLabel WHERE {\n  ?psychologist wdt:P106 wd:Q212980 .\n  ?psychologist rdfs:label ?psychologistLabel .\n  FILTER ( LANG( ?psychologistLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Who are some psychologists according to Wikidata, and what are their English names?", "Show me up to 100 English-named individuals whose occupation is psychologist."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q212980> . } LIMIT 100"}}
{"id": "test_8689", "question": "Wikipedia and Wikiquote pages in English or German about the movie with IMDb ID tt0421206.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?page WHERE {\n  ?movie wdt:P345 \"tt0421206\" .\n  ?page schema:about ?movie .\n  ?page schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" )\n}", "paraphrases": ["What are the English and German Wikipedia and Wikiquote pages for the movie Gridiron Gang?", "Show me the language-specific external links (Wikipedia/Wikiquote) for the movie identified by IMDb ID tt0421206."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0421206\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8690", "question": "English and German Wikipedia pages for the movie with IMDb ID tt0448124", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?wikipediaPage WHERE {\n  ?movie wdt:P345 \"tt0448124\" .\n  ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n}", "paraphrases": ["What are the English and German Wikipedia pages for the movie Snow Cake?", "Show me the Wikipedia articles in English and German that are about the movie identified by IMDb ID tt0448124."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0448124\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8691", "question": "English and German Wikipedia pages for the movie with IMDb ID tt1702009", "sparql": "SELECT ?movie ?wiki_page WHERE { ?movie wdt:P345 \"tt1702009\" . ?wiki_page schema:about ?movie . { ?wiki_page schema:inLanguage \"en\" . } UNION { ?wiki_page schema:inLanguage \"de\" . } }", "paraphrases": ["What are the English and German Wikipedia articles for the film Strippers vs Werewolves?", "Show me the English and German Wikipedia links for the movie identified by tt1702009 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1702009\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8692", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt1121794?", "sparql": "SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 \"tt1121794\" . ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Show me the Wikipedia articles in English and German about the film Sword of the Stranger.", "Which language versions of Wikipedia have articles about the movie identified by tt1121794?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1121794\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8693", "question": "What is the Twitter username for Mediapart?", "sparql": "SELECT ?item ?twitter WHERE { ?item wdt:P2002 ?twitter . VALUES ?twitter { \"Mediapart\" } }", "paraphrases": ["Which entity has the Twitter handle \"Mediapart\"?", "Show me the entity and its Twitter username if the username is \"Mediapart\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"mediapart\" ) ( \"string8\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8694", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0129280?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipedia_page WHERE {\n  ?movie wdt:P345 \"tt0129280\" .\n  ?wikipedia_page schema:about ?movie .\n  {\n    ?wikipedia_page schema:inLanguage \"en\"\n  } UNION {\n    ?wikipedia_page schema:inLanguage \"de\"\n  }\n}", "paraphrases": ["Show me the Wikipedia articles in English and German about the film identified by tt0129280 on IMDb.", "Which Wikipedia pages in English and German discuss the movie \"The Out-of-Towners\" (1999)?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0129280\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8695", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt3425034?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipediaPage ?imdbId WHERE {\n  ?item wdt:P345 \"tt3425034\" .\n  BIND( \"tt3425034\" AS ?imdbId ) {\n    ?wikipediaPage schema:about ?item ; schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipediaPage schema:about ?item ; schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Which Wikipedia pages in English or German are about the movie identified by IMDb ID tt3425034?", "Show me the movie item, its IMDb ID, and its English or German Wikipedia page for the movie with IMDb ID tt3425034."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt3425034\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8696", "question": "Is Carl Th. Thomae's GND ID 101856857 registered in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P227 \"101856857\" .\n}", "paraphrases": ["Does Wikidata contain an entry for the person with GND ID 101856857?", "Confirm that the German National Library ID 101856857 corresponds to an entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"101856857\". }"}}
{"id": "test_8697", "question": "Authors of works in Wikidata", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?author WHERE {\n  ?work wdt:P50 ?author .\n  FILTER(ISIRI(?author))\n}", "paraphrases": ["Who are all the authors of written works in Wikidata?", "List all the authors of works recorded in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P50> ?var1 . }"}}
{"id": "test_8698", "question": "What are the English or German Wikipedia pages for the movie with IMDb ID tt1793224?", "sparql": "SELECT ?item ?wikipediaPage WHERE { ?item wdt:P345 \"tt1793224\" . ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Show me the Wikipedia articles in English or German about the film identified by tt1793224 on IMDb.", "Which Wikipedia pages in English or German are linked to the IMDb entry tt1793224?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1793224\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8699", "question": "What are the English and German Wikipedia pages for the movie Inception (IMDb tt0970472)?", "sparql": "SELECT ?item ?article ?imdb_id WHERE { VALUES (?item ?imdb_id) { (wd:Q25188 \"tt0970472\") } ?article schema:about ?item . ?article schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Which Wikipedia articles in English or German are about the film Inception, identified by IMDb ID tt0970472?", "Show me the English and German language Wikipedia pages linked to the Wikidata item for the movie Inception with IMDb ID tt0970472."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0970472\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8700", "question": "English and German Wikipedia pages for the movie with IMDb ID tt1477109", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipediaPage WHERE {\n  ?item wdt:P345 \"tt1477109\" .\n  ?wikipediaPage schema:about ?item .\n  {\n    ?wikipediaPage schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipediaPage schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["What are the English and German Wikipedia articles for the film with IMDb identifier tt1477109?", "Show me the English and German Wikipedia links for the movie Space Battleship Yamato (2010), identified by its IMDb ID tt1477109."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1477109\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8701", "question": "What is the English or German Wikipedia page for the film with IMDb ID tt4673790?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?film ?wikipediaPage WHERE {\n  VALUES ?imdbId {\n    \"tt4673790\"\n  }\n  ?film wdt:P345 ?imdbId .\n  ?wikipediaPage schema:about ?film ; schema:inLanguage ?lang .\n  VALUES ?lang {\n    \"en\" \"de\"\n  }\n}", "paraphrases": ["Which Wikipedia pages in English or German are about the movie identified by IMDb ID tt4673790?", "Show me the Wikipedia links in English or German for the film that has the IMDb identifier tt4673790."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt4673790\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8702", "question": "Who is D\u00e9borah R\u00e9vy, a French actress?", "sparql": "SELECT DISTINCT ?person WHERE { ?person rdfs:label \"D\u00e9borah R\u00e9vy\"@fr . ?person wdt:P31 wd:Q5 . }", "paraphrases": ["Who is the French person named D\u00e9borah R\u00e9vy?", "Find the human entity in Wikidata whose French label is 'D\u00e9borah R\u00e9vy'."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Alban Revy\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8703", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt1305583?", "sparql": "SELECT ?movie ?wikipediaPage WHERE { ?movie wdt:P345 \"tt1305583\" . ?wikipediaPage schema:about ?movie . { ?wikipediaPage schema:inLanguage \"en\" . } UNION { ?wikipediaPage schema:inLanguage \"de\" . } }", "paraphrases": ["Show me the Wikipedia page in English or German that is about the movie identified by IMDb ID tt1305583.", "Which Wikipedia articles in English or German are about the film \"Our Family Wedding\"?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1305583\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8704", "question": "What is the German Wikipedia page for the film with IMDb ID tt1929284?", "sparql": "SELECT ?wikipedia_page WHERE { wd:Q39137340 wdt:P345 \"tt1929284\" . ?wikipedia_page schema:about wd:Q39137340 . ?wikipedia_page schema:inLanguage \"de\" . }", "paraphrases": ["Show me the German-language Wikipedia article about the movie Kebab mit Alles.", "Find the German Wikipedia link for the TV film identified by tt1929284 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1929284\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8705", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt2997004?", "sparql": "SELECT ?item ?wikipediaPage ?imdbId WHERE { BIND(\"tt2997004\" AS ?imdbId) . ?item wdt:P345 ?imdbId . ?wikipediaPage schema:about ?item . { ?wikipediaPage schema:inLanguage \"en\" . } UNION { ?wikipediaPage schema:inLanguage \"de\" . } }", "paraphrases": ["Which Wikipedia pages in English or German are about the film identified by IMDb ID tt2997004?", "Show me the Wikipedia links in English or German for the movie with IMDb ID tt2997004, along with its Wikidata ID and the IMDb ID itself."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2997004\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8706", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt1302017?", "sparql": "SELECT ?item ?wikipediaPage ?imdbId WHERE { ?item wdt:P345 ?imdbId . ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") FILTER(?imdbId = \"tt1302017\") }", "paraphrases": ["Which film has the IMDb identifier tt1302017, and on which Wikipedia pages (in English or German) is it described?", "Can you find the Wikipedia articles in English or German about the movie identified by tt1302017 on IMDb?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1302017\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8707", "question": "Wikipedia pages in English or German for the film with IMDb ID tt1094643", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipedia_page ?imdb_id WHERE {\n  ?item wdt:P345 ?imdb_id .\n  ?wikipedia_page schema:about ?item .\n  ?wikipedia_page schema:inLanguage ?lang .\n  FILTER ( ?imdb_id = \"tt1094643\" && ( ?lang = \"en\" || ?lang = \"de\" ) )\n}", "paraphrases": ["What is the English or German Wikipedia page for the movie with IMDb ID tt1094643?", "Show me the Wikipedia article in English or German about the film identified by IMDb ID tt1094643, along with the film's name and IMDb ID."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1094643\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8708", "question": "List Serbian citizens and their ethnic groups.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel ?ethnicGroupLabel WHERE {\n  ?person wdt:P31 wd:Q5 ; wdt:P27 wd:Q403 .\n  OPTIONAL {\n    ?person wdt:P172 ?ethnicGroup .\n    ?ethnicGroup rdfs:label ?ethnicGroupLabel .\n    FILTER ( LANG( ?ethnicGroupLabel ) = \"en\" )\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}", "paraphrases": ["Who are the people who are citizens of Serbia, and what ethnic groups do they belong to?", "Show me the names of humans who are citizens of Serbia, along with their ethnic affiliations in English, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q403> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P172> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sr,en\". } }"}}
{"id": "test_8709", "question": "What administrative regions and continent does the Convento de la Pur\u00edsima Concepci\u00f3n in Toledo belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?location WHERE {\n  {\n    wd:Q5785966 wdt:P131 + ?location .\n  } UNION {\n    wd:Q5785966 wdt:P131 + ?country .\n    ?country wdt:P30 ?location .\n  }\n}", "paraphrases": ["What countries and continents include the Convento de la Pur\u00edsima Concepci\u00f3n, Toledo?", "List all geographic and political entities that contain the Convento de la Pur\u00edsima Concepci\u00f3n, Toledo, including its province, region, country, and continent."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q5785966> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_8710", "question": "List paintings by Antonello de Saliba with their titles, types, images, and Wikipedia pages.", "sparql": "SELECT DISTINCT ?work (SAMPLE(?labelTemp) AS ?workLabel) ?instance (SAMPLE(?image) AS ?imageSample) ?wikipediaPage WHERE { ?work wdt:P170 wd:Q597038 . OPTIONAL { ?work wdt:P18 ?image . } OPTIONAL { ?work wdt:P31 ?instance . } OPTIONAL { ?wikipediaPage schema:about ?work ; schema:isPartOf <https://en.wikipedia.org/> . } OPTIONAL { { ?work wdt:P1476 ?labelTemp . FILTER(LANG(?labelTemp) = \"en\") } UNION { ?work rdfs:label ?labelTemp . FILTER(LANG(?labelTemp) = \"en\") } } } GROUP BY ?work ?instance ?wikipediaPage", "paraphrases": ["What are the artworks created by Antonello de Saliba, including their English titles, whether they are paintings or copies, any available images, and corresponding Wikipedia pages?", "Show me all artworks by Antonello de Saliba, along with their English titles, instance types (like painting), images from Wikimedia Commons, and links to English Wikipedia articles if they exist."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var3 ) ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P170> <http://www.wikidata.org/entity/Q597038> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,fr,es,de,ru,it,nl,ja,zh,pl,cs\". } } GROUP BY ?var1 ?var1Label ?var2 ?var4"}}
{"id": "test_8711", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0120389?", "sparql": "SELECT ?movie ?wiki_page WHERE { ?movie wdt:P345 \"tt0120389\" . { ?wiki_page schema:about ?movie ; schema:inLanguage \"en\" . } UNION { ?wiki_page schema:about ?movie ; schema:inLanguage \"de\" . } }", "paraphrases": ["Show me the Wikipedia articles in English and German about the movie Turbo: A Power Rangers Movie.", "Which language versions of Wikipedia have articles about the film identified by tt0120389?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0120389\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8712", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0094142?", "sparql": "SELECT ?movie ?wikipediaPage WHERE { ?movie wdt:P345 \"tt0094142\" . ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Can you show me the Wikipedia articles in English and German about the film 'Throw Momma from the Train'?", "Which language versions of Wikipedia have articles about the movie identified by tt0094142?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0094142\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8713", "question": "Who is the person with The Numbers ID 70770401 and what is their English description?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?description WHERE {\n  ?person wdt:P4657 \"70770401\" .\n  OPTIONAL {\n    ?person schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["What is the English description of the person identified by the The Numbers ID 70770401?", "Show me the name and English description of the person whose The Numbers ID is 70770401."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4657> \"1288320401\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8714", "question": "Image of the person with SNAC ARK ID w60c6g0p", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w60c6g0p\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the Wikimedia Commons image associated with the SNAC ARK ID w60c6g0p?", "Show me the picture of John Crosby Brown, identified by SNAC ARK ID w60c6g0p."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w60c6g0p\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8715", "question": "What are the Spanish labels of properties associated with The Starry Night, along with how many values each has and what those values are in Spanish?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ( SAMPLE( ?propertyLabel ) AS ?propLabel ) ( COUNT( ?value ) AS ?valueCount ) ( GROUP_CONCAT( ?valueLabel ; SEPARATOR = \", \" ) AS ?valueLabels ) WHERE {\n  wd:Q45585 ?property ?value .\n  ?value rdfs:label ?valueLabel .\n  FILTER ( LANG( ?valueLabel ) = \"es\" ) .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?propertyLabel .\n  FILTER ( LANG( ?propertyLabel ) = \"es\" ) .\n}\nGROUP BY ?property", "paraphrases": ["In Spanish, what are the properties that describe The Starry Night, their meanings, the number of associated values, and the values themselves?", "Show me all the Spanish-language property labels for The Starry Night, how many values each property has, and list the Spanish names of those values."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q45585> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"es\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"es\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_8716", "question": "Female human television presenters, comedians, directors, screenwriters, dancers, radio personalities, and stand-up comedians with a Wikipedia article not in Spanish.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?person WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P21 wd:Q6581072 .\n  ?person wdt:P106 ?occupation .\n  VALUES ?occupation {\n    wd:Q947873 wd:Q2722764 wd:Q245068 wd:Q18545066 wd:Q5716684 wd:Q3455803 wd:Q28389\n  }\n  ?article schema:about ?person .\n  FILTER(NOT EXISTS {\n    ?es_article schema:about ?person ; schema:inLanguage \"es\" .\n  })\n}\nLIMIT 5000", "paraphrases": ["Who are the female people in occupations like television presenter, comedian, or director who have a Wikipedia page but not in Spanish?", "List up to 5,000 female individuals who work as television presenters, comedians, directors, screenwriters, dancers, radio personalities, or stand-up comedians and have a Wikipedia article in a language other than Spanish."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var2 . VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q947873> ) ( <http://www.wikidata.org/entity/Q2722764> ) ( <http://www.wikidata.org/entity/Q245068> ) ( <http://www.wikidata.org/entity/Q18545066> ) ( <http://www.wikidata.org/entity/Q5716684> ) ( <http://www.wikidata.org/entity/Q3455803> ) ( <http://www.wikidata.org/entity/Q28389> ) } ?var3 <http://schema.org/about> ?var1 . FILTER ( ( NOT EXISTS { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/inLanguage> \"es\". } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en,fr,de,pl\". } } LIMIT 5000"}}
{"id": "test_8717", "question": "Birth and death dates of Jan Kubi\u0161", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { wd:Q116589 rdfs:label ?personLabel . OPTIONAL { wd:Q116589 wdt:P569 ?birthDate . } OPTIONAL { wd:Q116589 wdt:P570 ?deathDate . } FILTER(LANG(?personLabel) = \"en\")}", "paraphrases": ["When was Jan Kubi\u0161 born and when did he die?", "Can you tell me the birth and death dates of Jan Kubi\u0161, the Czech paratrooper?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q116589> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8718", "question": "Who are the entrepreneurs celebrating their birthday today, and in which year were they born?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?birthYear WHERE {\n  BIND( MONTH( NOW () ) AS ?currentMonth ) .\n  BIND( DAY( NOW () ) AS ?currentDay ) .\n  ?person wdt:P106 wd:Q131524 .\n  ?person wdt:P569 ?dob .\n  FILTER ( MONTH( ?dob ) = ?currentMonth && DAY( ?dob ) = ?currentDay ) .\n  BIND( YEAR( ?dob ) AS ?birthYear ) .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) .\n}\nLIMIT 5", "paraphrases": ["Show me the names and birth years of entrepreneurs whose birthdays fall on today\u2019s date.", "Which entrepreneurs were born on this day of the year, and what year were they born in?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( YEAR ( ?var2 ) AS ?var3 ) WHERE { BIND ( MONTH ( NOW ( ) ) AS ?var4 ). BIND ( DAY ( NOW ( ) ) AS ?var5 ). ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q131524> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . FILTER ( ( ( MONTH ( ?var2 ) = ?var4 ) && ( DAY ( ?var2 ) = ?var5 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ta\". } } LIMIT 5"}}
{"id": "test_8719", "question": "Hedvig Catharina Lillie birth and death dates", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { BIND( wd:Q2403800 AS ?person ) . OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } }", "paraphrases": ["When was Hedvig Catharina Lillie born and when did she die?", "Show me the birth and death dates of Hedvig Catharina Lillie, along with her name."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q2403800> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8720", "question": "What are the birth and death dates of Jehanne d'Alcy?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?label ?birthDate ?deathDate WHERE {\n  wd:Q151126 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  .\n  wd:Q151126 wdt:P31 wd:Q5 .\n  OPTIONAL {\n    wd:Q151126 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q151126 wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["Can you tell me when Jehanne d'Alcy was born and when she died?", "Show me the life span of the French actress Jehanne d'Alcy, including her birth and death dates."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q151126> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8721", "question": "What is the date of birth of Duane Chapman, and is he deceased?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?birthDate ?deathDate WHERE {\n  wd:Q1262690 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    wd:Q1262690 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q1262690 wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["Duane Chapman\u2019s birth date and death date", "Can you tell me when Duane Chapman was born and whether he has passed away?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q1262690> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8722", "question": "Entities related to Prince Albert of Saxe-Coburg and Gotha, along with the properties connecting them and any qualifiers used.", "sparql": "SELECT ?item ?statement ?property (SAMPLE(?qualifierProperty) AS ?qualifier) WHERE { { SELECT DISTINCT ?item ?statement ?property WHERE { ?statement ?prop wd:Q152245 . ?item ?claim ?statement . ?property wikibase:statementProperty ?prop . ?property wikibase:claim ?claim . FILTER (?property != wd:P31) } LIMIT 101 } OPTIONAL { ?statement ?qualifierProperty ?qualifierValue . ?qualifierProperty wikibase:qualifier [] . } } GROUP BY ?item ?statement ?property", "paraphrases": ["What items (like statues or artworks) are connected to Prince Albert of Saxe-Coburg and Gotha through properties other than \"instance of\", and what qualifiers are used on those connections?", "List all entities associated with Prince Albert of Saxe-Coburg and Gotha via statement properties (excluding \"instance of\"), showing the property used and any qualifier applied to the statement."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q152245> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_8723", "question": "What are the Roman theatres listed in Wikidata?", "sparql": "SELECT ?theatre WHERE { { ?theatre wdt:P31 wd:Q19757 . } UNION { wd:Q19757 wdt:P279* ?subclass . ?theatre wdt:P31 ?subclass . } } ORDER BY ?theatre LIMIT 100", "paraphrases": ["Can you list all ancient Roman theatres and their subclasses?", "Show me all known Roman theatre sites, including those classified under broader categories like open-air theatres or Roman archaeological sites."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/prop/direct/P31> ) ( <http://www.wikidata.org/prop/direct/P279> ) } ?var1 ?var3 <http://www.wikidata.org/entity/Q19757> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 1000"}}
{"id": "test_8724", "question": "What occupations are subclasses of fashion designer?", "sparql": "SELECT ?occupation ?statement WHERE { ?occupation p:P279 ?statement . ?statement ps:P279 wd:Q3501317 . } LIMIT 101", "paraphrases": ["List all professions that are a type of fashion designer.", "Which specific design roles fall under the category of fashion designer?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P279> <http://www.wikidata.org/entity/Q3501317> . ?var1 <http://www.wikidata.org/prop/P279> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_8725", "question": "What are the employers and citizenship countries of Judith Rochfeld, along with their locations and images?", "sparql": "SELECT DISTINCT ?image ?entity ?entityLabel ?location ?propertyLabel WHERE { wd:Q27942892 ?directProperty ?entity . ?propertyItem wikibase:directClaim ?directProperty . ?propertyItem rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") OPTIONAL { ?entity wdt:P18 ?image . } { ?entity p:P159/pq:P625 ?location . } UNION { ?entity wdt:P625 ?location . } OPTIONAL { ?entity rdfs:label ?entityLabel . FILTER(LANG(?entityLabel) = \"en\") } }", "paraphrases": ["Where are the organizations and countries associated with Judith Rochfeld as her employer and country of citizenship, and what are their coordinates and images?", "Show me the entities linked to Judith Rochfeld as her employer or country of citizenship, including their English labels, geographic coordinates, and associated images from Wikimedia Commons."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ( ?var4Label AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q27942892> ?var6 ?var2 . ?var2 (( <http://www.wikidata.org/prop/P159> / <http://www.wikidata.org/prop/qualifier/P625> )|( <http://www.wikidata.org/prop/direct/P276> */ <http://www.wikidata.org/prop/direct/P625> )) ?var3 . ?var7 <http://wikiba.se/ontology#directClaim> ?var6 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,nl,no,ru,sv,zh\". } ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . }"}}
{"id": "test_8726", "question": "Most popular Wikipedia articles about peninsulas and their subclasses", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item(COUNT(?site) AS ?sitelinkCount) WHERE {\n  VALUES ?property {\n    wdt:P31 wdt:P279\n  }\n  ?item ?property wd:Q34763 .\n  ?site schema:about ?item .\n  FILTER(STRSTARTS(STR(?site) , \"https://\"))\n}\nGROUP BY ?item\nORDER BY DESC(?sitelinkCount)\nLIMIT 1000", "paraphrases": ["Which peninsulas and types of peninsulas have the most Wikipedia language editions?", "List the top 1000 peninsulas and their subclasses ranked by how many Wikipedia versions they have articles in."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/prop/direct/P31> ) ( <http://www.wikidata.org/prop/direct/P279> ) } ?var1 ?var3 <http://www.wikidata.org/entity/Q34763> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 1000"}}
{"id": "test_8727", "question": "Creative works directed by people whose occupation is director.", "sparql": "SELECT ?work WHERE { ?director wdt:P106 wd:Q3455803 . ?work wdt:P57 ?director . }", "paraphrases": ["Which films, TV shows, or other creative works have been directed by individuals listed as directors?", "List all creative works directed by people who have the profession of director."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q3455803> . ?var1 <http://www.wikidata.org/prop/direct/P57> ?var2 . }"}}
{"id": "test_8728", "question": "What are the most popular bus garages on Wikipedia, based on the number of language versions they have?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item(COUNT(?article) AS ?sitelinkCount) WHERE {\n  VALUES ?relation {\n    wdt:P31 wdt:P279\n  }\n  ?item ?relation wd:Q1191753 .\n  ?item ^ schema:about ?article .\n  FILTER(STRSTARTS(STR(?article) , \"https://\"))\n}\nGROUP BY ?item\nORDER BY DESC(?sitelinkCount)\nLIMIT 1000", "paraphrases": ["List bus garages and their types (instances or subclasses) ordered by how many Wikipedia articles mention them.", "Which bus depots and related facilities have the most Wikipedia language links?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/prop/direct/P31> ) ( <http://www.wikidata.org/prop/direct/P279> ) } ?var1 ?var3 <http://www.wikidata.org/entity/Q1191753> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 1000"}}
{"id": "test_8729", "question": "What is the Wikidata item with GeoNames ID 1062947?", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P1566 \"1062947\" . ?item rdfs:label ?itemLabel . }", "paraphrases": ["Which country in Wikidata has the GeoNames identifier 1062947?", "Show me the name(s) of the place identified by GeoNames ID 1062947 in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1566> \"10629559\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8730", "question": "What are the birth and death dates of Gary Grates?", "sparql": "SELECT ?personLabel ?birth ?death WHERE { BIND( wd:Q123332455 AS ?person ) . ?person wdt:P31 wd:Q5 . OPTIONAL { ?person wdt:P569 ?birth . } OPTIONAL { ?person wdt:P570 ?death . } }", "paraphrases": ["Can you find the date of birth and date of death for the person Gary Grates?", "Is there any record of when Gary Grates was born or died?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q5597673> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8731", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt3066270?", "sparql": "SELECT ?item ?wikipedia_page WHERE { ?item wdt:P345 \"tt3066270\" . ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Which Wikipedia articles in English or German are about the film with IMDb identifier tt3066270?", "Show me the Wikipedia page in English or German for the movie identified by tt3066270 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt3066270\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8732", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0078935?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipediaPage ?imdbId WHERE {\n  ?movie wdt:P345 \"tt0078935\" .\n  ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" ) BIND( \"tt0078935\" AS ?imdbId )\n}", "paraphrases": ["Show me the Wikipedia articles in English and German about the film Cannibal Holocaust.", "Which language versions of the Wikipedia page exist for the movie identified by tt0078935?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0078935\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8733", "question": "What were the founding and dissolution dates of the Dutch East India Company?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?companyLabel ?inception ?dissolved WHERE {\n  wd:Q159766 wdt:P571 ?inception ; wdt:P576 ?dissolved .\n  wd:Q159766 rdfs:label ?companyLabel .\n  FILTER ( LANG( ?companyLabel ) = \"en\" )\n}", "paraphrases": ["When was the Dutch East India Company established and when did it cease to exist?", "Provide the start and end years of the Dutch East India Company's operation."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q2900145> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8734", "question": "What museums hold artworks by artists of the High Renaissance?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?museumLabel WHERE {\n  ?museum wdt:P31 wd:Q33506 .\n  ?artwork wdt:P276 ?museum ; wdt:P170 ?artist .\n  ?artist wdt:P135 wd:Q1474884 .\n  ?museum rdfs:label ?museumLabel .\n  FILTER(LANG(?museumLabel) = \"en\")\n}", "paraphrases": ["Which museums have collections of paintings or sculptures created by High Renaissance artists?", "Can you list the English-named museums that display art created by High Renaissance painters?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q33506> . ?var3 <http://www.wikidata.org/prop/direct/P276> ?var2 ; <http://www.wikidata.org/prop/direct/P170> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P135> <http://www.wikidata.org/entity/Q1474884> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_8735", "question": "What are the top 1000 businesses with the most Wikipedia pages, ranked by the number of language versions?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ( COUNT( ?wikipediaPage ) AS ?sitelinkCount ) WHERE {\n  ?item wdt:P31 / wdt:P279 * wd:Q4830453 .\n  ?wikipediaPage schema:about ?item .\n  ?wikipediaPage schema:isPartOf ?wikiSite .\n  FILTER ( STRSTARTS( STR( ?wikiSite ) , \"https://\" ) )\n}\nGROUP BY ?item\nORDER BY DESC ( ?sitelinkCount )\nLIMIT 1000", "paraphrases": ["Which companies and business organizations have the largest number of Wikipedia articles across all languages?", "Show me businesses and their subclasses that are linked to Wikipedia, sorted by how many different language Wikipedias they appear on."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/prop/direct/P31> ) ( <http://www.wikidata.org/prop/direct/P279> ) } ?var1 ?var3 <http://www.wikidata.org/entity/Q4830453> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 1000"}}
{"id": "test_8736", "question": "Who are the people associated with computer science or computer scientist as their occupation or field of work?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person WHERE {\n  VALUES ?property {\n    wdt:P106 wdt:P101\n  }\n  VALUES ?target {\n    wd:Q21198 wd:Q82594\n  }\n  ?person ?property ?target .\n}\nORDER BY ?person\nLIMIT 1000", "paraphrases": ["Can you list all individuals whose job or academic focus is computer science or computer scientist?", "Show me people who work in computer science or are computer scientists, regardless of their specific role."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/prop/direct/P106> ) ( <http://www.wikidata.org/prop/direct/P101> ) ( <http://www.wikidata.org/prop/direct/P39> ) } ?var1 ?var3 <http://www.wikidata.org/entity/Q3766177> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 1000"}}
{"id": "test_8737", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0499603?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipediaPage WHERE {\n  ?movie wdt:P345 \"tt0499603\" .\n  ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" )\n}", "paraphrases": ["Can you show me the Wikipedia articles in English and German about the film \"10 Items or Less\"?", "Which language versions of Wikipedia discuss the movie identified by tt0499603?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0499603\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8738", "question": "What is the English label and description of the geographic location with YSO ID 151903?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var1 ?var1Label ?var2 WHERE {\n  ?var1 wdt:P2347 \"151903\" .\n  OPTIONAL {\n    ?var1 rdfs:label ?var1Label .\n    FILTER ( LANG( ?var1Label ) = \"en\" )\n  }\n  OPTIONAL {\n    ?var1 schema:description ?var2 .\n    FILTER ( LANG( ?var2 ) = \"en\" )\n  }\n}", "paraphrases": ["Can you find the English name and description for the place identified by the YSO ID 151903?", "Show me the English label and description for the entity that has the YSO identifier 151903."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2347> \"151903\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8739", "question": "People who are athletics competitors, listed by their English Wikipedia article titles.", "sparql": "SELECT ?person ?personLabel WHERE { VALUES ?prop { wdt:P106 wdt:P101 wdt:P39 } ?person ?prop wd:Q11513337 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = 'en') } ORDER BY ?personLabel LIMIT 1000", "paraphrases": ["Who are the athletes that compete in athletics (track and field), and what are their names in English?", "List the names of people whose occupation, field of work, or position held is athletics competitor, sorted alphabetically."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/prop/direct/P106> ) ( <http://www.wikidata.org/prop/direct/P101> ) ( <http://www.wikidata.org/prop/direct/P39> ) } ?var1 ?var3 <http://www.wikidata.org/entity/Q11513337> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 1000"}}
{"id": "test_8740", "question": "Is municipal clerk a person?", "sparql": "ASK WHERE { wd:Q883211 ( wdt:P31 / wdt:P279 * ) wd:Q215627 . }", "paraphrases": ["Does the position of municipal clerk belong to the category of person?", "Confirm whether municipal clerk is classified as a person through its hierarchy of types and subclasses."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q883211> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_8741", "question": "Top head coaches with the most Wikipedia articles", "sparql": "SELECT ?person (COUNT(?article) AS ?sitelinks) WHERE {\n  ?person (wdt:P106|wdt:P39) wd:Q3246315 .\n  ?article schema:about ?person .\n  ?article schema:isPartOf ?site .\n} GROUP BY ?person ORDER BY DESC(?sitelinks) LIMIT 1000", "paraphrases": ["Who are the most notable head coaches based on the number of language versions of their Wikipedia pages?", "List the top 1000 head coaches (by occupation or position held) ranked by how many Wikipedia language editions have articles about them."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/prop/direct/P106> ) ( <http://www.wikidata.org/prop/direct/P101> ) ( <http://www.wikidata.org/prop/direct/P39> ) } ?var1 ?var3 <http://www.wikidata.org/entity/Q3246315> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 1000"}}
{"id": "test_8742", "question": "What is the English label and description for the YSO ID 190992?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P2347 \"190992\" .\n  OPTIONAL {\n    ?item rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Can you tell me the English name and description of the entity identified by YSO ID 190992?", "Please provide the English label and description for the Finnish ontology concept with ID 190992."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2347> \"190992\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8743", "question": "Image of the person with SNAC ARK ID w6xh472p", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6xh472p\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with Walter Anderson in Wikidata, identified by the SNAC ARK ID w6xh472p?", "Show me the Wikimedia Commons image for the individual whose SNAC ARK ID is w6xh472p."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6xh472p\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8744", "question": "Which properties are used to link other entities to Wojciech Roszkowski more than once, and how many times?", "sparql": "SELECT ?property ?count WHERE { { SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?prop wd:Q558377 . ?property wikibase:directClaim ?prop . } GROUP BY ?property HAVING (?count > 1) } } ORDER BY DESC(?count)", "paraphrases": ["How many times is Wojciech Roszkowski the object of each property, and which properties connect to him more than once?", "List the properties that have been used to connect other items to Wojciech Roszkowski at least twice, sorted by frequency."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var4 ) AS ?var3 ) WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q558377> . ?var1 <http://wikiba.se/ontology#directClaim> ?var5 . } GROUP BY ?var1 ?var1Label HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } } ORDER BY DESC( ?var3 )"}}
{"id": "test_8745", "question": "What is the English description of the entity with YSO ID 105078?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P2347 \"105078\" .\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["Find the item in Wikidata that has the YSO ID \"105078\" and show its English description if available.", "Which entity is identified by the YSO ID 105078, and what is its English description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2347> \"111896\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8746", "question": "Humans with the family name Renzi", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?human WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human wdt:P734 wd:Q21493692 .\n}", "paraphrases": ["Who are the people with the last name Renzi?", "List all humans whose family name is Renzi."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/P734> \"Renzi\". ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.wikidata.org/prop/novalue/P40> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,en\". } }"}}
{"id": "test_8747", "question": "Movie with IMDb ID tt0383977", "sparql": "SELECT ?movie WHERE { ?movie wdt:P345 \"tt0383977\" . }", "paraphrases": ["What movie has the IMDb ID tt0383977?", "Tell me the name of the film identified by tt0383977 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0383977\". }"}}
{"id": "test_8748", "question": "Countries in Europe with English labels", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?country ?countryLabel WHERE {\n  ?country wdt:P31 wd:Q3624078 .\n  ?country wdt:P30 wd:Q46 .\n  ?country rdfs:label ?countryLabel .\n  FILTER(LANG(?countryLabel) = \"en\")\n}", "paraphrases": ["What are the sovereign states in Europe and what are their English names?", "List all countries located in Europe along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q46> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,nl\". } }"}}
{"id": "test_8749", "question": "Humans buried in Dresden with their birth and death dates, portraits, and grave images.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?burialPlace ?burialPlaceLabel ?graveImage ?portrait ?birthDate ?deathDate WHERE {\n  ?person wdt:P119 ?burialPlace ; wdt:P31 wd:Q5 .\n  ?burialPlace wdt:P131 wd:Q1731 .\n  OPTIONAL {\n    ?person wdt:P1442 ?graveImage .\n  }\n  OPTIONAL {\n    ?person wdt:P18 ?portrait .\n  }\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  ?person rdfs:label ?personLabel .\n  ?burialPlace rdfs:label ?burialPlaceLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) FILTER ( LANG( ?burialPlaceLabel ) = \"en\" )\n}\nORDER BY ASC ( ?personLabel )", "paraphrases": ["Who are the people buried in Dresden, and what are their birth dates, death dates, portraits, and grave images?", "List all humans buried in Dresden along with their labels, burial places, portraits, grave photos, and dates of birth and death."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var8 <http://www.wikidata.org/prop/qualifier/P625> ?var3 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerWest> \"POINT(14 51)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerEast> \"POINT(14 51)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } ?var1 <http://www.wikidata.org/prop/P119> ?var8 ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1442> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_8750", "question": "Painters by occupation", "sparql": "SELECT ?painter ?painterLabel WHERE { ?painter wdt:P106 wd:Q1028181 . ?painter rdfs:label ?painterLabel . FILTER(LANG(?painterLabel) = \"en\") }", "paraphrases": ["Who are the people whose occupation is painter?", "List the names of all painters."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1028181> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,en\". } }"}}
{"id": "test_8751", "question": "Wikidata items with Twitter handles \"Russia\", \"thebeatles\", or \"UN\", sorted by number of Wikipedia pages.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterUsername ( COUNT( ?sitelink ) AS ?sitelinkCount ) WHERE {\n  ?item wdt:P2002 ?twitterUsername .\n  ?sitelink schema:about ?item ; schema:isPartOf ?wiki .\n  VALUES ?twitterUsername {\n    \"Russia\" \"thebeatles\" \"UN\"\n  }\n}\nGROUP BY ?item ?twitterUsername\nORDER BY ASC ( ?sitelinkCount )", "paraphrases": ["Which Wikidata items have the Twitter usernames \"Russia\", \"thebeatles\", or \"UN\", and how many Wikipedia articles are linked to each?", "List the entities on Wikidata that use \"Russia\", \"thebeatles\", or \"UN\" as their Twitter handle, along with the count of Wikipedia sitelinks they have, ordered from least to most."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"genma\" ) ( \"OpenPrunus\" ) ( \"OpenPony\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8752", "question": "Television series episodes with episode numbers and their titles", "sparql": "SELECT ?episode ?episodeLabel WHERE { ?episode wdt:P31 wd:Q21191270 . ?episode p:P179 ?statement . ?statement pq:P1545 ?ordinal . ?episode wdt:P1476 ?episodeLabel . }", "paraphrases": ["What are the titles of television episodes that have a defined position in their series?", "List the titles of all TV episodes along with their episode numbers in the series."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q21191270> . ?var1 <http://www.wikidata.org/prop/direct/P179> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P361> ?var5 . ?var1 <http://www.wikidata.org/prop/P179> ?var6 . ?var1 <http://www.wikidata.org/prop/P361> ?var7 . ?var6 <http://www.wikidata.org/prop/qualifier/P1545> \"\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it\". } }"}}
{"id": "test_8753", "question": "What Wikipedia articles or items are categorized under a category whose main topic is Renault, and what qualifiers are used on those categorizations?", "sparql": "SELECT ?item ?statement (SAMPLE(?qualifierProperty) AS ?sampleQualifier) WHERE { { SELECT DISTINCT ?item ?statement WHERE { ?statement ps:P301 wd:Q6686 . ?item p:P301 ?statement . } LIMIT 101 } OPTIONAL { ?statement ?qualifierProperty ?value . wd:P301 wikibase:qualifier ?qualifierProperty . } } GROUP BY ?item ?statement", "paraphrases": ["Which Renault-related categories are used to categorize items, and what additional details (qualifiers) are attached to those categorizations?", "List items categorized under categories with Renault as their main topic, along with any qualifier properties used on those categorization statements."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P301> <http://www.wikidata.org/entity/Q6686> . ?var1 <http://www.wikidata.org/prop/P301> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_8754", "question": "What is the English label for Billy Graham on Wikidata?", "sparql": "SELECT ?label WHERE { wd:Q213550 rdfs:label ?label . FILTER(LANG(?label) = \"en\")}", "paraphrases": ["What is Billy Graham called in English according to Wikidata?", "Show the name of Billy Graham as it appears in the English language on Wikidata."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q213550> <http://www.wikidata.org/prop/direct/> * ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_8755", "question": "What properties describe the Dubai Metro?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?propertyLabel ?propertyDescription WHERE {\n  wd:Q83787 ?directProperty ?value .\n  ?property wikibase:directClaim ?directProperty .\n  ?property rdfs:label ?propertyLabel .\n  ?property schema:description ?propertyDescription .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" ) FILTER ( LANG( ?propertyDescription ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Which properties are used to provide information about the Dubai Metro system?", "List the English labels and descriptions of all properties associated with the Dubai Metro."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q83787> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_8756", "question": "Which city-states have the most classifications as cities in Wikidata?", "sparql": "SELECT ?city ?cityLabel (COUNT(*) AS ?classificationCount) WHERE { ?city (wdt:P31/wdt:P279*) wd:Q515 . ?city wdt:P17 ?city . ?city rdfs:label ?cityLabel . FILTER(LANG(?cityLabel) = \"en\") } GROUP BY ?city ?cityLabel ORDER BY DESC(?classificationCount) LIMIT 100", "paraphrases": ["What are the top city-states ranked by how many different ways they are categorized as a city?", "List the city-states with the highest number of city-related classifications, ordered by count."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT (* ) AS ?var2 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var2 ) LIMIT 100"}}
{"id": "test_8757", "question": "French-labeled humans with surname Tanovic or Tanova", "sparql": "SELECT DISTINCT ?item ?label WHERE { ?item rdfs:label ?label . FILTER(LANG(?label) = 'fr') . FILTER(contains(lcase(?label), ' tanovic') || contains(lcase(?label), ' tanova')) . ?item wdt:P31 wd:Q5 . }", "paraphrases": ["Who are the people with the surname Tanovic or Tanova whose names are written in French?", "List all humans in Wikidata who have a French label ending in \"Tanovic\" or \"Tanova\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"tanovan\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8758", "question": "What properties are used to link other entities to Bronis\u0142aw Wildstein, and how many times is each used?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?directClaim ?directClaimLabel ?count WHERE {\n  {\n    SELECT ?directClaim ( COUNT( ?item ) AS ?count ) WHERE {\n      ?item ?prop wd:Q321613 .\n      ?directClaim wikibase:directClaim ?prop .\n    }\n    GROUP BY ?directClaim\n  }\n  ?directClaim rdfs:label ?directClaimLabel .\n  FILTER ( LANG( ?directClaimLabel ) = \"en\" )\n}\nORDER BY DESC ( ?count )", "paraphrases": ["Which relationships connect other people or items to the Polish journalist Bronis\u0142aw Wildstein, and how frequent are they?", "Can you list the direct properties that have Bronis\u0142aw Wildstein as their object, sorted by how often they appear?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var4 ) AS ?var3 ) WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q321613> . ?var1 <http://wikiba.se/ontology#directClaim> ?var5 . } GROUP BY ?var1 ?var1Label HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } } ORDER BY DESC( ?var3 )"}}
{"id": "test_8759", "question": "Organizations and their total assets values with dates", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?item ?itemLabel ?value ?unit ?date WHERE {\n  ?item p:P2403 ?statement .\n  ?statement ps:P2403 ?value .\n  OPTIONAL {\n    ?statement pq:P518 ?unit\n  }\n  .\n  OPTIONAL {\n    ?statement pq:P585 ?date\n  }\n  .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Which entities have reported total assets, and what are the values, currencies, and years of those reports?", "Show me a list of entities with their total assets amounts, including the date of the report and the currency used, if available."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/P2403> ?var2 . ?var2 <http://www.wikidata.org/prop/statement/P2403> ?var3 . ?var1 ?var4 ?var5 . }"}}
{"id": "test_8760", "question": "Image of Harry Shearer with SNAC ARK ID w6fk0d5x", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6fk0d5x\" . ?item wdt:P18 ?image .}", "paraphrases": ["What is the image associated with Harry Shearer\u2019s SNAC ARK ID w6fk0d5x?", "Show me the Wikimedia Commons image for the person identified by SNAC ARK ID w6fk0d5x."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6fk0d5x\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8761", "question": "Does the German National Library ID 127458751 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?person wdt:P227 \"127458751\" .\n}", "paraphrases": ["Is there a person in Wikidata with the GND ID 127458751?", "Confirm whether Otto Calliebe is represented in Wikidata using his GND ID 127458751."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"127458751\". }"}}
{"id": "test_8762", "question": "People who are fashion models or work in related fields", "sparql": "SELECT DISTINCT ?person ?personLabel WHERE { { ?person wdt:P106 wd:Q4610556 . } UNION { ?person wdt:P101 wd:Q4610556 . } UNION { ?person wdt:P39 wd:Q4610556 . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } ORDER BY ?personLabel LIMIT 500", "paraphrases": ["Who are the people whose occupation, field of work, or position held is fashion model?", "List the names of people associated with the profession of fashion model, including those in related fields like field of work or position held."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P106> */ <http://www.wikidata.org/prop/direct/P101> */ <http://www.wikidata.org/prop/direct/P39> *) <http://www.wikidata.org/entity/Q4610556> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 >= \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 500"}}
{"id": "test_8763", "question": "Top sociologists by Wikipedia popularity", "sparql": "SELECT ?person (COUNT(?wikipediaPage) AS ?sitelinkCount) WHERE { ?person wdt:P106|wdt:P101|wdt:P39 wd:Q2306091 . ?wikipediaPage schema:about ?person ; schema:isPartOf ?wiki . FILTER(STRSTARTS(STR(?wiki), \"https://\")) } GROUP BY ?person ORDER BY DESC(?sitelinkCount) LIMIT 500", "paraphrases": ["Who are the most notable people associated with sociology, ranked by the number of Wikipedia language editions they have articles in?", "List the top 500 people linked to the occupation, field of work, or position held of sociologist, ordered by how many Wikipedia versions feature them."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P106> */ <http://www.wikidata.org/prop/direct/P101> */ <http://www.wikidata.org/prop/direct/P39> *) <http://www.wikidata.org/entity/Q2306091> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 >= \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 500"}}
{"id": "test_8764", "question": "Top 500 tennis players by number of Wikipedia articles", "sparql": "SELECT DISTINCT ?person (COUNT(?sitelink) AS ?sitelinks) WHERE { ?person wdt:P106 wd:Q10833314 . ?sitelink schema:about ?person . } GROUP BY ?person ORDER BY DESC(?sitelinks) LIMIT 500", "paraphrases": ["Who are the most notable tennis players based on how many Wikipedia pages exist about them?", "List the 500 most notable tennis players, ranked by the number of Wikipedia language editions they have pages on."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P106> */ <http://www.wikidata.org/prop/direct/P101> */ <http://www.wikidata.org/prop/direct/P39> *) <http://www.wikidata.org/entity/Q10833314> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 >= \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 500"}}
{"id": "test_8765", "question": "Most notable healers by Wikipedia language editions", "sparql": "SELECT DISTINCT ?person (COUNT(?site) AS ?sitelinkCount) WHERE { ?person wdt:P106 wd:Q2518689 . ?site schema:about ?person . } GROUP BY ?person ORDER BY DESC(?sitelinkCount) LIMIT 500", "paraphrases": ["Who are the most well-known healers based on how many Wikipedia pages exist about them?", "List the top 500 healers ranked by their global Wikipedia presence."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P106> */ <http://www.wikidata.org/prop/direct/P101> */ <http://www.wikidata.org/prop/direct/P39> *) <http://www.wikidata.org/entity/Q2518689> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 >= \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 500"}}
{"id": "test_8766", "question": "What properties are associated with formaldehyde, and what are their values and counts?", "sparql": "SELECT ?property (SAMPLE(?propLabelTemp) AS ?propertyLabel) (COUNT(?value) AS ?valueCount) (GROUP_CONCAT(?valueLabel; SEPARATOR=\", \") AS ?valueLabels) WHERE { wd:Q161210 ?property ?value . ?value rdfs:label ?valueLabel . FILTER(LANG(?valueLabel) = \"en\") . ?propClaim wikibase:directClaim ?property . ?propClaim rdfs:label ?propLabelTemp . FILTER(LANG(?propLabelTemp) = \"en\") . } GROUP BY ?property", "paraphrases": ["For each property linking formaldehyde to other entities, what is the property\u2019s name, how many values does it have, and what are those values in English?", "Show me all the properties of formaldehyde with their English labels, the number of values each has, and the English labels of those values."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q161210> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_8767", "question": "Image of the person with SNAC ARK ID w6sf3rwb.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?person wdt:P3430 \"w6sf3rwb\" .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w6sf3rwb?", "Can you find the Wikimedia Commons image for the individual identified by the SNAC ARK ID w6sf3rwb?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6sf3rwb\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8768", "question": "Wikipedia pages in English or German about the TV series with IMDb ID tt5907228.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipediaPage WHERE {\n  ?item wdt:P345 \"tt5907228\" .\n  ?wikipediaPage schema:about ?item .\n  VALUES ?lang {\n    \"en\" \"de\"\n  }\n  ?wikipediaPage schema:inLanguage ?lang .\n}", "paraphrases": ["What are the Wikipedia pages in English or German about the TV series with IMDb ID tt5907228?", "Show me the English or German Wikipedia pages for the TV series identified by IMDb ID tt5907228."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5907228\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8769", "question": "Who is the French artist named Lucien Penet?", "sparql": "SELECT DISTINCT ?item WHERE { ?item rdfs:label \"Lucien Penet\"@fr . ?item wdt:P31 wd:Q5 . }", "paraphrases": ["What human entity in Wikidata has the French label \"Lucien Penet\"?", "Find the person in Wikidata whose name in French is Lucien Penet."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Luc Penet\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8770", "question": "What are some English-language books with the word \"rings\" in their title?", "sparql": "SELECT ?book ?bookLabel WHERE { ?book wdt:P31 wd:Q571 . ?book rdfs:label ?bookLabel . FILTER (CONTAINS(LCASE(?bookLabel), \"rings\")) . FILTER (LANG(?bookLabel) = \"en\") } LIMIT 10", "paraphrases": ["Show me books that are about rings or contain \"rings\" in their name.", "List books in English that mention rings in their titles."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4Label ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q571> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( ( STR ( ?var1Label ) = \"rings\" ) && ( LANG ( ?var1Label ) = \"en\" ) ) ) . } LIMIT 100000"}}
{"id": "test_8771", "question": "What are the historical FIFA rankings of the Spain men's national football team?", "sparql": "SELECT ?ranking WHERE { wd:Q42267 wdt:P1352 ?ranking . } ORDER BY ?ranking LIMIT 100", "paraphrases": ["Can you list all the ranking positions the Spain national football team has achieved?", "What are the best and worst rankings Spain\u2019s men\u2019s football team has ever had in the FIFA world rankings?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } <http://www.wikidata.org/entity/Q42267> <http://www.wikidata.org/prop/direct/P1352> ?var1 . ?var1 <http://www.wikidata.org/prop/qualifier/P585> ?var2 . } LIMIT 100"}}
{"id": "test_8772", "question": "Who is the French-labeled \"Lionel Messi\" in Wikidata?", "sparql": "SELECT DISTINCT ?person WHERE { ?person rdfs:label \"Lionel Messi\"@fr . ?person wdt:P31 wd:Q5 .}", "paraphrases": ["French label \"Lionel Messi\" and is a human.", "Find the person whose name in French is \"Lionel Messi\" and who is a human."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"lionel mas\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8773", "question": "Artists born in Germany", "sparql": "SELECT ?artist ?artistLabel WHERE { ?artist wdt:P106 wd:Q483501 . ?artist wdt:P19 wd:Q183 . OPTIONAL { ?artist rdfs:label ?artistLabel . FILTER(LANG(?artistLabel) = \"en\") } }", "paraphrases": ["Who are the artists that were born in Germany?", "List the names of artists from Germany."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q483501> . ?var1 <http://www.wikidata.org/prop/direct/P971> <http://www.wikidata.org/entity/Q183> . }"}}
{"id": "test_8774", "question": "What properties and values are associated with mountains in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?mountain ?property ?value WHERE {\n  ?mountain wdt:P31 wd:Q8502 .\n  ?mountain ?property ?value .\n  FILTER(?property != wdt:P31)\n}\nLIMIT 10", "paraphrases": ["Can you show me some examples of mountains and what information is known about them, like their names and descriptions?", "List the names and descriptions of mountains in different languages."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ?var2 ?var3 . ?var3 <http://www.wikidata.org/prop/qualifier/P31> <http://www.wikidata.org/entity/Q26961029> . ?var3 ?var4 ?var5 . ?var6 ?var7 ?var4 . ?var6 ?var8 ?var2 . } LIMIT 10"}}
{"id": "test_8775", "question": "List all television programs and their subclasses in Wikidata.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?program WHERE {\n  ?program wdt:P31 / wdt:P279 * wd:Q15416\n}", "paraphrases": ["What are all the television programs and their subtypes on Wikidata?", "Show me every item on Wikidata that is either a television program or a more specific type of television program, like an animated series or soap opera."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q15416> . }"}}
{"id": "test_8776", "question": "Which television programs have the most screenwriters, and how many screenwriters did each have?", "sparql": "SELECT ?program ?programLabel (COUNT(?screenwriter) AS ?screenwriterCount) WHERE { ?program (wdt:P31/wdt:P279*) wd:Q15416 . ?program wdt:P58 ?screenwriter . ?program rdfs:label ?programLabel . FILTER(LANG(?programLabel) = \"en\") } GROUP BY ?program ?programLabel ORDER BY DESC(?screenwriterCount)", "paraphrases": ["Top television shows by number of screenwriters", "List television programs ranked by the number of screenwriters, starting with the ones with the highest count."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q15416> . ?var1 <http://www.wikidata.org/prop/direct/P58> ?var2 . } GROUP BY ?var1 ORDER BY DESC( ?var3 )"}}
{"id": "test_8777", "question": "What is Donald Trump\u2019s date of birth, and what is the statement identifier for this information in Wikidata?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?date ?statement WHERE {\n  wd:Q22686 p:P569 ?statement .\n  ?statement ps:P569 ?date .\n}", "paraphrases": ["Can you show me the birth date of Donald Trump along with the statement node that contains it?", "How is Donald Trump\u2019s date of birth stored in Wikidata, including the reference statement?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q22686> <http://www.wikidata.org/prop/statement/P575> ?var1 . } OPTIONAL { <http://www.wikidata.org/entity/Q22686> <http://www.wikidata.org/prop/P575> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 1000"}}
{"id": "test_8778", "question": "What properties are related to the \"reviewed by\" property on Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?relatedProperty ?relatedPropertyLabel ?relatedPropertyDescription WHERE {\n  wd:P4032 wdt:P1659 ?relatedProperty .\n  ?relatedProperty rdfs:label ?relatedPropertyLabel .\n  ?relatedProperty schema:description ?relatedPropertyDescription .\n  FILTER(LANG(?relatedPropertyLabel) = \"en\")\n  FILTER(LANG(?relatedPropertyDescription) = \"en\")\n}", "paraphrases": ["Can you list the English labels and descriptions of properties that are linked as \"see also\" to the property \"reviewed by\"?", "Which academic supervision roles are considered related to peer review, according to Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P4032> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . }"}}
{"id": "test_8779", "question": "What is the OpenStreetMap relation ID for Germany?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?osmId WHERE {\n  wd:Q183 wdt:P402 ?osmId .\n}", "paraphrases": ["Can you tell me the OpenStreetMap ID assigned to Germany?", "What is the identifier for Germany in OpenStreetMap?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q1726> <http://www.wikidata.org/prop/direct/P1249> ?var2 . OPTIONAL { } }"}}
{"id": "test_8780", "question": "What countries was Adolf Hitler a citizen of?", "sparql": "SELECT ?person ?personLabel ?countryLabel WHERE { BIND(wd:Q352 AS ?person) ?person wdt:P27 ?country . ?person rdfs:label ?personLabel . ?country rdfs:label ?countryLabel . FILTER(LANG(?personLabel) = \"en\") FILTER(LANG(?countryLabel) = \"en\") }", "paraphrases": ["Which countries recognized Adolf Hitler as a citizen?", "List Adolf Hitler\u2019s countries of citizenship along with his name and the names of those countries."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P27> * <http://www.wikidata.org/entity/Q352> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8781", "question": "Wikimedia categories with main topic Fr\u00e9d\u00e9ric Chopin and their qualifiers.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?category ?statement(SAMPLE(?qualifierProp) AS ?qualifier) WHERE {\n  ?category p:P301 ?statement .\n  ?statement ps:P301 wd:Q1268 .\n  OPTIONAL {\n    ?statement ?qualifierProp ?qualifierValue .\n    wd:P301 wdt:P1687 ?qualifierProp .\n  }\n}\nGROUP BY ?category ?statement", "paraphrases": ["What qualifiers are attached to the statement linking Wikimedia categories to Fr\u00e9d\u00e9ric Chopin as their main topic?", "List all categories whose main topic is Fr\u00e9d\u00e9ric Chopin, along with any qualifier properties used on those category-to-Chopin statements."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P301> <http://www.wikidata.org/entity/Q1268> . ?var1 <http://www.wikidata.org/prop/P301> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_8782", "question": "Paintings depicting angels with their images on Wikimedia Commons", "sparql": "SELECT ?painting ?title ?image WHERE { ?painting wdt:P31 wd:Q3305213 . ?painting wdt:P180 wd:Q235113 . ?painting wdt:P18 ?image . ?painting wdt:P1476 ?title . }", "paraphrases": ["What are the titles and images of paintings that show an angel?", "Show me artworks that depict an angel, along with their titles and corresponding images from Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . ?var1 <http://www.wikidata.org/prop/direct/P180> <http://www.wikidata.org/entity/Q235113> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_8783", "question": "Wikimedia pages in English or German about the movie with IMDb ID tt0393109.", "sparql": "SELECT ?movie ?wikiPage WHERE { ?movie wdt:P345 \"tt0393109\" . ?wikiPage schema:about ?movie . { ?wikiPage schema:inLanguage \"en\" . } UNION { ?wikiPage schema:inLanguage \"de\" . } }", "paraphrases": ["What Wikipedia or Wikiquote pages in English or German are about the movie \"Brick\" (IMDb: tt0393109)?", "Show me all English and German language Wikimedia pages related to the movie identified by IMDb ID tt0393109."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0393109\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8784", "question": "What is the English or German Wikipedia page for the TV series with IMDb ID tt0418110?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?wikipediaPage WHERE {\n  ?item wdt:P345 \"tt0418110\" .\n  ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n}", "paraphrases": ["Show me the Wikipedia articles in English or German about the show Romanzo Criminale.", "Which language versions of Wikipedia have articles about the TV series identified by IMDb ID tt0418110?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0418110\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8785", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0410764?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipediaPage WHERE {\n  ?item wdt:P345 \"tt0410764\" .\n  ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang .\n  VALUES ?lang {\n    \"en\" \"de\"\n  }\n}", "paraphrases": ["Can you show me the Wikipedia articles in English and German about the film Tideland?", "Which language versions of Wikipedia have articles about the movie identified by tt0410764?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0410764\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8786", "question": "Places near Basildon without images within 5 kilometers", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX geof: <http://www.opengis.net/def/function/geosparql/>\nSELECT ?placeLabel ?placeCoord ?distance WHERE {\n  wd:Q216649 wdt:P625 ?center .\n  ?place wdt:P625 ?placeCoord .\n  FILTER(?place != wd:Q216649)\n  FILTER(NOT EXISTS {\n    ?place wdt:P18 []\n  })\n  BIND(geof:distance(?center , ?placeCoord) AS ?distance)\n  FILTER(?distance < 5)\n  OPTIONAL {\n    ?place rdfs:label ?placeLabel .\n    FILTER(LANG(?placeLabel) = \"en\")\n  }\n}", "paraphrases": ["What are the nearby locations to Basildon that don\u2019t have an image on Wikimedia Commons and are within 5 km?", "List the English-labeled places within 5 km of Basildon that are not associated with any image."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { BIND ( <http://www.wikidata.org/entity/Q216649> AS ?var4 ). ?var4 <http://www.wikidata.org/prop/direct/P625> ?var5 . SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> ?var5 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"5\". <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#distance> ?var3 . } FILTER ( ( ( ?var1 != ?var4 ) ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var6 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_8787", "question": "Wikipedia articles in English or German about the movie with IMDb ID tt3365778", "sparql": "SELECT ?article ?language WHERE { ?item wdt:P345 \"tt3365778\" . ?article schema:about ?item . ?article schema:inLanguage ?language . FILTER(?language IN (\"en\", \"de\")) }", "paraphrases": ["What are the English and German Wikipedia pages for the film with IMDb ID tt3365778?", "Show me the English and German Wikipedia links for the movie identified by IMDb ID tt3365778."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt3365778\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8788", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt2550838?", "sparql": "SELECT ?item ?wikipediaPage WHERE { ?item wdt:P345 \"tt2550838\" . ?wikipediaPage schema:about ?item . VALUES ?lang { \"en\" \"de\" } ?wikipediaPage schema:inLanguage ?lang .}", "paraphrases": ["Find the Wikipedia article in English or German about the film identified by tt2550838 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2550838\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8789", "question": "What are Bob\u2019s properties in Portuguese, along with their Portuguese value labels and counts?", "sparql": "SELECT ?property (SAMPLE(?propertyLabel) AS ?sampledPropertyLabel) (COUNT(?valueLabel) AS ?valueCount) (GROUP_CONCAT(?valueLabel; SEPARATOR=\", \") AS ?valueLabels) WHERE { wd:Q27744042 ?property ?value . ?value rdfs:label ?valueLabel . FILTER(LANG(?valueLabel) = \"pt\") . ?propertyItem wikibase:directClaim ?property . ?propertyItem rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"pt\") . } GROUP BY ?property", "paraphrases": ["For each property of the street cat Bob, what is its Portuguese label, how many of its values have Portuguese labels, and what are those labels?", "Show me a summary of Bob\u2019s Wikidata properties in Portuguese, including the property names, how many Portuguese-labeled values each has, and the actual Portuguese labels of those values."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q27744042> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"pt\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"pt\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_8790", "question": "Does the SOATO ID 5000000000 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P2672 \"5000000000\" .\n}", "paraphrases": ["Is there a Wikidata item with the SOATO ID 5000000000?", "Check if the SOATO ID 5000000000 is assigned to any administrative entity in Belarus."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2672> \"string1\". }"}}
{"id": "test_8791", "question": "What is the English Wikimedia category that has Nicolas Poussin as its main topic?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?category ?categoryLabel WHERE {\n  ?category wdt:P301 wd:Q41554 .\n  ?category rdfs:label ?categoryLabel .\n  FILTER ( LANG( ?categoryLabel ) = 'en' )\n}", "paraphrases": ["Which category on Wikipedia is dedicated to Nicolas Poussin?", "Find the category whose main subject is the French painter Nicolas Poussin."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P301> <http://www.wikidata.org/entity/Q41554> . ?var1 <http://www.wikidata.org/prop/P301> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_8792", "question": "Categories on Wikidata that include Nicolas Poussin as a combined topic.", "sparql": "SELECT ?category ?statement WHERE { ?statement ps:P971 wd:Q41554 . ?category p:P971 ?statement . } LIMIT 101", "paraphrases": ["Which Wikimedia categories combine Nicolas Poussin with other topics?", "Show me the Wikidata items representing categories that are linked to Nicolas Poussin via the \"category combines topics\" property."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P971> <http://www.wikidata.org/entity/Q41554> . ?var1 <http://www.wikidata.org/prop/P971> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_8793", "question": "What are the Italian-language terms for the genders of people who have been Members of the European Parliament?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?genderLabel WHERE {\n  ?statement ps:P39 wd:Q27169 .\n  ?person p:P39 ?statement ; wdt:P21 ?gender .\n  ?gender rdfs:label ?genderLabel .\n  FILTER ( LANGMATCHES( LANG( ?genderLabel ) , \"it\" ) )\n}", "paraphrases": ["Italian gender labels for European Parliament members", "Show me the Italian words for the genders of individuals who have held a seat in the European Parliament."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { ?var2 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q33129158> . ?var3 <http://www.wikidata.org/prop/P39> ?var2 ; <http://www.wikidata.org/prop/direct/P21> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( LANGMATCHES ( LANG ( ?var1Label ) , \"it\" ) ) ) . }"}}
{"id": "test_8794", "question": "What is the label of the entity Piet Kraak (Q354)?", "sparql": "SELECT ?person ?label WHERE { BIND( wd:Q354 AS ?person ) . ?person rdfs:label ?label . }", "paraphrases": ["Can you show me the label associated with the Wikidata item for Piet Kraak?", "What are the available labels for the person identified as Q354?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { BIND ( <http://www.wikidata.org/entity/Q354> AS ?var1 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pt\". } }"}}
{"id": "test_8795", "question": "What are some sports and notable events associated with them?", "sparql": "SELECT ?sport ?sportLabel ?event ?eventLabel WHERE { ?event wdt:P641 ?sport . ?sport wdt:P279 wd:Q349 . ?event wdt:P31 wd:Q16510064 . ?event rdfs:label ?eventLabel . ?sport rdfs:label ?sportLabel . FILTER(LANG(?eventLabel) = 'en') . FILTER(LANG(?sportLabel) = 'en') } LIMIT 20", "paraphrases": ["Can you list sporting events and the types of sports they belong to, in English?", "Show me examples of sports competitions and the sports they are part of, such as archery tournaments or running races."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q349> . ?var2 <http://www.wikidata.org/prop/direct/P31> ?var1 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . } }"}}
{"id": "test_8796", "question": "People born in Berlin or London", "sparql": "SELECT ?person ?birthPlace WHERE { VALUES ?birthPlace { wd:Q64 wd:Q84 } ?person wdt:P19 ?birthPlace .}", "paraphrases": ["Who were born in Berlin or London?", "List all individuals whose place of birth is either Berlin or London."], "info": {"raw_sparql": "SELECT * WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q64> ) ( <http://www.wikidata.org/entity/Q84> ) } ?var2 <http://www.wikidata.org/prop/direct/P19> ?var1 . }"}}
{"id": "test_8797", "question": "Rowing figures with multiple birth dates in Wikidata", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person WHERE {\n  ?person wdt:P106 / wdt:P279 * wd:Q26270618 .\n  ?person p:P569 ?stmt1 .\n  ?stmt1 ps:P569 ?birthDate1 .\n  ?person p:P569 ?stmt2 .\n  ?stmt2 ps:P569 ?birthDate2 .\n  FILTER(?birthDate1 != ?birthDate2)\n}", "paraphrases": ["Which rowing athletes have conflicting birth dates recorded in Wikidata?", "List all people involved in rowing who have more than one different birth date listed in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q26270618> . ?var1 ( <http://www.wikidata.org/prop/P569> / <http://www.wikidata.org/prop/statement/P569> ) ?var2 . ?var1 ( <http://www.wikidata.org/prop/P569> / <http://www.wikidata.org/prop/statement/P569> ) ?var3 . FILTER ( ( ( ?var2 != ?var3 ) ) ) . }"}}
{"id": "test_8798", "question": "Top 30 academic papers cited in publications about machine translation and its subclasses or facets.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT(COUNT(?work) AS ?count) ?citedWork ?citedWorkLabel WHERE {\n  ?work wdt:P921 ?topic .\n  ?topic(wdt:P279 * | wdt:P1269) wd:Q79798 .\n  ?work wdt:P2860 ?citedWork .\n  ?citedWork rdfs:label ?citedWorkLabel .\n  FILTER(LANG(?citedWorkLabel) = \"en\")\n}\nGROUP BY ?citedWork ?citedWorkLabel\nORDER BY DESC(?count)\nLIMIT 30", "paraphrases": ["Which scholarly works are most frequently cited in research papers whose main topic is machine translation or a related concept like neural translation or post-editing?", "Show me the 30 most cited works in publications that focus on machine translation, including its subclasses (like computational linguistics) and facets (like post-editing), along with how many times each was cited."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) ?var3 ?var3Label WHERE { { ?var1 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q79798> . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P361> +) <http://www.wikidata.org/entity/Q79798> . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P1269> +) <http://www.wikidata.org/entity/Q79798> . } ?var1 <http://www.wikidata.org/prop/direct/P2860> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } } GROUP BY ?var3 ?var3Label ORDER BY DESC( ?var2 ) LIMIT 30"}}
{"id": "test_8799", "question": "What is the English label and description of the entry in the Great Russian Encyclopedia with ID 1429843?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?desc WHERE {\n  ?item wdt:P2924 \"1429843\" .\n  OPTIONAL {\n    ?item schema:description ?desc FILTER ( LANG( ?desc ) = \"en\" )\n  }\n  .\n  ?item rdfs:label ?itemLabel FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["Can you find the Wikidata item for the Great Russian Encyclopedia entry numbered 1429843, along with its English name and description?", "Which topic in Wikidata corresponds to the old Great Russian Encyclopedia ID 1429843, and what is its English description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"2344365\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8800", "question": "What entities in Wikidata have identifiers from the Library of Congress, VIAF, AAT, MeSH, or LoC/MARC vocabularies?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?property ?identifier WHERE {\n  {\n    ?item wdt:P244 ?identifier .\n    BIND(wdt:P244 AS ?property)\n  } UNION {\n    ?item wdt:P214 ?identifier .\n    BIND(wdt:P214 AS ?property)\n  } UNION {\n    ?item wdt:P4801 ?identifier .\n    BIND(wdt:P4801 AS ?property)\n  } UNION {\n    ?item wdt:P1014 ?identifier .\n    BIND(wdt:P1014 AS ?property)\n  } UNION {\n    ?item wdt:P486 ?identifier .\n    BIND(wdt:P486 AS ?property)\n  }\n}\nLIMIT 100", "paraphrases": ["Show me items from Wikidata that are linked to external authority files like LCCN, VIAF, or AAT, along with their identifier values.", "List entities in Wikidata that are identified by standardized codes from major library and medical vocabularies."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { VALUES ( ?var2 ) { ( <http://www.wikidata.org/prop/direct/P244> ) ( <http://www.wikidata.org/prop/direct/P214> ) ( <http://www.wikidata.org/prop/direct/P4801> ) ( <http://www.wikidata.org/prop/direct/P1014> ) ( <http://www.wikidata.org/prop/direct/P486> ) } ?var1 ?var2 ?var3 . } LIMIT 100"}}
{"id": "test_8801", "question": "What are the known positions of vice president around the world?", "sparql": "SELECT ?vicePresidentPosition ?label WHERE { ?vicePresidentPosition wdt:P31 wd:Q42178 . ?vicePresidentPosition rdfs:label ?label . FILTER(LANG(?label) = \"en\") } LIMIT 100", "paraphrases": ["Can you list the official vice president roles in different countries and organizations, along with their names?", "Which entities are classified as instances of the vice president position in Wikidata, and what are their English labels?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q42178> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 100"}}
{"id": "test_8802", "question": "Is there a Wikidata item for the movie with IMDb ID tt6083648?", "sparql": "ASK WHERE { ?item wdt:P345 \"tt6083648\" . }", "paraphrases": ["Does the film 'Looking Glass' have an entry in Wikidata with the IMDb identifier tt6083648?", "Confirm if the IMDb ID tt6083648 is linked to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6083648\". }"}}
{"id": "test_8803", "question": "People who died in November 1901", "sparql": "SELECT DISTINCT ?person WHERE { ?person wdt:P570 ?deathDate . FILTER ( ?deathDate >= \"1901-11-01T00:00:00Z\"^^xsd:dateTime && ?deathDate <= \"1901-11-30T23:59:59Z\"^^xsd:dateTime ) }", "paraphrases": ["Who died in November 1901?", "List all individuals who died between November 1 and November 30, 1901."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . FILTER ( ( ( ?var2 >= \"1901-11-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1901-11-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_8804", "question": "Most common property used to classify institutional repositories in Wikidata?", "sparql": "SELECT ?property (COUNT(?item) AS ?count)\nWHERE {\n  ?item ?claim wd:Q1065413 .\n  ?property wikibase:directClaim ?claim .\n  ?property rdf:type wikibase:Property .\n}\nGROUP BY ?property\nORDER BY DESC(?count)\nLIMIT 1", "paraphrases": ["Which property is most frequently used to indicate that an entity is an institutional repository?", "Show me the property that is used the most to state that something is an institutional repository, along with how many times it\u2019s used."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q1065413> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_8805", "question": "Monuments in Russia with their coordinates", "sparql": "SELECT ?monumentLabel ?coord WHERE { ?monument wdt:P31 wd:Q4989906 . ?monument wdt:P131* wd:Q159 . ?monument wdt:P625 ?coord . ?monument rdfs:label ?monumentLabel . FILTER(LANG(?monumentLabel) = \"en\") }", "paraphrases": ["What are the English names and geographic coordinates of monuments located in Russia?", "List the English labels and coordinates of all monuments in Russia."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4989906> . ?var1 ( <http://www.wikidata.org/prop/direct/P131> */^ <http://www.wikidata.org/prop/direct/P527> ) <http://www.wikidata.org/entity/Q159> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,ru\". } }"}}
{"id": "test_8806", "question": "Does the movie with IMDb ID tt6518270 exist in Wikidata?", "sparql": "ASK WHERE { ?item wdt:P345 \"tt6518270\" . }", "paraphrases": ["Is there an entity in Wikidata associated with the IMDb identifier tt6518270?", "Confirm if tt6518270 is a valid IMDb ID for any item in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6518270\". }"}}
{"id": "test_8807", "question": "What movie has the IMDb ID tt5601792?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P345 \"tt5601792\" .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["Which film in Wikidata is associated with the IMDb identifier tt5601792?", "Show me the title of the movie with IMDb ID tt5601792."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5601792\". }"}}
{"id": "test_8808", "question": "Does the movie with IMDb ID tt6581528 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P345 \"tt6581528\" .\n}", "paraphrases": ["Is there a Wikidata item for the film \"Sathya\" (2017) with IMDb identifier tt6581528?", "Confirm if the IMDb ID tt6581528 is linked to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6581528\". }"}}
{"id": "test_8809", "question": "Does the TV series 'All of You' have the IMDb ID tt7736536?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q48672600 wdt:P345 \"tt7736536\" .\n}", "paraphrases": ["Is there a Wikidata item for the TV show 'All of You' with the IMDb identifier tt7736536?", "Confirm that the IMDb ID tt7736536 is linked to the TV series 'All of You' in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt7736536\". }"}}
{"id": "test_8810", "question": "Does Wikidata have an entry for the IMDb ID tt7344682?", "sparql": "ASK WHERE { ?item wdt:P345 \"tt7344682\" . }", "paraphrases": ["Is there a Wikidata item linked to the movie with IMDb ID tt7344682?", "Confirm if the documentary *Bobbi Kristina* (IMDb: tt7344682) is represented in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt7344682\". }"}}
{"id": "test_8811", "question": "Does the movie with IMDb ID tt6747192 exist in Wikidata?", "sparql": "ASK WHERE { ?item wdt:P345 \"tt6747192\" . }", "paraphrases": ["Is there a film in Wikidata identified by the IMDb identifier tt6747192?", "Confirm if the IMDb ID tt6747192 corresponds to a known film in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6747192\". }"}}
{"id": "test_8812", "question": "Does the movie Raktokorobi have an IMDb ID of tt7792194?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P345 \"tt7792194\" .\n}", "paraphrases": ["Is there a Wikidata item for the film with IMDb identifier tt7792194?", "Confirm whether the IMDb ID tt7792194 is linked to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt7792194\". }"}}
{"id": "test_8813", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt6439558?", "sparql": "SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 \"tt6439558\" . ?wikipedia_page schema:about ?movie . VALUES ?lang { \"en\" \"de\" } ?wikipedia_page schema:inLanguage ?lang . }", "paraphrases": ["What are the English and German Wikipedia articles about the movie 'Recep \u0130vedik 5'?", "Show me the English and German Wikipedia links for the movie identified by tt6439558 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6439558\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8814", "question": "English or German Wikipedia page for the movie with IMDb ID tt4346472", "sparql": "SELECT ?item ?wikipedia_page WHERE { ?item wdt:P345 \"tt4346472\" . ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["What is the English or German Wikipedia page for the film \"Adam's Testament\" (IMDb: tt4346472)?", "Show me the Wikipedia article in English or German about the movie with IMDb ID tt4346472."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt4346472\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8815", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0303361?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipediaPage ?imdbId WHERE {\n  ?movie wdt:P345 ?imdbId .\n  ?wikipediaPage schema:about ?movie .\n  {\n    ?wikipediaPage schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipediaPage schema:inLanguage \"de\" .\n  }\n  FILTER ( ?imdbId = \"tt0303361\" )\n}", "paraphrases": ["Can you show me the Wikipedia articles in English and German about the film identified by IMDb ID tt0303361?", "Which Wikipedia pages in English and German link to the movie with the IMDb identifier tt0303361?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0303361\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8816", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0133093?", "sparql": "SELECT ?movie ?wikipedia_url ?language WHERE { ?movie wdt:P345 \"tt0133093\" . ?wikipedia_url schema:about ?movie ; schema:inLanguage ?language . FILTER((STRSTARTS(STR(?wikipedia_url), \"https://en.wikipedia.org/\") || STRSTARTS(STR(?wikipedia_url), \"https://de.wikipedia.org/\"))) }", "paraphrases": ["Can you show me the Wikipedia articles in English and German about the movie The Matrix?", "I want to find the Wikipedia links in English and German for the film identified by the IMDb code tt0133093."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2829266\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8817", "question": "Football player with Transfermarkt ID 83192", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?player wdt:P2446 \"83192\" .\n}", "paraphrases": ["Is there a football player on Transfermarkt with ID 83192?", "Can you confirm if the footballer Rico Schmider is linked to Transfermarkt ID 83192 in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2446> \"83192\". }"}}
{"id": "test_8818", "question": "Female humans from Arabic-speaking countries with English Wikipedia articles.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?person ?label WHERE {\n  ?person wdt:P31 wd:Q5 ; wdt:P21 wd:Q6581072 ; wdt:P27 ?country .\n  ?country wdt:P37 wd:Q13955 .\n  ?wikipediaArticle schema:about ?person ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n  ?person rdfs:label ?label .\n  FILTER(langMatches(lang(?label) , \"en\"))\n}", "paraphrases": ["Who are the female humans from countries where Arabic is an official language and who have an English Wikipedia page?", "List the names of women who are citizens of Arabic-speaking nations and have a Wikipedia article in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> ; <http://www.wikidata.org/prop/direct/P27> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P37> <http://www.wikidata.org/entity/Q13955> . ?var3 <http://schema.org/about> ?var1 ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_8819", "question": "List video games with their English titles and release dates.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?game ?gameLabel ?releaseDate WHERE {\n  ?game wdt:P31 wd:Q7889 .\n  ?game wdt:P1476 ?gameLabel .\n  FILTER(LANG(?gameLabel) = \"en\")\n  OPTIONAL {\n    ?game wdt:P577 ?releaseDate .\n  }\n}\nLIMIT 2000", "paraphrases": ["What are the English titles and release dates of all video games in Wikidata?", "Show me the names and release dates of video games, using their English titles."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7889> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var2 . } } LIMIT 2000"}}
{"id": "test_8820", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt4168022?", "sparql": "SELECT ?item ?wikipedia_page WHERE { ?item wdt:P345 \"tt4168022\" . ?wikipedia_page schema:about ?item . { ?wikipedia_page schema:inLanguage \"en\" . } UNION { ?wikipedia_page schema:inLanguage \"de\" . } }", "paraphrases": ["Can you find the Wikipedia articles in English and German about the film identified by tt4168022 on IMDb?", "Which Wikipedia pages in English and German discuss the movie Yo-kai Watch: Tanj\u014d no Himitsu da Nyan!?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt4168022\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8821", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0111082?", "sparql": "SELECT ?item ?wikipedia_page WHERE { ?item wdt:P345 \"tt0111082\" . ?wikipedia_page schema:about ?item . ?wikipedia_page schema:inLanguage ?lang . VALUES ?lang { \"en\" \"de\" } }", "paraphrases": ["Which Wikipedia articles in English and German are about the movie Scanner Cop?", "Show me the English and German Wikipedia links for the film identified by IMDb ID tt0111082."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0111082\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8822", "question": "Which organization uses 'ZDF' as its X (Twitter) username?", "sparql": "SELECT ?organization ?twitterUsername WHERE { ?organization wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"ZDF\" } }", "paraphrases": ["What is the organization with the Twitter handle ZDF?", "Tell me the organization whose X username is ZDF."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"ZDF\" ) } }"}}
{"id": "test_8823", "question": "Dishes that contain broccoli as an ingredient.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?dishLabel ?dish WHERE {\n  ?dish wdt:P527 wd:Q47722 .\n  ?dish rdfs:label ?dishLabel .\n  FILTER ( LANG( ?dishLabel ) = \"en\" )\n}", "paraphrases": ["What food dishes include broccoli as a component?", "List food items that have broccoli as a part."], "info": {"raw_sparql": "SELECT ?var1Label ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P527> <http://www.wikidata.org/entity/Q47722> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,en\". } }"}}
{"id": "test_8824", "question": "Fictional characters in The X-Files TV series", "sparql": "SELECT DISTINCT ?character ?characterLabel WHERE { ?character p:P1441 ?statement . ?statement ps:P1441 wd:Q2744 . ?character rdfs:label ?characterLabel . FILTER(LANG(?characterLabel) = \"en\") } LIMIT 101", "paraphrases": ["Which fictional characters appear in The X-Files?", "List all the characters from The X-Files television series."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/P1441> ?var2 . ?var2 <http://www.wikidata.org/prop/statement/P1441> <http://www.wikidata.org/entity/Q2744> . } LIMIT 101"}}
{"id": "test_8825", "question": "List all Wikidata properties that are used as external identifiers.", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?property WHERE {\n  ?property wikibase:propertyType wikibase:ExternalId .\n}", "paraphrases": ["Which properties in Wikidata are designated as external ID properties?", "Show me all the properties in Wikidata that store external identifiers like ISBN or ORCID."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ?var2 <http://wikiba.se/ontology#ExternalId> . }"}}
{"id": "test_8826", "question": "What are the subclasses of mountain?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subclass ?subclassLabel WHERE {\n  ?subclass wdt:P279 wd:Q8502 .\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER ( LANG( ?subclassLabel ) = 'en' )\n}", "paraphrases": ["Can you list the types of mountains, such as volcano or mesa?", "What kinds of landforms are considered types of mountains?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P301> <http://www.wikidata.org/entity/Q8475074> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } }"}}
{"id": "test_8827", "question": "What are the UNESCO World Heritage Sites, their locations, and associated images?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?siteLabel ?coordinates ?image ?site WHERE {\n  ?site ( wdt:P31 / wdt:P279 * ) wd:Q9259 ; wdt:P625 ?coordinates ; wdt:P18 ?image .\n  OPTIONAL {\n    ?site rdfs:label ?siteLabel .\n    FILTER ( LANG( ?siteLabel ) = \"en\" )\n  }\n}", "paraphrases": ["Can you list the English names, coordinates, and images of all places listed as World Heritage Sites by UNESCO?", "Show me the World Heritage Sites with their coordinates and pictures from Wikimedia Commons, using their English labels."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q9259> ; <http://www.wikidata.org/prop/direct/P625> ?var2 ; <http://www.wikidata.org/prop/direct/P18> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_8828", "question": "People with the given name Paolo and their images", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?image WHERE {\n  ?person wdt:P735 wd:Q15731774 .\n  OPTIONAL {\n    ?person rdfs:label ?personLabel .\n    FILTER ( LANG( ?personLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n}\nLIMIT 100", "paraphrases": ["Who are the people named Paolo, and do they have any images on Wikimedia Commons?", "Show me a list of people named Paolo along with their English names and any associated images."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P735> <http://www.wikidata.org/entity/Q15731774> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } } LIMIT 100"}}
{"id": "test_8829", "question": "What is the English title of the movie with IMDb ID tt7158736?", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P345 \"tt7158736\" . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\")}", "paraphrases": ["Which movie is identified by the IMDb code tt7158736?", "Can you tell me the name of the film on IMDb with the identifier tt7158736?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt7158736\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_8830", "question": "Image of Emmerich K\u00e1lm\u00e1n with SNAC ARK ID w6st80h0", "sparql": "SELECT ?image WHERE { ?person wdt:P3430 \"w6st80h0\" . OPTIONAL { ?person wdt:P18 ?image . } }", "paraphrases": ["What is the Wikimedia Commons image associated with Emmerich K\u00e1lm\u00e1n\u2019s SNAC ARK ID (w6st80h0)?", "Please provide the image of Emmerich K\u00e1lm\u00e1n, identified by the SNAC ARK ID w6st80h0."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6st80h0\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8831", "question": "What is the English label and earliest known birth date of Pythagoras?", "sparql": "SELECT DISTINCT ?person ?label ?earliestBirthDate WHERE { VALUES ?person { wd:Q10261 } ?person rdfs:label ?label . ?person p:P569 / pq:P1319 ?earliestBirthDate . FILTER (LANG(?label) = \"en\") }", "paraphrases": ["When is the earliest recorded birth date of the ancient Greek philosopher Pythagoras, and what is his name in English?", "Please provide the English name and earliest possible birth year of Pythagoras."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q10261> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var1 ( <http://www.wikidata.org/prop/P569> / <http://www.wikidata.org/prop/qualifier/P1319> ) ?var4 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . }"}}
{"id": "test_8832", "question": "What is the German name and geographic coordinates of Volgograd?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?coordinates WHERE {\n  wd:Q914 rdfs:label ?label ; wdt:P625 ?coordinates .\n  FILTER ( LANG( ?label ) = \"de\" )\n}", "paraphrases": ["German label and coordinates of Volgograd", "Show me the German name and location of the city of Volgograd."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q914> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label ; <http://www.wikidata.org/prop/direct/P625> ?var2 . FILTER ( ( ( LANG ( ?var1Label ) = \"de\" ) ) ) . }"}}
{"id": "test_8833", "question": "What properties (other than \"instance of\") are used to link entities to Scotland in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT DISTINCT ?property WHERE {\n  ?item ?statementProperty wd:Q22 .\n  ?property wikibase:statementProperty ?statementProperty .\n  FILTER(?property != wd:P31)\n}", "paraphrases": ["Which types of relationships connect other items to Scotland, excluding the \"instance of\" relationship?", "Can you list all the direct properties in Wikidata that have Scotland as their object, excluding P31?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 ?var3 <http://www.wikidata.org/entity/Q22> . ?var1 <http://wikiba.se/ontology#statementProperty> ?var3 . FILTER ( ( ( ?var1 != <http://www.wikidata.org/entity/P31> ) ) ) . }"}}
{"id": "test_8834", "question": "Is \"Particularly suitable for kids\" a type of software?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q27253957 wdt:P31 / wdt:P279 * wd:Q7397 .\n}", "paraphrases": ["Does the ICAA rating \"Particularly suitable for kids\" belong to the category of software?", "Is a content rating like \"Particularly suitable for kids\" considered software?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q27253957> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_8835", "question": "Items owned by Scotland and their statement qualifiers", "sparql": "SELECT ?item ?statement (SAMPLE(?qv) AS ?qualifierValue) WHERE { ?item p:P127 ?statement . ?statement ps:P127 wd:Q22 . OPTIONAL { ?statement ?qualifier ?qv . ?qualifier wikibase:qualifier true . } } GROUP BY ?item ?statement LIMIT 101", "paraphrases": ["What items are owned by Scotland, and what additional details (qualifiers) are associated with those ownership statements?", "List all items owned by Scotland along with any qualifiers on their ownership statements."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P127> <http://www.wikidata.org/entity/Q22> . ?var1 <http://www.wikidata.org/prop/P127> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_8836", "question": "Wikipedia page for movie with IMDb tt0100943 in English or German", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?wikipediaPage WHERE {\n  ?movie wdt:P345 \"tt0100943\" .\n  ?wikipediaPage schema:about ?movie .\n  {\n    ?wikipediaPage schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipediaPage schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["What is the English or German Wikipedia page for the movie with IMDb ID tt0100943?", "Show me the English or German Wikipedia article for the movie identified by IMDb ID tt0100943."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0100943\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8837", "question": "What country, administrative region, and continent is the river Gorenka located in?", "sparql": "SELECT DISTINCT ?country ?countryLabel ?administrativeEntity ?administrativeEntityLabel ?continent ?continentLabel WHERE { wd:Q4144080 wdt:P17 ?country . wd:Q4144080 wdt:P131 ?administrativeEntity . ?country wdt:P30 ?continent . ?country rdfs:label ?countryLabel . ?administrativeEntity rdfs:label ?administrativeEntityLabel . ?continent rdfs:label ?continentLabel . FILTER(LANG(?countryLabel) = \"en\") FILTER(LANG(?administrativeEntityLabel) = \"en\") FILTER(LANG(?continentLabel) = \"en\")}", "paraphrases": ["Tell me the geographic context of Gorenka, including its country, administrative division, and continent.", "Where is Gorenka located? Specifically, which country, administrative entity, and continent does it belong to?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q4144080> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_8838", "question": "How many lists on Wikidata have humans as their main topic?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT(COUNT(?list) AS ?count) WHERE {\n  ?list wdt:P360 wd:Q5 .\n}", "paraphrases": ["How many lists are there on Wikidata whose main topic is human beings?", "Count the number of lists on Wikidata that are about humans."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1Label ) AS ?var2 ) WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs,en\". } ?var1 <http://www.wikidata.org/prop/direct/P360> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8839", "question": "U.S. presidents, their order (e.g., 44th), spouses, and images of both.", "sparql": "SELECT ?president ?seriesOrdinal ?presidentLabel ?presidentImage ?spouse ?spouseImage ?spouseLabel WHERE { ?president p:P39 ?stmt . ?stmt ps:P39 wd:Q11696 . ?stmt pq:P1545 ?seriesOrdinal . ?president wdt:P26 ?spouse . OPTIONAL { ?president wdt:P18 ?presidentImage . } OPTIONAL { ?spouse wdt:P18 ?spouseImage . } ?president rdfs:label ?presidentLabel . ?spouse rdfs:label ?spouseLabel . FILTER(LANG(?presidentLabel) = \"en\") FILTER(LANG(?spouseLabel) = \"en\") } LIMIT 10", "paraphrases": ["Who are the U.S. presidents, what number president were they, who did they marry, and do we have photos of them and their spouses?", "List the U.S. presidents with their series ordinal, their spouses, and images of both the presidents and their spouses, all in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label ?var3 ?var4 ?var4Label ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q11696> . ?var1 <http://www.wikidata.org/prop/direct/P39> [ <http://www.wikidata.org/prop/qualifier/P1545> ?var2 ] . ?var1 <http://www.wikidata.org/prop/direct/P26> ?var4 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . ?var4 <http://www.wikidata.org/prop/direct/P18> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8840", "question": "People born in Berlin before 1900 with their birth and death dates and English names.", "sparql": "SELECT ?person ?name ?birthDate ?deathDate WHERE {\n  ?person wdt:P19 wd:Q64 ;\n          wdt:P569 ?birthDate ;\n          wdt:P570 ?deathDate ;\n          rdfs:label ?name .\n  FILTER (lang(?name) = 'en') .\n  FILTER (?birthDate < \"1900-01-01\"^^xsd:date) .\n}\nORDER BY ASC(?name)\nLIMIT 100", "paraphrases": ["Who were the people born in Berlin before 1900, and what are their birth dates, death dates, and English names?", "List up to 100 individuals born in Berlin before 1900, including their English names, birth dates, and death dates, sorted alphabetically by name."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var4 <http://dbpedia.org/ontology/birthPlace> <http://dbpedia.org/resource/Berlin> . ?var4 <http://dbpedia.org/ontology/birthDate> ?var2 . ?var4 <http://xmlns.com/foaf/0.1/name> ?var1 . ?var4 <http://dbpedia.org/ontology/deathDate> ?var3 . FILTER ( ( ( ?var2 < \"1900-01-01\"^^<http://www.w3.org/2001/XMLSchema#date> ) ) ) . } ORDER BY ASC( ?var1 ) LIMIT 100"}}
{"id": "test_8841", "question": "Who is Guillaume F\u00e9dou, and is he a human?", "sparql": "SELECT DISTINCT ?person WHERE { ?person rdfs:label \"Guillaume F\u00e9dou\"@fr . ?person wdt:P31 wd:Q5 .}", "paraphrases": ["What is the Wikidata item for the French-named person \"Guillaume F\u00e9dou\"?", "Find the entity in Wikidata that has the French label \"Guillaume F\u00e9dou\" and is classified as a human."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"guy fedou\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8842", "question": "What are the classes of Wikidata properties and which actual properties belong to each class?", "sparql": "SELECT ?propertyClass ?property WHERE { ?propertyClass wdt:P279* wd:Q18616576 . ?property wdt:P31/wdt:P279* ?propertyClass . }", "paraphrases": ["For each category of Wikidata property (like \"property for an identifier\" or \"authority control property\"), which specific properties are instances of that category?", "List all Wikidata properties grouped by the type of property they represent, based on the Wikidata property ontology."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q18616576> . ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var1 . }"}}
{"id": "test_8843", "question": "What are all the superclass categories of the entity \"character that may or may not be fictional\" in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?ancestor ?ancestorLabel WHERE {\n  wd:Q21070598 wdt:P279 * ?ancestor .\n  ?ancestor rdfs:label ?ancestorLabel .\n  FILTER ( LANG( ?ancestorLabel ) = \"en\" )\n}", "paraphrases": ["Can you list the hierarchical ancestors of \"character that may or may not be fictional\" along with their English labels?", "Show me the full class hierarchy above \"character that may or may not be fictional\", including all broader categories it belongs to."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q21070598> <http://www.wikidata.org/prop/direct/P279> * ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8844", "question": "How many people named Georg were born on February 2nd?", "sparql": "SELECT (COUNT(*) AS ?count) WHERE { ?person wdt:P735 wd:Q1985538 . ?person p:P569 ?birthStatement . ?birthStatement psv:P569 ?birthDate . ?birthStatement wikibase:timePrecision \"11\"^^xsd:integer . FILTER(DAY(?birthDate) = 2) FILTER(MONTH(?birthDate) = 2) }", "paraphrases": ["Can you tell me the number of individuals with the given name Georg who have their birth date recorded as February 2nd?", "I\u2019d like to know how many people named Georg have a documented birthday on the 2nd of February."], "info": {"raw_sparql": "SELECT( COUNT (* ) AS ?var1 ) WHERE { ?var2 <http://wikiba.se/ontology#timePrecision> \"11\"^^<http://www.w3.org/2001/XMLSchema#integer> . ?var2 <http://wikiba.se/ontology#timeValue> ?var3 . FILTER ( ( ( DAY ( ?var3 ) = \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . FILTER ( ( ( MONTH ( ?var3 ) = \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var4 <http://www.wikidata.org/prop/direct/P361> \"Georg\". ?var5 ( <http://www.wikidata.org/prop/P569> / <http://www.wikidata.org/prop/statement/value/P569> ) ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8845", "question": "Neighborhoods in Rio de Janeiro that are part of a subprefecture or administrative region.", "sparql": "SELECT ?neighborhood ?neighborhoodLabel WHERE { ?neighborhood wdt:P31 wd:Q19658107 . ?neighborhood wdt:P131 wd:Q8678 . ?neighborhood wdt:P131 ?administrative_unit . { ?administrative_unit wdt:P31 wd:Q1367821 } UNION { ?administrative_unit wdt:P31 wd:Q4683593 } . ?neighborhood rdfs:label ?neighborhoodLabel . FILTER(LANG(?neighborhoodLabel) = 'en') }", "paraphrases": ["Which neighborhoods in Rio de Janeiro are administratively contained within a subprefecture or administrative region?", "List the neighborhoods in Rio de Janeiro that belong to either a subprefecture or an administrative region."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pt\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19658107> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q8678> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1367821> . } UNION { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4683593> . } }"}}
{"id": "test_8846", "question": "Fictional or mythical entities that are analogs of real-world occurrences.", "sparql": "SELECT ?fictionalEntity ?statement (SAMPLE(?qv) AS ?qualifierValue) WHERE { ?fictionalEntity p:P1074 ?statement . ?statement ps:P1074 wd:Q1190554 . OPTIONAL { ?statement ?qualifierProperty ?qv . ?qualifierProperty wikibase:qualifier true . } } GROUP BY ?fictionalEntity ?statement", "paraphrases": ["What fictional or mythical entities are linked to real-world occurrences, and what additional details are provided about these links?", "List all fictional and mythical entities that correspond to real-world events or incidents, along with any qualifiers associated with those mappings."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P1074> <http://www.wikidata.org/entity/Q1190554> . ?var1 <http://www.wikidata.org/prop/P1074> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_8847", "question": "English and German Wikipedia pages for the film with IMDb ID tt0132179", "sparql": "SELECT ?film ?wikipediaPage WHERE { ?film wdt:P345 \"tt0132179\" . ?wikipediaPage schema:about ?film ; schema:inLanguage ?lang . FILTER(STRSTARTS(STR(?wikipediaPage), \"https://en.wikipedia.org/\") || STRSTARTS(STR(?wikipediaPage), \"https://de.wikipedia.org/\")) . FILTER(?lang = \"en\" || ?lang = \"de\") . }", "paraphrases": ["What are the English and German Wikipedia articles about the film with IMDb ID tt0132179?", "Show me the Wikipedia pages in English and German for the movie identified by tt0132179 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0132179\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8848", "question": "Wikipedia pages in English and German about the film with IMDb ID tt1421051.", "sparql": "SELECT ?item ?wikipedia_page WHERE { VALUES ?imdb_id { \"tt1421051\" } ?item wdt:P345 ?imdb_id . ?wikipedia_page schema:about ?item . ?wikipedia_page schema:inLanguage ?lang . VALUES ?lang { \"en\" \"de\" } }", "paraphrases": ["What are the English and German Wikipedia pages for the movie with IMDb identifier tt1421051?", "Show me the English and German Wikipedia links for the film Somewhere, identified by its IMDb ID tt1421051."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1421051\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8849", "question": "Most common property used to classify items as song books", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?prop wd:Q1650727 . ?property wikibase:directClaim ?prop . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["What property is most frequently used to indicate that an item is a song book?", "Show me the property that is used the most to link entities to the concept of a song book, along with how many times it\u2019s used."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q1650727> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_8850", "question": "Wikipedia and Wikiquote pages in English or German about the movie with IMDb ID tt1673430.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?page ?imdbId WHERE {\n  ?item wdt:P345 ?imdbId .\n  ?page schema:about ?item .\n  ?page schema:inLanguage ?lang .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n  FILTER(?imdbId = \"tt1673430\")\n}", "paraphrases": ["What are the English and German Wikipedia and Wikiquote pages for the movie Superman/Batman: Apocalypse?", "Show me the language-specific Wikipedia and Wikiquote links for the film with IMDb ID tt1673430, limited to English and German."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1673430\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8851", "question": "What is the image associated with the SNAC ARK ID \"w6kv04xg\"?", "sparql": "SELECT ?image WHERE {\n  ?item wdt:P3430 \"w6kv04xg\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Show the Wikimedia Commons image for the person identified by the SNAC ARK ID w6kv04xg.", "Find the picture of Hugo Carvana using his SNAC identifier."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6kv04xg\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8852", "question": "What is the image of Henry Burchard Fine, identified by SNAC ARK ID w63b73j8?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?person wdt:P3430 \"w63b73j8\" .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n}", "paraphrases": ["Image of person with SNAC ARK ID w63b73j8.", "Show me the Wikimedia Commons image for Henry Burchard Fine, whose SNAC ID is w63b73j8."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w63b73j8\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8853", "question": "Does Wikidata contain an entity with GND ID 1020013-7?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P227 \"1020013-7\" .\n}", "paraphrases": ["Is there an item in Wikidata identified by the GND ID 1020013-7?", "Confirm whether the GND ID 1020013-7 is assigned to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"1020013-7\". }"}}
{"id": "test_8854", "question": "List all episodes of The Simpsons with their IMDb IDs and English titles.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?episode ?episodeLabel ?imdbId WHERE {\n  ?episode wdt:P31 wd:Q21191270 .\n  ?episode wdt:P179 wd:Q886 .\n  OPTIONAL {\n    ?episode wdt:P345 ?imdbId .\n  }\n  OPTIONAL {\n    ?episode rdfs:label ?episodeLabel .\n    FILTER(LANG(?episodeLabel) = \"en\")\n  }\n}\nORDER BY ASC(?episode)\nLIMIT 500", "paraphrases": ["What are the English titles and IMDb identifiers of all episodes of The Simpsons?", "Please provide a sorted list of all The Simpsons episodes, including their English names and IMDb codes."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 ?var4Label ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 ?var12 ?var13 ?var14 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q21191270> . ?var4 <http://www.wikidata.org/prop/direct/P179> <http://www.wikidata.org/entity/Q886> . OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P361> ?var3 . } ?var4 <http://www.wikidata.org/prop/direct/P179> ?var1 . OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P1191> ?var8 . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P345> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,en\". } } ORDER BY ASC( ?var2 )ASC( ?var1 )ASC( <http://www.w3.org/2001/XMLSchema#integer> ( ?var5 ) )ASC( ?var8 )"}}
{"id": "test_8855", "question": "Does KTH Royal Institute of Technology have the GND ID 1005951-9?", "sparql": "ASK WHERE { ?item wdt:P227 \"1005951-9\" . }", "paraphrases": ["Is there a Wikidata item with the GND identifier 1005951-9?", "Confirm whether the German National Library ID 1005951-9 is linked to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"1005951-9\". }"}}
{"id": "test_8856", "question": "Politicians and ministers born in the United States or Russia between 1920 and 2000", "sparql": "SELECT ?person ?dob ?personLabel WHERE { { ?person wdt:P106 wd:Q82955 . } UNION { ?person wdt:P106 wd:Q83307 . } { ?person wdt:P19 wd:Q30 . } UNION { ?person wdt:P19 ?birthPlace . ?birthPlace wdt:P131* wd:Q30 . } UNION { ?person wdt:P19 wd:Q159 . } UNION { ?person wdt:P19 ?birthPlace . ?birthPlace wdt:P131* wd:Q159 . } ?person wdt:P569 ?dob . FILTER ( ?dob >= \"1920-01-01\"^^xsd:date && ?dob < \"2000-01-01\"^^xsd:date ) ?person wdt:P31 wd:Q5 . ?person rdfs:label ?personLabel . FILTER (LANG(?personLabel) = \"en\") } LIMIT 10", "paraphrases": ["Who are some politicians or ministers born in the US or Russia between 1920 and 2000?", "List the names and birth dates of human politicians or government ministers born in the United States or Russia (including its administrative regions) from 1920 to 1999."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82955> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q83307> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q83307> . } { ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q30> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q30> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q159> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q159> . } ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . FILTER ( ( ( \"1920-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> <= ?var2 ) && ( ?var2 < \"2000-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . } LIMIT 10"}}
{"id": "test_8857", "question": "What are the English and German Wikipedia pages for the film with IMDb ID tt1657284?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipediaPage WHERE {\n  ?item wdt:P345 \"tt1657284\" .\n  ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n}", "paraphrases": ["Show me the Wikipedia articles in English and German about the movie Ice Quake.", "Which Wikipedia pages in English and German discuss the film identified by tt1657284 on IMDb?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1657284\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8858", "question": "Wikipedia pages in English or German about the movie with IMDb ID tt3981858.", "sparql": "SELECT ?item ?wikipedia_page WHERE { ?item wdt:P345 \"tt3981858\" . ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["What are the English or German Wikipedia pages about the film or TV show with IMDb ID tt3981858?", "Show me the Wikipedia articles in English or German that are about the item with IMDb ID tt3981858."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt3981858\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8859", "question": "Cities in California with population over 2 million", "sparql": "SELECT DISTINCT ?city ?cityLabel ?wikipediaTitle WHERE { ?city wdt:P31 wd:Q515 . ?city wdt:P131/wdt:P131* wd:Q99 . ?city wdt:P1082 ?population . FILTER(?population > 2000000) . OPTIONAL { ?wikipediaPage schema:about ?city ; schema:isPartOf <https://en.wikipedia.org/> ; schema:name ?wikipediaTitle . } ?city rdfs:label ?cityLabel . FILTER(LANG(?cityLabel) = \"en\") }", "paraphrases": ["Which cities in California have a population greater than 2 million?", "List the English Wikipedia titles of cities in California that have more than 2 million residents."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { { { { { ?var1 <http://www.wikidata.org/prop/direct/P131> + ?var3 . { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> \"California\"@en . } } UNION { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> \"California\"@en . } } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P159> / <http://www.wikidata.org/prop/direct/P131> *) ?var3 . { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> \"California\"@en . } } { ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var4 . FILTER ( ( ( ?var4 > \"2000000.0\"^^<http://www.w3.org/2001/XMLSchema#double> ) ) ) . } } ?var1 ( <http://www.wikidata.org/prop/P31> /( <http://www.wikidata.org/prop/statement/P31> / <http://www.wikidata.org/prop/direct/P279> *)) <http://www.wikidata.org/entity/Q515> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var5 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://en.wikipedia.org/> ; <http://schema.org/name> ?var2 . } }"}}
{"id": "test_8860", "question": "What is the RefSeq genome ID for the chromosome containing the gene with NCBI locus tag CT_729?", "sparql": "SELECT ?refseqId WHERE { ?gene wdt:P2393 \"CT_729\" ; p:P644 ?startStatement . ?startStatement pq:P1057 ?chromosome . ?chromosome wdt:P2249 ?refseqId . }", "paraphrases": ["Which RefSeq accession number corresponds to the chromosome where the CT_729 gene is located?", "Find the RefSeq ID of the chromosome that hosts the serine--tRNA ligase gene identified by the locus tag CT_729."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P2393> \"CT_729\"; <http://www.wikidata.org/prop/P644> ?var3 . ?var3 <http://www.wikidata.org/prop/qualifier/P1057> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P2249> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8861", "question": "Is there a Wikidata item with GND ID 4034128-8?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P227 \"4034128-8\" .\n}", "paraphrases": ["Does the German National Library ID 4034128-8 correspond to any entity in Wikidata?", "Check if the GND ID 4034128-8 is assigned to any item in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"4034128-8\". }"}}
{"id": "test_8862", "question": "Is there a Wikidata item for the German National Library ID 10203339-0?", "sparql": "ASK WHERE { ?item wdt:P227 \"10203339-0\" . }", "paraphrases": ["Does the entity with GND ID 10203339-0 exist in Wikidata?", "Confirm if the GND ID 10203339-0 is assigned to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"10203339-0\". }"}}
{"id": "test_8863", "question": "Places in Spain and southern France with coordinates between 42\u00b0N\u201343\u00b0N and 4\u00b0W\u20131\u00b0W, including their images and Wikimedia Commons categories.", "sparql": "SELECT ?item ?itemLabel ?coord ?image ?commonsCategory WHERE {  ?item wdt:P625 ?coord .  FILTER(geof:latitude(?coord) >= 42 && geof:latitude(?coord) <= 43)  FILTER(geof:longitude(?coord) >= -4 && geof:longitude(?coord) <= -1)  OPTIONAL { ?item wdt:P18 ?image . }  OPTIONAL { ?item wdt:P373 ?commonsCategory . }  ?item rdfs:label ?itemLabel .} LIMIT 3000", "paraphrases": ["What are the locations in the region bounded by latitudes 42 to 43 and longitudes -4 to -1, and what images and Commons categories are associated with them?", "List all items located between 42\u00b0N and 43\u00b0N latitude and between 4\u00b0W and 1\u00b0W longitude, along with their labels, images, and Wikimedia Commons categories."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(-4 42)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(-1 43)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_8864", "question": "What are the Wikidata items that have the Twitter handles \"TV5MONDE\", \"Pyb75\", or \"fnielsen\"?", "sparql": "SELECT ?item ?twitterHandle WHERE { ?item wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { \"TV5MONDE\" \"Pyb75\" \"fnielsen\" } }", "paraphrases": ["Show me the entities on Wikidata linked to the Twitter accounts TV5MONDE, Pyb75, and fnielsen.", "Which Wikidata items are associated with these Twitter usernames: TV5MONDE, Pyb75, and fnielsen?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"KT_NRE\" ) ( \"PoulpyWP\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"roux_pette\" ) ( \"string5\" ) ( \"ornikkar\" ) ( \"string6\" ) ( \"celia_cbo\" ) ( \"PBALille\" ) ( \"string7\" ) ( \"GuyHomard\" ) ( \"BASonerion\" ) ( \"Salemioche\" ) ( \"string8\" ) ( \"string9\" ) ( \"TV5MONDE\" ) ( \"mounir\" ) ( \"GoogleFR\" ) ( \"trojette\" ) ( \"string10\" ) ( \"CDonnees\" ) ( \"bevellin\" ) ( \"string11\" ) ( \"string12\" ) ( \"piotrek442\" ) ( \"string13\" ) ( \"fnielsen\" ) ( \"string14\" ) ( \"BBeyern\" ) ( \"41Strange\" ) ( \"string15\" ) ( \"string16\" ) ( \"string17\" ) ( \"string18\" ) ( \"malicey09\" ) ( \"pgroussard\" ) ( \"cmiedouge\" ) ( \"string19\" ) ( \"string20\" ) ( \"aBerteau_\" ) ( \"Pymouss\" ) ( \"string21\" ) ( \"string22\" ) ( \"string23\" ) ( \"NFr21\" ) ( \"GroupePSA\" ) ( \"LabFabfr\" ) ( \"inOut2018\" ) ( \"Patafisik\" ) ( \"string24\" ) ( \"jfreixas\" ) ( \"string25\" ) ( \"string26\" ) ( \"string27\" ) ( \"string28\" ) ( \"MuseomixBE\" ) ( \"museomixCH\" ) ( \"string29\" ) ( \"museomixIT\" ) ( \"museomixOP\" ) ( \"Pyb75\" ) ( \"string30\" ) ( \"string31\" ) ( \"napo\" ) ( \"AdobeXD\" ) ( \"string32\" ) ( \"string33\" ) ( \"cathicks\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8865", "question": "Libraries in Portugal without Portuguese Wikipedia pages", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?library ?libraryLabel WHERE {\n  ?library wdt:P31 wd:Q7075 .\n  ?library wdt:P17 wd:Q45 .\n  OPTIONAL {\n    ?wikipedia schema:about ?library ; schema:inLanguage \"pt\" .\n  }\n  FILTER ( ! BOUND( ?wikipedia ) ) .\n  ?library rdfs:label ?libraryLabel .\n  FILTER ( LANG( ?libraryLabel ) = \"en\" )\n}\nLIMIT 1000", "paraphrases": ["Which libraries in Portugal do not have a Wikipedia page in Portuguese?", "Show me the English names of libraries located in Portugal that are not linked to any Portuguese-language Wikipedia article."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7075> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q45> . OPTIONAL { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/inLanguage> \"pt\". } FILTER ( ( !( BOUND ( ?var4 ) ) ) ) . } LIMIT 1000"}}
{"id": "test_8866", "question": "What pairs of topics (other than fishmonger) appear together as main subjects in works about fishmongers?", "sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?work wdt:P921 wd:Q550594 . ?work wdt:P921 ?var1 , ?var2 . FILTER ( ?var1 != wd:Q550594 && ?var2 != wd:Q550594 && ?var1 != ?var2 ) . ?var1 rdfs:label ?var1Label . ?var2 rdfs:label ?var2Label . FILTER(LANG(?var1Label) = \"en\" && LANG(?var2Label) = \"en\") }", "paraphrases": ["Which two topics, besides fishmonger, are commonly featured together in works that focus on fishmongers?", "Show me all distinct pairs of subjects (excluding fishmonger) that co-occur as main topics in works about fishmongers."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q550594> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P361> +) <http://www.wikidata.org/entity/Q550594> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P1269> +) <http://www.wikidata.org/entity/Q550594> . } ?var3 <http://www.wikidata.org/prop/direct/P921> ?var1 , ?var2 . FILTER ( ( ( <http://www.wikidata.org/entity/Q550594> != ?var1 ) && ( <http://www.wikidata.org/entity/Q550594> != ?var2 ) && ( ?var1 != ?var2 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_8867", "question": "Polish settlements ending in \"owo\" with their coordinates", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?settlement ?label ?coordinates WHERE {\n  ?settlement wdt:P31 / wdt:P279 * wd:Q486972 ; wdt:P17 wd:Q36 ; rdfs:label ?label ; wdt:P625 ?coordinates .\n  FILTER(LANG(?label) = \"pl\")\n  FILTER(REGEX(?label , \"owo$\"))\n}", "paraphrases": ["What are the Polish settlements whose names end in \"owo\", and where are they located?", "List all Polish towns and villages with names ending in \"owo\", along with their geographic coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q486972> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q36> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label ; <http://www.wikidata.org/prop/direct/P625> ?var2 . FILTER ( ( ( LANG ( ?var1Label ) = \"pl\" ) ) ) . FILTER ( ( REGEX ( ?var1Label , \"(aws)$\" ) ) ) . }"}}
{"id": "test_8868", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt5068712?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipediaPage ?imdbId WHERE {\n  BIND( \"tt5068712\" AS ?imdbId ) .\n  ?item wdt:P345 ?imdbId .\n  ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" )\n}", "paraphrases": ["Which Wikipedia pages in English or German are about the film identified by IMDb ID tt5068712?", "Show me the Wikipedia links in English or German for the movie with IMDb ID tt5068712, along with its Wikidata item and IMDb identifier."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5068712\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8869", "question": "Wikipedia pages in English or German for the movie with IMDb ID tt0400647", "sparql": "SELECT ?item ?wikipedia_page ?imdb_id WHERE { ?item wdt:P345 ?imdb_id . ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") FILTER(?imdb_id = \"tt0400647\") }", "paraphrases": ["What are the English and German Wikipedia articles about the movie identified by IMDb ID tt0400647?", "Show me the English and German Wikipedia links for the film with IMDb ID tt0400647, along with its IMDb identifier."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0400647\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8870", "question": "English or German Wikipedia page for the movie with IMDb ID tt0473107", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipedia_page WHERE {\n  ?item wdt:P345 \"tt0473107\" .\n  ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n}", "paraphrases": ["What is the English or German Wikipedia page for the movie \"Wal-Mart: The High Cost of Low Price\"?", "Show me the Wikipedia article in English or German about the film with IMDb identifier tt0473107."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0473107\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8871", "question": "English or German Wikipedia page for the movie with IMDb ID tt2279922", "sparql": "SELECT ?movie ?wikipedia_page ?imdb_id WHERE { BIND(\"tt2279922\" AS ?imdb_id) ?movie wdt:P345 ?imdb_id . ?wikipedia_page schema:about ?movie . { ?wikipedia_page schema:inLanguage \"en\" . } UNION { ?wikipedia_page schema:inLanguage \"de\" . } }", "paraphrases": ["What is the English or German Wikipedia page for the movie identified by IMDb ID tt2279922?", "Show me the Wikipedia page in English or German for the movie with IMDb ID tt2279922, along with the movie entity and its IMDb ID."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2279922\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8872", "question": "French-speaking people with the surname Giros", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person WHERE {\n  ?person rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"fr\" ) .\n  FILTER ( STRENDS( ?label , \" Giros\" ) ) .\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["Who are the French people whose last name is Giros?", "List all humans in Wikidata who have a French label ending with \" Giros\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"giros\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8873", "question": "List of professions in Wikidata", "sparql": "SELECT ?professionLabel WHERE { ?profession wdt:P31 wd:Q28640 . ?profession rdfs:label ?professionLabel . FILTER(LANG(?professionLabel) = \"en\") }", "paraphrases": ["What are some examples of professions in Wikidata?", "Show me the English labels of all items classified as professions in Wikidata."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q28640> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8874", "question": "What are the English and German Wikipedia pages about the movie Crossfire (IMDb tt0039286)?", "sparql": "SELECT ?item ?itemLabel ?wikiPage WHERE { ?item wdt:P345 \"tt0039286\" . ?wikiPage schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } LIMIT 10", "paraphrases": ["Which Wikipedia articles in English or German discuss the film with IMDb ID tt0039286?", "Show me the English and German Wikipedia links for the movie Crossfire, identified by IMDb ID tt0039286."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0039286\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8875", "question": "Multilingual labels and descriptions of Leipzig", "sparql": "SELECT ?property ?value WHERE { wd:Q2079 ?property ?value . FILTER ( ?property IN (rdfs:label, schema:name, schema:description) ) } LIMIT 100", "paraphrases": ["What are the different language names and descriptions for the city of Leipzig on Wikidata?", "Show me all the names and descriptions of Leipzig in different languages from Wikidata."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var1 ?var2 ?var3 . FILTER ( ( ( ?var1 = <http://www.wikidata.org/entity/Q2079> ) ) ) . } LIMIT 100"}}
{"id": "test_8876", "question": "What is the English Wikipedia page for the movie with IMDb ID tt0051783?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?movieLabel ?wikipediaPage WHERE {\n  ?movie wdt:P345 \"tt0051783\" .\n  ?movie rdfs:label ?movieLabel .\n  FILTER ( LANG( ?movieLabel ) = \"en\" ) .\n  ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" )\n}", "paraphrases": ["Which English or German Wikipedia pages are about the movie identified by IMDb ID tt0051783?", "Show me the title of the movie with IMDb ID tt0051783 and its English or German Wikipedia page."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0051783\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8877", "question": "What transport hub serves Long Beach?", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?transportHub WHERE {\n  ?transportHub p:P931 ?statement .\n  ?statement ps:P931 wd:Q16739 .\n}", "paraphrases": ["Which airport or station provides service to the city of Long Beach, California?", "Can you tell me the transport hub that serves Long Beach?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P931> <http://www.wikidata.org/entity/Q16739> . ?var1 <http://www.wikidata.org/prop/P931> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_8878", "question": "What cities are twinned with Chicago, and do any of these relationships have associated dates or other details?", "sparql": "SELECT ?twin_city ?twin_city_label ?statement (SAMPLE(?qualifier_property_label) AS ?qualifier_label) WHERE { ?twin_city p:P190 ?statement . ?statement ps:P190 wd:Q1297 . OPTIONAL { ?statement ?qualifier_property ?value . ?qualifier_property wikibase:qualifier true . ?qualifier_property rdfs:label ?qualifier_property_label . FILTER(LANG(?qualifier_property_label) = \"en\") } ?twin_city rdfs:label ?twin_city_label . FILTER(LANG(?twin_city_label) = \"en\") } GROUP BY ?twin_city ?twin_city_label ?statement", "paraphrases": ["List all sister cities of Chicago along with any qualifiers (like start/end time) recorded for each twin relationship.", "Show me the cities that have a twin relationship with Chicago, and if available, what additional information (such as time periods) is attached to each relationship."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P190> <http://www.wikidata.org/entity/Q1297> . ?var1 <http://www.wikidata.org/prop/P190> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_8879", "question": "How many Australian rules football players have a known first name in Wikidata?", "sparql": "SELECT (COUNT(?player) AS ?count) WHERE { ?player wdt:P106 wd:Q13414980 . ?player wdt:P735 ?givenName . }", "paraphrases": ["What is the count of Australian rules football players who have a given name listed in Wikidata?", "How many AFL players have their first names recorded in Wikidata?"], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q13414980> . ?var1 <http://www.wikidata.org/prop/direct/P735> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_8880", "question": "Image of the person with SNAC ARK ID w6jq5jt9", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?entity wdt:P3430 \"w6jq5jt9\" .\n  OPTIONAL {\n    ?entity wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the Wikimedia Commons image of the individual with SNAC ARK ID w6jq5jt9?", "Show me the photo of the person identified by the SNAC ARK ID w6jq5jt9."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6jq5jt9\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8881", "question": "Subclasses of sport with their labels", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?subclass ( SAMPLE( ?subclassLabel ) AS ?label ) WHERE {\n  ?subclass wdt:P279 wd:Q349 .\n  ?subclass rdfs:label ?subclassLabel .\n}\nGROUP BY ?subclass\nORDER BY ?subclass", "paraphrases": ["What are all the direct subclasses of sport and what are their labels?", "List all the types of sports and their names in any language."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P279> + <http://www.wikidata.org/entity/Q349> . ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q349> . }"}}
{"id": "test_8882", "question": "What are the streets in France named after women, and in which cities or administrative areas are they located?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?streetLabel ?adminAreaLabel ?namedAfterLabel WHERE {\n  ?street wdt:P31 wd:Q79007 .\n  ?street wdt:P17 wd:Q142 .\n  ?street wdt:P131 ?adminArea .\n  ?street wdt:P138 ?namedAfter .\n  ?namedAfter wdt:P21 wd:Q6581072 .\n  ?street rdfs:label ?streetLabel .\n  ?adminArea rdfs:label ?adminAreaLabel .\n  ?namedAfter rdfs:label ?namedAfterLabel .\n  FILTER ( LANG( ?streetLabel ) = \"en\" ) FILTER ( LANG( ?adminAreaLabel ) = \"en\" ) FILTER ( LANG( ?namedAfterLabel ) = \"en\" )\n}\nORDER BY ASC ( ?adminAreaLabel )", "paraphrases": ["Streets in France named after female historical figures, sorted by location.", "List all streets in France that are named after women, along with the administrative area they\u2019re in and the name of the woman they honor."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label ?var4Label ?var5Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q79007> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q142> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P138> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8883", "question": "What properties link entities to the Office for Budget Responsibility?", "sparql": "SELECT DISTINCT ?property WHERE { ?item ?property wd:Q7079153 . FILTER(STRSTARTS(STR(?property), \"http://www.wikidata.org/prop/direct/\")) }", "paraphrases": ["Which direct properties in Wikidata have the Office for Budget Responsibility as their object?", "Show me all the direct relationships that connect other entities to the Office for Budget Responsibility."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 <http://www.wikidata.org/entity/Q6422240> ? <http://www.wikidata.org/entity/Q7079153> . ?var2 ?var1 ?var3 . <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var4 <http://wikiba.se/ontology#directClaim> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8884", "question": "Descendants of Pierre Coysevox", "sparql": "SELECT DISTINCT ?descendant ?descendantLabel WHERE { wd:Q28494124 wdt:P40* ?descendant . ?descendant rdfs:label ?descendantLabel . } ORDER BY ASC(?descendantLabel)", "paraphrases": ["Who are all the descendants of the French sculptor Pierre Coysevox?", "List all descendants of Pierre Coysevox, sorted alphabetically by name."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q28494124> ( <http://www.wikidata.org/prop/direct/P40> */ <http://www.wikidata.org/prop/direct/P22> */ <http://www.wikidata.org/prop/direct/P25> *) ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_8885", "question": "Sports disciplines that are racket sports", "sparql": "SELECT ?sport WHERE { ?sport wdt:P31 wd:Q2312410 . ?sport wdt:P279* wd:Q2426135 . }", "paraphrases": ["What are the sports disciplines that belong to racket sports?", "List all sports disciplines that are types of racket sports."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 ?var2 [ <http://www.wikidata.org/prop/qualifier/P641> [ <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q2312410> ; <http://www.wikidata.org/prop/direct/P641> <http://www.wikidata.org/entity/Q2426135> ] ] . }"}}
{"id": "test_8886", "question": "Who are the female artists from the Basque Country?", "sparql": "SELECT DISTINCT ?artist ?artistLabel WHERE { ?artist wdt:P31 wd:Q5 . ?artist wdt:P21 wd:Q6581072 . ?artist (wdt:P106/wdt:P279*) wd:Q483501 . ?artist wdt:P131* ?adminUnit . wd:Q47588 wdt:P527 ?adminUnit . ?artist rdfs:label ?artistLabel . FILTER(LANG(?artistLabel) = \"en\") } LIMIT 50", "paraphrases": ["List female human artists whose location is part of the Basque Country.", "Find women who are artists and live or work in the Basque region."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q483501> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,eu\". } ?var2 <http://www.wikidata.org/prop/direct/P131> * ?var3 . <http://www.wikidata.org/entity/Q47588> <http://www.wikidata.org/prop/direct/P527> ?var3 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q483501> . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var5 . } } LIMIT 50"}}
{"id": "test_8887", "question": "Is the museum \"Maison d'\u00e9crivain\" (Q20971734) a type of software?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  wd:Q20971734 ( wdt:P31 / wdt:P279 * ) wd:Q7397 .\n}", "paraphrases": ["Does the institution Q20971734 belong to the category of software through its classification hierarchy?", "Is a museum considered a kind of software in Wikidata\u2019s ontology?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q20971734> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_8888", "question": "What source and identifier does the reference ref:80633b5737ed8d1d51e5edf1d034defcb58709fa point to?", "sparql": "SELECT ?propertyLabel ?valueLabel WHERE { ref:80633b5737ed8d1d51e5edf1d034defcb58709fa ?property ?value . BIND(IRI(REPLACE(STR(?property), \"http://www.wikidata.org/prop/reference/\", \"http://www.wikidata.org/entity/\")) AS ?propertyEntity) . ?propertyEntity rdfs:label ?propertyLabel . ?value rdfs:label ?valueLabel . FILTER(LANG(?propertyLabel) = \"en\") FILTER(LANG(?valueLabel) = \"en\") }", "paraphrases": ["What is the source and HomoloGene ID associated with this Wikidata reference?", "Can you tell me what the reference ref:80633b5737ed8d1d51e5edf1d034defcb58709fa cites and what value it contains?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/reference/80633b5737ed8d1d51e5edf1d034defcb58709fa> ?var1 ?var2 . }"}}
{"id": "test_8889", "question": "Which gene is known to encode the protein reelin, according to the UniProt database entry P78509?", "sparql": "SELECT ?gene ?geneLabel ?protein ?proteinLabel WHERE { ?gene p:P688 ?statement . ?statement ps:P688 ?protein ; prov:wasDerivedFrom ref:40d09f4286b4112f734454bcf28ef3e920abda95 . ?gene rdfs:label ?geneLabel . ?protein rdfs:label ?proteinLabel . FILTER(LANG(?geneLabel) = \"en\") FILTER(LANG(?proteinLabel) = \"en\") }", "paraphrases": ["What protein does the RELN gene produce, as cited by the UniProt reference P78509?", "According to the reference from UniProt (ID: P78509), which gene encodes reelin?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/reference/40d09f4286b4112f734454bcf28ef3e920abda95> . }"}}
{"id": "test_8890", "question": "Who is the French person named Jean-Luc Hery?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?item WHERE {\n  ?item rdfs:label \"Jean-Luc Hery\" @fr .\n  ?item wdt:P31 wd:Q5 .\n}", "paraphrases": ["What human entity has the French label \"Jean-Luc Hery\"?", "Can you find the Wikidata item for the French individual Jean-Luc Hery?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"jean hery\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8891", "question": "How many Rijksmonumenten are listed in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ( COUNT( ?monument ) AS ?count ) WHERE {\n  ?monument wdt:P359 ?rijksmonumentId .\n}", "paraphrases": ["What is the total number of Dutch national monuments with a Rijksmonument ID in Wikidata?", "Count the number of items in Wikidata that have a Rijksmonument ID assigned."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P359> ?var3 . }"}}
{"id": "test_8892", "question": "Does the IMDb ID \"tt0144805\" exist in Wikidata?", "sparql": "ASK WHERE { ?item wdt:P345 \"tt0144805\" . }", "paraphrases": ["Is there a movie or TV film in Wikidata with the IMDb identifier tt0144805?", "Can you confirm that tt0144805 is a valid IMDb ID for an entry in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0144805\". }"}}
{"id": "test_8893", "question": "Which Wikidata items have Twitter usernames BBCr4today, RTSinfo, mySociety, discogs, lastfm, iTunes, Wikipedia, or AdobeXD?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitter WHERE {\n  ?item wdt:P2002 ?twitter .\n  VALUES ?twitter {\n    \"BBCr4today\" \"RTSinfo\" \"mySociety\" \"discogs\" \"lastfm\" \"iTunes\" \"Wikipedia\" \"AdobeXD\"\n  }\n}", "paraphrases": ["What are the Wikidata entities associated with the Twitter accounts BBCr4today, RTSinfo, mySociety, discogs, lastfm, iTunes, Wikipedia, and AdobeXD?", "List the Wikidata items that are linked to the Twitter handles BBCr4today, RTSinfo, mySociety, discogs, lastfm, iTunes, Wikipedia, and AdobeXD."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"BBCr4today\" ) ( \"RdmProjet\" ) ( \"fagerving\" ) ( \"mirbole01\" ) ( \"MaelLeHir\" ) ( \"string2\" ) ( \"NFr21\" ) ( \"string3\" ) ( \"string4\" ) ( \"objis\" ) ( \"AGYP_co\" ) ( \"string5\" ) ( \"string6\" ) ( \"maeusehaut\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"Salucines\" ) ( \"PBALille\" ) ( \"string10\" ) ( \"string11\" ) ( \"nightrose\" ) ( \"symac\" ) ( \"string12\" ) ( \"MonniauxD\" ) ( \"string13\" ) ( \"AdobeXD\" ) ( \"string14\" ) ( \"string15\" ) ( \"string16\" ) ( \"string17\" ) ( \"Wikipedia\" ) ( \"_jwngr\" ) ( \"mySociety\" ) ( \"iTunes\" ) ( \"lastfm\" ) ( \"discogs\" ) ( \"IMDb\" ) ( \"string18\" ) ( \"string19\" ) ( \"Auregann\" ) ( \"string20\" ) ( \"string21\" ) ( \"string22\" ) ( \"RTSinfo\" ) ( \"string23\" ) ( \"sebasqien\" ) ( \"string24\" ) ( \"bevellin\" ) ( \"joelgombin\" ) ( \"mounir\" ) ( \"CerberusXt\" ) ( \"string25\" ) ( \"ornikkar\" ) ( \"AllanBARTE\" ) ( \"VLayes\" ) ( \"framaka\" ) ( \"dicare_org\" ) ( \"string26\" ) ( \"kallmane\" ) ( \"string27\" ) ( \"string28\" ) ( \"string29\" ) ( \"criparis\" ) ( \"MimiUzi\" ) ( \"string30\" ) ( \"string31\" ) ( \"Patafisik\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8894", "question": "Who is the Italian senator with ID 9177, and what is their description?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P2549 \"9177\" .\n  OPTIONAL {\n    ?item rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["What is the name and English description of the person who served in the Italian Senate with ID 9177?", "Please provide the English label and description of the Italian senator identified by the ID 9177."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2549> \"9177\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8895", "question": "List all English-labeled entities in Wikidata with \"Firtree\" in their name.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?label WHERE {\n  VALUES ?item {\n    wd:Q126869830 wd:Q26654271 wd:Q26591802 wd:Q26533467 wd:Q26551251 wd:Q26633451 wd:Q26599489 wd:Q26415195 wd:Q26521247 wd:Q26284084\n  }\n  ?item rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}", "paraphrases": ["What are the English labels of places in Wikidata that include the word \"Firtree\"?", "Show me the English names of buildings, cottages, and farms in Wikidata that start with \"Firtree\"."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ?var2 \"Firtree\"@en . } LIMIT 100"}}
{"id": "test_8896", "question": "List of UNESCO World Heritage Sites", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?site ?siteLabel WHERE {\n  ?site wdt:P1435 wd:Q9259 .\n  ?site rdfs:label ?siteLabel .\n  FILTER ( LANG( ?siteLabel ) = \"en\" )\n}\nLIMIT 500", "paraphrases": ["What places are designated as UNESCO World Heritage Sites?", "Show me the names of all sites listed as World Heritage Sites by UNESCO."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1435> <http://www.wikidata.org/entity/Q9259> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } LIMIT 500"}}
{"id": "test_8897", "question": "Fashion designers, costume designers, and grand couturiers with their birth years, gender, and images.", "sparql": "SELECT ?personLabel ?birthYear ?genderLabel ?image WHERE {\n  {\n    ?person wdt:P106 wd:Q3501317 .  # fashion designer\n  } UNION {\n    ?person wdt:P106 wd:Q4845479 .  # grand couturier\n  } UNION {\n    ?person wdt:P106 wd:Q1323191 .  # costume designer\n  }\n\n  ?person wdt:P21 ?gender .\n  OPTIONAL { ?person wdt:P569 ?dob . }\n  BIND(YEAR(?dob) AS ?birthYear)\n  OPTIONAL { ?person wdt:P18 ?image . }\n\n  # Get labels in English\n  ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\")\n  ?gender rdfs:label ?genderLabel . FILTER(LANG(?genderLabel) = \"en\")\n}\nLIMIT 10", "paraphrases": ["Who are some fashion designers, costume designers, or grand couturiers, and what are their birth years, gender identities, and images?", "List English names, birth years, gender identities, and images of people who work as fashion designers, costume designers, or grand couturiers."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3 ?var4Label ?var5Label ?var6Label ?var7 ?var8 ?var9 WHERE { { { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q3501317> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q4845479> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1323191> . } } { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var10 . } BIND ( YEAR ( ?var10 ) AS ?var3 ). OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P108> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P166> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P463> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10"}}
{"id": "test_8898", "question": "What are the children and grandchildren of John F. Kennedy?", "sparql": "SELECT ?descendant ?descendantLabel ?child_of_descendant ?child_of_descendantLabel WHERE { wd:Q9696 wdt:P40 ?descendant . ?descendant rdfs:label ?descendantLabel . FILTER(LANG(?descendantLabel) = \"en\") OPTIONAL { ?descendant wdt:P40 ?child_of_descendant . ?child_of_descendant rdfs:label ?child_of_descendantLabel . FILTER(LANG(?child_of_descendantLabel) = \"en\") } }", "paraphrases": ["Can you list John F. Kennedy\u2019s descendants up to two generations, including their names?", "Who are the direct children of President John F. Kennedy, and who are their children?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q9696> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Reverse\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P40> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P40> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8899", "question": "List villages and their official websites and geographic coordinates.", "sparql": "SELECT ?label ?website ?coordinates WHERE { ?village wdt:P31/wdt:P279* wd:Q532 . ?village wdt:P856 ?website . ?village wdt:P625 ?coordinates . ?village rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["What are the official websites and coordinates of all villages and their subclasses?", "Show me the English names, official websites, and GPS coordinates of all places classified as villages or subtypes of villages."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> ?) <http://www.wikidata.org/entity/Q532> . ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en,fr\". } }"}}
{"id": "test_8900", "question": "Official websites and coordinates of places that are subclasses of locality", "sparql": "SELECT ?itemLabel ?website ?coord WHERE {\n  ?item wdt:P31 ?subclass .\n  ?subclass wdt:P279 wd:Q3257686 .\n  ?item wdt:P856 ?website .\n  ?item wdt:P625 ?coord .\n  OPTIONAL { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = 'en') }\n}", "paraphrases": ["What are the official websites and geographic coordinates of settlements that are types of localities?", "List the official websites and coordinates for all populated places that are classified as subclasses of locality."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> ?) <http://www.wikidata.org/entity/Q3257686> . ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en,fr\". } }"}}
{"id": "test_8901", "question": "World Heritage Sites in Paris and their countries", "sparql": "SELECT DISTINCT ?site ?siteLabel ?countryLabel WHERE { ?site wdt:P1435 wd:Q9259 . ?site wdt:P17 ?country . ?site wdt:P131 wd:Q90 . ?site rdfs:label ?siteLabel . ?country rdfs:label ?countryLabel . FILTER(LANG(?siteLabel) = \"en\") . FILTER(LANG(?countryLabel) = \"en\") }", "paraphrases": ["Which World Heritage Sites are located in Paris, and in which country are they?", "List all UNESCO World Heritage Sites in Paris along with their countries."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1435> <http://www.wikidata.org/entity/Q9259> . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q515> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_8902", "question": "Buildings, artworks, and structures in Naples or within 2 km of Naples Cathedral, with their coordinates, GND/VIAF IDs, Italian Wikipedia links, and images.", "sparql": "SELECT DISTINCT ?item ?itemLabel ?coordinates ?viaf ?gnd ?wikipedia ?image WHERE { { SELECT ?item (GROUP_CONCAT(DISTINCT ?wikiPage; SEPARATOR=\"; \") AS ?wikipedia) (GROUP_CONCAT(DISTINCT ?img; SEPARATOR=\"; \") AS ?image) WHERE { ?item wdt:P131 wd:Q2634 . { ?item (wdt:P31/wdt:P279*) wd:Q41176 . } UNION { ?item (wdt:P31/wdt:P279*) wd:Q838948 . } UNION { ?item (wdt:P31/wdt:P279*) wd:Q811979 . } UNION { wd:Q256486 wdt:P625 ?cathedralCoords . ?item wdt:P625 ?itemCoords . FILTER(geof:distance(?itemCoords, ?cathedralCoords) <= 2) } OPTIONAL { ?item wdt:P18 ?img . } OPTIONAL { ?wikiPage schema:about ?item ; schema:isPartOf <https://it.wikipedia.org/> . } } GROUP BY ?item } OPTIONAL { ?item wdt:P625 ?coordinates . } OPTIONAL { ?item wdt:P214 ?viaf . } OPTIONAL { ?item wdt:P227 ?gnd . } ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } ORDER BY ASC(?itemLabel)", "paraphrases": ["What are the buildings, works of art, and architectural structures located in Naples or within 2 kilometers of Naples Cathedral, and what are their coordinates, GND and VIAF identifiers, Italian Wikipedia pages, and images?", "List all buildings, artworks, and architectural structures in Naples or near Naples Cathedral (within 2 km), including their English names, geographic coordinates, GND and VIAF IDs, links to Italian Wikipedia articles, and associated images."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 WHERE { { SELECT ?var1 ( COUNT ( ?var1 ) AS ?var9 )( GROUP_CONCAT ( ?var8 ; SEPARATOR = \"; \" ) AS ?var8 )( GROUP_CONCAT ( ?var7 ; SEPARATOR = \"; \" ) AS ?var7 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q2634> . { { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q41176> . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q838948> . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q811979> . } UNION { <http://www.wikidata.org/entity/Q256486> <http://www.wikidata.org/prop/direct/P625> ?var10 . SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var11 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> ?var10 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"2\". } } } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var8 . } OPTIONAL { ?var7 <http://schema.org/about> ?var1 . ?var7 <http://schema.org/isPartOf> <https://it.wikipedia.org/> . } } GROUP BY ?var1 } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P227> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P214> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,en,de\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_8903", "question": "English and German web pages about the movie with IMDb ID tt0047522", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?page WHERE {\n  ?movie wdt:P345 \"tt0047522\" .\n  ?page schema:about ?movie .\n  {\n    ?page schema:inLanguage \"en\" .\n  } UNION {\n    ?page schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["What Wikipedia and Wikiquote pages in English or German are about the 1954 film A Star Is Born?", "Show me all language-specific pages in English or German that are about the movie A Star Is Born (1954), identified by IMDb ID tt0047522."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0047522\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8904", "question": "What are the English and German Wikipedia articles about the film with IMDb ID tt0780486?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?wikipediaArticle WHERE {\n  wd:Q885889 wdt:P345 \"tt0780486\" .\n  ?wikipediaArticle schema:about wd:Q885889 .\n  {\n    ?wikipediaArticle schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipediaArticle schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Show me the Wikipedia pages in English and German for the movie identified by tt0780486 on IMDb.", "Find the Wikipedia articles in English and German that discuss the film Blue State (IMDb: tt0780486)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0780486\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8905", "question": "What are the Twitter usernames of the French publishing entities \u00c9ditions Gallimard, ActuaLitt\u00e9, and Le Centre National du Livre?", "sparql": "SELECT ?entity ?twitterUsername WHERE { ?entity wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"Gallimard\" \"ActuaLitte\" \"LeCNL\" } } ORDER BY ?twitterUsername", "paraphrases": ["Which organizations on Wikidata have the Twitter handles \"Gallimard\", \"ActuaLitte\", or \"LeCNL\"?", "Show me the entities linked to the Twitter accounts Gallimard, ActuaLitte, and LeCNL."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"BNFC13\" ) ( \"titiou\" ) ( \"Slatefr\" ) ( \"libe\" ) ( \"string2\" ) ( \"ActuaLitte\" ) ( \"SNEedition\" ) ( \"LeCNL\" ) ( \"string3\" ) ( \"string4\" ) ( \"abf_info\" ) ( \"string5\" ) ( \"Gallimard\" ) ( \"string6\" ) ( \"string7\" ) ( \"vioelyn\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8906", "question": "Image of Sonia Sanchez with SNAC ARK ID w6cz38zw", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6cz38zw\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image of the person whose SNAC ARK ID is w6cz38zw?", "Show me the Wikimedia Commons image linked to the SNAC ARK ID w6cz38zw."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6cz38zw\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8907", "question": "How many academic papers citing \"A Rule-Based Model for Bankruptcy Prediction Based on an Improved Genetic Ant Colony Algorithm\" were published each year, and how many of them have listed authors?", "sparql": "SELECT ?year (COUNT(DISTINCT ?citingWork) AS ?count) ?hasAuthor WHERE { wd:Q21284773 wdt:P2860 ?citingWork . ?citingWork wdt:P577 ?pubDate . BIND( STR(YEAR(?pubDate)) AS ?year ) BIND( IF( EXISTS { ?citingWork wdt:P50 [] }, \"has author\", \"no author\" ) AS ?hasAuthor ) } GROUP BY ?year ?hasAuthor ORDER BY DESC(?year)", "paraphrases": ["Break down the citing works of the article on bankruptcy prediction by publication year and whether they have authors, showing the count for each group.", "For works that cite the genetic ant colony algorithm paper, what is the distribution of publication years and authorship status?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q21284773> AS ?var5 ). ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var5 . OPTIONAL { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> ?var6 . } , \"string1\", \"string2\" ) AS ?var4 ). ?var5 <http://www.wikidata.org/prop/direct/P50> ?var6 . } BIND ( STR ( YEAR ( ?var7 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P577> ?var7 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_8908", "question": "Is the Hebrew acronym \"\u05e6\u05d5\"\u05dc\" a type of software?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q12410847 ( wdt:P31 / wdt:P279 * ) wd:Q7397 .\n}", "paraphrases": ["Does the entity Q12410847 belong to a category that is a subclass of software?", "Is \"\u05e6\u05d5\"\u05dc\" classified as software or any of its subcategories?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q12410847> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_8909", "question": "Painting by Leonardo da Vinci created in Florence", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?painting ?title WHERE {\n  ?painting wdt:P31 wd:Q3305213 .\n  ?painting wdt:P1071 wd:Q2044 .\n  wd:Q762 wdt:P800 ?painting .\n  ?painting wdt:P1476 ?title .\n  FILTER(LANG(?title) = \"en\")\n}", "paraphrases": ["What is the title of the painting created by Leonardo da Vinci in Florence?", "Show me the English title of the painting that Leonardo da Vinci created in Florence."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . ?var1 <http://www.wikidata.org/prop/direct/P1071> <http://www.wikidata.org/entity/Q2044> . <http://www.wikidata.org/entity/Q762> <http://www.wikidata.org/prop/direct/P800> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANgUAgE],en\". } }"}}
{"id": "test_8910", "question": "Image of the person with SNAC ARK ID w6j23hg3", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6j23hg3\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w6j23hg3?", "Show me the Wikimedia Commons image for the individual identified by the SNAC ARK ID w6j23hg3."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6j23hg3\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8911", "question": "Railway tunnels and their lengths in meters", "sparql": "SELECT ?tunnel ?tunnelLabel ?length WHERE { ?tunnel wdt:P31 wd:Q1311958 . OPTIONAL { ?tunnel rdfs:label ?tunnelLabel . FILTER(LANG(?tunnelLabel) = \"en\") } OPTIONAL { ?tunnel wdt:P2043 ?length . } } LIMIT 100", "paraphrases": ["What are the names and lengths of railway tunnels?", "List railway tunnels with their English names and lengths, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1311958> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2043> ?var2 . } } LIMIT 100"}}
{"id": "test_8912", "question": "What are the Wikipedia category Q-IDs for Belgian municipalities with English labels?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT(STRAFTER(STR(?category) , \"/entity/\") AS ?categoryId) WHERE {\n  ?municipality wdt:P31 wd:Q493522 .\n  ?municipality wdt:P1464 ?category .\n  ?municipality rdfs:label ?label_en .\n  FILTER(LANG(?label_en) = \"en\")\n  .\n  ?category rdfs:label ?category_label_en .\n  FILTER(LANG(?category_label_en) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Which Wikipedia categories are associated with Belgian municipalities, and what are their Wikidata IDs?", "List the Wikidata Q-IDs of Wikipedia categories that group people born in Belgian municipalities, where both the municipality and category have English labels."], "info": {"raw_sparql": "SELECT( CONCAT ( \"string1\", STRAFTER ( STR ( ?var1 ) , \"/entity/\" ) , \"}}\" ) AS ?var2 ) WHERE { BIND ( CONCAT ( \"string2\", STR ( ?var3 ) ) AS ?var4 ). ?var5 <http://www.wikidata.org/prop/direct/P1464> ?var1 . ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q493522> . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6 . FILTER ( ( ( LANG ( ?var6 ) = \"ar\" ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var7 . FILTER ( ( ( LANG ( ?var7 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_8913", "question": "List of people and their employers from Wikidata.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?employer WHERE {\n  ?person wdt:P108 ?employer .\n}\nLIMIT 100", "paraphrases": ["Who are some people and which organizations do they work for?", "Can you show me 100 examples of individuals and their current or past employers, as recorded in Wikidata?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P108> ?var2 . ?var1 <http://www.wikidata.org/prop/P108> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P108> ?var2 . } LIMIT 100"}}
{"id": "test_8914", "question": "Wikidata items with English labels, no Arabic labels, and categories labeled in both English and Arabic.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?categoryLabelAr ?categoryLabelEn WHERE {\n  ?item wdt:P910 ?category .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" ) FILTER ( NOT EXISTS {\n    ?item rdfs:label ?arLabel .\n    FILTER ( LANG( ?arLabel ) = \"ar\" )\n  }\n  ) ?category rdfs:label ?categoryLabelAr .\n  FILTER ( LANG( ?categoryLabelAr ) = \"ar\" ) ?category rdfs:label ?categoryLabelEn .\n  FILTER ( LANG( ?categoryLabelEn ) = \"en\" )\n}\nLIMIT 10", "paraphrases": ["Which topics on Wikidata have an English label but no Arabic label, and are categorized in both English and Arabic?", "Show me entities that are categorized in English and Arabic, have an English name, but are not labeled in Arabic."], "info": {"raw_sparql": "SELECT( CONCAT ( \"\", STRAFTER ( STR ( ?var1 ) , \"/entity/\" ) , \"\" ) AS ?var2 )( CONCAT ( STRAFTER ( STR ( ?var3 ) , \"\u062a\u0635\u0646\u064a\u0641:\" ) ) AS ?var4 )( CONCAT ( STR ( ?var5 ) ) AS ?var6 ) ?var5 ?var7 WHERE { BIND ( STRAFTER ( STR ( ?var7 ) , \"Category:\" ) AS ?var8 ). ?var1 <http://www.wikidata.org/prop/direct/P910> ?var9 . FILTER ( ( NOT EXISTS { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var10 . FILTER ( ( ( LANG ( ?var10 ) = \"ar\" ) ) ) . } ) ) . ?var9 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"ar\" ) ) ) . ?var9 <http://www.w3.org/2000/01/rdf-schema#label> ?var7 . FILTER ( ( ( LANG ( ?var7 ) = \"en\" ) ) ) . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . FILTER ( ( ( STR ( ?var5 ) = STR ( ?var8 ) ) ) ) . } LIMIT 10"}}
{"id": "test_8915", "question": "Paintings in the Louvre Museum", "sparql": "SELECT ?painting ?paintingLabel WHERE { ?painting wdt:P31 wd:Q3305213 . ?painting wdt:P276 wd:Q19675 . OPTIONAL { ?painting rdfs:label ?paintingLabel . FILTER(LANG(?paintingLabel) = \"en\") } }", "paraphrases": ["What paintings are located at the Louvre Museum?", "List the paintings held by the Louvre Museum."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . ?var1 <http://www.wikidata.org/prop/direct/P276> <http://www.wikidata.org/entity/Q19675> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_8916", "question": "What German-labeled properties are used to link items to the Louvre Department of Paintings?", "sparql": "SELECT DISTINCT ?prop ?propLabel ?propDescription WHERE { ?item ?prop wd:Q3044768 . FILTER (STRSTARTS(STR(?prop), \"http://www.wikidata.org/prop/direct/\")) BIND (IRI(CONCAT(\"http://www.wikidata.org/entity/\", STRAFTER(STR(?prop), \"http://www.wikidata.org/prop/direct/\"))) AS ?propEntity) ?propEntity rdfs:label ?propLabel . ?propEntity schema:description ?propDescription . FILTER (LANG(?propLabel) = \"de\") FILTER (LANG(?propDescription) = \"de\") } LIMIT 100", "paraphrases": ["Which properties in German describe how artworks or items are associated with the Louvre's painting department?", "Show me the German labels and descriptions of all Wikidata properties that connect objects to the Department of Paintings at the Louvre."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q3044768> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"de\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"de\" ) ) ) . } LIMIT 100"}}
{"id": "test_8917", "question": "Films set in English-named locations but filmed in Arabic-named locations, with filming locations prefixed by \"string1\".", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT(STRAFTER(STR(?setting) , \"/entity/\") AS ?settingId)(CONCAT(\"string1\" , ?filmingLocationAr) AS ?prefixedFilmingLocation) ?settingEn WHERE {\n  ?film wdt:P840 ?setting .\n  ?film wdt:P915 ?filmingLocation .\n  ?filmingLocation rdfs:label ?filmingLocationAr .\n  FILTER(LANG(?filmingLocationAr) = \"ar\")\n  ?setting rdfs:label ?settingEn .\n  FILTER(LANG(?settingEn) = \"en\")\n  FILTER(NOT EXISTS {\n    ?setting rdfs:label ?settingAr .\n    FILTER(LANG(?settingAr) = \"ar\")\n  })\n}", "paraphrases": ["Which films are set in geographic locations labeled in English but not in Arabic, and where were they actually filmed, with the filming locations shown in Arabic?", "Show me the English names of places where films are set (excluding those with Arabic labels), along with the Arabic names of the actual filming locations, each prefixed with \"string1\"."], "info": {"raw_sparql": "SELECT DISTINCT( CONCAT ( \"\", STRAFTER ( STR ( ?var1 ) , \"/entity/\" ) , \"\" ) AS ?var2 )( CONCAT ( \"string1\", STR ( ?var3 ) ) AS ?var4 ) ?var5 ?var6 ( CONCAT ( STR ( ?var5 ) ) AS ?var7 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P971> <http://www.wikidata.org/entity/Q19502208> . ?var1 <http://www.wikidata.org/prop/P4224> ?var8 . ?var8 <http://www.wikidata.org/prop/qualifier/P915> ?var9 . FILTER ( ( NOT EXISTS { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var10 . FILTER ( ( ( LANG ( ?var10 ) = \"ar\" ) ) ) . } ) ) . ?var9 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"ar\" ) ) ) . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var6 . FILTER ( ( ( LANG ( ?var6 ) = \"en\" ) ) ) . }"}}
{"id": "test_8918", "question": "French-labeled entities with BnF ID containing \"Victor Hugo\"", "sparql": "SELECT ?item ?itemLabel ?bnfId WHERE { ?item wdt:P268 ?bnfId . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = 'fr') . FILTER(REGEX(?itemLabel, 'Victor Hugo', 'i')) } LIMIT 20", "paraphrases": ["What are the French-language entries in Wikidata for entities associated with the BnF ID and the name \"Victor Hugo\"?", "Show me French labels and BnF IDs of all entities related to Victor Hugo."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P268> ?var2 . FILTER ( ( ( LANG ( ?var1Label ) = \"fr\" ) ) ) . FILTER ( ( REGEX ( ?var1Label , \"string1\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr\". } } LIMIT 20"}}
{"id": "test_8919", "question": "Works authored by Mauro Guerrini with co-authors, publication venues, types, and earliest publication dates.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ( MIN( ?pubDate ) AS ?earliestDate ) ?work ?workTitle ( GROUP_CONCAT( DISTINCT ?typeLabel ; SEPARATOR = \", \" ) AS ?types ) ( SAMPLE( ?pages ) AS ?numberOfPages ) ?venue ?venueLabel ( GROUP_CONCAT( DISTINCT ?coAuthorLabel ; SEPARATOR = \", \" ) AS ?coAuthors ) WHERE {\n  ?work wdt:P50 wd:Q15268452 .\n  ?work wdt:P1476 ?workTitle .\n  OPTIONAL {\n    ?work wdt:P577 ?pubDate .\n  }\n  OPTIONAL {\n    ?work wdt:P1104 ?pages .\n  }\n  OPTIONAL {\n    ?work wdt:P1433 ?venue .\n    ?venue rdfs:label ?venueLabel .\n    FILTER ( LANG( ?venueLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?work wdt:P31 ?type .\n    ?type rdfs:label ?typeLabel .\n    FILTER ( LANG( ?typeLabel ) = \"en\" )\n  }\n  ?work wdt:P50 ?coAuthor .\n  FILTER ( ?coAuthor != wd:Q15268452 ) ?coAuthor rdfs:label ?coAuthorLabel .\n  FILTER ( LANG( ?coAuthorLabel ) = \"en\" )\n}\nGROUP BY ?work ?workTitle ?venue ?venueLabel\nORDER BY DESC ( ?earliestDate )", "paraphrases": ["What are the works written by Mauro Guerrini, who are his co-authors, where were they published, what types are they, and when was the earliest one published?", "List all publications by Mauro Guerrini, including their titles, publication venues, types, number of pages, earliest publication date, and co-authors."], "info": {"raw_sparql": "SELECT( MIN ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ( GROUP_CONCAT ( DISTINCT ?var4Label ; SEPARATOR = \", \" ) AS ?var5 )( SAMPLE ( ?var6 ) AS ?var7 ) ?var8 ?var8Label ( GROUP_CONCAT ( DISTINCT ?var9Label ; SEPARATOR = \", \" ) AS ?var10 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q15268452> . ?var3 <http://www.wikidata.org/prop/direct/P50> ?var11 . OPTIONAL { ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12 . FILTER ( ( ( LANG ( ?var12 ) = \"en\" ) ) ) . } BIND ( COALESCE ( ?var12 , SUBSTR ( STR ( ?var11 ) ,\"32\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var9Label ). OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . } OPTIONAL { BIND ( <http://www.w3.org/2001/XMLSchema#date> ( ?var13 ) AS ?var1 ). ?var3 <http://www.wikidata.org/prop/direct/P577> ?var13 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1104> ?var6 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,no,ru,sv,zh\". } } GROUP BY ?var3 ?var3Label ?var8 ?var8Label ORDER BY DESC( ?var2 )"}}
{"id": "test_8920", "question": "What entities are connected to archives, and what are the types of those connections?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?archive ?relatedItem ?relationship WHERE {\n  ?archive wdt:P31 wd:Q166118 .\n  ?relatedItem ?relationship ?archive .\n}\nLIMIT 100", "paraphrases": ["Show me the relationships between archives and other items in Wikidata.", "Which people, works, or locations are associated with archival institutions, and how?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q166118> . ?var2 ?var3 ?var1 . } LIMIT 100"}}
{"id": "test_8921", "question": "Is the star IC 4116 a type of software?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q4875 ( wdt:P31 / wdt:P279 * ) wd:Q7397 .\n}", "paraphrases": ["Does the classification hierarchy of IC 4116 include software as a superclass?", "Confirm whether IC 4116, a star, belongs to any class that is a subclass of software."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q4875> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_8922", "question": "Is Eugene Kaspersky a human?", "sparql": "ASK WHERE {\n  wd:Q4864 (wdt:P31/wdt:P279*) wd:Q5 .\n  hint:Prior hint:gearing \"forwards\" .\n}", "paraphrases": ["Does Eugene Kaspersky belong to the class of humans, either directly or through inheritance?", "Is Eugene Kaspersky classified as a human being according to Wikidata\u2019s ontology?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q4864> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_8923", "question": "What country or administrative region is the Legislative Yuan of Taiwan associated with?", "sparql": "SELECT DISTINCT ?location WHERE { wd:Q715869 (wdt:P17 | wdt:P131) ?location .}", "paraphrases": ["Which entity serves as both the country and administrative territory of the Legislative Yuan?", "Tell me the political jurisdiction of the Legislative Yuan."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q715869> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_8924", "question": "Who is the French actress named L\u00e9a Seydoux?", "sparql": "SELECT DISTINCT ?item WHERE { ?item rdfs:label \"L\u00e9a Seydoux\"@fr . ?item wdt:P31 wd:Q5 . }", "paraphrases": ["What Wikidata entity corresponds to the French name \"L\u00e9a Seydoux\" and is a human?", "Can you find the person named L\u00e9a Seydoux in French who is classified as a human?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"L\u00e9a SIKORA\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8925", "question": "Which Wikidata items have Twitter usernames \"envlh\" or \"Wikimedia\", and how many Wikipedia pages link to them?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username ( COUNT( ?site ) AS ?sitelinkCount ) WHERE {\n  ?item wdt:P2002 ?username .\n  ?site schema:about ?item ; schema:isPartOf ?wiki .\n  VALUES ?username {\n    \"envlh\" \"string1\" \"Wikimedia\" \"JeanFred\" \"dbader_org\" \"string2\" \"string3\"\n  }\n}\nGROUP BY ?item ?username\nORDER BY ASC ( ?sitelinkCount )", "paraphrases": ["Who are the people or organizations on Wikidata with Twitter handles \"envlh\" or \"Wikimedia\", and how many language versions of Wikipedia link to their pages?", "List the Wikidata items for the Twitter usernames \"envlh\" and \"Wikimedia\", sorted by how many Wikipedia sites link to them, from least to most."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"string1\" ) ( \"Wikimedia\" ) ( \"JeanFred\" ) ( \"dbader_org\" ) ( \"string2\" ) ( \"string3\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8926", "question": "Image of Gerda Weissmann Klein with SNAC ARK ID w67b751m", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w67b751m\" .\n  ?item wdt:P18 ?image .\n}", "paraphrases": ["What is the Wikimedia Commons image associated with Gerda Weissmann Klein\u2019s SNAC ARK ID (w67b751m)?", "Show me the image of the person identified by SNAC ARK ID w67b751m."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w67b751m\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8927", "question": "What are all the superclass categories of the Russian alphabet?", "sparql": "SELECT DISTINCT ?superclass WHERE { wd:Q187846 wdt:P279* ?superclass . } LIMIT 100", "paraphrases": ["What classes does the Russian alphabet belong to, including indirect parent classes?", "List all the broader categories that the Russian alphabet is a part of through the subclass-of hierarchy."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q187846> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_8928", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0133093?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?article WHERE {\n  ?item wdt:P345 \"tt0133093\" .\n  ?article schema:about ?item .\n  {\n    ?article schema:inLanguage \"en\"\n  } UNION {\n    ?article schema:inLanguage \"de\"\n  }\n}", "paraphrases": ["Show me the Wikipedia articles in English or German about the film identified by IMDb ID tt0133093.", "Which language versions of Wikipedia pages are linked to the movie \"The Matrix\" on Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt7781198\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8929", "question": "What are the English and German Wikipedia articles for the movie with IMDb ID tt0119125?", "sparql": "SELECT ?wikipediaArticle WHERE { ?movie wdt:P345 \"tt0119125\" . ?wikipediaArticle schema:about ?movie . ?wikipediaArticle schema:inLanguage ?language . FILTER(?language = \"en\" || ?language = \"de\") }", "paraphrases": ["Show me the Wikipedia pages in English and German about the film Firelight (tt0119125).", "Retrieve the Wikipedia links in English and German for the movie identified by IMDb identifier tt0119125."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0119125\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8930", "question": "English and German Wikipedia pages for the film with IMDb ID tt0041587", "sparql": "SELECT ?film ?wikipediaPage WHERE { ?film wdt:P345 \"tt0041587\" . ?wikipediaPage schema:about ?film . FILTER(STRSTARTS(STR(?wikipediaPage), \"https://en.wikipedia.org/\") || STRSTARTS(STR(?wikipediaPage), \"https://de.wikipedia.org/\")) }", "paraphrases": ["What are the English and German Wikipedia articles about the movie with IMDb ID tt0041587?", "Show me the English and German Wikipedia links for the film A Letter to Three Wives (IMDb: tt0041587)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0041587\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8931", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0057581?", "sparql": "SELECT ?movie ?wikipediaPage WHERE { ?movie wdt:P345 \"tt0057581\" . ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Show me the Wikipedia articles in English and German that are about the film \"The Thrill of It All\".", "Which Wikipedia pages in English and German link to the movie identified by tt0057581?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0057581\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8932", "question": "Does the actor Qin Ziyue have the IMDb ID nm7522684?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P345 \"nm7522684\" .\n}", "paraphrases": ["Is there a person in Wikidata with the IMDb identifier nm7522684?", "Does the Internet Movie Database identifier nm7522684 correspond to a known person in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"nm7522684\". }"}}
{"id": "test_8933", "question": "What are the most common ways entities are connected to the United States in Wikidata?", "sparql": "SELECT ?property (COUNT(?subject) AS ?count) WHERE { ?subject ?property wd:Q30 } GROUP BY ?property ORDER BY DESC(?count) LIMIT 10", "paraphrases": ["Which properties are most frequently used to associate items with the United States?", "Show me the top 10 relationships that link other items to the United States, ordered by how often they appear."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <https://query.wikidata.org/bigdata/namespace/wdq/undefinedQ11085-334CC030-17E6-4E80-898F-7A7E0189E596> . }"}}
{"id": "test_8934", "question": "Does the IMDb ID nm2216689 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P345 \"nm2216689\" .\n}", "paraphrases": ["Is there a Wikidata item associated with the IMDb identifier nm2216689?", "Check if nm2216689 is a valid IMDb ID in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"nm2216689\". }"}}
{"id": "test_8935", "question": "List of university libraries in Wikidata", "sparql": "SELECT ?library ?libraryLabel WHERE { ?library wdt:P31 wd:Q1622062 . ?library rdfs:label ?libraryLabel . FILTER(LANG(?libraryLabel) = \"en\") } LIMIT 10", "paraphrases": ["What are some examples of university libraries?", "Can you show me the English names of institutions that are classified as university libraries?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q1622062> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> * ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } }"}}
{"id": "test_8936", "question": "List of nonprofit organizations in Wikidata.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?organization WHERE {\n  ?organization wdt:P31 wd:Q163740 .\n}\nLIMIT 20", "paraphrases": ["What are some examples of nonprofit organizations?", "Can you show me 20 organizations that are classified as nonprofit organizations in Wikidata?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q163740> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 20"}}
{"id": "test_8937", "question": "What are some types of sandwiches that originated in the United States, and do they have images?", "sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 wdt:P279 wd:Q28803 . OPTIONAL { ?var1 wdt:P18 ?var2 . } ?var1 wdt:P495 wd:Q30 . } ORDER BY ASC(?var1Label) LIMIT 100", "paraphrases": ["Which sandwich varieties are subclasses of sandwich and have their country of origin in the United States? Can you show images of them?", "List American sandwich types derived from the general category of sandwich, along with their images if available, sorted alphabetically."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q28803> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q30> . } ORDER BY ASC( ?var1Label ) LIMIT 100"}}
{"id": "test_8938", "question": "Who are the people employed by the International Baccalaureate Organization, and what positions do they hold?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel ?positionLabel WHERE {\n  ?person wdt:P108 wd:Q1190682 .\n  OPTIONAL {\n    ?person wdt:P39 ?position .\n    ?position rdfs:label ?positionLabel .\n    FILTER(LANG(?positionLabel) = \"en\")\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}", "paraphrases": ["List the names and job titles of individuals working for the International Baccalaureate Organization.", "Which person is employed by the International Baccalaureate Organization, and what is their role?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q7782449> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . } OPTIONAL { } OPTIONAL { } }"}}
{"id": "test_8939", "question": "What are all the properties and values associated with Tom Hanks in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?value WHERE {\n  wd:Q2263 ?property ?value .\n}", "paraphrases": ["Can you list everything known about Tom Hanks, such as his occupations, birth details, and other attributes?", "Show me all the statements about Tom Hanks, including his roles, awards, and identifiers from external databases."], "info": {"raw_sparql": "CONSTRUCT { <http://www.wikidata.org/entity/Q2263> ?var1 ?var2 . ?var2 ?var3 ?var4 } WHERE { <http://www.wikidata.org/entity/Q2263> ?var1 ?var2 . }"}}
{"id": "test_8940", "question": "What are the descriptions of the Japanese TV show Hirunandesu! in different languages, along with its official website and social media follower count?", "sparql": "SELECT ?description ?website ?followers WHERE { wd:Q11330336 schema:description ?description . OPTIONAL { wd:Q11330336 wdt:P856 ?website . } OPTIONAL { wd:Q11330336 wdt:P8687 ?followers . } }", "paraphrases": ["Can you show me the multilingual descriptions, website, and number of followers for the TV program Hirunandesu!?", "Tell me about Hirunandesu! \u2014 what languages describe it, what\u2019s its official site, and how many followers does it have on social media?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q11330336> ?var1 ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja,en\". } }"}}
{"id": "test_8941", "question": "Which of these Twitter usernames (envlh, MaelLeHir, mesosphere, fagerving, PoulpyWP) are associated with Wikidata items, sorted by how many Wikipedia pages they have?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"envlh\" \"MaelLeHir\" \"mesosphere\" \"fagerving\" \"PoulpyWP\" } } ORDER BY DESC(wikibase:sitelinks)", "paraphrases": ["Show me the Wikidata items that have Twitter usernames like 'envlh' or 'mesosphere', ordered by their popularity (number of language editions).", "Find Wikidata entities with the Twitter handles 'envlh', 'MaelLeHir', 'mesosphere', 'fagerving', or 'PoulpyWP', and list them from most to least linked across Wikipedia languages."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"MaelLeHir\" ) ( \"mesosphere\" ) ( \"fagerving\" ) ( \"PoulpyWP\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8942", "question": "Who has the VIAF ID 89596846?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P214 \"89596846\" .\n}", "paraphrases": ["Which person in Wikidata is identified by the VIAF identifier 89596846?", "Show me the Wikidata item for the Virtual International Authority File ID 89596846."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"89596846\". }"}}
{"id": "test_8943", "question": "What is the current administrative division that Nantes belongs to, and what type of administrative division is it?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?var1 ?var1Label ?var2 ?var2Label WHERE {\n  wd:Q12191 p:P131 ?var3 .\n  ?var3 ps:P131 ?var1 .\n  FILTER ( NOT EXISTS {\n    ?var3 pq:P582 []\n  }\n  ) .\n  ?var1 wdt:P31 ?var2 .\n  ?var2 p:P279 ?var5 .\n  ?var5 ps:P279 wd:Q13220204 .\n  FILTER ( NOT EXISTS {\n    ?var5 pq:P582 []\n  }\n  ) .\n  OPTIONAL {\n    ?var1 rdfs:label ?var1Label .\n    FILTER ( LANG( ?var1Label ) = \"en\" )\n  }\n  OPTIONAL {\n    ?var2 rdfs:label ?var2Label .\n    FILTER ( LANG( ?var2Label ) = \"en\" )\n  }\n}", "paraphrases": ["Show me the current second-level administrative division that contains Nantes and its classification.", "Which French department is Nantes located in, and is that department classified as a second-level administrative division?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { <http://www.wikidata.org/entity/Q12191> <http://www.wikidata.org/prop/P131> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P131> ?var1 . FILTER ( ( NOT EXISTS { ?var3 <http://www.wikidata.org/prop/qualifier/P582> ?var4 . } ) ) . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var2 <http://www.wikidata.org/prop/P279> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P279> <http://www.wikidata.org/entity/Q13220204> . FILTER ( ( NOT EXISTS { ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var4 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_8944", "question": "Who is the French-labeled person named \"Guy Fawkes\" that is a human?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?person WHERE {\n  ?person rdfs:label \"Guy Fawkes\" @fr .\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["French label \"Guy Fawkes\" and instance of human.", "Find the human entity in Wikidata whose French label is \"Guy Fawkes\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Guy Fartek\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8945", "question": "Cities and towns in France", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P17 wd:Q142 .\n  FILTER(STRSTARTS(STR(?item) , \"http://www.wikidata.org/entity/Q\"))\n}", "paraphrases": ["What places are located in France?", "List all entities in Wikidata that have France as their country."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 ?var2 <http://www.wikidata.org/entityQ1726> . }"}}
{"id": "test_8946", "question": "Subclasses and sub-subclasses of sport with their labels in multiple languages.", "sparql": "SELECT ?sportClass ?sportClassLabel ?sportSubclass ?sportSubclassLabel WHERE { ?sportClass wdt:P279 wd:Q349 . ?sportClass rdfs:label ?sportClassLabel . ?sportSubclass wdt:P279 ?sportClass . ?sportSubclass rdfs:label ?sportSubclassLabel . }", "paraphrases": ["What are the types of sports and their specific variants, along with how they are named in different languages?", "Show me the hierarchy of sports categories, from broad types like running to specific ones like marathon running, including their names in various languages."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q349> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var3 <http://www.wikidata.org/prop/direct/P279> ?var1 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . }"}}
{"id": "test_8947", "question": "Which Wikidata entities have the Twitter usernames GDarmanin, ICIJorg, or RTLFrance?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"GDarmanin\" \"ICIJorg\" \"RTLFrance\" } }", "paraphrases": ["Who are the people or organizations on Wikidata that use the Twitter handles GDarmanin, ICIJorg, and RTLFrance?", "List the Wikidata items associated with the Twitter usernames GDarmanin, ICIJorg, and RTLFrance."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"pirhoo\" ) ( \"ICIJorg\" ) ( \"string1\" ) ( \"GDarmanin\" ) ( \"RTLFrance\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8948", "question": "What property is most commonly used to assign the surname \"Merkel\" in Wikidata, and how many times is it used?", "sparql": "SELECT ?property (COUNT(?property) AS ?count) WHERE { ?item ?prop wd:Q1921787 . ?property wikibase:directClaim ?prop . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which direct property links the most entities to the family name \"Merkel\", and what is the count?", "Show me the most frequently used property for indicating that someone has the family name Merkel, along with how many people have it."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q1921787> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_8949", "question": "Who is the spouse of Percival Dumbledore, and what is their name in English?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?spouse ?spouseLabel WHERE {\n  wd:Q6072130 wdt:P26 ?spouse .\n  ?spouse rdfs:label ?spouseLabel .\n  FILTER(LANG(?spouseLabel) = \"en\")\n}\nLIMIT 50", "paraphrases": ["English label of Percival Dumbledore\u2019s spouse", "Show me the English name of the person who is married to Percival Dumbledore."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q6072130> <http://www.wikidata.org/prop/direct/P26> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } LIMIT 50"}}
{"id": "test_8950", "question": "Wikipedia pages in English and German about the movie with IMDb ID tt1059925.", "sparql": "SELECT ?movie ?wikipedia_page ?movieLabel WHERE { ?movie wdt:P345 \"tt1059925\" . ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang IN (\"en\", \"de\")) . ?movie rdfs:label ?movieLabel . FILTER(LANG(?movieLabel) = \"en\") }", "paraphrases": ["What are the English and German Wikipedia articles for the movie \"According to Greta\" (IMDb: tt1059925)?", "Show me the English and German Wikipedia links for the movie identified by IMDb ID tt1059925, along with its title."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1059925\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8951", "question": "Legislative bodies of cities with over 250,000 people and first-level administrative divisions in Canada, France, the UK, and other countries.", "sparql": "SELECT DISTINCT ?countryLabel ?entityLabel ?legislativeBodyLabel WHERE { VALUES ?country { wd:Q16 wd:Q145 wd:Q222 wd:Q30 wd:Q884 wd:Q34 wd:Q27 wd:Q668 wd:Q142 } { ?entity wdt:P17 ?country ; (wdt:P31/wdt:P279*) wd:Q10864048 ; wdt:P194 ?legislativeBody . } UNION { ?entity wdt:P17 ?country ; (wdt:P31/wdt:P279*) wd:Q515 ; wdt:P1082 ?population . FILTER (?population > 250000) ?entity wdt:P194 ?legislativeBody . } ?country rdfs:label ?countryLabel . ?entity rdfs:label ?entityLabel . ?legislativeBody rdfs:label ?legislativeBodyLabel . FILTER (LANG(?countryLabel) = \"en\") FILTER (LANG(?entityLabel) = \"en\") FILTER (LANG(?legislativeBodyLabel) = \"en\") } LIMIT 20", "paraphrases": ["What are the legislative bodies of major cities (population > 250,000) and administrative regions like states or provinces in countries such as Canada, France, and the United Kingdom?", "List the legislative bodies for administrative divisions and large cities (over 250,000 residents) in the following countries: Canada, United Kingdom, France, United States, Sweden, Ireland, India, South Korea, and Albania."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label ?var5 ?var5Label WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q16> ) ( <http://www.wikidata.org/entity/Q145> ) ( <http://www.wikidata.org/entity/Q222> ) ( <http://www.wikidata.org/entity/Q30> ) ( <http://www.wikidata.org/entity/Q884> ) ( <http://www.wikidata.org/entity/Q34> ) ( <http://www.wikidata.org/entity/Q27> ) ( <http://www.wikidata.org/entity/Q668> ) ( <http://www.wikidata.org/entity/Q142> ) } { BIND ( ?var1 AS ?var2 ). } UNION { BIND ( ?var6 AS ?var2 ). BIND ( <http://www.wikidata.org/entity/Q10864048> AS ?var3 ). ?var6 <http://www.wikidata.org/prop/direct/P17> ?var1 ; ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q10864048> . } UNION { BIND ( ?var7 AS ?var2 ). BIND ( <http://www.wikidata.org/entity/Q515> AS ?var3 ). ?var7 <http://www.wikidata.org/prop/direct/P17> ?var1 ; ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> ; <http://www.wikidata.org/prop/direct/P1082> ?var8 . FILTER ( ( ( ?var8 > \"250000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ?var2 ( <http://www.wikidata.org/prop/direct/P194> / <http://www.wikidata.org/prop/direct/P527> ?) ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 20"}}
{"id": "test_8952", "question": "Does Wikidata contain an entity with GND ID 1083048392?", "sparql": "ASK WHERE { ?person wdt:P227 \"1083048392\" . }", "paraphrases": ["Is there a person in Wikidata identified by the GND number 1083048392?", "Confirm if the German National Library ID 1083048392 is assigned to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"1083048392\". }"}}
{"id": "test_8953", "question": "What are the properties that link humans to countries with a known start date?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT DISTINCT ?property WHERE {\n  {\n    ?human wdt:P31 wd:Q5 .\n    ?country wdt:P31 wd:Q6256 .\n    ?human wdt:P27 ?country .\n    ?statement ps:P27 ?country .\n    ?statement pq:P580 ?start .\n    ?statement ?p ?human .\n    BIND( wd:P27 AS ?property )\n  } UNION {\n    ?human wdt:P31 wd:Q5 .\n    ?human p:P39 ?statement .\n    ?statement ps:P39 ?position .\n    ?statement pq:P580 ?start .\n    ?position wdt:P17 ?country .\n    ?country wdt:P31 wd:Q6256 .\n    BIND( wd:P39 AS ?property )\n  }\n}\nLIMIT 10", "paraphrases": ["Which relationships between people and countries have a recorded start time?", "Show me the types of connections (like citizenship or position held) between humans and countries that include a start date."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 ?var1 ?var3 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var1 <http://www.wikidata.org/prop/direct/P1646> <http://www.wikidata.org/entity/P580> . } LIMIT 10"}}
{"id": "test_8954", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0066820?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipedia_page WHERE {\n  ?movie wdt:P345 \"tt0066820\" .\n  ?wikipedia_page schema:about ?movie .\n  ?wikipedia_page schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" )\n}", "paraphrases": ["Can you show me the Wikipedia articles in English and German about the film identified by tt0066820 on IMDb?", "Which Wikipedia articles in English and German describe the movie 'Handicapped Future'?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0066820\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8955", "question": "Who is the French actress named L\u00e9a Seydoux in Wikidata?", "sparql": "SELECT DISTINCT ?item WHERE { ?item rdfs:label \"L\u00e9a Seydoux\"@fr . ?item wdt:P31 wd:Q5 . }", "paraphrases": ["What is the Wikidata identifier for the human named L\u00e9a Seydoux in French?", "Find the human entity in Wikidata that has the French label \"L\u00e9a Seydoux\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"L\u00e9a Didier\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8956", "question": "What television episodes focus on the Br\u00fcnig railway line?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?work ( COALESCE ( ?labelDE , ?labelEN ) AS ?workLabel ) WHERE {\n  ?work wdt:P921 wd:Q502304 .\n  OPTIONAL {\n    ?work rdfs:label ?labelDE FILTER ( LANG( ?labelDE ) = \"de\" )\n  }\n  OPTIONAL {\n    ?work rdfs:label ?labelEN FILTER ( LANG( ?labelEN ) = \"en\" )\n  }\n}", "paraphrases": ["Can you list the German documentary episodes that feature the Br\u00fcnig railway as a main subject?", "Which works are about the Br\u00fcnig railway line in Switzerland?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P921> <http://www.wikidata.org/entity/Q502304> . }"}}
{"id": "test_8957", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt0367975?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wiki_page WHERE {\n  ?item wdt:P345 \"tt0367975\" .\n  ?wiki_page schema:about ?item .\n  ?wiki_page schema:inLanguage ?lang .\n  FILTER ( ?lang IN ( \"en\" , \"de\" ) )\n}", "paraphrases": ["Find the Wikipedia articles in English or German about the film identified by tt0367975 on IMDb.", "Which Wikipedia pages in English or German discuss the movie with the IMDb identifier tt0367975?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0367975\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8958", "question": "What is the name of the place with GeoNames ID 3090857?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?place ?placeLabel WHERE {\n  ?place wdt:P1566 \"3090857\" .\n  ?place rdfs:label ?placeLabel .\n  FILTER ( LANG( ?placeLabel ) = \"en\" )\n}", "paraphrases": ["Which place in Wikidata has the GeoNames identifier 3090857, and what is its English label?", "Can you tell me the English name of the location identified by GeoNames ID 3090857?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1566> \"3090857\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8959", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt1998355?", "sparql": "SELECT ?wikipediaPage WHERE { ?item wdt:P345 \"tt1998355\" . ?wikipediaPage schema:about ?item . { ?wikipediaPage schema:inLanguage \"en\" . } UNION { ?wikipediaPage schema:inLanguage \"de\" . } }", "paraphrases": ["Show me the Wikipedia articles in English and German about the film identified by tt1998355 on IMDb.", "Find the Wikipedia links in English and German for the movie that has the IMDb identifier tt1998355."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1998355\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8960", "question": "What are the properties related to the Satellite Catalog Number (SCN), and what are their descriptions in English?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?related ?relatedLabel ?relatedDescription WHERE {\n  wd:P377 wdt:P1659 ?related .\n  ?related rdfs:label ?relatedLabel .\n  ?related schema:description ?relatedDescription .\n  FILTER ( LANG( ?relatedLabel ) = \"en\" ) FILTER ( LANG( ?relatedDescription ) = \"en\" )\n}", "paraphrases": ["Which satellite identification systems are linked to the NORAD Catalog Number, and how are they defined?", "Can you list the alternative identifiers for satellite catalog numbers, along with their English labels and descriptions?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P377> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . }"}}
{"id": "test_8961", "question": "Which articles cite the gene expression signature shared by human mature oocytes and embryonic stem cells?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?citingArticle WHERE {\n  ?citingArticle wdt:P2860 wd:Q33398202 .\n}", "paraphrases": ["What research papers reference the study on gene expression in human oocytes and embryonic stem cells?", "List all scholarly articles that cite the gene expression signature associated with human mature oocytes and embryonic stem cells."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q33398202> . }"}}
{"id": "test_8962", "question": "What entities and properties are linked to Keratinization?", "sparql": "SELECT ?subject ?property WHERE { ?subject ?property wd:Q45314335 .}", "paraphrases": ["What things have Keratinization as their object in Wikidata?", "Show me all relationships where Keratinization is the object."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q45314335> . }"}}
{"id": "test_8963", "question": "What are the direct properties and their values for the biological pathway \"L13a-mediated translational silencing of Ceruloplasmin expression\"?", "sparql": "SELECT ?property ?value ?valueLabel WHERE { wd:Q45317610 ?property ?value . FILTER(STRSTARTS(STR(?property), \"http://www.wikidata.org/prop/direct/\")) . ?value rdfs:label ?valueLabel . FILTER(LANG(?valueLabel) = \"en\") }", "paraphrases": ["Which taxon is this biological pathway found in, and what are its parts and related processes?", "List all the entities linked to the biological pathway L13a-mediated translational silencing of Ceruloplasmin expression, including its classification, parts, and associated species."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q45317610> ?var1 ?var2 . }"}}
{"id": "test_8964", "question": "Countries ranked by the population of their largest city, from smallest to largest.", "sparql": "SELECT ?countryLabel (MAX(?population) AS ?maxPopulation) WHERE { ?city (wdt:P31/wdt:P279*) wd:Q515 ; wdt:P17 ?country ; wdt:P1082 ?population . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") } GROUP BY ?countryLabel ORDER BY ASC(?maxPopulation) LIMIT 111", "paraphrases": ["Which countries have the smallest largest cities, and what are those populations?", "Show me the 111 countries with the smallest maximum city populations, along with the population of their biggest city."], "info": {"raw_sparql": "SELECT ?var1Label ( MAX ( ?var2 ) AS ?var3 ) WHERE { ?var4 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> ; <http://www.wikidata.org/prop/direct/P17> ?var1 ; <http://www.wikidata.org/prop/direct/P1082> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1Label ORDER BY ASC( ?var3 ) LIMIT 111"}}
{"id": "test_8965", "question": "Catalan labels and descriptions of properties related to \"part of\" in Wikidata.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?targetProperty ?label ?description WHERE {\n  wd:P361 wdt:P1659 ?targetProperty .\n  ?targetProperty rdfs:label ?label .\n  ?targetProperty schema:description ?description .\n  FILTER ( LANG( ?label ) = \"ca\" ) .\n  FILTER ( LANG( ?description ) = \"ca\" ) .\n}", "paraphrases": ["What are the Catalan labels and descriptions of properties that are related to the \"part of\" property in Wikidata?", "Show me the Catalan-language labels and descriptions of properties linked via \"related property\" to the \"part of\" property in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P361> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"ca\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"ca\" ) ) ) . }"}}
{"id": "test_8966", "question": "List all natural satellites in Wikidata with their English names.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?moon ?moonLabel WHERE {\n  ?moon wdt:P31 wd:Q2537 .\n  OPTIONAL {\n    ?moon rdfs:label ?moonLabel .\n    FILTER ( LANG( ?moonLabel ) = \"en\" )\n  }\n}\nLIMIT 100", "paraphrases": ["What are the known moons in our solar system according to Wikidata, and what are their English labels?", "Show me all items classified as natural satellites in Wikidata, including their English names if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2537> . } LIMIT 100"}}
{"id": "test_8967", "question": "What are the astronomical objects that orbit the Sun?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?child ?childLabel WHERE {\n  ?child wdt:P397 wd:Q525 .\n  ?child rdfs:label ?childLabel .\n  FILTER(LANG(?childLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["List all the planets, asteroids, and comets that are part of the Solar System.", "Which celestial bodies have the Sun as their parent body?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } ?var3 <http://www.wikidata.org/prop/direct/P397> <http://www.wikidata.org/entity/Q525> . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P398> ?var2 . } } LIMIT 100"}}
{"id": "test_8968", "question": "What is the trilogy that includes The Lord of the Rings: The Fellowship of the Ring, and when was it released?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?trilogy ?trilogyLabel ?releaseDate WHERE {\n  ?trilogy wdt:P527 wd:Q127367 .\n  OPTIONAL {\n    ?trilogy rdfs:label ?trilogyLabel .\n    FILTER(LANG(?trilogyLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?trilogy wdt:P577 ?releaseDate .\n  }\n}\nLIMIT 100", "paraphrases": ["Which work contains The Lord of the Rings: The Fellowship of the Ring as a part, and what is its publication date?", "Show me the name and release date of the larger work that has The Lord of the Rings: The Fellowship of the Ring as one of its parts."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } ?var1 <http://www.wikidata.org/prop/direct/P527> <http://www.wikidata.org/entity/Q127367> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var2 . } } LIMIT 100"}}
{"id": "test_8969", "question": "What is the French label for the moon of Saturn named Jarnsaxa?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?moon ?label WHERE {\n  ?moon wdt:P397 wd:Q193 ; rdfs:label ?label .\n  FILTER(CONTAINS(STR(?label) , \"Jarnsaxa\"))\n  FILTER(LANG(?label) = \"fr\")\n}", "paraphrases": ["In French, how is the moon Jarnsaxa, which orbits Saturn, referred to?", "Find the French-language name of the celestial body named Jarnsaxa that is a satellite of Saturn."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P397> <http://www.wikidata.org/entity/Q193> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( CONTAINS ( ?var1Label , \"Jarnsaxa\" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"fr\" ) ) ) . }"}}
{"id": "test_8970", "question": "What are the English names and descriptions of sports teams that have participated in events?", "sparql": "SELECT ?team ?teamName ?description WHERE { ?event wdt:P1923 ?team . OPTIONAL { ?team skos:altLabel ?teamNameFilter . FILTER (LANG(?teamNameFilter) = \"en\") } OPTIONAL { ?team rdfs:label ?teamLabelFilter . FILTER (LANG(?teamLabelFilter) = \"en\") } BIND(COALESCE(?teamNameFilter, ?teamLabelFilter) AS ?teamName) OPTIONAL { ?team schema:description ?descriptionFilter . FILTER (LANG(?descriptionFilter) = \"en\") } BIND(COALESCE(?descriptionFilter, \"No description available\") AS ?description) FILTER (BOUND(?teamName)) } LIMIT 100", "paraphrases": ["List teams that took part in competitions, showing their official English names and brief descriptions.", "Which teams have competed in events, and what are their English labels and descriptions?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P1923> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_8971", "question": "What is the Wikidata item for the place named \"Buhry\"?", "sparql": "SELECT DISTINCT ?item WHERE { ?item rdfs:label \"Buhry\"@en . }", "paraphrases": ["Can you find the entity in Wikidata that has the English label \"Buhry\"?", "Show me the Wikidata identifier for the location called Buhry."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Buhry\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_8972", "question": "What are all the types of rockets and their direct parent categories in English?", "sparql": "SELECT ?subclass ?subclassLabel ?directParent WHERE { ?subclass wdt:P279* wd:Q41291 . OPTIONAL { ?subclass wdt:P279 ?directParent . } ?subclass schema:name ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") }", "paraphrases": ["List all rocket subclasses with their English names and immediate parent classes.", "What are the different kinds of rockets and what broader categories do they belong to?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q41291> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8973", "question": "Which Wikidata items have Twitter usernames osmandapp, MySQL, Calimaq, ash_crow, or numerennes?", "sparql": "SELECT ?item ?twitterUsername WHERE { ?item wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"osmandapp\" \"MySQL\" \"Calimaq\" \"ash_crow\" \"numerennes\" } } ORDER BY ?twitterUsername", "paraphrases": ["Who are the entities on Wikidata that are linked to the Twitter accounts @osmandapp, @MySQL, @Calimaq, @ash_crow, and @numerennes?", "List all Wikidata items that have one of these Twitter usernames: osmandapp, MySQL, Calimaq, ash_crow, or numerennes."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"ScFW01\" ) ( \"string1\" ) ( \"maurobiani\" ) ( \"mlpoulter\" ) ( \"string2\" ) ( \"wikidata\" ) ( \"CA_SGBS78\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"osmandapp\" ) ( \"string6\" ) ( \"string7\" ) ( \"MaelLeHir\" ) ( \"Rom_GK\" ) ( \"Calimaq\" ) ( \"SummerRay\" ) ( \"kindiaFi\" ) ( \"string8\" ) ( \"1SarahRose\" ) ( \"PainPoint\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) ( \"string13\" ) ( \"string14\" ) ( \"string15\" ) ( \"string16\" ) ( \"sseb35\" ) ( \"plutonyck\" ) ( \"fagerving\" ) ( \"string17\" ) ( \"string18\" ) ( \"string19\" ) ( \"string20\" ) ( \"string21\" ) ( \"string22\" ) ( \"Slatefr\" ) ( \"lefred\" ) ( \"MySQL\" ) ( \"numerennes\" ) ( \"PoulpyWP\" ) ( \"ash_crow\" ) ( \"string23\" ) ( \"string24\" ) ( \"string25\" ) ( \"kallmane\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_8974", "question": "Articles citing \"Roles of Tom70 in import of presequence-containing mitochondrial proteins\"", "sparql": "SELECT ?citingArticle WHERE { ?citingArticle wdt:P2860 wd:Q33505156 .}", "paraphrases": ["Which scientific articles cite the study on the roles of Tom70 in mitochondrial protein import?", "List all papers that reference the article about Tom70\u2019s role in mitochondrial presequence import."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q33505156> . }"}}
{"id": "test_8975", "question": "All properties and values for the academic article \"Regulation of endoplasmic reticulum stress-induced cell death by ATF4 in neuroectodermal tumor cells\".", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?value WHERE {\n  wd:Q39761314 ?property ?value .\n}", "paraphrases": ["What are all the properties and their values associated with the 2009 scientific article on ATF4 and neuroectodermal tumor cells?", "Show me every piece of data (properties and values) stored in Wikidata about the article titled \"Regulation of endoplasmic reticulum stress-induced cell death by ATF4 in neuroectodermal tumor cells\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q39761314> ?var1 ?var2 . }"}}
{"id": "test_8976", "question": "What biological processes are part of the incretin synthesis, secretion, and inactivation pathway, and what broader metabolic category does it belong to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subject ?subjectLabel ?property WHERE {\n  ?subject ?property wd:Q45317723 .\n  FILTER(?property IN(wdt:P361 , wdt:P527))\n  OPTIONAL {\n    ?subject rdfs:label ?subjectLabel .\n    FILTER(LANG(?subjectLabel) = \"en\")\n  }\n}", "paraphrases": ["Components and parent category of the incretin pathway in humans.", "List the substances and processes that are part of incretin synthesis, secretion, and inactivation, and what system it is part of."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q45317723> . }"}}
{"id": "test_8977", "question": "Writers with occupation \"writer\" in Wikidata", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?writer ?writerLabel WHERE {\n  ?writer wdt:P106 wd:Q36180 .\n  ?writer rdfs:label ?writerLabel .\n  FILTER(LANG(?writerLabel) = \"en\")\n}", "paraphrases": ["Who are the people whose occupation is writer?", "List the names of all writers in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q36180> . }"}}
{"id": "test_8978", "question": "What are the direct properties and values associated with the academic article \"Association of the human SUMO-1 protease SENP2 with the nuclear pore\"?", "sparql": "SELECT ?property ?value WHERE { wd:Q24292472 ?property ?value . FILTER(STRSTARTS(STR(?property), \"http://www.wikidata.org/prop/direct/\")) }", "paraphrases": ["Show me all the information available about this scientific paper, such as its title, authors, publication date, and PubMed ID.", "What does Wikidata know about the 2002 paper on SENP2 and the nuclear pore?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q24292472> ?var1 ?var2 . }"}}
{"id": "test_8979", "question": "What are the title, publication date, PubMed ID, PMC ID, ResearchGate ID, main subjects, and multilingual descriptions of the article \"Control of cell growth by the SCF and APC/C ubiquitin ligases\"?", "sparql": "SELECT ?title ?publicationDate ?pubmedId ?pmcId ?researchGateId ?mainSubject ?description ?language WHERE { wd:Q24647543 wdt:P1476 ?title . wd:Q24647543 wdt:P577 ?publicationDate . OPTIONAL { wd:Q24647543 wdt:P698 ?pubmedId . } OPTIONAL { wd:Q24647543 wdt:P932 ?pmcId . } OPTIONAL { wd:Q24647543 wdt:P5875 ?researchGateId . } OPTIONAL { wd:Q24647543 wdt:P921 ?mainSubject . } OPTIONAL { wd:Q24647543 schema:description ?description . FILTER(LANG(?description) != \"\") BIND(LANG(?description) AS ?language) } }", "paraphrases": ["Can you provide the publication details and descriptions in different languages for the scientific article titled \"Control of cell growth by the SCF and APC/C ubiquitin ligases\"?", "Show me all available metadata for the 2009 scientific article on cell growth controlled by SCF and APC/C ubiquitin ligases, including its identifiers and translations of its description."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q24647543> ?var1 ?var2 . }"}}
{"id": "test_8980", "question": "English and German Wikipedia pages for the movie with IMDb ID tt1243955", "sparql": "SELECT ?movie ?wikipediaPage WHERE { ?movie wdt:P345 \"tt1243955\" . ?wikipediaPage schema:about ?movie . { ?wikipediaPage schema:inLanguage \"en\" . } UNION { ?wikipediaPage schema:inLanguage \"de\" . } }", "paraphrases": ["What are the English and German Wikipedia articles about the movie with IMDb ID tt1243955?", "Show me the English and German Wikipedia pages linked to the movie identified by tt1243955 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1243955\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8981", "question": "What are the English or German Wikipedia pages for the movie with IMDb ID tt7278178?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipedia_page WHERE {\n  ?item wdt:P345 \"tt7278178\" .\n  ?wikipedia_page schema:about ?item .\n  {\n    ?wikipedia_page schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipedia_page schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Can you find the Wikipedia articles in English or German about the film \"World of Tomorrow Episode Two\"?", "Which language versions of Wikipedia have articles about the IMDb item tt7278178?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt7278178\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8982", "question": "What is the English Wikipedia page for the movie with IMDb ID tt6687748?", "sparql": "SELECT ?item ?wikipediaPage WHERE { ?item wdt:P345 \"tt6687748\" . ?wikipediaPage schema:about ?item . ?wikipediaPage schema:inLanguage \"en\" . }", "paraphrases": ["Can you find the English Wikipedia article for the film identified by tt6687748 on IMDb?", "Show me the English Wikipedia link for the movie that has the IMDb identifier tt6687748."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6687748\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8983", "question": "Characters portrayed as Hobbits in The Lord of the Rings films", "sparql": "PREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?character WHERE {\n  ?film wdt:P179 wd:Q190214 .\n  ?film p:P161 ?statement .\n  ?statement pq:P453 ?character .\n  ?character wdt:P31 wd:Q74359 .\n}", "paraphrases": ["Which characters in The Lord of the Rings movie trilogy are instances of Hobbits?", "List all Hobbit characters played in The Lord of the Rings film trilogy."], "info": {"raw_sparql": "SELECT ?var1 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var2 <http://www.wikidata.org/prop/direct/P179> <http://www.wikidata.org/entity/Q190214> ; <http://www.wikidata.org/prop/P161> ?var3 . ?var3 <http://www.wikidata.org/prop/qualifier/P453> ?var1 ; <http://www.wikidata.org/prop/statement/P31> <http://www.wikidata.org/entity/Q74359> . } LIMIT 100"}}
{"id": "test_8984", "question": "What properties and values are associated with the number 7251 in Wikidata?", "sparql": "SELECT ?property ?value WHERE { wd:Q19260324 ?property ?value } LIMIT 100", "paraphrases": ["Can you show me all the information Wikidata has about the natural number 7251?", "Tell me everything Wikidata knows about 7251, including its type, factors, and descriptions in different languages."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entityQ7251> ?var1 ?var2 . } LIMIT 100"}}
{"id": "test_8985", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0368089?", "sparql": "SELECT ?movie ?wikipediaPage WHERE { ?movie wdt:P345 \"tt0368089\" . ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Show me the Wikipedia articles in English and German about the film \"November\" (2004).", "Which language versions of Wikipedia have articles about the movie identified by tt0368089?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0368089\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8986", "question": "What are some specific types of biochemists?", "sparql": "SELECT ?subclass WHERE { ?subclass wdt:P279 wd:Q2919046 }", "paraphrases": ["Can you list the subclasses of the profession \"biochemist\"?", "What specialized fields fall under the category of biochemistry?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q35703> . }"}}
{"id": "test_8987", "question": "What are some subclasses of film?", "sparql": "SELECT ?subclass ?subclassLabel WHERE { ?subclass wdt:P279 wd:Q11424 . ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") } LIMIT 100", "paraphrases": ["Can you list the types of films that are subcategories of cinema?", "Which film genres or categories are directly classified as narrower types of film?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/279> <http://www.wikidata.org/entity/Q11424> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 100"}}
{"id": "test_8988", "question": "What is the Wikidata item for the scholarly article \"De la grammatologie\" and what type of work is it?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?instanceOf WHERE {\n  VALUES ?item {\n    wd:Q119081609\n  }\n  ?item wdt:P31 ?instanceOf .\n}", "paraphrases": ["Is \"De la grammatologie\" classified as a book or a scholarly article in Wikidata?", "Can you find the Wikidata entry for Jacques Derrida's \"De la grammatologie\" and tell me its instance type?"], "info": {"raw_sparql": "SELECT * WHERE { <https://gl.wikipedia.org/wiki/De_la_grammatologie> <http://schema.org/about> ?var1 . ?var1 ?var2 ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q571> . }"}}
{"id": "test_8989", "question": "Fictional characters in films and their film categories", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?character ?characterLabel ?film ?filmLabel ?subclass ?subclassLabel ?superclass ?superclassLabel WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?character wdt:P31 wd:Q95074 .\n  ?character wdt:P1441 ?film .\n  ?subclass wdt:P279 ?superclass .\n  ?superclass wdt:P279 wd:Q11424 .\n  FILTER ( ?subclass != ?superclass ) OPTIONAL {\n    ?character rdfs:label ?characterLabel .\n    FILTER ( LANG( ?characterLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?film rdfs:label ?filmLabel .\n    FILTER ( LANG( ?filmLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?subclass rdfs:label ?subclassLabel .\n    FILTER ( LANG( ?subclassLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?superclass rdfs:label ?superclassLabel .\n    FILTER ( LANG( ?superclassLabel ) = \"en\" )\n  }\n}\nLIMIT 10", "paraphrases": ["Which fictional characters appear in which films, and what are the film\u2019s subcategories?", "List fictional characters along with the films they appear in and the hierarchical film genres those films belong to."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q11424> . ?var2 <http://www.wikidata.org/prop/direct/P279> ?var1 . ?var3 <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var4 <http://www.wikidata.org/prop/direct/P453> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_8990", "question": "What are the English and German Wikipedia articles about the movie with IMDb ID tt0119273?", "sparql": "SELECT ?movie ?wikipedia_article WHERE { ?movie wdt:P345 \"tt0119273\" . ?wikipedia_article schema:about ?movie . { ?wikipedia_article schema:inLanguage \"en\" . } UNION { ?wikipedia_article schema:inLanguage \"de\" . } }", "paraphrases": ["Show me the Wikipedia pages in English and German for the film Heavy Metal 2000.", "Which Wikipedia articles in English or German cover the movie identified by tt0119273 on IMDb?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0119273\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8991", "question": "Images of Jules Cambon with SNAC ARK ID w6bp1qpv", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6bp1qpv\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What images are associated with the person having the SNAC ARK ID w6bp1qpv?", "Show me the Wikimedia Commons images for the individual identified by the SNAC ARK ID w6bp1qpv."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6bp1qpv\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_8992", "question": "Does Wikidata contain an entity with GND ID 108911513X?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P227 \"108911513X\" .\n}", "paraphrases": ["Is there a Wikidata item for S. Donald Stookey identified by the GND ID 108911513X?", "Confirm if the German National Library ID 108911513X is assigned to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"108911513X\". }"}}
{"id": "test_8993", "question": "What is the English or German Wikipedia page for the film with IMDb ID tt1046245?", "sparql": "SELECT ?film ?wikipedia_page WHERE { ?film wdt:P345 \"tt1046245\" . ?wikipedia_page schema:about ?film . { ?wikipedia_page schema:inLanguage \"en\" . } UNION { ?wikipedia_page schema:inLanguage \"de\" . } }", "paraphrases": ["Can you find the Wikipedia article about the movie Cross (2011) in either English or German?", "Show me the Wikipedia page linked to the film with IMDb identifier tt1046245, specifically in English or German language."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1046245\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8994", "question": "List all isotopes and their English names from Wikidata.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?isotope ?label WHERE {\n  ?isotope ( wdt:P31 / wdt:P279 * ) wd:Q25276 .\n  OPTIONAL {\n    ?isotope rdfs:label ?label .\n    FILTER ( LANG( ?label ) = 'en' )\n  }\n}", "paraphrases": ["What are all the isotopes in Wikidata and what are their English labels?", "Show me the English names of all entities classified as isotopes or subclasses of isotopes in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q25276> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_8995", "question": "English and German Wikipedia pages for the film with IMDb ID tt2007387", "sparql": "SELECT ?item ?wikipediaPage WHERE { ?item wdt:P345 \"tt2007387\" . ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["What are the English and German Wikipedia articles for the movie \"The Front Line\" (IMDb: tt2007387)?", "Show me the English and German Wikipedia links for the film identified by IMDb ID tt2007387."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2007387\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8996", "question": "English descriptions of people with Great Russian Encyclopedia Online ID 2288535", "sparql": "SELECT ?item ?description WHERE { ?item wdt:P2924 \"2288535\" . OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Who are the individuals listed in the Great Russian Encyclopedia Online with ID 2288535, and what are their English descriptions?", "Show me the English-language biographical descriptions for entries in the Great Russian Encyclopedia Online with the ID 2288535."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"2288535\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8997", "question": "List scholarly articles authored by Francesco Iorio, including their publication venues, types, co-authors, and publication dates, sorted by most recent first.", "sparql": "SELECT ( MIN( ?pubDate ) AS ?earliestPubDate ) ?work ?workLabel ( GROUP_CONCAT( DISTINCT ?typeLabel ; SEPARATOR = \", \" ) AS ?types ) ( SAMPLE( ?numPages ) AS ?samplePages ) ?publication ?publicationLabel ( GROUP_CONCAT( DISTINCT ?authorLabel ; SEPARATOR = \", \" ) AS ?allAuthors ) WHERE { ?work wdt:P50 wd:Q42877461 . OPTIONAL { ?work wdt:P577 ?pubDate . } OPTIONAL { ?work wdt:P31 ?type . ?type rdfs:label ?typeLabel . FILTER ( LANG( ?typeLabel ) = \"en\" ) . } OPTIONAL { ?work wdt:P1104 ?numPages . } OPTIONAL { ?work wdt:P1433 ?publication . ?publication rdfs:label ?publicationLabel . FILTER ( LANG( ?publicationLabel ) = \"en\" ) . } OPTIONAL { ?work wdt:P50 ?author . ?author rdfs:label ?authorLabel . FILTER ( LANG( ?authorLabel ) = \"en\" ) . } } GROUP BY ?work ?workLabel ?publication ?publicationLabel ORDER BY DESC ( ?earliestPubDate )", "paraphrases": ["What are the most recent publications by Francesco Iorio, and who are the co-authors and journals involved?", "Show me all the research papers written by Francesco Iorio, with their publication dates, journals, types (like scholarly article), and a list of all authors, ordered from newest to oldest."], "info": {"raw_sparql": "SELECT( MIN ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ( GROUP_CONCAT ( DISTINCT ?var4Label ; SEPARATOR = \", \" ) AS ?var5 )( SAMPLE ( ?var6 ) AS ?var7 ) ?var8 ?var8Label ( GROUP_CONCAT ( DISTINCT ?var9Label ; SEPARATOR = \", \" ) AS ?var10 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q42877461> . ?var3 <http://www.wikidata.org/prop/direct/P50> ?var11 . OPTIONAL { ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12 . FILTER ( ( ( LANG ( ?var12 ) = \"en\" ) ) ) . } BIND ( COALESCE ( ?var12 , SUBSTR ( STR ( ?var11 ) ,\"32\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var9Label ). OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . } OPTIONAL { BIND ( <http://www.w3.org/2001/XMLSchema#date> ( ?var13 ) AS ?var1 ). ?var3 <http://www.wikidata.org/prop/direct/P577> ?var13 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1104> ?var6 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,no,ru,sv,zh\". } } GROUP BY ?var3 ?var3Label ?var8 ?var8Label ORDER BY DESC( ?var2 )"}}
{"id": "test_8998", "question": "What are the English and German Wikipedia pages for the film/TV show with IMDb ID tt4505432?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipediaPage WHERE {\n  ?item wdt:P345 \"tt4505432\" .\n  ?wikipediaPage schema:about ?item .\n  ?wikipediaPage schema:inLanguage ?lang .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n}", "paraphrases": ["Show me the Wikipedia articles in English and German about the item identified by tt4505432 on IMDb.", "Find the Wikipedia links in English and German that are about the movie or show with IMDb identifier tt4505432."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt4505432\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_8999", "question": "What was the primary goal of the Apollo space program?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?goal ?goalLabel WHERE {\n  wd:Q46611 wdt:P3712 ?goal .\n  ?goal rdfs:label ?goalLabel .\n  FILTER(LANG(?goalLabel) = \"en\")\n}", "paraphrases": ["What did the Apollo space program aim to achieve?", "What outcome was the Apollo space program designed for?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3712> * <http://www.wikidata.org/entity/Q430728> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3712> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_9000", "question": "What are the identifiers and image associated with the entomologist Lucien Chopard on Wikidata, and which page on species.wikimedia.org is about him?", "sparql": "SELECT ?label ?isni ?viaf ?orcid ?ipni ?zooank ?image ?speciesPage WHERE { wd:Q951746 rdfs:label ?label . FILTER(LANG(?label) = \"en\") OPTIONAL { wd:Q951746 wdt:P213 ?isni } OPTIONAL { wd:Q951746 wdt:P214 ?viaf } OPTIONAL { wd:Q951746 wdt:P496 ?orcid } OPTIONAL { wd:Q951746 wdt:P586 ?ipni } OPTIONAL { wd:Q951746 wdt:P2006 ?zooank } OPTIONAL { wd:Q951746 wdt:P18 ?image } ?speciesPage schema:about wd:Q951746 ; schema:isPartOf <https://species.wikimedia.org/> .}", "paraphrases": ["Can you find the ISNI, VIAF, and other author IDs for Lucien Chopard, along with his image and the corresponding page on species.wikimedia.org?", "Show me the English label, authority control identifiers, and image for Lucien Chopard, and confirm his page on species.wikimedia.org."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"L Chopard\"@en . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/isPartOf> <https://species.wikimedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P213> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P214> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P586> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2006> ?var8 . } }"}}
{"id": "test_9001", "question": "Which properties are most commonly used to describe lighthouses in Wikidata, and how often are they used?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?property ?propertyLabel ( COUNT( ?item ) AS ?count ) WHERE {\n  ?property wikibase:directClaim ?statementProperty .\n  ?item ?statementProperty wd:Q39715 .\n  ?property rdfs:label ?propertyLabel .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" )\n}\nGROUP BY ?property ?propertyLabel\nORDER BY DESC ( ?count )", "paraphrases": ["What are the top properties used in statements about lighthouses, ranked by frequency, and what are their English labels?", "Show me the properties most frequently associated with lighthouses in Wikidata, including their labels and usage counts, sorted from most to least common."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( CONCAT ( \"string1\", STRAFTER ( STR ( ?var1 ) , \"y/\" ) , \"|\", STR ( ?var1Label ) , \"(\", STRAFTER ( STR ( ?var1 ) , \"y/\" ) , \")]]\" ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var1 <http://wikiba.se/ontology#directClaim> ?var5 . ?var3 ?var5 <http://www.wikidata.org/entity/Q39715> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var4 )"}}
{"id": "test_9002", "question": "List of all isotopes and their English names", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?isotope ?isotopeLabel WHERE {\n  {\n    ?isotope ( wdt:P31 / wdt:P279 * ) wd:Q25276 .\n  } MINUS {\n    ?isotope wdt:P279 / wdt:P279 wd:Q25276 .\n  }\n  OPTIONAL {\n    ?isotope rdfs:label ?isotopeLabel .\n    FILTER ( LANG( ?isotopeLabel ) = \"en\" )\n  }\n}", "paraphrases": ["What are the known isotopes, including their English labels, excluding indirect subclasses?", "Show me all direct instances and subclasses of chemical isotope with their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q25276> . } MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P279> / <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q25276> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_9003", "question": "What is the English label and description of the concept with AAT ID 300055193?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P1014 \"300055193\" . OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") }", "paraphrases": ["Find the English name and description of the item identified by the Art & Architecture Thesaurus ID 300055193.", "Which entity in Wikidata has the AAT ID 300055193, and what is its English label and description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1014> \"300180874\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9004", "question": "What is the main category for the list \"List of cities in Indonesia\"?", "sparql": "SELECT ?category ?categoryLabel ?type ?typeLabel WHERE { ?category wdt:P301 wd:Q311998 . OPTIONAL { ?category wdt:P31 ?type . } ?category rdfs:label ?categoryLabel . ?type rdfs:label ?typeLabel . FILTER(LANG(?categoryLabel) = \"en\" || LANG(?categoryLabel) = \"\") FILTER(LANG(?typeLabel) = \"en\" || LANG(?typeLabel) = \"\") } LIMIT 100", "paraphrases": ["Which Wikimedia category is linked as the main topic to the list of cities in Indonesia, and what type of entity is it?", "Can you tell me the category that groups articles about cities in Indonesia, and confirm it's a Wikimedia category?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P301> <http://www.wikidata.org/entity/Q311998> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } } LIMIT 100"}}
{"id": "test_9005", "question": "Countries with their coordinates, population, English demonym, and Human Development Index (HDI).", "sparql": "SELECT ?country ?coordinates ?population ?demonym ?hdi WHERE { ?country wdt:P31 wd:Q6256 . OPTIONAL { ?country wdt:P625 ?coordinates . } OPTIONAL { ?country wdt:P1082 ?population . } OPTIONAL { ?country wdt:P1549 ?demonym . FILTER (LANG(?demonym) = \"en\") } OPTIONAL { ?country wdt:P1081 ?hdi . } }", "paraphrases": ["What are the coordinates, population, English demonym, and HDI value for each country?", "Can you list all countries along with their geographic coordinates, population figures, English demonyms, and Human Development Index scores?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1549> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1081> ?var5 . } }"}}
{"id": "test_9006", "question": "Which Wikidata items have the Twitter usernames LOSverige, HRF_Facket, or ifmetall?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitter WHERE {\n  ?item wdt:P2002 ?twitter .\n  VALUES ?twitter {\n    \"LOSverige\" \"HRF_Facket\" \"ifmetall\"\n  }\n}", "paraphrases": ["What entities on Wikidata are associated with the Twitter handles @LOSverige, @HRF_Facket, and @ifmetall?", "Find the Wikidata entries for the Swedish trade unions that use the Twitter accounts LOSverige, HRF_Facket, and ifmetall."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"LOSverige\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"ifmetall\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"olapet\" ) ( \"HRF_Facket\" ) ( \"string12\" ) ( \"string13\" ) ( \"string14\" ) ( \"MobergsR\" ) ( \"string15\" ) ( \"string16\" ) ( \"string17\" ) ( \"string18\" ) ( \"string19\" ) ( \"string20\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_9007", "question": "List EU member countries by population in descending order.", "sparql": "SELECT ?country ?countryLabel ?population WHERE { ?country wdt:P31 wd:Q6256 . ?country wdt:P1082 ?population . ?country wdt:P463 wd:Q458 . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") } ORDER BY DESC(?population)", "paraphrases": ["Which countries are members of the European Union, and what are their populations, sorted from highest to lowest?", "Show me the population of each European Union member state, ordered from the most populous to the least."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q458> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY DESC( ?var2 )"}}
{"id": "test_9008", "question": "Who are the people with the surname Belleudy?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person ?personLabel WHERE {\n  ?person wdt:P31 wd:Q5 ; wdt:P734 wd:Q105717129 .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\" || LANG(?personLabel) = \"fr\")\n}", "paraphrases": ["Can you list the French and English names of humans whose family name is Belleudy?", "Show me the names of people named Belleudy who are human, using their English or French labels."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Belleudy\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_9009", "question": "What are the English and German Wikipedia pages for the film with IMDb ID tt0435680?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?film ?wikipediaPage WHERE {\n  ?film wdt:P345 \"tt0435680\" .\n  ?wikipediaPage schema:about ?film .\n  {\n    ?wikipediaPage schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipediaPage schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Which English and German Wikipedia articles are about the movie Kidulthood?", "Show me the English and German Wikipedia links for the film identified by IMDb ID tt0435680."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0435680\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9010", "question": "Which Wikidata items have Twitter handles 'elonmusk' or 'NASA'?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterHandle WHERE {\n  ?item wdt:P2002 ?twitterHandle .\n  VALUES ?twitterHandle {\n    \"elonmusk\" \"NASA\"\n  }\n}", "paraphrases": ["Who are the entities on Wikidata with the Twitter username 'elonmusk' or 'NASA'?", "List the Wikidata entities that are linked to the Twitter accounts 'elonmusk' or 'NASA'."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"philens72\" ) ( \"string2\" ) ( \"LigerSo\" ) ( \"LeMansDev\" ) ( \"adalmieres\" ) ( \"LBethoux\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_9011", "question": "What is the English Wikipedia page for the movie with IMDb ID tt0360940?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipediaPage WHERE {\n  ?item wdt:P345 \"tt0360940\" .\n  ?wikipediaPage schema:about ?item .\n  {\n    ?wikipediaPage schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipediaPage schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Show me the Wikipedia articles in English or German about the film identified by IMDb number tt0360940.", "Find the Wikipedia pages in English or German that are about the movie with the IMDb identifier tt0360940."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0360940\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9012", "question": "Who are the film directors, and when did they die (if applicable)?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?director ?dateOfDeath WHERE {\n  ?director wdt:P106 wd:Q2526255 .\n  OPTIONAL {\n    ?director wdt:P570 ?dateOfDeath .\n  }\n}\nLIMIT 100", "paraphrases": ["List of film directors and their dates of death.", "Show me up to 100 film directors along with their death dates, if known."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,en\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q2526255> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . } } LIMIT 100"}}
{"id": "test_9013", "question": "What is the Wikidata item for the Twitter/X username \"ucu\"?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"ucu\" } }", "paraphrases": ["Which organization has the Twitter handle @ucu?", "Who uses the Twitter username \"ucu\" on Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"sussexucu\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_9014", "question": "Who are the people with the surname Bachelot?", "sparql": "SELECT DISTINCT ?person WHERE { ?person wdt:P734 wd:Q21453992 . ?person wdt:P31 wd:Q5 . }", "paraphrases": ["Can you list all humans whose last name is Bachelot?", "Which individuals are known to carry the Bachelot family name?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"bachelot\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_9015", "question": "How many Australian rules football players died each month starting from 2017?", "sparql": "SELECT (COUNT(?player) AS ?count) WHERE { ?player wdt:P31 wd:Q5 ; wdt:P106 wd:Q13414980 ; wdt:P570 ?deathDate ; wdt:P569 ?birthDate . BIND(YEAR(?deathDate) AS ?deathYear) BIND(MONTH(?deathDate) AS ?deathMonthNum) BIND(CONCAT(STR(?deathYear), STR(?deathMonthNum)) AS ?deathMonth) FILTER(?deathYear >= 2017) } GROUP BY ?deathMonth ORDER BY DESC(?deathMonth)", "paraphrases": ["Can you show the monthly count of deceased Australian footballers from 2017 onward?", "What is the number of deaths per month among AFL players who died in or after 2017?"], "info": {"raw_sparql": "SELECT DISTINCT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; ( <http://www.wikidata.org/prop/P570> / <http://www.wikidata.org/prop/statement/value/P570> ) [ <http://wikiba.se/ontology#timeValue> ?var4 ; <http://wikiba.se/ontology#timePrecision> ?var5 ] ; ( <http://www.wikidata.org/prop/P569> / <http://www.wikidata.org/prop/statement/value/P569> ) [ <http://wikiba.se/ontology#timeValue> ?var6 ] . ?var3 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q13414980> . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P54> ?var7 . } BIND ( YEAR ( ?var4 ) AS ?var8 ). BIND ( CONCAT ( YEAR ( ?var4 ) , MONTH ( ?var4 ) ) AS ?var1 ). BIND ( ( ( ?var8 - YEAR ( ?var6 ) ) - IF ( ( MONTH ( ?var4 ) < MONTH ( ?var6 ) ) || ( MONTH ( ?var4 ) = MONTH ( ?var6 ) ) && ( DAY ( ?var4 ) < DAY ( ?var6 ) ),\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var9 ). FILTER ( ( ( ?var8 >= \"2017\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ORDER BY DESC( ?var1 )"}}
{"id": "test_9016", "question": "Current members of city and county councils in Taiwan, including their political party and electoral district.", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?administrativeDivision ?administrativeDivisionLabel ?councilMember ?councilMemberLabel ?party ?partyLabel ?electoralDistrict ?electoralDistrictLabel ?position ?positionLabel WHERE {\n  VALUES ?administrativeDivisionType {\n    wd:Q2225003 wd:Q83020 wd:Q706447\n  }\n  ?administrativeDivision ( wdt:P31 / wdt:P279 * ) ?administrativeDivisionType ; wdt:P17 wd:Q865 .\n  ?legislature wdt:P1001 ?administrativeDivision ; ( wdt:P31 / wdt:P279 * ) wd:Q11204 .\n  ?positionInstance wdt:P361 ?legislature ; wdt:P279 wd:Q708492 . MINUS {\n    ?administrativeDivision wdt:P576 []\n  } MINUS {\n    ?legislature wdt:P576 []\n  } MINUS {\n    ?positionInstance wdt:P576 []\n  }\n  ?councilMember p:P39 ?positionStatement .\n  ?positionStatement ps:P39 ?positionInstance ; pq:P4100 ?party ; pq:P580 ?startDate ; pq:P768 ?electoralDistrict .\n  OPTIONAL {\n    ?positionStatement pq:P582 ?endDate\n  }\n  BIND( COALESCE ( ?endDate , \"9999-12-31T00:00:00Z\" ^^ xsd:dateTime ) AS ?endDateCoalesced ) FILTER ( ?endDateCoalesced >= NOW () ) OPTIONAL {\n    ?administrativeDivision rdfs:label ?administrativeDivisionLabel .\n    FILTER ( LANG( ?administrativeDivisionLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?councilMember rdfs:label ?councilMemberLabel .\n    FILTER ( LANG( ?councilMemberLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?party rdfs:label ?partyLabel .\n    FILTER ( LANG( ?partyLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?electoralDistrict rdfs:label ?electoralDistrictLabel .\n    FILTER ( LANG( ?electoralDistrictLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?positionInstance rdfs:label ?positionLabel .\n    FILTER ( LANG( ?positionLabel ) = \"en\" )\n  }\n}\nORDER BY ASC ( ?councilMember )", "paraphrases": ["Who are the currently serving council members in Taiwan\u2019s municipalities and counties, and which parties and constituencies do they represent?", "List all active council members in Taiwan\u2019s special municipalities, provincial cities, and counties, along with their affiliated political parties and the electoral districts they represent."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var4Label ?var5 ?var5Label WHERE { VALUES ( ?var6 ) { ( <http://www.wikidata.org/entity/Q2225003> ) ( <http://www.wikidata.org/entity/Q83020> ) ( <http://www.wikidata.org/entity/Q706447> ) } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var6 ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q865> . ?var7 <http://www.wikidata.org/prop/direct/P1001> ?var1 ; ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11204> . ?var8 <http://www.wikidata.org/prop/direct/P361> ?var7 ; <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q708492> . MINUS { ?var8 <http://www.wikidata.org/prop/direct/P576> [] . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P576> [] . } MINUS { ?var7 <http://www.wikidata.org/prop/direct/P576> [] . } ?var9 <http://www.wikidata.org/prop/statement/P39> ?var8 ; <http://www.wikidata.org/prop/qualifier/P4100> ?var3 ; <http://www.wikidata.org/prop/qualifier/P580> ?var10 ; <http://www.wikidata.org/prop/qualifier/P768> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P31> ?var11 . OPTIONAL { ?var9 <http://www.wikidata.org/prop/qualifier/P582> ?var12 . } BIND ( COALESCE ( ?var12 , \"9999-12-31T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) AS ?var13 ). ?var9 <http://www.wikidata.org/prop/statement/P39> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P31> ?var14 . ?var2 <http://www.wikidata.org/prop/P39> ?var9 . FILTER ( ( ( ?var13 >= NOW ( ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,zh-tw\". } } ORDER BY ASC( ?var2 )"}}
{"id": "test_9017", "question": "What are the coordinates of the seven emirates of the United Arab Emirates?", "sparql": "SELECT ?emirate ?location WHERE { ?emirate wdt:P31 wd:Q19833031 ; wdt:P625 ?location .}", "paraphrases": ["Can you list the emirates of the UAE along with their geographic coordinates?", "Which administrative divisions of the UAE have defined geographic locations?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q19833031> ; <http://www.wikidata.org/prop/direct/P625> ?var2 . }"}}
{"id": "test_9018", "question": "What are the English and German Wikipedia/Wikiquote pages for the movie with IMDb ID tt1104733?", "sparql": "SELECT ?movie ?wiki_page WHERE { ?movie wdt:P345 \"tt1104733\" . ?wiki_page schema:about ?movie . { ?wiki_page schema:inLanguage \"en\" . } UNION { ?wiki_page schema:inLanguage \"de\" . } }", "paraphrases": ["Which language versions of Wikipedia or Wikiquote pages are linked to the film Hamlet 2 on IMDb?", "Show me the English and German external links (Wikipedia/Wikiquote) for the movie identified by IMDb ID tt1104733."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1104733\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9019", "question": "What is the image associated with the SNAC ARK ID w61w3c0s?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w61w3c0s\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Show me the Commons image for the person identified by the SNAC ARK ID w61w3c0s.", "Find the picture of the individual whose SNAC ARK ID is w61w3c0s."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6rf637s\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9020", "question": "Human with French name \"Victorin\"", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person WHERE {\n  ?person rdfs:label \"Victorin\" @fr .\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["Who is the person named \"Victorin\" in French?", "Tell me the identity of the human known as Victorin in French."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Victorin\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_9021", "question": "Movie with IMDb tt5969642, English title, English or German Wikipedia article", "sparql": "SELECT ?movieLabel ?articleLabel ?language WHERE { wd:Q97579870 wdt:P345 \"tt5969642\" . OPTIONAL { ?article schema:about wd:Q97579870 ; schema:inLanguage ?language . FILTER(?language = \"en\" || ?language = \"de\") . ?article rdfs:label ?articleLabel . FILTER(LANG(?articleLabel) = ?language) } wd:Q97579870 rdfs:label ?movieLabel . FILTER(LANG(?movieLabel) = \"en\") }", "paraphrases": ["What is the English title of the movie with IMDb ID tt5969642, and does it have English or German Wikipedia pages?", "Show me the English title of the movie identified by IMDb ID tt5969642, along with any associated English or German Wikipedia article titles."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5969642\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9022", "question": "List advanced driver-assistance systems (ADAS) with their images.", "sparql": "SELECT ?adas ?label ?image WHERE { ?adas wdt:P31 wd:Q1060280 . OPTIONAL { ?adas wdt:P18 ?image . } ?adas rdfs:label ?label . FILTER(LANG(?label) = \"en\") } LIMIT 100", "paraphrases": ["What are the advanced driver-assistance systems, and which ones have images available on Wikimedia Commons?", "Show me the names of all ADAS systems in English and include their associated images if they exist."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1060280> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_9023", "question": "Image of Paulus Potter with SNAC ARK ID w6mk6zc2", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?person wdt:P3430 \"w6mk6zc2\" .\n  ?person wdt:P18 ?image .\n}", "paraphrases": ["What is the image associated with Paulus Potter in the SNAC system using ARK ID w6mk6zc2?", "Show me the Wikimedia Commons image of the person identified by SNAC ARK ID w6mk6zc2."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6mk6zc2\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9024", "question": "Wikipedia and Wikiquote pages in English or German about the movie with IMDb ID tt0784972", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?page WHERE {\n  ?movie wdt:P345 \"tt0784972\" .\n  ?page schema:about ?movie .\n  {\n    ?page schema:inLanguage \"en\"\n  } UNION {\n    ?page schema:inLanguage \"de\"\n  }\n}", "paraphrases": ["What are the English and German language Wikipedia and Wikiquote pages for the movie \"The Brothers Solomon\"?", "Show me all language-specific pages about the movie \"The Brothers Solomon\" that are in English or German."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0784972\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9025", "question": "What is the English label and description of the Great Russian Encyclopedia entry with ID 1850712?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P2924 \"1850712\" . OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") . } ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") . }", "paraphrases": ["Who is the person or entity identified by the ID 1850712 in the Great Russian Encyclopedia Online, and what is their English description?", "Please provide the English name and description of the mythological figure listed in the Great Russian Encyclopedia Online under ID 1850712."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"1850712\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9026", "question": "What are the English or German Wikipedia pages for the film with IMDb ID tt0869152?", "sparql": "SELECT ?film ?wikipedia_page WHERE {\n  ?film wdt:P345 \"tt0869152\" .\n  ?wikipedia_page schema:about ?film .\n  {\n    ?wikipedia_page schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipedia_page schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Show me the Wikipedia articles in English or German about the movie identified by tt0869152 on IMDb.", "Which Wikipedia pages in English or German discuss the film that has the IMDb identifier tt0869152?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0869152\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9027", "question": "Humans with English and Hebrew labels and their birth dates", "sparql": "SELECT ?human ?labelHe ?labelEn ?birthDate WHERE { ?human wdt:P31 wd:Q5 . ?human rdfs:label ?labelEn . FILTER (LANG(?labelEn) = \"en\") . ?human rdfs:label ?labelHe . FILTER (LANG(?labelHe) = \"he\") . ?human wdt:P569 ?birthDate . } LIMIT 100", "paraphrases": ["Who are some humans that have both an English and a Hebrew label, and what are their birth dates?", "List up to 100 humans along with their English name, Hebrew name, and date of birth."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"he\" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . } LIMIT 100"}}
{"id": "test_9028", "question": "What is the English name and description of the entity with Great Russian Encyclopedia Online ID 2371587?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P2924 \"2371587\" .\n  OPTIONAL {\n    ?item rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["Can you find the English label and description for the entry in the Great Russian Encyclopedia with ID 2371587?", "Which entity has the ID 2371587 in the old Great Russian Encyclopedia Online, and what is its English name and description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"2371587\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9029", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0816436?", "sparql": "SELECT ?item ?wikipedia_page WHERE { ?item wdt:P345 \"tt0816436\" . ?wikipedia_page schema:about ?item . ?wikipedia_page schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Can you show me the Wikipedia articles in English and German about the film Black Water (2007)?", "Which language versions of Wikipedia have articles about the movie identified by tt0816436?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0816436\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9030", "question": "What is the image of the person with SNAC ARK ID w6pg1vmn?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6pg1vmn\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Can you find the Wikimedia Commons image associated with the Social Networks and Archival Context identifier w6pg1vmn?", "Show the image, if any, for the entity identified by the SNAC ARK ID w6pg1vmn."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6pg1vmn\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9031", "question": "Which Wikidata items have Twitter usernames \"ja2ke\" or \"ollymoss\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"ollymoss\" \"LaraLd2416\" \"Dinopunch\" \"Typ01134\" \"ja2ke\"\n  }\n}", "paraphrases": ["Who are the people on Wikidata with the Twitter handles \"ja2ke\" and \"ollymoss\"?", "Show me the Wikidata entities for the Twitter usernames \"ja2ke\" and \"ollymoss\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"shoomlah\" ) ( \"string2\" ) ( \"string3\" ) ( \"LaraLd2416\" ) ( \"Typ01134\" ) ( \"ja2ke\" ) ( \"ollymoss\" ) ( \"Dinopunch\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_9032", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0118589?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipediaPage ?imdbId WHERE {\n  ?movie wdt:P345 \"tt0118589\" .\n  BIND( \"tt0118589\" AS ?imdbId ) ?wikipediaPage schema:about ?movie .\n  {\n    ?wikipediaPage schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipediaPage schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Which Wikipedia articles in English and German are about the film Glitter (IMDb: tt0118589)?", "Show me the English and German Wikipedia links for the movie identified by IMDb ID tt0118589."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0118589\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9033", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0466664?", "sparql": "SELECT ?movie ?wikipediaPage WHERE { ?movie wdt:P345 \"tt0466664\" . ?wikipediaPage schema:about ?movie ; schema:inLanguage ?language . FILTER(?language = \"en\" || ?language = \"de\") }", "paraphrases": ["Show me the Wikipedia articles in English and German about the film Alien Autopsy (2006).", "Which language versions of Wikipedia have articles about the movie identified by tt0466664?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0466664\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9034", "question": "Is there a Wikidata item associated with the OCLC control number 471534439?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P243 \"471534439\" .\n}", "paraphrases": ["Does the OCLC number 471534439 correspond to any entry in Wikidata?", "Is the bibliographic record with OCLC number 471534439 represented in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P243> \"471534439\". }"}}
{"id": "test_9035", "question": "French-named humans called Bruno", "sparql": "SELECT DISTINCT ?item WHERE { ?item rdfs:label \"Bruno\" @fr . ?item wdt:P31 wd:Q5 .}", "paraphrases": ["Who are the humans in Wikidata whose name in French is \"Bruno\"?", "List all humans that have \"Bruno\" as their French label."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"bruno\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_9036", "question": "Living writers on Wikipedia with Goodreads IDs and Commons images, excluding actors, singers, rappers, politicians, and athletes.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?writer ?label ?description ?image ?goodreadsId ?wikipediaPage WHERE {\n  ?writer wdt:P106 wd:Q36180 . MINUS {\n    ?writer wdt:P106 wd:Q10800557\n  }\n  . MINUS {\n    ?writer wdt:P106 wd:Q177220\n  }\n  . MINUS {\n    ?writer wdt:P106 wd:Q2252262\n  }\n  . MINUS {\n    ?writer wdt:P106 wd:Q33999\n  }\n  . MINUS {\n    ?writer wdt:P106 wd:Q82955\n  }\n  . MINUS {\n    ?writer ( wdt:P106 / wdt:P279 * ) wd:Q2066131\n  }\n  .\n  ?writer wdt:P31 wd:Q5 . MINUS {\n    ?writer wdt:P570 ?deathDate\n  }\n  .\n  ?writer rdfs:label ?label .\n  ?writer schema:description ?description .\n  ?writer wdt:P18 ?image .\n  ?writer wdt:P2963 ?goodreadsId .\n  ?wikipediaPage schema:about ?writer ; schema:isPartOf <https://en.wikipedia.org/> .\n  FILTER ( LANG( ?label ) = \"en\" && LANG( ?description ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Who are living human writers who have a Wikipedia page, a photo on Wikimedia Commons, and a Goodreads author profile, but are not actors, singers, rappers, politicians, or athletes?", "List 100 living authors who are not also actors, musicians, or athletes, and who have a Wikipedia entry, an image, and a Goodreads ID."], "info": {"raw_sparql": "SELECT * WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q36180> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q177220> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q2252262> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q10800557> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82955> . } MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q2066131> . } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var1 <http://schema.org/description> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P2963> ?var6 . ?var7 <http://schema.org/about> ?var1 . ?var7 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) && ( LANG ( ?var4 ) = \"en\" ) ) ) . } } LIMIT 100"}}
{"id": "test_9037", "question": "Is there a Wikidata item with OCLC control number 22125719?", "sparql": "ASK WHERE { ?item wdt:P243 \"22125719\" . }", "paraphrases": ["Does the OCLC number 22125719 correspond to any item in Wikidata?", "Check if the bibliographic record with OCLC number 22125719 is present in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P243> \"22125719\". }"}}
{"id": "test_9038", "question": "What are the names, start dates, and images of U.S. presidents?", "sparql": "SELECT ?president ?presidentLabel ?start_date (SAMPLE(?image) AS ?imageSample) WHERE { ?president wdt:P31 wd:Q5 . ?president wdt:P39 wd:Q11696 . ?president wdt:P2031 ?start_date . OPTIONAL { ?president wdt:P18 ?image . } ?president rdfs:label ?presidentLabel . FILTER(LANG(?presidentLabel) = \"en\") } GROUP BY ?president ?presidentLabel ?start_date", "paraphrases": ["Can you list the U.S. presidents along with when they started their term and a photo of them?", "Who are the U.S. presidents, when did their presidencies begin, and what images are available for them?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q11696> . ?var1 <http://www.wikidata.org/prop/direct/P2031> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } GROUP BY ?var1 ?var1Label ?var2"}}
{"id": "test_9039", "question": "What classes does the year 1904 belong to, including its superclasses?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?class WHERE {\n  VALUES ?item {\n    wd:Q2046\n  }\n  ?item wdt:P31 / wdt:P279 * ?class .\n}", "paraphrases": ["What are all the classes (direct and indirect) that the year 1904 is an instance of or a subclass of in Wikidata?", "Show me the full class hierarchy of the year 1904 in Wikidata, from its direct types up to the most general categories."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q2046> ) } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var2 . }"}}
{"id": "test_9040", "question": "Humans who died in 2018, with their birth date, gender, and native name.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?person ?personLabel ?nativeName ?birthDate ?gender WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P570 ?deathDate .\n  OPTIONAL {\n    ?person wdt:P21 ?gender .\n  }\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P1559 ?nativeName .\n  }\n  FILTER(?deathDate >= \"2018-01-01T00:00:00Z\" ^^ xsd:dateTime)\n  FILTER(?deathDate <= \"2018-12-31T00:00:00Z\" ^^ xsd:dateTime)\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}", "paraphrases": ["Who were the people that died in 2018, and what were their birth dates, genders, and native names?", "List all humans who died in 2018, including their English name, date of birth, gender, and native language name if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1559> ?var2 . } FILTER ( ( ( ?var4 >= \"2018-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var4 <= \"2018-12-31T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_9041", "question": "U.S. presidents with female children, their spouses, and images of all three.", "sparql": "SELECT ?presidentLabel ?spouseLabel ?daughter ?presidentImage ?spouseImage WHERE { ?president wdt:P39 wd:Q11696 . ?president rdfs:label ?presidentLabel . FILTER(LANG(?presidentLabel) = \"en\") . ?president wdt:P40 ?daughter . ?daughter wdt:P21 wd:Q6581072 . ?president wdt:P26 ?spouse . ?spouse rdfs:label ?spouseLabel . FILTER(LANG(?spouseLabel) = \"en\") . ?president wdt:P18 ?presidentImage . ?spouse wdt:P18 ?spouseImage .}", "paraphrases": ["Which U.S. presidents have daughters, who are their spouses, and what are the images of the president, spouse, and daughter?", "Show me a list of American presidents, their spouses, their female children, and the images of each person."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { ?var6 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q11696> . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"en\" ) ) ) . ?var6 <http://www.wikidata.org/prop/direct/P40> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var7 <http://www.wikidata.org/prop/direct/P26> ?var6 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . ?var6 <http://www.wikidata.org/prop/direct/P18> ?var4 . ?var7 <http://www.wikidata.org/prop/direct/P18> ?var5 . }"}}
{"id": "test_9042", "question": "Wikipedia and Wikiquote pages in English or German about the movie Buffalo '66 (IMDb: tt0118789)", "sparql": "SELECT ?movie ?page WHERE { ?movie wdt:P345 \"tt0118789\" . ?page schema:about ?movie . ?page schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["What Wikipedia and Wikiquote pages in English or German are about the movie with IMDb ID tt0118789?", "Show me all English and German language pages on Wikipedia and Wikiquote that are about the movie Buffalo '66."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0118789\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9043", "question": "What are some medications and their functional roles?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?medication ?medicationLabel ?roleLabel WHERE {\n  ?medication wdt:P2868 ?role .\n  ?medication wdt:P31 wd:Q12140 .\n  ?medication rdfs:label ?medicationLabel .\n  ?role rdfs:label ?roleLabel .\n  FILTER ( LANG( ?medicationLabel ) = \"en\" ) FILTER ( LANG( ?roleLabel ) = \"en\" )\n}", "paraphrases": ["Which drugs are classified as medications, and what roles do they play in treatment?", "Can you list medications along with the medical roles they serve, such as antibiotic or hormone?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2868> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q12140> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_9044", "question": "What are the most common types of tennis-related organizations or events on Wikidata, excluding humans, clubs, and specific tournament types?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?class ?classLabel(COUNT(DISTINCT ?entity) AS ?count) WHERE {\n  ?entity wdt:P641 wd:Q847 .\n  FILTER(NOT EXISTS {\n    ?entity wdt:P31 wd:Q46190676\n  })\n  .\n  FILTER(NOT EXISTS {\n    ?entity wdt:P31 wd:Q47345468\n  })\n  .\n  FILTER(NOT EXISTS {\n    ?entity wdt:P31 wd:Q47358534\n  })\n  .\n  FILTER(NOT EXISTS {\n    ?entity wdt:P31 wd:Q47403752\n  })\n  .\n  FILTER(NOT EXISTS {\n    ?entity wdt:P31 wd:Q47482648\n  })\n  .\n  FILTER(NOT EXISTS {\n    ?entity wdt:P31 wd:Q47443726\n  })\n  .\n  FILTER(NOT EXISTS {\n    ?entity wdt:P31 wd:Q847017\n  })\n  .\n  FILTER(NOT EXISTS {\n    ?entity wdt:P31 wd:Q29791211\n  })\n  .\n  FILTER(NOT EXISTS {\n    ?entity wdt:P31 wd:Q2485448\n  })\n  .\n  FILTER(NOT EXISTS {\n    ?entity wdt:P31 wd:Q5\n  })\n  .\n  {\n    ?entity wdt:P31 ?class\n  } UNION {\n    ?entity wdt:P279 ?class\n  }\n  ?class rdfs:label ?classLabel .\n  FILTER(LANG(?classLabel) = \"en\")\n}\nGROUP BY ?class ?classLabel\nORDER BY DESC(?count)", "paraphrases": ["Can you list the classes (types) that tennis-associated entities belong to, ranked by how many entities fall under each class?", "Show me the top classes of entities associated with tennis, grouped by their type and sorted by count, while filtering out humans, sports clubs, and tournament editions."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT ( DISTINCT ?var2 ) AS ?var2 )( COUNT ( DISTINCT ?var3 ) AS ?var3 )( COUNT ( DISTINCT ?var4 ) AS ?var5 ) WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var4 <http://www.wikidata.org/prop/direct/P641> <http://www.wikidata.org/entity/Q847> . FILTER ( ( NOT EXISTS { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q46190676> . } ) ) . FILTER ( ( NOT EXISTS { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q47345468> . } ) ) . FILTER ( ( NOT EXISTS { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q47443726> . } ) ) . FILTER ( ( NOT EXISTS { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q47358534> . } ) ) . FILTER ( ( NOT EXISTS { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q47482648> . } ) ) . FILTER ( ( NOT EXISTS { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q47403752> . } ) ) . FILTER ( ( NOT EXISTS { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q847017> . } ) ) . FILTER ( ( NOT EXISTS { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q29791211> . } ) ) . FILTER ( ( NOT EXISTS { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2485448> . } ) ) . FILTER ( ( NOT EXISTS { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . } ) ) . { BIND ( ?var4 AS ?var2 ). ?var4 <http://www.wikidata.org/prop/direct/P31> ?var1 . } UNION { BIND ( ?var4 AS ?var3 ). ?var4 <http://www.wikidata.org/prop/direct/P279> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var5 )"}}
{"id": "test_9045", "question": "Image of the person with SNAC ARK ID w6xd2t6q", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6xd2t6q\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w6xd2t6q?", "Show me the Wikimedia Commons image for John J. Glennon, identified by SNAC ARK ID w6xd2t6q."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6xd2t6q\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9046", "question": "Subclasses of administrative divisions of Germany", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?division ?label WHERE {\n  ?division wdt:P279 * wd:Q387917 .\n  ?division rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["What are the different types of administrative divisions in Germany, including historical and current ones?", "List all subclasses of administrative divisions of Germany with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> * <http://www.wikidata.org/entity/Q387917> . } LIMIT 100"}}
{"id": "test_9047", "question": "Countries with their population and coordinates", "sparql": "SELECT ?country ?countryLabel ?coordinates ?population WHERE { ?country wdt:P31 wd:Q6256 . OPTIONAL { ?country wdt:P625 ?coordinates . } ?country wdt:P1082 ?population . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") }", "paraphrases": ["What are the names, populations, and geographic coordinates of all countries?", "List all countries in English, along with their population figures and, if available, their geographic coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var3 . }"}}
{"id": "test_9048", "question": "Who are the humans with the family name \"Ronaldo\", and what are their birth and death dates?", "sparql": "SELECT ?person ?name ?birthDate (SAMPLE(?d) AS ?deathDate) WHERE { ?person wdt:P31 wd:Q5 ; wdt:P734 wd:Q21452687 ; rdfs:label ?name . FILTER(LANG(?name) = \"en\") . ?person wdt:P569 ?birthDate . OPTIONAL { ?person wdt:P570 ?d . } } GROUP BY ?person ?name ?birthDate", "paraphrases": ["List the English names, birth dates, and optionally death dates of all people with the surname Ronaldo.", "Can you find all people named Ronaldo (as a last name) along with when they were born and if they have passed away?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var4 )( SAMPLE ( ?var5 ) AS ?var5 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var1 ?var6Label \"Ronaldo\"@en . } GROUP BY ?var1 ?var1Label ?var2"}}
{"id": "test_9049", "question": "What is the most common property used to associate items with Exeter?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ( COUNT( ?property ) AS ?count ) WHERE {\n  ?item ?propertyUsed wd:Q134672 .\n  ?property wikibase:directClaim ?propertyUsed .\n  ?property rdf:type wikibase:Property .\n}\nGROUP BY ?property\nORDER BY DESC ( ?count )\nLIMIT 1", "paraphrases": ["Which Wikidata property links the most items to the city of Exeter, and how many items use it?", "How many items in Wikidata are located in Exeter, and what property is used to express this location?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q134672> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_9050", "question": "Shakira's date of birth, Wikipedia page, and image from Wikidata.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?var1 ?var1Label ?var2(SAMPLE(?var3) AS ?dateOfBirth)(SAMPLE(?var4) AS ?dateOfDeath)(SAMPLE(?var5) AS ?image) WHERE {\n  ?var1 wdt:P31 wd:Q5 .\n  ?var1 rdfs:label ?label .\n  FILTER(?label = \"Shakira\" @en)\n  BIND(?label AS ?var1Label)\n  ?var6 schema:about ?var1 .\n  ?var6 schema:inLanguage \"en\" .\n  ?var6 schema:isPartOf <https://en.wikipedia.org/> .\n  BIND(?var6 AS ?var2)\n  OPTIONAL {\n    ?var1 wdt:P569 ?var3 .\n  }\n  OPTIONAL {\n    ?var1 wdt:P570 ?var4 .\n  }\n  OPTIONAL {\n    ?var1 wdt:P18 ?var5 .\n  }\n}\nGROUP BY ?var1 ?var1Label ?var2", "paraphrases": ["What is Shakira\u2019s date of birth, English Wikipedia page, and image on Wikimedia Commons?", "Please provide the English Wikipedia link, birth date, and image for the human entity Shakira."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var3 )( SAMPLE ( ?var4 ) AS ?var4 )( SAMPLE ( ?var5 ) AS ?var5 )( SAMPLE ( ?var6 ) AS ?var6 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 ?var7Label \"Shakira\"@en . ?var6 <http://schema.org/about> ?var1 . ?var6 <http://schema.org/inLanguage> \"en\". ?var6 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var1Label ?var2"}}
{"id": "test_9051", "question": "English label, description, and image of the apple fruit.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?description ?image WHERE {\n  OPTIONAL {\n    wd:Q89 rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n  OPTIONAL {\n    wd:Q89 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q89 schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["What is the English name, description, and image of the apple (Q89)?", "Show me the English label, description, and associated image for the apple fruit on Wikidata."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q89> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q89> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q89> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_9052", "question": "Cities with their country, population, and area", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?var1 ?var1Label ?var2Label ?var3 ?var4 WHERE {\n  ?var2 wdt:P31 wd:Q515 .\n  ?var2 wdt:P17 ?var1 .\n  ?var1 wdt:P31 wd:Q3624078 .\n  OPTIONAL {\n    ?var2 wdt:P1082 ?var3 .\n  }\n  OPTIONAL {\n    ?var2 wdt:P2046 ?var4 .\n  }\n  ?var1 rdfs:label ?var1Label .\n  ?var2 rdfs:label ?var2Label .\n  FILTER(LANG(?var1Label) = \"en\")\n  FILTER(LANG(?var2Label) = \"en\")\n}", "paraphrases": ["What are the cities in sovereign states, along with their population and area?", "List all cities around the world with their country, population, and area, where the country is a recognized sovereign state."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4 ?var5 WHERE { OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q17> . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P17> ?var1 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P2046> ?var4 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P1082> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_9053", "question": "What properties are associated with clothing items in Wikidata, and what are their English labels and descriptions?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT DISTINCT ?property ?propertyLabel ?propertyDescription WHERE {\n  ?item ?p wd:Q11460 .\n  BIND( IRI( REPLACE( STR( ?p ) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\" ) ) AS ?property ) .\n  ?property rdf:type wikibase:Property .\n  ?property rdfs:label ?propertyLabel .\n  ?property schema:description ?propertyDescription .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" ) FILTER ( LANG( ?propertyDescription ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Which properties are used to describe clothing, and what do they mean in English?", "Show me the English labels and descriptions of all properties that link to the clothing entity in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q11460> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_9054", "question": "Canadian provinces and territories by population, with administrative and country details", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?province ?provinceLabel ?admin ?adminLabel ?country ?countryLabel ?population WHERE {\n  ?province wdt:P31 ?type .\n  ?type wdt:P279 * wd:Q2879 .\n  OPTIONAL {\n    ?province wdt:P131 ?admin\n  }\n  .\n  OPTIONAL {\n    ?province wdt:P17 ?country\n  }\n  .\n  OPTIONAL {\n    ?province wdt:P1082 ?population\n  }\n  .\n  ?province rdfs:label ?provinceLabel .\n  OPTIONAL {\n    ?admin rdfs:label ?adminLabel\n  }\n  .\n  OPTIONAL {\n    ?country rdfs:label ?countryLabel\n  }\n  .\n  FILTER ( LANG( ?provinceLabel ) = \"en\" ) .\n  FILTER ( LANG( ?adminLabel ) = \"en\" ) .\n  FILTER ( LANG( ?countryLabel ) = \"en\" )\n}\nORDER BY DESC ( ?population ) ASC ( ?provinceLabel )", "paraphrases": ["What are the Canadian provinces and territories, ordered from most to least populated, along with their administrative divisions and country?", "List all Canadian provinces and territories with their populations, administrative regions, and country, sorted by population in descending order."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2879> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY DESC( ?var4 )ASC( ?var1Label )"}}
{"id": "test_9055", "question": "What are all the properties and values associated with Albert Einstein?", "sparql": "SELECT DISTINCT ?property ?value WHERE { wd:Q937 ?property ?value . FILTER (?property != rdf:type) }", "paraphrases": ["Can you list all the information known about Albert Einstein in Wikidata, excluding his type?", "Show me all the facts (properties and values) linked to Albert Einstein on Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?var1 . ?var4 ?var2 ?var3 . FILTER ( ( ( ?var2 != <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ) ) ) . }"}}
{"id": "test_9056", "question": "MoMA artists with their birth and death details including place of birth and death.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?momaId ?artistLabel ?birthDate ?birthPlaceLabel ?deathDate ?deathPlaceLabel WHERE {\n  ?artist wdt:P2174 ?momaId ; wdt:P569 ?birthDate ; wdt:P19 ?birthPlace ; wdt:P570 ?deathDate ; wdt:P20 ?deathPlace .\n  ?artist rdfs:label ?artistLabel .\n  ?birthPlace rdfs:label ?birthPlaceLabel .\n  ?deathPlace rdfs:label ?deathPlaceLabel .\n  FILTER ( LANG( ?artistLabel ) = \"en\" ) FILTER ( LANG( ?birthPlaceLabel ) = \"en\" ) FILTER ( LANG( ?deathPlaceLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Who are the artists in the Museum of Modern Art\u2019s collection, and what are their birth dates, birth places, death dates, and death places?", "List the MoMA artist IDs, names, birth dates, birth locations, death dates, and death locations for all artists in the MoMA database, with labels in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label ?var4Label ?var5 ?var6Label WHERE { { ?var2 <http://www.wikidata.org/prop/direct/P2174> ?var1 ; <http://www.wikidata.org/prop/direct/P569> ?var3 ; <http://www.wikidata.org/prop/direct/P19> ?var4 ; <http://www.wikidata.org/prop/direct/P570> ?var5 ; <http://www.wikidata.org/prop/direct/P20> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } LIMIT 100"}}
{"id": "test_9057", "question": "What properties are most commonly used to link items to the Arctic Ocean, and how many times are they used?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(COUNT(?item) AS ?count) ?propertyLabel WHERE {\n  ?item ?property wd:Q788 .\n  BIND(IRI(REPLACE(REPLACE(STR(?property) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\") , \"http://www.wikidata.org/prop/statement/\" , \"http://www.wikidata.org/entity/\")) AS ?propEntity)\n  .\n  ?propEntity rdfs:label ?propertyLabel .\n  FILTER(LANG(?propertyLabel) = \"en\")\n}\nGROUP BY ?property ?propertyLabel\nHAVING(?count > 1)\nORDER BY DESC(?count)", "paraphrases": ["Which properties connect articles or items to the Arctic Ocean, and how frequently do they appear, limited to those used more than once?", "Show me the English labels of properties that link resources to the Arctic Ocean, sorted by how often they\u2019re used, excluding properties used only once."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q788> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_9058", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt0775425?", "sparql": "SELECT ?movie ?wikipediaPage ?imdbId WHERE { ?movie wdt:P345 \"tt0775425\" . ?wikipediaPage schema:about ?movie . { ?wikipediaPage schema:inLanguage \"en\" . } UNION { ?wikipediaPage schema:inLanguage \"de\" . } ?movie wdt:P345 ?imdbId . }", "paraphrases": ["Which Wikipedia articles in English or German are about the movie identified by the IMDb ID tt0775425?", "Show me the movie item, its English or German Wikipedia page, and its IMDb ID for the movie with IMDb ID tt0775425."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0775425\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9059", "question": "What are the names of constellations in different languages?", "sparql": "SELECT DISTINCT ?constellation ?constellationLabel ?nativeName WHERE { ?constellation wdt:P31 wd:Q8928 . ?constellation rdfs:label ?constellationLabel . FILTER(LANG(?constellationLabel) = 'en') . OPTIONAL { ?constellation wdt:P1705 ?nativeName } } LIMIT 10", "paraphrases": ["Can you list the English names of constellations along with their names in other languages?", "Show me the constellations and their native names, such as in Dutch, German, or Russian."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q8928> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1559> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9060", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0083739?", "sparql": "SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 \"tt0083739\" . ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Can you show me the Wikipedia articles in English and German about the film Class of 1984?", "Which language versions of Wikipedia have articles about the movie identified by tt0083739?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0083739\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9061", "question": "What is the image of Jos\u00e9 de la Borda, identified by the SNAC ARK ID w6ns4gtq?", "sparql": "SELECT ?image WHERE { ?person wdt:P3430 \"w6ns4gtq\" . OPTIONAL { ?person wdt:P18 ?image . } }", "paraphrases": ["Show the Wikimedia Commons image associated with the person having SNAC ARK ID w6ns4gtq.", "Can you find the picture of Jos\u00e9 de la Borda using his SNAC ARK ID?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6ns4gtq\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9062", "question": "Villages in Poland and their immediate administrative divisions.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var1 ?var1Label ?var2Label WHERE {\n  ?var1 wdt:P31 wd:Q532 .\n  ?var1 wdt:P131 ?var2 .\n  ?var2 wdt:P131 * wd:Q36 .\n  ?var1 rdfs:label ?var1Label .\n  ?var2 rdfs:label ?var2Label .\n  FILTER ( LANG( ?var1Label ) = \"en\" || LANG( ?var1Label ) = \"\" ) .\n  FILTER ( LANG( ?var2Label ) = \"en\" || LANG( ?var2Label ) = \"\" )\n}", "paraphrases": ["What are the villages in Poland and which administrative units do they directly belong to?", "List all villages in Poland along with the name of the administrative region they are directly part of."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q532> . ?var1 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q36> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl\". } }"}}
{"id": "test_9063", "question": "Is yttrium a chemical element?", "sparql": "ASK WHERE { wd:Q941 (wdt:P31/wdt:P279*) wd:Q11344 . }", "paraphrases": ["Does yttrium belong to the class of chemical elements, either directly or through subclass relationships?", "Confirm that yttrium is classified as a chemical element, including any inherited classifications via subclass."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q941> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_9064", "question": "Who is Redouane Boulouiz?", "sparql": "SELECT DISTINCT ?item WHERE { ?item rdfs:label \"Redouane Boulouiz\"@en . ?item wdt:P31 wd:Q5 .}", "paraphrases": ["Is there a human named Redouane Boulouiz in Wikidata?", "Find the Wikidata entry for the person named Redouane Boulouiz."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"boulouiz\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_9065", "question": "What are the direct superclass categories for mayors and city councillors of major Italian cities like Rome, Milan, and Florence?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var1 ?var2 WHERE {\n  VALUES ?var1 {\n    wd:Q48626476 wd:Q3961545 wd:Q48623554 wd:Q23936560 wd:Q50190106 wd:Q50190063 wd:Q50247738 wd:Q24702372 wd:Q50190214 wd:Q50190176 wd:Q50189377 wd:Q50189121 wd:Q50186132 wd:Q50184139 wd:Q50188803 wd:Q25927210 wd:Q50183178 wd:Q50181645 wd:Q50187917 wd:Q50187247 wd:Q50248642 wd:Q50248112 wd:Q50251653 wd:Q2102957\n  }\n  ?var1 wdt:P279 ?var2\n}", "paraphrases": ["For each of the listed Italian municipal positions (e.g., Mayor of Rome or Councillor of Milan), what is their immediate parent category in the Wikidata classification hierarchy?", "List the immediate superclass of each of these Italian city offices: mayors and councillors of Rome, Milan, Florence, Turin, Bologna, Naples, Palermo, Genoa, Venice, Bari, and Verona."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q48626476> ) ( <http://www.wikidata.org/entity/Q3961545> ) ( <http://www.wikidata.org/entity/Q48623554> ) ( <http://www.wikidata.org/entity/Q23936560> ) ( <http://www.wikidata.org/entity/Q50190106> ) ( <http://www.wikidata.org/entity/Q50190063> ) ( <http://www.wikidata.org/entity/Q50247738> ) ( <http://www.wikidata.org/entity/Q24702372> ) ( <http://www.wikidata.org/entity/Q50190214> ) ( <http://www.wikidata.org/entity/Q50190176> ) ( <http://www.wikidata.org/entity/Q50189377> ) ( <http://www.wikidata.org/entity/Q50189121> ) ( <http://www.wikidata.org/entity/Q50186132> ) ( <http://www.wikidata.org/entity/Q50184139> ) ( <http://www.wikidata.org/entity/Q50188803> ) ( <http://www.wikidata.org/entity/Q25927210> ) ( <http://www.wikidata.org/entity/Q50183178> ) ( <http://www.wikidata.org/entity/Q50181645> ) ( <http://www.wikidata.org/entity/Q50187917> ) ( <http://www.wikidata.org/entity/Q50187247> ) ( <http://www.wikidata.org/entity/Q50248642> ) ( <http://www.wikidata.org/entity/Q50248112> ) ( <http://www.wikidata.org/entity/Q50251653> ) ( <http://www.wikidata.org/entity/Q2102957> ) } ?var3 ( <http://www.wikidata.org/prop/P279> / <http://www.wikidata.org/prop/statement/P279> ) ?var2 . }"}}
{"id": "test_9066", "question": "People with both a DBLP author ID and an IMDb ID, along with their identifiers.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?dblpId ?imdbId WHERE {\n  ?person wdt:P2456 ?dblpId .\n  ?person wdt:P345 ?imdbId .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}\nORDER BY ?person", "paraphrases": ["Which people have both a DBLP computer science bibliography entry and an IMDb profile, and what are their IDs in each system?", "Show me the names, DBLP author IDs, and IMDb IDs of all individuals who are listed in both the DBLP computer science bibliography and the Internet Movie Database, using English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2456> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9067", "question": "What is the Wikimedia Commons image for the entity with SNAC ARK ID w6wq1n62?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6wq1n62\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Show me the picture of Eleanore Mikus.", "Can you retrieve the image associated with the SNAC identifier w6wq1n62?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6wq1n62\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9068", "question": "Top fields of work by number of DBLP authors", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?field ?fieldLabel(COUNT(?author) AS ?authorCount) WHERE {\n  ?author wdt:P2456 ?dblpId .\n  ?author wdt:P101 ?field .\n  ?field rdfs:label ?fieldLabel .\n  FILTER(LANG(?fieldLabel) = \"en\")\n}\nGROUP BY ?field ?fieldLabel\nORDER BY DESC(?authorCount)", "paraphrases": ["Which academic disciplines have the most researchers listed in DBLP, and how many authors are in each?", "Show me the most popular academic fields among DBLP authors, ranked by the number of authors in each field."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P2456> ?var4 . ?var2 <http://www.wikidata.org/prop/direct/P101> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var3 )"}}
{"id": "test_9069", "question": "What are the English and German Wikipedia articles about the movie with IMDb ID tt0327247?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?article ?language WHERE {\n  ?movie wdt:P345 \"tt0327247\" .\n  ?article schema:about ?movie .\n  ?article schema:inLanguage ?language .\n  FILTER ( ?language = \"en\" || ?language = \"de\" )\n}", "paraphrases": ["Show me the Wikipedia pages in English and German for the film identified by tt0327247 on IMDb.", "Which Wikipedia articles in English or German discuss the movie with IMDb identifier tt0327247?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0327247\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9070", "question": "Publication years and truncated titles of Paul Dourish\u2019s works.", "sparql": "SELECT ?year ?truncatedLabel WHERE { ?work wdt:P50 wd:Q7150339 ; wdt:P577 ?date ; rdfs:label ?titleLabel . FILTER(LANG(?titleLabel) = \"en\") BIND(YEAR(?date) AS ?year) BIND(SUBSTR(?titleLabel, 1, 20) AS ?truncatedLabel) } ORDER BY ?year", "paraphrases": ["What are the years and first 20 characters of the English titles of books written by Paul Dourish?", "Show me the publication years and shortened English titles (first 20 characters) of all works authored by Paul Dourish."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label WHERE { { SELECT ?var1 ( SAMPLE ( ?var4 ) AS ?var2 ) ?var3Label WHERE { { SELECT( STR ( ?var5 ) AS ?var1 )( \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var4 )( \"_\" AS ?var3Label ) WHERE { BIND ( YEAR ( ?var6 ) AS ?var5 ). ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q577> . ?var7 <http://www.wikidata.org/prop/direct/P585> ?var6 . { SELECT( MIN ( ?var5 ) AS ?var8 )( MAX ( ?var5 ) AS ?var9 ) WHERE { BIND ( YEAR ( ?var10 ) AS ?var5 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q7150339> . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var10 . } } FILTER ( ( ( ?var5 >= ?var8 ) && ( ?var5 <= ?var9 ) ) ) . } } UNION { BIND ( SUBSTR ( ?var12Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"20\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q7150339> . ?var11 <http://www.wikidata.org/prop/direct/P1104> ?var4 . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var6 . ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12Label . FILTER ( ( ( LANG ( ?var12Label ) = \"en\" ) ) ) . } } GROUP BY ?var1 ?var11 ?var3Label ORDER BY ASC( ?var1 ) } }"}}
{"id": "test_9071", "question": "What sports are also classified as types of sport in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?sportLabel WHERE {\n  ?sport wdt:P31 wd:Q349 ; wdt:P31 wd:Q31629 .\n  ?sport rdfs:label ?sportLabel .\n  FILTER ( LANG( ?sportLabel ) = \"en\" )\n}", "paraphrases": ["List sports that are instances of both \"sport\" and \"type of sport\".", "Which activities are considered both a specific sport and a category of sport?"], "info": {"raw_sparql": "SELECT ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q349> ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q31629> . }"}}
{"id": "test_9072", "question": "What is the English description and the Ensembl and TCDB IDs for the protein Succinate dehydrogenase complex subunit C?", "sparql": "SELECT ?description ?ensemblId ?tcdbId WHERE { wd:Q7632670 schema:description ?descFilter. FILTER(LANG(?descFilter) = \"en\") BIND(STR(?descFilter) AS ?description) wd:Q7632670 wdt:P705 ?ensemblId. wd:Q7632670 wdt:P7260 ?tcdbId. }", "paraphrases": ["Can you show me the Ensembl protein IDs and the TCDB identifier for the human protein Succinate dehydrogenase complex subunit C, along with its English description?", "Give me the English description, Ensembl IDs, and TCDB ID of the protein Q7632670."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q7632670> ?var1 ?var2 . }"}}
{"id": "test_9073", "question": "What facts in Wikidata are cited by BBC News?", "sparql": "PREFIX pr: <http://www.wikidata.org/prop/reference/>\nPREFIX prov: <http://www.w3.org/ns/prov#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?property WHERE {\n  ?item ?property ?statement .\n  ?statement prov:wasDerivedFrom ?ref .\n  ?ref pr:P248 wd:Q1160945 .\n}\nLIMIT 100", "paraphrases": ["Which entities and their properties have statements sourced from BBC News?", "Can you show me the data in Wikidata that references BBC News as its source?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/reference/56fff3f6ab6990eaabafa7ac9772c86c737c4c39> . }"}}
{"id": "test_9074", "question": "What are the direct properties and their values for the protein family Flavocytochrome c (InterPro IPR010960)?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?propertyLabel ?value ?valueLabel WHERE {\n  wd:Q24782646 ?property ?value .\n  FILTER ( STRSTARTS( STR( ?property ) , \"http://www.wikidata.org/prop/direct/\" ) ) BIND( IRI( REPLACE( STR( ?property ) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\" ) ) AS ?propertyEntity ) OPTIONAL {\n    ?propertyEntity rdfs:label ?propertyLabel .\n    FILTER ( LANG( ?propertyLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?value rdfs:label ?valueLabel .\n    FILTER ( LANG( ?valueLabel ) = \"en\" )\n  }\n}", "paraphrases": ["What class and molecular functions are associated with Flavocytochrome c?", "Can you list the type, subclasses, molecular functions, and parts of Flavocytochrome c?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q24782646> ?var1 ?var2 . }"}}
{"id": "test_9075", "question": "What is the label, description, and function of the InterPro active site IPR018508?", "sparql": "SELECT ?label ?description ?instanceOfLabel ?partOfLabel ?molecularFunctionLabel ?interProId WHERE { wd:Q24777669 rdfs:label ?label . FILTER(LANG(?label) = \"en\") wd:Q24777669 schema:description ?description . FILTER(LANG(?description) = \"en\") OPTIONAL { wd:Q24777669 wdt:P31 ?instanceOf . ?instanceOf rdfs:label ?instanceOfLabel . FILTER(LANG(?instanceOfLabel) = \"en\") } OPTIONAL { wd:Q24777669 wdt:P361 ?partOf . ?partOf rdfs:label ?partOfLabel . FILTER(LANG(?partOfLabel) = \"en\") } OPTIONAL { wd:Q24777669 wdt:P680 ?molecularFunction . ?molecularFunction rdfs:label ?molecularFunctionLabel . FILTER(LANG(?molecularFunctionLabel) = \"en\") } OPTIONAL { wd:Q24777669 wdt:P2926 ?interProId } }", "paraphrases": ["Can you tell me what the 3-dehydroquinate dehydratase active site is classified as, what it\u2019s part of, and its molecular function?", "Show me details about the active site with InterPro ID IPR018508, including its type, associated proteins, and enzymatic activity."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q24777669> ?var1 ?var2 . }"}}
{"id": "test_9076", "question": "What are the instance of, has part(s), molecular function, and descriptions for Agropine synthesis reductase?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?property ?value ?propertyLabel ?valueLabel WHERE {\n  {\n    wd:Q24724509 wdt:P31 ?value .\n    BIND( \"instance of\" AS ?propertyLabel )\n  } UNION {\n    wd:Q24724509 wdt:P527 ?value .\n    BIND( \"has part(s)\" AS ?propertyLabel )\n  } UNION {\n    wd:Q24724509 wdt:P680 ?value .\n    BIND( \"molecular function\" AS ?propertyLabel )\n  } UNION {\n    wd:Q24724509 schema:description ?value .\n    BIND( \"description\" AS ?propertyLabel )\n  }\n  OPTIONAL {\n    ?value rdfs:label ?valueLabel .\n    FILTER ( LANG( ?valueLabel ) = \"en\" )\n  }\n}\nORDER BY ?propertyLabel", "paraphrases": ["What types of proteins does Agropine synthesis reductase belong to, what parts does it consist of, what is its molecular function, and what are its multilingual descriptions?", "List all known properties and values for the protein family Agropine synthesis reductase, including its classification, components, molecular function, and language-specific descriptions."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q24724509> ?var1 ?var2 . }"}}
{"id": "test_9077", "question": "What is the EC number, molecular function, and InterPro ID of Acetoacetyl-CoA reductase?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?description ?ecNumber ?molecularFunction ?interProId ?freebaseId ?microsoftAcademicId WHERE {\n  wd:Q24725789 rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) wd:Q24725789 schema:description ?description .\n  FILTER ( LANG( ?description ) = \"en\" ) wd:Q24725789 wdt:P591 ?ecNumber .\n  wd:Q24725789 wdt:P680 ?molecularFunctionUri .\n  ?molecularFunctionUri rdfs:label ?molecularFunction .\n  FILTER ( LANG( ?molecularFunction ) = \"en\" ) wd:Q24725789 wdt:P2926 ?interProId .\n  wd:Q24725789 wdt:P646 ?freebaseId .\n  wd:Q24725789 wdt:P6366 ?microsoftAcademicId .\n}", "paraphrases": ["Can you tell me the English description, EC number, and InterPro family ID for the enzyme Acetoacetyl-CoA reductase?", "Please provide the label, description, EC number, molecular function, InterPro ID, Freebase ID, and Microsoft Academic ID for Acetoacetyl-CoA reductase."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q24725789> ?var1 ?var2 . }"}}
{"id": "test_9078", "question": "Proteins that are part of the InterPro family IPR017058 (Major membrane immunogen, tpp15, predicted)", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?protein ?proteinLabel WHERE {\n  ?protein wdt:P361 wd:Q24781622 .\n  ?protein rdfs:label ?proteinLabel .\n  FILTER(LANG(?proteinLabel) = \"en\")\n}", "paraphrases": ["Which proteins belong to the protein family Major membrane immunogen, tpp15, predicted?", "List the proteins that are members of the InterPro family IPR017058."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q24781622> . }"}}
{"id": "test_9079", "question": "Forged paintings with French artist names and images, excluding those with earliest date qualifiers.", "sparql": "SELECT DISTINCT ?painting ?paintingLabel (GROUP_CONCAT(DISTINCT ?creatorLabel; SEPARATOR=\" - \") AS ?creators) ?image WHERE { ?painting wdt:P31 wd:Q27114950 ; wdt:P170 ?creator ; wdt:P18 ?image . ?creator rdfs:label ?creatorLabel . FILTER(LANG(?creatorLabel) = \"fr\") . FILTER NOT EXISTS { ?painting p:P571 ?statement . ?statement pq:P1319 ?earliest . } } GROUP BY ?painting ?paintingLabel ?image", "paraphrases": ["Which forged paintings have French-labeled creators and images, and do not have an earliest possible creation date specified?", "Show me images and French names of creators for forged paintings that aren\u2019t marked with a minimum possible creation date."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ( GROUP_CONCAT ( DISTINCT ?var2 ; SEPARATOR = \" - \" ) AS ?var3 ) ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q27114950> . ?var1 <http://www.wikidata.org/prop/direct/P170> ?var5 ; <http://www.wikidata.org/prop/direct/P18> ?var4 . OPTIONAL { MINUS { ?var6 <http://www.wikidata.org/prop/qualifier/P1319> ?var7 . } MINUS { ?var6 <http://www.wikidata.org/prop/qualifier/P1480> <http://www.wikidata.org/entity/Q5727902> . } BIND ( YEAR ( ?var8 ) AS ?var9 ). ?var6 <http://www.wikidata.org/prop/statement/P571> ?var8 . } OPTIONAL { MINUS { ?var6 <http://www.wikidata.org/prop/qualifier/P1319> ?var7 . } BIND ( CONCAT ( \"c.\", STR ( YEAR ( ?var8 ) ) ) AS ?var9 ). ?var6 <http://www.wikidata.org/prop/qualifier/P1480> <http://www.wikidata.org/entity/Q5727902> . ?var6 <http://www.wikidata.org/prop/statement/P571> ?var8 . } ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"fr\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } GROUP BY ?var1 ?var1Label ?var4"}}
{"id": "test_9080", "question": "List U.S. presidents, their spouses, and number of children, ordered by when they took office.", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ?presidentLabel ?spouseLabel ?numberOfChildren WHERE {\n  ?president wdt:P31 wd:Q5 .\n  ?president p:P39 ?position .\n  ?position ps:P39 wd:Q11696 .\n  ?position pq:P580 ?startDate .\n  ?president wdt:P26 ?spouse .\n  ?president wdt:P1971 ?numberOfChildren .\n  ?president rdfs:label ?presidentLabel .\n  ?spouse rdfs:label ?spouseLabel .\n  FILTER ( LANG( ?presidentLabel ) = \"en\" ) FILTER ( LANG( ?spouseLabel ) = \"en\" )\n}\nORDER BY ASC ( ?startDate )", "paraphrases": ["Who were the spouses of U.S. presidents, how many children did each president have, and in what order did they serve?", "Can you show me the names of U.S. presidents, their spouses, and how many children each had, sorted by the start of their presidency?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/P39> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q11696> . ?var4 <http://www.wikidata.org/prop/qualifier/P580> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P26> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P1971> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var5 )"}}
{"id": "test_9081", "question": "What are the administrative division levels in Belarus, ordered by their hierarchy level, and how many instances does each have?", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ?subclass ?subclassLabel ?ordinal ?quantity ?instanceCount WHERE {\n  ?subclass wdt:P279 wd:Q1799794 .\n  ?subclass p:P279 ?stmt .\n  ?stmt ps:P279 wd:Q1799794 ; pq:P1545 ?ordinal .\n  OPTIONAL {\n    ?subclass wdt:P1114 ?quantity .\n  }\n  {\n    SELECT ?subclass ( COUNT( ?instance ) AS ?instanceCount ) WHERE {\n      ?instance wdt:P31 ?subclass ; wdt:P17 wd:Q184 .\n    }\n    GROUP BY ?subclass\n  }\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER ( LANG( ?subclassLabel ) = \"en\" )\n}\nORDER BY ASC ( ?ordinal )", "paraphrases": ["List the types of administrative divisions in Belarus (like first-level, second-level), their position in the hierarchy, and how many such divisions exist.", "How many administrative entities are there in Belarus at each level of the administrative hierarchy, and what are their names?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var3 ?var4Label ?var5 ( COUNT ( DISTINCT ?var6 ) AS ?var7 ) WHERE { BIND ( <http://www.wikidata.org/entity/Q184> AS ?var4 ). ?var2 <http://www.wikidata.org/prop/direct/P17> ?var4 ; <http://www.wikidata.org/prop/direct/P279> * [ <http://www.wikidata.org/prop/P279> [ <http://www.wikidata.org/prop/statement/P279> <http://www.wikidata.org/entity/Q1799794> ; <http://www.wikidata.org/prop/qualifier/P1545> ?var3 ] ] . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P1114> ?var1 . } OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q15916867> ; <http://www.wikidata.org/prop/direct/P17> ?var4 . } OPTIONAL { ?var6 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr\". } } GROUP BY ?var1 ?var2 ?var2Label ?var3 ?var4 ?var4Label ?var5 ?var5Label ORDER BY ASC( ?var3 )"}}
{"id": "test_9082", "question": "What is the Wikidata item for the movie with IMDb ID tt0254473?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie WHERE {\n  ?movie wdt:P345 \"tt0254473\" .\n}", "paraphrases": ["Which movie on Wikidata has the IMDb identifier tt0254473?", "Find the Wikidata entity for the film identified by tt0254473 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0254473\". }"}}
{"id": "test_9083", "question": "Metro stations in Belgium with their coordinates", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?station ?stationLabel ?coordinates WHERE {\n  ?station wdt:P31 wd:Q928830 .\n  ?station wdt:P17 wd:Q31 .\n  ?station wdt:P625 ?coordinates .\n  OPTIONAL {\n    ?station rdfs:label ?stationLabel .\n    FILTER ( LANG( ?stationLabel ) = \"en\" )\n  }\n}", "paraphrases": ["What are the metro stations in Belgium and their geographic coordinates?", "List all metro stations located in Belgium along with their English names and GPS coordinates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q928830> . ?var1 ?var3 <http://www.wikidata.org/entity/Q31> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru,en\". } }"}}
{"id": "test_9084", "question": "What are some examples of individual dogs listed in Wikidata?", "sparql": "SELECT ?dog ?dogLabel WHERE { ?dog wdt:P31 wd:Q144 . ?dog rdfs:label ?dogLabel . FILTER(LANG(?dogLabel) = \"en\") } LIMIT 10", "paraphrases": ["Can you list 10 famous or notable dogs and their names?", "Which entities in Wikidata are classified as dogs?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q26972265> . } LIMIT 10"}}
{"id": "test_9085", "question": "What are the English and German Wikipedia or Commons pages related to the movie with IMDb ID tt4865436?", "sparql": "SELECT ?movie ?page WHERE { ?movie wdt:P345 \"tt4865436\" . ?page schema:about ?movie . VALUES ?lang { \"en\" \"de\" } ?page schema:inLanguage ?lang . }", "paraphrases": ["Show me the language-specific pages (in English or German) about the movie \"Hate Story 3\" from IMDb.", "Which pages on Wikimedia projects are about the movie \"Hate Story 3\" and are available in English or German?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt4865436\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9086", "question": "Wikipedia articles in English or German about the movie with IMDb ID tt0432637.", "sparql": "SELECT ?wikipediaPage WHERE { VALUES ?imdbId { \"tt0432637\" } ?item wdt:P345 ?imdbId . ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["What are the English and German Wikipedia pages for the film with IMDb ID tt0432637?", "Show me the English and German Wikipedia links for the movie Krrish, identified by IMDb ID tt0432637."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0432637\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9087", "question": "Who is the Adult Film Database actor with ID 67486, and what is their English description?", "sparql": "SELECT ?actor ?actorLabel ?description WHERE { ?actor wdt:P3351 \"67486\" . OPTIONAL { ?actor schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["What is the name and English description of the person whose Adult Film Database actor ID is 67486?", "Show me the Wikidata entry for the actor with ID 67486 in the Adult Film Database, including their English description if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3351> \"65683\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9088", "question": "Wikidata items with only one sitelink, which is to the Pashto Wikipedia, and their page titles.", "sparql": "PREFIX schema: <http://schema.org/>\nSELECT ?item ?pageTitle WHERE {\n  ?page schema:about ?item ; schema:isPartOf <https://ps.wikipedia.org/> ; schema:name ?pageTitle . MINUS {\n    ?otherPage schema:about ?item ; schema:isPartOf ?otherWiki .\n    FILTER ( ?otherWiki != <https://ps.wikipedia.org/> )\n  }\n}", "paraphrases": ["Which Wikidata entities are linked exclusively to the Pashto Wikipedia, and what are the titles of those Wikipedia pages?", "Show me the Wikidata items that have no sitelinks except for the Pashto Wikipedia page, along with the names of those pages."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://ps.wikipedia.org/> ; <http://schema.org/name> ?var2 . ?var1 <http://wikiba.se/ontology#sitelinks> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> . }"}}
{"id": "test_9089", "question": "What English or German Wikipedia or Commons pages are about the movie with IMDb ID tt0035552?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?page WHERE {\n  ?movie wdt:P345 \"tt0035552\" .\n  ?page schema:about ?movie .\n  {\n    ?page schema:inLanguage \"en\" .\n  } UNION {\n    ?page schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Which pages in English or German discuss the film \"Whistling in Dixie\" (IMDb: tt0035552)?", "Show me the English and German language pages related to the movie identified by IMDb ID tt0035552."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0035552\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9090", "question": "English or German Wikipedia page for the movie with IMDb ID tt1984279", "sparql": "SELECT ?movie ?wikipediaPage WHERE { ?movie wdt:P345 \"tt1984279\" . ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["What is the English or German Wikipedia page for the movie \"The Swan Princess Christmas\"?", "Show me the Wikipedia article in English or German for the movie identified by IMDb ID tt1984279."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1984279\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9091", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0097500?", "sparql": "SELECT ?movie ?wikipediaArticle ?imdbId WHERE { ?movie wdt:P345 ?imdbId . ?wikipediaArticle schema:about ?movie . { ?wikipediaArticle schema:inLanguage \"en\" . } UNION { ?wikipediaArticle schema:inLanguage \"de\" . } FILTER(?imdbId = \"tt0097500\") }", "paraphrases": ["Show me the Wikipedia articles in English and German about the film Her Alibi.", "Which language versions of Wikipedia have articles about the movie identified by tt0097500?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0097500\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9092", "question": "What is the English label and description of the entity with Great Russian Encyclopedia Online ID 2350222?", "sparql": "SELECT ?item ?label ?description WHERE { ?item wdt:P2924 \"2350222\" . OPTIONAL { ?item rdfs:label ?label . FILTER(LANG(?label) = \"en\") } OPTIONAL { ?item schema:description ?description . FILTER(LANG(?description) = \"en\") } }", "paraphrases": ["Can you tell me the English name and description of the Russian military staff entry in the Great Russian Encyclopedia (ID: 2350222)?", "Show me the English label and description for the entity identified by the old Great Russian Encyclopedia Online ID 2350222."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"2350222\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9093", "question": "What is the English label for the Archive RAS entry in the Great Russian Encyclopedia Online (ID: 1833136)?", "sparql": "SELECT ?item ?label ?description WHERE { ?item wdt:P2924 \"1833136\" . OPTIONAL { ?item rdfs:label ?label . FILTER (LANG(?label) = \"en\") } OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Can you find the English name of the entity identified by the Great Russian Encyclopedia Online ID 1833136?", "Show me the English label and description of the Wikidata item linked to the Great Russian Encyclopedia Online ID 1833136."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"1833136\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9094", "question": "What is the English label and description of the Great Russian Encyclopedia entry with ID 4919294?", "sparql": "SELECT ?item ?itemLabel ?desc WHERE { ?item wdt:P2924 \"4919294\" . OPTIONAL { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } OPTIONAL { ?item schema:description ?desc . FILTER(LANG(?desc) = \"en\") } }", "paraphrases": ["Which entity in Wikidata has the Great Russian Encyclopedia Online ID 4919294, and what is its English name and description?", "Show me the English name and description of the item identified by 4919294 in the Great Russian Encyclopedia Online (old version)."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"4711174\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9095", "question": "Lawyers by occupation in Wikidata with English labels", "sparql": "SELECT ?lawyer ?lawyerLabel WHERE { ?lawyer wdt:P106 wd:Q40348 . ?lawyer wdt:P31 wd:Q5 . ?lawyer rdfs:label ?lawyerLabel FILTER(LANG(?lawyerLabel) = \"en\") } LIMIT 10", "paraphrases": ["Who are some people whose occupation is lawyer, listed with their English names?", "List up to 10 humans who are lawyers, showing their names in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q40348> . } LIMIT 10"}}
{"id": "test_9096", "question": "English and German Wikipedia and Wikiquote pages for the film with IMDb ID tt0094924.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?page WHERE {\n  ?film wdt:P345 \"tt0094924\" .\n  ?page schema:about ?film .\n  {\n    ?page schema:inLanguage \"en\" .\n  } UNION {\n    ?page schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["What are the English and German language Wikipedia and Wikiquote pages about the film \"Evil Angels\"?", "Show me the English and German language web pages linked to the film \"Evil Angels\" on IMDb (tt0094924)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0094924\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9097", "question": "What is the sex or gender of the cat named Leo, in English?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?gender ?genderLabel WHERE {\n  wd:Q27745006 wdt:P21 ?gender .\n  ?gender rdfs:label ?genderLabel .\n  FILTER ( LANG( ?genderLabel ) = \"en\" )\n}\nLIMIT 50", "paraphrases": ["What is the English label for the biological sex of Leo, the domestic cat?", "Show me the English name for the gender classification of Leo the cat."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q27745006> <http://www.wikidata.org/prop/direct/P21> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } LIMIT 50"}}
{"id": "test_9098", "question": "What type is the Wikimedia category Q8181072, and what is its English label?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?instanceType ?typeLabel WHERE {\n  wd:Q8181072 wdt:P31 ?instanceType .\n  ?instanceType rdfs:label ?typeLabel .\n  FILTER(LANG(?typeLabel) = \"en\")\n}\nLIMIT 50", "paraphrases": ["What is the English name of the class that Q8181072 belongs to?", "Show me the English label of the type of entity Q8181072."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q8181072> <http://www.wikidata.org/prop/direct/P31> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } LIMIT 50"}}
{"id": "test_9099", "question": "Items with coordinates between 39\u00b0N and 64\u00b0N and -38\u00b0W and -7\u00b0W, including their images, Commons categories, and postal codes, in English.", "sparql": "SELECT ?item ?itemLabel ?coord ?image ?commonsCategory ?postalCode WHERE {\n  ?item wdt:P625 ?coord .\n  FILTER(geof:latitude(?coord) >= 39 && geof:latitude(?coord) <= 64)\n  FILTER(geof:longitude(?coord) >= -38 && geof:longitude(?coord) <= -7)\n  OPTIONAL { ?item wdt:P18 ?image . }\n  OPTIONAL { ?item wdt:P373 ?commonsCategory . }\n  OPTIONAL { ?item wdt:P969 ?postalCode . }\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = 'en')\n} LIMIT 3000", "paraphrases": ["What are the places located between latitudes 39\u00b0N and 64\u00b0N and longitudes -38\u00b0W and -7\u00b0W, along with their English names, images, Wikimedia Commons categories, and postal codes?", "Please list up to 3,000 geographic entities in Europe and parts of North Africa (within the bounding box of 39\u00b0N\u201364\u00b0N and -38\u00b0W\u2013-7\u00b0W), showing their English labels, coordinates, images, Commons categories, and postal codes if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(-38 39)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(-7 64)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_9100", "question": "Is there a journal in Wikidata with OCLC control number 1029376?", "sparql": "ASK WHERE { ?journal wdt:P243 \"1029376\" . }", "paraphrases": ["Does the Journal of the Electrochemical Society have the OCLC number 1029376?", "Confirm if the OCLC control number 1029376 is linked to any bibliographic record in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P243> \"1029376\". }"}}
{"id": "test_9101", "question": "What movie has the elFilm ID 21837?", "sparql": "SELECT ?movie WHERE { ?movie wdt:P3143 \"21837\" . }", "paraphrases": ["Which film on Wikidata is identified by the elFilm ID \"21837\"?", "Find the Wikidata item for the movie that has the identifier \"21837\" in the Arabic movie database elFilm."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3143> \"21837\". }"}}
{"id": "test_9102", "question": "Is there a Wikidata item with Library of Congress Control Number 87642625?", "sparql": "ASK WHERE { ?item wdt:P1144 \"87642625\" . }", "paraphrases": ["Does any entity in Wikidata have the LCCN \"87642625\"?", "Confirm whether the journal \"Zeitschrift f\u00fcr Naturforschung A\" is identified in Wikidata by the LCCN 87642625."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1144> \"87642625\". }"}}
{"id": "test_9103", "question": "Countries and their capital cities in English", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?country ?countryLabel ?capital ?capitalLabel WHERE {\n  ?country wdt:P31 wd:Q6256 .\n  ?country wdt:P36 ?capital .\n  ?capital wdt:P31 wd:Q5119 .\n  ?country rdfs:label ?countryLabel .\n  ?capital rdfs:label ?capitalLabel .\n  FILTER ( LANG( ?countryLabel ) = \"en\" && LANG( ?capitalLabel ) = \"en\" )\n}\nLIMIT 10", "paraphrases": ["Which countries have capital cities, and what are those capitals in English?", "List the names of countries along with their capital cities, using English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var1 <http://www.wikidata.org/prop/direct/p36> <http://www.wikidata.org/entity/Q5119> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } LIMIT 10"}}
{"id": "test_9104", "question": "Does the journal with ISSN 2329-423X exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?journal wdt:P236 \"2329-423X\" .\n}", "paraphrases": ["Is there a journal in Wikidata that has the ISSN 2329-423X?", "Confirm if the electronic ISSN 2329-423X is assigned to any journal in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P236> \"2329-423X\". }"}}
{"id": "test_9105", "question": "Does the OCLC control number 213883990 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P243 \"213883990\" .\n}", "paraphrases": ["Is there a Wikidata item associated with the OCLC number 213883990?", "Check if the book with OCLC number 213883990 is listed in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P243> \"213883990\". }"}}
{"id": "test_9106", "question": "Does the Canadian Journal of Behavioural Science have the Library of Congress Control Number 78010238?", "sparql": "ASK WHERE { ?item wdt:P1144 \"78010238\" . }", "paraphrases": ["Is there a journal in Wikidata with the LCCN \"78010238\"?", "Confirm whether the LCCN \"78010238\" is assigned to any journal in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1144> \"78010238\". }"}}
{"id": "test_9107", "question": "Journal with ISSN 0928-1371", "sparql": "SELECT ?journal WHERE { ?journal wdt:P236 \"0928-1371\" . }", "paraphrases": ["What journal has the ISSN 0928-1371?", "Find the Wikidata item for the journal that uses the ISSN 0928-1371."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P236> \"0928-1371\". } LIMIT 1"}}
{"id": "test_9108", "question": "What are the labels of Wikidata properties used for authority control of cultural heritage?", "sparql": "SELECT ?propertyLabel WHERE { ?property wdt:P31 wd:Q18618628 . ?property rdfs:label ?propertyLabel . }", "paraphrases": ["Can you list all the names of Wikidata properties that identify cultural heritage items through authority control systems?", "Show me the human-readable names of properties in Wikidata that are meant to link cultural heritage items to external authority files."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q18618628> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_9109", "question": "What journals have Piotr Konieczny published in, and how many articles has he published in each, sorted by most frequent?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?publication ?displayName ( COUNT( ?work ) AS ?count ) WHERE {\n  ?work wdt:P50 wd:Q31833802 .\n  ?work wdt:P1433 ?publication .\n  ?publication rdfs:label ?publicationLabel .\n  FILTER ( LANG( ?publicationLabel ) = \"en\" ) OPTIONAL {\n    ?publication wdt:P1813 ?shortName .\n  }\n  BIND( COALESCE ( ?shortName , ?publicationLabel ) AS ?displayName )\n}\nGROUP BY ?publication ?displayName\nORDER BY DESC ( ?count )", "paraphrases": ["Show me the publications where Piotr Konieczny has written articles, using their abbreviated names if available, and count how many articles appear in each.", "Which academic journals have featured the most work by Polish sociologist Piotr Konieczny, and what are their full or abbreviated titles?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q31833802> . ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1813> ?var6 . } BIND ( COALESCE ( ?var6 , ?var5Label ) AS ?var2Label ). } GROUP BY ?var1 ?var2Label ORDER BY DESC( ?var4 )"}}
{"id": "test_9110", "question": "Does the journal with ISSN 0971-3557 exist in Wikidata?", "sparql": "ASK WHERE { ?item wdt:P236 \"0971-3557\" . }", "paraphrases": ["Is there a publication in Wikidata that has the ISSN 0971-3557?", "Confirm whether the ISSN 0971-3557 is assigned to any journal in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P236> \"0971-3557\". }"}}
{"id": "test_9111", "question": "What entity and property does the statement node `s:Q34340150-71F7CFA4-D0D4-4767-B416-052365D98588` correspond to?", "sparql": "PREFIX s: <http://www.wikidata.org/entity/statement/>\nSELECT ?entity ?statementProperty WHERE {\n  ?entity ?statementProperty s:Q34340150-71F7CFA4-D0D4-4767-B416-052365D98588 .\n}", "paraphrases": ["Which entity has a statement with the identifier `s:Q34340150-71F7CFA4-D0D4-4767-B416-052365D98588`, and what property is used in that statement?", "Find the subject and property of the Wikidata statement identified by `s:Q34340150-71F7CFA4-D0D4-4767-B416-052365D98588`."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q34340150-71F7CFA4-D0D4-4767-B416-052365D98588> . }"}}
{"id": "test_9112", "question": "Cholesterol biosynthesis has part(s) statement: which entity and property does it belong to?", "sparql": "SELECT ?entity ?property WHERE { s:Q34340150-44F32124-C090-4B53-B0F9-14F3C61266F2 ps:P527 ?value . BIND(wd:Q34340150 AS ?entity) BIND(wdt:P527 AS ?property) }", "paraphrases": ["What entity and property are associated with the statement about cholesterol biosynthesis having MVD decarboxylates MVA5PP to IPPP as a part?", "Show me the entity and property linked to the statement s:Q34340150-44F32124-C090-4B53-B0F9-14F3C61266F2."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q34340150-44F32124-C090-4B53-B0F9-14F3C61266F2> . }"}}
{"id": "test_9113", "question": "Years when publications by Finn \u00c5rup Nielsen, Ole Winther, Sune Lehmann, or Morten M\u00f8rup were cited in other works.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?year ?author ?authorLabel WHERE {\n  {\n    SELECT ?author ?year WHERE {\n      VALUES ?author {\n        wd:Q20980928 wd:Q24290415 wd:Q24390693 wd:Q26720269\n      }\n      ?publication wdt:P50 ?author .\n      ?publication wdt:P577 ?date .\n      BIND( STR( YEAR( ?date ) ) AS ?year ) ?citedWork wdt:P2860 ?publication .\n    }\n    GROUP BY ?author ?year\n  }\n  ?author rdfs:label ?authorLabel .\n  FILTER ( LANG( ?authorLabel ) = \"en\" )\n}\nORDER BY ASC ( ?year )", "paraphrases": ["In what years were the academic publications of Finn \u00c5rup Nielsen, Ole Winther, Sune Lehmann, or Morten M\u00f8rup cited by other works?", "Show me the years in which the works of these four Danish researchers \u2014 Finn \u00c5rup Nielsen, Ole Winther, Sune Lehmann, and Morten M\u00f8rup \u2014 were cited by other publications."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var3Label WHERE { { SELECT ?var3 ?var1 ( COUNT ( ?var4 ) AS ?var2 ) WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q20980928> ) ( <http://www.wikidata.org/entity/Q24290415> ) ( <http://www.wikidata.org/entity/Q24390693> ) ( <http://www.wikidata.org/entity/Q26720269> ) } BIND ( STR ( YEAR ( ?var5 ) ) AS ?var1 ). ?var6 <http://www.wikidata.org/prop/direct/P50> ?var3 . ?var6 <http://www.wikidata.org/prop/direct/P577> ?var5 . ?var4 <http://www.wikidata.org/prop/direct/P2860> ?var6 . } GROUP BY ?var3 ?var1 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_9114", "question": "What entity is associated with the Wikidata statement s:Q34340154-083B29C2-B5A6-44FC-B631-508FB3A5AC72?", "sparql": "SELECT ?entity ?entityLabel WHERE { ?entity ?p s:Q34340154-083B29C2-B5A6-44FC-B631-508FB3A5AC72 . ?entity rdfs:label ?entityLabel . FILTER(LANG(?entityLabel) = \"en\") }", "paraphrases": ["Which biological pathway does the statement s:Q34340154-083B29C2-B5A6-44FC-B631-508FB3A5AC72 describe?", "What is the label of the entity linked to the statement s:Q34340154-083B29C2-B5A6-44FC-B631-508FB3A5AC72?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q34340154-083B29C2-B5A6-44FC-B631-508FB3A5AC72> ?var1 ?var2 . }"}}
{"id": "test_9115", "question": "Most used property for linking entities to Geographical region of Italy", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ( COUNT( ?property ) AS ?count ) WHERE {\n  ?item ?p wd:Q3155864 .\n  ?property wikibase:directClaim ?p .\n  ?property rdf:type wikibase:Property .\n}\nGROUP BY ?property\nORDER BY DESC ( ?count )\nLIMIT 1", "paraphrases": ["Which property is most commonly used to associate items with the geographical region of Italy?", "Show the property that is used the most times to indicate that something is located in the geographical region of Italy."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q3155864> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_9116", "question": "Who are the humans named \"David Marx\" in French?", "sparql": "SELECT DISTINCT ?person WHERE { ?person rdfs:label \"David Marx\" @fr . ?person wdt:P31 wd:Q5 .}", "paraphrases": ["Can you list all people labeled as \"David Marx\" in French on Wikidata?", "Which individuals are identified by the French label \"David Marx\"?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"david marx\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_9117", "question": "Artists with identifiers in ULAN, RKD, BPN, DAAO, or Auckland Art Gallery databases who are human but have no recorded gender in Wikidata.", "sparql": "SELECT DISTINCT ?artist WHERE { { ?artist wdt:P245 [] . } UNION { ?artist wdt:P650 [] . } UNION { ?artist wdt:P651 [] . } UNION { ?artist wdt:P1707 [] . } UNION { ?artist wdt:P3372 [] . } ?artist wdt:P31 wd:Q5 . MINUS { ?artist p:P21 [] . } }", "paraphrases": ["Which human artists have an identifier in one of the major art databases (ULAN, RKD, BPN, DAAO, or Auckland Art Gallery) but no gender information recorded in Wikidata at all?", "List all human artists who are identified in the Union List of Artist Names, RKDartists, Biografisch Portaal, DAAO, or Auckland Art Gallery, but whose gender is not specified in any statement in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P245> [] . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P650> [] . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P651> [] . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P1707> [] . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P3372> [] . } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . MINUS { ?var1 <http://www.wikidata.org/prop/P21> [] . } }"}}
{"id": "test_9118", "question": "What is the OpenStreetMap relation ID for the headquarters of Red Bull GmbH?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?osm_id WHERE {\n  wd:Q698639 wdt:P159 / wdt:P402 ?osm_id .\n}", "paraphrases": ["Where is Red Bull's headquarters located in OpenStreetMap?", "Can you find the OpenStreetMap identifier for the location where Red Bull is headquartered?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q215754> <http://www.wikidata.org/prop/direct/P402> ?var1 . }"}}
{"id": "test_9119", "question": "What are the subclasses of competence in human resources?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?competencySubclass ?competencySubclassLabel WHERE {\n  ?competencySubclass wdt:P279 wd:Q2015382 .\n  ?competencySubclass rdfs:label ?competencySubclassLabel .\n  FILTER ( LANG( ?competencySubclassLabel ) = \"en\" )\n}", "paraphrases": ["What specific competencies are considered subclasses of competence in human resources?", "List the English-labeled types of competencies that are direct subclasses of \"competence (human resources)\" on Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q2015382> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_9120", "question": "Who is the person named \"Guy Beckers\" in French?", "sparql": "SELECT DISTINCT ?item WHERE { ?item rdfs:label \"Guy Beckers\"@fr . ?item wdt:P31 wd:Q5 . }", "paraphrases": ["What human entity has the French label \"Guy Beckers\"?", "Can you find the French-labeled person named Guy Beckers in Wikidata?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Guy Becker\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_9121", "question": "Who was Douglas Adams married to?", "sparql": "SELECT ?spouse WHERE { wd:Q42 wdt:P26 ?spouse . }", "paraphrases": ["Spouse of Douglas Adams", "Tell me the name of Douglas Adams\u2019s spouse."], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/q42> <http://www.wikidata.org/prop/direct/P26> ?var1 . }"}}
{"id": "test_9122", "question": "Is there a TV series that has an episode list linked to the article \"Lincoln Heights episode list\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  ?series wdt:P1811 wd:Q6576880 .\n}", "paraphrases": ["Does any television series use the episode list article Q6576880?", "Is the episode list for Lincoln Heights associated with any TV series?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q6576880> . }"}}
{"id": "test_9123", "question": "What category does the South African type MP tender belong to?", "sparql": "SELECT DISTINCT ?instanceOf WHERE { wd:Q25349642 wdt:P31 ?instanceOf . }", "paraphrases": ["What is the classification of South African type MP tender in Wikidata?", "What type of entity is a South African type MP tender?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q25349642> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_9124", "question": "Image and Commons category for the scientific name Homo sapiens", "sparql": "SELECT ?taxon ?taxonLabel ?image ?commonsCategory WHERE { ?taxon wdt:P225 \"Homo sapiens\" . OPTIONAL { ?taxon wdt:P18 ?image . } OPTIONAL { ?taxon wdt:P373 ?commonsCategory . } ?taxon rdfs:label ?taxonLabel . FILTER(LANG(?taxonLabel) = \"en\") }", "paraphrases": ["What is the image and Wikimedia Commons category for the species Homo sapiens?", "Show me the image and Commons category associated with the taxon Homo sapiens."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P225> \"string1\", \"string2\". OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9125", "question": "Image of the person with SNAC ARK ID w6f21nzb.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6f21nzb\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w6f21nzb?", "Show me the Wikimedia Commons image for the individual identified by SNAC ARK ID w6f21nzb."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6f21nzb\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9126", "question": "What are the English or German Wikipedia pages for the movie with IMDb ID tt0411272?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?wikipediaPage WHERE {\n  ?item wdt:P345 \"tt0411272\" .\n  ?wikipediaPage schema:about ?item .\n  {\n    ?wikipediaPage schema:inLanguage \"en\"\n  } UNION {\n    ?wikipediaPage schema:inLanguage \"de\"\n  }\n}", "paraphrases": ["Show me the Wikipedia articles in English or German about the film identified by tt0411272 on IMDb.", "Which Wikipedia pages in English or German are about the movie Public Enemy No. 1 \u2013 Todestrieb?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0411272\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9127", "question": "English and German Wikipedia pages for the movie with IMDb ID tt1198403", "sparql": "SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 \"tt1198403\" . ?wikipedia_page schema:about ?movie . VALUES ?lang { \"en\" \"de\" } ?wikipedia_page schema:inLanguage ?lang . }", "paraphrases": ["What are the English and German Wikipedia articles for the movie \"Lost City Raiders\"?", "Show me the Wikipedia pages in English and German for the film identified by IMDb ID tt1198403."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1198403\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9128", "question": "Locations within 15 kilometers of coordinates 21\u00b0E, 43\u00b0N", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?location ?coordinate WHERE {\n  ?location wdt:P625 ?coordinate .\n  BIND( REPLACE( STR( ?coordinate ) , \"POINT\\\\(([-+]?[0-9]*\\\\.?[0-9]+) ([-+]?[0-9]*\\\\.?[0-9]+)\\\\)\" , \"$1\" ) AS ?lonStr ) .\n  BIND( REPLACE( STR( ?coordinate ) , \"POINT\\\\(([-+]?[0-9]*\\\\.?[0-9]+) ([-+]?[0-9]*\\\\.?[0-9]+)\\\\)\" , \"$2\" ) AS ?latStr ) .\n  BIND( xsd:double ( ?lonStr ) AS ?lon ) .\n  BIND( xsd:double ( ?latStr ) AS ?lat ) .\n  FILTER ( ?lon >= 20.815 && ?lon <= 21.185 ) .\n  FILTER ( ?lat >= 42.865 && ?lat <= 43.135 )\n}", "paraphrases": ["What places are located within 15 km of the point (21, 43)?", "Show me all geographic locations near 21\u00b0 longitude and 43\u00b0 latitude that are within a 15 km radius."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> \"POINT(21 43)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"15\". } }"}}
{"id": "test_9129", "question": "U.S. presidents with more than two children, their spouses, images, start dates, and series numbers.", "sparql": "SELECT DISTINCT ?president ?presidentLabel ?spouse ?spouseLabel ?presidentImage ?spouseImage ?startTime ?seriesOrdinal ?children WHERE { ?president p:P39 ?statement . ?statement ps:P39 wd:Q11696 . ?statement pq:P580 ?startTime . ?statement pq:P1545 ?seriesOrdinal . ?president rdfs:label ?presidentLabel . FILTER (LANG(?presidentLabel) = \"en\") . ?spouse wdt:P26 ?president . ?spouse rdfs:label ?spouseLabel . FILTER (LANG(?spouseLabel) = \"en\") . ?president wdt:P18 ?presidentImage . ?spouse wdt:P18 ?spouseImage . ?president wdt:P1971 ?children . FILTER (?children > 2) . FILTER (?startTime >= \"1670-01-01T00:00:00Z\"^^xsd:dateTime) }", "paraphrases": ["Which U.S. presidents had more than two children, who were their spouses, when did they take office, and what are their official portraits and their spouses' portraits?", "Show me the names, images, and series numbers of U.S. presidents who had more than two children, along with their English-labeled spouses and their spouses' images, and the start dates of their presidencies."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q11696> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var9 . FILTER ( ( ( LANG ( ?var9 ) = \"en\" ) ) ) . ?var10 <http://www.wikidata.org/prop/direct/P26> ?var1 . ?var10 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . ?var10 <http://www.wikidata.org/prop/direct/P18> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P1545> ?var8 . ?var1 <http://www.wikidata.org/prop/direct/P1971> ?var3 . FILTER ( ( ( ?var3 > \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P39> ?var6 . ?var6 <http://www.wikidata.org/prop/direct/P580> ?var7 . FILTER ( ( ( ?var7 >= \"1670-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_9130", "question": "People born in Nik\u0161i\u0107 with Serbian-language names.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person ?label WHERE {\n  ?person wdt:P19 wd:Q200733 ; rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"sr\" )\n}\nORDER BY ASC ( ?label )\nLIMIT 20", "paraphrases": ["Who are the people born in Nik\u0161i\u0107, Montenegro, whose names are displayed in Serbian?", "List up to 20 people born in Nik\u0161i\u0107, showing their names in Serbian, sorted alphabetically."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q200733> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"sr\" ) ) ) . } ORDER BY ASC( ?var2 ) LIMIT 20"}}
{"id": "test_9131", "question": "What is the English title and Italian Wikipedia page for the film with IMDb ID tt0166788?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?filmLabel ?imdbId ?itWikipediaPage WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P345 ?imdbId .\n  ?itWikipediaPage schema:about ?film ; schema:isPartOf <https://it.wikipedia.org/> .\n  ?film rdfs:label ?filmLabel .\n  FILTER(LANG(?filmLabel) = \"en\")\n  .\n  FILTER(?imdbId = \"tt0166788\")\n}", "paraphrases": ["What is the English name of the movie with IMDb ID tt0166788, and what is its Italian Wikipedia page?", "Show me the English title and the Italian Wikipedia link for the film identified by IMDb ID tt0166788."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P345> ?var2 . ?var3 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://it.wikipedia.org/> . FILTER ( ( ( ?var2 = \"tt0166788\" ) ) ) . }"}}
{"id": "test_9132", "question": "Is qutebrowser a type of software?", "sparql": "ASK WHERE { wd:Q28405851 (wdt:P31/wdt:P279*) wd:Q7397 . }", "paraphrases": ["Does qutebrowser belong to a category that is a subclass of software?", "Is qutebrowser classified under any category that ultimately falls under software?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q28405851> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_9133", "question": "What properties are used to describe the denarius (ancient Roman coin) in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?property ?propertyLabel ?propertyDescription WHERE {\n  ?item ?property wd:Q187776 .\n  FILTER(STRSTARTS(STR(?property) , \"http://www.wikidata.org/prop/direct/\"))\n  BIND(IRI(REPLACE(STR(?property) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\")) AS ?propItem)\n  ?propItem rdfs:label ?propertyLabel .\n  ?propItem schema:description ?propertyDescription .\n  FILTER(LANG(?propertyLabel) = \"en\")\n  FILTER(LANG(?propertyDescription) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Show the English labels and descriptions of all properties that have the denarius as their object.", "Which properties link to the denarius, and what do they mean?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q187776> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_9134", "question": "Does Wikidata contain an entity with VIAF ID 216095600?", "sparql": "ASK WHERE { ?item wdt:P214 \"216095600\" . }", "paraphrases": ["Is there a Wikidata item associated with the VIAF identifier 216095600?", "Check if the VIAF ID 216095600 is registered in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"216095600\". }"}}
{"id": "test_9135", "question": "Image of the person with SNAC ARK ID w6778fq7", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6778fq7\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the Wikimedia Commons image associated with the SNAC ARK ID w6778fq7?", "Can you find the picture of the individual identified by the SNAC ARK ID w6778fq7?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6778fq7\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9136", "question": "Number of death instances in Wikidata", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ( COUNT( ?item ) AS ?count ) WHERE {\n  ?item wdt:P31 wd:Q4 .\n}", "paraphrases": ["How many things in Wikidata are classified as instances of death?", "Count all items in Wikidata that are instances of death."], "info": {"raw_sparql": "SELECT ?var1 WHERE { { SELECT ?var2 ( COUNT ( ?var3 ) AS ?var1 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4> . } GROUP BY ?var2 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { } } ORDER BY DESC( ?var1 ) LIMIT 10"}}
{"id": "test_9137", "question": "Image of Katharina Klaffsky with SNAC ARK ID w66q47vj", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w66q47vj\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the Wikimedia Commons image associated with Katharina Klaffsky\u2019s SNAC ARK ID w66q47vj?", "Show me the picture of the person identified by SNAC ARK ID w66q47vj."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w66q47vj\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9138", "question": "List typefaces with their inception date, type foundry, publication date, and publisher, ordered by inception year.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?typeface ?inception ?foundry ?publicationDate ?publisher WHERE {\n  ?typeface wdt:P31 wd:Q17451 .\n  OPTIONAL {\n    ?typeface wdt:P571 ?inception .\n  }\n  OPTIONAL {\n    ?typeface wdt:P4586 ?foundry .\n  }\n  OPTIONAL {\n    ?typeface wdt:P577 ?publicationDate .\n  }\n  OPTIONAL {\n    ?typeface wdt:P123 ?publisher .\n  }\n}\nORDER BY ASC ( ?inception )\nLIMIT 100", "paraphrases": ["What are the typefaces, when were they created, who designed them, and when were they published?", "Please provide a list of up to 100 typefaces, including their creation date, foundry, publication date, and publisher, sorted by when they were created."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var3Label ?var4 ?var5 ?var5Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P4586> ?var3 . } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q17451> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P123> ?var5 . } } ORDER BY ASC( ?var2 ) LIMIT 100"}}
{"id": "test_9139", "question": "Typefaces designed by Max Miedinger", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?typeface ?typefaceLabel WHERE {\n  ?typeface wdt:P287 wd:Q118270 ; wdt:P31 wd:Q58481926 .\n  ?typeface rdfs:label ?typefaceLabel .\n}", "paraphrases": ["What typefaces were designed by Max Miedinger?", "List all typeface families designed by Max Miedinger, including their names in different languages."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q17451> . { SELECT ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P287> <http://www.wikidata.org/entity/Q118270> . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_9140", "question": "Which people on Twitter have Wikidata entries, and how many Wikipedia articles exist about them? (Twitter handles: fnielsen, mikko, mrundkvist)", "sparql": "SELECT ?entity ?twitterHandle (COUNT(?article) AS ?sitelinkCount) WHERE { ?entity wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { \"fnielsen\" \"mikko\" \"mrundkvist\" } . ?article schema:about ?entity ; schema:isPartOf ?wikipediaSite . FILTER(STRSTARTS(STR(?wikipediaSite), \"https://\")) } GROUP BY ?entity ?twitterHandle ORDER BY ASC(?sitelinkCount)", "paraphrases": ["Who are the individuals with Twitter accounts fnielsen, mikko, and mrundkvist, and how many language versions of Wikipedia have articles about each of them?", "List the Wikidata entities for the Twitter users fnielsen, mikko, and mrundkvist, sorted by the number of Wikipedia language editions they have articles in."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"SkrivaFel\" ) ( \"Wikicite\" ) ( \"fnielsen\" ) ( \"MichisLeo\" ) ( \"string1\" ) ( \"ce_offord\" ) ( \"string2\" ) ( \"mrundkvist\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"mikko\" ) ( \"DB_Presse\" ) ( \"dbopendata\" ) ( \"dbmindbox\" ) ( \"voeko\" ) ( \"dannykay68\" ) ( \"string12\" ) ( \"string13\" ) ( \"string14\" ) ( \"vmolsson\" ) ( \"string15\" ) ( \"string16\" ) ( \"string17\" ) ( \"BBeyern\" ) ( \"string18\" ) ( \"finah\" ) ( \"string19\" ) ( \"string20\" ) ( \"polianna_k\" ) ( \"string21\" ) ( \"Blouchtika\" ) ( \"string22\" ) ( \"frick\" ) ( \"TheoKL\" ) ( \"opassande\" ) ( \"Brolleus\" ) ( \"string23\" ) ( \"geplapper\" ) ( \"string24\" ) ( \"string25\" ) ( \"string26\" ) ( \"mydarkstar\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_9141", "question": "Image of the person with SNAC ARK ID w67j3zgh", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w67j3zgh\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the Social Networks and Archival Context ID w67j3zgh?", "Show me the Wikimedia Commons image for the individual identified by the SNAC ARK ID w67j3zgh."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w67j3zgh\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9142", "question": "Which Wikidata items have Twitter usernames envlh, mikko, panoply, tableau, or dannykay68?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"envlh\" \"mikko\" \"panoplyio\" \"tableau\" \"panoply\" \"dannykay68\" \"BBeyern\"\n  }\n}", "paraphrases": ["Who are the people or organizations on Wikidata with the Twitter usernames \"envlh\", \"mikko\", \"panoply\", \"tableau\", and \"dannykay68\"?", "List the Wikidata entities and their corresponding Twitter usernames for the handles: envlh, mikko, panoply, tableau, and dannykay68."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"mikko\" ) ( \"panoplyio\" ) ( \"tableau\" ) ( \"panoply\" ) ( \"dannykay68\" ) ( \"BBeyern\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_9143", "question": "List all episodes of the TV series Archer, including their season number, IMDb ID, and the preceding and following episodes.", "sparql": "SELECT DISTINCT ?episode ?episodeLabel ?season ?seasonLabel ?seasonNumber ?imdb ?previousEpisode ?nextEpisode WHERE { ?episode wdt:P31 wd:Q21191270 . ?episode wdt:P179 wd:Q632670 . ?episode wdt:P4908 ?season . ?season wdt:P179 wd:Q632670 . ?season p:P179 ?seasonStmt . ?seasonStmt pq:P1545 ?seasonNumber . OPTIONAL { ?episode wdt:P345 ?imdb . } OPTIONAL { ?episode wdt:P155 ?previousEpisode . } OPTIONAL { ?episode wdt:P156 ?nextEpisode . } OPTIONAL { ?episode rdfs:label ?episodeLabel . FILTER(LANG(?episodeLabel) = \"en\") } OPTIONAL { ?season rdfs:label ?seasonLabel . FILTER(LANG(?seasonLabel) = \"en\") } } ORDER BY ASC(xsd:integer(?seasonNumber)) ASC(?episode)", "paraphrases": ["What are the episodes of Archer, ordered by season and episode, along with their IMDb IDs and the episodes that come before and after them?", "Please provide a list of all Archer TV episodes with their season numbers, labels, IMDb IDs, and the episodes that directly precede and follow each one."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 ?var4Label ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 ?var12 ?var13 ?var14 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q21191270> . ?var4 <http://www.wikidata.org/prop/direct/P179> <http://www.wikidata.org/entity/Q632670> . ?var4 <http://www.wikidata.org/prop/direct/P361> ?var3 . ?var4 <http://www.wikidata.org/prop/direct/P179> ?var1 . OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P1191> ?var8 . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/P179> ?var15 . } OPTIONAL { ?var15 <http://www.wikidata.org/prop/qualifier/P1545> ?var5 . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/P361> ?var16 . } OPTIONAL { ?var16 <http://www.wikidata.org/prop/qualifier/P1545> ?var6 . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P345> ?var7 . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P155> ?var9 . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P156> ?var10 . } OPTIONAL { ?var16 <http://www.wikidata.org/prop/qualifier/P155> ?var11 . } OPTIONAL { ?var16 <http://www.wikidata.org/prop/qualifier/P156> ?var12 . } OPTIONAL { ?var15 <http://www.wikidata.org/prop/qualifier/P155> ?var13 . } OPTIONAL { ?var15 <http://www.wikidata.org/prop/qualifier/P156> ?var14 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/P179> ?var17 . } OPTIONAL { ?var17 <http://www.wikidata.org/prop/qualifier/P1545> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it\". } } ORDER BY ASC( <http://www.w3.org/2001/XMLSchema#integer> ( ?var2 ) )ASC( ?var1 )ASC( <http://www.w3.org/2001/XMLSchema#integer> ( ?var5 ) )"}}
{"id": "test_9144", "question": "What are the English and German Wikipedia pages about the movie with IMDb ID tt0066268?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?page WHERE {\n  ?movie wdt:P345 \"tt0066268\" .\n  ?page schema:about ?movie .\n  {\n    ?page schema:inLanguage \"en\" .\n  } UNION {\n    ?page schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Show me the Wikipedia and Commons pages in English or German that are about the movie \"When Women Had Tails\".", "Which language versions of pages (English or German) link to the movie identified by IMDb ID tt0066268?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0066268\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9145", "question": "Luciano Floridi publications by year with truncated titles", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?year ( SUBSTR( ?label , 1 , 20 ) AS ?title ) WHERE {\n  ?work wdt:P50 wd:Q214119 .\n  ?work rdfs:label ?label .\n  FILTER ( LANG( ?label ) = 'en' ) .\n  ?work wdt:P577 ?date .\n  BIND( YEAR( ?date ) AS ?year )\n}\nORDER BY ?year", "paraphrases": ["What are the English titles (first 20 characters) of Luciano Floridi\u2019s works, grouped by publication year?", "Show me the year and the first 20 characters of the title for each of Luciano Floridi\u2019s published works in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label WHERE { { SELECT ?var1 ( SAMPLE ( ?var4 ) AS ?var2 ) ?var3Label WHERE { { SELECT( STR ( ?var5 ) AS ?var1 )( \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var4 )( \"_\" AS ?var3Label ) WHERE { BIND ( YEAR ( ?var6 ) AS ?var5 ). ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q577> . ?var7 <http://www.wikidata.org/prop/direct/P585> ?var6 . { SELECT( MIN ( ?var5 ) AS ?var8 )( MAX ( ?var5 ) AS ?var9 ) WHERE { BIND ( YEAR ( ?var10 ) AS ?var5 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q214119> . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var10 . } } FILTER ( ( ( ?var5 >= ?var8 ) && ( ?var5 <= ?var9 ) ) ) . } } UNION { BIND ( SUBSTR ( ?var12Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"20\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q214119> . ?var11 <http://www.wikidata.org/prop/direct/P1104> ?var4 . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var6 . ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12Label . FILTER ( ( ( LANG ( ?var12Label ) = \"en\" ) ) ) . } } GROUP BY ?var1 ?var11 ?var3Label ORDER BY ASC( ?var1 ) } }"}}
{"id": "test_9146", "question": "What institutions or countries are associated with Luciano Floridi, their locations, and the nature of the association (e.g., employer, educated at)?", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT DISTINCT ?image ?institutionOrCountry ?institutionOrCountryLabel ?locationCoordinate ?propertyLabel WHERE {\n  wd:Q214119 ?property ?institutionOrCountry .\n  {\n    ?institutionOrCountry p:P159 ?stmt .\n    ?stmt ps:P159 ?hq .\n    ?stmt pq:P625 ?locationCoordinate .\n  } UNION {\n    ?institutionOrCountry wdt:P276 ?location .\n    ?location wdt:P625 ?locationCoordinate .\n  } UNION {\n    ?institutionOrCountry wdt:P625 ?locationCoordinate .\n  }\n  OPTIONAL {\n    ?institutionOrCountry wdt:P18 ?image .\n  }\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?propertyLabel .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" ) ?institutionOrCountry rdfs:label ?institutionOrCountryLabel .\n  FILTER ( LANG( ?institutionOrCountryLabel ) = \"en\" )\n}", "paraphrases": ["Which organizations or countries is Luciano Floridi connected to, what are their geographic coordinates, and how is he related to them (e.g., as employer or alumnus)?", "Show me all places linked to Luciano Floridi \u2014 such as universities or countries \u2014 along with their locations on a map, images if available, and the type of relationship (in English)."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ( ?var4Label AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q214119> ?var6 ?var2 . ?var2 (( <http://www.wikidata.org/prop/P159> / <http://www.wikidata.org/prop/qualifier/P625> )|( <http://www.wikidata.org/prop/direct/P276> */ <http://www.wikidata.org/prop/direct/P625> )) ?var3 . ?var7 <http://wikiba.se/ontology#directClaim> ?var6 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,nl,no,ru,sv,zh\". } ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . }"}}
{"id": "test_9147", "question": "Women's sports in Australia classified as sports practiced in a geographic region", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?sport ?sportLabel WHERE {\n  ?sport wdt:P276 wd:Q3960 .\n  ?sport wdt:P31 wd:Q29791211 .\n  ?sport rdfs:label ?sportLabel .\n  FILTER ( LANG( ?sportLabel ) = \"en\" )\n}", "paraphrases": ["What women's sports are practiced in Australia and classified as sports in a geographic region?", "List the English labels of all sports that are instances of \"sport in a geographic region\" and located in Australia."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P276> <http://www.wikidata.org/entity/Q3960> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q29791211> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9148", "question": "Rivers in Mongolia with Ukrainian Wikipedia pages but no Mongolian or Russian ones.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?river ?riverLabel WHERE {\n  ?river wdt:P31 wd:Q4022 ; wdt:P17 wd:Q711 .\n  FILTER(EXISTS {\n    ?wikipedia schema:about ?river ; schema:inLanguage \"uk\" .\n  })\n  FILTER(NOT EXISTS {\n    ?wikipedia schema:about ?river ; schema:inLanguage \"mn\" .\n  })\n  FILTER(NOT EXISTS {\n    ?wikipedia schema:about ?river ; schema:inLanguage \"ru\" .\n  })\n  ?river rdfs:label ?riverLabel .\n  FILTER(LANG(?riverLabel) = \"en\")\n}", "paraphrases": ["Which rivers in Mongolia have a Ukrainian-language Wikipedia article but lack articles in Mongolian or Russian?", "List rivers located in Mongolia that are described on the Ukrainian Wikipedia but not on the Mongolian or Russian Wikipedias."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . FILTER ( ( ( ?var2 = <http://www.wikidata.org/entity/Q4022> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . FILTER ( ( ( ?var3 = <http://www.wikidata.org/entity/Q711> ) ) ) . FILTER ( ( NOT EXISTS { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/inLanguage> \"mn\". } ) ) . FILTER ( ( NOT EXISTS { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/inLanguage> \"ru\". } ) ) . FILTER ( ( EXISTS { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/inLanguage> \"uk\". } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru,uk,be,tg,kk,ky,uz,tk,az,et,lt,lv,ro,ka,hy,mn\". } }"}}
{"id": "test_9149", "question": "What are the English and German Wikipedia pages for the TV series with IMDb ID tt7573024?", "sparql": "SELECT ?item ?enPage ?dePage WHERE { ?item wdt:P345 \"tt7573024\" . ?enPage schema:about ?item ; schema:inLanguage \"en\" . ?dePage schema:about ?item ; schema:inLanguage \"de\" . }", "paraphrases": ["Show me the English and German Wikipedia articles about the show \"Creeped Out\".", "Which Wikipedia pages in English and German are linked to the IMDb entry tt7573024?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt7573012\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9150", "question": "What is the English or German Wikipedia page for the film with IMDb ID tt7465694?", "sparql": "SELECT ?item ?wikipedia_page WHERE { ?item wdt:P345 \"tt7465694\" . ?wikipedia_page schema:about ?item . FILTER(STRSTARTS(STR(?wikipedia_page), \"https://en.wikipedia.org\") || STRSTARTS(STR(?wikipedia_page), \"https://de.wikipedia.org\")) }", "paraphrases": ["Which Wikipedia articles in English or German are about the movie identified by IMDb ID tt7465694?", "Please show me the Wikipedia page (in English or German) linked to the Wikidata item for the film with IMDb ID tt7465694."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt7465694\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9151", "question": "What are the birth and death years of Marcel Proust, and what is his first name?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?image ?givenName ?birthDate ?deathDate ?birthYear ?deathYear WHERE {\n  ?person rdfs:label ?personLabel .\n  FILTER ( CONTAINS( LCASE( ?personLabel ) , \"proust\" ) ) FILTER ( LANG( ?personLabel ) = \"fr\" ) .\n  ?person wdt:P735 ?givenName .\n  ?person wdt:P569 ?birthDate .\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  BIND( YEAR( ?birthDate ) AS ?birthYear ) BIND( YEAR( ?deathDate ) AS ?deathYear ) OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n}", "paraphrases": ["Can you show me the image and biographical details (birth date, death date, first name) of the French writer Marcel Proust?", "Who are the people with the surname Proust in French-speaking contexts, and what are their birth and death years?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 WHERE { ?var1 ?var8 \"proust\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P735> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var5 . } BIND ( YEAR ( ?var4 ) AS ?var6 ). BIND ( YEAR ( ?var5 ) AS ?var7 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } }"}}
{"id": "test_9152", "question": "Software that runs on Microsoft Windows", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?software WHERE {\n  ?software wdt:P306 wd:Q1406 .\n}", "paraphrases": ["What software applications are designed to work on Microsoft Windows?", "List all programs that support Microsoft Windows as their operating system."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P306> <http://www.wikidata.org/entity/Q1406> . }"}}
{"id": "test_9153", "question": "Wikipedia and Wikiquote pages in English or German about the movie with IMDb ID tt0091288.", "sparql": "SELECT ?movie ?page WHERE { ?movie wdt:P345 \"tt0091288\" . ?page schema:about ?movie . { ?page schema:inLanguage \"en\" . } UNION { ?page schema:inLanguage \"de\" . } }", "paraphrases": ["What English and German language pages on Wikipedia and Wikiquote are about the movie \"Jean de Florette\" (IMDb ID tt0091288)?", "Show me the English and German language Wikipedia and Wikiquote pages related to the film with IMDb ID tt0091288."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0091288\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9154", "question": "French communes with their coordinates, postal codes, and official French names.", "sparql": "SELECT ?commune ?coordinates ?postalCode ?officialName WHERE { ?commune wdt:P31 wd:Q484170 . ?commune wdt:P625 ?coordinates . OPTIONAL { ?commune wdt:P281 ?postalCode . } OPTIONAL { ?commune wdt:P1448 ?officialName . FILTER(LANG(?officialName) = \"fr\") } } LIMIT 1000", "paraphrases": ["What are the coordinates, postal codes, and official French names of all communes in France?", "List all communes in France along with their geographic coordinates, postal codes, and official names in French."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q484170> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P281> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1448> ?var4 . } } LIMIT 1000"}}
{"id": "test_9155", "question": "What are the Twitter usernames for Wikipedia, NASA, and SpaceX on Wikidata?", "sparql": "SELECT ?entity ?username WHERE { ?entity wdt:P2002 ?username . VALUES ?username { \"Wikipedia\" \"NASA\" \"SpaceX\" } }", "paraphrases": ["Which entities on Wikidata have the Twitter usernames \"Wikipedia\", \"NASA\", or \"SpaceX\"?", "Show me the Wikidata entities linked to the Twitter accounts @Wikipedia, @NASA, and @SpaceX."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"dynamicons\" ) ( \"string1\" ) ( \"dynamic_qs\" ) ( \"pre_desire\" ) ( \"string2\" ) ( \"ShanghaiMT\" ) ( \"string3\" ) ( \"string4\" ) ( \"shareonemy\" ) ( \"21stBPM\" ) ( \"mk_justice\" ) ( \"jdourlens\" ) ( \"string5\" ) ( \"string6\" ) ( \"pv_renew\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_9156", "question": "What is the English label for the dog named Jackie in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?dog ?dogLabel WHERE {\n  BIND( wd:Q821243 AS ?dog ) .\n  ?dog rdfs:label ?dogLabel .\n  FILTER ( LANG( ?dogLabel ) = \"en\" )\n}", "paraphrases": ["Show me the name of the dog Jackie in English from Wikidata.", "What is the English name of the entity with ID Q821243?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { BIND ( <http://www.wikidata.org/entity/Q821243> AS ?var1 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9157", "question": "Does the German National Library ID 129373451 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?person wdt:P227 \"129373451\" .\n}", "paraphrases": ["Is there a person in Wikidata with the GND ID 129373451?", "Confirm if the entity with GND ID 129373451 is present in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"129373451\". }"}}
{"id": "test_9158", "question": "Who is the person with IMDb ID nm0295560?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P345 \"nm0295560\" .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["What is the name of the person identified by the IMDb ID nm0295560?", "Please provide the English name of the individual whose IMDb identifier is nm0295560."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"nm0295560\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_9159", "question": "Dutch citizens and the awards they have received.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?awardLabel WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P27 wd:Q29999 .\n  ?person wdt:P166 ?award .\n  ?award rdfs:label ?awardLabel .\n  FILTER ( LANG( ?awardLabel ) = \"en\" )\n}\nLIMIT 1000", "paraphrases": ["Which awards have been received by Dutch citizens?", "List the English names of awards received by people who are citizens of the Netherlands."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q29999> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var1 <http://www.wikidata.org/prop/direct/P166> ?var2 . } LIMIT 200000"}}
{"id": "test_9160", "question": "Is there a football player on Wikidata with Transfermarkt ID 215122?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?player wdt:P2446 \"215122\" .\n}", "paraphrases": ["Does the Transfermarkt player ID 215122 correspond to a footballer in Wikidata?", "Confirm if the footballer with Transfermarkt ID 215122 is listed in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2446> \"215122\". }"}}
{"id": "test_9161", "question": "Wikidata properties with English labels, descriptions, types, and domain labels, sorted by domain name in reverse alphabetical order.", "sparql": "PREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?var1 ?var2 ?var1Label ?var3 ?var5Label WHERE {\n  {\n    SELECT ?var1 ?var2 ?var3 ( GROUP_CONCAT( DISTINCT ?var6 ; SEPARATOR = \"|\" ) AS ?var4 ) WHERE {\n      ?var1 wikibase:propertyType ?var2 .\n      OPTIONAL {\n        ?var1 skos:altLabel ?var6 .\n        FILTER ( LANG( ?var6 ) = \"en\" )\n      }\n      OPTIONAL {\n        ?var1 schema:description ?var3 .\n        FILTER ( LANG( ?var3 ) = \"en\" )\n      }\n    }\n    GROUP BY ?var1 ?var2 ?var3\n  }\n  ?var1 wdt:P1687 ?var5 .\n  ?var1 rdfs:label ?var1Label .\n  FILTER ( LANG( ?var1Label ) = \"en\" ) ?var5 rdfs:label ?var5Label .\n  FILTER ( LANG( ?var5Label ) = \"en\" )\n}\nORDER BY DESC ( ?var5Label )", "paraphrases": ["What are the English-labeled properties in Wikidata, along with their types, descriptions, and domain categories, ordered by domain name from Z to A?", "List all Wikidata properties that have English labels and descriptions, show their property types and domain categories, and sort them by the domain label in descending order."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label ?var3 ?var4 ?var5 WHERE { { SELECT ?var1 ?var2 ?var3 ( GROUP_CONCAT ( DISTINCT ?var6 ; SEPARATOR = \"|\" ) AS ?var4 ) WHERE { ?var1 <http://wikiba.se/ontology#propertyType> ?var2 . OPTIONAL { ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> ?var6 . FILTER ( ( ( LANG ( ?var6 ) = \"en\" ) ) ) . } OPTIONAL { ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } } GROUP BY ?var1 ?var2 ?var3 } ?var1 <http://schema.org/> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY DESC( ?var5 )"}}
{"id": "test_9162", "question": "Image of the person with SNAC ARK ID w6902d5k", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6902d5k\" . OPTIONAL { ?item wdt:P18 ?image . }}", "paraphrases": ["Is there an image available for the individual identified by the SNAC ARK ID w6902d5k?", "Show me the Wikimedia Commons image associated with the SNAC ARK ID w6902d5k, if one exists."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6902d5k\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9163", "question": "Image of Robert Fellowes with SNAC ARK ID w6xd1wn0", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6xd1wn0\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w6xd1wn0?", "Show me the Wikimedia Commons image for the person identified by the SNAC ARK ID w6xd1wn0."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6xd1wn0\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9164", "question": "How many works cite publications by Jeffrey W. Elias each year, and are those citing works also authored by him?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?year ( COUNT( DISTINCT ?citingWork ) AS ?count ) ?isAuthor WHERE {\n  ?authoredWork wdt:P50 wd:Q50231441 .\n  ?citingWork wdt:P2860 ?authoredWork .\n  ?citingWork wdt:P577 ?pubDate .\n  BIND( STR( YEAR( ?pubDate ) ) AS ?year ) OPTIONAL {\n    ?citingWork wdt:P50 ?author\n  }\n  BIND( IF( BOUND( ?author ) && ?author = wd:Q50231441 , \"yes\" , \"no\" ) AS ?isAuthor )\n}\nGROUP BY ?year ?isAuthor\nORDER BY DESC ( ?year )", "paraphrases": ["For each year, what is the count of works that reference Jeffrey W. Elias\u2019s works, and how many of those references come from works he also authored?", "Can you show the yearly distribution of works citing Jeffrey W. Elias\u2019s publications, distinguishing between those authored by him and those by others?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q50231441> . } , \"string1\", \"string2\" ) AS ?var4 ). BIND ( STR ( YEAR ( ?var5 ) ) AS ?var1 ). ?var6 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q50231441> . ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var6 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var5 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_9165", "question": "What are the English and German Wikipedia and Wikiquote pages about the movie \"The 'Burbs\"?", "sparql": "SELECT ?movie ?page WHERE { ?movie wdt:P345 \"tt0096734\" . ?page schema:about ?movie . { ?page schema:inLanguage \"en\" . } UNION { ?page schema:inLanguage \"de\" . } }", "paraphrases": ["Can you show me the language-specific pages (in English or German) linked to the IMDb movie ID tt0096734?", "Which language versions of Wikipedia and Wikiquote have articles about the film identified by IMDb ID tt0096734?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0096734\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9166", "question": "What is the image of Ger\u00f3nimo Gim\u00e9nez in Wikimedia Commons?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w63j3r83\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Can you show me the Commons image associated with the SNAC ARK ID w63j3r83?", "Show the file linked to Ger\u00f3nimo Gim\u00e9nez via his SNAC ARK identifier."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w63j3r83\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9167", "question": "List all authority control identifiers for Barack Obama with their formatter URLs and resolved links.", "sparql": "SELECT ?person ?personLabel ?identifierProperty ?identifierLabel ?formatterUri ?identifierValue ?resolvedUrl WHERE { BIND( wd:Q76 AS ?person ) . ?person wdt:P31 wd:Q5 . ?person rdfs:label ?personLabel . FILTER ( LANG( ?personLabel ) = \"en\" ) . ?person ?directProperty ?identifierValue . ?identifierProperty wikibase:directClaim ?directProperty . ?identifierProperty rdfs:label ?identifierLabel . FILTER ( LANG( ?identifierLabel ) = \"en\" ) . ?identifierProperty wdt:P1921 ?formatterUri . { ?identifierProperty wdt:P31 wd:Q19847637 . } UNION { ?identifierProperty wdt:P31 wd:Q19595382 . } BIND( IRI( REPLACE( ?formatterUri , \"$1\" , ENCODE_FOR_URI( ?identifierValue ) ) ) AS ?resolvedUrl ) .}", "paraphrases": ["What are the external identifiers for Barack Obama, and how can I construct direct links to them using their formatter URIs?", "Show me the English-labeled identifier properties (like GND ID or Library of Congress ID) for Barack Obama, along with their URI templates and the actual resolved URLs using his identifier values."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { BIND ( <http://www.wikidata.org/entity/Q76> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . ?var1 ?var8 ?var6 . ?var3 <http://wikiba.se/ontology#directClaim> ?var8 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . ?var3 <http://www.wikidata.org/prop/direct/P1921> ?var5 . { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19847637> . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19595382> . } FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . OPTIONAL { ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . } BIND ( IRI ( REPLACE ( ?var5 , \"$1\", ENCODE_FOR_URI ( ?var6 ) ) ) AS ?var7 ). }"}}
{"id": "test_9168", "question": "Items related to Ehlers-Danlos syndrome and their images", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?image WHERE {\n  ?item wdt:P1050 wd:Q1141499 .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["What are the people and studies associated with Ehlers-Danlos syndrome, and do they have images on Wikimedia Commons?", "Show me the English names of all entities linked to Ehlers-Danlos syndrome, along with any available images."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1050> <http://www.wikidata.org/entity/Q1141499> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_9169", "question": "Birth and death dates of Charles Mackerras", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  BIND(wd:Q322172 AS ?person)\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}", "paraphrases": ["When was Charles Mackerras born and when did he die?", "Tell me the birth and death dates of the Australian conductor Charles Mackerras."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q322172> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9170", "question": "What are the birth and death dates of Hamilton Harty?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?birthDate ?deathDate WHERE {\n  wd:Q287259 rdfs:label ?label .\n  FILTER(lang(?label) = \"en\")\n  .\n  wd:Q287259 wdt:P31 wd:Q5 .\n  OPTIONAL {\n    wd:Q287259 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q287259 wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["Can you tell me the full name, date of birth, and date of death of the Irish composer and conductor Hamilton Harty?", "Show me the English name, birth date, and death date for the person with Wikidata ID Q287259."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q287259> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9171", "question": "Birth and death dates of John Henniker-Major, 4th Baron Henniker", "sparql": "SELECT ?label ?birthDate ?deathDate WHERE { wd:Q11803195 rdfs:label ?label . FILTER(LANG(?label) = \"en\") . OPTIONAL { wd:Q11803195 wdt:P569 ?birthDate . } OPTIONAL { wd:Q11803195 wdt:P570 ?deathDate . } }", "paraphrases": ["When was John Henniker-Major, 4th Baron Henniker born and when did he die?", "Can you tell me the birth and death dates of John Henniker-Major, 4th Baron Henniker, along with his full name?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q11803195> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9172", "question": "What are the birth and death dates of Bruce Ferguson, a New Zealand air force officer?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  wd:Q4977464 wdt:P31 wd:Q5 .\n  wd:Q4977464 rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) OPTIONAL {\n    wd:Q4977464 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q4977464 wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["Can you tell me the full name, date of birth, and date of death of Bruce Ferguson?", "Who is Bruce Ferguson, and when was he born and when did he die?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q16927108> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9173", "question": "What are the birth and death dates of Albert Einstein?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  BIND(wd:Q937 AS ?person)\n  .\n  ?person wdt:P31 wd:Q5 .\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}", "paraphrases": ["Can you tell me the name, birth date, and death date of Albert Einstein?", "Who is Albert Einstein, and when was he born and when did he die?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q6386390> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9174", "question": "What are the birth and death dates of David Orme Masson?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  BIND( wd:Q5238249 AS ?person ) .\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}", "paraphrases": ["Can you tell me when David Orme Masson was born and when he died?", "Who is David Orme Masson, and what are his birth and death years?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q5238249> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9175", "question": "Top 10 most populous cities with a female head of government.", "sparql": "SELECT DISTINCT ?city ?head ?population WHERE { ?city wdt:P31 wd:Q515 . ?city p:P6 ?headStmt . ?headStmt ps:P6 ?head . ?head wdt:P21 wd:Q6581072 . FILTER NOT EXISTS { ?headStmt pq:P582 ?end . } ?city wdt:P1082 ?population . FILTER(isLiteral(?population)) } ORDER BY DESC(?population) LIMIT 10", "paraphrases": ["Which cities have the highest populations and are currently led by a woman?", "List the 10 largest cities in the world with an active female mayor or head of government, sorted by population."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { BIND ( <http://www.wikidata.org/entity/Q6581072> AS ?var4 ). BIND ( <http://www.wikidata.org/entity/Q515> AS ?var5 ). ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var5 . ?var1 <http://www.wikidata.org/prop/P6> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P6> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P21> ?var4 . FILTER ( ( NOT EXISTS { ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var7 . } ) ) . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var3 ) LIMIT 10"}}
{"id": "test_9176", "question": "What is the date of birth of Colin Mackerras, and is he deceased?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  wd:Q1108540 rdfs:label ?personLabel .\n  OPTIONAL {\n    wd:Q1108540 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q1108540 wdt:P570 ?deathDate .\n  }\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}", "paraphrases": ["When was Colin Mackerras born, and does Wikidata record his date of death?", "Tell me Colin Mackerras\u2019s birth date and whether he has passed away."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q1108540> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9177", "question": "What is the birth date of Rhea Ripley, and is she still alive?", "sparql": "SELECT ?var1Label ?var3 ?var4 WHERE { BIND( wd:Q56259738 AS ?var1 ) . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") . ?var1 wdt:P31 wd:Q5 . OPTIONAL { ?var1 wdt:P569 ?var3 . } OPTIONAL { ?var1 wdt:P570 ?var4 . } }", "paraphrases": ["Can you tell me Rhea Ripley\u2019s date of birth and date of death?", "Who is Rhea Ripley, and when was she born and when did she die?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q2341183> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9178", "question": "English label and description of the gene Rasip1, and its image.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?label ?description ?image WHERE {\n  OPTIONAL {\n    wd:Q18264006 rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n  OPTIONAL {\n    wd:Q18264006 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q18264006 schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["What is the English name and description of the gene Rasip1, and is there an image of it?", "Show me the English name, description, and image of the gene Rasip1."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q18264006> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q18264006> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q18264006> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_9179", "question": "Women who are citizens of countries, with their nationalities.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?woman ?country ?countryLabel WHERE {\n  ?woman wdt:P31 wd:Q5 ; wdt:P21 wd:Q6581072 .\n  OPTIONAL {\n    ?woman wdt:P27 ?country .\n    ?country rdfs:label ?countryLabel .\n    FILTER(LANG(?countryLabel) = \"en\")\n  }\n}\nLIMIT 100", "paraphrases": ["Which female humans have a known country of citizenship, and what are those countries in English?", "List up to 100 women (female humans) along with their countries of citizenship in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"id,en\". } ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q467> . OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var2 . } } LIMIT 100"}}
{"id": "test_9180", "question": "Which entities on Wikidata have Twitter usernames like ChrisEvans, TheAcademy, or IndieWire, and how many Wikipedia sitelinks do they have?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterHandle ( COUNT( ?sitelink ) AS ?sitelinkCount ) WHERE {\n  ?item wdt:P2002 ?twitterHandle .\n  ?sitelink schema:about ?item ; schema:isPartOf ?site .\n  VALUES ?twitterHandle {\n    \"ChrisEvans\" \"TheAcademy\" \"IndieWire\" \"JoshuaYehl\" \"francoarno\" \"ira\" \"McJesse\" \"vulture\" \"Variety\" \"THR\"\n  }\n}\nGROUP BY ?item ?twitterHandle\nORDER BY ASC ( ?sitelinkCount )", "paraphrases": ["What are the Twitter accounts of entities like Chris Evans and IndieWire, and how many Wikipedia language editions link to them, sorted by least to most links?", "List the Wikidata items with Twitter handles including ChrisEvans, TheAcademy, and IndieWire, along with their sitelink counts, ordered from lowest to highest."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"Variety\" ) ( \"string1\" ) ( \"THR\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"JoshuaYehl\" ) ( \"string5\" ) ( \"ChrisEvans\" ) ( \"string6\" ) ( \"TheAcademy\" ) ( \"francoarno\" ) ( \"ira\" ) ( \"McJesse\" ) ( \"string7\" ) ( \"vulture\" ) ( \"string8\" ) ( \"IndieWire\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_9181", "question": "Does the Regensburg Botanical Society have a GND ID of 4028009-3?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P227 \"4028009-3\" .\n}", "paraphrases": ["Is there an entity in Wikidata with the German National Library ID \"4028009-3\"?", "Confirm if the GND ID \"4028009-3\" is assigned to any item in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"4028009-3\". }"}}
{"id": "test_9182", "question": "List 100 English labels of humans in Wikidata.", "sparql": "SELECT ?itemLabel WHERE { ?item wdt:P31 wd:Q5 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } LIMIT 100", "paraphrases": ["What are the English names of people who are instances of human in Wikidata?", "Show me up to 100 English labels of individuals classified as human in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } ?var2 <http://www.wikidata.org/entity/Q127367> <http://www.wikidata.org/prop/direct/P31> . } LIMIT 100"}}
{"id": "test_9183", "question": "What is the title of the film The Lord of the Rings: The Fellowship of the Ring, and who directed it?", "sparql": "SELECT ?title ?directorLabel WHERE { wd:Q127367 wdt:P1476 ?title . wd:Q127367 wdt:P57 ?director . ?director rdfs:label ?directorLabel . FILTER(LANG(?directorLabel) = \"en\") } LIMIT 100", "paraphrases": ["Show me the English title and director of Peter Jackson\u2019s 2001 film The Fellowship of the Ring.", "Who directed The Lord of the Rings: The Fellowship of the Ring, and what is its title?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } <http://www.wikidata.org/entity/Q127367> <http://www.wikidata.org/prop/direct/P1476> ?var1 . <http://www.wikidata.org/entity/Q127367> <http://www.wikidata.org/prop/direct/P57> ?var2 . } LIMIT 100"}}
{"id": "test_9184", "question": "Fictional human characters and the narrative universes they appear in.", "sparql": "SELECT ?fictionalCharacter ?narrativeUniverse ?narrativeUniverseLabel WHERE { ?fictionalCharacter wdt:P31 wd:Q15632617 . OPTIONAL { ?fictionalCharacter wdt:P1080 ?narrativeUniverse . ?narrativeUniverse rdfs:label ?narrativeUniverseLabel . FILTER(LANG(?narrativeUniverseLabel) = \"en\") } } LIMIT 1000", "paraphrases": ["Which fictional human characters are associated with a narrative universe, and what are the names of those universes in English?", "List fictional human characters along with the English labels of the narrative universes they belong to, if any."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ko,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q15632617> . OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1080> ?var2 . } } LIMIT 1000"}}
{"id": "test_9185", "question": "What subject and property are associated with the statement ID Q24766705-324AE1C5-51A0-43B9-AD28-4A90274306B0?", "sparql": "SELECT ?subject ?property WHERE { ?subject ?property s:Q24766705-324AE1C5-51A0-43B9-AD28-4A90274306B0 . }", "paraphrases": ["Subject and property of statement s:Q24766705-324AE1C5-51A0-43B9-AD28-4A90274306B0", "Show me the subject and property of the Wikidata statement with ID Q24766705-324AE1C5-51A0-43B9-AD28-4A90274306B0."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q24766705-324AE1C5-51A0-43B9-AD28-4A90274306B0> . }"}}
{"id": "test_9186", "question": "What are all the superclass categories of the Constituency of Regional Councilors of Hualien County?", "sparql": "SELECT DISTINCT ?superclass WHERE { wd:Q50314224 wdt:P279* ?superclass .}", "paraphrases": ["What classes does the Constituency of Regional Councilors of Hualien County belong to, including indirect subclasses?", "List all the hierarchical parent categories of the Hualien County regional council constituency in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q50314224> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_9187", "question": "What is the \"instance of\" value for the statement with identifier Q24773980-CB855994-BF56-4B7A-B50D-ACD0DB92D479?", "sparql": "PREFIX s: <http://www.wikidata.org/entity/statement/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ?property ?value WHERE {\n  s:Q24773980-CB855994-BF56-4B7A-B50D-ACD0DB92D479 ?property ?value .\n  FILTER ( ?property = ps:P31 )\n}", "paraphrases": ["Which class does the protein UCP036654 belong to according to the statement Q24773980-CB855994-BF56-4B7A-B50D-ACD0DB92D479?", "Can you tell me the classification of Uncharacterised conserved protein UCP036654 as specified by the statement Q24773980-CB855994-BF56-4B7A-B50D-ACD0DB92D479?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q24773980-CB855994-BF56-4B7A-B50D-ACD0DB92D479> . }"}}
{"id": "test_9188", "question": "What are the parts of the protein \"Uncharacterised protein family, dehydrogenase DR0790 type, predicted\"?", "sparql": "SELECT ?proteinLabel ?partLabel WHERE { wd:Q24770457 p:P527 ?statement . ?statement ps:P527 ?part . wd:Q24770457 rdfs:label ?proteinLabel . ?part rdfs:label ?partLabel . FILTER(LANG(?proteinLabel) = \"en\") FILTER(LANG(?partLabel) = \"en\")}", "paraphrases": ["Which molecular domains or functional units does the protein Q24770457 consist of?", "Can you list the components that make up this uncharacterized protein family?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q24770457-0DE9CA18-9497-48EF-BBD0-EA2DC3CAE9EF> . }"}}
{"id": "test_9189", "question": "What are the labels for Pierre-Henri Tavoillot in Italian, English, German, and French, along with his image and Italian description?", "sparql": "SELECT ?label ?image ?description ?wikipediaArticle WHERE { wd:Q3383113 rdfs:label ?label . VALUES (?lang ?priority) { (\"it\" 1) (\"en\" 2) (\"de\" 3) (\"fr\" 4) } FILTER (LANG(?label) = ?lang) OPTIONAL { wd:Q3383113 wdt:P18 ?image . } OPTIONAL { wd:Q3383113 schema:description ?description . FILTER (LANG(?description) = \"it\") } OPTIONAL { ?wikipediaArticle schema:about wd:Q3383113 ; schema:inLanguage \"it\" ; schema:isPartOf <https://it.wikipedia.org/> . } } ORDER BY ?priority", "paraphrases": ["Can you show me Pierre-Henri Tavoillot\u2019s name in four languages (Italian, English, German, French), his Commons image, and his Italian Wikipedia abstract?", "I\u2019d like to see Pierre-Henri Tavoillot\u2019s multilingual labels ordered by language priority (Italian first), his photo from Wikimedia Commons, and any Italian-language description available."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q3383113> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var7 ) ) ) . VALUES ( ?var7 ?var8 ) { ( \"it\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q3383113> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q3383113> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"it\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q3383113> <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q3383113> ; <http://schema.org/inLanguage> \"it\"; <http://schema.org/isPartOf> <https://it.wikipedia.org/> . } } ORDER BY ASC( ?var8 )"}}
{"id": "test_9190", "question": "What metadata and properties are associated with the statement identifying the protein family classification of Sulphite reductase (NADPH) hemoprotein, beta subunit?", "sparql": "SELECT ?property ?value WHERE { s:Q24722311-1905445F-FE8E-495E-A2CE-A57A82F3E9E7 ?property ?value . }", "paraphrases": ["Show all details of the Wikidata statement that states Sulphite reductase (NADPH) hemoprotein, beta subunit is a protein family.", "What references and attributes are attached to the statement that classifies Q24722311 as a protein family?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q24722311-1905445F-FE8E-495E-A2CE-A57A82F3E9E7> ?var1 ?var2 . }"}}
{"id": "test_9191", "question": "What metadata is associated with the statement that classifies Q24745975 as a protein domain?", "sparql": "SELECT ?predicate ?object WHERE { s:Q24745975-13FB8898-6E35-4CAA-8CA0-8FC8FE225ADD ?predicate ?object . }", "paraphrases": ["Show all properties and values of the statement with ID Q24745975-13FB8898-6E35-4CAA-8CA0-8FC8FE225ADD.", "What sources and rank are associated with the claim that ABC transporter, molybdenum import, ModC is a protein domain?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q24745975-13FB8898-6E35-4CAA-8CA0-8FC8FE225ADD> ?var1 ?var2 . }"}}
{"id": "test_9192", "question": "What subject and property are linked to the statement that Nickel import ATP-binding protein NikE has the ABC transporter conserved site as a part?", "sparql": "SELECT ?subject ?property WHERE { ?subject ?property s:Q24772783-899ADB44-DD00-4248-8142-86198C756277 . }", "paraphrases": ["Which protein and property does the statement s:Q24772783-899ADB44-DD00-4248-8142-86198C756277 represent?", "Show me the subject and property associated with the statement indicating that NikE contains an ABC transporter conserved site."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q24772783-899ADB44-DD00-4248-8142-86198C756277> . }"}}
{"id": "test_9193", "question": "What metadata is associated with the statement that classifies IMP dehydrogenase-related 1 as a protein family?", "sparql": "SELECT ?property ?value WHERE { s:Q24772810-341B50EA-2FB4-4329-80D0-B27206EF4540 ?property ?value . }", "paraphrases": ["Show all properties and values of the statement about IMP dehydrogenase-related 1 being a protein family, including its source and rank.", "Can you list the details of the statement asserting that IMP dehydrogenase-related 1 is a protein family, including how it was sourced and its confidence level?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q24772810-341B50EA-2FB4-4329-80D0-B27206EF4540> ?var1 ?var2 . }"}}
{"id": "test_9194", "question": "What is Ectoine utilization protein EutB an instance of?", "sparql": "SELECT ?instanceOf WHERE { wd:Q24784010 wdt:P31 ?instanceOf . }", "paraphrases": ["What category does the protein Ectoine utilization protein EutB belong to?", "What is the class of Ectoine utilization protein EutB in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q24784010-B2B49B5E-EA9C-45A9-B86E-07BD5BABEAD7> . }"}}
{"id": "test_9195", "question": "What is the classification and function of the D-cysteine desulfhydrase protein family?", "sparql": "SELECT ?instanceOfLabel ?subclassOfLabel ?hasPartLabel ?molecularFunctionLabel ?interProId ?description WHERE { wd:Q24776253 wdt:P31 ?instanceOf ; wdt:P279 ?subclassOf ; wdt:P527 ?hasPart ; wdt:P680 ?molecularFunction ; wdt:P2926 ?interProId ; schema:description ?description . ?instanceOf rdfs:label ?instanceOfLabel . ?subclassOf rdfs:label ?subclassOfLabel . ?hasPart rdfs:label ?hasPartLabel . ?molecularFunction rdfs:label ?molecularFunctionLabel . FILTER(LANG(?instanceOfLabel) = \"en\") FILTER(LANG(?subclassOfLabel) = \"en\") FILTER(LANG(?hasPartLabel) = \"en\") FILTER(LANG(?molecularFunctionLabel) = \"en\") FILTER(LANG(?description) = \"en\") }", "paraphrases": ["Can you provide the InterPro ID, molecular function, and parent classes of the protein family D-cysteine desulfhydrase?", "Tell me about D-cysteine desulfhydrase: what type of protein family is it, what enzymes does it belong to, and what is its InterPro identifier?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q24776253> ?var1 ?var2 . }"}}
{"id": "test_9196", "question": "Occupations of people cited from Crossref", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX pr: <http://www.wikidata.org/prop/reference/>\nPREFIX prov: <http://www.w3.org/ns/prov#>\nSELECT ?item ?value WHERE {\n  ?item wdt:P106 ?value .\n  ?statement ps:P106 ?value ; prov:wasDerivedFrom ?ref .\n  ?ref pr:P248 wd:Q5188229\n}", "paraphrases": ["Which people have their occupation sourced from Crossref?", "Show me all individuals whose occupation is referenced by Crossref."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/reference/1ee0314bdaa882aaddffa8d5b68ebccedf844f08> . }"}}
{"id": "test_9197", "question": "What is the type and molecular function of thrombomodulin, and what are its MeSH tree codes?", "sparql": "SELECT ?property ?value WHERE { VALUES ?property { wdt:P31 wdt:P672 wdt:P680 } wd:Q24780167 ?property ?value . }", "paraphrases": ["What are the MeSH classifications and biological function of the protein thrombomodulin?", "Is thrombomodulin classified as a protein family, and what is its molecular function and medical classification?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q24780167> ?var1 ?var2 . }"}}
{"id": "test_9198", "question": "What entity and property are associated with the statement node s:Q24723907-D997869F-BF44-4A95-A858-EFB9502CFF8F?", "sparql": "PREFIX s: <http://www.wikidata.org/entity/statement/>\nSELECT ?subject ?property WHERE {\n  ?subject ?property s:Q24723907-D997869F-BF44-4A95-A858-EFB9502CFF8F .\n}", "paraphrases": ["Which subject and property group this particular statement in Wikidata?", "Can you tell me which entity has a statement about \"part of\" with this specific statement identifier?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q24723907-D997869F-BF44-4A95-A858-EFB9502CFF8F> . }"}}
{"id": "test_9199", "question": "Which proteins are part of the GAF-ANTAR transcription anti-termination regulator protein family?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?protein ?proteinLabel WHERE {\n  ?protein wdt:P361 wd:Q24776043 .\n  ?protein rdfs:label ?proteinLabel .\n  FILTER(LANG(?proteinLabel) = \"en\")\n}", "paraphrases": ["Proteins belonging to the GAF-ANTAR protein family", "List the proteins that are members of the GAF-ANTAR transcription anti-termination regulator family."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q24776043> . }"}}
{"id": "test_9200", "question": "What protein domain is associated with the InterPro ID IPR010524, and which source was it cited from?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX ref: <http://www.wikidata.org/reference/>\nPREFIX s: <http://www.wikidata.org/entity/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX pr: <http://www.wikidata.org/prop/reference/>\nPREFIX prov: <http://www.w3.org/ns/prov#>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?entity ?entityLabel ?interproId ?source WHERE {\n  ?entity p:P31 s:Q24785793-33ECC6EB-1405-4835-90A6-56D24C9DCAE7 .\n  s:Q24785793-33ECC6EB-1405-4835-90A6-56D24C9DCAE7 ps:P31 wd:Q898273 .\n  s:Q24785793-33ECC6EB-1405-4835-90A6-56D24C9DCAE7 prov:wasDerivedFrom ref:7af100886c834f5e0c223ea3887fb5aa564fc5b5 .\n  ref:7af100886c834f5e0c223ea3887fb5aa564fc5b5 pr:P2926 ?interproId .\n  ref:7af100886c834f5e0c223ea3887fb5aa564fc5b5 pr:P248 ?source .\n  ?entity rdfs:label ?entityLabel .\n  FILTER ( LANG( ?entityLabel ) = \"en\" )\n}", "paraphrases": ["Which entity has the statement that it is a protein domain, sourced from InterPro Release 71.0 with InterPro ID IPR010524?", "Can you tell me the name of the protein domain identified by InterPro ID IPR010524 and the reference that supports this annotation?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q24785793-33ECC6EB-1405-4835-90A6-56D24C9DCAE7> ?var1 ?var2 . }"}}
{"id": "test_9201", "question": "What entity and property are associated with the statement about Chaperonin ClpB that identifies its conserved site?", "sparql": "PREFIX s: <http://www.wikidata.org/entity/statement/>\nSELECT ?entity ?property WHERE {\n  ?entity ?property s:Q24743710-39D13447-50BE-4B46-96E8-878B148F6DFC .\n}", "paraphrases": ["For the specific statement regarding Chaperonin ClpB's structural components, which entity and property does it reference?", "Which protein and its relationship type are linked to the statement identifier Q24743710-39D13447-50BE-4B46-96E8-878B148F6DFC?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q24743710-39D13447-50BE-4B46-96E8-878B148F6DFC> . }"}}
{"id": "test_9202", "question": "What are the English Wikipedia pages, Wikivoyage pages, Facebook IDs, TripAdvisor IDs, Reddit subreddits, and images for New York City, Paris, and Bu\u00f1ol?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?item(SAMPLE(?wp) AS ?wikipedia_page)(SAMPLE(?wv) AS ?wikivoyage_page)(SAMPLE(?fb) AS ?facebook_id)(SAMPLE(?ta) AS ?tripadvisor_id)(SAMPLE(?sr) AS ?subreddit)(SAMPLE(?img) AS ?image) WHERE {\n  VALUES ?item {\n    wd:Q60 wd:Q90 wd:Q853762\n  }\n  OPTIONAL {\n    ?wp schema:about ?item ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n  OPTIONAL {\n    ?wv schema:about ?item ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikivoyage.org/> .\n  }\n  OPTIONAL {\n    ?item wdt:P1997 ?fb .\n  }\n  OPTIONAL {\n    ?item wdt:P3134 ?ta .\n  }\n  OPTIONAL {\n    ?item wdt:P3984 ?sr .\n  }\n  OPTIONAL {\n    ?item wdt:P18 ?img .\n  }\n}\nGROUP BY ?item", "paraphrases": ["Can you provide the Wikipedia link, Wikivoyage link, Facebook location ID, TripAdvisor ID, Reddit subreddit, and image for New York City, Paris, and Bu\u00f1ol?", "I need the official online resources and identifiers for New York City, Paris, and Bu\u00f1ol \u2014 including their English Wikipedia and Wikivoyage pages, Facebook and TripAdvisor IDs, Reddit communities, and representative images."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( SAMPLE ( ?var3 ) AS ?var3 )( SAMPLE ( ?var4 ) AS ?var4 )( SAMPLE ( ?var5 ) AS ?var5 )( SAMPLE ( ?var6 ) AS ?var6 )( SAMPLE ( ?var7 ) AS ?var7 ) WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q60> ) ( <http://www.wikidata.org/entity/Q90> ) ( <http://www.wikidata.org/entity/Q853762> ) } OPTIONAL { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> \"en\". ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } OPTIONAL { ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> \"en\". ?var3 <http://schema.org/isPartOf> <https://en.wikivoyage.org/> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1997> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3134> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/subreddit> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var7 . } } GROUP BY ?var1"}}
{"id": "test_9203", "question": "What metadata is associated with the citation statement that references the paper \"The enzymes, regulation, and genetics of bile acid synthesis\"?", "sparql": "PREFIX s: <http://www.wikidata.org/entity/statement/>\nSELECT ?property ?value WHERE {\n  s:Q34340147-74B45612-5042-415E-8BF4-C4A3CD06338D ?property ?value .\n}", "paraphrases": ["Show all properties and values of the Wikidata statement with ID s:Q34340147-74B45612-5042-415E-8BF4-C4A3CD06338D.", "Can you list the rank, source, and cited work for this specific citation in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q34340147-74B45612-5042-415E-8BF4-C4A3CD06338D> ?var1 ?var2 . }"}}
{"id": "test_9204", "question": "What entity is classified as a \"cholesterol biosynthetic process via desmosterol\"?", "sparql": "SELECT ?entity ?value WHERE { ?entity p:P31 s:Q34340161-3A070378-12EE-4393-947A-15CB86CAFEB8 . s:Q34340161-3A070378-12EE-4393-947A-15CB86CAFEB8 ps:P31 ?value . }", "paraphrases": ["Which biochemical pathway has the statement that it is an instance of cholesterol biosynthesis via desmosterol?", "Find the entity and its class for the statement identified by s:Q34340161-3A070378-12EE-4393-947A-15CB86CAFEB8."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q34340161-3A070378-12EE-4393-947A-15CB86CAFEB8> ?var1 ?var2 . }"}}
{"id": "test_9205", "question": "Reactome ID for Inactivation of Cyclin E:Cdk2 complexes by p27/p21", "sparql": "SELECT ?reactomeId WHERE { wd:Q36804515 wdt:P3937 ?reactomeId .}", "paraphrases": ["What is the Reactome ID of the biological pathway \"Inactivation of Cyclin E:Cdk2 complexes by p27/p21\"?", "Can you tell me the Reactome database identifier for the pathway that describes the inactivation of Cyclin E:Cdk2 complexes by p27 and p21 proteins?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q36804515-FEFCEEC3-8F5E-44CA-BBFB-DEBCE3EA1FC2> . }"}}
{"id": "test_9206", "question": "Cited work for statement s:Q36804398-2CB03F86-1BFC-46E5-AA8F-62B347F6B869", "sparql": "SELECT ?work WHERE { s:Q36804398-2CB03F86-1BFC-46E5-AA8F-62B347F6B869 ps:P2860 ?work . }", "paraphrases": ["What scientific work is cited by the statement s:Q36804398-2CB03F86-1BFC-46E5-AA8F-62B347F6B869 associated with the p53-Dependent G1 DNA Damage Response pathway?", "Please retrieve the work cited in the statement s:Q36804398-2CB03F86-1BFC-46E5-AA8F-62B347F6B869."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q36804398-2CB03F86-1BFC-46E5-AA8F-62B347F6B869> . }"}}
{"id": "test_9207", "question": "What metadata is associated with the statement that the p53-Dependent G1 DNA Damage Response pathway occurs in humans?", "sparql": "SELECT ?property ?value WHERE { s:Q36804398-F36FAA5D-DED3-45E1-91C2-29AA20265171 ?property ?value . }", "paraphrases": ["Show all properties and values for the statement about the taxon of the p53-Dependent G1 DNA Damage Response pathway.", "Can you list all the information stored about the source and rank of the claim that this biological pathway is found in Homo sapiens?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q36804398-F36FAA5D-DED3-45E1-91C2-29AA20265171> ?var1 ?var2 . }"}}
{"id": "test_9208", "question": "What buildings, streets, or landmarks in Crimea between latitudes 42\u201346 and longitudes 35\u201337 have images or Wikimedia Commons categories?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX geof: <http://www.opengis.net/def/function/geosparql/>\nSELECT ?item ?itemLabel ?location ?image ?commonsCategory WHERE {\n  ?item wdt:P625 ?location .\n  FILTER ( geof:longitude ( ?location ) >= 35 && geof:longitude ( ?location ) <= 37 ) FILTER ( geof:latitude ( ?location ) >= 42 && geof:latitude ( ?location ) <= 46 ) OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?item wdt:P373 ?commonsCategory .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}\nLIMIT 3000", "paraphrases": ["Can you list English-named locations in southern Crimea (between 35\u00b0E and 37\u00b0E, 42\u00b0N and 46\u00b0N) along with their images and associated Wikimedia Commons categories?", "Show me all entities in the Crimea region with coordinates between 35\u201337 longitude and 42\u201346 latitude, including their English names, photos from Commons, and Commons categories."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(42 35)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(46 37)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_9209", "question": "All railway stations connected to Stralsund Hauptbahnhof via adjacent stations.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?station ?stationLabel WHERE {\n  wd:Q320175 ( wdt:P197 ) * ?station .\n  ?station rdfs:label ?stationLabel .\n  FILTER ( LANGMATCHES( LANG( ?stationLabel ) , \"en\" ) )\n}", "paraphrases": ["Which railway stations are connected to Stralsund Central Station through a chain of neighboring stations?", "List the English names of all railway stations that can be reached from Stralsund Hauptbahnhof by following adjacent station links."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { <http://www.wikidata.org/entity/Q320175> <http://www.wikidata.org/prop/direct/P197> * ?var1 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P197> * <http://www.wikidata.org/entity/Q320175> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P197> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_9210", "question": "ORCID identifiers of the authors of the article \"Validating Machine Learning Algorithms for Twitter Data Against Established Measures of Suicidality\".", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?author ?orcidOrFallback WHERE {\n  wd:Q31096504 wdt:P50 ?author .\n  OPTIONAL {\n    ?author wdt:P496 ?orcid .\n  }\n  BIND( COALESCE ( ?orcid , \"No ORCID available\" ) AS ?orcidOrFallback )\n}", "paraphrases": ["What are the ORCID IDs of the authors of the academic paper on validating ML algorithms for Twitter suicidality measures?", "List the authors of the paper on ML validation for Twitter suicidality and their ORCID identifiers, or indicate if any are missing."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COALESCE ( ?var2 , CONCAT ( \"string1\", ENCODE_FOR_URI ( ?var1Label ) ) ) AS ?var3 ) WHERE { <http://www.wikidata.org/entity/Q31096504> <http://www.wikidata.org/prop/direct/P50> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,da,de,es,fr,nl,no,ru,sv,zh\". } }"}}
{"id": "test_9211", "question": "Most commonly used properties on departmental archives in Wikidata", "sparql": "SELECT ?propertyItem ?propertyItemLabel ?usageCount WHERE { { SELECT ?property ( COUNT(*) AS ?usageCount ) WHERE { ?archive wdt:P31 wd:Q2860456 . ?archive ?property [] . } GROUP BY ?property } ?propertyItem wikibase:claim ?property . ?propertyItem rdfs:label ?propertyItemLabel . FILTER(LANG(?propertyItemLabel) = \"en\") } ORDER BY DESC(?usageCount)", "paraphrases": ["Which properties are most frequently used to describe departmental archives in France, and how many archives use each?", "Show me the top properties used on departmental archives, ranked by how many archives have them, along with their English labels and usage counts."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var4 ( COUNT (* ) AS ?var3 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2860456> . ?var5 ?var4 [] . } GROUP BY ?var4 } ?var1 <http://wikiba.se/ontology#claim> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } } ORDER BY DESC( ?var3 )"}}
{"id": "test_9212", "question": "Spanish provinces and their populations, ordered by population size", "sparql": "SELECT ?provinceLabel ?population WHERE { ?province wdt:P31 wd:Q162620 . ?province rdfs:label ?provinceLabel . FILTER(LANG(?provinceLabel) = \"es\") OPTIONAL { ?province wdt:P1082 ?population . } } ORDER BY ASC(?population)", "paraphrases": ["What are the Spanish provinces and their populations, sorted from smallest to largest?", "List all provinces of Spain with their Spanish names and population figures, ordered by ascending population."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q162620> . ?var1 ?var3Label \"string1\"@es . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es\". } } ORDER BY ASC( ?var2 )"}}
{"id": "test_9213", "question": "What is the English label of the movie with IMDb ID tt0120737?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P345 \"tt0120737\" .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["Which movie in Wikidata has the IMDb identifier tt0120737?", "Can you find the title of the film identified by tt0120737 on IMDb?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0214302\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_9214", "question": "What properties (other than \"instance of\") are used to link creative works to fiction literature?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?property WHERE {\n  ?item ?statementProperty wd:Q38072107 .\n  ?property wikibase:statementProperty ?statementProperty .\n  FILTER ( ?property != wd:P31 )\n}", "paraphrases": ["Which properties, excluding \"instance of\", connect entities to the concept of fiction literature in Wikidata?", "Show me all the properties that are used to state that something is related to fiction literature, but not the \"instance of\" relationship."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 ?var3 <http://www.wikidata.org/entity/Q38072107> . ?var1 <http://wikiba.se/ontology#statementProperty> ?var3 . FILTER ( ( ( ?var1 != <http://www.wikidata.org/entity/P31> ) ) ) . }"}}
{"id": "test_9215", "question": "Works published in books and their qualifiers (e.g., ISBN, chapter, title).", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?work ?qualifierProperty ?qualifierValue WHERE {\n  ?work p:P1433 ?statement .\n  ?statement ps:P1433 wd:Q571 .\n  ?statement ?qualifierProperty ?qualifierValue .\n  FILTER ( STRSTARTS( STR( ?qualifierProperty ) , \"http://www.wikidata.org/prop/qualifier/\" ) )\n}", "paraphrases": ["What qualifiers (like ISBN or chapter number) are attached to works that were published in books?", "Show me all the qualifier properties and values used for works that were published in books."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P1433> <http://www.wikidata.org/entity/Q571> . ?var1 <http://www.wikidata.org/prop/P1433> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_9216", "question": "What is the name of Stan Lee in English according to Wikidata?", "sparql": "SELECT ?label WHERE { wd:Q181900 rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["What does the Wikidata item Q181900 represent in English?", "Can you tell me the English label for the entity representing Stan Lee?"], "info": {"raw_sparql": "SELECT ?var1Label WHERE { BIND ( <http://www.wikidata.org/entity/Q181900> AS ?var1 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,nl,es,fr,de,it,pt,sv,zh,ja\". } }"}}
{"id": "test_9217", "question": "Who is Simone de Beauvoir\u2019s sibling, and what is their name in French?", "sparql": "SELECT ?sibling ?siblingLabel WHERE { wd:Q7197 wdt:P3373 ?sibling . ?sibling rdfs:label ?siblingLabel . FILTER (LANG(?siblingLabel) = \"fr\") } LIMIT 50", "paraphrases": ["French name of Simone de Beauvoir\u2019s sibling", "Can you tell me the French label of Simone de Beauvoir\u2019s sibling?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q7197> <http://www.wikidata.org/prop/direct/P3373> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"fr\" ) ) ) . } LIMIT 50"}}
{"id": "test_9218", "question": "Is there a person or organization in Wikidata with the GND ID 116353430?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P227 \"116353430\" .\n}", "paraphrases": ["Does the German National Library ID 116353430 exist in Wikidata?", "Can you confirm that the entity with DNB author ID 116353430 is in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"116353430\". }"}}
{"id": "test_9219", "question": "Does the Ready64 database have an entry with ID 7?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?game wdt:P4916 \"7\" .\n}", "paraphrases": ["Is there a Commodore 64 video game with Ready64 ID 7?", "Confirm whether a game exists in the Ready64 database with the identifier 7."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4916> \"7\". }"}}
{"id": "test_9220", "question": "Is the Commodore 64 game \"Hans Kloss\" listed in Wikidata with the Ready64 ID 4348?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?game wdt:P4916 \"4348\" .\n}", "paraphrases": ["Does Wikidata contain an entry for the game Hans Kloss using the Ready64 identifier 4348?", "Is there a record in Wikidata for the Ready64 ID 4348?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4916> \"4348\". }"}}
{"id": "test_9221", "question": "Luxembourg citizens with Twitter usernames", "sparql": "SELECT ?person ?twitterUsername WHERE { ?person wdt:P27 wd:Q32 . OPTIONAL { ?person wdt:P2002 ?twitterUsername . } } LIMIT 20000", "paraphrases": ["Which people who are citizens of Luxembourg have a Twitter/X account listed in Wikidata?", "List all citizens of Luxembourg and their Twitter/X usernames, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q32> . OPTIONAL { } OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . } } LIMIT 20000"}}
{"id": "test_9222", "question": "Wikidata item for Great Russian Encyclopedia ID 2101733 and its English description", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P2924 \"2101733\" .\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n  .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["What is the English label and description of the cosmology article in the Great Russian Encyclopedia (old version)?", "Show me the English name and description of the entity linked to the Great Russian Encyclopedia Online ID 2101733."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"1821454\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9223", "question": "Polish football clubs and their founding years", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?club ?clubLabel(YEAR(?inceptionDate) AS ?foundingYear) WHERE {\n  ?club wdt:P31 wd:Q476028 ; wdt:P17 wd:Q36 ; wdt:P571 ?inceptionDate .\n  ?club rdfs:label ?clubLabel .\n  FILTER(LANG(?clubLabel) = \"en\")\n}", "paraphrases": ["What are the English names and founding years of football clubs in Poland?", "Show me the names and founding years of football clubs in Poland, with English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( YEAR ( ?var2 ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q476028> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q36> ; <http://www.wikidata.org/prop/direct/P571> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } }"}}
{"id": "test_9224", "question": "Does the GND ID 114020108 exist in Wikidata?", "sparql": "ASK WHERE { ?item wdt:P227 \"114020108\" . }", "paraphrases": ["Is there a person or organization in Wikidata with the GND ID 114020108?", "Check if the German National Library ID 114020108 is registered in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"114020108\". }"}}
{"id": "test_9225", "question": "Organizations operating in Virginia and their statement qualifiers.", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?organization ?statement ( SAMPLE( ?qualifier ) AS ?qualifierProperty ) WHERE {\n  ?organization p:P2541 ?statement .\n  ?statement ps:P2541 wd:Q1370 .\n  OPTIONAL {\n    ?statement ?qualifier ?qualifierValue .\n    ?qualifier wikibase:qualifier p:P2541 .\n  }\n}\nGROUP BY ?organization ?statement\nLIMIT 101", "paraphrases": ["Which organizations operate in Virginia, and what qualifiers are used on their operating area statements?", "List all organizations that have Virginia as their operating area, along with any qualifier properties attached to those statements."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P2541> <http://www.wikidata.org/entity/Q1370> . ?var1 <http://www.wikidata.org/prop/P2541> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_9226", "question": "What is the image on Wikimedia Commons for the entity with SNAC ARK ID w69g673z?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w69g673z\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Show me the picture of Terry Allen, identified by SNAC ARK ID w69g673z.", "Find the Commons image linked to the SNAC ARK ID w69g673z."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w69g673z\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9227", "question": "German municipalities with their Gemeindeschl\u00fcssel and German Wikipedia links", "sparql": "SELECT ?municipalityKey ?wikipediaPage ?municipality ?municipalityLabel WHERE { ?municipality wdt:P439 ?municipalityKey . ?wikipediaPage schema:about ?municipality . ?wikipediaPage schema:isPartOf <https://de.wikipedia.org/> . ?municipality rdfs:label ?municipalityLabel . FILTER(LANG(?municipalityLabel) = \"de\") } LIMIT 12", "paraphrases": ["What are the German municipalities, their official keys, and their German Wikipedia pages?", "Show me a list of German towns and cities with their municipality codes and corresponding German Wikipedia articles."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var3Label ?var4 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P439> ?var1 . ?var2 <http://schema.org/about> ?var3 . ?var2 <http://schema.org/isPartOf> <https://de.wikipedia.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } } LIMIT 12"}}
{"id": "test_9228", "question": "What is the image of the person with SNAC ARK ID w62b9z6k?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w62b9z6k\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Can you find an image on Wikimedia Commons for E. M. Broner?", "Is there a photo available for the individual identified by the SNAC ARK ID w62b9z6k?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w62b9z6k\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9229", "question": "What occupations did Miguel de Cervantes have?", "sparql": "SELECT ?occupation WHERE { wd:Q5682 wdt:P106 ?occupation .}", "paraphrases": ["What jobs did the Spanish author of Don Quixote hold?", "List all the professions of Miguel de Cervantes."], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q5682> <http://www.wikidata.org/prop/direct/P106> ?var1 . }"}}
{"id": "test_9230", "question": "What were Benjamin Harrison\u2019s occupations and political positions?", "sparql": "SELECT ?property ?propertyLabel ?value ?valueLabel WHERE { wd:Q35678 ?property ?value . VALUES ?property { wdt:P106 wdt:P39 wdt:P569 wdt:P570 wdt:P19 wdt:P20 wdt:P27 } OPTIONAL { ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") } OPTIONAL { ?value rdfs:label ?valueLabel . FILTER(LANG(?valueLabel) = \"en\") } } ORDER BY ?property", "paraphrases": ["What jobs did Benjamin Harrison hold, and what positions was he president of?", "Can you list Benjamin Harrison\u2019s occupations, the political offices he held (including president), and his birth and death dates?"], "info": {"raw_sparql": "Describe <http://www.wikidata.org/entity/Q35678>"}}
{"id": "test_9231", "question": "Korean-labeled properties that have \"gratis\" as a value", "sparql": "SELECT ?property ?propertyLabel ?propertyDescription WHERE { ?item ?prop wd:Q1543615 . ?property wikibase:directClaim ?prop . ?property rdfs:label ?propertyLabel . ?property schema:description ?propertyDescription . FILTER (LANG(?propertyLabel) = \"ko\") FILTER (LANG(?propertyDescription) = \"ko\") } LIMIT 100", "paraphrases": ["What properties in Korean are used to indicate that something is free of charge?", "Show me the Korean labels and descriptions of properties whose values include \"gratis\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q1543615> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"ko\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"ko\" ) ) ) . } LIMIT 100"}}
{"id": "test_9232", "question": "Which organizations on Wikidata have Twitter/X handles: SpaceX, CNRS, Wikimedia, EFF, PLOS, or LesEchos?", "sparql": "SELECT ?entity ?twitterHandle WHERE { ?entity wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { \"SpaceX\" \"CNRS\" \"Wikimedia\" \"EFF\" \"PLOS\" \"LesEchos\" } }", "paraphrases": ["What are the Wikidata entities corresponding to the Twitter handles \"SpaceX\", \"CNRS\", \"Wikimedia\", \"EFF\", \"PLOS\", and \"LesEchos\"?", "Show me the Wikidata items linked to the Twitter accounts SpaceX, CNRS, Wikimedia, EFF, PLOS, and LesEchos."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"MaelLeHir\" ) ( \"splcconf\" ) ( \"symac\" ) ( \"WeelzFr\" ) ( \"koenaFR\" ) ( \"string1\" ) ( \"20Minutes\" ) ( \"ecursie\" ) ( \"string2\" ) ( \"gazeoftime\" ) ( \"wikidata\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"Inrap\" ) ( \"enenvor\" ) ( \"ymevanno\" ) ( \"arnaudw1\" ) ( \"Kengo_BZH\" ) ( \"gallicalol\" ) ( \"INHA_Fr\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) ( \"string13\" ) ( \"ianbirrell\" ) ( \"IanDunt\" ) ( \"belett\" ) ( \"EFF\" ) ( \"string14\" ) ( \"string15\" ) ( \"CNRS\" ) ( \"benestaar\" ) ( \"nikku_man\" ) ( \"LiaSae\" ) ( \"dicare_org\" ) ( \"string16\" ) ( \"string17\" ) ( \"string18\" ) ( \"string19\" ) ( \"Momoow\" ) ( \"SpaceX\" ) ( \"LesEchos\" ) ( \"BBeyern\" ) ( \"string20\" ) ( \"PLOS\" ) ( \"Wikimedia\" ) ( \"string21\" ) ( \"string22\" ) ( \"string23\" ) ( \"string24\" ) ( \"Blouchtika\" ) ( \"maamyisa\" ) ( \"chandresWP\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_9233", "question": "Danish-born individuals and the positions they hold", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?human ?positionLabel WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human wdt:P19 / wdt:P17 wd:Q35 .\n  ?human wdt:P39 ?position .\n  ?position rdfs:label ?positionLabel\n  FILTER ( LANG( ?positionLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Who are the people born in Denmark that hold public offices, and what are their positions?", "List the positions held by people born in Denmark, along with their names."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q35> . ?var1 <http://www.wikidata.org/prop/direct/P39> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 250000"}}
{"id": "test_9234", "question": "Images of Roman archaeological sites", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?image WHERE {\n  ?place wdt:P31 wd:Q21752084 .\n  ?place wdt:P18 ?image .\n}", "paraphrases": ["What are the images of Roman archaeological sites associated with the work of Ray Laurence?", "Show me images of places from classical antiquity that Ray Laurence studied as a historian."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { <http://www.wikidata.org/entity/Q47072899> <http://www.wikidata.org/prop/direct/P18> ?var1 . } UNION { <http://www.wikidata.org/entity/Q47072899> !( <http://www.wikidata.org/prop/direct/P1889> ) ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . FILTER ( ( ( ?var2 != <http://www.wikidata.org/entity/Q5> ) ) ) . } UNION { <http://www.wikidata.org/entity/Q47072899> (^ <http://www.wikidata.org/prop/direct/P50> /( <http://www.wikidata.org/prop/direct/P921> *| <http://www.wikidata.org/prop/direct/P50> )/ <http://www.wikidata.org/prop/direct/P18> ) ?var1 . } }"}}
{"id": "test_9235", "question": "Museums with Instagram accounts", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?museum ?instagramUsername WHERE {\n  ?museum wdt:P31 wd:Q33506 ; wdt:P2003 ?instagramUsername .\n}", "paraphrases": ["Which museums have an Instagram username listed on Wikidata?", "List the Instagram usernames of all museums in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://it.dbpedia.org/resource/Museo_di_Capodimonte> <http://www.w3.org/2002/07/owl#sameAs> ?var2 . ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q33506> ; <http://www.wikidata.org/prop/direct/P2003> ?var1 . }"}}
{"id": "test_9236", "question": "What qualifiers and metadata are associated with G\u00e9rard Collomb\u2019s term as a Senator of the French Fifth Republic?", "sparql": "SELECT ?property ?value WHERE { wd:Q12956 p:P39 ?statement . ?statement ?property ?value . ?statement ps:P39 wd:Q14828018 .}", "paraphrases": ["When did G\u00e9rard Collomb serve as a Senator of the French Fifth Republic, and in which electoral district?", "Show all details about G\u00e9rard Collomb\u2019s service as a French senator, including start and end dates and the electoral district."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q12956> <http://www.wikidata.org/prop/P39> ?var3 . ?var3 ?var1 ?var2 . ?var3 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q14828018> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,fr,en\". } }"}}
{"id": "test_9237", "question": "Is language an instance of or subclass of entity?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q315(wdt:P31 / wdt:P279 *) wd:Q35120 .\n}", "paraphrases": ["Does the concept of language belong to the category of entity through its type or hierarchy?", "Confirm whether language is classified as an entity either directly or through its class hierarchy."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q315> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_9238", "question": "List Erik Radio\u2019s publications from 2014 to 2021 with their titles truncated to 20 characters.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?year ?titleSnippet WHERE {\n  ?work wdt:P50 wd:Q50355312 .\n  ?work wdt:P577 ?pubDate .\n  ?work rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  .\n  BIND(YEAR(?pubDate) AS ?year)\n  .\n  BIND(SUBSTR(?label , 1 , 20) AS ?titleSnippet)\n}\nORDER BY ?year", "paraphrases": ["What are the English titles of Erik Radio\u2019s works, sorted by publication year, with only the first 20 characters shown?", "Show me the publication years and shortened titles (first 20 chars) of Erik Radio\u2019s English-language works, ordered chronologically."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label WHERE { { SELECT ?var1 ( SAMPLE ( ?var4 ) AS ?var2 ) ?var3Label WHERE { { SELECT( STR ( ?var5 ) AS ?var1 )( \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var4 )( \"_\" AS ?var3Label ) WHERE { BIND ( YEAR ( ?var6 ) AS ?var5 ). ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q577> . ?var7 <http://www.wikidata.org/prop/direct/P585> ?var6 . { SELECT( MIN ( ?var5 ) AS ?var8 )( MAX ( ?var5 ) AS ?var9 ) WHERE { BIND ( YEAR ( ?var10 ) AS ?var5 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q50355312> . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var10 . } } FILTER ( ( ( ?var5 >= ?var8 ) && ( ?var5 <= ?var9 ) ) ) . } } UNION { BIND ( SUBSTR ( ?var12Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"20\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q50355312> . ?var11 <http://www.wikidata.org/prop/direct/P1104> ?var4 . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var6 . ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12Label . FILTER ( ( ( LANG ( ?var12Label ) = \"en\" ) ) ) . } } GROUP BY ?var1 ?var11 ?var3Label ORDER BY ASC( ?var1 ) } }"}}
{"id": "test_9239", "question": "Universities named \"Harvard\" with their country, official website, location, and coordinates.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?university ?label ?country ?website ?location ?coordinates WHERE {\n  ?university(wdt:P31 / wdt:P279 *) wd:Q3918 .\n  ?university rdfs:label ?label .\n  FILTER(REGEX(?label , \"Harvard\" , \"i\"))\n  OPTIONAL {\n    ?university wdt:P17 ?country .\n  }\n  OPTIONAL {\n    ?university wdt:P856 ?website .\n  }\n  OPTIONAL {\n    ?university wdt:P131 ?location .\n  }\n  OPTIONAL {\n    ?university wdt:P625 ?coordinates .\n  }\n}", "paraphrases": ["What are the universities with \"Harvard\" in their name, and where are they located, along with their official websites and geographic coordinates?", "Show me all universities that include \"Harvard\" in their label, along with their country, official website, administrative location, and geographic coordinates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4Label ?var5Label ?var6 ?var7 ?var8 ?var9 ?var10 ?var10Label ?var11 ?var11Label ?var12 ?var12Label ?var13 ?var13Label WHERE { ?var14 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3918> . ?var14 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . ?var14 <http://www.wikidata.org/prop/direct/P17> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var14 <http://www.wikidata.org/prop/direct/P854> ?var7 . } OPTIONAL { ?var14 <http://www.wikidata.org/prop/direct/P973> ?var8 . } OPTIONAL { ?var14 <http://www.wikidata.org/prop/direct/P131> ?var5 . } OPTIONAL { ?var14 <http://www.wikidata.org/prop/direct/P969> ?var9 . } OPTIONAL { ?var14 <http://www.wikidata.org/prop/direct/P856> ?var2 . } OPTIONAL { ?var14 <http://www.wikidata.org/prop/direct/P669> ?var10 . } OPTIONAL { ?var14 <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var14 <http://www.wikidata.org/prop/direct/P1416> ?var11 . } OPTIONAL { ?var14 <http://www.wikidata.org/prop/direct/P361> ?var12 . } OPTIONAL { ?var14 <http://www.wikidata.org/prop/direct/P527> ?var13 . } FILTER ( ( REGEX ( ?var1 , \"string1\", \"i\" ) ) ) . } LIMIT 1"}}
{"id": "test_9240", "question": "What is the Twitter username of Donald Trump on Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?twitterUsername WHERE {\n  ?person wdt:P2002 ?twitterUsername .\n  VALUES ?twitterUsername {\n    \"realDonaldTrump\"\n  }\n}", "paraphrases": ["Which person has the Twitter handle \"realDonaldTrump\"?", "Show me the entity and Twitter username for the account \"realDonaldTrump\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"DonaldJ218\" ) ( \"string1\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_9241", "question": "What photographic works were created by Bernd and Hilla Becher, and when were they published?", "sparql": "SELECT ?work ?publicationDate WHERE { ?work wdt:P170 wd:Q705085 . OPTIONAL { ?work wdt:P577 ?publicationDate . } }", "paraphrases": ["Can you list the artworks by the artist duo Bernd and Hilla Becher along with their release dates?", "Which works are attributed to Bernd and Hilla Becher, and do any of them have recorded publication dates?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q705085> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var2 . } }"}}
{"id": "test_9242", "question": "What is the type of Albert Einstein according to Wikidata?", "sparql": "SELECT ?entityLabel ?typeLabel WHERE { BIND( wd:Q937 AS ?entity ) . ?entity wdt:P31 ?type . ?entity skos:prefLabel ?entityLabel . ?type skos:prefLabel ?typeLabel . FILTER (lang(?entityLabel) = \"en\" && lang(?typeLabel) = \"en\") }", "paraphrases": ["What is Albert Einstein classified as?", "Show me the name and category of Albert Einstein in Wikidata."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { BIND ( <http://www.wikidata.org/entity/undefined> AS ?var1 ). OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9243", "question": "Which Wikidata entities have Twitter usernames including ParisMatch, dzwoman, LIVETVR, bldy55, stonesht, NewsTVreal, LeTvsp, 91Negresse, solife_fr, or Ouhloulouh?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterUsername WHERE {\n  ?item wdt:P2002 ?twitterUsername .\n  FILTER(?twitterUsername = \"ParisMatch\" || ?twitterUsername = \"dzwoman\" || ?twitterUsername = \"LIVETVR\" || ?twitterUsername = \"bldy55\" || ?twitterUsername = \"stonesht\" || ?twitterUsername = \"NewsTVreal\" || ?twitterUsername = \"LeTvsp\" || ?twitterUsername = \"91Negresse\" || ?twitterUsername = \"solife_fr\" || ?twitterUsername = \"Ouhloulouh\")\n}", "paraphrases": ["Can you find any entities on Wikidata that are associated with the Twitter usernames ParisMatch, dzwoman, LIVETVR, bldy55, stonesht, NewsTVreal, LeTvsp, 91Negresse, solife_fr, or Ouhloulouh?", "List the Wikidata items and their Twitter usernames for the following handles: ParisMatch, dzwoman, LIVETVR, bldy55, stonesht, NewsTVreal, LeTvsp, 91Negresse, solife_fr, and Ouhloulouh."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"dzwoman\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"LIVETVR\" ) ( \"bldy55\" ) ( \"string5\" ) ( \"string6\" ) ( \"stonesht\" ) ( \"string7\" ) ( \"NewsTVreal\" ) ( \"string8\" ) ( \"LeTvsp\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"91Negresse\" ) ( \"string12\" ) ( \"string13\" ) ( \"string14\" ) ( \"string15\" ) ( \"ParisMatch\" ) ( \"minajboum\" ) ( \"string16\" ) ( \"solife_fr\" ) ( \"Ouhloulouh\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_9244", "question": "What Wikidata item has the GND ID 4054151-4?", "sparql": "SELECT ?item WHERE { ?item wdt:P227 \"4054151-4\" . } LIMIT 1", "paraphrases": ["Which concept in Wikidata is identified by the German National Library ID 4054151-4?", "Tell me the Wikidata entity associated with the GND identifier 4054151-4."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"4054151-4\". } LIMIT 1"}}
{"id": "test_9245", "question": "Does the German National Library ID 1062069234 exist in Wikidata?", "sparql": "ASK WHERE { ?item wdt:P227 \"1062069234\" . }", "paraphrases": ["Is there a person in Wikidata with the GND ID 1062069234?", "Find out if the GND ID 1062069234 is assigned to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"1062069234\". }"}}
{"id": "test_9246", "question": "What is Madonna's date of birth?", "sparql": "SELECT ?birthDate WHERE { wd:Q1744 wdt:P569 ?birthDate .}", "paraphrases": ["On what date was Madonna born?", "Can you tell me the exact date and time when Madonna was born, according to Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q1744> <http://www.wikidata.org/prop/direct/P569> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9247", "question": "Chemical compounds with mass around 180.16 g/mol, InChI identifier, and KEGG ID.", "sparql": "SELECT ?entity ?inchi ?kegg ?mass ?label WHERE { ?entity wdt:P234 ?inchi . ?entity wdt:P665 ?kegg . ?entity wdt:P2067 ?mass . FILTER ( ABS( ?mass - 180.16 ) < 0.5 ) . ?entity rdfs:label ?label . FILTER ( LANG( ?label ) = \"en\" ) . } LIMIT 190", "paraphrases": ["Which chemical compounds have a molecular mass of approximately 180.16, along with an InChI and KEGG identifier?", "List chemical substances with a mass close to 180.16 that also have both an InChI code and a KEGG ID, along with their English names."], "info": {"raw_sparql": "SELECT * WHERE { VALUES ( ?var1 ) { ( \"180.16\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) } ?var2 <http://www.wikidata.org/prop/direct/P234> ?var3 . ?var2 <http://www.wikidata.org/prop/direct/P665> ?var4 . ?var2 <http://www.wikidata.org/prop/direct/P2067> ?var1 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . } LIMIT 190"}}
{"id": "test_9248", "question": "What is the statement that the Mona Lisa is made of poplar panel, and this applies to the painting support?", "sparql": "SELECT ?statement WHERE { wd:Q12418 p:P186 ?statement . ?statement ps:P186 wd:Q106857865 . ?statement pq:P518 wd:Q861259 . }", "paraphrases": ["Mona Lisa made of poplar panel on painting support \u2014 what is the statement?", "Show me the Wikidata statement indicating that the Mona Lisa\u2019s painting support is made of poplar panel."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q12418> <http://www.wikidata.org/prop/P186> ?var1 . ?var1 <http://www.wikidata.org/prop/statement/P186> <http://www.wikidata.org/entity/Q291034> . ?var1 <http://www.wikidata.org/prop/qualifier/P518> <http://www.wikidata.org/entity/Q861259> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9249", "question": "Medications with their active ingredients and medical roles", "sparql": "SELECT ?activeIngredientLabel ?medication ?medicationLabel ?conditionLabel WHERE { ?medication wdt:P3780 ?activeIngredient . ?medication wdt:P2868 ?condition . ?activeIngredient rdfs:label ?activeIngredientLabel . ?medication rdfs:label ?medicationLabel . ?condition rdfs:label ?conditionLabel . FILTER(LANG(?activeIngredientLabel) = \"en\") FILTER(LANG(?medicationLabel) = \"en\") FILTER(LANG(?conditionLabel) = \"en\")}", "paraphrases": ["What medications have specific active ingredients, and what conditions are they used to treat?", "Show me a list of drugs, their active components, and the medical conditions they are indicated for."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var2Label ?var3Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3780> ?var1 . ?var2 <http://www.wikidata.org/prop/direct/P2868> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_9250", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt1920861?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipediaPage WHERE {\n  ?movie wdt:P345 \"tt1920861\" .\n  ?wikipediaPage schema:about ?movie .\n  {\n    ?wikipediaPage schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipediaPage schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Find the Wikipedia article in English or German about the movie identified by tt1920861 on IMDb.", "Which Wikipedia pages (in English or German) are linked to the movie with IMDb ID tt1920861?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1920861\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9251", "question": "Districts in India and their geographic coordinates", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?district ?coordinates WHERE {\n  ?district wdt:P31 wd:Q1149652 ; wdt:P625 ?coordinates .\n}", "paraphrases": ["What are the geographic coordinates of all districts in India?", "List all districts in India along with their latitude and longitude coordinates."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1149652> ; <http://www.wikidata.org/prop/direct/P625> ?var2 . }"}}
{"id": "test_9252", "question": "Wikipedia pages in English or German for the TV series with IMDb ID tt5931336", "sparql": "SELECT ?item ?wikipedia_page WHERE { ?item wdt:P345 \"tt5931336\" . ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["What are the English or German Wikipedia articles for the TV show Ratris Khel Chale?", "Show me the Wikipedia pages in English or German about the movie or show with IMDb ID tt5931336."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5931338\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9253", "question": "Instances of database with their English labels and the class label.", "sparql": "SELECT ?database ?databaseLabel ?classLabel WHERE { ?database wdt:P31 wd:Q8513 . ?database rdfs:label ?databaseLabel . wd:Q8513 rdfs:label ?classLabel . FILTER(LANG(?databaseLabel) = \"en\") FILTER(LANG(?classLabel) = \"en\") }", "paraphrases": ["What are some examples of databases in Wikidata, and what is the label of the class \"database\"?", "List the English names of entities that are instances of a database, along with the label of the class \"database\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { BIND ( <http://www.wikidata.org/entity/Q8513> AS ?var2 ). ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 ; <http://www.wikidata.org/prop/direct/P279> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_9254", "question": "What is the OpenStreetMap relation ID for the Maghreb region, where Maghrebi mint tea is traditionally consumed?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?osm WHERE {\n  wd:Q937101 wdt:P495 wd:Q28227 .\n  wd:Q28227 wdt:P402 ?osm .\n}", "paraphrases": ["Find the OpenStreetMap ID of the geographic region associated with Maghrebi mint tea.", "Which OpenStreetMap relation corresponds to the area where Maghrebi mint tea originates?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q937101> <http://www.wikidata.org/prop/direct/P402> ?var1 . }"}}
{"id": "test_9255", "question": "Territories claimed by Ireland", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?territory ?statement WHERE {\n  ?territory p:P1336 ?statement .\n  ?statement ps:P1336 wd:Q27 .\n}\nLIMIT 101", "paraphrases": ["What territories are claimed by Ireland?", "List the territories that Ireland claims."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P1336> <http://www.wikidata.org/entity/Q27> . ?var1 <http://www.wikidata.org/prop/P1336> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_9256", "question": "Humans with \"Megel\" in their French name.", "sparql": "SELECT DISTINCT ?person WHERE { ?person rdfs:label ?label . FILTER(LANG(?label) = \"fr\") . FILTER(CONTAINS(LCASE(?label), \"megel\")) . ?person wdt:P31 wd:Q5 .}", "paraphrases": ["Who are the people named Megel in French?", "List all humans whose French label contains the name \"Megel\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Megel\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_9257", "question": "What sports teams have Polish labels and descriptions, and have had players associated with them?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?team ?teamLabel ?teamDesc WHERE {\n  ?player wdt:P54 ?team .\n  ?team rdfs:label ?teamLabel .\n  ?team schema:description ?teamDesc .\n  FILTER(LANG(?teamLabel) = \"pl\")\n  FILTER(LANG(?teamDesc) = \"pl\")\n}\nLIMIT 100", "paraphrases": ["Show me Polish-language labels and descriptions of sports teams that people have played for.", "Which teams, described and labeled in Polish, are linked to athletes via membership?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P54> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"pl\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"pl\" ) ) ) . } LIMIT 100"}}
{"id": "test_9258", "question": "How many people are listed as billionaires either by occupation or by direct instance?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ( COUNT( DISTINCT ?person ) AS ?count ) WHERE {\n  {\n    ?person wdt:P31 wd:Q1062083\n  } UNION {\n    ?person wdt:P106 wd:Q1062083\n  }\n}", "paraphrases": ["What is the total number of individuals associated with the status of billionaire in Wikidata, either as their occupation or as their type?", "Count all people in Wikidata who are either labeled as billionaires or have billionaire as their occupation."], "info": {"raw_sparql": "SELECT( COUNT ( DISTINCT ?var1 ) AS ?var2 ) WHERE { ?var1 (( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P106> )/ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1062083> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9259", "question": "What entity and property does the statement s:Q1440338-d77ac3b3-434e-0670-d13b-2d682cc85af9 refer to?", "sparql": "PREFIX s: <http://www.wikidata.org/entity/statement/>\nSELECT ?entity ?property WHERE {\n  ?entity ?property s:Q1440338-d77ac3b3-434e-0670-d13b-2d682cc85af9\n}", "paraphrases": ["Which entity and property are linked to the Wikidata statement with ID s:Q1440338-d77ac3b3-434e-0670-d13b-2d682cc85af9?", "Show me the entity and property of the Wikidata statement identified by s:Q1440338-d77ac3b3-434e-0670-d13b-2d682cc85af9."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q1440338-d77ac3b3-434e-0670-d13b-2d682cc85af9> . }"}}
{"id": "test_9260", "question": "Who are the current members of the Tasmanian Legislative Council, and which electoral districts do they represent?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?person ?personLabel ?districtLabel WHERE {\n  ?person p:P39 ?statement .\n  ?statement ps:P39 wd:Q19299542 .\n  ?statement pq:P768 ?district .\n  FILTER ( NOT EXISTS {\n    ?statement pq:P582 ?end\n  }\n  ) OPTIONAL {\n    ?person rdfs:label ?personLabel .\n    FILTER ( LANG( ?personLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?district rdfs:label ?districtLabel .\n    FILTER ( LANG( ?districtLabel ) = \"en\" )\n  }\n}\nORDER BY ?personLabel", "paraphrases": ["List the names and electoral districts of all currently serving members of the Tasmanian Legislative Council.", "Which politicians are currently representing each electoral district in Tasmania\u2019s Legislative Council?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/P39> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q19299542> . ?var4 <http://www.wikidata.org/prop/qualifier/P768> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/entity/Q101352> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P102> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( NOT EXISTS { ?var4 <http://www.wikidata.org/prop/qualifier/P582> ?var6 . } ) ) . } ORDER BY ASC( ?var5 )"}}
{"id": "test_9261", "question": "What business types is Fandango classified as?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?type ?typeLabel WHERE {\n  wd:Q3739211 wdt:P31 ?type .\n  ?type wdt:P279 * wd:Q4830453 .\n  ?type rdfs:label ?typeLabel .\n  FILTER(LANG(?typeLabel) = \"en\")\n}\nLIMIT 1000", "paraphrases": ["What are the specific kinds of businesses that Fandango is an instance of?", "List all the business-related categories that Fandango belongs to."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } BIND ( <http://www.wikidata.org/entity/Q3739211> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q4830453> . } LIMIT 1000"}}
{"id": "test_9262", "question": "Films released in 2017 with their titles and IMDb IDs.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?film ?title ?imdbId WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P577 ?date .\n  FILTER(?date >= \"2017-01-01T00:00:00Z\" ^^ xsd:dateTime && ?date <= \"2017-12-31T23:59:59Z\" ^^ xsd:dateTime)\n  OPTIONAL {\n    ?film wdt:P1476 ?title .\n  }\n  OPTIONAL {\n    ?film wdt:P345 ?imdbId .\n  }\n}\nLIMIT 10", "paraphrases": ["What are the titles and IMDb IDs of films released in 2017?", "List up to 10 films from 2017, including their titles in any language and their IMDb identifiers."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } FILTER ( ( ( ?var4 >= \"2017-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var4 <= \"2017-12-31T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var2 . } OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . } } LIMIT 10"}}
{"id": "test_9263", "question": "Villages in Hebei Province with Chinese names", "sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 wdt:P31 wd:Q13100073 ; wdt:P131+ wd:Q21208 . ?var1 rdfs:label ?var1Label . FILTER(langMatches(LANG(?var1Label), \"zh\")) }", "paraphrases": ["What are the Chinese names of villages located in Hebei Province, China?", "List the Chinese-language labels of all villages in Hebei Province, including those in its subordinate administrative divisions."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13100073> ; <http://www.wikidata.org/prop/direct/P131> + <http://www.wikidata.org/entity/Q21208> . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"th\". } }"}}
{"id": "test_9264", "question": "English label of Wikidata item Q14638284", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label WHERE {\n  wd:Q14638284 rdfs:label ?label .\n  FILTER(LANGMATCHES(LANG(?label) , \"en\"))\n}\nLIMIT 1", "paraphrases": ["What is the English name of the entity Q14638284 on Wikidata?", "Show me the English label for the Wikidata item Q14638284."], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { <http://www.wikidata.org/entity/Q14638284> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( LANGMATCHES ( LANG ( ?var1Label ) , \"EN\" ) ) ) . } LIMIT 1"}}
{"id": "test_9265", "question": "How many articles from Philosophical Transactions have been cited 0 times, 1 time, or more?", "sparql": "SELECT ?citation_count (COUNT(?article) AS ?frequency)\nWHERE {\n  {\n    SELECT ?article (COUNT(?citing_work) AS ?citation_count)\n    WHERE {\n      ?article wdt:P1433 wd:Q913162 .\n      OPTIONAL {\n        ?citing_work wdt:P2860 ?article .\n      }\n    }\n    GROUP BY ?article\n  }\n}\nGROUP BY ?citation_count\nORDER BY DESC(?citation_count)", "paraphrases": ["What is the distribution of citation counts for articles published in Philosophical Transactions?", "Can you show how many articles in Philosophical Transactions have each number of citations, from the most cited down to uncited?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { { SELECT ?var2 ( COUNT ( ?var4 ) AS ?var1 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P1433> <http://www.wikidata.org/entity/Q913162> . OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P2860> ?var2 . } } GROUP BY ?var2 } } GROUP BY ?var1 ORDER BY DESC( ?var1 )"}}
{"id": "test_9266", "question": "Which Wikidata items have Twitter usernames \"envlh\" or \"mesosphere\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?item ?twitterUsername WHERE {\n  ?item wdt:P2002 ?twitterUsername .\n  OPTIONAL {\n    ?item wikibase:sitelinks ?sitelinkCount\n  }\n  VALUES ?twitterUsername {\n    \"envlh\" \"mesosphere\"\n  }\n}\nORDER BY ASC(?sitelinkCount)", "paraphrases": ["Who or what on Wikidata uses the Twitter handles \"envlh\" and \"mesosphere\"?", "Show me the entities on Wikidata linked to the Twitter usernames \"envlh\" and \"mesosphere\", ordered by their number of Wikipedia links (if any)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"bitonio\" ) ( \"mesosphere\" ) ( \"nojhan\" ) ( \"string1\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_9267", "question": "Media items with IMDb IDs and Russian Wikipedia pages", "sparql": "SELECT ?item ?imdbId ?ruWikiPage WHERE { ?item wdt:P345 ?imdbId . ?ruWikiPage schema:about ?item . ?ruWikiPage schema:isPartOf <https://ru.wikipedia.org/> . }", "paraphrases": ["What are the IMDb IDs and Russian Wikipedia links for media items on Wikidata?", "List all media items along with their IMDb identifiers and corresponding Russian Wikipedia articles."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P57> ?var4 . ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/isPartOf> <https://ru.wikipedia.org/> . }"}}
{"id": "test_9268", "question": "What is the numeric value of the universal gas constant?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?value WHERE {\n  wd:Q182333 wdt:P1181 ?value\n}", "paraphrases": ["What value does the symbol R represent in the ideal gas law?", "What is the numerical value associated with the molar gas constant?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q11432> <http://www.wikidata.org/prop/direct/P527> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P416> ?var3 . ?var2 <http://www.wikidata.org/prop/direct/P1181> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( ( STR ( ?var3 ) = \"R\" ) ) ) . }"}}
{"id": "test_9269", "question": "Subclasses of archaeologist up to two levels deep with their direct subcategories.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?level ?class ?classLabel ( GROUP_CONCAT( DISTINCT ?subclassLabel ; SEPARATOR = \", \" ) AS ?subclasses ) WHERE {\n  {\n    BIND( wd:Q3621491 AS ?class ) BIND( 0 AS ?level ) OPTIONAL {\n      ?subclass wdt:P279 ?class .\n      ?subclass rdfs:label ?subclassLabel .\n      FILTER ( LANG( ?subclassLabel ) = \"en\" )\n    }\n  } UNION {\n    ?class wdt:P279 wd:Q3621491 .\n    BIND( 1 AS ?level ) OPTIONAL {\n      ?subclass wdt:P279 ?class .\n      ?subclass rdfs:label ?subclassLabel .\n      FILTER ( LANG( ?subclassLabel ) = \"en\" )\n    }\n  } UNION {\n    ?class2 wdt:P279 wd:Q3621491 .\n    ?class wdt:P279 ?class2 .\n    BIND( 2 AS ?level ) OPTIONAL {\n      ?subclass wdt:P279 ?class .\n      ?subclass rdfs:label ?subclassLabel .\n      FILTER ( LANG( ?subclassLabel ) = \"en\" )\n    }\n  }\n  ?class rdfs:label ?classLabel .\n  FILTER ( LANG( ?classLabel ) = \"en\" )\n}\nGROUP BY ?level ?class ?classLabel\nORDER BY ASC ( ?level )", "paraphrases": ["What are the direct and indirect subclasses of archaeologist, grouped by hierarchy level, and what are their own subclasses?", "Show me the taxonomy of archaeology-related professions, starting from archaeologist, listing each level and the professions that fall under them, up to two levels deep."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ( GROUP_CONCAT ( DISTINCT ?var3 ; SEPARATOR = \", \" ) AS ?var4 ) WHERE { { OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q3621491> . } BIND ( <http://www.wikidata.org/entity/Q3621491> AS ?var2 ). BIND ( \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var1 ). } UNION { ?var5 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q3621491> . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P279> ?var5 . } BIND ( ?var5 AS ?var2 ). BIND ( \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var1 ). } UNION { ?var5 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q3621491> . ?var6 <http://www.wikidata.org/prop/direct/P279> ?var5 . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P279> ?var6 . } BIND ( ?var6 AS ?var2 ). BIND ( \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var1 ). } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var2 ?var2Label ORDER BY ASC( ?var1 )"}}
{"id": "test_9270", "question": "What is the English name and description of the MoMA artwork with ID 4533?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?itemLabel ?desc WHERE {\n  ?item wdt:P2014 \"4533\" .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n  .\n  OPTIONAL {\n    ?item schema:description ?desc\n    FILTER(LANG(?desc) = \"en\")\n  }\n}", "paraphrases": ["Tell me about the hair dryer in MoMA\u2019s collection \u2014 what is its title and description?", "Find the MoMA work with ID 4533 and show its English label and description."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2014> \"45341\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9271", "question": "French government agencies located in France and their qualifiers on the \"located in\" statement.", "sparql": "SELECT ?item ?itemLabel ?qualifierProperty ?qualifierPropertyLabel ?qualifierValue WHERE { ?item p:P131 ?statement . ?statement ps:P131 wd:Q3624078 . ?statement ?qualifierProperty ?qualifierValue . FILTER(?qualifierProperty != ps:P131) FILTER(isIRI(?qualifierProperty)) OPTIONAL { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } OPTIONAL { ?qualifierProperty rdfs:label ?qualifierPropertyLabel . FILTER(LANG(?qualifierPropertyLabel) = \"en\") } } ORDER BY ?item LIMIT 101", "paraphrases": ["What qualifiers are attached to the \"located in France\" statements for French government agencies?", "List French government agencies and any qualifiers (like start date or source) associated with their location in France."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P131> <http://www.wikidata.org/entity/Q3624078> . ?var1 <http://www.wikidata.org/prop/P131> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_9272", "question": "French person named Alain Manoukian", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person WHERE {\n  ?person rdfs:label \"Alain Manoukian\" @fr .\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["Who are the humans named Alain Manoukian in French?", "List all French individuals named Alain Manoukian."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"alain many\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_9273", "question": "What is the elevation of K2 above sea level?", "sparql": "SELECT ?mountainLabel ?elevation WHERE { wd:Q43512 wdt:P2044 ?elevation . wd:Q43512 rdfs:label ?mountainLabel . FILTER(LANG(?mountainLabel) = \"en\") } LIMIT 1", "paraphrases": ["How high is Mount K2 in meters?", "Can you tell me the altitude of K2, the second-highest mountain on Earth?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var2Label ?var4 ?var4Label ?var5 ?var5Label WHERE { BIND ( <http://www.wikidata.org/entity/Q43512> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/P2044> / <http://www.wikidata.org/prop/statement/value/P2044> ) ?var4 . ?var4 <http://wikiba.se/ontology#quantityAmount> ?var6 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } } LIMIT 20"}}
{"id": "test_9274", "question": "What are the locations where Leidseplein is situated?", "sparql": "SELECT ?location WHERE { wd:Q1409805 wdt:P276 ?location .}", "paraphrases": ["In which cities or districts is Leidseplein located?", "Where is Leidseplein in Amsterdam?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { OPTIONAL { <https://adamlink.nl/geo/street/leidseplein/2661> <http://www.wikidata.org/prop/direct/P276> ?var2 . } }"}}
{"id": "test_9275", "question": "Which properties link multiple resources to the Nettuno and Anfitrite domus in Herculaneum?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ( COUNT( ?resource ) AS ?count ) WHERE {\n  ?resource ?property wd:Q16537617 .\n}\nGROUP BY ?property\nHAVING ( ?count > 1 )\nORDER BY DESC ( ?count )", "paraphrases": ["How many times is the schema:about property used to reference the Nettuno and Anfitrite domus, and are there any other properties used more than once?", "Show me the properties that are used to connect more than one external resource to the Nettuno and Anfitrite domus, sorted by how often they are used."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q16537617> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_9276", "question": "Who are the French politicians named Jean Leger in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person WHERE {\n  ?person rdfs:label \"Jean Leger\" @fr .\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["Which humans in Wikidata have the French label 'Jean Leger'?", "List all individuals classified as human in Wikidata whose French name is 'Jean Leger'."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Jean Leger\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_9277", "question": "How many television episodes are part of a series versus standalone?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?has_series(COUNT(?episode) AS ?count) WHERE {\n  ?episode wdt:P31 wd:Q21191270 .\n  OPTIONAL {\n    ?episode wdt:P179 ?series .\n    BIND(\"with\" AS ?has_series_temp)\n  }\n  BIND(COALESCE(?has_series_temp , \"without\") AS ?has_series)\n}\nGROUP BY ?has_series\nORDER BY ASC(?has_series)", "paraphrases": ["Can you show me the count of TV episodes that belong to a series and those that don\u2019t?", "What percentage of television series episodes are linked to their parent series in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q21191270> . OPTIONAL { BIND ( \"with\" AS ?var4 ). ?var2 <http://www.wikidata.org/prop/direct/P179> [] . } BIND ( COALESCE ( ?var4 , \"without\" ) AS ?var1 ). } GROUP BY ?var1 ORDER BY ASC( ?var1 )"}}
{"id": "test_9278", "question": "Who are the popes born in Poland and who are not married?", "sparql": "SELECT ?pope WHERE { ?pope wdt:P39 wd:Q19546 . FILTER NOT EXISTS { ?pope wdt:P40 ?spouse } ?pope wdt:P19 ?birthPlace . ?birthPlace wdt:P17 wd:Q36 . } LIMIT 20", "paraphrases": ["Can you list all popes who were born in Poland and have no spouse?", "Which popes have their birthplace in Poland and are celibate?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q19546> . ?var1 <http://www.wikidata.org/prop/novalue/P40> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q36> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl\". } } LIMIT 20"}}
{"id": "test_9279", "question": "Is Radare2 a type of software?", "sparql": "ASK WHERE { wd:Q18155039 ( wdt:P31 / wdt:P279* ) wd:Q7397 . }", "paraphrases": ["Does Radare2 belong to the category of software through its class hierarchy?", "Is Radare2 classified as software, either directly or through its parent categories?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q18155039> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_9280", "question": "What are the moons of Saturn?", "sparql": "SELECT ?moon ?moonLabel WHERE { ?moon wdt:P397 wd:Q193 . OPTIONAL { ?moon rdfs:label ?moonLabel . } } LIMIT 100", "paraphrases": ["Can you list the natural satellites orbiting Saturn and their names?", "Show me the designations of Saturn\u2019s moons and their labels in different languages."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P397> <http://www.wikidata.org/entity/Q193> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 100"}}
{"id": "test_9281", "question": "Players of the Germany men's national football team, their birthplaces, birthplace coordinates, and images.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?player ?playerLabel ?birthplaceLabel ?coordinates ?image WHERE {\n  ?player wdt:P54 wd:Q43310 .\n  ?player wdt:P19 ?birthplace .\n  ?birthplace wdt:P625 ?coordinates .\n  ?player wdt:P18 ?image .\n  OPTIONAL {\n    ?player rdfs:label ?playerLabel .\n    FILTER(LANG(?playerLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?birthplace rdfs:label ?birthplaceLabel .\n    FILTER(LANG(?birthplaceLabel) = \"en\")\n  }\n}", "paraphrases": ["Who are the players of the Germany men's national football team, where were they born (with coordinates), and what do they look like (images)?", "List all players of the Germany men's national football team along with the English names of their birthplaces, the geographic coordinates of those birthplaces, and their official images."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P54> <http://www.wikidata.org/entity/Q43310> . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P625> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_9282", "question": "Which communes in Calvados are Billy and Campigny?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?communeLabel WHERE {\n  ?commune wdt:P131 wd:Q3249 .\n  FILTER(?commune = wd:Q232073 || ?commune = wd:Q232080)\n  .\n  ?commune rdfs:label ?communeLabel .\n  FILTER(LANG(?communeLabel) = \"en\")\n}", "paraphrases": ["Are Billy and Campigny communes located in the Calvados department?", "List the English labels of the communes Billy and Campigny that are part of Calvados."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3Label ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P150> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } FILTER ( ( ( ?var1 = <http://www.wikidata.org/entity/Q3249> ) ) ) . FILTER ( ( ( ?var2 = <http://www.wikidata.org/entity/Q232073> ) || ( ?var2 = <http://www.wikidata.org/entity/Q232080> ) ) ) . }"}}
{"id": "test_9283", "question": "List of family names in English from Wikidata.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?surname ?surnameLabel WHERE {\n  ?surname wdt:P31 wd:Q101352 ; rdfs:label ?surnameLabel .\n  FILTER(STRSTARTS(STR(?surname) , \"http://www.wikidata.org/entity/Q\"))\n  FILTER(LANG(?surnameLabel) = \"en\")\n}\nLIMIT 10", "paraphrases": ["What are some surnames that are classified as family names in Wikidata, in English?", "Show me English-language labels for items that are instances of family name in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q101352> . }"}}
{"id": "test_9284", "question": "What are the names of association football players listed in Wikidata, sorted alphabetically?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?player ?playerLabel WHERE {\n  ?player wdt:P106 wd:Q937857 .\n  ?player rdfs:label ?playerLabel .\n  FILTER(LANG(?playerLabel) = \"en\")\n}\nORDER BY ASC(?playerLabel)\nLIMIT 20", "paraphrases": ["Can you list the top 20 English-labeled football players by their names?", "Show me 20 association football players with their English labels, ordered by name."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/wd:Q82955> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label ) LIMIT 20"}}
{"id": "test_9285", "question": "What is the English name and description of the equine viral arteritis entry in the Great Russian Encyclopedia (old ID: 1832013)?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P2924 \"1832013\" . OPTIONAL { ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") } OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Can you tell me the English label and description for the entry with ID 1832013 in the Great Russian Encyclopedia?", "Which disease is identified by the Great Russian Encyclopedia Online ID 1832013, and what is its English description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"1832013\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9286", "question": "List deceased popes with their age at death, image, and start date of papacy, ordered from most recent to oldest.", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT DISTINCT ?pope ?popeLabel ?image ?age WHERE {\n  ?pope wdt:P31 wd:Q5 ; p:P39 [ ps:P39 wd:Q19546 ; pq:P580 ?startDate ] .\n  ?pope wdt:P569 ?birthDate .\n  ?pope wdt:P570 ?deathDate .\n  OPTIONAL {\n    ?pope wdt:P18 ?image .\n  }\n  BIND( YEAR( ?deathDate ) - YEAR( ?birthDate ) AS ?age ) ?pope rdfs:label ?popeLabel .\n  FILTER ( LANG( ?popeLabel ) = \"en\" )\n}\nORDER BY DESC ( ?startDate )", "paraphrases": ["Who are the popes who have died, and how old were they when they died? Include their images and when they became pope, sorted by most recent first.", "Show me the names, images, and ages at death of all deceased popes, along with the start date of their papacy, sorted in descending order by when they became pope."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/P39> [ <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q19546> ; <http://www.wikidata.org/prop/qualifier/P580> ?var4 ] . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var6 . } BIND ( ( YEAR ( ?var6 ) - YEAR ( ?var5 ) ) AS ?var3 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } ORDER BY DESC( ?var4 )"}}
{"id": "test_9287", "question": "How many exoplanets were discovered each year since 1991?", "sparql": "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nSELECT ?year(COUNT(DISTINCT ?exoplanet) AS ?count) WHERE {\n  ?exoplanet(wdt:P31 / wdt:P279 *) wd:Q44559 ; p:P575 [ rdf:type wikibase:BestRank ; psv:P575 [ wikibase:timeValue ?discoveryDate ; wikibase:timePrecision ?precision ] ] .\n  FILTER(?precision >= 9)\n  BIND(STR(YEAR(?discoveryDate)) AS ?year)\n}\nGROUP BY ?year\nORDER BY ASC(?year)", "paraphrases": ["In which years were exoplanets discovered, and how many were found in each year?", "Show me the annual count of exoplanet discoveries, ordered chronologically."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) WHERE { BIND ( <http://www.w3.org/2001/XMLSchema#date> ( STR ( YEAR ( ?var4 ) ) ) AS ?var1 ). ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q634> ; <http://www.wikidata.org/prop/P575> [ <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#BestRank> ; <http://www.wikidata.org/prop/statement/value/P575> [ <http://wikiba.se/ontology#timeValue> ?var4 ; <http://wikiba.se/ontology#timePrecision> ?var5 ] ] . FILTER ( ( ( ?var5 >= \"9\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . FILTER ( ( NOT EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q544> . } ) ) . } GROUP BY ?var1 ORDER BY ASC( ?var1 )"}}
{"id": "test_9288", "question": "What are the Spanish Wikipedia articles about women's tennis tournaments?", "sparql": "SELECT ?item ?wikipediaTitle WHERE { ?item wdt:P31 wd:Q17988507 . ?wikipediaPage schema:about ?item ; schema:isPartOf <https://es.wikipedia.org/> ; schema:name ?wikipediaTitle . }", "paraphrases": ["Can you show me the titles of Spanish Wikipedia pages related to women's tennis events?", "Which women's tennis competitions have Spanish Wikipedia pages?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q18123880> ) ( <http://www.wikidata.org/entity/Q18123885> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"es\" ) ) ) . ?var5 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://en.wikipedia.org/> ; <http://schema.org/name> ?var3 . FILTER ( ( REGEX ( STR ( ?var3 ) , \"femin\" ) ) ) . }"}}
{"id": "test_9289", "question": "Actors and characters in The Lord of the Rings films", "sparql": "SELECT ?film ?filmLabel ?actor ?actorLabel ?character ?characterLabel WHERE { ?film wdt:P179 wd:Q190214 . ?film p:P161 ?statement . ?statement ps:P161 ?actor . ?statement pq:P453 ?character . OPTIONAL { ?film rdfs:label ?filmLabel . FILTER(LANG(?filmLabel) = \"en\") } OPTIONAL { ?actor rdfs:label ?actorLabel . FILTER(LANG(?actorLabel) = \"en\") } OPTIONAL { ?character rdfs:label ?characterLabel . FILTER(LANG(?characterLabel) = \"en\") } }", "paraphrases": ["Which actors played which characters in The Lord of the Rings trilogy?", "List all the character-actor pairings for each movie in The Lord of the Rings trilogy."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P179> <http://www.wikidata.org/entity/Q190214> . ?var1 <http://www.wikidata.org/prop/direct/P674> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } ?var1 <http://www.wikidata.org/prop/direct/P161> ?var3 . }"}}
{"id": "test_9290", "question": "Artworks that depict the city of Dordrecht.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?artwork ?artworkLabel WHERE {\n  ?artwork wdt:P180 wd:Q26421 .\n  ?artwork rdfs:label ?artworkLabel .\n  FILTER ( LANG( ?artworkLabel ) = \"en\" )\n}\nLIMIT 1000", "paraphrases": ["What paintings or images show the city of Dordrecht?", "List the English titles of artworks that feature Dordrecht as a subject."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P180> <http://www.wikidata.org/entity/Q26421> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],nl,en,de,fr\". } } LIMIT 1000"}}
{"id": "test_9291", "question": "What entities are depicted in works of art?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?artwork ?artworkLabel ?depictedEntityLabel WHERE {\n  ?artwork ( wdt:P31 / wdt:P279 * ) wd:Q838948 .\n  ?artwork wdt:P180 ?depictedEntity .\n  OPTIONAL {\n    ?artwork rdfs:label ?artworkLabel FILTER ( LANG( ?artworkLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?depictedEntity rdfs:label ?depictedEntityLabel FILTER ( LANG( ?depictedEntityLabel ) = \"en\" )\n  }\n}\nLIMIT 200", "paraphrases": ["Can you list works of art and the people, places, or concepts they show?", "Which artworks (including their types) feature specific entities like the universe or historical figures?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q838948> . ?var1 <http://www.wikidata.org/prop/direct/P180> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 200"}}
{"id": "test_9292", "question": "Is there a movie on Wikidata with IMDb ID tt5788462?", "sparql": "ASK WHERE { ?item wdt:P345 \"tt5788462\" . }", "paraphrases": ["Does the film 'Rocco' have an entry in Wikidata with the IMDb identifier tt5788462?", "Confirm whether the IMDb ID tt5788462 corresponds to any item in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5788462\". }"}}
{"id": "test_9293", "question": "What Wikidata item has the IMDb ID tt5788462?", "sparql": "SELECT ?item WHERE { ?item wdt:P345 \"tt5788462\" . }", "paraphrases": ["Which movie on Wikidata is identified by the IMDb ID tt5788462?", "Find the Wikidata entity for the film with IMDb identifier tt5788462."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5788462\". } LIMIT 1"}}
{"id": "test_9294", "question": "Does the VIAF ID 171143180 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P214 \"171143180\" .\n}", "paraphrases": ["Is there a Wikidata item associated with the VIAF identifier 171143180?", "Confirm if the Virtual International Authority File ID 171143180 is linked to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"171143180\". }"}}
{"id": "test_9295", "question": "Does a railway station exist with UIC code 2210843?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?station wdt:P722 \"2210843\" .\n}", "paraphrases": ["Is there a railway station in Europe or nearby regions identified by the UIC station code 2210843?", "Confirm if the UIC station code 2210843 is assigned to any railway station in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P722> \"2210843\". }"}}
{"id": "test_9296", "question": "Is there a railway station with UIC code 2210115?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?station wdt:P722 \"2210115\" .\n}", "paraphrases": ["Does the railway station with UIC station code 2210115 exist in Wikidata?", "Confirm if the UIC station code 2210115 is assigned to any railway station."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P722> \"2210115\". }"}}
{"id": "test_9297", "question": "Who is the French-labeled person named \"Charles Dago\"?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?item WHERE {\n  ?item rdfs:label \"Charles Dago\" @fr .\n  ?item wdt:P31 wd:Q5 .\n}", "paraphrases": ["Find the human individual whose name in French is \"Charles Dago\".", "What entity in Wikidata has the French label \"Charles Dago\" and is classified as a human?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Da\u00ebna DAGO\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_9298", "question": "Is there a railway station with UIC code 2204630?", "sparql": "ASK WHERE { ?station wdt:P722 \"2204630\" . }", "paraphrases": ["Does the UIC station code 2204630 correspond to any railway station in Wikidata?", "Confirm whether the UIC station code 2204630 is registered in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P722> \"2204630\". }"}}
{"id": "test_9299", "question": "Which railway station has UIC code 2218826?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?station ?label WHERE {\n  ?station wdt:P722 \"2218826\" .\n  ?station rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}", "paraphrases": ["What is the name of the railway station in Wikidata with the UIC station code 2218826?", "Please identify the railway station associated with the UIC station code 2218826."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P722> \"2218826\". }"}}
{"id": "test_9300", "question": "Which entities on Wikidata have Twitter/X usernames like elonmusk, unistra, or UNESCO_fr and also have Wikipedia pages?", "sparql": "SELECT DISTINCT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"benestaar\" \"unistra\" \"UNESCO_fr\" \"MuseeArmee\" \"KQEDarts\" \"KialoHQ\" \"Calimaq\" \"fnielsen\" \"glynmoody\" \"punchline\" \"BotDuCul\" \"Koalisa3\" \"panoplyio\" \"panoply\" \"tableau\" \"Pyb75\" \"FDJsport\" \"mkramer\" \"hatonjan\" \"cneudecker\" \"MaelLeHir\" \"gazeoftime\" \"elllundril\" \"K_rho\" \"mhl20\" \"elonmusk\" \"Wikicite\" } ?page schema:about ?item . ?page schema:isPartOf ?wiki . FILTER(STRSTARTS(STR(?wiki), \"https://\")) }", "paraphrases": ["Who are the people or organizations on Wikidata with Twitter/X accounts such as elonmusk, unistra, or UNESCO_fr, and which Wikipedia pages are linked to them?", "List all Wikidata items that have Twitter/X usernames including elonmusk, unistra, or UNESCO_fr and are connected to any Wikipedia page."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"benestaar\" ) ( \"Wikipedia\" ) ( \"string3\" ) ( \"string4\" ) ( \"unistra\" ) ( \"BU_Unistra\" ) ( \"string5\" ) ( \"MaelLeHir\" ) ( \"string6\" ) ( \"wikidata\" ) ( \"Pyb75\" ) ( \"FDJsport\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"mkramer\" ) ( \"hatonjan\" ) ( \"string10\" ) ( \"string11\" ) ( \"KQEDarts\" ) ( \"string12\" ) ( \"string13\" ) ( \"cneudecker\" ) ( \"KialoHQ\" ) ( \"UNESCO_fr\" ) ( \"MuseeArmee\" ) ( \"Calimaq\" ) ( \"fnielsen\" ) ( \"mhl20\" ) ( \"gazeoftime\" ) ( \"elllundril\" ) ( \"K_rho\" ) ( \"panoplyio\" ) ( \"tableau\" ) ( \"panoply\" ) ( \"BotDuCul\" ) ( \"Koalisa3\" ) ( \"punchline\" ) ( \"glynmoody\" ) ( \"string14\" ) ( \"string15\" ) ( \"string16\" ) ( \"elonmusk\" ) ( \"Wikicite\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_9301", "question": "What are the genomic start positions of the HTR1A gene on human chromosome 5 for different genome assemblies?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?start ?chromosome ?assembly WHERE {\n  wd:Q238509 p:P644 ?statement .\n  ?statement ps:P644 ?start .\n  ?statement pq:P1057 ?chromosome .\n  ?statement pq:P659 ?assembly .\n}", "paraphrases": ["Show the start positions of the HTR1A gene on chromosome 5 along with the corresponding genome assembly (GRCh37 and GRCh38).", "According to Wikidata, what are the genomic coordinates of the HTR1A gene on chromosome 5 under the GRCh37 and GRCh38 reference assemblies?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q238509-2326D541-990C-4BB2-A724-C0F92CA2E7DA> . }"}}
{"id": "test_9302", "question": "What entity and property does the statement with ID Q248215-7FC61B40-3FC5-43B0-9DFC-4F64150BFD46 refer to?", "sparql": "SELECT ?entity ?property WHERE { ?entity ?property s:Q248215-7FC61B40-3FC5-43B0-9DFC-4F64150BFD46 . }", "paraphrases": ["Which gene has an ortholog claim with the statement ID Q248215-7FC61B40-3FC5-43B0-9DFC-4F64150BFD46?", "For the statement ID Q248215-7FC61B40-3FC5-43B0-9DFC-4F64150BFD46, what is the subject entity and the property used?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q248215-7FC61B40-3FC5-43B0-9DFC-4F64150BFD46> . }"}}
{"id": "test_9303", "question": "What gene is linked to the statement about its strand orientation?", "sparql": "SELECT ?item ?statementProperty WHERE { ?item ?statementProperty s:Q248215-F06C4132-3393-4793-AF17-B636F49A59AC . }", "paraphrases": ["Which property and entity are connected to the statement identifier s:Q248215-F06C4132-3393-4793-AF17-B636F49A59AC?", "For the statement on DYNC1I1\u2019s strand orientation, what is the gene and the property used in the claim?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q248215-F06C4132-3393-4793-AF17-B636F49A59AC> . }"}}
{"id": "test_9304", "question": "What is the HomoloGene ID for the gene DYNC1I1?", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ?homologeneId WHERE {\n  wd:Q248215 p:P593 ?statement .\n  ?statement ps:P593 ?homologeneId .\n}", "paraphrases": ["Can you tell me the HomoloGene ID associated with the DYNC1I1 gene?", "Which HomoloGene ID is linked to the gene Q248215 in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q248215-BFA44BEF-0862-4DEF-93FF-556A45E95697> . }"}}
{"id": "test_9305", "question": "What are the chemical identifiers and alternative names for miconazole?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?var1Label ?var2Label ?var3 ?var3Label WHERE {\n  VALUES ?var1 {\n    wd:Q410534\n  }\n  VALUES ?var2 {\n    wdt:P274 wdt:P231 wdt:P232 wdt:P233 wdt:P2017 wdt:P234 wdt:P235 wdt:P267 wdt:P486 wdt:P592 wdt:P662 wdt:P665 wdt:P683 wdt:P715 wdt:P652 wdt:P2275 wdt:P3345 wdt:P3636 wdt:P2892 skos:altLabel\n  }\n  ?var1 ?var2 ?var3 .\n  OPTIONAL {\n    ?var1 rdfs:label ?var1Label .\n    FILTER ( LANG( ?var1Label ) = \"en\" )\n  }\n  OPTIONAL {\n    ?var2 rdfs:label ?var2Label .\n    FILTER ( LANG( ?var2Label ) = \"en\" )\n  }\n  OPTIONAL {\n    ?var3 rdfs:label ?var3Label .\n    FILTER ( LANG( ?var3Label ) = \"en\" )\n  }\n  FILTER ( isIRI( ?var3 ) || LANG( ?var3 ) = \"en\" || LANG( ?var3 ) = \"\" )\n}", "paraphrases": ["Can you list all known identifiers (like CAS, PubChem, DrugBank) and synonyms for the antifungal drug miconazole?", "Please provide the chemical formula, registry numbers, structural identifiers, and alternative names for miconazole from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q410534> ) } VALUES ( ?var2 ) { ( <http://www.wikidata.org/prop/direct/P274> ) ( <http://www.wikidata.org/prop/direct/P231> ) ( <http://www.wikidata.org/prop/direct/P662> ) ( <http://www.wikidata.org/prop/direct/P661> ) ( <http://www.wikidata.org/prop/direct/P592> ) ( <http://www.wikidata.org/prop/direct/P715> ) ( <http://www.wikidata.org/prop/direct/P683> ) ( <http://www.wikidata.org/prop/direct/P665> ) ( <http://www.wikidata.org/prop/direct/P233> ) ( <http://www.wikidata.org/prop/direct/P2017> ) ( <http://www.wikidata.org/prop/direct/P234> ) ( <http://www.wikidata.org/prop/direct/P235> ) ( <http://www.wikidata.org/prop/direct/P652> ) ( <http://www.wikidata.org/prop/direct/P595> ) ( <http://www.wikidata.org/prop/direct/P3636> ) ( <http://www.wikidata.org/prop/direct/P232> ) ( <http://www.wikidata.org/prop/direct/P2275> ) ( <http://www.wikidata.org/prop/direct/P3350> ) ( <http://www.wikidata.org/prop/direct/P267> ) ( <http://www.wikidata.org/prop/direct/P2892> ) ( <http://www.wikidata.org/prop/direct/P3345> ) ( <http://www.wikidata.org/prop/direct/P486> ) ( <http://www.wikidata.org/prop/direct/P2115> ) ( <http://www.wikidata.org/prop/direct/P3780> ) ( <http://www.wikidata.org/prop/direct/P3776> ) ( <http://www.wikidata.org/prop/direct/P3777> ) ( <http://www.wikidata.org/prop/direct/P3771> ) ( <http://www.wikidata.org/prop/direct/P129> ) ( <http://www.wikidata.org/prop/direct/P3489> ) ( <http://www.wikidata.org/prop/direct/P2868> ) ( <http://www.wikidata.org/prop/direct/P2175> ) ( <http://www.w3.org/2004/02/skos/core#altLabel> ) } OPTIONAL { ?var1 ?var2 ?var3 . FILTER ( ( isIRI ( ?var3 ) || ( LANG ( ?var3 ) = \"en\" ) || ( LANG ( ?var3 ) = \"\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } }"}}
{"id": "test_9306", "question": "What are the English names of breast cancer, ovarian cancer, Kaposi's sarcoma, and lung benign neoplasm in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?cancer ?cancerLabel WHERE {\n  VALUES ?cancer {\n    wd:Q128581 wd:Q172341 wd:Q725345 wd:Q18556020\n  }\n  ?cancer rdfs:label ?cancerLabel .\n  FILTER ( LANG( ?cancerLabel ) = \"en\" )\n}", "paraphrases": ["Can you list the standard English labels for these four types of cancer: breast cancer, ovarian cancer, Kaposi's sarcoma, and lung benign neoplasm?", "Show me the human-readable English names for the Wikidata items representing breast cancer, ovarian cancer, Kaposi's sarcoma, and lung benign neoplasm."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q128581> ) ( <http://www.wikidata.org/entity/Q172341> ) ( <http://www.wikidata.org/entity/Q725345> ) ( <http://www.wikidata.org/entity/Q18556020> ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9307", "question": "Does Wikidata contain a football player with Transfermarkt ID 195720?", "sparql": "ASK WHERE { ?player wdt:P2446 \"195720\" . }", "paraphrases": ["Is there a footballer in Wikidata whose Transfermarkt profile ID is 195720?", "Confirm if the player with Transfermarkt ID 195720 is listed in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2446> \"195720\". }"}}
{"id": "test_9308", "question": "Is Ocean Park Ha Long a type of software?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q28449757 wdt:P31 / wdt:P279 * wd:Q7397 .\n}", "paraphrases": ["Does Ocean Park Ha Long belong to the category of software or any of its subclasses?", "Confirm whether Ocean Park Ha Long is classified as software or any descendant category of software."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q28449757> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_9309", "question": "What is the English name and description of the person with Kansallisbiografia ID 348?", "sparql": "SELECT ?item ?itemLabel ?desc WHERE { ?item wdt:P2180 \"348\" . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") . OPTIONAL { ?item schema:description ?desc . FILTER(LANG(?desc) = \"en\") } }", "paraphrases": ["Who is the Finnish individual listed as number 348 in the National Biography of Finland, and what is their English description?", "Give me the English label and description of the person identified by P2180 value 348 in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2180> \"340\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9310", "question": "Cities with population under 10,000, grouped by population ranges like <100, 100\u2013299, up to 1000+", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?city ?cityLabel ?coordinates ?population ?populationRange WHERE {\n  {\n    ?city wdt:P31 / wdt:P279 * wd:Q515 ; wdt:P625 ?coordinates ; wdt:P1082 ?population ; rdfs:label ?cityLabel .\n    FILTER(?population >= 0 && ?population < 100)\n    BIND(\"<100\" AS ?populationRange)\n    FILTER(LANG(?cityLabel) = \"\" || LANG(?cityLabel) = \"en\")\n  } UNION {\n    ?city wdt:P31 / wdt:P279 * wd:Q515 ; wdt:P625 ?coordinates ; wdt:P1082 ?population ; rdfs:label ?cityLabel .\n    FILTER(?population >= 100 && ?population < 300)\n    BIND(\"100\u2013299\" AS ?populationRange)\n    FILTER(LANG(?cityLabel) = \"\" || LANG(?cityLabel) = \"en\")\n  } UNION {\n    ?city wdt:P31 / wdt:P279 * wd:Q515 ; wdt:P625 ?coordinates ; wdt:P1082 ?population ; rdfs:label ?cityLabel .\n    FILTER(?population >= 300 && ?population < 400)\n    BIND(\"300\u2013399\" AS ?populationRange)\n    FILTER(LANG(?cityLabel) = \"\" || LANG(?cityLabel) = \"en\")\n  } UNION {\n    ?city wdt:P31 / wdt:P279 * wd:Q515 ; wdt:P625 ?coordinates ; wdt:P1082 ?population ; rdfs:label ?cityLabel .\n    FILTER(?population >= 400 && ?population < 800)\n    BIND(\"400\u2013799\" AS ?populationRange)\n    FILTER(LANG(?cityLabel) = \"\" || LANG(?cityLabel) = \"en\")\n  } UNION {\n    ?city wdt:P31 / wdt:P279 * wd:Q515 ; wdt:P625 ?coordinates ; wdt:P1082 ?population ; rdfs:label ?cityLabel .\n    FILTER(?population >= 800 && ?population < 1000)\n    BIND(\"800\u2013999\" AS ?populationRange)\n    FILTER(LANG(?cityLabel) = \"\" || LANG(?cityLabel) = \"en\")\n  } UNION {\n    ?city wdt:P31 / wdt:P279 * wd:Q515 ; wdt:P625 ?coordinates ; wdt:P1082 ?population ; rdfs:label ?cityLabel .\n    FILTER(?population >= 1000 && ?population <= 10000)\n    BIND(\"1000+\" AS ?populationRange)\n    FILTER(LANG(?cityLabel) = \"\" || LANG(?cityLabel) = \"en\")\n  }\n}\nGROUP BY ?city ?cityLabel ?coordinates ?population ?populationRange", "paraphrases": ["What are the cities with fewer than 10,000 residents, and what population ranges do they fall into?", "List all cities with a population of 10,000 or less, along with their coordinates and population category (e.g., 100\u2013299, 1000+)."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ( SAMPLE ( ?var2 ) AS ?var2 )( MAX ( ?var3 ) AS ?var3 )( SAMPLE ( ?var4 ) AS ?var4 ) WHERE { BIND ( IF ( ( ?var3 < \"100\"^^<http://www.w3.org/2001/XMLSchema#integer> ), \"<100\", IF ( ( ?var3 < \"300\"^^<http://www.w3.org/2001/XMLSchema#integer> ), \"300\", IF ( ( ?var3 < \"400\"^^<http://www.w3.org/2001/XMLSchema#integer> ), \"400\", IF ( ( ?var3 < \"800\"^^<http://www.w3.org/2001/XMLSchema#integer> ), \"800\", IF ( ( ?var3 < \"1000\"^^<http://www.w3.org/2001/XMLSchema#integer> ), \"1000\", \"<1000\" ) ) ) ) ) AS ?var4 ). ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> ; <http://www.wikidata.org/prop/direct/P625> ?var2 ; <http://www.wikidata.org/prop/direct/P1082> ?var3 . FILTER ( ( ( ?var3 <= \"10000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } } GROUP BY ?var1 ?var1Label"}}
{"id": "test_9311", "question": "Does Ben Kamili have a VIAF ID of 173338833?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P214 \"173338833\" .\n}", "paraphrases": ["Is there a Wikidata item for the person with VIAF identifier 173338833?", "Confirm if the Virtual International Authority File ID 173338833 is assigned to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"173338833\". }"}}
{"id": "test_9312", "question": "What is the English label and description of the charity with Charity Navigator ID 12137?", "sparql": "SELECT ?item ?label ?description WHERE { ?item wdt:P4861 \"12137\" . OPTIONAL { ?item rdfs:label ?label . FILTER (LANG(?label) = \"en\") } OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Can you tell me the name and description in English of the nonprofit organization identified by Charity Navigator ID 12137?", "Show me the English name and description of the organization that has the Charity Navigator ID 12137."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4861> \"12137\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9313", "question": "What is the Wikidata item for the Uffizi Gallery that is classified as a museum or a subclass of museum?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  BIND( wd:Q51252 AS ?item ) .\n  ?item ( wdt:P31 / wdt:P279 * ) wd:Q33506 .\n}", "paraphrases": ["Is the Uffizi Gallery in Wikidata categorized as a museum?", "Find the museum item corresponding to the Uffizi Gallery in Florence."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.w3.org/2002/07/owl#sameAs> <http://it.dbpedia.org/resource/Galleria_degli_Uffizi> ; ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q33506> . }"}}
{"id": "test_9314", "question": "Which Wikidata items have Twitter usernames \"envlh\", \"mesosphere\", or \"vikidiafr\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterUsername WHERE {\n  ?item wdt:P2002 ?twitterUsername .\n  VALUES ?twitterUsername {\n    \"envlh\" \"mesosphere\" \"vikidiafr\"\n  }\n}", "paraphrases": ["Who are the people or organizations on Wikidata with the Twitter handles envlh, mesosphere, and vikidiafr?", "List the Wikidata entities associated with the Twitter usernames envlh, mesosphere, and vikidiafr."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"WikiIndaba\" ) ( \"mesosphere\" ) ( \"string1\" ) ( \"vikidiafr\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_9315", "question": "What are the countries with UNESCO World Heritage Sites, along with their flags, populations, and capitals?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?countryLabel ( MIN( ?flagVar ) AS ?flagImage ) ( MIN( ?popVar ) AS ?population ) ( MIN( ?capitalVar ) AS ?capitalLabel ) WHERE {\n  {\n    SELECT ?country ?countryLabel WHERE {\n      ?heritageSite wdt:P1435 wd:Q9259 .\n      ?heritageSite wdt:P17 ?country .\n      ?country rdfs:label ?countryLabel .\n      FILTER ( LANG( ?countryLabel ) = \"en\" )\n    }\n    GROUP BY ?country ?countryLabel\n  }\n  OPTIONAL {\n    ?country wdt:P163 ?flagVar .\n  }\n  OPTIONAL {\n    ?country wdt:P1082 ?popVar .\n  }\n  OPTIONAL {\n    ?country wdt:P36 ?capital .\n    ?capital rdfs:label ?capitalVar .\n    FILTER ( LANG( ?capitalVar ) = \"en\" )\n  }\n}\nGROUP BY ?countryLabel", "paraphrases": ["Show me a list of countries that have World Heritage Sites, including each country's flag image, total population, and capital city.", "For each country hosting a UNESCO World Heritage Site, return the country name, its flag, population, and capital."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ( SAMPLE ( ?var2 ) AS ?var2 )( SAMPLE ( ?var3 ) AS ?var3 )( SAMPLE ( ?var4Label ) AS ?var4Label ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P1435> <http://www.wikidata.org/entity/Q9259> . ?var5 <http://www.wikidata.org/prop/direct/P17> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P163> ?var6 . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P36> ?var4 . OPTIONAL { ?var6 <http://www.wikidata.org/prop/direct/P18> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } GROUP BY ?var1Label"}}
{"id": "test_9316", "question": "Who are the French people with the surname Chagneau?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?item WHERE {\n  ?item rdfs:label ?label .\n  FILTER(LANG(?label) = \"fr\")\n  .\n  FILTER(REGEX(LCASE(STR(?label)) , \"chagneau\"))\n  .\n  ?item wdt:P31 wd:Q5 .\n}", "paraphrases": ["What are the names of French individuals whose last name is Chagneau?", "List all humans in Wikidata who have a French label containing 'Chagneau'."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Chagneau\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_9317", "question": "Western films with \"Gun\" in the title, released from newest to oldest", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?film ?title ?year WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P577 ?date .\n  ?film rdfs:label ?title .\n  ?film wdt:P136 wd:Q172980 .\n  FILTER ( LANG( ?title ) = \"en\" ) .\n  FILTER ( REGEX( ?title , \"Gun\" , \"i\" ) ) .\n  BIND( YEAR( ?date ) AS ?year )\n}\nORDER BY DESC ( ?year )", "paraphrases": ["What are the Western films released in recent years that have the word \"Gun\" in their English title?", "List all English-language Western films whose titles contain \"Gun\", sorted by release year in descending order."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2Label ?var3 WHERE { BIND ( YEAR ( ?var4 ) AS ?var3 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var4 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://www.wikidata.org/prop/direct/P136> ?var5 . FILTER ( ( ( ?var5 = <http://www.wikidata.org/entity/Q172980> ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( REGEX ( ?var2Label , \"r ?g\", \"i\" ) ) ) . } ORDER BY DESC( ?var3 )"}}
{"id": "test_9318", "question": "Female dogsled mushers who are human.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person ?personLabel WHERE {\n  ?person wdt:P31 wd:Q5 ; wdt:P106 wd:Q500097 ; wdt:P21 wd:Q6581072 .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}", "paraphrases": ["Who are the female humans that work as dogsled mushers?", "List the English names of all female humans whose occupation is dogsled mushing."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q500097> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_9319", "question": "What movie has the Elonet ID 184410?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie WHERE {\n  ?movie wdt:P2346 \"184410\" .\n}", "paraphrases": ["Which film in Wikidata is identified by the Elonet movie ID 184410?", "Can you find the Wikidata item for the movie with the Elonet ID 184410?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2346> \"184410\". }"}}
{"id": "test_9320", "question": "French-language male humans with last names starting with Z, their given names, countries, and French Wikipedia pages.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?person ?personLabel ?countryLabel ?givenNameLabel ?familyNameLabel ?wikipediaPage WHERE {\n  ?person wdt:P31 wd:Q5 ; wdt:P21 wd:Q6581097 ; wdt:P27 ?country ; wdt:P735 ?givenName ; wdt:P734 ?familyName ; rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"fr\" ) FILTER ( STRSTARTS( ?personLabel , \"Z\" ) ) .\n  ?country rdfs:label ?countryLabel .\n  FILTER ( LANG( ?countryLabel ) = \"fr\" ) .\n  ?givenName rdfs:label ?givenNameLabel .\n  FILTER ( LANG( ?givenNameLabel ) = \"fr\" ) .\n  ?familyName rdfs:label ?familyNameLabel .\n  FILTER ( LANG( ?familyNameLabel ) = \"fr\" ) .\n  ?wikipediaPage schema:about ?person ; schema:inLanguage \"fr\" ; schema:isPartOf <https://fr.wikipedia.org/> .\n}\nORDER BY ASC ( ?familyNameLabel )", "paraphrases": ["Who are the male humans whose French Wikipedia pages and French labels start with 'Z', and what are their given names, family names, and countries of citizenship?", "List all male humans with French labels starting with 'Z', including their country, given name, family name, and corresponding French Wikipedia article, sorted alphabetically by family name."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3Label ?var4Label ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581097> ; <http://www.wikidata.org/prop/direct/P27> ?var2 ; <http://www.wikidata.org/prop/direct/P734> ?var4 ; <http://www.wikidata.org/prop/direct/P735> ?var3 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"fr\" ) ) ) . FILTER ( ( STRSTARTS ( ?var1Label , \"Z\" ) ) ) . ?var5 <http://schema.org/about> ?var1 . ?var5 <http://schema.org/inLanguage> \"fr\". ?var5 <http://schema.org/isPartOf> <https://fr.wikipedia.org/> . } ORDER BY ASC( ?var4Label )"}}
{"id": "test_9321", "question": "Australian Women's Register ID AWE5987b, English label and description", "sparql": "SELECT ?person ?personLabel ?description WHERE { ?person wdt:P4186 \"AWE5987b\" . OPTIONAL { ?person schema:description ?description . FILTER (LANG(?description) = \"en\") } ?person rdfs:label ?personLabel . FILTER (LANG(?personLabel) = \"en\") }", "paraphrases": ["Who is the person with Australian Women's Register ID AWE5987b, and what is their English description?", "Tell me the English name and description of the person identified by AWE5987b in the Australian Women's Register."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4186> \"AWE5987b\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9322", "question": "Who are the Polish mountaineers who died at elevations above 8,000 meters?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nSELECT ( SAMPLE( ?pl ) AS ?personLabel ) ( SAMPLE( ?dl ) AS ?deathPlaceLabel ) WHERE {\n  ?person wdt:P19 / wdt:P17 wd:Q36 .\n  ?person wdt:P20 ?deathPlace .\n  ?deathPlace p:P2044 ?statement .\n  ?statement psv:P2044 ?valueNode .\n  ?valueNode wikibase:quantityAmount ?elevationValue .\n  ?valueNode wikibase:quantityUnit wd:Q11573 .\n  FILTER ( ?elevationValue > 8000 ) ?deathPlace wdt:P31 wd:Q8502 .\n  ?person rdfs:label ?pl .\n  ?deathPlace rdfs:label ?dl .\n}\nGROUP BY ?person ?deathPlace", "paraphrases": ["List the names of people born in Poland who died on mountains higher than 8,000 meters.", "Which climbers from Poland lost their lives on peaks exceeding 8,000 meters in elevation?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var4 . ?var5 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q36> . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P20> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P2044> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P2237> <http://www.wikidata.org/entity/Q11573> . FILTER ( ( ( ?var3 > \"8000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_9323", "question": "Military operations that were part of the Pacific War during World War II.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?operation ?operationLabel WHERE {\n  ?operation wdt:P361 wd:Q184425 .\n  ?operation rdfs:label ?operationLabel .\n  FILTER(LANG(?operationLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["What battles and raids were conducted as part of the Pacific War?", "List all the campaigns and operations that occurred within the Pacific War theater."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q184425> . } LIMIT 10000"}}
{"id": "test_9324", "question": "Humans who have been Rebbe", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P39 wd:Q359351 .\n  ?person rdfs:label ?personLabel .\n}\nLIMIT 100", "paraphrases": ["Who are the humans that have held the position of Rebbe?", "List the names of all people who have served as Rebbe, along with their labels in any language."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/P39> ?var2 . ?var2 <http://www.wikidata.org/prop/P39> <http://www.wikidata.org/entity/Q359351> . } LIMIT 100"}}
{"id": "test_9325", "question": "List English family names (surnames) in Wikidata.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?var1 ?var1Label WHERE {\n  ?var1 wdt:P31 wd:Q101352 .\n  ?var1 rdfs:label ?var1Label .\n  FILTER(LANG(?var1Label) = \"en\")\n  FILTER(STRSTARTS(STR(?var1) , \"http://www.wikidata.org/entity/Q\"))\n}\nLIMIT 300", "paraphrases": ["What are some surnames that are classified as family names in English?", "Show me 300 English-language surnames that are instances of family names in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q101352> . OPTIONAL { ?var1 <http://schema.org/description> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } } LIMIT 300"}}
{"id": "test_9326", "question": "Which Wikidata item has the Twitter username \"realDonaldTrump\", and how many Wikipedia articles are about it?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?twitterUsername(COUNT(?wiki) AS ?sitelinkCount) WHERE {\n  ?item wdt:P2002 ?twitterUsername .\n  FILTER(?twitterUsername = \"realDonaldTrump\")\n  .\n  ?wiki schema:about ?item .\n  ?wiki schema:inLanguage ?lang .\n  FILTER(STRSTARTS(STR(?wiki) , \"https://\"))\n}\nGROUP BY ?item ?twitterUsername\nORDER BY DESC(?sitelinkCount)", "paraphrases": ["Who is the Wikidata entity associated with the Twitter handle \"realDonaldTrump\", and how popular is it across Wikipedia?", "Show me the Wikidata item and its sitelink count for the Twitter username \"realDonaldTrump\", sorted by popularity."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"8mars\" ) ( \"i__PkU\" ) ( \"string2\" ) ( \"afdublin\" ) ( \"string3\" ) ( \"cyrilrtour\" ) ( \"string4\" ) ( \"string5\" ) ( \"Atiiiiish\" ) ( \"klasskamp\" ) ( \"a_affret\" ) ( \"string6\" ) ( \"Flipzon\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"Skogsmunk_\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) ( \"amazones30\" ) ( \"string13\" ) ( \"SoniaMerv\" ) ( \"string14\" ) ( \"string15\" ) ( \"Pamus24\" ) ( \"Abra1298\" ) ( \"string16\" ) ( \"missEdwi\" ) ( \"string17\" ) ( \"string18\" ) ( \"string19\" ) ( \"string20\" ) ( \"sambridhig\" ) ( \"string21\" ) ( \"string22\" ) ( \"string23\" ) ( \"idakjellin\" ) ( \"string24\" ) ( \"string25\" ) ( \"BuschEbba\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_9327", "question": "What entities have the Twitter username \"sweden\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity ?username WHERE {\n  ?entity wdt:P2002 ?username .\n  VALUES ?username {\n    \"sweden\"\n  }\n}", "paraphrases": ["Which Wikidata items are associated with the Twitter handle \"sweden\"?", "Show me the entities on Wikidata that use \"sweden\" as their X (Twitter) username."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"fagerving\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"SwedeninNO\" ) ( \"string4\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_9328", "question": "Image of the person with SNAC ARK ID w6t47439", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6t47439\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the Wikimedia Commons image of Antoni \u015alonimski?", "Show me the image associated with the SNAC ARK ID w6t47439."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6t47439\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9329", "question": "Computer scientists with DBLP IDs and Driver Database IDs", "sparql": "SELECT ?person ?personLabel ?dblpId ?driverDbStatement WHERE { ?person (wdt:P106/wdt:P279*) wd:Q82594 . ?person p:P3684 ?driverDbStatement . OPTIONAL { ?person wdt:P2456 ?dblpId . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["Who are computer scientists that have both a DBLP author ID and a Driver Database driver ID?", "List the names, DBLP IDs, and Driver Database statement IDs of all computer scientists and their subtypes."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q82594> . ?var1 <http://www.wikidata.org/prop/P3684> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2456> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9330", "question": "Which Wikidata entity has the VIAF ID 114233525?", "sparql": "SELECT ?item WHERE { ?item wdt:P214 \"114233525\" . }", "paraphrases": ["Who is the person associated with the Virtual International Authority File identifier 114233525?", "Find the Wikidata item for the individual with VIAF ID 114233525."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"114233525\". }"}}
{"id": "test_9331", "question": "What Wikidata items have the Twitter usernames \"envlh\" or \"PBALille\"?", "sparql": "SELECT ?item ?twitterUsername WHERE { ?item wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"envlh\" \"PBALille\" } }", "paraphrases": ["Can you find the entities on Wikidata associated with the Twitter accounts @envlh and @PBALille?", "Which people or organizations on Wikidata use \"envlh\" or \"PBALille\" as their Twitter handle?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"envlh\" ) ( \"pruvisto\" ) ( \"larsr_h\" ) ( \"isaprover\" ) ( \"skc\" ) ( \"string1\" ) ( \"PBALille\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_9332", "question": "What are the districts in Semarang Regency, Indonesia?", "sparql": "SELECT ?district ?districtLabel WHERE { ?district wdt:P131 wd:Q10687 . ?district wdt:P31 wd:Q3700011 . ?district rdfs:label ?districtLabel . FILTER(LANG(?districtLabel) = \"en\") } LIMIT 100", "paraphrases": ["List all administrative districts (kecamatan) located within Semarang Regency.", "Which towns or subdistricts are part of Semarang Regency in Central Java?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"id,en\". } ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q10687> . OPTIONAL { } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3700011> . } LIMIT 100"}}
{"id": "test_9333", "question": "Wikipedia articles about women and women's history, with language and URL", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?topic ?topicLabel ?langCode ?url WHERE {\n  VALUES ?topic {\n    wd:Q467 wd:Q1279400\n  }\n  ?article wdt:P921 ?topic .\n  ?article wdt:P1476 ?title .\n  ?article wdt:P407 ?lang .\n  ?lang wdt:P218 ?langCode .\n  BIND( CONCAT ( \"https://\" , ?langCode , \".wikipedia.org/wiki/\" , REPLACE( ?title , \" \" , \"_\" ) ) AS ?url ) OPTIONAL {\n    ?topic rdfs:label ?topicLabel .\n    FILTER ( LANG( ?topicLabel ) = \"en\" )\n  }\n}\nORDER BY ?topic ?langCode", "paraphrases": ["What are the Wikipedia articles that have woman or women's history as their main subject, and in which languages are they written?", "List all Wikipedia articles that focus on women or women's history, including the language and full URL for each."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { VALUES ( ?var4 ) { ( <http://www.wikidata.org/entity/Q467> ) ( <http://www.wikidata.org/entity/Q1279400> ) } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q21025364> ; <http://www.wikidata.org/prop/direct/P921> ?var4 . ?var3 <http://schema.org/isPartOf> ?var2 ; <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY ASC( ?var1 )ASC( ?var2 )"}}
{"id": "test_9334", "question": "Which Wikidata entities have the Twitter username \"elonmusk\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity ?username WHERE {\n  ?entity wdt:P2002 ?username .\n  VALUES ?username {\n    \"elonmusk\"\n  }\n}", "paraphrases": ["Who is the person on Wikidata with the Twitter handle @elonmusk?", "Show me the Wikidata item for the Twitter account elonmusk."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"BlazerDadd\" ) ( \"_Smorez\" ) ( \"aveunalliv\" ) ( \"SheaAlex97\" ) ( \"divblita\" ) ( \"TrashBye\" ) ( \"4chichi44\" ) ( \"ally_a22\" ) ( \"string2\" ) ( \"string3\" ) ( \"GoreJizz\" ) ( \"string4\" ) ( \"Jhi2u\" ) ( \"xerijax\" ) ( \"string5\" ) ( \"string6\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_9335", "question": "Who are some computer scientists or related professionals with a DBLP identifier, and what are their occupations?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3 WHERE {\n  ?var1 ( wdt:P106 / wdt:P279 * ) wd:Q82594 .\n  ?var1 wdt:P106 ?var2 .\n  OPTIONAL {\n    ?var1 wdt:P2456 ?var3 .\n  }\n  ?var1 rdfs:label ?var1Label .\n  ?var2 rdfs:label ?var2Label .\n  FILTER ( LANG( ?var1Label ) = \"en\" ) FILTER ( LANG( ?var2Label ) = \"en\" )\n}", "paraphrases": ["List the names, occupations, and DBLP IDs of people whose profession is a subclass of computer scientist.", "Can you show me people in computer science fields who have a DBLP profile, along with their job titles?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q82594> . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2456> ?var3 . } ?var2 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q29933786> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_9336", "question": "Which Wikidata items have Twitter usernames BarackObama, CityOfBoston, or NatlAquarium?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitter WHERE {\n  ?item wdt:P2002 ?twitter .\n  FILTER(?twitter IN(\"BarackObama\" , \"CityOfBoston\" , \"NatlAquarium\"))\n}\nORDER BY ?twitter", "paraphrases": ["What are the Wikidata items associated with the Twitter handles @BarackObama, @CityOfBoston, and @NatlAquarium?", "List the entities in Wikidata that are linked to the Twitter accounts BarackObama, CityOfBoston, and NatlAquarium."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"TLRHub\" ) ( \"TuulaP\" ) ( \"espenore\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"v_i_o_l_a\" ) ( \"string6\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"jhowesuk\" ) ( \"string12\" ) ( \"KySamuli\" ) ( \"ggnewed\" ) ( \"LafHR\" ) ( \"string13\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_9337", "question": "What are the English names, official websites, and social media handles of all festivals listed in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?festival(SAMPLE(?label_en) AS ?label)(SAMPLE(?image_val) AS ?image)(SAMPLE(?coordinates_val) AS ?coordinates)(SAMPLE(?wikipediaPage_val) AS ?wikipediaPage)(SAMPLE(?website_val) AS ?website)(SAMPLE(?twitter_val) AS ?twitter)(SAMPLE(?nytimesId_val) AS ?nytimesId)(SAMPLE(?banner_val) AS ?banner)(GROUP_CONCAT(?instanceOf_val ; SEPARATOR = \";\") AS ?instanceOfList) WHERE {\n  ?festival(wdt:P31 / wdt:P279 *) wd:Q132241 .\n  ?festival rdfs:label ?label_en .\n  FILTER(LANGMATCHES(LANG(?label_en) , \"en\"))\n  OPTIONAL {\n    ?festival wdt:P18 ?image_val .\n  }\n  OPTIONAL {\n    ?festival wdt:P625 ?coordinates_val .\n  }\n  OPTIONAL {\n    ?festival wdt:P856 ?website_val .\n  }\n  OPTIONAL {\n    ?festival wdt:P2002 ?twitter_val .\n  }\n  OPTIONAL {\n    ?festival wdt:P3221 ?nytimesId_val .\n  }\n  OPTIONAL {\n    ?festival wdt:P948 ?banner_val .\n  }\n  OPTIONAL {\n    ?festival wdt:P31 ?instanceOf_val .\n  }\n  OPTIONAL {\n    ?wikipediaPage_val schema:about ?festival ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n}\nGROUP BY ?festival", "paraphrases": ["Can you list festivals with their locations, Wikipedia pages, and images from Wikimedia Commons?", "Show me detailed information about festivals including their types, New York Times topic IDs, and page banners used on Wikivoyage."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ( SAMPLE ( ?var1Label ) AS ?var1Label )( SAMPLE ( ?var2 ) AS ?var2 )( SAMPLE ( ?var3 ) AS ?var3 )( SAMPLE ( ?var4 ) AS ?var4 )( SAMPLE ( ?var5 ) AS ?var5 )( SAMPLE ( ?var6 ) AS ?var6 )( SAMPLE ( ?var7 ) AS ?var7 )( SAMPLE ( ?var8 ) AS ?var8 )( GROUP_CONCAT ( ?var9 ; SEPARATOR = \";\" ) AS ?var10 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q132241> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3221> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P948> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var9 . } OPTIONAL { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/inLanguage> \"en\". ?var4 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } FILTER ( ( LANGMATCHES ( LANG ( ?var1Label ) , \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_9338", "question": "Actors in performing arts with alternate names", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?alias ?personLabel WHERE {\n  OPTIONAL {\n    ?person wdt:P2561 ?alias .\n  }\n  ?person wdt:P106 wd:Q33999 .\n  ?person wdt:P101 wd:Q184485 .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}", "paraphrases": ["Who are the actors whose field of work is performing arts, and what are their alternative names?", "List actors working in performing arts along with their known aliases and English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2561> ?var3 . } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q16010345> . ?var1 <http://www.wikidata.org/prop/direct/P101> <http://www.wikidata.org/entity/Q184485> . }"}}
{"id": "test_9339", "question": "What are the English and German Wikipedia and Commons pages for the film with IMDb ID tt0035544?", "sparql": "SELECT ?film ?page (REPLACE(STRAFTER(STR(?page), \"wiki/\"), \"_\", \" \") AS ?pageTitle) WHERE { ?film wdt:P345 \"tt0035544\" . ?page schema:about ?film . FILTER(STRSTARTS(STR(?page), \"https://en.wikipedia.org/\") || STRSTARTS(STR(?page), \"https://de.wikipedia.org/\") || STRSTARTS(STR(?page), \"https://commons.wikimedia.org/wiki/\")) }", "paraphrases": ["Which Wikipedia and Commons pages in English or German are linked to the film \"Western Mail\" (IMDb ID: tt0035544)?", "Show me the titles of the English and German Wikipedia and Commons pages about the film with IMDb ID tt0035544."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0035544\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9340", "question": "What English or German Wikipedia or Commons pages are about the movie with IMDb ID tt0030168?", "sparql": "SELECT ?movie ?page WHERE { ?movie wdt:P345 \"tt0030168\" . ?page schema:about ?movie . { ?page schema:inLanguage \"en\" . } UNION { ?page schema:inLanguage \"de\" . } }", "paraphrases": ["Can you show me the Wikipedia or Commons links in English or German for the film \"Gang Bullets\"?", "Which language versions of Wikipedia or Commons pages link to the movie identified by IMDb tt0030168?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0030168\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9341", "question": "Female physicists with birth place coordinates and images", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?physicist ?physicistLabel ?birthDate ?birthPlace ?birthPlaceLabel ?deathDate ?image ?coordinates WHERE {\n  ?physicist wdt:P31 wd:Q5 ; wdt:P21 wd:Q6581072 ; ( wdt:P106 / wdt:P279 * ) wd:Q169470 .\n  OPTIONAL {\n    ?physicist wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?physicist wdt:P570 ?deathDate .\n  }\n  OPTIONAL {\n    ?physicist wdt:P18 ?image .\n  }\n  ?physicist wdt:P19 ?birthPlace .\n  ?birthPlace wdt:P625 ?coordinates .\n  ?physicist rdfs:label ?physicistLabel .\n  FILTER ( LANG( ?physicistLabel ) = \"en\" ) OPTIONAL {\n    ?birthPlace rdfs:label ?birthPlaceLabel .\n    FILTER ( LANG( ?birthPlaceLabel ) = \"en\" )\n  }\n}\nLIMIT 10", "paraphrases": ["Who are some female physicists, where were they born, and what are the coordinates of their birthplaces?", "List female physicists along with their birth dates, birth places, and the geographic coordinates of those places."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3Label ?var4Label ?var5Label ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q169470> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P166> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var6 . } ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var7 . }"}}
{"id": "test_9342", "question": "What are the broader fictional categories that fictional Bivalvia belongs to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?ancestor WHERE {\n  wd:Q30131069 wdt:P279 * ?ancestor .\n}\nLIMIT 10", "paraphrases": ["What are all the superclass categories of fictional Bivalvia in the Wikidata ontology?", "Show me the hierarchy of fictional categories above fictional Bivalvia, including its direct and indirect ancestors."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q30131069> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_9343", "question": "What is the Wikidata item for the Museo Nazionale del Ducato di Spoleto, and is it a museum?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?museum WHERE {\n  ?museum rdfs:label \"Museo nazionale del Ducato di Spoleto\" @it ; wdt:P31 / wdt:P279 * wd:Q33506 .\n}", "paraphrases": ["Is there a museum in Wikidata corresponding to the Italian \"Museo nazionale del Ducato di Spoleto\"?", "Find the Wikidata entry for the Museo Nazionale del Ducato di Spoleto and confirm it is classified as a museum."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P460> <http://it.dbpedia.org/resource/Museo_nazionale_del_Ducato_di_Spoleto> ; ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q33506> . }"}}
{"id": "test_9344", "question": "Entities that started between April 1878 and April 1888 and ended between April 1888 and April 1898.", "sparql": "SELECT DISTINCT ?item WHERE { ?item wdt:P580 ?startTime . ?item wdt:P582 ?endTime . FILTER ( ?startTime >= \"1878-04-01T00:00:00Z\"^^xsd:dateTime && ?startTime <= \"1888-04-30T23:59:59Z\"^^xsd:dateTime ) FILTER ( ?endTime >= \"1888-04-01T00:00:00Z\"^^xsd:dateTime && ?endTime <= \"1898-04-30T23:59:59Z\"^^xsd:dateTime ) }", "paraphrases": ["Which entities began operation between April 1878 and April 1888 and ceased between April 1888 and April 1898?", "Show me all items with a start date in the late 1870s to late 1880s and an end date in the late 1880s to late 1890s."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P580> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P582> ?var3 . FILTER ( ( ( ?var2 >= \"1878-04-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1888-04-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var3 >= \"1888-04-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var3 <= \"1898-04-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_9345", "question": "What image is linked to the SNAC ARK ID w6862hdq in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6862hdq\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Can you find the Commons image for the entity with SNAC ARK ID w6862hdq?", "Show the image associated with the SNAC ARK ID w6862hdq."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6862hdq\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9346", "question": "What are the physical characteristics and related entities of Lake Baikal, along with their English labels?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?propertyLabel ?value ?valueLabel WHERE {\n  wd:Q5513 ?property ?value .\n  BIND( IRI( REPLACE( STR( ?property ) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\" ) ) AS ?propertyItem ) .\n  ?propertyItem rdfs:label ?propertyLabel .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" ) OPTIONAL {\n    ?value rdfs:label ?valueLabel .\n    FILTER ( LANG( ?valueLabel ) = \"en\" )\n  }\n}\nLIMIT 100", "paraphrases": ["Show me all properties of Lake Baikal and the names of the things they point to, in English.", "Can you list the direct facts about Lake Baikal, including the names of rivers or places it's connected to?"], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q5513> ?var1 ?var2 . OPTIONAL { ?var2 ?var3 ?var4 . } } LIMIT 100"}}
{"id": "test_9347", "question": "Female painters and sculptors who died in 1947", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?personLabel ?occupationLabel ?deathDate ?person WHERE {\n  VALUES ?occupation {\n    wd:Q1028181 wd:Q1281618\n  }\n  ?person wdt:P106 ?occupation .\n  ?person wdt:P21 wd:Q6581072 .\n  ?person wdt:P570 ?deathDate .\n  FILTER(?deathDate >= \"1947-01-01T00:00:00Z\" ^^ xsd:dateTime)\n  FILTER(?deathDate <= \"1947-12-31T23:59:59Z\" ^^ xsd:dateTime)\n  ?person rdfs:label ?personLabel .\n  ?occupation rdfs:label ?occupationLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n  FILTER(LANG(?occupationLabel) = \"en\")\n}\nGROUP BY ?personLabel ?occupationLabel ?deathDate ?person\nORDER BY ASC(?deathDate)\nLIMIT 50", "paraphrases": ["Who were the female painters and sculptors that died in 1947, and what were their occupations?", "List the names and occupations of female artists who died in 1947."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2Label ?var3Label ?var4 ?var1 ( SAMPLE ( ?var5 ) AS ?var6 ) WHERE { { ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1281618> . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1028181> . } ?var1 <http://www.wikidata.org/prop/direct/P106> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . FILTER ( ( ( ?var4 <= \"1947-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var4 >= \"1947-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,de,ar,be,bg,bn,ca,cs,da,el,es,et,fa,fi,fr,he,hi,hu,hy,id,it,ja,jv,ko,nb,nl,eo,pa,pl,pt,ro,ru,sh,sk,sr,sv,sw,te,th,tr,uk,yue,vec,vi,zh\". } } GROUP BY ?var1Label ?var2Label ?var4 ?var1 ?var3Label ORDER BY ASC( ?var4 )"}}
{"id": "test_9348", "question": "Which sovereign states have articles on the Lombard Wikipedia, and what are their English names?", "sparql": "SELECT ?country ?countryLabel ?lmoArticle WHERE { ?country wdt:P31 wd:Q3624078 . ?lmoArticle schema:about ?country . ?lmoArticle schema:isPartOf <https://lmo.wikipedia.org/> . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") }", "paraphrases": ["What are the English names of all sovereign countries that have a corresponding page on the Lombard Wikipedia?", "List the countries (in English) that have Wikipedia articles in the Lombard language, along with the URLs of those articles."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3624078> . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/isPartOf> <https://lmo.wikipedia.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9349", "question": "What are the occupations of people from Burkina Faso?", "sparql": "SELECT ?human ?occupationLabel WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P27 wd:Q965 . ?human wdt:P106 ?occupation . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = \"en\") } LIMIT 1000", "paraphrases": ["Who are the human citizens of Burkina Faso, and what are their occupations?", "List the English labels of occupations held by individuals who are citizens of Burkina Faso."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q965> . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 250000"}}
{"id": "test_9350", "question": "What are some examples of mountains in Wikidata?", "sparql": "SELECT ?mountain WHERE { ?mountain wdt:P31 wd:Q8502 . }", "paraphrases": ["List all entities classified as mountains.", "Show me items that are instances of the mountain landform."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16010345> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_9351", "question": "Who has won both a Nobel Prize and an Academy Award?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item ?itemLabel WHERE {\n  ?item wdt:P166 ?nobelAward .\n  ?nobelAward wdt:P279 * wd:Q7191 .\n  ?item wdt:P166 ?oscarAward .\n  ?oscarAward wdt:P31 wd:Q19020 .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["List people who have received both a Nobel Prize and an Oscar.", "Which individuals have been awarded both the Nobel Prize in any category and an Academy Award?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P166> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P31> ? <http://www.wikidata.org/entity/Q7191> . ?var1 ( <http://www.wikidata.org/prop/direct/P166> / <http://www.wikidata.org/prop/direct/P31> ?) <http://www.wikidata.org/entity/Q19020> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_9352", "question": "How many entities described in English Wikipedia are composed of other parts?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ( COUNT( DISTINCT ?item ) AS ?count ) WHERE {\n  ?item wdt:P527 ?part .\n  ?wikipediaPage schema:about ?item .\n  ?wikipediaPage schema:inLanguage \"en\" .\n}", "paraphrases": ["What is the count of English Wikipedia articles about items that have parts?", "Can you tell me how many things like cars, computers, or books \u2014 which are made up of components \u2014 have English Wikipedia pages?"], "info": {"raw_sparql": "SELECT( COUNT ( DISTINCT ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P527> ?var3 . ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/inLanguage> \"en\". }"}}
{"id": "test_9353", "question": "What sources describe the concept of a city on Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?cityLabel ?propertyItem ?propertyLabel ?resource ?resourceLabel WHERE {\n  wd:Q515 ?directProperty ?resource .\n  ?propertyItem wikibase:directClaim ?directProperty .\n  ?propertyItem rdf:type wikibase:Property .\n  ?resource rdfs:label ?resourceLabel .\n  wd:Q515 rdfs:label ?cityLabel .\n  FILTER(LANG(?resourceLabel) = \"en\")\n  FILTER(LANG(?cityLabel) = \"en\")\n  FILTER(?directProperty != wdt:P1963)\n}\nLIMIT 10", "paraphrases": ["Which encyclopedias, portals, or templates are linked to the concept of a city?", "Show me the English-labeled resources that are associated with the concept of a city via direct properties, along with the property names."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { <http://www.wikidata.org/entity/Q515> ?var4 ?var3 . ?var2 ?var5 ?var4 . ?var2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . <http://www.wikidata.org/entity/Q515> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . FILTER ( ( ( ?var4 != <http://www.wikidata.org/prop/direct/P1963> ) ) ) . } LIMIT 10"}}
{"id": "test_9354", "question": "Actors in The Lord of the Rings: The Fellowship of the Ring", "sparql": "SELECT ?actor ?actorLabel WHERE { wd:Q127367 wdt:P161 ?actor . ?actor rdfs:label ?actorLabel . FILTER(LANG(?actorLabel) = \"en\") } LIMIT 100", "paraphrases": ["Who are the actors in the 2001 film The Lord of the Rings: The Fellowship of the Ring?", "List the English names of all cast members of The Lord of the Rings: The Fellowship of the Ring."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } <http://www.wikidata.org/entity/Q127367> <http://www.wikidata.org/prop/direct/P161> ?var1 . } LIMIT 100"}}
{"id": "test_9355", "question": "Rooms with images on Wikimedia Commons", "sparql": "SELECT ?room ?roomLabel ?image WHERE { ?room wdt:P31 wd:Q180516 . ?room wdt:P18 ?image . ?room rdfs:label ?roomLabel . FILTER(LANG(?roomLabel) = \"en\") }", "paraphrases": ["What are the rooms and their corresponding images on Wikimedia Commons?", "Show me a list of rooms along with their images from Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q180516> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P366> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_9356", "question": "Actors and characters in The Lord of the Rings film trilogy", "sparql": "SELECT DISTINCT ?actor ?actorLabel ?character ?characterLabel WHERE { ?film wdt:P179 wd:Q190214 . ?film p:P161 ?statement . ?statement ps:P161 ?actor . ?statement pq:P453 ?character . ?actor rdfs:label ?actorLabel . ?character rdfs:label ?characterLabel . FILTER(LANG(?actorLabel) = \"en\") . FILTER(LANG(?characterLabel) = \"en\") . } LIMIT 100", "paraphrases": ["Who played which characters in The Lord of the Rings movies?", "List all actors and the characters they portrayed in Peter Jackson\u2019s The Lord of the Rings trilogy, with their English names."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var3 <http://www.wikidata.org/prop/direct/P179> <http://www.wikidata.org/entity/Q190214> . ?var3 <http://www.wikidata.org/prop/P161> ?var4 . ?var4 <http://www.wikidata.org/prop/qualifier/P453> ?var2 . ?var4 <http://www.wikidata.org/prop/statement/P161> ?var1 . } LIMIT 100"}}
{"id": "test_9357", "question": "What are the districts of Frankfurt am Main, along with their coordinates and areas?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?district ?districtLabel ?coord ?area WHERE {\n  wd:Q1794 wdt:P150 ?district .\n  ?district rdfs:label ?districtLabel .\n  FILTER ( LANG( ?districtLabel ) = \"en\" ) OPTIONAL {\n    ?district wdt:P625 ?coord\n  }\n  OPTIONAL {\n    ?district wdt:P2046 ?area\n  }\n}", "paraphrases": ["Can you list the English-named districts of Frankfurt and their geographic locations and sizes?", "Show me the names, coordinates, and areas of Frankfurt\u2019s administrative subdivisions."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q1794> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q253019> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P2046> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_9358", "question": "Smartphone models with their images and operating systems", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?smartphone ?smartphoneLabel ?image ?osLabel WHERE {\n  ?smartphone wdt:P31 wd:Q19723451 .\n  ?smartphone wdt:P18 ?image .\n  OPTIONAL {\n    ?smartphone wdt:P306 ?os .\n    ?os rdfs:label ?osLabel .\n    FILTER(LANG(?osLabel) = \"en\")\n  }\n  ?smartphone rdfs:label ?smartphoneLabel .\n  FILTER(LANG(?smartphoneLabel) = \"en\")\n}", "paraphrases": ["What are the smartphone models, their images, and the operating systems they run on?", "Show me a list of smartphone models along with their official images and the operating systems they use."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19723451> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P179> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P306> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . } }"}}
{"id": "test_9359", "question": "Image of Frank Hugh Foster with SNAC ARK ID w6ww7jbm", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6ww7jbm\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Is there an image available for Frank Hugh Foster, who has the SNAC ARK ID w6ww7jbm?", "Show me the Wikimedia Commons image for the person with SNAC ARK ID w6ww7jbm, if one exists."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6ww7jbm\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9360", "question": "What is the Spanish Wikipedia article title for the tennis player Roger Federer?", "sparql": "SELECT ?player ?title WHERE { ?player wdt:P641 wd:Q847 . ?player wdt:P31 wd:Q5 . ?article schema:about ?player ; schema:isPartOf <https://es.wikipedia.org/> ; schema:name ?title . FILTER (REGEX(STR(?title), \"federer\", \"i\")) }", "paraphrases": ["Show me the Spanish Wikipedia page for any human tennis player whose name includes \"federer\".", "Which Spanish-language Wikipedia articles are about human tennis players associated with the name \"federer\"?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P641> <http://www.wikidata.org/entity/Q847> . MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q46190676> . } ?var3 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://es.wikipedia.org/> ; <http://schema.org/name> ?var2 . FILTER ( ( REGEX ( STR ( ?var2 ) , \"string1\" ) ) ) . }"}}
{"id": "test_9361", "question": "Does Pius Reher have a VIAF ID of 102744038?", "sparql": "ASK WHERE { ?item wdt:P214 \"102744038\" . }", "paraphrases": ["Is there a Wikidata item for the person with VIAF identifier 102744038?", "Confirm if the Virtual International Authority File ID 102744038 is assigned to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"102744038\". }"}}
{"id": "test_9362", "question": "What are the main topics of works by Teuvo Kohonen, ranked by how many works cover each topic, along with truncated titles of those works?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?workCount ?subjectLabel ?workLabelTruncated WHERE {\n  {\n    SELECT ?subject ( COUNT( ?work ) AS ?workCount ) WHERE {\n      ?work wdt:P50 wd:Q517898 .\n      ?work wdt:P921 ?subject .\n    }\n    GROUP BY ?subject\n    ORDER BY DESC ( ?workCount )\n  }\n  ?subject rdfs:label ?subjectLabel .\n  FILTER ( LANG( ?subjectLabel ) = \"en\" ) ?work wdt:P50 wd:Q517898 .\n  ?work wdt:P921 ?subject .\n  ?work rdfs:label ?workLabel .\n  FILTER ( LANG( ?workLabel ) = \"en\" ) BIND( SUBSTR( ?workLabel , 1 , 60 ) AS ?workLabelTruncated )\n}\nGROUP BY ?workCount ?subjectLabel ?workLabelTruncated\nORDER BY DESC ( ?workCount )", "paraphrases": ["Which subjects are most frequently associated with publications authored by Teuvo Kohonen, and what are the first 60 characters of the titles of those publications?", "Show me the top subjects in Teuvo Kohonen\u2019s publications, how many works each subject appears in, and the beginning of each publication\u2019s title in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label WHERE { { SELECT ?var4 ( COUNT ( ?var5 ) AS ?var1 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q517898> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . } GROUP BY ?var4 ORDER BY DESC( ?var1 ) } BIND ( SUBSTR ( ?var6Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q517898> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . }"}}
{"id": "test_9363", "question": "Is the Common Locale Data Repository (CLDR) classified as software?", "sparql": "ASK WHERE { wd:Q2986828 wdt:P31/wdt:P279* wd:Q7397 . }", "paraphrases": ["Does CLDR belong to a category that is a type of software?", "Is CLDR considered a kind of software according to Wikidata\u2019s classification?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q2986828> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_9364", "question": "What are the parts or components of the United States House of Representatives?", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P361 wd:Q11701 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = 'en') }", "paraphrases": ["Which entities are considered parts of the U.S. House of Representatives, such as districts or roles?", "Can you list the official groups, positions, and districts that are part of the United States House of Representatives?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q18119757> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_9365", "question": "What is the English or German Wikipedia page for the film with IMDb ID tt0116075?", "sparql": "SELECT ?item ?wikipediaPage ?imdbId WHERE { VALUES ?imdbId { \"tt0116075\" } ?item wdt:P345 ?imdbId . ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang . VALUES ?lang { \"en\" \"de\" } }", "paraphrases": ["Can you find the Wikipedia article in English or German about the movie identified by tt0116075 on IMDb?", "Which film has the IMDb ID tt0116075, and what are its English or German Wikipedia links?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0116075\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9366", "question": "What is the English Wikipedia page for the movie with IMDb ID tt0070190?", "sparql": "SELECT ?item ?wikipedia_page ?itemLabel WHERE { ?item wdt:P345 \"tt0070190\" . ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = ?lang) }", "paraphrases": ["Which English or German Wikipedia page is about the film identified by the IMDb ID tt0070190, and what is its title in that language?", "Show me the Wikipedia page and title in English or German for the movie with IMDb ID tt0070190."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0070190\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9367", "question": "Wikipedia and Wikiquote pages in English or German about the movie with IMDb ID tt0059821.", "sparql": "SELECT ?movie ?page WHERE { ?movie wdt:P345 \"tt0059821\" . ?page schema:about ?movie . { ?page schema:inLanguage \"en\" . } UNION { ?page schema:inLanguage \"de\" . } }", "paraphrases": ["What English and German language Wikipedia and Wikiquote pages are about the movie with IMDb ID tt0059821?", "Show me all the Wikipedia and Wikiquote pages in English or German that are about the movie identified by IMDb ID tt0059821."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0059821\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9368", "question": "Wikipedia pages in English and German for the movie with IMDb ID tt1988781", "sparql": "SELECT ?item ?wikipediaPage ?imdbId WHERE { ?item wdt:P345 \"tt1988781\" . ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") BIND(\"tt1988781\" AS ?imdbId) }", "paraphrases": ["What are the English and German Wikipedia pages for the movie identified by IMDb ID tt1988781?", "Show me the English and German Wikipedia links for the film with IMDb ID tt1988781."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1988781\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9369", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt5361326?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipediaPage ?imdbId WHERE {\n  ?item wdt:P345 ?imdbId .\n  ?wikipediaPage schema:about ?item .\n  {\n    ?wikipediaPage schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipediaPage schema:inLanguage \"de\" .\n  }\n  FILTER ( ?imdbId = \"tt5361326\" )\n}", "paraphrases": ["Show me the Wikipedia articles in English or German about the film identified by IMDb ID tt5361326.", "Which Wikipedia pages in English or German are linked to the movie with IMDb identifier tt5361326?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5361326\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9370", "question": "What articles or works are about Ichiro Suzuki?", "sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 wdt:P921 wd:Q600 . OPTIONAL { ?var1 wdt:P18 ?var2 . } ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") } LIMIT 100", "paraphrases": ["Can you show me any articles about Ichiro Suzuki, along with their titles and images if available?", "Which items on Wikidata have Ichiro Suzuki as their main subject, and do they have associated images?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja,en\". } OPTIONAL { } ?var1 <http://www.wikidata.org/prop/direct/P921> <http://www.wikidata.org/entity/Q600> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } } LIMIT 100"}}
{"id": "test_9371", "question": "What are the statements (with properties and values) associated with Albert Einstein in Wikidata?", "sparql": "SELECT ?statement ?property ?value WHERE { wd:Q937 ?p ?statement . ?statement ?property ?value . FILTER(STRSTARTS(STR(?property), \"http://www.wikidata.org/prop/statement/\")) } LIMIT 10", "paraphrases": ["Show me the property and value pairs for all statements about Albert Einstein.", "List the direct property-value relationships of Albert Einstein\u2019s statements in Wikidata."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ?var2 ?var3 . FILTER ( ( REGEX ( STR ( ?var1 ) , \"statement\" ) ) ) . } LIMIT 100000"}}
{"id": "test_9372", "question": "Employers of Albert Einstein with start and end dates", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?employerLabel ?start ?end WHERE {\n  wd:Q937 wdt:P108 ?employer .\n  ?statement a wikibase:Statement ; ps:P108 ?employer ; pq:P580 ?start ; pq:P582 ?end .\n  ?employer rdfs:label ?employerLabel .\n  FILTER(LANG(?employerLabel) = \"en\")\n}\nLIMIT 10", "paraphrases": ["What are the employers of Albert Einstein and during what periods did he work for them?", "Show me Albert Einstein\u2019s employment history with start and end dates."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ?var2 ?var3 . FILTER ( ( REGEX ( STR ( ?var1 ) , \"statement\" ) ) ) . } LIMIT 750000"}}
{"id": "test_9373", "question": "What are the occupations of people from the Philippines?", "sparql": "SELECT ?person ?occupationLabel WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P27 wd:Q928 . ?person wdt:P106 ?occupation . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = \"en\") } LIMIT 1000", "paraphrases": ["Can you list Filipino individuals and their jobs?", "Which occupations do Filipino citizens hold, according to Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q928> . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 250000"}}
{"id": "test_9374", "question": "Anime and manga works with IMDb IDs that are not films.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?work ?imdbId WHERE {\n  ?work wdt:P31 ?type .\n  FILTER ( ?type IN ( wd:Q1107 , wd:Q8274 ) ) .\n  ?work wdt:P345 ?imdbId . MINUS {\n    ?work ( wdt:P279 * ) wd:Q11424 .\n  }\n}", "paraphrases": ["Which anime and manga titles have IMDb IDs but are not classified as films?", "List anime and manga works that have IMDb identifiers and are not subclasses of film."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q10901350> . MINUS { ?var1 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/statement/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11424> . } FILTER ( ( ?var3 IN ( <http://www.wikidata.org/entity/Q1107> , <http://www.wikidata.org/entity/Q8274> ) ) ) . ?var1 <http://wikiba.se/ontology#identifiers> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P227> ?var4 . }"}}
{"id": "test_9375", "question": "People buried at P\u00e8re Lachaise Cemetery, their place of death, and country of death, sorted by country and place.", "sparql": "SELECT ?person ?personLabel ?placeOfDeathLabel ?countryLabel WHERE { ?person wdt:P119 wd:Q311 . ?person wdt:P20 ?placeOfDeath . ?placeOfDeath wdt:P17 ?country . ?person rdfs:label ?personLabel . ?placeOfDeath rdfs:label ?placeOfDeathLabel . ?country rdfs:label ?countryLabel . FILTER(LANG(?personLabel) = \"en\") FILTER(LANG(?placeOfDeathLabel) = \"en\") FILTER(LANG(?countryLabel) = \"en\") } ORDER BY ASC(?countryLabel) ASC(?placeOfDeathLabel)", "paraphrases": ["Who are the people buried at P\u00e8re Lachaise Cemetery, and where and in which country did they die?", "List the individuals buried at P\u00e8re Lachaise Cemetery along with their place and country of death, ordered alphabetically by country and then by city."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P119> <http://www.wikidata.org/entity/Q311> . ?var1 <http://www.wikidata.org/prop/direct/P20> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P17> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } ORDER BY ASC( ?var3Label )ASC( ?var2Label )"}}
{"id": "test_9376", "question": "Who are the football players who are citizens of the United Kingdom?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?player WHERE {\n  ?player wdt:P31 wd:Q5 .\n  ?player wdt:P106 wd:Q937857 .\n  ?player wdt:P27 wd:Q145 .\n}\nLIMIT 1000", "paraphrases": ["List all human association football players with British citizenship.", "Show me people who play professional football and hold UK nationality."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q937857> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q21> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q26> . } LIMIT 1000"}}
{"id": "test_9377", "question": "Sculptors who died between 1601 and 1699, with their birth and death places, coordinates, images, and locator maps.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX geof: <http://www.opengis.net/def/function/geosparql/>\nPREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT DISTINCT ?sculptor ?dob ?dod ?birthPlace(CONCAT(STR(geof:latitude(?birthCoord)) , \", \" , STR(geof:longitude(?birthCoord))) AS ?birthCoords) ?deathPlace(CONCAT(STR(geof:latitude(?deathCoord)) , \", \" , STR(geof:longitude(?deathCoord))) AS ?deathCoords) ?image ?deathMap WHERE {\n  ?sculptor wdt:P106 wd:Q1281618 ; wdt:P569 ?dob ; wdt:P19 ?birthPlace ; wdt:P20 ?deathPlace .\n  ?birthPlace wdt:P625 ?birthCoord .\n  ?deathPlace wdt:P625 ?deathCoord .\n  ?sculptor p:P570 ?deathStmt .\n  ?deathStmt ps:P570 ?dod .\n  ?deathStmt psv:P570 ?dodValue .\n  ?dodValue wikibase:timeValue ?dod ; wikibase:timePrecision ?precision .\n  OPTIONAL {\n    ?sculptor wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?deathPlace wdt:P242 ?deathMap .\n  }\n  FILTER(?precision >= 9)\n  FILTER(YEAR(?dod) >= 1601 && YEAR(?dod) <= 1699)\n}\nLIMIT 10", "paraphrases": ["Who were the sculptors that died in the 17th century, and where were they born and died? Include their coordinates and any available images or maps.", "List sculptors who died between 1601 and 1699, showing their date of birth, date of death, birth and death locations with coordinates, along with any portrait image and location map of their death place."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5Label ( CONCAT ( STR ( ?var6 ) , \", \", STR ( ?var7 ) ) AS ?var8 ) ?var9Label ( CONCAT ( STR ( ?var10 ) , \", \", STR ( ?var11 ) ) AS ?var12 ) ?var13 ?var14 WHERE { BIND ( YEAR ( ?var15 ) AS ?var16 ). ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1281618> . ?var1 ( <http://www.wikidata.org/prop/P570> / <http://www.wikidata.org/prop/statement/value/P570> ) _:b1 . _:b1 <http://wikiba.se/ontology#timeValue> ?var15 . _:b1 <http://wikiba.se/ontology#timePrecision> ?var17 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . ?var5 <http://www.wikidata.org/prop/direct/P625> ?var18 . ?var5 <http://www.wikidata.org/prop/P625> ?var19 . ?var19 <http://www.wikidata.org/prop/statement/value/P625> ?var20 . ?var20 <http://wikiba.se/ontology#geoLatitude> ?var6 . ?var20 <http://wikiba.se/ontology#geoLongitude> ?var7 . ?var1 <http://www.wikidata.org/prop/direct/P20> ? ?var9 . ?var9 <http://www.wikidata.org/prop/direct/P625> ?var21 . ?var9 <http://www.wikidata.org/prop/P625> ?var22 . ?var22 <http://www.wikidata.org/prop/statement/value/P625> ?var23 . ?var23 <http://wikiba.se/ontology#geoLatitude> ?var10 . ?var23 <http://wikiba.se/ontology#geoLongitude> ?var11 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var13 . } OPTIONAL { ?var9 <http://www.wikidata.org/prop/direct/P242> ?var14 . } FILTER ( ( ( \"1600-12-31\"^^<http://www.w3.org/2001/XMLSchema#dateTime> < ?var15 ) && ( ?var15 < \"1700-00-00\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var17 >= \"9\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . }"}}
{"id": "test_9378", "question": "People and organizations affiliated with DFKI and their employment qualifiers like start/end time or role.", "sparql": "SELECT ?entity ?statement ?property (SAMPLE(?qualifier) AS ?qualifierProperty) WHERE { ?statement ?prop wd:Q896469 . ?entity ?claim ?statement . ?property wikibase:claim ?claim . ?property wikibase:statementProperty ?prop . FILTER (?property != wd:P31) OPTIONAL { ?statement ?qualifierProp ?value . ?qualifier wikibase:qualifier ?qualifierProp . } } GROUP BY ?entity ?statement ?property", "paraphrases": ["Who are the people and organizations associated with the German Research Center for Artificial Intelligence (DFKI), and what qualifiers (like start date or role) are used in those associations?", "List all entities linked to DFKI through employment or membership statements, along with one example qualifier (e.g., start time, end time, or role) for each link."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q896469> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_9379", "question": "German municipalities and their postal codes with Gemeindeschl\u00fcssel", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?municipalityKey ?entity ?entityLabel ?postalCode WHERE {\n  ?entity wdt:P439 ?municipalityKey .\n  ?entity rdfs:label ?entityLabel .\n  FILTER(LANG(?entityLabel) = \"en\")\n  OPTIONAL {\n    ?entity wdt:P281 ?postalCode .\n  }\n}", "paraphrases": ["What are the German geographic entities with a municipality key and their associated postal codes in English?", "List all German entities that have a Gemeindeschl\u00fcssel, their English names, and their postal codes if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var3 ?var4 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,de\". } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P439> ?var1 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P281> ?var4 . } }"}}
{"id": "test_9380", "question": "List all email addresses in Wikidata, sorted alphabetically.", "sparql": "SELECT ?email WHERE { ?item wdt:P968 ?email . } ORDER BY ASC(?email)", "paraphrases": ["What are all the email addresses stored in Wikidata, in ascending order?", "Can you provide a complete list of email addresses associated with entities in Wikidata, ordered from A to Z?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P968> ?var1 . } ORDER BY ASC( ?var1 )"}}
{"id": "test_9381", "question": "Films and TV shows with their PORT film IDs and English titles.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?film ?filmLabel ?portId WHERE {\n  ?film wdt:P905 ?portId .\n  ?film rdfs:label ?filmLabel .\n  FILTER(LANG(?filmLabel) = \"en\")\n}\nLIMIT 1000", "paraphrases": ["What are the English titles and PORT IDs of films and television series in Wikidata?", "Please list all films and TV series along with their PORT identifiers and English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P905> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"hu,en\". } } LIMIT 1000"}}
{"id": "test_9382", "question": "Subclasses of business with English labels", "sparql": "SELECT ?subclass ?subclassLabel WHERE { ?subclass wdt:P279 wd:Q4830453 . ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") }", "paraphrases": ["What are the different types of businesses in Wikidata, listed in English?", "List all English-language labels for entities that are subclasses of business."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2 WHERE { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label ; ?var3 <http://www.wikidata.org/entity/Q4830453> . FILTER ( ( LANG ( ?var1Label ) IN ( \"en\" ) ) ) . }"}}
{"id": "test_9383", "question": "Locomotives retired in October 1961", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?locomotive WHERE {\n  ?locomotive wdt:P730 ?retirementDate .\n  FILTER(?retirementDate >= \"1961-10-01T00:00:00Z\" ^^ xsd:dateTime && ?retirementDate <= \"1961-10-31T23:59:59Z\" ^^ xsd:dateTime)\n}", "paraphrases": ["Which locomotives had their service retirement in October 1961?", "Show me the locomotives that were taken out of service between October 1 and October 31, 1961."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P730> | <http://www.wikidata.org/prop/direct/P746> ) ?var2 . FILTER ( ( ( ?var2 >= \"1961-10-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1961-10-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_9384", "question": "Films with IMDb links, English titles, descriptions, and release dates", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?film ?imdbUrl ?publicationDate ?label ?description WHERE {\n  ?film wdt:P31 wd:Q11424 ; wdt:P345 ?imdbId ; rdfs:label ?label ; schema:description ?description .\n  FILTER(LANG(?label) = \"en\")\n  FILTER(LANG(?description) = \"en\")\n  FILTER(STRSTARTS(?imdbId , \"tt\"))\n  BIND(IRI(CONCAT(\"http://www.imdb.com/title/\" , ?imdbId)) AS ?imdbUrl)\n  OPTIONAL {\n    ?film wdt:P577 ?publicationDate .\n  }\n}\nLIMIT 100", "paraphrases": ["What are the English titles, descriptions, IMDb URLs, and release dates of films on Wikidata?", "Please list films that have English labels and descriptions, along with their IMDb URLs and publication dates, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> ; <http://www.wikidata.org/prop/direct/P345> ?var6 ; <http://schema.org/description> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var3 . } BIND ( IRI ( CONCAT ( \"string1\", ?var6 ) ) AS ?var2 ). ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . }"}}
{"id": "test_9385", "question": "Does Wikidata have an entry for GND ID 1052965202?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?entity wdt:P227 \"1052965202\" .\n}", "paraphrases": ["Is there a person in Wikidata with the GND identifier 1052965202?", "Check if the German National Library ID 1052965202 is registered in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"1052965202\". }"}}
{"id": "test_9386", "question": "Actors and their characters in The Lord of the Rings trilogy, along with character types.", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT DISTINCT ?actor ?actorLabel ?character ?characterLabel ?characterType ?characterTypeLabel WHERE {\n  ?film wdt:P179 wd:Q190214 .\n  ?film p:P161 ?castStatement .\n  ?castStatement ps:P161 ?actor .\n  ?castStatement pq:P453 ?character .\n  ?character wdt:P31 ?characterType .\n  ?actor rdfs:label ?actorLabel .\n  ?character rdfs:label ?characterLabel .\n  ?characterType rdfs:label ?characterTypeLabel .\n  FILTER ( LANG( ?actorLabel ) = \"en\" ) FILTER ( LANG( ?characterLabel ) = \"en\" ) FILTER ( LANG( ?characterTypeLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Who played which characters in The Lord of the Rings films, and what types of characters are they (e.g., elf, man, Maiar)?", "List all actors from The Lord of the Rings movies, the characters they portrayed, and the categories those characters belong to (like fantasy film character or Middle-earth elf)."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } ?var5 <http://www.wikidata.org/prop/direct/P179> <http://www.wikidata.org/entity/Q190214> . ?var5 <http://www.wikidata.org/prop/P161> ?var6 . ?var6 <http://www.wikidata.org/prop/qualifier/P453> ?var2 . ?var6 <http://www.wikidata.org/prop/statement/P161> ?var1 . ?var2 <http://www.wikidata.org/prop/qualifier/P435> ?var3 . ?var2 <http://www.wikidata.org/prop/statement/P31> ?var4 . } LIMIT 100"}}
{"id": "test_9387", "question": "Chemical compounds with InChIKey starting with ASPI and their PubChem and ChemSpider IDs.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?compound ?inchikey ?pubchem ?chemspider WHERE {\n  ?compound wdt:P235 ?inchikey .\n  FILTER ( STRSTARTS( ?inchikey , \"ASPI\" ) ) OPTIONAL {\n    ?compound wdt:P662 ?pubchem .\n  }\n  OPTIONAL {\n    ?compound wdt:P661 ?chemspider .\n  }\n}", "paraphrases": ["Which substances have an InChIKey that starts with \"ASPI\", and what are their PubChem and ChemSpider identifiers?", "Show me all substances whose InChIKey begins with \"ASPI\", including their PubChem CID and ChemSpider ID if available."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var1Label ?var3 ?var4 WHERE { { SELECT * WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q18216> ) ( <http://www.wikidata.org/entity/Q3151840> ) ( <http://www.wikidata.org/entity/Q18247704> ) ( <http://www.wikidata.org/entity/Q49932370> ) ( <http://www.wikidata.org/entity/Q43895286> ) ( <http://www.wikidata.org/entity/Q1429377> ) ( <http://www.wikidata.org/entity/Q2305733> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11173> . } } UNION { SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P235> ?var2 . FILTER ( ( STRSTARTS ( ?var2 , \"ASPI\" ) ) ) . } } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P662> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P661> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P235> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9388", "question": "What are the most common research topics in the publications authored by Cisca Wijmenga, and how many publications cover each topic?", "sparql": "SELECT ?count ?subjectLabel WHERE { { SELECT ?subject (COUNT(?work) AS ?count) WHERE { ?work wdt:P50 wd:Q20196322 . ?work wdt:P921 ?subject . } GROUP BY ?subject ORDER BY DESC(?count) } ?subject rdfs:label ?subjectLabel . FILTER(LANG(?subjectLabel) = \"en\") }", "paraphrases": ["List the main subjects of Cisca Wijmenga\u2019s scientific works in English, sorted by how frequently they appear.", "Which subjects are most frequently associated with papers written by Cisca Wijmenga?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label WHERE { { SELECT ?var4 ( COUNT ( ?var5 ) AS ?var1 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q20196322> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . } GROUP BY ?var4 ORDER BY DESC( ?var1 ) } BIND ( SUBSTR ( ?var6Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q20196322> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . }"}}
{"id": "test_9389", "question": "What are some examples of machinima films?", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P31 wd:Q863402 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["Which films are classified as machinima?", "List the English titles of films that belong to the machinima genre."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q863402> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_9390", "question": "Does the Virtual International Authority File (VIAF) ID \"32086189\" correspond to any entity in Wikidata?", "sparql": "ASK WHERE { ?item wdt:P214 \"32086189\" . }", "paraphrases": ["Is there a Wikidata item associated with the VIAF identifier 32086189?", "Does the VIAF ID 32086189 exist in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"32086189\". }"}}
{"id": "test_9391", "question": "All book series in Wikidata, including those classified under subclasses like hexalogy or trilogy.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?bookSeries WHERE {\n  ?bookSeries(wdt:P31 / wdt:P279 *) wd:Q277759 .\n}", "paraphrases": ["What are all the book series in Wikidata, even if they are categorized as a specific type of series like a hexalogy?", "List all entities that are book series, whether directly or through their subclass hierarchy."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q277759> . }"}}
{"id": "test_9392", "question": "List all episodes of the TV series Sanctuary with their IMDb IDs, previous and next episodes.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?episode ?episodeLabel ?imdb ?premiere ?previousEpisode ?nextEpisode WHERE {\n  ?episode wdt:P31 wd:Q21191270 .\n  ?episode wdt:P179 wd:Q844099 .\n  OPTIONAL {\n    ?episode wdt:P345 ?imdb .\n  }\n  OPTIONAL {\n    ?episode wdt:P1191 ?premiere .\n  }\n  OPTIONAL {\n    ?episode wdt:P155 ?previousEpisode .\n  }\n  OPTIONAL {\n    ?episode wdt:P156 ?nextEpisode .\n  }\n  ?episode rdfs:label ?episodeLabel .\n  FILTER ( LANG( ?episodeLabel ) = \"en\" )\n}\nORDER BY ASC ( ?premiere )", "paraphrases": ["What are the episodes of the TV series Sanctuary, and which episodes come before and after each one?", "Show me the English titles, IMDb IDs, and the preceding and following episodes for each episode in the TV series Sanctuary, sorted by air date."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 ?var4Label ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 ?var12 ?var13 ?var14 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q21191270> . ?var4 <http://www.wikidata.org/prop/direct/P179> <http://www.wikidata.org/entity/Q844099> . ?var4 <http://www.wikidata.org/prop/direct/P179> ?var1 . OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P1191> ?var8 . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P345> ?var7 . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P155> ?var9 . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P156> ?var10 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,en\". } } ORDER BY ASC( ?var2 )ASC( ?var1 )ASC( <http://www.w3.org/2001/XMLSchema#integer> ( ?var5 ) )"}}
{"id": "test_9393", "question": "Does the animated film with Big Cartoon Database ID 84886 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P4933 \"84886\" .\n}", "paraphrases": ["Is there an entry in Wikidata for the cartoon with BCDB ID 84886?", "Confirm if the Big Cartoon Database ID 84886 is assigned to any animated work in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4933> \"84886\". }"}}
{"id": "test_9394", "question": "Is Open Season 3 listed in the Big Cartoon Database with ID 128437?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?cartoon wdt:P4933 \"128437\" .\n}", "paraphrases": ["Does the animated film Open Season 3 have the Big Cartoon Database ID 128437?", "Confirm whether the Big Cartoon Database ID 128437 corresponds to Open Season 3 in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4933> \"128437\". }"}}
{"id": "test_9395", "question": "Top 10 countries with the most volcanoes", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?countryLabel ( COUNT( ?volcano ) AS ?count ) WHERE {\n  ?volcano wdt:P31 wd:Q8072 ; wdt:P17 ?country .\n  ?country rdfs:label ?countryLabel .\n  FILTER ( LANG( ?countryLabel ) = \"en\" )\n}\nGROUP BY ?country ?countryLabel\nORDER BY DESC ( ?count )\nLIMIT 10", "paraphrases": ["Which countries have the highest number of volcanoes, and how many does each have?", "Show me the top 10 countries ranked by the number of volcanoes, along with the count."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 )( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q8072> ; <http://www.wikidata.org/prop/direct/P17> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } GROUP BY ?var3 ORDER BY DESC( ?var2 ) LIMIT 10"}}
{"id": "test_9396", "question": "Is there a cartoon in Wikidata with Big Cartoon Database ID 2975?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P4933 \"2975\" .\n}", "paraphrases": ["Does the Big Cartoon Database ID 2975 correspond to any animated short in Wikidata?", "Confirm if the cartoon 'The Bowling Alley Cat' has the ID 2975 in the Big Cartoon Database."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4933> \"2975\". }"}}
{"id": "test_9397", "question": "Does the animated short \"Bingo Crosbyana\" have the Big Cartoon Database ID 4281?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P4933 \"4281\" .\n}", "paraphrases": ["Is there an entry in Wikidata for the cartoon \"Bingo Crosbyana\" with BCDB ID 4281?", "Confirm if the Big Cartoon Database ID 4281 corresponds to a known animated work in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4933> \"4281\". }"}}
{"id": "test_9398", "question": "Gene Ontology annotations for UniProt protein O84866", "sparql": "SELECT ?goTermLabel ?goId ?goTerm ?goCategory WHERE { ?protein wdt:P352 \"O84866\" . ?protein (p:P680|p:P681|p:P682) ?statement . ?statement (ps:P680|ps:P681|ps:P682) ?goTerm . ?goTerm wdt:P31 ?goCategory ; wdt:P686 ?goId . FILTER (?goCategory IN (wd:Q2996394, wd:Q5058355, wd:Q14860489)) OPTIONAL { ?goTerm rdfs:label ?goTermLabel . FILTER(LANG(?goTermLabel) = \"en\") } }", "paraphrases": ["What molecular functions, biological processes, and cellular components are associated with the UniProt protein O84866?", "List the Gene Ontology terms (with IDs and categories) for the protein identified by UniProt ID O84866."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2 ?var1 ?var3 ?var4Label ?var5Label ?var6Label ?var7 WHERE { ?var8 <http://www.wikidata.org/prop/direct/P352> \"O84866\". { ?var8 <http://www.wikidata.org/prop/P680> ?var9 . } UNION { ?var8 <http://www.wikidata.org/prop/P681> ?var9 . } UNION { ?var8 <http://www.wikidata.org/prop/P682> ?var9 . } ?var9 <http://www.wikidata.org/prop/qualifier/P459> ?var4 . ?var9 ( <http://www.w3.org/ns/prov#wasDerivedFrom> / <http://www.wikidata.org/prop/reference/P248> ) ?var5 . ?var9 ( <http://www.w3.org/ns/prov#wasDerivedFrom> / <http://www.wikidata.org/prop/reference/P813> ) ?var6 . OPTIONAL { ?var9 ( <http://www.w3.org/ns/prov#wasDerivedFrom> / <http://www.wikidata.org/prop/reference/P698> ) ?var10 . } { ?var9 <http://www.wikidata.org/prop/statement/P680> ?var1 . } UNION { ?var9 <http://www.wikidata.org/prop/statement/P681> ?var1 . } UNION { ?var9 <http://www.wikidata.org/prop/statement/P682> ?var1 . } ?var1 <http://www.wikidata.org/prop/direct/P279> * ?var3 ; <http://www.wikidata.org/prop/direct/P686> ?var2 . FILTER ( ( ( ?var3 = <http://www.wikidata.org/entity/Q2996394> ) || ( ?var3 = <http://www.wikidata.org/entity/Q5058355> ) || ( ?var3 = <http://www.wikidata.org/entity/Q14860489> ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P591> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9399", "question": "Does the Big Cartoon Database ID 27844 exist in Wikidata?", "sparql": "ASK WHERE { ?item wdt:P4933 \"27844\" . }", "paraphrases": ["Is there a cartoon in Wikidata that has the Big Cartoon Database ID 27844?", "Confirm whether the animated film \"The Hobbit\" is linked to the BCDB ID 27844 in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4933> \"27844\". }"}}
{"id": "test_9400", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt2649152?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?wikipediaPage WHERE {\n  ?movie wdt:P345 \"tt2649152\" .\n  ?wikipediaPage schema:about ?movie .\n  {\n    ?wikipediaPage schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipediaPage schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Can you find the Wikipedia articles in English or German that are about the movie \"What Men Do!\"?", "Which language versions of Wikipedia have an article about the film identified by tt2649152?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2649152\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9401", "question": "Is there a cartoon in Wikidata with Big Cartoon Database ID 26?", "sparql": "ASK WHERE { ?item wdt:P4933 \"26\" . }", "paraphrases": ["Does the film 'So Dear to My Heart' have the Big Cartoon Database ID 26?", "Confirm whether the Big Cartoon Database ID 26 is linked to any animated work in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4933> \"26\". }"}}
{"id": "test_9402", "question": "Is there a cartoon in Wikidata with Big Cartoon Database ID 271?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?cartoon wdt:P4933 \"271\" .\n}", "paraphrases": ["Does the cartoon \"Racketeer Rabbit\" have the BCDB ID 271 in Wikidata?", "Confirm if the Big Cartoon Database ID 271 corresponds to an entry in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4933> \"271\". }"}}
{"id": "test_9403", "question": "Does the Big Cartoon Database ID 36632 exist in Wikidata?", "sparql": "ASK WHERE { ?item wdt:P4933 \"36632\" . }", "paraphrases": ["Is there an animated film in Wikidata with the Big Cartoon Database ID 36632?", "Confirm if The Adventures of Prince Achmed is listed in Wikidata with the BCDB ID 36632."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4933> \"36632\". }"}}
{"id": "test_9404", "question": "What are some examples of volcanic landforms?", "sparql": "SELECT ?item WHERE { ?item wdt:P31 wd:Q29025902 . } LIMIT 10", "paraphrases": ["Can you list items that are classified as volcanic landforms in Wikidata?", "Show me 10 volcanic landforms from Wikidata."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/prop/direct/P3091> . } LIMIT 10"}}
{"id": "test_9405", "question": "Image of Charlie Barnet with SNAC ARK ID w6c24wzr", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6c24wzr\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the Wikimedia Commons image associated with Charlie Barnet\u2019s SNAC ARK ID (w6c24wzr)?", "Show me the picture of the person identified by the SNAC ARK ID w6c24wzr."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6c24wzr\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9406", "question": "Is the cartoon \"Toy Story\" listed in the Big Cartoon Database with ID 7257 in Wikidata?", "sparql": "ASK WHERE { ?cartoon wdt:P4933 \"7257\" . }", "paraphrases": ["Does Wikidata contain an entry for the cartoon with Big Cartoon Database ID 7257?", "Check if the Big Cartoon Database ID 7257 corresponds to any cartoon in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4933> \"0338348\". }"}}
{"id": "test_9407", "question": "English and German Wikipedia pages for the TV series with IMDb ID tt3581920", "sparql": "SELECT ?item ?wikipediaPage ?imdbId WHERE { ?item wdt:P345 \"tt3581920\" . ?wikipediaPage schema:about ?item . ?wikipediaPage schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") . BIND(\"tt3581920\" AS ?imdbId) }", "paraphrases": ["What are the English and German Wikipedia pages about the TV series \"The Last of Us\" (IMDb tt3581920)?", "Show me the Wikipedia pages in English and German for the TV series \"The Last of Us\", along with its IMDb ID."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt7969470\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9408", "question": "What are the English and German Wikipedia articles for the film with IMDb ID tt0283957?", "sparql": "SELECT ?wikipediaArticle ?language WHERE { ?film wdt:P345 \"tt0283957\" . ?wikipediaArticle schema:about ?film . ?wikipediaArticle schema:inLanguage ?language . FILTER(?language = \"en\" || ?language = \"de\") }", "paraphrases": ["Show me the Wikipedia pages in English and German about the movie identified by tt0283957 on IMDb.", "Which Wikipedia articles in English or German discuss the film that has the IMDb identifier tt0283957?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0283957\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9409", "question": "Is the movie \"Mile 22\" listed in Wikidata with Box Office Mojo ID \"mile22\"?", "sparql": "ASK WHERE { ?movie wdt:P1237 \"mile22\" . }", "paraphrases": ["Does Wikidata contain an entry for the film Mile 22 using the Box Office Mojo identifier \"mile22\"?", "Confirm whether the film Mile 22 is identified in Wikidata by the Box Office Mojo ID \"mile22\"."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1237> \"mile22\". }"}}
{"id": "test_9410", "question": "German labels and descriptions of properties used in age of consent statements.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?propItem ?propLabel ?propDescription WHERE {\n  ?item ?prop wd:Q327538 .\n  FILTER ( STRSTARTS( STR( ?prop ) , \"http://www.wikidata.org/prop/direct/\" ) ) .\n  BIND( IRI( REPLACE( STR( ?prop ) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\" ) ) AS ?propItem ) .\n  ?propItem rdfs:label ?propLabel .\n  ?propItem schema:description ?propDescription .\n  FILTER ( LANG( ?propLabel ) = \"de\" ) .\n  FILTER ( LANG( ?propDescription ) = \"de\" )\n}\nLIMIT 100", "paraphrases": ["What are the German labels and descriptions of properties that are linked to the concept of age of consent in Wikidata?", "Show me the German names and descriptions of all properties that connect to the age of consent item in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q327538> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"de\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"de\" ) ) ) . } LIMIT 100"}}
{"id": "test_9411", "question": "Does the film with AlloCin\u00e9 ID 132947 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?film wdt:P1265 \"132947\" .\n}", "paraphrases": ["Is there a film in Wikidata that has the AlloCin\u00e9 film ID 132947?", "Please confirm if the AlloCin\u00e9 film ID 132947 is assigned to any film in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1265> \"132947\". }"}}
{"id": "test_9412", "question": "Which entities have the Twitter handles Bencjacobs, PewStates, radiomixfm, TPM, UofR, or vdhgov?", "sparql": "SELECT ?entity ?twitterHandle WHERE { ?entity wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { \"Bencjacobs\" \"PewStates\" \"radiomixfm\" \"TPM\" \"UofR\" \"vdhgov\" } }", "paraphrases": ["Who or what organizations are associated with the Twitter accounts @Bencjacobs, @PewStates, @radiomixfm, @TPM, @UofR, and @vdhgov?", "List the entities linked to the following Twitter usernames: Bencjacobs, PewStates, radiomixfm, TPM, UofR, and vdhgov."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"dubvNOW\" ) ( \"wochit\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"virmax\" ) ( \"string5\" ) ( \"string6\" ) ( \"DubVData\" ) ( \"ungojobs\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"UofR\" ) ( \"megmfurr\" ) ( \"string11\" ) ( \"janefgreen\" ) ( \"string12\" ) ( \"string13\" ) ( \"PewStates\" ) ( \"AmberMIvey\" ) ( \"vdhgov\" ) ( \"string14\" ) ( \"string15\" ) ( \"radiomixfm\" ) ( \"string16\" ) ( \"string17\" ) ( \"z9bill\" ) ( \"Bencjacobs\" ) ( \"TPM\" ) ( \"string18\" ) } }"}}
{"id": "test_9413", "question": "Image of Alexander Monro secundus (SNAC ARK ID w6wq0q52)", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6wq0q52\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6wq0q52?", "Show me the Wikimedia Commons image for the person with SNAC ARK ID w6wq0q52."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6wq0q52\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9414", "question": "List apostolic nunciatures and the countries they are accredited to.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?nunciature ?nunciatureLabel ?countryLabel WHERE {\n  ?nunciature wdt:P31 wd:Q620045 .\n  ?nunciature rdfs:label ?nunciatureLabel .\n  FILTER ( LANG( ?nunciatureLabel ) = \"en\" ) OPTIONAL {\n    ?nunciature wdt:P17 ?country .\n    ?country rdfs:label ?countryLabel .\n    FILTER ( LANG( ?countryLabel ) = \"en\" )\n  }\n}", "paraphrases": ["Which countries have apostolic nunciatures, and what are their names?", "Show me the English names of all apostolic nunciatures and the countries they represent."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q620045> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P137> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9415", "question": "Association football clubs and their leagues and countries", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?club ?league ?leagueLabel ?country ?countryLabel WHERE {\n  ?club wdt:P31 wd:Q476028 .\n  OPTIONAL {\n    ?club wdt:P118 ?league .\n    ?league rdfs:label ?leagueLabel .\n    FILTER(LANG(?leagueLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?club wdt:P17 ?country .\n    ?country rdfs:label ?countryLabel .\n    FILTER(LANG(?countryLabel) = \"en\")\n  }\n}", "paraphrases": ["What are the association football clubs, along with the leagues they play in and the countries they are based in?", "List all association football clubs, including the name of the league they participate in (if known) and their country, with labels in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var3 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q476028> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P118> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . } }"}}
{"id": "test_9416", "question": "Which systems use the International Standard Name Identifier (ISNI)?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?system ?systemLabel WHERE {\n  ?system wdt:P1535 wd:Q423048 .\n  ?system rdfs:label ?systemLabel .\n  FILTER(LANG(?systemLabel) = \"en\")\n}", "paraphrases": ["What authority file system uses ISNI as its identifier standard?", "List the services that rely on ISNI for name identification."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P1535> <http://www.wikidata.org/entity/Q423048> . }"}}
{"id": "test_9417", "question": "List human settlements in countries around the world.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?city ?country WHERE {\n  ?city wdt:P31 wd:Q486972 .\n  ?city wdt:P17 ?country .\n}\nLIMIT 10", "paraphrases": ["What are some cities and towns, and which countries are they in?", "Show me 10 examples of human settlements along with their respective countries."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/entity/Q486972> <http://www.wikidata.org/entity/Q49179> . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10"}}
{"id": "test_9418", "question": "Humans born between 100 BCE and 800 CE with their birth and death places.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?humanLabel ?birthDate ?birthPlaceLabel ?deathPlaceLabel WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human wdt:P569 ?birthDate .\n  ?human wdt:P19 ?birthPlace .\n  ?human wdt:P20 ?deathPlace .\n  FILTER(YEAR(?birthDate) >= -100 && YEAR(?birthDate) <= 800)\n  ?human rdfs:label ?humanLabel .\n  ?birthPlace rdfs:label ?birthPlaceLabel .\n  ?deathPlace rdfs:label ?deathPlaceLabel .\n  FILTER(LANG(?humanLabel) = \"en\")\n  FILTER(LANG(?birthPlaceLabel) = \"en\")\n  FILTER(LANG(?deathPlaceLabel) = \"en\")\n}", "paraphrases": ["Who were some humans born between 100 BCE and 800 CE, and where were they born and died?", "List historical figures from antiquity (100 BCE to 800 CE) along with their places of birth and death."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3Label ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P20> ?var4 . FILTER ( ( ( YEAR ( ?var2 ) >= \"-100\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( YEAR ( ?var2 ) <= \"800\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } }"}}
{"id": "test_9419", "question": "People born in 1545 with Greek-language names.", "sparql": "SELECT ?greekLabel ?birthDate WHERE { ?person wdt:P569 ?birthDate . ?person rdfs:label ?greekLabel . FILTER(LANG(?greekLabel) = \"el\") FILTER(?birthDate >= \"1545-01-01T00:00:00Z\"^^xsd:dateTime && ?birthDate <= \"1545-12-31T23:59:59Z\"^^xsd:dateTime) } ORDER BY ASC(?birthDate)", "paraphrases": ["Who were the people born in 1545 whose names are available in Greek?", "List the Greek names and birth dates of all people born in 1545, sorted by date of birth."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P569> ?var2 . OPTIONAL { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = \"el\" ) ) ) . } FILTER ( ( ( ?var2 >= \"1545-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1545-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ?var1 ) ) . } ORDER BY ASC( ?var2 )"}}
{"id": "test_9420", "question": "Items with main property \"has property\"", "sparql": "SELECT DISTINCT ?item ?statement WHERE { ?item p:P1687 ?statement . ?statement ps:P1687 wd:P2633 . } LIMIT 101", "paraphrases": ["Which items have \"has property\" as their main Wikidata property?", "List all items for which the main property is \"has property\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/P1687> ?var2 . ?var2 <http://www.wikidata.org/prop/statement/P1687> <http://www.wikidata.org/entity/P2633> . } LIMIT 101"}}
{"id": "test_9421", "question": "Administrative hierarchy and continent of Kavos, Greece.", "sparql": "SELECT DISTINCT ?item ?itemLabel WHERE { { wd:Q642506 (wdt:P131)* ?item . OPTIONAL { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } } UNION { wd:Q642506 wdt:P17 ?country . ?country wdt:P30 ?item . OPTIONAL { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } } }", "paraphrases": ["What administrative regions and continent is the village of Kavos part of?", "Show me all the geographic and administrative entities that Kavos belongs to, including its country and continent."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q642506> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_9422", "question": "Which entities on Wikidata have Twitter usernames CityOfBoston, Tyson_Fury, lmaugustin, kikkanimal, or blaylock_josh, ordered by how many Wikipedia articles exist about them?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . ?sitelink schema:about ?item ; schema:isPartOf ?wiki . FILTER(?username IN (\"CityOfBoston\", \"Tyson_Fury\", \"lmaugustin\", \"kikkanimal\", \"blaylock_josh\")) } GROUP BY ?item ?username ORDER BY DESC(COUNT(?sitelink))", "paraphrases": ["Who are the people or organizations with Twitter handles like CityOfBoston or Tyson_Fury, and which ones are the most well-known across Wikipedia?", "List the Wikidata items for the Twitter accounts CityOfBoston, Tyson_Fury, lmaugustin, kikkanimal, and blaylock_josh, sorted by their popularity on Wikipedia."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"Josh_Le\" ) ( \"Oatmeal\" ) ( \"string2\" ) ( \"2TreeZ\" ) ( \"string3\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_9423", "question": "What are the scientific names of fish species used in fish dishes?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?fish ?fishLabel ?scientificName WHERE {\n  ?fish wdt:P31 wd:Q600396 .\n  ?fish wdt:P225 ?scientificName .\n  ?fish rdfs:label ?fishLabel .\n  FILTER ( LANG( ?fishLabel ) = \"en\" )\n}", "paraphrases": ["Can you list the common names and scientific names of fish that are used as ingredients in fish dishes?", "Which fish species are commonly used in fish dishes, and what are their Latin names?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P225> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q18679149> . }"}}
{"id": "test_9424", "question": "Humans with ORCID iD but no other academic identifiers.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?human WHERE {\n  ?human wdt:P31 wd:Q5 ; wdt:P496 ?orcid .\n  FILTER NOT EXISTS {\n    ?human ?prop ?value .\n    ?prop wdt:P31 / wdt:P279 * wd:Q18614948 .\n    FILTER ( ?prop != wdt:P496 )\n  }\n}", "paraphrases": ["Which humans have an ORCID iD and are not identified by any other system like ISNI or VIAF?", "List all people who are only identified by their ORCID and have no other identifier properties in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P496> ?var2 . FILTER ( ( NOT EXISTS { ?var1 ?var3 ?var4 . ?var3 ^ <http://wikiba.se/ontology#directClaim> ?var5 . ?var5 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q18614948> . FILTER ( ( !(( ?var3 = <http://www.wikidata.org/prop/direct/P496> )) ) ) . } ) ) . }"}}
{"id": "test_9425", "question": "Image associated with SNAC ARK ID w6vq32fm", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6vq32fm\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What image is linked to the SNAC ARK ID w6vq32fm?", "Can you find the Wikimedia Commons image for Fontaine Fox, identified by the SNAC ARK ID w6vq32fm?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6vq32fm\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9426", "question": "Is there a Wikidata item with VIAF ID 70062472?", "sparql": "ASK WHERE { ?item wdt:P214 \"70062472\" . }", "paraphrases": ["Does the person Steffi Sch\u00fcltzke have a VIAF identifier of 70062472?", "Confirm whether the Virtual International Authority File ID 70062472 is assigned to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"70062472\". }"}}
{"id": "test_9427", "question": "French-labeled people with 'Faul' in their name", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?item WHERE {\n  ?item rdfs:label ?label .\n  FILTER(LANG(?label) = 'fr')\n  .\n  FILTER(CONTAINS(LCASE(?label) , 'faul'))\n  .\n  ?item wdt:P31 wd:Q5 .\n}", "paraphrases": ["Who are the humans in Wikidata that have 'Faul' in their French label?", "List all humans whose French name contains 'Faul'."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Faul\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_9428", "question": "Unisex given names written in Georgian script and their native Georgian spellings.", "sparql": "SELECT ?name ?nativeLabel WHERE { ?name wdt:P31 wd:Q3409032 . ?name wdt:P282 wd:Q161428 . ?name wdt:P1705 ?nativeLabel . }", "paraphrases": ["What are the native Georgian spellings of unisex given names that use the Georgian writing system?", "Show me unisex names that are written in Georgian script along with how they are spelled in Georgian."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3409032> . ?var1 <http://www.wikidata.org/prop/direct/P282> <http://www.wikidata.org/entity/Q161428> . ?var1 <http://www.wikidata.org/prop/direct/P1705> ?var2 . } LIMIT 1"}}
{"id": "test_9429", "question": "Image of Joseph Galloway with SNAC ARK ID w6348nkn", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6348nkn\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image of the person identified by the SNAC ARK ID w6348nkn?", "Show me the Wikimedia Commons image for Joseph Galloway, who has the SNAC ARK ID w6348nkn."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6348nkn\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9430", "question": "What is the Douban film ID for the TV series with IMDb ID tt4061080?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?doubanId WHERE {\n  ?item wdt:P345 \"tt4061080\" .\n  OPTIONAL {\n    ?item wdt:P4529 ?doubanId .\n  }\n}", "paraphrases": ["Can you find the TV show \"Love\" on Douban using its IMDb ID tt4061080?", "Is there a Douban ID linked to the IMDb entry tt4061080?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt4061080\". OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P4529> ?var2 . } }"}}
{"id": "test_9431", "question": "Italian communes and their cadastre codes", "sparql": "SELECT ?commune ?communeLabel ?cadastreCode WHERE { ?commune wdt:P31 wd:Q747074 . OPTIONAL { ?commune wdt:P806 ?cadastreCode . } ?commune rdfs:label ?communeLabel . FILTER(LANG(?communeLabel) = \"it\") } LIMIT 100", "paraphrases": ["What are the Italian communes and their corresponding cadastre codes?", "List the names of Italian municipalities in Italian and their official cadastre identifiers."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q747074> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P806> ?var2 . } } LIMIT 100"}}
{"id": "test_9432", "question": "Who are the living people named Arturo?", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P569 ?birthDate . FILTER NOT EXISTS { ?person wdt:P570 ?deathDate . } ?person rdfs:label ?personLabel . FILTER (STRSTARTS(STR(?personLabel), \"Arturo\")) } ORDER BY ASC(?personLabel) LIMIT 10", "paraphrases": ["Can you list the names of living humans whose first name is Arturo?", "Show me the names of people named Arturo who were born but have not died yet."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es\". } FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . } ) ) . FILTER ( ( STRSTARTS ( ?var1Label , \"arturo\" ) ) ) . } GROUP BY ?var1 ?var1Label ORDER BY ASC( ?var4 ) LIMIT 10"}}
{"id": "test_9433", "question": "MoMA artists with their birth/death places, gender, dates of birth and death, and ULAN IDs.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?artist ?artistLabel ?momaId ?birthPlace ?deathPlace ?gender ?birthDate ?deathDate ?ulanId WHERE {\n  ?artist wdt:P2174 ?momaId .\n  FILTER EXISTS {\n    ?artist wdt:P31 wd:Q5\n  }\n  OPTIONAL {\n    ?artist wdt:P19 ?birthPlace ; wdt:P20 ?deathPlace ; wdt:P21 ?gender ; wdt:P569 ?birthDate ; wdt:P570 ?deathDate ; wdt:P245 ?ulanId .\n  }\n  ?artist rdfs:label ?artistLabel .\n  FILTER ( LANG( ?artistLabel ) = \"en\" )\n}", "paraphrases": ["Who are the human artists in the Museum of Modern Art\u2019s collection, and what are their birth and death details, gender, and Getty ULAN identifiers?", "Please list all human artists from MoMA\u2019s database along with their place of birth, place of death, gender, date of birth, date of death, and Union List of Artist Names ID."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4Label ?var5Label ?var6Label ?var7Label ?var8 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P2174> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 ; <http://www.wikidata.org/prop/direct/P20> ?var4 ; <http://www.wikidata.org/prop/direct/P21> ?var5 ; <http://www.wikidata.org/prop/direct/P569> ?var6 ; <http://www.wikidata.org/prop/direct/P570> ?var7 ; <http://www.wikidata.org/prop/direct/P245> ?var8 . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9434", "question": "What are the English and German Wikipedia pages about the movie with IMDb ID tt6105098?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipedia ?imdb WHERE {\n  ?item wdt:P345 \"tt6105098\" .\n  ?wikipedia schema:about ?item .\n  {\n    ?wikipedia schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipedia schema:inLanguage \"de\" .\n  }\n  ?item wdt:P345 ?imdb .\n}", "paraphrases": ["Show me the Wikipedia articles in English and German related to the 2019 Lion King film, along with its IMDb identifier.", "Find the Wikipedia links in English and German for the movie identified by IMDb ID tt6105098, and confirm its IMDb ID."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt7307424\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9435", "question": "Types of cartridges excluding rifle, revolver, cannon, and shotgun cartridges.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?cartridge WHERE {\n  ?cartridge ( wdt:P31 / wdt:P279 * ) wd:Q37144 . MINUS {\n    {\n      ?cartridge ( wdt:P31 / wdt:P279 * ) wd:Q7333267\n    } UNION {\n      ?cartridge ( wdt:P31 / wdt:P279 * ) wd:Q29820118\n    } UNION {\n      ?cartridge ( wdt:P31 / wdt:P279 * ) wd:Q29825322\n    } UNION {\n      ?cartridge ( wdt:P31 / wdt:P279 * ) wd:Q1763371\n    }\n  }\n}", "paraphrases": ["What are some types of ammunition cartridges that are not specifically designed for rifles, revolvers, cannons, or shotguns?", "List all cartridge types that are not classified as rifle, revolver, cannon, or shotgun cartridges."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q37144> . MINUS { { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7333267> . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q29819756> . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q29820118> . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q29825322> . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1763371> . } } }"}}
{"id": "test_9436", "question": "Creative works and their performers on Wikidata", "sparql": "SELECT ?work ?performer ?performerLabel WHERE { ?work wdt:P175 ?performer . FILTER(STRSTARTS(STR(?work), \"http://www.wikidata.org/entity/Q\")) OPTIONAL { ?performer rdfs:label ?performerLabel . FILTER(LANG(?performerLabel) = \"en\") } } LIMIT 100", "paraphrases": ["What are the top 100 creative works and who performed them?", "List up to 100 creative works along with the English names of the artists or bands who performed them."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P175> ?var2 . } } LIMIT 100"}}
{"id": "test_9437", "question": "What Wikipedia and Wikiquote pages in English or German are about the movie with IMDb ID tt0109890?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?page WHERE {\n  ?item wdt:P345 \"tt0109890\" .\n  ?page schema:about ?item .\n  {\n    ?page schema:inLanguage \"en\" .\n  } UNION {\n    ?page schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Show me the English and German language pages related to the film \"The Getaway\" (1994) on Wikipedia and Wikiquote.", "Which language-specific pages on Wikipedia and Wikiquote link to the movie \"The Getaway\" (1994) identified by IMDb ID tt0109890?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0109890\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9438", "question": "Humans with the surname S\u00e9journ\u00e9", "sparql": "SELECT DISTINCT ?human WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P734 wd:Q48321517 . }", "paraphrases": ["Who are the people with the last name S\u00e9journ\u00e9?", "List all humans whose family name is S\u00e9journ\u00e9."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"S\u00c9JOURN\u00c9\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_9439", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt0215090?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?wikipedia_page WHERE {\n  ?item wdt:P345 \"tt0215090\" .\n  ?wikipedia_page schema:about ?item .\n  {\n    ?wikipedia_page schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipedia_page schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Show me the Wikipedia page in English or German for the film identified by tt0215090 on IMDb.", "Which Wikipedia articles in English or German are about the movie Pusong Mamon (IMDb: tt0215090)?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0215090\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9440", "question": "English or German Wikipedia page for the film with IMDb ID tt0067736", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipediaPage ?imdbId WHERE {\n  VALUES ?imdbId {\n    \"tt0067736\"\n  }\n  ?item wdt:P345 ?imdbId .\n  ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" )\n}", "paraphrases": ["What is the English or German Wikipedia page for the movie \"The Seven Minutes\" (IMDb: tt0067736)?", "Show me the Wikipedia pages in English or German for the film identified by IMDb ID tt0067736."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0067736\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9441", "question": "What is the image of the person with SNAC ARK ID w6db8ng5?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?person wdt:P3430 \"w6db8ng5\" .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n}", "paraphrases": ["Image of Astor Piazzolla based on SNAC ARK ID w6db8ng5", "Show me the Wikimedia Commons image for the individual whose SNAC ARK ID is w6db8ng5."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6db8ng5\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9442", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt1062939?", "sparql": "SELECT ?item ?wikipedia_page ?imdb_id WHERE { VALUES ?imdb_id { \"tt1062939\" } ?item wdt:P345 ?imdb_id . ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Show me the Wikidata item and Wikipedia page for the film identified by tt1062939 on IMDb, in either English or German.", "Find the Wikipedia pages in English or German about the movie with IMDb ID tt1062939."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1062939\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9443", "question": "Producers of films or music with English labels and descriptions", "sparql": "SELECT ?producer ?label ?description WHERE { ?work wdt:P162 ?producer . ?producer rdfs:label ?label . ?producer schema:description ?description . FILTER (LANG(?label) = \"en\") . FILTER (LANG(?description) = \"en\") . ?producer wdt:P31 wd:Q5 . } LIMIT 100", "paraphrases": ["Who are some human producers of films or music works, and what are their English labels and descriptions?", "List up to 100 human producers of films or music, along with their English names and brief descriptions."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P162> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_9444", "question": "What is the German Wikipedia page for the film with IMDb ID tt0908423?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?wikipedia_page WHERE {\n  ?item wdt:P345 \"tt0908423\" .\n  ?wikipedia_page schema:about ?item .\n  ?wikipedia_page schema:inLanguage \"de\" .\n}", "paraphrases": ["Find the Wikipedia article in German about the movie identified by tt0908423 on IMDb.", "Which German-language Wikipedia page is about the film that has the IMDb identifier tt0908423?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0908423\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9445", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0468569?", "sparql": "SELECT ?item ?wikipediaPage WHERE { ?item wdt:P345 \"tt0468569\" . ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Can you show me the Wikipedia articles in English and German about the film 'The Dark Knight'?", "I want to find the Wikipedia links in English and German for the movie identified by IMDb ID tt0468569."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt4364882\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9446", "question": "English and German Wikipedia pages for the movie with IMDb ID tt0110950", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipedia_page WHERE {\n  ?item wdt:P345 \"tt0110950\" .\n  ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" )\n}", "paraphrases": ["What are the English and German Wikipedia articles about the film Reality Bites (1994)?", "Show me the English and German language Wikipedia pages related to the movie Reality Bites, identified by IMDb ID tt0110950."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt4396042\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9447", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt1828229?", "sparql": "SELECT ?movie ?wikipedia_page ?imdb_id WHERE { ?movie wdt:P345 \"tt1828229\" . ?wikipedia_page schema:about ?movie . { ?wikipedia_page schema:inLanguage \"en\" . } UNION { ?wikipedia_page schema:inLanguage \"de\" . } BIND(\"tt1828229\" AS ?imdb_id) }", "paraphrases": ["Which Wikipedia pages in English or German are about the film with IMDb identifier tt1828229?", "Show me the Wikipedia page in English or German for the movie 'Tales of the Night' (IMDb: tt1828229)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1828229\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9448", "question": "People who are mothers and have English labels", "sparql": "SELECT DISTINCT ?mother ?motherLabel WHERE { ?child wdt:P25 ?mother . ?mother wdt:P31 wd:Q5 . ?mother rdfs:label ?motherLabel . FILTER(LANG(?motherLabel) = \"en\") } LIMIT 100", "paraphrases": ["Who are some mothers listed in Wikidata with their English names?", "List 100 mothers from Wikidata along with their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P25> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_9449", "question": "What are the English or German Wikipedia pages for the movie with IMDb ID tt0348843?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipedia_page WHERE {\n  ?item wdt:P345 \"tt0348843\" .\n  ?wikipedia_page schema:about ?item .\n  {\n    ?wikipedia_page schema:inLanguage \"en\"\n  } UNION {\n    ?wikipedia_page schema:inLanguage \"de\"\n  }\n}", "paraphrases": ["Show me the Wikipedia articles about the film Jism (2003) in English or German languages.", "Find the Wikipedia pages linked to the IMDb identifier tt0348843 that are in English or German."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0348843\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9450", "question": "Wikipedia page in English or German for the film with IMDb ID tt4027504", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?film ?wikipediaPage WHERE {\n  ?film wdt:P345 \"tt4027504\" .\n  ?wikipediaPage schema:about ?film .\n  {\n    ?wikipediaPage schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipediaPage schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["What is the English or German Wikipedia page for the film with IMDb ID tt4027504?", "Show me the English or German Wikipedia article for the movie Lazy Eye (IMDb: tt4027504)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt4027504\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9451", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt1087853?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipedia_page WHERE {\n  ?movie wdt:P345 \"tt1087853\" .\n  ?wikipedia_page schema:about ?movie .\n  {\n    ?wikipedia_page schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipedia_page schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Which Wikipedia articles in English or German are about the film identified by IMDb ID tt1087853?", "Show me the Wikipedia pages in English or German that discuss the movie Gutterballs (IMDb: tt1087853)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1087853\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9452", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt0106579?", "sparql": "SELECT ?movie ?wikipediaPage ?imdbId WHERE { BIND(\"tt0106579\" AS ?imdbId) . ?movie wdt:P345 ?imdbId . ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Can you find the Wikipedia articles in English or German about the film identified by IMDb ID tt0106579?", "Which Wikipedia pages in English or German are linked to the movie Clean, Shaven via its IMDb identifier?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0106579\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9453", "question": "English or German Wikipedia page for the movie with IMDb ID tt3419894", "sparql": "SELECT ?item ?wikipediaPage WHERE { ?item wdt:P345 \"tt3419894\" . ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang . VALUES ?lang { \"en\" \"de\" } }", "paraphrases": ["What is the English or German Wikipedia page for the film with IMDb ID tt3419894?", "Show me the Wikipedia page in English or German for the movie identified by IMDb ID tt3419894."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt3419894\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9454", "question": "Wikipedia and Wikiquote pages in English or German about the movie Money Talks (IMDb tt0119695)", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?page WHERE {\n  ?movie wdt:P345 \"tt0119695\" .\n  ?page schema:about ?movie .\n  ?page schema:inLanguage ?lang .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n}", "paraphrases": ["What English and German language pages on Wikipedia and Wikiquote are about the movie Money Talks with IMDb ID tt0119695?", "Show me the English and German Wikipedia and Wikiquote pages linked to the movie Money Talks (IMDb: tt0119695)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0119695\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9455", "question": "Montreal metro stations and their longitudes in boroughs", "sparql": "SELECT DISTINCT ?station (SAMPLE(?enLabel) AS ?stationLabel) (GROUP_CONCAT(STR(?longitude); SEPARATOR=\", \") AS ?longitudes) WHERE { ?station wdt:P31 wd:Q928830 . ?station wdt:P131* ?borough . ?borough wdt:P31 wd:Q578521 . ?station p:P625 ?coordStmt . ?coordStmt ps:P625 ?coord . ?coordStmt psv:P625 ?coordValue . ?coordValue wikibase:geoLongitude ?longitude . ?coordValue wikibase:geoLatitude ?latitude . ?station rdfs:label ?enLabel . FILTER(LANG(?enLabel) = \"en\") } GROUP BY ?station", "paraphrases": ["What are the longitudes of all metro stations located in the boroughs of Montreal?", "List the metro stations in Montreal's boroughs along with their longitude coordinates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ( GROUP_CONCAT ( DISTINCT <http://www.w3.org/2001/XMLSchema#decimal> ( ?var2 ) ; SEPARATOR = \", \" ) AS ?var3 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P131> / <http://www.wikidata.org/prop/direct/P31> *) <http://www.wikidata.org/entity/Q578521> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q928830> . ?var1 <http://www.wikidata.org/prop/P625> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P625> ?var3 . ?var4 <http://www.wikidata.org/prop/statement/value/P625> ?var5 . ?var5 <http://wikiba.se/ontology#geoLongitude> ?var2 . ?var5 <http://wikiba.se/ontology#geoLatitude> ?var6 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var1Label"}}
{"id": "test_9456", "question": "English names of films and film genres", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?film ?label WHERE {\n  ?film ( wdt:P31 / wdt:P279 * ) wd:Q11424 ; rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["What are the English labels for entities that are films or subclasses of films?", "List the English titles of all films and film-related categories in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/p279> *) <http://www.wikidata.org/entity/Q11424> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"string1\" ) ) ) . } LIMIT 100"}}
{"id": "test_9457", "question": "Image of Hamilton Ward, Sr. (SNAC ARK ID: w6t4628b)", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6t4628b\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6t4628b?", "Show me the Wikimedia Commons image for the person with SNAC ARK ID w6t4628b."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6t4628b\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9458", "question": "Countries by population, highest first, with their flags", "sparql": "SELECT DISTINCT ?country ?population ?flag WHERE { ?country wdt:P31 wd:Q6256 . ?country wdt:P1082 ?population . OPTIONAL { ?country wdt:P163 ?flag . } } ORDER BY DESC(?population)", "paraphrases": ["Which countries have the largest populations, and what are their flags?", "List the world's most populous countries along with their national flags, sorted from highest to lowest population."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2Label ?var3 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var2 <http://www.wikidata.org/prop/direct/P1082> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P163> ?var3 . } } GROUP BY ?var1 ?var2Label ?var3 ORDER BY DESC( ?var1 )"}}
{"id": "test_9459", "question": "What type of entity is listed in the List of municipalities of Finland?", "sparql": "SELECT ?entity WHERE { ?entity wdt:P2354 wd:Q10984257 . }", "paraphrases": ["Which category of items does the \"List of municipalities of Finland\" contain?", "Tell me what kind of things are included in the List of municipalities of Finland."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/P2354> ?var2 . ?var2 <http://www.wikidata.org/prop/statement/P2354> <http://www.wikidata.org/entity/Q10984257> . } LIMIT 101"}}
{"id": "test_9460", "question": "Properties linking items to the 2016 Copa Sevilla with more than one usage.", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q26801089 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["What properties connect other items to the 2016 Copa Sevilla tournament, and how many times are they used, considering only those used more than once?", "Show me the properties that link other entities to the 2016 Copa Sevilla, sorted by frequency, but only include those used more than once."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q26801089> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_9461", "question": "Who died in 1953, and what were their birth dates, genders, and places of birth?", "sparql": "SELECT ?person ?personLabel ?familyNameLabel ?givenNameLabel ?genderLabel ?dob ?birthPlaceLabel ?birthPlace WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P570 ?dod . OPTIONAL { ?person wdt:P569 ?dob . } OPTIONAL { ?person wdt:P734 ?familyName . ?familyName rdfs:label ?familyNameLabel . FILTER(LANG(?familyNameLabel) = \"en\") } OPTIONAL { ?person wdt:P735 ?givenName . ?givenName rdfs:label ?givenNameLabel . FILTER(LANG(?givenNameLabel) = \"en\") } OPTIONAL { ?person wdt:P21 ?gender . ?gender rdfs:label ?genderLabel . FILTER(LANG(?genderLabel) = \"en\") } OPTIONAL { ?person wdt:P19 ?birthPlace . ?birthPlace rdfs:label ?birthPlaceLabel . FILTER(LANG(?birthPlaceLabel) = \"en\") } OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } FILTER(YEAR(?dod) = 1953) } ORDER BY ?person", "paraphrases": ["List all humans who passed away in 1953, including their full names, gender, and birthplace.", "Can you provide details like name, gender, and birth location for people who died in 1953?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4 ?var5 ?var6Label ?var7 ?var8Label ?var8 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var9 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var10 . } BIND ( ( ( ?var9 - ?var7 ) /\"365.2425\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) AS ?var11 ). FILTER ( ( ( ?var9 >= \"1953-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var9 < \"1953-01-02\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_9462", "question": "People who died in 1954, their birth dates, and ages", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?dob ?dod ?placeOfBirth ( ( ( ?dod - ?dob ) / \"365.2425\" ^^ xsd:decimal ) AS ?age ) WHERE {\n  ?person wdt:P31 wd:Q5 ; wdt:P570 ?dod .\n  OPTIONAL {\n    ?person wdt:P569 ?dob .\n  }\n  OPTIONAL {\n    ?person wdt:P19 ?placeOfBirth .\n  }\n  OPTIONAL {\n    ?person rdfs:label ?personLabel .\n    FILTER ( LANG( ?personLabel ) = \"en\" )\n  }\n  FILTER ( ?dod >= \"1954-01-01\" ^^ xsd:date && ?dod < \"1955-01-01\" ^^ xsd:date )\n}\nORDER BY ?person\nLIMIT 20", "paraphrases": ["Who died in 1954, and how old were they when they died?", "List all humans who died in 1954, including their date of birth, place of birth, and calculated age."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4 ?var5 ?var6Label ?var7 ?var8Label ?var8 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var9 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var10 . } BIND ( ( ( ?var9 - ?var7 ) /\"365.2425\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) AS ?var11 ). FILTER ( ( ( ?var9 >= \"1954-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var9 < \"1954-01-02\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_9463", "question": "What are the most common properties linking items to the 2000 Davis Cup?", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q1178085 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["Which properties connect other entities to the 2000 Davis Cup more than once, and how many times are they used?", "How many Wikipedia articles and participant statements are connected to the 2000 Davis Cup, and what properties are used for these connections?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q1178085> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_9464", "question": "Properties linking items to the 1950 German International Tennis Championships with more than one usage, sorted by frequency.", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q23854302 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["Which properties are used to connect other items to the 1950 German International Tennis Championships more than once, and how many times are they used?", "Show me the properties that relate other entities to the 1950 German International Tennis Championships, counting only those used more than once, ordered by how often they appear."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q23854302> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_9465", "question": "Wikidata taxa with AlgaeBase URLs showing taxonid or genus_id parameters and their scientific names.", "sparql": "SELECT ?taxonId ?scientificName ?algaeBaseUrl ?baseUrl ?queryParam WHERE { ?taxon wdt:P225 ?scientificName . ?taxon wdt:P1348 ?algaeBaseUrl . BIND( STRAFTER( STR(?taxon), \"http://www.wikidata.org/entity/\" ) AS ?taxonId ) BIND( STRBEFORE( STR(?algaeBaseUrl), \"?\" ) AS ?baseUrl ) BIND( STRAFTER( STR(?algaeBaseUrl), \"?\" ) AS ?queryParam ) FILTER( STRSTARTS( ?queryParam, \"taxonid=\" ) || STRSTARTS( ?queryParam, \"genus_id=\" ) ) } ORDER BY ASC( ?baseUrl )", "paraphrases": ["Which algae and cyanobacteria taxa in Wikidata have AlgaeBase URLs with query parameters like taxonid= or genus_id=, and what are their scientific names?", "List the Wikidata Q-ids, scientific names, and AlgaeBase URLs (with their query parameters) for all taxa that link to AlgaeBase using taxonid= or genus_id=."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { BIND ( STR ( ?var7 ) AS ?var4 ). BIND ( IF ( CONTAINS ( ?var4 , \"?\" ) , STRBEFORE ( ?var4 , \"?\" ) , ?var4 ) AS ?var5 ). BIND ( IF ( CONTAINS ( ?var4 , \"?\" ) , STRAFTER ( ?var4 , \"?\" ) , ?var4 ) AS ?var6 ). BIND ( STRAFTER ( STR ( ?var2 ) , \"string1\" ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P225> ?var3 . ?var2 <http://www.wikidata.org/prop/direct/P1348> ?var7 . FILTER ( ( STRSTARTS ( ?var6 , \"id=\" ) ) ) . } ORDER BY ASC( ?var5 )"}}
{"id": "test_9466", "question": "Voluntary associations, political parties, sports clubs, secret societies, and associations in Cameroon with their sources.", "sparql": "SELECT DISTINCT ?item ?itemLabel ?type (GROUP_CONCAT(DISTINCT ?source; SEPARATOR=\"|\") AS ?sources)\nWHERE {\n  VALUES ?type {\n    wd:Q48204\n    wd:Q7278\n    wd:Q847017\n    wd:Q276548\n    wd:Q15911314\n  }\n  ?item wdt:P31 ?type ;\n        wdt:P17 wd:Q668294 .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n  ?item ?p ?statement .\n  ?statement prov:wasDerivedFrom ?ref .\n  OPTIONAL { ?ref pr:P248 ?source . }\n  OPTIONAL { ?ref pr:P854 ?source . }\n}\nGROUP BY ?item ?itemLabel ?type\nORDER BY ASC(?itemLabel)\nLIMIT 100", "paraphrases": ["What are the organizations in Cameroon that are classified as voluntary associations, political parties, sports clubs, secret societies, or associations, and what sources support their Wikidata entries?", "List all organizations in Cameroon belonging to the types: voluntary association, political party, sports club, secret society, or association, along with their labels and reference URLs or cited sources."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ( GROUP_CONCAT ( DISTINCT ?var3 ; SEPARATOR = \"|\" ) AS ?var4 ) WHERE { { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q48204> . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q15911314> . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7278> . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q847017> . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q276548> . } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q668294> . ?var1 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/P279> *) ?var5 . OPTIONAL { ?var5 ( <http://www.w3.org/ns/prov#wasDerivedFrom> / <http://www.wikidata.org/prop/reference/P248> ) ?var3 . } OPTIONAL { ?var5 ( <http://www.w3.org/ns/prov#wasDerivedFrom> / <http://www.wikidata.org/prop/reference/P854> ) ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,de,en\". } } GROUP BY ?var1 ?var1Label ?var2 ORDER BY ASC( ?var1Label )"}}
{"id": "test_9467", "question": "Is Elisa Kauffeld in Wikidata with VIAF ID 303740460?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P214 \"303740460\" .\n}", "paraphrases": ["Does the Virtual International Authority File identifier 303740460 correspond to a person in Wikidata?", "Confirm whether the VIAF ID 303740460 is assigned to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"303740460\". }"}}
{"id": "test_9468", "question": "What is the Wikidata item with VIAF ID 129850681?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P214 \"129850681\" .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["Which entity in Wikidata has the VIAF identifier 129850681?", "Can you tell me the English label of the Wikidata item that has the VIAF cluster ID 129850681?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"129850681\". }"}}
{"id": "test_9469", "question": "Image of the person with SNAC ARK ID w61r6nrq", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w61r6nrq\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Gautier de Coincy in Wikidata?", "Can you show me the Wikimedia Commons image for the medieval poet identified by the SNAC ARK ID w61r6nrq?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w61r6nrq\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9470", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt2368553?", "sparql": "SELECT ?movie ?wiki_page WHERE { ?movie wdt:P345 \"tt2368553\" . ?wiki_page schema:about ?movie . VALUES ?lang { \"en\" \"de\" } ?wiki_page schema:inLanguage ?lang . }", "paraphrases": ["Show me the Wikipedia articles in English and German about the film \"Assault on Wall Street\".", "Which language versions of the Wikipedia page for the movie \"Assault on Wall Street\" are available in English and German?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2368553\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9471", "question": "Author of \"Computed tomography of amyloid plaques in a mouse model of Alzheimer's disease using diffraction enhanced imaging\" and their ORCID ID.", "sparql": "SELECT ?author ?authorLabel (COALESCE(?orcid, ENCODE_FOR_URI(?authorLabel)) AS ?fallback) WHERE { wd:Q27307692 wdt:P50 ?author . OPTIONAL { ?author wdt:P496 ?orcid . } ?author rdfs:label ?authorLabel . FILTER(LANG(?authorLabel) = \"en\") }", "paraphrases": ["Who is the author of the academic article \"Computed tomography of amyloid plaques in a mouse model of Alzheimer's disease using diffraction enhanced imaging\", and what is their ORCID identifier?", "Show me the author of this article and their ORCID if available; if not, provide their name in URL-encoded format."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COALESCE ( ?var2 , CONCAT ( \"string1\", ENCODE_FOR_URI ( ?var1Label ) ) ) AS ?var3 ) WHERE { <http://www.wikidata.org/entity/Q27307692> <http://www.wikidata.org/prop/direct/P50> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,da,de,es,fr,nl,no,ru,sv,zh\". } }"}}
{"id": "test_9472", "question": "What are the most common subjects of the academic works written by Bj\u00f6rn Brembs, and how many works are there on each subject?", "sparql": "SELECT ?count ?subjectLabel WHERE { { SELECT ?subject (COUNT(?work) AS ?count) WHERE { ?work wdt:P50 wd:Q879571 . ?work wdt:P921 ?subject . } GROUP BY ?subject ORDER BY DESC(?count) } ?subject rdfs:label ?subjectLabel . FILTER(LANG(?subjectLabel) = \"en\") }", "paraphrases": ["Can you list the main topics of Bj\u00f6rn Brembs\u2019 publications in English, ranked by how many publications cover each topic?", "Which research areas does Bj\u00f6rn Brembs focus on the most, based on the main subjects of his published works?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label WHERE { { SELECT ?var4 ( COUNT ( ?var5 ) AS ?var1 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q879571> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . } GROUP BY ?var4 ORDER BY DESC( ?var1 ) } BIND ( SUBSTR ( ?var6Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q879571> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . }"}}
{"id": "test_9473", "question": "List English-labeled Olympic sporting events.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?event ?label WHERE {\n  ?event wdt:P31 wd:Q18536594 ; rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n}\nLIMIT 10", "paraphrases": ["What are some Olympic sporting events with English labels?", "Show me up to 10 Olympic sporting events (instances of Olympic sport event) and their English names."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q18536594> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . MINUS { FILTER ( ( ( LANG ( ?var3Label ) = \"fr\" ) ) ) . } } LIMIT 10"}}
{"id": "test_9474", "question": "Wikipedia page for film with IMDb ID tt0186849 in English or German", "sparql": "SELECT ?film ?wikipediaPage WHERE { ?film wdt:P345 \"tt0186849\" . { ?wikipediaPage schema:about ?film ; schema:inLanguage \"en\" . } UNION { ?wikipediaPage schema:about ?film ; schema:inLanguage \"de\" . } }", "paraphrases": ["What is the English or German Wikipedia page for the movie with IMDb ID tt0186849?", "Show me the English or German Wikipedia article about the film identified by IMDb ID tt0186849."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0186849\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9475", "question": "Is the Swedish musical group Nordman a type of software?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q2058258 ( wdt:P31 / wdt:P279 * ) wd:Q7397 .\n}", "paraphrases": ["Does the musical group Nordman belong to a class that is a subclass of software?", "Confirm whether Nordman is categorized under software or any of its subclasses."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q2058258> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_9476", "question": "Infobox template for research stations with Russian Wikipedia article", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?template WHERE {\n  ?template wdt:P31 wd:Q19887878 .\n  ?template wdt:P1423 ?topic .\n  ?topic wdt:P279 * wd:Q195339 .\n  ?wikipage schema:about ?template ; schema:isPartOf <https://ru.wikipedia.org/> .\n}\nLIMIT 1", "paraphrases": ["Which infobox template about research stations has a Russian Wikipedia page?", "Show me the infobox template linked to research stations that is used on the Russian Wikipedia."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ( COUNT ( ?var5 ) AS ?var6 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ( COUNT ( ?var7 ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19887878> . ?var1 <http://www.wikidata.org/prop/direct/P1423> ?var2 . <http://www.wikidata.org/entity/Q1136714> ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P106> ) ?var8 . ?var8 <http://www.wikidata.org/prop/direct/P279> * ?var7 . ?var7 <http://www.wikidata.org/prop/direct/P279> * ?var2 . } GROUP BY ?var1 ?var2 } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> * ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P279> * ?var3 . } } GROUP BY ?var1 ?var2 ?var3 ?var4 } FILTER ( ( EXISTS { ?var9 <http://schema.org/about> ?var1 . ?var9 <http://schema.org/isPartOf> <https://ru.wikipedia.org/> . } ) ) . } ORDER BY ASC( ?var4 ) DESC( ?var6 ) LIMIT 1"}}
{"id": "test_9477", "question": "People who died on January 1, 1978, including their birth date, place of birth, and gender.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?birthDate ?placeOfBirth ?gender WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P570 \"1978-01-01T00:00:00Z\" ^^ xsd:dateTime .\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P19 ?placeOfBirth .\n  }\n  OPTIONAL {\n    ?person wdt:P21 ?gender .\n  }\n  OPTIONAL {\n    ?person rdfs:label ?personLabel .\n    FILTER ( LANG( ?personLabel ) = \"en\" )\n  }\n}\nORDER BY ASC ( ?person )", "paraphrases": ["Who were the humans that died on January 1, 1978, and what were their birth dates, places of birth, and genders?", "List all humans who died on January 1, 1978, along with their English names, dates of birth, places of birth, and genders."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4 ?var5 ?var6Label ?var7 ?var8Label ?var8 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var9 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var10 . } BIND ( ( ( ?var9 - ?var7 ) /\"365.2425\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) AS ?var11 ). FILTER ( ( ( ?var9 >= \"1996-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var9 < \"1996-01-02\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_9478", "question": "People who died in 2018 with their given names, family names, gender, and birthplaces.", "sparql": "SELECT ?person ?personLabel ?givenNameLabel ?familyNameLabel ?genderLabel ?birthPlaceLabel WHERE { ?person wdt:P31 wd:Q5 ; wdt:P570 ?deathDate . FILTER(YEAR(?deathDate) = 2018) ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") OPTIONAL { ?person wdt:P735 ?givenName . ?givenName rdfs:label ?givenNameLabel . FILTER(LANG(?givenNameLabel) = \"en\") } OPTIONAL { ?person wdt:P734 ?familyName . ?familyName rdfs:label ?familyNameLabel . FILTER(LANG(?familyNameLabel) = \"en\") } OPTIONAL { ?person wdt:P21 ?gender . ?gender rdfs:label ?genderLabel . FILTER(LANG(?genderLabel) = \"en\") } OPTIONAL { ?person wdt:P19 ?birthPlace . ?birthPlace rdfs:label ?birthPlaceLabel . FILTER(LANG(?birthPlaceLabel) = \"en\") } } ORDER BY ?person LIMIT 10", "paraphrases": ["Who were the people that died in 2018, and what were their genders, birthplaces, and full names?", "List the names, genders, and birthplaces of all humans who died in 2018, along with their given and family names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4 ?var5 ?var6Label ?var7 ?var8Label ?var8 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var9 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var10 . } BIND ( ( ( ?var9 - ?var7 ) /\"365.2425\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) AS ?var11 ). FILTER ( ( ( ?var9 >= \"2018-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var9 < \"2018-01-02\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_9479", "question": "List people with Early Modern Letters Online (EMLO) identifiers and their English labels.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?emloId WHERE {\n  ?person wdt:P1802 ?emloId .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}", "paraphrases": ["Who are the people in Wikidata that have an EMLO person ID, and what are their names in English?", "Please provide the names and EMLO identifiers of all persons linked to the Early Modern Letters Online project."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1802> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_9480", "question": "What Wikipedia and Wikiquote pages in English or German are associated with the movie \"Lost Horizon\" (IMDb ID: tt0029162)?", "sparql": "SELECT ?movie ?page WHERE { ?movie wdt:P345 \"tt0029162\" . ?page schema:about ?movie . { ?page schema:inLanguage \"en\" . } UNION { ?page schema:inLanguage \"de\" . } }", "paraphrases": ["Show me the English and German language pages related to the film with IMDb ID tt0029162.", "Which language-specific pages (English or German) link to the movie \"Lost Horizon\" on Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0029162\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9481", "question": "What are the English and German Wikipedia pages for the film with IMDb ID tt0029201?", "sparql": "SELECT ?item ?wikipediaPage WHERE { ?item wdt:P345 \"tt0029201\" . ?wikipediaPage schema:about ?item . ?wikipediaPage schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Show me the Wikipedia articles in English and German about the movie \"The Man Who Could Work Miracles\" (IMDb: tt0029201).", "Find the Wikipedia links in English and German for the film identified by IMDb code tt0029201."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0029201\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9482", "question": "What is the Wikidata item for the movie The Matrix (1999) with IMDb ID tt0133093?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?imdb_id WHERE {\n  ?item wdt:P345 \"tt0133093\" .\n  BIND(\"tt0133093\" AS ?imdb_id)\n}", "paraphrases": ["Can you find the Wikidata entity for the film The Matrix using its IMDb identifier tt0133093?", "Which Wikidata item corresponds to the movie The Matrix (1999), identified by the IMDb ID tt0133093?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0163104\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9483", "question": "What are the death dates and their precision levels for the female photographers listed in Wikidata?", "sparql": "SELECT ?person ?deathDate ?precision ?calendar WHERE { VALUES ?person { wd:Q42563967 wd:Q42572972 wd:Q42665173 wd:Q42717820 wd:Q42717912 wd:Q42717959 wd:Q42726027 wd:Q42750463 wd:Q43313308 wd:Q43379502 wd:Q43387532 wd:Q43387677 wd:Q43984805 wd:Q44505425 wd:Q45286513 wd:Q45311689 wd:Q45311833 wd:Q46769448 wd:Q46769456 wd:Q46769472 wd:Q46769500 wd:Q46769589 wd:Q46769661 wd:Q46769665 wd:Q46769668 wd:Q46769671 wd:Q46769676 wd:Q46769691 wd:Q46769786 wd:Q46769801 wd:Q46769806 wd:Q46769814 wd:Q46769911 wd:Q46769947 wd:Q47057195 wd:Q47068240 wd:Q47110232 wd:Q47168574 wd:Q47386508 wd:Q47460319 wd:Q47481411 wd:Q47788908 wd:Q47811034 wd:Q47949282 wd:Q47997021 wd:Q47997330 wd:Q48439918 wd:Q48443197 wd:Q48445271 wd:Q49208827 wd:Q49210584 wd:Q49291697 wd:Q49296254 wd:Q49466835 wd:Q49637780 wd:Q50231077 wd:Q50355219 wd:Q50355301 wd:Q50357007 wd:Q50357575 wd:Q50384464 wd:Q50385210 wd:Q50385654 wd:Q50401112 } ?person ( p:P570 / psv:P570 ) [ wikibase:timeValue ?deathDate ; wikibase:timePrecision ?precision ; wikibase:timeCalendarModel ?calendar ] . }", "paraphrases": ["Can you tell me when these female photographers and artists died, along with how precise the dates are and what calendar system was used?", "For the following artists \u2014 including Sophie Rivera, Lettice Ramsey, and Germaine Martin \u2014 what are their recorded dates of death, precision, and calendar model?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q42563967> ) ( <http://www.wikidata.org/entity/Q42572972> ) ( <http://www.wikidata.org/entity/Q42665173> ) ( <http://www.wikidata.org/entity/Q42717820> ) ( <http://www.wikidata.org/entity/Q42717912> ) ( <http://www.wikidata.org/entity/Q42717959> ) ( <http://www.wikidata.org/entity/Q42726027> ) ( <http://www.wikidata.org/entity/Q42750463> ) ( <http://www.wikidata.org/entity/Q43313308> ) ( <http://www.wikidata.org/entity/Q43379502> ) ( <http://www.wikidata.org/entity/Q43387532> ) ( <http://www.wikidata.org/entity/Q43387677> ) ( <http://www.wikidata.org/entity/Q43984805> ) ( <http://www.wikidata.org/entity/Q44505425> ) ( <http://www.wikidata.org/entity/Q45286513> ) ( <http://www.wikidata.org/entity/Q45311689> ) ( <http://www.wikidata.org/entity/Q45311833> ) ( <http://www.wikidata.org/entity/Q46769448> ) ( <http://www.wikidata.org/entity/Q46769456> ) ( <http://www.wikidata.org/entity/Q46769472> ) ( <http://www.wikidata.org/entity/Q46769500> ) ( <http://www.wikidata.org/entity/Q46769589> ) ( <http://www.wikidata.org/entity/Q46769661> ) ( <http://www.wikidata.org/entity/Q46769665> ) ( <http://www.wikidata.org/entity/Q46769668> ) ( <http://www.wikidata.org/entity/Q46769671> ) ( <http://www.wikidata.org/entity/Q46769676> ) ( <http://www.wikidata.org/entity/Q46769691> ) ( <http://www.wikidata.org/entity/Q46769786> ) ( <http://www.wikidata.org/entity/Q46769801> ) ( <http://www.wikidata.org/entity/Q46769806> ) ( <http://www.wikidata.org/entity/Q46769814> ) ( <http://www.wikidata.org/entity/Q46769911> ) ( <http://www.wikidata.org/entity/Q46769947> ) ( <http://www.wikidata.org/entity/Q47057195> ) ( <http://www.wikidata.org/entity/Q47068240> ) ( <http://www.wikidata.org/entity/Q47110232> ) ( <http://www.wikidata.org/entity/Q47168574> ) ( <http://www.wikidata.org/entity/Q47234003> ) ( <http://www.wikidata.org/entity/Q47386508> ) ( <http://www.wikidata.org/entity/Q47460319> ) ( <http://www.wikidata.org/entity/Q47481411> ) ( <http://www.wikidata.org/entity/Q47788908> ) ( <http://www.wikidata.org/entity/Q47811034> ) ( <http://www.wikidata.org/entity/Q47949282> ) ( <http://www.wikidata.org/entity/Q47997021> ) ( <http://www.wikidata.org/entity/Q47997330> ) ( <http://www.wikidata.org/entity/Q48439918> ) ( <http://www.wikidata.org/entity/Q48443197> ) ( <http://www.wikidata.org/entity/Q48445271> ) ( <http://www.wikidata.org/entity/Q49208827> ) ( <http://www.wikidata.org/entity/Q49210584> ) ( <http://www.wikidata.org/entity/Q49291697> ) ( <http://www.wikidata.org/entity/Q49296254> ) ( <http://www.wikidata.org/entity/Q49466835> ) ( <http://www.wikidata.org/entity/Q49637780> ) ( <http://www.wikidata.org/entity/Q50231077> ) ( <http://www.wikidata.org/entity/Q50355219> ) ( <http://www.wikidata.org/entity/Q50355301> ) ( <http://www.wikidata.org/entity/Q50357007> ) ( <http://www.wikidata.org/entity/Q50357575> ) ( <http://www.wikidata.org/entity/Q50357605> ) ( <http://www.wikidata.org/entity/Q50384464> ) ( <http://www.wikidata.org/entity/Q50385210> ) ( <http://www.wikidata.org/entity/Q50385654> ) ( <http://www.wikidata.org/entity/Q50401112> ) } ?var1 ( <http://www.wikidata.org/prop/P570> / <http://www.wikidata.org/prop/statement/value/P570> ) [ <http://wikiba.se/ontology#timeValue> ?var2 ; <http://wikiba.se/ontology#timePrecision> ?var3 ; <http://wikiba.se/ontology#timeCalendarModel> ?var4 ] . }"}}
{"id": "test_9484", "question": "What are the English and German Wikipedia articles about the movie with IMDb ID tt4154796?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipedia_page WHERE {\n  VALUES ?imdb_id {\n    \"tt4154796\"\n  }\n  ?movie wdt:P345 ?imdb_id .\n  ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang .\n  VALUES ?lang {\n    \"en\" \"de\"\n  }\n  FILTER(STRSTARTS(STR(?wikipedia_page) , CONCAT(\"https://\" , ?lang , \".wikipedia.org/\")))\n}", "paraphrases": ["Show me the Wikipedia pages in English and German for the film Avengers: Endgame.", "Which language versions of Wikipedia have articles about the movie identified by tt4154796?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt7092940\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9485", "question": "What are the English and German Wikipedia articles for the movie with IMDb ID tt0115851?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipediaPage WHERE {\n  ?movie wdt:P345 \"tt0115851\" .\n  ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" )\n}", "paraphrases": ["Can you show me the Wikipedia pages in English and German about the film Celtic Pride?", "Which language versions of Wikipedia have articles about the movie identified by tt0115851?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0115851\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9486", "question": "Who are the people associated with Quantum Mechanics as their notable work?", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P800 wd:Q21777236 . ?person rdfs:label ?personLabel . } LIMIT 100", "paraphrases": ["Which authors are known for creating Quantum Mechanics?", "Who wrote or created the work on Quantum Mechanics?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru,en\". } ?var1 <http://www.wikidata.org/prop/direct/P800> <http://www.wikidata.org/entity/Q21777236> . } LIMIT 100"}}
{"id": "test_9487", "question": "What is the English label and description of the entity in the Great Russian Encyclopedia Online (old version) with ID 3515565?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P2924 \"3515565\" . OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") }", "paraphrases": ["Show me the name and English description of Russia as listed in the Great Russian Encyclopedia Online (old version).", "Which country has the Great Russian Encyclopedia Online ID 3515565, and what is its English description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"3159757\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9488", "question": "Which railway stations are listed as being on the same railway line more than once in Wikidata?", "sparql": "SELECT DISTINCT ?station WHERE { ?station p:P81 ?stmt1 ; p:P81 ?stmt2 . ?stmt1 ps:P81 ?line . ?stmt2 ps:P81 ?line . FILTER (?stmt1 != ?stmt2) }", "paraphrases": ["Can you find stations that have duplicate connections to the same railway line?", "Show me railway stations that appear to be connected to the same line via two separate statements in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/P81> ?var2 ; <http://www.wikidata.org/prop/P81> ?var3 . FILTER ( ( ( ?var2 != ?var3 ) ) ) . ?var2 <http://www.wikidata.org/prop/statement/P81> ?var4 . ?var3 <http://www.wikidata.org/prop/statement/P81> ?var4 . FILTER ( ( NOT EXISTS { ?var2 ?var5 ?var6 . } ) ) . }"}}
{"id": "test_9489", "question": "List all professions in Wikidata.", "sparql": "SELECT DISTINCT ?profession WHERE { ?profession wdt:P31 wd:Q28640 . }", "paraphrases": ["What are all the occupations that are classified as professions in Wikidata?", "Show me all the items that are directly instances of the profession class in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P31> *) <http://www.wikidata.org/entity/Q28640> . } }"}}
{"id": "test_9490", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0175536?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?wikipediaPage WHERE {\n  ?movie wdt:P345 \"tt0175536\" .\n  ?wikipediaPage schema:about ?movie .\n  VALUES ?lang {\n    \"en\" \"de\"\n  }\n  ?wikipediaPage schema:inLanguage ?lang .\n}", "paraphrases": ["Can you show me the Wikipedia articles in English and German about the film Freeway II: Confessions of a Trickbaby?", "Which language versions of Wikipedia have articles about the movie identified by tt0175536?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0175536\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9491", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt0094656, and what is its title?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?movieLabel ?wikipedia_page WHERE {\n  ?movie wdt:P345 \"tt0094656\" .\n  ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" ) .\n  ?movie rdfs:label ?movieLabel .\n  FILTER ( LANG( ?movieLabel ) = ?lang )\n}", "paraphrases": ["Can you find the Wikipedia page in English or German for the movie \"Angel III: The Final Chapter\" and confirm its title in that language?", "Show me the English or German Wikipedia link and the movie title for the film identified by IMDb ID tt0094656."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0094656\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9492", "question": "Who manufactures Nutella?", "sparql": "SELECT DISTINCT ?manufacturer WHERE { wd:Q212193 wdt:P176 ?manufacturer .}", "paraphrases": ["What company is the manufacturer of the chocolate spread Nutella?", "Tell me the manufacturer of Nutella."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { <http://www.wikidata.org/entity/Q212193> <http://www.wikidata.org/prop/direct/P176> ?var1 . }"}}
{"id": "test_9493", "question": "What rowing-related entities in Wikidata are not classified as instances of any specific type?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?rowingEntity(STR(?rowingEntityLabel) AS ?label) WHERE {\n  ?rowingEntity wdt:P641 wd:Q159354 . MINUS {\n    ?rowingEntity wdt:P31 [] .\n  }\n  OPTIONAL {\n    ?rowingEntity rdfs:label ?rowingEntityLabel .\n    FILTER(LANG(?rowingEntityLabel) = \"en\")\n  }\n}\nORDER BY ASC(?label)", "paraphrases": ["Which rowing events, venues, or roles exist in Wikidata without being explicitly categorized as a class?", "List all rowing-associated items in Wikidata that don\u2019t have an \"instance of\" classification, along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P641> <http://www.wikidata.org/entity/Q159354> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> [] . } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_9494", "question": "Image of Jacques Balutin with SNAC ARK ID w6x067sp", "sparql": "SELECT ?image WHERE { ?person wdt:P3430 \"w6x067sp\" . OPTIONAL { ?person wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with Jacques Balutin in Wikidata?", "Can you show me the Wikimedia Commons image for the person identified by SNAC ARK ID w6x067sp?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6x067sp\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9495", "question": "List of people with their DBLP author IDs.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?dblpId WHERE {\n  ?person wdt:P2456 ?dblpId .\n}\nLIMIT 100", "paraphrases": ["Who are some computer science researchers and what are their DBLP identifiers?", "Show me up to 100 authors from Wikidata along with their DBLP keys, which are used to identify them in the DBLP computer science bibliography."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2456> ?var2 . } LIMIT 100"}}
{"id": "test_9496", "question": "What is the English label and description of the Great Russian Encyclopedia entry with ID 3515565?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P2924 \"3515565\" .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" ) OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["Can you tell me the name and English description of the country listed as entry 3515565 in the Great Russian Encyclopedia Online (old version)?", "Show me the English name and description of the entity in Wikidata that corresponds to the Great Russian Encyclopedia Online ID 3515565."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"3547716\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9497", "question": "English and German Wikipedia pages for the movie with IMDb ID tt2911674.", "sparql": "SELECT ?movie ?wikiPage WHERE { ?movie wdt:P345 \"tt2911674\" . ?wikiPage schema:about ?movie . { ?wikiPage schema:inLanguage \"en\" . } UNION { ?wikiPage schema:inLanguage \"de\" . } }", "paraphrases": ["What are the English and German Wikipedia articles for the movie Tiger House?", "Show me the English and German Wikipedia links for the film identified by IMDb ID tt2911674."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2911674\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9498", "question": "Image of L\u00e9on Charles Th\u00e9venin with SNAC ARK ID w6f5528w", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6f5528w\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the Wikimedia Commons image associated with L\u00e9on Charles Th\u00e9venin\u2019s SNAC ARK ID?", "Show me the picture of the person identified by SNAC ARK ID w6f5528w."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6f5528w\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9499", "question": "Birth and death dates of Cecil Parker", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?actorLabel ?birthDate ?deathDate WHERE {\n  BIND( wd:Q1052329 AS ?actor ) .\n  ?actor wdt:P31 wd:Q5 .\n  OPTIONAL {\n    ?actor wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?actor wdt:P570 ?deathDate .\n  }\n  ?actor rdfs:label ?actorLabel .\n  FILTER ( LANG( ?actorLabel ) = \"en\" )\n}", "paraphrases": ["When was Cecil Parker born and when did he die?", "Can you tell me the birth and death dates of Cecil Parker, the British actor?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q1052329> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9500", "question": "What are the birth and death dates of Charles Colville, 2nd Viscount Colville of Culross?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  BIND(wd:Q21715461 AS ?person)\n  ?person wdt:P31 wd:Q5 .\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  OPTIONAL {\n    ?person rdfs:label ?personLabel .\n    FILTER(LANG(?personLabel) = \"en\")\n  }\n}", "paraphrases": ["Can you tell me the date of birth and date of death for the British politician Charles Colville?", "Who is the human with Wikidata ID Q21715461, and when were they born and when did they die?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q29378356> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9501", "question": "What is the English name of the town Lost Creek, and when was it established or dissolved?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?townLabel ?birthDate ?deathDate WHERE {\n  BIND( wd:Q2196511 AS ?town ) .\n  ?town rdfs:label ?townLabel .\n  FILTER ( LANG( ?townLabel ) = \"en\" ) OPTIONAL {\n    ?town wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?town wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["Show the label of Lost Creek (Q2196511) and any associated birth or death dates.", "Can you provide the name of Lost Creek, West Virginia, along with its founding and end dates if available?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q2196511> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9502", "question": "Who are the members of the Pennsylvania House of Representatives, and what are their birth and death dates?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?member ?memberLabel ?birthDate ?deathDate WHERE {\n  ?member wdt:P39 wd:Q14616716 ; wdt:P31 wd:Q5 .\n  OPTIONAL {\n    ?member wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?member wdt:P570 ?deathDate .\n  }\n  ?member rdfs:label ?memberLabel .\n  FILTER ( LANG( ?memberLabel ) = \"en\" )\n}", "paraphrases": ["Can you list the birth and death dates of all individuals who have served in the Pennsylvania House of Representatives?", "What are the birth and death dates of people who held the position of member in the Pennsylvania House of Representatives?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q8620204> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9503", "question": "What is RuPaul\u2019s date of birth and is he deceased?", "sparql": "SELECT ?label ?birthDate ?deathDate WHERE { wd:Q705715 rdfs:label ?label . FILTER(LANG(?label) = \"en\") . OPTIONAL { wd:Q705715 wdt:P569 ?birthDate . } OPTIONAL { wd:Q705715 wdt:P570 ?deathDate . } }", "paraphrases": ["Can you tell me RuPaul\u2019s full name, when he was born, and if he has passed away?", "When was RuPaul born, and what is his current status \u2014 alive or deceased?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q705715> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9504", "question": "What is Mike Warnke\u2019s date of birth and is he still alive?", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { wd:Q6849216 rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") . OPTIONAL { wd:Q6849216 wdt:P569 ?birthDate . } OPTIONAL { wd:Q6849216 wdt:P570 ?deathDate . } }", "paraphrases": ["When was Mike Warnke born, and what is his date of death?", "Can you provide Mike Warnke\u2019s full name, birth date, and death date?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q6849216> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9505", "question": "What is the image of the person with SNAC ARK ID \"w6wm1fd7\"?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6wm1fd7\" . OPTIONAL { ?item wdt:P18 ?image . }}", "paraphrases": ["Image of William Henry Perkin from SNAC ARK ID w6wm1fd7", "Can you show me the Wikimedia Commons image linked to the SNAC ARK ID w6wm1fd7?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6wm1fd7\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9506", "question": "What are the birth and death dates of the human members of the House of Normandy?", "sparql": "SELECT ?memberLabel ?birthDate ?deathDate WHERE { ?member wdt:P53 wd:Q516569 . ?member wdt:P31 wd:Q5 . OPTIONAL { ?member wdt:P569 ?birthDate . } OPTIONAL { ?member wdt:P570 ?deathDate . } ?member rdfs:label ?memberLabel . FILTER(LANG(?memberLabel) = \"en\") }", "paraphrases": ["List the names, birth dates, and death dates of kings from the Norman dynasty.", "Who were the human members of the House of Normandy, and when were they born and died?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q516569> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9507", "question": "What are the capitals of sovereign states?", "sparql": "SELECT ?countryLabel ?capitalLabel WHERE { ?country wdt:P31 wd:Q3624078 ; wdt:P36 ?capital . ?country rdfs:label ?countryLabel . ?capital rdfs:label ?capitalLabel . FILTER(LANG(?countryLabel) = 'en') . FILTER(LANG(?capitalLabel) = 'en') } LIMIT 10", "paraphrases": ["Can you list countries along with their capitals in English?", "Which countries and their corresponding capitals are listed in Wikidata with English labels?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9508", "question": "Date of birth and death of Manuel Se\u00f1oret Astaburuaga", "sparql": "SELECT ?label ?birthDate ?deathDate WHERE { wd:Q5994360 rdfs:label ?label . FILTER(LANG(?label) = \"en\") . OPTIONAL { wd:Q5994360 wdt:P569 ?birthDate . } OPTIONAL { wd:Q5994360 wdt:P570 ?deathDate . } }", "paraphrases": ["When was Manuel Se\u00f1oret Astaburuaga born and when did he die?", "What are the birth and death dates of Manuel Se\u00f1oret Astaburuaga, the Chilean politician?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q5994360> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9509", "question": "What is the date of birth of No\u00e9mie Koechlin, and is she still alive?", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { BIND( wd:Q42899042 AS ?person ) . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } }", "paraphrases": ["Can you provide the English name, birth date, and death date of the French biologist No\u00e9mie Koechlin?", "When was No\u00e9mie Koechlin born, and does Wikidata have a record of her death?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q42899042> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9510", "question": "What are the birth and death dates of Elizabeth Goudie?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?birthDate ?deathDate WHERE {\n  wd:Q5362854 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    wd:Q5362854 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q5362854 wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["Can you tell me the English name, birth date, and death date of the Canadian writer Elizabeth Goudie?", "When was Elizabeth Goudie born and when did she die?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q5362854> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9511", "question": "Henry Rainsford Hulme's date of birth and date of death", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { wd:Q20811023 rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") OPTIONAL { wd:Q20811023 wdt:P569 ?birthDate . } OPTIONAL { wd:Q20811023 wdt:P570 ?deathDate . } }", "paraphrases": ["When was Henry Rainsford Hulme born and when did he die?", "Can you tell me the birth and death dates of Henry Rainsford Hulme, the British nuclear physicist?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q20811023> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9512", "question": "What were the birth and death dates of Ecgberht, King of Wessex?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?birthDate ?deathDate WHERE {\n  wd:Q154934 rdfs:label ?label .\n  OPTIONAL {\n    wd:Q154934 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q154934 wdt:P570 ?deathDate .\n  }\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["Can you tell me when Ecgberht was born and when he died?", "Show me the lifespan of Ecgberht, including his birth and death years."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q154934> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9513", "question": "How many Wikipedia articles have population data in Wikidata?", "sparql": "SELECT (COUNT(?item) AS ?count) WHERE { ?item wdt:P487 ?wikipediaPage . ?item wdt:P1082 ?population . }", "paraphrases": ["How many Wikidata items linked to Wikipedia articles have a population value?", "Count the number of Wikidata items that are connected to Wikipedia pages and have a population statistic."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#QuantityValue> . }"}}
{"id": "test_9514", "question": "List of domestic cats that are notable individuals.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?cat WHERE {\n  ?cat wdt:P31 wd:Q146 .\n}", "paraphrases": ["Which individual cats are recognized as instances of the domestic cat species in Wikidata?", "Show me all the named domestic cats documented in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q20980826> . }"}}
{"id": "test_9515", "question": "What is the English label for the property \"Swedish Film Database ID\" in Wikidata?", "sparql": "SELECT (SAMPLE(?label) AS ?propertyLabel) WHERE { wd:P2334 rdfs:label ?label . FILTER(LANGMATCHES(LANG(?label), \"en\")) }", "paraphrases": ["Show me the English name of the Wikidata property that links to the Swedish Film Database.", "What is the English description of the property used to store Swedish Film Database IDs?"], "info": {"raw_sparql": "SELECT( SAMPLE ( ?var1 ) AS ?var2Label ) WHERE { <http://www.wikidata.org/prop/novalue/P2334> <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( LANGMATCHES ( LANG ( ?var1 ) , \"en\" ) ) ) . }"}}
{"id": "test_9516", "question": "What is the English label for the Wikidata property \"member of the deme\"?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?propertyLabel WHERE {\n  wd:P2462 rdfs:label ?propertyLabel .\n  FILTER ( LANGMATCHES( LANG( ?propertyLabel ) , \"en\" ) )\n}", "paraphrases": ["What does the property P2462 mean in English?", "What is the name of property P2462 in English?"], "info": {"raw_sparql": "SELECT( SAMPLE ( ?var1 ) AS ?var2Label ) WHERE { <http://www.wikidata.org/prop/novalue/P2462> <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( LANGMATCHES ( LANG ( ?var1 ) , \"en\" ) ) ) . }"}}
{"id": "test_9517", "question": "What is the English label of the Wikidata property for NCBI taxonomy ID?", "sparql": "SELECT (SAMPLE(?labelValue) AS ?label) WHERE { wd:P685 rdfs:label ?labelValue . FILTER(LANGMATCHES(LANG(?labelValue), \"en\")) }", "paraphrases": ["Can you tell me the name of the property that represents NCBI taxonomy ID in Wikidata?", "What does the property P685 in Wikidata mean in English?"], "info": {"raw_sparql": "SELECT( SAMPLE ( ?var1 ) AS ?var2Label ) WHERE { <http://www.wikidata.org/prop/novalue/P685> <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( LANGMATCHES ( LANG ( ?var1 ) , \"en\" ) ) ) . }"}}
{"id": "test_9518", "question": "What is the English label for the property \"speed\" in Wikidata?", "sparql": "SELECT ?label WHERE { wd:P2052 rdfs:label ?label . FILTER (LANGMATCHES(LANG(?label), \"en\")) }", "paraphrases": ["How is \"speed\" referred to in English in Wikidata's property definitions?", "Can you show me the English name for property P2052?"], "info": {"raw_sparql": "SELECT ?var1Label WHERE { <http://www.wikidata.org/prop/novalue/P2052> <http://www.w3.org/2004/02/skos/core#prefLabel> ?var1Label . FILTER ( ( LANGMATCHES ( LANG ( ?var1Label ) , \"en\" ) ) ) . }"}}
{"id": "test_9519", "question": "Works with main subject corpse, including any qualifiers on the statement.", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?work ?statement(SAMPLE(?qualifierProperty) AS ?qualifier) WHERE {\n  ?work p:P921 ?statement .\n  ?statement ps:P921 wd:Q48422 .\n  OPTIONAL {\n    wdt:P921 wikibase:qualifier ?qualifierProperty .\n    ?statement ?qualifierProperty ?qualifierValue .\n  }\n}\nGROUP BY ?work ?statement\nLIMIT 101", "paraphrases": ["What works have corpse as their main subject, and what qualifiers are attached to those statements?", "List up to 100 works whose main subject is corpse, and if any qualifiers are used on those statements, show one example of a qualifier property."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P921> <http://www.wikidata.org/entity/Q48422> . ?var1 <http://www.wikidata.org/prop/P921> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_9520", "question": "List of heritage-listed buildings in England with \"church\" in their name.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?var1 ?var1Label WHERE {\n  ?var1 wdt:P1216 ?var2 .\n  ?var1 rdfs:label ?var1Label .\n  FILTER(LANG(?var1Label) = \"en\")\n  FILTER(CONTAINS(LCASE(?var1Label) , \"church\"))\n}", "paraphrases": ["Which buildings in England\u2019s National Heritage List have \"church\" in their official name?", "Show me the Wikidata IDs and English labels of all buildings listed on the National Heritage List for England whose names include the word \"church\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1216> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( CONTAINS ( ?var3Label , \"church\" ) ) ) . }"}}
{"id": "test_9521", "question": "What properties are linked to the 1976 U.S. National Indoor Open Championships more than once?", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q4001416 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["Which properties connect other items to the 1976 U.S. National Indoor Open Championships with a frequency higher than one?", "Show me the properties that relate to the 1976 U.S. National Indoor Open Championships at least twice, ordered by how often they appear."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q4001416> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_9522", "question": "Is NeuroLex a type of software?", "sparql": "ASK WHERE { wd:Q3875032 (wdt:P31 / wdt:P279*) wd:Q7397 }", "paraphrases": ["Does NeuroLex belong to the category of software through its classification hierarchy?", "Can NeuroLex be considered software based on its instance and subclass relationships in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q3875032> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_9523", "question": "What university did Moritz Schubotz attend, and what degree did he earn there?", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ?institution ?institutionLabel ?startDate ?endDate ?degreeLabel WHERE {\n  wd:Q42883470 p:P69 ?statement .\n  ?statement ps:P69 ?institution .\n  ?institution rdfs:label ?institutionLabel .\n  FILTER ( LANG( ?institutionLabel ) = \"en\" ) OPTIONAL {\n    ?statement pq:P580 ?startDate .\n  }\n  OPTIONAL {\n    ?statement pq:P582 ?endDate .\n  }\n  OPTIONAL {\n    ?statement pq:P512 ?degree .\n    ?degree rdfs:label ?degreeLabel .\n    FILTER ( LANG( ?degreeLabel ) = \"en\" )\n  }\n}", "paraphrases": ["Where did Moritz Schubotz study, and when did he start and end his studies? Did he receive any academic degrees?", "List the educational institution Moritz Schubotz attended in English, along with the start date, end date, and any academic degrees obtained."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 ?var5Label WHERE { <http://www.wikidata.org/entity/Q42883470> <http://www.wikidata.org/prop/P69> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P69> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P580> ?var3 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var4 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P512> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_9524", "question": "What is the English label and description of the person with Great Russian Encyclopedia Online ID 1910621?", "sparql": "SELECT ?item ?label ?description WHERE { ?item wdt:P2924 \"1910621\" . OPTIONAL { ?item rdfs:label ?label . FILTER (LANG(?label) = \"en\") } OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Who is the individual identified by the ID 1910621 in the Great Russian Encyclopedia Online, and what is their English description and name?", "Please provide the English name and description of the person whose Great Russian Encyclopedia Online ID is 1910621."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"1910621\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9525", "question": "What are the most common properties linking entities to Marseille, and how many times are they used?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(COUNT(?item) AS ?count) ?propertyLabel WHERE {\n  ?item ?property wd:Q23482 .\n  BIND(IRI(REPLACE(REPLACE(STR(?property) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\") , \"http://www.wikidata.org/prop/statement/\" , \"http://www.wikidata.org/entity/\")) AS ?propertyEntity)\n  .\n  ?propertyEntity rdfs:label ?propertyLabel .\n  FILTER(LANG(?propertyLabel) = \"en\")\n}\nGROUP BY ?property ?propertyLabel\nHAVING(?count > 1)\nORDER BY DESC(?count)", "paraphrases": ["Which relationships are most frequently associated with Marseille in Wikidata, and what are their English labels?", "Show me the properties (like place of birth or headquarters location) that connect other items to Marseille, sorted by how often they appear, but only include those used more than once."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q23482> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_9526", "question": "What is the English Wikipedia page for the movie with IMDb ID tt0183058?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?wikipedia_page WHERE {\n  VALUES ?imdb_id {\n    \"tt0183058\"\n  }\n  ?movie wdt:P345 ?imdb_id .\n  ?wikipedia_page schema:about ?movie .\n  ?wikipedia_page schema:inLanguage \"en\" .\n}", "paraphrases": ["Which English-language Wikipedia article is about the movie identified by the IMDb ID tt0183058?", "Please show me the English Wikipedia page for the movie that has the IMDb identifier tt0183058."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0183058\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9527", "question": "Movie with IMDb ID tt2186783, English and German titles, Wikipedia pages", "sparql": "SELECT ?movie ?movieTitleEn ?movieTitleDe ?wikipediaEn ?wikipediaDe WHERE { ?movie wdt:P345 \"tt2186783\" . OPTIONAL { ?movie rdfs:label ?movieTitleEn FILTER(LANG(?movieTitleEn) = \"en\") } OPTIONAL { ?movie rdfs:label ?movieTitleDe FILTER(LANG(?movieTitleDe) = \"de\") } OPTIONAL { ?wikipediaEn schema:about ?movie ; schema:inLanguage \"en\" } OPTIONAL { ?wikipediaDe schema:about ?movie ; schema:inLanguage \"de\" } }", "paraphrases": ["What are the English and German titles of the movie with IMDb ID tt2186783, and does it have Wikipedia pages in those languages?", "Show me the English and German titles of the movie identified by IMDb ID tt2186783, along with links to its English and German Wikipedia pages if they exist."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2186783\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9528", "question": "Wikipedia pages in English or German for the movie with IMDb ID tt0390136", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipediaPage WHERE {\n  ?item wdt:P345 \"tt0390136\" .\n  ?wikipediaPage schema:about ?item .\n  {\n    ?wikipediaPage schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipediaPage schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["What are the English or German Wikipedia pages for the movie with IMDb ID tt0390136?", "Show me the English or German Wikipedia articles about the movie identified by IMDb ID tt0390136."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0390136\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9529", "question": "Is Adolf Hitler classified as a human?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q352 wdt:P31 wd:Q5 .\n}", "paraphrases": ["Does Adolf Hitler belong to the category of human?", "Confirm whether Adolf Hitler is an instance of a human."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q352> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1356230> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_9530", "question": "What movie has the IMDb ID tt0087763?", "sparql": "SELECT ?movie WHERE { ?movie wdt:P345 \"tt0087763\" .}", "paraphrases": ["Which film is identified by the IMDb identifier tt0087763?", "Find the Wikidata item for the movie with IMDb ID tt0087763."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0087763\". }"}}
{"id": "test_9531", "question": "English and German Wikipedia pages for the movie with IMDb ID tt1375666", "sparql": "SELECT ?item ?wikipedia_page WHERE { ?item wdt:P345 \"tt1375666\" . ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["What are the English and German Wikipedia articles for the film Inception?", "Show me the English and German Wikipedia links for the movie Inception, identified by its IMDb ID tt1375666."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1754601\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9532", "question": "Swedish labels for Finnish family names written in Latin script", "sparql": "SELECT ?familyName ?label WHERE { ?familyName wdt:P31 wd:Q101352 ; wdt:P282 wd:Q8229 ; wdt:P407 wd:Q1412 ; rdfs:label ?label . FILTER (LANG(?label) = \"sv\") } LIMIT 100", "paraphrases": ["What are the Swedish-language names of Finnish surnames that use the Latin alphabet?", "List Finnish family names with their Swedish labels, assuming they are written in Latin script."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q101352> ; <http://www.wikidata.org/prop/direct/P282> <http://www.wikidata.org/entity/Q8229> ; <http://www.wikidata.org/prop/direct/P407> <http://www.wikidata.org/entity/Q1412> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"sv\" ) ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"fi\" ) ) ) . } ) ) . } LIMIT 100"}}
{"id": "test_9533", "question": "What are the English and German Wikipedia pages about the movie with IMDb ID tt0242653?", "sparql": "SELECT ?item ?wikipedia_page ?imdb_id WHERE { ?item wdt:P345 \"tt0242653\" . ?wikipedia_page schema:about ?item . { ?wikipedia_page schema:inLanguage \"en\" . } UNION { ?wikipedia_page schema:inLanguage \"de\" . } ?item wdt:P345 ?imdb_id . }", "paraphrases": ["Can you show me the Wikipedia articles in English and German that are about the film \"The Matrix Revolutions\"?", "I want to find the English and German language Wikipedia pages linked to the movie that has the IMDb identifier tt0242653."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0400800\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9534", "question": "Wikidata properties related to films", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?property ?label WHERE {\n  ?property wdt:P31 wd:Q22965162 .\n  ?property rdfs:label ?label .\n  FILTER ( LANG( ?label ) = 'en' )\n}", "paraphrases": ["What are the Wikidata properties that are used for films?", "List the English-labeled properties in Wikidata that classify film-related data."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q22965162> ?var2 ?var1 . }"}}
{"id": "test_9535", "question": "What is the English title of the movie with IMDb ID tt4175108?", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P345 \"tt4175108\" . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["Which movie is identified by the IMDb identifier tt4175108?", "Can you tell me the name of the film with the IMDb code tt4175108?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt4175108\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_9536", "question": "Children of Johann Sebastian Bach with their gender, birth and death dates, and birthplace coordinates.", "sparql": "SELECT ?child ?childLabel (GROUP_CONCAT(DISTINCT ?genderLabel; SEPARATOR=\", \") AS ?genderLabels) (GROUP_CONCAT(DISTINCT STR(?birthDate); SEPARATOR=\", \") AS ?birthDates) (GROUP_CONCAT(DISTINCT STR(?deathDate); SEPARATOR=\", \") AS ?deathDates) (GROUP_CONCAT(DISTINCT STR(?coordinates); SEPARATOR=\", \") AS ?birthPlaceCoordinates) WHERE { ?child wdt:P22 wd:Q1339 . ?child wdt:P21 ?gender . ?child wdt:P569 ?birthDate . ?child wdt:P570 ?deathDate . ?child wdt:P19 ?birthPlace . ?birthPlace wdt:P625 ?coordinates . ?child rdfs:label ?childLabel . ?gender rdfs:label ?genderLabel . FILTER(LANG(?childLabel) = \"en\") FILTER(LANG(?genderLabel) = \"en\") } GROUP BY ?child ?childLabel ORDER BY ASC(?birthDate)", "paraphrases": ["Who are the children of Johann Sebastian Bach, and what are their genders, birth and death dates, and where were they born (with coordinates)?", "List all children of Johann Sebastian Bach, including their gender, birth and death dates, and the geographic coordinates of their birthplaces, sorted by birth date."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( GROUP_CONCAT ( DISTINCT ?var2Label ; SEPARATOR = \", \" ) AS ?var3 )( GROUP_CONCAT ( DISTINCT ?var4 ; SEPARATOR = \", \" ) AS ?var5 )( GROUP_CONCAT ( DISTINCT ?var6 ; SEPARATOR = \", \" ) AS ?var7 )( GROUP_CONCAT ( DISTINCT ?var8 ; SEPARATOR = \", \" ) AS ?var9 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P22> <http://www.wikidata.org/entity/Q1339> . ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var6 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var10 . ?var10 <http://www.wikidata.org/prop/direct/P625> ?var8 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } } GROUP BY ?var1 ?var1Label ORDER BY ASC( ?var10 )"}}
{"id": "test_9537", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt0871864?", "sparql": "SELECT ?movie ?wikipedia_page ?imdb_id WHERE { ?movie wdt:P345 ?imdb_id . ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") FILTER(?imdb_id = \"tt0871864\") }", "paraphrases": ["Which Wikidata item and Wikipedia pages (in English or German) correspond to the IMDb identifier tt0871864?", "Find the movie item and its Wikipedia pages in English or German for the film identified by tt0871864 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0871864\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9538", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt0095098?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?wikipedia_page WHERE {\n  ?movie wdt:P345 \"tt0095098\" .\n  ?wikipedia_page schema:about ?movie .\n  {\n    ?wikipedia_page schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipedia_page schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Which Wikipedia articles in English or German are about the movie identified by IMDb ID tt0095098?", "Please provide the Wikipedia link for the movie with IMDb ID tt0095098, if it exists in English or German."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0095098\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9539", "question": "What films based on J.R.R. Tolkien\u2019s *The Fellowship of the Ring* were directed by Peter Jackson, and when were they released?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?filmLabel ?directorLabel ?publicationDate WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P144 wd:Q208002 .\n  ?film wdt:P57 ?director .\n  ?film wdt:P577 ?publicationDate .\n  ?film rdfs:label ?filmLabel .\n  ?director rdfs:label ?directorLabel .\n  FILTER ( LANG( ?filmLabel ) = \"en\" ) FILTER ( LANG( ?directorLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Show me the English titles and directors of movies adapted from the book *The Fellowship of the Ring*, along with their release dates.", "Which films are based on the novel *The Fellowship of the Ring*, who directed them, and what are their release dates?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3Label ?var4Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P144> <http://www.wikidata.org/entity/Q208002> . ?var1 <http://www.wikidata.org/prop/direct/P57> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var3 . } LIMIT 100"}}
{"id": "test_9540", "question": "How many items in Wikidata have a \"relative to\" relationship?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ( COUNT( * ) AS ?count ) WHERE {\n  ?item wdt:P2210 ?relativeTo .\n}", "paraphrases": ["How many triples in Wikidata use the property \"relative to\"?", "Can you tell me the total number of relationships defined using \"relative to\" in Wikidata?"], "info": {"raw_sparql": "SELECT( COUNT (* ) AS ?var1 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P2210> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 50000"}}
{"id": "test_9541", "question": "What are the common names for the taxon Diplopoda?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?synonym ?synonymLabel WHERE {\n  wd:Q167367 wdt:P460 ?synonym .\n  ?synonym rdfs:label ?synonymLabel .\n  FILTER(LANG(?synonymLabel) = \"en\")\n}", "paraphrases": ["What is another name for Diplopoda in English?", "List the English-language synonyms for the biological class Diplopoda."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { <http://www.wikidata.org/entity/Q167367> <http://www.wikidata.org/prop/direct/P279> * ?var1 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q167367> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9542", "question": "List all dog breeds in Wikidata.", "sparql": "SELECT ?breed ?breedLabel WHERE { ?breed wdt:P31 wd:Q39367 . ?breed rdfs:label ?breedLabel . FILTER(LANG(?breedLabel) = 'en') }", "paraphrases": ["What are the different breeds of dogs recognized in Wikidata?", "Show me the names of all dog breeds."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { <http://www.wikidata.org/entity/Q5207608> <http://www.wikidata.org/prop/direct/P279> * ?var1 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q5207608> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9543", "question": "What is the IMDb ID and Wikipedia page for the movie with IMDb ID tt5719232, in English or German?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?wikipedia_page ?imdb_id WHERE {\n  ?movie wdt:P345 \"tt5719232\" .\n  ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n  BIND(\"tt5719232\" AS ?imdb_id)\n}", "paraphrases": ["Which Wikipedia articles (in English or German) are about the movie with IMDb ID tt5719232, and what is its IMDb ID?", "Show me the movie and its Wikipedia page in English or German that has the IMDb identifier tt5719232."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5719232\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9544", "question": "Where did David Bowie die?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?placeOfDeath ?placeLabel WHERE {\n  wd:Q5383 wdt:P20 ?placeOfDeath .\n  ?placeOfDeath rdfs:label ?placeLabel .\n  FILTER(LANG(?placeLabel) = \"en\")\n}", "paraphrases": ["What are the places where David Bowie passed away?", "Can you list the locations of David Bowie\u2019s death in English?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P20> * <http://www.wikidata.org/entity/Q5383> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P20> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9545", "question": "What unclassified entities are located in Moldova?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?item ?itemLabel WHERE {\n  ?item wdt:P17 wd:Q217 .\n  ?item rdfs:label ?itemLabel . MINUS {\n    ?item wdt:P31 [] .\n  }\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["Can you list the names of places and items in Moldova that don\u2019t have a defined type in Wikidata?", "Show me all entities in Moldova that are not categorized as any specific type (e.g., city, building, person) in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q217> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> [] . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ro,en\". } }"}}
{"id": "test_9546", "question": "What are some examples of colors in Wikidata?", "sparql": "SELECT ?color ?colorLabel WHERE { ?color wdt:P31 wd:Q1075 . } LIMIT 100", "paraphrases": ["List all entities that are instances of the concept of color.", "Show me the names of colors defined in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1075> . } LIMIT 100"}}
{"id": "test_9547", "question": "List of aviation accidents with English labels.", "sparql": "SELECT ?accident ?accidentLabel WHERE { ?accident wdt:P31 wd:Q744913 . ?accident rdfs:label ?accidentLabel . FILTER(LANG(?accidentLabel) = \"en\") }", "paraphrases": ["What are the known aviation accidents and their English names?", "Show me all recorded aviation accidents along with their English titles."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q744913> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,es\". } }"}}
{"id": "test_9548", "question": "What are the titles of the films in The Lord of the Rings trilogy?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?filmLabel WHERE {\n  wd:Q190214 wdt:P527 ?film .\n  ?film rdfs:label ?filmLabel\n  FILTER(LANG(?filmLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["List the English-language titles of all films that are part of The Lord of the Rings.", "Which movies belong to The Lord of the Rings film series?"], "info": {"raw_sparql": "SELECT ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q190214> . } LIMIT 100"}}
{"id": "test_9549", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt2015261?", "sparql": "SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 \"tt2015261\" . ?wikipedia_page schema:about ?movie . { ?wikipedia_page schema:inLanguage \"en\" . } UNION { ?wikipedia_page schema:inLanguage \"de\" . } }", "paraphrases": ["Show me the Wikipedia articles in English and German about the film identified by tt2015261 on IMDb.", "Find the Wikipedia links in English and German for the movie \"11/11/11\" (IMDb: tt2015261)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2015261\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9550", "question": "What is the English label and description of the scientific institution with the Great Russian Encyclopedia Online ID 3178545?", "sparql": "SELECT ?institute ?instituteLabel ?description WHERE { ?institute wdt:P2924 \"3178545\" . ?institute rdfs:label ?instituteLabel . FILTER (LANG(?instituteLabel) = \"en\") . OPTIONAL { ?institute schema:description ?description . FILTER (LANG(?description) = \"en\") . } }", "paraphrases": ["Can you find the name and description in English of the entity identified as 3178545 in the old Great Russian Encyclopedia online?", "Which institution has the ID 3178545 in the Great Russian Encyclopedia (old version), and what is its English description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"3178545\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9551", "question": "Humans with French labels containing \"Kentzinger\"", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT DISTINCT ?item WHERE {\n  ?item rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"fr\" ) .\n  FILTER ( REGEX( ?label , \"Kentzinger\" , \"i\" ) ) .\n  ?item wdt:P31 wd:Q5 .\n}", "paraphrases": ["Who are the French people named Kentzinger?", "List all humans in Wikidata whose French label includes the name Kentzinger."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"kentzinger\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_9552", "question": "What equipment or infrastructure was retired in March 1995?", "sparql": "SELECT DISTINCT ?item WHERE { ?item wdt:P730 ?retirementDate . FILTER ( ?retirementDate >= \"1995-03-01T00:00:00Z\"^^xsd:dateTime && ?retirementDate <= \"1995-03-31T23:59:59Z\"^^xsd:dateTime ) }", "paraphrases": ["Which items had their service retirement date in March 1995?", "List all items that were decommissioned or taken out of service during March 1995."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P730> | <http://www.wikidata.org/prop/direct/P746> ) ?var2 . FILTER ( ( ( ?var2 >= \"1995-03-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1995-03-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_9553", "question": "What sources (e.g., URLs and Wikipedia projects) support Albert Einstein\u2019s birth date in Wikidata?", "sparql": "SELECT ?url ?source WHERE { wd:Q937 wdt:P569 ?date . ?statement ps:P569 ?date ; prov:wasDerivedFrom ?ref . ?ref pr:P4656 ?url ; pr:P143 ?source . }", "paraphrases": ["Show the external references, such as web links and imported sources, used to verify when Albert Einstein was born.", "Which Wikipedia pages and URLs are cited as sources for Albert Einstein\u2019s date of birth?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/reference/e683fb8eb3068e15e03b00f1026c4b5ffe9a30bb> ?var1 ?var2 . }"}}
{"id": "test_9554", "question": "Image of Jim Barnes (writer) with SNAC ARK ID w6cc3wnf", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6cc3wnf\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the person having the SNAC ARK ID w6cc3wnf?", "Show me the Wikimedia Commons image for Jim Barnes (writer), identified by SNAC ARK ID w6cc3wnf."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6cc3wnf\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9555", "question": "French people with \"d'estaing\" in their name", "sparql": "SELECT DISTINCT ?person WHERE { ?person rdfs:label ?label . FILTER(LANG(?label) = \"fr\") FILTER(CONTAINS(LCASE(?label), \"d'estaing\")) ?person wdt:P31 wd:Q5 .}", "paraphrases": ["Who are the French individuals whose names include \"d'estaing\"?", "List all humans in Wikidata with a French label containing \"d'estaing\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"d'estaing\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_9556", "question": "What are the operations that are part of relational algebra, and do they have images?", "sparql": "SELECT ?item ?itemLabel ?image WHERE { ?item wdt:P361 wd:Q840540 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = 'en') OPTIONAL { ?item wdt:P18 ?image . } } LIMIT 10", "paraphrases": ["Which operations are classified as parts of relational algebra, and what are their English names and images?", "List the English names of all operations that are part of relational algebra, along with any available images."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q840540> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_9557", "question": "What is the English description of the Great Russian Encyclopedia Online entry with ID 1846251?", "sparql": "SELECT ?item ?description WHERE { ?item wdt:P2924 \"1846251\" . OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Which entity in Wikidata has the Great Russian Encyclopedia Online ID 1846251, and what is its English description?", "Show me the English description for the entry in the Great Russian Encyclopedia with ID 1846251."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"1846251\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9558", "question": "What financial securities with ISIN codes are not classified as businesses?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?security WHERE {\n  ?security wdt:P946 ?isin .\n  FILTER NOT EXISTS {\n    ?security ( wdt:P31 / wdt:P279 * ) wd:Q4830453 .\n  }\n}\nORDER BY ASC ( ?security )", "paraphrases": ["Which entities that have an ISIN are not businesses or subclasses of businesses?", "List all non-business entities that are identified by an ISIN."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P946> ?var2 . FILTER ( ( NOT EXISTS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q4830453> . } ) ) . } ORDER BY ASC( ?var1 )"}}
{"id": "test_9559", "question": "Does the National Register of Historic Places ID \"08000488\" exist in Wikidata?", "sparql": "ASK WHERE { ?item wdt:P649 \"08000488\" . }", "paraphrases": ["Is there a historic place in the United States listed on the National Register of Historic Places with the reference number 08000488?", "Confirm if the NRHP number 08000488 is registered in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P649> \"08000488\". }"}}
{"id": "test_9560", "question": "Does the National Register of Historic Places have an entry with reference number 78000602?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P649 \"78000602\" .\n}", "paraphrases": ["Is there a historic place in the U.S. National Register with the ID 78000602?", "Confirm whether the NRHP reference number 78000602 is assigned to any listed historic property."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P649> \"78000602\". }"}}
{"id": "test_9561", "question": "Is the Williams-Wootton House listed in the National Register of Historic Places with ID 78000589?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P649 \"78000589\" .\n}", "paraphrases": ["Does the National Register of Historic Places reference number 78000589 correspond to a registered historic place in Wikidata?", "Confirm if the NRHP ID 78000589 is assigned to any historic property in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P649> \"78000589\". }"}}
{"id": "test_9562", "question": "Is the Humphreys-Ryan House listed in the National Register of Historic Places with ID 00000606?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P649 \"00000606\" .\n}", "paraphrases": ["Does the National Register of Historic Places reference number \"00000606\" correspond to a registered historic place in Wikidata?", "Confirm if there is a historic site in Wikidata with NRHP ID 00000606."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P649> \"00000606\". }"}}
{"id": "test_9563", "question": "Is there a historic place in the National Register of Historic Places with reference number 92000560?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P649 \"92000560\" .\n}", "paraphrases": ["Does the National Register of Historic Places reference number 92000560 correspond to a listed historic site in Wikidata?", "Please confirm if the NRHP ID 92000560 is registered in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P649> \"92000560\". }"}}
{"id": "test_9564", "question": "What are the English official names and logo filenames of television series in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?series ?officialName ?logoFilename WHERE {\n  ?series wdt:P31 wd:Q5398426 .\n  ?series wdt:P1448 ?officialName .\n  ?series wdt:P154 ?logo .\n  BIND(strafter(str(?logo) , \"Special:FilePath/\") AS ?logoFilename)\n  FILTER(LANG(?officialName) = \"en\")\n}\nLIMIT 10", "paraphrases": ["Can you list television shows along with their official titles in English and the names of their logo images?", "Show me the names and logos of TV series that have English official titles."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5398426> . ?var1 <http://www.wikidata.org/prop/direct/P1448> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P154> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_9565", "question": "What is the English label for the entity \"religion in Russia\" in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label WHERE {\n  wd:Q2467414 rdfs:label ?label .\n  FILTER ( LANGMATCHES( LANG( ?label ) , \"en\" ) )\n}", "paraphrases": ["Show me the English name of the religious context in Russia as represented in Wikidata.", "What does Wikidata call \"religion in Russia\" in English?"], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { <http://www.wikidata.org/entity/Q2467414> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( LANGMATCHES ( LANG ( ?var1Label ) , \"EN\" ) ) ) . } LIMIT 1"}}
{"id": "test_9566", "question": "What is the image of the entity with SNAC ARK ID w6f29nwg?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6f29nwg\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Can you show me the Wikimedia Commons image associated with the Social Networks and Archival Context identifier w6f29nwg?", "Which image is linked to Barack Obama in Wikidata via his SNAC ARK ID?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6wr0ss9\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9567", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0395216?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipediaPage WHERE {\n  ?movie wdt:P345 \"tt0395216\" .\n  ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" )\n}", "paraphrases": ["Show me the Wikipedia articles in English and German about the film \"Slugs\" (2004).", "Which language versions of Wikipedia describe the movie identified by tt0395216?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0395216\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9568", "question": "Who is Barack Obama\u2019s father and also has children?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?father ?fatherLabel WHERE {\n  wd:Q76 wdt:P22 ?father .\n  ?father wdt:P31 wd:Q5 .\n  ?father wdt:P40 ?child .\n  ?father rdfs:label ?fatherLabel .\n  FILTER(LANG(?fatherLabel) = \"en\")\n}", "paraphrases": ["Can you tell me the name of the person who is the father of Barack Obama and has at least one child?", "Show me the father of Barack Obama who is also a parent to other children."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/22> <http://www.wikidata.org/entity/Q5280414> . ?var1 <http://www.wikidata.org/prop/P40> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,tr\". } }"}}
{"id": "test_9569", "question": "What are the geographical locations (city, region, country, continent) that The City Public House in Bradford belongs to?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?location ?locationLabel WHERE {\n  wd:Q26426151 ( wdt:P131 | wdt:P17 | wdt:P30 ) + ?location .\n  ?location rdfs:label ?locationLabel .\n  FILTER ( LANG( ?locationLabel ) = \"en\" )\n}\nLIMIT 10", "paraphrases": ["Show the administrative and geographical hierarchy of The City Public House, from local to continental level.", "Starting from The City Public House in Bradford, what larger regions, countries, and continents is it part of?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q26426151> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_9570", "question": "Composers with Spanish labels and descriptions", "sparql": "SELECT ?composer ?label ?desc WHERE { ?work wdt:P86 ?composer . ?composer rdfs:label ?label . ?composer schema:description ?desc . FILTER(LANG(?label) = \"es\" && LANG(?desc) = \"es\") } LIMIT 100", "paraphrases": ["Who are the composers whose names and descriptions are available in Spanish?", "List up to 100 composers who have Spanish-language labels and descriptions."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P86> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"es\" ) ) ) . } LIMIT 100"}}
{"id": "test_9571", "question": "Jewish Encyclopedia Daat IDs for abstract religious concepts not classified as instances or classes.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?daatId ( STRLEN( STR( ?daatId ) ) AS ?length ) WHERE {\n  {\n    SELECT DISTINCT ?item ?daatId WHERE {\n      ?item wdt:P3710 ?daatId . MINUS {\n        ?item wdt:P31 [] .\n      } MINUS {\n        ?item wdt:P279 [] .\n      } MINUS {\n        ?item wdt:P361 [] .\n      }\n    }\n    LIMIT 100\n  }\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n  }\n}", "paraphrases": ["Which Jewish legal or ritual concepts in Wikidata have a Daat ID but are not categorized as instances, subclasses, or parts of other items?", "List all Jewish concepts identified by a Jewish Encyclopedia Daat ID that are not instances of any class, not subclasses, and not parts of other entities."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ( STRLEN ( STR ( ?var2 ) ) AS ?var4 ) ?var5 ?var6 WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3710> ?var2 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> [] . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P279> [] . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P361> [] . } } LIMIT 100 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,de,en,it\". } }"}}
{"id": "test_9572", "question": "What is the English label of Santa Rosa, and what types of cities is it classified as?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?santaRosaLabel ?instanceLabel WHERE {\n  wd:Q212991 rdfs:label ?santaRosaLabel .\n  wd:Q212991 wdt:P31 ?instance .\n  ?instance rdfs:label ?instanceLabel .\n  FILTER ( LANG( ?santaRosaLabel ) = \"en\" ) FILTER ( LANG( ?instanceLabel ) = \"en\" )\n}", "paraphrases": ["Santa Rosa city type labels in English", "Show me the English name of Santa Rosa and all the categories it belongs to, such as city types."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2Label WHERE { <http://www.wikidata.org/entity/Q212991> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var1Label <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . }"}}
{"id": "test_9573", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0057183?", "sparql": "SELECT ?movie ?wikipediaPage WHERE { ?movie wdt:P345 \"tt0057183\" . ?wikipediaPage schema:about ?movie . { ?wikipediaPage schema:inLanguage \"en\" . } UNION { ?wikipediaPage schema:inLanguage \"de\" . } }", "paraphrases": ["Show me the Wikipedia articles in English and German about the film identified by tt0057183 on IMDb.", "Which Wikipedia pages in English and German discuss the movie with the IMDb identifier tt0057183?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0057183\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9574", "question": "What are the English and German Wikipedia articles for the movie with IMDb ID tt0236619?", "sparql": "SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 \"tt0236619\" . ?wikipedia_page schema:about ?movie . { ?wikipedia_page schema:inLanguage \"en\" . } UNION { ?wikipedia_page schema:inLanguage \"de\" . } }", "paraphrases": ["Show me the Wikipedia pages in English and German about the film identified by tt0236619 on IMDb.", "Which Wikipedia pages in English and German discuss the movie Pole Poppensp\u00e4ler?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0236619\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9575", "question": "What are the English and German Wikipedia and Wikiquote pages for the movie \"The Matrix\" (IMDb ID tt0133093)?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?wikipediaPage ?imdbId WHERE {\n  VALUES ?imdbId {\n    \"tt0133093\"\n  }\n  ?item wdt:P345 ?imdbId .\n  ?wikipediaPage schema:about ?item .\n  ?wikipediaPage schema:inLanguage ?lang .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n}", "paraphrases": ["Show me the language versions of the pages about The Matrix on Wikipedia and Wikiquote, specifically in English and German.", "Which language versions of pages link to the Wikidata item for The Matrix, and what is its IMDb identifier?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1330587\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9576", "question": "Wikipedia articles in English or German about the movie with IMDb ID tt0100651", "sparql": "SELECT ?item ?wikipediaPage ?imdbId WHERE { ?item wdt:P345 'tt0100651' . BIND('tt0100651' AS ?imdbId) . ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang IN ('en', 'de')) }", "paraphrases": ["What are the English or German Wikipedia articles about the film with IMDb ID tt0100651?", "Show me the English and German Wikipedia pages for the movie identified by the IMDb ID tt0100651."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0100651\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9577", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0367098?", "sparql": "SELECT ?item ?wikipediaPage WHERE { ?item wdt:P345 \"tt0367098\" . ?wikipediaPage schema:about ?item . { ?wikipediaPage schema:inLanguage \"en\" . } UNION { ?wikipediaPage schema:inLanguage \"de\" . } }", "paraphrases": ["Show me the Wikipedia articles in English and German about the film identified by tt0367098 on IMDb.", "Which Wikipedia pages in English or German discuss the movie with IMDb identifier tt0367098?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0367098\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9578", "question": "What movie has the Freebase ID /m/011yn5?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P646 \"/m/011yn5\" .\n}", "paraphrases": ["Which film is identified by the Freebase identifier /m/011yn5?", "Tell me the Wikidata item for the Freebase ID /m/011yn5."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P646> \"/m/011yn5\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_9579", "question": "Federal Chancellors of Germany, their gender, date of birth, place of birth, and height.", "sparql": "SELECT ?chancellorLabel ?genderLabel ?birthDate ?birthPlaceLabel ?height WHERE { ?chancellor wdt:P39 wd:Q4970706 . ?chancellor wdt:P21 ?gender . ?chancellor wdt:P569 ?birthDate . ?chancellor wdt:P19 ?birthPlace . ?chancellor wdt:P2048 ?height . ?chancellor rdfs:label ?chancellorLabel . ?gender rdfs:label ?genderLabel . ?birthPlace rdfs:label ?birthPlaceLabel . FILTER(LANG(?chancellorLabel) = \"en\") FILTER(LANG(?genderLabel) = \"en\") FILTER(LANG(?birthPlaceLabel) = \"en\") } LIMIT 100", "paraphrases": ["Who are the Federal Chancellors of Germany, and what are their gender, date of birth, place of birth, and height?", "List the Federal Chancellors of Germany along with their gender, date of birth, birthplace, and height in English."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3 ?var4Label ?var5 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q4970706> . ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P2048> ?var5 . } LIMIT 100"}}
{"id": "test_9580", "question": "Does Oliver Steurer have a Transfermarkt player ID of 156710?", "sparql": "ASK WHERE { ?player wdt:P2446 \"156710\" . }", "paraphrases": ["Is there a football player in Wikidata with the Transfermarkt ID 156710?", "Confirm if the Transfermarkt player ID 156710 corresponds to a known footballer in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2446> \"156710\". }"}}
{"id": "test_9581", "question": "Is Brian Koglin's Transfermarkt player ID 251975?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?player wdt:P2446 \"251975\" .\n}", "paraphrases": ["Does the footballer Brian Koglin have a Transfermarkt ID of 251975?", "Confirm if Transfermarkt player ID 251975 corresponds to Brian Koglin."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2446> \"251975\". }"}}
{"id": "test_9582", "question": "Cities with population over 10,000 in countries named \"United\"", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?city ?cityLabel ?population ?country ?countryLabel ?coordinates WHERE {\n  ?city ( wdt:P31 / wdt:P279 * ) wd:Q515 .\n  ?city wdt:P1082 ?population .\n  ?city wdt:P17 ?country .\n  ?city wdt:P625 ?coordinates .\n  ?country rdfs:label ?countryLabel .\n  ?city rdfs:label ?cityLabel .\n  FILTER ( ?population > 10000 && REGEX( ?countryLabel , \"United\" , \"i\" ) ) FILTER ( lang( ?countryLabel ) = \"en\" ) FILTER ( lang( ?cityLabel ) = \"en\" )\n}", "paraphrases": ["Which cities have a population greater than 10,000 and are located in a country whose name contains \"United\"?", "List all cities with more than 10,000 residents that are in the United States, United Kingdom, or United Arab Emirates, along with their coordinates and country names."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . FILTER ( ( ( ?var2 > \"10000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && REGEX ( ?var3Label , \"United\", \"i\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9583", "question": "What are the scientific publications indexed in PubMed Central and their corresponding PMC IDs?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?pmcId WHERE {\n  ?item wdt:P932 ?pmcId\n}\nLIMIT 1000", "paraphrases": ["List scholarly works with their PMC publication identifiers from Wikidata.", "Show me items that have a PMC ID and what those IDs are."], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P932> ?var2 . } LIMIT 4000000"}}
{"id": "test_9584", "question": "What are all the PMC IDs for scientific articles in Wikidata?", "sparql": "SELECT ?pmcId WHERE { ?article wdt:P932 ?pmcId . }", "paraphrases": ["Can you list the PubMed Central IDs of scholarly works stored in Wikidata?", "Show me the identifiers used by PubMed Central for academic publications in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P932> ?var1 . } LIMIT 1000000"}}
{"id": "test_9585", "question": "German or English Wikipedia page for the movie with IMDb ID tt6204830", "sparql": "SELECT ?item ?wikipediaPage WHERE { ?item wdt:P345 \"tt6204830\" . ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["What is the German or English Wikipedia page for the film \"American Guinea Pig: Sacrifice\"?", "Show me the English or German Wikipedia links for the movie identified by IMDb ID tt6204830."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6204830\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9586", "question": "What Wikimedia Commons category pages in English or German are associated with the movie with IMDb ID tt1167665?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?page ?imdbId WHERE {\n  VALUES ?imdbId {\n    \"tt1167665\"\n  }\n  ?item wdt:P345 ?imdbId .\n  ?page schema:about ?item .\n  ?page schema:inLanguage ?lang .\n  VALUES ?lang {\n    \"en\" \"de\"\n  }\n}", "paraphrases": ["Which Commons category pages in English or German are linked to the film identified by IMDb ID tt1167665?", "Show me the English or German-language Commons category pages about the movie with IMDb ID tt1167665."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1167665\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9587", "question": "List train wrecks, derailments, runaway trains, stampedes, and other disasters with their death toll, number of injured, and date.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?event ?disasterTypeLabel ?deaths ?injured ?date WHERE {\n  {\n    ?disasterType wdt:P31 wd:Q3839081 .\n  } UNION {\n    ?disasterType wdt:P31 wd:Q1078765 .\n  } UNION {\n    ?disasterType wdt:P31 wd:Q1331380 .\n  } UNION {\n    ?disasterType wdt:P31 wd:Q17005145 .\n  } UNION {\n    ?disasterType wdt:P31 wd:Q2165983 .\n  }\n  ?event wdt:P31 ?disasterType .\n  OPTIONAL {\n    ?event wdt:P1120 ?deaths .\n  }\n  OPTIONAL {\n    ?event wdt:P1339 ?injured .\n  }\n  OPTIONAL {\n    ?event wdt:P585 ?date .\n  }\n  ?disasterType rdfs:label ?disasterTypeLabel .\n  FILTER ( LANG( ?disasterTypeLabel ) = \"en\" )\n}\nLIMIT 10000", "paraphrases": ["What are specific disaster events (such as train crashes or stampedes) that have recorded death counts, injuries, and dates, and what type of disaster are they?", "Show me events classified as train wrecks, derailments, runaway trains, stampedes, or general disasters, along with how many people died, how many were injured, and when they occurred."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label ?var4 ?var5 ?var6 WHERE { { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3839081> . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1078765> . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1331380> . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q17005145> . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2165983> . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P1120> ?var4 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P1339> ?var5 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P585> ?var6 . } FILTER ( ( !( BOUND ( ?var1 ) ) ) ) . } LIMIT 10000"}}
{"id": "test_9588", "question": "Image of Lorenzo Costa from SNAC ARK ID w6j6987q", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6j6987q\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with Lorenzo Costa\u2019s SNAC ARK ID w6j6987q?", "Show me the Wikimedia Commons image linked to the SNAC ARK ID w6j6987q."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6j6987q\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9589", "question": "Image of the person with SNAC ARK ID w6bc53tm", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6bc53tm\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with Jean Capart in Wikidata?", "Can you show me the Wikimedia Commons image for the individual identified by the SNAC ARK ID w6bc53tm?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6bc53tm\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9590", "question": "Image of Red Auerbach with SNAC ARK ID w6378gv6", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6378gv6\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Red Auerbach\u2019s SNAC ARK ID (w6378gv6)?", "Show me the Wikimedia Commons image for the person identified by SNAC ARK ID w6378gv6."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6378gv6\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9591", "question": "What World Heritage Sites are shared between Spain and Portugal?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?site ?siteLabel WHERE {\n  ?site wdt:P1435 wd:Q9259 .\n  ?site wdt:P17 wd:Q29 .\n  ?site wdt:P17 wd:Q45 .\n  ?site rdfs:label ?siteLabel .\n  FILTER(LANG(?siteLabel) = \"en\")\n}\nLIMIT 9999", "paraphrases": ["List UNESCO World Heritage Sites that span both Spain and Portugal.", "Which cultural sites listed by UNESCO are located in both Spain and Portugal?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P1435> <http://www.wikidata.org/entity/Q9259> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q29> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q45> . } LIMIT 9999"}}
{"id": "test_9592", "question": "Brazilian football players without Spanish descriptions", "sparql": "SELECT DISTINCT ?player WHERE { ?player wdt:P31 wd:Q5 . ?player wdt:P106 wd:Q937857 . ?player wdt:P27 wd:Q155 . OPTIONAL { ?player schema:description ?desc . FILTER (LANG(?desc) = \"es\") } FILTER (!BOUND(?desc)) } LIMIT 2000", "paraphrases": ["Which Brazilian football players do not have a description in Spanish on Wikidata?", "List all Brazilian football players whose Wikidata pages lack a Spanish description."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q937857> . ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q155> . OPTIONAL { ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"es\" ) ) ) . } FILTER ( ( !( BOUND ( ?var3 ) ) ) ) . } LIMIT 2000"}}
{"id": "test_9593", "question": "Is there a Wikidata item with GND ID 1055119256?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P227 \"1055119256\" .\n}", "paraphrases": ["Does the GND ID 1055119256 exist in Wikidata?", "Confirm whether the German National Library ID 1055119256 is assigned to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"1055119256\". }"}}
{"id": "test_9594", "question": "What is the name of the journal with OpenEdition ID 2322?", "sparql": "SELECT ?journal ?label ?description WHERE { ?journal wdt:P4741 \"2322\" . ?journal rdfs:label ?label . OPTIONAL { ?journal schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Can you tell me the English description of the journal identified by OpenEdition ID 2322?", "Give me the label and English description of the journal that has the OpenEdition ID 2322."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4741> \"2322\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9595", "question": "People with a body mass of 74 or 75 kilograms in English.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?person ?mass ?label WHERE {\n  ?person wdt:P2067 ?mass .\n  OPTIONAL {\n    ?person rdfs:label ?label .\n  }\n  FILTER(?mass >= 73.5 && ?mass <= 75.5)\n  FILTER(LANG(?label) = \"en\")\n}\nLIMIT 190", "paraphrases": ["Who are the people whose weight is between 73.5 and 75.5 kg, and what are their English names?", "List the English names of people whose mass is approximately 74 kg."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2067> ?var2 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . } FILTER ( ( ( ?var2 > \"73.037\"^^<http://www.w3.org/2001/XMLSchema#float> ) && ( ?var2 < \"75.037\"^^<http://www.w3.org/2001/XMLSchema#float> ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . } LIMIT 190"}}
{"id": "test_9596", "question": "What English labels and descriptions do properties used to describe the Qur\u2019an have?", "sparql": "SELECT ?propertyItem ?propertyLabel ?propertyDescription WHERE { wd:Q428 ?property ?value . ?propertyItem wikibase:directClaim ?property . ?propertyItem rdf:type wikibase:Property . ?propertyItem rdfs:label ?propertyLabel . ?propertyItem schema:description ?propertyDescription . FILTER(LANG(?propertyLabel) = \"en\") . FILTER(LANG(?propertyDescription) = \"en\") } LIMIT 100", "paraphrases": ["Which properties are used to describe the Qur\u2019an in Wikidata, and what are their English labels and descriptions?", "List the English labels and descriptions of all properties that are used to provide information about the Qur\u2019an."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q428> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_9597", "question": "Is the tunnel de la Croix-Rousse a type of tunnel?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  wd:Q3331 wdt:P31 ?mid .\n  ?mid wdt:P279 * wd:Q44377 .\n}", "paraphrases": ["Does the tunnel de la Croix-Rousse belong to a class that is a subclass of tunnel?", "Show me the class hierarchy of the tunnel de la Croix-Rousse to confirm it is a tunnel."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q3331> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_9598", "question": "What is the name of the place with GeoNames ID 7531985?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P1566 \"7531985\" .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["Which Wikidata entity has the GeoNames identifier 7531985, and what is its English label?", "Tell me the English name of the geographical location identified by GeoNames ID 7531985."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1566> \"7531985\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9599", "question": "Number of academic papers citing \"Similar brain networks for detecting visuo-motor and visuo-proprioceptive synchrony\" by year, grouped by whether they have authors.", "sparql": "SELECT ?publicationYear (COUNT(DISTINCT ?citingWork) AS ?count) ?hasAuthor WHERE { wd:Q23888168 wdt:P2860 ?citingWork . ?citingWork wdt:P577 ?pubDate . BIND(STR(YEAR(?pubDate)) AS ?publicationYear) BIND(IF(EXISTS { ?citingWork wdt:P50 [] }, \"has author\", \"no author\") AS ?hasAuthor) } GROUP BY ?publicationYear ?hasAuthor ORDER BY DESC(?publicationYear)", "paraphrases": ["How many papers citing the article \"Similar brain networks for detecting visuo-motor and visuo-proprioceptive synchrony\" were published each year, and how many of them have listed authors?", "Show me a breakdown of the citing works of the article \"Similar brain networks for detecting visuo-motor and visuo-proprioceptive synchrony\" by publication year and whether they have authors, sorted from most recent to oldest."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q23888168> AS ?var5 ). ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var5 . OPTIONAL { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> ?var6 . } , \"string1\", \"string2\" ) AS ?var4 ). ?var5 <http://www.wikidata.org/prop/direct/P50> ?var6 . } BIND ( STR ( YEAR ( ?var7 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P577> ?var7 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_9600", "question": "Entities with Facebook usernames containing \"beatles\"", "sparql": "SELECT ?entity ?username WHERE { ?entity wdt:P2013 ?username . FILTER(CONTAINS(LCASE(?username), \"beatles\")) }", "paraphrases": ["Which entities have Facebook usernames that include the word \"beatles\"?", "Show me all entities that have a Facebook username containing \"beatles\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/P2013> / <http://www.wikidata.org/prop/statement/P2013> ) ?var2 . FILTER ( ( REGEX ( REPLACE ( STR ( ?var2 ) , \"%20\", \" \" ) , \"string1\" ) ) ) . }"}}
{"id": "test_9601", "question": "Female humans born in 1921 with their images and when the images were added to Wikidata.", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT ?human ?label ?image ?imageDate WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human wdt:P21 wd:Q6581072 .\n  ?human wdt:P569 ?birthDate .\n  FILTER ( ?birthDate >= \"1921-01-01T00:00:00Z\" ^^ xsd:dateTime ) FILTER ( ?birthDate < \"1922-01-01T00:00:00Z\" ^^ xsd:dateTime ) ?human p:P18 ?stmt .\n  ?stmt ps:P18 ?image .\n  ?stmt pq:P585 ?imageDate .\n  ?human rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}\nORDER BY ?label\nLIMIT 10", "paraphrases": ["Who are some female humans born in 1921, what do they look like (images), and when were those images uploaded to their Wikidata entries?", "Show me up to 10 female humans born in 1921, along with their English names, images from Wikimedia Commons, and the dates those images were added to their Wikidata profiles."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . ?var3 <http://www.wikidata.org/prop/direct/P585> ?var4 . FILTER ( ( ( ?var5 >= \"1921-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var5 < \"1922-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . } GROUP BY ?var1 ?var2 ?var3 ?var4 ORDER BY DESC( ?var1 ) LIMIT 10"}}
{"id": "test_9602", "question": "Who is the person with the VIAF ID 25962093?", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P214 \"25962093\" . ?item rdfs:label ?itemLabel FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["What is the English label of the Wikidata item that has the VIAF identifier 25962093?", "Can you tell me the name of the historical figure linked to the Virtual International Authority File ID 25962093?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/P214> <https://viaf.org/viaf/25962093> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_9603", "question": "Image of Anne-C\u00e9sar de la Luzerne with SNAC ARK ID w6sj1n4h", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6sj1n4h\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the Wikimedia Commons image of Anne-C\u00e9sar, Chevalier de la Luzerne?", "Show me the picture of the historical figure identified by SNAC ARK ID w6sj1n4h."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6sj1n4h\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9604", "question": "People born in 1795", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person WHERE {\n  ?person wdt:P569 ?birthDate .\n  FILTER(?birthDate >= \"1795-01-01T00:00:00Z\" ^^ xsd:dateTime && ?birthDate <= \"1795-12-31T23:59:59Z\" ^^ xsd:dateTime)\n}", "paraphrases": ["Who were born in the year 1795?", "List all individuals whose date of birth falls within the year 1795."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . FILTER ( ( ( ?var2 >= \"1795-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1795-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_9605", "question": "What are the Chinese labels and descriptions of properties used to describe DNS servers in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?property ?propertyLabel ?propertyDescription WHERE {\n  ?item ?prop wd:Q41494 .\n  BIND(IRI(REPLACE(STR(?prop) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\")) AS ?property)\n  .\n  ?property rdfs:label ?propertyLabel .\n  ?property schema:description ?propertyDescription .\n  FILTER(LANG(?propertyLabel) = \"zh\")\n  FILTER(LANG(?propertyDescription) = \"zh\")\n}\nLIMIT 100", "paraphrases": ["Which properties link to the DNS server (Q41494), and what are their Chinese labels and descriptions?", "Show me the Chinese names and descriptions of all properties that are used to relate entities to a DNS server."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q41494> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"zh\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"zh\" ) ) ) . } LIMIT 100"}}
{"id": "test_9606", "question": "What Wikidata items and properties have official websites?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?itemOrProperty WHERE {\n  ?itemOrProperty wdt:P856 ?website .\n}\nLIMIT 100", "paraphrases": ["Can you list some entities (including properties) in Wikidata that are associated with an official website?", "Which Wikidata properties and items have a homepage or official URL?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var2 . } LIMIT 100"}}
{"id": "test_9607", "question": "List awards won by film and television actors and directors, including the work they were awarded for and the year.", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?award ?awardLabel ?work ?workLabel ?date WHERE {\n  ?person wdt:P31 wd:Q5 .\n  {\n    ?person wdt:P106 wd:Q3455803 .\n  } UNION {\n    ?person wdt:P106 wd:Q33999 .\n  } UNION {\n    ?person wdt:P106 wd:Q2526255 .\n  } UNION {\n    ?person wdt:P106 wd:Q10800557 .\n  } UNION {\n    ?person wdt:P106 wd:Q10798782 .\n  } UNION {\n    ?person wdt:P106 wd:Q2059704 .\n  }\n  ?person p:P166 ?awardStatement .\n  ?awardStatement ps:P166 ?award .\n  ?awardStatement pq:P585 ?date .\n  ?awardStatement pq:P1686 ?work .\n  ?person rdfs:label ?personLabel .\n  ?award rdfs:label ?awardLabel .\n  ?work rdfs:label ?workLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n  FILTER(LANG(?awardLabel) = \"en\")\n  FILTER(LANG(?workLabel) = \"en\")\n}\nLIMIT 50", "paraphrases": ["Which awards have actors and directors received for specific films or TV shows, and when were they awarded?", "Show me a list of human actors and directors (film and TV) along with the awards they received, the creative work those awards were for, and the dates of the awards."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ( GROUP_CONCAT ( CONCAT ( ?var2Label , \";\", ?var4 , \";\", ?var3Label ) ; SEPARATOR = \"|\" ) AS ?var5 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q3455803> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q2526255> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q10800557> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q10798782> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q2059704> . } ?var1 <http://www.wikidata.org/prop/P166> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P166> ?var2 . ?var6 <http://www.wikidata.org/prop/qualifier/P585> ?var4 . ?var6 <http://www.wikidata.org/prop/qualifier/P1686> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en,fr\". } } GROUP BY ?var1 ?var1Label ?var2 ?var3 LIMIT 50"}}
{"id": "test_9608", "question": "Does the National Register of Historic Places ID 93000596 exist in Wikidata?", "sparql": "ASK WHERE { ?item wdt:P649 \"93000596\" . }", "paraphrases": ["Is there a historic place in the National Register of Historic Places with reference number 93000596?", "Confirm if the NRHP reference number 93000596 is registered in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P649> \"93000596\". }"}}
{"id": "test_9609", "question": "Parents of people who attended Eton College.", "sparql": "SELECT ?parent ?parentLabel ?child ?childLabel WHERE { ?parent wdt:P40 ?child . ?child wdt:P69 wd:Q192088 . ?parent rdfs:label ?parentLabel . ?child rdfs:label ?childLabel . FILTER(LANG(?parentLabel) = \"en\") FILTER(LANG(?childLabel) = \"en\") }", "paraphrases": ["Who are the parents of individuals educated at Eton College?", "List the names of parents and their children, where the children went to Eton College."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P40> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P69> <http://www.wikidata.org/entity/Q192088> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9610", "question": "Cities with names ending in \"ange\" and their coordinates", "sparql": "SELECT DISTINCT ?city ?label ?coordinates WHERE { ?city (wdt:P31/wdt:P279*) wd:Q515 ; rdfs:label ?label ; wdt:P625 ?coordinates . FILTER (REGEX(?label, \"^.*ange$\", \"i\")) } LIMIT 1000", "paraphrases": ["What are the cities whose names end in \"ange\" in any language, and what are their geographic coordinates?", "Show me all cities that have a name ending in \"ange\" in any language, along with the name in that language and their location coordinates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label ; <http://www.wikidata.org/prop/direct/P625> ?var2 . ?var3 <http://www.wikidata.org/prop/direct/P424> ?var4 . FILTER ( ( ( LANG ( ?var1Label ) = ?var4 ) ) ) . FILTER ( ( REGEX ( ?var1Label , \"^.*ange$\", \"i\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } LIMIT 1000"}}
{"id": "test_9611", "question": "Which entities on Wikidata have the Twitter usernames \"elonmusk\" or \"NASA\"?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"elonmusk\" \"NASA\" } }", "paraphrases": ["Wikidata entities with Twitter handle elonmusk or NASA", "Show me the entities associated with the Twitter accounts elonmusk and NASA."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"wolass\" ) ( \"string1\" ) } }"}}
{"id": "test_9612", "question": "Municipalities in Luxembourg ending in \"ange\" and their coordinates", "sparql": "SELECT ?municipality (SAMPLE(?label) AS ?municipalityLabel) ?coordinates WHERE { ?municipality (wdt:P31/wdt:P279*) wd:Q2919801 ; rdfs:label ?label ; wdt:P625 ?coordinates . FILTER (REGEX(?label, \".*ange$\", \"i\")) } GROUP BY ?municipality ?coordinates ORDER BY ?municipality LIMIT 1000", "paraphrases": ["What are the municipalities in Luxembourg whose names end in \"ange\", and where are they located?", "List all Luxembourg municipalities with names ending in \"ange\" along with their geographic coordinates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q2919801> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label ; <http://www.wikidata.org/prop/direct/P625> ?var2 . FILTER ( ( REGEX ( ?var1Label , \".*ange$\", \"i\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } LIMIT 1000"}}
{"id": "test_9613", "question": "What are the national-level councils in South Korea that are not part of any province or city?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?council ?councilLabel WHERE {\n  ?council wdt:P279 * wd:Q4358176 .\n  ?council wdt:P17 wd:Q884 . MINUS {\n    ?council wdt:P131 * ?adminDivision .\n    ?adminDivision wdt:P31 ?adminType .\n    VALUES ?adminType {\n      wd:Q4925355 wd:Q482821 wd:Q16181672 wd:Q11279677 wd:Q7574799\n    }\n  }\n  ?council rdfs:label ?councilLabel .\n  FILTER ( LANG( ?councilLabel ) = \"en\" )\n}", "paraphrases": ["List councils in South Korea that are directly under the national government and not subordinate to any administrative division.", "Which councils in South Korea are not located within any of its provinces or special cities?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q482821> ) ( <http://www.wikidata.org/entity/Q16181672> ) ( <http://www.wikidata.org/entity/Q29045219> ) ( <http://www.wikidata.org/entity/Q11279677> ) ( <http://www.wikidata.org/entity/Q4925355> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4358176> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q884> . MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P131> */ <http://www.wikidata.org/prop/direct/P31> ) ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_9614", "question": "What properties are used to describe CEFIC (European Chemical Industry Council) in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?propertyLabel ?propertyDescription WHERE {\n  wd:Q903905 ?prop ?value .\n  ?prop ^ wikibase:directClaim ?property .\n  ?property a wikibase:Property .\n  ?property rdfs:label ?propertyLabel .\n  ?property schema:description ?propertyDescription .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" ) FILTER ( LANG( ?propertyDescription ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Which Wikidata properties describe the European Chemical Industry Council, and what are their English labels and descriptions?", "Please list the English labels and descriptions of all Wikidata properties that are used in statements about CEFIC."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q903905> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_9615", "question": "What Swedish-labeled properties are related to the head of government (P6) in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?relatedProperty ?label ?description WHERE {\n  wd:P6 wdt:P1659 ?relatedProperty .\n  ?relatedProperty rdfs:label ?label .\n  ?relatedProperty schema:description ?description .\n  FILTER(LANG(?label) = \"sv\")\n  FILTER(LANG(?description) = \"sv\")\n}", "paraphrases": ["In Swedish, what is the label and description of the property related to head of government?", "Show me the Swedish label and description of any property that is related to head of government (P6)."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/P6> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"sv\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"sv\" ) ) ) . }"}}
{"id": "test_9616", "question": "What is the parent of Saturn, the parent of Titan?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?grandParentLabel WHERE {\n  wd:Q2565 wdt:P397 ?parent .\n  ?parent wdt:P397 ?grandParent .\n  ?grandParent rdfs:label ?grandParentLabel .\n  FILTER(LANG(?grandParentLabel) = \"en\")\n}", "paraphrases": ["Which celestial body does Saturn orbit, given that Titan orbits Saturn?", "What is the grandparent astronomical body of Titan?"], "info": {"raw_sparql": "SELECT ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } ?var2 <http://www.wikidata.org/prop/direct/P398> <http://www.wikidata.org/entity/Q2565> . ?var2 <http://www.wikidata.org/prop/direct/P397> ?var1 . } LIMIT 100"}}
{"id": "test_9617", "question": "What is the Russian label for the director of \"The Green Mile\" and who is the director in Russian?", "sparql": "SELECT ?property ?propertyLabel ?value ?valueLabel ?image WHERE { wd:Q208263 wdt:P57 ?value . wd:P57 rdfs:label ?propertyLabel . ?value rdfs:label ?valueLabel . OPTIONAL { ?value wdt:P18 ?image } FILTER(LANG(?propertyLabel) = \"ru\") FILTER(LANG(?valueLabel) = \"ru\") } ORDER BY ASC(?property) ASC(?value) LIMIT 1000", "paraphrases": ["Show me the director of the film \"The Green Mile\" in Russian, along with their image if available.", "In Russian, who directed \"The Green Mile\" and what is the Russian term for \"director\"?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4Label ?var5 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { BIND ( <http://www.wikidata.org/entity/Q208263> AS ?var3 ). BIND ( \"N/A\" AS ?var1 ). BIND ( \"identity\"@ru AS ?var2Label ). } UNION { <http://www.wikidata.org/entity/Q208263> ?var1 ?var3 . ?var6 ?var7 ?var1 . ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var5 . } FILTER ( ( ( LANG ( ?var4Label ) = \"ru\" ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = \"ru\" ) ) ) . } ORDER BY ASC( ?var1 )ASC( ?var3 ) LIMIT 1000"}}
{"id": "test_9618", "question": "What are all the properties and values associated with the film *The Hobbit: An Unexpected Journey*, along with their English labels and any images of the values?", "sparql": "SELECT ?property ?propertyLabel ?value ?valueLabel ?image WHERE { wd:Q80379 ?property ?value . OPTIONAL { ?property rdfs:label ?propertyLabel . FILTER ( LANG( ?propertyLabel ) = \"en\" ) } OPTIONAL { ?value rdfs:label ?valueLabel . FILTER ( LANG( ?valueLabel ) = \"en\" ) } OPTIONAL { ?value wdt:P18 ?image . } } ORDER BY ASC(?property) ASC(?value) LIMIT 100", "paraphrases": ["Show me the statements about *The Hobbit: An Unexpected Journey*, including the property names, object values, and images of those values \u2014 if available in English.", "List all the data linked to *The Hobbit: An Unexpected Journey* on Wikidata, showing the property, object, and any English labels or images for the objects."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4Label ?var5 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { BIND ( <http://www.wikidata.org/entity/Q80379> AS ?var3 ). BIND ( \"N/A\" AS ?var1 ). BIND ( \"identity\"@uk AS ?var2Label ). } UNION { <http://www.wikidata.org/entity/Q80379> ?var1 ?var3 . ?var6 ?var7 ?var1 . ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var5 . } FILTER ( ( ( LANG ( ?var4Label ) = \"uk\" ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = \"uk\" ) ) ) . } ORDER BY ASC( ?var1 )ASC( ?var3 ) LIMIT 1000"}}
{"id": "test_9619", "question": "List biologists with their English names, dates of birth, and English Wikipedia pages.", "sparql": "SELECT DISTINCT ?biologist ?name ?birthDate ?wikipediaPage WHERE { ?biologist wdt:P106 wd:Q864503 . ?biologist rdfs:label ?name . FILTER (LANG(?name) = \"en\") . ?wikipediaPage schema:about ?biologist . ?wikipediaPage schema:isPartOf <https://en.wikipedia.org/> . ?biologist wdt:P569 ?birthDate . }", "paraphrases": ["Who are the biologists on Wikidata, and what are their birth dates and corresponding English Wikipedia links?", "Can you provide the names, birth dates, and English Wikipedia URLs for all people whose occupation is biologist?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2Label ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q864503> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . ?var5 <http://schema.org/about> ?var1 . ?var5 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . }"}}
{"id": "test_9620", "question": "Who is Henri Hiegel in French Wikipedia data?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item WHERE {\n  ?item rdfs:label \"Henri Hiegel\" @fr .\n  ?item wdt:P31 wd:Q5 .\n}", "paraphrases": ["What is the Wikidata identifier for the French historian Henri Hiegel?", "Find the human entity in Wikidata whose French label is 'Henri Hiegel'."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Henri Hi\u00e9\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_9621", "question": "Properties and values of Kingsman: The Secret Service with labels and images", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?propertyLabel ?value ?valueLabel ?image WHERE {\n  wd:Q15068238 ?property ?value .\n  BIND(IRI(REPLACE(STR(?property) , \"http://www.wikidata.org/prop/direct/\" , \"http://www.wikidata.org/entity/\")) AS ?propertyEntity)\n  .\n  ?propertyEntity rdfs:label ?propertyLabel .\n  ?value rdfs:label ?valueLabel .\n  OPTIONAL {\n    ?value wdt:P18 ?image .\n  }\n  FILTER(LANG(?propertyLabel) = \"en\")\n  FILTER(LANG(?valueLabel) = \"en\")\n}\nORDER BY ?property ?value\nLIMIT 1000", "paraphrases": ["What are the properties and their values for the film Kingsman: The Secret Service, along with their English labels and associated images?", "Show me all the facts about the movie Kingsman: The Secret Service, including the property names, what they point to, their English labels, and any images of those values."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4Label ?var5 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { BIND ( <http://www.wikidata.org/entity/Q15068238> AS ?var3 ). BIND ( \"N/A\" AS ?var1 ). BIND ( \"identity\"@uk AS ?var2Label ). } UNION { <http://www.wikidata.org/entity/Q15068238> ?var1 ?var3 . ?var6 ?var7 ?var1 . ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var5 . } FILTER ( ( ( LANG ( ?var4Label ) = \"uk\" ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = \"uk\" ) ) ) . } ORDER BY ASC( ?var1 )ASC( ?var3 ) LIMIT 1000"}}
{"id": "test_9622", "question": "What are the Ukrainian labels of the values associated with the film Star Trek (2009), and what properties do they relate to?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?property ?propertyLabel ?valueLabel ?image WHERE {\n  wd:Q213081 ?property ?value .\n  OPTIONAL {\n    ?property rdfs:label ?propertyLabel FILTER ( LANG( ?propertyLabel ) = \"en\" )\n  }\n  ?value rdfs:label ?valueLabel FILTER ( LANG( ?valueLabel ) = \"uk\" ) .\n  OPTIONAL {\n    wd:Q213081 wdt:P18 ?image .\n  }\n}\nORDER BY ASC ( ?property ) ASC ( ?valueLabel )\nLIMIT 1000", "paraphrases": ["Show me the Ukrainian descriptions of actors, awards, and locations related to the 2009 Star Trek movie, along with the English names of the properties.", "List all Ukrainian-language facts about the 2009 Star Trek film, including its genre, awards, and filming locations, and show which properties they belong to."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4Label ?var5 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { BIND ( <http://www.wikidata.org/entity/Q213081> AS ?var3 ). BIND ( \"N/A\" AS ?var1 ). BIND ( \"identity\"@uk AS ?var2Label ). } UNION { <http://www.wikidata.org/entity/Q213081> ?var1 ?var3 . ?var6 ?var7 ?var1 . ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var5 . } FILTER ( ( ( LANG ( ?var4Label ) = \"uk\" ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = \"uk\" ) ) ) . } ORDER BY ASC( ?var1 )ASC( ?var3 ) LIMIT 1000"}}
{"id": "test_9623", "question": "Communes in France ending in \"ouin\" and their coordinates", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?commune ?communeLabel ?coordinates WHERE {\n  ?commune wdt:P31 wd:Q484170 ; rdfs:label ?communeLabel ; wdt:P625 ?coordinates .\n  FILTER(LANG(?communeLabel) = \"en\")\n  FILTER(REGEX(?communeLabel , \"ouin$\" , \"i\"))\n}\nLIMIT 1000", "paraphrases": ["What are the French communes whose names end in \"ouin\", and where are they located?", "List all communes in France with names ending in \"ouin\", along with their geographic coordinates in English."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q484170> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label ; <http://www.wikidata.org/prop/direct/P625> ?var2 . FILTER ( ( REGEX ( ?var1Label , \"ouin$\", \"i\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } LIMIT 1000"}}
{"id": "test_9624", "question": "What properties are used to describe the film Psycho (1960), and what are their values and labels in English?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?property ?propertyLabel ?value ?valueLabel ?image WHERE {\n  wd:Q163038 ?property ?value .\n  ?prop wikibase:directClaim ?property .\n  ?prop rdfs:label ?propertyLabel .\n  OPTIONAL {\n    ?value rdfs:label ?valueLabel .\n  }\n  OPTIONAL {\n    wd:Q163038 wdt:P18 ?image .\n  }\n  FILTER ( LANG( ?propertyLabel ) = \"en\" ) FILTER ( LANG( ?valueLabel ) = \"en\" || ! BOUND( ?valueLabel ) )\n}\nORDER BY ?property ?value\nLIMIT 1000", "paraphrases": ["Show me all the information about the movie Psycho, including the property names, their English labels, the values, and its image.", "List the direct properties of the film Psycho with their English labels, the values they point to, and its official image from Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4Label ?var5 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { BIND ( <http://www.wikidata.org/entity/Q163038> AS ?var3 ). BIND ( \"N/A\" AS ?var1 ). BIND ( \"identity\"@uk AS ?var2Label ). } UNION { <http://www.wikidata.org/entity/Q163038> ?var1 ?var3 . ?var6 ?var7 ?var1 . ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var5 . } FILTER ( ( ( LANG ( ?var4Label ) = \"uk\" ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = \"uk\" ) ) ) . } ORDER BY ASC( ?var1 )ASC( ?var3 ) LIMIT 1000"}}
{"id": "test_9625", "question": "Top 1000 Ethnologue language statuses by number of languages, with English labels and a sample language for each.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?status ?statusLabel ?languageCount ?sampleLanguage ?sampleLanguageLabel WHERE {\n  {\n    SELECT ?status(COUNT(*) AS ?languageCount)(SAMPLE(?language) AS ?sampleLanguage) WHERE {\n      ?language wdt:P3823 ?status .\n    }\n    GROUP BY ?status\n    ORDER BY DESC(?languageCount)\n    LIMIT 1000\n  }\n  OPTIONAL {\n    ?status rdfs:label ?statusLabel .\n    FILTER(LANG(?statusLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?sampleLanguage rdfs:label ?sampleLanguageLabel .\n    FILTER(LANG(?sampleLanguageLabel) = \"en\")\n  }\n}\nORDER BY DESC(?languageCount) ASC(?status)", "paraphrases": ["Which language status categories (EGIDS) have the most languages, and what is one example language for each, ranked by count?", "Show me the 1000 most common Ethnologue language status levels (EGIDS), including how many languages fall into each, their English labels, and one example language in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label WHERE { { SELECT ?var1 ( COUNT (* ) AS ?var2 )( SAMPLE ( ?var4 ) AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P3823> ?var1 . } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1000 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY DESC( ?var2 )ASC( ?var1 )"}}
{"id": "test_9626", "question": "What are the Russian-labeled objects associated with the film \"The Book of Eli\" and their images?", "sparql": "SELECT ?property ?object ?objectLabel ?image WHERE { wd:Q274529 ?property ?object . ?object rdfs:label ?objectLabel . OPTIONAL { ?object wdt:P18 ?image . } FILTER (LANG(?objectLabel) = \"ru\") . } ORDER BY ASC(?property) ASC(?object) LIMIT 1000", "paraphrases": ["Which objects linked to the movie \"The Book of Eli\" have Russian labels, and do they have images on Wikimedia Commons?", "Show me all the Russian-language labels of things related to \"The Book of Eli\" movie, along with any available images."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4Label ?var5 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { BIND ( <http://www.wikidata.org/entity/Q274529> AS ?var3 ). BIND ( \"N/A\" AS ?var1 ). BIND ( \"identity\"@ru AS ?var2Label ). } UNION { <http://www.wikidata.org/entity/Q274529> ?var1 ?var3 . ?var6 ?var7 ?var1 . ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var5 . } FILTER ( ( ( LANG ( ?var4Label ) = \"ru\" ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = \"ru\" ) ) ) . } ORDER BY ASC( ?var1 )ASC( ?var3 ) LIMIT 1000"}}
{"id": "test_9627", "question": "What are the Russian-language labels of entities connected to the film Fast & Furious (2009)?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?property ?value ?valueLabel ?image WHERE {\n  wd:Q380996 ?property ?value .\n  ?value rdfs:label ?valueLabel .\n  FILTER ( LANG( ?valueLabel ) = \"ru\" ) .\n  OPTIONAL {\n    ?value wdt:P18 ?image .\n  }\n}\nORDER BY ASC ( ?property ) ASC ( ?value )\nLIMIT 1000", "paraphrases": ["Which Russian-language names are associated with characters, locations, and genres in the movie Fast & Furious?", "Show me all Russian labels for things like cast members, genres, and filming locations related to the film Fast & Furious, along with their images if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4Label ?var5 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { BIND ( <http://www.wikidata.org/entity/Q380996> AS ?var3 ). BIND ( \"N/A\" AS ?var1 ). BIND ( \"identity\"@ru AS ?var2Label ). } UNION { <http://www.wikidata.org/entity/Q380996> ?var1 ?var3 . ?var6 ?var7 ?var1 . ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var5 . } FILTER ( ( ( LANG ( ?var4Label ) = \"ru\" ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = \"ru\" ) ) ) . } ORDER BY ASC( ?var1 )ASC( ?var3 ) LIMIT 1000"}}
{"id": "test_9628", "question": "What are the names of people or organizations and the coordinates of the places where they worked?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?personOrOrganizationLabel ?coordinate WHERE {\n  ?personOrOrganization wdt:P937 / wdt:P625 ?coordinate .\n  ?personOrOrganization rdfs:label ?personOrOrganizationLabel .\n  FILTER ( LANG( ?personOrOrganizationLabel ) = \"en\" )\n}", "paraphrases": ["Which individuals or entities have worked at locations with known geographic coordinates, and what are those coordinates?", "Show me the English names of people and the GPS coordinates of the locations where they were employed."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P937> / <http://www.wikidata.org/prop/direct/P625> ) ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9629", "question": "Does Jos\u00e9 Wallenstein have a GND ID of 1061992659?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P227 \"1061992659\" .\n}", "paraphrases": ["Is there a Wikidata item for the person with German National Library ID 1061992659?", "Does the identifier 1061992659 in the German National Library correspond to an entity in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"1061992659\". }"}}
{"id": "test_9630", "question": "States with population over 100,000, sorted by population descending", "sparql": "SELECT DISTINCT ?state ?stateLabel ?population WHERE { ?state wdt:P31 wd:Q7275 . ?state wdt:P1082 ?population . ?state rdfs:label ?stateLabel . FILTER(?population > 100000) FILTER(LANG(?stateLabel) = 'en') } ORDER BY DESC(?population) LIMIT 100", "paraphrases": ["Which states have a population greater than 100,000, and how large are their populations?", "List all states with more than 100,000 inhabitants, ordered from highest to lowest population."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7275> . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( ( ?var2 > \"100000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 )"}}
{"id": "test_9631", "question": "Who were the members of the 31st Parliament of the United Kingdom, and when and where were they born and died?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?dateOfBirth ?dateOfDeath ?placeOfBirth ?placeOfDeath WHERE {\n  ?person wdt:P39 wd:Q41582582 .\n  OPTIONAL {\n    ?person wdt:P569 ?dateOfBirth .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?dateOfDeath .\n  }\n  OPTIONAL {\n    ?person wdt:P19 ?placeOfBirth .\n  }\n  OPTIONAL {\n    ?person wdt:P20 ?placeOfDeath .\n  }\n}\nORDER BY ?person", "paraphrases": ["List the birth and death dates and locations of all members of the 31st UK Parliament.", "Can you provide the birth and death information for each person who served in the 31st Parliament of the United Kingdom?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4 ?var5Label ?var6 ?var7Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q41582582> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P20> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var8 )"}}
{"id": "test_9632", "question": "What is the image associated with the SNAC ARK ID w6k39k11?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6k39k11\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Is there an image on Wikimedia Commons for the entity identified by SNAC ARK ID w6k39k11?", "Show the Commons image for the item with SNAC ARK ID w6k39k11, if it exists."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6k39k11\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9633", "question": "Publication years and titles (first 20 chars) of Glenn Branch\u2019s works with page counts", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?year ?titleSnippet WHERE {\n  ?work wdt:P50 wd:Q5568701 .\n  ?work wdt:P1104 ?pages .\n  ?work rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) .\n  ?work wdt:P577 ?pubdate .\n  BIND( YEAR( ?pubdate ) AS ?year ) .\n  BIND( SUBSTR( ?label , 1 , 20 ) AS ?titleSnippet )\n}\nORDER BY ?year", "paraphrases": ["What are the publication years and shortened titles of Glenn Branch\u2019s books that have a specified number of pages?", "Show me the year and first 20 characters of the English title for each of Glenn Branch\u2019s publications that include a page count."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label WHERE { { SELECT ?var1 ( SAMPLE ( ?var4 ) AS ?var2 ) ?var3Label WHERE { { SELECT( STR ( ?var5 ) AS ?var1 )( \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var4 )( \"_\" AS ?var3Label ) WHERE { BIND ( YEAR ( ?var6 ) AS ?var5 ). ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q577> . ?var7 <http://www.wikidata.org/prop/direct/P585> ?var6 . { SELECT( MIN ( ?var5 ) AS ?var8 )( MAX ( ?var5 ) AS ?var9 ) WHERE { BIND ( YEAR ( ?var10 ) AS ?var5 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q5568701> . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var10 . } } FILTER ( ( ( ?var5 >= ?var8 ) && ( ?var5 <= ?var9 ) ) ) . } } UNION { BIND ( SUBSTR ( ?var12Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"20\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q5568701> . ?var11 <http://www.wikidata.org/prop/direct/P1104> ?var4 . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var6 . ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12Label . FILTER ( ( ( LANG ( ?var12Label ) = \"en\" ) ) ) . } } GROUP BY ?var1 ?var11 ?var3Label ORDER BY ASC( ?var1 ) } }"}}
{"id": "test_9634", "question": "People who died of stroke and their images", "sparql": "SELECT ?person ?label ?image WHERE { ?person wdt:P509 wd:Q12202 . OPTIONAL { ?person wdt:P18 ?image . } ?person rdfs:label ?label . FILTER(LANG(?label) = \"en\") } LIMIT 100", "paraphrases": ["Who are some people who died of stroke, and do we have photos of them?", "List the names in English of people whose cause of death was stroke, along with any available images from Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P509> <http://www.wikidata.org/entity/Q12202> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_9635", "question": "Public offices in Burkina Faso and the politicians holding them", "sparql": "SELECT DISTINCT ?office ?officeLabel ?politician ?politicianLabel WHERE { ?office wdt:P31 wd:Q294414 ; wdt:P1001 wd:Q965 . ?politician wdt:P39 ?office . ?office rdfs:label ?officeLabel . ?politician rdfs:label ?politicianLabel . FILTER(LANG(?officeLabel) = \"en\") FILTER(LANG(?politicianLabel) = \"en\") } ORDER BY ?office", "paraphrases": ["Who are the politicians holding public offices in Burkina Faso?", "List all ministerial positions in Burkina Faso along with the names of the people currently holding them."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q965> ) } ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7188> ; <http://www.wikidata.org/prop/direct/P1001> ?var1 . { ?var2 ( <http://www.wikidata.org/prop/direct/P527> |^ <http://www.wikidata.org/prop/direct/P361> ) ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q640506> . ?var4 <http://www.wikidata.org/prop/direct/P361> ?var3 . ?var4 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q82955> . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P361> ?var2 ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q294414> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY ASC( ?var1 )ASC( ?var2 )ASC( ?var3 )ASC( ?var4 )"}}
{"id": "test_9636", "question": "English and German Wikipedia pages about the movie with IMDb ID tt2139881.", "sparql": "SELECT ?movie ?page WHERE { ?movie wdt:P345 \"tt2139881\" . ?page schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["What are the English and German Wikipedia pages for the movie \"Long Shot\" (IMDb: tt2139881)?", "Show me the English and German language pages related to the movie identified by IMDb ID tt2139881."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2139881\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9637", "question": "What are the English and German Wikipedia and Wikiquote pages about the movie with IMDb ID tt0047577?", "sparql": "SELECT ?item ?page WHERE { ?item wdt:P345 \"tt0047577\" . ?page schema:about ?item ; schema:inLanguage ?lang . VALUES ?lang { \"en\" \"de\" } }", "paraphrases": ["Show me the language-specific pages (in English or German) linked to the movie \"This Island Earth\" on IMDb.", "Which Wikipedia and Wikiquote pages in English or German are about the film identified by the IMDb ID tt0047577?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0047577\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9638", "question": "List entities in Zambia with their English names and geographic coordinates.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel ?coordinates WHERE {\n  ?item wdt:P17 wd:Q953 .\n  OPTIONAL {\n    ?item wdt:P625 ?coordinates .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}\nLIMIT 300", "paraphrases": ["What are the English names and coordinates of places located in Zambia?", "Show me up to 300 items in Zambia, including their English labels and where available, their geographic coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q953> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } } LIMIT 300"}}
{"id": "test_9639", "question": "Properties associated with elderly people, excluding instance of.", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?property WHERE {\n  ?statement ?statementProperty wd:Q2191986 .\n  ?property wikibase:statementProperty ?statementProperty .\n  FILTER(?property != wd:P31)\n}", "paraphrases": ["What properties are used to describe entities in relation to elderly people, other than \"instance of\"?", "Show me all the ways entities are connected to elderly people in Wikidata, excluding the \"instance of\" relationship."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 ?var3 <http://www.wikidata.org/entity/Q2191986> . ?var1 <http://wikiba.se/ontology#statementProperty> ?var3 . FILTER ( ( ( ?var1 != <http://www.wikidata.org/entity/P31> ) ) ) . }"}}
{"id": "test_9640", "question": "What is the English description of the place with GeoNames ID 2055159?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?desc WHERE {\n  ?item wdt:P1566 \"2055159\" .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel\n  }\n  OPTIONAL {\n    ?item schema:description ?desc .\n    FILTER ( LANG( ?desc ) = \"en\" )\n  }\n}\nLIMIT 1", "paraphrases": ["Which entity has the GeoNames ID 2055159, and what is its English description?", "Show me the label and English description of the location identified by GeoNames ID 2055159."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> \"2055159\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9641", "question": "Which Wikidata lexemes and reference sources use '1024' as an identifier or page number?", "sparql": "SELECT ?item ?property WHERE {\n  ?item ?property \"1024\" .\n}", "paraphrases": ["What items in Wikidata have the value '1024' assigned to them, and what properties are used for these assignments?", "Show me all the entities and properties in Wikidata where the value '1024' is used, whether as a database ID or a page reference."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 \"1024\". }"}}
{"id": "test_9642", "question": "Top Wikidata classes with English or Korean labels and their instance counts", "sparql": "SELECT ?class (GROUP_CONCAT(DISTINCT ?enLabel; SEPARATOR=\", \") AS ?englishLabel) (GROUP_CONCAT(DISTINCT ?koLabel; SEPARATOR=\", \") AS ?koreanLabel) (COUNT(?item) AS ?instanceCount) WHERE { ?item wdt:P31 ?class . OPTIONAL { ?class rdfs:label ?enLabel . FILTER(LANG(?enLabel) = \"en\") } OPTIONAL { ?class rdfs:label ?koLabel . FILTER(LANG(?koLabel) = \"ko\") } FILTER(BOUND(?enLabel) || BOUND(?koLabel)) } GROUP BY ?class ORDER BY DESC(?instanceCount) LIMIT 10", "paraphrases": ["What are the most frequently used classes in Wikidata that have labels in English or Korean, and how many items belong to each?", "Show me the 10 most common types of entities in Wikidata that have English or Korean labels, along with how many instances each has and their labels."], "info": {"raw_sparql": "SELECT ?var1 ( GROUP_CONCAT ( DISTINCT ?var2 ) AS ?var3 )( GROUP_CONCAT ( DISTINCT ?var4 ) AS ?var5 )( GROUP_CONCAT ( DISTINCT ?var6 ) AS ?var7 )( COUNT (* ) AS ?var8 ) WHERE { ?var9 <http://www.wikidata.org/prop/direct/P31> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P279l> ?var2 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var6 . FILTER ( ( ( LANG ( ?var6 ) = \"ko\" ) ) ) . } } GROUP BY ?var1 ORDER BY DESC( ?var8 )"}}
{"id": "test_9643", "question": "What is the English label, image, and Italian Wikipedia article for the chemical compound glucose?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?image ?coordinates ?wikipediaArticle WHERE {\n  wd:Q37525 rdfs:label ?label .\n  FILTER ( LANG( ?label ) IN ( \"en\" , \"it\" , \"de\" , \"fr\" ) ) OPTIONAL {\n    wd:Q37525 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q37525 wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    ?wikipediaArticle schema:about wd:Q37525 ; schema:inLanguage \"it\" ; schema:isPartOf <https://it.wikipedia.org/> .\n  }\n  VALUES ( ?lang ?priority ) {\n    ( \"en\" 1 ) ( \"it\" 2 ) ( \"de\" 3 ) ( \"fr\" 4 )\n  }\n  FILTER ( ?lang = LANG( ?label ) )\n}\nORDER BY ?priority\nLIMIT 1", "paraphrases": ["Show me the preferred language label, image, and Italian Wikipedia link for glucose, prioritizing English over Italian, German, and French.", "Can you retrieve the image and Italian Wikipedia page for glucose, along with its label in one of the top four languages (English, Italian, German, French)?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { OPTIONAL { <https://query.wikidata.org/bigdata/namespace/wdq/C\u2086H\u2081\u2082O\u2086> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var5 ) ) ) . VALUES ( ?var5 ?var6 ) { ( \"it\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <https://query.wikidata.org/bigdata/namespace/wdq/C\u2086H\u2081\u2082O\u2086> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <https://query.wikidata.org/bigdata/namespace/wdq/C\u2086H\u2081\u2082O\u2086> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <https://query.wikidata.org/bigdata/namespace/wdq/C\u2086H\u2081\u2082O\u2086> ; <http://schema.org/inLanguage> \"it\"; <http://schema.org/isPartOf> <https://it.wikipedia.org/> . } } ORDER BY ASC( ?var6 )"}}
{"id": "test_9644", "question": "Who are some people who were executed, and when did they die?", "sparql": "SELECT ?person ?personLabel ?dateOfDeath ?causeLabel ?image WHERE { ?person wdt:P31 wd:Q5 ; wdt:P509 ?cause . ?cause wdt:P279* wd:Q8454 . OPTIONAL { ?person wdt:P570 ?dateOfDeath . } OPTIONAL { ?person wdt:P18 ?image . } ?person rdfs:label ?personLabel . ?cause rdfs:label ?causeLabel . FILTER(LANG(?personLabel) = 'en') . FILTER(LANG(?causeLabel) = 'en') . } ORDER BY ASC(?dateOfDeath)", "paraphrases": ["List people who died by capital punishment, including their cause of death and image if available, sorted by date of death.", "Show me a list of executed individuals with their cause of death and photo, ordered by when they died."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P31> ) <http://www.wikidata.org/entity/Q18669875> ; <http://www.wikidata.org/prop/direct/P509> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q8454> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var2 )"}}
{"id": "test_9645", "question": "French communes starting with \"plo\" and their coordinates", "sparql": "SELECT DISTINCT ?commune ?label ?coordinates WHERE { ?commune wdt:P31 wd:Q484170 ; rdfs:label ?label ; wdt:P625 ?coordinates . FILTER (LANG(?label) = 'fr') . FILTER (REGEX(STR(?label), \"^plo\", \"i\")) . } LIMIT 1000", "paraphrases": ["What are the communes in France whose French names start with \"plo\", and where are they located?", "List all communes in France with French labels beginning with \"plo\", along with their geographic coordinates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q484170> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label ; <http://www.wikidata.org/prop/direct/P625> ?var2 . FILTER ( ( REGEX ( ?var1Label , \"plo.*$\", \"i\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } LIMIT 1000"}}
{"id": "test_9646", "question": "National parks with coordinates and English or Czech labels", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?park ?coord ?label WHERE {\n  ?park wdt:P31 wd:Q46169 .\n  ?park wdt:P625 ?coord .\n  ?park rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" || LANG( ?label ) = \"cs\" )\n}", "paraphrases": ["What are the coordinates and names in English or Czech of all national parks?", "Show me the geographic coordinates and official names in English or Czech for every national park."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q46169> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . OPTIONAL { BIND ( \"string1\" AS ?var3 ). ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/inLanguage> \"cs,en\". } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs\". } }"}}
{"id": "test_9647", "question": "Politicians by occupation", "sparql": "SELECT ?politician ?label WHERE { ?politician wdt:P106 wd:Q82955 . ?politician rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["Who are the politicians in Wikidata with English labels?", "List the names of all people whose occupation is politician, in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82955> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,en\". } }"}}
{"id": "test_9648", "question": "What are the Dutch Wikipedia articles about tennis tournament editions, including their titles, languages, and Wikidata labels?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?tournamentEdition ?tournamentEditionLabel ?language ?articleTitle ?wikipediaSite ?articleUri WHERE {\n  ?tournamentEdition wdt:P31 wd:Q47345468 .\n  ?articleUri schema:about ?tournamentEdition ; schema:isPartOf ?wikipediaSite ; schema:name ?articleTitle ; schema:inLanguage ?language .\n  FILTER(?wikipediaSite = <https://nl.wikipedia.org/>)\n  OPTIONAL {\n    ?tournamentEdition rdfs:label ?tournamentEditionLabel .\n    FILTER(LANG(?tournamentEditionLabel) = \"en\")\n  }\n}", "paraphrases": ["Which tennis tournament editions have Dutch Wikipedia pages, and what are the article titles, languages, and English labels of those editions?", "Show me the Dutch Wikipedia articles linked to tennis tournament editions, along with their titles, languages, and corresponding English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q47345468> . MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q13219666> . } ?var5 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> ?var4 ; <http://schema.org/name> ?var3 ; <http://schema.org/inLanguage> ?var2 . FILTER ( ( ( ?var4 = <https://nl.wikipedia.org/> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_9649", "question": "Mathematical constants with numeric value greater than 2000", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?value WHERE {\n  ?item wdt:P1181 ?value .\n  FILTER ( ?value > 2000 ) .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}\nORDER BY ?value\nLIMIT 20", "paraphrases": ["Which numbers in Wikidata have a numeric value greater than 2000?", "List the English-labeled numbers that have a numeric value above 2000, along with their values."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { BIND ( STR ( ?var4 ) AS ?var3 ). ?var5 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q12503> ; ( <http://www.wikidata.org/prop/P1181> / <http://www.wikidata.org/prop/statement/value/P1181> / <http://wikiba.se/ontology#quantityAmount> ) ?var4 . FILTER ( ( ( ?var4 > \"2000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var1 ?var2 ?var3 . }"}}
{"id": "test_9650", "question": "Entities with Twitter usernames CityOfBoston, melroserugby, or deventergem.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"CityOfBoston\" \"melroserugby\" \"deventergem\"\n  }\n}", "paraphrases": ["Which organizations or places on Wikidata have the Twitter handles @CityOfBoston, @melroserugby, or @deventergem?", "Show me the Wikidata items that are associated with the Twitter usernames CityOfBoston, melroserugby, and deventergem."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"Veeqo\" ) ( \"vvn33\" ) ( \"yegor256\" ) ( \"vkozulya\" ) ( \"jbaruch\" ) ( \"string3\" ) ( \"string4\" ) } }"}}
{"id": "test_9651", "question": "What football clubs are headquartered in Milan?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?club ?clubLabel WHERE {\n  ?club wdt:P159 wd:Q490 .\n  ?club wdt:P31 / wdt:P279 * wd:Q476028 .\n  ?club rdfs:label ?clubLabel .\n  FILTER(LANG(?clubLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["List the English names of association football clubs based in Milan.", "Which soccer teams have their main office in the city of Milan?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1448> <http://www.wikidata.org/entity/Q490> . } LIMIT 100"}}
{"id": "test_9652", "question": "What are the direct subclass relationships in the hierarchy of mosques, including their English labels?", "sparql": "SELECT ?subclass ?subclassLabel ?superclass ?superclassLabel WHERE { wd:Q32815 wdt:P279* ?subclass . wd:Q32815 wdt:P279* ?superclass . ?subclass wdt:P279 ?superclass . ?subclass rdfs:label ?subclassLabel . ?superclass rdfs:label ?superclassLabel . FILTER(LANG(?subclassLabel) = 'en' && LANG(?superclassLabel) = 'en') } ORDER BY ?subclass", "paraphrases": ["Show me all the classes that are direct subclasses of other classes in the hierarchy leading up to a mosque, along with their English names.", "List the parent-child relationships among all types of buildings related to mosques, with their English labels."], "info": {"raw_sparql": "CONSTRUCT { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q32815> . ?var2 <http://www.wikidata.org/prop/direct/P279> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label } WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q32815> . ?var2 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q32815> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var2 <http://www.wikidata.org/prop/direct/P279> ?var1 . }"}}
{"id": "test_9653", "question": "What positions have humans held, and when did they start and end those positions?", "sparql": "SELECT DISTINCT ?positionLabel ?startDate ?endDate WHERE { ?human wdt:P31 wd:Q5 . ?human p:P39 ?statement . ?statement ps:P39 ?position . ?statement pq:P580 ?startDate . OPTIONAL { ?statement pq:P582 ?endDate . } ?position wdt:P31 wd:Q4164871 . ?position rdfs:label ?positionLabel . FILTER(LANG(?positionLabel) = \"en\") }", "paraphrases": ["List the names of public offices held by people along with the start and end dates of their tenure.", "Which individuals held which roles, and during what time periods?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2Label WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var3 <http://www.wikidata.org/prop/P39> ?var4 . ?var4 <http://www.wikidata.org/prop/qualifier/P580> ?var5 . ?var4 <http://www.wikidata.org/prop/statement/P39> ?var1 . OPTIONAL { ?var4 <http://www.wikidata.org/prop/qualifier/P582> ?var6 . } ?var4 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q4164871> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_9654", "question": "Female computer scientists born in Spain with their birthplace coordinates and images.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person ?image ?birthPlace ?coordinates WHERE {\n  ?person wdt:P21 wd:Q6581072 .\n  ?person wdt:P106 wd:Q82594 .\n  ?person wdt:P19 ?birthPlace .\n  ?birthPlace wdt:P131 * wd:Q29 .\n  OPTIONAL {\n    ?birthPlace wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["Who are the female computer scientists born in Spain, and where exactly were they born? Do any of them have images available?", "List all female computer scientists who were born in Spain, including the location of their birth and its geographic coordinates, and show any available images of them."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82594> . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q29> . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_9655", "question": "What are some examples of evaluation methods or systems?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?evaluationMethod ?evaluationMethodLabel WHERE {\n  ?evaluationMethod(wdt:P31 / wdt:P279) wd:Q1379672 .\n  ?evaluationMethod rdfs:label ?evaluationMethodLabel .\n  FILTER(LANG(?evaluationMethodLabel) = \"en\")\n}", "paraphrases": ["List all known instances and subclasses of evaluation in Wikidata.", "Can you show me the names of all evaluation techniques, assessments, or review methods?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q1379672> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_9656", "question": "French people with the surname Roellinger", "sparql": "SELECT DISTINCT ?person WHERE { ?person wdt:P31 wd:Q5 . ?person rdfs:label ?label . FILTER(LANG(?label) = \"fr\") . FILTER(REGEX(?label, \"Roellinger\", \"i\")) }", "paraphrases": ["Who are the French humans with the last name Roellinger?", "List all French individuals named Roellinger."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"roellinger\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_9657", "question": "People with anthroponym names and their fathers", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?father WHERE {\n  ?person ( wdt:P31 / wdt:P279 ) wd:Q10856962 .\n  ?person wdt:P22 ?father .\n  ?person rdfs:label ?personLabel .\n}", "paraphrases": ["Who are the people whose names are classified as anthroponyms, and who are their fathers?", "List all individuals known by names (like biblical or historical figures) and identify their fathers."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q10856962> . ?var1 <http://www.wikidata.org/prop/direct/P22> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_9658", "question": "Is there a historic place listed on the National Register of Historic Places with reference number 09001126?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?historicPlace wdt:P649 \"09001126\"\n}", "paraphrases": ["NRHP reference number 09001126 exists in Wikidata?", "Check if the National Register of Historic Places ID 09001126 is assigned to any historic site."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P649> \"09001126\". }"}}
{"id": "test_9659", "question": "Is there a historic place in the National Register of Historic Places with reference number 85000601?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P649 \"85000601\"\n}", "paraphrases": ["Does the National Register of Historic Places list a property with the reference number 85000601?", "Confirm if the NRHP ID 85000601 corresponds to a registered historic site in the United States."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P649> \"85000601\". }"}}
{"id": "test_9660", "question": "Properties related to \"named after\" in Wikidata", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?directProperty ?statementNode ?configProperty ( SAMPLE( ?qualifierProperty ) AS ?sampleQualifier ) ?directLabel ?configLabel WHERE {\n  {\n    SELECT DISTINCT ?directProperty ?statementNode ?configProperty WHERE {\n      ?statementNode ?statementProperty wd:P138 .\n      ?directProperty ?claimProperty ?statementNode .\n      ?configProperty wikibase:statementProperty ?statementProperty .\n      ?configProperty wikibase:claim ?claimProperty .\n      FILTER ( ?configProperty != wd:P31 )\n    }\n    LIMIT 101\n  }\n  OPTIONAL {\n    ?statementNode ?qualifierProperty ?qualifierValue .\n    ?qualifierConfig wikibase:qualifier ?qualifierProperty .\n  }\n  ?directProperty rdfs:label ?directLabel .\n  ?configProperty rdfs:label ?configLabel .\n  FILTER ( LANG( ?directLabel ) = \"en\" && LANG( ?configLabel ) = \"en\" )\n}\nGROUP BY ?directProperty ?statementNode ?configProperty ?directLabel ?configLabel", "paraphrases": ["Which properties or entity types in Wikidata are associated with the \"named after\" property?", "List all direct properties and entity types that use or are linked to the \"named after\" property via related property or type-specific property configurations."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/P138> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_9661", "question": "What are the parent categories of mushroom in the biological classification hierarchy, up to five levels above?", "sparql": "SELECT ?ancestor ?ancestorLabel WHERE { VALUES ?start { wd:Q83093 } { ?start wdt:P279 ?ancestor . } UNION { ?start wdt:P279 ?level1 . ?level1 wdt:P279 ?ancestor . } UNION { ?start wdt:P279 ?level1 . ?level1 wdt:P279 ?level2 . ?level2 wdt:P279 ?ancestor . } UNION { ?start wdt:P279 ?level1 . ?level1 wdt:P279 ?level2 . ?level2 wdt:P279 ?level3 . ?level3 wdt:P279 ?ancestor . } UNION { ?start wdt:P279 ?level1 . ?level1 wdt:P279 ?level2 . ?level2 wdt:P279 ?level3 . ?level3 wdt:P279 ?level4 . ?level4 wdt:P279 ?ancestor . } ?ancestor rdfs:label ?ancestorLabel . FILTER(LANG(?ancestorLabel) = \"en\") }", "paraphrases": ["List all the superclass categories of mushrooms in Wikidata, including indirect ones, up to five generations above.", "What broader biological classes does a mushroom belong to, tracing up the subclass tree up to five steps?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q83093> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9662", "question": "What items are the opposite of activity, and what qualifiers are associated with those statements?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?item ?statement ( SAMPLE( ?qualifier ) AS ?qualifierProperty ) WHERE {\n  ?statement ps:P461 wd:Q1914636 .\n  ?item p:P461 ?statement .\n  OPTIONAL {\n    ?statement ?qualifier ?qualifierValue .\n    ?qualifier wikibase:qualifier true .\n  }\n}\nGROUP BY ?item ?statement", "paraphrases": ["Which entities are stated to be the opposite of activity, and do those statements have any additional qualifiers?", "List all items that have activity as their opposite, and show any qualifier properties attached to those statements."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P461> <http://www.wikidata.org/entity/Q1914636> . ?var1 <http://www.wikidata.org/prop/P461> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_9663", "question": "What are some units of measurement?", "sparql": "SELECT ?unit ?unitLabel WHERE { ?unit wdt:P31 wd:Q47574 . ?unit rdfs:label ?unitLabel . FILTER(LANG(?unitLabel) = \"en\") } LIMIT 21", "paraphrases": ["List units of measurement with their names.", "Can you show me up to 21 examples of units of measurement along with their English labels?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q47574> . } LIMIT 21 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9664", "question": "Humans with the surname Raschella in French.", "sparql": "SELECT DISTINCT ?person WHERE { ?person rdfs:label ?label . FILTER(LANG(?label) = \"fr\") FILTER(CONTAINS(LCASE(?label), \"raschella\")) ?person wdt:P31 wd:Q5 .}", "paraphrases": ["Who are the French-named humans with \"Raschella\" in their name?", "List all humans whose French label contains \"Raschella\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"raschella\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_9665", "question": "Cities with population over 10,000, their countries, and types", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?city ?population ?country ?instanceType WHERE {\n  ?city ( wdt:P31 / wdt:P279 * ) wd:Q515 .\n  ?city p:P1082 ?stmt .\n  ?stmt ps:P1082 ?population .\n  ?city wdt:P17 ?country .\n  ?city wdt:P31 ?instanceType .\n  FILTER ( ?population >= 10000 )\n}", "paraphrases": ["Which cities have a population of at least 10,000, and what countries and classifications do they belong to?", "List all cities with more than 10,000 residents, along with their countries and what kind of entities they are."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var4 . FILTER ( ( ( ?var2 >= \"10000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9666", "question": "What are the most frequently cited research papers authored by scientists affiliated with Sungkyunkwan University?", "sparql": "SELECT (COUNT(DISTINCT ?citing_paper) AS ?citation_count) ?paper ?paper_title WHERE { { ?author wdt:P108 wd:Q41085 . } UNION { ?author wdt:P1416 wd:Q41085 . } UNION { ?author wdt:P1416 ?affil . ?affil wdt:P361 wd:Q41085 . } ?paper wdt:P50 ?author . ?paper wdt:P1476 ?paper_title . ?citing_paper wdt:P2860 ?paper . } GROUP BY ?paper ?paper_title ORDER BY DESC(?citation_count) LIMIT 20", "paraphrases": ["Which academic papers written by researchers at Sungkyunkwan University have received the highest number of citations?", "Show me the top 20 scholarly works linked to Sungkyunkwan University authors, ranked by how often they\u2019ve been cited by other publications."], "info": {"raw_sparql": "SELECT( COUNT ( DISTINCT ?var1 ) AS ?var2 ) ?var3 ?var3Label WHERE { { ?var4 <http://www.wikidata.org/prop/direct/P108> <http://www.wikidata.org/entity/Q41085> . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P1416> <http://www.wikidata.org/entity/Q41085> . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P1416> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q41085> . } ?var3 <http://www.wikidata.org/prop/P50> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P50> ?var4 . ?var6 <http://www.wikidata.org/prop/qualifier/P1545> \"1\". ?var1 <http://www.wikidata.org/prop/direct/P2860> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var7 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp,da\". } } GROUP BY ?var3 ?var3Label ORDER BY DESC( ?var2 ) LIMIT 20"}}
{"id": "test_9667", "question": "People with the surname Landelle in French labels.", "sparql": "SELECT DISTINCT ?person WHERE { ?person rdfs:label ?label . FILTER(LANG(?label) = 'fr') . FILTER(CONTAINS(LCASE(?label), 'landelle')) . ?person wdt:P31 wd:Q5 }", "paraphrases": ["Who are the humans whose French name includes \"Landelle\"?", "List all humans in Wikidata that have \"Landelle\" in their French label."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Landelle\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_9668", "question": "Does Wikidata contain an entry for the VIAF ID 159975238?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P214 \"159975238\" .\n}", "paraphrases": ["Is there a person in Wikidata identified by the VIAF number 159975238?", "Confirm if the Virtual International Authority File ID 159975238 is linked to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"159975238\". }"}}
{"id": "test_9669", "question": "Does Wikidata contain an entry for the GND ID 1121707157?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P227 \"1121707157\" .\n}", "paraphrases": ["Is there a person in Wikidata identified by the GND number 1121707157?", "Check if the German National Library ID 1121707157 is registered in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"1121707157\". }"}}
{"id": "test_9670", "question": "What are some English-language song titles that contain the word \"you\"?", "sparql": "SELECT DISTINCT ?track ?trackLabel WHERE { ?track wdt:P31 wd:Q7302866 . ?track rdfs:label ?trackLabel . FILTER (CONTAINS(LCASE(?trackLabel), \"you\")) FILTER (LANG(?trackLabel) = \"en\") } LIMIT 100", "paraphrases": ["Show me audio tracks with \"you\" in their English titles.", "List songs where the title includes the word \"you\" in English."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7302866> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( CONTAINS ( LCASE ( ?var1Label ) , \"you\" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_9671", "question": "What paintings by Vincent van Gogh are held in the Museum of Modern Art\u2019s collection?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?painting ?paintingLabel WHERE {\n  ?painting wdt:P31 wd:Q3305213 .\n  ?painting wdt:P170 wd:Q5582 .\n  ?painting wdt:P195 wd:Q188740 .\n  ?painting rdfs:label ?paintingLabel .\n  FILTER ( LANG( ?paintingLabel ) = \"en\" )\n}", "paraphrases": ["Which artworks created by Vincent van Gogh belong to MoMA?", "Show me the titles of Vincent van Gogh\u2019s paintings that are part of the Museum of Modern Art\u2019s collection."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q174219> . ?var1 <http://www.wikidata.org/prop/direct/P170> <http://www.wikidata.org/entity/Q5582> . ?var1 <http://www.wikidata.org/prop/direct/P195> <http://www.wikidata.org/entity/Q188740> . }"}}
{"id": "test_9672", "question": "Audio tracks with 'track' in their title", "sparql": "SELECT ?track ?trackLabel WHERE { ?track wdt:P31 wd:Q7302866 . ?track rdfs:label ?trackLabel . FILTER (CONTAINS(LCASE(?trackLabel), \"track\")) } LIMIT 1000", "paraphrases": ["What are the audio tracks whose names contain the word 'track'?", "Show me audio tracks that have 'track' in their label."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7302866> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( CONTAINS ( LCASE ( ?var1Label ) , \"string1\" ) ) ) . } LIMIT 1000"}}
{"id": "test_9673", "question": "Image of the person with SNAC ARK ID w6t17f5w", "sparql": "SELECT ?image WHERE { ?person wdt:P3430 \"w6t17f5w\" . ?person wdt:P18 ?image . }", "paraphrases": ["What image is linked to the entity with SNAC ARK ID w6t17f5w?", "Show me the Wikimedia Commons image for the individual identified by SNAC ARK ID w6t17f5w."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6t17f5w\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9674", "question": "What is the image of the person with SNAC ARK ID w6v42284?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6v42284\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Can you show me the Wikimedia Commons image associated with James Alexander Williamson\u2019s archival record?", "Show the photo linked to the SNAC ARK ID w6v42284 in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6v42284\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9675", "question": "What property is most commonly used to indicate who has held the position of Governing Mayor of Berlin?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nSELECT ?property(COUNT(?property) AS ?count) WHERE {\n  ?person ?claim wd:Q641159 .\n  ?property wikibase:directClaim ?claim .\n  ?property rdf:type wikibase:Property .\n}\nGROUP BY ?property\nORDER BY DESC(?count)\nLIMIT 1", "paraphrases": ["How many people have held the position of Governing Mayor of Berlin, and which Wikidata property is used to record this?", "Show me the Wikidata property that is used most frequently to state that someone is the Governing Mayor of Berlin, along with the count of its uses."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q641159> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_9676", "question": "Businesses in France and their founding dates", "sparql": "SELECT ?business ?businessLabel ?foundingDate WHERE { ?business wdt:P31 wd:Q4830453 . ?business wdt:P17 wd:Q142 . ?business wdt:P571 ?foundingDate . ?business rdfs:label ?businessLabel . FILTER(LANG(?businessLabel) = \"en\") }", "paraphrases": ["What are the names and founding dates of businesses located in France?", "List all businesses in France along with the years they were founded."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4830453> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q142> . ?var1 <http://www.wikidata.org/prop/direct/P571> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_9677", "question": "What journals has John Westbrook published in most frequently, and what are their abbreviated names?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?publication ?publicationLabel(COUNT(?work) AS ?count) WHERE {\n  ?work wdt:P50 wd:Q46330054 .\n  ?work wdt:P1433 ?publication .\n  ?publication rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    ?publication wdt:P1813 ?shortName .\n  }\n  BIND(COALESCE(?shortName , ?label) AS ?publicationLabel)\n}\nGROUP BY ?publication ?publicationLabel\nORDER BY DESC(?count)", "paraphrases": ["Which journals have published the most papers by John Westbrook, and how are they commonly abbreviated?", "Show me a list of journals where John Westbrook has published, ordered by publication count, using abbreviations where available."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q46330054> . ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1813> ?var6 . } BIND ( COALESCE ( ?var6 , ?var5Label ) AS ?var2Label ). } GROUP BY ?var1 ?var2Label ORDER BY DESC( ?var4 )"}}
{"id": "test_9678", "question": "English and German Wikipedia pages for the movie with IMDb ID tt5311542.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?page WHERE {\n  ?item wdt:P345 \"tt5311542\" .\n  ?page schema:about ?item .\n  FILTER ( STRSTARTS( STR( ?page ) , \"https://en.wikipedia.org/\" ) || STRSTARTS( STR( ?page ) , \"https://de.wikipedia.org/\" ) )\n}", "paraphrases": ["What are the English and German Wikipedia articles about the film with IMDb ID tt5311542?", "Show me the English and German Wikipedia pages linked to the movie \"Never Look Away\" (IMDb: tt5311542)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5311542\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9679", "question": "What are the cities in Ukraine and their elevations above sea level?", "sparql": "SELECT ?city ?cityLabel ?elevation WHERE { ?city wdt:P31 wd:Q515 . ?city wdt:P17 wd:Q212 . OPTIONAL { ?city wdt:P2044 ?elevation . } OPTIONAL { ?city rdfs:label ?cityLabel . FILTER(LANG(?cityLabel) = \"en\") } } LIMIT 100", "paraphrases": ["Can you list Ukrainian cities along with how high above sea level they are?", "Which cities in Ukraine have recorded elevations, and what are those elevations in meters?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"uk,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q212> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P610> ?var2 . } } LIMIT 100"}}
{"id": "test_9680", "question": "English and German Wikipedia pages about the movie Picnic at Hanging Rock (IMDb tt0073540)", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?page WHERE {\n  ?movie wdt:P345 \"tt0073540\" .\n  {\n    ?page schema:about ?movie ; schema:inLanguage \"en\" .\n  } UNION {\n    ?page schema:about ?movie ; schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["What English and German language Wikimedia pages are about the film Picnic at Hanging Rock?", "List all pages in English or German that are about the movie with IMDb ID tt0073540."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0073540\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9681", "question": "Humans with \"Testaud\" in their French label", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person WHERE {\n  ?person rdfs:label ?label .\n  FILTER(LANG(?label) = \"fr\")\n  .\n  FILTER(REGEX(?label , \"Testaud\" , \"i\"))\n  .\n  ?person wdt:P31 wd:Q5\n}", "paraphrases": ["Who are the humans whose French name includes \"Testaud\"?", "List all people named Testaud in French."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"testaud\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_9682", "question": "What are the English and German Wikipedia pages about the movie with IMDb ID tt0133093?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipedia_page WHERE {\n  VALUES ?imdb {\n    \"tt0133093\"\n  }\n  ?movie wdt:P345 ?imdb .\n  ?wikipedia_page schema:about ?movie .\n  ?wikipedia_page schema:inLanguage ?lang .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n}", "paraphrases": ["Show me the Wikipedia articles in English and German for the film The Matrix.", "I want to find the Wikipedia pages in English and German related to the movie identified by tt0133093."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt4394452\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9683", "question": "Female German politicians", "sparql": "SELECT ?politician ?politicianLabel WHERE { ?politician wdt:P106 wd:Q82955 . ?politician wdt:P31 wd:Q5 . ?politician wdt:P21 wd:Q6581072 . ?politician wdt:P27 wd:Q183 . ?politician rdfs:label ?politicianLabel . FILTER(LANG(?politicianLabel) = \"en\") } LIMIT 100", "paraphrases": ["Who are the female politicians who are citizens of Germany?", "List the English names of all female human politicians from Germany."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82955> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q183> . } LIMIT 100"}}
{"id": "test_9684", "question": "Humans with the family name Lafaurie", "sparql": "SELECT DISTINCT ?item WHERE { ?item wdt:P734 wd:Q37458483 . ?item wdt:P31 wd:Q5 }", "paraphrases": ["Who are the people whose family name is Lafaurie?", "List all humans who have Lafaurie as their family name."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"lafaurie\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_9685", "question": "What are the English and German Wikipedia or Wikiquote pages about the movie with IMDb ID tt0113636?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?page ?imdbId WHERE {\n  ?movie wdt:P345 \"tt0113636\" .\n  ?page schema:about ?movie .\n  ?page schema:inLanguage ?lang .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n  .\n  ?movie wdt:P345 ?imdbId .\n}", "paraphrases": ["Show me the language versions of pages about Leprechaun 3 on Wikipedia and Wikiquote in English and German.", "Which language editions of external pages link to the movie Leprechaun 3 (IMDb: tt0113636)?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0113636\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9686", "question": "Subclasses of album and their immediate parent classes in Wikidata.", "sparql": "SELECT ?subclass ?directParent WHERE { ?subclass wdt:P279* wd:Q482994 . OPTIONAL { ?subclass wdt:P279 ?directParent . } } LIMIT 100", "paraphrases": ["What are the different types of albums and what class does each one directly belong to?", "List all subclasses of the album category along with their direct parent classes."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q33056> ) } ?var1 <http://www.wikidata.org/prop/direct/P279> * ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } }"}}
{"id": "test_9687", "question": "What are all the properties and values associated with the statement that leprosy is a subclass of primary bacterial infectious disease?", "sparql": "PREFIX s: <http://www.wikidata.org/entity/statement/>\nSELECT ?property ?value WHERE {\n  s:Q36956-95A8F53C-CA5F-4591-892E-66A254D3F493 ?property ?value .\n}", "paraphrases": ["Show all the metadata (like rank, references, and type) for the statement claiming leprosy is a subclass of primary bacterial infectious disease.", "List all the triples linked to the statement with ID s:Q36956-95A8F53C-CA5F-4591-892E-66A254D3F493."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q36956-95A8F53C-CA5F-4591-892E-66A254D3F493> ?var1 ?var2 . }"}}
{"id": "test_9688", "question": "What are all the properties and values associated with the gene Gm40301 in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?value WHERE {\n  wd:Q20953493 ?property ?value .\n}", "paraphrases": ["Show me all the information available for the mouse gene Gm40301.", "What does Wikidata say about the non-coding RNA gene Gm40301?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q40301-5243BB7D-2CDA-4447-B9A7-F2310CF04EFB> ?var1 ?var2 . }"}}
{"id": "test_9689", "question": "English and German Wikipedia pages for the movie with IMDb ID tt0111161", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipedia_page ?lang WHERE {\n  ?movie wdt:P345 \"tt0111161\" .\n  ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang .\n  FILTER ( STRSTARTS( STR( ?wikipedia_page ) , \"https://en.wikipedia.org/\" ) || STRSTARTS( STR( ?wikipedia_page ) , \"https://de.wikipedia.org/\" ) )\n}", "paraphrases": ["What are the English and German Wikipedia articles about the movie \"The Shawshank Redemption\"?", "Show me the links to the English and German Wikipedia pages for the movie identified by IMDb ID tt0111161."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt3195878\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9690", "question": "What is the Wikidata item for the album with MusicBrainz Release Group ID 962?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?album ?albumLabel ?description WHERE {\n  ?album wdt:P436 \"9162580e-5df4-32de-80cc-f45a8d8a9b1d\" .\n  OPTIONAL {\n    ?album rdfs:label ?albumLabel .\n    FILTER(LANG(?albumLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?album schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Show the English label and description of the Beatles album with MusicBrainz ID 962.", "Retrieve the title and description in English for the album identified by MusicBrainz Release Group ID 962."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4211> \"962\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9691", "question": "What is the English title of the MoMA artwork with ID 118019?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P2014 \"118019\" .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" ) .\n  OPTIONAL {\n    ?item schema:description ?description FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["Can you find the English label and description for the MoMA piece identified by the work ID 118019?", "Which artwork at the Museum of Modern Art has the ID 118019, and what is its English name?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2014> \"118009\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9692", "question": "What properties are most frequently used to link people to the profession of test pilot?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(COUNT(?person) AS ?count) WHERE {\n  ?person ?property wd:Q730242 .\n}\nGROUP BY ?property\nHAVING(?count > 1)\nORDER BY DESC(?count)", "paraphrases": ["Which properties connect the most individuals to the role of test pilot, and how many times are they used?", "Show me the properties that associate people with being a test pilot, sorted by how often they appear, excluding those used only once."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q730242> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_9693", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt1869453?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipedia_page WHERE {\n  ?movie wdt:P345 \"tt1869453\" .\n  ?wikipedia_page schema:about ?movie .\n  {\n    ?wikipedia_page schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipedia_page schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Which Wikipedia articles in English or German are about the movie identified by IMDb ID tt1869453?", "Show me the Wikipedia page in English or German for the movie with IMDb ID tt1869453."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1869453\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9694", "question": "What classes and subclasses are connected to Sweden through instance-of relationships within two steps?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?entity ?entityLabel ?type WHERE {\n  {\n    wd:Q34 wdt:P31 ?entity .\n  } UNION {\n    ?entity wdt:P31 wd:Q34 .\n  } UNION {\n    wd:Q34 wdt:P31 ?mid .\n    ?mid wdt:P31 ?entity .\n  } UNION {\n    ?entity wdt:P31 ?mid .\n    ?mid wdt:P31 wd:Q34 .\n  }\n  ?entity rdfs:label ?entityLabel .\n  FILTER(LANG(?entityLabel) = \"en\")\n  OPTIONAL {\n    ?entity wdt:P31 ?type .\n  }\n}", "paraphrases": ["What entities are one or two steps away from Sweden via \"instance of\" relationships, and what are their own types?", "Show me all entities related to Sweden by up to two \"instance of\" links, along with their labels and what they are instances of."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q34> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P31> . } } UNION { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q34> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Reverse\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P31> . } } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9695", "question": "Portuguese citizens and their siblings with English labels", "sparql": "SELECT ?person ?personLabel ?sibling ?siblingLabel WHERE { ?person wdt:P27 wd:Q45 . ?person wdt:P3373 ?sibling . OPTIONAL { ?person wdt:P1477 ?personLabel } OPTIONAL { ?sibling wdt:P1477 ?siblingLabel } } LIMIT 100", "paraphrases": ["Who are the Portuguese citizens who have siblings, and what are the English names of both the citizens and their siblings?", "List up to 100 pairs of siblings where at least one is a Portuguese citizen, showing their English names if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/P3373> / <http://www.wikidata.org/prop/statement/P3373> ) ?var2 . MINUS { ?var2 ( <http://www.wikidata.org/prop/P3373> / <http://www.wikidata.org/prop/statement/P3373> ) ?var1 . } ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q45> . } LIMIT 100 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs,sk,en\". } }"}}
{"id": "test_9696", "question": "Siblings of Dutch citizens where the reverse relationship is not recorded.", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?person1 ?person1Label ?sibling ?siblingLabel WHERE {\n  ?person1 wdt:P27 wd:Q55 .\n  ?person1 p:P3373 ?stmt .\n  ?stmt ps:P3373 ?sibling . MINUS {\n    ?sibling p:P3373 ?stmt2 .\n    ?stmt2 ps:P3373 ?person1 .\n  }\n  ?person1 rdfs:label ?person1Label .\n  ?sibling rdfs:label ?siblingLabel .\n  FILTER ( LANG( ?person1Label ) = \"en\" ) FILTER ( LANG( ?siblingLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Who are the siblings of Dutch citizens, but those siblings do not list the original person as their sibling?", "List pairs of siblings where one is a citizen of the Netherlands and the other does not reciprocate the sibling relationship in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/P3373> / <http://www.wikidata.org/prop/statement/P3373> ) ?var2 . MINUS { ?var2 ( <http://www.wikidata.org/prop/P3373> / <http://www.wikidata.org/prop/statement/P3373> ) ?var1 . } ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q55> . } LIMIT 100 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs,sk,en\". } }"}}
{"id": "test_9697", "question": "People born in Amman who are monarchs, with their images and birth dates.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?image ?dateOfBirth WHERE {\n  ?person wdt:P19 wd:Q3805 .\n  ?person wdt:P18 ?image .\n  ?person wdt:P569 ?dateOfBirth .\n  ?person wdt:P106 wd:Q116 .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}\nLIMIT 1000", "paraphrases": ["Who are the monarchs born in Amman, and what are their images and dates of birth?", "Show me the names, images, and birth dates of people born in Amman whose occupation is monarch."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q3805> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P39> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q116> . } LIMIT 1000"}}
{"id": "test_9698", "question": "Which Wikidata entities have Twitter usernames 'elonmusk' or 'realDonaldTrump'?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?username WHERE {\n  ?person wdt:P2002 ?username .\n  VALUES ?username {\n    \"elonmusk\" \"realDonaldTrump\"\n  }\n}\nORDER BY ASC ( ?username )", "paraphrases": ["Who are the people on Wikidata with the Twitter usernames 'elonmusk' and 'realDonaldTrump'?", "Show me the people associated with the Twitter accounts 'elonmusk' and 'realDonaldTrump' in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"Shrubbette\" ) ( \"bombsfall\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_9699", "question": "List all prefectures of Japan.", "sparql": "SELECT ?prefecture ?label WHERE { ?prefecture wdt:P31 wd:Q50337 . ?prefecture rdfs:label ?label . FILTER(LANG(?label) = 'en') }", "paraphrases": ["What are the administrative divisions of Japan known as prefectures?", "Show me the names of all entities classified as prefectures of Japan."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q50337> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_9700", "question": "Tennis tournaments that are not yearly editions or recurring events", "sparql": "SELECT ?tournament ?tournamentLabel WHERE { ?tournament wdt:P31 wd:Q13219666 . MINUS { ?tournament wdt:P31 wd:Q47345468 . } MINUS { ?tournament wdt:P31 wd:Q47443726 . } ?tournament rdfs:label ?tournamentLabel . FILTER(LANG(?tournamentLabel) = \"en\")}", "paraphrases": ["What are the tennis tournaments that are not part of a recurring series and not specific yearly editions?", "List standalone tennis tournaments that occur only once and are not part of a recurring competition."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13219666> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q47345468> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q47443726> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en,it,es,de,fr\". } }"}}
{"id": "test_9701", "question": "Is the Lampung Api language spoken in Indonesia and classified as a language?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ( 1 AS ?result ) WHERE {\n  wd:Q49215 wdt:P17 wd:Q252 .\n  wd:Q49215 ( wdt:P31 / wdt:P279 * ) wd:Q34770 .\n}", "paraphrases": ["Does the Lampung Api language, which is spoken in Indonesia, belong to the category of languages through any classification path?", "Show that Lampung Api is a language spoken in Indonesia by listing its classification paths."], "info": {"raw_sparql": "SELECT( \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var1 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q252> . { ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q34770> . VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q49215> ) } } UNION { ?var2 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q34770> . VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q49215> ) } } VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q49215> ) } }"}}
{"id": "test_9702", "question": "What is the English label and description of the Open Food Facts category \"oat-milks\"?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P1821 \"oat-milks\" .\n  ?item rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["What is the name and English description of the Wikidata item for oat milk as classified by Open Food Facts?", "Show me the English label and description for the Open Food Facts food category \"oat-milks\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1821> \"oat-milks\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9703", "question": "What properties in Wikidata have constraints, and what types of constraints are applied to them?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT DISTINCT ?property ?propertyLabel ?constraintType ?constraintTypeLabel WHERE {\n  ?property p:P2302 ?constraint .\n  ?constraint ps:P2302 ?constraintType .\n  ?property rdfs:label ?propertyLabel .\n  ?constraintType rdfs:label ?constraintTypeLabel .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" ) FILTER ( LANG( ?constraintTypeLabel ) = \"en\" )\n}", "paraphrases": ["Can you list all Wikidata properties along with the names of the constraints that are enforced on them?", "Which Wikidata properties are subject to format, scope, or item-requires-statement constraints, and what are those constraint types called?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2Label WHERE { ?var2 <http://www.wikidata.org/prop/P2302> ?var1 . ?var1 <http://www.wikidata.org/prop/qualifier/P2309> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_9704", "question": "What Wikidata properties require their subject to be an instance of a specific class?", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT DISTINCT ?property ?constraintType WHERE {\n  ?property p:P2302 ?statement .\n  ?statement ps:P2302 wd:Q21503250 .\n  ?statement pq:P2309 ?constraintType .\n}", "paraphrases": ["Which properties have a constraint that their subject must be an instance of something, and what is that constraint type?", "List all properties with subject type constraints and their associated constraint types (e.g., \"instance of\")."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2Label WHERE { ?var2 <http://www.wikidata.org/prop/P2302> ?var1 . ?var1 <http://www.wikidata.org/prop/statement/P2302> <http://www.wikidata.org/entity/Q21503250> . ?var1 <http://www.wikidata.org/prop/qualifier/P2309> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_9705", "question": "What country is the town Fi\u013eakovo in?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item ?itemLabel ?country WHERE {\n  ?item wdt:P31 / wdt:P279 * ?type .\n  ?item wdt:P17 ?country .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n  .\n  FILTER(?itemLabel = \"Fi\u013eakovo\" @en)\n}\nLIMIT 10", "paraphrases": ["In which country is the place named Fi\u013eakovo located?", "Show me the country where Fi\u013eakovo is located, ensuring it is a town or municipality."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . ?var1 ?var5Label \"Fi\u013eakovo\"@en . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } } LIMIT 10"}}
{"id": "test_9706", "question": "Entities named \"John Smith\" with their instance types, CIDOC CRM equivalents, and Wikipedia links.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel ?instanceTypeLabel ?cidocClass ?viafUri ?odnbId ?wikipediaUrl WHERE {\n  ?item rdfs:label \"John Smith\" @en .\n  ?item wdt:P31 ?instanceType .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER ( LANG( ?itemLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?instanceType rdfs:label ?instanceTypeLabel .\n    FILTER ( LANG( ?instanceTypeLabel ) = \"en\" )\n  }\n  BIND( IF( ?instanceType = wd:Q5 , <http://www.cidoc-crm.org/cidoc-crm/E21_Person> , IF( ?instanceType = wd:Q2221906 , <http://www.cidoc-crm.org/cidoc-crm/E53_Place> , IF( ?instanceType = wd:Q16334295 , <http://www.cidoc-crm.org/cidoc-crm/E74_Group> , ?instanceType ) ) ) AS ?cidocClass ) OPTIONAL {\n    ?item wdt:P214 ?viafId .\n    BIND( IRI( CONCAT ( \"http://viaf.org/viaf/\" , ?viafId ) ) AS ?viafUri )\n  }\n  OPTIONAL {\n    ?item wdt:P1415 ?odnbId .\n  }\n  OPTIONAL {\n    ?wikipediaUrl schema:about ?item .\n    ?wikipediaUrl schema:isPartOf <https://en.wikipedia.org/> .\n  }\n}", "paraphrases": ["What are the human, place, or group entities named \"John Smith\" in English, and what are their CIDOC CRM classifications, VIAF URIs, ODNB IDs, and Wikipedia pages?", "List all entities labeled \"John Smith\" in English, including their type, CIDOC CRM class, and any associated VIAF, ODNB, or Wikipedia identifiers."], "info": {"raw_sparql": "SELECT( ?var1 AS ?var2 ) ?var1Label ( \"John Smith\" AS ?var3Label ) ?var4 ?var5Label ?var6 ?var7 ?var8 WHERE { BIND ( IF ( ( ?var5 = <http://www.wikidata.org/entity/Q5> ), <http://www.cidoc-crm.org/cidoc-crm/E21_Person> , IF ( ( ?var5 = <http://www.wikidata.org/entity/Q2221906> ), <http://www.cidoc-crm.org/cidoc-crm/E53_Place> , IF ( ( ?var5 = <http://www.wikidata.org/entity/Q16334295> ), <http://www.cidoc-crm.org/cidoc-crm/E74_Group> , ?var5 ) ) ) AS ?var4 ). ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"John Smith\"@en . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . { BIND ( IRI ( CONCAT ( \"string1\", ?var9 ) ) AS ?var6 ). ?var1 <http://www.wikidata.org/prop/direct/P214> ?var9 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P1415> ?var7 . } UNION { ?var8 <http://schema.org/about> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9707", "question": "Image of Juan de Ferreras with SNAC ARK ID w6g16mqn", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6g16mqn\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with Juan de Ferreras in Wikidata?", "Show me the Wikimedia Commons image for the historical figure identified by SNAC ARK ID w6g16mqn."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6g16mqn\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9708", "question": "Entities with English nicknames and their English labels", "sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 wdt:P1449 ?var2 . FILTER (LANG(?var2) = \"en\") . ?var1 rdfs:label ?var1Label . FILTER (LANG(?var1Label) = \"en\") } LIMIT 100", "paraphrases": ["Which entities have English nicknames, and what are their English names?", "Show me the English names of entities along with their English nicknames."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1449> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( ( LANG ( ?var2 ) = \"mo\" ) ) ) . } LIMIT 1000"}}
{"id": "test_9709", "question": "Organizations with mottos in Moldovan language", "sparql": "SELECT ?organization ?motto WHERE { ?organization wdt:P1451 ?motto . FILTER (LANG(?motto) = \"mo\") } LIMIT 1000", "paraphrases": ["Which organizations have a motto written in the Moldovan language?", "Show me the entities and their mottos in Moldovan (mo) from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1451> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( ( LANG ( ?var2 ) = \"mo\" ) ) ) . } LIMIT 1000"}}
{"id": "test_9710", "question": "Houses with images on Wikimedia Commons", "sparql": "SELECT ?house ?houseLabel ?image WHERE { ?house wdt:P31 wd:Q3947 . OPTIONAL { ?house wdt:P18 ?image . } ?house rdfs:label ?houseLabel . FILTER(LANG(?houseLabel) = \"en\") } LIMIT 100", "paraphrases": ["What are some houses and their associated images from Wikimedia Commons?", "List up to 100 houses (residential buildings) along with their English names and any available images from Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3947> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } } LIMIT 100"}}
{"id": "test_9711", "question": "Is CD Atl\u00e9tico Baleares a human?", "sparql": "ASK WHERE { wd:Q855199 ( wdt:P31 / wdt:P279* ) wd:Q5 . }", "paraphrases": ["Can CD Atl\u00e9tico Baleares be classified as a human through its type or any subclass hierarchy?", "Is the football club CD Atl\u00e9tico Baleares an instance of or subclass of a human?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q855199> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_9712", "question": "Categories related to Hungary in English, excluding those with French labels, that contain \"Hungary\" in the title.", "sparql": "SELECT ?category ?label WHERE { ?category wdt:P31 wd:Q4167836 ; wdt:P971 wd:Q28 . MINUS { ?category rdfs:label ?frLabel FILTER(LANG(?frLabel) = \"fr\") } ?category rdfs:label ?label FILTER(LANG(?label) = \"en\") FILTER(REGEX(?label, \"Hungary\", \"i\")) }", "paraphrases": ["What are the English-language categories on Wikidata that are associated with Hungary but do not have a French label?", "List all English-labeled categories that combine Hungary as a topic, but exclude any that also have French labels, and only include those mentioning \"Hungary\" in the name."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167836> ; <http://www.wikidata.org/prop/direct/P971> <http://www.wikidata.org/entity/Q28> . MINUS { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"fr\" ) ) ) . } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . FILTER ( ( REGEX ( ?var2 , \"string1\" ) ) ) . }"}}
{"id": "test_9713", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0144201?", "sparql": "SELECT ?movie ?wikipediaPage WHERE { ?movie wdt:P345 \"tt0144201\" . ?wikipediaPage schema:about ?movie . ?wikipediaPage schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Show me the Wikipedia articles in English and German about the film identified by tt0144201 on IMDb.", "Which Wikipedia pages in English and German discuss the movie \"Girl on the Bridge\"?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0144201\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9714", "question": "Wikipedia and Commons pages in English or German about the movie with IMDb ID tt3765326.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?page WHERE {\n  ?movie wdt:P345 \"tt3765326\" .\n  ?page schema:about ?movie .\n  ?page schema:inLanguage ?lang .\n  FILTER ( ?lang IN ( \"en\" , \"de\" ) )\n}", "paraphrases": ["What Wikipedia and Commons pages in English or German are about the movie \"Warsaw 44\" (IMDb: tt3765326)?", "Show me the English and German language Wikipedia and Commons pages related to the movie with IMDb ID tt3765326."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt3765326\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9715", "question": "What property is used to cite the article \"CAR-T therapy for leukemia: progress and challenges\"?", "sparql": "SELECT ?property (COUNT(?property) AS ?count)\nWHERE {\n  ?item ?statementProperty wd:Q39010819 .\n  ?property wikibase:directClaim ?statementProperty .\n  ?property rdf:type wikibase:Property .\n}\nGROUP BY ?property\nORDER BY DESC(?count)\nLIMIT 1", "paraphrases": ["Which property links to the scholarly article \"CAR-T therapy for leukemia: progress and challenges\", and how many times is it used?", "Show me the most common property that points to the article \"CAR-T therapy for leukemia: progress and challenges\", along with its usage count."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q39010819> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_9716", "question": "Politicians from Germany or the UK born after 1799, their gender, lifespan, and death year.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?genderLabel ?countryLabel ?birthYear ?deathYear ?lifespan WHERE {\n  ?person wdt:P31 wd:Q5 ; wdt:P106 wd:Q82955 ; wdt:P27 ?country ; wdt:P569 ?birthDate ; wdt:P570 ?deathDate ; wdt:P21 ?gender .\n  FILTER ( ?country IN ( wd:Q145 , wd:Q183 ) ) FILTER ( YEAR( ?birthDate ) > 1799 ) FILTER ( ?gender IN ( wd:Q6581097 , wd:Q6581072 ) ) BIND( YEAR( ?birthDate ) AS ?birthYear ) BIND( YEAR( ?deathDate ) AS ?deathYear ) BIND( ?deathYear - ?birthYear AS ?lifespan ) ?person rdfs:label ?personLabel .\n  ?gender rdfs:label ?genderLabel .\n  ?country rdfs:label ?countryLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) FILTER ( LANG( ?genderLabel ) = \"en\" ) FILTER ( LANG( ?countryLabel ) = \"en\" )\n}", "paraphrases": ["Who were male or female politicians from Germany or the United Kingdom born after 1799, and how long did they live?", "List English-labeled politicians from Germany or the UK who were born after 1799, including their gender, birth year, death year, and lifespan."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11Label WHERE { BIND ( ( ( ?var5 - ?var4 ) /\"365.25\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) AS ?var8 ). BIND ( YEAR ( ?var4 ) AS ?var6 ). BIND ( YEAR ( ?var5 ) AS ?var7 ). BIND ( CONCAT ( STR ( ?var6 ) , \"string1\" ) AS ?var12 ). BIND ( ( ( <http://www.w3.org/2001/XMLSchema#dateTime> ( ?var4 ) - <http://www.w3.org/2001/XMLSchema#dateTime> ( ?var12 ) ) +\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var9 ). BIND ( CONCAT ( STR ( ?var7 ) , \"string1\" ) AS ?var13 ). BIND ( ( ( <http://www.w3.org/2001/XMLSchema#dateTime> ( ?var5 ) - <http://www.w3.org/2001/XMLSchema#dateTime> ( ?var13 ) ) +\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var10 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var11 . FILTER ( ( ( ?var11 = <http://www.wikidata.org/entity/Q82955> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P27> ?var3 . FILTER ( ( ( ?var3 = <http://www.wikidata.org/entity/Q145> ) || ( ?var3 = <http://www.wikidata.org/entity/Q183> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . FILTER ( ( ( YEAR ( ?var4 ) > \"1799\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . FILTER ( ( ( ?var2 = <http://www.wikidata.org/entity/Q6581097> ) || ( ?var2 = <http://www.wikidata.org/entity/Q6581072> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_9717", "question": "What country, administrative division, and continent is the Toyota Automobile Museum located in?", "sparql": "SELECT ?country ?admin ?continent WHERE { wd:Q7830749 wdt:P17 ?country ; wdt:P131 ?admin . ?country wdt:P30 ?continent . }", "paraphrases": ["Where is the Toyota Automobile Museum situated in terms of country, city, and continent?", "Can you tell me the geographic hierarchy of the Toyota Automobile Museum, including its country and continent?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q7830749> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_9718", "question": "What is the English name and description of the musical instrument with MIMO ID 3384?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?instrument ?instrumentLabel ?description WHERE {\n  ?instrument wdt:P3763 \"3384\" .\n  OPTIONAL {\n    ?instrument rdfs:label ?instrumentLabel .\n    FILTER ( LANG( ?instrumentLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?instrument schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["What is the komuz, and how is it described in English, given its MIMO instrument identifier is 3384?", "Show me the English label and description of the musical instrument identified by MIMO ID 3384."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3763> \"3384\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9719", "question": "What are the taxonomic ranks above ducks (Anatidae) up to 8 levels?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?ancestor ?depth WHERE {\n  {\n    wd:Q7556 wdt:P171 ?ancestor .\n    BIND(1 AS ?depth)\n  } UNION {\n    wd:Q7556 wdt:P171 ?level1 .\n    ?level1 wdt:P171 ?ancestor .\n    BIND(2 AS ?depth)\n  } UNION {\n    wd:Q7556 wdt:P171 ?level1 .\n    ?level1 wdt:P171 ?level2 .\n    ?level2 wdt:P171 ?ancestor .\n    BIND(3 AS ?depth)\n  } UNION {\n    wd:Q7556 wdt:P171 ?level1 .\n    ?level1 wdt:P171 ?level2 .\n    ?level2 wdt:P171 ?level3 .\n    ?level3 wdt:P171 ?ancestor .\n    BIND(4 AS ?depth)\n  } UNION {\n    wd:Q7556 wdt:P171 ?level1 .\n    ?level1 wdt:P171 ?level2 .\n    ?level2 wdt:P171 ?level3 .\n    ?level3 wdt:P171 ?level4 .\n    ?level4 wdt:P171 ?ancestor .\n    BIND(5 AS ?depth)\n  } UNION {\n    wd:Q7556 wdt:P171 ?level1 .\n    ?level1 wdt:P171 ?level2 .\n    ?level2 wdt:P171 ?level3 .\n    ?level3 wdt:P171 ?level4 .\n    ?level4 wdt:P171 ?level5 .\n    ?level5 wdt:P171 ?ancestor .\n    BIND(6 AS ?depth)\n  } UNION {\n    wd:Q7556 wdt:P171 ?level1 .\n    ?level1 wdt:P171 ?level2 .\n    ?level2 wdt:P171 ?level3 .\n    ?level3 wdt:P171 ?level4 .\n    ?level4 wdt:P171 ?level5 .\n    ?level5 wdt:P171 ?level6 .\n    ?level6 wdt:P171 ?ancestor .\n    BIND(7 AS ?depth)\n  } UNION {\n    wd:Q7556 wdt:P171 ?level1 .\n    ?level1 wdt:P171 ?level2 .\n    ?level2 wdt:P171 ?level3 .\n    ?level3 wdt:P171 ?level4 .\n    ?level4 wdt:P171 ?level5 .\n    ?level5 wdt:P171 ?level6 .\n    ?level6 wdt:P171 ?level7 .\n    ?level7 wdt:P171 ?ancestor .\n    BIND(8 AS ?depth)\n  }\n}\nORDER BY ?depth", "paraphrases": ["What are the parent taxa of ducks, and how many levels up can we go in the biological classification?", "List all higher taxonomic groups that include ducks, going up to 8 levels in the evolutionary hierarchy."], "info": {"raw_sparql": "SELECT ?var1 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.BFS\". <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#linkType> <https://www.mediawiki.org/ontology#isInCategory> . <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#traversalDirection> \"Reverse\". <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#in> <https://en.wikipedia.org/wiki/Category:Ducks> . <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#out> ?var1 . <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#out1> ?var2 . <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#maxIterations> \"8\"^^<http://www.w3.org/2001/XMLSchema#integer> . } } ORDER BY ASC( ?var2 )"}}
{"id": "test_9720", "question": "List items and their working titles from Wikidata.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?workingTitle WHERE {\n  ?item wdt:P1638 ?workingTitle .\n}\nLIMIT 12", "paraphrases": ["What are the working titles of items in Wikidata?", "Show me the items along with their temporary development names (working titles) used during production."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1638> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( ( LANG ( ?var2 ) = \"mo\" ) ) ) . } LIMIT 12"}}
{"id": "test_9721", "question": "Albums titled \"Recovery\" with their genre, performer, and release date.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?album ?albumLabel ?genre ?genreLabel ?inception ?performer ?performerLabel WHERE {\n  ?album wdt:P31 wd:Q482994 .\n  ?album rdfs:label ?albumLabel .\n  OPTIONAL {\n    ?album wdt:P571 ?inception .\n  }\n  OPTIONAL {\n    ?album wdt:P136 ?genre .\n    ?genre rdfs:label ?genreLabel .\n  }\n  OPTIONAL {\n    ?album wdt:P175 ?performer .\n    ?performer rdfs:label ?performerLabel .\n  }\n  FILTER(REGEX(?albumLabel , \"Recovery\" , \"i\"))\n}\nLIMIT 3", "paraphrases": ["What are the albums with \"Recovery\" in the title, and who performed them, what genre are they, and when were they released?", "List all music albums named \"Recovery\" along with their performers, genres, and release years."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var4Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q482994> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P175> ?var4 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . } FILTER ( ( REGEX ( ?var1Label , \"Recovery\", \"i\" ) ) ) . FILTER ( ( REGEX ( ?var4Label , \"\", \"i\" ) ) ) . } LIMIT 3"}}
{"id": "test_9722", "question": "Albums titled \"Recovery\" by Eminem with genre and release date", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?album ?albumLabel ?genre ?genreLabel ?date ?performer ?performerLabel WHERE {\n  ?album wdt:P31 wd:Q482994 .\n  ?album rdfs:label ?albumLabel .\n  FILTER(CONTAINS(LCASE(?albumLabel) , \"recovery\"))\n  ?album wdt:P175 wd:Q5608 .\n  OPTIONAL {\n    ?album wdt:P577 ?date .\n  }\n  OPTIONAL {\n    ?album wdt:P136 ?genre .\n  }\n  ?performer rdfs:label ?performerLabel .\n  FILTER(?performer = wd:Q5608)\n}\nLIMIT 4", "paraphrases": ["What is the release date and genre of Eminem's album \"Recovery\"?", "Show me details about Eminem's album called Recovery, including its genre and when it was released."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var4Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q482994> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P175> ?var4 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . } FILTER ( ( CONTAINS ( LCASE ( ?var1Label ) , \"recovery\" ) ) ) . FILTER ( ( CONTAINS ( LCASE ( ?var1Label ) , \"eminem\" ) ) ) . } LIMIT 4"}}
{"id": "test_9723", "question": "What is the label for Louis Pasteur in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?person ?personLabel WHERE {\n  BIND( wd:Q529 AS ?person ) .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}", "paraphrases": ["What is the English name of the person with Wikidata ID Q529?", "Please return the name of Louis Pasteur from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { BIND ( <http://www.wikidata.org/entity/Q529> AS ?var1 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9724", "question": "What are the most frequently used properties linking other items to Princess Augusta of Saxe-Gotha in Wikidata?", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q76967 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["Which properties connect other entities to Princess Augusta of Saxe-Gotha more than once, and how many times do they appear?", "Can you show me which types of relationships (like mother, depicts, or main subject) are most commonly associated with Princess Augusta of Saxe-Gotha in Wikidata, ordered by frequency?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q76967> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_9725", "question": "What are the most common video game genres on PlayStation?", "sparql": "SELECT ?genre ?genreLabel ?count WHERE { { SELECT ?genre ( COUNT(?game) AS ?count ) WHERE { ?game wdt:P31 wd:Q7889 . ?game wdt:P400 wd:Q10677 . ?game wdt:P136 ?genre . } GROUP BY ?genre } ?genre rdfs:label ?genreLabel . FILTER(LANG(?genreLabel) = \"en\") } ORDER BY DESC(?count)", "paraphrases": ["Which video game genres are most popular on the PlayStation console, and how many games belong to each genre?", "List all video game genres for PlayStation, sorted by how many games use each genre, from most to least common."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 ( COUNT ( ?var3 ) AS ?var2 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7889> . ?var3 <http://www.wikidata.org/prop/direct/P400> <http://www.wikidata.org/entity/Q10677> . ?var3 <http://www.wikidata.org/prop/direct/P136> ?var1 . } GROUP BY ?var1 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var2 )"}}
{"id": "test_9726", "question": "Episodes of Once Upon a Time season 1 with their labels and images.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?episode ?episodeLabel ?image WHERE {\n  ?episode wdt:P4908 wd:Q2271588 .\n  OPTIONAL {\n    ?episode wdt:P18 ?image .\n  }\n  ?episode rdfs:label ?episodeLabel .\n  FILTER ( LANG( ?episodeLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["What are the names of the episodes in season 1 of Once Upon a Time, and do they have any images?", "List all episodes from the first season of Once Upon a Time, including their English titles and any associated images from Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4908> <http://www.wikidata.org/entity/Q2271588> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_9727", "question": "Episodes of season 1 of Once Upon a Time.", "sparql": "SELECT ?episode ?episodeLabel WHERE { ?episode wdt:P4908 wd:Q2271588 . ?episode rdfs:label ?episodeLabel . FILTER(LANG(?episodeLabel) = \"en\") } LIMIT 100", "paraphrases": ["What are the names of the episodes in the first season of the TV series Once Upon a Time?", "List the English titles of all episodes from season 1 of Once Upon a Time."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4908> <http://www.wikidata.org/entity/Q2271588> . ?var1 <http://www.wikidata.org/prop/direct/P4908> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . } } LIMIT 100"}}
{"id": "test_9728", "question": "What astronomical objects orbit the Sun?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?object ?objectLabel WHERE {\n  ?object wdt:P397 wd:Q525 .\n  ?object rdfs:label ?objectLabel .\n  FILTER ( LANG( ?objectLabel ) = \"en\" )\n}", "paraphrases": ["List all minor planets and comets in the Solar System.", "Which celestial bodies in our Solar System are gravitationally bound to the Sun?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,fr\". } ?var1 <http://www.wikidata.org/prop/direct/P397> <http://www.wikidata.org/entity/Q525> . }"}}
{"id": "test_9729", "question": "Is Avinguda de Mistral a human or a type of human?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q19949690 wdt:P31 / wdt:P279 * wd:Q5 .\n}", "paraphrases": ["Does the street Avinguda de Mistral belong to the category of humans?", "Is Avinguda de Mistral classified under any subclass of human beings?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q19949690> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_9730", "question": "What is the Wikidata item for the movie with IMDb ID tt0059742?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P345 \"tt0059742\" .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["Which film in Wikidata has the IMDb identifier tt0059742?", "Can you tell me the name of the movie identified by tt0059742 on IMDb?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0059031\". } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nb,en,nn,da,sv,de,fr,nl,es,it,pt,cs,hu,ru,ja\". } }"}}
{"id": "test_9731", "question": "Swedish-labeled deceased women with birth and death dates from Wikidata.", "sparql": "SELECT ?person ?label ?dateOfBirth ?dateOfDeath WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P21 wd:Q6581072 . ?person wdt:P569 ?dateOfBirth . ?person wdt:P570 ?dateOfDeath . ?person rdfs:label ?label . FILTER (LANG(?label) = \"sv\") }", "paraphrases": ["Who are the deceased women in Wikidata whose names are available in Swedish, along with their birth and death dates?", "List the names (in Swedish), birth dates, and death dates of all deceased women in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"sv\" ) ) ) . }"}}
{"id": "test_9732", "question": "What film has the IMDb ID tt0024413?", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P345 \"tt0024413\" . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["What is the English title of the film with the IMDb identifier tt0024413?", "Show me the English name of the movie identified by tt0024413 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0024413\". } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nb,en,nn,da,sv,de,fr,nl,es,it,pt,cs,hu,ru,ja\". } }"}}
{"id": "test_9733", "question": "What property was used in the statement that the TCA Cycle has parts?", "sparql": "PREFIX s: <http://www.wikidata.org/entity/statement/>\nSELECT ?item ?property WHERE {\n  ?item ?property s:Q44054434-2316463F-E13C-4919-9C9E-DEBF7080C00C .\n}", "paraphrases": ["Which entity and property does the statement about the TCA Cycle having parts belong to?", "For the statement asserting that the TCA Cycle has parts, what is the subject and property?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q44054434-2316463F-E13C-4919-9C9E-DEBF7080C00C> . }"}}
{"id": "test_9734", "question": "Which biochemical cycle includes Ogdh as a component?", "sparql": "SELECT ?entity ?part WHERE { ?entity p:P527 s:Q44054434-211E3D70-AEF4-49B5-A3CA-EADE68BF9A4A . s:Q44054434-211E3D70-AEF4-49B5-A3CA-EADE68BF9A4A ps:P527 ?part . }", "paraphrases": ["What entity has Ogdh as a part according to Wikidata?", "Can you tell me the entity that has the enzyme Ogdh as a part?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q44054434-211E3D70-AEF4-49B5-A3CA-EADE68BF9A4A> ?var1 ?var2 . }"}}
{"id": "test_9735", "question": "What item and property are associated with the statement s:Q937-CD15AE8D-589B-4A06-B136-D181FE5FCF08?", "sparql": "PREFIX s: <http://www.wikidata.org/entity/statement/>\nSELECT ?item ?property WHERE {\n  ?item ?property s:Q937-CD15AE8D-589B-4A06-B136-D181FE5FCF08 .\n}", "paraphrases": ["Which entity and property does the statement s:Q937-CD15AE8D-589B-4A06-B136-D181FE5FCF08 point to?", "Show me the subject and predicate of the Wikidata statement s:Q937-CD15AE8D-589B-4A06-B136-D181FE5FCF08."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/q213050-3FB9BB44-87B3-4260-83C7-14D7AC7B4B51> . }"}}
{"id": "test_9736", "question": "What genes and biological pathways are directly related to the Fh1 gene in mice?", "sparql": "SELECT ?subject ?property ?subjectLabel ?propertyLabel WHERE { ?subject ?property wd:Q18250589 . FILTER(STRSTARTS(STR(?property), \"http://www.wikidata.org/prop/direct/\")) OPTIONAL { ?subject rdfs:label ?subjectLabel . FILTER(LANG(?subjectLabel) = \"en\") } OPTIONAL { ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = \"en\") } }", "paraphrases": ["Which entities have a direct relationship with the fumarate hydratase 1 gene (Fh1)?", "Show me all the genes that are orthologs of Fh1 and the metabolic pathways it participates in."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q18250589> . }"}}
{"id": "test_9737", "question": "All properties and values for the IDH3B gene in house mouse.", "sparql": "SELECT ?property ?value WHERE { wd:Q18295551 ?property ?value . } ORDER BY ?property", "paraphrases": ["What are all the properties and their values associated with the IDH3B gene in Mus musculus?", "Show me every piece of data known about the IDH3B gene, including its descriptions in different languages and its Ensembl transcript IDs."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q18295551> ?var1 ?var2 . }"}}
{"id": "test_9738", "question": "What are the details of the statement that the TCA cycle includes the MDH2 gene?", "sparql": "PREFIX s: <http://www.wikidata.org/entity/statement/>\nSELECT ?property ?value WHERE {\n  s:Q27436670-6d29b441-48b3-6d2d-13df-27adbd47e090 ?property ?value .\n}", "paraphrases": ["Can you show me the properties and values associated with the claim that MDH2 is part of the TCA cycle?", "What information is stored about the statement asserting that the TCA cycle has MDH2 as a component?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q27436670-6d29b441-48b3-6d2d-13df-27adbd47e090> ?var1 ?var2 . }"}}
{"id": "test_9739", "question": "All properties and values for water in Wikidata", "sparql": "SELECT ?property ?value WHERE { wd:Q283 ?property ?value .}", "paraphrases": ["What information is stored in Wikidata about the chemical substance water?", "Show me all the data available for water in Wikidata, including descriptions in different languages and external identifiers."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q283> ?var1 ?var2 . }"}}
{"id": "test_9740", "question": "What Wikipedia articles are about bilirubin?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?resource ?property WHERE {\n  ?resource ?property wd:Q104219 .\n}", "paraphrases": ["Which Wikidata statements have bilirubin as their main subject?", "What resources are linked to bilirubin as their topic?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q104219> . }"}}
{"id": "test_9741", "question": "Items retired or disappeared in 2021 with their English labels and exact dates.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item ?itemLabel ?date WHERE {\n  ?item ( wdt:P730 | wdt:P746 ) ?date .\n  FILTER ( ?date >= \"2021-01-01T00:00:00Z\" ^^ xsd:dateTime && ?date <= \"2021-12-31T23:59:59Z\" ^^ xsd:dateTime ) OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER ( lang( ?itemLabel ) = \"en\" )\n  }\n}", "paraphrases": ["Which items had their service retirement or disappearance date in 2021, and what are their English names and exact dates?", "List all entities that were retired from service or went missing in 2021, along with their English labels and the specific dates of retirement or disappearance."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P730> | <http://www.wikidata.org/prop/direct/P746> ) ?var2 . FILTER ( ( ( ?var2 >= \"1-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_9742", "question": "What metadata is associated with the statement that claims \"Drug induction of bile acid pathway has cimetidine as a part\"?", "sparql": "PREFIX s: <http://www.wikidata.org/entity/statement/>\nSELECT ?property ?value WHERE {\n  s:Q30231039-485015FF-E38C-4DA4-B535-E11B623F18AF ?property ?value .\n}", "paraphrases": ["Show all properties and values of the statement with ID s:Q30231039-485015FF-E38C-4DA4-B535-E11B623F18AF.", "Can you list all the details, such as rank, type, and source, of this Wikidata statement about cimetidine being a part of a drug pathway?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q30231039-485015FF-E38C-4DA4-B535-E11B623F18AF> ?var1 ?var2 . }"}}
{"id": "test_9743", "question": "What are the direct properties and values of the human gene CYP7A1?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?value WHERE {\n  wd:Q14907373 ?property ?value .\n  FILTER(STRSTARTS(STR(?property) , \"http://www.wikidata.org/prop/direct/\"))\n}", "paraphrases": ["What biological information is directly associated with the CYP7A1 gene in Wikidata?", "List all direct claims (such as chromosome, encoded protein, orthologs, and taxon) for the gene CYP7A1."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q14907373> ?var1 ?var2 . }"}}
{"id": "test_9744", "question": "What entities and properties are associated with digoxin in Wikidata?", "sparql": "SELECT ?item ?property WHERE { ?item ?property wd:Q422222 .}", "paraphrases": ["What things are stated to be about digoxin or have digoxin as their value?", "List all subjects and properties that have digoxin as their object in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q422222> . }"}}
{"id": "test_9745", "question": "What properties and values are associated with the statement for the Minor Planet Center body ID of asteroid 2002 TP375?", "sparql": "PREFIX s: <http://www.wikidata.org/entity/statement/>\nSELECT ?property ?value WHERE {\n  s:Q13493808-EEC37772-67ED-473B-91A6-59B3505C3D80 ?property ?value .\n}", "paraphrases": ["Show all the information stored in the Wikidata statement with ID s:Q13493808-EEC37772-67ED-473B-91A6-59B3505C3D80.", "What does the Wikidata statement for asteroid 2002 TP375\u2019s Minor Planet Center ID contain?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q183290-49D47E89-A18C-47A0-B523-A818BE1C0D69> ?var1 ?var2 . }"}}
{"id": "test_9746", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt0077482?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?wikipediaPage ?imdbId WHERE {\n  ?movie wdt:P345 \"tt0077482\" .\n  ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n  BIND(\"tt0077482\" AS ?imdbId)\n}", "paraphrases": ["Show me the Wikipedia article in English or German about the film \"Ecce bombo\" and its IMDb identifier.", "Find the Wikipedia links in English or German that are about the movie identified by tt0077482 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0077482\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9747", "question": "What item and property does the statement s:Q24290433-5F71DAB3-D102-429E-AB5E-4715AE4788BF refer to?", "sparql": "SELECT ?item ?statementProperty WHERE { ?item ?statementProperty s:Q24290433-5F71DAB3-D102-429E-AB5E-4715AE4788BF . }", "paraphrases": ["Which item and property are linked to the Wikidata statement with ID Q24290433-5F71DAB3-D102-429E-AB5E-4715AE4788BF?", "Show me the item and property associated with the statement identifier Q24290433-5F71DAB3-D102-429E-AB5E-4715AE4788BF."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q24290433-5F71DAB3-D102-429E-AB5E-4715AE4788BF> . }"}}
{"id": "test_9748", "question": "What are the publication details and identifiers for the article \"Phases and phase transitions of the hydrated phosphatidylethanolamines\"?", "sparql": "SELECT ?label ?description ?publicationDate ?publishedIn ?doi ?pubmedId ?researchGateId ?issue ?volume ?authorString ?publicationType WHERE {\n  wd:Q28609550 rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  \n  wd:Q28609550 schema:description ?description .\n  FILTER(LANG(?description) = \"en\")\n  \n  OPTIONAL { wd:Q28609550 wdt:P577 ?publicationDate }\n  OPTIONAL { wd:Q28609550 wdt:P1433 ?publishedIn }\n  OPTIONAL { wd:Q28609550 wdt:P356 ?doi }\n  OPTIONAL { wd:Q28609550 wdt:P698 ?pubmedId }\n  OPTIONAL { wd:Q28609550 wdt:P5875 ?researchGateId }\n  OPTIONAL { wd:Q28609550 wdt:P433 ?issue }\n  OPTIONAL { wd:Q28609550 wdt:P478 ?volume }\n  OPTIONAL { wd:Q28609550 wdt:P2093 ?authorString }\n  OPTIONAL { wd:Q28609550 wdt:P13046 ?publicationType }\n}", "paraphrases": ["When was the article \"Phases and phase transitions of the hydrated phosphatidylethanolamines\" published, in which journal, and what are its DOI and PubMed ID?", "Please provide the English label, description, publication date, journal, DOI, PubMed ID, ResearchGate ID, issue, volume, authors, and publication type for the article \"Phases and phase transitions of the hydrated phosphatidylethanolamines\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q28609550> ?var1 ?var2 . }"}}
{"id": "test_9749", "question": "What property does the statement s:Q28609495-56B4E250-7A2F-40DA-BDC7-B1BC35361C32 represent?", "sparql": "PREFIX s: <http://www.wikidata.org/entity/statement/>\nSELECT ?item ?property WHERE {\n  ?item ?property s:Q28609495-56B4E250-7A2F-40DA-BDC7-B1BC35361C32 .\n}", "paraphrases": ["Which property is being asserted in the Wikidata statement with ID Q28609495-56B4E250-7A2F-40DA-BDC7-B1BC35361C32?", "For the scholarly article Q28609495, what property is linked to this specific statement?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q28609495-56B4E250-7A2F-40DA-BDC7-B1BC35361C32> . }"}}
{"id": "test_9750", "question": "Publication date, PubMed ID, and main subjects of the article \"The bioregulatory role of platelet-activating factor in intracellular processes and cell-cell interactions\".", "sparql": "SELECT ?publicationDate ?pubmedId ?mainSubject ?mainSubjectLabel WHERE { wd:Q28609600 wdt:P577 ?publicationDate ; wdt:P698 ?pubmedId ; wdt:P921 ?mainSubject . ?mainSubject rdfs:label ?mainSubjectLabel . FILTER(LANG(?mainSubjectLabel) = \"en\")}", "paraphrases": ["When was the article \"The bioregulatory role of platelet-activating factor in intracellular processes and cell-cell interactions\" published, what is its PubMed ID, and what are its main subjects?", "Tell me the publication date, PubMed ID, and main subjects of the 1998 scientific article on platelet-activating factor."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q28609600> ?var1 ?var2 . }"}}
{"id": "test_9751", "question": "Scholarly articles citing Platelet-activating factor receptor", "sparql": "SELECT ?citingArticle WHERE { ?citingArticle wdt:P2860 wd:Q28609423 . }", "paraphrases": ["Which academic papers cite the article on the Platelet-activating factor receptor?", "List all research articles that reference the Platelet-activating factor receptor study."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q28609423> . }"}}
{"id": "test_9752", "question": "What substances are involved in the metabolism of codeine and morphine?", "sparql": "SELECT ?substance WHERE { wd:Q30230768 wdt:P527 ?substance . }", "paraphrases": ["Which enzymes and metabolites are part of codeine and morphine metabolism?", "List all components of the metabolic pathway for codeine and morphine."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q30230768-329AF8AE-F55A-4840-A1E8-DBD5EE14FCE8> . }"}}
{"id": "test_9753", "question": "What entities and properties are linked to the human gene UGT2B4?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subject ?property WHERE {\n  ?subject ?property wd:Q18032282 .\n}", "paraphrases": ["Which websites, genes, or statements refer to the UGT2B4 gene?", "Show me all the subjects and properties that have the UGT2B4 gene (Q18032282) as their object, including Wikipedia links, orthologs, and parts in complexes."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q18032282> . }"}}
{"id": "test_9754", "question": "Which properties link multiple resources to Mongeri, Sierra Leone?", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q6899493 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["How many times is the schema:about property used to reference Mongeri, and are there any other properties used more than once?", "Show me the properties that are used more than once to connect items to the human settlement of Mongeri in Sierra Leone, along with their usage counts."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q6899493> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_9755", "question": "Which scholarly articles cite \"Disposition and metabolism of codeine after single and chronic doses in one poor and seven extensive metabolisers\"?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?citingArticle WHERE {\n  ?citingArticle wdt:P2860 wd:Q28609390 .\n  ?citingArticle wdt:P31 wd:Q13442814 .\n}", "paraphrases": ["What academic papers reference the study on codeine metabolism in poor and extensive metabolisers?", "List all scholarly articles that cite the research on codeine disposition and metabolism after single and chronic doses."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q28609390> . }"}}
{"id": "test_9756", "question": "What metadata is associated with the statement that identifies IRAK1 as a gene?", "sparql": "SELECT ?property ?value WHERE { s:Q18027981-F34E68C7-7EF5-4B79-9C72-799C38E1A36C ?property ?value . }", "paraphrases": ["Show all properties and values of the statement asserting that IRAK1 is a gene.", "What are the rank, source, and type of the statement claiming IRAK1 is an instance of a gene?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q18027981-F34E68C7-7EF5-4B79-9C72-799C38E1A36C> ?var1 ?var2 . }"}}
{"id": "test_9757", "question": "What entity and property are associated with the statement about melatonin metabolism and effects having melatonin as a part?", "sparql": "PREFIX s: <http://www.wikidata.org/entity/statement/>\nSELECT ?subject ?property WHERE {\n  ?subject ?property s:Q28922670-12CEBA0C-A1E5-4301-AEDC-C4836B80B2FD .\n}", "paraphrases": ["Which subject and property does the statement s:Q28922670-12CEBA0C-A1E5-4301-AEDC-C4836B80B2FD represent?", "For the statement identifying melatonin as part of melatonin metabolism, what is the subject and property used?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q28922670-12CEBA0C-A1E5-4301-AEDC-C4836B80B2FD> . }"}}
{"id": "test_9758", "question": "Metadata for the statement that EDN1 is a gene.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?property ?value WHERE {\n  wd:Q18023132 p:P31 ?statement .\n  ?statement ?property ?value .\n}", "paraphrases": ["What are the rank, references, and types associated with the claim that EDN1 is a gene?", "Show all details about the statement asserting that the human gene EDN1 is an instance of a gene."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q18023132-dc1aa550-4bcb-57a3-3a29-e305f87747fe> ?var1 ?var2 . }"}}
{"id": "test_9759", "question": "All properties and values for the CALM1 gene.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ?value WHERE {\n  wd:Q17855525 ?property ?value .\n}", "paraphrases": ["What properties and values are associated with the CALM1 gene in Wikidata?", "List all the statements (properties and their values) linked to the human gene CALM1, including descriptions and transcript IDs."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q17855525> ?var1 ?var2 . }"}}
{"id": "test_9760", "question": "What scholarly article is described by the statement with reference ref:70b9cf5e64d0462f91313e5ebbd37679d9e7fe7e, and what is its rank?", "sparql": "SELECT ?item ?itemLabel ?statementValue ?statementValueLabel ?rank ?reference WHERE { BIND(wd:Q28679185 AS ?item) ?item p:P31 ?statement . ?statement ps:P31 ?statementValue . ?statement wikibase:rank ?rank . ?statement prov:wasDerivedFrom ?reference . OPTIONAL { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } OPTIONAL { ?statementValue rdfs:label ?statementValueLabel . FILTER(LANG(?statementValueLabel) = \"en\") } }", "paraphrases": ["Can you tell me the title of the item that is classified as a scholarly article with normal rank and is linked to the reference ref:70b9cf5e64d0462f91313e5ebbd37679d9e7fe7e?", "Show me the English label of the item wd:Q28679185, its type (instance of), its rank, and its source reference."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q28679185-9CF00EDF-8CC2-41C9-8A6F-6315C75708B9> ?var1 ?var2 . }"}}
{"id": "test_9761", "question": "Is \"The Adventures of Tintin\" a human?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q7485303 ( wdt:P31 / wdt:P279 * ) wd:Q5 .\n}", "paraphrases": ["Does the category \"The Adventures of Tintin\" belong to the class of humans or any of its subclasses?", "Is \"The Adventures of Tintin\" classified as a human being in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q7485303> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_9762", "question": "What are the Spanish-language properties and values associated with the gene Prdm9?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?gene ?geneLabel ?property ?propertyLabel ?value ?valueLabel WHERE {\n  BIND( wd:Q24422437 AS ?gene ) .\n  ?gene ?property ?value .\n  ?gene rdfs:label ?geneLabel .\n  ?value rdfs:label ?valueLabel .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?propertyLabel .\n  FILTER ( LANG( ?geneLabel ) = \"es\" ) .\n  FILTER ( LANG( ?propertyLabel ) = \"es\" ) .\n  FILTER ( LANG( ?valueLabel ) = \"es\" ) .\n}", "paraphrases": ["Can you list all the facts about the gene Prdm9 in Spanish, including the property names and their values?", "Show me all the Spanish labels for the properties and objects linked to the gene Prdm9 (Q24422437)."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5Label ?var6 ?var7 WHERE { BIND ( <http://www.wikidata.org/entity/Q24422437> AS ?var1 ). ?var1 ?var2 ?var4 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var8 ?var9 ?var2 . ?var8 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = \"es\" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"es\" ) ) ) . }"}}
{"id": "test_9763", "question": "What is the English or German Wikipedia page for the film with IMDb ID tt4010918?", "sparql": "SELECT ?item ?wikipediaPage ?imdbId WHERE { ?item wdt:P345 ?imdbId . ?wikipediaPage schema:about ?item . { ?wikipediaPage schema:inLanguage \"en\" . } UNION { ?wikipediaPage schema:inLanguage \"de\" . } FILTER(?imdbId = \"tt4010918\") }", "paraphrases": ["Find the Wikipedia page in English or German for the movie identified by IMDb ID tt4010918.", "Which Wikipedia pages (in English or German) are associated with the film tt4010918 on IMDb?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt4010918\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9764", "question": "What are the Japanese labels of properties used by Frances Cleveland, along with how many Japanese-labeled values each has and what those values are?", "sparql": "SELECT ?property ?propertyLabel (COUNT(?value) AS ?count) (GROUP_CONCAT(?valueLabel; SEPARATOR=\", \") AS ?valueLabels)\nWHERE {\n  wd:Q233644 ?property ?value .\n  ?propItem wikibase:directClaim ?property .\n  ?propItem rdfs:label ?propertyLabel .\n  ?value rdfs:label ?valueLabel .\n  FILTER(LANG(?propertyLabel) = \"ja\")\n  FILTER(LANG(?valueLabel) = \"ja\")\n}\nGROUP BY ?property ?propertyLabel", "paraphrases": ["Show me all properties associated with Frances Cleveland in Japanese, including the count and list of their Japanese-labeled values.", "For Frances Cleveland, list each property in Japanese, how many times it has a Japanese-labeled value, and concatenate those values into a single string."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q233644> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"ja\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"ja\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_9765", "question": "What are the Japanese-language labels and descriptions of heads of government?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?head ?headLabel ?headDescription WHERE {\n  ?country wdt:P6 ?head .\n  ?head rdfs:label ?headLabel .\n  ?head schema:description ?headDescription .\n  FILTER(LANG(?headLabel) = \"ja\")\n  FILTER(LANG(?headDescription) = \"ja\")\n}\nLIMIT 100", "paraphrases": ["Who are the political leaders around the world that have Japanese names and descriptions in Wikidata?", "Show me the Japanese labels and descriptions of people who serve as heads of government."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/P6> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"ja\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"ja\" ) ) ) . } LIMIT 100"}}
{"id": "test_9766", "question": "List parliamentary committees and their English labels, along with any available images.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?committee ?committeeLabel ?image WHERE {\n  ?committee ( wdt:P31 / wdt:P279 * ) wd:Q2986700 .\n  OPTIONAL {\n    ?committee wdt:P18 ?image .\n  }\n  ?committee rdfs:label ?committeeLabel .\n  FILTER ( LANG( ?committeeLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["What are the parliamentary committees, their English names, and do they have images on Wikimedia Commons?", "Show me up to 100 parliamentary committees (including subtypes), their English labels, and if available, their official images from Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q2986700> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_9767", "question": "What are the communes of France located near Paris?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX geof: <http://www.opengis.net/def/function/geosparql/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?commune ?communeLabel ?coord WHERE {\n  ?commune ( wdt:P31 / wdt:P279 * ) wd:Q484170 .\n  ?commune wdt:P625 ?coord .\n  ?commune rdfs:label ?communeLabel .\n  FILTER ( LANG( ?communeLabel ) = \"en\" ) BIND( geof:latitude ( ?coord ) AS ?lat ) BIND( geof:longitude ( ?coord ) AS ?lon ) FILTER ( ?lat >= 48.6766 && ?lat <= 49.0366 && ?lon >= 2.0822 && ?lon <= 2.6222 )\n}\nORDER BY ?communeLabel", "paraphrases": ["List the French communes within approximately 20 kilometers of Paris.", "Show me the names and coordinates of communes in France close to Paris."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 WHERE { SERVICE <http://wikiba.se/ontology#around> { ?var2 <http://www.wikidata.org/prop/direct/P625> ?var3 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> \"string1\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"20\". <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#distance> ?var1 . } ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q484170> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_9768", "question": "What are the Twitter accounts of Marc Knapper, Harry Redknapp, and Alexis Knapp, sorted by how many Wikipedia pages they have?", "sparql": "SELECT ?item ?handle WHERE { ?item wdt:P2002 ?handle . VALUES ?handle { \"MarcKnapper\" \"Redknapp\" \"AlexisKnapp\" } } ORDER BY DESC(wikibase:sitelinks)", "paraphrases": ["Show me the Wikidata items for the Twitter handles @MarcKnapper, @Redknapp, and @AlexisKnapp, ordered by popularity (number of language editions).", "Which people have the Twitter usernames MarcKnapper, Redknapp, or AlexisKnapp, and which one is the most widely documented across Wikipedia?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"petejknapp\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_9769", "question": "Does Wikidata contain an entity with VIAF ID 316532693?", "sparql": "ASK WHERE { ?item wdt:P214 \"316532693\" . }", "paraphrases": ["Is there a person in Wikidata identified by the VIAF number 316532693?", "Confirm if the Virtual International Authority File identifier 316532693 is linked to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"316532693\". }"}}
{"id": "test_9770", "question": "Does any entity in Wikidata have the VIAF ID 215461000?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P214 \"215461000\" .\n}", "paraphrases": ["Is there a person or organization in Wikidata linked to the Virtual International Authority File with the identifier 215461000?", "Check if the VIAF identifier 215461000 exists in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"215461000\". }"}}
{"id": "test_9771", "question": "Legislative sessions and their chairpersons in the United States.", "sparql": "SELECT DISTINCT ?session ?sessionLabel ?chairperson ?chairpersonLabel WHERE { ?session wdt:P31 wd:Q1812889 . ?session wdt:P488 ?chairperson . ?session rdfs:label ?sessionLabel . ?chairperson rdfs:label ?chairpersonLabel . FILTER(LANG(?sessionLabel) = \"en\") FILTER(LANG(?chairpersonLabel) = \"en\") } LIMIT 100", "paraphrases": ["Who were the chairpersons of the 1st United States Congress, first session?", "List the English-labeled legislative sessions along with the names of their chairpersons, such as the President of the Senate and Speaker of the House."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1812889> . ?var1 <http://www.wikidata.org/prop/direct/P488> ?var2 . } LIMIT 100"}}
{"id": "test_9772", "question": "List all cities in Wikidata.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?city WHERE {\n  ?city wdt:P31 wd:Q515 .\n}", "paraphrases": ["What are all the cities recorded in Wikidata?", "Show me a list of all entities classified as cities."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/p31> <http://www.wikidata.org/entity/Q515> . }"}}
{"id": "test_9773", "question": "Does Transfermarkt player ID 258911 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?player wdt:P2446 \"258911\" .\n}", "paraphrases": ["Is there a football player in Wikidata with the Transfermarkt ID 258911?", "Confirm if the player with Transfermarkt ID 258911 is listed in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2446> \"258911\". }"}}
{"id": "test_9774", "question": "People born in Bonn after 1900 with an image", "sparql": "SELECT ?personLabel WHERE { ?person wdt:P19 wd:Q586 . ?person wdt:P18 ?image . ?person wdt:P569 ?birthDate . FILTER(?birthDate >= \"1900-01-01\"^^xsd:date) . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } LIMIT 200", "paraphrases": ["Who are the people born in Bonn on or after January 1, 1900, that have a photo available?", "List the English names of people born in Bonn after 1900 who have an image on Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q586> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P1319> \"01 01 1900\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 200"}}
{"id": "test_9775", "question": "People born on January 1, 1849", "sparql": "SELECT DISTINCT ?person WHERE { ?person wdt:P569 ?birthDate . FILTER ( ?birthDate >= \"1849-01-01T00:00:00Z\"^^xsd:dateTime && ?birthDate <= \"1849-01-01T23:59:59Z\"^^xsd:dateTime ) }", "paraphrases": ["Who were born on January 1, 1849?", "List all individuals whose date of birth is recorded as January 1, 1849, in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . FILTER ( ( ( ?var2 >= \"1849-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1849-01-01T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_9776", "question": "Entities named \"New York\" in English and their coordinates", "sparql": "SELECT DISTINCT ?item ?label ?location WHERE { ?item rdfs:label ?label . FILTER(?label = \"New York\"@en) . ?item wdt:P625 ?location . }", "paraphrases": ["What are the geographic coordinates of places named \"New York\" in English?", "Show me the locations of all entities that have \"New York\" as their English label."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 ?var3Label \"New York\"@en . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_9777", "question": "Items with official websites or description URLs in Wikidata.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?url WHERE {\n  ?item wdt:P973 ?url .\n  FILTER ( STRSTARTS( STR( ?url ) , \"http\" ) )\n}\nLIMIT 10", "paraphrases": ["Which items in Wikidata have a URL linking to a webpage that describes them?", "Show me up to 10 examples of entities in Wikidata that are linked to external description pages, such as websites or online references."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P973> ?var2 . }"}}
{"id": "test_9778", "question": "What are the superclasses of the software version type class that uses version type (P548) as its main property?", "sparql": "SELECT DISTINCT ?item ?itemLabel ?superclass ?superclassLabel WHERE { ?item wdt:P1687 wd:P548 . ?item wdt:P279* ?superclass . ?item rdfs:label ?itemLabel . ?superclass rdfs:label ?superclassLabel . FILTER(LANG(?itemLabel) = \"en\") FILTER(LANG(?superclassLabel) = \"en\") }", "paraphrases": ["Which classes is \"software version type\" a subclass of, given that its main property is version type (P548)?", "List all the parent classes of the item that has P548 (version type) as its main property, along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1687> <http://www.wikidata.org/entity/P548> . ?var1 <http://www.wikidata.org/prop/direct/P279> * ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9779", "question": "Where did Michael Berthold study, when did he start and end his studies, and what degree did he earn?", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ?institution ?institutionLabel ?startDate ?endDate ?degreeLabel WHERE {\n  wd:Q38174461 p:P69 ?statement .\n  ?statement ps:P69 ?institution .\n  ?institution rdfs:label ?institutionLabel .\n  FILTER ( LANG( ?institutionLabel ) = \"en\" ) .\n  OPTIONAL {\n    ?statement pq:P580 ?startDate .\n  }\n  OPTIONAL {\n    ?statement pq:P582 ?endDate .\n  }\n  OPTIONAL {\n    ?statement pq:P512 ?degree .\n    ?degree rdfs:label ?degreeLabel .\n    FILTER ( LANG( ?degreeLabel ) = \"en\" ) .\n  }\n}", "paraphrases": ["Michael Berthold's education: institution, start date, end date, and degree.", "Show me the educational background of Michael Berthold, including the university he attended, the years he studied, and the doctorate he received."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var4 ?var5Label WHERE { <http://www.wikidata.org/entity/Q38174461> <http://www.wikidata.org/prop/P69> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P69> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P580> ?var3 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var4 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P512> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_9780", "question": "What journals or publications has Evan E. Bolton published in the most, and how many works did he publish in each, using their abbreviated names where available?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?publication ?preferredLabel(COUNT(?work) AS ?count) WHERE {\n  ?work wdt:P50 wd:Q28194918 .\n  ?work wdt:P1433 ?publication .\n  ?publication rdfs:label ?pubLabel .\n  FILTER(LANG(?pubLabel) = \"en\")\n  OPTIONAL {\n    ?publication wdt:P1813 ?shortName .\n  }\n  BIND(COALESCE(?shortName , ?pubLabel) AS ?preferredLabel)\n}\nGROUP BY ?publication ?preferredLabel\nORDER BY DESC(?count)", "paraphrases": ["List the top publications where chemist Evan E. Bolton has authored papers, showing the count of papers per publication and using short names (like \"NAR\") instead of full titles when possible.", "Which venues have published the most works by Evan E. Bolton, and what are their preferred names (abbreviated or full)?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q28194918> . ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1813> ?var6 . } BIND ( COALESCE ( ?var6 , ?var5Label ) AS ?var2Label ). } GROUP BY ?var1 ?var2Label ORDER BY DESC( ?var4 )"}}
{"id": "test_9781", "question": "What are the titles (first 20 characters) and publication years of works by Peter Ertl?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?year ?titleSnippet WHERE {\n  ?work wdt:P50 wd:Q48356587 .\n  ?work wdt:P577 ?date .\n  ?work rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) .\n  BIND( YEAR( ?date ) AS ?year ) .\n  BIND( SUBSTR( ?label , 1 , 20 ) AS ?titleSnippet )\n}\nORDER BY ?year", "paraphrases": ["Can you list Peter Ertl\u2019s publications in order of year, showing the year and the beginning of each title in English?", "Which English-titled works has Peter Ertl published, and in what years, showing only the first 20 characters of each title?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label WHERE { { SELECT ?var1 ( SAMPLE ( ?var4 ) AS ?var2 ) ?var3Label WHERE { { SELECT( STR ( ?var5 ) AS ?var1 )( \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var4 )( \"_\" AS ?var3Label ) WHERE { BIND ( YEAR ( ?var6 ) AS ?var5 ). ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q577> . ?var7 <http://www.wikidata.org/prop/direct/P585> ?var6 . { SELECT( MIN ( ?var5 ) AS ?var8 )( MAX ( ?var5 ) AS ?var9 ) WHERE { BIND ( YEAR ( ?var10 ) AS ?var5 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q48356587> . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var10 . } } FILTER ( ( ( ?var5 >= ?var8 ) && ( ?var5 <= ?var9 ) ) ) . } } UNION { BIND ( SUBSTR ( ?var12Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"20\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q48356587> . ?var11 <http://www.wikidata.org/prop/direct/P1104> ?var4 . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var6 . ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12Label . FILTER ( ( ( LANG ( ?var12Label ) = \"en\" ) ) ) . } } GROUP BY ?var1 ?var11 ?var3Label ORDER BY ASC( ?var1 ) } }"}}
{"id": "test_9782", "question": "What are the painting series with their English labels, sample images from Wikimedia Commons, and corresponding English Wikipedia pages?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?paintingSeries ?paintingSeriesLabel(SAMPLE(?image) AS ?imageSample) ?wikipediaPage WHERE {\n  ?paintingSeries wdt:P31 ?type .\n  ?type wdt:P31 wd:Q15727816 .\n  OPTIONAL {\n    ?paintingSeries wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?wikipediaPage schema:about ?paintingSeries ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n  ?paintingSeries rdfs:label ?paintingSeriesLabel .\n  FILTER(LANG(?paintingSeriesLabel) = \"en\")\n}\nGROUP BY ?paintingSeries ?paintingSeriesLabel ?wikipediaPage", "paraphrases": ["Show me painting series, their English names, one example image from Commons, and their English Wikipedia links.", "List painting series in English, along with an associated image and Wikipedia page if available."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var3 ) ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q15727816> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en,fr,es,de,ru,it,nl,ja,zh,pl,cs\". } } GROUP BY ?var1 ?var1Label ?var2 ?var4"}}
{"id": "test_9783", "question": "What are the main topics of publications by Ola Spjuth, ranked by how many works cover each topic?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?count ?mainSubjectLabel WHERE {\n  {\n    SELECT ?mainSubject(COUNT(?work) AS ?count) WHERE {\n      ?work wdt:P50 wd:Q27061853 .\n      ?work wdt:P921 ?mainSubject .\n    }\n    GROUP BY ?mainSubject\n    ORDER BY DESC(?count)\n  }\n  ?mainSubject rdfs:label ?mainSubjectLabel .\n  FILTER(LANG(?mainSubjectLabel) = \"en\")\n}", "paraphrases": ["Which subjects are most frequently associated with the scientific works authored by Ola Spjuth, and how many works are there for each?", "Show me the English-labeled main subjects of Ola Spjuth\u2019s works, sorted by the number of works per subject in descending order."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label WHERE { { SELECT ?var4 ( COUNT ( ?var5 ) AS ?var1 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q27061853> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . } GROUP BY ?var4 ORDER BY DESC( ?var1 ) } BIND ( SUBSTR ( ?var6Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q27061853> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . }"}}
{"id": "test_9784", "question": "List the actors and their \u010cSFD IDs for the film with \u010cSFD film ID 220055.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?actor ?csfdPersonId WHERE {\n  ?film ( wdt:P31 / wdt:P279 * ) wd:Q11424 .\n  ?film wdt:P2529 \"220055\" .\n  ?film wdt:P161 ?actor .\n  ?actor wdt:P2605 ?csfdPersonId .\n}", "paraphrases": ["Who are the actors in the film identified by \u010cSFD film ID 220055, and what are their \u010cSFD person IDs?", "Can you provide the names of all cast members of the movie with \u010cSFD film ID 220055, along with their unique identifiers in the \u010cSFD database?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P2529> \"220055\". ?var1 <http://www.wikidata.org/prop/direct/P161> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P2605> ?var3 . }"}}
{"id": "test_9785", "question": "Humans associated with artistic movements", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?human WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human wdt:P135 ?movement .\n}\nLIMIT 500", "paraphrases": ["Which humans are associated with an artistic or literary movement?", "List people who belong to an artistic movement."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P135> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"eu,en\". } } LIMIT 500"}}
{"id": "test_9786", "question": "Places of worship in India with their coordinates and names.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?placeOfWorship ?coordinates ?label WHERE {\n  ?placeOfWorship ( wdt:P31 / wdt:P279 * ) wd:Q1370598 .\n  ?placeOfWorship wdt:P625 ?coordinates .\n  ?placeOfWorship wdt:P17 wd:Q668 .\n  ?placeOfWorship rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}", "paraphrases": ["What are the names, locations, and types of places of worship in India?", "List all religious sites in India along with their geographic coordinates and English names."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1370598> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q668> . }"}}
{"id": "test_9787", "question": "People born before 1900 who were born, died, or lived in the Caribbean region, along with their occupations and locations.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel ?birthDate ?deathDate ?placeLabel ?occupationLabel WHERE {\n  ?person wdt:P569 ?birthDate ; wdt:P570 ?deathDate ; wdt:P106 ?occupation ; ( wdt:P19 | wdt:P20 | wdt:P551 ) ?place .\n  ?place wdt:P706 wd:Q664609 .\n  ?person rdfs:label ?personLabel .\n  ?place rdfs:label ?placeLabel .\n  ?occupation rdfs:label ?occupationLabel .\n  FILTER ( ?birthDate <= \"1900-01-01T00:00:00Z\" ^^ xsd:dateTime ) FILTER ( lang( ?personLabel ) = \"en\" ) FILTER ( lang( ?placeLabel ) = \"en\" ) FILTER ( lang( ?occupationLabel ) = \"en\" )\n}", "paraphrases": ["Who were the people born before 1900 associated with the Caribbean (through birth, death, or residence), and what were their occupations?", "List all individuals born before 1900 who had a connection to the Caribbean \u2014 either through birthplace, death place, or residence \u2014 and include their occupations and the specific Caribbean locations involved."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4Label ?var5Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 ; <http://www.wikidata.org/prop/direct/P570> ?var3 ; <http://www.wikidata.org/prop/direct/P106> ?var5 ; ( <http://www.wikidata.org/prop/direct/P19> | <http://www.wikidata.org/prop/direct/P20> | <http://www.wikidata.org/prop/direct/P551> ) ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P706> <http://www.wikidata.org/entity/Q664609> . FILTER ( ( ( ?var2 <= \"1900-00-00T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9788", "question": "Film with LdiF ID 519527 and its English description", "sparql": "SELECT ?film ?filmLabel ?description WHERE { ?film wdt:P3107 \"519527\" . OPTIONAL { ?film schema:description ?description . FILTER (LANG(?description) = \"en\") } ?film rdfs:label ?filmLabel . FILTER (LANG(?filmLabel) = \"en\") }", "paraphrases": ["What is the English name and description of the film identified by LdiF ID 519527?", "Show me the English title and description of the film that has the LdiF ID 519527."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3107> \"519527\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9789", "question": "What are the named volcanic landforms in the world?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P31 wd:Q29025902 .\n  ?item rdfs:label ?itemLabel\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["List all entities that are instances of volcanic landform, along with their English names.", "Can you show me geographic regions that are classified as volcanic landforms?"], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6210402> . }"}}
{"id": "test_9790", "question": "List of geographic locations in Wikidata with English labels.", "sparql": "SELECT ?location ?locationLabel WHERE { ?location wdt:P31 wd:Q2221906 . ?location rdfs:label ?locationLabel . FILTER(LANG(?locationLabel) = \"en\") } LIMIT 3000", "paraphrases": ["What are some geographic locations in Wikidata and what are their English names?", "Show me 3000 geographic locations from Wikidata along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2221906> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,fr\". } } LIMIT 3000"}}
{"id": "test_9791", "question": "List some entities that have a type or class assigned.", "sparql": "SELECT DISTINCT ?item WHERE { ?item wdt:P31 ?type } LIMIT 100", "paraphrases": ["What are some examples of items in Wikidata that belong to any category?", "Show me 100 items that are instances of some class in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } LIMIT 100"}}
{"id": "test_9792", "question": "Humans with citizenship but no Dutch description.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?human WHERE {\n  ?human wdt:P31 wd:Q5 ; wdt:P27 ?country .\n  OPTIONAL {\n    ?human schema:description ?desc .\n    FILTER(LANG(?desc) = \"nl\")\n  }\n  FILTER(! BOUND(?desc))\n}\nLIMIT 1000", "paraphrases": ["Which humans have a country of citizenship but do not have a description in Dutch?", "List up to 1000 people who are known to have a nationality but are missing a Dutch-language description in Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P27> ?var2 . OPTIONAL { ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"nl\" ) ) ) . } FILTER ( ( !( BOUND ( ?var3 ) ) ) ) . } LIMIT 1000"}}
{"id": "test_9793", "question": "What country is the dish Papa Ghannug from?", "sparql": "SELECT ?country WHERE { wd:Q1072192 wdt:P495 ?country .}", "paraphrases": ["Country of origin of Papa Ghannug", "Tell me the country where Papa Ghannug originates."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q1072192> <http://www.wikidata.org/prop/direct/P402> ?var1 . }"}}
{"id": "test_9794", "question": "First-level administrative divisions of South Korea and their active municipal councils", "sparql": "SELECT DISTINCT ?division ?council WHERE { ?division (wdt:P31/wdt:P279*) wd:Q10864048 ; wdt:P17 wd:Q884 . OPTIONAL { ?council wdt:P1001 ?division ; (wdt:P31/wdt:P279*) wd:Q11204 . FILTER NOT EXISTS { ?council wdt:P576 [] } } } ORDER BY ?division", "paraphrases": ["Which municipal councils are currently active in each first-level administrative division of South Korea?", "Show me the list of South Korea\u2019s provinces and metropolitan cities along with their current legislative bodies."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ?var3Label WHERE { VALUES ( ?var4 ) { ( <http://www.wikidata.org/entity/Q50258518> ) } ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q10864048> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q884> . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1001> ?var2 ; ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11204> . MINUS { ?var3 <http://www.wikidata.org/prop/direct/P576> [] . } } MINUS { ?var5 <http://www.wikidata.org/prop/direct/P576> [] . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY ASC( ?var5 )"}}
{"id": "test_9795", "question": "Legislatures in South Korea that are active and apply to the country, including those linked to first-level administrative constituencies.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?legislature ?legislatureLabel WHERE {\n  wd:Q50258518 wdt:P17 wd:Q884 .\n  ?legislature wdt:P17 wd:Q884 ; wdt:P31 / wdt:P279 * wd:Q11204 .\n  FILTER NOT EXISTS {\n    ?legislature wdt:P576 []\n  }\n  .\n  ?legislature rdfs:label ?legislatureLabel .\n  FILTER ( LANG( ?legislatureLabel ) = \"en\" )\n}\nORDER BY ?legislature", "paraphrases": ["What are the active legislatures in South Korea that govern the same jurisdiction as the First level administrative councilors constituency?", "List the current legislatures in South Korea, excluding any that have been dissolved, and include their English labels."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q50258518> ) } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q10864048> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q884> . ?var2 <http://www.wikidata.org/prop/direct/P1001> ?var1 ; ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11204> . MINUS { ?var2 <http://www.wikidata.org/prop/direct/P576> [] . } ?var4 <http://www.wikidata.org/prop/statement/P279> ?var3 ; <http://www.wikidata.org/prop/qualifier/P642> ?var2 . ?var5 <http://www.wikidata.org/prop/P279> ?var4 . MINUS { ?var6 <http://www.wikidata.org/prop/direct/P576> [] . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY ASC( ?var6 )"}}
{"id": "test_9796", "question": "Swimmers with their gender, country, birth date, birth place, awards, and official websites.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4Label ?var5 ?var6 ?var7Label ?var8Label ?var9Label ?var10Label ?var11Label ?var12Label ?var13Label ?var14Label ?var15Label WHERE {\n  ?var1 wdt:P31 wd:Q5 .\n  ?var1 wdt:P106 wd:Q10843402 .\n  OPTIONAL {\n    ?var1 wdt:P21 ?var2 .\n  }\n  OPTIONAL {\n    ?var1 wdt:P27 ?var3 .\n  }\n  OPTIONAL {\n    ?var1 wdt:P106 ?var4 .\n  }\n  OPTIONAL {\n    ?var1 wdt:P569 ?var5 .\n  }\n  OPTIONAL {\n    ?var1 wdt:P570 ?var6 .\n  }\n  OPTIONAL {\n    ?var1 wdt:P19 ?var7 .\n  }\n  OPTIONAL {\n    ?var1 wdt:P20 ?var8 .\n  }\n  OPTIONAL {\n    ?var1 wdt:P119 ?var9 .\n  }\n  OPTIONAL {\n    ?var1 wdt:P69 ?var10 .\n  }\n  OPTIONAL {\n    ?var1 wdt:P166 ?var11 .\n  }\n  OPTIONAL {\n    ?var1 wdt:P136 ?var12 .\n  }\n  OPTIONAL {\n    ?var1 wdt:P39 ?var13 .\n  }\n  OPTIONAL {\n    ?var1 wdt:P800 ?var14 .\n  }\n  OPTIONAL {\n    ?var1 wdt:P856 ?var15 .\n  }\n}\nLIMIT 150000", "paraphrases": ["What are the details of all swimmers, including their gender, nationality, date of birth, place of birth, awards received, and official websites?", "Please list all human swimmers along with their gender, country of citizenship, date of birth, place of birth, any awards they\u2019ve received, and their official websites."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4Label ?var5 ?var6 ?var7Label ?var8Label ?var9Label ?var10Label ?var11Label ?var12Label ?var13Label ?var14Label ?var15Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q10843402> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P20> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P119> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P69> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P166> ?var11 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var12 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P39> ?var13 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P800> ?var14 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var15 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 150000"}}
{"id": "test_9797", "question": "What works are primarily about the TV show \"The Simpsons\"?", "sparql": "SELECT ?work ?workLabel WHERE { ?work wdt:P921 wd:Q886 . ?work rdfs:label ?workLabel . FILTER(LANG(?workLabel) = \"en\") } LIMIT 10", "paraphrases": ["Can you list English-language articles, books, or projects that have \"The Simpsons\" as their main subject?", "Show me the titles of works that focus on \"The Simpsons\" as their central topic."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P921> <http://www.wikidata.org/entity/Q6210402> . } LIMIT 10"}}
{"id": "test_9798", "question": "What is the title of the movie with IMDb ID tt0494238?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?movieLabel WHERE {\n  ?movie wdt:P345 \"tt0494238\" .\n  ?movie rdfs:label ?movieLabel .\n  FILTER ( LANG( ?movieLabel ) = \"en\" )\n}", "paraphrases": ["Movie with IMDb ID tt0494238", "Show me the English name of the movie identified by tt0494238 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0494238\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9799", "question": "What are all the taxonomic ancestors of Echinostoma stridulae?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?ancestor WHERE {\n  wd:Q50412260 wdt:P171 * ?ancestor\n}", "paraphrases": ["Taxonomic hierarchy of Echinostoma stridulae up to kingdom level.", "Show me the full lineage of the worm species Echinostoma stridulae from species to the highest taxonomic group."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q50412260> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P171> | <http://www.wikidata.org/prop/direct/P273> | <http://www.wikidata.org/prop/direct/P75> | <http://www.wikidata.org/prop/direct/P76> | <http://www.wikidata.org/prop/direct/P77> | <http://www.wikidata.org/prop/direct/P70> | <http://www.wikidata.org/prop/direct/P71> | <http://www.wikidata.org/prop/direct/P74> | <http://www.wikidata.org/prop/direct/P89> )* ?var1 . }"}}
{"id": "test_9800", "question": "Most common lengths of Bechdel Test movie IDs and example movies for each length.", "sparql": "SELECT ?length ( COUNT( DISTINCT ?bechdel_id ) AS ?count ) ( SAMPLE( ?bechdel_id ) AS ?example_id ) ( SAMPLE( ?movie ) AS ?example_movie ) WHERE { ?movie wdt:P4632 ?bechdel_id . BIND( STRLEN( ?bechdel_id ) AS ?length ) . } GROUP BY ?length ORDER BY DESC ( ?count ) LIMIT 10", "paraphrases": ["What are the most frequent lengths of Bechdel Test IDs, and which movies have examples of each length?", "Show the top 10 lengths of Bechdel Test IDs by frequency, along with one example ID and movie for each length."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 )( SAMPLE ( ?var2 ) AS ?var4 )( SAMPLE ( ?var5 ) AS ?var6 )( IRI ( CONCAT ( \"string1\", \"string2\", \"P4632\", \"string3\", \"string4\", STR ( ?var1 ) , \"string5\", \"string6\" ) ) AS ?var7 ) WHERE { BIND ( STRLEN ( ?var2 ) AS ?var1 ). ?var5 <http://www.wikidata.org/prop/direct/P4632> ?var2 . } GROUP BY ?var1 ORDER BY DESC( ?var3 ) LIMIT 10"}}
{"id": "test_9801", "question": "What properties link items to the synthesizer model class in Wikidata, excluding \"instance of\"?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?subject ?item ?property(SAMPLE(?qualifier) AS ?sampleQualifier) WHERE {\n  {\n    SELECT DISTINCT ?subject ?item ?property WHERE {\n      ?item ?statementProperty wd:Q19716577 .\n      ?subject ?claimProperty ?item .\n      ?property wikibase:statementProperty ?statementProperty .\n      ?property wikibase:claim ?claimProperty .\n      FILTER(?property != wd:P31)\n    }\n    LIMIT 101\n  }\n  OPTIONAL {\n    ?item ?qualifier ?value .\n    ?property wikibase:qualifier ?qualifier .\n  }\n}\nGROUP BY ?subject ?item ?property", "paraphrases": ["Which properties are used to associate items like synthesizers or Casiotone with the concept of a synthesizer model, and what qualifiers do those statements have?", "Show me the properties used to state that certain items are synthesizer models, along with any qualifiers on those statements."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q19716577> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_9802", "question": "Does Wikidata contain an entry for the IMDb ID nm0405985?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P345 \"nm0405985\" .\n}", "paraphrases": ["Is there a person in Wikidata with the IMDb identifier nm0405985?", "Check if the IMDb ID nm0405985 is linked to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"nm0405985\". }"}}
{"id": "test_9803", "question": "Image of Mirza Melkum Khan (SNAC ARK ID w6208j20)", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6208j20\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6208j20?", "Show me the Wikimedia Commons image for the person with SNAC ARK ID w6208j20."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6208j20\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9804", "question": "Does Wikidata contain a person with PORT ID 516347?", "sparql": "ASK WHERE { ?person wdt:P2435 \"516347\" . }", "paraphrases": ["Is there a person in Wikidata identified by the PORT network film database as 516347?", "Confirm if the PORT person ID 516347 corresponds to any individual in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2435> \"516347\". }"}}
{"id": "test_9805", "question": "Does the PORT person ID 211583 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?person wdt:P2435 \"211583\"\n}", "paraphrases": ["Is there a person in Wikidata with the PORT person identifier 211583?", "Does Wikidata contain an entry for the PORT network film database person ID 211583?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2435> \"211583\". }"}}
{"id": "test_9806", "question": "What are all the superclass categories of an exclusion zone in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?superclass WHERE {\n  wd:Q356936 wdt:P279 * ?superclass .\n  FILTER ( ?superclass != wd:Q356936 )\n}", "paraphrases": ["What classes does an exclusion zone belong to through the subclass-of hierarchy?", "Show me the complete hierarchy of classes that an exclusion zone is a subclass of, excluding itself."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q356936> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_9807", "question": "What are the Wikipedia pages about the film *Am\u00e9lie*?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?wikipediaPage WHERE {\n  ?wikipediaPage schema:about wd:Q484048 .\n}", "paraphrases": ["Can you find all the language versions of the Wikipedia article for the movie *Am\u00e9lie*?", "Show me the URLs of all Wikipedia articles that discuss the 2001 film *Am\u00e9lie*."], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q484048> <http://schema.org/about> ?var1 . }"}}
{"id": "test_9808", "question": "Number of items located on a street in Wikidata.", "sparql": "SELECT ( COUNT( DISTINCT ?item ) AS ?count ) WHERE { ?item wdt:P669 [] .}", "paraphrases": ["How many entities in Wikidata have a street assigned as their location?", "Count the number of items in Wikidata that are linked to a street using the \"located on street\" property."], "info": {"raw_sparql": "SELECT( COUNT ( DISTINCT ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P669> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9809", "question": "What are some subclasses of accessory in Wikidata?", "sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 wdt:P279 wd:Q362200 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") } LIMIT 11", "paraphrases": ["Can you list up to 11 English-labeled subclasses of the item \"accessory\" in Wikidata?", "Show me types of accessories, like headset or aquarium accessories, along with their English names, based on Wikidata\u2019s subclass hierarchy."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q362200> . } LIMIT 11 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9810", "question": "What is the English description and title of the MobyGames game with ID \"postal-iii\"?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?game ?gameTitle ?description WHERE {\n  ?game wdt:P1933 \"postal-iii\" .\n  ?game wdt:P1476 ?gameTitle .\n  OPTIONAL {\n    ?game schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["What is the title and English description of the video game Postal III, identified by its MobyGames ID \"postal-iii\"?", "Show me the title and English description of the game that has the MobyGames ID \"postal-iii\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1933> \"postal-iii\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9811", "question": "Humans who are emperors and their specific positions held, in English.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?position ?positionLabel WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person ( wdt:P106 / wdt:P279 * ) wd:Q39018 .\n  OPTIONAL {\n    ?person wdt:P39 ?position .\n    ?position rdfs:label ?positionLabel .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) FILTER ( LANG( ?positionLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Which humans have held the title of emperor or a related noble rank, and what specific positions did they hold?", "List emperors and the exact titles they held, using English labels for both the person and the position."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q39018> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P39> ?var2 . } } LIMIT 250000"}}
{"id": "test_9812", "question": "Who has the PORT person ID 131113?", "sparql": "SELECT ?person WHERE { ?person wdt:P2435 \"131113\" }", "paraphrases": ["Which person is identified by the identifier 131113 in the PORT film database?", "What is the Wikidata entity for the PORT network person ID 131113?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2435> \"131113\". }"}}
{"id": "test_9813", "question": "Who are the people with the surname Ujhelyi that have a French label?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item ?label WHERE {\n  ?item rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"fr\" ) FILTER ( CONTAINS( LCASE( STR( ?label ) ) , \"ujhelyi\" ) ) ?item wdt:P31 wd:Q5 .\n}", "paraphrases": ["Which humans in Wikidata have a French-language label containing 'Ujhelyi'?", "List all humans whose French name includes 'Ujhelyi'."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"ujhelyi\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_9814", "question": "Is there a Wikidata item with IMDb ID tt7533146?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P345 \"tt7533146\" .\n}", "paraphrases": ["Does the TV series \"Barbie Dreamtopia: The Series\" have an IMDb identifier of tt7533146?", "Confirm if the IMDb ID tt7533146 is linked to any entry in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt7533146\". }"}}
{"id": "test_9815", "question": "What entities are located in the Arctic region between longitude 68\u00b0 and 76\u00b0, and latitude 83\u00b0 and 84\u00b0, and what are their labels, images, Commons categories, and postal codes?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX geof: <http://www.opengis.net/def/function/geosparql/>\nSELECT ?item ?label ?location ?image ?commonsCategory ?postalCode WHERE {\n  ?item wdt:P625 ?location .\n  FILTER ( geof:latitude ( ?location ) >= 83 && geof:latitude ( ?location ) <= 84 && geof:longitude ( ?location ) >= 68 && geof:longitude ( ?location ) <= 76 ) .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?item wdt:P373 ?commonsCategory .\n  }\n  OPTIONAL {\n    ?item wdt:P969 ?postalCode .\n  }\n  ?item rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}\nLIMIT 3000", "paraphrases": ["Show me the English-labeled geographic items in the Arctic (83\u201384\u00b0N, 68\u201376\u00b0E) along with their coordinates, images, Wikimedia Commons categories, and postal codes.", "List all known events or places in the high Arctic (83\u201384\u00b0N, 68\u201376\u00b0E) with their English names, and include any associated images, Commons categories, or postal codes."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(68 83)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(76 84)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_9816", "question": "What film has the PORT film ID 57771?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P905 \"57771\" .\n}", "paraphrases": ["Which movie in Wikidata is identified by the PORT film ID 57771?", "I need to find the Wikidata entry for the film with PORT ID 57771 \u2014 what is it?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P905> \"57771\". } LIMIT 1"}}
{"id": "test_9817", "question": "What is the Wikidata item with Freebase ID /m/02601tm?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P646 \"/m/02601tm\" .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["Which item in Wikidata has the Freebase identifier /m/02601tm, and what is its name?", "Show me the English label of the Wikidata item linked to the Freebase ID /m/02601tm."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P646> \"/m/02601tm\". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9818", "question": "Is Fantasio a type of software?", "sparql": "ASK WHERE { wd:Q2737454 (wdt:P31/wdt:P279*) wd:Q7397 . }", "paraphrases": ["Is the comic character Fantasio an instance of or subclass of software?", "Confirm whether Fantasio, the fictional character from Spirou, belongs to the category of software through any hierarchical classification."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q2737454> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_9819", "question": "Image of the person with SNAC ARK ID w6zk9n30", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6zk9n30\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with Maxie Rosenbloom in Wikidata?", "Can you show me the Wikimedia Commons image for the individual identified by the SNAC ARK ID w6zk9n30?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6zk9n30\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9820", "question": "What are the French labels and descriptions of positions that are instances of president?", "sparql": "SELECT ?position ?positionLabel ?positionDescription WHERE { ?position wdt:P31 wd:Q30461 . ?position rdfs:label ?positionLabel . ?position schema:description ?positionDescription . FILTER(LANG(?positionLabel) = \"fr\") FILTER(LANG(?positionDescription) = \"fr\") } LIMIT 100", "paraphrases": ["List the French-named presidential offices and their descriptions in Wikidata.", "Which president roles have French labels and descriptions in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q30461> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"fr\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"fr\" ) ) ) . } LIMIT 100"}}
{"id": "test_9821", "question": "What country is the Brest Gate located in?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?country ?countryLabel WHERE {\n  wd:Q50664833 wdt:P17 ?country .\n  OPTIONAL {\n    ?country rdfs:label ?countryLabel .\n  }\n}", "paraphrases": ["Can you tell me the sovereign state that contains the Brest Gate?", "In which country can the Brest Gate be found?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q50664833> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_9822", "question": "What are some published editions of works in English?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?edition ?editionLabel WHERE {\n  ?edition wdt:P31 wd:Q3331189 .\n  ?edition rdfs:label ?editionLabel .\n  FILTER ( LANG( ?editionLabel ) = \"en\" )\n}", "paraphrases": ["Can you list the English-labeled editions of books or publications?", "Show me the titles of all known editions of literary or scholarly works."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q397239> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv,en\". } }"}}
{"id": "test_9823", "question": "Properties linking entities to Monte-Carlo Masters tournament with more than one occurrence", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(COUNT(?item) AS ?count) WHERE {\n  ?item ?property wd:Q459528 .\n}\nGROUP BY ?property\nHAVING(?count > 1)\nORDER BY DESC(?count)", "paraphrases": ["Which properties are used most frequently to connect other items to the Monte-Carlo Masters tennis tournament?", "Show me the properties that link other entities to the Monte-Carlo Masters, sorted by how often they\u2019re used, excluding rare ones."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q459528> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_9824", "question": "Entities located in Munich with English labels.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P131 wd:Q1726 .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["What are the English names of all places and buildings located in Munich?", "List all items in Munich along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> + <http://www.wikidata.org/entity/Q1726> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_9825", "question": "What are the English, German, and Tagalog Wikipedia pages about the movie with IMDb ID tt10676048?", "sparql": "SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 \"tt10676048\" . ?wikipedia_page schema:about ?movie . ?wikipedia_page schema:inLanguage ?lang . FILTER(?lang IN (\"en\", \"de\", \"tl\")) }", "paraphrases": ["Which language versions of Wikipedia (or related sites) discuss the film \"The Marvels\" (IMDb: tt10676048)?", "Show me the Wikipedia and Wikiquote pages in English, German, and Tagalog that are about the movie \"The Marvels\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6731862\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"tl\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9826", "question": "What are the English, German, and Finnish Wikipedia pages for the movie with IMDb ID tt0249131?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?wikipedia_page WHERE {\n  ?movie wdt:P345 \"tt0249131\" .\n  ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang .\n  VALUES ?lang {\n    \"en\" \"de\" \"fi\"\n  }\n}", "paraphrases": ["Can you show me the Wikipedia articles in English, German, and Finnish about the film identified by tt0249131 on IMDb?", "Which language versions of Wikipedia have articles about the movie Rollo and the Spirit of the Woods, based on its IMDb identifier?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0249131\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"fi\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9827", "question": "Wikipedia pages in English, German, or Polish about the film with IMDb ID tt0062485.", "sparql": "SELECT ?film ?wikipedia_page WHERE { ?film wdt:P345 \"tt0062485\" . ?wikipedia_page schema:about ?film . VALUES ?lang { \"en\" \"de\" \"pl\" } ?wikipedia_page schema:inLanguage ?lang . }", "paraphrases": ["What are the English, German, and Polish Wikipedia articles about the movie \"Westerplatte\" (IMDb ID tt0062485)?", "Show me the Wikipedia pages in English, German, or Polish that are about the film identified by IMDb ID tt0062485."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0062485\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"pl\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9828", "question": "Wikipedia pages in English, German, or Swedish about the movie with IMDb ID tt3411420.", "sparql": "SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 \"tt3411420\" . ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang IN (\"en\", \"de\", \"sv\")) }", "paraphrases": ["What are the English, German, and German Wikipedia articles about the film Tommy (2014)?", "Show me the Wikipedia pages in English, Swedish, and German that are about the movie identified by IMDb ID tt3411420."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt3411420\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"sv\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9829", "question": "Properties and values for Kef Haouas, excluding instance of.", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?property ?propertyItem(SAMPLE(?qualifierValue) AS ?qualifier) WHERE {\n  wd:Q23811111 ?property ?item .\n  ?propertyItem wikibase:directClaim ?property .\n  FILTER(?propertyItem != wd:P31 && ?propertyItem != wd:P31279)\n  OPTIONAL {\n    ?statement ?property ?item .\n    ?statement ?qualifierProperty ?qualifierValue .\n    ?qualifierProperty wikibase:qualifier true .\n  }\n}\nGROUP BY ?item ?property ?propertyItem", "paraphrases": ["What are the characteristics of Kef Haouas, and what are their values in Wikidata, excluding its classification as a hill?", "List all the direct properties and their values associated with Kef Haouas, excluding any \"instance of\" relationships."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q23811111> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_9830", "question": "Wikipedia pages in English, German, and Dutch about the movie with IMDb ID tt0133093.", "sparql": "SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 \"tt0133093\" . ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang IN (\"en\", \"de\", \"nl\")) }", "paraphrases": ["What are the English, German, and Dutch Wikipedia pages about the movie \"The Matrix\"?", "Show me the Wikipedia articles in English, German, and Dutch that are about the film identified by IMDb ID tt0133093."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6383452\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"nl\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9831", "question": "Chemical elements ordered by atomic number with their symbol, discoverer, location of discovery, and electronegativity.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?element ?atomicNumber ?symbol ?electronegativity ?discovererLabel ?locationLabel ?discoveryDate WHERE {\n  ?element wdt:P31 wd:Q11344 .\n  ?element wdt:P1086 ?atomicNumber .\n  ?element wdt:P246 ?symbol .\n  OPTIONAL {\n    ?element wdt:P1108 ?electronegativity .\n  }\n  OPTIONAL {\n    ?element wdt:P61 ?discoverer .\n    ?discoverer rdfs:label ?discovererLabel .\n    FILTER(LANG(?discovererLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?element wdt:P189 ?location .\n    ?location rdfs:label ?locationLabel .\n    FILTER(LANG(?locationLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?element wdt:P575 ?discoveryDate .\n  }\n}\nORDER BY ASC(?atomicNumber)", "paraphrases": ["What are the chemical elements, their atomic numbers, symbols, discoverers, discovery locations, and electronegativities, listed in order of increasing atomic number?", "List all chemical elements along with their atomic number, symbol, discoverer (in English), where they were discovered, and their electronegativity, sorted by atomic number."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label ?var4 ?var5Label ?var6Label ?var7 ?var7Label ?var8 ?var8Label ?var9 ?var9Label ?var10 ?var11 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11344> . ?var1 <http://www.wikidata.org/prop/direct/P1086> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P61> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P575> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P189> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P246> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1108> ?var11 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var2 )"}}
{"id": "test_9832", "question": "What are the release versions, dates, and types (e.g., stable or obsolete) of Semantic MediaWiki?", "sparql": "SELECT DISTINCT ?version ?releaseDate ?versionTypeLabel WHERE { wd:Q20728 p:P348 ?statement . ?statement ps:P348 ?version . ?statement pq:P577 ?releaseDate . OPTIONAL { ?statement pq:P548 ?versionType . ?versionType rdfs:label ?versionTypeLabel . FILTER(LANG(?versionTypeLabel) = \"en\") } }", "paraphrases": ["For each version of Semantic MediaWiki, what was its release date and version type (such as stable or obsolete), if available?", "List all published versions of Semantic MediaWiki with their release dates and English-labeled version types (like \"stable\" or \"obsolete\")."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3Label WHERE { <http://www.wikidata.org/entity/Q20728> <http://www.wikidata.org/prop/P348> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P348> ?var1 . ?var4 <http://www.wikidata.org/prop/qualifier/P577> ?var2 . OPTIONAL { ?var4 <http://www.wikidata.org/prop/qualifier/P548> ?var5 . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . } }"}}
{"id": "test_9833", "question": "Most common qualifier properties used with production rate statements on Wikidata.", "sparql": "SELECT ?qualifierProp ?label ?count WHERE { { SELECT ?qualifierProp (COUNT(DISTINCT ?item) AS ?count) WHERE { ?item p:P2197 ?statement . ?statement ?qualifierProp ?qualifierValue . FILTER(STRSTARTS(STR(?qualifierProp), \"http://www.wikidata.org/prop/qualifier/\")) } GROUP BY ?qualifierProp } OPTIONAL { ?qualifierProp rdfs:label ?label . } } ORDER BY DESC(?count) ASC(?label)", "paraphrases": ["Which qualifier properties are most frequently used with the production rate (P2197) property, and how often are they used?", "Show me the qualifier properties used with production rate statements, sorted by how often they appear, along with their usage counts."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 ( COUNT ( DISTINCT ?var3 ) AS ?var2 ) WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var3 <http://www.wikidata.org/prop/P2197> ?var4 . ?var4 ?var5 ?var6 . ?var1 <http://wikiba.se/ontology#qualifier> ?var5 . } GROUP BY ?var1 } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"ca\" ) ) ) . } } ORDER BY DESC( ?var2 )ASC( ?var1Label )"}}
{"id": "test_9834", "question": "List all episodes of The Big Bang Theory that contain \"Pilot\" in their title.", "sparql": "SELECT DISTINCT ?series ?seriesLabel ?searchTerm ?episode ?episodeLabel (REGEX(?episodeLabel, ?searchTerm) AS ?matches) WHERE { BIND(wd:Q8539 AS ?series) . BIND(\"Pilot\" AS ?searchTerm) . ?episode wdt:P31 wd:Q21191270 ; wdt:P179 ?series . ?episode rdfs:label ?episodeLabel . FILTER(LANG(?episodeLabel) = \"en\") . ?series rdfs:label ?seriesLabel . FILTER(LANG(?seriesLabel) = \"en\") . } ORDER BY ASC(?matches) ASC(?episodeLabel)", "paraphrases": ["Which episodes of The Big Bang Theory have \"Pilot\" in their English title?", "Show me all English titles of episodes from The Big Bang Theory, indicating which ones include the word \"Pilot\", sorted so that non-matching titles come first."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 ( REGEX ( ?var4 , ?var2 ) AS ?var5 ) WHERE { BIND ( <http://www.wikidata.org/entity/Q8539> AS ?var1 ). BIND ( \"string1\" AS ?var2 ). ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q21191270> ; <http://www.wikidata.org/prop/direct/P179> ?var1 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var5 )ASC( ?var4 )"}}
{"id": "test_9835", "question": "What are the English, German, and Hindi Wikipedia articles about the movie with IMDb ID tt1610452?", "sparql": "SELECT ?movie ?wikipedia_article WHERE { VALUES ?imdb_id { \"tt1610452\" } ?movie wdt:P345 ?imdb_id . { ?wikipedia_article schema:about ?movie ; schema:inLanguage \"en\" . } UNION { ?wikipedia_article schema:about ?movie ; schema:inLanguage \"de\" . } UNION { ?wikipedia_article schema:about ?movie ; schema:inLanguage \"hi\" . } }", "paraphrases": ["Show me the Wikipedia pages in English, German, and Hindi for the film Band Baaja Baaraat.", "Which language versions of Wikipedia have articles about the movie identified by tt1610452?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1610452\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"hi\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9836", "question": "What are the Wikipedia pages for the film with IMDb ID tt0089740 in English, German, or Norwegian?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipediaPage WHERE {\n  ?item wdt:P345 \"tt0089740\" .\n  ?wikipediaPage schema:about ?item .\n  {\n    ?wikipediaPage schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipediaPage schema:inLanguage \"de\" .\n  } UNION {\n    ?wikipediaPage schema:inLanguage \"no\" .\n  }\n}", "paraphrases": ["Find the Wikipedia articles about the movie \"Orion's Belt\" (IMDb: tt0089740) that are available in English, German, or Norwegian languages.", "Which language versions of Wikipedia have articles about the film identified by IMDb ID tt0089740?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0089740\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"no\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9837", "question": "Wikipedia articles in English, Korean, or German about the movie with IMDb ID tt6646998.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipedia_page ?imdb_id WHERE {\n  VALUES ?imdb_id {\n    \"tt6646998\"\n  }\n  ?movie wdt:P345 ?imdb_id .\n  ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang .\n  VALUES ?lang {\n    \"en\" \"de\" \"ko\"\n  }\n}", "paraphrases": ["What are the English and Korean Wikipedia pages for the movie identified by IMDb ID tt6646998?", "Show me the Wikipedia links in English, German, and Korean that are about the movie with IMDb ID tt6646998, along with the IMDb ID itself."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6646998\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"ko\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9838", "question": "What are the English, German, and Korean Wikipedia pages for the movie with IMDb ID tt0150980?", "sparql": "SELECT ?movie ?wikipedia_page ?imdb_id WHERE { BIND(\"tt0150980\" AS ?imdb_id) ?movie wdt:P345 ?imdb_id . ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang . VALUES ?lang { \"en\" \"de\" \"ko\" } }", "paraphrases": ["Show me the Wikipedia articles in English, Korean, or German about the film identified by tt0150980 on IMDb.", "Which language versions of Wikipedia have articles about the 1960 film *The Housemaid* (IMDb: tt0150980)?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0150980\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"ko\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9839", "question": "What is the Portuguese Wikipedia page for the movie with IMDb ID tt4117326?", "sparql": "SELECT ?item ?wikipedia_page WHERE { ?item wdt:P345 \"tt4117326\" . ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang . VALUES ?lang { \"en\" \"de\" \"pt\" } }", "paraphrases": ["Which Wikipedia articles in English, German, or Portuguese are about the movie identified by IMDb ID tt4117326?", "Can you find the Wikipedia links for the movie tt4117326 in English, German, or Portuguese?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt4117326\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"pt\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9840", "question": "What are some examples of professions listed in Wikidata?", "sparql": "SELECT ?profession ?professionLabel WHERE { ?profession wdt:P31 wd:Q28640 . ?profession rdfs:label ?professionLabel . FILTER(LANG(?professionLabel) = \"en\") } LIMIT 100", "paraphrases": ["Can you list 100 occupations that are classified as professions in Wikidata?", "Show me the names of jobs or careers that are categorized as professions."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,fr\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q28640> . } LIMIT 100"}}
{"id": "test_9841", "question": "What Wikipedia and Wikiquote pages in English, German, or Russian are about the movie with IMDb ID tt4559932?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?page WHERE {\n  VALUES ?imdbId {\n    \"tt4559932\"\n  }\n  ?movie wdt:P345 ?imdbId .\n  ?page schema:about ?movie .\n  VALUES ?lang {\n    \"en\" \"de\" \"ru\"\n  }\n  ?page schema:inLanguage ?lang .\n}", "paraphrases": ["Show me the language versions of Wikipedia and Wikiquote pages for the film 'Ghost' (2015) in English, German, and Russian.", "Which language editions of Wikipedia and Wikiquote link to the movie Ghost (2015) on Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt4559932\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"ru\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9842", "question": "What are the English and Russian Wikipedia pages for the movie with IMDb ID tt3711466?", "sparql": "SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 \"tt3711466\" . ?wikipedia_page schema:about ?movie . VALUES ?lang { \"en\" \"de\" \"ru\" } ?wikipedia_page schema:inLanguage ?lang . }", "paraphrases": ["Can you find Wikipedia articles in English, German, or Russian about the film identified by tt3711466 on IMDb?", "Show me the Wikipedia links for the movie \"The Kitchen in Paris\" in English and Russian."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt3711466\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"ru\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9843", "question": "What are the English and Russian Wikipedia pages for the movie with IMDb ID tt1823202?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?wikipediaPage WHERE {\n  ?movie wdt:P345 \"tt1823202\" .\n  ?wikipediaPage schema:about ?movie .\n  VALUES ?lang {\n    \"en\" \"de\" \"ru\"\n  }\n  ?wikipediaPage schema:inLanguage ?lang .\n}", "paraphrases": ["Which Wikipedia articles in English, German, or Russian are about the movie \"Siberia, Monamour\"?", "Can you show me the Wikipedia links in English, German, or Russian for the film identified by tt1823202 on IMDb?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1823202\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"ru\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9844", "question": "Properties linking other items to Powiat Pozna\u0144ski Open with count > 1", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ( COUNT( ?item ) AS ?count ) WHERE {\n  ?item ?property wd:Q17361963 .\n}\nGROUP BY ?property\nHAVING ( ?count > 1 )\nORDER BY DESC ( ?count )", "paraphrases": ["What properties are used by other Wikidata items to refer to the Powiat Pozna\u0144ski Open tennis tournament, and how often?", "Show me the properties that connect other items to the Powiat Pozna\u0144ski Open tournament, excluding those used only once, sorted by frequency."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q17361963> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_9845", "question": "Wikipedia pages in English, Russian, or German about the movie with IMDb ID tt7206474", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?wikipediaPage ?language WHERE {\n  ?item wdt:P345 \"tt7206474\" .\n  ?wikipediaPage schema:about ?item .\n  ?wikipediaPage schema:inLanguage ?language .\n  FILTER ( ?language IN ( \"en\" , \"de\" , \"ru\" ) )\n}", "paraphrases": ["What are the English, German, and Russian Wikipedia pages for the movie with IMDb ID tt7206474?", "Show me the Wikipedia articles in English, German, and Russian that are about the film identified by IMDb ID tt7206474."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt7206474\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"ru\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9846", "question": "Who is Akiko Baba in French, and is she a human?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person WHERE {\n  ?person rdfs:label \"Akiko Baba\" @fr .\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["What human has the French label 'Akiko Baba'?", "Find the person whose French name is Akiko Baba and who is classified as a human."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"aki baba\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_9847", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0242653?", "sparql": "SELECT ?item ?wikipediaPage WHERE { ?item wdt:P345 \"tt0242653\" . ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") FILTER(STRSTARTS(STR(?wikipediaPage), \"https://en.wikipedia.org/\") || STRSTARTS(STR(?wikipediaPage), \"https://de.wikipedia.org/\")) }", "paraphrases": ["Can you show me the Wikipedia articles in English and German about The Matrix Revolutions?", "Which language editions of Wikipedia have articles about the film identified by tt0242653?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1155673\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9848", "question": "Top main subjects of works by Robert C. Glen, with work titles and how many works per subject.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?count ?mainSubjectLabel(SUBSTR(?workLabel , 1 , 60) AS ?workLabelTruncated) WHERE {\n  {\n    SELECT ?mainSubject(COUNT(?work) AS ?count) WHERE {\n      ?work wdt:P50 wd:Q28946543 .\n      ?work wdt:P921 ?mainSubject .\n    }\n    GROUP BY ?mainSubject\n    ORDER BY DESC(?count)\n  }\n  ?work wdt:P50 wd:Q28946543 .\n  ?work wdt:P921 ?mainSubject .\n  ?mainSubject rdfs:label ?mainSubjectLabel .\n  ?work rdfs:label ?workLabel .\n  FILTER(LANG(?mainSubjectLabel) = \"en\")\n  FILTER(LANG(?workLabel) = \"en\")\n}\nORDER BY DESC(?count)", "paraphrases": ["What are the most common scientific topics in the publications authored by Robert C. Glen, and what are the titles of those publications?", "List all works by Robert C. Glen, showing the main subject of each, how many works share that subject, and the truncated title of the work."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label WHERE { { SELECT ?var4 ( COUNT ( ?var5 ) AS ?var1 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q28946543> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . } GROUP BY ?var4 ORDER BY DESC( ?var1 ) } BIND ( SUBSTR ( ?var6Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q28946543> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . }"}}
{"id": "test_9849", "question": "Wikipedia and Wikiquote pages in English, German, or Japanese about the movie with IMDb ID tt0109872.", "sparql": "SELECT ?movie ?page WHERE { ?movie wdt:P345 \"tt0109872\" . ?page schema:about ?movie . VALUES ?lang { \"en\" \"de\" \"ja\" } ?page schema:inLanguage ?lang . }", "paraphrases": ["What language-specific Wikipedia or Wikiquote pages exist for the movie \"Fatal Fury: The Motion Picture\" (IMDb: tt0109872) in English, German, or Japanese?", "Show me the English, German, and Japanese language pages about the movie with IMDb ID tt0109872."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0109872\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"ja\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9850", "question": "What is the Danish Wikipedia page for the film with IMDb ID tt0122761?", "sparql": "SELECT ?item ?wikipedia_page WHERE { ?item wdt:P345 \"tt0122761\" . ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang . VALUES ?lang { \"en\" \"de\" \"da\" } }", "paraphrases": ["Which Wikipedia page in Danish, English, or German is about the movie with IMDb identifier tt0122761?", "Show me the Wikipedia link for the film tt0122761 in Danish, German, or English."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0122761\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"da\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9851", "question": "What are the English and German Wikipedia pages for the film with IMDb ID tt0080380?", "sparql": "SELECT ?film ?wikipedia_page WHERE { ?film wdt:P345 \"tt0080380\" . ?wikipedia_page schema:about ?film . { ?wikipedia_page schema:inLanguage \"en\" . } UNION { ?wikipedia_page schema:inLanguage \"de\" . } }", "paraphrases": ["Can you show me the Wikipedia articles about the movie \"The Apple\" (1980) in English and German?", "Which language versions of Wikipedia have articles about the film identified by tt0080380?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0080380\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9852", "question": "English Wikipedia page and title for the movie with IMDb ID tt0126252", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?movieLabel ?wikipediaPage WHERE {\n  ?movie wdt:P345 \"tt0126252\" .\n  ?movie rdfs:label ?movieLabel .\n  FILTER(LANG(?movieLabel) = \"en\")\n  .\n  ?wikipediaPage schema:about ?movie ; schema:inLanguage \"en\" .\n}", "paraphrases": ["What is the English title of the movie with IMDb ID tt0126252, and what is its English Wikipedia page?", "Show me the English name and Wikipedia link for the movie identified by tt0126252 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0126252\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9853", "question": "What are the English and Spanish Wikipedia pages for the movie with IMDb ID tt0390136?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?wikipediaPage WHERE {\n  ?movie wdt:P345 \"tt0390136\" .\n  ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang .\n  FILTER(?lang IN(\"en\" , \"es\" , \"de\"))\n}", "paraphrases": ["Find Wikipedia articles in English, Spanish, or German about the movie identified by IMDb ID tt0390136.", "Which Wikipedia pages are linked to the movie \"Isi/Disi - Amor a lo bestia\" via its IMDb identifier?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0390136\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"es\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9854", "question": "What are the English or German Wikipedia pages for the movie with IMDb ID tt0080660?", "sparql": "SELECT ?movie ?wikipediaPage ?imdbId WHERE { ?movie wdt:P345 \"tt0080660\" . ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") BIND(\"tt0080660\" AS ?imdbId) }", "paraphrases": ["Which Wikipedia articles in English or German describe the film identified by the IMDb ID tt0080660?", "Show me the Wikidata item, the corresponding German or English Wikipedia page, and the IMDb ID for the movie tt0080660."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0080660\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9855", "question": "Taxa with IUCN conservation status but no IUCN taxon ID.", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pr: <http://www.wikidata.org/prop/reference/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX prov: <http://www.w3.org/ns/prov#>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?taxon ?scientificName WHERE {\n  ?taxon p:P141 ?statement .\n  ?statement ps:P141 ?status .\n  ?statement prov:wasDerivedFrom ?source .\n  OPTIONAL {\n    ?source pr:P627 ?iucnId\n  }\n  FILTER ( ! BOUND( ?iucnId ) ) ?taxon wdt:P225 ?scientificName .\n}\nORDER BY ASC ( ?scientificName )", "paraphrases": ["Which species have a conservation status from the IUCN Red List but lack a corresponding IUCN taxon ID in their source?", "List the scientific names of all species that are listed by the IUCN as having a conservation status, but whose status is not linked to an IUCN taxon identifier."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P141> ?var6 . ?var1 <http://www.wikidata.org/prop/direct/P225> ?var2 . ?var1 <http://www.wikidata.org/prop/P141> ?var7 . ?var7 <http://www.wikidata.org/prop/statement/P141> ?var8 . ?var7 <http://www.w3.org/ns/prov#wasDerivedFrom> ?var9 . OPTIONAL { ?var9 <http://www.wikidata.org/prop/reference/P627> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . } FILTER ( ( !( BOUND ( ?var5 ) ) ) ) . } ORDER BY ASC( ?var3 )"}}
{"id": "test_9856", "question": "What are the hierarchical superclass categories of volcanic landforms up to five levels above, and what are their direct parent classes?", "sparql": "SELECT ?subclass ?subclassLabel ?directSuperclass WHERE { { wd:Q29025902 wdt:P279 ?subclass . BIND(?subclass AS ?directSuperclass) } UNION { wd:Q29025902 wdt:P279 ?level1 . ?level1 wdt:P279 ?subclass . BIND(?level1 AS ?directSuperclass) } UNION { wd:Q29025902 wdt:P279 ?level1 . ?level1 wdt:P279 ?level2 . ?level2 wdt:P279 ?subclass . BIND(?level2 AS ?directSuperclass) } UNION { wd:Q29025902 wdt:P279 ?level1 . ?level1 wdt:P279 ?level2 . ?level2 wdt:P279 ?level3 . ?level3 wdt:P279 ?subclass . BIND(?level3 AS ?directSuperclass) } UNION { wd:Q29025902 wdt:P279 ?level1 . ?level1 wdt:P279 ?level2 . ?level2 wdt:P279 ?level3 . ?level3 wdt:P279 ?level4 . ?level4 wdt:P279 ?subclass . BIND(?level4 AS ?directSuperclass) } ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") } ORDER BY ?subclass", "paraphrases": ["List all the broader categories that volcanic landforms belong to, going up to five levels in the classification hierarchy, along with their immediate parent categories.", "Show me the taxonomic tree above volcanic landform, showing each superclass up to five levels and the immediate parent of each."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q5302441> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9857", "question": "Cities with their English names and native labels", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?city ?cityLabel ?nativeLabel WHERE {\n  ?city wdt:P31 wd:Q515 .\n  OPTIONAL {\n    ?city rdfs:label ?cityLabel .\n    FILTER(LANG(?cityLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?city wdt:P1705 ?nativeLabel .\n  }\n}\nLIMIT 100", "paraphrases": ["What are the English names and native names of cities in Wikidata?", "Show me a list of cities along with their English labels and official language names, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1705> ?var2 . } } LIMIT 100"}}
{"id": "test_9858", "question": "Railway lines connected to any location with Russian labels and descriptions", "sparql": "SELECT DISTINCT ?railwayLine ?label ?description WHERE { ?x wdt:P81 ?railwayLine . ?railwayLine rdfs:label ?label . ?railwayLine schema:description ?description . FILTER(LANG(?label) = \"ru\") . FILTER(LANG(?description) = \"ru\") } LIMIT 100", "paraphrases": ["Which railway lines have both a Russian label and a Russian description, and are connected to any location?", "Show me railway lines that are connected to other places and have Russian-language labels and descriptions."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P81> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"ru\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"ru\" ) ) ) . } LIMIT 100"}}
{"id": "test_9859", "question": "What are the different language labels for cities, along with their native names?", "sparql": "SELECT ?city ?languageCode ?label ?nativeLabel WHERE { ?city (wdt:P31/wdt:P279*) wd:Q515 . OPTIONAL { ?city rdfs:label ?label . } OPTIONAL { ?city wdt:P1705 ?nativeLabel . } BIND(LANG(?label) AS ?languageCode) } LIMIT 100", "paraphrases": ["Can you list the labels of cities in different languages and show their official/native names?", "Show up to 100 city labels in various languages and their corresponding native labels."], "info": {"raw_sparql": "SELECT ?var1 ( LANG ( ?var2Label ) AS ?var3 ) ?var2Label ?var4Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1705> ?var4Label . } } LIMIT 100"}}
{"id": "test_9860", "question": "Which property is most frequently used to link other properties to orbital eccentricity?", "sparql": "PREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ( COUNT( ?property ) AS ?count ) WHERE {\n  ?item ?usedProperty wd:P1096 .\n  ?property wikibase:directClaim ?usedProperty .\n  ?property rdf:type wikibase:Property .\n}\nGROUP BY ?property\nORDER BY DESC ( ?count )\nLIMIT 1", "paraphrases": ["What property is used most often to state that another property is an instance of orbital eccentricity?", "Show me the property that appears most frequently as the direct claim for statements linking to the property 'orbital eccentricity'."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/P1096> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_9861", "question": "Subclasses of door in Wikidata with English labels", "sparql": "SELECT ?subclass ?subclassLabel WHERE { ?subclass p:P279 ?statement . ?statement ps:P279 wd:Q36794 . ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") } ORDER BY ?subclassLabel LIMIT 101", "paraphrases": ["What are the subclasses of the entity \"door\" in Wikidata, and what are their English names?", "List all the English-named subclasses of \"door\" from Wikidata, up to 101 results."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P279> <http://www.wikidata.org/entity/Q36794> . ?var1 <http://www.wikidata.org/prop/P279> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_9862", "question": "Living Polish politicians born after 1900", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?dateOfDeath WHERE {\n  ?person wdt:P31 wd:Q5 ; wdt:P27 wd:Q36 ; wdt:P106 wd:Q82955 ; wdt:P569 ?dateOfBirth .\n  OPTIONAL {\n    ?person wdt:P570 ?dateOfDeath .\n  }\n  FILTER(?dateOfBirth > \"1900-01-01T00:00:00Z\" ^^ xsd:dateTime)\n  FILTER(! BOUND(?dateOfDeath))\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}", "paraphrases": ["Who are the Polish politicians born after 1900 who are still alive?", "List the names of all living Polish politicians born after January 1, 1900."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q36> ; <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82955> ; <http://www.wikidata.org/prop/direct/P569> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . } FILTER ( ( ( ?var3 > \"1900-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( !( BOUND ( ?var2 ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } }"}}
{"id": "test_9863", "question": "Does the athlete with World Athletics ID 292740 have a profile in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?athlete wdt:P1146 \"292740\" .\n}", "paraphrases": ["Is there a record in Wikidata for an athlete identified by the ID 292740 in the World Athletics database?", "Can I find an athlete in Wikidata using the World Athletics ID 292740?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1146> \"292740\". }"}}
{"id": "test_9864", "question": "Does Transfermarkt player ID 726 exist in Wikidata?", "sparql": "ASK WHERE { ?player wdt:P2446 \"726\" . }", "paraphrases": ["Is there a football player in Wikidata with the Transfermarkt ID 726?", "Find out if the footballer with Transfermarkt ID 726 is listed in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2446> \"726\". }"}}
{"id": "test_9865", "question": "Is there a person in Wikidata with the VIAF ID 2796150943142826760003?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P214 \"2796150943142826760003\" .\n}", "paraphrases": ["Does the Virtual International Authority File identifier 2796150943142826760003 exist in Wikidata?", "Does Wikidata contain an entry for the VIAF cluster ID 2796150943142826760003?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"2796150943142826760003\". }"}}
{"id": "test_9866", "question": "Image of Gladys Nordenstrom with SNAC ARK ID w6x77900", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6x77900\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the person identified by SNAC ARK ID w6x77900?", "Show me the Wikimedia Commons image for the individual whose SNAC ARK ID is w6x77900."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6x77900\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9867", "question": "Alternative English labels for public offices held by humans", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?officeLabel WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person p:P39 ?statement .\n  ?statement ps:P39 ?office .\n  ?office(wdt:P31 | wdt:P279) * wd:Q294414 .\n  ?office skos:altLabel ?officeLabel .\n  FILTER(LANG(?officeLabel) = \"en\")\n}", "paraphrases": ["What are the English alternative names for public offices that people have held?", "List all English alternative labels for political positions such as president, senator, or member of parliament."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var3 <http://www.wikidata.org/prop/P39> ?var4 . ?var4 <http://www.wikidata.org/prop/qualifier/P580> ?var5 . OPTIONAL { ?var4 <http://www.wikidata.org/prop/qualifier/P582> ?var6 . } ?var4 <http://www.wikidata.org/prop/statement/P39> ?var7 . OPTIONAL { ?var7 ( <http://www.wikidata.org/prop/direct/P31> *| <http://www.wikidata.org/prop/direct/p279> *) <http://www.wikidata.org/entity/Q294414> . } OPTIONAL { ?var7 <http://www.w3.org/2004/02/skos/core#altLabel> * ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_9868", "question": "Wikipedia pages in English, French, or German about the movie with IMDb ID tt0092995.", "sparql": "SELECT ?movie ?wikipediaPage WHERE { ?movie wdt:P345 \"tt0092995\" . ?wikipediaPage schema:about ?movie . { ?wikipediaPage schema:inLanguage \"en\" . } UNION { ?wikipediaPage schema:inLanguage \"fr\" . } UNION { ?wikipediaPage schema:inLanguage \"de\" . } }", "paraphrases": ["What are the English, French, and German Wikipedia articles for the movie with IMDb ID tt0092995?", "Show me the Wikipedia links in English, French, and German for the film identified by IMDb ID tt0092995."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0092995\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"fr\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9869", "question": "What is the image associated with Jacinto Grau in the SNAC ARK system?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6nx3m86\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Show the Wikimedia Commons image for the person identified by SNAC ARK ID w6nx3m86.", "Can you find the picture linked to the SNAC ARK ID w6nx3m86?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6nx3m86\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9870", "question": "Heritage sites in Newfoundland and Labrador with coordinates and images", "sparql": "SELECT ?item ?itemLabel ?admin ?adminLabel ?image ?coord WHERE { ?item wdt:P131 wd:Q2003 . ?item wdt:P1435 ?heritage . ?item wdt:P625 ?coord . OPTIONAL { ?item wdt:P18 ?image . } ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") . OPTIONAL { ?admin rdfs:label ?adminLabel . FILTER(LANG(?adminLabel) = \"en\") } } LIMIT 10", "paraphrases": ["What are the federally recognized heritage buildings in Newfoundland and Labrador, and what are their locations and images?", "List the heritage-designated sites in Newfoundland and Labrador, including their administrative region, coordinates, and associated images."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var5 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerWest> \"POINT(-54 48)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerEast> \"POINT(-53 48)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } { ?var1 <http://www.wikidata.org/prop/P1435> ?var6 . } UNION { ?var1 <http://www.wikidata.org/prop/P2186> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_9871", "question": "People who studied computer science and their educational institutions, with optional photos.", "sparql": "SELECT ?person ?personLabel ?institution ?image WHERE { ?person wdt:P101 wd:Q21198 ; wdt:P69 ?institution . OPTIONAL { ?person wdt:P18 ?image . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } ORDER BY ASC(?institution)", "paraphrases": ["Who are the people whose field of work is computer science, where did they study, and do they have images available on Wikimedia Commons?", "List all individuals associated with computer science as their field of work, sorted by the educational institution they attended, along with their English names and any associated images."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P101> <http://www.wikidata.org/entity/Q21198> ; <http://www.wikidata.org/prop/direct/P69> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var2 )"}}
{"id": "test_9872", "question": "What is the largest city in each country, and what is its population and native name?", "sparql": "SELECT DISTINCT ?city ?population ?country ?countryLabel ?cityNativeLabel WHERE { { SELECT ?country (MAX(?pop) AS ?maxPop) WHERE { ?city wdt:P31/wdt:P279* wd:Q515 . ?city wdt:P1082 ?pop . ?city wdt:P17 ?country . } GROUP BY ?country } ?city wdt:P31/wdt:P279* wd:Q515 . ?city wdt:P1082 ?population . ?city wdt:P17 ?country . FILTER(?population = ?maxPop) ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") OPTIONAL { ?city wdt:P1705 ?cityNativeLabel . } } LIMIT 100", "paraphrases": ["For each country, return the city with the highest population, along with the country\u2019s English name and the city\u2019s official native label.", "Show me the most populous city in every country, including its population, the country\u2019s name in English, and any native names the city might have."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3 ?var3Label ( LANG ( ?var4Label ) AS ?var5 ) ?var6Label WHERE { { SELECT( MAX ( ?var2 ) AS ?var2 ) ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . } GROUP BY ?var3 ORDER BY DESC( ?var3 ) } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1705> ?var6Label . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_9873", "question": "Is there a person or organization in Wikidata with the GND ID 135935873?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?entity wdt:P227 \"135935873\" .\n}", "paraphrases": ["Does the German National Library ID 135935873 exist in Wikidata?", "Can you find any entity in Wikidata that has the GND identifier 135935873?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"135935873\". }"}}
{"id": "test_9874", "question": "What are the English, German, and Turkish Wikipedia pages for the movie with IMDb ID tt6697582?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?wikipediaPage WHERE {\n  ?item wdt:P345 \"tt6697582\" .\n  ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang .\n  VALUES ?lang {\n    \"en\" \"de\" \"tr\"\n  }\n}", "paraphrases": ["Show me the Wikipedia articles in English, Turkish, or German about the film identified by tt6697582 on IMDb.", "Which language versions of Wikipedia have articles about the movie \"Arif v 216\" (IMDb: tt6697582)?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6697582\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"tr\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9875", "question": "Image of the person with SNAC ARK ID w6wf1vtv", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6wf1vtv\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image of the individual identified by the SNAC ARK ID w6wf1vtv?", "Show me the Wikimedia Commons image for the entity with SNAC ARK ID w6wf1vtv."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6wf1vtv\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9876", "question": "List horses and their parents, birth years, and sex.", "sparql": "SELECT DISTINCT ?horse ?horseLabel ?mother ?father (YEAR(?birthDate) AS ?birthYear) ?sex WHERE { ?horse (wdt:P31/wdt:P279*) wd:Q726 . OPTIONAL { ?horse wdt:P25 ?mother . } OPTIONAL { ?horse wdt:P22 ?father . } OPTIONAL { ?horse wdt:P569 ?birthDate . } OPTIONAL { ?horse wdt:P21 ?sex . } OPTIONAL { ?horse rdfs:label ?horseLabel . FILTER(LANG(?horseLabel) = \"en\") } } ORDER BY ASC(?horseLabel)", "paraphrases": ["What are the names, mothers, fathers, birth years, and genders of all horses in Wikidata?", "Show me a list of horses with their lineage (mother and father), birth year, and biological sex, sorted alphabetically by name."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ( YEAR ( ?var4 ) AS ?var5 )( YEAR ( ?var6 ) AS ?var7 ) ?var8 WHERE { { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q726> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P25> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P22> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,ar,be,bg,bn,ca,cs,da,de,el,en,es,et,fa,fi,he,hi,hu,hy,id,it,ja,jv,ko,nb,nl,eo,pa,pl,pt,ro,ru,sh,sk,sr,sv,sw,te,th,tr,uk,yue,vec,vi,zh\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_9877", "question": "Wikipedia page for movie with IMDb ID tt1272886 in English or German", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?wikipedia_page WHERE {\n  ?item wdt:P345 \"tt1272886\" .\n  ?wikipedia_page schema:about ?item .\n  VALUES ?lang {\n    \"en\" \"de\"\n  }\n  ?wikipedia_page schema:inLanguage ?lang .\n}", "paraphrases": ["What is the English or German Wikipedia page for the movie with IMDb ID tt1272886?", "Show me the Wikipedia article in English or German for the movie identified by tt1272886 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1272886\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9878", "question": "Is Brian Henderson a type of software?", "sparql": "ASK WHERE { wd:Q21460956 (wdt:P31/wdt:P279*) wd:Q7397 . }", "paraphrases": ["Does Brian Henderson belong to the category of software through his type or any of its subclasses?", "Confirm whether Brian Henderson, as a human and painter, is classified as software in any way via Wikidata\u2019s ontology."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q21460956> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_9879", "question": "English label, description, and image of the Fawlty Towers episode \"The Germans\".", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?description ?image WHERE {\n  OPTIONAL {\n    wd:Q7736217 rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n  OPTIONAL {\n    wd:Q7736217 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q7736217 schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["What is the English label and description of the Fawlty Towers episode titled \"The Germans\", and does it have an associated image?", "Please provide the English name, description, and image (if available) for the Fawlty Towers episode \"The Germans\"."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q7736217> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q7736217> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q7736217> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_9880", "question": "List all Doctor Who episodes with their season, episode number in the series, and season number, sorted by overall episode number.", "sparql": "SELECT ?episode ?episodeLabel ?season ?seasonLabel ?episodeNumber ?seasonNumber WHERE { ?episode wdt:P31 wd:Q21191270 . ?episode wdt:P179 wd:Q34316 . ?episode wdt:P4908 ?season . ?episode p:P179 ?epStmt . ?epStmt pq:P1545 ?episodeNumber . ?season p:P179 ?seaStmt . ?seaStmt pq:P1545 ?seasonNumber . ?episode rdfs:label ?episodeLabel . ?season rdfs:label ?seasonLabel . FILTER(LANG(?episodeLabel) = \"en\") FILTER(LANG(?seasonLabel) = \"en\") } ORDER BY ?episodeNumber", "paraphrases": ["What are the English labels of Doctor Who episodes, their corresponding seasons, the overall episode number in the series, and the season number, ordered by the episode\u2019s position in the entire series?", "Show me the titles of Doctor Who episodes, the season they belong to, their position in the entire series, and the season\u2019s number, sorted by their overall episode number."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4Label ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q21191270> . ?var1 <http://www.wikidata.org/prop/direct/P179> <http://www.wikidata.org/entity/Q34316> . ?var1 <http://www.wikidata.org/prop/P179> ?var6 . ?var6 <http://www.wikidata.org/prop/qualifier/P1545> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P4908> ?var2 . } ?var1 <http://www.wikidata.org/prop/direct/P361> ?var4 . ?var4 <http://www.wikidata.org/prop/P179> ?var7 . ?var7 <http://www.wikidata.org/prop/qualifier/P1545> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( <http://www.w3.org/2001/XMLSchema#integer> ( ?var3 ) )"}}
{"id": "test_9881", "question": "Wikipedia and Wikiquote pages in English, German, or French about the movie with IMDb ID tt0084555.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?page WHERE {\n  ?movie wdt:P345 \"tt0084555\" .\n  ?page schema:about ?movie .\n  VALUES ?lang {\n    \"en\" \"de\" \"fr\"\n  }\n  ?page schema:inLanguage ?lang .\n}", "paraphrases": ["What are the English, German, and French Wikipedia and Wikiquote pages about the movie \"Santa Claus Is a Stinker\"?", "Show me the language-specific Wikipedia and Wikiquote links for the film identified by IMDb ID tt0084555."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0084555\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"fr\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9882", "question": "What Wikipedia and Wikiquote pages in English, German, or Italian are about the movie with IMDb ID tt0083871?", "sparql": "SELECT ?movie ?page WHERE { VALUES ?imdbId { \"tt0083871\" } ?movie wdt:P345 ?imdbId . ?page schema:about ?movie . ?page schema:inLanguage ?lang . VALUES ?lang { \"en\" \"de\" \"it\" } }", "paraphrases": ["Which language versions of Wikipedia or Wikiquote have articles about the film \"Eccezzziunale... veramente\" (IMDb: tt0083871)?", "Show me the links to English, German, and Italian pages about the movie with IMDb ID tt0083871."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0083871\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"it\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9883", "question": "English and German Wikipedia pages for the movie with IMDb ID tt0084737", "sparql": "SELECT ?movie ?wikipediaPage WHERE { ?movie wdt:P345 \"tt0084737\" . ?wikipediaPage schema:about ?movie . { ?wikipediaPage schema:inLanguage \"en\" . } UNION { ?wikipediaPage schema:inLanguage \"de\" . } }", "paraphrases": ["What are the English and German Wikipedia articles for the movie \"Summer Lovers\" (IMDb ID tt0084737)?", "Show me the English and German Wikipedia links for the film identified by IMDb ID tt0084737."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0084737\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9884", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt0084354?", "sparql": "SELECT ?item ?wikipedia_page WHERE { ?item wdt:P345 \"tt0084354\" . ?wikipedia_page schema:about ?item . { ?wikipedia_page schema:inLanguage \"en\" . } UNION { ?wikipedia_page schema:inLanguage \"de\" . } }", "paraphrases": ["Which Wikipedia articles in English or German are about the film identified by IMDb ID tt0084354?", "Show me the Wikipedia links in English or German for the movie that has the IMDb identifier tt0084354."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0084354\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9885", "question": "Wikipedia page in English or German for the movie with IMDb ID tt0083727", "sparql": "SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 \"tt0083727\" . ?wikipedia_page schema:about ?movie . { ?wikipedia_page schema:inLanguage \"en\" . } UNION { ?wikipedia_page schema:inLanguage \"de\" . } }", "paraphrases": ["What is the English or German Wikipedia page for the movie identified by IMDb ID tt0083727?", "Show me the Wikipedia article in English or German about the movie with IMDb ID tt0083727."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0083727\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9886", "question": "What is the English or German Wikipedia page for the film with IMDb ID tt0084786?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipedia_page ?imdb_id WHERE {\n  ?item wdt:P345 ?imdb_id .\n  ?wikipedia_page schema:about ?item .\n  {\n    ?wikipedia_page schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipedia_page schema:inLanguage \"de\" .\n  }\n  FILTER ( ?imdb_id = \"tt0084786\" )\n}", "paraphrases": ["Which Wikipedia pages in English or German are about the movie identified by the IMDb ID tt0084786?", "Show me the Wikipedia links in English or German for the movie that has the IMDb identifier tt0084786."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0084786\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9887", "question": "List television series with their country of origin, number of seasons, episodes, and air dates.", "sparql": "SELECT ?seriesLabel ?series ?countryLabel ?seasons ?episodes ?start ?end WHERE { ?series wdt:P31 wd:Q5398426 . ?series wdt:P495 ?country . ?series wdt:P2437 ?seasons . ?series wdt:P1113 ?episodes . ?series wdt:P580 ?start . OPTIONAL { ?series wdt:P582 ?end . } ?series rdfs:label ?seriesLabel . ?country rdfs:label ?countryLabel . FILTER(LANG(?seriesLabel) = \"en\") FILTER(LANG(?countryLabel) = \"en\") } LIMIT 100", "paraphrases": ["What are the television series, their countries of origin, number of seasons and episodes, and when did they start and end?", "Show me a list of TV series including their origin country, how many seasons and episodes they have, and their premiere and finale dates."], "info": {"raw_sparql": "SELECT ?var1Label ?var1 ?var2Label ?var3 ?var4 ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5398426> . ?var1 <http://www.wikidata.org/prop/direct/P495> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P2437> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P1113> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P580> ?var5 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P582> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } } LIMIT 100"}}
{"id": "test_9888", "question": "What is the English Wikipedia page for the film with IMDb ID tt0082537?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?wikipediaPage WHERE {\n  ?film wdt:P345 \"tt0082537\" .\n  ?wikipediaPage schema:about ?film .\n  {\n    ?wikipediaPage schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipediaPage schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["Can you find the Wikipedia articles in English or German about the movie Humongous (1982)?", "Show me the Wikipedia links for the film Humongous (1982) in either English or German language."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0082537\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9889", "question": "What is the German or English Wikipedia page for the movie with IMDb ID tt2078620?", "sparql": "SELECT ?movie ?wikipediaPage ?imdbId WHERE { ?movie wdt:P345 ?imdbId . ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") FILTER(?imdbId = \"tt2078620\") }", "paraphrases": ["Which Wikipedia articles in English or German are about the movie identified by IMDb ID tt2078620?", "Show me the movie entity, its IMDb ID, and its corresponding Wikipedia page in English or German for the movie with IMDb ID tt2078620."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2078620\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9890", "question": "What are all the superclass categories of cricket whites?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?superclass WHERE {\n  wd:Q5185057 wdt:P279 * ?superclass .\n}", "paraphrases": ["What broader categories does the cricket uniform belong to in the Wikidata hierarchy?", "List all the parent classes of cricket whites, including indirect superclasses like clothing and equipment."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q5185057> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_9891", "question": "What are the English and German Wikipedia articles about the movie with IMDb ID tt0046921?", "sparql": "SELECT ?wikipediaArticle ?imdbId WHERE { ?movie wdt:P345 \"tt0046921\" . ?wikipediaArticle schema:about ?movie . ?wikipediaArticle schema:inLanguage ?language . FILTER(?language = \"en\" || ?language = \"de\") BIND(\"tt0046921\" AS ?imdbId) }", "paraphrases": ["Show me the Wikipedia pages in English and German for the film identified by tt0046921 on IMDb.", "I'm looking for the Wikipedia articles in English and German that are about the movie with the IMDb identifier tt0046921."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0046921\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9892", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0047411?", "sparql": "SELECT ?movie ?wikipediaPage WHERE { ?movie wdt:P345 \"tt0047411\" . ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Show me the Wikipedia articles in English and German about the film identified by tt0047411 on IMDb.", "Which Wikipedia pages in English and German discuss the movie Ride Clear of Diablo?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0047411\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9893", "question": "Top given names with the most variant spellings or equivalents in Wikidata.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT(SAMPLE(?label) AS ?givenName)(COUNT(?equivalent) AS ?count) WHERE {\n  ?var1 wdt:P31 wd:Q202444 ; wdt:P460 ?equivalent .\n  ?var1 rdfs:label ?label .\n  FILTER(LANGMATCHES(LANG(?label) , \"en\"))\n}\nGROUP BY ?var1\nORDER BY DESC(?count)\nLIMIT 10", "paraphrases": ["Which given names have the highest number of alternative spellings or equivalent forms across languages?", "Show me the 10 most common given names that have the most linguistic variants, along with how many variants each has."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q202444> ; <http://www.wikidata.org/prop/direct/P460> ?var2 . } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var3 ) LIMIT 10"}}
{"id": "test_9894", "question": "What are some examples of volcanic landforms listed in Wikidata?", "sparql": "SELECT ?volcanicLandform ?volcanicLandformLabel WHERE { ?volcanicLandform wdt:P31 wd:Q29025902 . ?volcanicLandform rdfs:label ?volcanicLandformLabel . FILTER(LANG(?volcanicLandformLabel) = \"en\") } LIMIT 21", "paraphrases": ["Can you list the names of entities classified as volcanic landforms in Wikidata?", "Show me up to 21 volcanic landforms and their English labels from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q24649023> . } LIMIT 21 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9895", "question": "People born in St. Louis", "sparql": "SELECT ?person (SAMPLE(?personLabel) AS ?label) WHERE { ?person p:P19 ?statement . ?statement ps:P19 wd:Q38022 . ?person rdfs:label ?personLabel . } GROUP BY ?person LIMIT 101", "paraphrases": ["Who are 101 people born in St. Louis?", "List up to 101 people who were born in St. Louis, along with their names."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P19> <http://www.wikidata.org/entity/Q38022> . ?var1 <http://www.wikidata.org/prop/P19> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_9896", "question": "What are all the heritage sites in Germany, along with their specific types and the cities they are located in?", "sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE { ?var1 wdt:P31 ?class . ?class wdt:P279* wd:Q358 . ?var1 wdt:P17 wd:Q183 . OPTIONAL { ?var1 wdt:P131 ?var2 . ?var2 rdfs:label ?var2Label . FILTER(LANG(?var2Label) = \"en\") } ?var1 wdt:P31 ?var3 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") }", "paraphrases": ["Show me the English names of cultural heritage monuments in Germany, the administrative areas they belong to, and what kind of heritage items they are (e.g., church, Stolperstein).", "List cultural heritage sites in Germany with their labels, the municipalities they are in, and their specific classifications."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/statement/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q358> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pt,de\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 . } }"}}
{"id": "test_9897", "question": "Who is the person with VIAF ID 149693593?", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P214 \"149693593\" . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["What is the name of the person identified by the VIAF identifier 149693593?", "Show me the English label of the Wikidata entity that has the VIAF cluster ID 149693593."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"149693593\". }"}}
{"id": "test_9898", "question": "What country and continent is the village of Parau Sorat located in?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?admin ?country ?continent WHERE {\n  wd:Q12503133 wdt:P131 ?admin .\n  wd:Q12503133 wdt:P17 ?country .\n  ?country wdt:P30 ?continent .\n}", "paraphrases": ["Show the administrative division, country, and continent of Parau Sorat.", "Where is Parau Sorat located in terms of its administrative hierarchy and geographic region?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q12503133> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_9899", "question": "Birth and death dates of Kate Spade", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  wd:Q275094 rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) .\n  OPTIONAL {\n    wd:Q275094 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q275094 wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["When was Kate Spade born and when did she die?", "Can you tell me Kate Spade\u2019s date of birth and date of death?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q275094> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9900", "question": "Martin Gabel birth and death dates", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { BIND( wd:Q554000 AS ?person ) . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["When was Martin Gabel born and when did he die?", "Show me the birth and death dates of the American actor Martin Gabel."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q554000> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9901", "question": "What are the birth and death dates of Henry Halford?", "sparql": "SELECT ?label ?birthDate ?deathDate WHERE { BIND( wd:Q5722464 AS ?person ) . ?person rdfs:label ?label . FILTER(LANG(?label) = \"en\") . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } }", "paraphrases": ["Can you tell me when Henry Halford was born and when he died?", "Who is Henry Halford, and what are his birth and death years?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q5722464> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9902", "question": "Wolfe Tone's birth and death dates and full name.", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { BIND( wd:Q437962 AS ?person ) . OPTIONAL { ?person rdfs:label ?personLabel FILTER(LANG(?personLabel) = \"en\") } OPTIONAL { ?person wdt:P569 ?birthDate } OPTIONAL { ?person wdt:P570 ?deathDate } }", "paraphrases": ["When were Wolfe Tone born and died, and what is his full name?", "Please provide the birth date, death date, and English label of Wolfe Tone."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q437962> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9903", "question": "Jacob Shallus birth and death dates", "sparql": "SELECT ?label ?birthDate ?deathDate WHERE { BIND( wd:Q6119268 AS ?person ) . ?person rdfs:label ?label . FILTER(LANG(?label) = \"en\") . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } }", "paraphrases": ["When was Jacob Shallus born and when did he die?", "Can you tell me the birth and death dates of Jacob Shallus, the American calligrapher?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q6119268> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9904", "question": "What are the birth and death dates of Henry Badgery?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  wd:Q5717670 wdt:P31 wd:Q5 .\n  OPTIONAL {\n    wd:Q5717670 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q5717670 wdt:P570 ?deathDate .\n  }\n  wd:Q5717670 rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}", "paraphrases": ["Can you tell me when Henry Badgery was born and when he died?", "Who is Henry Badgery, and what are his dates of birth and death?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q16869010> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9905", "question": "Birth and death dates of Edward Villiers, 1st Duke of Buckingham", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?birthDate ?deathDate WHERE {\n  wd:Q5345727 rdfs:label ?label .\n  OPTIONAL {\n    wd:Q5345727 wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    wd:Q5345727 wdt:P570 ?deathDate .\n  }\n  FILTER(LANG(?label) = \"en\")\n}", "paraphrases": ["When were Edward Villiers born and when did he die?", "Can you tell me the birth and death dates of Edward Villiers, the 1st Duke of Buckingham?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q5345727> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9906", "question": "What are the birth and death dates of Albert C. Baker?", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { wd:Q4709849 rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") . OPTIONAL { wd:Q4709849 wdt:P569 ?birthDate . } OPTIONAL { wd:Q4709849 wdt:P570 ?deathDate . } }", "paraphrases": ["Can you tell me when Albert C. Baker was born and when he died?", "Show me the English name, birth date, and death date of the American jurist Albert C. Baker."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q4709849> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9907", "question": "What are the date of birth and date of death of Germaine Tillion?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?personLabel ?birthDate ?deathDate WHERE {\n  BIND( wd:Q271991 AS ?person ) .\n  OPTIONAL {\n    ?person rdfs:label ?personLabel .\n    FILTER ( LANG( ?personLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n}", "paraphrases": ["Who is Germaine Tillion, and when was she born and when did she die?", "Please provide the English name, birth date, and death date of the French anthropologist Germaine Tillion."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q271991> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9908", "question": "What is the image of the person with SNAC ARK ID w6bq5dts?", "sparql": "SELECT ?image WHERE { ?person wdt:P3430 \"w6bq5dts\" . OPTIONAL { ?person wdt:P18 ?image . } }", "paraphrases": ["Can you show the Wikimedia Commons image for Terry Halpin?", "Is there an image available for the individual identified by the SNAC ARK ID w6bq5dts?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6bq5dts\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9909", "question": "What is the image of Ivan Rebroff in Wikimedia Commons?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6251vfq\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Can you show me the Commons image associated with the SNAC ARK ID w6251vfq?", "Which image is linked to the person identified by the SNAC ARK ID w6251vfq?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6251vfq\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9910", "question": "Polish athletes and their occupations", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel ?occupationLabel WHERE {\n  ?person wdt:P31 wd:Q5 ; wdt:P27 wd:Q36 ; wdt:P106 ?occupation .\n  ?occupation wdt:P279 * wd:Q2066131 .\n  ?person rdfs:label ?personLabel .\n  ?occupation rdfs:label ?occupationLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) FILTER ( LANG( ?occupationLabel ) = \"en\" )\n}", "paraphrases": ["Who are the Polish citizens who are athletes or work in sports-related professions?", "List the names and occupations of all Polish humans whose profession is an athlete or a subclass of athlete, such as football player or racing driver."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q36> ; ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q2066131> ; <http://www.wikidata.org/prop/direct/P106> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,en\". } }"}}
{"id": "test_9911", "question": "Rivers with Russian Wikipedia pages but no English Wikipedia pages.", "sparql": "SELECT ?river ?riverLabel WHERE { ?river wdt:P31 wd:Q4022 . ?wikipediaPage schema:about ?river ; schema:inLanguage \"ru\" . FILTER NOT EXISTS { ?otherWikipediaPage schema:about ?river ; schema:inLanguage \"en\" . } ?river rdfs:label ?riverLabel . FILTER(LANG(?riverLabel) = \"en\") }", "paraphrases": ["Which rivers have a Wikipedia article in Russian but not in English?", "Show me rivers that are linked to a Russian Wikipedia page but lack an English Wikipedia page, along with their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . FILTER ( ( ( ?var2 = <http://www.wikidata.org/entity/Q4022> ) ) ) . FILTER ( ( EXISTS { ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> \"rus\". } ) ) . FILTER ( ( NOT EXISTS { ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> \"ru\". } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ru,uk,be,pl,cs,sk,bg,mk,sh,sr,hr,sl,bs\". } }"}}
{"id": "test_9912", "question": "Who are some people who are citizens of Spain?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?human ?humanLabel WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human wdt:P27 wd:Q29 .\n  ?human rdfs:label ?humanLabel .\n  FILTER ( LANG( ?humanLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["List humans with Spanish nationality.", "Show me up to 100 people from Spain along with their names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q20228582> . } LIMIT 100"}}
{"id": "test_9913", "question": "U.S. presidents since 1970 with female spouses and their number of daughters, along with images.", "sparql": "SELECT ?president ?presidentLabel ?spouseLabel ?presidentImage ?spouseImage ?ordinal ?daughterCount WHERE { ?president wdt:P31 wd:Q5 ; p:P39 ?presidency . ?presidency ps:P39 wd:Q11696 ; pq:P580 ?startDate ; pq:P1545 ?ordinal . FILTER (YEAR(?startDate) >= 1970) ?president wdt:P26 ?spouse . OPTIONAL { ?president wdt:P18 ?presidentImage . } OPTIONAL { ?spouse wdt:P18 ?spouseImage . } ?president rdfs:label ?presidentLabel . ?spouse rdfs:label ?spouseLabel . FILTER(LANG(?presidentLabel) = \"en\") FILTER(LANG(?spouseLabel) = \"en\") { SELECT ?president (COUNT(?child) AS ?daughterCount) WHERE { ?president wdt:P40 ?child . ?child wdt:P21 wd:Q6581072 . } GROUP BY ?president } } ORDER BY ASC(?startDate)", "paraphrases": ["Which U.S. presidents since 1970 had female spouses, how many daughters did each have, and what are their official portraits and their spouses\u2019 portraits?", "Show me a list of U.S. presidents from 1970 onward, their spouses, the number of daughters they had, and links to their official photos and their spouses\u2019 photos."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ( ?var3 AS ?var4 ) ?var5 ?var6 ( ?var7 AS ?var8 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/P39> ?var9 . ?var9 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q11696> . ?var9 <http://www.wikidata.org/prop/qualifier/P580> ?var10 . ?var9 <http://www.wikidata.org/prop/qualifier/P1545> ?var7 . ?var1 <http://www.wikidata.org/prop/direct/P26> ?var2 . { SELECT( COUNT ( ?var11 ) AS ?var6 ) ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P40> ?var11 . ?var11 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . } GROUP BY ?var1 } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . ?var2 <http://www.wikidata.org/prop/direct/P18> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( ( YEAR ( ?var10 ) >= \"1970\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY ASC( ?var10 )"}}
{"id": "test_9914", "question": "What properties are most commonly used to link items to Factor Analysis, and how many times are they used?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property(COUNT(?item) AS ?count) WHERE {\n  ?item ?property wd:Q726474 .\n}\nGROUP BY ?property\nHAVING(?count > 1)\nORDER BY DESC(?count)", "paraphrases": ["Which relationships connect to the statistical method \"Factor Analysis\" more than once, ranked by frequency?", "How often do different properties reference Factor Analysis in Wikidata, and which ones are the most frequent?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q726474> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_9915", "question": "Is Regillio Nooitmeer classified as a human in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q4353647 wdt:P31 wd:Q5 .\n}", "paraphrases": ["Does Regillio Nooitmeer have the type \"human\"?", "Confirm that Regillio Nooitmeer is a human according to Wikidata."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q4353647> <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_9916", "question": "Female scientists with the highest number of Wikipedia articles", "sparql": "SELECT ?item ?itemLabel (COUNT(?sitelink) AS ?sitelinkCount) WHERE { ?item wdt:P106 wd:Q901 ; wdt:P21 wd:Q6581072 . ?sitelink schema:about ?item ; schema:isPartOf ?wiki . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } GROUP BY ?item ?itemLabel ORDER BY DESC(?sitelinkCount) LIMIT 100", "paraphrases": ["Who are the most notable female scientists based on how many Wikipedia language editions mention them?", "List the top 100 female scientists along with their English names and how many Wikipedia pages exist about them."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fi,en\". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q901> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . } LIMIT 100"}}
{"id": "test_9917", "question": "Who is the French politician named Ya\u00ebl Braun-Pivet?", "sparql": "SELECT DISTINCT ?item WHERE { ?item rdfs:label \"Ya\u00ebl Braun-Pivet\"@fr . ?item wdt:P31 wd:Q5 }", "paraphrases": ["Find the human entity in Wikidata with the French label 'Ya\u00ebl Braun-Pivet'.", "What Wikidata item corresponds to the person called Ya\u00ebl Braun-Pivet in French?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Yael Butet\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_9918", "question": "Number of seasons, episodes, start and end dates, and IMDb ID for the TV series Black Sails.", "sparql": "SELECT ?seasons ?episodes ?start ?end ?imdb WHERE { wd:Q13475479 wdt:P2437 ?seasons . wd:Q13475479 wdt:P1113 ?episodes . OPTIONAL { wd:Q13475479 wdt:P580 ?start . } OPTIONAL { wd:Q13475479 wdt:P582 ?end . } OPTIONAL { wd:Q13475479 wdt:P345 ?imdb . } }", "paraphrases": ["How many seasons and episodes did the TV series Black Sails have, and when did it start and end? What is its IMDb ID?", "Please provide the number of seasons, number of episodes, start date, end date, and IMDb identifier for the television series Black Sails."], "info": {"raw_sparql": "SELECT ?var1Label ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { BIND ( <http://www.wikidata.org/entity/Q13475479> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P2437> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P1113> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P580> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P580> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P582> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P345> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } } LIMIT 10000"}}
{"id": "test_9919", "question": "How many Swedish women are documented in the Svenskt kvinnobiografiskt lexikon with a Wikidata entry?", "sparql": "SELECT (COUNT(?item) AS ?count) WHERE { ?item wdt:P4963 ?skblId . }", "paraphrases": ["What is the number of Wikidata items that have a Svenskt kvinnobiografiskt lexikon (SKBL) ID?", "Count the number of Swedish women in Wikidata who have an entry in the Svenskt kvinnobiografiskt lexikon."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4963> ?var3 . }"}}
{"id": "test_9920", "question": "Businesses with ended ownership and their official websites", "sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 WHERE { ?var1 wdt:P31 wd:Q4830453 . ?var1 p:P127 ?stmt . ?stmt ps:P127 ?var2 . ?stmt pq:P582 ?end . OPTIONAL { ?var1 wdt:P856 ?var3 . } OPTIONAL { ?var2 wdt:P856 ?var4 . } OPTIONAL { ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") } OPTIONAL { ?var2 rdfs:label ?var2Label . FILTER(LANG(?var2Label) = \"en\") } }", "paraphrases": ["Which businesses have ended ownership relationships, and who owned them? Include their official websites if available.", "List businesses that are no longer owned by their current owners, along with the owners\u2019 names and the official websites of both the business and the owner."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4830453> . ?var1 <http://www.wikidata.org/prop/direct/P127> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . ?var2 <http://www.wikidata.org/prop/direct/P856> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P127> * <http://www.wikidata.org/entity/P582> . } }"}}
{"id": "test_9921", "question": "What are the birth and death details of Aim\u00e9 C\u00e9saire, including his first name and image?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?givenName ?birthDate ?deathDate ?birthYear ?deathYear ?image WHERE {\n  VALUES ?person {\n    wd:Q223955\n  }\n  .\n  ?person wdt:P735 ?givenName .\n  ?person wdt:P569 ?birthDate .\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  BIND(YEAR(?birthDate) AS ?birthYear)\n  BIND(YEAR(?deathDate) AS ?deathYear)\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n}", "paraphrases": ["Show me the image, birth year, and death year of the Martinican poet Aim\u00e9 C\u00e9saire.", "Retrieve the personal details of Aim\u00e9 C\u00e9saire: his given name, date of birth, date of death, and a photo."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 WHERE { ?var1 ?var8 \"c\u00e9saire\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P735> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var5 . } BIND ( YEAR ( ?var4 ) AS ?var6 ). BIND ( YEAR ( ?var5 ) AS ?var7 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } }"}}
{"id": "test_9922", "question": "What topics are covered in other papers written by the same author as \"Dynamical aspects of P systems\"?", "sparql": "SELECT DISTINCT ?subject WHERE { wd:Q40568763 wdt:P2093 ?authorName . ?otherWork wdt:P2093 ?authorName . ?otherWork wdt:P921 ?subject . }", "paraphrases": ["Which subjects are associated with works authored by Francesco Bernardini, the author of \"Dynamical aspects of P systems\"?", "Show me the main subjects of all scholarly articles that share an author with \"Dynamical aspects of P systems\"."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q40568763> <http://www.wikidata.org/prop/direct/P50> ?var2 . ?var3 <http://www.wikidata.org/prop/direct/P50> ?var2 . ?var3 <http://www.wikidata.org/prop/direct/P921> ?var1 . }"}}
{"id": "test_9923", "question": "Is the house cat a subclass of pet?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q146 wdt:P279 wd:Q39201\n}", "paraphrases": ["Does the domestic cat belong to the category of pets?", "Confirm whether the house cat is classified as a pet in Wikidata."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q146> <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1756157> . }"}}
{"id": "test_9924", "question": "What are the villages and communes in the Transnistrian region of Moldova, and what administrative districts do they belong to, listed in Romanian?", "sparql": "SELECT DISTINCT ?item ?itemLabel (GROUP_CONCAT(?adminLabel; SEPARATOR=\", \") AS ?administrativeSubdivisions) WHERE { VALUES ?type { wd:Q532 wd:Q4229812 } ?item wdt:P31 ?type . ?item wdt:P17 wd:Q217 . ?item wdt:P131 wd:Q648767 . ?item wdt:P131 ?admin . ?item rdfs:label ?itemLabel . ?admin rdfs:label ?adminLabel . FILTER(LANG(?itemLabel) = \"ro\") FILTER(LANG(?adminLabel) = \"ro\") } GROUP BY ?item ?itemLabel", "paraphrases": ["Show me the Romanian names of all villages and communes in Moldova\u2019s Left Bank region along with the raions they are part of.", "List all settlements classified as villages or communes in the Autonomous Territorial Units of the Left Bank of the Dniester, including their Romanian labels and the administrative subdivisions they fall under."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ( GROUP_CONCAT ( ?var2Label ; SEPARATOR = \", \" ) AS ?var3 ) WHERE { VALUES ( ?var4 ) { ( <http://www.wikidata.org/entity/Q532> ) ( <http://www.wikidata.org/entity/Q4229812> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q217> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q648767> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ro\". } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"ro\" ) ) ) . } GROUP BY ?var1 ?var1Label"}}
{"id": "test_9925", "question": "What are the subclasses of processor in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?processorSubclass WHERE {\n  ?processorSubclass wdt:P279 wd:Q1466064 .\n}\nLIMIT 100", "paraphrases": ["Which types of processors are classified as subclasses of the general processor category?", "List all known specific types of processors that are subclasses of processor."], "info": {"raw_sparql": "SELECT ?var1 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q1466064> . } LIMIT 100"}}
{"id": "test_9926", "question": "Is there a Wikidata item with VIAF ID 32148995786059750994?", "sparql": "ASK WHERE { ?item wdt:P214 \"32148995786059750994\" . }", "paraphrases": ["Does the Virtual International Authority File identifier 32148995786059750994 exist in Wikidata?", "Check if the VIAF cluster ID 32148995786059750994 is linked to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"32148995786059750994\". }"}}
{"id": "test_9927", "question": "Female members of the National Academy of Sciences who hold a Ph.D. and their alma maters.", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?memberLabel ?institutionLabel ?image WHERE {\n  ?member wdt:P463 wd:Q270794 .\n  ?member wdt:P21 wd:Q6581072 ; p:P69 [ ps:P69 ?institution ; pq:P512 wd:Q752297 ] .\n  OPTIONAL {\n    ?member wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?member rdfs:label ?memberLabel .\n    FILTER(LANG(?memberLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?institution rdfs:label ?institutionLabel .\n    FILTER(LANG(?institutionLabel) = \"en\")\n  }\n}", "paraphrases": ["Which women who earned a Ph.D. are members of the National Academy of Sciences, and where did they study?", "Show me a list of female National Academy of Sciences members with a Doctor of Philosophy degree, including where they were educated and their photos if available."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q270794> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> ; <http://www.wikidata.org/prop/P69> [ <http://www.wikidata.org/prop/statement/P69> ?var2 ; <http://www.wikidata.org/prop/qualifier/P512> <http://www.wikidata.org/entity/Q752297> ] . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } }"}}
{"id": "test_9928", "question": "What is the English label and description of the OpenStreetMap relation with ID 896171?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P402 \"896171\" .\n  OPTIONAL {\n    ?item rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Which island in Greece has the OpenStreetMap relation ID 896171, and what is its English name and description?", "Show me the English name and description of the geographic feature identified by OpenStreetMap relation ID 896171."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P402> \"896171\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9929", "question": "What are the lists of episodes on Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?list ?listLabel WHERE {\n  ?list wdt:P31 wd:Q13406463 ; wdt:P360 wd:Q1983062 .\n}", "paraphrases": ["Can you list all the Wikipedia-style lists that are about TV or radio episodes?", "Show me all the list items in Wikidata that have \"episode\" as their main topic."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13406463> ; <http://www.wikidata.org/prop/direct/P360> <http://www.wikidata.org/entity/Q1983062> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9930", "question": "Paintings in Krak\u00f3w with their artists and images", "sparql": "SELECT ?painting ?paintingLabel ?artistLabel ?locationLabel ?image WHERE { ?painting wdt:P31 wd:Q3305213 ; wdt:P170 ?artist ; wdt:P276 wd:Q31487 ; wdt:P18 ?image . wd:Q31487 rdfs:label ?locationLabel . ?artist rdfs:label ?artistLabel . ?painting rdfs:label ?paintingLabel . FILTER(LANG(?paintingLabel) = \"en\") FILTER(LANG(?artistLabel) = \"en\") FILTER(LANG(?locationLabel) = \"en\") }", "paraphrases": ["What are the paintings located in Krak\u00f3w, who created them, and what are their images?", "Show me the English-labeled paintings in Krak\u00f3w, along with their creators, the location name, and their image files."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> ; <http://www.wikidata.org/prop/direct/P170> ?var2 . ?var5 <http://schema.org/about> ? ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P276> ?var3 ; <http://www.wikidata.org/prop/direct/P18> ?var4 . ?var3 <http://www.wikidata.org/prop/direct/P276> <http://www.wikidata.org/entity/Q31487> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"pl,pl\". } }"}}
{"id": "test_9931", "question": "People who held a presidential position and were born in 1945", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person WHERE {\n  ?person wdt:P39 / wdt:P279 wd:Q30461 .\n  ?person wdt:P569 ?birthDate .\n  FILTER ( YEAR( ?birthDate ) = 1945 )\n}", "paraphrases": ["Who were the presidents or heads of state born in 1945?", "List all individuals who held a position that is a subclass of president and were born in the year 1945."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P39> / <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q30461> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . FILTER ( ( ( YEAR ( ?var2 ) = \"1945\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . }"}}
{"id": "test_9932", "question": "Medicinal products with marketing authorization status \"withdrawn\", including whether the status is recorded as mainsnak, qualifier, or reference.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX prov: <http://www.w3.org/ns/prov#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pr: <http://www.wikidata.org/prop/reference/>\nSELECT ?product ?productLabel ?status ?statusLabel ?statusType ?statusTypeLabel ?context WHERE {\n  {\n    BIND(\"mainsnak\" AS ?context)\n    ?product wdt:P3464 ?status .\n  } UNION {\n    BIND(\"qualifier\" AS ?context)\n    ?statement ps:P3464 ?status .\n    ?product ?p ?statement .\n    FILTER(STRSTARTS(STR(?p) , \"http://www.wikidata.org/prop/\"))\n  } UNION {\n    BIND(\"reference\" AS ?context)\n    ?ref pr:P3464 ?status .\n    ?statement prov:wasDerivedFrom ?ref .\n    ?product ?p ?statement .\n    FILTER(STRSTARTS(STR(?p) , \"http://www.wikidata.org/prop/\"))\n  }\n  ?status wdt:P31 / wdt:P279 * wd:Q26720715 .\n  OPTIONAL {\n    ?product rdfs:label ?productLabel .\n    FILTER(LANG(?productLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?status rdfs:label ?statusLabel .\n    FILTER(LANG(?statusLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?status wdt:P31 ?statusType .\n    ?statusType rdfs:label ?statusTypeLabel .\n    FILTER(LANG(?statusTypeLabel) = \"en\")\n  }\n}\nLIMIT 100", "paraphrases": ["Which medicinal products have a marketing authorization status that is an instance of product authorization status, and in what context (mainsnak, qualifier, or reference) is it recorded?", "List all medicinal products and their marketing authorization statuses (e.g., withdrawn or EMA authorized), along with the type of status and whether it appears as a mainsnak, qualifier, or reference in the data."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 WHERE { { BIND ( \"mainsnak\" AS ?var4 ). ?var1 <http://www.wikidata.org/prop/direct/P3464> ?var2 . } UNION { BIND ( \"qualifier\" AS ?var4 ). ?var5 <http://www.wikidata.org/prop/qualifier/P3464> ?var2 . ?var1 ?var6 ?var5 . } UNION { BIND ( \"reference\" AS ?var4 ). ?var7 <http://www.wikidata.org/prop/reference/P3464> ?var2 . ?var8 <http://www.w3.org/ns/prov#wasDerivedFrom> ?var7 . ?var1 ?var9 ?var8 . } VALUES ( ?var10 ) { ( <http://www.wikidata.org/entity/Q26720715> ) } MINUS { ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var10 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P31> ?var3 . } } LIMIT 100 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_9933", "question": "List all non-municipal populated places in Germany that have a telephone area code.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?place WHERE {\n  ?place wdt:P473 [] ; wdt:P17 wd:Q183 .\n  FILTER(NOT EXISTS {\n    ?place wdt:P31 / wdt:P279 * wd:Q15284 .\n  })\n}", "paraphrases": ["What places in Germany have phone area codes but are not classified as municipalities?", "Show me all locations in Germany assigned a local dialing code that are not municipalities or subclasses of municipalities."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P473> ?var2 ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . FILTER ( ( NOT EXISTS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q15284> . } ) ) . }"}}
{"id": "test_9934", "question": "Is the Colombia women's national handball team a human?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q23013517 wdt:P31 / wdt:P279 * wd:Q5 .\n}", "paraphrases": ["Does the Colombia women's national handball team belong to the category of humans?", "Confirm whether the Colombia women's national handball team is classified as a human."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q23013517> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_9935", "question": "What are the subproperties of the Wikidata property for \"significant person\"?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?subprop ?subpropLabel WHERE {\n  ?subprop wdt:P1647 * wd:P3342 .\n  ?subprop rdfs:label ?subpropLabel .\n  FILTER ( LANG( ?subpropLabel ) = \"en\" )\n}", "paraphrases": ["Which specific roles or relationships involving a person are considered subproperties of \"significant person\" in Wikidata?", "List all English-labeled properties that are more specific than \"significant person\" in Wikidata\u2019s property hierarchy."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1647> * <http://www.wikidata.org/entity/P3342> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"tr\". } }"}}
{"id": "test_9936", "question": "Humans born on January 1, 1907, with their gender and place of birth.", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?genderLabel ?placeOfBirthLabel ?dateOfBirth WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P569 ?dateOfBirth .\n  FILTER ( ?dateOfBirth >= \"1907-01-01\" ^^ xsd:date && ?dateOfBirth < \"1907-01-02\" ^^ xsd:date ) ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) OPTIONAL {\n    ?person wdt:P21 ?gender .\n    ?gender rdfs:label ?genderLabel .\n    FILTER ( LANG( ?genderLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?person wdt:P19 ?placeOfBirth .\n    ?placeOfBirth rdfs:label ?placeOfBirthLabel .\n    FILTER ( LANG( ?placeOfBirthLabel ) = \"en\" )\n  }\n}\nORDER BY ASC ( ?person )", "paraphrases": ["Who were the people born on January 1, 1907, and what were their gender and birthplace?", "List all humans born on January 1, 1907, along with their English labels, gender, and place of birth."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4 ?var5Label ?var6 ?var7Label ?var7 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var6 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var9 . } BIND ( ( ( ?var8 - ?var6 ) /\"365.2425\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) AS ?var10 ). FILTER ( ( ( ?var6 >= \"1907-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var6 < \"1907-01-02\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_9937", "question": "English, German, or French Wikipedia pages for the movie with IMDb ID tt0111161", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?label ?wikipediaPage WHERE {\n  ?movie wdt:P345 \"tt0111161\" .\n  ?movie rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  .\n  ?wikipediaPage schema:about ?movie .\n  ?wikipediaPage schema:inLanguage ?lang .\n  FILTER(?lang IN(\"en\" , \"de\" , \"fr\"))\n}", "paraphrases": ["What are the English, German, and French Wikipedia pages about the movie with IMDb ID tt0111161, and what is its English title?", "Show me the English label and the Wikipedia pages in English, German, and French for the movie identified by IMDb ID tt0111161."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1740484\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"fr\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9938", "question": "Wikipedia pages in English, German, or French about the film with IMDb ID tt0224240.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipedia_page WHERE {\n  ?item wdt:P345 \"tt0224240\" .\n  ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang .\n  VALUES ?lang {\n    \"en\" \"de\" \"fr\"\n  }\n}", "paraphrases": ["What are the English, German, and French Wikipedia pages for the film with IMDb ID tt0224240?", "Show me the Wikipedia articles in English, German, and French that are about the movie identified by tt0224240 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0224240\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"fr\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9939", "question": "What is the English label and description of the Wikidata item for the Banglapedia article \"Bacteria\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P4255 \"Bacteria\" .\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["What is the English name and definition of the biological domain \"Bacteria\" as listed in Banglapedia?", "Please provide the English label and description from Wikidata for the entity identified by the Banglapedia ID \"Bacteria\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4255> \"Bacteria\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9940", "question": "What events are dated to the same time as the Big Bang?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?event ?time WHERE {\n  wd:Q323 wdt:P585 ?time .\n  ?event wdt:P585 ?time .\n}\nLIMIT 100", "paraphrases": ["Which phenomena occurred at the moment of the Big Bang, and when exactly was that?", "Show me events that happened at the same time as the Big Bang, along with their timestamps."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P585> <http://www.wikidata.org/entity/Q323> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P585> ?var2 . } } LIMIT 100"}}
{"id": "test_9941", "question": "What are all the classes in Wikidata that have subclasses?", "sparql": "SELECT DISTINCT ?superclass WHERE { ?subclass wdt:P279 ?superclass . } LIMIT 10000000", "paraphrases": ["List all superclass entities in Wikidata's class hierarchy.", "Which entities in Wikidata are used as parent classes in subclass relationships?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P279> ?var1 . } LIMIT 10000000"}}
{"id": "test_9942", "question": "Basque-speaking French writers and poets with birth years, places of birth and death, and links to Basque and French Wikipedia pages.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?image ?birthPlaceLabel ?birthYear ?birthPlace ?deathYear ?deathPlace ?euWiki ?frWiki WHERE {\n  ?person wdt:P31 wd:Q5 .\n  ?person wdt:P1412 wd:Q8752 .\n  ?person wdt:P27 wd:Q142 .\n  {\n    ?person wdt:P106 wd:Q36180 .\n  } UNION {\n    ?person wdt:P106 wd:Q49757 .\n  }\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?person wdt:P19 ?birthPlace .\n  }\n  OPTIONAL {\n    ?person wdt:P20 ?deathPlace .\n  }\n  OPTIONAL {\n    ?person wdt:P569 ?birthDate .\n  }\n  OPTIONAL {\n    ?person wdt:P570 ?deathDate .\n  }\n  BIND( YEAR( ?birthDate ) AS ?birthYear ) .\n  BIND( YEAR( ?deathDate ) AS ?deathYear ) .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" ) .\n  OPTIONAL {\n    ?birthPlace rdfs:label ?birthPlaceLabel .\n    FILTER ( LANG( ?birthPlaceLabel ) = \"en\" ) .\n  }\n  OPTIONAL {\n    ?euWiki schema:about ?person ; schema:inLanguage \"eu\" ; schema:isPartOf <https://eu.wikipedia.org/> .\n  }\n  OPTIONAL {\n    ?frWiki schema:about ?person ; schema:inLanguage \"fr\" ; schema:isPartOf <https://fr.wikipedia.org/> .\n  }\n}", "paraphrases": ["Who are the French citizens who speak Basque and are either writers or poets, and what are their birth and death years, places of birth and death, images, and Wikipedia links in Basque and French?", "List all human writers and poets from France who speak Basque, including their birth and death years, birth and death places, images, and links to their Basque and French Wikipedia pages."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5Label ?var6 ?var7Label ?var8 ?var9 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P1412> <http://www.wikidata.org/entity/Q8752> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q142> . { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q36180> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q49757> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P20> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var11 . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P135> <http://www.wikidata.org/entity/Q50597526> . } OPTIONAL { ?var8 <http://schema.org/about> ?var1 . ?var8 <http://schema.org/inLanguage> \"eu\". } OPTIONAL { ?var9 <http://schema.org/about> ?var1 . ?var9 <http://schema.org/inLanguage> \"fr\". } BIND ( YEAR ( ?var10 ) AS ?var4 ). BIND ( YEAR ( ?var11 ) AS ?var6 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var7Label . } BIND ( CONCAT ( ?var5Label ) AS ?var3 ). }"}}
{"id": "test_9943", "question": "Head of government for items with P6 property", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel ?headOfGovernment ?headOfGovernmentLabel WHERE {\n  ?item wdt:P6 ?headOfGovernment .\n  ?item rdfs:label ?itemLabel .\n  ?headOfGovernment rdfs:label ?headOfGovernmentLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" ) FILTER ( LANG( ?headOfGovernmentLabel ) = \"en\" )\n}", "paraphrases": ["Who are the heads of government for various cities and countries?", "List the names of cities or countries along with their current heads of government."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/P90> <http://www.wikidata.org/prop/direct/P6> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9944", "question": "What is the English label and description of the Australian local government area with ASGS2016 ID LGA17040?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?lga ?lgaLabel ?description WHERE {\n  ?lga wdt:P4093 \"LGA17040\" .\n  ?lga rdfs:label ?lgaLabel .\n  FILTER(LANG(?lgaLabel) = \"en\")\n  OPTIONAL {\n    ?lga schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Which local government area in Australia has the Australian Statistical Geography Standard 2016 ID LGA17040, and what is its English description?", "Show me the name and English description of the Australian local government area identified by LGA17040 in the ASGS2016 system."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4093> \"LGA17040\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9945", "question": "Buildings in postmodern architectural style with images on Wikimedia Commons.", "sparql": "SELECT ?buildingLabel ?image WHERE { ?building wdt:P149 wd:Q595448 ; wdt:P18 ?image . ?building rdfs:label ?buildingLabel . FILTER(LANG(?buildingLabel) = \"en\") }", "paraphrases": ["What are some buildings designed in the postmodern architectural style, and what do they look like?", "Show me images of buildings that have postmodern architecture as their style, along with their names."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P149> <http://www.wikidata.org/entity/Q595448> ; <http://www.wikidata.org/prop/direct/P18> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr\". } }"}}
{"id": "test_9946", "question": "Cities within 100 km of Rome, excluding those very close, with their administrative regions, images, and Wikipedia links.", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?city ?cityLabel ?admin1Label ?admin2Label ?image ?wikipedia ?coords WHERE {\n  ?city wdt:P31 / wdt:P279 * wd:Q515 .\n  ?city wdt:P625 ?coords .\n  BIND(xsd:double(strafter(strbefore(str(?coords) , \" \") , \"(\")) AS ?lon)\n  BIND(xsd:double(strbefore(strafter(str(?coords) , \" \") , \")\")) AS ?lat)\n  FILTER(?lat >= 42.1 && ?lat <= 43.9)\n  FILTER(?lon >= 12.77 && ?lon <= 15.23)\n  FILTER(!(?lat >= 42.95 && ?lat <= 43.05 && ?lon >= 13.95 && ?lon <= 14.05))\n  ?city rdfs:label ?cityLabel .\n  FILTER(LANG(?cityLabel) = \"en\")\n  ?city wdt:P131 ?admin1 .\n  ?admin1 wdt:P131 ?admin2 .\n  ?admin2 rdfs:label ?admin2Label .\n  FILTER(LANG(?admin2Label) = \"en\")\n  ?admin1 rdfs:label ?admin1Label .\n  FILTER(LANG(?admin1Label) = \"en\")\n  OPTIONAL {\n    ?city wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?wikipedia schema:about ?city ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n}\nORDER BY ASC(?city)\nLIMIT 5", "paraphrases": ["What are the cities located within 100 kilometers of Rome that have an English Wikipedia page and an image on Wikimedia Commons?", "List up to five cities near Rome (between 2 and 100 km away), showing their names, higher-level administrative divisions, official websites if available, and links to their English Wikipedia pages."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3Label ?var4 ?var5 ?var6 ?var7 ?var8 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var6 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> \"POINT(14 43)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"100\". <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#distance> ?var8 . } FILTER ( ( ( ?var8 > \"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . } { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var3 . } { ?var3 <http://www.wikidata.org/prop/direct/P131> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var7 . } OPTIONAL { ?var5 <http://schema.org/about> ?var1 . ?var5 <http://schema.org/inLanguage> \"en\". ?var5 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var1 ) LIMIT 5"}}
{"id": "test_9947", "question": "What is the Dutch title of the children\u2019s book 'Het Zwanenmeer'?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?label WHERE {\n  wd:Q62736792 rdfs:label ?label .\n  FILTER ( LANG( ?label ) = 'nl' )\n}", "paraphrases": ["What is the label in Dutch for the Wikidata item about the book 'Het Zwanenmeer'?", "How is 'Het Zwanenmeer' called in Dutch according to Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.w3.org/2000/01/rdf-schemalabel> ?var1 . <https://nl.wikipedia.org/wiki/Het_zwanenmeer> <http://schema.org/about> ?var2 . }"}}
{"id": "test_9948", "question": "Which Disney characters have an INDUCKS character ID, and what are their IDs?", "sparql": "SELECT ?character ?inducksId WHERE { ?character wdt:P4479 ?inducksId . }", "paraphrases": ["List all Disney characters and their INDUCKS character identifiers.", "Show me the mapping between Disney characters and their INDUCKS IDs."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4479> ?var2 . FILTER ( ( CONTAINS ( ?var2 , \"+\" ) ) ) . }"}}
{"id": "test_9949", "question": "Is there a Wikipedia article listing episodes of The Crown linked in Wikidata?", "sparql": "ASK WHERE { ?series wdt:P1811 wd:Q102036557 . }", "paraphrases": ["Does the TV series The Crown have a list of episodes linked in Wikidata?", "Show me if The Crown's episode list is recorded in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q199> . }"}}
{"id": "test_9950", "question": "Does the TV series \"Barney Miller\" have its list of episodes linked to the German Wikipedia page \"Barney Miller/Episodenliste\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q808487 wdt:P1811 wd:Q16962681\n}", "paraphrases": ["Is Barney Miller linked to its German episode list on Wikipedia?", "Confirm that the Wikipedia episode list for Barney Miller is connected to the show\u2019s Wikidata entry."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q16962681> . }"}}
{"id": "test_9951", "question": "Does the TV series Inukami! have a list of episodes?", "sparql": "ASK WHERE { wd:Q130262358 wdt:P1811 wd:Q6574379 }", "paraphrases": ["Is there an episode list for the anime series Inukami!?", "Confirm that the article \"list of Inukami! episodes\" is linked as the episode list for the Inukami! TV series."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q6574379> . }"}}
{"id": "test_9952", "question": "Does the anime series Rosario + Vampire have a Wikipedia list of its episodes?", "sparql": "ASK WHERE { wd:Q11350257 wdt:P1811 wd:Q3729721 . }", "paraphrases": ["Is there a Wikipedia article listing the episodes of Rosario + Vampire, and is it linked in Wikidata?", "Confirm that Rosario + Vampire is connected to its episode list on Wikipedia via Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q3729721> . }"}}
{"id": "test_9953", "question": "Does the TV series \"Ouran High School Host Club\" have a linked episode list on Wikipedia?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  ?series wdt:P1811 wd:Q6593187 .\n}", "paraphrases": ["Is there a television series that links to the Wikipedia page listing its episodes for \"Ouran High School Host Club\"?", "Confirm if any show has its episode list connected to the Wikipedia article \"List of Ouran High School Host Club episodes\"."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q6593187> . }"}}
{"id": "test_9954", "question": "Is the Wikipedia list \"list of Tales of the Abyss episodes\" linked to the anime series Tales of the Abyss in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  ?series wdt:P1811 wd:Q6599032 .\n}", "paraphrases": ["Does the anime series Tales of the Abyss have its episode list linked to the Wikipedia article titled \"list of Tales of the Abyss episodes\"?", "Confirm that the episode list for Tales of the Abyss is referenced in Wikidata via the Wikipedia article \"list of Tales of the Abyss episodes\"."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q6599032> . }"}}
{"id": "test_9955", "question": "TV series with episode list linked to Impractical Jokers/Episodenliste?", "sparql": "ASK WHERE { ?series wdt:P1811 wd:Q17145518 . }", "paraphrases": ["Is there any TV series whose episode list is the article \"Impractical Jokers/Episodenliste\"?", "Please confirm if the article \"Impractical Jokers/Episodenliste\" serves as the episode list for any TV show."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q17145518> . }"}}
{"id": "test_9956", "question": "Does the anime series Cutie Honey have a Wikipedia page listing its episodes?", "sparql": "ASK WHERE { wd:Q3699788 wdt:P1811 wd:Q6568202 . }", "paraphrases": ["Is the list of episodes for Cutie Honey linked in Wikidata to the Wikipedia article \"List of Cutie Honey episodes\"?", "Confirm that Cutie Honey is connected to its episode list on Wikipedia via Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q6568202> . }"}}
{"id": "test_9957", "question": "Does Transformers: Robots in Disguise (2015) have a list of episodes on Wikipedia?", "sparql": "ASK WHERE { ?series wdt:P1811 wd:Q20645384 . }", "paraphrases": ["Is there a Wikipedia article listing the episodes of the 2015 Transformers: Robots in Disguise TV series?", "Confirm if the 2015 Transformers: Robots in Disguise series has an official episode list page."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q20645384> . }"}}
{"id": "test_9958", "question": "Does Tenchi Muyo! GXP have a list of episodes linked to the article \"Anexo:Episodios de Tenchi Muyo GXP\"?", "sparql": "ASK WHERE { wd:Q2293448 wdt:P1811 wd:Q6599263 .}", "paraphrases": ["Is the episode list for the anime series Tenchi Muyo! GXP available on the Wikipedia article \"Anexo:Episodios de Tenchi Muyo GXP\"?", "Confirm that Tenchi Muyo! GXP is connected to its episode list article on Wikimedia."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q6599263> . }"}}
{"id": "test_9959", "question": "Does the TV series \"Love Child\" have a list of episodes?", "sparql": "ASK WHERE { wd:Q15818065 wdt:P1811 wd:Q17052585 .}", "paraphrases": ["Is the article \"list of Love Child episodes\" linked as the episode list for the TV series \"Love Child\"?", "Confirm that \"Love Child\" has its episodes listed in the Wikimedia article \"list of Love Child episodes\"."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q17052585> . }"}}
{"id": "test_9960", "question": "Does Hetalia: Axis Powers have an episode list linked in Wikidata?", "sparql": "ASK WHERE { wd:Q518169 wdt:P1811 wd:Q6573061 . }", "paraphrases": ["Is the episode list for Hetalia: Axis Powers connected to its Wikidata item?", "Confirm that Hetalia: Axis Powers is linked to its episode list article in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q6573061> . }"}}
{"id": "test_9961", "question": "What qualifiers are most frequently used on acquisition events in Wikidata?", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?propertyLabel ( COUNT( * ) AS ?count ) WHERE {\n  ?item p:P793 ?statement .\n  ?statement ps:P793 wd:Q22340494 .\n  ?statement ?propertyLabel ?value .\n}\nGROUP BY ?propertyLabel\nORDER BY DESC ( ?count )\nLIMIT 100", "paraphrases": ["Which properties are most commonly used as qualifiers when documenting museum acquisitions?", "Show me the top 100 qualifiers used on acquisition events, ordered by how often they appear."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT (* ) AS ?var2 ) WHERE { ?var3 <http://www.wikidata.org/prop/P793> ?var4 . ?var4 ?var1 ?var5 . ?var4 <http://www.wikidata.org/prop/statement/P793> <http://www.wikidata.org/entity/Q22340494> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var2 ) LIMIT 100"}}
{"id": "test_9962", "question": "What entities are classified as subclasses of \"type of quantum particle\" through properties other than \"instance of\", and what properties are used for these classifications?", "sparql": "SELECT ?entity ?statement ?propertyTemplate (SAMPLE(?qualifierProperty) AS ?qualifier)\nWHERE {\n  ?statement ?statementProperty wd:Q22675015 .\n  ?entity ?claimProperty ?statement .\n  ?propertyTemplate wikibase:statementProperty ?statementProperty .\n  ?propertyTemplate wikibase:claim ?claimProperty .\n  FILTER (?propertyTemplate != wd:P31) .\n  \n  OPTIONAL {\n    ?statement ?qualifierProperty ?qualifierValue .\n    ?qualifierTemplate wikibase:qualifier ?qualifierProperty .\n  }\n}\nGROUP BY ?entity ?statement ?propertyTemplate", "paraphrases": ["List entities linked to quantum particle types via statement properties, along with the properties used \u2014 are there any qualifiers attached to these statements?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q22675015> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_9963", "question": "Is there a TV series that has the episode list Q27663953?", "sparql": "ASK WHERE { ?series wdt:P1811 wd:Q27663953 . }", "paraphrases": ["Confirm whether any TV series is associated with the episode list Q27663953."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q27663953> . }"}}
{"id": "test_9964", "question": "Is there a TV series that has its episode list linked to the article \"list of Marie episodes\"?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?series wdt:P1811 wd:Q6589273 .\n}", "paraphrases": ["Does any television show use the Wikipedia list \"list of Marie episodes\" as its official episode list?", "Is the item Q6589273 (list of Marie episodes) connected to any TV series via the 'list of episodes' property?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q6589273> . }"}}
{"id": "test_9965", "question": "Places classified as both villages and cities and their countries.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?var1Label ?var3Label ?var1 WHERE {\n  ?var1 wdt:P31 wd:Q532 .\n  ?var1 wdt:P31 wd:Q515 .\n  ?var1 wdt:P17 ?var3 .\n  ?var1 rdfs:label ?var1Label .\n  ?var3 rdfs:label ?var3Label .\n  FILTER(LANG(?var1Label) = \"en\")\n  FILTER(LANG(?var3Label) = \"en\")\n}\nLIMIT 1000", "paraphrases": ["Which places are listed as both villages and cities in Wikidata, and in which countries are they located?", "Show me a list of settlements that are tagged as both villages and cities, along with their respective countries."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3Label ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q532> . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 1000"}}
{"id": "test_9966", "question": "Does the anime series BECK: Mongolian Chop Squad have its episode list linked to the Hungarian Wikipedia list article?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  wd:Q115957300 wdt:P1811 wd:Q434980\n}", "paraphrases": ["Is the list of episodes for BECK: Mongolian Chop Squad available on the Hungarian-language Wikimedia page Q434980?", "Confirm that BECK: Mongolian Chop Squad is connected to its episode list via the item Q434980."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q434980> . }"}}
{"id": "test_9967", "question": "Does the TV series Dirili\u015f: Ertu\u011frul have its episode list linked to the Wikipedia article \"Dirili\u015f Ertu\u011frul b\u00f6l\u00fcmleri listesi\"?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?series wdt:P1811 wd:Q24287953 .\n}", "paraphrases": ["Is there a TV series whose list of episodes is the Wikipedia article titled \"Dirili\u015f Ertu\u011frul b\u00f6l\u00fcmleri listesi\"?", "Is the TV series Dirili\u015f: Ertu\u011frul linked to the episode list article on Wikipedia?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q24287953> . }"}}
{"id": "test_9968", "question": "Does Full Frontal with Samantha Bee have an episode list on Wikipedia?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q22022577 wdt:P1811 wd:Q24907597 .\n}", "paraphrases": ["Is the Wikipedia list \"Full Frontal with Samantha Bee/Episodenliste\" the official episode list for the TV series Full Frontal with Samantha Bee?", "Confirm that Full Frontal with Samantha Bee is linked to its episode list article on Wikipedia."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q24907597> . }"}}
{"id": "test_9969", "question": "Is the episode list for the X-Men TV series linked in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  ?series wdt:P1811 wd:Q2975979 .\n}", "paraphrases": ["Does the Wikipedia page listing episodes of X-Men (1992) correspond to a TV series in Wikidata?", "Is there a TV series in Wikidata that has a link to the episode list of X-Men?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q2975979> . }"}}
{"id": "test_9970", "question": "Is there a TV series that links to the episode list article \"About a Boy/Episodenliste\"?", "sparql": "ASK WHERE { ?series wdt:P1811 wd:Q16911802 . }", "paraphrases": ["Does the Wikipedia episode list Q16911802 belong to any TV series?", "Is the item Q16911802 used as an episode list for a television series?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q16911802> . }"}}
{"id": "test_9971", "question": "Does the TV series \"Go Fighting!\" have a list of episodes on Wikipedia?", "sparql": "ASK WHERE { ?series wdt:P1811 wd:Q29915625 . }", "paraphrases": ["Is there a Wikipedia list article that contains the episodes of \"Go Fighting!\"?", "Confirm that \"Go Fighting!\" is linked to its episode list on Wikimedia."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q29915625> . }"}}
{"id": "test_9972", "question": "Does the TV series K.O.3an Guo have a list of episodes on Wikipedia?", "sparql": "ASK WHERE { wd:Q3811889 wdt:P1811 wd:Q6575561 }", "paraphrases": ["Is there a Wikipedia article that lists all episodes of K.O.3an Guo?", "Has K.O.3an Guo been assigned an episode list article in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q6575561> . }"}}
{"id": "test_9973", "question": "Image of Warren Neidich with SNAC ARK ID w6k64t2h", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6k64t2h\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with Warren Neidich\u2019s SNAC ARK ID w6k64t2h?", "Show me the portrait of the person whose SNAC ARK ID is w6k64t2h."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6k64t2h\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9974", "question": "Is there a TV series that has a list of episodes linked to the article \"List of Zoobles! episodes\"?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?series wdt:P1811 wd:Q6604706 .\n}", "paraphrases": ["Does the Wikipedia article \"List of Zoobles! episodes\" belong to a TV series in Wikidata?", "Which TV series has its episode list on the Wikipedia page \"List of Zoobles! episodes\"?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q6604706> . }"}}
{"id": "test_9975", "question": "Is there a TV series whose list of episodes is the article \"list of Parents of the Band episodes\"?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?series wdt:P1811 wd:Q6593530 .\n}", "paraphrases": ["Does the TV series \"Parents of the Band\" have a dedicated list of episodes on Wikidata?", "Is the episode list for \"Parents of the Band\" linked in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q6593530> . }"}}
{"id": "test_9976", "question": "What types of entities are the Nintendo games Super Smash Bros. Melee, Pikmin 2, Mario Party 7, Metal Gear Solid: The Twin Snakes, Wario World, Mario Kart: Double Dash, Super Mario Sunshine, and The Legend of Zelda: Twilight Princess classified as in Wikidata?", "sparql": "SELECT ?game ?type ?typeLabel WHERE { VALUES ?game { wd:Q1052131 wd:Q1196801 wd:Q2480047 wd:Q1205277 wd:Q2697453 wd:Q5721431 wd:Q639955 wd:Q735613 } ?game wdt:P31 ?type . ?type rdfs:label ?typeLabel . FILTER(LANG(?typeLabel) = \"en\") }", "paraphrases": ["Which classes do these classic video games belong to, and what are their English labels?", "Is Super Smash Bros. Melee considered an esports discipline, and what other categories do these early 2000s Nintendo games fall under?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q1052131> ) ( <http://www.wikidata.org/entity/Q1196801> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/Q2480047> ) ( <http://www.wikidata.org/entity/Q1205277> ) ( <http://www.wikidata.org/entity/Q735613> ) ( <http://www.wikidata.org/entity/Q5721431> ) ( <http://www.wikidata.org/entity/Q2697453> ) ( <http://www.wikidata.org/entity/Q639955> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9977", "question": "Does the TV series Okresn\u00ed p\u0159ebor have a linked episode list article?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?series wdt:P1811 wd:Q6592781 .\n}", "paraphrases": ["Is there a TV series whose list of episodes is the article \"list of Okresn\u00ed p\u0159ebor episodes\"?", "Confirm if the Wikipedia article \"list of Okresn\u00ed p\u0159ebor episodes\" is linked as the episode list for any TV series."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q6592781> . }"}}
{"id": "test_9978", "question": "What are the headquarters locations of Bank of America, and where are they located geographically?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?location ?locationLabel ?coordinates WHERE {\n  wd:Q487907 wdt:P159 ?location .\n  OPTIONAL {\n    ?location wdt:P625 ?coordinates .\n  }\n  ?location rdfs:label ?locationLabel .\n  FILTER(LANG(?locationLabel) = \"en\")\n}", "paraphrases": ["Show me the places where Bank of America has its headquarters, along with their names and coordinates.", "Which locations are associated with Bank of America as its headquarters, and what are their geographic coordinates in English?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q487907> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P625> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9979", "question": "Is there a TV series that links to the episode list of Better Off Ted on the German Wikipedia?", "sparql": "ASK WHERE { ?series wdt:P1811 wd:Q6563812 . }", "paraphrases": ["Does the article wd:Q6563812 serve as the episode list for any TV series in Wikidata?", "Is the German Wikipedia episode list for Better Off Ted referenced by a TV series in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q6563812> . }"}}
{"id": "test_9980", "question": "What entities were created, discovered, published, or officially opened in 2022?", "sparql": "SELECT DISTINCT ?item WHERE { ?item (wdt:P571 | wdt:P575 | wdt:P577 | wdt:P1619) ?date . FILTER(YEAR(?date) = 2022) }", "paraphrases": ["Can you list all works, organizations, or inventions that came into existence in 2022, including their publication, inception, or opening dates?", "Show me everything that had a significant event like a launch, release, or founding in the year 2022."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P571> | <http://www.wikidata.org/prop/direct/P575> | <http://www.wikidata.org/prop/direct/P577> | <http://www.wikidata.org/prop/direct/P1619> ) ?var2 . FILTER ( ( ( ?var2 >= \"322-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"322-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_9981", "question": "Birth years of computer scientists with DBLP author IDs", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT(YEAR(?birthDate) AS ?birthYear) WHERE {\n  ?person wdt:P2456 ?dblpId .\n  ?person wdt:P569 ?birthDate .\n}", "paraphrases": ["What year were computer scientists with DBLP profiles born?", "Show me the birth years of all individuals listed in DBLP."], "info": {"raw_sparql": "SELECT( YEAR ( ?var1 ) AS ?var2 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P2456> ?var4 . ?var3 <http://www.wikidata.org/prop/direct/P569> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9982", "question": "Is Charles Duncan Gilfillan classified as software?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q47067961 ( wdt:P31 / wdt:P279 * ) wd:Q7397 .\n}", "paraphrases": ["Is Charles Duncan Gilfillan an instance of software or any of its subclasses?", "Confirm whether Charles Duncan Gilfillan belongs to the category of software."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q47067961> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_9983", "question": "French label and description of properties related to software version identifier (P348)", "sparql": "SELECT ?related ?relatedLabel ?relatedDescription WHERE { wd:P348 wdt:P1659 ?related . ?related rdfs:label ?relatedLabel . ?related schema:description ?relatedDescription . FILTER (LANG(?relatedLabel) = \"fr\") FILTER (LANG(?relatedDescription) = \"fr\") }", "paraphrases": ["What are the French label and description of the property that is related to the software version identifier?", "Show me the French label and description of any property that provides additional information about software version identifiers."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P348> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"fr\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"fr\" ) ) ) . }"}}
{"id": "test_9984", "question": "What currencies are used by stock exchanges around the world?", "sparql": "SELECT ?var5 WHERE { ?var1 wdt:P31 wd:Q11691 . ?var1 wdt:P17 ?var6 . ?var6 wdt:P297 ?var3 . ?var6 wdt:P298 ?var4 . ?var1 wdt:P38 ?var7 . ?var7 wdt:P498 ?var5 . }", "paraphrases": ["List the ISO 4217 currency codes associated with stock exchanges.", "Which currencies are traded on stock exchanges?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3Label ?var4Label ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11691> . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var6 . ?var6 <http://www.wikidata.org/prop/direct/P297> ?var3 . ?var6 <http://www.wikidata.org/prop/direct/P298> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P38> ?var7 . ?var7 <http://www.wikidata.org/prop/direct/P498> ?var5 . ?var7 <http://www.wikidata.org/prop/direct/P498> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_9985", "question": "Is the painting \"Landscape with Pan and Syrinx, after Paul Bril\" considered a human?", "sparql": "ASK WHERE { wd:Q50819526 (wdt:P31/wdt:P279*) wd:Q5 . }", "paraphrases": ["Does the artwork \"Landscape with Pan and Syrinx, after Paul Bril\" belong to any class that is a subclass of human?", "Could \"Landscape with Pan and Syrinx, after Paul Bril\" be categorized as a person?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q50819526> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_9986", "question": "What are the 10 closest places to Greenwich, London?", "sparql": "SELECT ?item ?coord WHERE { ?item wdt:P131 wd:Q693450 . ?item wdt:P625 ?coord . } LIMIT 10", "paraphrases": ["List notable locations within the Royal Borough of Greenwich along with their coordinates.", "Show me places in Greenwich, UK, that have geographic coordinates."], "info": {"raw_sparql": "SELECT * WHERE { SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> \"POINT(0 51)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"25\". } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } BIND ( <http://www.opengis.net/def/geosparql/function/distance> ( \"POINT(0 51)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> , ?var2 ) AS ?var3 ). } ORDER BY ASC( ?var3 ) LIMIT 10"}}
{"id": "test_9987", "question": "Does any person or entity in Wikidata have the VIAF ID 44942764?", "sparql": "ASK WHERE { ?item wdt:P214 \"44942764\" . }", "paraphrases": ["Is there a Wikidata item associated with the Virtual International Authority File identifier 44942764?", "Does the VIAF ID 44942764 correspond to any known entity in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"44942764\". }"}}
{"id": "test_9988", "question": "St. Leonhard (Wall) church in Europe: coordinates, country, and images", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 WHERE {\n  wd:Q18881155 wdt:P17 ?var3 .\n  ?var3 wdt:P30 wd:Q46 .\n  OPTIONAL {\n    wd:Q18881155 wdt:P625 ?var2 .\n  }\n  OPTIONAL {\n    wd:Q18881155 wdt:P18 ?var4 .\n  }\n  OPTIONAL {\n    wd:Q18881155 rdfs:label ?var1Label .\n    FILTER ( LANG( ?var1Label ) = \"en\" )\n  }\n  OPTIONAL {\n    ?var3 rdfs:label ?var3Label .\n    FILTER ( LANG( ?var3Label ) = \"en\" )\n  }\n  BIND( wd:Q18881155 AS ?var1 )\n}", "paraphrases": ["What are the location, country, and images of St. Leonhard (Wall) church, and is it in Europe?", "Show me the coordinates, country name, and available images of the church St. Leonhard (Wall), confirming it is located in Europe."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 ?var5 ?var5Label WHERE { BIND ( <http://www.wikidata.org/entity/Q18881155> AS ?var1 ). BIND ( <http://www.wikidata.org/entity/Q16970> AS ?var6 ). BIND ( <http://www.wikidata.org/entity/Q46> AS ?var7 ). ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var6 . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P30> ?var7 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P149> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_9989", "question": "Image of Ferdinand Domela Nieuwenhuis (SNAC ARK ID: w6bs6p80)", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6bs6p80\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6bs6p80?", "Show me the Wikimedia Commons image for the person with SNAC ARK ID w6bs6p80."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6bs6p80\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_9990", "question": "What sports clubs are associated with which sports, and what are their names?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?club ?clubLabel ?sport ?sportLabel WHERE {\n  ?club wdt:P31 wd:Q476028 ; wdt:P641 ?sport .\n  ?club rdfs:label ?clubLabel .\n  ?sport rdfs:label ?sportLabel .\n  FILTER(LANG(?clubLabel) = \"en\")\n  .\n  FILTER(LANG(?sportLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Can you list the English-named sports clubs and the sports they participate in?", "Show me organizations that are sports clubs and the sports they are involved in."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label WHERE { VALUES ( ?var1 ) { } ?var1 <http://www.wikidata.org/prop/direct/P641> ?var3 . ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3778211> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_9991", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt6155172?", "sparql": "SELECT ?movie ?wikipedia_page ?imdb_id WHERE { ?movie wdt:P345 ?imdb_id . ?wikipedia_page schema:about ?movie . ?wikipedia_page schema:inLanguage ?lang . FILTER(?imdb_id = \"tt6155172\") FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Which Wikipedia articles in English or German are about the film Roma (2018), identified by IMDb ID tt6155172?", "Show me the English and German Wikipedia links for the movie Roma (2018) using its IMDb identifier tt6155172."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt6155172\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_9992", "question": "List automobile models with their manufacturers and wheelbases.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?model ?manufacturerLabel ?wheelbase WHERE {\n  ?model wdt:P31 wd:Q3231690 .\n  OPTIONAL {\n    ?model wdt:P176 ?manufacturer .\n    ?manufacturer rdfs:label ?manufacturerLabel .\n    FILTER ( LANG( ?manufacturerLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?model wdt:P3039 ?wheelbase .\n  }\n}\nLIMIT 1000", "paraphrases": ["What are the manufacturers and wheelbases of all automobile models in Wikidata?", "Show me the names of car models, their manufacturers (in English), and their wheelbase measurements in millimeters, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label ?var4 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P176> ?var2 . } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3231690> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1552> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3039> ?var4 . } } LIMIT 1000"}}
{"id": "test_9993", "question": "What are the English names, countries, coordinates, and populations of all cities?", "sparql": "SELECT DISTINCT ?city ?cityLabel ?country ?coord ?population\nWHERE {\n  ?city (wdt:P31/wdt:P279*) wd:Q515 ;\n        wdt:P625 ?coord ;\n        wdt:P1082 ?population ;\n        wdt:P17 ?country .\n  ?city rdfs:label ?cityLabel .\n  FILTER(LANG(?cityLabel) = \"en\")\n}", "paraphrases": ["List cities with their labels, countries, geographic coordinates, and population numbers.", "Show me the population and location of cities around the world, along with their country and English name."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var3 )( MAX ( ?var4 ) AS ?var4 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> ; <http://www.wikidata.org/prop/direct/P625> ?var3 ; <http://www.wikidata.org/prop/direct/P1082> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } GROUP BY ?var1 ?var1Label ?var2"}}
{"id": "test_9994", "question": "Who are the prime ministers that have no siblings listed in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person WHERE {\n  ?person wdt:P39 / wdt:P279 * wd:Q14212 .\n  FILTER NOT EXISTS {\n    ?person wdt:P40 ?sibling\n  }\n}", "paraphrases": ["List all individuals who have served as prime minister and for whom no sibling information is available.", "Find people who held the office of prime minister and do not have any siblings recorded in their Wikidata profile."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q14212> . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.wikidata.org/prop/novalue/P40> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_9995", "question": "Top 100 web browsers by version number, sorted in descending order, with their stable and LTS release type labels.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?browser ?browserLabel ?version ?stableVersionTypeLabel ?ltstypeLabel WHERE {\n  BIND( wd:Q2804309 AS ?stableVersionType ) .\n  BIND( wd:Q15726348 AS ?ltstype ) .\n  ?browser wdt:P31 wd:Q6368 .\n  ?browser wdt:P348 ?version .\n  ?browser rdfs:label ?browserLabel .\n  ?stableVersionType rdfs:label ?stableVersionTypeLabel .\n  ?ltstype rdfs:label ?ltstypeLabel .\n  FILTER ( LANG( ?browserLabel ) = \"en\" ) FILTER ( LANG( ?stableVersionTypeLabel ) = \"en\" ) FILTER ( LANG( ?ltstypeLabel ) = \"en\" )\n}\nORDER BY DESC ( ?version )\nLIMIT 100", "paraphrases": ["What are the 100 most recent versions of web browsers, and what are the labels for \"stable version\" and \"long-term support release\"?", "List the 100 web browsers with the highest version identifiers, along with their version numbers and the meanings of \"stable version\" and \"long-term support release\"."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4Label WHERE { BIND ( <http://www.wikidata.org/entity/Q2804309> AS ?var3 ). BIND ( <http://www.wikidata.org/entity/Q15726348> AS ?var4 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6368> . ?var1 <http://www.wikidata.org/prop/direct/P348> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } } ORDER BY DESC( ?var2 ) LIMIT 100"}}
{"id": "test_9996", "question": "Which Wikidata items are associated with the Twitter usernames 'jrosskopf', 'datalad', or 'hebsgaard'?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"jrosskopf\" \"datalad\" \"hebsgaard\" } }", "paraphrases": ["What Wikidata entities have the Twitter handle 'datalad', 'jrosskopf', or 'hebsgaard'?", "Find the Wikidata items linked to the Twitter usernames 'jrosskopf', 'datalad', and 'hebsgaard'."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"jrosskopf\" ) ( \"datalad\" ) ( \"hebsgaard\" ) } }"}}
{"id": "test_9997", "question": "Is there a person in Wikidata with the VIAF ID 52535407?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P214 \"52535407\" .\n}", "paraphrases": ["Does the Virtual International Authority File identifier 52535407 correspond to any entity in Wikidata?", "Find out if the VIAF ID 52535407 is registered in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"52535407\". }"}}
{"id": "test_9998", "question": "Which Wikidata items have Twitter usernames TfL, SadiqKhan, Viquipedia, or EU_H2020?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    'TfL' 'SadiqKhan' 'Viquipedia' 'EU_H2020'\n  }\n}", "paraphrases": ["What entities on Wikidata are associated with the Twitter handles TfL, SadiqKhan, Viquipedia, or EU_H2020?", "Show me the Wikidata items that use TfL, SadiqKhan, Viquipedia, or EU_H2020 as their Twitter username."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"sjDCC\" ) ( \"string1\" ) ( \"string2\" ) ( \"Elmroth\" ) ( \"string3\" ) ( \"string4\" ) ( \"opassande\" ) ( \"string5\" ) ( \"DSMeu\" ) ( \"string6\" ) ( \"SpotMe\" ) ( \"karins42\" ) ( \"string7\" ) ( \"string8\" ) ( \"digicultEU\" ) ( \"EU_H2020\" ) ( \"OsesElena\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"kungbib\" ) ( \"string12\" ) ( \"string13\" ) ( \"string14\" ) ( \"unescoNOW\" ) ( \"oatweet\" ) ( \"perbj\" ) ( \"string15\" ) ( \"dalailarah\" ) ( \"string16\" ) ( \"duotoned\" ) ( \"string17\" ) ( \"moppematte\" ) ( \"string18\" ) ( \"string19\" ) ( \"HahlinIda\" ) ( \"bayartb\" ) ( \"string20\" ) ( \"string21\" ) ( \"ninaksimon\" ) ( \"brokep\" ) ( \"AlexHinojo\" ) ( \"qikipedia\" ) ( \"string22\" ) ( \"string23\" ) ( \"string24\" ) ( \"string25\" ) ( \"string26\" ) ( \"string27\" ) ( \"Viquipedia\" ) ( \"string28\" ) ( \"string29\" ) ( \"LisaBelair\" ) ( \"zeynep\" ) ( \"TfL\" ) ( \"SadiqKhan\" ) ( \"string30\" ) ( \"dawnnafus\" ) ( \"Kennisland\" ) ( \"string31\" ) ( \"string32\" ) ( \"MichalBoni\" ) ( \"Senficon\" ) ( \"woelken\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_9999", "question": "Creative works that use Microsoft Word", "sparql": "SELECT DISTINCT ?var1Label WHERE { ?var1 wdt:P2283 wd:Q11261 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") }", "paraphrases": ["Which films or albums use Microsoft Word in their production?", "Show me the titles of works that use Microsoft Word as a tool."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2283> <http://www.wikidata.org/entity/Q7397> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10000", "question": "People born in India", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P19 wd:Q668 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["Who are some people born in India?", "List the names of people who were born in India."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q668> . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"hi,en\". } }"}}
{"id": "test_10001", "question": "Genes in Vibrio cholerae with genomic coordinates between 200,000 and 300,000, forward strand, and English labels.", "sparql": "SELECT ?gene ?start ?end ?strand ?entrez ?locus ?label ?strand_code ?gene_uri WHERE { ?gene wdt:P279 wd:Q7187 ; wdt:P703 wd:Q21102945 ; wdt:P351 ?entrez ; wdt:P2393 ?locus ; wdt:P644 ?start ; wdt:P645 ?end ; wdt:P2548 ?strand ; rdfs:label ?label . FILTER (LANG(?label) = \"en\") FILTER (xsd:integer(?start) <= 300000 && xsd:integer(?end) >= 200000) BIND( IF( ?strand = wd:Q22809680, \"1\", \"-1\" ) AS ?strand_code ) BIND( STR(?gene) AS ?gene_uri ) } LIMIT 10", "paraphrases": ["What are the genes in Vibrio cholerae that have a genomic start \u2264 300,000 and end \u2265 200,000, are on the forward strand, and have an English name?", "List the genes from Vibrio cholerae with their Entrez ID, locus tag, genomic coordinates, strand orientation (as 1 for forward, -1 for reverse), English label, and URI, where the coordinates are between 200,000 and 300,000."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 WHERE { ?var10 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q7187> ; <http://www.wikidata.org/prop/direct/P703> ?var11 ; <http://www.wikidata.org/prop/direct/P351> ?var3 ; <http://www.wikidata.org/prop/direct/P351> ?var6 ; <http://www.wikidata.org/prop/direct/P2393> ?var7 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var8 ; <http://www.wikidata.org/prop/direct/P644> ?var1 ; <http://www.wikidata.org/prop/direct/P645> ?var2 ; <http://www.wikidata.org/prop/direct/P2548> ?var12 ; <http://www.wikidata.org/prop/P644> ?var13 . OPTIONAL { ?var13 <http://www.wikidata.org/prop/qualifier/P2249> ?var9 . FILTER ( ( ( LANG ( ?var8 ) = \"en\" ) ) ) . } BIND ( IF ( ( ?var12 = <http://www.wikidata.org/entity/Q22809680> ), \"1\", \"-1\" ) AS ?var4 ). BIND ( STR ( ?var10 ) AS ?var5 ). FILTER ( ( ( ?var9 = \"string1\" ) ) ) . ?var11 <http://www.wikidata.org/prop/direct/P685> \"190485\". FILTER ( ( !(( <http://www.w3.org/2001/XMLSchema#integer> ( ?var1 ) > \"300000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) || ( <http://www.w3.org/2001/XMLSchema#integer> ( ?var2 ) < \"200000\"^^<http://www.w3.org/2001/XMLSchema#integer> )) ) ) . }"}}
{"id": "test_10002", "question": "Females born in India with their birthplace cities and coordinates", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?personLabel ?birthplaceLabel WHERE {\n  ?person wdt:P19 wd:Q668 .\n  ?person wdt:P21 wd:Q6581072 .\n  ?person wdt:P19 ?birthplace .\n  ?birthplace wdt:P625 ?coordinates .\n  ?person rdfs:label ?personLabel .\n  ?birthplace rdfs:label ?birthplaceLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n  FILTER(LANG(?birthplaceLabel) = \"en\")\n}", "paraphrases": ["Who are the women born in cities in India, and what are the names and locations of those cities?", "List the names of female individuals born in Indian cities, along with the names of those cities and their geographic coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q668> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P625> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10003", "question": "Which Wikidata items have Twitter usernames EU_H2020, McrMuseum, iiif_io, jarlabanke, or mrundkvist, and how many Wikipedia links do they have?", "sparql": "SELECT ?item ?twitterUsername (COUNT(?sitelink) AS ?sitelinkCount) WHERE { ?item wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"EU_H2020\" \"McrMuseum\" \"iiif_io\" \"jarlabanke\" \"mrundkvist\" } . OPTIONAL { ?sitelink schema:about ?item ; schema:isPartOf ?wiki . } } GROUP BY ?item ?twitterUsername ORDER BY ASC(?sitelinkCount)", "paraphrases": ["What are the Wikidata entities associated with the Twitter accounts EU_H2020, McrMuseum, iiif_io, jarlabanke, and mrundkvist, sorted by their number of Wikipedia sitelinks?", "List the Wikidata items for the Twitter usernames EU_H2020, McrMuseum, iiif_io, jarlabanke, and mrundkvist, along with their Wikipedia sitelink counts, ordered from lowest to highest."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"AnyaInLove\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"carwash\" ) ( \"ewg118\" ) ( \"arainert\" ) ( \"TheoKL\" ) ( \"Bitfinex2\" ) ( \"STownFans\" ) ( \"string8\" ) ( \"ArmannJa\" ) ( \"dieKadda\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) ( \"string13\" ) ( \"string14\" ) ( \"string15\" ) ( \"tjukanov\" ) ( \"afek_ben\" ) ( \"haxpett\" ) ( \"Ohyran\" ) ( \"string16\" ) ( \"string17\" ) ( \"string18\" ) ( \"digicultEU\" ) ( \"EU_H2020\" ) ( \"moppematte\" ) ( \"string19\" ) ( \"karins42\" ) ( \"string20\" ) ( \"string21\" ) ( \"string22\" ) ( \"mrundkvist\" ) ( \"string23\" ) ( \"string24\" ) ( \"iiif_io\" ) ( \"string25\" ) ( \"soderhanna\" ) ( \"string26\" ) ( \"string27\" ) ( \"string28\" ) ( \"string29\" ) ( \"ethnomcr\" ) ( \"string30\" ) ( \"McrMuseum\" ) ( \"string31\" ) ( \"mengeeeeee\" ) ( \"jarlabanke\" ) ( \"string32\" ) ( \"string33\" ) ( \"SkrivaFel\" ) ( \"string34\" ) ( \"string35\" ) ( \"string36\" ) ( \"string37\" ) ( \"string38\" ) ( \"string39\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_10004", "question": "What property is most commonly used to associate fictional characters with Gondor in Wikidata?", "sparql": "SELECT ?property (COUNT(?property) AS ?count) WHERE { ?item ?propertyUsed wd:Q213586 . ?property wikibase:directClaim ?propertyUsed . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1", "paraphrases": ["Which Wikidata property links the most entities to the fictional kingdom of Gondor, and how many such links exist?", "How many fictional characters from Gondor are recorded in Wikidata, and what property connects them to Gondor?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q213586> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1"}}
{"id": "test_10005", "question": "Who are the current heads of state of sovereign countries?", "sparql": "SELECT DISTINCT ?country ?headOfState WHERE { ?country wdt:P35 ?headOfState . ?country wdt:P31 ?type . FILTER(?type IN (wd:Q6256, wd:Q3624078)) } LIMIT 5", "paraphrases": ["List countries and their heads of state", "Can you show me the current leaders of sovereign nations along with their countries?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P35> ?var2 . } LIMIT 5"}}
{"id": "test_10006", "question": "Which Wikidata items are associated with the Twitter usernames Wikimedia, Wikipedia, gnome, jesswade, and zeynep?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterUsername WHERE {\n  ?item wdt:P2002 ?twitterUsername .\n  VALUES ?twitterUsername {\n    \"LisaBelair\" \"zeynep\" \"Anasuyashh\" \"AlltGenast\" \"mydataorg\" \"qikipedia\" \"Hugodixon\" \"Bitfinex2\" \"arainert\" \"nomiseh\" \"smkmuseum\" \"archasa\" \"aarmour96\" \"ds106dc\" \"theEnd106\" \"Phreds85\" \"Wikimedia\" \"womensart1\" \"Wikipedia\" \"outreachy\" \"gnome\" \"Jonna_A\" \"metafilter\" \"WikiDonne\" \"cc_italy\" \"wikisource\" \"wikidata\" \"MiurSocial\" \"acdelion\" \"SkrivaFel\" \"mdiplo\" \"PSoemers\" \"cogries\" \"mia_raa\" \"jesswade\" \"innovateuk\" \"TrueInvivo\" \"Scarfolk\"\n  }\n}\nORDER BY ?twitterUsername", "paraphrases": ["Can you list the Wikidata entities that have Twitter accounts matching any of these usernames: Wikimedia, Wikipedia, gnome, jesswade, outreachy, and others from the list?", "Show me all the Wikidata items that have Twitter usernames from this list: Wikimedia, Wikipedia, gnome, jesswade, zeynep, outreachy, and similar handles."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"LisaBelair\" ) ( \"zeynep\" ) ( \"sikob\" ) ( \"Anasuyashh\" ) ( \"string1\" ) ( \"string2\" ) ( \"AlltGenast\" ) ( \"string3\" ) ( \"mydataorg\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"qikipedia\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"Hugodixon\" ) ( \"string12\" ) ( \"Bitfinex2\" ) ( \"arainert\" ) ( \"nomiseh\" ) ( \"smkmuseum\" ) ( \"archasa\" ) ( \"aarmour96\" ) ( \"ds106dc\" ) ( \"theEnd106\" ) ( \"Phreds85\" ) ( \"string13\" ) ( \"string14\" ) ( \"string15\" ) ( \"Wikimedia\" ) ( \"womensart1\" ) ( \"Wikipedia\" ) ( \"string16\" ) ( \"outreachy\" ) ( \"gnome\" ) ( \"Jonna_A\" ) ( \"metafilter\" ) ( \"string17\" ) ( \"string18\" ) ( \"string19\" ) ( \"WikiDonne\" ) ( \"string20\" ) ( \"string21\" ) ( \"string22\" ) ( \"cc_italy\" ) ( \"string23\" ) ( \"wikisource\" ) ( \"wikidata\" ) ( \"MiurSocial\" ) ( \"string24\" ) ( \"string25\" ) ( \"acdelion\" ) ( \"string26\" ) ( \"string27\" ) ( \"string28\" ) ( \"SkrivaFel\" ) ( \"mdiplo\" ) ( \"string29\" ) ( \"PSoemers\" ) ( \"cogries\" ) ( \"mia_raa\" ) ( \"string30\" ) ( \"string31\" ) ( \"string32\" ) ( \"jesswade\" ) ( \"innovateuk\" ) ( \"TrueInvivo\" ) ( \"string33\" ) ( \"Scarfolk\" ) ( \"string34\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_10007", "question": "Image of Jane Austen with SNAC ARK ID w60w92v7", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w60w92v7\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w60w92v7?", "Show me the Wikimedia Commons image for the person identified by the SNAC ARK ID w60w92v7."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6pr86dh\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_10008", "question": "Subclasses of non-steroidal anti-inflammatory drugs", "sparql": "SELECT ?nsaid ?nsaidLabel WHERE { ?nsaid wdt:P279 wd:Q188724 . ?nsaid rdfs:label ?nsaidLabel . FILTER(LANG(?nsaidLabel) = \"en\") }", "paraphrases": ["What are the known subclasses of non-steroidal anti-inflammatory drugs?", "List the English names of all drugs that are subclasses of non-steroidal anti-inflammatory drugs."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { } ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q188724> . }"}}
{"id": "test_10009", "question": "How many children does Madonna have?", "sparql": "SELECT (COUNT(DISTINCT ?child) AS ?childCount) WHERE { ?child wdt:P25 wd:Q1744 .}", "paraphrases": ["According to Wikidata, how many individuals are listed as Madonna\u2019s children?", "Can you tell me the number of Madonna\u2019s children recorded in Wikidata?"], "info": {"raw_sparql": "SELECT( COUNT ( DISTINCT ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P25> <http://www.wikidata.org/entity/Q1744> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10010", "question": "English and German Wikipedia pages for the movie with IMDb ID tt0468569.", "sparql": "SELECT ?item ?wikipedia_page WHERE { ?item wdt:P345 \"tt0468569\" . { ?wikipedia_page schema:about ?item ; schema:inLanguage \"en\" . } UNION { ?wikipedia_page schema:about ?item ; schema:inLanguage \"de\" . } }", "paraphrases": ["What are the English and German Wikipedia pages for the movie The Dark Knight?", "Show me the English and German Wikipedia articles for the film identified by IMDb ID tt0468569."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1431254\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10011", "question": "Members of the Royal Swedish Academy of Sciences sorted by birth date", "sparql": "SELECT DISTINCT ?member (SAMPLE(?label) AS ?memberLabel) WHERE { ?member wdt:P463 wd:Q191583 . ?member wdt:P569 ?birthDate . ?member rdfs:label ?label . } GROUP BY ?member ORDER BY ASC(?birthDate)", "paraphrases": ["Who are the members of the Royal Swedish Academy of Sciences, ordered from oldest to youngest?", "List all members of the Royal Swedish Academy of Sciences along with their names, sorted by their birth dates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q191583> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . } } ORDER BY ASC( ?var3 )"}}
{"id": "test_10012", "question": "Who won the Nobel Prize in Chemistry and in what year?", "sparql": "SELECT DISTINCT ?awardRecipient (YEAR(?awardDate) AS ?awardYear) ?awardDate WHERE { ?awardRecipient p:P166 ?awardStatement . ?awardStatement ps:P166 wd:Q44585 . OPTIONAL { ?awardStatement pq:P585 ?awardDate . } }", "paraphrases": ["What are the names of the recipients of the Nobel Prize in Chemistry, along with the year and exact date they received it?", "List all people who received the Nobel Prize in Chemistry, including the year and date of the award."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ( YEAR ( ?var2 ) AS ?var3 ) ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/P166> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P166> <http://www.wikidata.org/entity/Q44585> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { } OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P585> ?var4 . } }"}}
{"id": "test_10013", "question": "What is the English Wikipedia page for the film with IMDb ID tt0116405?", "sparql": "SELECT ?film ?wikipediaPage WHERE { ?film wdt:P345 \"tt0116405\" . ?wikipediaPage schema:about ?film ; schema:inLanguage \"en\" . }", "paraphrases": ["Find the film and its English Wikipedia article corresponding to the IMDb identifier tt0116405.", "Which English-language Wikipedia page is about the movie identified by tt0116405 on IMDb?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0116405\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10014", "question": "Which Wikidata items have Twitter usernames \"Russia\", \"thebeatles\", or \"UN\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"Russia\" \"thebeatles\" \"UN\"\n  }\n}", "paraphrases": ["What entities on Wikidata are associated with the Twitter accounts @Russia, @thebeatles, or @UN?", "Show me the Wikidata items for the Twitter accounts Russia, thebeatles, and UN."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"jade_hpy\" ) ( \"mezase159\" ) ( \"string1\" ) ( \"Tokumay3\" ) ( \"hazu79\" ) ( \"string2\" ) ( \"RND_png\" ) } }"}}
{"id": "test_10015", "question": "What items are linked to the concept of a bride in Wikidata, and what properties and qualifiers describe those relationships?", "sparql": "SELECT ?item ?statement ?property (SAMPLE(?qualifierProperty) AS ?qualifierSample)\nWHERE {\n  {\n    SELECT DISTINCT ?item ?statement ?property\n    WHERE {\n      ?statement ?statementProperty wd:Q353673 .\n      ?item ?claimProperty ?statement .\n      ?property wikibase:statementProperty ?statementProperty .\n      ?property wikibase:claim ?claimProperty .\n      FILTER (?property != wd:P31)\n    }\n    LIMIT 101\n  }\n  OPTIONAL {\n    ?statement ?qualifierProperty ?qualifierValue .\n    ?qualifierProperty wikibase:qualifier ?qualifierProperty .\n  }\n}\nGROUP BY ?item ?statement ?property", "paraphrases": ["Which entities have statements connecting them to a bride, and what additional details (qualifiers) are attached to those statements?", "Show me all statements where something is related to a bride, including the property used and any qualifiers, excluding \"instance of\" relationships."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q353673> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_10016", "question": "Who are the French people named Jean Camus?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person WHERE {\n  ?person rdfs:label \"Jean Camus\" @fr .\n  ?person wdt:P31 wd:Q5 .\n}", "paraphrases": ["Can you list all humans in Wikidata whose French label is \"Jean Camus\"?", "Show me the Wikidata items for individuals named Jean Camus in French."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"jean camus\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_10017", "question": "Rugby union players and ESPNscrum player IDs", "sparql": "SELECT DISTINCT ?player WHERE { { ?player wdt:P858 ?id . } UNION { ?player wdt:P106 wd:Q14089670 . } }", "paraphrases": ["Who are the rugby union players or people with an ESPNscrum player ID?", "List all individuals who are either rugby union players or have an ESPNscrum player identifier."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P858> ?var2 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q13415036> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q14089670> . } }"}}
{"id": "test_10018", "question": "List astronauts along with their date of birth and place of birth, sorted by newest birth date first.", "sparql": "SELECT ?person ?personLabel ?dateOfBirth ?placeOfBirthLabel WHERE { ?person wdt:P106 wd:Q11631 ; wdt:P569 ?dateOfBirth ; wdt:P19 ?placeOfBirth . OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } OPTIONAL { ?placeOfBirth rdfs:label ?placeOfBirthLabel . FILTER(LANG(?placeOfBirthLabel) = \"en\") } } ORDER BY DESC(?dateOfBirth)", "paraphrases": ["Who are the astronauts, when were they born, and where were they born, ordered from most recent to oldest birth date?", "Please provide the names, birth dates, and birthplaces of all astronauts, sorted in descending order of birth date."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label WHERE { ?var1 ?var4 <http://www.wikidata.org/entity/Q11631> ; <http://www.wikidata.org/prop/direct/P569> ?var2 ; <http://www.wikidata.org/prop/direct/P19> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var2 )"}}
{"id": "test_10019", "question": "Who is Carl Sylva Dubois in French?", "sparql": "SELECT DISTINCT ?person WHERE { ?person rdfs:label \"Carl Sylva Dubois\" @fr . ?person wdt:P31 wd:Q5 .}", "paraphrases": ["What human has the French label \"Carl Sylva Dubois\"?", "Can you find the French-labeled human named Carl Sylva Dubois?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"bois carl\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_10020", "question": "What are the release dates of the film Back to the Future?", "sparql": "SELECT ?filmLabel ?date WHERE { wd:Q91540 p:P577 [ ps:P577 ?date ] . wd:Q91540 rdfs:label ?filmLabel . FILTER(LANG(?filmLabel) = \"en\") } ORDER BY ?date", "paraphrases": ["When was Back to the Future first released in different regions?", "Can you list the publication dates for the 1985 movie Back to the Future in chronological order?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var6Label WHERE { BIND ( <http://www.wikidata.org/entity/Q91540> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/P577> [ <http://www.wikidata.org/prop/statement/P577> ?var3 ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . } } ORDER BY ASC( ?var6Label )ASC( ?var2 )"}}
{"id": "test_10021", "question": "Is Jim Widmark an actor?", "sparql": "ASK WHERE { wd:Q6240349 (wdt:P31/wdt:P279*) wd:Q33999 . }", "paraphrases": ["Does Jim Widmark belong to the class of actors or any of its subclasses?", "Is Jim Widmark classified as an actor in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q6240349> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_10022", "question": "Wikipedia articles in English, German, or Korean about the movie with IMDb ID tt2085765.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipedia_page WHERE {\n  VALUES ?imdb_id {\n    \"tt2085765\"\n  }\n  ?movie wdt:P345 ?imdb_id .\n  ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang .\n  FILTER(?lang IN(\"en\" , \"de\" , \"ko\"))\n}", "paraphrases": ["What are the English, German, and Korean Wikipedia pages for the movie \"Unbowed\" (IMDb ID tt2085765)?", "Show me the Wikipedia links in English, German, and Korean for the film identified by IMDb ID tt2085765."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2085765\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"ko\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10023", "question": "What are the English and German Wikipedia and Wikiquote pages for the TV show with IMDb ID tt0324864?", "sparql": "SELECT ?item ?page WHERE { ?item wdt:P345 \"tt0324864\" . ?page schema:about ?item . ?page schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Which language versions of web pages about Kingdom Hospital (IMDb tt0324864) are available in English or German?", "Show me the English and German language pages on Wikipedia and Wikiquote that are about the TV series Kingdom Hospital, identified by IMDb ID tt0324864."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0324864\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10024", "question": "Cities with population and coordinates, in English.", "sparql": "SELECT ?cityLabel WHERE { ?city (wdt:P31/wdt:P279*) wd:Q515 . ?city wdt:P1082 ?population . ?city wdt:P625 ?coordinates . ?city rdfs:label ?cityLabel . FILTER(LANG(?cityLabel) = \"en\") } LIMIT 10", "paraphrases": ["What are some cities that have a recorded population and geographic coordinates?", "List the English names of cities that are classified as urban settlements and have both a population count and geographic coordinates."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10"}}
{"id": "test_10025", "question": "Properties and values associated with Francesco Totti, excluding his Italian label.", "sparql": "SELECT ?property ?value WHERE { wd:Q20110 rdfs:label ?label . FILTER (LANG(?label) = \"it\") . wd:Q20110 ?property ?value . FILTER (?value != ?label) }", "paraphrases": ["What are the statements about Francesco Totti, and what are their values, excluding his Italian name?", "List all the properties and their values for Francesco Totti, but don't include his Italian label."], "info": {"raw_sparql": "SELECT * WHERE { <http://www.wikidata.org/entity/Q20110> <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . <http://www.wikidata.org/entity/Q20110> ?var2 ?var3 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q18616576> . FILTER ( ( ( LANG ( ?var1 ) = \"it\" ) ) ) . FILTER ( ( ( STR ( ?var1 ) = \"string1\" ) ) ) . FILTER ( ( ( ?var3 != ?var1 ) ) ) . }"}}
{"id": "test_10026", "question": "What is the English label for Hero City of the Soviet Union?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?var1 ?var1Label WHERE {\n  BIND(wd:Q159438 AS ?var1)\n  ?var1 rdfs:label ?var1Label .\n  FILTER(LANG(?var1Label) = \"en\")\n}", "paraphrases": ["What is the name of the honorary title awarded to Soviet cities for bravery during World War II?", "Please provide the English name of the entity 'Hero City of the Soviet Union'."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { BIND ( <http://www.wikidata.org/entity/Q159438> AS ?var1 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10027", "question": "Image of J. William Fulbright with SNAC ARK ID w6v987q1", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6v987q1\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6v987q1?", "Show me the Wikimedia Commons image for the person identified by SNAC ARK ID w6v987q1."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6v987q1\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_10028", "question": "List businesses with their ISIN, stock ticker, and the stock exchange they are listed on, including English labels.", "sparql": "SELECT ?business ?businessLabel ?isin ?ticker ?exchange ?exchangeLabel WHERE { ?business wdt:P31 wd:Q4830453 . ?business p:P414 ?exchangeStatement . ?exchangeStatement ps:P414 ?exchange . OPTIONAL { ?business wdt:P946 ?isin . } OPTIONAL { ?exchangeStatement pq:P249 ?ticker . } OPTIONAL { ?business rdfs:label ?businessLabel FILTER(LANG(?businessLabel) = \"en\") . } OPTIONAL { ?exchange rdfs:label ?exchangeLabel FILTER(LANG(?exchangeLabel) = \"en\") . } } ORDER BY ASC(?business) LIMIT 5", "paraphrases": ["Which publicly traded companies have ISIN codes or ticker symbols, and on which stock exchanges are they listed?", "Show me the names of businesses, their ISINs, ticker symbols, and the stock exchanges they are listed on, all in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4830453> . ?var1 <http://www.wikidata.org/prop/P414> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P946> ?var2 . } OPTIONAL { ?var5 <http://www.wikidata.org/prop/qualifier/P249> ?var4 . } } ORDER BY ASC( ?var1 ) LIMIT 5"}}
{"id": "test_10029", "question": "Cellular components of EGF like, fibronectin type III and laminin G domains protein domain", "sparql": "SELECT ?cellComponent WHERE { wd:Q335669 wdt:P681 ?cellComponent .}", "paraphrases": ["Where is the EGF like, fibronectin type III and laminin G domains protein domain located in the cell?", "List the cell components associated with the protein domain EGF like, fibronectin type III and laminin G domains."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q335669-FA5EE6B8-9359-4FAD-A7B2-DC068B3E1B0E> . }"}}
{"id": "test_10030", "question": "What are the English and French Wikipedia pages about the movie with IMDb ID tt1754000?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipedia_page WHERE {\n  ?movie wdt:P345 \"tt1754000\" .\n  ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang .\n  FILTER(?lang IN(\"en\" , \"fr\" , \"de\"))\n}", "paraphrases": ["Show me the Wikipedia articles in English, French, or German related to the film Rabies (2010).", "Which language versions of Wikipedia have an article about the movie identified by tt1754000?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1754000\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"fr\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10031", "question": "Does the German National Library ID 1121135277 exist in Wikidata?", "sparql": "ASK WHERE { ?item wdt:P227 \"1121135277\" . }", "paraphrases": ["Is there a Wikidata item for Herbert Hirschler with the GND ID 1121135277?", "Confirm if the person Herbert Hirschler is identified in Wikidata by the GND ID 1121135277."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"1121135277\". }"}}
{"id": "test_10032", "question": "People who died on January 26, 1770, and their year of death.", "sparql": "SELECT ?label (YEAR(?deathDate) AS ?year) WHERE { ?item wdt:P570 ?deathDate . FILTER ( YEAR(?deathDate) = 1770 && MONTH(?deathDate) = 1 && DAY(?deathDate) = 26 ) . ?item rdfs:label ?label . FILTER ( langMatches(lang(?label), \"en\") ) } LIMIT 100", "paraphrases": ["Who died on January 26, 1770, and in what year did they die?", "List the English names of people who died on January 26, 1770, along with the year of their death."], "info": {"raw_sparql": "SELECT ?var1Label ( YEAR ( ?var2 ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . FILTER ( ( ( YEAR ( ?var2 ) = \"1770\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( MONTH ( ?var2 ) = \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( DAY ( ?var2 ) = \"26\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_10033", "question": "People who died in 1770 and their year of death", "sparql": "SELECT ?personLabel (YEAR(?deathDate) AS ?yearOfDeath) WHERE { ?person wdt:P570 ?deathDate . FILTER(YEAR(?deathDate) = 1770) . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") } LIMIT 100", "paraphrases": ["Who were the people that died in the year 1770, and what year did they die?", "List the English names of individuals who died in 1770 along with the year of their death."], "info": {"raw_sparql": "SELECT ?var1Label ( YEAR ( ?var2 ) AS ?var3 ) ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P570> \"1770-01-26\"^^<http://www.w3.org/2001/XMLSchema#dateTime> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_10034", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0032851?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?wikipedia_page WHERE {\n  ?movie wdt:P345 \"tt0032851\" .\n  ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n}", "paraphrases": ["Show me the Wikipedia articles in English and German about the film Northwest Passage.", "Which language versions of the Wikipedia page exist for the movie identified by tt0032851?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0032851\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10035", "question": "Wikipedia page in English or German for the movie with IMDb ID tt0039958", "sparql": "SELECT ?item ?wikipediaPage WHERE { ?item wdt:P345 \"tt0039958\" . ?wikipediaPage schema:about ?item . { ?wikipediaPage schema:inLanguage \"en\" . } UNION { ?wikipediaPage schema:inLanguage \"de\" . } }", "paraphrases": ["What is the English or German Wikipedia page for the film with IMDb ID tt0039958?", "Show me the Wikipedia article in English or German about the movie identified by IMDb ID tt0039958."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0039958\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10036", "question": "English title and Wikipedia page for the movie with IMDb ID tt0325079", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie_label ?wikipedia_page ?imdb_id WHERE {\n  BIND(\"tt0325079\" AS ?imdb_id)\n  .\n  ?movie wdt:P345 ?imdb_id .\n  ?movie rdfs:label ?movie_label .\n  FILTER(LANG(?movie_label) = \"en\")\n  .\n  ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n  FILTER(STRSTARTS(STR(?wikipedia_page) , \"https://\"))\n}", "paraphrases": ["What is the English title of the movie with IMDb ID tt0325079, and which Wikipedia pages (in English or German) are about it?", "Show me the English title and the English or German Wikipedia links for the film identified by IMDb ID tt0325079."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0325079\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10037", "question": "Film with IMDb ID tt0026407 and its English or German Wikipedia page", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?wikipediaPage WHERE {\n  ?film wdt:P345 \"tt0026407\" .\n  ?wikipediaPage schema:about ?film .\n  {\n    ?wikipediaPage schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipediaPage schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["What is the English or German Wikipedia page for the film with IMDb ID tt0026407?", "Show me the English or German Wikipedia page for the movie identified by tt0026407 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0026407\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10038", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt0038968?", "sparql": "SELECT ?item ?wikipedia_page ?language WHERE { ?item wdt:P345 \"tt0038968\" . ?wikipedia_page schema:about ?item . FILTER(STRSTARTS(STR(?wikipedia_page), \"https://en.wikipedia.org/\") || STRSTARTS(STR(?wikipedia_page), \"https://de.wikipedia.org/\")) . BIND(IF(STRSTARTS(STR(?wikipedia_page), \"https://en.wikipedia.org/\"), \"en\", \"de\") AS ?language) }", "paraphrases": ["Which Wikipedia articles in English or German are about the film with IMDb identifier tt0038968?", "Show me the Wikipedia links in English or German for the movie Song of Arizona (IMDb: tt0038968)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0038968\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10039", "question": "What are the English and German Wikipedia pages for the film with IMDb ID tt0042447?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?wikipedia_page WHERE {\n  ?film wdt:P345 \"tt0042447\" .\n  ?wikipedia_page schema:about ?film .\n  ?wikipedia_page schema:inLanguage ?lang .\n  FILTER ( ?lang IN ( \"en\" , \"de\" ) )\n}", "paraphrases": ["Show me the Wikipedia articles in English and German about the movie Fancy Pants.", "Which language versions of Wikipedia have articles about the film identified by tt0042447?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0042447\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10040", "question": "What are the English and Chinese Wikipedia pages for the movie with IMDb ID tt1006908?", "sparql": "SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 \"tt1006908\" . ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang . VALUES ?lang { \"en\" \"zh\" } }", "paraphrases": ["Show me the Wikipedia articles in English and Chinese about the film \"Island Etude\".", "Which language versions of Wikipedia have articles about the movie identified by tt1006908?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1006908\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"zh\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10041", "question": "Image of Ernst Kaltenbrunner from SNAC ARK ID w6dj5dbd", "sparql": "SELECT ?image WHERE { ?entity wdt:P3430 \"w6dj5dbd\" . OPTIONAL { ?entity wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with the SNAC ARK ID w6dj5dbd?", "Show me the Wikimedia Commons image for the person with SNAC ARK ID w6dj5dbd."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6dj5dbd\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_10042", "question": "What is the Serbian Wikipedia page for the film with IMDb ID tt3232606?", "sparql": "SELECT ?item ?wikipedia_page WHERE { ?item wdt:P345 \"tt3232606\" . ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang IN (\"en\", \"de\", \"sr\")) }", "paraphrases": ["Wikipedia pages in English, German, or Serbian for the movie tt3232606", "Show me the Wikipedia articles about the film tt3232606 in English, German, or Serbian."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt3232606\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"sr\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10043", "question": "Find the Serbian, English, or German Wikipedia page title for the movie with IMDb ID tt0179772.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?wikipedia_title ?lang WHERE {\n  ?item wdt:P345 \"tt0179772\" .\n  ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang ; schema:name ?wikipedia_title .\n  FILTER(?lang IN(\"en\" , \"de\" , \"sr\"))\n}", "paraphrases": ["What is the title of the Wikipedia article about the film with IMDb ID tt0179772, in Serbian, German, or English?", "Please show me the Wikipedia page title and language for the movie \"tt0179772\" if it exists in Serbian, German, or English."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0179772\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"sr\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10044", "question": "Birth dates of Malaysian women athletes including badminton players, swimmers, and squash players.", "sparql": "SELECT ?person ?birthDate ?precision ?calendarModel ?personLabel WHERE {\n  VALUES ?person {\n    wd:Q26900156 wd:Q27037530 wd:Q27074530 wd:Q27074598 wd:Q27588647 wd:Q27588662 wd:Q27655836 wd:Q27673059 wd:Q27773817 wd:Q27787820 wd:Q27791883 wd:Q27922130 wd:Q27995589 wd:Q28059095 wd:Q28059236 wd:Q30958483 wd:Q34335529 wd:Q34518196 wd:Q35002395 wd:Q36390304 wd:Q37628360 wd:Q44519649 wd:Q47000716 wd:Q47012085 wd:Q47012409 wd:Q47078679 wd:Q49722659 wd:Q4768563 wd:Q5219327 wd:Q7421972 wd:Q17198027 wd:Q21528744 wd:Q22668575 wd:Q26945191 wd:Q26955603 wd:Q26955626 wd:Q26955632 wd:Q26956206 wd:Q26958512 wd:Q26958520 wd:Q26986916 wd:Q27043753 wd:Q27068218 wd:Q27068811 wd:Q27074384 wd:Q27243274 wd:Q27243275 wd:Q27243277 wd:Q27597437 wd:Q27672073 wd:Q27672075 wd:Q27672077 wd:Q27672078 wd:Q27672080 wd:Q27672083 wd:Q27672088 wd:Q27679639 wd:Q27679640 wd:Q27679643 wd:Q27763785 wd:Q27763794 wd:Q27780740 wd:Q27780741 wd:Q27780745 wd:Q27780747 wd:Q27780748 wd:Q27789665 wd:Q27789668 wd:Q27817683 wd:Q27824733 wd:Q27825090 wd:Q27914367 wd:Q27914456 wd:Q27914464 wd:Q47466227\n  }\n  ?person (p:P569/psv:P569) [\n    wikibase:timeValue ?birthDate ;\n    wikibase:timePrecision ?precision ;\n    wikibase:timeCalendarModel ?calendarModel\n  ] .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}", "paraphrases": ["What are the birth dates, precision levels (day/month/year), and calendar models for 67 Malaysian women listed on Wikidata, such as Lee Zhi Qing, Sylvia Tan, and Lynn Leong?", "Can you provide the full birth dates (with precision) for all Malaysian female athletes in this list, including badminton players, swimmers, and squash players?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q26900156> ) ( <http://www.wikidata.org/entity/Q27037530> ) ( <http://www.wikidata.org/entity/Q27074530> ) ( <http://www.wikidata.org/entity/Q27074598> ) ( <http://www.wikidata.org/entity/Q27588647> ) ( <http://www.wikidata.org/entity/Q27588662> ) ( <http://www.wikidata.org/entity/Q27655836> ) ( <http://www.wikidata.org/entity/Q27673059> ) ( <http://www.wikidata.org/entity/Q27773817> ) ( <http://www.wikidata.org/entity/Q27787820> ) ( <http://www.wikidata.org/entity/Q27791883> ) ( <http://www.wikidata.org/entity/Q27922130> ) ( <http://www.wikidata.org/entity/Q27995589> ) ( <http://www.wikidata.org/entity/Q28059095> ) ( <http://www.wikidata.org/entity/Q28059236> ) ( <http://www.wikidata.org/entity/Q30958483> ) ( <http://www.wikidata.org/entity/Q34335529> ) ( <http://www.wikidata.org/entity/Q34518196> ) ( <http://www.wikidata.org/entity/Q35002395> ) ( <http://www.wikidata.org/entity/Q36390304> ) ( <http://www.wikidata.org/entity/Q37628360> ) ( <http://www.wikidata.org/entity/Q44519649> ) ( <http://www.wikidata.org/entity/Q47000716> ) ( <http://www.wikidata.org/entity/Q47012085> ) ( <http://www.wikidata.org/entity/Q47012409> ) ( <http://www.wikidata.org/entity/Q47078679> ) ( <http://www.wikidata.org/entity/Q49722659> ) ( <http://www.wikidata.org/entity/Q4768563> ) ( <http://www.wikidata.org/entity/Q5219327> ) ( <http://www.wikidata.org/entity/Q7421972> ) ( <http://www.wikidata.org/entity/Q17198027> ) ( <http://www.wikidata.org/entity/Q21528744> ) ( <http://www.wikidata.org/entity/Q22668575> ) ( <http://www.wikidata.org/entity/Q26945191> ) ( <http://www.wikidata.org/entity/Q26955603> ) ( <http://www.wikidata.org/entity/Q26955626> ) ( <http://www.wikidata.org/entity/Q26955632> ) ( <http://www.wikidata.org/entity/Q26956206> ) ( <http://www.wikidata.org/entity/Q26958512> ) ( <http://www.wikidata.org/entity/Q26958520> ) ( <http://www.wikidata.org/entity/Q26986916> ) ( <http://www.wikidata.org/entity/Q27043753> ) ( <http://www.wikidata.org/entity/Q27068218> ) ( <http://www.wikidata.org/entity/Q27068811> ) ( <http://www.wikidata.org/entity/Q27074384> ) ( <http://www.wikidata.org/entity/Q27243274> ) ( <http://www.wikidata.org/entity/Q27243275> ) ( <http://www.wikidata.org/entity/Q27243277> ) ( <http://www.wikidata.org/entity/Q27597437> ) ( <http://www.wikidata.org/entity/Q27672073> ) ( <http://www.wikidata.org/entity/Q27672075> ) ( <http://www.wikidata.org/entity/Q27672077> ) ( <http://www.wikidata.org/entity/Q27672078> ) ( <http://www.wikidata.org/entity/Q27672080> ) ( <http://www.wikidata.org/entity/Q27672083> ) ( <http://www.wikidata.org/entity/Q27672088> ) ( <http://www.wikidata.org/entity/Q27679639> ) ( <http://www.wikidata.org/entity/Q27679640> ) ( <http://www.wikidata.org/entity/Q27679643> ) ( <http://www.wikidata.org/entity/Q27763785> ) ( <http://www.wikidata.org/entity/Q27763794> ) ( <http://www.wikidata.org/entity/Q27780740> ) ( <http://www.wikidata.org/entity/Q27780741> ) ( <http://www.wikidata.org/entity/Q27780745> ) ( <http://www.wikidata.org/entity/Q27780747> ) ( <http://www.wikidata.org/entity/Q27780748> ) ( <http://www.wikidata.org/entity/Q27789665> ) ( <http://www.wikidata.org/entity/Q27789668> ) ( <http://www.wikidata.org/entity/Q27817683> ) ( <http://www.wikidata.org/entity/Q27824733> ) ( <http://www.wikidata.org/entity/Q27825090> ) ( <http://www.wikidata.org/entity/Q27914367> ) ( <http://www.wikidata.org/entity/Q27914456> ) ( <http://www.wikidata.org/entity/Q27914464> ) ( <http://www.wikidata.org/entity/Q47466227> ) } ?var1 ( <http://www.wikidata.org/prop/P569> / <http://www.wikidata.org/prop/statement/value/P569> ) [ <http://wikiba.se/ontology#timeValue> ?var2 ; <http://wikiba.se/ontology#timePrecision> ?var3 ; <http://wikiba.se/ontology#timeCalendarModel> ?var4 ] . }"}}
{"id": "test_10045", "question": "What are some examples of wars or military conflicts listed in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?war WHERE {\n  ?war wdt:P31 ?class .\n  ?class wdt:P279 * wd:Q198 .\n}\nLIMIT 500", "paraphrases": ["Show me all events that are classified as a type of war, including its subclasses.", "List all known wars and military conflicts by finding their instances in the hierarchy under \"war\"."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var2 ( <http://www.wikidata.org/prop/direct/P279> | <http://www.wikidata.org/prop/direct/P131> )* <http://www.wikidata.org/entity/Q198> . } LIMIT 500"}}
{"id": "test_10046", "question": "What are the English and German Wikipedia pages about the movie with IMDb ID tt0133093?", "sparql": "SELECT ?item ?wikipedia_page WHERE { ?item wdt:P345 \"tt0133093\" . ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Show me the language-specific pages (in English or German) for the film identified by the IMDb code tt0133093.", "Find all pages in English or German that are about the movie \"The Matrix\" using its IMDb identifier."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0138816\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10047", "question": "List U.S. presidents with their term number, start date, image, and spouse's name.", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ?presidentLabel ?spouseLabel ?termNumber ?startDate ?presidentImage WHERE {\n  ?president p:P39 ?statement .\n  ?statement ps:P39 wd:Q11696 ; pq:P1545 ?termNumber ; pq:P580 ?startDate .\n  OPTIONAL {\n    ?president wdt:P26 ?spouse .\n    ?president wdt:P18 ?presidentImage .\n    ?spouse rdfs:label ?spouseLabel .\n    FILTER ( LANG( ?spouseLabel ) = \"en\" )\n  }\n  ?president rdfs:label ?presidentLabel .\n  FILTER ( LANG( ?presidentLabel ) = \"en\" )\n}\nORDER BY ?termNumber", "paraphrases": ["Who were the U.S. presidents, what number president were they, when did they start their term, what is their photo, and who was their spouse?", "Please provide a list of all U.S. presidents, including their term number, start date, official portrait, and their spouse\u2019s name, sorted by term order."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3 ?var4 ?var5Label ?var6 ?var7 WHERE { BIND ( <http://www.wikidata.org/entity/Q30> AS ?var8 ). ?var8 ( <http://www.wikidata.org/prop/P6> / <http://www.wikidata.org/prop/statement/P6> ) ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P26> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . ?var2 <http://www.wikidata.org/prop/direct/P18> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P1971> ?var5 . ?var1 <http://www.wikidata.org/prop/P39> ?var9 . ?var9 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q11696> . ?var9 <http://www.wikidata.org/prop/qualifier/P1545> ?var6 . ?var9 <http://www.wikidata.org/prop/qualifier/P580> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10048", "question": "Subclasses of architectural structure", "sparql": "SELECT ?label WHERE { ?subclass wdt:P279+ wd:Q811979 . ?subclass rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["What are some examples of architectural structures according to Wikidata?", "List all English-labeled subclasses of architectural structure."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> + <http://www.wikidata.org/entity/Q811979> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_10049", "question": "Items with Italian descriptions that are not disambiguation pages", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?item WHERE {\n  ?item schema:description ?desc .\n  FILTER(LANG(?desc) = \"it\")\n  .\n  FILTER(STRSTARTS(STR(?item) , \"http://www.wikidata.org/entity/Q\"))\n  .\n  FILTER(NOT EXISTS {\n    ?item wdt:P31 wd:Q4167410\n  })\n}\nLIMIT 20", "paraphrases": ["Which items in Wikidata have a description in Italian and are not disambiguation pages?", "List up to 20 non-disambiguation items that have an Italian-language description."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2Label WHERE { ?var1 <http://schema.org/description> \"string1\"@it . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167410> . } ) ) . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"it\" ) ) ) . } } LIMIT 20"}}
{"id": "test_10050", "question": "What items were created, published, discovered, or officially opened in March 1997?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nSELECT DISTINCT ?item WHERE {\n  ?item wdt:P571 | wdt:P575 | wdt:P577 | wdt:P1619 ?date .\n  FILTER(?date >= \"1997-03-01T00:00:00Z\" ^^ xsd:dateTime && ?date <= \"1997-03-31T23:59:59Z\" ^^ xsd:dateTime)\n}", "paraphrases": ["Which entities had their inception, publication, discovery, or official opening in March 1997?", "List all works, inventions, organizations, or events that were published, invented, founded, or officially opened during March 1997."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P571> | <http://www.wikidata.org/prop/direct/P575> | <http://www.wikidata.org/prop/direct/P577> | <http://www.wikidata.org/prop/direct/P1619> ) ?var2 . FILTER ( ( ( ?var2 >= \"1997-03-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1997-03-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_10051", "question": "Longest-serving female members of the UK Parliament by total years in office", "sparql": "SELECT ?mp ?mpLabel (SUM(?tenureInYears) AS ?totalServiceLength) WHERE { ?mp p:P39 ?statement . ?statement ps:P39/wdt:P279 wd:Q16707842 . ?mp wdt:P21 wd:Q6581072 . ?statement pq:P580 ?start . OPTIONAL { ?statement pq:P582 ?endRaw } BIND( COALESCE(?endRaw, NOW()) AS ?end ) BIND( YEAR(?end) - YEAR(?start) AS ?tenureInYears ) ?mp rdfs:label ?mpLabel . FILTER(LANG(?mpLabel) = \"en\") } GROUP BY ?mp ?mpLabel ORDER BY DESC(?totalServiceLength) LIMIT 10", "paraphrases": ["Who are the top 10 female MPs in the UK with the longest total service in Parliament?", "List the 10 female Members of Parliament in the United Kingdom who have served the most years in total, ordered by service length."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( MAX ( ?var2 ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/P39> ?var4 . ?var4 ( <http://www.wikidata.org/prop/statement/P39> / <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q16707842> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var5 . OPTIONAL { ?var4 <http://www.wikidata.org/prop/qualifier/P582> ?var6 . } OPTIONAL { BIND ( NOW ( ) AS ?var6 ). } BIND ( ( ?var6 - ?var5 ) AS ?var2 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var3 ) LIMIT 10"}}
{"id": "test_10052", "question": "What is the image associated with the SNAC ARK ID \"w6fr9kx0\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6fr9kx0\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Can you show me the Wikimedia Commons image of Arthur Chichester, 1st Baron Chichester?", "Show the image of the person identified by the SNAC ARK ID w6fr9kx0."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6fr9kx0\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_10053", "question": "What are the main topics of other scholarly articles about salicylic acid?", "sparql": "SELECT DISTINCT ?mainSubject WHERE { wd:Q46589914 wdt:P921 ?mainSubject . ?otherArticle wdt:P921 ?mainSubject . ?otherArticle wdt:P31 wd:Q13442814 . FILTER (?otherArticle != wd:Q46589914) }", "paraphrases": ["Which main subjects are shared by other scientific articles with the same topic as \"Possible involvement of hydrogen peroxide and salicylic acid in the legume-rhizobium symbiosis\"?", "Show me the main subjects of other research papers that discuss the same chemical compound as the article on hydrogen peroxide and salicylic acid in legume-rhizobium symbiosis."], "info": {"raw_sparql": "SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q46589914> <http://www.wikidata.org/prop/direct/P50> ?var2 . ?var3 <http://www.wikidata.org/prop/direct/P50> ?var2 . ?var3 <http://www.wikidata.org/prop/direct/P921> ?var1 . }"}}
{"id": "test_10054", "question": "Publications by the author of \"Identification of Shewanella baltica as the most important H2S-producing species during iced storage of Danish marine fish\", with publication years and title snippets.", "sparql": "SELECT ?year ?titleSnippet WHERE { wd:Q24538833 wdt:P50 ?author . ?publication wdt:P50 ?author ; wdt:P31 wd:Q13442814 ; wdt:P577 ?date . BIND(YEAR(?date) AS ?year) . ?publication rdfs:label ?title . FILTER(LANG(?title) = \"en\") . BIND(SUBSTR(?title, 1, 20) AS ?titleSnippet) } ORDER BY ?year", "paraphrases": ["What are the publication years and shortened titles of other scholarly articles written by the same author as the 2005 paper on Shewanella baltica?", "List all scholarly articles authored by Lone Gram, showing their publication year and the first 20 characters of their English titles."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label WHERE { { SELECT ?var1 ( SAMPLE ( ?var4 ) AS ?var2 ) ?var3Label WHERE { { SELECT( STR ( ?var5 ) AS ?var1 )( \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var4 )( \"_\" AS ?var3Label ) WHERE { BIND ( YEAR ( ?var6 ) AS ?var5 ). ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q577> . ?var7 <http://www.wikidata.org/prop/direct/P585> ?var6 . { SELECT( MIN ( ?var5 ) AS ?var8 )( MAX ( ?var5 ) AS ?var9 ) WHERE { BIND ( YEAR ( ?var10 ) AS ?var5 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q24538833> . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var10 . } } FILTER ( ( ( ?var5 >= ?var8 ) && ( ?var5 <= ?var9 ) ) ) . } } UNION { BIND ( SUBSTR ( ?var12Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"20\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q24538833> . ?var11 <http://www.wikidata.org/prop/direct/P1104> ?var4 . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var6 . ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12Label . FILTER ( ( ( LANG ( ?var12Label ) = \"en\" ) ) ) . } } GROUP BY ?var1 ?var11 ?var3Label ORDER BY ASC( ?var1 ) } }"}}
{"id": "test_10055", "question": "What are the translations of Robert Burns's poems?", "sparql": "SELECT ?poemTranslation ?poemTranslationLabel WHERE { ?poemTranslation wdt:P50 wd:Q81960 ; wdt:P31 wd:Q5185279 ; wdt:P629 ?originalPoem . ?poemTranslation rdfs:label ?poemTranslationLabel . } LIMIT 100", "paraphrases": ["Translations of poems by Robert Burns", "List all translated versions of Robert Burns's poems with their titles."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs,en\". } ?var1 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q81960> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3331189> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5185279> . } LIMIT 100"}}
{"id": "test_10056", "question": "Humans with the name starting with \"Dahan\"", "sparql": "SELECT DISTINCT ?human WHERE { ?human rdfs:label ?label . FILTER(STRSTARTS(?label, \"Dahan\")) . ?human wdt:P31 wd:Q5 . }", "paraphrases": ["Who are the humans whose names begin with \"Dahan\"?", "List all people named Dahan (or starting with Dahan) from Wikidata."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Dahan\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_10057", "question": "Which person has the VIAF ID 776468?", "sparql": "SELECT ?item ?label WHERE { ?item wdt:P214 \"776468\" . ?item rdfs:label ?label . FILTER(LANG(?label) = \"en\") }", "paraphrases": ["Who is the individual identified by the Virtual International Authority File number 776468?", "Please tell me the name of the person whose VIAF identifier is 776468."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"776468\". }"}}
{"id": "test_10058", "question": "What pairs of topics (other than Morogoro Region) commonly appear together in articles about Morogoro Region?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?topic1 ?topic1Label ?topic2 ?topic2Label WHERE {\n  ?item wdt:P921 wd:Q458388 .\n  ?item wdt:P921 ?topic1 , ?topic2 .\n  FILTER(?topic1 != wd:Q458388)\n  FILTER(?topic2 != wd:Q458388)\n  FILTER(?topic1 != ?topic2)\n  OPTIONAL {\n    ?topic1 rdfs:label ?topic1Label .\n    FILTER(LANG(?topic1Label) = \"en\")\n  }\n  OPTIONAL {\n    ?topic2 rdfs:label ?topic2Label .\n    FILTER(LANG(?topic2Label) = \"en\")\n  }\n}", "paraphrases": ["Which topics are mentioned alongside Morogoro Region in the same works, and how do they pair up?", "Show all combinations of main subjects from Wikipedia articles that have Morogoro Region as one of their topics, excluding Morogoro Region itself."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q458388> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P361> +) <http://www.wikidata.org/entity/Q458388> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P1269> +) <http://www.wikidata.org/entity/Q458388> . } ?var3 <http://www.wikidata.org/prop/direct/P921> ?var1 , ?var2 . FILTER ( ( ( <http://www.wikidata.org/entity/Q458388> != ?var1 ) && ( <http://www.wikidata.org/entity/Q458388> != ?var2 ) && ( ?var1 != ?var2 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } }"}}
{"id": "test_10059", "question": "What are the boiling points, melting points, densities, and atomic masses of chemical elements?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?elementLabel ?boilingPoint ?meltingPoint ?density ?atomicMass WHERE {\n  ?element wdt:P31 wd:Q11344 .\n  ?element wdt:P2102 ?boilingPoint .\n  ?element wdt:P2101 ?meltingPoint .\n  ?element wdt:P2054 ?density .\n  ?element wdt:P2067 ?atomicMass .\n  ?element rdfs:label ?elementLabel .\n  FILTER(LANG(?elementLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Show me the physical properties \u2014 boiling point, melting point, density, and atomic mass \u2014 for all chemical elements.", "List chemical elements along with their boiling point, melting point, density, and atomic mass in English."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11344> . ?var1 <http://www.wikidata.org/prop/direct/P2102> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P2101> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P11117> ?var8 . ?var1 <http://www.wikidata.org/prop/direct/P2054> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P2067> ?var6 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 100"}}
{"id": "test_10060", "question": "What are the heritage sites in India?", "sparql": "SELECT ?site ?siteLabel WHERE { ?site wdt:P17 wd:Q668 ; wdt:P1435 ?designation . ?site rdfs:label ?siteLabel . FILTER(LANG(?siteLabel) = \"en\") }", "paraphrases": ["Can you list the cultural and historical sites in India that have official heritage designations?", "Show me the English names of all protected heritage locations in India."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1435> <http://www.wikidata.org/entity/Q668> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_10061", "question": "Churches listed on the National Heritage List for England with their heritage numbers.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?building ?buildingLabel ?heritageNumber WHERE {\n  ?building wdt:P1216 ?heritageNumber .\n  ?building rdfs:label ?buildingLabel .\n  ?building wdt:P31 ?type .\n  FILTER(CONTAINS(STR(?buildingLabel) , \"church\"))\n  FILTER(LANG(?buildingLabel) = \"en\")\n  FILTER(?type IN(wd:Q41176 , wd:Q16970 , wd:Q134864))\n}", "paraphrases": ["What are the English-named churches in England that are on the National Heritage List, and what are their heritage numbers?", "Please list all churches in England that are on the National Heritage List, including their English names and their official heritage numbers."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1216> ?var4 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . } FILTER ( ( !( BOUND ( ?var5 ) ) ) ) . FILTER ( ( CONTAINS ( STR ( ?var1Label ) , \"church\" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . }"}}
{"id": "test_10062", "question": "Is the 1997 Cinderella TV movie a type of software?", "sparql": "ASK WHERE { wd:Q1092278 (wdt:P31/wdt:P279*) wd:Q7397 . }", "paraphrases": ["Is the 1997 television film Cinderella an instance of software or any of its subclasses?", "Confirm whether Cinderella (1997 TV film) belongs to the category of software or any of its broader categories."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q1092278> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_10063", "question": "Which Wikidata entities have Twitter handles nytimes, Wikimedia, davidrevoy, eveewing, or mySociety?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?twitterHandle WHERE {\n  ?item wdt:P2002 ?twitterHandle .\n  VALUES ?twitterHandle {\n    \"nytimes\" \"Wikimedia\" \"davidrevoy\" \"eveewing\" \"mySociety\"\n  }\n}\nORDER BY ?twitterHandle", "paraphrases": ["What are the Wikidata items associated with the Twitter usernames \"nytimes\", \"Wikimedia\", \"davidrevoy\", \"eveewing\", and \"mySociety\"?", "List all entities in Wikidata that are linked to the Twitter accounts nytimes, Wikimedia, davidrevoy, eveewing, or mySociety."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( \"moppematte\" ) ( \"string1\" ) ( \"SkrivaFel\" ) ( \"opassande\" ) ( \"AltShiftX\" ) ( \"string2\" ) ( \"WikiDigi\" ) ( \"string3\" ) ( \"wikidata\" ) ( \"MuleSoft\" ) ( \"Curiolog\" ) ( \"string4\" ) ( \"string5\" ) ( \"string6\" ) ( \"string7\" ) ( \"MuslimIQ\" ) ( \"nytimes\" ) ( \"string8\" ) ( \"string9\" ) ( \"davidrevoy\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) ( \"string13\" ) ( \"gblardone\" ) ( \"mrmedina\" ) ( \"string14\" ) ( \"string15\" ) ( \"eveewing\" ) ( \"string16\" ) ( \"string17\" ) ( \"string18\" ) ( \"string19\" ) ( \"JacRiding\" ) ( \"string20\" ) ( \"string21\" ) ( \"scoopit\" ) ( \"AlexHinojo\" ) ( \"Wikimedia\" ) ( \"string22\" ) ( \"ignasi\" ) ( \"string23\" ) ( \"g_fra\" ) ( \"string24\" ) ( \"toniher\" ) ( \"the_prbb\" ) ( \"string25\" ) ( \"SKS_finlit\" ) ( \"string26\" ) ( \"mySociety\" ) ( \"string27\" ) ( \"string28\" ) ( \"EvoMRI\" ) ( \"string29\" ) ( \"string30\" ) ( \"string31\" ) ( \"string32\" ) ( \"string33\" ) ( \"glamwiki\" ) ( \"string34\" ) ( \"string35\" ) ( \"string36\" ) ( \"string37\" ) ( \"Elitre\" ) ( \"Pyb75\" ) ( \"string38\" ) ( \"ess\" ) ( \"kinhult\" ) ( \"string39\" ) ( \"string40\" ) ( \"string41\" ) } } ORDER BY ASC( ?var3 )"}}
{"id": "test_10064", "question": "Is the Swiss painter Kurt Fahrner considered a type of software?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q22673696 wdt:P31 / wdt:P279 * wd:Q7397 .\n}", "paraphrases": ["Does Kurt Fahrner belong to any category that is a subclass of software?", "Is there any path from Kurt Fahrner\u2019s type through subclass relationships to software?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q22673696> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_10065", "question": "U.S. presidents since 1970 with at least one daughter, their spouses, images, number of children, and term order.", "sparql": "SELECT ?presidentLabel ?spouseLabel ?presidentImage ?spouseImage ?numberOfChildren ?seriesOrdinal ?startDate WHERE {\n  BIND(wd:Q30 AS ?usa) .\n  ?usa (p:P6/ps:P6) ?president .\n  \n  ?president wdt:P26 ?spouse .\n  ?president wdt:P18 ?presidentImage .\n  ?spouse wdt:P18 ?spouseImage .\n  ?president wdt:P1971 ?numberOfChildren .\n  \n  ?president p:P39 ?positionStatement .\n  ?positionStatement ps:P39 wd:Q11696 .\n  ?positionStatement pq:P1545 ?seriesOrdinal .\n  ?positionStatement pq:P580 ?startDate .\n  \n  ?president rdfs:label ?presidentLabel .\n  ?spouse rdfs:label ?spouseLabel .\n  \n  {\n    SELECT ?president (COUNT(DISTINCT ?child) AS ?daughterCount) WHERE {\n      ?president wdt:P40 ?child .\n      ?child wdt:P21 wd:Q6581072 .\n    } GROUP BY ?president\n  }\n  \n  FILTER(YEAR(?startDate) > 1970)\n  FILTER(?daughterCount > 0)\n  FILTER(LANG(?presidentLabel) = \"en\")\n  FILTER(LANG(?spouseLabel) = \"en\")\n}\nORDER BY ASC(?startDate)", "paraphrases": ["Which U.S. presidents since 1970 had at least one daughter, and who were their spouses? Include their official portraits, the number of children, and their presidential sequence number.", "Show me a list of U.S. presidents from 1970 onward who have at least one daughter, along with their spouse\u2019s name and image, their number of children, the series ordinal of their presidency, and when they took office."], "info": {"raw_sparql": "SELECT ?var1Label ?var2Label ?var3 ?var4 ?var5Label ?var6 ?var7 WHERE { BIND ( <http://www.wikidata.org/entity/Q30> AS ?var8 ). ?var8 ( <http://www.wikidata.org/prop/P6> / <http://www.wikidata.org/prop/statement/P6> ) ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P26> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . ?var2 <http://www.wikidata.org/prop/direct/P18> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P1971> ?var5 . ?var1 <http://www.wikidata.org/prop/P39> ?var9 . ?var9 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q11696> . ?var9 <http://www.wikidata.org/prop/qualifier/P1545> ?var6 . ?var9 <http://www.wikidata.org/prop/qualifier/P580> ?var7 . { SELECT ?var1 ( COUNT ( DISTINCT ?var10 ) AS ?var11 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P40> ?var10 . ?var10 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . } GROUP BY ?var1 } FILTER ( ( ( YEAR ( ?var7 ) > \"1970\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . FILTER ( ( ( ?var11 > \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var7 )"}}
{"id": "test_10066", "question": "What are all the superclass categories of activist group in Wikidata?", "sparql": "SELECT DISTINCT ?ancestor WHERE { wd:Q1887898 wdt:P279* ?ancestor . }", "paraphrases": ["What classes does an activist group belong to, including indirect parent classes?", "List all the broader categories that activist group is a subclass of, going up the hierarchy."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q1887898> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_10067", "question": "What properties are linked to Yannick Noah more than once in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ( COUNT( ?item ) AS ?count ) WHERE {\n  ?item ?property wd:Q221908 .\n}\nGROUP BY ?property\nHAVING ( ?count > 1 )\nORDER BY DESC ( ?count )", "paraphrases": ["Which properties connect other entities to Yannick Noah with a frequency higher than one, and how many times do they appear?", "List all properties that are used to link other items to Yannick Noah at least twice, sorted by how often they\u2019re used."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q12448317> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_10068", "question": "What are the places associated with John Dalgleish Donaldson (e.g., where he was born, educated, or employed), their coordinates, and corresponding images?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT DISTINCT ?image ?item ?itemLabel ?location ?propertyLabel WHERE {\n  wd:Q11106090 ?property ?item .\n  ?propertyItem wikibase:directClaim ?property .\n  ?propertyItem rdfs:label ?propertyLabel .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" ) {\n    ?item p:P159 / pq:P625 ?location .\n  } UNION {\n    ?item ( wdt:P276 ) * / wdt:P625 ?location .\n  }\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["Where are the institutions or locations linked to John Dalgleish Donaldson, such as his place of birth, universities he attended, or employers, and what are their geographic coordinates and images?", "Show me all locations connected to John Dalgleish Donaldson \u2014 including birthplace, education, and employment \u2014 along with their coordinates, labels, and any available images, with property types in English."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ( ?var4Label AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q11106090> ?var6 ?var2 . ?var2 (( <http://www.wikidata.org/prop/P159> / <http://www.wikidata.org/prop/qualifier/P625> )|( <http://www.wikidata.org/prop/direct/P276> */ <http://www.wikidata.org/prop/direct/P625> )) ?var3 . ?var7 <http://wikiba.se/ontology#directClaim> ?var6 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,nl,no,ru,sv,zh\". } ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . }"}}
{"id": "test_10069", "question": "Nationalmuseum Sweden IDs 3306, 5086, 6648, and 16045 \u2014 who are the corresponding people?", "sparql": "SELECT ?nsId ?item ?label WHERE { VALUES ?nsId { \"2935\" \"3306\" \"4295\" \"4858\" \"5086\" \"6648\" \"9032\" \"9355\" \"9428\" \"9690\" \"9733\" \"9773\" \"9856\" \"10584\" \"11012\" \"11017\" \"11283\" \"11394\" \"13329\" \"13332\" \"16045\" \"16441\" \"16570\" \"17312\" } ?item wdt:P2538 ?nsId . ?item rdfs:label ?label . FILTER(LANG(?label) = \"en\") } ORDER BY ASC(xsd:integer(?nsId))", "paraphrases": ["Which individuals are linked to the Nationalmuseum Sweden IDs 3306, 5086, 6648, and 16045, and what are their names in English?", "List the English names of people associated with the Nationalmuseum Sweden IDs 3306, 5086, 6648, and 16045, sorted by ID."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { VALUES ( ?var1 ) { ( \"2935\" ) ( \"3306\" ) ( \"4295\" ) ( \"4858\" ) ( \"5086\" ) ( \"6648\" ) ( \"9032\" ) ( \"9355\" ) ( \"9428\" ) ( \"9690\" ) ( \"9733\" ) ( \"9773\" ) ( \"9856\" ) ( \"10584\" ) ( \"11012\" ) ( \"11017\" ) ( \"11283\" ) ( \"11394\" ) ( \"13329\" ) ( \"13332\" ) ( \"16045\" ) ( \"16441\" ) ( \"16570\" ) ( \"17312\" ) } ?var2 <http://www.wikidata.org/prop/direct/P2538> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sv,en\". } } ORDER BY ASC( <http://www.w3.org/2001/XMLSchema#integer> ( ?var1 ) )"}}
{"id": "test_10070", "question": "What properties are used to link other items to C\u00e9dric Pioline more than once, and how many times are they used?", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q162487 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["Which properties connect other entities to the tennis player C\u00e9dric Pioline, listed by frequency in descending order?", "How many times are different properties used to reference C\u00e9dric Pioline in Wikidata, excluding those used only once?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q162487> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_10071", "question": "Is Copris harrisi a human or a subclass of human?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q14880645 wdt:P31 / wdt:P279 * wd:Q5 .\n}", "paraphrases": ["Does the species Copris harrisi belong to the taxonomic lineage that includes humans?", "Confirm whether Copris harrisi is classified as a human in the biological taxonomy."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q14880645> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_10072", "question": "Does Anna Azamar i Capdevila have the Twitter username \"annazamar\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?person wdt:P2002 \"annazamar\" .\n}", "paraphrases": ["Is there a Wikidata item for the person with the Twitter handle \"annazamar\"?", "Confirm if the Twitter username \"annazamar\" is linked to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> \"annazamar\". }"}}
{"id": "test_10073", "question": "Does Wikidata contain an entry for the Twitter username \"EspiGemma\"?", "sparql": "ASK WHERE { ?person wdt:P2002 \"EspiGemma\" }", "paraphrases": ["Is there a person in Wikidata with the Twitter handle \"EspiGemma\"?", "Check if \"EspiGemma\" is registered as a Twitter username in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> \"EspiGemma\". }"}}
{"id": "test_10074", "question": "What are the subclasses of the undergraduate profile classification in the Carnegie system?", "sparql": "SELECT ?class ?classLabel ?image WHERE { ?class wdt:P279 wd:Q23623059 . ?class skos:prefLabel ?classLabel . FILTER(LANG(?classLabel) = \"en\") OPTIONAL { ?class wdt:P18 ?image . } } LIMIT 100", "paraphrases": ["What are the English names of the subclasses of the Carnegie Classification's undergraduate profile classification?", "Can you list the English labels of all types of undergraduate institutions under the Carnegie Classification, and show if any have associated images?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q23623059> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_10075", "question": "Lighthouses in Canada with coordinates and images", "sparql": "SELECT DISTINCT ?lighthouse ?label ?coordinates ?image WHERE { ?lighthouse wdt:P31 wd:Q39715 ; wdt:P17 wd:Q16 . OPTIONAL { ?lighthouse wdt:P625 ?coordinates . } OPTIONAL { ?lighthouse wdt:P18 ?image . } ?lighthouse rdfs:label ?label . FILTER(LANG(?label) = \"en\") } ORDER BY ASC(?label)", "paraphrases": ["What are the English-named lighthouses in Canada, and where are they located and what do they look like?", "Show me a list of lighthouses in Canada, including their locations and photos, sorted alphabetically by name."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q39715> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q16> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_10076", "question": "Scholarly articles with DOI and URL, including their titles.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?title ?doi ?url WHERE {\n  ?article wdt:P31 wd:Q13442814 ; wdt:P356 ?doi ; wdt:P973 ?url ; wdt:P1476 ?title .\n  FILTER ( LANG( ?title ) = \"en\" )\n}\nLIMIT 10", "paraphrases": ["What are the titles, DOIs, and URLs of scholarly articles that are available online?", "List the titles, DOIs, and web URLs of peer-reviewed academic papers."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P973> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13442814> . ?var1 <http://www.wikidata.org/prop/direct/P356> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 10"}}
{"id": "test_10077", "question": "What type of event is the Art theft of Gotha?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?var2Label ?var2 WHERE {\n  wd:Q1328495 wdt:P31 ?var2 .\n  ?var2 rdfs:label ?var2Label .\n  FILTER(LANG(?var2Label) = \"en\")\n}\nLIMIT 100", "paraphrases": ["What category does the Art theft of Gotha belong to?", "Is the Art theft of Gotha a theft, a crime, or something else?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } <http://www.wikidata.org/entity/Q1328495> <http://www.wikidata.org/prop/direct/P279> ?var2 . } LIMIT 100"}}
{"id": "test_10078", "question": "Who are the people who have served as United States Secretary of State?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?person ?party WHERE {\n  ?person wdt:P31 wd:Q5 ; wdt:P39 wd:Q14213 .\n  OPTIONAL {\n    ?person wdt:P102 ?party .\n  }\n}", "paraphrases": ["Which U.S. Secretaries of State were members of a political party, and which parties were they affiliated with?", "List all individuals who have held the office of Secretary of State in the United States, along with their political party affiliations if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/P39> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q14213> . FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q14213> ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P39> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/102> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10079", "question": "Image of David Schafer with SNAC ARK ID w66474bv", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w66474bv\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What image is associated with David Schafer in Wikidata?", "Show me the Wikimedia Commons image linked to the SNAC ARK ID w66474bv."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w66474bv\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_10080", "question": "What image is associated with the SNAC ARK ID \"w6b00fh1\"?", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6b00fh1\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["Can you show me the Wikimedia Commons image linked to Robert Fulghum\u2019s SNAC ARK ID?", "Show the picture linked to the Social Networks and Archival Context identifier w6b00fh1."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6b00fh1\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_10081", "question": "Image of Mira Schor with SNAC ARK ID w6dr34qb", "sparql": "SELECT ?image WHERE { ?entity wdt:P3430 \"w6dr34qb\" . OPTIONAL { ?entity wdt:P18 ?image . } }", "paraphrases": ["What is the Wikimedia Commons image associated with the SNAC ARK ID w6dr34qb?", "Please provide the image of the person whose SNAC ARK ID is w6dr34qb."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6dr34qb\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_10082", "question": "What are the country, administrative region, and continent of the New Curzon Cinema in Harringay?", "sparql": "SELECT DISTINCT ?location ?locationLabel WHERE { { wd:Q32436710 (wdt:P131 | wdt:P17) ?location . } UNION { wd:Q32436710 wdt:P17 ?country . ?country wdt:P30 ?location . } ?location rdfs:label ?locationLabel . FILTER(LANG(?locationLabel) = \"en\") }", "paraphrases": ["In which country, administrative area, and continent is the New Curzon Cinema located?", "List all geographic locations associated with the New Curzon Cinema, including its country and continent."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q32436710> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_10083", "question": "Authors with no specified gender whose works are most frequently cited in scholarly publications.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?author ?authorLabel ( COUNT( ?citedWork ) AS ?citationCount ) WHERE {\n  ?citedWork wdt:P50 ?author .\n  ?author wdt:P31 wd:Q5 . MINUS {\n    ?author wdt:P21 []\n  }\n  ?otherWork wdt:P2860 ?citedWork .\n  ?author rdfs:label ?authorLabel .\n  FILTER ( LANG( ?authorLabel ) = \"en\" )\n}\nGROUP BY ?author ?authorLabel\nORDER BY DESC ( ?citationCount ) ?authorLabel", "paraphrases": ["Who are the most cited human authors in Wikidata who have not specified their gender?", "List the top human authors by citation count, excluding those with a known gender."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P2860> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P50> ?var1 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var5 . } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1Label ?var1 ORDER BY DESC( ?var1Label )"}}
{"id": "test_10084", "question": "Is Claudia Bures a human or a subclass of human?", "sparql": "ASK WHERE { wd:Q50827418 (wdt:P31 / wdt:P279*) wd:Q5 . }", "paraphrases": ["Does Claudia Bures belong to the class of humans or any of its subclasses?", "Confirm that Claudia Bures is classified as a human or a type derived from human."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q50827418> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_10085", "question": "Former settlements with English, French, and Arabic labels", "sparql": "SELECT ?settlement ?englishLabel ?frenchLabel ?arabicLabel WHERE { ?settlement wdt:P31 wd:Q22674925 . OPTIONAL { ?settlement rdfs:label ?englishLabel . FILTER (LANG(?englishLabel) = \"en\") } OPTIONAL { ?settlement rdfs:label ?frenchLabel . FILTER (LANG(?frenchLabel) = \"fr\") } OPTIONAL { ?settlement rdfs:label ?arabicLabel . FILTER (LANG(?arabicLabel) = \"ar\") } } ORDER BY ASC(?settlement)", "paraphrases": ["What are the former settlements and their names in English, French, and Arabic?", "List all former settlements along with their labels in English, French, and Arabic, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q22674925> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = \"fr\" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"ar\" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . } } ORDER BY ASC( ?var1 )"}}
{"id": "test_10086", "question": "Languages and their ISO 639-3 codes", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?language ?iso639_3 WHERE {\n  ?language wdt:P31 wd:Q34770 .\n  OPTIONAL {\n    ?language wdt:P220 ?iso639_3 .\n  }\n}", "paraphrases": ["What are the languages and their corresponding ISO 639-3 codes?", "List all languages along with their ISO 639-3 codes, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 ?var2 <http://www.wikidata.org/prop/direct/Q6256> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P220> ?var3 . } }"}}
{"id": "test_10087", "question": "What works titled \"The Lord of the Rings\" are based on the novel \"The Lord of the Rings\"?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?work ?workLabel ?basedOn ?basedOnLabel WHERE {\n  ?work wdt:P1476 \"The Lord of the Rings\" @en .\n  ?work wdt:P144 ?basedOn .\n  ?work rdfs:label ?workLabel .\n  ?basedOn rdfs:label ?basedOnLabel .\n  FILTER ( LANG( ?workLabel ) = \"en\" ) .\n  FILTER ( LANG( ?basedOnLabel ) = \"en\" ) .\n}", "paraphrases": ["Films and animated movies with title \"The Lord of the Rings\" and their source material.", "Show me the works named \"The Lord of the Rings\" and the literary work they are adapted from."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1476> \"string1\"@en . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P144> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10088", "question": "Does the GND ID 1099737869 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P227 \"1099737869\" .\n}", "paraphrases": ["Is there a Wikidata item associated with the German National Library ID 1099737869?", "Check if the GND identifier 1099737869 is registered in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"1099737869\". }"}}
{"id": "test_10089", "question": "Is there a Wikidata item with GND ID 143431633?", "sparql": "ASK WHERE { ?item wdt:P227 \"143431633\" . }", "paraphrases": ["Does the person with GND ID 143431633 have a Wikidata entry?", "Can you confirm that Maria Wersig is represented in Wikidata using the GND identifier 143431633?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"143431633\". }"}}
{"id": "test_10090", "question": "What are the Formula One race circuits and their geographic coordinates?", "sparql": "SELECT ?race ?raceLabel ?circuit ?circuitLabel ?coord WHERE { ?race wdt:P31 wd:Q11924610 . ?race wdt:P276 ?circuit . ?circuit wdt:P31/wdt:P279* wd:Q2338524 . ?circuit wdt:P625 ?coord . } LIMIT 10", "paraphrases": ["Show me the locations of all Formula One Grand Prix circuits.", "Which tracks host Formula One races, and where are they located?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q2705092> . ?var1 <http://www.wikidata.org/prop/direct/P625> [] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs,en\". } }"}}
{"id": "test_10091", "question": "Tennis tournaments with geographic coordinates", "sparql": "SELECT ?tournament ?tournamentLabel WHERE { ?tournament wdt:P279 wd:Q13219666 . ?tournament wdt:P625 [] . ?tournament rdfs:label ?tournamentLabel . FILTER(LANG(?tournamentLabel) = \"en\") }", "paraphrases": ["Which tennis tournaments have known geographic locations?", "List the names of all tennis tournaments that are held at specific locations around the world."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q13219666> . ?var1 <http://www.wikidata.org/prop/direct/P625> [] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"cs,en\". } }"}}
{"id": "test_10092", "question": "What books (not periodicals) have a National Library of Spain ID starting with \"Mima\"?", "sparql": "SELECT DISTINCT ?item WHERE { ?item wdt:P950 ?bneId . FILTER (SUBSTR(?bneId, 1, 4) = \"Mima\") . MINUS { ?item (wdt:P31/wdt:P279*) wd:Q1002697 . } } LIMIT 10", "paraphrases": ["List non-periodical publications in Spain that are identified in the National Library of Spain with IDs beginning with \"Mima\".", "Show me works in Wikidata with BNE IDs like \"MimaXXXXX\" that are not journals or magazines."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P950> ?var2 . FILTER ( ( ( SUBSTR ( ?var2 ,\"0\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) = \"Mima\" ) ) ) . MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1002697> . } } LIMIT 10"}}
{"id": "test_10093", "question": "What are the English, German, and French Wikipedia pages for the movie with IMDb ID tt0077288?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?wikipediaPage WHERE {\n  ?movie wdt:P345 \"tt0077288\" .\n  ?wikipediaPage schema:about ?movie .\n  VALUES ?lang {\n    \"en\" \"de\" \"fr\"\n  }\n  ?wikipediaPage schema:inLanguage ?lang .\n}", "paraphrases": ["Show me the Wikipedia links in English, German, and French for the film 'La Cage aux Folles'.", "Which language versions of Wikipedia have articles about the movie identified by tt0077288?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0077288\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"fr\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10094", "question": "Scientists from France, Germany, or the UK born after 1799 and died before 2018, with their gender and lifespan.", "sparql": "SELECT ?person ?personLabel ?genderLabel ?countryLabel ?birthDate ?deathDate ?birthYear ?deathYear ?lifespan ?occupationLabel WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P106/wdt:P279* ?occupation . FILTER(?occupation = wd:Q901) . ?person wdt:P27 ?country . FILTER(?country IN (wd:Q142, wd:Q145, wd:Q183)) . ?person wdt:P569 ?birthDate . FILTER(YEAR(?birthDate) > 1799) . ?person wdt:P570 ?deathDate . FILTER(YEAR(?deathDate) < 2018) . ?person wdt:P21 ?gender . FILTER(?gender IN (wd:Q6581097, wd:Q6581072)) . BIND(YEAR(?birthDate) AS ?birthYear) . BIND(YEAR(?deathDate) AS ?deathYear) . BIND(?deathYear - ?birthYear AS ?lifespan) . ?person rdfs:label ?personLabel . ?gender rdfs:label ?genderLabel . ?country rdfs:label ?countryLabel . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?personLabel) = \"en\") . FILTER(LANG(?genderLabel) = \"en\") . FILTER(LANG(?countryLabel) = \"en\") . FILTER(LANG(?occupationLabel) = \"en\") }", "paraphrases": ["Who were male or female scientists from France, Germany, or the United Kingdom who were born after 1799 and died before 2018, and how long did they live?", "List all scientists (and their gender, country, birth/death years, and lifespan) from France, Germany, or the UK who were born after 1799 and died before 2018."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11Label WHERE { BIND ( ( ( ?var5 - ?var4 ) /\"365.25\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) AS ?var8 ). BIND ( YEAR ( ?var4 ) AS ?var6 ). BIND ( YEAR ( ?var5 ) AS ?var7 ). BIND ( CONCAT ( STR ( ?var6 ) , \"string1\" ) AS ?var12 ). BIND ( ( ( <http://www.w3.org/2001/XMLSchema#dateTime> ( ?var4 ) - <http://www.w3.org/2001/XMLSchema#dateTime> ( ?var12 ) ) +\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var9 ). BIND ( CONCAT ( STR ( ?var7 ) , \"string1\" ) AS ?var13 ). BIND ( ( ( <http://www.w3.org/2001/XMLSchema#dateTime> ( ?var5 ) - <http://www.w3.org/2001/XMLSchema#dateTime> ( ?var13 ) ) +\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var10 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) ?var11 . FILTER ( ( ( ?var11 = <http://www.wikidata.org/entity/Q901> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P27> ?var3 . FILTER ( ( ( ?var3 = <http://www.wikidata.org/entity/Q145> ) || ( ?var3 = <http://www.wikidata.org/entity/Q142> ) || ( ?var3 = <http://www.wikidata.org/entity/Q183> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . FILTER ( ( ( YEAR ( ?var4 ) > \"1799\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var5 . FILTER ( ( ( YEAR ( ?var5 ) < \"2018\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . FILTER ( ( ( ?var2 = <http://www.wikidata.org/entity/Q6581097> ) || ( ?var2 = <http://www.wikidata.org/entity/Q6581072> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_10095", "question": "Is Apache Jena a type of human or a subclass of human?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nASK WHERE {\n  wd:Q1686799 wdt:P31 / wdt:P279 * wd:Q5\n}", "paraphrases": ["Does Apache Jena belong to any class that is a subclass of human?", "Confirm whether Apache Jena is classified as a human or any biological category descending from human."], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q1686799> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_10096", "question": "Image of Joseph Alston with SNAC ARK ID w6wh3mvv", "sparql": "SELECT ?image WHERE { ?item wdt:P3430 \"w6wh3mvv\" . OPTIONAL { ?item wdt:P18 ?image . } }", "paraphrases": ["What is the image associated with Joseph Alston in the SNAC database?", "Show me the Wikimedia Commons image of Joseph Alston, identified by SNAC ARK ID w6wh3mvv."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6wh3mvv\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_10097", "question": "What is the German or English Wikipedia page for the movie with IMDb ID tt2647126?", "sparql": "SELECT ?movie ?wikipediaPage WHERE { ?movie wdt:P345 \"tt2647126\" . ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Which Wikipedia articles in English or German are about the movie identified by the IMDb ID tt2647126?", "Show me the English or German Wikipedia links for the movie that has the IMDb identifier tt2647126."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt2647126\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10098", "question": "What is the English or German Wikipedia page for the film with IMDb ID tt0360556?", "sparql": "SELECT ?item ?wikipediaPage WHERE { ?item wdt:P345 \"tt0360556\" . ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = \"en\" || ?lang = \"de\") }", "paraphrases": ["Which Wikipedia pages in English or German are about the movie with IMDb identifier tt0360556?", "Please find the Wikipedia articles in English or German that are linked to the film with IMDb ID tt0360556."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0360556\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10099", "question": "What is the country of citizenship of Noam Chomsky, who is a linguist?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?citizenshipLabel ?citizenship WHERE {\n  wd:Q9049 wdt:P106 wd:Q14467526 .\n  wd:Q9049 wdt:P27 ?citizenship .\n  ?citizenship rdfs:label ?citizenshipLabel .\n  FILTER ( LANG( ?citizenshipLabel ) = \"en\" )\n}", "paraphrases": ["Noam Chomsky linguist country of citizenship", "Tell me the country where linguist Noam Chomsky is a citizen."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { <http://www.wikidata.org/entity/Q9049> ?var3 <http://www.wikidata.org/entity/Q14467526> . ?var2 <http://wikiba.se/ontology#statementProperty> <http://www.wikidata.org/entity/P27> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10100", "question": "Who have been the coaches of the Argentina men's national football team, and when did their tenures end?", "sparql": "SELECT ?coach ?coachLabel ?endTime WHERE { ?coach p:P6087 ?statement . ?statement ps:P6087 wd:Q79800 . OPTIONAL { ?statement pq:P582 ?endTime . } ?coach rdfs:label ?coachLabel . FILTER(LANG(?coachLabel) = \"en\") } LIMIT 100", "paraphrases": ["List the head coaches of Argentina\u2019s national soccer team along with the end dates of their terms.", "Which individuals have coached the Argentina national football team, and during what period did their coaching roles conclude?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q79800> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P582> ?var2 . } } LIMIT 100"}}
{"id": "test_10101", "question": "What is the German label for the superclass of \"conductor\"?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX s: <http://www.wikidata.org/entity/statement/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT ?superclassLabel WHERE {\n  s:q158852-CEB02F32-587D-45ED-AB1B-C8B9520DB479 ps:P279 ?superclass .\n  ?superclass rdfs:label ?superclassLabel .\n  FILTER(LANG(?superclassLabel) = \"de\")\n}", "paraphrases": ["In German, what category does a conductor belong to?", "Show the German term for the class that includes conductors."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { <http://www.wikidata.org/entity/statement/q158852-CEB02F32-587D-45ED-AB1B-C8B9520DB479> <http://www.wikidata.org/prop/statement/P279> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var2 ) = \"de\" ) ) ) . }"}}
{"id": "test_10102", "question": "Humans who work as pornographic actors", "sparql": "SELECT DISTINCT ?person WHERE { ?person wdt:P106 wd:Q488111 . ?person wdt:P31 wd:Q5 . }", "paraphrases": ["Who are the humans that have the occupation of pornographic actor?", "List all people whose occupation is pornographic actor."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P641> <http://www.wikidata.org/entity/Q291> . ?var1 ?var3 <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_10103", "question": "Tourist attractions in Spain", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P17 wd:Q29 . ?item wdt:P31 wd:Q570116 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = 'en') } LIMIT 10", "paraphrases": ["What are some tourist attractions located in Spain?", "List the English names of tourist attractions in Spain."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en\". } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q29> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . } ?var1 <http://www.wikidata.org/prop/direct/P360> <http://www.wikidata.org/entity/Q960648> . }"}}
{"id": "test_10104", "question": "Who are the people with the surname Berthon?", "sparql": "SELECT DISTINCT ?person WHERE { ?person wdt:P31 wd:Q5 ; wdt:P734 wd:Q56648651 . }", "paraphrases": ["Which humans have the family name Berthon?", "List all individuals whose last name is Berthon."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"berthon\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_10105", "question": "Who is a person named \"Vivien\" in French?", "sparql": "SELECT DISTINCT ?person WHERE { ?person rdfs:label \"Vivien\" @fr . ?person wdt:P31 wd:Q5 . }", "paraphrases": ["What human has the French label \"Vivien\"?", "Can you find the French-named human called Vivien?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"vivien\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_10106", "question": "Top athletes in 2017 Asian Athletics Championships by number of disciplines competed in, with gender", "sparql": "SELECT ?athlete ?athleteLabel ?genderLabel (COUNT(?discipline) AS ?disciplineCount)\nWHERE {\n  ?athlete wdt:P1344 wd:Q25385495 .\n  \n  OPTIONAL { ?athlete wdt:P21 ?gender . }\n  OPTIONAL { ?athlete wdt:P2416 ?discipline . }\n  \n  # Get labels in English\n  ?athlete rdfs:label ?athleteLabel .\n  FILTER(LANG(?athleteLabel) = \"en\")\n  \n  OPTIONAL {\n    ?gender rdfs:label ?genderLabel .\n    FILTER(LANG(?genderLabel) = \"en\")\n  }\n}\nGROUP BY ?athlete ?athleteLabel ?genderLabel\nORDER BY DESC(?disciplineCount)\nLIMIT 20", "paraphrases": ["Which athletes participated in the 2017 Asian Athletics Championships, and how many disciplines did each compete in, sorted by most disciplines first?", "Show me the list of participants from the 2017 Asian Athletics Championships, including their gender and the count of sports disciplines they competed in, ordered by the highest number of disciplines."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( COUNT ( DISTINCT ?var3 ) AS ?var4 ) ?var1Label ?var5Label ?var6Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1344> <http://www.wikidata.org/entity/Q25385495> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2416> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,or\". } BIND ( <http://www.w3.org/2001/XMLSchema#integer> ( STRAFTER ( STR ( ?var1 ) , \"Q\" ) ) AS ?var7 ). ?var1 <http://wikiba.se/ontology#statements> ?var2 . } GROUP BY ?var1 ?var2 ?var1Label ?var5Label ?var6Label ORDER BY DESC( ?var2 )"}}
{"id": "test_10107", "question": "Does the concept of child welfare have the GND ID 4030653-7?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P227 \"4030653-7\" .\n}", "paraphrases": ["Is there a Wikidata item with the German National Library ID \"4030653-7\"?", "Confirm whether the GND ID \"4030653-7\" is assigned to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"4030653-7\". }"}}
{"id": "test_10108", "question": "Subclasses of occurrence with English labels, sorted alphabetically", "sparql": "SELECT ?subclass ?label WHERE { ?subclass wdt:P279* wd:Q1190554 . OPTIONAL { ?subclass rdfs:label ?label . FILTER (LANG(?label) = \"en\") } } ORDER BY ASC(?label)", "paraphrases": ["What are the English names of all events and incidents (and their subtypes) in Wikidata?", "List all subclasses of occurrence that have an English label, ordered by the label."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q1190554> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } } ORDER BY ASC( ?var2 )"}}
{"id": "test_10109", "question": "What are the main themes of the film with IMDb ID tt0133093?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?mainSubject WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P345 \"tt0133093\" .\n  OPTIONAL {\n    ?film wdt:P921 ?mainSubject .\n  }\n}\nLIMIT 10", "paraphrases": ["Which topics does the movie The Matrix (IMDb: tt0133093) primarily deal with?", "Show me the main subjects or themes associated with the film The Matrix identified by its IMDb ID tt0133093."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0133093\". OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P921> ?var2 . } } LIMIT 10"}}
{"id": "test_10110", "question": "List all academic works by Charlotte Elizabeth Louise Evans, including their publication dates, journals, types (e.g., article or meta-analysis), number of pages, and co-authors, sorted from newest to oldest.", "sparql": "SELECT \n  (MIN(?pubDate) AS ?earliestPublicationDate)\n  ?work\n  ?workLabel\n  (GROUP_CONCAT(DISTINCT ?typeLabel; SEPARATOR=\", \") AS ?workTypes)\n  (SAMPLE(?pages) AS ?sampledPages)\n  ?venue\n  ?venueLabel\n  (GROUP_CONCAT(DISTINCT ?coAuthorLabel; SEPARATOR=\", \") AS ?coAuthors)\nWHERE {\n  ?work wdt:P50 wd:Q43093312 .\n\n  OPTIONAL { ?work wdt:P577 ?pubDateRaw . BIND(xsd:date(?pubDateRaw) AS ?pubDate) }\n\n  OPTIONAL {\n    ?work wdt:P31 ?type .\n    ?type rdfs:label ?typeLabel .\n    FILTER(LANG(?typeLabel) = \"en\")\n  }\n\n  OPTIONAL { ?work wdt:P1104 ?pages }\n\n  OPTIONAL {\n    ?work wdt:P1433 ?venue .\n    ?venue rdfs:label ?venueLabel .\n    FILTER(LANG(?venueLabel) = \"en\")\n  }\n\n  ?work rdfs:label ?workLabel .\n  FILTER(LANG(?workLabel) = \"en\")\n\n  OPTIONAL {\n    ?work wdt:P50 ?coAuthor .\n    ?coAuthor rdfs:label ?coAuthorLabel .\n    FILTER(LANG(?coAuthorLabel) = \"en\")\n    FILTER(?coAuthor != wd:Q43093312)\n  }\n}\nGROUP BY ?work ?workLabel ?venue ?venueLabel\nORDER BY DESC(?earliestPublicationDate)", "paraphrases": ["What are the publications authored by Charlotte Elizabeth Louise Evans, and who are her co-authors, along with the journals they were published in, their publication types, and earliest publication dates?", "Please provide a comprehensive list of all works by Charlotte Elizabeth Louise Evans, showing their publication venues, types, co-authors, and publication dates, ordered with the most recent first."], "info": {"raw_sparql": "SELECT( MIN ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ( GROUP_CONCAT ( DISTINCT ?var4Label ; SEPARATOR = \", \" ) AS ?var5 )( SAMPLE ( ?var6 ) AS ?var7 ) ?var8 ?var8Label ( GROUP_CONCAT ( DISTINCT ?var9Label ; SEPARATOR = \", \" ) AS ?var10 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q43093312> . ?var3 <http://www.wikidata.org/prop/direct/P50> ?var11 . OPTIONAL { ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12 . FILTER ( ( ( LANG ( ?var12 ) = \"en\" ) ) ) . } BIND ( COALESCE ( ?var12 , SUBSTR ( STR ( ?var11 ) ,\"32\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var9Label ). OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . } OPTIONAL { BIND ( <http://www.w3.org/2001/XMLSchema#date> ( ?var13 ) AS ?var1 ). ?var3 <http://www.wikidata.org/prop/direct/P577> ?var13 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1104> ?var6 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,da,de,es,fr,jp,no,ru,sv,zh\". } } GROUP BY ?var3 ?var3Label ?var8 ?var8Label ORDER BY DESC( ?var2 )"}}
{"id": "test_10111", "question": "Who are the humans with \"Boltz\" in their name?", "sparql": "SELECT DISTINCT ?entity ?label WHERE { ?entity rdfs:label ?label . FILTER(CONTAINS(LCASE(?label), \"boltz\")) . ?entity wdt:P31 wd:Q5 . }", "paraphrases": ["List all people whose name includes \"Boltz\".", "Find individuals who are humans and have \"Boltz\" as part of their label."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"boltz\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_10112", "question": "Image of John Lansing Jr. with SNAC ARK ID w60005g5", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w60005g5\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w60005g5?", "Show me the Wikimedia Commons image for the person whose SNAC ARK ID is w60005g5."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w60005g5\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_10113", "question": "What Wikipedia and Wikiquote pages exist in English, German, and Indonesian for the film with IMDb ID tt0307920?", "sparql": "SELECT ?item ?page ?imdbId WHERE { ?item wdt:P345 ?imdbId . ?page schema:about ?item . VALUES ?lang { \"en\" \"de\" \"id\" } ?page schema:inLanguage ?lang . FILTER(?imdbId = \"tt0307920\")}", "paraphrases": ["Show me the language-specific pages about the movie \"Ada Apa dengan Cinta?\" on Wikipedia and Wikiquote in English, German, and Indonesian languages.", "I'm looking for the Wikipedia and Wikiquote articles about the film with IMDb identifier tt0307920, specifically in English, German, and Indonesian languages."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0307920\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"id\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10114", "question": "List of publishers in Wikidata with English labels", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?publisher ?publisherLabel WHERE {\n  ?publisher wdt:P31 wd:Q2085381 .\n  ?publisher rdfs:label ?publisherLabel .\n  FILTER ( LANG( ?publisherLabel ) = \"en\" )\n}", "paraphrases": ["What are the publishers in Wikidata that have English labels?", "Show me the names of all entities classified as publishers in Wikidata, using their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2085381> . }"}}
{"id": "test_10115", "question": "Who are the children of Gaia, the Greek goddess of the Earth?", "sparql": "SELECT ?child WHERE { wd:Q93172 wdt:P40 ?child . }", "paraphrases": ["Which mythological figures are considered offspring of Mother Earth in Greek mythology?", "List the children of the Earth deity Gaia from Greek mythology."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P22> <http://www.wikidata.org/entity/Q2> . }"}}
{"id": "test_10116", "question": "Books with their titles, authors, publishers, countries of origin, and publication dates.", "sparql": "SELECT ?book ?title ?subtitle ?authorLabel ?publisherLabel ?countryLabel ?publicationDate ?placeLabel ?seriesLabel ?illustratorLabel ?printedByLabel ?editionLabel ?thickness WHERE { ?book wdt:P31 wd:Q571 . OPTIONAL { ?book wdt:P1476 ?title . } OPTIONAL { ?book wdt:P1680 ?subtitle . } OPTIONAL { ?book wdt:P50 ?author . ?author rdfs:label ?authorLabel . FILTER(LANG(?authorLabel) = \"en\") } OPTIONAL { ?book wdt:P123 ?publisher . ?publisher rdfs:label ?publisherLabel . FILTER(LANG(?publisherLabel) = \"en\") } OPTIONAL { ?book wdt:P495 ?country . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") } OPTIONAL { ?book wdt:P577 ?publicationDate . } OPTIONAL { ?book wdt:P291 ?place . ?place rdfs:label ?placeLabel . FILTER(LANG(?placeLabel) = \"en\") } OPTIONAL { ?book wdt:P179 ?series . ?series rdfs:label ?seriesLabel . FILTER(LANG(?seriesLabel) = \"en\") } OPTIONAL { ?book wdt:P110 ?illustrator . ?illustrator rdfs:label ?illustratorLabel . FILTER(LANG(?illustratorLabel) = \"en\") } OPTIONAL { ?book wdt:P872 ?printedBy . ?printedBy rdfs:label ?printedByLabel . FILTER(LANG(?printedByLabel) = \"en\") } OPTIONAL { ?book wdt:P747 ?edition . ?edition rdfs:label ?editionLabel . FILTER(LANG(?editionLabel) = \"en\") } OPTIONAL { ?book wdt:P2610 ?thickness . }} LIMIT 100", "paraphrases": ["What are the titles, authors, publishers, and publication details of books in Wikidata?", "Show me a list of books including their titles, subtitles, authors, publishers, countries of origin, places of publication, series they belong to, illustrators, printers, editions, and thicknesses, with English labels where available."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label ?var5 ?var5Label ?var6 ?var6Label ?var7 ?var7Label ?var8 ?var9 ?var10 ?var11 ?var11Label ?var12 ?var12Label ?var13 ?var13Label ?var14 ?var14Label ?var15 ?var16 ?var16Label ?var17 ?var17Label ?var18 ?var18Label ?var19 ?var20 ?var20Label ?var21 ?var22 ?var22Label ?var23 ?var23Label ?var24 ?var24Label ?var25 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q571> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var15 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1680> ?var25 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P747> ?var23 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P179> ?var24 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P50> ?var16 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P110> ?var17 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2610> ?var21 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P872> ?var22 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P123> ?var18 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var19 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P291> ?var14 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P495> ?var5 . } } LIMIT 101000"}}
{"id": "test_10117", "question": "Publication years and titles of works by John Unsworth", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?year ?titleSnippet WHERE {\n  ?work wdt:P50 wd:Q17145650 .\n  ?work wdt:P577 ?pubDate .\n  BIND( YEAR( ?pubDate ) AS ?year ) .\n  ?work rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" ) .\n  BIND( SUBSTR( ?label , 1 , 20 ) AS ?titleSnippet )\n}\nORDER BY ?year", "paraphrases": ["What are the publication years and truncated titles of books written by John Unsworth?", "Show me the years and first 20 characters of the titles of all works authored by John Unsworth, ordered by year."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3Label WHERE { { SELECT ?var1 ( SAMPLE ( ?var4 ) AS ?var2 ) ?var3Label WHERE { { SELECT( STR ( ?var5 ) AS ?var1 )( \"0\"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var4 )( \"_\" AS ?var3Label ) WHERE { BIND ( YEAR ( ?var6 ) AS ?var5 ). ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q577> . ?var7 <http://www.wikidata.org/prop/direct/P585> ?var6 . { SELECT( MIN ( ?var5 ) AS ?var8 )( MAX ( ?var5 ) AS ?var9 ) WHERE { BIND ( YEAR ( ?var10 ) AS ?var5 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q17145650> . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var10 . } } FILTER ( ( ( ?var5 >= ?var8 ) && ( ?var5 <= ?var9 ) ) ) . } } UNION { BIND ( SUBSTR ( ?var12Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"20\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q17145650> . ?var11 <http://www.wikidata.org/prop/direct/P1104> ?var4 . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var6 . ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12Label . FILTER ( ( ( LANG ( ?var12Label ) = \"en\" ) ) ) . } } GROUP BY ?var1 ?var11 ?var3Label ORDER BY ASC( ?var1 ) } }"}}
{"id": "test_10118", "question": "Stadiums in the United Kingdom with their capacity, location, and home teams.", "sparql": "SELECT ?stadium ?stadiumLabel ?adminLabel ?capacity ?operatorLabel ?occupantLabel WHERE { ?stadium wdt:P31 wd:Q483110 ; wdt:P17 wd:Q145 . OPTIONAL { ?stadium wdt:P131 ?admin . ?admin rdfs:label ?adminLabel . FILTER(LANG(?adminLabel) = \"en\") } OPTIONAL { ?stadium wdt:P1083 ?capacity . } OPTIONAL { ?stadium wdt:P137 ?operator . ?operator rdfs:label ?operatorLabel . FILTER(LANG(?operatorLabel) = \"en\") } OPTIONAL { ?stadium wdt:P466 ?occupant . ?occupant rdfs:label ?occupantLabel . FILTER(LANG(?occupantLabel) = \"en\") } ?stadium rdfs:label ?stadiumLabel . FILTER(LANG(?stadiumLabel) = \"en\") }", "paraphrases": ["What are the stadiums in the United Kingdom, and what are their capacities, administrative locations, and occupant teams?", "Please list all stadiums in the UK along with their seating capacity, the city they are located in, and the sports teams that use them."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4Label ?var5Label ?var6Label ?var7Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q483110> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q145> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1083> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P137> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P466> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10119", "question": "Publications with NLM Unique IDs and their identifiers", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?publication ?publicationLabel ?nlmId WHERE {\n  ?publication wdt:P1055 ?nlmId .\n  ?publication rdfs:label ?publicationLabel .\n  FILTER(LANG(?publicationLabel) = \"en\")\n}\nLIMIT 1000", "paraphrases": ["Which publications have an NLM Unique ID, and what are their English names and IDs?", "List English-labeled publications that are assigned an NLM Unique ID, along with their identifiers."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1055> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 1000"}}
{"id": "test_10120", "question": "What are the buildings in England with \"library\" in their name that are listed on the National Heritage List, and what are their heritage numbers and types?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?building ?buildingLabel ?typeLabel ?heritageNumber WHERE {\n  ?building wdt:P1216 ?heritageNumber .\n  ?building rdfs:label ?buildingLabel .\n  ?building wdt:P31 ?type .\n  ?type rdfs:label ?typeLabel .\n  FILTER(LANG(?buildingLabel) = \"en\")\n  FILTER(LANG(?typeLabel) = \"en\")\n  FILTER(CONTAINS(LCASE(?buildingLabel) , \"library\"))\n}", "paraphrases": ["Show me listed buildings in England whose names include \"library\", along with their heritage ID and what kind of building they are (e.g., Carnegie library, police station).", "Which former or current libraries in England are officially heritage-listed, and what are their National Heritage List for England numbers and classifications?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1216> ?var3 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( CONTAINS ( LCASE ( ?var1Label ) , \"library\" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . }"}}
{"id": "test_10121", "question": "What are the subclasses of glove in Wikidata, and what are their immediate parent categories?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subclass ?directParent WHERE {\n  ?subclass wdt:P279 * wd:Q169031 .\n  FILTER(?subclass != wd:Q169031)\n  OPTIONAL {\n    ?subclass wdt:P279 ?directParent .\n  }\n}", "paraphrases": ["Which items are subclasses of glove, and what is their direct superclass in the hierarchy?", "List all types of gloves (like rubber gloves or boxing gloves) that are subclasses of glove, along with their immediate parent category."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q169031> ) } ?var1 <http://www.wikidata.org/prop/direct/P279> * ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } }"}}
{"id": "test_10122", "question": "What is the English or German Wikipedia page for the movie with IMDb ID tt1572306?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipedia_page ?imdb_id WHERE {\n  ?movie wdt:P345 ?imdb_id .\n  ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang .\n  FILTER(?lang = \"en\" || ?lang = \"de\")\n  FILTER(?imdb_id = \"tt1572306\")\n}", "paraphrases": ["Which Wikipedia articles in English or German are about the film identified by IMDb ID tt1572306?", "Show me the Wikipedia page (in English or German) and the IMDb ID for the movie Don't Blink."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1572306\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10123", "question": "Buildings in Valencia and their architects, with images.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?buildingLabel ?image ?architect ?architectLabel ?building WHERE {\n  ?building wdt:P131 wd:Q8818 ; wdt:P84 ?architect .\n  OPTIONAL {\n    ?building wdt:P18 ?image .\n  }\n  ?building rdfs:label ?buildingLabel .\n  ?architect rdfs:label ?architectLabel .\n  FILTER(LANG(?buildingLabel) = \"en\" || LANG(?buildingLabel) = \"\")\n  FILTER(LANG(?architectLabel) = \"en\" || LANG(?architectLabel) = \"\")\n}\nORDER BY ASC(?architectLabel) ASC(?buildingLabel)", "paraphrases": ["Which buildings in Valencia have known architects, and what are their names and images?", "List all buildings located in Valencia along with their architects, labels, and associated images, sorted alphabetically by architect and building name."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var3Label ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q8818> ; <http://www.wikidata.org/prop/direct/P84> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,es\". ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . } } ORDER BY ASC( ?var3Label )ASC( ?var1Label )"}}
{"id": "test_10124", "question": "Wikipedia pages in English, German, or Finnish for the movie with IMDb ID tt0082962.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?wikipediaPage ?imdbId WHERE {\n  ?movie wdt:P345 \"tt0082962\" .\n  ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang .\n  VALUES ?lang {\n    \"en\" \"de\" \"fi\"\n  }\n  BIND(\"tt0082962\" AS ?imdbId)\n}", "paraphrases": ["What are the English, German, or Finnish Wikipedia pages for the film identified by IMDb ID tt0082962?", "Show me the Wikipedia links in English, German, or Finnish for the movie tt0082962, along with its IMDb ID."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0082962\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"fi\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10125", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0019150?", "sparql": "SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 \"tt0019150\" . ?wikipedia_page schema:about ?movie . { ?wikipedia_page schema:inLanguage \"en\" . } UNION { ?wikipedia_page schema:inLanguage \"de\" . } }", "paraphrases": ["Show me the Wikipedia articles in English and German about the film \"The Masks of the Devil\".", "Which language versions of Wikipedia have articles about the movie identified by tt0019150?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0019150\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10126", "question": "Wikipedia page for the movie with IMDb ID tt0258393 in English or German", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipediaPage WHERE {\n  ?movie wdt:P345 \"tt0258393\" .\n  ?wikipediaPage schema:about ?movie .\n  {\n    ?wikipediaPage schema:inLanguage \"en\" .\n  } UNION {\n    ?wikipediaPage schema:inLanguage \"de\" .\n  }\n}", "paraphrases": ["What is the English or German Wikipedia article for the movie with IMDb ID tt0258393?", "Show me the English or German Wikipedia link for the film identified by IMDb ID tt0258393."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0258393\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10127", "question": "Who are the parents of Jean Sabourdin?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?relative WHERE {\n  {\n    wd:Q28100284 wdt:P22 ?relative .\n  } UNION {\n    ?relative wdt:P22 wd:Q28100284 .\n  } UNION {\n    wd:Q28100284 wdt:P25 ?relative .\n  } UNION {\n    ?relative wdt:P25 wd:Q28100284 .\n  } UNION {\n    wd:Q28100284 wdt:P3448 ?relative .\n  } UNION {\n    ?relative wdt:P3448 wd:Q28100284 .\n  } UNION {\n    wd:Q28100284 wdt:P26 ?relative .\n  } UNION {\n    ?relative wdt:P26 wd:Q28100284 .\n  } UNION {\n    wd:Q28100284 wdt:P3373 ?relative .\n  } UNION {\n    ?relative wdt:P3373 wd:Q28100284 .\n  } UNION {\n    wd:Q28100284 wdt:P1038 ?relative .\n  } UNION {\n    ?relative wdt:P1038 wd:Q28100284 .\n  } UNION {\n    wd:Q28100284 wdt:P451 ?relative .\n  } UNION {\n    ?relative wdt:P451 wd:Q28100284 .\n  } UNION {\n    wd:Q28100284 wdt:P40 ?relative .\n  } UNION {\n    ?relative wdt:P40 wd:Q28100284 .\n  }\n}", "paraphrases": ["What family members are linked to Jean Sabourdin in Wikidata?", "Can you list all direct relatives of the French soldier Jean Sabourdin, such as parents, siblings, or spouse?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { VALUES ( ?var2 ) { ( <http://www.wikidata.org/prop/direct/P22> ) ( <http://www.wikidata.org/prop/direct/P25> ) ( <http://www.wikidata.org/prop/direct/P3448> ) ( <http://www.wikidata.org/prop/direct/P26> ) ( <http://www.wikidata.org/prop/direct/P3373> ) ( <http://www.wikidata.org/prop/direct/P1038> ) ( <http://www.wikidata.org/prop/direct/P451> ) ( <http://www.wikidata.org/prop/direct/P40> ) } VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q28100284> ) } { ?var3 ?var2 ?var1 . } UNION { ?var1 ?var2 ?var3 . } UNION { ?var3 ?var2 ?var4 . ?var4 ?var2 ?var1 . } UNION { ?var3 ?var2 ?var4 . ?var1 ?var2 ?var4 . } }"}}
{"id": "test_10128", "question": "Image of John Holles, 1st Earl of Clare (SNAC ARK ID: w6qf8zh5)", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6qf8zh5\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the Wikimedia Commons image associated with the SNAC ARK ID w6qf8zh5?", "Show me the picture of the person with SNAC ARK ID w6qf8zh5."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6qf8zh5\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_10129", "question": "People who died between July and December 1902, with their birth dates, names, and places of birth.", "sparql": "SELECT ?person ?dob ?dod ?familyName ?givenName ?birthPlace ?gender WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P570 ?dod . OPTIONAL { ?person wdt:P569 ?dob . } OPTIONAL { ?person wdt:P734 ?familyName . } OPTIONAL { ?person wdt:P735 ?givenName . } OPTIONAL { ?person wdt:P19 ?birthPlace . } OPTIONAL { ?person wdt:P21 ?gender . } BIND( ( ( ?dod - ?dob ) / \"365.2425\"^^xsd:decimal ) AS ?age ) FILTER ( ?dod >= \"1902-07-01\"^^xsd:date && ?dod < \"1903-01-01\"^^xsd:date ) } ORDER BY ASC(?person) LIMIT 10", "paraphrases": ["Who were the people that died in the second half of 1902, and how old were they when they died?", "List all humans who died between July 1, 1902, and January 1, 1903, along with their date of birth, family name, given name, gender, and place of birth."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4 ?var5Label ?var6 ?var7Label ?var7 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var8 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var9 . } BIND ( ( ( ?var8 - ?var6 ) /\"365.2425\"^^<http://www.w3.org/2001/XMLSchema#decimal> ) AS ?var10 ). FILTER ( ( ( ?var8 >= \"1902-07-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var8 < \"1903-01-01\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_10130", "question": "Spanish municipalities and their images", "sparql": "SELECT ?municipality ?municipalityLabel ?image WHERE { ?municipality wdt:P31 wd:Q2074737 . ?municipality rdfs:label ?municipalityLabel . FILTER(LANG(?municipalityLabel) = \"en\") OPTIONAL { ?municipality wdt:P18 ?image . } } LIMIT 100", "paraphrases": ["What are the English names and images of municipalities in Spain?", "Show me the names and pictures of all Spanish municipalities."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2074737> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sq,en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_10131", "question": "Directors of French companies and their Societe.com IDs", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?director ?directorLabel ?societeComId WHERE {\n  ?director wdt:P4942 ?societeComId .\n  ?director rdfs:label ?directorLabel .\n  FILTER(LANG(?directorLabel) = \"en\")\n}\nLIMIT 1000", "paraphrases": ["Who are the directors linked to Societe.com, and what are their IDs on that platform?", "List the English names of directors and their corresponding Societe.com identifiers."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4942> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } } LIMIT 1000"}}
{"id": "test_10132", "question": "Is there a Wikidata item with VIAF ID 30410375?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P214 \"30410375\" .\n}", "paraphrases": ["Does the Virtual International Authority File identifier 30410375 correspond to any entity in Wikidata?", "Confirm if the VIAF ID 30410375 exists in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"30410375\". }"}}
{"id": "test_10133", "question": "Railway stations in Italy with their coordinates", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?station ?stationLabel ?coordinates WHERE {\n  ?station wdt:P31 wd:Q55488 .\n  ?station wdt:P17 wd:Q38 .\n  OPTIONAL {\n    ?station wdt:P625 ?coordinates .\n  }\n  ?station rdfs:label ?stationLabel .\n  FILTER ( LANG( ?stationLabel ) = \"en\" )\n}\nLIMIT 10", "paraphrases": ["What are the English names and geographic coordinates of railway stations in Italy?", "List up to 10 railway stations in Italy along with their English labels and GPS coordinates."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q55488> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q38> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"it,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } OPTIONAL { ?var1 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } LIMIT 10"}}
{"id": "test_10134", "question": "What properties and values are associated with the Wikidata statement with URI s:Q409999-82872CD5-7EA6-4065-A861-64449718D50A?", "sparql": "SELECT ?property ?value WHERE { s:Q409999-82872CD5-7EA6-4065-A861-64449718D50A ?property ?value .}", "paraphrases": ["Show all information stored in this specific Wikidata statement, including its rank, type, and reference.", "I have a statement URI \u2014 can you list all its properties and values?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q409999-82872CD5-7EA6-4065-A861-64449718D50A> ?var1 ?var2 . }"}}
{"id": "test_10135", "question": "Who are the direct family members of Cs\u00fc-vang, and what is their relationship to him?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?relative ?relativeLabel ?relationshipLabel WHERE {\n  VALUES ?directProperty {\n    wdt:P22 wdt:P25 wdt:P3448 wdt:P26 wdt:P3373 wdt:P1038 wdt:P451 wdt:P40\n  }\n  wd:Q9569181 ?directProperty ?relative .\n  ?propertyEntity wikibase:directClaim ?directProperty .\n  ?relative rdfs:label ?relativeLabel .\n  FILTER ( LANG( ?relativeLabel ) = \"en\" ) ?propertyEntity rdfs:label ?relationshipLabel .\n  FILTER ( LANG( ?relationshipLabel ) = \"en\" )\n}", "paraphrases": ["What is the name of Cs\u00fc-vang\u2019s father and child, according to Wikidata?", "Can you list all of Cs\u00fc-vang\u2019s immediate family members including parents, children, spouses, and siblings?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { VALUES ( ?var2 ) { ( <http://www.wikidata.org/prop/direct/P22> ) ( <http://www.wikidata.org/prop/direct/P25> ) ( <http://www.wikidata.org/prop/direct/P3448> ) ( <http://www.wikidata.org/prop/direct/P26> ) ( <http://www.wikidata.org/prop/direct/P3373> ) ( <http://www.wikidata.org/prop/direct/P1038> ) ( <http://www.wikidata.org/prop/direct/P451> ) ( <http://www.wikidata.org/prop/direct/P40> ) } VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q9569181> ) } { ?var3 ?var2 ?var1 . } UNION { ?var1 ?var2 ?var3 . } UNION { ?var3 ?var2 ?var4 . ?var4 ?var2 ?var1 . } UNION { ?var3 ?var2 ?var4 . ?var1 ?var2 ?var4 . } }"}}
{"id": "test_10136", "question": "Who is the French painter named 'Le Roux'?", "sparql": "SELECT DISTINCT ?person WHERE { ?person rdfs:label \"Le Roux\" @fr . ?person wdt:P31 wd:Q5 . }", "paraphrases": ["Which human in Wikidata has the French label 'Le Roux'?", "Find the person in Wikidata whose French label is 'Le Roux' and who is classified as a human."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"Le roux\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_10137", "question": "Genre and release date of Stranger Things", "sparql": "SELECT ?work ?workLabel ?genre ?genreLabel ?publicationDate ?performer ?performerLabel WHERE { VALUES ?work { wd:Q19798734 } OPTIONAL { ?work wdt:P136 ?genre . } OPTIONAL { ?work wdt:P577 ?publicationDate . } OPTIONAL { ?work wdt:P175 ?performer . } OPTIONAL { ?work rdfs:label ?workLabel FILTER(LANG(?workLabel) = 'en') } OPTIONAL { ?genre rdfs:label ?genreLabel FILTER(LANG(?genreLabel) = 'en') } OPTIONAL { ?performer rdfs:label ?performerLabel FILTER(LANG(?performerLabel) = 'en') } } LIMIT 1", "paraphrases": ["What is the genre and premiere date of the TV series Stranger Things?", "Show me the genre and when Stranger Things was first released."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var4Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q19798734> ) } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P175> ?var4 . } } LIMIT 1"}}
{"id": "test_10138", "question": "Instances of June with images", "sparql": "SELECT ?juneInstance ?image WHERE { ?juneInstance wdt:P31 wd:Q120 . OPTIONAL { ?juneInstance wdt:P18 ?image . } } ORDER BY ?juneInstance", "paraphrases": ["What are the specific years of June that have associated images on Wikidata?", "List all known occurrences of the month of June and their associated images, if any."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q120> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"nl,en\". } OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } }"}}
{"id": "test_10139", "question": "What item and property are linked to the statement with ID Q27864127-CF42BA07-E815-4911-AE3C-3F48B027229E?", "sparql": "PREFIX s: <http://www.wikidata.org/entity/statement/>\nSELECT ?item ?property WHERE {\n  ?item ?property s:Q27864127-CF42BA07-E815-4911-AE3C-3F48B027229E .\n}", "paraphrases": ["Which item has a statement with the PubMed ID property and the statement ID Q27864127-CF42BA07-E815-4911-AE3C-3F48B027229E?", "Show me the subject and property of the Wikidata statement identified by s:Q27864127-CF42BA07-E815-4911-AE3C-3F48B027229E."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q27864127-CF42BA07-E815-4911-AE3C-3F48B027229E> . }"}}
{"id": "test_10140", "question": "What is the Reactome ID for the biological pathway \"Assembly of Viral Components at the Budding Site\", and what is its source?", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX prov: <http://www.w3.org/ns/prov#>\nSELECT ?reactomeId ?reference WHERE {\n  wd:Q45316662 p:P3937 ?statement .\n  ?statement ps:P3937 ?reactomeId .\n  ?statement prov:wasDerivedFrom ?reference .\n}", "paraphrases": ["Which reference supports the Reactome ID R-HSA-168316 for the human viral assembly pathway?", "Can you tell me the Reactome identifier and its source for the pathway that assembles viral components at the budding site in humans?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q45316662-B0C62649-F7CA-4108-8EBE-D9A98CDCFB6E> ?var1 ?var2 . }"}}
{"id": "test_10141", "question": "What item has \"Assembly of NA tetramers\" as a part?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?itemLabel WHERE {\n  ?item wdt:P527 wd:Q50289504 .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["Which biological assembly includes Assembly of NA tetramers as a component?", "Find the entity that contains Assembly of NA tetramers as a subunit."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q45316662-8ED8E9F9-A68B-4F56-9A6D-4A96910068A7> ?var1 ?var2 . }"}}
{"id": "test_10142", "question": "List artworks from the 1902 Bruges Flemish Primitives exhibition with their catalog numbers, sorted numerically.", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT ?artwork ?catalogCode(xsd:float(?catalogCode) AS ?catalogCodeFloat) WHERE {\n  ?artwork p:P528 [ pq:P972 wd:Q17101798 ; ps:P528 ?catalogCode ] .\n  OPTIONAL {\n    ?artwork rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n}\nORDER BY ASC(xsd:float(?catalogCode))", "paraphrases": ["What are the paintings from the 1902 Bruges exhibition of Flemish Primitives, and what are their catalog codes, ordered by numeric value?", "Show me the artworks included in the 1902 Bruges exhibition catalog, along with their catalog codes, sorted so that numeric codes appear in ascending order."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( <http://www.w3.org/2001/XMLSchema#float> ( ?var2 ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/P528> [ <http://www.wikidata.org/prop/qualifier/P972> <http://www.wikidata.org/entity/Q17101798> ; <http://www.wikidata.org/prop/statement/P528> ?var2 ] . } ORDER BY ASC( <http://www.w3.org/2001/XMLSchema#float> ( ?var2 ) )"}}
{"id": "test_10143", "question": "What are the chemical compounds and their corresponding CAS Registry Numbers in Wikidata?", "sparql": "SELECT ?chemical ?casNumber WHERE {\n  ?chemical wdt:P231 ?casNumber .\n}\nLIMIT 40000", "paraphrases": ["Can you list chemical substances along with their CAS numbers?", "Which chemicals have been assigned a CAS Registry Number, and what are those numbers?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P231> ?var2 . } LIMIT 40000"}}
{"id": "test_10144", "question": "Top businesses by revenue over $100 million with available images.", "sparql": "SELECT ?businessLabel ?revenue ?image WHERE { ?business wdt:P31 wd:Q4830453 ; wdt:P2139 ?revenue ; rdfs:label ?businessLabel . FILTER (?revenue >= 100000000.0) . FILTER (LANG(?businessLabel) = \"en\") . OPTIONAL { ?business wdt:P18 ?image . } } ORDER BY DESC (?revenue)", "paraphrases": ["Which businesses have a total revenue of at least $100 million, and what are their images?", "List the English names of businesses with revenue of at least $100 million, sorted from highest to lowest, and include their Wikimedia Commons images if available."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4830453> ; <http://www.wikidata.org/prop/direct/P2139> ?var2 . FILTER ( ( ( ?var2 >= \"100000000\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY DESC( ?var2 )"}}
{"id": "test_10145", "question": "What are the top journals where Andreas Bender has published the most articles, and what are their common abbreviations?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?publication ?publicationLabel(COUNT(?work) AS ?count) WHERE {\n  ?work wdt:P50 wd:Q28925563 .\n  ?work wdt:P1433 ?publication .\n  ?publication rdfs:label ?label .\n  FILTER(LANG(?label) = \"en\")\n  OPTIONAL {\n    ?publication wdt:P1813 ?abbreviation .\n  }\n  BIND(COALESCE(?abbreviation , ?label) AS ?publicationLabel)\n}\nGROUP BY ?publication ?publicationLabel\nORDER BY DESC(?count)", "paraphrases": ["Which scientific journals have published the most work by chemist Andreas Bender, and how are they commonly abbreviated?", "Show me a list of journals that feature Andreas Bender\u2019s publications, sorted by frequency, along with their standard abbreviations if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q28925563> . ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1813> ?var6 . } BIND ( COALESCE ( ?var6 , ?var5Label ) AS ?var2Label ). } GROUP BY ?var1 ?var2Label ORDER BY DESC( ?var4 )"}}
{"id": "test_10146", "question": "Nintendo Switch games and their French genres", "sparql": "SELECT ?game ?gameLabel (GROUP_CONCAT(?genreLabel; SEPARATOR=\", \") AS ?genres) WHERE { ?subclass wdt:P279* wd:Q7889 . ?game (wdt:P31/wdt:P279*) ?subclass . ?game wdt:P400 wd:Q19610114 . OPTIONAL { ?game wdt:P136 ?genre . ?genre rdfs:label ?genreLabel . FILTER(LANG(?genreLabel) = \"fr\") } ?game rdfs:label ?gameLabel . FILTER(LANG(?gameLabel) = \"en\") } GROUP BY ?game ?gameLabel", "paraphrases": ["What are the French-language genres of video games released on the Nintendo Switch?", "Show me all Nintendo Switch games along with their genres in French, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ( GROUP_CONCAT ( ?var2 ; SEPARATOR = \", \" ) AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q7889> . ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P400> <http://www.wikidata.org/entity/Q19610114> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var2 . ?var2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"fr\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } } GROUP BY ?var1 ?var1Label"}}
{"id": "test_10147", "question": "Who is a French citizen born in Rennes whose name in French is \"L\u00e9opold Boisselle\"?", "sparql": "SELECT ?person ?personLabel WHERE { ?person wdt:P27 wd:Q142 ; wdt:P19 wd:Q647 ; rdfs:label ?personLabel . FILTER (LANG(?personLabel) = \"fr\") . FILTER (STR(?personLabel) = \"L\u00e9opold Boisselle\") . }", "paraphrases": ["Find the French-language label of people born in Rennes and holding French citizenship, specifically for \"L\u00e9opold Boisselle\".", "Which person, born in Rennes and a citizen of France, has the French name \"L\u00e9opold Boisselle\"?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q142> ; <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q647> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"fr\" ) ) ) . FILTER ( ( ( ?var1Label = \"string1\" ) ) ) . }"}}
{"id": "test_10148", "question": "List all cities in Wikidata.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?city WHERE {\n  ?city wdt:P31 wd:Q515 .\n}", "paraphrases": ["What entities are classified as cities in Wikidata?", "Show me all items that are instances of a city."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/entity/Q515> ?var2 . }"}}
{"id": "test_10149", "question": "Music singles with \"benz\" in the title, their performers, genres, and release dates.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?single ?singleLabel ?performer ?performerLabel ?genre ?genreLabel ?date WHERE {\n  ?single wdt:P31 wd:Q134556 .\n  ?single rdfs:label ?singleLabel .\n  OPTIONAL {\n    ?single wdt:P175 ?performer .\n    ?performer rdfs:label ?performerLabel .\n  }\n  OPTIONAL {\n    ?single wdt:P136 ?genre .\n    ?genre rdfs:label ?genreLabel .\n  }\n  OPTIONAL {\n    ?single wdt:P577 ?date .\n  }\n  FILTER(CONTAINS(LCASE(?singleLabel) , \"benz\"))\n  FILTER(LANG(?singleLabel) = \"en\")\n  FILTER(LANG(?performerLabel) = \"en\")\n  FILTER(LANG(?genreLabel) = \"en\")\n}\nLIMIT 10", "paraphrases": ["What are music singles that contain the word \"benz\" in their title, who performed them, what genre are they, and when were they released?", "Show me all music singles with \"benz\" in the title, along with the artist, genre, and release date."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q134556> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P175> ?var2 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var4 . } FILTER ( ( REGEX ( ?var1Label , \"^600 Benz$\", \"i\" ) ) ) . FILTER ( ( REGEX ( ?var2Label , \"string1\", \"i\" ) ) ) . } LIMIT 10"}}
{"id": "test_10150", "question": "Music singles titled \"Feel\" performed by The Beatles, including their genre and release date.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?single ?singleLabel ?performer ?performerLabel ?genre ?genreLabel ?publicationDate WHERE {\n  ?single wdt:P31 wd:Q134556 .\n  ?single rdfs:label ?singleLabel .\n  OPTIONAL {\n    ?single wdt:P175 ?performer .\n    ?performer rdfs:label ?performerLabel .\n  }\n  OPTIONAL {\n    ?single wdt:P136 ?genre .\n    ?genre rdfs:label ?genreLabel .\n  }\n  OPTIONAL {\n    ?single wdt:P577 ?publicationDate .\n  }\n  FILTER ( REGEX( ?singleLabel , \"Feel\" , \"i\" ) ) FILTER ( REGEX( ?performerLabel , \"The Beatles\" , \"i\" ) )\n}\nLIMIT 10", "paraphrases": ["What are the music singles by The Beatles that have \"Feel\" in the title, and what are their genres and release dates?", "Show me all music singles with \"Feel\" in the title, performed by The Beatles, along with their genre labels and publication dates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q134556> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P175> ?var2 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var4 . } FILTER ( ( REGEX ( ?var1Label , \"^FEEL.$\", \"i\" ) ) ) . FILTER ( ( REGEX ( ?var2Label , \"string1\", \"i\" ) ) ) . } LIMIT 10"}}
{"id": "test_10151", "question": "Is Arthur Severn a type of software?", "sparql": "ASK WHERE { wd:Q21464318 wdt:P31/wdt:P279* wd:Q7397 . }", "paraphrases": ["Does the entity Q21464318 belong to a category that is a subclass of software?", "Is the person Arthur Severn classified as software?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q21464318> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_10152", "question": "Is the painter Georg Vischer considered a type of software?", "sparql": "ASK WHERE { wd:Q43189023 wdt:P31/wdt:P279* wd:Q7397 . }", "paraphrases": ["Does Georg Vischer, the German artist from the 17th century, belong to the category of software?", "Could Georg Vischer be classified under software or any of its subclasses?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q43189023> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_10153", "question": "How many Wikidata properties have no English or German label?", "sparql": "SELECT ?language ?count WHERE { VALUES (?language ?count) { (\"en\" 2) (\"de\" 5402) } }", "paraphrases": ["What is the count of Wikidata properties lacking an English label and a German label?", "Show the number of Wikidata properties without labels in English and German."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { VALUES ( ?var1 ) { ( \"en\" ) ( \"de\" ) } ?var2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = ?var1 ) ) ) . } FILTER ( ( !( BOUND ( ?var4Label ) ) ) ) . } GROUP BY ?var1"}}
{"id": "test_10154", "question": "List English titles of films that are both horror and thriller genres.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film ?filmLabel WHERE {\n  ?film wdt:P31 wd:Q11424 .\n  ?film wdt:P136 wd:Q200092 .\n  ?film wdt:P136 wd:Q2484376 .\n  OPTIONAL {\n    ?film wdt:P1476 ?filmLabel .\n  }\n  FILTER(LANGMATCHES(LANG(?filmLabel) , \"en\"))\n}\nLIMIT 10", "paraphrases": ["What are some horror and thriller movies with English titles?", "Show me a list of horror-thriller films with their English titles."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4Label ?var5Label ?var6Label ?var7Label ?var8Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P136> <http://www.wikidata.org/entity/Q200092> . ?var1 <http://www.wikidata.org/prop/direct/P136> <http://www.wikidata.org/entity/Q2484376> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P921> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P57> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P161> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P58> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P162> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1877> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 10000"}}
{"id": "test_10155", "question": "In which languages is the property \"occupation\" labeled in Wikidata?", "sparql": "SELECT DISTINCT ?lang WHERE { wd:P106 rdfs:label ?label . BIND(LANG(?label) AS ?lang) } ORDER BY ASC(?lang)", "paraphrases": ["What are all the language codes used for the labels of the occupation property on Wikidata?", "List all the languages that have labels for the occupation property, sorted alphabetically."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( LANG ( ?var2Label ) AS ?var1 ). <http://www.wikidata.org/entity/P3896> <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } ORDER BY ASC( ?var1 )"}}
{"id": "test_10156", "question": "Music singles by Lady Gaga with their genre and release date", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?single ?singleLabel ?performer ?performerLabel ?genre ?genreLabel ?publicationDate WHERE {\n  ?single wdt:P31 wd:Q134556 .\n  ?single rdfs:label ?singleLabel .\n  FILTER(LANG(?singleLabel) = 'en')\n  .\n  ?single wdt:P175 wd:Q19848 .\n  OPTIONAL {\n    ?single wdt:P175 ?performer .\n    ?performer rdfs:label ?performerLabel .\n    FILTER(LANG(?performerLabel) = 'en')\n  }\n  OPTIONAL {\n    ?single wdt:P136 ?genre .\n    ?genre rdfs:label ?genreLabel .\n    FILTER(LANG(?genreLabel) = 'en')\n  }\n  OPTIONAL {\n    ?single wdt:P577 ?publicationDate .\n  }\n}\nLIMIT 10", "paraphrases": ["What are the music singles performed by Lady Gaga, along with their genres and release dates?", "Show me Lady Gaga\u2019s music singles, including their genres and when they were released."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q134556> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P175> ?var2 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var4 . } FILTER ( ( REGEX ( ?var1Label , \"string1\", \"i\" ) ) ) . FILTER ( ( REGEX ( ?var2Label , \"Lady Gaga\", \"i\" ) ) ) . } LIMIT 10"}}
{"id": "test_10157", "question": "What is the bogeyman classified as in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?bogeyman ?bogeymanLabel ?subclass ?subclassLabel WHERE {\n  wd:Q172451 rdfs:label ?bogeymanLabel .\n  FILTER ( LANG( ?bogeymanLabel ) = \"en\" ) wd:Q172451 wdt:P279 ?subclass .\n  ?subclass rdfs:label ?subclassLabel .\n  FILTER ( LANG( ?subclassLabel ) = \"en\" )\n}", "paraphrases": ["What category does the bogeyman belong to as a mythical figure?", "Tell me about the bogeyman \u2014 what kind of entity is it?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var4Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q172451> ) } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P175> ?var4 . } } LIMIT 1"}}
{"id": "test_10158", "question": "Wikipedia pages in English, Polish, or German about the movie with IMDb ID tt5774796.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?movie ?wikipedia_page WHERE {\n  VALUES ?imdb_id {\n    \"tt5774796\"\n  }\n  VALUES ?lang {\n    \"en\" \"de\" \"pl\"\n  }\n  ?movie wdt:P345 ?imdb_id .\n  ?wikipedia_page schema:about ?movie .\n  ?wikipedia_page schema:inLanguage ?lang .\n}", "paraphrases": ["What are the English, German, and Polish Wikipedia articles for the movie with IMDb ID tt5774796?", "Show me the Wikipedia links in English, Polish, and German for the film identified by tt5774796 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5774796\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"pl\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10159", "question": "Cities in Estonia with their English names", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?city ?cityLabel WHERE {\n  ?city wdt:P31 wd:Q11881845 .\n  ?city rdfs:label ?cityLabel .\n  FILTER(LANG(?cityLabel) = \"en\")\n}\nORDER BY ?cityLabel", "paraphrases": ["What are the names of cities in Estonia in English?", "List all the cities in Estonia and their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"et,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11881845> . }"}}
{"id": "test_10160", "question": "All subclasses of organization in Wikidata with English labels.", "sparql": "SELECT ?organization ?organizationLabel WHERE { ?organization wdt:P279* wd:Q43229 . ?organization rdfs:label ?organizationLabel . FILTER(LANG(?organizationLabel) = \"en\") } LIMIT 100000", "paraphrases": ["What are all the types of organizations (including subtypes) defined in Wikidata, listed with their English names?", "List all entities that are subclasses of \"organization\" along with their English labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P279> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q43229> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 100000"}}
{"id": "test_10161", "question": "Is Pen-y-crug classified as a human?", "sparql": "ASK WHERE { wd:Q7162071 (wdt:P31/wdt:P279*) wd:Q5 . }", "paraphrases": ["Does the hill Pen-y-crug belong to the category of humans?", "Is Pen-y-crug an instance of a class that is a subclass of human?"], "info": {"raw_sparql": "ASK WHERE { <http://www.wikidata.org/entity/Q7162071> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> \"forwards\". }"}}
{"id": "test_10162", "question": "Image of the person with SNAC ARK ID w6c03mrp", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6c03mrp\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["What is the image associated with the SNAC ARK ID w6c03mrp?", "Show me the Wikimedia Commons image for the individual identified by the SNAC ARK ID w6c03mrp."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6c03mrp\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_10163", "question": "Protestant regional churches in Germany and Switzerland", "sparql": "SELECT ?church ?label WHERE { ?church wdt:P31 wd:Q565744 . ?church rdfs:label ?label . FILTER(LANG(?label) = \"de\") } LIMIT 100", "paraphrases": ["What are the names of the Protestant regional churches in Germany and Switzerland?", "Show me the German names of all Landeskirchen in Germany and Switzerland."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q565744> . } LIMIT 100"}}
{"id": "test_10164", "question": "What are the taxonomic classes of Sclerocarya birrea, excluding the metaclass?", "sparql": "SELECT DISTINCT ?class WHERE { VALUES ?item { wd:Q675778 } ?item ( ( wdt:P31 | wdt:P279 ) / ( wdt:P31 | wdt:P279 )? ) ?class . MINUS { ?item ( ( wdt:P31 | wdt:P279 ) / ( wdt:P31 | wdt:P279 )? ) wd:Q16889133 . } }", "paraphrases": ["What classes does the plant species Sclerocarya birrea belong to, going up two levels in the classification hierarchy, but not including the abstract class?", "List the biological classification levels above Sclerocarya birrea, stopping at the second level and excluding the metaclass."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q675778> ) } ?var2 (( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> )/( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> )?) ?var1 . MINUS { ?var2 (( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> )/( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> )?) <http://www.wikidata.org/entity/Q16889133> . } }"}}
{"id": "test_10165", "question": "Does the Royal Dublin Society have the GND ID 30435-9?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  wd:Q934417 wdt:P227 \"30435-9\"\n}", "paraphrases": ["Is the GND identifier for the Royal Dublin Society 30435-9?", "Confirm that the Royal Dublin Society is identified by the GND ID 30435-9."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"30435-9\". }"}}
{"id": "test_10166", "question": "Which properties link to the Diccionario da Real Academia Galega more than once?", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q31281459 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["How many times is the schema:about property used to refer to the Diccionario da Real Academia Galega, and are there any other properties used more than once?", "Show me the properties that are used to connect other resources to the Diccionario da Real Academia Galega, but only if they appear more than once, sorted by frequency."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q31281459> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_10167", "question": "Which Wikidata entities have the Twitter usernames \"elonmusk\", \"BarackObama\", or \"NASA\"?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"elonmusk\" \"BarackObama\" \"NASA\" } }", "paraphrases": ["Who are the people or organizations on Wikidata with the Twitter handles elonmusk, BarackObama, and NASA?", "List the entities from Wikidata that are associated with the Twitter usernames elonmusk, BarackObama, and NASA."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"OggaDoon\" ) ( \"string1\" ) } }"}}
{"id": "test_10168", "question": "What is the Wikipedia page for the IMDb movie tt5087554 in English or German?", "sparql": "SELECT ?item ?wikipedia_page WHERE { ?item wdt:P345 \"tt5087554\" . { ?wikipedia_page schema:about ?item ; schema:inLanguage \"en\" . } UNION { ?wikipedia_page schema:about ?item ; schema:inLanguage \"de\" . } }", "paraphrases": ["Which Wikipedia articles in English or German are about the film with IMDb ID tt5087554?", "Show me the English or German Wikipedia pages linked to the movie Anthony Jeselnik: Thoughts and Prayers via its IMDb ID."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt5087554\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10169", "question": "English and German Wikipedia pages for the movie with IMDb ID tt1598172", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?wikipedia_page WHERE {\n  ?item wdt:P345 \"tt1598172\" .\n  ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang .\n  FILTER ( ?lang = \"en\" || ?lang = \"de\" )\n}", "paraphrases": ["What are the English and German Wikipedia articles for the movie with IMDb ID tt1598172?", "Show me the English and German Wikipedia links for the film identified by tt1598172 on IMDb."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1598172\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10170", "question": "What is the Danish, German, or English Wikipedia page for the movie with IMDb ID tt0074661?", "sparql": "SELECT ?film ?wikipedia_page WHERE { ?film wdt:P345 \"tt0074661\" . ?wikipedia_page schema:about ?film ; schema:inLanguage ?lang . FILTER(?lang IN (\"en\", \"de\", \"da\")) }", "paraphrases": ["Which Wikipedia articles in English, German, or Danish are about the film \"In the Sign of the Lion\"?", "Find the Wikipedia links in English, German, or Danish for the movie identified by IMDb ID tt0074661."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0074661\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"da\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10171", "question": "What are the English and German Wikipedia pages for the movie with IMDb ID tt0363771?", "sparql": "SELECT ?item ?wikipedia_page ?imdb_id WHERE { ?item wdt:P345 \"tt0363771\" . ?wikipedia_page schema:about ?item . FILTER(STRSTARTS(STR(?wikipedia_page), \"https://en.wikipedia.org/\") || STRSTARTS(STR(?wikipedia_page), \"https://de.wikipedia.org/\")) ?item wdt:P345 ?imdb_id .}", "paraphrases": ["Show me the Wikipedia articles in English and German about the film identified by the IMDb code tt0363771.", "Which Wikipedia pages in English or German discuss the movie that has the IMDb identifier tt0363771?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0387986\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10172", "question": "Wikipedia pages in English, German, and Danish about the movie with IMDb ID tt0123032.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?movie ?wikipediaPage WHERE {\n  ?movie wdt:P345 \"tt0123032\" .\n  ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang .\n  FILTER ( ?lang IN ( \"en\" , \"de\" , \"da\" ) )\n}", "paraphrases": ["What are the English, German, and Danish Wikipedia articles for the film with IMDb ID tt0123032?", "Show me the Wikipedia links in English, German, and Danish for the movie identified by IMDb ID tt0123032."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0123032\". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> \"en\". } UNION { ?var2 <http://schema.org/inLanguage> \"de\". } UNION { ?var2 <http://schema.org/inLanguage> \"da\". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10173", "question": "What is the Wikidata item for the Twitter username \"devex\"?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?username WHERE {\n  ?item wdt:P2002 ?username .\n  VALUES ?username {\n    \"devex\"\n  }\n}", "paraphrases": ["Which organization on Wikidata has the Twitter handle \"devex\"?", "Find the Wikidata entity associated with the Twitter username \"devex\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"alieholder\" ) ( \"string1\" ) ( \"string2\" ) ( \"libcce\" ) ( \"kateregga1\" ) ( \"devex\" ) ( \"string3\" ) ( \"string4\" ) } }"}}
{"id": "test_10174", "question": "Which Wikidata items have the Twitter usernames \"Eudat_eu\" or \"Olympics\"?", "sparql": "SELECT ?item ?twitterHandle WHERE { ?item wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { \"Eudat_eu\" \"Olympics\" } }", "paraphrases": ["What entities on Wikidata are associated with the Twitter handles \"Eudat_eu\" and \"Olympics\"?", "Show me the Wikidata entries for the Twitter accounts @Eudat_eu and @Olympics (without the @ symbol)."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"Poncelet2\" ) ( \"string1\" ) ( \"LUCTSDH\" ) ( \"string2\" ) ( \"SDSNYouth\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"Olympics\" ) ( \"string6\" ) ( \"string7\" ) ( \"ARB_SILVA\" ) ( \"Eudat_eu\" ) ( \"string8\" ) ( \"UKGSS\" ) } }"}}
{"id": "test_10175", "question": "List some musical instruments and their English labels, along with any British or Canadian English variants and Wikipedia links.", "sparql": "SELECT DISTINCT ?instrument ?label ?labelGB ?labelCA ?wikipediaPage ?wikipediaTitle WHERE { ?instrument wdt:P279 wd:Q34379 . ?instrument rdfs:label ?label . FILTER (LANG(?label) = \"en\") . FILTER (REGEX(STR(?label), \"^[A-Z]\")) . OPTIONAL { ?instrument rdfs:label ?labelGB . FILTER (LANG(?labelGB) = \"en-gb\") . } OPTIONAL { ?instrument rdfs:label ?labelCA . FILTER (LANG(?labelCA) = \"en-ca\") . } OPTIONAL { ?wikipediaPage schema:about ?instrument ; schema:isPartOf <https://en.wikipedia.org/> ; schema:name ?wikipediaTitle . } } ORDER BY ASC(RAND())", "paraphrases": ["What are some subclasses of musical instruments in Wikidata, and do they have English, British English, or Canadian English labels? Are there corresponding Wikipedia pages?", "Show me a random sample of musical instrument subclasses with their English labels, regional variants (if any), and links to their English Wikipedia articles."], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> [] . ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q34379> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"en-gb\" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en-ca\" ) ) ) . } FILTER ( ( REGEX ( STR ( ?var2Label ) , \"^[A-Z]\" ) ) ) . OPTIONAL { ?var5 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://en.wikipedia.org/> ; <http://schema.org/name> ?var6 . } } ORDER BY ASC( RAND ( ) )"}}
{"id": "test_10176", "question": "Which Wikidata items have Twitter usernames 'thebeatles', 'UN', 'Russia', or 'gcba'?", "sparql": "SELECT ?item ?twitterUsername WHERE { ?item wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"thebeatles\" \"UN\" \"Russia\" \"gcba\" } }", "paraphrases": ["What entities on Wikidata are associated with the Twitter accounts @thebeatles, @UN, @Russia, or @gcba?", "Show me the Wikidata items that use 'thebeatles', 'UN', 'Russia', or 'gcba' as their Twitter usernames."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"stevieflow\" ) ( \"string1\" ) ( \"string2\" ) ( \"string3\" ) ( \"Corina_MCP\" ) ( \"string4\" ) } }"}}
{"id": "test_10177", "question": "How many people have their birth year known only to the century, and which centuries are most frequent?", "sparql": "SELECT (YEAR(?date) AS ?year) ?precision (COUNT(?person) AS ?count) WHERE { ?person p:P569 ?statement . ?statement psv:P569 ?valueNode . ?valueNode wikibase:timeValue ?date . ?valueNode wikibase:timePrecision ?precision . FILTER (?precision = 7) } GROUP BY ?date ?precision ORDER BY DESC(?count) ASC(?year)", "paraphrases": ["Which centuries have the most people with birth dates known only at the century level?", "Show the count of individuals with century-level birth precision, sorted by frequency and century."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( COUNT ( ?var3 ) AS ?var4 ) WHERE { BIND ( STR ( ?var5 ) AS ?var1 ). ?var6 ( <http://www.wikidata.org/prop/P569> / <http://www.wikidata.org/prop/statement/value/P569> ) ?var3 . ?var3 <http://wikiba.se/ontology#timeValue> ?var5 . ?var3 <http://wikiba.se/ontology#timePrecision> ?var2 . FILTER ( ( ( ?var2 = \"7\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } GROUP BY ?var1 ?var2 ORDER BY DESC( ?var4 )ASC( ?var1 )"}}
{"id": "test_10178", "question": "List English-named educational organizations in Germany with their inception dates, administrative regions, and official websites.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?org ?orgLabel ?adminAreaLabel ?inception ?legalFormLabel ?headquartersLabel ?website WHERE {\n  ?org(wdt:P31 / wdt:P279 *) wd:Q5341295 .\n  ?org wdt:P17 wd:Q183 .\n  ?org rdfs:label ?orgLabel .\n  OPTIONAL {\n    ?org wdt:P131 ?adminArea .\n    ?adminArea rdfs:label ?adminAreaLabel .\n    FILTER(LANG(?adminAreaLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?org wdt:P571 ?inception .\n  }\n  OPTIONAL {\n    ?org wdt:P1454 ?legalForm .\n    ?legalForm rdfs:label ?legalFormLabel .\n    FILTER(LANG(?legalFormLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?org wdt:P159 ?headquarters .\n    ?headquarters rdfs:label ?headquartersLabel .\n    FILTER(LANG(?headquartersLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?org wdt:P856 ?website .\n  }\n  FILTER(LANG(?orgLabel) = \"en\")\n}\nLIMIT 100000", "paraphrases": ["What are the educational institutions in Germany, their founding years, locations, and websites, in English?", "Please provide a list of all educational organizations located in Germany, including their English names, when they were founded, the cities or regions they are in, and their official websites."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label ?var4Label ?var5Label ?var6 ?var7Label ?var8Label ?var9 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5341295> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1454> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P159> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . } FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . } LIMIT 100000"}}
{"id": "test_10179", "question": "Who are the Wikidata persons with Twitter usernames MPicarra, nhoussos, or MelImming?", "sparql": "SELECT ?person ?twitterUsername WHERE { ?person wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"MPicarra\" \"nhoussos\" \"MelImming\" } }", "paraphrases": ["Which individuals on Wikidata are associated with the Twitter handles MelImming, MPicarra, or nhoussos?", "Find the Wikidata entries for people whose Twitter username is MelImming, MPicarra, or nhoussos."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"MPicarra\" ) ( \"nhoussos\" ) ( \"MelImming\" ) } }"}}
{"id": "test_10180", "question": "Which organization has the Twitter username NRA?", "sparql": "SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { \"NRA\" } }", "paraphrases": ["What is the Wikidata item for the Twitter account @NRA?", "Find the entity in Wikidata that is associated with the Twitter handle NRA."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"string1\" ) ( \"LXsport04\" ) ( \"Fei_Hung89\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"string5\" ) ( \"NRA\" ) ( \"NRATV\" ) ( \"5TJames5\" ) ( \"string6\" ) ( \"tobeme56\" ) ( \"string7\" ) ( \"string8\" ) ( \"string9\" ) ( \"LAMOONLYNN\" ) ( \"honestlyna\" ) ( \"MHB1070\" ) ( \"string10\" ) ( \"trash_pope\" ) } }"}}
{"id": "test_10181", "question": "Children of Hafez al-Assad", "sparql": "SELECT ?child ?childLabel WHERE { wd:Q118725 wdt:P40 ?child . ?child rdfs:label ?childLabel . FILTER(LANG(?childLabel) = \"en\") } LIMIT 100", "paraphrases": ["Who are the children of Hafez al-Assad?", "List the names of Hafez al-Assad\u2019s children in English."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q118725> <http://www.wikidata.org/prop/direct/P40> + ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 100000"}}
{"id": "test_10182", "question": "What image is associated with the SNAC ARK ID w6p0831r?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?image WHERE {\n  ?item wdt:P3430 \"w6p0831r\" .\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n}", "paraphrases": ["Is there an image available for the person with SNAC ARK ID w6p0831r?", "Image of William Winde (SNAC ARK ID w6p0831r)"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> \"w6p0831r\". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }"}}
{"id": "test_10183", "question": "Who are some people born in Syria?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel WHERE {\n  ?person wdt:P19 wd:Q858 .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}\nLIMIT 100", "paraphrases": ["Can you list the English names of individuals who were born in Syria?", "What are the names of people with Syria as their place of birth?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/P19> * <http://www.wikidata.org/entity/Q858> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } LIMIT 100000"}}
{"id": "test_10184", "question": "Items whose main property is parent taxon", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nSELECT DISTINCT ?item ?statement WHERE {\n  ?item p:P1687 ?statement .\n  ?statement ps:P1687 wd:P171 .\n}", "paraphrases": ["Which items in Wikidata have their main property defined as \"parent taxon\"?", "List all items that use \"parent taxon\" as their main Wikidata property."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/P1687> ?var2 . ?var2 <http://www.wikidata.org/prop/statement/P1687> <http://www.wikidata.org/entity/P171> . } LIMIT 101"}}
{"id": "test_10185", "question": "List items and their images from Wikidata.", "sparql": "SELECT ?item ?image WHERE { ?item p:P18 / ps:P18 ?image . } LIMIT 1000", "paraphrases": ["Which items on Wikidata have images, and what are the URLs of those images?", "Show me the Wikidata items along with their corresponding Wikimedia Commons image URLs."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/P18> ?var2 . ?var2 ?var3 ?var4 . } LIMIT 1000"}}
{"id": "test_10186", "question": "What are the music singles released by Soulja Boy, along with their genres and release dates?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?single ?singleLabel ?performer ?performerLabel ?genre ?genreLabel ?publicationDate WHERE {\n  ?single wdt:P31 wd:Q134556 .\n  ?single wdt:P175 ?performer .\n  FILTER(?performer = wd:Q313080)\n  .\n  ?single rdfs:label ?singleLabel .\n  FILTER(LANG(?singleLabel) = 'en')\n  .\n  ?performer rdfs:label ?performerLabel .\n  FILTER(LANG(?performerLabel) = 'en')\n  .\n  OPTIONAL {\n    ?single wdt:P136 ?genre .\n    ?genre rdfs:label ?genreLabel .\n    FILTER(LANG(?genreLabel) = 'en')\n  }\n  .\n  OPTIONAL {\n    ?single wdt:P577 ?publicationDate .\n  }\n}\nLIMIT 10", "paraphrases": ["Show me Soulja Boy\u2019s singles, their musical genres, and when they were released.", "Which songs did Soulja Boy release as singles, and what genres and years are associated with them?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q134556> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P175> ?var2 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var4 . } FILTER ( ( REGEX ( ?var1Label , \"string1\", \"i\" ) ) ) . FILTER ( ( REGEX ( ?var2Label , \"Soulja Boy\", \"i\" ) ) ) . } LIMIT 10"}}
{"id": "test_10187", "question": "What is the genre, release date, and performer of the song \"Regret in Your Tears\" by Nicki Minaj?", "sparql": "SELECT ?work ?workLabel ?genre ?genreLabel ?date ?performer ?performerLabel WHERE { VALUES ?work { wd:Q28935137 } OPTIONAL { ?work wdt:P136 ?genre . } OPTIONAL { ?work wdt:P577 ?date . } OPTIONAL { ?work wdt:P175 ?performer . } OPTIONAL { ?work rdfs:label ?workLabel . FILTER(LANG(?workLabel) = \"en\") } OPTIONAL { ?genre rdfs:label ?genreLabel . FILTER(LANG(?genreLabel) = \"en\") } OPTIONAL { ?performer rdfs:label ?performerLabel . FILTER(LANG(?performerLabel) = \"en\") } }", "paraphrases": ["When was Nicki Minaj's single \"Regret in Your Tears\" released, and what genre is it?", "Can you tell me about Nicki Minaj\u2019s 2017 single \"Regret in Your Tears\"?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var4Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"[AUTO_LANGUAGE],en\". } VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q28935137> ) } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P175> ?var4 . } } LIMIT 1"}}
{"id": "test_10188", "question": "List landmarks and buildings in Paris with their images and labels.", "sparql": "SELECT ?item ?itemLabel ?image WHERE { ?item wdt:P131 wd:Q90 . OPTIONAL { ?item wdt:P18 ?image . } OPTIONAL { ?item rdfs:label ?itemLabel . } }", "paraphrases": ["What are some notable places in Paris, and what are their names and images on Wikimedia Commons?", "Show me items located in Paris, including their English labels and associated images."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var5 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerWest> \"string1\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerEast> \"string2\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/P1435> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10189", "question": "What administrative regions is Shibuya Station located in, that are considered geographical entities?", "sparql": "SELECT ?administrativeEntity ?administrativeEntityLabel WHERE { wd:Q428811 wdt:P131* ?administrativeEntity . ?administrativeEntity wdt:P31 ?type . ?type wdt:P279* wd:Q618123 . ?administrativeEntity rdfs:label ?administrativeEntityLabel . FILTER(LANG(?administrativeEntityLabel) = \"en\") }", "paraphrases": ["List all cities, countries, or other geographical places that Shibuya Station belongs to through administrative hierarchy.", "Which places, such as Tokyo or Japan, contain Shibuya Station and are classified as geographical features?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { <http://www.wikidata.org/entity/Q428811> <http://www.wikidata.org/prop/direct/P131> * ?var1 . ?var1 ( <http://www.wikidata.org/prop/direct/P131> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q618123> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_10190", "question": "What artworks are associated with the Pre-Raphaelite Brotherhood, and who founded the group?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?work ?workLabel ?founder ?founderLabel WHERE {\n  ?work wdt:P135 wd:Q184814 .\n  wd:Q184814 wdt:P112 ?founder .\n  OPTIONAL {\n    ?work wdt:P1476 ?workLabel .\n    FILTER(LANG(?workLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?founder rdfs:label ?founderLabel .\n    FILTER(LANG(?founderLabel) = \"en\")\n  }\n}\nLIMIT 100", "paraphrases": ["List the English-language titles of artworks from the Pre-Raphaelite Brotherhood and the names of its founders.", "Show me the works linked to the Pre-Raphaelite Brotherhood along with all three of its founding members."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P135> <http://www.wikidata.org/entity/Q184814> . OPTIONAL { } OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P112> ?var2 . } } LIMIT 100"}}
{"id": "test_10191", "question": "Indian politicians born between 1900 and 1947", "sparql": "SELECT ?person ?personLabel ?birthDate WHERE { ?person wdt:P31 wd:Q5 ; wdt:P27 wd:Q668 ; wdt:P106 wd:Q82955 ; wdt:P569 ?birthDate . FILTER ( ?birthDate >= \"1900-01-01T00:00:00Z\"^^xsd:dateTime ) FILTER ( ?birthDate <= \"1947-08-16T00:00:00Z\"^^xsd:dateTime ) ?person rdfs:label ?personLabel . FILTER ( LANG(?personLabel) = \"en\" ) } ORDER BY ?birthDate", "paraphrases": ["Who are the Indian politicians born between January 1, 1900 and August 16, 1947?", "List the names and birth dates of Indian politicians born in the first half of the 20th century, up to India\u2019s independence in 1947."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q668> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82955> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } FILTER ( ( ( ?var2 >= \"1900-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var2 <= \"1947-08-16T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . } ORDER BY ASC( ?var2Label )"}}
{"id": "test_10192", "question": "Is there a Wikidata item associated with the VIAF ID 305921377?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P214 \"305921377\" .\n}", "paraphrases": ["Does the Virtual International Authority File identifier 305921377 exist in Wikidata?", "Can you confirm if the VIAF ID 305921377 is linked to any person or entity in Wikidata?"], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"305921377\". }"}}
{"id": "test_10193", "question": "Does the VIAF ID 59147094977225081566 exist in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nASK WHERE {\n  ?item wdt:P214 \"59147094977225081566\" .\n}", "paraphrases": ["Is there a Wikidata item associated with the VIAF identifier 59147094977225081566?", "Confirm whether the person Hans-Peter Kemper is linked to the VIAF ID 59147094977225081566 in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> \"59147094977225081566\". }"}}
{"id": "test_10194", "question": "Who is known by the alias 'Maxime Hego' and is a human?", "sparql": "SELECT DISTINCT ?person WHERE { ?person skos:altLabel \"Maxime Hego\"@en . ?person wdt:P31 wd:Q5 .}", "paraphrases": ["Which human has 'Maxime Hego' as an alternative name in English?", "Find the person whose English alias is Maxime Hego and who is classified as a human."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> \"maxime he\"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }"}}
{"id": "test_10195", "question": "Does Wikidata contain an entity with GND ID 139363149?", "sparql": "ASK WHERE { ?item wdt:P227 \"139363149\" . }", "paraphrases": ["Is there a person in Wikidata identified by the German National Library ID 139363149?", "Check if the GND ID 139363149 is registered in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"139363149\". }"}}
{"id": "test_10196", "question": "How many Members of the European Parliament are there by gender?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT(COUNT(?person) AS ?count) ?gender ?genderLabel WHERE {\n  ?person wdt:P39 wd:Q27169 .\n  ?person wdt:P21 ?gender .\n  ?gender rdfs:label ?genderLabel .\n  FILTER(LANG(?genderLabel) = \"en\")\n}\nGROUP BY ?gender ?genderLabel\nORDER BY DESC(?count)", "paraphrases": ["Can you show the number of male, female, and other gender identities among Members of the European Parliament, sorted by highest count?", "What is the gender distribution of current Members of the European Parliament?"], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q13217683> . ?var1 <http://www.wikidata.org/prop/direct/P21> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } GROUP BY ?var3 ?var3Label ?var4 ORDER BY DESC( ?var2 )"}}
{"id": "test_10197", "question": "What are the main topics discussed in works that cite or are cited by the article on racial disparities in drug use disorder services?", "sparql": "SELECT DISTINCT ?mainSubject WHERE { { wd:Q37139172 wdt:P2860 ?work . ?work wdt:P921 ?mainSubject . } UNION { ?work wdt:P2860 wd:Q37139172 . ?work wdt:P921 ?mainSubject . } }", "paraphrases": ["Which subjects are connected to the study on service utilization barriers among racial groups through academic citations?", "Find all academic topics related to the paper on Black, Hispanic, and White drug use disparities via citation networks."], "info": {"raw_sparql": "SELECT ?var1 WHERE { { <http://www.wikidata.org/entity/Q37139172> <http://www.wikidata.org/prop/direct/P2860> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P921> ?var1 . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P2860> <http://www.wikidata.org/entity/Q37139172> . ?var3 <http://www.wikidata.org/prop/direct/P921> ?var1 . } }"}}
{"id": "test_10198", "question": "Who is the author in Wikidata with the Open Library ID OL1104A, and what is their English description?", "sparql": "SELECT ?author ?authorLabel ?description WHERE { ?author wdt:P648 \"OL1104A\" . OPTIONAL { ?author schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Can you find the English description of the person identified by OL1104A in Open Library?", "What is the English-language description of the author linked to Open Library ID OL1104A?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P648> \"OL6648596A\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10199", "question": "What are the direct subclasses of the human species in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subclass ?subclassLabel WHERE {\n  ?subclass wdt:P279 wd:Q5 .\n  OPTIONAL {\n    ?subclass rdfs:label ?subclassLabel .\n    FILTER(LANG(?subclassLabel) = \"en\")\n  }\n}", "paraphrases": ["Can you list the categories that are directly classified as types of humans, along with their English labels?", "Show me all the classes that are one step below \"human\" in the subclass hierarchy, and give me their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> \"com.bigdata.rdf.graph.analytics.SSSP\"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q5> ; <http://www.bigdata.com/rdf/gas#traversalDirection> \"Forward\"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10200", "question": "What is the English label and description of the Open Library author with ID OL5201510A?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P648 \"OL5201510A\" . OPTIONAL { ?item schema:description ?description FILTER(LANG(?description) = \"en\") } . ?item rdfs:label ?itemLabel FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["Can you find the English name and description of the person in Wikidata who has the Open Library ID OL5201510A?", "Show me the English label and description for the Open Library author ID OL5201510A."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P648> \"OL520100A\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10201", "question": "What is the English label and description of the Open Library author with ID OL4288183A?", "sparql": "SELECT ?author ?authorLabel ?description WHERE { ?author wdt:P648 \"OL4288183A\" . OPTIONAL { ?author rdfs:label ?authorLabel . FILTER (LANG(?authorLabel) = \"en\") } OPTIONAL { ?author schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Who is the person in Wikidata associated with the Open Library ID OL4288183A, and what is their English description?", "Please provide the English name and description of the author identified by OL4288183A in Open Library."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P648> \"OL4288183A\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10202", "question": "What is the English description of the Open Library author with ID OL5724171A?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nSELECT ?author ?authorLabel ?description WHERE {\n  ?author wdt:P648 \"OL5724171A\" .\n  OPTIONAL {\n    ?author schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Who is the French writer identified by the Open Library ID OL5724171A?", "Find the author in Wikidata with Open Library ID OL5724171A and show their English description."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P648> \"OL5724176A\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10203", "question": "List random subclasses of clothing with their English labels, regional variants (British/Canadian English), and corresponding Wikipedia page titles.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?clothingItem ?enLabel ?enGbLabel ?enCaLabel ?wikipediaPage ?wikipediaTitle WHERE {\n  ?clothingItem wdt:P279 wd:Q11460 .\n  ?clothingItem rdfs:label ?enLabel .\n  FILTER ( LANG( ?enLabel ) = \"en\" ) FILTER ( REGEX( STR( ?enLabel ) , \"^[A-Z]\" ) ) OPTIONAL {\n    ?clothingItem rdfs:label ?enGbLabel .\n    FILTER ( LANG( ?enGbLabel ) = \"en-gb\" )\n  }\n  OPTIONAL {\n    ?clothingItem rdfs:label ?enCaLabel .\n    FILTER ( LANG( ?enCaLabel ) = \"en-ca\" )\n  }\n  OPTIONAL {\n    ?wikipediaPage schema:about ?clothingItem ; schema:isPartOf <https://en.wikipedia.org/> ; schema:name ?wikipediaTitle .\n  }\n}\nORDER BY RAND ()\nLIMIT 5000", "paraphrases": ["What are some examples of clothing types (subclasses of clothing) that have English labels starting with a capital letter, and do they have British or Canadian English variants or Wikipedia articles?", "Show me a random sample of clothing items from Wikidata, including their English labels, any British or Canadian English alternatives, and links to their English Wikipedia pages."], "info": {"raw_sparql": "SELECT DISTINCT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q11460> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( REGEX ( STR ( ?var2Label ) , \"^[A-Z]\" ) ) ) . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = \"en-gb\" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en-ca\" ) ) ) . } OPTIONAL { ?var5 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://en.wikipedia.org/> ; <http://schema.org/name> ?var6 . } } ORDER BY ASC( RAND ( ) ) LIMIT 5000"}}
{"id": "test_10204", "question": "What is the English description of the author with Open Library ID OL891A?", "sparql": "SELECT ?author ?authorLabel ?description WHERE { ?author wdt:P648 \"OL891A\" . OPTIONAL { ?author schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Find the person in Wikidata who has the Open Library ID OL891A and show their English description.", "Who is the Indian independence activist identified by the Open Library ID OL891A, and what is their English description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P648> \"OL4272458A\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10205", "question": "What are some organizations listed in Wikidata?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?organization ?organizationLabel WHERE {\n  ?organization wdt:P31 wd:Q43229 .\n  ?organization rdfs:label ?organizationLabel .\n  FILTER ( LANG( ?organizationLabel ) = \"en\" )\n}\nLIMIT 1000", "paraphrases": ["Can you list the names of organizations in English from Wikidata?", "Show me 1000 examples of organizations and their English names from Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en \". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q43229> . } LIMIT 1000"}}
{"id": "test_10206", "question": "What are the buildings designed by Theophil Hansen, and where are they located?", "sparql": "SELECT DISTINCT ?building ?buildingLabel ?coord WHERE { ?building wdt:P84 wd:Q78638 . ?building wdt:P625 ?coord . OPTIONAL { ?building rdfs:label ?buildingLabel . FILTER(LANG(?buildingLabel) = 'en') } } ORDER BY ?buildingLabel", "paraphrases": ["List all architectural works by Theophil Hansen along with their coordinates.", "Show me the buildings designed by the architect Theophil Hansen, including their English names and geographic coordinates."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P84> <http://www.wikidata.org/entity/Q78638> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"el\". } SERVICE <http://wikiba.se/ontology#around> { ?var2 <http://www.wikidata.org/prop/direct/P625> ?var1 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> \"string1\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"20\". <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#distance> ?var3 . } FILTER ( ( NOT EXISTS { FILTER ( ( ( ?var4 > ?var3 ) ) ) . } ) ) . }"}}
{"id": "test_10207", "question": "Who were born on March 25th, and what are their occupations and countries?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?person ?personLabel ?birthDate ?occupationLabel ?countryLabel WHERE {\n  ?person wdt:P569 ?birthDate .\n  FILTER(DAY(?birthDate) = 25 && MONTH(?birthDate) = 3)\n  OPTIONAL {\n    ?person wdt:P106 ?occupation .\n    ?occupation rdfs:label ?occupationLabel .\n    FILTER(LANG(?occupationLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?person wdt:P27 ?country .\n    ?country rdfs:label ?countryLabel .\n    FILTER(LANG(?countryLabel) = \"en\")\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}\nORDER BY ?personLabel\nLIMIT 20", "paraphrases": ["Can you list people born on March 25th along with their professions and nationalities, sorted alphabetically by name?", "Show me notable individuals born on March 25th, including their jobs and where they are citizens from, in alphabetical order."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4Label ?var5 WHERE { ?var6 <http://wikiba.se/ontology#timePrecision> \"11\"^^<http://www.w3.org/2001/XMLSchema#integer> . ?var6 <http://wikiba.se/ontology#timeValue> ?var2 . ?var1 ( <http://www.wikidata.org/prop/P569> / <http://www.wikidata.org/prop/statement/value/P569> ) ?var6 . SERVICE <http://dbpedia.org/sparql> { ?var1 ( <http://purl.org/voc/vrank#hasRank> / <http://purl.org/voc/vrank#rankValue> ) ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"es,en,es\". } FILTER ( ( ( DAY ( ?var2 ) = \"25\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . FILTER ( ( ( MONTH ( ?var2 ) = \"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var4 . } } ORDER BY DESC( ?var5 )"}}
{"id": "test_10208", "question": "What properties are most commonly used to link other entities to Armenti\u00e8res, France, and how many times are they used?", "sparql": "SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q193925 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)", "paraphrases": ["Which connections to Armenti\u00e8res appear more than once in Wikidata, ranked by frequency?", "How is Armenti\u00e8res connected to other items in Wikidata? Show all properties with more than one connection, sorted by usage count."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q193925> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_10209", "question": "What is the English description and title of the book with Open Library ID OL3335245W?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P648 \"OL3335245W\" .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER(LANG(?itemLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Show me the title and a brief description in English for the book identified by OL3335245W in Open Library.", "Can you find the English label and description for the book linked to Open Library ID OL3335245W?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P648> \"OL1855408A\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10210", "question": "What is the English label for the Open Library author with ID OL7225572A?", "sparql": "SELECT ?item ?label ?description WHERE { ?item wdt:P648 \"OL7225572A\" . OPTIONAL { ?item rdfs:label ?label . FILTER (LANG(?label) = \"en\") } OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Who is the person identified by the Open Library ID OL7225572A, and what is their English Wikipedia description?", "Please find the Wikidata entry for the Open Library author OL7225572A and return its English name and description."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P648> \"OL7225572A\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10211", "question": "What is the English name of the Open Library author with ID OL2504837A?", "sparql": "SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P648 \"OL2504837A\" . OPTIONAL { ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = \"en\") } OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["Can you find the Wikidata entry for the author with Open Library ID OL2504837A and show its English label and description?", "Who is the author associated with the Open Library ID OL2504837A, and what is their English Wikipedia-style description?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P648> \"OL2504837A\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10212", "question": "What is the English label for the Open Library author with ID OL1738126A?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item ?label ?description WHERE {\n  ?item wdt:P648 \"OL1738126A\" .\n  OPTIONAL {\n    ?item rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["Who is the author in Wikidata associated with the Open Library ID OL1738126A, and what is their English description?", "Show me the name and English description of the author identified by Open Library ID OL1738126A."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P648> \"OL1738126A\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10213", "question": "Does Anna Maria of Baden have a GND ID of 139255168?", "sparql": "ASK WHERE { ?item wdt:P227 \"139255168\" . }", "paraphrases": ["Is there a Wikidata item for the person with GND ID 139255168?", "Confirm if the GND ID 139255168 is assigned to any entity in Wikidata."], "info": {"raw_sparql": "ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> \"139255168\". }"}}
{"id": "test_10214", "question": "Which Wikidata items have Twitter usernames \"cduhigg\", \"CNBC\", or \"Google\"?", "sparql": "SELECT ?item ?twitterUsername WHERE { ?item wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { \"cduhigg\" \"CNBC\" \"Google\" } }", "paraphrases": ["Who are the people or organizations on Wikidata that use \"cduhigg\", \"CNBC\", or \"Google\" as their Twitter/X handle?", "Show me the entities in Wikidata that are associated with the Twitter usernames cduhigg, CNBC, and Google."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( \"cbearman\" ) ( \"attunity\" ) ( \"wuzzername\" ) ( \"string1\" ) ( \"NurseRabbi\" ) ( \"tictoc\" ) ( \"string2\" ) ( \"string3\" ) ( \"string4\" ) ( \"cduhigg\" ) ( \"CNBC\" ) ( \"string5\" ) ( \"Google\" ) ( \"string6\" ) ( \"womenvt\" ) ( \"VTPamplin\" ) ( \"vt_cwib\" ) ( \"string7\" ) ( \"HenricoNow\" ) ( \"string8\" ) ( \"string9\" ) ( \"string10\" ) ( \"string11\" ) ( \"string12\" ) ( \"mbsimon\" ) } }"}}
{"id": "test_10215", "question": "Labels and image of the movie \"Gone with the Wind\" in English, German, French, and Italian.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?image WHERE {\n  wd:Q2875 rdfs:label ?label FILTER ( LANG( ?label ) IN ( 'en' , 'de' , 'fr' , 'it' ) ) .\n  OPTIONAL {\n    wd:Q2875 wdt:P18 ?image\n  }\n}\nORDER BY ?label", "paraphrases": ["What are the titles of the film \"Gone with the Wind\" in different languages, and what is its official image?", "Show me the names of the 1939 film \"Gone with the Wind\" in English, German, French, and Italian, along with its poster image."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q130232> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var7 ) ) ) . VALUES ( ?var7 ?var8 ) { ( \"undefined\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q130232> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q130232> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"undefined\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q130232> <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q130232> ; <http://schema.org/inLanguage> \"undefined\"; <http://schema.org/isPartOf> <https://undefined.wikipedia.org/> . } } ORDER BY ASC( ?var8 )"}}
{"id": "test_10216", "question": "What are all the broader categories or classes that the honorary doctor of the Jagiellonian University of Krakow belongs to, through the subclass hierarchy?", "sparql": "SELECT DISTINCT ?subclass ?subclassLabel WHERE { wd:Q20853550 wdt:P279* ?subclass . ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") } LIMIT 20", "paraphrases": ["List all the superclasses of the award \"honorary doctor of the Jagiellonian University of Krakow\" in Wikidata.", "What types of things is the honorary doctor of the Jagiellonian University of Krakow a subclass of?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q20853550> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }"}}
{"id": "test_10217", "question": "What are the top 15 most popular sports based on the number of athletes or teams associated with them on Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nSELECT ?sportLabel ?count WHERE {\n  {\n    SELECT ?sport(COUNT(DISTINCT ?athlete) AS ?count) WHERE {\n      ?athlete wdt:P641 ?sport .\n    }\n    GROUP BY ?sport\n    ORDER BY DESC(?count)\n    LIMIT 15\n  }\n  ?sport rdfs:label ?sportLabel .\n  FILTER(LANG(?sportLabel) = \"en\")\n}\nORDER BY DESC(?count)", "paraphrases": ["Which sports have the highest number of participants listed on Wikidata, and how many are there for each?", "List the 15 sports with the most associated entities on Wikidata, ranked by count, along with their English labels."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 WHERE { { SELECT ?var1 ( COUNT ( DISTINCT ?var3 ) AS ?var2 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P641> ?var1 ; <http://wikiba.se/ontology#statements> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> . } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 15 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY DESC( ?var2 )"}}
{"id": "test_10218", "question": "Things located in Stara Zagora with English labels", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P276 wd:Q170415 . ?item schema:name ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["What events, venues, or institutions are located in Stara Zagora, Bulgaria, and have English names?", "List all the English-named items (such as festivals, stadiums, or museums) that are located in Stara Zagora."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P276> <http://www.wikidata.org/entity/Q170415> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10219", "question": "What villages and towns are located near D\u00e9destapolcs\u00e1ny in Hungary?", "sparql": "SELECT ?place (SAMPLE(?placeLabelEn) AS ?placeLabel) (SAMPLE(?typeLabelEn) AS ?typeLabel) ?coord WHERE { wd:Q912767 wdt:P131 ?district . ?place wdt:P131 ?district . ?place wdt:P31 ?type . ?place wdt:P625 ?coord . ?place rdfs:label ?placeLabelEn . ?type rdfs:label ?typeLabelEn . FILTER(LANG(?placeLabelEn) = \"en\" || LANG(?placeLabelEn) = \"\") FILTER(LANG(?typeLabelEn) = \"en\" || LANG(?typeLabelEn) = \"\") } GROUP BY ?place ?coord", "paraphrases": ["List all municipalities in the same district as D\u00e9destapolcs\u00e1ny, along with their types and coordinates.", "Show me the places in the Kazincbarcika District, including their names and whether they are towns or municipalities."], "info": {"raw_sparql": "SELECT * WHERE { SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5Label WHERE { <http://www.wikidata.org/entity/Q912767> <http://www.wikidata.org/prop/direct/P625> ?var6 . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> ?var6 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> \"10\". } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"hu,en\". } } }"}}
{"id": "test_10220", "question": "MoMA artist ID 2206, English label and description", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?artist ?artistLabel ?description WHERE {\n  ?artist wdt:P2174 \"2206\" .\n  ?artist rdfs:label ?artistLabel .\n  FILTER(LANG(?artistLabel) = \"en\")\n  OPTIONAL {\n    ?artist schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["Who is the artist with MoMA ID 2206, and what is their English description?", "Please provide the name and English description of the artist identified by MoMA artist ID 2206."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2174> \"6964\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10221", "question": "Most common unit used for Elo ratings in Wikidata and its count.", "sparql": "PREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?unit ?unitLabel ?count WHERE {\n  {\n    SELECT ?unit ( COUNT( DISTINCT ?item ) AS ?count ) WHERE {\n      ?item psv:P1087 / wikibase:quantityUnit ?unit .\n    }\n    GROUP BY ?unit\n  }\n  OPTIONAL {\n    ?unit rdfs:label ?unitLabel .\n    FILTER ( LANG( ?unitLabel ) = \"en\" )\n  }\n}\nORDER BY DESC ( ?count )\nLIMIT 10", "paraphrases": ["What unit is used for the majority of Elo ratings in Wikidata, and how many ratings use it?", "Show me the most frequently used unit for Elo ratings in Wikidata along with how many items use that unit."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 ( COUNT ( DISTINCT ?var3 ) AS ?var2 ) WHERE { ?var3 ( <http://www.wikidata.org/prop/statement/value/P1087> / <http://wikiba.se/ontology#quantityUnit> ) ?var1 . } GROUP BY ?var1 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } } ORDER BY DESC( ?var2 ) LIMIT 10"}}
{"id": "test_10222", "question": "What sport does Laurent Koscielny play?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT DISTINCT ?player ?sport ?award ?awardDate WHERE {\n  wd:Q1915 wdt:P641 ?sport .\n  OPTIONAL {\n    wd:Q1915 p:P166 ?awardStmt .\n    ?awardStmt ps:P166 ?award .\n    ?awardStmt pq:P585 ?awardDate .\n  }\n}", "paraphrases": ["Has Laurent Koscielny received any awards, and if so, when?", "Tell me about Laurent Koscielny\u2019s sports career and any honors he has won."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label ?var2 ?var3Label ?var4Label ?var5 ?var5Label ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P641> ?var12 . <https://fr.wikipedia.org/wiki/Laurent%20Koscielny> <http://schema.org/about> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/P166> ?var13 . ?var13 <http://www.wikidata.org/prop/statement/P166> ?var3 . OPTIONAL { ?var13 <http://www.wikidata.org/prop/qualifier/P585> ?var2 . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_10223", "question": "Architectural structures in Wales with \"pier\" in their name and their types, along with Cadw IDs.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?structure ?structureLabel ?typeLabel ?cadwId WHERE {\n  ?structure wdt:P1459 ?cadwId .\n  ?structure rdfs:label ?structureLabel .\n  ?structure wdt:P31 wd:Q811979 .\n  ?structure wdt:P31 ?type .\n  ?type rdfs:label ?typeLabel .\n  FILTER ( CONTAINS( LCASE( ?structureLabel ) , \"pier\" ) ) .\n  FILTER ( LANG( ?structureLabel ) = \"en\" ) .\n  FILTER ( LANG( ?typeLabel ) = \"en\" ) .\n}", "paraphrases": ["What are the English-named architectural structures in Wales containing \"pier\" in their name, what types do they belong to, and what are their Cadw Building IDs?", "List all Welsh listed buildings (Cadw ID) with \"pier\" in their English name, showing all their instance types and their labels."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1459> ?var4 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q811979> . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( CONTAINS ( LCASE ( ?var1Label ) , \"pier\" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = \"en\" ) ) ) . }"}}
{"id": "test_10224", "question": "Cultural heritage sites near 10\u00b0E, 60\u00b0N with images and Commons categories.", "sparql": "SELECT ?item ?itemLabel ?coord ?image ?commonsCategory WHERE { ?item (wdt:P31/wdt:P279*) wd:Q2065736 . ?item wdt:P625 ?coord . BIND(STRBEFORE(SUBSTR(STR(?coord), 7), \" \") AS ?lon) BIND(SUBSTR(SUBSTR(STR(?coord), 7), STRLEN(?lon) + 2, 10) AS ?latStr) BIND(STRBEFORE(?latStr, \")\") AS ?lat) FILTER(xsd:double(?lon) >= 10.0 && xsd:double(?lon) <= 10.1) FILTER(xsd:double(?lat) >= 60.0 && xsd:double(?lat) <= 60.1) OPTIONAL { ?item wdt:P18 ?image . } OPTIONAL { ?item wdt:P373 ?commonsCategory . } ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } LIMIT 50", "paraphrases": ["What cultural properties are located between 10.0 and 10.1 degrees east and 60.0 and 60.1 degrees north, and what are their images and Wikimedia Commons categories?", "Show me cultural heritage sites in southern Norway (around 10\u00b0E, 60\u00b0N), including their images and associated Wikimedia Commons categories."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(10 60)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(10 60)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q2065736> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_10225", "question": "What is the mass of the top quark, and what is its English description?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel ?mass ?description WHERE {\n  VALUES ?item {\n    wd:Q6778\n  }\n  ?item wdt:P2067 ?mass .\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" ) OPTIONAL {\n    ?item schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["Can you tell me the label and mass of the top quark in English?", "Show me the English name, mass, and description of the top quark."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3328> \"Top_mass\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10226", "question": "Wikidata items representing Japanese Wikipedia templates that are not classified as real-world entities.", "sparql": "SELECT ?templateItem ?templateName WHERE { ?wikipediaPage schema:isPartOf <https://ja.wikipedia.org/> ; schema:about ?templateItem ; schema:name ?templateName . MINUS { ?templateItem wdt:P31 [] . } MINUS { ?templateItem wdt:P279 [] . } FILTER(STRSTARTS(?templateName, \"Template:\")) } LIMIT 100", "paraphrases": ["What are the Wikidata items for templates on the Japanese Wikipedia that are not instances or subclasses of any class?", "List the Wikidata entities linked to Japanese Wikipedia templates (starting with \"Template:\") that are not categorized as real-world objects."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var3 <http://schema.org/isPartOf> <https://ja.wikipedia.org/> ; <http://schema.org/about> ?var1 ; <http://schema.org/name> ?var2 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> [] . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P279> [] . } FILTER ( ( STRSTARTS ( ?var2 , \"Template:\" ) ) ) . } LIMIT 100"}}
{"id": "test_10227", "question": "Who died in 1942?", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person WHERE {\n  ?person wdt:P570 ?deathDate .\n  FILTER(?deathDate >= \"1942-01-01T00:00:00Z\" ^^ xsd:dateTime && ?deathDate <= \"1942-12-31T23:59:59Z\" ^^ xsd:dateTime)\n}", "paraphrases": ["List of people who died in 1942", "Can you provide a list of all individuals whose date of death was between January 1 and December 31, 1942?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . FILTER ( ( ( ?var2 >= \"1942-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1942-12-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_10228", "question": "Label, image, coordinates, and Wikipedia article for the TV film \"Tatort: Der illegale Tod\" in English, German, French, and Italian.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?image ?coordinates ?wikipediaArticle WHERE {\n  wd:Q1475277 rdfs:label ?label .\n  VALUES ( ?langPref ?sortOrder ) {\n    ( \"en\" 1 ) ( \"de\" 2 ) ( \"fr\" 3 ) ( \"it\" 4 )\n  }\n  FILTER ( LANG( ?label ) = ?langPref ) OPTIONAL {\n    wd:Q1475277 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q1475277 wdt:P625 ?coordinates .\n  }\n  OPTIONAL {\n    ?wikipediaArticle schema:about wd:Q1475277 ; schema:inLanguage ?langPref ; schema:isPartOf ?wikiSite .\n    FILTER ( STRSTARTS( STR( ?wikiSite ) , \"https://\" ) )\n  }\n}\nORDER BY ?sortOrder", "paraphrases": ["What are the English and German labels, image, coordinates, and corresponding Wikipedia articles for the TV film \"Tatort: Der illegale Tod\"?", "Please provide the label in preferred languages (en, de, fr, it), image, geographic coordinates, and Wikipedia links for the TV film \"Tatort: Der illegale Tod\"."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/statement/Q1475277-BECFA501-B6EC-4D7E-990A-EB3618DA29BE> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var7 ) ) ) . VALUES ( ?var7 ?var8 ) { ( \"undefined\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/statement/Q1475277-BECFA501-B6EC-4D7E-990A-EB3618DA29BE> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/statement/Q1475277-BECFA501-B6EC-4D7E-990A-EB3618DA29BE> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"undefined\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/statement/Q1475277-BECFA501-B6EC-4D7E-990A-EB3618DA29BE> <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/statement/Q1475277-BECFA501-B6EC-4D7E-990A-EB3618DA29BE> ; <http://schema.org/inLanguage> \"undefined\"; <http://schema.org/isPartOf> <https://undefined.wikipedia.org/> . } } ORDER BY ASC( ?var8 )"}}
{"id": "test_10229", "question": "What are the different types of database models, and do any of them have images available on Wikimedia Commons?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?var1 ?var1Label ?var3 WHERE {\n  ?var1 wdt:P31 wd:Q267136 .\n  OPTIONAL {\n    ?var1 rdfs:label ?var1Label .\n  }\n  OPTIONAL {\n    ?var1 wdt:P18 ?var3 .\n  }\n}\nLIMIT 100", "paraphrases": ["Can you list the names of all database models and show their images if they exist?", "Which database models are defined in Wikidata, what are their labels in various languages, and are there any associated images?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q267136> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_10230", "question": "What are all the subclasses of polytope, and what are their immediate parent classes?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?subclass ?directParent WHERE {\n  ?subclass wdt:P279 * wd:Q747980 .\n  OPTIONAL {\n    ?subclass wdt:P279 ?directParent .\n  }\n}\nLIMIT 50", "paraphrases": ["List all subclasses of polytope and their direct superclass.", "Show me the hierarchy of polytope subclasses, including direct parents."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q747980> ) } ?var1 <http://www.wikidata.org/prop/direct/P279> * ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } }"}}
{"id": "test_10231", "question": "Cities in France with currently active heads of government.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nSELECT DISTINCT ?city ?cityLabel WHERE {\n  BIND( wd:Q515 AS ?cityClass ) .\n  ?city ( wdt:P31 / wdt:P279 * ) ?cityClass .\n  ?city wdt:P17 wd:Q142 .\n  ?city p:P6 ?headOfGovernmentStatement .\n  FILTER ( NOT EXISTS {\n    ?headOfGovernmentStatement pq:P582 ?endTime .\n  }\n  ) .\n  ?city rdfs:label ?cityLabel .\n  FILTER ( LANG( ?cityLabel ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Which cities in France currently have a head of government?", "List all French cities that have an ongoing head of government position (no end date)."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { BIND ( <http://www.wikidata.org/entity/Q515> AS ?var2 ). ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var2 . ?var1 <http://www.wikidata.org/prop/P6> ?var3 . ?var1 ?var4 <http://www.wikidata.org/entity/Q142> . FILTER ( ( NOT EXISTS { ?var3 <http://www.wikidata.org/prop/qualifier/P582> ?var5 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } } LIMIT 100"}}
{"id": "test_10232", "question": "People who are draftspersons and their end dates for that field of work.", "sparql": "SELECT ?person ?statement (SAMPLE(?endDate) AS ?latestDate) WHERE { ?person p:P101 ?statement . ?statement ps:P101 wd:Q15296811 . OPTIONAL { ?statement pq:P1326 ?endDate . } } GROUP BY ?person ?statement LIMIT 101", "paraphrases": ["Which people have draftsperson as their field of work, and when did they stop working in that field?", "Show me a list of draftspersons along with the latest date they were active in that profession, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P101> <http://www.wikidata.org/entity/Q15296811> . ?var1 <http://www.wikidata.org/prop/P101> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_10233", "question": "What film has the IMDb ID tt1417086?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?film WHERE {\n  ?film wdt:P345 \"tt1417086\" .\n  ?film wdt:P31 wd:Q11424 .\n}", "paraphrases": ["Which movie is associated with the IMDb identifier tt1417086?", "Find the film that corresponds to the IMDb ID tt1417086."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt1417086\". }"}}
{"id": "test_10234", "question": "Film with KINENOTE ID 55261", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P2508 \"55261\" .\n}", "paraphrases": ["What film is identified by the KINENOTE film ID 55261?", "Tell me the name of the film that has the KINENOTE ID 55261."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2508> \"55261\". }"}}
{"id": "test_10235", "question": "What are the districts of Schmallenberg and their GND IDs?", "sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 wdt:P131* wd:Q5628 . ?var1 wdt:P31 wd:Q253019 . ?var1 wdt:P227 ?var2 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"de\") }", "paraphrases": ["Can you list the German localities within Schmallenberg along with their German National Library identifiers?", "Show me the names and GND IDs of all administrative subdivisions of Schmallenberg, Germany."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var1 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q5628> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q253019> . ?var1 <http://www.wikidata.org/prop/direct/P227> * ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_10236", "question": "What are the districts of Bad Laasphe in Germany, and what are their GND IDs?", "sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 wdt:P131* wd:Q6755 . ?var1 wdt:P31 wd:Q253019 . ?var1 wdt:P227 ?var2 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") }", "paraphrases": ["Can you list the English names and German National Library IDs of all localities in Bad Laasphe?", "Which parts of Bad Laasphe are officially recognized as districts, and what are their identifiers in the German National Library system?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var1 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q6755> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q253019> . ?var1 <http://www.wikidata.org/prop/direct/P227> * ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_10237", "question": "Film with OFDb ID 7316 and its English title and description", "sparql": "SELECT ?film ?filmLabel ?description WHERE { ?film wdt:P3138 \"7316\" . OPTIONAL { ?film rdfs:label ?filmLabel . FILTER (LANG(?filmLabel) = \"en\") } OPTIONAL { ?film schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["What is the English title and description of the film with OFDb ID 7316?", "Show me the English name and description of the movie identified by OFDb ID 7316."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3138> \"32107\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10238", "question": "What are Magnus Carlsen's historical Elo ratings and the dates they were recorded?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?date ?eloRating WHERE {\n  wd:Q106807 p:P1087 ?statement .\n  ?statement pq:P585 ?date ; ps:P1087 ?eloRating .\n}\nORDER BY ASC ( ?date )", "paraphrases": ["Magnus Carlsen Elo rating history over time", "Show me the timeline of Magnus Carlsen's chess Elo ratings with dates."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q10873124> <http://www.wikidata.org/prop/P1087> ?var3 . ?var3 <http://www.wikidata.org/prop/qualifier/P585> ?var1 ; <http://www.wikidata.org/prop/statement/P1087> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_10239", "question": "List artworks depicting a lion with their English names, creation years, and images from Wikimedia Commons.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?item ?itemLabel ( YEAR( ?inception ) AS ?year ) ?image WHERE {\n  ?item wdt:P180 wd:Q140 .\n  OPTIONAL {\n    ?item wdt:P571 ?inception .\n  }\n  OPTIONAL {\n    ?item wdt:P18 ?image .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}\nORDER BY ASC ( ?itemLabel )", "paraphrases": ["What are the English-labeled items that depict a lion, and when were they created? Do any have images on Commons?", "Show me all items that feature a lion, including their English labels, the year they were made, and their associated images \u2014 but only if they have an English label."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3Label ( YEAR ( ?var4 ) AS ?var5 ) ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P180> <http://www.wikidata.org/entity/Q140> . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P170> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_10240", "question": "Works depicting pelicans, their type, creator, year of creation, and image.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?work ?type ?creator ( YEAR( ?inceptionDate ) AS ?year ) ?image WHERE {\n  ?work wdt:P180 wd:Q19413 .\n  ?work wdt:P31 ?type .\n  OPTIONAL {\n    ?work wdt:P170 ?creator .\n  }\n  OPTIONAL {\n    ?work wdt:P571 ?inceptionDate .\n  }\n  OPTIONAL {\n    ?work wdt:P18 ?image .\n  }\n}\nORDER BY ASC ( ?work )\nLIMIT 50", "paraphrases": ["What are the artworks that depict pelicans, and what are their types, creators, creation years, and associated images?", "List all creative works that feature a pelican, including their classification, artist (if known), year created, and image from Wikimedia Commons."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3Label ( YEAR ( ?var4 ) AS ?var5 ) ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P180> <http://www.wikidata.org/entity/Q19413> . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P170> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1Label )"}}
{"id": "test_10241", "question": "Which movie has the IMDb ID tt0086759?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P345 \"tt0086759\" .\n}", "paraphrases": ["What is the Wikidata item for the TV series with IMDb identifier tt0086759?", "Find the Wikidata entity for the movie or TV show with IMDb ID tt0086759."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0086759\". }"}}
{"id": "test_10242", "question": "What Wikidata item has the IMDb ID tt0125403?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P345 \"tt0125403\" .\n}", "paraphrases": ["Which movie or documentary on Wikidata is identified by the IMDb ID tt0125403?", "Find the Wikidata entity for the film with IMDb identifier tt0125403."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0125403\". }"}}
{"id": "test_10243", "question": "What are the birth and death dates of William Somerville?", "sparql": "SELECT ?personLabel ?birthDate ?deathDate WHERE { wd:Q8018611 rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") . OPTIONAL { wd:Q8018611 wdt:P569 ?birthDate . } OPTIONAL { wd:Q8018611 wdt:P570 ?deathDate . } }", "paraphrases": ["Can you tell me the lifespan of William Somerville, including his birth and death years?", "Show me the English label, date of birth, and date of death for the person with Wikidata ID Q8018611."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q8018611> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10244", "question": "Theatricalia theatre IDs and their English descriptions", "sparql": "SELECT ?theatre ?theatreLabel ?description WHERE { ?theatre wdt:P2468 ?theatricaliaId . OPTIONAL { ?theatre schema:description ?description . FILTER (LANG(?description) = \"en\") } }", "paraphrases": ["What are the venues with a Theatricalia ID and their English descriptions?", "Show me venues that have a Theatricalia ID along with their English descriptions."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2468> \"d4\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10245", "question": "People with WikiTree IDs born or died before 1582, excluding proleptic Julian calendar dates.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX psv: <http://www.wikidata.org/prop/statement/value/>\nSELECT ?date ?wikitreeUrl ?person WHERE {\n  ?person wdt:P2949 ?wikitreeId .\n  {\n    ?person(p:P569 / psv:P569) ?dateStatement .\n  } UNION {\n    ?person(p:P570 / psv:P570) ?dateStatement .\n  }\n  BIND(IRI(CONCAT(\"https://www.wikitree.com/wiki/\" , ?wikitreeId)) AS ?wikitreeUrl)\n  ?dateStatement wikibase:timeValue ?date .\n  ?dateStatement wikibase:timeCalendarModel ?calendarModel .\n  FILTER(YEAR(?date) < 1582)\n  FILTER(?calendarModel != wd:Q1985786)\n}\nORDER BY ASC(?date)", "paraphrases": ["Who are the historical figures with WikiTree profiles whose birth or death occurred before 1582, and what are their WikiTree URLs?", "List all people in Wikidata with a WikiTree ID and a birth or death date before 1582, along with their corresponding WikiTree URLs, excluding those using the proleptic Julian calendar."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P2949> ?var4 . { ?var3 ( <http://www.wikidata.org/prop/P569> / <http://www.wikidata.org/prop/statement/value/P569> ) ?var5 . } UNION { ?var3 ( <http://www.wikidata.org/prop/P570> / <http://www.wikidata.org/prop/statement/value/P570> ) ?var5 . } BIND ( IRI ( CONCAT ( \"string1\", ?var4 ) ) AS ?var2 ). ?var5 <http://wikiba.se/ontology#timeValue> ?var1 . ?var5 <http://wikiba.se/ontology#timeCalendarModel> ?var6 . FILTER ( ( ( YEAR ( ?var1 ) < \"1582\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . FILTER ( ( ( ?var6 != <http://www.wikidata.org/entity/Q1985786> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } ORDER BY ASC( ?var1 )"}}
{"id": "test_10246", "question": "Religious order of Jesuit priests such as Joseph Pignatelli, Ren\u00e9 Goupil, and Stanislaus Kostka.", "sparql": "SELECT ?person ?order ?orderLabel WHERE { VALUES ?person { wd:Q554150 wd:Q1886600 wd:Q2266240 wd:Q957622 wd:Q588832 wd:Q659194 wd:Q927698 wd:Q1352107 wd:Q251431 wd:Q2668281 wd:Q1848680 wd:Q380649 wd:Q454814 wd:Q1524650 wd:Q298664 wd:Q45283 wd:Q203437 wd:Q7349928 } ?person wdt:P611 ?order . ?order rdfs:label ?orderLabel . FILTER(LANG(?orderLabel) = \"en\") }", "paraphrases": ["To which religious order did the Jesuit missionaries and saints like Antoine Daniel, Isaac Jogues, and Gabriel Lalemant belong?", "List the religious order associated with the following Jesuit individuals: Joseph Pignatelli, Ren\u00e9 Goupil, No\u00ebl Chabanel, Antoine Daniel, Stanislaus Kostka, Charles Spinola, Julian Maunoir, 120 Martyrs of China, Robert Bellarmine, Paul Miki, Rupert Mayer, Peter Faber, Alberto Hurtado, Isaac Jogues, Jacques Berthieu, Melchior Grodziecki, Gabriel Lalemant, and Alberto Hurtado."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q554150> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/Q1886600> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/Q405369> ) ( <http://www.wikidata.org/entity/Q2266240> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/Q957622> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/Q588832> ) ( <http://www.wikidata.org/entity/Q659194> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/Q1352107> ) ( <http://www.wikidata.org/entity/Q251431> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/Q927698> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/Q2668281> ) ( <http://www.wikidata.org/entity/Q1848680> ) ( <http://www.wikidata.org/entity/Q2668281> ) ( <http://www.wikidata.org/entity/Q380649> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/Q454814> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/Q1524650> ) ( <http://www.wikidata.org/entity/Q298664> ) ( <http://www.wikidata.org/entity/Q7349928> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/Q45283> ) ( <http://www.wikidata.org/entity/Q203437> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/null> ) } ?var1 <http://www.wikidata.org/prop/direct/P611> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10247", "question": "English name, description, and image of the river Bonne.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?description ?image WHERE {\n  OPTIONAL {\n    wd:Q2910209 rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n  OPTIONAL {\n    wd:Q2910209 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q2910209 schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["What is the English name, description, and image of the river Bonne?", "Show me the English label, description, and associated image for the river Bonne."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q2910209> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q2910209> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q2910209> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_10248", "question": "What leagues and tournaments has VfB Stuttgart participated in?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?competition ?competitionLabel WHERE {\n  wd:Q4512(wdt:P118 | wdt:P1344) ?competition .\n  ?competition rdfs:label ?competitionLabel .\n  FILTER(LANG(?competitionLabel) = \"en\")\n}", "paraphrases": ["Can you list the competitions, such as leagues or cups, that VfB Stuttgart has been part of?", "Which events or seasons include VfB Stuttgart as a participant?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16466010> . ?var1 <http://www.wikidata.org/prop/direct/P1923> <http://www.wikidata.org/entity/Q4512> . ?var1 <http://www.wikidata.org/prop/direct/P179> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } }"}}
{"id": "test_10249", "question": "Terrorist attacks involving trucks as weapons", "sparql": "SELECT ?attack ?attackLabel WHERE { ?attack wdt:P520 wd:Q43193 . ?attack rdfs:label ?attackLabel . FILTER(LANG(?attackLabel) = \"en\") }", "paraphrases": ["Which terrorist attacks used a truck as an armament?", "List the terrorist attacks that were carried out using a truck."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P520> <http://www.wikidata.org/entity/Q43193> . ?var1 <http://www.wikidata.org/prop/P520> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_10250", "question": "Subclasses of publisher in Wikidata", "sparql": "SELECT ?subclass ?subclassLabel WHERE { ?subclass wdt:P279 wd:Q2085381 . ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = \"en\") } LIMIT 11", "paraphrases": ["What are some examples of types of publishers?", "List up to 11 English-labeled subclasses of the publisher entity in Wikidata."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q2085381> . } LIMIT 11 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10251", "question": "Items classified as citizenship in Wikidata", "sparql": "SELECT ?item ?itemLabel WHERE { ?item wdt:P31 wd:Q42138 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } LIMIT 100", "paraphrases": ["What are some examples of citizenship types or laws in Wikidata?", "List all entities in Wikidata that are instances of citizenship."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q42138> . } LIMIT 100"}}
{"id": "test_10252", "question": "What types are famous novels like Don Quixote, War and Peace, and Lolita classified as in Wikidata?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?work ?type ?typeLabel WHERE {\n  VALUES ?work {\n    wd:Q480 wd:Q161531 wd:Q527779 wd:Q464928 wd:Q183157 wd:Q174596 wd:Q193417 wd:Q313129 wd:Q212898 wd:Q8269 wd:Q226248 wd:Q883305 wd:Q147787 wd:Q215410 wd:Q226406 wd:Q219552 wd:Q650571 wd:Q178869 wd:Q214371 wd:Q478016 wd:Q165318 wd:Q135515 wd:Q229355 wd:Q1784288 wd:Q6507 wd:Q1195668 wd:Q1212160 wd:Q2443714 wd:Q1164083 wd:Q398312 wd:Q2776448 wd:Q287205 wd:Q767802 wd:Q362233 wd:Q622303 wd:Q14335563 wd:Q1009921 wd:Q5021517 wd:Q165947 wd:Q694245 wd:Q2030203 wd:Q235795 wd:Q6992413 wd:Q460583 wd:Q483034 wd:Q151883 wd:Q215894 wd:Q165599 wd:Q1570020 wd:Q842074 wd:Q1476619 wd:Q418275 wd:Q1376060 wd:Q208460 wd:Q16884451 wd:Q493574 wd:Q2222 wd:Q180736 wd:Q743180 wd:Q150827 wd:Q1193736 wd:Q183883 wd:Q401229 wd:Q208622 wd:Q41542 wd:Q140527 wd:Q296479\n  }\n  ?work wdt:P31 ?type .\n  ?type rdfs:label ?typeLabel .\n  FILTER ( LANG( ?typeLabel ) = \"en\" )\n}\nORDER BY ?work", "paraphrases": ["For a list of classic novels including Don Quixote, Moby-Dick, and Anna Karenina, what are their Wikidata instance-of classifications, and what are their English labels?", "Can you tell me the category (e.g., literary work or written work) that each of these well-known books belongs to in Wikidata?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q480> ) ( <http://www.wikidata.org/entity/Q161531> ) ( <http://www.wikidata.org/entity/Q527779> ) ( <http://www.wikidata.org/entity/Q464928> ) ( <http://www.wikidata.org/entity/Q183157> ) ( <http://www.wikidata.org/entity/Q174596> ) ( <http://www.wikidata.org/entity/Q193417> ) ( <http://www.wikidata.org/entity/Q313129> ) ( <http://www.wikidata.org/entity/Q212898> ) ( <http://www.wikidata.org/entity/Q8269> ) ( <http://www.wikidata.org/entity/Q226248> ) ( <http://www.wikidata.org/entity/Q883305> ) ( <http://www.wikidata.org/entity/Q147787> ) ( <http://www.wikidata.org/entity/Q215410> ) ( <http://www.wikidata.org/entity/Q226406> ) ( <http://www.wikidata.org/entity/Q219552> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/Q650571> ) ( <http://www.wikidata.org/entity/Q178869> ) ( <http://www.wikidata.org/entity/Q214371> ) ( <http://www.wikidata.org/entity/Q478016> ) ( <http://www.wikidata.org/entity/Q165318> ) ( <http://www.wikidata.org/entity/Q135515> ) ( <http://www.wikidata.org/entity/Q229355> ) ( <http://www.wikidata.org/entity/Q1784288> ) ( <http://www.wikidata.org/entity/Q6507> ) ( <http://www.wikidata.org/entity/Q1195668> ) ( <http://www.wikidata.org/entity/Q1212160> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/Q2443714> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/Q1164083> ) ( <http://www.wikidata.org/entity/Q647379> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/Q326909> ) ( <http://www.wikidata.org/entity/Q240617> ) ( <http://www.wikidata.org/entity/Q465360> ) ( <http://www.wikidata.org/entity/Q202975> ) ( <http://www.wikidata.org/entity/Q899334> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/Q170583> ) ( <http://www.wikidata.org/entity/Q907568> ) ( <http://www.wikidata.org/entity/Q395211> ) ( <http://www.wikidata.org/entity/Q430248> ) ( <http://www.wikidata.org/entity/Q446065> ) ( <http://www.wikidata.org/entity/Q604418> ) ( <http://www.wikidata.org/entity/Q127149> ) ( <http://www.wikidata.org/entity/Q784986> ) ( <http://www.wikidata.org/entity/Q980534> ) ( <http://www.wikidata.org/entity/Q8265> ) ( <http://www.wikidata.org/entity/Q36097> ) ( <http://www.wikidata.org/entity/Q182961> ) ( <http://www.wikidata.org/entity/Q1219239> ) ( <http://www.wikidata.org/entity/Q215983> ) ( <http://www.wikidata.org/entity/Q225329> ) ( <http://www.wikidata.org/entity/Q622400> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/Q398312> ) ( <http://www.wikidata.org/entity/Q2776448> ) ( <http://www.wikidata.org/entity/Q287205> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/Q767802> ) ( <http://www.wikidata.org/entity/Q362233> ) ( <http://www.wikidata.org/entity/Q622303> ) ( <http://www.wikidata.org/entity/Q14335563> ) ( <http://www.wikidata.org/entity/Q1009921> ) ( <http://www.wikidata.org/entity/Q5021517> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/Q165947> ) ( <http://www.wikidata.org/entity/Q694245> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/Q2030203> ) ( <http://www.wikidata.org/entity/Q235795> ) ( <http://www.wikidata.org/entity/Q6992413> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/Q460583> ) ( <http://www.wikidata.org/entity/Q483034> ) ( <http://www.wikidata.org/entity/Q151883> ) ( <http://www.wikidata.org/entity/Q215894> ) ( <http://www.wikidata.org/entity/Q165599> ) ( <http://www.wikidata.org/entity/Q1570020> ) ( <http://www.wikidata.org/entity/Q842074> ) ( <http://www.wikidata.org/entity/Q1476619> ) ( <http://www.wikidata.org/entity/Q418275> ) ( <http://www.wikidata.org/entity/Q1376060> ) ( <http://www.wikidata.org/entity/Q208460> ) ( <http://www.wikidata.org/entity/Q16884451> ) ( <http://www.wikidata.org/entity/Q493574> ) ( <http://www.wikidata.org/entity/Q2222> ) ( <http://www.wikidata.org/entity/Q180736> ) ( <http://www.wikidata.org/entity/Q743180> ) ( <http://www.wikidata.org/entity/Q150827> ) ( <http://www.wikidata.org/entity/Q1193736> ) ( <http://www.wikidata.org/entity/Q183883> ) ( <http://www.wikidata.org/entity/Q401229> ) ( <http://www.wikidata.org/entity/Q208622> ) ( <http://www.wikidata.org/entity/Q41542> ) ( <http://www.wikidata.org/entity/Q140527> ) ( <http://www.wikidata.org/entity/null> ) ( <http://www.wikidata.org/entity/Q296479> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10253", "question": "Female computer scientists born, working, or residing in the Basque Country with their images.", "sparql": "SELECT DISTINCT ?person ?personLabel ?location ?image WHERE { ?person wdt:P21 wd:Q6581072 . ?person wdt:P106 wd:Q82594 . { ?person wdt:P19 ?location . ?location wdt:P131* ?adminRegion . wd:Q47588 wdt:P527 ?adminRegion . } UNION { ?person wdt:P937 ?location . ?location wdt:P131* ?adminRegion . wd:Q47588 wdt:P527 ?adminRegion . } UNION { ?person wdt:P551 ?location . ?location wdt:P131* ?adminRegion . wd:Q47588 wdt:P527 ?adminRegion . } OPTIONAL { ?person wdt:P18 ?image . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = \"en\") }", "paraphrases": ["Who are the female computer scientists from the Basque Country, and where were they born, work, or live?", "List all female computer scientists who are associated with the Basque Country through their birthplace, workplace, or residence, along with any available images."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82594> . { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var2 . ?var2 ( <http://www.wikidata.org/prop/direct/P131> */^ <http://www.wikidata.org/prop/direct/P527> ) <http://www.wikidata.org/entity/Q47588> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P937> ?var3 . ?var3 ( <http://www.wikidata.org/prop/direct/P937> / <http://www.wikidata.org/prop/direct/P131> */^ <http://www.wikidata.org/prop/direct/P527> ) <http://www.wikidata.org/entity/Q47588> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P551> ?var3 . ?var3 ( <http://www.wikidata.org/prop/direct/P551> / <http://www.wikidata.org/prop/direct/P131> */^ <http://www.wikidata.org/prop/direct/P527> ) <http://www.wikidata.org/entity/Q47588> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,eu\". } }"}}
{"id": "test_10254", "question": "List of diesel-mechanical locomotives and their names.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?locomotive ?label WHERE {\n  ?locomotive wdt:P31 wd:Q26251835 .\n  ?locomotive rdfs:label ?label .\n  FILTER ( LANG( ?label ) = \"en\" )\n}", "paraphrases": ["What are the named diesel-mechanical locomotives in Wikidata?", "Can you show me the English names of all locomotives that are diesel-mechanical?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q26251835> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en,de\". } }"}}
{"id": "test_10255", "question": "What is the English title and description of the film with LdiF ID 538657?", "sparql": "SELECT ?film ?filmLabel ?description WHERE { ?film wdt:P3107 \"538657\" . OPTIONAL { ?film rdfs:label ?filmLabel . FILTER(LANG(?filmLabel) = \"en\") } OPTIONAL { ?film schema:description ?description . FILTER(LANG(?description) = \"en\") } }", "paraphrases": ["Can you tell me about the Turkish film Musallat 2, including its English label and description?", "Show me the English name and summary of the movie identified by the Lexikon des internationalen Films ID 538657."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3107> \"538657\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10256", "question": "Properties and values of dihydroprostaglandin E1, excluding instance of.", "sparql": "SELECT ?property ?propertyLabel ?value WHERE { wd:Q27070768 ?property ?value . FILTER (?property != wdt:P31) . BIND(IRI(REPLACE(STR(?property), \"http://www.wikidata.org/prop/direct/\", \"http://www.wikidata.org/entity/\")) AS ?propEntity) . ?propEntity rdfs:label ?propertyLabel . FILTER (LANG(?propertyLabel) = \"en\") } ORDER BY ?propertyLabel", "paraphrases": ["What are the properties and their values for the chemical compound dihydroprostaglandin E1, excluding its class?", "List all the direct properties (like chemical formula, CAS number, etc.) of dihydroprostaglandin E1 along with their values, and show the property names in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q27070768> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3"}}
{"id": "test_10257", "question": "What are the occupations and nationality of Alex Ferrari?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?name ?occupation ?nationality WHERE {\n  wd:Q4716986 rdfs:label ?name .\n  FILTER(LANG(?name) = 'en')\n  .\n  wd:Q4716986 wdt:P106 ?occupation .\n  wd:Q4716986 wdt:P27 ?nationality .\n}", "paraphrases": ["Is Alex Ferrari a film director and producer, and where is he from?", "Can you tell me what Alex Ferrari does for a living and his country of origin?"], "info": {"raw_sparql": "Describe <http://www.wikidata.org/entity/Q4716986>"}}
{"id": "test_10258", "question": "Who were the administrators of German Cameroon, and when did they serve?", "sparql": "PREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?person ?personLabel ?image ?startDate ?endDate WHERE {\n  ?person wdt:P31 wd:Q5 ; p:P1416 [ ps:P1416 wd:Q30607501 ; pq:P580 ?startDate ; pq:P582 ?endDate ] .\n  OPTIONAL {\n    ?person wdt:P18 ?image .\n  }\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = \"en\")\n}\nORDER BY ASC(?startDate)", "paraphrases": ["List the people who were affiliated with the Government of Cameroon during the German colonial period, including their terms of service and photos if available.", "Can you show me the timeline of German colonial administrators in Cameroon with their portraits?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5Label ?var6Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/P1416> [ <http://www.wikidata.org/prop/statement/P1416> <http://www.wikidata.org/entity/Q30607501> ; <http://www.wikidata.org/prop/qualifier/P580> ?var3 ; <http://www.wikidata.org/prop/qualifier/P582> ?var4 ] . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de,en\". } } ORDER BY ASC( ?var3 )"}}
{"id": "test_10259", "question": "Horror films with their IMDb IDs and the number of Wikipedia pages about them.", "sparql": "SELECT ?film ?filmLabel ?imdbId (COUNT(DISTINCT ?aboutItem) AS ?count) WHERE { ?film wdt:P31 wd:Q200092 . ?film wdt:P345 ?imdbId . ?aboutItem schema:about ?film . OPTIONAL { ?film rdfs:label ?filmLabel . FILTER(LANG(?filmLabel) = \"en\") } } GROUP BY ?film ?filmLabel ?imdbId", "paraphrases": ["Which horror films have IMDb IDs, and how many Wikipedia articles are linked to each?", "Show me horror films along with their IMDb identifiers and how many distinct online resources (like Wikipedia pages) mention them."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ( COUNT ( DISTINCT ?var3 ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q200092> . ?var1 <http://www.wikidata.org/prop/direct/P345> ?var2 . ?var3 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var1Label ?var2"}}
{"id": "test_10260", "question": "English label, description, and image of Spielberg, Germany.", "sparql": "SELECT ?label ?description ?image WHERE { OPTIONAL { wd:Q19964712 rdfs:label ?label . FILTER (LANG(?label) = \"en\") } OPTIONAL { wd:Q19964712 schema:description ?description . FILTER (LANG(?description) = \"en\") } OPTIONAL { wd:Q19964712 wdt:P18 ?image . } }", "paraphrases": ["What is the English name, description, and image of the village Spielberg in Upper Franconia?", "Show me the English name, description, and associated image for Spielberg, a village in the district of Selb."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q19964712> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q19964712> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q19964712> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_10261", "question": "What is the title and description of the painting \"Birth\" by Kenneth Noland, and is there an image of it?", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?label ?description ?image WHERE {\n  OPTIONAL {\n    wd:Q19882878 rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" ) .\n  }\n  OPTIONAL {\n    wd:Q19882878 schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" ) .\n  }\n  OPTIONAL {\n    wd:Q19882878 wdt:P18 ?image .\n  }\n}", "paraphrases": ["Show me the English label and description of the artwork Q19882878, along with its image from Wikimedia Commons.", "What does the painting called \"Birth\" by Kenneth Noland look like, and what is its description in English?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q19882878> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q19882878> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q19882878> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_10262", "question": "What is the English name and description of Bush, Kentucky, and does it have an image?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?description ?image WHERE {\n  OPTIONAL {\n    wd:Q5001353 rdfs:label ?label .\n    FILTER ( LANG( ?label ) = \"en\" )\n  }\n  OPTIONAL {\n    wd:Q5001353 schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n  OPTIONAL {\n    wd:Q5001353 wdt:P18 ?image .\n  }\n}", "paraphrases": ["Tell me about Bush, Kentucky: its name in English, what it is, and if there's a picture of it.", "Show me the label, description, and image for the unincorporated community of Bush in Kentucky."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q5001353> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q5001353> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q5001353> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } }"}}
{"id": "test_10263", "question": "List 10 Wikidata items and show that each has a value of 0.", "sparql": "SELECT ?item ?value WHERE { ?item a wikibase:Item . BIND(0 AS ?value) } LIMIT 10", "paraphrases": ["What are 10 entities in Wikidata, and what is their associated count if it's zero?", "Show me 10 items from Wikidata with a fixed value of 0."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var3 ?var2 . } LIMIT 10"}}
{"id": "test_10264", "question": "Arabic Wikipedia pages with \"\u062c\u0631\u064a\u062f\u0629\" or \"\u0635\u062d\u064a\u0641\u0629\" in the title and their Wikidata items.", "sparql": "PREFIX schema: <http://schema.org/>\nSELECT DISTINCT ?item ?title WHERE {\n  ?page schema:about ?item ; schema:isPartOf <https://ar.wikipedia.org/> ; schema:name ?title .\n  FILTER(REGEX(?title , \"\\\\(\u062c\u0631\u064a\u062f\u0629\\\\)|\\\\(\u0635\u062d\u064a\u0641\u0629\\\\)\"))\n}", "paraphrases": ["Which Arabic Wikipedia articles have titles containing \"\u062c\u0631\u064a\u062f\u0629\" or \"\u0635\u062d\u064a\u0641\u0629\", and what are their corresponding Wikidata items?", "List all Arabic Wikipedia newspaper pages (with \"\u062c\u0631\u064a\u062f\u0629\" or \"\u0635\u062d\u064a\u0641\u0629\" in the title) along with their linked Wikidata entities."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 WHERE { ?var3 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://ar.wikipedia.org/> ; <http://schema.org/name> ?var2 . FILTER ( ( CONTAINS ( ?var2 , \"(\u062c\u0631\u064a\u062f\u0629)\" ) ) ) . FILTER ( ( CONTAINS ( ?var2 , \"(\u0635\u062d\u064a\u0641\u0629)\" ) ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var4 . } ) ) . }"}}
{"id": "test_10265", "question": "Films or TV shows originally in German that have a German-language translation, but are cataloged in a different language.", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?item WHERE {\n  ?item wdt:P364 wd:Q188 ; wdt:P407 ?language ; wdt:P629 ?translation .\n  ?translation wdt:P407 wd:Q188 .\n  FILTER ( ?language != wd:Q188 )\n}", "paraphrases": ["Which works are listed as originally in German but have a German translation, and are themselves in a different language?", "Show me works that are tagged with German as their original language, have a German-language edition, but are not themselves in German."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P364> <http://www.wikidata.org/entity/Q188> ; <http://www.wikidata.org/prop/direct/P407> ?var2 ; <http://www.wikidata.org/prop/direct/P629> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P407> <http://www.wikidata.org/entity/Q188> . FILTER ( ( ( <http://www.wikidata.org/entity/Q188> != ?var2 ) ) ) . }"}}
{"id": "test_10266", "question": "What properties are used to describe Cush in the Bible, and what are the English labels of those properties and their values?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?property ( SAMPLE( ?propertyLabel ) AS ?propertyLabelName ) ( COUNT( ?value ) AS ?count ) ( GROUP_CONCAT( ?valueLabel ; SEPARATOR = \", \" ) AS ?valueLabels ) WHERE {\n  wd:Q1138595 ?property ?value .\n  ?value rdfs:label ?valueLabel .\n  FILTER ( LANG( ?valueLabel ) = \"en\" ) .\n  ?propItem wikibase:directClaim ?property .\n  ?propItem rdfs:label ?propertyLabel .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" ) .\n}\nGROUP BY ?property", "paraphrases": ["For each property used on the biblical figure Cush, show the English label of the property, how many times it's used, and the English labels of its values.", "List all English-labeled properties and their object labels associated with Cush, along with the count of each property's usage."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q1138595> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_10267", "question": "How many scholarly articles have cited the study on Zika virus infection in macaques, grouped by publication year?", "sparql": "SELECT ?year (COUNT(DISTINCT ?citingWork) AS ?citationCount) WHERE { BIND(wd:Q30145554 AS ?targetArticle) . ?citingWork wdt:P2860 ?targetArticle . ?citingWork wdt:P577 ?publicationDate . BIND(xsd:date(?publicationDate) AS ?dateOnly) . BIND(STR(YEAR(?dateOnly)) AS ?year) } GROUP BY ?year ORDER BY DESC(?year)", "paraphrases": ["In which years were most articles published that reference the paper \"High Infection Rates for Adult Macaques after Intravaginal or Intrarectal Inoculation with Zika Virus\"?", "Show the number of citations to the Zika virus macaque study per year, ordered from most recent to oldest."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q30145554> AS ?var5 ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var5 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var6 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_10268", "question": "Lighthouses with English descriptions starting with \"a \" and those without any English description.", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?lighthouse ?description ?category WHERE {\n  {\n    ?lighthouse wdt:P31 wd:Q39715 .\n    ?lighthouse schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" ) .\n    FILTER ( STRSTARTS( LCASE( STR( ?description ) ) , \"a \" ) ) .\n    BIND( \"lighthouse\" AS ?category )\n  } UNION {\n    ?lighthouse wdt:P31 wd:Q39715 .\n    FILTER NOT EXISTS {\n      ?lighthouse schema:description ?desc .\n      FILTER ( LANG( ?desc ) = \"en\" )\n    }\n    .\n    BIND( \"N/A\" AS ?description ) .\n    BIND( \"lighthouse\" AS ?category )\n  }\n}", "paraphrases": ["Which lighthouses have English descriptions starting with \"a \", and which ones have no English description at all?", "Show me a list of lighthouses, including their English descriptions if they start with \"a \", and mark those without any English description as \"N/A\"."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { BIND ( \"string1\" AS ?var3 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q39715> . ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . FILTER ( ( STRSTARTS ( LCASE ( STR ( ?var2 ) ) , \"a \" ) ) ) . } UNION { BIND ( <http://www.wikidata.org/entity/Q884375> AS ?var1 ). BIND ( \"string2\" AS ?var2 ). BIND ( \"n/a\" AS ?var3 ). } }"}}
{"id": "test_10269", "question": "List lighthouses with English descriptions that either don\u2019t mention their country or start with \"a\", along with a category label for each.", "sparql": "SELECT ?lighthouse ?description ?category WHERE { { BIND( \"no-country-mention\" AS ?category ) . ?lighthouse wdt:P31 wd:Q39715 . ?lighthouse schema:description ?description . FILTER ( LANG( ?description ) = \"en\" ) . ?lighthouse wdt:P17 ?country . ?country rdfs:label ?countryLabel . FILTER ( LANG( ?countryLabel ) = \"en\" ) . FILTER ( !CONTAINS( ?description, ?countryLabel ) ) . } UNION { BIND( \"starts-with-a\" AS ?category ) . ?lighthouse wdt:P31 wd:Q39715 . ?lighthouse schema:description ?description . FILTER ( LANG( ?description ) = \"en\" ) . FILTER ( STRSTARTS( LCASE( STR( ?description ) ) , \"a \" ) ) . } UNION { BIND( wd:Q884375 AS ?lighthouse ) . BIND( \"placeholder\" AS ?description ) . BIND( \"n/a\" AS ?category ) . } }", "paraphrases": ["Which lighthouses have English descriptions that don\u2019t include the name of their country, and which ones start with the article \"a\"?", "Categorize lighthouses based on whether their English descriptions mention their country or begin with \"a\", and include a placeholder row for completeness."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { { BIND ( \"string1\" AS ?var3 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q39715> . ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = \"en\" ) ) ) . FILTER ( ( !( CONTAINS ( ?var2 , ?var4Label ) ) ) ) . } UNION { BIND ( \"string2\" AS ?var3 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q39715> . ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . FILTER ( ( STRSTARTS ( LCASE ( STR ( ?var2 ) ) , \"a \" ) ) ) . } UNION { BIND ( <http://www.wikidata.org/entity/Q884375> AS ?var1 ). BIND ( \"string3\" AS ?var2 ). BIND ( \"n/a\" AS ?var3 ). } }"}}
{"id": "test_10270", "question": "What places in the geographic region between 31\u00b0N and 32\u00b0N latitude and 31\u00b0E and 32\u00b0E longitude have photos or Wikimedia Commons categories?", "sparql": "SELECT ?item ?itemLabel ?coord ?image ?commonsCategory WHERE { ?item wdt:P625 ?coord . FILTER(geof:latitude(?coord) >= 31 && geof:latitude(?coord) <= 32 && geof:longitude(?coord) >= 31 && geof:longitude(?coord) <= 32) . OPTIONAL { ?item wdt:P18 ?image . } OPTIONAL { ?item wdt:P373 ?commonsCategory . } OPTIONAL { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") } } LIMIT 100", "paraphrases": ["List landmarks, towns, or sites in northern Egypt (31\u201332\u00b0N, 31\u201332\u00b0E) along with their images and Wikipedia Commons categories.", "Show me items located in a small box around 31.5\u00b0N, 31.5\u00b0E, including their names, coordinates, photos, and associated Commons categories."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> \"POINT(31 31)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> \"POINT(32 32)\"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"string1\". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000"}}
{"id": "test_10271", "question": "What topic is associated with the list of counties in Alabama, and does it have an image?", "sparql": "SELECT ?topic ?topicLabel ?image WHERE { ?topic wdt:P2354 wd:Q558695 . OPTIONAL { ?topic wdt:P18 ?image . } ?topic rdfs:label ?topicLabel FILTER(LANG(?topicLabel) = 'en') } LIMIT 100", "paraphrases": ["Can you show me the English label of the concept linked to the 'List of counties in Alabama' on Wikimedia, along with its image if available?", "Which concept has the 'List of counties in Alabama' as a related list, and what is its name and image?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2354> <http://www.wikidata.org/entity/Q558695> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"sq\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
{"id": "test_10272", "question": "Labels in English, German, French, and Italian for Karen Pence, along with her image and English Wikipedia link.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX schema: <http://schema.org/>\nSELECT ?label ?image ?wikipediaArticle WHERE {\n  wd:Q25894869 rdfs:label ?label .\n  FILTER(LANG(?label) IN(\"en\" , \"de\" , \"fr\" , \"it\"))\n  OPTIONAL {\n    wd:Q25894869 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    ?wikipediaArticle schema:about wd:Q25894869 ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n  }\n}\nORDER BY ?label", "paraphrases": ["What are Karen Pence's labels in English, German, French, and Italian, and what is her official image and English Wikipedia page?", "Show me Karen Pence\u2019s multilingual labels (en, de, fr, it), her official portrait from Wikimedia Commons, and the link to her English Wikipedia article."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q25894869> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var5 ) ) ) . VALUES ( ?var5 ?var6 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q25894869> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q25894869> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q25894869> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var6 )"}}
{"id": "test_10273", "question": "What are the labels for Carole Crist in English, German, French, and Italian, along with her image and Wikipedia link?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX schema: <http://schema.org/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?label ?image ?coordinates ?wikipediaArticle WHERE {\n  VALUES ?lang {\n    \"en\" \"de\" \"fr\" \"it\"\n  }\n  wd:Q5044674 rdfs:label ?label .\n  FILTER ( LANG( ?label ) = ?lang ) OPTIONAL {\n    wd:Q5044674 wdt:P18 ?image .\n  }\n  OPTIONAL {\n    wd:Q5044674 wdt:P625 ?coordinates .\n  }\n  ?wikipediaArticle schema:about wd:Q5044674 ; schema:inLanguage \"en\" ; schema:isPartOf <https://en.wikipedia.org/> .\n}\nORDER BY ( STR( ?lang ) )", "paraphrases": ["Can you show me Carole Crist\u2019s name in English, German, French, and Italian, her image from Wikimedia Commons, and the link to her English Wikipedia page?", "Please list Carole Crist\u2019s labels in four languages (en, de, fr, it), include her image if available, and provide the link to her English Wikipedia article."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q5044674> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var5 ) ) ) . VALUES ( ?var5 ?var6 ) { ( \"en\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q5044674> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q5044674> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q5044674> ; <http://schema.org/inLanguage> \"en\"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var6 )"}}
{"id": "test_10274", "question": "English Wikipedia articles about chemical compounds", "sparql": "PREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?article WHERE {\n  ?compound wdt:P31 wd:Q11173 .\n  ?article schema:about ?compound .\n  FILTER ( STRSTARTS( STR( ?article ) , \"https://en.wikipedia.org/\" ) )\n}\nLIMIT 200", "paraphrases": ["What are the English Wikipedia pages for chemical compounds?", "List the English Wikipedia articles that describe chemical compounds."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11173> . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . ?var1 <http://schema.org/about> ?var2 . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 200"}}
{"id": "test_10275", "question": "What are all the films listed in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?film WHERE {\n  ?film wdt:P31 wd:Q11424 .\n}", "paraphrases": ["List all entities that are classified as films.", "Show me all items that are instances of the category \"film\"."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5119> . }"}}
{"id": "test_10276", "question": "What are the direct child taxa of prokaryotes in Wikidata?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?childTaxon WHERE {\n  ?childTaxon wdt:P171 wd:Q19081 .\n}", "paraphrases": ["Which organisms are classified as subgroups of prokaryotes?", "List all taxa that have prokaryotes as their parent taxon."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P171> <http://www.wikidata.org/entity/Q19081> . }"}}
{"id": "test_10277", "question": "List of human actors in Wikidata", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?personLabel WHERE {\n  ?person wdt:P106 wd:Q33999 .\n  ?person wdt:P31 wd:Q5 .\n  ?person rdfs:label ?personLabel .\n  FILTER(LANG(?personLabel) = 'en')\n}\nLIMIT 10000", "paraphrases": ["Who are the human beings whose occupation is actor?", "Show me the English labels of all people who are actors."], "info": {"raw_sparql": "SELECT DISTINCT ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/QQ1233919> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 10000 OFFSET 0"}}
{"id": "test_10278", "question": "What is the gender, date of birth, country of birth, and birth name of the actor Meryl Streep?", "sparql": "SELECT ?var1Label ?var2 ?var4Label ?var5 ?var6 WHERE { wd:Q873 wdt:P106 wd:Q33999 . OPTIONAL { wd:Q873 wdt:P569 ?var2 . } OPTIONAL { wd:Q873 wdt:P21 ?var1 . } OPTIONAL { wd:Q873 wdt:P19 ?var7 . ?var7 wdt:P17 ?var4 . } OPTIONAL { wd:Q873 wdt:P1477 ?var5 . } OPTIONAL { wd:Q873 wdt:P570 ?var6 . } OPTIONAL { ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = \"en\") } OPTIONAL { ?var4 rdfs:label ?var4Label . FILTER(LANG(?var4Label) = \"en\") } }", "paraphrases": ["Can you tell me Meryl Streep\u2019s birth details, including where she was born, her birth name, and her gender?", "Is Meryl Streep still alive, and what are her birth details such as date, place, and original name?"], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4Label ?var5 ?var6 WHERE { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> \"string1\"@en . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P569> ?var2 . } ?var3 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P21> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P19> ?var7 . ?var7 <http://www.wikidata.org/prop/direct/P17> ?var4 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1477> ?var5 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P570> ?var6 . } }"}}
{"id": "test_10279", "question": "Who were born on January 1, 1880?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?human ?birthDate WHERE {\n  ?human wdt:P31 wd:Q5 .\n  ?human wdt:P569 ?birthDate .\n  FILTER ( ?birthDate = \"1880-01-01T00:00:00Z\" ^^ xsd:dateTime )\n}\nLIMIT 100", "paraphrases": ["List all humans with a birth date of January 1, 1880.", "Show me the names and birth dates of people born on the first day of 1880."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . FILTER ( ( ( ?var2 = \"1880-00-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . } LIMIT 100"}}
{"id": "test_10280", "question": "What movie has the elFilm ID 1446448?", "sparql": "SELECT ?movie WHERE { ?movie wdt:P3143 \"1446448\" . }", "paraphrases": ["Which film on Wikidata is identified by the elFilm ID \"1446448\"?", "Find the Wikidata item for the movie with elFilm ID 1446448."], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3143> \"1446448\". }"}}
{"id": "test_10281", "question": "Which film has the AlloCin\u00e9 ID 173487?", "sparql": "SELECT ?film WHERE { ?film wdt:P1265 \"173487\" . }", "paraphrases": ["What is the Wikidata item for the film identified by AlloCin\u00e9 film ID 173487?", "I\u2019m looking for the movie in Wikidata that corresponds to the AlloCin\u00e9 film ID 173487. Can you tell me which one it is?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1265> \"173487\". }"}}
{"id": "test_10282", "question": "What item and property does the statement s:q937-B3E7F30F-C43D-435D-9EA3-266983130FB1 belong to?", "sparql": "SELECT ?subject ?property WHERE { ?subject p:P19 ?statement . ?statement ps:P19 ?object . FILTER(?statement = s:q937-B3E7F30F-C43D-435D-9EA3-266983130FB1) BIND(wdt:P19 AS ?property) }", "paraphrases": ["Which subject and property are linked to the Wikidata statement with IRI s:q937-B3E7F30F-C43D-435D-9EA3-266983130FB1?", "Find the entity and property associated with the given statement identifier s:q937-B3E7F30F-C43D-435D-9EA3-266983130FB1."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q18553769-FACD8D7F-B57F-4922-B3B5-F6F74587BE36> . }"}}
{"id": "test_10283", "question": "Action films from Germany released in 2002 with more than 10 Wikipedia articles.", "sparql": "SELECT ?film (COUNT(DISTINCT ?article) AS ?articleCount)\nWHERE {\n  ?film (wdt:P31/wdt:P279*) wd:Q11424 ;\n        wdt:P136 wd:Q188473 ;\n        p:P577 ?pubStmt .\n  ?pubStmt ps:P577 ?date ;\n           pq:P291 wd:Q183 .\n  FILTER(YEAR(?date) = 2002)\n  ?article schema:about ?film .\n}\nGROUP BY ?film\nHAVING (?articleCount > 10)\nORDER BY DESC(?articleCount)", "paraphrases": ["Which action films released in Germany in 2002 have more than 10 Wikipedia articles, and how many are there?", "List the most notable action films from Germany in 2002, ranked by the number of Wikipedia articles about them."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4Label ?var5Label ?var6Label ?var7Label ?var8Label ( COUNT ( DISTINCT ?var9 ) AS ?var10 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P136> <http://www.wikidata.org/entity/Q188473> . ?var9 <http://schema.org/about> ?var1 . ?var1 <http://www.wikidata.org/prop/P577> ?var11 . ?var11 <http://www.wikidata.org/prop/statement/P577> ?var2 . FILTER ( ( ( YEAR ( ?var2 ) = \"2002\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var11 <http://www.wikidata.org/prop/qualifier/P291> <http://www.wikidata.org/entity/Q183> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P161> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var1Label ?var2Label ?var3Label ?var4Label ?var5Label ?var6Label ?var7Label ?var8Label HAVING ( ( ?var10 > \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var10 )"}}
{"id": "test_10284", "question": "What entities were created, discovered, published, or officially opened in November 1970?", "sparql": "SELECT DISTINCT ?item WHERE { ?item (wdt:P571 | wdt:P575 | wdt:P577 | wdt:P1619) ?date . FILTER ( ?date >= \"1970-11-01T00:00:00Z\"^^xsd:dateTime && ?date <= \"1970-11-30T23:59:59Z\"^^xsd:dateTime ) }", "paraphrases": ["Which items had their inception, discovery, publication, or official opening in November 1970?", "List all works, species, or places that began to exist \u2014 through founding, invention, publication, or opening \u2014 during November 1970."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P571> | <http://www.wikidata.org/prop/direct/P575> | <http://www.wikidata.org/prop/direct/P577> | <http://www.wikidata.org/prop/direct/P1619> ) ?var2 . FILTER ( ( ( ?var2 >= \"1970-11-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= \"1970-11-31T23:59:59Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }"}}
{"id": "test_10285", "question": "What countries, regions, and continents is Vitebsk located in?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?item ?itemLabel WHERE {\n  {\n    wd:Q102217(wdt:P17 | wdt:P131) ?item .\n  } UNION {\n    wd:Q102217 wdt:P17 ?country .\n    ?country wdt:P30 ?item .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["Can you tell me the administrative region, country, and continent of the city of Vitebsk?", "Show me the geographic hierarchy of Vitebsk, including its region, country, and continent."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q102217> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_10286", "question": "Action films released in Germany in 2011 with more than 10 Wikipedia language editions, including their cast and character roles.", "sparql": "SELECT ?film ?filmLabel ?year ?actorLabel ?roleLabel (COUNT(DISTINCT ?wikipediaPage) AS ?wikipediaEditions)\nWHERE {\n  ?film (wdt:P31/wdt:P279*) wd:Q11424 ;\n        wdt:P136 wd:Q188473 ;\n        p:P577 ?pubStmt .\n  ?pubStmt ps:P577 ?year ;\n           pq:P291 wd:Q183 .\n  FILTER(YEAR(?year) = 2011)\n\n  OPTIONAL {\n    ?film p:P161 ?castStmt .\n    ?castStmt ps:P161 ?actor ;\n              pq:P453 ?role .\n    OPTIONAL { ?actor rdfs:label ?actorLabel . FILTER(LANG(?actorLabel) = \"en\") }\n    OPTIONAL { ?role rdfs:label ?roleLabel . FILTER(LANG(?roleLabel) = \"en\") }\n  }\n\n  ?wikipediaPage schema:about ?film .\n\n  OPTIONAL { ?film rdfs:label ?filmLabel . FILTER(LANG(?filmLabel) = \"en\") }\n}\nGROUP BY ?film ?filmLabel ?year ?actorLabel ?roleLabel\nHAVING (?wikipediaEditions > 10)\nORDER BY DESC(?wikipediaEditions)", "paraphrases": ["Which action films from Germany released in 2011 have more than 10 Wikipedia language versions, and who are the actors and characters involved?", "List all German-released action films from 2011 that have over 10 Wikipedia editions, along with their main cast members and the roles they played."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4Label ?var5Label ?var6Label ?var7Label ?var8Label ( COUNT ( DISTINCT ?var9 ) AS ?var10 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P136> <http://www.wikidata.org/entity/Q188473> . ?var9 <http://schema.org/about> ?var1 . ?var1 <http://www.wikidata.org/prop/P577> ?var11 . ?var11 <http://www.wikidata.org/prop/statement/P577> ?var2 . FILTER ( ( ( YEAR ( ?var2 ) = \"2011\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var11 <http://www.wikidata.org/prop/qualifier/P291> <http://www.wikidata.org/entity/Q183> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P161> ?var3 . } OPTIONAL { <http://www.wikidata.org/prop/direct/P161> <http://www.wikidata.org/prop/qualifier/P453> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var1Label ?var2Label ?var3Label ?var4Label ?var5Label ?var6Label ?var7Label ?var8Label HAVING ( ( ?var10 > \"10\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var10 )"}}
{"id": "test_10287", "question": "Subclasses of unit of measurement and quantity with their direct and indirect superclasses.", "sparql": "SELECT DISTINCT ?subclass ?subclassLabel ?parent ?parentLabel ?grandparent ?grandparentLabel WHERE { { ?subclass wdt:P279* wd:Q47574 . } UNION { ?subclass wdt:P279* wd:Q309314 . } . ?subclass wdt:P279 ?parent . ?parent wdt:P279 ?grandparent . ?subclass rdfs:label ?subclassLabel . ?parent rdfs:label ?parentLabel . ?grandparent rdfs:label ?grandparentLabel . FILTER(LANG(?subclassLabel) = \"en\") . FILTER(LANG(?parentLabel) = \"en\") . FILTER(LANG(?grandparentLabel) = \"en\") }", "paraphrases": ["What are the subclasses of units of measurement and quantities, and what are their immediate and second-level parent classes?", "List all subclasses of units of measurement and quantities, along with their direct superclasses and the superclasses of those superclasses, in English."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { VALUES ( ?var4 ) { ( <http://www.wikidata.org/entity/Q47574> ) ( <http://www.wikidata.org/entity/Q309314> ) } BIND ( <http://www.wikidata.org/entity/Q18408728> AS ?var5 ). ?var5 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> ) ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P279> * ?var4 . ?var2 ^ <http://www.wikidata.org/prop/direct/P279> * ?var1 . ?var3 ^ <http://www.wikidata.org/prop/direct/P279> ?var2 . ?var3 <http://www.wikidata.org/prop/direct/P279> * ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de, en\". } }"}}
{"id": "test_10288", "question": "Settlements in Spanish Wikipedia without a country assigned in Wikidata", "sparql": "SELECT DISTINCT ?settlement ?settlementLabel WHERE { VALUES ?settlementType { wd:Q3957 wd:Q515 wd:Q532 wd:Q486972 } ?settlement wdt:P31 ?settlementType . MINUS { ?settlement wdt:P17 [] . } ?wikipediaPage schema:about ?settlement ; schema:isPartOf <https://es.wikipedia.org/> . ?settlement rdfs:label ?settlementLabel . FILTER(LANG(?settlementLabel) = \"es\") }", "paraphrases": ["Which towns, cities, villages, or human settlements have a Spanish Wikipedia page but are not linked to any country in Wikidata?", "Show me the Spanish names of settlements (towns, cities, villages, or human settlements) that exist on the Spanish Wikipedia but lack a country in their Wikidata entry."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q3957> ) ( <http://www.wikidata.org/entity/Q515> ) ( <http://www.wikidata.org/entity/Q532> ) ( <http://www.wikidata.org/entity/Q486972> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P17> [] . } ?var3 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://es.wikipedia.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"uk,en,ru,ro\". } } GROUP BY ?var1 ?var1Label"}}
{"id": "test_10289", "question": "What is the English label and description of the Wikidata item with Iconclass code 46C13?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nSELECT ?item ?itemLabel ?description WHERE {\n  ?item wdt:P1256 \"46C13\" .\n  OPTIONAL {\n    ?item rdfs:label ?itemLabel .\n    FILTER(LANG(?itemLabel) = \"en\")\n  }\n  OPTIONAL {\n    ?item schema:description ?description .\n    FILTER(LANG(?description) = \"en\")\n  }\n}", "paraphrases": ["What is called in English and what does it mean for the concept represented by Iconclass code 46C13?", "Show me the English name and definition of the concept identified by the Iconclass notation 46C13."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1256> \"46C13\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10290", "question": "Paintings and their artistic movements with English labels", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?painting ?paintingLabel ?movement ?movementLabel WHERE {\n  ?painting wdt:P31 wd:Q3305213 .\n  ?painting wdt:P135 ?movement .\n  OPTIONAL {\n    ?painting rdfs:label ?paintingLabel .\n    FILTER ( LANG( ?paintingLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?movement rdfs:label ?movementLabel .\n    FILTER ( LANG( ?movementLabel ) = \"en\" )\n  }\n}", "paraphrases": ["What are the paintings and their associated artistic movements in English?", "List paintings along with their artistic movements and their English names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . ?var1 <http://www.wikidata.org/prop/P135> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10291", "question": "Image, coordinates, and multilingual labels for Museo Civico Pietro Micca e dell'assedio di Torino", "sparql": "SELECT ?label ?image ?coordinates ?wikipediaArticle WHERE { OPTIONAL { wd:Q3867631 rdfs:label ?label . FILTER (LANG(?label) IN (\"en\", \"it\", \"de\", \"fr\")) } OPTIONAL { wd:Q3867631 wdt:P18 ?image . } OPTIONAL { wd:Q3867631 wdt:P625 ?coordinates . } OPTIONAL { ?wikipediaArticle schema:about wd:Q3867631 ; schema:inLanguage \"fr\" ; schema:isPartOf <https://fr.wikipedia.org/> . } }", "paraphrases": ["What are the English and Italian names, image, and geographic coordinates of the Museo Civico Pietro Micca e dell'assedio di Torino?", "Show me the image and coordinates of the Museo Civico Pietro Micca e dell'assedio di Torino, along with its labels in English, Italian, German, and French."], "info": {"raw_sparql": "SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q3867631> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var5 ) ) ) . VALUES ( ?var5 ?var6 ) { ( \"fr\"\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"en\"\"2\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"de\"\"3\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"fr\"\"4\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( \"it\"\"5\"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q3867631> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q3867631> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q3867631> ; <http://schema.org/inLanguage> \"fr\"; <http://schema.org/isPartOf> <https://fr.wikipedia.org/> . } } ORDER BY ASC( ?var6 )"}}
{"id": "test_10292", "question": "What Wikidata item corresponds to the IMDb ID tt0209989?", "sparql": "SELECT ?item WHERE { ?item wdt:P345 \"tt0209989\" .}", "paraphrases": ["Which film on Wikidata has the IMDb identifier tt0209989?", "I need to find the Wikidata entry for the movie with IMDb ID tt0209989 \u2014 can you tell me what it is?"], "info": {"raw_sparql": "SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> \"tt0209989\". }"}}
{"id": "test_10293", "question": "Who is the artist with Museum of Modern Art ID 23327, and what is their English description?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?artist ?artistLabel ?description WHERE {\n  ?artist wdt:P2174 \"23327\" .\n  OPTIONAL {\n    ?artist rdfs:label ?artistLabel .\n    FILTER ( LANG( ?artistLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?artist schema:description ?description .\n    FILTER ( LANG( ?description ) = \"en\" )\n  }\n}", "paraphrases": ["What is the name and English description of the artist identified by the MoMA artist ID 23327?", "Please provide the English label and description of the artist whose MoMA artist ID is 23327."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2174> \"23327\". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10294", "question": "List English-labeled scholarly articles with 'spec. nov.' or 'nov. spec.' in their titles.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel WHERE {\n  VALUES ?item {\n    wd:Q56089499 wd:Q125031155 wd:Q125125642 wd:Q124881894 wd:Q125998487 wd:Q126212779 wd:Q126248814 wd:Q125357069 wd:Q122763504\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER(LANG(?itemLabel) = \"en\")\n}", "paraphrases": ["Which scholarly articles have titles containing 'spec. nov.' or 'nov. spec.' in English?", "Show me the English labels of taxonomic scholarly articles that describe newly named species using 'spec. nov.' or 'nov. spec.'"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13442814> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( CONTAINS ( LCASE ( ?var1Label ) , \"spec. nov.\" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . }"}}
{"id": "test_10295", "question": "Television programs excluding episodes", "sparql": "SELECT DISTINCT ?item WHERE { ?item wdt:P31 ?class . ?class wdt:P279* wd:Q15416 . MINUS { ?item wdt:P31 wd:Q21191270 . } }", "paraphrases": ["What are the television programs (such as series and specials) that are not individual episodes?", "List all TV shows and series seasons, but not individual episodes."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q5398426> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q15416> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q21191270> . } }"}}
{"id": "test_10296", "question": "What are the most common given names among Polish citizens, ranked by frequency?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?givenName ?givenNameLabel ( COUNT( * ) AS ?count ) WHERE {\n  ?person wdt:P27 wd:Q36 .\n  ?person wdt:P735 ?givenName .\n  OPTIONAL {\n    ?givenName rdfs:label ?givenNameLabel .\n    FILTER ( LANG( ?givenNameLabel ) = \"en\" )\n  }\n}\nGROUP BY ?givenName ?givenNameLabel\nORDER BY DESC ( ?count ) ASC ( ?givenNameLabel )", "paraphrases": ["Can you list the English labels of given names of people from Poland, sorted by how many people have each name, from most to least common?", "Which first names are most frequently held by citizens of Poland, and how many people have each?"], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( COUNT (* ) AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q36> . ?var4 <http://www.wikidata.org/prop/direct/P735> ?var1 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } } GROUP BY ?var1 ?var2 ORDER BY DESC( ?var3 )ASC( ?var2 )"}}
{"id": "test_10297", "question": "What are the most common types of facts associated with Tokyo in Wikidata?", "sparql": "SELECT ?property (COUNT(?item) AS ?count) ?propertyLabel WHERE { ?item ?property wd:Q7473516 . BIND( STRAFTER( STR(?property), \"http://www.wikidata.org/prop/\" ) AS ?propPath ) BIND( STRAFTER( ?propPath, \"/\" ) AS ?propId ) BIND( IRI( CONCAT( \"http://www.wikidata.org/entity/\", ?propId ) ) AS ?propItem ) ?propItem rdfs:label ?propertyLabel . FILTER( LANG( ?propertyLabel ) = \"en\" ) } GROUP BY ?property ?propertyLabel HAVING ( ?count > 1 ) ORDER BY DESC(?count)", "paraphrases": ["Which properties are used most frequently to connect people or things to Tokyo, and what do they mean?", "Can you list the English names of properties that link more than one entity to Tokyo, ordered by how often they\u2019re used?"], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q7473516> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = \"en\" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )"}}
{"id": "test_10298", "question": "Living politicians with their names, gender, country, birth date, official website, political party, party abbreviation, and founder.", "sparql": "SELECT DISTINCT ?politician ?image ?givenName ?familyName ?gender ?country ?birthDate ?website ?party ?partyLabel ?partyShortName ?founderLabel WHERE { ?politician wdt:P31 wd:Q5 ; wdt:P106 wd:Q82955 ; wdt:P18 ?image ; wdt:P735 ?givenName ; wdt:P734 ?familyName ; wdt:P21 ?gender ; wdt:P27 ?country ; wdt:P569 ?birthDate ; wdt:P856 ?website ; wdt:P102 ?party . OPTIONAL { ?party rdfs:label ?partyLabel . FILTER(LANG(?partyLabel) = \"en\") } OPTIONAL { ?party wdt:P1813 ?partyShortName . } OPTIONAL { ?party wdt:P112 ?founder . ?founder rdfs:label ?founderLabel . FILTER(LANG(?founderLabel) = \"en\") } FILTER NOT EXISTS { ?politician wdt:P570 ?deathDate } } LIMIT 500", "paraphrases": ["Who are the living politicians, and what are their personal details, political affiliations, and the founders of their parties?", "List all living politicians along with their given and family names, gender, country of citizenship, date of birth, official website, political party name and short name, and the founder of each party."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var2 ?var3Label ?var4Label ?var5Label ?var6Label ?var7Label ?var8Label ?var9 ?var10Label ?var11Label ?var12Label ?var13Label ?var14 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82955> ; <http://www.wikidata.org/prop/direct/P18> ?var2 ; <http://www.wikidata.org/prop/direct/P735> ?var3 ; <http://www.wikidata.org/prop/direct/P734> ?var4 ; <http://www.wikidata.org/prop/direct/P21> ?var5 ; <http://www.wikidata.org/prop/direct/P27> ?var6 ; <http://www.wikidata.org/prop/direct/P569> ?var7 ; <http://www.wikidata.org/prop/direct/P856> ?var9 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var15Label ; <http://www.wikidata.org/prop/direct/P102> ?var8 . ?var8 <http://www.wikidata.org/prop/direct/P112> ?var10 ; <http://www.wikidata.org/prop/direct/P1705> ?var11Label ; <http://www.wikidata.org/prop/direct/P1813> ?var12Label ; <http://www.wikidata.org/prop/direct/P462> ?var13 . ?var13 <http://www.wikidata.org/prop/direct/P465> ?var14 . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var16 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } LIMIT 500"}}
{"id": "test_10299", "question": "What countries, administrative regions, and continents are associated with Zoo Cleves?", "sparql": "SELECT DISTINCT ?location WHERE { { wd:Q2432183 (wdt:P17 | wdt:P131 | wdt:P30) ?location } UNION { wd:Q2432183 wdt:P17 ?country . ?country wdt:P30 ?location } UNION { wd:Q2432183 wdt:P131 ?admin . ?admin wdt:P131 ?location } }", "paraphrases": ["Can you show me the full geographic hierarchy of Zoo Cleves, including its country, district, and continent?", "Where is Zoo Cleves located? Include its country, the administrative district it belongs to, and the continent."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q2432183> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_10300", "question": "What properties in Wikidata require their values to be instances or subclasses of a specific type, and what are those types?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX pq: <http://www.wikidata.org/prop/qualifier/>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?type ?typeLabel ?constraintPropertyLabel ?property ?propertyLabel WHERE {\n  ?type ?claimProperty [ ?statementProperty ?property ; pq:P2309 wd:Q30208840 ] .\n  ?constraintProperty wikibase:claim ?claimProperty ; wikibase:statementProperty ?statementProperty .\n  OPTIONAL {\n    ?type rdfs:label ?typeLabel .\n    FILTER ( LANG( ?typeLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?constraintProperty rdfs:label ?constraintPropertyLabel .\n    FILTER ( LANG( ?constraintPropertyLabel ) = \"en\" )\n  }\n  OPTIONAL {\n    ?property rdfs:label ?propertyLabel .\n    FILTER ( LANG( ?propertyLabel ) = \"en\" )\n  }\n}", "paraphrases": ["Which Wikidata properties are constrained to only accept values that are instances or subclasses of certain classes?", "List the types and properties where Wikidata enforces that property values must be of a certain class (instance or subclass)."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2Label ?var3 ?var3Label WHERE { ?var1 ?var4 [ ?var5 ?var3 ; <http://www.wikidata.org/prop/qualifier/P2309> <http://www.wikidata.org/entity/Q30208840> ] . ?var2 <http://wikiba.se/ontology#claim> ?var4 ; <http://wikiba.se/ontology#statementProperty> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_10301", "question": "What are the main topics of the academic works authored by Geoffrey Hinton, and how many works are associated with each topic?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?count ?subjectLabel WHERE {\n  {\n    SELECT ?subject(COUNT(?work) AS ?count) WHERE {\n      ?work wdt:P50 wd:Q92894 .\n      ?work wdt:P921 ?subject .\n    }\n    GROUP BY ?subject\n    ORDER BY DESC(?count)\n  }\n  ?subject rdfs:label ?subjectLabel .\n  FILTER(LANG(?subjectLabel) = \"en\")\n}", "paraphrases": ["List the subjects of Geoffrey Hinton\u2019s publications in English, sorted by how frequently they appear, with the most common ones first.", "Which research areas are most commonly associated with papers written by Geoffrey Hinton?"], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label WHERE { { SELECT ?var4 ( COUNT ( ?var5 ) AS ?var1 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q92894> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . } GROUP BY ?var4 ORDER BY DESC( ?var1 ) } BIND ( SUBSTR ( ?var6Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q92894> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . }"}}
{"id": "test_10302", "question": "Who were the members of the 57th Parliament of the United Kingdom (2017\u20132019)?", "sparql": "SELECT ?member ?memberLabel WHERE { ?member wdt:P39 wd:Q30524710. }", "paraphrases": ["List the individuals who served as Members of Parliament in the UK during the 2017\u20132019 parliamentary term.", "Which politicians held a seat in the UK House of Commons during the 57th Parliament?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q29974940> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_10303", "question": "List all professions and their labels.", "sparql": "SELECT ?profession ?label WHERE { ?profession wdt:P31 wd:Q28640 . ?profession rdfs:label ?label . }", "paraphrases": ["What are all the professions in Wikidata and what are their names in different languages?", "Show me all items classified as professions along with their labels."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q28640> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"ja\". } }"}}
{"id": "test_10304", "question": "People who held the position of conseiller g\u00e9n\u00e9ral de Seine-et-Marne", "sparql": "SELECT ?person (SAMPLE(?label) AS ?personLabel) WHERE { ?person wdt:P39 wd:Q21334517 . ?person rdfs:label ?label . } GROUP BY ?person", "paraphrases": ["Who were the individuals that served as conseiller g\u00e9n\u00e9ral de Seine-et-Marne?", "List all people who held the office of conseiller g\u00e9n\u00e9ral de Seine-et-Marne, along with their names."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P39> / <http://www.wikidata.org/prop/direct/Q16886136> *) <http://www.wikidata.org/entity/Q21334517> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr,en\". } }"}}
{"id": "test_10305", "question": "What are the most common research topics in Julian Downward\u2019s publications, along with the number of papers per topic and an example title?", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?count ?subjectLabel ?exampleWorkLabel WHERE {\n  {\n    SELECT ?subject ( COUNT( ?work ) AS ?count ) ( SAMPLE( ?workLabel ) AS ?exampleWorkLabel ) WHERE {\n      ?work wdt:P50 wd:Q6307119 .\n      ?work wdt:P921 ?subject .\n      ?work rdfs:label ?workLabel .\n      FILTER ( LANG( ?workLabel ) = \"en\" )\n    }\n    GROUP BY ?subject\n    ORDER BY DESC ( ?count )\n  }\n  ?subject rdfs:label ?subjectLabel .\n  FILTER ( LANG( ?subjectLabel ) = \"en\" )\n}\nORDER BY DESC ( ?count )", "paraphrases": ["For each main subject of Julian Downward\u2019s scientific works, how many papers did he write on that topic, and what is one example paper title?", "List the main subjects of Julian Downward\u2019s publications, ranked by how many works he authored on each, including the count and an example title in English."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3Label WHERE { { SELECT ?var4 ( COUNT ( ?var5 ) AS ?var1 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q6307119> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . } GROUP BY ?var4 ORDER BY DESC( ?var1 ) } BIND ( SUBSTR ( ?var6Label ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"60\"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q6307119> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"en\" ) ) ) . }"}}
{"id": "test_10306", "question": "What properties are used to describe dessert in Wikidata, excluding 'instance of'?", "sparql": "SELECT DISTINCT ?property WHERE { ?item ?property wd:Q182940 . FILTER (STRSTARTS(STR(?property), \"http://www.wikidata.org/prop/direct/\")) . FILTER (?property != wd:P31) }", "paraphrases": ["Which direct properties link any entity to the dessert item in Wikidata, apart from P31?", "Show me all the ways things are connected to dessert in Wikidata, but not using the 'instance of' property."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { ?var2 ?var3 <http://www.wikidata.org/entity/Q182940> . ?var1 <http://wikiba.se/ontology#statementProperty> ?var3 . FILTER ( ( ( ?var1 != <http://www.wikidata.org/entity/P31> ) ) ) . }"}}
{"id": "test_10307", "question": "Items that have dessert as their main use.", "sparql": "SELECT ?item ?statement (SAMPLE(?qualifierProperty) AS ?qualifier) WHERE { { SELECT DISTINCT ?item ?statement WHERE { ?statement ps:P366 wd:Q182940 . ?item p:P366 ?statement . } LIMIT 101 } OPTIONAL { ?statement ?qualifierProperty ?value . ?qualifierProperty wikibase:qualifier wdt:P366 . } } GROUP BY ?item ?statement", "paraphrases": ["What items are primarily used for serving or consuming dessert?", "List all items whose main function is dessert, and indicate if any additional details (like time period or source) are attached to those uses."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P366> <http://www.wikidata.org/entity/Q182940> . ?var1 <http://www.wikidata.org/prop/P366> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_10308", "question": "Wikimedia portals with main topic sport", "sparql": "SELECT ?portal ?portalLabel WHERE { ?portal wdt:P1204 wd:Q349 . ?portal rdfs:label ?portalLabel . }", "paraphrases": ["Which Wikimedia portals are dedicated to the topic of sport?", "List all Wikimedia portals that have sport as their main topic, along with their labels in different languages."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P1204> <http://www.wikidata.org/entity/Q349> . ?var1 <http://www.wikidata.org/prop/P1204> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2"}}
{"id": "test_10309", "question": "Who are the authors of works about Alfred Russel Wallace, ranked by how many such works they wrote?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ( COUNT( ?work ) AS ?count ) ?author ?authorLabel WHERE {\n  {\n    ?work wdt:P921 wd:Q160627 .\n  } UNION {\n    ?work wdt:P361 / wdt:P921 wd:Q160627 .\n  } UNION {\n    ?work wdt:P1269 / wdt:P921 wd:Q160627 .\n  }\n  ?work wdt:P50 ?author .\n  ?author rdfs:label ?authorLabel .\n  FILTER ( LANG( ?authorLabel ) = \"en\" )\n}\nGROUP BY ?author ?authorLabel\nORDER BY DESC ( ?count )", "paraphrases": ["Which writers have written the most books or articles about the naturalist Alfred Russel Wallace?", "List the authors of all works (including parts or aspects) that have Alfred Russel Wallace as their main subject, sorted by the number of works per author."], "info": {"raw_sparql": "SELECT( COUNT ( ?var1 ) AS ?var2 ) ?var3 ?var3Label WHERE { { ?var1 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q18535439> . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P361> +) <http://www.wikidata.org/entity/Q18535439> . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P1269> +) <http://www.wikidata.org/entity/Q18535439> . } ?var1 <http://www.wikidata.org/prop/direct/P50> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,fr,de,ru,es,zh,jp\". } } GROUP BY ?var3 ?var3Label ORDER BY DESC( ?var2 )"}}
{"id": "test_10310", "question": "What properties are associated with the biblical character Eliphaz, and what are the English labels of those properties along with their values?", "sparql": "SELECT ?property ?propertyLabel (COUNT(?object) AS ?count) (GROUP_CONCAT(?objectLabel; SEPARATOR=\", \") AS ?objectLabels)\nWHERE {\n  wd:Q2899130 ?property ?object .\n  ?object rdfs:label ?objectLabel .\n  FILTER(LANG(?objectLabel) = \"en\") .\n  ?propertyEntity wikibase:directClaim ?property .\n  ?propertyEntity rdfs:label ?propertyLabel .\n  FILTER(LANG(?propertyLabel) = \"en\") .\n}\nGROUP BY ?property ?propertyLabel", "paraphrases": ["For each property of Eliphaz from the Book of Genesis, how many values does it have, and what are those values in English?", "List all English-labeled properties of Eliphaz, including how many objects each has and what those objects are."], "info": {"raw_sparql": "SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = \", \" ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q2899130> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"en\" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = \"en\" ) ) ) . } GROUP BY ?var1"}}
{"id": "test_10311", "question": "Book with ISBN 978-85-359-1484-9: author, title, genre in German, series in German, and publication date.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?edition ?author ?title ?genre ?series ?pubDate WHERE {\n  ?edition wdt:P212 \"978-85-359-1484-9\" .\n  ?edition wdt:P31 wd:Q3331189 .\n  ?edition wdt:P50 ?author .\n  ?edition wdt:P1476 ?title .\n  OPTIONAL {\n    ?edition wdt:P136 ?genreItem .\n    ?genreItem rdfs:label ?genreLabel .\n    FILTER(LANG(?genreLabel) = \"de\")\n    BIND(?genreLabel AS ?genre)\n  }\n  OPTIONAL {\n    ?edition wdt:P179 ?seriesItem .\n    ?seriesItem rdfs:label ?seriesLabel .\n    FILTER(LANG(?seriesLabel) = \"de\")\n    BIND(?seriesLabel AS ?series)\n  }\n  OPTIONAL {\n    ?edition wdt:P577 ?pubDate .\n  }\n}\nLIMIT 10", "paraphrases": ["What is the author, title, German genre, German series, and publication date of the book with ISBN 978-85-359-1484-9?", "Please provide the author, title, German-language genre, German-language series, and publication date for the book identified by ISBN 978-85-359-1484-9."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P212> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q571> . ?var1 <http://www.wikidata.org/prop/direct/P50> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P212> \"string1\". ?var1 <http://www.wikidata.org/entity/q52> ?var4 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var5 . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = \"de\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P179> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var8Label . FILTER ( ( ( LANG ( ?var8Label ) = \"de\" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var9 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"de\". } } LIMIT 10"}}
{"id": "test_10312", "question": "What country is Wikimedia France based in?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?country WHERE {\n  wd:Q8423370 wdt:P17 ?country .\n}", "paraphrases": ["Which country does Wikimedia France belong to?", "Where is Wikimedia France located?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q8423370> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_10313", "question": "Paintings and their historical locations with start, end, and point-in-time dates.", "sparql": "SELECT ?painting ?location ?locationLabel ?pointInTime ?startTime ?endTime WHERE { ?painting wdt:P31 wd:Q3305213 . ?painting p:P276 ?statement . ?statement ps:P276 ?location . OPTIONAL { ?statement pq:P585 ?pointInTime . } OPTIONAL { ?statement pq:P580 ?startTime . } OPTIONAL { ?statement pq:P582 ?endTime . } OPTIONAL { ?location rdfs:label ?locationLabel . FILTER(LANG(?locationLabel) = \"en\") } }", "paraphrases": ["What paintings have been held in different locations over time, and when were those locations valid?", "Show me all paintings along with the places they have been located, including the dates when those locations were active."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . ?var1 <http://www.wikidata.org/prop/P276> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P276> ?var7 . OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P585> ?var3 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P580> ?var4 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var5 . } ?var1 <http://www.wikidata.org/prop/direct/P276> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10314", "question": "What countries, continents, and administrative regions is the village of Krasnaya Gora located in?", "sparql": "SELECT DISTINCT ?item ?itemLabel WHERE { wd:Q12115522 (wdt:P131|wdt:P17|wdt:P30|wdt:P376)+ ?item . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = \"en\") }", "paraphrases": ["Show me all geographic and political entities that contain Krasnaya Gora, from local to global levels.", "Starting from Krasnaya Gora, what larger territories does it belong to through administrative divisions, country, and continent?"], "info": {"raw_sparql": "SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q12115522> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }"}}
{"id": "test_10315", "question": "Artworks created by Francisco Goya with their titles and images", "sparql": "PREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?artwork ?label ?image WHERE {\n  ?artwork wdt:P170 wd:Q5432 .\n  OPTIONAL {\n    ?artwork rdfs:label ?label .\n    FILTER(LANG(?label) = \"en\")\n  }\n  OPTIONAL {\n    ?artwork wdt:P18 ?image .\n  }\n}", "paraphrases": ["What are the titles and images of artworks created by Francisco Goya?", "List all paintings and drawings made by Francisco Goya, including their English titles and associated images from Wikimedia Commons."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P170> <http://www.wikidata.org/entity/Q5432> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P170> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_10316", "question": "What are the English-named artworks created by Andy Goldsworthy, and do they have images?", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?var1 ?var1Label ?var2 WHERE {\n  ?var1 wdt:P170 wd:Q357126 .\n  ?var1 rdfs:label ?var1Label .\n  FILTER ( LANG( ?var1Label ) = \"en\" ) OPTIONAL {\n    ?var1 wdt:P18 ?var2 .\n  }\n}", "paraphrases": ["List Andy Goldsworthy\u2019s creative works with their English titles and associated images from Wikimedia Commons.", "Which of Andy Goldsworthy\u2019s artworks have English labels, and is there a photo available for each?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P170> <http://www.wikidata.org/entity/Q357126> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P170> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } }"}}
{"id": "test_10317", "question": "Diseases with their Disease Ontology IDs and parent classes", "sparql": "SELECT ?disease ?doid ?parentClass WHERE { ?disease wdt:P699 ?doid . OPTIONAL { ?disease wdt:P279 ?parentClass . } }", "paraphrases": ["Which diseases have a Disease Ontology ID, and what are their immediate superclass categories?", "List all diseases that are assigned a DOID along with their subclass relationships in the Disease Ontology hierarchy."], "info": {"raw_sparql": "SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P699> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10318", "question": "Biologists with awards, memberships, or issue trackers, ordered by birth date.", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT DISTINCT ?person ?personLabel ?birthDate WHERE {\n  ?person ( wdt:P106 / wdt:P279 * ) wd:Q864503 .\n  {\n    ?person wdt:P463 ?organization .\n  } UNION {\n    ?person wdt:P1401 ?issueTracker .\n  } UNION {\n    ?person wdt:P166 ?award .\n  }\n  ?person wdt:P569 ?birthDate .\n  ?person rdfs:label ?personLabel .\n  FILTER ( LANG( ?personLabel ) = \"en\" )\n}\nORDER BY ASC ( ?birthDate )\nLIMIT 100", "paraphrases": ["Who are some biologists who have received an award, joined an organization, or used a bug tracker, and when were they born?", "List biologists (including those in related scientific fields) who have a known affiliation or recognition, along with their birth dates, sorted from earliest to latest."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q864503> . { ?var1 <http://www.wikidata.org/prop/direct/P463> ?var4 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P1401> ?var5 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P166> ?var6 . } ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } } GROUP BY ?var1 ?var1Label ?var2Label ?var3Label ORDER BY ASC( ?var7Label )"}}
{"id": "test_10319", "question": "Universities in Australia", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?university ?universityLabel WHERE {\n  ?university wdt:P31 wd:Q3918 .\n  ?university wdt:P17 wd:Q408 .\n  ?university rdfs:label ?universityLabel .\n  FILTER(LANG(?universityLabel) = \"en\")\n}", "paraphrases": ["What are the universities located in Australia?", "List the names of universities in Australia."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3918> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q408> . }"}}
{"id": "test_10320", "question": "What artworks and collections are associated with the Schlei\u00dfheim Palace Complex?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?itemLabel WHERE {\n  {\n    ?item wdt:P195 wd:Q680166 .\n  } UNION {\n    ?item wdt:P195 ?collection .\n    ?collection wdt:P361 wd:Q680166 .\n  } UNION {\n    ?item wdt:P276 wd:Q680166 .\n  } UNION {\n    ?item wdt:P276 ?location .\n    ?location wdt:P361 wd:Q680166 .\n  }\n  ?item rdfs:label ?itemLabel .\n  FILTER ( LANG( ?itemLabel ) = \"en\" )\n}", "paraphrases": ["Which items are either held in the Schlei\u00dfheim Palace Complex or belong to a collection that is part of it?", "Show me all the cultural items linked to Schlei\u00dfheim Palace, including those in its sub-locations or affiliated collections."], "info": {"raw_sparql": "SELECT ?var1Label WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P195> <http://www.wikidata.org/entity/Q680166> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P195> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q680166> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P276> <http://www.wikidata.org/entity/Q680166> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P276> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q680166> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,de,fr,it,es,pt,ca,la\". } }"}}
{"id": "test_10321", "question": "What are the capitals of all sovereign states, in English?", "sparql": "SELECT ?countryLabel ?capitalLabel WHERE { ?country wdt:P31 wd:Q3624078 . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = \"en\") OPTIONAL { ?country wdt:P36 ?capital . ?capital rdfs:label ?capitalLabel . FILTER(LANG(?capitalLabel) = \"en\") } }", "paraphrases": ["Can you list the names of all countries and their capitals, with labels in English?", "Show me the English names of countries and their capitals, if available."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3624078> . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P36> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10322", "question": "What are the most commonly used qualifier properties on birth place (P19) statements in Wikidata, and how often are they used?", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX prov: <http://www.w3.org/ns/prov#>\nPREFIX p: <http://www.wikidata.org/prop/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX wikibase: <http://wikiba.se/ontology#>\nSELECT ?qualifier ?qualifierLabel ?count WHERE {\n  {\n    SELECT ?qualifier(COUNT(DISTINCT ?item) AS ?count) WHERE {\n      ?item p:P19 ?statement .\n      ?statement ?qualifier ?value .\n      FILTER(?qualifier != ps:P19)\n      FILTER(?qualifier != wikibase:rank)\n      FILTER(?qualifier != prov:wasDerivedFrom)\n      FILTER(?qualifier != rdf:type)\n      FILTER(?qualifier != wikibase:bestrank)\n    }\n    GROUP BY ?qualifier\n  }\n  OPTIONAL {\n    ?qualifier rdfs:label ?qualifierLabel .\n    FILTER(LANG(?qualifierLabel) = \"en\")\n  }\n}\nORDER BY DESC(?count) ASC(?qualifierLabel)", "paraphrases": ["Which properties are used to add details to birth place information in Wikidata, excluding the main value and metadata?", "Can you list the qualifier properties attached to place of birth statements, sorted by usage frequency, with their English labels?"], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 ( COUNT ( DISTINCT ?var3 ) AS ?var2 ) WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var3 <http://www.wikidata.org/prop/P19> ?var4 . ?var4 ?var5 ?var6 . ?var1 <http://wikiba.se/ontology#qualifier> ?var5 . } GROUP BY ?var1 } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = \"en\" ) ) ) . } } ORDER BY DESC( ?var2 )ASC( ?var1Label )"}}
{"id": "test_10323", "question": "Church buildings in Brittany and their communes and departments", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE {\n  ?var1 wdt:P131 + wd:Q12130 .\n  ?var1 ( wdt:P31 / wdt:P279 * ) wd:Q16970 .\n  ?var1 wdt:P131 ?var2 .\n  ?var1 wdt:P131 / wdt:P131 ?var3 .\n  ?var3 wdt:P31 wd:Q6465 .\n  OPTIONAL {\n    ?var1 rdfs:label ?var1Label .\n    FILTER ( LANG( ?var1Label ) = \"en\" )\n  }\n  OPTIONAL {\n    ?var2 rdfs:label ?var2Label .\n    FILTER ( LANG( ?var2Label ) = \"en\" )\n  }\n  OPTIONAL {\n    ?var3 rdfs:label ?var3Label .\n    FILTER ( LANG( ?var3Label ) = \"en\" )\n  }\n}", "paraphrases": ["What are the church buildings located in Brittany, along with the communes they are in and their respective departments?", "List all church buildings in Brittany, showing their names, the communes they belong to, and the French departments those communes are part of."], "info": {"raw_sparql": "SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". ?var1 <http://www.wikidata.org/prop/direct/P131> + <http://www.wikidata.org/entity/Q12130> . ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q16970> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P131> * ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6465> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"fr\". } }"}}
{"id": "test_10324", "question": "Official websites of major art museums including the Metropolitan Museum of Art, Hermitage Museum, and Rijksmuseum.", "sparql": "SELECT ?museum ?museumLabel ?website WHERE { VALUES ?museum { wd:Q160236 wd:Q731126 wd:Q688335 wd:Q132783 wd:Q1199924 wd:Q180788 wd:Q190804 wd:Q195436 wd:Q636400 wd:Q1816301 wd:Q2638817 wd:Q1459037 wd:Q1752085 wd:Q682827 wd:Q49135 wd:Q1189960 wd:Q171517 wd:Q1891189 wd:Q1327919 wd:Q325712 wd:Q210081 wd:Q847508 wd:Q163804 wd:Q169542 wd:Q315452 wd:Q279049 wd:Q679527 wd:Q977015 wd:Q151330 wd:Q478695 wd:Q840886 wd:Q6373 wd:Q224124 wd:Q1992004 wd:Q1068289 wd:Q221092 wd:Q685038 wd:Q702726 wd:Q1782422 wd:Q14917275 wd:Q4674272 wd:Q841506 wd:Q1792561 wd:Q194626 wd:Q653002 wd:Q260913 wd:Q46815 wd:Q1824069 wd:Q597355 wd:Q3003161 } ?museum wdt:P856 ?website . ?museum rdfs:label ?museumLabel . FILTER(LANG(?museumLabel) = \"en\") }", "paraphrases": ["What are the official websites of prominent museums such as the National Gallery, Van Gogh Museum, and Tate Britain?", "Please list the names and official websites of 50 major museums around the world."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var2Label WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q160236> ) ( <http://www.wikidata.org/entity/Q731126> ) ( <http://www.wikidata.org/entity/Q688335> ) ( <http://www.wikidata.org/entity/Q132783> ) ( <http://www.wikidata.org/entity/Q1199924> ) ( <http://www.wikidata.org/entity/Q180788> ) ( <http://www.wikidata.org/entity/Q190804> ) ( <http://www.wikidata.org/entity/Q195436> ) ( <http://www.wikidata.org/entity/Q636400> ) ( <http://www.wikidata.org/entity/Q1816301> ) ( <http://www.wikidata.org/entity/Q2638817> ) ( <http://www.wikidata.org/entity/Q1459037> ) ( <http://www.wikidata.org/entity/Q1752085> ) ( <http://www.wikidata.org/entity/Q682827> ) ( <http://www.wikidata.org/entity/Q49135> ) ( <http://www.wikidata.org/entity/Q1189960> ) ( <http://www.wikidata.org/entity/Q171517> ) ( <http://www.wikidata.org/entity/Q1891189> ) ( <http://www.wikidata.org/entity/Q1327919> ) ( <http://www.wikidata.org/entity/Q325712> ) ( <http://www.wikidata.org/entity/Q210081> ) ( <http://www.wikidata.org/entity/Q847508> ) ( <http://www.wikidata.org/entity/Q163804> ) ( <http://www.wikidata.org/entity/Q169542> ) ( <http://www.wikidata.org/entity/Q315452> ) ( <http://www.wikidata.org/entity/Q279049> ) ( <http://www.wikidata.org/entity/Q679527> ) ( <http://www.wikidata.org/entity/Q977015> ) ( <http://www.wikidata.org/entity/Q151330> ) ( <http://www.wikidata.org/entity/Q478695> ) ( <http://www.wikidata.org/entity/Q840886> ) ( <http://www.wikidata.org/entity/Q6373> ) ( <http://www.wikidata.org/entity/Q224124> ) ( <http://www.wikidata.org/entity/Q1992004> ) ( <http://www.wikidata.org/entity/Q1068289> ) ( <http://www.wikidata.org/entity/Q221092> ) ( <http://www.wikidata.org/entity/Q685038> ) ( <http://www.wikidata.org/entity/Q702726> ) ( <http://www.wikidata.org/entity/Q1782422> ) ( <http://www.wikidata.org/entity/Q14917275> ) ( <http://www.wikidata.org/entity/Q4674272> ) ( <http://www.wikidata.org/entity/Q841506> ) ( <http://www.wikidata.org/entity/Q1792561> ) ( <http://www.wikidata.org/entity/Q194626> ) ( <http://www.wikidata.org/entity/Q653002> ) ( <http://www.wikidata.org/entity/Q260913> ) ( <http://www.wikidata.org/entity/Q46815> ) ( <http://www.wikidata.org/entity/Q1824069> ) ( <http://www.wikidata.org/entity/Q597355> ) ( <http://www.wikidata.org/entity/Q3003161> ) } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10325", "question": "What properties are used as qualifiers for economists in Wikidata?", "sparql": "PREFIX p: <http://www.wikidata.org/prop/>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX schema: <http://schema.org/>\nPREFIX ps: <http://www.wikidata.org/prop/statement/>\nSELECT DISTINCT ?property ?propertyLabel ?propertyDescription WHERE {\n  ?item p:P106 ?statement .\n  ?statement ps:P106 wd:Q188094 .\n  ?statement ?qualifierProperty ?qualifierValue .\n  FILTER ( STRSTARTS( STR( ?qualifierProperty ) , \"http://www.wikidata.org/prop/qualifier/\" ) ) .\n  BIND( IRI( REPLACE( STR( ?qualifierProperty ) , \"http://www.wikidata.org/prop/qualifier/\" , \"http://www.wikidata.org/entity/\" ) ) AS ?property ) .\n  ?property rdfs:label ?propertyLabel .\n  ?property schema:description ?propertyDescription .\n  FILTER ( LANG( ?propertyLabel ) = \"en\" ) .\n  FILTER ( LANG( ?propertyDescription ) = \"en\" )\n}\nLIMIT 100", "paraphrases": ["Which properties are used to add details (like time or employer) to statements about people whose occupation is economist?", "Show me the English labels and descriptions of all properties that qualify statements about economists."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> \"None\". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q188094> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = \"en\" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = \"en\" ) ) ) . } LIMIT 100"}}
{"id": "test_10326", "question": "Chemicals with same InChIKey prefix as decane", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?chemical ?chemicalLabel ?inchiKey ?cas ?chemspider ?pubchem WHERE {\n  wd:Q150717 wdt:P235 ?baseInchiKey .\n  ?chemical wdt:P235 ?inchiKey .\n  OPTIONAL {\n    ?chemical wdt:P231 ?cas .\n  }\n  OPTIONAL {\n    ?chemical wdt:P661 ?chemspider .\n  }\n  OPTIONAL {\n    ?chemical wdt:P662 ?pubchem .\n  }\n  ?chemical rdfs:label ?chemicalLabel .\n  FILTER ( REGEX( STR( ?inchiKey ) , CONCAT ( \"^\" , SUBSTR( ?baseInchiKey , 1 , 14 ) , \"-\" ) ) ) FILTER ( LANG( ?chemicalLabel ) = \"en\" )\n}", "paraphrases": ["What are the isotopologues of decane, and what are their CAS numbers, ChemSpider IDs, and PubChem IDs?", "List all chemical compounds that share the same molecular skeleton as decane, along with their identifiers."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { <http://www.wikidata.org/entity/Q150717> <http://www.wikidata.org/prop/direct/P235> ?var6 . ?var1 <http://www.wikidata.org/prop/direct/P235> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P231> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P661> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P662> ?var5 . } FILTER ( ( REGEX ( STR ( ?var2 ) , CONCAT ( \"^\", SUBSTR ( ?var6 ,\"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ,\"14\"^^<http://www.w3.org/2001/XMLSchema#integer> ) , \"-\" ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } }"}}
{"id": "test_10327", "question": "Who are the male actors from Pakistan, and what are their images, birth dates, and number of Wikipedia links?", "sparql": "SELECT ?actor ?image ?dateOfBirth ?sitelinks WHERE { ?actor wdt:P106 wd:Q33999 . ?actor wdt:P27 wd:Q843 . ?actor wdt:P21 wd:Q6581097 . ?actor wdt:P31 wd:Q5 . OPTIONAL { ?actor wdt:P18 ?image . } OPTIONAL { ?actor wdt:P569 ?dateOfBirth . } OPTIONAL { ?actor wikibase:sitelinks ?sitelinks . } } LIMIT 10", "paraphrases": ["List male human actors who are citizens of Pakistan, along with their photos, dates of birth, and sitelink counts.", "Show me Pakistani male actors with available images, birth dates, and Wikipedia sitelink counts."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q843> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581097> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . } OPTIONAL { ?var1 <http://wikiba.se/ontology#sitelinks> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". } FILTER ( ( !( BOUND ( ?var6 ) ) ) ) . }"}}
{"id": "test_10328", "question": "Actors born before 1990", "sparql": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?actor ?birthDate WHERE {\n  ?actor wdt:P106 wd:Q33999 .\n  ?actor wdt:P31 wd:Q5 .\n  ?actor wdt:P569 ?birthDate .\n  FILTER ( ?birthDate < \"1990-01-01T00:00:00Z\" ^^ xsd:dateTime )\n}\nLIMIT 100", "paraphrases": ["Who are the actors born before January 1, 1990?", "List the Wikidata IDs and birth dates of human actors born before 1990."], "info": {"raw_sparql": "SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . FILTER ( ( ( ?var2 < \"1990-01-01T00:00:00Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( !( BOUND ( ?var4 ) ) ) ) . } LIMIT 100"}}
{"id": "test_10329", "question": "List all railway stations with their English names and the standard railway station icon.", "sparql": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nPREFIX wdt: <http://www.wikidata.org/prop/direct/>\nSELECT ?station ?stationLabel ?icon WHERE {\n  ?station wdt:P31 wd:Q55488 .\n  ?station rdfs:label ?stationLabel .\n  wd:Q55488 wdt:P2910 ?icon .\n  FILTER ( LANG( ?stationLabel ) = \"en\" )\n}", "paraphrases": ["What are the English names of all railway stations, and what is the common icon used to represent them?", "Show me a list of railway stations in English along with the generic icon for railway stations."], "info": {"raw_sparql": "SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q55488> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en,en\". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2910> ?var2 . } }"}}
{"id": "test_10330", "question": "Israeli citizens with Hebrew labels", "sparql": "PREFIX wdt: <http://www.wikidata.org/prop/direct/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX wd: <http://www.wikidata.org/entity/>\nSELECT ?item ?label WHERE {\n  ?item wdt:P27 wd:Q801 .\n  ?item rdfs:label ?label .\n  FILTER(LANG(?label) = \"he\")\n}\nLIMIT 10", "paraphrases": ["Who are some Israeli citizens whose names are written in Hebrew?", "List the Hebrew names of Israeli citizens."], "info": {"raw_sparql": "SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q801> . ?var2 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q801> . ?var3 <http://schema.org/about> ?var1 . FILTER ( ( NOT EXISTS { ?var3 <http://schema.org/inLanguage> \"he\". } ) ) . ?var4 <http://schema.org/about> ?var2 . FILTER ( ( EXISTS { ?var4 <http://schema.org/inLanguage> \"he\". } ) ) . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = \"he\" ) ) ) . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var6 . FILTER ( ( ( LANG ( ?var6 ) = \"he\" ) ) ) . FILTER ( ( ( STR ( ?var5 ) = STR ( ?var6 ) ) ) ) . } LIMIT 10"}}
{"id": "test_10331", "question": "How many academic works cite the article \"Collective remembering of organizations\" by year?", "sparql": "SELECT ?publicationYear (COUNT(DISTINCT ?citingWork) AS ?citationCount) WHERE { BIND(wd:Q21172700 AS ?targetArticle) . ?citingWork wdt:P2860 ?targetArticle . ?citingWork wdt:P577 ?publicationDate . BIND(YEAR(?publicationDate) AS ?publicationYear) FILTER(ISNUMERIC(?publicationYear)) } GROUP BY ?publicationYear ORDER BY DESC(?publicationYear)", "paraphrases": ["In which years were the most articles published that cite the Wikipedia study on organizational memory, and how many were published each year?", "Show me the number of citations to the article \"Collective remembering of organizations: Co-construction of organizational pasts in Wikipedia\" grouped by publication year, in descending order."], "info": {"raw_sparql": "SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q21172700> AS ?var5 ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var5 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var6 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )"}}
{"id": "test_10332", "question": "Articles published in the journal \"Nonprofit and Voluntary Sector Quarterly\" and their titles.", "sparql": "SELECT ?article ?label ?image WHERE { ?article wdt:P1433 wd:Q13359785 . OPTIONAL { ?article wdt:P18 ?image . } ?article rdfs:label ?label . FILTER(LANG(?label) = \"en\") } LIMIT 100", "paraphrases": ["What are the titles of articles published in the journal \"Nonprofit and Voluntary Sector Quarterly\"?", "Show me the titles of articles published in the journal \"Nonprofit and Voluntary Sector Quarterly\", and if available, their images."], "info": {"raw_sparql": "SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1433> <http://www.wikidata.org/entity/Q13359785> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> \"en\". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100"}}
